@astryx-vue/core 0.30.1 → 0.32.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 (289) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-B_p1yL3k.js → AlertDialog-C5pc5nQN.js} +6 -6
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-D3KZSLvb.js → AppShell-B7dkDyY8.js} +4 -4
  5. package/dist/Avatar/index.js +1 -1
  6. package/dist/{Avatar-IVvsyeGV.js → Avatar-CYW9ZTD3.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-DKmvoMxD.js → Banner-BNrs2Ptl.js} +1 -1
  11. package/dist/BottomSheet/index.js +2 -2
  12. package/dist/{BottomSheet-CQGtoh2x.js → BottomSheet-CAJJ8cR5.js} +3 -3
  13. package/dist/{BottomSheet-Btf8Yn8k.js → BottomSheet-Z92IvLBU.js} +4 -4
  14. package/dist/Breadcrumbs/index.d.ts +2 -2
  15. package/dist/Breadcrumbs/index.js +2 -2
  16. package/dist/{Breadcrumbs-D6825HQI.js → Breadcrumbs-CnvaPn8M.js} +1 -1
  17. package/dist/Button/index.js +1 -1
  18. package/dist/{Button-DdPty46q.js → Button-CzMWqCpJ.js} +2 -2
  19. package/dist/ButtonGroup/index.d.ts +1 -1
  20. package/dist/Calendar/index.d.ts +1 -1
  21. package/dist/Carousel/index.d.ts +1 -1
  22. package/dist/Carousel/index.js +1 -1
  23. package/dist/{Carousel-BNr79JpP.js → Carousel-BjyedZ0Y.js} +1 -1
  24. package/dist/Chat/index.d.ts +1 -1
  25. package/dist/Chat/index.js +1 -1
  26. package/dist/{Chat-BadS0fEx.js → Chat-CJr2RIyc.js} +11 -11
  27. package/dist/CheckboxInput/index.d.ts +1 -1
  28. package/dist/CheckboxInput/index.js +1 -1
  29. package/dist/{CheckboxInput-CzP8gP3v.js → CheckboxInput-BrbQTrL-.js} +1 -1
  30. package/dist/CheckboxList/index.d.ts +1 -1
  31. package/dist/CheckboxList/index.js +1 -1
  32. package/dist/{CheckboxListItem-CxBjpX3d.js → CheckboxListItem-CrAzFR4x.js} +3 -3
  33. package/dist/ClickableCard/index.d.ts +1 -1
  34. package/dist/Code/index.js +2 -2
  35. package/dist/{Code-5rZyPwty.js → Code-_PngYOKp.js} +2 -0
  36. package/dist/{CodeBlock-Cgm4uOhG.js → CodeBlock-pWPw1-iu.js} +1 -1
  37. package/dist/Collapsible/index.js +1 -1
  38. package/dist/{Collapsible-CfTN722D.js → Collapsible-DXl9RRaX.js} +2 -2
  39. package/dist/CommandPalette/index.d.ts +1 -1
  40. package/dist/CommandPalette/index.js +1 -1
  41. package/dist/{CommandPalette-BgVwGtdA.js → CommandPalette-DnbvnT4c.js} +1 -1
  42. package/dist/ComplexSelector/index.d.ts +1 -1
  43. package/dist/ComplexSelector/index.js +1 -1
  44. package/dist/{ComplexSelector-DqWJVx7H.js → ComplexSelector-DWQbuovE.js} +2 -2
  45. package/dist/ContextMenu/index.d.ts +2 -2
  46. package/dist/ContextMenu/index.js +2 -2
  47. package/dist/{ContextMenu-C9dJGu3M.js → ContextMenu-DfoShDVW.js} +168 -143
  48. package/dist/DateInput/index.d.ts +1 -1
  49. package/dist/DateInput/index.js +1 -1
  50. package/dist/{DateInput-CGKaozkw.js → DateInput-D9_QsZMj.js} +10 -10
  51. package/dist/DateRangeInput/index.d.ts +1 -1
  52. package/dist/DateRangeInput/index.js +1 -1
  53. package/dist/{DateRangeInput-BVHXgzXz.js → DateRangeInput-8P8i8aVI.js} +5 -5
  54. package/dist/DateTimeInput/index.d.ts +1 -1
  55. package/dist/DateTimeInput/index.js +1 -1
  56. package/dist/{DateTimeInput-DRm3lekJ.js → DateTimeInput-C2XWslHp.js} +5 -5
  57. package/dist/Dialog/index.js +3 -3
  58. package/dist/{Dialog-Dt0gNuMT.js → Dialog-B1Hlr0x_.js} +2 -2
  59. package/dist/{Dialog-BN-NycQr.js → Dialog-Cet6PTnf.js} +1 -1
  60. package/dist/{DialogHeader-CSH2_5v-.js → DialogHeader-BiHQct4G.js} +2 -2
  61. package/dist/Drawer/index.d.ts +1 -1
  62. package/dist/Drawer/index.js +1 -1
  63. package/dist/{Drawer-PeMgE4iA.js → Drawer-Bm3l7Dey.js} +2 -2
  64. package/dist/DropdownMenu/index.d.ts +2 -2
  65. package/dist/DropdownMenu/index.js +2 -3
  66. package/dist/{DropdownMenu-_lQQyQCn.js → DropdownMenu-BaRXEFLa.js} +1084 -556
  67. package/dist/{DropdownMenuRadioItem.vue-C8rePTyz.d.ts → DropdownMenuRadioItem.vue-B4iwMWWD.d.ts} +16 -0
  68. package/dist/EmptyState/index.js +1 -1
  69. package/dist/{EmptyState-BGo1nrnT.js → EmptyState-CXDlpIdI.js} +2 -2
  70. package/dist/Field/index.js +3 -3
  71. package/dist/{Field-D-fRqyso.js → Field-njr7AUcW.js} +1 -1
  72. package/dist/{FieldInfoTip-Bstp5Lvd.js → FieldInfoTip-DLqZykVm.js} +1 -1
  73. package/dist/{FieldLabel-lV_qLaGp.js → FieldLabel-CyL5D1lu.js} +1 -1
  74. package/dist/FileInput/index.d.ts +1 -1
  75. package/dist/FileInput/index.js +1 -1
  76. package/dist/{FileInput-CTNnDIkm.js → FileInput-CtqZSRdh.js} +3 -3
  77. package/dist/Heading/index.d.ts +1 -1
  78. package/dist/Heading/index.js +1 -1
  79. package/dist/{Heading-BFK3PftX.js → Heading-BXTbW_px.js} +1 -1
  80. package/dist/HoverCard/index.d.ts +1 -1
  81. package/dist/HoverCard/index.js +1 -1
  82. package/dist/{HoverCard-DGjsPn-Q.js → HoverCard-zVUEeqF2.js} +4 -4
  83. package/dist/IconButton/index.js +1 -1
  84. package/dist/{IconButton-DPezhVBA.js → IconButton-CoZFp0CP.js} +1 -1
  85. package/dist/Indicator/index.d.ts +2 -2
  86. package/dist/InfoTip/index.d.ts +1 -1
  87. package/dist/InfoTip/index.js +1 -1
  88. package/dist/{InfoTip-B4BFfLtT.js → InfoTip-Eg2IGZJw.js} +1 -1
  89. package/dist/{InputClearButton-CxU3iv-5.js → InputClearButton-CBsL91my.js} +1 -1
  90. package/dist/InputGroup/index.d.ts +1 -1
  91. package/dist/InputGroup/index.js +1 -1
  92. package/dist/{InputGroup-CraWGK6Y.js → InputGroup-BE83-MCX.js} +1 -1
  93. package/dist/InternationalizationProvider/index.js +1 -1
  94. package/dist/{InternationalizationProvider-C-hZoz8a.js → InternationalizationProvider-BAUKUK7N.js} +1 -1
  95. package/dist/{LayerContentBoundary-LCQLyxBT.js → LayerContentBoundary-DmRI6Bg0.js} +1 -1
  96. package/dist/Lightbox/index.js +1 -1
  97. package/dist/{Lightbox-BNUG9CQ1.js → Lightbox-5PtYb0r4.js} +2 -2
  98. package/dist/Link/index.d.ts +1 -1
  99. package/dist/Link/index.js +1 -1
  100. package/dist/{Link-Bwgpn-di.js → Link-BzXVGE7G.js} +1 -1
  101. package/dist/List/index.d.ts +1 -1
  102. package/dist/Markdown/index.d.ts +1 -1
  103. package/dist/Markdown/index.js +1 -1
  104. package/dist/{Markdown-BlEi5UGN.js → Markdown-HDZPj9Vw.js} +3 -3
  105. package/dist/{MediaTheme-UM8oOqwX.js → MediaTheme-CBkEmVe4.js} +1 -1
  106. package/dist/MobileNav/index.js +1 -1
  107. package/dist/{MobileNavToggle-wVa9dzH1.js → MobileNavToggle-CrUf5UPQ.js} +2 -2
  108. package/dist/MoreMenu/index.d.ts +1 -1
  109. package/dist/MoreMenu/index.js +1 -1
  110. package/dist/{MoreMenu-MmvMRWv5.js → MoreMenu-DzpufGyj.js} +45 -16
  111. package/dist/MultiSelector/index.d.ts +1 -1
  112. package/dist/MultiSelector/index.js +1 -1
  113. package/dist/{MultiSelector-DXrKQLmq.js → MultiSelector-BS6wxlx4.js} +7 -7
  114. package/dist/{NavDisclosure-DsUYuMJr.js → NavDisclosure-BM0dJGLA.js} +1 -1
  115. package/dist/{NavHeadingSurface-QdM33nOf.js → NavHeadingSurface-CuQnoV_V.js} +1 -1
  116. package/dist/NavMenu/index.js +3 -3
  117. package/dist/{NavMenu-NCg3VjAQ.js → NavMenu-fXsoJKjW.js} +3 -3
  118. package/dist/{NavMenuItem-Bla6fYVl.js → NavMenuItem-BKY6eRkz.js} +2 -2
  119. package/dist/NumberInput/index.d.ts +1 -1
  120. package/dist/NumberInput/index.js +1 -1
  121. package/dist/{NumberInput-DicgvFte.js → NumberInput-Ueted2wi.js} +3 -3
  122. package/dist/Outline/index.js +1 -1
  123. package/dist/{Outline-DlO_97b4.js → Outline-CnSt_KvS.js} +3 -2
  124. package/dist/OverflowList/index.d.ts +1 -1
  125. package/dist/OverflowList/index.js +1 -1
  126. package/dist/{OverflowList-BYYz3ePw.js → OverflowList-KpebInhH.js} +2 -2
  127. package/dist/Overlay/index.d.ts +1 -1
  128. package/dist/Pagination/index.d.ts +1 -1
  129. package/dist/Pagination/index.js +1 -1
  130. package/dist/{Pagination-DM_W9Ue-.js → Pagination-BliQ5RGN.js} +2 -2
  131. package/dist/Popover/index.d.ts +2 -2
  132. package/dist/Popover/index.js +1 -1
  133. package/dist/{Popover-CxReY-4u.js → Popover-DXfXGrWG.js} +9 -9
  134. package/dist/PowerSearch/index.d.ts +1 -1
  135. package/dist/PowerSearch/index.js +1 -1
  136. package/dist/{PowerSearch-BwUWZG3p.js → PowerSearch-CmJKFEEu.js} +25 -25
  137. package/dist/ProgressBar/index.d.ts +1 -1
  138. package/dist/ProgressBar/index.js +1 -1
  139. package/dist/{ProgressBar-DCAEXJuP.js → ProgressBar-Dj1ucJxG.js} +1 -1
  140. package/dist/Radio/index.d.ts +1 -1
  141. package/dist/Radio/index.js +1 -1
  142. package/dist/{RadioGroup-CsJYGjyx.js → RadioGroup-BLOjBRrM.js} +2 -2
  143. package/dist/RadioList/index.d.ts +1 -1
  144. package/dist/RadioList/index.js +1 -1
  145. package/dist/{RadioListItem-Yc3K82YE.js → RadioListItem-CHxTpBva.js} +1 -1
  146. package/dist/ScrollableArea/index.d.ts +1 -1
  147. package/dist/SelectableCard/index.d.ts +1 -1
  148. package/dist/Selector/index.d.ts +1 -1
  149. package/dist/Selector/index.js +1 -1
  150. package/dist/{Selector-bH99g1vj.js → Selector-OhIdsI8A.js} +6 -6
  151. package/dist/SideNav/index.d.ts +1 -1
  152. package/dist/SideNav/index.js +2 -2
  153. package/dist/{SideNav-C1ZxusAB.js → SideNav-CcdDU-hP.js} +8 -8
  154. package/dist/Slider/index.js +1 -1
  155. package/dist/{Slider-Bq_7Nskr.js → Slider-DjbWQ1wn.js} +1 -1
  156. package/dist/StatusDot/index.js +1 -1
  157. package/dist/{StatusDot-DFJavm30.js → StatusDot-Bta_bpaZ.js} +1 -1
  158. package/dist/Stepper/index.d.ts +1 -1
  159. package/dist/Switch/index.d.ts +1 -1
  160. package/dist/Switch/index.js +1 -1
  161. package/dist/{Switch-DTPvMAxd.js → Switch-D4ojsj_l.js} +1 -1
  162. package/dist/TabList/index.js +1 -1
  163. package/dist/{TabList-C4i7UZkp.js → TabList-S99zXoRN.js} +2 -2
  164. package/dist/Table/index.d.ts +1 -1
  165. package/dist/Table/index.js +1 -1
  166. package/dist/{Table-ClHIgsKO.js → Table-3NTjPpHc.js} +15 -15
  167. package/dist/Text/index.d.ts +1 -1
  168. package/dist/Text/index.js +1 -1
  169. package/dist/{Text-D48QFTtL.js → Text-DNKNlENe.js} +1 -1
  170. package/dist/TextArea/index.d.ts +1 -1
  171. package/dist/TextArea/index.js +1 -1
  172. package/dist/{TextArea-J2_wct0p.js → TextArea-DnSmL0A8.js} +4 -4
  173. package/dist/TextInput/index.d.ts +1 -1
  174. package/dist/TextInput/index.js +1 -1
  175. package/dist/{TextInput-Da1TYd57.js → TextInput-DyHEMYld.js} +4 -4
  176. package/dist/Theme/index.d.ts +4 -3
  177. package/dist/Theme/index.js +4 -3
  178. package/dist/{Theme-BmTbbiAD.js → Theme-CwruhtLu.js} +290 -62
  179. package/dist/Thumbnail/index.js +1 -1
  180. package/dist/{Thumbnail-1LsaJ4_m.js → Thumbnail-D8GlIdNm.js} +2 -2
  181. package/dist/{TimeField-i5ESA500.js → TimeField-ADeT0OA1.js} +4 -4
  182. package/dist/TimeInput/index.d.ts +1 -1
  183. package/dist/TimeInput/index.js +1 -1
  184. package/dist/{TimeInput-frnKZo1M.js → TimeInput-C1gzJGHk.js} +2 -2
  185. package/dist/Timer/index.js +1 -1
  186. package/dist/{Timer-DgQdZAEa.js → Timer-DhI2oV5L.js} +1 -1
  187. package/dist/Timestamp/index.d.ts +1 -1
  188. package/dist/Timestamp/index.js +1 -1
  189. package/dist/{Timestamp-SseS_qtf.js → Timestamp-CTZSVsmd.js} +3 -3
  190. package/dist/Toast/index.js +1 -1
  191. package/dist/{Toast-tAq4S96S.js → Toast-DUqDW07c.js} +27 -3
  192. package/dist/ToggleButton/index.d.ts +1 -1
  193. package/dist/ToggleButton/index.js +1 -1
  194. package/dist/{ToggleButton-B6hBzeVl.js → ToggleButton-BMBH2tmu.js} +1 -1
  195. package/dist/Token/index.d.ts +1 -1
  196. package/dist/Tokenizer/index.d.ts +1 -1
  197. package/dist/Tokenizer/index.js +1 -1
  198. package/dist/{Tokenizer-iFZAuIwu.js → Tokenizer-C0CdEzQT.js} +13 -13
  199. package/dist/Toolbar/index.d.ts +1 -1
  200. package/dist/Tooltip/index.d.ts +1 -1
  201. package/dist/Tooltip/index.js +2 -2
  202. package/dist/{Tooltip-CxzlUVN0.js → Tooltip-CEyd_iFa.js} +1 -1
  203. package/dist/TopNav/index.d.ts +1 -1
  204. package/dist/TopNav/index.js +1 -1
  205. package/dist/{TopNav-CcIayfsW.js → TopNav-BObecD_X.js} +4 -4
  206. package/dist/TreeList/index.js +1 -1
  207. package/dist/{TreeList-Da_OKrv_.js → TreeList-CsgXzBdm.js} +2 -2
  208. package/dist/Typeahead/index.d.ts +1 -1
  209. package/dist/Typeahead/index.js +2 -2
  210. package/dist/{Typeahead-BD6xXNKh.js → Typeahead-C_0dTmaf.js} +5 -5
  211. package/dist/{useMenuDrillIn-Cj6MM77J.js → accessibleName-Cq7krRE-.js} +118 -27
  212. package/dist/{adaptationTypes-Cn_pfrsw.d.ts → adaptationTypes-D874ONPJ.d.ts} +28 -6
  213. package/dist/{animator-CEHDYTfQ.js → animator-C0kqgDUJ.js} +3 -2
  214. package/dist/{assertOptions-CJgNig1l.js → assertOptions-Km_9Y5rI.js} +2 -2
  215. package/dist/{batch-D2a2MsSW.js → batch-DPlrpYU6.js} +3 -2
  216. package/dist/compactDefinition-BeFUKEFg.js +29 -0
  217. package/dist/compactDefinition-CMTR5KqU.d.ts +19 -0
  218. package/dist/composables/index.d.ts +2 -2
  219. package/dist/composables/index.js +11 -11
  220. package/dist/{composables-Bs0O_SRd.js → composables-kHI1dSq2.js} +4 -4
  221. package/dist/{context-NKb_prrS.js → context-ZWA02GaM.js} +1 -1
  222. package/dist/{edge-tj-cLZYh.js → edge-DFaE6rUg.js} +1 -1
  223. package/dist/{edgeRide-DcUqLXE2.js → edgeRide-UdNxbwxY.js} +2 -2
  224. package/dist/{index-m3DOxOw6.d.ts → index-4m5X7IYX.d.ts} +69 -69
  225. package/dist/{index-BIqW3_GP.d.ts → index-B83v2qNb.d.ts} +2 -2
  226. package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
  227. package/dist/{index-C6IcBhAn.d.ts → index-BIiG1CF_.d.ts} +2 -2
  228. package/dist/{index-DHUCHxn2.d.ts → index-BWWirRm3.d.ts} +1 -1
  229. package/dist/{index-YKCx03zD.d.ts → index-BpFzfJbo.d.ts} +1 -1
  230. package/dist/{index-3qz8Qztx.d.ts → index-Bxus0zuz.d.ts} +8 -8
  231. package/dist/{index-BjqoHLMq.d.ts → index-C1e8LNx2.d.ts} +1 -1
  232. package/dist/{index-waTkqxTz.d.ts → index-C89cIh4E.d.ts} +1 -1
  233. package/dist/{index-DE-QPNz0.d.ts → index-C943VIzi.d.ts} +3 -2
  234. package/dist/{index-DYabo8TI.d.ts → index-CHLZPpjQ.d.ts} +3 -3
  235. package/dist/{index-B-3EGjfQ.d.ts → index-CO9GW-ik.d.ts} +1 -1
  236. package/dist/{index-D14kSf-g.d.ts → index-CQi9WGWE.d.ts} +1 -1
  237. package/dist/{index-Bh-GqMzd.d.ts → index-CdRxeyhB.d.ts} +30 -2
  238. package/dist/{index-C9ZssPUV.d.ts → index-CiVrhGUJ.d.ts} +1 -1
  239. package/dist/{index-Cw4CUe06.d.ts → index-Cj-Ob5jw.d.ts} +6 -6
  240. package/dist/{index-rdwI-mcm.d.ts → index-CtYlR9Cu.d.ts} +1 -1
  241. package/dist/{index-Ea2V_FSK.d.ts → index-DAEgHJTK.d.ts} +4 -4
  242. package/dist/{index-DofC9Rll.d.ts → index-Dk50Zh3F.d.ts} +2 -2
  243. package/dist/{index-668zPVsH.d.ts → index-DkYOGpsC.d.ts} +1 -1
  244. package/dist/{index-DVS4jM-l.d.ts → index-DogWVRJi.d.ts} +1 -1
  245. package/dist/{index-CTXG-KKT.d.ts → index-EUzmHHm6.d.ts} +2 -1
  246. package/dist/{index-Bu4R0WZA.d.ts → index-ILJ7sKx3.d.ts} +3 -3
  247. package/dist/{index-BenG-F5d.d.ts → index-maTGrWjF.d.ts} +1 -1
  248. package/dist/{index-CEtFUoIm.d.ts → index-o3JHyrk8.d.ts} +1 -1
  249. package/dist/index.d.ts +31 -30
  250. package/dist/index.js +99 -98
  251. package/dist/{landing-Bi7X7w_7.js → landing-CSCE9afT.js} +1 -1
  252. package/dist/{layerDepth-D3Rh8T5C.js → layerDepth-8jb4An1z.js} +1 -1
  253. package/dist/lazyBottomSheet-CNYA5qOy.js +25 -0
  254. package/dist/{linearEasing-ScK9LqAY.js → linearEasing-BiRVC8Mq.js} +1 -22
  255. package/dist/locale/index.js +3 -3
  256. package/dist/{locale-CVpkedoa.js → locale-C9LWi1y1.js} +1 -1
  257. package/dist/{menuActivation-BqiaK6ot.js → menuActivation-BQqnzKAX.js} +8 -1
  258. package/dist/{presentationHold-7IkbR4d8.js → presentationHold-B4tK68sd.js} +3 -29
  259. package/dist/reducedMotionMark-CYSyfURo.js +34 -0
  260. package/dist/{resolveMotion-1cwESYvK.js → resolveMotion-B9NDPeUz.js} +1 -1
  261. package/dist/{stillPointerGate-BbMABRyU.js → stillPointerGate-CpzpYNqy.js} +1 -1
  262. package/dist/{themeTiming-NUkH9HsU.js → themeTiming-D1U0redl.js} +1 -111
  263. package/dist/tokenReferences-sKpv-7_O.js +167 -0
  264. package/dist/{tooltipFocusRules-CpUOvFEU.js → tooltipFocusRules-BfnTnTpn.js} +2 -2
  265. package/dist/{tooltipTriggerRules-zN2xGd9K.js → tooltipTriggerRules-BRdKWVzo.js} +1 -1
  266. package/dist/{types-BA1veIoa.d.ts → types-D97oBk6c.d.ts} +1 -1
  267. package/dist/{useCombobox-BqkTY3bw.js → useCombobox-DkwiskdE.js} +1 -1
  268. package/dist/{useDismiss-BKtyCwx4.js → useDismiss-fhWaGqY8.js} +1 -1
  269. package/dist/{useFocusTrap-BD9POtMp.js → useFocusTrap-DT2UCZd-.js} +1 -1
  270. package/dist/{useHeldPresentation-7MH-RlSF.js → useHeldPresentation-BF5vGVUn.js} +1 -1
  271. package/dist/{useInputStatusIcon-BqV6YzTV.js → useInputStatusIcon-B1i0sFKu.js} +1 -1
  272. package/dist/{useMenuPress-DcwVUsQO.js → useMenuPress-CBtTaYOS.js} +71 -4
  273. package/dist/{useResizable-hv4NYIUi.js → useResizable-AfPBAq5c.js} +1 -1
  274. package/dist/{useTooltip-DvBKna-w.js → useTooltip-llyJd1q6.js} +4 -4
  275. package/dist/{useTouchTriggerInternal-Bl602PtA.js → useTouchTriggerInternal-DzsFiDjb.js} +1 -1
  276. package/dist/{useTruncationTooltip-DNAii2Nv.js → useTruncationTooltip-BFm7XgvO.js} +3 -3
  277. package/dist/{useTypeahead-BGpvWkzm.js → useTypeahead-8Y5m41VA.js} +1 -1
  278. package/dist/{useTypeaheadMenuConfig-BT9Lwsu7.js → useTypeaheadMenuConfig-Cy-gOjVd.js} +2 -2
  279. package/package.json +1 -1
  280. package/reset.css +1 -1
  281. package/styles/chat.css +5 -5
  282. package/styles/drawer.css +9 -0
  283. package/styles/dropdown-menu.css +5 -0
  284. package/dist/DropdownMenu-C9bvYZPt.js +0 -489
  285. package/dist/lazyBottomSheet-BVZ1yH8g.js +0 -16
  286. package/dist/motionTokenDefaults-EFzpiAF5.js +0 -38
  287. package/dist/useSubmenuMode-CZN9qrUo.js +0 -37
  288. package/dist/{index-BqhgeAT4.d.ts → index-D8lv2BiD.d.ts} +1 -1
  289. package/dist/{loadCatalog-FwMzmCx1.js → loadCatalog-zJKVLZ89.js} +1 -1
