@astryx-vue/core 0.11.0 → 0.12.1

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 (250) 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.js +1 -1
  40. package/dist/{ComplexSelector-BzGKWYEv.js → ComplexSelector-B_5mzJjR.js} +2 -2
  41. package/dist/ContextMenu/index.d.ts +1 -1
  42. package/dist/ContextMenu/index.js +1 -1
  43. package/dist/{ContextMenu-6AnjpPJg.js → ContextMenu-DYnyk5rs.js} +4 -4
  44. package/dist/DateInput/index.d.ts +1 -1
  45. package/dist/DateInput/index.js +1 -1
  46. package/dist/{DateInput-OkjtSKwt.js → DateInput-DgPIsWPu.js} +4 -4
  47. package/dist/DateRangeInput/index.d.ts +1 -1
  48. package/dist/DateRangeInput/index.js +1 -1
  49. package/dist/{DateRangeInput-B4HT9NfM.js → DateRangeInput-oOfhUt1Q.js} +3 -3
  50. package/dist/DateTimeInput/index.d.ts +1 -1
  51. package/dist/DateTimeInput/index.js +1 -1
  52. package/dist/{DateTimeInput-B_tQlraA.js → DateTimeInput-DZfghF2h.js} +5 -5
  53. package/dist/Dialog/index.js +3 -3
  54. package/dist/{Dialog-BtPktuiy.js → Dialog-Dkwt3mVt.js} +25 -8
  55. package/dist/{Dialog-3MKo31xn.js → Dialog-qIL4DUot.js} +1 -1
  56. package/dist/{DialogHeader-cr9rFLYM.js → DialogHeader-w4TCzYEj.js} +2 -2
  57. package/dist/Drawer/index.d.ts +1 -1
  58. package/dist/Drawer/index.js +1 -1
  59. package/dist/{Drawer-Ba-yG1rk.js → Drawer-DBHSNUAa.js} +2 -2
  60. package/dist/DropdownMenu/index.js +2 -2
  61. package/dist/{DropdownMenu-DJK_xIUd.js → DropdownMenu-Cncx4FbU.js} +3 -3
  62. package/dist/{DropdownMenu-B9eUWp_X.js → DropdownMenu-DHvAlqSj.js} +5 -5
  63. package/dist/EmptyState/index.js +1 -1
  64. package/dist/{EmptyState-v1cvHKav.js → EmptyState-uWyPaIR1.js} +2 -2
  65. package/dist/Field/index.js +3 -3
  66. package/dist/{Field-Dc15m78p.js → Field-CqDOsI3P.js} +1 -1
  67. package/dist/{FieldInfoTip-BouJddgS.js → FieldInfoTip-CUh2koNc.js} +1 -1
  68. package/dist/{FieldLabel-CfO3zaZ5.js → FieldLabel-BMHNRAG3.js} +1 -1
  69. package/dist/FileInput/index.d.ts +1 -1
  70. package/dist/FileInput/index.js +1 -1
  71. package/dist/{FileInput-hNPjfW1i.js → FileInput-C6dK2pvX.js} +2 -2
  72. package/dist/Heading/index.js +1 -1
  73. package/dist/{Heading-C10qO8wg.js → Heading-C0axugQa.js} +1 -1
  74. package/dist/HoverCard/index.d.ts +1 -1
  75. package/dist/HoverCard/index.js +1 -1
  76. package/dist/{HoverCard-3S3axq-o.js → HoverCard-C6Gxekg0.js} +3 -3
  77. package/dist/IconButton/index.js +1 -1
  78. package/dist/{IconButton-C91rhbvu.js → IconButton-Bv2eIsJy.js} +1 -1
  79. package/dist/InfoTip/index.d.ts +1 -1
  80. package/dist/InfoTip/index.js +1 -1
  81. package/dist/{InfoTip-iKOp_vUV.js → InfoTip-BKsbmGA6.js} +4 -2
  82. package/dist/{InputClearButton-BiF7qGMR.js → InputClearButton-CSS2Tjat.js} +2 -2
  83. package/dist/InputGroup/index.js +1 -1
  84. package/dist/{InputGroup-CIKleAu8.js → InputGroup-DTGh1ylC.js} +1 -1
  85. package/dist/InternationalizationProvider/index.d.ts +1 -1
  86. package/dist/InternationalizationProvider/index.js +1 -1
  87. package/dist/{InternationalizationProvider-DA3I14xV.js → InternationalizationProvider-CyDjQn5Z.js} +1 -1
  88. package/dist/{LayerContentBoundary-CvsKxwwm.js → LayerContentBoundary-DwTkbifx.js} +1 -1
  89. package/dist/Layout/index.d.ts +1 -1
  90. package/dist/Layout/index.js +2 -2
  91. package/dist/{Layout-OHKb6r7D.js → Layout-BeYYiLFm.js} +1 -1
  92. package/dist/{LayoutPanel-D-rpTtC-.js → LayoutPanel-DDLcJgzG.js} +3 -0
  93. package/dist/Lightbox/index.d.ts +1 -1
  94. package/dist/Lightbox/index.js +1 -1
  95. package/dist/{Lightbox-DZrWvhCQ.js → Lightbox-BZ-zBvly.js} +106 -28
  96. package/dist/Link/index.d.ts +1 -1
  97. package/dist/Link/index.js +1 -1
  98. package/dist/{Link-CnlFkwpY.js → Link-Ddu0KjPZ.js} +1 -1
  99. package/dist/Markdown/index.js +1 -1
  100. package/dist/{Markdown-YVv-0uFI.js → Markdown-D7bQGV9u.js} +3 -3
  101. package/dist/MobileNav/index.js +1 -1
  102. package/dist/{MobileNavToggle-lgEHlilz.js → MobileNavToggle-Dfshmrdy.js} +3 -2
  103. package/dist/MoreMenu/index.d.ts +1 -1
  104. package/dist/MoreMenu/index.js +1 -1
  105. package/dist/{MoreMenu-DaLb4bgr.js → MoreMenu-Bie4B7Jr.js} +4 -4
  106. package/dist/MultiSelector/index.d.ts +1 -1
  107. package/dist/MultiSelector/index.js +1 -1
  108. package/dist/{MultiSelector-stzuffs3.js → MultiSelector-BdedjB6u.js} +5 -5
  109. package/dist/{NavDisclosure-DG4jls5z.js → NavDisclosure-1otbO71l.js} +1 -1
  110. package/dist/{NavHeadingSurface-9JQsxTxs.js → NavHeadingSurface-BkMR3V5m.js} +1 -1
  111. package/dist/NavMenu/index.js +3 -3
  112. package/dist/{NavMenu-ChlWdHfi.js → NavMenu-dyGZS1yM.js} +2 -2
  113. package/dist/{NavMenuItem-DIMQohIa.js → NavMenuItem-CirgE73a.js} +1 -1
  114. package/dist/NumberInput/index.d.ts +1 -1
  115. package/dist/NumberInput/index.js +1 -1
  116. package/dist/{NumberInput-DH0Cb7L6.js → NumberInput-0KbcEF3_.js} +3 -3
  117. package/dist/OverflowList/index.d.ts +1 -1
  118. package/dist/OverflowList/index.js +1 -1
  119. package/dist/{OverflowList-BGzqG78e.js → OverflowList-BdcaX1bz.js} +2 -2
  120. package/dist/Overlay/index.d.ts +1 -1
  121. package/dist/Pagination/index.js +1 -1
  122. package/dist/{Pagination-DMG9KvKa.js → Pagination-uttop2ls.js} +1 -1
  123. package/dist/Popover/index.d.ts +1 -1
  124. package/dist/Popover/index.js +1 -1
  125. package/dist/{Popover-cnfHz2tm.js → Popover-BOQo9UPf.js} +78 -26
  126. package/dist/PowerSearch/index.d.ts +1 -1
  127. package/dist/PowerSearch/index.js +1 -1
  128. package/dist/{PowerSearch-Dv2AHgE5.js → PowerSearch-DDuYfvNh.js} +16 -16
  129. package/dist/ProgressBar/index.js +1 -1
  130. package/dist/{ProgressBar-gsm2A_cR.js → ProgressBar-BS3VSoE9.js} +1 -1
  131. package/dist/Radio/index.d.ts +1 -1
  132. package/dist/Radio/index.js +1 -1
  133. package/dist/{RadioGroup-D3TXgdwV.js → RadioGroup-DKaSstyl.js} +2 -2
  134. package/dist/RadioList/index.d.ts +1 -1
  135. package/dist/RadioList/index.js +1 -1
  136. package/dist/{RadioList-Boj8QfPe.js → RadioList-DtKm9spP.js} +1 -1
  137. package/dist/Resizable/index.d.ts +1 -1
  138. package/dist/ScrollableArea/index.d.ts +1 -1
  139. package/dist/SelectableCard/index.d.ts +1 -1
  140. package/dist/Selector/index.d.ts +1 -1
  141. package/dist/Selector/index.js +1 -1
  142. package/dist/{Selector-CyY6vVUg.js → Selector-OpczmkqS.js} +4 -4
  143. package/dist/SideNav/index.d.ts +1 -1
  144. package/dist/SideNav/index.js +1 -1
  145. package/dist/{SideNav-s9yTmKX3.js → SideNav-L6CWk5fV.js} +5 -5
  146. package/dist/Slider/index.js +1 -1
  147. package/dist/{Slider-BQ4Dhxdx.js → Slider-DZS8mGZA.js} +1 -1
  148. package/dist/Stack/index.d.ts +1 -1
  149. package/dist/StatusDot/index.js +1 -1
  150. package/dist/{StatusDot-DF5wK42f.js → StatusDot-DaQGq8YN.js} +1 -1
  151. package/dist/Stepper/index.d.ts +1 -1
  152. package/dist/Switch/index.d.ts +1 -1
  153. package/dist/Switch/index.js +1 -1
  154. package/dist/{Switch-B0E8cZy7.js → Switch-BN_NnBuc.js} +1 -1
  155. package/dist/TabList/index.d.ts +1 -1
  156. package/dist/TabList/index.js +1 -1
  157. package/dist/{TabList-DBSXa5QT.js → TabList-Bmj4tGT-.js} +1 -1
  158. package/dist/Table/index.d.ts +3 -3
  159. package/dist/Table/index.js +2 -2
  160. package/dist/{Table-D4vQdv-Z.js → Table-_pSoEiGP.js} +705 -278
  161. package/dist/Text/index.js +1 -1
  162. package/dist/{Text-WB-fpFne.js → Text-IijvZmW-.js} +1 -1
  163. package/dist/TextArea/index.d.ts +1 -1
  164. package/dist/TextArea/index.js +1 -1
  165. package/dist/{TextArea-CSoebCLx.js → TextArea-BDR179q1.js} +4 -4
  166. package/dist/TextInput/index.d.ts +1 -1
  167. package/dist/TextInput/index.js +1 -1
  168. package/dist/{TextInput-B3qNW95s.js → TextInput-kUzxl99M.js} +4 -4
  169. package/dist/Theme/index.js +1 -1
  170. package/dist/{Theme-1r_aWHvr.js → Theme-PyAl8nM0.js} +4 -0
  171. package/dist/Thumbnail/index.js +1 -1
  172. package/dist/{Thumbnail-CTkLFo-A.js → Thumbnail-Disi5yDb.js} +2 -2
  173. package/dist/{TimeField-CMZxZ6gI.js → TimeField-C0la1AtP.js} +4 -4
  174. package/dist/TimeInput/index.d.ts +1 -1
  175. package/dist/TimeInput/index.js +1 -1
  176. package/dist/{TimeInput-BFWgRaV-.js → TimeInput-C_jTijHh.js} +2 -2
  177. package/dist/Timer/index.js +1 -1
  178. package/dist/{Timer-BD2gSoQ3.js → Timer-DifGERP8.js} +1 -1
  179. package/dist/Timestamp/index.d.ts +1 -1
  180. package/dist/Timestamp/index.js +1 -1
  181. package/dist/{Timestamp-DWnbOvnI.js → Timestamp-BjXZGAvO.js} +3 -3
  182. package/dist/Toast/index.js +1 -1
  183. package/dist/{Toast-aI9QMW-L.js → Toast-DBo0WRAd.js} +1 -1
  184. package/dist/ToggleButton/index.d.ts +1 -1
  185. package/dist/ToggleButton/index.js +1 -1
  186. package/dist/{ToggleButton-DI9I-LBH.js → ToggleButton-B5HNykOh.js} +4 -3
  187. package/dist/Token/index.d.ts +1 -1
  188. package/dist/Tokenizer/index.js +1 -1
  189. package/dist/{Tokenizer-Caqr8y0B.js → Tokenizer-BNazaZsP.js} +3 -3
  190. package/dist/Toolbar/index.d.ts +2 -2
  191. package/dist/Tooltip/index.d.ts +1 -1
  192. package/dist/Tooltip/index.js +2 -2
  193. package/dist/{Tooltip-CGHpFMnc.js → Tooltip-4APVAlN9.js} +1 -1
  194. package/dist/TopNav/index.d.ts +1 -1
  195. package/dist/TopNav/index.js +1 -1
  196. package/dist/{TopNav-Cm_Hn6Ub.js → TopNav-XSZWAR-7.js} +4 -4
  197. package/dist/Typeahead/index.js +1 -1
  198. package/dist/{Typeahead-tz2lm5qb.js → Typeahead-BgQVQw-0.js} +3 -3
  199. package/dist/composables/index.d.ts +2 -2
  200. package/dist/composables/index.js +7 -6
  201. package/dist/context-Cgkyk-b7.js +10 -0
  202. package/dist/{index-DTvnURvQ.d.ts → index-B3FE7s7V.d.ts} +2 -2
  203. package/dist/{index-DTfA4uE3.d.ts → index-B44fLswd.d.ts} +7 -6
  204. package/dist/{index-BB9acgK8.d.ts → index-BgT6mH3U.d.ts} +1 -1
  205. package/dist/{index-CqMchGHu.d.ts → index-Bmqz1lVz.d.ts} +1 -1
  206. package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
  207. package/dist/{index-1AZ4KZhg.d.ts → index-CCpcerMA.d.ts} +2 -2
  208. package/dist/{index-COizkrYV.d.ts → index-CGDmjlec.d.ts} +53 -26
  209. package/dist/{index-DWff2hPl.d.ts → index-CKtrcglY.d.ts} +3 -3
  210. package/dist/{index-Cun6cXGP.d.ts → index-Cb-HJUhK.d.ts} +1 -1
  211. package/dist/{index-D2-umYbX.d.ts → index-CcYSAva-.d.ts} +1 -1
  212. package/dist/{index-CYMoCPfU.d.ts → index-D-YoRrfP.d.ts} +1 -1
  213. package/dist/{index-dWlCpnua.d.ts → index-DhcjuwQq.d.ts} +1 -1
  214. package/dist/{index-BkYcznbj.d.ts → index-DydQ5Ngj.d.ts} +1 -1
  215. package/dist/{index-CO9GW-ik.d.ts → index-Q1oG9yIT.d.ts} +1 -1
  216. package/dist/{index-DzENUj3W.d.ts → index-_5purQow.d.ts} +4 -4
  217. package/dist/{index-FzAAjCFZ.d.ts → index-a1jCiQP7.d.ts} +1 -1
  218. package/dist/{index-MEix_m1o.d.ts → index-lmd9LZKB.d.ts} +6 -3
  219. package/dist/{index-C2E1Peae.d.ts → index-wTwhcFQx.d.ts} +1 -1
  220. package/dist/index.d.ts +22 -22
  221. package/dist/index.js +88 -87
  222. package/dist/{layerDepth-CNDh-IHb.js → layerDepth-BF74Cctw.js} +38 -14
  223. package/dist/layerFocusReturn-DMJaFgcY.js +121 -0
  224. package/dist/{loadCatalog-BC0o_2p_.d.ts → loadCatalog-CQEYXGuI.d.ts} +9 -0
  225. package/dist/{loadCatalog-DAEqYLgh.js → loadCatalog-XbgoqaRp.js} +37 -0
  226. package/dist/locale/index.d.ts +2 -2
  227. package/dist/locale/index.js +2 -2
  228. package/dist/{locale-DNGKtpHA.js → locale-BwnZeppK.js} +1 -1
  229. package/dist/{tooltipTriggerRules-Bg4tG8w2.js → tooltipTriggerRules-BY3LAtUl.js} +1 -1
  230. package/dist/{useActionGroupTracking-B4niQ_tR.js → useActionGroupTracking-BJMRaXil.js} +1 -1
  231. package/dist/{useAnchoredListbox-9Gn8asBR.js → useAnchoredListbox-CuRfVgKl.js} +1 -1
  232. package/dist/{useDismiss-0-Z-9D0A.js → useDismiss-BWd-sQ18.js} +26 -5
  233. package/dist/{useRestoreFocus-CEG0n2AK.js → useFocusTrap-FJt5QhEd.js} +2 -36
  234. package/dist/{useHoverLayerDismiss-kYJ_NqL4.js → useHoverLayerDismiss-uhfzmZyf.js} +1 -1
  235. package/dist/{useInputStatusIcon-Da2FiXwF.js → useInputStatusIcon-C3Q-q_wI.js} +1 -1
  236. package/dist/{useLayer-CED-g4Q2.js → useLayer-BGv_wRSG.js} +1 -1
  237. package/dist/{useResizable-I3BCiLSL.js → useResizable-DTDhsLip.js} +1 -1
  238. package/dist/{useResizable-OTSgW_VF.d.ts → useResizable-DziUYD5W.d.ts} +8 -1
  239. package/dist/useRestoreFocus-D2-pGoOk.js +38 -0
  240. package/dist/{useTooltip-D8Tq7-yd.js → useTooltip-md1tr6ef.js} +61 -29
  241. package/dist/{context-BJ9RkXYX.js → useTouchHitArea-1WtV3u6F.js} +1 -10
  242. package/dist/{useTruncationTooltip-BNk2xslw.js → useTruncationTooltip-BGsFITq5.js} +3 -3
  243. package/dist/{useTypeahead-DSMObTtg.js → useTypeahead-BrUwR-kv.js} +1 -1
  244. package/package.json +1 -1
  245. package/styles/dialog.css +0 -1
  246. package/styles/info-tip.css +0 -9
  247. package/styles/lightbox.css +7 -2
  248. package/styles/popover.css +2 -0
  249. package/styles/table.css +132 -4
  250. package/dist/{index-BqhgeAT4.d.ts → index-J6YRJ7Ul.d.ts} +1 -1
