@astryx-vue/core 0.21.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (264) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-0UUojm_Q.js → AlertDialog-VD9PadlM.js} +4 -4
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-6rvfUu8p.js → AppShell-C4XGguw0.js} +19 -4
  5. package/dist/Avatar/index.js +1 -1
  6. package/dist/{Avatar-CXpGcula.js → Avatar-CAweS1WY.js} +1 -1
  7. package/dist/AvatarGroup/index.d.ts +1 -1
  8. package/dist/Banner/index.d.ts +1 -1
  9. package/dist/Banner/index.js +1 -1
  10. package/dist/{Banner-fmkd6nXw.js → Banner-DnK7bKAb.js} +1 -1
  11. package/dist/BottomSheet/index.d.ts +1 -1
  12. package/dist/BottomSheet/index.js +2 -2
  13. package/dist/{BottomSheet-DqAuZBgA.js → BottomSheet-C4OU3mJT.js} +3 -3
  14. package/dist/{BottomSheet-DrKtyVVo.js → BottomSheet-CM0-eaUF.js} +4 -4
  15. package/dist/Breadcrumbs/index.js +1 -1
  16. package/dist/{Breadcrumbs-uaApwhFB.js → Breadcrumbs-DZAgtC9c.js} +4 -1
  17. package/dist/Button/index.d.ts +1 -1
  18. package/dist/Button/index.js +1 -1
  19. package/dist/{Button-CQAjaQa0.js → Button-Blnc0yB3.js} +3 -3
  20. package/dist/ButtonGroup/index.d.ts +1 -1
  21. package/dist/Calendar/index.d.ts +1 -1
  22. package/dist/Carousel/index.d.ts +1 -1
  23. package/dist/Carousel/index.js +1 -1
  24. package/dist/{Carousel-C3O9Uavl.js → Carousel-CB4Iap-B.js} +1 -1
  25. package/dist/Center/index.d.ts +1 -1
  26. package/dist/Chat/index.d.ts +1 -1
  27. package/dist/Chat/index.js +1 -1
  28. package/dist/{Chat-CmjK6fBy.js → Chat-DjJPQ9bX.js} +5 -5
  29. package/dist/CheckboxInput/index.d.ts +1 -1
  30. package/dist/CheckboxInput/index.js +1 -1
  31. package/dist/{CheckboxInput-D6ow4VuS.js → CheckboxInput-CGTPmOHs.js} +1 -1
  32. package/dist/CheckboxList/index.d.ts +1 -1
  33. package/dist/CheckboxList/index.js +1 -1
  34. package/dist/{CheckboxList-CPaRsgRQ.js → CheckboxList-CGzHkA95.js} +3 -3
  35. package/dist/ClickableCard/index.d.ts +1 -1
  36. package/dist/Code/index.d.ts +1 -1
  37. package/dist/Code/index.js +1 -1
  38. package/dist/{CodeBlock-DMG9rLQN.js → CodeBlock-CwQCMSKA.js} +1 -1
  39. package/dist/CommandPalette/index.d.ts +1 -1
  40. package/dist/CommandPalette/index.js +1 -1
  41. package/dist/{CommandPalette-CmOytlWq.js → CommandPalette-DBOETNGM.js} +2 -2
  42. package/dist/ComplexSelector/index.js +1 -1
  43. package/dist/{ComplexSelector-mfEoIHtI.js → ComplexSelector-CNBH2t6W.js} +2 -2
  44. package/dist/ContextMenu/index.d.ts +1 -1
  45. package/dist/ContextMenu/index.js +1 -1
  46. package/dist/{ContextMenu-DDvOR25x.js → ContextMenu-CUwAPrVP.js} +5 -5
  47. package/dist/DateInput/index.d.ts +1 -1
  48. package/dist/DateInput/index.js +1 -1
  49. package/dist/{DateInput-pDh6H44y.js → DateInput-BQ-3bvV5.js} +4 -4
  50. package/dist/DateRangeInput/index.d.ts +1 -1
  51. package/dist/DateRangeInput/index.js +1 -1
  52. package/dist/{DateRangeInput-CQDfoXX5.js → DateRangeInput-DFXz4vNX.js} +3 -3
  53. package/dist/DateTimeInput/index.d.ts +1 -1
  54. package/dist/DateTimeInput/index.js +1 -1
  55. package/dist/{DateTimeInput-CZjere9H.js → DateTimeInput-BHO4nXKW.js} +5 -5
  56. package/dist/Dialog/index.d.ts +1 -1
  57. package/dist/Dialog/index.js +3 -3
  58. package/dist/{Dialog-BRlZ7n83.js → Dialog-BCPhWMxL.js} +3 -3
  59. package/dist/{Dialog-XIB0KZ-m.js → Dialog-Dx6zuttb.js} +1 -1
  60. package/dist/{DialogHeader-DF6jFDq3.js → DialogHeader-C9fp2Rti.js} +2 -2
  61. package/dist/Divider/index.d.ts +1 -1
  62. package/dist/Drawer/index.d.ts +1 -1
  63. package/dist/Drawer/index.js +1 -1
  64. package/dist/{Drawer-BYUELPLs.js → Drawer--2vLSKY_.js} +2 -2
  65. package/dist/DropdownMenu/index.js +2 -2
  66. package/dist/{DropdownMenu-DY3yFENC.js → DropdownMenu-BImEVieZ.js} +4 -4
  67. package/dist/{DropdownMenu-BBXFl5Mu.js → DropdownMenu-CskkQAAz.js} +7 -7
  68. package/dist/EmptyState/index.js +1 -1
  69. package/dist/{EmptyState-cs-L9Ovg.js → EmptyState-Dq3NWNnG.js} +3 -3
  70. package/dist/Field/index.js +3 -3
  71. package/dist/{Field-BQ3q-K5D.js → Field-DsucLkyQ.js} +1 -1
  72. package/dist/{FieldInfoTip-MgGzYEq0.js → FieldInfoTip-1zW3QTQG.js} +1 -1
  73. package/dist/{FieldLabel-yH6KAVyU.js → FieldLabel-D9uFPtXs.js} +1 -1
  74. package/dist/FileInput/index.d.ts +1 -1
  75. package/dist/FileInput/index.js +1 -1
  76. package/dist/{FileInput-R8CqJrA5.js → FileInput-DLtHinlh.js} +2 -2
  77. package/dist/Heading/index.js +1 -1
  78. package/dist/{Heading-DkCkHEG-.js → Heading-DBBChghq.js} +1 -1
  79. package/dist/HoverCard/index.d.ts +1 -1
  80. package/dist/HoverCard/index.js +1 -1
  81. package/dist/{HoverCard-D0KqUCXI.js → HoverCard-BW-bOUZI.js} +4 -4
  82. package/dist/IconButton/index.js +1 -1
  83. package/dist/{IconButton-DR9_545-.js → IconButton-CIUbkA8_.js} +1 -1
  84. package/dist/InfoTip/index.d.ts +1 -1
  85. package/dist/InfoTip/index.js +1 -1
  86. package/dist/{InfoTip-BfgtAgck.js → InfoTip-C71T8lv_.js} +1 -1
  87. package/dist/{InputClearButton-DaFtlyKR.js → InputClearButton-h0BxBXu1.js} +1 -1
  88. package/dist/InputGroup/index.js +1 -1
  89. package/dist/{InputGroup-1CLPKULR.js → InputGroup-DHPTru5v.js} +1 -1
  90. package/dist/{LayerContentBoundary-lxUfJk2v.js → LayerContentBoundary-DxeAFxNJ.js} +1 -1
  91. package/dist/Lightbox/index.js +1 -1
  92. package/dist/{Lightbox-DyaSfJix.js → Lightbox-B3WP06Qt.js} +3 -3
  93. package/dist/Link/index.d.ts +1 -1
  94. package/dist/Link/index.js +1 -1
  95. package/dist/{Link-JVAfvoxT.js → Link-CQK9d_Yf.js} +1 -1
  96. package/dist/List/index.d.ts +1 -1
  97. package/dist/Markdown/index.d.ts +1 -1
  98. package/dist/Markdown/index.js +1 -1
  99. package/dist/{Markdown-DtnPfhP0.js → Markdown-BVXFWJT0.js} +3 -3
  100. package/dist/MobileNav/index.js +2 -1
  101. package/dist/{MobileNavToggle-CPNsCIFR.js → MobileNavToggle-DGZPwsf9.js} +6 -8
  102. package/dist/MoreMenu/index.d.ts +1 -1
  103. package/dist/MoreMenu/index.js +1 -1
  104. package/dist/{MoreMenu-DQjrchg5.js → MoreMenu-Q_KpDTNB.js} +4 -4
  105. package/dist/MultiSelector/index.d.ts +1 -1
  106. package/dist/MultiSelector/index.js +1 -1
  107. package/dist/{MultiSelector-sJ-LUrze.js → MultiSelector-CzGsdjcl.js} +7 -7
  108. package/dist/{NavDisclosure-CE79mxpa.js → NavDisclosure-DIYayUrP.js} +13 -4
  109. package/dist/{NavHeadingSurface-EsNdvhx7.js → NavHeadingSurface-bFcFpeMI.js} +15 -14
  110. package/dist/NavItem/index.d.ts +1 -1
  111. package/dist/NavMenu/index.js +3 -3
  112. package/dist/{NavMenu-_Mo1yWZC.js → NavMenu-DYvMKPU_.js} +8 -6
  113. package/dist/{NavMenuItem-CDHKFOKi.js → NavMenuItem-Ccix-agv.js} +7 -4
  114. package/dist/NumberInput/index.d.ts +1 -1
  115. package/dist/NumberInput/index.js +1 -1
  116. package/dist/{NumberInput-Bpc2c39W.js → NumberInput-DTksMfSU.js} +3 -3
  117. package/dist/OverflowList/index.d.ts +1 -1
  118. package/dist/OverflowList/index.js +1 -1
  119. package/dist/{OverflowList-Dx_Iw8xd.js → OverflowList-DKM7TeUs.js} +2 -2
  120. package/dist/Pagination/index.d.ts +1 -1
  121. package/dist/Pagination/index.js +1 -1
  122. package/dist/{Pagination-D7sbjDKw.js → Pagination-B-O21ut1.js} +271 -135
  123. package/dist/Popover/index.d.ts +1 -1
  124. package/dist/Popover/index.js +1 -1
  125. package/dist/{Popover-Bhi0b1x0.js → Popover-BtfsoxXC.js} +6 -6
  126. package/dist/PowerSearch/index.d.ts +1 -1
  127. package/dist/PowerSearch/index.js +1 -1
  128. package/dist/{PowerSearch-B13bgXSs.js → PowerSearch-CniqThU7.js} +16 -16
  129. package/dist/ProgressBar/index.d.ts +1 -1
  130. package/dist/ProgressBar/index.js +1 -1
  131. package/dist/{ProgressBar-BtEaKOhz.js → ProgressBar-DOusesCL.js} +1 -1
  132. package/dist/Radio/index.d.ts +1 -1
  133. package/dist/Radio/index.js +1 -1
  134. package/dist/{RadioGroup-CFqN0t92.js → RadioGroup-CRwMwMw4.js} +2 -2
  135. package/dist/RadioList/index.d.ts +1 -1
  136. package/dist/RadioList/index.js +1 -1
  137. package/dist/{RadioList-DVNkGcpc.js → RadioList-PUlENMq5.js} +1 -1
  138. package/dist/Resizable/index.d.ts +1 -1
  139. package/dist/ScrollableArea/index.d.ts +1 -1
  140. package/dist/SegmentedControl/index.d.ts +1 -1
  141. package/dist/SelectableCard/index.d.ts +1 -1
  142. package/dist/Selector/index.d.ts +1 -1
  143. package/dist/Selector/index.js +1 -1
  144. package/dist/{Selector-sGqS3qNy.js → Selector-Qs1rFiI6.js} +6 -6
  145. package/dist/SideNav/index.d.ts +1 -1
  146. package/dist/SideNav/index.js +1 -1
  147. package/dist/{SideNav-Dw9MydVe.js → SideNav-BUfUwE2P.js} +11 -6
  148. package/dist/Slider/index.js +1 -1
  149. package/dist/{Slider-BkVTjzrx.js → Slider-BbiQbyie.js} +2 -2
  150. package/dist/Stack/index.d.ts +1 -1
  151. package/dist/StatusDot/index.js +1 -1
  152. package/dist/{StatusDot-D4S8b-FU.js → StatusDot-DhfcDBE7.js} +1 -1
  153. package/dist/Stepper/index.d.ts +1 -1
  154. package/dist/Switch/index.d.ts +1 -1
  155. package/dist/Switch/index.js +1 -1
  156. package/dist/{Switch-DU-MRs1W.js → Switch-CMK5bICl.js} +1 -1
  157. package/dist/TabList/index.d.ts +1 -1
  158. package/dist/TabList/index.js +1 -1
  159. package/dist/{TabList-CmB55DUS.js → TabList-Bd3h7Nj3.js} +61 -22
  160. package/dist/Table/index.d.ts +1 -1
  161. package/dist/Table/index.js +1 -1
  162. package/dist/{Table-BUh0OjeU.js → Table-DN9mo-cQ.js} +11 -11
  163. package/dist/Text/index.js +1 -1
  164. package/dist/{Text-BBQUFWb_.js → Text-Dez23ltM.js} +1 -1
  165. package/dist/TextArea/index.d.ts +1 -1
  166. package/dist/TextArea/index.js +1 -1
  167. package/dist/{TextArea-BVppzw5n.js → TextArea-BsGUOyDg.js} +4 -4
  168. package/dist/TextInput/index.d.ts +1 -1
  169. package/dist/TextInput/index.js +1 -1
  170. package/dist/{TextInput-CmxKsaUt.js → TextInput-DZi0EMh-.js} +4 -4
  171. package/dist/Thumbnail/index.js +1 -1
  172. package/dist/{Thumbnail-_KR0IRj-.js → Thumbnail-CsmF1HTP.js} +2 -2
  173. package/dist/{TimeField-Dbr2MOqX.js → TimeField-DqOPj5s2.js} +4 -4
  174. package/dist/TimeInput/index.d.ts +1 -1
  175. package/dist/TimeInput/index.js +1 -1
  176. package/dist/{TimeInput-hzZ3tuAw.js → TimeInput-CA3kXBWB.js} +2 -2
  177. package/dist/Timer/index.js +1 -1
  178. package/dist/{Timer-UnFtEgGb.js → Timer-vubjQ88x.js} +1 -1
  179. package/dist/Timestamp/index.d.ts +1 -1
  180. package/dist/Timestamp/index.js +1 -1
  181. package/dist/{Timestamp-DiPZTa4W.js → Timestamp-Cz_0Ofj4.js} +3 -3
  182. package/dist/Toast/index.js +1 -1
  183. package/dist/{Toast-kV5KuJdD.js → Toast-DhJNtBjT.js} +1 -1
  184. package/dist/ToggleButton/index.d.ts +1 -1
  185. package/dist/ToggleButton/index.js +1 -1
  186. package/dist/{ToggleButton-DZ3n-izd.js → ToggleButton-BR_qVBEt.js} +1 -1
  187. package/dist/Token/index.d.ts +1 -1
  188. package/dist/Tokenizer/index.d.ts +1 -1
  189. package/dist/Tokenizer/index.js +1 -1
  190. package/dist/{Tokenizer-e8BisAF8.js → Tokenizer-C3pXgLmC.js} +5 -5
  191. package/dist/Toolbar/index.d.ts +1 -1
  192. package/dist/Tooltip/index.d.ts +1 -1
  193. package/dist/Tooltip/index.js +2 -2
  194. package/dist/{Tooltip-CPyoc4cM.js → Tooltip-BUHvOnE1.js} +1 -1
  195. package/dist/TopNav/index.d.ts +1 -1
  196. package/dist/TopNav/index.js +1 -1
  197. package/dist/{TopNav-OOGD2uOp.js → TopNav-klsRhS-I.js} +168 -61
  198. package/dist/TreeList/index.d.ts +1 -1
  199. package/dist/Typeahead/index.d.ts +1 -1
  200. package/dist/Typeahead/index.js +2 -2
  201. package/dist/{Typeahead--CFFYPMl.js → Typeahead-BaPqX3Ey.js} +5 -5
  202. package/dist/{assertOptions-DLEhkmM-.js → assertOptions-DF9pum-3.js} +1 -1
  203. package/dist/closeOnActivate-D1KgKWwm.js +13 -0
  204. package/dist/composables/index.js +11 -11
  205. package/dist/{composables-DSx0MWv0.js → composables-BDWdSCwe.js} +2 -2
  206. package/dist/context-D8MAZio1.js +7 -0
  207. package/dist/{focusReturn-CiSQAp52.js → focusReturn-CsEp47Wa.js} +1 -1
  208. package/dist/{index-BOzyKBg8.d.ts → index--CtH4lQr.d.ts} +5 -5
  209. package/dist/{index-BgT6mH3U.d.ts → index-BB9acgK8.d.ts} +1 -1
  210. package/dist/{index-ZbNwGVkS.d.ts → index-BKnyTWPM.d.ts} +1 -1
  211. package/dist/{index-DFLPv9io.d.ts → index-BOCb89V9.d.ts} +2 -2
  212. package/dist/{index-B8K2sDmO.d.ts → index-BhxqUt3y.d.ts} +2 -2
  213. package/dist/{index-CNzSg1OM.d.ts → index-BkxWKIV_.d.ts} +7 -7
  214. package/dist/{index-PffxihMx.d.ts → index-BmXk_doE.d.ts} +3 -3
  215. package/dist/{index-DGXCnzOL.d.ts → index-BrMtj1lT.d.ts} +4 -4
  216. package/dist/{index-BJputYk6.d.ts → index-BvW0tiei.d.ts} +4 -4
  217. package/dist/{index-ChqMaV6N.d.ts → index-Bzi3A980.d.ts} +1 -1
  218. package/dist/{index-51CkIKnI.d.ts → index-C93nwgTW.d.ts} +1 -1
  219. package/dist/{index-CiVrhGUJ.d.ts → index-C9ZssPUV.d.ts} +1 -1
  220. package/dist/{index-Cm36VS1A.d.ts → index-C9uW39Mj.d.ts} +1 -1
  221. package/dist/{index-DSoQE84m.d.ts → index-CAKT4Kkz.d.ts} +64 -50
  222. package/dist/{index-DB1EP38S.d.ts → index-CG3fD4hw.d.ts} +2 -2
  223. package/dist/{index-C4S65SAW.d.ts → index-CKnr0JlT.d.ts} +1 -1
  224. package/dist/{index-B-3EGjfQ.d.ts → index-CO9GW-ik.d.ts} +1 -1
  225. package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
  226. package/dist/{index-BZNoML0r.d.ts → index-D0MA9x_i.d.ts} +9 -9
  227. package/dist/{index-FeZXsFO-.d.ts → index-DDrL_-hJ.d.ts} +1 -1
  228. package/dist/{index-Dge6tyPE.d.ts → index-DIw5D3zj.d.ts} +2 -2
  229. package/dist/{index-BL4mH8aK.d.ts → index-DMN_JVEt.d.ts} +1 -1
  230. package/dist/{index-MvrDMqnQ.d.ts → index-DYabo8TI.d.ts} +1 -1
  231. package/dist/{index-Cb-rvc1W.d.ts → index-DofC9Rll.d.ts} +1 -1
  232. package/dist/{index-fz8XqpNd.d.ts → index-DogWVRJi.d.ts} +15 -2
  233. package/dist/{index-B6svLvfZ.d.ts → index-Qdbssopn.d.ts} +1 -1
  234. package/dist/{index-BaFphczL.d.ts → index-YKCx03zD.d.ts} +2 -2
  235. package/dist/{index-DFTrqCmp.d.ts → index-rzkX36wM.d.ts} +3 -3
  236. package/dist/index.d.ts +29 -29
  237. package/dist/index.js +85 -85
  238. package/dist/{interactionModality-JFDvbtbb.js → interactionModality-CyU67ucP.js} +7 -2
  239. package/dist/{layerFocusReturn-DJ5mlqYj.js → layerFocusReturn-BeCsk_4F.js} +1 -1
  240. package/dist/{stillPointerGate-BTISispN.js → stillPointerGate-BX4vr5M-.js} +1 -1
  241. package/dist/{tooltipFocusRules-DPsyi9L5.js → tooltipFocusRules-BnZ1zwAm.js} +2 -2
  242. package/dist/{tooltipTriggerRules-Dazz57_v.js → tooltipTriggerRules-BLBEkBcK.js} +1 -1
  243. package/dist/{useCombobox-DTDT9dRx.js → useCombobox-DcBbaWYj.js} +1 -1
  244. package/dist/{useDismiss-N66C48zd.js → useDismiss-C1dyveme.js} +1 -1
  245. package/dist/{useFocusTrap-DzspshsM.js → useFocusTrap-DAKJJP0Z.js} +2 -2
  246. package/dist/{useInputStatusIcon-D1WRYTOZ.js → useInputStatusIcon-BDWAijXe.js} +1 -1
  247. package/dist/{useMenuPress-Cm7LVmHJ.js → useMenuPress-3203ryBY.js} +2 -2
  248. package/dist/{useResizable-C9FtmPir.js → useResizable-wZU54yCO.js} +1 -1
  249. package/dist/{useRestoreFocus-CEbfcwWb.js → useRestoreFocus-v8-FFcQQ.js} +2 -2
  250. package/dist/{useTooltip-BfOruqIL.js → useTooltip-0_wOd0e5.js} +5 -5
  251. package/dist/{useTouchTriggerInternal-TQnpDkL0.js → useTouchTriggerInternal-DwzthF8T.js} +1 -1
  252. package/dist/{useTruncationTooltip-CbzoB-1m.js → useTruncationTooltip-BDIe7-ya.js} +4 -4
  253. package/dist/{useTypeahead-BGmDZyPB.js → useTypeahead-BlqvS9x9.js} +1 -1
  254. package/dist/{useTypeaheadMenuConfig-BZaduAP4.js → useTypeaheadMenuConfig-CIf9Ep57.js} +2 -2
  255. package/package.json +1 -1
  256. package/styles/app-shell.css +36 -0
  257. package/styles/breadcrumbs.css +1 -0
  258. package/styles/nav-item.css +9 -3
  259. package/styles/nav-menu.css +3 -0
  260. package/styles/pagination.css +2 -2
  261. package/styles/tab-list.css +7 -3
  262. package/styles/tab-menu.css +1 -0
  263. package/styles/top-nav.css +141 -11
  264. package/dist/{index-5FGt4HsB.d.ts → index-BqhgeAT4.d.ts} +1 -1
