@finedesign/cli 0.7.0 → 0.8.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/CHANGELOG.md +7 -0
- package/README.md +4 -3
- package/data/1.25.0/catalog.json +1 -1
- package/data/1.25.0/manifest.json +3 -3
- package/package.json +1 -1
- package/src/cli.mjs +129 -3
- package/src/core/contracts.mjs +10 -1
- package/src/core/figma-data.json +2929 -0
- package/src/core/figma.mjs +138 -0
- package/src/mcp.mjs +9 -1
|
@@ -0,0 +1,2929 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fileKey": "QtKRLVgL3YnUSL6SAzE2ea",
|
|
3
|
+
"indexNodeId": "9874:1042",
|
|
4
|
+
"primaryLinks": {
|
|
5
|
+
"Alert": "817:82317",
|
|
6
|
+
"Avatar": "1130:72582",
|
|
7
|
+
"Badge": "1130:72608",
|
|
8
|
+
"Breadcrumb": "1695:34505",
|
|
9
|
+
"Button": "100:4283",
|
|
10
|
+
"Carousel": "1339:406",
|
|
11
|
+
"Check": "43:12760",
|
|
12
|
+
"Collapse": "964:126938",
|
|
13
|
+
"ColorPicker": "930:120520",
|
|
14
|
+
"Datetime": "100:6625",
|
|
15
|
+
"Divider": "97:4234",
|
|
16
|
+
"Drawer": "810:81903",
|
|
17
|
+
"Image": "1137:79709",
|
|
18
|
+
"Input": "4669:256670",
|
|
19
|
+
"InputNumber": "4669:256860",
|
|
20
|
+
"Instruction": "817:82829",
|
|
21
|
+
"List": "5090:43660",
|
|
22
|
+
"Menu": "2236:177789",
|
|
23
|
+
"ModalMask": "17889:419912",
|
|
24
|
+
"Navigation": "777:88028",
|
|
25
|
+
"Notification": "1305:7656",
|
|
26
|
+
"Pagination": "619:83776",
|
|
27
|
+
"PopConfirm": "968:124130",
|
|
28
|
+
"Popover": "151:10125",
|
|
29
|
+
"Progress": "1339:4203",
|
|
30
|
+
"Prompt": "2236:176975",
|
|
31
|
+
"Radio": "846:90925",
|
|
32
|
+
"Result": "826:82791",
|
|
33
|
+
"Select": "4669:249815",
|
|
34
|
+
"Slider": "582:75859",
|
|
35
|
+
"Spin": "1410:142318",
|
|
36
|
+
"Splitter": "17966:479715",
|
|
37
|
+
"Step": "997:126253",
|
|
38
|
+
"Switch": "51:593",
|
|
39
|
+
"Tab": "1140:105364",
|
|
40
|
+
"Table": "17051:177473",
|
|
41
|
+
"Tag": "43:12747",
|
|
42
|
+
"Toast": "821:82455",
|
|
43
|
+
"Tooltip": "202:4208",
|
|
44
|
+
"TreeSelect": "1102:15136",
|
|
45
|
+
"Cascader": "873:118477",
|
|
46
|
+
"Tree": "18878:52039",
|
|
47
|
+
"Upload": "16845:7517",
|
|
48
|
+
"Anchor": "15454:5669",
|
|
49
|
+
"Dialog": "17263:309808",
|
|
50
|
+
"NextTable": "17051:177473",
|
|
51
|
+
"MCascader": "873:118477"
|
|
52
|
+
},
|
|
53
|
+
"aliases": {
|
|
54
|
+
"table": "NextTable",
|
|
55
|
+
"nexttable": "NextTable",
|
|
56
|
+
"modal": "Dialog",
|
|
57
|
+
"dialog": "Dialog",
|
|
58
|
+
"popconfirm": "PopConfirm",
|
|
59
|
+
"pop_confirm": "PopConfirm",
|
|
60
|
+
"mcascader": "MCascader",
|
|
61
|
+
"m_cascader": "MCascader",
|
|
62
|
+
"cascader": "MCascader",
|
|
63
|
+
"checkbox": "Check",
|
|
64
|
+
"check": "Check",
|
|
65
|
+
"checkboxgroup": "Check.Group",
|
|
66
|
+
"checkgroup": "Check.Group",
|
|
67
|
+
"radiogroup": "Radio.Group",
|
|
68
|
+
"radiobutton": "Radio",
|
|
69
|
+
"radio": "Radio",
|
|
70
|
+
"nav": "Navigation",
|
|
71
|
+
"navigation": "Navigation",
|
|
72
|
+
"segmented": "Segment",
|
|
73
|
+
"segment": "Segment",
|
|
74
|
+
"button": "Button",
|
|
75
|
+
"buttongroup": "Button.Group",
|
|
76
|
+
"avatargroup": "Avatar.Group",
|
|
77
|
+
"avatar": "Avatar",
|
|
78
|
+
"datetime": "Datetime",
|
|
79
|
+
"datepicker": "Datetime",
|
|
80
|
+
"colorpicker": "ColorPicker",
|
|
81
|
+
"inputnumber": "InputNumber",
|
|
82
|
+
"input": "Input",
|
|
83
|
+
"textarea": "Input",
|
|
84
|
+
"treeselect": "TreeSelect",
|
|
85
|
+
"tree": "Tree",
|
|
86
|
+
"upload": "Upload",
|
|
87
|
+
"表格": "NextTable",
|
|
88
|
+
"按钮": "Button",
|
|
89
|
+
"按钮组": "Button.Group",
|
|
90
|
+
"对话框": "Dialog",
|
|
91
|
+
"弹窗": "Dialog",
|
|
92
|
+
"模态框": "Dialog",
|
|
93
|
+
"复选框": "Check",
|
|
94
|
+
"多选框": "Check",
|
|
95
|
+
"复选框组": "Check.Group",
|
|
96
|
+
"单选框": "Radio",
|
|
97
|
+
"单选按钮": "Radio",
|
|
98
|
+
"单选框组": "Radio.Group",
|
|
99
|
+
"下拉": "Select",
|
|
100
|
+
"下拉选择": "Select",
|
|
101
|
+
"选择器": "Select",
|
|
102
|
+
"多选下拉": "Combo.Check",
|
|
103
|
+
"复合下拉": "Combo.Check",
|
|
104
|
+
"输入框": "Input",
|
|
105
|
+
"文本框": "Input",
|
|
106
|
+
"多行输入": "Input",
|
|
107
|
+
"数字输入框": "InputNumber",
|
|
108
|
+
"数值输入框": "InputNumber",
|
|
109
|
+
"开关": "Switch",
|
|
110
|
+
"滑块": "Slider",
|
|
111
|
+
"滑块选择器": "Slider",
|
|
112
|
+
"日期": "Datetime",
|
|
113
|
+
"日期时间": "Datetime",
|
|
114
|
+
"日期选择": "Datetime",
|
|
115
|
+
"颜色选择器": "ColorPicker",
|
|
116
|
+
"树": "Tree",
|
|
117
|
+
"树形控件": "Tree",
|
|
118
|
+
"树选择": "TreeSelect",
|
|
119
|
+
"下拉树": "TreeSelect",
|
|
120
|
+
"级联选择": "MCascader",
|
|
121
|
+
"级联选择器": "MCascader",
|
|
122
|
+
"上传": "Upload",
|
|
123
|
+
"上传文件": "Upload",
|
|
124
|
+
"侧边栏": "Navigation",
|
|
125
|
+
"导航": "Navigation",
|
|
126
|
+
"面包屑": "Breadcrumb",
|
|
127
|
+
"分段控制器": "Segment",
|
|
128
|
+
"步骤条": "Step",
|
|
129
|
+
"标签页": "Tab",
|
|
130
|
+
"抽屉": "Drawer",
|
|
131
|
+
"侧边弹窗": "Drawer",
|
|
132
|
+
"警告提示": "Alert",
|
|
133
|
+
"气泡确认框": "PopConfirm",
|
|
134
|
+
"二次确认": "PopConfirm",
|
|
135
|
+
"气泡卡片": "Popover",
|
|
136
|
+
"提示信息": "Tooltip",
|
|
137
|
+
"全局提示": "Toast",
|
|
138
|
+
"轻提示": "Toast",
|
|
139
|
+
"通知提醒框": "Notification",
|
|
140
|
+
"消息通知": "Notification",
|
|
141
|
+
"进度条": "Progress",
|
|
142
|
+
"加载中": "Spin",
|
|
143
|
+
"走马灯": "Carousel",
|
|
144
|
+
"分割线": "Divider",
|
|
145
|
+
"分割面板": "Splitter",
|
|
146
|
+
"锚点": "Anchor",
|
|
147
|
+
"徽标": "Badge",
|
|
148
|
+
"徽标数": "Badge",
|
|
149
|
+
"头像": "Avatar",
|
|
150
|
+
"头像组": "Avatar.Group",
|
|
151
|
+
"图片": "Image",
|
|
152
|
+
"列表": "List"
|
|
153
|
+
},
|
|
154
|
+
"unmappedNotes": {
|
|
155
|
+
"Typography": "排版在设计稿中为普通 Frame,用于展示文本颜色;代码侧可直接使用 Typography / Typography.Text / Typography.Title。",
|
|
156
|
+
"FloatButton": "设计稿中的悬浮按钮为业务组合,Fine Design 无 FloatButton 公共导出;勿将 BackTop 误用作通用悬浮按钮。",
|
|
157
|
+
"Card": "卡片在设计中无独立主组件;代码侧请使用业务容器组合 Header、Meta 与 Action。",
|
|
158
|
+
"Rate": "设计稿中的评分组件已废弃,Fine Design 库中无 Rate 公共导出。",
|
|
159
|
+
"ScrollBar": "ScrollBar 仅为 VirtualList 内部实现,无独立公共导出。",
|
|
160
|
+
"Segment": "分段控制器(Segment / Segment.Item)在代码库中完整支持,Figma 设计库中未发布独立主组件;代码侧可直接使用 Segment。",
|
|
161
|
+
"Form": "表单容器(Form / Form.Item)在设计稿中由输入框、选择器等组件组合构成,无独立主组件;代码侧直接使用 Form。",
|
|
162
|
+
"Skeleton": "骨架屏(Skeleton)在设计稿中由矩形/圆形 Frame 占位构成;代码侧可直接使用 Skeleton 及其子组件。",
|
|
163
|
+
"Space": "间距布局组件(Space)在设计稿中对应 AutoLayout 间距;代码侧可直接使用 Space 控制水平或垂直间距。",
|
|
164
|
+
"ConfigProvider": "全局化配置(ConfigProvider)为纯代码上下文提供器(用于主题 Token、国际化等),无对应 Figma 视觉组件。"
|
|
165
|
+
},
|
|
166
|
+
"mappings": [
|
|
167
|
+
{
|
|
168
|
+
"file": "Alert.figma.ts",
|
|
169
|
+
"nodeId": "817:82317",
|
|
170
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=817-82317",
|
|
171
|
+
"component": "Alert",
|
|
172
|
+
"designName": "警告提示 Modal-Alert",
|
|
173
|
+
"source": "src/components/alert/Alert.tsx",
|
|
174
|
+
"templateId": "fd-alert",
|
|
175
|
+
"imports": [
|
|
176
|
+
"import React from 'react';",
|
|
177
|
+
"import { Alert } from '@fx-ui/fine-design';"
|
|
178
|
+
],
|
|
179
|
+
"connectedComponent": "ConnectedAlert",
|
|
180
|
+
"wrapperSignature": "function ConnectedAlert()",
|
|
181
|
+
"shortcut": "the third action and custom footer content need business composition.",
|
|
182
|
+
"businessInputs": null,
|
|
183
|
+
"exampleSnippet": null,
|
|
184
|
+
"exampleNodeId": null,
|
|
185
|
+
"exampleImports": null,
|
|
186
|
+
"properties": {
|
|
187
|
+
"第二个按钮": "BOOLEAN",
|
|
188
|
+
"自定义左下角": "BOOLEAN",
|
|
189
|
+
"内容": "BOOLEAN",
|
|
190
|
+
"第三个按钮": "BOOLEAN",
|
|
191
|
+
"类型 Type": [
|
|
192
|
+
"提示 Info",
|
|
193
|
+
"询问 Query",
|
|
194
|
+
"警告 Warning",
|
|
195
|
+
"问题确认 Question",
|
|
196
|
+
"成功 Success",
|
|
197
|
+
"错误 Error"
|
|
198
|
+
]
|
|
199
|
+
},
|
|
200
|
+
"recommendations": []
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"file": "Anchor.figma.ts",
|
|
204
|
+
"nodeId": "15454:5669",
|
|
205
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=15454-5669",
|
|
206
|
+
"component": "Anchor",
|
|
207
|
+
"designName": "Anchor 锚点",
|
|
208
|
+
"source": "src/components/anchor/Anchor.tsx",
|
|
209
|
+
"templateId": "fd-anchor",
|
|
210
|
+
"imports": [
|
|
211
|
+
"import React from 'react';",
|
|
212
|
+
"import { Anchor } from '@fx-ui/fine-design';"
|
|
213
|
+
],
|
|
214
|
+
"connectedComponent": "ConnectedAnchor",
|
|
215
|
+
"wrapperSignature": "function ConnectedAnchor({ hrefs }: { hrefs: string[] })",
|
|
216
|
+
"shortcut": null,
|
|
217
|
+
"businessInputs": "按设计顺序提供等量、非空的 `hrefs`,保留标题与层级",
|
|
218
|
+
"exampleSnippet": "function ConnectedAnchor({ hrefs }: { hrefs: string[] }) {\n if (hrefs.length !== 2 || hrefs.some(href => !href.trim())) throw new Error('Provide one non-empty href per design anchor');\n return <Anchor showLine={true} items={[{ key: \"15454:5671\", href: hrefs[0], title: \"锚点导航\" },{ key: \"15454:5672\", href: hrefs[1], title: \"锚点导航\" },]} />;\n}",
|
|
219
|
+
"exampleNodeId": "15454:5670",
|
|
220
|
+
"exampleImports": [
|
|
221
|
+
"import React from 'react';",
|
|
222
|
+
"import { Anchor } from '@fx-ui/fine-design';"
|
|
223
|
+
],
|
|
224
|
+
"properties": {
|
|
225
|
+
"数量": [
|
|
226
|
+
"2",
|
|
227
|
+
"3",
|
|
228
|
+
"4",
|
|
229
|
+
"5",
|
|
230
|
+
"6"
|
|
231
|
+
]
|
|
232
|
+
},
|
|
233
|
+
"recommendations": [
|
|
234
|
+
"锚点导航按设计顺序提供等量、非空的 hrefs,保留标题与层级"
|
|
235
|
+
]
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"file": "Avatar.figma.ts",
|
|
239
|
+
"nodeId": "1130:72582",
|
|
240
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=1130-72582",
|
|
241
|
+
"component": "Avatar",
|
|
242
|
+
"designName": "Avatar",
|
|
243
|
+
"source": "src/components/avatar/Avatar.tsx",
|
|
244
|
+
"templateId": "fd-avatar",
|
|
245
|
+
"imports": [
|
|
246
|
+
"import { Avatar, Badge } from '@fx-ui/fine-design';"
|
|
247
|
+
],
|
|
248
|
+
"connectedComponent": "Avatar",
|
|
249
|
+
"wrapperSignature": null,
|
|
250
|
+
"shortcut": null,
|
|
251
|
+
"businessInputs": null,
|
|
252
|
+
"exampleSnippet": null,
|
|
253
|
+
"exampleNodeId": null,
|
|
254
|
+
"exampleImports": null,
|
|
255
|
+
"properties": {
|
|
256
|
+
"Badge": "BOOLEAN",
|
|
257
|
+
"文本": "BOOLEAN",
|
|
258
|
+
"头像": "BOOLEAN",
|
|
259
|
+
"形状 Shape": [
|
|
260
|
+
"圆角矩形 Default",
|
|
261
|
+
"圆形 Circle"
|
|
262
|
+
],
|
|
263
|
+
"尺寸 Size": [
|
|
264
|
+
"默认 Default",
|
|
265
|
+
"大 Large",
|
|
266
|
+
"小 Small"
|
|
267
|
+
]
|
|
268
|
+
},
|
|
269
|
+
"recommendations": []
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"file": "AvatarGroup.figma.ts",
|
|
273
|
+
"nodeId": "1136:73176",
|
|
274
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=1136-73176",
|
|
275
|
+
"component": "Avatar.Group",
|
|
276
|
+
"designName": "AvatarGroup",
|
|
277
|
+
"source": "src/components/avatar/Group.tsx",
|
|
278
|
+
"templateId": "fd-avatar-group",
|
|
279
|
+
"imports": [
|
|
280
|
+
"import React from 'react';",
|
|
281
|
+
"import { Avatar, Badge } from '@fx-ui/fine-design';"
|
|
282
|
+
],
|
|
283
|
+
"connectedComponent": "Avatar.Group",
|
|
284
|
+
"wrapperSignature": null,
|
|
285
|
+
"shortcut": "unmapped external icons must be supplied by the caller; server-generated fallback components are unreliable in repeated swaps.",
|
|
286
|
+
"businessInputs": "未连接的外部图标按顺序传 `icons`。已连接图标自动解析",
|
|
287
|
+
"exampleSnippet": null,
|
|
288
|
+
"exampleNodeId": null,
|
|
289
|
+
"exampleImports": null,
|
|
290
|
+
"properties": {
|
|
291
|
+
"数量": [
|
|
292
|
+
"5",
|
|
293
|
+
"4",
|
|
294
|
+
"3",
|
|
295
|
+
"2"
|
|
296
|
+
],
|
|
297
|
+
"尺寸 Size": [
|
|
298
|
+
"默认 Default",
|
|
299
|
+
"大 Large",
|
|
300
|
+
"小 Small"
|
|
301
|
+
]
|
|
302
|
+
},
|
|
303
|
+
"recommendations": []
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"file": "Badge.figma.ts",
|
|
307
|
+
"nodeId": "1130:72608",
|
|
308
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=1130-72608",
|
|
309
|
+
"component": "Badge",
|
|
310
|
+
"designName": "Badge",
|
|
311
|
+
"source": "src/components/badge/Badge.tsx",
|
|
312
|
+
"templateId": "fd-badge",
|
|
313
|
+
"imports": [
|
|
314
|
+
"import { Badge } from '@fx-ui/fine-design';"
|
|
315
|
+
],
|
|
316
|
+
"connectedComponent": "Badge",
|
|
317
|
+
"wrapperSignature": null,
|
|
318
|
+
"shortcut": "Ribbon/Icon/status colors have no public API; these variants fall back to dot and are documented.",
|
|
319
|
+
"businessInputs": null,
|
|
320
|
+
"exampleSnippet": "<Badge count={8} size=\"middle\" />",
|
|
321
|
+
"exampleNodeId": "1130:72607",
|
|
322
|
+
"exampleImports": [
|
|
323
|
+
"import { Badge } from '@fx-ui/fine-design';"
|
|
324
|
+
],
|
|
325
|
+
"properties": {
|
|
326
|
+
"State文字": "BOOLEAN",
|
|
327
|
+
"类型 Type": [
|
|
328
|
+
"默认 Default",
|
|
329
|
+
"旗 Ribbon",
|
|
330
|
+
"图标 Icon",
|
|
331
|
+
"状态 States",
|
|
332
|
+
"点 Dot"
|
|
333
|
+
],
|
|
334
|
+
"尺寸 Size": [
|
|
335
|
+
"默认 Default",
|
|
336
|
+
"小 Small"
|
|
337
|
+
],
|
|
338
|
+
"两位数": [
|
|
339
|
+
"False",
|
|
340
|
+
"True"
|
|
341
|
+
],
|
|
342
|
+
"状态 States": [
|
|
343
|
+
"默认 Default",
|
|
344
|
+
"警告 Warning",
|
|
345
|
+
"成功 Success",
|
|
346
|
+
"进程中 Processing",
|
|
347
|
+
"错误 Error"
|
|
348
|
+
],
|
|
349
|
+
"无数据": [
|
|
350
|
+
"False",
|
|
351
|
+
"True"
|
|
352
|
+
]
|
|
353
|
+
},
|
|
354
|
+
"recommendations": []
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"file": "Breadcrumb.figma.ts",
|
|
358
|
+
"nodeId": "1695:34505",
|
|
359
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=1695-34505",
|
|
360
|
+
"component": "Breadcrumb",
|
|
361
|
+
"designName": "面包屑 Breadcrumb",
|
|
362
|
+
"source": "src/components/breadcrumb/Breadcrumb.tsx",
|
|
363
|
+
"templateId": "fd-breadcrumb",
|
|
364
|
+
"imports": [
|
|
365
|
+
"import { Breadcrumb } from '@fx-ui/fine-design';"
|
|
366
|
+
],
|
|
367
|
+
"connectedComponent": "Breadcrumb",
|
|
368
|
+
"wrapperSignature": null,
|
|
369
|
+
"shortcut": null,
|
|
370
|
+
"businessInputs": null,
|
|
371
|
+
"exampleSnippet": null,
|
|
372
|
+
"exampleNodeId": null,
|
|
373
|
+
"exampleImports": null,
|
|
374
|
+
"properties": {
|
|
375
|
+
"面包屑数量": [
|
|
376
|
+
"2",
|
|
377
|
+
"3",
|
|
378
|
+
"4",
|
|
379
|
+
"5"
|
|
380
|
+
]
|
|
381
|
+
},
|
|
382
|
+
"recommendations": []
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"file": "Button.figma.ts",
|
|
386
|
+
"nodeId": "100:4283",
|
|
387
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=100-4283",
|
|
388
|
+
"component": "Button",
|
|
389
|
+
"designName": "按钮 Button",
|
|
390
|
+
"source": "src/components/button/Button.tsx",
|
|
391
|
+
"templateId": "fd-button",
|
|
392
|
+
"imports": [
|
|
393
|
+
"import { Button } from '@fx-ui/fine-design';"
|
|
394
|
+
],
|
|
395
|
+
"connectedComponent": "Button",
|
|
396
|
+
"wrapperSignature": null,
|
|
397
|
+
"shortcut": "Button has no mini size; Mini uses small until the library provides a matching size.",
|
|
398
|
+
"businessInputs": null,
|
|
399
|
+
"exampleSnippet": "<Button type=\"primary\">按钮</Button>",
|
|
400
|
+
"exampleNodeId": null,
|
|
401
|
+
"exampleImports": null,
|
|
402
|
+
"properties": {
|
|
403
|
+
"按钮文本": "BOOLEAN",
|
|
404
|
+
"后置icon": "BOOLEAN",
|
|
405
|
+
"前置icon": "BOOLEAN",
|
|
406
|
+
"LoadingIcon": "BOOLEAN",
|
|
407
|
+
"类型 Type": [
|
|
408
|
+
"主要 Primary",
|
|
409
|
+
"次要 Secondary",
|
|
410
|
+
"线框 Normal",
|
|
411
|
+
"次要线框 Negative",
|
|
412
|
+
"文字 Text",
|
|
413
|
+
"次要文字 TextNormal",
|
|
414
|
+
"链接 Link",
|
|
415
|
+
"裸态 Bare"
|
|
416
|
+
],
|
|
417
|
+
"危险 Error": [
|
|
418
|
+
"False",
|
|
419
|
+
"True"
|
|
420
|
+
],
|
|
421
|
+
"尺寸 Size": [
|
|
422
|
+
"默认 Default",
|
|
423
|
+
"大 Large",
|
|
424
|
+
"小 Small",
|
|
425
|
+
"Mini"
|
|
426
|
+
],
|
|
427
|
+
"状态 State": [
|
|
428
|
+
"默认 Enabled",
|
|
429
|
+
"悬停 Hovered",
|
|
430
|
+
"按下/激活 Pressed",
|
|
431
|
+
"禁用 Disabled"
|
|
432
|
+
],
|
|
433
|
+
"胶囊形状": [
|
|
434
|
+
"False",
|
|
435
|
+
"True"
|
|
436
|
+
],
|
|
437
|
+
"纯ICON": [
|
|
438
|
+
"False",
|
|
439
|
+
"True"
|
|
440
|
+
],
|
|
441
|
+
"Loading": [
|
|
442
|
+
"False",
|
|
443
|
+
"True"
|
|
444
|
+
],
|
|
445
|
+
"紧凑模式": [
|
|
446
|
+
"False",
|
|
447
|
+
"True"
|
|
448
|
+
]
|
|
449
|
+
},
|
|
450
|
+
"recommendations": [
|
|
451
|
+
"纯图标 Button 的 aria-label 需结合业务语境明确操作目的",
|
|
452
|
+
"如需加载态,传入 loading 属性",
|
|
453
|
+
"按钮组合排列优先使用 Button.Group"
|
|
454
|
+
]
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"file": "ButtonGroup.figma.ts",
|
|
458
|
+
"nodeId": "4268:18470",
|
|
459
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=4268-18470",
|
|
460
|
+
"component": "Button.Group",
|
|
461
|
+
"designName": "ButtonGroup",
|
|
462
|
+
"source": "src/components/button/ButtonGroup.tsx",
|
|
463
|
+
"templateId": "fd-button-group",
|
|
464
|
+
"imports": [
|
|
465
|
+
"import { Button } from '@fx-ui/fine-design';"
|
|
466
|
+
],
|
|
467
|
+
"connectedComponent": "Button.Group",
|
|
468
|
+
"wrapperSignature": null,
|
|
469
|
+
"shortcut": null,
|
|
470
|
+
"businessInputs": "真实子按钮,数量、尺寸、类型来自设计",
|
|
471
|
+
"exampleSnippet": null,
|
|
472
|
+
"exampleNodeId": null,
|
|
473
|
+
"exampleImports": null,
|
|
474
|
+
"properties": {
|
|
475
|
+
"数量": [
|
|
476
|
+
"2",
|
|
477
|
+
"3",
|
|
478
|
+
"3+"
|
|
479
|
+
],
|
|
480
|
+
"尺寸": [
|
|
481
|
+
"默认 Default",
|
|
482
|
+
"大 Large",
|
|
483
|
+
"小 Small"
|
|
484
|
+
],
|
|
485
|
+
"类型": [
|
|
486
|
+
"Negative",
|
|
487
|
+
"Primary",
|
|
488
|
+
"Secondary",
|
|
489
|
+
"Normal"
|
|
490
|
+
]
|
|
491
|
+
},
|
|
492
|
+
"recommendations": [
|
|
493
|
+
"真实子按钮的数量、尺寸、类型根据设计稿传入"
|
|
494
|
+
]
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"file": "Carousel.figma.ts",
|
|
498
|
+
"nodeId": "1339:406",
|
|
499
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=1339-406",
|
|
500
|
+
"component": "Carousel",
|
|
501
|
+
"designName": "走马灯 Carousel",
|
|
502
|
+
"source": "src/components/carousel/index.tsx",
|
|
503
|
+
"templateId": "fd-carousel",
|
|
504
|
+
"imports": [
|
|
505
|
+
"import React from 'react';",
|
|
506
|
+
"import { Carousel } from '@fx-ui/fine-design';"
|
|
507
|
+
],
|
|
508
|
+
"connectedComponent": "ConnectedCarousel",
|
|
509
|
+
"wrapperSignature": "function ConnectedCarousel({ children }: React.PropsWithChildren<{}>)",
|
|
510
|
+
"shortcut": "slide content and count come from application children; indicators preserve the design's initial selection.",
|
|
511
|
+
"businessInputs": "幻灯片 children,保留设计指示器位置和初始选中",
|
|
512
|
+
"exampleSnippet": "function ConnectedCarousel({ children }: React.PropsWithChildren<{}>) { return <Carousel indicatorType=\"dot\" defaultActiveIndex={0} indicatorPosition=\"top\">{children}</Carousel>; }",
|
|
513
|
+
"exampleNodeId": "1339:396",
|
|
514
|
+
"exampleImports": [
|
|
515
|
+
"import React from 'react';",
|
|
516
|
+
"import { Carousel } from '@fx-ui/fine-design';"
|
|
517
|
+
],
|
|
518
|
+
"properties": {
|
|
519
|
+
"位置": [
|
|
520
|
+
"上",
|
|
521
|
+
"下",
|
|
522
|
+
"左",
|
|
523
|
+
"右"
|
|
524
|
+
]
|
|
525
|
+
},
|
|
526
|
+
"recommendations": [
|
|
527
|
+
"走马灯幻灯片通过 children 传入,保留设计指示器位置和初始选中项"
|
|
528
|
+
]
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"file": "Cascader.figma.ts",
|
|
532
|
+
"nodeId": "873:118477",
|
|
533
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=873-118477",
|
|
534
|
+
"component": "MCascader",
|
|
535
|
+
"designName": "级联选择 Cascader",
|
|
536
|
+
"source": "src/components/m-cascader/MCascader.tsx",
|
|
537
|
+
"templateId": "fd-cascader",
|
|
538
|
+
"imports": [
|
|
539
|
+
"import React from 'react';",
|
|
540
|
+
"import { MCascader } from '@fx-ui/fine-design';"
|
|
541
|
+
],
|
|
542
|
+
"connectedComponent": "ConnectedCascader",
|
|
543
|
+
"wrapperSignature": "function ConnectedCascader({ options, onChange }: Pick<Extract<React.ComponentProps<typeof MCascader>, { multiple?: false }>, 'options' | 'onChange'>)",
|
|
544
|
+
"shortcut": null,
|
|
545
|
+
"businessInputs": "`options`,可选 `onChange`。展开与搜索分别读取设计属性",
|
|
546
|
+
"exampleSnippet": "function ConnectedCascader({ options, onChange }: Pick<Extract<React.ComponentProps<typeof MCascader>, { multiple?: false }>, 'options' | 'onChange'>) {\n const [visible, setVisible] = React.useState(true);\n return <MCascader multiple={false} options={options} onChange={onChange} visible={visible} onDropdownVisibleChange={setVisible} showSearch={true} placeholder={\"Placeholder\"} size=\"middle\" hasBorder={true} />;\n}",
|
|
547
|
+
"exampleNodeId": "873:118477",
|
|
548
|
+
"exampleImports": [
|
|
549
|
+
"import React from 'react';",
|
|
550
|
+
"import { MCascader } from '@fx-ui/fine-design';"
|
|
551
|
+
],
|
|
552
|
+
"properties": {
|
|
553
|
+
"展开 Open": "BOOLEAN"
|
|
554
|
+
},
|
|
555
|
+
"recommendations": [
|
|
556
|
+
"级联选择推荐使用 MCascader 单选模式",
|
|
557
|
+
"展开方向与搜索配置读取设计属性,数据源通过 options 传入"
|
|
558
|
+
]
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"file": "Check.figma.ts",
|
|
562
|
+
"nodeId": "43:12760",
|
|
563
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=43-12760",
|
|
564
|
+
"component": "Check",
|
|
565
|
+
"designName": "复选框 Checkbox",
|
|
566
|
+
"source": "src/components/check/Check.tsx",
|
|
567
|
+
"templateId": "fd-check",
|
|
568
|
+
"imports": [
|
|
569
|
+
"import { Check } from '@fx-ui/fine-design';"
|
|
570
|
+
],
|
|
571
|
+
"connectedComponent": "Check",
|
|
572
|
+
"wrapperSignature": null,
|
|
573
|
+
"shortcut": null,
|
|
574
|
+
"businessInputs": null,
|
|
575
|
+
"exampleSnippet": null,
|
|
576
|
+
"exampleNodeId": null,
|
|
577
|
+
"exampleImports": null,
|
|
578
|
+
"properties": {
|
|
579
|
+
"icon-前": "BOOLEAN",
|
|
580
|
+
"icon-后": "BOOLEAN",
|
|
581
|
+
"选中 Checked": [
|
|
582
|
+
"False",
|
|
583
|
+
"True"
|
|
584
|
+
],
|
|
585
|
+
"半选 Indeterminate": [
|
|
586
|
+
"False",
|
|
587
|
+
"True"
|
|
588
|
+
],
|
|
589
|
+
"状态 State": [
|
|
590
|
+
"默认 Enabled",
|
|
591
|
+
"悬停 Hovered",
|
|
592
|
+
"禁用 Disabled"
|
|
593
|
+
],
|
|
594
|
+
"边距": [
|
|
595
|
+
"False",
|
|
596
|
+
"True"
|
|
597
|
+
]
|
|
598
|
+
},
|
|
599
|
+
"recommendations": []
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"file": "CheckGroup.figma.ts",
|
|
603
|
+
"nodeId": "855:84459",
|
|
604
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=855-84459",
|
|
605
|
+
"component": "Check.Group",
|
|
606
|
+
"designName": "复选框组 Checkbox Group",
|
|
607
|
+
"source": "src/components/check/CheckGroup.tsx",
|
|
608
|
+
"templateId": "fd-check-group",
|
|
609
|
+
"imports": [
|
|
610
|
+
"import { Check } from '@fx-ui/fine-design';"
|
|
611
|
+
],
|
|
612
|
+
"connectedComponent": "Check.Group",
|
|
613
|
+
"wrapperSignature": null,
|
|
614
|
+
"shortcut": null,
|
|
615
|
+
"businessInputs": null,
|
|
616
|
+
"exampleSnippet": null,
|
|
617
|
+
"exampleNodeId": null,
|
|
618
|
+
"exampleImports": null,
|
|
619
|
+
"properties": {
|
|
620
|
+
"方向": [
|
|
621
|
+
"垂直",
|
|
622
|
+
"水平"
|
|
623
|
+
],
|
|
624
|
+
"数量": [
|
|
625
|
+
"5",
|
|
626
|
+
"4",
|
|
627
|
+
"3",
|
|
628
|
+
"2"
|
|
629
|
+
]
|
|
630
|
+
},
|
|
631
|
+
"recommendations": []
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
"file": "Collapse.figma.ts",
|
|
635
|
+
"nodeId": "964:126938",
|
|
636
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=964-126938",
|
|
637
|
+
"component": "Collapse",
|
|
638
|
+
"designName": "折叠面板 Collapse",
|
|
639
|
+
"source": "src/components/collapse/Collapse.tsx",
|
|
640
|
+
"templateId": "fd-collapse",
|
|
641
|
+
"imports": [
|
|
642
|
+
"import { Collapse } from '@fx-ui/fine-design';"
|
|
643
|
+
],
|
|
644
|
+
"connectedComponent": "Collapse",
|
|
645
|
+
"wrapperSignature": null,
|
|
646
|
+
"shortcut": "custom appearance and header action buttons need application composition.",
|
|
647
|
+
"businessInputs": null,
|
|
648
|
+
"exampleSnippet": null,
|
|
649
|
+
"exampleNodeId": null,
|
|
650
|
+
"exampleImports": null,
|
|
651
|
+
"properties": {
|
|
652
|
+
"样式": [
|
|
653
|
+
"默认",
|
|
654
|
+
"简洁",
|
|
655
|
+
"自定义",
|
|
656
|
+
"幽灵"
|
|
657
|
+
],
|
|
658
|
+
"数量": [
|
|
659
|
+
"1",
|
|
660
|
+
"2",
|
|
661
|
+
"3",
|
|
662
|
+
"4",
|
|
663
|
+
"5"
|
|
664
|
+
],
|
|
665
|
+
"尺寸 Size": [
|
|
666
|
+
"默认 Default",
|
|
667
|
+
"大 Large",
|
|
668
|
+
"小 Small"
|
|
669
|
+
]
|
|
670
|
+
},
|
|
671
|
+
"recommendations": []
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"file": "ColorPicker.figma.ts",
|
|
675
|
+
"nodeId": "930:120520",
|
|
676
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=930-120520",
|
|
677
|
+
"component": "ColorPicker",
|
|
678
|
+
"designName": "颜色选择器 ColorPicker",
|
|
679
|
+
"source": "src/components/color-picker/ColorPickerPane.tsx",
|
|
680
|
+
"templateId": "fd-color-picker",
|
|
681
|
+
"imports": [
|
|
682
|
+
"import React from 'react';",
|
|
683
|
+
"import { ColorPicker } from '@fx-ui/fine-design';",
|
|
684
|
+
"import { Trigger } from '@fx-ui/fine-design';"
|
|
685
|
+
],
|
|
686
|
+
"connectedComponent": "ConnectedColorPicker",
|
|
687
|
+
"wrapperSignature": "function ConnectedColorPicker()",
|
|
688
|
+
"shortcut": "closed variants may omit the Panel; use public defaults until its settings are exposed on the parent.",
|
|
689
|
+
"businessInputs": null,
|
|
690
|
+
"exampleSnippet": "function ConnectedColorPicker() {\n const [open, setOpen] = React.useState(false);\n return <Trigger action={['click']} popupVisible={open} onPopupVisibleChange={setOpen} disabled={false} popup={<ColorPicker mode=\"single\" />}><Button size=\"normal\" aria-label=\"选择颜色\">{\"选择颜色\"}</Button></Trigger>;\n}",
|
|
691
|
+
"exampleNodeId": "930:120520",
|
|
692
|
+
"exampleImports": [
|
|
693
|
+
"import React from 'react';",
|
|
694
|
+
"import { ColorPicker } from '@fx-ui/fine-design';",
|
|
695
|
+
"import { Trigger } from '@fx-ui/fine-design';",
|
|
696
|
+
"import { Button } from '@fx-ui/fine-design';"
|
|
697
|
+
],
|
|
698
|
+
"properties": {
|
|
699
|
+
"展开 Open": "BOOLEAN"
|
|
700
|
+
},
|
|
701
|
+
"recommendations": []
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"file": "ColorPickerPanel.figma.ts",
|
|
705
|
+
"nodeId": "928:119394",
|
|
706
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=928-119394",
|
|
707
|
+
"component": "ColorPicker",
|
|
708
|
+
"designName": "颜色选择器 ColorPicker/选择面板 Panel",
|
|
709
|
+
"source": "src/components/color-picker/ColorPickerPane.tsx",
|
|
710
|
+
"templateId": "fd-color-picker-panel",
|
|
711
|
+
"imports": [
|
|
712
|
+
"import { ColorPicker } from '@fx-ui/fine-design';"
|
|
713
|
+
],
|
|
714
|
+
"connectedComponent": "ColorPicker",
|
|
715
|
+
"wrapperSignature": null,
|
|
716
|
+
"shortcut": "the design exposes no color/stops properties; built-in defaults apply until real values are supplied.",
|
|
717
|
+
"businessInputs": null,
|
|
718
|
+
"exampleSnippet": null,
|
|
719
|
+
"exampleNodeId": null,
|
|
720
|
+
"exampleImports": null,
|
|
721
|
+
"properties": {
|
|
722
|
+
"扩展区域": "BOOLEAN",
|
|
723
|
+
"标题": "BOOLEAN",
|
|
724
|
+
"透明度": "BOOLEAN",
|
|
725
|
+
"渐变色": "BOOLEAN"
|
|
726
|
+
},
|
|
727
|
+
"recommendations": []
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
"file": "ColorPickerTrigger.figma.ts",
|
|
731
|
+
"nodeId": "930:120535",
|
|
732
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=930-120535",
|
|
733
|
+
"component": "Button",
|
|
734
|
+
"designName": "颜色选择器 ColorPicker/触发器 Trigger",
|
|
735
|
+
"source": "src/components/button/Button.tsx",
|
|
736
|
+
"templateId": "fd-color-picker-trigger",
|
|
737
|
+
"imports": [
|
|
738
|
+
"import { Button } from '@fx-ui/fine-design';"
|
|
739
|
+
],
|
|
740
|
+
"connectedComponent": "Button",
|
|
741
|
+
"wrapperSignature": null,
|
|
742
|
+
"shortcut": "the library has no color-swatch trigger; use an accessible Button until that visual is implemented.",
|
|
743
|
+
"businessInputs": null,
|
|
744
|
+
"exampleSnippet": null,
|
|
745
|
+
"exampleNodeId": null,
|
|
746
|
+
"exampleImports": null,
|
|
747
|
+
"properties": {
|
|
748
|
+
"色值": "BOOLEAN",
|
|
749
|
+
"状态 State": [
|
|
750
|
+
"默认 Enabled",
|
|
751
|
+
"悬停 Hovered",
|
|
752
|
+
"聚焦 Focused",
|
|
753
|
+
"按下/激活 Pressed",
|
|
754
|
+
"禁用 Disabled"
|
|
755
|
+
],
|
|
756
|
+
"尺寸 Size": [
|
|
757
|
+
"默认 Default",
|
|
758
|
+
"大 Large",
|
|
759
|
+
"小 Small"
|
|
760
|
+
],
|
|
761
|
+
"类型": [
|
|
762
|
+
"单色Single",
|
|
763
|
+
"渐变Gradient"
|
|
764
|
+
]
|
|
765
|
+
},
|
|
766
|
+
"recommendations": [
|
|
767
|
+
"纯图标 Button 的 aria-label 需结合业务语境明确操作目的",
|
|
768
|
+
"如需加载态,传入 loading 属性",
|
|
769
|
+
"按钮组合排列优先使用 Button.Group"
|
|
770
|
+
]
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"file": "Datetime.figma.ts",
|
|
774
|
+
"nodeId": "100:6625",
|
|
775
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=100-6625",
|
|
776
|
+
"component": "Datetime",
|
|
777
|
+
"designName": "日期时间 DateTime",
|
|
778
|
+
"source": "src/components/datetime/Datetime.tsx",
|
|
779
|
+
"templateId": "fd-datetime",
|
|
780
|
+
"imports": [
|
|
781
|
+
"import React from 'react';",
|
|
782
|
+
"import { Datetime, DatetimeRange } from '@fx-ui/fine-design';"
|
|
783
|
+
],
|
|
784
|
+
"connectedComponent": "ConnectedDatetime",
|
|
785
|
+
"wrapperSignature": null,
|
|
786
|
+
"shortcut": "range visibility/borders lack public props; footer and quarter/week semantics still need business verification.",
|
|
787
|
+
"businessInputs": "季度、周和纯时间粒度需提供可用的 `format`",
|
|
788
|
+
"exampleSnippet": "function ConnectedDatetime() {\n const [visible, setVisible] = React.useState(false);\n return <Datetime format={\"yyyy\"} visible={visible} onDropdownVisibleChange={setVisible} hasBorder={true} />;\n}",
|
|
789
|
+
"exampleNodeId": "9949:5161",
|
|
790
|
+
"exampleImports": [
|
|
791
|
+
"import React from 'react';",
|
|
792
|
+
"import { Datetime, DatetimeRange } from '@fx-ui/fine-design';"
|
|
793
|
+
],
|
|
794
|
+
"properties": {
|
|
795
|
+
"底部扩展 Footer": "BOOLEAN",
|
|
796
|
+
"展开 Open": "BOOLEAN",
|
|
797
|
+
"粒度": [
|
|
798
|
+
"年",
|
|
799
|
+
"年季度",
|
|
800
|
+
"年月",
|
|
801
|
+
"年月日",
|
|
802
|
+
"年月日时分",
|
|
803
|
+
"年月日时分秒",
|
|
804
|
+
"时分",
|
|
805
|
+
"时分秒",
|
|
806
|
+
"年周"
|
|
807
|
+
],
|
|
808
|
+
"范围录入 Range": [
|
|
809
|
+
"False",
|
|
810
|
+
"True"
|
|
811
|
+
]
|
|
812
|
+
},
|
|
813
|
+
"recommendations": []
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
"file": "Dialog.figma.ts",
|
|
817
|
+
"nodeId": "17263:309808",
|
|
818
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=17263-309808",
|
|
819
|
+
"component": "Dialog",
|
|
820
|
+
"designName": "对话框 Modal-Dialog",
|
|
821
|
+
"source": "src/components/dialog/Dialog.tsx",
|
|
822
|
+
"templateId": "fd-dialog",
|
|
823
|
+
"imports": [
|
|
824
|
+
"import React from 'react';",
|
|
825
|
+
"import { Dialog } from '@fx-ui/fine-design';"
|
|
826
|
+
],
|
|
827
|
+
"connectedComponent": "ConnectedDialog",
|
|
828
|
+
"wrapperSignature": null,
|
|
829
|
+
"shortcut": "automatic height needs an application-measured numeric height; Dialog's positioning cannot handle height=\"auto\".",
|
|
830
|
+
"businessInputs": "内容 children、确认回调 `onOk`。自适应高度变体另需数值 `height`",
|
|
831
|
+
"exampleSnippet": "function ConnectedDialog({ children, onOk }: React.PropsWithChildren<Pick<React.ComponentProps<typeof Dialog>, 'onOk'>>) {\n const [visible, setVisible] = React.useState(true);\n return <Dialog visible={visible} onCancel={() => setVisible(false)} onOk={async event => { await onOk?.(event); setVisible(false); }} width={450} height={200} title={\"Title\"} closable={true} separator={{ header: true, footer: true }} text4Ok={\"确定\"} text4Cancel={\"取消\"}>{children}</Dialog>;\n}",
|
|
832
|
+
"exampleNodeId": "17263:223633",
|
|
833
|
+
"exampleImports": [
|
|
834
|
+
"import React from 'react';",
|
|
835
|
+
"import { Dialog } from '@fx-ui/fine-design';"
|
|
836
|
+
],
|
|
837
|
+
"properties": {
|
|
838
|
+
"Footer": "BOOLEAN",
|
|
839
|
+
"Header": "BOOLEAN",
|
|
840
|
+
"尺寸": [
|
|
841
|
+
"Small",
|
|
842
|
+
"Middle",
|
|
843
|
+
"Large"
|
|
844
|
+
],
|
|
845
|
+
"高度自适应": [
|
|
846
|
+
"False",
|
|
847
|
+
"True"
|
|
848
|
+
]
|
|
849
|
+
},
|
|
850
|
+
"recommendations": [
|
|
851
|
+
"对话框主组件使用 Dialog,受控显示使用 visible 与 onCancel/onOk",
|
|
852
|
+
"自适应高度变体需由业务测量并显式传入数值 height"
|
|
853
|
+
]
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
"file": "Divider.figma.ts",
|
|
857
|
+
"nodeId": "97:4234",
|
|
858
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=97-4234",
|
|
859
|
+
"component": "Divider",
|
|
860
|
+
"designName": "分割线 Divider",
|
|
861
|
+
"source": "src/components/divider/Divider.tsx",
|
|
862
|
+
"templateId": "fd-divider",
|
|
863
|
+
"imports": [
|
|
864
|
+
"import { Divider } from '@fx-ui/fine-design';"
|
|
865
|
+
],
|
|
866
|
+
"connectedComponent": "Divider",
|
|
867
|
+
"wrapperSignature": null,
|
|
868
|
+
"shortcut": "public Divider has no title or title alignment; use application composition for titled variants.",
|
|
869
|
+
"businessInputs": null,
|
|
870
|
+
"exampleSnippet": "<Divider />",
|
|
871
|
+
"exampleNodeId": null,
|
|
872
|
+
"exampleImports": null,
|
|
873
|
+
"properties": {
|
|
874
|
+
"方向 Direction": [
|
|
875
|
+
"纵向 Vertical",
|
|
876
|
+
"横向 Horizontal"
|
|
877
|
+
],
|
|
878
|
+
"类型 Type": [
|
|
879
|
+
"虚线 Dashed",
|
|
880
|
+
"实线 Solid"
|
|
881
|
+
],
|
|
882
|
+
"标题 Title": [
|
|
883
|
+
"True",
|
|
884
|
+
"false"
|
|
885
|
+
],
|
|
886
|
+
"位置": [
|
|
887
|
+
"N/A",
|
|
888
|
+
"左",
|
|
889
|
+
"中",
|
|
890
|
+
"右"
|
|
891
|
+
]
|
|
892
|
+
},
|
|
893
|
+
"recommendations": []
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
"file": "Drawer.figma.ts",
|
|
897
|
+
"nodeId": "810:81903",
|
|
898
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=810-81903",
|
|
899
|
+
"component": "Drawer",
|
|
900
|
+
"designName": "抽屉 Drawer",
|
|
901
|
+
"source": "src/components/drawer/Drawer.tsx",
|
|
902
|
+
"templateId": "fd-drawer",
|
|
903
|
+
"imports": [
|
|
904
|
+
"import React from 'react';",
|
|
905
|
+
"import { Drawer } from '@fx-ui/fine-design';"
|
|
906
|
+
],
|
|
907
|
+
"connectedComponent": "ConnectedDrawer",
|
|
908
|
+
"wrapperSignature": "function ConnectedDrawer({ children, edge }: React.PropsWithChildren<{ edge?: React.ComponentProps<typeof Drawer>['edge'] }>)",
|
|
909
|
+
"shortcut": "body content and edge dimensions are business inputs; design size names are not guessed as pixels.",
|
|
910
|
+
"businessInputs": null,
|
|
911
|
+
"exampleSnippet": null,
|
|
912
|
+
"exampleNodeId": null,
|
|
913
|
+
"exampleImports": null,
|
|
914
|
+
"properties": {
|
|
915
|
+
"底部 Footer": "BOOLEAN",
|
|
916
|
+
"关闭icon": "BOOLEAN",
|
|
917
|
+
"位置": [
|
|
918
|
+
"右",
|
|
919
|
+
"左",
|
|
920
|
+
"下"
|
|
921
|
+
],
|
|
922
|
+
"尺寸 Size": [
|
|
923
|
+
"默认 Default",
|
|
924
|
+
"大 Large"
|
|
925
|
+
]
|
|
926
|
+
},
|
|
927
|
+
"recommendations": [
|
|
928
|
+
"抽屉组件受控显示使用 visible 与 onClose/onCancel",
|
|
929
|
+
"尺寸命名对应到具体 width / height 数值"
|
|
930
|
+
]
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
"file": "Image.figma.ts",
|
|
934
|
+
"nodeId": "1137:79709",
|
|
935
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=1137-79709",
|
|
936
|
+
"component": "Image",
|
|
937
|
+
"designName": "图片 Image",
|
|
938
|
+
"source": "src/components/image/Image.tsx",
|
|
939
|
+
"templateId": "fd-image",
|
|
940
|
+
"imports": [
|
|
941
|
+
"import { Image } from '@fx-ui/fine-design';"
|
|
942
|
+
],
|
|
943
|
+
"connectedComponent": "ConnectedImage",
|
|
944
|
+
"wrapperSignature": "function ConnectedImage({ src, alt }: { src: string; alt: string })",
|
|
945
|
+
"shortcut": "design has no src; callers supply the asset. Hover/failure are runtime states, not preview/error props.",
|
|
946
|
+
"businessInputs": "图片地址 `src` 和替代文本 `alt`",
|
|
947
|
+
"exampleSnippet": null,
|
|
948
|
+
"exampleNodeId": null,
|
|
949
|
+
"exampleImports": null,
|
|
950
|
+
"properties": {
|
|
951
|
+
"悬停 Hovered": [
|
|
952
|
+
"False",
|
|
953
|
+
"True"
|
|
954
|
+
],
|
|
955
|
+
"加载失败": [
|
|
956
|
+
"False",
|
|
957
|
+
"True"
|
|
958
|
+
]
|
|
959
|
+
},
|
|
960
|
+
"recommendations": []
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
"file": "Input.figma.ts",
|
|
964
|
+
"nodeId": "4669:256670",
|
|
965
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=4669-256670",
|
|
966
|
+
"component": "Input",
|
|
967
|
+
"designName": "输入框 Input",
|
|
968
|
+
"source": "src/components/input/Input.tsx",
|
|
969
|
+
"templateId": "fd-input",
|
|
970
|
+
"imports": [
|
|
971
|
+
"import { Input } from '@fx-ui/fine-design';"
|
|
972
|
+
],
|
|
973
|
+
"connectedComponent": "Input",
|
|
974
|
+
"wrapperSignature": null,
|
|
975
|
+
"shortcut": "outer prefix/suffix addons need business content; the body retains its independent settings.",
|
|
976
|
+
"businessInputs": null,
|
|
977
|
+
"exampleSnippet": null,
|
|
978
|
+
"exampleNodeId": null,
|
|
979
|
+
"exampleImports": null,
|
|
980
|
+
"properties": {
|
|
981
|
+
"前缀": [
|
|
982
|
+
"False",
|
|
983
|
+
"True"
|
|
984
|
+
],
|
|
985
|
+
"后缀": [
|
|
986
|
+
"True",
|
|
987
|
+
"False"
|
|
988
|
+
]
|
|
989
|
+
},
|
|
990
|
+
"recommendations": []
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"file": "InputBody.figma.ts",
|
|
994
|
+
"nodeId": "278:64613",
|
|
995
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=278-64613",
|
|
996
|
+
"component": "Input",
|
|
997
|
+
"designName": "输入框主体 InputBody",
|
|
998
|
+
"source": "src/components/input/Input.tsx",
|
|
999
|
+
"templateId": "fd-input-body",
|
|
1000
|
+
"imports": [
|
|
1001
|
+
"import { Input } from '@fx-ui/fine-design';"
|
|
1002
|
+
],
|
|
1003
|
+
"connectedComponent": "Input",
|
|
1004
|
+
"wrapperSignature": null,
|
|
1005
|
+
"shortcut": null,
|
|
1006
|
+
"businessInputs": null,
|
|
1007
|
+
"exampleSnippet": null,
|
|
1008
|
+
"exampleNodeId": null,
|
|
1009
|
+
"exampleImports": null,
|
|
1010
|
+
"properties": {
|
|
1011
|
+
"前置icon": "BOOLEAN",
|
|
1012
|
+
"后置icon": "BOOLEAN",
|
|
1013
|
+
"错误提示": "BOOLEAN",
|
|
1014
|
+
"半包裹": [
|
|
1015
|
+
"False",
|
|
1016
|
+
"True"
|
|
1017
|
+
],
|
|
1018
|
+
"尺寸 Size": [
|
|
1019
|
+
"默认 Default",
|
|
1020
|
+
"大 Large",
|
|
1021
|
+
"小 Small"
|
|
1022
|
+
],
|
|
1023
|
+
"状态 State": [
|
|
1024
|
+
"默认 Enabled",
|
|
1025
|
+
"悬停 Hovered",
|
|
1026
|
+
"聚焦 Focused",
|
|
1027
|
+
"按下/激活 Pressed",
|
|
1028
|
+
"禁用 Disabled"
|
|
1029
|
+
],
|
|
1030
|
+
"多行文本 TextArea": [
|
|
1031
|
+
"true",
|
|
1032
|
+
"False"
|
|
1033
|
+
],
|
|
1034
|
+
"错误 Error": [
|
|
1035
|
+
"False",
|
|
1036
|
+
"True"
|
|
1037
|
+
]
|
|
1038
|
+
},
|
|
1039
|
+
"recommendations": []
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
"file": "InputNumber.figma.ts",
|
|
1043
|
+
"nodeId": "4669:256860",
|
|
1044
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=4669-256860",
|
|
1045
|
+
"component": "InputNumber",
|
|
1046
|
+
"designName": "数值输入框 InputNumber",
|
|
1047
|
+
"source": "src/components/input-number/InputNumber.tsx",
|
|
1048
|
+
"templateId": "fd-input-number",
|
|
1049
|
+
"imports": [
|
|
1050
|
+
"import { InputNumber } from '@fx-ui/fine-design';"
|
|
1051
|
+
],
|
|
1052
|
+
"connectedComponent": "InputNumber",
|
|
1053
|
+
"wrapperSignature": null,
|
|
1054
|
+
"shortcut": null,
|
|
1055
|
+
"businessInputs": null,
|
|
1056
|
+
"exampleSnippet": null,
|
|
1057
|
+
"exampleNodeId": null,
|
|
1058
|
+
"exampleImports": null,
|
|
1059
|
+
"properties": {
|
|
1060
|
+
"前缀": [
|
|
1061
|
+
"False",
|
|
1062
|
+
"True"
|
|
1063
|
+
],
|
|
1064
|
+
"后缀": [
|
|
1065
|
+
"True",
|
|
1066
|
+
"False"
|
|
1067
|
+
],
|
|
1068
|
+
"左右模式": [
|
|
1069
|
+
"False",
|
|
1070
|
+
"True"
|
|
1071
|
+
]
|
|
1072
|
+
},
|
|
1073
|
+
"recommendations": []
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
"file": "InputNumberBody.figma.ts",
|
|
1077
|
+
"nodeId": "574:75691",
|
|
1078
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=574-75691",
|
|
1079
|
+
"component": "InputNumber",
|
|
1080
|
+
"designName": "数值输入框主体 InputNumberBody",
|
|
1081
|
+
"source": "src/components/input-number/InputNumber.tsx",
|
|
1082
|
+
"templateId": "fd-input-number-body",
|
|
1083
|
+
"imports": [
|
|
1084
|
+
"import { InputNumber } from '@fx-ui/fine-design';"
|
|
1085
|
+
],
|
|
1086
|
+
"connectedComponent": "InputNumber",
|
|
1087
|
+
"wrapperSignature": null,
|
|
1088
|
+
"shortcut": null,
|
|
1089
|
+
"businessInputs": null,
|
|
1090
|
+
"exampleSnippet": null,
|
|
1091
|
+
"exampleNodeId": null,
|
|
1092
|
+
"exampleImports": null,
|
|
1093
|
+
"properties": {
|
|
1094
|
+
"前置icon": "BOOLEAN",
|
|
1095
|
+
"后置icon": "BOOLEAN",
|
|
1096
|
+
"左-微调器": "BOOLEAN",
|
|
1097
|
+
"右-微调器": "BOOLEAN",
|
|
1098
|
+
"微调器": "BOOLEAN",
|
|
1099
|
+
"校验提示": "BOOLEAN",
|
|
1100
|
+
"半包裹": [
|
|
1101
|
+
"False",
|
|
1102
|
+
"True"
|
|
1103
|
+
],
|
|
1104
|
+
"状态 State": [
|
|
1105
|
+
"默认 Enabled",
|
|
1106
|
+
"悬停 Hovered",
|
|
1107
|
+
"按下/激活 Pressed",
|
|
1108
|
+
"聚焦 Focused",
|
|
1109
|
+
"禁用 Disabled"
|
|
1110
|
+
],
|
|
1111
|
+
"范围录入 Range": [
|
|
1112
|
+
"False",
|
|
1113
|
+
"True"
|
|
1114
|
+
],
|
|
1115
|
+
"尺寸 Size": [
|
|
1116
|
+
"默认 Default",
|
|
1117
|
+
"大 Large",
|
|
1118
|
+
"小 Small"
|
|
1119
|
+
],
|
|
1120
|
+
"错误 Error": [
|
|
1121
|
+
"False",
|
|
1122
|
+
"True"
|
|
1123
|
+
]
|
|
1124
|
+
},
|
|
1125
|
+
"recommendations": []
|
|
1126
|
+
},
|
|
1127
|
+
{
|
|
1128
|
+
"file": "InputNumberSides.figma.ts",
|
|
1129
|
+
"nodeId": "4746:121077",
|
|
1130
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=4746-121077",
|
|
1131
|
+
"component": "InputNumber",
|
|
1132
|
+
"designName": "左右数值输入框",
|
|
1133
|
+
"source": "src/components/input-number/InputNumber.tsx",
|
|
1134
|
+
"templateId": "fd-input-number-sides",
|
|
1135
|
+
"imports": [
|
|
1136
|
+
"import { InputNumber } from '@fx-ui/fine-design';"
|
|
1137
|
+
],
|
|
1138
|
+
"connectedComponent": "InputNumber",
|
|
1139
|
+
"wrapperSignature": null,
|
|
1140
|
+
"shortcut": null,
|
|
1141
|
+
"businessInputs": null,
|
|
1142
|
+
"exampleSnippet": null,
|
|
1143
|
+
"exampleNodeId": null,
|
|
1144
|
+
"exampleImports": null,
|
|
1145
|
+
"properties": {
|
|
1146
|
+
"前置icon": "BOOLEAN",
|
|
1147
|
+
"后置icon": "BOOLEAN",
|
|
1148
|
+
"状态": [
|
|
1149
|
+
"Enabled",
|
|
1150
|
+
"Hovered",
|
|
1151
|
+
"Focused",
|
|
1152
|
+
"Pressed",
|
|
1153
|
+
"Disabled"
|
|
1154
|
+
],
|
|
1155
|
+
"Size": [
|
|
1156
|
+
"默认",
|
|
1157
|
+
"大",
|
|
1158
|
+
"小"
|
|
1159
|
+
]
|
|
1160
|
+
},
|
|
1161
|
+
"recommendations": []
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
"file": "Instruction.figma.ts",
|
|
1165
|
+
"nodeId": "817:82829",
|
|
1166
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=817-82829",
|
|
1167
|
+
"component": "Instruction",
|
|
1168
|
+
"designName": "说明提示 Instruction",
|
|
1169
|
+
"source": "src/components/instruction/Instruction.tsx",
|
|
1170
|
+
"templateId": "fd-instruction",
|
|
1171
|
+
"imports": [
|
|
1172
|
+
"import { Instruction } from '@fx-ui/fine-design';"
|
|
1173
|
+
],
|
|
1174
|
+
"connectedComponent": "Instruction",
|
|
1175
|
+
"wrapperSignature": null,
|
|
1176
|
+
"shortcut": null,
|
|
1177
|
+
"businessInputs": null,
|
|
1178
|
+
"exampleSnippet": "<Instruction message=\"操作说明提示\" />",
|
|
1179
|
+
"exampleNodeId": null,
|
|
1180
|
+
"exampleImports": null,
|
|
1181
|
+
"properties": {
|
|
1182
|
+
"关闭": "BOOLEAN",
|
|
1183
|
+
"icon": "BOOLEAN",
|
|
1184
|
+
"操作按钮": "BOOLEAN",
|
|
1185
|
+
"类型 Type": [
|
|
1186
|
+
"提示 Info",
|
|
1187
|
+
"警告 Warning",
|
|
1188
|
+
"成功 Success",
|
|
1189
|
+
"错误 Error"
|
|
1190
|
+
],
|
|
1191
|
+
"描述内容 Description": [
|
|
1192
|
+
"false",
|
|
1193
|
+
"true"
|
|
1194
|
+
],
|
|
1195
|
+
"描边": [
|
|
1196
|
+
"True",
|
|
1197
|
+
"False"
|
|
1198
|
+
]
|
|
1199
|
+
},
|
|
1200
|
+
"recommendations": []
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
"file": "List.figma.ts",
|
|
1204
|
+
"nodeId": "5090:43660",
|
|
1205
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=5090-43660",
|
|
1206
|
+
"component": "List",
|
|
1207
|
+
"designName": "List",
|
|
1208
|
+
"source": "src/components/list/List.tsx",
|
|
1209
|
+
"templateId": "fd-list",
|
|
1210
|
+
"imports": [
|
|
1211
|
+
"import { List } from '@fx-ui/fine-design';"
|
|
1212
|
+
],
|
|
1213
|
+
"connectedComponent": "List",
|
|
1214
|
+
"wrapperSignature": null,
|
|
1215
|
+
"shortcut": null,
|
|
1216
|
+
"businessInputs": null,
|
|
1217
|
+
"exampleSnippet": null,
|
|
1218
|
+
"exampleNodeId": null,
|
|
1219
|
+
"exampleImports": null,
|
|
1220
|
+
"properties": {
|
|
1221
|
+
"尺寸": [
|
|
1222
|
+
"默认 Default",
|
|
1223
|
+
"小 Small"
|
|
1224
|
+
]
|
|
1225
|
+
},
|
|
1226
|
+
"recommendations": []
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
"file": "ListItem.figma.ts",
|
|
1230
|
+
"nodeId": "5090:13145",
|
|
1231
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=5090-13145",
|
|
1232
|
+
"component": "List.Item",
|
|
1233
|
+
"designName": "ListItem",
|
|
1234
|
+
"source": "src/components/list/Item.tsx",
|
|
1235
|
+
"templateId": "fd-list-item",
|
|
1236
|
+
"imports": [
|
|
1237
|
+
"import { List } from '@fx-ui/fine-design';"
|
|
1238
|
+
],
|
|
1239
|
+
"connectedComponent": "List.Item",
|
|
1240
|
+
"wrapperSignature": null,
|
|
1241
|
+
"shortcut": "extra actions require business callbacks; the public item has no matching action API.",
|
|
1242
|
+
"businessInputs": null,
|
|
1243
|
+
"exampleSnippet": null,
|
|
1244
|
+
"exampleNodeId": null,
|
|
1245
|
+
"exampleImports": null,
|
|
1246
|
+
"properties": {
|
|
1247
|
+
"Icon": "BOOLEAN",
|
|
1248
|
+
"第二个按钮": "BOOLEAN",
|
|
1249
|
+
"扩展交互": "BOOLEAN",
|
|
1250
|
+
"尺寸": [
|
|
1251
|
+
"默认 Default",
|
|
1252
|
+
"小 Small"
|
|
1253
|
+
]
|
|
1254
|
+
},
|
|
1255
|
+
"recommendations": []
|
|
1256
|
+
},
|
|
1257
|
+
{
|
|
1258
|
+
"file": "Mask.figma.ts",
|
|
1259
|
+
"nodeId": "17889:419912",
|
|
1260
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=17889-419912",
|
|
1261
|
+
"component": "ModalMask",
|
|
1262
|
+
"designName": "遮罩 Mask",
|
|
1263
|
+
"source": "src/components/modal-mask/ModalMask.tsx",
|
|
1264
|
+
"templateId": "fd-mask",
|
|
1265
|
+
"imports": [
|
|
1266
|
+
"import { ModalMask } from '@fx-ui/fine-design';"
|
|
1267
|
+
],
|
|
1268
|
+
"connectedComponent": "ModalMask",
|
|
1269
|
+
"wrapperSignature": null,
|
|
1270
|
+
"shortcut": null,
|
|
1271
|
+
"businessInputs": null,
|
|
1272
|
+
"exampleSnippet": null,
|
|
1273
|
+
"exampleNodeId": null,
|
|
1274
|
+
"exampleImports": null,
|
|
1275
|
+
"properties": {
|
|
1276
|
+
"maskType": [
|
|
1277
|
+
"dark",
|
|
1278
|
+
"light"
|
|
1279
|
+
]
|
|
1280
|
+
},
|
|
1281
|
+
"recommendations": []
|
|
1282
|
+
},
|
|
1283
|
+
{
|
|
1284
|
+
"file": "Menu.figma.ts",
|
|
1285
|
+
"nodeId": "2236:177789",
|
|
1286
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=2236-177789",
|
|
1287
|
+
"component": "Menu",
|
|
1288
|
+
"designName": "菜单 Menu",
|
|
1289
|
+
"source": "src/components/menu/Menu.tsx",
|
|
1290
|
+
"templateId": "fd-menu",
|
|
1291
|
+
"imports": [
|
|
1292
|
+
"import React from 'react';",
|
|
1293
|
+
"import { Menu } from '@fx-ui/fine-design';"
|
|
1294
|
+
],
|
|
1295
|
+
"connectedComponent": "ConnectedMenu",
|
|
1296
|
+
"wrapperSignature": "function ConnectedMenu({ items, onAfterSelect }: Pick<React.ComponentProps<typeof Menu>, 'items' | 'onAfterSelect'>)",
|
|
1297
|
+
"shortcut": "menu item hierarchy, permissions and callbacks come from the application, not the design count variant.",
|
|
1298
|
+
"businessInputs": null,
|
|
1299
|
+
"exampleSnippet": null,
|
|
1300
|
+
"exampleNodeId": null,
|
|
1301
|
+
"exampleImports": null,
|
|
1302
|
+
"properties": {
|
|
1303
|
+
"数量": [
|
|
1304
|
+
"1",
|
|
1305
|
+
"2",
|
|
1306
|
+
"3",
|
|
1307
|
+
"4",
|
|
1308
|
+
"5",
|
|
1309
|
+
"6",
|
|
1310
|
+
"7",
|
|
1311
|
+
"8",
|
|
1312
|
+
"9",
|
|
1313
|
+
"10"
|
|
1314
|
+
]
|
|
1315
|
+
},
|
|
1316
|
+
"recommendations": []
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
"file": "Navigation.figma.ts",
|
|
1320
|
+
"nodeId": "777:88028",
|
|
1321
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=777-88028",
|
|
1322
|
+
"component": "Navigation",
|
|
1323
|
+
"designName": "侧边栏 Navigation",
|
|
1324
|
+
"source": "src/components/navigation/Navigation.tsx",
|
|
1325
|
+
"templateId": "fd-navigation",
|
|
1326
|
+
"imports": [
|
|
1327
|
+
"import { Navigation } from '@fx-ui/fine-design';"
|
|
1328
|
+
],
|
|
1329
|
+
"connectedComponent": "Navigation",
|
|
1330
|
+
"wrapperSignature": null,
|
|
1331
|
+
"shortcut": "design 基本/高级 has no direct theme equivalent; retain the library theme until visually reconciled.",
|
|
1332
|
+
"businessInputs": null,
|
|
1333
|
+
"exampleSnippet": null,
|
|
1334
|
+
"exampleNodeId": null,
|
|
1335
|
+
"exampleImports": null,
|
|
1336
|
+
"properties": {
|
|
1337
|
+
"数量": [
|
|
1338
|
+
"1",
|
|
1339
|
+
"2",
|
|
1340
|
+
"3",
|
|
1341
|
+
"4",
|
|
1342
|
+
"5"
|
|
1343
|
+
],
|
|
1344
|
+
"展开方向": [
|
|
1345
|
+
"垂直",
|
|
1346
|
+
"水平"
|
|
1347
|
+
],
|
|
1348
|
+
"折叠": [
|
|
1349
|
+
"false",
|
|
1350
|
+
"true"
|
|
1351
|
+
],
|
|
1352
|
+
"样式": [
|
|
1353
|
+
"基本",
|
|
1354
|
+
"高级"
|
|
1355
|
+
]
|
|
1356
|
+
},
|
|
1357
|
+
"recommendations": []
|
|
1358
|
+
},
|
|
1359
|
+
{
|
|
1360
|
+
"file": "NavigationItemInline.figma.ts",
|
|
1361
|
+
"nodeId": "777:83511",
|
|
1362
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=777-83511",
|
|
1363
|
+
"component": "Navigation.Item",
|
|
1364
|
+
"designName": "侧边栏 Navigation/选项 item/垂直",
|
|
1365
|
+
"source": "src/components/navigation/NavigationItem.tsx",
|
|
1366
|
+
"templateId": "fd-navigation-item-inline",
|
|
1367
|
+
"imports": [
|
|
1368
|
+
"import { Navigation } from '@fx-ui/fine-design';"
|
|
1369
|
+
],
|
|
1370
|
+
"connectedComponent": "Navigation.Item",
|
|
1371
|
+
"wrapperSignature": null,
|
|
1372
|
+
"shortcut": null,
|
|
1373
|
+
"businessInputs": null,
|
|
1374
|
+
"exampleSnippet": null,
|
|
1375
|
+
"exampleNodeId": null,
|
|
1376
|
+
"exampleImports": null,
|
|
1377
|
+
"properties": {
|
|
1378
|
+
"展开 Open": "BOOLEAN",
|
|
1379
|
+
"Icon": "BOOLEAN",
|
|
1380
|
+
"叶节点 Leaf": [
|
|
1381
|
+
"false",
|
|
1382
|
+
"true"
|
|
1383
|
+
],
|
|
1384
|
+
"已选择 Selected": [
|
|
1385
|
+
"false",
|
|
1386
|
+
"true"
|
|
1387
|
+
],
|
|
1388
|
+
"状态 State": [
|
|
1389
|
+
"Enabled",
|
|
1390
|
+
"Hovered",
|
|
1391
|
+
"Pressed",
|
|
1392
|
+
"Disabled"
|
|
1393
|
+
],
|
|
1394
|
+
"子节点存在选中": [
|
|
1395
|
+
"false",
|
|
1396
|
+
"true"
|
|
1397
|
+
],
|
|
1398
|
+
"分组": [
|
|
1399
|
+
"False",
|
|
1400
|
+
"True"
|
|
1401
|
+
],
|
|
1402
|
+
"样式": [
|
|
1403
|
+
"基本",
|
|
1404
|
+
"高级"
|
|
1405
|
+
]
|
|
1406
|
+
},
|
|
1407
|
+
"recommendations": []
|
|
1408
|
+
},
|
|
1409
|
+
{
|
|
1410
|
+
"file": "NavigationItemLevel2Inline.figma.ts",
|
|
1411
|
+
"nodeId": "777:83837",
|
|
1412
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=777-83837",
|
|
1413
|
+
"component": "Navigation.Item",
|
|
1414
|
+
"designName": "侧边栏 Navigation/二级面板 Panel-2/选项 item-2/垂直",
|
|
1415
|
+
"source": "src/components/navigation/NavigationItem.tsx",
|
|
1416
|
+
"templateId": "fd-navigation-item-level2-inline",
|
|
1417
|
+
"imports": [
|
|
1418
|
+
"import { Navigation } from '@fx-ui/fine-design';"
|
|
1419
|
+
],
|
|
1420
|
+
"connectedComponent": "Navigation.Item",
|
|
1421
|
+
"wrapperSignature": null,
|
|
1422
|
+
"shortcut": null,
|
|
1423
|
+
"businessInputs": null,
|
|
1424
|
+
"exampleSnippet": null,
|
|
1425
|
+
"exampleNodeId": null,
|
|
1426
|
+
"exampleImports": null,
|
|
1427
|
+
"properties": {
|
|
1428
|
+
"展开 Open": "BOOLEAN",
|
|
1429
|
+
"Icon": "BOOLEAN",
|
|
1430
|
+
"叶节点 Leaf": [
|
|
1431
|
+
"false",
|
|
1432
|
+
"true"
|
|
1433
|
+
],
|
|
1434
|
+
"已选择 Selected": [
|
|
1435
|
+
"false",
|
|
1436
|
+
"true"
|
|
1437
|
+
],
|
|
1438
|
+
"状态 State": [
|
|
1439
|
+
"Enabled",
|
|
1440
|
+
"Hovered",
|
|
1441
|
+
"Pressed",
|
|
1442
|
+
"Disabled"
|
|
1443
|
+
],
|
|
1444
|
+
"子节点存在选中": [
|
|
1445
|
+
"false",
|
|
1446
|
+
"true"
|
|
1447
|
+
],
|
|
1448
|
+
"分组": [
|
|
1449
|
+
"False",
|
|
1450
|
+
"True"
|
|
1451
|
+
],
|
|
1452
|
+
"样式": [
|
|
1453
|
+
"基本",
|
|
1454
|
+
"高级"
|
|
1455
|
+
]
|
|
1456
|
+
},
|
|
1457
|
+
"recommendations": []
|
|
1458
|
+
},
|
|
1459
|
+
{
|
|
1460
|
+
"file": "NavigationItemLevel2Popup.figma.ts",
|
|
1461
|
+
"nodeId": "777:88255",
|
|
1462
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=777-88255",
|
|
1463
|
+
"component": "Navigation.Item",
|
|
1464
|
+
"designName": "侧边栏 Navigation/二级面板 Panel-2/选项 item-2/水平",
|
|
1465
|
+
"source": "src/components/navigation/NavigationItem.tsx",
|
|
1466
|
+
"templateId": "fd-navigation-item-level2-popup",
|
|
1467
|
+
"imports": [
|
|
1468
|
+
"import { Navigation } from '@fx-ui/fine-design';"
|
|
1469
|
+
],
|
|
1470
|
+
"connectedComponent": "Navigation.Item",
|
|
1471
|
+
"wrapperSignature": null,
|
|
1472
|
+
"shortcut": null,
|
|
1473
|
+
"businessInputs": null,
|
|
1474
|
+
"exampleSnippet": null,
|
|
1475
|
+
"exampleNodeId": null,
|
|
1476
|
+
"exampleImports": null,
|
|
1477
|
+
"properties": {
|
|
1478
|
+
"展开 Open": "BOOLEAN",
|
|
1479
|
+
"Icon": "BOOLEAN",
|
|
1480
|
+
"叶节点 Leaf": [
|
|
1481
|
+
"false",
|
|
1482
|
+
"true"
|
|
1483
|
+
],
|
|
1484
|
+
"已选择 Selected": [
|
|
1485
|
+
"false",
|
|
1486
|
+
"true"
|
|
1487
|
+
],
|
|
1488
|
+
"状态 State": [
|
|
1489
|
+
"Enabled",
|
|
1490
|
+
"Hovered",
|
|
1491
|
+
"Pressed",
|
|
1492
|
+
"Disabled"
|
|
1493
|
+
],
|
|
1494
|
+
"子节点存在选中": [
|
|
1495
|
+
"false",
|
|
1496
|
+
"true"
|
|
1497
|
+
],
|
|
1498
|
+
"分组": [
|
|
1499
|
+
"False",
|
|
1500
|
+
"True"
|
|
1501
|
+
]
|
|
1502
|
+
},
|
|
1503
|
+
"recommendations": []
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
"file": "NavigationItemLevel3Inline.figma.ts",
|
|
1507
|
+
"nodeId": "777:84130",
|
|
1508
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=777-84130",
|
|
1509
|
+
"component": "Navigation.Item",
|
|
1510
|
+
"designName": "侧边栏 Navigation/三级面板 Panel-3/选项 item-3/垂直",
|
|
1511
|
+
"source": "src/components/navigation/NavigationItem.tsx",
|
|
1512
|
+
"templateId": "fd-navigation-item-level3-inline",
|
|
1513
|
+
"imports": [
|
|
1514
|
+
"import { Navigation } from '@fx-ui/fine-design';"
|
|
1515
|
+
],
|
|
1516
|
+
"connectedComponent": "Navigation.Item",
|
|
1517
|
+
"wrapperSignature": null,
|
|
1518
|
+
"shortcut": null,
|
|
1519
|
+
"businessInputs": null,
|
|
1520
|
+
"exampleSnippet": null,
|
|
1521
|
+
"exampleNodeId": null,
|
|
1522
|
+
"exampleImports": null,
|
|
1523
|
+
"properties": {
|
|
1524
|
+
"Icon": "BOOLEAN",
|
|
1525
|
+
"叶节点 Leaf": [
|
|
1526
|
+
"true",
|
|
1527
|
+
"false"
|
|
1528
|
+
],
|
|
1529
|
+
"已选择 Selected": [
|
|
1530
|
+
"false",
|
|
1531
|
+
"true"
|
|
1532
|
+
],
|
|
1533
|
+
"状态 State": [
|
|
1534
|
+
"Enabled",
|
|
1535
|
+
"Hovered",
|
|
1536
|
+
"Pressed",
|
|
1537
|
+
"Disabled"
|
|
1538
|
+
],
|
|
1539
|
+
"子节点存在选中": [
|
|
1540
|
+
"false",
|
|
1541
|
+
"true"
|
|
1542
|
+
],
|
|
1543
|
+
"分组": [
|
|
1544
|
+
"False",
|
|
1545
|
+
"True"
|
|
1546
|
+
],
|
|
1547
|
+
"样式": [
|
|
1548
|
+
"基本",
|
|
1549
|
+
"高级"
|
|
1550
|
+
]
|
|
1551
|
+
},
|
|
1552
|
+
"recommendations": []
|
|
1553
|
+
},
|
|
1554
|
+
{
|
|
1555
|
+
"file": "NavigationItemLevel3Popup.figma.ts",
|
|
1556
|
+
"nodeId": "777:88317",
|
|
1557
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=777-88317",
|
|
1558
|
+
"component": "Navigation.Item",
|
|
1559
|
+
"designName": "侧边栏 Navigation/三级面板 Panel-3/选项 item-3/水平",
|
|
1560
|
+
"source": "src/components/navigation/NavigationItem.tsx",
|
|
1561
|
+
"templateId": "fd-navigation-item-level3-popup",
|
|
1562
|
+
"imports": [
|
|
1563
|
+
"import { Navigation } from '@fx-ui/fine-design';"
|
|
1564
|
+
],
|
|
1565
|
+
"connectedComponent": "Navigation.Item",
|
|
1566
|
+
"wrapperSignature": null,
|
|
1567
|
+
"shortcut": null,
|
|
1568
|
+
"businessInputs": null,
|
|
1569
|
+
"exampleSnippet": null,
|
|
1570
|
+
"exampleNodeId": null,
|
|
1571
|
+
"exampleImports": null,
|
|
1572
|
+
"properties": {
|
|
1573
|
+
"Icon": "BOOLEAN",
|
|
1574
|
+
"叶节点 Leaf": [
|
|
1575
|
+
"true",
|
|
1576
|
+
"false"
|
|
1577
|
+
],
|
|
1578
|
+
"已选择 Selected": [
|
|
1579
|
+
"false",
|
|
1580
|
+
"true"
|
|
1581
|
+
],
|
|
1582
|
+
"状态 State": [
|
|
1583
|
+
"Enabled",
|
|
1584
|
+
"Hovered",
|
|
1585
|
+
"Pressed",
|
|
1586
|
+
"Disabled"
|
|
1587
|
+
],
|
|
1588
|
+
"子节点存在选中": [
|
|
1589
|
+
"false",
|
|
1590
|
+
"true"
|
|
1591
|
+
],
|
|
1592
|
+
"分组": [
|
|
1593
|
+
"False",
|
|
1594
|
+
"True"
|
|
1595
|
+
]
|
|
1596
|
+
},
|
|
1597
|
+
"recommendations": []
|
|
1598
|
+
},
|
|
1599
|
+
{
|
|
1600
|
+
"file": "NavigationItemPopup.figma.ts",
|
|
1601
|
+
"nodeId": "777:88149",
|
|
1602
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=777-88149",
|
|
1603
|
+
"component": "Navigation.Item",
|
|
1604
|
+
"designName": "侧边栏 Navigation/选项 item/水平",
|
|
1605
|
+
"source": "src/components/navigation/NavigationItem.tsx",
|
|
1606
|
+
"templateId": "fd-navigation-item-popup",
|
|
1607
|
+
"imports": [
|
|
1608
|
+
"import { Navigation } from '@fx-ui/fine-design';"
|
|
1609
|
+
],
|
|
1610
|
+
"connectedComponent": "Navigation.Item",
|
|
1611
|
+
"wrapperSignature": null,
|
|
1612
|
+
"shortcut": null,
|
|
1613
|
+
"businessInputs": null,
|
|
1614
|
+
"exampleSnippet": null,
|
|
1615
|
+
"exampleNodeId": null,
|
|
1616
|
+
"exampleImports": null,
|
|
1617
|
+
"properties": {
|
|
1618
|
+
"展开 Open": "BOOLEAN",
|
|
1619
|
+
"Tooltip": "BOOLEAN",
|
|
1620
|
+
"Icon": "BOOLEAN",
|
|
1621
|
+
"叶节点 Leaf": [
|
|
1622
|
+
"false",
|
|
1623
|
+
"true"
|
|
1624
|
+
],
|
|
1625
|
+
"已选择 Selected": [
|
|
1626
|
+
"false",
|
|
1627
|
+
"true"
|
|
1628
|
+
],
|
|
1629
|
+
"状态 State": [
|
|
1630
|
+
"Enabled",
|
|
1631
|
+
"Hovered",
|
|
1632
|
+
"Pressed",
|
|
1633
|
+
"Disabled"
|
|
1634
|
+
],
|
|
1635
|
+
"子节点存在选中": [
|
|
1636
|
+
"false",
|
|
1637
|
+
"true"
|
|
1638
|
+
],
|
|
1639
|
+
"折叠": [
|
|
1640
|
+
"false",
|
|
1641
|
+
"true"
|
|
1642
|
+
],
|
|
1643
|
+
"分组": [
|
|
1644
|
+
"False",
|
|
1645
|
+
"True"
|
|
1646
|
+
],
|
|
1647
|
+
"样式": [
|
|
1648
|
+
"基础",
|
|
1649
|
+
"高级"
|
|
1650
|
+
]
|
|
1651
|
+
},
|
|
1652
|
+
"recommendations": []
|
|
1653
|
+
},
|
|
1654
|
+
{
|
|
1655
|
+
"file": "NavigationPanelLevel2Inline.figma.ts",
|
|
1656
|
+
"nodeId": "777:87317",
|
|
1657
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=777-87317",
|
|
1658
|
+
"component": "Navigation",
|
|
1659
|
+
"designName": "侧边栏 Navigation/二级面板 Panel-2/垂直",
|
|
1660
|
+
"source": "src/components/navigation/Navigation.tsx",
|
|
1661
|
+
"templateId": "fd-navigation-panel-level2-inline",
|
|
1662
|
+
"imports": [
|
|
1663
|
+
"import { Navigation } from '@fx-ui/fine-design';"
|
|
1664
|
+
],
|
|
1665
|
+
"connectedComponent": "Navigation",
|
|
1666
|
+
"wrapperSignature": null,
|
|
1667
|
+
"shortcut": null,
|
|
1668
|
+
"businessInputs": null,
|
|
1669
|
+
"exampleSnippet": null,
|
|
1670
|
+
"exampleNodeId": null,
|
|
1671
|
+
"exampleImports": null,
|
|
1672
|
+
"properties": {
|
|
1673
|
+
"数量": [
|
|
1674
|
+
"5",
|
|
1675
|
+
"4",
|
|
1676
|
+
"3",
|
|
1677
|
+
"2",
|
|
1678
|
+
"1",
|
|
1679
|
+
"数量10",
|
|
1680
|
+
"数量6",
|
|
1681
|
+
"数量7",
|
|
1682
|
+
"数量8",
|
|
1683
|
+
"数量9"
|
|
1684
|
+
]
|
|
1685
|
+
},
|
|
1686
|
+
"recommendations": []
|
|
1687
|
+
},
|
|
1688
|
+
{
|
|
1689
|
+
"file": "NavigationPanelLevel2Popup.figma.ts",
|
|
1690
|
+
"nodeId": "777:88944",
|
|
1691
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=777-88944",
|
|
1692
|
+
"component": "Navigation",
|
|
1693
|
+
"designName": "侧边栏 Navigation/二级面板 Panel-2/水平",
|
|
1694
|
+
"source": "src/components/navigation/Navigation.tsx",
|
|
1695
|
+
"templateId": "fd-navigation-panel-level2-popup",
|
|
1696
|
+
"imports": [
|
|
1697
|
+
"import { Navigation } from '@fx-ui/fine-design';"
|
|
1698
|
+
],
|
|
1699
|
+
"connectedComponent": "Navigation",
|
|
1700
|
+
"wrapperSignature": null,
|
|
1701
|
+
"shortcut": null,
|
|
1702
|
+
"businessInputs": null,
|
|
1703
|
+
"exampleSnippet": null,
|
|
1704
|
+
"exampleNodeId": null,
|
|
1705
|
+
"exampleImports": null,
|
|
1706
|
+
"properties": {
|
|
1707
|
+
"数量": [
|
|
1708
|
+
"5",
|
|
1709
|
+
"4",
|
|
1710
|
+
"3",
|
|
1711
|
+
"2",
|
|
1712
|
+
"1"
|
|
1713
|
+
]
|
|
1714
|
+
},
|
|
1715
|
+
"recommendations": []
|
|
1716
|
+
},
|
|
1717
|
+
{
|
|
1718
|
+
"file": "NavigationPanelLevel3Inline.figma.ts",
|
|
1719
|
+
"nodeId": "777:87073",
|
|
1720
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=777-87073",
|
|
1721
|
+
"component": "Navigation",
|
|
1722
|
+
"designName": "侧边栏 Navigation/三级面板 Panel-3/垂直",
|
|
1723
|
+
"source": "src/components/navigation/Navigation.tsx",
|
|
1724
|
+
"templateId": "fd-navigation-panel-level3-inline",
|
|
1725
|
+
"imports": [
|
|
1726
|
+
"import { Navigation } from '@fx-ui/fine-design';"
|
|
1727
|
+
],
|
|
1728
|
+
"connectedComponent": "Navigation",
|
|
1729
|
+
"wrapperSignature": null,
|
|
1730
|
+
"shortcut": null,
|
|
1731
|
+
"businessInputs": null,
|
|
1732
|
+
"exampleSnippet": null,
|
|
1733
|
+
"exampleNodeId": null,
|
|
1734
|
+
"exampleImports": null,
|
|
1735
|
+
"properties": {
|
|
1736
|
+
"数量": [
|
|
1737
|
+
"5",
|
|
1738
|
+
"4",
|
|
1739
|
+
"3",
|
|
1740
|
+
"2",
|
|
1741
|
+
"1",
|
|
1742
|
+
"数量10",
|
|
1743
|
+
"数量6",
|
|
1744
|
+
"数量7",
|
|
1745
|
+
"数量8",
|
|
1746
|
+
"数量9"
|
|
1747
|
+
]
|
|
1748
|
+
},
|
|
1749
|
+
"recommendations": []
|
|
1750
|
+
},
|
|
1751
|
+
{
|
|
1752
|
+
"file": "NavigationPanelLevel3Popup.figma.ts",
|
|
1753
|
+
"nodeId": "777:88923",
|
|
1754
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=777-88923",
|
|
1755
|
+
"component": "Navigation",
|
|
1756
|
+
"designName": "侧边栏 Navigation/三级面板 Panel-3/水平",
|
|
1757
|
+
"source": "src/components/navigation/Navigation.tsx",
|
|
1758
|
+
"templateId": "fd-navigation-panel-level3-popup",
|
|
1759
|
+
"imports": [
|
|
1760
|
+
"import { Navigation } from '@fx-ui/fine-design';"
|
|
1761
|
+
],
|
|
1762
|
+
"connectedComponent": "Navigation",
|
|
1763
|
+
"wrapperSignature": null,
|
|
1764
|
+
"shortcut": null,
|
|
1765
|
+
"businessInputs": null,
|
|
1766
|
+
"exampleSnippet": null,
|
|
1767
|
+
"exampleNodeId": null,
|
|
1768
|
+
"exampleImports": null,
|
|
1769
|
+
"properties": {
|
|
1770
|
+
"数量": [
|
|
1771
|
+
"5",
|
|
1772
|
+
"4",
|
|
1773
|
+
"3",
|
|
1774
|
+
"2",
|
|
1775
|
+
"1"
|
|
1776
|
+
]
|
|
1777
|
+
},
|
|
1778
|
+
"recommendations": []
|
|
1779
|
+
},
|
|
1780
|
+
{
|
|
1781
|
+
"file": "Notification.figma.ts",
|
|
1782
|
+
"nodeId": "1305:7656",
|
|
1783
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=1305-7656",
|
|
1784
|
+
"component": "Notification",
|
|
1785
|
+
"designName": "通知提醒框 Notification",
|
|
1786
|
+
"source": "src/message/notification/Notification.tsx",
|
|
1787
|
+
"templateId": "fd-notification",
|
|
1788
|
+
"imports": [
|
|
1789
|
+
"import React from 'react';",
|
|
1790
|
+
"import { Notification } from '@fx-ui/fine-design';"
|
|
1791
|
+
],
|
|
1792
|
+
"connectedComponent": "ConnectedNotification",
|
|
1793
|
+
"wrapperSignature": "function ConnectedNotification()",
|
|
1794
|
+
"shortcut": "custom footer/cancel and hiding the close icon are not exposed by Notification.",
|
|
1795
|
+
"businessInputs": null,
|
|
1796
|
+
"exampleSnippet": null,
|
|
1797
|
+
"exampleNodeId": null,
|
|
1798
|
+
"exampleImports": null,
|
|
1799
|
+
"properties": {
|
|
1800
|
+
"关闭": "BOOLEAN",
|
|
1801
|
+
"icon": "BOOLEAN",
|
|
1802
|
+
"Footer": "BOOLEAN",
|
|
1803
|
+
"取消": "BOOLEAN",
|
|
1804
|
+
"自定义左下角": "BOOLEAN",
|
|
1805
|
+
"描述文本": "BOOLEAN",
|
|
1806
|
+
"类型 Type": [
|
|
1807
|
+
"提示 Info",
|
|
1808
|
+
"成功 Success",
|
|
1809
|
+
"警告 Warning",
|
|
1810
|
+
"错误 Error"
|
|
1811
|
+
]
|
|
1812
|
+
},
|
|
1813
|
+
"recommendations": []
|
|
1814
|
+
},
|
|
1815
|
+
{
|
|
1816
|
+
"file": "Pagination.figma.ts",
|
|
1817
|
+
"nodeId": "619:83776",
|
|
1818
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=619-83776",
|
|
1819
|
+
"component": "Pagination",
|
|
1820
|
+
"designName": "翻页器 Pagination",
|
|
1821
|
+
"source": "src/components/pagination/Pagination.tsx",
|
|
1822
|
+
"templateId": "fd-pagination",
|
|
1823
|
+
"imports": [
|
|
1824
|
+
"import React from 'react';",
|
|
1825
|
+
"import { Pagination } from '@fx-ui/fine-design';"
|
|
1826
|
+
],
|
|
1827
|
+
"connectedComponent": "ConnectedPagination",
|
|
1828
|
+
"wrapperSignature": "function ConnectedPagination({ count, size }: { count: number; size: number })",
|
|
1829
|
+
"shortcut": "page size and record count are business data; hiding the size selector needs business layout.",
|
|
1830
|
+
"businessInputs": null,
|
|
1831
|
+
"exampleSnippet": null,
|
|
1832
|
+
"exampleNodeId": null,
|
|
1833
|
+
"exampleImports": null,
|
|
1834
|
+
"properties": {
|
|
1835
|
+
"首尾跳转": "BOOLEAN",
|
|
1836
|
+
"每页数据量": "BOOLEAN",
|
|
1837
|
+
"总数据量": "BOOLEAN",
|
|
1838
|
+
"尺寸 Size": [
|
|
1839
|
+
"默认 Default",
|
|
1840
|
+
"小 Small"
|
|
1841
|
+
],
|
|
1842
|
+
"边框": [
|
|
1843
|
+
"True",
|
|
1844
|
+
"False"
|
|
1845
|
+
],
|
|
1846
|
+
"不可翻页": [
|
|
1847
|
+
"False",
|
|
1848
|
+
"True"
|
|
1849
|
+
]
|
|
1850
|
+
},
|
|
1851
|
+
"recommendations": []
|
|
1852
|
+
},
|
|
1853
|
+
{
|
|
1854
|
+
"file": "PopConfirm.figma.ts",
|
|
1855
|
+
"nodeId": "968:124130",
|
|
1856
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=968-124130",
|
|
1857
|
+
"component": "PopConfirm",
|
|
1858
|
+
"designName": "气泡确认框 Popconfirm",
|
|
1859
|
+
"source": "src/components/pop-confirm/PopConfirm.tsx",
|
|
1860
|
+
"templateId": "fd-pop-confirm",
|
|
1861
|
+
"imports": [
|
|
1862
|
+
"import React from 'react';",
|
|
1863
|
+
"import { PopConfirm } from '@fx-ui/fine-design';"
|
|
1864
|
+
],
|
|
1865
|
+
"connectedComponent": "ConnectedPopConfirm",
|
|
1866
|
+
"wrapperSignature": "function ConnectedPopConfirm({ children, onConfirm }: { children: React.ReactElement; onConfirm: () => void })",
|
|
1867
|
+
"shortcut": "custom footer and optional title require content composition; onConfirm is business behavior.",
|
|
1868
|
+
"businessInputs": null,
|
|
1869
|
+
"exampleSnippet": "function ConfirmRemoval({ onConfirm }: { onConfirm: () => void }) { return <PopConfirm content=\"确定删除?\" onOk={onConfirm}><button type=\"button\">删除</button></PopConfirm>; }",
|
|
1870
|
+
"exampleNodeId": null,
|
|
1871
|
+
"exampleImports": null,
|
|
1872
|
+
"properties": {
|
|
1873
|
+
"三角": "BOOLEAN",
|
|
1874
|
+
"自定义左下角": "BOOLEAN",
|
|
1875
|
+
"取消": "BOOLEAN",
|
|
1876
|
+
"标题": "BOOLEAN",
|
|
1877
|
+
"箭头位置": [
|
|
1878
|
+
"上",
|
|
1879
|
+
"下",
|
|
1880
|
+
"左",
|
|
1881
|
+
"右"
|
|
1882
|
+
],
|
|
1883
|
+
"effect": [
|
|
1884
|
+
"important",
|
|
1885
|
+
"normal"
|
|
1886
|
+
]
|
|
1887
|
+
},
|
|
1888
|
+
"recommendations": [
|
|
1889
|
+
"气泡二次确认使用 PopConfirm,确认回调为 onOk"
|
|
1890
|
+
]
|
|
1891
|
+
},
|
|
1892
|
+
{
|
|
1893
|
+
"file": "Popover.figma.ts",
|
|
1894
|
+
"nodeId": "151:10125",
|
|
1895
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=151-10125",
|
|
1896
|
+
"component": "Popover",
|
|
1897
|
+
"designName": "气泡卡片 Popover",
|
|
1898
|
+
"source": "src/components/popover/Popover.tsx",
|
|
1899
|
+
"templateId": "fd-popover",
|
|
1900
|
+
"imports": [
|
|
1901
|
+
"import React from 'react';",
|
|
1902
|
+
"import { Popover } from '@fx-ui/fine-design';"
|
|
1903
|
+
],
|
|
1904
|
+
"connectedComponent": "ConnectedPopover",
|
|
1905
|
+
"wrapperSignature": "function ConnectedPopover({ children, content }: { children: React.ReactElement; content?: React.ReactNode })",
|
|
1906
|
+
"shortcut": null,
|
|
1907
|
+
"businessInputs": null,
|
|
1908
|
+
"exampleSnippet": "<Popover content=\"气泡内容\"><button type=\"button\">点击查看</button></Popover>",
|
|
1909
|
+
"exampleNodeId": null,
|
|
1910
|
+
"exampleImports": null,
|
|
1911
|
+
"properties": {
|
|
1912
|
+
"三角": "BOOLEAN",
|
|
1913
|
+
"箭头位置": [
|
|
1914
|
+
"上",
|
|
1915
|
+
"下",
|
|
1916
|
+
"左",
|
|
1917
|
+
"右"
|
|
1918
|
+
]
|
|
1919
|
+
},
|
|
1920
|
+
"recommendations": []
|
|
1921
|
+
},
|
|
1922
|
+
{
|
|
1923
|
+
"file": "Progress.figma.ts",
|
|
1924
|
+
"nodeId": "1339:4203",
|
|
1925
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=1339-4203",
|
|
1926
|
+
"component": "Progress",
|
|
1927
|
+
"designName": "进度条 Progress",
|
|
1928
|
+
"source": "src/components/progress/Progress.tsx",
|
|
1929
|
+
"templateId": "fd-progress",
|
|
1930
|
+
"imports": [
|
|
1931
|
+
"import { Progress } from '@fx-ui/fine-design';"
|
|
1932
|
+
],
|
|
1933
|
+
"connectedComponent": "ConnectedProgress",
|
|
1934
|
+
"wrapperSignature": "function ConnectedProgress({ value }: { value: number })",
|
|
1935
|
+
"shortcut": "value is business data; dashboard and <32 geometry have no matching public API.",
|
|
1936
|
+
"businessInputs": null,
|
|
1937
|
+
"exampleSnippet": "<Progress value={60} />",
|
|
1938
|
+
"exampleNodeId": null,
|
|
1939
|
+
"exampleImports": null,
|
|
1940
|
+
"properties": {
|
|
1941
|
+
"内容": "BOOLEAN",
|
|
1942
|
+
"类型 Type": [
|
|
1943
|
+
"圆 Circle",
|
|
1944
|
+
"仪表盘 Dashboard",
|
|
1945
|
+
"线 Line"
|
|
1946
|
+
],
|
|
1947
|
+
"尺寸 Size": [
|
|
1948
|
+
"默认 Default",
|
|
1949
|
+
"小 Small",
|
|
1950
|
+
"<32",
|
|
1951
|
+
"大尺寸"
|
|
1952
|
+
],
|
|
1953
|
+
"成功": [
|
|
1954
|
+
"False",
|
|
1955
|
+
"True"
|
|
1956
|
+
],
|
|
1957
|
+
"错误": [
|
|
1958
|
+
"False",
|
|
1959
|
+
"True"
|
|
1960
|
+
],
|
|
1961
|
+
"Info": [
|
|
1962
|
+
"False",
|
|
1963
|
+
"True"
|
|
1964
|
+
]
|
|
1965
|
+
},
|
|
1966
|
+
"recommendations": []
|
|
1967
|
+
},
|
|
1968
|
+
{
|
|
1969
|
+
"file": "Prompt.figma.ts",
|
|
1970
|
+
"nodeId": "2236:176975",
|
|
1971
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=2236-176975",
|
|
1972
|
+
"component": "Prompt",
|
|
1973
|
+
"designName": "提示输入框 Prompt",
|
|
1974
|
+
"source": "src/components/prompt/Prompt.tsx",
|
|
1975
|
+
"templateId": "fd-prompt",
|
|
1976
|
+
"imports": [
|
|
1977
|
+
"import React from 'react';",
|
|
1978
|
+
"import { Prompt } from '@fx-ui/fine-design';"
|
|
1979
|
+
],
|
|
1980
|
+
"connectedComponent": "ConnectedPrompt",
|
|
1981
|
+
"wrapperSignature": "function ConnectedPrompt({ onSubmit }: { onSubmit: (value: string) => void })",
|
|
1982
|
+
"shortcut": null,
|
|
1983
|
+
"businessInputs": null,
|
|
1984
|
+
"exampleSnippet": null,
|
|
1985
|
+
"exampleNodeId": null,
|
|
1986
|
+
"exampleImports": null,
|
|
1987
|
+
"properties": {},
|
|
1988
|
+
"recommendations": []
|
|
1989
|
+
},
|
|
1990
|
+
{
|
|
1991
|
+
"file": "Radio.figma.ts",
|
|
1992
|
+
"nodeId": "846:90925",
|
|
1993
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=846-90925",
|
|
1994
|
+
"component": "Radio",
|
|
1995
|
+
"designName": "单选按钮组 RadioGroup/单选按钮 Radio",
|
|
1996
|
+
"source": "src/components/radio/Radio.tsx",
|
|
1997
|
+
"templateId": "fd-radio",
|
|
1998
|
+
"imports": [
|
|
1999
|
+
"import { Radio } from '@fx-ui/fine-design';"
|
|
2000
|
+
],
|
|
2001
|
+
"connectedComponent": "Radio",
|
|
2002
|
+
"wrapperSignature": null,
|
|
2003
|
+
"shortcut": null,
|
|
2004
|
+
"businessInputs": null,
|
|
2005
|
+
"exampleSnippet": null,
|
|
2006
|
+
"exampleNodeId": null,
|
|
2007
|
+
"exampleImports": null,
|
|
2008
|
+
"properties": {
|
|
2009
|
+
"icon-前": "BOOLEAN",
|
|
2010
|
+
"icon-后": "BOOLEAN",
|
|
2011
|
+
"选中 Checked": [
|
|
2012
|
+
"False",
|
|
2013
|
+
"True"
|
|
2014
|
+
],
|
|
2015
|
+
"状态 State": [
|
|
2016
|
+
"默认 Enabled",
|
|
2017
|
+
"悬停 Hovered",
|
|
2018
|
+
"禁用 Disabled"
|
|
2019
|
+
]
|
|
2020
|
+
},
|
|
2021
|
+
"recommendations": []
|
|
2022
|
+
},
|
|
2023
|
+
{
|
|
2024
|
+
"file": "RadioButton.figma.ts",
|
|
2025
|
+
"nodeId": "852:83811",
|
|
2026
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=852-83811",
|
|
2027
|
+
"component": "Radio",
|
|
2028
|
+
"designName": "单选按钮组 RadioGroup/单选按钮 RadioButton",
|
|
2029
|
+
"source": "src/components/radio/Radio.tsx",
|
|
2030
|
+
"templateId": "fd-radio-button",
|
|
2031
|
+
"imports": [
|
|
2032
|
+
"import { Radio } from '@fx-ui/fine-design';"
|
|
2033
|
+
],
|
|
2034
|
+
"connectedComponent": "Radio",
|
|
2035
|
+
"wrapperSignature": null,
|
|
2036
|
+
"shortcut": "button appearance belongs to Radio.Group; use this item inside optionType=\"button\".",
|
|
2037
|
+
"businessInputs": null,
|
|
2038
|
+
"exampleSnippet": null,
|
|
2039
|
+
"exampleNodeId": null,
|
|
2040
|
+
"exampleImports": null,
|
|
2041
|
+
"properties": {
|
|
2042
|
+
"文本": "BOOLEAN",
|
|
2043
|
+
"ICON": "BOOLEAN",
|
|
2044
|
+
"尺寸 Size": [
|
|
2045
|
+
"默认 Default",
|
|
2046
|
+
"大 Large",
|
|
2047
|
+
"小 Small"
|
|
2048
|
+
],
|
|
2049
|
+
"选中 Checked": [
|
|
2050
|
+
"False",
|
|
2051
|
+
"True"
|
|
2052
|
+
],
|
|
2053
|
+
"状态 State": [
|
|
2054
|
+
"默认 Enabled",
|
|
2055
|
+
"悬停 Hovered",
|
|
2056
|
+
"按下/激活 Pressed",
|
|
2057
|
+
"禁用 Disabled"
|
|
2058
|
+
],
|
|
2059
|
+
"背景填充": [
|
|
2060
|
+
"True",
|
|
2061
|
+
"False"
|
|
2062
|
+
],
|
|
2063
|
+
"位置": [
|
|
2064
|
+
"左",
|
|
2065
|
+
"中",
|
|
2066
|
+
"右"
|
|
2067
|
+
],
|
|
2068
|
+
"行数": [
|
|
2069
|
+
"单行",
|
|
2070
|
+
"双行-First",
|
|
2071
|
+
"双行-Second"
|
|
2072
|
+
]
|
|
2073
|
+
},
|
|
2074
|
+
"recommendations": []
|
|
2075
|
+
},
|
|
2076
|
+
{
|
|
2077
|
+
"file": "RadioGroup.figma.ts",
|
|
2078
|
+
"nodeId": "855:83898",
|
|
2079
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=855-83898",
|
|
2080
|
+
"component": "Radio.Group",
|
|
2081
|
+
"designName": "单选按钮组 RadioGroup",
|
|
2082
|
+
"source": "src/components/radio/RadioGroup.tsx",
|
|
2083
|
+
"templateId": "fd-radio-group",
|
|
2084
|
+
"imports": [
|
|
2085
|
+
"import { Radio } from '@fx-ui/fine-design';"
|
|
2086
|
+
],
|
|
2087
|
+
"connectedComponent": "Radio.Group",
|
|
2088
|
+
"wrapperSignature": null,
|
|
2089
|
+
"shortcut": null,
|
|
2090
|
+
"businessInputs": null,
|
|
2091
|
+
"exampleSnippet": null,
|
|
2092
|
+
"exampleNodeId": null,
|
|
2093
|
+
"exampleImports": null,
|
|
2094
|
+
"properties": {
|
|
2095
|
+
"类型 Type": [
|
|
2096
|
+
"默认 Default",
|
|
2097
|
+
"单选按钮 RadioButton"
|
|
2098
|
+
],
|
|
2099
|
+
"尺寸 Size": [
|
|
2100
|
+
"默认 Default",
|
|
2101
|
+
"大 Large",
|
|
2102
|
+
"小 Small"
|
|
2103
|
+
],
|
|
2104
|
+
"方向": [
|
|
2105
|
+
"垂直",
|
|
2106
|
+
"水平"
|
|
2107
|
+
],
|
|
2108
|
+
"数量": [
|
|
2109
|
+
"2",
|
|
2110
|
+
"3",
|
|
2111
|
+
"4",
|
|
2112
|
+
"5"
|
|
2113
|
+
],
|
|
2114
|
+
"纯ICON": [
|
|
2115
|
+
"False",
|
|
2116
|
+
"True"
|
|
2117
|
+
]
|
|
2118
|
+
},
|
|
2119
|
+
"recommendations": []
|
|
2120
|
+
},
|
|
2121
|
+
{
|
|
2122
|
+
"file": "Result.figma.ts",
|
|
2123
|
+
"nodeId": "826:82791",
|
|
2124
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=826-82791",
|
|
2125
|
+
"component": "Result",
|
|
2126
|
+
"designName": "结果提示 Result",
|
|
2127
|
+
"source": "src/components/result/Result.tsx",
|
|
2128
|
+
"templateId": "fd-result",
|
|
2129
|
+
"imports": [
|
|
2130
|
+
"import { Result } from '@fx-ui/fine-design';"
|
|
2131
|
+
],
|
|
2132
|
+
"connectedComponent": "Result",
|
|
2133
|
+
"wrapperSignature": null,
|
|
2134
|
+
"shortcut": null,
|
|
2135
|
+
"businessInputs": null,
|
|
2136
|
+
"exampleSnippet": "<Result status=\"success\" title=\"操作成功\" />",
|
|
2137
|
+
"exampleNodeId": null,
|
|
2138
|
+
"exampleImports": null,
|
|
2139
|
+
"properties": {
|
|
2140
|
+
"自定义操作区": "BOOLEAN",
|
|
2141
|
+
"自定义内容": "BOOLEAN",
|
|
2142
|
+
"标题": "BOOLEAN",
|
|
2143
|
+
"内容": "BOOLEAN",
|
|
2144
|
+
"类型 Type": [
|
|
2145
|
+
"自定义插图",
|
|
2146
|
+
"成功 Success",
|
|
2147
|
+
"提示 Info",
|
|
2148
|
+
"警告 Warning",
|
|
2149
|
+
"错误 Error"
|
|
2150
|
+
],
|
|
2151
|
+
"Size": [
|
|
2152
|
+
"Default",
|
|
2153
|
+
"Small",
|
|
2154
|
+
"Large"
|
|
2155
|
+
]
|
|
2156
|
+
},
|
|
2157
|
+
"recommendations": []
|
|
2158
|
+
},
|
|
2159
|
+
{
|
|
2160
|
+
"file": "Search.figma.ts",
|
|
2161
|
+
"nodeId": "468:72945",
|
|
2162
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=468-72945",
|
|
2163
|
+
"component": "Input.Search",
|
|
2164
|
+
"designName": "搜索",
|
|
2165
|
+
"source": "src/components/input/Search.tsx",
|
|
2166
|
+
"templateId": "fd-search",
|
|
2167
|
+
"imports": [
|
|
2168
|
+
"import { Input } from '@fx-ui/fine-design';"
|
|
2169
|
+
],
|
|
2170
|
+
"connectedComponent": "Input.Search",
|
|
2171
|
+
"wrapperSignature": null,
|
|
2172
|
+
"shortcut": "search-method switching has no equivalent public Input.Search feature.",
|
|
2173
|
+
"businessInputs": null,
|
|
2174
|
+
"exampleSnippet": null,
|
|
2175
|
+
"exampleNodeId": null,
|
|
2176
|
+
"exampleImports": null,
|
|
2177
|
+
"properties": {
|
|
2178
|
+
"切换": "BOOLEAN"
|
|
2179
|
+
},
|
|
2180
|
+
"recommendations": []
|
|
2181
|
+
},
|
|
2182
|
+
{
|
|
2183
|
+
"file": "SearchInput.figma.ts",
|
|
2184
|
+
"nodeId": "43:12713",
|
|
2185
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=43-12713",
|
|
2186
|
+
"component": "Input.Search",
|
|
2187
|
+
"designName": "搜索输入框",
|
|
2188
|
+
"source": "src/components/input/Search.tsx",
|
|
2189
|
+
"templateId": "fd-search-input",
|
|
2190
|
+
"imports": [
|
|
2191
|
+
"import { Input } from '@fx-ui/fine-design';"
|
|
2192
|
+
],
|
|
2193
|
+
"connectedComponent": "Input.Search",
|
|
2194
|
+
"wrapperSignature": null,
|
|
2195
|
+
"shortcut": null,
|
|
2196
|
+
"businessInputs": null,
|
|
2197
|
+
"exampleSnippet": null,
|
|
2198
|
+
"exampleNodeId": null,
|
|
2199
|
+
"exampleImports": null,
|
|
2200
|
+
"properties": {
|
|
2201
|
+
"状态 State": [
|
|
2202
|
+
"Enabled",
|
|
2203
|
+
"Hovered",
|
|
2204
|
+
"Focused",
|
|
2205
|
+
"Pressed"
|
|
2206
|
+
],
|
|
2207
|
+
"填充 Filled": [
|
|
2208
|
+
"False",
|
|
2209
|
+
"True"
|
|
2210
|
+
]
|
|
2211
|
+
},
|
|
2212
|
+
"recommendations": []
|
|
2213
|
+
},
|
|
2214
|
+
{
|
|
2215
|
+
"file": "Select.figma.ts",
|
|
2216
|
+
"nodeId": "4669:249815",
|
|
2217
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=4669-249815",
|
|
2218
|
+
"component": "Select",
|
|
2219
|
+
"designName": "下拉单选框 Select",
|
|
2220
|
+
"source": "src/components/select/index.tsx",
|
|
2221
|
+
"templateId": "fd-select",
|
|
2222
|
+
"imports": [
|
|
2223
|
+
"import React from 'react';",
|
|
2224
|
+
"import { Select } from '@fx-ui/fine-design';"
|
|
2225
|
+
],
|
|
2226
|
+
"connectedComponent": "ConnectedSelect",
|
|
2227
|
+
"wrapperSignature": "function ConnectedSelect({ options }: Pick<React.ComponentProps<typeof Select>, 'options'>)",
|
|
2228
|
+
"shortcut": null,
|
|
2229
|
+
"businessInputs": "`options` 由业务数据提供",
|
|
2230
|
+
"exampleSnippet": "function ConnectedSelect({ options }: Pick<React.ComponentProps<typeof Select>, 'options'>) {\n return <Select options={options} defaultVisible={false} showSearch={false} placeholder={\"请选择\"} size=\"middle\" bordered={true} />;\n}",
|
|
2231
|
+
"exampleNodeId": "1102:13784",
|
|
2232
|
+
"exampleImports": [
|
|
2233
|
+
"import React from 'react';",
|
|
2234
|
+
"import { Select } from '@fx-ui/fine-design';"
|
|
2235
|
+
],
|
|
2236
|
+
"properties": {
|
|
2237
|
+
"展开 Open": "BOOLEAN",
|
|
2238
|
+
"前缀": [
|
|
2239
|
+
"True",
|
|
2240
|
+
"False"
|
|
2241
|
+
],
|
|
2242
|
+
"后缀": [
|
|
2243
|
+
"False",
|
|
2244
|
+
"True"
|
|
2245
|
+
]
|
|
2246
|
+
},
|
|
2247
|
+
"recommendations": [
|
|
2248
|
+
"下拉选择器使用 Select,数据源属性为 options(非 items)"
|
|
2249
|
+
]
|
|
2250
|
+
},
|
|
2251
|
+
{
|
|
2252
|
+
"file": "SelectTrigger.figma.ts",
|
|
2253
|
+
"nodeId": "43:12621",
|
|
2254
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=43-12621",
|
|
2255
|
+
"component": "Select",
|
|
2256
|
+
"designName": "触发器 Trigger",
|
|
2257
|
+
"source": "src/components/select/index.tsx",
|
|
2258
|
+
"templateId": "fd-select-trigger",
|
|
2259
|
+
"imports": [
|
|
2260
|
+
"import { Select } from '@fx-ui/fine-design';"
|
|
2261
|
+
],
|
|
2262
|
+
"connectedComponent": "Select",
|
|
2263
|
+
"wrapperSignature": null,
|
|
2264
|
+
"shortcut": "this Trigger is a selector surface, not the library popup Trigger. Range/prefix need parent composition.",
|
|
2265
|
+
"businessInputs": null,
|
|
2266
|
+
"exampleSnippet": null,
|
|
2267
|
+
"exampleNodeId": null,
|
|
2268
|
+
"exampleImports": null,
|
|
2269
|
+
"properties": {
|
|
2270
|
+
"Icon-后": "BOOLEAN",
|
|
2271
|
+
"Icon-前": "BOOLEAN",
|
|
2272
|
+
"错误提示": "BOOLEAN",
|
|
2273
|
+
"尺寸 Size": [
|
|
2274
|
+
"默认 Default",
|
|
2275
|
+
"大 Large",
|
|
2276
|
+
"小 Small"
|
|
2277
|
+
],
|
|
2278
|
+
"风格 Style": [
|
|
2279
|
+
"默认 Primary",
|
|
2280
|
+
"警告 Warning",
|
|
2281
|
+
"错误 Error"
|
|
2282
|
+
],
|
|
2283
|
+
"状态 State": [
|
|
2284
|
+
"默认 Enabled",
|
|
2285
|
+
"悬停 Hovered",
|
|
2286
|
+
"聚焦 Focused",
|
|
2287
|
+
"按下/激活 Pressed",
|
|
2288
|
+
"禁用 Disabled"
|
|
2289
|
+
],
|
|
2290
|
+
"范围录入 Range": [
|
|
2291
|
+
"False",
|
|
2292
|
+
"True"
|
|
2293
|
+
],
|
|
2294
|
+
"方向": [
|
|
2295
|
+
"垂直 Vertical",
|
|
2296
|
+
"水平 Horizontal"
|
|
2297
|
+
],
|
|
2298
|
+
"描边 Bordered": [
|
|
2299
|
+
"false",
|
|
2300
|
+
"true"
|
|
2301
|
+
],
|
|
2302
|
+
"Icon跟随": [
|
|
2303
|
+
"False",
|
|
2304
|
+
"true"
|
|
2305
|
+
]
|
|
2306
|
+
},
|
|
2307
|
+
"recommendations": [
|
|
2308
|
+
"下拉选择器使用 Select,数据源属性为 options(非 items)"
|
|
2309
|
+
]
|
|
2310
|
+
},
|
|
2311
|
+
{
|
|
2312
|
+
"file": "Slider.figma.ts",
|
|
2313
|
+
"nodeId": "582:75859",
|
|
2314
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=582-75859",
|
|
2315
|
+
"component": "Slider",
|
|
2316
|
+
"designName": "滑块选择器 Slider",
|
|
2317
|
+
"source": "src/components/slider/Slider.tsx",
|
|
2318
|
+
"templateId": "fd-slider",
|
|
2319
|
+
"imports": [
|
|
2320
|
+
"import React from 'react';",
|
|
2321
|
+
"import { Slider } from '@fx-ui/fine-design';"
|
|
2322
|
+
],
|
|
2323
|
+
"connectedComponent": "ConnectedSlider",
|
|
2324
|
+
"wrapperSignature": null,
|
|
2325
|
+
"shortcut": "number inputs, units and external marks need application composition; layout is not slider direction.",
|
|
2326
|
+
"businessInputs": "`initialValue` 在普通模式为数字,范围模式为数字数组",
|
|
2327
|
+
"exampleSnippet": null,
|
|
2328
|
+
"exampleNodeId": null,
|
|
2329
|
+
"exampleImports": null,
|
|
2330
|
+
"properties": {
|
|
2331
|
+
"标记 Mark": "BOOLEAN",
|
|
2332
|
+
"输入": "BOOLEAN",
|
|
2333
|
+
"单位": "BOOLEAN",
|
|
2334
|
+
"范围录入 Range": [
|
|
2335
|
+
"false",
|
|
2336
|
+
"true"
|
|
2337
|
+
],
|
|
2338
|
+
"禁用": [
|
|
2339
|
+
"False",
|
|
2340
|
+
"True"
|
|
2341
|
+
],
|
|
2342
|
+
"上下布局": [
|
|
2343
|
+
"False",
|
|
2344
|
+
"True"
|
|
2345
|
+
]
|
|
2346
|
+
},
|
|
2347
|
+
"recommendations": []
|
|
2348
|
+
},
|
|
2349
|
+
{
|
|
2350
|
+
"file": "Spin.figma.ts",
|
|
2351
|
+
"nodeId": "1410:142318",
|
|
2352
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=1410-142318",
|
|
2353
|
+
"component": "Spin",
|
|
2354
|
+
"designName": "加载中 Spin",
|
|
2355
|
+
"source": "src/components/spin/Spin.tsx",
|
|
2356
|
+
"templateId": "fd-spin",
|
|
2357
|
+
"imports": [
|
|
2358
|
+
"import { Spin } from '@fx-ui/fine-design';"
|
|
2359
|
+
],
|
|
2360
|
+
"connectedComponent": "Spin",
|
|
2361
|
+
"wrapperSignature": null,
|
|
2362
|
+
"shortcut": "custom indicator has no exposed swap; use roll until application supplies indicator.",
|
|
2363
|
+
"businessInputs": null,
|
|
2364
|
+
"exampleSnippet": "<Spin loading><div>加载中内容</div></Spin>",
|
|
2365
|
+
"exampleNodeId": null,
|
|
2366
|
+
"exampleImports": null,
|
|
2367
|
+
"properties": {
|
|
2368
|
+
"加载文案": "BOOLEAN",
|
|
2369
|
+
"尺寸 Size": [
|
|
2370
|
+
"默认 Default",
|
|
2371
|
+
"大 Large",
|
|
2372
|
+
"小 Small"
|
|
2373
|
+
],
|
|
2374
|
+
"类型": [
|
|
2375
|
+
"roll",
|
|
2376
|
+
"自定义",
|
|
2377
|
+
"rotate",
|
|
2378
|
+
"scale"
|
|
2379
|
+
],
|
|
2380
|
+
"深色": [
|
|
2381
|
+
"False",
|
|
2382
|
+
"True"
|
|
2383
|
+
]
|
|
2384
|
+
},
|
|
2385
|
+
"recommendations": []
|
|
2386
|
+
},
|
|
2387
|
+
{
|
|
2388
|
+
"file": "Splitter.figma.ts",
|
|
2389
|
+
"nodeId": "17966:479715",
|
|
2390
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=17966-479715",
|
|
2391
|
+
"component": "Splitter",
|
|
2392
|
+
"designName": "分割面板 Splitter",
|
|
2393
|
+
"source": "src/components/splitter/Splitter.tsx",
|
|
2394
|
+
"templateId": "fd-splitter",
|
|
2395
|
+
"imports": [
|
|
2396
|
+
"import React from 'react';",
|
|
2397
|
+
"import { Splitter } from '@fx-ui/fine-design';"
|
|
2398
|
+
],
|
|
2399
|
+
"connectedComponent": "ConnectedSplitter",
|
|
2400
|
+
"wrapperSignature": "function ConnectedSplitter({ children }: React.PropsWithChildren<{}>)",
|
|
2401
|
+
"shortcut": "this design is a split bar; callers supply Splitter.Panel children and their collapse/size state.",
|
|
2402
|
+
"businessInputs": null,
|
|
2403
|
+
"exampleSnippet": null,
|
|
2404
|
+
"exampleNodeId": null,
|
|
2405
|
+
"exampleImports": null,
|
|
2406
|
+
"properties": {
|
|
2407
|
+
"布局 Layout": [
|
|
2408
|
+
"纵向 Vertical",
|
|
2409
|
+
"横向 Horizontal"
|
|
2410
|
+
],
|
|
2411
|
+
"状态 State": [
|
|
2412
|
+
"默认 Enabled",
|
|
2413
|
+
"悬浮 Hovered"
|
|
2414
|
+
],
|
|
2415
|
+
"折叠面板 collapsible": [
|
|
2416
|
+
"true",
|
|
2417
|
+
"false",
|
|
2418
|
+
"NA"
|
|
2419
|
+
],
|
|
2420
|
+
"展开": [
|
|
2421
|
+
"on",
|
|
2422
|
+
"off"
|
|
2423
|
+
]
|
|
2424
|
+
},
|
|
2425
|
+
"recommendations": []
|
|
2426
|
+
},
|
|
2427
|
+
{
|
|
2428
|
+
"file": "Step.figma.ts",
|
|
2429
|
+
"nodeId": "997:126253",
|
|
2430
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=997-126253",
|
|
2431
|
+
"component": "Step",
|
|
2432
|
+
"designName": "步骤条 Steps",
|
|
2433
|
+
"source": "src/components/step/Step.tsx",
|
|
2434
|
+
"templateId": "fd-step",
|
|
2435
|
+
"imports": [
|
|
2436
|
+
"import { Step } from '@fx-ui/fine-design';"
|
|
2437
|
+
],
|
|
2438
|
+
"connectedComponent": "Step",
|
|
2439
|
+
"wrapperSignature": null,
|
|
2440
|
+
"shortcut": null,
|
|
2441
|
+
"businessInputs": null,
|
|
2442
|
+
"exampleSnippet": "<Step active={1} currentStatus=\"process\" direction=\"horizontal\" size=\"normal\" labelPlacement=\"horizontal\"><Step.Item title={\"title\"} status=\"finish\" /><Step.Item title={\"title\"} status=\"process\" /><Step.Item title={\"title\"} status=\"wait\" /></Step>",
|
|
2443
|
+
"exampleNodeId": "997:126251",
|
|
2444
|
+
"exampleImports": [
|
|
2445
|
+
"import { Step } from '@fx-ui/fine-design';"
|
|
2446
|
+
],
|
|
2447
|
+
"properties": {
|
|
2448
|
+
"数量": [
|
|
2449
|
+
"3",
|
|
2450
|
+
"4",
|
|
2451
|
+
"5",
|
|
2452
|
+
"6"
|
|
2453
|
+
],
|
|
2454
|
+
"方向": [
|
|
2455
|
+
"纵向",
|
|
2456
|
+
"横向"
|
|
2457
|
+
],
|
|
2458
|
+
"样式 Type": [
|
|
2459
|
+
"默认 Default",
|
|
2460
|
+
"图标 Icon",
|
|
2461
|
+
"点 Dot"
|
|
2462
|
+
],
|
|
2463
|
+
"尺寸 Size": [
|
|
2464
|
+
"默认 Default",
|
|
2465
|
+
"小 Small"
|
|
2466
|
+
],
|
|
2467
|
+
"标签方向": [
|
|
2468
|
+
"水平",
|
|
2469
|
+
"垂直"
|
|
2470
|
+
]
|
|
2471
|
+
},
|
|
2472
|
+
"recommendations": []
|
|
2473
|
+
},
|
|
2474
|
+
{
|
|
2475
|
+
"file": "Switch.figma.ts",
|
|
2476
|
+
"nodeId": "51:593",
|
|
2477
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=51-593",
|
|
2478
|
+
"component": "Switch",
|
|
2479
|
+
"designName": "开关 Switch",
|
|
2480
|
+
"source": "src/components/switch/Switch.tsx",
|
|
2481
|
+
"templateId": "fd-switch",
|
|
2482
|
+
"imports": [
|
|
2483
|
+
"import React from 'react';",
|
|
2484
|
+
"import { Switch } from '@fx-ui/fine-design';"
|
|
2485
|
+
],
|
|
2486
|
+
"connectedComponent": "ConnectedSwitch",
|
|
2487
|
+
"wrapperSignature": "function ConnectedSwitch()",
|
|
2488
|
+
"shortcut": null,
|
|
2489
|
+
"businessInputs": null,
|
|
2490
|
+
"exampleSnippet": "function ConnectedSwitch() {\n const [value, setValue] = React.useState(true);\n const [indeterminate, setIndeterminate] = React.useState(true);\n return <Switch value={value} indeterminate={indeterminate} onChange={(nextValue) => { setIndeterminate(false); setValue(nextValue); }} />;\n}",
|
|
2491
|
+
"exampleNodeId": "28091:7895",
|
|
2492
|
+
"exampleImports": [
|
|
2493
|
+
"import React from 'react';",
|
|
2494
|
+
"import { Switch } from '@fx-ui/fine-design';"
|
|
2495
|
+
],
|
|
2496
|
+
"properties": {
|
|
2497
|
+
"状态 State": [
|
|
2498
|
+
"默认 Enabled",
|
|
2499
|
+
"悬停 Hovered",
|
|
2500
|
+
"禁用 Disabled"
|
|
2501
|
+
],
|
|
2502
|
+
"尺寸 Size": [
|
|
2503
|
+
"默认 Default",
|
|
2504
|
+
"小 Small"
|
|
2505
|
+
],
|
|
2506
|
+
"开 On": [
|
|
2507
|
+
"True",
|
|
2508
|
+
"False"
|
|
2509
|
+
],
|
|
2510
|
+
"Loading": [
|
|
2511
|
+
"False",
|
|
2512
|
+
"True"
|
|
2513
|
+
],
|
|
2514
|
+
"混合 Mixed": [
|
|
2515
|
+
"off",
|
|
2516
|
+
"on"
|
|
2517
|
+
]
|
|
2518
|
+
},
|
|
2519
|
+
"recommendations": []
|
|
2520
|
+
},
|
|
2521
|
+
{
|
|
2522
|
+
"file": "Tab.figma.ts",
|
|
2523
|
+
"nodeId": "1140:105364",
|
|
2524
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=1140-105364",
|
|
2525
|
+
"component": "Tab",
|
|
2526
|
+
"designName": "标签页 Tabs",
|
|
2527
|
+
"source": "src/components/tab/Tab.tsx",
|
|
2528
|
+
"templateId": "fd-tab",
|
|
2529
|
+
"imports": [
|
|
2530
|
+
"import { Tab } from '@fx-ui/fine-design';"
|
|
2531
|
+
],
|
|
2532
|
+
"connectedComponent": "Tab",
|
|
2533
|
+
"wrapperSignature": null,
|
|
2534
|
+
"shortcut": "vertical Tab supports only default theme; editing and left extras need an application composition.",
|
|
2535
|
+
"businessInputs": null,
|
|
2536
|
+
"exampleSnippet": null,
|
|
2537
|
+
"exampleNodeId": null,
|
|
2538
|
+
"exampleImports": null,
|
|
2539
|
+
"properties": {
|
|
2540
|
+
"右侧扩展 ExtraRight": "BOOLEAN",
|
|
2541
|
+
"左侧扩展 ExtraLeft": "BOOLEAN",
|
|
2542
|
+
"切换 Switch": "BOOLEAN",
|
|
2543
|
+
"添加": "BOOLEAN",
|
|
2544
|
+
"类型 Type": [
|
|
2545
|
+
"分段 Segment",
|
|
2546
|
+
"方块 Cube",
|
|
2547
|
+
"卡片 Card",
|
|
2548
|
+
"经典 Classic",
|
|
2549
|
+
"胶囊 Modern",
|
|
2550
|
+
"默认 Default"
|
|
2551
|
+
],
|
|
2552
|
+
"可编辑": [
|
|
2553
|
+
"False",
|
|
2554
|
+
"True"
|
|
2555
|
+
],
|
|
2556
|
+
"尺寸 Size": [
|
|
2557
|
+
"默认 Default",
|
|
2558
|
+
"大 Large",
|
|
2559
|
+
"小 Small"
|
|
2560
|
+
],
|
|
2561
|
+
"数量": [
|
|
2562
|
+
"2",
|
|
2563
|
+
"3",
|
|
2564
|
+
"4",
|
|
2565
|
+
"5"
|
|
2566
|
+
],
|
|
2567
|
+
"方向": [
|
|
2568
|
+
"横向",
|
|
2569
|
+
"纵向"
|
|
2570
|
+
],
|
|
2571
|
+
"填充容器": [
|
|
2572
|
+
"False",
|
|
2573
|
+
"True"
|
|
2574
|
+
]
|
|
2575
|
+
},
|
|
2576
|
+
"recommendations": []
|
|
2577
|
+
},
|
|
2578
|
+
{
|
|
2579
|
+
"file": "TabItem.figma.ts",
|
|
2580
|
+
"nodeId": "1140:104928",
|
|
2581
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=1140-104928",
|
|
2582
|
+
"component": "Tab.Item",
|
|
2583
|
+
"designName": "标签页 Tabs/标签 Tab",
|
|
2584
|
+
"source": "src/components/tab/TabItem.tsx",
|
|
2585
|
+
"templateId": "fd-tab-item",
|
|
2586
|
+
"imports": [
|
|
2587
|
+
"import { Tab } from '@fx-ui/fine-design';"
|
|
2588
|
+
],
|
|
2589
|
+
"connectedComponent": "Tab.Item",
|
|
2590
|
+
"wrapperSignature": null,
|
|
2591
|
+
"shortcut": null,
|
|
2592
|
+
"businessInputs": null,
|
|
2593
|
+
"exampleSnippet": null,
|
|
2594
|
+
"exampleNodeId": null,
|
|
2595
|
+
"exampleImports": null,
|
|
2596
|
+
"properties": {
|
|
2597
|
+
"Icon": "BOOLEAN",
|
|
2598
|
+
"close": "BOOLEAN",
|
|
2599
|
+
"分割线": "BOOLEAN",
|
|
2600
|
+
"尺寸 Size": [
|
|
2601
|
+
"默认 Default",
|
|
2602
|
+
"大 Large",
|
|
2603
|
+
"小 Small"
|
|
2604
|
+
],
|
|
2605
|
+
"选中 Selected": [
|
|
2606
|
+
"True",
|
|
2607
|
+
"False"
|
|
2608
|
+
],
|
|
2609
|
+
"状态 State": [
|
|
2610
|
+
"默认 Enabled",
|
|
2611
|
+
"悬停 Hovered",
|
|
2612
|
+
"按下/激活 Pressed",
|
|
2613
|
+
"禁用 Disabled"
|
|
2614
|
+
],
|
|
2615
|
+
"类型 Type": [
|
|
2616
|
+
"线 Line",
|
|
2617
|
+
"卡片 Card",
|
|
2618
|
+
"分段 Segment",
|
|
2619
|
+
"胶囊 Capsule",
|
|
2620
|
+
"方块 Cube"
|
|
2621
|
+
],
|
|
2622
|
+
"方向": [
|
|
2623
|
+
"纵向",
|
|
2624
|
+
"横向"
|
|
2625
|
+
],
|
|
2626
|
+
"纯Icon": [
|
|
2627
|
+
"False",
|
|
2628
|
+
"True"
|
|
2629
|
+
]
|
|
2630
|
+
},
|
|
2631
|
+
"recommendations": []
|
|
2632
|
+
},
|
|
2633
|
+
{
|
|
2634
|
+
"file": "Table.figma.ts",
|
|
2635
|
+
"nodeId": "17051:177473",
|
|
2636
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=17051-177473",
|
|
2637
|
+
"component": "NextTable",
|
|
2638
|
+
"designName": "表格 Table",
|
|
2639
|
+
"source": "src/components/next-table/Table.tsx",
|
|
2640
|
+
"templateId": "fd-table",
|
|
2641
|
+
"imports": [
|
|
2642
|
+
"import React from 'react';",
|
|
2643
|
+
"import { NextTable } from '@fx-ui/fine-design';"
|
|
2644
|
+
],
|
|
2645
|
+
"connectedComponent": "ConnectedTable",
|
|
2646
|
+
"wrapperSignature": "function ConnectedTable({ children, data, pagination }: Pick<React.ComponentProps<typeof NextTable>, 'children' | 'data' | 'pagination'>)",
|
|
2647
|
+
"shortcut": "columns and records are business inputs; advanced headers, merging and extra regions need application composition.",
|
|
2648
|
+
"businessInputs": "`data`,通过 children 传 `NextTable.Column/HeaderCell/Cell`。设计开启分页时传 `pagination`",
|
|
2649
|
+
"exampleSnippet": "function ConnectedTable({ children, data, pagination }: Pick<React.ComponentProps<typeof NextTable>, 'children' | 'data' | 'pagination'>) {\n return <NextTable data={data} size=\"large\" bordered={false} cellBordered={false} stripe={false} pagination={pagination}>{children}</NextTable>;\n}",
|
|
2650
|
+
"exampleNodeId": "17051:177474",
|
|
2651
|
+
"exampleImports": [
|
|
2652
|
+
"import React from 'react';",
|
|
2653
|
+
"import { NextTable } from '@fx-ui/fine-design';"
|
|
2654
|
+
],
|
|
2655
|
+
"properties": {
|
|
2656
|
+
"底部 Footer": "BOOLEAN",
|
|
2657
|
+
"标题 Title": "BOOLEAN",
|
|
2658
|
+
"翻页器 Pagination": "BOOLEAN",
|
|
2659
|
+
"扩展区域 Extra": "BOOLEAN",
|
|
2660
|
+
"右侧扩展交互": "BOOLEAN",
|
|
2661
|
+
"左侧扩展": "BOOLEAN",
|
|
2662
|
+
"左侧扩展交互": "BOOLEAN",
|
|
2663
|
+
"右侧扩展": "BOOLEAN",
|
|
2664
|
+
"尺寸 Size": [
|
|
2665
|
+
"大 Large",
|
|
2666
|
+
"中 Middle",
|
|
2667
|
+
"小 Small",
|
|
2668
|
+
"迷你 Mini"
|
|
2669
|
+
],
|
|
2670
|
+
"描边 Border": [
|
|
2671
|
+
"False",
|
|
2672
|
+
"True"
|
|
2673
|
+
],
|
|
2674
|
+
"外边框": [
|
|
2675
|
+
"True",
|
|
2676
|
+
"false"
|
|
2677
|
+
],
|
|
2678
|
+
"斑马纹": [
|
|
2679
|
+
"False",
|
|
2680
|
+
"True"
|
|
2681
|
+
],
|
|
2682
|
+
"多级表头": [
|
|
2683
|
+
"False",
|
|
2684
|
+
"True"
|
|
2685
|
+
],
|
|
2686
|
+
"树形数据": [
|
|
2687
|
+
"False",
|
|
2688
|
+
"True"
|
|
2689
|
+
],
|
|
2690
|
+
"行列合并": [
|
|
2691
|
+
"False",
|
|
2692
|
+
"True"
|
|
2693
|
+
],
|
|
2694
|
+
"空状态": [
|
|
2695
|
+
"True",
|
|
2696
|
+
"False"
|
|
2697
|
+
]
|
|
2698
|
+
},
|
|
2699
|
+
"recommendations": [
|
|
2700
|
+
"使用现代化的 NextTable(避免使用过时的旧版 Table)",
|
|
2701
|
+
"通过 <NextTable.Column> 与 <NextTable.Cell> 声明列",
|
|
2702
|
+
"分页对象属性使用 page 与 size(避免使用 Antd 的 current 与 pageSize)",
|
|
2703
|
+
"复杂表头、树形数据、合并单元格需由业务组合"
|
|
2704
|
+
]
|
|
2705
|
+
},
|
|
2706
|
+
{
|
|
2707
|
+
"file": "Tag.figma.ts",
|
|
2708
|
+
"nodeId": "43:12747",
|
|
2709
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=43-12747",
|
|
2710
|
+
"component": "Tag",
|
|
2711
|
+
"designName": "标签 Tag",
|
|
2712
|
+
"source": "src/components/tag/Tag.tsx",
|
|
2713
|
+
"templateId": "fd-tag",
|
|
2714
|
+
"imports": [
|
|
2715
|
+
"import { Input } from '@fx-ui/fine-design';",
|
|
2716
|
+
"import { Tag } from '@fx-ui/fine-design';"
|
|
2717
|
+
],
|
|
2718
|
+
"connectedComponent": "Tag",
|
|
2719
|
+
"wrapperSignature": null,
|
|
2720
|
+
"shortcut": "editing is an initial view; commit/cancel and selected-tag interaction stay with the application.",
|
|
2721
|
+
"businessInputs": null,
|
|
2722
|
+
"exampleSnippet": "<Tag>标签</Tag>",
|
|
2723
|
+
"exampleNodeId": null,
|
|
2724
|
+
"exampleImports": null,
|
|
2725
|
+
"properties": {
|
|
2726
|
+
"关闭": "BOOLEAN",
|
|
2727
|
+
"图标 Icon": "BOOLEAN",
|
|
2728
|
+
"交互": "BOOLEAN",
|
|
2729
|
+
"类型 Type": [
|
|
2730
|
+
"描边",
|
|
2731
|
+
"深色",
|
|
2732
|
+
"可编辑",
|
|
2733
|
+
"浅色"
|
|
2734
|
+
],
|
|
2735
|
+
"颜色": [
|
|
2736
|
+
"默认",
|
|
2737
|
+
"信息",
|
|
2738
|
+
"警告",
|
|
2739
|
+
"错误",
|
|
2740
|
+
"成功",
|
|
2741
|
+
"品牌色"
|
|
2742
|
+
],
|
|
2743
|
+
"编辑": [
|
|
2744
|
+
"False",
|
|
2745
|
+
"True"
|
|
2746
|
+
],
|
|
2747
|
+
"状态": [
|
|
2748
|
+
"默认 Enabled",
|
|
2749
|
+
"悬停 Hovered"
|
|
2750
|
+
],
|
|
2751
|
+
"Selected": [
|
|
2752
|
+
"False",
|
|
2753
|
+
"True"
|
|
2754
|
+
],
|
|
2755
|
+
"尺寸": [
|
|
2756
|
+
"Default",
|
|
2757
|
+
"Large",
|
|
2758
|
+
"Small"
|
|
2759
|
+
],
|
|
2760
|
+
"胶囊": [
|
|
2761
|
+
"True",
|
|
2762
|
+
"False"
|
|
2763
|
+
]
|
|
2764
|
+
},
|
|
2765
|
+
"recommendations": []
|
|
2766
|
+
},
|
|
2767
|
+
{
|
|
2768
|
+
"file": "Toast.figma.ts",
|
|
2769
|
+
"nodeId": "821:82455",
|
|
2770
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=821-82455",
|
|
2771
|
+
"component": "Toast",
|
|
2772
|
+
"designName": "全局提示 Toast",
|
|
2773
|
+
"source": "src/message/toast/Toast.tsx",
|
|
2774
|
+
"templateId": "fd-toast",
|
|
2775
|
+
"imports": [
|
|
2776
|
+
"import React from 'react';",
|
|
2777
|
+
"import { Toast } from '@fx-ui/fine-design';"
|
|
2778
|
+
],
|
|
2779
|
+
"connectedComponent": "ConnectedToast",
|
|
2780
|
+
"wrapperSignature": "function ConnectedToast()",
|
|
2781
|
+
"shortcut": "hiding the built-in status icon is not supported by Toast's public props.",
|
|
2782
|
+
"businessInputs": null,
|
|
2783
|
+
"exampleSnippet": null,
|
|
2784
|
+
"exampleNodeId": null,
|
|
2785
|
+
"exampleImports": null,
|
|
2786
|
+
"properties": {
|
|
2787
|
+
"icon": "BOOLEAN",
|
|
2788
|
+
"关闭": "BOOLEAN",
|
|
2789
|
+
"类型 Type": [
|
|
2790
|
+
"警告 Warning",
|
|
2791
|
+
"成功 Success",
|
|
2792
|
+
"错误 Error",
|
|
2793
|
+
"提示 Info",
|
|
2794
|
+
"加载中 Loading"
|
|
2795
|
+
],
|
|
2796
|
+
"彩色 Colorful": [
|
|
2797
|
+
"False",
|
|
2798
|
+
"True"
|
|
2799
|
+
]
|
|
2800
|
+
},
|
|
2801
|
+
"recommendations": []
|
|
2802
|
+
},
|
|
2803
|
+
{
|
|
2804
|
+
"file": "Tooltip.figma.ts",
|
|
2805
|
+
"nodeId": "202:4208",
|
|
2806
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=202-4208",
|
|
2807
|
+
"component": "Tooltip",
|
|
2808
|
+
"designName": "提示信息 Tooltip",
|
|
2809
|
+
"source": "src/components/tooltip/Tooltip.tsx",
|
|
2810
|
+
"templateId": "fd-tooltip",
|
|
2811
|
+
"imports": [
|
|
2812
|
+
"import React from 'react';",
|
|
2813
|
+
"import { Tooltip } from '@fx-ui/fine-design';"
|
|
2814
|
+
],
|
|
2815
|
+
"connectedComponent": "ConnectedTooltip",
|
|
2816
|
+
"wrapperSignature": "function ConnectedTooltip({ children }: { children: React.ReactElement })",
|
|
2817
|
+
"shortcut": "error tooltip uses dark effect until the design's error surface is aligned with a public color token.",
|
|
2818
|
+
"businessInputs": null,
|
|
2819
|
+
"exampleSnippet": "<Tooltip content=\"提示说明\"><button type=\"button\">鼠标悬停</button></Tooltip>",
|
|
2820
|
+
"exampleNodeId": null,
|
|
2821
|
+
"exampleImports": null,
|
|
2822
|
+
"properties": {
|
|
2823
|
+
"三角": "BOOLEAN",
|
|
2824
|
+
"箭头位置": [
|
|
2825
|
+
"上",
|
|
2826
|
+
"下",
|
|
2827
|
+
"左",
|
|
2828
|
+
"右"
|
|
2829
|
+
],
|
|
2830
|
+
"样式": [
|
|
2831
|
+
"浅色",
|
|
2832
|
+
"深色",
|
|
2833
|
+
"错误"
|
|
2834
|
+
]
|
|
2835
|
+
},
|
|
2836
|
+
"recommendations": []
|
|
2837
|
+
},
|
|
2838
|
+
{
|
|
2839
|
+
"file": "Tree.figma.ts",
|
|
2840
|
+
"nodeId": "18878:52039",
|
|
2841
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=18878-52039",
|
|
2842
|
+
"component": "Tree",
|
|
2843
|
+
"designName": "树 Tree",
|
|
2844
|
+
"source": "src/components/tree/Tree.tsx",
|
|
2845
|
+
"templateId": "fd-tree",
|
|
2846
|
+
"imports": [
|
|
2847
|
+
"import React from 'react';",
|
|
2848
|
+
"import { Tree } from '@fx-ui/fine-design';"
|
|
2849
|
+
],
|
|
2850
|
+
"connectedComponent": "ConnectedTree",
|
|
2851
|
+
"wrapperSignature": "function ConnectedTree({ treeData, onCheck, onSelect }: Pick<React.ComponentProps<typeof Tree>, 'treeData' | 'onCheck' | 'onSelect'>)",
|
|
2852
|
+
"shortcut": null,
|
|
2853
|
+
"businessInputs": "`treeData`,可选 `onCheck/onSelect`。多选映射复选框,尺寸映射实测行高",
|
|
2854
|
+
"exampleSnippet": "function ConnectedTree({ treeData, onCheck, onSelect }: Pick<React.ComponentProps<typeof Tree>, 'treeData' | 'onCheck' | 'onSelect'>) {\n return <Tree treeData={treeData} onCheck={onCheck} onSelect={onSelect} nodeHeight={32} />;\n}",
|
|
2855
|
+
"exampleNodeId": "18878:52040",
|
|
2856
|
+
"exampleImports": [
|
|
2857
|
+
"import React from 'react';",
|
|
2858
|
+
"import { Tree } from '@fx-ui/fine-design';"
|
|
2859
|
+
],
|
|
2860
|
+
"properties": {
|
|
2861
|
+
"多选": [
|
|
2862
|
+
"False",
|
|
2863
|
+
"True"
|
|
2864
|
+
],
|
|
2865
|
+
"size": [
|
|
2866
|
+
"Small",
|
|
2867
|
+
"Large",
|
|
2868
|
+
"Default"
|
|
2869
|
+
]
|
|
2870
|
+
},
|
|
2871
|
+
"recommendations": [
|
|
2872
|
+
"树组件通过 treeData 提供节点数据,事件使用 onCheck / onSelect",
|
|
2873
|
+
"设计多选映射为复选框,行高映射尺寸"
|
|
2874
|
+
]
|
|
2875
|
+
},
|
|
2876
|
+
{
|
|
2877
|
+
"file": "TreeSelect.figma.ts",
|
|
2878
|
+
"nodeId": "1102:15136",
|
|
2879
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=1102-15136",
|
|
2880
|
+
"component": "TreeSelect",
|
|
2881
|
+
"designName": "树选择 TreeSelect",
|
|
2882
|
+
"source": "src/components/tree-select/TreeSelect.tsx",
|
|
2883
|
+
"templateId": "fd-tree-select",
|
|
2884
|
+
"imports": [
|
|
2885
|
+
"import React from 'react';",
|
|
2886
|
+
"import { TreeSelect } from '@fx-ui/fine-design';"
|
|
2887
|
+
],
|
|
2888
|
+
"connectedComponent": "ConnectedTreeSelect",
|
|
2889
|
+
"wrapperSignature": "function ConnectedTreeSelect({ treeData }: Pick<React.ComponentProps<typeof TreeSelect>, 'treeData'>)",
|
|
2890
|
+
"shortcut": "tree records and selection behavior are application data; the design only exposes initial open state.",
|
|
2891
|
+
"businessInputs": null,
|
|
2892
|
+
"exampleSnippet": null,
|
|
2893
|
+
"exampleNodeId": null,
|
|
2894
|
+
"exampleImports": null,
|
|
2895
|
+
"properties": {
|
|
2896
|
+
"展开 Open": "BOOLEAN"
|
|
2897
|
+
},
|
|
2898
|
+
"recommendations": []
|
|
2899
|
+
},
|
|
2900
|
+
{
|
|
2901
|
+
"file": "Upload.figma.ts",
|
|
2902
|
+
"nodeId": "16845:7517",
|
|
2903
|
+
"url": "https://www.figma.com/design/QtKRLVgL3YnUSL6SAzE2ea/FineDesign-System?node-id=16845-7517",
|
|
2904
|
+
"component": "Upload",
|
|
2905
|
+
"designName": "上传 Upload",
|
|
2906
|
+
"source": "src/components/upload/Upload.tsx",
|
|
2907
|
+
"templateId": "fd-upload",
|
|
2908
|
+
"imports": [
|
|
2909
|
+
"import React from 'react';",
|
|
2910
|
+
"import { Upload } from '@fx-ui/fine-design';"
|
|
2911
|
+
],
|
|
2912
|
+
"connectedComponent": "ConnectedUpload",
|
|
2913
|
+
"wrapperSignature": "function ConnectedUpload({ customRequest, defaultFileList, onSuccess, onError, children }: Required<Pick<React.ComponentProps<typeof Upload>, 'customRequest'>> & Pick<React.ComponentProps<typeof Upload>, 'defaultFileList' | 'onSuccess' | 'onError' | 'children'>)",
|
|
2914
|
+
"shortcut": "upload validation, hints and wrapping layout need business configuration; no design filenames become uploaded records.",
|
|
2915
|
+
"businessInputs": "必填 `customRequest`,可选 `defaultFileList/onSuccess/onError/children`",
|
|
2916
|
+
"exampleSnippet": "function ConnectedUpload({ customRequest, defaultFileList, onSuccess, onError, children }: Required<Pick<React.ComponentProps<typeof Upload>, 'customRequest'>> & Pick<React.ComponentProps<typeof Upload>, 'defaultFileList' | 'onSuccess' | 'onError' | 'children'>) {\n return <Upload customRequest={customRequest} defaultFileList={defaultFileList} onSuccess={onSuccess} onError={onError} showUploadList={true} listType=\"picture\" text={\"上传文件\"}>{children}</Upload>;\n}",
|
|
2917
|
+
"exampleNodeId": "16845:7517",
|
|
2918
|
+
"exampleImports": [
|
|
2919
|
+
"import React from 'react';",
|
|
2920
|
+
"import { Upload } from '@fx-ui/fine-design';"
|
|
2921
|
+
],
|
|
2922
|
+
"properties": {},
|
|
2923
|
+
"recommendations": [
|
|
2924
|
+
"上传组件必须提供 customRequest,并按需配置 defaultFileList、onSuccess 与 onError"
|
|
2925
|
+
]
|
|
2926
|
+
}
|
|
2927
|
+
],
|
|
2928
|
+
"contentHash": "7479ac0f80196e5c2b749861aecec5d3d317dccb52bcba34b3fc15aa57da5f3b"
|
|
2929
|
+
}
|