该目录是 src/components 下的子模块,围绕 design-system 这一主题组织实现文件。
- 相对路径:
src/components/design-system - 直接文件数:16
- 直接子目录数:0
- 递归文件数:16
- 主要文件类型:
.tsxx 15、.tsx 1
- 该目录最常引用的仓库内目录:
src(11)、src/utils(11)、src/ink(7)、src/hooks(6)、src/ink/events(5)、src/ink/components(4)、src/components(3) - 最常引用该目录的仓库内目录:
src/components(76)、src/components/agents/new-agent-creation/wizard-steps(21)、src/components/tasks(19)、src/components/mcp(18)、src/commands/plugin(12)、src/components/permissions/rules(10)、src/components/Settings(8)
| 文件 | 行数 | 导出/关键符号 | 说明 |
|---|---|---|---|
Byline.tsx |
77 | Byline |
界面组件或交互视图;导出符号以 Byline 为主,顶部注释说明:The items to join with a middot separator |
Dialog.tsx |
138 | Dialog |
对话框或弹窗组件;导出符号以 Dialog 为主,顶部注释说明:Custom input guide content. Receives exitState for Ctrl+C/D pending display. |
Divider.tsx |
149 | Divider |
界面组件或交互视图;导出符号以 Divider 为主,顶部注释说明:Width of the divider in characters. Defaults to terminal width. |
FuzzyPicker.tsx |
312 | FuzzyPicker |
界面组件或交互视图;导出符号以 FuzzyPicker 为主,顶部注释说明:Hint label shown in the byline, e.g. "mention" → "Tab to mention". |
KeyboardShortcutHint.tsx |
81 | KeyboardShortcutHint |
界面组件或交互视图;导出符号以 KeyboardShortcutHint 为主,顶部注释说明:The key or chord to display (e.g., "ctrl+o", "Enter", "↑/↓") |
ListItem.tsx |
244 | ListItem |
界面组件或交互视图;导出符号以 ListItem 为主,顶部注释说明:Whether this item is currently focused (keyboard selection). Shows the pointer indicator (❯) when true. |
LoadingState.tsx |
94 | LoadingState |
状态存取与派生逻辑;导出符号以 LoadingState 为主,顶部注释说明:The loading message to display next to the spinner. |
Pane.tsx |
77 | Pane |
界面组件或交互视图;导出符号以 Pane 为主,顶部注释说明:Theme color for the top border line. |
ProgressBar.tsx |
86 | ProgressBar |
界面组件或交互视图;导出符号以 ProgressBar 为主,顶部注释说明:How much progress to display, between 0 and 1 inclusive |
Ratchet.tsx |
80 | Ratchet |
界面组件或交互视图;导出符号以 Ratchet 为主,结合所在目录可判断其服务于 src/components/design-system 这条功能线。 |
StatusIcon.tsx |
95 | StatusIcon |
界面组件或交互视图;导出符号以 StatusIcon 为主,顶部注释说明:The status to display. Determines both the icon and color. - success: Green checkmark (✓) - error: Red cross (✗) ... |
Tabs.tsx |
340 | Tabs, Tab, useTabsWidth, useTabHeaderFocus |
界面组件或交互视图;导出符号以 Tabs, Tab, useTabsWidth, useTabHeaderFocus 为主,顶部注释说明:Controlled mode: current selected tab id/title |
ThemeProvider.tsx |
170 | ThemeProvider, useTheme, useThemeSetting, usePreviewTheme |
Provider/上下文注入层;导出符号以 ThemeProvider, useTheme, useThemeSetting, usePreviewTheme 为主,顶部注释说明:The saved user preference. May be 'auto'. |
ThemedBox.tsx |
156 | Props |
主题或样式相关逻辑;导出符号以 Props 为主,结合所在目录可判断其服务于 src/components/design-system 这条功能线。 |
ThemedText.tsx |
124 | TextHoverColorContext, Props |
主题或样式相关逻辑;导出符号以 TextHoverColorContext, Props 为主,顶部注释说明:Colors uncolored ThemedText in the subtree. Precedence: explicit color > this > dimColor. Crosses Box boundaries (I... |
color.ts |
30 | color |
界面组件或交互视图;导出符号以 color 为主,顶部注释说明:Curried theme-aware color function. Resolves theme keys to raw color values before delegating to the ink renderer's c... |
该目录没有直接子目录。