@astryx-vue/core 0.12.1 → 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 (317) 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.d.ts +1 -1
  4. package/dist/AppShell/index.js +1 -1
  5. package/dist/{AppShell-DUHcLJWD.js → AppShell-CE5Up5SI.js} +1 -1
  6. package/dist/Avatar/index.js +1 -1
  7. package/dist/{Avatar-KmdgVaAb.js → Avatar-D5CFSkAG.js} +1 -1
  8. package/dist/AvatarGroup/index.d.ts +1 -1
  9. package/dist/AvatarGroup/index.js +1 -1
  10. package/dist/{AvatarGroup-KBzD0jeF.js → AvatarGroup-CKHxYNVh.js} +1 -1
  11. package/dist/Banner/index.d.ts +1 -1
  12. package/dist/Banner/index.js +1 -1
  13. package/dist/{Banner-Bf_nMW3-.js → Banner-B4IEG4Fx.js} +1 -1
  14. package/dist/BottomSheet/index.d.ts +1 -1
  15. package/dist/BottomSheet/index.js +2 -2
  16. package/dist/{BottomSheet-B57XUJV3.js → BottomSheet-D67lQ3Lo.js} +12 -6
  17. package/dist/{BottomSheet-BMqjymuf.js → BottomSheet-UctSPL-g.js} +3 -3
  18. package/dist/Breadcrumbs/index.js +2 -2
  19. package/dist/{Breadcrumbs-aTPAdLdg.js → Breadcrumbs-By21sIml.js} +1 -1
  20. package/dist/Button/index.d.ts +1 -1
  21. package/dist/Button/index.js +1 -1
  22. package/dist/{Button-sUkQ0Ufo.js → Button-CfbR2oPc.js} +6 -6
  23. package/dist/ButtonGroup/index.d.ts +1 -1
  24. package/dist/ButtonGroup/index.js +1 -1
  25. package/dist/{ButtonGroup-CWra-KDj.js → ButtonGroup-BFl-0uOp.js} +2 -2
  26. package/dist/Calendar/index.d.ts +1 -1
  27. package/dist/Card/index.d.ts +1 -1
  28. package/dist/Carousel/index.d.ts +1 -1
  29. package/dist/Carousel/index.js +1 -1
  30. package/dist/{Carousel-DmXceU9h.js → Carousel-mL_KdBMw.js} +1 -1
  31. package/dist/Center/index.d.ts +1 -1
  32. package/dist/Chat/index.d.ts +1 -1
  33. package/dist/Chat/index.js +1 -1
  34. package/dist/{Chat-CeibAkxn.js → Chat-C10BQlIl.js} +40 -7
  35. package/dist/CheckboxInput/index.d.ts +1 -1
  36. package/dist/CheckboxInput/index.js +1 -1
  37. package/dist/{CheckboxInput-PvzPV1N1.js → CheckboxInput-BGqRMoEA.js} +2 -2
  38. package/dist/CheckboxList/index.d.ts +1 -1
  39. package/dist/CheckboxList/index.js +1 -1
  40. package/dist/{CheckboxList-DKtNzb0t.js → CheckboxList-DbMhC06M.js} +5 -5
  41. package/dist/ClickableCard/index.d.ts +1 -1
  42. package/dist/ClickableCard/index.js +1 -1
  43. package/dist/{ClickableCard-CvxSKkXh.js → ClickableCard-5k35MGot.js} +2 -2
  44. package/dist/Code/index.d.ts +1 -1
  45. package/dist/Code/index.js +1 -1
  46. package/dist/{CodeBlock-CTPuBH_r.js → CodeBlock-DAlWY51H.js} +1 -1
  47. package/dist/Collapsible/index.d.ts +1 -1
  48. package/dist/Collapsible/index.js +1 -1
  49. package/dist/{Collapsible-C_tl5-L0.js → Collapsible-C09C59LH.js} +1 -1
  50. package/dist/CommandPalette/index.js +1 -1
  51. package/dist/{CommandPalette-DIoT_vZh.js → CommandPalette-DYk_FyFB.js} +3 -3
  52. package/dist/ComplexSelector/index.d.ts +1 -1
  53. package/dist/ComplexSelector/index.js +1 -1
  54. package/dist/{ComplexSelector-B_5mzJjR.js → ComplexSelector-NDpRucQB.js} +165 -49
  55. package/dist/ContextMenu/index.d.ts +1 -1
  56. package/dist/ContextMenu/index.js +2 -2
  57. package/dist/{ContextMenu-DYnyk5rs.js → ContextMenu-JDU4HDKm.js} +6 -6
  58. package/dist/DateInput/index.d.ts +1 -1
  59. package/dist/DateInput/index.js +1 -1
  60. package/dist/{DateInput-DgPIsWPu.js → DateInput-DVEb1-fM.js} +4 -4
  61. package/dist/DateRangeInput/index.d.ts +1 -1
  62. package/dist/DateRangeInput/index.js +1 -1
  63. package/dist/{DateRangeInput-oOfhUt1Q.js → DateRangeInput-OuAz80nR.js} +3 -3
  64. package/dist/DateTimeInput/index.d.ts +1 -1
  65. package/dist/DateTimeInput/index.js +1 -1
  66. package/dist/{DateTimeInput-DZfghF2h.js → DateTimeInput-J5CFTSSa.js} +5 -5
  67. package/dist/Dialog/index.d.ts +1 -1
  68. package/dist/Dialog/index.js +3 -3
  69. package/dist/{Dialog-Dkwt3mVt.js → Dialog-C0WuGDqP.js} +48 -22
  70. package/dist/{Dialog-qIL4DUot.js → Dialog-Cm8CXGpI.js} +1 -1
  71. package/dist/{DialogHeader-w4TCzYEj.js → DialogHeader-BD2Ezw4F.js} +2 -2
  72. package/dist/Drawer/index.d.ts +1 -1
  73. package/dist/Drawer/index.js +1 -1
  74. package/dist/{Drawer-DBHSNUAa.js → Drawer-CFpcRHt7.js} +2 -2
  75. package/dist/DropdownMenu/index.js +3 -3
  76. package/dist/{DropdownMenu-DHvAlqSj.js → DropdownMenu-2QRvY0aP.js} +10 -10
  77. package/dist/{DropdownMenu-Cncx4FbU.js → DropdownMenu-5Mn01A-5.js} +5 -5
  78. package/dist/EmptyState/index.js +1 -1
  79. package/dist/{EmptyState-uWyPaIR1.js → EmptyState-CqUTEnGg.js} +2 -2
  80. package/dist/Field/index.js +3 -3
  81. package/dist/{Field-CqDOsI3P.js → Field-Cw8J8ld7.js} +1 -1
  82. package/dist/{FieldInfoTip-CUh2koNc.js → FieldInfoTip-D7UNDNje.js} +1 -1
  83. package/dist/{FieldLabel-BMHNRAG3.js → FieldLabel-CJbiefUx.js} +1 -1
  84. package/dist/FileInput/index.d.ts +1 -1
  85. package/dist/FileInput/index.js +1 -1
  86. package/dist/{FileInput-C6dK2pvX.js → FileInput-CgfiwVfs.js} +2 -2
  87. package/dist/Heading/index.js +1 -1
  88. package/dist/{Heading-C0axugQa.js → Heading-BO9n2vLl.js} +1 -1
  89. package/dist/HoverCard/index.d.ts +1 -1
  90. package/dist/HoverCard/index.js +1 -1
  91. package/dist/{HoverCard-C6Gxekg0.js → HoverCard-47J_i9AH.js} +28 -64
  92. package/dist/IconButton/index.js +1 -1
  93. package/dist/{IconButton-Bv2eIsJy.js → IconButton-DiDHiGbo.js} +1 -1
  94. package/dist/InfoTip/index.d.ts +1 -1
  95. package/dist/InfoTip/index.js +1 -1
  96. package/dist/{InfoTip-BKsbmGA6.js → InfoTip-ClRC1Hh9.js} +2 -2
  97. package/dist/{InputClearButton-CSS2Tjat.js → InputClearButton-DL4RM5z1.js} +1 -1
  98. package/dist/InputGroup/index.js +1 -1
  99. package/dist/{InputGroup-DTGh1ylC.js → InputGroup-JMOrdsmu.js} +1 -1
  100. package/dist/InternationalizationProvider/index.d.ts +1 -1
  101. package/dist/InternationalizationProvider/index.js +1 -1
  102. package/dist/{InternationalizationProvider-CyDjQn5Z.js → InternationalizationProvider-BYU2MRtX.js} +1 -1
  103. package/dist/{Item-Cfv4ALls.js → Item-CoNXshDg.js} +2 -2
  104. package/dist/{LayerContentBoundary-DwTkbifx.js → LayerContentBoundary-CeebKoPB.js} +1 -1
  105. package/dist/Lightbox/index.js +1 -1
  106. package/dist/{Lightbox-BZ-zBvly.js → Lightbox-kKjxYZ05.js} +3 -3
  107. package/dist/Link/index.d.ts +1 -1
  108. package/dist/Link/index.js +1 -1
  109. package/dist/{Link-Ddu0KjPZ.js → Link-CkbAlJ3-.js} +2 -2
  110. package/dist/List/index.d.ts +1 -1
  111. package/dist/List/index.js +2 -2
  112. package/dist/{ListItem-2evjQQ7n.js → ListItem-D-pqxQpq.js} +1 -1
  113. package/dist/Markdown/index.js +1 -1
  114. package/dist/{Markdown-D7bQGV9u.js → Markdown-DXRFVNJd.js} +3 -3
  115. package/dist/MobileNav/index.js +1 -1
  116. package/dist/{MobileNavToggle-Dfshmrdy.js → MobileNavToggle-DUtvvHc7.js} +3 -3
  117. package/dist/MoreMenu/index.d.ts +1 -1
  118. package/dist/MoreMenu/index.js +1 -1
  119. package/dist/{MoreMenu-Bie4B7Jr.js → MoreMenu-CEJ9E2eD.js} +6 -6
  120. package/dist/MultiSelector/index.d.ts +1 -1
  121. package/dist/MultiSelector/index.js +1 -1
  122. package/dist/{MultiSelector-BdedjB6u.js → MultiSelector-DgWCWpnM.js} +111 -56
  123. package/dist/{NavDisclosure-1otbO71l.js → NavDisclosure-Bf5OFtwv.js} +1 -1
  124. package/dist/{NavHeadingSurface-BkMR3V5m.js → NavHeadingSurface-D5MpO-gO.js} +1 -1
  125. package/dist/NavItem/index.d.ts +1 -1
  126. package/dist/NavItem/index.js +1 -1
  127. package/dist/{NavItem-BZLN0U5a.js → NavItem-hmUfwhiK.js} +1 -1
  128. package/dist/NavMenu/index.js +3 -3
  129. package/dist/{NavMenu-dyGZS1yM.js → NavMenu-BcmUfk7z.js} +2 -2
  130. package/dist/{NavMenuItem-CirgE73a.js → NavMenuItem-C9xk9KZk.js} +2 -2
  131. package/dist/NumberInput/index.d.ts +1 -1
  132. package/dist/NumberInput/index.js +1 -1
  133. package/dist/{NumberInput-0KbcEF3_.js → NumberInput-DNcE_HLD.js} +3 -3
  134. package/dist/Outline/index.js +1 -1
  135. package/dist/{Outline-BXu7HCHp.js → Outline--OQ2pCFL.js} +1 -1
  136. package/dist/OverflowList/index.d.ts +1 -1
  137. package/dist/OverflowList/index.js +1 -1
  138. package/dist/{OverflowList-BdcaX1bz.js → OverflowList-CeQT7MBd.js} +2 -2
  139. package/dist/Pagination/index.d.ts +1 -1
  140. package/dist/Pagination/index.js +1 -1
  141. package/dist/{Pagination-uttop2ls.js → Pagination-DJGQe6wH.js} +1 -1
  142. package/dist/Popover/index.d.ts +1 -1
  143. package/dist/Popover/index.js +1 -1
  144. package/dist/{Popover-BOQo9UPf.js → Popover-C68nCirC.js} +8 -7
  145. package/dist/PowerSearch/index.d.ts +1 -1
  146. package/dist/PowerSearch/index.js +1 -1
  147. package/dist/{PowerSearch-DDuYfvNh.js → PowerSearch-C6lkutch.js} +18 -18
  148. package/dist/ProgressBar/index.d.ts +1 -1
  149. package/dist/ProgressBar/index.js +1 -1
  150. package/dist/{ProgressBar-BS3VSoE9.js → ProgressBar-MaDhabCm.js} +1 -1
  151. package/dist/Radio/index.d.ts +1 -1
  152. package/dist/Radio/index.js +1 -1
  153. package/dist/{RadioGroup-DKaSstyl.js → RadioGroup-CLQLK_V7.js} +3 -3
  154. package/dist/RadioList/index.d.ts +1 -1
  155. package/dist/RadioList/index.js +1 -1
  156. package/dist/{RadioList-DtKm9spP.js → RadioList-DfHTyqIQ.js} +1 -1
  157. package/dist/Resizable/index.d.ts +1 -1
  158. package/dist/ScrollableArea/index.d.ts +1 -1
  159. package/dist/ScrollableArea/index.js +1 -1
  160. package/dist/{ScrollableArea-BgIytCxo.js → ScrollableArea-C2GBp55Z.js} +1 -1
  161. package/dist/SegmentedControl/index.js +1 -1
  162. package/dist/{SegmentedControl-Bs74LlvS.js → SegmentedControl-COVOdCq2.js} +1 -1
  163. package/dist/SelectableCard/index.d.ts +1 -1
  164. package/dist/SelectableCard/index.js +1 -1
  165. package/dist/{SelectableCard-BFCwgtWf.js → SelectableCard-CTRsWXfA.js} +2 -2
  166. package/dist/Selector/index.d.ts +1 -1
  167. package/dist/Selector/index.js +1 -1
  168. package/dist/{Selector-OpczmkqS.js → Selector-CPCoJ7Sb.js} +13 -47
  169. package/dist/SideNav/index.d.ts +1 -1
  170. package/dist/SideNav/index.js +1 -1
  171. package/dist/{SideNav-L6CWk5fV.js → SideNav-CV8MKVL-.js} +6 -6
  172. package/dist/Slider/index.js +1 -1
  173. package/dist/{Slider-DZS8mGZA.js → Slider-CHJ1CESd.js} +3 -3
  174. package/dist/Stack/index.d.ts +1 -1
  175. package/dist/StatusDot/index.js +1 -1
  176. package/dist/{StatusDot-DaQGq8YN.js → StatusDot-CGaRrl39.js} +1 -1
  177. package/dist/Stepper/index.d.ts +1 -1
  178. package/dist/Stepper/index.js +1 -1
  179. package/dist/{Stepper-DAQRW4n8.js → Stepper-CYZrGpQ9.js} +1 -1
  180. package/dist/Switch/index.d.ts +1 -1
  181. package/dist/Switch/index.js +1 -1
  182. package/dist/{Switch-BN_NnBuc.js → Switch-Bx9ezhrN.js} +2 -2
  183. package/dist/TabList/index.d.ts +1 -1
  184. package/dist/TabList/index.js +1 -1
  185. package/dist/{TabList-Bmj4tGT-.js → TabList-o4t9vWvl.js} +2 -2
  186. package/dist/Table/index.d.ts +1 -1
  187. package/dist/Table/index.js +1 -1
  188. package/dist/{Table-_pSoEiGP.js → Table-CO2cYE8r.js} +13 -13
  189. package/dist/Text/index.js +1 -1
  190. package/dist/{Text-IijvZmW-.js → Text-C6SB2hHJ.js} +1 -1
  191. package/dist/TextArea/index.d.ts +1 -1
  192. package/dist/TextArea/index.js +1 -1
  193. package/dist/{TextArea-BDR179q1.js → TextArea-DVaDS_1K.js} +5 -5
  194. package/dist/TextInput/index.d.ts +1 -1
  195. package/dist/TextInput/index.js +1 -1
  196. package/dist/{TextInput-kUzxl99M.js → TextInput-Dylfzj33.js} +5 -5
  197. package/dist/Thumbnail/index.js +1 -1
  198. package/dist/{Thumbnail-Disi5yDb.js → Thumbnail-BTQAYnWi.js} +3 -3
  199. package/dist/{TimeField-C0la1AtP.js → TimeField-B3JGgLuf.js} +4 -4
  200. package/dist/TimeInput/index.d.ts +1 -1
  201. package/dist/TimeInput/index.js +1 -1
  202. package/dist/{TimeInput-C_jTijHh.js → TimeInput-Dmy6PxaD.js} +2 -2
  203. package/dist/Timer/index.js +1 -1
  204. package/dist/{Timer-DifGERP8.js → Timer-CN5BmaFS.js} +1 -1
  205. package/dist/Timestamp/index.d.ts +1 -1
  206. package/dist/Timestamp/index.js +1 -1
  207. package/dist/{Timestamp-BjXZGAvO.js → Timestamp-B7UcCEo2.js} +3 -3
  208. package/dist/Toast/index.js +1 -1
  209. package/dist/{Toast-DBo0WRAd.js → Toast-DCipbbCW.js} +3 -3
  210. package/dist/ToggleButton/index.d.ts +1 -1
  211. package/dist/ToggleButton/index.js +1 -1
  212. package/dist/{ToggleButton-B5HNykOh.js → ToggleButton-C78lrcdr.js} +3 -3
  213. package/dist/Token/index.js +1 -1
  214. package/dist/{Token-CtG_XE6z.js → Token-uhs8Q9Rr.js} +1 -1
  215. package/dist/Tokenizer/index.d.ts +1 -1
  216. package/dist/Tokenizer/index.js +1 -1
  217. package/dist/{Tokenizer-BNazaZsP.js → Tokenizer-D7B1ff3O.js} +111 -52
  218. package/dist/Toolbar/index.d.ts +1 -1
  219. package/dist/Tooltip/index.d.ts +1 -1
  220. package/dist/Tooltip/index.js +2 -2
  221. package/dist/{Tooltip-4APVAlN9.js → Tooltip-kQPfj3SE.js} +1 -1
  222. package/dist/TopNav/index.d.ts +1 -1
  223. package/dist/TopNav/index.js +1 -1
  224. package/dist/{TopNav-XSZWAR-7.js → TopNav-AGY785QI.js} +5 -5
  225. package/dist/TreeList/index.js +1 -1
  226. package/dist/{TreeList-CRMLcaRx.js → TreeList-Dc3A72iY.js} +2 -2
  227. package/dist/Typeahead/index.d.ts +1 -1
  228. package/dist/Typeahead/index.js +2 -2
  229. package/dist/{Typeahead-BgQVQw-0.js → Typeahead-QWYeVsel.js} +49 -14
  230. package/dist/composables/index.d.ts +2 -1
  231. package/dist/composables/index.js +15 -15
  232. package/dist/{composables-WUkSRUCj.js → composables-CyKB3F8u.js} +53 -5
  233. package/dist/{focus-l8jVTcqd.js → focus-x7mxEqjR.js} +1 -1
  234. package/dist/{index-a1jCiQP7.d.ts → index-9YGUb_Ht.d.ts} +4 -4
  235. package/dist/{index-Q1oG9yIT.d.ts → index-B-3EGjfQ.d.ts} +2 -2
  236. package/dist/{index-TXcNH86P.d.ts → index-B1eCxBCY.d.ts} +1 -1
  237. package/dist/{index-BgT6mH3U.d.ts → index-BB9acgK8.d.ts} +1 -1
  238. package/dist/{index-wY6dKz6c.d.ts → index-BEZ4ezJk.d.ts} +2 -2
  239. package/dist/{index-DFLPv9io.d.ts → index-BOCb89V9.d.ts} +2 -2
  240. package/dist/{index-CGDmjlec.d.ts → index-BWaO4-T-.d.ts} +56 -56
  241. package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
  242. package/dist/{index-CuW4AQ7M.d.ts → index-BhxqUt3y.d.ts} +2 -2
  243. package/dist/{index-wTwhcFQx.d.ts → index-Bl_K_cRv.d.ts} +1 -1
  244. package/dist/{index-Bmqz1lVz.d.ts → index-BpprL2SN.d.ts} +1 -1
  245. package/dist/{index-CM2L3SUw.d.ts → index-BzViSe8D.d.ts} +19 -4
  246. package/dist/{index-C1zwvxPH.d.ts → index-CL8JvxHW.d.ts} +2 -2
  247. package/dist/{index-CKtrcglY.d.ts → index-CREW8ZiL.d.ts} +6 -6
  248. package/dist/{index-D-YoRrfP.d.ts → index-CVs4A2QU.d.ts} +47 -58
  249. package/dist/{index-9tZJgo0R.d.ts → index-CfoExOY_.d.ts} +2 -2
  250. package/dist/{index-Cb-HJUhK.d.ts → index-Cun6cXGP.d.ts} +1 -1
  251. package/dist/{index-DydQ5Ngj.d.ts → index-D7YRtteD.d.ts} +1 -1
  252. package/dist/{index-BmYnVNI-.d.ts → index-DE1genab.d.ts} +14 -2
  253. package/dist/{index-B44fLswd.d.ts → index-DPhQZXYw.d.ts} +1 -1
  254. package/dist/{index-lmd9LZKB.d.ts → index-DS9SzqqJ.d.ts} +2 -2
  255. package/dist/{index-mkbGYz8f.d.ts → index-Dc9_kBrU.d.ts} +9 -2
  256. package/dist/{index-_5purQow.d.ts → index-Dep8pgnU.d.ts} +8 -6
  257. package/dist/{index-DhcjuwQq.d.ts → index-Dlq0cFK-.d.ts} +2 -2
  258. package/dist/{index-CBOv5j3c.d.ts → index-FeZXsFO-.d.ts} +3 -3
  259. package/dist/{index-COgrQZIL.d.ts → index-YKCx03zD.d.ts} +2 -2
  260. package/dist/{index-BKnyTWPM.d.ts → index-ZbNwGVkS.d.ts} +1 -1
  261. package/dist/{index-Cy1rEWC-.d.ts → index-bgjrSSaT.d.ts} +2 -2
  262. package/dist/{index-B3FE7s7V.d.ts → index-s0Ezq3U-.d.ts} +4 -4
  263. package/dist/{index-CLHJybQY.d.ts → index-ul1hNxih.d.ts} +1 -1
  264. package/dist/index.d.ts +32 -31
  265. package/dist/index.js +109 -109
  266. package/dist/interactionModality-BPvyShJT.js +125 -0
  267. package/dist/layerDepth-BU_55vPr.js +294 -0
  268. package/dist/{layerFocusReturn-DMJaFgcY.js → layerFocusReturn-DWGkSHXj.js} +2 -2
  269. package/dist/{loadCatalog-XbgoqaRp.js → loadCatalog-BtQRPyzj.js} +6 -2
  270. package/dist/{loadCatalog-CQEYXGuI.d.ts → loadCatalog-Kp7aQZpL.d.ts} +3 -0
  271. package/dist/locale/index.d.ts +2 -2
  272. package/dist/locale/index.js +4 -4
  273. package/dist/{locale-BwnZeppK.js → locale-DET_YkFW.js} +1 -1
  274. package/dist/{modalOutlet-CUOcrhIu.js → modalOutlet-Drr9a16b.js} +25 -1
  275. package/dist/{pressFeedback-Bwwpex9q.js → pressFeedback-Co3ugCsm.js} +3 -190
  276. package/dist/pressGesture-B3z3W3Za.js +78 -0
  277. package/dist/{scrollKeyboardDelegation-D7cumnOl.js → scrollKeyboardDelegation-BSpUCTlO.js} +1 -1
  278. package/dist/selectorEscape-LkWoVYQN.js +52 -0
  279. package/dist/{useAnchoredListbox-CuRfVgKl.js → stillPointerGate-BZ7KMJOB.js} +20 -2
  280. package/dist/{tokenizer-DSka5PJD.js → tokenizer-ChiAuPN-.js} +5 -1
  281. package/dist/tooltipTriggerRules-9zkDe8_b.js +10 -0
  282. package/dist/{searchResultMessage-BEqDlHdV.js → triggerVariant-BDVvyLtv.js} +18 -18
  283. package/dist/{useActionGroupTracking-BJMRaXil.js → useActionGroupTracking-CDclbV3Y.js} +2 -2
  284. package/dist/useClickableContainer-Dtjg-nkm.js +141 -0
  285. package/dist/{useCombobox-CTo5C-gc.js → useCombobox-D374_pT8.js} +32 -8
  286. package/dist/{useDismiss-BWd-sQ18.js → useDismiss-74dLMi5S.js} +58 -5
  287. package/dist/{useFocusTrap-FJt5QhEd.js → useFocusTrap-CyooA0OC.js} +32 -17
  288. package/dist/{useHoverLayerDismiss-uhfzmZyf.js → useHoverLayerDismiss-B1W5qIBx.js} +1 -1
  289. package/dist/{useInputContainer-BpLtCA-U.js → useInputContainer-CLhsKYZ6.js} +1 -1
  290. package/dist/useInputStatusIcon-B6m_t8cK.d.ts +45 -0
  291. package/dist/{useInputStatusIcon-C3Q-q_wI.js → useInputStatusIcon-ZqCxDNTj.js} +1 -1
  292. package/dist/{useLayer-BGv_wRSG.js → useLayer-BnjrJ85F.js} +13 -5
  293. package/dist/{useMenuDrillIn-uQtOSny6.js → useMenuDrillIn-BW9dNBje.js} +1 -1
  294. package/dist/{useMenuPress-BLPwY_m1.js → useMenuPress-BWq7kwWm.js} +1 -29
  295. package/dist/{useOptionActionGrid-CkJcuvaU.js → useOptionActionGrid-C7ibYM_A.js} +15 -1
  296. package/dist/{usePressFeedback-Bcjsw9vv.js → usePressFeedback-Cxu4-mCe.js} +1 -1
  297. package/dist/{useResizable-DTDhsLip.js → useResizable-De4Xp3TD.js} +1 -1
  298. package/dist/{useRestoreFocus-D2-pGoOk.js → useRestoreFocus-CSrI8x7v.js} +2 -2
  299. package/dist/{useScrollableArea-BE8b3qm7.js → useScrollableArea-Bwn75HDg.js} +1 -1
  300. package/dist/{useTooltip-md1tr6ef.js → useTooltip-uc-VLZ8I.js} +25 -27
  301. package/dist/{useTouchHitArea-1WtV3u6F.js → useTouchHitArea-B3jx01C3.js} +1 -1
  302. package/dist/useTouchTriggerInternal-b-txblws.js +257 -0
  303. package/dist/{useTruncationTooltip-BGsFITq5.js → useTruncationTooltip-BVMCoNno.js} +4 -4
  304. package/dist/{useTypeahead-BrUwR-kv.js → useTypeahead-BWj3xhbR.js} +1 -1
  305. package/dist/{TypeaheadMenu-BOzaCvSb.js → useTypeaheadAnnouncement-DVkdWTWy.js} +75 -33
  306. package/package.json +1 -1
  307. package/styles/complex-selector.css +24 -1
  308. package/styles/multi-selector.css +10 -0
  309. package/styles/selector.css +10 -0
  310. package/styles/tokenizer.css +64 -0
  311. package/styles/typeahead.css +28 -0
  312. package/dist/interactionModality-ACpTMhak.js +0 -44
  313. package/dist/layerDepth-BF74Cctw.js +0 -205
  314. package/dist/layerSurfacePress-C3PjPpJP.js +0 -29
  315. package/dist/tooltipTriggerRules-BY3LAtUl.js +0 -53
  316. package/dist/triggerVariant-BsL8jMHs.js +0 -16
  317. package/dist/useTouchTrigger-GGd85Obb.js +0 -146
