@astryx-vue/core 0.12.0 → 0.13.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 (273) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-BO2LucRK.js → AlertDialog-igjA8kZr.js} +6 -6
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-kqwLt4ez.js → AppShell-DUHcLJWD.js} +2 -2
  5. package/dist/Avatar/index.js +1 -1
  6. package/dist/{Avatar-Bdnu3col.js → Avatar-KmdgVaAb.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-C-8DEWdJ.js → Banner-Bf_nMW3-.js} +1 -1
  11. package/dist/BottomSheet/index.js +2 -2
  12. package/dist/{BottomSheet-CgOzQHaA.js → BottomSheet-B57XUJV3.js} +3 -2
  13. package/dist/{BottomSheet-BECeWtEy.js → BottomSheet-BMqjymuf.js} +3 -3
  14. package/dist/Breadcrumbs/index.js +1 -1
  15. package/dist/{Breadcrumbs-Dxjz2Dxn.js → Breadcrumbs-aTPAdLdg.js} +1 -1
  16. package/dist/Button/index.js +1 -1
  17. package/dist/{Button-BeNp2zq_.js → Button-sUkQ0Ufo.js} +5 -4
  18. package/dist/ButtonGroup/index.d.ts +1 -1
  19. package/dist/ButtonGroup/index.js +1 -1
  20. package/dist/{ButtonGroup-CosYAili.js → ButtonGroup-CWra-KDj.js} +3 -2
  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-BCcyDFRy.js → Carousel-DmXceU9h.js} +1 -1
  25. package/dist/Chat/index.d.ts +1 -1
  26. package/dist/Chat/index.js +1 -1
  27. package/dist/{Chat-D3UDsL7W.js → Chat-CeibAkxn.js} +4 -4
  28. package/dist/CheckboxInput/index.d.ts +1 -1
  29. package/dist/CheckboxInput/index.js +1 -1
  30. package/dist/{CheckboxInput-iCg8FgRv.js → CheckboxInput-PvzPV1N1.js} +1 -1
  31. package/dist/CheckboxList/index.d.ts +1 -1
  32. package/dist/CheckboxList/index.js +1 -1
  33. package/dist/{CheckboxList-Dr40y9ME.js → CheckboxList-DKtNzb0t.js} +3 -3
  34. package/dist/ClickableCard/index.d.ts +1 -1
  35. package/dist/Code/index.js +1 -1
  36. package/dist/{CodeBlock-B0LPcu-J.js → CodeBlock-CTPuBH_r.js} +1 -1
  37. package/dist/CommandPalette/index.js +1 -1
  38. package/dist/{CommandPalette-D_lf06eE.js → CommandPalette-DIoT_vZh.js} +1 -1
  39. package/dist/ComplexSelector/index.d.ts +1 -1
  40. package/dist/ComplexSelector/index.js +1 -1
  41. package/dist/{ComplexSelector-BzGKWYEv.js → ComplexSelector-Dmbep7M7.js} +165 -49
  42. package/dist/ContextMenu/index.d.ts +1 -1
  43. package/dist/ContextMenu/index.js +1 -1
  44. package/dist/{ContextMenu-6AnjpPJg.js → ContextMenu-DYnyk5rs.js} +4 -4
  45. package/dist/DateInput/index.d.ts +1 -1
  46. package/dist/DateInput/index.js +1 -1
  47. package/dist/{DateInput-OkjtSKwt.js → DateInput-DgPIsWPu.js} +4 -4
  48. package/dist/DateRangeInput/index.d.ts +1 -1
  49. package/dist/DateRangeInput/index.js +1 -1
  50. package/dist/{DateRangeInput-B4HT9NfM.js → DateRangeInput-oOfhUt1Q.js} +3 -3
  51. package/dist/DateTimeInput/index.d.ts +1 -1
  52. package/dist/DateTimeInput/index.js +1 -1
  53. package/dist/{DateTimeInput-B_tQlraA.js → DateTimeInput-DZfghF2h.js} +5 -5
  54. package/dist/Dialog/index.d.ts +1 -1
  55. package/dist/Dialog/index.js +3 -3
  56. package/dist/{Dialog-BtPktuiy.js → Dialog-Dkwt3mVt.js} +25 -8
  57. package/dist/{Dialog-3MKo31xn.js → Dialog-qIL4DUot.js} +1 -1
  58. package/dist/{DialogHeader-cr9rFLYM.js → DialogHeader-w4TCzYEj.js} +2 -2
  59. package/dist/Divider/index.d.ts +1 -1
  60. package/dist/Drawer/index.d.ts +1 -1
  61. package/dist/Drawer/index.js +1 -1
  62. package/dist/{Drawer-Ba-yG1rk.js → Drawer-DBHSNUAa.js} +2 -2
  63. package/dist/DropdownMenu/index.js +2 -2
  64. package/dist/{DropdownMenu-DJK_xIUd.js → DropdownMenu-Cncx4FbU.js} +3 -3
  65. package/dist/{DropdownMenu-B9eUWp_X.js → DropdownMenu-DHvAlqSj.js} +5 -5
  66. package/dist/EmptyState/index.js +1 -1
  67. package/dist/{EmptyState-v1cvHKav.js → EmptyState-uWyPaIR1.js} +2 -2
  68. package/dist/Field/index.js +3 -3
  69. package/dist/{Field-Dc15m78p.js → Field-CqDOsI3P.js} +1 -1
  70. package/dist/{FieldInfoTip-BouJddgS.js → FieldInfoTip-CUh2koNc.js} +1 -1
  71. package/dist/{FieldLabel-CfO3zaZ5.js → FieldLabel-BMHNRAG3.js} +1 -1
  72. package/dist/FileInput/index.d.ts +1 -1
  73. package/dist/FileInput/index.js +1 -1
  74. package/dist/{FileInput-hNPjfW1i.js → FileInput-C6dK2pvX.js} +2 -2
  75. package/dist/Heading/index.js +1 -1
  76. package/dist/{Heading-C10qO8wg.js → Heading-C0axugQa.js} +1 -1
  77. package/dist/HoverCard/index.js +1 -1
  78. package/dist/{HoverCard-3S3axq-o.js → HoverCard-C6Gxekg0.js} +3 -3
  79. package/dist/IconButton/index.js +1 -1
  80. package/dist/{IconButton-C91rhbvu.js → IconButton-Bv2eIsJy.js} +1 -1
  81. package/dist/InfoTip/index.d.ts +1 -1
  82. package/dist/InfoTip/index.js +1 -1
  83. package/dist/{InfoTip-iKOp_vUV.js → InfoTip-BKsbmGA6.js} +4 -2
  84. package/dist/{InputClearButton-BiF7qGMR.js → InputClearButton-CSS2Tjat.js} +2 -2
  85. package/dist/InputGroup/index.d.ts +1 -1
  86. package/dist/InputGroup/index.js +1 -1
  87. package/dist/{InputGroup-CIKleAu8.js → InputGroup-DTGh1ylC.js} +1 -1
  88. package/dist/InternationalizationProvider/index.d.ts +1 -1
  89. package/dist/InternationalizationProvider/index.js +1 -1
  90. package/dist/{InternationalizationProvider-CyDjQn5Z.js → InternationalizationProvider-BYU2MRtX.js} +1 -1
  91. package/dist/{LayerContentBoundary-CvsKxwwm.js → LayerContentBoundary-DwTkbifx.js} +1 -1
  92. package/dist/Layout/index.js +2 -2
  93. package/dist/{Layout-OHKb6r7D.js → Layout-BeYYiLFm.js} +1 -1
  94. package/dist/{LayoutPanel-D-rpTtC-.js → LayoutPanel-DDLcJgzG.js} +3 -0
  95. package/dist/Lightbox/index.d.ts +1 -1
  96. package/dist/Lightbox/index.js +1 -1
  97. package/dist/{Lightbox-DZrWvhCQ.js → Lightbox-BZ-zBvly.js} +106 -28
  98. package/dist/Link/index.d.ts +1 -1
  99. package/dist/Link/index.js +1 -1
  100. package/dist/{Link-CnlFkwpY.js → Link-Ddu0KjPZ.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-YVv-0uFI.js → Markdown-D7bQGV9u.js} +3 -3
  105. package/dist/MetadataList/index.d.ts +1 -1
  106. package/dist/MobileNav/index.js +1 -1
  107. package/dist/{MobileNavToggle-lgEHlilz.js → MobileNavToggle-Dfshmrdy.js} +3 -2
  108. package/dist/MoreMenu/index.d.ts +1 -1
  109. package/dist/MoreMenu/index.js +1 -1
  110. package/dist/{MoreMenu-DaLb4bgr.js → MoreMenu-Bie4B7Jr.js} +4 -4
  111. package/dist/MultiSelector/index.d.ts +1 -1
  112. package/dist/MultiSelector/index.js +1 -1
  113. package/dist/{MultiSelector-stzuffs3.js → MultiSelector-BXIpOmSU.js} +108 -53
  114. package/dist/{NavDisclosure-DG4jls5z.js → NavDisclosure-1otbO71l.js} +1 -1
  115. package/dist/{NavHeadingSurface-9JQsxTxs.js → NavHeadingSurface-BkMR3V5m.js} +1 -1
  116. package/dist/NavItem/index.d.ts +1 -1
  117. package/dist/NavMenu/index.js +3 -3
  118. package/dist/{NavMenu-ChlWdHfi.js → NavMenu-dyGZS1yM.js} +2 -2
  119. package/dist/{NavMenuItem-DIMQohIa.js → NavMenuItem-CirgE73a.js} +1 -1
  120. package/dist/NumberInput/index.d.ts +1 -1
  121. package/dist/NumberInput/index.js +1 -1
  122. package/dist/{NumberInput-DH0Cb7L6.js → NumberInput-0KbcEF3_.js} +3 -3
  123. package/dist/OverflowList/index.d.ts +1 -1
  124. package/dist/OverflowList/index.js +1 -1
  125. package/dist/{OverflowList-BGzqG78e.js → OverflowList-BdcaX1bz.js} +2 -2
  126. package/dist/Overlay/index.d.ts +1 -1
  127. package/dist/Pagination/index.d.ts +1 -1
  128. package/dist/Pagination/index.js +1 -1
  129. package/dist/{Pagination-DMG9KvKa.js → Pagination-eeM9SNsG.js} +1 -1
  130. package/dist/Popover/index.d.ts +1 -1
  131. package/dist/Popover/index.js +1 -1
  132. package/dist/{Popover-cnfHz2tm.js → Popover-BOQo9UPf.js} +78 -26
  133. package/dist/PowerSearch/index.d.ts +1 -1
  134. package/dist/PowerSearch/index.js +1 -1
  135. package/dist/{PowerSearch-GD52glLU.js → PowerSearch-CaqFxaFb.js} +17 -17
  136. package/dist/ProgressBar/index.js +1 -1
  137. package/dist/{ProgressBar-gsm2A_cR.js → ProgressBar-BS3VSoE9.js} +1 -1
  138. package/dist/Radio/index.d.ts +1 -1
  139. package/dist/Radio/index.js +1 -1
  140. package/dist/{RadioGroup-D3TXgdwV.js → RadioGroup-DKaSstyl.js} +2 -2
  141. package/dist/RadioList/index.d.ts +1 -1
  142. package/dist/RadioList/index.js +1 -1
  143. package/dist/{RadioList-Boj8QfPe.js → RadioList-DtKm9spP.js} +1 -1
  144. package/dist/ScrollableArea/index.d.ts +1 -1
  145. package/dist/SelectableCard/index.d.ts +1 -1
  146. package/dist/Selector/index.d.ts +1 -1
  147. package/dist/Selector/index.js +1 -1
  148. package/dist/{Selector-CyY6vVUg.js → Selector-DP012yul.js} +12 -47
  149. package/dist/SideNav/index.d.ts +1 -1
  150. package/dist/SideNav/index.js +1 -1
  151. package/dist/{SideNav-s9yTmKX3.js → SideNav-L6CWk5fV.js} +5 -5
  152. package/dist/Slider/index.js +1 -1
  153. package/dist/{Slider-BQ4Dhxdx.js → Slider-DZS8mGZA.js} +1 -1
  154. package/dist/StatusDot/index.js +1 -1
  155. package/dist/{StatusDot-DF5wK42f.js → StatusDot-DaQGq8YN.js} +1 -1
  156. package/dist/Stepper/index.d.ts +1 -1
  157. package/dist/Switch/index.d.ts +1 -1
  158. package/dist/Switch/index.js +1 -1
  159. package/dist/{Switch-B0E8cZy7.js → Switch-BN_NnBuc.js} +1 -1
  160. package/dist/TabList/index.js +1 -1
  161. package/dist/{TabList-DBSXa5QT.js → TabList-Bmj4tGT-.js} +1 -1
  162. package/dist/Table/index.d.ts +1 -1
  163. package/dist/Table/index.js +1 -1
  164. package/dist/{Table-BxXYAtBy.js → Table-YDS_Hj1L.js} +12 -12
  165. package/dist/Text/index.js +1 -1
  166. package/dist/{Text-WB-fpFne.js → Text-IijvZmW-.js} +1 -1
  167. package/dist/TextArea/index.d.ts +1 -1
  168. package/dist/TextArea/index.js +1 -1
  169. package/dist/{TextArea-CSoebCLx.js → TextArea-BDR179q1.js} +4 -4
  170. package/dist/TextInput/index.d.ts +1 -1
  171. package/dist/TextInput/index.js +1 -1
  172. package/dist/{TextInput-B3qNW95s.js → TextInput-kUzxl99M.js} +4 -4
  173. package/dist/Thumbnail/index.js +1 -1
  174. package/dist/{Thumbnail-CTkLFo-A.js → Thumbnail-Disi5yDb.js} +2 -2
  175. package/dist/{TimeField-CMZxZ6gI.js → TimeField-C0la1AtP.js} +4 -4
  176. package/dist/TimeInput/index.d.ts +1 -1
  177. package/dist/TimeInput/index.js +1 -1
  178. package/dist/{TimeInput-BFWgRaV-.js → TimeInput-C_jTijHh.js} +2 -2
  179. package/dist/Timer/index.js +1 -1
  180. package/dist/{Timer-BD2gSoQ3.js → Timer-DifGERP8.js} +1 -1
  181. package/dist/Timestamp/index.d.ts +1 -1
  182. package/dist/Timestamp/index.js +1 -1
  183. package/dist/{Timestamp-DWnbOvnI.js → Timestamp-BjXZGAvO.js} +3 -3
  184. package/dist/Toast/index.js +1 -1
  185. package/dist/{Toast-aI9QMW-L.js → Toast-DBo0WRAd.js} +1 -1
  186. package/dist/ToggleButton/index.d.ts +1 -1
  187. package/dist/ToggleButton/index.js +1 -1
  188. package/dist/{ToggleButton-DI9I-LBH.js → ToggleButton-B5HNykOh.js} +4 -3
  189. package/dist/Token/index.d.ts +1 -1
  190. package/dist/Tokenizer/index.d.ts +1 -1
  191. package/dist/Tokenizer/index.js +1 -1
  192. package/dist/{Tokenizer-Caqr8y0B.js → Tokenizer-CY0ymjYr.js} +109 -50
  193. package/dist/Toolbar/index.d.ts +1 -1
  194. package/dist/Tooltip/index.d.ts +1 -1
  195. package/dist/Tooltip/index.js +2 -2
  196. package/dist/{Tooltip-CGHpFMnc.js → Tooltip-4APVAlN9.js} +1 -1
  197. package/dist/TopNav/index.d.ts +1 -1
  198. package/dist/TopNav/index.js +1 -1
  199. package/dist/{TopNav-Cm_Hn6Ub.js → TopNav-XSZWAR-7.js} +4 -4
  200. package/dist/TreeList/index.d.ts +1 -1
  201. package/dist/Typeahead/index.d.ts +1 -1
  202. package/dist/Typeahead/index.js +2 -2
  203. package/dist/{Typeahead-tz2lm5qb.js → Typeahead-ByeXwX8E.js} +48 -13
  204. package/dist/composables/index.d.ts +2 -1
  205. package/dist/composables/index.js +8 -7
  206. package/dist/context-Cgkyk-b7.js +10 -0
  207. package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
  208. package/dist/{index-BSlzqFzV.d.ts → index-BcJzA5j_.d.ts} +3 -3
  209. package/dist/{index-Bmqz1lVz.d.ts → index-BpprL2SN.d.ts} +1 -1
  210. package/dist/{index-CuNFD1Yq.d.ts → index-Buxb8Onp.d.ts} +44 -44
  211. package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
  212. package/dist/{index-CiVrhGUJ.d.ts → index-C9ZssPUV.d.ts} +1 -1
  213. package/dist/{index-1AZ4KZhg.d.ts → index-CCpcerMA.d.ts} +2 -2
  214. package/dist/{index-BvWBeoa8.d.ts → index-CEjvYAUZ.d.ts} +1 -1
  215. package/dist/{index-CQwracWX.d.ts → index-CfHBwR3F.d.ts} +7 -5
  216. package/dist/{index-DyALKpjX.d.ts → index-D1J81rYJ.d.ts} +19 -4
  217. package/dist/{index-B0XIZGY0.d.ts → index-D1RIIzDd.d.ts} +7 -7
  218. package/dist/{index-DydQ5Ngj.d.ts → index-D7YRtteD.d.ts} +1 -1
  219. package/dist/{index-FeZXsFO-.d.ts → index-DDrL_-hJ.d.ts} +1 -1
  220. package/dist/{index-WA7z12bQ.d.ts → index-DE1genab.d.ts} +12 -0
  221. package/dist/{index-D-YoRrfP.d.ts → index-DKuoSloc.d.ts} +2 -44
  222. package/dist/{index-rnFsCdJ7.d.ts → index-DMcf0QeR.d.ts} +1 -1
  223. package/dist/{index-B-Jla56c.d.ts → index-DPH5yoAr.d.ts} +1 -1
  224. package/dist/{index-CO9GW-ik.d.ts → index-DPklTi3o.d.ts} +1 -1
  225. package/dist/{index-BzZC2Y7c.d.ts → index-DYabo8TI.d.ts} +6 -5
  226. package/dist/{index-O9y23OPJ.d.ts → index-DneQgJfI.d.ts} +1 -1
  227. package/dist/{index-CL8JvxHW.d.ts → index-KcCNhdAw.d.ts} +1 -1
  228. package/dist/{index-utZGF4GR.d.ts → index-NOXYEdOI.d.ts} +1 -1
  229. package/dist/{index-DaXzQxos.d.ts → index-PffxihMx.d.ts} +8 -5
  230. package/dist/{index-3t5RAfNP.d.ts → index-YfMHAQ_D.d.ts} +9 -2
  231. package/dist/{index-C5bnMSjX.d.ts → index-x0rjeitC.d.ts} +4 -4
  232. package/dist/index.d.ts +28 -27
  233. package/dist/index.js +90 -89
  234. package/dist/{layerDepth-CNDh-IHb.js → layerDepth-BF74Cctw.js} +38 -14
  235. package/dist/layerFocusReturn-DMJaFgcY.js +121 -0
  236. package/dist/{loadCatalog-XbgoqaRp.js → loadCatalog-BtQRPyzj.js} +6 -2
  237. package/dist/{loadCatalog-CQEYXGuI.d.ts → loadCatalog-Kp7aQZpL.d.ts} +3 -0
  238. package/dist/locale/index.d.ts +2 -2
  239. package/dist/locale/index.js +4 -4
  240. package/dist/{locale-BwnZeppK.js → locale-DET_YkFW.js} +1 -1
  241. package/dist/selectorEscape-BppRdqpc.js +52 -0
  242. package/dist/{useAnchoredListbox-9Gn8asBR.js → stillPointerGate-Bh02Mfnw.js} +20 -2
  243. package/dist/{tokenizer-DSka5PJD.js → tokenizer-ChiAuPN-.js} +5 -1
  244. package/dist/{tooltipTriggerRules-Bg4tG8w2.js → tooltipTriggerRules-BY3LAtUl.js} +1 -1
  245. package/dist/{searchResultMessage-BEqDlHdV.js → triggerVariant-BDVvyLtv.js} +18 -18
  246. package/dist/{useActionGroupTracking-B4niQ_tR.js → useActionGroupTracking-BJMRaXil.js} +1 -1
  247. package/dist/{useCombobox-CTo5C-gc.js → useCombobox-D374_pT8.js} +32 -8
  248. package/dist/{useDismiss-0-Z-9D0A.js → useDismiss-BWd-sQ18.js} +26 -5
  249. package/dist/{useRestoreFocus-CEG0n2AK.js → useFocusTrap-FJt5QhEd.js} +2 -36
  250. package/dist/{useHoverLayerDismiss-kYJ_NqL4.js → useHoverLayerDismiss-uhfzmZyf.js} +1 -1
  251. package/dist/useInputStatusIcon-B6m_t8cK.d.ts +45 -0
  252. package/dist/{useInputStatusIcon-Da2FiXwF.js → useInputStatusIcon-C3Q-q_wI.js} +1 -1
  253. package/dist/{useLayer-CED-g4Q2.js → useLayer-BGv_wRSG.js} +1 -1
  254. package/dist/{useOptionActionGrid-CkJcuvaU.js → useOptionActionGrid-C7ibYM_A.js} +15 -1
  255. package/dist/{useResizable-I3BCiLSL.js → useResizable-DTDhsLip.js} +1 -1
  256. package/dist/useRestoreFocus-D2-pGoOk.js +38 -0
  257. package/dist/{useTooltip-D8Tq7-yd.js → useTooltip-md1tr6ef.js} +61 -29
  258. package/dist/{context-BJ9RkXYX.js → useTouchHitArea-1WtV3u6F.js} +1 -10
  259. package/dist/{useTruncationTooltip-BNk2xslw.js → useTruncationTooltip-BGsFITq5.js} +3 -3
  260. package/dist/{useTypeahead-DSMObTtg.js → useTypeahead-BrUwR-kv.js} +1 -1
  261. package/dist/{TypeaheadMenu-BOzaCvSb.js → useTypeaheadAnnouncement-MbuZumTd.js} +75 -33
  262. package/package.json +1 -1
  263. package/styles/complex-selector.css +24 -1
  264. package/styles/dialog.css +0 -1
  265. package/styles/info-tip.css +0 -9
  266. package/styles/lightbox.css +7 -2
  267. package/styles/multi-selector.css +10 -0
  268. package/styles/popover.css +2 -0
  269. package/styles/selector.css +10 -0
  270. package/styles/tokenizer.css +64 -0
  271. package/styles/typeahead.css +28 -0
  272. package/dist/triggerVariant-BsL8jMHs.js +0 -16
  273. package/dist/{index-D8lv2BiD.d.ts → index-BqhgeAT4.d.ts} +1 -1
