@astryx-vue/core 0.33.2 → 0.33.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 (320) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-BwW3jdTg.js → AlertDialog-CwyMvZEI.js} +9 -9
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-BURF50V8.js → AppShell-4hWTPKSD.js} +5 -5
  5. package/dist/Avatar/index.js +1 -1
  6. package/dist/{Avatar-CcmhCa5q.js → Avatar-C6E6TYbe.js} +1 -1
  7. package/dist/AvatarGroup/index.d.ts +1 -1
  8. package/dist/AvatarGroup/index.js +1 -1
  9. package/dist/{AvatarGroup-DJKoExQk.js → AvatarGroup-BIPixZOb.js} +1 -1
  10. package/dist/Banner/index.d.ts +1 -1
  11. package/dist/Banner/index.js +1 -1
  12. package/dist/{Banner-DSSXXFU9.js → Banner-CMXebR4Y.js} +1 -1
  13. package/dist/BottomSheet/index.js +2 -2
  14. package/dist/{BottomSheet-KUGb-GPw.js → BottomSheet-BmmGemH5.js} +1 -1
  15. package/dist/{BottomSheet-Jq7g0EWd.js → BottomSheet-DKEUVLe5.js} +9 -9
  16. package/dist/Breadcrumbs/index.js +2 -2
  17. package/dist/{Breadcrumbs-BEx7_LpB.js → Breadcrumbs-BPxPAEHQ.js} +1 -1
  18. package/dist/Button/index.d.ts +1 -1
  19. package/dist/Button/index.js +1 -1
  20. package/dist/{Button-BlWhnkeM.js → Button-B7PvGVt6.js} +4 -4
  21. package/dist/ButtonGroup/index.d.ts +1 -1
  22. package/dist/ButtonGroup/index.js +1 -1
  23. package/dist/{ButtonGroup-D3pGXH3t.js → ButtonGroup-BkwQ0h97.js} +2 -2
  24. package/dist/Calendar/index.d.ts +1 -1
  25. package/dist/Card/index.d.ts +1 -1
  26. package/dist/Carousel/index.d.ts +1 -1
  27. package/dist/Carousel/index.js +1 -1
  28. package/dist/{Carousel-XHo3AGQj.js → Carousel-BmfKiv69.js} +1 -1
  29. package/dist/Chat/index.d.ts +1 -1
  30. package/dist/Chat/index.js +1 -1
  31. package/dist/{Chat-B0c_CxBk.js → Chat-2AG37D51.js} +5 -5
  32. package/dist/CheckboxInput/index.d.ts +1 -1
  33. package/dist/CheckboxInput/index.js +1 -1
  34. package/dist/{CheckboxInput-DCeCsNvg.js → CheckboxInput-rbMgS8ZL.js} +79 -74
  35. package/dist/CheckboxList/index.d.ts +1 -1
  36. package/dist/CheckboxList/index.js +1 -1
  37. package/dist/{CheckboxListItem-CGC_EBYs.js → CheckboxListItem-Ckt1Cwt_.js} +5 -5
  38. package/dist/ClickableCard/index.d.ts +1 -1
  39. package/dist/ClickableCard/index.js +1 -1
  40. package/dist/{ClickableCard-aU0QED8P.js → ClickableCard-Dh0tOQv-.js} +1 -1
  41. package/dist/Code/index.js +1 -1
  42. package/dist/{CodeBlock-ClZvd61o.js → CodeBlock-ZluDuBT7.js} +1 -1
  43. package/dist/Collapsible/index.js +1 -1
  44. package/dist/{Collapsible-BAup__Sy.js → Collapsible-B_9H2wV_.js} +3 -3
  45. package/dist/CommandPalette/index.js +1 -1
  46. package/dist/{CommandPalette-CvalZZHH.js → CommandPalette-Cbr-WWC8.js} +2 -2
  47. package/dist/ComplexSelector/index.d.ts +1 -1
  48. package/dist/ComplexSelector/index.js +1 -1
  49. package/dist/{ComplexSelector-DIwWcWwi.js → ComplexSelector-BPvBCUJk.js} +2 -2
  50. package/dist/ContextMenu/index.d.ts +1 -1
  51. package/dist/ContextMenu/index.js +2 -2
  52. package/dist/{ContextMenu-BnX93m0D.js → ContextMenu-BF4ALBZn.js} +6 -6
  53. package/dist/DateInput/index.d.ts +1 -1
  54. package/dist/DateInput/index.js +1 -1
  55. package/dist/{DateInput-BFjeik3X.js → DateInput-C7PICKR2.js} +4 -4
  56. package/dist/DateRangeInput/index.d.ts +1 -1
  57. package/dist/DateRangeInput/index.js +1 -1
  58. package/dist/{DateRangeInput-Cnrp5SDW.js → DateRangeInput-Dt-BA7AA.js} +3 -3
  59. package/dist/DateTimeInput/index.d.ts +1 -1
  60. package/dist/DateTimeInput/index.js +1 -1
  61. package/dist/{DateTimeInput-Zsf86rSO.js → DateTimeInput-XEESzGJf.js} +5 -5
  62. package/dist/Dialog/index.d.ts +1 -1
  63. package/dist/Dialog/index.js +3 -3
  64. package/dist/{Dialog-Bl5CCsoX.js → Dialog-B1xC9xMC.js} +2 -2
  65. package/dist/{Dialog-DIWIrzgk.js → Dialog-BmdNX3NC.js} +1 -1
  66. package/dist/{DialogHeader-DbWkeIrf.js → DialogHeader-DcP4xAk3.js} +2 -2
  67. package/dist/Divider/index.d.ts +1 -1
  68. package/dist/Drawer/index.d.ts +1 -1
  69. package/dist/Drawer/index.js +1 -1
  70. package/dist/{Drawer-MdC2BxbG.js → Drawer-CdHbZffI.js} +2 -2
  71. package/dist/DropdownMenu/index.js +2 -2
  72. package/dist/{DropdownMenu-4o8qS78m.js → DropdownMenu-C1494BkC.js} +9 -9
  73. package/dist/EmptyState/index.js +1 -1
  74. package/dist/{EmptyState-CeZXvaPU.js → EmptyState-BAP8BpDj.js} +2 -2
  75. package/dist/Field/index.js +3 -3
  76. package/dist/{Field-CrTrfcXB.js → Field-KszpxUdx.js} +1 -1
  77. package/dist/{FieldInfoTip-C3Ztw-wI.js → FieldInfoTip-CY9BTVtK.js} +1 -1
  78. package/dist/{FieldLabel-CFE2WC_i.js → FieldLabel-KPCTcJpO.js} +1 -1
  79. package/dist/FileInput/index.js +1 -1
  80. package/dist/{FileInput-BhO1SCw-.js → FileInput-BTIn6OoY.js} +3 -3
  81. package/dist/Heading/index.d.ts +1 -1
  82. package/dist/Heading/index.js +1 -1
  83. package/dist/{Heading-AZCa8gid.js → Heading-D94VFJtm.js} +1 -1
  84. package/dist/HoverCard/index.d.ts +1 -1
  85. package/dist/HoverCard/index.js +1 -1
  86. package/dist/{HoverCard-C4VR_GZ0.js → HoverCard-rwpyd6nt.js} +4 -4
  87. package/dist/IconButton/index.js +1 -1
  88. package/dist/{IconButton-CqWEkha9.js → IconButton-e5xeGow-.js} +1 -1
  89. package/dist/InfoTip/index.d.ts +1 -1
  90. package/dist/InfoTip/index.js +1 -1
  91. package/dist/{InfoTip-Dps1Aaem.js → InfoTip-DpvV8zrm.js} +2 -2
  92. package/dist/{InputClearButton-Xjvkkq7B.js → InputClearButton-BzxJH6mk.js} +1 -1
  93. package/dist/InputGroup/index.d.ts +1 -1
  94. package/dist/InputGroup/index.js +1 -1
  95. package/dist/{InputGroup-gYIGs7VH.js → InputGroup-Bj4hksiI.js} +1 -1
  96. package/dist/{Item-FxMSEuU3.js → Item-D62Cibn1.js} +2 -2
  97. package/dist/{LayerContentBoundary-C7VZOgMs.js → LayerContentBoundary-CTjEpdM4.js} +1 -1
  98. package/dist/Layout/index.js +2 -2
  99. package/dist/{Layout-D6UhyoVb.js → Layout-SJoCw8NC.js} +1 -1
  100. package/dist/{LayoutPanel-DfS5TvSP.js → LayoutPanel-DZN4RxX6.js} +1 -1
  101. package/dist/Lightbox/index.js +1 -1
  102. package/dist/{Lightbox-76vHqGA0.js → Lightbox-FWtAn7X5.js} +1 -1
  103. package/dist/Link/index.d.ts +1 -1
  104. package/dist/Link/index.js +1 -1
  105. package/dist/{Link-QPBGLcTk.js → Link-BxK3lbA-.js} +2 -2
  106. package/dist/List/index.d.ts +1 -1
  107. package/dist/List/index.js +2 -2
  108. package/dist/{ListItem-Ss6Kw90l.js → ListItem-B4jt3EXr.js} +4 -4
  109. package/dist/Markdown/index.js +1 -1
  110. package/dist/{Markdown-Cz6wbx9z.js → Markdown-CsoseOGe.js} +3 -3
  111. package/dist/MobileNav/index.js +1 -1
  112. package/dist/{MobileNavToggle-CCJBX2fq.js → MobileNavToggle-AgT6hzTg.js} +2 -2
  113. package/dist/MoreMenu/index.d.ts +1 -1
  114. package/dist/MoreMenu/index.js +1 -1
  115. package/dist/{MoreMenu-OOQAeJT9.js → MoreMenu-4zcxptan.js} +8 -8
  116. package/dist/MultiSelector/index.d.ts +1 -1
  117. package/dist/MultiSelector/index.js +1 -1
  118. package/dist/{MultiSelector-9HGDsMQE.js → MultiSelector-LuAE71wE.js} +6 -6
  119. package/dist/{NavDisclosure-BTeZLyLq.js → NavDisclosure-CSnUZY3k.js} +1 -1
  120. package/dist/{NavHeadingSurface-DPmolgVb.js → NavHeadingSurface-C3fTf5--.js} +1 -1
  121. package/dist/NavItem/index.d.ts +1 -1
  122. package/dist/NavItem/index.js +1 -1
  123. package/dist/{NavItem-BL3g0YUf.js → NavItem-mcmzIshL.js} +1 -1
  124. package/dist/NavMenu/index.js +3 -3
  125. package/dist/{NavMenu-DcTh1DCM.js → NavMenu-Bp35Bk7_.js} +2 -2
  126. package/dist/{NavMenuItem-Dmsno5s3.js → NavMenuItem-DviXkleh.js} +3 -3
  127. package/dist/NumberInput/index.d.ts +1 -1
  128. package/dist/NumberInput/index.js +1 -1
  129. package/dist/{NumberInput-DWYCcrUw.js → NumberInput-CxzhFPQw.js} +3 -3
  130. package/dist/Outline/index.js +1 -1
  131. package/dist/{Outline-DGtPcD0U.js → Outline-KpA-ffCT.js} +3 -3
  132. package/dist/OverflowList/index.d.ts +1 -1
  133. package/dist/OverflowList/index.js +1 -1
  134. package/dist/{OverflowList-EIr4jQjY.js → OverflowList-DRZxrAYq.js} +2 -2
  135. package/dist/Overlay/index.d.ts +1 -1
  136. package/dist/Pagination/index.d.ts +1 -1
  137. package/dist/Pagination/index.js +1 -1
  138. package/dist/{Pagination-Ch7-xIFe.js → Pagination-B3JMAlnl.js} +2 -2
  139. package/dist/PanGestureRecognizer-R5y8LZ9h.js +681 -0
  140. package/dist/Popover/index.d.ts +1 -1
  141. package/dist/Popover/index.js +1 -1
  142. package/dist/{Popover-LSIKv1zS.js → Popover-CQr95J2s.js} +10 -10
  143. package/dist/PowerSearch/index.d.ts +1 -1
  144. package/dist/PowerSearch/index.js +1 -1
  145. package/dist/{PowerSearch-Cjkv0qON.js → PowerSearch-BEaqgsZa.js} +26 -26
  146. package/dist/PressTracker-Dze87pxw.js +190 -0
  147. package/dist/ProgressBar/index.d.ts +1 -1
  148. package/dist/ProgressBar/index.js +1 -1
  149. package/dist/{ProgressBar-nPERcjvJ.js → ProgressBar-ChgsiVRR.js} +3 -3
  150. package/dist/Radio/index.d.ts +1 -1
  151. package/dist/Radio/index.js +1 -1
  152. package/dist/{RadioGroup-BWFVn7Gd.js → RadioGroup-CpMYh9eL.js} +9 -6
  153. package/dist/RadioList/index.d.ts +1 -1
  154. package/dist/RadioList/index.js +1 -1
  155. package/dist/{RadioListItem-D1rnSZeL.js → RadioListItem-n-h5r1GO.js} +1 -1
  156. package/dist/Resizable/index.d.ts +1 -1
  157. package/dist/Resizable/index.js +1 -1
  158. package/dist/{ResizeHandle-DyjQfxxG.js → ResizeHandle-J9-dAMuo.js} +2 -2
  159. package/dist/ScrollableArea/index.d.ts +1 -1
  160. package/dist/SegmentedControl/index.js +1 -1
  161. package/dist/SegmentedControl-nz9d6e0y.js +1465 -0
  162. package/dist/SelectableCard/index.d.ts +1 -1
  163. package/dist/SelectableCard/index.js +1 -1
  164. package/dist/{SelectableCard-uDblNb5T.js → SelectableCard-C018jluo.js} +1 -1
  165. package/dist/Selector/index.d.ts +1 -1
  166. package/dist/Selector/index.js +1 -1
  167. package/dist/{Selector-BiLcyM3Y.js → Selector-CW1jaM4F.js} +4 -4
  168. package/dist/SideNav/index.d.ts +1 -1
  169. package/dist/SideNav/index.js +2 -2
  170. package/dist/{SideNav-d0A9mlEW.js → SideNav-DgRpBPuP.js} +9 -9
  171. package/dist/Slider/index.js +1 -1
  172. package/dist/Slider-Bz72itTP.js +1786 -0
  173. package/dist/Stack/index.d.ts +1 -1
  174. package/dist/StatusDot/index.js +1 -1
  175. package/dist/{StatusDot-D3z-WEGn.js → StatusDot-D7nVuPg7.js} +1 -1
  176. package/dist/Stepper/index.d.ts +1 -1
  177. package/dist/Stepper/index.js +1 -1
  178. package/dist/{Stepper-CePOs80C.js → Stepper-Af_rH8C4.js} +1 -1
  179. package/dist/Switch/index.d.ts +1 -1
  180. package/dist/Switch/index.js +1 -1
  181. package/dist/Switch-BYsb1gKn.js +1397 -0
  182. package/dist/TabList/index.d.ts +1 -1
  183. package/dist/TabList/index.js +1 -1
  184. package/dist/{TabList-CthDI2i1.js → TabList-Cgw2IuL-.js} +3 -3
  185. package/dist/Table/index.d.ts +1 -1
  186. package/dist/Table/index.js +1 -1
  187. package/dist/{Table-egoY0slV.js → Table-DzE-4_og.js} +12 -12
  188. package/dist/Text/index.d.ts +1 -1
  189. package/dist/Text/index.js +1 -1
  190. package/dist/{Text-CGb1rxyK.js → Text-kwsIut3C.js} +1 -1
  191. package/dist/TextArea/index.d.ts +1 -1
  192. package/dist/TextArea/index.js +1 -1
  193. package/dist/{TextArea-B3WlT4sr.js → TextArea-DrYMTaZm.js} +4 -4
  194. package/dist/TextInput/index.d.ts +1 -1
  195. package/dist/TextInput/index.js +1 -1
  196. package/dist/{TextInput-C4CqgE0E.js → TextInput-B-1cuwcB.js} +4 -4
  197. package/dist/Thumbnail/index.js +1 -1
  198. package/dist/{Thumbnail-6YWZ9a2A.js → Thumbnail-DeMaRkDU.js} +3 -3
  199. package/dist/{TimeField-CvBKO_Ew.js → TimeField-C1Nv-fz3.js} +3 -3
  200. package/dist/TimeInput/index.d.ts +1 -1
  201. package/dist/TimeInput/index.js +1 -1
  202. package/dist/{TimeInput-Cl9HIZrP.js → TimeInput-Dvh6qqHI.js} +2 -2
  203. package/dist/Timer/index.d.ts +1 -1
  204. package/dist/Timer/index.js +1 -1
  205. package/dist/{Timer-BNa_W8zr.js → Timer-B-9sSJWK.js} +1 -1
  206. package/dist/Timestamp/index.d.ts +1 -1
  207. package/dist/Timestamp/index.js +1 -1
  208. package/dist/{Timestamp-D_NTXtxz.js → Timestamp-wFkl39dn.js} +3 -3
  209. package/dist/Toast/index.js +1 -1
  210. package/dist/{Toast-E6NqFf3W.js → Toast-CO6Z1r1s.js} +5 -3
  211. package/dist/ToggleButton/index.d.ts +1 -1
  212. package/dist/ToggleButton/index.js +1 -1
  213. package/dist/{ToggleButton-ih92QX-K.js → ToggleButton-DPpjDYxP.js} +3 -3
  214. package/dist/Token/index.js +1 -1
  215. package/dist/{Token-DE1udaRF.js → Token-DZkUAIYA.js} +1 -1
  216. package/dist/Tokenizer/index.js +1 -1
  217. package/dist/{Tokenizer-DbD2ZBuh.js → Tokenizer-CX7D4klL.js} +13 -13
  218. package/dist/Toolbar/index.d.ts +1 -1
  219. package/dist/Tooltip/index.d.ts +1 -1
  220. package/dist/Tooltip/index.js +2 -2
  221. package/dist/{Tooltip-sXtW5dTD.js → Tooltip-DyGaJUbl.js} +1 -1
  222. package/dist/TopNav/index.d.ts +1 -1
  223. package/dist/TopNav/index.js +1 -1
  224. package/dist/{TopNav-D688LaUK.js → TopNav-D8Hc_kQ-.js} +5 -5
  225. package/dist/TreeList/index.d.ts +1 -1
  226. package/dist/TreeList/index.js +1 -1
  227. package/dist/{TreeList-BFKPBFKu.js → TreeList-lNyuRBOk.js} +4 -4
  228. package/dist/Typeahead/index.js +2 -2
  229. package/dist/{Typeahead-BwjzOjT4.js → Typeahead-BiosTaFo.js} +5 -5
  230. package/dist/{VelocityTracker-bns4TzMt.js → VelocityTracker-CPFBHDpy.js} +1 -1
  231. package/dist/{accessibleName-nYUMoSTW.js → accessibleName-f5xApbXG.js} +2 -2
  232. package/dist/{animator-DnLs_cbV.js → animator-ozeBZ_zC.js} +3 -3
  233. package/dist/{assertOptions-BdLvkG6M.js → assertOptions-Byu4Yqfg.js} +1 -1
  234. package/dist/boxHold-YML2o6iP.js +170 -0
  235. package/dist/browserClickWait-DIj9tkLa.js +77 -0
  236. package/dist/{clickGuard-C3VmOLhI.js → clickGuard-CxqcfBCJ.js} +2 -2
  237. package/dist/{coarsePointer-BfMx3H23.js → coarsePointer-BWNSUIY8.js} +2 -32
  238. package/dist/composables/index.js +10 -10
  239. package/dist/{composables-B9tgZEzP.js → composables-CPDafrux.js} +12 -9
  240. package/dist/{context-Dktfy1fh.js → context-C1MPE6J5.js} +1 -1
  241. package/dist/{useAttachment-CALrXA-t.js → geometry-CGa3nNzZ.js} +14 -837
  242. package/dist/{gestures-CppaWqif.js → gestures-yKyyMqeQ.js} +225 -1
  243. package/dist/{holdEntranceInput-DgimbgGm.js → holdEntranceInput-C8B_DYYs.js} +2 -2
  244. package/dist/{index-MOtVbTwK.d.ts → index-B6GTqpW-.d.ts} +4 -4
  245. package/dist/{index-X4S7_dmq.d.ts → index-BA8exXNP.d.ts} +1 -1
  246. package/dist/{index-D7ShT2c-.d.ts → index-BB9acgK8.d.ts} +2 -2
  247. package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
  248. package/dist/{index-D65x5ny5.d.ts → index-BdICULsZ.d.ts} +78 -78
  249. package/dist/{index-maTGrWjF.d.ts → index-BenG-F5d.d.ts} +1 -1
  250. package/dist/{index-3LdpzxQZ.d.ts → index-BfFpUr1B.d.ts} +1 -1
  251. package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
  252. package/dist/{index-CKnr0JlT.d.ts → index-C4S65SAW.d.ts} +1 -1
  253. package/dist/{index-waTkqxTz.d.ts → index-C89cIh4E.d.ts} +1 -1
  254. package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
  255. package/dist/{index-Cm36VS1A.d.ts → index-C9uW39Mj.d.ts} +1 -1
  256. package/dist/{index-AgTJRqUY.d.ts → index-CQi9WGWE.d.ts} +2 -2
  257. package/dist/{index-Bwh8O-v8.d.ts → index-CZ29Xu_E.d.ts} +1 -1
  258. package/dist/{index-85y5NZP-.d.ts → index-CpkQlo1t.d.ts} +2 -2
  259. package/dist/{index-rdwI-mcm.d.ts → index-CtYlR9Cu.d.ts} +1 -1
  260. package/dist/{index-DWVhyvVu.d.ts → index-CukA-J8A.d.ts} +6 -6
  261. package/dist/{index-eCp-ElSp.d.ts → index-DYabo8TI.d.ts} +1 -1
  262. package/dist/{index-CM00rrgg.d.ts → index-DhrnMYVh.d.ts} +3 -3
  263. package/dist/{index-BOiwoyXq.d.ts → index-DlsrR4Gm.d.ts} +8 -8
  264. package/dist/{index-Otl047R1.d.ts → index-DofC9Rll.d.ts} +1 -1
  265. package/dist/{index-CArP_6wv.d.ts → index-ZXrvTM3A.d.ts} +1 -1
  266. package/dist/{index-CbA8rR_b.d.ts → index-a_FOKJMw.d.ts} +2 -2
  267. package/dist/{index-CdvmnNMH.d.ts → index-jz9GfvS0.d.ts} +1 -1
  268. package/dist/{index-Ak1b0V24.d.ts → index-tdOyqA_U.d.ts} +1 -1
  269. package/dist/index.d.ts +25 -25
  270. package/dist/index.js +101 -101
  271. package/dist/{inputHold-DW2LYHb5.js → inputHold-BJtjc9iI.js} +4 -4
  272. package/dist/{inputHoldState-xntIqr5W.js → inputHoldState-BYi5FKZl.js} +2 -2
  273. package/dist/{inputStream-bPd9eB2b.js → inputStream-HXw2lZ-3.js} +1 -1
  274. package/dist/{landing-9mjHGn26.js → landing-BW6qLvC8.js} +1 -1
  275. package/dist/{layerDepth-c3jUndA2.js → layerDepth-SGFJ5L6X.js} +1 -1
  276. package/dist/{lazyBottomSheet-Ca7Mdou2.js → lazyBottomSheet-Bg5E8lr3.js} +1 -1
  277. package/dist/{linearEasing-CBwOorE7.js → linearEasing-VHwy6xl_.js} +1 -1
  278. package/dist/{presentation-Cy_yf56y.js → presentation-twEOzzJq.js} +1 -1
  279. package/dist/{presentationHold-B4tK68sd.js → presentationHold-ZKixVLcz.js} +1 -1
  280. package/dist/pressClaim-DvdlIn4w.js +24 -0
  281. package/dist/{pressFeedback-BlOSZew9.js → pressFeedback--_INTed0.js} +49 -9
  282. package/dist/{pressGesture-yntcDLXo.js → pressGesture-B3Efxs_z.js} +1 -1
  283. package/dist/{rubberBand-DDapO54w.js → projection-qPcLQcwK.js} +2 -50
  284. package/dist/{reportChange-DPFCmyOB.js → reportChange-DwOfucSf.js} +4 -4
  285. package/dist/{resizableChannel-DOmBYh4V.js → resizableChannel-BnwrR5tr.js} +5 -5
  286. package/dist/{resolveMotion-CF9fXX0t.js → resolveMotion-DftkGFw6.js} +1 -1
  287. package/dist/{resolveSnapPoint-mZzJRIC2.js → resolveSnapPoint-A4dhS5jj.js} +1 -1
  288. package/dist/rubberBand-DDd5ElTe.js +65 -0
  289. package/dist/selectionLock-BrUpRS0E.js +130 -0
  290. package/dist/{sharedRealm-H1OrlP0V.js → sharedRealm-DBtNH73I.js} +9 -1
  291. package/dist/{springs-B2jqskKJ.js → springs-DjAn_oV5.js} +1 -1
  292. package/dist/{stillPointerGate-Htiy6uKa.js → stillPointerGate-BvCX7ddI.js} +1 -1
  293. package/dist/{themeTiming-ClYaZxGf.js → themeTiming-BJziEh4O.js} +1 -1
  294. package/dist/{tooltipFocusRules-BHJUQprJ.js → tooltipFocusRules-CxIlSnHw.js} +2 -2
  295. package/dist/{tooltipTriggerRules-Dremu4W9.js → tooltipTriggerRules-CHNpQ6RL.js} +1 -1
  296. package/dist/{touchHold-DXtx7npm.js → touchHold-CjNjGH7O.js} +1 -1
  297. package/dist/touchQueries-xy5IeZfe.js +32 -0
  298. package/dist/{useActionGroupTracking-DDhfTUOK.js → useActionGroupTracking-BTjuGF9J.js} +3 -3
  299. package/dist/{useAnimatedLayout-B6Xj_kTo.js → useAnimatedLayout-CRAuCwTZ.js} +1 -1
  300. package/dist/useAttachment-CGiD9rt6.js +24 -0
  301. package/dist/{useChatStreamScroll-CuMzkXgD.js → useChatStreamScroll-DcNKcNTj.js} +1 -1
  302. package/dist/{useDismiss-BvDK4xBe.js → useDismiss-6SGAlkB_.js} +1 -1
  303. package/dist/{useHeldPresentation-BF5vGVUn.js → useHeldPresentation-CaIKTwUh.js} +1 -1
  304. package/dist/{useInputStatusIcon-MyCpVp3g.js → useInputStatusIcon-Bl2JFlc3.js} +1 -1
  305. package/dist/{useMenuEntranceHold-HznOwIry.js → useMenuEntranceHold-C-kHicUN.js} +1 -1
  306. package/dist/{useMenuPress-BJVQF7ml.js → useMenuPress-CF1GHP_7.js} +6 -4
  307. package/dist/{usePressFeedback-cxyksfAD.js → usePressFeedback-B_NavJu0.js} +1 -1
  308. package/dist/{useResizable-C-9ff2ZK.js → useResizable-I0APFcMz.js} +6 -5
  309. package/dist/{useTooltip-w57yzB7h.js → useTooltip-owvVSn_m.js} +4 -4
  310. package/dist/{useTouchHitArea-CgUvnuTz.js → useTouchHitArea-BpEJXuu-.js} +2 -2
  311. package/dist/{useTouchTriggerInternal-DSA228_-.js → useTouchTriggerInternal-5ExaYYSy.js} +1 -1
  312. package/dist/{useTruncationTooltip--w8vh7M-.js → useTruncationTooltip-DHI6q_EV.js} +3 -3
  313. package/dist/{useTypeaheadMenuConfig-C-EOaLF-.js → useTypeaheadMenuConfig-COiZ4isy.js} +1 -1
  314. package/package.json +1 -1
  315. package/styles/segmented-control.css +20 -11
  316. package/styles/slider.css +59 -12
  317. package/styles/switch.css +101 -34
  318. package/dist/SegmentedControl-CkR8ur3h.js +0 -416
  319. package/dist/Slider-BdIrYmul.js +0 -735
  320. package/dist/Switch-6tQbDX9A.js +0 -355
