@astryx-vue/core 0.1.3 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (269) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-BylcA4vV.js → AlertDialog-ovx4cBjM.js} +1 -1
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-b0PWt9Fz.js → AppShell-1wNIEtK_.js} +2 -2
  5. package/dist/Avatar/index.d.ts +1 -1
  6. package/dist/Avatar/index.js +1 -1
  7. package/dist/Avatar-jmHInHwj.js +244 -0
  8. package/dist/AvatarGroup/index.d.ts +1 -1
  9. package/dist/AvatarGroup/index.js +1 -1
  10. package/dist/{AvatarGroup-CZcgAMjM.js → AvatarGroup-QyzSrpYA.js} +8 -7
  11. package/dist/Badge/index.d.ts +1 -1
  12. package/dist/Badge/index.js +1 -1
  13. package/dist/Badge-CjDQPF5g.js +30 -0
  14. package/dist/Banner/index.d.ts +1 -1
  15. package/dist/Breadcrumbs/index.d.ts +2 -2
  16. package/dist/Breadcrumbs/index.js +1 -1
  17. package/dist/{Breadcrumbs-C3YZFQ9w.js → Breadcrumbs-C97HmjkC.js} +45 -11
  18. package/dist/Button/index.d.ts +1 -1
  19. package/dist/ButtonGroup/index.d.ts +1 -1
  20. package/dist/Calendar/index.d.ts +2 -2
  21. package/dist/Calendar/index.js +1 -1
  22. package/dist/Calendar-DqC3EDN1.js +352 -0
  23. package/dist/Card/index.d.ts +1 -1
  24. package/dist/Carousel/index.d.ts +2 -0
  25. package/dist/Carousel/index.js +2 -0
  26. package/dist/Carousel-BGUnskjo.js +363 -0
  27. package/dist/Chat/index.js +1 -1
  28. package/dist/{Chat-C1aWl5V3.js → Chat-DCjXRiOF.js} +8 -8
  29. package/dist/CheckboxInput/index.d.ts +1 -1
  30. package/dist/CheckboxList/index.d.ts +1 -1
  31. package/dist/CheckboxList/index.js +1 -1
  32. package/dist/Citation/index.js +1 -1
  33. package/dist/{Citation-C1X0Rde8.js → Citation-DunoAqVH.js} +2 -2
  34. package/dist/ClickableCard/index.d.ts +1 -1
  35. package/dist/Code/index.d.ts +3 -2
  36. package/dist/Code/index.js +4 -2
  37. package/dist/Code-yb_KOFtJ.js +299 -0
  38. package/dist/{CodeBlock-BQdooQy2.js → CodeBlock-CAF-VJnh.js} +8 -2
  39. package/dist/Collapsible/index.js +1 -1
  40. package/dist/{Collapsible-BS9ctCQV.js → Collapsible-DvMiYJp7.js} +1 -1
  41. package/dist/CommandPalette/index.js +1 -1
  42. package/dist/{CommandPalette-u5h_E05P.js → CommandPalette-xfm9ldUI.js} +1 -1
  43. package/dist/ComplexSelector/index.d.ts +1 -1
  44. package/dist/ComplexSelector/index.js +1 -1
  45. package/dist/{ComplexSelector-BHmGWml0.js → ComplexSelector-B6lBTRhP.js} +2 -2
  46. package/dist/ContextMenu/index.d.ts +2 -2
  47. package/dist/ContextMenu/index.js +1 -1
  48. package/dist/{ContextMenu-dA-ppaRQ.js → ContextMenu-DUkED3Z3.js} +101 -63
  49. package/dist/DateInput/index.d.ts +2 -2
  50. package/dist/DateInput/index.js +1 -1
  51. package/dist/DateInput-Crcg-CCj.js +376 -0
  52. package/dist/DateRangeInput/index.d.ts +1 -1
  53. package/dist/DateRangeInput/index.js +1 -1
  54. package/dist/{DateRangeInput-fmQlr_A7.js → DateRangeInput-e9KSxBBK.js} +2 -2
  55. package/dist/DateTimeInput/index.d.ts +1 -1
  56. package/dist/DateTimeInput/index.js +1 -1
  57. package/dist/{DateTimeInput-Bs1JmcIp.js → DateTimeInput-fSOfuLex.js} +5 -3
  58. package/dist/DropdownMenu/index.d.ts +3 -2
  59. package/dist/DropdownMenu/index.js +3 -2
  60. package/dist/{DropdownMenu-B0gogrvG.js → DropdownMenu-8G0B1UND.js} +63 -16
  61. package/dist/DropdownMenu-XvW4BJob.js +164 -0
  62. package/dist/EmptyState/index.js +1 -1
  63. package/dist/{EmptyState-Bhlqgsg4.js → EmptyState-CUJdTYKV.js} +1 -1
  64. package/dist/FileInput/index.d.ts +1 -1
  65. package/dist/FileInput/index.js +1 -1
  66. package/dist/{FileInput-CmAfOpkA.js → FileInput-D-fchyQH.js} +2 -2
  67. package/dist/Icon/index.d.ts +4 -0
  68. package/dist/Icon/index.js +3 -0
  69. package/dist/Icon/plugin.d.ts +45 -0
  70. package/dist/Icon/plugin.js +177 -0
  71. package/dist/Icon-Bku25g_K.js +193 -0
  72. package/dist/Lightbox/index.d.ts +2 -0
  73. package/dist/Lightbox/index.js +2 -0
  74. package/dist/Lightbox-uuVGgHxW.js +384 -0
  75. package/dist/Link/index.d.ts +1 -1
  76. package/dist/Link/index.js +1 -1
  77. package/dist/Link-DqdQZ37C.js +141 -0
  78. package/dist/List/index.d.ts +1 -1
  79. package/dist/Markdown/index.js +1 -1
  80. package/dist/{Markdown-CwtLr3f_.js → Markdown-DLICa3db.js} +3 -3
  81. package/dist/MetadataList/index.d.ts +1 -1
  82. package/dist/MetadataList/index.js +1 -1
  83. package/dist/{MetadataList-DlXQTLog.js → MetadataList-h492rqEN.js} +1 -1
  84. package/dist/MobileNav/index.js +1 -1
  85. package/dist/{MobileNavToggle-CgQamG6E.js → MobileNavToggle-BMj3Wtuq.js} +1 -1
  86. package/dist/MoreMenu/index.d.ts +1 -1
  87. package/dist/MoreMenu/index.js +1 -1
  88. package/dist/{MoreMenu-BXL6Dqsu.js → MoreMenu-DkYi5az5.js} +2 -2
  89. package/dist/MultiSelector/index.d.ts +1 -1
  90. package/dist/MultiSelector/index.js +1 -1
  91. package/dist/{MultiSelector-DT8ZccMI.js → MultiSelector-C2IS-EaU.js} +2 -2
  92. package/dist/NavItem/index.d.ts +1 -1
  93. package/dist/NavMenu/index.d.ts +1 -1
  94. package/dist/NavMenu/index.js +1 -1
  95. package/dist/{NavMenuItem-mzNQESpB.js → NavMenuItem-B-k7olt5.js} +2 -1
  96. package/dist/NumberInput/index.d.ts +2 -2
  97. package/dist/NumberInput/index.js +1 -1
  98. package/dist/NumberInput-CjfAsFwj.js +210 -0
  99. package/dist/Outline/index.d.ts +2 -0
  100. package/dist/Outline/index.js +2 -0
  101. package/dist/Outline-BTmrtvXR.js +325 -0
  102. package/dist/OverflowList/index.d.ts +1 -1
  103. package/dist/OverflowList/index.js +1 -1
  104. package/dist/{OverflowList-zXg3g6fy.js → OverflowList-CRE8BE7V.js} +2 -2
  105. package/dist/Overlay/index.d.ts +1 -1
  106. package/dist/Pagination/index.d.ts +2 -2
  107. package/dist/Pagination/index.js +1 -1
  108. package/dist/{Pagination-DXfgMUKJ.js → Pagination-BpGXPmc7.js} +76 -22
  109. package/dist/Popover/index.d.ts +1 -1
  110. package/dist/ProgressBar/index.d.ts +1 -1
  111. package/dist/ProgressBar/index.js +1 -1
  112. package/dist/{ProgressBar-ChDp-7oe.js → ProgressBar-DO9Chic6.js} +31 -11
  113. package/dist/Radio/index.d.ts +1 -1
  114. package/dist/RadioList/index.d.ts +1 -1
  115. package/dist/Resizable/index.js +1 -1
  116. package/dist/{Resizable-BuGKvU9I.js → Resizable-CE8XQDL2.js} +1 -1
  117. package/dist/ScrollableArea/index.d.ts +1 -1
  118. package/dist/SegmentedControl/index.d.ts +1 -1
  119. package/dist/SelectableCard/index.d.ts +1 -1
  120. package/dist/Selector/index.d.ts +2 -2
  121. package/dist/Selector/index.js +1 -1
  122. package/dist/Selector-DkJOLZSR.js +468 -0
  123. package/dist/SideNav/index.d.ts +1 -1
  124. package/dist/SideNav/index.js +1 -1
  125. package/dist/{SideNav-Cdrigq2A.js → SideNav-DcDWBnXJ.js} +17 -17
  126. package/dist/Stepper/index.d.ts +1 -1
  127. package/dist/Stepper/index.js +1 -1
  128. package/dist/{Stepper-DxmLfh8O.js → Stepper-DZKaqEoz.js} +1 -1
  129. package/dist/Switch/index.d.ts +1 -1
  130. package/dist/TabList/index.d.ts +1 -1
  131. package/dist/TabList/index.js +1 -1
  132. package/dist/{TabList-C411uNQU.js → TabList-hm06QPiW.js} +10 -3
  133. package/dist/Table/index.js +1 -1
  134. package/dist/{Table-7qRmlIQd.js → Table-DwehtMap.js} +4 -4
  135. package/dist/Text/index.d.ts +3 -2
  136. package/dist/Text/index.js +1 -1
  137. package/dist/{Text-CKd7e3gK.js → Text-BHVghsWo.js} +12 -2
  138. package/dist/TextArea/index.d.ts +1 -1
  139. package/dist/TextArea/index.js +1 -1
  140. package/dist/{TextArea-Cv9UVbzS.js → TextArea-CPwSytdO.js} +12 -6
  141. package/dist/TextInput/index.d.ts +1 -1
  142. package/dist/Theme/index.d.ts +2 -0
  143. package/dist/Theme/index.js +2 -0
  144. package/dist/Theme-BuUiiJNr.js +429 -0
  145. package/dist/Thumbnail/index.js +1 -1
  146. package/dist/{Thumbnail-BWVzLLyI.js → Thumbnail-CAOYds8t.js} +11 -11
  147. package/dist/{TimeField-l3QzU6vC.js → TimeField-BGbxCoKU.js} +2 -2
  148. package/dist/TimeInput/index.d.ts +1 -1
  149. package/dist/TimeInput/index.js +1 -1
  150. package/dist/{TimeInput-OkgX-xbQ.js → TimeInput-DJP3l4ZS.js} +1 -1
  151. package/dist/Timer/index.d.ts +2 -0
  152. package/dist/Timer/index.js +2 -0
  153. package/dist/Timer-B7GV6hqd.js +134 -0
  154. package/dist/Timestamp/index.d.ts +1 -1
  155. package/dist/Timestamp/index.js +2 -1
  156. package/dist/{Timestamp-DUoP9ari.js → Timestamp-BzRp8uWc.js} +5 -122
  157. package/dist/Toast/index.d.ts +2 -2
  158. package/dist/Toast/index.js +1 -1
  159. package/dist/{Toast-BKXPvEMp.js → Toast-C2ML-bmi.js} +37 -7
  160. package/dist/ToggleButton/index.d.ts +1 -1
  161. package/dist/Token/index.d.ts +1 -1
  162. package/dist/Token/index.js +1 -1
  163. package/dist/{Token-C4KD0fZD.js → Token-CjocuhzE.js} +1 -1
  164. package/dist/Tokenizer/index.d.ts +1 -1
  165. package/dist/Tokenizer/index.js +1 -1
  166. package/dist/{Tokenizer-BA8sTMPZ.js → Tokenizer-mYES5SPM.js} +2 -2
  167. package/dist/Toolbar/index.d.ts +1 -1
  168. package/dist/TopNav/index.d.ts +1 -1
  169. package/dist/TopNav/index.js +1 -1
  170. package/dist/{TopNav-CZokS7E_.js → TopNav-C2t6JkZb.js} +4 -4
  171. package/dist/TreeList/index.d.ts +1 -1
  172. package/dist/TreeList/index.js +1 -1
  173. package/dist/{TreeList-CIbAGOMf.js → TreeList-THJ0KamE.js} +3 -3
  174. package/dist/Typeahead/index.d.ts +1 -1
  175. package/dist/Typeahead/index.js +1 -1
  176. package/dist/{Typeahead-DIw-K4aa.js → Typeahead-D7VnvRpK.js} +2 -2
  177. package/dist/{context-D6ECRdc5.js → context-DzcK4T_C.js} +58 -2
  178. package/dist/context-O2Vb8cJl.js +57 -0
  179. package/dist/formatInstant-BDWUIxS7.js +119 -0
  180. package/dist/index-1AZ4KZhg.d.ts +96 -0
  181. package/dist/index-3p2BDVHq.d.ts +31 -0
  182. package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
  183. package/dist/{index-FEy8qFSD.d.ts → index-BHqRH7QW.d.ts} +2 -2
  184. package/dist/{index-CTolyeii.d.ts → index-BLOEjvaM.d.ts} +16 -2
  185. package/dist/index-BMrggCw-.d.ts +52 -0
  186. package/dist/{index-z4p2k9VR.d.ts → index-Bgv4ZmBl.d.ts} +20 -2
  187. package/dist/{index-BoRIw-bP.d.ts → index-Bt7ewoz2.d.ts} +32 -2
  188. package/dist/{index-CjtAH60j.d.ts → index-Bu0Zd1uw.d.ts} +1 -1
  189. package/dist/{index-uQrLBZfF.d.ts → index-Bu3oXIIS.d.ts} +24 -0
  190. package/dist/{index-CX97hlld.d.ts → index-CBym0hSq.d.ts} +2 -19
  191. package/dist/index-CJlBAXwj.d.ts +100 -0
  192. package/dist/{index-DT9S92sh.d.ts → index-CNjbOgty.d.ts} +15 -0
  193. package/dist/{index-gW0HW02U.d.ts → index-COxy6LEW.d.ts} +1 -1
  194. package/dist/index-CRizexSC.d.ts +147 -0
  195. package/dist/{index-DYChvBOM.d.ts → index-Clmz00IK.d.ts} +31 -0
  196. package/dist/index-Cm_TiLXU.d.ts +22 -0
  197. package/dist/index-Cn-sSds-.d.ts +68 -0
  198. package/dist/index-CsVS37na.d.ts +81 -0
  199. package/dist/{index-DRmb-oUa.d.ts → index-CuFLztiI.d.ts} +6 -1
  200. package/dist/{index-CT8KEpec.d.ts → index-D0TlUOtG.d.ts} +1 -1
  201. package/dist/{index-fa72tWIU.d.ts → index-D2bSSSBP.d.ts} +1 -1
  202. package/dist/{index-2u4l3wq8.d.ts → index-DAiGhkNZ.d.ts} +15 -2
  203. package/dist/{index-DGNqi2za.d.ts → index-DQAnGHu7.d.ts} +5 -5
  204. package/dist/{index-BfOtLyNH.d.ts → index-D_nYxnNv.d.ts} +1 -1
  205. package/dist/{index-Df2YvC8o.d.ts → index-DeOftUMq.d.ts} +191 -75
  206. package/dist/{index-DXDGk38y.d.ts → index-Dg3ZmwEg.d.ts} +11 -0
  207. package/dist/{index-BiMGXtD-.d.ts → index-DimuSES0.d.ts} +14 -1
  208. package/dist/{index-C_2Z65Rp.d.ts → index-DnEh-HA0.d.ts} +1 -1
  209. package/dist/{index-D-ZuubCK.d.ts → index-DnSrjbjP.d.ts} +1 -1
  210. package/dist/{index-mQ6EPmaG.d.ts → index-DsyKhauk.d.ts} +78 -9
  211. package/dist/{index-C6RecznD.d.ts → index-I4J7gwa1.d.ts} +51 -9
  212. package/dist/{index-utZGF4GR.d.ts → index-NOXYEdOI.d.ts} +1 -1
  213. package/dist/{index-B4OOtNP8.d.ts → index-Z_onS2lR.d.ts} +1 -1
  214. package/dist/{index-CVn0GBdB.d.ts → index-cG1E0U2s.d.ts} +1 -1
  215. package/dist/{index-DEeJowZf.d.ts → index-cGagYM1g.d.ts} +15 -2
  216. package/dist/{index-Ck8qy6Rf.d.ts → index-c_TaW8mM.d.ts} +24 -2
  217. package/dist/{index-Bqb_Fyju.d.ts → index-jdjcb3Js.d.ts} +2 -2
  218. package/dist/index.d.ts +78 -68
  219. package/dist/index.js +107 -96
  220. package/dist/locale/index.d.ts +1 -1
  221. package/dist/locale/index.js +1 -1
  222. package/dist/registry-B1ObuP--.d.ts +45 -0
  223. package/dist/registry-C7OZb0PJ.js +135 -0
  224. package/dist/syntaxTheme-Bcs1YMF7.d.ts +38 -0
  225. package/dist/syntaxTheme-ClpWALZX.js +75 -0
  226. package/dist/types-BKcxXW--.d.ts +114 -0
  227. package/dist/types-Bt-lSgYX.d.ts +65 -0
  228. package/dist/{index-B8MbfMwV.d.ts → types-DDAAT1Xd.d.ts} +36 -82
  229. package/package.json +30 -1
  230. package/styles/avatar.css +14 -0
  231. package/styles/badge.css +8 -0
  232. package/styles/breadcrumbs.css +6 -1
  233. package/styles/button.css +13 -0
  234. package/styles/calendar.css +16 -0
  235. package/styles/card.css +2 -0
  236. package/styles/carousel.css +120 -0
  237. package/styles/chat.css +5 -2
  238. package/styles/dropdown-menu.css +11 -0
  239. package/styles/heading.css +6 -2
  240. package/styles/icon.css +38 -8
  241. package/styles/lightbox.css +144 -0
  242. package/styles/link.css +5 -0
  243. package/styles/media-theme.css +51 -0
  244. package/styles/number-input.css +22 -0
  245. package/styles/outline.css +124 -0
  246. package/styles/pagination.css +45 -1
  247. package/styles/progress-bar.css +4 -0
  248. package/styles/selector.css +58 -0
  249. package/styles/tab-list.css +15 -0
  250. package/styles/text-area.css +17 -0
  251. package/styles/text-input.css +5 -0
  252. package/styles/text.css +63 -14
  253. package/styles/theme.css +29 -0
  254. package/styles/timer.css +34 -0
  255. package/styles/toast.css +7 -0
  256. package/styles/toolbar.css +11 -0
  257. package/styles.css +6 -0
  258. package/dist/Avatar-5s3HSrtN.js +0 -136
  259. package/dist/Badge-Ba0EwsTj.js +0 -19
  260. package/dist/Calendar-CYhGDT6f.js +0 -277
  261. package/dist/DateInput-D2ErjXYO.js +0 -250
  262. package/dist/Icon-5MdZQ18k.js +0 -86
  263. package/dist/Link-CprjOuTI.js +0 -92
  264. package/dist/NumberInput-DspJO6z6.js +0 -147
  265. package/dist/Selector-DlZpQh42.js +0 -325
  266. package/dist/index-BzqRns96.d.ts +0 -64
  267. package/dist/index-ZJyk8RtQ.d.ts +0 -68
  268. package/dist/{CheckboxList-EsIEXjK_.js → CheckboxList-BbCPiend.js} +1 -1
  269. package/dist/{index-4FM5lQdV.d.ts → index-BUXNRekN.d.ts} +1 -1
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as _sfc_main$164 } from "./VisuallyHidden-C7NN3VEP.js";
1
+ import { t as _sfc_main$173 } from "./VisuallyHidden-C7NN3VEP.js";
2
2
  import { t as _sfc_main$13 } from "./Button-DrqeomlE.js";