@@ -1,11 +1,11 @@
1
1
  import { n as isMenuPressActivation } from "./strayClick-CY-_ImKv.js";
2
2
  import { t as _sfc_main$1 } from "./Icon-BCHo7W0x.js";
3
- import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-0-Z-9D0A.js";
4
- import { t as _sfc_main$2 } from "./LayerContentBoundary-CvsKxwwm.js";
3
+ import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-BWd-sQ18.js";
4
+ import { t as _sfc_main$2 } from "./LayerContentBoundary-DwTkbifx.js";
5
5
  import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
6
6
  import { t as _sfc_main$3 } from "./Item-Cfv4ALls.js";
7
7
  import { n as useDropdownMenuMessages, s as useDropdownMenuContext } from "./useMenuDrillIn-uQtOSny6.js";
8
- import { a as _sfc_main$5, c as _sfc_main$4, i as activateFocusedMenuItem, n as useMenuRegions, r as useMenuFocus } from "./DropdownMenu-B9eUWp_X.js";
8
+ import { a as _sfc_main$5, c as _sfc_main$4, i as activateFocusedMenuItem, n as useMenuRegions, r as useMenuFocus } from "./DropdownMenu-DHvAlqSj.js";
9
9
  import { n as clampInlineSize, r as isIntrinsicInlineSize } from "./inlineSize-BNe8wggI.js";
