@astryx-vue/core 0.13.0 → 0.13.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 (292) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-igjA8kZr.js → AlertDialog-CsdgJDLK.js} +6 -6
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-DUHcLJWD.js → AppShell-CE5Up5SI.js} +1 -1
  5. package/dist/Avatar/index.js +1 -1
  6. package/dist/{Avatar-KmdgVaAb.js → Avatar-D5CFSkAG.js} +1 -1
  7. package/dist/AvatarGroup/index.d.ts +1 -1
  8. package/dist/AvatarGroup/index.js +1 -1
  9. package/dist/{AvatarGroup-KBzD0jeF.js → AvatarGroup-CKHxYNVh.js} +1 -1
  10. package/dist/Banner/index.d.ts +1 -1
  11. package/dist/Banner/index.js +1 -1
  12. package/dist/{Banner-Bf_nMW3-.js → Banner-B4IEG4Fx.js} +1 -1
  13. package/dist/BottomSheet/index.d.ts +1 -1
  14. package/dist/BottomSheet/index.js +2 -2
  15. package/dist/{BottomSheet-B57XUJV3.js → BottomSheet-D67lQ3Lo.js} +12 -6
  16. package/dist/{BottomSheet-BMqjymuf.js → BottomSheet-UctSPL-g.js} +3 -3
  17. package/dist/Breadcrumbs/index.js +2 -2
  18. package/dist/{Breadcrumbs-aTPAdLdg.js → Breadcrumbs-By21sIml.js} +1 -1
  19. package/dist/Button/index.js +1 -1
  20. package/dist/{Button-sUkQ0Ufo.js → Button-CfbR2oPc.js} +6 -6
  21. package/dist/ButtonGroup/index.d.ts +1 -1
  22. package/dist/ButtonGroup/index.js +1 -1
  23. package/dist/{ButtonGroup-CWra-KDj.js → ButtonGroup-BFl-0uOp.js} +2 -2
  24. package/dist/Calendar/index.d.ts +1 -1
  25. package/dist/Carousel/index.d.ts +1 -1
  26. package/dist/Carousel/index.js +1 -1
  27. package/dist/{Carousel-DmXceU9h.js → Carousel-mL_KdBMw.js} +1 -1
  28. package/dist/Center/index.d.ts +1 -1
  29. package/dist/Chat/index.d.ts +1 -1
  30. package/dist/Chat/index.js +1 -1
  31. package/dist/{Chat-CeibAkxn.js → Chat-C10BQlIl.js} +40 -7
  32. package/dist/CheckboxInput/index.d.ts +1 -1
  33. package/dist/CheckboxInput/index.js +1 -1
  34. package/dist/{CheckboxInput-PvzPV1N1.js → CheckboxInput-BGqRMoEA.js} +2 -2
  35. package/dist/CheckboxList/index.d.ts +1 -1
  36. package/dist/CheckboxList/index.js +1 -1
  37. package/dist/{CheckboxList-DKtNzb0t.js → CheckboxList-DbMhC06M.js} +5 -5
  38. package/dist/ClickableCard/index.d.ts +1 -1
  39. package/dist/ClickableCard/index.js +1 -1
  40. package/dist/{ClickableCard-CvxSKkXh.js → ClickableCard-5k35MGot.js} +2 -2
  41. package/dist/Code/index.js +1 -1
  42. package/dist/{CodeBlock-CTPuBH_r.js → CodeBlock-DAlWY51H.js} +1 -1
  43. package/dist/Collapsible/index.js +1 -1
  44. package/dist/{Collapsible-C_tl5-L0.js → Collapsible-C09C59LH.js} +1 -1
  45. package/dist/CommandPalette/index.js +1 -1
  46. package/dist/{CommandPalette-DIoT_vZh.js → CommandPalette-DYk_FyFB.js} +3 -3
  47. package/dist/ComplexSelector/index.js +1 -1
  48. package/dist/{ComplexSelector-Dmbep7M7.js → ComplexSelector-NDpRucQB.js} +2 -2
  49. package/dist/ContextMenu/index.d.ts +1 -1
  50. package/dist/ContextMenu/index.js +2 -2
  51. package/dist/{ContextMenu-DYnyk5rs.js → ContextMenu-JDU4HDKm.js} +6 -6
  52. package/dist/DateInput/index.d.ts +1 -1
  53. package/dist/DateInput/index.js +1 -1
  54. package/dist/{DateInput-DgPIsWPu.js → DateInput-DVEb1-fM.js} +4 -4
  55. package/dist/DateRangeInput/index.d.ts +1 -1
  56. package/dist/DateRangeInput/index.js +1 -1
  57. package/dist/{DateRangeInput-oOfhUt1Q.js → DateRangeInput-OuAz80nR.js} +3 -3
  58. package/dist/DateTimeInput/index.d.ts +1 -1
  59. package/dist/DateTimeInput/index.js +1 -1
  60. package/dist/{DateTimeInput-DZfghF2h.js → DateTimeInput-J5CFTSSa.js} +5 -5
  61. package/dist/Dialog/index.d.ts +1 -1
  62. package/dist/Dialog/index.js +3 -3
  63. package/dist/{Dialog-Dkwt3mVt.js → Dialog-C0WuGDqP.js} +48 -22
  64. package/dist/{Dialog-qIL4DUot.js → Dialog-Cm8CXGpI.js} +1 -1
  65. package/dist/{DialogHeader-w4TCzYEj.js → DialogHeader-BD2Ezw4F.js} +2 -2
  66. package/dist/Divider/index.d.ts +1 -1
  67. package/dist/Drawer/index.d.ts +1 -1
  68. package/dist/Drawer/index.js +1 -1
  69. package/dist/{Drawer-DBHSNUAa.js → Drawer-CFpcRHt7.js} +2 -2
  70. package/dist/DropdownMenu/index.js +3 -3
  71. package/dist/{DropdownMenu-DHvAlqSj.js → DropdownMenu-2QRvY0aP.js} +10 -10
  72. package/dist/{DropdownMenu-Cncx4FbU.js → DropdownMenu-5Mn01A-5.js} +5 -5
  73. package/dist/EmptyState/index.js +1 -1
  74. package/dist/{EmptyState-uWyPaIR1.js → EmptyState-CqUTEnGg.js} +2 -2
  75. package/dist/Field/index.js +3 -3
  76. package/dist/{Field-CqDOsI3P.js → Field-Cw8J8ld7.js} +1 -1
  77. package/dist/{FieldInfoTip-CUh2koNc.js → FieldInfoTip-D7UNDNje.js} +1 -1
  78. package/dist/{FieldLabel-BMHNRAG3.js → FieldLabel-CJbiefUx.js} +1 -1
  79. package/dist/FileInput/index.d.ts +1 -1
  80. package/dist/FileInput/index.js +1 -1
  81. package/dist/{FileInput-C6dK2pvX.js → FileInput-CgfiwVfs.js} +2 -2
  82. package/dist/Heading/index.js +1 -1
  83. package/dist/{Heading-C0axugQa.js → Heading-BO9n2vLl.js} +1 -1
  84. package/dist/HoverCard/index.d.ts +1 -1
  85. package/dist/HoverCard/index.js +1 -1
  86. package/dist/{HoverCard-C6Gxekg0.js → HoverCard-47J_i9AH.js} +28 -64
  87. package/dist/IconButton/index.js +1 -1
  88. package/dist/{IconButton-Bv2eIsJy.js → IconButton-DiDHiGbo.js} +1 -1
  89. package/dist/InfoTip/index.d.ts +1 -1
  90. package/dist/InfoTip/index.js +1 -1
  91. package/dist/{InfoTip-BKsbmGA6.js → InfoTip-ClRC1Hh9.js} +2 -2
  92. package/dist/{InputClearButton-CSS2Tjat.js → InputClearButton-DL4RM5z1.js} +1 -1
  93. package/dist/InputGroup/index.js +1 -1
  94. package/dist/{InputGroup-DTGh1ylC.js → InputGroup-JMOrdsmu.js} +1 -1
  95. package/dist/{Item-Cfv4ALls.js → Item-CoNXshDg.js} +2 -2
  96. package/dist/{LayerContentBoundary-DwTkbifx.js → LayerContentBoundary-CeebKoPB.js} +1 -1
  97. package/dist/Lightbox/index.js +1 -1
  98. package/dist/{Lightbox-BZ-zBvly.js → Lightbox-kKjxYZ05.js} +3 -3
  99. package/dist/Link/index.d.ts +1 -1
  100. package/dist/Link/index.js +1 -1
  101. package/dist/{Link-Ddu0KjPZ.js → Link-CkbAlJ3-.js} +2 -2
  102. package/dist/List/index.d.ts +1 -1
  103. package/dist/List/index.js +2 -2
  104. package/dist/{ListItem-2evjQQ7n.js → ListItem-D-pqxQpq.js} +1 -1
  105. package/dist/Markdown/index.js +1 -1
  106. package/dist/{Markdown-D7bQGV9u.js → Markdown-DXRFVNJd.js} +3 -3
  107. package/dist/MetadataList/index.d.ts +1 -1
  108. package/dist/MobileNav/index.js +1 -1
  109. package/dist/{MobileNavToggle-Dfshmrdy.js → MobileNavToggle-DUtvvHc7.js} +3 -3
  110. package/dist/MoreMenu/index.d.ts +1 -1
  111. package/dist/MoreMenu/index.js +1 -1
  112. package/dist/{MoreMenu-Bie4B7Jr.js → MoreMenu-CEJ9E2eD.js} +6 -6
  113. package/dist/MultiSelector/index.d.ts +1 -1
  114. package/dist/MultiSelector/index.js +1 -1
  115. package/dist/{MultiSelector-BXIpOmSU.js → MultiSelector-DgWCWpnM.js} +9 -9
  116. package/dist/{NavDisclosure-1otbO71l.js → NavDisclosure-Bf5OFtwv.js} +1 -1
  117. package/dist/{NavHeadingSurface-BkMR3V5m.js → NavHeadingSurface-D5MpO-gO.js} +1 -1
  118. package/dist/NavItem/index.d.ts +1 -1
  119. package/dist/NavItem/index.js +1 -1
  120. package/dist/{NavItem-BZLN0U5a.js → NavItem-hmUfwhiK.js} +1 -1
  121. package/dist/NavMenu/index.js +3 -3
  122. package/dist/{NavMenu-dyGZS1yM.js → NavMenu-BcmUfk7z.js} +2 -2
  123. package/dist/{NavMenuItem-CirgE73a.js → NavMenuItem-C9xk9KZk.js} +2 -2
  124. package/dist/NumberInput/index.d.ts +1 -1
  125. package/dist/NumberInput/index.js +1 -1
  126. package/dist/{NumberInput-0KbcEF3_.js → NumberInput-DNcE_HLD.js} +3 -3
  127. package/dist/Outline/index.js +1 -1
  128. package/dist/{Outline-BXu7HCHp.js → Outline--OQ2pCFL.js} +1 -1
  129. package/dist/OverflowList/index.d.ts +1 -1
  130. package/dist/OverflowList/index.js +1 -1
  131. package/dist/{OverflowList-BdcaX1bz.js → OverflowList-CeQT7MBd.js} +2 -2
  132. package/dist/Overlay/index.d.ts +1 -1
  133. package/dist/Pagination/index.d.ts +1 -1
  134. package/dist/Pagination/index.js +1 -1
  135. package/dist/{Pagination-eeM9SNsG.js → Pagination-DJGQe6wH.js} +1 -1
  136. package/dist/Popover/index.d.ts +1 -1
  137. package/dist/Popover/index.js +1 -1
  138. package/dist/{Popover-BOQo9UPf.js → Popover-C68nCirC.js} +8 -7
  139. package/dist/PowerSearch/index.d.ts +1 -1
  140. package/dist/PowerSearch/index.js +1 -1
  141. package/dist/{PowerSearch-CaqFxaFb.js → PowerSearch-C6lkutch.js} +17 -17
  142. package/dist/ProgressBar/index.js +1 -1
  143. package/dist/{ProgressBar-BS3VSoE9.js → ProgressBar-MaDhabCm.js} +1 -1
  144. package/dist/Radio/index.d.ts +1 -1
  145. package/dist/Radio/index.js +1 -1
  146. package/dist/{RadioGroup-DKaSstyl.js → RadioGroup-CLQLK_V7.js} +3 -3
  147. package/dist/RadioList/index.d.ts +1 -1
  148. package/dist/RadioList/index.js +1 -1
  149. package/dist/{RadioList-DtKm9spP.js → RadioList-DfHTyqIQ.js} +1 -1
  150. package/dist/Resizable/index.d.ts +1 -1
  151. package/dist/ScrollableArea/index.d.ts +1 -1
  152. package/dist/ScrollableArea/index.js +1 -1
  153. package/dist/{ScrollableArea-BgIytCxo.js → ScrollableArea-C2GBp55Z.js} +1 -1
  154. package/dist/SegmentedControl/index.js +1 -1
  155. package/dist/{SegmentedControl-Bs74LlvS.js → SegmentedControl-COVOdCq2.js} +1 -1
  156. package/dist/SelectableCard/index.d.ts +1 -1
  157. package/dist/SelectableCard/index.js +1 -1
  158. package/dist/{SelectableCard-BFCwgtWf.js → SelectableCard-CTRsWXfA.js} +2 -2
  159. package/dist/Selector/index.d.ts +1 -1
  160. package/dist/Selector/index.js +1 -1
  161. package/dist/{Selector-DP012yul.js → Selector-CPCoJ7Sb.js} +6 -5
  162. package/dist/SideNav/index.d.ts +1 -1
  163. package/dist/SideNav/index.js +1 -1
  164. package/dist/{SideNav-L6CWk5fV.js → SideNav-CV8MKVL-.js} +6 -6
  165. package/dist/Slider/index.js +1 -1
  166. package/dist/{Slider-DZS8mGZA.js → Slider-CHJ1CESd.js} +3 -3
  167. package/dist/Stack/index.d.ts +1 -1
  168. package/dist/StatusDot/index.js +1 -1
  169. package/dist/{StatusDot-DaQGq8YN.js → StatusDot-CGaRrl39.js} +1 -1
  170. package/dist/Stepper/index.d.ts +1 -1
  171. package/dist/Stepper/index.js +1 -1
  172. package/dist/{Stepper-DAQRW4n8.js → Stepper-CYZrGpQ9.js} +1 -1
  173. package/dist/Switch/index.d.ts +1 -1
  174. package/dist/Switch/index.js +1 -1
  175. package/dist/{Switch-BN_NnBuc.js → Switch-Bx9ezhrN.js} +2 -2
  176. package/dist/TabList/index.d.ts +1 -1
  177. package/dist/TabList/index.js +1 -1
  178. package/dist/{TabList-Bmj4tGT-.js → TabList-o4t9vWvl.js} +2 -2
  179. package/dist/Table/index.d.ts +1 -1
  180. package/dist/Table/index.js +1 -1
  181. package/dist/{Table-YDS_Hj1L.js → Table-CO2cYE8r.js} +11 -11
  182. package/dist/Text/index.js +1 -1
  183. package/dist/{Text-IijvZmW-.js → Text-C6SB2hHJ.js} +1 -1
  184. package/dist/TextArea/index.d.ts +1 -1
  185. package/dist/TextArea/index.js +1 -1
  186. package/dist/{TextArea-BDR179q1.js → TextArea-DVaDS_1K.js} +5 -5
  187. package/dist/TextInput/index.d.ts +1 -1
  188. package/dist/TextInput/index.js +1 -1
  189. package/dist/{TextInput-kUzxl99M.js → TextInput-Dylfzj33.js} +5 -5
  190. package/dist/Thumbnail/index.js +1 -1
  191. package/dist/{Thumbnail-Disi5yDb.js → Thumbnail-BTQAYnWi.js} +3 -3
  192. package/dist/{TimeField-C0la1AtP.js → TimeField-B3JGgLuf.js} +4 -4
  193. package/dist/TimeInput/index.d.ts +1 -1
  194. package/dist/TimeInput/index.js +1 -1
  195. package/dist/{TimeInput-C_jTijHh.js → TimeInput-Dmy6PxaD.js} +2 -2
  196. package/dist/Timer/index.js +1 -1
  197. package/dist/{Timer-DifGERP8.js → Timer-CN5BmaFS.js} +1 -1
  198. package/dist/Timestamp/index.d.ts +1 -1
  199. package/dist/Timestamp/index.js +1 -1
  200. package/dist/{Timestamp-BjXZGAvO.js → Timestamp-B7UcCEo2.js} +3 -3
  201. package/dist/Toast/index.js +1 -1
  202. package/dist/{Toast-DBo0WRAd.js → Toast-DCipbbCW.js} +3 -3
  203. package/dist/ToggleButton/index.d.ts +1 -1
  204. package/dist/ToggleButton/index.js +1 -1
  205. package/dist/{ToggleButton-B5HNykOh.js → ToggleButton-C78lrcdr.js} +3 -3
  206. package/dist/Token/index.d.ts +1 -1
  207. package/dist/Token/index.js +1 -1
  208. package/dist/{Token-CtG_XE6z.js → Token-uhs8Q9Rr.js} +1 -1
  209. package/dist/Tokenizer/index.d.ts +1 -1
  210. package/dist/Tokenizer/index.js +1 -1
  211. package/dist/{Tokenizer-CY0ymjYr.js → Tokenizer-D7B1ff3O.js} +7 -7
  212. package/dist/Toolbar/index.d.ts +1 -1
  213. package/dist/Tooltip/index.d.ts +1 -1
  214. package/dist/Tooltip/index.js +2 -2
  215. package/dist/{Tooltip-4APVAlN9.js → Tooltip-kQPfj3SE.js} +1 -1
  216. package/dist/TopNav/index.d.ts +1 -1
  217. package/dist/TopNav/index.js +1 -1
  218. package/dist/{TopNav-XSZWAR-7.js → TopNav-AGY785QI.js} +5 -5
  219. package/dist/TreeList/index.d.ts +1 -1
  220. package/dist/TreeList/index.js +1 -1
  221. package/dist/{TreeList-CRMLcaRx.js → TreeList-Dc3A72iY.js} +2 -2
  222. package/dist/Typeahead/index.d.ts +1 -1
  223. package/dist/Typeahead/index.js +2 -2
  224. package/dist/{Typeahead-ByeXwX8E.js → Typeahead-QWYeVsel.js} +6 -6
  225. package/dist/composables/index.d.ts +1 -1
  226. package/dist/composables/index.js +14 -14
  227. package/dist/{composables-WUkSRUCj.js → composables-CyKB3F8u.js} +53 -5
  228. package/dist/{focus-l8jVTcqd.js → focus-x7mxEqjR.js} +1 -1
  229. package/dist/{index-BcJzA5j_.d.ts → index-9YGUb_Ht.d.ts} +4 -4
  230. package/dist/{index-DPklTi3o.d.ts → index-B-3EGjfQ.d.ts} +2 -2
  231. package/dist/{index-BgT6mH3U.d.ts → index-BB9acgK8.d.ts} +1 -1
  232. package/dist/{index-CP-fJFcJ.d.ts → index-BOCb89V9.d.ts} +3 -3
  233. package/dist/{index-Buxb8Onp.d.ts → index-BWaO4-T-.d.ts} +30 -30
  234. package/dist/{index-wTwhcFQx.d.ts → index-Bl_K_cRv.d.ts} +1 -1
  235. package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
  236. package/dist/{index-D1J81rYJ.d.ts → index-BzViSe8D.d.ts} +4 -4
  237. package/dist/{index-KcCNhdAw.d.ts → index-CL8JvxHW.d.ts} +1 -1
  238. package/dist/{index-D1RIIzDd.d.ts → index-CREW8ZiL.d.ts} +5 -5
  239. package/dist/{index-DKuoSloc.d.ts → index-CVs4A2QU.d.ts} +46 -15
  240. package/dist/{index-x0rjeitC.d.ts → index-CfoExOY_.d.ts} +2 -2
  241. package/dist/{index--tm6L1ot.d.ts → index-Cun6cXGP.d.ts} +1 -1
  242. package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
  243. package/dist/{index-DYabo8TI.d.ts → index-DPhQZXYw.d.ts} +1 -1
  244. package/dist/{index-PffxihMx.d.ts → index-DS9SzqqJ.d.ts} +2 -2
  245. package/dist/{index-YfMHAQ_D.d.ts → index-Dc9_kBrU.d.ts} +2 -2
  246. package/dist/{index-CfHBwR3F.d.ts → index-Dep8pgnU.d.ts} +6 -6
  247. package/dist/{index-C5e2rZML.d.ts → index-Dlq0cFK-.d.ts} +1 -1
  248. package/dist/{index-DDrL_-hJ.d.ts → index-FeZXsFO-.d.ts} +1 -1
  249. package/dist/{index-DneQgJfI.d.ts → index-O9y23OPJ.d.ts} +1 -1
  250. package/dist/{index-BKnyTWPM.d.ts → index-ZbNwGVkS.d.ts} +1 -1
  251. package/dist/{index-DMcf0QeR.d.ts → index-bgjrSSaT.d.ts} +2 -2
  252. package/dist/{index-DPH5yoAr.d.ts → index-s0Ezq3U-.d.ts} +2 -2
  253. package/dist/{index-NOXYEdOI.d.ts → index-utZGF4GR.d.ts} +1 -1
  254. package/dist/index.d.ts +26 -26
  255. package/dist/index.js +103 -103
  256. package/dist/interactionModality-BPvyShJT.js +125 -0
  257. package/dist/layerDepth-BU_55vPr.js +294 -0
  258. package/dist/{layerFocusReturn-DMJaFgcY.js → layerFocusReturn-DWGkSHXj.js} +2 -2
  259. package/dist/{modalOutlet-CUOcrhIu.js → modalOutlet-Drr9a16b.js} +25 -1
  260. package/dist/{pressFeedback-Bwwpex9q.js → pressFeedback-Co3ugCsm.js} +3 -190
  261. package/dist/pressGesture-B3z3W3Za.js +78 -0
  262. package/dist/{scrollKeyboardDelegation-D7cumnOl.js → scrollKeyboardDelegation-BSpUCTlO.js} +1 -1
  263. package/dist/{selectorEscape-BppRdqpc.js → selectorEscape-LkWoVYQN.js} +2 -2
  264. package/dist/{stillPointerGate-Bh02Mfnw.js → stillPointerGate-BZ7KMJOB.js} +1 -1
  265. package/dist/tooltipTriggerRules-9zkDe8_b.js +10 -0
  266. package/dist/{useActionGroupTracking-BJMRaXil.js → useActionGroupTracking-CDclbV3Y.js} +2 -2
  267. package/dist/useClickableContainer-Dtjg-nkm.js +141 -0
  268. package/dist/{useDismiss-BWd-sQ18.js → useDismiss-74dLMi5S.js} +58 -5
  269. package/dist/{useFocusTrap-FJt5QhEd.js → useFocusTrap-CyooA0OC.js} +32 -17
  270. package/dist/{useHoverLayerDismiss-uhfzmZyf.js → useHoverLayerDismiss-B1W5qIBx.js} +1 -1
  271. package/dist/{useInputContainer-BpLtCA-U.js → useInputContainer-CLhsKYZ6.js} +1 -1
  272. package/dist/{useInputStatusIcon-C3Q-q_wI.js → useInputStatusIcon-ZqCxDNTj.js} +1 -1
  273. package/dist/{useLayer-BGv_wRSG.js → useLayer-BnjrJ85F.js} +13 -5
  274. package/dist/{useMenuDrillIn-uQtOSny6.js → useMenuDrillIn-BW9dNBje.js} +1 -1
  275. package/dist/{useMenuPress-BLPwY_m1.js → useMenuPress-BWq7kwWm.js} +1 -29
  276. package/dist/{usePressFeedback-Bcjsw9vv.js → usePressFeedback-Cxu4-mCe.js} +1 -1
  277. package/dist/{useResizable-DTDhsLip.js → useResizable-De4Xp3TD.js} +1 -1
  278. package/dist/{useRestoreFocus-D2-pGoOk.js → useRestoreFocus-CSrI8x7v.js} +2 -2
  279. package/dist/{useScrollableArea-BE8b3qm7.js → useScrollableArea-Bwn75HDg.js} +1 -1
  280. package/dist/{useTooltip-md1tr6ef.js → useTooltip-uc-VLZ8I.js} +25 -27
  281. package/dist/{useTouchHitArea-1WtV3u6F.js → useTouchHitArea-B3jx01C3.js} +1 -1
  282. package/dist/useTouchTriggerInternal-b-txblws.js +257 -0
  283. package/dist/{useTruncationTooltip-BGsFITq5.js → useTruncationTooltip-BVMCoNno.js} +4 -4
  284. package/dist/{useTypeahead-BrUwR-kv.js → useTypeahead-BWj3xhbR.js} +1 -1
  285. package/dist/{useTypeaheadAnnouncement-MbuZumTd.js → useTypeaheadAnnouncement-DVkdWTWy.js} +1 -1
  286. package/package.json +1 -1
  287. package/dist/interactionModality-ACpTMhak.js +0 -44
  288. package/dist/layerDepth-BF74Cctw.js +0 -205
  289. package/dist/layerSurfacePress-C3PjPpJP.js +0 -29
  290. package/dist/tooltipTriggerRules-BY3LAtUl.js +0 -53
  291. package/dist/useTouchTrigger-GGd85Obb.js +0 -146
  292. package/dist/{index-BqhgeAT4.d.ts → index-J6YRJ7Ul.d.ts} +1 -1