@@ -1,23 +1,23 @@
1
- import { n as _sfc_main$6 } from "./BottomSheet-Btf8Yn8k.js";
2
- import { t as _sfc_main$7 } from "./Icon-Dk0jccgU.js";
1
+ import { t as _sfc_main$6 } from "./Icon-Dk0jccgU.js";
3
2
  import { n as useLinkComponent } from "./context-C_peZbXf.js";
4
- import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-BKtyCwx4.js";
5
- import { s as isImeKeyEvent } from "./layerDepth-D3Rh8T5C.js";
6
- import { t as _sfc_main$8 } from "./LayerContentBoundary-LCQLyxBT.js";
3
+ import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-fhWaGqY8.js";
4
+ import { s as isImeKeyEvent } from "./layerDepth-8jb4An1z.js";
5
+ import { t as _sfc_main$7 } from "./LayerContentBoundary-DmRI6Bg0.js";
7
6
  import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
7
+ import { t as focusForLastInput } from "./focusReturn-DfZS7TCp.js";
8
8
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
9
- import { o as resetMenuPress, s as useLongPress, t as useMenuPress } from "./useMenuPress-DcwVUsQO.js";
9
+ import { c as resetMenuPress, l as useLongPress, n as useMenuPress } from "./useMenuPress-CBtTaYOS.js";
10
10
  import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
