@astryx-vue/core 0.2.3 → 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 (303) hide show
  1. package/THIRD_PARTY_NOTICES.md +2 -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.d.ts +1 -1
  5. package/dist/AppShell/index.js +1 -1
  6. package/dist/{AppShell-Dd-D4bA2.js → AppShell-CeBmB0Q9.js} +2 -2
  7. package/dist/Avatar/index.d.ts +1 -1
  8. package/dist/Avatar/index.js +1 -1
  9. package/dist/{Avatar-jmHInHwj.js → Avatar-BB4Z4LF1.js} +10 -4
  10. package/dist/AvatarGroup/index.d.ts +1 -1
  11. package/dist/Banner/index.d.ts +1 -1
  12. package/dist/BottomSheet/index.d.ts +2 -2
  13. package/dist/BottomSheet/index.js +3 -2
  14. package/dist/{BottomSheet-Dg95HB1s.js → BottomSheet-BV6vfgGu.js} +82 -22
  15. package/dist/BottomSheet-o7xw-TOi.js +153 -0
  16. package/dist/Breadcrumbs/index.d.ts +2 -2
  17. package/dist/Breadcrumbs/index.js +2 -2
  18. package/dist/{Breadcrumbs-CWGfgLNK.js → Breadcrumbs-D6G7f5WL.js} +1 -1
  19. package/dist/Button/index.d.ts +1 -1
  20. package/dist/ButtonGroup/index.d.ts +1 -1
  21. package/dist/Calendar/index.d.ts +1 -1
  22. package/dist/Calendar/index.js +1 -1
  23. package/dist/{Calendar-CnOsSjMY.js → Calendar-DmTeM7PO.js} +2 -2
  24. package/dist/Card/index.d.ts +1 -1
  25. package/dist/Carousel/index.js +1 -1
  26. package/dist/{Carousel-JA7ilqI_.js → Carousel-CIKrcA2r.js} +1 -1
  27. package/dist/Chat/index.d.ts +1 -1
  28. package/dist/Chat/index.js +1 -1
  29. package/dist/{Chat-C7WrCOE4.js → Chat-BFox3u9D.js} +1 -1
  30. package/dist/CheckboxInput/index.d.ts +1 -1
  31. package/dist/CheckboxList/index.d.ts +1 -1
  32. package/dist/CheckboxList/index.js +1 -1
  33. package/dist/{CheckboxList-CnCGnkZk.js → CheckboxList-BlPf7vPe.js} +4 -4
  34. package/dist/Citation/index.js +1 -1
  35. package/dist/{Citation-CtwrU33I.js → Citation-BG-vg9ia.js} +1 -1
  36. package/dist/ClickableCard/index.d.ts +1 -1
  37. package/dist/Code/index.d.ts +3 -3
  38. package/dist/Code/index.js +4 -4
  39. package/dist/{Code-BvefYRpx.js → Code-XnPuGxey.js} +1 -1
  40. package/dist/{CodeBlock-BZGzYeoL.js → CodeBlock-B2pnEOJY.js} +145 -15
  41. package/dist/Collapsible/index.d.ts +1 -1
  42. package/dist/CommandPalette/index.js +1 -1
  43. package/dist/{CommandPalette-BNbM9T9y.js → CommandPalette-DKgHzmJk.js} +10 -10
  44. package/dist/ComplexSelector/index.js +1 -1
  45. package/dist/{ComplexSelector-LtbLlrcj.js → ComplexSelector-Dv44FFhN.js} +1 -1
  46. package/dist/ContextMenu/index.d.ts +2 -2
  47. package/dist/ContextMenu/index.js +2 -2
  48. package/dist/{ContextMenu-DVQl0xL5.js → ContextMenu-BeJO5HYx.js} +4 -369
  49. package/dist/DateInput/index.d.ts +1 -1
  50. package/dist/DateInput/index.js +1 -1
  51. package/dist/{DateInput-zm8sNc0t.js → DateInput-D4XFAEMp.js} +3 -3
  52. package/dist/DateRangeInput/index.d.ts +1 -1
  53. package/dist/DateRangeInput/index.js +1 -1
  54. package/dist/{DateRangeInput-DlVFzrf7.js → DateRangeInput-Cp6AZfew.js} +2 -2
  55. package/dist/DateTimeInput/index.d.ts +1 -1
  56. package/dist/DateTimeInput/index.js +1 -1
  57. package/dist/{DateTimeInput-C7Z-p6Yd.js → DateTimeInput-B6MPPp76.js} +3 -3
  58. package/dist/Dialog/index.d.ts +1 -1
  59. package/dist/Divider/index.d.ts +1 -1
  60. package/dist/DropdownMenu/index.d.ts +2 -2
  61. package/dist/DropdownMenu/index.js +3 -3
  62. package/dist/{DropdownMenu-BoZChdev.js → DropdownMenu--lnUeJEG.js} +3 -3
  63. package/dist/{DropdownMenu-u1psFjis.js → DropdownMenu-6E9jFdFe.js} +4 -4
  64. package/dist/{DropdownMenuRadioItem.vue-uVM0FD2f.d.ts → DropdownMenuRadioItem.vue-CXEURBcq.d.ts} +1 -1
  65. package/dist/EmptyState/index.js +1 -1
  66. package/dist/{EmptyState-CUJdTYKV.js → EmptyState-0RWymQUS.js} +2 -2
  67. package/dist/FileInput/index.d.ts +1 -1
  68. package/dist/FileInput/index.js +1 -1
  69. package/dist/{FileInput-QdlZn7qK.js → FileInput-DuNwdbAo.js} +1 -1
  70. package/dist/Grid/index.d.ts +1 -1
  71. package/dist/Heading/index.d.ts +2 -2
  72. package/dist/Heading/index.js +1 -1
  73. package/dist/Heading-B9C3LZlS.js +94 -0
  74. package/dist/Indicator/index.d.ts +2 -2
  75. package/dist/InputGroup/index.d.ts +1 -1
  76. package/dist/Item-DrYJL1TG.js +590 -0
  77. package/dist/Lightbox/index.js +1 -1
  78. package/dist/{Lightbox-BSzfqZ-u.js → Lightbox-Br3o0SyQ.js} +1 -1
  79. package/dist/Link/index.d.ts +3 -2
  80. package/dist/Link/index.js +1 -1
  81. package/dist/Link-DCZ6922-.js +196 -0
  82. package/dist/List/index.d.ts +3 -3
  83. package/dist/List/index.js +2 -2
  84. package/dist/{ListItem-pGxvn6QJ.js → ListItem-CcRHWuEm.js} +8 -2
  85. package/dist/Markdown/index.d.ts +2 -2
  86. package/dist/Markdown/index.js +2 -2
  87. package/dist/{Markdown-B6tSqenv.js → Markdown-Bz0R3kNj.js} +274 -30
  88. package/dist/MetadataList/index.js +1 -1
  89. package/dist/{MetadataList-aN1tRn6W.js → MetadataList-CFaocx6j.js} +1 -1
  90. package/dist/MobileNav/index.js +1 -1
  91. package/dist/{MobileNavToggle-fqcSafkc.js → MobileNavToggle-Dh3uLivq.js} +1 -1
  92. package/dist/MoreMenu/index.d.ts +1 -1
  93. package/dist/MoreMenu/index.js +1 -1
  94. package/dist/{MoreMenu-B3brqdK_.js → MoreMenu-B95nRSe8.js} +2 -2
  95. package/dist/MultiSelector/index.d.ts +1 -1
  96. package/dist/MultiSelector/index.js +1 -1
  97. package/dist/{MultiSelector-BD5PMgez.js → MultiSelector-DuF5TECE.js} +4 -4
  98. package/dist/{NavDisclosure-DbYLDXK0.js → NavDisclosure-C6sPZ89n.js} +4 -1
  99. package/dist/NavHeadingSurface-Cb3x9iDx.js +287 -0
  100. package/dist/NavItem/index.d.ts +1 -1
  101. package/dist/NavMenu/index.d.ts +2 -2
  102. package/dist/NavMenu/index.js +4 -3
  103. package/dist/NavMenu-ClIgMaxE.js +176 -0
  104. package/dist/{NavMenuItem-DrwIMHKO.js → NavMenuItem-E7S8gBh-.js} +1 -1
  105. package/dist/NumberInput/index.d.ts +1 -1
  106. package/dist/NumberInput/index.js +1 -1
  107. package/dist/{NumberInput-CBeU4lEl.js → NumberInput-B4IL3s_8.js} +1 -1
  108. package/dist/Outline/index.js +1 -1
  109. package/dist/{Outline--HVMSB6i.js → Outline-DBUuchi9.js} +1 -1
  110. package/dist/OverflowList/index.d.ts +1 -1
  111. package/dist/OverflowList/index.js +1 -1
  112. package/dist/{OverflowList-FMh7r-r_.js → OverflowList-aDd_oem0.js} +3 -3
  113. package/dist/Pagination/index.d.ts +1 -1
  114. package/dist/Pagination/index.js +1 -1
  115. package/dist/{Pagination-DlIvESjx.js → Pagination-CNe9F6Fl.js} +181 -45
  116. package/dist/Popover/index.d.ts +1 -1
  117. package/dist/PowerSearch/index.d.ts +1 -1
  118. package/dist/PowerSearch/index.js +1 -1
  119. package/dist/{PowerSearch-CMG7Rb69.js → PowerSearch-C6U8Sq1Y.js} +13 -13
  120. package/dist/ProgressBar/index.d.ts +2 -2
  121. package/dist/ProgressBar/index.js +1 -1
  122. package/dist/{ProgressBar-DO9Chic6.js → ProgressBar-DF6WZNCI.js} +45 -6
  123. package/dist/Radio/index.d.ts +1 -1
  124. package/dist/RadioList/index.d.ts +1 -1
  125. package/dist/Resizable/index.js +1 -1
  126. package/dist/{Resizable-CXpvj1TZ.js → ResizeHandle-DYy0e3v9.js} +1 -1
  127. package/dist/ScrollableArea/index.d.ts +1 -1
  128. package/dist/SegmentedControl/index.d.ts +1 -1
  129. package/dist/SelectableCard/index.d.ts +1 -1
  130. package/dist/Selector/index.d.ts +1 -1
  131. package/dist/Selector/index.js +1 -1
  132. package/dist/{Selector-BpPnuWH3.js → Selector-5N-hq2nF.js} +3 -3
  133. package/dist/SideNav/index.d.ts +2 -2
  134. package/dist/SideNav/index.js +1 -1
  135. package/dist/{SideNav-D4TupqgE.js → SideNav-CT9lfspi.js} +225 -229
  136. package/dist/Stack/index.d.ts +1 -1
  137. package/dist/Stepper/index.d.ts +1 -1
  138. package/dist/Stepper/index.js +1 -1
  139. package/dist/{Stepper-H-6-T5Ps.js → Stepper-BqhVCgC-.js} +1 -1
  140. package/dist/Switch/index.d.ts +1 -1
  141. package/dist/TabList/index.d.ts +1 -1
  142. package/dist/Table/index.js +1 -1
  143. package/dist/{Table-nqA_njNz.js → Table-CsdH8fCB.js} +4 -4
  144. package/dist/Text/index.d.ts +3 -3
  145. package/dist/Text/index.js +1 -1
  146. package/dist/Text-DIzZw6FA.js +86 -0
  147. package/dist/TextArea/index.d.ts +1 -1
  148. package/dist/TextInput/index.d.ts +1 -1
  149. package/dist/Theme/index.d.ts +3 -3
  150. package/dist/Theme/index.js +2 -2
  151. package/dist/Theme-CtaUWo4g.js +1246 -0
  152. package/dist/Thumbnail/index.js +1 -1
  153. package/dist/{Thumbnail-CXb3m_Hv.js → Thumbnail-BnQwX1cQ.js} +2 -2
  154. package/dist/{TimeField-B3cndWb0.js → TimeField-Biiuv0hB.js} +1 -1
  155. package/dist/TimeInput/index.d.ts +1 -1
  156. package/dist/TimeInput/index.js +1 -1
  157. package/dist/{TimeInput-BHQ_LKGm.js → TimeInput-C9gptCOK.js} +1 -1
  158. package/dist/Timer/index.d.ts +1 -1
  159. package/dist/Timer/index.js +1 -1
  160. package/dist/{Timer-B7GV6hqd.js → Timer-kxzQx3tp.js} +1 -1
  161. package/dist/Timestamp/index.d.ts +1 -1
  162. package/dist/Timestamp/index.js +1 -1
  163. package/dist/{Timestamp-Cfuxbb3i.js → Timestamp-D7bd_nF3.js} +2 -2
  164. package/dist/ToggleButton/index.d.ts +1 -1
  165. package/dist/Token/index.d.ts +1 -1
  166. package/dist/Token/index.js +1 -1
  167. package/dist/{Token-CdVLH0_H.js → Token-D2GsI_Ei.js} +1 -1
  168. package/dist/Tokenizer/index.js +1 -1
  169. package/dist/{Tokenizer-DlD-S_8-.js → Tokenizer-rwzamZg4.js} +3 -3
  170. package/dist/Toolbar/index.d.ts +1 -1
  171. package/dist/Tooltip/index.d.ts +1 -1
  172. package/dist/Tooltip/index.js +1 -1
  173. package/dist/{Tooltip-mp0NMh_Y.js → Tooltip-C2fh9anJ.js} +23 -8
  174. package/dist/TopNav/index.d.ts +1 -1
  175. package/dist/TopNav/index.js +1 -1
  176. package/dist/{TopNav-DzV874G7.js → TopNav-arWFLTBM.js} +112 -42
  177. package/dist/TreeList/index.js +1 -1
  178. package/dist/{TreeList-DEwvlZRV.js → TreeList-C9xvMpJZ.js} +1 -1
  179. package/dist/Typeahead/index.d.ts +2 -2
  180. package/dist/Typeahead/index.js +3 -2
  181. package/dist/Typeahead-_V11btpv.js +499 -0
  182. package/dist/{TypeaheadMenu-CGvo0Tud.js → TypeaheadMenu-BEObzonz.js} +46 -10
  183. package/dist/composables/index.d.ts +2 -2
  184. package/dist/composables/index.js +4 -4
  185. package/dist/composables-CWw6t-RJ.js +520 -0
  186. package/dist/{context-DmOLCubj.js → context-CPh7kE-a.js} +58 -10
  187. package/dist/{index-BRfR0lhb.d.ts → index-12QYAbiz.d.ts} +1 -1
  188. package/dist/{index-DMQG6kdM.d.ts → index-6yB8BtEu.d.ts} +2 -2
  189. package/dist/{index-f4NGT-e2.d.ts → index-B4OOtNP8.d.ts} +3 -3
  190. package/dist/index-BBtJt5_A.d.ts +26 -0
  191. package/dist/{index-Ch6BbxCP.d.ts → index-BH9PzQ1F.d.ts} +13 -8
  192. package/dist/{index-MPcg1Pm4.d.ts → index-BKr7yvVv.d.ts} +1 -1
  193. package/dist/{index-D_UEJIU5.d.ts → index-BPwD6aBv.d.ts} +1 -1
  194. package/dist/{index-D1Twv_fL.d.ts → index-BcZI402h.d.ts} +4 -4
  195. package/dist/{index-C8wDPDcP.d.ts → index-Bi49IrAJ.d.ts} +50 -8
  196. package/dist/{index-B1x05arQ.d.ts → index-BlOIC_AM.d.ts} +1 -1
  197. package/dist/{index-C5p2NeCr.d.ts → index-Blm197N_.d.ts} +11 -2
  198. package/dist/{index-Bu3oXIIS.d.ts → index-BmmdzwT9.d.ts} +6 -0
  199. package/dist/{index-BMn9ghAX.d.ts → index-Bu0Zd1uw.d.ts} +3 -3
  200. package/dist/{index-Ctu32CLv.d.ts → index-BxhJqiZ7.d.ts} +2 -2
  201. package/dist/{index-CA6RbRWx.d.ts → index-By2mSzUA.d.ts} +1 -1
  202. package/dist/{index-HV6W3xCx.d.ts → index-Byar3h1e.d.ts} +1 -1
  203. package/dist/{index-LIyvJTW3.d.ts → index-C3GaPqvJ.d.ts} +84 -8
  204. package/dist/{index-DAiGhkNZ.d.ts → index-CFIXnk5D.d.ts} +1 -1
  205. package/dist/{index-ViSV0RBx.d.ts → index-CI9kyg74.d.ts} +12 -2
  206. package/dist/{index-C-QpeUlQ.d.ts → index-CNjbOgty.d.ts} +2 -2
  207. package/dist/{index-BB5yVIN-.d.ts → index-CUCcYKxl.d.ts} +3 -3
  208. package/dist/{index-Ca8VIE4l.d.ts → index-CVn0GBdB.d.ts} +1 -1
  209. package/dist/{index-xfkEuGLY.d.ts → index-CZeoAr0a.d.ts} +2 -2
  210. package/dist/{index-C2sfHfBw.d.ts → index-D-ezcKaY.d.ts} +3 -3
  211. package/dist/{index-BcJBLWJ0.d.ts → index-DA52oIdw.d.ts} +2 -2
  212. package/dist/{index-D7-WTV6I.d.ts → index-D_nYxnNv.d.ts} +1 -1
  213. package/dist/{index-Cm_TiLXU.d.ts → index-Dgg0bHVM.d.ts} +7 -3
  214. package/dist/index-DxR1FChm.d.ts +158 -0
  215. package/dist/{index-BTAgQRP0.d.ts → index-EtZgovdH.d.ts} +169 -81
  216. package/dist/{index-B9f1rUEv.d.ts → index-XuAAcYiP.d.ts} +1 -1
  217. package/dist/{index-D0TlUOtG.d.ts → index-YmSe1ujk.d.ts} +76 -3
  218. package/dist/{index-BMrggCw-.d.ts → index-bvr3WHvs.d.ts} +1 -1
  219. package/dist/{index-CDDMDHJM.d.ts → index-c67ca7eJ.d.ts} +1 -1
  220. package/dist/{index-D8o50qOE.d.ts → index-cL3q7O4R.d.ts} +32 -3
  221. package/dist/{index-CGZ2xi3r.d.ts → index-eshFLli0.d.ts} +40 -3
  222. package/dist/{index-DkVEBdWa.d.ts → index-fa72tWIU.d.ts} +2 -2
  223. package/dist/{index-COxy6LEW.d.ts → index-gW0HW02U.d.ts} +1 -1
  224. package/dist/{index-foQMNKZO.d.ts → index-hCpxKePE.d.ts} +49 -3
  225. package/dist/{index-DxsKyAxq.d.ts → index-vizlhXVs.d.ts} +131 -2
  226. package/dist/{index-DfgHJE7H.d.ts → index-z3uLM1O6.d.ts} +153 -24
  227. package/dist/index.d.ts +81 -80
  228. package/dist/index.js +118 -115
  229. package/dist/locale/index.d.ts +2 -2
  230. package/dist/locale/index.js +3 -3
  231. package/dist/locale-sLw5Caia.js +917 -0
  232. package/dist/{searchResultMessage-DN0HeRRB.js → searchResultMessage-CCnq-_ce.js} +1 -1
  233. package/dist/syntaxTheme-CwVEcVDk.d.ts +57 -0
  234. package/dist/{syntaxTheme-ClpWALZX.js → syntaxTheme-R7xnu5x5.js} +24 -3
  235. package/dist/{types-Bt-lSgYX.d.ts → types-D9nP_X-c.d.ts} +14 -1
  236. package/dist/{types-CAZY4Xua.d.ts → types-DGYHIu4I.d.ts} +30 -1
  237. package/dist/types-D_J66aPN.d.ts +85 -0
  238. package/dist/types-gKsEkk2g.d.ts +320 -0
  239. package/dist/{useMenuDrillIn-OaEwjK44.js → useMenuDrillIn-BgjJcY3K.js} +1 -1
  240. package/dist/useMenuPress-DUmEy4TB.js +425 -0
  241. package/dist/{composables-DDI08XFF.js → useResizable-B3ahKLoZ.js} +73 -248
  242. package/dist/useTruncation-B5qXQzAP.js +53 -0
  243. package/locales/SOURCE.json +37 -0
  244. package/locales/af-ZA.json +1482 -0
  245. package/locales/ar-SA.json +1482 -0
  246. package/locales/ca-ES.json +1482 -0
  247. package/locales/cs-CZ.json +1482 -0
  248. package/locales/da-DK.json +1482 -0
  249. package/locales/de-DE.json +1482 -0
  250. package/locales/el-GR.json +1482 -0
  251. package/locales/en.json +1646 -0
  252. package/locales/es-ES.json +1482 -0
  253. package/locales/fi-FI.json +1482 -0
  254. package/locales/fr-FR.json +1482 -0
  255. package/locales/he-IL.json +1482 -0
  256. package/locales/hu-HU.json +1482 -0
  257. package/locales/it-IT.json +1482 -0
  258. package/locales/ja-JP.json +1482 -0
  259. package/locales/ko-KR.json +1482 -0
  260. package/locales/nl-NL.json +1482 -0
  261. package/locales/no-NO.json +1482 -0
  262. package/locales/pl-PL.json +1482 -0
  263. package/locales/pt-BR.json +1482 -0
  264. package/locales/pt-PT.json +1482 -0
  265. package/locales/ro-RO.json +1482 -0
  266. package/locales/ru-RU.json +1482 -0
  267. package/locales/sr-SP.json +1482 -0
  268. package/locales/sv-SE.json +1482 -0
  269. package/locales/tr-TR.json +1482 -0
  270. package/locales/uk-UA.json +1482 -0
  271. package/locales/vi-VN.json +1482 -0
  272. package/locales/zh-CN.json +1482 -0
  273. package/locales/zh-TW.json +1482 -0
  274. package/package.json +3 -1
  275. package/styles/bottom-sheet.css +27 -0
  276. package/styles/code.css +62 -0
  277. package/styles/container-reveal.css +104 -0
  278. package/styles/heading.css +47 -0
  279. package/styles/keyboard-hint.css +28 -0
  280. package/styles/link.css +34 -0
  281. package/styles/list.css +88 -1
  282. package/styles/markdown.css +12 -0
  283. package/styles/pagination.css +30 -0
  284. package/styles/progress-bar.css +49 -0
  285. package/styles/side-nav.css +36 -1
  286. package/styles/text.css +18 -0
  287. package/styles/top-nav.css +145 -6
  288. package/styles/typeahead.css +24 -0
  289. package/styles.css +2 -0
  290. package/dist/Heading-Dugosn6j.js +0 -43
  291. package/dist/Item-C1z6gXn8.js +0 -289
  292. package/dist/Link-DqdQZ37C.js +0 -141
  293. package/dist/Text-BHVghsWo.js +0 -53
  294. package/dist/Theme-CejS9MHm.js +0 -447
  295. package/dist/Typeahead-DQ3tmqYe.js +0 -375
  296. package/dist/index-Bqb_Fyju.d.ts +0 -80
  297. package/dist/index-Dg3ZmwEg.d.ts +0 -75
  298. package/dist/locale-CCwVnyMZ.js +0 -42
  299. package/dist/syntaxTheme-Bcs1YMF7.d.ts +0 -38
  300. package/dist/types-jmqqnkKA.d.ts +0 -163
  301. package/dist/useHotkeys-dABSK1o9.js +0 -80
  302. package/dist/useLongPress-Cyxwa73s.js +0 -60
  303. package/dist/{index-BXkNZF3q.d.ts → index-IdK2g5B4.d.ts} +2 -2