3
3
  import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
4
4
  import { t as useAnnounce } from "./announce-Cnio10Wk.js";
@@ -23,136 +23,147 @@ import { n as useOverflow, t as computeOverflow } from "./useOverflow-VrwF5oek.j
23
23
  import { t as useScrollableArea } from "./useScrollableArea-DDk_CluT.js";
24
24
  import { t as useScrollLock } from "./scrollLock-BzIvIimL.js";
25
25
  import { t as useTypeahead } from "./useTypeahead-PAK8lMYz.js";
26
- import { t as _sfc_main$55 } from "./Dialog-rfUt3y8P.js";
27
- import { t as _sfc_main$71 } from "./Heading-Dugosn6j.js";
28
- import { t as _sfc_main$123 } from "./Stack-gGcYdOAh.js";
29
- import { t as _sfc_main$140 } from "./Text-CKd7e3gK.js";
30
- import { n as _sfc_main, t as useImperativeAlertDialog } from "./AlertDialog-BylcA4vV.js";
31
- import { a as _sfc_main$77, n as _sfc_main$80, r as _sfc_main$78, t as _sfc_main$81 } from "./LayoutPanel-C34uOq3e.js";
32
- import { a as useAstryxMessages, i as useAstryxLocale, n as normalizeLocale, r as provideAstryxLocale } from "./context-D6ECRdc5.js";
33
- import { n as _sfc_main$88, t as _sfc_main$89 } from "./MobileNavToggle-CgQamG6E.js";
26
+ import { t as _sfc_main$56 } from "./Dialog-rfUt3y8P.js";
27
+ import { t as _sfc_main$73 } from "./Heading-Dugosn6j.js";
28
+ import { t as _sfc_main$129 } from "./Stack-gGcYdOAh.js";
29
+ import { t as _sfc_main$147 } from "./Text-BHVghsWo.js";
30
+ import { n as _sfc_main, t as useImperativeAlertDialog } from "./AlertDialog-ovx4cBjM.js";
31
+ import { a as _sfc_main$80, n as _sfc_main$83, r as _sfc_main$81, t as _sfc_main$84 } from "./LayoutPanel-C34uOq3e.js";
32
+ import { a as useAstryxMessages, i as useAstryxLocale, n as normalizeLocale, r as provideAstryxLocale } from "./context-DzcK4T_C.js";
33
+ import { n as _sfc_main$93, t as _sfc_main$94 } from "./MobileNavToggle-BMj3Wtuq.js";
34
34
  import { r as useSideNavCollapse } from "./context-BjNya0v8.js";
