@teamix-evo/ui 0.1.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +184 -184
- package/manifest.json +680 -492
- package/package.json +20 -10
- package/src/components/accordion/accordion.meta.md +5 -4
- package/src/components/accordion/accordion.stories.tsx +14 -9
- package/src/components/accordion/accordion.tsx +104 -8
- package/src/components/affix/affix.meta.md +20 -2
- package/src/components/affix/affix.stories.tsx +102 -25
- package/src/components/affix/affix.tsx +79 -9
- package/src/components/alert/alert.meta.md +44 -13
- package/src/components/alert/alert.stories.tsx +66 -21
- package/src/components/alert/alert.tsx +81 -34
- package/src/components/alert-dialog/alert-dialog.meta.md +61 -16
- package/src/components/alert-dialog/alert-dialog.stories.tsx +145 -3
- package/src/components/alert-dialog/alert-dialog.tsx +60 -13
- package/src/components/anchor/anchor.meta.md +8 -3
- package/src/components/anchor/anchor.stories.tsx +3 -3
- package/src/components/anchor/anchor.tsx +2 -2
- package/src/components/app/app.meta.md +9 -4
- package/src/components/app/app.stories.tsx +9 -7
- package/src/components/aspect-ratio/aspect-ratio.meta.md +4 -3
- package/src/components/aspect-ratio/aspect-ratio.stories.tsx +3 -3
- package/src/components/auto-complete/auto-complete.meta.md +14 -6
- package/src/components/auto-complete/auto-complete.stories.tsx +47 -4
- package/src/components/auto-complete/auto-complete.tsx +119 -71
- package/src/components/avatar/avatar.meta.md +6 -7
- package/src/components/avatar/avatar.stories.tsx +21 -3
- package/src/components/avatar/avatar.tsx +24 -23
- package/src/components/badge/badge.meta.md +10 -9
- package/src/components/badge/badge.stories.tsx +2 -2
- package/src/components/badge/badge.tsx +9 -15
- package/src/components/breadcrumb/breadcrumb.meta.md +27 -7
- package/src/components/breadcrumb/breadcrumb.stories.tsx +127 -4
- package/src/components/breadcrumb/breadcrumb.tsx +22 -8
- package/src/components/button/button.meta.md +258 -21
- package/src/components/button/button.stories.tsx +549 -41
- package/src/components/button/button.tsx +335 -33
- package/src/components/button/demo/as-child.tsx +24 -0
- package/src/components/button/demo/basic.tsx +8 -0
- package/src/components/button/demo/block.tsx +16 -0
- package/src/components/button/demo/loading.tsx +19 -0
- package/src/components/button/demo/shapes.tsx +18 -0
- package/src/components/button/demo/sizes.tsx +19 -0
- package/src/components/button/demo/variants.tsx +19 -0
- package/src/components/button/demo/with-icon.tsx +20 -0
- package/src/components/calendar/calendar.meta.md +13 -3
- package/src/components/calendar/calendar.stories.tsx +6 -6
- package/src/components/calendar/calendar.tsx +73 -8
- package/src/components/card/card.meta.md +27 -5
- package/src/components/card/card.stories.tsx +42 -3
- package/src/components/card/card.tsx +146 -63
- package/src/components/carousel/carousel.meta.md +4 -3
- package/src/components/carousel/carousel.stories.tsx +11 -6
- package/src/components/cascader/cascader.meta.md +47 -17
- package/src/components/cascader/cascader.stories.tsx +22 -10
- package/src/components/cascader/cascader.tsx +428 -85
- package/src/components/checkbox/checkbox.meta.md +75 -7
- package/src/components/checkbox/checkbox.stories.tsx +161 -3
- package/src/components/checkbox/checkbox.tsx +77 -9
- package/src/components/collapsible/collapsible.meta.md +14 -6
- package/src/components/collapsible/collapsible.stories.tsx +10 -2
- package/src/components/collapsible/collapsible.tsx +93 -6
- package/src/components/color-picker/color-picker.meta.md +12 -7
- package/src/components/color-picker/color-picker.stories.tsx +86 -7
- package/src/components/color-picker/color-picker.tsx +20 -9
- package/src/components/command/command.meta.md +29 -13
- package/src/components/command/command.stories.tsx +4 -4
- package/src/components/command/command.tsx +19 -8
- package/src/components/context-menu/context-menu.meta.md +11 -8
- package/src/components/context-menu/context-menu.stories.tsx +11 -3
- package/src/components/context-menu/context-menu.tsx +21 -8
- package/src/components/data-table/data-table.meta.md +6 -5
- package/src/components/data-table/data-table.stories.tsx +13 -6
- package/src/components/data-table/data-table.tsx +2 -2
- package/src/components/date-picker/date-picker.meta.md +88 -19
- package/src/components/date-picker/date-picker.stories.tsx +55 -5
- package/src/components/date-picker/date-picker.tsx +1489 -91
- package/src/components/descriptions/descriptions.meta.md +10 -5
- package/src/components/descriptions/descriptions.stories.tsx +3 -3
- package/src/components/descriptions/descriptions.tsx +22 -14
- package/src/components/dialog/dialog.meta.md +76 -13
- package/src/components/dialog/dialog.stories.tsx +182 -20
- package/src/components/dialog/dialog.tsx +67 -15
- package/src/components/dialog/imperative.tsx +252 -0
- package/src/components/drawer/drawer.meta.md +33 -34
- package/src/components/drawer/drawer.stories.tsx +29 -12
- package/src/components/drawer/drawer.tsx +22 -113
- package/src/components/dropdown-menu/dropdown-menu.meta.md +78 -10
- package/src/components/dropdown-menu/dropdown-menu.stories.tsx +88 -2
- package/src/components/dropdown-menu/dropdown-menu.tsx +24 -10
- package/src/components/ellipsis/ellipsis.meta.md +87 -0
- package/src/components/ellipsis/ellipsis.stories.tsx +72 -0
- package/src/components/ellipsis/ellipsis.tsx +153 -0
- package/src/components/empty/empty.meta.md +9 -4
- package/src/components/empty/empty.stories.tsx +4 -4
- package/src/components/empty/empty.tsx +10 -3
- package/src/components/field/field.meta.md +47 -9
- package/src/components/field/field.stories.tsx +385 -5
- package/src/components/field/field.tsx +263 -35
- package/src/components/filter-bar/filter-bar.meta.md +92 -0
- package/src/components/filter-bar/filter-bar.stories.tsx +1083 -0
- package/src/components/filter-bar/filter-bar.tsx +568 -0
- package/src/components/flex/flex.meta.md +54 -6
- package/src/components/flex/flex.stories.tsx +107 -20
- package/src/components/flex/flex.tsx +27 -4
- package/src/components/float-button/float-button.meta.md +8 -3
- package/src/components/float-button/float-button.stories.tsx +9 -7
- package/src/components/float-button/float-button.tsx +1 -1
- package/src/components/form/form.meta.md +39 -17
- package/src/components/form/form.stories.tsx +350 -3
- package/src/components/form/form.tsx +101 -35
- package/src/components/grid/grid.meta.md +7 -2
- package/src/components/grid/grid.stories.tsx +6 -4
- package/src/components/hover-card/hover-card.meta.md +20 -9
- package/src/components/hover-card/hover-card.stories.tsx +34 -5
- package/src/components/hover-card/hover-card.tsx +51 -13
- package/src/components/icon/DEVELOPMENT.md +809 -0
- package/src/components/icon/icon.meta.md +170 -0
- package/src/components/icon/icon.stories.tsx +344 -0
- package/src/components/icon/icon.tsx +248 -0
- package/src/components/image/image.meta.md +9 -4
- package/src/components/image/image.stories.tsx +3 -3
- package/src/components/image/image.tsx +6 -4
- package/src/components/input/demo/basic.tsx +12 -0
- package/src/components/input/demo/clearable.tsx +21 -0
- package/src/components/input/demo/show-count.tsx +18 -0
- package/src/components/input/demo/sizes.tsx +15 -0
- package/src/components/input/input.meta.md +39 -33
- package/src/components/input/input.stories.tsx +62 -35
- package/src/components/input/input.tsx +97 -98
- package/src/components/input-group/input-group.meta.md +54 -22
- package/src/components/input-group/input-group.stories.tsx +49 -16
- package/src/components/input-group/input-group.tsx +44 -8
- package/src/components/input-number/input-number.meta.md +64 -7
- package/src/components/input-number/input-number.stories.tsx +46 -8
- package/src/components/input-number/input-number.tsx +99 -26
- package/src/components/input-otp/input-otp.meta.md +4 -3
- package/src/components/input-otp/input-otp.stories.tsx +3 -3
- package/src/components/input-otp/input-otp.tsx +1 -1
- package/src/components/item/item.meta.md +8 -3
- package/src/components/item/item.stories.tsx +8 -5
- package/src/components/item/item.tsx +7 -6
- package/src/components/kbd/kbd.meta.md +13 -4
- package/src/components/kbd/kbd.stories.tsx +4 -4
- package/src/components/kbd/kbd.tsx +10 -5
- package/src/components/label/label.meta.md +18 -10
- package/src/components/label/label.stories.tsx +64 -6
- package/src/components/label/label.tsx +91 -19
- package/src/components/masonry/masonry.meta.md +8 -3
- package/src/components/masonry/masonry.stories.tsx +7 -5
- package/src/components/masonry/masonry.tsx +1 -0
- package/src/components/mentions/mentions.meta.md +36 -6
- package/src/components/mentions/mentions.stories.tsx +120 -6
- package/src/components/mentions/mentions.tsx +11 -5
- package/src/components/menubar/menubar.meta.md +30 -12
- package/src/components/menubar/menubar.stories.tsx +62 -2
- package/src/components/menubar/menubar.tsx +9 -9
- package/src/components/native-select/native-select.meta.md +8 -3
- package/src/components/native-select/native-select.stories.tsx +8 -5
- package/src/components/native-select/native-select.tsx +1 -1
- package/src/components/navigation-menu/navigation-menu.meta.md +19 -9
- package/src/components/navigation-menu/navigation-menu.stories.tsx +112 -9
- package/src/components/navigation-menu/navigation-menu.tsx +8 -4
- package/src/components/notification/notification.meta.md +52 -10
- package/src/components/notification/notification.stories.tsx +11 -9
- package/src/components/notification/notification.tsx +36 -21
- package/src/components/page-header/DEVELOPMENT.md +842 -0
- package/src/components/page-header/page-header.meta.md +208 -0
- package/src/components/page-header/page-header.stories.tsx +421 -0
- package/src/components/page-header/page-header.tsx +281 -0
- package/src/components/pagination/pagination.meta.md +140 -37
- package/src/components/pagination/pagination.stories.tsx +232 -10
- package/src/components/pagination/pagination.tsx +355 -63
- package/src/components/popconfirm/popconfirm.meta.md +9 -4
- package/src/components/popconfirm/popconfirm.stories.tsx +3 -4
- package/src/components/popconfirm/popconfirm.tsx +2 -2
- package/src/components/popover/popover.meta.md +62 -5
- package/src/components/popover/popover.stories.tsx +83 -7
- package/src/components/popover/popover.tsx +77 -28
- package/src/components/progress/progress.meta.md +38 -6
- package/src/components/progress/progress.stories.tsx +3 -3
- package/src/components/progress/progress.tsx +24 -16
- package/src/components/radio-group/radio-group.meta.md +79 -7
- package/src/components/radio-group/radio-group.stories.tsx +39 -3
- package/src/components/radio-group/radio-group.tsx +149 -18
- package/src/components/rate/rate.meta.md +35 -4
- package/src/components/rate/rate.stories.tsx +13 -5
- package/src/components/rate/rate.tsx +37 -10
- package/src/components/resizable/resizable.meta.md +7 -4
- package/src/components/resizable/resizable.stories.tsx +6 -6
- package/src/components/resizable/resizable.tsx +1 -1
- package/src/components/result/result.meta.md +7 -2
- package/src/components/result/result.stories.tsx +4 -8
- package/src/components/result/result.tsx +24 -15
- package/src/components/scroll-area/scroll-area.meta.md +4 -3
- package/src/components/scroll-area/scroll-area.stories.tsx +12 -4
- package/src/components/scroll-area/scroll-area.tsx +3 -3
- package/src/components/segmented/segmented.meta.md +7 -4
- package/src/components/segmented/segmented.stories.tsx +37 -8
- package/src/components/segmented/segmented.tsx +15 -7
- package/src/components/select/select.meta.md +197 -52
- package/src/components/select/select.stories.tsx +238 -63
- package/src/components/select/select.tsx +718 -171
- package/src/components/separator/separator.meta.md +4 -3
- package/src/components/separator/separator.stories.tsx +3 -3
- package/src/components/separator/separator.tsx +3 -7
- package/src/components/sheet/sheet.meta.md +32 -16
- package/src/components/sheet/sheet.stories.tsx +116 -10
- package/src/components/sheet/sheet.tsx +116 -29
- package/src/components/sidebar/sidebar.meta.md +37 -18
- package/src/components/sidebar/sidebar.stories.tsx +701 -29
- package/src/components/sidebar/sidebar.tsx +615 -142
- package/src/components/skeleton/skeleton.meta.md +4 -5
- package/src/components/skeleton/skeleton.stories.tsx +4 -4
- package/src/components/skeleton/skeleton.tsx +7 -7
- package/src/components/slider/slider.meta.md +57 -5
- package/src/components/slider/slider.stories.tsx +58 -6
- package/src/components/slider/slider.tsx +154 -13
- package/src/components/sonner/sonner.meta.md +58 -7
- package/src/components/sonner/sonner.stories.tsx +78 -5
- package/src/components/sonner/sonner.tsx +137 -8
- package/src/components/spinner/spinner.meta.md +62 -13
- package/src/components/spinner/spinner.stories.tsx +66 -14
- package/src/components/spinner/spinner.tsx +111 -9
- package/src/components/statistic/statistic.meta.md +7 -2
- package/src/components/statistic/statistic.stories.tsx +3 -7
- package/src/components/statistic/statistic.tsx +5 -6
- package/src/components/steps/steps.meta.md +18 -4
- package/src/components/steps/steps.stories.tsx +43 -3
- package/src/components/steps/steps.tsx +15 -12
- package/src/components/switch/switch.meta.md +51 -5
- package/src/components/switch/switch.stories.tsx +6 -6
- package/src/components/switch/switch.tsx +109 -41
- package/src/components/table/table.meta.md +17 -6
- package/src/components/table/table.stories.tsx +10 -5
- package/src/components/table/table.tsx +4 -4
- package/src/components/tabs/tabs.meta.md +38 -25
- package/src/components/tabs/tabs.stories.tsx +111 -25
- package/src/components/tabs/tabs.tsx +125 -54
- package/src/components/tag/tag.meta.md +105 -40
- package/src/components/tag/tag.stories.tsx +189 -16
- package/src/components/tag/tag.tsx +222 -21
- package/src/components/textarea/textarea.meta.md +35 -19
- package/src/components/textarea/textarea.stories.tsx +32 -6
- package/src/components/textarea/textarea.tsx +33 -9
- package/src/components/time-picker/time-picker.meta.md +124 -32
- package/src/components/time-picker/time-picker.stories.tsx +85 -15
- package/src/components/time-picker/time-picker.tsx +913 -61
- package/src/components/timeline/timeline.meta.md +14 -6
- package/src/components/timeline/timeline.stories.tsx +37 -7
- package/src/components/timeline/timeline.tsx +35 -14
- package/src/components/toggle/toggle.meta.md +5 -4
- package/src/components/toggle/toggle.stories.tsx +4 -4
- package/src/components/toggle/toggle.tsx +4 -3
- package/src/components/toggle-group/toggle-group.meta.md +5 -4
- package/src/components/toggle-group/toggle-group.stories.tsx +3 -3
- package/src/components/toggle-group/toggle-group.tsx +2 -2
- package/src/components/tooltip/tooltip.meta.md +55 -5
- package/src/components/tooltip/tooltip.stories.tsx +42 -5
- package/src/components/tooltip/tooltip.tsx +81 -21
- package/src/components/tour/tour.meta.md +9 -4
- package/src/components/tour/tour.stories.tsx +3 -3
- package/src/components/tour/tour.tsx +4 -4
- package/src/components/transfer/transfer.meta.md +11 -6
- package/src/components/transfer/transfer.stories.tsx +4 -8
- package/src/components/transfer/transfer.tsx +28 -21
- package/src/components/tree/tree.meta.md +63 -5
- package/src/components/tree/tree.stories.tsx +31 -12
- package/src/components/tree/tree.tsx +9 -8
- package/src/components/tree-select/tree-select.meta.md +59 -8
- package/src/components/tree-select/tree-select.stories.tsx +3 -3
- package/src/components/tree-select/tree-select.tsx +42 -7
- package/src/components/typography/typography.meta.md +61 -14
- package/src/components/typography/typography.stories.tsx +12 -11
- package/src/components/typography/typography.tsx +43 -28
- package/src/components/upload/upload.meta.md +49 -4
- package/src/components/upload/upload.stories.tsx +72 -12
- package/src/components/upload/upload.tsx +170 -37
- package/src/components/watermark/watermark.meta.md +7 -2
- package/src/components/watermark/watermark.stories.tsx +101 -9
- package/src/components/watermark/watermark.tsx +1 -0
- package/src/hooks/use-breakpoint.ts +117 -0
- package/src/hooks/use-debounce-callback.ts +52 -0
- package/src/hooks/use-mobile.ts +23 -0
- package/src/stories/theme-tokens.stories.tsx +747 -0
- package/src/utils/trigger-input.ts +53 -0
- package/src/components/button-group/button-group.meta.md +0 -92
- package/src/components/button-group/button-group.stories.tsx +0 -90
- package/src/components/button-group/button-group.tsx +0 -75
- package/src/components/combobox/combobox.meta.md +0 -93
- package/src/components/combobox/combobox.stories.tsx +0 -55
- package/src/components/combobox/combobox.tsx +0 -130
- package/src/components/space/space.meta.md +0 -94
- package/src/components/space/space.stories.tsx +0 -94
- package/src/components/space/space.tsx +0 -106
package/manifest.json
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"id": "button",
|
|
30
30
|
"name": "Button",
|
|
31
31
|
"type": "component",
|
|
32
|
-
"description": "通用按钮 — shadcn 实现 +
|
|
32
|
+
"description": "通用按钮 — shadcn 实现 + cloud-design 能力并集(loading / icon / shape / block / dashed variant / color 语义双 prop / disabledTooltip)。同文件合一导出 ButtonGroup + ButtonGroupText(等价 antd Space.Compact + cd SplitButton)。",
|
|
33
33
|
"files": [
|
|
34
34
|
{
|
|
35
35
|
"source": "src/components/button/button.tsx",
|
|
@@ -38,13 +38,15 @@
|
|
|
38
38
|
}
|
|
39
39
|
],
|
|
40
40
|
"meta": "src/components/button/button.meta.md",
|
|
41
|
-
"registryDependencies": ["cn"],
|
|
41
|
+
"registryDependencies": ["cn", "tooltip"],
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@radix-ui/react-slot": "^1.1.0",
|
|
44
|
+
"@radix-ui/react-tooltip": "^1.1.0",
|
|
44
45
|
"class-variance-authority": "^0.7.0",
|
|
45
46
|
"lucide-react": "^0.460.0"
|
|
46
47
|
},
|
|
47
|
-
"updateStrategy": "frozen"
|
|
48
|
+
"updateStrategy": "frozen",
|
|
49
|
+
"category": "general"
|
|
48
50
|
},
|
|
49
51
|
{
|
|
50
52
|
"id": "label",
|
|
@@ -64,7 +66,8 @@
|
|
|
64
66
|
"@radix-ui/react-label": "^2.1.0",
|
|
65
67
|
"class-variance-authority": "^0.7.0"
|
|
66
68
|
},
|
|
67
|
-
"updateStrategy": "frozen"
|
|
69
|
+
"updateStrategy": "frozen",
|
|
70
|
+
"category": "data-entry"
|
|
68
71
|
},
|
|
69
72
|
{
|
|
70
73
|
"id": "badge",
|
|
@@ -83,7 +86,8 @@
|
|
|
83
86
|
"dependencies": {
|
|
84
87
|
"class-variance-authority": "^0.7.0"
|
|
85
88
|
},
|
|
86
|
-
"updateStrategy": "frozen"
|
|
89
|
+
"updateStrategy": "frozen",
|
|
90
|
+
"category": "data-display"
|
|
87
91
|
},
|
|
88
92
|
{
|
|
89
93
|
"id": "separator",
|
|
@@ -102,7 +106,8 @@
|
|
|
102
106
|
"dependencies": {
|
|
103
107
|
"@radix-ui/react-separator": "^1.1.0"
|
|
104
108
|
},
|
|
105
|
-
"updateStrategy": "frozen"
|
|
109
|
+
"updateStrategy": "frozen",
|
|
110
|
+
"category": "layout"
|
|
106
111
|
},
|
|
107
112
|
{
|
|
108
113
|
"id": "skeleton",
|
|
@@ -121,25 +126,8 @@
|
|
|
121
126
|
"dependencies": {
|
|
122
127
|
"class-variance-authority": "^0.7.0"
|
|
123
128
|
},
|
|
124
|
-
"updateStrategy": "frozen"
|
|
125
|
-
|
|
126
|
-
{
|
|
127
|
-
"id": "aspect-ratio",
|
|
128
|
-
"name": "AspectRatio",
|
|
129
|
-
"type": "component",
|
|
130
|
-
"description": "容器保持宽高比 — Radix AspectRatio,无 layout shift",
|
|
131
|
-
"files": [
|
|
132
|
-
{
|
|
133
|
-
"source": "src/components/aspect-ratio/aspect-ratio.tsx",
|
|
134
|
-
"targetAlias": "components",
|
|
135
|
-
"targetName": "aspect-ratio.tsx"
|
|
136
|
-
}
|
|
137
|
-
],
|
|
138
|
-
"meta": "src/components/aspect-ratio/aspect-ratio.meta.md",
|
|
139
|
-
"dependencies": {
|
|
140
|
-
"@radix-ui/react-aspect-ratio": "^1.1.0"
|
|
141
|
-
},
|
|
142
|
-
"updateStrategy": "frozen"
|
|
129
|
+
"updateStrategy": "frozen",
|
|
130
|
+
"category": "feedback"
|
|
143
131
|
},
|
|
144
132
|
{
|
|
145
133
|
"id": "avatar",
|
|
@@ -157,9 +145,11 @@
|
|
|
157
145
|
"registryDependencies": ["cn"],
|
|
158
146
|
"dependencies": {
|
|
159
147
|
"@radix-ui/react-avatar": "^1.1.0",
|
|
160
|
-
"class-variance-authority": "^0.7.0"
|
|
148
|
+
"class-variance-authority": "^0.7.0",
|
|
149
|
+
"lucide-react": "^0.460.0"
|
|
161
150
|
},
|
|
162
|
-
"updateStrategy": "frozen"
|
|
151
|
+
"updateStrategy": "frozen",
|
|
152
|
+
"category": "data-display"
|
|
163
153
|
},
|
|
164
154
|
{
|
|
165
155
|
"id": "progress",
|
|
@@ -178,7 +168,8 @@
|
|
|
178
168
|
"dependencies": {
|
|
179
169
|
"@radix-ui/react-progress": "^1.1.0"
|
|
180
170
|
},
|
|
181
|
-
"updateStrategy": "frozen"
|
|
171
|
+
"updateStrategy": "frozen",
|
|
172
|
+
"category": "feedback"
|
|
182
173
|
},
|
|
183
174
|
{
|
|
184
175
|
"id": "switch",
|
|
@@ -198,7 +189,8 @@
|
|
|
198
189
|
"@radix-ui/react-switch": "^1.1.0",
|
|
199
190
|
"lucide-react": "^0.460.0"
|
|
200
191
|
},
|
|
201
|
-
"updateStrategy": "frozen"
|
|
192
|
+
"updateStrategy": "frozen",
|
|
193
|
+
"category": "data-entry"
|
|
202
194
|
},
|
|
203
195
|
{
|
|
204
196
|
"id": "slider",
|
|
@@ -217,33 +209,14 @@
|
|
|
217
209
|
"dependencies": {
|
|
218
210
|
"@radix-ui/react-slider": "^1.2.0"
|
|
219
211
|
},
|
|
220
|
-
"updateStrategy": "frozen"
|
|
221
|
-
|
|
222
|
-
{
|
|
223
|
-
"id": "toggle",
|
|
224
|
-
"name": "Toggle",
|
|
225
|
-
"type": "component",
|
|
226
|
-
"description": "二元状态按钮 — Radix Toggle 包装,工具栏图标级开关",
|
|
227
|
-
"files": [
|
|
228
|
-
{
|
|
229
|
-
"source": "src/components/toggle/toggle.tsx",
|
|
230
|
-
"targetAlias": "components",
|
|
231
|
-
"targetName": "toggle.tsx"
|
|
232
|
-
}
|
|
233
|
-
],
|
|
234
|
-
"meta": "src/components/toggle/toggle.meta.md",
|
|
235
|
-
"registryDependencies": ["cn"],
|
|
236
|
-
"dependencies": {
|
|
237
|
-
"@radix-ui/react-toggle": "^1.1.0",
|
|
238
|
-
"class-variance-authority": "^0.7.0"
|
|
239
|
-
},
|
|
240
|
-
"updateStrategy": "frozen"
|
|
212
|
+
"updateStrategy": "frozen",
|
|
213
|
+
"category": "data-entry"
|
|
241
214
|
},
|
|
242
215
|
{
|
|
243
216
|
"id": "input",
|
|
244
217
|
"name": "Input",
|
|
245
218
|
"type": "component",
|
|
246
|
-
"description": "
|
|
219
|
+
"description": "单行文本输入 — clearable / showCount / size(sm 24 / md 32 / lg 36,与 Button 同档)/ error 四档内建能力。前缀/后缀/addon 等复合形态已拆出独立 InputGroup;多行已拆出独立 Textarea",
|
|
247
220
|
"files": [
|
|
248
221
|
{
|
|
249
222
|
"source": "src/components/input/input.tsx",
|
|
@@ -256,13 +229,14 @@
|
|
|
256
229
|
"dependencies": {
|
|
257
230
|
"lucide-react": "^0.460.0"
|
|
258
231
|
},
|
|
259
|
-
"updateStrategy": "frozen"
|
|
232
|
+
"updateStrategy": "frozen",
|
|
233
|
+
"category": "data-entry"
|
|
260
234
|
},
|
|
261
235
|
{
|
|
262
236
|
"id": "textarea",
|
|
263
237
|
"name": "Textarea",
|
|
264
238
|
"type": "component",
|
|
265
|
-
"description": "多行文本输入 —
|
|
239
|
+
"description": "多行文本输入 — autoSize(布尔或 minRows/maxRows)+ showCount + size 三档字号,与 Input 同档对齐;高度由 rows / autoSize 控制",
|
|
266
240
|
"files": [
|
|
267
241
|
{
|
|
268
242
|
"source": "src/components/textarea/textarea.tsx",
|
|
@@ -272,7 +246,25 @@
|
|
|
272
246
|
],
|
|
273
247
|
"meta": "src/components/textarea/textarea.meta.md",
|
|
274
248
|
"registryDependencies": ["cn"],
|
|
275
|
-
"updateStrategy": "frozen"
|
|
249
|
+
"updateStrategy": "frozen",
|
|
250
|
+
"category": "data-entry"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"id": "input-group",
|
|
254
|
+
"name": "InputGroup",
|
|
255
|
+
"type": "component",
|
|
256
|
+
"description": "复合输入容器 — shadcn 2025-10 新增,等价 antd Input 的 prefix/suffix/addonBefore/addonAfter 集合;通过 InputGroupAddon(position=before|after) + InputGroupInput / InputGroupTextarea 复合插槽组合图标 / 按钮 / 文本",
|
|
257
|
+
"files": [
|
|
258
|
+
{
|
|
259
|
+
"source": "src/components/input-group/input-group.tsx",
|
|
260
|
+
"targetAlias": "components",
|
|
261
|
+
"targetName": "input-group.tsx"
|
|
262
|
+
}
|
|
263
|
+
],
|
|
264
|
+
"meta": "src/components/input-group/input-group.meta.md",
|
|
265
|
+
"registryDependencies": ["cn"],
|
|
266
|
+
"updateStrategy": "frozen",
|
|
267
|
+
"category": "data-entry"
|
|
276
268
|
},
|
|
277
269
|
{
|
|
278
270
|
"id": "checkbox",
|
|
@@ -292,7 +284,8 @@
|
|
|
292
284
|
"@radix-ui/react-checkbox": "^1.1.0",
|
|
293
285
|
"lucide-react": "^0.460.0"
|
|
294
286
|
},
|
|
295
|
-
"updateStrategy": "frozen"
|
|
287
|
+
"updateStrategy": "frozen",
|
|
288
|
+
"category": "data-entry"
|
|
296
289
|
},
|
|
297
290
|
{
|
|
298
291
|
"id": "radio-group",
|
|
@@ -312,13 +305,14 @@
|
|
|
312
305
|
"@radix-ui/react-radio-group": "^1.2.0",
|
|
313
306
|
"lucide-react": "^0.460.0"
|
|
314
307
|
},
|
|
315
|
-
"updateStrategy": "frozen"
|
|
308
|
+
"updateStrategy": "frozen",
|
|
309
|
+
"category": "data-entry"
|
|
316
310
|
},
|
|
317
311
|
{
|
|
318
312
|
"id": "alert",
|
|
319
313
|
"name": "Alert",
|
|
320
314
|
"type": "component",
|
|
321
|
-
"description": "静态提示条 — shadcn 视觉 + antd type/showIcon/closable/banner
|
|
315
|
+
"description": "静态提示条 — shadcn 视觉 + antd type/showIcon/closable/banner 并集,六档语义色(primary/info/success/warning/destructive/neutral),无边框 + 面性状态图标",
|
|
322
316
|
"files": [
|
|
323
317
|
{
|
|
324
318
|
"source": "src/components/alert/alert.tsx",
|
|
@@ -332,13 +326,14 @@
|
|
|
332
326
|
"class-variance-authority": "^0.7.0",
|
|
333
327
|
"lucide-react": "^0.460.0"
|
|
334
328
|
},
|
|
335
|
-
"updateStrategy": "frozen"
|
|
329
|
+
"updateStrategy": "frozen",
|
|
330
|
+
"category": "feedback"
|
|
336
331
|
},
|
|
337
332
|
{
|
|
338
333
|
"id": "tooltip",
|
|
339
334
|
"name": "Tooltip",
|
|
340
335
|
"type": "component",
|
|
341
|
-
"description": "文字提示气泡 — Radix Tooltip + antd arrow/placement(side) 并集 + 一行 wrapper API",
|
|
336
|
+
"description": "文字提示气泡 — Radix Tooltip + antd arrow/placement(side) 并集 + cloud-design Balloon 双变体(default 深底 / light 白底) + 一行 wrapper API",
|
|
342
337
|
"files": [
|
|
343
338
|
{
|
|
344
339
|
"source": "src/components/tooltip/tooltip.tsx",
|
|
@@ -349,15 +344,17 @@
|
|
|
349
344
|
"meta": "src/components/tooltip/tooltip.meta.md",
|
|
350
345
|
"registryDependencies": ["cn"],
|
|
351
346
|
"dependencies": {
|
|
352
|
-
"@radix-ui/react-tooltip": "^1.1.0"
|
|
347
|
+
"@radix-ui/react-tooltip": "^1.1.0",
|
|
348
|
+
"class-variance-authority": "^0.7.0"
|
|
353
349
|
},
|
|
354
|
-
"updateStrategy": "frozen"
|
|
350
|
+
"updateStrategy": "frozen",
|
|
351
|
+
"category": "data-display"
|
|
355
352
|
},
|
|
356
353
|
{
|
|
357
354
|
"id": "popover",
|
|
358
355
|
"name": "Popover",
|
|
359
356
|
"type": "component",
|
|
360
|
-
"description": "可交互浮层 — Radix Popover + antd arrow
|
|
357
|
+
"description": "可交互浮层 — Radix Popover + antd arrow 并集,使用 showArrow 控制尖角(与 Tooltip / HoverCard 命名统一)",
|
|
361
358
|
"files": [
|
|
362
359
|
{
|
|
363
360
|
"source": "src/components/popover/popover.tsx",
|
|
@@ -370,13 +367,35 @@
|
|
|
370
367
|
"dependencies": {
|
|
371
368
|
"@radix-ui/react-popover": "^1.1.0"
|
|
372
369
|
},
|
|
373
|
-
"updateStrategy": "frozen"
|
|
370
|
+
"updateStrategy": "frozen",
|
|
371
|
+
"category": "feedback"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"id": "command",
|
|
375
|
+
"name": "Command",
|
|
376
|
+
"type": "component",
|
|
377
|
+
"description": "命令面板 / 下拉底座 — cmdk(Linear / Raycast 风格)提供过滤 / 键盘导航 / a11y;同时为 Combobox / Select / AutoComplete 提供同源下拉内核",
|
|
378
|
+
"files": [
|
|
379
|
+
{
|
|
380
|
+
"source": "src/components/command/command.tsx",
|
|
381
|
+
"targetAlias": "components",
|
|
382
|
+
"targetName": "command.tsx"
|
|
383
|
+
}
|
|
384
|
+
],
|
|
385
|
+
"meta": "src/components/command/command.meta.md",
|
|
386
|
+
"registryDependencies": ["cn", "dialog"],
|
|
387
|
+
"dependencies": {
|
|
388
|
+
"cmdk": "^1.0.0",
|
|
389
|
+
"lucide-react": "^0.460.0"
|
|
390
|
+
},
|
|
391
|
+
"updateStrategy": "frozen",
|
|
392
|
+
"category": "feedback"
|
|
374
393
|
},
|
|
375
394
|
{
|
|
376
395
|
"id": "hover-card",
|
|
377
396
|
"name": "HoverCard",
|
|
378
397
|
"type": "component",
|
|
379
|
-
"description": "悬浮富内容卡 — Radix HoverCard,shadcn-only(@username 卡片 / 链接预览)",
|
|
398
|
+
"description": "悬浮富内容卡 — Radix HoverCard,shadcn-only(@username 卡片 / 链接预览 / 资源卡),使用 showArrow 与 Tooltip/Popover 对齐",
|
|
380
399
|
"files": [
|
|
381
400
|
{
|
|
382
401
|
"source": "src/components/hover-card/hover-card.tsx",
|
|
@@ -389,33 +408,42 @@
|
|
|
389
408
|
"dependencies": {
|
|
390
409
|
"@radix-ui/react-hover-card": "^1.1.0"
|
|
391
410
|
},
|
|
392
|
-
"updateStrategy": "frozen"
|
|
411
|
+
"updateStrategy": "frozen",
|
|
412
|
+
"category": "data-display"
|
|
393
413
|
},
|
|
394
414
|
{
|
|
395
415
|
"id": "dialog",
|
|
396
416
|
"name": "Dialog",
|
|
397
417
|
"type": "component",
|
|
398
|
-
"description": "模态对话框 — Radix Dialog + antd Modal 并集(组合式 Header/Footer/Title/Description)",
|
|
418
|
+
"description": "模态对话框 — Radix Dialog + antd Modal 并集(组合式 Header/Footer/Title/Description,size sm/md/lg/xl 绑定 layout-dialog tokens,圆角 radius-dialog 16px,无 border)",
|
|
399
419
|
"files": [
|
|
400
420
|
{
|
|
401
421
|
"source": "src/components/dialog/dialog.tsx",
|
|
402
422
|
"targetAlias": "components",
|
|
403
423
|
"targetName": "dialog.tsx"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"source": "src/components/dialog/imperative.tsx",
|
|
427
|
+
"targetAlias": "components",
|
|
428
|
+
"targetName": "dialog-imperative.tsx"
|
|
404
429
|
}
|
|
405
430
|
],
|
|
406
431
|
"meta": "src/components/dialog/dialog.meta.md",
|
|
407
|
-
"registryDependencies": ["cn"],
|
|
432
|
+
"registryDependencies": ["cn", "button"],
|
|
408
433
|
"dependencies": {
|
|
409
434
|
"@radix-ui/react-dialog": "^1.1.0",
|
|
410
|
-
"
|
|
435
|
+
"class-variance-authority": "^0.7.0",
|
|
436
|
+
"lucide-react": "^0.460.0",
|
|
437
|
+
"react-dom": ">=18"
|
|
411
438
|
},
|
|
412
|
-
"updateStrategy": "frozen"
|
|
439
|
+
"updateStrategy": "frozen",
|
|
440
|
+
"category": "feedback"
|
|
413
441
|
},
|
|
414
442
|
{
|
|
415
443
|
"id": "alert-dialog",
|
|
416
444
|
"name": "AlertDialog",
|
|
417
445
|
"type": "component",
|
|
418
|
-
"description": "阻断式确认对话框 — Radix AlertDialog + antd Modal.confirm 并集(Action / Cancel)",
|
|
446
|
+
"description": "阻断式确认对话框 — Radix AlertDialog + antd Modal.confirm 并集(Action / Cancel,size sm/md/lg/xl,圆角与无 border 同 Dialog)",
|
|
419
447
|
"files": [
|
|
420
448
|
{
|
|
421
449
|
"source": "src/components/alert-dialog/alert-dialog.tsx",
|
|
@@ -426,15 +454,17 @@
|
|
|
426
454
|
"meta": "src/components/alert-dialog/alert-dialog.meta.md",
|
|
427
455
|
"registryDependencies": ["cn", "button"],
|
|
428
456
|
"dependencies": {
|
|
429
|
-
"@radix-ui/react-alert-dialog": "^1.1.0"
|
|
457
|
+
"@radix-ui/react-alert-dialog": "^1.1.0",
|
|
458
|
+
"class-variance-authority": "^0.7.0"
|
|
430
459
|
},
|
|
431
|
-
"updateStrategy": "frozen"
|
|
460
|
+
"updateStrategy": "frozen",
|
|
461
|
+
"category": "feedback"
|
|
432
462
|
},
|
|
433
463
|
{
|
|
434
464
|
"id": "sheet",
|
|
435
465
|
"name": "Sheet",
|
|
436
466
|
"type": "component",
|
|
437
|
-
"description": "
|
|
467
|
+
"description": "侧边面板 — Radix Dialog + side(left/right/top/bottom) + size(sm/md/lg/xl) + --radius-dialog 圆角,对齐 antd Drawer 全能力集",
|
|
438
468
|
"files": [
|
|
439
469
|
{
|
|
440
470
|
"source": "src/components/sheet/sheet.tsx",
|
|
@@ -449,13 +479,15 @@
|
|
|
449
479
|
"class-variance-authority": "^0.7.0",
|
|
450
480
|
"lucide-react": "^0.460.0"
|
|
451
481
|
},
|
|
452
|
-
"updateStrategy": "frozen"
|
|
482
|
+
"updateStrategy": "frozen",
|
|
483
|
+
"category": "feedback"
|
|
453
484
|
},
|
|
454
485
|
{
|
|
455
486
|
"id": "drawer",
|
|
456
487
|
"name": "Drawer",
|
|
457
488
|
"type": "component",
|
|
458
|
-
"description": "
|
|
489
|
+
"description": "抽屉(Sheet 别名)— re-export sheet,向后兼容已有 Drawer 导入",
|
|
490
|
+
"alias": "sheet",
|
|
459
491
|
"files": [
|
|
460
492
|
{
|
|
461
493
|
"source": "src/components/drawer/drawer.tsx",
|
|
@@ -464,17 +496,16 @@
|
|
|
464
496
|
}
|
|
465
497
|
],
|
|
466
498
|
"meta": "src/components/drawer/drawer.meta.md",
|
|
467
|
-
"registryDependencies": ["cn"],
|
|
468
|
-
"dependencies": {
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
"updateStrategy": "frozen"
|
|
499
|
+
"registryDependencies": ["sheet", "cn"],
|
|
500
|
+
"dependencies": {},
|
|
501
|
+
"updateStrategy": "frozen",
|
|
502
|
+
"category": "feedback"
|
|
472
503
|
},
|
|
473
504
|
{
|
|
474
505
|
"id": "sonner",
|
|
475
506
|
"name": "Toaster",
|
|
476
507
|
"type": "component",
|
|
477
|
-
"description": "Toast 通知 — sonner 包装,等价 antd message + notification 并集(toast() 函数式 API + Toaster
|
|
508
|
+
"description": "Toast 通知 — sonner 包装,等价 antd message + notification 并集(toast() 函数式 API + Toaster 容器,面性 5 状态图标 + 无边框)",
|
|
478
509
|
"files": [
|
|
479
510
|
{
|
|
480
511
|
"source": "src/components/sonner/sonner.tsx",
|
|
@@ -483,16 +514,19 @@
|
|
|
483
514
|
}
|
|
484
515
|
],
|
|
485
516
|
"meta": "src/components/sonner/sonner.meta.md",
|
|
517
|
+
"registryDependencies": ["cn"],
|
|
486
518
|
"dependencies": {
|
|
487
|
-
"sonner": "^1.5.0"
|
|
519
|
+
"sonner": "^1.5.0",
|
|
520
|
+
"lucide-react": "^0.460.0"
|
|
488
521
|
},
|
|
489
|
-
"updateStrategy": "frozen"
|
|
522
|
+
"updateStrategy": "frozen",
|
|
523
|
+
"category": "feedback"
|
|
490
524
|
},
|
|
491
525
|
{
|
|
492
526
|
"id": "select",
|
|
493
527
|
"name": "Select",
|
|
494
528
|
"type": "component",
|
|
495
|
-
"description": "下拉选择 —
|
|
529
|
+
"description": "下拉选择 — 单组件覆盖 cd Select 全部模式:单选 / 多选(multiple) / 搜索(searchable) / 标签创建(creatable) / 远程异步(onSearch) / 虚拟滚动(virtual) / 弹层容器(container)。基于 Popover + cmdk Command,size 三档对齐 Button/Input(24/32/36)。原 Combobox 已合并入此组件",
|
|
496
530
|
"files": [
|
|
497
531
|
{
|
|
498
532
|
"source": "src/components/select/select.tsx",
|
|
@@ -501,32 +535,13 @@
|
|
|
501
535
|
}
|
|
502
536
|
],
|
|
503
537
|
"meta": "src/components/select/select.meta.md",
|
|
504
|
-
"registryDependencies": ["cn"],
|
|
538
|
+
"registryDependencies": ["cn", "command", "popover"],
|
|
505
539
|
"dependencies": {
|
|
506
|
-
"@
|
|
540
|
+
"@tanstack/react-virtual": "^3.0.0",
|
|
507
541
|
"lucide-react": "^0.460.0"
|
|
508
542
|
},
|
|
509
|
-
"updateStrategy": "frozen"
|
|
510
|
-
|
|
511
|
-
{
|
|
512
|
-
"id": "toggle-group",
|
|
513
|
-
"name": "ToggleGroup",
|
|
514
|
-
"type": "component",
|
|
515
|
-
"description": "切换按钮组 — Radix ToggleGroup,type=single|multiple,复用 Toggle variant/size",
|
|
516
|
-
"files": [
|
|
517
|
-
{
|
|
518
|
-
"source": "src/components/toggle-group/toggle-group.tsx",
|
|
519
|
-
"targetAlias": "components",
|
|
520
|
-
"targetName": "toggle-group.tsx"
|
|
521
|
-
}
|
|
522
|
-
],
|
|
523
|
-
"meta": "src/components/toggle-group/toggle-group.meta.md",
|
|
524
|
-
"registryDependencies": ["cn", "toggle"],
|
|
525
|
-
"dependencies": {
|
|
526
|
-
"@radix-ui/react-toggle-group": "^1.1.0",
|
|
527
|
-
"class-variance-authority": "^0.7.0"
|
|
528
|
-
},
|
|
529
|
-
"updateStrategy": "frozen"
|
|
543
|
+
"updateStrategy": "frozen",
|
|
544
|
+
"category": "data-entry"
|
|
530
545
|
},
|
|
531
546
|
{
|
|
532
547
|
"id": "calendar",
|
|
@@ -546,13 +561,14 @@
|
|
|
546
561
|
"react-day-picker": "^9.0.0",
|
|
547
562
|
"lucide-react": "^0.460.0"
|
|
548
563
|
},
|
|
549
|
-
"updateStrategy": "frozen"
|
|
564
|
+
"updateStrategy": "frozen",
|
|
565
|
+
"category": "data-display"
|
|
550
566
|
},
|
|
551
567
|
{
|
|
552
568
|
"id": "date-picker",
|
|
553
569
|
"name": "DatePicker",
|
|
554
570
|
"type": "component",
|
|
555
|
-
"description": "日期 / 范围选择器 — Calendar + Popover
|
|
571
|
+
"description": "日期 / 范围选择器 — Calendar + Popover 复合,可选 showTime 追加 TimePickerPanel(对齐 antd DatePicker / RangePicker / showTime)",
|
|
556
572
|
"files": [
|
|
557
573
|
{
|
|
558
574
|
"source": "src/components/date-picker/date-picker.tsx",
|
|
@@ -561,33 +577,20 @@
|
|
|
561
577
|
}
|
|
562
578
|
],
|
|
563
579
|
"meta": "src/components/date-picker/date-picker.meta.md",
|
|
564
|
-
"registryDependencies": [
|
|
580
|
+
"registryDependencies": [
|
|
581
|
+
"cn",
|
|
582
|
+
"button",
|
|
583
|
+
"calendar",
|
|
584
|
+
"popover",
|
|
585
|
+
"time-picker"
|
|
586
|
+
],
|
|
565
587
|
"dependencies": {
|
|
566
588
|
"date-fns": "^3.0.0",
|
|
567
589
|
"react-day-picker": "^9.0.0",
|
|
568
590
|
"lucide-react": "^0.460.0"
|
|
569
591
|
},
|
|
570
|
-
"updateStrategy": "frozen"
|
|
571
|
-
|
|
572
|
-
{
|
|
573
|
-
"id": "input-otp",
|
|
574
|
-
"name": "InputOTP",
|
|
575
|
-
"type": "component",
|
|
576
|
-
"description": "OTP 验证码输入 — 基于 input-otp,shadcn-only(短验证码场景:登录、二步验证、PIN)",
|
|
577
|
-
"files": [
|
|
578
|
-
{
|
|
579
|
-
"source": "src/components/input-otp/input-otp.tsx",
|
|
580
|
-
"targetAlias": "components",
|
|
581
|
-
"targetName": "input-otp.tsx"
|
|
582
|
-
}
|
|
583
|
-
],
|
|
584
|
-
"meta": "src/components/input-otp/input-otp.meta.md",
|
|
585
|
-
"registryDependencies": ["cn"],
|
|
586
|
-
"dependencies": {
|
|
587
|
-
"input-otp": "^1.2.0",
|
|
588
|
-
"lucide-react": "^0.460.0"
|
|
589
|
-
},
|
|
590
|
-
"updateStrategy": "frozen"
|
|
592
|
+
"updateStrategy": "frozen",
|
|
593
|
+
"category": "data-entry"
|
|
591
594
|
},
|
|
592
595
|
{
|
|
593
596
|
"id": "form",
|
|
@@ -602,21 +605,21 @@
|
|
|
602
605
|
}
|
|
603
606
|
],
|
|
604
607
|
"meta": "src/components/form/form.meta.md",
|
|
605
|
-
"registryDependencies": ["cn", "
|
|
608
|
+
"registryDependencies": ["cn", "field"],
|
|
606
609
|
"dependencies": {
|
|
607
610
|
"react-hook-form": "^7.50.0",
|
|
608
611
|
"@hookform/resolvers": "^3.0.0",
|
|
609
612
|
"zod": "^3.22.0",
|
|
610
|
-
"@radix-ui/react-label": "^2.1.0",
|
|
611
613
|
"@radix-ui/react-slot": "^1.1.0"
|
|
612
614
|
},
|
|
613
|
-
"updateStrategy": "frozen"
|
|
615
|
+
"updateStrategy": "frozen",
|
|
616
|
+
"category": "data-entry"
|
|
614
617
|
},
|
|
615
618
|
{
|
|
616
619
|
"id": "tabs",
|
|
617
620
|
"name": "Tabs",
|
|
618
621
|
"type": "component",
|
|
619
|
-
"description": "标签页 — Radix Tabs + antd
|
|
622
|
+
"description": "标签页 — Radix Tabs + shadcn ∪ antd 并集,吸收 Segmented 胶囊视觉(variant=line|capsule + size=sm|md|lg + extra)",
|
|
620
623
|
"files": [
|
|
621
624
|
{
|
|
622
625
|
"source": "src/components/tabs/tabs.tsx",
|
|
@@ -630,7 +633,8 @@
|
|
|
630
633
|
"@radix-ui/react-tabs": "^1.1.0",
|
|
631
634
|
"class-variance-authority": "^0.7.0"
|
|
632
635
|
},
|
|
633
|
-
"updateStrategy": "frozen"
|
|
636
|
+
"updateStrategy": "frozen",
|
|
637
|
+
"category": "data-display"
|
|
634
638
|
},
|
|
635
639
|
{
|
|
636
640
|
"id": "accordion",
|
|
@@ -650,7 +654,8 @@
|
|
|
650
654
|
"@radix-ui/react-accordion": "^1.2.0",
|
|
651
655
|
"lucide-react": "^0.460.0"
|
|
652
656
|
},
|
|
653
|
-
"updateStrategy": "frozen"
|
|
657
|
+
"updateStrategy": "frozen",
|
|
658
|
+
"category": "data-display"
|
|
654
659
|
},
|
|
655
660
|
{
|
|
656
661
|
"id": "collapsible",
|
|
@@ -668,7 +673,8 @@
|
|
|
668
673
|
"dependencies": {
|
|
669
674
|
"@radix-ui/react-collapsible": "^1.1.0"
|
|
670
675
|
},
|
|
671
|
-
"updateStrategy": "frozen"
|
|
676
|
+
"updateStrategy": "frozen",
|
|
677
|
+
"category": "data-display"
|
|
672
678
|
},
|
|
673
679
|
{
|
|
674
680
|
"id": "breadcrumb",
|
|
@@ -688,7 +694,8 @@
|
|
|
688
694
|
"@radix-ui/react-slot": "^1.1.0",
|
|
689
695
|
"lucide-react": "^0.460.0"
|
|
690
696
|
},
|
|
691
|
-
"updateStrategy": "frozen"
|
|
697
|
+
"updateStrategy": "frozen",
|
|
698
|
+
"category": "navigation"
|
|
692
699
|
},
|
|
693
700
|
{
|
|
694
701
|
"id": "pagination",
|
|
@@ -705,9 +712,11 @@
|
|
|
705
712
|
"meta": "src/components/pagination/pagination.meta.md",
|
|
706
713
|
"registryDependencies": ["cn", "button"],
|
|
707
714
|
"dependencies": {
|
|
715
|
+
"class-variance-authority": "^0.7.0",
|
|
708
716
|
"lucide-react": "^0.460.0"
|
|
709
717
|
},
|
|
710
|
-
"updateStrategy": "frozen"
|
|
718
|
+
"updateStrategy": "frozen",
|
|
719
|
+
"category": "navigation"
|
|
711
720
|
},
|
|
712
721
|
{
|
|
713
722
|
"id": "dropdown-menu",
|
|
@@ -727,89 +736,73 @@
|
|
|
727
736
|
"@radix-ui/react-dropdown-menu": "^2.1.0",
|
|
728
737
|
"lucide-react": "^0.460.0"
|
|
729
738
|
},
|
|
730
|
-
"updateStrategy": "frozen"
|
|
739
|
+
"updateStrategy": "frozen",
|
|
740
|
+
"category": "navigation"
|
|
731
741
|
},
|
|
732
742
|
{
|
|
733
|
-
"id": "
|
|
734
|
-
"name": "
|
|
735
|
-
"type": "
|
|
736
|
-
"description": "
|
|
743
|
+
"id": "use-mobile",
|
|
744
|
+
"name": "useIsMobile",
|
|
745
|
+
"type": "hook",
|
|
746
|
+
"description": "检测视口是否为移动尺寸(< 768px) — Sidebar 在 mobile 视口切 Sheet 抽屉的判定依据",
|
|
737
747
|
"files": [
|
|
738
748
|
{
|
|
739
|
-
"source": "src/
|
|
740
|
-
"targetAlias": "
|
|
741
|
-
"targetName": "
|
|
749
|
+
"source": "src/hooks/use-mobile.ts",
|
|
750
|
+
"targetAlias": "hooks",
|
|
751
|
+
"targetName": "use-mobile.ts"
|
|
742
752
|
}
|
|
743
753
|
],
|
|
744
|
-
"meta": "src/components/context-menu/context-menu.meta.md",
|
|
745
|
-
"registryDependencies": ["cn"],
|
|
746
|
-
"dependencies": {
|
|
747
|
-
"@radix-ui/react-context-menu": "^2.2.0",
|
|
748
|
-
"lucide-react": "^0.460.0"
|
|
749
|
-
},
|
|
750
754
|
"updateStrategy": "frozen"
|
|
751
755
|
},
|
|
752
756
|
{
|
|
753
|
-
"id": "
|
|
754
|
-
"name": "
|
|
757
|
+
"id": "sidebar",
|
|
758
|
+
"name": "Sidebar",
|
|
755
759
|
"type": "component",
|
|
756
|
-
"description": "
|
|
760
|
+
"description": "侧边导航栏 — shadcn 完整版 25 primitives 复合(Provider + Sidebar + Header/Footer/Content + Group/GroupAction/GroupContent + Menu/MenuItem/MenuButton/MenuSub/MenuAction/MenuBadge/MenuSkeleton + Rail + Inset + Input + Trigger + variant=sidebar|floating|inset),含 mobile Sheet 切换 / cookie 持久化 / Cmd+B 快捷键 / 折叠态自动 Tooltip。对应 antd Layout.Sider + Menu + 移动端 Drawer",
|
|
757
761
|
"files": [
|
|
758
762
|
{
|
|
759
|
-
"source": "src/components/
|
|
763
|
+
"source": "src/components/sidebar/sidebar.tsx",
|
|
760
764
|
"targetAlias": "components",
|
|
761
|
-
"targetName": "
|
|
765
|
+
"targetName": "sidebar.tsx"
|
|
762
766
|
}
|
|
763
767
|
],
|
|
764
|
-
"meta": "src/components/
|
|
765
|
-
"registryDependencies": [
|
|
766
|
-
|
|
767
|
-
"
|
|
768
|
-
"
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
"name": "NavigationMenu",
|
|
775
|
-
"type": "component",
|
|
776
|
-
"description": "网站主导航 — Radix NavigationMenu(支持富 Content 面板)",
|
|
777
|
-
"files": [
|
|
778
|
-
{
|
|
779
|
-
"source": "src/components/navigation-menu/navigation-menu.tsx",
|
|
780
|
-
"targetAlias": "components",
|
|
781
|
-
"targetName": "navigation-menu.tsx"
|
|
782
|
-
}
|
|
768
|
+
"meta": "src/components/sidebar/sidebar.meta.md",
|
|
769
|
+
"registryDependencies": [
|
|
770
|
+
"cn",
|
|
771
|
+
"button",
|
|
772
|
+
"separator",
|
|
773
|
+
"sheet",
|
|
774
|
+
"tooltip",
|
|
775
|
+
"skeleton",
|
|
776
|
+
"input",
|
|
777
|
+
"use-mobile"
|
|
783
778
|
],
|
|
784
|
-
"meta": "src/components/navigation-menu/navigation-menu.meta.md",
|
|
785
|
-
"registryDependencies": ["cn"],
|
|
786
779
|
"dependencies": {
|
|
787
|
-
"@radix-ui/react-
|
|
780
|
+
"@radix-ui/react-slot": "^1.1.0",
|
|
788
781
|
"class-variance-authority": "^0.7.0",
|
|
789
782
|
"lucide-react": "^0.460.0"
|
|
790
783
|
},
|
|
791
|
-
"updateStrategy": "frozen"
|
|
784
|
+
"updateStrategy": "frozen",
|
|
785
|
+
"category": "layout"
|
|
792
786
|
},
|
|
793
787
|
{
|
|
794
|
-
"id": "
|
|
795
|
-
"name": "
|
|
788
|
+
"id": "page-header",
|
|
789
|
+
"name": "PageHeader",
|
|
796
790
|
"type": "component",
|
|
797
|
-
"description": "
|
|
791
|
+
"description": "页头容器 — 承接 teamix-pro ProPageHeader 视觉规范的 shadcn 复合组件(PageHeader + Nav/Content/Heading/Description/Actions/Data/DataItem/Footer/Skeleton 共 10 个子组件)。纯排版骨架,不接受配置对象;面包屑/标签/操作/图标/数据概览全用原子组件自由组合。含 goBack 返回按钮、backgroundImage 装饰图、PageHeaderDataItem 6 档数据色、整体替换式骨架屏。对应 antd PageHeader / teamix-pro ProPageHeader",
|
|
798
792
|
"files": [
|
|
799
793
|
{
|
|
800
|
-
"source": "src/components/
|
|
794
|
+
"source": "src/components/page-header/page-header.tsx",
|
|
801
795
|
"targetAlias": "components",
|
|
802
|
-
"targetName": "
|
|
796
|
+
"targetName": "page-header.tsx"
|
|
803
797
|
}
|
|
804
798
|
],
|
|
805
|
-
"meta": "src/components/
|
|
806
|
-
"registryDependencies": ["cn", "
|
|
799
|
+
"meta": "src/components/page-header/page-header.meta.md",
|
|
800
|
+
"registryDependencies": ["cn", "skeleton"],
|
|
807
801
|
"dependencies": {
|
|
808
|
-
"@radix-ui/react-slot": "^1.1.0",
|
|
809
|
-
"class-variance-authority": "^0.7.0",
|
|
810
802
|
"lucide-react": "^0.460.0"
|
|
811
803
|
},
|
|
812
|
-
"updateStrategy": "frozen"
|
|
804
|
+
"updateStrategy": "frozen",
|
|
805
|
+
"category": "layout"
|
|
813
806
|
},
|
|
814
807
|
{
|
|
815
808
|
"id": "card",
|
|
@@ -825,26 +818,8 @@
|
|
|
825
818
|
],
|
|
826
819
|
"meta": "src/components/card/card.meta.md",
|
|
827
820
|
"registryDependencies": ["cn", "skeleton"],
|
|
828
|
-
"updateStrategy": "frozen"
|
|
829
|
-
|
|
830
|
-
{
|
|
831
|
-
"id": "scroll-area",
|
|
832
|
-
"name": "ScrollArea",
|
|
833
|
-
"type": "component",
|
|
834
|
-
"description": "自定义滚动容器 — Radix ScrollArea(跨浏览器一致的滚动条,触屏友好,自动隐藏 thumb)",
|
|
835
|
-
"files": [
|
|
836
|
-
{
|
|
837
|
-
"source": "src/components/scroll-area/scroll-area.tsx",
|
|
838
|
-
"targetAlias": "components",
|
|
839
|
-
"targetName": "scroll-area.tsx"
|
|
840
|
-
}
|
|
841
|
-
],
|
|
842
|
-
"meta": "src/components/scroll-area/scroll-area.meta.md",
|
|
843
|
-
"registryDependencies": ["cn"],
|
|
844
|
-
"dependencies": {
|
|
845
|
-
"@radix-ui/react-scroll-area": "^1.2.0"
|
|
846
|
-
},
|
|
847
|
-
"updateStrategy": "frozen"
|
|
821
|
+
"updateStrategy": "frozen",
|
|
822
|
+
"category": "data-display"
|
|
848
823
|
},
|
|
849
824
|
{
|
|
850
825
|
"id": "table",
|
|
@@ -860,7 +835,8 @@
|
|
|
860
835
|
],
|
|
861
836
|
"meta": "src/components/table/table.meta.md",
|
|
862
837
|
"registryDependencies": ["cn"],
|
|
863
|
-
"updateStrategy": "frozen"
|
|
838
|
+
"updateStrategy": "frozen",
|
|
839
|
+
"category": "data-display"
|
|
864
840
|
},
|
|
865
841
|
{
|
|
866
842
|
"id": "data-table",
|
|
@@ -879,7 +855,8 @@
|
|
|
879
855
|
"dependencies": {
|
|
880
856
|
"@tanstack/react-table": "^8.0.0"
|
|
881
857
|
},
|
|
882
|
-
"updateStrategy": "frozen"
|
|
858
|
+
"updateStrategy": "frozen",
|
|
859
|
+
"category": "data-display"
|
|
883
860
|
},
|
|
884
861
|
{
|
|
885
862
|
"id": "carousel",
|
|
@@ -899,66 +876,29 @@
|
|
|
899
876
|
"embla-carousel-react": "^8.0.0",
|
|
900
877
|
"lucide-react": "^0.460.0"
|
|
901
878
|
},
|
|
902
|
-
"updateStrategy": "frozen"
|
|
879
|
+
"updateStrategy": "frozen",
|
|
880
|
+
"category": "data-display"
|
|
903
881
|
},
|
|
904
882
|
{
|
|
905
|
-
"id": "
|
|
906
|
-
"name": "
|
|
883
|
+
"id": "resizable",
|
|
884
|
+
"name": "Resizable",
|
|
907
885
|
"type": "component",
|
|
908
|
-
"description": "
|
|
886
|
+
"description": "可拖拽分栏 — react-resizable-panels(VS Code / Figma 风格),横/纵向 + 嵌套 + min/max 限制。等价 antd `Splitter`(v5.21+)",
|
|
909
887
|
"files": [
|
|
910
888
|
{
|
|
911
|
-
"source": "src/components/
|
|
889
|
+
"source": "src/components/resizable/resizable.tsx",
|
|
912
890
|
"targetAlias": "components",
|
|
913
|
-
"targetName": "
|
|
891
|
+
"targetName": "resizable.tsx"
|
|
914
892
|
}
|
|
915
893
|
],
|
|
916
|
-
"meta": "src/components/
|
|
917
|
-
"registryDependencies": ["cn"
|
|
918
|
-
"dependencies": {
|
|
919
|
-
"cmdk": "^1.0.0",
|
|
920
|
-
"lucide-react": "^0.460.0"
|
|
921
|
-
},
|
|
922
|
-
"updateStrategy": "frozen"
|
|
923
|
-
},
|
|
924
|
-
{
|
|
925
|
-
"id": "combobox",
|
|
926
|
-
"name": "Combobox",
|
|
927
|
-
"type": "component",
|
|
928
|
-
"description": "可搜索单选下拉 — Command + Popover 复合,等价 antd AutoComplete / Select showSearch",
|
|
929
|
-
"files": [
|
|
930
|
-
{
|
|
931
|
-
"source": "src/components/combobox/combobox.tsx",
|
|
932
|
-
"targetAlias": "components",
|
|
933
|
-
"targetName": "combobox.tsx"
|
|
934
|
-
}
|
|
935
|
-
],
|
|
936
|
-
"meta": "src/components/combobox/combobox.meta.md",
|
|
937
|
-
"registryDependencies": ["cn", "button", "command", "popover"],
|
|
938
|
-
"dependencies": {
|
|
939
|
-
"lucide-react": "^0.460.0"
|
|
940
|
-
},
|
|
941
|
-
"updateStrategy": "frozen"
|
|
942
|
-
},
|
|
943
|
-
{
|
|
944
|
-
"id": "resizable",
|
|
945
|
-
"name": "Resizable",
|
|
946
|
-
"type": "component",
|
|
947
|
-
"description": "可拖拽分栏 — react-resizable-panels(VS Code / Figma 风格),横/纵向 + 嵌套 + min/max 限制。等价 antd `Splitter`(v5.21+)",
|
|
948
|
-
"files": [
|
|
949
|
-
{
|
|
950
|
-
"source": "src/components/resizable/resizable.tsx",
|
|
951
|
-
"targetAlias": "components",
|
|
952
|
-
"targetName": "resizable.tsx"
|
|
953
|
-
}
|
|
954
|
-
],
|
|
955
|
-
"meta": "src/components/resizable/resizable.meta.md",
|
|
956
|
-
"registryDependencies": ["cn"],
|
|
894
|
+
"meta": "src/components/resizable/resizable.meta.md",
|
|
895
|
+
"registryDependencies": ["cn"],
|
|
957
896
|
"dependencies": {
|
|
958
897
|
"react-resizable-panels": "^2.0.0",
|
|
959
898
|
"lucide-react": "^0.460.0"
|
|
960
899
|
},
|
|
961
|
-
"updateStrategy": "frozen"
|
|
900
|
+
"updateStrategy": "frozen",
|
|
901
|
+
"category": "layout"
|
|
962
902
|
},
|
|
963
903
|
{
|
|
964
904
|
"id": "typography",
|
|
@@ -977,7 +917,8 @@
|
|
|
977
917
|
"dependencies": {
|
|
978
918
|
"lucide-react": "^0.460.0"
|
|
979
919
|
},
|
|
980
|
-
"updateStrategy": "frozen"
|
|
920
|
+
"updateStrategy": "frozen",
|
|
921
|
+
"category": "general"
|
|
981
922
|
},
|
|
982
923
|
{
|
|
983
924
|
"id": "statistic",
|
|
@@ -996,7 +937,8 @@
|
|
|
996
937
|
"dependencies": {
|
|
997
938
|
"lucide-react": "^0.460.0"
|
|
998
939
|
},
|
|
999
|
-
"updateStrategy": "frozen"
|
|
940
|
+
"updateStrategy": "frozen",
|
|
941
|
+
"category": "data-display"
|
|
1000
942
|
},
|
|
1001
943
|
{
|
|
1002
944
|
"id": "steps",
|
|
@@ -1015,7 +957,8 @@
|
|
|
1015
957
|
"dependencies": {
|
|
1016
958
|
"lucide-react": "^0.460.0"
|
|
1017
959
|
},
|
|
1018
|
-
"updateStrategy": "frozen"
|
|
960
|
+
"updateStrategy": "frozen",
|
|
961
|
+
"category": "navigation"
|
|
1019
962
|
},
|
|
1020
963
|
{
|
|
1021
964
|
"id": "result",
|
|
@@ -1034,7 +977,8 @@
|
|
|
1034
977
|
"dependencies": {
|
|
1035
978
|
"lucide-react": "^0.460.0"
|
|
1036
979
|
},
|
|
1037
|
-
"updateStrategy": "frozen"
|
|
980
|
+
"updateStrategy": "frozen",
|
|
981
|
+
"category": "feedback"
|
|
1038
982
|
},
|
|
1039
983
|
{
|
|
1040
984
|
"id": "empty",
|
|
@@ -1053,7 +997,8 @@
|
|
|
1053
997
|
"dependencies": {
|
|
1054
998
|
"lucide-react": "^0.460.0"
|
|
1055
999
|
},
|
|
1056
|
-
"updateStrategy": "frozen"
|
|
1000
|
+
"updateStrategy": "frozen",
|
|
1001
|
+
"category": "data-display"
|
|
1057
1002
|
},
|
|
1058
1003
|
{
|
|
1059
1004
|
"id": "descriptions",
|
|
@@ -1069,13 +1014,14 @@
|
|
|
1069
1014
|
],
|
|
1070
1015
|
"meta": "src/components/descriptions/descriptions.meta.md",
|
|
1071
1016
|
"registryDependencies": ["cn"],
|
|
1072
|
-
"updateStrategy": "frozen"
|
|
1017
|
+
"updateStrategy": "frozen",
|
|
1018
|
+
"category": "data-display"
|
|
1073
1019
|
},
|
|
1074
1020
|
{
|
|
1075
1021
|
"id": "tag",
|
|
1076
1022
|
"name": "Tag",
|
|
1077
1023
|
"type": "component",
|
|
1078
|
-
"description": "标签 — antd
|
|
1024
|
+
"description": "标签 — antd ∪ cloud-design 并集。形态(solid/outline/ghost) × 语义色(ADR 0021,5 档) × 多彩分类(9 预设 + 任意 CSS 值) × size × icon × closable,以及 CheckableTag/Group(与 Badge 互补)",
|
|
1079
1025
|
"files": [
|
|
1080
1026
|
{
|
|
1081
1027
|
"source": "src/components/tag/tag.tsx",
|
|
@@ -1089,26 +1035,8 @@
|
|
|
1089
1035
|
"class-variance-authority": "^0.7.0",
|
|
1090
1036
|
"lucide-react": "^0.460.0"
|
|
1091
1037
|
},
|
|
1092
|
-
"updateStrategy": "frozen"
|
|
1093
|
-
|
|
1094
|
-
{
|
|
1095
|
-
"id": "image",
|
|
1096
|
-
"name": "Image",
|
|
1097
|
-
"type": "component",
|
|
1098
|
-
"description": "图片 — antd 独有补足。自动加载占位 + 失败占位 + 点击预览(Dialog 模态原图)",
|
|
1099
|
-
"files": [
|
|
1100
|
-
{
|
|
1101
|
-
"source": "src/components/image/image.tsx",
|
|
1102
|
-
"targetAlias": "components",
|
|
1103
|
-
"targetName": "image.tsx"
|
|
1104
|
-
}
|
|
1105
|
-
],
|
|
1106
|
-
"meta": "src/components/image/image.meta.md",
|
|
1107
|
-
"registryDependencies": ["cn", "dialog", "skeleton"],
|
|
1108
|
-
"dependencies": {
|
|
1109
|
-
"lucide-react": "^0.460.0"
|
|
1110
|
-
},
|
|
1111
|
-
"updateStrategy": "frozen"
|
|
1038
|
+
"updateStrategy": "frozen",
|
|
1039
|
+
"category": "data-display"
|
|
1112
1040
|
},
|
|
1113
1041
|
{
|
|
1114
1042
|
"id": "upload",
|
|
@@ -1127,7 +1055,8 @@
|
|
|
1127
1055
|
"dependencies": {
|
|
1128
1056
|
"lucide-react": "^0.460.0"
|
|
1129
1057
|
},
|
|
1130
|
-
"updateStrategy": "frozen"
|
|
1058
|
+
"updateStrategy": "frozen",
|
|
1059
|
+
"category": "data-entry"
|
|
1131
1060
|
},
|
|
1132
1061
|
{
|
|
1133
1062
|
"id": "tree",
|
|
@@ -1146,23 +1075,8 @@
|
|
|
1146
1075
|
"dependencies": {
|
|
1147
1076
|
"lucide-react": "^0.460.0"
|
|
1148
1077
|
},
|
|
1149
|
-
"updateStrategy": "frozen"
|
|
1150
|
-
|
|
1151
|
-
{
|
|
1152
|
-
"id": "mentions",
|
|
1153
|
-
"name": "Mentions",
|
|
1154
|
-
"type": "component",
|
|
1155
|
-
"description": "@提及输入 — antd 独有补足。Textarea + @ 触发候选下拉(评论 @ 同事 / # 话题),键盘 ↑↓ 切换 + Enter/Tab 选中 + Esc 关闭,异步候选用 onSearch 刷新 options",
|
|
1156
|
-
"files": [
|
|
1157
|
-
{
|
|
1158
|
-
"source": "src/components/mentions/mentions.tsx",
|
|
1159
|
-
"targetAlias": "components",
|
|
1160
|
-
"targetName": "mentions.tsx"
|
|
1161
|
-
}
|
|
1162
|
-
],
|
|
1163
|
-
"meta": "src/components/mentions/mentions.meta.md",
|
|
1164
|
-
"registryDependencies": ["cn", "textarea"],
|
|
1165
|
-
"updateStrategy": "frozen"
|
|
1078
|
+
"updateStrategy": "frozen",
|
|
1079
|
+
"category": "data-display"
|
|
1166
1080
|
},
|
|
1167
1081
|
{
|
|
1168
1082
|
"id": "transfer",
|
|
@@ -1181,13 +1095,14 @@
|
|
|
1181
1095
|
"dependencies": {
|
|
1182
1096
|
"lucide-react": "^0.460.0"
|
|
1183
1097
|
},
|
|
1184
|
-
"updateStrategy": "frozen"
|
|
1098
|
+
"updateStrategy": "frozen",
|
|
1099
|
+
"category": "data-entry"
|
|
1185
1100
|
},
|
|
1186
1101
|
{
|
|
1187
1102
|
"id": "spinner",
|
|
1188
1103
|
"name": "Spinner",
|
|
1189
1104
|
"type": "component",
|
|
1190
|
-
"description": "
|
|
1105
|
+
"description": "加载指示器 — shadcn 2025-10 新增,等价 antd `Spin` 并集。核心 `Spinner` 是行内 / 局部旋转指示(4 档尺寸 + 4 档语义配色,自带 role=status 与 sr-only 读屏文本);配套 `SpinnerOverlay` 实现包裹子元遮罩形态(可选 tip / blur)。",
|
|
1191
1106
|
"files": [
|
|
1192
1107
|
{
|
|
1193
1108
|
"source": "src/components/spinner/spinner.tsx",
|
|
@@ -1201,80 +1116,30 @@
|
|
|
1201
1116
|
"class-variance-authority": "^0.7.0",
|
|
1202
1117
|
"lucide-react": "^0.460.0"
|
|
1203
1118
|
},
|
|
1204
|
-
"updateStrategy": "frozen"
|
|
1205
|
-
|
|
1206
|
-
{
|
|
1207
|
-
"id": "kbd",
|
|
1208
|
-
"name": "Kbd",
|
|
1209
|
-
"type": "component",
|
|
1210
|
-
"description": "键位展示 — shadcn 2025-10 新增。语义化 `<kbd>` 元素 + `KbdGroup` 组合容器,用于标注快捷键(⌘K / Ctrl + Enter)",
|
|
1211
|
-
"files": [
|
|
1212
|
-
{
|
|
1213
|
-
"source": "src/components/kbd/kbd.tsx",
|
|
1214
|
-
"targetAlias": "components",
|
|
1215
|
-
"targetName": "kbd.tsx"
|
|
1216
|
-
}
|
|
1217
|
-
],
|
|
1218
|
-
"meta": "src/components/kbd/kbd.meta.md",
|
|
1219
|
-
"registryDependencies": ["cn"],
|
|
1220
|
-
"dependencies": {
|
|
1221
|
-
"class-variance-authority": "^0.7.0"
|
|
1222
|
-
},
|
|
1223
|
-
"updateStrategy": "frozen"
|
|
1119
|
+
"updateStrategy": "frozen",
|
|
1120
|
+
"category": "feedback"
|
|
1224
1121
|
},
|
|
1225
1122
|
{
|
|
1226
|
-
"id": "
|
|
1227
|
-
"name": "
|
|
1123
|
+
"id": "icon",
|
|
1124
|
+
"name": "Icon",
|
|
1228
1125
|
"type": "component",
|
|
1229
|
-
"description": "
|
|
1126
|
+
"description": "图标容器 — 基于 lucide-react 的统一封装。5 档尺寸 + 6 档语义 color + spin/rotate + Slot + 背景容器(circle/square × 5 档 bgColor) + 装饰/非装饰无障碍。承接 cloud-design Icon 的 iconBackgroundType/Color 能力,iconfont 工厂 v0.2 接入但 API 已稳定",
|
|
1230
1127
|
"files": [
|
|
1231
1128
|
{
|
|
1232
|
-
"source": "src/components/
|
|
1129
|
+
"source": "src/components/icon/icon.tsx",
|
|
1233
1130
|
"targetAlias": "components",
|
|
1234
|
-
"targetName": "
|
|
1131
|
+
"targetName": "icon.tsx"
|
|
1235
1132
|
}
|
|
1236
1133
|
],
|
|
1237
|
-
"meta": "src/components/
|
|
1134
|
+
"meta": "src/components/icon/icon.meta.md",
|
|
1238
1135
|
"registryDependencies": ["cn"],
|
|
1239
1136
|
"dependencies": {
|
|
1137
|
+
"@radix-ui/react-slot": "^1.1.0",
|
|
1138
|
+
"class-variance-authority": "^0.7.0",
|
|
1240
1139
|
"lucide-react": "^0.460.0"
|
|
1241
1140
|
},
|
|
1242
|
-
"updateStrategy": "frozen"
|
|
1243
|
-
|
|
1244
|
-
{
|
|
1245
|
-
"id": "button-group",
|
|
1246
|
-
"name": "ButtonGroup",
|
|
1247
|
-
"type": "component",
|
|
1248
|
-
"description": "按钮组 — shadcn 2025-10 新增,等价 antd `Space.Compact`(v6 替代旧 Button.Group)。把多个按钮 / 输入框粘在一起共享边线(Split Button / Toolbar / Input + Button 拼装)",
|
|
1249
|
-
"files": [
|
|
1250
|
-
{
|
|
1251
|
-
"source": "src/components/button-group/button-group.tsx",
|
|
1252
|
-
"targetAlias": "components",
|
|
1253
|
-
"targetName": "button-group.tsx"
|
|
1254
|
-
}
|
|
1255
|
-
],
|
|
1256
|
-
"meta": "src/components/button-group/button-group.meta.md",
|
|
1257
|
-
"registryDependencies": ["cn"],
|
|
1258
|
-
"dependencies": {
|
|
1259
|
-
"class-variance-authority": "^0.7.0"
|
|
1260
|
-
},
|
|
1261
|
-
"updateStrategy": "frozen"
|
|
1262
|
-
},
|
|
1263
|
-
{
|
|
1264
|
-
"id": "input-group",
|
|
1265
|
-
"name": "InputGroup",
|
|
1266
|
-
"type": "component",
|
|
1267
|
-
"description": "输入框 + addon 统一容器 — shadcn 2025-10 新增。复合插槽 InputGroupAddon(图标 / 文本 / 按钮)+ InputGroupInput / InputGroupTextarea,等价 antd Input 的 prefix/suffix/addonBefore/addonAfter 集合",
|
|
1268
|
-
"files": [
|
|
1269
|
-
{
|
|
1270
|
-
"source": "src/components/input-group/input-group.tsx",
|
|
1271
|
-
"targetAlias": "components",
|
|
1272
|
-
"targetName": "input-group.tsx"
|
|
1273
|
-
}
|
|
1274
|
-
],
|
|
1275
|
-
"meta": "src/components/input-group/input-group.meta.md",
|
|
1276
|
-
"registryDependencies": ["cn"],
|
|
1277
|
-
"updateStrategy": "frozen"
|
|
1141
|
+
"updateStrategy": "frozen",
|
|
1142
|
+
"category": "general"
|
|
1278
1143
|
},
|
|
1279
1144
|
{
|
|
1280
1145
|
"id": "item",
|
|
@@ -1293,7 +1158,8 @@
|
|
|
1293
1158
|
"dependencies": {
|
|
1294
1159
|
"class-variance-authority": "^0.7.0"
|
|
1295
1160
|
},
|
|
1296
|
-
"updateStrategy": "frozen"
|
|
1161
|
+
"updateStrategy": "frozen",
|
|
1162
|
+
"category": "data-display"
|
|
1297
1163
|
},
|
|
1298
1164
|
{
|
|
1299
1165
|
"id": "field",
|
|
@@ -1308,36 +1174,18 @@
|
|
|
1308
1174
|
}
|
|
1309
1175
|
],
|
|
1310
1176
|
"meta": "src/components/field/field.meta.md",
|
|
1311
|
-
"registryDependencies": ["cn", "label"],
|
|
1312
|
-
"dependencies": {
|
|
1313
|
-
"class-variance-authority": "^0.7.0"
|
|
1314
|
-
},
|
|
1315
|
-
"updateStrategy": "frozen"
|
|
1316
|
-
},
|
|
1317
|
-
{
|
|
1318
|
-
"id": "space",
|
|
1319
|
-
"name": "Space",
|
|
1320
|
-
"type": "component",
|
|
1321
|
-
"description": "间距容器 — antd 独有补足。等价 antd `Space`,把同语义并排子项统一间距 / 对齐 / 换行,可选 split(常用 Separator)。与 Flex 互补:Space 偏 inline 小集合",
|
|
1322
|
-
"files": [
|
|
1323
|
-
{
|
|
1324
|
-
"source": "src/components/space/space.tsx",
|
|
1325
|
-
"targetAlias": "components",
|
|
1326
|
-
"targetName": "space.tsx"
|
|
1327
|
-
}
|
|
1328
|
-
],
|
|
1329
|
-
"meta": "src/components/space/space.meta.md",
|
|
1330
|
-
"registryDependencies": ["cn"],
|
|
1177
|
+
"registryDependencies": ["cn", "label", "use-breakpoint"],
|
|
1331
1178
|
"dependencies": {
|
|
1332
1179
|
"class-variance-authority": "^0.7.0"
|
|
1333
1180
|
},
|
|
1334
|
-
"updateStrategy": "frozen"
|
|
1181
|
+
"updateStrategy": "frozen",
|
|
1182
|
+
"category": "data-entry"
|
|
1335
1183
|
},
|
|
1336
1184
|
{
|
|
1337
1185
|
"id": "flex",
|
|
1338
1186
|
"name": "Flex",
|
|
1339
1187
|
"type": "component",
|
|
1340
|
-
"description": "Flex
|
|
1188
|
+
"description": "Flex 弹性布局 — antd 独有补足。等价 antd `Flex`(v5.10+) ∪ antd `Space`——一个原子覆盖完整布局容器与 inline 小集合两类场景。支持 direction / gap / align / justify / wrap / inline / as / split",
|
|
1341
1189
|
"files": [
|
|
1342
1190
|
{
|
|
1343
1191
|
"source": "src/components/flex/flex.tsx",
|
|
@@ -1347,7 +1195,8 @@
|
|
|
1347
1195
|
],
|
|
1348
1196
|
"meta": "src/components/flex/flex.meta.md",
|
|
1349
1197
|
"registryDependencies": ["cn"],
|
|
1350
|
-
"updateStrategy": "frozen"
|
|
1198
|
+
"updateStrategy": "frozen",
|
|
1199
|
+
"category": "layout"
|
|
1351
1200
|
},
|
|
1352
1201
|
{
|
|
1353
1202
|
"id": "grid",
|
|
@@ -1363,26 +1212,8 @@
|
|
|
1363
1212
|
],
|
|
1364
1213
|
"meta": "src/components/grid/grid.meta.md",
|
|
1365
1214
|
"registryDependencies": ["cn"],
|
|
1366
|
-
"updateStrategy": "frozen"
|
|
1367
|
-
|
|
1368
|
-
{
|
|
1369
|
-
"id": "segmented",
|
|
1370
|
-
"name": "Segmented",
|
|
1371
|
-
"type": "component",
|
|
1372
|
-
"description": "分段控制器 — antd 独有补足。等价 antd `Segmented`(v5.0+),iOS / macOS 风格紧凑互斥单选(视图切换 / 时间区间 / 主题档)",
|
|
1373
|
-
"files": [
|
|
1374
|
-
{
|
|
1375
|
-
"source": "src/components/segmented/segmented.tsx",
|
|
1376
|
-
"targetAlias": "components",
|
|
1377
|
-
"targetName": "segmented.tsx"
|
|
1378
|
-
}
|
|
1379
|
-
],
|
|
1380
|
-
"meta": "src/components/segmented/segmented.meta.md",
|
|
1381
|
-
"registryDependencies": ["cn"],
|
|
1382
|
-
"dependencies": {
|
|
1383
|
-
"class-variance-authority": "^0.7.0"
|
|
1384
|
-
},
|
|
1385
|
-
"updateStrategy": "frozen"
|
|
1215
|
+
"updateStrategy": "frozen",
|
|
1216
|
+
"category": "layout"
|
|
1386
1217
|
},
|
|
1387
1218
|
{
|
|
1388
1219
|
"id": "rate",
|
|
@@ -1401,7 +1232,8 @@
|
|
|
1401
1232
|
"dependencies": {
|
|
1402
1233
|
"lucide-react": "^0.460.0"
|
|
1403
1234
|
},
|
|
1404
|
-
"updateStrategy": "frozen"
|
|
1235
|
+
"updateStrategy": "frozen",
|
|
1236
|
+
"category": "data-entry"
|
|
1405
1237
|
},
|
|
1406
1238
|
{
|
|
1407
1239
|
"id": "timeline",
|
|
@@ -1417,7 +1249,8 @@
|
|
|
1417
1249
|
],
|
|
1418
1250
|
"meta": "src/components/timeline/timeline.meta.md",
|
|
1419
1251
|
"registryDependencies": ["cn"],
|
|
1420
|
-
"updateStrategy": "frozen"
|
|
1252
|
+
"updateStrategy": "frozen",
|
|
1253
|
+
"category": "data-display"
|
|
1421
1254
|
},
|
|
1422
1255
|
{
|
|
1423
1256
|
"id": "popconfirm",
|
|
@@ -1436,7 +1269,8 @@
|
|
|
1436
1269
|
"dependencies": {
|
|
1437
1270
|
"lucide-react": "^0.460.0"
|
|
1438
1271
|
},
|
|
1439
|
-
"updateStrategy": "frozen"
|
|
1272
|
+
"updateStrategy": "frozen",
|
|
1273
|
+
"category": "feedback"
|
|
1440
1274
|
},
|
|
1441
1275
|
{
|
|
1442
1276
|
"id": "input-number",
|
|
@@ -1455,13 +1289,14 @@
|
|
|
1455
1289
|
"dependencies": {
|
|
1456
1290
|
"lucide-react": "^0.460.0"
|
|
1457
1291
|
},
|
|
1458
|
-
"updateStrategy": "frozen"
|
|
1292
|
+
"updateStrategy": "frozen",
|
|
1293
|
+
"category": "data-entry"
|
|
1459
1294
|
},
|
|
1460
1295
|
{
|
|
1461
1296
|
"id": "time-picker",
|
|
1462
1297
|
"name": "TimePicker",
|
|
1463
1298
|
"type": "component",
|
|
1464
|
-
"description": "时间选择 —
|
|
1299
|
+
"description": "时间选择 — Popover + 滚动列(TimeColumn)面板,含 TimePicker / TimeRangePicker / TimePickerPanel(对齐 antd TimePicker / TimePicker.RangePicker)",
|
|
1465
1300
|
"files": [
|
|
1466
1301
|
{
|
|
1467
1302
|
"source": "src/components/time-picker/time-picker.tsx",
|
|
@@ -1470,11 +1305,12 @@
|
|
|
1470
1305
|
}
|
|
1471
1306
|
],
|
|
1472
1307
|
"meta": "src/components/time-picker/time-picker.meta.md",
|
|
1473
|
-
"registryDependencies": ["cn"],
|
|
1308
|
+
"registryDependencies": ["cn", "popover", "button"],
|
|
1474
1309
|
"dependencies": {
|
|
1475
1310
|
"lucide-react": "^0.460.0"
|
|
1476
1311
|
},
|
|
1477
|
-
"updateStrategy": "frozen"
|
|
1312
|
+
"updateStrategy": "frozen",
|
|
1313
|
+
"category": "data-entry"
|
|
1478
1314
|
},
|
|
1479
1315
|
{
|
|
1480
1316
|
"id": "auto-complete",
|
|
@@ -1489,8 +1325,9 @@
|
|
|
1489
1325
|
}
|
|
1490
1326
|
],
|
|
1491
1327
|
"meta": "src/components/auto-complete/auto-complete.meta.md",
|
|
1492
|
-
"registryDependencies": ["cn", "input"],
|
|
1493
|
-
"updateStrategy": "frozen"
|
|
1328
|
+
"registryDependencies": ["cn", "input", "popover", "command"],
|
|
1329
|
+
"updateStrategy": "frozen",
|
|
1330
|
+
"category": "data-entry"
|
|
1494
1331
|
},
|
|
1495
1332
|
{
|
|
1496
1333
|
"id": "cascader",
|
|
@@ -1509,7 +1346,8 @@
|
|
|
1509
1346
|
"dependencies": {
|
|
1510
1347
|
"lucide-react": "^0.460.0"
|
|
1511
1348
|
},
|
|
1512
|
-
"updateStrategy": "frozen"
|
|
1349
|
+
"updateStrategy": "frozen",
|
|
1350
|
+
"category": "data-entry"
|
|
1513
1351
|
},
|
|
1514
1352
|
{
|
|
1515
1353
|
"id": "tree-select",
|
|
@@ -1528,7 +1366,8 @@
|
|
|
1528
1366
|
"dependencies": {
|
|
1529
1367
|
"lucide-react": "^0.460.0"
|
|
1530
1368
|
},
|
|
1531
|
-
"updateStrategy": "frozen"
|
|
1369
|
+
"updateStrategy": "frozen",
|
|
1370
|
+
"category": "data-entry"
|
|
1532
1371
|
},
|
|
1533
1372
|
{
|
|
1534
1373
|
"id": "notification",
|
|
@@ -1548,23 +1387,8 @@
|
|
|
1548
1387
|
"sonner": "^1.5.0",
|
|
1549
1388
|
"lucide-react": "^0.460.0"
|
|
1550
1389
|
},
|
|
1551
|
-
"updateStrategy": "frozen"
|
|
1552
|
-
|
|
1553
|
-
{
|
|
1554
|
-
"id": "app",
|
|
1555
|
-
"name": "App",
|
|
1556
|
-
"type": "component",
|
|
1557
|
-
"description": "应用根容器 — antd 独有补足。对标 antd `App`,挂全局 Toaster + 设置 dir / lang + 根级 className 承载;不接管主题(主题靠 design tokens),不收敛 useApp() hook",
|
|
1558
|
-
"files": [
|
|
1559
|
-
{
|
|
1560
|
-
"source": "src/components/app/app.tsx",
|
|
1561
|
-
"targetAlias": "components",
|
|
1562
|
-
"targetName": "app.tsx"
|
|
1563
|
-
}
|
|
1564
|
-
],
|
|
1565
|
-
"meta": "src/components/app/app.meta.md",
|
|
1566
|
-
"registryDependencies": ["cn", "sonner"],
|
|
1567
|
-
"updateStrategy": "frozen"
|
|
1390
|
+
"updateStrategy": "frozen",
|
|
1391
|
+
"category": "feedback"
|
|
1568
1392
|
},
|
|
1569
1393
|
{
|
|
1570
1394
|
"id": "affix",
|
|
@@ -1580,94 +1404,457 @@
|
|
|
1580
1404
|
],
|
|
1581
1405
|
"meta": "src/components/affix/affix.meta.md",
|
|
1582
1406
|
"registryDependencies": ["cn"],
|
|
1583
|
-
"updateStrategy": "frozen"
|
|
1407
|
+
"updateStrategy": "frozen",
|
|
1408
|
+
"category": "navigation"
|
|
1584
1409
|
},
|
|
1585
1410
|
{
|
|
1586
|
-
"id": "
|
|
1587
|
-
"name": "
|
|
1411
|
+
"id": "color-picker",
|
|
1412
|
+
"name": "ColorPicker",
|
|
1588
1413
|
"type": "component",
|
|
1589
|
-
"description": "
|
|
1414
|
+
"description": "颜色选择 — antd 独有补足。等价 antd `ColorPicker`(v5.5+),触发器色块 + Popover 面板(原生 color input + alpha 滑块 + hex 输入 + 预设色板),支持 8 位 hex(含透明度)",
|
|
1590
1415
|
"files": [
|
|
1591
1416
|
{
|
|
1592
|
-
"source": "src/components/
|
|
1417
|
+
"source": "src/components/color-picker/color-picker.tsx",
|
|
1593
1418
|
"targetAlias": "components",
|
|
1594
|
-
"targetName": "
|
|
1419
|
+
"targetName": "color-picker.tsx"
|
|
1595
1420
|
}
|
|
1596
1421
|
],
|
|
1597
|
-
"meta": "src/components/
|
|
1598
|
-
"registryDependencies": ["cn"],
|
|
1599
|
-
"updateStrategy": "frozen"
|
|
1422
|
+
"meta": "src/components/color-picker/color-picker.meta.md",
|
|
1423
|
+
"registryDependencies": ["cn", "input", "popover"],
|
|
1424
|
+
"updateStrategy": "frozen",
|
|
1425
|
+
"category": "data-entry"
|
|
1600
1426
|
},
|
|
1601
1427
|
{
|
|
1602
|
-
"id": "
|
|
1603
|
-
"name": "
|
|
1428
|
+
"id": "watermark",
|
|
1429
|
+
"name": "Watermark",
|
|
1604
1430
|
"type": "component",
|
|
1605
|
-
"description": "
|
|
1431
|
+
"description": "水印 — antd 独有补足。等价 antd `Watermark`(v5.1+),容器内重复平铺的 SVG 文字 / 图片水印(内部敏感页面 / 文档预览 / demo 录屏)。仅前端视觉,不作安全防护",
|
|
1606
1432
|
"files": [
|
|
1607
1433
|
{
|
|
1608
|
-
"source": "src/components/
|
|
1434
|
+
"source": "src/components/watermark/watermark.tsx",
|
|
1609
1435
|
"targetAlias": "components",
|
|
1610
|
-
"targetName": "
|
|
1436
|
+
"targetName": "watermark.tsx"
|
|
1611
1437
|
}
|
|
1612
1438
|
],
|
|
1613
|
-
"meta": "src/components/
|
|
1439
|
+
"meta": "src/components/watermark/watermark.meta.md",
|
|
1614
1440
|
"registryDependencies": ["cn"],
|
|
1615
|
-
"
|
|
1616
|
-
|
|
1617
|
-
},
|
|
1618
|
-
"updateStrategy": "frozen"
|
|
1441
|
+
"updateStrategy": "frozen",
|
|
1442
|
+
"category": "feedback"
|
|
1619
1443
|
},
|
|
1620
1444
|
{
|
|
1621
|
-
"id": "
|
|
1622
|
-
"name": "
|
|
1445
|
+
"id": "ellipsis",
|
|
1446
|
+
"name": "Ellipsis",
|
|
1623
1447
|
"type": "component",
|
|
1624
|
-
"description": "
|
|
1448
|
+
"description": "单行/多行文本截断 + 渐变遮罩 + 溢出时自动 hover tooltip — 对齐《Teamix UI 表单设计规范》§八 '截断 + 渐变遮罩 + hover tooltip 三件套'",
|
|
1625
1449
|
"files": [
|
|
1626
1450
|
{
|
|
1627
|
-
"source": "src/components/
|
|
1451
|
+
"source": "src/components/ellipsis/ellipsis.tsx",
|
|
1628
1452
|
"targetAlias": "components",
|
|
1629
|
-
"targetName": "
|
|
1453
|
+
"targetName": "ellipsis.tsx"
|
|
1630
1454
|
}
|
|
1631
1455
|
],
|
|
1632
|
-
"meta": "src/components/
|
|
1633
|
-
"registryDependencies": ["cn", "
|
|
1634
|
-
"updateStrategy": "frozen"
|
|
1456
|
+
"meta": "src/components/ellipsis/ellipsis.meta.md",
|
|
1457
|
+
"registryDependencies": ["cn", "tooltip"],
|
|
1458
|
+
"updateStrategy": "frozen",
|
|
1459
|
+
"category": "data-display"
|
|
1635
1460
|
},
|
|
1636
1461
|
{
|
|
1637
|
-
"id": "
|
|
1638
|
-
"name": "
|
|
1639
|
-
"type": "
|
|
1640
|
-
"description": "
|
|
1462
|
+
"id": "use-debounce-callback",
|
|
1463
|
+
"name": "useDebounceCallback",
|
|
1464
|
+
"type": "hook",
|
|
1465
|
+
"description": "防抖回调 hook — 返回一个防抖包装后的函数,在指定 delay 毫秒内连续调用只执行最后一次",
|
|
1641
1466
|
"files": [
|
|
1642
1467
|
{
|
|
1643
|
-
"source": "src/
|
|
1644
|
-
"targetAlias": "
|
|
1645
|
-
"targetName": "
|
|
1468
|
+
"source": "src/hooks/use-debounce-callback.ts",
|
|
1469
|
+
"targetAlias": "hooks",
|
|
1470
|
+
"targetName": "use-debounce-callback.ts"
|
|
1646
1471
|
}
|
|
1647
1472
|
],
|
|
1648
|
-
"meta": "src/components/tour/tour.meta.md",
|
|
1649
|
-
"registryDependencies": ["cn", "button"],
|
|
1650
|
-
"dependencies": {
|
|
1651
|
-
"lucide-react": "^0.460.0"
|
|
1652
|
-
},
|
|
1653
1473
|
"updateStrategy": "frozen"
|
|
1654
1474
|
},
|
|
1655
1475
|
{
|
|
1656
|
-
"id": "
|
|
1657
|
-
"name": "
|
|
1658
|
-
"type": "
|
|
1659
|
-
"description": "
|
|
1476
|
+
"id": "use-breakpoint",
|
|
1477
|
+
"name": "useBreakpoint",
|
|
1478
|
+
"type": "hook",
|
|
1479
|
+
"description": "响应式断点 hook + pickByBreakpoint 工具 — 5 档断点(432/672/944/1200/1600,对齐《Teamix UI 表单设计规范》§4.1),给 Field 响应式 orientation / FilterBarPanel 响应式列数共用",
|
|
1660
1480
|
"files": [
|
|
1661
1481
|
{
|
|
1662
|
-
"source": "src/
|
|
1663
|
-
"targetAlias": "
|
|
1664
|
-
"targetName": "
|
|
1482
|
+
"source": "src/hooks/use-breakpoint.ts",
|
|
1483
|
+
"targetAlias": "hooks",
|
|
1484
|
+
"targetName": "use-breakpoint.ts"
|
|
1665
1485
|
}
|
|
1666
1486
|
],
|
|
1667
|
-
"meta": "src/components/watermark/watermark.meta.md",
|
|
1668
|
-
"registryDependencies": ["cn"],
|
|
1669
1487
|
"updateStrategy": "frozen"
|
|
1670
1488
|
},
|
|
1489
|
+
{
|
|
1490
|
+
"id": "filter-bar",
|
|
1491
|
+
"name": "FilterBar",
|
|
1492
|
+
"type": "component",
|
|
1493
|
+
"description": "筛选栏 — 面向 Table/List 的筛选表单变体,支持行内实时筛选 + 可折叠高级面板栅格。混合式架构:复合子组件(FilterBar/FilterBarSearch/FilterBarTrigger/FilterBarPanel/FilterBarActions) + FilterBarPreset 开箱即用",
|
|
1494
|
+
"files": [
|
|
1495
|
+
{
|
|
1496
|
+
"source": "src/components/filter-bar/filter-bar.tsx",
|
|
1497
|
+
"targetAlias": "components",
|
|
1498
|
+
"targetName": "filter-bar.tsx"
|
|
1499
|
+
}
|
|
1500
|
+
],
|
|
1501
|
+
"meta": "src/components/filter-bar/filter-bar.meta.md",
|
|
1502
|
+
"registryDependencies": [
|
|
1503
|
+
"cn",
|
|
1504
|
+
"button",
|
|
1505
|
+
"form",
|
|
1506
|
+
"grid",
|
|
1507
|
+
"collapsible",
|
|
1508
|
+
"use-debounce-callback",
|
|
1509
|
+
"use-breakpoint"
|
|
1510
|
+
],
|
|
1511
|
+
"dependencies": {
|
|
1512
|
+
"lucide-react": "^0.460.0",
|
|
1513
|
+
"class-variance-authority": "^0.7.0",
|
|
1514
|
+
"@radix-ui/react-collapsible": "^1.1.0"
|
|
1515
|
+
},
|
|
1516
|
+
"updateStrategy": "frozen",
|
|
1517
|
+
"category": "data-entry"
|
|
1518
|
+
}
|
|
1519
|
+
],
|
|
1520
|
+
"deprecatedEntries": [
|
|
1521
|
+
{
|
|
1522
|
+
"id": "aspect-ratio",
|
|
1523
|
+
"name": "AspectRatio",
|
|
1524
|
+
"type": "component",
|
|
1525
|
+
"description": "容器保持宽高比 — Radix AspectRatio,无 layout shift",
|
|
1526
|
+
"files": [
|
|
1527
|
+
{
|
|
1528
|
+
"source": "src/components/aspect-ratio/aspect-ratio.tsx",
|
|
1529
|
+
"targetAlias": "components",
|
|
1530
|
+
"targetName": "aspect-ratio.tsx"
|
|
1531
|
+
}
|
|
1532
|
+
],
|
|
1533
|
+
"meta": "src/components/aspect-ratio/aspect-ratio.meta.md",
|
|
1534
|
+
"dependencies": {
|
|
1535
|
+
"@radix-ui/react-aspect-ratio": "^1.1.0"
|
|
1536
|
+
},
|
|
1537
|
+
"updateStrategy": "frozen",
|
|
1538
|
+
"category": "deprecated"
|
|
1539
|
+
},
|
|
1540
|
+
{
|
|
1541
|
+
"id": "toggle",
|
|
1542
|
+
"name": "Toggle",
|
|
1543
|
+
"type": "component",
|
|
1544
|
+
"description": "二元状态按钮 — Radix Toggle 包装,工具栏图标级开关",
|
|
1545
|
+
"files": [
|
|
1546
|
+
{
|
|
1547
|
+
"source": "src/components/toggle/toggle.tsx",
|
|
1548
|
+
"targetAlias": "components",
|
|
1549
|
+
"targetName": "toggle.tsx"
|
|
1550
|
+
}
|
|
1551
|
+
],
|
|
1552
|
+
"meta": "src/components/toggle/toggle.meta.md",
|
|
1553
|
+
"registryDependencies": ["cn"],
|
|
1554
|
+
"dependencies": {
|
|
1555
|
+
"@radix-ui/react-toggle": "^1.1.0",
|
|
1556
|
+
"class-variance-authority": "^0.7.0"
|
|
1557
|
+
},
|
|
1558
|
+
"updateStrategy": "frozen",
|
|
1559
|
+
"category": "deprecated"
|
|
1560
|
+
},
|
|
1561
|
+
{
|
|
1562
|
+
"id": "toggle-group",
|
|
1563
|
+
"name": "ToggleGroup",
|
|
1564
|
+
"type": "component",
|
|
1565
|
+
"description": "切换按钮组 — Radix ToggleGroup,type=single|multiple,复用 Toggle variant/size",
|
|
1566
|
+
"files": [
|
|
1567
|
+
{
|
|
1568
|
+
"source": "src/components/toggle-group/toggle-group.tsx",
|
|
1569
|
+
"targetAlias": "components",
|
|
1570
|
+
"targetName": "toggle-group.tsx"
|
|
1571
|
+
}
|
|
1572
|
+
],
|
|
1573
|
+
"meta": "src/components/toggle-group/toggle-group.meta.md",
|
|
1574
|
+
"registryDependencies": ["cn", "toggle"],
|
|
1575
|
+
"dependencies": {
|
|
1576
|
+
"@radix-ui/react-toggle-group": "^1.1.0",
|
|
1577
|
+
"class-variance-authority": "^0.7.0"
|
|
1578
|
+
},
|
|
1579
|
+
"updateStrategy": "frozen",
|
|
1580
|
+
"category": "deprecated"
|
|
1581
|
+
},
|
|
1582
|
+
{
|
|
1583
|
+
"id": "input-otp",
|
|
1584
|
+
"name": "InputOTP",
|
|
1585
|
+
"type": "component",
|
|
1586
|
+
"description": "OTP 验证码输入 — 基于 input-otp,shadcn-only(短验证码场景:登录、二步验证、PIN)",
|
|
1587
|
+
"files": [
|
|
1588
|
+
{
|
|
1589
|
+
"source": "src/components/input-otp/input-otp.tsx",
|
|
1590
|
+
"targetAlias": "components",
|
|
1591
|
+
"targetName": "input-otp.tsx"
|
|
1592
|
+
}
|
|
1593
|
+
],
|
|
1594
|
+
"meta": "src/components/input-otp/input-otp.meta.md",
|
|
1595
|
+
"registryDependencies": ["cn"],
|
|
1596
|
+
"dependencies": {
|
|
1597
|
+
"input-otp": "^1.2.0",
|
|
1598
|
+
"lucide-react": "^0.460.0"
|
|
1599
|
+
},
|
|
1600
|
+
"updateStrategy": "frozen",
|
|
1601
|
+
"category": "deprecated"
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
"id": "context-menu",
|
|
1605
|
+
"name": "ContextMenu",
|
|
1606
|
+
"type": "component",
|
|
1607
|
+
"description": "右键菜单 — Radix ContextMenu(与 DropdownMenu 形态一致,触发为右键)",
|
|
1608
|
+
"files": [
|
|
1609
|
+
{
|
|
1610
|
+
"source": "src/components/context-menu/context-menu.tsx",
|
|
1611
|
+
"targetAlias": "components",
|
|
1612
|
+
"targetName": "context-menu.tsx"
|
|
1613
|
+
}
|
|
1614
|
+
],
|
|
1615
|
+
"meta": "src/components/context-menu/context-menu.meta.md",
|
|
1616
|
+
"registryDependencies": ["cn"],
|
|
1617
|
+
"dependencies": {
|
|
1618
|
+
"@radix-ui/react-context-menu": "^2.2.0",
|
|
1619
|
+
"lucide-react": "^0.460.0"
|
|
1620
|
+
},
|
|
1621
|
+
"updateStrategy": "frozen",
|
|
1622
|
+
"category": "deprecated"
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
"id": "menubar",
|
|
1626
|
+
"name": "Menubar",
|
|
1627
|
+
"type": "component",
|
|
1628
|
+
"description": "应用顶部菜单栏 — Radix Menubar(macOS 风格:文件/编辑/视图/帮助)",
|
|
1629
|
+
"files": [
|
|
1630
|
+
{
|
|
1631
|
+
"source": "src/components/menubar/menubar.tsx",
|
|
1632
|
+
"targetAlias": "components",
|
|
1633
|
+
"targetName": "menubar.tsx"
|
|
1634
|
+
}
|
|
1635
|
+
],
|
|
1636
|
+
"meta": "src/components/menubar/menubar.meta.md",
|
|
1637
|
+
"registryDependencies": ["cn"],
|
|
1638
|
+
"dependencies": {
|
|
1639
|
+
"@radix-ui/react-menubar": "^1.1.0",
|
|
1640
|
+
"lucide-react": "^0.460.0"
|
|
1641
|
+
},
|
|
1642
|
+
"updateStrategy": "frozen",
|
|
1643
|
+
"category": "deprecated"
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
"id": "navigation-menu",
|
|
1647
|
+
"name": "NavigationMenu",
|
|
1648
|
+
"type": "component",
|
|
1649
|
+
"description": "网站主导航 — Radix NavigationMenu(支持富 Content 面板)",
|
|
1650
|
+
"files": [
|
|
1651
|
+
{
|
|
1652
|
+
"source": "src/components/navigation-menu/navigation-menu.tsx",
|
|
1653
|
+
"targetAlias": "components",
|
|
1654
|
+
"targetName": "navigation-menu.tsx"
|
|
1655
|
+
}
|
|
1656
|
+
],
|
|
1657
|
+
"meta": "src/components/navigation-menu/navigation-menu.meta.md",
|
|
1658
|
+
"registryDependencies": ["cn"],
|
|
1659
|
+
"dependencies": {
|
|
1660
|
+
"@radix-ui/react-navigation-menu": "^1.2.0",
|
|
1661
|
+
"class-variance-authority": "^0.7.0",
|
|
1662
|
+
"lucide-react": "^0.460.0"
|
|
1663
|
+
},
|
|
1664
|
+
"updateStrategy": "frozen",
|
|
1665
|
+
"category": "deprecated"
|
|
1666
|
+
},
|
|
1667
|
+
{
|
|
1668
|
+
"id": "scroll-area",
|
|
1669
|
+
"name": "ScrollArea",
|
|
1670
|
+
"type": "component",
|
|
1671
|
+
"description": "自定义滚动容器 — Radix ScrollArea(跨浏览器一致的滚动条,触屏友好,自动隐藏 thumb)",
|
|
1672
|
+
"files": [
|
|
1673
|
+
{
|
|
1674
|
+
"source": "src/components/scroll-area/scroll-area.tsx",
|
|
1675
|
+
"targetAlias": "components",
|
|
1676
|
+
"targetName": "scroll-area.tsx"
|
|
1677
|
+
}
|
|
1678
|
+
],
|
|
1679
|
+
"meta": "src/components/scroll-area/scroll-area.meta.md",
|
|
1680
|
+
"registryDependencies": ["cn"],
|
|
1681
|
+
"dependencies": {
|
|
1682
|
+
"@radix-ui/react-scroll-area": "^1.2.0"
|
|
1683
|
+
},
|
|
1684
|
+
"updateStrategy": "frozen",
|
|
1685
|
+
"category": "deprecated"
|
|
1686
|
+
},
|
|
1687
|
+
{
|
|
1688
|
+
"id": "image",
|
|
1689
|
+
"name": "Image",
|
|
1690
|
+
"type": "component",
|
|
1691
|
+
"description": "图片 — antd 独有补足。自动加载占位 + 失败占位 + 点击预览(Dialog 模态原图)",
|
|
1692
|
+
"files": [
|
|
1693
|
+
{
|
|
1694
|
+
"source": "src/components/image/image.tsx",
|
|
1695
|
+
"targetAlias": "components",
|
|
1696
|
+
"targetName": "image.tsx"
|
|
1697
|
+
}
|
|
1698
|
+
],
|
|
1699
|
+
"meta": "src/components/image/image.meta.md",
|
|
1700
|
+
"registryDependencies": ["cn", "dialog", "skeleton"],
|
|
1701
|
+
"dependencies": {
|
|
1702
|
+
"lucide-react": "^0.460.0"
|
|
1703
|
+
},
|
|
1704
|
+
"updateStrategy": "frozen",
|
|
1705
|
+
"category": "deprecated"
|
|
1706
|
+
},
|
|
1707
|
+
{
|
|
1708
|
+
"id": "mentions",
|
|
1709
|
+
"name": "Mentions",
|
|
1710
|
+
"type": "component",
|
|
1711
|
+
"description": "@提及输入 — antd 独有补足。Textarea + @ 触发候选下拉(评论 @ 同事 / # 话题),键盘 ↑↓ 切换 + Enter/Tab 选中 + Esc 关闭,异步候选用 onSearch 刷新 options",
|
|
1712
|
+
"files": [
|
|
1713
|
+
{
|
|
1714
|
+
"source": "src/components/mentions/mentions.tsx",
|
|
1715
|
+
"targetAlias": "components",
|
|
1716
|
+
"targetName": "mentions.tsx"
|
|
1717
|
+
}
|
|
1718
|
+
],
|
|
1719
|
+
"meta": "src/components/mentions/mentions.meta.md",
|
|
1720
|
+
"registryDependencies": ["cn", "input"],
|
|
1721
|
+
"updateStrategy": "frozen",
|
|
1722
|
+
"category": "deprecated"
|
|
1723
|
+
},
|
|
1724
|
+
{
|
|
1725
|
+
"id": "kbd",
|
|
1726
|
+
"name": "Kbd",
|
|
1727
|
+
"type": "component",
|
|
1728
|
+
"description": "键位展示 — shadcn 2025-10 新增。语义化 `<kbd>` 元素 + `KbdGroup` 组合容器,用于标注快捷键(⌘K / Ctrl + Enter)",
|
|
1729
|
+
"files": [
|
|
1730
|
+
{
|
|
1731
|
+
"source": "src/components/kbd/kbd.tsx",
|
|
1732
|
+
"targetAlias": "components",
|
|
1733
|
+
"targetName": "kbd.tsx"
|
|
1734
|
+
}
|
|
1735
|
+
],
|
|
1736
|
+
"meta": "src/components/kbd/kbd.meta.md",
|
|
1737
|
+
"registryDependencies": ["cn"],
|
|
1738
|
+
"dependencies": {
|
|
1739
|
+
"class-variance-authority": "^0.7.0"
|
|
1740
|
+
},
|
|
1741
|
+
"updateStrategy": "frozen",
|
|
1742
|
+
"category": "deprecated"
|
|
1743
|
+
},
|
|
1744
|
+
{
|
|
1745
|
+
"id": "native-select",
|
|
1746
|
+
"name": "NativeSelect",
|
|
1747
|
+
"type": "component",
|
|
1748
|
+
"description": "原生 `<select>` 样式封装 — shadcn 2025-10 新增。零 JS 开销,移动端弹起系统 picker,直接参与 form submit。与 Radix Select 互补",
|
|
1749
|
+
"files": [
|
|
1750
|
+
{
|
|
1751
|
+
"source": "src/components/native-select/native-select.tsx",
|
|
1752
|
+
"targetAlias": "components",
|
|
1753
|
+
"targetName": "native-select.tsx"
|
|
1754
|
+
}
|
|
1755
|
+
],
|
|
1756
|
+
"meta": "src/components/native-select/native-select.meta.md",
|
|
1757
|
+
"registryDependencies": ["cn"],
|
|
1758
|
+
"dependencies": {
|
|
1759
|
+
"lucide-react": "^0.460.0"
|
|
1760
|
+
},
|
|
1761
|
+
"updateStrategy": "frozen",
|
|
1762
|
+
"category": "deprecated"
|
|
1763
|
+
},
|
|
1764
|
+
{
|
|
1765
|
+
"id": "segmented",
|
|
1766
|
+
"name": "Segmented",
|
|
1767
|
+
"type": "component",
|
|
1768
|
+
"description": "分段控制器 — antd 独有补足。等价 antd `Segmented`(v5.0+),iOS / macOS 风格紧凑互斥单选(视图切换 / 时间区间 / 主题档)",
|
|
1769
|
+
"files": [
|
|
1770
|
+
{
|
|
1771
|
+
"source": "src/components/segmented/segmented.tsx",
|
|
1772
|
+
"targetAlias": "components",
|
|
1773
|
+
"targetName": "segmented.tsx"
|
|
1774
|
+
}
|
|
1775
|
+
],
|
|
1776
|
+
"meta": "src/components/segmented/segmented.meta.md",
|
|
1777
|
+
"registryDependencies": ["cn"],
|
|
1778
|
+
"dependencies": {
|
|
1779
|
+
"class-variance-authority": "^0.7.0"
|
|
1780
|
+
},
|
|
1781
|
+
"updateStrategy": "frozen",
|
|
1782
|
+
"category": "deprecated"
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
"id": "app",
|
|
1786
|
+
"name": "App",
|
|
1787
|
+
"type": "component",
|
|
1788
|
+
"description": "应用根容器 — antd 独有补足。对标 antd `App`,挂全局 Toaster + 设置 dir / lang + 根级 className 承载;不接管主题(主题靠 design tokens),不收敛 useApp() hook",
|
|
1789
|
+
"files": [
|
|
1790
|
+
{
|
|
1791
|
+
"source": "src/components/app/app.tsx",
|
|
1792
|
+
"targetAlias": "components",
|
|
1793
|
+
"targetName": "app.tsx"
|
|
1794
|
+
}
|
|
1795
|
+
],
|
|
1796
|
+
"meta": "src/components/app/app.meta.md",
|
|
1797
|
+
"registryDependencies": ["cn", "sonner"],
|
|
1798
|
+
"updateStrategy": "frozen",
|
|
1799
|
+
"category": "deprecated"
|
|
1800
|
+
},
|
|
1801
|
+
{
|
|
1802
|
+
"id": "anchor",
|
|
1803
|
+
"name": "Anchor",
|
|
1804
|
+
"type": "component",
|
|
1805
|
+
"description": "锚点导航 — antd 独有补足。等价 antd `Anchor`,长文档 / 详情页侧边目录,点击滚动到 id 节点,滚动时 IntersectionObserver 自动高亮,支持嵌套两层缩进",
|
|
1806
|
+
"files": [
|
|
1807
|
+
{
|
|
1808
|
+
"source": "src/components/anchor/anchor.tsx",
|
|
1809
|
+
"targetAlias": "components",
|
|
1810
|
+
"targetName": "anchor.tsx"
|
|
1811
|
+
}
|
|
1812
|
+
],
|
|
1813
|
+
"meta": "src/components/anchor/anchor.meta.md",
|
|
1814
|
+
"registryDependencies": ["cn"],
|
|
1815
|
+
"updateStrategy": "frozen",
|
|
1816
|
+
"category": "deprecated"
|
|
1817
|
+
},
|
|
1818
|
+
{
|
|
1819
|
+
"id": "float-button",
|
|
1820
|
+
"name": "FloatButton",
|
|
1821
|
+
"type": "component",
|
|
1822
|
+
"description": "悬浮按钮 — antd 独有补足。等价 antd `FloatButton`(v5.0,替代旧 BackTop)。固定右下角强主张操作,配 FloatButtonGroup 堆叠多个,FloatButtonBackTop 预置回到顶部",
|
|
1823
|
+
"files": [
|
|
1824
|
+
{
|
|
1825
|
+
"source": "src/components/float-button/float-button.tsx",
|
|
1826
|
+
"targetAlias": "components",
|
|
1827
|
+
"targetName": "float-button.tsx"
|
|
1828
|
+
}
|
|
1829
|
+
],
|
|
1830
|
+
"meta": "src/components/float-button/float-button.meta.md",
|
|
1831
|
+
"registryDependencies": ["cn"],
|
|
1832
|
+
"dependencies": {
|
|
1833
|
+
"lucide-react": "^0.460.0"
|
|
1834
|
+
},
|
|
1835
|
+
"updateStrategy": "frozen",
|
|
1836
|
+
"category": "deprecated"
|
|
1837
|
+
},
|
|
1838
|
+
{
|
|
1839
|
+
"id": "tour",
|
|
1840
|
+
"name": "Tour",
|
|
1841
|
+
"type": "component",
|
|
1842
|
+
"description": "新手引导 — antd 独有补足。等价 antd `Tour`(v5.0+),多步骤 spotlight + 卡片 + 步进按钮 + 可关闭,业务侧自管首次访问标记",
|
|
1843
|
+
"files": [
|
|
1844
|
+
{
|
|
1845
|
+
"source": "src/components/tour/tour.tsx",
|
|
1846
|
+
"targetAlias": "components",
|
|
1847
|
+
"targetName": "tour.tsx"
|
|
1848
|
+
}
|
|
1849
|
+
],
|
|
1850
|
+
"meta": "src/components/tour/tour.meta.md",
|
|
1851
|
+
"registryDependencies": ["cn", "button"],
|
|
1852
|
+
"dependencies": {
|
|
1853
|
+
"lucide-react": "^0.460.0"
|
|
1854
|
+
},
|
|
1855
|
+
"updateStrategy": "frozen",
|
|
1856
|
+
"category": "deprecated"
|
|
1857
|
+
},
|
|
1671
1858
|
{
|
|
1672
1859
|
"id": "masonry",
|
|
1673
1860
|
"name": "Masonry",
|
|
@@ -1682,7 +1869,8 @@
|
|
|
1682
1869
|
],
|
|
1683
1870
|
"meta": "src/components/masonry/masonry.meta.md",
|
|
1684
1871
|
"registryDependencies": ["cn"],
|
|
1685
|
-
"updateStrategy": "frozen"
|
|
1872
|
+
"updateStrategy": "frozen",
|
|
1873
|
+
"category": "deprecated"
|
|
1686
1874
|
}
|
|
1687
1875
|
]
|
|
1688
1876
|
}
|