@bysages/svelte 0.2.2 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (477) hide show
  1. package/README.md +16 -2
  2. package/dist/AiLoader-0jlig3fe.mjs +108 -0
  3. package/dist/AngleSliderRoot-CUe5sgWU.mjs +37 -0
  4. package/dist/CheckboxRoot-BP4ynFLq.mjs +37 -0
  5. package/dist/ChevronIcon-CVJJYda-.mjs +11 -0
  6. package/dist/ClipboardRoot-UmyQFn27.mjs +37 -0
  7. package/dist/ColorPickerRoot-DLgI9s3u.mjs +37 -0
  8. package/dist/ComboboxRoot-BsVcmUOj.mjs +37 -0
  9. package/dist/DateInputRoot-nROaFmB7.mjs +37 -0
  10. package/dist/DatePickerRoot-CkeHEAcG.mjs +37 -0
  11. package/dist/EditableRoot-CLmP5sIH.mjs +37 -0
  12. package/dist/FileUploadRoot-IVcTAZp-.mjs +37 -0
  13. package/dist/Input-CZhcEeFU.mjs +75 -0
  14. package/dist/ListboxRoot-DhFAnZ_c.mjs +37 -0
  15. package/dist/MenuRoot-C4zG0iw2.mjs +80 -0
  16. package/dist/NumberInputRoot-BQz2HHGb.mjs +37 -0
  17. package/dist/PaginationRoot-DnXcEZCa.mjs +37 -0
  18. package/dist/PasswordInputRoot-4yR0Aig4.mjs +37 -0
  19. package/dist/PinInputRoot-B8fTxTlv.mjs +37 -0
  20. package/dist/ProgressRoot-DwhwW31T.mjs +37 -0
  21. package/dist/RadioGroupRoot-BD_mxWjX.mjs +37 -0
  22. package/dist/RatingGroupRoot-iUWUAKtV.mjs +37 -0
  23. package/dist/SegmentGroupRoot-798Amg4S.mjs +37 -0
  24. package/dist/SelectRoot-l-rb18FH.mjs +37 -0
  25. package/dist/SliderRoot-BBIlf6Uw.mjs +37 -0
  26. package/dist/Spinner-sd__23WT.mjs +33 -0
  27. package/dist/StepsRoot-Dg_3-lRb.mjs +37 -0
  28. package/dist/SwitchRoot-C7rPmjEA.mjs +37 -0
  29. package/dist/TabsRoot-DXd41HqW.mjs +41 -0
  30. package/dist/TagsInputRoot-COSQdHRz.mjs +37 -0
  31. package/dist/ToggleGroupRoot-D0ob9z4u.mjs +37 -0
  32. package/dist/TreeViewRoot-ConQj9TX.mjs +37 -0
  33. package/dist/affix-BtL4lBPi.mjs +45 -0
  34. package/dist/ai-action-DKsvxilp.mjs +44 -0
  35. package/dist/ai-attachments-Y0Tf6UFL.mjs +123 -0
  36. package/dist/ai-message-DBs1fdFm.mjs +36 -0
  37. package/dist/ai-prompt-input-BmyKyadu.mjs +271 -0
  38. package/dist/ai-reasoning-C4YsB2hQ.mjs +77 -0
  39. package/dist/ai-response-D5IkRFMN.mjs +146 -0
  40. package/dist/ai-source-CvglcFw1.mjs +78 -0
  41. package/dist/ai-suggestion-zGAQ1kkf.mjs +38 -0
  42. package/dist/ai-tool-DY_iNbMk.mjs +117 -0
  43. package/dist/alert-Xp8I8IY9.mjs +156 -0
  44. package/dist/aspect-ratio-COOgu44A.mjs +36 -0
  45. package/dist/autocomplete-D7ZZ7Xpb.mjs +153 -0
  46. package/dist/avatar-LR0CZ1Iz.mjs +49 -0
  47. package/dist/avatar-group-BgIxNuVj.mjs +36 -0
  48. package/dist/back-top-rbP0aP47.mjs +109 -0
  49. package/dist/badge-DKa-8Pv0.mjs +38 -0
  50. package/dist/banner-LEPWtGlY.mjs +196 -0
  51. package/dist/bento-BTvt7gsB.mjs +73 -0
  52. package/dist/block-ui-CpiV9qza.mjs +50 -0
  53. package/dist/breadcrumb-C01pAq93.mjs +183 -0
  54. package/dist/browser-gmPTH6mJ.mjs +146 -0
  55. package/dist/button-BCcX7lHq.mjs +52 -0
  56. package/dist/button-group-CVLqPMlR.mjs +41 -0
  57. package/dist/calendar-0tSnHuLj.mjs +471 -0
  58. package/dist/card-Bc3B7MYz.mjs +167 -0
  59. package/dist/cascade-select-B-4Z6oWe.mjs +287 -0
  60. package/dist/checkbox-group-ARW_z7gp.mjs +130 -0
  61. package/dist/chip-mjLlbQ2t.mjs +38 -0
  62. package/dist/command-fZuTfbz4.mjs +343 -0
  63. package/dist/comment-C91xgrtK.mjs +102 -0
  64. package/dist/components/accordion/index.d.mts +7 -0
  65. package/dist/components/accordion/index.mjs +10 -0
  66. package/dist/components/affix/index.d.mts +2 -0
  67. package/dist/components/affix/index.mjs +2 -0
  68. package/dist/components/ai/index.d.mts +11 -0
  69. package/dist/components/ai/index.mjs +27 -0
  70. package/dist/components/ai-action/index.d.mts +7 -0
  71. package/dist/components/ai-action/index.mjs +2 -0
  72. package/dist/components/ai-attachments/index.d.mts +2 -0
  73. package/dist/components/ai-attachments/index.mjs +2 -0
  74. package/dist/components/ai-message/index.d.mts +7 -0
  75. package/dist/components/ai-message/index.mjs +2 -0
  76. package/dist/components/ai-prompt-input/index.d.mts +7 -0
  77. package/dist/components/ai-prompt-input/index.mjs +2 -0
  78. package/dist/components/ai-reasoning/index.d.mts +7 -0
  79. package/dist/components/ai-reasoning/index.mjs +2 -0
  80. package/dist/components/ai-response/index.d.mts +6 -0
  81. package/dist/components/ai-response/index.mjs +2 -0
  82. package/dist/components/ai-source/index.d.mts +8 -0
  83. package/dist/components/ai-source/index.mjs +2 -0
  84. package/dist/components/ai-suggestion/index.d.mts +7 -0
  85. package/dist/components/ai-suggestion/index.mjs +2 -0
  86. package/dist/components/ai-tool/index.d.mts +8 -0
  87. package/dist/components/ai-tool/index.mjs +2 -0
  88. package/dist/components/alert/index.d.mts +2 -0
  89. package/dist/components/alert/index.mjs +2 -0
  90. package/dist/components/angle-slider/index.d.mts +7 -0
  91. package/dist/components/angle-slider/index.mjs +13 -0
  92. package/dist/components/aspect-ratio/index.d.mts +2 -0
  93. package/dist/components/aspect-ratio/index.mjs +2 -0
  94. package/dist/components/autocomplete/index.d.mts +2 -0
  95. package/dist/components/autocomplete/index.mjs +2 -0
  96. package/dist/components/avatar/index.d.mts +2 -0
  97. package/dist/components/avatar/index.mjs +2 -0
  98. package/dist/components/avatar-group/index.d.mts +2 -0
  99. package/dist/components/avatar-group/index.mjs +2 -0
  100. package/dist/components/back-top/index.d.mts +2 -0
  101. package/dist/components/back-top/index.mjs +2 -0
  102. package/dist/components/badge/index.d.mts +2 -0
  103. package/dist/components/badge/index.mjs +2 -0
  104. package/dist/components/banner/index.d.mts +2 -0
  105. package/dist/components/banner/index.mjs +2 -0
  106. package/dist/components/bento/index.d.mts +2 -0
  107. package/dist/components/bento/index.mjs +2 -0
  108. package/dist/components/block-ui/index.d.mts +2 -0
  109. package/dist/components/block-ui/index.mjs +2 -0
  110. package/dist/components/breadcrumb/index.d.mts +2 -0
  111. package/dist/components/breadcrumb/index.mjs +2 -0
  112. package/dist/components/browser/index.d.mts +9 -0
  113. package/dist/components/browser/index.mjs +2 -0
  114. package/dist/components/button/index.d.mts +2 -0
  115. package/dist/components/button/index.mjs +2 -0
  116. package/dist/components/button-group/index.d.mts +2 -0
  117. package/dist/components/button-group/index.mjs +2 -0
  118. package/dist/components/calendar/index.d.mts +2 -0
  119. package/dist/components/calendar/index.mjs +2 -0
  120. package/dist/components/card/index.d.mts +2 -0
  121. package/dist/components/card/index.mjs +2 -0
  122. package/dist/components/carousel/index.d.mts +9 -0
  123. package/dist/components/carousel/index.mjs +12 -0
  124. package/dist/components/cascade-select/index.d.mts +2 -0
  125. package/dist/components/cascade-select/index.mjs +2 -0
  126. package/dist/components/checkbox/index.d.mts +7 -0
  127. package/dist/components/checkbox/index.mjs +13 -0
  128. package/dist/components/checkbox-group/index.d.mts +2 -0
  129. package/dist/components/checkbox-group/index.mjs +2 -0
  130. package/dist/components/chip/index.d.mts +2 -0
  131. package/dist/components/chip/index.mjs +2 -0
  132. package/dist/components/client-only/index.d.mts +2 -0
  133. package/dist/components/client-only/index.mjs +2 -0
  134. package/dist/components/clipboard/index.d.mts +2 -0
  135. package/dist/components/clipboard/index.mjs +13 -0
  136. package/dist/components/collapsible/index.d.mts +7 -0
  137. package/dist/components/collapsible/index.mjs +10 -0
  138. package/dist/components/collection/index.d.mts +2 -0
  139. package/dist/components/collection/index.mjs +2 -0
  140. package/dist/components/color-picker/index.d.mts +7 -0
  141. package/dist/components/color-picker/index.mjs +17 -0
  142. package/dist/components/combobox/index.d.mts +7 -0
  143. package/dist/components/combobox/index.mjs +14 -0
  144. package/dist/components/command/index.d.mts +2 -0
  145. package/dist/components/command/index.mjs +2 -0
  146. package/dist/components/comment/index.d.mts +2 -0
  147. package/dist/components/comment/index.mjs +2 -0
  148. package/dist/components/config-provider/index.d.mts +2 -0
  149. package/dist/components/config-provider/index.mjs +2 -0
  150. package/dist/components/container/index.d.mts +2 -0
  151. package/dist/components/container/index.mjs +2 -0
  152. package/dist/components/data-view/index.d.mts +2 -0
  153. package/dist/components/data-view/index.mjs +2 -0
  154. package/dist/components/date-input/index.d.mts +7 -0
  155. package/dist/components/date-input/index.mjs +13 -0
  156. package/dist/components/date-picker/index.d.mts +7 -0
  157. package/dist/components/date-picker/index.mjs +15 -0
  158. package/dist/components/deferred-content/index.d.mts +2 -0
  159. package/dist/components/deferred-content/index.mjs +2 -0
  160. package/dist/components/descriptions/index.d.mts +2 -0
  161. package/dist/components/descriptions/index.mjs +2 -0
  162. package/dist/components/dialog/index.d.mts +9 -0
  163. package/dist/components/dialog/index.mjs +11 -0
  164. package/dist/components/dock/index.d.mts +2 -0
  165. package/dist/components/dock/index.mjs +2 -0
  166. package/dist/components/download-trigger/index.d.mts +2 -0
  167. package/dist/components/download-trigger/index.mjs +2 -0
  168. package/dist/components/drawer/index.d.mts +9 -0
  169. package/dist/components/drawer/index.mjs +12 -0
  170. package/dist/components/dynamic-input/index.d.mts +2 -0
  171. package/dist/components/dynamic-input/index.mjs +2 -0
  172. package/dist/components/editable/index.d.mts +7 -0
  173. package/dist/components/editable/index.mjs +13 -0
  174. package/dist/components/ellipsis/index.d.mts +2 -0
  175. package/dist/components/ellipsis/index.mjs +2 -0
  176. package/dist/components/empty/index.d.mts +2 -0
  177. package/dist/components/empty/index.mjs +2 -0
  178. package/dist/components/field/index.d.mts +8 -0
  179. package/dist/components/field/index.mjs +11 -0
  180. package/dist/components/fieldset/index.d.mts +7 -0
  181. package/dist/components/fieldset/index.mjs +10 -0
  182. package/dist/components/file-upload/index.d.mts +7 -0
  183. package/dist/components/file-upload/index.mjs +15 -0
  184. package/dist/components/float-button/index.d.mts +2 -0
  185. package/dist/components/float-button/index.mjs +2 -0
  186. package/dist/components/floating-panel/index.d.mts +9 -0
  187. package/dist/components/floating-panel/index.mjs +12 -0
  188. package/dist/components/focus-trap/index.d.mts +2 -0
  189. package/dist/components/focus-trap/index.mjs +2 -0
  190. package/dist/components/form/index.d.mts +2 -0
  191. package/dist/components/form/index.mjs +2 -0
  192. package/dist/components/format/index.d.mts +9 -0
  193. package/dist/components/format/index.mjs +10 -0
  194. package/dist/components/frame/index.d.mts +10 -0
  195. package/dist/components/frame/index.mjs +12 -0
  196. package/dist/components/grid/index.d.mts +2 -0
  197. package/dist/components/grid/index.mjs +2 -0
  198. package/dist/components/highlight/index.d.mts +7 -0
  199. package/dist/components/highlight/index.mjs +11 -0
  200. package/dist/components/hover-card/index.d.mts +7 -0
  201. package/dist/components/hover-card/index.mjs +10 -0
  202. package/dist/components/icon/index.d.mts +2 -0
  203. package/dist/components/icon/index.mjs +2 -0
  204. package/dist/components/image/index.d.mts +2 -0
  205. package/dist/components/image/index.mjs +2 -0
  206. package/dist/components/image-cropper/index.d.mts +8 -0
  207. package/dist/components/image-cropper/index.mjs +11 -0
  208. package/dist/components/image-viewer/index.d.mts +2 -0
  209. package/dist/components/image-viewer/index.mjs +2 -0
  210. package/dist/components/input/index.d.mts +2 -0
  211. package/dist/components/input/index.mjs +8 -0
  212. package/dist/components/input-group/index.d.mts +2 -0
  213. package/dist/components/input-group/index.mjs +2 -0
  214. package/dist/components/json-tree-view/index.d.mts +7 -0
  215. package/dist/components/json-tree-view/index.mjs +10 -0
  216. package/dist/components/kbd/index.d.mts +2 -0
  217. package/dist/components/kbd/index.mjs +2 -0
  218. package/dist/components/layout/index.d.mts +2 -0
  219. package/dist/components/layout/index.mjs +2 -0
  220. package/dist/components/link/index.d.mts +2 -0
  221. package/dist/components/link/index.mjs +2 -0
  222. package/dist/components/list/index.d.mts +2 -0
  223. package/dist/components/list/index.mjs +2 -0
  224. package/dist/components/listbox/index.d.mts +2 -0
  225. package/dist/components/listbox/index.mjs +14 -0
  226. package/dist/components/marquee/index.d.mts +7 -0
  227. package/dist/components/marquee/index.mjs +10 -0
  228. package/dist/components/masonry/index.d.mts +2 -0
  229. package/dist/components/masonry/index.mjs +2 -0
  230. package/dist/components/mentions/index.d.mts +3 -0
  231. package/dist/components/mentions/index.mjs +3 -0
  232. package/dist/components/menu/index.d.mts +15 -0
  233. package/dist/components/menu/index.mjs +17 -0
  234. package/dist/components/menubar/index.d.mts +2 -0
  235. package/dist/components/menubar/index.mjs +2 -0
  236. package/dist/components/meter/index.d.mts +2 -0
  237. package/dist/components/meter/index.mjs +2 -0
  238. package/dist/components/navigation-menu/index.d.mts +8 -0
  239. package/dist/components/navigation-menu/index.mjs +11 -0
  240. package/dist/components/number-input/index.d.mts +7 -0
  241. package/dist/components/number-input/index.mjs +13 -0
  242. package/dist/components/order-list/index.d.mts +2 -0
  243. package/dist/components/order-list/index.mjs +2 -0
  244. package/dist/components/page-header/index.d.mts +2 -0
  245. package/dist/components/page-header/index.mjs +2 -0
  246. package/dist/components/pagination/index.d.mts +7 -0
  247. package/dist/components/pagination/index.mjs +15 -0
  248. package/dist/components/password-input/index.d.mts +7 -0
  249. package/dist/components/password-input/index.mjs +13 -0
  250. package/dist/components/pin-input/index.d.mts +7 -0
  251. package/dist/components/pin-input/index.mjs +12 -0
  252. package/dist/components/popconfirm/index.d.mts +2 -0
  253. package/dist/components/popconfirm/index.mjs +2 -0
  254. package/dist/components/popover/index.d.mts +8 -0
  255. package/dist/components/popover/index.mjs +11 -0
  256. package/dist/components/presence/index.d.mts +2 -0
  257. package/dist/components/presence/index.mjs +2 -0
  258. package/dist/components/progress/index.d.mts +7 -0
  259. package/dist/components/progress/index.mjs +13 -0
  260. package/dist/components/progress-group/index.d.mts +2 -0
  261. package/dist/components/progress-group/index.mjs +2 -0
  262. package/dist/components/qr-code/index.d.mts +8 -0
  263. package/dist/components/qr-code/index.mjs +11 -0
  264. package/dist/components/radio-group/index.d.mts +7 -0
  265. package/dist/components/radio-group/index.mjs +13 -0
  266. package/dist/components/rating-group/index.d.mts +7 -0
  267. package/dist/components/rating-group/index.mjs +13 -0
  268. package/dist/components/result/index.d.mts +12 -0
  269. package/dist/components/result/index.mjs +2 -0
  270. package/dist/components/scroll-area/index.d.mts +7 -0
  271. package/dist/components/scroll-area/index.mjs +10 -0
  272. package/dist/components/segment-group/index.d.mts +7 -0
  273. package/dist/components/segment-group/index.mjs +12 -0
  274. package/dist/components/select/index.d.mts +2 -0
  275. package/dist/components/select/index.mjs +2 -0
  276. package/dist/components/separator/index.d.mts +2 -0
  277. package/dist/components/separator/index.mjs +2 -0
  278. package/dist/components/signature-pad/index.d.mts +8 -0
  279. package/dist/components/signature-pad/index.mjs +11 -0
  280. package/dist/components/skeleton/index.d.mts +2 -0
  281. package/dist/components/skeleton/index.mjs +2 -0
  282. package/dist/components/slider/index.d.mts +7 -0
  283. package/dist/components/slider/index.mjs +13 -0
  284. package/dist/components/spinner/index.d.mts +2 -0
  285. package/dist/components/spinner/index.mjs +7 -0
  286. package/dist/components/split-button/index.d.mts +2 -0
  287. package/dist/components/split-button/index.mjs +2 -0
  288. package/dist/components/splitter/index.d.mts +7 -0
  289. package/dist/components/splitter/index.mjs +10 -0
  290. package/dist/components/spotlight/index.d.mts +2 -0
  291. package/dist/components/spotlight/index.mjs +2 -0
  292. package/dist/components/stack/index.d.mts +2 -0
  293. package/dist/components/stack/index.mjs +2 -0
  294. package/dist/components/stat/index.d.mts +2 -0
  295. package/dist/components/stat/index.mjs +2 -0
  296. package/dist/components/steps/index.d.mts +7 -0
  297. package/dist/components/steps/index.mjs +16 -0
  298. package/dist/components/swap/index.d.mts +8 -0
  299. package/dist/components/swap/index.mjs +11 -0
  300. package/dist/components/switch/index.d.mts +7 -0
  301. package/dist/components/switch/index.mjs +13 -0
  302. package/dist/components/table/index.d.mts +2 -0
  303. package/dist/components/table/index.mjs +2 -0
  304. package/dist/components/tabs/index.d.mts +7 -0
  305. package/dist/components/tabs/index.mjs +15 -0
  306. package/dist/components/tags-input/index.d.mts +7 -0
  307. package/dist/components/tags-input/index.mjs +14 -0
  308. package/dist/components/terminal/index.d.mts +2 -0
  309. package/dist/components/terminal/index.mjs +2 -0
  310. package/dist/components/textarea/index.d.mts +2 -0
  311. package/dist/components/textarea/index.mjs +2 -0
  312. package/dist/components/timeline/index.d.mts +2 -0
  313. package/dist/components/timeline/index.mjs +2 -0
  314. package/dist/components/timer/index.d.mts +8 -0
  315. package/dist/components/timer/index.mjs +11 -0
  316. package/dist/components/toast/index.d.mts +11 -0
  317. package/dist/components/toast/index.mjs +13 -0
  318. package/dist/components/toc/index.d.mts +7 -0
  319. package/dist/components/toc/index.mjs +10 -0
  320. package/dist/components/toggle/index.d.mts +7 -0
  321. package/dist/components/toggle/index.mjs +10 -0
  322. package/dist/components/toggle-group/index.d.mts +7 -0
  323. package/dist/components/toggle-group/index.mjs +12 -0
  324. package/dist/components/toolbar/index.d.mts +2 -0
  325. package/dist/components/toolbar/index.mjs +2 -0
  326. package/dist/components/tooltip/index.d.mts +7 -0
  327. package/dist/components/tooltip/index.mjs +10 -0
  328. package/dist/components/tour/index.d.mts +11 -0
  329. package/dist/components/tour/index.mjs +13 -0
  330. package/dist/components/transfer/index.d.mts +2 -0
  331. package/dist/components/transfer/index.mjs +2 -0
  332. package/dist/components/tree-select/index.d.mts +2 -0
  333. package/dist/components/tree-select/index.mjs +2 -0
  334. package/dist/components/tree-view/index.d.mts +2 -0
  335. package/dist/components/tree-view/index.mjs +16 -0
  336. package/dist/components/typography/index.d.mts +2 -0
  337. package/dist/components/typography/index.mjs +2 -0
  338. package/dist/components/user/index.d.mts +2 -0
  339. package/dist/components/user/index.mjs +2 -0
  340. package/dist/components/virtual-list/index.d.mts +2 -0
  341. package/dist/components/virtual-list/index.mjs +2 -0
  342. package/dist/components/watermark/index.d.mts +2 -0
  343. package/dist/components/watermark/index.mjs +2 -0
  344. package/dist/config-provider-DW5wVzFr.mjs +75 -0
  345. package/dist/container-Cmiu_3W5.mjs +39 -0
  346. package/dist/data-view-B3TY3rYl.mjs +167 -0
  347. package/dist/deferred-content-CO9YsKMQ.mjs +65 -0
  348. package/dist/descriptions-DgkA_9B-.mjs +123 -0
  349. package/dist/dock-CKGRnXWu.mjs +84 -0
  350. package/dist/dynamic-input-B3IBAoLs.mjs +127 -0
  351. package/dist/ellipsis-CLaZ9Grh.mjs +39 -0
  352. package/dist/empty-wwcTI107.mjs +141 -0
  353. package/dist/float-button-CZAda2SI.mjs +144 -0
  354. package/dist/form-BTL9S1gn.mjs +212 -0
  355. package/dist/grid-DNgTWYSL.mjs +54 -0
  356. package/dist/icon-D7AeDq0M.mjs +63 -0
  357. package/dist/image-1Lgj8xhS.mjs +81 -0
  358. package/dist/image-viewer-Dv3_Iyu8.mjs +186 -0
  359. package/dist/index--K4P_QKU.d.mts +14 -0
  360. package/dist/index-0k-VxNRm.d.mts +15 -0
  361. package/dist/index-8JoOZcM6.d.mts +18 -0
  362. package/dist/index-B1iBag3L.d.mts +15 -0
  363. package/dist/index-B2JKtCzc.d.mts +25 -0
  364. package/dist/index-BEfqqxjl.d.mts +35 -0
  365. package/dist/index-BFL_M4PT.d.mts +25 -0
  366. package/dist/index-BHlsL8ta.d.mts +30 -0
  367. package/dist/index-BIIMyeLK.d.mts +12 -0
  368. package/dist/index-BTndXl0q.d.mts +15 -0
  369. package/dist/index-BahdqXg4.d.mts +58 -0
  370. package/dist/index-Bj2IsU9D.d.mts +26 -0
  371. package/dist/index-BkK_8C_c.d.mts +29 -0
  372. package/dist/index-BmFfkztS.d.mts +14 -0
  373. package/dist/index-BoR_54C_.d.mts +31 -0
  374. package/dist/index-BolxaoaW.d.mts +18 -0
  375. package/dist/index-BwFSueFx.d.mts +20 -0
  376. package/dist/index-C0aalhwd.d.mts +43 -0
  377. package/dist/index-C84DUNp9.d.mts +33 -0
  378. package/dist/index-C8WNp4wI.d.mts +30 -0
  379. package/dist/index-CAb_-2Bn.d.mts +21 -0
  380. package/dist/index-CJsLok79.d.mts +29 -0
  381. package/dist/index-CKFfSEBR.d.mts +16 -0
  382. package/dist/index-CLoTtvcO.d.mts +19 -0
  383. package/dist/index-CM6inLqu.d.mts +28 -0
  384. package/dist/index-CRdyjHjx.d.mts +23 -0
  385. package/dist/index-CV1LSzq5.d.mts +25 -0
  386. package/dist/index-CWNmeq0b.d.mts +21 -0
  387. package/dist/index-CY4EuxyF.d.mts +21 -0
  388. package/dist/index-CaVBzPln.d.mts +12 -0
  389. package/dist/index-Cd4UxWsz.d.mts +24 -0
  390. package/dist/index-CeIQyZkc.d.mts +21 -0
  391. package/dist/index-CiHanb4T.d.mts +22 -0
  392. package/dist/index-CjNUtqX_.d.mts +19 -0
  393. package/dist/index-CkFXH_oG.d.mts +31 -0
  394. package/dist/index-Cl8v2k0X.d.mts +36 -0
  395. package/dist/index-CmskeLd_.d.mts +23 -0
  396. package/dist/index-CnrohEXe.d.mts +24 -0
  397. package/dist/index-CtbGSRNw.d.mts +10350 -0
  398. package/dist/index-CwM-SPPz.d.mts +14 -0
  399. package/dist/index-D0lEVqZc.d.mts +18 -0
  400. package/dist/index-D1U7Svy2.d.mts +1809 -0
  401. package/dist/index-D6PrX-hf.d.mts +15 -0
  402. package/dist/index-D6eYSdmD.d.mts +28 -0
  403. package/dist/index-D88v0BF1.d.mts +10 -0
  404. package/dist/index-D8F1dVDW.d.mts +59 -0
  405. package/dist/index-D9UBDdoA.d.mts +17 -0
  406. package/dist/index-DAesWvpj.d.mts +22 -0
  407. package/dist/index-DBbjFiDd.d.mts +20 -0
  408. package/dist/index-DGOBhwXN.d.mts +18 -0
  409. package/dist/index-DH0ecZNW.d.mts +25 -0
  410. package/dist/index-DKDpZraB.d.mts +67 -0
  411. package/dist/index-DKfQGayE.d.mts +19 -0
  412. package/dist/index-DOcn6bMd.d.mts +15 -0
  413. package/dist/index-DTAcdUAd.d.mts +48 -0
  414. package/dist/index-D_cE3qK2.d.mts +44 -0
  415. package/dist/index-DfTAYXUT.d.mts +16 -0
  416. package/dist/index-DjaHpB21.d.mts +22 -0
  417. package/dist/index-DlHvtlYT.d.mts +28 -0
  418. package/dist/index-Dr-T8jsb.d.mts +82 -0
  419. package/dist/index-Dy335EhR.d.mts +15 -0
  420. package/dist/index-KoqiUxmN.d.mts +20 -0
  421. package/dist/index-KxuOZGfm.d.mts +14 -0
  422. package/dist/index-OElK7gw7.d.mts +22 -0
  423. package/dist/index-XHTt8I1B.d.mts +21 -0
  424. package/dist/index-YCVah82j.d.mts +18 -0
  425. package/dist/index-ZUvVz2Fd.d.mts +24 -0
  426. package/dist/index-_kQsvJKo.d.mts +27 -0
  427. package/dist/index-k0ac5WNj.d.mts +23 -0
  428. package/dist/index-mshFOd-j.d.mts +20 -0
  429. package/dist/index-nfkt_cP_.d.mts +18 -0
  430. package/dist/index-oI4U-72X.d.mts +15 -0
  431. package/dist/index-wDHiUpr6.d.mts +23 -0
  432. package/dist/index-zZy5ZnA5.d.mts +20 -0
  433. package/dist/index.d.mts +151 -15125
  434. package/dist/index.mjs +143 -9042
  435. package/dist/input-group-DeKewnvZ.mjs +62 -0
  436. package/dist/kbd-LXHpi4GM.mjs +33 -0
  437. package/dist/layout-WRo4P9-_.mjs +226 -0
  438. package/dist/link-CuNiatc7.mjs +36 -0
  439. package/dist/list-B23lA_sc.mjs +173 -0
  440. package/dist/masonry-B4-v4kJ0.mjs +52 -0
  441. package/dist/mentions-DjhgNRmY.mjs +204 -0
  442. package/dist/menubar-Crrkg2tZ.mjs +148 -0
  443. package/dist/meter-BgsJ2g-v.mjs +164 -0
  444. package/dist/order-list-q7VlsbmU.mjs +120 -0
  445. package/dist/page-header-DKpKUkTe.mjs +167 -0
  446. package/dist/popconfirm-NK5BPbrN.mjs +136 -0
  447. package/dist/progress-group-BQMAQWXh.mjs +81 -0
  448. package/dist/props-B9YcQX8X.d.mts +18 -0
  449. package/dist/props-BZcE7LP_.d.mts +12 -0
  450. package/dist/props-BvDM6-cm.d.mts +11 -0
  451. package/dist/props-C2OWII_8.d.mts +14 -0
  452. package/dist/props-CIwO25eA.d.mts +12 -0
  453. package/dist/props-D93CbAiS.d.mts +16 -0
  454. package/dist/props-Dr7ABUbp.d.mts +10 -0
  455. package/dist/props-U567RIQo.d.mts +42 -0
  456. package/dist/result-4Oee2ndu.mjs +159 -0
  457. package/dist/select-rkY0qJKI.mjs +95 -0
  458. package/dist/separator-4JWXConE.mjs +36 -0
  459. package/dist/skeleton-DOfOrlmL.mjs +30 -0
  460. package/dist/split-button-CGjPB9DQ.mjs +171 -0
  461. package/dist/spotlight-DMC5E1eS.mjs +51 -0
  462. package/dist/stack-DCKrejZp.mjs +57 -0
  463. package/dist/stat-5cTU1vyI.mjs +143 -0
  464. package/dist/table-BnNK4_su.mjs +975 -0
  465. package/dist/terminal-B3b4KzoN.mjs +78 -0
  466. package/dist/textarea-DzDc678j.mjs +44 -0
  467. package/dist/timeline-1yPOTbtY.mjs +117 -0
  468. package/dist/toolbar-SNwuRrJr.mjs +68 -0
  469. package/dist/transfer-0IAuhFCe.mjs +235 -0
  470. package/dist/tree-select-BSf4a_En.mjs +379 -0
  471. package/dist/typography-Cygr9XaD.mjs +167 -0
  472. package/dist/use-mentions-DeF_38di.mjs +93 -0
  473. package/dist/user-BjJSjDYV.mjs +100 -0
  474. package/dist/virtual-list-psKQ_NVr.mjs +59 -0
  475. package/dist/watermark-C2d3-EAM.mjs +90 -0
  476. package/package.json +58 -8
  477. package/dist/TreeViewRoot-CWHR4O1k.mjs +0 -946