@@ -0,0 +1,287 @@
1
+ import { o as useAstryxMessages } from "./context-CPh7kE-a.js";
2
+ import { t as _sfc_main$2 } from "./Icon-bteSId7T.js";
3
+ import { n as resolveNavRoot } from "./link-CdcUSxAj.js";
4
+ import { t as _sfc_main$3 } from "./NavDisclosure-C6sPZ89n.js";
5
+ import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeClass, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, unref, useSlots, withCtx, withModifiers } from "vue";
6
+ //#region src/NavMenu/navHeadingMode.ts
7
+ /** 标题的点击边界:整段链接、整段打开菜单,或链接和箭头各管各的。 */
8
+ function resolveNavHeadingMode(input) {
9
+ const hasAnyHref = Boolean(input.headingHref || input.superheadingHref || input.subheadingHref);
10
+ if (!input.hasHeading && !input.hasMenu) return "logo";
11
+ if (input.headingHref && !input.hasMenu && !input.superheadingHref && !input.subheadingHref) return "whole-link";
12
+ if (input.hasMenu && !hasAnyHref) return "trigger";
13
+ if (input.hasMenu && hasAnyHref) return "mixed";
14
+ if (hasAnyHref) return "links";
15
+ return "static";
16
+ }
17
+ //#endregion
18
+ //#region src/NavMenu/NavHeadingText.vue
19
+ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
20
+ name: "AstryxNavHeadingText",
21
+ __name: "NavHeadingText",
22
+ props: {
23
+ block: {},
24
+ heading: {},
25
+ superheading: {},
26
+ subheading: {},
27
+ headingHref: {},
28
+ superheadingHref: {},
29
+ subheadingHref: {},
30
+ as: {},
31
+ independent: { type: Boolean }
32
+ },
33
+ setup(__props) {
34
+ const props = __props;
35
+ function root(href) {
36
+ return props.independent && href ? resolveNavRoot(href, false, props.as) : "span";
37
+ }
38
+ function hrefOf(href) {
39
+ return props.independent ? href : void 0;
40
+ }
41
+ function toOf(href) {
42
+ return props.independent && props.as != null ? href : void 0;
43
+ }
44
+ function stopIfLink(event, href) {
45
+ if (props.independent && href) event.stopPropagation();
46
+ }
47
+ return (_ctx, _cache) => {
48
+ return openBlock(), createElementBlock("span", { class: normalizeClass(`${__props.block}__text`) }, [
49
+ __props.superheading ? (openBlock(), createBlock(resolveDynamicComponent(root(__props.superheadingHref)), {
50
+ key: 0,
51
+ class: normalizeClass([`${__props.block}__super`, { [`${__props.block}__link`]: __props.independent && __props.superheadingHref }]),
52
+ href: hrefOf(__props.superheadingHref),
53
+ to: toOf(__props.superheadingHref),
54
+ onClick: _cache[0] || (_cache[0] = ($event) => stopIfLink($event, __props.superheadingHref))
55
+ }, {
56
+ default: withCtx(() => [createTextVNode(toDisplayString(__props.superheading), 1)]),
57
+ _: 1
58
+ }, 8, [
59
+ "class",
60
+ "href",
61
+ "to"
62
+ ])) : createCommentVNode("v-if", true),
63
+ createElementVNode("span", { class: normalizeClass(`${__props.block}__row`) }, [__props.heading ? (openBlock(), createBlock(resolveDynamicComponent(root(__props.headingHref)), {
64
+ key: 0,
65
+ class: normalizeClass([`${__props.block}__title`, { [`${__props.block}__link`]: __props.independent && __props.headingHref }]),
66
+ href: hrefOf(__props.headingHref),
67
+ to: toOf(__props.headingHref),
68
+ onClick: _cache[1] || (_cache[1] = ($event) => stopIfLink($event, __props.headingHref))
69
+ }, {
70
+ default: withCtx(() => [createTextVNode(toDisplayString(__props.heading), 1)]),
71
+ _: 1
72
+ }, 8, [
73
+ "class",
74
+ "href",
75
+ "to"
76
+ ])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "chevron")], 2),
77
+ __props.subheading ? (openBlock(), createBlock(resolveDynamicComponent(root(__props.subheadingHref)), {
78
+ key: 1,
79
+ class: normalizeClass([`${__props.block}__sub`, { [`${__props.block}__link`]: __props.independent && __props.subheadingHref }]),
80
+ href: hrefOf(__props.subheadingHref),
81
+ to: toOf(__props.subheadingHref),
82
+ onClick: _cache[2] || (_cache[2] = ($event) => stopIfLink($event, __props.subheadingHref))
83
+ }, {
84
+ default: withCtx(() => [createTextVNode(toDisplayString(__props.subheading), 1)]),
85
+ _: 1
86
+ }, 8, [
87
+ "class",
88
+ "href",
89
+ "to"
90
+ ])) : createCommentVNode("v-if", true)
91
+ ], 2);
92
+ };
93
+ }
94
+ });
95
+ //#endregion
96
+ //#region src/NavMenu/NavHeadingSurface.vue
97
+ const _hoisted_1 = ["data-open"];
98
+ const _hoisted_2 = [
99
+ "aria-label",
100
+ "aria-expanded",
101
+ "aria-controls"
102
+ ];
103
+ const _hoisted_3 = ["onClick"];
104
+ const _sfc_main = /*@__PURE__*/ defineComponent({
105
+ name: "AstryxNavHeadingSurface",
106
+ __name: "NavHeadingSurface",
107
+ props: {
108
+ kind: {},
109
+ heading: {},
110
+ headingHref: {},
111
+ superheading: {},
112
+ superheadingHref: {},
113
+ subheading: {},
114
+ subheadingHref: {},
115
+ as: {},
116
+ logoLabel: {}
117
+ },
118
+ setup(__props) {
119
+ const props = __props;
120
+ const slots = useSlots();
121
+ const messages = useAstryxMessages();
122
+ const block = computed(() => props.kind === "top" ? "astryx-top-nav-heading" : "astryx-side-nav-heading");
123
+ const hasMenu = computed(() => slots.menu != null);
124
+ const mode = computed(() => resolveNavHeadingMode({
125
+ hasHeading: Boolean(props.heading),
126
+ hasMenu: hasMenu.value,
127
+ headingHref: props.headingHref,
128
+ superheadingHref: props.superheadingHref,
129
+ subheadingHref: props.subheadingHref
130
+ }));
131
+ const headingRoot = computed(() => resolveNavRoot(props.headingHref, false, props.as));
132
+ const logoName = computed(() => props.logoLabel || props.heading);
133
+ const logoIsLink = computed(() => Boolean(props.headingHref) && mode.value !== "whole-link" && mode.value !== "logo");
134
+ const textProps = computed(() => ({
135
+ as: props.as,
136
+ block: block.value,
137
+ heading: props.heading,
138
+ headingHref: props.headingHref,
139
+ subheading: props.subheading,
140
+ subheadingHref: props.subheadingHref,
141
+ superheading: props.superheading,
142
+ superheadingHref: props.superheadingHref
143
+ }));
144
+ return (_ctx, _cache) => {
145
+ return mode.value === "logo" ? (openBlock(), createBlock(resolveDynamicComponent(__props.headingHref ? headingRoot.value : "div"), {
146
+ key: 0,
147
+ class: normalizeClass([block.value, { [`${block.value}--link`]: __props.headingHref }]),
148
+ href: __props.headingHref,
149
+ to: __props.as != null ? __props.headingHref : void 0,
150
+ "aria-label": __props.headingHref ? logoName.value : void 0
151
+ }, {
152
+ default: withCtx(() => [_ctx.$slots.icon ? (openBlock(), createElementBlock("span", {
153
+ key: 0,
154
+ class: normalizeClass(`${block.value}__icon`)
155
+ }, [renderSlot(_ctx.$slots, "icon")], 2)) : createCommentVNode("v-if", true)]),
156
+ _: 3
157
+ }, 8, [
158
+ "class",
159
+ "href",
160
+ "to",
161
+ "aria-label"
162
+ ])) : mode.value === "whole-link" ? (openBlock(), createBlock(resolveDynamicComponent(headingRoot.value), {
163
+ key: 1,
164
+ class: normalizeClass([block.value, `${block.value}--link`]),
165
+ href: __props.headingHref,
166
+ to: __props.as != null ? __props.headingHref : void 0
167
+ }, {
168
+ default: withCtx(() => [
169
+ _ctx.$slots.icon ? (openBlock(), createElementBlock("span", {
170
+ key: 0,
171
+ class: normalizeClass(`${block.value}__icon`)
172
+ }, [renderSlot(_ctx.$slots, "icon")], 2)) : createCommentVNode("v-if", true),
173
+ createVNode(_sfc_main$1, normalizeProps(guardReactiveProps(textProps.value)), null, 16),
174
+ _ctx.$slots.end ? (openBlock(), createElementBlock("span", {
175
+ key: 1,
176
+ class: normalizeClass(`${block.value}__end`)
177
+ }, [renderSlot(_ctx.$slots, "end")], 2)) : createCommentVNode("v-if", true)
178
+ ]),
179
+ _: 3
180
+ }, 8, [
181
+ "class",
182
+ "href",
183
+ "to"
184
+ ])) : mode.value === "trigger" || mode.value === "mixed" ? (openBlock(), createBlock(_sfc_main$3, {
185
+ key: 2,
186
+ hover: "",
187
+ label: __props.heading || logoName.value,
188
+ "panel-class": `${block.value}__panel`
189
+ }, {
190
+ trigger: withCtx(({ isOpen, panelId }) => [createElementVNode("div", {
191
+ class: normalizeClass(block.value),
192
+ "data-open": isOpen || void 0
193
+ }, [
194
+ logoIsLink.value && _ctx.$slots.icon ? (openBlock(), createBlock(resolveDynamicComponent(headingRoot.value), {
195
+ key: 0,
196
+ class: normalizeClass(`${block.value}__icon`),
197
+ href: __props.headingHref,
198
+ to: __props.as != null ? __props.headingHref : void 0,
199
+ "aria-label": logoName.value,
200
+ onClick: _cache[0] || (_cache[0] = withModifiers(() => {}, ["stop"]))
201
+ }, {
202
+ default: withCtx(() => [renderSlot(_ctx.$slots, "icon")]),
203
+ _: 3
204
+ }, 8, [
205
+ "class",
206
+ "href",
207
+ "to",
208
+ "aria-label"
209
+ ])) : _ctx.$slots.icon ? (openBlock(), createElementBlock("span", {
210
+ key: 1,
211
+ class: normalizeClass(`${block.value}__icon`)
212
+ }, [renderSlot(_ctx.$slots, "icon")], 2)) : createCommentVNode("v-if", true),
213
+ createVNode(_sfc_main$1, mergeProps(textProps.value, { independent: mode.value === "mixed" }), {
214
+ chevron: withCtx(() => [createElementVNode("button", {
215
+ type: "button",
216
+ class: normalizeClass(`${block.value}__chevron`),
217
+ "aria-label": unref(messages).nav.openMenu,
218
+ "aria-expanded": isOpen ? "true" : "false",
219
+ "aria-controls": panelId,
220
+ "aria-haspopup": "menu"
221
+ }, [createVNode(_sfc_main$2, {
222
+ icon: "chevronDown",
223
+ size: "sm",
224
+ class: normalizeClass({ [`${block.value}__chevron-icon--open`]: isOpen })
225
+ }, null, 8, ["class"])], 10, _hoisted_2)]),
226
+ _: 2
227
+ }, 1040, ["independent"]),
228
+ _ctx.$slots.end ? (openBlock(), createElementBlock("span", {
229
+ key: 2,
230
+ class: normalizeClass(`${block.value}__end`)
231
+ }, [renderSlot(_ctx.$slots, "end")], 2)) : createCommentVNode("v-if", true)
232
+ ], 10, _hoisted_1)]),
233
+ default: withCtx(({ close, focusRequest }) => [createElementVNode("button", {
234
+ type: "button",
235
+ class: normalizeClass([block.value, `${block.value}--echo`]),
236
+ onClick: ($event) => close()
237
+ }, [_ctx.$slots.icon ? (openBlock(), createElementBlock("span", {
238
+ key: 0,
239
+ class: normalizeClass(`${block.value}__icon`)
240
+ }, [renderSlot(_ctx.$slots, "icon")], 2)) : createCommentVNode("v-if", true), createVNode(_sfc_main$1, normalizeProps(guardReactiveProps(textProps.value)), {
241
+ chevron: withCtx(() => [createElementVNode("span", {
242
+ class: normalizeClass(`${block.value}__chevron`),
243
+ "aria-hidden": "true"
244
+ }, [createVNode(_sfc_main$2, {
245
+ icon: "chevronDown",
246
+ size: "sm",
247
+ class: normalizeClass(`${block.value}__chevron-icon--open`)
248
+ }, null, 8, ["class"])], 2)]),
249
+ _: 1
250
+ }, 16)], 10, _hoisted_3), createElementVNode("div", { class: normalizeClass(`${block.value}__menu`) }, [renderSlot(_ctx.$slots, "menu", {
251
+ close,
252
+ focusRequest
253
+ })], 2)]),
254
+ _: 3
255
+ }, 8, ["label", "panel-class"])) : (openBlock(), createElementBlock("div", {
256
+ key: 3,
257
+ class: normalizeClass(block.value)
258
+ }, [
259
+ logoIsLink.value && _ctx.$slots.icon ? (openBlock(), createBlock(resolveDynamicComponent(headingRoot.value), {
260
+ key: 0,
261
+ class: normalizeClass(`${block.value}__icon`),
262
+ href: __props.headingHref,
263
+ to: __props.as != null ? __props.headingHref : void 0,
264
+ "aria-label": logoName.value
265
+ }, {
266
+ default: withCtx(() => [renderSlot(_ctx.$slots, "icon")]),
267
+ _: 3
268
+ }, 8, [
269
+ "class",
270
+ "href",
271
+ "to",
272
+ "aria-label"
273
+ ])) : _ctx.$slots.icon ? (openBlock(), createElementBlock("span", {
274
+ key: 1,
275
+ class: normalizeClass(`${block.value}__icon`)
276
+ }, [renderSlot(_ctx.$slots, "icon")], 2)) : createCommentVNode("v-if", true),
277
+ createVNode(_sfc_main$1, mergeProps(textProps.value, { independent: mode.value === "links" }), null, 16, ["independent"]),
278
+ _ctx.$slots.end ? (openBlock(), createElementBlock("span", {
279
+ key: 2,
280
+ class: normalizeClass(`${block.value}__end`)
281
+ }, [renderSlot(_ctx.$slots, "end")], 2)) : createCommentVNode("v-if", true)
282
+ ], 2));
283
+ };
284
+ }
285
+ });
286
+ //#endregion
287
+ export { _sfc_main as t };
@@ -1,3 +1,3 @@
1
1
  import { a as NavItemSize, i as NavItemProps, n as NavIconSlots, o as NavItemSlots, r as NavItemEmits, s as NavLinkComponent, t as NavIconProps } from "../types-BG23kC3S.js";