@@ -1,6 +1,6 @@
1
- import { a as isImeKeyEvent } from "./layerDepth-BF74Cctw.js";
2
- import { r as trackInteractionModality, t as getInteractionModality } from "./interactionModality-ACpTMhak.js";
3
- import { r as getFocusables } from "./focus-l8jVTcqd.js";
1
+ import { o as isImeKeyEvent } from "./layerDepth-BU_55vPr.js";
2
+ import { i as trackInteractionModality, t as getInteractionModality } from "./interactionModality-BPvyShJT.js";
3
+ import { r as getFocusables } from "./focus-x7mxEqjR.js";
4
4
  import { onScopeDispose, ref, toValue, watch } from "vue";
5
5
  //#region src/composables/internal/focusReturn.ts
6
6
  function isTextEntry(element) {
@@ -45,13 +45,22 @@ function useFocusTrap(options = {}) {
45
45
  let previouslyFocused = null;
46
46
  /** 焦点是否进过陷阱。没进过就不还焦点,免得抢走浮层触发器的焦点。 */
47
47
  let hasFocusEntered = false;
48
+ /**
49
+ * 陷阱所在的 document:容器的。经 Teleport 渲染进同源 iframe 或画中画窗口的陷阱,
50
+ * 按键和焦点变化只到那个窗口的 document,全局 `document` 收不到。
51
+ */
52
+ function trapDocument() {
53
+ return containerRef.value?.ownerDocument ?? document;
54
+ }
55
+ /** 正在监听的 document,摘监听时用同一个。 */
56
+ let listeningDoc = null;
48
57
  function isActive() {
49
58
  return toValue(options.isActive) ?? toValue(options.isEnabled) ?? false;
50
59
  }
51
60
  function isFocusInside() {
52
61
  const el = containerRef.value;
53
62
  if (el == null || typeof document === "undefined") return false;
54
- const active = document.activeElement;
63
+ const active = trapDocument().activeElement;
55
64
  return active != null && el.contains(active);
56
65
  }
57
66
  function isTargetInside(event) {
@@ -75,7 +84,7 @@ function useFocusTrap(options = {}) {
75
84
  }
76
85
  const first = focusables[0];
77
86
  const last = focusables[focusables.length - 1];
78
- const active = document.activeElement;
87
+ const active = trapDocument().activeElement;
79
88
  if (active === el) {
80
89
  event.preventDefault();
81
90
  if (event.shiftKey) last.focus();
@@ -109,8 +118,9 @@ function useFocusTrap(options = {}) {
109
118
  function activate() {
110
119
  trackInteractionModality();
111
120
  if (typeof document !== "undefined") {
112
- const active = document.activeElement;
113
- previouslyFocused = active instanceof HTMLElement && active !== document.body ? active : null;
121
+ const doc = trapDocument();
122
+ const active = doc.activeElement;
123
+ previouslyFocused = active != null && active !== doc.body && typeof active.focus === "function" ? active : null;
114
124
  }
115
125
  hasFocusEntered = false;
116
126
  setup();
@@ -125,8 +135,9 @@ function useFocusTrap(options = {}) {
125
135
  previouslyFocused = null;
126
136
  hasFocusEntered = false;
127
137
  if (target == null || !hasEntered || !target.isConnected) return;
128
- const active = typeof document === "undefined" ? null : document.activeElement;
129
- if (active != null && active !== document.body && !isFocusInside()) return;
138
+ const doc = typeof document === "undefined" ? null : trapDocument();
139
+ const active = doc?.activeElement ?? null;
140
+ if (active != null && active !== doc?.body && !isFocusInside()) return;
130
141
  focusForLastInput(target);
131
142
  }
132
143
  function deactivate() {
@@ -134,21 +145,25 @@ function useFocusTrap(options = {}) {
134
145
  restoreFocus();
135
146
  }
136
147
  function setup() {
137
- if (typeof document !== "undefined") {
138
- document.addEventListener("keydown", onKeyDown, true);
139
- document.addEventListener("focusin", onFocusIn, true);
140
- }
148
+ if (typeof document === "undefined") return;
149
+ teardown();
150
+ listeningDoc = trapDocument();
151
+ listeningDoc.addEventListener("keydown", onKeyDown, true);
152
+ listeningDoc.addEventListener("focusin", onFocusIn, true);
141
153
  }
142
154
  function teardown() {
143
- if (typeof document !== "undefined") {
144
- document.removeEventListener("keydown", onKeyDown, true);
145
- document.removeEventListener("focusin", onFocusIn, true);
146
- }
155
+ if (listeningDoc == null) return;
156
+ listeningDoc.removeEventListener("keydown", onKeyDown, true);
157
+ listeningDoc.removeEventListener("focusin", onFocusIn, true);
158
+ listeningDoc = null;
147
159
  }
148
160
  watch(isActive, (enabled) => {
149
161
  if (enabled) activate();
150
162
  else deactivate();
151
163
  }, { immediate: true });
164
+ watch(containerRef, () => {
165
+ if (isActive() && listeningDoc !== trapDocument()) setup();
166
+ });
152
167
  onScopeDispose(deactivate);
153
168
  return {
154
169
  containerRef,
@@ -1,4 +1,4 @@
1
- import { i as pushLayer, n as useLayerDepth, r as isTopLayer } from "./layerDepth-BF74Cctw.js";
1
+ import { a as pushLayer, i as isTopLayer, n as useLayerDepth } from "./layerDepth-BU_55vPr.js";
2
2
  import { onScopeDispose } from "vue";
3
3
  //#region src/layer/useHoverLayerDismiss.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { p as useClickableContainer } from "./pressFeedback-Bwwpex9q.js";
1
+ import { i as useClickableContainer } from "./useClickableContainer-Dtjg-nkm.js";
2
2
  import { toValue } from "vue";
3
3
  //#region src/composables/useInputContainer.ts
4
4
  /** 点了以后接焦点的输入框类型:这些类型自己不会因为点击容器而聚焦。 */
@@ -0,0 +1,45 @@
1
+ import { o as FieldStatusInput } from "./types-bAQk3F8G.js";
2
+ import { Component, ComputedRef, MaybeRefOrGetter } from "vue";
3
+ //#region src/composables/useInputStatusIcon.d.ts
4
+ /** 状态图标相对输入框的位置。 */
5
+ type InputStatusVariant = 'attached' | 'detached' | 'tooltip';
6
+ interface UseInputStatusIconOptions {
7
+ /** 输入框的状态(类型加文案),没有状态就不传。 */
8
+ status?: MaybeRefOrGetter<FieldStatusInput | undefined>;
9
+ /**
10
+ * 状态相对输入框怎么摆。`attached` 在框里画一个图标,`detached` 交给下面的
11
+ * 状态文案自己带图标,`tooltip` 画一个能用键盘够到的信息按钮。
12
+ * @default 'attached'
13
+ */
14
+ statusVariant?: MaybeRefOrGetter<InputStatusVariant>;
15
+ /**
16
+ * 输入框是否在 `InputGroup` 里,组自己会画状态。
17
+ * @default false
18
+ */
19
+ isInGroup?: MaybeRefOrGetter<boolean>;
20
+ }
21
+ interface UseInputStatusIconReturn {
22
+ /**
23
+ * 要渲染在输入框容器里的东西:`FieldIcon`(普通图标),或者 `FieldInfoTip`
24
+ * (带 tooltip 的信息按钮)。没有该画的东西时是 `null`。
25
+ * 和 `statusIconProps` 一起用:`<component :is="statusIcon" v-bind="statusIconProps" />`。
26
+ */
27
+ statusIcon: ComputedRef<Component | null>;
28
+ /** 上面那个组件要的属性。 */
29
+ statusIconProps: ComputedRef<Record<string, unknown>>;
30
+ }
31
+ /**
32
+ * 对应原版 Astryx 的 `hooks/useInputStatusIcon`。
33
+ *
34
+ * 决定输入框上那颗状态图标画什么,让同一状态下所有输入框长得一样:
35
+ * `attached` 画一个不说话的图标,文案留给下面的状态栏;`detached` 什么都不画,
36
+ * 因为状态栏自己带了图标;`tooltip` 画一个真按钮,键盘、鼠标、触摸、读屏都能
37
+ * 摸到它的说明。在 `InputGroup` 里也不画,组自己会画。
38
+ *
39
+ * 上游还会返回一个 `describedBy`,用来接进输入框的 `aria-describedby`。
40
+ * 我们这边 `Field` 已经把状态文案渲染成视觉隐藏文本并接进 `aria-describedby` 了,
41
+ * tooltip 按钮自己也带着 `aria-describedby`,所以不需要再返回一个 id。
42
+ */
43
+ declare function useInputStatusIcon(options?: UseInputStatusIconOptions): UseInputStatusIconReturn;
44
+ //#endregion
45
+ export { useInputStatusIcon as i, UseInputStatusIconOptions as n, UseInputStatusIconReturn as r, InputStatusVariant as t };
@@ -1,5 +1,5 @@
1
1
  import { t as _sfc_main } from "./FieldIcon-DMtfe1Ne.js";
2
- import { t as _sfc_main$1 } from "./FieldInfoTip-CUh2koNc.js";
2
+ import { t as _sfc_main$1 } from "./FieldInfoTip-D7UNDNje.js";
3
3
  import { computed, toValue } from "vue";
4
4
  //#region src/composables/useInputStatusIcon.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-BWd-sQ18.js";
1
+ import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-74dLMi5S.js";
2
2
  import { computed, shallowRef, toValue, useId } from "vue";
3
3
  //#region src/composables/useLayer.ts
4
4
  /**
@@ -35,7 +35,8 @@ function useLayer(options) {
35
35
  isOpen,
36
36
  placement,
37
37
  alignment,
38
- gap: options.gap ?? 4
38
+ gap: options.gap ?? 4,
39
+ keepAnchorClear: options.keepAnchorClear
39
40
  });
40
41
  const resolvedPlacement = computed(() => positioned?.position.value.placement ?? placement.value);
41
42
  const contentStyle = computed(() => {
@@ -44,14 +45,21 @@ function useLayer(options) {
44
45
  top: `${toValue(options.y) ?? 0}px`,
45
46
  left: `${toValue(options.x) ?? 0}px`
46
47
  };
47
- const { top, left } = positioned?.position.value ?? {
48
+ const { top, left, maxHeight } = positioned?.position.value ?? {
48
49
  top: 0,
49
- left: 0
50
+ left: 0,
51
+ maxHeight: void 0
50
52
  };
51
- return {
53
+ const style = {
52
54
  top: `${top}px`,
53
55
  left: `${left}px`
54
56
  };
57
+ if (maxHeight != null) {
58
+ style.maxHeight = `${maxHeight}px`;
59
+ style.overflowY = "auto";
60
+ style.overscrollBehavior = "contain";
61
+ }
62
+ return style;
55
63
  });
56
64
  const isMounted = computed(() => !toValue(options.lazyMount) || hasOpened.value);
57
65
  let isHiding = false;
@@ -1,7 +1,7 @@
1
1
  import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
2
2
  import { t as _sfc_main$4 } from "./Icon-BCHo7W0x.js";
3
3
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
4
- import { t as _sfc_main$5 } from "./Item-Cfv4ALls.js";
4
+ import { t as _sfc_main$5 } from "./Item-CoNXshDg.js";
5
5
  import { t as _sfc_main$6 } from "./CheckboxIndicator-fH4d-JE1.js";
6
6
  import { t as dropdownMenuMessages } from "./dropdown-menu-BDu4gWwQ.js";
7
7
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, inject, mergeModels, mergeProps, openBlock, provide, ref, renderSlot, toDisplayString, unref, useAttrs, useModel, useSlots, watch, withCtx } from "vue";
@@ -1,4 +1,5 @@
1
1
  import { i as runAsMenuPressActivation, t as armStrayClick } from "./strayClick-CY-_ImKv.js";
2
+ import { s as currentGesture } from "./layerDepth-BU_55vPr.js";
2
3
  import { getCurrentScope, onScopeDispose, toValue } from "vue";
3
4
  //#region src/composables/useLongPress.ts
4
5
  const DEFAULT_DELAY_MS = 500;
@@ -104,35 +105,6 @@ function useLongPress(options) {
104
105
  start
105
106
  };
106
107
  }
107
- //#endregion
108
- //#region src/composables/internal/gestureCounter.ts
109
- /**
110
- * 手势计数器:每一次新的按下或按键,计数加一。
111
- *
112
- * 同一次按压里,浏览器的点外关闭和触发器自己的 click 谁先到是没准的。
113
- * 比时间窗口只能猜,数手势不用猜:「属于关闭那次手势的 click」就是
114
- * 「计数还停在关闭那一刻的 click」,不管主线程中间卡了多久。
115
- *
116
- * 监听挂在 document 的捕获阶段,在任何处理函数读它之前先加一。第一次读的时候才装,服务端不装。
117
- */
118
- let gesture = 0;
119
- let isListening = false;
120
- function advance() {
121
- gesture += 1;
122
- }
123
- function markClicked() {}
124
- function listen() {
125
- if (isListening || typeof document === "undefined") return;
126
- isListening = true;
127
- document.addEventListener("pointerdown", advance, true);
128
- document.addEventListener("keydown", advance, true);
129
- document.addEventListener("click", markClicked, true);
130
- }
131
- /** 当前这次手势的编号。两次读到同一个数,说明它们在同一次按压(或同一次按键)里。 */
132
- function currentGesture() {
133
- listen();
134
- return gesture;
135
- }
136
108
  const AUTOSCROLL_STEP_PX = 6;
137
109
  const AUTOSCROLL_INTERVAL_MS = 16;
138
110
  /** `onTick` 在每次真的滚动之后调用:行在静止的指针下面移动了,要重新看指针下是哪一行。 */
@@ -29,6 +29,20 @@ const OptionAction = defineComponent({
29
29
  }
30
30
  });
31
31
  //#endregion
32
+ //#region src/Selector/searchResultMessage.ts
33
+ /**
34
+ * 面板打开时要说的那句话。
35
+ * 加载中什么都不说,因为选项还没到,不能断言「没有选项」或「没有结果」。
36
+ * 创建行本身算一条结果,所以这时不报空。
37
+ */
38
+ function searchResultMessage(input) {
39
+ if (!input.isOpen || input.isLoading) return "";
40
+ const searching = input.query.trim() !== "";
41
+ if (input.matchCount === 0 && !input.hasCreateRow) return searching ? input.emptySearchText : input.emptyText;
42
+ if (!searching) return "";
43
+ return input.resultCount(input.matchCount + (input.hasCreateRow ? 1 : 0));
44
+ }
45
+ //#endregion
32
46
  //#region src/selectors/useOptionActionGrid.ts
33
47
  /**
34
48
  * 选项操作的键盘列。上一项、下一项仍交给列表模型。
@@ -94,4 +108,4 @@ function useOptionActionGrid(options) {
94
108
  };
95
109
  }
96
110
  //#endregion
97
- export { OptionAction as n, isOptionAction as r, useOptionActionGrid as t };
111
+ export { isOptionAction as i, searchResultMessage as n, OptionAction as r, useOptionActionGrid as t };
@@ -1,4 +1,4 @@
1
- import { a as PRESSABLE_ATTRIBUTE, n as installPressFeedback, o as PRESS_ACTION_ATTRIBUTE, s as PRESS_CONTAINER_ATTRIBUTE } from "./pressFeedback-Bwwpex9q.js";
1
+ import { a as PRESSABLE_ATTRIBUTE, n as installPressFeedback, o as PRESS_ACTION_ATTRIBUTE, s as PRESS_CONTAINER_ATTRIBUTE } from "./pressFeedback-Co3ugCsm.js";
2
2
  import { getCurrentInstance, getCurrentScope, onMounted, onScopeDispose } from "vue";
3
3
  import "../styles/pressable.css";
4
4
  //#region src/composables/usePressFeedback.ts
@@ -1,4 +1,4 @@
1
- import { a as isImeKeyEvent } from "./layerDepth-BF74Cctw.js";
1
+ import { o as isImeKeyEvent } from "./layerDepth-BU_55vPr.js";
2
2
  import { t as isApplePlatform } from "./isApplePlatform-B1ju6F5B.js";
3
3
  import { r as registerResizableChannel } from "./resizableChannel-3vivrEcT.js";
4
4
  import { computed, onBeforeUnmount, onMounted, onScopeDispose, reactive, ref, toValue, watch } from "vue";
@@ -1,5 +1,5 @@
1
- import { r as trackInteractionModality } from "./interactionModality-ACpTMhak.js";
2
- import { n as focusForLastInput } from "./useFocusTrap-FJt5QhEd.js";
1
+ import { i as trackInteractionModality } from "./interactionModality-BPvyShJT.js";
2
+ import { n as focusForLastInput } from "./useFocusTrap-CyooA0OC.js";
3
3
  import { onScopeDispose, watch } from "vue";
4
4
  //#region src/composables/useRestoreFocus.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { a as INACTIVE_AXIS_STATE, c as isMeasurable, d as measureScrollAxis, i as DEFAULT_AXIS_MAPPING, l as mappingsEqual, n as registerScrollOwner, o as axisStatesEqual, r as unregisterScrollOwner, s as getLogicalAxisMapping, t as attachScrollKeyboardDelegation, u as measureOverflow } from "./scrollKeyboardDelegation-D7cumnOl.js";
1
+ import { a as INACTIVE_AXIS_STATE, c as isMeasurable, d as measureScrollAxis, i as DEFAULT_AXIS_MAPPING, l as mappingsEqual, n as registerScrollOwner, o as axisStatesEqual, r as unregisterScrollOwner, s as getLogicalAxisMapping, t as attachScrollKeyboardDelegation, u as measureOverflow } from "./scrollKeyboardDelegation-BSpUCTlO.js";
2
2
  import { computed, onBeforeUnmount, ref, shallowRef, watch } from "vue";
3
3
  //#region src/composables/internal/scrollInvalidation.ts
4
4
  /**
@@ -1,13 +1,14 @@
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 { r as trackInteractionModality, t as getInteractionModality } from "./interactionModality-ACpTMhak.js";
6
- import { i as matchesFocusVisible, n as isTextEntryControl, r as isTextEntryTap, t as isActionTrigger } from "./tooltipTriggerRules-BY3LAtUl.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 trackInteractionModality, o as isTextEntryControl, t as getInteractionModality } from "./interactionModality-BPvyShJT.js";
6
+ import { t as matchesFocusVisible } from "./tooltipTriggerRules-9zkDe8_b.js";
7
7
  import { t as useAnnounce } from "./announce-B210eJVf.js";
8
- import { i as isFocusable } from "./focus-l8jVTcqd.js";
9
- import { t as useHoverLayerDismiss } from "./useHoverLayerDismiss-uhfzmZyf.js";
10
- import { Teleport, computed, createBlock, createCommentVNode, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeProps, onMounted, onScopeDispose, openBlock, ref, renderSlot, shallowRef, toDisplayString, toValue, unref, vShow, watch, withCtx, withDirectives } from "vue";
8
+ import { i as isFocusable } from "./focus-x7mxEqjR.js";
9
+ import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-b-txblws.js";
10
+ import { t as useHoverLayerDismiss } from "./useHoverLayerDismiss-B1W5qIBx.js";
11
+ import { Teleport, computed, createBlock, createCommentVNode, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeProps, onMounted, onScopeDispose, openBlock, renderSlot, shallowRef, toDisplayString, toValue, unref, vShow, watch, withCtx, withDirectives } from "vue";
11
12
  import "../styles/tooltip.css";
12
13
  //#region src/Tooltip/TooltipSurface.vue
13
14
  const _hoisted_1 = ["data-placement"];
@@ -177,7 +178,6 @@ const HOVER_BRIDGE_DELAY = 100;
177
178
  function useTooltip(options = {}) {
178
179
  const triggerRef = shallowRef(null);
179
180
  const isControlled = computed(() => toValue(options.isOpen) !== void 0);
180
- const isTouchPointer = ref(false);
181
181
  let bound = null;
182
182
  const announce = useAnnounce();
183
183
  const presentInterest = inject(tooltipPresentInterestKey, null);
@@ -187,6 +187,7 @@ function useTooltip(options = {}) {
187
187
  placement: () => toValue(options.placement) ?? "above",
188
188
  alignment: () => toValue(options.alignment) ?? "center",
189
189
  gap: GAP,
190
+ keepAnchorClear: true,
190
191
  onShow: () => options.onShow?.(),
191
192
  onHide: () => options.onHide?.()
192
193
  });
@@ -214,6 +215,17 @@ function useTooltip(options = {}) {
214
215
  function isInsideTooltip(node) {
215
216
  return node != null && (bound?.contains(node) === true || layer.contentRef.value?.contains(node) === true);
216
217
  }
218
+ const touch = useTouchTriggerInternal({
219
+ touchTrigger: touchTriggerMode,
220
+ isEnabled,
221
+ isControlled,
222
+ isOpen,
223
+ layerId: layer.id,
224
+ triggerRef,
225
+ show: showNow,
226
+ hide: hideNow
227
+ }, { isTextEntryTapIgnored: true });
228
+ const isTouchPointer = touch.isTouchPointer;
217
229
  function showNow() {
218
230
  clearTimers();
219
231
  if (!isEnabled() || isControlled.value) return;
@@ -239,9 +251,6 @@ function useTooltip(options = {}) {
239
251
  clearTimeout(hideTimer);
240
252
  hideTimer = void 0;
241
253
  }
242
- function onPointerEnter(event) {
243
- isTouchPointer.value = event.pointerType === "touch";
244
- }
245
254
  function onMouseEnter() {
246
255
  if (isTouchPointer.value) return;
247
256
  scheduleShow();
@@ -252,13 +261,6 @@ function useTooltip(options = {}) {
252
261
  if (next instanceof Node && layer.contentRef.value?.contains(next)) return;
253
262
  scheduleHide();
254
263
  }
255
- function onTouchTap(tapEvent) {
256
- if (!isEnabled() || isControlled.value || touchTriggerMode() === "none") return;
257
- const trigger = triggerRef.value;
258
- if (trigger != null && (touchTriggerMode() === "auto" && isActionTrigger(trigger) || isTextEntryTap(trigger, tapEvent))) return;
259
- if (isOpen.value) hideNow();
260
- else showNow();
261
- }
262
264
  function trackTriggerPress() {
263
265
  stopPressTracking?.();
264
266
  const trigger = bound;
@@ -281,11 +283,7 @@ function useTooltip(options = {}) {
281
283
  if (isHoldInThisTask) isHoldFromPress = true;
282
284
  return;
283
285
  }
284
- if (event.pointerType === "touch") {
285
- onTouchTap(event);
286
- return;
287
- }
288
- if (isControlled.value) return;
286
+ if (touch.handlePointerDown(event) || isControlled.value) return;
289
287
  hideNow();
290
288
  }
291
289
  const focusGate = createFocusGate(focusTriggerMode);
@@ -375,7 +373,7 @@ function useTooltip(options = {}) {
375
373
  unbind();
376
374
  bound = element;
377
375
  trackInteractionModality();
378
- element.addEventListener("pointerenter", onPointerEnter);
376
+ element.addEventListener("pointerenter", touch.handlePointerEnter);
379
377
  element.addEventListener("mouseenter", onMouseEnter);
380
378
  element.addEventListener("mouseleave", onMouseLeave);
381
379
  element.addEventListener("pointerdown", onPointerDown);
@@ -388,14 +386,14 @@ function useTooltip(options = {}) {
388
386
  hover: scheduleShow,
389
387
  tap: (tapEvent) => {
390
388
  isTouchPointer.value = true;
391
- onTouchTap(tapEvent);
389
+ touch.answerTap(tapEvent);
392
390
  },
393
391
  focus: (focused) => onFocusArrive(element, focused, false)
394
392
  });
395
393
  }
396
394
  function unbind() {
397
395
  if (bound == null) return;
398
- bound.removeEventListener("pointerenter", onPointerEnter);
396
+ bound.removeEventListener("pointerenter", touch.handlePointerEnter);
399
397
  bound.removeEventListener("mouseenter", onMouseEnter);
400
398
  bound.removeEventListener("mouseleave", onMouseLeave);
401
399
  bound.removeEventListener("pointerdown", onPointerDown);
@@ -1,4 +1,4 @@
1
- import { c as PRESS_GROUP_ITEM_ATTRIBUTE, l as isTrackedByGroup, r as pressFadeMs, t as PRESSED_ATTRIBUTE } from "./pressFeedback-Bwwpex9q.js";
1
+ import { c as PRESS_GROUP_ITEM_ATTRIBUTE, l as isTrackedByGroup, r as pressFadeMs, t as PRESSED_ATTRIBUTE } from "./pressFeedback-Co3ugCsm.js";
2
2
  import { t as armStrayClick } from "./strayClick-CY-_ImKv.js";
3
3
  import { toValue, watch } from "vue";
4
4
  import "../styles/touch-hit-area.css";