11
11
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
12
- import { a as _sfc_main$9, d as useContextMenu, f as useContextMenuSize, i as _sfc_main$10, l as contextMenuContextKey, n as useDropdownMenuMessages, r as _sfc_main$11, t as useMenuDrillIn, u as submenuAncestorOpenKey } from "./useMenuDrillIn-Cj6MM77J.js";
13
- import { t as useHeldPresentation } from "./useHeldPresentation-7MH-RlSF.js";
14
- import { t as _sfc_main$12 } from "./Divider-mOZ6vIQw.js";
15
- import { n as isModifiedClick, t as activateMenuItem } from "./menuActivation-BqiaK6ot.js";
16
- import { t as _sfc_main$13 } from "./Spinner-DEVPDsD0.js";
17
- import { t as contextMenuMessages } from "./context-menu-9i6CObx3.js";
18
- import { t as useSubmenuMode } from "./useSubmenuMode-CZN9qrUo.js";
12
+ import { n as isModifiedClick, r as keepDisabledRowUnfocused, t as activateMenuItem } from "./menuActivation-BQqnzKAX.js";
13
+ import { a as _sfc_main$10, d as contextMenuContextKey, f as submenuAncestorOpenKey, i as useDropdownMenuMessages, m as useContextMenuSize, n as useMenuDrillIn, o as _sfc_main$9, p as useContextMenu, r as useSubmenuMode, s as _sfc_main$8, t as readAccessibleName } from "./accessibleName-Cq7krRE-.js";
14
+ import { t as useHeldPresentation } from "./useHeldPresentation-BF5vGVUn.js";
15
+ import { t as LazyBottomSheet } from "./lazyBottomSheet-CNYA5qOy.js";
16
+ import { t as _sfc_main$11 } from "./Divider-mOZ6vIQw.js";
19
17
  import { t as createHideTimer } from "./hoverIntent-DMHGb85c.js";