2
- import { n as _default, r as resolveNavRoot, t as _default$1 } from "../index-DkVEBdWa.js";
2
+ import { n as _default, r as resolveNavRoot, t as _default$1 } from "../index-fa72tWIU.js";
3
3
  export { _default as NavIcon, type NavIconProps, type NavIconSlots, _default$1 as NavItem, type NavItemEmits, type NavItemProps, type NavItemSize, type NavItemSlots, type NavLinkComponent, resolveNavRoot };
@@ -1,2 +1,2 @@
1
- import { a as NavMenuEmits, c as NavMenuProps, i as NavDisclosureProps, l as NavMenuFocusRequest, n as _default$1, o as NavMenuItemEmits, r as _default, s as NavMenuItemProps, t as _default$2, u as NavMenuSize } from "../index-D0TlUOtG.js";
2
- export { _default as NavDisclosure, type NavDisclosureProps, _default$1 as NavMenu, type NavMenuEmits, type NavMenuFocusRequest, _default$2 as NavMenuItem, type NavMenuItemEmits, type NavMenuItemProps, type NavMenuProps, type NavMenuSize };
1
+ import { a as _default, c as NavHeadingMenuItemEmits, d as NavMenuEmits, f as NavMenuItemEmits, g as NavMenuSize, h as NavMenuFocusRequest, i as _default$1, l as NavHeadingMenuItemProps, m as NavMenuProps, n as _default$3, o as NavDisclosureProps, p as NavMenuItemProps, r as _default$2, s as NavHeadingMenuEmits, t as _default$4, u as NavHeadingMenuProps } from "../index-YmSe1ujk.js";
2
+ export { _default as NavDisclosure, type NavDisclosureProps, _default$1 as NavHeadingMenu, type NavHeadingMenuEmits, _default$2 as NavHeadingMenuItem, type NavHeadingMenuItemEmits, type NavHeadingMenuItemProps, type NavHeadingMenuProps, _default$3 as NavMenu, type NavMenuEmits, type NavMenuFocusRequest, _default$4 as NavMenuItem, type NavMenuItemEmits, type NavMenuItemProps, type NavMenuProps, type NavMenuSize };
@@ -1,3 +1,4 @@
1
- import { t as _sfc_main } from "../NavDisclosure-DbYLDXK0.js";
2
- import { n as _sfc_main$1, t as _sfc_main$2 } from "../NavMenuItem-DrwIMHKO.js";
3
- export { _sfc_main as NavDisclosure, _sfc_main$1 as NavMenu, _sfc_main$2 as NavMenuItem };
1
+ import { t as _sfc_main } from "../NavDisclosure-C6sPZ89n.js";
2
+ import { n as _sfc_main$1, t as _sfc_main$2 } from "../NavMenu-ClIgMaxE.js";
3
+ import { n as _sfc_main$3, t as _sfc_main$4 } from "../NavMenuItem-E7S8gBh-.js";
4
+ export { _sfc_main as NavDisclosure, _sfc_main$1 as NavHeadingMenu, _sfc_main$2 as NavHeadingMenuItem, _sfc_main$3 as NavMenu, _sfc_main$4 as NavMenuItem };
@@ -0,0 +1,176 @@
1
+ import { t as useListFocus } from "./useListFocus-D0iOJl39.js";
2
+ import { t as useTypeahead } from "./useTypeahead-PAK8lMYz.js";
3
+ import { i as navMenuKey, n as navMenuCloseKey, r as navMenuFocusKey } from "./NavDisclosure-C6sPZ89n.js";
4
+ import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, watch, withCtx } from "vue";
5
+ import "../styles/nav-menu.css";
6
+ //#region src/NavMenu/NavHeadingMenu.vue
7
+ const _hoisted_1$1 = ["aria-label"];
8
+ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
9
+ name: "AstryxNavHeadingMenu",
10
+ __name: "NavHeadingMenu",
11
+ props: {
12
+ label: {},
13
+ size: { default: "md" },
14
+ minWidth: {},
15
+ focusRequest: { default: null }
16
+ },
17
+ emits: ["close"],
18
+ setup(__props, { emit: __emit }) {
19
+ const props = __props;
20
+ const emit = __emit;
21
+ const closeMenu = inject(navMenuCloseKey, void 0);
22
+ const injectedFocus = inject(navMenuFocusKey, ref(null));
23
+ const size = computed(() => props.size);
24
+ const requestedFocus = computed(() => props.focusRequest ?? injectedFocus.value);
25
+ const { listRef, handleKeyDown, focusItem } = useListFocus({
26
+ itemSelector: "[role=\"menuitem\"]:not([aria-disabled=\"true\"])",
27
+ onEscape: () => {
28
+ closeMenu?.();
29
+ emit("close");
30
+ },
31
+ orientation: "vertical"
32
+ });
33
+ function menuItems() {
34
+ const root = listRef.value;
35
+ if (!root) return [];
36
+ return [...root.querySelectorAll("[role=\"menuitem\"]:not([aria-disabled=\"true\"])")];
37
+ }
38
+ const typeahead = useTypeahead({
39
+ getItemLabels: () => menuItems().map((element) => element.textContent),
40
+ onMatch: focusItem,
41
+ getCurrentIndex: () => menuItems().findIndex((element) => element === document.activeElement || element.contains(document.activeElement))
42
+ });
43
+ function onKeyDown(event) {
44
+ if (event.key === "Enter" || event.key === " ") {
45
+ const focused = document.activeElement;
46
+ if (focused instanceof HTMLElement && focused.getAttribute("role") === "menuitem") {
47
+ event.preventDefault();
48
+ focused.click();
49
+ return;
50
+ }
51
+ }
52
+ if (typeahead.onKeyDown(event)) {
53
+ event.preventDefault();
54
+ return;
55
+ }
56
+ handleKeyDown(event);
57
+ }
58
+ function applyFocus(request) {
59
+ if (request == null) return;
60
+ nextTick(() => {
61
+ const items = menuItems();
62
+ if (items.length === 0) return;
63
+ focusItem(request === "last" ? items.length - 1 : 0);
64
+ });
65
+ }
66
+ onMounted(() => applyFocus(requestedFocus.value));
67
+ watch(requestedFocus, applyFocus);
68
+ const minWidthStyle = computed(() => {
69
+ if (props.minWidth == null) return void 0;
70
+ return { minWidth: typeof props.minWidth === "number" ? `${props.minWidth}px` : props.minWidth };
71
+ });
72
+ provide(navMenuKey, {
73
+ close: () => {
74
+ closeMenu?.();
75
+ emit("close");
76
+ },
77
+ size
78
+ });
79
+ return (_ctx, _cache) => {
80
+ return openBlock(), createElementBlock("div", {
81
+ ref_key: "listRef",
82
+ ref: listRef,
83
+ class: normalizeClass(["astryx-nav-heading-menu astryx-nav-menu", `astryx-nav-menu--${size.value}`]),
84
+ role: "menu",
85
+ tabindex: "-1",
86
+ "aria-label": __props.label,
87
+ style: normalizeStyle(minWidthStyle.value),
88
+ onKeydown: onKeyDown
89
+ }, [renderSlot(_ctx.$slots, "default")], 46, _hoisted_1$1);
90
+ };
91
+ }
92
+ });
93
+ //#endregion
94
+ //#region src/NavMenu/NavHeadingMenuItem.vue
95
+ const _hoisted_1 = {
96
+ key: 0,
97
+ class: "astryx-nav-menu-item__icon",
98
+ "aria-hidden": "true"
99
+ };
100
+ const _hoisted_2 = { class: "astryx-nav-menu-item__text" };
101
+ const _hoisted_3 = {
102
+ key: 0,
103
+ class: "astryx-nav-menu-item__label"
104
+ };
105
+ const _hoisted_4 = {
106
+ key: 1,
107
+ class: "astryx-nav-menu-item__label"
108
+ };
109
+ const _hoisted_5 = {
110
+ key: 2,
111
+ class: "astryx-nav-menu-item__description"
112
+ };
113
+ const _sfc_main = /*@__PURE__*/ defineComponent({
114
+ name: "AstryxNavHeadingMenuItem",
115
+ __name: "NavHeadingMenuItem",
116
+ props: {
117
+ label: {},
118
+ description: {},
119
+ href: {},
120
+ as: {},
121
+ iconClass: {},
122
+ isDisabled: {
123
+ type: Boolean,
124
+ default: false
125
+ }
126
+ },
127
+ emits: ["click"],
128
+ setup(__props, { emit: __emit }) {
129
+ const props = __props;
130
+ const emit = __emit;
131
+ const menu = inject(navMenuKey, null);
132
+ const closeMenu = inject(navMenuCloseKey, void 0);
133
+ const size = computed(() => menu?.size.value ?? "md");
134
+ const isLink = computed(() => props.href != null && props.href !== "" && !props.isDisabled);
135
+ const root = computed(() => {
136
+ if (!isLink.value) return "div";
137
+ return props.as == null ? "a" : toRaw(props.as);
138
+ });
139
+ function onClick(event) {
140
+ if (props.isDisabled) {
141
+ event.preventDefault();
142
+ return;
143
+ }
144
+ const preventedBeforeItem = event.defaultPrevented;
145
+ emit("click", event);
146
+ if (!preventedBeforeItem && event.defaultPrevented) return;
147
+ if (menu) menu.close();
148
+ else closeMenu?.();
149
+ }
150
+ return (_ctx, _cache) => {
151
+ return openBlock(), createBlock(resolveDynamicComponent(root.value), {
152
+ class: normalizeClass(["astryx-nav-heading-menu-item astryx-nav-menu-item", [`astryx-nav-menu-item--${size.value}`, { "astryx-nav-menu-item--disabled": __props.isDisabled }]]),
153
+ role: "menuitem",
154
+ href: isLink.value ? __props.href : void 0,
155
+ to: isLink.value && __props.as != null ? __props.href : void 0,
156
+ "aria-disabled": __props.isDisabled || void 0,
157
+ tabindex: __props.isDisabled ? void 0 : -1,
158
+ onClick
159
+ }, {
160
+ default: withCtx(() => [__props.iconClass || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_1, [renderSlot(_ctx.$slots, "icon", {}, () => [__props.iconClass ? (openBlock(), createElementBlock("span", {
161
+ key: 0,
162
+ class: normalizeClass(["astryx-nav-menu-item__glyph", __props.iconClass])
163
+ }, null, 2)) : createCommentVNode("v-if", true)])])) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_2, [_ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_3, [renderSlot(_ctx.$slots, "default")])) : (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(__props.label), 1)), __props.description ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(__props.description), 1)) : createCommentVNode("v-if", true)])]),
164
+ _: 3
165
+ }, 8, [
166
+ "class",
167
+ "href",
168
+ "to",
169
+ "aria-disabled",
170
+ "tabindex"
171
+ ]);
172
+ };
173
+ }
174
+ });
175
+ //#endregion
176
+ export { _sfc_main$1 as n, _sfc_main as t };
@@ -1,6 +1,6 @@
1
1
  import { t as useListFocus } from "./useListFocus-D0iOJl39.js";