@@ -1,7 +1,8 @@
1
1
  import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
2
2
  import { i as provideLayerMountTarget } from "./useLayerMountTarget-BmZyeKWE.js";
3
- import { n as useFocusTrap, t as useRestoreFocus } from "./useRestoreFocus-CEG0n2AK.js";
3
+ import { t as useFocusTrap } from "./useFocusTrap-FJt5QhEd.js";
4
4
  import { t as useScrollLock } from "./scrollLock-C3aT4-0z.js";
5
+ import { n as restoreLayerFocus, r as trackLayerFocus, t as isLayerFocusStranded } from "./layerFocusReturn-DMJaFgcY.js";
5
6
  import { n as removeModalOutlet, t as addModalOutlet } from "./modalOutlet-CUOcrhIu.js";
6
7
  import { i as provideLayoutContainer } from "./context-CjX2RSDn.js";
7
8
  import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeProps, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, ref, renderSlot, useAttrs, useId, useTemplateRef, watch } from "vue";
@@ -147,7 +148,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
147
148
  if (props.isInline) return false;
148
149
  return dialogRef.value?.open ?? false;
149
150
  });
150
- const shouldRestoreFocus = computed(() => isDialogOpen.value);
151
151
  let modalOutlet = null;
152
152
  function attachModalOutlet(dialog) {
153
153
  if (modalOutlet === dialog) return;
@@ -172,16 +172,24 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
172
172
  isEnabled: isDialogOpen,
173
173
  initialFocus: initialFocusTarget
174
174
  });
