@bysages/svelte 0.3.1 → 0.4.1

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 (501) hide show
  1. package/dist/Accordion-BkqRwmjT.mjs +147 -0
  2. package/dist/{AiLoader-BEiPYOfW.mjs → AiLoader-C7LALoXc.mjs} +1 -1
  3. package/dist/AngleSlider-BDmLIZcL.mjs +167 -0
  4. package/dist/{avatar-LR0CZ1Iz.mjs → Avatar-L9BP2Zwy.mjs} +8 -10
  5. package/dist/Carousel-D-v0Bza0.mjs +171 -0
  6. package/dist/Checkbox-Dt_QeNLA.mjs +126 -0
  7. package/dist/ChevronIcon-BrLZJ0NH.mjs +10 -0
  8. package/dist/Clipboard-BHy1YrlL.mjs +116 -0
  9. package/dist/Collapsible-DKTSOxEd.mjs +121 -0
  10. package/dist/ColorPicker-DK1jZSSj.mjs +248 -0
  11. package/dist/Combobox-BNzikc6h.mjs +259 -0
  12. package/dist/DateInput-BpCL_GE-.mjs +154 -0
  13. package/dist/DatePicker-BGt2KYR_.mjs +346 -0
  14. package/dist/Dialog-C_fbKqoA.mjs +178 -0
  15. package/dist/Drawer-DOOnBSMq.mjs +178 -0
  16. package/dist/Editable-Btl-QYDY.mjs +176 -0
  17. package/dist/Field-CEUQfFAn.mjs +143 -0
  18. package/dist/Fieldset-BWqjtIBF.mjs +118 -0
  19. package/dist/FileUpload-DHZf3u4d.mjs +232 -0
  20. package/dist/FloatingPanel-CkWYZ4MO.mjs +253 -0
  21. package/dist/HoverCard-c3tT648V.mjs +154 -0
  22. package/dist/ImageCropper-Dgyj2byr.mjs +155 -0
  23. package/dist/ImageViewer-CuTn5ho6.mjs +294 -0
  24. package/dist/{Input-CZhcEeFU.mjs → Input-DLfLshYU.mjs} +1 -1
  25. package/dist/InternalIcon-Clwbj4MY.mjs +19 -0
  26. package/dist/JsonTreeViewTree-IqoSdRQR.mjs +160 -0
  27. package/dist/Listbox-BQTnipRA.mjs +189 -0
  28. package/dist/Marquee-BOpZFSCo.mjs +123 -0
  29. package/dist/Menu-CxPWabm-.mjs +200 -0
  30. package/dist/{menubar-2MPo9w5z.mjs → Menubar-BC-ByvNh.mjs} +3 -13
  31. package/dist/NavigationMenu-BpQJwrv3.mjs +158 -0
  32. package/dist/NumberInput-FqS47j4x.mjs +174 -0
  33. package/dist/Pagination-OpR284GX.mjs +180 -0
  34. package/dist/PasswordInput-DxtreG-T.mjs +167 -0
  35. package/dist/PinInput-CgpLwgNu.mjs +142 -0
  36. package/dist/Popover-C2oWItCV.mjs +231 -0
  37. package/dist/Progress-ZSXSq5na.mjs +115 -0
  38. package/dist/QrCode-1i33zrFY.mjs +100 -0
  39. package/dist/RadioGroup-COvt4pCJ.mjs +161 -0
  40. package/dist/RatingGroup-Btui4It7.mjs +157 -0
  41. package/dist/ScrollArea-QeA9Z68Y.mjs +115 -0
  42. package/dist/SegmentGroup-BG8A5JPz.mjs +158 -0
  43. package/dist/Select-Dv0dqYII.mjs +263 -0
  44. package/dist/SignaturePad-Dc5YbZoV.mjs +170 -0
  45. package/dist/Slider-QPKs7Ub5.mjs +166 -0
  46. package/dist/{Spinner-DGAzGJ_8.mjs → Spinner-D-Lrgjmo.mjs} +1 -1
  47. package/dist/Splitter-BXyqbcwY.mjs +146 -0
  48. package/dist/StepsItem-BrDhhxjY.mjs +174 -0
  49. package/dist/Swap-DSxNn2gk.mjs +130 -0
  50. package/dist/Switch-AxmjfTNx.mjs +133 -0
  51. package/dist/Tabs-qsZIc6by.mjs +146 -0
  52. package/dist/TagsInput-Bz_NUGXo.mjs +231 -0
  53. package/dist/Timer-CXPRBF49.mjs +141 -0
  54. package/dist/Toast-B15KZZH0.mjs +129 -0
  55. package/dist/TocContent-DVP0_twz.mjs +207 -0
  56. package/dist/Toggle-CP2UGolY.mjs +101 -0
  57. package/dist/ToggleGroup-NRzTANnd.mjs +142 -0
  58. package/dist/Tooltip-BMFCR30g.mjs +194 -0
  59. package/dist/TreeViewNodeCheckbox-l1l6EYyz.mjs +292 -0
  60. package/dist/{affix-BtL4lBPi.mjs → affix-zZj9e2iB.mjs} +6 -5
  61. package/dist/{ai-action-DKsvxilp.mjs → ai-action-D3kQhycd.mjs} +4 -3
  62. package/dist/{ai-attachments-C0YVIKUc.mjs → ai-attachments-BuH2tjOv.mjs} +23 -24
  63. package/dist/{ai-message-DBs1fdFm.mjs → ai-message-DyQZXA7q.mjs} +3 -2
  64. package/dist/{ai-prompt-input-vh89e9EX.mjs → ai-prompt-input-CV683FB3.mjs} +29 -26
  65. package/dist/{ai-reasoning-C4YsB2hQ.mjs → ai-reasoning-CesP6H0y.mjs} +4 -3
  66. package/dist/{ai-response-BPQPjMlC.mjs → ai-response-Bu-iNsC-.mjs} +15 -7
  67. package/dist/{ai-source-CvglcFw1.mjs → ai-source-2eYEEt6r.mjs} +4 -3
  68. package/dist/{ai-suggestion-zGAQ1kkf.mjs → ai-suggestion-BtlG02Sz.mjs} +4 -3
  69. package/dist/{ai-tool-DY_iNbMk.mjs → ai-tool-pBb7sCz2.mjs} +4 -3
  70. package/dist/{alert-Xp8I8IY9.mjs → alert-ClMd57tZ.mjs} +16 -13
  71. package/dist/{aspect-ratio-COOgu44A.mjs → aspect-ratio-CIjPsfel.mjs} +3 -2
  72. package/dist/{autocomplete-Dhuhqp-6.mjs → autocomplete-b65dChlK.mjs} +12 -4
  73. package/dist/{avatar-group-BgIxNuVj.mjs → avatar-group-BL7PyLo1.mjs} +3 -2
  74. package/dist/{back-top-rbP0aP47.mjs → back-top-CJXLTyyZ.mjs} +8 -8
  75. package/dist/{badge-DKa-8Pv0.mjs → badge-N_KoQG_c.mjs} +3 -2
  76. package/dist/{banner-Bj3FFB-O.mjs → banner-fF1_G7qu.mjs} +6 -2
  77. package/dist/{bento-BTvt7gsB.mjs → bento-ChsvZJOE.mjs} +1 -1
  78. package/dist/{block-ui-CxsMoEoa.mjs → block-ui-CHajwHI5.mjs} +4 -3
  79. package/dist/{breadcrumb-CtBjVdxv.mjs → breadcrumb-g68_HJ2W.mjs} +1 -1
  80. package/dist/{browser-gmPTH6mJ.mjs → browser-KnMt333t.mjs} +2 -1
  81. package/dist/{button-BCcX7lHq.mjs → button-Cl45zjdj.mjs} +3 -2
  82. package/dist/{button-group-CVLqPMlR.mjs → button-group-D9mgSVlR.mjs} +3 -2
  83. package/dist/{calendar-BMXmRdwJ.mjs → calendar-D251DqRb.mjs} +100 -102
  84. package/dist/{card-Bc3B7MYz.mjs → card-DPVT_VaK.mjs} +1 -1
  85. package/dist/{cascade-select-CfvWchiN.mjs → cascade-select-C4OSlWpx.mjs} +32 -21
  86. package/dist/checkbox-group-CZSQvm6H.mjs +143 -0
  87. package/dist/{chip-mjLlbQ2t.mjs → chip-DputaHcF.mjs} +3 -2
  88. package/dist/{command-CZRC1T-6.mjs → command-CG6IfFZO.mjs} +4 -3
  89. package/dist/{comment-C91xgrtK.mjs → comment-DZ9l7mDZ.mjs} +3 -2
  90. package/dist/components/accordion/index.d.mts +4 -1
  91. package/dist/components/accordion/index.mjs +6 -3
  92. package/dist/components/affix/index.d.mts +1 -1
  93. package/dist/components/affix/index.mjs +1 -1
  94. package/dist/components/ai/index.d.mts +3 -3
  95. package/dist/components/ai/index.mjs +10 -9
  96. package/dist/components/ai-action/index.d.mts +3 -1
  97. package/dist/components/ai-action/index.mjs +1 -1
  98. package/dist/components/ai-attachments/index.d.mts +1 -1
  99. package/dist/components/ai-attachments/index.mjs +1 -1
  100. package/dist/components/ai-message/index.d.mts +3 -1
  101. package/dist/components/ai-message/index.mjs +1 -1
  102. package/dist/components/ai-prompt-input/index.d.mts +4 -2
  103. package/dist/components/ai-prompt-input/index.mjs +1 -1
  104. package/dist/components/ai-reasoning/index.d.mts +3 -1
  105. package/dist/components/ai-reasoning/index.mjs +1 -1
  106. package/dist/components/ai-response/index.d.mts +3 -1
  107. package/dist/components/ai-response/index.mjs +1 -1
  108. package/dist/components/ai-source/index.d.mts +6 -2
  109. package/dist/components/ai-source/index.mjs +1 -1
  110. package/dist/components/ai-suggestion/index.d.mts +3 -1
  111. package/dist/components/ai-suggestion/index.mjs +1 -1
  112. package/dist/components/ai-tool/index.d.mts +3 -1
  113. package/dist/components/ai-tool/index.mjs +1 -1
  114. package/dist/components/alert/index.mjs +1 -1
  115. package/dist/components/angle-slider/index.d.mts +2 -2
  116. package/dist/components/angle-slider/index.mjs +4 -3
  117. package/dist/components/aspect-ratio/index.d.mts +1 -1
  118. package/dist/components/aspect-ratio/index.mjs +1 -1
  119. package/dist/components/autocomplete/index.d.mts +1 -1
  120. package/dist/components/autocomplete/index.mjs +1 -1
  121. package/dist/components/avatar/index.d.mts +12 -2
  122. package/dist/components/avatar/index.mjs +14 -1
  123. package/dist/components/avatar-group/index.d.mts +1 -1
  124. package/dist/components/avatar-group/index.mjs +1 -1
  125. package/dist/components/back-top/index.d.mts +1 -1
  126. package/dist/components/back-top/index.mjs +1 -1
  127. package/dist/components/badge/index.d.mts +1 -1
  128. package/dist/components/badge/index.mjs +1 -1
  129. package/dist/components/banner/index.mjs +1 -1
  130. package/dist/components/bento/index.mjs +1 -1
  131. package/dist/components/block-ui/index.d.mts +1 -1
  132. package/dist/components/block-ui/index.mjs +1 -1
  133. package/dist/components/breadcrumb/index.mjs +1 -1
  134. package/dist/components/browser/index.d.mts +1 -0
  135. package/dist/components/browser/index.mjs +1 -1
  136. package/dist/components/button/index.d.mts +1 -1
  137. package/dist/components/button/index.mjs +1 -1
  138. package/dist/components/button-group/index.d.mts +1 -1
  139. package/dist/components/button-group/index.mjs +1 -1
  140. package/dist/components/calendar/index.d.mts +1 -1
  141. package/dist/components/calendar/index.mjs +1 -1
  142. package/dist/components/card/index.mjs +1 -1
  143. package/dist/components/carousel/index.d.mts +4 -1
  144. package/dist/components/carousel/index.mjs +6 -3
  145. package/dist/components/cascade-select/index.d.mts +1 -1
  146. package/dist/components/cascade-select/index.mjs +1 -1
  147. package/dist/components/checkbox/index.d.mts +2 -2
  148. package/dist/components/checkbox/index.mjs +4 -3
  149. package/dist/components/checkbox-group/index.d.mts +1 -1
  150. package/dist/components/checkbox-group/index.mjs +1 -1
  151. package/dist/components/chip/index.d.mts +1 -1
  152. package/dist/components/chip/index.mjs +1 -1
  153. package/dist/components/client-only/index.d.mts +7 -2
  154. package/dist/components/client-only/index.mjs +8 -1
  155. package/dist/components/clipboard/index.d.mts +1 -1
  156. package/dist/components/clipboard/index.mjs +4 -3
  157. package/dist/components/collapsible/index.d.mts +4 -1
  158. package/dist/components/collapsible/index.mjs +6 -3
  159. package/dist/components/color-picker/index.d.mts +2 -2
  160. package/dist/components/color-picker/index.mjs +4 -3
  161. package/dist/components/combobox/index.d.mts +2 -2
  162. package/dist/components/combobox/index.mjs +4 -3
  163. package/dist/components/command/index.d.mts +1 -1
  164. package/dist/components/command/index.mjs +1 -1
  165. package/dist/components/comment/index.d.mts +1 -1
  166. package/dist/components/comment/index.mjs +1 -1
  167. package/dist/components/config-provider/index.d.mts +1 -1
  168. package/dist/components/config-provider/index.mjs +1 -1
  169. package/dist/components/container/index.d.mts +1 -1
  170. package/dist/components/container/index.mjs +1 -1
  171. package/dist/components/data-view/index.d.mts +1 -1
  172. package/dist/components/data-view/index.mjs +1 -1
  173. package/dist/components/date-input/index.d.mts +2 -2
  174. package/dist/components/date-input/index.mjs +4 -3
  175. package/dist/components/date-picker/index.d.mts +2 -2
  176. package/dist/components/date-picker/index.mjs +4 -3
  177. package/dist/components/deferred-content/index.d.mts +1 -1
  178. package/dist/components/deferred-content/index.mjs +1 -1
  179. package/dist/components/descriptions/index.d.mts +1 -1
  180. package/dist/components/descriptions/index.mjs +1 -1
  181. package/dist/components/dialog/index.d.mts +4 -1
  182. package/dist/components/dialog/index.mjs +6 -3
  183. package/dist/components/dock/index.mjs +1 -1
  184. package/dist/components/download-trigger/index.d.mts +13 -2
  185. package/dist/components/download-trigger/index.mjs +8 -1
  186. package/dist/components/drawer/index.d.mts +4 -1
  187. package/dist/components/drawer/index.mjs +6 -3
  188. package/dist/components/dynamic-input/index.d.mts +1 -1
  189. package/dist/components/dynamic-input/index.mjs +1 -1
  190. package/dist/components/editable/index.d.mts +2 -2
  191. package/dist/components/editable/index.mjs +4 -3
  192. package/dist/components/ellipsis/index.d.mts +1 -1
  193. package/dist/components/ellipsis/index.mjs +1 -1
  194. package/dist/components/empty/index.mjs +1 -1
  195. package/dist/components/field/index.d.mts +4 -1
  196. package/dist/components/field/index.mjs +6 -3
  197. package/dist/components/fieldset/index.d.mts +4 -1
  198. package/dist/components/fieldset/index.mjs +6 -3
  199. package/dist/components/file-upload/index.d.mts +2 -2
  200. package/dist/components/file-upload/index.mjs +4 -3
  201. package/dist/components/float-button/index.mjs +1 -1
  202. package/dist/components/floating-panel/index.d.mts +4 -1
  203. package/dist/components/floating-panel/index.mjs +6 -3
  204. package/dist/components/focus-trap/index.d.mts +7 -2
  205. package/dist/components/focus-trap/index.mjs +8 -1
  206. package/dist/components/form/index.d.mts +1 -1
  207. package/dist/components/form/index.mjs +1 -1
  208. package/dist/components/frame/index.d.mts +3 -1
  209. package/dist/components/frame/index.mjs +2 -1
  210. package/dist/components/grid/index.d.mts +1 -1
  211. package/dist/components/grid/index.mjs +1 -1
  212. package/dist/components/highlight/index.d.mts +3 -1
  213. package/dist/components/highlight/index.mjs +3 -2
  214. package/dist/components/hover-card/index.d.mts +4 -1
  215. package/dist/components/hover-card/index.mjs +6 -3
  216. package/dist/components/icon/index.d.mts +1 -1
  217. package/dist/components/icon/index.mjs +1 -1
  218. package/dist/components/image/index.d.mts +1 -1
  219. package/dist/components/image/index.mjs +1 -1
  220. package/dist/components/image-cropper/index.d.mts +4 -1
  221. package/dist/components/image-cropper/index.mjs +6 -3
  222. package/dist/components/image-viewer/index.d.mts +2 -2
  223. package/dist/components/image-viewer/index.mjs +12 -1
  224. package/dist/components/input/index.d.mts +1 -1
  225. package/dist/components/input/index.mjs +3 -2
  226. package/dist/components/input-group/index.mjs +1 -1
  227. package/dist/components/json-tree-view/index.d.mts +6 -2
  228. package/dist/components/json-tree-view/index.mjs +6 -6
  229. package/dist/components/kbd/index.d.mts +1 -1
  230. package/dist/components/kbd/index.mjs +1 -1
  231. package/dist/components/layout/index.mjs +1 -1
  232. package/dist/components/link/index.d.mts +1 -1
  233. package/dist/components/link/index.mjs +1 -1
  234. package/dist/components/list/index.mjs +1 -1
  235. package/dist/components/listbox/index.d.mts +1 -1
  236. package/dist/components/listbox/index.mjs +4 -3
  237. package/dist/components/marquee/index.d.mts +4 -1
  238. package/dist/components/marquee/index.mjs +6 -3
  239. package/dist/components/masonry/index.d.mts +1 -1
  240. package/dist/components/masonry/index.mjs +1 -1
  241. package/dist/components/media-player/index.d.mts +3 -0
  242. package/dist/components/media-player/index.mjs +3 -0
  243. package/dist/components/mentions/index.d.mts +1 -1
  244. package/dist/components/mentions/index.mjs +1 -1
  245. package/dist/components/menu/index.d.mts +2 -2
  246. package/dist/components/menu/index.mjs +4 -3
  247. package/dist/components/menubar/index.d.mts +1 -1
  248. package/dist/components/menubar/index.mjs +13 -1
  249. package/dist/components/meter/index.mjs +1 -1
  250. package/dist/components/navigation-menu/index.d.mts +6 -2
  251. package/dist/components/navigation-menu/index.mjs +8 -4
  252. package/dist/components/number-input/index.d.mts +2 -2
  253. package/dist/components/number-input/index.mjs +4 -3
  254. package/dist/components/order-list/index.d.mts +1 -1
  255. package/dist/components/order-list/index.mjs +1 -1
  256. package/dist/components/page-header/index.mjs +1 -1
  257. package/dist/components/pagination/index.d.mts +2 -2
  258. package/dist/components/pagination/index.mjs +4 -3
  259. package/dist/components/password-input/index.d.mts +2 -2
  260. package/dist/components/password-input/index.mjs +4 -3
  261. package/dist/components/pin-input/index.d.mts +2 -2
  262. package/dist/components/pin-input/index.mjs +4 -3
  263. package/dist/components/popconfirm/index.d.mts +1 -1
  264. package/dist/components/popconfirm/index.mjs +1 -1
  265. package/dist/components/popover/index.d.mts +4 -1
  266. package/dist/components/popover/index.mjs +6 -3
  267. package/dist/components/presence/index.d.mts +8 -2
  268. package/dist/components/presence/index.mjs +9 -1
  269. package/dist/components/progress/index.d.mts +2 -2
  270. package/dist/components/progress/index.mjs +4 -3
  271. package/dist/components/progress-group/index.d.mts +1 -1
  272. package/dist/components/progress-group/index.mjs +1 -1
  273. package/dist/components/qr-code/index.d.mts +4 -1
  274. package/dist/components/qr-code/index.mjs +6 -3
  275. package/dist/components/radio-group/index.d.mts +2 -2
  276. package/dist/components/radio-group/index.mjs +4 -3
  277. package/dist/components/rating-group/index.d.mts +2 -2
  278. package/dist/components/rating-group/index.mjs +5 -4
  279. package/dist/components/result/index.d.mts +3 -0
  280. package/dist/components/result/index.mjs +1 -1
  281. package/dist/components/scroll-area/index.d.mts +4 -1
  282. package/dist/components/scroll-area/index.mjs +6 -3
  283. package/dist/components/segment-group/index.d.mts +2 -2
  284. package/dist/components/segment-group/index.mjs +4 -3
  285. package/dist/components/select/index.d.mts +1 -1
  286. package/dist/components/select/index.mjs +1 -1
  287. package/dist/components/separator/index.d.mts +1 -1
  288. package/dist/components/separator/index.mjs +1 -1
  289. package/dist/components/signature-pad/index.d.mts +4 -1
  290. package/dist/components/signature-pad/index.mjs +6 -3
  291. package/dist/components/skeleton/index.d.mts +1 -1
  292. package/dist/components/skeleton/index.mjs +1 -1
  293. package/dist/components/slider/index.d.mts +2 -2
  294. package/dist/components/slider/index.mjs +4 -3
  295. package/dist/components/spinner/index.d.mts +1 -1
  296. package/dist/components/spinner/index.mjs +3 -2
  297. package/dist/components/split-button/index.d.mts +1 -1
  298. package/dist/components/split-button/index.mjs +1 -1
  299. package/dist/components/splitter/index.d.mts +4 -1
  300. package/dist/components/splitter/index.mjs +6 -3
  301. package/dist/components/spotlight/index.d.mts +1 -1
  302. package/dist/components/spotlight/index.mjs +1 -1
  303. package/dist/components/stack/index.d.mts +1 -1
  304. package/dist/components/stack/index.mjs +1 -1
  305. package/dist/components/stat/index.mjs +1 -1
  306. package/dist/components/steps/index.d.mts +2 -2
  307. package/dist/components/steps/index.mjs +4 -3
  308. package/dist/components/swap/index.d.mts +8 -5
  309. package/dist/components/swap/index.mjs +11 -6
  310. package/dist/components/switch/index.d.mts +2 -2
  311. package/dist/components/switch/index.mjs +4 -3
  312. package/dist/components/table/index.d.mts +1 -1
  313. package/dist/components/table/index.mjs +1 -1
  314. package/dist/components/tabs/index.d.mts +2 -2
  315. package/dist/components/tabs/index.mjs +4 -3
  316. package/dist/components/tags-input/index.d.mts +2 -2
  317. package/dist/components/tags-input/index.mjs +4 -3
  318. package/dist/components/terminal/index.d.mts +1 -1
  319. package/dist/components/terminal/index.mjs +1 -1
  320. package/dist/components/textarea/index.d.mts +1 -1
  321. package/dist/components/textarea/index.mjs +1 -1
  322. package/dist/components/timeline/index.mjs +1 -1
  323. package/dist/components/timer/index.d.mts +4 -1
  324. package/dist/components/timer/index.mjs +6 -3
  325. package/dist/components/toast/index.d.mts +7 -2
  326. package/dist/components/toast/index.mjs +7 -4
  327. package/dist/components/toc/index.d.mts +5 -3
  328. package/dist/components/toc/index.mjs +8 -7
  329. package/dist/components/toggle/index.d.mts +4 -1
  330. package/dist/components/toggle/index.mjs +6 -3
  331. package/dist/components/toggle-group/index.d.mts +2 -2
  332. package/dist/components/toggle-group/index.mjs +4 -3
  333. package/dist/components/toolbar/index.d.mts +1 -1
  334. package/dist/components/toolbar/index.mjs +1 -1
  335. package/dist/components/tooltip/index.d.mts +4 -1
  336. package/dist/components/tooltip/index.mjs +6 -3
  337. package/dist/components/tour/index.d.mts +10 -8
  338. package/dist/components/tour/index.mjs +13 -9
  339. package/dist/components/transfer/index.d.mts +1 -1
  340. package/dist/components/transfer/index.mjs +1 -1
  341. package/dist/components/tree-select/index.d.mts +1 -1
  342. package/dist/components/tree-select/index.mjs +1 -1
  343. package/dist/components/tree-view/index.d.mts +1 -1
  344. package/dist/components/tree-view/index.mjs +4 -3
  345. package/dist/components/typography/index.d.mts +1 -1
  346. package/dist/components/typography/index.mjs +1 -1
  347. package/dist/components/user/index.d.mts +1 -1
  348. package/dist/components/user/index.mjs +1 -1
  349. package/dist/components/virtual-list/index.d.mts +1 -1
  350. package/dist/components/virtual-list/index.mjs +1 -1
  351. package/dist/components/watermark/index.d.mts +1 -1
  352. package/dist/components/watermark/index.mjs +1 -1
  353. package/dist/{config-provider-CZJyd3MX.mjs → config-provider-Ca8wCLcK.mjs} +2 -1
  354. package/dist/{container-Cmiu_3W5.mjs → container-CkhoYrC5.mjs} +3 -2
  355. package/dist/{data-view-BORK23XZ.mjs → data-view-Ls3J45mK.mjs} +3 -2
  356. package/dist/{deferred-content-CO9YsKMQ.mjs → deferred-content-SoEpwCs-.mjs} +3 -2
  357. package/dist/{descriptions-DgkA_9B-.mjs → descriptions-DGuEJmgX.mjs} +91 -44
  358. package/dist/{dock-CKGRnXWu.mjs → dock-BFyqUHAo.mjs} +1 -1
  359. package/dist/{dynamic-input-D1a-5vy-.mjs → dynamic-input-5H3wZSDs.mjs} +10 -10
  360. package/dist/{ellipsis-CLaZ9Grh.mjs → ellipsis-ChktH2CQ.mjs} +3 -2
  361. package/dist/{empty-wwcTI107.mjs → empty-CINZ_PLj.mjs} +1 -1
  362. package/dist/family-CzLaku1F.mjs +12 -0
  363. package/dist/{float-button-BLIHnw2u.mjs → float-button-DK8hviBz.mjs} +16 -8
  364. package/dist/{form-BTL9S1gn.mjs → form-pjuBsPy-.mjs} +78 -98
  365. package/dist/{grid-DNgTWYSL.mjs → grid-CinYh-s4.mjs} +3 -2
  366. package/dist/{icon-D7AeDq0M.mjs → icon-BF1JO1ek.mjs} +11 -8
  367. package/dist/icon-lWVQxDG6.mjs +18 -0
  368. package/dist/id-Alz497yI.mjs +7 -0
  369. package/dist/{image-u_H4LtAC.mjs → image-ojKJgHcu.mjs} +13 -10
  370. package/dist/{index-KoqiUxmN.d.mts → index-3TmqYBnT.d.mts} +3 -1
  371. package/dist/index-550dAp3p.d.mts +35 -0
  372. package/dist/index-9GiGGnGa.d.mts +136 -0
  373. package/dist/{index-ZUvVz2Fd.d.mts → index-BFKqgbq-.d.mts} +3 -1
  374. package/dist/{index-CY4EuxyF.d.mts → index-BIHw8Gzt.d.mts} +3 -1
  375. package/dist/{index-DGOBhwXN.d.mts → index-BKZC0MtK.d.mts} +3 -1
  376. package/dist/{index-Dy335EhR.d.mts → index-BfpbvgWG.d.mts} +2 -2
  377. package/dist/{index-zZy5ZnA5.d.mts → index-BhTdJwBA.d.mts} +3 -1
  378. package/dist/{index-0k-VxNRm.d.mts → index-BhXsxcRN.d.mts} +5 -1
  379. package/dist/{index-BIIMyeLK.d.mts → index-BiwW7REL.d.mts} +3 -1
  380. package/dist/{index-k0ac5WNj.d.mts → index-ByxBpSC4.d.mts} +3 -1
  381. package/dist/{index-D1tQgtT0.d.mts → index-C-sa4baY.d.mts} +5 -3
  382. package/dist/{index-D_cE3qK2.d.mts → index-C-wU4kAX.d.mts} +3 -1
  383. package/dist/{index-D88v0BF1.d.mts → index-C0b8N_Aa.d.mts} +3 -1
  384. package/dist/{index-D9UBDdoA.d.mts → index-C5hCBtt4.d.mts} +3 -1
  385. package/dist/{index-CaVBzPln.d.mts → index-C6UrUbj8.d.mts} +3 -1
  386. package/dist/{index-BJvo4qep.d.mts → index-C785xRlX.d.mts} +2 -2
  387. package/dist/{index-C84DUNp9.d.mts → index-CC_yY588.d.mts} +3 -1
  388. package/dist/{index-D6eYSdmD.d.mts → index-CGKWHB6A.d.mts} +5 -3
  389. package/dist/{index-DOcn6bMd.d.mts → index-CKaCfx0p.d.mts} +3 -1
  390. package/dist/{index-D1U7Svy2.d.mts → index-CMVb7mmq.d.mts} +6 -2
  391. package/dist/{index-BTndXl0q.d.mts → index-COWyuYkn.d.mts} +3 -1
  392. package/dist/{index-BFL_M4PT.d.mts → index-CV5LaGMy.d.mts} +3 -1
  393. package/dist/{index-BwFSueFx.d.mts → index-CWzdSZ-F.d.mts} +3 -1
  394. package/dist/{index-wDHiUpr6.d.mts → index-CXbdZAgD.d.mts} +7 -3
  395. package/dist/{index-DBbjFiDd.d.mts → index-CYtinraa.d.mts} +3 -1
  396. package/dist/{index-CeIQyZkc.d.mts → index-CZ0P3C6E.d.mts} +1 -0
  397. package/dist/{index-CtbGSRNw.d.mts → index-CacS_uni.d.mts} +167 -99
  398. package/dist/{index-BEfqqxjl.d.mts → index-Cbc4doAM.d.mts} +7 -0
  399. package/dist/{index-BolxaoaW.d.mts → index-Cbd88ftD.d.mts} +3 -1
  400. package/dist/{index-BmFfkztS.d.mts → index-ChqP3kbL.d.mts} +3 -1
  401. package/dist/{index-CLoTtvcO.d.mts → index-CuonhYXR.d.mts} +3 -1
  402. package/dist/{index-CwM-SPPz.d.mts → index-CvDp7tiS.d.mts} +3 -1
  403. package/dist/{index-YCVah82j.d.mts → index-CyVykdGO.d.mts} +3 -1
  404. package/dist/{index-D0lEVqZc.d.mts → index-D2B6EH5P.d.mts} +3 -1
  405. package/dist/{index--K4P_QKU.d.mts → index-D61_Lx9o.d.mts} +3 -1
  406. package/dist/{index-Bj2IsU9D.d.mts → index-DAnDXxRZ.d.mts} +3 -1
  407. package/dist/{index-CKFfSEBR.d.mts → index-DC6AI8rV.d.mts} +3 -1
  408. package/dist/{index-OElK7gw7.d.mts → index-DCpx_Rui.d.mts} +3 -1
  409. package/dist/{index-_kQsvJKo.d.mts → index-DEWaAoNb.d.mts} +8 -7
  410. package/dist/{index-DfTAYXUT.d.mts → index-DGsu3J-2.d.mts} +3 -1
  411. package/dist/{index-oI4U-72X.d.mts → index-DQAelfXy.d.mts} +3 -1
  412. package/dist/{index-Cd4UxWsz.d.mts → index-DWlpILHb.d.mts} +3 -1
  413. package/dist/{index-Dr-T8jsb.d.mts → index-DXXhfdQC.d.mts} +3 -1
  414. package/dist/{index-KxuOZGfm.d.mts → index-DXw6GBt8.d.mts} +2 -2
  415. package/dist/{index-DKDpZraB.d.mts → index-D_fO4kp1.d.mts} +11 -2
  416. package/dist/{index-B1iBag3L.d.mts → index-DpzuwMB7.d.mts} +3 -1
  417. package/dist/{index-DjaHpB21.d.mts → index-Dq4bm9bV.d.mts} +3 -1
  418. package/dist/{index-nfkt_cP_.d.mts → index-DwVr4QfC.d.mts} +3 -1
  419. package/dist/{index-CAb_-2Bn.d.mts → index-Dxktk3O7.d.mts} +3 -1
  420. package/dist/{index-8JoOZcM6.d.mts → index-DzohdB6p.d.mts} +3 -1
  421. package/dist/{index-CM6inLqu.d.mts → index-IR-e1YzH.d.mts} +4 -2
  422. package/dist/{index-CkFXH_oG.d.mts → index-LXovbafa.d.mts} +3 -1
  423. package/dist/{index-mshFOd-j.d.mts → index-e1MA6eIk.d.mts} +3 -1
  424. package/dist/{index-BkGvErBJ.d.mts → index-eQIdP9QO.d.mts} +3 -1
  425. package/dist/{index-XHTt8I1B.d.mts → index-evrdvWRI.d.mts} +3 -1
  426. package/dist/{index-CjNUtqX_.d.mts → index-oF_zauHL.d.mts} +3 -1
  427. package/dist/{index-C8WNp4wI.d.mts → index-pV9TgrxW.d.mts} +3 -1
  428. package/dist/{index-B2JKtCzc.d.mts → index-znAFQEmQ.d.mts} +9 -5
  429. package/dist/index.d.mts +66 -63
  430. package/dist/index.mjs +84 -81
  431. package/dist/{input-group-DeKewnvZ.mjs → input-group-B-F5Gpvl.mjs} +1 -1
  432. package/dist/{kbd-LXHpi4GM.mjs → kbd-aFsisVbG.mjs} +3 -2
  433. package/dist/{layout-GfxGYYhg.mjs → layout-DquD9Olk.mjs} +2 -2
  434. package/dist/{link-CuNiatc7.mjs → link-qWntJ94C.mjs} +3 -2
  435. package/dist/{list-BgEM9H3z.mjs → list-C-2CqZtn.mjs} +1 -1
  436. package/dist/{masonry-B4-v4kJ0.mjs → masonry-CDKPD9gL.mjs} +3 -2
  437. package/dist/media-player-CfMaLa8v.mjs +808 -0
  438. package/dist/mentions-fRKivTvN.mjs +256 -0
  439. package/dist/{meter-BgsJ2g-v.mjs → meter-BUcdK4Ln.mjs} +1 -1
  440. package/dist/{order-list-D3EhH7EX.mjs → order-list-06iEy0em.mjs} +3 -2
  441. package/dist/{page-header-DKpKUkTe.mjs → page-header-ByucbXX7.mjs} +1 -1
  442. package/dist/{popconfirm-NK5BPbrN.mjs → popconfirm-BVTFOLDu.mjs} +53 -26
  443. package/dist/{progress-group-BQMAQWXh.mjs → progress-group-CkFZNtnC.mjs} +4 -3
  444. package/dist/{props-U567RIQo.d.mts → props-DL-XfEtS.d.mts} +1 -1
  445. package/dist/{result-4Oee2ndu.mjs → result-CwLNxqk-.mjs} +2 -1
  446. package/dist/{select-8ume4i2e.mjs → select-E3cvud0r.mjs} +12 -7
  447. package/dist/{separator-4JWXConE.mjs → separator-I0MEoHjO.mjs} +3 -2
  448. package/dist/{skeleton-DOfOrlmL.mjs → skeleton-BHn0Emeh.mjs} +3 -2
  449. package/dist/{split-button-DnmVc_J0.mjs → split-button-BIkQu0B7.mjs} +21 -16
  450. package/dist/{spotlight-DMC5E1eS.mjs → spotlight-Apoc1iQX.mjs} +3 -2
  451. package/dist/{stack-DCKrejZp.mjs → stack-uMjCwn_2.mjs} +6 -5
  452. package/dist/{stat-5cTU1vyI.mjs → stat-DQ-5P4Gr.mjs} +1 -1
  453. package/dist/{table-BsdqRuvj.mjs → table-847YLjld.mjs} +234 -183
  454. package/dist/{terminal-Dgw5JEz4.mjs → terminal-DQAU6DW7.mjs} +3 -2
  455. package/dist/{textarea-DzDc678j.mjs → textarea-ClX5LWLE.mjs} +3 -2
  456. package/dist/{timeline-1yPOTbtY.mjs → timeline-RyLnUiMA.mjs} +1 -1
  457. package/dist/{toolbar-SNwuRrJr.mjs → toolbar-BTM5B0Nt.mjs} +3 -2
  458. package/dist/{transfer-C0FLA8W1.mjs → transfer-D4UANNwH.mjs} +14 -18
  459. package/dist/{tree-select-CSYSYZDN.mjs → tree-select-CyjhG4ZB.mjs} +66 -63
  460. package/dist/{typography-Cygr9XaD.mjs → typography-DUWj7wex.mjs} +2 -1
  461. package/dist/use-media-controls-BYYG0DgO.mjs +149 -0
  462. package/dist/use-tour-BfS5dCZb.mjs +180 -0
  463. package/dist/{user-BjJSjDYV.mjs → user--GneY3yN.mjs} +3 -2
  464. package/dist/{virtual-list-_10ypBUP.mjs → virtual-list-h85_wJw5.mjs} +13 -7
  465. package/dist/{watermark-C2d3-EAM.mjs → watermark-CHUTjZ6E.mjs} +4 -3
  466. package/package.json +10 -38
  467. package/dist/AngleSliderRoot-CUe5sgWU.mjs +0 -37
  468. package/dist/CheckboxRoot-BP4ynFLq.mjs +0 -37
  469. package/dist/ChevronIcon-CVJJYda-.mjs +0 -11
  470. package/dist/ClipboardRoot-UmyQFn27.mjs +0 -37
  471. package/dist/ColorPickerRoot-DLgI9s3u.mjs +0 -37
  472. package/dist/ComboboxRoot-BsVcmUOj.mjs +0 -37
  473. package/dist/DateInputRoot-nROaFmB7.mjs +0 -37
  474. package/dist/DatePickerRoot-CkeHEAcG.mjs +0 -37
  475. package/dist/EditableRoot-CLmP5sIH.mjs +0 -37
  476. package/dist/FileUploadTrigger-BgAcpLXx.mjs +0 -73
  477. package/dist/JsonTreeViewTree-CqRP_PwV.mjs +0 -71
  478. package/dist/ListboxRoot-DhFAnZ_c.mjs +0 -37
  479. package/dist/MenuRoot-C4zG0iw2.mjs +0 -80
  480. package/dist/NumberInputRoot-BQz2HHGb.mjs +0 -37
  481. package/dist/PaginationRoot-DnXcEZCa.mjs +0 -37
  482. package/dist/PasswordInputRoot-4yR0Aig4.mjs +0 -37
  483. package/dist/PinInputRoot-B8fTxTlv.mjs +0 -37
  484. package/dist/ProgressRoot-DwhwW31T.mjs +0 -37
  485. package/dist/RadioGroupRoot-BD_mxWjX.mjs +0 -37
  486. package/dist/RatingGroupRoot-iUWUAKtV.mjs +0 -37
  487. package/dist/SegmentGroupRoot-798Amg4S.mjs +0 -37
  488. package/dist/SelectRoot-l-rb18FH.mjs +0 -37
  489. package/dist/SliderRoot-BBIlf6Uw.mjs +0 -37
  490. package/dist/StepsRoot-C_FYfShw.mjs +0 -63
  491. package/dist/SwitchRoot-C7rPmjEA.mjs +0 -37
  492. package/dist/TabsRoot-DXd41HqW.mjs +0 -41
  493. package/dist/TagsInputRoot-COSQdHRz.mjs +0 -37
  494. package/dist/TocIndicator-DPnZxTJ2.mjs +0 -30
  495. package/dist/ToggleGroupRoot-D0ob9z4u.mjs +0 -37
  496. package/dist/TreeViewRoot-RBynRAly.mjs +0 -108
  497. package/dist/checkbox-group-ARW_z7gp.mjs +0 -130
  498. package/dist/image-viewer-DzoEcVSn.mjs +0 -202
  499. package/dist/index-CV1LSzq5.d.mts +0 -25
  500. package/dist/index-DG4OAuIf.d.mts +0 -26
  501. package/dist/mentions-DjhgNRmY.mjs +0 -204
