@bysages/svelte 0.4.3 → 0.5.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 (535) hide show
  1. package/README.md +2 -1
  2. package/dist/{Accordion-DUUod-V6.mjs → Accordion-uJ1bTltg.mjs} +4 -6
  3. package/dist/AiLoader-gWAgLlVT.mjs +184 -0
  4. package/dist/{AngleSlider-BDmLIZcL.mjs → AngleSlider-1HJ7tzno.mjs} +3 -5
  5. package/dist/{autocomplete-b65dChlK.mjs → AutoComplete-BY270ouT.mjs} +3 -11
  6. package/dist/AvatarFacade-CBILxhOm.mjs +145 -0
  7. package/dist/BannerIcon-BTkMzpWu.mjs +281 -0
  8. package/dist/BreadcrumbList-DRHZcJHW.mjs +253 -0
  9. package/dist/{Calendar-MQdoAnJK.mjs → Calendar-BEdhUb-8.mjs} +2 -3
  10. package/dist/{Carousel-DNMQMvm6.mjs → Carousel-D_NYkQcN.mjs} +4 -6
  11. package/dist/{Checkbox-z4EXYH9a.mjs → Checkbox-DMjIIQFH.mjs} +4 -6
  12. package/dist/{checkbox-group-DESN0Y8Y.mjs → CheckboxGroup-D2rQc9D9.mjs} +8 -14
  13. package/dist/{ChevronIcon-hvMd0d_i.mjs → ChevronIcon-O4SEvOw3.mjs} +2 -3
  14. package/dist/{Clipboard-Bdui0U6I.mjs → Clipboard-Dbbt5clT.mjs} +4 -6
  15. package/dist/{Collapsible-CDwjsDwH.mjs → Collapsible-Brrm-Skp.mjs} +5 -7
  16. package/dist/{ColorPicker-BBc8-TIN.mjs → ColorPicker-DvaN4rQi.mjs} +70 -13
  17. package/dist/{Combobox-8BSw_3Ab.mjs → Combobox-Cc8Rb5cQ.mjs} +4 -6
  18. package/dist/{command-CG6IfFZO.mjs → Command-Dc4-z9YE.mjs} +3 -16
  19. package/dist/{DateInput-BpCL_GE-.mjs → DateInput-Dca8fTIE.mjs} +3 -5
  20. package/dist/{DatePicker-DJDUqjiE.mjs → DatePicker-BYktdigv.mjs} +4 -6
  21. package/dist/{Descriptions-C1qZ05Ph.mjs → Descriptions-DQ-53bH0.mjs} +4 -8
  22. package/dist/DialogFooter-B_sDX4Dz.mjs +276 -0
  23. package/dist/{Drawer-DkFAYikg.mjs → Drawer-I1dtgAYo.mjs} +4 -6
  24. package/dist/{Editable-lC-REFTP.mjs → Editable-DsphXV9A.mjs} +4 -6
  25. package/dist/{Field-CEUQfFAn.mjs → Field-BDu5Li-Z.mjs} +3 -5
  26. package/dist/{Fieldset-BWqjtIBF.mjs → Fieldset-DgdSwUWb.mjs} +3 -5
  27. package/dist/{FileUpload-7LgqVD7x.mjs → FileUpload-22CRez-p.mjs} +5 -8
  28. package/dist/{float-button-DK8hviBz.mjs → FloatButtonFacade-DWEaxhZ-.mjs} +106 -27
  29. package/dist/{FloatingPanel-DJG3Drow.mjs → FloatingPanel-Bzh9Xcpq.mjs} +33 -23
  30. package/dist/{HoverCard-c3tT648V.mjs → HoverCard-UD0UpoU2.mjs} +3 -5
  31. package/dist/{ImageCropper-Dgyj2byr.mjs → ImageCropper-B0_WmsYX.mjs} +3 -5
  32. package/dist/{ImageViewer-s41DessS.mjs → ImageViewer-CJZnrFdu.mjs} +15 -20
  33. package/dist/{Input-DLfLshYU.mjs → Input-DTXzYJnH.mjs} +2 -4
  34. package/dist/{InternalIcon-Dr81WIG1.mjs → InternalIcon-34cw8jr_.mjs} +2 -3
  35. package/dist/{JsonTreeViewTree-DkD987Zf.mjs → JsonTreeViewTree-DONQc4hx.mjs} +5 -8
  36. package/dist/{Listbox-C-u5WxHv.mjs → Listbox-B6AR7Q42.mjs} +4 -6
  37. package/dist/{Marquee-BOpZFSCo.mjs → Marquee-D78rmIoV.mjs} +3 -5
  38. package/dist/Mentions-wRPCCvkr.mjs +517 -0
  39. package/dist/{Menu-DA7CeDYL.mjs → Menu-dVdsNqPd.mjs} +6 -10
  40. package/dist/{Menubar-BC-ByvNh.mjs → Menubar-DgnjVxe2.mjs} +1 -2
  41. package/dist/{NavigationMenu-BpQJwrv3.mjs → NavigationMenu-5ZIyBjeF.mjs} +4 -7
  42. package/dist/{NumberInput-BDbTmUgg.mjs → NumberInput-D55VBFQc.mjs} +4 -6
  43. package/dist/{Pagination-BmFNV_Vu.mjs → Pagination-U8EheOtR.mjs} +4 -6
  44. package/dist/{PasswordInput-Cas4e19J.mjs → PasswordInput-UiXeV0Vy.mjs} +4 -6
  45. package/dist/{PinInput-CgpLwgNu.mjs → PinInput-BCQTaa_7.mjs} +3 -5
  46. package/dist/{popconfirm-BVTFOLDu.mjs → Popconfirm-B28uwDcI.mjs} +3 -10
  47. package/dist/{Popover-BQeFwet4.mjs → Popover-CtibWZei.mjs} +4 -6
  48. package/dist/{Progress-Byx2qRcT.mjs → Progress-B5qhfR5z.mjs} +3 -5
  49. package/dist/{QrCode-1i33zrFY.mjs → QrCode-DnrcIXDR.mjs} +3 -5
  50. package/dist/{RadioGroup-COvt4pCJ.mjs → RadioGroup-C8PEu7ec.mjs} +3 -5
  51. package/dist/{RatingGroup-DSzJ56Yw.mjs → RatingGroup-5WnFsX6T.mjs} +4 -6
  52. package/dist/{ScrollArea-QeA9Z68Y.mjs → ScrollArea-BL6EBKHt.mjs} +12 -5
  53. package/dist/{SegmentGroup-BG8A5JPz.mjs → SegmentGroup-IhYo60zG.mjs} +3 -5
  54. package/dist/{Select-D9XgciuN.mjs → Select-BbQQihFi.mjs} +5 -7
  55. package/dist/{SignaturePad-Dc5YbZoV.mjs → SignaturePad-BIQhddws.mjs} +5 -8
  56. package/dist/{Slider-QPKs7Ub5.mjs → Slider-CB0utTvZ.mjs} +3 -5
  57. package/dist/{Spinner-D-Lrgjmo.mjs → Spinner-Dj5AWiFo.mjs} +2 -3
  58. package/dist/{split-button-BEgDY4EZ.mjs → SplitButton-BMqXeYAV.mjs} +5 -14
  59. package/dist/{Splitter-BXyqbcwY.mjs → Splitter-D88dgj4Y.mjs} +3 -5
  60. package/dist/{StepsItem-KwQ6SrNR.mjs → StepsItem-BgjdE8VO.mjs} +4 -7
  61. package/dist/{Swap-CkhKz3Ue.mjs → Swap-DgvGJ2lH.mjs} +4 -6
  62. package/dist/{Switch-AxmjfTNx.mjs → Switch-4z2OyHSJ.mjs} +3 -5
  63. package/dist/Tabs-DRHAw_3y.mjs +251 -0
  64. package/dist/{TagsInput-BPrJLeuZ.mjs → TagsInput-CUy_cZiW.mjs} +4 -6
  65. package/dist/{Timer-CXPRBF49.mjs → Timer-BXZkNc4v.mjs} +3 -5
  66. package/dist/{Toast-mxbydOO8.mjs → Toast-lYgJajNr.mjs} +4 -6
  67. package/dist/{TocContent-DVP0_twz.mjs → TocContent-CMiVQXiM.mjs} +5 -9
  68. package/dist/{Toggle-CP2UGolY.mjs → Toggle-CttcwDuy.mjs} +3 -5
  69. package/dist/{ToggleGroup-BfW1gjVm.mjs → ToggleGroup-DGCd6qvY.mjs} +4 -6
  70. package/dist/{Tooltip-BMFCR30g.mjs → Tooltip-DAj4cqTb.mjs} +3 -5
  71. package/dist/{transfer-CnfoiJ8O.mjs → Transfer-CgqqDOc7.mjs} +5 -14
  72. package/dist/{tree-select-CR2-Jskd.mjs → TreeSelect-o3KT1Ixj.mjs} +5 -13
  73. package/dist/{TreeViewNodeCheckbox-t2i6iaiq.mjs → TreeViewNodeCheckbox-BNwGbFEv.mjs} +148 -48
  74. package/dist/{affix-zZj9e2iB.mjs → affix-DVDIxtxN.mjs} +3 -5
  75. package/dist/ai-Dl0sf36w.mjs +454 -0
  76. package/dist/{ai-action-D3kQhycd.mjs → ai-action-CN_38CTn.mjs} +4 -6
  77. package/dist/{ai-attachments-ksKxDHG2.mjs → ai-attachments-CMTc9qoY.mjs} +6 -9
  78. package/dist/{ai-message-DyQZXA7q.mjs → ai-message-Bl8E6VQu.mjs} +7 -6
  79. package/dist/ai-prompt-input-BeovJUY8.mjs +580 -0
  80. package/dist/{ai-reasoning-DA6bWwlo.mjs → ai-reasoning-bh5sTx49.mjs} +4 -6
  81. package/dist/{ai-response-DrsGpVej.mjs → ai-response-pB9Xjn9l.mjs} +10 -13
  82. package/dist/{ai-source-2eYEEt6r.mjs → ai-source-Dl1J6ml2.mjs} +4 -7
  83. package/dist/{ai-suggestion-BtlG02Sz.mjs → ai-suggestion-_ICqZem2.mjs} +4 -6
  84. package/dist/ai-tool-CwODrt-l.mjs +228 -0
  85. package/dist/{alert-pTPh9zID.mjs → alert-Dj3k9PIZ.mjs} +7 -13
  86. package/dist/{aspect-ratio-CIjPsfel.mjs → aspect-ratio-D7IG1R7i.mjs} +3 -5
  87. package/dist/{avatar-group-BL7PyLo1.mjs → avatar-group-DkKnKe-Q.mjs} +3 -5
  88. package/dist/{back-top-FpXkOE3N.mjs → back-top-V5tDyic7.mjs} +5 -7
  89. package/dist/{badge-N_KoQG_c.mjs → badge-aB6Ew84r.mjs} +3 -5
  90. package/dist/{bento-ChsvZJOE.mjs → bento-DBRH60s5.mjs} +3 -6
  91. package/dist/{block-ui-CHajwHI5.mjs → block-ui-CDdInTdI.mjs} +4 -6
  92. package/dist/{browser-KnMt333t.mjs → browser-DhUye17R.mjs} +6 -12
  93. package/dist/{button-Cl45zjdj.mjs → button-D-u911qp.mjs} +3 -5
  94. package/dist/{button-group-D9mgSVlR.mjs → button-group-DTHZTPnA.mjs} +3 -5
  95. package/dist/{card-DPVT_VaK.mjs → card-ihj2ejBR.mjs} +7 -14
  96. package/dist/{cascade-select-BhdGSRCa.mjs → cascade-select-B2NVNu_A.mjs} +12 -12
  97. package/dist/{chip-DputaHcF.mjs → chip-BaLIM7h1.mjs} +3 -5
  98. package/dist/{comment-DZ9l7mDZ.mjs → comment-_Lt7IR2M.mjs} +3 -5
  99. package/dist/components/accordion/index.d.mts +2 -4
  100. package/dist/components/accordion/index.mjs +3 -4
  101. package/dist/components/affix/index.d.mts +1 -1
  102. package/dist/components/affix/index.mjs +1 -2
  103. package/dist/components/ai/index.d.mts +10 -11
  104. package/dist/components/ai/index.mjs +3 -28
  105. package/dist/components/ai-action/index.d.mts +1 -3
  106. package/dist/components/ai-action/index.mjs +1 -2
  107. package/dist/components/ai-attachments/index.d.mts +1 -1
  108. package/dist/components/ai-attachments/index.mjs +1 -2
  109. package/dist/components/ai-message/index.d.mts +2 -9
  110. package/dist/components/ai-message/index.mjs +1 -2
  111. package/dist/components/ai-prompt-input/index.d.mts +1 -3
  112. package/dist/components/ai-prompt-input/index.mjs +1 -2
  113. package/dist/components/ai-reasoning/index.d.mts +1 -3
  114. package/dist/components/ai-reasoning/index.mjs +1 -2
  115. package/dist/components/ai-response/index.d.mts +1 -3
  116. package/dist/components/ai-response/index.mjs +1 -2
  117. package/dist/components/ai-source/index.d.mts +1 -3
  118. package/dist/components/ai-source/index.mjs +1 -2
  119. package/dist/components/ai-suggestion/index.d.mts +1 -3
  120. package/dist/components/ai-suggestion/index.mjs +1 -2
  121. package/dist/components/ai-tool/index.d.mts +2 -10
  122. package/dist/components/ai-tool/index.mjs +1 -2
  123. package/dist/components/alert/index.d.mts +1 -1
  124. package/dist/components/alert/index.mjs +1 -2
  125. package/dist/components/angle-slider/index.d.mts +2 -4
  126. package/dist/components/angle-slider/index.mjs +3 -4
  127. package/dist/components/aspect-ratio/index.d.mts +1 -1
  128. package/dist/components/aspect-ratio/index.mjs +1 -2
  129. package/dist/components/autocomplete/index.d.mts +1 -1
  130. package/dist/components/autocomplete/index.mjs +8 -1
  131. package/dist/components/avatar/index.d.mts +2 -12
  132. package/dist/components/avatar/index.mjs +4 -5
  133. package/dist/components/avatar-group/index.d.mts +1 -1
  134. package/dist/components/avatar-group/index.mjs +1 -2
  135. package/dist/components/back-top/index.d.mts +1 -1
  136. package/dist/components/back-top/index.mjs +1 -2
  137. package/dist/components/badge/index.d.mts +1 -1
  138. package/dist/components/badge/index.mjs +1 -2
  139. package/dist/components/banner/index.d.mts +2 -2
  140. package/dist/components/banner/index.mjs +16 -1
  141. package/dist/components/bento/index.d.mts +1 -1
  142. package/dist/components/bento/index.mjs +1 -2
  143. package/dist/components/block-ui/index.d.mts +1 -1
  144. package/dist/components/block-ui/index.mjs +1 -2
  145. package/dist/components/breadcrumb/index.d.mts +2 -2
  146. package/dist/components/breadcrumb/index.mjs +14 -1
  147. package/dist/components/browser/index.d.mts +1 -3
  148. package/dist/components/browser/index.mjs +1 -2
  149. package/dist/components/button/index.d.mts +1 -1
  150. package/dist/components/button/index.mjs +1 -2
  151. package/dist/components/button-group/index.d.mts +1 -1
  152. package/dist/components/button-group/index.mjs +1 -2
  153. package/dist/components/calendar/index.d.mts +1 -1
  154. package/dist/components/calendar/index.mjs +3 -4
  155. package/dist/components/card/index.d.mts +1 -1
  156. package/dist/components/card/index.mjs +1 -2
  157. package/dist/components/carousel/index.d.mts +2 -4
  158. package/dist/components/carousel/index.mjs +3 -4
  159. package/dist/components/cascade-select/index.d.mts +1 -1
  160. package/dist/components/cascade-select/index.mjs +1 -2
  161. package/dist/components/checkbox/index.d.mts +2 -4
  162. package/dist/components/checkbox/index.mjs +3 -4
  163. package/dist/components/checkbox-group/index.d.mts +1 -1
  164. package/dist/components/checkbox-group/index.mjs +9 -1
  165. package/dist/components/chip/index.d.mts +1 -1
  166. package/dist/components/chip/index.mjs +1 -2
  167. package/dist/components/client-only/index.d.mts +0 -2
  168. package/dist/components/client-only/index.mjs +2 -3
  169. package/dist/components/clipboard/index.d.mts +1 -1
  170. package/dist/components/clipboard/index.mjs +3 -4
  171. package/dist/components/collapsible/index.d.mts +2 -4
  172. package/dist/components/collapsible/index.mjs +3 -4
  173. package/dist/components/collection/index.mjs +1 -2
  174. package/dist/components/color-picker/index.d.mts +2 -4
  175. package/dist/components/color-picker/index.mjs +3 -4
  176. package/dist/components/combobox/index.d.mts +2 -4
  177. package/dist/components/combobox/index.mjs +3 -4
  178. package/dist/components/command/index.d.mts +1 -1
  179. package/dist/components/command/index.mjs +14 -1
  180. package/dist/components/comment/index.d.mts +1 -1
  181. package/dist/components/comment/index.mjs +1 -2
  182. package/dist/components/config-provider/index.d.mts +1 -1
  183. package/dist/components/config-provider/index.mjs +2 -2
  184. package/dist/components/container/index.d.mts +1 -1
  185. package/dist/components/container/index.mjs +1 -2
  186. package/dist/components/data-view/index.d.mts +1 -1
  187. package/dist/components/data-view/index.mjs +1 -2
  188. package/dist/components/date-input/index.d.mts +2 -4
  189. package/dist/components/date-input/index.mjs +3 -4
  190. package/dist/components/date-picker/index.d.mts +2 -4
  191. package/dist/components/date-picker/index.mjs +3 -4
  192. package/dist/components/deferred-content/index.d.mts +1 -1
  193. package/dist/components/deferred-content/index.mjs +1 -2
  194. package/dist/components/descriptions/index.d.mts +1 -1
  195. package/dist/components/descriptions/index.mjs +3 -4
  196. package/dist/components/dialog/index.d.mts +7 -5
  197. package/dist/components/dialog/index.mjs +10 -7
  198. package/dist/components/dock/index.d.mts +1 -1
  199. package/dist/components/dock/index.mjs +1 -2
  200. package/dist/components/download-trigger/index.d.mts +0 -2
  201. package/dist/components/download-trigger/index.mjs +2 -3
  202. package/dist/components/drawer/index.d.mts +2 -4
  203. package/dist/components/drawer/index.mjs +3 -4
  204. package/dist/components/dynamic-input/index.d.mts +1 -1
  205. package/dist/components/dynamic-input/index.mjs +1 -2
  206. package/dist/components/editable/index.d.mts +2 -4
  207. package/dist/components/editable/index.mjs +3 -4
  208. package/dist/components/ellipsis/index.d.mts +1 -1
  209. package/dist/components/ellipsis/index.mjs +1 -2
  210. package/dist/components/empty/index.d.mts +1 -1
  211. package/dist/components/empty/index.mjs +1 -2
  212. package/dist/components/field/index.d.mts +2 -4
  213. package/dist/components/field/index.mjs +3 -4
  214. package/dist/components/fieldset/index.d.mts +2 -4
  215. package/dist/components/fieldset/index.mjs +3 -4
  216. package/dist/components/file-upload/index.d.mts +2 -4
  217. package/dist/components/file-upload/index.mjs +3 -4
  218. package/dist/components/float-button/index.d.mts +2 -2
  219. package/dist/components/float-button/index.mjs +10 -1
  220. package/dist/components/floating-panel/index.d.mts +2 -4
  221. package/dist/components/floating-panel/index.mjs +3 -4
  222. package/dist/components/focus-trap/index.d.mts +0 -2
  223. package/dist/components/focus-trap/index.mjs +2 -3
  224. package/dist/components/form/index.d.mts +1 -1
  225. package/dist/components/form/index.mjs +1 -2
  226. package/dist/components/format/index.d.mts +1 -3
  227. package/dist/components/format/index.mjs +1 -2
  228. package/dist/components/frame/index.d.mts +1 -3
  229. package/dist/components/frame/index.mjs +2 -3
  230. package/dist/components/grid/index.d.mts +1 -1
  231. package/dist/components/grid/index.mjs +1 -2
  232. package/dist/components/highlight/index.d.mts +1 -3
  233. package/dist/components/highlight/index.mjs +2 -3
  234. package/dist/components/hover-card/index.d.mts +2 -4
  235. package/dist/components/hover-card/index.mjs +3 -4
  236. package/dist/components/icon/index.d.mts +1 -1
  237. package/dist/components/icon/index.mjs +1 -2
  238. package/dist/components/image/index.d.mts +1 -1
  239. package/dist/components/image/index.mjs +1 -2
  240. package/dist/components/image-cropper/index.d.mts +2 -4
  241. package/dist/components/image-cropper/index.mjs +3 -4
  242. package/dist/components/image-viewer/index.d.mts +1 -1
  243. package/dist/components/image-viewer/index.mjs +3 -4
  244. package/dist/components/input/index.d.mts +1 -1
  245. package/dist/components/input/index.mjs +3 -4
  246. package/dist/components/input-group/index.d.mts +1 -1
  247. package/dist/components/input-group/index.mjs +1 -2
  248. package/dist/components/json-tree-view/index.d.mts +2 -4
  249. package/dist/components/json-tree-view/index.mjs +3 -4
  250. package/dist/components/kbd/index.d.mts +1 -1
  251. package/dist/components/kbd/index.mjs +1 -2
  252. package/dist/components/layout/index.d.mts +1 -1
  253. package/dist/components/layout/index.mjs +1 -2
  254. package/dist/components/link/index.d.mts +1 -1
  255. package/dist/components/link/index.mjs +1 -2
  256. package/dist/components/list/index.d.mts +1 -1
  257. package/dist/components/list/index.mjs +1 -2
  258. package/dist/components/listbox/index.d.mts +1 -1
  259. package/dist/components/listbox/index.mjs +3 -4
  260. package/dist/components/marquee/index.d.mts +2 -4
  261. package/dist/components/marquee/index.mjs +3 -4
  262. package/dist/components/masonry/index.d.mts +1 -1
  263. package/dist/components/masonry/index.mjs +1 -2
  264. package/dist/components/media-player/index.d.mts +2 -2
  265. package/dist/components/media-player/index.mjs +2 -2
  266. package/dist/components/mentions/index.d.mts +3 -3
  267. package/dist/components/mentions/index.mjs +14 -2
  268. package/dist/components/menu/index.d.mts +2 -4
  269. package/dist/components/menu/index.mjs +3 -4
  270. package/dist/components/menubar/index.d.mts +1 -1
  271. package/dist/components/menubar/index.mjs +3 -4
  272. package/dist/components/meter/index.d.mts +1 -1
  273. package/dist/components/meter/index.mjs +1 -2
  274. package/dist/components/navigation-menu/index.d.mts +2 -4
  275. package/dist/components/navigation-menu/index.mjs +3 -4
  276. package/dist/components/number-input/index.d.mts +2 -4
  277. package/dist/components/number-input/index.mjs +3 -4
  278. package/dist/components/order-list/index.d.mts +1 -1
  279. package/dist/components/order-list/index.mjs +1 -2
  280. package/dist/components/page-header/index.d.mts +1 -1
  281. package/dist/components/page-header/index.mjs +1 -2
  282. package/dist/components/pagination/index.d.mts +2 -4
  283. package/dist/components/pagination/index.mjs +3 -4
  284. package/dist/components/password-input/index.d.mts +2 -4
  285. package/dist/components/password-input/index.mjs +3 -4
  286. package/dist/components/pin-input/index.d.mts +2 -4
  287. package/dist/components/pin-input/index.mjs +3 -4
  288. package/dist/components/popconfirm/index.d.mts +1 -1
  289. package/dist/components/popconfirm/index.mjs +7 -1
  290. package/dist/components/popover/index.d.mts +2 -11
  291. package/dist/components/popover/index.mjs +3 -4
  292. package/dist/components/presence/index.d.mts +0 -2
  293. package/dist/components/presence/index.mjs +2 -3
  294. package/dist/components/progress/index.d.mts +2 -4
  295. package/dist/components/progress/index.mjs +3 -4
  296. package/dist/components/progress-group/index.d.mts +1 -1
  297. package/dist/components/progress-group/index.mjs +1 -2
  298. package/dist/components/qr-code/index.d.mts +2 -4
  299. package/dist/components/qr-code/index.mjs +3 -4
  300. package/dist/components/radio-group/index.d.mts +2 -4
  301. package/dist/components/radio-group/index.mjs +3 -4
  302. package/dist/components/rating-group/index.d.mts +2 -4
  303. package/dist/components/rating-group/index.mjs +3 -4
  304. package/dist/components/result/index.d.mts +1 -3
  305. package/dist/components/result/index.mjs +1 -2
  306. package/dist/components/scroll-area/index.d.mts +2 -4
  307. package/dist/components/scroll-area/index.mjs +3 -4
  308. package/dist/components/segment-group/index.d.mts +2 -4
  309. package/dist/components/segment-group/index.mjs +3 -4
  310. package/dist/components/select/index.d.mts +1 -1
  311. package/dist/components/select/index.mjs +1 -2
  312. package/dist/components/separator/index.d.mts +1 -1
  313. package/dist/components/separator/index.mjs +1 -2
  314. package/dist/components/signature-pad/index.d.mts +2 -4
  315. package/dist/components/signature-pad/index.mjs +3 -4
  316. package/dist/components/skeleton/index.d.mts +1 -1
  317. package/dist/components/skeleton/index.mjs +1 -2
  318. package/dist/components/slider/index.d.mts +2 -4
  319. package/dist/components/slider/index.mjs +3 -4
  320. package/dist/components/spinner/index.d.mts +1 -1
  321. package/dist/components/spinner/index.mjs +3 -4
  322. package/dist/components/split-button/index.d.mts +1 -1
  323. package/dist/components/split-button/index.mjs +10 -1
  324. package/dist/components/splitter/index.d.mts +2 -4
  325. package/dist/components/splitter/index.mjs +3 -4
  326. package/dist/components/spotlight/index.d.mts +1 -1
  327. package/dist/components/spotlight/index.mjs +1 -2
  328. package/dist/components/stack/index.d.mts +1 -1
  329. package/dist/components/stack/index.mjs +1 -2
  330. package/dist/components/stat/index.d.mts +1 -1
  331. package/dist/components/stat/index.mjs +1 -2
  332. package/dist/components/steps/index.d.mts +2 -4
  333. package/dist/components/steps/index.mjs +3 -4
  334. package/dist/components/swap/index.d.mts +2 -4
  335. package/dist/components/swap/index.mjs +3 -4
  336. package/dist/components/switch/index.d.mts +2 -4
  337. package/dist/components/switch/index.mjs +3 -4
  338. package/dist/components/table/index.d.mts +1 -1
  339. package/dist/components/table/index.mjs +1 -2
  340. package/dist/components/tabs/index.d.mts +2 -4
  341. package/dist/components/tabs/index.mjs +3 -4
  342. package/dist/components/tag/index.d.mts +1 -1
  343. package/dist/components/tag/index.mjs +1 -2
  344. package/dist/components/tags-input/index.d.mts +2 -4
  345. package/dist/components/tags-input/index.mjs +3 -4
  346. package/dist/components/terminal/index.d.mts +1 -1
  347. package/dist/components/terminal/index.mjs +1 -2
  348. package/dist/components/textarea/index.d.mts +1 -1
  349. package/dist/components/textarea/index.mjs +1 -2
  350. package/dist/components/timeline/index.d.mts +1 -1
  351. package/dist/components/timeline/index.mjs +1 -2
  352. package/dist/components/timer/index.d.mts +2 -4
  353. package/dist/components/timer/index.mjs +3 -4
  354. package/dist/components/toast/index.d.mts +1 -3
  355. package/dist/components/toast/index.mjs +3 -4
  356. package/dist/components/toc/index.d.mts +2 -4
  357. package/dist/components/toc/index.mjs +3 -4
  358. package/dist/components/toggle/index.d.mts +2 -4
  359. package/dist/components/toggle/index.mjs +3 -4
  360. package/dist/components/toggle-group/index.d.mts +2 -4
  361. package/dist/components/toggle-group/index.mjs +3 -4
  362. package/dist/components/toolbar/index.d.mts +1 -1
  363. package/dist/components/toolbar/index.mjs +1 -2
  364. package/dist/components/tooltip/index.d.mts +2 -4
  365. package/dist/components/tooltip/index.mjs +3 -4
  366. package/dist/components/tour/index.d.mts +1 -3
  367. package/dist/components/tour/index.mjs +3 -4
  368. package/dist/components/transfer/index.d.mts +1 -1
  369. package/dist/components/transfer/index.mjs +10 -1
  370. package/dist/components/tree-select/index.d.mts +1 -1
  371. package/dist/components/tree-select/index.mjs +9 -1
  372. package/dist/components/tree-view/index.d.mts +2 -2
  373. package/dist/components/tree-view/index.mjs +3 -4
  374. package/dist/components/typography/index.d.mts +1 -1
  375. package/dist/components/typography/index.mjs +1 -2
  376. package/dist/components/user/index.d.mts +1 -1
  377. package/dist/components/user/index.mjs +1 -2
  378. package/dist/components/virtual-list/index.d.mts +1 -1
  379. package/dist/components/virtual-list/index.mjs +1 -2
  380. package/dist/components/watermark/index.d.mts +1 -1
  381. package/dist/components/watermark/index.mjs +1 -2
  382. package/dist/{config-provider-Ca8wCLcK.mjs → config-provider-U05Gby9j.mjs} +4 -6
  383. package/dist/{container-CkhoYrC5.mjs → container-B-FLzlPR.mjs} +3 -5
  384. package/dist/{context-Da-QMQRq.mjs → context-Ds8BTSHZ.mjs} +1 -2
  385. package/dist/{data-view-Ls3J45mK.mjs → data-view-zSR4B01l.mjs} +4 -6
  386. package/dist/{deferred-content-SoEpwCs-.mjs → deferred-content-Bue-jQuC.mjs} +3 -5
  387. package/dist/{dock-BFyqUHAo.mjs → dock-BiSx545H.mjs} +3 -6
  388. package/dist/{dynamic-input-BpzL0Fe-.mjs → dynamic-input-DZRTIHK6.mjs} +6 -8
  389. package/dist/{ellipsis-ChktH2CQ.mjs → ellipsis-Cln7LMuU.mjs} +3 -5
  390. package/dist/{empty-CINZ_PLj.mjs → empty-bTEJeiAO.mjs} +6 -12
  391. package/dist/family-Dc5a-Kr6.d.mts +5 -0
  392. package/dist/{family-CzLaku1F.mjs → family-lE_Nnow1.mjs} +1 -2
  393. package/dist/{form-pjuBsPy-.mjs → form-DovYD07u.mjs} +5 -9
  394. package/dist/generative/index.d.mts +0 -2
  395. package/dist/generative/index.mjs +224 -478
  396. package/dist/{grid-CinYh-s4.mjs → grid-BMaN0mMs.mjs} +3 -5
  397. package/dist/{icon-CKL_BxrZ.mjs → icon-CF5OqvV3.mjs} +1 -2
  398. package/dist/{icon-BF1JO1ek.mjs → icon-_OfVFx2E.mjs} +3 -5
  399. package/dist/{id-Alz497yI.mjs → id-Cu5GNK9U.mjs} +1 -2
  400. package/dist/{image-BpWDMvNm.mjs → image-A6Dv3smu.mjs} +4 -6
  401. package/dist/{index-Cbd88ftD.d.mts → index-454z2oXL.d.mts} +0 -4
  402. package/dist/{index-DEWaAoNb.d.mts → index-4q1Yim5e.d.mts} +0 -4
  403. package/dist/{index-BiwW7REL.d.mts → index-51WOrICo.d.mts} +0 -4
  404. package/dist/{index-CXbdZAgD.d.mts → index-52MdT-oe.d.mts} +0 -4
  405. package/dist/index-Acprq4-Y.d.mts +40 -0
  406. package/dist/{index-D8F1dVDW.d.mts → index-B06szRQ2.d.mts} +31 -11
  407. package/dist/{index-BIHw8Gzt.d.mts → index-B1xVmgtV.d.mts} +4 -7
  408. package/dist/{index-BudqX93u.d.mts → index-B2UV8SoD.d.mts} +1 -5
  409. package/dist/{index-Dxktk3O7.d.mts → index-B3UON-jd.d.mts} +0 -4
  410. package/dist/{index-DC6AI8rV.d.mts → index-B78gmnDf.d.mts} +0 -4
  411. package/dist/{index-9GiGGnGa.d.mts → index-B9EH2i9C.d.mts} +5 -8
  412. package/dist/{index-oF_zauHL.d.mts → index-B9YuWZp_.d.mts} +0 -4
  413. package/dist/{index-ChqP3kbL.d.mts → index-BAMNM_YL.d.mts} +0 -4
  414. package/dist/{index-DQAelfXy.d.mts → index-BLH7JTCS.d.mts} +0 -4
  415. package/dist/{index-DzohdB6p.d.mts → index-BMETg0NK.d.mts} +0 -4
  416. package/dist/{index-ByxBpSC4.d.mts → index-BWnNmvFT.d.mts} +0 -4
  417. package/dist/index-B_6PeZPm.d.mts +43 -0
  418. package/dist/{index-C0aalhwd.d.mts → index-BdEUm3El.d.mts} +0 -4
  419. package/dist/{index-CWzdSZ-F.d.mts → index-BkP683Vc.d.mts} +4 -7
  420. package/dist/index-Bq0kkOF3.d.mts +163 -0
  421. package/dist/{index-DpzuwMB7.d.mts → index-Bs4iuOZe.d.mts} +0 -4
  422. package/dist/index-BvmZ-09N.d.mts +40 -0
  423. package/dist/{index-e1MA6eIk.d.mts → index-BvmhwD1f.d.mts} +0 -4
  424. package/dist/{index-DQL1l90b.d.mts → index-C0wl90jI.d.mts} +0 -6
  425. package/dist/{index-DkvQPyaW.d.mts → index-C2E8HzWy.d.mts} +0 -4
  426. package/dist/{index-C-wU4kAX.d.mts → index-C3ERrn0b.d.mts} +4 -7
  427. package/dist/{index-DwVr4QfC.d.mts → index-C3FVLNny.d.mts} +0 -4
  428. package/dist/{index-CJsLok79.d.mts → index-C5FsU-Bk.d.mts} +0 -4
  429. package/dist/{index-njppQnYT.d.mts → index-C6r0idvG.d.mts} +1 -5
  430. package/dist/{index-IR-e1YzH.d.mts → index-C84Xq9qE.d.mts} +0 -4
  431. package/dist/{index-C6UrUbj8.d.mts → index-C9phZHZu.d.mts} +0 -4
  432. package/dist/{index-BoR_54C_.d.mts → index-CNCXZaJM.d.mts} +0 -4
  433. package/dist/{index-CGk6TYb-.d.mts → index-COZdosac.d.mts} +1 -5
  434. package/dist/index-CXyumzqL.d.mts +10 -0
  435. package/dist/{index-BahdqXg4.d.mts → index-C_57Toe4.d.mts} +0 -6
  436. package/dist/{index-C-sa4baY.d.mts → index-CbZkYEl2.d.mts} +0 -4
  437. package/dist/{index-CRdyjHjx.d.mts → index-CgizXbKv.d.mts} +0 -4
  438. package/dist/{index-DWlpILHb.d.mts → index-CiiYxdTw.d.mts} +4 -7
  439. package/dist/{index-CWNmeq0b.d.mts → index-CkrhLano.d.mts} +0 -4
  440. package/dist/{index-D61_Lx9o.d.mts → index-CoG_0s0h.d.mts} +0 -4
  441. package/dist/{index-CnrohEXe.d.mts → index-CrxAEBUN.d.mts} +0 -4
  442. package/dist/{index-pV9TgrxW.d.mts → index-CsYYt6LG.d.mts} +1 -5
  443. package/dist/{index-C0b8N_Aa.d.mts → index-CyIlqhTC.d.mts} +0 -4
  444. package/dist/{index-CZ0P3C6E.d.mts → index-CyJAivLR.d.mts} +0 -4
  445. package/dist/{index-LXovbafa.d.mts → index-D-rxqV4A.d.mts} +0 -4
  446. package/dist/{index-CYtinraa.d.mts → index-D2Z80Kar.d.mts} +0 -4
  447. package/dist/{index-BhXsxcRN.d.mts → index-D8jtp6LD.d.mts} +0 -4
  448. package/dist/{index-CA0W58ZE.d.mts → index-DAQufCol.d.mts} +0 -4
  449. package/dist/{index-FmT_lwS7.d.mts → index-DE5qWf39.d.mts} +1 -5
  450. package/dist/{index-DyAQSYqR.d.mts → index-DMQckZVI.d.mts} +12 -6
  451. package/dist/index-DQeW9BMx.d.mts +37 -0
  452. package/dist/{index-DlHvtlYT.d.mts → index-DRW1B8V1.d.mts} +0 -4
  453. package/dist/{index-BFKqgbq-.d.mts → index-D_vjUc8T.d.mts} +0 -4
  454. package/dist/{index-CV5LaGMy.d.mts → index-DaBrJozP.d.mts} +0 -4
  455. package/dist/{index-3TmqYBnT.d.mts → index-DcMmNDU-.d.mts} +0 -4
  456. package/dist/{index-DH0ecZNW.d.mts → index-DdgeN0Ng.d.mts} +0 -4
  457. package/dist/{index-CKaCfx0p.d.mts → index-Di2WJqT-.d.mts} +0 -4
  458. package/dist/{index-DCpx_Rui.d.mts → index-DjdtGK_P.d.mts} +0 -4
  459. package/dist/{index-BpC1s3zv.d.mts → index-DlHC7607.d.mts} +1 -5
  460. package/dist/{index-CyVykdGO.d.mts → index-DrhjTobH.d.mts} +0 -4
  461. package/dist/{index-DKfQGayE.d.mts → index-Dti8xErb.d.mts} +0 -4
  462. package/dist/{index-DAnDXxRZ.d.mts → index-Duxepy4v.d.mts} +4 -7
  463. package/dist/{index-CvDp7tiS.d.mts → index-DvNqmeZC.d.mts} +0 -4
  464. package/dist/{index-znAFQEmQ.d.mts → index-HDYhCKfZ.d.mts} +4 -7
  465. package/dist/{index-BhTdJwBA.d.mts → index-IJmdYb5n.d.mts} +0 -4
  466. package/dist/{index-eQIdP9QO.d.mts → index-ItZp2Plw.d.mts} +0 -6
  467. package/dist/{index-BwUGTQag.d.mts → index-ND9pqiYE.d.mts} +1 -5
  468. package/dist/{index-D2B6EH5P.d.mts → index-NDFoxs3W.d.mts} +0 -4
  469. package/dist/{index-evrdvWRI.d.mts → index-Q3Db9wEN.d.mts} +0 -4
  470. package/dist/{index-BHlsL8ta.d.mts → index-Q9VgvJLD.d.mts} +0 -4
  471. package/dist/{index-CC_yY588.d.mts → index-_v_fp4pa.d.mts} +4 -7
  472. package/dist/{index-DGsu3J-2.d.mts → index-bEBDXZ4B.d.mts} +0 -4
  473. package/dist/{index-C5hCBtt4.d.mts → index-kvWVDke1.d.mts} +2 -4
  474. package/dist/{index-CmskeLd_.d.mts → index-qyo1-I2l.d.mts} +0 -4
  475. package/dist/{index-BKZC0MtK.d.mts → index-seXcaHyL.d.mts} +0 -4
  476. package/dist/index-xveVUurC.d.mts +123 -0
  477. package/dist/{index-Dq4bm9bV.d.mts → index-ymBJyo20.d.mts} +0 -4
  478. package/dist/{index-fIWQxtE9.d.mts → index-yuJTtYOg.d.mts} +0 -4
  479. package/dist/index.d.mts +91 -94
  480. package/dist/index.mjs +86 -85
  481. package/dist/{input-group-B-F5Gpvl.mjs → input-group-DiPl6WrU.mjs} +3 -6
  482. package/dist/{kbd-aFsisVbG.mjs → kbd-BFo9FSAl.mjs} +3 -5
  483. package/dist/{layout-DquD9Olk.mjs → layout-CAGRxpGd.mjs} +31 -29
  484. package/dist/{link-qWntJ94C.mjs → link-D8AaAyGj.mjs} +3 -5
  485. package/dist/{list-C-2CqZtn.mjs → list-C0gqAPZY.mjs} +6 -12
  486. package/dist/{masonry-CDKPD9gL.mjs → masonry-BXagROhe.mjs} +3 -5
  487. package/dist/{media-player-DEXKLoUX.mjs → media-player-CKfDuIMr.mjs} +24 -44
  488. package/dist/{messages-DNzA55pH.mjs → messages-BZoDXYu3.mjs} +2 -3
  489. package/dist/{meter-BUcdK4Ln.mjs → meter-D4FA9a6M.mjs} +5 -10
  490. package/dist/{order-list-C8O2NdGR.mjs → order-list-CoS4H4Wf.mjs} +5 -7
  491. package/dist/{page-header-ByucbXX7.mjs → page-header-gnsRDFEc.mjs} +7 -14
  492. package/dist/{progress-group-CkFZNtnC.mjs → progress-group-DEnTE2rG.mjs} +3 -5
  493. package/dist/{props-BZcE7LP_.d.mts → props-B3JgnaIu.d.mts} +0 -2
  494. package/dist/{props-C2OWII_8.d.mts → props-BCGeiPkX.d.mts} +0 -2
  495. package/dist/{props-Dr7ABUbp.d.mts → props-BCaZ82OV.d.mts} +0 -2
  496. package/dist/{props-DL-XfEtS.d.mts → props-BTFG2WVw.d.mts} +15 -7
  497. package/dist/{props-D93CbAiS.d.mts → props-D_5q9QQF.d.mts} +0 -2
  498. package/dist/{props-BvDM6-cm.d.mts → props-_GN94tW2.d.mts} +0 -2
  499. package/dist/{result-BRbQTUeW.mjs → result-BT9cir7u.mjs} +7 -13
  500. package/dist/{select-CVMOvviD.mjs → select-DqF4a1Ek.mjs} +5 -7
  501. package/dist/{separator-I0MEoHjO.mjs → separator-uapnB2RA.mjs} +3 -5
  502. package/dist/{skeleton-BHn0Emeh.mjs → skeleton-CgYKQ7Hp.mjs} +3 -5
  503. package/dist/{spotlight-Apoc1iQX.mjs → spotlight-D-55UCwc.mjs} +3 -5
  504. package/dist/{stack-uMjCwn_2.mjs → stack-DQuY60M4.mjs} +3 -5
  505. package/dist/{stat-DQ-5P4Gr.mjs → stat-CGmsB4Gt.mjs} +6 -12
  506. package/dist/{table-HzpYIOst.mjs → table-DN7VR65O.mjs} +8 -11
  507. package/dist/{tag-CXAD4ox2.mjs → tag-DpuHqCaX.mjs} +4 -6
  508. package/dist/terminal-ZGRocdIt.mjs +90 -0
  509. package/dist/{textarea-ClX5LWLE.mjs → textarea-D10nUiTa.mjs} +3 -5
  510. package/dist/{timeline-RyLnUiMA.mjs → timeline-DWk02xFJ.mjs} +5 -10
  511. package/dist/{toolbar-BTM5B0Nt.mjs → toolbar-CbnuHMXx.mjs} +3 -5
  512. package/dist/{typography-DUWj7wex.mjs → typography-Cr4CXUpW.mjs} +7 -14
  513. package/dist/{use-media-controls-BYYG0DgO.mjs → use-media-controls-Bqz-x0MH.mjs} +1 -2
  514. package/dist/{use-tour-BfS5dCZb.mjs → use-tour-DkVIh_cp.mjs} +4 -7
  515. package/dist/{user--GneY3yN.mjs → user-SbqJ1Iyq.mjs} +3 -5
  516. package/dist/{virtual-list-h85_wJw5.mjs → virtual-list-BkDk6-W8.mjs} +3 -5
  517. package/dist/{watermark-CHUTjZ6E.mjs → watermark-dyob2zlj.mjs} +3 -5
  518. package/package.json +13 -13
  519. package/dist/AiLoader-C7LALoXc.mjs +0 -113
  520. package/dist/Avatar-L9BP2Zwy.mjs +0 -47
  521. package/dist/Dialog-91oyw8Pi.mjs +0 -178
  522. package/dist/Tabs-qsZIc6by.mjs +0 -146
  523. package/dist/ai-prompt-input-CMVRbC0T.mjs +0 -296
  524. package/dist/ai-tool-Dew8XiYk.mjs +0 -118
  525. package/dist/banner-CXrEuEc1.mjs +0 -203
  526. package/dist/breadcrumb-g68_HJ2W.mjs +0 -186
  527. package/dist/index-BkK_8C_c.d.mts +0 -29
  528. package/dist/index-CacS_uni.d.mts +0 -10418
  529. package/dist/index-Cl8v2k0X.d.mts +0 -36
  530. package/dist/index-D_fO4kp1.d.mts +0 -76
  531. package/dist/mentions-fRKivTvN.mjs +0 -256
  532. package/dist/props-B9YcQX8X.d.mts +0 -18
  533. package/dist/props-CIwO25eA.d.mts +0 -12
  534. package/dist/terminal-DQAU6DW7.mjs +0 -81
  535. package/dist/use-mentions-DeF_38di.mjs +0 -93
