@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
@@ -1,23 +1,25 @@
1
1
  import { s as subscribeInput } from "./inputStream-CFvjNDgT.js";
2
- import { n as useTouchHitArea } from "./useTouchHitArea-DUezWadK.js";
2
+ import { n as useTouchHitArea } from "./useTouchHitArea-BBoTjQ32.js";
3
3
  import { f as toSpring, u as durationBounceOf } from "./roles-D6hLs7Rg.js";
4
+ import { i as reducedMotionCrossFade } from "./linearEasing-CDsqxyiS.js";
4
5
  import { f as scroll, r as UIKIT_GESTURES } from "./gestures-BpGkqgpV.js";
6
+ import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
5
7
  import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-zwZQglr2.js";
6
8
  import { o as pushLayer } from "./layerDepth-DxI-GE81.js";
7
9
  import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
8
10
  import { t as useMediaQuery } from "./useMediaQuery-DKnSDG3S.js";
9
11
  import { c as motionNow, s as isIdentityText } from "./cssValues-Cr6PhYTx.js";
10
- import { n as createMotionEngine, r as SETTLE_THRESHOLD, t as animatorFor } from "./animator-D6Buqmbt.js";
12
+ import { n as createMotionEngine, r as SETTLE_THRESHOLD, t as animatorFor } from "./animator-L1kmTBSi.js";
11
13
  import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
12
14
  import { t as resolveMotion } from "./resolveMotion-BHR1cz0Q.js";
13
15
  import { n as solveDecay } from "./decay-ClFADeqT.js";
14
- import { i as coast, n as paging, t as SettleCatcher } from "./snapPagingCatcher-BL_D9uL5.js";
16
+ import { i as coast, n as paging, t as SettleCatcher } from "./snapPagingCatcher-Dd8ROJj7.js";
15
17
  import { d as springs, u as registerSpringsTable } from "./springs-BqW2WrS-.js";
16
- import { t as getGestureHost } from "./GestureHost-25aSFM1Y.js";
17
- import { t as PanGestureRecognizer } from "./PanGestureRecognizer-BVA9pqme.js";
18
- import { i as locksSelectionFor, n as lockSelection } from "./selectionLock-BM8XEZQD.js";
18
+ import { t as getGestureHost } from "./GestureHost-zNPZolYj.js";
19
+ import { t as PanGestureRecognizer } from "./PanGestureRecognizer-Rfm59PpK.js";
20
+ import { i as locksSelectionFor, n as lockSelection } from "./selectionLock-c18P1UV3.js";
19
21
  import { t as VelocityTracker } from "./VelocityTracker-Cw1aVRnL.js";
20
- import { f as createPanGesture, l as useListContext, r as useItemLabelId, u as createSnapDrag } from "./itemSlots-0J_JDkUW.js";
22
+ import { f as createPanGesture, l as useListContext, r as useItemLabelId, u as createSnapDrag } from "./itemSlots-Bwd4-VOz.js";
21
23
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
22
24
  import { n as listMessages, t as keyboardHintMessages } from "./keyboard-hint-DZrL82bU.js";
23
25
  import { t as useAnnounce } from "./announce-GU01Oix2.js";
@@ -25,13 +27,14 @@ import { t as _sfc_main$5 } from "./Kbd-CwtGTUmB.js";
25
27
  import { n as paintedBackground, t as inertClone } from "./inertClone-BUK-k6-n.js";
26
28
  import { t as nearestScroller } from "./scrollingAncestor-DMWTn_Ih.js";
27
29
  import { a as markLeaving, n as isLeaving, t as REORDER_ENGINE } from "./reorderTypes-CvmAkO-R.js";
30
+ import { r as reducesMotion } from "./reducedMotion-Dhe-YZCN.js";
28
31
  import { t as createDevWarnings } from "./devWarnings-DI1R0rGp.js";
29
- import { t as LongPressGestureRecognizer } from "./LongPressGestureRecognizer-DyfS9mpX.js";
32
+ import { t as LongPressGestureRecognizer } from "./LongPressGestureRecognizer-CAh3wlYA.js";
30
33
  import { t as useAttachment } from "./useAttachment-CGiD9rt6.js";
31
34
  import { n as observeResize } from "./sharedResizeObserver-BekhnB3E.js";
32
35
  import { r as makeSnapPaging, s as snapPages } from "./snapPagingValue-B5hfph1H.js";