@@ -1,2 +1,2 @@
1
- import { $i as DateInputStatusType, Gi as DateInputEmits, Ji as DateInputNativePicker, Ki as DateInputFormat, Qi as DateInputStatus, Wi as _default, Xi as DateInputProps, Yi as DateInputPresentation, Zi as DateInputSlots, qi as DateInputFormatName } from "../index-Buxb8Onp.js";
1
+ import { $i as DateInputStatusType, Gi as DateInputEmits, Ji as DateInputNativePicker, Ki as DateInputFormat, Qi as DateInputStatus, Wi as _default, Xi as DateInputProps, Yi as DateInputPresentation, Zi as DateInputSlots, qi as DateInputFormatName } from "../index-BWaO4-T-.js";
2
2
  export { _default as DateInput, type DateInputEmits, type DateInputFormat, type DateInputFormatName, type DateInputNativePicker, type DateInputPresentation, type DateInputProps, type DateInputSlots, type DateInputStatus, type DateInputStatusType };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../DateInput-DgPIsWPu.js";
1
+ import { t as _sfc_main } from "../DateInput-DVEb1-fM.js";
2
2
  export { _sfc_main as DateInput };
@@ -1,8 +1,8 @@
1
- import { n as _sfc_main$4 } from "./BottomSheet-B57XUJV3.js";
1
+ import { n as _sfc_main$4 } from "./BottomSheet-D67lQ3Lo.js";
2
2
  import { t as _sfc_main$5 } from "./Icon-BCHo7W0x.js";