@@ -1,4 +1,4 @@
1
- import { s as scroll } from "./gestures-CppaWqif.js";
1
+ import { u as scroll } from "./gestures-yKyyMqeQ.js";
2
2
  //#region src/motion/projection.ts
3
3
  /**
4
4
  * @file projection.ts
@@ -72,52 +72,4 @@ function selectSnapPoint(points, { position, velocity, rate = scroll.deceleratio
72
72
  };
73
73
  }
74
74
  //#endregion
75
- //#region src/motion/rubberBand.ts
76
- /**
77
- * @file rubberBand.ts
78
- * @input An overflow past an edge, the scroll view's dimension and UIKit's
79
- * rubber-band coefficient
80
- * @output Exports `rubberBand` (finger overflow → displayed overflow), its
81
- * inverse, its slope, and the clamp/unclamp pair over a [min, max] range
82
- * @position Pure math; no DOM, no React
83
- *
84
- * UIScrollView resists a drag past its content edge with
85
- * b = (1 − 1 ÷ (x·c ÷ d + 1))·d
86
- * where x is how far the finger has gone past the edge, d the scroll view's
87
- * size on that axis and c = 0.55 (uikit/scroll.ts records the sources). The
88
- * displayed overflow b approaches d but never reaches it, and its slope at
89
- * the edge is c: the first points of overflow move at 55 % of the finger.
90
- *
91
- * The inverse matters for spec:AST-094 FR6 (a finger catches any animation
92
- * mid-flight): a finger that lands on content still bouncing back has to
93
- * resume the drag from the finger position that would produce the overflow
94
- * on screen, or the content jumps.
95
- */
96
- /**
97
- * Displayed overflow for a finger `overflow` past the edge (signed: the sign
98
- * is kept). `dimension` is the scroll view's size on the axis.
99
- */
100
- function rubberBand(overflow, dimension, coefficient = scroll.rubberBand.coefficient) {
101
- if (!(dimension > 0)) return 0;
102
- const banded = (1 - 1 / (Math.abs(overflow) * coefficient / dimension + 1)) * dimension;
103
- return overflow < 0 ? -banded : banded;
104
- }
105
- /** The finger overflow that displays `displayed`; ±Infinity at ±dimension. */
106
- function rubberBandInverse(displayed, dimension, coefficient = scroll.rubberBand.coefficient) {
107
- if (!(dimension > 0)) return 0;
108
- const b = Math.abs(displayed);
109
- if (b >= dimension) return displayed < 0 ? -Infinity : Infinity;
110
- const x = dimension / coefficient * b / (dimension - b);
111
- return displayed < 0 ? -x : x;
112
- }
113
- /**
114
- * d(displayed) ÷ d(finger) at a finger overflow: what a finger velocity
115
- * becomes on screen while banding (c at the edge, falling toward 0).
116
- */
117
- function rubberBandSlope(overflow, dimension, coefficient = scroll.rubberBand.coefficient) {
118
- if (!(dimension > 0)) return 0;
119
- const u = Math.abs(overflow) * coefficient / dimension + 1;
120
- return coefficient / (u * u);
121
- }
122
- //#endregion
123
- export { selectSnapPoint as a, project as i, rubberBandInverse as n, rubberBandSlope as r, rubberBand as t };
75
+ export { projectDistance as n, selectSnapPoint as r, project as t };
@@ -1,9 +1,9 @@
1
- import { a as sharedWeakMap, i as sharedState, n as sharedKey, o as sharedWeakSet, r as sharedMap } from "./sharedRealm-H1OrlP0V.js";
1
+ import { a as sharedState, n as sharedKey, o as sharedWeakMap, r as sharedMap, s as sharedWeakSet } from "./sharedRealm-DBtNH73I.js";
2
2
  import { d as toSpring } from "./roles-DWH31Bn3.js";
