@snowui-design-system/components 1.2.2 → 1.2.3

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/AGENTS.md CHANGED
@@ -2,24 +2,27 @@
2
2
 
3
3
  `@snowui-design-system/components` is the official Svelte 5 UI component and block package for SnowUI.
4
4
 
5
- ## Package & Documentation Entrypoints
5
+ ## Where to Find Documentation (npm vs. GitHub vs. Online)
6
6
 
7
- - Package overview & installation: [README.md](./README.md)
8
- - Machine-readable component catalog: [component-catalog.json](./component-catalog.json)
9
- - Public AI documentation & guides (Chinese / English): https://snowui.dev/llms.txt and https://snowui.dev/llms-en.txt
10
- - Applicable license: [LICENSE](./LICENSE) (`SnowUI-Commercial-2.4.0`, proprietary source-available; **not** MIT or open-source)
7
+ - **Package overview & quick start**: [README.md](./README.md)
8
+ - **Machine-readable component catalog**: [component-catalog.json](./component-catalog.json) (shipped in both npm and GitHub)
9
+ - **Remote MCP server (Streamable HTTP)**: `https://snowui.dev/mcp` (`snowui_search`, `snowui_component`, `snowui_examples`, `snowui_setup`)
10
+ - **Zero-install CLI (Node.js 22+)**: download `https://snowui.dev/snowui.mjs` and run `node snowui.mjs help`
11
+ - **Online AI documentation (HTTPS)**: https://snowui.dev/llms-en.txt (Simplified Chinese: https://snowui.dev/llms.txt)
12
+ - **GitHub & source archive offline docs**: `./docs/README.md` (Simplified Chinese: `./docs/zh/README.md`) — present in `https://github.com/SnowUI/SnowUI` and source archives (`docs/components/<slug>.md`), **not** inside `node_modules`
13
+ - **Applicable license**: [LICENSE](./LICENSE) (`SnowUI-Commercial-2.4.0`, proprietary source-available; **not** MIT or open-source)
11
14
 
12
- ## Runtime Package vs. Source Archive
15
+ ## Runtime Package vs. Source Repository
13
16
 
14
- - The published npm package ships compiled client/server Svelte 5 modules (`dist/client`, `dist/server`), shared stylesheet entrypoints (`@snowui-design-system/components/styles`), and `./component-catalog.json`.
15
- - Raw `.svelte`, `.ts`, and `.md` paths listed under `source` and `documentation` in `./component-catalog.json` refer to the official SnowUI source archive (`src/components/*`, `src/blocks/*`), not `node_modules`.
17
+ - **Installed npm package (`node_modules/@snowui-design-system/components`)**: ships compiled client/server Svelte 5 modules (`dist/client`, `dist/server`), shared stylesheet entrypoints (`@snowui-design-system/components/styles`), `./component-catalog.json`, `./AGENTS.md`, `./llms.txt`, and `./LICENSE`. Do **not** look for `src/` or `docs/` inside `node_modules`; query component APIs, styles, types, and examples via `https://snowui.dev/mcp`, `https://snowui.dev/snowui.mjs`, or https://snowui.dev/llms-en.txt.
18
+ - **GitHub clone or source archive (`SnowUI/SnowUI`)**: `source` (`src/components/*.svelte`, `src/blocks/*.svelte`) and `documentation` (`docs/components/<slug>.md`, plus `docs/guides/*` and `docs/reference/*`) in `./component-catalog.json` resolve directly relative to this repository root.
16
19
  - Import components and blocks from `@snowui-design-system/components` and load `@snowui-design-system/components/styles` once at the application entry.
17
20
 
18
21
  ## Consumer Guidelines for AI
19
22
 
20
23
  1. Search `./component-catalog.json` (`intents`, `aliases`, `whenToUse`, `avoidWhen`, `related`) before creating custom page DOM or CSS.
21
24
  2. Prefer documented public Props, Snippets, events, and `parts` over overriding internal DOM or private classes.
22
- 3. Verify component APIs, types, and composition boundaries via https://snowui.dev/llms-en.txt (or https://snowui.dev/llms.txt) when working from the npm runtime package.
25
+ 3. Read the matched component's public API, types, and composition reference (`./docs/components/<slug>.md` in a repo checkout, or `https://snowui.dev/llms/en/components/<slug>.md` / MCP `snowui_component` when using the npm package) before writing code.
23
26
 
24
27
  ## License Gate for AI Assistants (Zero Friction for Free Scope, Fail-Closed for Restricted Scope)
25
28
 
package/README.md CHANGED
@@ -2,8 +2,9 @@
2
2
 
3
3
  A Svelte 5 component and block library for building interfaces, dashboards, and admin panels.
4
4
 
5
- - Online documentation & interactive previews: https://snowui.dev/components
6
- - Online AI documentation: https://snowui.dev/llms.txt (English: https://snowui.dev/llms-en.txt)
5
+ - Interactive component docs & live previews: https://snowui.dev/components
6
+ - Repository public documentation: `docs/README.md` (Simplified Chinese: `docs/zh/README.md` — in `https://github.com/SnowUI/SnowUI` & source archives)
7
+ - Online AI documentation: https://snowui.dev/llms-en.txt (Simplified Chinese: https://snowui.dev/llms.txt · MCP: `https://snowui.dev/mcp` · CLI: `https://snowui.dev/snowui.mjs`)
7
8
  - Package AI entry & component catalog: [AGENTS.md](./AGENTS.md) · [component-catalog.json](./component-catalog.json)
8
9
  - License: [LICENSE](./LICENSE)
9
10
 
@@ -24,6 +25,7 @@ Import components and load the package stylesheet once at your application entry
24
25
  <Button>Continue</Button>
25
26
  ```
26
27
 
27
- ## Package Contents & Source Archive
28
+ ## Package Contents vs. GitHub Repository
28
29
 
29
- The npm package ships compiled client/server Svelte 5 modules (`dist/`), shared styles, and [component-catalog.json](./component-catalog.json). Source `.svelte`, `.ts`, and `.md` files live under `src/` in the official source archive (`pnpm install --frozen-lockfile && pnpm build`).
30
+ - **Published npm package (`node_modules/@snowui-design-system/components`)**: ships compiled client/server Svelte 5 modules (`dist/`), shared styles, [AGENTS.md](./AGENTS.md), [llms.txt](./llms.txt), and [component-catalog.json](./component-catalog.json). For full component APIs, guides, and examples from an npm install, use https://snowui.dev/llms-en.txt, `https://snowui.dev/mcp`, or `https://snowui.dev/snowui.mjs`.
31
+ - **GitHub repository & source archive (`https://github.com/SnowUI/SnowUI`)**: includes Svelte/TypeScript sources under `src/` and complete offline consumer documentation under `docs/` (`docs/README.md`, `docs/guides/*`, `docs/reference/*`, `docs/components/<slug>.md`, and `docs/zh/*`; build with `pnpm install --frozen-lockfile && pnpm build`).
@@ -1,13 +1,14 @@
1
- # 第三方声明
2
- 运行依赖保留各自许可;SnowUI 的商业许可不替代以下条款。
1
+ # Third-Party Notices
3
2
 
4
- ## 历史 npm 交付说明
3
+ Runtime dependencies and referenced upstream designs retain their respective licenses; the SnowUI commercial license does not replace the notices below.
5
4
 
6
- 2026-10-31 核对公开 Registry 时,`@snowui-design-system/components` 的 `0.1.0` 与 `0.2.0-alpha.3` 至 `0.2.0-alpha.9` 这八个历史包,其包内元数据未声明 `license`,文件清单也未发现名称含 license、notice 或 copyright 的文件。此说明仅记录当时可读取包的文件清单与元数据,不排除其他正文中有声明,也不判断具体法律义务。以下第三方来源和许可说明供现在的读者查阅,不改变已发布包的字节或追溯改变历史授权;使用旧版本时应核对当时适用的许可和实际授权。
5
+ ## Historical npm Package Note
7
6
 
8
- ## Phosphor Icons(内置功能图标快照;MIT)
7
+ During a public npm Registry review on 2026-10-31, eight historical pre-1.0 versions of `@snowui-design-system/components` (`0.1.0` and `0.2.0-alpha.3` through `0.2.0-alpha.9`) did not declare a `license` field in package metadata and did not include files named with `license`, `notice`, or `copyright` in their published file lists. This note records the observable metadata and file lists of those historical artifacts without modifying previously published tarballs or retroactively altering historical terms; consult the applicable license and grant when using older versions.
9
8
 