35
- import { t as _sfc_main$1 } from "./AppShell-b0PWt9Fz.js";
35
+ import { t as _sfc_main$1 } from "./AppShell-1wNIEtK_.js";
36
36
  import { t as _sfc_main$2 } from "./AspectRatio-Bij7e-tq.js";
37
- import { n as _sfc_main$3, t as _sfc_main$6 } from "./Avatar-5s3HSrtN.js";
38
- import { n as _sfc_main$4, t as _sfc_main$5 } from "./AvatarGroup-CZcgAMjM.js";
39
- import { t as _sfc_main$7 } from "./Badge-Ba0EwsTj.js";
37
+ import { t as _sfc_main$162 } from "./Tooltip-mp0NMh_Y.js";
38
+ import { n as _sfc_main$3, t as _sfc_main$6 } from "./Avatar-jmHInHwj.js";
39
+ import { n as _sfc_main$4, t as _sfc_main$5 } from "./AvatarGroup-QyzSrpYA.js";
40
+ import { t as _sfc_main$7 } from "./Badge-CjDQPF5g.js";
40
41
  import "./Badge/index.js";
41
- import { t as _sfc_main$73 } from "./IconButton-BNQuz9W_.js";
42
+ import { t as _sfc_main$76 } from "./IconButton-BNQuz9W_.js";
42
43
  import { t as _sfc_main$8 } from "./Banner-CJe9Im5a.js";
43
44
  import { t as _sfc_main$9 } from "./Blockquote-DFqBv_oJ.js";
44
45
  import "./Blockquote/index.js";
45
46
  import { t as _sfc_main$10 } from "./BottomSheet-Dg95HB1s.js";
46
47
  import "./BottomSheet/index.js";
47
- import { n as _sfc_main$11, t as _sfc_main$12 } from "./Breadcrumbs-C3YZFQ9w.js";
48
+ import { i as isIconGlyph, n as ICON_GLYPHS, r as iconGlyphSlug, t as _sfc_main$75 } from "./Icon-Bku25g_K.js";
49
+ import { n as addCollection, r as addIcon } from "./registry-C7OZb0PJ.js";
50
+ import { a as _sfc_main$60, c as useDropdownMenuContext, i as _sfc_main$61, r as _sfc_main$62, t as _sfc_main$59 } from "./DropdownMenu-8G0B1UND.js";
51
+ import { t as _sfc_main$58 } from "./Divider-BtwnL18I.js";
52
+ import { i as useListContext, r as useItemDescriptionId, t as _sfc_main$78 } from "./Item-C1z6gXn8.js";
53
+ import { n as _sfc_main$11, t as _sfc_main$12 } from "./Breadcrumbs-C97HmjkC.js";
48
54
  import { n as _sfc_main$14 } from "./ButtonGroup-ySQWanDP.js";
49
- import { t as _sfc_main$15 } from "./Calendar-CYhGDT6f.js";
55
+ import { t as _sfc_main$15 } from "./Calendar-DqC3EDN1.js";
50
56
  import "./Calendar/index.js";
51
57
  import { t as _sfc_main$16 } from "./Card-HAjZQg2s.js";
52
58
  import "./Card/index.js";
53
- import { t as _sfc_main$17 } from "./Center-DVaZaTGP.js";
54
- import { a as _sfc_main$24, c as _sfc_main$21, d as useChatLayoutContext, f as useChatListContext, i as _sfc_main$25, l as _sfc_main$20, m as _sfc_main$19, n as _sfc_main$27, o as _sfc_main$23, p as useChatMessageContext, r as _sfc_main$26, s as _sfc_main$22, t as _sfc_main$28, u as _sfc_main$18 } from "./Chat-C1aWl5V3.js";
55
- import { t as _sfc_main$122 } from "./Spinner-9cYUCnDy.js";
56
- import { t as _sfc_main$57 } from "./Divider-BtwnL18I.js";
57
- import { t as _sfc_main$29 } from "./CheckboxIndicator-DdJmksHt.js";
59
+ import { t as _sfc_main$17 } from "./Carousel-BGUnskjo.js";
60
+ import { t as _sfc_main$18 } from "./Center-DVaZaTGP.js";
61
+ import { a as _sfc_main$25, c as _sfc_main$22, d as useChatLayoutContext, f as useChatListContext, i as _sfc_main$26, l as _sfc_main$21, m as _sfc_main$20, n as _sfc_main$28, o as _sfc_main$24, p as useChatMessageContext, r as _sfc_main$27, s as _sfc_main$23, t as _sfc_main$29, u as _sfc_main$19 } from "./Chat-DCjXRiOF.js";
62
+ import { t as _sfc_main$128 } from "./Spinner-9cYUCnDy.js";
63
+ import { t as _sfc_main$30 } from "./CheckboxIndicator-DdJmksHt.js";
58
64
  import "./CheckboxIndicator/index.js";
59
- import { t as _sfc_main$64 } from "./FieldLabel-DmmJyX7w.js";
60
- import { t as _sfc_main$65 } from "./FieldStatus-MjY19ERl.js";
61
- import { t as _sfc_main$30 } from "./CheckboxInput-CMsEE1_4.js";
65
+ import { t as _sfc_main$66 } from "./FieldLabel-DmmJyX7w.js";
66
+ import { t as _sfc_main$67 } from "./FieldStatus-MjY19ERl.js";
67
+ import { t as _sfc_main$31 } from "./CheckboxInput-CMsEE1_4.js";
62
68
  import "./CheckboxInput/index.js";
