@bysages/svelte 0.3.1 → 0.4.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 (476) hide show
  1. package/dist/Accordion-ChCzhYPl.mjs +147 -0
  2. package/dist/AngleSlider-_DsaxreA.mjs +167 -0
  3. package/dist/{avatar-LR0CZ1Iz.mjs → Avatar-RTIHq1px.mjs} +7 -9
  4. package/dist/Carousel-BbMJNLY3.mjs +171 -0
  5. package/dist/Checkbox-BlbCL1T1.mjs +126 -0
  6. package/dist/ChevronIcon-BrLZJ0NH.mjs +10 -0
  7. package/dist/Clipboard-BUeJPGSX.mjs +116 -0
  8. package/dist/Collapsible-DJ8B-4w0.mjs +121 -0
  9. package/dist/ColorPicker-BHj_4m8H.mjs +248 -0
  10. package/dist/Combobox-CI0zJOm_.mjs +259 -0
  11. package/dist/DateInput-CYNt1ltj.mjs +154 -0
  12. package/dist/DatePicker-B8AQBgUp.mjs +346 -0
  13. package/dist/Dialog-DOxZ3eye.mjs +178 -0
  14. package/dist/Drawer-qpsQNpLj.mjs +178 -0
  15. package/dist/Editable-Die4QZWo.mjs +176 -0
  16. package/dist/Field-CO2VK0f_.mjs +143 -0
  17. package/dist/Fieldset-DMp5m8vW.mjs +118 -0
  18. package/dist/FileUpload-DZE4CRxe.mjs +232 -0
  19. package/dist/FloatingPanel-B5-5flGu.mjs +253 -0
  20. package/dist/HoverCard-CzkvDJbI.mjs +154 -0
  21. package/dist/ImageCropper-CC9AyFBi.mjs +155 -0
  22. package/dist/ImageViewer-DEMg26LY.mjs +294 -0
  23. package/dist/InternalIcon-Clwbj4MY.mjs +19 -0
  24. package/dist/JsonTreeViewTree-DPRObG7r.mjs +160 -0
  25. package/dist/Listbox-BcF6Uk8j.mjs +189 -0
  26. package/dist/Marquee-DWGGrLlz.mjs +123 -0
  27. package/dist/Menu-bJv3fB0Z.mjs +200 -0
  28. package/dist/{menubar-2MPo9w5z.mjs → Menubar-D-UDLqtm.mjs} +2 -12
  29. package/dist/NavigationMenu-CgC0GMdq.mjs +158 -0
  30. package/dist/NumberInput-OX9IP5KS.mjs +174 -0
  31. package/dist/Pagination-D6vDzhVj.mjs +180 -0
  32. package/dist/PasswordInput-CKUqwouu.mjs +167 -0
  33. package/dist/PinInput-Ey0sJSwB.mjs +142 -0
  34. package/dist/Popover-Ct9y-0D-.mjs +231 -0
  35. package/dist/Progress-nBx2pMFh.mjs +115 -0
  36. package/dist/QrCode-C3gAYPIv.mjs +100 -0
  37. package/dist/RadioGroup-Czoicfnb.mjs +161 -0
  38. package/dist/RatingGroup-Bkliw7CU.mjs +157 -0
  39. package/dist/ScrollArea-BtAH_cdM.mjs +115 -0
  40. package/dist/SegmentGroup-BnHGitgF.mjs +158 -0
  41. package/dist/Select-CnNtViJ4.mjs +263 -0
  42. package/dist/SignaturePad-DBM5JNGh.mjs +170 -0
  43. package/dist/Slider-B-_5UxAX.mjs +166 -0
  44. package/dist/Splitter-lP3ibWns.mjs +146 -0
  45. package/dist/StepsItem-DT1XQX0x.mjs +174 -0
  46. package/dist/Swap-De-Zlnr6.mjs +130 -0
  47. package/dist/Switch-CJ-yBZVQ.mjs +133 -0
  48. package/dist/Tabs-V6R7R-F8.mjs +146 -0
  49. package/dist/TagsInput-CPbGeQZd.mjs +231 -0
  50. package/dist/Timer-CQJIx4Y0.mjs +141 -0
  51. package/dist/Toast-UTFPPLb1.mjs +129 -0
  52. package/dist/TocContent-DYks7TeI.mjs +207 -0
  53. package/dist/Toggle-fuL8Qi6H.mjs +101 -0
  54. package/dist/ToggleGroup-BB8BqcLo.mjs +142 -0
  55. package/dist/Tooltip-D-uRFl6m.mjs +194 -0
  56. package/dist/TreeViewNodeCheckbox-DbJ2jfGV.mjs +292 -0
  57. package/dist/{affix-BtL4lBPi.mjs → affix-Cog56FQH.mjs} +4 -3
  58. package/dist/{ai-action-DKsvxilp.mjs → ai-action-DziA_BN_.mjs} +3 -2
  59. package/dist/{ai-attachments-C0YVIKUc.mjs → ai-attachments-BalNjKhf.mjs} +22 -23
  60. package/dist/{ai-message-DBs1fdFm.mjs → ai-message-aIyT-RXH.mjs} +2 -1
  61. package/dist/{ai-prompt-input-vh89e9EX.mjs → ai-prompt-input-jB3RQ9Q8.mjs} +28 -25
  62. package/dist/{ai-reasoning-C4YsB2hQ.mjs → ai-reasoning-CQx7rye9.mjs} +3 -2
  63. package/dist/{ai-response-BPQPjMlC.mjs → ai-response-D_eFsV6G.mjs} +14 -6
  64. package/dist/{ai-source-CvglcFw1.mjs → ai-source-B9ZfhWOl.mjs} +3 -2
  65. package/dist/{ai-suggestion-zGAQ1kkf.mjs → ai-suggestion-CrZ5Ol4-.mjs} +3 -2
  66. package/dist/{ai-tool-DY_iNbMk.mjs → ai-tool-0vdpM2Aq.mjs} +3 -2
  67. package/dist/{alert-Xp8I8IY9.mjs → alert-D9oBDEBE.mjs} +15 -12
  68. package/dist/{aspect-ratio-COOgu44A.mjs → aspect-ratio-Ca2csfG1.mjs} +2 -1
  69. package/dist/{autocomplete-Dhuhqp-6.mjs → autocomplete-CS7ZVq_o.mjs} +8 -3
  70. package/dist/{avatar-group-BgIxNuVj.mjs → avatar-group-BnyaymLu.mjs} +2 -1
  71. package/dist/{back-top-rbP0aP47.mjs → back-top-DNwTF40O.mjs} +7 -7
  72. package/dist/{badge-DKa-8Pv0.mjs → badge-BFZgNgbw.mjs} +2 -1
  73. package/dist/{banner-Bj3FFB-O.mjs → banner-Ko97JhS3.mjs} +5 -1
  74. package/dist/{block-ui-CxsMoEoa.mjs → block-ui-DTG19xuY.mjs} +2 -1
  75. package/dist/{browser-gmPTH6mJ.mjs → browser-Dlqvffp6.mjs} +1 -0
  76. package/dist/{button-BCcX7lHq.mjs → button-CghWQD3J.mjs} +2 -1
  77. package/dist/{button-group-CVLqPMlR.mjs → button-group-BV7Ces1o.mjs} +2 -1
  78. package/dist/{calendar-BMXmRdwJ.mjs → calendar-BXWvgkjq.mjs} +99 -101
  79. package/dist/{cascade-select-CfvWchiN.mjs → cascade-select-CKStvgjR.mjs} +30 -19
  80. package/dist/checkbox-group-Bu27PIve.mjs +143 -0
  81. package/dist/{chip-mjLlbQ2t.mjs → chip-CZAgD6LS.mjs} +2 -1
  82. package/dist/{command-CZRC1T-6.mjs → command-CJ6jk-9b.mjs} +3 -2
  83. package/dist/{comment-C91xgrtK.mjs → comment-DM1fOXro.mjs} +2 -1
  84. package/dist/components/accordion/index.d.mts +4 -1
  85. package/dist/components/accordion/index.mjs +6 -3
  86. package/dist/components/affix/index.d.mts +1 -1
  87. package/dist/components/affix/index.mjs +1 -1
  88. package/dist/components/ai/index.d.mts +2 -2
  89. package/dist/components/ai/index.mjs +9 -8
  90. package/dist/components/ai-action/index.d.mts +3 -1
  91. package/dist/components/ai-action/index.mjs +1 -1
  92. package/dist/components/ai-attachments/index.d.mts +1 -1
  93. package/dist/components/ai-attachments/index.mjs +1 -1
  94. package/dist/components/ai-message/index.d.mts +3 -1
  95. package/dist/components/ai-message/index.mjs +1 -1
  96. package/dist/components/ai-prompt-input/index.d.mts +4 -2
  97. package/dist/components/ai-prompt-input/index.mjs +1 -1
  98. package/dist/components/ai-reasoning/index.d.mts +3 -1
  99. package/dist/components/ai-reasoning/index.mjs +1 -1
  100. package/dist/components/ai-response/index.d.mts +3 -1
  101. package/dist/components/ai-response/index.mjs +1 -1
  102. package/dist/components/ai-source/index.d.mts +6 -2
  103. package/dist/components/ai-source/index.mjs +1 -1
  104. package/dist/components/ai-suggestion/index.d.mts +3 -1
  105. package/dist/components/ai-suggestion/index.mjs +1 -1
  106. package/dist/components/ai-tool/index.d.mts +3 -1
  107. package/dist/components/ai-tool/index.mjs +1 -1
  108. package/dist/components/alert/index.mjs +1 -1
  109. package/dist/components/angle-slider/index.d.mts +2 -2
  110. package/dist/components/angle-slider/index.mjs +4 -3
  111. package/dist/components/aspect-ratio/index.d.mts +1 -1
  112. package/dist/components/aspect-ratio/index.mjs +1 -1
  113. package/dist/components/autocomplete/index.d.mts +1 -1
  114. package/dist/components/autocomplete/index.mjs +1 -1
  115. package/dist/components/avatar/index.d.mts +12 -2
  116. package/dist/components/avatar/index.mjs +14 -1
  117. package/dist/components/avatar-group/index.d.mts +1 -1
  118. package/dist/components/avatar-group/index.mjs +1 -1
  119. package/dist/components/back-top/index.d.mts +1 -1
  120. package/dist/components/back-top/index.mjs +1 -1
  121. package/dist/components/badge/index.d.mts +1 -1
  122. package/dist/components/badge/index.mjs +1 -1
  123. package/dist/components/banner/index.mjs +1 -1
  124. package/dist/components/block-ui/index.d.mts +1 -1
  125. package/dist/components/block-ui/index.mjs +1 -1
  126. package/dist/components/browser/index.d.mts +1 -0
  127. package/dist/components/browser/index.mjs +1 -1
  128. package/dist/components/button/index.d.mts +1 -1
  129. package/dist/components/button/index.mjs +1 -1
  130. package/dist/components/button-group/index.d.mts +1 -1
  131. package/dist/components/button-group/index.mjs +1 -1
  132. package/dist/components/calendar/index.d.mts +1 -1
  133. package/dist/components/calendar/index.mjs +1 -1
  134. package/dist/components/carousel/index.d.mts +4 -1
  135. package/dist/components/carousel/index.mjs +6 -3
  136. package/dist/components/cascade-select/index.d.mts +1 -1
  137. package/dist/components/cascade-select/index.mjs +1 -1
  138. package/dist/components/checkbox/index.d.mts +2 -2
  139. package/dist/components/checkbox/index.mjs +4 -3
  140. package/dist/components/checkbox-group/index.d.mts +1 -1
  141. package/dist/components/checkbox-group/index.mjs +1 -1
  142. package/dist/components/chip/index.d.mts +1 -1
  143. package/dist/components/chip/index.mjs +1 -1
  144. package/dist/components/client-only/index.d.mts +7 -2
  145. package/dist/components/client-only/index.mjs +8 -1
  146. package/dist/components/clipboard/index.d.mts +1 -1
  147. package/dist/components/clipboard/index.mjs +4 -3
  148. package/dist/components/collapsible/index.d.mts +4 -1
  149. package/dist/components/collapsible/index.mjs +6 -3
  150. package/dist/components/color-picker/index.d.mts +2 -2
  151. package/dist/components/color-picker/index.mjs +4 -3
  152. package/dist/components/combobox/index.d.mts +2 -2
  153. package/dist/components/combobox/index.mjs +4 -3
  154. package/dist/components/command/index.d.mts +1 -1
  155. package/dist/components/command/index.mjs +1 -1
  156. package/dist/components/comment/index.d.mts +1 -1
  157. package/dist/components/comment/index.mjs +1 -1
  158. package/dist/components/config-provider/index.d.mts +1 -1
  159. package/dist/components/config-provider/index.mjs +1 -1
  160. package/dist/components/container/index.d.mts +1 -1
  161. package/dist/components/container/index.mjs +1 -1
  162. package/dist/components/data-view/index.d.mts +1 -1
  163. package/dist/components/data-view/index.mjs +1 -1
  164. package/dist/components/date-input/index.d.mts +2 -2
  165. package/dist/components/date-input/index.mjs +4 -3
  166. package/dist/components/date-picker/index.d.mts +2 -2
  167. package/dist/components/date-picker/index.mjs +4 -3
  168. package/dist/components/deferred-content/index.d.mts +1 -1
  169. package/dist/components/deferred-content/index.mjs +1 -1
  170. package/dist/components/descriptions/index.d.mts +1 -1
  171. package/dist/components/descriptions/index.mjs +1 -1
  172. package/dist/components/dialog/index.d.mts +4 -1
  173. package/dist/components/dialog/index.mjs +6 -3
  174. package/dist/components/download-trigger/index.d.mts +13 -2
  175. package/dist/components/download-trigger/index.mjs +8 -1
  176. package/dist/components/drawer/index.d.mts +4 -1
  177. package/dist/components/drawer/index.mjs +6 -3
  178. package/dist/components/dynamic-input/index.d.mts +1 -1
  179. package/dist/components/dynamic-input/index.mjs +1 -1
  180. package/dist/components/editable/index.d.mts +2 -2
  181. package/dist/components/editable/index.mjs +4 -3
  182. package/dist/components/ellipsis/index.d.mts +1 -1
  183. package/dist/components/ellipsis/index.mjs +1 -1
  184. package/dist/components/field/index.d.mts +4 -1
  185. package/dist/components/field/index.mjs +6 -3
  186. package/dist/components/fieldset/index.d.mts +4 -1
  187. package/dist/components/fieldset/index.mjs +6 -3
  188. package/dist/components/file-upload/index.d.mts +2 -2
  189. package/dist/components/file-upload/index.mjs +4 -3
  190. package/dist/components/float-button/index.mjs +1 -1
  191. package/dist/components/floating-panel/index.d.mts +4 -1
  192. package/dist/components/floating-panel/index.mjs +6 -3
  193. package/dist/components/focus-trap/index.d.mts +7 -2
  194. package/dist/components/focus-trap/index.mjs +8 -1
  195. package/dist/components/form/index.d.mts +1 -1
  196. package/dist/components/form/index.mjs +1 -1
  197. package/dist/components/frame/index.d.mts +3 -1
  198. package/dist/components/frame/index.mjs +2 -1
  199. package/dist/components/grid/index.d.mts +1 -1
  200. package/dist/components/grid/index.mjs +1 -1
  201. package/dist/components/highlight/index.d.mts +3 -1
  202. package/dist/components/highlight/index.mjs +2 -1
  203. package/dist/components/hover-card/index.d.mts +4 -1
  204. package/dist/components/hover-card/index.mjs +6 -3
  205. package/dist/components/icon/index.d.mts +1 -1
  206. package/dist/components/icon/index.mjs +1 -1
  207. package/dist/components/image/index.d.mts +1 -1
  208. package/dist/components/image/index.mjs +1 -1
  209. package/dist/components/image-cropper/index.d.mts +4 -1
  210. package/dist/components/image-cropper/index.mjs +6 -3
  211. package/dist/components/image-viewer/index.d.mts +2 -2
  212. package/dist/components/image-viewer/index.mjs +12 -1
  213. package/dist/components/input/index.d.mts +1 -1
  214. package/dist/components/input/index.mjs +2 -1
  215. package/dist/components/json-tree-view/index.d.mts +6 -2
  216. package/dist/components/json-tree-view/index.mjs +6 -6
  217. package/dist/components/kbd/index.d.mts +1 -1
  218. package/dist/components/kbd/index.mjs +1 -1
  219. package/dist/components/layout/index.mjs +1 -1
  220. package/dist/components/link/index.d.mts +1 -1
  221. package/dist/components/link/index.mjs +1 -1
  222. package/dist/components/listbox/index.d.mts +1 -1
  223. package/dist/components/listbox/index.mjs +4 -3
  224. package/dist/components/marquee/index.d.mts +4 -1
  225. package/dist/components/marquee/index.mjs +6 -3
  226. package/dist/components/masonry/index.d.mts +1 -1
  227. package/dist/components/masonry/index.mjs +1 -1
  228. package/dist/components/media-player/index.d.mts +3 -0
  229. package/dist/components/media-player/index.mjs +3 -0
  230. package/dist/components/mentions/index.d.mts +1 -1
  231. package/dist/components/mentions/index.mjs +1 -1
  232. package/dist/components/menu/index.d.mts +2 -2
  233. package/dist/components/menu/index.mjs +4 -3
  234. package/dist/components/menubar/index.d.mts +1 -1
  235. package/dist/components/menubar/index.mjs +13 -1
  236. package/dist/components/navigation-menu/index.d.mts +6 -2
  237. package/dist/components/navigation-menu/index.mjs +8 -4
  238. package/dist/components/number-input/index.d.mts +2 -2
  239. package/dist/components/number-input/index.mjs +4 -3
  240. package/dist/components/order-list/index.d.mts +1 -1
  241. package/dist/components/order-list/index.mjs +1 -1
  242. package/dist/components/pagination/index.d.mts +2 -2
  243. package/dist/components/pagination/index.mjs +4 -3
  244. package/dist/components/password-input/index.d.mts +2 -2
  245. package/dist/components/password-input/index.mjs +4 -3
  246. package/dist/components/pin-input/index.d.mts +2 -2
  247. package/dist/components/pin-input/index.mjs +4 -3
  248. package/dist/components/popconfirm/index.d.mts +1 -1
  249. package/dist/components/popconfirm/index.mjs +1 -1
  250. package/dist/components/popover/index.d.mts +4 -1
  251. package/dist/components/popover/index.mjs +6 -3
  252. package/dist/components/presence/index.d.mts +8 -2
  253. package/dist/components/presence/index.mjs +9 -1
  254. package/dist/components/progress/index.d.mts +2 -2
  255. package/dist/components/progress/index.mjs +4 -3
  256. package/dist/components/progress-group/index.d.mts +1 -1
  257. package/dist/components/progress-group/index.mjs +1 -1
  258. package/dist/components/qr-code/index.d.mts +4 -1
  259. package/dist/components/qr-code/index.mjs +6 -3
  260. package/dist/components/radio-group/index.d.mts +2 -2
  261. package/dist/components/radio-group/index.mjs +4 -3
  262. package/dist/components/rating-group/index.d.mts +2 -2
  263. package/dist/components/rating-group/index.mjs +5 -4
  264. package/dist/components/result/index.d.mts +3 -0
  265. package/dist/components/result/index.mjs +1 -1
  266. package/dist/components/scroll-area/index.d.mts +4 -1
  267. package/dist/components/scroll-area/index.mjs +6 -3
  268. package/dist/components/segment-group/index.d.mts +2 -2
  269. package/dist/components/segment-group/index.mjs +4 -3
  270. package/dist/components/select/index.d.mts +1 -1
  271. package/dist/components/select/index.mjs +1 -1
  272. package/dist/components/separator/index.d.mts +1 -1
  273. package/dist/components/separator/index.mjs +1 -1
  274. package/dist/components/signature-pad/index.d.mts +4 -1
  275. package/dist/components/signature-pad/index.mjs +6 -3
  276. package/dist/components/skeleton/index.d.mts +1 -1
  277. package/dist/components/skeleton/index.mjs +1 -1
  278. package/dist/components/slider/index.d.mts +2 -2
  279. package/dist/components/slider/index.mjs +4 -3
  280. package/dist/components/spinner/index.d.mts +1 -1
  281. package/dist/components/spinner/index.mjs +2 -1
  282. package/dist/components/split-button/index.d.mts +1 -1
  283. package/dist/components/split-button/index.mjs +1 -1
  284. package/dist/components/splitter/index.d.mts +4 -1
  285. package/dist/components/splitter/index.mjs +6 -3
  286. package/dist/components/spotlight/index.d.mts +1 -1
  287. package/dist/components/spotlight/index.mjs +1 -1
  288. package/dist/components/stack/index.d.mts +1 -1
  289. package/dist/components/stack/index.mjs +1 -1
  290. package/dist/components/steps/index.d.mts +2 -2
  291. package/dist/components/steps/index.mjs +4 -3
  292. package/dist/components/swap/index.d.mts +8 -5
  293. package/dist/components/swap/index.mjs +10 -5
  294. package/dist/components/switch/index.d.mts +2 -2
  295. package/dist/components/switch/index.mjs +4 -3
  296. package/dist/components/table/index.d.mts +1 -1
  297. package/dist/components/table/index.mjs +1 -1
  298. package/dist/components/tabs/index.d.mts +2 -2
  299. package/dist/components/tabs/index.mjs +4 -3
  300. package/dist/components/tags-input/index.d.mts +2 -2
  301. package/dist/components/tags-input/index.mjs +4 -3
  302. package/dist/components/terminal/index.d.mts +1 -1
  303. package/dist/components/terminal/index.mjs +1 -1
  304. package/dist/components/textarea/index.d.mts +1 -1
  305. package/dist/components/textarea/index.mjs +1 -1
  306. package/dist/components/timer/index.d.mts +4 -1
  307. package/dist/components/timer/index.mjs +6 -3
  308. package/dist/components/toast/index.d.mts +7 -2
  309. package/dist/components/toast/index.mjs +7 -4
  310. package/dist/components/toc/index.d.mts +5 -3
  311. package/dist/components/toc/index.mjs +8 -7
  312. package/dist/components/toggle/index.d.mts +4 -1
  313. package/dist/components/toggle/index.mjs +6 -3
  314. package/dist/components/toggle-group/index.d.mts +2 -2
  315. package/dist/components/toggle-group/index.mjs +4 -3
  316. package/dist/components/toolbar/index.d.mts +1 -1
  317. package/dist/components/toolbar/index.mjs +1 -1
  318. package/dist/components/tooltip/index.d.mts +4 -1
  319. package/dist/components/tooltip/index.mjs +6 -3
  320. package/dist/components/tour/index.d.mts +10 -8
  321. package/dist/components/tour/index.mjs +12 -8
  322. package/dist/components/transfer/index.d.mts +1 -1
  323. package/dist/components/transfer/index.mjs +1 -1
  324. package/dist/components/tree-select/index.d.mts +1 -1
  325. package/dist/components/tree-select/index.mjs +1 -1
  326. package/dist/components/tree-view/index.d.mts +1 -1
  327. package/dist/components/tree-view/index.mjs +4 -3
  328. package/dist/components/typography/index.d.mts +1 -1
  329. package/dist/components/typography/index.mjs +1 -1
  330. package/dist/components/user/index.d.mts +1 -1
  331. package/dist/components/user/index.mjs +1 -1
  332. package/dist/components/virtual-list/index.d.mts +1 -1
  333. package/dist/components/virtual-list/index.mjs +1 -1
  334. package/dist/components/watermark/index.d.mts +1 -1
  335. package/dist/components/watermark/index.mjs +1 -1
  336. package/dist/{config-provider-CZJyd3MX.mjs → config-provider-Ca8wCLcK.mjs} +2 -1
  337. package/dist/{container-Cmiu_3W5.mjs → container-ZF0UMlIJ.mjs} +2 -1
  338. package/dist/{data-view-BORK23XZ.mjs → data-view-B3cJiuVC.mjs} +2 -1
  339. package/dist/{deferred-content-CO9YsKMQ.mjs → deferred-content-BYDuJ6NQ.mjs} +2 -1
  340. package/dist/{descriptions-DgkA_9B-.mjs → descriptions-BeZtDMzt.mjs} +90 -43
  341. package/dist/{dynamic-input-D1a-5vy-.mjs → dynamic-input-Bt1CeSq4.mjs} +9 -9
  342. package/dist/{ellipsis-CLaZ9Grh.mjs → ellipsis-CPs9IHbU.mjs} +2 -1
  343. package/dist/family-CzLaku1F.mjs +12 -0
  344. package/dist/{float-button-BLIHnw2u.mjs → float-button-B6J8RQMu.mjs} +15 -7
  345. package/dist/{form-BTL9S1gn.mjs → form-CCjPDJmO.mjs} +77 -97
  346. package/dist/{grid-DNgTWYSL.mjs → grid-ClJBYO96.mjs} +2 -1
  347. package/dist/{icon-D7AeDq0M.mjs → icon-DmeRO0e6.mjs} +10 -7
  348. package/dist/icon-lWVQxDG6.mjs +18 -0
  349. package/dist/id-Alz497yI.mjs +7 -0
  350. package/dist/{image-u_H4LtAC.mjs → image-BngY6J6J.mjs} +12 -9
  351. package/dist/{index-KxuOZGfm.d.mts → index-0aDSXVgl.d.mts} +2 -2
  352. package/dist/{index-KoqiUxmN.d.mts → index-3TmqYBnT.d.mts} +3 -1
  353. package/dist/index-9GiGGnGa.d.mts +136 -0
  354. package/dist/{index-ZUvVz2Fd.d.mts → index-BFKqgbq-.d.mts} +3 -1
  355. package/dist/index-BH-LkvzT.d.mts +35 -0
  356. package/dist/{index-CY4EuxyF.d.mts → index-BIHw8Gzt.d.mts} +3 -1
  357. package/dist/{index-DGOBhwXN.d.mts → index-BKZC0MtK.d.mts} +3 -1
  358. package/dist/{index-zZy5ZnA5.d.mts → index-BhTdJwBA.d.mts} +3 -1
  359. package/dist/{index-0k-VxNRm.d.mts → index-BhXsxcRN.d.mts} +5 -1
  360. package/dist/{index-BIIMyeLK.d.mts → index-BiwW7REL.d.mts} +3 -1
  361. package/dist/{index-k0ac5WNj.d.mts → index-ByxBpSC4.d.mts} +3 -1
  362. package/dist/{index-D1tQgtT0.d.mts → index-C-sa4baY.d.mts} +5 -3
  363. package/dist/{index-D_cE3qK2.d.mts → index-C-wU4kAX.d.mts} +3 -1
  364. package/dist/{index-D88v0BF1.d.mts → index-C0b8N_Aa.d.mts} +3 -1
  365. package/dist/{index-D9UBDdoA.d.mts → index-C5hCBtt4.d.mts} +3 -1
  366. package/dist/{index-CaVBzPln.d.mts → index-C6UrUbj8.d.mts} +3 -1
  367. package/dist/{index-BJvo4qep.d.mts → index-CBB8fpMT.d.mts} +2 -2
  368. package/dist/{index-C84DUNp9.d.mts → index-CC_yY588.d.mts} +3 -1
  369. package/dist/{index-Dy335EhR.d.mts → index-CI4acsws.d.mts} +2 -2
  370. package/dist/{index-DOcn6bMd.d.mts → index-CKaCfx0p.d.mts} +3 -1
  371. package/dist/{index-D1U7Svy2.d.mts → index-CMVb7mmq.d.mts} +6 -2
  372. package/dist/{index-BTndXl0q.d.mts → index-COWyuYkn.d.mts} +3 -1
  373. package/dist/{index-BFL_M4PT.d.mts → index-CV5LaGMy.d.mts} +3 -1
  374. package/dist/{index-BwFSueFx.d.mts → index-CWzdSZ-F.d.mts} +3 -1
  375. package/dist/{index-wDHiUpr6.d.mts → index-CXbdZAgD.d.mts} +7 -3
  376. package/dist/{index-DBbjFiDd.d.mts → index-CYtinraa.d.mts} +3 -1
  377. package/dist/{index-CeIQyZkc.d.mts → index-CZ0P3C6E.d.mts} +1 -0
  378. package/dist/{index-BEfqqxjl.d.mts → index-Cbc4doAM.d.mts} +7 -0
  379. package/dist/{index-BolxaoaW.d.mts → index-Cbd88ftD.d.mts} +3 -1
  380. package/dist/{index-BmFfkztS.d.mts → index-ChqP3kbL.d.mts} +3 -1
  381. package/dist/{index-CLoTtvcO.d.mts → index-CuonhYXR.d.mts} +3 -1
  382. package/dist/{index-CwM-SPPz.d.mts → index-CvDp7tiS.d.mts} +3 -1
  383. package/dist/{index-YCVah82j.d.mts → index-CyVykdGO.d.mts} +3 -1
  384. package/dist/{index-D0lEVqZc.d.mts → index-D2B6EH5P.d.mts} +3 -1
  385. package/dist/{index--K4P_QKU.d.mts → index-D61_Lx9o.d.mts} +3 -1
  386. package/dist/{index-Bj2IsU9D.d.mts → index-DAnDXxRZ.d.mts} +3 -1
  387. package/dist/{index-CKFfSEBR.d.mts → index-DC6AI8rV.d.mts} +3 -1
  388. package/dist/{index-OElK7gw7.d.mts → index-DCpx_Rui.d.mts} +3 -1
  389. package/dist/{index-_kQsvJKo.d.mts → index-DEWaAoNb.d.mts} +8 -7
  390. package/dist/{index-DfTAYXUT.d.mts → index-DGsu3J-2.d.mts} +3 -1
  391. package/dist/{index-oI4U-72X.d.mts → index-DQAelfXy.d.mts} +3 -1
  392. package/dist/{index-Cd4UxWsz.d.mts → index-DWlpILHb.d.mts} +3 -1
  393. package/dist/{index-Dr-T8jsb.d.mts → index-DXXhfdQC.d.mts} +3 -1
  394. package/dist/{index-DKDpZraB.d.mts → index-D_fO4kp1.d.mts} +11 -2
  395. package/dist/{index-CtbGSRNw.d.mts → index-DiTKkiJ-.d.mts} +29 -10
  396. package/dist/{index-C8WNp4wI.d.mts → index-DpxOnkTQ.d.mts} +3 -1
  397. package/dist/{index-B1iBag3L.d.mts → index-DpzuwMB7.d.mts} +3 -1
  398. package/dist/{index-DjaHpB21.d.mts → index-Dq4bm9bV.d.mts} +3 -1
  399. package/dist/{index-nfkt_cP_.d.mts → index-DwVr4QfC.d.mts} +3 -1
  400. package/dist/{index-CAb_-2Bn.d.mts → index-Dxktk3O7.d.mts} +3 -1
  401. package/dist/{index-8JoOZcM6.d.mts → index-DzohdB6p.d.mts} +3 -1
  402. package/dist/{index-CM6inLqu.d.mts → index-IR-e1YzH.d.mts} +4 -2
  403. package/dist/{index-CkFXH_oG.d.mts → index-LXovbafa.d.mts} +3 -1
  404. package/dist/{index-D6eYSdmD.d.mts → index-W2Op578F.d.mts} +5 -3
  405. package/dist/{index-mshFOd-j.d.mts → index-e1MA6eIk.d.mts} +3 -1
  406. package/dist/{index-BkGvErBJ.d.mts → index-eQIdP9QO.d.mts} +3 -1
  407. package/dist/{index-XHTt8I1B.d.mts → index-evrdvWRI.d.mts} +3 -1
  408. package/dist/{index-CjNUtqX_.d.mts → index-oF_zauHL.d.mts} +3 -1
  409. package/dist/{index-B2JKtCzc.d.mts → index-znAFQEmQ.d.mts} +9 -5
  410. package/dist/index.d.mts +65 -62
  411. package/dist/index.mjs +72 -69
  412. package/dist/{kbd-LXHpi4GM.mjs → kbd-C2kft-a5.mjs} +2 -1
  413. package/dist/{layout-GfxGYYhg.mjs → layout-CvseQjaj.mjs} +1 -1
  414. package/dist/{link-CuNiatc7.mjs → link-xMyEhImB.mjs} +2 -1
  415. package/dist/{masonry-B4-v4kJ0.mjs → masonry-lGCtykYE.mjs} +2 -1
  416. package/dist/media-player-D1cymqXf.mjs +808 -0
  417. package/dist/mentions-L0Z29LV8.mjs +256 -0
  418. package/dist/{order-list-D3EhH7EX.mjs → order-list-CoE45N5_.mjs} +2 -1
  419. package/dist/{popconfirm-NK5BPbrN.mjs → popconfirm-C6VCMgtZ.mjs} +52 -25
  420. package/dist/{progress-group-BQMAQWXh.mjs → progress-group-OR53RKfW.mjs} +3 -2
  421. package/dist/{props-U567RIQo.d.mts → props-DL-XfEtS.d.mts} +1 -1
  422. package/dist/{result-4Oee2ndu.mjs → result-1kEBWRai.mjs} +1 -0
  423. package/dist/{select-8ume4i2e.mjs → select-DQQ0bSN9.mjs} +11 -6
  424. package/dist/{separator-4JWXConE.mjs → separator-doDccxti.mjs} +2 -1
  425. package/dist/{skeleton-DOfOrlmL.mjs → skeleton-CKLyMSAV.mjs} +2 -1
  426. package/dist/{split-button-DnmVc_J0.mjs → split-button-D_OqAXW0.mjs} +20 -15
  427. package/dist/{spotlight-DMC5E1eS.mjs → spotlight-COA_C9G5.mjs} +2 -1
  428. package/dist/{stack-DCKrejZp.mjs → stack-qBPmVt5S.mjs} +5 -4
  429. package/dist/{table-BsdqRuvj.mjs → table-geA12h-I.mjs} +214 -180
  430. package/dist/{terminal-Dgw5JEz4.mjs → terminal-C0XnhwEh.mjs} +2 -1
  431. package/dist/{textarea-DzDc678j.mjs → textarea-BUzu42K0.mjs} +2 -1
  432. package/dist/{toolbar-SNwuRrJr.mjs → toolbar-CiXQAM_F.mjs} +2 -1
  433. package/dist/{transfer-C0FLA8W1.mjs → transfer-B0EAGhLK.mjs} +13 -17
  434. package/dist/{tree-select-CSYSYZDN.mjs → tree-select-BEK7cdxE.mjs} +64 -61
  435. package/dist/{typography-Cygr9XaD.mjs → typography-Bl6MxaeI.mjs} +1 -0
  436. package/dist/use-media-controls-BYYG0DgO.mjs +149 -0
  437. package/dist/use-tour-BLNlDu27.mjs +180 -0
  438. package/dist/{user-BjJSjDYV.mjs → user-CAqrd4B7.mjs} +2 -1
  439. package/dist/{virtual-list-_10ypBUP.mjs → virtual-list-BLb78vlm.mjs} +12 -6
  440. package/dist/{watermark-C2d3-EAM.mjs → watermark-Bv3kvHIB.mjs} +3 -2
  441. package/package.json +3 -3
  442. package/dist/AngleSliderRoot-CUe5sgWU.mjs +0 -37
  443. package/dist/CheckboxRoot-BP4ynFLq.mjs +0 -37
  444. package/dist/ChevronIcon-CVJJYda-.mjs +0 -11
  445. package/dist/ClipboardRoot-UmyQFn27.mjs +0 -37
  446. package/dist/ColorPickerRoot-DLgI9s3u.mjs +0 -37
  447. package/dist/ComboboxRoot-BsVcmUOj.mjs +0 -37
  448. package/dist/DateInputRoot-nROaFmB7.mjs +0 -37
  449. package/dist/DatePickerRoot-CkeHEAcG.mjs +0 -37
  450. package/dist/EditableRoot-CLmP5sIH.mjs +0 -37
  451. package/dist/FileUploadTrigger-BgAcpLXx.mjs +0 -73
  452. package/dist/JsonTreeViewTree-CqRP_PwV.mjs +0 -71
  453. package/dist/ListboxRoot-DhFAnZ_c.mjs +0 -37
  454. package/dist/MenuRoot-C4zG0iw2.mjs +0 -80
  455. package/dist/NumberInputRoot-BQz2HHGb.mjs +0 -37
  456. package/dist/PaginationRoot-DnXcEZCa.mjs +0 -37
  457. package/dist/PasswordInputRoot-4yR0Aig4.mjs +0 -37
  458. package/dist/PinInputRoot-B8fTxTlv.mjs +0 -37
  459. package/dist/ProgressRoot-DwhwW31T.mjs +0 -37
  460. package/dist/RadioGroupRoot-BD_mxWjX.mjs +0 -37
  461. package/dist/RatingGroupRoot-iUWUAKtV.mjs +0 -37
  462. package/dist/SegmentGroupRoot-798Amg4S.mjs +0 -37
  463. package/dist/SelectRoot-l-rb18FH.mjs +0 -37
  464. package/dist/SliderRoot-BBIlf6Uw.mjs +0 -37
  465. package/dist/StepsRoot-C_FYfShw.mjs +0 -63
  466. package/dist/SwitchRoot-C7rPmjEA.mjs +0 -37
  467. package/dist/TabsRoot-DXd41HqW.mjs +0 -41
  468. package/dist/TagsInputRoot-COSQdHRz.mjs +0 -37
  469. package/dist/TocIndicator-DPnZxTJ2.mjs +0 -30
  470. package/dist/ToggleGroupRoot-D0ob9z4u.mjs +0 -37
  471. package/dist/TreeViewRoot-RBynRAly.mjs +0 -108
  472. package/dist/checkbox-group-ARW_z7gp.mjs +0 -130
  473. package/dist/image-viewer-DzoEcVSn.mjs +0 -202
  474. package/dist/index-CV1LSzq5.d.mts +0 -25
  475. package/dist/index-DG4OAuIf.d.mts +0 -26
  476. package/dist/mentions-DjhgNRmY.mjs +0 -204
