@snowui-design-system/components 0.2.0-alpha.7 → 0.2.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -22
- package/component-catalog.json +1066 -0
- package/package.json +12 -4
- package/src/assets/gradient-avatar/blue.svg +1 -0
- package/src/assets/gradient-avatar/cyan.svg +1 -0
- package/src/assets/gradient-avatar/green.svg +1 -0
- package/src/assets/gradient-avatar/orange.svg +1 -0
- package/src/assets/gradient-avatar/purple.svg +1 -0
- package/src/assets/gradient-avatar/red.svg +1 -0
- package/src/components/Accordion.md +1 -1
- package/src/components/Accordion.svelte +5 -1
- package/src/components/Avatar.md +95 -58
- package/src/components/Avatar.svelte +286 -92
- package/src/components/Avatar.test.ts +24 -3
- package/src/components/Badge.md +31 -2
- package/src/components/Badge.svelte +38 -3
- package/src/components/Badge.test.ts +14 -1
- package/src/components/Button.md +42 -19
- package/src/components/Button.svelte +56 -50
- package/src/components/Button.test.ts +38 -27
- package/src/components/Card.test.ts +1 -1
- package/src/components/CodeBlock.md +50 -14
- package/src/components/CodeBlock.svelte +213 -34
- package/src/components/CodeBlock.test.ts +43 -2
- package/src/components/ColorSchemeButton.md +50 -0
- package/src/components/ColorSchemeButton.svelte +144 -0
- package/src/components/ColorSchemeButton.test.ts +39 -0
- package/src/components/CopyButton.md +5 -1
- package/src/components/CopyButton.svelte +6 -2
- package/src/components/Dialog.svelte +1 -0
- package/src/components/Dialog.test.ts +2 -2
- package/src/components/ExpandButton.md +5 -1
- package/src/components/ExpandButton.svelte +1 -0
- package/src/components/Form.test.ts +4 -4
- package/src/components/Gradient.md +278 -0
- package/src/components/Gradient.svelte +1283 -0
- package/src/components/Gradient.test.ts +77 -0
- package/src/components/Icon.svelte +3 -1
- package/src/components/Image.svelte +11 -8
- package/src/components/Image.test.ts +1 -1
- package/src/components/Indicator.md +18 -4
- package/src/components/Indicator.svelte +151 -11
- package/src/components/Indicator.test.ts +25 -0
- package/src/components/Input.md +15 -5
- package/src/components/Input.svelte +10 -1
- package/src/components/Input.test.ts +2 -2
- package/src/components/Listbox.md +5 -0
- package/src/components/Listbox.svelte +26 -0
- package/src/components/Listbox.test.ts +14 -0
- package/src/components/MenuItem.md +5 -0
- package/src/components/MenuItem.svelte +6 -0
- package/src/components/OverflowAction.md +41 -0
- package/src/components/OverflowAction.svelte +209 -0
- package/src/components/OverflowAction.test.ts +11 -0
- package/src/components/OverflowActions.md +95 -0
- package/src/components/OverflowActions.svelte +501 -0
- package/src/components/OverflowActions.test.ts +87 -0
- package/src/components/Pagination.md +2 -2
- package/src/components/Pagination.svelte +2 -2
- package/src/components/Pagination.test.ts +2 -2
- package/src/components/Popover.md +5 -0
- package/src/components/Popover.svelte +25 -0
- package/src/components/Popover.test.ts +14 -0
- package/src/components/ScrollArea.md +7 -3
- package/src/components/ScrollArea.test.ts +3 -2
- package/src/components/SearchInput.md +14 -1
- package/src/components/SearchInput.svelte +104 -2
- package/src/components/SearchInput.test.ts +16 -1
- package/src/components/SelectButton.md +1 -1
- package/src/components/SelectButton.svelte +8 -2
- package/src/components/Skeleton.md +13 -1
- package/src/components/Skeleton.svelte +30 -2
- package/src/components/Slider.md +68 -6
- package/src/components/Slider.svelte +329 -21
- package/src/components/Slider.test.ts +65 -0
- package/src/components/SnowUILogo.md +210 -0
- package/src/components/SnowUILogo.svelte +478 -0
- package/src/components/SnowUILogo.test.ts +62 -0
- package/src/components/StyleButton.md +58 -0
- package/src/components/StyleButton.svelte +144 -0
- package/src/components/StyleButton.test.ts +39 -0
- package/src/components/Table.md +23 -7
- package/src/components/Table.svelte +22 -1
- package/src/components/TableBody.md +12 -1
- package/src/components/TableBody.svelte +26 -2
- package/src/components/TableBody.test.ts +3 -0
- package/src/components/TableCell.md +9 -3
- package/src/components/TableCell.svelte +139 -78
- package/src/components/TableCell.test.ts +4 -4
- package/src/components/TableHead.md +9 -3
- package/src/components/TableHead.svelte +56 -43
- package/src/components/TableHead.test.ts +5 -5
- package/src/components/TableRow.md +15 -5
- package/src/components/TableRow.svelte +47 -10
- package/src/components/TableRow.test.ts +2 -2
- package/src/components/TableToolbar.svelte +20 -8
- package/src/components/Text.md +7 -1
- package/src/components/Text.svelte +17 -7
- package/src/components/Tooltip.md +37 -9
- package/src/components/Tooltip.svelte +145 -35
- package/src/components/Tooltip.test.ts +54 -4
- package/src/i18n/messages.ts +12 -0
- package/src/index.ts +24 -0
- package/src/internal/StyleButtonLogo.svelte +49 -0
- package/src/lib/color.md +2 -2
- package/src/lib/edge-fade.md +1 -0
- package/src/lib/overlay-scrollbar.md +6 -1
- package/src/lib/table-context.svelte.ts +36 -0
- package/src/lib/table-role-blur.ts +46 -0
- package/src/lib/table-truncation.md +14 -0
- package/src/lib/table-truncation.ts +83 -0
- package/src/lib/tooltip-delay.md +7 -1
- package/src/lib/tooltip-motion-dismiss.md +33 -0
- package/src/lib/tooltip-motion-dismiss.ts +160 -0
- package/src/lib/tooltip-overlay.md +21 -3
- package/src/lib/tooltip-overlay.ts +13 -2
- package/src/logic/README.md +4 -1
- package/src/logic/continuous-hover.svelte.md +22 -0
- package/src/logic/continuous-hover.svelte.ts +436 -0
- package/src/logic/frame-inline-style.svelte.ts +2 -2
- package/src/logic/frame-truncation.md +9 -3
- package/src/logic/frame-truncation.svelte.ts +6 -0
- package/src/logic/layout-flip.ts +182 -5
- package/src/logic/overflow-actions.svelte.ts +33 -0
- package/src/motion/presets/README.md +6 -2
- package/src/motion/presets/continuous-hover.md +11 -0
- package/src/motion/presets/continuous-hover.ts +18 -0
- package/src/motion/presets/tooltip.md +40 -2
- package/src/motion/presets/tooltip.ts +0 -2
- package/src/motion/tokens.md +9 -4
- package/src/motion/tokens.ts +4 -1
- package/src/styles/README.md +16 -2
- package/src/styles/auto-layout.css +10 -1
- package/src/styles/components.css +920 -0
- package/src/styles/index.css +3 -1
- package/src/styles/layout.css +44 -0
- package/src/styles/scrollbar.css +27 -7
- package/src/styles/themes.css +146 -0
- package/src/styles/tokens.css +33 -33
|
@@ -0,0 +1,1066 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"package": "@snowui-design-system/components",
|
|
4
|
+
"generatedFrom": [
|
|
5
|
+
"src/index.ts",
|
|
6
|
+
"src/components/*.md",
|
|
7
|
+
"component-discovery.json"
|
|
8
|
+
],
|
|
9
|
+
"components": [
|
|
10
|
+
{
|
|
11
|
+
"name": "Accordion",
|
|
12
|
+
"canonical": "Accordion",
|
|
13
|
+
"package": "@snowui-design-system/components",
|
|
14
|
+
"import": "import { Accordion } from '@snowui-design-system/components';",
|
|
15
|
+
"tier": "oss",
|
|
16
|
+
"kind": "component",
|
|
17
|
+
"source": "src/components/Accordion.svelte",
|
|
18
|
+
"documentation": "src/components/Accordion.md",
|
|
19
|
+
"description": "提供可展开 / 收起的内容分组容器,用于 FAQ、设置项、分段说明与信息折叠。",
|
|
20
|
+
"intents": [],
|
|
21
|
+
"aliases": [],
|
|
22
|
+
"whenToUse": null,
|
|
23
|
+
"avoidWhen": null,
|
|
24
|
+
"related": [],
|
|
25
|
+
"deprecated": false
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "AccordionItem",
|
|
29
|
+
"canonical": "AccordionItem",
|
|
30
|
+
"package": "@snowui-design-system/components",
|
|
31
|
+
"import": "import { AccordionItem } from '@snowui-design-system/components';",
|
|
32
|
+
"tier": "oss",
|
|
33
|
+
"kind": "component",
|
|
34
|
+
"source": "src/components/AccordionItem.svelte",
|
|
35
|
+
"documentation": "src/components/AccordionItem.md",
|
|
36
|
+
"description": "作为 Accordion 内部的单个折叠项容器。",
|
|
37
|
+
"intents": [],
|
|
38
|
+
"aliases": [],
|
|
39
|
+
"whenToUse": null,
|
|
40
|
+
"avoidWhen": null,
|
|
41
|
+
"related": [],
|
|
42
|
+
"deprecated": false
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "Avatar",
|
|
46
|
+
"canonical": "Avatar",
|
|
47
|
+
"package": "@snowui-design-system/components",
|
|
48
|
+
"import": "import { Avatar } from '@snowui-design-system/components';",
|
|
49
|
+
"tier": "oss",
|
|
50
|
+
"kind": "component",
|
|
51
|
+
"source": "src/components/Avatar.svelte",
|
|
52
|
+
"documentation": "src/components/Avatar.md",
|
|
53
|
+
"description": "头像组件,显示用户头像或占位符。",
|
|
54
|
+
"intents": [],
|
|
55
|
+
"aliases": [],
|
|
56
|
+
"whenToUse": null,
|
|
57
|
+
"avoidWhen": null,
|
|
58
|
+
"related": [],
|
|
59
|
+
"deprecated": false
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "AvatarGroup",
|
|
63
|
+
"canonical": "AvatarGroup",
|
|
64
|
+
"package": "@snowui-design-system/components",
|
|
65
|
+
"import": "import { AvatarGroup } from '@snowui-design-system/components';",
|
|
66
|
+
"tier": "oss",
|
|
67
|
+
"kind": "component",
|
|
68
|
+
"source": "src/components/AvatarGroup.svelte",
|
|
69
|
+
"documentation": "src/components/AvatarGroup.md",
|
|
70
|
+
"description": "头像组容器,负责定义内部头像的堆叠布局与溢出计数展示。",
|
|
71
|
+
"intents": [],
|
|
72
|
+
"aliases": [],
|
|
73
|
+
"whenToUse": null,
|
|
74
|
+
"avoidWhen": null,
|
|
75
|
+
"related": [],
|
|
76
|
+
"deprecated": false
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "Badge",
|
|
80
|
+
"canonical": "Badge",
|
|
81
|
+
"package": "@snowui-design-system/components",
|
|
82
|
+
"import": "import { Badge } from '@snowui-design-system/components';",
|
|
83
|
+
"tier": "oss",
|
|
84
|
+
"kind": "component",
|
|
85
|
+
"source": "src/components/Badge.svelte",
|
|
86
|
+
"documentation": "src/components/Badge.md",
|
|
87
|
+
"description": "徽标组件,用于显示数字或状态指示。",
|
|
88
|
+
"intents": [],
|
|
89
|
+
"aliases": [],
|
|
90
|
+
"whenToUse": null,
|
|
91
|
+
"avoidWhen": null,
|
|
92
|
+
"related": [],
|
|
93
|
+
"deprecated": false
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "Breadcrumb",
|
|
97
|
+
"canonical": "Breadcrumb",
|
|
98
|
+
"package": "@snowui-design-system/components",
|
|
99
|
+
"import": "import { Breadcrumb } from '@snowui-design-system/components';",
|
|
100
|
+
"tier": "oss",
|
|
101
|
+
"kind": "component",
|
|
102
|
+
"source": "src/components/Breadcrumb.svelte",
|
|
103
|
+
"documentation": "src/components/Breadcrumb.md",
|
|
104
|
+
"description": "提供页面层级路径导航容器。",
|
|
105
|
+
"intents": [],
|
|
106
|
+
"aliases": [],
|
|
107
|
+
"whenToUse": null,
|
|
108
|
+
"avoidWhen": null,
|
|
109
|
+
"related": [],
|
|
110
|
+
"deprecated": false
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "Button",
|
|
114
|
+
"canonical": "Button",
|
|
115
|
+
"package": "@snowui-design-system/components",
|
|
116
|
+
"import": "import { Button } from '@snowui-design-system/components';",
|
|
117
|
+
"tier": "oss",
|
|
118
|
+
"kind": "component",
|
|
119
|
+
"source": "src/components/Button.svelte",
|
|
120
|
+
"documentation": "src/components/Button.md",
|
|
121
|
+
"description": "基础交互按钮组件。",
|
|
122
|
+
"intents": [
|
|
123
|
+
"触发操作",
|
|
124
|
+
"默认按钮",
|
|
125
|
+
"图标按钮",
|
|
126
|
+
"无背景按钮"
|
|
127
|
+
],
|
|
128
|
+
"aliases": [
|
|
129
|
+
"按钮默认样式",
|
|
130
|
+
"Icon 按钮",
|
|
131
|
+
"只有图标的按钮",
|
|
132
|
+
"bare并有hover",
|
|
133
|
+
"bare 并有 hover",
|
|
134
|
+
"bare 按钮要有 hover"
|
|
135
|
+
],
|
|
136
|
+
"whenToUse": "触发即时操作;bare 且需要透明度 hover 时使用 emphasis=muted。",
|
|
137
|
+
"avoidWhen": "互斥参数选择使用 Segmented;内容面板切换使用 Tab。",
|
|
138
|
+
"related": [
|
|
139
|
+
"ButtonGroup",
|
|
140
|
+
"OverflowActions",
|
|
141
|
+
"SelectButton"
|
|
142
|
+
],
|
|
143
|
+
"deprecated": false
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "ButtonGroup",
|
|
147
|
+
"canonical": "ButtonGroup",
|
|
148
|
+
"package": "@snowui-design-system/components",
|
|
149
|
+
"import": "import { ButtonGroup } from '@snowui-design-system/components';",
|
|
150
|
+
"tier": "oss",
|
|
151
|
+
"kind": "component",
|
|
152
|
+
"source": "src/components/ButtonGroup.svelte",
|
|
153
|
+
"documentation": "src/components/ButtonGroup.md",
|
|
154
|
+
"description": "提供由多个 Button 单元格与 Separator 组成的拆分按钮容器。",
|
|
155
|
+
"intents": [
|
|
156
|
+
"按钮组合",
|
|
157
|
+
"相邻操作组"
|
|
158
|
+
],
|
|
159
|
+
"aliases": [
|
|
160
|
+
"一组按钮",
|
|
161
|
+
"按钮之间带分隔"
|
|
162
|
+
],
|
|
163
|
+
"whenToUse": null,
|
|
164
|
+
"avoidWhen": null,
|
|
165
|
+
"related": [
|
|
166
|
+
"Button",
|
|
167
|
+
"Separator"
|
|
168
|
+
],
|
|
169
|
+
"deprecated": false
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "Card",
|
|
173
|
+
"canonical": "Card",
|
|
174
|
+
"package": "@snowui-design-system/components",
|
|
175
|
+
"import": "import { Card } from '@snowui-design-system/components';",
|
|
176
|
+
"tier": "oss",
|
|
177
|
+
"kind": "component",
|
|
178
|
+
"source": "src/components/Card.svelte",
|
|
179
|
+
"documentation": "src/components/Card.md",
|
|
180
|
+
"description": "Card 是通用容器组件,只负责外壳视觉、内容排列、Pin 承载和内容溢出滚动。Card 不内建标题、正文、图标或操作区;内部内容完全由使用方自定义。",
|
|
181
|
+
"intents": [],
|
|
182
|
+
"aliases": [],
|
|
183
|
+
"whenToUse": null,
|
|
184
|
+
"avoidWhen": null,
|
|
185
|
+
"related": [],
|
|
186
|
+
"deprecated": false
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "Checkbox",
|
|
190
|
+
"canonical": "Checkbox",
|
|
191
|
+
"package": "@snowui-design-system/components",
|
|
192
|
+
"import": "import { Checkbox } from '@snowui-design-system/components';",
|
|
193
|
+
"tier": "oss",
|
|
194
|
+
"kind": "component",
|
|
195
|
+
"source": "src/components/Checkbox.svelte",
|
|
196
|
+
"documentation": "src/components/Checkbox.md",
|
|
197
|
+
"description": "复选框控件,用于选择多个选项或表示开关状态。",
|
|
198
|
+
"intents": [],
|
|
199
|
+
"aliases": [],
|
|
200
|
+
"whenToUse": null,
|
|
201
|
+
"avoidWhen": null,
|
|
202
|
+
"related": [],
|
|
203
|
+
"deprecated": false
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"name": "Chip",
|
|
207
|
+
"canonical": "Chip",
|
|
208
|
+
"package": "@snowui-design-system/components",
|
|
209
|
+
"import": "import { Chip } from '@snowui-design-system/components';",
|
|
210
|
+
"tier": "oss",
|
|
211
|
+
"kind": "component",
|
|
212
|
+
"source": "src/components/Chip.svelte",
|
|
213
|
+
"documentation": "src/components/Chip.md",
|
|
214
|
+
"description": "标签芯片组件,用于轻量状态、分类、标签等行内信息展示。",
|
|
215
|
+
"intents": [],
|
|
216
|
+
"aliases": [],
|
|
217
|
+
"whenToUse": null,
|
|
218
|
+
"avoidWhen": null,
|
|
219
|
+
"related": [],
|
|
220
|
+
"deprecated": false
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "CodeBlock",
|
|
224
|
+
"canonical": "CodeBlock",
|
|
225
|
+
"package": "@snowui-design-system/components",
|
|
226
|
+
"import": "import { CodeBlock } from '@snowui-design-system/components';",
|
|
227
|
+
"tier": "oss",
|
|
228
|
+
"kind": "component",
|
|
229
|
+
"source": "src/components/CodeBlock.svelte",
|
|
230
|
+
"documentation": "src/components/CodeBlock.md",
|
|
231
|
+
"description": "代码块组件,支持语法显示、基础语法着色、行号、复制到剪贴板与全屏放大。全屏放大/缩小使用共享元素转场的 layout 策略:实际过渡位置与尺寸,不缩放代码字形;图标切换动效使用 REPLACEMENTAPPEARMOTION,避免继承浮层类动效语义。",
|
|
232
|
+
"intents": [
|
|
233
|
+
"代码展示",
|
|
234
|
+
"代码复制",
|
|
235
|
+
"代码展开"
|
|
236
|
+
],
|
|
237
|
+
"aliases": [
|
|
238
|
+
"代码块",
|
|
239
|
+
"单行代码条"
|
|
240
|
+
],
|
|
241
|
+
"whenToUse": null,
|
|
242
|
+
"avoidWhen": null,
|
|
243
|
+
"related": [
|
|
244
|
+
"CopyButton",
|
|
245
|
+
"ExpandButton"
|
|
246
|
+
],
|
|
247
|
+
"deprecated": false
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "ColorSchemeButton",
|
|
251
|
+
"canonical": "ColorSchemeButton",
|
|
252
|
+
"package": "@snowui-design-system/components",
|
|
253
|
+
"import": "import { ColorSchemeButton } from '@snowui-design-system/components';",
|
|
254
|
+
"tier": "oss",
|
|
255
|
+
"kind": "component",
|
|
256
|
+
"source": "src/components/ColorSchemeButton.svelte",
|
|
257
|
+
"documentation": "src/components/ColorSchemeButton.md",
|
|
258
|
+
"description": "以真实 Button 为宿主,在页面亮色与暗色方案之间切换。",
|
|
259
|
+
"intents": [
|
|
260
|
+
"明暗模式切换",
|
|
261
|
+
"主题方案切换"
|
|
262
|
+
],
|
|
263
|
+
"aliases": [
|
|
264
|
+
"明暗切换按钮",
|
|
265
|
+
"主题按钮",
|
|
266
|
+
"ThemeButton"
|
|
267
|
+
],
|
|
268
|
+
"whenToUse": null,
|
|
269
|
+
"avoidWhen": null,
|
|
270
|
+
"related": [
|
|
271
|
+
"Button",
|
|
272
|
+
"StyleButton"
|
|
273
|
+
],
|
|
274
|
+
"deprecated": false
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"name": "CopyButton",
|
|
278
|
+
"canonical": "CopyButton",
|
|
279
|
+
"package": "@snowui-design-system/components",
|
|
280
|
+
"import": "import { CopyButton } from '@snowui-design-system/components';",
|
|
281
|
+
"tier": "oss",
|
|
282
|
+
"kind": "component",
|
|
283
|
+
"source": "src/components/CopyButton.svelte",
|
|
284
|
+
"documentation": "src/components/CopyButton.md",
|
|
285
|
+
"description": "以真实 Button 为宿主的剪贴板复制与瞬时反馈按钮。",
|
|
286
|
+
"intents": [
|
|
287
|
+
"复制内容",
|
|
288
|
+
"复制代码"
|
|
289
|
+
],
|
|
290
|
+
"aliases": [
|
|
291
|
+
"复制按钮",
|
|
292
|
+
"复制代码按钮"
|
|
293
|
+
],
|
|
294
|
+
"whenToUse": null,
|
|
295
|
+
"avoidWhen": null,
|
|
296
|
+
"related": [
|
|
297
|
+
"Button",
|
|
298
|
+
"CodeBlock"
|
|
299
|
+
],
|
|
300
|
+
"deprecated": false
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"name": "Dialog",
|
|
304
|
+
"canonical": "Dialog",
|
|
305
|
+
"package": "@snowui-design-system/components",
|
|
306
|
+
"import": "import { Dialog } from '@snowui-design-system/components';",
|
|
307
|
+
"tier": "oss",
|
|
308
|
+
"kind": "component",
|
|
309
|
+
"source": "src/components/Dialog.svelte",
|
|
310
|
+
"documentation": "src/components/Dialog.md",
|
|
311
|
+
"description": "提供通用模态对话框,包含 backdrop、居中面板、焦点陷阱、滚动锁定与三种激活模式。",
|
|
312
|
+
"intents": [],
|
|
313
|
+
"aliases": [],
|
|
314
|
+
"whenToUse": null,
|
|
315
|
+
"avoidWhen": null,
|
|
316
|
+
"related": [],
|
|
317
|
+
"deprecated": false
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"name": "ExpandButton",
|
|
321
|
+
"canonical": "ExpandButton",
|
|
322
|
+
"package": "@snowui-design-system/components",
|
|
323
|
+
"import": "import { ExpandButton } from '@snowui-design-system/components';",
|
|
324
|
+
"tier": "oss",
|
|
325
|
+
"kind": "component",
|
|
326
|
+
"source": "src/components/ExpandButton.svelte",
|
|
327
|
+
"documentation": "src/components/ExpandButton.md",
|
|
328
|
+
"description": "以真实 Button 为宿主的展开 / 收起二态按钮。",
|
|
329
|
+
"intents": [
|
|
330
|
+
"展开内容",
|
|
331
|
+
"全屏预览"
|
|
332
|
+
],
|
|
333
|
+
"aliases": [
|
|
334
|
+
"展开按钮",
|
|
335
|
+
"全屏按钮"
|
|
336
|
+
],
|
|
337
|
+
"whenToUse": null,
|
|
338
|
+
"avoidWhen": null,
|
|
339
|
+
"related": [
|
|
340
|
+
"Button",
|
|
341
|
+
"CodeBlock"
|
|
342
|
+
],
|
|
343
|
+
"deprecated": false
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"name": "Frame",
|
|
347
|
+
"canonical": "Frame",
|
|
348
|
+
"package": "@snowui-design-system/components",
|
|
349
|
+
"import": "import { Frame } from '@snowui-design-system/components';",
|
|
350
|
+
"tier": "oss",
|
|
351
|
+
"kind": "component",
|
|
352
|
+
"source": "src/components/Frame.svelte",
|
|
353
|
+
"documentation": "src/components/Frame.md",
|
|
354
|
+
"description": "OSS 版基础容器。承载所有自包含的组件能力——布局、状态机、JS 动效执行、FLIP、Scale 观察、Perception、Skeleton 协议。",
|
|
355
|
+
"intents": [],
|
|
356
|
+
"aliases": [],
|
|
357
|
+
"whenToUse": null,
|
|
358
|
+
"avoidWhen": null,
|
|
359
|
+
"related": [],
|
|
360
|
+
"deprecated": false
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"name": "Gradient",
|
|
364
|
+
"canonical": "Gradient",
|
|
365
|
+
"package": "@snowui-design-system/components",
|
|
366
|
+
"import": "import { Gradient } from '@snowui-design-system/components';",
|
|
367
|
+
"tier": "oss",
|
|
368
|
+
"kind": "component",
|
|
369
|
+
"source": "src/components/Gradient.svelte",
|
|
370
|
+
"documentation": "src/components/Gradient.md",
|
|
371
|
+
"description": "以可缩放 SVG 矢量绘制 Workshop Frame 200 的六种固定渐变视觉,并让四个有色图层持续柔和形变。",
|
|
372
|
+
"intents": [],
|
|
373
|
+
"aliases": [],
|
|
374
|
+
"whenToUse": null,
|
|
375
|
+
"avoidWhen": null,
|
|
376
|
+
"related": [],
|
|
377
|
+
"deprecated": false
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"name": "Icon",
|
|
381
|
+
"canonical": "Icon",
|
|
382
|
+
"package": "@snowui-design-system/components",
|
|
383
|
+
"import": "import { Icon } from '@snowui-design-system/components';",
|
|
384
|
+
"tier": "oss",
|
|
385
|
+
"kind": "component",
|
|
386
|
+
"source": "src/components/Icon.svelte",
|
|
387
|
+
"documentation": "src/components/Icon.md",
|
|
388
|
+
"description": "图标组件,用于显示 SVG 图标。",
|
|
389
|
+
"intents": [],
|
|
390
|
+
"aliases": [],
|
|
391
|
+
"whenToUse": null,
|
|
392
|
+
"avoidWhen": null,
|
|
393
|
+
"related": [],
|
|
394
|
+
"deprecated": false
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"name": "Image",
|
|
398
|
+
"canonical": "Image",
|
|
399
|
+
"package": "@snowui-design-system/components",
|
|
400
|
+
"import": "import { Image } from '@snowui-design-system/components';",
|
|
401
|
+
"tier": "oss",
|
|
402
|
+
"kind": "component",
|
|
403
|
+
"source": "src/components/Image.svelte",
|
|
404
|
+
"documentation": "src/components/Image.md",
|
|
405
|
+
"description": "图片组件,负责展示图片资源、占位态、组合挂件与预览触发。",
|
|
406
|
+
"intents": [],
|
|
407
|
+
"aliases": [],
|
|
408
|
+
"whenToUse": null,
|
|
409
|
+
"avoidWhen": null,
|
|
410
|
+
"related": [],
|
|
411
|
+
"deprecated": false
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"name": "ImageGroup",
|
|
415
|
+
"canonical": "ImageGroup",
|
|
416
|
+
"package": "@snowui-design-system/components",
|
|
417
|
+
"import": "import { ImageGroup } from '@snowui-design-system/components';",
|
|
418
|
+
"tier": "oss",
|
|
419
|
+
"kind": "component",
|
|
420
|
+
"source": "src/components/ImageGroup.svelte",
|
|
421
|
+
"documentation": "src/components/ImageGroup.md",
|
|
422
|
+
"description": "图片组容器,统一控制组内图片尺寸与基础布局,并为页面级 ImageViewer 提供组列表快照。",
|
|
423
|
+
"intents": [],
|
|
424
|
+
"aliases": [],
|
|
425
|
+
"whenToUse": null,
|
|
426
|
+
"avoidWhen": null,
|
|
427
|
+
"related": [],
|
|
428
|
+
"deprecated": false
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"name": "Indicator",
|
|
432
|
+
"canonical": "Indicator",
|
|
433
|
+
"package": "@snowui-design-system/components",
|
|
434
|
+
"import": "import { Indicator } from '@snowui-design-system/components';",
|
|
435
|
+
"tier": "oss",
|
|
436
|
+
"kind": "component",
|
|
437
|
+
"source": "src/components/Indicator.svelte",
|
|
438
|
+
"documentation": "src/components/Indicator.md",
|
|
439
|
+
"description": "提供宿主 hover 显示、Pointer / 键盘拖动与统一视觉反馈的通用尺寸手柄",
|
|
440
|
+
"intents": [],
|
|
441
|
+
"aliases": [],
|
|
442
|
+
"whenToUse": null,
|
|
443
|
+
"avoidWhen": null,
|
|
444
|
+
"related": [],
|
|
445
|
+
"deprecated": false
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"name": "Input",
|
|
449
|
+
"canonical": "Input",
|
|
450
|
+
"package": "@snowui-design-system/components",
|
|
451
|
+
"import": "import { Input } from '@snowui-design-system/components';",
|
|
452
|
+
"tier": "oss",
|
|
453
|
+
"kind": "component",
|
|
454
|
+
"source": "src/components/Input.svelte",
|
|
455
|
+
"documentation": "src/components/Input.md",
|
|
456
|
+
"description": "基础单行输入宿主;text 使用原生可见 <input,date / color 使用自定义可见展示层,其余类型继续承接原生 <input 能力与 Frame 通用能力。",
|
|
457
|
+
"intents": [],
|
|
458
|
+
"aliases": [],
|
|
459
|
+
"whenToUse": null,
|
|
460
|
+
"avoidWhen": null,
|
|
461
|
+
"related": [],
|
|
462
|
+
"deprecated": false
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"name": "Kbd",
|
|
466
|
+
"canonical": "Kbd",
|
|
467
|
+
"package": "@snowui-design-system/components",
|
|
468
|
+
"import": "import { Kbd } from '@snowui-design-system/components';",
|
|
469
|
+
"tier": "oss",
|
|
470
|
+
"kind": "component",
|
|
471
|
+
"source": "src/components/Kbd.svelte",
|
|
472
|
+
"documentation": "src/components/Kbd.md",
|
|
473
|
+
"description": "显示键盘按键或快捷键标识的内联标签组件",
|
|
474
|
+
"intents": [],
|
|
475
|
+
"aliases": [],
|
|
476
|
+
"whenToUse": null,
|
|
477
|
+
"avoidWhen": null,
|
|
478
|
+
"related": [],
|
|
479
|
+
"deprecated": false
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"name": "Link",
|
|
483
|
+
"canonical": "Link",
|
|
484
|
+
"package": "@snowui-design-system/components",
|
|
485
|
+
"import": "import { Link } from '@snowui-design-system/components';",
|
|
486
|
+
"tier": "oss",
|
|
487
|
+
"kind": "component",
|
|
488
|
+
"source": "src/components/Link.svelte",
|
|
489
|
+
"documentation": "src/components/Link.md",
|
|
490
|
+
"description": "提供正文、说明与导航中的文字链接样式。",
|
|
491
|
+
"intents": [],
|
|
492
|
+
"aliases": [],
|
|
493
|
+
"whenToUse": null,
|
|
494
|
+
"avoidWhen": null,
|
|
495
|
+
"related": [],
|
|
496
|
+
"deprecated": false
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"name": "Listbox",
|
|
500
|
+
"canonical": "Listbox",
|
|
501
|
+
"package": "@snowui-design-system/components",
|
|
502
|
+
"import": "import { Listbox } from '@snowui-design-system/components';",
|
|
503
|
+
"tier": "oss",
|
|
504
|
+
"kind": "component",
|
|
505
|
+
"source": "src/components/Listbox.svelte",
|
|
506
|
+
"documentation": "src/components/Listbox.md",
|
|
507
|
+
"description": "浮层选项列表面板,作为 Select 的下拉面板。Portal 到 body,position:fixed 定位,选中项中心对齐 Trigger,遵循 Quick Action 视觉规范。支持内嵌 <Input as=\"search\" 搜索/过滤。",
|
|
508
|
+
"intents": [],
|
|
509
|
+
"aliases": [],
|
|
510
|
+
"whenToUse": null,
|
|
511
|
+
"avoidWhen": null,
|
|
512
|
+
"related": [],
|
|
513
|
+
"deprecated": false
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"name": "LocaleProvider",
|
|
517
|
+
"canonical": "LocaleProvider",
|
|
518
|
+
"package": "@snowui-design-system/components",
|
|
519
|
+
"import": "import { LocaleProvider } from '@snowui-design-system/components';",
|
|
520
|
+
"tier": "oss",
|
|
521
|
+
"kind": "component",
|
|
522
|
+
"source": "src/components/LocaleProvider.svelte",
|
|
523
|
+
"documentation": "src/components/LocaleProvider.md",
|
|
524
|
+
"description": "为后代 SnowUI 组件提供内置 UI 文案的 locale Context。",
|
|
525
|
+
"intents": [],
|
|
526
|
+
"aliases": [],
|
|
527
|
+
"whenToUse": null,
|
|
528
|
+
"avoidWhen": null,
|
|
529
|
+
"related": [],
|
|
530
|
+
"deprecated": false
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"name": "MenuItem",
|
|
534
|
+
"canonical": "MenuItem",
|
|
535
|
+
"package": "@snowui-design-system/components",
|
|
536
|
+
"import": "import { MenuItem } from '@snowui-design-system/components';",
|
|
537
|
+
"tier": "oss",
|
|
538
|
+
"kind": "component",
|
|
539
|
+
"source": "src/components/MenuItem.svelte",
|
|
540
|
+
"documentation": "src/components/MenuItem.md",
|
|
541
|
+
"description": "浮层面板操作项,统一支持 Listbox 选项与 QuickAction 操作项两种场景。有 ListboxOwnerContext 时自动注册并从 context 派生状态;无 context 时通过 Props 直接控制。padding 在两种场景中统一为 8px。",
|
|
542
|
+
"intents": [],
|
|
543
|
+
"aliases": [],
|
|
544
|
+
"whenToUse": null,
|
|
545
|
+
"avoidWhen": null,
|
|
546
|
+
"related": [],
|
|
547
|
+
"deprecated": false
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"name": "OverflowAction",
|
|
551
|
+
"canonical": "OverflowAction",
|
|
552
|
+
"package": "@snowui-design-system/components",
|
|
553
|
+
"import": "import { OverflowAction } from '@snowui-design-system/components';",
|
|
554
|
+
"tier": "oss",
|
|
555
|
+
"kind": "component",
|
|
556
|
+
"source": "src/components/OverflowAction.svelte",
|
|
557
|
+
"documentation": "src/components/OverflowAction.md",
|
|
558
|
+
"description": "为 OverflowActions 显式声明一个可测量、可转移到菜单的真实 Button 操作。",
|
|
559
|
+
"intents": [],
|
|
560
|
+
"aliases": [],
|
|
561
|
+
"whenToUse": null,
|
|
562
|
+
"avoidWhen": null,
|
|
563
|
+
"related": [],
|
|
564
|
+
"deprecated": false
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"name": "OverflowActions",
|
|
568
|
+
"canonical": "OverflowActions",
|
|
569
|
+
"package": "@snowui-design-system/components",
|
|
570
|
+
"import": "import { OverflowActions } from '@snowui-design-system/components';",
|
|
571
|
+
"tier": "oss",
|
|
572
|
+
"kind": "component",
|
|
573
|
+
"source": "src/components/OverflowActions.svelte",
|
|
574
|
+
"documentation": "src/components/OverflowActions.md",
|
|
575
|
+
"description": "在有限宽度内保留一组操作,并把容纳不下的操作转移到 More 菜单。",
|
|
576
|
+
"intents": [
|
|
577
|
+
"响应式操作集合",
|
|
578
|
+
"操作溢出",
|
|
579
|
+
"更多菜单"
|
|
580
|
+
],
|
|
581
|
+
"aliases": [
|
|
582
|
+
"宽度变窄时逐个隐藏",
|
|
583
|
+
"从左边开始逐个隐藏",
|
|
584
|
+
"放不下时收进 More"
|
|
585
|
+
],
|
|
586
|
+
"whenToUse": "一组操作需要从完整态退化为 icon-only,并把剩余操作逐项或全部转入 More。",
|
|
587
|
+
"avoidWhen": null,
|
|
588
|
+
"related": [
|
|
589
|
+
"OverflowAction",
|
|
590
|
+
"Separator",
|
|
591
|
+
"SelectButton"
|
|
592
|
+
],
|
|
593
|
+
"deprecated": false
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"name": "Pagination",
|
|
597
|
+
"canonical": "Pagination",
|
|
598
|
+
"package": "@snowui-design-system/components",
|
|
599
|
+
"import": "import { Pagination } from '@snowui-design-system/components';",
|
|
600
|
+
"tier": "oss",
|
|
601
|
+
"kind": "component",
|
|
602
|
+
"source": "src/components/Pagination.svelte",
|
|
603
|
+
"documentation": "src/components/Pagination.md",
|
|
604
|
+
"description": "提供页码导航容器。",
|
|
605
|
+
"intents": [],
|
|
606
|
+
"aliases": [],
|
|
607
|
+
"whenToUse": null,
|
|
608
|
+
"avoidWhen": null,
|
|
609
|
+
"related": [],
|
|
610
|
+
"deprecated": false
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"name": "Popover",
|
|
614
|
+
"canonical": "Popover",
|
|
615
|
+
"package": "@snowui-design-system/components",
|
|
616
|
+
"import": "import { Popover } from '@snowui-design-system/components';",
|
|
617
|
+
"tier": "oss",
|
|
618
|
+
"kind": "component",
|
|
619
|
+
"source": "src/components/Popover.svelte",
|
|
620
|
+
"documentation": "src/components/Popover.md",
|
|
621
|
+
"description": "Popover 是承载内容的浮层容器。QuickAction 视为小尺寸 Popover,SearchPopup 视为中尺寸 Popover。",
|
|
622
|
+
"intents": [],
|
|
623
|
+
"aliases": [],
|
|
624
|
+
"whenToUse": null,
|
|
625
|
+
"avoidWhen": null,
|
|
626
|
+
"related": [],
|
|
627
|
+
"deprecated": false
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
"name": "Progress",
|
|
631
|
+
"canonical": "Progress",
|
|
632
|
+
"package": "@snowui-design-system/components",
|
|
633
|
+
"import": "import { Progress } from '@snowui-design-system/components';",
|
|
634
|
+
"tier": "oss",
|
|
635
|
+
"kind": "component",
|
|
636
|
+
"source": "src/components/Progress.svelte",
|
|
637
|
+
"documentation": "src/components/Progress.md",
|
|
638
|
+
"description": "提供长条形与圆形进度反馈。",
|
|
639
|
+
"intents": [],
|
|
640
|
+
"aliases": [],
|
|
641
|
+
"whenToUse": null,
|
|
642
|
+
"avoidWhen": null,
|
|
643
|
+
"related": [],
|
|
644
|
+
"deprecated": false
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"name": "Radio",
|
|
648
|
+
"canonical": "Radio",
|
|
649
|
+
"package": "@snowui-design-system/components",
|
|
650
|
+
"import": "import { Radio } from '@snowui-design-system/components';",
|
|
651
|
+
"tier": "oss",
|
|
652
|
+
"kind": "component",
|
|
653
|
+
"source": "src/components/Radio.svelte",
|
|
654
|
+
"documentation": "src/components/Radio.md",
|
|
655
|
+
"description": "单选按钮控件,用于在多个选项中选择一个。",
|
|
656
|
+
"intents": [],
|
|
657
|
+
"aliases": [],
|
|
658
|
+
"whenToUse": null,
|
|
659
|
+
"avoidWhen": null,
|
|
660
|
+
"related": [],
|
|
661
|
+
"deprecated": false
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"name": "ScrollArea",
|
|
665
|
+
"canonical": "ScrollArea",
|
|
666
|
+
"package": "@snowui-design-system/components",
|
|
667
|
+
"import": "import { ScrollArea } from '@snowui-design-system/components';",
|
|
668
|
+
"tier": "oss",
|
|
669
|
+
"kind": "component",
|
|
670
|
+
"source": "src/components/ScrollArea.svelte",
|
|
671
|
+
"documentation": "src/components/ScrollArea.md",
|
|
672
|
+
"description": "提供隐藏原生滚动条、使用 SnowUI 自建滚动条的通用可滚动容器",
|
|
673
|
+
"intents": [],
|
|
674
|
+
"aliases": [],
|
|
675
|
+
"whenToUse": null,
|
|
676
|
+
"avoidWhen": null,
|
|
677
|
+
"related": [],
|
|
678
|
+
"deprecated": false
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"name": "SearchInput",
|
|
682
|
+
"canonical": "SearchInput",
|
|
683
|
+
"package": "@snowui-design-system/components",
|
|
684
|
+
"import": "import { SearchInput } from '@snowui-design-system/components';",
|
|
685
|
+
"tier": "oss",
|
|
686
|
+
"kind": "component",
|
|
687
|
+
"source": "src/components/SearchInput.svelte",
|
|
688
|
+
"documentation": "src/components/SearchInput.md",
|
|
689
|
+
"description": "提供与 Input 一致的 OSS 搜索输入框,默认内置 Search。",
|
|
690
|
+
"intents": [
|
|
691
|
+
"搜索输入",
|
|
692
|
+
"可折叠搜索框"
|
|
693
|
+
],
|
|
694
|
+
"aliases": [
|
|
695
|
+
"搜索输入框",
|
|
696
|
+
"窄屏只显示搜索图标"
|
|
697
|
+
],
|
|
698
|
+
"whenToUse": null,
|
|
699
|
+
"avoidWhen": null,
|
|
700
|
+
"related": [
|
|
701
|
+
"Input"
|
|
702
|
+
],
|
|
703
|
+
"deprecated": false
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
"name": "Select",
|
|
707
|
+
"canonical": "Select",
|
|
708
|
+
"package": "@snowui-design-system/components",
|
|
709
|
+
"import": "import { Select } from '@snowui-design-system/components';",
|
|
710
|
+
"tier": "oss",
|
|
711
|
+
"kind": "component",
|
|
712
|
+
"source": "src/components/Select.svelte",
|
|
713
|
+
"documentation": "src/components/Select.md",
|
|
714
|
+
"description": "自定义下拉选择组件;默认根据 options 内置 Listbox / MenuItem,高级场景支持显式组合,两种模式共用 ListboxOwnerContext。",
|
|
715
|
+
"intents": [],
|
|
716
|
+
"aliases": [],
|
|
717
|
+
"whenToUse": null,
|
|
718
|
+
"avoidWhen": null,
|
|
719
|
+
"related": [],
|
|
720
|
+
"deprecated": false
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"name": "SelectButton",
|
|
724
|
+
"canonical": "SelectButton",
|
|
725
|
+
"package": "@snowui-design-system/components",
|
|
726
|
+
"import": "import { SelectButton } from '@snowui-design-system/components';",
|
|
727
|
+
"tier": "oss",
|
|
728
|
+
"kind": "component",
|
|
729
|
+
"source": "src/components/SelectButton.svelte",
|
|
730
|
+
"documentation": "src/components/SelectButton.md",
|
|
731
|
+
"description": "以真实 Button 为视觉宿主、复用 Select 单选能力的按钮型选择器。",
|
|
732
|
+
"intents": [
|
|
733
|
+
"按钮触发选择菜单",
|
|
734
|
+
"按钮触发命令菜单"
|
|
735
|
+
],
|
|
736
|
+
"aliases": [
|
|
737
|
+
"下拉按钮",
|
|
738
|
+
"带菜单的按钮"
|
|
739
|
+
],
|
|
740
|
+
"whenToUse": null,
|
|
741
|
+
"avoidWhen": null,
|
|
742
|
+
"related": [
|
|
743
|
+
"Button",
|
|
744
|
+
"Listbox",
|
|
745
|
+
"MenuItem"
|
|
746
|
+
],
|
|
747
|
+
"deprecated": false
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
"name": "Separator",
|
|
751
|
+
"canonical": "Separator",
|
|
752
|
+
"package": "@snowui-design-system/components",
|
|
753
|
+
"import": "import { Separator } from '@snowui-design-system/components';",
|
|
754
|
+
"tier": "oss",
|
|
755
|
+
"kind": "component",
|
|
756
|
+
"source": "src/components/Separator.svelte",
|
|
757
|
+
"documentation": "src/components/Separator.md",
|
|
758
|
+
"description": "提供通用 UI 分割线。",
|
|
759
|
+
"intents": [
|
|
760
|
+
"区域分割",
|
|
761
|
+
"横向分割线",
|
|
762
|
+
"纵向分割线"
|
|
763
|
+
],
|
|
764
|
+
"aliases": [
|
|
765
|
+
"分割线",
|
|
766
|
+
"竖向分隔线",
|
|
767
|
+
"横线"
|
|
768
|
+
],
|
|
769
|
+
"whenToUse": null,
|
|
770
|
+
"avoidWhen": "图表坐标线、网格线和路径不使用 Separator。",
|
|
771
|
+
"related": [],
|
|
772
|
+
"deprecated": false
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"name": "Skeleton",
|
|
776
|
+
"canonical": "Skeleton",
|
|
777
|
+
"package": "@snowui-design-system/components",
|
|
778
|
+
"import": "import { Skeleton } from '@snowui-design-system/components';",
|
|
779
|
+
"tier": "oss",
|
|
780
|
+
"kind": "component",
|
|
781
|
+
"source": "src/components/Skeleton.svelte",
|
|
782
|
+
"documentation": "src/components/Skeleton.md",
|
|
783
|
+
"description": "通用骨架渲染器,供 Frame 默认加载协议与测试示例复用。",
|
|
784
|
+
"intents": [],
|
|
785
|
+
"aliases": [],
|
|
786
|
+
"whenToUse": null,
|
|
787
|
+
"avoidWhen": null,
|
|
788
|
+
"related": [],
|
|
789
|
+
"deprecated": false
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
"name": "Slider",
|
|
793
|
+
"canonical": "Slider",
|
|
794
|
+
"package": "@snowui-design-system/components",
|
|
795
|
+
"import": "import { Slider } from '@snowui-design-system/components';",
|
|
796
|
+
"tier": "oss",
|
|
797
|
+
"kind": "component",
|
|
798
|
+
"source": "src/components/Slider.svelte",
|
|
799
|
+
"documentation": "src/components/Slider.md",
|
|
800
|
+
"description": "提供单值、区间、水平、纵向、可切割 steps 与填充式视觉变体的滑动输入。",
|
|
801
|
+
"intents": [],
|
|
802
|
+
"aliases": [],
|
|
803
|
+
"whenToUse": null,
|
|
804
|
+
"avoidWhen": null,
|
|
805
|
+
"related": [],
|
|
806
|
+
"deprecated": false
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"name": "SnowUILogo",
|
|
810
|
+
"canonical": "SnowUILogo",
|
|
811
|
+
"package": "@snowui-design-system/components",
|
|
812
|
+
"import": "import { SnowUILogo } from '@snowui-design-system/components';",
|
|
813
|
+
"tier": "oss",
|
|
814
|
+
"kind": "component",
|
|
815
|
+
"source": "src/components/SnowUILogo.svelte",
|
|
816
|
+
"documentation": "src/components/SnowUILogo.md",
|
|
817
|
+
"description": "按 Workshop 设计稿渲染 SnowUI 图标、字标,以及横向或纵向组合。",
|
|
818
|
+
"intents": [],
|
|
819
|
+
"aliases": [],
|
|
820
|
+
"whenToUse": null,
|
|
821
|
+
"avoidWhen": null,
|
|
822
|
+
"related": [],
|
|
823
|
+
"deprecated": false
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
"name": "Spinner",
|
|
827
|
+
"canonical": "Spinner",
|
|
828
|
+
"package": "@snowui-design-system/components",
|
|
829
|
+
"import": "import { Spinner } from '@snowui-design-system/components';",
|
|
830
|
+
"tier": "oss",
|
|
831
|
+
"kind": "component",
|
|
832
|
+
"source": "src/components/Spinner.svelte",
|
|
833
|
+
"documentation": "src/components/Spinner.md",
|
|
834
|
+
"description": "继承: 复用 Frame.svelte 的所有通用能力 (交互、动效、响应式)。",
|
|
835
|
+
"intents": [],
|
|
836
|
+
"aliases": [],
|
|
837
|
+
"whenToUse": null,
|
|
838
|
+
"avoidWhen": null,
|
|
839
|
+
"related": [],
|
|
840
|
+
"deprecated": false
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
"name": "StyleButton",
|
|
844
|
+
"canonical": "StyleButton",
|
|
845
|
+
"package": "@snowui-design-system/components",
|
|
846
|
+
"import": "import { StyleButton } from '@snowui-design-system/components';",
|
|
847
|
+
"tier": "oss",
|
|
848
|
+
"kind": "component",
|
|
849
|
+
"source": "src/components/StyleButton.svelte",
|
|
850
|
+
"documentation": "src/components/StyleButton.md",
|
|
851
|
+
"description": "以真实 Button 为宿主,在 SnowUI 与 Apple 视觉风格之间切换。",
|
|
852
|
+
"intents": [],
|
|
853
|
+
"aliases": [],
|
|
854
|
+
"whenToUse": null,
|
|
855
|
+
"avoidWhen": null,
|
|
856
|
+
"related": [],
|
|
857
|
+
"deprecated": false
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
"name": "Switch",
|
|
861
|
+
"canonical": "Switch",
|
|
862
|
+
"package": "@snowui-design-system/components",
|
|
863
|
+
"import": "import { Switch } from '@snowui-design-system/components';",
|
|
864
|
+
"tier": "oss",
|
|
865
|
+
"kind": "component",
|
|
866
|
+
"source": "src/components/Switch.svelte",
|
|
867
|
+
"documentation": "src/components/Switch.md",
|
|
868
|
+
"description": "开关切换控件,用于在两个状态之间切换。",
|
|
869
|
+
"intents": [],
|
|
870
|
+
"aliases": [],
|
|
871
|
+
"whenToUse": null,
|
|
872
|
+
"avoidWhen": null,
|
|
873
|
+
"related": [],
|
|
874
|
+
"deprecated": false
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
"name": "Table",
|
|
878
|
+
"canonical": "Table",
|
|
879
|
+
"package": "@snowui-design-system/components",
|
|
880
|
+
"import": "import { Table } from '@snowui-design-system/components';",
|
|
881
|
+
"tier": "oss",
|
|
882
|
+
"kind": "component",
|
|
883
|
+
"source": "src/components/Table.svelte",
|
|
884
|
+
"documentation": "src/components/Table.md",
|
|
885
|
+
"description": "提供 OSS 原生表格语义、列宽与加载展示;宽表参与页面固有宽度计算,由页面容器负责横向滚动。",
|
|
886
|
+
"intents": [],
|
|
887
|
+
"aliases": [],
|
|
888
|
+
"whenToUse": null,
|
|
889
|
+
"avoidWhen": null,
|
|
890
|
+
"related": [],
|
|
891
|
+
"deprecated": false
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
"name": "TableBody",
|
|
895
|
+
"canonical": "TableBody",
|
|
896
|
+
"package": "@snowui-design-system/components",
|
|
897
|
+
"import": "import { TableBody } from '@snowui-design-system/components';",
|
|
898
|
+
"tier": "oss",
|
|
899
|
+
"kind": "component",
|
|
900
|
+
"source": "src/components/TableBody.svelte",
|
|
901
|
+
"documentation": "src/components/TableBody.md",
|
|
902
|
+
"description": "Table 的 <tbody 语义容器。",
|
|
903
|
+
"intents": [],
|
|
904
|
+
"aliases": [],
|
|
905
|
+
"whenToUse": null,
|
|
906
|
+
"avoidWhen": null,
|
|
907
|
+
"related": [],
|
|
908
|
+
"deprecated": false
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
"name": "TableCell",
|
|
912
|
+
"canonical": "TableCell",
|
|
913
|
+
"package": "@snowui-design-system/components",
|
|
914
|
+
"import": "import { TableCell } from '@snowui-design-system/components';",
|
|
915
|
+
"tier": "oss",
|
|
916
|
+
"kind": "component",
|
|
917
|
+
"source": "src/components/TableCell.svelte",
|
|
918
|
+
"documentation": "src/components/TableCell.md",
|
|
919
|
+
"description": "接受任意 Svelte/HTML 内容的 <td,默认单行截断。",
|
|
920
|
+
"intents": [],
|
|
921
|
+
"aliases": [],
|
|
922
|
+
"whenToUse": null,
|
|
923
|
+
"avoidWhen": null,
|
|
924
|
+
"related": [],
|
|
925
|
+
"deprecated": false
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"name": "TableHead",
|
|
929
|
+
"canonical": "TableHead",
|
|
930
|
+
"package": "@snowui-design-system/components",
|
|
931
|
+
"import": "import { TableHead } from '@snowui-design-system/components';",
|
|
932
|
+
"tier": "oss",
|
|
933
|
+
"kind": "component",
|
|
934
|
+
"source": "src/components/TableHead.svelte",
|
|
935
|
+
"documentation": "src/components/TableHead.md",
|
|
936
|
+
"description": "<th scope=\"col\"、排序触发器与列宽手柄宿主。",
|
|
937
|
+
"intents": [],
|
|
938
|
+
"aliases": [],
|
|
939
|
+
"whenToUse": null,
|
|
940
|
+
"avoidWhen": null,
|
|
941
|
+
"related": [],
|
|
942
|
+
"deprecated": false
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
"name": "TableHeader",
|
|
946
|
+
"canonical": "TableHeader",
|
|
947
|
+
"package": "@snowui-design-system/components",
|
|
948
|
+
"import": "import { TableHeader } from '@snowui-design-system/components';",
|
|
949
|
+
"tier": "oss",
|
|
950
|
+
"kind": "component",
|
|
951
|
+
"source": "src/components/TableHeader.svelte",
|
|
952
|
+
"documentation": "src/components/TableHeader.md",
|
|
953
|
+
"description": "Table 的 <thead 语义容器。",
|
|
954
|
+
"intents": [],
|
|
955
|
+
"aliases": [],
|
|
956
|
+
"whenToUse": null,
|
|
957
|
+
"avoidWhen": null,
|
|
958
|
+
"related": [],
|
|
959
|
+
"deprecated": false
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"name": "TableRow",
|
|
963
|
+
"canonical": "TableRow",
|
|
964
|
+
"package": "@snowui-design-system/components",
|
|
965
|
+
"import": "import { TableRow } from '@snowui-design-system/components';",
|
|
966
|
+
"tier": "oss",
|
|
967
|
+
"kind": "component",
|
|
968
|
+
"source": "src/components/TableRow.svelte",
|
|
969
|
+
"documentation": "src/components/TableRow.md",
|
|
970
|
+
"description": "表头或表体的 <tr,统一整行 hover 几何与交互状态。",
|
|
971
|
+
"intents": [],
|
|
972
|
+
"aliases": [],
|
|
973
|
+
"whenToUse": null,
|
|
974
|
+
"avoidWhen": null,
|
|
975
|
+
"related": [],
|
|
976
|
+
"deprecated": false
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
"name": "Tag",
|
|
980
|
+
"canonical": "Tag",
|
|
981
|
+
"package": "@snowui-design-system/components",
|
|
982
|
+
"import": "import { Tag } from '@snowui-design-system/components';",
|
|
983
|
+
"tier": "oss",
|
|
984
|
+
"kind": "component",
|
|
985
|
+
"source": "src/components/Tag.svelte",
|
|
986
|
+
"documentation": "src/components/Tag.md",
|
|
987
|
+
"description": "标签组件,用于用户标记 / 筛选 / 路径片段等交互语义。",
|
|
988
|
+
"intents": [],
|
|
989
|
+
"aliases": [],
|
|
990
|
+
"whenToUse": null,
|
|
991
|
+
"avoidWhen": null,
|
|
992
|
+
"related": [],
|
|
993
|
+
"deprecated": false
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
"name": "Text",
|
|
997
|
+
"canonical": "Text",
|
|
998
|
+
"package": "@snowui-design-system/components",
|
|
999
|
+
"import": "import { Text } from '@snowui-design-system/components';",
|
|
1000
|
+
"tier": "oss",
|
|
1001
|
+
"kind": "component",
|
|
1002
|
+
"source": "src/components/Text.svelte",
|
|
1003
|
+
"documentation": "src/components/Text.md",
|
|
1004
|
+
"description": "智能文本显示与截断组件。",
|
|
1005
|
+
"intents": [],
|
|
1006
|
+
"aliases": [],
|
|
1007
|
+
"whenToUse": null,
|
|
1008
|
+
"avoidWhen": null,
|
|
1009
|
+
"related": [],
|
|
1010
|
+
"deprecated": false
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
"name": "Textarea",
|
|
1014
|
+
"canonical": "Textarea",
|
|
1015
|
+
"package": "@snowui-design-system/components",
|
|
1016
|
+
"import": "import { Textarea } from '@snowui-design-system/components';",
|
|
1017
|
+
"tier": "oss",
|
|
1018
|
+
"kind": "component",
|
|
1019
|
+
"source": "src/components/Textarea.svelte",
|
|
1020
|
+
"documentation": "src/components/Textarea.md",
|
|
1021
|
+
"description": "基础多行文本输入宿主,负责承接原生 <textarea 能力与 Frame 通用能力。",
|
|
1022
|
+
"intents": [],
|
|
1023
|
+
"aliases": [],
|
|
1024
|
+
"whenToUse": null,
|
|
1025
|
+
"avoidWhen": null,
|
|
1026
|
+
"related": [],
|
|
1027
|
+
"deprecated": false
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
"name": "ThemeButton",
|
|
1031
|
+
"canonical": "ColorSchemeButton",
|
|
1032
|
+
"package": "@snowui-design-system/components",
|
|
1033
|
+
"import": "import { ThemeButton } from '@snowui-design-system/components';",
|
|
1034
|
+
"tier": "oss",
|
|
1035
|
+
"kind": "component",
|
|
1036
|
+
"source": "src/components/ColorSchemeButton.svelte",
|
|
1037
|
+
"documentation": "src/components/ColorSchemeButton.md",
|
|
1038
|
+
"description": "以真实 Button 为宿主,在页面亮色与暗色方案之间切换。",
|
|
1039
|
+
"intents": [],
|
|
1040
|
+
"aliases": [
|
|
1041
|
+
"旧主题按钮"
|
|
1042
|
+
],
|
|
1043
|
+
"whenToUse": null,
|
|
1044
|
+
"avoidWhen": null,
|
|
1045
|
+
"related": [],
|
|
1046
|
+
"deprecated": true
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"name": "Tooltip",
|
|
1050
|
+
"canonical": "Tooltip",
|
|
1051
|
+
"package": "@snowui-design-system/components",
|
|
1052
|
+
"import": "import { Tooltip } from '@snowui-design-system/components';",
|
|
1053
|
+
"tier": "oss",
|
|
1054
|
+
"kind": "component",
|
|
1055
|
+
"source": "src/components/Tooltip.svelte",
|
|
1056
|
+
"documentation": "src/components/Tooltip.md",
|
|
1057
|
+
"description": "文字提示组件,在悬停时显示额外信息。",
|
|
1058
|
+
"intents": [],
|
|
1059
|
+
"aliases": [],
|
|
1060
|
+
"whenToUse": null,
|
|
1061
|
+
"avoidWhen": null,
|
|
1062
|
+
"related": [],
|
|
1063
|
+
"deprecated": false
|
|
1064
|
+
}
|
|
1065
|
+
]
|
|
1066
|
+
}
|