@astryx-vue/core 0.2.2 → 0.2.4

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 (347) hide show
  1. package/THIRD_PARTY_NOTICES.md +4 -0
  2. package/dist/AlertDialog/index.js +1 -1
  3. package/dist/{AlertDialog-ovx4cBjM.js → AlertDialog-B6UeBCE7.js} +2 -2
  4. package/dist/AppShell/index.js +1 -1
  5. package/dist/{AppShell-Cb41gIAj.js → AppShell-CeBmB0Q9.js} +2 -2
  6. package/dist/Avatar/index.d.ts +1 -1
  7. package/dist/Avatar/index.js +1 -1
  8. package/dist/{Avatar-jmHInHwj.js → Avatar-BB4Z4LF1.js} +10 -4
  9. package/dist/AvatarGroup/index.d.ts +1 -1
  10. package/dist/Banner/index.d.ts +1 -1
  11. package/dist/BottomSheet/index.d.ts +2 -2
  12. package/dist/BottomSheet/index.js +3 -2
  13. package/dist/{BottomSheet-Dg95HB1s.js → BottomSheet-BV6vfgGu.js} +82 -22
  14. package/dist/BottomSheet-o7xw-TOi.js +153 -0
  15. package/dist/Breadcrumbs/index.d.ts +3 -2
  16. package/dist/Breadcrumbs/index.js +3 -2
  17. package/dist/{Breadcrumbs-CTQ7fjDn.js → Breadcrumbs-D6G7f5WL.js} +13 -8
  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-DmTeM7PO.js +656 -0
  23. package/dist/Carousel/index.js +1 -1
  24. package/dist/{Carousel-X0cuQkvg.js → Carousel-CIKrcA2r.js} +2 -2
  25. package/dist/Chat/index.d.ts +1 -1
  26. package/dist/Chat/index.js +1 -1
  27. package/dist/{Chat-M0tiGrNT.js → Chat-BFox3u9D.js} +3 -3
  28. package/dist/CheckboxIndicator/index.js +1 -1
  29. package/dist/CheckboxIndicator-D37cm2Rh.js +68 -0
  30. package/dist/CheckboxInput/index.d.ts +1 -1
  31. package/dist/CheckboxInput/index.js +1 -1
  32. package/dist/{CheckboxInput-CMsEE1_4.js → CheckboxInput-25Q8ItH-.js} +10 -9
  33. package/dist/CheckboxList/index.d.ts +1 -1
  34. package/dist/CheckboxList/index.js +1 -1
  35. package/dist/{CheckboxList-BbCPiend.js → CheckboxList-BlPf7vPe.js} +78 -25
  36. package/dist/Citation/index.js +1 -1
  37. package/dist/{Citation-C1veUk5p.js → Citation-BG-vg9ia.js} +2 -2
  38. package/dist/ClickableCard/index.d.ts +1 -1
  39. package/dist/Code/index.d.ts +3 -3
  40. package/dist/Code/index.js +4 -4
  41. package/dist/{Code-yb_KOFtJ.js → Code-XnPuGxey.js} +3 -2
  42. package/dist/{CodeBlock-DesTJAkm.js → CodeBlock-B2pnEOJY.js} +146 -16
  43. package/dist/Collapsible/index.js +1 -1
  44. package/dist/{Collapsible-BestK35V.js → Collapsible-3YerR-FO.js} +1 -1
  45. package/dist/CommandPalette/index.js +1 -1
  46. package/dist/{CommandPalette-BArt97V8.js → CommandPalette-DKgHzmJk.js} +10 -10
  47. package/dist/ComplexSelector/index.d.ts +1 -1
  48. package/dist/ComplexSelector/index.js +1 -1
  49. package/dist/{ComplexSelector-CAoig1RK.js → ComplexSelector-Dv44FFhN.js} +3 -3
  50. package/dist/ContextMenu/index.d.ts +3 -2
  51. package/dist/ContextMenu/index.js +3 -2
  52. package/dist/{ContextMenu-9Im6i43E.js → ContextMenu-BeJO5HYx.js} +206 -423
  53. package/dist/DateInput/index.d.ts +2 -2
  54. package/dist/DateInput/index.js +1 -1
  55. package/dist/DateInput-D4XFAEMp.js +743 -0
  56. package/dist/DateRangeInput/index.d.ts +1 -1
  57. package/dist/DateRangeInput/index.js +1 -1
  58. package/dist/{DateRangeInput-DwDy3eRo.js → DateRangeInput-Cp6AZfew.js} +54 -19
  59. package/dist/DateTimeInput/index.d.ts +1 -1
  60. package/dist/DateTimeInput/index.js +1 -1
  61. package/dist/{DateTimeInput-BYiaC9bn.js → DateTimeInput-B6MPPp76.js} +54 -15
  62. package/dist/Divider/index.d.ts +1 -1
  63. package/dist/DropdownMenu/index.d.ts +3 -3
  64. package/dist/DropdownMenu/index.js +4 -3
  65. package/dist/{DropdownMenu-Dh-WAHKb.js → DropdownMenu--lnUeJEG.js} +309 -64
  66. package/dist/DropdownMenu-6E9jFdFe.js +325 -0
  67. package/dist/DropdownMenuRadioItem.vue-CXEURBcq.d.ts +564 -0
  68. package/dist/EmptyState/index.js +1 -1
  69. package/dist/{EmptyState-CUJdTYKV.js → EmptyState-0RWymQUS.js} +2 -2
  70. package/dist/FileInput/index.d.ts +1 -1
  71. package/dist/FileInput/index.js +1 -1
  72. package/dist/{FileInput-DLO6V12n.js → FileInput-DuNwdbAo.js} +2 -2
  73. package/dist/Grid/index.d.ts +1 -1
  74. package/dist/Heading/index.d.ts +2 -2
  75. package/dist/Heading/index.js +1 -1
  76. package/dist/Heading-B9C3LZlS.js +94 -0
  77. package/dist/Icon/index.d.ts +4 -3
  78. package/dist/Icon/index.js +2 -2
  79. package/dist/{Icon-CJKjdJy-.js → Icon-bteSId7T.js} +113 -18
  80. package/dist/Indicator/index.d.ts +3 -0
  81. package/dist/Indicator/index.js +2 -0
  82. package/dist/InputGroup/index.d.ts +2 -2
  83. package/dist/InputGroup/index.js +3 -2
  84. package/dist/InputGroup-BzR6JRZb.js +129 -0
  85. package/dist/Item-DrYJL1TG.js +590 -0
  86. package/dist/Lightbox/index.js +1 -1
  87. package/dist/{Lightbox-CdFCS_EA.js → Lightbox-Br3o0SyQ.js} +2 -2
  88. package/dist/Link/index.d.ts +3 -2
  89. package/dist/Link/index.js +1 -1
  90. package/dist/Link-DCZ6922-.js +196 -0
  91. package/dist/List/index.d.ts +3 -3
  92. package/dist/List/index.js +2 -2
  93. package/dist/{ListItem-pGxvn6QJ.js → ListItem-CcRHWuEm.js} +8 -2
  94. package/dist/Markdown/index.d.ts +2 -2
  95. package/dist/Markdown/index.js +2 -2
  96. package/dist/{Markdown-BqKloI3w.js → Markdown-Bz0R3kNj.js} +280 -33
  97. package/dist/MetadataList/index.js +1 -1
  98. package/dist/{MetadataList-CvZkmisf.js → MetadataList-CFaocx6j.js} +1 -1
  99. package/dist/MobileNav/index.js +1 -1
  100. package/dist/{MobileNavToggle-Bwi0qXXM.js → MobileNavToggle-Dh3uLivq.js} +1 -1
  101. package/dist/MoreMenu/index.d.ts +1 -1
  102. package/dist/MoreMenu/index.js +1 -1
  103. package/dist/{MoreMenu-BwJaJrkB.js → MoreMenu-B95nRSe8.js} +3 -3
  104. package/dist/MultiSelector/index.d.ts +2 -2
  105. package/dist/MultiSelector/index.js +1 -1
  106. package/dist/{MultiSelector-C-ETfFy_.js → MultiSelector-DuF5TECE.js} +304 -122
  107. package/dist/{NavDisclosure-DHrSNRDR.js → NavDisclosure-C6sPZ89n.js} +5 -2
  108. package/dist/NavHeadingSurface-Cb3x9iDx.js +287 -0
  109. package/dist/NavMenu/index.d.ts +2 -2
  110. package/dist/NavMenu/index.js +4 -3
  111. package/dist/NavMenu-ClIgMaxE.js +176 -0
  112. package/dist/{NavMenuItem-B-k7olt5.js → NavMenuItem-E7S8gBh-.js} +1 -1
  113. package/dist/NumberInput/index.d.ts +1 -1
  114. package/dist/NumberInput/index.js +1 -1
  115. package/dist/{NumberInput-DjetVB8O.js → NumberInput-B4IL3s_8.js} +1 -1
  116. package/dist/Outline/index.js +1 -1
  117. package/dist/{Outline-Bz9c-u5y.js → Outline-DBUuchi9.js} +1 -1
  118. package/dist/OverflowList/index.d.ts +1 -1
  119. package/dist/OverflowList/index.js +1 -1
  120. package/dist/{OverflowList-ED-KN9Y5.js → OverflowList-aDd_oem0.js} +3 -3
  121. package/dist/Pagination/index.d.ts +1 -1
  122. package/dist/Pagination/index.js +1 -1
  123. package/dist/{Pagination-Cb66HMEf.js → Pagination-CNe9F6Fl.js} +181 -45
  124. package/dist/Popover/index.js +1 -1
  125. package/dist/{Popover-Crhk9PNP.js → Popover-D7zqpFwU.js} +1 -1
  126. package/dist/PowerSearch/index.d.ts +1 -1
  127. package/dist/PowerSearch/index.js +1 -1
  128. package/dist/{PowerSearch-CjU8y4mi.js → PowerSearch-C6U8Sq1Y.js} +16 -16
  129. package/dist/ProgressBar/index.d.ts +2 -2
  130. package/dist/ProgressBar/index.js +1 -1
  131. package/dist/{ProgressBar-DO9Chic6.js → ProgressBar-DF6WZNCI.js} +45 -6
  132. package/dist/Radio/index.d.ts +1 -1
  133. package/dist/Radio/index.js +1 -1
  134. package/dist/{RadioGroup-BqjdSCfJ.js → RadioGroup-CBqUPq_L.js} +16 -8
  135. package/dist/RadioList/index.d.ts +1 -1
  136. package/dist/RadioList/index.js +1 -1
  137. package/dist/{RadioList-DI8ujXcT.js → RadioList-CPOJn9Th.js} +1 -1
  138. package/dist/Resizable/index.js +1 -1
  139. package/dist/{Resizable-D-TBCg0Y.js → ResizeHandle-DYy0e3v9.js} +1 -1
  140. package/dist/ScrollableArea/index.d.ts +1 -1
  141. package/dist/SelectableCard/index.d.ts +1 -1
  142. package/dist/Selector/index.d.ts +2 -2
  143. package/dist/Selector/index.js +1 -1
  144. package/dist/Selector-5N-hq2nF.js +618 -0
  145. package/dist/SideNav/index.d.ts +2 -2
  146. package/dist/SideNav/index.js +1 -1
  147. package/dist/{SideNav-DonEfiAx.js → SideNav-CT9lfspi.js} +226 -230
  148. package/dist/Stepper/index.js +1 -1
  149. package/dist/{Stepper-D2ZIcUNx.js → Stepper-BqhVCgC-.js} +1 -1
  150. package/dist/Switch/index.d.ts +1 -1
  151. package/dist/TabList/index.js +1 -1
  152. package/dist/{TabList-D3F-stq-.js → TabList-BlzkrObv.js} +2 -2
  153. package/dist/Table/index.js +1 -1
  154. package/dist/{Table-CrP2Uffq.js → Table-CsdH8fCB.js} +7 -7
  155. package/dist/Text/index.d.ts +3 -3
  156. package/dist/Text/index.js +1 -1
  157. package/dist/Text-DIzZw6FA.js +86 -0
  158. package/dist/TextArea/index.d.ts +1 -1
  159. package/dist/TextInput/index.d.ts +1 -1
  160. package/dist/Theme/index.d.ts +3 -2
  161. package/dist/Theme/index.js +2 -2
  162. package/dist/Theme-CtaUWo4g.js +1246 -0
  163. package/dist/Thumbnail/index.js +1 -1
  164. package/dist/{Thumbnail-BC5JGPGZ.js → Thumbnail-BnQwX1cQ.js} +3 -3
  165. package/dist/{TimeField-DpHFrNv0.js → TimeField-Biiuv0hB.js} +2 -2
  166. package/dist/TimeInput/index.d.ts +1 -1
  167. package/dist/TimeInput/index.js +1 -1
  168. package/dist/{TimeInput-DJLV0_4z.js → TimeInput-C9gptCOK.js} +1 -1
  169. package/dist/Timer/index.d.ts +1 -1
  170. package/dist/Timer/index.js +1 -1
  171. package/dist/{Timer-B7GV6hqd.js → Timer-kxzQx3tp.js} +1 -1
  172. package/dist/Timestamp/index.d.ts +1 -1
  173. package/dist/Timestamp/index.js +1 -1
  174. package/dist/{Timestamp-GKNjjt5g.js → Timestamp-D7bd_nF3.js} +3 -3
  175. package/dist/ToggleButton/index.d.ts +1 -1
  176. package/dist/Token/index.d.ts +1 -1
  177. package/dist/Token/index.js +1 -1
  178. package/dist/{Token-Chu_eCVs.js → Token-D2GsI_Ei.js} +2 -2
  179. package/dist/Tokenizer/index.d.ts +1 -1
  180. package/dist/Tokenizer/index.js +1 -1
  181. package/dist/{Tokenizer-DRDpvQ_l.js → Tokenizer-rwzamZg4.js} +4 -4
  182. package/dist/Toolbar/index.d.ts +1 -1
  183. package/dist/Tooltip/index.d.ts +1 -1
  184. package/dist/Tooltip/index.js +1 -1
  185. package/dist/{Tooltip-mp0NMh_Y.js → Tooltip-C2fh9anJ.js} +23 -8
  186. package/dist/TopNav/index.d.ts +1 -1
  187. package/dist/TopNav/index.js +1 -1
  188. package/dist/{TopNav-CEyWddtA.js → TopNav-arWFLTBM.js} +113 -43
  189. package/dist/TreeList/index.js +1 -1
  190. package/dist/{TreeList-COS8US8e.js → TreeList-C9xvMpJZ.js} +2 -2
  191. package/dist/Typeahead/index.d.ts +2 -2
  192. package/dist/Typeahead/index.js +3 -2
  193. package/dist/Typeahead-_V11btpv.js +499 -0
  194. package/dist/{TypeaheadMenu-CGvo0Tud.js → TypeaheadMenu-BEObzonz.js} +46 -10
  195. package/dist/{context-O2Vb8cJl.js → colorMode-CBgdgDSn.js} +1 -7
  196. package/dist/composables/index.d.ts +2 -2
  197. package/dist/composables/index.js +12 -7
  198. package/dist/composables-CWw6t-RJ.js +520 -0
  199. package/dist/{context-CiKncNSH.js → context-CPh7kE-a.js} +140 -18
  200. package/dist/context-Cws_tXTr.js +7 -0
  201. package/dist/context-D5-MwxnN.js +4 -0
  202. package/dist/{index-CJlBAXwj.d.ts → index-12QYAbiz.d.ts} +41 -4
  203. package/dist/{index-Cs5pcwY3.d.ts → index-6yB8BtEu.d.ts} +3 -3
  204. package/dist/{index-C7mxUcDR.d.ts → index-B4OOtNP8.d.ts} +2 -2
  205. package/dist/index-BBtJt5_A.d.ts +26 -0
  206. package/dist/{index-CRizexSC.d.ts → index-BH9PzQ1F.d.ts} +13 -73
  207. package/dist/index-BPwD6aBv.d.ts +83 -0
  208. package/dist/{index-DOUEn7V0.d.ts → index-BcZI402h.d.ts} +64 -5
  209. package/dist/{index-C8wDPDcP.d.ts → index-Bi49IrAJ.d.ts} +50 -8
  210. package/dist/{index-DimuSES0.d.ts → index-BlOIC_AM.d.ts} +3 -1
  211. package/dist/{index-C5p2NeCr.d.ts → index-Blm197N_.d.ts} +11 -2
  212. package/dist/{index-Bu3oXIIS.d.ts → index-BmmdzwT9.d.ts} +6 -0
  213. package/dist/{index-kVhSuA9t.d.ts → index-BxhJqiZ7.d.ts} +6 -6
  214. package/dist/{index-HV6W3xCx.d.ts → index-Byar3h1e.d.ts} +1 -1
  215. package/dist/{index-qiZtHnGK.d.ts → index-C3GaPqvJ.d.ts} +123 -8
  216. package/dist/{index-D4I_obqR.d.ts → index-CFIXnk5D.d.ts} +1 -1
  217. package/dist/{index-cGagYM1g.d.ts → index-CI9kyg74.d.ts} +11 -1
  218. package/dist/{index-D-ZuubCK.d.ts → index-CUCcYKxl.d.ts} +1 -1
  219. package/dist/{index-DWH_HzXi.d.ts → index-ChWlKHjc.d.ts} +1 -1
  220. package/dist/{index-DGXviOlp.d.ts → index-D-ezcKaY.d.ts} +30 -4
  221. package/dist/{index-Cm_TiLXU.d.ts → index-Dgg0bHVM.d.ts} +7 -3
  222. package/dist/index-DxR1FChm.d.ts +158 -0
  223. package/dist/{index-DNRBbwp_.d.ts → index-EtZgovdH.d.ts} +842 -107
  224. package/dist/{index-BHqRH7QW.d.ts → index-FEy8qFSD.d.ts} +2 -2
  225. package/dist/index-XuAAcYiP.d.ts +77 -0
  226. package/dist/{index-D0TlUOtG.d.ts → index-YmSe1ujk.d.ts} +76 -3
  227. package/dist/{index-BMrggCw-.d.ts → index-bvr3WHvs.d.ts} +1 -1
  228. package/dist/{index-CDDMDHJM.d.ts → index-c67ca7eJ.d.ts} +1 -1
  229. package/dist/{index-c_TaW8mM.d.ts → index-cL3q7O4R.d.ts} +31 -2
  230. package/dist/{index-CGZ2xi3r.d.ts → index-eshFLli0.d.ts} +40 -3
  231. package/dist/{index-DsyKhauk.d.ts → index-hCpxKePE.d.ts} +48 -2
  232. package/dist/{index-u5ozu0G7.d.ts → index-vP0EtrJJ.d.ts} +13 -3
  233. package/dist/{index-B1TG2GPS.d.ts → index-vizlhXVs.d.ts} +246 -45
  234. package/dist/{index-DfgHJE7H.d.ts → index-z3uLM1O6.d.ts} +153 -24
  235. package/dist/index.d.ts +82 -80
  236. package/dist/index.js +127 -116
  237. package/dist/locale/index.d.ts +2 -2
  238. package/dist/locale/index.js +3 -3
  239. package/dist/locale-sLw5Caia.js +917 -0
  240. package/dist/searchResultMessage-CCnq-_ce.js +94 -0
  241. package/dist/semantic-CKH9XVqa.d.ts +54 -0
  242. package/dist/syntaxTheme-CwVEcVDk.d.ts +57 -0
  243. package/dist/{syntaxTheme-ClpWALZX.js → syntaxTheme-R7xnu5x5.js} +24 -3
  244. package/dist/{types-pnljWjEE.d.ts → types-CwyibrRB.d.ts} +12 -11
  245. package/dist/{types-Bt-lSgYX.d.ts → types-D9nP_X-c.d.ts} +14 -1
  246. package/dist/{types-CAZY4Xua.d.ts → types-DGYHIu4I.d.ts} +30 -1
  247. package/dist/types-D_J66aPN.d.ts +85 -0
  248. package/dist/types-gKsEkk2g.d.ts +320 -0
  249. package/dist/{useAnchoredListbox-7W90Ny-9.js → useAnchoredListbox-BN9LQnon.js} +1 -1
  250. package/dist/useDatePresentation-C07PnOCw.js +21 -0
  251. package/dist/{useMonthGrid-CmJsZTcB.js → useDateRange-CIXoE_8k.js} +1 -42
  252. package/dist/useDisclosureHandle-Df3HhAfC.js +24 -0
  253. package/dist/{useDismiss-CAiHU6QD.js → useDismiss-Cj8x_51F.js} +8 -4
  254. package/dist/useFieldControlState-voICDrys.js +18 -0
  255. package/dist/useHandleRef-6cdKugm8.js +17 -0
  256. package/dist/useIndicator-i1NORM7W.js +147 -0
  257. package/dist/useMenuDrillIn-BgjJcY3K.js +520 -0
  258. package/dist/useMenuPress-DUmEy4TB.js +425 -0
  259. package/dist/useMonthGrid-fGHSSrFc.js +43 -0
  260. package/dist/usePendingChange-ib-h8FZK.js +25 -0
  261. package/dist/{composables-CVfjp9h4.js → useResizable-B3ahKLoZ.js} +74 -152
  262. package/dist/useSubmenuMode-CZN9qrUo.js +37 -0
  263. package/dist/useTruncation-B5qXQzAP.js +53 -0
  264. package/locales/SOURCE.json +37 -0
  265. package/locales/af-ZA.json +1482 -0
  266. package/locales/ar-SA.json +1482 -0
  267. package/locales/ca-ES.json +1482 -0
  268. package/locales/cs-CZ.json +1482 -0
  269. package/locales/da-DK.json +1482 -0
  270. package/locales/de-DE.json +1482 -0
  271. package/locales/el-GR.json +1482 -0
  272. package/locales/en.json +1646 -0
  273. package/locales/es-ES.json +1482 -0
  274. package/locales/fi-FI.json +1482 -0
  275. package/locales/fr-FR.json +1482 -0
  276. package/locales/he-IL.json +1482 -0
  277. package/locales/hu-HU.json +1482 -0
  278. package/locales/it-IT.json +1482 -0
  279. package/locales/ja-JP.json +1482 -0
  280. package/locales/ko-KR.json +1482 -0
  281. package/locales/nl-NL.json +1482 -0
  282. package/locales/no-NO.json +1482 -0
  283. package/locales/pl-PL.json +1482 -0
  284. package/locales/pt-BR.json +1482 -0
  285. package/locales/pt-PT.json +1482 -0
  286. package/locales/ro-RO.json +1482 -0
  287. package/locales/ru-RU.json +1482 -0
  288. package/locales/sr-SP.json +1482 -0
  289. package/locales/sv-SE.json +1482 -0
  290. package/locales/tr-TR.json +1482 -0
  291. package/locales/uk-UA.json +1482 -0
  292. package/locales/vi-VN.json +1482 -0
  293. package/locales/zh-CN.json +1482 -0
  294. package/locales/zh-TW.json +1482 -0
  295. package/package.json +7 -1
  296. package/styles/bottom-sheet.css +27 -0
  297. package/styles/calendar.css +38 -3
  298. package/styles/check-indicator.css +17 -0
  299. package/styles/checkbox-indicator.css +29 -10
  300. package/styles/checkbox-input.css +0 -11
  301. package/styles/code.css +62 -0
  302. package/styles/container-reveal.css +104 -0
  303. package/styles/date-input.css +48 -0
  304. package/styles/dropdown-menu.css +163 -0
  305. package/styles/field.css +48 -0
  306. package/styles/heading.css +47 -0
  307. package/styles/icon.css +51 -3
  308. package/styles/input-group.css +32 -3
  309. package/styles/keyboard-hint.css +28 -0
  310. package/styles/link.css +34 -0
  311. package/styles/list.css +88 -1
  312. package/styles/markdown.css +12 -0
  313. package/styles/multi-selector.css +26 -0
  314. package/styles/pagination.css +30 -0
  315. package/styles/progress-bar.css +49 -0
  316. package/styles/radio-indicator.css +90 -0
  317. package/styles/radio.css +9 -42
  318. package/styles/selector.css +112 -14
  319. package/styles/side-nav.css +36 -1
  320. package/styles/text.css +18 -0
  321. package/styles/top-nav.css +145 -6
  322. package/styles/typeahead.css +24 -0
  323. package/styles.css +4 -0
  324. package/dist/Calendar-BFaI5AMv.js +0 -352
  325. package/dist/CheckboxIndicator-DdJmksHt.js +0 -52
  326. package/dist/DateInput-BLocxqC3.js +0 -376
  327. package/dist/DropdownMenu-Ddfr-aEC.js +0 -164
  328. package/dist/Heading-Dugosn6j.js +0 -43
  329. package/dist/InputGroup-ChrFVxzV.js +0 -42
  330. package/dist/Item-C1z6gXn8.js +0 -289
  331. package/dist/Link-DqdQZ37C.js +0 -141
  332. package/dist/Selector-DE2IEFML.js +0 -468
  333. package/dist/Text-BHVghsWo.js +0 -53
  334. package/dist/Theme-BuUiiJNr.js +0 -429
  335. package/dist/Typeahead-P7cCqtaQ.js +0 -375
  336. package/dist/index-Bgv4ZmBl.d.ts +0 -72
  337. package/dist/index-DN7MXPHM.d.ts +0 -398
  338. package/dist/index-Dg3ZmwEg.d.ts +0 -75
  339. package/dist/index-IbUN4M8V.d.ts +0 -40
  340. package/dist/index-jdjcb3Js.d.ts +0 -80
  341. package/dist/locale-Cpk_nrLA.js +0 -18
  342. package/dist/syntaxTheme-Bcs1YMF7.d.ts +0 -38
  343. package/dist/types-DDAAT1Xd.d.ts +0 -285
  344. package/dist/useGridRovingFocus-DQQAOYH5.js +0 -99
  345. package/dist/useHotkeys-dABSK1o9.js +0 -80
  346. package/dist/useLongPress-Cyxwa73s.js +0 -60
  347. package/dist/{index-BUXNRekN.d.ts → index-IdK2g5B4.d.ts} +2 -2
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Thumbnail-BC5JGPGZ.js";
1
+ import { t as _sfc_main } from "../Thumbnail-BnQwX1cQ.js";
2
2
  export { _sfc_main as Thumbnail };