@@ -1,3 +1,5 @@
1
+ import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
2
+ import { t as InternalIcon } from "./InternalIcon-Clwbj4MY.mjs";
1
3
  import { n as useComponentMessages, t as formatMessage } from "./messages-DNzA55pH.mjs";
2
4
  import { injectComponentStyle } from "@bysages/core";
3
5
  import "svelte/internal/disclose-version";
@@ -13,10 +15,8 @@ var rest_excludes$1 = /* @__PURE__ */ new Set([
13
15
  "onRemove",
14
16
  "aria-label"
15
17
  ]);
16
- var root$1 = $.from_svg(`<svg viewBox="0 0 16 16" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="square"><rect x="2.5" y="3.5" width="11" height="9"></rect><path d="M2.5 10.5 6 7l3 3 2-1.5 2.5 2"></path><circle cx="6" cy="6" r="0.75" fill="currentColor" stroke="none"></circle></svg>`);
17
- var root_1 = $.from_svg(`<svg viewBox="0 0 16 16" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="square"><path d="M4 2.5h5l3 3V13.5H4z"></path><path d="M9 2.5v3h3"></path></svg>`);
18
- var root_2 = $.from_html(`<span> </span>`);
19
- var root_3 = $.from_html(`<span><!> <span> </span> <!> <button type="button" data-remove=""><svg viewBox="0 0 16 16" width="12" height="12" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="square"><path d="M4 4l8 8M12 4l-8 8"></path></svg></button></span>`);
18
+ var root$1 = $.from_html(`<span> </span>`);
19
+ var root_1 = $.from_html(`<span><!> <span> </span> <!> <button type="button" data-remove=""><!></button></span>`);
20
20
  function Attachment$1($$anchor, $$props) {
21
21
  $.push($$props, true);
22
22
  injectComponentStyle("ai");
@@ -50,7 +50,7 @@ function Attachment$1($$anchor, $$props) {
50
50
  let status = $.prop($$props, "status", 3, "ready"), rest = $.rest_props($$props, rest_excludes$1);
51
51
  const messages = useComponentMessages();
52
52
  const removeLabel = $.derived(() => $$props["aria-label"] ?? formatMessage(messages().ai.removeAttachment, { name: $$props.name }));
53
- var span = root_3();
53
+ var span = root_1();
54
54
  $.attribute_effect(span, () => ({
55
55
  ...rest,
56
56
  "data-scope": "ai",
@@ -58,32 +58,31 @@ function Attachment$1($$anchor, $$props) {
58
58
  "data-status": status()
59
59
  }));
60
60
  var node = $.child(span);
61
- var consequent = ($$anchor) => {
62
- var svg = root$1();
63
- $.append($$anchor, svg);
64
- };
65
- var d = $.derived(() => isImage($$props.name));
66
- var alternate = ($$anchor) => {
67
- var svg_1 = root_1();
68
- $.append($$anchor, svg_1);
69
- };
70
- $.if(node, ($$render) => {
71
- if ($.get(d)) $$render(consequent);
72
- else $$render(alternate, -1);
73
- });
61
+ {
62
+ let $0 = $.derived(() => isImage($$props.name) ? "image" : "file");
63
+ InternalIcon(node, { get name() {
64
+ return $.get($0);
65
+ } });
66
+ }
74
67
  var span_1 = $.sibling(node, 2);
75
68
  var text = $.only_child(span_1, true);
76
69
  var node_1 = $.sibling(span_1, 2);
77
- var consequent_1 = ($$anchor) => {
78
- var span_2 = root_2();
70
+ var consequent = ($$anchor) => {
71
+ var span_2 = root$1();
79
72
  var text_1 = $.only_child(span_2, true);
80
73
  $.template_effect(($0) => $.set_text(text_1, $0), [() => humanSize($$props.size)]);
81
74
  $.append($$anchor, span_2);
82
75
  };
83
76
  $.if(node_1, ($$render) => {
84
- if ($$props.size !== void 0) $$render(consequent_1);
77
+ if ($$props.size !== void 0) $$render(consequent);
85
78
  });
86
79
  var button = $.sibling(node_1, 2);
80
+ var node_2 = $.child(button);
81
+ InternalIcon(node_2, {
82
+ name: "x",
83
+ size: "sm"
84
+ });
85
+ $.reset(button);
87
86
  $.reset(span);
88
87
  $.template_effect(() => {
89
88
  $.set_text(text, $$props.name);
@@ -121,7 +120,7 @@ function Attachments$1($$anchor, $$props) {
121
120
  }
122
121
  //#endregion
123
122
  //#region src/components/ai-attachments/index.ts
124
- const Attachment = Attachment$1;
125
- const Attachments = Attachments$1;
123
+ const Attachment = withSelfRoot(Attachment$1);
124
+ const Attachments = withSelfRoot(Attachments$1);
126
125
  //#endregion
127
126
  export { Attachments as n, Attachment as t };
@@ -1,3 +1,4 @@
1
+ import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
1
2
  import { injectComponentStyle } from "@bysages/core";
2
3
  import "svelte/internal/disclose-version";
3
4
  import * as $ from "svelte/internal/client";
@@ -31,6 +32,6 @@ function AiMessage$1($$anchor, $$props) {
31
32
  //#region src/components/ai-message/index.ts
32
33
  /** Whose stroke this is — the user's words sit in a recessed bubble,
33
34
  * the assistant speaks flat on the paper. */
34
- const AiMessage = AiMessage$1;
35
+ const AiMessage = withSelfRoot(AiMessage$1);
35
36
  //#endregion
36
37
  export { AiMessage as t };
@@ -1,6 +1,8 @@
1
- import { t as Button } from "./button-BCcX7lHq.mjs";
1
+ import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
2
+ import { t as InternalIcon } from "./InternalIcon-Clwbj4MY.mjs";
3
+ import { t as Button } from "./button-CghWQD3J.mjs";
2
4
  import { Field } from "./components/field/index.mjs";
3
- import { n as MentionsVessel } from "./mentions-DjhgNRmY.mjs";
5
+ import { n as MentionsVessel } from "./mentions-L0Z29LV8.mjs";
4
6
  import { t as useMentions } from "./use-mentions-DeF_38di.mjs";
5
7
  import { n as useComponentMessages } from "./messages-DNzA55pH.mjs";
6
8
  import { injectComponentStyle } from "@bysages/core";
@@ -26,12 +28,11 @@ var rest_excludes = /* @__PURE__ */ new Set([
26
28
  "footerEnd"
27
29
  ]);
28
30
  var root = $.from_svg(`<svg viewBox="0 0 16 16" width="14" height="14" aria-hidden="true"><rect x="4.5" y="4.5" width="7" height="7" fill="currentColor"></rect></svg>`);
29
- var root_1 = $.from_svg(`<svg viewBox="0 0 16 16" width="14" height="14" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="square"><path d="M8 13V3M3.5 7.5 8 3l4.5 4.5"></path></svg>`);
30
- var root_2 = $.from_html(`<div data-scope="ai" data-part="prompt-header"><!></div>`);
31
- var root_3 = $.from_html(`<div data-scope="ai" data-part="prompt-leading"><!></div>`);
32
- var root_4 = $.from_html(`<div data-scope="ai" data-part="prompt-trailing"><!> <!></div>`);
33
- var root_5 = $.from_html(`<div data-scope="ai" data-part="prompt-footer"><!> <div data-scope="ai" data-part="prompt-end"><!> <!></div></div>`);
34
- var root_6 = $.from_html(`<form><!> <div data-scope="ai" data-part="prompt-main"><!> <!> <!> <!></div> <!></form>`);
31
+ var root_1 = $.from_html(`<div data-scope="ai" data-part="prompt-header"><!></div>`);
32
+ var root_2 = $.from_html(`<div data-scope="ai" data-part="prompt-leading"><!></div>`);
33
+ var root_3 = $.from_html(`<div data-scope="ai" data-part="prompt-trailing"><!> <!></div>`);
34
+ var root_4 = $.from_html(`<div data-scope="ai" data-part="prompt-footer"><!> <div data-scope="ai" data-part="prompt-end"><!> <!></div></div>`);
35
+ var root_5 = $.from_html(`<form><!> <div data-scope="ai" data-part="prompt-main"><!> <!> <!> <!></div> <!></form>`);
35
36
  function AiPromptInput$1($$anchor, $$props) {
36
37
  $.push($$props, true);
37
38
  const seal = ($$anchor) => {
@@ -76,8 +77,10 @@ function AiPromptInput$1($$anchor, $$props) {
76
77
  return $.get($1);
77
78
  },
78
79
  children: ($$anchor, $$slotProps) => {
79
- var svg_1 = root_1();
80
- $.append($$anchor, svg_1);
80
+ InternalIcon($$anchor, {
81
+ name: "arrow-up",
82
+ size: "sm"
83
+ });
81
84
  },
82
85
  $$slots: { default: true }
83
86
  });
@@ -113,7 +116,7 @@ function AiPromptInput$1($$anchor, $$props) {
113
116
  $$props.onValueChange?.("");
114
117
  }
115
118
  const hasFooter = $.derived(() => $$props.footer != null);
116
- var form = root_6();
119
+ var form = root_5();
117
120
  var event_handler = (event) => {
118
121
  event.preventDefault();
119
122
  send();
@@ -126,7 +129,7 @@ function AiPromptInput$1($$anchor, $$props) {
126
129
  }));
127
130
  var node_1 = $.child(form);
128
131
  var consequent_1 = ($$anchor) => {
129
- var div = root_2();
132
+ var div = root_1();
130
133
  var node_2 = $.child(div);
131
134
  $.snippet(node_2, () => $$props.header);
132
135
  $.reset(div);
@@ -138,7 +141,7 @@ function AiPromptInput$1($$anchor, $$props) {
138
141
  var div_1 = $.sibling(node_1, 2);
139
142
  var node_3 = $.child(div_1);
140
143
  var consequent_2 = ($$anchor) => {
141
- var div_2 = root_3();
144
+ var div_2 = root_2();
142
145
  var node_4 = $.child(div_2);
143
146
  $.snippet(node_4, () => $$props.leading);
144
147
  $.reset(div_2);
@@ -151,8 +154,8 @@ function AiPromptInput$1($$anchor, $$props) {
151
154
  $.component(node_5, () => Field.Root, ($$anchor, Field_Root) => {
152
155
  Field_Root($$anchor, {
153
156
  children: ($$anchor, $$slotProps) => {
154
- var fragment_3 = $.comment();
155
- var node_6 = $.first_child(fragment_3);
157
+ var fragment_4 = $.comment();
158
+ var node_6 = $.first_child(fragment_4);
156
159
  {
157
160
  let $0 = $.derived(() => messages().ai.conversation);
158
161
  $.component(node_6, () => Field.Textarea, ($$anchor, Field_Textarea) => {
@@ -191,7 +194,7 @@ function AiPromptInput$1($$anchor, $$props) {
191
194
  });
192
195
  });
193
196
  }
194
- $.append($$anchor, fragment_3);
197
+ $.append($$anchor, fragment_4);
195
198
  },
196
199
  $$slots: { default: true }
197
200
  });
@@ -225,13 +228,13 @@ function AiPromptInput$1($$anchor, $$props) {
225
228
  });
226
229
  var node_8 = $.sibling(node_7, 2);
227
230
  var consequent_6 = ($$anchor) => {
228
- var div_3 = root_4();
231
+ var div_3 = root_3();
229
232
  var node_9 = $.child(div_3);
230
233
  var consequent_4 = ($$anchor) => {
231
- var fragment_5 = $.comment();
232
- var node_10 = $.first_child(fragment_5);
234
+ var fragment_6 = $.comment();
235
+ var node_10 = $.first_child(fragment_6);
233
236
  $.snippet(node_10, () => $$props.trailing);
234
- $.append($$anchor, fragment_5);
237
+ $.append($$anchor, fragment_6);
235
238
  };
236
239
  $.if(node_9, ($$render) => {
237
240
  if ($$props.trailing) $$render(consequent_4);
@@ -252,16 +255,16 @@ function AiPromptInput$1($$anchor, $$props) {
252
255
  $.reset(div_1);
253
256
  var node_12 = $.sibling(div_1, 2);
254
257
  var consequent_8 = ($$anchor) => {
255
- var div_4 = root_5();
258
+ var div_4 = root_4();
256
259
  var node_13 = $.child(div_4);
257
260
  $.snippet(node_13, () => $$props.footer);
258
261
  var div_5 = $.sibling(node_13, 2);
259
262
  var node_14 = $.child(div_5);
260
263
  var consequent_7 = ($$anchor) => {
261
- var fragment_7 = $.comment();
262
- var node_15 = $.first_child(fragment_7);
264
+ var fragment_8 = $.comment();
265
+ var node_15 = $.first_child(fragment_8);
263
266
  $.snippet(node_15, () => $$props.footerEnd);
264
- $.append($$anchor, fragment_7);
267
+ $.append($$anchor, fragment_8);
265
268
  };
266
269
  $.if(node_14, ($$render) => {
267
270
  if ($$props.footerEnd) $$render(consequent_7);
@@ -283,6 +286,6 @@ function AiPromptInput$1($$anchor, $$props) {
283
286
  //#region src/components/ai-prompt-input/index.ts
284
287
  /** The prompt vessel: the shared field textarea — self-growing on the
285
288
  * machine's autoresize — over a footer row carrying the submit seal. */
286
- const AiPromptInput = AiPromptInput$1;
289
+ const AiPromptInput = withSelfRoot(AiPromptInput$1);
287
290
  //#endregion
288
291
  export { AiPromptInput as t };
@@ -1,5 +1,6 @@
1
+ import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
1
2
  import { Collapsible } from "./components/collapsible/index.mjs";
2
- import { t as ChevronIcon } from "./ChevronIcon-CVJJYda-.mjs";
3
+ import { t as ChevronIcon } from "./ChevronIcon-BrLZJ0NH.mjs";
3
4
  import { injectComponentStyle } from "@bysages/core";
4
5
  import "svelte/internal/disclose-version";
5
6
  import * as $ from "svelte/internal/client";
@@ -72,6 +73,6 @@ function AiReasoning$1($$anchor, $$props) {
72
73
  //#region src/components/ai-reasoning/index.ts
73
74
  /** The model's thought, folded by the shared collapsible in its quiet
74
75
  * register. */
75
- const AiReasoning = AiReasoning$1;
76
+ const AiReasoning = withSelfRoot(AiReasoning$1);
76
77
  //#endregion
77
78
  export { AiReasoning as t };
@@ -1,14 +1,22 @@
1
+ import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
2
+ import { t as iconHtml } from "./icon-lWVQxDG6.mjs";
1
3
  import { n as useComponentMessages } from "./messages-DNzA55pH.mjs";
2
4
  import { injectComponentStyle } from "@bysages/core";
3
5
  import "svelte/internal/disclose-version";
4
6
  import * as $ from "svelte/internal/client";
5
7
  import { renderHtml } from "@tanstack/markdown/html";
6
8
  //#region src/components/ai-response/code-copy.ts
7
- /** The two glyphs a copy affordance needs: the stamp and its
8
- * confirmation. Inline SVG keeps the enhancement framework-agnostic —
9
- * it lives beside the renderer's generated code HTML. */
10
- const COPY_CODE_ICON = `<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect width="14" height="14" x="8" y="8" rx="2" ry="2"/><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/></svg>`;
11
- const COPIED_CODE_ICON = `<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 6 9 17l-5-5"/></svg>`;
9
+ /** The two icons a copy affordance needs: the stamp and its confirmation,
10
+ * drawn from the house icon set. Inline SVG keeps the enhancement
11
+ * framework-agnostic — it lives beside the renderer's generated code HTML. */
12
+ const COPY_CODE_ICON = iconHtml("copy", {
13
+ width: "14",
14
+ height: "14"
15
+ });
16
+ const COPIED_CODE_ICON = iconHtml("check", {
17
+ width: "14",
18
+ height: "14"
19
+ });
12
20
  /** How long the confirmation stays before the stamp returns. */
13
21
  const REVERT_MS = 1500;
14
22
  /** Make sure every fenced block under `host` carries its copy stamp.
@@ -145,6 +153,6 @@ function AiResponse$1($$anchor, $$props) {
145
153
  //#endregion
146
154
  //#region src/components/ai-response/index.ts
147
155
  /** Markdown set on the paper — streaming-safe by construction. */
148
- const AiResponse = AiResponse$1;
156
+ const AiResponse = withSelfRoot(AiResponse$1);
149
157
  //#endregion
150
158
  export { AiResponse as t };
@@ -1,3 +1,4 @@
1
+ import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
1
2
  import { injectComponentStyle } from "@bysages/core";
2
3
  import "svelte/internal/disclose-version";
3
4
  import * as $ from "svelte/internal/client";
@@ -72,7 +73,7 @@ function AiSources$1($$anchor, $$props) {
72
73
  //#region src/components/ai-source/index.ts
73
74
  /** One place the ink came from, and the reading list that gathers
74
75
  * them under a response. */
75
- const AiSource = AiSource$1;
76
- const AiSources = AiSources$1;
76
+ const AiSource = withSelfRoot(AiSource$1);
77
+ const AiSources = withSelfRoot(AiSources$1);
77
78
  //#endregion
78
79
  export { AiSources as n, AiSource as t };
@@ -1,4 +1,5 @@
1
- import { t as Button } from "./button-BCcX7lHq.mjs";
1
+ import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
2
+ import { t as Button } from "./button-CghWQD3J.mjs";
2
3
  import { injectComponentStyle } from "@bysages/core";
3
4
  import "svelte/internal/disclose-version";
4
5
  import * as $ from "svelte/internal/client";
@@ -33,6 +34,6 @@ function AiSuggestion$1($$anchor, $$props) {
33
34
  //#region src/components/ai-suggestion/index.ts
34
35
  /** A seal-cut button proposing the next stroke; selection hands back
35
36
  * the prompt. */
36
- const AiSuggestion = AiSuggestion$1;
37
+ const AiSuggestion = withSelfRoot(AiSuggestion$1);
37
38
  //#endregion
38
39
  export { AiSuggestion as t };
@@ -1,5 +1,6 @@
1
+ import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
1
2
  import { Collapsible } from "./components/collapsible/index.mjs";
2
- import { t as ChevronIcon } from "./ChevronIcon-CVJJYda-.mjs";
3
+ import { t as ChevronIcon } from "./ChevronIcon-BrLZJ0NH.mjs";
3
4
  import { injectComponentStyle } from "@bysages/core";
4
5
  import "svelte/internal/disclose-version";
5
6
  import * as $ from "svelte/internal/client";
@@ -112,6 +113,6 @@ function AiTool$1($$anchor, $$props) {
112
113
  /** A tool call: the shared collapsible as the vessel — the name it
113
114
  * was reached by and the state it reached in on the trigger, its
114
115
  * input and output folded inside. */
115
- const AiTool = AiTool$1;
116
+ const AiTool = withSelfRoot(AiTool$1);
116
117
  //#endregion
117
118
  export { AiTool as t };
@@ -1,3 +1,4 @@
1
+ import { t as InternalIcon } from "./InternalIcon-Clwbj4MY.mjs";
1
2
  import { injectComponentStyle } from "@bysages/core";
2
3
  import "svelte/internal/disclose-version";
3
4
  import * as $ from "svelte/internal/client";
@@ -87,18 +88,18 @@ var rest_excludes$1 = /* @__PURE__ */ new Set([
87
88
  "$$events",
88
89
  "$$legacy"
89
90
  ]);
90
- var root$1 = $.from_html(`<span><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path></path></svg></span>`);
91
+ var root$1 = $.from_html(`<span><!></span>`);
91
92
  function AlertIcon($$anchor, $$props) {
92
93
  $.push($$props, true);
93
94
  injectComponentStyle("alert");
94
95
  let rest = $.rest_props($$props, rest_excludes$1);
95
96
  const readStatus = getContext("alert:status");
96
- const paths = {
97
- info: "M12 8v5m0 3v.01M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18Z",
98
- success: "m4 12.5 5 5L20 6.5",
99
- warning: "M12 4 2.5 20h19L12 4Zm0 6v4m0 3v.01",
100
- danger: "M6 6l12 12M18 6 6 18",
101
- ink: "M12 8v5m0 3v.01M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18Z"
97
+ const statusIcons = {
98
+ ink: "info",
99
+ info: "info",
100
+ success: "circle-check",
101
+ warning: "triangle-alert",
102
+ danger: "circle-x"
102
103
  };
103
104
  var span = root$1();
104
105
  $.attribute_effect(span, () => ({
@@ -106,12 +107,14 @@ function AlertIcon($$anchor, $$props) {
106
107
  "data-scope": "alert",
107
108
  "data-part": "icon"
108
109
  }));
109
- var svg = $.child(span);
110
- $.set_attribute(svg, "width", 16);
111
- $.set_attribute(svg, "height", 16);
112
- var path = $.only_child(svg);
110
+ var node = $.child(span);
111
+ {
112
+ let $0 = $.derived(() => statusIcons[readStatus()]);
113
+ InternalIcon(node, { get name() {
114
+ return $.get($0);
115
+ } });
116
+ }
113
117
  $.reset(span);
114
- $.template_effect(($0) => $.set_attribute(path, "d", $0), [() => paths[readStatus()]]);
115
118
  $.append($$anchor, span);
116
119
  $.pop();
117
120
  }
@@ -1,3 +1,4 @@
1
+ import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
1
2
  import { injectComponentStyle } from "@bysages/core";
2
3
  import "svelte/internal/disclose-version";
3
4
  import * as $ from "svelte/internal/client";
@@ -31,6 +32,6 @@ function AspectRatio$1($$anchor, $$props) {
31
32
  //#region src/components/aspect-ratio/index.ts
32
33
  /** A frame that keeps its shape: the box holds the given ratio whatever
33
34
  * the width it is dealt, and the child fills the frame it is given. */
34
- const AspectRatio = AspectRatio$1;
35
+ const AspectRatio = withSelfRoot(AspectRatio$1);
35
36
  //#endregion
36
37
  export { AspectRatio as t };
@@ -1,8 +1,10 @@
1
+ import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
1
2
  import { n as useComponentMessages } from "./messages-DNzA55pH.mjs";
2
3
  import { injectComponentStyle } from "@bysages/core";
3
4
  import "svelte/internal/disclose-version";
4
5
  import * as $ from "svelte/internal/client";
5
6
  import { Portal } from "@ark-ui/svelte/portal";
7
+ import { untrack } from "svelte";
6
8
  import { Combobox } from "@ark-ui/svelte/combobox";
7
9
  import { useListCollection } from "@ark-ui/svelte/collection";
8
10
  //#region src/components/autocomplete/AutoComplete.svelte
@@ -22,10 +24,13 @@ function AutoComplete$1($$anchor, $$props) {
22
24
  injectComponentStyle("combobox");
23
25
  let value = $.prop($$props, "value", 15, ""), items = $.prop($$props, "items", 19, () => []), size = $.prop($$props, "size", 3, "md"), rest = $.rest_props($$props, rest_excludes);
24
26
  const messages = useComponentMessages();
25
- const { collection, filter: filterItems } = useListCollection({
26
- initialItems: items(),
27
+ const { collection, filter: filterItems, set } = useListCollection({
28
+ initialItems: untrack(() => items()),
27
29
  filter: (item, input) => $$props.filter ? $$props.filter(item, input) : item.toLowerCase().includes(input.toLowerCase())
28
30
  });
31
+ $.user_effect(() => {
32
+ set(items());
33
+ });
29
34
  var fragment = $.comment();
30
35
  var node = $.first_child(fragment);
31
36
  $.component(node, () => Combobox.Root, ($$anchor, ArkCombobox_Root) => {
@@ -151,6 +156,6 @@ function AutoComplete$1($$anchor, $$props) {
151
156
  /** Free text with suggestions: the reader types anything, the list
152
157
  * narrows to help, and both a pick and a custom value end up in the
153
158
  * same `value`. A preset of the combobox machinery. */
154
- const AutoComplete = AutoComplete$1;
159
+ const AutoComplete = withSelfRoot(AutoComplete$1);
155
160
  //#endregion
156
161
  export { AutoComplete as t };
@@ -1,3 +1,4 @@
1
+ import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
1
2
  import { injectComponentStyle } from "@bysages/core";
2
3
  import "svelte/internal/disclose-version";
3
4
  import * as $ from "svelte/internal/client";
@@ -31,6 +32,6 @@ function AvatarGroup$1($$anchor, $$props) {
31
32
  //#region src/components/avatar-group/index.ts
32
33
  /** Avatars overlapping one row, each rimmed in the ground so the pile
33
34
  * stays legible. */
34
- const AvatarGroup = AvatarGroup$1;
35
+ const AvatarGroup = withSelfRoot(AvatarGroup$1);
35
36
  //#endregion
36
37
  export { AvatarGroup as t };
@@ -1,4 +1,6 @@
1
- import { t as Button } from "./button-BCcX7lHq.mjs";
1
+ import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
2
+ import { t as InternalIcon } from "./InternalIcon-Clwbj4MY.mjs";
3
+ import { t as Button } from "./button-CghWQD3J.mjs";
2
4
  import { injectComponentStyle } from "@bysages/core";
3
5
  import "svelte/internal/disclose-version";
4
6
  import * as $ from "svelte/internal/client";
@@ -12,8 +14,7 @@ var rest_excludes = /* @__PURE__ */ new Set([
12
14
  "scrollEl",
13
15
  "children"
14
16
  ]);
15
- var root = $.from_svg(`<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m6 14 6-6 6 6"></path></svg>`);
16
- var root_1 = $.from_html(`<div><!></div>`);
17
+ var root = $.from_html(`<div><!></div>`);
17
18
  function BackTop$1($$anchor, $$props) {
18
19
  $.push($$props, true);
19
20
  injectComponentStyle("back-top");
@@ -43,7 +44,7 @@ function BackTop$1($$anchor, $$props) {
43
44
  behavior: reduce ? "auto" : "smooth"
44
45
  });
45
46
  };
46
- var div = root_1();
47
+ var div = root();
47
48
  $.attribute_effect(div, () => ({
48
49
  "data-scope": "back-top",
49
50
  "data-part": "root",
@@ -79,8 +80,7 @@ function BackTop$1($$anchor, $$props) {
79
80
  $.append($$anchor, fragment_1);
80
81
  };
81
82
  var alternate = ($$anchor) => {
82
- var svg = root();
83
- $.append($$anchor, svg);
83
+ InternalIcon($$anchor, { name: "chevron-up" });
84
84
  };
85
85
  $.if(node_1, ($$render) => {
86
86
  if ($$props.children) $$render(consequent);
@@ -104,6 +104,6 @@ function BackTop$1($$anchor, $$props) {
104
104
  * back into an instant jump. The control itself is the shared `Button`
105
105
  * (outline, square) — the paper, hairline and halo are its; this family
106
106
  * owns only the floating and the entrance. */
107
- const BackTop = BackTop$1;
107
+ const BackTop = withSelfRoot(BackTop$1);
108
108
  //#endregion
109
109
  export { BackTop as t };
@@ -1,3 +1,4 @@
1
+ import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
1
2
  import { injectComponentStyle } from "@bysages/core";
2
3
  import "svelte/internal/disclose-version";
3
4
  import * as $ from "svelte/internal/client";
@@ -33,6 +34,6 @@ function Badge$1($$anchor, $$props) {
33
34
  //#region src/components/badge/index.ts
34
35
  /** A small seal of state. Ink is the neutral tone; the four semantic
35
36
  * pigments are fixed. Subtle and outline re-register the same pigment. */
36
- const Badge = Badge$1;
37
+ const Badge = withSelfRoot(Badge$1);
37
38
  //#endregion
38
39
  export { Badge as t };
@@ -1,3 +1,4 @@
1
+ import { t as InternalIcon } from "./InternalIcon-Clwbj4MY.mjs";
1
2
  import { n as useComponentMessages } from "./messages-DNzA55pH.mjs";
2
3
  import { injectComponentStyle } from "@bysages/core";
3
4
  import "svelte/internal/disclose-version";
@@ -88,7 +89,7 @@ var rest_excludes$3 = /* @__PURE__ */ new Set([
88
89
  "type",
89
90
  "aria-label"
90
91
  ]);
91
- var root$3 = $.from_html(`<button><svg viewBox="0 0 16 16" fill="none" aria-hidden="true"><path d="M4 4l8 8M12 4l-8 8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg></button>`);
92
+ var root$3 = $.from_html(`<button><!></button>`);
92
93
  function BannerClose($$anchor, $$props) {
93
94
  $.push($$props, true);
94
95
  injectComponentStyle("banner");
@@ -102,6 +103,9 @@ function BannerClose($$anchor, $$props) {
102
103
  "data-scope": "banner",
103
104
  "data-part": "close"
104
105
  }), [() => $$props["aria-label"] ?? messages().banner.dismiss]);
106
+ var node = $.child(button);
107
+ InternalIcon(node, { name: "x" });
108
+ $.reset(button);
105
109
  $.append($$anchor, button);
106
110
  $.pop();
107
111
  }
@@ -1,3 +1,4 @@
1
+ import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
1
2
  import { t as Spinner } from "./Spinner-DGAzGJ_8.mjs";
2
3
  import { injectComponentStyle } from "@bysages/core";
3
4
  import "svelte/internal/disclose-version";
@@ -45,6 +46,6 @@ function BlockUI$1($$anchor, $$props) {
45
46
  //#region src/components/block-ui/index.ts
46
47
  /** A curtain over content that must wait: frosted paper and one
47
48
  * quiet wheel. */
48
- const BlockUI = BlockUI$1;
49
+ const BlockUI = withSelfRoot(BlockUI$1);
49
50
  //#endregion
50
51
  export { BlockUI as t };
@@ -137,6 +137,7 @@ function BrowserUrlBar($$anchor, $$props) {
137
137
  //#region src/components/browser/index.ts
138
138
  /** A browser window as a vessel: Root, TitleBar, Dots, UrlBar, Body. */
139
139
  const Browser = Object.assign(Browser$1, {
140
+ Root: Browser$1,
140
141
  TitleBar: BrowserTitleBar,
141
142
  Dots: BrowserDots,
142
143
  UrlBar: BrowserUrlBar,
@@ -1,3 +1,4 @@
1
+ import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
1
2
  import { injectComponentStyle } from "@bysages/core";
2
3
  import "svelte/internal/disclose-version";
3
4
  import * as $ from "svelte/internal/client";
@@ -47,6 +48,6 @@ function Button$1($$anchor, $$props) {
47
48
  /** The control recipe as a standalone button: the variant chooses how it
48
49
  * rests, the tone chooses the pigment. Ink is the solemn default; any
49
50
  * action can carry the primary weight. */
50
- const Button = Button$1;
51
+ const Button = withSelfRoot(Button$1);
51
52
  //#endregion
52
53
  export { Button as t };
@@ -1,3 +1,4 @@
1
+ import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
1
2
  import { injectComponentStyle } from "@bysages/core";
2
3
  import "svelte/internal/disclose-version";
3
4
  import * as $ from "svelte/internal/client";
@@ -36,6 +37,6 @@ function ButtonGroup$1($$anchor, $$props) {
36
37
  //#region src/components/button-group/index.ts
37
38
  /** Buttons fused into one control: the group owns only the joinery, so
38
39
  * members keep every variant they were given. */
39
- const ButtonGroup = ButtonGroup$1;
40
+ const ButtonGroup = withSelfRoot(ButtonGroup$1);
40
41
  //#endregion
41
42
  export { ButtonGroup as t };