20
- import { Fragment, Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, provide, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, useId, useModel, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
18
+ import { t as _sfc_main$12 } from "./Spinner-DEVPDsD0.js";
19
+ import { t as contextMenuMessages } from "./context-menu-9i6CObx3.js";
20
+ import { Fragment, Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, provide, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
21
21
  import "../styles/context-menu.css";
22
22
  //#region src/ContextMenu/ContextMenuDivider.vue
23
23
  const _sfc_main$5 = /*@__PURE__*/ defineComponent({
@@ -26,7 +26,7 @@ const _sfc_main$5 = /*@__PURE__*/ defineComponent({
26
26
  props: { variant: { default: "subtle" } },
27
27
  setup(__props) {
28
28
  return (_ctx, _cache) => {
29
- return openBlock(), createBlock(_sfc_main$12, {
29
+ return openBlock(), createBlock(_sfc_main$11, {
30
30
  class: "astryx-context-menu-divider",
31
31
  variant: __props.variant
32
32
  }, null, 8, ["variant"]);
@@ -129,7 +129,7 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
129
129
  if (props.isDisabled || event.pointerType !== "mouse") return;
130
130
  const element = root.value;
131
131
  if (element == null || element === element.ownerDocument.activeElement) return;
132
- element.focus({ preventScroll: true });
132
+ focusForLastInput(element, { preventScroll: true });
133
133
  }
134
134
  return (_ctx, _cache) => {
135
135
  return openBlock(), createBlock(resolveDynamicComponent(__props.href != null ? linkRoot.value : "div"), {
@@ -144,14 +144,15 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
144
144
  to: __props.href != null && linkRoot.value !== "a" ? __props.href : void 0,
145
145
  rel: __props.rel,
146
146
  role: "menuitem",
147
- tabindex: __props.isDisabled ? void 0 : -1,
147
+ tabindex: "-1",
148
148
  target: __props.target,
149
149
  onAuxclick: handleAuxClick,
150
150
  onClick: handleClick,
151
+ onMousedown: _cache[0] || (_cache[0] = ($event) => __props.isDisabled && unref(keepDisabledRowUnfocused)($event)),
151
152
  onPointermove: handlePointerMove
152
153
  }, {
153
154
  default: withCtx(() => [
154
- __props.icon != null || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_1$2, [renderSlot(_ctx.$slots, "icon", {}, () => [createVNode(_sfc_main$7, {
155
+ __props.icon != null || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_1$2, [renderSlot(_ctx.$slots, "icon", {}, () => [createVNode(_sfc_main$6, {
155
156
  color: iconColor.value,
156
157
  icon: __props.icon,
157
158
  size: "sm"
@@ -169,7 +170,6 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
169
170
  "href",
170
171
  "to",
171
172
  "rel",
172
- "tabindex",
173
173
  "target"
174
174
  ]);
175
175
  };
@@ -186,8 +186,8 @@ const MENU_ITEM_ROLES = /* @__PURE__ */ new Set([
186
186
  "menuitemradio",
187
187
  "menuitemcheckbox"
188
188
  ]);
189
- /** Selector for the activatable rows of one menu level. */
190
- const MENU_ITEM_SELECTOR = [...MENU_ITEM_ROLES].map((role) => `[role="${role}"]:not([aria-disabled="true"])`).join(",");
189
+ /** Selector for every row of one menu level, disabled rows included. */
190
+ const MENU_ROW_SELECTOR = [...MENU_ITEM_ROLES].map((role) => `[role="${role}"]`).join(",");
191
191
  /** Selector for any menu level, used to scope a level's rows and key events. */
192
192
  const MENU_BOUNDARY_SELECTOR = "[role=\"menu\"]";
193
193
  function isDisabledRow(row) {
@@ -223,7 +223,7 @@ function useMenuNav(options) {
223
223
  function getItems() {
224
224
  const menu = menuRef.value;
225
225
  if (menu == null) return [];
226
- return Array.from(menu.querySelectorAll(MENU_ITEM_SELECTOR)).filter((row) => !isHiddenWithin(row, menu)).filter((row) => row.closest(MENU_BOUNDARY_SELECTOR) === menu);
226
+ return Array.from(menu.querySelectorAll(MENU_ROW_SELECTOR)).filter((row) => !isHiddenWithin(row, menu)).filter((row) => row.closest(MENU_BOUNDARY_SELECTOR) === menu);
227
227
  }
228
228
  function ownsEvent(event) {
229
229
  const menu = menuRef.value;
@@ -260,15 +260,16 @@ function useMenuNav(options) {
260
260
  const items = getItems();
261
261
  return focusIndex(items, findEnabledIndex(items, 0, 1, false));
262
262
  }
263
- function focusLast() {
264
- const items = getItems();
265
- return focusIndex(items, findEnabledIndex(items, items.length - 1, -1, false));
266
- }
267
263
  function moveBy(direction) {
268
264
  const items = getItems();
269
265
  if (items.length === 0) return false;
270
266
  const current = getCurrentIndex(items);
271
- return focusIndex(items, findEnabledIndex(items, current === -1 ? direction === 1 ? 0 : items.length - 1 : current + direction, direction, true));
267
+ return focusIndex(items, ((current === -1 ? direction === 1 ? 0 : items.length - 1 : current + direction) + items.length) % items.length);
268
+ }
269
+ /** Home / End: the keys reach a disabled row at either end. */
270
+ function focusEdge(edge) {
271
+ const items = getItems();
272
+ return focusIndex(items, edge === "first" ? 0 : items.length - 1);
272
273
  }
273
274
  /**
274
275
  * PageDown / PageUp move by the rows a viewport shows, never wrapping; in a
@@ -277,14 +278,13 @@ function useMenuNav(options) {
277
278
  function focusPage(direction) {
278
279
  const menu = menuRef.value;
279
280
  const all = getItems();
280
- const active = all.map((row, index) => isDisabledRow(row) ? -1 : index).filter((index) => index !== -1);
281
- if (menu == null || active.length === 0) return false;
282
- if (menu.clientHeight === 0 || menu.scrollHeight <= menu.clientHeight) return direction === 1 ? focusLast() : focusFirst();
283
- const rowHeight = all[active[0]]?.getBoundingClientRect().height ?? 0;
284
- const perPage = rowHeight > 0 ? Math.max(1, Math.floor(menu.clientHeight / rowHeight)) : active.length;
285
- const position = active.indexOf(getCurrentIndex(all));
286
- const from = position === -1 ? direction === 1 ? -1 : active.length : position;
287
- return focusIndex(all, active[Math.max(0, Math.min(active.length - 1, from + direction * perPage))]);
281
+ if (menu == null || all.length === 0) return false;
282
+ if (menu.clientHeight === 0 || menu.scrollHeight <= menu.clientHeight) return focusEdge(direction === 1 ? "last" : "first");
283
+ const rowHeight = all[0]?.getBoundingClientRect().height ?? 0;
284
+ const perPage = rowHeight > 0 ? Math.max(1, Math.floor(menu.clientHeight / rowHeight)) : all.length;
285
+ const position = getCurrentIndex(all);
286
+ const from = position === -1 ? direction === 1 ? -1 : all.length : position;
287
+ return focusIndex(all, Math.max(0, Math.min(all.length - 1, from + direction * perPage)));
288
288
  }
289
289
  /**
290
290
  * Typeahead over the rows' label elements. Repeated presses of the same
@@ -307,7 +307,6 @@ function useMenuNav(options) {
307
307
  const offset = hasCurrent && nextBuffer.length === 1 ? 1 : 0;
308
308
  for (let i = 0; i < labels.length; i++) {
309
309
  const index = (start + offset + i + labels.length) % labels.length;
310
- if (isDisabledRow(items[index])) continue;
311
310
  const label = labels[index];
312
311
  if (label != null && label.trim().toLowerCase().startsWith(nextBuffer)) {
313
312
  focusIndex(items, index);
@@ -347,11 +346,11 @@ function useMenuNav(options) {
347
346
  event.preventDefault();
348
347
  return;
349
348
  }
350
- if (event.key === "Home" && focusFirst()) {
349
+ if (event.key === "Home" && focusEdge("first")) {
351
350
  event.preventDefault();
352
351
  return;
353
352
  }
354
- if (event.key === "End" && focusLast()) {
353
+ if (event.key === "End" && focusEdge("last")) {
355
354
  event.preventDefault();
356
355
  return;
357
356
  }
@@ -484,18 +483,14 @@ const _hoisted_1$1 = [
484
483
  "aria-disabled",
485
484
  "aria-expanded",
486
485
  "data-disabled",
487
- "data-size",
488
- "tabindex"
486
+ "data-size"
489
487
  ];
490
488
  const _hoisted_2$1 = {
491
489
  key: 0,
492
490
  class: "astryx-context-menu-item__start"
493
491
  };
494
492
  const _hoisted_3$1 = { class: "astryx-context-menu-item__content" };
495
- const _hoisted_4$1 = {
496
- class: "astryx-context-menu-item__label",
497
- "data-menu-item-label": ""
498
- };
493
+ const _hoisted_4$1 = ["id"];
499
494
  const _hoisted_5 = {
500
495
  key: 0,
501
496
  class: "astryx-context-menu-item__description"
@@ -505,9 +500,14 @@ const _hoisted_7 = {
505
500
  key: 0,
506
501
  "aria-hidden": "true"
507
502
  };
508
- const _hoisted_8 = ["aria-label", "hidden"];
503
+ const _hoisted_8 = [
504
+ "aria-label",
505
+ "aria-labelledby",
506
+ "hidden"
507
+ ];
509
508
  const _hoisted_9 = [
510
509
  "aria-label",
510
+ "aria-labelledby",
511
511
  "data-overflow",
512
512
  "data-placement",
513
513
  "data-size"
@@ -559,10 +559,25 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
559
559
  const flyout = useTemplateRef("flyout");
560
560
  const isOpen = ref(false);
561
561
  const flyoutId = `astryx-context-menu-submenu-${useId()}`;
562
- const flyoutLabel = computed(() => typeof props.label === "string" ? props.label : menu?.menuLabel.value ?? "Submenu");
562
+ const slots = useSlots();
563
+ const stringLabel = computed(() => typeof props.label === "string" && props.label !== "" ? props.label : void 0);
564
+ const hasNodeLabel = computed(() => stringLabel.value == null && slots.label != null);
565
+ const nodeLabelId = `astryx-context-submenu-label-${useId()}`;
566
+ const nodeLabelText = ref();
567
+ const flyoutLabel = computed(() => stringLabel.value ?? menu?.menuLabel.value ?? "Submenu");
568
+ const viewAriaLabel = computed(() => hasNodeLabel.value ? void 0 : flyoutLabel.value);
569
+ const viewLabelledBy = computed(() => hasNodeLabel.value ? nodeLabelId : void 0);
563
570
  const ancestorOpen = inject(submenuAncestorOpenKey, computed(() => true));
564
571
  const showsFlyout = computed(() => isOpen.value && (menu?.isOpen.value ?? true) && ancestorOpen.value);
565
572
  provide(submenuAncestorOpenKey, showsFlyout);
573
+ const isShown = computed(() => isDrill.value ? drillOnStack.value : showsFlyout.value);
574
+ watch(isShown, (shown) => {
575
+ if (shown && hasNodeLabel.value) nodeLabelText.value = readAccessibleName(document.getElementById(nodeLabelId));
576
+ });
577
+ if (menu != null) provide(contextMenuContextKey, {
578
+ ...menu,
579
+ menuLabel: computed(() => stringLabel.value ?? (hasNodeLabel.value ? nodeLabelText.value : void 0) ?? menu.menuLabel.value)
580
+ });
566
581
  const { position, teleportTarget } = usePositionedLayer({
567
582
  anchor: row,
568
583
  layer: flyout,
@@ -665,7 +680,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
665
680
  if (props.isDisabled || event.pointerType !== "mouse") return;
666
681
  const element = row.value;
667
682
  if (element == null || element === element.ownerDocument.activeElement) return;
668
- element.focus({ preventScroll: true });
683
+ focusForLastInput(element, { preventScroll: true });
669
684
  }
670
685
  function onFlyoutKeyDown(event) {
671
686
  if (isImeKeyEvent(event)) return;
@@ -694,105 +709,108 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
694
709
  close(false);
695
710
  });
696
711
  return (_ctx, _cache) => {
697
- return openBlock(), createElementBlock(Fragment, null, [
698
- createCommentVNode(" eslint-disable-next-line vue-a11y/interactive-supports-focus -- The dynamic tabindex is -1 while enabled, the only state that is focusable, and is removed while disabled. "),
699
- createElementVNode("div", mergeProps({
700
- ref_key: "row",
701
- ref: row
702
- }, unref(attrs), {
703
- "aria-controls": flyoutId,
704
- "aria-disabled": __props.isDisabled || void 0,
705
- "aria-expanded": showsFlyout.value || unref(drillOnStack),
706
- "aria-haspopup": "menu",
707
- class: ["astryx-context-menu-item astryx-context-menu-item--submenu", unref(attrs).class],
708
- "data-disabled": __props.isDisabled || void 0,
709
- "data-size": unref(size),
710
- role: "menuitem",
711
- style: unref(attrs).style,
712
- tabindex: __props.isDisabled ? void 0 : -1,
713
- onClick: onRowClick,
714
- onFocusout: onRowFocusOut,
715
- onKeydown: onRowKeyDown,
716
- onPointerenter: onRowPointerEnter,
717
- onPointerleave: _cache[0] || (_cache[0] = (...args) => unref(hover).onTriggerPointerLeave && unref(hover).onTriggerPointerLeave(...args)),
718
- onPointermove: onRowPointerMove
719
- }), [
720
- __props.icon != null || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_2$1, [renderSlot(_ctx.$slots, "icon", {}, () => [createVNode(_sfc_main$7, {
721
- icon: __props.icon,
722
- color: "secondary",
723
- size: "sm"
724
- }, null, 8, ["icon"])])])) : createCommentVNode("v-if", true),
725
- createElementVNode("span", _hoisted_3$1, [createElementVNode("span", _hoisted_4$1, [renderSlot(_ctx.$slots, "label", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])]), __props.description != null || _ctx.$slots.description ? (openBlock(), createElementBlock("span", _hoisted_5, [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(__props.description), 1)])])) : createCommentVNode("v-if", true)]),
726
- createElementVNode("span", _hoisted_6, [renderSlot(_ctx.$slots, "endContent", {}, () => [__props.hasSpinner ? (openBlock(), createElementBlock("span", _hoisted_7, [createVNode(_sfc_main$13, { size: "sm" })])) : (openBlock(), createBlock(_sfc_main$7, {
727
- key: 1,
728
- class: "astryx-context-menu-item__chevron",
729
- icon: "chevronRight",
712
+ return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", mergeProps({
713
+ ref_key: "row",
714
+ ref: row
715
+ }, unref(attrs), {
716
+ "aria-controls": flyoutId,
717
+ "aria-disabled": __props.isDisabled || void 0,
718
+ "aria-expanded": showsFlyout.value || unref(drillOnStack),
719
+ "aria-haspopup": "menu",
720
+ class: ["astryx-context-menu-item astryx-context-menu-item--submenu", unref(attrs).class],
721
+ "data-disabled": __props.isDisabled || void 0,
722
+ "data-size": unref(size),
723
+ role: "menuitem",
724
+ style: unref(attrs).style,
725
+ tabindex: "-1",
726
+ onClick: onRowClick,
727
+ onFocusout: onRowFocusOut,
728
+ onMousedown: _cache[0] || (_cache[0] = ($event) => __props.isDisabled && unref(keepDisabledRowUnfocused)($event)),
729
+ onKeydown: onRowKeyDown,
730
+ onPointerenter: onRowPointerEnter,
731
+ onPointerleave: _cache[1] || (_cache[1] = (...args) => unref(hover).onTriggerPointerLeave && unref(hover).onTriggerPointerLeave(...args)),
732
+ onPointermove: onRowPointerMove
733
+ }), [
734
+ __props.icon != null || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_2$1, [renderSlot(_ctx.$slots, "icon", {}, () => [createVNode(_sfc_main$6, {
735
+ icon: __props.icon,
736
+ color: "secondary",
737
+ size: "sm"
738
+ }, null, 8, ["icon"])])])) : createCommentVNode("v-if", true),
739
+ createElementVNode("span", _hoisted_3$1, [createElementVNode("span", {
740
+ id: hasNodeLabel.value ? nodeLabelId : void 0,
741
+ class: "astryx-context-menu-item__label",
742
+ "data-menu-item-label": ""
743
+ }, [renderSlot(_ctx.$slots, "label", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])], 8, _hoisted_4$1), __props.description != null || _ctx.$slots.description ? (openBlock(), createElementBlock("span", _hoisted_5, [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(__props.description), 1)])])) : createCommentVNode("v-if", true)]),
744
+ createElementVNode("span", _hoisted_6, [renderSlot(_ctx.$slots, "endContent", {}, () => [__props.hasSpinner ? (openBlock(), createElementBlock("span", _hoisted_7, [createVNode(_sfc_main$12, { size: "sm" })])) : (openBlock(), createBlock(_sfc_main$6, {
745
+ key: 1,
746
+ class: "astryx-context-menu-item__chevron",
747
+ icon: "chevronRight",
748
+ color: "secondary",
749
+ size: "sm"
750
+ }))])])
751
+ ], 16, _hoisted_1$1), drillHost.value ? (openBlock(), createBlock(Teleport, {
752
+ key: 0,
753
+ to: drillHost.value
754
+ }, [withDirectives(createElementVNode("div", {
755
+ ref_key: "flyout",
756
+ ref: flyout,
757
+ class: "astryx-context-menu astryx-context-menu--flyout",
758
+ role: "menu",
759
+ "aria-label": viewAriaLabel.value,
760
+ "aria-labelledby": viewLabelledBy.value,
761
+ hidden: unref(drillIsTop) ? void 0 : true,
762
+ tabindex: "-1",
763
+ onKeydown: onFlyoutKeyDown
764
+ }, [createVNode(_sfc_main$7, null, {
765
+ default: withCtx(() => [createVNode(_sfc_main$3, {
766
+ "has-close-on-select": false,
767
+ label: backLabel.value,
768
+ onClick: _cache[2] || (_cache[2] = ($event) => close(true))
769
+ }, {
770
+ icon: withCtx(() => [createVNode(_sfc_main$6, {
730
771
  color: "secondary",
772
+ icon: "chevronLeft",
731
773
  size: "sm"
732
- }))])])
733
- ], 16, _hoisted_1$1),
734
- drillHost.value ? (openBlock(), createBlock(Teleport, {
735
- key: 0,
736
- to: drillHost.value
737
- }, [withDirectives(createElementVNode("div", {
774
+ })]),
775
+ _: 1
776
+ }, 8, ["label"]), renderSlot(_ctx.$slots, "default", {}, () => [createVNode(_sfc_main$1, {
777
+ items: __props.items ?? [],
778
+ onSelect: onNestedSelect
779
+ }, null, 8, ["items"])])]),
780
+ _: 3
781
+ })], 40, _hoisted_8), [[vShow, unref(drillOnStack)]])], 8, ["to"])) : (openBlock(), createBlock(Teleport, {
782
+ key: 1,
783
+ to: unref(teleportTarget)
784
+ }, [createVNode(Transition, {
785
+ name: "astryx-context-menu-flyout",
786
+ persisted: ""
787
+ }, {
788
+ default: withCtx(() => [withDirectives(createElementVNode("div", {
789
+ id: flyoutId,
738
790
  ref_key: "flyout",
739
791
  ref: flyout,
792
+ "aria-label": viewAriaLabel.value,
793
+ "aria-labelledby": viewLabelledBy.value,
740
794
  class: "astryx-context-menu astryx-context-menu--flyout",
795
+ "data-overflow": unref(hasOverflow) || void 0,
796
+ "data-placement": unref(position).placement,
797
+ "data-size": unref(size),
741
798
  role: "menu",
742
- "aria-label": flyoutLabel.value,
743
- hidden: unref(drillIsTop) ? void 0 : true,
799
+ style: normalizeStyle(flyoutStyle.value),
744
800
  tabindex: "-1",
745
- onKeydown: onFlyoutKeyDown
746
- }, [createVNode(_sfc_main$8, null, {
747
- default: withCtx(() => [createVNode(_sfc_main$3, {
748
- "has-close-on-select": false,
749
- label: backLabel.value,
750
- onClick: _cache[1] || (_cache[1] = ($event) => close(true))
751
- }, {
752
- icon: withCtx(() => [createVNode(_sfc_main$7, {
753
- color: "secondary",
754
- icon: "chevronLeft",
755
- size: "sm"
756
- })]),
757
- _: 1
758
- }, 8, ["label"]), renderSlot(_ctx.$slots, "default", {}, () => [createVNode(_sfc_main$1, {
801
+ onContextmenu: _cache[3] || (_cache[3] = withModifiers(() => {}, ["prevent"])),
802
+ onKeydown: onFlyoutKeyDown,
803
+ onPointerenter: _cache[4] || (_cache[4] = (...args) => unref(hover).onFlyoutPointerEnter && unref(hover).onFlyoutPointerEnter(...args)),
804
+ onPointerleave: _cache[5] || (_cache[5] = (...args) => unref(hover).onFlyoutPointerLeave && unref(hover).onFlyoutPointerLeave(...args))
805
+ }, [createVNode(_sfc_main$7, null, {
806
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [createVNode(_sfc_main$1, {
759
807
  items: __props.items ?? [],
760
808
  onSelect: onNestedSelect
761
809
  }, null, 8, ["items"])])]),
762
810
  _: 3
763
- })], 40, _hoisted_8), [[vShow, unref(drillOnStack)]])], 8, ["to"])) : (openBlock(), createBlock(Teleport, {
764
- key: 1,
765
- to: unref(teleportTarget)
766
- }, [createVNode(Transition, {
767
- name: "astryx-context-menu-flyout",
768
- persisted: ""
769
- }, {
770
- default: withCtx(() => [withDirectives(createElementVNode("div", {
771
- id: flyoutId,
772
- ref_key: "flyout",
773
- ref: flyout,
774
- "aria-label": flyoutLabel.value,
775
- class: "astryx-context-menu astryx-context-menu--flyout",
776
- "data-overflow": unref(hasOverflow) || void 0,
777
- "data-placement": unref(position).placement,
778
- "data-size": unref(size),
779
- role: "menu",
780
- style: normalizeStyle(flyoutStyle.value),
781
- tabindex: "-1",
782
- onContextmenu: _cache[2] || (_cache[2] = withModifiers(() => {}, ["prevent"])),
783
- onKeydown: onFlyoutKeyDown,
784
- onPointerenter: _cache[3] || (_cache[3] = (...args) => unref(hover).onFlyoutPointerEnter && unref(hover).onFlyoutPointerEnter(...args)),
785
- onPointerleave: _cache[4] || (_cache[4] = (...args) => unref(hover).onFlyoutPointerLeave && unref(hover).onFlyoutPointerLeave(...args))
786
- }, [createVNode(_sfc_main$8, null, {
787
- default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [createVNode(_sfc_main$1, {
788
- items: __props.items ?? [],
789
- onSelect: onNestedSelect
790
- }, null, 8, ["items"])])]),
791
- _: 3
792
- })], 44, _hoisted_9), [[vShow, showsFlyout.value]])]),
793
- _: 3
794
- })], 8, ["to"]))
795
- ], 64);
811
+ })], 44, _hoisted_9), [[vShow, showsFlyout.value]])]),
812
+ _: 3
813
+ })], 8, ["to"]))], 64);
796
814
  };
797
815
  }
798
816
  });
@@ -852,7 +870,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
852
870
  return (_ctx, _cache) => {
853
871
  const _component_ContextMenuItems = resolveComponent("ContextMenuItems", true);
854
872
  return openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (option, index) => {
855
- return openBlock(), createElementBlock(Fragment, { key: keyOf(option, index) }, [isDivider(option) ? (openBlock(), createBlock(_sfc_main$5, { key: 0 })) : isCheckbox(option) ? (openBlock(), createBlock(_sfc_main$9, {
873
+ return openBlock(), createElementBlock(Fragment, { key: keyOf(option, index) }, [isDivider(option) ? (openBlock(), createBlock(_sfc_main$5, { key: 0 })) : isCheckbox(option) ? (openBlock(), createBlock(_sfc_main$8, {
856
874
  key: 1,
857
875
  description: option.description,
858
876
  "has-close-on-select": option.hasCloseOnSelect,
@@ -869,7 +887,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
869
887
  "label",
870
888
  "model-value",
871
889
  "onUpdate:modelValue"
872
- ])) : isRadio(option) ? (openBlock(), createBlock(_sfc_main$10, {
890
+ ])) : isRadio(option) ? (openBlock(), createBlock(_sfc_main$9, {
873
891
  key: 2,
874
892
  "has-close-on-select": option.hasCloseOnSelect,
875
893
  label: option.label,
@@ -877,7 +895,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
877
895
  "onUpdate:modelValue": ($event) => onRadioModel(option, $event)
878
896
  }, {
879
897
  default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(option.items, (choice, choiceIndex) => {
880
- return openBlock(), createBlock(_sfc_main$11, {
898
+ return openBlock(), createBlock(_sfc_main$10, {
881
899
  key: choice.id ?? choiceIndex,
882
900
  description: choice.description,
883
901
  icon: choice.icon,
@@ -1126,6 +1144,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
1126
1144
  }
1127
1145
  nav.resetTypeahead();
1128
1146
  }
1147
+ const hasOpened = ref(isOpen.value);
1148
+ watch(isOpen, (open) => {
1149
+ if (open) hasOpened.value = true;
1150
+ });
1129
1151
  watch(isOpen, applyOpenState);
1130
1152
  onMounted(() => {
1131
1153
  if (isOpen.value) applyOpenState(true);
@@ -1175,7 +1197,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
1175
1197
  "onPointercancel",
1176
1198
  "onPointerup"
1177
1199
  ])),
1178
- (openBlock(), createBlock(Teleport, { to: unref(teleportTarget) }, [createVNode(Transition, {
1200
+ hasOpened.value ? (openBlock(), createBlock(Teleport, {
1201
+ key: 0,
1202
+ to: unref(teleportTarget)
1203
+ }, [createVNode(Transition, {
1179
1204
  name: "astryx-context-menu",
1180
1205
  persisted: ""
1181
1206
  }, {
@@ -1196,7 +1221,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
1196
1221
  onContextmenu: _cache[0] || (_cache[0] = withModifiers(() => {}, ["prevent"])),
1197
1222
  onKeydown: _cache[1] || (_cache[1] = (...args) => unref(nav).handleKeyDown && unref(nav).handleKeyDown(...args)),
1198
1223
  onPointerdown: _cache[2] || (_cache[2] = (...args) => unref(menuPress).onPointerDown && unref(menuPress).onPointerDown(...args))
1199
- }, [createVNode(_sfc_main$8, null, {
1224
+ }, [createVNode(_sfc_main$7, null, {
1200
1225
  default: withCtx(() => [createElementVNode("div", {
1201
1226
  class: "astryx-dropdown-menu-tree",
1202
1227
  hidden: unref(isDrilled) || void 0,
@@ -1213,9 +1238,9 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
1213
1238
  _: 3
1214
1239
  })], 46, _hoisted_1), [[vShow, isOpen.value && !unref(isSheet)]])]),
1215
1240
  _: 3
1216
- })], 8, ["to"])),
1217
- unref(isSheet) ? (openBlock(), createBlock(_sfc_main$6, {
1218
- key: 0,
1241
+ })], 8, ["to"])) : createCommentVNode("v-if", true),
1242
+ unref(isSheet) ? (openBlock(), createBlock(unref(LazyBottomSheet), {
1243
+ key: 1,
1219
1244
  "is-open": isOpen.value,
1220
1245
  label: menuName.value,
1221
1246
  "onUpdate:isOpen": onSheetOpen,
@@ -1,2 +1,2 @@
1
- import { Aa as DateInputFormatName, Da as DateInputEntryError, Ea as _default, Fa as DateInputStatus, Ia as DateInputStatusType, Ma as DateInputPresentation, Na as DateInputProps, Oa as DateInputEmits, Pa as DateInputSlots, ja as DateInputNativePicker, ka as DateInputFormat } from "../index-m3DOxOw6.js";
1
+ import { Aa as DateInputFormatName, Da as DateInputEntryError, Ea as _default, Fa as DateInputStatus, Ia as DateInputStatusType, Ma as DateInputPresentation, Na as DateInputProps, Oa as DateInputEmits, Pa as DateInputSlots, ja as DateInputNativePicker, ka as DateInputFormat } from "../index-4m5X7IYX.js";
2
2
  export { _default as DateInput, type DateInputEmits, type DateInputEntryError, type DateInputFormat, type DateInputFormatName, type DateInputNativePicker, type DateInputPresentation, type DateInputProps, type DateInputSlots, type DateInputStatus, type DateInputStatusType };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../DateInput-CGKaozkw.js";
1
+ import { t as _sfc_main } from "../DateInput-D9_QsZMj.js";
2
2
  export { _sfc_main as DateInput };
@@ -1,8 +1,8 @@
1
- import { n as _sfc_main$4 } from "./BottomSheet-Btf8Yn8k.js";
1
+ import { n as _sfc_main$4 } from "./BottomSheet-Z92IvLBU.js";
2
2
  import { t as _sfc_main$5 } from "./Icon-Dk0jccgU.js";
3
3
  import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
4
4
  import { i as useSize } from "./SizeContext-BbaF-SEx.js";
5
- import { a as noteOutsideDismissal, c as currentGesture, s as isImeKeyEvent } from "./layerDepth-D3Rh8T5C.js";
5
+ import { a as noteOutsideDismissal, c as currentGesture, s as isImeKeyEvent } from "./layerDepth-8jb4An1z.js";
6
6
  import { t as _sfc_main$6 } from "./VisuallyHidden-cpmsV-0M.js";
7
7
  import { t as _sfc_main$7 } from "./ButtonTooltip-ZpQP-aQg.js";
8
8
  import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
@@ -14,19 +14,19 @@ import { t as usePendingChange } from "./usePendingChange-ib-h8FZK.js";
14
14
  import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
15
15
  import { t as unicodeRegExp } from "./unicodeRegExp-B7yQnpFC.js";
16
16
  import { n as toAsciiDigits, t as INVISIBLE_CHARS } from "./unicodeDigits-_BYIJcAu.js";
17
+ import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
18
+ import { t as _sfc_main$9 } from "./Spinner-DEVPDsD0.js";
17
19
  import { C as plainDateIsAfter, F as plainDateToday, L as dateTimeFormatFor, M as plainDateToDate, d as getDaysInMonth, l as SHARED_DATE_FORMAT_OPTIONS, p as plainDateAddDays, u as formatSharedDate, v as plainDateFormat, w as plainDateIsBefore, y as plainDateFromDate } from "./plainDate-CaTDErKr.js";
18
20
  import { _ as isCalendarSystemAvailable, a as calendarAddMonths, b as isInCalendarMonth, c as calendarDayOfMonth, d as calendarMonthLabelDay, f as calendarMonthOf, g as calendarYearMonthOf, h as calendarShiftYears, i as warnCalendarOnce, l as calendarMonthFromYearMonth, o as calendarDateFromFields, p as calendarMonthsInCalendarYear, r as useCalendarSystem, s as calendarDateFromMonthKey, u as calendarMonthKey, v as isGregorianAligned, y as isGregorianCalendar } from "./calendar-C7py_wtb.js";
19
21
  import { a as weekdayNames, i as standaloneShortWeekdayNames, n as formatDayNumber } from "./format-6G9QuGy1.js";
20
22
  import { t as calendarMessages } from "./calendar-Cs2vIPsV.js";
21
23
  import { a as formatCalendarMonthName, i as formatCalendarMonthLabel, o as formatCalendarYearLabel, t as calendarDisplayName } from "./calendarFormat-_CEZIMZG.js";
22
24
  import { a as formatWeekdayDate, f as weekStartIndex, l as sameCalendarDay, t as buildMonthWeeks, u as toCalendarDate, y as toCalendarDay } from "./useCalendarGrid-0WvxbeFC.js";
23
- import { i as isOutsideCalendarBounds, n as resolveCalendarKey, r as isCalendarDateDisabled, t as _sfc_main$9 } from "./Calendar-CUMnYIhe.js";
24
- import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
25
- import { t as _sfc_main$10 } from "./Spinner-DEVPDsD0.js";
25
+ import { i as isOutsideCalendarBounds, n as resolveCalendarKey, r as isCalendarDateDisabled, t as _sfc_main$10 } from "./Calendar-CUMnYIhe.js";
26
26
  import { a as useAriaRequired, o as useEntryErrorBehavior } from "./context-CrVCeUUK.js";
27
- import { t as _sfc_main$11 } from "./Field-D-fRqyso.js";
27
+ import { t as _sfc_main$11 } from "./Field-njr7AUcW.js";
28
28
  import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
29
- import { t as _sfc_main$12 } from "./Popover-CxReY-4u.js";
29
+ import { t as _sfc_main$12 } from "./Popover-DXfXGrWG.js";
30
30
  import { t as dateInputMessages } from "./date-input-CRdc2H3c.js";
31
31
  import { t as formatInstant } from "./formatInstant-CjCwl6JS.js";
32
32
  import { n as calendarPickerPresentation, u as parseDateInput } from "./inputPresentation-DES0JwkL.js";
@@ -1500,7 +1500,7 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
1500
1500
  icon: "close",
1501
1501
  size: "sm"
1502
1502
  })], 8, _hoisted_7$2)) : createCommentVNode("v-if", true),
1503
- busy.value ? (openBlock(), createBlock(_sfc_main$10, {
1503
+ busy.value ? (openBlock(), createBlock(_sfc_main$9, {
1504
1504
  key: 1,
1505
1505
  size: "sm",
1506
1506
  "aria-hidden": "true"
@@ -2706,7 +2706,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
2706
2706
  content: withCtx(() => [popoverOpen.value ? (openBlock(), createElementBlock("div", {
2707
2707
  key: 0,
2708
2708
  id: popupId.value
2709
- }, [createVNode(_sfc_main$9, {
2709
+ }, [createVNode(_sfc_main$10, {
2710
2710
  "model-value": props.modelValue,
2711
2711
  min: props.min,
2712
2712
  max: props.max,
@@ -2785,7 +2785,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
2785
2785
  icon: "close",
2786
2786
  size: "sm"
2787
2787
  })], 8, _hoisted_6)) : _ctx.$slots.suffix ? (openBlock(), createElementBlock("span", _hoisted_7, [renderSlot(_ctx.$slots, "suffix")])) : createCommentVNode("v-if", true),
2788
- busy.value ? (openBlock(), createBlock(_sfc_main$10, {
2788
+ busy.value ? (openBlock(), createBlock(_sfc_main$9, {
2789
2789
  key: 3,
2790
2790
  class: "astryx-date-input-spinner",
2791
2791
  size: "sm",
@@ -1,2 +1,2 @@
1
- import { Ca as DateRangeInputEmits, Sa as DateRange, Ta as DateRangePreset, wa as DateRangeInputProps, xa as _default } from "../index-m3DOxOw6.js";
1
+ import { Ca as DateRangeInputEmits, Sa as DateRange, Ta as DateRangePreset, wa as DateRangeInputProps, xa as _default } from "../index-4m5X7IYX.js";
2
2
  export { type DateRange, _default as DateRangeInput, type DateRangeInputEmits, type DateRangeInputProps, type DateRangePreset };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../DateRangeInput-BVHXgzXz.js";
1
+ import { t as _sfc_main } from "../DateRangeInput-8P8i8aVI.js";
2
2
  export { _sfc_main as DateRangeInput };
@@ -6,24 +6,24 @@ import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
6
6
  import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
7
7
  import { a as isRangeWithinSpan, c as resolveWeekStart, i as isDayOutsideSpan, r as formatDateRange, s as orderRange, t as applyRangeClick } from "./useDateRange-D1Szw54e.js";
8
8
  import { t as _sfc_main$5 } from "./FieldIcon-BU1ZWAuo.js";
9
- import { t as _sfc_main$6 } from "./IconButton-DPezhVBA.js";
9
+ import { t as _sfc_main$6 } from "./IconButton-CoZFp0CP.js";
10
10
  import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
11
11
  import { a as todayISODate } from "./useMonthGrid-Bzvlstgc.js";
12
12
  import { t as usePendingChange } from "./usePendingChange-ib-h8FZK.js";
13
13
  import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
14
14
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
15
+ import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
16
+ import { t as _sfc_main$7 } from "./Spinner-DEVPDsD0.js";
15
17
  import { F as plainDateToday, h as plainDateCreate, i as DATE_FORMAT_SHORT, o as DATE_FORMAT_SHORT_WITH_YEAR, y as plainDateFromDate } from "./plainDate-CaTDErKr.js";
16
18
  import { a as calendarAddMonths, f as calendarMonthOf, g as calendarYearMonthOf, r as useCalendarSystem, y as isGregorianCalendar } from "./calendar-C7py_wtb.js";
17
19
  import { a as weekdayNames, i as standaloneShortWeekdayNames, n as formatDayNumber } from "./format-6G9QuGy1.js";
18
20
  import { t as calendarMessages } from "./calendar-Cs2vIPsV.js";
19
21
  import { i as formatCalendarMonthLabel, n as formatCalendarDate } from "./calendarFormat-_CEZIMZG.js";
20
22
  import { t as buildMonthWeeks } from "./useCalendarGrid-0WvxbeFC.js";
21
- import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
22
- import { t as _sfc_main$7 } from "./Spinner-DEVPDsD0.js";
23
23
  import { a as useAriaRequired } from "./context-CrVCeUUK.js";
24
- import { t as _sfc_main$8 } from "./Field-D-fRqyso.js";
24
+ import { t as _sfc_main$8 } from "./Field-njr7AUcW.js";
25
25
  import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
26
- import { t as _sfc_main$9 } from "./Popover-CxReY-4u.js";
26
+ import { t as _sfc_main$9 } from "./Popover-DXfXGrWG.js";
27
27
  import { t as dateInputMessages } from "./date-input-CRdc2H3c.js";
28
28
  import { t as dateRangeInputMessages } from "./date-range-input-WnkVv8HN.js";
29
29
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, inject, mergeModels, mergeProps, normalizeClass, normalizeStyle, onMounted, openBlock, renderList, shallowRef, ssrContextKey, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, withCtx } from "vue";
@@ -1,2 +1,2 @@
1
- import { _a as _default, ba as DateTimeInputSize, va as DateTimeInputEmits, ya as DateTimeInputProps } from "../index-m3DOxOw6.js";
1
+ import { _a as _default, ba as DateTimeInputSize, va as DateTimeInputEmits, ya as DateTimeInputProps } from "../index-4m5X7IYX.js";
2
2
  export { _default as DateTimeInput, type DateTimeInputEmits, type DateTimeInputProps, type DateTimeInputSize };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../DateTimeInput-DRm3lekJ.js";
1
+ import { t as _sfc_main } from "../DateTimeInput-C2XWslHp.js";
2
2
  export { _sfc_main as DateTimeInput };