@@ -1,7 +1,7 @@
1
- import { a as useAstryxMessages } from "./context-CiKncNSH.js";
2
- import { t as _sfc_main$1 } from "./Tooltip-mp0NMh_Y.js";
1
+ import { o as useAstryxMessages } from "./context-CPh7kE-a.js";
2
+ import { t as _sfc_main$1 } from "./Tooltip-C2fh9anJ.js";
3
3
  import { t as _sfc_main$2 } from "./IconButton-BNQuz9W_.js";
4
- import { t as _sfc_main$3 } from "./Icon-CJKjdJy-.js";
4
+ import { t as _sfc_main$3 } from "./Icon-bteSId7T.js";
5
5
  import { t as _sfc_main$4 } from "./Spinner-9cYUCnDy.js";
6
6
  import { t as _sfc_main$5 } from "./Skeleton-CrgWxJgr.js";
7
7
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, normalizeClass, normalizeStyle, openBlock, ref, unref, watch, withCtx } from "vue";
@@ -1,8 +1,8 @@
1
1
  import { c as useCoarsePointer, i as parseDisplayTime, o as resolveTimeSurface, r as isTimeInRange, s as shiftTime, t as formatDisplayTime } from "./useTimeValue-DWk6oTAZ.js";
2
- import { a as useAstryxMessages } from "./context-CiKncNSH.js";
2
+ import { o as useAstryxMessages } from "./context-CPh7kE-a.js";
3
3
  import { t as _sfc_main$1 } from "./FieldIcon--NTgW5IU.js";