3
3
  import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
4
4
  import { i as useSize } from "./SizeContext-BbaF-SEx.js";
5
- import { a as isImeKeyEvent } from "./layerDepth-BF74Cctw.js";
5
+ import { o as isImeKeyEvent } from "./layerDepth-BU_55vPr.js";
6
6
  import { t as _sfc_main$6 } from "./VisuallyHidden-cpmsV-0M.js";
7
7
  import { t as _sfc_main$7 } from "./ButtonTooltip-CNKOQHYR.js";
8
8
  import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
@@ -17,9 +17,9 @@ import { t as calendarMessages } from "./calendar-Cs2vIPsV.js";
17
17
  import { a as isOutsideCalendarBounds, c as toCalendarDate, i as isCalendarDateDisabled, l as weekStartIndex, n as resolveCalendarKey, o as formatWeekdayDate, r as buildCalendarWeeks, s as sameCalendarDay, t as _sfc_main$9 } from "./Calendar-DwFAzDky.js";
18
18
  import { t as _sfc_main$10 } from "./Spinner-DEVPDsD0.js";
19
19
  import { i as useAriaRequired } from "./context-Cfml4jaK.js";
20
- import { t as _sfc_main$11 } from "./Field-CqDOsI3P.js";
20
+ import { t as _sfc_main$11 } from "./Field-Cw8J8ld7.js";
21
21
  import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