2
2
  import { n as resolveNavRoot } from "./link-CdcUSxAj.js";
3
- import { n as navMenuCloseKey, r as navMenuKey } from "./NavDisclosure-DbYLDXK0.js";
3
+ import { i as navMenuKey, n as navMenuCloseKey } from "./NavDisclosure-C6sPZ89n.js";
4
4
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, nextTick, normalizeClass, onMounted, openBlock, provide, renderSlot, resolveDynamicComponent, toDisplayString, watch, withCtx } from "vue";
5
5
  import "../styles/nav-menu.css";
6
6
  //#region src/NavMenu/NavMenu.vue
@@ -1,2 +1,2 @@
1
- import { i as NumberInputStatus, n as NumberInputEmits, r as NumberInputProps, t as _default } from "../index-DAiGhkNZ.js";
1
+ import { i as NumberInputStatus, n as NumberInputEmits, r as NumberInputProps, t as _default } from "../index-CFIXnk5D.js";
2
2
  export { _default as NumberInput, type NumberInputEmits, type NumberInputProps, type NumberInputStatus };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../NumberInput-CBeU4lEl.js";
1
+ import { t as _sfc_main } from "../NumberInput-B4IL3s_8.js";
2
2
  export { _sfc_main as NumberInput };
@@ -1,5 +1,5 @@
1
+ import { o as useAstryxMessages } from "./context-CPh7kE-a.js";
1
2
  import { t as useNumberField } from "./useNumberField-DL-Radsp.js";