4
4
  import { t as _sfc_main$2 } from "./IconButton-BNQuz9W_.js";
5
- import { t as _sfc_main$3 } from "./Icon-CJKjdJy-.js";
5
+ import { t as _sfc_main$3 } from "./Icon-bteSId7T.js";
6
6
  import { computed, createBlock, createCommentVNode, createElementBlock, createVNode, defineComponent, mergeModels, openBlock, shallowRef, useModel, watch, withCtx } from "vue";
7
7
  import "../styles/bordered-control.css";
8
8
  import "../styles/time-input.css";
@@ -1,2 +1,2 @@
1
- import { at as TimeInputProps, it as TimeInputEmits, ot as TimeInputSize, rt as _default } from "../index-DNRBbwp_.js";
1
+ import { at as TimeInputProps, it as TimeInputEmits, ot as TimeInputSize, rt as _default } from "../index-EtZgovdH.js";
2
2
  export { _default as TimeInput, type TimeInputEmits, type TimeInputProps, type TimeInputSize };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../TimeInput-DJLV0_4z.js";
1
+ import { t as _sfc_main } from "../TimeInput-C9gptCOK.js";
2
2
  export { _sfc_main as TimeInput };
@@ -1,5 +1,5 @@
1
1
  import { t as _sfc_main$1 } from "./Field-8zRxzDHE.js";
