@astryx-vue/core 0.43.1 → 0.43.3

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 (335) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-Dv5k7js-.js → AlertDialog-yvaIe5dA.js} +8 -8
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-CCT8ttns.js → AppShell-CCc0Ls3I.js} +8 -8
  5. package/dist/Avatar/index.js +1 -1
  6. package/dist/{Avatar-CCGyBins.js → Avatar-B9n7-kfv.js} +1 -1
  7. package/dist/AvatarGroup/index.d.ts +1 -1
  8. package/dist/AvatarGroup/index.js +1 -1
  9. package/dist/{AvatarGroup-BIAkrmao.js → AvatarGroup-NBxlr30J.js} +1 -1
  10. package/dist/Badge/index.js +1 -1
  11. package/dist/{Badge-D3ZreOKp.js → Badge-DZaIs3aV.js} +1 -1
  12. package/dist/Banner/index.d.ts +1 -1
  13. package/dist/Banner/index.js +1 -1
  14. package/dist/{Banner-BnWEUYLY.js → Banner-BjfK7n5m.js} +1 -1
  15. package/dist/BottomSheet/index.js +2 -2
  16. package/dist/{BottomSheet-j8vx6nzu.js → BottomSheet-C4Tquvok.js} +6 -6
  17. package/dist/{BottomSheet-B2b9l2Wt.js → BottomSheet-JpXa1i_6.js} +2 -2
  18. package/dist/Breadcrumbs/index.d.ts +2 -2
  19. package/dist/Breadcrumbs/index.js +2 -2
  20. package/dist/{Breadcrumbs-CjxF6e_F.js → Breadcrumbs-8tfIEHXD.js} +1 -1
  21. package/dist/Button/index.d.ts +1 -1
  22. package/dist/Button/index.js +1 -1
  23. package/dist/{Button-BUwxLlDR.js → Button-DjEsHA9Z.js} +4 -3
  24. package/dist/ButtonGroup/index.d.ts +1 -1
  25. package/dist/ButtonGroup/index.js +1 -1
  26. package/dist/{ButtonGroup-CniWiype.js → ButtonGroup-B2M-5UV5.js} +2 -2
  27. package/dist/Calendar/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-zqKVApwm.js → Carousel-CQkewtIR.js} +1 -1
  31. package/dist/Chat/index.d.ts +1 -1
  32. package/dist/Chat/index.js +1 -1
  33. package/dist/{Chat-DgQyVonB.js → Chat-BsouUwzJ.js} +10 -10
  34. package/dist/CheckboxInput/index.d.ts +1 -1
  35. package/dist/CheckboxInput/index.js +1 -1
  36. package/dist/{CheckboxInput-Cqu94yE-.js → CheckboxInput-ql8alAXv.js} +4 -4
  37. package/dist/CheckboxList/index.d.ts +1 -1
  38. package/dist/CheckboxList/index.js +1 -1
  39. package/dist/{CheckboxListItem-DBmjxrC9.js → CheckboxListItem-g_DmP3Mw.js} +5 -5
  40. package/dist/ClickableCard/index.d.ts +1 -1
  41. package/dist/ClickableCard/index.js +1 -1
  42. package/dist/{ClickableCard-CHYsyEoV.js → ClickableCard-OIGU4OqX.js} +2 -2
  43. package/dist/Code/index.js +2 -2
  44. package/dist/{Code-DWJRBkBo.js → Code-DM6rlxIv.js} +1 -1
  45. package/dist/{CodeBlock-Cbo_qQKb.js → CodeBlock-DO_jepqL.js} +2 -2
  46. package/dist/Collapsible/index.d.ts +1 -1
  47. package/dist/Collapsible/index.js +1 -1
  48. package/dist/{Collapsible-BGcAI7zr.js → Collapsible-YJmw6Vdy.js} +4 -4
  49. package/dist/CommandPalette/index.d.ts +1 -1
  50. package/dist/CommandPalette/index.js +1 -1
  51. package/dist/{CommandPalette-c5JKlxA4.js → CommandPalette-B3p8qRob.js} +3 -3
  52. package/dist/ComplexSelector/index.js +1 -1
  53. package/dist/{ComplexSelector-DWvg6Tv8.js → ComplexSelector-Dh7Ffhk6.js} +3 -3
  54. package/dist/ContextMenu/index.d.ts +2 -2
  55. package/dist/ContextMenu/index.js +2 -2
  56. package/dist/{ContextMenu-BIvp1lte.js → ContextMenu-B2JG2F0f.js} +5 -5
  57. package/dist/DateInput/index.d.ts +1 -1
  58. package/dist/DateInput/index.js +1 -1
  59. package/dist/{DateInput-BIU5pnkd.js → DateInput-NA4dfH8l.js} +6 -6
  60. package/dist/DateRangeInput/index.d.ts +1 -1
  61. package/dist/DateRangeInput/index.js +1 -1
  62. package/dist/{DateRangeInput-CS4fPKiS.js → DateRangeInput-BJ1CIl29.js} +4 -4
  63. package/dist/DateTimeInput/index.d.ts +1 -1
  64. package/dist/DateTimeInput/index.js +1 -1
  65. package/dist/{DateTimeInput-Ck6DPJbu.js → DateTimeInput-Cj08kWhO.js} +6 -6
  66. package/dist/Dialog/index.js +3 -3
  67. package/dist/{Dialog-DKPLe00d.js → Dialog-BEvT30ri.js} +1 -1
  68. package/dist/{Dialog-YHm_AxCR.js → Dialog-Bt-GTJJk.js} +4 -5
  69. package/dist/{DialogHeader-DLPgLxng.js → DialogHeader-BGJEXxQv.js} +1 -1
  70. package/dist/Divider/index.d.ts +1 -1
  71. package/dist/Drawer/index.d.ts +1 -1
  72. package/dist/Drawer/index.js +1 -1
  73. package/dist/{Drawer-CeIcoLob.js → Drawer-DiJuFQFY.js} +4 -4
  74. package/dist/DropdownMenu/index.d.ts +2 -2
  75. package/dist/DropdownMenu/index.js +2 -2
  76. package/dist/{DropdownMenu-DU38kcJj.js → DropdownMenu-lhhIQfZo.js} +10 -10
  77. package/dist/{DropdownMenuRadioItem.vue-BrcSzOfA.d.ts → DropdownMenuRadioItem.vue-Jn-kyc9j.d.ts} +1 -1
  78. package/dist/EmptyState/index.js +1 -1
  79. package/dist/{EmptyState-A-W5iHeg.js → EmptyState-Cb2poVS1.js} +3 -3
  80. package/dist/Field/index.js +3 -3
  81. package/dist/{Field-CywKGqLZ.js → Field-Dat5mCel.js} +1 -1
  82. package/dist/{FieldInfoTip-ns5DSY2R.js → FieldInfoTip-i37zUogW.js} +4 -2
  83. package/dist/{FieldLabel-B_KKj3p2.js → FieldLabel-BinsVAU7.js} +1 -1
  84. package/dist/FileInput/index.js +1 -1
  85. package/dist/{FileInput-iohQGlZx.js → FileInput-DwHRa3HF.js} +4 -4
  86. package/dist/{GestureHost-25aSFM1Y.js → GestureHost-zNPZolYj.js} +7 -7
  87. package/dist/Heading/index.js +1 -1
  88. package/dist/{Heading-DrRtU8qI.js → Heading-BxUBgmHB.js} +1 -1
  89. package/dist/HoverCard/index.d.ts +1 -1
  90. package/dist/HoverCard/index.js +1 -1
  91. package/dist/{HoverCard-BmehvS0D.js → HoverCard-B8q3MpjF.js} +3 -3
  92. package/dist/IconButton/index.js +1 -1
  93. package/dist/{IconButton-BA7GRuUJ.js → IconButton-CV-BmMK9.js} +1 -1
  94. package/dist/InfoTip/index.d.ts +1 -1
  95. package/dist/InfoTip/index.js +1 -1
  96. package/dist/{InfoTip-fl6N72TS.js → InfoTip-C4MGt0hy.js} +2 -2
  97. package/dist/{InputClearButton-BKgQ8dgP.js → InputClearButton-6Am1nrDf.js} +1 -1
  98. package/dist/InputGroup/index.d.ts +1 -1
  99. package/dist/InputGroup/index.js +1 -1
  100. package/dist/{InputGroup-COVIPIGq.js → InputGroup-BmWA9oV5.js} +2 -2
  101. package/dist/{Item-Dds9mU6Z.js → Item-PVfzuPHz.js} +18 -11
  102. package/dist/Layout/index.js +2 -2
  103. package/dist/{Layout-DdsbcT6Z.js → Layout-OQ1qfgFZ.js} +1 -1
  104. package/dist/{LayoutPanel-0yi1xept.js → LayoutPanel-C7meqbdC.js} +2 -2
  105. package/dist/Lightbox/index.js +1 -1
  106. package/dist/{Lightbox-DcrwBS9V.js → Lightbox-CirQPUmV.js} +11 -11
  107. package/dist/Link/index.d.ts +1 -1
  108. package/dist/Link/index.js +1 -1
  109. package/dist/{Link-BdlaErAT.js → Link-BJhqi94p.js} +2 -2
  110. package/dist/List/index.d.ts +2 -2
  111. package/dist/List/index.js +4 -4
  112. package/dist/{List-D1Pr6E7p.js → List-D7brmx54.js} +2 -2
  113. package/dist/{ListItem-BmNr7uiR.js → ListItem-BERBZjZ5.js} +4 -4
  114. package/dist/{LongPressGestureRecognizer-DyfS9mpX.js → LongPressGestureRecognizer-CAh3wlYA.js} +3 -3
  115. package/dist/Markdown/index.d.ts +1 -1
  116. package/dist/Markdown/index.js +1 -1
  117. package/dist/{Markdown-C8BXhDP0.js → Markdown-Or6DoFW-.js} +3 -3
  118. package/dist/MobileNav/index.js +1 -1
  119. package/dist/{MobileNavToggle-BzfsPuLo.js → MobileNavToggle-CHlP1Ck_.js} +3 -3
  120. package/dist/MoreMenu/index.d.ts +1 -1
  121. package/dist/MoreMenu/index.js +1 -1
  122. package/dist/{MoreMenu-CaWxztZx.js → MoreMenu-qU2BZnDr.js} +6 -6
  123. package/dist/MultiSelector/index.d.ts +1 -1
  124. package/dist/MultiSelector/index.js +1 -1
  125. package/dist/{MultiSelector-Bi50qsF4.js → MultiSelector-BaoBcJ21.js} +7 -7
  126. package/dist/{NavDisclosure-D-vUD3Bl.js → NavDisclosure-B1Rk9uWm.js} +12 -0
  127. package/dist/{NavHeadingSurface-D2UWKpSw.js → NavHeadingSurface-B8vSLYn8.js} +32 -24
  128. package/dist/NavItem/index.d.ts +1 -1
  129. package/dist/NavItem/index.js +1 -1
  130. package/dist/{NavItem-CyYs0MqE.js → NavItem-CDfxlrAh.js} +1 -1
  131. package/dist/NavMenu/index.d.ts +1 -1
  132. package/dist/NavMenu/index.js +3 -3
  133. package/dist/{NavMenu-BxL910jk.js → NavMenu-C78sH1q0.js} +18 -8
  134. package/dist/{NavMenuItem-BnvyXNmq.js → NavMenuItem-CnhrEKOK.js} +3 -3
  135. package/dist/NumberInput/index.d.ts +1 -1
  136. package/dist/NumberInput/index.js +1 -1
  137. package/dist/{NumberInput-CwP23jyj.js → NumberInput-DbGq5K1O.js} +4 -4
  138. package/dist/Outline/index.js +1 -1
  139. package/dist/{Outline-B2xpgjh8.js → Outline-CZNYTxQc.js} +2 -2
  140. package/dist/OverflowList/index.d.ts +1 -1
  141. package/dist/OverflowList/index.js +1 -1
  142. package/dist/{OverflowList-D9C4LDqG.js → OverflowList-CoI9nSGD.js} +2 -2
  143. package/dist/Overlay/index.d.ts +1 -1
  144. package/dist/Pagination/index.d.ts +1 -1
  145. package/dist/Pagination/index.js +1 -1
  146. package/dist/{Pagination-CYqnfjlj.js → Pagination-okierHV2.js} +4 -4
  147. package/dist/{PanGestureRecognizer-BVA9pqme.js → PanGestureRecognizer-Rfm59PpK.js} +1 -1
  148. package/dist/{PickerWheel-x5H1G_XB.js → PickerWheel-BYTurQ9Z.js} +7 -7
  149. package/dist/Popover/index.d.ts +1 -1
  150. package/dist/Popover/index.js +1 -1
  151. package/dist/{Popover-B1KEO3cp.js → Popover-COzMRWrI.js} +8 -9
  152. package/dist/PowerSearch/index.d.ts +1 -1
  153. package/dist/PowerSearch/index.js +1 -1
  154. package/dist/{PowerSearch-DbHaoWLt.js → PowerSearch-gyKaQPUu.js} +24 -24
  155. package/dist/ProgressBar/index.js +1 -1
  156. package/dist/{ProgressBar-D7btyHEW.js → ProgressBar-LhOowRTl.js} +1 -1
  157. package/dist/Radio/index.d.ts +1 -1
  158. package/dist/Radio/index.js +1 -1
  159. package/dist/{RadioGroup-DHsmwHtm.js → RadioGroup-_xn5F6S4.js} +5 -5
  160. package/dist/RadioList/index.d.ts +1 -1
  161. package/dist/RadioList/index.js +1 -1
  162. package/dist/{RadioListItem-CvSf8RMH.js → RadioListItem-C_ovmUsZ.js} +1 -1
  163. package/dist/Resizable/index.d.ts +1 -1
  164. package/dist/Resizable/index.js +1 -1
  165. package/dist/{ResizeHandle-Ch18ZZOk.js → ResizeHandle-BphbEkqv.js} +1 -1
  166. package/dist/ScrollableArea/index.d.ts +1 -1
  167. package/dist/ScrollableArea/index.js +1 -1
  168. package/dist/{ScrollableArea-CJsSDN45.js → ScrollableArea-C8JJCFuM.js} +1 -1
  169. package/dist/SegmentedControl/index.js +1 -1
  170. package/dist/{SegmentedControl-DCaDQ2zo.js → SegmentedControl-DM4U0A3X.js} +10 -10
  171. package/dist/SelectableCard/index.d.ts +1 -1
  172. package/dist/SelectableCard/index.js +1 -1
  173. package/dist/{SelectableCard-DXZnI7ib.js → SelectableCard-WaKbJ7V8.js} +2 -2
  174. package/dist/Selector/index.d.ts +1 -1
  175. package/dist/Selector/index.js +1 -1
  176. package/dist/{Selector-DgA3p_vY.js → Selector-BaVyguqV.js} +4 -4
  177. package/dist/SideNav/index.d.ts +1 -1
  178. package/dist/SideNav/index.js +2 -2
  179. package/dist/{SideNav-DksQSYby.js → SideNav-9kpdjZaG.js} +15 -14
  180. package/dist/Slider/index.js +1 -1
  181. package/dist/{Slider-CdRV1bCC.js → Slider-DqCNKT8k.js} +8 -8
  182. package/dist/Spinner/index.js +1 -1
  183. package/dist/{Spinner-D6U81W87.js → Spinner-A3u6UMC2.js} +1 -1
  184. package/dist/Stack/index.d.ts +1 -1
  185. package/dist/StatusDot/index.js +1 -1
  186. package/dist/{StatusDot-D6piHeyt.js → StatusDot-BPbHIDK3.js} +1 -1
  187. package/dist/Stepper/index.d.ts +1 -1
  188. package/dist/Stepper/index.js +1 -1
  189. package/dist/{Stepper-datF7_Kw.js → Stepper-BDjoc0zs.js} +1 -1
  190. package/dist/Switch/index.d.ts +1 -1
  191. package/dist/Switch/index.js +1 -1
  192. package/dist/{Switch-CLyjn2EV.js → Switch-Djwmyq6m.js} +10 -10
  193. package/dist/TabList/index.d.ts +1 -1
  194. package/dist/TabList/index.js +1 -1
  195. package/dist/{TabList-Ca_OTfBB.js → TabList-DMX_ZMgS.js} +3 -3
  196. package/dist/Table/index.d.ts +1 -1
  197. package/dist/Table/index.js +1 -1
  198. package/dist/{Table-UQYSPKLi.js → Table-DxafmMwr.js} +17 -17
  199. package/dist/{TapGestureRecognizer-DGoxircL.js → TapGestureRecognizer-B-nQmGar.js} +2 -2
  200. package/dist/Text/index.js +1 -1
  201. package/dist/{Text-BNYzEYKN.js → Text-CqdqnOyw.js} +1 -1
  202. package/dist/TextArea/index.d.ts +1 -1
  203. package/dist/TextArea/index.js +1 -1
  204. package/dist/{TextArea-xyfbtdDe.js → TextArea-C5GRbC6e.js} +6 -6
  205. package/dist/TextInput/index.d.ts +1 -1
  206. package/dist/TextInput/index.js +1 -1
  207. package/dist/{TextInput-4T2l6nIx.js → TextInput-s56TpHIu.js} +6 -6
  208. package/dist/Thumbnail/index.js +1 -1
  209. package/dist/{Thumbnail-DMobmtCT.js → Thumbnail-CFcqQtqo.js} +4 -4
  210. package/dist/{TimeField-BJ0n_UmS.js → TimeField-CSdPuGwP.js} +4 -4
  211. package/dist/TimeInput/index.d.ts +1 -1
  212. package/dist/TimeInput/index.js +1 -1
  213. package/dist/{TimeInput-EIvW94w2.js → TimeInput-CSnb0mMj.js} +2 -2
  214. package/dist/Timer/index.js +1 -1
  215. package/dist/{Timer-CwkKyCaZ.js → Timer-CYusx9bw.js} +1 -1
  216. package/dist/Timestamp/index.d.ts +1 -1
  217. package/dist/Timestamp/index.js +1 -1
  218. package/dist/{Timestamp-BsuGdHWI.js → Timestamp-Dwku9bPo.js} +3 -3
  219. package/dist/Toast/index.js +1 -1
  220. package/dist/{Toast-DKuaFhrg.js → Toast-CeBNwNEI.js} +5 -5
  221. package/dist/ToggleButton/index.d.ts +1 -1
  222. package/dist/ToggleButton/index.js +1 -1
  223. package/dist/{ToggleButton-BHasUu8b.js → ToggleButton-BceL8CPc.js} +4 -3
  224. package/dist/Token/index.d.ts +1 -1
  225. package/dist/Token/index.js +1 -1
  226. package/dist/{Token-BQGcBNKf.js → Token-w7FCD0m4.js} +2 -2
  227. package/dist/Tokenizer/index.d.ts +1 -1
  228. package/dist/Tokenizer/index.js +1 -1
  229. package/dist/{Tokenizer-DXwHDbL7.js → Tokenizer-DTZUz1KK.js} +13 -13
  230. package/dist/Toolbar/index.d.ts +1 -1
  231. package/dist/Tooltip/index.d.ts +1 -1
  232. package/dist/Tooltip/index.js +2 -2
  233. package/dist/{Tooltip-CSF5F0QB.js → Tooltip-BGw1Dxs7.js} +1 -1
  234. package/dist/TopNav/index.d.ts +1 -1
  235. package/dist/TopNav/index.js +1 -1
  236. package/dist/{TopNav-CTCH30YX.js → TopNav-DcoTLS7k.js} +5 -5
  237. package/dist/TreeList/index.d.ts +1 -1
  238. package/dist/TreeList/index.js +1 -1
  239. package/dist/{TreeList-Adv2OI-T.js → TreeList-CYuPh-_e.js} +7 -7
  240. package/dist/Typeahead/index.js +2 -2
  241. package/dist/{Typeahead-Bvesheeg.js → Typeahead-B37dkKD-.js} +5 -5
  242. package/dist/{accessibleName-Liv9VEpI.js → accessibleName-T__U-0Oi.js} +2 -2
  243. package/dist/{animator-D6Buqmbt.js → animator-L1kmTBSi.js} +1 -1
  244. package/dist/{announceRenderedText-pHs_kfQB.js → announceRenderedText-Dzsx6ROw.js} +1 -1
  245. package/dist/{assertOptions-BOwrrTT-.js → assertOptions-D4YfVTam.js} +1 -1
  246. package/dist/{boxHold-BeZ6T0vP.js → boxHold-dccG1XSR.js} +4 -4
  247. package/dist/{browserClickWait-TdyeNZwb.js → browserClickWait-CPyRQqvC.js} +1 -1
  248. package/dist/{clickGuard-CdmRG-4c.js → clickGuard-DOe-7mpi.js} +59 -10
  249. package/dist/composables/index.d.ts +2 -2
  250. package/dist/composables/index.js +15 -14
  251. package/dist/{composables-BXjTzBd-.js → composables-kGMjHzp9.js} +106 -85
  252. package/dist/{context-CLCiYDtY.js → context-BBkmmLbb.js} +1 -1
  253. package/dist/{focus-x7mxEqjR.js → focus-DxAD3umZ.js} +12 -1
  254. package/dist/focusAcrossSwap-DYmqoqKg.js +83 -0
  255. package/dist/{focusLeaving-Df0Dqr5v.js → focusLeaving-mWmyOnpz.js} +1 -1
  256. package/dist/{focusRegion-CmDg7_4b.js → focusRegion-0I3hsblQ.js} +1 -1
  257. package/dist/{focusReturn-BeSRm0xD.js → focusReturn-CXHM5lOY.js} +1 -1
  258. package/dist/{holdEntranceInput-CxiwxRdS.js → holdEntranceInput-Cs656CnM.js} +1 -1
  259. package/dist/{index-BABha_qR.d.ts → index--j_oqZES.d.ts} +7 -7
  260. package/dist/{index-BfFpUr1B.d.ts → index-3LdpzxQZ.d.ts} +1 -1
  261. package/dist/{index-VWHtgjGh.d.ts → index-5vRkSPvJ.d.ts} +1 -1
  262. package/dist/{index-tdOyqA_U.d.ts → index-Ak1b0V24.d.ts} +1 -1
  263. package/dist/{index-DgNCHxvu.d.ts → index-B7-c8UTz.d.ts} +3 -3
  264. package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
  265. package/dist/{index-v27zktLu.d.ts → index-BNQE8CBI.d.ts} +5 -5
  266. package/dist/{index-BgT6mH3U.d.ts → index-BR3MOBYd.d.ts} +2 -2
  267. package/dist/{index-C4S65SAW.d.ts → index-BZ_lQz43.d.ts} +2 -2
  268. package/dist/{index-CgrQX9f9.d.ts → index-BkbXxnJm.d.ts} +63 -63
  269. package/dist/{index-Bew88db8.d.ts → index-BlCnjPNt.d.ts} +6 -6
  270. package/dist/{index-DofC9Rll.d.ts → index-BtqvPjAf.d.ts} +1 -1
  271. package/dist/{index-BjqoHLMq.d.ts → index-C1e8LNx2.d.ts} +1 -1
  272. package/dist/{index-ZXrvTM3A.d.ts → index-CArP_6wv.d.ts} +1 -1
  273. package/dist/{index-ByKedmzm.d.ts → index-CC9ETLL4.d.ts} +1 -1
  274. package/dist/{index-mK1ICsVg.d.ts → index-Cm36VS1A.d.ts} +2 -2
  275. package/dist/{index-yQc-te9a.d.ts → index-CmqD5Ya9.d.ts} +3 -3
  276. package/dist/{index-cxXrnuj3.d.ts → index-Csn58myZ.d.ts} +19 -11
  277. package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
  278. package/dist/{index-D9TEHLw6.d.ts → index-D9VZfr1G.d.ts} +2 -2
  279. package/dist/{index-CAP19BZD.d.ts → index-DOlcm-Ra.d.ts} +2 -0
  280. package/dist/{index-BAp4nVVN.d.ts → index-DfWSZiXT.d.ts} +4 -4
  281. package/dist/{index-Nln6FiRr.d.ts → index-DllhUVKp.d.ts} +1 -1
  282. package/dist/{index-C7uGs5Cl.d.ts → index-Dmr81uHZ.d.ts} +1 -1
  283. package/dist/{index-BenG-F5d.d.ts → index-maTGrWjF.d.ts} +1 -1
  284. package/dist/index.d.ts +29 -29
  285. package/dist/index.js +112 -111
  286. package/dist/{inputHold-CSq4NZlV.js → inputHold-C1LkNE02.js} +2 -2
  287. package/dist/interactiveAncestor-CEsQ_YQW.js +81 -0
  288. package/dist/internal/touch.d.ts +12 -0
  289. package/dist/internal/touch.js +13 -12
  290. package/dist/{itemSlots-0J_JDkUW.js → itemSlots-Bwd4-VOz.js} +3 -3
  291. package/dist/{landing-DjJvKu3c.js → landing-D7xDVHzh.js} +1 -1
  292. package/dist/{layerFocusReturn-Bl6yja5A.js → layerFocusReturn-Ddz5_Z2Z.js} +25 -53
  293. package/dist/{lazyBottomSheet-Bt7UIxYT.js → lazyBottomSheet-BU4N8Ac_.js} +1 -1
  294. package/dist/{pressSlot-DIN1AmiA.js → pressSlot-WuaTVSU4.js} +100 -4
  295. package/dist/{reducedMotion-BcstlXZU.js → reducedMotion-Dhe-YZCN.js} +10 -2
  296. package/dist/{reportChange-wIeU3q3y.js → reportChange-BBOtvOwM.js} +134 -14
  297. package/dist/{resizableChannel-C9UA4vam.js → resizableChannel-2W9ef4QQ.js} +2 -2
  298. package/dist/revealReturnTarget-DNX6xtLb.js +43 -0
  299. package/dist/{rideKeyboard-DiF6K9Lm.js → rideKeyboard-DgecasHn.js} +4 -4
  300. package/dist/{scrollKeyboardDelegation-COtRAAWq.js → scrollKeyboardDelegation-C8MwNYgK.js} +1 -1
  301. package/dist/{selectionRanges-DB5jesLz.js → selectionRanges-DBILfsSa.js} +1 -1
  302. package/dist/{snapPagingCatcher-BL_D9uL5.js → snapPagingCatcher-Dd8ROJj7.js} +2 -2
  303. package/dist/{textDirection-DJl_tYja.js → textDirection-DOiVLtX0.js} +12 -1
  304. package/dist/{tooltipFocusRules-D468Tl5q.js → tooltipFocusRules-BBshpLxm.js} +1 -1
  305. package/dist/{types-wKC-Ws-M.d.ts → types-xOsWAC6i.d.ts} +1 -1
  306. package/dist/{useActionGroupTracking-FyDVRrJo.js → useActionGroupTracking-1kCq936v.js} +2 -2
  307. package/dist/{useAnimatedLayout-CXjd5pjG.js → useAnimatedLayout-C8BF0iwr.js} +3 -3
  308. package/dist/{useAnimatedLayout-C0koWm4a.d.ts → useAnimatedLayout-D94sdliy.d.ts} +2 -2
  309. package/dist/{useFingerScroll-BhnBhQoa.js → useFingerScroll-DdV3zgsK.js} +2 -2
  310. package/dist/{useFocusTrap-Bj9GskLh.js → useFocusTrap-DhhwiBEF.js} +12 -5
  311. package/dist/{useGestureRecognizer-Bj0nynLS.js → useGestureRecognizer-NE4Lzt0W.js} +1 -1
  312. package/dist/{useInputContainer-CLhsKYZ6.js → useInputContainer-yA8wbN3_.js} +1 -1
  313. package/dist/{useInputStatusIcon-BOK9C-cK.js → useInputStatusIcon-B7TXwSHl.js} +1 -1
  314. package/dist/{useMenuEntranceHold-DD7NT3Ye.js → useMenuEntranceHold-Dkl03O-0.js} +1 -1
  315. package/dist/{useMenuPress-Cdh6Emnv.js → useMenuPress-DKGeEWJw.js} +63 -16
  316. package/dist/{useMobileKeyboard-jeeHdtVD.js → useMobileKeyboard-Difn_9Dm.js} +3 -3
  317. package/dist/{usePressFeedback-YVKOuzaa.js → usePressFeedback-BYdW3Z87.js} +3 -3
  318. package/dist/{useResizable-Diq3vRVH.js → useResizable-ZYDRiLfL.js} +39 -6
  319. package/dist/{useRestoreFocus-m3rsqE4d.js → useRestoreFocus-D04TyAC3.js} +6 -2
  320. package/dist/{useScrollOverflow-DuMoGXmm.js → useScrollOverflow-DzLw86tg.js} +21 -5
  321. package/dist/{useScrollableArea-i2X5vvTv.js → useScrollableArea-KpUvJnCb.js} +2 -2
  322. package/dist/{useTooltip-CJKLcg2f.js → useTooltip-CYRQuYj_.js} +3 -3
  323. package/dist/{useTouchHitArea-DUezWadK.js → useTouchHitArea-BBoTjQ32.js} +3 -9
  324. package/dist/{useTouchTriggerInternal-B9YsuMRa.js → useTouchTriggerInternal-CCk8lhbz.js} +1 -1
  325. package/dist/{useTruncationTooltip-QB_t0RDb.js → useTruncationTooltip-0gr37s_G.js} +2 -2
  326. package/dist/{useTypeaheadMenuConfig-TSkUldd9.js → useTypeaheadMenuConfig-sk8aSp57.js} +1 -1
  327. package/dist/utils/index.js +1 -1
  328. package/package.json +1 -1
  329. package/styles/keyboard-hint.css +18 -0
  330. package/dist/focusAcrossSwap-Casww_IY.js +0 -19
  331. package/dist/useClickableContainer-Dtjg-nkm.js +0 -141
  332. package/dist/{PressTracker-B_ffL9rM.js → PressTracker-CiaaoD3I.js} +1 -1
  333. package/dist/{index-DrIxH3YE.d.ts → index-C1a8VQ2i.d.ts} +1 -1
  334. package/dist/{presentation-Cl58tYA6.js → presentation-DkdwDJUs.js} +1 -1
  335. package/dist/{selectionLock-BM8XEZQD.js → selectionLock-c18P1UV3.js} +1 -1