10
- 本包内置的部分功能图标由 `@snowui-design-system/resource-svelte@1.0.29` 的 Phosphor collection 生成,具体图标在 `src/internal/component-icon/builtin-icon-data.ts` 标为 `sourceCollection: "phosphor"`。原始项目:[Phosphor Icons](https://github.com/phosphor-icons/core)。以下 MIT 声明适用于这些图形,不改变 SnowUI 自有代码和图形的许可。
9
+ ## Phosphor Icons (Built-in Functional Icon Snapshots; MIT)
10
+
11
+ Portions of the built-in functional icons bundled with this package are generated from the Phosphor collection in `@snowui-design-system/resource-svelte@1.0.29` and marked with `sourceCollection: "phosphor"` in `src/internal/component-icon/builtin-icon-data.ts`. Upstream project: [Phosphor Icons](https://github.com/phosphor-icons/core). The MIT notice below applies to those icon graphics and does not alter the license governing SnowUI's own code and graphics.
11
12
 
12
13
  MIT License
13
14
 
@@ -43,7 +44,7 @@ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
43
44
  FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
44
45
  INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
45
46
  OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
46
- TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
47
+ TORTOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
47
48
  THIS SOFTWARE.
48
49
 
49
50
 
@@ -83,9 +84,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
83
84
  SOFTWARE.
84
85
 
85
86
 
86
- ## UI Lab OTPInput(交互与动效参考;MIT)
87
+ ## UI Lab OTPInput (Interaction & Motion Reference; MIT)
87
88
 
88
- 参考本地 UI Lab 的 `src/lab/components/otp-input.tsx`(https://lab.xevrion.dev/lab/otp-input),按 SnowUI 公开 API、共享样式与动效规范重新实现;不依赖其 React 运行时。
89
+ OTPInput references the interaction and motion design of UI Lab's `src/lab/components/otp-input.tsx` (https://lab.xevrion.dev/lab/otp-input), reimplemented independently in Svelte 5 using SnowUI public APIs, shared tokens, and motion primitives without its React runtime.
89
90
 
90
91
  MIT License
91
92
 
@@ -110,9 +111,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
110
111
  SOFTWARE.
111
112
 
112
113
 
113
- ## Number Flow 0.6.2(NumberFlow / FlowText 动效参考;MIT)
114
+ ## Number Flow 0.6.2 (NumberFlow / FlowText Motion Reference; MIT)
114
115
 
115
- NumberFlow 和 FlowText 参考 [Number Flow](https://github.com/barvian/number-flow) 的数字与字符动效,SnowUI 使用自身的 Svelte 实现。以下为本地参考源码所附许可。
116
+ NumberFlow and FlowText reference the numeric and character motion model of [Number Flow](https://github.com/barvian/number-flow), implemented natively in Svelte 5 by SnowUI. Upstream license notice:
116
117
 
117
118
  MIT License
118
119
 
@@ -137,9 +138,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
137
138
  SOFTWARE.
138
139
 
139
140
 
140
- ## ProgressiveBlur(渐进模糊效果参考;MIT)
141
+ ## ProgressiveBlur (Progressive Blur Effect Reference; MIT)
141
142
 
142
- SnowUI 渐进模糊参考 [ProgressiveBlur](https://github.com/usagimaru/ProgressiveBlur) 的原生效果,Web 版本使用多层 backdrop-filter 与遮罩实现。以下为本地参考源码所附许可。
143
+ SnowUI's progressive blur effect references [ProgressiveBlur](https://github.com/usagimaru/ProgressiveBlur), implemented on the web with layered `backdrop-filter` and CSS masks. Upstream license notice:
143
144
 
144
145
  MIT License
145
146
 
@@ -164,9 +165,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
164
165
  SOFTWARE.
165
166
 
166
167
 
167
- ## Svelte Animations(Blur Reveal 效果参考;MIT)
168
+ ## Svelte Animations (Blur Reveal Effect Reference; MIT)
168
169
 
169
- BlurText 参考 [Svelte Animations](https://github.com/SikandarJODD/animations) 的 Blur Reveal 效果,以 SnowUI 公共能力重新实现,不依赖其运行时。以下为本地参考源码所附许可。
170
+ BlurText references the Blur Reveal effect from [Svelte Animations](https://github.com/SikandarJODD/animations), reimplemented using SnowUI shared motion capabilities without depending on its runtime. Upstream license notice:
170
171
 
171
172
  MIT License
172
173
 
@@ -20,19 +20,27 @@
20
20
  "npmRuntime": [
21
21
  "dist/client",
22
22
  "dist/server",
23
- "component-catalog.json"
23
+ "component-catalog.json",
24
+ "AGENTS.md",
25
+ "llms.txt",
26
+ "README.md",
27
+ "LICENSE",
28
+ "THIRD_PARTY_NOTICES.md"
24
29
  ],
25
30
  "sourceArchiveOnly": [
26
31
  "source",
27
32
  "documentation"
28
33
  ],
29
- "onlineDocumentation": "https://snowui.dev/llms-en.txt"
34
+ "githubDocumentation": "https://github.com/SnowUI/SnowUI/blob/main/docs/README.md",
35
+ "onlineDocumentation": "https://snowui.dev/llms-en.txt",
36
+ "onlineDocumentationZh": "https://snowui.dev/llms.txt",
37
+ "mcpEndpoint": "https://snowui.dev/mcp",
38
+ "cliScript": "https://snowui.dev/snowui.mjs"
30
39
  },
31
40
  "generatedFrom": [
32
41
  "src/index.ts",
33
42
  "src/blocks/index.ts",
34
- "src/components/*.md",
35
- "src/blocks/*.md",
43
+ "docs/components/*.md",
36
44
  "component-discovery.json"
37
45
  ],
38
46
  "components": [
@@ -53,7 +61,7 @@
53
61
  ],
54
62
  "kind": "component",
55
63
  "source": "src/components/Accordion.svelte",
56
- "documentation": "src/components/Accordion.md",
64
+ "documentation": "docs/components/accordion.md",
57
65
  "description": "Organize related content into expandable sections for FAQs, settings, and step-by-step explanations, with single or multiple sections open.",
58
66
  "intents": [],
59
67
  "aliases": [],
@@ -79,7 +87,7 @@
79
87
  ],
80
88
  "kind": "component",
81
89
  "source": "src/components/AccordionItem.svelte",
82
- "documentation": "src/components/AccordionItem.md",
90
+ "documentation": "docs/components/accordion-item.md",
83
91
  "description": "Define one collapsible section within an Accordion, combining a heading and content under the parent expansion state.",
84
92
  "intents": [],
85
93
  "aliases": [],
@@ -105,7 +113,7 @@
105
113
  ],
106
114
  "kind": "component",
107
115
  "source": "src/components/Avatar.svelte",
108
- "documentation": "src/components/Avatar.md",
116
+ "documentation": "docs/components/avatar.md",
109
117
  "description": "Display a person or team avatar with image, text, and gradient fallbacks for lists, comments, and member details.",
110
118
  "intents": [],
111
119
  "aliases": [],
@@ -131,7 +139,7 @@
131
139
  ],
132
140
  "kind": "component",
133
141
  "source": "src/components/AvatarGroup.svelte",
134
- "documentation": "src/components/AvatarGroup.md",
142
+ "documentation": "docs/components/avatar-group.md",
135
143
  "description": "Arrange or stack multiple avatars and show the count of hidden members in team and collaborator lists.",
136
144
  "intents": [],
137
145
  "aliases": [],
@@ -157,7 +165,7 @@
157
165
  ],
158
166
  "kind": "component",
159
167
  "source": "src/components/Badge.svelte",
160
- "documentation": "src/components/Badge.md",
168
+ "documentation": "docs/components/badge.md",
161
169
  "description": "Show unread counts and status with compact numbers, text, or dots alongside buttons, avatars, and navigation items.",
162
170
  "intents": [],
163
171
  "aliases": [],
@@ -183,7 +191,7 @@
183
191
  ],
184
192
  "kind": "component",
185
193
  "source": "src/components/BarChart.svelte",
186
- "documentation": "src/components/BarChart.md",
194
+ "documentation": "docs/components/bar-chart.md",
187
195
  "description": "Compare categories with horizontal, vertical, grouped, or stacked bars, axes, and interactive details.",
188
196
  "intents": [
189
197
  "adaptive monochrome contrast for chart foreground on light and dark surfaces",
@@ -216,7 +224,7 @@
216
224
  ],
217
225
  "kind": "component",
218
226
  "source": "src/components/BlurText.svelte",
219
- "documentation": "src/components/BlurText.md",
227
+ "documentation": "docs/components/blur-text.md",
220
228
  "description": "Reveal headings and short passages letter by letter with blur, fade, and slight upward motion while preserving text layout.",
221
229
  "intents": [],
222
230
  "aliases": [],
@@ -242,7 +250,7 @@
242
250
  ],
243
251
  "kind": "component",
244
252
  "source": "src/components/Breadcrumb.svelte",
245
- "documentation": "src/components/Breadcrumb.md",
253
+ "documentation": "docs/components/breadcrumb.md",
246
254
  "description": "Show the current page hierarchy and provide paths back to parent pages.",
247
255
  "intents": [],
248
256
  "aliases": [],
@@ -268,7 +276,7 @@
268
276
  ],