@@ -1,36 +0,0 @@
1
- import { Snippet } from "svelte";
2
- import { HTMLAttributes } from "svelte/elements";
3
- //#region src/components/breadcrumb/props.d.ts
4
- interface BreadcrumbProps extends HTMLAttributes<HTMLElement> {
5
- children?: Snippet;
6
- }
7
- interface BreadcrumbListProps extends HTMLAttributes<HTMLOListElement> {
8
- children?: Snippet;
9
- }
10
- interface BreadcrumbItemProps extends HTMLAttributes<HTMLLIElement> {
11
- children?: Snippet;
12
- }
13
- interface BreadcrumbLinkProps extends HTMLAttributes<HTMLAnchorElement> {
14
- children?: Snippet;
15
- }
16
- interface BreadcrumbCurrentProps extends HTMLAttributes<HTMLSpanElement> {
17
- children?: Snippet;
18
- }
19
- interface BreadcrumbSeparatorProps extends HTMLAttributes<HTMLSpanElement> {
20
- children?: Snippet;
21
- }
22
- //#endregion
23
- //#region src/components/breadcrumb/index.d.ts
24
- /** A trail of waymarks: Root wraps the nav, List the ordered trail, and
25
- * each Item carries a Link — or the Current page — parted by a quiet
26
- * Separator. Links take href and the rest through attributes. */
27
- declare const Breadcrumb: import("svelte").Component<BreadcrumbProps, {}, ""> & {
28
- Root: import("svelte").Component<BreadcrumbProps, {}, "">;
29
- List: import("svelte").Component<BreadcrumbListProps, {}, "">;
30
- Item: import("svelte").Component<BreadcrumbItemProps, {}, "">;
31
- Link: import("svelte").Component<BreadcrumbLinkProps, {}, "">;
32
- Current: import("svelte").Component<BreadcrumbCurrentProps, {}, "">;
33
- Separator: import("svelte").Component<BreadcrumbSeparatorProps, {}, "">;
34
- };
35
- //#endregion
36
- export { BreadcrumbListProps as a, BreadcrumbLinkProps as i, BreadcrumbCurrentProps as n, BreadcrumbProps as o, BreadcrumbItemProps as r, BreadcrumbSeparatorProps as s, Breadcrumb as t };
@@ -1,76 +0,0 @@
1
- import { PopoverAnchorProps } from "@ark-ui/svelte/popover";
2
- import { Snippet } from "svelte";
3
- import { HTMLAttributes } from "svelte/elements";
4
- //#region src/components/mentions/props.d.ts
5
- interface MentionEntry {
6
- label: string;
7
- value: string;
8
- }
9
- interface UseMentionsOptions {
10
- /** The candidates offered once the trigger character is typed. */
11
- items: MentionEntry[];
12
- /** The character that summons the candidates. */
13
- trigger?: string;
14
- }
15
- interface UseMentionsHandlers {
16
- /** The text the field holds right now — read at keystroke time, never
17
- * from a controlled prop that lags a render behind the caret. */
18
- getText: () => string;
19
- /** Writes the field's next text: a mention inserted at the token. */
20
- setText: (value: string) => void;
21
- }
22
- interface MentionsProps extends HTMLAttributes<HTMLDivElement> {
23
- /** The candidates offered once the trigger character is typed. */
24
- items?: MentionEntry[];
25
- /** Two-way bindable — `bind:value` keeps the bound variable mirroring
26
- * the field; changes are reported through `onValueChange`. */
27
- value?: string;
28
- /** The character that summons the candidates. */
29
- trigger?: string;
30
- placeholder?: string;
31
- /** Let the field grow with its text instead of holding `rows`. */
32
- autoresize?: boolean;
33
- /** Standing alone, the field announces itself invalid; inside a
34
- * `Field.Root` the field's own invalid state takes over. */
35
- invalid?: boolean;
36
- /** One rung of the control-height ladder for the resting field. */
37
- size?: "sm" | "md" | "lg";
38
- /** The field's text turned. */
39
- onValueChange?: (value: string) => void;
40
- }
41
- interface MentionsVesselProps {
42
- open?: boolean;
43
- matches?: MentionEntry[];
44
- active?: number;
45
- /** The live rectangle the vessel points at — the host's field. */
46
- anchor?: HTMLTextAreaElement | null;
47
- /** The host field's rung, so the rows keep the field's register. */
48
- size?: "sm" | "md" | "lg";
49
- /** A candidate was confirmed (click or Enter). */
50
- onInsert?: (entry: MentionEntry) => void;
51
- /** The keyboard's active row moved. */
52
- onActiveChange?: (index: number) => void;
53
- /** The vessel's open state turned. */
54
- onOpenChange?: (open: boolean) => void;
55
- /** The host's field, rendered with the popover Anchor's wiring. When
56
- * absent, the vessel falls back to the `anchor` rectangle. */
57
- children?: Snippet<[() => PopoverAnchorProps]>;
58
- }
59
- //#endregion
60
- //#region src/components/mentions/index.d.ts
61
- /** @-mentions: a plain textarea that, when the text before the caret
62
- * ends with the trigger character followed by a token, offers the
63
- * matching candidates in a small anchored vessel; choosing one replaces
64
- * the token with `trigger + label` and hands the whole text back
65
- * through `bind:value`. Arrows move, Enter inserts, Escape dismisses. */
66
- declare const Mentions: import("svelte").Component<MentionsProps, {}, "value"> & {
67
- Root: import("svelte").Component<MentionsProps, {}, "value">;
68
- };
69
- /** The vessel: the candidates themselves as a floating card. Composers
70
- * that keep their own field anatomy wire it up with `useMentions`
71
- * directly. */
72
- declare const MentionsVessel: import("svelte").Component<MentionsVesselProps, {}, ""> & {
73
- Root: import("svelte").Component<MentionsVesselProps, {}, "">;
74
- };
75
- //#endregion
76
- export { MentionsVesselProps as a, MentionsProps as i, MentionsVessel as n, UseMentionsHandlers as o, MentionEntry as r, UseMentionsOptions as s, Mentions as t };
@@ -1,256 +0,0 @@
1
- import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
2
- import { Field } from "./components/field/index.mjs";
3
- import { t as useMentions } from "./use-mentions-DeF_38di.mjs";
4
- import "svelte/internal/disclose-version";
5
- import * as $ from "svelte/internal/client";
6
- import { injectComponentStyle } from "@bysages/core/styling";
7
- import { Popover } from "@ark-ui/svelte/popover";
8
- import { Portal } from "@ark-ui/svelte/portal";
9
- //#region src/components/mentions/MentionsVessel.svelte
10
- var root$1 = $.from_html(`<div data-scope="mentions" data-part="option" role="option"> </div>`);
11
- var root_1 = $.from_html(`<div></div>`);
12
- var root_2 = $.from_html(`<!> <!>`, 1);
13
- function MentionsVessel$1($$anchor, $$props) {
14
- $.push($$props, true);
15
- injectComponentStyle("mentions");
16
- let open = $.prop($$props, "open", 3, false), matches = $.prop($$props, "matches", 19, () => []), active = $.prop($$props, "active", 3, 0), anchor = $.prop($$props, "anchor", 3, null), size = $.prop($$props, "size", 3, "md");
17
- var fragment = $.comment();
18
- var node = $.first_child(fragment);
19
- {
20
- let $0 = $.derived(() => $$props.children ? { placement: "bottom-start" } : {
21
- placement: "bottom-start",
22
- getAnchorRect: () => anchor()?.getBoundingClientRect() ?? null
23
- });
24
- $.component(node, () => Popover.Root, ($$anchor, ArkPopover_Root) => {
25
- ArkPopover_Root($$anchor, {
26
- get open() {
27
- return open();
28
- },
29
- get positioning() {
30
- return $.get($0);
31
- },
32
- onOpenChange: (details) => $$props.onOpenChange?.(details.open),
33
- children: ($$anchor, $$slotProps) => {
34
- var fragment_1 = root_2();
35
- var node_1 = $.first_child(fragment_1);
36
- var consequent = ($$anchor) => {
37
- var fragment_2 = $.comment();
38
- var node_2 = $.first_child(fragment_2);
39
- {
40
- const asChild = ($$anchor, anchorProps = $.noop) => {
41
- var fragment_3 = $.comment();
42
- var node_3 = $.first_child(fragment_3);
43
- $.snippet(node_3, () => $$props.children, anchorProps);
44
- $.append($$anchor, fragment_3);
45
- };
46
- $.component(node_2, () => Popover.Anchor, ($$anchor, ArkPopover_Anchor) => {
47
- ArkPopover_Anchor($$anchor, {
48
- asChild,
49
- $$slots: { asChild: true }
50
- });
51
- });
52
- }
53
- $.append($$anchor, fragment_2);
54
- };
55
- $.if(node_1, ($$render) => {
56
- if ($$props.children) $$render(consequent);
57
- });
58
- var node_4 = $.sibling(node_1, 2);
59
- Portal(node_4, {
60
- children: ($$anchor, $$slotProps) => {
61
- var fragment_4 = $.comment();
62
- var node_5 = $.first_child(fragment_4);
63
- $.component(node_5, () => Popover.Positioner, ($$anchor, ArkPopover_Positioner) => {
64
- ArkPopover_Positioner($$anchor, {
65
- children: ($$anchor, $$slotProps) => {
66
- var fragment_5 = $.comment();
67
- var node_6 = $.first_child(fragment_5);
68
- {
69
- const asChild = ($$anchor, contentProps = $.noop) => {
70
- var div = root_1();
71
- $.attribute_effect(div, ($0) => ({
72
- ...$0,
73
- "data-scope": "mentions",
74
- "data-part": "popup",
75
- "data-size": size(),
76
- role: "listbox"
77
- }), [() => contentProps()()]);
78
- $.each(div, 23, matches, (entry) => entry.value, ($$anchor, entry, index) => {
79
- var div_1 = root$1();
80
- $.set_attribute(div_1, "tabindex", -1);
81
- var text = $.only_child(div_1, true);
82
- $.template_effect(() => {
83
- $.set_attribute(div_1, "aria-selected", $.get(index) === active());
84
- $.set_attribute(div_1, "data-active", $.get(index) === active() ? "" : void 0);
85
- $.set_text(text, $.get(entry).label);
86
- });
87
- $.event("mouseenter", div_1, () => $$props.onActiveChange?.($.get(index)));
88
- $.delegated("mousedown", div_1, (event) => event.preventDefault());
89
- $.delegated("click", div_1, () => $$props.onInsert?.($.get(entry)));
90
- $.delegated("keydown", div_1, (event) => {
91
- if (event.key !== "Enter" && event.key !== " ") return;
92
- event.preventDefault();
93
- $$props.onInsert?.($.get(entry));
94
- });
95
- $.append($$anchor, div_1);
96
- });
97
- $.reset(div);
98
- $.append($$anchor, div);
99
- };
100
- $.component(node_6, () => Popover.Content, ($$anchor, ArkPopover_Content) => {
101
- ArkPopover_Content($$anchor, {
102
- asChild,
103
- $$slots: { asChild: true }
104
- });
105
- });
106
- }
107
- $.append($$anchor, fragment_5);
108
- },
109
- $$slots: { default: true }
110
- });
111
- });
112
- $.append($$anchor, fragment_4);
113
- },
114
- $$slots: { default: true }
115
- });
116
- $.append($$anchor, fragment_1);
117
- },
118
- $$slots: { default: true }
119
- });
120
- });
121
- }
122
- $.append($$anchor, fragment);
123
- $.pop();
124
- }
125
- $.delegate([
126
- "mousedown",
127
- "click",
128
- "keydown"
129
- ]);
130
- //#endregion
131
- //#region src/components/mentions/Mentions.svelte
132
- var rest_excludes = /* @__PURE__ */ new Set([
133
- "$$slots",
134
- "$$events",
135
- "$$legacy",
136
- "items",
137
- "value",
138
- "trigger",
139
- "placeholder",
140
- "autoresize",
141
- "invalid",
142
- "size",
143
- "onValueChange"
144
- ]);
145
- var root = $.from_html(`<div><!></div>`);
146
- function Mentions$1($$anchor, $$props) {
147
- $.push($$props, true);
148
- injectComponentStyle("mentions");
149
- let items = $.prop($$props, "items", 19, () => []), value = $.prop($$props, "value", 15, ""), trigger = $.prop($$props, "trigger", 3, "@"), autoresize = $.prop($$props, "autoresize", 3, false), invalid = $.prop($$props, "invalid", 3, false), size = $.prop($$props, "size", 3, "md"), rest = $.rest_props($$props, rest_excludes);
150
- let textareaEl = $.state(null);
151
- const mentions = useMentions(() => ({
152
- items: items(),
153
- trigger: trigger()
154
- }), () => $.get(textareaEl), {
155
- getText: () => $.get(textareaEl)?.value ?? value(),
156
- setText: (next) => {
157
- value(next);
158
- $$props.onValueChange?.(next);
159
- }
160
- });
161
- function onInput(event) {
162
- $$props.onValueChange?.(event.currentTarget.value);
163
- mentions.onInput();
164
- }
165
- var div = root();
166
- $.attribute_effect(div, () => ({
167
- ...rest,
168
- "data-scope": "mentions",
169
- "data-part": "root",
170
- "data-size": size()
171
- }));
172
- var node = $.child(div);
173
- {
174
- const children = ($$anchor, anchorProps = $.noop) => {
175
- var fragment = $.comment();
176
- var node_1 = $.first_child(fragment);
177
- {
178
- let $0 = $.derived(() => anchorProps()());
179
- let $1 = $.derived(() => invalid() ? "true" : void 0);
180
- $.component(node_1, () => Field.Textarea, ($$anchor, Field_Textarea) => {
181
- Field_Textarea($$anchor, $.spread_props(() => $.get($0), {
182
- get autoresize() {
183
- return autoresize();
184
- },
185
- rows: 3,
186
- get placeholder() {
187
- return $$props.placeholder;
188
- },
189
- get "aria-invalid"() {
190
- return $.get($1);
191
- },
192
- "data-scope": "mentions",
193
- "data-part": "textarea",
194
- oninput: onInput,
195
- get onkeydown() {
196
- return mentions.onKeydown;
197
- },
198
- get ref() {
199
- return $.get(textareaEl);
200
- },
201
- set ref($$value) {
202
- $.set(textareaEl, $$value, true);
203
- },
204
- get value() {
205
- return value();
206
- },
207
- set value($$value) {
208
- value($$value);
209
- }
210
- }));
211
- });
212
- }
213
- $.append($$anchor, fragment);
214
- };
215
- MentionsVessel$1(node, {
216
- get open() {
217
- return mentions.open;
218
- },
219
- get matches() {
220
- return mentions.matches;
221
- },
222
- get active() {
223
- return mentions.active;
224
- },
225
- get size() {
226
- return size();
227
- },
228
- get onInsert() {
229
- return mentions.insert;
230
- },
231
- onActiveChange: (index) => mentions.active = index,
232
- onOpenChange: (open) => {
233
- if (!open) mentions.close();
234
- },
235
- children,
236
- $$slots: { default: true }
237
- });
238
- }
239
- $.reset(div);
240
- $.append($$anchor, div);
241
- $.pop();
242
- }
243
- //#endregion
244
- //#region src/components/mentions/index.ts
245
- /** @-mentions: a plain textarea that, when the text before the caret
246
- * ends with the trigger character followed by a token, offers the
247
- * matching candidates in a small anchored vessel; choosing one replaces
248
- * the token with `trigger + label` and hands the whole text back
249
- * through `bind:value`. Arrows move, Enter inserts, Escape dismisses. */
250
- const Mentions = withSelfRoot(Mentions$1);
251
- /** The vessel: the candidates themselves as a floating card. Composers
252
- * that keep their own field anatomy wire it up with `useMentions`
253
- * directly. */
254
- const MentionsVessel = withSelfRoot(MentionsVessel$1);
255
- //#endregion
256
- export { MentionsVessel as n, Mentions as t };
@@ -1,18 +0,0 @@
1
- import { HTMLAttributes } from "svelte/elements";
2
- //#region src/components/ai-tool/props.d.ts
3
- type ToolStatus = "pending" | "running" | "completed" | "error";
4
- interface ToolProps extends HTMLAttributes<HTMLDivElement> {
5
- /** The name the tool was reached by — shown raw on the trigger
6
- * unless `label` speaks friendlier words. */
7
- name: string;
8
- label?: string;
9
- /** The state the call reached — stamped on the fold and whispered
10
- * in the status chip. */
11
- status?: ToolStatus;
12
- /** The fold arrives open when set — rides the shared collapsible. */
13
- defaultOpen?: boolean;
14
- input?: string;
15
- output?: string;
16
- }
17
- //#endregion
18
- export { ToolStatus as n, ToolProps as t };
@@ -1,12 +0,0 @@
1
- import { Snippet } from "svelte";
2
- import { HTMLAttributes } from "svelte/elements";
3
- //#region src/components/ai-message/props.d.ts
4
- type MessageRole = "user" | "assistant" | "system";
5
- interface MessageProps extends HTMLAttributes<HTMLElement> {
6
- /** Whose stroke this is — the user's words sit in a recessed
7
- * bubble, the assistant speaks flat on the paper. */
8
- role?: MessageRole;
9
- children?: Snippet;
10
- }
11
- //#endregion
12
- export { MessageRole as n, MessageProps as t };
@@ -1,81 +0,0 @@
1
- import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
2
- import { n as useComponentMessages } from "./messages-DNzA55pH.mjs";
3
- import "svelte/internal/disclose-version";
4
- import * as $ from "svelte/internal/client";
5
- import { injectComponentStyle } from "@bysages/core/styling";
6
- //#region src/components/terminal/Terminal.svelte
7
- var rest_excludes = /* @__PURE__ */ new Set([
8
- "$$slots",
9
- "$$events",
10
- "$$legacy",
11
- "lines",
12
- "prompt",
13
- "placeholder",
14
- "label",
15
- "onCommand"
16
- ]);
17
- var root = $.from_html(`<div data-scope="terminal" data-part="line"> </div>`);
18
- var root_1 = $.from_html(`<div><div data-scope="terminal" data-part="scroll"></div> <div data-scope="terminal" data-part="entry"><span data-scope="terminal" data-part="sigil" aria-hidden="true"> </span> <input data-scope="terminal" data-part="input" spellcheck="false" autocomplete="off"/></div></div>`);
19
- function Terminal$1($$anchor, $$props) {
20
- $.push($$props, true);
21
- injectComponentStyle("terminal");
22
- let lines = $.prop($$props, "lines", 19, () => []), prompt = $.prop($$props, "prompt", 3, "$"), rest = $.rest_props($$props, rest_excludes);
23
- const messages = useComponentMessages();
24
- let draft = $.state("");
25
- let scroll = $.state(void 0);
26
- $.user_effect(() => {
27
- lines().length;
28
- $.get(scroll)?.scrollTo({ top: $.get(scroll).scrollHeight });
29
- });
30
- function submit() {
31
- const text = $.get(draft).trim();
32
- if (!text) return;
33
- $.set(draft, "");
34
- $$props.onCommand?.(text);
35
- }
36
- var div = root_1();
37
- $.attribute_effect(div, () => ({
38
- ...rest,
39
- role: "log",
40
- "aria-label": $$props.label,
41
- "data-scope": "terminal",
42
- "data-part": "root"
43
- }));
44
- var div_1 = $.child(div);
45
- $.each(div_1, 21, lines, $.index, ($$anchor, line) => {
46
- var div_2 = root();
47
- var text_1 = $.only_child(div_2, true);
48
- $.template_effect(() => $.set_text(text_1, $.get(line)));
49
- $.append($$anchor, div_2);
50
- });
51
- $.reset(div_1);
52
- $.bind_this(div_1, ($$value) => $.set(scroll, $$value), () => $.get(scroll));
53
- var div_3 = $.sibling(div_1, 2);
54
- var span = $.child(div_3);
55
- var text_2 = $.only_child(span, true);
56
- var input = $.sibling(span, 2);
57
- $.remove_input_defaults(input);
58
- $.reset(div_3);
59
- $.reset(div);
60
- $.template_effect(($0) => {
61
- $.set_text(text_2, prompt());
62
- $.set_attribute(input, "placeholder", $$props.placeholder);
63
- $.set_attribute(input, "aria-label", $0);
64
- }, [() => messages().terminal.commandLine]);
65
- $.delegated("keydown", input, (event) => {
66
- if (event.key === "Enter") {
67
- event.preventDefault();
68
- submit();
69
- }
70
- });
71
- $.bind_value(input, () => $.get(draft), ($$value) => $.set(draft, $$value));
72
- $.append($$anchor, div);
73
- $.pop();
74
- }
75
- $.delegate(["keydown"]);
76
- //#endregion
77
- //#region src/components/terminal/index.ts
78
- /** A quiet console: the transcript above, the prompt line below. */
79
- const Terminal = withSelfRoot(Terminal$1);
80
- //#endregion
81
- export { Terminal as t };
@@ -1,93 +0,0 @@
1
- import "svelte/internal/disclose-version";
2
- import * as $ from "svelte/internal/client";
3
- import { tick } from "svelte";
4
- //#region src/components/mentions/use-mentions.svelte
5
- function useMentions(options, textarea, handlers) {
6
- const state = $.proxy({
7
- open: false,
8
- matches: [],
9
- active: 0
10
- });
11
- let anchorIndex = 0;
12
- let caretIndex = 0;
13
- function closePopup() {
14
- state.open = false;
15
- state.matches = [];
16
- }
17
- function detect() {
18
- const text = handlers.getText();
19
- const caret = textarea()?.selectionStart ?? text.length;
20
- caretIndex = caret;
21
- const head = text.slice(0, caret);
22
- const char = options().trigger ?? "@";
23
- const anchor = head.lastIndexOf(char);
24
- const token = anchor === -1 ? "" : head.slice(anchor + char.length);
25
- if (anchor === -1 || /\s/.test(token)) {
26
- closePopup();
27
- return;
28
- }
29
- const found = options().items.filter((entry) => entry.label.toLowerCase().startsWith(token.toLowerCase()));
30
- state.matches = found;
31
- state.active = 0;
32
- anchorIndex = anchor;
33
- state.open = found.length > 0;
34
- }
35
- async function insert(entry) {
36
- const text = handlers.getText();
37
- const char = options().trigger ?? "@";
38
- const next = text.slice(0, anchorIndex) + char + entry.label + " " + text.slice(caretIndex);
39
- handlers.setText(next);
40
- closePopup();
41
- await tick();
42
- const el = textarea();
43
- if (!el) return;
44
- const caret = anchorIndex + char.length + entry.label.length + 1;
45
- el.focus();
46
- el.setSelectionRange(caret, caret);
47
- }
48
- /** Feed the field's input events through here — the vessel watches
49
- * the text as it lands, from the element itself. */
50
- function onInput() {
51
- detect();
52
- }
53
- /** Arrows move, Enter inserts, Escape dismisses. Answers `true` when
54
- * the vessel consumed the key. */
55
- function onKeydown(event) {
56
- if (!state.open || state.matches.length === 0) return false;
57
- if (event.key === "ArrowDown") {
58
- event.preventDefault();
59
- state.active = (state.active + 1) % state.matches.length;
60
- } else if (event.key === "ArrowUp") {
61
- event.preventDefault();
62
- state.active = (state.active - 1 + state.matches.length) % state.matches.length;
63
- } else if (event.key === "Enter") {
64
- event.preventDefault();
65
- insert(state.matches[state.active]);
66
- } else if (event.key === "Escape") closePopup();
67
- else return false;
68
- return true;
69
- }
70
- return {
71
- get open() {
72
- return state.open;
73
- },
74
- set open(value) {
75
- state.open = value;
76
- },
77
- get matches() {
78
- return state.matches;
79
- },
80
- get active() {
81
- return state.active;
82
- },
83
- set active(value) {
84
- state.active = value;
85
- },
86
- insert,
87
- close: closePopup,
88
- onInput,
89
- onKeydown
90
- };
91
- }
92
- //#endregion
93
- export { useMentions as t };