@@ -1,36 +1,62 @@
1
- import { t as _sfc_main$8 } from "./Icon-BCHo7W0x.js";
1
+ import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
2
+ import { t as _sfc_main$9 } from "./Icon-BCHo7W0x.js";
2
3
  import { n as useLinkComponent } from "./context-C_peZbXf.js";
4
+ import { a as trackInteractionModality, n as getLastPointerType, t as getInteractionModality } from "./interactionModality-CyU67ucP.js";
3
5
  import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
4
6
  import { t as useListFocus } from "./useListFocus-CkHfsZp0.js";
5
7
  import { n as useAppShellMobile } from "./useAppShellMobile-DTsyuAJ4.js";
6
8
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
7
9
  import { t as navMessages } from "./nav-DpKQUHqR.js";
8
- import { n as _sfc_main$10, r as mobileNavKey, t as _sfc_main$9 } from "./MobileNavToggle-CPNsCIFR.js";
10
+ import { n as _sfc_main$11, t as _sfc_main$10 } from "./MobileNavToggle-DGZPwsf9.js";
11
+ import { n as mobileNavKey, t as mobileNavCloseKey } from "./context-D8MAZio1.js";
12
+ import { t as useCloseMobileDrawer } from "./closeOnActivate-D1KgKWwm.js";
9
13
  import { i as safeNavHref, n as isNavigableHref, r as resolveNavRoot } from "./link-DuuA2eCL.js";
