@astryx-vue/core 0.16.4 → 0.17.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 (257) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-C8W-FjkH.js → AlertDialog-CNb0dkY9.js} +4 -4
  3. package/dist/AppShell/index.d.ts +1 -1
  4. package/dist/Avatar/index.js +1 -1
  5. package/dist/{Avatar-dMLeTLRs.js → Avatar-D85dSNpq.js} +1 -1
  6. package/dist/AvatarGroup/index.d.ts +1 -1
  7. package/dist/Banner/index.d.ts +1 -1
  8. package/dist/Banner/index.js +1 -1
  9. package/dist/{Banner-CJgIpZby.js → Banner-BXITu2pn.js} +1 -1
  10. package/dist/BottomSheet/index.d.ts +1 -1
  11. package/dist/Breadcrumbs/index.js +1 -1
  12. package/dist/{Breadcrumbs-oyT1pLaR.js → Breadcrumbs-DXzBkpkd.js} +1 -1
  13. package/dist/Button/index.d.ts +1 -1
  14. package/dist/Button/index.js +1 -1
  15. package/dist/{Button-OfqvSU1j.js → Button-BZtim0B-.js} +1 -2
  16. package/dist/ButtonGroup/index.d.ts +1 -1
  17. package/dist/Calendar/index.d.ts +1 -1
  18. package/dist/Card/index.d.ts +1 -1
  19. package/dist/Carousel/index.d.ts +1 -1
  20. package/dist/Carousel/index.js +1 -1
  21. package/dist/{Carousel-DN_gn5t4.js → Carousel-BaCXqtKK.js} +1 -1
  22. package/dist/Center/index.d.ts +1 -1
  23. package/dist/Chat/index.d.ts +1 -1
  24. package/dist/Chat/index.js +1 -1
  25. package/dist/{Chat-DzxOPova.js → Chat-Wq7e98zS.js} +3 -3
  26. package/dist/CheckboxInput/index.d.ts +1 -1
  27. package/dist/CheckboxInput/index.js +1 -1
  28. package/dist/{CheckboxInput-CWfobjQ1.js → CheckboxInput-3ONBl1AY.js} +1 -1
  29. package/dist/CheckboxList/index.d.ts +1 -1
  30. package/dist/CheckboxList/index.js +1 -1
  31. package/dist/{CheckboxList-CEFhwHbk.js → CheckboxList-CbRX5YDA.js} +3 -3
  32. package/dist/ClickableCard/index.d.ts +1 -1
  33. package/dist/Code/index.d.ts +1 -1
  34. package/dist/Code/index.js +1 -1
  35. package/dist/{CodeBlock-DFq81dwg.js → CodeBlock-CLVXVlB7.js} +2 -2
  36. package/dist/Collapsible/index.d.ts +1 -1
  37. package/dist/CommandPalette/index.d.ts +1 -1
  38. package/dist/CommandPalette/index.js +1 -1
  39. package/dist/{CommandPalette-urnqxaZR.js → CommandPalette-CECjNvGB.js} +2 -2
  40. package/dist/ComplexSelector/index.d.ts +1 -1
  41. package/dist/ComplexSelector/index.js +1 -1
  42. package/dist/{ComplexSelector-Bb9Tietz.js → ComplexSelector-Dmaag1wm.js} +7 -3
  43. package/dist/ContextMenu/index.d.ts +1 -1
  44. package/dist/DateInput/index.d.ts +1 -1
  45. package/dist/DateInput/index.js +1 -1
  46. package/dist/{DateInput-UGCRWpCu.js → DateInput-BitZfGEY.js} +2 -2
  47. package/dist/DateRangeInput/index.d.ts +1 -1
  48. package/dist/DateRangeInput/index.js +1 -1
  49. package/dist/{DateRangeInput-CbFNAXhb.js → DateRangeInput-kxXBsUTU.js} +3 -3
  50. package/dist/DateTimeInput/index.d.ts +1 -1
  51. package/dist/DateTimeInput/index.js +1 -1
  52. package/dist/{DateTimeInput-DsB9quGn.js → DateTimeInput-Cfkuec_h.js} +4 -4
  53. package/dist/Dialog/index.d.ts +1 -1
  54. package/dist/Dialog/index.js +3 -3
  55. package/dist/{Dialog-CvRMUDsx.js → Dialog-BQ5OBB1d.js} +1 -1
  56. package/dist/{Dialog-BoV6-sZg.js → Dialog-DgdbRn2l.js} +25 -6
  57. package/dist/{DialogHeader-Dz-7FLep.js → DialogHeader-D8234o9F.js} +7 -3
  58. package/dist/Drawer/index.d.ts +1 -1
  59. package/dist/Drawer/index.js +1 -1
  60. package/dist/{Drawer-EuUM3b5t.js → Drawer-Dqus7kUc.js} +2 -2
  61. package/dist/DropdownMenu/index.js +2 -2
  62. package/dist/{DropdownMenu-BvTeXvbu.js → DropdownMenu-BC_zB9le.js} +1 -1
  63. package/dist/{DropdownMenu-DF56Xz8n.js → DropdownMenu-LQsXd-_V.js} +1 -1
  64. package/dist/EmptyState/index.js +1 -1
  65. package/dist/{EmptyState-D2ENfW7V.js → EmptyState-Bw0kWfMi.js} +3 -3
  66. package/dist/Field/index.js +3 -3
  67. package/dist/{Field-BE1CuxSu.js → Field-BXkGR8H0.js} +1 -1
  68. package/dist/{FieldInfoTip-CSXfFcdR.js → FieldInfoTip-DzpUxMDh.js} +1 -1
  69. package/dist/{FieldLabel-CvPYOohI.js → FieldLabel-DI7Yqdhf.js} +1 -1
  70. package/dist/FileInput/index.d.ts +1 -1
  71. package/dist/FileInput/index.js +1 -1
  72. package/dist/{FileInput-dYwavUsk.js → FileInput-BNHjbyQY.js} +2 -2
  73. package/dist/Heading/index.d.ts +1 -1
  74. package/dist/Heading/index.js +1 -1
  75. package/dist/{Heading-CNOg6iq5.js → Heading-Oph-5DDq.js} +1 -1
  76. package/dist/HoverCard/index.d.ts +1 -1
  77. package/dist/HoverCard/index.js +1 -1
  78. package/dist/{HoverCard-DafCEtWH.js → HoverCard-DVPLeccv.js} +22 -10
  79. package/dist/IconButton/index.js +1 -1
  80. package/dist/{IconButton-Cn3iSGRd.js → IconButton-Du2XBBAX.js} +1 -1
  81. package/dist/Indicator/index.d.ts +2 -2
  82. package/dist/InfoTip/index.d.ts +1 -1
  83. package/dist/InfoTip/index.js +1 -1
  84. package/dist/{InfoTip-BnGk9nr_.js → InfoTip-Bjw1ithP.js} +1 -1
  85. package/dist/{InputClearButton-h4GQJMqr.js → InputClearButton-CED-zP2y.js} +1 -1
  86. package/dist/InputGroup/index.js +1 -1
  87. package/dist/{InputGroup-BX4cdWQW.js → InputGroup-D5PoL4cU.js} +1 -1
  88. package/dist/InternationalizationProvider/index.d.ts +1 -1
  89. package/dist/InternationalizationProvider/index.js +1 -1
  90. package/dist/{InternationalizationProvider-7rA65NO7.js → InternationalizationProvider-Dr5GE6f0.js} +1 -1
  91. package/dist/LayerProvider/index.d.ts +1 -1
  92. package/dist/Lightbox/index.js +1 -1
  93. package/dist/{Lightbox-3y6Gzumf.js → Lightbox-RN_f7zRw.js} +3 -2
  94. package/dist/Link/index.d.ts +1 -1
  95. package/dist/Link/index.js +1 -1
  96. package/dist/{Link-wft8544N.js → Link-CQ-Ztuo_.js} +1 -1
  97. package/dist/List/index.d.ts +1 -1
  98. package/dist/Markdown/index.js +1 -1
  99. package/dist/{Markdown-rtBS8dBv.js → Markdown-DnnWjJGX.js} +3 -3
  100. package/dist/MoreMenu/index.d.ts +1 -1
  101. package/dist/MoreMenu/index.js +1 -1
  102. package/dist/{MoreMenu-BfaD8buF.js → MoreMenu-i80Ey9vR.js} +2 -2
  103. package/dist/MultiSelector/index.d.ts +1 -1
  104. package/dist/MultiSelector/index.js +1 -1
  105. package/dist/{MultiSelector-BqsGkkNQ.js → MultiSelector-BK6nZweN.js} +28 -16
  106. package/dist/NavItem/index.d.ts +1 -1
  107. package/dist/NumberInput/index.d.ts +1 -1
  108. package/dist/NumberInput/index.js +1 -1
  109. package/dist/{NumberInput-CKXqM4cC.js → NumberInput-BPeesTRv.js} +3 -3
  110. package/dist/OverflowList/index.d.ts +1 -1
  111. package/dist/Pagination/index.d.ts +1 -1
  112. package/dist/Pagination/index.js +1 -1
  113. package/dist/{Pagination-BYbqhFXF.js → Pagination-DFQNX_Mb.js} +1 -1
  114. package/dist/Popover/index.d.ts +1 -1
  115. package/dist/Popover/index.js +1 -1
  116. package/dist/{Popover-BepO8m2B.js → Popover-CmAEizH-.js} +3 -3
  117. package/dist/PowerSearch/index.d.ts +1 -1
  118. package/dist/PowerSearch/index.js +1 -1
  119. package/dist/{PowerSearch-UclIfhPU.js → PowerSearch-BAOqpQag.js} +16 -16
  120. package/dist/ProgressBar/index.d.ts +1 -1
  121. package/dist/ProgressBar/index.js +1 -1
  122. package/dist/{ProgressBar-CHdyTMyH.js → ProgressBar-DgyPRxV0.js} +1 -1
  123. package/dist/Radio/index.d.ts +1 -1
  124. package/dist/Radio/index.js +1 -1
  125. package/dist/{RadioGroup-BvoO922B.js → RadioGroup-FhoQMqg5.js} +2 -2
  126. package/dist/RadioList/index.d.ts +1 -1
  127. package/dist/RadioList/index.js +1 -1
  128. package/dist/{RadioList-LmcRXW-R.js → RadioList-DK2uXQ5S.js} +1 -1
  129. package/dist/ScrollableArea/index.d.ts +1 -1
  130. package/dist/SelectableCard/index.d.ts +1 -1
  131. package/dist/Selector/index.d.ts +1 -1
  132. package/dist/Selector/index.js +1 -1
  133. package/dist/{Selector-CTzIfy5D.js → Selector-Bo7qkt1P.js} +158 -63
  134. package/dist/SideNav/index.d.ts +1 -1
  135. package/dist/SideNav/index.js +1 -1
  136. package/dist/{SideNav-BFDgU7Ul.js → SideNav-CcZLUd7G.js} +2 -2
  137. package/dist/Slider/index.js +1 -1
  138. package/dist/{Slider-JoQDr9bl.js → Slider-DIgb8ogt.js} +1 -1
  139. package/dist/StatusDot/index.js +1 -1
  140. package/dist/{StatusDot-DdR_DF-k.js → StatusDot-Cxm-uhTD.js} +1 -1
  141. package/dist/Switch/index.d.ts +1 -1
  142. package/dist/Switch/index.js +1 -1
  143. package/dist/{Switch-CijkvpAA.js → Switch-5toeiELX.js} +1 -1
  144. package/dist/TabList/index.d.ts +1 -1
  145. package/dist/Table/index.d.ts +1 -1
  146. package/dist/Table/index.js +1 -1
  147. package/dist/{Table-0D-DE9wZ.js → Table-CRKljXg4.js} +12 -12
  148. package/dist/Text/index.d.ts +1 -1
  149. package/dist/Text/index.js +1 -1
  150. package/dist/{Text-DKlvc1pK.js → Text-CiSw2pOi.js} +1 -1
  151. package/dist/TextArea/index.d.ts +1 -1
  152. package/dist/TextArea/index.js +1 -1
  153. package/dist/{TextArea-B2uVGYED.js → TextArea-B82oXF-m.js} +4 -4
  154. package/dist/TextInput/index.d.ts +1 -1
  155. package/dist/TextInput/index.js +1 -1
  156. package/dist/{TextInput-7_aLlg3G.js → TextInput-_SIiqVOY.js} +4 -4
  157. package/dist/Theme/index.d.ts +3 -3
  158. package/dist/Theme/index.js +1 -1
  159. package/dist/{Theme-8bDq2nud.js → Theme-iqi6AvU_.js} +363 -39
  160. package/dist/Thumbnail/index.js +1 -1
  161. package/dist/{Thumbnail-B1E4wEei.js → Thumbnail-BlueoqOH.js} +2 -2
  162. package/dist/{TimeField-EMXQhof_.js → TimeField-CBWgdA1Y.js} +1 -1
  163. package/dist/TimeInput/index.d.ts +1 -1
  164. package/dist/TimeInput/index.js +1 -1
  165. package/dist/{TimeInput-Cy1ikWWy.js → TimeInput-8ASOMV3B.js} +2 -2
  166. package/dist/Timer/index.js +1 -1
  167. package/dist/{Timer-DOs3NhSX.js → Timer-C8evnsTE.js} +1 -1
  168. package/dist/Timestamp/index.d.ts +1 -1
  169. package/dist/Timestamp/index.js +1 -1
  170. package/dist/{Timestamp-Dw5CyS_N.js → Timestamp-CgvZe6vH.js} +3 -3
  171. package/dist/Toast/index.d.ts +2 -2
  172. package/dist/Toast/index.js +1 -1
  173. package/dist/{Toast-DhWuBX-f.js → Toast-CzbqvHDN.js} +107 -34
  174. package/dist/ToggleButton/index.d.ts +1 -1
  175. package/dist/ToggleButton/index.js +1 -1
  176. package/dist/{ToggleButton-DcLaKPDT.js → ToggleButton-CO0XWWc0.js} +1 -1
  177. package/dist/Token/index.d.ts +1 -1
  178. package/dist/Tokenizer/index.d.ts +1 -1
  179. package/dist/Tokenizer/index.js +1 -1
  180. package/dist/{Tokenizer-DGW3Nurz.js → Tokenizer-CsFiYUJ_.js} +173 -105
  181. package/dist/Toolbar/index.d.ts +1 -1
  182. package/dist/Tooltip/index.js +2 -2
  183. package/dist/{Tooltip-vUyPDqhh.js → Tooltip-DQipgW1R.js} +1 -1
  184. package/dist/TopNav/index.d.ts +1 -1
  185. package/dist/Typeahead/index.d.ts +2 -1
  186. package/dist/Typeahead/index.js +2 -2
  187. package/dist/{Typeahead-BuVI6J9T.js → Typeahead--kEp21ut.js} +160 -72
  188. package/dist/{useKeyboardHighlight-CGCf1O57.js → assertOptions-CK_gJ0d3.js} +12 -1
  189. package/dist/composables/index.d.ts +3 -3
  190. package/dist/composables/index.js +7 -7
  191. package/dist/composables-BKHcPgN0.js +5730 -0
  192. package/dist/{index-BZ_lOqjE.d.ts → index-85RFPeV0.d.ts} +6 -6
  193. package/dist/{index-rzkX36wM.d.ts → index-9tZJgo0R.d.ts} +1 -1
  194. package/dist/{index-s0Ezq3U-.d.ts → index-B0iRA00v.d.ts} +5 -5
  195. package/dist/{index-B00KlO-P.d.ts → index-B95VIgRl.d.ts} +66 -66
  196. package/dist/{index-ZbNwGVkS.d.ts → index-BKnyTWPM.d.ts} +1 -1
  197. package/dist/{index-BTK7aStw.d.ts → index-BaK0mywG.d.ts} +1 -1
  198. package/dist/{index-Bfm6mF-r.d.ts → index-BfoazhEu.d.ts} +1 -1
  199. package/dist/{index-BOCb89V9.d.ts → index-BxWCX2pJ.d.ts} +1 -1
  200. package/dist/{index-CQ1bsxLC.d.ts → index-C1qJlC65.d.ts} +1 -1
  201. package/dist/{index-CL8JvxHW.d.ts → index-C1zwvxPH.d.ts} +2 -2
  202. package/dist/{index-Dc9_kBrU.d.ts → index-CH-xSiJz.d.ts} +10 -3
  203. package/dist/{index-YKCx03zD.d.ts → index-COgrQZIL.d.ts} +2 -2
  204. package/dist/{index-Bgk1Rj2A.d.ts → index-CTjkJP4x.d.ts} +1 -1
  205. package/dist/{index-FeZXsFO-.d.ts → index-CbA8rR_b.d.ts} +2 -2
  206. package/dist/{index-Bzi3A980.d.ts → index-ChqMaV6N.d.ts} +1 -1
  207. package/dist/{index-B0R5CLPF.d.ts → index-CsYDrQ9R.d.ts} +1 -1
  208. package/dist/{index-BhxqUt3y.d.ts → index-CuW4AQ7M.d.ts} +2 -2
  209. package/dist/{index-rnFsCdJ7.d.ts → index-Cy1rEWC-.d.ts} +1 -1
  210. package/dist/{index-BSlzqFzV.d.ts → index-CyMStZq4.d.ts} +5 -5
  211. package/dist/{index-C2cH8OLC.d.ts → index-D31bgBoy.d.ts} +1 -1
  212. package/dist/index-DGXCnzOL.d.ts +69 -0
  213. package/dist/{index-nNUT4Etk.d.ts → index-DK0Wdo9N.d.ts} +5 -5
  214. package/dist/{index--tm6L1ot.d.ts → index-DofC9Rll.d.ts} +2 -2
  215. package/dist/{index-Dy746dfn.d.ts → index-Qdbssopn.d.ts} +1 -1
  216. package/dist/{index-DE1genab.d.ts → index-QnlWyUxN.d.ts} +2 -2
  217. package/dist/{index-B1eCxBCY.d.ts → index-TXcNH86P.d.ts} +1 -1
  218. package/dist/{index-D7XRtUTY.d.ts → index-bk5kfP_c.d.ts} +5 -1
  219. package/dist/{index-C5e2rZML.d.ts → index-dWlCpnua.d.ts} +2 -2
  220. package/dist/{index-DS9SzqqJ.d.ts → index-lmd9LZKB.d.ts} +2 -2
  221. package/dist/{index-CtYlR9Cu.d.ts → index-rdwI-mcm.d.ts} +1 -1
  222. package/dist/{index-BXDqyk2_.d.ts → index-tuNsmJxw.d.ts} +169 -2
  223. package/dist/{index-BEZ4ezJk.d.ts → index-wY6dKz6c.d.ts} +2 -2
  224. package/dist/{index-C89cIh4E.d.ts → index-waTkqxTz.d.ts} +1 -1
  225. package/dist/index.d.ts +40 -39
  226. package/dist/index.js +75 -75
  227. package/dist/{layerFocusReturn-13azEIdn.js → layerFocusReturn-B8Hp14ZG.js} +1 -1
  228. package/dist/{loadCatalog-DFyDz_4e.d.ts → loadCatalog-BJwcyX8i.d.ts} +2 -0
  229. package/dist/{loadCatalog-C3MSknfx.js → loadCatalog-C1kms5sO.js} +5 -1
  230. package/dist/locale/index.d.ts +2 -2
  231. package/dist/locale/index.js +3 -3
  232. package/dist/{locale-OCGw4bi6.js → locale-CHhsd9Mq.js} +1 -1
  233. package/dist/tooltipFocusRules-D4cJ08fk.js +67 -0
  234. package/dist/{useLayer-CzyH9KXY.js → tooltipTriggerRules-PBxqztvn.js} +10 -1
  235. package/dist/{typeahead-RkZw0Ktn.js → typeahead-BgfLP7vR.js} +2 -0
  236. package/dist/{types-BRfVvZTH.d.ts → types-Bc_G8h4i.d.ts} +2 -0
  237. package/dist/{index-BzViSe8D.d.ts → types-C1ydeFiu.d.ts} +43 -65
  238. package/dist/{types-uWxXh1Jm.d.ts → types-fRasDCe4.d.ts} +47 -6
  239. package/dist/{useAsyncSource-Gk0VtE7_.js → useAsyncSource-7GTcK8ep.js} +31 -1
  240. package/dist/{useAsyncSource-aGzrvRkI.d.ts → useAsyncSource-DbG2FSuI.d.ts} +19 -2
  241. package/dist/{useCombobox-D374_pT8.js → useCombobox-DIR9yoEu.js} +150 -3
  242. package/dist/{useInputStatusIcon-CwCNWBnG.js → useInputStatusIcon-ne9V7ZQC.js} +1 -1
  243. package/dist/{useTooltip-frKBHzqr.js → useTooltip-C7gHRGEO.js} +9 -44
  244. package/dist/{useTruncationTooltip-DUkkZgmO.js → useTruncationTooltip-DwUQN7fD.js} +3 -3
  245. package/dist/{useTypeaheadAnnouncement-CSikDlpK.js → useTypeaheadMenuConfig--4f7jR6G.js} +264 -20
  246. package/package.json +1 -1
  247. package/styles/dialog-header.css +19 -4
  248. package/styles/dialog.css +4 -0
  249. package/styles/hover-card.css +6 -0
  250. package/styles/motion.css +10 -0
  251. package/styles/selector.css +10 -0
  252. package/styles/toast.css +19 -0
  253. package/styles/tooltip.css +6 -0
  254. package/dist/composables-CCsHfpCS.js +0 -1256
  255. package/dist/tooltipTriggerRules-9zkDe8_b.js +0 -10
  256. package/dist/useHoverLayerDismiss-CFGjvYi4.js +0 -27
  257. package/dist/{index-J6YRJ7Ul.d.ts → index-D8lv2BiD.d.ts} +1 -1