@@ -2,12 +2,12 @@ import { f as toSpring } from "./roles-D6hLs7Rg.js";
2
2
  import { c as solveSpring } from "./linearEasing-CDsqxyiS.js";
3
3
  import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
4
4
  import { c as motionNow } from "./cssValues-Cr6PhYTx.js";
5
- import { n as createMotionEngine, r as SETTLE_THRESHOLD } from "./animator-D6Buqmbt.js";
5
+ import { n as createMotionEngine, r as SETTLE_THRESHOLD } from "./animator-L1kmTBSi.js";
6
6
  import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
7
7
  import { t as resolveMotion } from "./resolveMotion-BHR1cz0Q.js";
8
8
  import { d as springs, u as registerSpringsTable } from "./springs-BqW2WrS-.js";
9
- import { t as getGestureHost } from "./GestureHost-25aSFM1Y.js";
10
- import { t as PanGestureRecognizer } from "./PanGestureRecognizer-BVA9pqme.js";
9
+ import { t as getGestureHost } from "./GestureHost-zNPZolYj.js";
10
+ import { t as PanGestureRecognizer } from "./PanGestureRecognizer-Rfm59PpK.js";
11
11
  import { t as resolveSnapPoint } from "./resolveSnapPoint-Cm2KePTm.js";