2
- import { a as useAstryxMessages } from "./context-DmOLCubj.js";
3
3
  import { t as _sfc_main$1 } from "./FieldIcon--NTgW5IU.js";
4
4
  import { t as _sfc_main$2 } from "./Field-8zRxzDHE.js";
5
5
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, guardReactiveProps, normalizeClass, normalizeProps, openBlock, ref, resolveDynamicComponent, toDisplayString, unref, useId, withCtx } from "vue";
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Outline--HVMSB6i.js";
1
+ import { t as _sfc_main } from "../Outline-DBUuchi9.js";
2
2
  export { _sfc_main as Outline };
@@ -1,5 +1,5 @@
1
+ import { o as useAstryxMessages } from "./context-CPh7kE-a.js";
1
2
  import { t as useListFocus } from "./useListFocus-D0iOJl39.js";
2
- import { a as useAstryxMessages } from "./context-DmOLCubj.js";
3
3
  import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderList, toDisplayString, toRef, unref, watch } from "vue";
4
4
  import "../styles/outline.css";
5
5
  //#region src/Outline/scrollGeometry.ts
@@ -1,2 +1,2 @@
1
- import { Cn as _default, En as OverflowListProps, Tn as OverflowListItem, wn as OverflowListEmits } from "../index-BTAgQRP0.js";
1
+ import { Dn as OverflowListItem, En as OverflowListEmits, On as OverflowListProps, Tn as _default } from "../index-EtZgovdH.js";
2
2
  export { _default as OverflowList, type OverflowListEmits, type OverflowListItem, type OverflowListProps };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../OverflowList-FMh7r-r_.js";