33
- import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-B9YsuMRa.js";
34
- import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, getCurrentScope, h, mergeProps, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, ref, renderList, renderSlot, shallowRef, toDisplayString, toValue, unref, useId, useTemplateRef, vShow, watch, watchEffect, withCtx, withDirectives, withModifiers } from "vue";
36
+ import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-CCk8lhbz.js";
37
+ import { Fragment, Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, getCurrentScope, h, mergeProps, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, ref, renderList, renderSlot, shallowRef, toDisplayString, toValue, unref, useId, useTemplateRef, vShow, watch, watchEffect, withCtx, withDirectives, withModifiers } from "vue";
35
38
  import "../styles/layer.css";
36
39
  import "../styles/list-reorder.css";
37
40
  import "../styles/keyboard-hint.css";
@@ -274,6 +277,60 @@ function createDragToSnapPoints(element, options) {
274
277
  };
275
278
  }
276
279
  //#endregion
280
+ //#region src/utils/rowMotion.ts
281
+ /** The running motion of each element, per property, until it rests. */
282
+ const motions = /* @__PURE__ */ new WeakMap();
283
+ /** Whether a motion started here still runs on the element. */
284
+ function isMoving(element) {
285
+ return (motions.get(element)?.size ?? 0) > 0;
286
+ }
287
+ /**
288
+ * The motion running on the element's `property`, started here, with the
289
+ * spring it runs on; undefined once it rests.
290
+ */
291
+ function motionOf(element, property = "y") {
292
+ return motions.get(element)?.get(property);
293
+ }
294
+ function track(element, properties, handle, spring) {
295
+ let running = motions.get(element);
296
+ if (running == null) {
297
+ running = /* @__PURE__ */ new Map();
298
+ motions.set(element, running);
299
+ }
300
+ const motion = {
301
+ handle,
302
+ spring
303
+ };
304
+ for (const property of properties) running.set(property, motion);
305
+ const record = running;
306
+ handle.finished.then(() => {
307
+ for (const property of properties) if (record.get(property) === motion) record.delete(property);
308
+ });
309
+ return handle;
310
+ }
311
+ /**
312
+ * Starts a spring on the element's shared animator and records it, so a
313
+ * later move reads its curve (`motionOf`). For a drop, or a slide to make
314
+ * room.
315
+ */
316
+ function animateRow(element, to, spring, options) {
317
+ return track(element, Object.keys(to), animatorFor(element).animate(to, {
318
+ spring,
319
+ velocity: options.velocity
320
+ }, { at: options.at }), spring);
321
+ }
322
+ /**
323
+ * Clears the element's identity inline values once it rests, so a resting
324
+ * row carries no `translate`. A transform makes it a containing block for
325
+ * fixed descendants. The animator stays: other code may hold it, and its
326
+ * state still reads the resting value. Nothing is cleared while a newer
327
+ * motion runs on the element.
328
+ */
329
+ function releaseMotion(element, ...properties) {
330
+ if (isMoving(element)) return;
331
+ for (const property of properties) if (isIdentityText(property, element.style.getPropertyValue(property))) element.style.removeProperty(property);
332
+ }
333
+ //#endregion
277
334
  //#region src/List/reorder/reorderMarks.ts