2
- import { t as _sfc_main$2 } from "./TimeField-DpHFrNv0.js";
2
+ import { t as _sfc_main$2 } from "./TimeField-Biiuv0hB.js";
3
3
  import { computed, createBlock, createVNode, defineComponent, mergeModels, openBlock, useId, useModel, withCtx } from "vue";
4
4
  //#region src/TimeInput/TimeInput.vue
5
5
  const _sfc_main = /*@__PURE__*/ defineComponent({
@@ -1,2 +1,2 @@
1
- import { a as TimerFormat, i as TimerType, n as TimerColor, o as TimerPresentation, r as TimerProps, s as getPresentation, t as _default } from "../index-BMrggCw-.js";
1
+ import { a as TimerFormat, i as TimerType, n as TimerColor, o as TimerPresentation, r as TimerProps, s as getPresentation, t as _default } from "../index-bvr3WHvs.js";
2
2
  export { _default as Timer, type TimerColor, type TimerFormat, type TimerPresentation, type TimerProps, type TimerType, getPresentation };
@@ -1,2 +1,2 @@
1
- import { n as getPresentation, t as _sfc_main } from "../Timer-B7GV6hqd.js";
1
+ import { n as getPresentation, t as _sfc_main } from "../Timer-kxzQx3tp.js";
2
2
  export { _sfc_main as Timer, getPresentation };
@@ -1,4 +1,4 @@
1
- import { t as _sfc_main$1 } from "./Text-BHVghsWo.js";
1
+ import { t as _sfc_main$1 } from "./Text-DIzZw6FA.js";
2
2
  import { computed, createBlock, createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, useTemplateRef, watch, withCtx } from "vue";
3
3
  import "../styles/timer.css";
4
4
  //#region src/Timer/format.ts
@@ -1,2 +1,2 @@
1
- import { $ as formatRelativeTime, G as _default, J as TimestampProps, K as TimestampColor, Q as formatTooltipLines, X as TimestampTooltipFormat, Y as TimestampTooltipEntry, Z as TimestampTooltipLine, et as FormatInstantOptions, nt as formatInstant, q as TimestampFormat, tt as InstantFormat } from "../index-DNRBbwp_.js";
1
+ import { $ as formatRelativeTime, G as _default, J as TimestampProps, K as TimestampColor, Q as formatTooltipLines, X as TimestampTooltipFormat, Y as TimestampTooltipEntry, Z as TimestampTooltipLine, et as FormatInstantOptions, nt as formatInstant, q as TimestampFormat, tt as InstantFormat } from "../index-EtZgovdH.js";
2
2
  export { type FormatInstantOptions, type InstantFormat, _default as Timestamp, type TimestampColor, type TimestampFormat, type TimestampProps, type TimestampTooltipEntry, type TimestampTooltipFormat, type TimestampTooltipLine, formatInstant, formatRelativeTime, formatTooltipLines };
@@ -1,3 +1,3 @@
1
1
  import { t as formatInstant } from "../formatInstant-BDWUIxS7.js";
2
- import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main } from "../Timestamp-GKNjjt5g.js";
2
+ import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main } from "../Timestamp-D7bd_nF3.js";
3
3
  export { _sfc_main as Timestamp, formatInstant, formatRelativeTime, formatTooltipLines };
