@astryx-vue/core 0.31.0 → 0.32.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-CvNtu0Jd.js → AlertDialog-JmxbMkeV.js} +8 -8
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-BmX6wqba.js → AppShell-mWlY4pE3.js} +4 -6
  5. package/dist/Avatar/index.js +1 -1
  6. package/dist/{Avatar-IVvsyeGV.js → Avatar-B-gSpEw4.js} +1 -1
  7. package/dist/AvatarGroup/index.d.ts +1 -1
  8. package/dist/AvatarGroup/index.js +1 -1
  9. package/dist/{AvatarGroup-Dd-yDDNz.js → AvatarGroup-CCFMtKks.js} +1 -1
  10. package/dist/Banner/index.d.ts +1 -1
  11. package/dist/Banner/index.js +1 -1
  12. package/dist/{Banner-DKmvoMxD.js → Banner-BJETFZr7.js} +1 -1
  13. package/dist/BottomSheet/index.d.ts +1 -1
  14. package/dist/BottomSheet/index.js +2 -2
  15. package/dist/{BottomSheet-BZ_yFoKC.js → BottomSheet-C6pQBvnU.js} +10 -38
  16. package/dist/{BottomSheet-B8_znPYE.js → BottomSheet-C_LoskZt.js} +3 -3
  17. package/dist/Breadcrumbs/index.d.ts +2 -2
  18. package/dist/Breadcrumbs/index.js +2 -2
  19. package/dist/{Breadcrumbs-CJpvbZsf.js → Breadcrumbs-D05OmNfd.js} +1 -1
  20. package/dist/Button/index.d.ts +1 -1
  21. package/dist/Button/index.js +1 -1
  22. package/dist/{Button-DdPty46q.js → Button-X7k1WCkW.js} +4 -4
  23. package/dist/ButtonGroup/index.d.ts +1 -1
  24. package/dist/ButtonGroup/index.js +1 -1
  25. package/dist/{ButtonGroup-oI99JAyN.js → ButtonGroup-D5E7QLWI.js} +2 -2
  26. package/dist/Calendar/index.d.ts +1 -1
  27. package/dist/Carousel/index.d.ts +1 -1
  28. package/dist/Carousel/index.js +1 -1
  29. package/dist/{Carousel-BNr79JpP.js → Carousel-Bpbx-2DK.js} +1 -1
  30. package/dist/Chat/index.d.ts +1 -1
  31. package/dist/Chat/index.js +1 -1
  32. package/dist/{Chat-BadS0fEx.js → Chat-D7Q2z9W2.js} +11 -11
  33. package/dist/CheckboxInput/index.d.ts +1 -1
  34. package/dist/CheckboxInput/index.js +1 -1
  35. package/dist/{CheckboxInput-CzP8gP3v.js → CheckboxInput-Cxtmdymo.js} +3 -3
  36. package/dist/CheckboxList/index.d.ts +1 -1
  37. package/dist/CheckboxList/index.js +1 -1
  38. package/dist/{CheckboxListItem-CxBjpX3d.js → CheckboxListItem-DJrx97cA.js} +5 -5
  39. package/dist/ClickableCard/index.d.ts +1 -1
  40. package/dist/ClickableCard/index.js +1 -1
  41. package/dist/{ClickableCard-B86P2aiM.js → ClickableCard-CLXCxaxo.js} +1 -1
  42. package/dist/Code/index.js +1 -1
  43. package/dist/{CodeBlock-Cgm4uOhG.js → CodeBlock-Bgxy15iD.js} +1 -1
  44. package/dist/Collapsible/index.js +1 -1
  45. package/dist/{Collapsible-DXl9RRaX.js → Collapsible-Cf5zttC-.js} +2 -3
  46. package/dist/CommandPalette/index.js +1 -1
  47. package/dist/{CommandPalette-BgVwGtdA.js → CommandPalette-CniaCqex.js} +2 -2
  48. package/dist/ComplexSelector/index.js +1 -1
  49. package/dist/{ComplexSelector-vna5wtig.js → ComplexSelector-DYeYZKON.js} +2 -2
  50. package/dist/ContextMenu/index.d.ts +2 -2
  51. package/dist/ContextMenu/index.js +2 -2
  52. package/dist/{ContextMenu-CE-FnLI6.js → ContextMenu-CLCgJG0C.js} +167 -142
  53. package/dist/DateInput/index.d.ts +1 -1
  54. package/dist/DateInput/index.js +1 -1
  55. package/dist/{DateInput-BCasoeIj.js → DateInput-BmEbQA1z.js} +10 -10
  56. package/dist/DateRangeInput/index.d.ts +1 -1
  57. package/dist/DateRangeInput/index.js +1 -1
  58. package/dist/{DateRangeInput-Bi97pjDX.js → DateRangeInput-CoA1PuGz.js} +5 -5
  59. package/dist/DateTimeInput/index.d.ts +1 -1
  60. package/dist/DateTimeInput/index.js +1 -1
  61. package/dist/{DateTimeInput-CKnvjLhi.js → DateTimeInput-CL0sp0ES.js} +5 -5
  62. package/dist/Dialog/index.js +3 -3
  63. package/dist/{Dialog-BN-NycQr.js → Dialog-C46xHdDO.js} +1 -1
  64. package/dist/{Dialog-Dt0gNuMT.js → Dialog-uzq24bX_.js} +2 -2
  65. package/dist/{DialogHeader-CSH2_5v-.js → DialogHeader-E0auaRKt.js} +2 -2
  66. package/dist/Divider/index.d.ts +1 -1
  67. package/dist/Drawer/index.d.ts +1 -1
  68. package/dist/Drawer/index.js +1 -1
  69. package/dist/{Drawer-PeMgE4iA.js → Drawer-DfhhdBMZ.js} +2 -2
  70. package/dist/DropdownMenu/index.d.ts +2 -2
  71. package/dist/DropdownMenu/index.js +2 -3
  72. package/dist/{DropdownMenu-aYOIh9gZ.js → DropdownMenu-BWgt12MZ.js} +1083 -555
  73. package/dist/{DropdownMenuRadioItem.vue-C8rePTyz.d.ts → DropdownMenuRadioItem.vue-B4iwMWWD.d.ts} +16 -0
  74. package/dist/EmptyState/index.js +1 -1
  75. package/dist/{EmptyState-BGo1nrnT.js → EmptyState-C8WQltQk.js} +2 -2
  76. package/dist/Field/index.js +3 -3
  77. package/dist/{Field-D-fRqyso.js → Field-CrnwM-2A.js} +1 -1
  78. package/dist/{FieldInfoTip-Bstp5Lvd.js → FieldInfoTip-DqQP1T-d.js} +1 -1
  79. package/dist/{FieldLabel-lV_qLaGp.js → FieldLabel-CLxclKT2.js} +1 -1
  80. package/dist/FileInput/index.js +1 -1
  81. package/dist/{FileInput-CTNnDIkm.js → FileInput-BHFjo_zo.js} +3 -3
  82. package/dist/Heading/index.d.ts +1 -1
  83. package/dist/Heading/index.js +1 -1
  84. package/dist/{Heading-BFK3PftX.js → Heading-jYno4L3t.js} +1 -1
  85. package/dist/HoverCard/index.d.ts +1 -1
  86. package/dist/HoverCard/index.js +1 -1
  87. package/dist/{HoverCard-DGjsPn-Q.js → HoverCard-D_6idU4r.js} +4 -4
  88. package/dist/IconButton/index.js +1 -1
  89. package/dist/{IconButton-DPezhVBA.js → IconButton-B6m42AlL.js} +1 -1
  90. package/dist/InfoTip/index.d.ts +1 -1
  91. package/dist/InfoTip/index.js +1 -1
  92. package/dist/{InfoTip-B4BFfLtT.js → InfoTip-CUkTHca2.js} +2 -2
  93. package/dist/{InputClearButton-CxU3iv-5.js → InputClearButton-s_MEW25n.js} +1 -1
  94. package/dist/InputGroup/index.js +1 -1
  95. package/dist/{InputGroup-CraWGK6Y.js → InputGroup-42PbUmg-.js} +1 -1
  96. package/dist/InternationalizationProvider/index.js +1 -1
  97. package/dist/{InternationalizationProvider-C-hZoz8a.js → InternationalizationProvider-BAUKUK7N.js} +1 -1
  98. package/dist/{Item-C9u_kQUO.js → Item-C9Cs0Jqr.js} +1 -1
  99. package/dist/{LayerContentBoundary-LCQLyxBT.js → LayerContentBoundary-XvH9wmdg.js} +1 -1
  100. package/dist/Layout/index.d.ts +1 -1
  101. package/dist/Layout/index.js +2 -2
  102. package/dist/{Layout-094k14rN.js → Layout-tU7e1J1I.js} +1 -1
  103. package/dist/{LayoutPanel-BPboQAJj.js → LayoutPanel-D8t8F-sl.js} +22 -2
  104. package/dist/Lightbox/index.js +1 -1
  105. package/dist/{Lightbox-BNUG9CQ1.js → Lightbox-Bur4pvRo.js} +2 -2
  106. package/dist/Link/index.d.ts +1 -1
  107. package/dist/Link/index.js +1 -1
  108. package/dist/{Link-Bwgpn-di.js → Link-DVslj_GH.js} +2 -2
  109. package/dist/List/index.d.ts +1 -1
  110. package/dist/List/index.js +2 -2
  111. package/dist/{ListItem-_lOmngHp.js → ListItem-DOFfdRA_.js} +2 -2
  112. package/dist/Markdown/index.js +1 -1
  113. package/dist/{Markdown-BlEi5UGN.js → Markdown-Baq5r2Mp.js} +3 -3
  114. package/dist/MetadataList/index.d.ts +1 -1
  115. package/dist/MobileNav/index.js +1 -1
  116. package/dist/{MobileNavToggle-wVa9dzH1.js → MobileNavToggle-BV3fmVmO.js} +2 -2
  117. package/dist/MoreMenu/index.d.ts +1 -1
  118. package/dist/MoreMenu/index.js +1 -1
  119. package/dist/{MoreMenu-CXshllJj.js → MoreMenu-COSDjYyl.js} +45 -16
  120. package/dist/MultiSelector/index.d.ts +1 -1
  121. package/dist/MultiSelector/index.js +1 -1
  122. package/dist/{MultiSelector-Bs3Imw6k.js → MultiSelector-eJSx3iZR.js} +8 -8
  123. package/dist/{NavDisclosure-DsUYuMJr.js → NavDisclosure-B8G8t325.js} +1 -1
  124. package/dist/{NavHeadingSurface-QdM33nOf.js → NavHeadingSurface-BkNP_1au.js} +1 -1
  125. package/dist/NavItem/index.d.ts +1 -1
  126. package/dist/NavItem/index.js +1 -1
  127. package/dist/{NavItem-D4xHjSTo.js → NavItem-B7xpLk_x.js} +1 -1
  128. package/dist/NavMenu/index.js +3 -3
  129. package/dist/{NavMenu-NCg3VjAQ.js → NavMenu-C6OU4a5Z.js} +3 -3
  130. package/dist/{NavMenuItem-Bla6fYVl.js → NavMenuItem-BZuajqYL.js} +3 -3
  131. package/dist/NumberInput/index.d.ts +1 -1
  132. package/dist/NumberInput/index.js +1 -1
  133. package/dist/{NumberInput-DicgvFte.js → NumberInput-Dd4QQGZp.js} +3 -3
  134. package/dist/Outline/index.js +1 -1
  135. package/dist/{Outline-CnSt_KvS.js → Outline-coqRQ06s.js} +4 -3
  136. package/dist/OverflowList/index.d.ts +1 -1
  137. package/dist/OverflowList/index.js +1 -1
  138. package/dist/{OverflowList-BYYz3ePw.js → OverflowList-DS7cmNsr.js} +2 -2
  139. package/dist/Pagination/index.d.ts +1 -1
  140. package/dist/Pagination/index.js +1 -1
  141. package/dist/{Pagination-kJhH6sPF.js → Pagination-BWPJfO4_.js} +2 -2
  142. package/dist/Popover/index.d.ts +1 -1
  143. package/dist/Popover/index.js +1 -1
  144. package/dist/{Popover-CqL_AXQB.js → Popover-DnrZk22Y.js} +8 -8
  145. package/dist/PowerSearch/index.d.ts +1 -1
  146. package/dist/PowerSearch/index.js +1 -1
  147. package/dist/{PowerSearch-Ff2n7eJ2.js → PowerSearch-CDwASKYp.js} +27 -27
  148. package/dist/ProgressBar/index.d.ts +1 -1
  149. package/dist/ProgressBar/index.js +1 -1
  150. package/dist/{ProgressBar-DCAEXJuP.js → ProgressBar-C-HzrG8T.js} +1 -1
  151. package/dist/Radio/index.d.ts +1 -1
  152. package/dist/Radio/index.js +1 -1
  153. package/dist/{RadioGroup-CsJYGjyx.js → RadioGroup-B-AkUDI8.js} +4 -4
  154. package/dist/RadioList/index.d.ts +1 -1
  155. package/dist/RadioList/index.js +1 -1
  156. package/dist/{RadioListItem-Yc3K82YE.js → RadioListItem-DhmF7YNL.js} +1 -1
  157. package/dist/Resizable/index.d.ts +1 -1
  158. package/dist/Resizable/index.js +1 -1
  159. package/dist/{ResizeHandle-BMSbAFdP.js → ResizeHandle-CcS-NP4r.js} +21 -4
  160. package/dist/ScrollableArea/index.d.ts +1 -1
  161. package/dist/SegmentedControl/index.js +1 -1
  162. package/dist/{SegmentedControl-C-F5dkcG.js → SegmentedControl-BdbqWErg.js} +2 -2
  163. package/dist/SelectableCard/index.d.ts +1 -1
  164. package/dist/SelectableCard/index.js +1 -1
  165. package/dist/{SelectableCard-CwfpgsS8.js → SelectableCard-YzN6trLf.js} +1 -1
  166. package/dist/Selector/index.d.ts +1 -1
  167. package/dist/Selector/index.js +1 -1
  168. package/dist/{Selector-DgzSGUul.js → Selector-BNr_kb6Q.js} +6 -6
  169. package/dist/SideNav/index.d.ts +1 -1
  170. package/dist/SideNav/index.js +2 -2
  171. package/dist/{SideNav-DNQZ8l6b.js → SideNav-DnoR_4ml.js} +9 -11
  172. package/dist/Slider/index.js +1 -1
  173. package/dist/{Slider-Bq_7Nskr.js → Slider-DaHQhbA7.js} +2 -2
  174. package/dist/Stack/index.d.ts +1 -1
  175. package/dist/StatusDot/index.js +1 -1
  176. package/dist/{StatusDot-DFJavm30.js → StatusDot-B7T0et3H.js} +1 -1
  177. package/dist/Stepper/index.d.ts +1 -1
  178. package/dist/Stepper/index.js +1 -1
  179. package/dist/{Stepper-CWluGqBs.js → Stepper-C3ZFN-Gp.js} +1 -1
  180. package/dist/Switch/index.d.ts +1 -1
  181. package/dist/Switch/index.js +1 -1
  182. package/dist/{Switch-DTPvMAxd.js → Switch-B8HRxp3u.js} +2 -2
  183. package/dist/TabList/index.d.ts +1 -1
  184. package/dist/TabList/index.js +1 -1
  185. package/dist/{TabList-C4i7UZkp.js → TabList-BOQ0bvE3.js} +3 -3
  186. package/dist/Table/index.d.ts +2 -2
  187. package/dist/Table/index.js +1 -1
  188. package/dist/{Table-CqAV7l7W.js → Table-CoWGEhzQ.js} +13 -15
  189. package/dist/Text/index.d.ts +1 -1
  190. package/dist/Text/index.js +1 -1
  191. package/dist/{Text-D48QFTtL.js → Text-DqiV40AF.js} +1 -1
  192. package/dist/TextArea/index.d.ts +1 -1
  193. package/dist/TextArea/index.js +1 -1
  194. package/dist/{TextArea-J2_wct0p.js → TextArea-Vrx7Os5P.js} +4 -4
  195. package/dist/TextInput/index.d.ts +1 -1
  196. package/dist/TextInput/index.js +1 -1
  197. package/dist/{TextInput-Da1TYd57.js → TextInput-DOeUROX8.js} +4 -4
  198. package/dist/Thumbnail/index.js +1 -1
  199. package/dist/{Thumbnail-1LsaJ4_m.js → Thumbnail-BF53Z6jm.js} +3 -3
  200. package/dist/{TimeField-ojhX2ZOj.js → TimeField-CkGXOHTG.js} +4 -4
  201. package/dist/TimeInput/index.d.ts +1 -1
  202. package/dist/TimeInput/index.js +1 -1
  203. package/dist/{TimeInput-CfeDP72M.js → TimeInput-DCksf1di.js} +2 -2
  204. package/dist/Timer/index.js +1 -1
  205. package/dist/{Timer-DgQdZAEa.js → Timer-DDrODKow.js} +1 -1
  206. package/dist/Timestamp/index.d.ts +1 -1
  207. package/dist/Timestamp/index.js +1 -1
  208. package/dist/{Timestamp-SseS_qtf.js → Timestamp-CCzREXNN.js} +3 -3
  209. package/dist/Toast/index.js +1 -1
  210. package/dist/{Toast-yUVFaZiJ.js → Toast-CoAEdN_I.js} +2 -2
  211. package/dist/ToggleButton/index.d.ts +1 -1
  212. package/dist/ToggleButton/index.js +1 -1
  213. package/dist/{ToggleButton-B6hBzeVl.js → ToggleButton-DAW-pV4r.js} +3 -3
  214. package/dist/Token/index.d.ts +1 -1
  215. package/dist/Token/index.js +1 -1
  216. package/dist/{Token-DTGUCgpn.js → Token-DZmmnHEj.js} +1 -1
  217. package/dist/Tokenizer/index.js +1 -1
  218. package/dist/{Tokenizer-nSEekhN1.js → Tokenizer-DsPtN6tZ.js} +13 -13
  219. package/dist/Toolbar/index.d.ts +2 -2
  220. package/dist/Tooltip/index.d.ts +1 -1
  221. package/dist/Tooltip/index.js +2 -2
  222. package/dist/{Tooltip-CxzlUVN0.js → Tooltip-DhV7MkwU.js} +1 -1
  223. package/dist/TopNav/index.d.ts +1 -1
  224. package/dist/TopNav/index.js +1 -1
  225. package/dist/{TopNav-CcIayfsW.js → TopNav-Djli-IEz.js} +5 -5
  226. package/dist/TreeList/index.d.ts +1 -1
  227. package/dist/TreeList/index.js +1 -1
  228. package/dist/{TreeList-CsgXzBdm.js → TreeList-CqJ3xfhB.js} +3 -4
  229. package/dist/Typeahead/index.js +2 -2
  230. package/dist/{Typeahead-BD6xXNKh.js → Typeahead-Dowds5Z-.js} +6 -6
  231. package/dist/{VelocityTracker-DgjmootV.js → VelocityTracker-DVbtTSXR.js} +1 -1
  232. package/dist/{useMenuDrillIn-CMsgOcDP.js → accessibleName-CINO01Ek.js} +117 -27
  233. package/dist/{animator-C0kqgDUJ.js → animator-DLWdws2R.js} +3 -2
  234. package/dist/{assertOptions-DHfonaBU.js → assertOptions-BCEzojGr.js} +1 -1
  235. package/dist/composables/index.d.ts +3 -3
  236. package/dist/composables/index.js +13 -13
  237. package/dist/{composables-CVvk9709.js → composables-B7FrCjk6.js} +11 -7
  238. package/dist/{context-ZWA02GaM.js → context-C_rX8KGX.js} +1 -2
  239. package/dist/cssValues-Cr6PhYTx.js +223 -0
  240. package/dist/{pressGesture-BzIBmKF2.js → gestures-C8VhWve7.js} +2 -296
  241. package/dist/{index-DH_xZI84.d.ts → index-B-Z4GL8g.d.ts} +2 -2
  242. package/dist/{index-DYabo8TI.d.ts → index-B44fLswd.d.ts} +2 -2
  243. package/dist/{index-etx25Eq-.d.ts → index-Bwh8O-v8.d.ts} +1 -1
  244. package/dist/{index-mK1ICsVg.d.ts → index-C3JmGujU.d.ts} +1 -1
  245. package/dist/{index-CKnr0JlT.d.ts → index-C4S65SAW.d.ts} +1 -1
  246. package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
  247. package/dist/{index-DE-QPNz0.d.ts → index-C943VIzi.d.ts} +3 -2
  248. package/dist/{index-DVX2jlTQ.d.ts → index-CUuUoX3h.d.ts} +1 -1
  249. package/dist/{index-COgrQZIL.d.ts → index-CdvmnNMH.d.ts} +1 -1
  250. package/dist/{index-C_iTVOHQ.d.ts → index-CilCxEvD.d.ts} +1 -1
  251. package/dist/{index-BgT6mH3U.d.ts → index-D7ShT2c-.d.ts} +1 -1
  252. package/dist/{index-ZKBj_1nu.d.ts → index-D8l_CmL-.d.ts} +1 -1
  253. package/dist/{index-DbNGGCM0.d.ts → index-DAz4l6Jw.d.ts} +1 -1
  254. package/dist/{index-DtY_R6Oh.d.ts → index-DIkdln91.d.ts} +2 -2
  255. package/dist/{index-Bh-GqMzd.d.ts → index-DLE-sASO.d.ts} +31 -3
  256. package/dist/{index-Q1oG9yIT.d.ts → index-DPklTi3o.d.ts} +1 -1
  257. package/dist/{index-DofC9Rll.d.ts → index-Dk50Zh3F.d.ts} +2 -2
  258. package/dist/{index-CG6dbyeb.d.ts → index-DoYrlaEI.d.ts} +3 -3
  259. package/dist/{index-CuW4AQ7M.d.ts → index-In41wHf3.d.ts} +2 -2
  260. package/dist/{index-utZGF4GR.d.ts → index-NOXYEdOI.d.ts} +1 -1
  261. package/dist/{index-Dp6MmjIo.d.ts → index-Rz4jwv4Q.d.ts} +52 -52
  262. package/dist/{index-0RIgvtdm.d.ts → index-ZXrvTM3A.d.ts} +2 -2
  263. package/dist/{index-CEtFUoIm.d.ts → index-o3JHyrk8.d.ts} +1 -1
  264. package/dist/{index-CtYlR9Cu.d.ts → index-rdwI-mcm.d.ts} +1 -1
  265. package/dist/{index-C89cIh4E.d.ts → index-waTkqxTz.d.ts} +1 -1
  266. package/dist/index.d.ts +29 -29
  267. package/dist/index.js +110 -110
  268. package/dist/{batch-DPlrpYU6.js → landing-DrnLUanQ.js} +812 -4
  269. package/dist/{layerDepth-D3Rh8T5C.js → layerDepth-BdZX0xSD.js} +2 -2
  270. package/dist/lazyBottomSheet-BUXYsz28.js +25 -0
  271. package/dist/linearEasing-BxWjPql6.js +282 -0
  272. package/dist/locale/index.js +3 -3
  273. package/dist/{locale-CVpkedoa.js → locale-C9LWi1y1.js} +1 -1
  274. package/dist/{menuActivation-BqiaK6ot.js → menuActivation-BQqnzKAX.js} +8 -1
  275. package/dist/{pressFeedback-9dqGYjxv.js → pressFeedback-CPzGi_88.js} +2 -1
  276. package/dist/pressGesture-BV4fYPIG.js +103 -0
  277. package/dist/resizableChannel-BeoqCSou.js +387 -0
  278. package/dist/resolveMotion-BLdMNTpf.js +117 -0
  279. package/dist/resolveSnapPoint-DygD-wmL.js +110 -0
  280. package/dist/roles-CPMsH5Ob.js +196 -0
  281. package/dist/rubberBand-DecgmtDj.js +123 -0
  282. package/dist/{resolveSnapPoint-DdZyBkT4.js → springs-BR66JuIm.js} +2 -182
  283. package/dist/{stillPointerGate-BbMABRyU.js → stillPointerGate-BChxtcd6.js} +1 -1
  284. package/dist/{themeTiming-D1U0redl.js → themeTiming-BA_wpgEn.js} +1 -1
  285. package/dist/{tooltipFocusRules-CpUOvFEU.js → tooltipFocusRules-CU8eUu3v.js} +2 -2
  286. package/dist/{tooltipTriggerRules-zN2xGd9K.js → tooltipTriggerRules-CKfpQu9d.js} +1 -1
  287. package/dist/{useActionGroupTracking-CLFF7FI2.js → useActionGroupTracking-iv0p__dY.js} +3 -3
  288. package/dist/{useAnimatedLayout-DWWc31RR.js → useAnimatedLayout-B_mZd526.js} +1 -1
  289. package/dist/{useAttachment-BuNyeUXy.js → useAttachment-BohgLE3o.js} +3 -3
  290. package/dist/{useCombobox-BqkTY3bw.js → useCombobox-BYRrwLe-.js} +1 -1
  291. package/dist/{useDismiss-BKtyCwx4.js → useDismiss-Qq0hUJoO.js} +1 -1
  292. package/dist/{useFocusTrap-BD9POtMp.js → useFocusTrap-CX-qEF-G.js} +1 -1
  293. package/dist/{useInputStatusIcon-BqV6YzTV.js → useInputStatusIcon-CYvxaJvt.js} +1 -1
  294. package/dist/{useMenuPress-DcwVUsQO.js → useMenuPress-DDvcJNRd.js} +72 -5
  295. package/dist/{usePressFeedback-DHdmAsMp.js → usePressFeedback-BuyFZkQO.js} +1 -1
  296. package/dist/{useResizable-hv4NYIUi.js → useResizable-BIaZZDJ2.js} +411 -85
  297. package/dist/{useResizable-CJd4JkbJ.d.ts → useResizable-CKDaU_se.d.ts} +10 -8
  298. package/dist/{useTooltip-DvBKna-w.js → useTooltip-CgJi5QQW.js} +4 -4
  299. package/dist/{useTouchHitArea-SY1ITxSJ.js → useTouchHitArea-Dsz80HzY.js} +1 -1
  300. package/dist/{useTouchTriggerInternal-Bl602PtA.js → useTouchTriggerInternal-BapohoUw.js} +1 -1
  301. package/dist/{useTruncationTooltip-DNAii2Nv.js → useTruncationTooltip-x1cQd8of.js} +3 -3
  302. package/dist/{useTypeahead-BGpvWkzm.js → useTypeahead-CZuT8Niw.js} +1 -1
  303. package/dist/{useTypeaheadMenuConfig-BT9Lwsu7.js → useTypeaheadMenuConfig-BMd42XKb.js} +2 -2
  304. package/package.json +1 -1
  305. package/styles/dropdown-menu.css +5 -0
  306. package/styles/resize-handle.css +2 -0
  307. package/dist/DropdownMenu-B_KDdI8P.js +0 -489
  308. package/dist/edge-DFaE6rUg.js +0 -164
  309. package/dist/edgeRide-UdNxbwxY.js +0 -500
  310. package/dist/handle-CwxCHapJ.js +0 -22
  311. package/dist/landing-CSCE9afT.js +0 -105
  312. package/dist/lazyBottomSheet-CbU1Pnfk.js +0 -16
  313. package/dist/linearEasing-BiRVC8Mq.js +0 -98
  314. package/dist/resizableChannel-LElsNkSY.js +0 -33
  315. package/dist/resolveMotion-B9NDPeUz.js +0 -508
  316. package/dist/useSubmenuMode-CZN9qrUo.js +0 -37
  317. package/dist/{index-BqhgeAT4.d.ts → index-D8lv2BiD.d.ts} +1 -1
  318. package/dist/{loadCatalog-FwMzmCx1.js → loadCatalog-zJKVLZ89.js} +1 -1