278
335
  /**
279
336
  * @file reorderMarks.ts
@@ -759,60 +816,6 @@ var ListReorderRowName_default = defineComponent({
759
816
  return () => null;
760
817
  }
761
818
  });
762
- //#endregion
763
- //#region src/utils/rowMotion.ts
764
- /** The running motion of each element, per property, until it rests. */
765
- const motions = /* @__PURE__ */ new WeakMap();
766
- /** Whether a motion started here still runs on the element. */
767
- function isMoving(element) {
768
- return (motions.get(element)?.size ?? 0) > 0;
769
- }
770
- /**
771
- * The motion running on the element's `property`, started here, with the
772
- * spring it runs on; undefined once it rests.
773
- */
774
- function motionOf(element, property = "y") {
775
- return motions.get(element)?.get(property);
776
- }
777
- function track(element, properties, handle, spring) {
778
- let running = motions.get(element);
779
- if (running == null) {
780
- running = /* @__PURE__ */ new Map();
781
- motions.set(element, running);
782
- }
783
- const motion = {
784
- handle,
785
- spring
786
- };
787
- for (const property of properties) running.set(property, motion);
788
- const record = running;
789
- handle.finished.then(() => {
790
- for (const property of properties) if (record.get(property) === motion) record.delete(property);
791
- });
792
- return handle;
793
- }
794
- /**
795
- * Starts a spring on the element's shared animator and records it, so a
796
- * later move reads its curve (`motionOf`). For a drop, or a slide to make
797
- * room.
798
- */
799
- function animateRow(element, to, spring, options) {
800
- return track(element, Object.keys(to), animatorFor(element).animate(to, {
801
- spring,
802
- velocity: options.velocity
803
- }, { at: options.at }), spring);
804
- }
805
- /**
806
- * Clears the element's identity inline values once it rests, so a resting
807
- * row carries no `translate`. A transform makes it a containing block for
808
- * fixed descendants. The animator stays: other code may hold it, and its
809
- * state still reads the resting value. Nothing is cleared while a newer
810
- * motion runs on the element.
811
- */
812
- function releaseMotion(element, ...properties) {
813
- if (isMoving(element)) return;
814
- for (const property of properties) if (isIdentityText(property, element.style.getPropertyValue(property))) element.style.removeProperty(property);
815
- }
816
819
  /**
817
820
  * Where a row's `y` is on screen at `at`: its shared animator's value, which
818
821
  * the drag writes directly (`set`) as well as through springs.
@@ -1576,7 +1579,7 @@ var ReorderDrag = class extends ReorderNames {
1576
1579
  this.track(event.y);
1577
1580
  break;
1578
1581
  case "ended":
1579
- this.drop(event.velocity ?? 0);
1582
+ this.drop(event.velocity ?? 0, event.time);
1580
1583
  break;
1581
1584
  case "cancelled": this.cancel();
1582
1585
  }
@@ -1903,7 +1906,7 @@ const touchMotion = {
1903
1906
  //#endregion
1904
1907
  //#region src/List/reorder/reorderDrop.ts
1905
1908
  var ReorderDrop = class extends ReorderDrag {
1906
- drop(velocity) {
1909
+ drop(velocity, releasedAt) {
1907
1910
  const session = this.session;
1908
1911
  if (session == null) return;
1909
1912
  if (session.scrollStale) this.track(session.lastY);
@@ -1939,7 +1942,8 @@ var ReorderDrop = class extends ReorderDrag {
1939
1942
  dragged,
1940
1943
  droppedTop,
1941
1944
  velocity,
1942
- restore: session.restore
1945
+ restore: session.restore,
1946
+ releasedAt
1943
1947
  };
1944
1948
  options.onReorder({
1945
1949
  key,
@@ -2081,7 +2085,10 @@ var ReorderDrop = class extends ReorderDrag {
2081
2085
  */
2082
2086
  rebase(pending) {
2083
2087
  const { list } = pending;
2084
- const at = motionNow();
2088
+ const now = motionNow();
2089
+ const releasedAt = reducesMotion(list) ? pending.releasedAt : void 0;
2090
+ const at = Math.min(releasedAt ?? now, now);
2091
+ const landsAtOnce = releasedAt != null && now - at >= reducedMotionCrossFade.durationMs / 2;
2085
2092
  const rows = pending.rows.map((element, index) => {
2086
2093
  if (!this.rows.holds(element, list)) return null;
2087
2094
  return {
@@ -2094,7 +2101,7 @@ var ReorderDrop = class extends ReorderDrag {
2094
2101
  });
2095
2102
  const settles = (row) => Math.abs(row.value + row.shift) < .5 && !row.moving;
2096
2103
  const glides = (row) => !settles(row) && Math.abs(row.shift) >= .5;
2097
- const spring = this.animates && rows.some((row) => row != null && glides(row)) ? touchMotion.glideBase(list) : null;
2104
+ const spring = this.animates && !landsAtOnce && rows.some((row) => row != null && glides(row)) ? touchMotion.glideBase(list) : null;
2098
2105
  for (const row of rows) {
2099
2106
  if (row == null) continue;
2100
2107
  const { element, index, shift, value, moving } = row;
@@ -2237,7 +2244,8 @@ var ListReorderController = class extends ReorderDrop {
2237
2244
  this.gesture(null, {
2238
2245
  state: "ended",
2239
2246
  y: up.clientY,
2240
- velocity: velocity.velocity(up.timeStamp).y
2247
+ velocity: velocity.velocity(up.timeStamp).y,
2248
+ time: motionNow() - msSinceInput(up.timeStamp, up)
2241
2249
  });
2242
2250
  }
2243
2251
  };
@@ -2284,7 +2292,8 @@ var ListReorderController = class extends ReorderDrop {
2284
2292
  if (state != null) this.gesture(state === "began" ? this.rowOf(held) : null, {
2285
2293
  state,
2286
2294
  y: recognizer.location().y,
2287
- velocity: state === "ended" && touch != null ? velocity.velocity(touch.time).y : void 0
2295
+ velocity: state === "ended" && touch != null ? velocity.velocity(touch.time).y : void 0,
2296
+ time: state === "ended" ? motionNow() : void 0
2288
2297
  });
2289
2298
  }, (target) => this.handleOf(target) != null);
2290
2299
  }
@@ -3092,18 +3101,24 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
3092
3101
  window.removeEventListener("resize", onScroll);
3093
3102
  });
