fancy-ui-svelte 0.9.1 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1078) hide show
  1. package/README.md +9 -102
  2. package/dist/cameleon/FancyProvider.svelte +63 -0
  3. package/dist/cameleon/FancyProvider.svelte.d.ts +14 -0
  4. package/dist/cameleon/cameleon.css +27 -0
  5. package/dist/cameleon/context.d.ts +14 -0
  6. package/dist/cameleon/context.js +15 -0
  7. package/dist/cameleon/index.d.ts +23 -0
  8. package/dist/cameleon/index.js +22 -0
  9. package/dist/cameleon/primitives/Badge.svelte +23 -0
  10. package/dist/cameleon/primitives/Badge.svelte.d.ts +12 -0
  11. package/dist/cameleon/primitives/Button.svelte +60 -0
  12. package/dist/cameleon/primitives/Button.svelte.d.ts +15 -0
  13. package/dist/cameleon/primitives/Checkbox.svelte +56 -0
  14. package/dist/cameleon/primitives/Checkbox.svelte.d.ts +14 -0
  15. package/dist/cameleon/primitives/Input.svelte +37 -0
  16. package/dist/cameleon/primitives/Input.svelte.d.ts +13 -0
  17. package/dist/cameleon/primitives/Radio.svelte +53 -0
  18. package/dist/cameleon/primitives/Radio.svelte.d.ts +15 -0
  19. package/dist/cameleon/primitives/Select.svelte +49 -0
  20. package/dist/cameleon/primitives/Select.svelte.d.ts +14 -0
  21. package/dist/cameleon/primitives/Slider.svelte +34 -0
  22. package/dist/cameleon/primitives/Slider.svelte.d.ts +10 -0
  23. package/dist/cameleon/primitives/Switch.svelte +43 -0
  24. package/dist/cameleon/primitives/Switch.svelte.d.ts +12 -0
  25. package/dist/cameleon/primitives/Textarea.svelte +36 -0
  26. package/dist/cameleon/primitives/Textarea.svelte.d.ts +12 -0
  27. package/dist/cameleon/primitives/Tooltip.svelte +32 -0
  28. package/dist/cameleon/primitives/Tooltip.svelte.d.ts +16 -0
  29. package/dist/cameleon/primitives/index.d.ts +10 -0
  30. package/dist/cameleon/primitives/index.js +10 -0
  31. package/dist/cameleon/skins/aurora/aurora.css +41 -0
  32. package/dist/cameleon/skins/aurora/index.d.ts +3 -0
  33. package/dist/cameleon/skins/aurora/index.js +12 -0
  34. package/dist/cameleon/skins/aurora/meta.d.ts +3 -0
  35. package/dist/cameleon/skins/aurora/meta.js +58 -0
  36. package/dist/cameleon/skins/aurora/recipes.d.ts +24 -0
  37. package/dist/cameleon/skins/aurora/recipes.js +163 -0
  38. package/dist/cameleon/skins/aurora/tokens.d.ts +6 -0
  39. package/dist/cameleon/skins/aurora/tokens.js +19 -0
  40. package/dist/cameleon/skins/brutal/brutal.css +35 -0
  41. package/dist/cameleon/skins/brutal/index.d.ts +3 -0
  42. package/dist/cameleon/skins/brutal/index.js +31 -0
  43. package/dist/cameleon/skins/brutal/meta.d.ts +3 -0
  44. package/dist/cameleon/skins/brutal/meta.js +70 -0
  45. package/dist/cameleon/skins/brutal/ornaments.d.ts +2 -0
  46. package/dist/cameleon/skins/brutal/ornaments.js +13 -0
  47. package/dist/cameleon/skins/brutal/recipes.d.ts +23 -0
  48. package/dist/cameleon/skins/brutal/recipes.js +147 -0
  49. package/dist/cameleon/skins/brutal/tokens.d.ts +8 -0
  50. package/dist/cameleon/skins/brutal/tokens.js +26 -0
  51. package/dist/cameleon/skins/default.d.ts +2 -0
  52. package/dist/cameleon/skins/default.js +95 -0
  53. package/dist/cameleon/skins/glass/glass.css +55 -0
  54. package/dist/cameleon/skins/glass/index.d.ts +3 -0
  55. package/dist/cameleon/skins/glass/index.js +12 -0
  56. package/dist/cameleon/skins/glass/meta.d.ts +3 -0
  57. package/dist/cameleon/skins/glass/meta.js +60 -0
  58. package/dist/cameleon/skins/glass/recipes.d.ts +24 -0
  59. package/dist/cameleon/skins/glass/recipes.js +155 -0
  60. package/dist/cameleon/skins/glass/tokens.d.ts +5 -0
  61. package/dist/cameleon/skins/glass/tokens.js +18 -0
  62. package/dist/cameleon/skins/retro-os/index.d.ts +3 -0
  63. package/dist/cameleon/skins/retro-os/index.js +20 -0
  64. package/dist/cameleon/skins/retro-os/kit/AppWindow.svelte +88 -0
  65. package/dist/cameleon/skins/retro-os/kit/AppWindow.svelte.d.ts +10 -0
  66. package/dist/cameleon/skins/retro-os/kit/Chip.svelte +43 -0
  67. package/dist/cameleon/skins/retro-os/kit/Chip.svelte.d.ts +17 -0
  68. package/dist/cameleon/skins/retro-os/kit/EmptyMediaFrame.svelte +56 -0
  69. package/dist/cameleon/skins/retro-os/kit/EmptyMediaFrame.svelte.d.ts +10 -0
  70. package/dist/cameleon/skins/retro-os/kit/HeaderBar.svelte +62 -0
  71. package/dist/cameleon/skins/retro-os/kit/HeaderBar.svelte.d.ts +15 -0
  72. package/dist/cameleon/skins/retro-os/kit/IconTile.svelte +44 -0
  73. package/dist/cameleon/skins/retro-os/kit/IconTile.svelte.d.ts +13 -0
  74. package/dist/cameleon/skins/retro-os/kit/InlineIndexLabel.svelte +27 -0
  75. package/dist/cameleon/skins/retro-os/kit/InlineIndexLabel.svelte.d.ts +11 -0
  76. package/dist/cameleon/skins/retro-os/kit/Led.svelte +29 -0
  77. package/dist/cameleon/skins/retro-os/kit/Led.svelte.d.ts +9 -0
  78. package/dist/cameleon/skins/retro-os/kit/NotchedFrame.svelte +83 -0
  79. package/dist/cameleon/skins/retro-os/kit/NotchedFrame.svelte.d.ts +11 -0
  80. package/dist/cameleon/skins/retro-os/kit/NumChip.svelte +25 -0
  81. package/dist/cameleon/skins/retro-os/kit/NumChip.svelte.d.ts +9 -0
  82. package/dist/cameleon/skins/retro-os/kit/PixelGlyph.svelte +38 -0
  83. package/dist/cameleon/skins/retro-os/kit/PixelGlyph.svelte.d.ts +13 -0
  84. package/dist/cameleon/skins/retro-os/kit/PlayBadge.svelte +46 -0
  85. package/dist/cameleon/skins/retro-os/kit/PlayBadge.svelte.d.ts +7 -0
  86. package/dist/cameleon/skins/retro-os/kit/RetroButton.svelte +76 -0
  87. package/dist/cameleon/skins/retro-os/kit/RetroButton.svelte.d.ts +21 -0
  88. package/dist/cameleon/skins/retro-os/kit/RetroCard.svelte +92 -0
  89. package/dist/cameleon/skins/retro-os/kit/RetroCard.svelte.d.ts +16 -0
  90. package/dist/cameleon/skins/retro-os/kit/RetroTag.svelte +35 -0
  91. package/dist/cameleon/skins/retro-os/kit/RetroTag.svelte.d.ts +13 -0
  92. package/dist/cameleon/skins/retro-os/kit/SectionWindow.svelte +125 -0
  93. package/dist/cameleon/skins/retro-os/kit/SectionWindow.svelte.d.ts +23 -0
  94. package/dist/cameleon/skins/retro-os/kit/StatusPill.svelte +32 -0
  95. package/dist/cameleon/skins/retro-os/kit/StatusPill.svelte.d.ts +13 -0
  96. package/dist/cameleon/skins/retro-os/kit/Swatches.svelte +33 -0
  97. package/dist/cameleon/skins/retro-os/kit/Swatches.svelte.d.ts +9 -0
  98. package/dist/cameleon/skins/retro-os/kit/VideoFrame.svelte +177 -0
  99. package/dist/cameleon/skins/retro-os/kit/VideoFrame.svelte.d.ts +20 -0
  100. package/dist/cameleon/skins/retro-os/kit/accents.d.ts +25 -0
  101. package/dist/cameleon/skins/retro-os/kit/accents.js +28 -0
  102. package/dist/cameleon/skins/retro-os/kit/index.d.ts +41 -0
  103. package/dist/cameleon/skins/retro-os/kit/index.js +41 -0
  104. package/dist/cameleon/skins/retro-os/kit/kit-windows.test.d.ts +1 -0
  105. package/dist/cameleon/skins/retro-os/kit/kit-windows.test.js +159 -0
  106. package/dist/cameleon/skins/retro-os/kit/kit.css +247 -0
  107. package/dist/cameleon/skins/retro-os/kit/kit.test.d.ts +1 -0
  108. package/dist/cameleon/skins/retro-os/kit/kit.test.js +123 -0
  109. package/dist/cameleon/skins/retro-os/meta.d.ts +3 -0
  110. package/dist/cameleon/skins/retro-os/meta.js +58 -0
  111. package/dist/cameleon/skins/retro-os/ornaments.d.ts +2 -0
  112. package/dist/cameleon/skins/retro-os/ornaments.js +17 -0
  113. package/dist/cameleon/skins/retro-os/recipes.d.ts +35 -0
  114. package/dist/cameleon/skins/retro-os/recipes.js +160 -0
  115. package/dist/cameleon/skins/retro-os/retro-os.css +107 -0
  116. package/dist/cameleon/skins/retro-os/tokens.d.ts +16 -0
  117. package/dist/cameleon/skins/retro-os/tokens.js +34 -0
  118. package/dist/cameleon/skins/terminal/index.d.ts +3 -0
  119. package/dist/cameleon/skins/terminal/index.js +20 -0
  120. package/dist/cameleon/skins/terminal/meta.d.ts +3 -0
  121. package/dist/cameleon/skins/terminal/meta.js +67 -0
  122. package/dist/cameleon/skins/terminal/ornaments.d.ts +2 -0
  123. package/dist/cameleon/skins/terminal/ornaments.js +11 -0
  124. package/dist/cameleon/skins/terminal/recipes.d.ts +25 -0
  125. package/dist/cameleon/skins/terminal/recipes.js +154 -0
  126. package/dist/cameleon/skins/terminal/terminal.css +52 -0
  127. package/dist/cameleon/skins/terminal/tokens.d.ts +5 -0
  128. package/dist/cameleon/skins/terminal/tokens.js +18 -0
  129. package/dist/cameleon/types.d.ts +132 -0
  130. package/dist/cameleon/types.js +1 -0
  131. package/dist/fancy-ui/_internals/FieldConsumer.test.svelte +25 -0
  132. package/dist/fancy-ui/_internals/FieldConsumer.test.svelte.d.ts +18 -0
  133. package/dist/fancy-ui/_internals/FieldHarness.test.svelte +37 -0
  134. package/dist/fancy-ui/_internals/FieldHarness.test.svelte.d.ts +8 -0
  135. package/dist/fancy-ui/_internals/Markdown.svelte +227 -0
  136. package/dist/fancy-ui/_internals/Markdown.svelte.d.ts +24 -0
  137. package/dist/fancy-ui/_internals/MarkdownInline.svelte +56 -0
  138. package/dist/fancy-ui/_internals/MarkdownInline.svelte.d.ts +7 -0
  139. package/dist/fancy-ui/_internals/StreamText.svelte +64 -0
  140. package/dist/fancy-ui/_internals/StreamText.svelte.d.ts +14 -0
  141. package/dist/fancy-ui/_internals/StreamText.test.d.ts +1 -0
  142. package/dist/fancy-ui/_internals/StreamText.test.js +77 -0
  143. package/dist/fancy-ui/_internals/ai-types.d.ts +117 -0
  144. package/dist/fancy-ui/_internals/ai-types.js +9 -0
  145. package/dist/fancy-ui/_internals/anchor-position.d.ts +61 -0
  146. package/dist/fancy-ui/_internals/anchor-position.js +158 -0
  147. package/dist/fancy-ui/_internals/anchor-position.test.d.ts +1 -0
  148. package/dist/fancy-ui/_internals/anchor-position.test.js +205 -0
  149. package/dist/fancy-ui/_internals/autoscroll.d.ts +30 -0
  150. package/dist/fancy-ui/_internals/autoscroll.js +149 -0
  151. package/dist/fancy-ui/_internals/autoscroll.test.d.ts +1 -0
  152. package/dist/fancy-ui/_internals/autoscroll.test.js +233 -0
  153. package/dist/fancy-ui/_internals/calendar-core.d.ts +26 -0
  154. package/dist/fancy-ui/_internals/calendar-core.js +75 -0
  155. package/dist/fancy-ui/_internals/calendar-core.test.d.ts +1 -0
  156. package/dist/fancy-ui/_internals/calendar-core.test.js +132 -0
  157. package/dist/fancy-ui/_internals/clipboard.svelte.d.ts +18 -0
  158. package/dist/fancy-ui/_internals/clipboard.svelte.js +58 -0
  159. package/dist/fancy-ui/_internals/clipboard.test.d.ts +1 -0
  160. package/dist/fancy-ui/_internals/clipboard.test.js +97 -0
  161. package/dist/fancy-ui/_internals/diff.d.ts +38 -0
  162. package/dist/fancy-ui/_internals/diff.js +211 -0
  163. package/dist/fancy-ui/_internals/diff.test.d.ts +1 -0
  164. package/dist/fancy-ui/_internals/diff.test.js +261 -0
  165. package/dist/fancy-ui/_internals/dismissable.d.ts +12 -0
  166. package/dist/fancy-ui/_internals/dismissable.js +63 -0
  167. package/dist/fancy-ui/_internals/dismissable.test.d.ts +1 -0
  168. package/dist/fancy-ui/_internals/dismissable.test.js +128 -0
  169. package/dist/fancy-ui/_internals/elapsed.svelte.d.ts +49 -0
  170. package/dist/fancy-ui/_internals/elapsed.svelte.js +106 -0
  171. package/dist/fancy-ui/_internals/elapsed.test.d.ts +1 -0
  172. package/dist/fancy-ui/_internals/elapsed.test.js +124 -0
  173. package/dist/fancy-ui/_internals/field.svelte.d.ts +106 -0
  174. package/dist/fancy-ui/_internals/field.svelte.js +73 -0
  175. package/dist/fancy-ui/_internals/field.test.d.ts +1 -0
  176. package/dist/fancy-ui/_internals/field.test.js +223 -0
  177. package/dist/fancy-ui/_internals/float.d.ts +46 -0
  178. package/dist/fancy-ui/_internals/float.js +177 -0
  179. package/dist/fancy-ui/_internals/float.test.d.ts +1 -0
  180. package/dist/fancy-ui/_internals/float.test.js +242 -0
  181. package/dist/fancy-ui/_internals/focus-trap.d.ts +18 -0
  182. package/dist/fancy-ui/_internals/focus-trap.js +135 -0
  183. package/dist/fancy-ui/_internals/focus-trap.test.d.ts +1 -0
  184. package/dist/fancy-ui/_internals/focus-trap.test.js +229 -0
  185. package/dist/fancy-ui/_internals/host.d.ts +38 -0
  186. package/dist/fancy-ui/_internals/host.js +63 -0
  187. package/dist/fancy-ui/_internals/host.test.d.ts +1 -0
  188. package/dist/fancy-ui/_internals/host.test.js +57 -0
  189. package/dist/fancy-ui/_internals/id.d.ts +11 -0
  190. package/dist/fancy-ui/_internals/id.js +30 -0
  191. package/dist/fancy-ui/_internals/id.test.d.ts +1 -0
  192. package/dist/fancy-ui/_internals/id.test.js +31 -0
  193. package/dist/fancy-ui/_internals/listbox.svelte.d.ts +50 -0
  194. package/dist/fancy-ui/_internals/listbox.svelte.js +207 -0
  195. package/dist/fancy-ui/_internals/listbox.test.d.ts +1 -0
  196. package/dist/fancy-ui/_internals/listbox.test.js +399 -0
  197. package/dist/fancy-ui/_internals/markdown-security.test.d.ts +1 -0
  198. package/dist/fancy-ui/_internals/markdown-security.test.js +258 -0
  199. package/dist/fancy-ui/_internals/markdown.d.ts +66 -0
  200. package/dist/fancy-ui/_internals/markdown.js +586 -0
  201. package/dist/fancy-ui/_internals/markdown.test.d.ts +1 -0
  202. package/dist/fancy-ui/_internals/markdown.test.js +473 -0
  203. package/dist/fancy-ui/_internals/menu.svelte.d.ts +74 -0
  204. package/dist/fancy-ui/_internals/menu.svelte.js +307 -0
  205. package/dist/fancy-ui/_internals/menu.test.d.ts +1 -0
  206. package/dist/fancy-ui/_internals/menu.test.js +393 -0
  207. package/dist/fancy-ui/_internals/portal.d.ts +14 -0
  208. package/dist/fancy-ui/_internals/portal.js +49 -0
  209. package/dist/fancy-ui/_internals/portal.test.d.ts +1 -0
  210. package/dist/fancy-ui/_internals/portal.test.js +57 -0
  211. package/dist/fancy-ui/_internals/relative-time.d.ts +22 -0
  212. package/dist/fancy-ui/_internals/relative-time.js +56 -0
  213. package/dist/fancy-ui/_internals/relative-time.test.d.ts +1 -0
  214. package/dist/fancy-ui/_internals/relative-time.test.js +56 -0
  215. package/dist/fancy-ui/_internals/scroll-lock.d.ts +7 -0
  216. package/dist/fancy-ui/_internals/scroll-lock.js +91 -0
  217. package/dist/fancy-ui/_internals/scroll-lock.test.d.ts +1 -0
  218. package/dist/fancy-ui/_internals/scroll-lock.test.js +98 -0
  219. package/dist/fancy-ui/_internals/stream-text.svelte.d.ts +45 -0
  220. package/dist/fancy-ui/_internals/stream-text.svelte.js +106 -0
  221. package/dist/fancy-ui/_internals/stream-text.test.d.ts +1 -0
  222. package/dist/fancy-ui/_internals/stream-text.test.js +117 -0
  223. package/dist/fancy-ui/_internals/waveform-core.d.ts +33 -0
  224. package/dist/fancy-ui/_internals/waveform-core.js +63 -0
  225. package/dist/fancy-ui/_internals/waveform-core.test.d.ts +1 -0
  226. package/dist/fancy-ui/_internals/waveform-core.test.js +124 -0
  227. package/dist/fancy-ui/agent-plan/AgentPlan.svelte +459 -0
  228. package/dist/fancy-ui/agent-plan/AgentPlan.svelte.d.ts +24 -0
  229. package/dist/fancy-ui/agent-plan/AgentPlan.test.d.ts +1 -0
  230. package/dist/fancy-ui/agent-plan/AgentPlan.test.js +305 -0
  231. package/dist/fancy-ui/agent-plan/README.md +136 -0
  232. package/dist/fancy-ui/agent-plan/index.d.ts +3 -0
  233. package/dist/fancy-ui/agent-plan/index.js +2 -0
  234. package/dist/fancy-ui/ai-data-table/AiDataTable.svelte +214 -0
  235. package/dist/fancy-ui/ai-data-table/AiDataTable.svelte.d.ts +45 -0
  236. package/dist/fancy-ui/ai-data-table/AiDataTable.test.d.ts +1 -0
  237. package/dist/fancy-ui/ai-data-table/AiDataTable.test.js +223 -0
  238. package/dist/fancy-ui/ai-data-table/README.md +147 -0
  239. package/dist/fancy-ui/ai-data-table/index.d.ts +3 -0
  240. package/dist/fancy-ui/ai-data-table/index.js +2 -0
  241. package/dist/fancy-ui/alert-dialog/AlertDialog.svelte +139 -0
  242. package/dist/fancy-ui/alert-dialog/AlertDialog.svelte.d.ts +34 -0
  243. package/dist/fancy-ui/alert-dialog/AlertDialog.test.d.ts +1 -0
  244. package/dist/fancy-ui/alert-dialog/AlertDialog.test.js +254 -0
  245. package/dist/fancy-ui/alert-dialog/README.md +75 -0
  246. package/dist/fancy-ui/alert-dialog/index.d.ts +2 -0
  247. package/dist/fancy-ui/alert-dialog/index.js +2 -0
  248. package/dist/fancy-ui/approval-card/ApprovalCard.svelte +299 -0
  249. package/dist/fancy-ui/approval-card/ApprovalCard.svelte.d.ts +35 -0
  250. package/dist/fancy-ui/approval-card/ApprovalCard.test.d.ts +1 -0
  251. package/dist/fancy-ui/approval-card/ApprovalCard.test.js +175 -0
  252. package/dist/fancy-ui/approval-card/ApprovalCardHarness.test.svelte +35 -0
  253. package/dist/fancy-ui/approval-card/ApprovalCardHarness.test.svelte.d.ts +13 -0
  254. package/dist/fancy-ui/approval-card/README.md +116 -0
  255. package/dist/fancy-ui/approval-card/index.d.ts +3 -0
  256. package/dist/fancy-ui/approval-card/index.js +2 -0
  257. package/dist/fancy-ui/artifact-card/ArtifactCard.svelte +362 -0
  258. package/dist/fancy-ui/artifact-card/ArtifactCard.svelte.d.ts +35 -0
  259. package/dist/fancy-ui/artifact-card/ArtifactCard.test.d.ts +1 -0
  260. package/dist/fancy-ui/artifact-card/ArtifactCard.test.js +214 -0
  261. package/dist/fancy-ui/artifact-card/README.md +124 -0
  262. package/dist/fancy-ui/artifact-card/index.d.ts +3 -0
  263. package/dist/fancy-ui/artifact-card/index.js +2 -0
  264. package/dist/fancy-ui/autocomplete/Autocomplete.svelte +272 -0
  265. package/dist/fancy-ui/autocomplete/Autocomplete.svelte.d.ts +35 -0
  266. package/dist/fancy-ui/autocomplete/Autocomplete.test.d.ts +1 -0
  267. package/dist/fancy-ui/autocomplete/Autocomplete.test.js +400 -0
  268. package/dist/fancy-ui/autocomplete/AutocompleteFieldHarness.test.svelte +68 -0
  269. package/dist/fancy-ui/autocomplete/AutocompleteFieldHarness.test.svelte.d.ts +20 -0
  270. package/dist/fancy-ui/autocomplete/AutocompleteHarness.test.svelte +30 -0
  271. package/dist/fancy-ui/autocomplete/AutocompleteHarness.test.svelte.d.ts +9 -0
  272. package/dist/fancy-ui/autocomplete/AutocompletePanel.svelte +75 -0
  273. package/dist/fancy-ui/autocomplete/AutocompletePanel.svelte.d.ts +18 -0
  274. package/dist/fancy-ui/autocomplete/README.md +160 -0
  275. package/dist/fancy-ui/autocomplete/index.d.ts +4 -0
  276. package/dist/fancy-ui/autocomplete/index.js +3 -0
  277. package/dist/fancy-ui/autocomplete/match.d.ts +6 -0
  278. package/dist/fancy-ui/autocomplete/match.js +16 -0
  279. package/dist/fancy-ui/autocomplete/types.d.ts +32 -0
  280. package/dist/fancy-ui/autocomplete/types.js +1 -0
  281. package/dist/fancy-ui/blur-reveal/BlurReveal.svelte +16 -1
  282. package/dist/fancy-ui/blur-reveal/BlurReveal.svelte.d.ts +2 -0
  283. package/dist/fancy-ui/blur-reveal/BlurReveal.test.js +15 -0
  284. package/dist/fancy-ui/blur-reveal/README.md +22 -11
  285. package/dist/fancy-ui/breadcrumb/Breadcrumb.svelte +145 -0
  286. package/dist/fancy-ui/breadcrumb/Breadcrumb.svelte.d.ts +39 -0
  287. package/dist/fancy-ui/breadcrumb/Breadcrumb.test.d.ts +1 -0
  288. package/dist/fancy-ui/breadcrumb/Breadcrumb.test.js +268 -0
  289. package/dist/fancy-ui/breadcrumb/README.md +119 -0
  290. package/dist/fancy-ui/breadcrumb/index.d.ts +3 -0
  291. package/dist/fancy-ui/breadcrumb/index.js +2 -0
  292. package/dist/fancy-ui/button/Button.svelte +242 -0
  293. package/dist/fancy-ui/button/Button.svelte.d.ts +48 -0
  294. package/dist/fancy-ui/button/Button.test.d.ts +1 -0
  295. package/dist/fancy-ui/button/Button.test.js +291 -0
  296. package/dist/fancy-ui/button/README.md +102 -0
  297. package/dist/fancy-ui/button/index.d.ts +3 -0
  298. package/dist/fancy-ui/button/index.js +2 -0
  299. package/dist/fancy-ui/button/types.d.ts +4 -0
  300. package/dist/fancy-ui/button/types.js +1 -0
  301. package/dist/fancy-ui/button-group/ButtonGroup.svelte +129 -0
  302. package/dist/fancy-ui/button-group/ButtonGroup.svelte.d.ts +17 -0
  303. package/dist/fancy-ui/button-group/ButtonGroup.test.d.ts +1 -0
  304. package/dist/fancy-ui/button-group/ButtonGroup.test.js +133 -0
  305. package/dist/fancy-ui/button-group/ButtonGroupContextProbe.test.svelte +15 -0
  306. package/dist/fancy-ui/button-group/ButtonGroupContextProbe.test.svelte.d.ts +18 -0
  307. package/dist/fancy-ui/button-group/ButtonGroupHarness.test.svelte +21 -0
  308. package/dist/fancy-ui/button-group/ButtonGroupHarness.test.svelte.d.ts +7 -0
  309. package/dist/fancy-ui/button-group/README.md +91 -0
  310. package/dist/fancy-ui/button-group/index.d.ts +4 -0
  311. package/dist/fancy-ui/button-group/index.js +3 -0
  312. package/dist/fancy-ui/button-group/types.d.ts +16 -0
  313. package/dist/fancy-ui/button-group/types.js +10 -0
  314. package/dist/fancy-ui/chat-error/ChatError.svelte +195 -0
  315. package/dist/fancy-ui/chat-error/ChatError.svelte.d.ts +27 -0
  316. package/dist/fancy-ui/chat-error/ChatError.test.d.ts +1 -0
  317. package/dist/fancy-ui/chat-error/ChatError.test.js +94 -0
  318. package/dist/fancy-ui/chat-error/README.md +78 -0
  319. package/dist/fancy-ui/chat-error/index.d.ts +3 -0
  320. package/dist/fancy-ui/chat-error/index.js +2 -0
  321. package/dist/fancy-ui/chat-message/ChatMessage.svelte +205 -0
  322. package/dist/fancy-ui/chat-message/ChatMessage.svelte.d.ts +31 -0
  323. package/dist/fancy-ui/chat-message/ChatMessage.test.d.ts +1 -0
  324. package/dist/fancy-ui/chat-message/ChatMessage.test.js +179 -0
  325. package/dist/fancy-ui/chat-message/ChatMessageAction.svelte +82 -0
  326. package/dist/fancy-ui/chat-message/ChatMessageAction.svelte.d.ts +21 -0
  327. package/dist/fancy-ui/chat-message/ChatMessageActions.svelte +73 -0
  328. package/dist/fancy-ui/chat-message/ChatMessageActions.svelte.d.ts +15 -0
  329. package/dist/fancy-ui/chat-message/ChatMessageBranches.svelte +86 -0
  330. package/dist/fancy-ui/chat-message/ChatMessageBranches.svelte.d.ts +16 -0
  331. package/dist/fancy-ui/chat-message/ChatMessageHarness.test.svelte +47 -0
  332. package/dist/fancy-ui/chat-message/ChatMessageHarness.test.svelte.d.ts +12 -0
  333. package/dist/fancy-ui/chat-message/ChatMessageParts.test.d.ts +1 -0
  334. package/dist/fancy-ui/chat-message/ChatMessageParts.test.js +173 -0
  335. package/dist/fancy-ui/chat-message/README.md +184 -0
  336. package/dist/fancy-ui/chat-message/index.d.ts +10 -0
  337. package/dist/fancy-ui/chat-message/index.js +6 -0
  338. package/dist/fancy-ui/chat-message/types.d.ts +18 -0
  339. package/dist/fancy-ui/chat-message/types.js +10 -0
  340. package/dist/fancy-ui/chat-panel/ChatEmptyState.svelte +80 -0
  341. package/dist/fancy-ui/chat-panel/ChatEmptyState.svelte.d.ts +21 -0
  342. package/dist/fancy-ui/chat-panel/ChatPanel.svelte +303 -0
  343. package/dist/fancy-ui/chat-panel/ChatPanel.svelte.d.ts +29 -0
  344. package/dist/fancy-ui/chat-panel/ChatPanel.test.d.ts +1 -0
  345. package/dist/fancy-ui/chat-panel/ChatPanel.test.js +303 -0
  346. package/dist/fancy-ui/chat-panel/README.md +209 -0
  347. package/dist/fancy-ui/chat-panel/index.d.ts +5 -0
  348. package/dist/fancy-ui/chat-panel/index.js +3 -0
  349. package/dist/fancy-ui/checkbox/Checkbox.svelte +243 -0
  350. package/dist/fancy-ui/checkbox/Checkbox.svelte.d.ts +55 -0
  351. package/dist/fancy-ui/checkbox/Checkbox.test.d.ts +1 -0
  352. package/dist/fancy-ui/checkbox/Checkbox.test.js +330 -0
  353. package/dist/fancy-ui/checkbox/CheckboxFieldHarness.test.svelte +26 -0
  354. package/dist/fancy-ui/checkbox/CheckboxFieldHarness.test.svelte.d.ts +8 -0
  355. package/dist/fancy-ui/checkbox/CheckboxHarness.test.svelte +34 -0
  356. package/dist/fancy-ui/checkbox/CheckboxHarness.test.svelte.d.ts +8 -0
  357. package/dist/fancy-ui/checkbox/README.md +160 -0
  358. package/dist/fancy-ui/checkbox/index.d.ts +3 -0
  359. package/dist/fancy-ui/checkbox/index.js +2 -0
  360. package/dist/fancy-ui/code-diff/CodeDiff.svelte +428 -0
  361. package/dist/fancy-ui/code-diff/CodeDiff.svelte.d.ts +27 -0
  362. package/dist/fancy-ui/code-diff/CodeDiff.test.d.ts +1 -0
  363. package/dist/fancy-ui/code-diff/CodeDiff.test.js +298 -0
  364. package/dist/fancy-ui/code-diff/README.md +82 -0
  365. package/dist/fancy-ui/code-diff/index.d.ts +3 -0
  366. package/dist/fancy-ui/code-diff/index.js +2 -0
  367. package/dist/fancy-ui/combobox/Combobox.svelte +337 -0
  368. package/dist/fancy-ui/combobox/Combobox.svelte.d.ts +35 -0
  369. package/dist/fancy-ui/combobox/Combobox.test.d.ts +1 -0
  370. package/dist/fancy-ui/combobox/Combobox.test.js +445 -0
  371. package/dist/fancy-ui/combobox/ComboboxFieldHarness.test.svelte +69 -0
  372. package/dist/fancy-ui/combobox/ComboboxFieldHarness.test.svelte.d.ts +21 -0
  373. package/dist/fancy-ui/combobox/ComboboxHarness.test.svelte +30 -0
  374. package/dist/fancy-ui/combobox/ComboboxHarness.test.svelte.d.ts +9 -0
  375. package/dist/fancy-ui/combobox/ComboboxPanel.svelte +87 -0
  376. package/dist/fancy-ui/combobox/ComboboxPanel.svelte.d.ts +18 -0
  377. package/dist/fancy-ui/combobox/README.md +168 -0
  378. package/dist/fancy-ui/combobox/index.d.ts +4 -0
  379. package/dist/fancy-ui/combobox/index.js +3 -0
  380. package/dist/fancy-ui/combobox/match.d.ts +15 -0
  381. package/dist/fancy-ui/combobox/match.js +35 -0
  382. package/dist/fancy-ui/combobox/types.d.ts +40 -0
  383. package/dist/fancy-ui/combobox/types.js +12 -0
  384. package/dist/fancy-ui/command-menu/CommandMenu.svelte +547 -0
  385. package/dist/fancy-ui/command-menu/CommandMenu.svelte.d.ts +36 -0
  386. package/dist/fancy-ui/command-menu/CommandMenu.test.d.ts +1 -0
  387. package/dist/fancy-ui/command-menu/CommandMenu.test.js +569 -0
  388. package/dist/fancy-ui/command-menu/README.md +176 -0
  389. package/dist/fancy-ui/command-menu/index.d.ts +2 -0
  390. package/dist/fancy-ui/command-menu/index.js +2 -0
  391. package/dist/fancy-ui/command-menu/match.d.ts +19 -0
  392. package/dist/fancy-ui/command-menu/match.js +124 -0
  393. package/dist/fancy-ui/command-menu/types.d.ts +19 -0
  394. package/dist/fancy-ui/command-menu/types.js +1 -0
  395. package/dist/fancy-ui/composer/Composer.svelte +241 -0
  396. package/dist/fancy-ui/composer/Composer.svelte.d.ts +37 -0
  397. package/dist/fancy-ui/composer/Composer.test.d.ts +1 -0
  398. package/dist/fancy-ui/composer/Composer.test.js +399 -0
  399. package/dist/fancy-ui/composer/ComposerAttachment.svelte +220 -0
  400. package/dist/fancy-ui/composer/ComposerAttachment.svelte.d.ts +15 -0
  401. package/dist/fancy-ui/composer/ComposerAttachments.svelte +158 -0
  402. package/dist/fancy-ui/composer/ComposerAttachments.svelte.d.ts +19 -0
  403. package/dist/fancy-ui/composer/ComposerAttachments.test.d.ts +1 -0
  404. package/dist/fancy-ui/composer/ComposerAttachments.test.js +360 -0
  405. package/dist/fancy-ui/composer/ComposerCommandMenu.svelte +399 -0
  406. package/dist/fancy-ui/composer/ComposerCommandMenu.svelte.d.ts +34 -0
  407. package/dist/fancy-ui/composer/ComposerCommandMenu.test.d.ts +1 -0
  408. package/dist/fancy-ui/composer/ComposerCommandMenu.test.js +311 -0
  409. package/dist/fancy-ui/composer/ComposerHarness.test.svelte +99 -0
  410. package/dist/fancy-ui/composer/ComposerHarness.test.svelte.d.ts +24 -0
  411. package/dist/fancy-ui/composer/ComposerInput.svelte +178 -0
  412. package/dist/fancy-ui/composer/ComposerInput.svelte.d.ts +20 -0
  413. package/dist/fancy-ui/composer/ComposerIntegration.test.d.ts +14 -0
  414. package/dist/fancy-ui/composer/ComposerIntegration.test.js +283 -0
  415. package/dist/fancy-ui/composer/ComposerModelPicker.svelte +375 -0
  416. package/dist/fancy-ui/composer/ComposerModelPicker.svelte.d.ts +19 -0
  417. package/dist/fancy-ui/composer/ComposerSubmit.svelte +85 -0
  418. package/dist/fancy-ui/composer/ComposerSubmit.svelte.d.ts +17 -0
  419. package/dist/fancy-ui/composer/ComposerToolbar.svelte +55 -0
  420. package/dist/fancy-ui/composer/ComposerToolbar.svelte.d.ts +13 -0
  421. package/dist/fancy-ui/composer/ComposerToolbar.test.d.ts +1 -0
  422. package/dist/fancy-ui/composer/ComposerToolbar.test.js +285 -0
  423. package/dist/fancy-ui/composer/IntegrationHarness.test.svelte +142 -0
  424. package/dist/fancy-ui/composer/IntegrationHarness.test.svelte.d.ts +28 -0
  425. package/dist/fancy-ui/composer/README.md +416 -0
  426. package/dist/fancy-ui/composer/caret.d.ts +69 -0
  427. package/dist/fancy-ui/composer/caret.js +197 -0
  428. package/dist/fancy-ui/composer/caret.test.d.ts +1 -0
  429. package/dist/fancy-ui/composer/caret.test.js +87 -0
  430. package/dist/fancy-ui/composer/index.d.ts +18 -0
  431. package/dist/fancy-ui/composer/index.js +10 -0
  432. package/dist/fancy-ui/composer/types.d.ts +61 -0
  433. package/dist/fancy-ui/composer/types.js +18 -0
  434. package/dist/fancy-ui/context-menu/ContextMenu.svelte +147 -0
  435. package/dist/fancy-ui/context-menu/ContextMenu.svelte.d.ts +21 -0
  436. package/dist/fancy-ui/context-menu/ContextMenu.test.d.ts +1 -0
  437. package/dist/fancy-ui/context-menu/ContextMenu.test.js +309 -0
  438. package/dist/fancy-ui/context-menu/ContextMenuContent.svelte +130 -0
  439. package/dist/fancy-ui/context-menu/ContextMenuContent.svelte.d.ts +12 -0
  440. package/dist/fancy-ui/context-menu/ContextMenuHarness.test.svelte +72 -0
  441. package/dist/fancy-ui/context-menu/ContextMenuHarness.test.svelte.d.ts +16 -0
  442. package/dist/fancy-ui/context-menu/ContextMenuTrigger.svelte +72 -0
  443. package/dist/fancy-ui/context-menu/ContextMenuTrigger.svelte.d.ts +14 -0
  444. package/dist/fancy-ui/context-menu/README.md +226 -0
  445. package/dist/fancy-ui/context-menu/index.d.ts +12 -0
  446. package/dist/fancy-ui/context-menu/index.js +19 -0
  447. package/dist/fancy-ui/context-menu/types.d.ts +26 -0
  448. package/dist/fancy-ui/context-menu/types.js +8 -0
  449. package/dist/fancy-ui/context-ring/ContextRing.svelte +407 -0
  450. package/dist/fancy-ui/context-ring/ContextRing.svelte.d.ts +29 -0
  451. package/dist/fancy-ui/context-ring/ContextRing.test.d.ts +1 -0
  452. package/dist/fancy-ui/context-ring/ContextRing.test.js +250 -0
  453. package/dist/fancy-ui/context-ring/README.md +138 -0
  454. package/dist/fancy-ui/context-ring/index.d.ts +3 -0
  455. package/dist/fancy-ui/context-ring/index.js +2 -0
  456. package/dist/fancy-ui/copy-button/CopyButton.svelte +182 -0
  457. package/dist/fancy-ui/copy-button/CopyButton.svelte.d.ts +41 -0
  458. package/dist/fancy-ui/copy-button/CopyButton.test.d.ts +1 -0
  459. package/dist/fancy-ui/copy-button/CopyButton.test.js +261 -0
  460. package/dist/fancy-ui/copy-button/README.md +124 -0
  461. package/dist/fancy-ui/copy-button/index.d.ts +3 -0
  462. package/dist/fancy-ui/copy-button/index.js +2 -0
  463. package/dist/fancy-ui/date-picker/DatePicker.svelte +421 -0
  464. package/dist/fancy-ui/date-picker/DatePicker.svelte.d.ts +38 -0
  465. package/dist/fancy-ui/date-picker/DatePicker.test.d.ts +1 -0
  466. package/dist/fancy-ui/date-picker/DatePicker.test.js +402 -0
  467. package/dist/fancy-ui/date-picker/DatePickerFieldHarness.test.svelte +25 -0
  468. package/dist/fancy-ui/date-picker/DatePickerFieldHarness.test.svelte.d.ts +7 -0
  469. package/dist/fancy-ui/date-picker/DatePickerHarness.test.svelte +29 -0
  470. package/dist/fancy-ui/date-picker/DatePickerHarness.test.svelte.d.ts +7 -0
  471. package/dist/fancy-ui/date-picker/README.md +193 -0
  472. package/dist/fancy-ui/date-picker/date-utils.d.ts +39 -0
  473. package/dist/fancy-ui/date-picker/date-utils.js +116 -0
  474. package/dist/fancy-ui/date-picker/date-utils.test.d.ts +1 -0
  475. package/dist/fancy-ui/date-picker/date-utils.test.js +175 -0
  476. package/dist/fancy-ui/date-picker/index.d.ts +3 -0
  477. package/dist/fancy-ui/date-picker/index.js +2 -0
  478. package/dist/fancy-ui/dialog/Dialog.svelte +149 -0
  479. package/dist/fancy-ui/dialog/Dialog.svelte.d.ts +28 -0
  480. package/dist/fancy-ui/dialog/Dialog.test.d.ts +1 -0
  481. package/dist/fancy-ui/dialog/Dialog.test.js +304 -0
  482. package/dist/fancy-ui/dialog/DialogSurface.svelte +126 -0
  483. package/dist/fancy-ui/dialog/DialogSurface.svelte.d.ts +4 -0
  484. package/dist/fancy-ui/dialog/README.md +95 -0
  485. package/dist/fancy-ui/dialog/index.d.ts +2 -0
  486. package/dist/fancy-ui/dialog/index.js +2 -0
  487. package/dist/fancy-ui/dialog/types.d.ts +58 -0
  488. package/dist/fancy-ui/dialog/types.js +1 -0
  489. package/dist/fancy-ui/drawer/Drawer.svelte +305 -0
  490. package/dist/fancy-ui/drawer/Drawer.svelte.d.ts +26 -0
  491. package/dist/fancy-ui/drawer/Drawer.test.d.ts +1 -0
  492. package/dist/fancy-ui/drawer/Drawer.test.js +283 -0
  493. package/dist/fancy-ui/drawer/DrawerHarness.test.svelte +31 -0
  494. package/dist/fancy-ui/drawer/DrawerHarness.test.svelte.d.ts +7 -0
  495. package/dist/fancy-ui/drawer/README.md +135 -0
  496. package/dist/fancy-ui/drawer/index.d.ts +3 -0
  497. package/dist/fancy-ui/drawer/index.js +2 -0
  498. package/dist/fancy-ui/dropdown-menu/DropdownMenu.svelte +138 -0
  499. package/dist/fancy-ui/dropdown-menu/DropdownMenu.svelte.d.ts +26 -0
  500. package/dist/fancy-ui/dropdown-menu/DropdownMenu.test.d.ts +1 -0
  501. package/dist/fancy-ui/dropdown-menu/DropdownMenu.test.js +686 -0
  502. package/dist/fancy-ui/dropdown-menu/DropdownMenuContent.svelte +158 -0
  503. package/dist/fancy-ui/dropdown-menu/DropdownMenuContent.svelte.d.ts +12 -0
  504. package/dist/fancy-ui/dropdown-menu/DropdownMenuHarness.test.svelte +97 -0
  505. package/dist/fancy-ui/dropdown-menu/DropdownMenuHarness.test.svelte.d.ts +25 -0
  506. package/dist/fancy-ui/dropdown-menu/DropdownMenuItem.svelte +156 -0
  507. package/dist/fancy-ui/dropdown-menu/DropdownMenuItem.svelte.d.ts +22 -0
  508. package/dist/fancy-ui/dropdown-menu/DropdownMenuLabel.svelte +32 -0
  509. package/dist/fancy-ui/dropdown-menu/DropdownMenuLabel.svelte.d.ts +10 -0
  510. package/dist/fancy-ui/dropdown-menu/DropdownMenuSeparator.svelte +18 -0
  511. package/dist/fancy-ui/dropdown-menu/DropdownMenuSeparator.svelte.d.ts +7 -0
  512. package/dist/fancy-ui/dropdown-menu/DropdownMenuSub.svelte +125 -0
  513. package/dist/fancy-ui/dropdown-menu/DropdownMenuSub.svelte.d.ts +8 -0
  514. package/dist/fancy-ui/dropdown-menu/DropdownMenuSubContent.svelte +161 -0
  515. package/dist/fancy-ui/dropdown-menu/DropdownMenuSubContent.svelte.d.ts +12 -0
  516. package/dist/fancy-ui/dropdown-menu/DropdownMenuSubTrigger.svelte +151 -0
  517. package/dist/fancy-ui/dropdown-menu/DropdownMenuSubTrigger.svelte.d.ts +14 -0
  518. package/dist/fancy-ui/dropdown-menu/DropdownMenuTrigger.svelte +96 -0
  519. package/dist/fancy-ui/dropdown-menu/DropdownMenuTrigger.svelte.d.ts +14 -0
  520. package/dist/fancy-ui/dropdown-menu/README.md +420 -0
  521. package/dist/fancy-ui/dropdown-menu/index.d.ts +11 -0
  522. package/dist/fancy-ui/dropdown-menu/index.js +11 -0
  523. package/dist/fancy-ui/dropdown-menu/menu-shared.d.ts +32 -0
  524. package/dist/fancy-ui/dropdown-menu/menu-shared.js +74 -0
  525. package/dist/fancy-ui/dropdown-menu/types.d.ts +120 -0
  526. package/dist/fancy-ui/dropdown-menu/types.js +3 -0
  527. package/dist/fancy-ui/file-upload/FileUpload.svelte +495 -0
  528. package/dist/fancy-ui/file-upload/FileUpload.svelte.d.ts +48 -0
  529. package/dist/fancy-ui/file-upload/FileUpload.test.d.ts +1 -0
  530. package/dist/fancy-ui/file-upload/FileUpload.test.js +286 -0
  531. package/dist/fancy-ui/file-upload/FileUploadFieldHarness.test.svelte +47 -0
  532. package/dist/fancy-ui/file-upload/FileUploadFieldHarness.test.svelte.d.ts +7 -0
  533. package/dist/fancy-ui/file-upload/FileUploadHarness.test.svelte +28 -0
  534. package/dist/fancy-ui/file-upload/FileUploadHarness.test.svelte.d.ts +8 -0
  535. package/dist/fancy-ui/file-upload/README.md +217 -0
  536. package/dist/fancy-ui/file-upload/index.d.ts +3 -0
  537. package/dist/fancy-ui/file-upload/index.js +2 -0
  538. package/dist/fancy-ui/fluid-cursor/FluidCursor.svelte +71 -4
  539. package/dist/fancy-ui/fluid-cursor/FluidCursor.svelte.d.ts +13 -0
  540. package/dist/fancy-ui/fluid-cursor/FluidCursor.test.js +28 -0
  541. package/dist/fancy-ui/fluid-cursor/README.md +27 -0
  542. package/dist/fancy-ui/form-field/FormField.svelte +121 -0
  543. package/dist/fancy-ui/form-field/FormField.svelte.d.ts +4 -0
  544. package/dist/fancy-ui/form-field/FormField.test.d.ts +1 -0
  545. package/dist/fancy-ui/form-field/FormField.test.js +206 -0
  546. package/dist/fancy-ui/form-field/FormFieldControl.test.svelte +37 -0
  547. package/dist/fancy-ui/form-field/FormFieldControl.test.svelte.d.ts +8 -0
  548. package/dist/fancy-ui/form-field/FormFieldHarness.test.svelte +30 -0
  549. package/dist/fancy-ui/form-field/FormFieldHarness.test.svelte.d.ts +4 -0
  550. package/dist/fancy-ui/form-field/FormFieldPairHarness.test.svelte +20 -0
  551. package/dist/fancy-ui/form-field/FormFieldPairHarness.test.svelte.d.ts +18 -0
  552. package/dist/fancy-ui/form-field/README.md +215 -0
  553. package/dist/fancy-ui/form-field/index.d.ts +3 -0
  554. package/dist/fancy-ui/form-field/index.js +2 -0
  555. package/dist/fancy-ui/form-field/types.d.ts +40 -0
  556. package/dist/fancy-ui/form-field/types.js +1 -0
  557. package/dist/fancy-ui/hover-card/HoverCard.svelte +204 -0
  558. package/dist/fancy-ui/hover-card/HoverCard.svelte.d.ts +45 -0
  559. package/dist/fancy-ui/hover-card/HoverCard.test.d.ts +1 -0
  560. package/dist/fancy-ui/hover-card/HoverCard.test.js +243 -0
  561. package/dist/fancy-ui/hover-card/HoverCardAriaHarness.test.svelte +26 -0
  562. package/dist/fancy-ui/hover-card/HoverCardAriaHarness.test.svelte.d.ts +18 -0
  563. package/dist/fancy-ui/hover-card/HoverCardHarness.test.svelte +24 -0
  564. package/dist/fancy-ui/hover-card/HoverCardHarness.test.svelte.d.ts +6 -0
  565. package/dist/fancy-ui/hover-card/README.md +65 -0
  566. package/dist/fancy-ui/hover-card/index.d.ts +2 -0
  567. package/dist/fancy-ui/hover-card/index.js +2 -0
  568. package/dist/fancy-ui/icon-button/IconButton.svelte +111 -0
  569. package/dist/fancy-ui/icon-button/IconButton.svelte.d.ts +45 -0
  570. package/dist/fancy-ui/icon-button/IconButton.test.d.ts +1 -0
  571. package/dist/fancy-ui/icon-button/IconButton.test.js +120 -0
  572. package/dist/fancy-ui/icon-button/README.md +184 -0
  573. package/dist/fancy-ui/icon-button/index.d.ts +2 -0
  574. package/dist/fancy-ui/icon-button/index.js +2 -0
  575. package/dist/fancy-ui/image-generation/ImageGeneration.svelte +274 -0
  576. package/dist/fancy-ui/image-generation/ImageGeneration.svelte.d.ts +28 -0
  577. package/dist/fancy-ui/image-generation/ImageGeneration.test.d.ts +1 -0
  578. package/dist/fancy-ui/image-generation/ImageGeneration.test.js +248 -0
  579. package/dist/fancy-ui/image-generation/README.md +96 -0
  580. package/dist/fancy-ui/image-generation/index.d.ts +3 -0
  581. package/dist/fancy-ui/image-generation/index.js +2 -0
  582. package/dist/fancy-ui/image-trail-cursor/ImageTrailCursor.test.js +17 -0
  583. package/dist/fancy-ui/image-trail-cursor/README.md +20 -18
  584. package/dist/fancy-ui/image-trail-cursor/trail-variants.d.ts +6 -1
  585. package/dist/fancy-ui/image-trail-cursor/trail-variants.js +33 -0
  586. package/dist/fancy-ui/image-trail-cursor/trail-variants.test.d.ts +1 -0
  587. package/dist/fancy-ui/image-trail-cursor/trail-variants.test.js +14 -0
  588. package/dist/fancy-ui/index.d.ts +72 -0
  589. package/dist/fancy-ui/index.js +77 -0
  590. package/dist/fancy-ui/inline-citation/InlineCitation.svelte +289 -0
  591. package/dist/fancy-ui/inline-citation/InlineCitation.svelte.d.ts +24 -0
  592. package/dist/fancy-ui/inline-citation/InlineCitation.test.d.ts +1 -0
  593. package/dist/fancy-ui/inline-citation/InlineCitation.test.js +272 -0
  594. package/dist/fancy-ui/inline-citation/InlineCitationHarness.test.svelte +21 -0
  595. package/dist/fancy-ui/inline-citation/InlineCitationHarness.test.svelte.d.ts +9 -0
  596. package/dist/fancy-ui/inline-citation/README.md +107 -0
  597. package/dist/fancy-ui/inline-citation/index.d.ts +3 -0
  598. package/dist/fancy-ui/inline-citation/index.js +2 -0
  599. package/dist/fancy-ui/input/Input.svelte +123 -0
  600. package/dist/fancy-ui/input/Input.svelte.d.ts +34 -0
  601. package/dist/fancy-ui/input/Input.test.d.ts +1 -0
  602. package/dist/fancy-ui/input/Input.test.js +133 -0
  603. package/dist/fancy-ui/input/InputFieldHarness.test.svelte +49 -0
  604. package/dist/fancy-ui/input/InputFieldHarness.test.svelte.d.ts +7 -0
  605. package/dist/fancy-ui/input/InputHarness.test.svelte +28 -0
  606. package/dist/fancy-ui/input/InputHarness.test.svelte.d.ts +7 -0
  607. package/dist/fancy-ui/input/README.md +126 -0
  608. package/dist/fancy-ui/input/index.d.ts +3 -0
  609. package/dist/fancy-ui/input/index.js +2 -0
  610. package/dist/fancy-ui/interactive-grid-pattern/InteractiveGridPattern.svelte +10 -3
  611. package/dist/fancy-ui/interactive-grid-pattern/InteractiveGridPattern.svelte.d.ts +4 -0
  612. package/dist/fancy-ui/interactive-grid-pattern/InteractiveGridPattern.test.js +37 -1
  613. package/dist/fancy-ui/interactive-grid-pattern/README.md +20 -9
  614. package/dist/fancy-ui/label/Label.svelte +54 -0
  615. package/dist/fancy-ui/label/Label.svelte.d.ts +16 -0
  616. package/dist/fancy-ui/label/Label.test.d.ts +1 -0
  617. package/dist/fancy-ui/label/Label.test.js +105 -0
  618. package/dist/fancy-ui/label/LabelHarness.test.svelte +37 -0
  619. package/dist/fancy-ui/label/LabelHarness.test.svelte.d.ts +11 -0
  620. package/dist/fancy-ui/label/README.md +87 -0
  621. package/dist/fancy-ui/label/index.d.ts +2 -0
  622. package/dist/fancy-ui/label/index.js +2 -0
  623. package/dist/fancy-ui/line-hover-link/LineHoverLink.svelte +18 -1
  624. package/dist/fancy-ui/line-hover-link/LineHoverLink.svelte.d.ts +2 -1
  625. package/dist/fancy-ui/line-hover-link/LineHoverLink.test.js +12 -0
  626. package/dist/fancy-ui/line-hover-link/README.md +3 -2
  627. package/dist/fancy-ui/link/Link.svelte +145 -0
  628. package/dist/fancy-ui/link/Link.svelte.d.ts +29 -0
  629. package/dist/fancy-ui/link/Link.test.d.ts +1 -0
  630. package/dist/fancy-ui/link/Link.test.js +170 -0
  631. package/dist/fancy-ui/link/README.md +77 -0
  632. package/dist/fancy-ui/link/index.d.ts +3 -0
  633. package/dist/fancy-ui/link/index.js +2 -0
  634. package/dist/fancy-ui/liquid-glass/README.md +4 -0
  635. package/dist/fancy-ui/liquid-text/LiquidText.svelte +52 -11
  636. package/dist/fancy-ui/liquid-text/LiquidText.test.js +1 -3
  637. package/dist/fancy-ui/logo-cloud/README.md +47 -14
  638. package/dist/fancy-ui/logo-cloud/StaticLogoCloud.svelte +43 -6
  639. package/dist/fancy-ui/logo-cloud/StaticLogoCloud.svelte.d.ts +18 -0
  640. package/dist/fancy-ui/logo-cloud/StaticLogoCloud.test.d.ts +1 -0
  641. package/dist/fancy-ui/logo-cloud/StaticLogoCloud.test.js +57 -0
  642. package/dist/fancy-ui/logo-cloud/index.d.ts +2 -2
  643. package/dist/fancy-ui/navbar/Navbar.svelte +88 -0
  644. package/dist/fancy-ui/navbar/Navbar.svelte.d.ts +22 -0
  645. package/dist/fancy-ui/navbar/Navbar.test.d.ts +1 -0
  646. package/dist/fancy-ui/navbar/Navbar.test.js +157 -0
  647. package/dist/fancy-ui/navbar/NavbarLink.svelte +109 -0
  648. package/dist/fancy-ui/navbar/NavbarLink.svelte.d.ts +29 -0
  649. package/dist/fancy-ui/navbar/README.md +137 -0
  650. package/dist/fancy-ui/navbar/index.d.ts +5 -0
  651. package/dist/fancy-ui/navbar/index.js +3 -0
  652. package/dist/fancy-ui/navigation-menu/NavigationMenu.svelte +265 -0
  653. package/dist/fancy-ui/navigation-menu/NavigationMenu.svelte.d.ts +22 -0
  654. package/dist/fancy-ui/navigation-menu/NavigationMenu.test.d.ts +1 -0
  655. package/dist/fancy-ui/navigation-menu/NavigationMenu.test.js +487 -0
  656. package/dist/fancy-ui/navigation-menu/NavigationMenuContent.svelte +130 -0
  657. package/dist/fancy-ui/navigation-menu/NavigationMenuContent.svelte.d.ts +12 -0
  658. package/dist/fancy-ui/navigation-menu/NavigationMenuHarness.test.svelte +78 -0
  659. package/dist/fancy-ui/navigation-menu/NavigationMenuHarness.test.svelte.d.ts +24 -0
  660. package/dist/fancy-ui/navigation-menu/NavigationMenuItem.svelte +43 -0
  661. package/dist/fancy-ui/navigation-menu/NavigationMenuItem.svelte.d.ts +12 -0
  662. package/dist/fancy-ui/navigation-menu/NavigationMenuLink.svelte +93 -0
  663. package/dist/fancy-ui/navigation-menu/NavigationMenuLink.svelte.d.ts +24 -0
  664. package/dist/fancy-ui/navigation-menu/NavigationMenuList.svelte +40 -0
  665. package/dist/fancy-ui/navigation-menu/NavigationMenuList.svelte.d.ts +12 -0
  666. package/dist/fancy-ui/navigation-menu/NavigationMenuTrigger.svelte +137 -0
  667. package/dist/fancy-ui/navigation-menu/NavigationMenuTrigger.svelte.d.ts +12 -0
  668. package/dist/fancy-ui/navigation-menu/README.md +309 -0
  669. package/dist/fancy-ui/navigation-menu/index.d.ts +14 -0
  670. package/dist/fancy-ui/navigation-menu/index.js +8 -0
  671. package/dist/fancy-ui/navigation-menu/types.d.ts +77 -0
  672. package/dist/fancy-ui/navigation-menu/types.js +16 -0
  673. package/dist/fancy-ui/number-input/NumberInput.svelte +282 -0
  674. package/dist/fancy-ui/number-input/NumberInput.svelte.d.ts +33 -0
  675. package/dist/fancy-ui/number-input/NumberInput.test.d.ts +1 -0
  676. package/dist/fancy-ui/number-input/NumberInput.test.js +354 -0
  677. package/dist/fancy-ui/number-input/NumberInputFieldHarness.test.svelte +25 -0
  678. package/dist/fancy-ui/number-input/NumberInputFieldHarness.test.svelte.d.ts +7 -0
  679. package/dist/fancy-ui/number-input/NumberInputHarness.test.svelte +31 -0
  680. package/dist/fancy-ui/number-input/NumberInputHarness.test.svelte.d.ts +10 -0
  681. package/dist/fancy-ui/number-input/README.md +141 -0
  682. package/dist/fancy-ui/number-input/index.d.ts +3 -0
  683. package/dist/fancy-ui/number-input/index.js +2 -0
  684. package/dist/fancy-ui/pagination/Pagination.svelte +226 -0
  685. package/dist/fancy-ui/pagination/Pagination.svelte.d.ts +30 -0
  686. package/dist/fancy-ui/pagination/Pagination.test.d.ts +1 -0
  687. package/dist/fancy-ui/pagination/Pagination.test.js +194 -0
  688. package/dist/fancy-ui/pagination/PaginationHarness.test.svelte +53 -0
  689. package/dist/fancy-ui/pagination/PaginationHarness.test.svelte.d.ts +13 -0
  690. package/dist/fancy-ui/pagination/README.md +117 -0
  691. package/dist/fancy-ui/pagination/index.d.ts +3 -0
  692. package/dist/fancy-ui/pagination/index.js +9 -0
  693. package/dist/fancy-ui/pagination/pagination-range.d.ts +11 -0
  694. package/dist/fancy-ui/pagination/pagination-range.js +77 -0
  695. package/dist/fancy-ui/pagination/pagination-range.test.d.ts +1 -0
  696. package/dist/fancy-ui/pagination/pagination-range.test.js +118 -0
  697. package/dist/fancy-ui/password-input/PasswordInput.svelte +314 -0
  698. package/dist/fancy-ui/password-input/PasswordInput.svelte.d.ts +44 -0
  699. package/dist/fancy-ui/password-input/PasswordInput.test.d.ts +1 -0
  700. package/dist/fancy-ui/password-input/PasswordInput.test.js +290 -0
  701. package/dist/fancy-ui/password-input/PasswordInputFieldHarness.test.svelte +66 -0
  702. package/dist/fancy-ui/password-input/PasswordInputFieldHarness.test.svelte.d.ts +19 -0
  703. package/dist/fancy-ui/password-input/PasswordInputHarness.test.svelte +28 -0
  704. package/dist/fancy-ui/password-input/PasswordInputHarness.test.svelte.d.ts +7 -0
  705. package/dist/fancy-ui/password-input/README.md +135 -0
  706. package/dist/fancy-ui/password-input/index.d.ts +2 -0
  707. package/dist/fancy-ui/password-input/index.js +2 -0
  708. package/dist/fancy-ui/pixel-loader/PixelLoader.svelte +111 -0
  709. package/dist/fancy-ui/pixel-loader/PixelLoader.svelte.d.ts +23 -0
  710. package/dist/fancy-ui/pixel-loader/PixelLoader.test.d.ts +1 -0
  711. package/dist/fancy-ui/pixel-loader/PixelLoader.test.js +77 -0
  712. package/dist/fancy-ui/pixel-loader/README.md +47 -0
  713. package/dist/fancy-ui/pixel-loader/index.d.ts +3 -0
  714. package/dist/fancy-ui/pixel-loader/index.js +2 -0
  715. package/dist/fancy-ui/popover/Popover.svelte +127 -0
  716. package/dist/fancy-ui/popover/Popover.svelte.d.ts +31 -0
  717. package/dist/fancy-ui/popover/Popover.test.d.ts +1 -0
  718. package/dist/fancy-ui/popover/Popover.test.js +246 -0
  719. package/dist/fancy-ui/popover/PopoverContent.svelte +85 -0
  720. package/dist/fancy-ui/popover/PopoverContent.svelte.d.ts +12 -0
  721. package/dist/fancy-ui/popover/README.md +146 -0
  722. package/dist/fancy-ui/popover/index.d.ts +6 -0
  723. package/dist/fancy-ui/popover/index.js +4 -0
  724. package/dist/fancy-ui/popover/types.d.ts +27 -0
  725. package/dist/fancy-ui/popover/types.js +1 -0
  726. package/dist/fancy-ui/prompt-suggestions/PromptSuggestions.svelte +130 -0
  727. package/dist/fancy-ui/prompt-suggestions/PromptSuggestions.svelte.d.ts +24 -0
  728. package/dist/fancy-ui/prompt-suggestions/PromptSuggestions.test.d.ts +1 -0
  729. package/dist/fancy-ui/prompt-suggestions/PromptSuggestions.test.js +129 -0
  730. package/dist/fancy-ui/prompt-suggestions/README.md +77 -0
  731. package/dist/fancy-ui/prompt-suggestions/index.d.ts +3 -0
  732. package/dist/fancy-ui/prompt-suggestions/index.js +2 -0
  733. package/dist/fancy-ui/radio-group/README.md +228 -0
  734. package/dist/fancy-ui/radio-group/RadioGroup.svelte +163 -0
  735. package/dist/fancy-ui/radio-group/RadioGroup.svelte.d.ts +44 -0
  736. package/dist/fancy-ui/radio-group/RadioGroup.test.d.ts +1 -0
  737. package/dist/fancy-ui/radio-group/RadioGroup.test.js +415 -0
  738. package/dist/fancy-ui/radio-group/RadioGroupHarness.test.svelte +79 -0
  739. package/dist/fancy-ui/radio-group/RadioGroupHarness.test.svelte.d.ts +23 -0
  740. package/dist/fancy-ui/radio-group/RadioGroupItem.svelte +148 -0
  741. package/dist/fancy-ui/radio-group/RadioGroupItem.svelte.d.ts +18 -0
  742. package/dist/fancy-ui/radio-group/index.d.ts +6 -0
  743. package/dist/fancy-ui/radio-group/index.js +4 -0
  744. package/dist/fancy-ui/radio-group/types.d.ts +35 -0
  745. package/dist/fancy-ui/radio-group/types.js +12 -0
  746. package/dist/fancy-ui/reasoning-panel/README.md +70 -0
  747. package/dist/fancy-ui/reasoning-panel/ReasoningPanel.svelte +260 -0
  748. package/dist/fancy-ui/reasoning-panel/ReasoningPanel.svelte.d.ts +32 -0
  749. package/dist/fancy-ui/reasoning-panel/ReasoningPanel.test.d.ts +1 -0
  750. package/dist/fancy-ui/reasoning-panel/ReasoningPanel.test.js +163 -0
  751. package/dist/fancy-ui/reasoning-panel/index.d.ts +3 -0
  752. package/dist/fancy-ui/reasoning-panel/index.js +2 -0
  753. package/dist/fancy-ui/recommendation-card/README.md +106 -0
  754. package/dist/fancy-ui/recommendation-card/RecommendationCard.svelte +375 -0
  755. package/dist/fancy-ui/recommendation-card/RecommendationCard.svelte.d.ts +38 -0
  756. package/dist/fancy-ui/recommendation-card/RecommendationCard.test.d.ts +1 -0
  757. package/dist/fancy-ui/recommendation-card/RecommendationCard.test.js +255 -0
  758. package/dist/fancy-ui/recommendation-card/RecommendationCardHarness.test.svelte +33 -0
  759. package/dist/fancy-ui/recommendation-card/RecommendationCardHarness.test.svelte.d.ts +12 -0
  760. package/dist/fancy-ui/recommendation-card/index.d.ts +3 -0
  761. package/dist/fancy-ui/recommendation-card/index.js +2 -0
  762. package/dist/fancy-ui/registry.d.ts +14 -1
  763. package/dist/fancy-ui/registry.js +5055 -44
  764. package/dist/fancy-ui/scroll-anchor/README.md +93 -0
  765. package/dist/fancy-ui/scroll-anchor/ScrollAnchor.svelte +197 -0
  766. package/dist/fancy-ui/scroll-anchor/ScrollAnchor.svelte.d.ts +31 -0
  767. package/dist/fancy-ui/scroll-anchor/ScrollAnchor.test.d.ts +1 -0
  768. package/dist/fancy-ui/scroll-anchor/ScrollAnchor.test.js +206 -0
  769. package/dist/fancy-ui/scroll-anchor/index.d.ts +3 -0
  770. package/dist/fancy-ui/scroll-anchor/index.js +2 -0
  771. package/dist/fancy-ui/search-input/README.md +118 -0
  772. package/dist/fancy-ui/search-input/SearchInput.svelte +261 -0
  773. package/dist/fancy-ui/search-input/SearchInput.svelte.d.ts +43 -0
  774. package/dist/fancy-ui/search-input/SearchInput.test.d.ts +1 -0
  775. package/dist/fancy-ui/search-input/SearchInput.test.js +279 -0
  776. package/dist/fancy-ui/search-input/SearchInputFieldHarness.test.svelte +66 -0
  777. package/dist/fancy-ui/search-input/SearchInputFieldHarness.test.svelte.d.ts +19 -0
  778. package/dist/fancy-ui/search-input/SearchInputHarness.test.svelte +28 -0
  779. package/dist/fancy-ui/search-input/SearchInputHarness.test.svelte.d.ts +7 -0
  780. package/dist/fancy-ui/search-input/index.d.ts +2 -0
  781. package/dist/fancy-ui/search-input/index.js +2 -0
  782. package/dist/fancy-ui/select/README.md +227 -0
  783. package/dist/fancy-ui/select/Select.svelte +383 -0
  784. package/dist/fancy-ui/select/Select.svelte.d.ts +41 -0
  785. package/dist/fancy-ui/select/Select.test.d.ts +1 -0
  786. package/dist/fancy-ui/select/Select.test.js +575 -0
  787. package/dist/fancy-ui/select/SelectHarness.test.svelte +63 -0
  788. package/dist/fancy-ui/select/SelectHarness.test.svelte.d.ts +19 -0
  789. package/dist/fancy-ui/select/SelectPanel.svelte +138 -0
  790. package/dist/fancy-ui/select/SelectPanel.svelte.d.ts +9 -0
  791. package/dist/fancy-ui/select/index.d.ts +3 -0
  792. package/dist/fancy-ui/select/index.js +2 -0
  793. package/dist/fancy-ui/select/types.d.ts +56 -0
  794. package/dist/fancy-ui/select/types.js +1 -0
  795. package/dist/fancy-ui/sheet/README.md +128 -0
  796. package/dist/fancy-ui/sheet/Sheet.svelte +240 -0
  797. package/dist/fancy-ui/sheet/Sheet.svelte.d.ts +30 -0
  798. package/dist/fancy-ui/sheet/Sheet.test.d.ts +1 -0
  799. package/dist/fancy-ui/sheet/Sheet.test.js +236 -0
  800. package/dist/fancy-ui/sheet/SheetHarness.test.svelte +31 -0
  801. package/dist/fancy-ui/sheet/SheetHarness.test.svelte.d.ts +7 -0
  802. package/dist/fancy-ui/sheet/index.d.ts +3 -0
  803. package/dist/fancy-ui/sheet/index.js +2 -0
  804. package/dist/fancy-ui/sidebar/README.md +219 -0
  805. package/dist/fancy-ui/sidebar/Sidebar.svelte +81 -0
  806. package/dist/fancy-ui/sidebar/Sidebar.svelte.d.ts +21 -0
  807. package/dist/fancy-ui/sidebar/Sidebar.test.d.ts +1 -0
  808. package/dist/fancy-ui/sidebar/Sidebar.test.js +307 -0
  809. package/dist/fancy-ui/sidebar/SidebarFooter.svelte +46 -0
  810. package/dist/fancy-ui/sidebar/SidebarFooter.svelte.d.ts +14 -0
  811. package/dist/fancy-ui/sidebar/SidebarGroup.svelte +45 -0
  812. package/dist/fancy-ui/sidebar/SidebarGroup.svelte.d.ts +12 -0
  813. package/dist/fancy-ui/sidebar/SidebarHarness.test.svelte +41 -0
  814. package/dist/fancy-ui/sidebar/SidebarHarness.test.svelte.d.ts +6 -0
  815. package/dist/fancy-ui/sidebar/SidebarItem.svelte +168 -0
  816. package/dist/fancy-ui/sidebar/SidebarItem.svelte.d.ts +32 -0
  817. package/dist/fancy-ui/sidebar/SidebarSeparator.svelte +17 -0
  818. package/dist/fancy-ui/sidebar/SidebarSeparator.svelte.d.ts +9 -0
  819. package/dist/fancy-ui/sidebar/index.d.ts +12 -0
  820. package/dist/fancy-ui/sidebar/index.js +7 -0
  821. package/dist/fancy-ui/sidebar/types.d.ts +23 -0
  822. package/dist/fancy-ui/sidebar/types.js +18 -0
  823. package/dist/fancy-ui/slider/README.md +126 -0
  824. package/dist/fancy-ui/slider/Slider.svelte +252 -0
  825. package/dist/fancy-ui/slider/Slider.svelte.d.ts +31 -0
  826. package/dist/fancy-ui/slider/Slider.test.d.ts +1 -0
  827. package/dist/fancy-ui/slider/Slider.test.js +175 -0
  828. package/dist/fancy-ui/slider/SliderFieldHarness.test.svelte +25 -0
  829. package/dist/fancy-ui/slider/SliderFieldHarness.test.svelte.d.ts +7 -0
  830. package/dist/fancy-ui/slider/SliderHarness.test.svelte +28 -0
  831. package/dist/fancy-ui/slider/SliderHarness.test.svelte.d.ts +7 -0
  832. package/dist/fancy-ui/slider/index.d.ts +3 -0
  833. package/dist/fancy-ui/slider/index.js +2 -0
  834. package/dist/fancy-ui/sound/README.md +288 -0
  835. package/dist/fancy-ui/sound/SoundToggle.svelte +185 -0
  836. package/dist/fancy-ui/sound/SoundToggle.svelte.d.ts +27 -0
  837. package/dist/fancy-ui/sound/SoundToggle.test.d.ts +1 -0
  838. package/dist/fancy-ui/sound/SoundToggle.test.js +251 -0
  839. package/dist/fancy-ui/sound/SoundToggleHarness.test.svelte +18 -0
  840. package/dist/fancy-ui/sound/SoundToggleHarness.test.svelte.d.ts +3 -0
  841. package/dist/fancy-ui/sound/engine.d.ts +67 -0
  842. package/dist/fancy-ui/sound/engine.js +440 -0
  843. package/dist/fancy-ui/sound/engine.test.d.ts +1 -0
  844. package/dist/fancy-ui/sound/engine.test.js +638 -0
  845. package/dist/fancy-ui/sound/index.d.ts +7 -0
  846. package/dist/fancy-ui/sound/index.js +7 -0
  847. package/dist/fancy-ui/sound/sound-feedback.d.ts +50 -0
  848. package/dist/fancy-ui/sound/sound-feedback.js +144 -0
  849. package/dist/fancy-ui/sound/sound-feedback.test.d.ts +1 -0
  850. package/dist/fancy-ui/sound/sound-feedback.test.js +272 -0
  851. package/dist/fancy-ui/sound/sound.barrel.test.d.ts +1 -0
  852. package/dist/fancy-ui/sound/sound.barrel.test.js +161 -0
  853. package/dist/fancy-ui/sound/sound.integration.test.d.ts +1 -0
  854. package/dist/fancy-ui/sound/sound.integration.test.js +541 -0
  855. package/dist/fancy-ui/sound/sound.ssr.test.d.ts +1 -0
  856. package/dist/fancy-ui/sound/sound.ssr.test.js +128 -0
  857. package/dist/fancy-ui/sound/sound.svelte.d.ts +54 -0
  858. package/dist/fancy-ui/sound/sound.svelte.js +349 -0
  859. package/dist/fancy-ui/sound/sound.test.d.ts +1 -0
  860. package/dist/fancy-ui/sound/sound.test.js +318 -0
  861. package/dist/fancy-ui/sound/themes.d.ts +19 -0
  862. package/dist/fancy-ui/sound/themes.js +367 -0
  863. package/dist/fancy-ui/sound/themes.test.d.ts +1 -0
  864. package/dist/fancy-ui/sound/themes.test.js +188 -0
  865. package/dist/fancy-ui/sound/types.d.ts +125 -0
  866. package/dist/fancy-ui/sound/types.js +59 -0
  867. package/dist/fancy-ui/sound/web-audio-mock.d.ts +144 -0
  868. package/dist/fancy-ui/sound/web-audio-mock.js +274 -0
  869. package/dist/fancy-ui/sources/README.md +189 -0
  870. package/dist/fancy-ui/sources/SourceCard.svelte +174 -0
  871. package/dist/fancy-ui/sources/SourceCard.svelte.d.ts +22 -0
  872. package/dist/fancy-ui/sources/Sources.svelte +75 -0
  873. package/dist/fancy-ui/sources/Sources.svelte.d.ts +22 -0
  874. package/dist/fancy-ui/sources/Sources.test.d.ts +1 -0
  875. package/dist/fancy-ui/sources/Sources.test.js +140 -0
  876. package/dist/fancy-ui/sources/SourcesHarness.test.svelte +36 -0
  877. package/dist/fancy-ui/sources/SourcesHarness.test.svelte.d.ts +12 -0
  878. package/dist/fancy-ui/sources/SourcesList.svelte +123 -0
  879. package/dist/fancy-ui/sources/SourcesList.svelte.d.ts +14 -0
  880. package/dist/fancy-ui/sources/SourcesParts.test.d.ts +1 -0
  881. package/dist/fancy-ui/sources/SourcesParts.test.js +245 -0
  882. package/dist/fancy-ui/sources/SourcesTrigger.svelte +126 -0
  883. package/dist/fancy-ui/sources/SourcesTrigger.svelte.d.ts +12 -0
  884. package/dist/fancy-ui/sources/index.d.ts +10 -0
  885. package/dist/fancy-ui/sources/index.js +6 -0
  886. package/dist/fancy-ui/sources/types.d.ts +26 -0
  887. package/dist/fancy-ui/sources/types.js +10 -0
  888. package/dist/fancy-ui/stepper/README.md +173 -0
  889. package/dist/fancy-ui/stepper/Step.svelte +247 -0
  890. package/dist/fancy-ui/stepper/Step.svelte.d.ts +21 -0
  891. package/dist/fancy-ui/stepper/Stepper.svelte +123 -0
  892. package/dist/fancy-ui/stepper/Stepper.svelte.d.ts +22 -0
  893. package/dist/fancy-ui/stepper/Stepper.test.d.ts +1 -0
  894. package/dist/fancy-ui/stepper/Stepper.test.js +197 -0
  895. package/dist/fancy-ui/stepper/StepperHarness.test.svelte +49 -0
  896. package/dist/fancy-ui/stepper/StepperHarness.test.svelte.d.ts +15 -0
  897. package/dist/fancy-ui/stepper/index.d.ts +6 -0
  898. package/dist/fancy-ui/stepper/index.js +4 -0
  899. package/dist/fancy-ui/stepper/types.d.ts +45 -0
  900. package/dist/fancy-ui/stepper/types.js +1 -0
  901. package/dist/fancy-ui/streaming-text/README.md +80 -0
  902. package/dist/fancy-ui/streaming-text/StreamingText.svelte +126 -0
  903. package/dist/fancy-ui/streaming-text/StreamingText.svelte.d.ts +27 -0
  904. package/dist/fancy-ui/streaming-text/StreamingText.test.d.ts +1 -0
  905. package/dist/fancy-ui/streaming-text/StreamingText.test.js +98 -0
  906. package/dist/fancy-ui/streaming-text/index.d.ts +3 -0
  907. package/dist/fancy-ui/streaming-text/index.js +2 -0
  908. package/dist/fancy-ui/subagent-list/README.md +153 -0
  909. package/dist/fancy-ui/subagent-list/SubagentList.svelte +438 -0
  910. package/dist/fancy-ui/subagent-list/SubagentList.svelte.d.ts +27 -0
  911. package/dist/fancy-ui/subagent-list/SubagentList.test.d.ts +1 -0
  912. package/dist/fancy-ui/subagent-list/SubagentList.test.js +303 -0
  913. package/dist/fancy-ui/subagent-list/index.d.ts +3 -0
  914. package/dist/fancy-ui/subagent-list/index.js +2 -0
  915. package/dist/fancy-ui/switch/README.md +152 -0
  916. package/dist/fancy-ui/switch/Switch.svelte +241 -0
  917. package/dist/fancy-ui/switch/Switch.svelte.d.ts +45 -0
  918. package/dist/fancy-ui/switch/Switch.test.d.ts +1 -0
  919. package/dist/fancy-ui/switch/Switch.test.js +280 -0
  920. package/dist/fancy-ui/switch/SwitchFieldHarness.test.svelte +25 -0
  921. package/dist/fancy-ui/switch/SwitchFieldHarness.test.svelte.d.ts +7 -0
  922. package/dist/fancy-ui/switch/SwitchHarness.test.svelte +28 -0
  923. package/dist/fancy-ui/switch/SwitchHarness.test.svelte.d.ts +7 -0
  924. package/dist/fancy-ui/switch/index.d.ts +3 -0
  925. package/dist/fancy-ui/switch/index.js +2 -0
  926. package/dist/fancy-ui/tabs/README.md +271 -0
  927. package/dist/fancy-ui/tabs/Tabs.svelte +218 -0
  928. package/dist/fancy-ui/tabs/Tabs.svelte.d.ts +26 -0
  929. package/dist/fancy-ui/tabs/Tabs.test.d.ts +1 -0
  930. package/dist/fancy-ui/tabs/Tabs.test.js +392 -0
  931. package/dist/fancy-ui/tabs/TabsContent.svelte +58 -0
  932. package/dist/fancy-ui/tabs/TabsContent.svelte.d.ts +22 -0
  933. package/dist/fancy-ui/tabs/TabsHarness.test.svelte +53 -0
  934. package/dist/fancy-ui/tabs/TabsHarness.test.svelte.d.ts +17 -0
  935. package/dist/fancy-ui/tabs/TabsList.svelte +73 -0
  936. package/dist/fancy-ui/tabs/TabsList.svelte.d.ts +12 -0
  937. package/dist/fancy-ui/tabs/TabsTrigger.svelte +246 -0
  938. package/dist/fancy-ui/tabs/TabsTrigger.svelte.d.ts +16 -0
  939. package/dist/fancy-ui/tabs/index.d.ts +10 -0
  940. package/dist/fancy-ui/tabs/index.js +6 -0
  941. package/dist/fancy-ui/tabs/types.d.ts +66 -0
  942. package/dist/fancy-ui/tabs/types.js +16 -0
  943. package/dist/fancy-ui/terminal-block/README.md +109 -0
  944. package/dist/fancy-ui/terminal-block/TerminalBlock.svelte +263 -0
  945. package/dist/fancy-ui/terminal-block/TerminalBlock.svelte.d.ts +31 -0
  946. package/dist/fancy-ui/terminal-block/TerminalBlock.test.d.ts +1 -0
  947. package/dist/fancy-ui/terminal-block/TerminalBlock.test.js +197 -0
  948. package/dist/fancy-ui/terminal-block/ansi.d.ts +30 -0
  949. package/dist/fancy-ui/terminal-block/ansi.js +163 -0
  950. package/dist/fancy-ui/terminal-block/ansi.test.d.ts +1 -0
  951. package/dist/fancy-ui/terminal-block/ansi.test.js +123 -0
  952. package/dist/fancy-ui/terminal-block/index.d.ts +3 -0
  953. package/dist/fancy-ui/terminal-block/index.js +2 -0
  954. package/dist/fancy-ui/textarea/README.md +134 -0
  955. package/dist/fancy-ui/textarea/Textarea.svelte +225 -0
  956. package/dist/fancy-ui/textarea/Textarea.svelte.d.ts +40 -0
  957. package/dist/fancy-ui/textarea/Textarea.test.d.ts +1 -0
  958. package/dist/fancy-ui/textarea/Textarea.test.js +179 -0
  959. package/dist/fancy-ui/textarea/TextareaFieldHarness.test.svelte +49 -0
  960. package/dist/fancy-ui/textarea/TextareaFieldHarness.test.svelte.d.ts +7 -0
  961. package/dist/fancy-ui/textarea/TextareaHarness.test.svelte +28 -0
  962. package/dist/fancy-ui/textarea/TextareaHarness.test.svelte.d.ts +7 -0
  963. package/dist/fancy-ui/textarea/index.d.ts +3 -0
  964. package/dist/fancy-ui/textarea/index.js +2 -0
  965. package/dist/fancy-ui/thinking-indicator/README.md +64 -0
  966. package/dist/fancy-ui/thinking-indicator/ThinkingIndicator.svelte +189 -0
  967. package/dist/fancy-ui/thinking-indicator/ThinkingIndicator.svelte.d.ts +27 -0
  968. package/dist/fancy-ui/thinking-indicator/ThinkingIndicator.test.d.ts +1 -0
  969. package/dist/fancy-ui/thinking-indicator/ThinkingIndicator.test.js +148 -0
  970. package/dist/fancy-ui/thinking-indicator/index.d.ts +3 -0
  971. package/dist/fancy-ui/thinking-indicator/index.js +2 -0
  972. package/dist/fancy-ui/thread-list/README.md +141 -0
  973. package/dist/fancy-ui/thread-list/ThreadList.svelte +340 -0
  974. package/dist/fancy-ui/thread-list/ThreadList.svelte.d.ts +28 -0
  975. package/dist/fancy-ui/thread-list/ThreadList.test.d.ts +1 -0
  976. package/dist/fancy-ui/thread-list/ThreadList.test.js +267 -0
  977. package/dist/fancy-ui/thread-list/ThreadListHarness.test.svelte +61 -0
  978. package/dist/fancy-ui/thread-list/ThreadListHarness.test.svelte.d.ts +15 -0
  979. package/dist/fancy-ui/thread-list/index.d.ts +3 -0
  980. package/dist/fancy-ui/thread-list/index.js +2 -0
  981. package/dist/fancy-ui/time-picker/README.md +155 -0
  982. package/dist/fancy-ui/time-picker/TimePicker.svelte +297 -0
  983. package/dist/fancy-ui/time-picker/TimePicker.svelte.d.ts +37 -0
  984. package/dist/fancy-ui/time-picker/TimePicker.test.d.ts +1 -0
  985. package/dist/fancy-ui/time-picker/TimePicker.test.js +365 -0
  986. package/dist/fancy-ui/time-picker/TimePickerFieldHarness.test.svelte +35 -0
  987. package/dist/fancy-ui/time-picker/TimePickerFieldHarness.test.svelte.d.ts +11 -0
  988. package/dist/fancy-ui/time-picker/TimePickerHarness.test.svelte +28 -0
  989. package/dist/fancy-ui/time-picker/TimePickerHarness.test.svelte.d.ts +7 -0
  990. package/dist/fancy-ui/time-picker/TimePickerPanel.svelte +109 -0
  991. package/dist/fancy-ui/time-picker/TimePickerPanel.svelte.d.ts +9 -0
  992. package/dist/fancy-ui/time-picker/index.d.ts +3 -0
  993. package/dist/fancy-ui/time-picker/index.js +2 -0
  994. package/dist/fancy-ui/time-picker/time-utils.d.ts +33 -0
  995. package/dist/fancy-ui/time-picker/time-utils.js +96 -0
  996. package/dist/fancy-ui/time-picker/time-utils.test.d.ts +1 -0
  997. package/dist/fancy-ui/time-picker/time-utils.test.js +123 -0
  998. package/dist/fancy-ui/time-picker/types.d.ts +32 -0
  999. package/dist/fancy-ui/time-picker/types.js +1 -0
  1000. package/dist/fancy-ui/toast/README.md +180 -0
  1001. package/dist/fancy-ui/toast/Toast.svelte +203 -0
  1002. package/dist/fancy-ui/toast/Toast.svelte.d.ts +12 -0
  1003. package/dist/fancy-ui/toast/Toast.test.d.ts +1 -0
  1004. package/dist/fancy-ui/toast/Toast.test.js +274 -0
  1005. package/dist/fancy-ui/toast/Toaster.svelte +111 -0
  1006. package/dist/fancy-ui/toast/Toaster.svelte.d.ts +12 -0
  1007. package/dist/fancy-ui/toast/index.d.ts +4 -0
  1008. package/dist/fancy-ui/toast/index.js +4 -0
  1009. package/dist/fancy-ui/toast/store.svelte.d.ts +95 -0
  1010. package/dist/fancy-ui/toast/store.svelte.js +160 -0
  1011. package/dist/fancy-ui/toggle/README.md +89 -0
  1012. package/dist/fancy-ui/toggle/Toggle.svelte +120 -0
  1013. package/dist/fancy-ui/toggle/Toggle.svelte.d.ts +26 -0
  1014. package/dist/fancy-ui/toggle/Toggle.test.d.ts +1 -0
  1015. package/dist/fancy-ui/toggle/Toggle.test.js +97 -0
  1016. package/dist/fancy-ui/toggle/ToggleHarness.test.svelte +30 -0
  1017. package/dist/fancy-ui/toggle/ToggleHarness.test.svelte.d.ts +7 -0
  1018. package/dist/fancy-ui/toggle/index.d.ts +3 -0
  1019. package/dist/fancy-ui/toggle/index.js +2 -0
  1020. package/dist/fancy-ui/toggle-group/README.md +206 -0
  1021. package/dist/fancy-ui/toggle-group/ToggleGroup.svelte +259 -0
  1022. package/dist/fancy-ui/toggle-group/ToggleGroup.svelte.d.ts +29 -0
  1023. package/dist/fancy-ui/toggle-group/ToggleGroup.test.d.ts +1 -0
  1024. package/dist/fancy-ui/toggle-group/ToggleGroup.test.js +382 -0
  1025. package/dist/fancy-ui/toggle-group/ToggleGroupHarness.test.svelte +50 -0
  1026. package/dist/fancy-ui/toggle-group/ToggleGroupHarness.test.svelte.d.ts +18 -0
  1027. package/dist/fancy-ui/toggle-group/ToggleGroupItem.svelte +173 -0
  1028. package/dist/fancy-ui/toggle-group/ToggleGroupItem.svelte.d.ts +18 -0
  1029. package/dist/fancy-ui/toggle-group/index.d.ts +6 -0
  1030. package/dist/fancy-ui/toggle-group/index.js +4 -0
  1031. package/dist/fancy-ui/toggle-group/types.d.ts +50 -0
  1032. package/dist/fancy-ui/toggle-group/types.js +17 -0
  1033. package/dist/fancy-ui/tool-call/README.md +137 -0
  1034. package/dist/fancy-ui/tool-call/ToolCall.svelte +430 -0
  1035. package/dist/fancy-ui/tool-call/ToolCall.svelte.d.ts +30 -0
  1036. package/dist/fancy-ui/tool-call/ToolCall.test.d.ts +1 -0
  1037. package/dist/fancy-ui/tool-call/ToolCall.test.js +241 -0
  1038. package/dist/fancy-ui/tool-call/index.d.ts +3 -0
  1039. package/dist/fancy-ui/tool-call/index.js +2 -0
  1040. package/dist/fancy-ui/tool-timeline/README.md +106 -0
  1041. package/dist/fancy-ui/tool-timeline/ToolTimeline.svelte +263 -0
  1042. package/dist/fancy-ui/tool-timeline/ToolTimeline.svelte.d.ts +24 -0
  1043. package/dist/fancy-ui/tool-timeline/ToolTimeline.test.d.ts +1 -0
  1044. package/dist/fancy-ui/tool-timeline/ToolTimeline.test.js +160 -0
  1045. package/dist/fancy-ui/tool-timeline/index.d.ts +3 -0
  1046. package/dist/fancy-ui/tool-timeline/index.js +2 -0
  1047. package/dist/fancy-ui/tooltip/README.md +133 -0
  1048. package/dist/fancy-ui/tooltip/Tooltip.svelte +307 -0
  1049. package/dist/fancy-ui/tooltip/Tooltip.svelte.d.ts +32 -0
  1050. package/dist/fancy-ui/tooltip/Tooltip.test.d.ts +1 -0
  1051. package/dist/fancy-ui/tooltip/Tooltip.test.js +299 -0
  1052. package/dist/fancy-ui/tooltip/index.d.ts +3 -0
  1053. package/dist/fancy-ui/tooltip/index.js +2 -0
  1054. package/dist/fancy-ui/typing-indicator/README.md +49 -0
  1055. package/dist/fancy-ui/typing-indicator/TypingIndicator.svelte +97 -0
  1056. package/dist/fancy-ui/typing-indicator/TypingIndicator.svelte.d.ts +17 -0
  1057. package/dist/fancy-ui/typing-indicator/TypingIndicator.test.d.ts +1 -0
  1058. package/dist/fancy-ui/typing-indicator/TypingIndicator.test.js +60 -0
  1059. package/dist/fancy-ui/typing-indicator/index.d.ts +3 -0
  1060. package/dist/fancy-ui/typing-indicator/index.js +2 -0
  1061. package/dist/fancy-ui/voice-input/README.md +149 -0
  1062. package/dist/fancy-ui/voice-input/VoiceInput.svelte +407 -0
  1063. package/dist/fancy-ui/voice-input/VoiceInput.svelte.d.ts +43 -0
  1064. package/dist/fancy-ui/voice-input/VoiceInput.test.d.ts +1 -0
  1065. package/dist/fancy-ui/voice-input/VoiceInput.test.js +264 -0
  1066. package/dist/fancy-ui/voice-input/VoiceInputHarness.test.svelte +34 -0
  1067. package/dist/fancy-ui/voice-input/VoiceInputHarness.test.svelte.d.ts +11 -0
  1068. package/dist/fancy-ui/voice-input/index.d.ts +3 -0
  1069. package/dist/fancy-ui/voice-input/index.js +2 -0
  1070. package/dist/fancy-ui/web-search/README.md +105 -0
  1071. package/dist/fancy-ui/web-search/WebSearch.svelte +335 -0
  1072. package/dist/fancy-ui/web-search/WebSearch.svelte.d.ts +28 -0
  1073. package/dist/fancy-ui/web-search/WebSearch.test.d.ts +1 -0
  1074. package/dist/fancy-ui/web-search/WebSearch.test.js +265 -0
  1075. package/dist/fancy-ui/web-search/index.d.ts +3 -0
  1076. package/dist/fancy-ui/web-search/index.js +2 -0
  1077. package/dist/types.d.ts +3 -1
  1078. package/package.json +16 -3