@@ -1,19 +1,9 @@
1
- import { injectComponentStyle } from "@bysages/core";
1
+ import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
2
2
  import "svelte/internal/disclose-version";
3
3
  import * as $ from "svelte/internal/client";
4
- import { Field } from "@ark-ui/svelte/field";
5
- import { getContext, setContext } from "svelte";
4
+ import { injectComponentStyle } from "@bysages/core/styling";
5
+ import { getContext, untrack } from "svelte";
6
6
  import { createField, createField as useField, createForm, createForm as useForm } from "@tanstack/svelte-form";
7
- //#region src/components/form/context.ts
8
- const FORM_KEY = Symbol("bysages-form");
9
- function provideForm(engine) {
10
- setContext(FORM_KEY, engine);
11
- return engine;
12
- }
13
- function useForm$1() {
14
- return getContext(FORM_KEY) ?? null;
15
- }
16
- //#endregion
17
7
  //#region src/components/form/Form.svelte
18
8
  var rest_excludes$1 = /* @__PURE__ */ new Set([
19
9
  "$$slots",
@@ -27,7 +17,7 @@ function Form$1($$anchor, $$props) {
27
17
  $.push($$props, true);
28
18
  injectComponentStyle("form");
29
19
  let rest = $.rest_props($$props, rest_excludes$1);
30
- provideForm($$props.form);
20
+ provideForm(untrack(() => $$props.form));
31
21
  var form_1 = root$1();
32
22
  var event_handler = (event) => {
33
23
  event.preventDefault();
@@ -47,6 +37,12 @@ function Form$1($$anchor, $$props) {
47
37
  $.pop();
48
38
  }
49
39
  //#endregion
40
+ //#region src/components/form/context.ts
41
+ const FORM_KEY = Symbol("bysages-form");
42
+ function useForm$1() {
43
+ return getContext(FORM_KEY) ?? null;
44
+ }
45
+ //#endregion
50
46
  //#region src/components/form/FormField.svelte
51
47
  var rest_excludes = /* @__PURE__ */ new Set([
52
48
  "$$slots",
@@ -77,85 +73,68 @@ function FormField$1($$anchor, $$props) {
77
73
  var node = $.child(div);
78
74
  {
79
75
  let $0 = $.derived(() => invalid() || $.get(errors).length > 0);
80
- $.component(node, () => Field.Root, ($$anchor, ArkField_Root) => {
81
- ArkField_Root($$anchor, {
82
- get invalid() {
83
- return $.get($0);
84
- },
85
- get required() {
86
- return required();
87
- },
88
- get disabled() {
89
- return disabled();
90
- },
91
- children: ($$anchor, $$slotProps) => {
92
- var fragment = root();
93
- var node_1 = $.first_child(fragment);
94
- var consequent = ($$anchor) => {
95
- var fragment_1 = $.comment();
96
- var node_2 = $.first_child(fragment_1);
97
- $.component(node_2, () => Field.Label, ($$anchor, ArkField_Label) => {
98
- ArkField_Label($$anchor, {
99
- children: ($$anchor, $$slotProps) => {
100
- $.next();
101
- var text = $.text();
102
- $.template_effect(() => $.set_text(text, $$props.label));
103
- $.append($$anchor, text);
104
- },
105
- $$slots: { default: true }
106
- });
107
- });
108
- $.append($$anchor, fragment_1);
109
- };
110
- $.if(node_1, ($$render) => {
111
- if ($$props.label) $$render(consequent);
76
+ ArkField.Root(node, {
77
+ get invalid() {
78
+ return $.get($0);
79
+ },
80
+ get required() {
81
+ return required();
82
+ },
83
+ get disabled() {
84
+ return disabled();
85
+ },
86
+ children: ($$anchor, $$slotProps) => {
87
+ var fragment = root();
88
+ var node_1 = $.first_child(fragment);
89
+ var consequent = ($$anchor) => {
90
+ ArkField.Label($$anchor, {
91
+ children: ($$anchor, $$slotProps) => {
92
+ $.next();
93
+ var text = $.text();
94
+ $.template_effect(() => $.set_text(text, $$props.label));
95
+ $.append($$anchor, text);
96
+ },
97
+ $$slots: { default: true }
112
98
  });
113
- var node_3 = $.sibling(node_1, 2);
114
- $.snippet(node_3, () => $$props.children ?? $.noop, field);
115
- var node_4 = $.sibling(node_3, 2);
116
- var consequent_1 = ($$anchor) => {
117
- var fragment_3 = $.comment();
118
- var node_5 = $.first_child(fragment_3);
119
- $.component(node_5, () => Field.HelperText, ($$anchor, ArkField_HelperText) => {
120
- ArkField_HelperText($$anchor, {
121
- children: ($$anchor, $$slotProps) => {
122
- $.next();
123
- var text_1 = $.text();
124
- $.template_effect(() => $.set_text(text_1, $$props.hint));
125
- $.append($$anchor, text_1);
126
- },
127
- $$slots: { default: true }
128
- });
129
- });
130
- $.append($$anchor, fragment_3);
131
- };
132
- $.if(node_4, ($$render) => {
133
- if ($$props.hint && $.get(errors).length === 0) $$render(consequent_1);
99
+ };
100
+ $.if(node_1, ($$render) => {
101
+ if ($$props.label) $$render(consequent);
102
+ });
103
+ var node_2 = $.sibling(node_1, 2);
104
+ $.snippet(node_2, () => $$props.children ?? $.noop, field);
105
+ var node_3 = $.sibling(node_2, 2);
106
+ var consequent_1 = ($$anchor) => {
107
+ ArkField.HelperText($$anchor, {
108
+ children: ($$anchor, $$slotProps) => {
109
+ $.next();
110
+ var text_1 = $.text();
111
+ $.template_effect(() => $.set_text(text_1, $$props.hint));
112
+ $.append($$anchor, text_1);
113
+ },
114
+ $$slots: { default: true }
134
115
  });
135
- var node_6 = $.sibling(node_4, 2);
136
- var consequent_2 = ($$anchor) => {
137
- var fragment_5 = $.comment();
138
- var node_7 = $.first_child(fragment_5);
139
- $.component(node_7, () => Field.ErrorText, ($$anchor, ArkField_ErrorText) => {
140
- ArkField_ErrorText($$anchor, {
141
- children: ($$anchor, $$slotProps) => {
142
- $.next();
143
- var text_2 = $.text();
144
- $.template_effect(() => $.set_text(text_2, $.get(errors)[0]));
145
- $.append($$anchor, text_2);
146
- },
147
- $$slots: { default: true }
148
- });
149
- });
150
- $.append($$anchor, fragment_5);
151
- };
152
- $.if(node_6, ($$render) => {
153
- if ($.get(errors).length > 0) $$render(consequent_2);
116
+ };
117
+ $.if(node_3, ($$render) => {
118
+ if ($$props.hint && $.get(errors).length === 0) $$render(consequent_1);
119
+ });
120
+ var node_4 = $.sibling(node_3, 2);
121
+ var consequent_2 = ($$anchor) => {
122
+ ArkField.ErrorText($$anchor, {
123
+ children: ($$anchor, $$slotProps) => {
124
+ $.next();
125
+ var text_2 = $.text();
126
+ $.template_effect(() => $.set_text(text_2, $.get(errors)[0]));
127
+ $.append($$anchor, text_2);
128
+ },
129
+ $$slots: { default: true }
154
130
  });
155
- $.append($$anchor, fragment);
156
- },
157
- $$slots: { default: true }
158
- });
131
+ };
132
+ $.if(node_4, ($$render) => {
133
+ if ($.get(errors).length > 0) $$render(consequent_2);
134
+ });
135
+ $.append($$anchor, fragment);
136
+ },
137
+ $$slots: { default: true }
159
138
  });
160
139
  }
161
140
  $.reset(div);
@@ -163,7 +142,8 @@ function FormField$1($$anchor, $$props) {
163
142
  };
164
143
  injectComponentStyle("form");
165
144
  let required = $.prop($$props, "required", 3, false), invalid = $.prop($$props, "invalid", 3, false), disabled = $.prop($$props, "disabled", 3, false), rest = $.rest_props($$props, rest_excludes);
166
- const engine = $$props.form ?? useForm$1();
145
+ const injectedForm = untrack(() => useForm$1());
146
+ const engine = $.derived(() => $$props.form ?? injectedForm);
167
147
  function errorText(error) {
168
148
  if (error == null) return "";
169
149
  if (typeof error === "string") return error;
@@ -171,15 +151,15 @@ function FormField$1($$anchor, $$props) {
171
151
  return String(error);
172
152
  }
173
153
  var fragment_7 = $.comment();
174
- var node_8 = $.first_child(fragment_7);
154
+ var node_5 = $.first_child(fragment_7);
175
155
  var consequent_3 = ($$anchor) => {
176
156
  var fragment_8 = $.comment();
177
- var node_9 = $.first_child(fragment_8);
157
+ var node_6 = $.first_child(fragment_8);
178
158
  {
179
159
  const children = ($$anchor, field = $.noop) => {
180
160
  assemble($$anchor, field);
181
161
  };
182
- $.component(node_9, () => engine.Field, ($$anchor, engine_Field) => {
162
+ $.component(node_6, () => $.get(engine).Field, ($$anchor, engine_Field) => {
183
163
  engine_Field($$anchor, $.spread_props(() => rest, {
184
164
  get name() {
185
165
  return $$props.name;
@@ -194,8 +174,8 @@ function FormField$1($$anchor, $$props) {
194
174
  var alternate = ($$anchor) => {
195
175
  assemble($$anchor, () => void 0);
196
176
  };
197
- $.if(node_8, ($$render) => {
198
- if (engine) $$render(consequent_3);
177
+ $.if(node_5, ($$render) => {
178
+ if ($.get(engine)) $$render(consequent_3);
199
179
  else $$render(alternate, -1);
200
180
  });
201
181
  $.append($$anchor, fragment_7);
@@ -205,8 +185,8 @@ function FormField$1($$anchor, $$props) {
205
185
  //#region src/components/form/index.ts
206
186
  /** The engine owns the values and the validation; these two are the
207
187
  * assembly — one grid, one error routing. */
208
- const Form = Form$1;
209
- const FormField = FormField$1;
188
+ const Form = withSelfRoot(Form$1);
189
+ const FormField = withSelfRoot(FormField$1);
210
190
  injectComponentStyle("field");
211
191
  //#endregion
212
192
  export { useField as a, createForm as i, FormField as n, useForm as o, createField as r, Form as t };
@@ -1,6 +1,7 @@
1
- import { injectComponentStyle } from "@bysages/core";
1
+ import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
2
2
  import "svelte/internal/disclose-version";
3
3
  import * as $ from "svelte/internal/client";
4
+ import { injectComponentStyle } from "@bysages/core/styling";
4
5
  //#region src/components/grid/Grid.svelte
5
6
  var rest_excludes = /* @__PURE__ */ new Set([
6
7
  "$$slots",
@@ -49,6 +50,6 @@ function Grid$1($$anchor, $$props) {
49
50
  //#region src/components/grid/index.ts
50
51
  /** An alignment lattice: tracks of equal measure, sized by column count
51
52
  * — or, with `minChildWidth`, as many tracks as the container fits. */
52
- const Grid = Grid$1;
53
+ const Grid = withSelfRoot(Grid$1);
53
54
  //#endregion
54
55
  export { Grid as t };
@@ -1,6 +1,7 @@
1
- import { injectComponentStyle } from "@bysages/core";
1
+ import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
2
2
  import "svelte/internal/disclose-version";
3
3
  import * as $ from "svelte/internal/client";
4
+ import { injectComponentStyle } from "@bysages/core/styling";
4
5
  import { getIcon } from "@bysages/core/icons";
5
6
  //#region src/components/icon/Icon.svelte
6
7
  var rest_excludes = /* @__PURE__ */ new Set([
@@ -19,8 +20,10 @@ function Icon$1($$anchor, $$props) {
19
20
  $.push($$props, true);
20
21
  injectComponentStyle("icon");
21
22
  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`);
23
+ const resolved = $.derived(() => $$props.glyph ?? ($$props.name && $$props.children == null ? getIcon($$props.name) : void 0));
24
+ $.user_effect(() => {
25
+ if ($$props.name && $$props.children == null && $$props.glyph == null && !$.get(resolved)) console.error(`[icons] unknown icon name "${$$props.name}" — not in the core default registry; pass it explicitly as glyph`);
26
+ });
24
27
  var span = root_1();
25
28
  $.attribute_effect(span, () => ({
26
29
  ...rest,
@@ -40,14 +43,14 @@ function Icon$1($$anchor, $$props) {
40
43
  };
41
44
  var consequent_1 = ($$anchor) => {
42
45
  var svg = root();
43
- $.html(svg, () => resolved.body, true);
46
+ $.html(svg, () => $.get(resolved).body, true);
44
47
  $.reset(svg);
45
- $.template_effect(() => $.set_attribute(svg, "viewBox", `0 0 ${resolved.width ?? 24 ?? ""} ${resolved.height ?? 24 ?? ""}`));
48
+ $.template_effect(() => $.set_attribute(svg, "viewBox", `0 0 ${$.get(resolved).width ?? 24 ?? ""} ${$.get(resolved).height ?? 24 ?? ""}`));
46
49
  $.append($$anchor, svg);
47
50
  };
48
51
  $.if(node, ($$render) => {
49
52
  if ($$props.children) $$render(consequent);
50
- else if (resolved) $$render(consequent_1, 1);
53
+ else if ($.get(resolved)) $$render(consequent_1, 1);
51
54
  });
52
55
  $.reset(span);
53
56
  $.append($$anchor, span);
@@ -57,7 +60,7 @@ function Icon$1($$anchor, $$props) {
57
60
  //#region src/components/icon/index.ts
58
61
  /** The inkwell: a standard box that keeps any inline svg at its optical
59
62
  * 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;
63
+ * no size of its own. Bring the icon; it ships no set. */
64
+ const Icon = withSelfRoot(Icon$1);
62
65
  //#endregion
63
66
  export { Icon as t };
@@ -0,0 +1,18 @@
1
+ import { getIcon } from "@bysages/core/icons";
2
+ //#region src/internal/icon.ts
3
+ /** Render a curated core icon as an SVG string, for enhancements that write
4
+ * innerHTML rather than mount elements. */
5
+ function iconHtml(name, attrs = {}) {
6
+ const icon = getIcon(name);
7
+ if (!icon) throw new Error(`Unknown icon "${name}" in the curated core registry`);
8
+ const attributes = {
9
+ width: String(icon.width),
10
+ height: String(icon.height),
11
+ viewBox: `0 0 ${icon.width} ${icon.height}`,
12
+ "aria-hidden": "true",
13
+ ...attrs
14
+ };
15
+ return `<svg${Object.entries(attributes).map(([key, value]) => ` ${key}="${value}"`).join("")}>${icon.body}</svg>`;
16
+ }
17
+ //#endregion
18
+ export { iconHtml as t };
@@ -0,0 +1,7 @@
1
+ //#region src/internal/id.ts
2
+ /** Generates an SSR-stable machine base id while honoring an explicit id. */
3
+ function useElementId(scope, generatedId, explicitId) {
4
+ return typeof explicitId === "string" && explicitId ? explicitId : `bs-${scope}-${generatedId}`;
5
+ }
6
+ //#endregion
7
+ export { useElementId as t };
@@ -1,6 +1,8 @@
1
- import { injectComponentStyle } from "@bysages/core";
1
+ import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
2
+ import { t as InternalIcon } from "./InternalIcon-Clwbj4MY.mjs";
2
3
  import "svelte/internal/disclose-version";
3
4
  import * as $ from "svelte/internal/client";
5
+ import { injectComponentStyle } from "@bysages/core/styling";
4
6
  //#region src/components/image/Image.svelte
5
7
  var rest_excludes = /* @__PURE__ */ new Set([
6
8
  "$$slots",
@@ -14,19 +16,20 @@ var rest_excludes = /* @__PURE__ */ new Set([
14
16
  "loading",
15
17
  "fallback"
16
18
  ]);
17
- 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>`);
18
- var root_1 = $.from_html(`<div data-scope="image" data-part="fallback"><!></div>`);
19
- var root_2 = $.from_html(`<figure><img data-scope="image" data-part="img" decoding="async"/> <!></figure>`);
19
+ var root = $.from_html(`<div data-scope="image" data-part="fallback"><!></div>`);
20
+ var root_1 = $.from_html(`<figure><img data-scope="image" data-part="img" decoding="async"/> <!></figure>`);
20
21
  function Image$1($$anchor, $$props) {
21
22
  $.push($$props, true);
22
23
  injectComponentStyle("image");
23
24
  let alt = $.prop($$props, "alt", 3, ""), fit = $.prop($$props, "fit", 3, "cover"), loading = $.prop($$props, "loading", 3, "lazy"), rest = $.rest_props($$props, rest_excludes);
24
25
  let state = $.state("loading");
26
+ let image = $.state(void 0);
25
27
  $.user_effect(() => {
26
28
  $$props.src;
27
29
  $.set(state, "loading");
30
+ if ($.get(image)?.complete) $.set(state, $.get(image).naturalWidth > 0 ? "loaded" : "error", true);
28
31
  });
29
- var figure = root_2();
32
+ var figure = root_1();
30
33
  $.attribute_effect(figure, () => ({
31
34
  ...rest,
32
35
  "data-scope": "image",
@@ -35,9 +38,10 @@ function Image$1($$anchor, $$props) {
35
38
  "data-fit": fit()
36
39
  }));
37
40
  var img = $.child(figure);
41
+ $.bind_this(img, ($$value) => $.set(image, $$value), () => $.get(image));
38
42
  var node = $.sibling(img, 2);
39
43
  var consequent_1 = ($$anchor) => {
40
- var div = root_1();
44
+ var div = root();
41
45
  var node_1 = $.child(div);
42
46
  var consequent = ($$anchor) => {
43
47
  var fragment = $.comment();
@@ -46,8 +50,7 @@ function Image$1($$anchor, $$props) {
46
50
  $.append($$anchor, fragment);
47
51
  };
48
52
  var alternate = ($$anchor) => {
49
- var svg = root();
50
- $.append($$anchor, svg);
53
+ InternalIcon($$anchor, { name: "image" });
51
54
  };
52
55
  $.if(node_1, ($$render) => {
53
56
  if ($$props.fallback) $$render(consequent);
@@ -77,9 +80,9 @@ function Image$1($$anchor, $$props) {
77
80
  //#region src/components/image/index.ts
78
81
  /** A framed picture: while the source loads, the frame keeps the
79
82
  * skeleton's breath; the picture dissolves in when it lands; a broken
80
- * source leaves the fallback snippet — or the placeholder glyph when
83
+ * source leaves the fallback snippet — or the placeholder icon when
81
84
  * the caller has nothing local to say. The frame's size is the
82
85
  * consumer's to give. */
83
- const Image = Image$1;
86
+ const Image = withSelfRoot(Image$1);
84
87
  //#endregion
85
88
  export { Image as t };
@@ -15,6 +15,8 @@ interface DataViewProps extends HTMLAttributes<HTMLDivElement> {
15
15
  //#region src/components/data-view/index.d.ts
16
16
  /** One vessel, two layouts: a ledger or a lattice, paged with the
17
17
  * pagination family's own parts. */
18
- declare const DataView: import("svelte").Component<DataViewProps, {}, "">;
18
+ declare const DataView: import("svelte").Component<DataViewProps, {}, ""> & {
19
+ Root: import("svelte").Component<DataViewProps, {}, "">;
20
+ };
19
21
  //#endregion
20
22
  export { DataViewProps as n, DataView as t };
@@ -0,0 +1,35 @@
1
+ import { n as ImagePreview, t as ImageViewer$1 } from "./ImageViewer-CuTn5ho6.mjs";
2
+ import { Dialog } from "./components/dialog/index.mjs";
3
+ import { Snippet } from "svelte";
4
+ import { HTMLAttributes } from "svelte/elements";
5
+ //#region src/components/image-viewer/props.d.ts
6
+ interface ImageViewerProps extends HTMLAttributes<HTMLElement> {
7
+ src: string;
8
+ alt?: string;
9
+ /** The large image handed to the lightbox. */
10
+ width?: number | string;
11
+ /** The large image handed to the lightbox. */
12
+ height?: number | string;
13
+ /** The wrapped content that opens the lightbox. */
14
+ children?: Snippet;
15
+ /** Whether the lightbox is up. Bind it (`bind:open`) to control the
16
+ * viewer; left alone it keeps the state to itself. */
17
+ open?: boolean;
18
+ zoomable?: boolean;
19
+ /** The viewer's open state turned. */
20
+ onOpenChange?: (open: boolean) => void;
21
+ }
22
+ interface ImageViewerPreviewProps extends Omit<HTMLAttributes<HTMLElement>, "children"> {
23
+ /** Visible beside the affordance over custom content. */
24
+ label?: string;
25
+ /** Custom doorway content; omit it for the default curated icon. */
26
+ children?: Snippet;
27
+ }
28
+ //#endregion
29
+ //#region src/components/image-viewer/index.d.ts
30
+ declare const ImageViewer: typeof ImageViewer$1 & Omit<typeof Dialog, "Root"> & {
31
+ Root: (typeof Dialog)["Root"];
32
+ Preview: typeof ImagePreview;
33
+ };
34
+ //#endregion
35
+ export { ImageViewerPreviewProps as n, ImageViewerProps as r, ImageViewer as t };
@@ -0,0 +1,136 @@
1
+ //#region src/components/media-player/props.d.ts
2
+ interface MediaSourceOption {
3
+ src: string;
4
+ type?: string;
5
+ }
6
+ interface MediaTextTrackOption {
7
+ src: string;
8
+ kind?: "subtitles" | "captions" | "descriptions" | "chapters" | "metadata";
9
+ label?: string;
10
+ srcLang?: string;
11
+ default?: boolean;
12
+ }
13
+ interface MediaPlayerProps {
14
+ label?: string;
15
+ src?: string;
16
+ sources?: MediaSourceOption[];
17
+ tracks?: MediaTextTrackOption[];
18
+ autoplay?: boolean;
19
+ loop?: boolean;
20
+ muted?: boolean;
21
+ preload?: "none" | "metadata" | "auto";
22
+ volume?: number;
23
+ playbackRate?: number;
24
+ playbackRates?: number[];
25
+ disabled?: boolean;
26
+ poster?: string;
27
+ playsInline?: boolean;
28
+ class?: string;
29
+ style?: string;
30
+ id?: string;
31
+ onplay?: (event: Event) => void;
32
+ onpause?: (event: Event) => void;
33
+ onended?: (event: Event) => void;
34
+ ontimeupdate?: (event: Event) => void;
35
+ onvolumechange?: (event: Event) => void;
36
+ onratechange?: (event: Event) => void;
37
+ onerror?: (event: Event) => void;
38
+ [key: string]: unknown;
39
+ }
40
+ //#endregion
41
+ //#region src/components/media-player/index.d.ts
42
+ /** Audio and video share one instrument: the same state, the same keys,
43
+ * and the same control rhythm, while each face keeps its native element's
44
+ * own semantics. The parts — Root, Stage, Media, Controls, PlayButton,
45
+ * Timeline, Time, MuteButton, Volume, Rate, Captions, PipButton,
46
+ * FullscreenButton. */
47
+ declare const Audio: import("svelte").Component<MediaPlayerProps, {}, ""> & {
48
+ Root: import("svelte").Component<MediaPlayerProps & {
49
+ children?: import("svelte").Snippet;
50
+ }, {}, "">;
51
+ Stage: import("svelte").Component<{
52
+ children?: import("svelte").Snippet;
53
+ }, {}, "">;
54
+ Media: import("svelte").Component<{
55
+ [key: string]: unknown;
56
+ children?: import("svelte").Snippet;
57
+ }, {}, "">;
58
+ Controls: import("svelte").Component<{
59
+ children?: import("svelte").Snippet;
60
+ }, {}, "">;
61
+ PlayButton: import("svelte").Component<{
62
+ [key: string]: unknown;
63
+ label?: string;
64
+ }, {}, "">;
65
+ Timeline: import("svelte").Component<{
66
+ [key: string]: unknown;
67
+ label?: string;
68
+ }, {}, "">;
69
+ Time: import("svelte").Component<{
70
+ [key: string]: unknown;
71
+ }, {}, "">;
72
+ MuteButton: import("svelte").Component<{
73
+ [key: string]: unknown;
74
+ label?: string;
75
+ }, {}, "">;
76
+ Volume: import("svelte").Component<{
77
+ [key: string]: unknown;
78
+ label?: string;
79
+ }, {}, "">;
80
+ Rate: import("svelte").Component<{
81
+ [key: string]: unknown;
82
+ label?: string;
83
+ }, {}, "">;
84
+ };
85
+ declare const Video: import("svelte").Component<MediaPlayerProps, {}, ""> & {
86
+ Root: import("svelte").Component<MediaPlayerProps & {
87
+ children?: import("svelte").Snippet;
88
+ }, {}, "">;
89
+ Stage: import("svelte").Component<{
90
+ children?: import("svelte").Snippet;
91
+ }, {}, "">;
92
+ Media: import("svelte").Component<{
93
+ [key: string]: unknown;
94
+ children?: import("svelte").Snippet;
95
+ }, {}, "">;
96
+ Controls: import("svelte").Component<{
97
+ children?: import("svelte").Snippet;
98
+ }, {}, "">;
99
+ PlayButton: import("svelte").Component<{
100
+ [key: string]: unknown;
101
+ label?: string;
102
+ }, {}, "">;
103
+ Timeline: import("svelte").Component<{
104
+ [key: string]: unknown;
105
+ label?: string;
106
+ }, {}, "">;
107
+ Time: import("svelte").Component<{
108
+ [key: string]: unknown;
109
+ }, {}, "">;
110
+ MuteButton: import("svelte").Component<{
111
+ [key: string]: unknown;
112
+ label?: string;
113
+ }, {}, "">;
114
+ Volume: import("svelte").Component<{
115
+ [key: string]: unknown;
116
+ label?: string;
117
+ }, {}, "">;
118
+ Rate: import("svelte").Component<{
119
+ [key: string]: unknown;
120
+ label?: string;
121
+ }, {}, "">;
122
+ Captions: import("svelte").Component<{
123
+ [key: string]: unknown;
124
+ label?: string;
125
+ }, {}, "">;
126
+ PipButton: import("svelte").Component<{
127
+ [key: string]: unknown;
128
+ label?: string;
129
+ }, {}, "">;
130
+ FullscreenButton: import("svelte").Component<{
131
+ [key: string]: unknown;
132
+ label?: string;
133
+ }, {}, "">;
134
+ };
135
+ //#endregion
136
+ export { MediaTextTrackOption as a, MediaSourceOption as i, Video as n, MediaPlayerProps as r, Audio as t };
@@ -19,6 +19,8 @@ interface DynamicInputProps extends HTMLAttributes<HTMLDivElement> {
19
19
  /** A column of entry rows: one Input per line, each with a quiet remove
20
20
  * seal, and an add row at the tail — the bound array stays the only
21
21
  * truth. */
22
- declare const DynamicInput: import("svelte").Component<DynamicInputProps, {}, "value">;
22
+ declare const DynamicInput: import("svelte").Component<DynamicInputProps, {}, "value"> & {
23
+ Root: import("svelte").Component<DynamicInputProps, {}, "value">;
24
+ };
23
25
  //#endregion
24
26
  export { DynamicInputProps as n, DynamicInput as t };
@@ -16,6 +16,8 @@ interface AutoCompleteProps extends HTMLAttributes<HTMLDivElement> {
16
16
  /** Free text with suggestions: the reader types anything, the list
17
17
  * narrows to help, and both a pick and a custom value end up in the
18
18
  * same `value`. A preset of the combobox machinery. */
19
- declare const AutoComplete: import("svelte").Component<AutoCompleteProps, {}, "value">;
19
+ declare const AutoComplete: import("svelte").Component<AutoCompleteProps, {}, "value"> & {
20
+ Root: import("svelte").Component<AutoCompleteProps, {}, "value">;
21
+ };
20
22
  //#endregion
21
23
  export { AutoCompleteProps as n, AutoComplete as t };
@@ -13,6 +13,8 @@ interface VirtualListProps extends HTMLAttributes<HTMLDivElement> {
13
13
  //#endregion
14
14
  //#region src/components/virtual-list/index.d.ts
15
15
  /** A ledger that only mounts the rows on stage. */
16
- declare const VirtualList: import("svelte").Component<VirtualListProps, {}, "">;
16
+ declare const VirtualList: import("svelte").Component<VirtualListProps, {}, ""> & {
17
+ Root: import("svelte").Component<VirtualListProps, {}, "">;
18
+ };
17
19
  //#endregion
18
20
  export { VirtualListProps as n, VirtualList as t };
@@ -1,4 +1,4 @@
1
- import { t as ClipboardRoot } from "./ClipboardRoot-UmyQFn27.mjs";
1
+ import { n as ClipboardRoot, t as Clipboard$2 } from "./Clipboard-BHy1YrlL.mjs";
2
2
  import { Clipboard, ClipboardRootProps } from "@ark-ui/svelte/clipboard";
3
3
  //#region src/components/clipboard/props.d.ts
4
4
  type ClipboardRootProps$1 = ClipboardRootProps & {
@@ -8,7 +8,7 @@ type ClipboardRootProps$1 = ClipboardRootProps & {
8
8
  };
9
9
  //#endregion
10
10
  //#region src/components/clipboard/index.d.ts
11
- declare const Clipboard$1: Omit<typeof Clipboard, "Root"> & {
11
+ declare const Clipboard$1: typeof Clipboard$2 & Omit<typeof Clipboard, "Root"> & {
12
12
  Root: typeof ClipboardRoot;
13
13
  };
14
14
  //#endregion
@@ -15,6 +15,8 @@ interface CommentProps extends HTMLAttributes<HTMLElement> {
15
15
  /** A voice on the record: the portrait hangs left (the avatar snippet),
16
16
  * the body carries the byline from `author` and `datetime`, the ink is
17
17
  * the children snippet, and the actions snippet is the row of answers. */
18
- declare const Comment: import("svelte").Component<CommentProps, {}, "">;
18
+ declare const Comment: import("svelte").Component<CommentProps, {}, ""> & {
19
+ Root: import("svelte").Component<CommentProps, {}, "">;
20
+ };
19
21
  //#endregion
20
22
  export { CommentProps as n, Comment as t };