@@ -1,7 +1,7 @@
1
- import { t as _sfc_main$2 } from "./Text-BHVghsWo.js";
2
- import { a as useAstryxMessages, i as useAstryxLocale } from "./context-CiKncNSH.js";
1
+ import { a as useAstryxLocale, o as useAstryxMessages } from "./context-CPh7kE-a.js";
2
+ import { t as _sfc_main$2 } from "./Text-DIzZw6FA.js";
3
3
  import { t as _sfc_main$3 } from "./IconButton-BNQuz9W_.js";
4
- import { t as _sfc_main$4 } from "./Icon-CJKjdJy-.js";
4
+ import { t as _sfc_main$4 } from "./Icon-bteSId7T.js";
5
5
  import { t as _sfc_main$5 } from "./HoverCard-EhbWaGOW.js";
6
6
  import { t as formatInstant } from "./formatInstant-BDWUIxS7.js";
7
7
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, onBeforeUnmount, openBlock, ref, renderList, renderSlot, toDisplayString, unref, watch, withCtx } from "vue";
@@ -1,2 +1,2 @@
1
- import { A as ToggleButtonElevation, B as ToggleButtonGroupValue, D as _default$1, F as ToggleButtonGroupOrientation, H as ToggleButtonProps, I as ToggleButtonGroupProps, L as ToggleButtonGroupSingleProps, M as ToggleButtonGroupBaseProps, N as ToggleButtonGroupEmits, O as _default, P as ToggleButtonGroupMultipleProps, R as ToggleButtonGroupSlots, U as ToggleButtonSize, V as ToggleButtonPressedChangeHandler, W as ToggleButtonSlots, j as ToggleButtonEmits, k as ToggleButtonChangeAction, z as ToggleButtonGroupType } from "../index-DNRBbwp_.js";
1
+ import { A as ToggleButtonElevation, B as ToggleButtonGroupValue, D as _default$1, F as ToggleButtonGroupOrientation, H as ToggleButtonProps, I as ToggleButtonGroupProps, L as ToggleButtonGroupSingleProps, M as ToggleButtonGroupBaseProps, N as ToggleButtonGroupEmits, O as _default, P as ToggleButtonGroupMultipleProps, R as ToggleButtonGroupSlots, U as ToggleButtonSize, V as ToggleButtonPressedChangeHandler, W as ToggleButtonSlots, j as ToggleButtonEmits, k as ToggleButtonChangeAction, z as ToggleButtonGroupType } from "../index-EtZgovdH.js";
2
2
  export { _default as ToggleButton, _default as default, type ToggleButtonChangeAction, type ToggleButtonElevation, type ToggleButtonEmits, _default$1 as ToggleButtonGroup, type ToggleButtonGroupBaseProps, type ToggleButtonGroupEmits, type ToggleButtonGroupMultipleProps, type ToggleButtonGroupOrientation, type ToggleButtonGroupProps, type ToggleButtonGroupSingleProps, type ToggleButtonGroupSlots, type ToggleButtonGroupType, type ToggleButtonGroupValue, type ToggleButtonPressedChangeHandler, type ToggleButtonProps, type ToggleButtonSize, type ToggleButtonSlots };
@@ -1,2 +1,2 @@
1
- import { a as TokenProps, i as TokenEmits, n as TOKEN_COLORS, o as TokenSize, r as TokenColor, s as TokenSlots, t as _default } from "../index-BUXNRekN.js";
1
+ import { a as TokenProps, i as TokenEmits, n as TOKEN_COLORS, o as TokenSize, r as TokenColor, s as TokenSlots, t as _default } from "../index-IdK2g5B4.js";
2
2
  export { TOKEN_COLORS, _default as Token, type TokenColor, type TokenEmits, type TokenProps, type TokenSize, type TokenSlots };
@@ -1,3 +1,3 @@
1
- import { t as _sfc_main } from "../Token-Chu_eCVs.js";
1
+ import { t as _sfc_main } from "../Token-D2GsI_Ei.js";
2
2
  import { t as TOKEN_COLORS } from "../Token-BdRzlXzm.js";
3
3
  export { TOKEN_COLORS, _sfc_main as Token };
@@ -1,7 +1,7 @@
1
- import { a as useAstryxMessages } from "./context-CiKncNSH.js";
1
+ import { o as useAstryxMessages } from "./context-CPh7kE-a.js";
2
2
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeProps, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, useAttrs, withCtx } from "vue";
3
- import "../styles/token.css";
4
3
  import "../styles/visually-hidden-utility.css";
4
+ import "../styles/token.css";
5
5
  //#region src/Token/Token.vue
6
6
  const _hoisted_1 = {
7
7
  key: 0,
@@ -1,2 +1,2 @@
1
- import { a as TokenizerProps, c as TokenizerStatus, i as TokenizerOverflow, n as TokenizerChange, o as TokenizerSize, r as TokenizerEmits, s as TokenizerSlots, t as _default } from "../index-BHqRH7QW.js";
1
+ import { a as TokenizerProps, c as TokenizerStatus, i as TokenizerOverflow, n as TokenizerChange, o as TokenizerSize, r as TokenizerEmits, s as TokenizerSlots, t as _default } from "../index-FEy8qFSD.js";
2
2
  export { _default as Tokenizer, type TokenizerChange, type TokenizerEmits, type TokenizerOverflow, type TokenizerProps, type TokenizerSize, type TokenizerSlots, type TokenizerStatus };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Tokenizer-DRDpvQ_l.js";
1
+ import { t as _sfc_main } from "../Tokenizer-rwzamZg4.js";
2
2
  export { _sfc_main as Tokenizer };
@@ -1,10 +1,10 @@
1
1
  import { t as useAnnounce } from "./announce-Cnio10Wk.js";
2
+ import { o as useAstryxMessages } from "./context-CPh7kE-a.js";
2
3
  import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
3
- import { a as useAstryxMessages } from "./context-CiKncNSH.js";
4
4
  import { t as _sfc_main$1 } from "./Field-8zRxzDHE.js";
5
- import { t as _sfc_main$2 } from "./Token-Chu_eCVs.js";
6
- import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-7W90Ny-9.js";
7
- import { n as useTypeaheadMenu, t as _sfc_main$3 } from "./TypeaheadMenu-CGvo0Tud.js";
5
+ import { t as _sfc_main$2 } from "./Token-D2GsI_Ei.js";
6
+ import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-BN9LQnon.js";
7
+ import { r as useTypeaheadMenu, t as _sfc_main$3 } from "./TypeaheadMenu-BEObzonz.js";
8
8
  import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useId, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
9
9
  import "../styles/visually-hidden-utility.css";
10
10
  import "../styles/typeahead.css";
@@ -1,2 +1,2 @@
1
- import { C as _default, E as ToolbarSize, T as ToolbarProps, w as ToolbarOrientation } from "../index-DNRBbwp_.js";
1
+ import { C as _default, E as ToolbarSize, T as ToolbarProps, w as ToolbarOrientation } from "../index-EtZgovdH.js";
2
2
  export { _default as Toolbar, type ToolbarOrientation, type ToolbarProps, type ToolbarSize };
@@ -1,2 +1,2 @@
1
- import { a as TooltipProps, i as TooltipPlacement, n as TooltipAlignment, o as TooltipTouchTrigger, r as TooltipFocusTrigger, t as _default } from "../index-C5p2NeCr.js";
1
+ import { a as TooltipProps, i as TooltipPlacement, n as TooltipAlignment, o as TooltipTouchTrigger, r as TooltipFocusTrigger, t as _default } from "../index-Blm197N_.js";
2
2
  export { _default as Tooltip, type TooltipAlignment, type TooltipFocusTrigger, type TooltipPlacement, type TooltipProps, type TooltipTouchTrigger };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Tooltip-mp0NMh_Y.js";
1
+ import { t as _sfc_main } from "../Tooltip-C2fh9anJ.js";
2
2
  export { _sfc_main as Tooltip };
@@ -1,6 +1,6 @@
1
1
  import { r as isFocusable } from "./focus-CpficIgf.js";
2
2
  import { t as usePositionedLayer } from "./usePositionedLayer-C1NBOsVT.js";
3
- import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onUpdated, openBlock, ref, renderSlot, toDisplayString, unref, useId, vShow, watch, withDirectives } from "vue";
3
+ import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, getCurrentInstance, mergeProps, normalizeStyle, onBeforeUnmount, onMounted, onUpdated, openBlock, ref, renderSlot, toDisplayString, unref, useAttrs, useId, vShow, watch, withDirectives } from "vue";
4
4
  import "../styles/tooltip.css";