22
- import { t as _sfc_main$12 } from "./Popover-BOQo9UPf.js";
22
+ import { t as _sfc_main$12 } from "./Popover-C68nCirC.js";
23
23
  import { t as dateInputMessages } from "./date-input-CiEBtStM.js";
24
24
  import { t as formatInstant } from "./formatInstant-BDWUIxS7.js";
25
25
  import { t as _sfc_main$13 } from "./PickerWheel-CSwUYfes.js";
@@ -1,2 +1,2 @@
1
- import { Bi as DateRange, Hi as DateRangeInputProps, Ui as DateRangePreset, Vi as DateRangeInputEmits, zi as _default } from "../index-Buxb8Onp.js";
1
+ import { Bi as DateRange, Hi as DateRangeInputProps, Ui as DateRangePreset, Vi as DateRangeInputEmits, zi as _default } from "../index-BWaO4-T-.js";
2
2
  export { type DateRange, _default as DateRangeInput, type DateRangeInputEmits, type DateRangeInputProps, type DateRangePreset };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../DateRangeInput-oOfhUt1Q.js";
1
+ import { t as _sfc_main } from "../DateRangeInput-OuAz80nR.js";
2
2
  export { _sfc_main as DateRangeInput };
@@ -5,7 +5,7 @@ import { t as _sfc_main$4 } from "./ButtonTooltip-CNKOQHYR.js";
5
5
  import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
