@astryx-vue/core 0.43.2 → 0.43.4

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 (324) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-Bh3uhS_R.js → AlertDialog-CcQuJKn6.js} +8 -8
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-1gvAIOLH.js → AppShell-BZrs85ca.js} +7 -7
  5. package/dist/Avatar/index.js +1 -1
  6. package/dist/{Avatar-B9n7-kfv.js → Avatar-DthdM-zn.js} +1 -1
  7. package/dist/AvatarGroup/index.d.ts +1 -1
  8. package/dist/AvatarGroup/index.js +1 -1
  9. package/dist/{AvatarGroup-BOkvPhXj.js → AvatarGroup-Dui84EMQ.js} +1 -1
  10. package/dist/Badge/index.js +1 -1
  11. package/dist/{Badge-DZaIs3aV.js → Badge-BsbFK1JQ.js} +1 -1
  12. package/dist/Banner/index.d.ts +1 -1
  13. package/dist/Banner/index.js +1 -1
  14. package/dist/{Banner-4FQsRu7N.js → Banner-DBj4G2ln.js} +1 -1
  15. package/dist/BottomSheet/index.d.ts +1 -1
  16. package/dist/BottomSheet/index.js +2 -2
  17. package/dist/{BottomSheet-BlkSIOtf.js → BottomSheet-B_c2Qm7B.js} +2 -2
  18. package/dist/{BottomSheet-j5app7P8.js → BottomSheet-CN2GXFrM.js} +17 -5
  19. package/dist/Breadcrumbs/index.d.ts +2 -2
  20. package/dist/Breadcrumbs/index.js +2 -2
  21. package/dist/{Breadcrumbs-BfSV4Ewm.js → Breadcrumbs-Drv_deCP.js} +1 -1
  22. package/dist/Button/index.js +1 -1
  23. package/dist/{Button-euzAB2JG.js → Button-cAa9AeKm.js} +4 -3
  24. package/dist/ButtonGroup/index.d.ts +1 -1
  25. package/dist/ButtonGroup/index.js +1 -1
  26. package/dist/{ButtonGroup-DfNW3nfJ.js → ButtonGroup-CVEW53-t.js} +2 -2
  27. package/dist/Calendar/index.d.ts +1 -1
  28. package/dist/Calendar/index.js +2 -2
  29. package/dist/{Calendar-Brz2iDeZ.js → Calendar-BGn9PQI8.js} +3 -3
  30. package/dist/{Calendar-C1E1ZiaS.js → Calendar-DpqfOjgX.js} +3 -3
  31. package/dist/Carousel/index.d.ts +1 -1
  32. package/dist/Carousel/index.js +1 -1
  33. package/dist/{Carousel-DbMleN6W.js → Carousel-Bz2GuVdq.js} +1 -1
  34. package/dist/Chat/index.d.ts +1 -1
  35. package/dist/Chat/index.js +1 -1
  36. package/dist/{Chat-CWCbGUYl.js → Chat-D0eyxcQ5.js} +69 -75
  37. package/dist/CheckboxInput/index.d.ts +1 -1
  38. package/dist/CheckboxInput/index.js +1 -1
  39. package/dist/{CheckboxInput-B82_RIxf.js → CheckboxInput-Bxkwj-UA.js} +7 -7
  40. package/dist/CheckboxList/index.d.ts +1 -1
  41. package/dist/CheckboxList/index.js +1 -1
  42. package/dist/{CheckboxListItem-y0USbTgg.js → CheckboxListItem-dQ1xloAV.js} +5 -5
  43. package/dist/ClickableCard/index.d.ts +1 -1
  44. package/dist/ClickableCard/index.js +1 -1
  45. package/dist/{ClickableCard-CSSIVdtX.js → ClickableCard-Q9v7cY07.js} +2 -2
  46. package/dist/Code/index.js +2 -2
  47. package/dist/{Code-C43i8FCX.js → Code-Buhb8IAF.js} +1 -1
  48. package/dist/{CodeBlock-ClzdGw3T.js → CodeBlock-BGaLnVrQ.js} +2 -2
  49. package/dist/Collapsible/index.d.ts +1 -1
  50. package/dist/Collapsible/index.js +1 -1
  51. package/dist/{Collapsible-B0Iu6_Iu.js → Collapsible-BolCSv5f.js} +3 -3
  52. package/dist/CommandPalette/index.js +1 -1
  53. package/dist/{CommandPalette-DF2xzlgf.js → CommandPalette-BayGVrpJ.js} +3 -3
  54. package/dist/ComplexSelector/index.js +1 -1
  55. package/dist/{ComplexSelector-DsGwWEoM.js → ComplexSelector-BdX1TRrW.js} +4 -4
  56. package/dist/ContextMenu/index.d.ts +2 -2
  57. package/dist/ContextMenu/index.js +2 -2
  58. package/dist/{ContextMenu-CJCpkIHr.js → ContextMenu-CzeZmLy8.js} +4 -4
  59. package/dist/DateInput/index.d.ts +1 -1
  60. package/dist/DateInput/index.js +1 -1
  61. package/dist/{DateInput-BW4Fwe7h.js → DateInput-Ck4gAiFL.js} +11 -11
  62. package/dist/DateRangeInput/index.d.ts +1 -1
  63. package/dist/DateRangeInput/index.js +1 -1
  64. package/dist/{DateRangeInput-DQBgDw_I.js → DateRangeInput-ChrXW-_5.js} +7 -7
  65. package/dist/DateTimeInput/index.d.ts +1 -1
  66. package/dist/DateTimeInput/index.js +1 -1
  67. package/dist/{DateTimeInput-DwErM5ri.js → DateTimeInput-D5X_NyMg.js} +28 -10
  68. package/dist/Dialog/index.d.ts +1 -1
  69. package/dist/Dialog/index.js +3 -3
  70. package/dist/{Dialog-JfrLWdwL.js → Dialog-DHH-rk4K.js} +1 -1
  71. package/dist/{Dialog-Cjw_hc9x.js → Dialog-xRPou8Vu.js} +2 -2
  72. package/dist/{DialogHeader-74IISHta.js → DialogHeader-XUjy9Mxx.js} +1 -1
  73. package/dist/Drawer/index.d.ts +1 -1
  74. package/dist/Drawer/index.js +1 -1
  75. package/dist/{Drawer-CsZ2dJf6.js → Drawer-BkF0RsKw.js} +3 -3
  76. package/dist/DropdownMenu/index.d.ts +2 -2
  77. package/dist/DropdownMenu/index.js +2 -2
  78. package/dist/{DropdownMenu-BAgNL3vt.js → DropdownMenu-a54pw41L.js} +12 -9
  79. package/dist/{DropdownMenuRadioItem.vue-BrcSzOfA.d.ts → DropdownMenuRadioItem.vue-Cix6C_RC.d.ts} +6 -2
  80. package/dist/EmptyState/index.js +1 -1
  81. package/dist/{EmptyState-Cb2poVS1.js → EmptyState-OncHh-9P.js} +3 -3
  82. package/dist/Field/index.js +3 -3
  83. package/dist/{Field-CZGZMsZE.js → Field-DIjIgiMo.js} +4 -4
  84. package/dist/{FieldInfoTip-C2jNfn3M.js → FieldInfoTip-D93Kcdo-.js} +2 -2
  85. package/dist/{FieldLabel-CS5Xq97O.js → FieldLabel-B-jJ2ETs.js} +13 -5
  86. package/dist/FieldStatus/index.js +1 -1
  87. package/dist/{FieldStatus-QjwGygl3.js → FieldStatus-8yFIjJUp.js} +35 -6
  88. package/dist/FileInput/index.js +1 -1
  89. package/dist/{FileInput-DwQ4Pwrr.js → FileInput-n0pEzUQR.js} +6 -23
  90. package/dist/{GestureHost-25aSFM1Y.js → GestureHost-C0FstEs3.js} +7 -7
  91. package/dist/Heading/index.js +1 -1
  92. package/dist/{Heading-BxUBgmHB.js → Heading-BfoFn1o5.js} +1 -1
  93. package/dist/HoverCard/index.d.ts +1 -1
  94. package/dist/IconButton/index.js +1 -1
  95. package/dist/{IconButton-ClmH02vt.js → IconButton-CxVxw2hc.js} +1 -1
  96. package/dist/InfoTip/index.d.ts +1 -1
  97. package/dist/InfoTip/index.js +1 -1
  98. package/dist/{InfoTip-BaWAyvEi.js → InfoTip-BgcWXI1k.js} +2 -2
  99. package/dist/{InputClearButton-fffY0HzH.js → InputClearButton-Bn29CBnZ.js} +1 -1
  100. package/dist/InputGroup/index.js +1 -1
  101. package/dist/{InputGroup-D9sOFuMU.js → InputGroup-B3kkylCQ.js} +2 -2
  102. package/dist/InternationalizationProvider/index.js +3 -2
  103. package/dist/{InternationalizationProvider-CfP0uroW.js → InternationalizationProvider-C-f110Xi.js} +2 -1
  104. package/dist/{Item-Dmebq1UF.js → Item-JktfViUH.js} +8 -8
  105. package/dist/Layout/index.js +2 -2
  106. package/dist/{Layout-G_yTX__g.js → Layout-OQ1qfgFZ.js} +1 -1
  107. package/dist/{LayoutPanel-DcGI1bxe.js → LayoutPanel-C7meqbdC.js} +1 -1
  108. package/dist/Lightbox/index.js +1 -1
  109. package/dist/{Lightbox-uK7doOtN.js → Lightbox-CVrDI3Df.js} +10 -10
  110. package/dist/Link/index.d.ts +1 -1
  111. package/dist/Link/index.js +1 -1
  112. package/dist/{Link-Dqmdo7zY.js → Link-DlzfqBMW.js} +2 -2
  113. package/dist/List/index.d.ts +2 -2
  114. package/dist/List/index.js +4 -4
  115. package/dist/{List-Cw_Bz7VJ.js → List-C6Zj2WCv.js} +2 -2
  116. package/dist/{ListItem-5IrzNrPG.js → ListItem-CXsgM4xN.js} +4 -4
  117. package/dist/{LongPressGestureRecognizer-DyfS9mpX.js → LongPressGestureRecognizer-C_DTqk3V.js} +3 -3
  118. package/dist/Markdown/index.d.ts +1 -1
  119. package/dist/Markdown/index.js +1 -1
  120. package/dist/{Markdown-DgU8Z6fh.js → Markdown-CH1HEQ5H.js} +4 -4
  121. package/dist/MobileNav/index.js +1 -1
  122. package/dist/{MobileNavToggle-CZjRE6ki.js → MobileNavToggle-BjBPWy34.js} +2 -2
  123. package/dist/MoreMenu/index.d.ts +1 -1
  124. package/dist/MoreMenu/index.js +1 -1
  125. package/dist/{MoreMenu-CctyrlIC.js → MoreMenu-BV0ilgia.js} +5 -5
  126. package/dist/MultiSelector/index.d.ts +1 -1
  127. package/dist/MultiSelector/index.js +1 -1
  128. package/dist/{MultiSelector-B8gj7DC1.js → MultiSelector-BWOqNKUw.js} +79 -46
  129. package/dist/NavItem/index.js +1 -1
  130. package/dist/{NavItem-BSw2rt6c.js → NavItem-GFrkWRSJ.js} +1 -1
  131. package/dist/NavMenu/index.js +2 -2
  132. package/dist/{NavMenu-CY_Lek2e.js → NavMenu-C78sH1q0.js} +1 -1
  133. package/dist/{NavMenuItem-CGDBoeek.js → NavMenuItem-CCWYKpRJ.js} +2 -2
  134. package/dist/NumberInput/index.d.ts +1 -1
  135. package/dist/NumberInput/index.js +1 -1
  136. package/dist/{NumberInput-Dyrsd8iV.js → NumberInput-DDSIBcXu.js} +4 -4
  137. package/dist/Outline/index.d.ts +1 -1
  138. package/dist/Outline/index.js +1 -1
  139. package/dist/{Outline-DyWV1DE6.js → Outline-BnKdYUu0.js} +5 -4
  140. package/dist/OverflowList/index.d.ts +1 -1
  141. package/dist/OverflowList/index.js +1 -1
  142. package/dist/{OverflowList-BjtnyyFH.js → OverflowList-CLEZqhaM.js} +1 -1
  143. package/dist/Pagination/index.d.ts +1 -1
  144. package/dist/Pagination/index.js +1 -1
  145. package/dist/{Pagination-DxCA-HxJ.js → Pagination-D5NEGm3v.js} +2 -2
  146. package/dist/{PanGestureRecognizer-BVA9pqme.js → PanGestureRecognizer-WZ_rV6KY.js} +1 -1
  147. package/dist/{PickerWheel-x5H1G_XB.js → PickerWheel-D-Lx_I-8.js} +7 -7
  148. package/dist/Popover/index.d.ts +1 -1
  149. package/dist/Popover/index.js +1 -1
  150. package/dist/{Popover-Bfdc7cPl.js → Popover-CD9zRZCN.js} +5 -5
  151. package/dist/PowerSearch/index.d.ts +1 -1
  152. package/dist/PowerSearch/index.js +1 -1
  153. package/dist/{PowerSearch-BwF9Dlxz.js → PowerSearch-CgyDqwVA.js} +27 -27
  154. package/dist/ProgressBar/index.js +1 -1
  155. package/dist/{ProgressBar-LhOowRTl.js → ProgressBar-BoZQV2l5.js} +1 -1
  156. package/dist/Radio/index.d.ts +1 -1
  157. package/dist/Radio/index.js +1 -1
  158. package/dist/{RadioGroup-CFLTQl3K.js → RadioGroup-BpOtsMJw.js} +5 -5
  159. package/dist/RadioList/index.d.ts +1 -1
  160. package/dist/RadioList/index.js +1 -1
  161. package/dist/{RadioListItem-6vtMowgq.js → RadioListItem-D_vekWsm.js} +1 -1
  162. package/dist/Resizable/index.js +1 -1
  163. package/dist/{ResizeHandle-Ch18ZZOk.js → ResizeHandle-BphbEkqv.js} +1 -1
  164. package/dist/ScrollableArea/index.d.ts +1 -1
  165. package/dist/ScrollableArea/index.js +1 -1
  166. package/dist/{ScrollableArea-CBFqNcS0.js → ScrollableArea-C8JJCFuM.js} +1 -1
  167. package/dist/SegmentedControl/index.d.ts +1 -1
  168. package/dist/SegmentedControl/index.js +1 -1
  169. package/dist/{SegmentedControl-CvHxmxSq.js → SegmentedControl-C4cyOw3z.js} +16 -15
  170. package/dist/SelectableCard/index.d.ts +1 -1
  171. package/dist/SelectableCard/index.js +1 -1
  172. package/dist/{SelectableCard-9SSfwFyD.js → SelectableCard-DNQqIEyw.js} +2 -2
  173. package/dist/Selector/index.d.ts +1 -1
  174. package/dist/Selector/index.js +1 -1
  175. package/dist/{Selector-DLHdkU47.js → Selector-DIQgqqjp.js} +20 -20
  176. package/dist/SideNav/index.d.ts +1 -1
  177. package/dist/SideNav/index.js +2 -2
  178. package/dist/{SideNav-UDy54LWk.js → SideNav-DJTPCwwg.js} +11 -10
  179. package/dist/Slider/index.js +1 -1
  180. package/dist/{Slider-g5_g_-Eu.js → Slider-D_IQQkrP.js} +8 -8
  181. package/dist/Spinner/index.js +1 -1
  182. package/dist/{Spinner-A3u6UMC2.js → Spinner-CQXQ0RqS.js} +1 -1
  183. package/dist/Stack/index.d.ts +1 -1
  184. package/dist/StatusDot/index.js +1 -1
  185. package/dist/{StatusDot-BPbHIDK3.js → StatusDot-fYRbb3nd.js} +1 -1
  186. package/dist/Stepper/index.js +1 -1
  187. package/dist/{Stepper-fAXQMCoa.js → Stepper-DaayqEc0.js} +1 -1
  188. package/dist/Switch/index.d.ts +1 -1
  189. package/dist/Switch/index.js +1 -1
  190. package/dist/{Switch-B4qQk8nJ.js → Switch-kRxVa5oQ.js} +13 -13
  191. package/dist/TabList/index.js +1 -1
  192. package/dist/{TabList-DPl5hrlq.js → TabList-B2dfG_rt.js} +3 -3
  193. package/dist/Table/index.d.ts +1 -1
  194. package/dist/Table/index.js +1 -1
  195. package/dist/{Table-DcHbjYMH.js → Table-C2oRVE_7.js} +125 -28
  196. package/dist/{TapGestureRecognizer-DGoxircL.js → TapGestureRecognizer-LcbkQFq0.js} +2 -2
  197. package/dist/Text/index.js +1 -1
  198. package/dist/{Text-CqdqnOyw.js → Text-DcTbvkLq.js} +1 -1
  199. package/dist/TextArea/index.d.ts +1 -1
  200. package/dist/TextArea/index.js +1 -1
  201. package/dist/{TextArea-Bio9Gh34.js → TextArea-CsfwwuIa.js} +7 -7
  202. package/dist/TextInput/index.d.ts +1 -1
  203. package/dist/TextInput/index.js +1 -1
  204. package/dist/{TextInput-CQnO23U5.js → TextInput-CstQuPUe.js} +6 -6
  205. package/dist/Thumbnail/index.js +1 -1
  206. package/dist/{Thumbnail-BDQg5fM_.js → Thumbnail-C7Hi97ND.js} +4 -4
  207. package/dist/{TimeField-DFQIaneq.js → TimeField-Bno6mkOA.js} +22 -8
  208. package/dist/TimeInput/index.d.ts +1 -1
  209. package/dist/TimeInput/index.js +1 -1
  210. package/dist/{TimeInput-BMgTNmFR.js → TimeInput-CJFEeyET.js} +2 -2
  211. package/dist/Timer/index.js +1 -1
  212. package/dist/{Timer-CYusx9bw.js → Timer-vj0M-kQs.js} +1 -1
  213. package/dist/Timestamp/index.d.ts +1 -1
  214. package/dist/Timestamp/index.js +2 -2
  215. package/dist/{Timestamp-mD_zYE11.js → Timestamp-ANLjz4lW.js} +3 -3
  216. package/dist/Toast/index.js +1 -1
  217. package/dist/{Toast-D6vNybEc.js → Toast-CUKO9z_S.js} +4 -4
  218. package/dist/ToggleButton/index.d.ts +1 -1
  219. package/dist/ToggleButton/index.js +1 -1
  220. package/dist/{ToggleButton-Dwt5c31B.js → ToggleButton-C7D_xmkT.js} +4 -3
  221. package/dist/Token/index.js +1 -1
  222. package/dist/{Token-CZCvtfGU.js → Token-Dmz6vEMX.js} +2 -2
  223. package/dist/Tokenizer/index.d.ts +1 -1
  224. package/dist/Tokenizer/index.js +1 -1
  225. package/dist/{Tokenizer-vIHlJqfc.js → Tokenizer-eOB86IoD.js} +13 -13
  226. package/dist/Toolbar/index.d.ts +1 -1
  227. package/dist/Tooltip/index.d.ts +1 -1
  228. package/dist/Tooltip/index.js +2 -2
  229. package/dist/{Tooltip-BGw1Dxs7.js → Tooltip-BYXFoOwa.js} +1 -1
  230. package/dist/TopNav/index.d.ts +1 -1
  231. package/dist/TopNav/index.js +1 -1
  232. package/dist/{TopNav-B7WVftOG.js → TopNav-D79FiL4s.js} +3 -3
  233. package/dist/TreeList/index.d.ts +1 -1
  234. package/dist/TreeList/index.js +1 -1
  235. package/dist/{TreeList-DlRkhOsr.js → TreeList-Fy7KRNuK.js} +5 -5
  236. package/dist/Typeahead/index.js +2 -2
  237. package/dist/{Typeahead-DVSuuJF0.js → Typeahead-DgBTcIoM.js} +5 -5
  238. package/dist/{accessibleName-JNiIpYLV.js → accessibleName-CuQ2Zyti.js} +19 -7
  239. package/dist/{animator-D6Buqmbt.js → animator-L1kmTBSi.js} +1 -1
  240. package/dist/{assertOptions-D4YfVTam.js → assertOptions-Cl5NciZF.js} +7 -1
  241. package/dist/{boxHold-BZBGNilH.js → boxHold-JsQX9R5i.js} +4 -4
  242. package/dist/{browserClickWait-TdyeNZwb.js → browserClickWait-CPyRQqvC.js} +1 -1
  243. package/dist/{calendarFormat-_CEZIMZG.js → calendarFormat-DTC8AICa.js} +1 -1
  244. package/dist/{characters-wTnzjkkR.js → characters-DmSa8HSB.js} +2 -0
  245. package/dist/{clickGuard-CdmRG-4c.js → clickGuard-DOe-7mpi.js} +59 -10
  246. package/dist/composables/index.d.ts +2 -2
  247. package/dist/composables/index.js +13 -13
  248. package/dist/{composables-CpnaT0rZ.js → composables-DqIVxGbe.js} +82 -71
  249. package/dist/{context-CLCiYDtY.js → context-BBkmmLbb.js} +1 -1
  250. package/dist/context-DPVQjlFy.js +18 -0
  251. package/dist/{context-BNCjTOCB.js → direction-CNotzbN9.js} +1 -17
  252. package/dist/{format-6G9QuGy1.js → format-lexzIzDb.js} +1 -1
  253. package/dist/{formatInstant-CjCwl6JS.js → formatInstant-DKbYRamj.js} +1 -1
  254. package/dist/{holdEntranceInput-C9J7g1Pu.js → holdEntranceInput-Cs656CnM.js} +1 -1
  255. package/dist/{index-Nln6FiRr.d.ts → index--2H4S2Mo.d.ts} +1 -1
  256. package/dist/{index-BgT6mH3U.d.ts → index-BB9acgK8.d.ts} +1 -1
  257. package/dist/{index-0RIgvtdm.d.ts → index-BI1QLuYB.d.ts} +1 -1
  258. package/dist/{index-CKnr0JlT.d.ts → index-BZ_lQz43.d.ts} +1 -1
  259. package/dist/{index-DZUoC8aR.d.ts → index-C8hyLvk2.d.ts} +1 -1
  260. package/dist/{index-CbA8rR_b.d.ts → index-CBOv5j3c.d.ts} +1 -1
  261. package/dist/{index-yQc-te9a.d.ts → index-CD1-Hqm0.d.ts} +1 -1
  262. package/dist/{index-Cf4bPzU0.d.ts → index-Csn58myZ.d.ts} +2 -2
  263. package/dist/{index-n_U1D11_.d.ts → index-D1IOCfUe.d.ts} +3 -3
  264. package/dist/{index-DNurYNHr.d.ts → index-D1aUS4mJ.d.ts} +35 -35
  265. package/dist/{index-Cb-rvc1W.d.ts → index-D3UaSnbN.d.ts} +1 -1
  266. package/dist/{index-VWHtgjGh.d.ts → index-Dip3mbII.d.ts} +1 -1
  267. package/dist/{index-D8G_PdWT.d.ts → index-DpiL3YlX.d.ts} +3 -3
  268. package/dist/{index-CCa_dvoF.d.ts → index-Ds4dOCSy.d.ts} +3 -3
  269. package/dist/{index-CRjJmEtZ.d.ts → index-DyKu6YTp.d.ts} +2 -2
  270. package/dist/{index-DgNCHxvu.d.ts → index-J83fLEyo.d.ts} +2 -2
  271. package/dist/{index-CFKpOpnO.d.ts → index-zMNvYijA.d.ts} +1 -1
  272. package/dist/index.d.ts +22 -22
  273. package/dist/index.js +115 -114
  274. package/dist/internal/touch.js +9 -9
  275. package/dist/{itemSlots-0J_JDkUW.js → itemSlots-CDpCiRWv.js} +3 -3
  276. package/dist/{landing-DjJvKu3c.js → landing-D7xDVHzh.js} +1 -1
  277. package/dist/{layerFocusReturn-Ddz5_Z2Z.js → layerFocusReturn-BAx26jXH.js} +1 -1
  278. package/dist/{lazyBottomSheet-CEZ77VHB.js → lazyBottomSheet-Cgu6B2R1.js} +1 -1
  279. package/dist/locale/index.js +1 -1
  280. package/dist/{pressSlot-BxYt3vyU.js → pressSlot-WuaTVSU4.js} +15 -3
  281. package/dist/{reducedMotion-BcstlXZU.js → reducedMotion-Dhe-YZCN.js} +10 -2
  282. package/dist/{reportChange-wIeU3q3y.js → reportChange-BBOtvOwM.js} +134 -14
  283. package/dist/{resizableChannel-C9UA4vam.js → resizableChannel-2W9ef4QQ.js} +2 -2
  284. package/dist/{revealReturnTarget-DNX6xtLb.js → revealReturnTarget-BvKNVyf1.js} +1 -1
  285. package/dist/{rideKeyboard-DiF6K9Lm.js → rideKeyboard-DgecasHn.js} +4 -4
  286. package/dist/{scrollView-BGBtu5JP.js → scrollView-D2GwmeFx.js} +11 -1
  287. package/dist/{scrollingAncestor-DMWTn_Ih.js → scrollingAncestor-QzzYeTWo.js} +1 -1
  288. package/dist/{selectionRanges-DB5jesLz.js → selectionRanges-DBILfsSa.js} +1 -1
  289. package/dist/{snapPagingCatcher-BL_D9uL5.js → snapPagingCatcher-BFfj7RfY.js} +2 -2
  290. package/dist/{textDirection-DOiVLtX0.js → textDirection-C_CScrt5.js} +18 -1
  291. package/dist/{triggerVariant-CRQoD-4F.js → triggerVariant-dfzj2Ipj.js} +3 -1
  292. package/dist/{types-wKC-Ws-M.d.ts → types-xOsWAC6i.d.ts} +1 -1
  293. package/dist/{useActionGroupTracking-2fXeyqxa.js → useActionGroupTracking-BxTKiVux.js} +3 -3
  294. package/dist/{useAnimatedLayout-CXjd5pjG.js → useAnimatedLayout-C8BF0iwr.js} +3 -3
  295. package/dist/{useAnimatedLayout-C0koWm4a.d.ts → useAnimatedLayout-D94sdliy.d.ts} +2 -2
  296. package/dist/{useCalendarGrid-BpBA8UZa.js → useCalendarGrid-BjOvk9HI.js} +1 -1
  297. package/dist/{useFingerScroll-BhnBhQoa.js → useFingerScroll-CAC6Pd3m.js} +2 -2
  298. package/dist/{useGestureRecognizer-Bj0nynLS.js → useGestureRecognizer-C7CXCbBp.js} +1 -1
  299. package/dist/{useInputContainer-C8ARd4qy.js → useInputContainer-yA8wbN3_.js} +1 -1
  300. package/dist/{useInputStatusIcon-Dpj4AtXd.js → useInputStatusIcon-C1zyUxXl.js} +1 -1
  301. package/dist/useListFormatter-CFDqZ9jK.js +35 -0
  302. package/dist/{useMenuEntranceHold-DYZ_k6kP.js → useMenuEntranceHold-Dkl03O-0.js} +1 -1
  303. package/dist/{useMenuPress-C1fiHACF.js → useMenuPress-DKGeEWJw.js} +62 -15
  304. package/dist/{useMobileKeyboard-jeeHdtVD.js → useMobileKeyboard-xkLI3Sc0.js} +4 -4
  305. package/dist/{usePressFeedback-DyCf9Ok5.js → usePressFeedback-X_9-5DMi.js} +3 -3
  306. package/dist/{useResizable-B_QakV6o.js → useResizable-ZYDRiLfL.js} +7 -4
  307. package/dist/{useRestoreFocus-D04TyAC3.js → useRestoreFocus-MY1QZRPU.js} +1 -1
  308. package/dist/{useScrollOverflow-DuMoGXmm.js → useScrollOverflow-DzLw86tg.js} +21 -5
  309. package/dist/{useScrollableArea-B3gnyFbR.js → useScrollableArea-KpUvJnCb.js} +1 -1
  310. package/dist/{useTouchHitArea-DCAX0X6S.js → useTouchHitArea-gP3O_wIA.js} +42 -14
  311. package/dist/{useTruncationTooltip-0gr37s_G.js → useTruncationTooltip-B0_h3sf9.js} +2 -2
  312. package/dist/{useTypeaheadMenuConfig-sk8aSp57.js → useTypeaheadMenuConfig-Cm5adRdf.js} +2 -2
  313. package/dist/utils/index.js +2 -2
  314. package/package.json +1 -1
  315. package/styles/cut-text.css +5 -0
  316. package/styles/date-time-input.css +9 -0
  317. package/dist/{PressTracker-B_ffL9rM.js → PressTracker-CiaaoD3I.js} +1 -1
  318. package/dist/{announceRenderedText-Dzsx6ROw.js → announceRenderedText-BaV4uiLs.js} +1 -1
  319. package/dist/{index-B1t1oQWH.d.ts → index-CgF-HfTm.d.ts} +0 -0
  320. package/dist/{index-51CkIKnI.d.ts → index-DSsuY9v9.d.ts} +0 -0
  321. package/dist/{inputHold-CUraoRG3.js → inputHold-C1LkNE02.js} +1 -1
  322. package/dist/{presentation-Cl58tYA6.js → presentation-DkdwDJUs.js} +1 -1
  323. package/dist/{selectionLock-BM8XEZQD.js → selectionLock-c18P1UV3.js} +1 -1
  324. package/dist/{useTooltip-CYRQuYj_.js → useTooltip-DSB9njlb.js} +1 -1