@@ -0,0 +1,54 @@
1
+ import { injectComponentStyle } from "@bysages/core";
2
+ import "svelte/internal/disclose-version";
3
+ import * as $ from "svelte/internal/client";
4
+ //#region src/components/grid/Grid.svelte
5
+ var rest_excludes = /* @__PURE__ */ new Set([
6
+ "$$slots",
7
+ "$$events",
8
+ "$$legacy",
9
+ "columns",
10
+ "gap",
11
+ "minChildWidth",
12
+ "children"
13
+ ]);
14
+ var root = $.from_html(`<div><!></div>`);
15
+ function Grid$1($$anchor, $$props) {
16
+ $.push($$props, true);
17
+ injectComponentStyle("grid");
18
+ /** The same named steps of the space ramp the stack uses — one
19
+ * vocabulary of distance across the layout primitives. */
20
+ const gapVars = {
21
+ none: "0",
22
+ xs: "var(--bs-gap-xs)",
23
+ sm: "var(--bs-gap-sm)",
24
+ md: "var(--bs-gap-md)",
25
+ lg: "var(--bs-gap-lg)",
26
+ xl: "var(--bs-gap-xl)"
27
+ };
28
+ let columns = $.prop($$props, "columns", 3, 12), gap = $.prop($$props, "gap", 3, "md"), rest = $.rest_props($$props, rest_excludes);
29
+ const gapValue = $.derived(() => gapVars[gap()] ?? gapVars.md);
30
+ var div = root();
31
+ $.attribute_effect(div, ($0) => ({
32
+ ...rest,
33
+ "data-scope": "grid",
34
+ "data-part": "root",
35
+ "data-autofill": $$props.minChildWidth != null ? "" : void 0,
36
+ [$.STYLE]: {
37
+ "--bs-grid-columns": $0,
38
+ "--bs-grid-gap": $.get(gapValue),
39
+ "--bs-grid-min-child-width": $$props.minChildWidth
40
+ }
41
+ }), [() => String(columns())]);
42
+ var node = $.child(div);
43
+ $.snippet(node, () => $$props.children ?? $.noop);
44
+ $.reset(div);
45
+ $.append($$anchor, div);
46
+ $.pop();
47
+ }
48
+ //#endregion
49
+ //#region src/components/grid/index.ts
50
+ /** An alignment lattice: tracks of equal measure, sized by column count
51
+ * — or, with `minChildWidth`, as many tracks as the container fits. */
52
+ const Grid = Grid$1;
53
+ //#endregion
54
+ export { Grid as t };
@@ -0,0 +1,63 @@
1
+ import { injectComponentStyle } from "@bysages/core";
2
+ import "svelte/internal/disclose-version";
3
+ import * as $ from "svelte/internal/client";
4
+ import { getIcon } from "@bysages/core/icons";
5
+ //#region src/components/icon/Icon.svelte
6
+ var rest_excludes = /* @__PURE__ */ new Set([
7
+ "$$slots",
8
+ "$$events",
9
+ "$$legacy",
10
+ "size",
11
+ "label",
12
+ "glyph",
13
+ "name",
14
+ "children"
15
+ ]);
16
+ var root = $.from_svg(`<svg fill="currentColor" aria-hidden="true"></svg>`);
17
+ var root_1 = $.from_html(`<span><!></span>`);
18
+ function Icon$1($$anchor, $$props) {
19
+ $.push($$props, true);
20
+ injectComponentStyle("icon");
21
+ let size = $.prop($$props, "size", 3, "inherit"), rest = $.rest_props($$props, rest_excludes);
22
+ const resolved = $$props.glyph ?? ($$props.name && $$props.children == null ? getIcon($$props.name) : void 0);
23
+ if ($$props.name && $$props.children == null && $$props.glyph == null && !resolved) console.error(`[icons] unknown icon name "${$$props.name}" — not in the wrappers' whitelist; import the glyph from @bysages/icons and pass it as glyph`);
24
+ var span = root_1();
25
+ $.attribute_effect(span, () => ({
26
+ ...rest,
27
+ role: $$props.label != null ? "img" : void 0,
28
+ "aria-label": $$props.label,
29
+ "aria-hidden": $$props.label != null ? void 0 : "true",
30
+ "data-scope": "icon",
31
+ "data-part": "root",
32
+ "data-size": size()
33
+ }));
34
+ var node = $.child(span);
35
+ var consequent = ($$anchor) => {
36
+ var fragment = $.comment();
37
+ var node_1 = $.first_child(fragment);
38
+ $.snippet(node_1, () => $$props.children);
39
+ $.append($$anchor, fragment);
40
+ };
41
+ var consequent_1 = ($$anchor) => {
42
+ var svg = root();
43
+ $.html(svg, () => resolved.body, true);
44
+ $.reset(svg);
45
+ $.template_effect(() => $.set_attribute(svg, "viewBox", `0 0 ${resolved.width ?? 24 ?? ""} ${resolved.height ?? 24 ?? ""}`));
46
+ $.append($$anchor, svg);
47
+ };
48
+ $.if(node, ($$render) => {
49
+ if ($$props.children) $$render(consequent);
50
+ else if (resolved) $$render(consequent_1, 1);
51
+ });
52
+ $.reset(span);
53
+ $.append($$anchor, span);
54
+ $.pop();
55
+ }
56
+ //#endregion
57
+ //#region src/components/icon/index.ts
58
+ /** The inkwell: a standard box that keeps any inline svg at its optical
59
+ * measure and in the text's own ink — the icon carries no pigment and
60
+ * no size of its own. Bring the glyph; it ships no set. */
61
+ const Icon = Icon$1;
62
+ //#endregion
63
+ export { Icon as t };
@@ -0,0 +1,81 @@
1
+ import { injectComponentStyle } from "@bysages/core";
2
+ import "svelte/internal/disclose-version";
3
+ import * as $ from "svelte/internal/client";
4
+ //#region src/components/image/Image.svelte
5
+ var rest_excludes = /* @__PURE__ */ new Set([
6
+ "$$slots",
7
+ "$$events",
8
+ "$$legacy",
9
+ "src",
10
+ "alt",
11
+ "fit",
12
+ "loading",
13
+ "fallback"
14
+ ]);
15
+ var root = $.from_svg(`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="4" width="18" height="16" rx="1.5"></rect><circle cx="9" cy="10" r="1.5"></circle><path d="m5.5 17.5 4.5-5 3 3.5 2.5-3 3 4.5"></path></svg>`);
16
+ var root_1 = $.from_html(`<div data-scope="image" data-part="fallback"><!></div>`);
17
+ var root_2 = $.from_html(`<figure><img data-scope="image" data-part="img" decoding="async"/> <!></figure>`);
18
+ function Image$1($$anchor, $$props) {
19
+ $.push($$props, true);
20
+ injectComponentStyle("image");
21
+ let alt = $.prop($$props, "alt", 3, ""), fit = $.prop($$props, "fit", 3, "cover"), loading = $.prop($$props, "loading", 3, "lazy"), rest = $.rest_props($$props, rest_excludes);
22
+ let state = $.state("loading");
23
+ $.user_effect(() => {
24
+ $$props.src;
25
+ $.set(state, "loading");
26
+ });
27
+ var figure = root_2();
28
+ $.attribute_effect(figure, () => ({
29
+ ...rest,
30
+ "data-scope": "image",
31
+ "data-part": "root",
32
+ "data-state": $.get(state),
33
+ "data-fit": fit()
34
+ }));
35
+ var img = $.child(figure);
36
+ var node = $.sibling(img, 2);
37
+ var consequent_1 = ($$anchor) => {
38
+ var div = root_1();
39
+ var node_1 = $.child(div);
40
+ var consequent = ($$anchor) => {
41
+ var fragment = $.comment();
42
+ var node_2 = $.first_child(fragment);
43
+ $.snippet(node_2, () => $$props.fallback);
44
+ $.append($$anchor, fragment);
45
+ };
46
+ var alternate = ($$anchor) => {
47
+ var svg = root();
48
+ $.append($$anchor, svg);
49
+ };
50
+ $.if(node_1, ($$render) => {
51
+ if ($$props.fallback) $$render(consequent);
52
+ else $$render(alternate, -1);
53
+ });
54
+ $.reset(div);
55
+ $.append($$anchor, div);
56
+ };
57
+ $.if(node, ($$render) => {
58
+ if ($.get(state) === "error") $$render(consequent_1);
59
+ });
60
+ $.reset(figure);
61
+ $.template_effect(() => {
62
+ $.set_attribute(img, "src", $$props.src);
63
+ $.set_attribute(img, "alt", alt());
64
+ $.set_attribute(img, "loading", loading());
65
+ });
66
+ $.event("load", img, () => $.set(state, "loaded"));
67
+ $.event("error", img, () => $.set(state, "error"));
68
+ $.replay_events(img);
69
+ $.append($$anchor, figure);
70
+ $.pop();
71
+ }
72
+ //#endregion
73
+ //#region src/components/image/index.ts
74
+ /** A framed picture: while the source loads, the frame keeps the
75
+ * skeleton's breath; the picture dissolves in when it lands; a broken
76
+ * source leaves the fallback snippet — or the placeholder glyph when
77
+ * the caller has nothing local to say. The frame's size is the
78
+ * consumer's to give. */
79
+ const Image = Image$1;
80
+ //#endregion
81
+ export { Image as t };
@@ -0,0 +1,186 @@
1
+ import { t as Button } from "./button-BCcX7lHq.mjs";
2
+ import { t as ButtonGroup } from "./button-group-CVLqPMlR.mjs";
3
+ import { injectComponentStyle } from "@bysages/core";
4
+ import "svelte/internal/disclose-version";
5
+ import * as $ from "svelte/internal/client";
6
+ import { Portal } from "@ark-ui/svelte/portal";
7
+ import { Dialog } from "@ark-ui/svelte/dialog";
8
+ //#region src/components/image-viewer/ImageViewer.svelte
9
+ const tool = ($$anchor, label = $.noop, onclick = $.noop, glyph = $.noop) => {
10
+ Button($$anchor, {
11
+ variant: "ghost",
12
+ square: true,
13
+ size: "lg",
14
+ get "aria-label"() {
15
+ return label();
16
+ },
17
+ get onclick() {
18
+ return onclick();
19
+ },
20
+ children: ($$anchor, $$slotProps) => {
21
+ var svg = root();
22
+ var node = $.child(svg);
23
+ $.snippet(node, glyph);
24
+ $.reset(svg);
25
+ $.append($$anchor, svg);
26
+ },
27
+ $$slots: { default: true }
28
+ });
29
+ };
30
+ const zoomIn = ($$anchor) => {
31
+ var fragment_1 = root_1();
32
+ $.next(3);
33
+ $.append($$anchor, fragment_1);
34
+ };
35
+ const zoomOut = ($$anchor) => {
36
+ var fragment_2 = root_2();
37
+ $.next(2);
38
+ $.append($$anchor, fragment_2);
39
+ };
40
+ const turnGlyph = ($$anchor) => {
41
+ var fragment_3 = root_3();
42
+ $.next();
43
+ $.append($$anchor, fragment_3);
44
+ };
45
+ const closeGlyph = ($$anchor) => {
46
+ var fragment_4 = root_4();
47
+ $.next();
48
+ $.append($$anchor, fragment_4);
49
+ };
50
+ var root = $.from_svg(`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><!></svg>`);
51
+ var root_1 = $.from_svg(`<circle cx="11" cy="11" r="7"></circle><path d="m16.2 16.2 4.8 4.8"></path><path d="M8 11h6"></path><path d="M11 8v6"></path>`, 1);
52
+ var root_2 = $.from_svg(`<circle cx="11" cy="11" r="7"></circle><path d="m16.2 16.2 4.8 4.8"></path><path d="M8 11h6"></path>`, 1);
53
+ var root_3 = $.from_svg(`<path d="M20.49 12A8.5 8.5 0 1 1 18 6.06"></path><path d="M20.5 3.5v4h-4"></path>`, 1);
54
+ var root_4 = $.from_svg(`<path d="m6 6 12 12"></path><path d="M18 6 6 18"></path>`, 1);
55
+ var root_5 = $.from_html(`<!> <!>`, 1);
56
+ var root_6 = $.from_html(`<!> <!> <!>`, 1);
57
+ var root_7 = $.from_html(`<img data-scope="image-viewer" data-part="viewport"/> <div data-scope="image-viewer" data-part="toolbar"><!></div>`, 1);
58
+ function ImageViewer$1($$anchor, $$props) {
59
+ $.push($$props, true);
60
+ injectComponentStyle("image-viewer");
61
+ const MIN_SCALE = .5;
62
+ const MAX_SCALE = 3;
63
+ const SCALE_STEP = .25;
64
+ let alt = $.prop($$props, "alt", 3, ""), open = $.prop($$props, "open", 15, false), zoomable = $.prop($$props, "zoomable", 3, true);
65
+ let scale = $.state(1);
66
+ let rotation = $.state(0);
67
+ function setOpen(value) {
68
+ open(value);
69
+ $$props.onOpenChange?.(value);
70
+ }
71
+ $.user_effect(() => {
72
+ if (open()) {
73
+ $.set(scale, 1);
74
+ $.set(rotation, 0);
75
+ }
76
+ });
77
+ function zoom(step) {
78
+ $.set(scale, Math.min(MAX_SCALE, Math.max(MIN_SCALE, $.get(scale) + step)), true);
79
+ }
80
+ function turn() {
81
+ $.set(rotation, ($.get(rotation) + 90) % 360);
82
+ }
83
+ var fragment_5 = $.comment();
84
+ var node_1 = $.first_child(fragment_5);
85
+ $.component(node_1, () => Dialog.Root, ($$anchor, ArkDialog_Root) => {
86
+ ArkDialog_Root($$anchor, {
87
+ get open() {
88
+ return open();
89
+ },
90
+ onOpenChange: (details) => setOpen(details.open),
91
+ lazyMount: true,
92
+ unmountOnExit: true,
93
+ children: ($$anchor, $$slotProps) => {
94
+ Portal($$anchor, {
95
+ children: ($$anchor, $$slotProps) => {
96
+ var fragment_7 = root_5();
97
+ var node_2 = $.first_child(fragment_7);
98
+ $.component(node_2, () => Dialog.Backdrop, ($$anchor, ArkDialog_Backdrop) => {
99
+ ArkDialog_Backdrop($$anchor, { class: "bs-image-viewer-backdrop" });
100
+ });
101
+ var node_3 = $.sibling(node_2, 2);
102
+ $.component(node_3, () => Dialog.Positioner, ($$anchor, ArkDialog_Positioner) => {
103
+ ArkDialog_Positioner($$anchor, {
104
+ class: "bs-image-viewer-positioner",
105
+ children: ($$anchor, $$slotProps) => {
106
+ var fragment_8 = $.comment();
107
+ var node_4 = $.first_child(fragment_8);
108
+ {
109
+ let $0 = $.derived(() => alt() || "Image preview");
110
+ $.component(node_4, () => Dialog.Content, ($$anchor, ArkDialog_Content) => {
111
+ ArkDialog_Content($$anchor, {
112
+ class: "bs-image-viewer-content",
113
+ get "aria-label"() {
114
+ return $.get($0);
115
+ },
116
+ onclick: (event) => {
117
+ if (event.target === event.currentTarget) setOpen(false);
118
+ },
119
+ children: ($$anchor, $$slotProps) => {
120
+ var fragment_9 = root_7();
121
+ var img = $.first_child(fragment_9);
122
+ let styles;
123
+ var div = $.sibling(img, 2);
124
+ var node_5 = $.child(div);
125
+ ButtonGroup(node_5, {
126
+ children: ($$anchor, $$slotProps) => {
127
+ var fragment_10 = root_6();
128
+ var node_6 = $.first_child(fragment_10);
129
+ var consequent = ($$anchor) => {
130
+ var fragment_11 = root_5();
131
+ var node_7 = $.first_child(fragment_11);
132
+ tool(node_7, () => "Zoom in", () => () => zoom(SCALE_STEP), () => zoomIn);
133
+ var node_8 = $.sibling(node_7, 2);
134
+ tool(node_8, () => "Zoom out", () => () => zoom(-.25), () => zoomOut);
135
+ $.append($$anchor, fragment_11);
136
+ };
137
+ $.if(node_6, ($$render) => {
138
+ if (zoomable()) $$render(consequent);
139
+ });
140
+ var node_9 = $.sibling(node_6, 2);
141
+ tool(node_9, () => "Rotate 90 degrees", () => turn, () => turnGlyph);
142
+ var node_10 = $.sibling(node_9, 2);
143
+ tool(node_10, () => "Close", () => () => setOpen(false), () => closeGlyph);
144
+ $.append($$anchor, fragment_10);
145
+ },
146
+ $$slots: { default: true }
147
+ });
148
+ $.reset(div);
149
+ $.template_effect(() => {
150
+ $.set_attribute(img, "src", $$props.src);
151
+ $.set_attribute(img, "alt", alt());
152
+ styles = $.set_style(img, "", styles, { transform: `scale(${$.get(scale)}) rotate(${$.get(rotation)}deg)` });
153
+ });
154
+ $.append($$anchor, fragment_9);
155
+ },
156
+ $$slots: { default: true }
157
+ });
158
+ });
159
+ }
160
+ $.append($$anchor, fragment_8);
161
+ },
162
+ $$slots: { default: true }
163
+ });
164
+ });
165
+ $.append($$anchor, fragment_7);
166
+ },
167
+ $$slots: { default: true }
168
+ });
169
+ },
170
+ $$slots: { default: true }
171
+ });
172
+ });
173
+ $.append($$anchor, fragment_5);
174
+ $.pop();
175
+ }
176
+ //#endregion
177
+ //#region src/components/image-viewer/index.ts
178
+ /** A lightbox: the picture over a dimmed page, with a small toolbar
179
+ * beneath it. Zoom is the reader's hand (half to three times,
180
+ * clamped), a quarter turn at a time rotates, Escape and the scrim
181
+ * close — the dialog machine carries the modal part. `open` may stay
182
+ * with the caller (`bind:open`); left alone the viewer keeps it to
183
+ * itself. */
184
+ const ImageViewer = ImageViewer$1;
185
+ //#endregion
186
+ export { ImageViewer as t };
@@ -0,0 +1,14 @@
1
+ import { HTMLAttributes } from "svelte/elements";
2
+ //#region src/components/separator/props.d.ts
3
+ interface SeparatorProps extends HTMLAttributes<HTMLDivElement> {
4
+ orientation?: "horizontal" | "vertical";
5
+ decorative?: boolean;
6
+ }
7
+ //#endregion
8
+ //#region src/components/separator/index.d.ts
9
+ /** The paper-ink hairline as a component: a named rule between sections.
10
+ * Decorative separators drop the separator role, since the page reads
11
+ * fine without them. */
12
+ declare const Separator: import("svelte").Component<SeparatorProps, {}, "">;
13
+ //#endregion
14
+ export { SeparatorProps as n, Separator as t };
@@ -0,0 +1,15 @@
1
+ import { HTMLAttributes } from "svelte/elements";
2
+ //#region src/components/spotlight/props.d.ts
3
+ interface SpotlightProps extends HTMLAttributes<HTMLDivElement> {
4
+ /** How far the lamp throws before the ink swallows it. */
5
+ radius?: string;
6
+ }
7
+ //#endregion
8
+ //#region src/components/spotlight/index.d.ts
9
+ /** The ink-light card: a vessel whose rim and face take light from the
10
+ * reader's hand. */
11
+ declare const Spotlight: import("svelte").Component<import("svelte/elements").HTMLAttributes<HTMLDivElement> & {
12
+ radius?: string;
13
+ }, {}, "">;
14
+ //#endregion
15
+ export { SpotlightProps as n, Spotlight as t };
@@ -0,0 +1,18 @@
1
+ import { Snippet } from "svelte";
2
+ import { HTMLAttributes } from "svelte/elements";
3
+ //#region src/components/container/props.d.ts
4
+ interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
5
+ size?: "narrow" | "readable" | "wide" | "full";
6
+ /** Keep the ink off the page edges when the viewport runs narrower
7
+ * than the measure. */
8
+ padding?: boolean;
9
+ children?: Snippet;
10
+ }
11
+ //#endregion
12
+ //#region src/components/container/index.d.ts
13
+ /** The reading frame: content held to a measure and centered on the
14
+ * page. The sizes name typographic measures, not breakpoints — the page
15
+ * owns its edges, the container only owns how long a line of ink runs. */
16
+ declare const Container: import("svelte").Component<ContainerProps, {}, "">;
17
+ //#endregion
18
+ export { ContainerProps as n, Container as t };
@@ -0,0 +1,15 @@
1
+ import { Snippet } from "svelte";
2
+ import { HTMLAttributes } from "svelte/elements";
3
+ //#region src/components/aspect-ratio/props.d.ts
4
+ interface AspectRatioProps extends HTMLAttributes<HTMLDivElement> {
5
+ /** A CSS `aspect-ratio` value — "16 / 9", "4 / 3", "1 / 1". */
6
+ ratio?: string;
7
+ children?: Snippet;
8
+ }
9
+ //#endregion
10
+ //#region src/components/aspect-ratio/index.d.ts
11
+ /** A frame that keeps its shape: the box holds the given ratio whatever
12
+ * the width it is dealt, and the child fills the frame it is given. */
13
+ declare const AspectRatio: import("svelte").Component<AspectRatioProps, {}, "">;
14
+ //#endregion
15
+ export { AspectRatioProps as n, AspectRatio as t };
@@ -0,0 +1,25 @@
1
+ import { Snippet } from "svelte";
2
+ import { HTMLAttributes } from "svelte/elements";
3
+ //#region src/components/checkbox-group/props.d.ts
4
+ interface CheckboxOption {
5
+ label: string;
6
+ value: string;
7
+ disabled?: boolean;
8
+ }
9
+ interface CheckboxGroupProps extends HTMLAttributes<HTMLDivElement> {
10
+ /** Two-way bindable — `bind:value` keeps the bound array mirroring
11
+ * the group. */
12
+ value?: string[];
13
+ options: CheckboxOption[];
14
+ layout?: "vertical" | "horizontal";
15
+ invalid?: boolean;
16
+ disabled?: boolean;
17
+ children?: Snippet;
18
+ }
19
+ //#endregion
20
+ //#region src/components/checkbox-group/index.d.ts
21
+ /** One question, many answers: a labelled stack (or row) of the
22
+ * seal-cut checkboxes bound to a single array. */
23
+ declare const CheckboxGroup: import("svelte").Component<CheckboxGroupProps, {}, "value">;
24
+ //#endregion
25
+ export { CheckboxGroupProps as n, CheckboxOption as r, CheckboxGroup as t };
@@ -0,0 +1,35 @@
1
+ import { Snippet } from "svelte";
2
+ import { HTMLAttributes } from "svelte/elements";
3
+ //#region src/components/descriptions/props.d.ts
4
+ interface DescriptionsRootProps extends HTMLAttributes<HTMLDListElement> {
5
+ /** The horizontal layout reads as a table of two columns; the
6
+ * vertical one stacks each pair for narrow measures. */
7
+ layout?: "horizontal" | "vertical";
8
+ /** The framed register: one hairline round the whole, terms on
9
+ * inset paper. */
10
+ bordered?: boolean;
11
+ /** Pairs across the grid: one ledger per column. */
12
+ column?: number;
13
+ children?: Snippet;
14
+ }
15
+ interface DescriptionsItemProps extends HTMLAttributes<HTMLElement> {
16
+ /** Column pairs this entry stretches across. */
17
+ span?: number;
18
+ children?: Snippet;
19
+ }
20
+ interface DescriptionsPartProps extends HTMLAttributes<HTMLElement> {
21
+ children?: Snippet;
22
+ }
23
+ //#endregion
24
+ //#region src/components/descriptions/index.d.ts
25
+ /** A ledger laid flat: term and detail pairs in one quiet grid. The
26
+ * horizontal layout reads as a table of two columns; the vertical one
27
+ * stacks each pair for narrow measures. */
28
+ declare const Descriptions: import("svelte").Component<DescriptionsRootProps, {}, ""> & {
29
+ Root: import("svelte").Component<DescriptionsRootProps, {}, "">;
30
+ Item: import("svelte").Component<DescriptionsItemProps, {}, "">;
31
+ Term: import("svelte").Component<DescriptionsPartProps, {}, "">;
32
+ Detail: import("svelte").Component<DescriptionsPartProps, {}, "">;
33
+ };
34
+ //#endregion
35
+ export { DescriptionsPartProps as n, DescriptionsRootProps as r, Descriptions as t };
@@ -0,0 +1,25 @@
1
+ import { Snippet } from "svelte";
2
+ import { HTMLAttributes } from "svelte/elements";
3
+ //#region src/components/progress-group/props.d.ts
4
+ /** One verdict on the bar. */
5
+ interface ProgressSegment {
6
+ value: number;
7
+ label?: string;
8
+ pigment?: "primary" | "success" | "warning" | "danger" | "info";
9
+ }
10
+ interface ProgressGroupProps extends HTMLAttributes<HTMLDivElement> {
11
+ segments: ProgressSegment[];
12
+ max?: number;
13
+ showLegend?: boolean;
14
+ children?: Snippet;
15
+ }
16
+ //#endregion
17
+ //#region src/components/progress-group/index.d.ts
18
+ /** One bar, several verdicts: the segments stand shoulder to shoulder,
19
+ * each as wide as its share of the whole and speaking its own pigment;
20
+ * the legend reads them back beneath (swatch, label, value) unless the
21
+ * caller declines it. The whole is the sum of the parts unless the
22
+ * caller brings a larger one — the remainder then shows as groove. */
23
+ declare const ProgressGroup: import("svelte").Component<ProgressGroupProps, {}, "">;
24
+ //#endregion
25
+ export { ProgressGroupProps as n, ProgressSegment as r, ProgressGroup as t };
@@ -0,0 +1,30 @@
1
+ import { Snippet } from "svelte";
2
+ import { HTMLAttributes } from "svelte/elements";
3
+ //#region src/components/card/props.d.ts
4
+ interface CardProps extends HTMLAttributes<HTMLElement> {
5
+ children?: Snippet;
6
+ }
7
+ interface CardTitleProps extends HTMLAttributes<HTMLHeadingElement> {
8
+ children?: Snippet;
9
+ }
10
+ interface CardDescriptionProps extends HTMLAttributes<HTMLParagraphElement> {
11
+ children?: Snippet;
12
+ }
13
+ interface CardPartProps extends HTMLAttributes<HTMLElement> {
14
+ children?: Snippet;
15
+ }
16
+ //#endregion
17
+ //#region src/components/card/index.d.ts
18
+ /** A vessel: round, resting at the first elevation, one hairline for its
19
+ * edge. Root, Header, Title, Description, Content, Footer — sections
20
+ * carry their own whitespace, so any subset composes. */
21
+ declare const Card: import("svelte").Component<CardProps, {}, ""> & {
22
+ Root: import("svelte").Component<CardProps, {}, "">;
23
+ Header: import("svelte").Component<CardPartProps, {}, "">;
24
+ Title: import("svelte").Component<CardTitleProps, {}, "">;
25
+ Description: import("svelte").Component<CardDescriptionProps, {}, "">;
26
+ Content: import("svelte").Component<CardPartProps, {}, "">;
27
+ Footer: import("svelte").Component<CardPartProps, {}, "">;
28
+ };
29
+ //#endregion
30
+ export { CardTitleProps as a, CardProps as i, CardDescriptionProps as n, CardPartProps as r, Card as t };
@@ -0,0 +1,12 @@
1
+ import { HTMLAttributes } from "svelte/elements";
2
+ //#region src/components/spinner/props.d.ts
3
+ interface SpinnerProps extends HTMLAttributes<HTMLElement> {
4
+ size?: "sm" | "md" | "lg";
5
+ }
6
+ //#endregion
7
+ //#region src/components/spinner/index.d.ts
8
+ /** A wheel of waiting: one arc of ink turning about its center. Quiet by
9
+ * default — it reports progress without claiming attention. */
10
+ declare const Spinner: import("svelte").Component<SpinnerProps, {}, "">;
11
+ //#endregion
12
+ export { SpinnerProps as n, Spinner as t };
@@ -0,0 +1,15 @@
1
+ import { HTMLAttributes } from "svelte/elements";
2
+ //#region src/components/chip/props.d.ts
3
+ interface ChipProps extends HTMLAttributes<HTMLSpanElement> {
4
+ value: number;
5
+ max?: number;
6
+ tone?: "ink" | "info" | "success" | "warning" | "danger";
7
+ variant?: "solid" | "subtle" | "outline";
8
+ }
9
+ //#endregion
10
+ //#region src/components/chip/index.d.ts
11
+ /** A counting coin: the numeric value, capped at `max` with an ellipsis
12
+ * of the remainder ("99+"). */
13
+ declare const Chip: import("svelte").Component<ChipProps, {}, "">;
14
+ //#endregion
15
+ export { ChipProps as n, Chip as t };
@@ -0,0 +1,58 @@
1
+ import { Snippet } from "svelte";
2
+ import { HTMLAttributes } from "svelte/elements";
3
+ //#region src/components/layout/props.d.ts
4
+ interface LayoutProps extends HTMLAttributes<HTMLDivElement> {
5
+ /** Declare which edge the skeleton reserves for its sider — without
6
+ * it the root is a single column. */
7
+ sider?: "start" | "end";
8
+ children?: Snippet;
9
+ }
10
+ /** A semantic block of the skeleton — header, footer, and the flow's
11
+ * main content each land on their native element and their grid area. */
12
+ interface LayoutRegionProps extends HTMLAttributes<HTMLElement> {
13
+ children?: Snippet;
14
+ }
15
+ interface LayoutSiderProps extends Omit<HTMLAttributes<HTMLElement>, "children"> {
16
+ /** The caller drives the fold — `bind:collapsed` mirrors every
17
+ * change. */
18
+ collapsed?: boolean;
19
+ /** The rail's resting inline size — a layout parameter, not a visual
20
+ * token, so it rides an inline variable. Bindable: the drag and the
21
+ * arrow keys write through it. */
22
+ width?: string;
23
+ /** The inline size when folded. */
24
+ collapsedWidth?: string;
25
+ /** Offer the hairline at the flow edge: the rail's width follows the
26
+ * hand (and the arrow keys), clamped by min/max, and every change
27
+ * rides `bind:width`. */
28
+ resizable?: boolean;
29
+ /** The rail's narrowest inline size while resizing. */
30
+ minWidth?: string;
31
+ /** The rail's widest inline size while resizing. */
32
+ maxWidth?: string;
33
+ /** Receives the fold state, so a rail can swap its labels for icons
34
+ * instead of being clipped mid-word by the narrowing edge. */
35
+ children?: Snippet<[{
36
+ collapsed: boolean;
37
+ }]>;
38
+ }
39
+ //#endregion
40
+ //#region src/components/layout/context.d.ts
41
+ /** Which edge the enclosing root reserves for its rail — shared so the
42
+ * sider's resize handle knows which way the hand pulls. */
43
+ interface LayoutContext {
44
+ siderPlacement: () => "start" | "end" | undefined;
45
+ }
46
+ //#endregion
47
+ //#region src/components/layout/index.d.ts
48
+ /** The application skeleton: Root, Header, Sider, Content, Footer —
49
+ * the admin arrangement dressed in the paper-and-ink surfaces. */
50
+ declare const Layout: import("svelte").Component<LayoutProps, {}, ""> & {
51
+ Root: import("svelte").Component<LayoutProps, {}, "">;
52
+ Header: import("svelte").Component<LayoutRegionProps, {}, "">;
53
+ Sider: import("svelte").Component<LayoutSiderProps, {}, "width" | "collapsed">;
54
+ Content: import("svelte").Component<LayoutRegionProps, {}, "">;
55
+ Footer: import("svelte").Component<LayoutRegionProps, {}, "">;
56
+ };
57
+ //#endregion
58
+ export { LayoutSiderProps as a, LayoutRegionProps as i, LayoutContext as n, LayoutProps as r, Layout as t };