10
10
  import { t as _sfc_main$6 } from "./Spinner-DEVPDsD0.js";
11
11
  import { t as useSubmenuMode } from "./useSubmenuMode-CZN9qrUo.js";
@@ -2,15 +2,15 @@ import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
2
2
  import { n as isMenuPressActivation } from "./strayClick-CY-_ImKv.js";
3
3
  import { t as _sfc_main$7 } from "./Icon-BCHo7W0x.js";
4
4
  import { n as useLinkComponent } from "./context-C_peZbXf.js";
5
- import { t as _sfc_main$8 } from "./Button-BeNp2zq_.js";
6
- import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-0-Z-9D0A.js";
7
- import { t as _sfc_main$9 } from "./LayerContentBoundary-CvsKxwwm.js";
5
+ import { t as _sfc_main$8 } from "./Button-sUkQ0Ufo.js";
6
+ import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-BWd-sQ18.js";
7
+ import { t as _sfc_main$9 } from "./LayerContentBoundary-DwTkbifx.js";
8
8
  import { r as trackInteractionModality, t as getInteractionModality } from "./interactionModality-ACpTMhak.js";
9
9
  import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
10
10
  import { r as getFocusables } from "./focus-l8jVTcqd.js";
11
11
  import { t as useMenuPress } from "./useMenuPress-BLPwY_m1.js";