6
6
  import { a as isRangeWithinSpan, c as resolveWeekStart, i as isDayOutsideSpan, r as formatDateRange, s as orderRange, t as applyRangeClick } from "./useDateRange-CIXoE_8k.js";
7
7
  import { t as _sfc_main$5 } from "./FieldIcon-DMtfe1Ne.js";
8
- import { t as _sfc_main$6 } from "./IconButton-Bv2eIsJy.js";
8
+ import { t as _sfc_main$6 } from "./IconButton-DiDHiGbo.js";
9
9
  import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
10
10
  import { a as todayISODate, n as buildMonthGrid, t as addMonths } from "./useMonthGrid-fGHSSrFc.js";
11
11
  import { t as usePendingChange } from "./usePendingChange-ib-h8FZK.js";
@@ -15,9 +15,9 @@ import { n as standaloneShortWeekdayNames, r as weekdayNames, t as formatCalenda
15
15
  import { t as calendarMessages } from "./calendar-Cs2vIPsV.js";
16
16
  import { t as _sfc_main$7 } from "./Spinner-DEVPDsD0.js";
17
17
  import { i as useAriaRequired } from "./context-Cfml4jaK.js";
18
- import { t as _sfc_main$8 } from "./Field-CqDOsI3P.js";
18
+ import { t as _sfc_main$8 } from "./Field-Cw8J8ld7.js";
19
19
  import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
20
- import { t as _sfc_main$9 } from "./Popover-BOQo9UPf.js";
20
+ import { t as _sfc_main$9 } from "./Popover-C68nCirC.js";
21
21
  import { t as dateInputMessages } from "./date-input-CiEBtStM.js";
22
22
  import { t as dateRangeInputMessages } from "./date-range-input-WnkVv8HN.js";
23
23
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, renderList, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, withCtx } from "vue";
@@ -1,2 +1,2 @@
1
- import { Fi as _default, Ii as DateTimeInputEmits, Li as DateTimeInputProps, Ri as DateTimeInputSize } from "../index-Buxb8Onp.js";
1
+ import { Fi as _default, Ii as DateTimeInputEmits, Li as DateTimeInputProps, Ri as DateTimeInputSize } from "../index-BWaO4-T-.js";
2
2
  export { _default as DateTimeInput, type DateTimeInputEmits, type DateTimeInputProps, type DateTimeInputSize };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../DateTimeInput-DZfghF2h.js";
1
+ import { t as _sfc_main } from "../DateTimeInput-J5CFTSSa.js";
2
2
  export { _sfc_main as DateTimeInput };
@@ -1,21 +1,21 @@
1
- import { n as _sfc_main$2 } from "./BottomSheet-B57XUJV3.js";
1
+ import { n as _sfc_main$2 } from "./BottomSheet-D67lQ3Lo.js";
2
2
  import { t as _sfc_main$3 } from "./Icon-BCHo7W0x.js";
3
3
  import { i as useSize } from "./SizeContext-BbaF-SEx.js";
4
4
  import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
5
5
  import { t as _sfc_main$4 } from "./FieldIcon-DMtfe1Ne.js";
6
- import { t as _sfc_main$5 } from "./IconButton-Bv2eIsJy.js";
6
+ import { t as _sfc_main$5 } from "./IconButton-DiDHiGbo.js";
7
7
  import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
8
8
  import { t as usePendingChange } from "./usePendingChange-ib-h8FZK.js";
9
9
  import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
10
10
  import { a as parseISOTime, n as formatISOTime, t as formatDisplayTime } from "./useTimeValue-BJd0xBhG.js";
11
11
  import { t as _sfc_main$6 } from "./Spinner-DEVPDsD0.js";
12
- import { t as _sfc_main$7 } from "./Field-CqDOsI3P.js";
12
+ import { t as _sfc_main$7 } from "./Field-Cw8J8ld7.js";
13
13
  import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
14
14
  import { t as dateInputMessages } from "./date-input-CiEBtStM.js";
15
15
  import { t as formatInstant } from "./formatInstant-BDWUIxS7.js";
16
- import { n as _sfc_main$8, t as _sfc_main$9 } from "./DateInput-DgPIsWPu.js";
16
+ import { n as _sfc_main$8, t as _sfc_main$9 } from "./DateInput-DVEb1-fM.js";
17
17
  import { n as dateTimeInputMessages } from "./time-input-CKOsh84E.js";
18
- import { n as _sfc_main$10, t as _sfc_main$11 } from "./TimeField-C0la1AtP.js";
18
+ import { n as _sfc_main$10, t as _sfc_main$11 } from "./TimeField-B3JGgLuf.js";
19
19
  import { r as effectivePickerPresentation, s as resolvePickerPresentation } from "./inputPresentation-BOyHkCDr.js";
20
20
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeModels, normalizeClass, normalizeStyle, openBlock, ref, toDisplayString, unref, useAttrs, useId, useModel, watch, withCtx } from "vue";
21
21
  import "../styles/date-time-input.css";
@@ -1,2 +1,2 @@
1
- import { a as _default$1, c as DialogHeaderProps, d as DialogProps, f as DialogPurpose, i as useDialogContext, l as DialogPadding, m as DialogContext, n as ImperativeDialogReturn, o as _default, p as DialogVariant, r as useImperativeDialog, s as DialogBlockPosition, t as ImperativeDialogOptions, u as DialogPosition } from "../index-DDrL_-hJ.js";
1
+ import { a as _default$1, c as DialogHeaderProps, d as DialogProps, f as DialogPurpose, i as useDialogContext, l as DialogPadding, m as DialogContext, n as ImperativeDialogReturn, o as _default, p as DialogVariant, r as useImperativeDialog, s as DialogBlockPosition, t as ImperativeDialogOptions, u as DialogPosition } from "../index-FeZXsFO-.js";
2
2
  export { _default as Dialog, type DialogBlockPosition, type DialogContext, _default$1 as DialogHeader, type DialogHeaderProps, type DialogPadding, type DialogPosition, type DialogProps, type DialogPurpose, type DialogVariant, type ImperativeDialogOptions, type ImperativeDialogReturn, useDialogContext, useImperativeDialog };
@@ -1,4 +1,4 @@
1
- import { t as _sfc_main } from "../Dialog-Dkwt3mVt.js";
2
- import { t as _sfc_main$1 } from "../DialogHeader-w4TCzYEj.js";
3
- import { n as useDialogContext, t as useImperativeDialog } from "../Dialog-qIL4DUot.js";
1
+ import { t as _sfc_main } from "../Dialog-C0WuGDqP.js";
2
+ import { t as _sfc_main$1 } from "../DialogHeader-BD2Ezw4F.js";
3
+ import { n as useDialogContext, t as useImperativeDialog } from "../Dialog-Cm8CXGpI.js";
4
4
  export { _sfc_main as Dialog, _sfc_main$1 as DialogHeader, useDialogContext, useImperativeDialog };