5
5
  //#region src/Tooltip/Tooltip.vue
6
6
  const _hoisted_1 = ["data-placement"];
@@ -8,6 +8,7 @@ const HOVER_BRIDGE_DELAY = 100;
8
8
  const GAP = 4;
9
9
  const _sfc_main = /*@__PURE__*/ defineComponent({
10
10
  name: "AstryxTooltip",
11
+ inheritAttrs: false,
11
12
  __name: "Tooltip",
12
13
  props: {
13
14
  content: { default: "" },
@@ -32,12 +33,18 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
32
33
  isDefaultOpen: {
33
34
  type: Boolean,
34
35
  default: false
36
+ },
37
+ anchorsOnSelf: {
38
+ type: Boolean,
39
+ default: false
35
40
  }
36
41
  },
37
42
  emits: ["openChange"],
38
43
  setup(__props, { emit: __emit }) {
39
44
  const props = __props;
40
45
  const emit = __emit;
46
+ const attrs = useAttrs();
47
+ const instance = getCurrentInstance();
41
48
  const ACTION_TAGS = [
42
49
  "A",
43
50
  "BUTTON",
@@ -165,6 +172,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
165
172
  function resolveTrigger() {
166
173
  const wrapper = wrapperRef.value;
167
174
  if (!wrapper) return null;
175
+ if (props.anchorsOnSelf) {
176
+ isTextTrigger.value = false;
177
+ return wrapper;
178
+ }
168
179
  const child = wrapper.firstElementChild;
169
180
  isTextTrigger.value = child == null && (wrapper.textContent ?? "").trim() !== "";
170
181
  if (child) return child;
@@ -175,6 +186,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
175
186
  return null;
176
187
  }
177
188
  function bindTrigger() {
189
+ if (props.anchorsOnSelf) {
190
+ const el = instance?.vnode.el;
191
+ wrapperRef.value = el instanceof HTMLElement ? el : null;
192
+ }
178
193
  const next = resolveTrigger();
179
194
  if (next === trigger) return;
180
195
  unbindTrigger();
@@ -231,14 +246,14 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
231
246
  document.removeEventListener("keydown", onKeydown);
232
247
  });
233
248
  return (_ctx, _cache) => {
234
- return openBlock(), createElementBlock(Fragment, null, [createElementVNode("span", {
249
+ return openBlock(), createElementBlock(Fragment, null, [!__props.anchorsOnSelf ? (openBlock(), createElementBlock("span", mergeProps({
250
+ key: 0,
235
251
  ref_key: "wrapperRef",
236
- ref: wrapperRef,
237
- class: normalizeClass(["astryx-tooltip-trigger", {
238
- "astryx-tooltip-trigger--text": isTextTrigger.value,
239
- "astryx-tooltip-trigger--indicated": showIndication.value
240
- }])
241
- }, [renderSlot(_ctx.$slots, "default")], 2), (openBlock(), createBlock(Teleport, { to: "body" }, [createCommentVNode(" eslint-disable-next-line vue-a11y/mouse-events-have-key-events, vue-a11y/no-static-element-interactions -- 气泡上的鼠标事件仅用于指针移入气泡时保持显示;键盘焦点由触发元素的 focusin / focusout 处理。 "), withDirectives(createElementVNode("div", {
252
+ ref: wrapperRef
253
+ }, unref(attrs), { class: ["astryx-tooltip-trigger", {
254
+ "astryx-tooltip-trigger--text": isTextTrigger.value,
255
+ "astryx-tooltip-trigger--indicated": showIndication.value
256
+ }] }), [renderSlot(_ctx.$slots, "default")], 16)) : renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 1), (openBlock(), createBlock(Teleport, { to: "body" }, [createCommentVNode(" eslint-disable-next-line vue-a11y/mouse-events-have-key-events, vue-a11y/no-static-element-interactions -- 气泡上的鼠标事件仅用于指针移入气泡时保持显示;键盘焦点由触发元素的 focusin / focusout 处理。 "), withDirectives(createElementVNode("div", {
242
257
  id: tooltipId,
243
258
  ref_key: "bubbleRef",
244
259
  ref: bubbleRef,
@@ -1,2 +1,2 @@
1
- import { S as TopNavProps, _ as TopNavMegaMenuItemProps, a as _default$6, b as TopNavMenuItem, c as _default$3, d as _default, f as TopNavHeadingProps, g as TopNavMegaMenuFeaturedCardProps, h as TopNavMegaMenuEmits, l as _default$2, m as TopNavItemProps, o as _default$5, p as TopNavItemEmits, s as _default$4, u as _default$1, v as TopNavMegaMenuProps, x as TopNavMenuProps, y as TopNavMenuEmits } from "../index-DNRBbwp_.js";
1
+ import { S as TopNavProps, _ as TopNavMegaMenuItemProps, a as _default$6, b as TopNavMenuItem, c as _default$3, d as _default, f as TopNavHeadingProps, g as TopNavMegaMenuFeaturedCardProps, h as TopNavMegaMenuEmits, l as _default$2, m as TopNavItemProps, o as _default$5, p as TopNavItemEmits, s as _default$4, u as _default$1, v as TopNavMegaMenuProps, x as TopNavMenuProps, y as TopNavMenuEmits } from "../index-EtZgovdH.js";
2
2
  export { _default as TopNav, _default$1 as TopNavHeading, type TopNavHeadingProps, _default$2 as TopNavItem, type TopNavItemEmits, type TopNavItemProps, _default$3 as TopNavMegaMenu, type TopNavMegaMenuEmits, _default$4 as TopNavMegaMenuFeaturedCard, type TopNavMegaMenuFeaturedCardProps, _default$5 as TopNavMegaMenuItem, type TopNavMegaMenuItemProps, type TopNavMegaMenuProps, _default$6 as TopNavMenu, type TopNavMenuEmits, type TopNavMenuItem, type TopNavMenuProps, type TopNavProps };
@@ -1,2 +1,2 @@
1
- import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-CEyWddtA.js";
1
+ import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-arWFLTBM.js";
2
2
  export { _sfc_main as TopNav, _sfc_main$1 as TopNavHeading, _sfc_main$2 as TopNavItem, _sfc_main$3 as TopNavMegaMenu, _sfc_main$4 as TopNavMegaMenuFeaturedCard, _sfc_main$5 as TopNavMegaMenuItem, _sfc_main$6 as TopNavMenu };
@@ -1,23 +1,24 @@
1
1
  import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
2
2
  import { n as useAppShellMobile } from "./useAppShellMobile-DTsyuAJ4.js";
3
+ import { o as useAstryxMessages } from "./context-CPh7kE-a.js";
3
4
  import { t as useListFocus } from "./useListFocus-D0iOJl39.js";
4
- import { a as useAstryxMessages } from "./context-CiKncNSH.js";
5
- import { n as _sfc_main$8, r as mobileNavKey, t as _sfc_main$7 } from "./MobileNavToggle-Bwi0qXXM.js";
6
- import { t as _sfc_main$9 } from "./Icon-CJKjdJy-.js";
5
+ import { n as _sfc_main$8, r as mobileNavKey, t as _sfc_main$7 } from "./MobileNavToggle-Dh3uLivq.js";
6
+ import { t as _sfc_main$9 } from "./Icon-bteSId7T.js";
7
7
  import { n as resolveNavRoot } from "./link-CdcUSxAj.js";
8
8
  import { t as _sfc_main$10 } from "./NavItem-FFOisITc.js";
9
- import { n as navMenuCloseKey, t as _sfc_main$11 } from "./NavDisclosure-DHrSNRDR.js";
10
- import { n as _sfc_main$13, t as _sfc_main$12 } from "./NavMenuItem-B-k7olt5.js";
11
- import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, inject, normalizeClass, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, vShow, withCtx, withDirectives } from "vue";
9
+ import { n as navMenuCloseKey, t as _sfc_main$11 } from "./NavDisclosure-C6sPZ89n.js";
10
+ import { n as _sfc_main$13, t as _sfc_main$12 } from "./NavMenuItem-E7S8gBh-.js";
11
+ import { t as _sfc_main$14 } from "./NavHeadingSurface-Cb3x9iDx.js";
12
+ import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, normalizeClass, normalizeProps, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, vShow, withCtx, withDirectives, withModifiers } from "vue";
12
13
  import "../styles/top-nav.css";
13
14
  //#region src/TopNav/TopNav.vue
14
- const _hoisted_1$5 = ["aria-label"];
15
- const _hoisted_2$5 = { class: "astryx-top-nav__start" };
16
- const _hoisted_3$3 = {
15
+ const _hoisted_1$4 = ["aria-label"];
16
+ const _hoisted_2$4 = { class: "astryx-top-nav__start" };
17
+ const _hoisted_3$4 = {
17
18
  key: 0,
18
19
  class: "astryx-top-nav__heading"
19
20
  };
20
- const _hoisted_4$3 = {
21
+ const _hoisted_4$4 = {
21
22
  key: 1,
22
23
  class: "astryx-top-nav__items"
23
24
  };
@@ -60,7 +61,7 @@ const _sfc_main$6 = /*@__PURE__*/ defineComponent({
60
61
  class: normalizeClass(["astryx-top-nav", { "astryx-top-nav--centered": hasCenter.value && !isCompact.value }]),
61
62
  "aria-label": label.value
62
63
  }, [
63
- createElementVNode("div", _hoisted_2$5, [unref(slots).heading ? (openBlock(), createElementBlock("div", _hoisted_3$3, [renderSlot(_ctx.$slots, "heading")])) : createCommentVNode("v-if", true), !isCompact.value ? (openBlock(), createElementBlock("div", _hoisted_4$3, [renderSlot(_ctx.$slots, "start"), renderSlot(_ctx.$slots, "default")])) : createCommentVNode("v-if", true)]),
64
+ createElementVNode("div", _hoisted_2$4, [unref(slots).heading ? (openBlock(), createElementBlock("div", _hoisted_3$4, [renderSlot(_ctx.$slots, "heading")])) : createCommentVNode("v-if", true), !isCompact.value ? (openBlock(), createElementBlock("div", _hoisted_4$4, [renderSlot(_ctx.$slots, "start"), renderSlot(_ctx.$slots, "default")])) : createCommentVNode("v-if", true)]),
64
65
  hasCenter.value && !isCompact.value ? (openBlock(), createElementBlock("div", _hoisted_5$1, [renderSlot(_ctx.$slots, "center")])) : createCommentVNode("v-if", true),
65
66
  createElementVNode("div", _hoisted_6$1, [renderSlot(_ctx.$slots, "end"), showShellToggle.value ? (openBlock(), createBlock(_sfc_main$7, {
66
67
  key: 0,
@@ -73,7 +74,7 @@ const _sfc_main$6 = /*@__PURE__*/ defineComponent({
73
74
  "onUpdate:isOpen": _cache[0] || (_cache[0] = ($event) => mobileOpen.value = $event),
74
75
  controls: drawerId
75
76
  }, null, 8, ["is-open"])) : createCommentVNode("v-if", true)])
76
- ], 10, _hoisted_1$5),
77
+ ], 10, _hoisted_1$4),
77
78
  shellCompact.value && hasDrawer.value ? (openBlock(), createBlock(Teleport, {
78
79
  key: 0,
79
80
  to: `#${unref(shell).mobileNavId}-items`
@@ -102,31 +103,61 @@ const _sfc_main$6 = /*@__PURE__*/ defineComponent({
102
103
  });
103
104
  //#endregion
104
105
  //#region src/TopNav/TopNavHeading.vue
105
- const _hoisted_1$4 = {
106
- key: 0,
107
- class: "astryx-top-nav-heading__icon"
108
- };
109
- const _hoisted_2$4 = { class: "astryx-top-nav-heading__title" };
110
106
  const _sfc_main$5 = /*@__PURE__*/ defineComponent({
111
107
  name: "AstryxTopNavHeading",
112
108
  __name: "TopNavHeading",
113
109
  props: {
114
110
  heading: {},
115
111
  href: {},
112
+ headingHref: {},
113
+ superheading: {},
114
+ superheadingHref: {},
115
+ subheading: {},
116
+ subheadingHref: {},
117
+ logoLabel: {},
116
118
  as: {}
117
119
  },
118
120
  setup(__props) {
119
121
  const props = __props;
120
- const root = computed(() => props.href ? resolveNavRoot(props.href, false, props.as) : "div");
122
+ const slots = useSlots();
123
+ const headingHref = computed(() => props.headingHref ?? props.href);
121
124
  return (_ctx, _cache) => {
122
- return openBlock(), createBlock(resolveDynamicComponent(root.value), {
123
- class: "astryx-top-nav-heading",
124
- href: __props.href ? __props.href : void 0,
125
- to: __props.href && __props.as != null ? __props.href : void 0
126
- }, {
127
- default: withCtx(() => [_ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_1$4, [renderSlot(_ctx.$slots, "icon")])) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_2$4, toDisplayString(__props.heading), 1)]),
128
- _: 3
129
- }, 8, ["href", "to"]);
125
+ return openBlock(), createBlock(_sfc_main$14, {
126
+ kind: "top",
127
+ as: __props.as,
128
+ heading: __props.heading,
129
+ "heading-href": headingHref.value,
130
+ "logo-label": __props.logoLabel,
131
+ subheading: __props.subheading,
132
+ "subheading-href": __props.subheadingHref,
133
+ superheading: __props.superheading,
134
+ "superheading-href": __props.superheadingHref
135
+ }, createSlots({ _: 2 }, [
136
+ unref(slots).logo || unref(slots).icon ? {
137
+ name: "icon",
138
+ fn: withCtx(() => [renderSlot(_ctx.$slots, "logo"), !unref(slots).logo ? renderSlot(_ctx.$slots, "icon", {}, void 0, void 0, 0) : createCommentVNode("v-if", true)]),
139
+ key: "0"
140
+ } : void 0,
141
+ unref(slots).end ? {
142
+ name: "end",
143
+ fn: withCtx(() => [renderSlot(_ctx.$slots, "end")]),
144
+ key: "1"
145
+ } : void 0,
146
+ unref(slots).menu ? {
147
+ name: "menu",
148
+ fn: withCtx((scope) => [renderSlot(_ctx.$slots, "menu", normalizeProps(guardReactiveProps(scope)))]),
149
+ key: "2"
150
+ } : void 0
151
+ ]), 1032, [
152
+ "as",
153
+ "heading",
154
+ "heading-href",
155
+ "logo-label",
156
+ "subheading",
157
+ "subheading-href",
158
+ "superheading",
159
+ "superheading-href"
160
+ ]);
130
161
  };
131
162
  }
132
163
  });
@@ -200,8 +231,8 @@ const _hoisted_1$3 = {
200
231
  class: "astryx-top-nav-mega astryx-top-nav-mega--drawer"
201
232
  };
202
233
  const _hoisted_2$3 = ["aria-expanded"];
203
- const _hoisted_3$2 = { class: "astryx-top-nav-mega__drawer" };
204
- const _hoisted_4$2 = { class: "astryx-top-nav-mega__items" };
234
+ const _hoisted_3$3 = { class: "astryx-top-nav-mega__drawer" };
235
+ const _hoisted_4$3 = { class: "astryx-top-nav-mega__items" };
205
236
  const _hoisted_5 = {
206
237
  key: 0,
207
238
  class: "astryx-top-nav-mega__featured"
@@ -247,7 +278,7 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
247
278
  icon: "chevronDown",
248
279
  size: "sm",
249
280
  class: normalizeClass({ "astryx-top-nav-menu__chevron--open": expanded.value })
250
- }, null, 8, ["class"])], 8, _hoisted_2$3), withDirectives(createElementVNode("div", _hoisted_3$2, [createElementVNode("div", _hoisted_4$2, [renderSlot(_ctx.$slots, "default")]), _ctx.$slots.featured ? (openBlock(), createElementBlock("div", _hoisted_5, [renderSlot(_ctx.$slots, "featured")])) : createCommentVNode("v-if", true)], 512), [[vShow, expanded.value]])])) : (openBlock(), createBlock(_sfc_main$11, {
281
+ }, null, 8, ["class"])], 8, _hoisted_2$3), withDirectives(createElementVNode("div", _hoisted_3$3, [createElementVNode("div", _hoisted_4$3, [renderSlot(_ctx.$slots, "default")]), _ctx.$slots.featured ? (openBlock(), createElementBlock("div", _hoisted_5, [renderSlot(_ctx.$slots, "featured")])) : createCommentVNode("v-if", true)], 512), [[vShow, expanded.value]])])) : (openBlock(), createBlock(_sfc_main$11, {
251
282
  key: 1,
252
283
  hover: "",
253
284
  "panel-class": "astryx-top-nav-mega__panel",
@@ -291,8 +322,15 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
291
322
  });
292
323
  //#endregion
293
324
  //#region src/TopNav/TopNavMegaMenuFeaturedCard.vue
294
- const _hoisted_1$2 = { class: "astryx-top-nav-mega-card__title" };
295
- const _hoisted_2$2 = {
325
+ const _hoisted_1$2 = [
326
+ "src",
327
+ "alt",
328
+ "role",
329
+ "aria-hidden"
330
+ ];
331
+ const _hoisted_2$2 = { class: "astryx-top-nav-mega-card__body" };
332
+ const _hoisted_3$2 = { class: "astryx-top-nav-mega-card__title" };
333
+ const _hoisted_4$2 = {
296
334
  key: 0,
297
335
  class: "astryx-top-nav-mega-card__description"
298
336
  };
@@ -303,29 +341,61 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
303
341
  title: {},
304
342
  description: {},
305
343
  href: {},
344
+ image: {},
345
+ imageAlt: {},
346
+ linkLabel: {},
347
+ linkHref: {},
306
348
  as: {}
307
349
  },
308
350
  setup(__props) {
309
351
  const props = __props;
310
352
  const closeMenu = inject(navMenuCloseKey, void 0);
311
- const root = computed(() => props.href ? resolveNavRoot(props.href, false, props.as) : "div");
312
- function onClick() {
313
- if (props.href) closeMenu?.();
353
+ const ctaHref = computed(() => {
354
+ if (!props.linkLabel) return void 0;
355
+ return props.linkHref || props.href;
356
+ });
357
+ const wholeHref = computed(() => ctaHref.value ? void 0 : props.href);
358
+ const root = computed(() => wholeHref.value ? resolveNavRoot(wholeHref.value, false, props.as) : "div");
359
+ const ctaRoot = computed(() => ctaHref.value ? resolveNavRoot(ctaHref.value, false, props.as) : "span");
360
+ const imageIsDecorative = computed(() => props.image != null && !props.imageAlt);
361
+ function onNavigate() {
362
+ closeMenu?.();
314
363
  }
315
364
  return (_ctx, _cache) => {
316
365
  return openBlock(), createBlock(resolveDynamicComponent(root.value), {
317
- class: "astryx-top-nav-mega-card",
318
- href: __props.href || void 0,
319
- to: __props.href && __props.as != null ? __props.href : void 0,
320
- onClick
366
+ class: normalizeClass(["astryx-top-nav-mega-card", { "astryx-top-nav-mega-card--static": !wholeHref.value }]),
367
+ href: wholeHref.value || void 0,
368
+ to: wholeHref.value && __props.as != null ? wholeHref.value : void 0,
369
+ onClick: _cache[0] || (_cache[0] = ($event) => wholeHref.value ? onNavigate() : void 0)
321
370
  }, {
322
- default: withCtx(() => [
323
- createElementVNode("span", _hoisted_1$2, toDisplayString(__props.title), 1),
324
- __props.description ? (openBlock(), createElementBlock("span", _hoisted_2$2, toDisplayString(__props.description), 1)) : createCommentVNode("v-if", true),
371
+ default: withCtx(() => [__props.image ? (openBlock(), createElementBlock("img", {
372
+ key: 0,
373
+ class: "astryx-top-nav-mega-card__image",
374
+ src: __props.image,
375
+ alt: __props.imageAlt ?? "",
376
+ role: imageIsDecorative.value ? "presentation" : void 0,
377
+ "aria-hidden": imageIsDecorative.value ? "true" : void 0
378
+ }, null, 8, _hoisted_1$2)) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_2$2, [
379
+ createElementVNode("span", _hoisted_3$2, toDisplayString(__props.title), 1),
380
+ __props.description ? (openBlock(), createElementBlock("span", _hoisted_4$2, toDisplayString(__props.description), 1)) : createCommentVNode("v-if", true),
381
+ ctaHref.value && __props.linkLabel ? (openBlock(), createBlock(resolveDynamicComponent(ctaRoot.value), {
382
+ key: 1,
383
+ class: "astryx-top-nav-mega-card__link",
384
+ href: ctaHref.value,
385
+ to: __props.as != null ? ctaHref.value : void 0,
386
+ onClick: withModifiers(onNavigate, ["stop"])
387
+ }, {
388
+ default: withCtx(() => [createTextVNode(toDisplayString(__props.linkLabel) + " → ", 1)]),
389
+ _: 1
390
+ }, 8, ["href", "to"])) : createCommentVNode("v-if", true),
325
391
  renderSlot(_ctx.$slots, "default")
326
- ]),
392
+ ])]),
327
393
  _: 3
328
- }, 8, ["href", "to"]);
394
+ }, 8, [
395
+ "class",
396
+ "href",
397
+ "to"
398
+ ]);
329
399
  };
330
400
  }
331
401
  });
@@ -1,2 +1,2 @@
1
- import { n as useTreeFocus, t as _sfc_main } from "../TreeList-COS8US8e.js";
1
+ import { n as useTreeFocus, t as _sfc_main } from "../TreeList-C9xvMpJZ.js";
2
2
  export { _sfc_main as TreeList, useTreeFocus };
@@ -1,6 +1,6 @@
1
- import { a as useAstryxMessages } from "./context-CiKncNSH.js";
1
+ import { o as useAstryxMessages } from "./context-CPh7kE-a.js";
2
2
  import { t as _sfc_main$2 } from "./Badge-CjDQPF5g.js";
3
- import { i as isIconGlyph, t as _sfc_main$3 } from "./Icon-CJKjdJy-.js";
3
+ import { s as isIconGlyph, t as _sfc_main$3 } from "./Icon-bteSId7T.js";
4
4
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, onMounted, openBlock, reactive, ref, renderList, renderSlot, resolveComponent, toDisplayString, unref, useId, vShow, withCtx, withDirectives } from "vue";
5
5
  import "../styles/tree-list.css";
6
6
  //#region src/TreeList/TreeListItem.vue
@@ -1,2 +1,2 @@
1
- import { a as TypeaheadSlots, i as TypeaheadSize, n as TypeaheadEmits, o as TypeaheadStatus, r as TypeaheadProps, t as _default } from "../index-jdjcb3Js.js";
2
- export { _default as Typeahead, type TypeaheadEmits, type TypeaheadProps, type TypeaheadSize, type TypeaheadSlots, type TypeaheadStatus };
1
+ import { a as TypeaheadEmits, c as TypeaheadSize, i as BaseTypeaheadProps, l as TypeaheadSlots, n as _default$1, o as TypeaheadItemProps, r as _default, s as TypeaheadProps, t as _default$2, u as TypeaheadStatus } from "../index-DxR1FChm.js";
2
+ export { _default as BaseTypeahead, type BaseTypeaheadProps, _default$1 as Typeahead, type TypeaheadEmits, _default$2 as TypeaheadItem, type TypeaheadItemProps, type TypeaheadProps, type TypeaheadSize, type TypeaheadSlots, type TypeaheadStatus };
@@ -1,2 +1,3 @@
1
- import { t as _sfc_main } from "../Typeahead-P7cCqtaQ.js";
2
- export { _sfc_main as Typeahead };
1
+ import { n as _sfc_main$2 } from "../TypeaheadMenu-BEObzonz.js";
2
+ import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-_V11btpv.js";
3
+ export { _sfc_main as BaseTypeahead, _sfc_main$1 as Typeahead, _sfc_main$2 as TypeaheadItem };