63
- import { t as _sfc_main$63 } from "./Field-8zRxzDHE.js";
64
- import { i as useListContext, r as useItemDescriptionId, t as _sfc_main$75 } from "./Item-C1z6gXn8.js";
65
- import { n as _sfc_main$83, t as _sfc_main$84 } from "./ListItem-pGxvn6QJ.js";
66
- import { n as _sfc_main$31, t as _sfc_main$32 } from "./CheckboxList-EsIEXjK_.js";
67
- import { t as _sfc_main$33 } from "./Citation-C1X0Rde8.js";
68
- import { n as _sfc_main$34 } from "./ClickableCard-Bhds4RRe.js";
69
- import { a as tokenizeAsync, c as _sfc_main$35, i as tokenize, n as SYNC_TOKENIZE_THRESHOLD, o as HIGHLIGHTED_TOKEN_TYPES, r as flatTokensToLines, s as applyHighlightRanges, t as _sfc_main$36 } from "./CodeBlock-BQdooQy2.js";
70
- import "./Code/index.js";
71
- import { n as _sfc_main$37, t as _sfc_main$38 } from "./Collapsible-BS9ctCQV.js";
72
- import { a as _sfc_main$42, i as _sfc_main$43, n as _sfc_main$45, o as _sfc_main$41, r as _sfc_main$44, s as _sfc_main$40, t as _sfc_main$39 } from "./CommandPalette-u5h_E05P.js";
73
- import { t as _sfc_main$76 } from "./Kbd-BB-Dw6zE.js";
74
- import { t as _sfc_main$102 } from "./Popover-Crhk9PNP.js";
75
- import { n as _sfc_main$46 } from "./ComplexSelector-BHmGWml0.js";
76
- import { a as _sfc_main$48, i as _sfc_main$49, n as _sfc_main$51, o as useContextMenu, r as _sfc_main$50, s as useContextMenuSize, t as _sfc_main$47 } from "./ContextMenu-dA-ppaRQ.js";
77
- import { t as _sfc_main$52 } from "./DateInput-D2ErjXYO.js";
69
+ import { t as _sfc_main$65 } from "./Field-8zRxzDHE.js";
70
+ import { n as _sfc_main$87, t as _sfc_main$88 } from "./ListItem-pGxvn6QJ.js";
71
+ import { n as _sfc_main$32, t as _sfc_main$33 } from "./CheckboxList-BbCPiend.js";
72
+ import { t as _sfc_main$34 } from "./Citation-DunoAqVH.js";
73
+ import { n as _sfc_main$35 } from "./ClickableCard-Bhds4RRe.js";
74
+ import { a as tokenizeAsync, c as _sfc_main$36, i as tokenize, n as SYNC_TOKENIZE_THRESHOLD, o as HIGHLIGHTED_TOKEN_TYPES, r as flatTokensToLines, s as applyHighlightRanges, t as _sfc_main$37 } from "./CodeBlock-CAF-VJnh.js";
75
+ import { n as defineSyntaxTheme, r as githubDark, t as SYNTAX_TOKEN_KEYS } from "./syntaxTheme-ClpWALZX.js";
76
+ import { a as catppuccinMocha, c as githubLight, d as nord, f as oneDarkPro, g as tokyoNightLight, h as tokyoNight, i as catppuccinLatte, l as lightSyntaxPresets, m as solarizedLight, n as _sfc_main$135, o as darkSyntaxPresets, p as oneLight, r as allSyntaxPresets, s as dracula, t as useSyntaxTheme, u as monokai } from "./Code-yb_KOFtJ.js";
77
+ import { n as _sfc_main$38, t as _sfc_main$39 } from "./Collapsible-DvMiYJp7.js";
78
+ import { a as _sfc_main$43, i as _sfc_main$44, n as _sfc_main$46, o as _sfc_main$42, r as _sfc_main$45, s as _sfc_main$41, t as _sfc_main$40 } from "./CommandPalette-xfm9ldUI.js";
79
+ import { t as _sfc_main$79 } from "./Kbd-BB-Dw6zE.js";
80
+ import { t as _sfc_main$108 } from "./Popover-Crhk9PNP.js";
81
+ import { n as _sfc_main$47 } from "./ComplexSelector-B6lBTRhP.js";
82
+ import { a as _sfc_main$49, i as _sfc_main$50, n as _sfc_main$52, o as useContextMenu, r as _sfc_main$51, s as useContextMenuSize, t as _sfc_main$48 } from "./ContextMenu-DUkED3Z3.js";
83
+ import { t as formatInstant } from "./formatInstant-BDWUIxS7.js";
84
+ import { t as _sfc_main$53 } from "./DateInput-Crcg-CCj.js";
78
85
  import "./DateInput/index.js";
79
- import { t as _sfc_main$53 } from "./DateRangeInput-fmQlr_A7.js";
80
- import { t as _sfc_main$54 } from "./DateTimeInput-Bs1JmcIp.js";
81
- import { n as _sfc_main$56, t as useImperativeDialog } from "./Dialog-CvRplBo-.js";
86
+ import { t as _sfc_main$54 } from "./DateRangeInput-e9KSxBBK.js";
87
+ import { t as _sfc_main$55 } from "./DateTimeInput-fSOfuLex.js";
88
+ import { n as _sfc_main$57, t as useImperativeDialog } from "./Dialog-CvRplBo-.js";
82
89
  import "./Divider/index.js";
83
- import { a as useDropdownMenuContext, i as _sfc_main$59, n as _sfc_main$61, r as _sfc_main$60, t as _sfc_main$58 } from "./DropdownMenu-B0gogrvG.js";
84
- import { t as _sfc_main$62 } from "./EmptyState-Bhlqgsg4.js";
90
+ import { t as _sfc_main$63 } from "./DropdownMenu-XvW4BJob.js";
91
+ import { t as _sfc_main$64 } from "./EmptyState-CUJdTYKV.js";
85
92
  import "./Field/index.js";
86
93
  import "./FieldStatus/index.js";
87
- import { t as _sfc_main$66 } from "./FileInput-CmAfOpkA.js";
88
- import { t as _sfc_main$67 } from "./FormLayout-D47FjiOq.js";
89
- import { n as _sfc_main$68, t as _sfc_main$69 } from "./Grid-D1onTzyC.js";
94
+ import { t as _sfc_main$68 } from "./FileInput-D-fchyQH.js";
95
+ import { t as _sfc_main$69 } from "./FormLayout-D47FjiOq.js";
96
+ import { n as _sfc_main$70, t as _sfc_main$71 } from "./Grid-D1onTzyC.js";
90
97
  import "./Heading/index.js";
91
- import { t as _sfc_main$72 } from "./HoverCard-EhbWaGOW.js";
98
+ import { t as _sfc_main$74 } from "./HoverCard-EhbWaGOW.js";
92
99
  import "./HoverCard/index.js";
100
+ import "./Icon/index.js";
93
101
  import "./IconButton/index.js";
94
- import { t as _sfc_main$74 } from "./InputGroup-ChrFVxzV.js";
102
+ import { t as _sfc_main$77 } from "./InputGroup-ChrFVxzV.js";
95
103
  import "./Kbd/index.js";
96
- import { t as _sfc_main$79 } from "./Layout-Bed3kP0M.js";
97
- import { t as _sfc_main$82 } from "./Link-CprjOuTI.js";
104
+ import { t as _sfc_main$82 } from "./Layout-Bed3kP0M.js";
105
+ import { n as _sfc_main$85, t as useLightbox } from "./Lightbox-uuVGgHxW.js";
106
+ import { t as _sfc_main$86 } from "./Link-DqdQZ37C.js";
98
107
  import "./Link/index.js";
99
108
  import "./List/index.js";
100
- import { i as parseMarkdown, n as slugify, r as uniqueSlug, t as _sfc_main$85 } from "./Markdown-CwtLr3f_.js";
101
- import { n as _sfc_main$86, t as _sfc_main$87 } from "./MetadataList-DlXQTLog.js";
109
+ import { i as parseMarkdown, n as slugify, r as uniqueSlug, t as _sfc_main$89 } from "./Markdown-DLICa3db.js";
110
+ import { n as _sfc_main$91, t as _sfc_main$92 } from "./MetadataList-h492rqEN.js";
102
111
  import "./MobileNav/index.js";
103
- import { t as _sfc_main$90 } from "./MoreMenu-BXL6Dqsu.js";
104
- import { t as _sfc_main$150 } from "./Token-C4KD0fZD.js";
105
- import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main$91 } from "./MultiSelector-DT8ZccMI.js";
112
+ import { t as _sfc_main$95 } from "./MoreMenu-DkYi5az5.js";
113
+ import { t as _sfc_main$159 } from "./Token-CjocuhzE.js";
114
+ import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main$96 } from "./MultiSelector-C2IS-EaU.js";
106
115
  import { n as resolveNavRoot } from "./link-CdcUSxAj.js";
107
- import { t as _sfc_main$93 } from "./NavItem-thEKXyJA.js";
108
- import { t as _sfc_main$94 } from "./NavItem-FFOisITc.js";
109
- import { t as _sfc_main$92 } from "./NavDisclosure-DHrSNRDR.js";
110
- import { n as _sfc_main$95, t as _sfc_main$96 } from "./NavMenuItem-mzNQESpB.js";
116
+ import { t as _sfc_main$98 } from "./NavItem-thEKXyJA.js";
117
+ import { t as _sfc_main$99 } from "./NavItem-FFOisITc.js";
118
+ import { t as _sfc_main$97 } from "./NavDisclosure-DHrSNRDR.js";
119
+ import { n as _sfc_main$100, t as _sfc_main$101 } from "./NavMenuItem-B-k7olt5.js";
111
120
  import "./NavMenu/index.js";
112
- import { t as _sfc_main$97 } from "./NumberInput-DspJO6z6.js";
113
- import { t as _sfc_main$98 } from "./OverflowList-zXg3g6fy.js";
114
- import { n as useOverlay, r as _sfc_main$100, t as _sfc_main$99 } from "./Overlay-DKILTHxI.js";
115
- import { t as _sfc_main$101 } from "./Pagination-DXfgMUKJ.js";
116
- import { t as _sfc_main$114 } from "./Selector-DlZpQh42.js";
121
+ import { t as _sfc_main$102 } from "./NumberInput-CjfAsFwj.js";
122
+ import { t as _sfc_main$103 } from "./Outline-BTmrtvXR.js";
123
+ import { t as _sfc_main$104 } from "./OverflowList-CRE8BE7V.js";
124
+ import { n as useOverlay, r as _sfc_main$106, t as _sfc_main$105 } from "./Overlay-DKILTHxI.js";
125
+ import { t as _sfc_main$107 } from "./Pagination-BpGXPmc7.js";
126
+ import { t as _sfc_main$120 } from "./Selector-DkJOLZSR.js";
117
127
  import "./Pagination/index.js";
118
128
  import "./Popover/index.js";
119
- import { t as _sfc_main$103 } from "./ProgressBar-ChDp-7oe.js";
120
- import { n as _sfc_main$104, t as _sfc_main$105 } from "./RadioGroup-BqjdSCfJ.js";
129
+ import { t as _sfc_main$109 } from "./ProgressBar-DO9Chic6.js";
130
+ import { n as _sfc_main$110, t as _sfc_main$111 } from "./RadioGroup-BqjdSCfJ.js";
121
131
  import "./Radio/index.js";
122
- import { n as _sfc_main$106, t as _sfc_main$107 } from "./RadioList-DI8ujXcT.js";
123
- import { t as _sfc_main$108 } from "./Resizable-BuGKvU9I.js";
124
- import { t as _sfc_main$109 } from "./ScrollableArea-DQDYjnxO.js";
125
- import { t as _sfc_main$110 } from "./Section-C48Wqfc7.js";
126
- import { n as _sfc_main$111, t as _sfc_main$112 } from "./SegmentedControl-ChHmFrrC.js";
127
- import { n as _sfc_main$113 } from "./SelectableCard-Bj5s_tIN.js";
132
+ import { n as _sfc_main$112, t as _sfc_main$113 } from "./RadioList-DI8ujXcT.js";
133
+ import { t as _sfc_main$114 } from "./Resizable-CE8XQDL2.js";
134
+ import { t as _sfc_main$115 } from "./ScrollableArea-DQDYjnxO.js";
135
+ import { t as _sfc_main$116 } from "./Section-C48Wqfc7.js";
136
+ import { n as _sfc_main$117, t as _sfc_main$118 } from "./SegmentedControl-ChHmFrrC.js";
137
+ import { n as _sfc_main$119 } from "./SelectableCard-Bj5s_tIN.js";
128
138
  import "./Selector/index.js";