12
12
  import { computed, inject, provide } from "vue";
13
13
  //#region src/gestures/createPanGesture.ts
@@ -1,4 +1,4 @@
1
- import { A as glides, T as transitionSettles, _ as layoutMotion, c as areaOf, w as settleTransition } from "./reportChange-wIeU3q3y.js";
1
+ import { E as transitionSettles, T as settleTransition, _ as layoutMotion, c as areaOf, j as glides } from "./reportChange-BBOtvOwM.js";
2
2
  //#region src/motion/layout/landing.ts
3
3
  /**
4
4
  * A disclosure's indicator (its chevron) turns on the same motion as the
@@ -1,53 +1,7 @@
1
- import { t as SCROLLABLE_OVERFLOW } from "./scrollView-BGBtu5JP.js";
2
1
  import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
3
- import { t as FOCUSABLE_SELECTOR } from "./focus-x7mxEqjR.js";
4
- import { t as focusForLastInput } from "./focusReturn-BeSRm0xD.js";
5
- //#region src/layer/revealReturnTarget.ts
6
- /**
7
- * 焦点归还后把打开者露出来(上游 utils/focusReturn.ts 的 `revealReturnTarget`)。
8
- *
9
- * 归还焦点本身不滚动页面。打开者是 Tab 能到的控件、放得进可见区域、却被页面滚出了
10
- * 视野(或只露出一部分)时,把它滚到最近的边上,键盘用户能看见焦点在哪。
11
- *
12
- * 不是 Tab 停靠点的目标不滚:WebKit 会把轻点按钮时最近的可聚焦祖先(比如
13
- * `tabindex="-1"` 的主区域)记成打开者,滚到它会把页面卷回那个区域的顶边。
14
- * 比可见区域还大的目标、被 `overflow: hidden` 裁掉的目标也不滚。
15
- */
16
- /** Tab 能到它:本身可聚焦,也没有负的 tabindex 把它移出顺序。 */
17
- function isTabStop(element) {
18
- const attribute = element.getAttribute("tabindex");
19
- if (attribute != null && Number.parseInt(attribute, 10) < 0) return false;
20
- return element.matches(FOCUSABLE_SELECTOR);
21
- }
22
- function fitsVisibleArea(element) {
23
- const doc = element.ownerDocument;
24
- const view = doc.defaultView;
25
- if (view == null) return false;
26
- const box = element.getBoundingClientRect();
27
- const viewport = view.visualViewport;
28
- if (box.width > (viewport?.width ?? view.innerWidth) || box.height > (viewport?.height ?? view.innerHeight)) return false;
29
- let shown = box;
30
- for (let scroller = element.parentElement; scroller != null; scroller = scroller.parentElement) {
31
- const style = view.getComputedStyle(scroller);
32
- const scrollsX = SCROLLABLE_OVERFLOW.has(style.overflowX);
33
- const scrollsY = SCROLLABLE_OVERFLOW.has(style.overflowY);
34
- if (scrollsX && box.width > scroller.clientWidth || scrollsY && box.height > scroller.clientHeight) return false;
35
- if (scroller === doc.documentElement || scroller === doc.body) continue;
36
- const clip = scroller.getBoundingClientRect();
37
- if (style.overflowX === "hidden" && (shown.left < clip.left || shown.right > clip.right) || style.overflowY === "hidden" && (shown.top < clip.top || shown.bottom > clip.bottom)) return false;
38
- if (scrollsX || scrollsY) shown = clip;
39
- }
40
- return true;
41
- }
42
- /** 焦点在 `element` 上、它是 Tab 停靠点并且放得进可见区域时,把它滚到最近的边上。 */
43
- function revealReturnTarget(element) {
44
- if (element.ownerDocument.activeElement !== element || !isTabStop(element) || typeof element.scrollIntoView !== "function" || !fitsVisibleArea(element)) return;
45
- element.scrollIntoView({
46
- block: "nearest",
47
- inline: "nearest"
48
- });
49
- }
50
- //#endregion
2
+ import { t as FOCUSABLE_SELECTOR } from "./focus-DxAD3umZ.js";
3
+ import { t as focusForLastInput } from "./focusReturn-CXHM5lOY.js";
4
+ import { t as revealReturnTarget } from "./revealReturnTarget-DNX6xtLb.js";
51
5
  //#region src/layer/layerFocusReturn.ts