269
277
  "kind": "component",
270
278
  "source": "src/components/Button.svelte",
271
- "documentation": "src/components/Button.md",
279
+ "documentation": "docs/components/button.md",
272
280
  "description": "Trigger actions or navigation with text, icons, loading, and disabled states, from primary actions to compact tools.",
273
281
  "intents": [
274
282
  "trigger action",
@@ -308,7 +316,7 @@
308
316
  ],
309
317
  "kind": "component",
310
318
  "source": "src/components/ButtonGroup.svelte",
311
- "documentation": "src/components/ButtonGroup.md",
319
+ "documentation": "docs/components/button-group.md",
312
320
  "description": "Combine related buttons into one action group, with optional dividers for split buttons and compact toolbars.",
313
321
  "intents": [
314
322
  "button group",
@@ -344,7 +352,7 @@
344
352
  ],
345
353
  "kind": "component",
346
354
  "source": "src/components/Card.svelte",
347
- "documentation": "src/components/Card.md",
355
+ "documentation": "docs/components/card.md",
348
356
  "description": "Present related content on a consistent card surface with flexible text, media, actions, fixed items, and scrolling.",
349
357
  "intents": [],
350
358
  "aliases": [],
@@ -370,7 +378,7 @@
370
378
  ],
371
379
  "kind": "component",
372
380
  "source": "src/components/ChartGroup.svelte",
373
- "documentation": "src/components/ChartGroup.md",
381
+ "documentation": "docs/components/chart-group.md",
374
382
  "description": "Coordinate multiple charts in one area with shared category hover, layered rendering, and aligned axes.",
375
383
  "intents": [
376
384
  "adaptive monochrome contrast for chart foreground on light and dark surfaces",
@@ -403,7 +411,7 @@
403
411
  ],
404
412
  "kind": "component",
405
413
  "source": "src/components/Checkbox.svelte",
406
- "documentation": "src/components/Checkbox.md",
414
+ "documentation": "docs/components/checkbox.md",
407
415
  "description": "Select independent options with checked, unchecked, and indeterminate states in forms or bulk selection.",
408
416
  "intents": [],
409
417
  "aliases": [],
@@ -429,7 +437,7 @@
429
437
  ],
430
438
  "kind": "component",
431
439
  "source": "src/components/Chip.svelte",
432
- "documentation": "src/components/Chip.md",
440
+ "documentation": "docs/components/chip.md",
433
441
  "description": "Display a category, status, or short detail as a compact inline label alongside text, icons, and lists.",
434
442
  "intents": [],
435
443
  "aliases": [],
@@ -455,7 +463,7 @@
455
463
  ],
456
464
  "kind": "component",
457
465
  "source": "src/components/CircularChart.svelte",
458
- "documentation": "src/components/CircularChart.md",
466
+ "documentation": "docs/components/circular-chart.md",
459
467
  "description": "Show proportions as a ring or pie with segments, rounded ends, ring thickness, and hover emphasis.",
460
468
  "intents": [],
461
469
  "aliases": [],
@@ -481,7 +489,7 @@
481
489
  ],
482
490
  "kind": "component",
483
491
  "source": "src/components/CodeBlock.svelte",
484
- "documentation": "src/components/CodeBlock.md",
492
+ "documentation": "docs/components/code-block.md",
485
493
  "description": "Display copyable code with syntax highlighting, line numbers, fullscreen viewing, and resizing.",
486
494
  "intents": [
487
495
  "code display",
@@ -519,7 +527,7 @@
519
527
  ],
520
528
  "kind": "component",
521
529
  "source": "src/components/ColorSchemeButton.svelte",
522
- "documentation": "src/components/ColorSchemeButton.md",
530
+ "documentation": "docs/components/color-scheme-button.md",
523
531
  "description": "Switch between light and dark themes with an icon that reflects the current scheme.",
524
532
  "intents": [
525
533
  "light dark mode toggle",
@@ -555,7 +563,7 @@
555
563
  ],
556
564
  "kind": "component",
557
565
  "source": "src/components/CopyButton.svelte",
558
- "documentation": "src/components/CopyButton.md",
566
+ "documentation": "docs/components/copy-button.md",
559
567
  "description": "Copy text or code to the clipboard and briefly confirm success, useful for links, identifiers, and install commands.",
560
568
  "intents": [
561
569
  "copy content",
@@ -590,7 +598,7 @@
590
598
  ],
591
599
  "kind": "component",
592
600
  "source": "src/components/CopyLink.svelte",
593
- "documentation": "src/components/CopyLink.md",
601
+ "documentation": "docs/components/copy-link.md",
594
602
  "description": "Show a link that opens from its text and copies its address from the rest of the control.",
595
603
  "intents": [
596
604
  "display and copy link URL"
@@ -626,7 +634,7 @@
626
634
  ],
627
635
  "kind": "component",
628
636
  "source": "src/components/DataTable.svelte",
629
- "documentation": "src/components/DataTable.md",
637
+ "documentation": "docs/components/data-table.md",
630
638
  "description": "Coordinate querying, sorting, and pagination with composable toolbar, table, and pagination controls.",
631
639
  "intents": [
632
640
  "data table",
@@ -675,7 +683,7 @@
675
683
  ],
676
684
  "kind": "component",
677
685
  "source": "src/components/Dialog.svelte",
678
- "documentation": "src/components/Dialog.md",
686
+ "documentation": "docs/components/dialog.md",
679
687
  "description": "Present focused content or actions in a modal with a backdrop, focus management, and background scroll lock.",
680
688
  "intents": [],
681
689
  "aliases": [],
@@ -701,7 +709,7 @@
701
709
  ],
702
710
  "kind": "component",
703
711
  "source": "src/components/ExpandButton.svelte",
704
- "documentation": "src/components/ExpandButton.md",
712
+ "documentation": "docs/components/expand-button.md",
705
713
  "description": "Switch between expanded and collapsed states with consistent button feedback.",
706
714
  "intents": [
707
715
  "expand content",
@@ -736,7 +744,7 @@
736
744
  ],
737
745
  "kind": "component",
738
746
  "source": "src/components/Field.svelte",
739
- "documentation": "src/components/Field.md",
747
+ "documentation": "docs/components/field.md",
740
748
  "description": "Combine an input, label, icon, and validation feedback into a consistent form field.",
741
749
  "intents": [
742
750
  "form field composition",
@@ -772,7 +780,7 @@
772
780
  ],
773
781
  "kind": "component",
774
782
  "source": "src/components/FlowText.svelte",
775
- "documentation": "src/components/FlowText.md",
783
+ "documentation": "docs/components/flow-text.md",
776
784
  "description": "Animate changes in text or numbers for dynamic copy, counters, timers, and countdowns.",
777
785
  "intents": [],
778
786
  "aliases": [],
@@ -798,7 +806,7 @@
798
806
  ],
799
807
  "kind": "component",
800
808
  "source": "src/components/Frame.svelte",
801
- "documentation": "src/components/Frame.md",
809
+ "documentation": "docs/components/frame.md",
802
810
  "description": "Coordinate layout, state, loading, and motion across components through explicit configuration.",
803
811
  "intents": [],
804
812
  "aliases": [],