129
- import { a as _sfc_main$116, i as _sfc_main$115, n as _sfc_main$118, r as _sfc_main$117, t as _sfc_main$119 } from "./SideNav-Cdrigq2A.js";
130
- import { t as _sfc_main$153 } from "./Tooltip-mp0NMh_Y.js";
131
- import { t as _sfc_main$120 } from "./Skeleton-CrgWxJgr.js";
139
+ import { a as _sfc_main$122, i as _sfc_main$121, n as _sfc_main$124, r as _sfc_main$123, t as _sfc_main$125 } from "./SideNav-DcDWBnXJ.js";
140
+ import { t as _sfc_main$126 } from "./Skeleton-CrgWxJgr.js";
132
141
  import "./Skeleton/index.js";
133
- import { t as _sfc_main$121 } from "./Slider-D8h_RKcF.js";
142
+ import { t as _sfc_main$127 } from "./Slider-D8h_RKcF.js";
134
143
  import "./Spinner/index.js";
135
- import { n as _sfc_main$124, r as _sfc_main$70, t as _sfc_main$163 } from "./Stack-iv52y_Jv.js";
136
- import { t as _sfc_main$125 } from "./StatusDot-CaoIapp4.js";
137
- import { n as _sfc_main$126, t as _sfc_main$127 } from "./Stepper-DxmLfh8O.js";
138
- import { t as _sfc_main$128 } from "./Switch-SesQzPGZ.js";
139
- import { C as paginateData, D as sortRows, E as resolveColumnWidths, S as generateColumns, T as proportional, _ as useTableColumnSettings, a as _sfc_main$135, b as capitalize, c as _sfc_main$132, d as useTableSelection, f as useTableSelectionState, g as useTableFiltering, h as useTableFilterState, i as _sfc_main$136, l as useTableSortable, m as applyTableFilters, n as _sfc_main$138, o as _sfc_main$134, p as useTablePagination, r as _sfc_main$137, s as _sfc_main$133, t as _sfc_main$139, u as useTableSortableState, v as useTableColumnSettingsState, w as pixel, x as cellText, y as useTableColumnResize } from "./Table-7qRmlIQd.js";
140
- import { t as _sfc_main$142 } from "./TextInput-BasnjVvy.js";
141
- import { n as _sfc_main$130, r as _sfc_main$129, t as _sfc_main$131 } from "./TabList-C411uNQU.js";
144
+ import { n as _sfc_main$130, r as _sfc_main$72, t as _sfc_main$172 } from "./Stack-iv52y_Jv.js";
145
+ import { t as _sfc_main$131 } from "./StatusDot-CaoIapp4.js";
146
+ import { n as _sfc_main$132, t as _sfc_main$133 } from "./Stepper-DZKaqEoz.js";
147
+ import { t as _sfc_main$134 } from "./Switch-SesQzPGZ.js";
148
+ import { C as paginateData, D as sortRows, E as resolveColumnWidths, S as generateColumns, T as proportional, _ as useTableColumnSettings, a as _sfc_main$142, b as capitalize, c as _sfc_main$139, d as useTableSelection, f as useTableSelectionState, g as useTableFiltering, h as useTableFilterState, i as _sfc_main$143, l as useTableSortable, m as applyTableFilters, n as _sfc_main$145, o as _sfc_main$141, p as useTablePagination, r as _sfc_main$144, s as _sfc_main$140, t as _sfc_main$146, u as useTableSortableState, v as useTableColumnSettingsState, w as pixel, x as cellText, y as useTableColumnResize } from "./Table-DwehtMap.js";
149
+ import { t as _sfc_main$149 } from "./TextInput-BasnjVvy.js";
150
+ import { n as _sfc_main$137, r as _sfc_main$136, t as _sfc_main$138 } from "./TabList-hm06QPiW.js";
142
151
  import "./Text/index.js";
143
- import { t as _sfc_main$141 } from "./TextArea-Cv9UVbzS.js";
152
+ import { t as _sfc_main$148 } from "./TextArea-CPwSytdO.js";
144
153
  import "./TextInput/index.js";
145
- import { t as _sfc_main$143 } from "./Thumbnail-BWVzLLyI.js";
146
- import { t as _sfc_main$144 } from "./TimeInput-OkgX-xbQ.js";
147
- import { i as formatInstant, n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main$145 } from "./Timestamp-DUoP9ari.js";
148
- import { n as _sfc_main$147, r as _sfc_main$146, t as useToast } from "./Toast-BKXPvEMp.js";
149
- import { n as _sfc_main$149, r as _sfc_main$148 } from "./ToggleButton-BB_I8EdM.js";
154
+ import { a as defineTheme, c as normalizeTokenName, i as _sfc_main$90, n as useMediaTheme, o as isDefinedTheme, r as _sfc_main$150, s as neutralTheme, t as useTheme } from "./Theme-BuUiiJNr.js";
155
+ import { t as _sfc_main$151 } from "./Thumbnail-CAOYds8t.js";
156
+ import { t as _sfc_main$152 } from "./TimeInput-DJP3l4ZS.js";
157
+ import { n as getPresentation, t as _sfc_main$153 } from "./Timer-B7GV6hqd.js";
158
+ import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main$154 } from "./Timestamp-BzRp8uWc.js";
159
+ import { n as _sfc_main$156, r as _sfc_main$155, t as useToast } from "./Toast-C2ML-bmi.js";
160
+ import { n as _sfc_main$158, r as _sfc_main$157 } from "./ToggleButton-BB_I8EdM.js";
150
161
  import { t as TOKEN_COLORS } from "./Token-BdRzlXzm.js";
151
- import { t as _sfc_main$151 } from "./Tokenizer-BA8sTMPZ.js";
152
- import { t as _sfc_main$152 } from "./Toolbar-BrgvvTCk.js";
162
+ import { t as _sfc_main$160 } from "./Tokenizer-mYES5SPM.js";
163
+ import { t as _sfc_main$161 } from "./Toolbar-BrgvvTCk.js";
153
164
  import "./Tooltip/index.js";
154
- import { a as _sfc_main$156, i as _sfc_main$157, n as _sfc_main$159, o as _sfc_main$155, r as _sfc_main$158, s as _sfc_main$154, t as _sfc_main$160 } from "./TopNav-CZokS7E_.js";
155
- import { n as useTreeFocus, t as _sfc_main$161 } from "./TreeList-CIbAGOMf.js";
156
- import { t as _sfc_main$162 } from "./Typeahead-DIw-K4aa.js";
165
+ import { a as _sfc_main$165, i as _sfc_main$166, n as _sfc_main$168, o as _sfc_main$164, r as _sfc_main$167, s as _sfc_main$163, t as _sfc_main$169 } from "./TopNav-C2t6JkZb.js";
166
+ import { n as useTreeFocus, t as _sfc_main$170 } from "./TreeList-THJ0KamE.js";
167
+ import { t as _sfc_main$171 } from "./Typeahead-D7VnvRpK.js";
157
168
  import "./VisuallyHidden/index.js";