3
- import { n as sampleCount, o as settlingDuration, r as reducedMotionCrossFade, s as solveSpring, t as linearEasing } from "./linearEasing-CBwOorE7.js";
3
+ import { c as solveSpring, i as reducedMotionCrossFade, n as sampleCount, s as settlingDuration, t as linearEasing } from "./linearEasing-VHwy6xl_.js";
4
4
  import { r as themeReducesMotion } from "./reducedMotionMark-CYSyfURo.js";
5
- import { a as registerPresentedOffset, c as writePresentedResolve, n as clearPresentedResolve, t as batchPresented } from "./presentation-Cy_yf56y.js";
6
- import { r as readThemeTokenText, t as readThemeTiming } from "./themeTiming-ClYaZxGf.js";
5
+ import { a as registerPresentedOffset, c as writePresentedResolve, n as clearPresentedResolve, t as batchPresented } from "./presentation-twEOzzJq.js";
6
+ import { i as readThemeTokenText, n as readThemeTiming } from "./themeTiming-BJziEh4O.js";
7
7
  //#region src/motion/layout/glides.ts
8
8
  /**
9
9
  * @file glides.ts
@@ -1,8 +1,8 @@
1
- import { a as sharedWeakMap } from "./sharedRealm-H1OrlP0V.js";
2
- import { t as resolveMotion } from "./resolveMotion-CF9fXX0t.js";
3
- import { n as springs } from "./springs-B2jqskKJ.js";
4
- import { C as safeAnimate, D as scaleOf, E as intersects, O as visibleRect, _ as layoutMotion, a as placeOf, b as springGlide, c as areaOf, d as extentOf, f as isRtl, g as glideNextChange, h as changeStartIn, i as nextInFlow, k as glideOf, l as createAnimatedLayout, m as pxClip, n as rideNeighbour, p as previousInFlow, t as reportLayoutChange, x as beginChange, y as sampleOver } from "./reportChange-DPFCmyOB.js";
5
- import { n as landLayoutGlide } from "./landing-9mjHGn26.js";
1
+ import { o as sharedWeakMap } from "./sharedRealm-DBtNH73I.js";
2
+ import { t as resolveMotion } from "./resolveMotion-DftkGFw6.js";
3
+ import { o as springs } from "./springs-DjAn_oV5.js";
4
+ import { C as safeAnimate, D as scaleOf, E as intersects, O as visibleRect, _ as layoutMotion, a as placeOf, b as springGlide, c as areaOf, d as extentOf, f as isRtl, g as glideNextChange, h as changeStartIn, i as nextInFlow, k as glideOf, l as createAnimatedLayout, m as pxClip, n as rideNeighbour, p as previousInFlow, t as reportLayoutChange, x as beginChange, y as sampleOver } from "./reportChange-DwOfucSf.js";
5
+ import { n as landLayoutGlide } from "./landing-BW6qLvC8.js";
6
6
  //#region src/motion/layout/edgeReport.ts
7
7
  const resizeReveals = sharedWeakMap("motion/animated-layout/resize-reveals", 1);
8
8
  /** The inline properties a size hold sets, by axis. */