package/README.md CHANGED
@@ -1,3 +1,7 @@
1
+ <p align="center">
2
+ <img src=".github/logo.png" alt="FancyUI" width="88" height="88" />
3
+ </p>
4
+
1
5
  # fancy-ui
2
6
 
3
7
  Beautiful animation and UI components for **Svelte 5**.
@@ -5,7 +9,7 @@ Beautiful animation and UI components for **Svelte 5**.
5
9
  ![Svelte 5](https://img.shields.io/badge/Svelte-5-FF3E00?logo=svelte&logoColor=white)
6
10
  ![Tailwind CSS](https://img.shields.io/badge/Tailwind_CSS-4-06B6D4?logo=tailwindcss&logoColor=white)
7
11
  ![TypeScript](https://img.shields.io/badge/TypeScript-5-3178C6?logo=typescript&logoColor=white)
8
- ![Components](https://img.shields.io/badge/Components-61-8B5CF6)
12
+ ![Components](https://img.shields.io/badge/Components-133-8B5CF6)
9
13
  ![MIT License](https://img.shields.io/badge/License-MIT-green)
10
14
 
11
15
  <p align="center">
@@ -32,107 +36,10 @@ Beautiful animation and UI components for **Svelte 5**.
32
36
  - **Svelte 5 Runes** &mdash; Built with `$state`, `$derived`, `$effect`, and `$props`
33
37
  - **Tailwind CSS 4** &mdash; Utility-first styling with theme tokens
34
38
  - **TypeScript** &mdash; Fully typed props and events
35
- - **61 Components** &mdash; Buttons, text animations, backgrounds, effects, and more
39
+ - **133 Components** &mdash; Core primitives (forms, navigation, overlays) alongside buttons, text animations, backgrounds and effects
36
40
  - **Dark Mode** &mdash; All components support light and dark themes
37
- - **Tested** &mdash; 600+ unit tests with Vitest and Testing Library
38
-
39
- ## Components
40
-
41
- ### Buttons
42
-
43
- | Component | Description | Demo |
44
- | ---------------------- | ---------------------------------------- | -------------------------------------------------------------------------- |
45
- | RainbowButton | Animated rainbow gradient border effect | [Demo](https://fancy-ui.rama.app/docs/components/rainbow-button) |
46
- | RippleButton | Ripple click effect | [Demo](https://fancy-ui.rama.app/docs/components/ripple-button) |
47
- | ShimmerButton | Rotating conic-gradient shimmer border | [Demo](https://fancy-ui.rama.app/docs/components/shimmer-button) |
48
- | GradientButton | Rotating conic-gradient rainbow border | [Demo](https://fancy-ui.rama.app/docs/components/gradient-button) |
49
- | InteractiveHoverButton | Hover effect revealing alternate content | [Demo](https://fancy-ui.rama.app/docs/components/interactive-hover-button) |
50
-
51
- ### Cards
52
-
53
- | Component | Description | Demo |
54
- | ------------------- | ------------------------------------------------------------------- | ----------------------------------------------------------------------- |
55
- | AppleCardCarousel | Horizontal card carousel with spring-animated full-screen expansion | [Demo](https://fancy-ui.rama.app/docs/components/apple-card-carousel) |
56
- | Card3D | 3D tilt card with mouse tracking | [Demo](https://fancy-ui.rama.app/docs/components/card-3d) |
57
- | CardSpotlight | Spotlight effect following mouse | [Demo](https://fancy-ui.rama.app/docs/components/card-spotlight) |
58
- | DirectionAwareHover | Overlay slides in from mouse entry direction | [Demo](https://fancy-ui.rama.app/docs/components/direction-aware-hover) |
59
- | FlipCard | Two-sided card with flip animation | [Demo](https://fancy-ui.rama.app/docs/components/flip-card) |
60
- | GlareCard | Glare reflection effect on hover | [Demo](https://fancy-ui.rama.app/docs/components/glare-card) |
61
- | TextRevealCard | Text reveal on hover | [Demo](https://fancy-ui.rama.app/docs/components/text-reveal-card) |
62
-
63
- ### Text & Typography
64
-
65
- | Component | Description | Demo |
66
- | ------------------ | ------------------------------------------------------------------------------ | ---------------------------------------------------------------------- |
67
- | BlurReveal | Scroll-triggered blur-to-clear reveal | [Demo](https://fancy-ui.rama.app/docs/components/blur-reveal) |
68
- | BoxReveal | Sliding colored box reveal animation | [Demo](https://fancy-ui.rama.app/docs/components/box-reveal) |
69
- | ColourfulText | Per-character color animation | [Demo](https://fancy-ui.rama.app/docs/components/colourful-text) |
70
- | ContainerTextFlip | Text flipping inside a container | [Demo](https://fancy-ui.rama.app/docs/components/container-text-flip) |
71
- | DisplacementText | 3D text with WebGL displacement that follows the cursor using Three.js shaders | [Demo](https://fancy-ui.rama.app/docs/components/displacement-text) |
72
- | EditorialEngine | Live magazine layout with multi-column text flowing around draggable orbs | [Demo](https://fancy-ui.rama.app/docs/components/editorial-engine) |
73
- | FlipWords | Cycling word animation with per-letter effects | [Demo](https://fancy-ui.rama.app/docs/components/flip-words) |
74
- | HyperText | Character scramble on hover | [Demo](https://fancy-ui.rama.app/docs/components/hyper-text) |
75
- | LetterPullup | Staggered letter pull-up animation | [Demo](https://fancy-ui.rama.app/docs/components/letter-pullup) |
76
- | LineReveal | Staggered line-by-line text reveal | [Demo](https://fancy-ui.rama.app/docs/components/line-reveal) |
77
- | LineShadowText | Text with animated line shadow | [Demo](https://fancy-ui.rama.app/docs/components/line-shadow-text) |
78
- | LiquidText | Big text that liquefies along the cursor's path via a WebGL fluid solver | [Demo](https://fancy-ui.rama.app/docs/components/liquid-text) |
79
- | NumberTicker | Animated number counter with easing | [Demo](https://fancy-ui.rama.app/docs/components/number-ticker) |
80
- | SparklesText | Animated SVG sparkle stars overlay | [Demo](https://fancy-ui.rama.app/docs/components/sparkles-text) |
81
- | TerminalText | Terminal-style text streamer with blinking cursor and glitch effect | [Demo](https://fancy-ui.rama.app/docs/components/terminal-text) |
82
- | TextGenerateEffect | Word-by-word text generation effect | [Demo](https://fancy-ui.rama.app/docs/components/text-generate-effect) |
83
-
84
- ### Backgrounds
85
-
86
- | Component | Description | Demo |
87
- | ---------------------- | --------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
88
- | FallingStarsBg | Canvas 3D starfield with motion trails | [Demo](https://fancy-ui.rama.app/docs/components/bg-falling-stars) |
89
- | FlickeringGrid | Canvas grid with flickering opacity | [Demo](https://fancy-ui.rama.app/docs/components/flickering-grid) |
90
- | InteractiveGridPattern | SVG grid with hover highlights | [Demo](https://fancy-ui.rama.app/docs/components/interactive-grid-pattern) |
91
- | MatrixRain | Canvas-based falling glyph rain with configurable color, speed, and density | [Demo](https://fancy-ui.rama.app/docs/components/matrix-rain) |
92
- | StarsBackground | Starfield with parallax mouse tracking | [Demo](https://fancy-ui.rama.app/docs/components/bg-stars) |
93
-
94
- ### Effects & Animations
95
-
96
- | Component | Description | Demo |
97
- | ---------------- | -------------------------------------------------------------- | -------------------------------------------------------------------- |
98
- | AnimatedBeam | SVG beams connecting elements | [Demo](https://fancy-ui.rama.app/docs/components/animated-beam) |
99
- | BorderBeam | Beam effect traveling around borders | [Demo](https://fancy-ui.rama.app/docs/components/border-beam) |
100
- | Confetti | Configurable confetti burst | [Demo](https://fancy-ui.rama.app/docs/components/confetti) |
101
- | FluidCursor | WebGL fluid simulation following cursor | [Demo](https://fancy-ui.rama.app/docs/components/fluid-cursor) |
102
- | FrostedGlass | Frosted glass surface with organic turbulence-noise refraction | [Demo](https://fancy-ui.rama.app/docs/components/frosted-glass) |
103
- | GlowBorder | Animated glowing border with gradients | [Demo](https://fancy-ui.rama.app/docs/components/glow-border) |
104
- | GlowingEffect | Glowing highlight on hover | [Demo](https://fancy-ui.rama.app/docs/components/glowing-effect) |
105
- | ImageTrailCursor | Cursor-following image trail (8 variants) | [Demo](https://fancy-ui.rama.app/docs/components/image-trail-cursor) |
106
- | LiquidGlass | Liquid glass morphism effect | [Demo](https://fancy-ui.rama.app/docs/components/liquid-glass) |
107
- | Meteors | Animated meteor shower effect | [Demo](https://fancy-ui.rama.app/docs/components/meteors) |
108
- | NeonBorder | Dual-color neon glow border | [Demo](https://fancy-ui.rama.app/docs/components/neon-border) |
109
- | Ripple | Expanding ripple rings | [Demo](https://fancy-ui.rama.app/docs/components/ripple) |
110
- | SmoothCursor | Smooth lagging cursor follower | [Demo](https://fancy-ui.rama.app/docs/components/smooth-cursor) |
111
- | Sparkles | Particle sparkle canvas | [Demo](https://fancy-ui.rama.app/docs/components/sparkles) |
112
- | TracingBeam | Scroll-driven tracing beam | [Demo](https://fancy-ui.rama.app/docs/components/tracing-beam) |
113
-
114
- ### Layout
115
-
116
- | Component | Description | Demo |
117
- | --------------- | --------------------------------------------- | ------------------------------------------------------------------ |
118
- | BentoGrid | Bento-style responsive grid layout | [Demo](https://fancy-ui.rama.app/docs/components/bento-grid) |
119
- | Book | 3D book flip animation | [Demo](https://fancy-ui.rama.app/docs/components/book) |
120
- | ContainerScroll | 3D scroll perspective container | [Demo](https://fancy-ui.rama.app/docs/components/container-scroll) |
121
- | Focus | Focus-expand card layout | [Demo](https://fancy-ui.rama.app/docs/components/focus) |
122
- | Marquee | Infinite scrolling for text, images, or cards | [Demo](https://fancy-ui.rama.app/docs/components/marquee) |
123
-
124
- ### Navigation & Display
125
-
126
- | Component | Description | Demo |
127
- | -------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- |
128
- | AnimatedTestimonials | Testimonial carousel with smooth slide animations and optional autoplay | [Demo](https://fancy-ui.rama.app/docs/components/animated-testimonials) |
129
- | AnimatedTooltip | Avatar row with mouse-following tooltips | [Demo](https://fancy-ui.rama.app/docs/components/animated-tooltip) |
130
- | Compare | Before/after image comparison slider | [Demo](https://fancy-ui.rama.app/docs/components/compare) |
131
- | Dock | Icon dock where items magnify as the cursor approaches | [Demo](https://fancy-ui.rama.app/docs/components/dock) |
132
- | LineHoverLink | Link with 11 animated underline hover effects, pure CSS | [Demo](https://fancy-ui.rama.app/docs/components/line-hover-link) |
133
- | LogoCloud | Marquee, grid, and icon logo layouts | [Demo](https://fancy-ui.rama.app/docs/components/logo-cloud) |
134
- | NoiseReveal | WebGL image reveal with a Perlin-noise dissolve mask | [Demo](https://fancy-ui.rama.app/docs/components/noise-reveal) |
135
- | Timeline | Vertical timeline with scroll-driven progress | [Demo](https://fancy-ui.rama.app/docs/components/timeline) |
41
+ - **Opt-in Sound** &mdash; Eleven synthesised interface cues, a `SoundToggle` switch and a `soundFeedback` action; silent until the user turns it on
42
+ - **Tested** &mdash; 2,900+ unit tests with Vitest and Testing Library
136
43
 
137
44
  ## Quick Start
138
45
 
@@ -245,7 +152,7 @@ Component tests are colocated with their component (see `RainbowButton.test.ts`
245
152
 
246
153
  ## Contributing
247
154
 
248
- Contributions are welcome! 61 components and counting — PRs for new components, bug fixes, and improvements are appreciated.
155
+ Contributions are welcome! 133 components and counting — PRs for new components, bug fixes, and improvements are appreciated.
249
156
 
250
157
  ### Adding a new component
251
158
 
@@ -0,0 +1,63 @@
1
+ <script lang="ts" module>
2
+ export interface FancyProviderProps {
3
+ /** The active skin. Changing it re-flows the whole subtree live. */
4
+ skin: Skin;
5
+ /** Scope `.dark` to this subtree for skins whose colorScheme is "dark". */
6
+ manageColorScheme?: boolean;
7
+ class?: string;
8
+ children?: Snippet;
9
+ }
10
+ </script>
11
+
12
+ <script lang="ts">
13
+ import type { Snippet } from "svelte";
14
+ import { browser } from "$app/environment";
15
+ import { cn } from "../utils.js";
16
+ import type { Skin } from "./types.js";
17
+ import { setSkinContext } from "./context.js";
18
+ import "./cameleon.css";
19
+
20
+ let {
21
+ skin,
22
+ manageColorScheme = false,
23
+ class: className = "",
24
+ children,
25
+ }: FancyProviderProps = $props();
26
+
27
+ // Getter, not a plain value — this is what makes a live skin switch reactive.
28
+ setSkinContext({
29
+ get skin() {
30
+ return skin;
31
+ },
32
+ });
33
+
34
+ // Skin tokens as scoped inline CSS variables. Overriding these var names on
35
+ // this element re-flows every utility that reads them, for THIS subtree only.
36
+ // The provider never touches <html>, so it can't fight the global theme store.
37
+ const styleVars = $derived(
38
+ Object.entries(skin.tokens)
39
+ .map(([k, v]) => `${k}:${v}`)
40
+ .join(";")
41
+ );
42
+
43
+ // Inject skin webfonts once (deduped by id), client-only so SSR stays clean.
44
+ $effect(() => {
45
+ if (!browser || !skin.fonts) return;
46
+ for (const font of skin.fonts) {
47
+ if (document.getElementById(font.id)) continue;
48
+ const link = document.createElement("link");
49
+ link.id = font.id;
50
+ link.rel = "stylesheet";
51
+ link.href = font.href;
52
+ document.head.appendChild(link);
53
+ }
54
+ });
55
+ </script>
56
+
57
+ <div
58
+ data-skin={skin.name}
59
+ class={cn("cameleon-root", manageColorScheme && skin.colorScheme === "dark" && "dark", className)}
60
+ style={styleVars}
61
+ >
62
+ {@render children?.()}
63
+ </div>
@@ -0,0 +1,14 @@
1
+ export interface FancyProviderProps {
2
+ /** The active skin. Changing it re-flows the whole subtree live. */
3
+ skin: Skin;
4
+ /** Scope `.dark` to this subtree for skins whose colorScheme is "dark". */
5
+ manageColorScheme?: boolean;
6
+ class?: string;
7
+ children?: Snippet;
8
+ }
9
+ import type { Snippet } from "svelte";
10
+ import type { Skin } from "./types.js";
11
+ import "./cameleon.css";
12
+ declare const FancyProvider: import("svelte").Component<FancyProviderProps, {}, "">;
13
+ type FancyProvider = ReturnType<typeof FancyProvider>;
14
+ export default FancyProvider;
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Base styles for the Cameleon provider root. The skin's tokens are set as
3
+ * inline CSS variables on the same element; these rules consume them so the
4
+ * whole "world" (page background, text color, base font) changes per skin.
5
+ */
6
+ .cameleon-root {
7
+ background: var(--skin-page-bg, transparent);
8
+ color: var(--skin-page-fg, inherit);
9
+ font-family: var(--skin-font-sans, inherit);
10
+ -webkit-font-smoothing: antialiased;
11
+ }
12
+
13
+ @media (prefers-reduced-motion: reduce) {
14
+ .cameleon-root * {
15
+ transition-duration: 0.01ms !important;
16
+ animation-duration: 0.01ms !important;
17
+ }
18
+ }
19
+
20
+ /* Skin-agnostic error affordance for the native range slider: the per-skin
21
+ .cam-range CSS styles the track/thumb but not the invalid state, so give
22
+ <Slider error> a consistent red outline driven by the skin's red token. */
23
+ .cam-range[aria-invalid="true"] {
24
+ outline: 2px solid var(--skin-red, #e5372b);
25
+ outline-offset: 3px;
26
+ border-radius: 2px;
27
+ }
@@ -0,0 +1,14 @@
1
+ import type { Skin } from "./types.js";
2
+ /**
3
+ * The context value is a GETTER object, not the skin itself. This is what makes
4
+ * a live skin switch reactive: consumers read `ctx.skin` inside a `$derived`, so
5
+ * changing the provider's `skin` prop re-runs their recipe resolution. (Same
6
+ * pattern as src/lib/fancy-ui/dock/Dock.svelte and card-3d — a plain value would
7
+ * be captured once and never update.)
8
+ */
9
+ export interface SkinContext {
10
+ readonly skin: Skin;
11
+ }
12
+ export declare function setSkinContext(ctx: SkinContext): void;
13
+ /** Read the active skin. Falls back to the default skin with no provider. */
14
+ export declare function useSkin(): SkinContext;
@@ -0,0 +1,15 @@
1
+ import { getContext, setContext } from "svelte";
2
+ import { defaultSkin } from "./skins/default.js";
3
+ const SKIN_KEY = Symbol("cameleon-skin");
4
+ export function setSkinContext(ctx) {
5
+ setContext(SKIN_KEY, ctx);
6
+ }
7
+ const FALLBACK = {
8
+ get skin() {
9
+ return defaultSkin;
10
+ },
11
+ };
12
+ /** Read the active skin. Falls back to the default skin with no provider. */
13
+ export function useSkin() {
14
+ return getContext(SKIN_KEY) ?? FALLBACK;
15
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Cameleon Engine — multi-skin UI primitives for fancy-ui.
3
+ *
4
+ * Same component API, radically different art directions ("skins"): each skin
5
+ * carries tokens (CSS custom properties), recipes (pure functions returning
6
+ * class strings per primitive), optional ornaments and per-skin CSS.
7
+ *
8
+ * Published as `fancy-ui-svelte/cameleon` (with the retro-os component kit at
9
+ * `fancy-ui-svelte/cameleon/retro-kit`). Consumers wrap a subtree:
10
+ *
11
+ * import { FancyProvider, Button, brutalSkin } from "fancy-ui-svelte/cameleon";
12
+ * <FancyProvider skin={brutalSkin}> ... </FancyProvider>
13
+ */
14
+ export { default as FancyProvider, type FancyProviderProps } from "./FancyProvider.svelte";
15
+ export { useSkin, setSkinContext, type SkinContext } from "./context.js";
16
+ export type { Skin, SkinRecipes, SkinOrnaments, SkinFont, SkinMeta, RecipeFn, RecipeArgs, RecipeResult, PartState, } from "./types.js";
17
+ export * from "./primitives/index.js";
18
+ export { defaultSkin } from "./skins/default.js";
19
+ export { auroraSkin } from "./skins/aurora/index.js";
20
+ export { brutalSkin } from "./skins/brutal/index.js";
21
+ export { glassSkin } from "./skins/glass/index.js";
22
+ export { terminalSkin } from "./skins/terminal/index.js";
23
+ export { retroOsSkin } from "./skins/retro-os/index.js";
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Cameleon Engine — multi-skin UI primitives for fancy-ui.
3
+ *
4
+ * Same component API, radically different art directions ("skins"): each skin
5
+ * carries tokens (CSS custom properties), recipes (pure functions returning
6
+ * class strings per primitive), optional ornaments and per-skin CSS.
7
+ *
8
+ * Published as `fancy-ui-svelte/cameleon` (with the retro-os component kit at
9
+ * `fancy-ui-svelte/cameleon/retro-kit`). Consumers wrap a subtree:
10
+ *
11
+ * import { FancyProvider, Button, brutalSkin } from "fancy-ui-svelte/cameleon";
12
+ * <FancyProvider skin={brutalSkin}> ... </FancyProvider>
13
+ */
14
+ export { default as FancyProvider } from "./FancyProvider.svelte";
15
+ export { useSkin, setSkinContext } from "./context.js";
16
+ export * from "./primitives/index.js";
17
+ export { defaultSkin } from "./skins/default.js";
18
+ export { auroraSkin } from "./skins/aurora/index.js";
19
+ export { brutalSkin } from "./skins/brutal/index.js";
20
+ export { glassSkin } from "./skins/glass/index.js";
21
+ export { terminalSkin } from "./skins/terminal/index.js";
22
+ export { retroOsSkin } from "./skins/retro-os/index.js";
@@ -0,0 +1,23 @@
1
+ <script lang="ts" module>
2
+ import type { Snippet } from "svelte";
3
+ import type { PartState } from "../types.js";
4
+ export interface BadgeProps {
5
+ variant?: "default" | "solid" | "blue" | "red" | "yellow" | "green" | "purple";
6
+ /** Force a visual state for the /skins state matrix. */
7
+ demoState?: PartState;
8
+ class?: string;
9
+ children?: Snippet;
10
+ }
11
+ </script>
12
+
13
+ <script lang="ts">
14
+ import { cn } from "../../utils.js";
15
+ import { useSkin } from "../context.js";
16
+
17
+ let { variant = "default", demoState, class: className, children }: BadgeProps = $props();
18
+
19
+ const ctx = useSkin();
20
+ const parts = $derived(ctx.skin.recipes.badge({ variant, state: demoState }));
21
+ </script>
22
+
23
+ <span class={cn(parts.root, className)}>{@render children?.()}</span>
@@ -0,0 +1,12 @@
1
+ import type { Snippet } from "svelte";
2
+ import type { PartState } from "../types.js";
3
+ export interface BadgeProps {
4
+ variant?: "default" | "solid" | "blue" | "red" | "yellow" | "green" | "purple";
5
+ /** Force a visual state for the /skins state matrix. */
6
+ demoState?: PartState;
7
+ class?: string;
8
+ children?: Snippet;
9
+ }
10
+ declare const Badge: import("svelte").Component<BadgeProps, {}, "">;
11
+ type Badge = ReturnType<typeof Badge>;
12
+ export default Badge;
@@ -0,0 +1,60 @@
1
+ <script lang="ts" module>
2
+ import type { Snippet } from "svelte";
3
+ import type { HTMLButtonAttributes } from "svelte/elements";
4
+
5
+ export interface ButtonProps extends Omit<HTMLButtonAttributes, "class"> {
6
+ variant?: "primary" | "secondary" | "destructive";
7
+ size?: "sm" | "md" | "lg";
8
+ loading?: boolean;
9
+ /** Force a visual state for the /skins state matrix (non-interactive). */
10
+ demoState?: "hover" | "active" | "focus";
11
+ class?: string;
12
+ children?: Snippet;
13
+ ref?: HTMLButtonElement | null;
14
+ }
15
+ </script>
16
+
17
+ <script lang="ts">
18
+ import { cn } from "../../utils.js";
19
+ import { useSkin } from "../context.js";
20
+ import type { RecipeArgs } from "../types.js";
21
+
22
+ let {
23
+ variant = "primary",
24
+ size = "md",
25
+ loading = false,
26
+ disabled = false,
27
+ type = "button",
28
+ demoState,
29
+ class: className,
30
+ children,
31
+ ref = $bindable(null),
32
+ ...rest
33
+ }: ButtonProps = $props();
34
+
35
+ const ctx = useSkin();
36
+ const args = $derived<RecipeArgs>({
37
+ variant,
38
+ size,
39
+ state: demoState ?? (loading ? "loading" : disabled ? "disabled" : "default"),
40
+ });
41
+ // Re-runs whenever the active skin changes → live art-direction swap.
42
+ const parts = $derived(ctx.skin.recipes.button(args));
43
+ const trailing = $derived(ctx.skin.ornaments?.buttonTrailing);
44
+ </script>
45
+
46
+ <button
47
+ bind:this={ref}
48
+ {type}
49
+ class={cn("cam-btn", parts.root, className)}
50
+ disabled={disabled || loading}
51
+ data-variant={variant}
52
+ {...rest}
53
+ >
54
+ {#if parts.label !== undefined}
55
+ <span class={parts.label}>{@render children?.()}</span>
56
+ {:else}
57
+ {@render children?.()}
58
+ {/if}
59
+ {#if trailing}{@render trailing(args)}{/if}
60
+ </button>
@@ -0,0 +1,15 @@
1
+ import type { Snippet } from "svelte";
2
+ import type { HTMLButtonAttributes } from "svelte/elements";
3
+ export interface ButtonProps extends Omit<HTMLButtonAttributes, "class"> {
4
+ variant?: "primary" | "secondary" | "destructive";
5
+ size?: "sm" | "md" | "lg";
6
+ loading?: boolean;
7
+ /** Force a visual state for the /skins state matrix (non-interactive). */
8
+ demoState?: "hover" | "active" | "focus";
9
+ class?: string;
10
+ children?: Snippet;
11
+ ref?: HTMLButtonElement | null;
12
+ }
13
+ declare const Button: import("svelte").Component<ButtonProps, {}, "ref">;
14
+ type Button = ReturnType<typeof Button>;
15
+ export default Button;
@@ -0,0 +1,56 @@
1
+ <script lang="ts" module>
2
+ import type { Snippet } from "svelte";
3
+ import type { HTMLInputAttributes } from "svelte/elements";
4
+ import type { PartState } from "../types.js";
5
+ export interface CheckboxProps extends Omit<HTMLInputAttributes, "class" | "type"> {
6
+ checked?: boolean;
7
+ error?: boolean;
8
+ demoState?: PartState;
9
+ class?: string;
10
+ children?: Snippet;
11
+ ref?: HTMLInputElement | null;
12
+ }
13
+ </script>
14
+
15
+ <script lang="ts">
16
+ import { cn } from "../../utils.js";
17
+ import { useSkin } from "../context.js";
18
+
19
+ let {
20
+ checked = $bindable(false),
21
+ error = false,
22
+ demoState,
23
+ class: className,
24
+ children,
25
+ ref = $bindable(null),
26
+ ...rest
27
+ }: CheckboxProps = $props();
28
+
29
+ const ctx = useSkin();
30
+ const parts = $derived(ctx.skin.recipes.checkbox({ state: demoState }));
31
+ </script>
32
+
33
+ <label class={cn(parts.root, className)}>
34
+ <input
35
+ type="checkbox"
36
+ class="peer sr-only"
37
+ bind:this={ref}
38
+ bind:checked
39
+ aria-invalid={error}
40
+ {...rest}
41
+ />
42
+ <span class={parts.box}>
43
+ <svg
44
+ width="12"
45
+ height="12"
46
+ viewBox="0 0 24 24"
47
+ fill="none"
48
+ stroke="currentColor"
49
+ stroke-width="3.5"
50
+ aria-hidden="true"
51
+ >
52
+ <path d="M5 13l4 4L19 7" stroke-linecap="round" stroke-linejoin="round" />
53
+ </svg>
54
+ </span>
55
+ {#if children}{@render children()}{/if}
56
+ </label>
@@ -0,0 +1,14 @@
1
+ import type { Snippet } from "svelte";
2
+ import type { HTMLInputAttributes } from "svelte/elements";
3
+ import type { PartState } from "../types.js";
4
+ export interface CheckboxProps extends Omit<HTMLInputAttributes, "class" | "type"> {
5
+ checked?: boolean;
6
+ error?: boolean;
7
+ demoState?: PartState;
8
+ class?: string;
9
+ children?: Snippet;
10
+ ref?: HTMLInputElement | null;
11
+ }
12
+ declare const Checkbox: import("svelte").Component<CheckboxProps, {}, "ref" | "checked">;
13
+ type Checkbox = ReturnType<typeof Checkbox>;
14
+ export default Checkbox;
@@ -0,0 +1,37 @@
1
+ <script lang="ts" module>
2
+ import type { HTMLInputAttributes } from "svelte/elements";
3
+ import type { PartState } from "../types.js";
4
+ export interface InputProps extends Omit<HTMLInputAttributes, "class"> {
5
+ error?: boolean;
6
+ /** Force a visual state for the /skins state matrix. */
7
+ demoState?: PartState;
8
+ class?: string;
9
+ value?: string;
10
+ ref?: HTMLInputElement | null;
11
+ }
12
+ </script>
13
+
14
+ <script lang="ts">
15
+ import { cn } from "../../utils.js";
16
+ import { useSkin } from "../context.js";
17
+
18
+ let {
19
+ error = false,
20
+ demoState,
21
+ class: className,
22
+ value = $bindable(""),
23
+ ref = $bindable(null),
24
+ ...rest
25
+ }: InputProps = $props();
26
+
27
+ const ctx = useSkin();
28
+ const parts = $derived(ctx.skin.recipes.input({ state: demoState }));
29
+ </script>
30
+
31
+ <input
32
+ bind:this={ref}
33
+ bind:value
34
+ class={cn(parts.root, className)}
35
+ aria-invalid={error}
36
+ {...rest}
37
+ />
@@ -0,0 +1,13 @@
1
+ import type { HTMLInputAttributes } from "svelte/elements";
2
+ import type { PartState } from "../types.js";
3
+ export interface InputProps extends Omit<HTMLInputAttributes, "class"> {
4
+ error?: boolean;
5
+ /** Force a visual state for the /skins state matrix. */
6
+ demoState?: PartState;
7
+ class?: string;
8
+ value?: string;
9
+ ref?: HTMLInputElement | null;
10
+ }
11
+ declare const Input: import("svelte").Component<InputProps, {}, "ref" | "value">;
12
+ type Input = ReturnType<typeof Input>;
13
+ export default Input;
@@ -0,0 +1,53 @@
1
+ <script lang="ts" module>
2
+ import type { Snippet } from "svelte";
3
+ import type { HTMLInputAttributes } from "svelte/elements";
4
+ import type { PartState } from "../types.js";
5
+ export interface RadioProps extends Omit<HTMLInputAttributes, "class" | "type"> {
6
+ group?: string;
7
+ value?: string;
8
+ error?: boolean;
9
+ demoState?: PartState;
10
+ class?: string;
11
+ children?: Snippet;
12
+ ref?: HTMLInputElement | null;
13
+ }
14
+ </script>
15
+
16
+ <script lang="ts">
17
+ import { cn } from "../../utils.js";
18
+ import { useSkin } from "../context.js";
19
+
20
+ let {
21
+ group = $bindable(),
22
+ value,
23
+ name,
24
+ error = false,
25
+ demoState,
26
+ class: className,
27
+ children,
28
+ ref = $bindable(null),
29
+ ...rest
30
+ }: RadioProps = $props();
31
+
32
+ const ctx = useSkin();
33
+ const parts = $derived(ctx.skin.recipes.radio({ state: demoState }));
34
+ </script>
35
+
36
+ <label class={cn(parts.root, className)}>
37
+ <!-- radio invalidity belongs on the group, not the input; drive the demo
38
+ error visual off a data-attribute so we don't misuse aria-invalid.
39
+ name defaults to the group so same-group radios stay mutually exclusive
40
+ natively even when the parent doesn't share a bound group variable. -->
41
+ <input
42
+ type="radio"
43
+ class="peer sr-only"
44
+ bind:this={ref}
45
+ bind:group
46
+ name={name ?? group}
47
+ {value}
48
+ data-invalid={error ? "true" : undefined}
49
+ {...rest}
50
+ />
51
+ <span class={parts.box}></span>
52
+ {#if children}{@render children()}{/if}
53
+ </label>
@@ -0,0 +1,15 @@
1
+ import type { Snippet } from "svelte";
2
+ import type { HTMLInputAttributes } from "svelte/elements";
3
+ import type { PartState } from "../types.js";
4
+ export interface RadioProps extends Omit<HTMLInputAttributes, "class" | "type"> {
5
+ group?: string;
6
+ value?: string;
7
+ error?: boolean;
8
+ demoState?: PartState;
9
+ class?: string;
10
+ children?: Snippet;
11
+ ref?: HTMLInputElement | null;
12
+ }
13
+ declare const Radio: import("svelte").Component<RadioProps, {}, "ref" | "group">;
14
+ type Radio = ReturnType<typeof Radio>;
15
+ export default Radio;