10
- import { t as _sfc_main$11 } from "./NavItem-CB3loauj.js";
11
- import { n as navMenuCloseKey, t as _sfc_main$12 } from "./NavDisclosure-CE79mxpa.js";
12
- import { n as _sfc_main$14, t as _sfc_main$13 } from "./NavMenuItem-CDHKFOKi.js";
13
- import { t as _sfc_main$15 } from "./NavHeadingSurface-EsNdvhx7.js";
14
- import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, nextTick, normalizeClass, normalizeProps, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
14
+ import { t as _sfc_main$12 } from "./NavItem-CB3loauj.js";
15
+ import { n as navMenuCloseKey, o as navMenuPickKey, t as _sfc_main$13 } from "./NavDisclosure-DIYayUrP.js";
16
+ import { n as _sfc_main$15, t as _sfc_main$14 } from "./NavMenuItem-Ccix-agv.js";
17
+ import { t as _sfc_main$16 } from "./NavHeadingSurface-bFcFpeMI.js";
18
+ import { Fragment, Teleport, Text, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, nextTick, normalizeClass, normalizeProps, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, watch, withCtx, withModifiers } from "vue";
15
19
  import "../styles/top-nav.css";
20
+ //#region src/MobileNav/MobileNavScope.vue
21
+ const _sfc_main$8 = /*@__PURE__*/ defineComponent({
22
+ name: "AstryxMobileNavScope",
23
+ __name: "MobileNavScope",
24
+ props: { close: { type: Function } },
25
+ setup(__props) {
26
+ const props = __props;
27
+ provide(mobileNavKey, true);
28
+ provide(mobileNavCloseKey, () => props.close());
29
+ return (_ctx, _cache) => {
30
+ return renderSlot(_ctx.$slots, "default");
31
+ };
32
+ }
33
+ });
34
+ //#endregion
16
35
  //#region src/TopNav/TopNav.vue
17
- const _hoisted_1$5 = ["aria-label"];
36
+ const _hoisted_1$5 = ["data-mode", "aria-label"];
18
37
  const _hoisted_2$5 = { class: "astryx-top-nav__start" };