@@ -0,0 +1,223 @@
1
+ //#region src/motion/engine/constants.ts
2
+ const PROPERTIES = [
3
+ "x",
4
+ "y",
5
+ "rotate",
6
+ "scaleX",
7
+ "scaleY",
8
+ "opacity"
9
+ ];
10
+ /** The axes momentum moves: `decay` takes only these (DR2, DEC-2). */
11
+ const DECAY_PROPERTIES = ["x", "y"];
12
+ const IDENTITY = {
13
+ x: 0,
14
+ y: 0,
15
+ rotate: 0,
16
+ scaleX: 1,
17
+ scaleY: 1,
18
+ opacity: 1
19
+ };
20
+ /**
21
+ * Keyframes are added until linear interpolation is within this: a quarter of
22
+ * a device pixel (this quarter of a CSS pixel, divided by the device pixel
23
+ * ratio where it is above 1), a twentieth of a degree, a 2000th of the size,
24
+ * about one step of an 8-bit alpha. Every one is below what a moving element
25
+ * can show.
26
+ */
27
+ const SAMPLE_TOLERANCE = {
28
+ x: .25,
29
+ y: .25,
30
+ rotate: .05,
31
+ scaleX: 5e-4,
32
+ scaleY: 5e-4,
33
+ opacity: .004
34
+ };
35
+ /** Keyframes start on this grid (ms) and are split where the curve needs it. */
36
+ const SAMPLE_GRID_MS = 1e3 / 30;
37
+ /** A curve that has not settled by then (an undamped spring) snaps. */
38
+ const MAX_DURATION_MS = 3e4;
39
+ /**
40
+ * How close a spring's target and a value must be to count as the same, in
41
+ * the property's own units. Only float rounding separates two ways of
42
+ * computing one value, far below anything the screen shows.
43
+ */
44
+ const SAME_VALUE = 1e-6;
45
+ /** Above this many keyframes the tolerance is relaxed. */
46
+ const MAX_KEYFRAMES = 1200;
47
+ /**
48
+ * The keyframes hold the end state this long after a curve ends. An engine
49
+ * whose compositor ends an animation while the main thread is blocked falls
50
+ * back to the value its main thread last committed, the curve's start
51
+ * (WebKit on Linux); the hold keeps the end state on screen through any such
52
+ * block. It only stretches the last keyframe. The main thread retires the
53
+ * animation as soon as it runs after the curve's end.
54
+ *
55
+ * Why a tail inside the curve's own animation, with a bound (measured Oct 24
56
+ * 2026; do not replace it without these proofs):
57
+ * - WebKit on Linux (WebKitGTK and WPE) ignores `fill` on its compositor:
58
+ * a 400 ms move that ends during a 1 s main-thread block snaps back to the
59
+ * block-start position 13 ms after its end, with `fill: forwards` or with
60
+ * no fill, and holds with this tail. iOS 26.2 Mobile Safari holds the end
61
+ * in all three forms, so there the tail is unneeded but harmless (measured
62
+ * Oct 25 2026). The browser proof "a spring that ends inside the block
63
+ * keeps showing its end state" catches it.
64
+ * - A separate static animation of the end state under the curve would hold
65
+ * it without a bound, but two animations on one property push Chromium to
66
+ * run the curve on the main thread: the 1 s block proof moved in 0 of 57
67
+ * frames, the start-before-a-block proof failed, and seeking the curve
68
+ * broke.
69
+ */
70
+ const END_HOLD_MS = 6e4;
71
+ /**
72
+ * The soonest a running animation's end is looked for again, ms: a frame at
73
+ * 60 Hz. WebKit moves an animation's currentTime once per frame, so a look
74
+ * within a frame reads the frame's time, a fraction of a ms short of the end,
75
+ * and a timer for that fraction would fire again before anything moved.
76
+ */
77
+ const END_RECHECK_MS = 1e3 / 60;
78
+ const CHANNELS = {
79
+ translate: ["x", "y"],
80
+ rotate: ["rotate"],
81
+ scale: ["scaleX", "scaleY"],
82
+ opacity: ["opacity"]
83
+ };
84
+ const CHANNEL_OF = {
85
+ x: "translate",
86
+ y: "translate",
87
+ rotate: "rotate",
88
+ scaleX: "scale",
89
+ scaleY: "scale",
90
+ opacity: "opacity"
91
+ };
92
+ /** What `inlineText` writes for each channel at identity. */
93
+ const IDENTITY_TEXT = {
94
+ translate: "none",
95
+ rotate: "none",
96
+ scale: "none",
97
+ opacity: "1"
98
+ };
99
+ /**
100
+ * The transition `decay` hands a Reduce Motion transition curve to: under
101
+ * Reduce Motion `animate` plays no spring (a cross-fade, or at once), so the
102
+ * spring itself is never solved.
103
+ */
104
+ const REDUCED_TRANSITION = { spring: {
105
+ duration: .5,
106
+ bounce: 0
107
+ } };
108
+ //#endregion
109
+ //#region src/motion/engine/cssValues.ts
110
+ function round(value, digits) {
111
+ return Number(value.toFixed(digits));
112
+ }
113
+ function format(channel, value) {
114
+ switch (channel) {
115
+ case "translate": return `${round(value("x"), 3)}px ${round(value("y"), 3)}px`;
116
+ case "rotate": return `${round(value("rotate"), 4)}deg`;
117
+ case "scale": return `${round(value("scaleX"), 5)} ${round(value("scaleY"), 5)}`;
118
+ case "opacity": return `${round(Math.min(1, Math.max(0, value("opacity"))), 4)}`;
119
+ }
120
+ }
121
+ /**
122
+ * Whether a computed value shows `expected` (`format`'s text). An unset or
123
+ * `none` value is the channel's identity. One value of a two-value channel
124
+ * stands for both (scale), or for x with y at 0 (translate).
125
+ */
126
+ function sameShown(channel, shown, expected) {
127
+ const numbers = (text) => {
128
+ const list = ((text === "" || text === "none" ? IDENTITY_TEXT[channel] : text).match(/-?\d*\.?\d+(?:e-?\d+)?/g) ?? []).map(Number);
129
+ if (channel === "translate") return [list[0] ?? 0, list[1] ?? 0];
130
+ if (channel === "scale") return [list[0] ?? 1, list[1] ?? list[0] ?? 1];
131
+ return list.length > 0 ? list : [channel === "opacity" ? 1 : 0];
132
+ };
133
+ const a = numbers(shown);
134
+ const b = numbers(expected);
135
+ return a.length === b.length && a.every((value, i) => Math.abs(value - b[i]) < .001);
136
+ }
137
+ /**
138
+ * The inline text for a channel: `format`, except that an identity transform
139
+ * is written `none`. Any other value, `translate: 0px 0px` included, makes
140
+ * the element the containing block of its `position: fixed` descendants and
141
+ * a stacking context, so a motion back to identity would leave a fixed child
142
+ * moved with its parent; Mobile Safari also lets no finger scroll a list
143
+ * inside an element left at `scale: 1`. At rest the identity leaves the
144
+ * element entirely when its stylesheet agrees (`releaseIdentity`).
145
+ */
146
+ function inlineText(channel, value) {
147
+ const at = (property, identity, digits) => round(value(property), digits) === identity;
148
+ switch (channel) {
149
+ case "translate": return at("x", 0, 3) && at("y", 0, 3) ? "none" : format(channel, value);
150
+ case "rotate": return at("rotate", 0, 4) ? "none" : format(channel, value);
151
+ case "scale": return at("scaleX", 1, 5) && at("scaleY", 1, 5) ? "none" : format(channel, value);
152
+ case "opacity": return format(channel, value);
153
+ }
154
+ }
155
+ /** Whether a computed value (or an unset one) is the channel's identity. */
156
+ function isIdentityText(channel, text) {
157
+ const value = text.trim();
158
+ if (value === "" || value === "none") return true;
159
+ const numbers = value.split(/\s+/).map((part) => Number.parseFloat(part));
160
+ if (numbers.some((number) => !Number.isFinite(number))) return false;
161
+ const identity = channel === "scale" || channel === "opacity" ? 1 : 0;
162
+ return numbers.every((number) => Math.abs(number - identity) < 1e-6);
163
+ }
164
+ function expand(values) {
165
+ const out = {};
166
+ for (const [key, value] of Object.entries(values)) {
167
+ if (value == null || !Number.isFinite(value)) continue;
168
+ if (key === "scale") {
169
+ out.scaleX ??= value;
170
+ out.scaleY ??= value;
171
+ } else if (PROPERTIES.includes(key)) out[key] = value;
172
+ }
173
+ return out;
174
+ }
175
+ /** The time the motion clock reads (`performance.now()`'s time base). */
176
+ function motionNow() {
177
+ return typeof performance === "undefined" ? Date.now() : performance.now();
178
+ }
179
+ /**
180
+ * Whether the user asked for reduced motion (`prefers-reduced-motion:
181
+ * reduce`), read at the moment of the call: the preference the animator uses
182
+ * by default for its Reduce Motion substitution. A component never reads it
183
+ * to pick a curve of its own: its motion settings do not override the
184
+ * policy (design:reduced-motion DR4); `animator.reducedMotion()` or
185
+ * `reducedMotionFade()` gives the policy's answer. False without a window
186
+ * (server rendering).
187
+ */
188
+ function defaultPrefersReducedMotion() {
189
+ return typeof window !== "undefined" && typeof window.matchMedia === "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
190
+ }
191
+ /** Whether the primary pointer is coarse: `(pointer: coarse)`. */
192
+ function defaultIsCoarsePointer() {
193
+ return typeof window !== "undefined" && typeof window.matchMedia === "function" && window.matchMedia("(pointer: coarse)").matches;
194
+ }
195
+ /**
196
+ * Registers `name` as an inherited `<length>` (initially 0px) or `<number>`
197
+ * (initially 0) so keyframes interpolate it; an unregistered custom property
198
+ * animates in steps. A property the page already registered is left as it
199
+ * is.
200
+ */
201
+ function registerCustomProperty(name, syntax) {
202
+ if (typeof CSS === "undefined" || typeof CSS.registerProperty !== "function") return;
203
+ try {
204
+ CSS.registerProperty({
205
+ name,
206
+ syntax,
207
+ inherits: true,
208
+ initialValue: syntax === "<length>" ? "0px" : "0"
209
+ });
210
+ } catch (error) {
211
+ if (!(error instanceof DOMException) || error.name !== "InvalidModificationError") throw error;
212
+ }
213
+ }
214
+ function expandList(properties) {
215
+ const out = /* @__PURE__ */ new Set();
216
+ for (const property of properties) if (property === "scale") {
217
+ out.add("scaleX");
218
+ out.add("scaleY");
219
+ } else out.add(property);
220
+ return [...out];
221
+ }
222
+ //#endregion
223
+ export { SAME_VALUE as C, REDUCED_TRANSITION as S, SAMPLE_TOLERANCE as T, IDENTITY as _, format as a, MAX_KEYFRAMES as b, motionNow as c, sameShown as d, CHANNELS as f, END_RECHECK_MS as g, END_HOLD_MS as h, expandList as i, registerCustomProperty as l, DECAY_PROPERTIES as m, defaultPrefersReducedMotion as n, inlineText as o, CHANNEL_OF as p, expand as r, isIdentityText as s, defaultIsCoarsePointer as t, round as u, IDENTITY_TEXT as v, SAMPLE_GRID_MS as w, PROPERTIES as x, MAX_DURATION_MS as y };
@@ -1,197 +1,4 @@
1
- //#region src/motion/roleValue.ts
2
- const ROLE_ID = /^[a-z][A-Za-z0-9]*(?:\.[a-z][A-Za-z0-9]*)+$/;
3
- /** Whether `id` is a well-formed role name (a dotted table path). */
4
- function isMotionRoleId(id) {
5
- return ROLE_ID.test(id);
6
- }
7
- /** The CSS custom property for a role: `--motion-` + the path in kebab case. */
8
- function motionRoleVariable(id) {
9
- if (!isMotionRoleId(id)) throw new Error(`motion role "${id}" must be a dotted table path such as "springs.sheetPresent"`);
10
- return `--motion-${id.split(".").map((part) => part.replace(/[A-Z]/g, (c) => `-${c.toLowerCase()}`)).join("-")}`;
11
- }
12
- function isSpring(value) {
13
- if (value === null || typeof value !== "object" || Array.isArray(value)) return false;
14
- return "response" in value && "dampingRatio" in value || "duration" in value && "bounce" in value || "stiffness" in value && "damping" in value;
15
- }
16
- function isCurve(value) {
17
- return Array.isArray(value) && value.length === 4 && value.every((n) => typeof n === "number");
18
- }
19
- //#endregion
20
- //#region src/motion/roles.ts
21
- const rolesById = /* @__PURE__ */ new Map();
22
- /** A table id → the table registered under it. */
23
- const tablesById = /* @__PURE__ */ new Map();
24
- /** A spring or curve leaf → its role. */
25
- const roleOfLeaf = /* @__PURE__ */ new WeakMap();
26
- /** A table or one of its groups → its path. */
27
- const pathOfGroup = /* @__PURE__ */ new WeakMap();
28
- /** A table path → the role id it is registered under, when renamed. */
29
- const roleIdOfPath = /* @__PURE__ */ new Map();
30
- /**
31
- * Registers a motion table: each spring, `…Ms` duration and curve leaf that
32
- * `roles` lists (its role name, relative to the table) becomes a role named
33
- * by its path under `id`; the table's other values stay internal constants. A leaf object the table shares between
34
- * two keys is replaced in the table by an equal copy, so each role has its own
35
- * object (an animator resolves a role from the object it is handed).
36
- * `exclude` lists paths, relative to the table, that are not motion;
37
- * `rename` maps a path, relative to the table, to the role name it is
38
- * registered under (relative too), so a role is named for its use while the
39
- * table keeps its source's name. Registering the same table under the same id
40
- * again does nothing.
41
- */
42
- function registerMotionTable(id, table, { roles = [], exclude = [], rename = {} } = {}) {
43
- if (!/^[a-z][A-Za-z0-9]*$/.test(id)) throw new Error(`motion table id "${id}" must be one camelCase word`);
44
- if (tablesById.get(id) === table) return;
45
- tablesById.set(id, table);
46
- const skip = new Set(exclude.map((path) => `${id}.${path}`));
47
- const listed = new Set(roles.map((name) => `${id}.${name}`));
48
- const walk = (group, prefix) => {
49
- pathOfGroup.set(group, prefix);
50
- for (const [key, value] of Object.entries(group)) {
51
- const path = `${prefix}.${key}`;
52
- if (skip.has(path)) continue;
53
- let kind = null;
54
- if (isSpring(value)) kind = "spring";
55
- else if (isCurve(value)) kind = "curve";
56
- else if (typeof value === "number" && key.endsWith("Ms")) kind = "duration";
57
- else if (value !== null && typeof value === "object" && !Array.isArray(value)) {
58
- walk(value, path);
59
- continue;
60
- }
61
- if (kind == null) continue;
62
- const relative = path.slice(id.length + 1);
63
- const roleId = relative in rename ? `${id}.${rename[relative]}` : path;
64
- if (!listed.has(roleId)) continue;
65
- if (roleId !== path) roleIdOfPath.set(path, roleId);
66
- let leaf = value;
67
- if (typeof leaf === "object") {
68
- const taken = roleOfLeaf.get(leaf);
69
- if (taken != null && taken.id !== roleId) {
70
- leaf = Object.freeze(Array.isArray(leaf) ? [...leaf] : { ...leaf });
71
- group[key] = leaf;
72
- }
73
- }
74
- const role = {
75
- id: roleId,
76
- kind,
77
- variable: motionRoleVariable(roleId),
78
- value: leaf
79
- };
80
- rolesById.set(roleId, role);
81
- if (typeof leaf === "object") roleOfLeaf.set(leaf, role);
82
- }
83
- };
84
- walk(table, id);
85
- }
86
- /**
87
- * Registers `leaf` as the spring role `id` (a table path such as
88
- * `springs.settle`) and returns it, so a table row can register itself. A row
89
- * that calls it under a pure annotation drops out of a bundle that does not
90
- * use it, call included. Registering the same leaf under the same id again
91
- * does nothing.
92
- */
93
- function registerSpringRole(id, leaf) {
94
- if (!isMotionRoleId(id)) throw new Error(`motion role "${id}" must be a dotted table path such as "springs.settle"`);
95
- if (roleOfLeaf.get(leaf)?.id !== id) {
96
- const role = {
97
- id,
98
- kind: "spring",
99
- variable: motionRoleVariable(id),
100
- value: leaf
101
- };
102
- rolesById.set(id, role);
103
- roleOfLeaf.set(leaf, role);
104
- }
105
- return leaf;
106
- }
107
- /** The role a spring or curve leaf of a registered table plays, if any. */
108
- function motionRoleOf(leaf) {
109
- return leaf !== null && typeof leaf === "object" ? roleOfLeaf.get(leaf) : void 0;
110
- }
111
- /**
112
- * The role `group[key]` plays, for a table or one of its groups: the way to
113
- * name a duration, which is a bare number.
114
- */
115
- function motionRoleIn(group, key) {
116
- const prefix = pathOfGroup.get(group);
117
- if (prefix == null) return;
118
- const path = `${prefix}.${key}`;
119
- return rolesById.get(roleIdOfPath.get(path) ?? path);
120
- }
121
- const NUMBER = "(-?(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:e-?\\d+)?)";
122
- const SPRING_VALUE = new RegExp(`^${NUMBER}s\\s+${NUMBER}$`);
123
- const DURATION_VALUE = new RegExp(`^${NUMBER}(ms|s)$`);
124
- const CURVE_VALUE = new RegExp(`^cubic-bezier\\(\\s*${NUMBER}\\s*,\\s*${NUMBER}\\s*,\\s*${NUMBER}\\s*,\\s*${NUMBER}\\s*\\)$`);
125
- function parseMotionRoleValue(kind, text) {
126
- const value = text.trim();
127
- if (value === "") return null;
128
- if (kind === "spring") {
129
- const m = SPRING_VALUE.exec(value);
130
- if (m == null) return null;
131
- const duration = Number(m[1]);
132
- const bounce = Number(m[2]);
133
- return duration > 0 && bounce > -1 && bounce < 1 ? {
134
- duration,
135
- bounce
136
- } : null;
137
- }
138
- if (kind === "duration") {
139
- const m = DURATION_VALUE.exec(value);
140
- if (m == null) return null;
141
- const ms = Number(m[1]) * (m[2] === "s" ? 1e3 : 1);
142
- return ms >= 0 ? ms : null;
143
- }
144
- const m = CURVE_VALUE.exec(value);
145
- if (m == null) return null;
146
- const points = [
147
- m[1],
148
- m[2],
149
- m[3],
150
- m[4]
151
- ].map(Number);
152
- return points[0] >= 0 && points[0] <= 1 && points[2] >= 0 && points[2] <= 1 ? points : null;
153
- }
154
- /** The CSS easing keywords, as the control points CSS gives them. */
155
- const EASING_KEYWORDS = {
156
- "linear": [
157
- 0,
158
- 0,
159
- 1,
160
- 1
161
- ],
162
- "ease": [
163
- .25,
164
- .1,
165
- .25,
166
- 1
167
- ],
168
- "ease-in": [
169
- .42,
170
- 0,
171
- 1,
172
- 1
173
- ],
174
- "ease-out": [
175
- 0,
176
- 0,
177
- .58,
178
- 1
179
- ],
180
- "ease-in-out": [
181
- .42,
182
- 0,
183
- .58,
184
- 1
185
- ]
186
- };
187
- /**
188
- * Reads a CSS easing, a keyword or a `cubic-bezier()`, as a curve role's value
189
- * is read. Returns null for any other easing, such as `steps()`.
190
- */
191
- function parseCssEasing(text) {
192
- const value = text.trim();
193
- return EASING_KEYWORDS[value] ?? parseMotionRoleValue("curve", value);
194
- }
1
+ import { a as registerMotionTable } from "./roles-CPMsH5Ob.js";
195
2
  const scroll = {
196
3
  decelerationRate: {
197
4
  /**
@@ -511,105 +318,4 @@ const UIKIT_VELOCITY = {
511
318
  }
512
319
  };
513
320
  //#endregion
514
- //#region src/composables/internal/pressGesture.ts
515
- /**
516
- * 触屏按压模型的纯状态机:输入「刚发生了什么」,输出「现在该画什么」。
517
- *
518
- * 系统原生控件(UIKit)对手指的处理:滚动视图外,手指落下的那一帧就亮;
519
- * 滚动视图里按下先等 0.15 秒才认,因为这次触摸可能变成滚动。滚动一接管手势就立刻取消,
520
- * 这次手势里不再亮回来;抬手后淡出。iOS Safari 的 CSS `:active` 一样都不做:
521
- * 手指一碰就亮,滚动开始 1.6 秒后还亮着。所以粗指针下的按压状态由这里管,
522
- * `:active` 只留给鼠标。
523
- *
524
- * 这里不碰 DOM、不碰时钟,测试直接喂事件就能把整套规则跑一遍。
525
- * DOM 那一半在 `pressFeedback.ts`。
526
- */
527
- /**
528
- * 滚动视图里,手指停多久才算真按。UIKit 的 `delaysContentTouches` 就是 0.15 秒。
529
- * 快速划一下在这之前就被滚动接管了,所以什么都不亮。从触摸本身的时间戳算起。
530
- */
531
- const PRESS_ONSET_MS = UIKIT_PRESS.contentTouchDelay.value;
532
- /** 手指最多能挪多远还算按压,单位 CSS 像素。iOS 的滚动大约在这个距离接管手势。 */
533
- const PRESS_SLOP_PX = UIKIT_PRESS.slop.value;
534
- /** 太快的轻点:抬手时补亮,满强度保持这么久再淡出。不然最常见的操作一点反馈都没有。 */
535
- const PRESS_FLASH_MS = UIKIT_PRESS.quickTapFlash.value;
536
- /** 滚动刚停不久就落下的手指是在「刹车」,不是按压。这个窗口内不亮。 */
537
- const PRESS_SCROLL_BRAKE_MS = UIKIT_PRESS.scrollBrake.value;
538
- const IDLE = {
539
- originX: 0,
540
- originY: 0,
541
- phase: "idle"
542
- };
543
- function travelled(gesture, x, y) {
544
- return Math.hypot(x - gesture.originX, y - gesture.originY) > PRESS_SLOP_PX;
545
- }
546
- function to(gesture, phase, paint, timer) {
547
- return {
548
- gesture: {
549
- ...gesture,
550
- phase
551
- },
552
- paint,
553
- timer
554
- };
555
- }
556
- function stay(gesture, paint) {
557
- return {
558
- gesture,
559
- paint,
560
- timer: null
561
- };
562
- }
563
- function stepArmed(gesture, event) {
564
- switch (event.kind) {
565
- case "move": return travelled(gesture, event.x, event.y) ? to(gesture, "dead", "none", null) : stay(gesture, "none");
566
- case "cancel": return to(gesture, "dead", "none", null);
567
- case "onset": return to(gesture, "pressed", "on", null);
568
- case "up": return to(gesture, "flash", "on", "flash");
569
- default: return stay(gesture, "none");
570
- }
571
- }
572
- function stepPressed(gesture, event) {
573
- if (event.kind === "move" && !travelled(gesture, event.x, event.y)) return stay(gesture, "on");
574
- if (event.kind === "move" || event.kind === "cancel") return to(gesture, "dead", "none", null);
575
- if (event.kind === "up") return to(gesture, "fading", "fading", "fade");
576
- return stay(gesture, "on");
577
- }
578
- /**
579
- * 一个事件,一个答案。
580
- */
581
- function pressGestureStep(gesture, event) {
582
- if (event.kind === "down") {
583
- if (event.delayed === false) return {
584
- gesture: {
585
- originX: event.x,
586
- originY: event.y,
587
- phase: "pressed"
588
- },
589
- paint: "on",
590
- timer: null
591
- };
592
- return {
593
- gesture: {
594
- originX: event.x,
595
- originY: event.y,
596
- phase: "armed"
597
- },
598
- paint: "none",
599
- timer: "onset"
600
- };
601
- }
602
- switch (gesture.phase) {
603
- case "armed": return stepArmed(gesture, event);
604
- case "pressed": return stepPressed(gesture, event);
605
- case "flash": return event.kind === "flashEnd" ? to(gesture, "fading", "fading", "fade") : stay(gesture, "on");
606
- case "fading": return event.kind === "fadeEnd" ? stay(IDLE, "none") : stay(gesture, "fading");
607
- case "dead": return event.kind === "up" ? stay(IDLE, "none") : stay(gesture, "none");
608
- case "idle": return stay(IDLE, "none");
609
- }
610
- }
611
- function idlePressGesture() {
612
- return IDLE;
613
- }
614
- //#endregion
615
- export { parseMotionRoleValue as _, idlePressGesture as a, isSpring as b, UIKIT_PAN as c, UIKIT_VELOCITY as d, registerScrollTable as f, parseCssEasing as g, motionRoleOf as h, PRESS_SLOP_PX as i, UIKIT_PRESS as l, motionRoleIn as m, PRESS_ONSET_MS as n, pressGestureStep as o, scroll as p, PRESS_SCROLL_BRAKE_MS as r, UIKIT_LONG_PRESS as s, PRESS_FLASH_MS as t, UIKIT_TAP as u, registerMotionTable as v, registerSpringRole as y };
321
+ export { UIKIT_VELOCITY as a, UIKIT_TAP as i, UIKIT_PAN as n, registerScrollTable as o, UIKIT_PRESS as r, scroll as s, UIKIT_LONG_PRESS as t };
@@ -174,11 +174,11 @@ declare const __VLS_base: import("vue").DefineComponent<SelectorProps, {}, {}, {
174
174
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
175
175
  "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
176
176
  }>, {
177
- isLoading: boolean;
178
- variant: SelectorVariant;
179
177
  indicatorPosition: SelectorIndicatorPosition;
180
178
  status: SelectorStatusInput;
181
179
  isOptional: boolean;
180
+ isLoading: boolean;
181
+ variant: SelectorVariant;
182
182
  modelValue: string | number | null;
183
183
  isLabelHidden: boolean;
184
184
  isRequired: boolean;
@@ -66,16 +66,16 @@ declare const __VLS_base: import("vue").DefineComponent<TooltipProps, {}, {}, {}
66
66
  onOpenChange?: ((isOpen: boolean) => any) | undefined;
67
67
  }>, {
68
68
  anchor: HTMLElement | null;
69
- content: string;
70
69
  isOpen: boolean;
71
70
  placement: TooltipPlacement;
72
71
  alignment: TooltipAlignment;
72
+ content: string;
73
73
  isDefaultOpen: boolean;
74
+ isEnabled: boolean;
74
75
  delay: number;
75
76
  hideDelay: number;
76
77
  focusTrigger: TooltipFocusTrigger;
77
78
  touchTrigger: TooltipTouchTrigger;
78
- isEnabled: boolean;
79
79
  hasHoverIndication: boolean | "auto";
80
80
  anchorsOnSelf: boolean;
81
81
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,4 +1,4 @@
1
- import { i as ResizableRegion, r as ResizableProps } from "./useResizable-CJd4JkbJ.js";
1
+ import { i as ResizableRegion, r as ResizableProps } from "./useResizable-CKDaU_se.js";
2
2
  import { VNodeChild } from "vue";
3
3
  //#region src/Resizable/types.d.ts
4
4
  type ResizeDirection = 'horizontal' | 'vertical';
@@ -162,8 +162,8 @@ declare const __VLS_base: import("vue").DefineComponent<TabListProps, {}, {}, {}
162
162
  }>, {
163
163
  layout: TabListLayout;
164
164
  isFullBleed: boolean;
165
- overflow: TabListOverflow;
166
165
  hasDivider: boolean;
166
+ overflow: TabListOverflow;
167
167
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
168
168
  declare const __VLS_export$1: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
169
169
  declare const _default$1: typeof __VLS_export$1;
@@ -63,8 +63,8 @@ interface TreeListSlots {
63
63
  //#region src/TreeList/TreeList.vue.d.ts
64
64
  type __VLS_Slots = TreeListSlots;
65
65
  declare const __VLS_base: import("vue").DefineComponent<TreeListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TreeListProps> & Readonly<{}>, {
66
- variant: TreeListVariant;
67
66
  density: TreeListDensity;
67
+ variant: TreeListVariant;
68
68
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
69
69
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
70
70
  declare const _default: typeof __VLS_export;
@@ -21,8 +21,8 @@ type __VLS_Slots = {} & {
21
21
  label?: (props: typeof __VLS_1) => any;
22
22
  };
23
23
  declare const __VLS_base: import("vue").DefineComponent<DividerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DividerProps> & Readonly<{}>, {
24
- variant: DividerVariant;
25
24
  orientation: DividerOrientation;
25
+ variant: DividerVariant;
26
26
  isFullBleed: boolean;
27
27
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
28
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,5 +1,5 @@
1
1
  import { n as LayerPlacement, t as LayerAlignment } from "./position-DFW5ymAF.js";
2
- import { C as DropdownMenuGroupSlots, D as DropdownMenuItemVariant, E as DropdownMenuItemSlots, F as DropdownMenuSubMenuProps, I as DropdownMenuSubMenuSlots, P as DropdownMenuSubMenuPresentation, S as DropdownMenuGroupProps, T as DropdownMenuItemProps, _ as DropdownMenuSlots, d as DropdownMenuPresentation, f as DropdownMenuProps, g as DropdownMenuSize } from "./DropdownMenuRadioItem.vue-C8rePTyz.js";
2
+ import { C as DropdownMenuGroupSlots, D as DropdownMenuItemVariant, E as DropdownMenuItemSlots, F as DropdownMenuSubMenuProps, I as DropdownMenuSubMenuSlots, P as DropdownMenuSubMenuPresentation, S as DropdownMenuGroupProps, T as DropdownMenuItemProps, _ as DropdownMenuSlots, f as DropdownMenuProps, g as DropdownMenuSize } from "./DropdownMenuRadioItem.vue-B4iwMWWD.js";
3
3
  import { ComputedRef, InjectionKey, Ref } from "vue";
4
4
  //#region src/DropdownMenu/useMenuDrillIn.d.ts
5
5
  /**
@@ -71,7 +71,6 @@ declare const __VLS_base$3: import("vue").DefineComponent<__VLS_PublicProps, {},
71
71
  }>, {
72
72
  placement: LayerPlacement;
73
73
  alignment: LayerAlignment;
74
- presentation: DropdownMenuPresentation;
75
74
  hasChevron: boolean;
76
75
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
77
76
  declare const __VLS_export$4: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
@@ -125,6 +124,8 @@ declare const __VLS_base: import("vue").DefineComponent<DropdownMenuSubMenuProps
125
124
  }>, {
126
125
  isDisabled: boolean;
127
126
  presentation: DropdownMenuSubMenuPresentation;
127
+ delay: number;
128
+ hideDelay: number;
128
129
  hasSpinner: boolean;
129
130
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
130
131
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -142,8 +142,8 @@ declare const __VLS_base$1: import("vue").DefineComponent<__VLS_PublicProps$1, {
142
142
  height: string | number;
143
143
  isInline: boolean;
144
144
  purpose: BottomSheetPurpose;
145
- hasScrim: boolean;
146
145
  snapPoints: readonly BottomSheetSnapPoint[];
146
+ hasScrim: boolean;
147
147
  finalFocusRef: import("vue").MaybeRef<HTMLElement | null>;
148
148
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
149
149
  declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
@@ -43,8 +43,8 @@ interface ProgressBarProps {
43
43
  //#endregion
44
44
  //#region src/ProgressBar/ProgressBar.vue.d.ts
45
45
  declare const __VLS_export: import("vue").DefineComponent<ProgressBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProgressBarProps> & Readonly<{}>, {
46
- size: ProgressBarSize;
47
46
  isDisabled: boolean;
47
+ size: ProgressBarSize;
48
48
  value: number;
49
49
  variant: ProgressBarVariant;
50
50
  isLabelHidden: boolean;
@@ -20,10 +20,10 @@ declare const __VLS_base: import("vue").DefineComponent<PopoverProps, {}, {}, {}
20
20
  label: string;
21
21
  anchor: HTMLElement | null;
22
22
  width: string | number;
23
- padding: PopoverPadding;
24
23
  isOpen: boolean;
25
24
  placement: LayerPlacement;
26
25
  alignment: LayerAlignment;
26
+ padding: PopoverPadding;
27
27
  presentation: AdaptivePresentation;
28
28
  hasAutoFocus: boolean;
29
29
  role: PopoverRole;
@@ -35,8 +35,8 @@ type __VLS_Slots$1 = {
35
35
  default: () => unknown;
36
36
  };
37
37
  declare const __VLS_base$1: import("vue").DefineComponent<StackItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StackItemProps> & Readonly<{}>, {
38
- size: StackItemSize;
39
38
  as: StackElement;
39
+ size: StackItemSize;
40
40
  isScrollable: boolean;
41
41
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
42
42
  declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;