52
6
  function documentOf(element) {
53
7
  if (element != null) return element.ownerDocument;
@@ -83,19 +37,37 @@ function trackLayerFocus(options) {
83
37
  doc,
84
38
  place,
85
39
  ancestors,
86
- stop: () => doc?.removeEventListener("focusin", onFocusIn, true)
40
+ focusMovingTo: null,
41
+ stop: () => {
42
+ doc?.removeEventListener("focusin", onFocusIn, true);
43
+ doc?.removeEventListener("blur", onBlur, true);
44
+ }
87
45
  };
88
46
  function onFocusIn(event) {
47
+ record.focusMovingTo = null;
89
48
  const current = options.getLayer();
90
49
  if (current != null && event.target instanceof Node && current.contains(event.target)) record.hasEntered = true;
91
50
  }
51
+ function onBlur(event) {
52
+ const next = event.relatedTarget;
53
+ const current = options.getLayer();
54
+ if (next instanceof Element && event.target instanceof Node && current != null && current.contains(event.target) && !current.contains(next)) {
55
+ record.focusMovingTo = next;
56
+ setTimeout(() => {
57
+ if (record.focusMovingTo === next) record.focusMovingTo = null;
58
+ }, 0);
59
+ }
60
+ }
92
61
  doc?.addEventListener("focusin", onFocusIn, true);
62
+ doc?.addEventListener("blur", onBlur, true);
93
63
  return record;
94
64
  }