19
38
  const _hoisted_3$5 = {
20
39
  key: 0,
21
40
  class: "astryx-top-nav__heading"
22
41
  };
23
42
  const _hoisted_4$4 = {
43
+ key: 0,
44
+ class: "astryx-top-nav__heading-text"
45
+ };
46
+ const _hoisted_5$3 = {
24
47
  key: 1,
25
48
  class: "astryx-top-nav__items"
26
49
  };
27
- const _hoisted_5$2 = {
50
+ const _hoisted_6$2 = {
28
51
  key: 0,
29
52
  class: "astryx-top-nav__center"
30
53
  };
31
- const _hoisted_6 = { class: "astryx-top-nav__end" };
32
- const _hoisted_7 = { class: "astryx-top-nav__drawer" };
54
+ const _hoisted_7$1 = {
55
+ key: 1,
56
+ class: "astryx-top-nav__end"
57
+ };
33
58
  const _hoisted_8 = { class: "astryx-top-nav__drawer" };
59
+ const _hoisted_9 = { class: "astryx-top-nav__drawer" };
34
60
  const _sfc_main$7 = /*@__PURE__*/ defineComponent({
35
61
  name: "AstryxTopNav",
36
62
  __name: "TopNav",
@@ -49,9 +75,29 @@ const _sfc_main$7 = /*@__PURE__*/ defineComponent({
49
75
  const shellCompact = computed(() => shell.isMobile && shell.isMobileNavEnabled);
50
76
  const isCompact = computed(() => shellCompact.value || Boolean(props.mobileQuery) && queryMatches.value);
51
77
  const ownsDrawer = computed(() => isCompact.value && !shellCompact.value);
52
- const hasCenter = computed(() => slots.center != null);
53
- const hasDrawer = computed(() => slots.start != null || slots.default != null || slots.center != null);
54
- const showShellToggle = computed(() => shellCompact.value && shell.hasAutoToggle && (hasDrawer.value || shell.hasSideNav));
78
+ function hasHeading() {
79
+ return hasSlotContent(slots.heading);
80
+ }
81
+ function hasCenter() {
82
+ return hasSlotContent(slots.center);
83
+ }
84
+ function hasStart() {
85
+ return hasSlotContent(slots.start) || hasSlotContent(slots.default);
86
+ }
87
+ function hasEnd() {
88
+ return hasSlotContent(slots.end);
89
+ }
90
+ function hasDrawer() {
91
+ return hasStart() || hasCenter();
92
+ }
93
+ /** 手机条上纯文字的标题没有能裁剪它的盒子,包一层把它收在一行内。 */
94
+ function headingIsPlainText() {
95
+ const nodes = slots.heading?.() ?? [];
96
+ return nodes.length > 0 && nodes.every((node) => node.type === Text);
97
+ }
98
+ function showShellToggle() {
99
+ return shellCompact.value && shell.hasAutoToggle && (hasDrawer() || shell.hasSideNav);
100
+ }
55
101
  function setShellOpen(next) {
56
102
  if (next) shell.openMobileNav();
57
103
  else shell.closeMobileNav();
@@ -60,39 +106,47 @@ const _sfc_main$7 = /*@__PURE__*/ defineComponent({
60
106
  return (_ctx, _cache) => {
61
107
  return openBlock(), createElementBlock(Fragment, null, [
62
108
  createElementVNode("nav", {
63
- class: normalizeClass(["astryx-top-nav", { "astryx-top-nav--centered": hasCenter.value && !isCompact.value }]),
109
+ class: normalizeClass(["astryx-top-nav", {
110
+ "astryx-top-nav--centered": hasCenter() && !isCompact.value,
111
+ "astryx-top-nav--compact": isCompact.value
112
+ }]),
113
+ "data-mode": isCompact.value ? "mobile-bar" : void 0,
64
114
  "aria-label": label.value
65
115
  }, [
66
- createElementVNode("div", _hoisted_2$5, [unref(slots).heading ? (openBlock(), createElementBlock("div", _hoisted_3$5, [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)]),
67
- hasCenter.value && !isCompact.value ? (openBlock(), createElementBlock("div", _hoisted_5$2, [renderSlot(_ctx.$slots, "center")])) : createCommentVNode("v-if", true),
68
- createElementVNode("div", _hoisted_6, [renderSlot(_ctx.$slots, "end"), showShellToggle.value ? (openBlock(), createBlock(_sfc_main$9, {
116
+ createElementVNode("div", _hoisted_2$5, [hasHeading() ? (openBlock(), createElementBlock("div", _hoisted_3$5, [isCompact.value && headingIsPlainText() ? (openBlock(), createElementBlock("span", _hoisted_4$4, [renderSlot(_ctx.$slots, "heading")])) : renderSlot(_ctx.$slots, "heading", {}, void 0, void 0, 1)])) : createCommentVNode("v-if", true), !isCompact.value && hasStart() ? (openBlock(), createElementBlock("div", _hoisted_5$3, [renderSlot(_ctx.$slots, "start"), renderSlot(_ctx.$slots, "default")])) : createCommentVNode("v-if", true)]),
117
+ hasCenter() && !isCompact.value ? (openBlock(), createElementBlock("div", _hoisted_6$2, [renderSlot(_ctx.$slots, "center")])) : createCommentVNode("v-if", true),
118
+ hasEnd() || showShellToggle() || ownsDrawer.value && hasDrawer() || hasCenter() && !isCompact.value ? (openBlock(), createElementBlock("div", _hoisted_7$1, [renderSlot(_ctx.$slots, "end"), showShellToggle() ? (openBlock(), createBlock(_sfc_main$10, {
69
119
  key: 0,
70
120
  "is-open": unref(shell).isMobileNavOpen,
71
121
  controls: unref(shell).mobileNavId,
72
122
  "onUpdate:isOpen": setShellOpen
73
- }, null, 8, ["is-open", "controls"])) : ownsDrawer.value && hasDrawer.value ? (openBlock(), createBlock(_sfc_main$9, {
123
+ }, null, 8, ["is-open", "controls"])) : ownsDrawer.value && hasDrawer() ? (openBlock(), createBlock(_sfc_main$10, {
74
124
  key: 1,
75
125
  "is-open": mobileOpen.value,
76
126
  "onUpdate:isOpen": _cache[0] || (_cache[0] = ($event) => mobileOpen.value = $event),
77
127
  controls: drawerId
78
- }, null, 8, ["is-open"])) : createCommentVNode("v-if", true)])
128
+ }, null, 8, ["is-open"])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true)
79
129
  ], 10, _hoisted_1$5),
80
- shellCompact.value && hasDrawer.value ? (openBlock(), createBlock(Teleport, {
130
+ shellCompact.value && hasDrawer() ? (openBlock(), createBlock(Teleport, {
81
131
  key: 0,
132
+ defer: "",
82
133
  to: `#${unref(shell).mobileNavId}-items`
83
- }, [createElementVNode("div", _hoisted_7, [
84
- renderSlot(_ctx.$slots, "start"),
85
- renderSlot(_ctx.$slots, "default"),
86
- renderSlot(_ctx.$slots, "center")
87
- ])], 8, ["to"])) : createCommentVNode("v-if", true),
88
- ownsDrawer.value && hasDrawer.value ? (openBlock(), createBlock(_sfc_main$10, {
134
+ }, [createVNode(_sfc_main$8, { close: unref(shell).closeMobileNav }, {
135
+ default: withCtx(() => [createElementVNode("div", _hoisted_8, [
136
+ renderSlot(_ctx.$slots, "start"),
137
+ renderSlot(_ctx.$slots, "default"),
138
+ renderSlot(_ctx.$slots, "center")
139
+ ])]),
140
+ _: 3
141
+ }, 8, ["close"])], 8, ["to"])) : createCommentVNode("v-if", true),
142
+ ownsDrawer.value && hasDrawer() ? (openBlock(), createBlock(_sfc_main$11, {
89
143
  key: 1,
90
144
  id: drawerId,
91
145
  "is-open": mobileOpen.value,
92
146
  "onUpdate:isOpen": _cache[1] || (_cache[1] = ($event) => mobileOpen.value = $event),
93
147
  label: label.value
94
148
  }, {
95
- default: withCtx(() => [createElementVNode("div", _hoisted_8, [
149
+ default: withCtx(() => [createElementVNode("div", _hoisted_9, [
96
150
  renderSlot(_ctx.$slots, "start"),
97
151
  renderSlot(_ctx.$slots, "default"),
98
152
  renderSlot(_ctx.$slots, "center")
@@ -124,7 +178,7 @@ const _sfc_main$6 = /*@__PURE__*/ defineComponent({
124
178
  const slots = useSlots();
125
179
  const headingHref = computed(() => props.headingHref ?? props.href);
126
180
  return (_ctx, _cache) => {
127
- return openBlock(), createBlock(_sfc_main$15, {
181
+ return openBlock(), createBlock(_sfc_main$16, {
128
182
  kind: "top",
129
183
  as: __props.as,
130
184
  heading: __props.heading,
@@ -135,12 +189,12 @@ const _sfc_main$6 = /*@__PURE__*/ defineComponent({
135
189
  superheading: __props.superheading,
136
190
  "superheading-href": __props.superheadingHref
137
191
  }, createSlots({ _: 2 }, [
138
- unref(slots).logo || unref(slots).icon ? {
192
+ unref(hasSlotContent)(unref(slots).logo) || unref(hasSlotContent)(unref(slots).icon) ? {
139
193
  name: "icon",
140
- fn: withCtx(() => [renderSlot(_ctx.$slots, "logo"), !unref(slots).logo ? renderSlot(_ctx.$slots, "icon", {}, void 0, void 0, 0) : createCommentVNode("v-if", true)]),
194
+ fn: withCtx(() => [renderSlot(_ctx.$slots, "logo"), !unref(hasSlotContent)(unref(slots).logo) ? renderSlot(_ctx.$slots, "icon", {}, void 0, void 0, 0) : createCommentVNode("v-if", true)]),
141
195
  key: "0"
142
196
  } : void 0,
143
- unref(slots).end ? {
197
+ unref(hasSlotContent)(unref(slots).end) ? {
144
198
  name: "end",
145
199
  fn: withCtx(() => [renderSlot(_ctx.$slots, "end")]),
146
200
  key: "1"
@@ -194,25 +248,33 @@ const _sfc_main$5 = /*@__PURE__*/ defineComponent({
194
248
  const props = __props;
195
249
  const emit = __emit;
196
250
  const inDrawer = inject(mobileNavKey, false);
251
+ const closeMobileDrawer = useCloseMobileDrawer();
252
+ function onClick(event) {
253
+ emit("click", event);
254
+ closeMobileDrawer();
255
+ }
197
256
  return (_ctx, _cache) => {
198
- return openBlock(), createBlock(_sfc_main$11, {
257
+ return openBlock(), createBlock(_sfc_main$12, {
199
258
  class: normalizeClass(["astryx-top-nav-item", { "astryx-top-nav-item--drawer": unref(inDrawer) }]),
200
259
  as: __props.as,
201
260
  block: unref(inDrawer),
261
+ "data-mode": unref(inDrawer) ? "drawer" : void 0,
202
262
  href: __props.href,
203
263
  "icon-class": __props.iconClass,
204
264
  "is-disabled": __props.isDisabled,
265
+ "is-focusable-when-disabled": "",
205
266
  "is-icon-only": props.isIconOnly && !unref(inDrawer),
206
267
  "is-selected": __props.isSelected,
207
268
  label: __props.label,
208
269
  rel: __props.rel,
209
270
  size: __props.size,
210
271
  target: __props.target,
211
- onClick: _cache[0] || (_cache[0] = ($event) => emit("click", $event))
272
+ onClick
212
273
  }, null, 8, [
213
274
  "class",
214
275
  "as",
215
276
  "block",
277
+ "data-mode",
216
278
  "href",
217
279
  "icon-class",
218
280
  "is-disabled",
@@ -227,6 +289,23 @@ const _sfc_main$5 = /*@__PURE__*/ defineComponent({
227
289
  }
228
290
  });
229
291
  //#endregion
292
+ //#region src/TopNav/pickCloses.ts
293
+ /**
294
+ * 刚才这一下选中会不会关闭顶栏菜单:键盘选中、手指或触控笔按下的会关;
295
+ * 鼠标或触控板选中不关(菜单靠指针移开收起),拿不到设备类型的指针选中也不关。
296
+ */
297
+ function pickCloses() {
298
+ trackInteractionModality();
299
+ if (getInteractionModality() === "keyboard") return true;
300
+ const type = getLastPointerType();
301
+ return type === "touch" || type === "pen";
302
+ }
303
+ /** TopNavMenu、TopNavMegaMenu 调用:让里面的项按 pickCloses 决定要不要关菜单,并提前装上输入跟踪。 */
304
+ function provideTopNavPick() {
305
+ trackInteractionModality();
306
+ provide(navMenuPickKey, pickCloses);
307
+ }
308
+ //#endregion
230
309
  //#region src/TopNav/TopNavMegaMenuPanel.vue
231
310
  const _hoisted_1$4 = ["aria-label"];
232
311
  const _hoisted_2$4 = { class: "astryx-top-nav-mega__items" };
@@ -277,12 +356,14 @@ const _hoisted_1$3 = {
277
356
  class: "astryx-top-nav-mega astryx-top-nav-mega--drawer"
278
357
  };
279
358
  const _hoisted_2$3 = ["aria-expanded"];
280
- const _hoisted_3$3 = { class: "astryx-top-nav-mega__drawer-items" };
281
- const _hoisted_4$3 = {
359
+ const _hoisted_3$3 = ["aria-hidden", "inert"];
360
+ const _hoisted_4$3 = { class: "astryx-top-nav-drawer-section__inner" };
361
+ const _hoisted_5$2 = { class: "astryx-top-nav-mega__drawer-items" };
362
+ const _hoisted_6$1 = {
282
363
  key: 0,
283
364
  class: "astryx-top-nav-mega__featured"
284
365
  };
285
- const _hoisted_5$1 = [
366
+ const _hoisted_7 = [
286
367
  "data-open",
287
368
  "aria-expanded",
288
369
  "aria-controls"
@@ -299,6 +380,7 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
299
380
  setup(__props, { emit: __emit }) {
300
381
  const emit = __emit;
301
382
  const inDrawer = inject(mobileNavKey, false);
383
+ provideTopNavPick();
302
384
  const expanded = ref(false);
303
385
  const drawerItemsId = `astryx-top-nav-mega-items-${useId()}`;
304
386
  return (_ctx, _cache) => {
@@ -308,14 +390,16 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
308
390
  "aria-controls": drawerItemsId,
309
391
  "aria-expanded": expanded.value ? "true" : "false",
310
392
  onClick: _cache[0] || (_cache[0] = ($event) => expanded.value = !expanded.value)
311
- }, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$8, {
393
+ }, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$9, {
312
394
  icon: "chevronDown",
313
395
  size: "sm",
314
396
  class: normalizeClass({ "astryx-top-nav-menu__chevron--open": expanded.value })
315
- }, null, 8, ["class"])], 8, _hoisted_2$3), withDirectives(createElementVNode("div", {
397
+ }, null, 8, ["class"])], 8, _hoisted_2$3), createElementVNode("div", {
316
398
  id: drawerItemsId,
317
- class: "astryx-top-nav-mega__drawer"
318
- }, [createElementVNode("div", _hoisted_3$3, [renderSlot(_ctx.$slots, "default")]), _ctx.$slots.featured ? (openBlock(), createElementBlock("div", _hoisted_4$3, [renderSlot(_ctx.$slots, "featured")])) : createCommentVNode("v-if", true)], 512), [[vShow, expanded.value]])])) : (openBlock(), createBlock(_sfc_main$12, {
399
+ class: normalizeClass(["astryx-top-nav-drawer-section astryx-top-nav-mega__drawer", { "astryx-top-nav-drawer-section--collapsed": !expanded.value }]),
400
+ "aria-hidden": expanded.value ? void 0 : "true",
401
+ inert: expanded.value ? void 0 : true
402
+ }, [createElementVNode("div", _hoisted_4$3, [createElementVNode("div", _hoisted_5$2, [renderSlot(_ctx.$slots, "default")]), _ctx.$slots.featured ? (openBlock(), createElementBlock("div", _hoisted_6$1, [renderSlot(_ctx.$slots, "featured")])) : createCommentVNode("v-if", true)])], 10, _hoisted_3$3)])) : (openBlock(), createBlock(_sfc_main$13, {
319
403
  key: 1,
320
404
  hover: "",
321
405
  "panel-class": "astryx-top-nav-mega__panel",
@@ -331,11 +415,11 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
331
415
  "aria-expanded": isOpen ? "true" : "false",
332
416
  "aria-controls": panelId,
333
417
  "aria-haspopup": "menu"
334
- }, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$8, {
418
+ }, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$9, {
335
419
  icon: "chevronDown",
336
420
  size: "sm",
337
421
  class: normalizeClass(["astryx-top-nav-menu__chevron", { "astryx-top-nav-menu__chevron--open": isOpen }])
338
- }, null, 8, ["class"])], 8, _hoisted_5$1)]),
422
+ }, null, 8, ["class"])], 8, _hoisted_7)]),
339
423
  default: withCtx(({ focusRequest }) => [createVNode(_sfc_main$4, {
340
424
  "focus-request": focusRequest,
341
425
  label: __props.label
@@ -383,6 +467,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
383
467
  setup(__props) {
384
468
  const props = __props;
385
469
  const closeMenu = inject(navMenuCloseKey, void 0);
470
+ const picksClose = inject(navMenuPickKey, void 0);
386
471
  const linkComponent = useLinkComponent();
387
472
  const ctaHref = computed(() => {
388
473
  if (!props.linkLabel) return void 0;
@@ -395,7 +480,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
395
480
  const ctaRoot = computed(() => ctaHref.value ? resolveNavRoot(ctaHref.value, false, customLink.value) : "span");
396
481
  const imageIsDecorative = computed(() => props.image != null && !props.imageAlt);
397
482
  function onNavigate() {
398
- closeMenu?.();
483
+ if (picksClose == null || picksClose()) closeMenu?.();
399
484
  }
400
485
  return (_ctx, _cache) => {
401
486
  return openBlock(), createBlock(resolveDynamicComponent(root.value), {
@@ -421,7 +506,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
421
506
  to: customLink.value != null ? ctaHref.value : void 0,
422
507
  onClick: withModifiers(onNavigate, ["stop"])
423
508
  }, {
424
- default: withCtx(() => [createTextVNode(toDisplayString(__props.linkLabel) + " → ", 1)]),
509
+ default: withCtx(() => [createTextVNode(toDisplayString(__props.linkLabel) + toDisplayString(" "), 1), _cache[1] || (_cache[1] = createElementVNode("span", { class: "astryx-top-nav-mega-card__link-arrow" }, "→", -1))]),
425
510
  _: 1
426
511
  }, 8, ["href", "to"])) : createCommentVNode("v-if", true),
427
512
  renderSlot(_ctx.$slots, "default")
@@ -448,7 +533,7 @@ const _hoisted_2$1 = {
448
533
  };
449
534
  const _hoisted_3$1 = { class: "astryx-top-nav-mega-item__text" };
450
535
  const _hoisted_4$1 = { class: "astryx-top-nav-mega-item__title" };
451
- const _hoisted_5 = {
536
+ const _hoisted_5$1 = {
452
537
  key: 0,
453
538
  class: "astryx-top-nav-mega-item__description"
454
539
  };
@@ -460,18 +545,25 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
460
545
  description: {},
461
546
  href: {},
462
547
  as: {},
463
- iconClass: {}
548
+ iconClass: {},
549
+ hasCloseOnSelect: {
550
+ type: Boolean,
551
+ default: true
552
+ }
464
553
  },
465
554
  setup(__props) {
466
555
  const props = __props;
467
556
  const closeMenu = inject(navMenuCloseKey, void 0);
557
+ const picksClose = inject(navMenuPickKey, void 0);
558
+ const closeMobileDrawer = useCloseMobileDrawer();
468
559
  const linkComponent = useLinkComponent();
469
560
  /** 自己的 `as` 优先,其次是 LinkProvider 给的默认链接组件。 */
470
561
  const customLink = computed(() => props.as ?? linkComponent.value);
471
562
  const navigableHref = computed(() => isNavigableHref(props.href) ? props.href : void 0);
472
563
  const root = computed(() => resolveNavRoot(navigableHref.value, false, customLink.value));
473
564
  function onClick() {
474
- closeMenu?.();
565
+ if (props.hasCloseOnSelect && (picksClose == null || picksClose())) closeMenu?.();
566
+ closeMobileDrawer();
475
567
  }
476
568
  return (_ctx, _cache) => {
477
569
  return openBlock(), createBlock(resolveDynamicComponent(root.value), {
@@ -481,7 +573,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
481
573
  type: navigableHref.value ? void 0 : "button",
482
574
  onClick
483
575
  }, {
484
- default: withCtx(() => [__props.iconClass || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_1$1, [renderSlot(_ctx.$slots, "icon", {}, () => [__props.iconClass ? (openBlock(), createElementBlock("span", _hoisted_2$1, [createElementVNode("span", { class: normalizeClass(["astryx-top-nav-mega-item__glyph", __props.iconClass]) }, null, 2)])) : createCommentVNode("v-if", true)])])) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_3$1, [createElementVNode("span", _hoisted_4$1, toDisplayString(__props.title), 1), __props.description ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(__props.description), 1)) : createCommentVNode("v-if", true)])]),
576
+ default: withCtx(() => [__props.iconClass || unref(hasSlotContent)(_ctx.$slots.icon) ? (openBlock(), createElementBlock("span", _hoisted_1$1, [renderSlot(_ctx.$slots, "icon", {}, () => [__props.iconClass ? (openBlock(), createElementBlock("span", _hoisted_2$1, [createElementVNode("span", { class: normalizeClass(["astryx-top-nav-mega-item__glyph", __props.iconClass]) }, null, 2)])) : createCommentVNode("v-if", true)])])) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_3$1, [createElementVNode("span", _hoisted_4$1, toDisplayString(__props.title), 1), __props.description ? (openBlock(), createElementBlock("span", _hoisted_5$1, toDisplayString(__props.description), 1)) : createCommentVNode("v-if", true)])]),
485
577
  _: 3
486
578
  }, 8, [
487
579
  "href",
@@ -498,8 +590,10 @@ const _hoisted_1 = {
498
590
  class: "astryx-top-nav-menu astryx-top-nav-menu--drawer"
499
591
  };
500
592
  const _hoisted_2 = ["aria-expanded"];
501
- const _hoisted_3 = { class: "astryx-top-nav-menu__drawer-items" };
502
- const _hoisted_4 = [
593
+ const _hoisted_3 = ["aria-hidden", "inert"];
594
+ const _hoisted_4 = { class: "astryx-top-nav-drawer-section__inner" };
595
+ const _hoisted_5 = { class: "astryx-top-nav-menu__drawer-items" };
596
+ const _hoisted_6 = [
503
597
  "data-open",
504
598
  "aria-expanded",
505
599
  "aria-controls"
@@ -517,34 +611,45 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
517
611
  setup(__props, { emit: __emit }) {
518
612
  const emit = __emit;
519
613
  const inDrawer = inject(mobileNavKey, false);
614
+ const closeMobileDrawer = useCloseMobileDrawer();
615
+ provideTopNavPick();
520
616
  const expanded = ref(false);
617
+ const drawerItemsId = `astryx-top-nav-menu-items-${useId()}`;
521
618
  return (_ctx, _cache) => {
522
619
  return unref(inDrawer) ? (openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("button", {
523
620
  type: "button",
524
621
  class: "astryx-top-nav-menu__drawer-trigger",
622
+ "aria-controls": drawerItemsId,
525
623
  "aria-expanded": expanded.value ? "true" : "false",
526
624
  onClick: _cache[0] || (_cache[0] = ($event) => expanded.value = !expanded.value)
527
- }, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$8, {
625
+ }, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$9, {
528
626
  icon: "chevronDown",
529
627
  size: "sm",
530
628
  class: normalizeClass({ "astryx-top-nav-menu__chevron--open": expanded.value })
531
- }, null, 8, ["class"])], 8, _hoisted_2), withDirectives(createElementVNode("div", _hoisted_3, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item) => {
532
- return openBlock(), createBlock(_sfc_main$13, {
629
+ }, null, 8, ["class"])], 8, _hoisted_2), createElementVNode("div", {
630
+ id: drawerItemsId,
631
+ class: normalizeClass(["astryx-top-nav-drawer-section", { "astryx-top-nav-drawer-section--collapsed": !expanded.value }]),
632
+ "aria-hidden": expanded.value ? void 0 : "true",
633
+ inert: expanded.value ? void 0 : true
634
+ }, [createElementVNode("div", _hoisted_4, [createElementVNode("div", _hoisted_5, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item) => {
635
+ return openBlock(), createBlock(_sfc_main$14, {
533
636
  key: item.id ?? item.label,
534
637
  description: item.description,
535
638
  href: item.href,
536
639
  "icon-class": item.iconClass,
537
640
  "is-disabled": item.isDisabled,
538
641
  "is-menu-item": false,
539
- label: item.label
642
+ label: item.label,
643
+ onClick: unref(closeMobileDrawer)
540
644
  }, null, 8, [
541
645
  "description",
542
646
  "href",
543
647
  "icon-class",
544
648
  "is-disabled",
545
- "label"
649
+ "label",
650
+ "onClick"
546
651
  ]);
547
- }), 128)), renderSlot(_ctx.$slots, "default")], 512), [[vShow, expanded.value]])])) : (openBlock(), createBlock(_sfc_main$12, {
652
+ }), 128)), renderSlot(_ctx.$slots, "default")])])], 10, _hoisted_3)])) : (openBlock(), createBlock(_sfc_main$13, {
548
653
  key: 1,
549
654
  hover: "",
550
655
  "hide-delay": __props.hideDelay,
@@ -559,29 +664,31 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
559
664
  "aria-expanded": isOpen ? "true" : "false",
560
665
  "aria-controls": panelId,
561
666
  "aria-haspopup": "menu"
562
- }, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$8, {
667
+ }, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$9, {
563
668
  icon: "chevronDown",
564
669
  size: "sm",
565
670
  class: normalizeClass(["astryx-top-nav-menu__chevron", { "astryx-top-nav-menu__chevron--open": isOpen }])
566
- }, null, 8, ["class"])], 8, _hoisted_4)]),
567
- default: withCtx(({ close, focusRequest }) => [createVNode(_sfc_main$14, {
671
+ }, null, 8, ["class"])], 8, _hoisted_6)]),
672
+ default: withCtx(({ close, focusRequest }) => [createVNode(_sfc_main$15, {
568
673
  "focus-request": focusRequest,
569
674
  label: __props.label,
570
675
  onClose: close
571
676
  }, {
572
677
  default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item) => {
573
- return openBlock(), createBlock(_sfc_main$13, {
678
+ return openBlock(), createBlock(_sfc_main$14, {
574
679
  key: item.id ?? item.label,
575
680
  description: item.description,
576
681
  href: item.href,
577
682
  "icon-class": item.iconClass,
578
683
  "is-disabled": item.isDisabled,
684
+ "keep-open": item.hasCloseOnSelect === false,
579
685
  label: item.label
580
686
  }, null, 8, [
581
687
  "description",
582
688
  "href",
583
689
  "icon-class",
584
690
  "is-disabled",
691
+ "keep-open",
585
692
  "label"
586
693
  ]);
587
694
  }), 128)), renderSlot(_ctx.$slots, "default")]),
@@ -1,2 +1,2 @@
1
- import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-C4S65SAW.js";
1
+ import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-CKnr0JlT.js";
2
2
  export { _default as TreeList, type TreeListDensity, type TreeListItemData, type TreeListProps, type TreeListSlots, type TreeListVariant, type UseTreeFocusOptions, useTreeFocus };
@@ -1,3 +1,3 @@
1
1
  import { c as TypeaheadSize, i as TypeaheadItemProps, l as TypeaheadSlots, r as TypeaheadEmits, s as TypeaheadProps, t as BaseTypeaheadProps, u as TypeaheadStatus } from "../types-C1ydeFiu.js";
2
- import { n as _default$1, r as _default, t as _default$2 } from "../index-DGXCnzOL.js";
2
+ import { n as _default$1, r as _default, t as _default$2 } from "../index-BrMtj1lT.js";
3
3
  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,3 +1,3 @@
1
- import { i as _sfc_main$2 } from "../useTypeaheadMenuConfig-BZaduAP4.js";
2
- import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead--CFFYPMl.js";
1
+ import { i as _sfc_main$2 } from "../useTypeaheadMenuConfig-CIf9Ep57.js";
2
+ import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-BaPqX3Ey.js";
3
3
  export { _sfc_main as BaseTypeahead, _sfc_main$1 as Typeahead, _sfc_main$2 as TypeaheadItem };
@@ -1,21 +1,21 @@
1
1
  import { t as _sfc_main$2 } from "./Icon-BCHo7W0x.js";
2
2
  import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
3
- import { p as isImeKeyEvent } from "./interactionModality-JFDvbtbb.js";
3
+ import { m as isImeKeyEvent } from "./interactionModality-CyU67ucP.js";
4
4
  import { t as _sfc_main$3 } from "./ButtonTooltip-CNKOQHYR.js";
5
5
  import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
6
6
  import { t as useAnnounce } from "./announce-GU01Oix2.js";
7
- import { t as useInputStatusIcon } from "./useInputStatusIcon-D1WRYTOZ.js";
7
+ import { t as useInputStatusIcon } from "./useInputStatusIcon-BDWAijXe.js";
8
8
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
9
9
  import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
10
10
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
11
11
  import { t as _sfc_main$4 } from "./Spinner-DEVPDsD0.js";
12
- import { t as _sfc_main$5 } from "./Field-BQ3q-K5D.js";
12
+ import { t as _sfc_main$5 } from "./Field-DsucLkyQ.js";
13
13
  import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
14
14
  import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
15
15
  import { t as typeaheadMessages } from "./typeahead-BgfLP7vR.js";
16
16
  import { t as _sfc_main$6 } from "./Token-CPNzkSj3.js";
17
- import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-BTISispN.js";
18
- import { a as useLatchedOptionGrid, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as _sfc_main$7, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-BZaduAP4.js";
17
+ import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-BX4vr5M-.js";
18
+ import { a as useLatchedOptionGrid, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as _sfc_main$7, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-CIf9Ep57.js";
19
19
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, guardReactiveProps, inject, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useTemplateRef, watch, withCtx } from "vue";
20
20
  import "../styles/layer.css";
21
21
  import "../styles/visually-hidden-utility.css";
@@ -1,4 +1,4 @@
1
- import { n as isKeyboardModality, p as isImeKeyEvent } from "./interactionModality-JFDvbtbb.js";
1
+ import { m as isImeKeyEvent, r as isKeyboardModality } from "./interactionModality-CyU67ucP.js";
2
2
  import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
3
3
  import { n as focusElement } from "./focus-x7mxEqjR.js";
4
4
  import { nextTick, onScopeDispose, ref, watch } from "vue";
@@ -0,0 +1,13 @@
1
+ import { t as mobileNavCloseKey } from "./context-D8MAZio1.js";
2
+ import { inject } from "vue";
3
+ //#region src/MobileNav/closeOnActivate.ts
4
+ /**
5
+ * 抽屉里的行被激活后,用返回的函数关掉抽屉。
6
+ * 不在抽屉里时返回一个什么都不做的函数,行不用再判断自己在不在抽屉里。
7
+ */
8
+ function useCloseMobileDrawer() {
9
+ const close = inject(mobileNavCloseKey, void 0);
10
+ return () => close?.();
11
+ }
12
+ //#endregion
13
+ export { useCloseMobileDrawer as t };
@@ -1,9 +1,9 @@
1
- import { _ as useAnimator, a as usePanGesture, b as createPanGesture, c as imageModeFromPixels, d as useGridRovingFocus, f as useGridFocus, g as useContainerReveal, h as useControllableState, i as useSnapPaging, l as perceptualLightness, m as useDragToSnapPoints, n as snapToGraphemeBoundary, o as useKeyboardHint, p as useEntryAnimation, r as useStreamingText, s as useIndicatorFocusRing, t as useTouchTrigger, u as useImageMode, v as useAnimatedLayout, x as createAnimator, y as createDragToSnapPoints } from "../composables-DSx0MWv0.js";
1
+ import { _ as useAnimator, a as usePanGesture, b as createPanGesture, c as imageModeFromPixels, d as useGridRovingFocus, f as useGridFocus, g as useContainerReveal, h as useControllableState, i as useSnapPaging, l as perceptualLightness, m as useDragToSnapPoints, n as snapToGraphemeBoundary, o as useKeyboardHint, p as useEntryAnimation, r as useStreamingText, s as useIndicatorFocusRing, t as useTouchTrigger, u as useImageMode, v as useAnimatedLayout, x as createAnimator, y as createDragToSnapPoints } from "../composables-BDWdSCwe.js";
2
2
  import { i as useClickableContainer, n as hasInteractiveAncestor, r as hasTextSelection, t as INTERACTIVE_SELECTORS } from "../useClickableContainer-Dtjg-nkm.js";
3
3
  import { t as usePressFeedback } from "../usePressFeedback-aufF1sCH.js";
4
4
  import { n as useLayerTeleportTarget, r as useResolvedLayerTeleport, t as useLayerMountTarget } from "../useLayerMountTarget-BmZyeKWE.js";
5
- import { t as useDismiss } from "../useDismiss-N66C48zd.js";
6
- import { n as useLayer } from "../tooltipTriggerRules-Dazz57_v.js";
5
+ import { t as useDismiss } from "../useDismiss-C1dyveme.js";
6
+ import { n as useLayer } from "../tooltipTriggerRules-BLBEkBcK.js";
7
7
  import { t as useCoarsePointer } from "../useCoarsePointer-GItEMrjX.js";
8
8
  import { t as useMediaQuery } from "../useMediaQuery-BzXGT1Aw.js";
9
9
  import { t as characterCount } from "../characters-wTnzjkkR.js";
@@ -14,30 +14,30 @@ import { n as useAppShellMobile, t as appShellMobileKey } from "../useAppShellMo
14
14
  import { n as useAsyncSource, t as createStaticSource } from "../useAsyncSource-7GTcK8ep.js";
15
15
  import { n as CHAT_MESSAGE_CLASS, r as useChatNewMessages, t as useChatStreamScroll } from "../useChatStreamScroll-BIMKffDA.js";
16
16
  import { t as useClipboard } from "../useClipboard-CTY3GwFz.js";
17
- import { t as useCombobox } from "../useCombobox-DTDT9dRx.js";
17
+ import { t as useCombobox } from "../useCombobox-DcBbaWYj.js";
18
18
  import { n as resolveDateSurface, t as resolveDatePresentation } from "../useDatePresentation-C07PnOCw.js";
19
19
  import { a as isRangeWithinSpan, c as resolveWeekStart, i as isDayOutsideSpan, l as spanDays, n as compareISODate, o as isSameRange, r as formatDateRange, s as orderRange, t as applyRangeClick } from "../useDateRange-D1Szw54e.js";
20
20
  import { t as useDisclosureHandle } from "../useDisclosureHandle-Df3HhAfC.js";
21
21
  import { t as useFieldControlState } from "../useFieldControlState-voICDrys.js";
22
22
  import { n as selectFiles, t as formatFileSize } from "../useFileSelection-Cfcbh8XI.js";
23
- import { t as useFocusTrap } from "../useFocusTrap-DzspshsM.js";
23
+ import { t as useFocusTrap } from "../useFocusTrap-DAKJJP0Z.js";
24
24
  import { t as useHandleRef } from "../useHandleRef-6cdKugm8.js";
25
- import { n as useResizable, r as useHotkeys, t as percent } from "../useResizable-C9FtmPir.js";
25
+ import { n as useResizable, r as useHotkeys, t as percent } from "../useResizable-wZU54yCO.js";
26
26
  import { t as useInputContainer } from "../useInputContainer-CLhsKYZ6.js";
27
- import { t as useInputStatusIcon } from "../useInputStatusIcon-D1WRYTOZ.js";
27
+ import { t as useInputStatusIcon } from "../useInputStatusIcon-BDWAijXe.js";
28
28
  import { t as useInteractiveRole } from "../useInteractiveRole-Cn0Nd5GX.js";
29
- import { a as isMenuPressActivation, i as MENU_PRESS_MARKER, n as MENU_PRESS_SETTLE_MS, o as resetMenuPress, r as menuPressStep, s as useLongPress, t as useMenuPress } from "../useMenuPress-Cm7LVmHJ.js";
29
+ import { a as isMenuPressActivation, i as MENU_PRESS_MARKER, n as MENU_PRESS_SETTLE_MS, o as resetMenuPress, r as menuPressStep, s as useLongPress, t as useMenuPress } from "../useMenuPress-3203ryBY.js";
30
30
  import { t as useMergedRefs } from "../useMergedRefs-DTGo1cEU.js";
31
31
  import { a as todayISODate, i as toISODate, n as buildMonthGrid, r as parseISODate, t as addMonths } from "../useMonthGrid-Bzvlstgc.js";
32
32
  import { n as useNumberField, t as computeSteppedValue } from "../useNumberField-Dk1BE3-K.js";
33
33
  import { n as computeOverflow, t as useOverflow } from "../useOverflow-GU0pxGaU.js";
34
34
  import { t as usePendingChange } from "../usePendingChange-ib-h8FZK.js";
35
35
  import { t as useResolvedLabelHidden } from "../useResolvedLabelHidden-B2rlWiaI.js";
36
- import { t as useRestoreFocus } from "../useRestoreFocus-CEbfcwWb.js";
36
+ import { t as useRestoreFocus } from "../useRestoreFocus-v8-FFcQQ.js";
37
37
  import { t as useScrollableArea } from "../useScrollableArea-BaHkGWbX.js";
38
38
  import { t as useScrollLock } from "../scrollLock-CoVg9lLU.js";
39
39
  import { t as useScrollOverflow } from "../useScrollOverflow-DuMoGXmm.js";
40
40
  import { a as parseISOTime, i as parseDisplayTime, n as formatISOTime, o as resolveTimeSurface, r as isTimeInRange, s as shiftTime, t as formatDisplayTime } from "../useTimeValue-8YfPQffv.js";
41
- import { n as isActionTrigger } from "../useTouchTriggerInternal-TQnpDkL0.js";
42
- import { t as useTypeahead } from "../useTypeahead-BGmDZyPB.js";
41
+ import { n as isActionTrigger } from "../useTouchTriggerInternal-DwzthF8T.js";
42
+ import { t as useTypeahead } from "../useTypeahead-BlqvS9x9.js";
43
43
  export { CHAT_MESSAGE_CLASS, INTERACTIVE_SELECTORS, MENU_PRESS_MARKER, MENU_PRESS_SETTLE_MS, addMonths, appShellMobileKey, applyRangeClick, buildMonthGrid, compareISODate, computeOverflow, computeSteppedValue, characterCount as countCharacters, createAnimator, createDragToSnapPoints, createPanGesture, createStaticSource, devWarn, formatDateRange, formatDisplayTime, formatFileSize, formatISOTime, hasInteractiveAncestor, hasTextSelection, imageModeFromPixels, isActionTrigger, isDayOutsideSpan, isMenuPressActivation, isRangeWithinSpan, isSameRange, isTimeInRange, menuPressStep, orderRange, parseDisplayTime, parseISODate, parseISOTime, percent, perceptualLightness, resetMenuPress, resolveDatePresentation, resolveDateSurface, resolveTimeSurface, resolveWeekStart, selectFiles, shiftTime, snapToGraphemeBoundary, spanDays, toISODate, todayISODate, useAnimatedLayout, useAnimator, useAnnounce, useAppShellMobile, useAsyncSource, useChatNewMessages, useChatStreamScroll, useClickableContainer, useClipboard, useCoarsePointer, useCombobox, useContainerReveal, useControllableState, useDevWarning, useDisclosureHandle, useDismiss, useDragToSnapPoints, useEntryAnimation, useFieldControlState, useFocusTrap, useGridFocus, useGridRovingFocus, useHandleRef, useHotkeys, useImageMode, useIndicatorFocusRing, useInputContainer, useInputStatusIcon, useInteractiveRole, useKeyboardHint, useLayer, useLayerMountTarget, useLayerTeleportTarget, useListFocus, useLongPress, useMediaQuery, useMenuPress, useMergedRefs, useNumberField, useOverflow, usePanGesture, usePendingChange, usePressFeedback, useResizable, useResolvedLabelHidden, useResolvedLayerTeleport, useRestoreFocus, useScrollLock, useScrollOverflow, useScrollableArea, useSnapPaging, useStreamingText, useTouchTrigger, useTypeahead };
@@ -2,7 +2,7 @@ import { a as sharedWeakMap, c as deepActiveElement, d as shadowRootsOutward, h
2
2
  import { d as isInsideScrollView, f as parseTouchAction, l as subscribeInput, m as clockOf, p as rootOverflow, u as SCROLLABLE_OVERFLOW } from "./pressFeedback-CEUPQWIS.js";
3
3
  import { i as withoutClickGuard, n as disarmClickGuard, t as armClickGuard } from "./clickGuard-ChKuogmR.js";
4
4
  import { b as isSpring, c as UIKIT_PAN, d as UIKIT_VELOCITY, f as registerScrollTable, h as motionRoleOf, l as UIKIT_PRESS, m as motionRoleIn, p as scroll, s as UIKIT_LONG_PRESS, u as UIKIT_TAP, v as registerMotionTable, y as registerSpringRole } from "./pressGesture-BzIBmKF2.js";
5
- import { f as pushLayer } from "./interactionModality-JFDvbtbb.js";
5
+ import { p as pushLayer } from "./interactionModality-CyU67ucP.js";
6
6
  import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
7
7
  import { t as quietFinished } from "./quietFinished-CKZXgsPM.js";
8
8
  import { a as reducedMotionCrossFade, c as clearPresentedResolve, d as registerPresentedOffset, f as resolvePresented, h as themeReducesMotion, i as cubicBezier, l as presentedElements, m as writePresentedResolve, n as createAnimatedLayout, o as registerReducedMotionCrossFade, p as watchPresentedElements, u as presentedOffsetOf } from "./handle-CSHfxBie.js";
@@ -15,7 +15,7 @@ import { t as _sfc_main$1 } from "./Kbd-CbD993ig.js";
15
15
  import { t as keyboardHintMessages } from "./keyboard-hint-KWx0-7kD.js";
16
16
  import { n as observeResize } from "./sharedResizeObserver-BekhnB3E.js";
17
17
  import { r as makeSnapPaging, s as snapPages } from "./snapPagingValue-B5hfph1H.js";
18
- import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-TQnpDkL0.js";
18
+ import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-DwzthF8T.js";
19
19
  import { Fragment, computed, createBlock, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, getCurrentScope, h, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, ref, renderList, toDisplayString, toValue, unref, vShow, watch, withDirectives } from "vue";
20
20
  import "../styles/indicator-focus-ring.css";
21
21
  import "../styles/keyboard-hint.css";