1
+ import { t as _sfc_main } from "../OverflowList-aDd_oem0.js";
2
2
  export { _sfc_main as OverflowList };
@@ -1,8 +1,8 @@
1
+ import { o as useAstryxMessages } from "./context-CPh7kE-a.js";
1
2
  import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
2
- import { a as useAstryxMessages } from "./context-DmOLCubj.js";
3
3
  import { n as resolveNavRoot } from "./link-CdcUSxAj.js";
4
- import { t as _sfc_main$2 } from "./NavDisclosure-DbYLDXK0.js";
5
- import { n as _sfc_main$3, t as _sfc_main$4 } from "./NavMenuItem-DrwIMHKO.js";
4
+ import { t as _sfc_main$2 } from "./NavDisclosure-C6sPZ89n.js";
5
+ import { n as _sfc_main$3, t as _sfc_main$4 } from "./NavMenuItem-E7S8gBh-.js";
6
6
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, withCtx } from "vue";
7
7
  import "../styles/overflow-list.css";
8
8
  //#region src/OverflowList/OverflowMore.vue
@@ -1,2 +1,2 @@
1
- import { a as PaginationSlots, i as PaginationSize, n as PaginationEmits, o as PaginationVariant, r as PaginationProps, t as _default } from "../index-D8o50qOE.js";
1
+ import { a as PaginationSlots, i as PaginationSize, n as PaginationEmits, o as PaginationVariant, r as PaginationProps, t as _default } from "../index-cL3q7O4R.js";
2
2
  export { _default as Pagination, type PaginationEmits, type PaginationProps, type PaginationSize, type PaginationSlots, type PaginationVariant };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Pagination-DlIvESjx.js";
1
+ import { t as _sfc_main } from "../Pagination-CNe9F6Fl.js";
2
2
  export { _sfc_main as Pagination };