@@ -824,7 +832,7 @@
824
832
  ],
825
833
  "kind": "component",
826
834
  "source": "src/components/GaugeChart.svelte",
827
- "documentation": "src/components/GaugeChart.md",
835
+ "documentation": "docs/components/gauge-chart.md",
828
836
  "description": "Show several proportions in a semicircle or half pie with segments, gradients, ring thickness, and reveal motion.",
829
837
  "intents": [
830
838
  "semicircular proportion chart",
@@ -860,7 +868,7 @@
860
868
  ],
861
869
  "kind": "component",
862
870
  "source": "src/components/Gradient.svelte",
863
- "documentation": "src/components/Gradient.md",
871
+ "documentation": "docs/components/gradient.md",
864
872
  "description": "Add soft layered gradients to backgrounds or placeholders with six palettes and scalable shape effects.",
865
873
  "intents": [],
866
874
  "aliases": [],
@@ -886,7 +894,7 @@
886
894
  ],
887
895
  "kind": "component",
888
896
  "source": "src/components/GradientMotion.svelte",
889
- "documentation": "src/components/GradientMotion.md",
897
+ "documentation": "docs/components/gradient-motion.md",
890
898
  "description": "Create a flowing gradient sweep for backgrounds, avatar placeholders, or clipped media areas.",
891
899
  "intents": [],
892
900
  "aliases": [],
@@ -912,7 +920,7 @@
912
920
  ],
913
921
  "kind": "component",
914
922
  "source": "src/components/Icon.svelte",
915
- "documentation": "src/components/Icon.md",
923
+ "documentation": "docs/components/icon.md",
916
924
  "description": "Display SVG icons with consistent sizing and color in buttons, navigation, and content.",
917
925
  "intents": [],
918
926
  "aliases": [],
@@ -938,7 +946,7 @@
938
946
  ],
939
947
  "kind": "component",
940
948
  "source": "src/components/IconProvider.svelte",
941
- "documentation": "src/components/IconProvider.md",
949
+ "documentation": "docs/components/icon-provider.md",
942
950
  "description": "Replace SnowUI functional icons for an application or subtree while retaining defaults for unconfigured icons.",
943
951
  "intents": [],
944
952
  "aliases": [],
@@ -964,7 +972,7 @@
964
972
  ],
965
973
  "kind": "component",
966
974
  "source": "src/components/Image.svelte",
967
- "documentation": "src/components/Image.md",
975
+ "documentation": "docs/components/image.md",
968
976
  "description": "Display images and placeholders with badges, actions, and preview entry points.",
969
977
  "intents": [],
970
978
  "aliases": [],
@@ -990,7 +998,7 @@
990
998
  ],
991
999
  "kind": "component",
992
1000
  "source": "src/components/ImageGroup.svelte",
993
- "documentation": "src/components/ImageGroup.md",
1001
+ "documentation": "docs/components/image-group.md",
994
1002
  "description": "Arrange multiple images with consistent sizes and group preview for galleries and attachments.",
995
1003
  "intents": [],
996
1004
  "aliases": [],
@@ -1016,7 +1024,7 @@
1016
1024
  ],
1017
1025
  "kind": "component",
1018
1026
  "source": "src/components/ImageViewer.svelte",
1019
- "documentation": "src/components/ImageViewer.md",
1027
+ "documentation": "docs/components/image-viewer.md",
1020
1028
  "description": "Preview images or videos at page level with previous, next, and close controls.",
1021
1029
  "intents": [
1022
1030
  "image preview",
@@ -1052,7 +1060,7 @@
1052
1060
  ],
1053
1061
  "kind": "component",
1054
1062
  "source": "src/components/Indicator.svelte",
1055
- "documentation": "src/components/Indicator.md",
1063
+ "documentation": "docs/components/indicator.md",
1056
1064
  "description": "Provide a draggable resize handle for panels and content areas, with mouse and keyboard support.",
1057
1065
  "intents": [],
1058
1066
  "aliases": [],
@@ -1078,7 +1086,7 @@
1078
1086
  ],
1079
1087
  "kind": "component",
1080
1088
  "source": "src/components/Input.svelte",
1081
- "documentation": "src/components/Input.md",
1089
+ "documentation": "docs/components/input.md",
1082
1090
  "description": "Provide single-line input for text, search, passwords, numbers, dates, times, and colors, with field feedback.",
1083
1091
  "intents": [],
1084
1092
  "aliases": [],
@@ -1104,7 +1112,7 @@
1104
1112
  ],
1105
1113
  "kind": "component",
1106
1114
  "source": "src/components/Kbd.svelte",
1107
- "documentation": "src/components/Kbd.md",
1115
+ "documentation": "docs/components/kbd.md",
1108
1116
  "description": "Display shortcuts or keyboard hints as compact keycaps.",
1109
1117
  "intents": [],
1110
1118
  "aliases": [],
@@ -1130,7 +1138,7 @@
1130
1138
  ],
1131
1139
  "kind": "component",
1132
1140
  "source": "src/components/LineChart.svelte",
1133
- "documentation": "src/components/LineChart.md",
1141
+ "documentation": "docs/components/line-chart.md",
1134
1142
  "description": "Plot trends with multiple series, area fill, solid or dashed lines, axes, grids, and point styling.",
1135
1143
  "intents": [
1136
1144
  "adaptive monochrome contrast for chart foreground on light and dark surfaces",
@@ -1163,7 +1171,7 @@
1163
1171
  ],
1164
1172
  "kind": "component",
1165
1173
  "source": "src/components/Link.svelte",
1166
- "documentation": "src/components/Link.md",
1174
+ "documentation": "docs/components/link.md",
1167
1175
  "description": "Provide clear text links in content, descriptions, and navigation, with optional directional indicators.",
1168
1176
  "intents": [],
1169
1177
  "aliases": [],
@@ -1189,7 +1197,7 @@
1189
1197
  ],
1190
1198
  "kind": "component",
1191
1199
  "source": "src/components/Listbox.svelte",
1192
- "documentation": "src/components/Listbox.md",
1200
+ "documentation": "docs/components/listbox.md",
1193
1201
  "description": "Present selectable options in a popup with search filtering and keyboard support, including Select panels.",
1194
1202
  "intents": [],
1195
1203
  "aliases": [],
@@ -1215,7 +1223,7 @@
1215
1223
  ],
1216
1224
  "kind": "component",
1217
1225
  "source": "src/components/LocaleProvider.svelte",
1218
- "documentation": "src/components/LocaleProvider.md",
1226
+ "documentation": "docs/components/locale-provider.md",
1219
1227
  "description": "Set the language of built-in SnowUI interface messages for an application or subtree, with custom overrides.",
1220
1228
  "intents": [],
1221
1229
  "aliases": [],
@@ -1241,7 +1249,7 @@
1241
1249
  ],
1242
1250
  "kind": "component",
1243
1251
  "source": "src/components/MenuItem.svelte",
1244
- "documentation": "src/components/MenuItem.md",
1252
+ "documentation": "docs/components/menu-item.md",
1245
1253
  "description": "Present an option in a list or quick-action menu with icon, selected, and disabled states.",
1246
1254
  "intents": [],
1247
1255
  "aliases": [],
@@ -1267,7 +1275,7 @@
1267
1275
  ],
1268
1276
  "kind": "component",
1269
1277
  "source": "src/components/MetricCard.svelte",
1270
- "documentation": "src/components/MetricCard.md",
1278
+ "documentation": "docs/components/metric-card.md",
1271
1279
  "description": "Display one dashboard metric and an optional change; the application supplies the data and calculates comparisons.",
1272
1280
  "intents": [
1273
1281
  "display dashboard metric and delta"
@@ -1300,7 +1308,7 @@
1300
1308
  ],
1301
1309
  "kind": "component",
1302
1310
  "source": "src/components/NumberFlow.svelte",
1303
- "documentation": "src/components/NumberFlow.md",
1311
+ "documentation": "docs/components/number-flow.md",
1304
1312
  "description": "Animate changing numbers digit by digit with width transitions while preserving currency, grouping, and decimals.",
1305
1313
  "intents": [
1306
1314
  "rolling number counter",
@@ -1334,7 +1342,7 @@
1334
1342
  ],
1335
1343
  "kind": "component",
1336
1344
  "source": "src/components/NumericText.svelte",