175
- const { save: saveFocus, restore: restoreFocus } = useRestoreFocus({
176
- isEnabled: ref(true),
177
- shouldRestore: shouldRestoreFocus
178
- });
175
+ let focusRecord = null;
176
+ function returnFocus(record, dialog, wasStranded) {
177
+ if (wasStranded) restoreLayerFocus(record, {
178
+ layer: dialog,
179
+ name: "Dialog"
180
+ });
181
+ record.stop();
182
+ }
179
183
  function openDialog() {
180
184
  if (props.isInline) return;
181
185
  const dialog = dialogRef.value;
182
186
  if (!dialog || dialog.open) return;
183
187
  triggerElement = document.activeElement;
184
- saveFocus();
188
+ focusRecord?.stop();
189
+ focusRecord = trackLayerFocus({
190
+ getLayer: () => dialogRef.value,
191
+ opener: triggerElement instanceof HTMLElement ? triggerElement : null
192
+ });
185
193
  applyEntryDirection(dialog);
186
194
  dialog.showModal();
187
195
  initialFocusTarget()?.focus({ preventScroll: true });
@@ -191,8 +199,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
191
199
  function closeDialog() {
192
200
  if (props.isInline) return;
193
201
  const dialog = dialogRef.value;
202
+ const record = focusRecord;
203
+ focusRecord = null;
204
+ const wasStranded = record != null && isLayerFocusStranded(record, dialog);
194
205
  if (dialog?.open) dialog.close();
195
- restoreFocus();
206
+ if (record != null) returnFocus(record, dialog, wasStranded);
196
207
  detachModalOutlet();
197
208
  unlockScroll();
198
209
  }
@@ -214,6 +225,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
214
225
  onBeforeUnmount(() => {
215
226
  detachModalOutlet();
216
227
  unlockScroll();
228
+ const record = focusRecord;
229
+ focusRecord = null;
230
+ if (record == null) return;
231
+ const dialog = dialogRef.value;
232
+ const wasStranded = isLayerFocusStranded(record, dialog);
233
+ queueMicrotask(() => returnFocus(record, null, wasStranded));
217
234
  });
218
235
  return (_ctx, _cache) => {
219
236
  return __props.isInline ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [__props.isOpen ? (openBlock(), createElementBlock("div", mergeProps({ key: 0 }, rootAttrs(), {
@@ -1,4 +1,4 @@
1
- import { n as DIALOG_CONTEXT_KEY, t as _sfc_main } from "./Dialog-BtPktuiy.js";
1
+ import { n as DIALOG_CONTEXT_KEY, t as _sfc_main } from "./Dialog-Dkwt3mVt.js";
2
2
  import { defineComponent, h, inject, readonly, ref, shallowRef } from "vue";
3
3
  //#region src/Dialog/useDialogContext.ts
4
4
  /**
@@ -1,7 +1,7 @@
1
- import { t as _sfc_main$1 } from "./IconButton-C91rhbvu.js";
1
+ import { t as _sfc_main$1 } from "./IconButton-Bv2eIsJy.js";
2
2
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
3
3
  import { a as useLayoutArea } from "./context-CjX2RSDn.js";
4
- import { n as DIALOG_CONTEXT_KEY } from "./Dialog-BtPktuiy.js";
4
+ import { n as DIALOG_CONTEXT_KEY } from "./Dialog-Dkwt3mVt.js";
5
5
  import { t as dialogMessages } from "./dialog-CNjGcdd1.js";
6
6
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, getCurrentInstance, inject, mergeProps, normalizeClass, onBeforeUnmount, onMounted, openBlock, renderSlot, toDisplayString, useAttrs, useId, useSlots, withCtx } from "vue";
7
7
  import "../styles/dialog-header.css";
@@ -1,2 +1,2 @@
1
- import { Ai as DrawerPlacement, Di as DrawerHeaderEmits, Ei as DrawerEmits, Mi as DrawerSlots, Oi as DrawerHeaderProps, Ti as _default, ji as DrawerProps, ki as DrawerHeaderSlots, wi as _default$1 } from "../index-COizkrYV.js";
1
+ import { Ai as DrawerHeaderProps, Di as _default, Ei as _default$1, Mi as DrawerPlacement, Ni as DrawerProps, Oi as DrawerEmits, Pi as DrawerSlots, ji as DrawerHeaderSlots, ki as DrawerHeaderEmits } from "../index-CGDmjlec.js";
2
2
  export { _default as Drawer, type DrawerEmits, _default$1 as DrawerHeader, type DrawerHeaderEmits, type DrawerHeaderProps, type DrawerHeaderSlots, type DrawerPlacement, type DrawerProps, type DrawerSlots };
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main, t as _sfc_main$1 } from "../Drawer-Ba-yG1rk.js";
1
+ import { n as _sfc_main, t as _sfc_main$1 } from "../Drawer-DBHSNUAa.js";
2
2
  export { _sfc_main as Drawer, _sfc_main$1 as DrawerHeader };
@@ -1,5 +1,5 @@
1
- import { t as _sfc_main$2 } from "./Dialog-BtPktuiy.js";
2
- import { t as _sfc_main$3 } from "./DialogHeader-cr9rFLYM.js";
1
+ import { t as _sfc_main$2 } from "./Dialog-Dkwt3mVt.js";
2
+ import { t as _sfc_main$3 } from "./DialogHeader-w4TCzYEj.js";
3
3
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, useAttrs, useSlots, withCtx } from "vue";
4
4
  import "../styles/drawer.css";
5
5
  //#region src/Drawer/Drawer.vue
@@ -1,4 +1,4 @@
1
1
  import { a as _sfc_main$1, c as useDropdownMenuRadioGroup, i as _sfc_main$5, r as _sfc_main$6, s as useDropdownMenuContext } from "../useMenuDrillIn-uQtOSny6.js";
2
- import { a as _sfc_main$4, o as _sfc_main$3, s as _sfc_main$2, t as _sfc_main } from "../DropdownMenu-B9eUWp_X.js";
3
- import { t as _sfc_main$7 } from "../DropdownMenu-DJK_xIUd.js";
2
+ import { a as _sfc_main$4, o as _sfc_main$3, s as _sfc_main$2, t as _sfc_main } from "../DropdownMenu-DHvAlqSj.js";
3
+ import { t as _sfc_main$7 } from "../DropdownMenu-Cncx4FbU.js";
4
4
  export { _sfc_main as DropdownMenu, _sfc_main$1 as DropdownMenuCheckboxItem, _sfc_main$2 as DropdownMenuDivider, _sfc_main$3 as DropdownMenuGroup, _sfc_main$4 as DropdownMenuItem, _sfc_main$5 as DropdownMenuRadioGroup, _sfc_main$6 as DropdownMenuRadioItem, _sfc_main$7 as DropdownMenuSubMenu, useDropdownMenuContext, useDropdownMenuRadioGroup };
@@ -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 FileInputValue, Si as FileInputStatus, _i as _default, bi as FileInputProps, vi as FileInputEmits, xi as FileInputSize, yi as FileInputMode } from "../index-COizkrYV.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-CGDmjlec.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 { a as HoverCardAlignment, c as HoverCardHoverIndication, d as HoverCardSlots, f as HoverCardTouchTrigger, i as _default, l as HoverCardPlacement, n as UseHoverCardReturn, o as HoverCardEmits, r as useHoverCard, s as HoverCardFocusTrigger, t as UseHoverCardOptions, u as HoverCardProps } from "../index-Cun6cXGP.js";
1
+ import { a as HoverCardAlignment, c as HoverCardHoverIndication, d as HoverCardSlots, f as HoverCardTouchTrigger, i as _default, l as HoverCardPlacement, n as UseHoverCardReturn, o as HoverCardEmits, r as useHoverCard, s as HoverCardFocusTrigger, t as UseHoverCardOptions, u as HoverCardProps } from "../index-Cb-HJUhK.js";
2
2
  export { _default as HoverCard, type HoverCardAlignment, type HoverCardEmits, type HoverCardFocusTrigger, type HoverCardHoverIndication, type HoverCardPlacement, type HoverCardProps, type HoverCardSlots, type HoverCardTouchTrigger, type UseHoverCardOptions, type UseHoverCardReturn, useHoverCard };
@@ -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 { gi as InfoTipSize, hi as InfoTipProps, mi as _default } from "../index-COizkrYV.js";
1
+ import { _i as InfoTipProps, gi as _default, vi as InfoTipSize } from "../index-CGDmjlec.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,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-BkYcznbj.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-DydQ5Ngj.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-DA3I14xV.js";
1
+ import { a as resolveProviderMessages, i as getLocaleDirection, n as astryxDirectionKey, r as useLocaleDirection, t as _sfc_main } from "../InternationalizationProvider-CyDjQn5Z.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-DAEqYLgh.js";
3
+ import { m as icuPlaceholderNames, n as upstreamMessageMap, p as formatIcu, r as builtInMessages, t as loadAstryxCatalog } from "./loadCatalog-XbgoqaRp.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,2 +1,2 @@
1
- import { _ as LayoutHeight, a as _default, c as LayoutFooterProps, d as LayoutHeaderSlots, f as LayoutPanelProps, g as LayoutArea, h as LayoutSlots, i as _default$1, l as LayoutFooterSlots, m as LayoutProps, n as _default$3, o as LayoutContentProps, p as LayoutPanelSlots, r as _default$2, s as LayoutContentSlots, t as _default$4, u as LayoutHeaderProps } from "../index-D2-umYbX.js";
1
+ import { _ as LayoutHeight, a as _default, c as LayoutFooterProps, d as LayoutHeaderSlots, f as LayoutPanelProps, g as LayoutArea, h as LayoutSlots, i as _default$1, l as LayoutFooterSlots, m as LayoutProps, n as _default$3, o as LayoutContentProps, p as LayoutPanelSlots, r as _default$2, s as LayoutContentSlots, t as _default$4, u as LayoutHeaderProps } from "../index-CcYSAva-.js";
2
2
  export { _default as Layout, type LayoutArea, _default$1 as LayoutContent, type LayoutContentProps, type LayoutContentSlots, _default$2 as LayoutFooter, type LayoutFooterProps, type LayoutFooterSlots, _default$3 as LayoutHeader, type LayoutHeaderProps, type LayoutHeaderSlots, type LayoutHeight, _default$4 as LayoutPanel, type LayoutPanelProps, type LayoutPanelSlots, type LayoutProps, type LayoutSlots };
@@ -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 };