3094
3103
  return (_ctx, _cache) => {
3095
- return withDirectives((openBlock(), createElementBlock("div", {
3096
- ref_key: "hint",
3097
- ref: hint,
3098
- class: "astryx-keyboard-hint",
3099
- "aria-hidden": "true",
3100
- style: normalizeStyle(style.value)
3101
- }, [createElementVNode("span", _hoisted_1, [(openBlock(true), createElementBlock(Fragment, null, renderList(keys.value, (key) => {
3102
- return openBlock(), createBlock(_sfc_main$5, {
3103
- key,
3104
- keys: key
3105
- }, null, 8, ["keys"]);
3106
- }), 128))]), createElementVNode("span", _hoisted_2, toDisplayString(unref(messages).keyboardHint.navigate), 1)], 4)), [[vShow, __props.visible]]);
3104
+ return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" 提示淡入淡出;关闭时留在原来的锚点旁边淡出,不跟着焦点挪走。 "), createVNode(Transition, {
3105
+ name: "astryx-keyboard-hint",
3106
+ persisted: ""
3107
+ }, {
3108
+ default: withCtx(() => [withDirectives(createElementVNode("div", {
3109
+ ref_key: "hint",
3110
+ ref: hint,
3111
+ class: "astryx-keyboard-hint",
3112
+ "aria-hidden": "true",
3113
+ style: normalizeStyle(style.value)
3114
+ }, [createElementVNode("span", _hoisted_1, [(openBlock(true), createElementBlock(Fragment, null, renderList(keys.value, (key) => {
3115
+ return openBlock(), createBlock(_sfc_main$5, {
3116
+ key,
3117
+ keys: key
3118
+ }, null, 8, ["keys"]);
3119
+ }), 128))]), createElementVNode("span", _hoisted_2, toDisplayString(unref(messages).keyboardHint.navigate), 1)], 4), [[vShow, __props.visible]])]),
3120
+ _: 1
3121
+ })], 2112);
3107
3122
  };
3108
3123
  }
3109
3124
  });
@@ -3126,6 +3141,9 @@ function useKeyboardHint(options = {}) {
3126
3141
  const orientation = computed(() => options.orientation ?? "horizontal");
3127
3142
  let dismissed = false;
3128
3143
  let timer;
3144
+ function isDisabled() {
3145
+ return toValue(options.isEnabled) === false;
3146
+ }
3129
3147
  function hide() {
3130
3148
  visible.value = false;
3131
3149
  if (timer != null) {
@@ -3134,7 +3152,7 @@ function useKeyboardHint(options = {}) {
3134
3152
  }
3135
3153
  }
3136
3154
  function show(target) {
3137
- if (dismissed || options.isEnabled === false) return;
3155
+ if (dismissed || isDisabled()) return;
3138
3156
  anchor.value = target;
3139
3157
  visible.value = true;
3140
3158
  if (timer != null) clearTimeout(timer);
@@ -3164,8 +3182,11 @@ function useKeyboardHint(options = {}) {
3164
3182
  }
3165
3183
  });
3166
3184
  }, { flush: "post" });