158
- export { _sfc_main as AlertDialog, _sfc_main$1 as AppShell, _sfc_main$2 as AspectRatio, _sfc_main$3 as Avatar, _sfc_main$4 as AvatarGroup, _sfc_main$5 as AvatarGroupOverflow, _sfc_main$6 as AvatarStatusDot, _sfc_main$7 as Badge, _sfc_main$8 as Banner, _sfc_main$9 as Blockquote, _sfc_main$10 as BottomSheet, _sfc_main$11 as BreadcrumbItem, _sfc_main$12 as Breadcrumbs, _sfc_main$13 as Button, _sfc_main$14 as ButtonGroup, CHAT_MESSAGE_CLASS, _sfc_main$15 as Calendar, _sfc_main$16 as Card, _sfc_main$17 as Center, _sfc_main$18 as ChatLayout, _sfc_main$19 as ChatLayoutScrollButton, _sfc_main$20 as ChatMessage, _sfc_main$21 as ChatMessageBubble, _sfc_main$22 as ChatMessageList, _sfc_main$23 as ChatMessageMetadata, _sfc_main$24 as ChatReasoning, _sfc_main$25 as ChatSystemMessage, _sfc_main$26 as ChatToolCalls, _sfc_main$27 as ChatTypingIndicator, _sfc_main$28 as ChatUnreadDivider, _sfc_main$29 as CheckboxIndicator, _sfc_main$30 as CheckboxInput, _sfc_main$31 as CheckboxList, _sfc_main$32 as CheckboxListItem, _sfc_main$33 as Citation, _sfc_main$34 as ClickableCard, _sfc_main$35 as Code, _sfc_main$36 as CodeBlock, _sfc_main$37 as Collapsible, _sfc_main$38 as CollapsibleGroup, _sfc_main$39 as CommandPalette, _sfc_main$40 as CommandPaletteEmpty, _sfc_main$41 as CommandPaletteFooter, _sfc_main$42 as CommandPaletteGroup, _sfc_main$43 as CommandPaletteInput, _sfc_main$44 as CommandPaletteItem, _sfc_main$45 as CommandPaletteList, _sfc_main$46 as ComplexSelector, _sfc_main$47 as ContextMenu, _sfc_main$48 as ContextMenuDivider, _sfc_main$49 as ContextMenuGroup, _sfc_main$50 as ContextMenuItem, _sfc_main$51 as ContextMenuSubMenu, _sfc_main$52 as DateInput, _sfc_main$53 as DateRangeInput, _sfc_main$54 as DateTimeInput, _sfc_main$55 as Dialog, _sfc_main$56 as DialogHeader, _sfc_main$57 as Divider, _sfc_main$58 as DropdownMenu, _sfc_main$59 as DropdownMenuDivider, _sfc_main$60 as DropdownMenuGroup, _sfc_main$61 as DropdownMenuItem, _sfc_main$62 as EmptyState, _sfc_main$63 as Field, _sfc_main$64 as FieldLabel, _sfc_main$65 as FieldStatus, _sfc_main$66 as FileInput, _sfc_main$67 as FormLayout, _sfc_main$68 as Grid, _sfc_main$69 as GridSpan, HIGHLIGHTED_TOKEN_TYPES, _sfc_main$70 as HStack, _sfc_main$71 as Heading, _sfc_main$72 as HoverCard, INTERACTIVE_SELECTORS, _sfc_main$73 as IconButton, _sfc_main$74 as InputGroup, _sfc_main$75 as Item, _sfc_main$76 as Kbd, _sfc_main$77 as Layout, _sfc_main$78 as LayoutContent, _sfc_main$79 as LayoutFooter, _sfc_main$80 as LayoutHeader, _sfc_main$81 as LayoutPanel, _sfc_main$82 as Link, _sfc_main$83 as List, _sfc_main$84 as ListItem, _sfc_main$85 as Markdown, _sfc_main$86 as MetadataList, _sfc_main$87 as MetadataListItem, _sfc_main$88 as MobileNav, _sfc_main$89 as MobileNavToggle, _sfc_main$90 as MoreMenu, _sfc_main$91 as MultiSelector, _sfc_main$92 as NavDisclosure, _sfc_main$93 as NavIcon, _sfc_main$94 as NavItem, _sfc_main$95 as NavMenu, _sfc_main$96 as NavMenuItem, _sfc_main$97 as NumberInput, _sfc_main$98 as OverflowList, _sfc_main$99 as Overlay, _sfc_main$100 as OverlayScrim, _sfc_main$101 as Pagination, _sfc_main$102 as Popover, _sfc_main$103 as ProgressBar, _sfc_main$104 as Radio, _sfc_main$105 as RadioGroup, _sfc_main$106 as RadioList, _sfc_main$107 as RadioListItem, _sfc_main$108 as ResizeHandle, SELECT_ALL_VALUE, SYNC_TOKENIZE_THRESHOLD, _sfc_main$109 as ScrollableArea, _sfc_main$110 as Section, _sfc_main$111 as SegmentedControl, _sfc_main$112 as SegmentedControlItem, _sfc_main$113 as SelectableCard, _sfc_main$114 as Selector, _sfc_main$115 as SideNav, _sfc_main$116 as SideNavCollapseButton, _sfc_main$117 as SideNavHeading, _sfc_main$118 as SideNavItem, _sfc_main$119 as SideNavSection, _sfc_main$120 as Skeleton, _sfc_main$121 as Slider, _sfc_main$122 as Spinner, _sfc_main$123 as Stack, _sfc_main$124 as StackItem, _sfc_main$125 as StatusDot, _sfc_main$126 as Step, _sfc_main$127 as Stepper, _sfc_main$128 as Switch, TOKEN_COLORS, _sfc_main$129 as Tab, _sfc_main$130 as TabList, _sfc_main$131 as TabMenu, _sfc_main$132 as Table, _sfc_main$133 as TableBody, _sfc_main$134 as TableCell, _sfc_main$135 as TableFooter, _sfc_main$136 as TableHeader, _sfc_main$137 as TableHeaderCell, _sfc_main$138 as TableRow, _sfc_main$139 as TableSelectionToolbar, _sfc_main$140 as Text, _sfc_main$141 as TextArea, _sfc_main$142 as TextInput, _sfc_main$143 as Thumbnail, _sfc_main$144 as TimeInput, _sfc_main$145 as Timestamp, _sfc_main$146 as Toast, _sfc_main$147 as ToastViewport, _sfc_main$148 as ToggleButton, _sfc_main$149 as ToggleButtonGroup, _sfc_main$150 as Token, _sfc_main$151 as Tokenizer, _sfc_main$152 as Toolbar, _sfc_main$153 as Tooltip, _sfc_main$154 as TopNav, _sfc_main$155 as TopNavHeading, _sfc_main$156 as TopNavItem, _sfc_main$157 as TopNavMegaMenu, _sfc_main$158 as TopNavMegaMenuFeaturedCard, _sfc_main$159 as TopNavMegaMenuItem, _sfc_main$160 as TopNavMenu, _sfc_main$161 as TreeList, _sfc_main$162 as Typeahead, _sfc_main$163 as VStack, _sfc_main$164 as VisuallyHidden, addMonths, appShellMobileKey, applyHighlightRanges, applyRangeClick, applyTableFilters, buildMonthGrid, capitalize, cellText, compareISODate, computeOverflow, createStaticSource, flatTokensToLines, flattenOptions, formatDateRange, formatDisplayTime, formatFileSize, formatISOTime, formatInstant, formatRelativeTime, formatTooltipLines, generateColumns, isDayOutsideSpan, isRangeWithinSpan, isSameRange, isTimeInRange, normalizeLocale, orderRange, paginateData, paginateData as paginateTableData, parseDisplayTime, parseISODate, parseISOTime, parseMarkdown, percent, pixel, proportional, provideAstryxLocale, resolveColumnWidths, resolveNavRoot, resolveTimeSurface, resolveWeekStart, selectFiles, shiftTime, slugify, snapToGraphemeBoundary, sortRows, spanDays, toISODate, todayISODate, tokenize, tokenizeAsync, uniqueSlug, useAnnounce, useAppShellMobile, useAstryxLocale, useAstryxMessages, useAsyncSource, useChatLayoutContext, useChatListContext, useChatMessageContext, useChatNewMessages, useChatStreamScroll, useClickableContainer, useClipboard, useClipboard as useCopyToClipboard, useCoarsePointer, useCombobox, useContextMenu, useContextMenuSize, useControllableState, useDismiss, useDropdownMenuContext, useFocusTrap, useGridRovingFocus, useHotkeys, useImperativeAlertDialog, useImperativeDialog, useItemDescriptionId, useListContext, useListFocus, useLongPress, useMediaQuery, useNumberField, useOverflow, useOverlay, useResizable, useRestoreFocus, useScrollLock, useScrollOverflow, useScrollableArea, useSideNavCollapse, useStreamingText, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableFilterState, useTableFiltering, useTablePagination, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useToast, useTreeFocus, useTypeahead };
169
+ export { _sfc_main as AlertDialog, _sfc_main$1 as AppShell, _sfc_main$2 as AspectRatio, _sfc_main$3 as Avatar, _sfc_main$4 as AvatarGroup, _sfc_main$5 as AvatarGroupOverflow, _sfc_main$6 as AvatarStatusDot, _sfc_main$7 as Badge, _sfc_main$8 as Banner, _sfc_main$9 as Blockquote, _sfc_main$10 as BottomSheet, _sfc_main$11 as BreadcrumbItem, _sfc_main$12 as Breadcrumbs, _sfc_main$13 as Button, _sfc_main$14 as ButtonGroup, CHAT_MESSAGE_CLASS, _sfc_main$15 as Calendar, _sfc_main$16 as Card, _sfc_main$17 as Carousel, _sfc_main$18 as Center, _sfc_main$19 as ChatLayout, _sfc_main$20 as ChatLayoutScrollButton, _sfc_main$21 as ChatMessage, _sfc_main$22 as ChatMessageBubble, _sfc_main$23 as ChatMessageList, _sfc_main$24 as ChatMessageMetadata, _sfc_main$25 as ChatReasoning, _sfc_main$26 as ChatSystemMessage, _sfc_main$27 as ChatToolCalls, _sfc_main$28 as ChatTypingIndicator, _sfc_main$29 as ChatUnreadDivider, _sfc_main$30 as CheckboxIndicator, _sfc_main$31 as CheckboxInput, _sfc_main$32 as CheckboxList, _sfc_main$33 as CheckboxListItem, _sfc_main$34 as Citation, _sfc_main$35 as ClickableCard, _sfc_main$36 as Code, _sfc_main$37 as CodeBlock, _sfc_main$38 as Collapsible, _sfc_main$39 as CollapsibleGroup, _sfc_main$40 as CommandPalette, _sfc_main$41 as CommandPaletteEmpty, _sfc_main$42 as CommandPaletteFooter, _sfc_main$43 as CommandPaletteGroup, _sfc_main$44 as CommandPaletteInput, _sfc_main$45 as CommandPaletteItem, _sfc_main$46 as CommandPaletteList, _sfc_main$47 as ComplexSelector, _sfc_main$48 as ContextMenu, _sfc_main$49 as ContextMenuDivider, _sfc_main$50 as ContextMenuGroup, _sfc_main$51 as ContextMenuItem, _sfc_main$52 as ContextMenuSubMenu, _sfc_main$53 as DateInput, _sfc_main$54 as DateRangeInput, _sfc_main$55 as DateTimeInput, _sfc_main$56 as Dialog, _sfc_main$57 as DialogHeader, _sfc_main$58 as Divider, _sfc_main$59 as DropdownMenu, _sfc_main$60 as DropdownMenuDivider, _sfc_main$61 as DropdownMenuGroup, _sfc_main$62 as DropdownMenuItem, _sfc_main$63 as DropdownMenuSubMenu, _sfc_main$64 as EmptyState, _sfc_main$65 as Field, _sfc_main$66 as FieldLabel, _sfc_main$67 as FieldStatus, _sfc_main$68 as FileInput, _sfc_main$69 as FormLayout, _sfc_main$70 as Grid, _sfc_main$71 as GridSpan, HIGHLIGHTED_TOKEN_TYPES, _sfc_main$72 as HStack, _sfc_main$73 as Heading, _sfc_main$74 as HoverCard, ICON_GLYPHS, INTERACTIVE_SELECTORS, _sfc_main$75 as Icon, _sfc_main$76 as IconButton, _sfc_main$77 as InputGroup, _sfc_main$78 as Item, _sfc_main$79 as Kbd, _sfc_main$80 as Layout, _sfc_main$81 as LayoutContent, _sfc_main$82 as LayoutFooter, _sfc_main$83 as LayoutHeader, _sfc_main$84 as LayoutPanel, _sfc_main$85 as Lightbox, _sfc_main$86 as Link, _sfc_main$87 as List, _sfc_main$88 as ListItem, _sfc_main$89 as Markdown, _sfc_main$90 as MediaTheme, _sfc_main$91 as MetadataList, _sfc_main$92 as MetadataListItem, _sfc_main$93 as MobileNav, _sfc_main$94 as MobileNavToggle, _sfc_main$95 as MoreMenu, _sfc_main$96 as MultiSelector, _sfc_main$97 as NavDisclosure, _sfc_main$98 as NavIcon, _sfc_main$99 as NavItem, _sfc_main$100 as NavMenu, _sfc_main$101 as NavMenuItem, _sfc_main$102 as NumberInput, _sfc_main$103 as Outline, _sfc_main$104 as OverflowList, _sfc_main$105 as Overlay, _sfc_main$106 as OverlayScrim, _sfc_main$107 as Pagination, _sfc_main$108 as Popover, _sfc_main$109 as ProgressBar, _sfc_main$110 as Radio, _sfc_main$111 as RadioGroup, _sfc_main$112 as RadioList, _sfc_main$113 as RadioListItem, _sfc_main$114 as ResizeHandle, SELECT_ALL_VALUE, SYNC_TOKENIZE_THRESHOLD, SYNTAX_TOKEN_KEYS, _sfc_main$115 as ScrollableArea, _sfc_main$116 as Section, _sfc_main$117 as SegmentedControl, _sfc_main$118 as SegmentedControlItem, _sfc_main$119 as SelectableCard, _sfc_main$120 as Selector, _sfc_main$121 as SideNav, _sfc_main$122 as SideNavCollapseButton, _sfc_main$123 as SideNavHeading, _sfc_main$124 as SideNavItem, _sfc_main$125 as SideNavSection, _sfc_main$126 as Skeleton, _sfc_main$127 as Slider, _sfc_main$128 as Spinner, _sfc_main$129 as Stack, _sfc_main$130 as StackItem, _sfc_main$131 as StatusDot, _sfc_main$132 as Step, _sfc_main$133 as Stepper, _sfc_main$134 as Switch, _sfc_main$135 as SyntaxTheme, TOKEN_COLORS, _sfc_main$136 as Tab, _sfc_main$137 as TabList, _sfc_main$138 as TabMenu, _sfc_main$139 as Table, _sfc_main$140 as TableBody, _sfc_main$141 as TableCell, _sfc_main$142 as TableFooter, _sfc_main$143 as TableHeader, _sfc_main$144 as TableHeaderCell, _sfc_main$145 as TableRow, _sfc_main$146 as TableSelectionToolbar, _sfc_main$147 as Text, _sfc_main$148 as TextArea, _sfc_main$149 as TextInput, _sfc_main$150 as Theme, _sfc_main$151 as Thumbnail, _sfc_main$152 as TimeInput, _sfc_main$153 as Timer, _sfc_main$154 as Timestamp, _sfc_main$155 as Toast, _sfc_main$156 as ToastViewport, _sfc_main$157 as ToggleButton, _sfc_main$158 as ToggleButtonGroup, _sfc_main$159 as Token, _sfc_main$160 as Tokenizer, _sfc_main$161 as Toolbar, _sfc_main$162 as Tooltip, _sfc_main$163 as TopNav, _sfc_main$164 as TopNavHeading, _sfc_main$165 as TopNavItem, _sfc_main$166 as TopNavMegaMenu, _sfc_main$167 as TopNavMegaMenuFeaturedCard, _sfc_main$168 as TopNavMegaMenuItem, _sfc_main$169 as TopNavMenu, _sfc_main$170 as TreeList, _sfc_main$171 as Typeahead, _sfc_main$172 as VStack, _sfc_main$173 as VisuallyHidden, addCollection, addIcon, addMonths, allSyntaxPresets, appShellMobileKey, applyHighlightRanges, applyRangeClick, applyTableFilters, buildMonthGrid, capitalize, catppuccinLatte, catppuccinMocha, cellText, compareISODate, computeOverflow, createStaticSource, darkSyntaxPresets, defineSyntaxTheme, defineTheme, dracula, flatTokensToLines, flattenOptions, formatDateRange, formatDisplayTime, formatFileSize, formatISOTime, formatInstant, formatRelativeTime, formatTooltipLines, generateColumns, getPresentation, githubDark, githubLight, iconGlyphSlug, isDayOutsideSpan, isDefinedTheme, isIconGlyph, isRangeWithinSpan, isSameRange, isTimeInRange, lightSyntaxPresets, monokai, neutralTheme, nord, normalizeLocale, normalizeTokenName, oneDarkPro, oneLight, orderRange, paginateData, paginateData as paginateTableData, parseDisplayTime, parseISODate, parseISOTime, parseMarkdown, percent, pixel, proportional, provideAstryxLocale, resolveColumnWidths, resolveNavRoot, resolveTimeSurface, resolveWeekStart, selectFiles, shiftTime, slugify, snapToGraphemeBoundary, solarizedLight, sortRows, spanDays, toISODate, todayISODate, tokenize, tokenizeAsync, tokyoNight, tokyoNightLight, uniqueSlug, useAnnounce, useAppShellMobile, useAstryxLocale, useAstryxMessages, useAsyncSource, useChatLayoutContext, useChatListContext, useChatMessageContext, useChatNewMessages, useChatStreamScroll, useClickableContainer, useClipboard, useClipboard as useCopyToClipboard, useCoarsePointer, useCombobox, useContextMenu, useContextMenuSize, useControllableState, useDismiss, useDropdownMenuContext, useFocusTrap, useGridRovingFocus, useHotkeys, useImperativeAlertDialog, useImperativeDialog, useItemDescriptionId, useLightbox, useListContext, useListFocus, useLongPress, useMediaQuery, useMediaTheme, useNumberField, useOverflow, useOverlay, useResizable, useRestoreFocus, useScrollLock, useScrollOverflow, useScrollableArea, useSideNavCollapse, useStreamingText, useSyntaxTheme, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableFilterState, useTableFiltering, useTablePagination, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTheme, useToast, useTreeFocus, useTypeahead };
@@ -1,2 +1,2 @@
1
- import { a as provideAstryxLocale, c as AstryxMessages, i as normalizeLocale, l as AstryxLocale, n as weekdayNames, o as useAstryxLocale, r as astryxLocaleKey, s as useAstryxMessages, t as formatCalendarMonth } from "../index-DYChvBOM.js";
1
+ import { a as provideAstryxLocale, c as AstryxMessages, i as normalizeLocale, l as AstryxLocale, n as weekdayNames, o as useAstryxLocale, r as astryxLocaleKey, s as useAstryxMessages, t as formatCalendarMonth } from "../index-Clmz00IK.js";
2
2
  export { type AstryxLocale, type AstryxMessages, astryxLocaleKey, formatCalendarMonth, normalizeLocale, provideAstryxLocale, useAstryxLocale, useAstryxMessages, weekdayNames };