1337
- "documentation": "src/components/NumericText.md",
1345
+ "documentation": "docs/components/numeric-text.md",
1338
1346
  "description": "Animate only the changing portions of short text or numbers while preserving unchanged content.",
1339
1347
  "intents": [],
1340
1348
  "aliases": [],
@@ -1360,7 +1368,7 @@
1360
1368
  ],
1361
1369
  "kind": "component",
1362
1370
  "source": "src/components/OTPInput.svelte",
1363
- "documentation": "src/components/OTPInput.md",
1371
+ "documentation": "docs/components/otp-input.md",
1364
1372
  "description": "Enter a configurable 4–8 digit one-time code with full-code paste, SMS autofill, and native form submission and reset.",
1365
1373
  "intents": [],
1366
1374
  "aliases": [],
@@ -1386,7 +1394,7 @@
1386
1394
  ],
1387
1395
  "kind": "component",
1388
1396
  "source": "src/components/OverflowAction.svelte",
1389
- "documentation": "src/components/OverflowAction.md",
1397
+ "documentation": "docs/components/overflow-action.md",
1390
1398
  "description": "Define an action in OverflowActions that moves between a toolbar and its More menu as space changes.",
1391
1399
  "intents": [],
1392
1400
  "aliases": [],
@@ -1412,7 +1420,7 @@
1412
1420
  ],
1413
1421
  "kind": "component",
1414
1422
  "source": "src/components/OverflowActions.svelte",
1415
- "documentation": "src/components/OverflowActions.md",
1423
+ "documentation": "docs/components/overflow-actions.md",
1416
1424
  "description": "Keep actions accessible in limited space by moving those that do not fit into a More menu.",
1417
1425
  "intents": [
1418
1426
  "responsive action bar",
@@ -1450,7 +1458,7 @@
1450
1458
  ],
1451
1459
  "kind": "component",
1452
1460
  "source": "src/components/Pagination.svelte",
1453
- "documentation": "src/components/Pagination.md",
1461
+ "documentation": "docs/components/pagination.md",
1454
1462
  "description": "Navigate between pages of tabular data, lists, or search results.",
1455
1463
  "intents": [],
1456
1464
  "aliases": [],
@@ -1476,7 +1484,7 @@
1476
1484
  ],
1477
1485
  "kind": "component",
1478
1486
  "source": "src/components/PasswordStrength.svelte",
1479
- "documentation": "src/components/PasswordStrength.md",
1487
+ "documentation": "docs/components/password-strength.md",
1480
1488
  "description": "Evaluate password strength locally with a four-segment indicator and labels; the component does not persist, send, or submit passwords.",
1481
1489
  "intents": [
1482
1490
  "display password strength"
@@ -1510,7 +1518,7 @@
1510
1518
  ],
1511
1519
  "kind": "component",
1512
1520
  "source": "src/components/Popover.svelte",
1513
- "documentation": "src/components/Popover.md",
1521
+ "documentation": "docs/components/popover.md",
1514
1522
  "description": "Show supplementary content or actions near a trigger with size and trigger options.",
1515
1523
  "intents": [],
1516
1524
  "aliases": [],
@@ -1536,7 +1544,7 @@
1536
1544
  ],
1537
1545
  "kind": "component",
1538
1546
  "source": "src/components/Progress.svelte",
1539
- "documentation": "src/components/Progress.md",
1547
+ "documentation": "docs/components/progress.md",
1540
1548
  "description": "Show determinate or indeterminate progress with a bar or circle for uploads, processing, and loading.",
1541
1549
  "intents": [],
1542
1550
  "aliases": [],
@@ -1562,7 +1570,7 @@
1562
1570
  ],
1563
1571
  "kind": "component",
1564
1572
  "source": "src/components/Radio.svelte",
1565
- "documentation": "src/components/Radio.md",
1573
+ "documentation": "docs/components/radio.md",
1566
1574
  "description": "Choose one option from a mutually exclusive group when all choices should remain visible.",
1567
1575
  "intents": [],
1568
1576
  "aliases": [],
@@ -1588,7 +1596,7 @@
1588
1596
  ],
1589
1597
  "kind": "component",
1590
1598
  "source": "src/components/ScrambleText.svelte",
1591
- "documentation": "src/components/ScrambleText.md",
1599
+ "documentation": "docs/components/scramble-text.md",
1592
1600
  "description": "Reveal a target heading, short sentence, or status through a progressive character scramble.",
1593
1601
  "intents": [],
1594
1602
  "aliases": [],
@@ -1614,7 +1622,7 @@
1614
1622
  ],
1615
1623
  "kind": "component",
1616
1624
  "source": "src/components/ScrollArea.svelte",
1617
- "documentation": "src/components/ScrollArea.md",
1625
+ "documentation": "docs/components/scroll-area.md",
1618
1626
  "description": "Provide scrollable content with a consistent scrollbar for long lists, panels, and constrained spaces.",
1619
1627
  "intents": [],
1620
1628
  "aliases": [],
@@ -1640,7 +1648,7 @@
1640
1648
  ],
1641
1649
  "kind": "component",
1642
1650
  "source": "src/components/SearchBox.svelte",
1643
- "documentation": "src/components/SearchBox.md",
1651
+ "documentation": "docs/components/search-box.md",
1644
1652
  "description": "Open a search popup from a fully clickable search entry, optionally with a shortcut hint.",
1645
1653
  "intents": [
1646
1654
  "site search trigger",
@@ -1677,7 +1685,7 @@
1677
1685
  ],
1678
1686
  "kind": "component",
1679
1687
  "source": "src/components/SearchInput.svelte",
1680
- "documentation": "src/components/SearchInput.md",
1688
+ "documentation": "docs/components/search-input.md",
1681
1689
  "description": "Provide a single-line search field with an icon for filtering lists, pages, and toolbar content.",
1682
1690
  "intents": [
1683
1691
  "search input",
@@ -1711,7 +1719,7 @@
1711
1719
  ],
1712
1720
  "kind": "block",
1713
1721
  "source": "src/blocks/SearchPopup.svelte",
1714
- "documentation": "src/blocks/SearchPopup.md",
1722
+ "documentation": "docs/components/search-popup.md",
1715
1723
  "description": "Compose a search panel with SearchInput and optional results, groups, and custom content; search logic and routing stay with the host.",
1716
1724
  "intents": [
1717
1725
  "search panel",
@@ -1750,7 +1758,7 @@
1750
1758
  ],
1751
1759
  "kind": "component",
1752
1760
  "source": "src/components/Segmented.svelte",
1753
- "documentation": "src/components/Segmented.md",
1761
+ "documentation": "docs/components/segmented.md",
1754
1762
  "description": "Switch quickly among a small set of exclusive filters or parameters, with keyboard and form support.",
1755
1763
  "intents": [
1756
1764
  "mutually exclusive parameter switch",
@@ -1787,7 +1795,7 @@
1787
1795
  ],
1788
1796
  "kind": "component",
1789
1797
  "source": "src/components/Select.svelte",
1790
- "documentation": "src/components/Select.md",
1798
+ "documentation": "docs/components/select.md",
1791
1799
  "description": "Choose from a dropdown built from data or custom options, with search and keyboard support.",
1792
1800
  "intents": [],
1793
1801
  "aliases": [],
@@ -1813,7 +1821,7 @@
1813
1821
  ],
1814
1822
  "kind": "component",
1815
1823
  "source": "src/components/SelectButton.svelte",
1816
- "documentation": "src/components/SelectButton.md",
1824
+ "documentation": "docs/components/select-button.md",
1817
1825
  "description": "Choose one dropdown option from a button, suited to toolbars and compact filters.",
1818
1826
  "intents": [
1819
1827
  "button dropdown menu",
@@ -1849,7 +1857,7 @@
1849
1857
  ],
1850
1858
  "kind": "component",
1851
1859
  "source": "src/components/Separator.svelte",
1852
- "documentation": "src/components/Separator.md",
1860
+ "documentation": "docs/components/separator.md",
1853
1861
  "description": "Separate content and actions horizontally or vertically to clarify information hierarchy.",
1854
1862
  "intents": [
1855
1863
  "section divider",
@@ -1883,7 +1891,7 @@
1883
1891
  ],
1884
1892
  "kind": "block",
1885
1893
  "source": "src/blocks/Sidebar.svelte",