95
65
  /** 焦点是不是被困在这一层:进过这一层,并且现在在这一层里或者掉到了 body 上。 */
96
66
  function isLayerFocusStranded(record, layer) {
97
67
  const { doc } = record;
98
68
  if (!record.hasEntered || doc == null) return false;
69
+ const movingTo = record.focusMovingTo;
70
+ if (movingTo instanceof HTMLElement && movingTo.isConnected && qualifies(movingTo, layer)) return false;
99
71
  const active = doc.activeElement;
100
72
  return isDetached(doc) || layer != null && active != null && layer.contains(active);
101
73
  }
@@ -132,13 +104,13 @@ function findController(doc, layerId) {
132
104
  return null;
133
105
  }
134
106
  /** 给本身不能聚焦的元素临时加一个 `tabindex="-1"`,焦点离开时摘掉。 */
135
- function focusWithTemporaryStop(element, reveal) {
107
+ function focusWithTemporaryStop(element) {
136
108
  if (!isFocusableNow(element)) {
137
109
  element.setAttribute("tabindex", "-1");
138
110
  element.addEventListener("blur", () => element.removeAttribute("tabindex"), { once: true });
139
111
  }
140
112
  focusForLastInput(element, { preventScroll: true });
141
- if (reveal) revealReturnTarget(element);
113
+ revealReturnTarget(element);
142
114
  }
143
115
  /**
144
116
  * 沿候选链把焦点送出这一层。只在焦点被困住时调用(见 `isLayerFocusStranded`)。
@@ -159,7 +131,7 @@ function restoreLayerFocus(record, options) {
159
131
  ];
160
132
  for (const candidate of candidates) {
161
133
  if (!qualifies(candidate, layer)) continue;
162
- focusWithTemporaryStop(candidate, options.reveal === true);
134
+ focusWithTemporaryStop(candidate);
163
135
  if (doc?.activeElement === candidate) return true;
164
136
  }
165
137
  devWarn(options.name ?? "Layer", "focus could not return anywhere after the layer closed: the opener, the trigger and every fallback are gone or cannot take focus.");
@@ -1,7 +1,7 @@
1
1
  import { defineAsyncComponent } from "vue";
2
2
  //#region src/BottomSheet/lazyBottomSheet.ts
3
3
  function loadBottomSheet() {
4
- return import("./BottomSheet-j8vx6nzu.js").then((n) => n.t);
4
+ return import("./BottomSheet-C4Tquvok.js").then((n) => n.t);
5
5
  }
6
6
  /**
7
7
  * 按需加载的 BottomSheet:只在底部弹层真正进入组件树时请求,只用锚定浮层的页面
@@ -1,5 +1,98 @@
1
1
  import { a as idlePressGesture, n as PRESS_ONSET_MS, o as pressGestureStep, t as PRESS_FLASH_MS } from "./pressGesture-VrM5-7aV.js";
2
- import { n as hasInteractiveAncestor } from "./useClickableContainer-Dtjg-nkm.js";
2
+ import { n as innermostInteractive, r as labelledControl } from "./interactiveAncestor-CEsQ_YQW.js";
3
+ //#region src/composables/internal/pressGroupItem.ts
4
+ /**
5
+ * 组跟踪的动作身上的标记,单独放在这里,不带任何依赖:
6
+ * 单独用的按钮和切换按钮读这个标记时,不用把组的按压跟踪和它背后的触摸运行时一起加载。
7
+ */
8
+ /** 按钮组、提示对话框跟踪滑动的动作带这个标记,值是组跟踪的指针类型,比如 `touch pen`。 */
9
+ const PRESS_GROUP_ITEM_ATTRIBUTE = "data-astryx-press-group-item";
10
+ /** 组跟踪手指和笔的滑动;鼠标保持原生按钮的行为。 */
11
+ const GROUP_PRESS_POINTERS = ["touch", "pen"];
12
+ /** 摊到组跟踪的每个动作上的标记。 */
13
+ function pressGroupItemProps(pointerTypes = GROUP_PRESS_POINTERS) {
14
+ return { [PRESS_GROUP_ITEM_ATTRIBUTE]: pointerTypes.join(" ") };
15
+ }
16
+ //#endregion
17
+ //#region src/composables/useClickableContainer.ts
18
+ function hasInteractiveAncestor(element, root) {
19
+ return innermostInteractive(element, root) != null;
20
+ }
21
+ function hasTextSelection(node) {
22
+ if (typeof document === "undefined" || document.getSelection == null) return false;
23
+ const selection = document.getSelection();
24
+ if (selection == null || selection.isCollapsed) return false;
25
+ return node.contains(selection.anchorNode);
26
+ }
27
+ function openInNewTab(href) {
28
+ window.open(href, "_blank", "noopener");
29
+ }
30
+ /**
31
+ * 把容器的 click / mouseup 交给调用方绑到根元素上。
32
+ * 组件挂载后会给容器加上 `data-pressable-container`,嵌套的可点容器因此不会互相抢走点击。
33
+ */
34
+ function useClickableContainer(options) {
35
+ function markContainer() {
36
+ const container = options.containerRef.value;
37
+ if (container != null) container.dataset.pressableContainer = "true";
38
+ }
39
+ function onClick(event) {
40
+ markContainer();
41
+ if (options.disabled) return;
42
+ const container = options.containerRef.value;
43
+ if (container == null) return;
44
+ if (hasTextSelection(container)) return;
45
+ const target = event.target;
46
+ if (!(target instanceof Element)) return;
47
+ if (target !== event.currentTarget && hasInteractiveAncestor(target, container)) return;
48
+ options.onClick?.(event);
49
+ if (event.defaultPrevented) return;
50
+ const href = options.href;
51
+ if (href != null && href !== "") {
52
+ if (options.target === "_blank" || event.metaKey || event.ctrlKey) {
53
+ openInNewTab(href);
54
+ return;
55
+ }
56
+ const interactive = options.interactiveRef?.value;
57
+ if (interactive != null) {
58
+ interactive.click();
59
+ return;
60
+ }
61
+ window.location.assign(href);
62
+ return;
63
+ }
64
+ if (options.onClick == null) {
65
+ const interactive = options.interactiveRef?.value;
66
+ if (interactive != null) {
67
+ interactive.dispatchEvent(new MouseEvent("click", {
68
+ bubbles: true,
69
+ cancelable: true,
70
+ button: event.button,
71
+ ctrlKey: event.ctrlKey,
72
+ metaKey: event.metaKey,
73
+ shiftKey: event.shiftKey,
74
+ altKey: event.altKey
75
+ }));
76
+ event.stopPropagation();
77
+ }
78
+ }
79
+ }
80
+ function onMouseUp(event) {
81
+ if (options.disabled) return;
82
+ const href = options.href;
83
+ if (href == null || href === "" || event.button !== 1) return;
84
+ const container = options.containerRef.value;
85
+ const target = event.target;
86
+ if (container == null || !(target instanceof Element)) return;
87
+ if (target !== event.currentTarget && hasInteractiveAncestor(target, container)) return;
88
+ openInNewTab(href);
89
+ }
90
+ return {
91
+ onClick,
92
+ onMouseUp
93
+ };
94
+ }
95
+ //#endregion
3
96
  //#region src/composables/internal/pressHeld.ts
4
97
  /**
5
98
  * 一块可按表面的按压被它的主人「按住不放」:表面照样接住按压,但什么都不画,和不可用的表面一样,
@@ -36,8 +129,6 @@ const PRESSABLE_ATTRIBUTE = "data-astryx-pressable";
36
129
  const PRESS_CONTAINER_ATTRIBUTE = "data-astryx-press-container";
37
130
  /** 可按容器自己的动作元素:按它就是按容器。 */
38
131
  const PRESS_ACTION_ATTRIBUTE = "data-astryx-press-action";
39
- /** 按钮组、提示对话框跟踪滑动的动作带这个标记,值是组跟踪的指针类型,比如 `touch pen`。 */
40
- const PRESS_GROUP_ITEM_ATTRIBUTE = "data-astryx-press-group-item";
41
132
  /** 这个元素(或它外面)是不是由组来画 `pointerType` 这种指针的按压。 */
42
133
  function isTrackedByGroup(element, pointerType) {
43
134
  const marked = element.closest(`[${PRESS_GROUP_ITEM_ATTRIBUTE}]`);
@@ -52,6 +143,11 @@ const DISABLED = ":disabled, [aria-disabled=\"true\"]";
52
143
  function landsOnNestedControl(target, container) {
53
144
  const action = target.closest(`[${PRESS_ACTION_ATTRIBUTE}]`);
54
145
  if (action != null && container.contains(action)) return false;
146
+ const owner = innermostInteractive(target, container);
147
+ const control = owner == null ? null : labelledControl(owner);
148
+ if (control != null) {
149
+ if (container.querySelector(`[data-astryx-press-action]`)?.contains(control) === true) return false;
150
+ }
55
151
  return hasInteractiveAncestor(target, container);
56
152
  }
57
153
  /**
@@ -237,4 +333,4 @@ function takeOver(other, element) {
237
333
  if (other.live?.element === element) finish(other);
238
334
  }
239
335
  //#endregion
240
- export { finish as a, pressFadeMs as c, PRESS_CONTAINER_ATTRIBUTE as d, PRESS_GROUP_ITEM_ATTRIBUTE as f, setPressHeld as h, finger as i, PRESSABLE_ATTRIBUTE as l, pressSurfaceAt as m, apply as n, releaseIfDead as o, isTrackedByGroup as p, button as r, takeOver as s, PRESSED_ATTRIBUTE as t, PRESS_ACTION_ATTRIBUTE as u };
336
+ export { useClickableContainer as _, finish as a, pressGroupItemProps as b, pressFadeMs as c, PRESS_CONTAINER_ATTRIBUTE as d, isTrackedByGroup as f, hasTextSelection as g, hasInteractiveAncestor as h, finger as i, PRESSABLE_ATTRIBUTE as l, setPressHeld as m, apply as n, releaseIfDead as o, pressSurfaceAt as p, button as r, takeOver as s, PRESSED_ATTRIBUTE as t, PRESS_ACTION_ATTRIBUTE as u, GROUP_PRESS_POINTERS as v, PRESS_GROUP_ITEM_ATTRIBUTE as y };
@@ -43,6 +43,14 @@ import { t as resolveMotion } from "./resolveMotion-BHR1cz0Q.js";
43
43
  * `reducedMotionKeys`, exactly.
44
44
  */
45
45
  /**
46
+ * Whether motion is reduced for `element`: the person's Reduce Motion
47
+ * setting, or a theme that reduces motion for everyone around it. Script code
48
+ * that holds an element decides Reduce Motion here.
49
+ */
50
+ function reducesMotion(element) {
51
+ return defaultPrefersReducedMotion() || themeReducesMotion(element);
52
+ }
53
+ /**
46
54
  * The Reduced Motion fade for a change to `element` now, for motion the
47
55
  * animator does not drive (two titles cross-fading with Web Animations):
48
56
  * null when motion is not reduced (play the normal motion), else an
@@ -51,7 +59,7 @@ import { t as resolveMotion } from "./resolveMotion-BHR1cz0Q.js";
51
59
  * the length is fixed.
52
60
  */
53
61
  function reducedMotionFade(element, options = {}) {
54
- if (!defaultPrefersReducedMotion() && !themeReducesMotion(element)) return null;
62
+ if (!reducesMotion(element)) return null;
55
63
  if (!(options.touchRelease === true || defaultIsCoarsePointer())) return {
56
64
  duration: 0,
57
65
  easing: "linear"
@@ -118,4 +126,4 @@ function endTime(animation, duration) {
118
126
  return typeof start === "number" ? start + duration : null;
119
127
  }
120
128
  //#endregion
121
- export { reducedMotionFade as n, playReducedMotionDip as t };
129
+ export { reducedMotionFade as n, reducesMotion as r, playReducedMotionDip as t };
@@ -2,7 +2,7 @@ import { a as sharedState, n as sharedKey, o as sharedWeakMap, r as sharedMap, s
2
2
  import { f as toSpring } from "./roles-D6hLs7Rg.js";
3
3
  import { c as solveSpring, i as reducedMotionCrossFade, n as sampleCount, s as settlingDuration, t as linearEasing } from "./linearEasing-CDsqxyiS.js";
4
4
  import { r as themeReducesMotion } from "./reducedMotionMark-CYSyfURo.js";
5
- import { a as registerPresentedOffset, c as writePresentedResolve, n as clearPresentedResolve, t as batchPresented } from "./presentation-Cl58tYA6.js";
5
+ import { a as registerPresentedOffset, c as writePresentedResolve, n as clearPresentedResolve, t as batchPresented } from "./presentation-DkdwDJUs.js";
6
6
  import { i as readThemeTokenText, n as readThemeTiming } from "./themeTiming-DOf0j6SM.js";
7
7
  //#region src/motion/layout/glides.ts
8
8
  /**
@@ -500,6 +500,13 @@ function settleTransition(element, progress) {
500
500
  * @position Internal to motion/layout; split from upstream motion/animatedLayout.ts
501
501
  */
502
502
  /**
503
+ * Each document's change start: an iframe or a Picture-in-Picture window
504
+ * keeps its own clock, with its own origin and frames.
505
+ */
506
+ const changeStarts = sharedWeakMap("motion/animated-layout/change-starts", 1);
507
+ /** Each waiting animation's held start time and the fill it had before. */
508
+ const holds = sharedWeakMap("motion/animated-layout/holds", 1);
509
+ /**
503
510
  * Play `keyframes` on `element`. Every option here (linear easing over sampled
504
511
  * keyframes, replace composition) is one any Web Animations engine takes, so
505
512
  * a failure means no Web Animations at all: the change then lands at once.
@@ -522,21 +529,117 @@ function safeAnimate(element, keyframes, options, change, scale = {
522
529
  if (now != null) {
523
530
  const start = change != null && change.frame === Number(now) ? change : startFor(doc, Number(now));
524
531
  start.last = clockOf(doc);
525
- animation.startTime = start.at;
526
- if (start.at !== Number(now)) {
527
- const fill = animation.effect?.getTiming().fill;
528
- animation.effect?.updateTiming({ fill: fill === "forwards" || fill === "both" ? "both" : "backwards" });
529
- }
532
+ if (start.waiting != null) {
533
+ holdForFirstFrame(animation, Number(now));
534
+ start.waiting.add(animation);
535
+ } else startAt(animation, start.at, Number(now));
530
536
  }
537
+ trackRunning(doc, animation);
531
538
  const onResolve = options.pseudoElement == null ? presentGlide(element, animation, keyframes, options, scale) : void 0;
532
539
  settleAnimation(element, animation, keyframes, options, onResolve);
533
540
  return animation;
534
541
  }
535
542
  /**
536
- * Each document's change start: an iframe or a Picture-in-Picture window
537
- * keeps its own clock, with its own origin and frames.
543
+ * Each document's animations from this module that can still run, so a
544
+ * change can tell whether it is made from rest.
538
545
  */
539
- const changeStarts = sharedWeakMap("motion/animated-layout/change-starts", 1);
546
+ const runningIn = sharedWeakMap("motion/animated-layout/running", 1);
547
+ /** Record `animation` as one of `doc`'s motions until it ends. */
548
+ function trackRunning(doc, animation) {
549
+ let running = runningIn.get(doc);
550
+ if (running == null) {
551
+ running = /* @__PURE__ */ new Set();
552
+ runningIn.set(doc, running);
553
+ }
554
+ const motions = running;
555
+ motions.add(animation);
556
+ const end = () => {
557
+ motions.delete(animation);
558
+ };
559
+ animation.addEventListener?.("finish", end);
560
+ animation.addEventListener?.("cancel", end);
561
+ }
562
+ /**
563
+ * Whether one of this module's motions runs in `doc`. A change made now then
564
+ * continues motion on the screen. A motion that holds its first keyframe has
565
+ * not moved yet, so it does not count.
566
+ */
567
+ function isMotionRunning(doc) {
568
+ const running = runningIn.get(doc);
569
+ if (running == null) return false;
570
+ for (const animation of running) {
571
+ if (holds.has(animation)) continue;
572
+ if (animation.playState === "running") return true;
573
+ if (animation.playState === "finished" || animation.playState === "idle") running.delete(animation);
574
+ }
575
+ return false;
576
+ }
577
+ /**
578
+ * Start `animation` at `at` on the document timeline, which reads `frame`.
579
+ * Started after the frame time the timeline still reads: until the timeline
580
+ * gets there it shows its first keyframe, not the element at rest.
581
+ */
582
+ function startAt(animation, at, frame) {
583
+ animation.startTime = at;
584
+ if (at !== frame) {
585
+ const fill = animation.effect?.getTiming?.().fill;
586
+ animation.effect?.updateTiming?.({ fill: fill === "forwards" || fill === "both" ? "both" : "backwards" });
587
+ }
588
+ }
589
+ /**
590
+ * How far ahead of the timeline a waiting animation's start time is held, ms.
591
+ * A start that far ahead shows the first keyframe for days.
592
+ */
593
+ const HOLD_AHEAD_MS = 1e9;
594
+ /**
595
+ * Hold `animation` at its first keyframe until the first frame drawn after
596
+ * its change's task. A start time far ahead of `now`, the timeline's time,
597
+ * holds it. A set start time also cancels the animation's pending play task.
598
+ * An engine can run that task before the frame, on a clock from before a long
599
+ * task, and the motion then skips ahead.
600
+ */
601
+ function holdForFirstFrame(animation, now) {
602
+ const fill = animation.effect?.getTiming?.().fill;
603
+ const startTime = now + HOLD_AHEAD_MS;
604
+ holds.set(animation, {
605
+ startTime,
606
+ fill
607
+ });
608
+ animation.startTime = startTime;
609
+ animation.effect?.updateTiming?.({ fill: fill === "forwards" || fill === "both" ? "both" : "backwards" });
610
+ }
611
+ /**
612
+ * Whether `animation` still holds the start time `held`. Code that paused,
613
+ * sought, finished or cancelled it since then changed that start time. An
614
+ * engine can round a start time it keeps, so a difference under 1 ms counts
615
+ * as the same.
616
+ */
617
+ function isStillHeld(animation, held) {
618
+ const { startTime } = animation;
619
+ return animation.playState !== "idle" && startTime != null && Math.abs(Number(startTime) - held) < 1;
620
+ }
621
+ /**
622
+ * Start the animations a change made from rest holds, all at one moment: the
623
+ * first frame's time. After a long task, a frame can carry the time of a
624
+ * frame scheduled before it. Then the moment is when the frame runs.
625
+ */
626
+ function startWaiting(doc, start) {
627
+ const { waiting } = start;
628
+ start.waiting = null;
629
+ if (waiting == null) return;
630
+ if (changeStarts.get(doc) === start) changeStarts.delete(doc);
631
+ const timeline = doc.timeline?.currentTime;
632
+ const frame = timeline == null ? start.at : Number(timeline);
633
+ const now = clockOf(doc);
634
+ start.at = now - frame <= 34 ? frame : now;
635
+ for (const animation of waiting) {
636
+ const hold = holds.get(animation);
637
+ holds.delete(animation);
638
+ if (hold == null || !isStillHeld(animation, hold.startTime)) continue;
639
+ animation.startTime = start.at;
640
+ if (start.at === frame && hold.fill != null) animation.effect?.updateTiming?.({ fill: hold.fill });
641
+ }
642
+ }
540
643
  /** The clock of the document whose timeline a start is read on. */
541
644
  function clockOf(doc) {
542
645
  return (doc.defaultView?.performance ?? performance).now();
@@ -548,21 +651,27 @@ function clockOf(doc) {
548
651
  * rest of a commit or a slow swap. The start holds while the timeline reads
549
652
  * the same frame: through the task that made it and the microtasks after it.
550
653
  * A change that begins after a block takes a start of its own (beginChange).
654
+ * A change made from rest waits for its first frame (startWaiting), and a
655
+ * change made before that frame joins it.
551
656
  */
552
657
  function startFor(doc, frame) {
553
658
  const now = clockOf(doc);
554
659
  const held = changeStarts.get(doc);
555
- if (held != null && held.frame === frame) {
660
+ if (held != null && (held.frame === frame || held.waiting != null)) {
556
661
  held.last = now;
557
662
  return held;
558
663
  }
664
+ const view = doc.defaultView;
665
+ const isFromRest = typeof view?.requestAnimationFrame === "function" && !isMotionRunning(doc);
559
666
  const start = {
560
667
  frame,
561
668
  at: now - frame <= 34 ? frame : now,
562
- last: now
669
+ last: now,
670
+ waiting: isFromRest ? /* @__PURE__ */ new Set() : null
563
671
  };
564
672
  changeStarts.set(doc, start);
565
- (doc.defaultView?.setTimeout ?? setTimeout)(() => {
673
+ if (isFromRest) view?.requestAnimationFrame(() => startWaiting(doc, start));
674
+ (view?.setTimeout ?? setTimeout)(() => {
566
675
  if (changeStarts.get(doc) === start) changeStarts.delete(doc);
567
676
  }, 0);
568
677
  return start;
@@ -575,7 +684,7 @@ function startFor(doc, frame) {
575
684
  */
576
685
  function beginChange(doc) {
577
686
  const held = changeStarts.get(doc);
578
- if (held != null && clockOf(doc) - held.last > 34) changeStarts.delete(doc);
687
+ if (held != null && held.waiting == null && clockOf(doc) - held.last > 34) changeStarts.delete(doc);
579
688
  }
580
689
  /**
581
690
  * When the animations of the layout change being made start. Code that
@@ -588,6 +697,17 @@ function layoutStartFor(document) {
588
697
  const now = document.timeline?.currentTime;
589
698
  return now == null ? 0 : startFor(document, Number(now)).at;
590
699
  }
700
+ /**
701
+ * Reads, when called, the start `layoutStartFor` gives now. Code that keeps
702
+ * the start of a change, to measure a later change against, keeps this
703
+ * reader. A change made from rest takes its start later (startWaiting).
704
+ */
705
+ function layoutStartReaderFor(document) {
706
+ const now = document.timeline?.currentTime;
707
+ if (now == null) return () => 0;
708
+ const start = startFor(document, Number(now));
709
+ return () => start.at;
710
+ }
591
711
  /** The touch cross-fade's cap (`design:reduced-motion` DR2). */
592
712
  const CROSS_FADE_CAP_MS = 200;
593
713
  function matches(element, query) {
@@ -1821,4 +1941,4 @@ function reportLayoutChange(handle, target) {
1821
1941
  };
1822
1942
  }
1823
1943
  //#endregion
1824
- export { glides as A, safeAnimate as C, scaleOf as D, intersects as E, visibleRect as O, layoutStartFor as S, transitionSettles as T, layoutMotion as _, placeOf as a, springGlide as b, areaOf as c, extentOf as d, isRtl as f, glideNextChange as g, changeStartIn as h, nextInFlow as i, shownBoxAt as j, glideOf as k, createAnimatedLayout as l, pxClip as m, rideNeighbour as n, releaseLayoutExit as o, previousInFlow as p, holdLayoutExit as r, playLayoutChange as s, reportLayoutChange as t, readArea as u, sampleKeyframes as v, settleTransition as w, beginChange as x, sampleOver as y };
1944
+ export { glideOf as A, layoutStartReaderFor as C, intersects as D, transitionSettles as E, shownBoxAt as M, scaleOf as O, layoutStartFor as S, settleTransition as T, layoutMotion as _, placeOf as a, springGlide as b, areaOf as c, extentOf as d, isRtl as f, glideNextChange as g, changeStartIn as h, nextInFlow as i, glides as j, visibleRect as k, createAnimatedLayout as l, pxClip as m, rideNeighbour as n, releaseLayoutExit as o, previousInFlow as p, holdLayoutExit as r, playLayoutChange as s, reportLayoutChange as t, readArea as u, sampleKeyframes as v, safeAnimate as w, beginChange as x, sampleOver as y };
@@ -1,8 +1,8 @@
1
1
  import { o as sharedWeakMap } from "./sharedRealm-BYHklCVM.js";
2
2
  import { t as resolveMotion } from "./resolveMotion-BHR1cz0Q.js";
3
3
  import { d as springs } from "./springs-BqW2WrS-.js";
4
- import { C as safeAnimate, D as scaleOf, E as intersects, O as visibleRect, _ as layoutMotion, a as placeOf, b as springGlide, c as areaOf, d as extentOf, f as isRtl, g as glideNextChange, h as changeStartIn, i as nextInFlow, k as glideOf, l as createAnimatedLayout, m as pxClip, n as rideNeighbour, p as previousInFlow, t as reportLayoutChange, x as beginChange, y as sampleOver } from "./reportChange-wIeU3q3y.js";
5
- import { n as landLayoutGlide } from "./landing-DjJvKu3c.js";
4
+ import { A as glideOf, D as intersects, O as scaleOf, _ as layoutMotion, a as placeOf, b as springGlide, c as areaOf, d as extentOf, f as isRtl, g as glideNextChange, h as changeStartIn, i as nextInFlow, k as visibleRect, l as createAnimatedLayout, m as pxClip, n as rideNeighbour, p as previousInFlow, t as reportLayoutChange, w as safeAnimate, x as beginChange, y as sampleOver } from "./reportChange-BBOtvOwM.js";
5
+ import { n as landLayoutGlide } from "./landing-D7xDVHzh.js";
6
6
  //#region src/motion/layout/edgeReport.ts
7
7
  const resizeReveals = sharedWeakMap("motion/animated-layout/resize-reveals", 1);
8
8
  /** The inline properties a size hold sets, by axis. */
@@ -0,0 +1,43 @@
1
+ import { t as SCROLLABLE_OVERFLOW } from "./scrollView-BGBtu5JP.js";
2
+ import { a as isTabStop, t as FOCUSABLE_SELECTOR } from "./focus-DxAD3umZ.js";
3
+ //#region src/layer/revealReturnTarget.ts
4
+ /**
5
+ * 焦点归还后把打开者露出来(上游 utils/focusReturn.ts 的 `revealReturnTarget`)。
6
+ *
7
+ * 归还焦点本身不滚动页面。打开者是 Tab 能到的控件、放得进可见区域、却被页面滚出了
8
+ * 视野(或只露出一部分)时,把它滚到最近的边上,键盘用户能看见焦点在哪。
9
+ *
10
+ * 不是 Tab 停靠点的目标不滚:WebKit 会把轻点按钮时最近的可聚焦祖先(比如
11
+ * `tabindex="-1"` 的主区域)记成打开者,滚到它会把页面卷回那个区域的顶边。
12
+ * 比可见区域还大的目标、被 `overflow: hidden` 裁掉的目标也不滚。
13
+ */
14
+ function fitsVisibleArea(element) {
15
+ const doc = element.ownerDocument;
16
+ const view = doc.defaultView;
17
+ if (view == null) return false;
18
+ const box = element.getBoundingClientRect();
19
+ const viewport = view.visualViewport;
20
+ if (box.width > (viewport?.width ?? view.innerWidth) || box.height > (viewport?.height ?? view.innerHeight)) return false;
21
+ let shown = box;
22
+ for (let scroller = element.parentElement; scroller != null; scroller = scroller.parentElement) {
23
+ const style = view.getComputedStyle(scroller);
24
+ const scrollsX = SCROLLABLE_OVERFLOW.has(style.overflowX);
25
+ const scrollsY = SCROLLABLE_OVERFLOW.has(style.overflowY);
26
+ if (scrollsX && box.width > scroller.clientWidth || scrollsY && box.height > scroller.clientHeight) return false;
27
+ if (scroller === doc.documentElement || scroller === doc.body) continue;
28
+ const clip = scroller.getBoundingClientRect();
29
+ if (style.overflowX === "hidden" && (shown.left < clip.left || shown.right > clip.right) || style.overflowY === "hidden" && (shown.top < clip.top || shown.bottom > clip.bottom)) return false;
30
+ if (scrollsX || scrollsY) shown = clip;
31
+ }
32
+ return true;
33
+ }
34
+ /** 焦点在 `element` 上、它是 Tab 停靠点并且放得进可见区域时,把它滚到最近的边上。 */
35
+ function revealReturnTarget(element) {
36
+ if (element.ownerDocument.activeElement !== element || !element.matches(FOCUSABLE_SELECTOR) || !isTabStop(element) || typeof element.scrollIntoView !== "function" || !fitsVisibleArea(element)) return;
37
+ element.scrollIntoView({
38
+ block: "nearest",
39
+ inline: "nearest"
40
+ });
41
+ }
42
+ //#endregion
43
+ export { revealReturnTarget as t };
@@ -1,13 +1,13 @@
1
- import { c as isHTMLElement, l as isNode, s as isElement } from "./flatTree-BB4yPMNL.js";
2
- import { t as armClickGuard } from "./clickGuard-CdmRG-4c.js";
1
+ import { t as armClickGuard } from "./clickGuard-DOe-7mpi.js";
3
2
  import { o as sharedWeakMap, s as sharedWeakSet } from "./sharedRealm-BYHklCVM.js";
4
3
  import { i as getTouches, s as subscribeInput } from "./inputStream-CFvjNDgT.js";
4
+ import { c as isHTMLElement, l as isNode, s as isElement } from "./flatTree-BB4yPMNL.js";
5
5
  import { i as PRESS_SLOP_PX } from "./pressGesture-VrM5-7aV.js";
6
6
  import { t as cubicBezier } from "./bezier-Dko5MnTp.js";
7
7
  import { n as isIosWebKit } from "./touchQueries-xy5IeZfe.js";
8
- import { t as caretAt } from "./selectionRanges-DB5jesLz.js";
8
+ import { t as caretAt } from "./selectionRanges-DBILfsSa.js";
9
9
  import { n as matchesMediaQuery, t as isCoarsePointer } from "./coarsePointer-BWNSUIY8.js";
10
- import { n as reducedMotionFade } from "./reducedMotion-BcstlXZU.js";
10
+ import { n as reducedMotionFade } from "./reducedMotion-Dhe-YZCN.js";
11
11
  //#region src/utils/layoutViewport.ts
12
12
  /**
13
13
  * @file layoutViewport.ts
@@ -1,4 +1,4 @@
1
- import { t as FOCUSABLE_SELECTOR } from "./focus-x7mxEqjR.js";
1
+ import { t as FOCUSABLE_SELECTOR } from "./focus-DxAD3umZ.js";
2
2
  import { o as isScrollCapableOverflow } from "./scrollGeometry-ajfQQRJt.js";
3
3
  //#region src/composables/internal/scrollOwnerRegistry.ts
4
4
  const owners = /* @__PURE__ */ new WeakMap();
@@ -1,5 +1,5 @@
1
1
  import { a as shadowRootsOutward, i as shadowHostOf, r as parentAcrossShadow } from "./flatTree-BB4yPMNL.js";
2
- import { t as isTextEntry } from "./selectionLock-BM8XEZQD.js";
2
+ import { t as isTextEntry } from "./selectionLock-c18P1UV3.js";
3
3
  //#region src/utils/selectionRanges.ts
4
4
  /**
5
5
  * @file selectionRanges.ts
@@ -1,10 +1,10 @@
1
1
  import { a as registerMotionTable, f as toSpring } from "./roles-D6hLs7Rg.js";
2
2
  import { c as solveSpring } from "./linearEasing-CDsqxyiS.js";
3
3
  import { d as registerScrollTable, f as scroll } from "./gestures-BpGkqgpV.js";
4
- import { r as SETTLE_THRESHOLD } from "./animator-D6Buqmbt.js";
4
+ import { r as SETTLE_THRESHOLD } from "./animator-L1kmTBSi.js";
5
5
  import { t as resolveMotion } from "./resolveMotion-BHR1cz0Q.js";
6
6
  import { n as solveDecay } from "./decay-ClFADeqT.js";
7
- import { t as LongPressGestureRecognizer } from "./LongPressGestureRecognizer-DyfS9mpX.js";
7
+ import { t as LongPressGestureRecognizer } from "./LongPressGestureRecognizer-CAh3wlYA.js";
8
8
  //#region src/motion/coast.ts
9
9
  /** A curve that holds `end` from `duration` on. */
10
10
  function settling(duration, end, at, velocity) {
@@ -21,6 +21,17 @@ function textDirection(content) {
21
21
  if (typeof content !== "string" && typeof content !== "number") return void 0;
22
22
  return hasStrongRightToLeft(String(content)) ? void 0 : "ltr";
23
23
  }
24
+ /** 从左到右隔离(LRI,U+2066)和弹出隔离(PDI,U+2069)。 */
25
+ const LEFT_TO_RIGHT_ISOLATE = "⁦";
26
+ const POP_DIRECTIONAL_ISOLATE = "⁩";
27
+ /**
28
+ * 只能交出一段纯文字、没法给装文字的元素标 `dir` 的地方(例如一个只收字符串的气泡)用:
29
+ * `textDirection` 答 `'ltr'` 的文字包进一对从左到右的隔离符,等同于套一层 `dir="ltr"` 的 span。
30
+ * 只改文字的排列顺序,不改对齐。空字符串原样返回。
31
+ */
32
+ function isolateTextDirection(text) {
33
+ return text === "" || textDirection(text) !== "ltr" ? text : `${LEFT_TO_RIGHT_ISOLATE}${text}${POP_DIRECTIONAL_ISOLATE}`;
34
+ }
24
35
  const LETTER = unicodeRegExp("\\p{Letter}");
25
36
  /** 文字里有没有不是右到左的字母。数字和标点不算,所以 "דוח 2026" 仍算一种文字。 */
26
37
  function hasStrongLeftToRight(text) {
@@ -57,4 +68,4 @@ function plainSlotText(nodes) {
57
68
  return text;
58
69
  }
59
70
  //#endregion
60
- export { textDirection as i, cutTextDirection as n, plainSlotText as r, CUT_TEXT_PAGE_ALIGN_CLASS as t };
71
+ export { textDirection as a, plainSlotText as i, cutTextDirection as n, isolateTextDirection as r, CUT_TEXT_PAGE_ALIGN_CLASS as t };