@@ -1,5 +1,5 @@
1
+ import { a as withoutClickGuard, i as endsTouch, r as disarmEveryClickGuard, t as armClickGuard } from "./clickGuard-DOe-7mpi.js";
1
2
  import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
2
- import { i as withoutClickGuard, r as disarmEveryClickGuard, t as armClickGuard } from "./clickGuard-CdmRG-4c.js";
3
3
  import { s as currentGesture } from "./layerDepth-DxI-GE81.js";
4
4
  import { t as focusForLastInput } from "./focusReturn-CXHM5lOY.js";
5
5
  import { t as claimPress } from "./pressClaim-DvdlIn4w.js";
@@ -36,6 +36,17 @@ function useLongPress(options) {
36
36
  let origin = null;
37
37
  /** 触摸事件自己的时钟上,这次按住到期的时刻。页面忙的时候事件晚到,时刻不会晚。 */
38
38
  let deadline = null;
39
+ /** 等着的这次按压是触摸起的,不是调 `start` 起的。 */
40
+ let touchPress = false;
41
+ /** 起这次按压的那根手指的标识,事件报得出来时才有。 */
42
+ let pressTouchId = null;
43
+ /** 触摸按压已经触发:这根手指抬起时取消它的抬起。 */
44
+ let liftClaimed = false;
45
+ let liftTouchId = null;
46
+ function dropLiftClaim() {
47
+ liftClaimed = false;
48
+ liftTouchId = null;
49
+ }
39
50
  function isDisabled() {
40
51
  return toValue(options.isDisabled) === true || toValue(options.disabled) === true;
41
52
  }
@@ -52,6 +63,8 @@ function useLongPress(options) {
52
63
  timer = null;
53
64
  deadline = null;
54
65
  if (from == null) return;
66
+ liftClaimed = touchPress;
67
+ liftTouchId = touchPress ? pressTouchId : null;
55
68
  claimPress();
56
69
  options.onLongPress({
57
70
  x: from.x,
@@ -68,12 +81,19 @@ function useLongPress(options) {
68
81
  function start(point, age = 0) {
69
82
  if (isDisabled()) return;
70
83
  cancel();
84
+ dropLiftClaim();
71
85
  origin = {
72
86
  x: point.x,
73
87
  y: point.y
74
88
  };
75
89
  timer = setTimeout(fire, Math.max(0, delayMs - age));
76
90
  }
91
+ /** 调用方自己跑指针状态机时起的按压:不是触摸起的,抬手不归这里管。 */
92
+ function startByHand(point) {
93
+ touchPress = false;
94
+ pressTouchId = null;
95
+ start(point);
96
+ }
77
97
  function moveTo(point) {
78
98
  if (origin == null) return false;
79
99
  if (Math.abs(point.x - origin.x) > moveCancelPx || Math.abs(point.y - origin.y) > moveCancelPx) {
@@ -87,6 +107,11 @@ function useLongPress(options) {
87
107
  * lift does.
88
108
  */
89
109
  function onTouchStart(event) {
110
+ if (isDisabled()) {
111
+ dropLiftClaim();
112
+ return;
113
+ }
114
+ if (liftClaimed && liftTouchId != null && event.changedTouches != null && Array.from(event.changedTouches).some((started) => started.identifier === liftTouchId)) dropLiftClaim();
90
115
  if ((event.touches?.length ?? 0) !== 1) {
91
116
  reportIfDue(event);
92
117
  cancel();
@@ -94,6 +119,8 @@ function useLongPress(options) {
94
119
  }
95
120
  const point = touchPoint(event);
96
121
  if (point == null) return;
122
+ touchPress = true;
123
+ pressTouchId = event.touches?.[0]?.identifier ?? null;
97
124
  start(point, msSinceInput(event.timeStamp, event));
98
125
  if (timer != null && Number.isFinite(event.timeStamp)) deadline = event.timeStamp + delayMs;
99
126
  }
@@ -107,12 +134,27 @@ function useLongPress(options) {
107
134
  const point = touchPoint(event);
108
135
  if (point != null) moveTo(point);
109
136
  }
137
+ /**
138
+ * 只有触发了的那根手指抬起才用掉认领,别的手指抬起不动。
139
+ * 按压已经起了作用,抬手不算轻点;浏览器自己没看到长按,会去点手指下的东西,
140
+ * 所以取消这次抬起,再布下点击守卫,接住 WebKit 仍可能补发的鼠标事件和点击(utils/clickGuard.ts)。
141
+ */
142
+ function spendLiftClaim(event) {
143
+ if (!liftClaimed || liftTouchId != null && !endsTouch(event, liftTouchId)) return;
144
+ dropLiftClaim();
145
+ if (event.cancelable !== true) return;
146
+ event.preventDefault();
147
+ const doc = event.view?.document ?? event.target?.ownerDocument ?? null;
148
+ if (doc != null) armClickGuard(doc, { takesLateMouse: true });
149
+ }
110
150
  function onTouchEnd(event) {
111
151
  reportIfDue(event);
112
152
  cancel();
153
+ spendLiftClaim(event);
113
154
  }
114
- function onTouchCancel() {
155
+ function onTouchCancel(event) {
115
156
  cancel();
157
+ spendLiftClaim(event);
116
158
  }
117
159
  if (getCurrentScope() != null) onScopeDispose(cancel);
118
160
  return {
@@ -124,7 +166,7 @@ function useLongPress(options) {
124
166
  onTouchStart
125
167
  },
126
168
  moveTo,
127
- start
169
+ start: startByHand
128
170
  };
129
171
  }
130
172
  //#endregion
@@ -161,23 +203,26 @@ function resetMenuPress() {
161
203
  disarmEveryClickGuard();
162
204
  }
163
205
  /**
164
- * 跟踪某个指针对应的 touch 标识。指针按下之后的下一个 touchstart 就是它的:
206
+ * 跟踪某个指针对应的 touch。指针按下之后的下一个 touchstart 就是它的:
165
207
  * WebKit 给 touch 的标识和指针 id 相同;Chromium 用自己的标识,这时唯一的那个改变的 touch 就是。
166
208
  * 有好几个 touch 而且没有一个和指针 id 对得上,就说不出是哪根。
167
- * 返回停止跟踪的函数,`identifier()` 取当前读到的标识。
209
+ * 返回停止跟踪的函数,`touch()` 取当前读到的 touch。
168
210
  */
169
211
  function trackTouchOfPointer(view, pointerId) {
170
- let identifier = null;
212
+ let named = null;
171
213
  const stop = () => view.removeEventListener("touchstart", onTouchStart, true);
172
214
  function onTouchStart(event) {
173
215
  stop();
174
216
  const touches = event.changedTouches == null ? [] : Array.from(event.changedTouches);
175
- if (touches.some((touch) => touch.identifier === pointerId)) identifier = pointerId;
176
- else identifier = touches.length === 1 ? touches[0].identifier : null;
217
+ const touch = touches.find((each) => each.identifier === pointerId) ?? (touches.length === 1 ? touches[0] : null);
218
+ named = touch == null ? null : {
219
+ identifier: touch.identifier,
220
+ target: touch.target ?? null
221
+ };
177
222
  }
178
223
  view.addEventListener("touchstart", onTouchStart, true);
179
224
  return {
180
- identifier: () => identifier,
225
+ touch: () => named,
181
226
  stop
182
227
  };
183
228
  }
@@ -613,12 +658,14 @@ function useMenuPress(options) {
613
658
  });
614
659
  let touchTracker = null;
615
660
  /** 手指松开时挑选的那根手指的 touchend 要取消;鼠标和笔没有 touchend。 */
616
- function armAfterRelease(doc, native, touchIdentifier) {
661
+ function armAfterRelease(doc, native, touch) {
617
662
  const isTouch = native?.pointerType === "touch";
618
663
  armClickGuard(doc, {
619
664
  staysInstalled: true,
620
665
  cancelsTouchEnd: isTouch,
621
- touchIdentifier: touchIdentifier ?? void 0
666
+ touchIdentifier: touch?.identifier ?? void 0,
667
+ touchTarget: touch?.target ?? void 0,
668
+ staysArmedAfterTouchEnd: true
622
669
  });
623
670
  }
624
671
  function setLit(row) {
@@ -667,16 +714,16 @@ function useMenuPress(options) {
667
714
  highlight(null);
668
715
  return;
669
716
  case "act": {
670
- const touchIdentifier = touchTracker?.identifier() ?? null;
717
+ const touch = touchTracker?.touch() ?? null;
671
718
  endGesture();
672
- armAfterRelease(doc, native, touchIdentifier);
719
+ armAfterRelease(doc, native, touch);
673
720
  if (native != null) activate(effect.row, native);
674
721
  return;
675
722
  }
676
723
  case "settle": {
677
- const touchIdentifier = touchTracker?.identifier() ?? null;
724
+ const touch = touchTracker?.touch() ?? null;
678
725
  endGesture();
679
- if (effect.stray) armAfterRelease(doc, native, touchIdentifier);
726
+ if (effect.stray) armAfterRelease(doc, native, touch);
680
727
  if (effect.dismiss) options.onDismiss?.();
681
728
  }
682
729
  }
@@ -1,14 +1,14 @@
1
- import { l as isNode, n as deepActiveElement, o as isDocument } from "./flatTree-BB4yPMNL.js";
2
1
  import { a as sharedState, o as sharedWeakMap } from "./sharedRealm-BYHklCVM.js";
3
2
  import { s as subscribeInput } from "./inputStream-CFvjNDgT.js";
3
+ import { l as isNode, n as deepActiveElement, o as isDocument } from "./flatTree-BB4yPMNL.js";
4
4
  import { t as useMediaQuery } from "./useMediaQuery-DKnSDG3S.js";
5
- import { t as animatorFor } from "./animator-D6Buqmbt.js";
5
+ import { t as animatorFor } from "./animator-L1kmTBSi.js";
6
6
  import { t as KEYBOARD_SPRING } from "./springs-BqW2WrS-.js";
7
7
  import { t as TOUCH_QUERY } from "./touchQueries-xy5IeZfe.js";
8
- import { n as scrollingAncestor, t as nearestScroller } from "./scrollingAncestor-DMWTn_Ih.js";
8
+ import { n as scrollingAncestor, t as nearestScroller } from "./scrollingAncestor-QzzYeTWo.js";
9
9
  import { t as useAttachment } from "./useAttachment-CGiD9rt6.js";
10
10
  import { n as observeResize } from "./sharedResizeObserver-BekhnB3E.js";
11
- import { A as riddenAnimators, C as hasOwnTranslate, D as nearestFixedAncestor, E as isMovedByApp, F as subscribeKeyboardHeight, I as layoutViewportHeight, M as getKeyboardHeight, N as isKeyboardMeasurable, O as registerKeyboardTarget, P as isTextEntryControl, S as followsKeyboard, T as isInsideKeyboardTarget, _ as refuseFocusReveal, a as revealWithKeyboard, b as fixedContainerOf, c as claimTapFocus, d as claimKeyboardScrollBack, f as stopKeyboardScrollBack, g as keyboardProfileOf, h as hidesField, i as revealDistance, j as findTextEntryControl, k as restingBottom, l as watchRevealPan, m as getKeyboardLayoutGuide, n as bandOf, o as scrollBy, p as bringsUpKeyboard, r as deliverTap, s as watchPans, t as rideKeyboard, u as distanceIntoBand, v as coveredBy, w as isDockedContainer, x as focusedFieldIn, y as drawnOffsetOf } from "./rideKeyboard-DiF6K9Lm.js";
11
+ import { A as riddenAnimators, C as hasOwnTranslate, D as nearestFixedAncestor, E as isMovedByApp, F as subscribeKeyboardHeight, I as layoutViewportHeight, M as getKeyboardHeight, N as isKeyboardMeasurable, O as registerKeyboardTarget, P as isTextEntryControl, S as followsKeyboard, T as isInsideKeyboardTarget, _ as refuseFocusReveal, a as revealWithKeyboard, b as fixedContainerOf, c as claimTapFocus, d as claimKeyboardScrollBack, f as stopKeyboardScrollBack, g as keyboardProfileOf, h as hidesField, i as revealDistance, j as findTextEntryControl, k as restingBottom, l as watchRevealPan, m as getKeyboardLayoutGuide, n as bandOf, o as scrollBy, p as bringsUpKeyboard, r as deliverTap, s as watchPans, t as rideKeyboard, u as distanceIntoBand, v as coveredBy, w as isDockedContainer, x as focusedFieldIn, y as drawnOffsetOf } from "./rideKeyboard-DgecasHn.js";
12
12
  import { readonly, shallowRef, toValue, watch } from "vue";
13
13
  //#region src/keyboard/keyboardRide.ts
14
14
  function liftFor(target, animator, height, offset, win, isHostOwned) {
@@ -1,9 +1,9 @@
1
- import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
2
- import { n as isInsideScrollView } from "./scrollView-BGBtu5JP.js";
1
+ import { a as finish, d as PRESS_CONTAINER_ATTRIBUTE, f as isTrackedByGroup, i as finger, l as PRESSABLE_ATTRIBUTE, n as apply, o as releaseIfDead, p as pressSurfaceAt, r as button, s as takeOver, u as PRESS_ACTION_ATTRIBUTE } from "./pressSlot-WuaTVSU4.js";
3
2
  import { s as subscribeInput } from "./inputStream-CFvjNDgT.js";
4
3
  import { s as UIKIT_PRESS } from "./gestures-BpGkqgpV.js";
4
+ import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
5
+ import { n as isInsideScrollView } from "./scrollView-D2GwmeFx.js";
5
6
  import { a as idlePressGesture, o as pressGestureStep, r as PRESS_SCROLL_BRAKE_MS } from "./pressGesture-VrM5-7aV.js";
6
- import { a as finish, d as PRESS_CONTAINER_ATTRIBUTE, i as finger, l as PRESSABLE_ATTRIBUTE, m as pressSurfaceAt, n as apply, o as releaseIfDead, p as isTrackedByGroup, r as button, s as takeOver, u as PRESS_ACTION_ATTRIBUTE } from "./pressSlot-BxYt3vyU.js";
7
7
  import { getCurrentInstance, getCurrentScope, onMounted, onScopeDispose } from "vue";
8
8
  import "../styles/pressable.css";
9
9
  //#region src/composables/internal/pressButton.ts
@@ -1,10 +1,10 @@
1
1
  import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
2
2
  import { t as isApplePlatform } from "./isApplePlatform-B1ju6F5B.js";
3
- import { t as animatorFor } from "./animator-D6Buqmbt.js";
3
+ import { t as animatorFor } from "./animator-L1kmTBSi.js";
4
4
  import { t as resolveMotion } from "./resolveMotion-BHR1cz0Q.js";
5
5
  import { d as springs } from "./springs-BqW2WrS-.js";
6
6
  import { t as project } from "./projection-BafBD5NP.js";
7
- import { c as createRegionPaneSlot, f as registerPropsRegion, h as slideNextOnRelease, i as registerResizableChannel, l as edgeAxis, m as slideMotionsOf, o as resizeHandleBeside, p as shownSizeReader, s as createPaneReveal, u as isScriptMotion } from "./resizableChannel-C9UA4vam.js";
7
+ import { c as createRegionPaneSlot, f as registerPropsRegion, h as slideNextOnRelease, i as registerResizableChannel, l as edgeAxis, m as slideMotionsOf, o as resizeHandleBeside, p as shownSizeReader, s as createPaneReveal, u as isScriptMotion } from "./resizableChannel-2W9ef4QQ.js";
8
8
  import { i as rubberBandSlope, r as rubberBandInverse, t as rubberBand } from "./rubberBand-CE3LYEUx.js";
9
9
  import { computed, onBeforeUnmount, onMounted, onScopeDispose, reactive, ref, toValue, watch } from "vue";
10
10
  //#region src/composables/useHotkeys.ts
@@ -257,7 +257,7 @@ function createRegionMotion(host) {
257
257
  const element = pane?.element;
258
258
  const view = element?.ownerDocument.defaultView;
259
259
  if (closingSlide == null || element == null || view == null) return 0;
260
- const elapsed = typeof element.getAnimations === "function" ? Number(element.getAnimations().find((motion) => (motion.playState === "running" || motion.playState === "paused") && isScriptMotion(motion))?.currentTime ?? Number.POSITIVE_INFINITY) : view.performance.now() - closingSlide.startedAt;
260
+ const elapsed = Math.max(0, typeof element.getAnimations === "function" ? Number(element.getAnimations().find((motion) => (motion.playState === "running" || motion.playState === "paused") && isScriptMotion(motion))?.currentTime ?? Number.POSITIVE_INFINITY) : view.performance.now() - closingSlide.startedAt);
261
261
  const share = closingSlide.remaining(elapsed);
262
262
  if (!(share > 0)) return 0;
263
263
  return closingSlide.readShown?.() ?? closingSlide.fromSize * share;
@@ -277,7 +277,10 @@ function createRegionMotion(host) {
277
277
  return;
278
278
  }
279
279
  const motions = pane == null ? [] : slideMotionsOf(pane);
280
- for (const motion of motions) motion.pause();
280
+ for (const motion of motions) {
281
+ motion.pause();
282
+ if (Number(motion.currentTime) < 0) motion.currentTime = 0;
283
+ }
281
284
  const elapsed = Number(motions[0]?.currentTime ?? 0);
282
285
  const share = slide.remaining(Number.isFinite(elapsed) ? elapsed : 0);
283
286
  const shutSize = share < .98 ? (shownSize - slide.fromSize * share) / (1 - share) : 0;
@@ -1,6 +1,6 @@
1
1
  import { a as trackInteractionModality } from "./interactionModality-4Km2ibsq.js";
2
2
  import { t as focusForLastInput } from "./focusReturn-CXHM5lOY.js";
3
- import { t as revealReturnTarget } from "./revealReturnTarget-DNX6xtLb.js";
3
+ import { t as revealReturnTarget } from "./revealReturnTarget-BvKNVyf1.js";
4
4
  import { onScopeDispose, watch } from "vue";
5
5
  //#region src/composables/useRestoreFocus.ts
6
6
  /**
@@ -10,7 +10,7 @@ function isRendered(node) {
10
10
  /**
11
11
  * 观察一个横向滚动容器,报告起始边和结束边有没有被挡住。容差 1px。
12
12
  *
13
- * 每次滚动都量。尺寸变化和刚绑上时,只在容器真的被渲染时才量:藏起来的容器没有边可报,
13
+ * 每次滚动都量。第一次测量等尺寸观察器的第一次通知,不在绑上的那一刻读布局。尺寸变化时只在容器真的被渲染时才量:藏起来的容器没有边可报,
14
14
  * 保留上一次的结果,等它露出来之后的那次尺寸变化再量。藏着的容器被脚本滚动时照样量,
15
15
  * 因为同样大小地露出来不会再有尺寸变化。
16
16
  */
@@ -49,11 +49,27 @@ function useScrollOverflow() {
49
49
  element.value = node;
50
50
  if (node == null) return;
51
51
  node.addEventListener("scroll", measureOnScroll, { passive: true });
52
- if (typeof ResizeObserver !== "undefined") {
53
- observer = new ResizeObserver(measure);
54
- observer.observe(node);
52
+ if (typeof ResizeObserver === "undefined") {
53
+ measure();
54
+ return;
55
55
  }
56
- measure();
56
+ let isLaidOut = false;
57
+ let isFirstPending = false;
58
+ observer = new ResizeObserver(() => {
59
+ if (isLaidOut) {
60
+ measure();
61
+ return;
62
+ }
63
+ if (isFirstPending) return;
64
+ isFirstPending = true;
65
+ queueMicrotask(() => {
66
+ isFirstPending = false;
67
+ if (element.value !== node) return;
68
+ isLaidOut = true;
69
+ measure();
70
+ });
71
+ });
72
+ observer.observe(node);
57
73
  }
58
74
  if (getCurrentScope() != null) onScopeDispose(unbind);
59
75
  return {
@@ -217,7 +217,7 @@ function useScrollableArea(options) {
217
217
  watch([viewport, content], ([element, inner], _previous, onCleanup) => {
218
218
  if (element == null || inner == null) return;
219
219
  onCleanup(watchScrollInvalidation(element, inner, queueMeasure, onScroll));
220
- queueMeasure();
220
+ if (typeof ResizeObserver === "undefined" || stickyContainment.value === "always") queueMeasure();
221
221
  }, { immediate: true });
222
222
  watch(axis, queueMeasure);
223
223
  const state = computed(() => ({
@@ -1,5 +1,5 @@
1
- import { t as armClickGuard } from "./clickGuard-CdmRG-4c.js";
2
- import { c as pressFadeMs, f as PRESS_GROUP_ITEM_ATTRIBUTE, p as isTrackedByGroup, t as PRESSED_ATTRIBUTE } from "./pressSlot-BxYt3vyU.js";
1
+ import { c as pressFadeMs, f as isTrackedByGroup, t as PRESSED_ATTRIBUTE, y as PRESS_GROUP_ITEM_ATTRIBUTE } from "./pressSlot-WuaTVSU4.js";
2
+ import { t as armClickGuard } from "./clickGuard-DOe-7mpi.js";
3
3
  import { toValue, watch } from "vue";
4
4
  import "../styles/touch-hit-area.css";
5
5
  /** 不长:热区就是目标本身。 */
@@ -227,14 +227,8 @@ function inLayout(rect, origin, scale) {
227
227
  }
228
228
  //#endregion
229
229
  //#region src/composables/internal/actionGroupTracker.ts
230
- /** 组跟踪手指和笔的滑动;鼠标保持原生按钮的行为。 */
231
- const GROUP_PRESS_POINTERS = ["touch", "pen"];
232
230
  /** 不可用的动作不亮也不执行。 */
233
231
  const DISABLED = ":disabled, [aria-disabled=\"true\"]";
234
- /** 摊到组跟踪的每个动作上的标记。 */
235
- function pressGroupItemProps(pointerTypes = GROUP_PRESS_POINTERS) {
236
- return { [PRESS_GROUP_ITEM_ATTRIBUTE]: pointerTypes.join(" ") };
237
- }
238
232
  function boxOf(element) {
239
233
  const { left, top, right, bottom } = element.getBoundingClientRect();
240
234
  return {
@@ -389,6 +383,40 @@ function interactiveWithin(root, ownerOf) {
389
383
  for (const element of root.querySelectorAll(INTERACTIVE_SELECTOR)) found.add(ownerOf(element));
390
384
  return [...found];
391
385
  }
386
+ /**
387
+ * 输入框、数字框和选择器的外框。框里的可点部件(输入框、清除按钮)彼此照常分热区,
388
+ * 外框本身也算一个邻居,所以旁边控件的热区停在外框边上,不伸进框的内边距。
389
+ */
390
+ const FIELD_FRAME_SELECTOR = ".astryx-text-input, .astryx-number-input, .astryx-selector-field";
391
+ /**
392
+ * 候选连同它们所在的输入外框。外框每次读的时候重新找,缓存里的元素挪进或挪出外框也跟得上。
393
+ */
394
+ function withFieldFrames(elements, ownerOf) {
395
+ const found = new Set(elements);
396
+ for (const element of [...found]) {
397
+ const frame = element.closest(FIELD_FRAME_SELECTOR);
398
+ if (frame != null) found.add(ownerOf(frame));
399
+ }
400
+ return found;
401
+ }
402
+ /**
403
+ * 轻点能不能落到 `element` 上。手指离一个点不到的邻居更近时,这一下仍归控件:
404
+ * 禁用、在 inert 子树里、`pointer-events: none`、被 visibility 或 content-visibility 藏起来的都点不到。
405
+ * 只有按下时的复查问它;测量不读样式,所以这样的邻居照样让热区停在半路,那一条谁也不接。
406
+ * 透明度不算:画成透明的控件(盖在自己画的框上的原生 input)照样接点击。
407
+ */
408
+ function takesTaps(element) {
409
+ if (element.matches(":disabled") || element.closest("[inert]") != null) return false;
410
+ const view = element.ownerDocument.defaultView;
411
+ if (view == null) return true;
412
+ const style = view.getComputedStyle(element);
413
+ if (style.pointerEvents === "none") return false;
414
+ const probe = element;
415
+ if (typeof probe.checkVisibility === "function") return probe.checkVisibility({ checkVisibilityCSS: true });
416
+ if (style.visibility === "hidden" || style.visibility === "collapse") return false;
417
+ for (let node = element.parentElement; node != null; node = node.parentElement) if (view.getComputedStyle(node).getPropertyValue("content-visibility") === "hidden") return false;
418
+ return true;
419
+ }
392
420
  /** 离开文档的元素一次扫掉。 */
393
421
  function dropDisconnected(set) {
394
422
  for (const element of set) if (!element.isConnected) set.delete(element);
@@ -592,10 +620,10 @@ function interactiveElements(doc) {
592
620
  if (candidates == null || mutations == null) candidates = new Set(interactiveWithin(doc, ownerOf));
593
621
  return candidates;
594
622
  }
595
- /** 读候选的矩形;挪着的祖先下面的元素不算邻居,它们的位置马上就变。 */
623
+ /** 读候选的矩形,连同它们所在的输入外框;挪着的祖先下面的元素不算邻居,它们的位置马上就变。 */
596
624
  function readCandidates(doc, scopes = []) {
597
625
  const read = [];
598
- for (const element of interactiveElements(doc)) if (scopes.length === 0 || motionAbove(scopes, element).length === 0) read.push({
626
+ for (const element of withFieldFrames(interactiveElements(doc), ownerOf)) if (scopes.length === 0 || motionAbove(scopes, element).length === 0) read.push({
599
627
  element,
600
628
  rect: plainRect(element)
601
629
  });
@@ -616,10 +644,10 @@ function measureOne(watch, all) {
616
644
  bottom: 44 * scale.y,
617
645
  left: 44 * scale.x
618
646
  });
619
- const neighbours = all.filter(({ element, rect }) => rect.right > rect.left && rect.bottom > rect.top && rect.left < band.right && band.left < rect.right && rect.top < band.bottom && band.top < rect.bottom && !isOwn(watch.element, element)).map(({ rect }) => rect);
647
+ const neighbours = all.filter(({ element, rect }) => rect.right > rect.left && rect.bottom > rect.top && rect.left < band.right && band.left < rect.right && rect.top < band.bottom && band.top < rect.bottom && !isOwn(watch.element, element));
620
648
  return {
621
649
  target,
622
- insets: clampedHitInsets(inLayout(target, target, scale), neighbours.map((rect) => inLayout(rect, target, scale)), 44, watch.growth?.(target, watch.element)),
650
+ insets: clampedHitInsets(inLayout(target, target, scale), neighbours.map(({ rect }) => inLayout(rect, target, scale)), 44, watch.growth?.(target, watch.element)),
623
651
  neighbours
624
652
  };
625
653
  }
@@ -706,7 +734,7 @@ function checkTap(watch, at, click) {
706
734
  if (click != null && motionAbove(scopes, watch.element).length > 0) return;
707
735
  const { target, neighbours } = measureOne(watch, readCandidates(doc, scopes));
708
736
  const own = distanceTo(target, at.x, at.y);
709
- if (click == null || !neighbours.some((rect) => distanceTo(rect, at.x, at.y) < own)) return;
737
+ if (click == null || !neighbours.some(({ element, rect }) => distanceTo(rect, at.x, at.y) < own && takesTaps(element))) return;
710
738
  click.preventDefault();
711
739
  click.stopPropagation();
712
740
  }
@@ -889,4 +917,4 @@ function useTouchHitArea(element, enabled, options) {
889
917
  });
890
918
  }
891
919
  //#endregion
892
- export { pressGroupItemProps as a, createActionGroupTracker as i, useTouchHitArea as n, resolveGroupTouch as o, GROUP_PRESS_POINTERS as r, GROUP_HIT_AREA as t };
920
+ export { resolveGroupTouch as i, useTouchHitArea as n, createActionGroupTracker as r, GROUP_HIT_AREA as t };
@@ -1,7 +1,7 @@
1
1
  import { t as matchesFocusVisible } from "./tooltipTriggerRules-BjnT3wIz.js";
2
2
  import { a as trackInteractionModality, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
3
- import { r as tooltipPresentInterestKey } from "./useTooltip-CYRQuYj_.js";
4
- import { t as _sfc_main$1 } from "./Tooltip-BGw1Dxs7.js";
3
+ import { r as tooltipPresentInterestKey } from "./useTooltip-DSB9njlb.js";
4
+ import { t as _sfc_main$1 } from "./Tooltip-BYXFoOwa.js";
5
5
  import { n as useTruncation, t as truncatePlacement } from "./useTruncation-D_T-ezdp.js";
6
6
  import { computed, createBlock, createCommentVNode, defineComponent, openBlock, provide, shallowRef } from "vue";
7
7
  //#region src/Text/TruncationTooltip.vue
@@ -1,10 +1,10 @@
1
- import { t as characterCount } from "./characters-wTnzjkkR.js";
1
+ import { t as characterCount } from "./characters-DmSa8HSB.js";
2
2
  import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
3
3
  import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
4
4
  import { t as useAnnounce } from "./announce-GU01Oix2.js";
5
5
  import { n as useAsyncSource } from "./useAsyncSource-7GTcK8ep.js";
6
6
  import { t as useCombobox } from "./useCombobox-BbDP75hw.js";
7
- import { t as _sfc_main$3 } from "./Spinner-A3u6UMC2.js";
7
+ import { t as _sfc_main$3 } from "./Spinner-CQXQ0RqS.js";
8
8
  import { t as createStillPointerGate } from "./stillPointerGate-D15jGSjP.js";
9
9
  import { i as isOptionAction, n as searchResultMessage, r as OptionAction, t as useOptionActionGrid } from "./useOptionActionGrid-C7ibYM_A.js";
10
10
  import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, h, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, openBlock, ref, renderList, renderSlot, toDisplayString, toValue, unref, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
@@ -1,10 +1,10 @@
1
1
  import { n as isSafeUrl, r as sanitizeUrl, t as isSafeDestination } from "../safeUrl-CsvfcZ9m.js";
2
- import { n as firstCharacter, r as truncateCharacters, t as characterCount } from "../characters-wTnzjkkR.js";
2
+ import { n as firstCharacter, r as truncateCharacters, t as characterCount } from "../characters-DmSa8HSB.js";
3
3
  import { i as scrollsPage, n as scrollEventTarget, r as scrollportTop, t as setScrollAnchoringOff } from "../scrollAnchoring-CNplZXRt.js";
4
4
  import { n as observeResize, r as unobserveResize } from "../sharedResizeObserver-BekhnB3E.js";
5
5
  import { a as formatDisplayTime12h, i as createISOTimeString, n as clampTime, o as formatDisplayTime24h, r as compareTime, t as adjustTime, u as parseTimeInput } from "../timeParser-nVL5sIwT.js";
6
6
  import { A as plainDateSetFirstOfMonth, C as plainDateIsAfter, D as plainDateMax, E as plainDateIsInRange, F as plainDateToday, I as plainDateWeekFieldName, M as plainDateToDate, N as plainDateToISO, O as plainDateMin, P as plainDateToInstant, S as plainDateGetWeekNumber, T as plainDateIsEqual, _ as plainDateDiffDays, a as DATE_FORMAT_SHORT_WITH_WEEKDAY, b as plainDateFromISO, c as DATE_FORMAT_WITH_WEEKDAY, d as getDaysInMonth, f as getTimeZoneParts, g as plainDateDayOfWeek, h as plainDateCreate, i as DATE_FORMAT_SHORT, j as plainDateSetStartOfWeek, k as plainDateSetEndOfWeekExclusive, l as SHARED_DATE_FORMAT_OPTIONS, m as plainDateAddMonths, n as DATE_FORMAT_MONTH_ONLY, o as DATE_FORMAT_SHORT_WITH_YEAR, p as plainDateAddDays, r as DATE_FORMAT_MONTH_YEAR, s as DATE_FORMAT_WEEKDAY_ONLY, t as DATE_FORMAT_LONG, u as formatSharedDate, v as plainDateFormat, w as plainDateIsBefore, x as plainDateFromInstant, y as plainDateFromDate } from "../plainDate-CaTDErKr.js";
7
7
  import { a as pickerPresentationFromNativePicker, c as resolvePickerPresentation, i as effectivePickerPresentation, l as isLocaleDayFirst, o as presentationFromNativePicker, r as effectiveInputPresentation, s as resolveInputPresentation, t as DEFAULT_INPUT_PRESENTATION, u as parseDateInput } from "../inputPresentation-DES0JwkL.js";
8
- import { t as useFingerScroll } from "../useFingerScroll-BhnBhQoa.js";
8
+ import { t as useFingerScroll } from "../useFingerScroll-CAC6Pd3m.js";
9
9
  import { a as groupItems, i as getItemGroup, n as getInputARIA, o as normalizeDayOfWeek, r as joinAriaIDs, s as chainEventHandlers, t as parseStyleKey } from "../utils-BW62BpDR.js";
10
10
  export { DATE_FORMAT_LONG, DATE_FORMAT_MONTH_ONLY, DATE_FORMAT_MONTH_YEAR, DATE_FORMAT_SHORT, DATE_FORMAT_SHORT_WITH_WEEKDAY, DATE_FORMAT_SHORT_WITH_YEAR, DATE_FORMAT_WEEKDAY_ONLY, DATE_FORMAT_WITH_WEEKDAY, DEFAULT_INPUT_PRESENTATION, SHARED_DATE_FORMAT_OPTIONS, adjustTime, chainEventHandlers, characterCount, clampTime, compareTime, createISOTimeString, plainDateToISO as dateToISO, plainDateToISO, effectiveInputPresentation, effectivePickerPresentation, firstCharacter, formatDisplayTime12h, formatDisplayTime24h, formatSharedDate, getDaysInMonth, getInputARIA, getItemGroup, getTimeZoneParts, groupItems, isLocaleDayFirst, isSafeDestination, isSafeUrl, joinAriaIDs, normalizeDayOfWeek, observeResize, parseDateInput, plainDateFromISO as parseISO, plainDateFromISO, parseStyleKey, parseTimeInput, pickerPresentationFromNativePicker, plainDateAddDays, plainDateAddMonths, plainDateCreate, plainDateDayOfWeek, plainDateDiffDays, plainDateFormat, plainDateFromDate, plainDateFromInstant, plainDateGetWeekNumber, plainDateIsAfter, plainDateIsBefore, plainDateIsEqual, plainDateIsInRange, plainDateMax, plainDateMin, plainDateSetEndOfWeekExclusive, plainDateSetFirstOfMonth, plainDateSetStartOfWeek, plainDateToDate, plainDateToInstant, plainDateToday, plainDateWeekFieldName, presentationFromNativePicker, resolveInputPresentation, resolvePickerPresentation, sanitizeUrl, truncateCharacters, unobserveResize, scrollEventTarget as unstable_scrollEventTarget, scrollportTop as unstable_scrollportTop, scrollsPage as unstable_scrollsPage, setScrollAnchoringOff as unstable_setScrollAnchoringOff, useFingerScroll as unstable_useFingerScroll };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@astryx-vue/core",
3
3
  "type": "module",
4
- "version": "0.43.2",
4
+ "version": "0.43.4",
5
5
  "description": "Vue 3 components for the unofficial astryx-vue port of Astryx. Not affiliated with Meta.",
6
6
  "author": "ShenQingchuan",
7
7
  "license": "MIT",
@@ -10,4 +10,9 @@
10
10
  text-align: -webkit-match-parent;
11
11
  text-align: match-parent;
12
12
  }
13
+
14
+ /* 列表里的一项自成一段,方向由它自己的 `dir` 决定,不和相邻的项混排。 */
15
+ .astryx-text-isolate {
16
+ unicode-bidi: isolate;
17
+ }
13
18
  }
@@ -23,6 +23,15 @@
23
23
  min-width: 0;
24
24
  }
25
25
 
26
+ /*
27
+ * 日期输入框带着语言的方向(`dir`),对齐仍跟页面:`match-parent` 按父元素的方向解析
28
+ * start 和 end,Chromium 只认带前缀的写法。
29
+ */
30
+ .astryx-date-time-fields .astryx-date-input-field[dir] {
31
+ text-align: -webkit-match-parent;
32
+ text-align: match-parent;
33
+ }
34
+
26
35
  .astryx-date-time-input .astryx-date-input-wrapper {
27
36
  min-width: 0;
28
37
  }
@@ -1,6 +1,6 @@
1
- import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
2
1
  import { r as press } from "./linearEasing-CDsqxyiS.js";
3
2
  import { a as UIKIT_PAN, n as UIKIT_CONTROL, s as UIKIT_PRESS } from "./gestures-BpGkqgpV.js";
3
+ import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
4
4
  import { r as travel } from "./geometry-BDCUnbgh.js";
5
5
  //#region src/gestures/PressTracker.ts
6
6
  const PRESS = UIKIT_PRESS;
@@ -1,5 +1,5 @@
1
- import { n as useAnnouncer } from "./announce-GU01Oix2.js";
2
1
  import { t as renderedText } from "./renderedText-BwJdmps3.js";
2
+ import { n as useAnnouncer } from "./announce-GU01Oix2.js";
3
3
  import { onMounted, onUpdated, toValue, watch } from "vue";
4
4
  //#region src/composables/internal/announceRenderedText.ts
5
5
  /** 里面的东西自己会被读出来的容器:它们送出的内容不用再播一遍。 */
@@ -1,5 +1,5 @@
1
- import { c as isHTMLElement, l as isNode, n as deepActiveElement, o as isDocument, r as parentAcrossShadow, s as isElement, t as containsAlongFlatTree } from "./flatTree-BB4yPMNL.js";
2
1
  import { n as getLastMousePoint, s as subscribeInput, t as getDownPresses } from "./inputStream-CFvjNDgT.js";
2
+ import { c as isHTMLElement, l as isNode, n as deepActiveElement, o as isDocument, r as parentAcrossShadow, s as isElement, t as containsAlongFlatTree } from "./flatTree-BB4yPMNL.js";
3
3
  import { n as registerTouchHold } from "./touchHold-CciGr8hU.js";
4
4
  import { t as FOCUSABLE_SELECTOR } from "./focus-DxAD3umZ.js";
5
5
  import { a as liveLayers, i as isMouseLast, n as heldDocuments, o as liveShields, r as isInputShield, s as pressHolds, t as held } from "./inputHoldState-B4uHEjk5.js";
@@ -1,5 +1,5 @@
1
- import { r as parentAcrossShadow, s as isElement } from "./flatTree-BB4yPMNL.js";
2
1
  import { n as sharedKey, t as realmValue } from "./sharedRealm-BYHklCVM.js";
2
+ import { r as parentAcrossShadow, s as isElement } from "./flatTree-BB4yPMNL.js";
3
3
  //#region src/motion/presentation.ts
4
4
  /**
5
5
  * @file presentation.ts
@@ -1,5 +1,5 @@
1
- import { l as isNode, s as isElement, t as containsAlongFlatTree } from "./flatTree-BB4yPMNL.js";
2
1
  import { o as sharedWeakMap } from "./sharedRealm-BYHklCVM.js";
2
+ import { l as isNode, s as isElement, t as containsAlongFlatTree } from "./flatTree-BB4yPMNL.js";
3
3
  import { n as isIosWebKit } from "./touchQueries-xy5IeZfe.js";
4
4
  //#region src/utils/selectionLock.ts
5
5
  /**
@@ -5,10 +5,10 @@ import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-zwZQglr2.js
5
5
  import { n as useLayer } from "./tooltipTriggerRules-BjnT3wIz.js";
6
6
  import { t as _sfc_main$1 } from "./LayerContentBoundary-CMjCvF35.js";
7
7
  import { a as trackInteractionModality } from "./interactionModality-4Km2ibsq.js";
8
+ import { t as renderedText } from "./renderedText-BwJdmps3.js";
8
9
  import { t as useAnnounce } from "./announce-GU01Oix2.js";
9
10
  import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-CCk8lhbz.js";
10
11
  import { n as opensOnFocus, r as useHoverLayerDismiss, t as createFocusGate } from "./tooltipFocusRules-BBshpLxm.js";
11
- import { t as renderedText } from "./renderedText-BwJdmps3.js";
12
12
  import { Teleport, computed, createBlock, createCommentVNode, createElementBlock, createTextVNode, createVNode, defineComponent, inject, mergeProps, onMounted, onScopeDispose, openBlock, renderSlot, shallowRef, toDisplayString, toValue, unref, vShow, watch, withCtx, withDirectives } from "vue";
13
13
  import "../styles/tooltip.css";
14
14
  //#region src/Tooltip/TooltipSurface.vue