@@ -1,5 +1,5 @@
1
1
  import { c as isSpring, d as toSpring, n as motionRoleOf, t as motionRoleIn } from "./roles-DWH31Bn3.js";
2
- import { s as solveSpring, t as linearEasing } from "./linearEasing-CBwOorE7.js";
2
+ import { c as solveSpring, t as linearEasing } from "./linearEasing-VHwy6xl_.js";
3
3
  //#region src/motion/themeTempo.ts
4
4
  /**
5
5
  * @file themeTempo.ts
@@ -1,4 +1,4 @@
1
- import { a as selectSnapPoint } from "./rubberBand-DDapO54w.js";
1
+ import { r as selectSnapPoint } from "./projection-qPcLQcwK.js";
2
2
  //#region src/motion/resolveSnapPoint.ts
3
3
  /**
4
4
  * @file resolveSnapPoint.ts
@@ -0,0 +1,65 @@
1
+ import { u as scroll } from "./gestures-yKyyMqeQ.js";
2
+ //#region src/motion/rubberBand.ts
3
+ /**
4
+ * @file rubberBand.ts
5
+ * @input An overflow past an edge, the scroll view's dimension and UIKit's
6
+ * rubber-band coefficient
7
+ * @output Exports `rubberBand` (finger overflow → displayed overflow), its
8
+ * inverse, its slope, and the clamp/unclamp pair over a [min, max] range
9
+ * @position Pure math; no DOM, no React
10
+ *
11
+ * UIScrollView resists a drag past its content edge with
12
+ * b = (1 − 1 ÷ (x·c ÷ d + 1))·d
13
+ * where x is how far the finger has gone past the edge, d the scroll view's
14
+ * size on that axis and c = 0.55 (uikit/scroll.ts records the sources). The
15
+ * displayed overflow b approaches d but never reaches it, and its slope at
16
+ * the edge is c: the first points of overflow move at 55 % of the finger.
17
+ *
18
+ * The inverse matters for spec:AST-094 FR6 (a finger catches any animation
19
+ * mid-flight): a finger that lands on content still bouncing back has to
20
+ * resume the drag from the finger position that would produce the overflow
21
+ * on screen, or the content jumps.
22
+ */
23
+ /**
24
+ * Displayed overflow for a finger `overflow` past the edge (signed: the sign
25
+ * is kept). `dimension` is the scroll view's size on the axis.
26
+ */
27
+ function rubberBand(overflow, dimension, coefficient = scroll.rubberBand.coefficient) {
28
+ if (!(dimension > 0)) return 0;
29
+ const banded = (1 - 1 / (Math.abs(overflow) * coefficient / dimension + 1)) * dimension;
30
+ return overflow < 0 ? -banded : banded;
31
+ }
32
+ /** The finger overflow that displays `displayed`; ±Infinity at ±dimension. */
33
+ function rubberBandInverse(displayed, dimension, coefficient = scroll.rubberBand.coefficient) {
34
+ if (!(dimension > 0)) return 0;
35
+ const b = Math.abs(displayed);
36
+ if (b >= dimension) return displayed < 0 ? -Infinity : Infinity;
37
+ const x = dimension / coefficient * b / (dimension - b);
38
+ return displayed < 0 ? -x : x;
39
+ }
40
+ /**
41
+ * d(displayed) ÷ d(finger) at a finger overflow: what a finger velocity
42
+ * becomes on screen while banding (c at the edge, falling toward 0).
43
+ */
44
+ function rubberBandSlope(overflow, dimension, coefficient = scroll.rubberBand.coefficient) {
45
+ if (!(dimension > 0)) return 0;
46
+ const u = Math.abs(overflow) * coefficient / dimension + 1;
47
+ return coefficient / (u * u);
48
+ }
49
+ /**
50
+ * The displayed value for a raw (finger-driven) `value` constrained to
51
+ * [min, max]: unchanged inside, rubber-banded past either edge.
52
+ */
53
+ function rubberBandClamp(value, min, max, dimension, coefficient = scroll.rubberBand.coefficient) {
54
+ if (value < min) return min + rubberBand(value - min, dimension, coefficient);
55
+ if (value > max) return max + rubberBand(value - max, dimension, coefficient);
56
+ return value;
57
+ }
58
+ /** Inverse of `rubberBandClamp`: the raw value that displays `displayed`. */
59
+ function rubberBandUnclamp(displayed, min, max, dimension, coefficient = scroll.rubberBand.coefficient) {
60
+ if (displayed < min) return min + rubberBandInverse(displayed - min, dimension, coefficient);
61
+ if (displayed > max) return max + rubberBandInverse(displayed - max, dimension, coefficient);
62
+ return displayed;
63
+ }
64
+ //#endregion
65
+ export { rubberBandUnclamp as a, rubberBandSlope as i, rubberBandClamp as n, rubberBandInverse as r, rubberBand as t };
@@ -0,0 +1,130 @@
1
+ import { c as containsAlongFlatTree, g as isNode, m as isElement, o as sharedWeakMap } from "./sharedRealm-DBtNH73I.js";
2
+ import { n as isIosWebKit } from "./touchQueries-xy5IeZfe.js";
3
+ //#region src/utils/selectionLock.ts
4
+ /**
5
+ * @file selectionLock.ts
6
+ * @input The elements a held touch contact presses, and the touch's target
7
+ * @output lockSelection and locksSelectionFor give a held finger's lock;
8
+ * lockStyles and isTextEntry are shared with a claimed drag's hold
9
+ * (dragSelection.ts)
10
+ * @position Recognizers whose hold does something bring lockSelection; the
11
+ * gesture host reads locksSelectionFor, and its drag hold is
12
+ * dragSelection.ts
13
+ */
14
+ /** What a held finger must not start on a control or a cell. */
15
+ const SELECTION_LOCK = [
16
+ "-webkit-touch-callout",
17
+ "-webkit-user-select",
18
+ "user-select"
19
+ ];
20
+ /** Inputs whose text a held finger edits: it places the caret there. */
21
+ const TEXT_ENTRY_TYPES = /* @__PURE__ */ new Set([
22
+ "text",
23
+ "search",
24
+ "email",
25
+ "url",
26
+ "tel",
27
+ "password",
28
+ "number"
29
+ ]);
30
+ /**
31
+ * Whether a contact of this pointer kind takes the lock: a finger or a pen,
32
+ * under any primary pointer, a laptop's touchscreen and a desktop pen tablet
33
+ * included, since a pen's hold acts as a finger's.
34
+ */
35
+ function locksSelectionFor(pointerType) {
36
+ return pointerType !== "mouse";
37
+ }
38
+ /**
39
+ * Locked elements, how many contacts hold each, and what to restore. Every
40
+ * copy of Core counts here, so the first lock's saved styles come back only
41
+ * after the last release in any copy.
42
+ */
43
+ const locks = sharedWeakMap("utils/selection-lock/locks", 1);
44
+ /**
45
+ * Refuse a selection and the touch callout on `elements` (and on a non-text
46
+ * input target inside one of them) until the returned function runs, while
47
+ * any holder holds. Idempotent release.
48
+ */
49
+ function lockSelection(elements, target) {
50
+ const set = new Set(elements);
51
+ if (isSelectableControl(target) && [...set].some((element) => containsAlongFlatTree(element, target))) set.add(target);
52
+ if (!isIosWebKit()) {
53
+ const refuse = (event) => {
54
+ if (!isTextEntry(event.target)) event.preventDefault();
55
+ };
56
+ for (const element of set) element.addEventListener("selectstart", refuse);
57
+ let isRefusing = true;
58
+ return () => {
59
+ if (isRefusing) {
60
+ isRefusing = false;
61
+ for (const element of set) element.removeEventListener("selectstart", refuse);
62
+ }
63
+ };
64
+ }
65
+ return lockStyles(set);
66
+ }
67
+ /**
68
+ * The selection-lock styles on `set`, refcounted per element; idempotent
69
+ * release.
70
+ */
71
+ function lockStyles(set) {
72
+ const locked = [];
73
+ for (const element of set) {
74
+ const style = styleOf(element);
75
+ if (style == null) continue;
76
+ locked.push(element);
77
+ const lock = locks.get(element);
78
+ if (lock != null) {
79
+ lock.count += 1;
80
+ continue;
81
+ }
82
+ locks.set(element, {
83
+ count: 1,
84
+ saved: SELECTION_LOCK.map((name) => ({
85
+ name,
86
+ value: style.getPropertyValue(name),
87
+ priority: style.getPropertyPriority(name)
88
+ }))
89
+ });
90
+ for (const name of SELECTION_LOCK) style.setProperty(name, "none");
91
+ }
92
+ let isReleased = false;
93
+ return () => {
94
+ if (isReleased) return;
95
+ isReleased = true;
96
+ for (const element of locked) {
97
+ const lock = locks.get(element);
98
+ if (lock == null || --lock.count > 0) continue;
99
+ locks.delete(element);
100
+ const style = styleOf(element);
101
+ for (const { name, value, priority } of lock.saved) if (value === "") style?.removeProperty(name);
102
+ else style?.setProperty(name, value, priority);
103
+ }
104
+ };
105
+ }
106
+ /**
107
+ * A form control WebKit's own stylesheet makes selectable, which no
108
+ * ancestor's lock reaches: every input that is not a text field.
109
+ */
110
+ function isSelectableControl(node) {
111
+ return isElement(node) && node.localName === "input" && !TEXT_ENTRY_TYPES.has(node.type);
112
+ }
113
+ /** Text a held finger edits: it places the caret there. */
114
+ function isTextEntry(node) {
115
+ const element = isElement(node) ? node : isNode(node) ? node.parentElement : null;
116
+ if (element == null) return false;
117
+ if (element.localName === "textarea") return true;
118
+ if (element.localName === "input") return TEXT_ENTRY_TYPES.has(element.type);
119
+ return element.isContentEditable;
120
+ }
121
+ /**
122
+ * An element's inline style, when it has one (HTML and SVG elements). It is
123
+ * checked as an object, so another window's style passes too.
124
+ */
125
+ function styleOf(element) {
126
+ const style = element.style;
127
+ return typeof style === "object" && style !== null ? style : null;
128
+ }
129
+ //#endregion
130
+ export { locksSelectionFor as i, lockSelection as n, lockStyles as r, isTextEntry as t };
@@ -120,5 +120,13 @@ function sharedWeakMap(name, version) {
120
120
  function sharedWeakSet(name, version) {
121
121
  return sharedState(name, version, () => /* @__PURE__ */ new WeakSet());
122
122
  }
123
+ /** 按注册名共享的递增序号:每调一次返回下一个,从 1 开始。 */
124
+ function sharedSequence(name, version) {
125
+ const counter = sharedState(name, version, () => ({ next: 0 }));
126
+ return () => {
127
+ counter.next += 1;
128
+ return counter.next;
129
+ };
130
+ }
123
131
  //#endregion
124
- export { sharedWeakMap as a, deepActiveElement as c, shadowRootsOutward as d, isDocument as f, isNode as h, sharedState as i, parentAcrossShadow as l, isHTMLElement as m, sharedKey as n, sharedWeakSet as o, isElement as p, sharedMap as r, containsAlongFlatTree as s, realmValue as t, shadowHostOf as u };
132
+ export { sharedState as a, containsAlongFlatTree as c, shadowHostOf as d, shadowRootsOutward as f, isNode as g, isHTMLElement as h, sharedSequence as i, deepActiveElement as l, isElement as m, sharedKey as n, sharedWeakMap as o, isDocument as p, sharedMap as r, sharedWeakSet as s, realmValue as t, parentAcrossShadow as u };
@@ -534,4 +534,4 @@ function registerSpringsTable() {
534
534
  registerMotionTable("springs", SPRING_ROLES, { roles: Object.keys(SPRING_ROLES) });
535
535
  }
536
536
  //#endregion
537
- export { springs as n, registerSpringsTable as t };
537
+ export { registerSpringsTable as a, SWITCH_THUMB_MOVE_SPRING as i, SLIDER_LIFT_SPRING as n, springs as o, SLIDER_RELEASE_SPRING as r, SLIDER_DROP_SPRING as t };
@@ -1,4 +1,4 @@
1
- import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-BvDK4xBe.js";
1
+ import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-6SGAlkB_.js";
2
2
  import { n as clampInlineSize } from "./inlineSize-BNe8wggI.js";
3
3
  import { computed, onMounted, ref, toValue, watch } from "vue";
4
4
  //#region src/Typeahead/useAnchoredListbox.ts
@@ -174,4 +174,4 @@ function readThemeTimingOrInstant(element, tokens) {
174
174
  return (element == null ? null : readThemeTiming(element, tokens)) ?? easedProgress(0, (x) => x);
175
175
  }
176
176
  //#endregion
177
- export { readThemeTimingOrInstant as n, readThemeTokenText as r, readThemeTiming as t };
177
+ export { readThemeTokenText as i, readThemeTiming as n, readThemeTimingOrInstant as r, easedProgress as t };
@@ -1,5 +1,5 @@
1
- import { i as isTopLayer, n as useLayerDepth, o as pushLayer } from "./layerDepth-c3jUndA2.js";
2
- import { t as matchesFocusVisible } from "./tooltipTriggerRules-Dremu4W9.js";
1
+ import { i as isTopLayer, n as useLayerDepth, o as pushLayer } from "./layerDepth-SGFJ5L6X.js";
2
+ import { t as matchesFocusVisible } from "./tooltipTriggerRules-CHNpQ6RL.js";
3
3
  import { s as isTextEntryControl, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
4
4
  import { i as isFocusable } from "./focus-x7mxEqjR.js";
5
5
  import { onScopeDispose } from "vue";
@@ -1,4 +1,4 @@
1
- import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-BvDK4xBe.js";
1
+ import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-6SGAlkB_.js";
2
2
  import { computed, shallowRef, toValue, useId } from "vue";
3
3
  //#region src/composables/useLayer.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { i as sharedState } from "./sharedRealm-H1OrlP0V.js";
1
+ import { a as sharedState } from "./sharedRealm-DBtNH73I.js";
2
2
  //#region src/gestures/touchHold.ts
3
3
  /**
4
4
  * @file touchHold.ts
@@ -0,0 +1,32 @@
1
+ //#region src/utils/touchQueries.ts
2
+ /**
3
+ * @file touchQueries.ts
4
+ * @input Nothing: plain strings
5
+ * @output TOUCH_QUERY, the media query for a coarse primary pointer; and
6
+ * IOS_SUPPORTS_QUERY with isIosWebKit, the iOS WebKit engine check
7
+ * @position The dependency-free half of touchPresentation.ts, for code that
8
+ * must load without React or the theme: the motion foundation, which
9
+ * Node-side specs and browser proofs load without a StyleX compile.
10
+ * touchPresentation.ts re-exports it beside the hook and the parts that
11
+ * read the theme.
12
+ */
13
+ /** The primary pointer is coarse: touch behaviours. */
14
+ const TOUCH_QUERY = "(pointer: coarse)";
15
+ /**
16
+ * The engine is WebKit on iOS or iPadOS: the only one that implements
17
+ * `-webkit-touch-callout`. For a style iOS WebKit requires, never a
18
+ * behaviour; isIosWebKit reads it for an engine workaround a record names.
19
+ */
20
+ const IOS_SUPPORTS_QUERY = "(-webkit-touch-callout: none)";
21
+ /**
22
+ * Whether `view`'s engine is iOS WebKit, by IOS_SUPPORTS_QUERY. Only for an
23
+ * engine workaround a record names (`spec:AST-013` FR6): the selection
24
+ * lock's inline style, and the gesture host's presented hit testing. The
25
+ * keyboard's rise and its scroll back from the blur read it too. False where
26
+ * `CSS.supports` is missing (jsdom has `CSS.escape` only).
27
+ */
28
+ function isIosWebKit(view = globalThis) {
29
+ return view?.CSS?.supports?.(IOS_SUPPORTS_QUERY) === true;
30
+ }
31
+ //#endregion
32
+ export { isIosWebKit as n, TOUCH_QUERY as t };
@@ -1,6 +1,6 @@
1
- import { c as isTrackedByGroup, m as msSinceInput, s as PRESS_GROUP_ITEM_ATTRIBUTE, u as isInsideScrollView } from "./pressFeedback-BlOSZew9.js";
2
- import { i as createActionGroupTracker, o as resolveGroupTouch, r as GROUP_PRESS_POINTERS } from "./useTouchHitArea-CgUvnuTz.js";
3
- import { i as PRESS_SLOP_PX, n as PRESS_ONSET_MS } from "./pressGesture-yntcDLXo.js";
1
+ import { c as PRESS_GROUP_ITEM_ATTRIBUTE, d as isInsideScrollView, h as msSinceInput, l as isTrackedByGroup } from "./pressFeedback--_INTed0.js";
2
+ import { i as createActionGroupTracker, o as resolveGroupTouch, r as GROUP_PRESS_POINTERS } from "./useTouchHitArea-BpEJXuu-.js";
3
+ import { i as PRESS_SLOP_PX, n as PRESS_ONSET_MS } from "./pressGesture-B3Efxs_z.js";
4
4
  import { getCurrentScope, onScopeDispose, toValue, watch } from "vue";
5
5
  //#region src/composables/internal/useActionGroupTracking.ts
6
6
  const DISABLED = ":disabled, [aria-disabled=\"true\"]";
@@ -1,4 +1,4 @@
1
- import { l as createAnimatedLayout } from "./reportChange-DPFCmyOB.js";
1
+ import { l as createAnimatedLayout } from "./reportChange-DwOfucSf.js";
2
2
  import { toValue } from "vue";
3
3
  //#region src/composables/useAnimatedLayout.ts
4
4
  function elementOf(value) {
@@ -0,0 +1,24 @@
1
+ import { getCurrentScope, onScopeDispose, toValue, watch } from "vue";
2
+ //#region src/gestures/useAttachment.ts
3
+ function useAttachment(target, attach, key = () => null) {
4
+ if (typeof document === "undefined") return;
5
+ let release = null;
6
+ const releaseNow = () => {
7
+ const current = release;
8
+ release = null;
9
+ current?.();
10
+ };
11
+ const stop = watch([() => toValue(target), key], ([node]) => {
12
+ releaseNow();
13
+ if (node != null) release = attach(node);
14
+ }, {
15
+ immediate: true,
16
+ flush: "sync"
17
+ });
18
+ if (getCurrentScope()) onScopeDispose(() => {
19
+ stop();
20
+ releaseNow();
21
+ });
22
+ }
23
+ //#endregion
24
+ export { useAttachment as t };
@@ -1,4 +1,4 @@
1
- import { i as subscribeInput } from "./inputStream-bPd9eB2b.js";
1
+ import { i as subscribeInput } from "./inputStream-HXw2lZ-3.js";
2
2
  import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
3
3
  import { onScopeDispose, ref, toValue, watch } from "vue";
4
4
  //#region src/composables/useChatNewMessages.ts
@@ -1,6 +1,6 @@
1
1
  import { n as useLayerTeleportTarget } from "./useLayerMountTarget-zwZQglr2.js";
2
2
  import { i as useLayerGutter, s as resolveLayerGutter } from "./context-M-er0-Rk.js";
3
- import { n as useLayerDepth, o as pushLayer } from "./layerDepth-c3jUndA2.js";
3
+ import { n as useLayerDepth, o as pushLayer } from "./layerDepth-SGFJ5L6X.js";
4
4
  import { nextTick, onScopeDispose, ref, toValue, watch } from "vue";
5
5
  //#region src/layer/anchorClear.ts
6
6
  function overlapsAnchor(anchor, top, left, layer) {
@@ -1,4 +1,4 @@
1
- import { i as useAdaptivePresentation, n as usePresentationHold } from "./presentationHold-B4tK68sd.js";
1
+ import { i as useAdaptivePresentation, n as usePresentationHold } from "./presentationHold-ZKixVLcz.js";
2
2
  import { computed, toValue, watch } from "vue";
3
3
  //#region src/layer/useHeldPresentation.ts
4
4
  function useHeldPresentation(presentation, isOpen) {
@@ -1,5 +1,5 @@
1
1
  import { t as _sfc_main } from "./FieldIcon-BU1ZWAuo.js";
2
- import { t as _sfc_main$1 } from "./FieldInfoTip-C3Ztw-wI.js";
2
+ import { t as _sfc_main$1 } from "./FieldInfoTip-CY9BTVtK.js";
3
3
  import { computed, toValue } from "vue";
4
4
  //#region src/composables/useInputStatusIcon.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { t as holdEntranceInput } from "./holdEntranceInput-DgimbgGm.js";
1
+ import { t as holdEntranceInput } from "./holdEntranceInput-C8B_DYYs.js";
2
2
  import { nextTick, onBeforeUnmount, watch } from "vue";
3
3
  //#region src/layer/useMenuEntranceHold.ts
4
4
  /**
@@ -1,8 +1,9 @@
1
- import { m as msSinceInput } from "./pressFeedback-BlOSZew9.js";
2
- import { i as withoutClickGuard, r as disarmEveryClickGuard, t as armClickGuard } from "./clickGuard-C3VmOLhI.js";
3
- import { s as currentGesture } from "./layerDepth-c3jUndA2.js";
1
+ import { h as msSinceInput } from "./pressFeedback--_INTed0.js";
2
+ import { i as withoutClickGuard, r as disarmEveryClickGuard, t as armClickGuard } from "./clickGuard-CxqcfBCJ.js";
3
+ import { s as currentGesture } from "./layerDepth-SGFJ5L6X.js";
4
4
  import { t as focusForLastInput } from "./focusReturn-DfZS7TCp.js";
5
- import { r as isInputShield } from "./inputHoldState-xntIqr5W.js";
5
+ import { t as claimPress } from "./pressClaim-DvdlIn4w.js";
6
+ import { r as isInputShield } from "./inputHoldState-BYi5FKZl.js";
6
7
  import { getCurrentScope, onScopeDispose, toValue } from "vue";
7
8
  //#region src/composables/useLongPress.ts
8
9
  const DEFAULT_DELAY_MS = 500;
@@ -51,6 +52,7 @@ function useLongPress(options) {
51
52
  timer = null;
52
53
  deadline = null;
53
54
  if (from == null) return;
55
+ claimPress();
54
56
  options.onLongPress({
55
57
  x: from.x,
56
58
  y: from.y
@@ -1,4 +1,4 @@
1
- import { a as PRESS_ACTION_ATTRIBUTE, i as PRESSABLE_ATTRIBUTE, n as installPressFeedback, o as PRESS_CONTAINER_ATTRIBUTE } from "./pressFeedback-BlOSZew9.js";
1
+ import { a as PRESSABLE_ATTRIBUTE, o as PRESS_ACTION_ATTRIBUTE, r as installPressFeedback, s as PRESS_CONTAINER_ATTRIBUTE } from "./pressFeedback--_INTed0.js";
2
2
  import { getCurrentInstance, getCurrentScope, onMounted, onScopeDispose } from "vue";
3
3
  import "../styles/pressable.css";
4
4
  //#region src/composables/usePressFeedback.ts
@@ -1,10 +1,11 @@
1
1
  import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
2
- import { t as animatorFor } from "./animator-DnLs_cbV.js";
3
- import { t as resolveMotion } from "./resolveMotion-CF9fXX0t.js";
4
- import { n as springs } from "./springs-B2jqskKJ.js";
2
+ import { t as animatorFor } from "./animator-ozeBZ_zC.js";
3
+ import { t as resolveMotion } from "./resolveMotion-DftkGFw6.js";
4
+ import { o as springs } from "./springs-DjAn_oV5.js";
5
5
  import { t as isApplePlatform } from "./isApplePlatform-B1ju6F5B.js";
6
- import { i as project, n as rubberBandInverse, r as rubberBandSlope, t as rubberBand } from "./rubberBand-DDapO54w.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-DOmBYh4V.js";
6
+ import { t as project } from "./projection-qPcLQcwK.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-BnwrR5tr.js";
8
+ import { i as rubberBandSlope, r as rubberBandInverse, t as rubberBand } from "./rubberBand-DDd5ElTe.js";
8
9
  import { computed, onBeforeUnmount, onMounted, onScopeDispose, reactive, ref, toValue, watch } from "vue";
9
10
  //#region src/composables/useHotkeys.ts
10
11
  const KEY_ALIASES = {
@@ -1,11 +1,11 @@
1
1
  import { s as registerLayerSurface } from "./useClickableContainer-Dtjg-nkm.js";
2
2
  import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-zwZQglr2.js";
3
- import { n as useLayer } from "./tooltipTriggerRules-Dremu4W9.js";
4
- import { t as _sfc_main$1 } from "./LayerContentBoundary-C7VZOgMs.js";
3
+ import { n as useLayer } from "./tooltipTriggerRules-CHNpQ6RL.js";
4
+ import { t as _sfc_main$1 } from "./LayerContentBoundary-CTjEpdM4.js";
5
5
  import { a as trackInteractionModality } from "./interactionModality-4Km2ibsq.js";
6
6
  import { t as useAnnounce } from "./announce-GU01Oix2.js";
7
- import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-DSA228_-.js";
8
- import { n as opensOnFocus, r as useHoverLayerDismiss, t as createFocusGate } from "./tooltipFocusRules-BHJUQprJ.js";
7
+ import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-5ExaYYSy.js";
8
+ import { n as opensOnFocus, r as useHoverLayerDismiss, t as createFocusGate } from "./tooltipFocusRules-CxIlSnHw.js";
9
9
  import { t as renderedText } from "./renderedText-BwJdmps3.js";
10
10
  import { Teleport, computed, createBlock, createCommentVNode, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeProps, onMounted, onScopeDispose, openBlock, renderSlot, shallowRef, toDisplayString, toValue, unref, vShow, watch, withCtx, withDirectives } from "vue";
11
11
  import "../styles/tooltip.css";
@@ -1,5 +1,5 @@
1
- import { c as isTrackedByGroup, r as pressFadeMs, s as PRESS_GROUP_ITEM_ATTRIBUTE, t as PRESSED_ATTRIBUTE } from "./pressFeedback-BlOSZew9.js";
2
- import { t as armClickGuard } from "./clickGuard-C3VmOLhI.js";
1
+ import { c as PRESS_GROUP_ITEM_ATTRIBUTE, i as pressFadeMs, l as isTrackedByGroup, t as PRESSED_ATTRIBUTE } from "./pressFeedback--_INTed0.js";
2
+ import { t as armClickGuard } from "./clickGuard-CxqcfBCJ.js";
3
3
  import { toValue, watch } from "vue";
4
4
  import "../styles/touch-hit-area.css";
5
5
  /** 不长:热区就是目标本身。 */
@@ -1,5 +1,5 @@
1
1
  import { t as INTERACTIVE_SELECTORS } from "./useClickableContainer-Dtjg-nkm.js";
2
- import { s as currentGesture } from "./layerDepth-c3jUndA2.js";
2
+ import { s as currentGesture } from "./layerDepth-SGFJ5L6X.js";
3
3
  import { a as trackInteractionModality, i as isTextEntrySincePointer, o as isDisabledControl, s as isTextEntryControl } from "./interactionModality-4Km2ibsq.js";
4
4
  import { onScopeDispose, ref, toValue, watch } from "vue";
5
5
  //#region src/composables/internal/tapRecognizer.ts
@@ -1,7 +1,7 @@
1
- import { t as matchesFocusVisible } from "./tooltipTriggerRules-Dremu4W9.js";
1
+ import { t as matchesFocusVisible } from "./tooltipTriggerRules-CHNpQ6RL.js";
2
2
  import { a as trackInteractionModality, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
3
- import { n as tooltipPresentInterestKey } from "./useTooltip-w57yzB7h.js";
4
- import { t as _sfc_main$1 } from "./Tooltip-sXtW5dTD.js";
3
+ import { n as tooltipPresentInterestKey } from "./useTooltip-owvVSn_m.js";
4
+ import { t as _sfc_main$1 } from "./Tooltip-DyGaJUbl.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
@@ -5,7 +5,7 @@ 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
7
  import { t as _sfc_main$3 } from "./Spinner-D1adu3uH.js";
8
- import { t as createStillPointerGate } from "./stillPointerGate-Htiy6uKa.js";
8
+ import { t as createStillPointerGate } from "./stillPointerGate-BvCX7ddI.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";
11
11
  import "../styles/layer.css";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@astryx-vue/core",
3
3
  "type": "module",
4
- "version": "0.33.2",
4
+ "version": "0.33.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",