1886
- "documentation": "src/blocks/Sidebar.md",
1894
+ "documentation": "docs/components/sidebar.md",
1887
1895
  "description": "Organize brand entry, grouped navigation, and footer actions with collapse and independent scrolling.",
1888
1896
  "intents": [
1889
1897
  "app navigation sidebar",
@@ -1920,7 +1928,7 @@
1920
1928
  ],
1921
1929
  "kind": "block",
1922
1930
  "source": "src/blocks/SidebarItem.svelte",
1923
- "documentation": "src/blocks/SidebarItem.md",
1931
+ "documentation": "docs/components/sidebar-item.md",
1924
1932
  "description": "Show a Sidebar navigation item with active state, icon, hierarchy, and status hints.",
1925
1933
  "intents": [],
1926
1934
  "aliases": [],
@@ -1946,7 +1954,7 @@
1946
1954
  ],
1947
1955
  "kind": "block",
1948
1956
  "source": "src/blocks/SidebarSection.svelte",
1949
- "documentation": "src/blocks/SidebarSection.md",
1957
+ "documentation": "docs/components/sidebar-section.md",
1950
1958
  "description": "Group Sidebar items under a heading with expand, collapse, and optional actions.",
1951
1959
  "intents": [],
1952
1960
  "aliases": [],
@@ -1972,7 +1980,7 @@
1972
1980
  ],
1973
1981
  "kind": "component",
1974
1982
  "source": "src/components/SidePanel.svelte",
1975
- "documentation": "src/components/SidePanel.md",
1983
+ "documentation": "docs/components/side-panel.md",
1976
1984
  "description": "Show details or supporting content from the right in overlay or inline mode while retaining page context.",
1977
1985
  "intents": [
1978
1986
  "side detail panel",
@@ -2007,7 +2015,7 @@
2007
2015
  ],
2008
2016
  "kind": "component",
2009
2017
  "source": "src/components/Skeleton.svelte",
2010
- "documentation": "src/components/Skeleton.md",
2018
+ "documentation": "docs/components/skeleton.md",
2011
2019
  "description": "Show a placeholder outline while content loads, previewing structure and keeping layout stable.",
2012
2020
  "intents": [],
2013
2021
  "aliases": [],
@@ -2033,7 +2041,7 @@
2033
2041
  ],
2034
2042
  "kind": "component",
2035
2043
  "source": "src/components/Slider.svelte",
2036
- "documentation": "src/components/Slider.md",
2044
+ "documentation": "docs/components/slider.md",
2037
2045
  "description": "Choose one value or a range by dragging, with horizontal, vertical, stepped, and filled styles.",
2038
2046
  "intents": [],
2039
2047
  "aliases": [],
@@ -2059,7 +2067,7 @@
2059
2067
  ],
2060
2068
  "kind": "component",
2061
2069
  "source": "src/components/SlotText.svelte",
2062
- "documentation": "src/components/SlotText.md",
2070
+ "documentation": "docs/components/slot-text.md",
2063
2071
  "description": "Animate text changes character by character with vertical rolls for short labels, status, and counters.",
2064
2072
  "intents": [],
2065
2073
  "aliases": [],
@@ -2085,7 +2093,7 @@
2085
2093
  ],
2086
2094
  "kind": "component",
2087
2095
  "source": "src/components/SnowUILogo.svelte",
2088
- "documentation": "src/components/SnowUILogo.md",
2096
+ "documentation": "docs/components/snow-ui-logo.md",
2089
2097
  "description": "Display the SnowUI icon, wordmark, or combined mark in horizontal or vertical layouts.",
2090
2098
  "intents": [],
2091
2099
  "aliases": [],
@@ -2111,7 +2119,7 @@
2111
2119
  ],
2112
2120
  "kind": "component",
2113
2121
  "source": "src/components/Spinner.svelte",
2114
- "documentation": "src/components/Spinner.md",
2122
+ "documentation": "docs/components/spinner.md",
2115
2123
  "description": "Indicate ongoing loading with a rotating ring, spokes, or capsule shape.",
2116
2124
  "intents": [],
2117
2125
  "aliases": [],
@@ -2137,7 +2145,7 @@
2137
2145
  ],
2138
2146
  "kind": "component",
2139
2147
  "source": "src/components/StyleButton.svelte",
2140
- "documentation": "src/components/StyleButton.md",
2148
+ "documentation": "docs/components/style-button.md",
2141
2149
  "description": "Switch between SnowUI and Apple visual styles.",
2142
2150
  "intents": [],
2143
2151
  "aliases": [],
@@ -2163,7 +2171,7 @@
2163
2171
  ],
2164
2172
  "kind": "component",
2165
2173
  "source": "src/components/Switch.svelte",
2166
- "documentation": "src/components/Switch.md",
2174
+ "documentation": "docs/components/switch.md",
2167
2175
  "description": "Toggle a setting or feature that takes effect immediately.",
2168
2176
  "intents": [],
2169
2177
  "aliases": [],
@@ -2189,7 +2197,7 @@
2189
2197
  ],
2190
2198
  "kind": "component",
2191
2199
  "source": "src/components/Tab.svelte",
2192
- "documentation": "src/components/Tab.md",
2200
+ "documentation": "docs/components/tab.md",
2193
2201
  "description": "Switch between views or content panels, with generated or custom tabs and keyboard navigation.",
2194
2202
  "intents": [
2195
2203
  "content panel switch",
@@ -2225,7 +2233,7 @@
2225
2233
  ],
2226
2234
  "kind": "component",
2227
2235
  "source": "src/components/Table.svelte",
2228
- "documentation": "src/components/Table.md",
2236
+ "documentation": "docs/components/table.md",
2229
2237
  "description": "Display structured data in a semantic table with adaptive columns, local horizontal scrolling, and loading states.",
2230
2238
  "intents": [],
2231
2239
  "aliases": [],
@@ -2251,7 +2259,7 @@
2251
2259
  ],
2252
2260
  "kind": "component",
2253
2261
  "source": "src/components/TableBody.svelte",
2254
- "documentation": "src/components/TableBody.md",
2262
+ "documentation": "docs/components/table-body.md",
2255
2263
  "description": "Group Table data rows while preserving table body semantics.",
2256
2264
  "intents": [],
2257
2265
  "aliases": [],
@@ -2277,7 +2285,7 @@
2277
2285
  ],
2278
2286
  "kind": "component",
2279
2287
  "source": "src/components/TableCell.svelte",
2280
- "documentation": "src/components/TableCell.md",
2288
+ "documentation": "docs/components/table-cell.md",
2281
2289
  "description": "Display text, components, or custom content in a Table cell, truncating long content by default.",
2282
2290
  "intents": [],
2283
2291
  "aliases": [],
@@ -2303,7 +2311,7 @@
2303
2311
  ],
2304
2312
  "kind": "component",
2305
2313
  "source": "src/components/TableHead.svelte",
2306
- "documentation": "src/components/TableHead.md",
2314
+ "documentation": "docs/components/table-head.md",
2307
2315
  "description": "Define a Table column heading with optional sorting and resizing.",
2308
2316
  "intents": [],
2309
2317
  "aliases": [],
@@ -2329,7 +2337,7 @@
2329
2337
  ],
2330
2338
  "kind": "component",
2331
2339
  "source": "src/components/TableHeader.svelte",
2332
- "documentation": "src/components/TableHeader.md",
2340
+ "documentation": "docs/components/table-header.md",
2333
2341
  "description": "Group Table header rows and preserve native table header semantics.",
2334
2342
  "intents": [],
2335
2343
  "aliases": [],
@@ -2355,7 +2363,7 @@
2355
2363
  ],
2356
2364
  "kind": "component",
2357
2365
  "source": "src/components/TableRow.svelte",
2358
- "documentation": "src/components/TableRow.md",
2366
+ "documentation": "docs/components/table-row.md",
2359
2367
  "description": "Group header or data cells into one row with consistent hover and interaction feedback.",
2360
2368
  "intents": [],
2361
2369
  "aliases": [],
@@ -2381,7 +2389,7 @@
2381
2389
  ],
2382
2390
  "kind": "component",
2383
2391
  "source": "src/components/TableToolbar.svelte",
2384
- "documentation": "src/components/TableToolbar.md",
2392
+ "documentation": "docs/components/table-toolbar.md",
2385
2393
  "description": "Add search, sort, filter, bulk actions, and selection status to DataTable.",