@@ -1,12 +1,48 @@
1
1
  import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
2
2
  import { i as provideLayerMountTarget } from "./useLayerMountTarget-BmZyeKWE.js";
3
- import { t as useFocusTrap } from "./useFocusTrap-FJt5QhEd.js";
3
+ import { r as didOutsideDismissInGesture, s as currentGesture } from "./layerDepth-BU_55vPr.js";
4
+ import { t as useFocusTrap } from "./useFocusTrap-CyooA0OC.js";
4
5
  import { t as useScrollLock } from "./scrollLock-C3aT4-0z.js";
5
- import { n as restoreLayerFocus, r as trackLayerFocus, t as isLayerFocusStranded } from "./layerFocusReturn-DMJaFgcY.js";
6
- import { n as removeModalOutlet, t as addModalOutlet } from "./modalOutlet-CUOcrhIu.js";
6
+ import { n as restoreLayerFocus, r as trackLayerFocus, t as isLayerFocusStranded } from "./layerFocusReturn-DWGkSHXj.js";
7
+ import { t as createModalOutletHandle } from "./modalOutlet-Drr9a16b.js";
7
8
  import { i as provideLayoutContainer } from "./context-CjX2RSDn.js";
8
- import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeProps, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, ref, renderSlot, useAttrs, useId, useTemplateRef, watch } from "vue";
9
+ import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeProps, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, ref, renderSlot, unref, useAttrs, useId, useTemplateRef, watch } from "vue";
9
10
  import "../styles/dialog.css";
11
+ //#region src/layer/useBackdropPress.ts
12
+ /**
13
+ * 模态框「点遮罩关闭」的共用判断。Dialog(含 Drawer、CommandPalette)都走这里。
14
+ *
15
+ * 原生 `<dialog>` 的遮罩没有自己的元素,点在遮罩上的 click 目标就是 dialog 本身。
16
+ * 只看 click 不够,两种情况要排除:
17
+ *
18
+ * - 按下在框里、松手在遮罩上(拖选文字、拖滑块拖出了边)。浏览器把这次 click
19
+ * 发给两者共同的祖先,也就是 dialog,看起来像点了遮罩。只有按下和松手都在
20
+ * 遮罩上才算。
21
+ * - 这一下按压已经把框里打开的弹出框当作「点外面」关掉了。这一下是弹出框的,
22
+ * 模态框留着;再点一次遮罩才关它,和连按两次 Escape 一样。
23
+ */
24
+ function useBackdropPress(getHost, onDismiss) {
25
+ let downOnBackdrop = false;
26
+ let downGesture = null;
27
+ function onPointerDown(event) {
28
+ downOnBackdrop = event.target === getHost();
29
+ downGesture = currentGesture();
30
+ }
31
+ function onClick(event) {
32
+ const startedOnBackdrop = downOnBackdrop;
33
+ const gesture = downGesture;
34
+ downOnBackdrop = false;
35
+ downGesture = null;
36
+ if (event.target !== getHost() || !startedOnBackdrop) return;
37
+ if (gesture != null && didOutsideDismissInGesture(gesture)) return;
38
+ onDismiss();
39
+ }
40
+ return {
41
+ onPointerDown,
42
+ onClick
43
+ };
44
+ }
45
+ //#endregion
10
46
  //#region src/Dialog/context.ts
11
47
  const DIALOG_CONTEXT_KEY = Symbol("astryx-dialog");
12
48
  //#endregion
@@ -148,20 +184,9 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
148
184
  if (props.isInline) return false;
149
185
  return dialogRef.value?.open ?? false;
150
186
  });
151
- let modalOutlet = null;
152
- function attachModalOutlet(dialog) {
153
- if (modalOutlet === dialog) return;
154
- detachModalOutlet();
155
- modalOutlet = dialog;
156
- dialog.addEventListener("close", detachModalOutlet);
157
- addModalOutlet(dialog);
158
- }
159
- function detachModalOutlet() {
160
- if (modalOutlet == null) return;
161
- modalOutlet.removeEventListener("close", detachModalOutlet);
162
- removeModalOutlet(modalOutlet);
163
- modalOutlet = null;
164
- }
187
+ const modalOutlet = createModalOutletHandle();
188
+ const attachModalOutlet = modalOutlet.attach;
189
+ const detachModalOutlet = modalOutlet.detach;
165
190
  function initialFocusTarget() {
166
191
  const dialog = dialogRef.value;
167
192
  if (!dialog) return null;
@@ -212,9 +237,9 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
212
237
  event.preventDefault();
213
238
  if (props.purpose !== "required") emit("openChange", false);
214
239
  }