@@ -1,3 +1,3 @@
1
- import { a as useAstryxMessages, i as useAstryxLocale, n as normalizeLocale, r as provideAstryxLocale, t as astryxLocaleKey } from "../context-D6ECRdc5.js";
1
+ import { a as useAstryxMessages, i as useAstryxLocale, n as normalizeLocale, r as provideAstryxLocale, t as astryxLocaleKey } from "../context-DzcK4T_C.js";
2
2
  import { n as weekdayNames, t as formatCalendarMonth } from "../locale-Cpk_nrLA.js";
3
3
  export { astryxLocaleKey, formatCalendarMonth, normalizeLocale, provideAstryxLocale, useAstryxLocale, useAstryxMessages, weekdayNames };
@@ -0,0 +1,45 @@
1
+ //#region src/Icon/registry.d.ts
2
+ /**
3
+ * Iconify icon data, the shape published by `@iconify-json/*`.
4
+ *
5
+ * Only the fields the renderer uses are kept. A collection JSON satisfies this
6
+ * interface, so `addCollection` can take the file as it is.
7
+ */
8
+ interface IconifyIcon {
9
+ body: string;
10
+ width?: number;
11
+ height?: number;
12
+ left?: number;
13
+ top?: number;
14
+ rotate?: number;
15
+ hFlip?: boolean;
16
+ vFlip?: boolean;
17
+ }
18
+ interface IconifyAlias {
19
+ parent: string;
20
+ width?: number;
21
+ height?: number;
22
+ left?: number;
23
+ top?: number;
24
+ rotate?: number;
25
+ hFlip?: boolean;
26
+ vFlip?: boolean;
27
+ }
28
+ interface IconifyCollection {
29
+ prefix: string;
30
+ icons: Record<string, IconifyIcon>;
31
+ aliases?: Record<string, IconifyAlias>;
32
+ width?: number;
33
+ height?: number;
34
+ }
35
+ /**
36
+ * Register one icon under its `collection:name` id.
37
+ *
38
+ * Later lookups accept that id and, once the collection prefix is known, the
39
+ * `collection-name` form as well.
40
+ */
41
+ declare function addIcon(name: string, data: IconifyIcon): void;
42
+ /** Register every icon in an `@iconify-json` collection. */
43
+ declare function addCollection(collection: IconifyCollection): void;
44
+ //#endregion
45
+ export { addIcon as i, IconifyIcon as n, addCollection as r, IconifyCollection as t };
@@ -0,0 +1,135 @@
1
+ //#region src/Icon/registry.ts
2
+ const ICON_PART = "[a-z0-9]+(?:[-_][a-z0-9]+)*";
3
+ const COLON_NAME = new RegExp(`^(${ICON_PART}):(${ICON_PART})$`, "i");
4
+ /**
5
+ * The Vite plugin pushes `[name, data]` pairs here instead of importing
6
+ * `addIcon`. Importing it made the registration call run before this module
7
+ * had finished initializing.
8
+ */
9
+ const ASTRYX_ICON_QUEUE = "__astryxVueIcons";
10
+ const icons = /* @__PURE__ */ new Map();
11
+ const collections = /* @__PURE__ */ new Map();
12
+ const prefixes = /* @__PURE__ */ new Set();
13
+ const missingWarnings = /* @__PURE__ */ new Set();
14
+ function knownPrefixes() {
15
+ return [...prefixes];
16
+ }
17
+ /**
18
+ * Split an Iconify name.
19
+ *
20
+ * `carbon:settings` is the canonical form. `carbon-settings` is accepted when
21
+ * `carbon` is a known collection prefix. The longest prefix wins, so
22
+ * `material-symbols-home` stays on the `material-symbols` collection instead of
23
+ * being read as `material`.
24
+ */
25
+ function parseIconName(input, known = knownPrefixes()) {
26
+ const value = input.trim();
27
+ const colon = COLON_NAME.exec(value);
28
+ if (colon?.[1] && colon[2]) return {
29
+ prefix: colon[1].toLowerCase(),
30
+ name: colon[2].toLowerCase()
31
+ };
32
+ const lower = value.toLowerCase();
33
+ const ordered = [...known].sort((a, b) => b.length - a.length);
34
+ for (const prefix of ordered) {
35
+ const normalized = prefix.toLowerCase();
36
+ const head = `${normalized}-`;
37
+ if (!lower.startsWith(head) || lower.length === head.length) continue;
38
+ const name = lower.slice(head.length);
39
+ if (new RegExp(`^${ICON_PART}$`, "i").test(name)) return {
40
+ prefix: normalized,
41
+ name
42
+ };
43
+ }
44
+ }
45
+ function mergeAlias(parent, alias) {
46
+ let rotate = ((parent.rotate ?? 0) + (alias.rotate ?? 0)) % 4;
47
+ let hFlip = parent.hFlip === true;
48
+ let vFlip = parent.vFlip === true;
49
+ if (alias.hFlip) hFlip = !hFlip;
50
+ if (alias.vFlip) vFlip = !vFlip;
51
+ if (hFlip && vFlip) {
52
+ rotate = (rotate + 2) % 4;
53
+ hFlip = false;
54
+ vFlip = false;
55
+ }
56
+ if (rotate < 0) rotate = (rotate % 4 + 4) % 4;
57
+ return {
58
+ body: parent.body,
59
+ width: alias.width ?? parent.width,
60
+ height: alias.height ?? parent.height,
61
+ left: alias.left ?? parent.left,
62
+ top: alias.top ?? parent.top,
63
+ rotate: rotate === 0 ? void 0 : rotate,
64
+ hFlip: hFlip || void 0,
65
+ vFlip: vFlip || void 0
66
+ };
67
+ }
68
+ /**
69
+ * Resolve one icon out of a collection, following aliases.
70
+ *
71
+ * Width and height fall back to the collection defaults, which is how Iconify
72
+ * stores a shared canvas size.
73
+ */
74
+ function resolveCollectionIcon(collection, name, seen = /* @__PURE__ */ new Set()) {
75
+ if (collection == null || seen.has(name)) return void 0;
76
+ seen.add(name);
77
+ const direct = collection.icons[name];
78
+ if (direct?.body) return {
79
+ ...direct,
80
+ width: direct.width ?? collection.width,
81
+ height: direct.height ?? collection.height
82
+ };
83
+ const alias = collection.aliases?.[name];
84
+ if (alias?.parent == null) return void 0;
85
+ const parent = resolveCollectionIcon(collection, alias.parent, seen);
86
+ if (parent == null) return void 0;
87
+ return mergeAlias(parent, alias);
88
+ }
89
+ function remember(prefix) {
90
+ prefixes.add(prefix.toLowerCase());
91
+ }
92
+ /**
93
+ * Register one icon under its `collection:name` id.
94
+ *
95
+ * Later lookups accept that id and, once the collection prefix is known, the
96
+ * `collection-name` form as well.
97
+ */
98
+ function addIcon(name, data) {
99
+ const parsed = parseIconName(name, []);
100
+ if (parsed == null) return;
101
+ icons.set(`${parsed.prefix}:${parsed.name}`, data);
102
+ remember(parsed.prefix);
103
+ }
104
+ /** Register every icon in an `@iconify-json` collection. */
105
+ function addCollection(collection) {
106
+ const prefix = collection.prefix.toLowerCase();
107
+ collections.set(prefix, {
108
+ ...collection,
109
+ prefix
110
+ });
111
+ remember(prefix);
112
+ }
113
+ /** Warn once per name when a rendered icon was never registered. */
114
+ function warnMissingIcon(name) {
115
+ if (missingWarnings.has(name)) return;
116
+ missingWarnings.add(name);
117
+ console.warn(`[astryx-vue] Icon "${name}" is not registered. Install the matching @iconify-json collection and add astryxIcons() to Vite, or call addIcon() / addCollection().`);
118
+ }
119
+ function drainIconQueue() {
120
+ const host = globalThis;
121
+ const queue = host[ASTRYX_ICON_QUEUE];
122
+ if (queue == null || queue.length === 0) return;
123
+ host[ASTRYX_ICON_QUEUE] = [];
124
+ for (const [name, data] of queue) addIcon(name, data);
125
+ }
126
+ /** The icon data for a name, or `undefined` when nothing has registered it. */
127
+ function getIcon(name) {
128
+ drainIconQueue();
129
+ const parsed = parseIconName(name);
130
+ if (parsed == null) return void 0;
131
+ const key = `${parsed.prefix}:${parsed.name}`;
132
+ return icons.get(key) ?? resolveCollectionIcon(collections.get(parsed.prefix), parsed.name);
133
+ }
134
+ //#endregion
135
+ export { parseIconName as a, getIcon as i, addCollection as n, resolveCollectionIcon as o, addIcon as r, warnMissingIcon as s, ASTRYX_ICON_QUEUE as t };
@@ -0,0 +1,38 @@
1
+ //#region src/Code/syntaxTheme.d.ts
2
+ declare const SYNTAX_TOKEN_KEYS: readonly ["keyword", "string", "comment", "number", "function", "type", "variable", "operator", "constant", "tag", "attribute", "property", "punctuation", "background"];
3
+ type SyntaxTokenKey = (typeof SYNTAX_TOKEN_KEYS)[number];
4
+ interface SyntaxThemeTokens {
5
+ keyword: string;
6
+ string: string;
7
+ comment: string;
8
+ number: string;
9
+ function: string;
10
+ type: string;
11
+ variable: string;
12
+ operator: string;
13
+ constant: string;
14
+ tag: string;
15
+ attribute: string;
16
+ property: string;
17
+ punctuation: string;
18
+ background: string;
19
+ }
20
+ /** A string is used as written. A tuple is the light stop, then the dark stop. */
21
+ type SyntaxTokenValue = string | readonly [string, string];
22
+ interface SyntaxThemeDefinition {
23
+ name: string;
24
+ tokens: SyntaxThemeTokens;
25
+ }
26
+ interface SyntaxThemeInput {
27
+ name: string;
28
+ tokens: { [K in keyof SyntaxThemeTokens]: SyntaxTokenValue; };
29
+ }
30
+ /**
31
+ * Create a syntax theme. All 14 tokens are required.
32
+ * `[light, dark]` tuples are stored as `light-dark()`.
33
+ */
34
+ declare function defineSyntaxTheme(theme: SyntaxThemeInput): SyntaxThemeDefinition;
35
+ /** GitHub Dark (GitHub Primer team), MIT. */
36
+ declare const githubDark: SyntaxThemeDefinition;
37
+ //#endregion
38
+ export { SyntaxTokenKey as a, githubDark as c, SyntaxThemeTokens as i, SyntaxThemeDefinition as n, SyntaxTokenValue as o, SyntaxThemeInput as r, defineSyntaxTheme as s, SYNTAX_TOKEN_KEYS as t };
@@ -0,0 +1,75 @@
1
+ //#region src/Code/syntaxTheme.ts
2
+ const SYNTAX_TOKEN_KEYS = [
3
+ "keyword",
4
+ "string",
5
+ "comment",
6
+ "number",
7
+ "function",
8
+ "type",
9
+ "variable",
10
+ "operator",
11
+ "constant",
12
+ "tag",
13
+ "attribute",
14
+ "property",
15
+ "punctuation",
16
+ "background"
17
+ ];
18
+ function resolveSyntaxToken(value) {
19
+ if (typeof value === "string") return value;
20
+ return `light-dark(${value[0]}, ${value[1]})`;
21
+ }
22
+ /**
23
+ * Create a syntax theme. All 14 tokens are required.
24
+ * `[light, dark]` tuples are stored as `light-dark()`.
25
+ */
26
+ function defineSyntaxTheme(theme) {
27
+ const missing = SYNTAX_TOKEN_KEYS.filter((key) => theme.tokens[key] == null);
28
+ if (missing.length > 0 && typeof console !== "undefined") console.warn(`[Astryx] defineSyntaxTheme("${theme.name}"): missing tokens: ${missing.join(", ")}. All 14 syntax tokens are required.`);
29
+ const tokens = {};
30
+ for (const key of SYNTAX_TOKEN_KEYS) {
31
+ const value = theme.tokens[key];
32
+ if (value != null) tokens[key] = resolveSyntaxToken(value);
33
+ }
34
+ return {
35
+ name: theme.name,
36
+ tokens
37
+ };
38
+ }
39
+ /** GitHub Dark (GitHub Primer team), MIT. */
40
+ const githubDark = defineSyntaxTheme({
41
+ name: "github-dark",
42
+ tokens: {
43
+ keyword: "#ff7b72",
44
+ string: "#a5d6ff",
45
+ comment: "#8b949e",
46
+ number: "#79c0ff",
47
+ function: "#d2a8ff",
48
+ type: "#ffa657",
49
+ variable: "#e6edf3",
50
+ operator: "#ff7b72",
51
+ constant: "#79c0ff",
52
+ tag: "#7ee787",
53
+ attribute: "#79c0ff",
54
+ property: "#79c0ff",
55
+ punctuation: "#c9d1d9",
56
+ background: "#0d1117"
57
+ }
58
+ });
59
+ function syntaxThemeStyle(theme) {
60
+ const style = { "--astryx-code-block-background": theme.tokens.background };
61
+ const channels = theme.tokens.background.replace("#", "");
62
+ const expanded = channels.length === 3 ? channels.split("").map((part) => part + part).join("") : channels;
63
+ const value = Number.parseInt(expanded, 16);
64
+ const red = value >> 16 & 255;
65
+ const green = value >> 8 & 255;
66
+ const blue = value & 255;
67
+ if ((red * 299 + green * 587 + blue * 114) / 1e3 < 140) style["--astryx-code-block-border"] = "rgb(255 255 255 / 12%)";
68
+ for (const [key, color] of Object.entries(theme.tokens)) {
69
+ if (key === "background") continue;
70
+ style[`--astryx-code-syntax-${key}`] = color;
71
+ }
72
+ return style;
73
+ }
74
+ //#endregion
75
+ export { syntaxThemeStyle as i, defineSyntaxTheme as n, githubDark as r, SYNTAX_TOKEN_KEYS as t };