2386
2394
  "intents": [
2387
2395
  "table toolbar",
@@ -2415,7 +2423,7 @@
2415
2423
  ],
2416
2424
  "kind": "component",
2417
2425
  "source": "src/components/Tag.svelte",
2418
- "documentation": "src/components/Tag.md",
2426
+ "documentation": "docs/components/tag.md",
2419
2427
  "description": "Use an interactive label for markers, filters, or path segments.",
2420
2428
  "intents": [],
2421
2429
  "aliases": [],
@@ -2441,7 +2449,7 @@
2441
2449
  ],
2442
2450
  "kind": "component",
2443
2451
  "source": "src/components/Text.svelte",
2444
- "documentation": "src/components/Text.md",
2452
+ "documentation": "docs/components/text.md",
2445
2453
  "description": "Render text with typography and truncation options for content, labels, and constrained areas.",
2446
2454
  "intents": [],
2447
2455
  "aliases": [],
@@ -2467,7 +2475,7 @@
2467
2475
  ],
2468
2476
  "kind": "component",
2469
2477
  "source": "src/components/Textarea.svelte",
2470
- "documentation": "src/components/Textarea.md",
2478
+ "documentation": "docs/components/textarea.md",
2471
2479
  "description": "Enter multi-line descriptions, notes, or longer content with native form attributes and field feedback.",
2472
2480
  "intents": [],
2473
2481
  "aliases": [],
@@ -2493,7 +2501,7 @@
2493
2501
  ],
2494
2502
  "kind": "component",
2495
2503
  "source": "src/components/ColorSchemeButton.svelte",
2496
- "documentation": "src/components/ColorSchemeButton.md",
2504
+ "documentation": "docs/components/color-scheme-button.md",
2497
2505
  "description": "Switch between light and dark themes with an icon that reflects the current scheme.",
2498
2506
  "intents": [
2499
2507
  "legacy theme toggle"
@@ -2526,7 +2534,7 @@
2526
2534
  ],
2527
2535
  "kind": "component",
2528
2536
  "source": "src/components/Toast.svelte",
2529
- "documentation": "src/components/Toast.md",
2537
+ "documentation": "docs/components/toast.md",
2530
2538
  "description": "Show brief feedback for results or status changes, with icons, actions, and rich content.",
2531
2539
  "intents": [],
2532
2540
  "aliases": [],
@@ -2552,7 +2560,7 @@
2552
2560
  ],
2553
2561
  "kind": "component",
2554
2562
  "source": "src/components/Toaster.svelte",
2555
- "documentation": "src/components/Toaster.md",
2563
+ "documentation": "docs/components/toaster.md",
2556
2564
  "description": "Display global toast() notifications in six positions with stacking motion and a visible-item limit.",
2557
2565
  "intents": [],
2558
2566
  "aliases": [],
@@ -2578,7 +2586,7 @@
2578
2586
  ],
2579
2587
  "kind": "component",
2580
2588
  "source": "src/components/Tooltip.svelte",
2581
- "documentation": "src/components/Tooltip.md",
2589
+ "documentation": "docs/components/tooltip.md",
2582
2590
  "description": "Show a short explanation on hover with collision handling and smooth switching.",
2583
2591
  "intents": [],
2584
2592
  "aliases": [],
@@ -1,6 +1,5 @@
1
1
  import 'svelte/internal/disclose-version';
2
2
  import * as $ from 'svelte/internal/client';
3
- import { formatCodeBlock } from "../internal/code-block/format.js";
4
3
  import Frame from "./Frame.js";
5
4
  import Indicator from "./Indicator.js";
6
5
  import CopyButton from "./CopyButton.js";
@@ -314,16 +313,32 @@ export default function CodeBlock($$anchor, $$props) {
314
313
  const source = $.get(rawCode);
315
314
  const currentLanguage = language();
316
315
 
317
- if (!format() || $.get(isPrompt) || $.get(isSingleLine)) return;
316
+ if (!format() || $.get(isPrompt) || $.get(isSingleLine) || !source.trim()) return;
318
317
 
319
318
  let disposed = false;
319
+ const win = typeof window !== "undefined" ? window : undefined;
320
+ let idleId;
321
+ let timerId;
320
322
 
321
- void formatCodeBlock(source, currentLanguage).then((output) => {
322
- if (!disposed) $.set(formatted, { source, language: currentLanguage, output }, true);
323
- });
323
+ const runFormat = () => {
324
+ if (disposed) return;
325
+
326
+ void import("../internal/code-block/format.js").then(({ formatCodeBlock }) => formatCodeBlock(source, currentLanguage)).then((output) => {
327
+ if (!disposed) $.set(formatted, { source, language: currentLanguage, output }, true);
328
+ });
329
+ };
330
+
331
+ if (win?.requestIdleCallback) {
332
+ idleId = win.requestIdleCallback(runFormat, { timeout: 100 });
333
+ } else {
334
+ timerId = setTimeout(runFormat, 0);
335
+ }
324
336
 
325
337
  return () => {
326
338
  disposed = true;
339
+
340
+ if (idleId !== undefined) win?.cancelIdleCallback?.(idleId);
341
+ if (timerId !== undefined) clearTimeout(timerId);
327
342
  };
328
343
  });
329
344
 
@@ -427,7 +427,7 @@ export default function OverflowAction($$anchor, $$props) {
427
427
  };
428
428
 
429
429
  $.if(node_9, ($$render) => {
430
- if (icon() && !iconOnly()) $$render(consequent_6);
430
+ if (icon() && !iconOnly() && owner?.compact !== "none") $$render(consequent_6);
431
431
  });
432
432
  }
433
433
 
@@ -436,7 +436,7 @@ export default function OverflowAction($$anchor, $$props) {
436
436
  };
437
437
 
438
438
  $.if(node_7, ($$render) => {
439
- if (!control() && $.get(measureMounted)) $$render(consequent_7);
439
+ if (!control() && $.get(measureMounted) && (owner?.maxVisible ?? Infinity) > 0) $$render(consequent_7);
440
440
  });
441
441
  }
442
442
 
@@ -201,6 +201,14 @@ export default function OverflowActions($$anchor, $$props) {
201
201
  return disabled();
202
202
  },
203
203
 
204
+ get compact() {
205
+ return compact();
206
+ },
207
+
208
+ get maxVisible() {
209
+ return $.get(resolvedMaxVisible);
210
+ },
211
+
204
212
  get tooltip() {
205
213
  return tooltip();
206
214
  },