12
12
  import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
13
- import { t as useTypeahead } from "./useTypeahead-DSMObTtg.js";
13
+ import { t as useTypeahead } from "./useTypeahead-BrUwR-kv.js";
14
14
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
15
15
  import { t as _sfc_main$10 } from "./Item-Cfv4ALls.js";
16
16
  import { a as _sfc_main$12, i as _sfc_main$13, n as useDropdownMenuMessages, o as dropdownMenuContextKey, r as _sfc_main$11, s as useDropdownMenuContext, t as useMenuDrillIn } from "./useMenuDrillIn-uQtOSny6.js";
@@ -61,7 +61,7 @@ const dropdownMenuFrameKey = Symbol("astryx-dropdown-menu-frame");
61
61
  //#endregion
62
62
  //#region src/DropdownMenu/lazyMenuBottomSheet.ts
63
63
  /** 只在底部面板真正进入组件树时请求;普通 popover 菜单不会触发这次 import。 */
64
- const MenuBottomSheet = defineAsyncComponent(() => import("./BottomSheet-CgOzQHaA.js").then((n) => n.t));
64
+ const MenuBottomSheet = defineAsyncComponent(() => import("./BottomSheet-B57XUJV3.js").then((n) => n.t));
65
65
  //#endregion
66
66
  //#region src/DropdownMenu/DropdownMenuDivider.vue