215
- function onBackdropClick(event) {
216
- if (event.target === event.currentTarget && props.purpose === "info") emit("openChange", false);
217
- }
240
+ const backdropPress = useBackdropPress(() => dialogRef.value, () => {
241
+ if (props.purpose === "info") emit("openChange", false);
242
+ });
218
243
  watch(() => props.isOpen, (open) => {
219
244
  if (open) openDialog();
220
245
  else closeDialog();
@@ -253,7 +278,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
253
278
  "aria-modal": "true",
254
279
  "aria-labelledby": resolvedLabelledBy(),
255
280
  style: rootStyle.value,
256
- onClick: onBackdropClick,
281
+ onPointerdown: _cache[0] || (_cache[0] = (...args) => unref(backdropPress).onPointerDown && unref(backdropPress).onPointerDown(...args)),
282
+ onClick: _cache[1] || (_cache[1] = (...args) => unref(backdropPress).onClick && unref(backdropPress).onClick(...args)),
257
283
  onCancel
258
284
  }), [createElementVNode("div", {
259
285
  class: "astryx-dialog__inner",
@@ -1,4 +1,4 @@
1
- import { n as DIALOG_CONTEXT_KEY, t as _sfc_main } from "./Dialog-Dkwt3mVt.js";
1
+ import { n as DIALOG_CONTEXT_KEY, t as _sfc_main } from "./Dialog-C0WuGDqP.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-Bv2eIsJy.js";
1
+ import { t as _sfc_main$1 } from "./IconButton-DiDHiGbo.js";
2
2
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
3
+ import { n as DIALOG_CONTEXT_KEY } from "./Dialog-C0WuGDqP.js";
3
4
  import { a as useLayoutArea } from "./context-CjX2RSDn.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 { i as DividerVariant, n as DividerOrientation, r as DividerProps, t as _default } from "../index-C8wfe0Mr.js";
1
+ import { i as DividerVariant, n as DividerOrientation, r as DividerProps, t as _default } from "../index-D05JGsT3.js";
2
2
  export { _default as Divider, type DividerOrientation, type DividerProps, type DividerVariant };
@@ -1,2 +1,2 @@
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-Buxb8Onp.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-BWaO4-T-.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-DBHSNUAa.js";
1
+ import { n as _sfc_main, t as _sfc_main$1 } from "../Drawer-CFpcRHt7.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-Dkwt3mVt.js";
2
- import { t as _sfc_main$3 } from "./DialogHeader-w4TCzYEj.js";
1
+ import { t as _sfc_main$2 } from "./Dialog-C0WuGDqP.js";
2
+ import { t as _sfc_main$3 } from "./DialogHeader-BD2Ezw4F.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
- 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-DHvAlqSj.js";
3
- import { t as _sfc_main$7 } from "../DropdownMenu-Cncx4FbU.js";
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-BW9dNBje.js";
2
+ import { a as _sfc_main$4, o as _sfc_main$3, s as _sfc_main$2, t as _sfc_main } from "../DropdownMenu-2QRvY0aP.js";
3
+ import { t as _sfc_main$7 } from "../DropdownMenu-5Mn01A-5.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 };
@@ -2,18 +2,18 @@ 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-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
- import { r as trackInteractionModality, t as getInteractionModality } from "./interactionModality-ACpTMhak.js";
5
+ import { t as _sfc_main$8 } from "./Button-CfbR2oPc.js";
6
+ import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-74dLMi5S.js";
7
+ import { t as _sfc_main$9 } from "./LayerContentBoundary-CeebKoPB.js";
8
+ import { i as trackInteractionModality, t as getInteractionModality } from "./interactionModality-BPvyShJT.js";
9
9
  import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
10
- import { r as getFocusables } from "./focus-l8jVTcqd.js";
11
- import { t as useMenuPress } from "./useMenuPress-BLPwY_m1.js";
10
+ import { r as getFocusables } from "./focus-x7mxEqjR.js";
11
+ import { t as useMenuPress } from "./useMenuPress-BWq7kwWm.js";
12
12
  import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
13
- import { t as useTypeahead } from "./useTypeahead-BrUwR-kv.js";
13
+ import { t as useTypeahead } from "./useTypeahead-BWj3xhbR.js";
14
14
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
15
- import { t as _sfc_main$10 } from "./Item-Cfv4ALls.js";
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";
15
+ import { t as _sfc_main$10 } from "./Item-CoNXshDg.js";
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-BW9dNBje.js";
17
17
  import { n as clampInlineSize, r as isIntrinsicInlineSize, t as LAYER_MAX_INLINE_SIZE } from "./inlineSize-BNe8wggI.js";
18
18
  import { t as _sfc_main$14 } from "./Divider-mOZ6vIQw.js";
19
19
  import { n as isModifiedClick, t as activateMenuItem } from "./menuActivation-BqiaK6ot.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-B57XUJV3.js").then((n) => n.t));
64
+ const MenuBottomSheet = defineAsyncComponent(() => import("./BottomSheet-D67lQ3Lo.js").then((n) => n.t));
65
65
  //#endregion
66
66
  //#region src/DropdownMenu/DropdownMenuDivider.vue
67
67
  const _sfc_main$5 = /*@__PURE__*/ defineComponent({
@@ -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-BWd-sQ18.js";
4
- import { t as _sfc_main$2 } from "./LayerContentBoundary-DwTkbifx.js";
3
+ import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-74dLMi5S.js";
4
+ import { t as _sfc_main$2 } from "./LayerContentBoundary-CeebKoPB.js";
5
5
  import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
6
- import { t as _sfc_main$3 } from "./Item-Cfv4ALls.js";
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-DHvAlqSj.js";
6
+ import { t as _sfc_main$3 } from "./Item-CoNXshDg.js";
7
+ import { n as useDropdownMenuMessages, s as useDropdownMenuContext } from "./useMenuDrillIn-BW9dNBje.js";
8
+ import { a as _sfc_main$5, c as _sfc_main$4, i as activateFocusedMenuItem, n as useMenuRegions, r as useMenuFocus } from "./DropdownMenu-2QRvY0aP.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";
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../EmptyState-uWyPaIR1.js";
1
+ import { t as _sfc_main } from "../EmptyState-CqUTEnGg.js";
2
2
  export { _sfc_main as EmptyState };
@@ -1,5 +1,5 @@
1
- import { t as _sfc_main$1 } from "./Heading-C0axugQa.js";
2
- import { t as _sfc_main$2 } from "./Text-IijvZmW-.js";
1
+ import { t as _sfc_main$1 } from "./Heading-BO9n2vLl.js";
2
+ import { t as _sfc_main$2 } from "./Text-C6SB2hHJ.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-BMHNRAG3.js";
2
- import { t as _sfc_main } from "../Field-CqDOsI3P.js";
3
- import { t as _sfc_main$2 } from "../InputClearButton-CSS2Tjat.js";
1
+ import { t as _sfc_main$1 } from "../FieldLabel-CJbiefUx.js";
2
+ import { t as _sfc_main } from "../Field-Cw8J8ld7.js";
3
+ import { t as _sfc_main$2 } from "../InputClearButton-DL4RM5z1.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-BMHNRAG3.js";
2
+ import { t as _sfc_main$1 } from "./FieldLabel-CJbiefUx.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-Bv2eIsJy.js";
4
+ import { t as _sfc_main$3 } from "./IconButton-DiDHiGbo.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-BKsbmGA6.js";
4
+ import { t as _sfc_main$2 } from "./InfoTip-ClRC1Hh9.js";
5
5
  import { t as fieldMessages } from "./field-CehUqCe0.js";
6
6
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useTemplateRef, withCtx } from "vue";
7
7
  import "../styles/field.css";
@@ -1,2 +1,2 @@
1
- import { Ci as FileInputSize, Si as FileInputProps, Ti as FileInputValue, bi as FileInputEmits, wi as FileInputStatus, xi as FileInputMode, yi as _default } from "../index-Buxb8Onp.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-BWaO4-T-.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-C6dK2pvX.js";
1
+ import { t as _sfc_main } from "../FileInput-CgfiwVfs.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-CqDOsI3P.js";
11
+ import { t as _sfc_main$6 } from "./Field-Cw8J8ld7.js";
12
12
  import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
13
- import { t as _sfc_main$7 } from "./InputClearButton-CSS2Tjat.js";
13
+ import { t as _sfc_main$7 } from "./InputClearButton-DL4RM5z1.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-C0axugQa.js";
1
+ import { t as _sfc_main } from "../Heading-BO9n2vLl.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-BGsFITq5.js";
2
+ import { n as _sfc_main$1, t as useTruncationTooltip } from "./useTruncationTooltip-BVMCoNno.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-Cun6cXGP.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-C6Gxekg0.js";
1
+ import { n as useHoverCard, t as _sfc_main } from "../HoverCard-47J_i9AH.js";
2
2
  export { _sfc_main as HoverCard, useHoverCard };
@@ -1,11 +1,11 @@
1
- import { r as registerLayerSurface } from "./layerSurfacePress-C3PjPpJP.js";
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-BGv_wRSG.js";
4
- import { t as _sfc_main$1 } from "./LayerContentBoundary-DwTkbifx.js";
5
- import { i as isFocusable } from "./focus-l8jVTcqd.js";
3
+ import { t as useLayer } from "./useLayer-BnjrJ85F.js";
4
+ import { t as _sfc_main$1 } from "./LayerContentBoundary-CeebKoPB.js";
5
+ import { i as isFocusable } from "./focus-x7mxEqjR.js";
6
6
  import { t as useMergedRefs } from "./useMergedRefs-DTGo1cEU.js";
7
- import { t as isActionTrigger } from "./useTouchTrigger-GGd85Obb.js";
8
- import { t as useHoverLayerDismiss } from "./useHoverLayerDismiss-uhfzmZyf.js";
7
+ import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-b-txblws.js";
8
+ import { t as useHoverLayerDismiss } from "./useHoverLayerDismiss-B1W5qIBx.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
@@ -137,7 +137,6 @@ function useHoverCardTriggerBinding(options) {
137
137
  //#endregion
138
138
  //#region src/HoverCard/useHoverCard.ts
139
139
  const GAP = 4;
140
- const TOUCH_POINTER_TYPES = /* @__PURE__ */ new Set(["touch", "pen"]);
141
140
  /**
142
141
  * 对应原版 Astryx 的 `hooks/useHoverCard`:悬停触发的浮层卡片。
143
142
  * 负责悬停意图与延迟、指针从触发器移进卡片的宽限、触摸轻点、`aria-describedby` /
@@ -167,19 +166,25 @@ function useHoverCard(options = {}) {
167
166
  function isEnabled() {
168
167
  return toValue(options.isEnabled) ?? true;
169
168
  }
170
- let lastModality = "keyboard";
171
- let isTouchPointer = false;
172
169
  let isHoveringContent = false;
173
170
  let isEscapeDismissing = false;
174
171
  let showTimer;
175
172
  let hideTimer;
176
- function onModalityPointerDown() {
177
- lastModality = "pointer";
178
- }
179
- function onModalityKeyDown(event) {
180
- if (event.metaKey || event.altKey || event.ctrlKey) return;
181
- lastModality = "keyboard";
182
- }
173
+ const hoverDismiss = useHoverLayerDismiss({
174
+ isPresent: () => isOpen.value,
175
+ getContainer: () => layer.contentRef.value,
176
+ onDismiss: dismissFromEscape
177
+ });
178
+ const touch = useTouchTriggerInternal({
179
+ touchTrigger: () => toValue(options.touchTrigger) ?? "auto",
180
+ isEnabled,
181
+ isControlled,
182
+ isOpen,
183
+ layerId: layer.id,
184
+ triggerRef,
185
+ show: showNow,
186
+ hide: hideNow
187
+ }, { isOutsidePressIgnored: () => !hoverDismiss.isTop() });
183
188
  function clearTimers() {
184
189
  clearTimeout(showTimer);
185
190
  clearTimeout(hideTimer);
@@ -213,33 +218,20 @@ function useHoverCard(options = {}) {
213
218
  if (!isHoveringContent) layer.hide();
214
219
  }, toValue(options.hideDelay) ?? 200);
215
220
  }
216
- function onPointerEnter(event) {
217
- isTouchPointer = event.pointerType === "touch";
218
- }
219
221
  function onMouseEnter() {
220
- if (isTouchPointer) return;
222
+ if (touch.isTouchPointer.value) return;
221
223
  scheduleShow();
222
224
  }
223
225
  function onMouseLeave() {
224
- if (isTouchPointer) return;
226
+ if (touch.isTouchPointer.value) return;
225
227
  scheduleHide();
226
228
  }
227
229
  function onPointerDown(event) {
228
- const isTouch = TOUCH_POINTER_TYPES.has(event.pointerType);
229
- isTouchPointer = isTouch;
230
- if (!isTouch || isControlled.value) return;
231
- const trigger = triggerRef.value;
232
- const mode = toValue(options.touchTrigger) ?? "auto";
233
- if ((mode === "auto" ? trigger != null && isActionTrigger(trigger) ? "none" : "tap" : mode) === "none" || !isEnabled()) {
234
- hideNow();
235
- return;
236
- }
237
- if (isOpen.value) hideNow();
238
- else showNow();
230
+ touch.handlePointerDown(event);
239
231
  }
240
232
  function onFocusIn() {
241
233
  if (!isEnabled()) return;
242
- if (isTouchPointer && lastModality === "pointer") return;
234
+ if (touch.isTouchInteraction()) return;
243
235
  if (isEscapeDismissing) {
244
236
  isEscapeDismissing = false;
245
237
  return;
@@ -252,12 +244,12 @@ function useHoverCard(options = {}) {
252
244
  scheduleHide();
253
245
  }
254
246
  function onContentMouseEnter() {
255
- if (isTouchPointer) return;
247
+ if (touch.isTouchPointer.value) return;
256
248
  isHoveringContent = true;
257
249
  clearTimers();
258
250
  }
259
251
  function onContentMouseLeave() {
260
- if (isTouchPointer) return;
252
+ if (touch.isTouchPointer.value) return;
261
253
  isHoveringContent = false;
262
254
  scheduleHide();
263
255
  }
@@ -278,18 +270,6 @@ function useHoverCard(options = {}) {
278
270
  triggerRef.value.focus();
279
271
  }
280
272
  }
281
- const hoverDismiss = useHoverLayerDismiss({
282
- isPresent: () => isOpen.value,
283
- getContainer: () => layer.contentRef.value,
284
- onDismiss: dismissFromEscape
285
- });
286
- function onDocumentPointerDown(event) {
287
- if (!hoverDismiss.isTop()) return;
288
- if (!TOUCH_POINTER_TYPES.has(event.pointerType) || !isOpen.value || isControlled.value) return;
289
- const target = event.target;
290
- if (triggerRef.value?.contains(target) || layer.contentRef.value?.contains(target)) return;
291
- hideNow();
292
- }
293
273
  function shouldListenFocus(element) {
294
274
  const mode = toValue(options.focusTrigger) ?? "auto";
295
275
  return mode === "always" || mode === "auto" && isFocusable(element);
@@ -302,7 +282,7 @@ function useHoverCard(options = {}) {
302
282
  supportsExpanded: supportsAriaExpanded,
303
283
  shouldListenFocus,
304
284
  handlers: {
305
- onPointerEnter,
285
+ onPointerEnter: touch.handlePointerEnter,
306
286
  onMouseEnter,
307
287
  onMouseLeave,
308
288
  onPointerDown,
@@ -317,9 +297,6 @@ function useHoverCard(options = {}) {
317
297
  watch(isOpen, (visible) => {
318
298
  applyTriggerAttributes();
319
299
  if (!visible) isHoveringContent = false;
320
- if (typeof document === "undefined") return;
321
- if (visible) document.addEventListener("pointerdown", onDocumentPointerDown, true);
322
- else document.removeEventListener("pointerdown", onDocumentPointerDown, true);
323
300
  }, { immediate: true });
324
301
  watch(() => toValue(options.isOpen), (open) => {
325
302
  clearTimers();
@@ -330,15 +307,6 @@ function useHoverCard(options = {}) {
330
307
  if (!enabled) hideNow();
331
308
  });
332
309
  onMounted(() => {
333
- if (typeof document === "undefined") return;
334
- document.addEventListener("pointerdown", onModalityPointerDown, {
335
- capture: true,
336
- passive: true
337
- });
338
- document.addEventListener("keydown", onModalityKeyDown, {
339
- capture: true,
340
- passive: true
341
- });
342
310
  if (isControlled.value) {
343
311
  if (toValue(options.isOpen) === true) layer.isOpen.value = true;
344
312
  return;
@@ -348,10 +316,6 @@ function useHoverCard(options = {}) {
348
316
  onScopeDispose(() => {
349
317
  clearTimers();
350
318
  unbind();
351
- if (typeof document === "undefined") return;
352
- document.removeEventListener("pointerdown", onModalityPointerDown, true);
353
- document.removeEventListener("keydown", onModalityKeyDown, true);
354
- document.removeEventListener("pointerdown", onDocumentPointerDown, true);
355
319
  });
356
320
  function show() {
357
321
  showNow();