@@ -3,7 +3,7 @@ import { i as provideLayerMountTarget } from "./useLayerMountTarget-BmZyeKWE.js"
3
3
  import { l as didOutsideDismissInGesture, m as currentGesture } from "./interactionModality-B5dR7nnb.js";
4
4
  import { t as useFocusTrap } from "./useFocusTrap-BUd-fvUH.js";
5
5
  import { t as useScrollLock } from "./scrollLock-CoVg9lLU.js";
6
- import { n as restoreLayerFocus, r as trackLayerFocus, t as isLayerFocusStranded } from "./layerFocusReturn-13azEIdn.js";
6
+ import { n as restoreLayerFocus, r as trackLayerFocus, t as isLayerFocusStranded } from "./layerFocusReturn-B8Hp14ZG.js";
7
7
  import { t as createModalOutletHandle } from "./modalOutlet-Drr9a16b.js";
8
8
  import { i as provideLayoutContainer } from "./context-CjX2RSDn.js";
9
9
  import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeProps, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, ref, renderSlot, unref, useAttrs, useId, useTemplateRef, watch } from "vue";
@@ -46,6 +46,25 @@ function useBackdropPress(getHost, onDismiss) {
46
46
  //#region src/Dialog/context.ts
47
47
  const DIALOG_CONTEXT_KEY = Symbol("astryx-dialog");
48
48
  //#endregion
49
+ //#region src/Dialog/initialFocus.ts
50
+ /**
51
+ * 对话框打开时第一个拿到焦点的元素。
52
+ *
53
+ * 先看明确要求初始焦点的元素(`data-autofocus`),再看标题的默认要求
54
+ * (`data-dialog-default-focus`)。一个要求属于离它最近的那个对话框:嵌套的子对话框
55
+ * 里的要求是子对话框的,哪怕它关着也可能还排着版,焦点落进去就没人看得见了。
56
+ * 藏在 `hidden`、`inert` 里或者被禁用的要求不算数,顺延给下一个。
57
+ */
58
+ function findInitialFocusTarget(dialog) {
59
+ return [...dialog.querySelectorAll("[data-autofocus]"), ...dialog.querySelectorAll("[data-dialog-default-focus]")].find((request) => isEligible(request, dialog)) ?? null;
60
+ }
61
+ function isEligible(request, dialog) {
62
+ if (request.closest("dialog") !== dialog) return false;
63
+ if (request.matches(":disabled")) return false;
64
+ const hidden = request.closest("[hidden], [inert]");
65
+ return hidden == null || !dialog.contains(hidden);
66
+ }
67
+ //#endregion
49
68
  //#region src/Dialog/position.ts
50
69
  function formatPosition(value) {
51
70
  return typeof value === "number" ? `${value}px` : value;
@@ -155,8 +174,9 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
155
174
  }
156
175
  function getDialogDirection(trigger, distance = 16) {
157
176
  const rect = trigger.getBoundingClientRect();
158
- const dx = rect.left + rect.width / 2 - window.innerWidth / 2;
159
- const dy = rect.top + rect.height / 2 - window.innerHeight / 2;
177
+ const view = trigger.ownerDocument.defaultView ?? window;
178
+ const dx = rect.left + rect.width / 2 - view.innerWidth / 2;
179
+ const dy = rect.top + rect.height / 2 - view.innerHeight / 2;
160
180
  const length = Math.sqrt(dx * dx + dy * dy) || 1;
161
181
  return {
162
182
  x: Math.round(dx / length * distance),
@@ -189,8 +209,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
189
209
  const detachModalOutlet = modalOutlet.detach;
190
210
  function initialFocusTarget() {
191
211
  const dialog = dialogRef.value;
192
- if (!dialog) return null;
193
- return dialog.querySelector("[data-autofocus]") ?? dialog.querySelector("[data-dialog-default-focus]") ?? null;
212
+ return dialog ? findInitialFocusTarget(dialog) : null;
194
213
  }
195
214
  useFocusTrap({
196
215
  container: dialogRef,
@@ -209,7 +228,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
209
228
  if (props.isInline) return;
210
229
  const dialog = dialogRef.value;
211
230
  if (!dialog || dialog.open) return;
212
- triggerElement = document.activeElement;
231
+ triggerElement = (dialog.ownerDocument.hasFocus() ? dialog.ownerDocument : document).activeElement;
213
232
  focusRecord?.stop();
214
233
  focusRecord = trackLayerFocus({
215
234
  getLayer: () => dialogRef.value,
@@ -1,6 +1,6 @@
1
- import { t as _sfc_main$1 } from "./IconButton-Cn3iSGRd.js";
1
+ import { t as _sfc_main$1 } from "./IconButton-Du2XBBAX.js";
2
2
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
3
- import { n as DIALOG_CONTEXT_KEY } from "./Dialog-BoV6-sZg.js";
3
+ import { n as DIALOG_CONTEXT_KEY } from "./Dialog-DgdbRn2l.js";
4
4
  import { a as useLayoutArea } from "./context-CjX2RSDn.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";
@@ -62,6 +62,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
62
62
  if (axis == null) return showClose.value;
63
63
  return axis === "inline" || axis === "all";
64
64
  });
65
+ const hasEndActions = computed(() => Boolean(slots.endContent) || showClose.value);
65
66
  onMounted(() => {
66
67
  dialog?.registerTitle(true);
67
68
  });
@@ -73,7 +74,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
73
74
  }
74
75
  return (_ctx, _cache) => {
75
76
  return openBlock(), createElementBlock("div", mergeProps(rootAttrs(), {
76
- class: ["astryx-dialog-header", { "astryx-dialog-header--divider": __props.hasDivider }],
77
+ class: ["astryx-dialog-header", {
78
+ "astryx-dialog-header--divider": __props.hasDivider,
79
+ "astryx-dialog-header--compensate-end-block": hasEndActions.value && compensateBlock.value
80
+ }],
77
81
  "data-layout-header": inLayoutHeader.value || void 0
78
82
  }), [
79
83
  slots.startContent ? (openBlock(), createElementBlock("div", _hoisted_2, [renderSlot(_ctx.$slots, "startContent")])) : createCommentVNode("v-if", true),
@@ -1,2 +1,2 @@
1
- import { Ai as _default$1, Fi as DrawerHeaderSlots, Ii as DrawerPlacement, Li as DrawerProps, Mi as DrawerEmits, Ni as DrawerHeaderEmits, Pi as DrawerHeaderProps, Ri as DrawerSlots, ji as _default } from "../index-B00KlO-P.js";
1
+ import { Ai as _default$1, Fi as DrawerHeaderSlots, Ii as DrawerPlacement, Li as DrawerProps, Mi as DrawerEmits, Ni as DrawerHeaderEmits, Pi as DrawerHeaderProps, Ri as DrawerSlots, ji as _default } from "../index-B95VIgRl.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-EuUM3b5t.js";
1
+ import { n as _sfc_main, t as _sfc_main$1 } from "../Drawer-Dqus7kUc.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-BoV6-sZg.js";
2
- import { t as _sfc_main$3 } from "./DialogHeader-Dz-7FLep.js";
1
+ import { t as _sfc_main$2 } from "./Dialog-DgdbRn2l.js";
2
+ import { t as _sfc_main$3 } from "./DialogHeader-D8234o9F.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-BaNYxWiS.js";
2
- import { a as _sfc_main$4, o as _sfc_main$3, s as _sfc_main$2, t as _sfc_main } from "../DropdownMenu-DF56Xz8n.js";
3
- import { t as _sfc_main$7 } from "../DropdownMenu-BvTeXvbu.js";
2
+ import { a as _sfc_main$4, o as _sfc_main$3, s as _sfc_main$2, t as _sfc_main } from "../DropdownMenu-LQsXd-_V.js";
3
+ import { t as _sfc_main$7 } from "../DropdownMenu-BC_zB9le.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 };
@@ -5,7 +5,7 @@ import { t as _sfc_main$2 } from "./LayerContentBoundary-CpqXMTyU.js";
5
5
  import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
6
6
  import { t as _sfc_main$3 } from "./Item-CNR22qzk.js";
7
7
  import { n as useDropdownMenuMessages, s as useDropdownMenuContext } from "./useMenuDrillIn-BaNYxWiS.js";
8
- import { a as _sfc_main$5, c as _sfc_main$4, i as activateFocusedMenuItem, n as useMenuRegions, r as useMenuFocus } from "./DropdownMenu-DF56Xz8n.js";
8
+ import { a as _sfc_main$5, c as _sfc_main$4, i as activateFocusedMenuItem, n as useMenuRegions, r as useMenuFocus } from "./DropdownMenu-LQsXd-_V.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,7 +2,7 @@ import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
2
2
  import { n as isMenuPressActivation } from "./strayClick-_QKRT5aH.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-OfqvSU1j.js";
5
+ import { t as _sfc_main$8 } from "./Button-BZtim0B-.js";
6
6
  import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-Dfb0Ky7T.js";
7
7
  import { i as trackInteractionModality, t as getInteractionModality } from "./interactionModality-B5dR7nnb.js";
8
8
  import { t as _sfc_main$9 } from "./LayerContentBoundary-CpqXMTyU.js";
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../EmptyState-D2ENfW7V.js";
1
+ import { t as _sfc_main } from "../EmptyState-Bw0kWfMi.js";
2
2
  export { _sfc_main as EmptyState };
@@ -1,7 +1,7 @@
1
1
  import { n as useAnnouncer } from "./announce-GU01Oix2.js";
2
- import { r as renderedText } from "./useTooltip-frKBHzqr.js";
3
- import { t as _sfc_main$1 } from "./Heading-CNOg6iq5.js";
4
- import { t as _sfc_main$2 } from "./Text-DKlvc1pK.js";
2
+ import { r as renderedText } from "./useTooltip-C7gHRGEO.js";
3
+ import { t as _sfc_main$1 } from "./Heading-Oph-5DDq.js";
4
+ import { t as _sfc_main$2 } from "./Text-CiSw2pOi.js";
5
5
  import { Comment, Fragment, Text, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, onMounted, onUpdated, openBlock, renderSlot, toDisplayString, toValue, useSlots, useTemplateRef, withCtx } from "vue";
6
6
  import "../styles/empty-state.css";
7
7
  //#region src/composables/internal/announceRenderedText.ts
@@ -1,4 +1,4 @@
1
- import { t as _sfc_main$1 } from "../FieldLabel-CvPYOohI.js";
2
- import { t as _sfc_main } from "../Field-BE1CuxSu.js";
3
- import { t as _sfc_main$2 } from "../InputClearButton-h4GQJMqr.js";
1
+ import { t as _sfc_main$1 } from "../FieldLabel-DI7Yqdhf.js";
2
+ import { t as _sfc_main } from "../Field-BXkGR8H0.js";
3
+ import { t as _sfc_main$2 } from "../InputClearButton-CED-zP2y.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 { o as useFormLayout } from "./context-DsNhYm5O.js";
2
- import { t as _sfc_main$1 } from "./FieldLabel-CvPYOohI.js";
2
+ import { t as _sfc_main$1 } from "./FieldLabel-DI7Yqdhf.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-Cn3iSGRd.js";
4
+ import { t as _sfc_main$3 } from "./IconButton-Du2XBBAX.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 { n as showsOptionalIndicator, o as useFormLayout, r as showsRequiredIndicator } from "./context-DsNhYm5O.js";
4
- import { t as _sfc_main$2 } from "./InfoTip-BnGk9nr_.js";
4
+ import { t as _sfc_main$2 } from "./InfoTip-Bjw1ithP.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 _default, Di as FileInputSize, Ei as FileInputProps, Oi as FileInputStatus, Ti as FileInputMode, ki as FileInputValue, wi as FileInputEmits } from "../index-B00KlO-P.js";
1
+ import { Ci as _default, Di as FileInputSize, Ei as FileInputProps, Oi as FileInputStatus, Ti as FileInputMode, ki as FileInputValue, wi as FileInputEmits } from "../index-B95VIgRl.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-dYwavUsk.js";
1
+ import { t as _sfc_main } from "../FileInput-BNHjbyQY.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-BE1CuxSu.js";
11
+ import { t as _sfc_main$6 } from "./Field-BXkGR8H0.js";
12
12
  import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
13
- import { t as _sfc_main$7 } from "./InputClearButton-h4GQJMqr.js";
13
+ import { t as _sfc_main$7 } from "./InputClearButton-CED-zP2y.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 { a as HeadingLevel, c as HeadingType, d as HeadingWrap, i as HeadingJustify, l as HeadingWeight, n as HeadingColor, o as HeadingProps, r as HeadingDisplay, s as HeadingTruncateTooltip, t as _default, u as HeadingWordBreak } from "../index-C89cIh4E.js";
1
+ import { a as HeadingLevel, c as HeadingType, d as HeadingWrap, i as HeadingJustify, l as HeadingWeight, n as HeadingColor, o as HeadingProps, r as HeadingDisplay, s as HeadingTruncateTooltip, t as _default, u as HeadingWordBreak } from "../index-waTkqxTz.js";
2
2
  export { _default as Heading, type HeadingColor, type HeadingDisplay, type HeadingJustify, type HeadingLevel, type HeadingProps, type HeadingTruncateTooltip, type HeadingType, type HeadingWeight, type HeadingWordBreak, type HeadingWrap };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Heading-CNOg6iq5.js";
1
+ import { t as _sfc_main } from "../Heading-Oph-5DDq.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-DUkkZgmO.js";
2
+ import { n as _sfc_main$1, t as useTruncationTooltip } from "./useTruncationTooltip-DwUQN7fD.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--tm6L1ot.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-DofC9Rll.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-DafCEtWH.js";
1
+ import { n as useHoverCard, t as _sfc_main } from "../HoverCard-DVPLeccv.js";
2
2
  export { _sfc_main as HoverCard, useHoverCard };
@@ -1,12 +1,11 @@
1
1
  import { s as registerLayerSurface } from "./useClickableContainer-Dtjg-nkm.js";
2
2
  import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-BmZyeKWE.js";
3
- import { t as useLayer } from "./useLayer-CzyH9KXY.js";
3
+ import { n as useLayer } from "./tooltipTriggerRules-PBxqztvn.js";
4
4
  import { t as _sfc_main$1 } from "./LayerContentBoundary-CpqXMTyU.js";
5
- import { i as isFocusable } from "./focus-x7mxEqjR.js";
6
5
  import { t as useMergedRefs } from "./useMergedRefs-DTGo1cEU.js";
7
6
  import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-Bs7obOrb.js";
8
- import { t as useHoverLayerDismiss } from "./useHoverLayerDismiss-CFGjvYi4.js";
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";
7
+ import { r as useHoverLayerDismiss, t as createFocusGate } from "./tooltipFocusRules-D4cJ08fk.js";
8
+ import { Fragment, Teleport, Transition, computed, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, onBeforeUnmount, onMounted, onScopeDispose, onUpdated, openBlock, ref, renderSlot, shallowRef, toDisplayString, toValue, unref, vShow, watch, withCtx, withDirectives } from "vue";
10
9
  import "../styles/hover-card.css";
11
10
  //#region src/HoverCard/hoverCardTrigger.ts
12
11
  /**
@@ -106,7 +105,7 @@ function useHoverCardTriggerBinding(options) {
106
105
  element.addEventListener("mouseenter", options.handlers.onMouseEnter);
107
106
  element.addEventListener("mouseleave", options.handlers.onMouseLeave);
108
107
  element.addEventListener("pointerdown", options.handlers.onPointerDown);
109
- if (options.shouldListenFocus(element)) {
108
+ if (options.shouldListenFocus()) {
110
109
  element.addEventListener("focusin", options.handlers.onFocusIn);
111
110
  element.addEventListener("focusout", options.handlers.onFocusOut);
112
111
  }
@@ -227,10 +226,13 @@ function useHoverCard(options = {}) {
227
226
  scheduleHide();
228
227
  }
229
228
  function onPointerDown(event) {
230
- touch.handlePointerDown(event);
229
+ if (touch.handlePointerDown(event)) clearTimeout(showTimer);
231
230
  }
232
- function onFocusIn() {
231
+ const focusGate = createFocusGate(() => toValue(options.focusTrigger) ?? "auto");
232
+ function onFocusIn(event) {
233
+ if (!focusGate.arrive(triggerRef.value, event.target)) return;
233
234
  if (!isEnabled()) return;
235
+ if (toValue(options.isOpen) === false) return;
234
236
  if (touch.isTouchInteraction()) return;
235
237
  if (isEscapeDismissing) {
236
238
  isEscapeDismissing = false;
@@ -241,6 +243,7 @@ function useHoverCard(options = {}) {
241
243
  function onFocusOut(event) {
242
244
  const related = event.relatedTarget;
243
245
  if (related && layer.contentRef.value?.contains(related)) return;
246
+ if (!focusGate.leave(triggerRef.value, event.target)) return;
244
247
  scheduleHide();
245
248
  }
246
249
  function onContentMouseEnter() {
@@ -270,9 +273,8 @@ function useHoverCard(options = {}) {
270
273
  triggerRef.value.focus();
271
274
  }
272
275
  }
273
- function shouldListenFocus(element) {
274
- const mode = toValue(options.focusTrigger) ?? "auto";
275
- return mode === "always" || mode === "auto" && isFocusable(element);
276
+ function shouldListenFocus() {
277
+ return (toValue(options.focusTrigger) ?? "auto") !== "never";
276
278
  }
277
279
  const { bind, unbind, applyTriggerAttributes } = useHoverCardTriggerBinding({
278
280
  triggerRef,
@@ -426,6 +428,16 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
426
428
  }
427
429
  onMounted(syncTrigger);
428
430
  onUpdated(syncTrigger);
431
+ let childObserver = null;
432
+ onMounted(() => {
433
+ const wrapper = wrapperRef.value;
434
+ if (wrapper == null || typeof MutationObserver === "undefined") return;
435
+ childObserver = new MutationObserver(() => {
436
+ if (wrapper.firstElementChild !== triggerRef.value && wrapper.firstElementChild != null) syncTrigger();
437
+ });
438
+ childObserver.observe(wrapper, { childList: true });
439
+ });
440
+ onBeforeUnmount(() => childObserver?.disconnect());
429
441
  __expose({
430
442
  element,
431
443
  show,
@@ -1,4 +1,4 @@
1
- import { t as _sfc_main } from "../IconButton-Cn3iSGRd.js";
1
+ import { t as _sfc_main } from "../IconButton-Du2XBBAX.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-OfqvSU1j.js";
1
+ import { t as _sfc_main$1 } from "./Button-BZtim0B-.js";
2
2
  import { computed, createBlock, createSlots, 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,3 +1,3 @@
1
- import { B as IndicatorProps, F as IndicatorFamily, H as IndicatorSize, I as IndicatorFamilyMap, L as IndicatorMap, N as CoreIndicatorName, P as IndicatorComponent, R as IndicatorName, U as IndicatorState, V as IndicatorRegistry, z as IndicatorPosition } from "../types-uWxXh1Jm.js";
2
- import { a as _default$1, i as isCoreIndicatorName, n as defaultIndicators, o as isRenderable, r as getIndicator, s as _default, t as useIndicator } from "../index-B0R5CLPF.js";
1
+ import { B as IndicatorMap, G as IndicatorSize, H as IndicatorPosition, I as CoreIndicatorName, K as IndicatorState, L as IndicatorComponent, R as IndicatorFamily, U as IndicatorProps, V as IndicatorName, W as IndicatorRegistry, z as IndicatorFamilyMap } from "../types-fRasDCe4.js";
2
+ import { a as _default$1, i as isCoreIndicatorName, n as defaultIndicators, o as isRenderable, r as getIndicator, s as _default, t as useIndicator } from "../index-CsYDrQ9R.js";
3
3
  export { _default as CheckIndicator, type CoreIndicatorName, type IndicatorComponent, type IndicatorFamily, type IndicatorFamilyMap, type IndicatorMap, type IndicatorName, type IndicatorPosition, type IndicatorProps, type IndicatorRegistry, type IndicatorSize, type IndicatorState, _default$1 as RadioIndicator, defaultIndicators, getIndicator, isCoreIndicatorName, isRenderable, useIndicator };
@@ -1,2 +1,2 @@
1
- import { Si as InfoTipSize, bi as _default, xi as InfoTipProps } from "../index-B00KlO-P.js";
1
+ import { Si as InfoTipSize, bi as _default, xi as InfoTipProps } from "../index-B95VIgRl.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-BnGk9nr_.js";
1
+ import { t as _sfc_main } from "../InfoTip-Bjw1ithP.js";
2
2
  //#region src/InfoTip/index.ts
3
3
  var InfoTip_default = _sfc_main;
4
4
  //#endregion
@@ -1,7 +1,7 @@
1
1
  import { n as useTouchHitArea } from "./useTouchHitArea-BI-CtI7e.js";
2
2
  import { t as _sfc_main$1 } from "./Icon-BCHo7W0x.js";
3
3
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
4
- import { i as _sfc_main$2, t as useTooltip } from "./useTooltip-frKBHzqr.js";
4
+ import { i as _sfc_main$2, t as useTooltip } from "./useTooltip-C7gHRGEO.js";
5
5
  import { t as infoTipMessages } from "./info-tip-BV42YsA4.js";
6
6
  import { Fragment, computed, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, onMounted, onUpdated, openBlock, ref, renderSlot, shallowRef, toDisplayString, unref, useAttrs, useTemplateRef, withCtx } from "vue";
7
7
  import "../styles/info-tip.css";
@@ -1,6 +1,6 @@
1
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-Cn3iSGRd.js";
3
+ import { t as _sfc_main$2 } from "./IconButton-Du2XBBAX.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-BX4cdWQW.js";
2
+ import { n as _sfc_main, t as _sfc_main$1 } from "../InputGroup-D5PoL4cU.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-BE1CuxSu.js";
4
+ import { t as _sfc_main$2 } from "./Field-BXkGR8H0.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-C2cH8OLC.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-D31bgBoy.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-7rA65NO7.js";
1
+ import { a as resolveProviderMessages, i as getLocaleDirection, n as astryxDirectionKey, r as useLocaleDirection, t as _sfc_main } from "../InternationalizationProvider-Dr5GE6f0.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-C3MSknfx.js";
3
+ import { m as icuPlaceholderNames, n as upstreamMessageMap, p as formatIcu, r as builtInMessages, t as loadAstryxCatalog } from "./loadCatalog-C1kms5sO.js";
4
4
  import { computed, defineComponent, inject, provide, renderSlot } from "vue";
5
5
  //#region src/InternationalizationProvider/catalog.ts
6
6
  /**
@@ -1,2 +1,2 @@
1
- import { a as ResolvedLayerInset, c as useLayerConfig, d as LayerProviderProps, f as LayerProviderSlots, i as LayerContextValue, l as useLayerGutter, n as mergeInset, o as layerContextKey, p as LayerToastConfig, r as resolveInset, s as layerNestingKey, t as _default, u as LayerInset } from "../index-BTK7aStw.js";
1
+ import { a as ResolvedLayerInset, c as useLayerConfig, d as LayerProviderProps, f as LayerProviderSlots, i as LayerContextValue, l as useLayerGutter, n as mergeInset, o as layerContextKey, p as LayerToastConfig, r as resolveInset, s as layerNestingKey, t as _default, u as LayerInset } from "../index-BaK0mywG.js";
2
2
  export { type LayerContextValue, type LayerInset, _default as LayerProvider, type LayerProviderProps, type LayerProviderSlots, type LayerToastConfig, type ResolvedLayerInset, layerContextKey, layerNestingKey, mergeInset, resolveInset, useLayerConfig, useLayerGutter };
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main, t as useLightbox } from "../Lightbox-3y6Gzumf.js";
1
+ import { n as _sfc_main, t as useLightbox } from "../Lightbox-RN_f7zRw.js";
2
2
  export { _sfc_main as Lightbox, useLightbox };
@@ -1,10 +1,10 @@
1
1
  import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
2
2
  import { t as _sfc_main$2 } from "./Icon-BCHo7W0x.js";
3
3
  import { t as useFocusTrap } from "./useFocusTrap-BUd-fvUH.js";
4
- import { t as _sfc_main$3 } from "./IconButton-Cn3iSGRd.js";
4
+ import { t as _sfc_main$3 } from "./IconButton-Du2XBBAX.js";
5
5
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
6
6
  import { t as useScrollLock } from "./scrollLock-CoVg9lLU.js";
7
- import { n as restoreLayerFocus, r as trackLayerFocus, t as isLayerFocusStranded } from "./layerFocusReturn-13azEIdn.js";
7
+ import { n as restoreLayerFocus, r as trackLayerFocus, t as isLayerFocusStranded } from "./layerFocusReturn-B8Hp14ZG.js";
8
8
  import { n as useTruncation } from "./useTruncation-C4pdlaXa.js";
9
9
  import { t as lightboxMessages } from "./lightbox-BbwxSHdB.js";
10
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";
@@ -222,6 +222,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
222
222
  applyZoom(zoom.value === 1 ? 2 : 1);
223
223
  }
224
224
  function onCancel(event) {
225
+ if (event.target !== event.currentTarget) return;
225
226
  event.preventDefault();
226
227
  close();
227
228
  }
@@ -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 { yi as _default } from "../index-B00KlO-P.js";
2
+ import { yi as _default } from "../index-B95VIgRl.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-wft8544N.js";
1
+ import { t as _sfc_main } from "../Link-CQ-Ztuo_.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-vUyPDqhh.js";
8
+ import { t as _sfc_main$3 } from "./Tooltip-DQipgW1R.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";
@@ -1,3 +1,3 @@
1
1
  import { _ as ListItemProps, a as ItemLayout, b as ListProps, c as ItemSwipeAction, d as ItemSwipeSide, f as ItemTarget, g as ListEdgeCompensation, h as ListEdge, i as ItemLabel, l as ItemSwipeActions, m as ListDensity, n as ItemDensity, o as ItemProps, p as ItemText, r as ItemElement, s as ItemSlots, t as ItemAlign, u as ItemSwipeBehavior, v as ListItemSlots, x as ListSlots, y as ListMarkerStyle } from "../types-Dxs5rf-2.js";
2
- import { a as useListContext, i as useItemDescriptionId, n as _default$1, r as _default, t as _default$2 } from "../index-rzkX36wM.js";
2
+ import { a as useListContext, i as useItemDescriptionId, n as _default$1, r as _default, t as _default$2 } from "../index-9tZJgo0R.js";
3
3
  export { _default as Item, type ItemAlign, type ItemDensity, type ItemElement, type ItemLabel, type ItemLayout, type ItemProps, type ItemSlots, type ItemSwipeAction, type ItemSwipeActions, type ItemSwipeBehavior, type ItemSwipeSide, type ItemTarget, type ItemText, _default$1 as List, type ListDensity, type ListEdge, type ListEdgeCompensation, _default$2 as ListItem, type ListItemProps, type ListItemSlots, type ListMarkerStyle, type ListProps, type ListSlots, useItemDescriptionId, useListContext };
@@ -1,4 +1,4 @@
1
1
  import { a as parseMarkdownAst, c as decodeMarkdownCharacterReferences, d as parseMarkdown, g as isMarkdownExtensionNode, n as parseInline, o as parseMarkdownIncremental, r as parseInlineAst, t as createIncrementalState } from "../publicParser-C8RBKNLA.js";
2
- import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, r as applyMarkdownPlugins, t as _sfc_main } from "../Markdown-rtBS8dBv.js";
2
+ import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, r as applyMarkdownPlugins, t as _sfc_main } from "../Markdown-DnnWjJGX.js";
3
3
  import { n as uniqueSlug, t as slugify } from "../slug-D6ln5PTq.js";
4
4
  export { _sfc_main as Markdown, applyInlinePlugins, applyMarkdownPlugins, createIncrementalState, decodeMarkdownCharacterReferences, defineMarkdownPlugin, isMarkdownExtensionNode, parseInline, parseInlineAst, parseMarkdown, parseMarkdownAst, parseMarkdownIncremental, slugify, uniqueSlug, visitMarkdownNodes };
@@ -1,13 +1,13 @@
1
1
  import { t as _sfc_main$1 } from "./VisuallyHidden-cpmsV-0M.js";
2
2
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
3
- import { t as _sfc_main$2 } from "./Heading-CNOg6iq5.js";
3
+ import { t as _sfc_main$2 } from "./Heading-Oph-5DDq.js";
4
4
  import { t as _sfc_main$3 } from "./Blockquote-DRoKdcxZ.js";
5
5
  import { t as _sfc_main$4 } from "./CheckboxIndicator-fH4d-JE1.js";
6
6
  import { t as useIndicator } from "./useIndicator--9mGGlT2.js";
7
7
  import { t as citationMessages } from "./citation-h6fyz-JH.js";
8
- import { f as _sfc_main$5, s as parseFenceLanguage, t as _sfc_main$6 } from "./CodeBlock-DFq81dwg.js";
8
+ import { f as _sfc_main$5, s as parseFenceLanguage, t as _sfc_main$6 } from "./CodeBlock-CLVXVlB7.js";
9
9
  import { t as markdownMessages } from "./markdown-JcCeKquw.js";
10
- import { t as _sfc_main$7 } from "./Link-wft8544N.js";
10
+ import { t as _sfc_main$7 } from "./Link-CQ-Ztuo_.js";
11
11
  import { _ as plainText, d as parseMarkdown, f as parseMarkdownIncremental, h as sanitizeMarkdownLinkUrl, l as applyProtocolTransforms, m as sanitizeMarkdownImageUrl, p as linkOpensInNewTab, s as applyMarkdownSyntax, u as createIncrementalMarkdownState } from "./publicParser-C8RBKNLA.js";
12
12
  import { l as isMarkdownPluginEntry, t as collectProtocolRenderers, u as isMarkdownSourceLinesPlugin } from "./protocol-DHxY0NI8.js";
13
13
  import { n as uniqueSlug, t as slugify } from "./slug-D6ln5PTq.js";
@@ -1,2 +1,2 @@
1
- import { _i as MoreMenuSection, ci as MoreMenuEmits, di as MoreMenuItem, fi as MoreMenuItemVariant, gi as MoreMenuResolvedPresentation, hi as MoreMenuProps, li as MoreMenuIcon, mi as MoreMenuPresentation, oi as _default, pi as MoreMenuOption, si as MoreMenuDivider, ui as MoreMenuInitialFocus, vi as MoreMenuSlots } from "../index-B00KlO-P.js";
1
+ import { _i as MoreMenuSection, ci as MoreMenuEmits, di as MoreMenuItem, fi as MoreMenuItemVariant, gi as MoreMenuResolvedPresentation, hi as MoreMenuProps, li as MoreMenuIcon, mi as MoreMenuPresentation, oi as _default, pi as MoreMenuOption, si as MoreMenuDivider, ui as MoreMenuInitialFocus, vi as MoreMenuSlots } from "../index-B95VIgRl.js";
2
2
  export { _default as MoreMenu, type MoreMenuDivider, type MoreMenuEmits, type MoreMenuIcon, type MoreMenuInitialFocus, type MoreMenuItem, type MoreMenuItemVariant, type MoreMenuOption, type MoreMenuPresentation, type MoreMenuProps, type MoreMenuResolvedPresentation, type MoreMenuSection, type MoreMenuSlots };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../MoreMenu-BfaD8buF.js";
1
+ import { t as _sfc_main } from "../MoreMenu-i80Ey9vR.js";
2
2
  export { _sfc_main as MoreMenu };
@@ -5,10 +5,10 @@ import { n as useLayerTeleportTarget } from "./useLayerMountTarget-BmZyeKWE.js";
5
5
  import { n as usePositionedLayer } from "./useDismiss-Dfb0Ky7T.js";
6
6
  import { t as _sfc_main$6 } from "./LayerContentBoundary-CpqXMTyU.js";
7
7
  import { n as focusElement, r as getFocusables } from "./focus-x7mxEqjR.js";
8
- import { t as _sfc_main$7 } from "./IconButton-Cn3iSGRd.js";
8
+ import { t as _sfc_main$7 } from "./IconButton-Du2XBBAX.js";
9
9
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
10
10
  import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
11
- import { t as _sfc_main$8 } from "./Heading-CNOg6iq5.js";
11
+ import { t as _sfc_main$8 } from "./Heading-Oph-5DDq.js";
12
12
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
13
13
  import { t as _sfc_main$9 } from "./Divider-mOZ6vIQw.js";
14
14
  import { n as isModifiedClick, t as activateMenuItem } from "./menuActivation-BqiaK6ot.js";
@@ -1,2 +1,2 @@
1
- import { _ as MultiSelectorSlots, a as MultiSelectorCreateChange, b as MultiSelectorTriggerDisplay, c as MultiSelectorHandle, d as MultiSelectorOptionData, f as MultiSelectorPresentation, g as MultiSelectorSize, h as MultiSelectorSelectedItem, i as MultiSelectorCheckboxPosition, l as MultiSelectorHandleRef, m as MultiSelectorSection, n as flattenOptions, o as MultiSelectorDivider, p as MultiSelectorProps, r as _default, s as MultiSelectorEmits, t as SELECT_ALL_VALUE, u as MultiSelectorOption, v as MultiSelectorStatus, x as MultiSelectorVariant, y as MultiSelectorStatusVariant } from "../index-BZ_lOqjE.js";
1
+ import { _ as MultiSelectorSlots, a as MultiSelectorCreateChange, b as MultiSelectorTriggerDisplay, c as MultiSelectorHandle, d as MultiSelectorOptionData, f as MultiSelectorPresentation, g as MultiSelectorSize, h as MultiSelectorSelectedItem, i as MultiSelectorCheckboxPosition, l as MultiSelectorHandleRef, m as MultiSelectorSection, n as flattenOptions, o as MultiSelectorDivider, p as MultiSelectorProps, r as _default, s as MultiSelectorEmits, t as SELECT_ALL_VALUE, u as MultiSelectorOption, v as MultiSelectorStatus, x as MultiSelectorVariant, y as MultiSelectorStatusVariant } from "../index-85RFPeV0.js";
2
2
  export { _default as MultiSelector, type MultiSelectorCheckboxPosition, type MultiSelectorCreateChange, type MultiSelectorDivider, type MultiSelectorEmits, type MultiSelectorHandle, type MultiSelectorHandleRef, type MultiSelectorOption, type MultiSelectorOptionData, type MultiSelectorPresentation, type MultiSelectorProps, type MultiSelectorSection, type MultiSelectorSelectedItem, type MultiSelectorSize, type MultiSelectorSlots, type MultiSelectorStatus, type MultiSelectorStatusVariant, type MultiSelectorTriggerDisplay, type MultiSelectorVariant, SELECT_ALL_VALUE, flattenOptions };
@@ -1,2 +1,2 @@
1
- import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main } from "../MultiSelector-BqsGkkNQ.js";
1
+ import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main } from "../MultiSelector-BK6nZweN.js";
2
2
  export { _sfc_main as MultiSelector, SELECT_ALL_VALUE, flattenOptions };