67
67
  const _sfc_main$5 = /*@__PURE__*/ defineComponent({
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../EmptyState-v1cvHKav.js";
1
+ import { t as _sfc_main } from "../EmptyState-uWyPaIR1.js";
2
2
  export { _sfc_main as EmptyState };
@@ -1,5 +1,5 @@
1
- import { t as _sfc_main$1 } from "./Heading-C10qO8wg.js";
2
- import { t as _sfc_main$2 } from "./Text-WB-fpFne.js";
1
+ import { t as _sfc_main$1 } from "./Heading-C0axugQa.js";
2
+ import { t as _sfc_main$2 } from "./Text-IijvZmW-.js";
3
3
  import { Comment, Fragment, Text, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, renderSlot, toDisplayString, useSlots, useTemplateRef, withCtx } from "vue";
4
4
  import "../styles/empty-state.css";
5
5
  //#region src/EmptyState/EmptyState.vue
@@ -1,4 +1,4 @@
1
- import { t as _sfc_main$1 } from "../FieldLabel-CfO3zaZ5.js";
2
- import { t as _sfc_main } from "../Field-Dc15m78p.js";
3
- import { t as _sfc_main$2 } from "../InputClearButton-BiF7qGMR.js";
1
+ import { t as _sfc_main$1 } from "../FieldLabel-BMHNRAG3.js";
2
+ import { t as _sfc_main } from "../Field-CqDOsI3P.js";
3
+ import { t as _sfc_main$2 } from "../InputClearButton-CSS2Tjat.js";
4
4
  export { _sfc_main as Field, _sfc_main$1 as FieldLabel, _sfc_main$2 as InputClearButton };
@@ -1,5 +1,5 @@
1
1
  import { a as useFormLayout } from "./context-Cfml4jaK.js";
2
- import { t as _sfc_main$1 } from "./FieldLabel-CfO3zaZ5.js";
2
+ import { t as _sfc_main$1 } from "./FieldLabel-BMHNRAG3.js";
3
3
  import { t as _sfc_main$2 } from "./FieldStatus-DSUCli4W.js";
4
4
  import { computed, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, unref, useAttrs, useTemplateRef, withCtx } from "vue";
5
5
  import "../styles/field.css";
@@ -1,7 +1,7 @@
1
1
  import { t as _sfc_main$1 } from "./ButtonTooltip-CNKOQHYR.js";
2
2
  import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
3
3
  import { t as _sfc_main$2 } from "./FieldIcon-DMtfe1Ne.js";
4
- import { t as _sfc_main$3 } from "./IconButton-C91rhbvu.js";
4
+ import { t as _sfc_main$3 } from "./IconButton-Bv2eIsJy.js";
5
5
  import { Fragment, computed, createElementBlock, createVNode, defineComponent, onScopeDispose, openBlock, shallowRef, unref, useId, useTemplateRef, watch, withCtx } from "vue";
6
6
  //#region src/Field/FieldInfoTip.vue
7
7
  const _sfc_main = /*@__PURE__*/ defineComponent({
@@ -1,7 +1,7 @@
1
1
  import { t as _sfc_main$1 } from "./Icon-BCHo7W0x.js";
2
2
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
3
3
  import { a as useFormLayout, n as showsOptionalIndicator, r as showsRequiredIndicator } from "./context-Cfml4jaK.js";
4
- import { t as _sfc_main$2 } from "./InfoTip-iKOp_vUV.js";
4
+ import { t as _sfc_main$2 } from "./InfoTip-BKsbmGA6.js";
5
5
  import { t as fieldMessages } from "./field-CehUqCe0.js";
6
6
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useTemplateRef, withCtx } from "vue";
7
7
  import "../styles/field.css";
@@ -1,2 +1,2 @@
1
- import { Ci as FileInputSize, Si as FileInputProps, Ti as FileInputValue, bi as FileInputEmits, wi as FileInputStatus, xi as FileInputMode, yi as _default } from "../index-CuNFD1Yq.js";
1
+ import { Ci as FileInputSize, Si as FileInputProps, Ti as FileInputValue, bi as FileInputEmits, wi as FileInputStatus, xi as FileInputMode, yi as _default } from "../index-Buxb8Onp.js";
2
2
  export { _default as FileInput, type FileInputEmits, type FileInputMode, type FileInputProps, type FileInputSize, type FileInputStatus, type FileInputValue };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../FileInput-hNPjfW1i.js";
1
+ import { t as _sfc_main } from "../FileInput-C6dK2pvX.js";
2
2
  export { _sfc_main as FileInput };
@@ -8,9 +8,9 @@ import { n as selectFiles, t as formatFileSize } from "./useFileSelection-Cfcbh8
8
8
  import { t as _sfc_main$4 } from "./FieldIcon-DMtfe1Ne.js";
9
9
  import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
10
10
  import { t as _sfc_main$5 } from "./Spinner-DEVPDsD0.js";
11
- import { t as _sfc_main$6 } from "./Field-Dc15m78p.js";
11
+ import { t as _sfc_main$6 } from "./Field-CqDOsI3P.js";
12
12
  import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
13
- import { t as _sfc_main$7 } from "./InputClearButton-BiF7qGMR.js";
13
+ import { t as _sfc_main$7 } from "./InputClearButton-CSS2Tjat.js";
14
14
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, withCtx } from "vue";
15
15
  import "../styles/bordered-control.css";
16
16
  import "../styles/file-input.css";
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Heading-C10qO8wg.js";
1
+ import { t as _sfc_main } from "../Heading-C0axugQa.js";
2
2
  export { _sfc_main as Heading };
@@ -1,5 +1,5 @@
1
1
  import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
2
- import { n as _sfc_main$1, t as useTruncationTooltip } from "./useTruncationTooltip-BNk2xslw.js";
2
+ import { n as _sfc_main$1, t as useTruncationTooltip } from "./useTruncationTooltip-BGsFITq5.js";
3
3
  import { computed, createBlock, createCommentVNode, defineComponent, mergeProps, openBlock, renderSlot, resolveDynamicComponent, unref, useAttrs, watch, withCtx } from "vue";
4
4
  import "../styles/heading.css";
5
5
  //#region src/Heading/level.ts
@@ -1,2 +1,2 @@
1
- import { n as useHoverCard, t as _sfc_main } from "../HoverCard-3S3axq-o.js";
1
+ import { n as useHoverCard, t as _sfc_main } from "../HoverCard-C6Gxekg0.js";
2
2
  export { _sfc_main as HoverCard, useHoverCard };
@@ -1,11 +1,11 @@
1
1
  import { r as registerLayerSurface } from "./layerSurfacePress-C3PjPpJP.js";
2
2
  import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-BmZyeKWE.js";
3
- import { t as useLayer } from "./useLayer-CED-g4Q2.js";
4
- import { t as _sfc_main$1 } from "./LayerContentBoundary-CvsKxwwm.js";
3
+ import { t as useLayer } from "./useLayer-BGv_wRSG.js";
4
+ import { t as _sfc_main$1 } from "./LayerContentBoundary-DwTkbifx.js";
5
5
  import { i as isFocusable } from "./focus-l8jVTcqd.js";
6
6
  import { t as useMergedRefs } from "./useMergedRefs-DTGo1cEU.js";
7
7
  import { t as isActionTrigger } from "./useTouchTrigger-GGd85Obb.js";
8
- import { t as useHoverLayerDismiss } from "./useHoverLayerDismiss-kYJ_NqL4.js";
8
+ import { t as useHoverLayerDismiss } from "./useHoverLayerDismiss-uhfzmZyf.js";
9
9
  import { Fragment, Teleport, Transition, computed, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, onMounted, onScopeDispose, onUpdated, openBlock, ref, renderSlot, shallowRef, toDisplayString, toValue, unref, vShow, watch, withCtx, withDirectives } from "vue";
10
10
  import "../styles/hover-card.css";
11
11
  //#region src/HoverCard/hoverCardTrigger.ts
@@ -1,4 +1,4 @@
1
- import { t as _sfc_main } from "../IconButton-C91rhbvu.js";
1
+ import { t as _sfc_main } from "../IconButton-Bv2eIsJy.js";
2
2
  //#region src/IconButton/index.ts
3
3
  var IconButton_default = _sfc_main;
4
4
  //#endregion
@@ -1,4 +1,4 @@
1
- import { t as _sfc_main$1 } from "./Button-BeNp2zq_.js";
1
+ import { t as _sfc_main$1 } from "./Button-sUkQ0Ufo.js";
2
2
  import { computed, createBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, useAttrs, useTemplateRef, withCtx } from "vue";
3
3
  //#region src/IconButton/IconButton.vue
4
4
  const _sfc_main = /*@__PURE__*/ defineComponent({
@@ -1,2 +1,2 @@
1
- import { _i as InfoTipProps, gi as _default, vi as InfoTipSize } from "../index-CuNFD1Yq.js";
1
+ import { _i as InfoTipProps, gi as _default, vi as InfoTipSize } from "../index-Buxb8Onp.js";
2
2
  export { _default as InfoTip, _default as default, type InfoTipProps, type InfoTipSize };
@@ -1,4 +1,4 @@
1
- import { t as _sfc_main } from "../InfoTip-iKOp_vUV.js";
1
+ import { t as _sfc_main } from "../InfoTip-BKsbmGA6.js";
2
2
  //#region src/InfoTip/index.ts
3
3
  var InfoTip_default = _sfc_main;
4
4
  //#endregion
@@ -1,6 +1,7 @@
1
+ import { n as useTouchHitArea } from "./useTouchHitArea-1WtV3u6F.js";
1
2
  import { t as _sfc_main$1 } from "./Icon-BCHo7W0x.js";
2
3
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
3
- import { r as _sfc_main$2, t as useTooltip } from "./useTooltip-D8Tq7-yd.js";
4
+ import { r as _sfc_main$2, t as useTooltip } from "./useTooltip-md1tr6ef.js";
4
5
  import { t as infoTipMessages } from "./info-tip-BV42YsA4.js";
5
6
  import { Fragment, computed, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, onMounted, onUpdated, openBlock, ref, renderSlot, shallowRef, toDisplayString, unref, useAttrs, useTemplateRef, withCtx } from "vue";
6
7
  import "../styles/info-tip.css";
@@ -32,6 +33,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
32
33
  const element = computed(() => button.value ?? null);
33
34
  const anchor = shallowRef(null);
34
35
  __expose({ element });
36
+ useTouchHitArea(element, true);
35
37
  const isPinned = ref(false);
36
38
  const isShown = ref(false);
37
39
  const tooltip = useTooltip({
@@ -68,7 +70,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
68
70
  ref_key: "button",
69
71
  ref: button,
70
72
  type: "button",
71
- class: "astryx-info-tip",
73
+ class: "astryx-info-tip astryx-touch-hit-area",
72
74
  "aria-label": __props.label ?? unref(messages).infoTip.label,
73
75
  "aria-expanded": isPinned.value,
74
76
  "aria-controls": isShown.value ? unref(tooltip).describedBy : void 0,
@@ -1,6 +1,6 @@
1
- import { n as buttonHitAreaContextKey } from "./context-BJ9RkXYX.js";
1
+ import { n as buttonHitAreaContextKey } from "./context-Cgkyk-b7.js";
2
2
  import { t as _sfc_main$1 } from "./FieldIcon-DMtfe1Ne.js";
3
- import { t as _sfc_main$2 } from "./IconButton-C91rhbvu.js";
3
+ import { t as _sfc_main$2 } from "./IconButton-Bv2eIsJy.js";
4
4
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
5
5
  import { t as inputMessages } from "./input-DUSvqqG_.js";
6
6
  import { createBlock, createVNode, defineComponent, mergeProps, openBlock, provide, unref, useAttrs, withCtx } from "vue";
@@ -1,2 +1,2 @@
1
- import { a as InputGroupSlots, c as INPUT_GROUP_KEY, i as InputGroupSize, l as InputGroupContext, n as _default, o as InputGroupTextProps, r as InputGroupProps, s as InputGroupTextSlots, t as _default$1 } from "../index-BvWBeoa8.js";
1
+ import { a as InputGroupSlots, c as INPUT_GROUP_KEY, i as InputGroupSize, l as InputGroupContext, n as _default, o as InputGroupTextProps, r as InputGroupProps, s as InputGroupTextSlots, t as _default$1 } from "../index-CEjvYAUZ.js";
2
2
  export { INPUT_GROUP_KEY, _default as InputGroup, type InputGroupContext, type InputGroupProps, type InputGroupSize, type InputGroupSlots, _default$1 as InputGroupText, type InputGroupTextProps, type InputGroupTextSlots };
@@ -1,3 +1,3 @@
1
1
  import { t as INPUT_GROUP_KEY } from "../context-Bg7eSJ47.js";
2
- import { n as _sfc_main, t as _sfc_main$1 } from "../InputGroup-CIKleAu8.js";
2
+ import { n as _sfc_main, t as _sfc_main$1 } from "../InputGroup-DTGh1ylC.js";
3
3
  export { INPUT_GROUP_KEY, _sfc_main as InputGroup, _sfc_main$1 as InputGroupText };
@@ -1,7 +1,7 @@
1
1
  import { r as useInputGroupDisabled, t as INPUT_GROUP_KEY } from "./context-Bg7eSJ47.js";
2
2
  import { i as useSize, r as provideSize } from "./SizeContext-BbaF-SEx.js";
3
3
  import { t as textDirection } from "./textDirection-D4ObTwbB.js";
4
- import { t as _sfc_main$2 } from "./Field-Dc15m78p.js";
4
+ import { t as _sfc_main$2 } from "./Field-CqDOsI3P.js";
5
5
  import { Comment, Text, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeProps, normalizeClass, openBlock, provide, renderSlot, unref, useId, useSlots, withCtx } from "vue";
6
6
  import "../styles/input-group.css";
7
7
  //#region src/InputGroup/InputGroup.vue
@@ -1,2 +1,2 @@
1
- import { a as useLocaleDirection, c as ProviderMessagesByLocale, i as astryxDirectionKey, l as ProviderOverrides, n as InternationalizationProviderProps, o as TextDirection, r as InternationalizationProviderSlots, s as getLocaleDirection, t as _default, u as resolveProviderMessages } from "../index-DydQ5Ngj.js";
1
+ import { a as useLocaleDirection, c as ProviderMessagesByLocale, i as astryxDirectionKey, l as ProviderOverrides, n as InternationalizationProviderProps, o as TextDirection, r as InternationalizationProviderSlots, s as getLocaleDirection, t as _default, u as resolveProviderMessages } from "../index-D7YRtteD.js";
2
2
  export { _default as InternationalizationProvider, type InternationalizationProviderProps, type InternationalizationProviderSlots, type ProviderMessagesByLocale, type ProviderOverrides, type TextDirection, astryxDirectionKey, getLocaleDirection, resolveProviderMessages, useLocaleDirection };
@@ -1,2 +1,2 @@
1
- import { a as resolveProviderMessages, i as getLocaleDirection, n as astryxDirectionKey, r as useLocaleDirection, t as _sfc_main } from "../InternationalizationProvider-CyDjQn5Z.js";
1
+ import { a as resolveProviderMessages, i as getLocaleDirection, n as astryxDirectionKey, r as useLocaleDirection, t as _sfc_main } from "../InternationalizationProvider-BYU2MRtX.js";
2
2
  export { _sfc_main as InternationalizationProvider, astryxDirectionKey, getLocaleDirection, resolveProviderMessages, useLocaleDirection };
@@ -1,6 +1,6 @@
1
1
  import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
2
2
  import { a as useAstryxLocale, i as provideAstryxLocale, r as normalizeLocale } from "./context-B8IEFCDR.js";
3
- import { m as icuPlaceholderNames, n as upstreamMessageMap, p as formatIcu, r as builtInMessages, t as loadAstryxCatalog } from "./loadCatalog-XbgoqaRp.js";
3
+ import { m as icuPlaceholderNames, n as upstreamMessageMap, p as formatIcu, r as builtInMessages, t as loadAstryxCatalog } from "./loadCatalog-BtQRPyzj.js";
4
4
  import { computed, defineComponent, inject, provide, renderSlot } from "vue";
5
5
  //#region src/InternationalizationProvider/catalog.ts
6
6
  /**
@@ -1,5 +1,5 @@
1
1
  import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
2
- import { t as provideLayerDepth } from "./layerDepth-CNDh-IHb.js";
2
+ import { t as provideLayerDepth } from "./layerDepth-BF74Cctw.js";
3
3
  import { defineComponent, renderSlot } from "vue";
4
4
  //#region src/layer/LayerContentBoundary.vue
5
5
  /**
@@ -1,3 +1,3 @@
1
- import { a as _sfc_main, n as _sfc_main$3, r as _sfc_main$1, t as _sfc_main$4 } from "../LayoutPanel-D-rpTtC-.js";
2
- import { t as _sfc_main$2 } from "../Layout-OHKb6r7D.js";
1
+ import { a as _sfc_main, n as _sfc_main$3, r as _sfc_main$1, t as _sfc_main$4 } from "../LayoutPanel-DDLcJgzG.js";
2
+ import { t as _sfc_main$2 } from "../Layout-BeYYiLFm.js";
3
3
  export { _sfc_main as Layout, _sfc_main$1 as LayoutContent, _sfc_main$2 as LayoutFooter, _sfc_main$3 as LayoutHeader, _sfc_main$4 as LayoutPanel };
@@ -1,6 +1,6 @@
1
1
  import { o as useLayoutContainer, s as useLayoutDividers } from "./context-CjX2RSDn.js";
2
2
  import { t as formatSize } from "./size-BfginNaZ.js";
3
- import { i as regionPaddingStyle } from "./LayoutPanel-D-rpTtC-.js";
3
+ import { i as regionPaddingStyle } from "./LayoutPanel-DDLcJgzG.js";
4
4
  import { computed, createElementBlock, createElementVNode, defineComponent, mergeProps, normalizeStyle, openBlock, renderSlot, unref, useAttrs, useTemplateRef } from "vue";
5
5
  import "../styles/layout.css";
6
6
  //#region src/Layout/LayoutFooter.vue
@@ -156,6 +156,7 @@ function regionPaddingStyle(prefix, padding, paddingBlockEnd) {
156
156
  const _hoisted_1$2 = [
157
157
  "role",
158
158
  "aria-label",
159
+ "data-container",
159
160
  "data-panels",
160
161
  "data-edge-start",
161
162
  "data-edge-end",
@@ -184,6 +185,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
184
185
  const root = useTemplateRef("root");
185
186
  useScrollbars(root, { enabled: () => props.isScrollable });
186
187
  const slots = useLayoutSlots();
188
+ const container = useLayoutContainer();
187
189
  __expose({ element: root });
188
190
  const panels = computed(() => {
189
191
  if (slots.value.hasStart && slots.value.hasEnd) return "both";
@@ -203,6 +205,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
203
205
  style: rootStyle.value,
204
206
  role: __props.role,
205
207
  "aria-label": __props.label,
208
+ "data-container": unref(container) ?? void 0,
206
209
  "data-panels": panels.value,
207
210
  "data-edge-start": !unref(slots).hasStart || void 0,
208
211
  "data-edge-end": !unref(slots).hasEnd || void 0,
@@ -1,2 +1,2 @@
1
- import { a as LightboxMediaType, c as UseLightboxOptions, i as LightboxMedia, n as _default, o as LightboxProps, r as LightboxEmits, s as LightboxTriggerProps, t as useLightbox } from "../index-1AZ4KZhg.js";
1
+ import { a as LightboxMediaType, c as UseLightboxOptions, i as LightboxMedia, n as _default, o as LightboxProps, r as LightboxEmits, s as LightboxTriggerProps, t as useLightbox } from "../index-CCpcerMA.js";
2
2
  export { _default as Lightbox, type LightboxEmits, type LightboxMedia, type LightboxMediaType, type LightboxProps, type LightboxTriggerProps, type UseLightboxOptions, useLightbox };
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main, t as useLightbox } from "../Lightbox-DZrWvhCQ.js";
1
+ import { n as _sfc_main, t as useLightbox } from "../Lightbox-BZ-zBvly.js";
2
2
  export { _sfc_main as Lightbox, useLightbox };
@@ -1,12 +1,14 @@
1
1
  import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
2
2
  import { t as _sfc_main$2 } from "./Icon-BCHo7W0x.js";
3
- import { t as useAnnounce } from "./announce-B210eJVf.js";
4
- import { t as _sfc_main$3 } from "./IconButton-C91rhbvu.js";
3
+ import { t as useFocusTrap } from "./useFocusTrap-FJt5QhEd.js";
4
+ import { t as _sfc_main$3 } from "./IconButton-Bv2eIsJy.js";
5
5
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
6
6
  import { t as useScrollLock } from "./scrollLock-C3aT4-0z.js";
7
+ import { n as restoreLayerFocus, r as trackLayerFocus, t as isLayerFocusStranded } from "./layerFocusReturn-DMJaFgcY.js";
7
8
  import { n as useTruncation } from "./useTruncation-C4pdlaXa.js";
8
9
  import { t as lightboxMessages } from "./lightbox-BbwxSHdB.js";
9
10
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, openBlock, ref, toDisplayString, toRef, unref, useId, useTemplateRef, watch, withCtx } from "vue";
11
+ import "../styles/visually-hidden-utility.css";
10
12
  import "../styles/lightbox.css";
11
13
  //#region src/Lightbox/LightboxCaption.vue
12
14
  const _hoisted_1$1 = ["data-empty", "data-expanded"];
@@ -61,13 +63,45 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
61
63
  }
62
64
  });
63
65
  //#endregion
66
+ //#region src/Lightbox/lightboxViewer.ts
67
+ /** 序号取整:小数四舍五入到最近的一项,NaN 当作第一项。越界由调用方再夹紧。 */
68
+ function toWholeIndex(value) {
69
+ return Number.isNaN(value) ? 0 : Math.round(value);
70
+ }
71
+ /**
72
+ * 往灯箱自己的播报区域写一句话。模态 dialog 打开时外面的页面是 inert 的,
73
+ * 挂在 body 上的公共播报区域读屏听不到,所以灯箱在 dialog 里放一个自己的。
74
+ * 先清空再在下一帧写入,同一句话连着播两次也会被当成新内容。
75
+ */
76
+ function createModalAnnouncer(getRegion) {
77
+ let frame;
78
+ return (message) => {
79
+ const region = getRegion();
80
+ if (region == null) return;
81
+ region.textContent = "";
82
+ if (frame !== void 0 && typeof cancelAnimationFrame === "function") cancelAnimationFrame(frame);
83
+ if (typeof requestAnimationFrame !== "function") {
84
+ region.textContent = message;
85
+ return;
86
+ }
87
+ frame = requestAnimationFrame(() => {
88
+ frame = void 0;
89
+ region.textContent = message;
90
+ });
91
+ };
92
+ }
93
+ //#endregion
64
94
  //#region src/Lightbox/Lightbox.vue
65
95
  const _hoisted_1 = [
66
96
  "aria-label",
67
97
  "aria-describedby",
68
- "data-gallery"
98
+ "data-gallery",
99
+ "data-caption-band"
69
100
  ];
70
- const _hoisted_2 = { class: "astryx-lightbox__media" };
101
+ const _hoisted_2 = {
102
+ ref: "mediaBox",
103
+ class: "astryx-lightbox__media"
104
+ };
71
105
  const _hoisted_3 = [
72
106
  "data-zoomable",
73
107
  "data-zoomed",
@@ -91,6 +125,12 @@ const _hoisted_6 = {
91
125
  key: 2,
92
126
  class: "astryx-lightbox__counter"
93
127
  };
128
+ const _hoisted_7 = {
129
+ ref: "liveRegion",
130
+ class: "astryx-lightbox__announcer astryx-visually-hidden",
131
+ "aria-live": "polite",
132
+ "aria-atomic": "true"
133
+ };
94
134
  const _sfc_main = /*@__PURE__*/ defineComponent({
95
135
  name: "AstryxLightbox",
96
136
  inheritAttrs: false,
@@ -114,10 +154,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
114
154
  const props = __props;
115
155
  const emit = __emit;
116
156
  const messages = useComponentMessages({ lightbox: lightboxMessages });
117
- const announce = useAnnounce();
157
+ const liveRegionRef = useTemplateRef("liveRegion");
158
+ const announce = createModalAnnouncer(() => liveRegionRef.value);
118
159
  resetLayerScopedContext();
119
160
  const dialogRef = useTemplateRef("dialog");
120
161
  const containerRef = ref(null);
162
+ const mediaRef = useTemplateRef("mediaBox");
121
163
  const frameRef = useTemplateRef("frame");
122
164
  const closeRef = useTemplateRef("close");
123
165
  const captionId = `astryx-lightbox-caption-${useId()}`;
@@ -126,12 +168,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
126
168
  const isGallery = computed(() => Array.isArray(props.media) && mediaList.value.length > 1);
127
169
  const internalIndex = ref(props.defaultIndex);
128
170
  const index = computed(() => {
129
- const raw = props.index ?? internalIndex.value;
130
171
  const last = Math.max(0, mediaList.value.length - 1);
131
- return Math.min(Math.max(0, raw), last);
172
+ return Math.min(Math.max(0, toWholeIndex(props.index ?? internalIndex.value)), last);
132
173
  });
133
174
  const current = computed(() => mediaList.value[index.value]);
134
175
  const isVideo = computed(() => current.value?.type === "video");
176
+ const hasCaptionBand = computed(() => isGallery.value || Boolean(current.value?.caption));
135
177
  const canPrev = computed(() => index.value > 0);
136
178
  const canNext = computed(() => index.value < mediaList.value.length - 1);
137
179
  const zoom = ref(1);
@@ -147,7 +189,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
147
189
  panX: 0,
148
190
  panY: 0
149
191
  };
150
- let restoreFocus = null;
192
+ let focusRecord = null;
151
193
  const zoomable = computed(() => props.hasZoom && !isVideo.value);
152
194
  const imageTransform = computed(() => zoom.value === 1 ? void 0 : `scale(${zoom.value}) translate(${pan.value.x / zoom.value}px, ${pan.value.y / zoom.value}px)`);
153
195
  function close() {
@@ -155,7 +197,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
155
197
  }
156
198
  function setIndex(next) {
157
199
  const last = Math.max(0, mediaList.value.length - 1);
158
- const clamped = Math.min(Math.max(0, next), last);
200
+ const clamped = Math.min(Math.max(0, toWholeIndex(next)), last);
159
201
  internalIndex.value = clamped;
160
202
  emit("update:index", clamped);
161
203
  }
@@ -188,7 +230,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
188
230
  didDrag.value = false;
189
231
  return;
190
232
  }
191
- if (event.target === event.currentTarget || event.target === containerRef.value) close();
233
+ const target = event.target;
234
+ if (target === event.currentTarget || target === containerRef.value || target === mediaRef.value) close();
192
235
  }
193
236
  function onKeyDown(event) {
194
237
  if (zoomable.value) {
@@ -202,6 +245,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
202
245
  applyZoom(1);
203
246
  return;
204
247
  }
248
+ if (event.key === "0" && !event.ctrlKey && !event.metaKey && !event.altKey) {
249
+ event.preventDefault();
250
+ applyZoom(1);
251
+ return;
252
+ }
205
253
  const step = 50;
206
254
  const offsets = {
207
255
  ArrowDown: [0, -50],
@@ -219,12 +267,16 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
219
267
  return;
220
268
  }
221
269
  }
222
- if (event.key === "ArrowLeft" && canPrev.value) {
223
- event.preventDefault();
224
- setIndex(index.value - 1);
225
- } else if (event.key === "ArrowRight" && canNext.value) {
270
+ if (event.key !== "ArrowLeft" && event.key !== "ArrowRight") return;
271
+ const dialog = dialogRef.value;
272
+ const isRtl = dialog != null && getComputedStyle(dialog).direction === "rtl";
273
+ const towardEnd = event.key === "ArrowRight" !== isRtl;
274
+ if (towardEnd && canNext.value) {
226
275
  event.preventDefault();
227
276
  setIndex(index.value + 1);
277
+ } else if (!towardEnd && canPrev.value) {
278
+ event.preventDefault();
279
+ setIndex(index.value - 1);
228
280
  }
229
281
  }
230
282
  function onImageKeyDown(event) {
@@ -253,18 +305,36 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
253
305
  function onPointerUp() {
254
306
  dragging.value = false;
255
307
  }
256
- watch(() => props.isOpen, (open) => {
308
+ useFocusTrap({
309
+ container: dialogRef,
310
+ isEnabled: () => props.isOpen && current.value != null
311
+ });
312
+ function pauseVideos() {
313
+ for (const video of dialogRef.value?.querySelectorAll("video") ?? []) if (!video.paused) video.pause();
314
+ }
315
+ watch([() => props.isOpen, () => current.value != null], ([open]) => {
257
316
  const dialog = dialogRef.value;
258
317
  if (dialog == null) return;
259
318
  if (open && !dialog.open) {
260
- const active = document.activeElement;
261
- restoreFocus = active instanceof HTMLElement ? active : null;
319
+ focusRecord?.stop();
320
+ focusRecord = trackLayerFocus({ getLayer: () => dialogRef.value });
262
321
  dialog.showModal();
322
+ const video = dialog.querySelector("video");
323
+ if (props.hasAutoPlay && video != null && video.paused) video.play()?.catch(() => {});
263
324
  } else if (!open && dialog.open) {
325
+ const record = focusRecord;
326
+ focusRecord = null;
327
+ const wasStranded = record != null && isLayerFocusStranded(record, dialog);
328
+ pauseVideos();
264
329
  dialog.close();
265
330
  resetZoom();
266
- restoreFocus?.focus();
267
- restoreFocus = null;
331
+ if (record != null) {
332
+ if (wasStranded) restoreLayerFocus(record, {
333
+ layer: dialog,
334
+ name: "Lightbox"
335
+ });
336
+ record.stop();
337
+ }
268
338
  }
269
339
  }, { flush: "post" });
270
340
  /**
@@ -296,6 +366,17 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
296
366
  onBeforeUnmount(() => {
297
367
  window.removeEventListener("pointermove", onPointerMove);
298
368
  window.removeEventListener("pointerup", onPointerUp);
369
+ const record = focusRecord;
370
+ focusRecord = null;
371
+ if (record == null) return;
372
+ const wasStranded = dialogRef.value?.open === true && isLayerFocusStranded(record, dialogRef.value);
373
+ queueMicrotask(() => {
374
+ if (wasStranded) restoreLayerFocus(record, {
375
+ layer: null,
376
+ name: "Lightbox"
377
+ });
378
+ record.stop();
379
+ });
299
380
  });
300
381
  watch(dragging, (isDragging, wasDragging) => {
301
382
  if (wasDragging && !isDragging) {
@@ -312,6 +393,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
312
393
  "aria-label": current.value.alt || unref(messages).lightbox.mediaViewer,
313
394
  "aria-describedby": current.value.caption ? captionId : void 0,
314
395
  "data-gallery": isGallery.value || void 0,
396
+ "data-caption-band": hasCaptionBand.value || void 0,
315
397
  "data-component": "lightbox",
316
398
  onCancel,
317
399
  onClick: onBackdropClick,
@@ -371,7 +453,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
371
453
  src: current.value.src,
372
454
  "aria-label": current.value.alt,
373
455
  controls: "",
374
- autoplay: __props.hasAutoPlay
456
+ autoplay: __props.hasAutoPlay && __props.isOpen
375
457
  }, null, 8, _hoisted_4)) : (openBlock(), createElementBlock("img", {
376
458
  key: 1,
377
459
  class: "astryx-lightbox__image",
@@ -381,16 +463,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
381
463
  style: normalizeStyle(imageTransform.value ? { transform: imageTransform.value } : void 0),
382
464
  "data-dragging": dragging.value || void 0
383
465
  }, null, 12, _hoisted_5))], 40, _hoisted_3),
384
- isGallery.value ? (openBlock(), createBlock(_sfc_main$1, {
466
+ hasCaptionBand.value ? (openBlock(), createBlock(_sfc_main$1, {
385
467
  id: captionId,
386
468
  key: index.value,
387
469
  text: current.value.caption
388
- }, null, 8, ["text"])) : current.value.caption ? (openBlock(), createElementBlock("p", {
389
- key: 1,
390
- id: captionId,
391
- class: "astryx-lightbox__caption"
392
- }, toDisplayString(current.value.caption), 1)) : createCommentVNode("v-if", true)
393
- ]),
470
+ }, null, 8, ["text"])) : createCommentVNode("v-if", true)
471
+ ], 512),
394
472
  isGallery.value ? (openBlock(), createBlock(_sfc_main$3, {
395
473
  key: 1,
396
474
  class: "astryx-lightbox__nav astryx-lightbox__nav--next",
@@ -407,7 +485,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
407
485
  _: 1
408
486
  }, 8, ["label", "is-disabled"])) : createCommentVNode("v-if", true),
409
487
  isGallery.value ? (openBlock(), createElementBlock("p", _hoisted_6, toDisplayString(index.value + 1) + " / " + toDisplayString(mediaList.value.length), 1)) : createCommentVNode("v-if", true)
410
- ], 512)], 46, _hoisted_1)) : createCommentVNode("v-if", true)], 2112);
488
+ ], 512), createElementVNode("div", _hoisted_7, null, 512)], 46, _hoisted_1)) : createCommentVNode("v-if", true)], 2112);
411
489
  };
412
490
  }
413
491
  });
@@ -1,3 +1,3 @@
1
1
  import { _ as LinkWeight, f as LinkColor, g as LinkType, h as LinkSize, m as LinkRoot, p as LinkProps } from "../index-Dc52pmSr.js";
2
- import { hi as _default } from "../index-CuNFD1Yq.js";
2
+ import { hi as _default } from "../index-Buxb8Onp.js";
3
3
  export { _default as Link, type LinkColor, type LinkProps, type LinkRoot, type LinkSize, type LinkType, type LinkWeight };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Link-CnlFkwpY.js";
1
+ import { t as _sfc_main } from "../Link-Ddu0KjPZ.js";
2
2
  export { _sfc_main as Link };
@@ -5,7 +5,7 @@ import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
5
5
  import { n as useLinkComponent } from "./context-C_peZbXf.js";
6
6
  import { t as _sfc_main$2 } from "./VisuallyHidden-cpmsV-0M.js";
7
7
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
8
- import { t as _sfc_main$3 } from "./Tooltip-CGHpFMnc.js";
8
+ import { t as _sfc_main$3 } from "./Tooltip-4APVAlN9.js";
9
9
  import { t as TextClampContext } from "./textClampContext-o3-nLErq.js";
10
10
  import { t as navMessages } from "./nav-DpKQUHqR.js";
11
11
  import { computed, createBlock, createCommentVNode, createElementVNode, createTextVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, useAttrs, withCtx } from "vue";