3185
+ watch(isDisabled, (disabled) => {
3186
+ if (disabled && visible.value) hide();
3187
+ });
3167
3188
  function onFocus(event) {
3168
- if (dismissed || options.isEnabled === false) return;
3189
+ if (dismissed || isDisabled()) return;
3169
3190
  const target = event.target;
3170
3191
  const current = event.currentTarget;
3171
3192
  if (!(target instanceof HTMLElement) || !(current instanceof HTMLElement)) return;
@@ -1,5 +1,5 @@
1
1
  import { n as paintedBackground } from "./inertClone-BUK-k6-n.js";
2
- import { A as glides, C as safeAnimate, _ as layoutMotion, c as areaOf, h as changeStartIn, u as readArea, v as sampleKeyframes, x as beginChange, y as sampleOver } from "./reportChange-wIeU3q3y.js";
2
+ import { _ as layoutMotion, c as areaOf, h as changeStartIn, j as glides, u as readArea, v as sampleKeyframes, w as safeAnimate, x as beginChange, y as sampleOver } from "./reportChange-BBOtvOwM.js";
3
3
  import { i as placeOver, n as isCopyable, o as visiblePartCopy, s as wrapText, t as inertCopy } from "./transientCopy--76J3N2f.js";
4
4
  import { computed, inject, ref } from "vue";
5
5
  //#region src/motion/layout/swap.ts
@@ -8,8 +8,19 @@ const FOCUSABLE_SELECTOR = [
8
8
  "textarea:not([disabled])",
9
9
  "iframe",
10
10
  "[contenteditable]:not([contenteditable=\"false\"])",
11
+ "audio[controls]",
12
+ "video[controls]",
11
13
  "[tabindex]:not([tabindex=\"-1\"])"
12
14
  ].join(",");
15
+ /**
16
+ * 浏览器的 Tab 顺序里有没有这个元素。负的 `tabindex` 会把任何元素移出 Tab 顺序,按钮和链接也一样:
17
+ * 漫游焦点组里其余成员就是 `tabindex="-1"`。`FOCUSABLE_SELECTOR` 会留下这样的按钮和链接,
18
+ * 走 Tab 落脚点的地方要再用这个筛一遍。
19
+ */
20
+ function isTabStop(element) {
21
+ const value = element.getAttribute("tabindex");
22
+ return value == null || !(Number.parseInt(value, 10) < 0);
23
+ }
13
24
  function getFocusables(container) {
14
25
  return Array.from(container.querySelectorAll(FOCUSABLE_SELECTOR)).filter((element) => !element.hasAttribute("disabled"));
15
26
  }
@@ -33,4 +44,4 @@ function isFocusable(element) {
33
44
  return element.isContentEditable;
34
45
  }
35
46
  //#endregion
36
- export { isFocusable as i, focusElement as n, getFocusables as r, FOCUSABLE_SELECTOR as t };
47
+ export { isTabStop as a, isFocusable as i, focusElement as n, getFocusables as r, FOCUSABLE_SELECTOR as t };
@@ -0,0 +1,83 @@
1
+ import { r as isFocusDetached } from "./focusReturn-CXHM5lOY.js";
2
+ import { nextTick, watch } from "vue";
3
+ //#region src/composables/internal/focusOwnership.ts
4
+ /**
5
+ * @file focusOwnership.ts
6
+ * @input 一个元素或节点
7
+ * @output ownsFocus:元素是否隔着影子宿主和 iframe 真正拿着焦点;
8
+ * isFocusUnclaimed:替换上来的元素能不能拿焦点而不挤走别的主人
9
+ * @position useFocusAcrossSwap 在元素被换掉前后读它们,决定要不要把焦点交给新元素
10
+ */
11
+ function focusRoot(node) {
12
+ const root = node.getRootNode();
13
+ return "activeElement" in root ? root : null;
14
+ }
15
+ function isShadowRoot(root) {
16
+ return "host" in root;
17
+ }
18
+ /** 元素是否隔着影子宿主和 iframe 拿着焦点。iframe 失去焦点后它的文档可能还留着 activeElement。 */
19
+ function ownsFocus(element) {
20
+ const root = focusRoot(element);
21
+ if (root == null || root.activeElement !== element) return false;
22
+ const owner = isShadowRoot(root) ? root.host : root.defaultView?.frameElement;
23
+ return owner == null || ownsFocus(owner);
24
+ }
25
+ /** 焦点在 `doc` 里哪儿都不在,或者在 `surface` 里。 */
26
+ function isFocusLost(surface, doc) {
27
+ return isFocusDetached(doc) || surface != null && doc.activeElement != null && surface.contains(doc.activeElement);
28
+ }
29
+ /**
30
+ * 替换上来的元素能不能拿焦点而不挤走别的主人:从它所在的树一路往外,每一层的焦点都掉了,
31
+ * 或者正好落在通向它的那个 iframe 上。影子树里焦点落在宿主自己身上时说不清是谁选的,不去恢复。
32
+ */
33
+ function isFocusUnclaimed(node) {
34
+ let root = focusRoot(node);
35
+ let surface = null;
36
+ while (root != null) if (isShadowRoot(root)) {
37
+ if (root.activeElement != null) return surface != null && surface.contains(root.activeElement) && ownsFocus(root.host);
38
+ surface = null;
39
+ root = focusRoot(root.host);
40
+ } else {
41
+ if (!isFocusLost(surface, root)) return false;
42
+ const frame = root.defaultView?.frameElement;
43
+ if (frame == null) return true;
44
+ surface = frame;
45
+ root = focusRoot(frame);
46
+ }
47
+ return false;
48
+ }
49
+ //#endregion
50
+ //#region src/composables/internal/focusAcrossSwap.ts
51
+ /** 模板 ref 可能拿到组件实例(自定义链接组件),这时取它的根元素。 */
52
+ function asElement(value) {
53
+ if (value instanceof HTMLElement) return value;
54
+ const root = value?.$el;
55
+ return root instanceof HTMLElement ? root : null;
56
+ }
57
+ /**
58
+ * 切换 `swapped` 会让 `root` 里某个元素被换成另一个元素(比如禁用后用普通
59
+ * `<a>` 代替路由链接组件)。切换前焦点就在它身上的话,换完后把焦点交给新元素,
60
+ * 不让它掉回页面;焦点本来在别处则不去抢。
61
+ *
62
+ * `selector` 为 `null` 时 `root()` 自己就是会被换掉的元素(组件根元素随 prop 换标签的情况)。
63
+ * 焦点归属隔着影子宿主和 iframe 判断:影子树里拿着焦点的元素被换掉,焦点照样跟过去;
64
+ * 换完时焦点已经被别处拿走(应用自己聚焦了别的控件),就不去抢。
65
+ */
66
+ function useFocusAcrossSwap(root, selector, swapped) {
67
+ function find() {
68
+ const element = asElement(root());
69
+ if (element == null || selector == null) return element;
70
+ return element.querySelector(selector);
71
+ }
72
+ watch(swapped, () => {
73
+ const before = find();
74
+ if (before == null || !ownsFocus(before)) return;
75
+ nextTick(() => {
76
+ const after = find();
77
+ if (after == null || after === before || before.isConnected || !after.isConnected) return;
78
+ if (isFocusUnclaimed(after)) after.focus({ preventScroll: true });
79
+ });
80
+ }, { flush: "pre" });
81
+ }
82
+ //#endregion
83
+ export { useFocusAcrossSwap as t };
@@ -1,4 +1,4 @@
1
- import { r as isFocusDetached, t as focusForLastInput } from "./focusReturn-BeSRm0xD.js";
1
+ import { r as isFocusDetached, t as focusForLastInput } from "./focusReturn-CXHM5lOY.js";
2
2
  import { watch } from "vue";
3
3
  //#region src/composables/internal/focusLeaving.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { r as getFocusables } from "./focus-x7mxEqjR.js";
1
+ import { r as getFocusables } from "./focus-DxAD3umZ.js";
2
2
  //#region src/composables/internal/focusRegion.ts
3
3
  /**
4
4
  * 焦点区域(useFocusTrap)找 Tab 落脚点、判断谁来接这次 Tab 用的几个小工具。
@@ -1,5 +1,5 @@
1
1
  import { a as trackInteractionModality, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
2
- import { t as FOCUSABLE_SELECTOR } from "./focus-x7mxEqjR.js";
2
+ import { t as FOCUSABLE_SELECTOR } from "./focus-DxAD3umZ.js";
3
3
  //#region src/composables/internal/focusReturn.ts
4
4
  /**
5
5
  * 焦点归还的两个小工具。浮层关闭、把焦点还给触发器时用。
@@ -1,5 +1,5 @@
1
1
  import { t as isCoarsePointer } from "./coarsePointer-BWNSUIY8.js";
2
- import { t as holdInput } from "./inputHold-CSq4NZlV.js";
2
+ import { t as holdInput } from "./inputHold-C1LkNE02.js";
3
3
  //#region src/layer/holdEntranceInput.ts
4
4
  /**
5
5
  * @file holdEntranceInput.ts
@@ -162,32 +162,32 @@ type __VLS_Slots = SelectorSlots;
162
162
  declare const __VLS_base: import("vue").DefineComponent<SelectorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
163
163
  search: (query: string) => any;
164
164
  click: (event: MouseEvent) => any;
165
- focus: (event: FocusEvent) => any;
166
165
  change: (value: string | number | null) => any;
167
166
  keydown: (event: KeyboardEvent) => any;
168
167
  "update:modelValue": (value: string | number | null) => any;
168
+ focus: (event: FocusEvent) => any;
169
169
  }, string, import("vue").PublicProps, Readonly<SelectorProps> & Readonly<{
170
170
  onSearch?: ((query: string) => any) | undefined;
171
171
  onClick?: ((event: MouseEvent) => any) | undefined;
172
- onFocus?: ((event: FocusEvent) => any) | undefined;
173
172
  onChange?: ((value: string | number | null) => any) | undefined;
174
173
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
175
174
  "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
175
+ onFocus?: ((event: FocusEvent) => any) | undefined;
176
176
  }>, {
177
- status: SelectorStatusInput;
178
- isOptional: boolean;
179
- indicatorPosition: SelectorIndicatorPosition;
180
177
  isLoading: boolean;
181
178
  variant: SelectorVariant;
182
179
  modelValue: string | number | null;
183
180
  isLabelHidden: boolean;
181
+ isOptional: boolean;
184
182
  isRequired: boolean;
183
+ status: SelectorStatusInput;
185
184
  statusVariant: SelectorStatusVariant;
185
+ indicatorPosition: SelectorIndicatorPosition;
186
+ presentation: SelectorPresentation;
186
187
  isReadOnly: boolean;
187
188
  disabled: boolean;
188
- presentation: SelectorPresentation;
189
- searchable: boolean;
190
189
  clearable: boolean;
190
+ searchable: boolean;
191
191
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
192
192
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
193
193
  declare const _default: typeof __VLS_export;
@@ -28,9 +28,9 @@ declare const __VLS_base: import("vue").DefineComponent<NavItemProps, {}, {}, {}
28
28
  onClick?: ((event: MouseEvent) => any) | undefined;
29
29
  }>, {
30
30
  block: boolean;
31
+ isIconOnly: boolean;
31
32
  isDisabled: boolean;
32
33
  size: NavItemSize;
33
- isIconOnly: boolean;
34
34
  isSelected: boolean;
35
35
  isFocusableWhenDisabled: boolean;
36
36
  plain: boolean;
@@ -1,5 +1,5 @@
1
1
  import { n as LayerPlacement, t as LayerAlignment } from "./position-DFW5ymAF.js";
2
- import { C as DropdownMenuGroupSlots, D as DropdownMenuItemVariant, E as DropdownMenuItemSlots, F as DropdownMenuSubMenuProps, I as DropdownMenuSubMenuSlots, P as DropdownMenuSubMenuPresentation, S as DropdownMenuGroupProps, T as DropdownMenuItemProps, _ as DropdownMenuSlots, f as DropdownMenuProps, g as DropdownMenuSize } from "./DropdownMenuRadioItem.vue-BrcSzOfA.js";
2
+ import { C as DropdownMenuGroupSlots, D as DropdownMenuItemVariant, E as DropdownMenuItemSlots, F as DropdownMenuSubMenuProps, I as DropdownMenuSubMenuSlots, P as DropdownMenuSubMenuPresentation, S as DropdownMenuGroupProps, T as DropdownMenuItemProps, _ as DropdownMenuSlots, f as DropdownMenuProps, g as DropdownMenuSize } from "./DropdownMenuRadioItem.vue-Jn-kyc9j.js";
3
3
  import { ComputedRef, InjectionKey, Ref } from "vue";
4
4
  //#region src/DropdownMenu/useMenuDrillIn.d.ts
5
5
  /**
@@ -101,8 +101,8 @@ type __VLS_WithSlots$1<T, S> = T & {
101
101
  //#region src/Stepper/Stepper.vue.d.ts
102
102
  type __VLS_Slots = StepperSlots;
103
103
  declare const __VLS_base: import("vue").DefineComponent<StepperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StepperProps> & Readonly<{}>, {
104
- density: StepperDensity;
105
104
  orientation: StepperOrientation;
105
+ density: StepperDensity;
106
106
  indicatorPosition: StepperIndicatorPosition;
107
107
  hasCollapsibleLabels: boolean;
108
108
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -129,11 +129,11 @@ interface TokenizerSlots<T extends SearchableItem = SearchableItem> {
129
129
  declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
130
130
  props: import("vue").PublicProps & __VLS_PrettifyLocal<TokenizerProps<T> & {
131
131
  onSearch?: ((query: string) => any) | undefined;
132
- onBlur?: ((event: FocusEvent) => any) | undefined;
133
- onFocus?: ((event: FocusEvent) => any) | undefined;
134
132
  onChange?: ((value: T[], change: TokenizerChange<T>) => any) | undefined;
135
133
  onOpenChange?: ((isOpen: boolean) => any) | undefined;
136
134
  "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
135
+ onBlur?: ((event: FocusEvent) => any) | undefined;
136
+ onFocus?: ((event: FocusEvent) => any) | undefined;
137
137
  onChangeQuery?: ((query: string) => any) | undefined;
138
138
  }> & (typeof globalThis extends {
139
139
  __VLS_PROPS_FALLBACK: infer P;
@@ -146,7 +146,7 @@ declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<
146
146
  }>) => void;
147
147
  attrs: any;
148
148
  slots: TokenizerSlots<T>;
149
- emit: ((evt: "search", query: string) => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "change", value: T[], change: TokenizerChange<T>) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "changeQuery", query: string) => void);
149
+ emit: ((evt: "search", query: string) => void) & ((evt: "change", value: T[], change: TokenizerChange<T>) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "changeQuery", query: string) => void);
150
150
  }>) => import("vue").VNode & {
151
151
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
152
152
  };
@@ -175,8 +175,8 @@ declare const __VLS_base$1: import("vue").DefineComponent<__VLS_PublicProps, {
175
175
  }>, {
176
176
  position: OverlayPosition;
177
177
  align: OverlayAlign;
178
- scrim: OverlayScrimMode;
179
178
  showOn: OverlayShowOn;
179
+ scrim: OverlayScrimMode;
180
180
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
181
181
  declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
182
182
  declare const _default$1: typeof __VLS_export$1;
@@ -192,8 +192,8 @@ declare const __VLS_base: import("vue").DefineComponent<OverlayScrimProps, {}, {
192
192
  isOpen: boolean;
193
193
  position: OverlayPosition;
194
194
  align: OverlayAlign;
195
- scrim: OverlayScrimMode;
196
195
  showOn: OverlayShowOn;
196
+ scrim: OverlayScrimMode;
197
197
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
198
198
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
199
199
  declare const _default: typeof __VLS_export;
@@ -1,5 +1,5 @@
1
1
  import { n as Reorderable, r as ReorderableOptions } from "./createReorderable-Bw3Q9mUd.js";
2
- import { _ as ListItemSlots, a as ItemLayout, b as ListSlots, g as ListItemProps, h as ListEdgeCompensation, m as ListEdge, o as ItemProps, p as ListDensity, r as ItemElement, s as ItemSlots, t as ItemAlign, v as ListMarkerStyle, y as ListProps } from "./types-wKC-Ws-M.js";
2
+ import { _ as ListItemSlots, a as ItemLayout, b as ListSlots, g as ListItemProps, h as ListEdgeCompensation, m as ListEdge, o as ItemProps, p as ListDensity, r as ItemElement, s as ItemSlots, t as ItemAlign, v as ListMarkerStyle, y as ListProps } from "./types-xOsWAC6i.js";
3
3
  import { Component, ComputedRef, InjectionKey, PropType } from "vue";
4
4
  //#region src/reorderable/adaptReorderable.d.ts
5
5
  /** The options `reorderable` was made with by `createReorderable`. */
@@ -96,12 +96,12 @@ declare const __VLS_base$2: import("vue").DefineComponent<ItemProps, {
96
96
  focus: typeof focus;
97
97
  blur: typeof blur;
98
98
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ItemProps> & Readonly<{}>, {
99
+ as: ItemElement;
99
100
  isDisabled: boolean;
100
- density: ListDensity;
101
101
  layout: ItemLayout;
102
- as: ItemElement;
103
- isSelected: boolean;
102
+ density: ListDensity;
104
103
  align: ItemAlign;
104
+ isSelected: boolean;
105
105
  isHighlighted: boolean;
106
106
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
107
107
  declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
@@ -117,8 +117,8 @@ type __VLS_Slots$1 = ListSlots;
117
117
  declare const __VLS_base$1: import("vue").DefineComponent<ListProps, {
118
118
  element: import("vue").ComputedRef<HTMLUListElement | HTMLOListElement | null>;
119
119
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ListProps> & Readonly<{}>, {
120
- density: ListDensity;
121
120
  start: number;
121
+ density: ListDensity;
122
122
  hasDividers: boolean;
123
123
  listStyle: ListMarkerStyle;
124
124
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -18,8 +18,8 @@ type __VLS_Slots$2 = {
18
18
  };
19
19
  declare const __VLS_base$2: import("vue").DefineComponent<StackProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StackProps> & Readonly<{}>, {
20
20
  as: StackElement;
21
- wrap: StackWrap;
22
21
  direction: StackDirection;
22
+ wrap: StackWrap;
23
23
  isScrollable: boolean;
24
24
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
25
  declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
@@ -35,8 +35,8 @@ type __VLS_Slots$1 = {
35
35
  default: () => unknown;
36
36
  };
37
37
  declare const __VLS_base$1: import("vue").DefineComponent<StackItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StackItemProps> & Readonly<{}>, {
38
- size: StackItemSize;
39
38
  as: StackElement;
39
+ size: StackItemSize;
40
40
  isScrollable: boolean;
41
41
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
42
42
  declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
@@ -1,4 +1,4 @@
1
- import { r as AnimatedLayout } from "./useAnimatedLayout-C0koWm4a.js";
1
+ import { r as AnimatedLayout } from "./useAnimatedLayout-D94sdliy.js";
2
2
  import { CSSProperties, Component, Ref, VNode, VNodeChild } from "vue";
3
3
  //#region src/TreeList/types.d.ts
4
4
  type TreeListDensity = 'compact' | 'balanced' | 'spacious';
@@ -63,8 +63,8 @@ interface TreeListSlots {
63
63
  //#region src/TreeList/TreeList.vue.d.ts
64
64
  type __VLS_Slots = TreeListSlots;
65
65
  declare const __VLS_base: import("vue").DefineComponent<TreeListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TreeListProps> & Readonly<{}>, {
66
- density: TreeListDensity;
67
66
  variant: TreeListVariant;
67
+ density: TreeListDensity;
68
68
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
69
69
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
70
70
  declare const _default: typeof __VLS_export;