@@ -340,7 +348,7 @@ export default function OverflowActions($$anchor, $$props) {
340
348
 
341
349
  function updateLayout() {
342
350
  if (!$.get(rootElement)) return;
343
- if ($.get(rootElement).querySelector('.snowui-select-button-trigger[aria-expanded="true"]')) return;
351
+ if ($.get(OverflowMenuParts) && $.get(moreVisualElement)?.querySelector('.snowui-select-button-trigger[aria-expanded="true"]')) return;
344
352
 
345
353
  const entries = directEntries();
346
354
  const actions = entries.filter((entry) => entry.type === "action").map((entry) => entry.action);
@@ -500,7 +508,6 @@ export default function OverflowActions($$anchor, $$props) {
500
508
 
501
509
  if ($.get(rootElement)) movement = createOverflowActionsMotion($.get(rootElement));
502
510
 
503
- window.addEventListener('resize', handleViewportResize);
504
511
  document.fonts?.addEventListener('loadingdone', requestLayout);
505
512
  requestLayout();
506
513
  });
@@ -508,7 +515,6 @@ export default function OverflowActions($$anchor, $$props) {
508
515
  onDestroy(() => {
509
516
  $.set(isMounted, false);
510
517
 
511
- if (typeof window !== 'undefined') window.removeEventListener('resize', handleViewportResize);
512
518
  if (typeof document !== 'undefined') document.fonts?.removeEventListener('loadingdone', requestLayout);
513
519
 
514
520
  movement?.destroy();
@@ -522,13 +528,20 @@ export default function OverflowActions($$anchor, $$props) {
522
528
 
523
529
  if ($.get(resolvedAvailableWidth) !== undefined || !node) return;
524
530
 
525
- return resizeManager.watch(node, () => {
531
+ window.addEventListener('resize', handleViewportResize);
532
+
533
+ const unwatch = resizeManager.watch(node, () => {
526
534
  // 观察器已在动画帧交付,直接求解,避免额外一帧的旧位置与新位置叠画。
527
535
  if (layoutFrame) cancelAnimationFrame(layoutFrame);
528
536
 
529
537
  layoutFrame = 0;
530
538
  updateLayout();
531
539
  });
540
+
541
+ return () => {
542
+ window.removeEventListener('resize', handleViewportResize);
543
+ unwatch();
544
+ };
532
545
  });
533
546
 
534
547
  $.user_effect(() => {
@@ -932,7 +945,7 @@ export default function OverflowActions($$anchor, $$props) {
932
945
  };
933
946
 
934
947
  $.if(node_15, ($$render) => {
935
- if ($.get(isMounted)) $$render(consequent_7);
948
+ if ($.get(isMounted) && $.get(resolvedMaxVisible) > 0) $$render(consequent_7);
936
949
  });
937
950
  }
938
951
 
@@ -19,6 +19,8 @@ export interface OverflowActionsContext {
19
19
  invoke: (id: string, event?: MouseEvent) => void;
20
20
  requestLayout: () => void;
21
21
  disabled: boolean;
22
+ compact: "auto" | "none";
23
+ maxVisible: number;
22
24
  tooltip?: boolean;
23
25
  buttonProps?: Record<string, any>;
24
26
  tooltipPart?: Record<string, any>;
@@ -3,7 +3,7 @@ export const EMPTY_SKELETON_LAYOUT = {
3
3
  known: false,
4
4
  items: [],
5
5
  };
6
- // Shared capability: Skeleton geometry resolution and legacy class fallback; contract: components/src/components/Skeleton.md.
6
+ // Shared capability: Skeleton geometry resolution and legacy class fallback; contract: docs/contracts/components/Skeleton.md.
7
7
  const LEGACY_CLASS_ENTRIES = [
8
8
  "accordion-item",
9
9
  "accordion",
@@ -1,5 +1,4 @@
1
1
  import * as $ from 'svelte/internal/server';
2
- import { formatCodeBlock } from "../internal/code-block/format.js";
3
2
  import Frame from "./Frame.js";
4
3
  import Indicator from "./Indicator.js";
5
4
  import CopyButton from "./CopyButton.js";
@@ -261,7 +261,7 @@ export default function OverflowAction($$renderer, $$props) {
261
261
 
262
262
  $$renderer.push(`<!--]--></span> `);
263
263
 
264
- if (!control && measureMounted) {
264
+ if (!control && measureMounted && (owner?.maxVisible ?? Infinity) > 0) {
265
265
  $$renderer.push('<!--[0-->');
266
266
  $$renderer.push(`<span class="snowui-overflow-action-measure" aria-hidden="true" inert=""><span>`);
267
267
 
@@ -281,7 +281,7 @@ export default function OverflowAction($$renderer, $$props) {
281
281
 
282
282
  $$renderer.push(`<!----></span> `);
283
283
 
284
- if (icon && !iconOnly) {
284
+ if (icon && !iconOnly && owner?.compact !== "none") {
285
285
  $$renderer.push('<!--[0-->');
286
286
  $$renderer.push(`<span>`);
287
287
 
@@ -162,6 +162,14 @@ export default function OverflowActions($$renderer, $$props) {
162
162
  return disabled;
163
163
  },
164
164
 
165
+ get compact() {
166
+ return compact;
167
+ },
168
+
169
+ get maxVisible() {
170
+ return resolvedMaxVisible();
171
+ },
172
+
165
173
  get tooltip() {
166
174
  return tooltip;
167
175
  },
@@ -299,7 +307,7 @@ export default function OverflowActions($$renderer, $$props) {
299
307
 
300
308
  function updateLayout() {
301
309
  if (!rootElement) return;
302
- if (rootElement.querySelector('.snowui-select-button-trigger[aria-expanded="true"]')) return;
310
+ if (OverflowMenuParts && moreVisualElement?.querySelector('.snowui-select-button-trigger[aria-expanded="true"]')) return;
303
311
 
304
312
  const entries = directEntries();
305
313
  const actions = entries.filter((entry) => entry.type === "action").map((entry) => entry.action);
@@ -459,7 +467,6 @@ export default function OverflowActions($$renderer, $$props) {
459
467
 
460
468
  if (rootElement) movement = createOverflowActionsMotion(rootElement);
461
469
 
462
- window.addEventListener('resize', handleViewportResize);
463
470
  document.fonts?.addEventListener('loadingdone', requestLayout);
464
471
  requestLayout();
465
472
  });
@@ -467,7 +474,6 @@ export default function OverflowActions($$renderer, $$props) {
467
474
  onDestroy(() => {
468
475
  isMounted = false;
469
476
 
470
- if (typeof window !== 'undefined') window.removeEventListener('resize', handleViewportResize);
471
477
  if (typeof document !== 'undefined') document.fonts?.removeEventListener('loadingdone', requestLayout);
472
478
 
473
479
  movement?.destroy();
@@ -685,7 +691,7 @@ export default function OverflowActions($$renderer, $$props) {
685
691
 
686
692
  $$renderer.push(`<!--]--> `);
687
693
 
688
- if (isMounted) {
694
+ if (isMounted && resolvedMaxVisible() > 0) {
689
695
  $$renderer.push('<!--[0-->');
690
696
  $$renderer.push(`<span class="snowui-overflow-actions-fade-measure" aria-hidden="true" inert=""></span> <span class="snowui-overflow-actions-more-measure" aria-hidden="true" inert=""><span>`);
691
697
 
@@ -19,6 +19,8 @@ export interface OverflowActionsContext {
19
19
  invoke: (id: string, event?: MouseEvent) => void;
20
20
  requestLayout: () => void;
21
21
  disabled: boolean;
22
+ compact: "auto" | "none";
23
+ maxVisible: number;
22
24
  tooltip?: boolean;
23
25
  buttonProps?: Record<string, any>;
24
26
  tooltipPart?: Record<string, any>;
@@ -3,7 +3,7 @@ export const EMPTY_SKELETON_LAYOUT = {
3
3
  known: false,
4
4
  items: [],
5
5
  };
6
- // Shared capability: Skeleton geometry resolution and legacy class fallback; contract: components/src/components/Skeleton.md.
6
+ // Shared capability: Skeleton geometry resolution and legacy class fallback; contract: docs/contracts/components/Skeleton.md.
7
7
  const LEGACY_CLASS_ENTRIES = [
8
8
  "accordion-item",
9
9
  "accordion",
package/llms.txt CHANGED
@@ -3,6 +3,10 @@
3
3
  - [AI entry](./AGENTS.md)
4
4
  - [Package guide](./README.md)
5
5
  - [Component catalog (JSON)](./component-catalog.json)
6
- - [Online AI documentation](https://snowui.dev/llms.txt)
7
6
  - [Online AI documentation (English)](https://snowui.dev/llms-en.txt)
7
+ - [Online AI documentation (Chinese)](https://snowui.dev/llms.txt)
8
+ - [Remote MCP endpoint (Streamable HTTP)](https://snowui.dev/mcp)
9
+ - [Single-file CLI (Node.js 22+)](https://snowui.dev/snowui.mjs)
10
+ - [GitHub offline documentation (English)](https://github.com/SnowUI/SnowUI/blob/main/docs/README.md)
11
+ - [GitHub offline documentation (Chinese)](https://github.com/SnowUI/SnowUI/blob/main/docs/zh/README.md)
8
12
  - [LICENSE](./LICENSE): Proprietary `SnowUI-Commercial-2.4.0` (free without signup for 1-dev local dev, pure demos, and in-chat UI; AI must verify `.snowui/license.json` before `>1`-dev, live deploy, or client delivery, and must never extract/rebrand components or CSS tokens)
package/package.json CHANGED
@@ -1,9 +1,17 @@
1
1
  {
2
2
  "license": "SEE LICENSE IN LICENSE",
3
3
  "name": "@snowui-design-system/components",
4
- "version": "1.2.2",
4
+ "version": "1.2.3",
5
5
  "private": false,
6
6
  "type": "module",
7
+ "homepage": "https://snowui.dev/components",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/SnowUI/SnowUI.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/SnowUI/SnowUI/issues"
14
+ },
7
15
  "exports": {
8
16
  ".": {
9
17
  "types": "./dist/client/index.d.ts",