@astryx-vue/core 0.24.0 → 0.25.0

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 (266) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-DXOTr1D7.js → AlertDialog-Cub9_aPC.js} +6 -6
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-Cmu6bMY6.js → AppShell-D62A7lqZ.js} +5 -5
  5. package/dist/Avatar/index.js +1 -1
  6. package/dist/{Avatar-dMcn3j8Z.js → Avatar-BKoSK75s.js} +1 -1
  7. package/dist/AvatarGroup/index.d.ts +1 -1
  8. package/dist/AvatarGroup/index.js +1 -1
  9. package/dist/{AvatarGroup-BUXjzekw.js → AvatarGroup-DT5RbxDa.js} +1 -1
  10. package/dist/Banner/index.d.ts +1 -1
  11. package/dist/Banner/index.js +1 -1
  12. package/dist/{Banner-CTY9qV89.js → Banner-cg2nXT_4.js} +1 -1
  13. package/dist/BottomSheet/index.d.ts +1 -1
  14. package/dist/BottomSheet/index.js +2 -2
  15. package/dist/{BottomSheet-ZOjuZya0.js → BottomSheet-CpLYy3vb.js} +1 -1
  16. package/dist/{BottomSheet-DyJJtZZU.js → BottomSheet-DGhRZLw4.js} +108 -8
  17. package/dist/Breadcrumbs/index.js +2 -2
  18. package/dist/{Breadcrumbs-Nv-089W0.js → Breadcrumbs-D-nHDHV8.js} +1 -1
  19. package/dist/Button/index.js +1 -1
  20. package/dist/{Button-TiYG0btL.js → Button-D8AGK5oT.js} +3 -3
  21. package/dist/ButtonGroup/index.d.ts +1 -1
  22. package/dist/ButtonGroup/index.js +1 -1
  23. package/dist/{ButtonGroup-DNN4O9_-.js → ButtonGroup-CUN_rC57.js} +2 -2
  24. package/dist/Calendar/index.d.ts +1 -1
  25. package/dist/Carousel/index.d.ts +1 -1
  26. package/dist/Carousel/index.js +1 -1
  27. package/dist/{Carousel-DsXup1mZ.js → Carousel-DrCG9wbP.js} +1 -1
  28. package/dist/Chat/index.d.ts +1 -1
  29. package/dist/Chat/index.js +1 -1
  30. package/dist/{Chat-DqYT_S9M.js → Chat-U1qq8gkF.js} +3 -3
  31. package/dist/CheckboxInput/index.d.ts +1 -1
  32. package/dist/CheckboxInput/index.js +1 -1
  33. package/dist/{CheckboxInput-FKfsoLcl.js → CheckboxInput-qm6lkjAw.js} +3 -3
  34. package/dist/CheckboxList/index.d.ts +1 -1
  35. package/dist/CheckboxList/index.js +1 -1
  36. package/dist/{CheckboxList-DuSVBtMk.js → CheckboxList-DuCKhJHJ.js} +5 -5
  37. package/dist/ClickableCard/index.d.ts +1 -1
  38. package/dist/ClickableCard/index.js +1 -1
  39. package/dist/{ClickableCard-dNmSVHBu.js → ClickableCard-CwGxO0GU.js} +1 -1
  40. package/dist/Code/index.js +1 -1
  41. package/dist/{CodeBlock-5KoJDvWd.js → CodeBlock-PMZd9dQ9.js} +1 -1
  42. package/dist/Collapsible/index.js +1 -1
  43. package/dist/{Collapsible-B1qW6OuL.js → Collapsible-BmUloCSR.js} +3 -3
  44. package/dist/CommandPalette/index.js +1 -1
  45. package/dist/{CommandPalette-B2riNg_7.js → CommandPalette-Cy7trpD3.js} +2 -2
  46. package/dist/ComplexSelector/index.js +1 -1
  47. package/dist/{ComplexSelector-C4CO8Fd2.js → ComplexSelector-DMBiVQWp.js} +2 -2
  48. package/dist/ContextMenu/index.d.ts +1 -1
  49. package/dist/ContextMenu/index.js +2 -2
  50. package/dist/{ContextMenu-SzsWZf18.js → ContextMenu-63ay7EE-.js} +13 -26
  51. package/dist/DateInput/index.d.ts +1 -1
  52. package/dist/DateInput/index.js +1 -1
  53. package/dist/{DateInput-D9Jv70H7.js → DateInput-B3Q91FDT.js} +3 -3
  54. package/dist/DateRangeInput/index.d.ts +1 -1
  55. package/dist/DateRangeInput/index.js +1 -1
  56. package/dist/{DateRangeInput-BsB2kg_q.js → DateRangeInput-B6Z66OsH.js} +3 -3
  57. package/dist/DateTimeInput/index.d.ts +1 -1
  58. package/dist/DateTimeInput/index.js +1 -1
  59. package/dist/{DateTimeInput-BDyKPKGD.js → DateTimeInput-B_7cn7ze.js} +5 -5
  60. package/dist/Dialog/index.d.ts +1 -1
  61. package/dist/Dialog/index.js +3 -3
  62. package/dist/{Dialog-JCB5s-T-.js → Dialog-C4FZ7p7Q.js} +10 -0
  63. package/dist/{Dialog-DUlWQH8R.js → Dialog-CBPD5b-S.js} +1 -1
  64. package/dist/{DialogHeader-C6hZZxdv.js → DialogHeader-CQ3pnLYi.js} +2 -2
  65. package/dist/Drawer/index.d.ts +1 -1
  66. package/dist/Drawer/index.js +1 -1
  67. package/dist/{Drawer-BDuiw1-g.js → Drawer-BOwQLKm9.js} +2 -2
  68. package/dist/DropdownMenu/index.js +3 -3
  69. package/dist/{DropdownMenu-Der2x_k_.js → DropdownMenu-9CR9TiKG.js} +5 -5
  70. package/dist/{DropdownMenu-BhxKnh6D.js → DropdownMenu-DwIfoTnV.js} +18 -18
  71. package/dist/EmptyState/index.js +1 -1
  72. package/dist/{EmptyState-CnFkYtcS.js → EmptyState-BG5g2jwJ.js} +3 -3
  73. package/dist/Field/index.js +3 -3
  74. package/dist/{Field-D4UmRHlD.js → Field-eAowUUMX.js} +1 -1
  75. package/dist/{FieldInfoTip-BSqcEcUx.js → FieldInfoTip-Dwl9HNp1.js} +1 -1
  76. package/dist/{FieldLabel-CZbayYFD.js → FieldLabel-CgYk-ORu.js} +1 -1
  77. package/dist/FileInput/index.d.ts +1 -1
  78. package/dist/FileInput/index.js +1 -1
  79. package/dist/{FileInput-8oYiJsq_.js → FileInput-B7zeePbM.js} +2 -2
  80. package/dist/Heading/index.d.ts +1 -1
  81. package/dist/Heading/index.js +1 -1
  82. package/dist/{Heading-COtyAhtB.js → Heading-B1dNZQtu.js} +1 -1
  83. package/dist/HoverCard/index.js +1 -1
  84. package/dist/{HoverCard-DGlOpk4x.js → HoverCard-CZhfsvP4.js} +2 -2
  85. package/dist/IconButton/index.js +1 -1
  86. package/dist/{IconButton-CwjHTIBg.js → IconButton-D9ZRJ7vD.js} +1 -1
  87. package/dist/InfoTip/index.d.ts +1 -1
  88. package/dist/InfoTip/index.js +1 -1
  89. package/dist/{InfoTip-CNZateDb.js → InfoTip-LJi9llxi.js} +2 -2
  90. package/dist/{InputClearButton-CzCP41sx.js → InputClearButton-C-j9Nf1s.js} +1 -1
  91. package/dist/InputGroup/index.js +1 -1
  92. package/dist/{InputGroup-CfUGHDNz.js → InputGroup-B8PGJZKH.js} +1 -1
  93. package/dist/{Item-DyaYlbyE.js → Item-DUI1Qnnd.js} +1 -1
  94. package/dist/Lightbox/index.js +1 -1
  95. package/dist/{Lightbox-Dzzd2Vqe.js → Lightbox-BOWTHnTb.js} +1 -1
  96. package/dist/Link/index.d.ts +1 -1
  97. package/dist/Link/index.js +1 -1
  98. package/dist/{Link-B7OJQ0zl.js → Link-B75ygGzG.js} +2 -2
  99. package/dist/List/index.d.ts +1 -1
  100. package/dist/List/index.js +2 -2
  101. package/dist/{ListItem-gj_lOvEt.js → ListItem-C8SqSrU6.js} +1 -1
  102. package/dist/Markdown/index.d.ts +1 -1
  103. package/dist/Markdown/index.js +1 -1
  104. package/dist/{Markdown-Cbj-nqhN.js → Markdown-Cqrcj-ct.js} +3 -3
  105. package/dist/MobileNav/index.js +1 -1
  106. package/dist/{MobileNavToggle-BlcdCg8M.js → MobileNavToggle-DLpEONfs.js} +12 -0
  107. package/dist/MoreMenu/index.d.ts +1 -1
  108. package/dist/MoreMenu/index.js +1 -1
  109. package/dist/{MoreMenu-Dokwc4Mg.js → MoreMenu-aR88r9xp.js} +17 -31
  110. package/dist/MultiSelector/index.d.ts +1 -1
  111. package/dist/MultiSelector/index.js +1 -1
  112. package/dist/{MultiSelector-CId8-qAX.js → MultiSelector-UTaDe-YT.js} +22 -23
  113. package/dist/{NavDisclosure-CqAThYgR.js → NavDisclosure-B66SHKdd.js} +1 -1
  114. package/dist/{NavHeadingSurface-DJ4pWvEi.js → NavHeadingSurface-BZCzkCPJ.js} +1 -1
  115. package/dist/NavItem/index.js +1 -1
  116. package/dist/{NavItem-_eIEwV41.js → NavItem-c1ScHEJY.js} +1 -1
  117. package/dist/NavMenu/index.js +3 -3
  118. package/dist/{NavMenu-BtA_Xbmr.js → NavMenu-DS6y8ZAY.js} +2 -2
  119. package/dist/{NavMenuItem-BxfjAf1T.js → NavMenuItem-BqIi3o3D.js} +3 -3
  120. package/dist/NumberInput/index.d.ts +1 -1
  121. package/dist/NumberInput/index.js +1 -1
  122. package/dist/{NumberInput-Bl5TFhGD.js → NumberInput-ClkOGF5j.js} +3 -3
  123. package/dist/Outline/index.js +1 -1
  124. package/dist/{Outline-NuPQMjxw.js → Outline-DvQbXc_H.js} +1 -1
  125. package/dist/OverflowList/index.d.ts +1 -1
  126. package/dist/OverflowList/index.js +1 -1
  127. package/dist/{OverflowList-CumJl6X_.js → OverflowList-UnVXBDIW.js} +2 -2
  128. package/dist/Pagination/index.js +1 -1
  129. package/dist/{Pagination-C0Bx80Tu.js → Pagination-CTCLE02h.js} +1 -1
  130. package/dist/Popover/index.js +1 -1
  131. package/dist/{Popover-DpR4rwiW.js → Popover-CZvRSqqD.js} +3 -3
  132. package/dist/PowerSearch/index.d.ts +1 -1
  133. package/dist/PowerSearch/index.js +1 -1
  134. package/dist/{PowerSearch-Dq6Gi9z1.js → PowerSearch-BBOum0TP.js} +17 -17
  135. package/dist/ProgressBar/index.js +1 -1
  136. package/dist/{ProgressBar-Dp-0xquN.js → ProgressBar-Bgg6zsKR.js} +1 -1
  137. package/dist/Radio/index.d.ts +1 -1
  138. package/dist/Radio/index.js +1 -1
  139. package/dist/{RadioGroup-IKBXLzYU.js → RadioGroup-DPy5JQhm.js} +4 -4
  140. package/dist/RadioList/index.d.ts +1 -1
  141. package/dist/RadioList/index.js +1 -1
  142. package/dist/{RadioList-NW4fGKgm.js → RadioList-UN7IxQg8.js} +1 -1
  143. package/dist/ScrollableArea/index.d.ts +1 -1
  144. package/dist/SegmentedControl/index.js +1 -1
  145. package/dist/{SegmentedControl-DRxcUlVP.js → SegmentedControl-BkWz-I2J.js} +2 -2
  146. package/dist/SelectableCard/index.d.ts +1 -1
  147. package/dist/SelectableCard/index.js +1 -1
  148. package/dist/{SelectableCard-Dp-LsEcf.js → SelectableCard-GRWYx3iD.js} +1 -1
  149. package/dist/Selector/index.d.ts +1 -1
  150. package/dist/Selector/index.js +1 -1
  151. package/dist/{Selector-BW_oxWDM.js → Selector-CCtsUveZ.js} +27 -22
  152. package/dist/SideNav/index.d.ts +1 -1
  153. package/dist/SideNav/index.js +2 -2
  154. package/dist/{SideNav-B5mMRj98.js → SideNav-COl5ApOz.js} +9 -9
  155. package/dist/Slider/index.js +1 -1
  156. package/dist/{Slider-oD3AY4jh.js → Slider-CYie9hWm.js} +2 -2
  157. package/dist/StatusDot/index.js +1 -1
  158. package/dist/{StatusDot-B3oOyRF7.js → StatusDot-CHfgSYmv.js} +1 -1
  159. package/dist/Stepper/index.d.ts +1 -1
  160. package/dist/Stepper/index.js +1 -1
  161. package/dist/{Stepper-CgOdL36_.js → Stepper-CCuggsov.js} +1 -1
  162. package/dist/Switch/index.d.ts +1 -1
  163. package/dist/Switch/index.js +1 -1
  164. package/dist/{Switch-DG_A9cD0.js → Switch-D24CvhDS.js} +2 -2
  165. package/dist/TabList/index.js +1 -1
  166. package/dist/{TabList-FkoypUk0.js → TabList-DToCh5JW.js} +3 -3
  167. package/dist/Table/index.d.ts +1 -1
  168. package/dist/Table/index.js +1 -1
  169. package/dist/{Table-zNW23VwP.js → Table-D3mzxBr0.js} +13 -13
  170. package/dist/Text/index.d.ts +1 -1
  171. package/dist/Text/index.js +1 -1
  172. package/dist/{Text-v1ep26uD.js → Text-5p-eZodt.js} +1 -1
  173. package/dist/TextArea/index.d.ts +1 -1
  174. package/dist/TextArea/index.js +1 -1
  175. package/dist/{TextArea-BilHnmSs.js → TextArea-Bp6D-riO.js} +4 -4
  176. package/dist/TextInput/index.d.ts +1 -1
  177. package/dist/TextInput/index.js +1 -1
  178. package/dist/{TextInput-D6tHM2sA.js → TextInput-BYslwBDZ.js} +4 -4
  179. package/dist/Thumbnail/index.js +1 -1
  180. package/dist/{Thumbnail-llGdnQM8.js → Thumbnail-B_a8tOS7.js} +3 -3
  181. package/dist/{TimeField-C5rcoaVu.js → TimeField-MDSJny9m.js} +3 -3
  182. package/dist/TimeInput/index.d.ts +1 -1
  183. package/dist/TimeInput/index.js +1 -1
  184. package/dist/{TimeInput-D0N8nwrI.js → TimeInput-B19amuxi.js} +2 -2
  185. package/dist/Timer/index.d.ts +1 -1
  186. package/dist/Timer/index.js +1 -1
  187. package/dist/{Timer-65PfuoQ7.js → Timer-BD3tfzrF.js} +1 -1
  188. package/dist/Timestamp/index.d.ts +1 -1
  189. package/dist/Timestamp/index.js +1 -1
  190. package/dist/{Timestamp-rYC8mE3r.js → Timestamp-CqWoZUKM.js} +3 -3
  191. package/dist/Toast/index.js +1 -1
  192. package/dist/{Toast-BtQ-4Y6Z.js → Toast-BKPl8iIr.js} +1 -1
  193. package/dist/ToggleButton/index.d.ts +1 -1
  194. package/dist/ToggleButton/index.js +1 -1
  195. package/dist/{ToggleButton-Bnn_MiOn.js → ToggleButton-DfpsuhMa.js} +3 -3
  196. package/dist/Token/index.d.ts +1 -1
  197. package/dist/Token/index.js +1 -1
  198. package/dist/{Token-B-j3AKxB.js → Token-C7Dt5ygK.js} +1 -1
  199. package/dist/Tokenizer/index.js +1 -1
  200. package/dist/{Tokenizer-Cpdy_L00.js → Tokenizer-C-eorFsF.js} +5 -5
  201. package/dist/Toolbar/index.d.ts +1 -1
  202. package/dist/Tooltip/index.js +2 -2
  203. package/dist/{Tooltip-CByjfHBZ.js → Tooltip-88zhGfzF.js} +1 -1
  204. package/dist/TopNav/index.d.ts +1 -1
  205. package/dist/TopNav/index.js +1 -1
  206. package/dist/{TopNav-q8xDVlM_.js → TopNav-DMFIsFwy.js} +5 -5
  207. package/dist/TreeList/index.js +1 -1
  208. package/dist/{TreeList-CEGInQtF.js → TreeList-nU2gSmQm.js} +3 -3
  209. package/dist/Typeahead/index.js +2 -2
  210. package/dist/{Typeahead-C-PdRnRQ.js → Typeahead-DUQfmy_r.js} +5 -5
  211. package/dist/{assertOptions-og3t30Fh.js → assertOptions-DVRsfCk1.js} +22 -2
  212. package/dist/{batch-oTkSbtVz.js → batch-DR5SgbnX.js} +2 -2
  213. package/dist/{clickGuard-ChKuogmR.js → clickGuard-FrlnECMp.js} +1 -2
  214. package/dist/coarsePointer-BfMx3H23.js +86 -0
  215. package/dist/composables/index.js +6 -6
  216. package/dist/{composables-COCeg92e.js → composables-Do86VAmM.js} +7 -110
  217. package/dist/{context-DQPBIsl5.js → context-WY1ippwe.js} +2 -2
  218. package/dist/{edge-3sC8-cbB.js → edge-qfeek_VV.js} +1 -1
  219. package/dist/{edgeRide-DOxmVxTM.js → edgeRide-iWUNdlxe.js} +4 -4
  220. package/dist/{sharedRealm-H1OrlP0V.js → flatTree-BB4yPMNL.js} +1 -49
  221. package/dist/{handle-CSHfxBie.js → handle-ma1yF_B_.js} +2 -1
  222. package/dist/holdEntranceInput-DjEzfGRU.js +523 -0
  223. package/dist/{index-85RFPeV0.d.ts → index-B52PMrO7.d.ts} +5 -5
  224. package/dist/{index-CyMStZq4.d.ts → index-B63NOJRc.d.ts} +1 -1
  225. package/dist/{index-X4S7_dmq.d.ts → index-BA8exXNP.d.ts} +1 -1
  226. package/dist/{index-BWcZ-L80.d.ts → index-BhdxP-OG.d.ts} +1 -1
  227. package/dist/{index-DRDOArzq.d.ts → index-BjmMJ_4E.d.ts} +19 -19
  228. package/dist/{index-C2HVLdNb.d.ts → index-BtgkNd0Q.d.ts} +2 -2
  229. package/dist/{index-BOCb89V9.d.ts → index-BxWCX2pJ.d.ts} +1 -1
  230. package/dist/{index-waTkqxTz.d.ts → index-C89cIh4E.d.ts} +1 -1
  231. package/dist/{index-Q1oG9yIT.d.ts → index-CO9GW-ik.d.ts} +1 -1
  232. package/dist/{index-CBOv5j3c.d.ts → index-CbA8rR_b.d.ts} +1 -1
  233. package/dist/{index-C9ZssPUV.d.ts → index-CiVrhGUJ.d.ts} +1 -1
  234. package/dist/{index-rdwI-mcm.d.ts → index-CtYlR9Cu.d.ts} +1 -1
  235. package/dist/{index-HULXozsK.d.ts → index-Dcxqzk_d.d.ts} +5 -5
  236. package/dist/index.d.ts +14 -14
  237. package/dist/index.js +95 -95
  238. package/dist/inputStream-LZdK8luP.js +239 -0
  239. package/dist/{landing-DFC97kl9.js → landing-qVsYAZ-v.js} +2 -2
  240. package/dist/{pressFeedback-CEUPQWIS.js → pressFeedback-DVR5V1b6.js} +3 -164
  241. package/dist/{stillPointerGate-1Tgkns0J.js → stillPointerGate-D3loXLh7.js} +1 -1
  242. package/dist/{tooltipFocusRules-vIH7PZh1.js → tooltipFocusRules-CFNKWzYn.js} +1 -1
  243. package/dist/{tooltipTriggerRules-DoBAbfGc.js → tooltipTriggerRules-DyPyWOdP.js} +1 -1
  244. package/dist/touchHold-CFJlSClt.js +30 -0
  245. package/dist/{useActionGroupTracking-PVBCtLUE.js → useActionGroupTracking-C6BzQzvp.js} +2 -2
  246. package/dist/{useDismiss-CMIsdIOQ.js → useDismiss-C7_S7qUA.js} +87 -5
  247. package/dist/useHeldPresentation-fQsuYFhz.js +126 -0
  248. package/dist/{useInputStatusIcon-CrgeMzrf.js → useInputStatusIcon-BFw-EXjJ.js} +1 -1
  249. package/dist/{useMenuDrillIn-CQrzwZvx.js → useMenuDrillIn-CDn2na4X.js} +9 -8
  250. package/dist/{useMenuPress-wqRDvUMW.js → useMenuPress-CxUqSUZ9.js} +2 -2
  251. package/dist/{usePressFeedback-aufF1sCH.js → usePressFeedback-BhNcuxQv.js} +1 -1
  252. package/dist/{useTooltip-BwqzEtoF.js → useTooltip-CJHbG8Pv.js} +2 -2
  253. package/dist/{useTouchHitArea-BMDBe36j.js → useTouchHitArea-CNZyA18Y.js} +2 -2
  254. package/dist/{useTruncationTooltip-CRhoPzeu.js → useTruncationTooltip-BTcr1LCR.js} +3 -3
  255. package/dist/{useTypeaheadMenuConfig-GvdIymRg.js → useTypeaheadMenuConfig-DeDGVR8S.js} +1 -1
  256. package/package.json +1 -1
  257. package/styles/context-menu.css +17 -73
  258. package/styles/dialog.css +18 -1
  259. package/styles/hover-card.css +13 -72
  260. package/styles/layer.css +68 -0
  261. package/styles/multi-selector.css +17 -30
  262. package/styles/popover.css +13 -72
  263. package/styles/selector.css +17 -30
  264. package/styles/tooltip.css +12 -71
  265. package/styles/typeahead.css +17 -30
  266. package/dist/{index-BqhgeAT4.d.ts → index-CHx33xGa.d.ts} +2 -2
@@ -0,0 +1,86 @@
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
+ //#region src/utils/coarsePointer.ts
33
+ /**
34
+ * @file coarsePointer.ts
35
+ * @input A window
36
+ * @output Exports isCoarsePointer, matchesMediaQuery, watchCoarsePointer and
37
+ * watchMediaQuery: whether the primary pointer is coarse (TOUCH_QUERY) or
38
+ * any media query matches, and when either changes
39
+ * @position The coarse-pointer gate of packages/core/src/gestures and of
40
+ * the press controller (pressFeedback.ts): touch-only work registers only
41
+ * while it holds. useMediaQuery and the presentation resolvers read and
42
+ * watch through matchesMediaQuery and watchMediaQuery
43
+ *
44
+ * Under a coarse primary pointer, a phone's touch work stays registered: the
45
+ * gesture host's page listeners, the page hold and the finger scroll. Under a
46
+ * fine one, recognizers still attach, and the host listens on the page only
47
+ * during a press (AST-094). The answer can change while the page is open (a
48
+ * tablet docking a mouse), so a holder watches it.
49
+ *
50
+ * SYNC: When modified, update coarsePointer.test.ts.
51
+ */
52
+ /** Whether the primary pointer of `view` is coarse now. */
53
+ function isCoarsePointer(view) {
54
+ return matchesMediaQuery(view, TOUCH_QUERY);
55
+ }
56
+ /**
57
+ * Whether `query` matches in `view` now. False where `view` has no
58
+ * `matchMedia`, as in a test DOM.
59
+ */
60
+ function matchesMediaQuery(view, query) {
61
+ return typeof view?.matchMedia === "function" && view.matchMedia(query).matches;
62
+ }
63
+ /**
64
+ * Call `listener` with the new answer each time `query` starts or stops
65
+ * matching in `view`, until the returned function is called.
66
+ */
67
+ function watchMediaQuery(view, query, listener) {
68
+ if (typeof view?.matchMedia !== "function") return () => {};
69
+ const list = view.matchMedia(query);
70
+ const onChange = () => listener(list.matches);
71
+ if (typeof list.addEventListener === "function") {
72
+ list.addEventListener("change", onChange);
73
+ return () => list.removeEventListener("change", onChange);
74
+ }
75
+ list.addListener(onChange);
76
+ return () => list.removeListener(onChange);
77
+ }
78
+ /**
79
+ * Call `listener` with the new answer each time the primary pointer of
80
+ * `view` turns coarse or fine, until the returned function is called.
81
+ */
82
+ function watchCoarsePointer(view, listener) {
83
+ return watchMediaQuery(view, TOUCH_QUERY, listener);
84
+ }
85
+ //#endregion
86
+ export { isIosWebKit as a, watchMediaQuery as i, matchesMediaQuery as n, watchCoarsePointer as r, isCoarsePointer as t };
@@ -1,9 +1,9 @@
1
- import { _ as useAnimator, a as usePanGesture, b as createPanGesture, c as imageModeFromPixels, d as useGridRovingFocus, f as useGridFocus, g as useContainerReveal, h as useControllableState, i as useSnapPaging, l as perceptualLightness, m as useDragToSnapPoints, n as snapToGraphemeBoundary, o as useKeyboardHint, p as useEntryAnimation, r as useStreamingText, s as useIndicatorFocusRing, t as useTouchTrigger, u as useImageMode, v as useAnimatedLayout, x as createAnimator, y as createDragToSnapPoints } from "../composables-COCeg92e.js";
1
+ import { _ as useAnimator, a as usePanGesture, b as createPanGesture, c as imageModeFromPixels, d as useGridRovingFocus, f as useGridFocus, g as useContainerReveal, h as useControllableState, i as useSnapPaging, l as perceptualLightness, m as useDragToSnapPoints, n as snapToGraphemeBoundary, o as useKeyboardHint, p as useEntryAnimation, r as useStreamingText, s as useIndicatorFocusRing, t as useTouchTrigger, u as useImageMode, v as useAnimatedLayout, x as createAnimator, y as createDragToSnapPoints } from "../composables-Do86VAmM.js";
2
2
  import { i as useClickableContainer, n as hasInteractiveAncestor, r as hasTextSelection, t as INTERACTIVE_SELECTORS } from "../useClickableContainer-Dtjg-nkm.js";
3
- import { t as usePressFeedback } from "../usePressFeedback-aufF1sCH.js";
3
+ import { t as usePressFeedback } from "../usePressFeedback-BhNcuxQv.js";
4
4
  import { n as useLayerTeleportTarget, r as useResolvedLayerTeleport, t as useLayerMountTarget } from "../useLayerMountTarget-BmZyeKWE.js";
5
- import { t as useDismiss } from "../useDismiss-CMIsdIOQ.js";
6
- import { n as useLayer } from "../tooltipTriggerRules-DoBAbfGc.js";
5
+ import { t as useDismiss } from "../useDismiss-C7_S7qUA.js";
6
+ import { n as useLayer } from "../tooltipTriggerRules-DyPyWOdP.js";
7
7
  import { t as useCoarsePointer } from "../useCoarsePointer-GItEMrjX.js";
8
8
  import { t as useMediaQuery } from "../useMediaQuery-BzXGT1Aw.js";
9
9
  import { t as characterCount } from "../characters-wTnzjkkR.js";
@@ -24,9 +24,9 @@ import { t as useFocusTrap } from "../useFocusTrap-DTz_d7IP.js";
24
24
  import { t as useHandleRef } from "../useHandleRef-6cdKugm8.js";
25
25
  import { n as useResizable, r as useHotkeys, t as percent } from "../useResizable-hv4NYIUi.js";
26
26
  import { t as useInputContainer } from "../useInputContainer-CLhsKYZ6.js";
27
- import { t as useInputStatusIcon } from "../useInputStatusIcon-CrgeMzrf.js";
27
+ import { t as useInputStatusIcon } from "../useInputStatusIcon-BFw-EXjJ.js";
28
28
  import { t as useInteractiveRole } from "../useInteractiveRole-Cn0Nd5GX.js";
29
- import { a as isMenuPressActivation, i as MENU_PRESS_MARKER, n as MENU_PRESS_SETTLE_MS, o as resetMenuPress, r as menuPressStep, s as useLongPress, t as useMenuPress } from "../useMenuPress-wqRDvUMW.js";
29
+ import { a as isMenuPressActivation, i as MENU_PRESS_MARKER, n as MENU_PRESS_SETTLE_MS, o as resetMenuPress, r as menuPressStep, s as useLongPress, t as useMenuPress } from "../useMenuPress-CxUqSUZ9.js";
30
30
  import { t as useMergedRefs } from "../useMergedRefs-DTGo1cEU.js";
31
31
  import { a as todayISODate, i as toISODate, n as buildMonthGrid, r as parseISODate, t as addMonths } from "../useMonthGrid-Bzvlstgc.js";
32
32
  import { n as useNumberField, t as computeSteppedValue } from "../useNumberField-Dk1BE3-K.js";
@@ -1,15 +1,18 @@
1
- import { a as sharedWeakMap, c as deepActiveElement, d as shadowRootsOutward, h as isNode, i as sharedState, l as parentAcrossShadow, m as isHTMLElement, n as sharedKey, p as isElement, s as containsAlongFlatTree, t as realmValue, u as shadowHostOf } from "./sharedRealm-H1OrlP0V.js";
2
- import { d as isInsideScrollView, f as parseTouchAction, l as subscribeInput, m as clockOf, p as rootOverflow, u as SCROLLABLE_OVERFLOW } from "./pressFeedback-CEUPQWIS.js";
3
- import { i as withoutClickGuard, n as disarmClickGuard, t as armClickGuard } from "./clickGuard-ChKuogmR.js";
1
+ import { a as shadowRootsOutward, c as isHTMLElement, i as shadowHostOf, l as isNode, n as deepActiveElement, r as parentAcrossShadow, s as isElement, t as containsAlongFlatTree } from "./flatTree-BB4yPMNL.js";
2
+ import { d as parseTouchAction, f as rootOverflow, l as SCROLLABLE_OVERFLOW, p as clockOf, u as isInsideScrollView } from "./pressFeedback-DVR5V1b6.js";
3
+ import { i as withoutClickGuard, n as disarmClickGuard, t as armClickGuard } from "./clickGuard-FrlnECMp.js";
4
+ import { a as realmValue, i as subscribeInput, l as sharedWeakMap, o as sharedKey } from "./inputStream-LZdK8luP.js";
4
5
  import { b as isSpring, c as UIKIT_PAN, d as UIKIT_VELOCITY, f as registerScrollTable, h as motionRoleOf, l as UIKIT_PRESS, m as motionRoleIn, p as scroll, s as UIKIT_LONG_PRESS, u as UIKIT_TAP, v as registerMotionTable, y as registerSpringRole } from "./pressGesture-BzIBmKF2.js";
5
6
  import { o as pushLayer } from "./layerDepth-D3Rh8T5C.js";
6
7
  import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
7
8
  import { t as quietFinished } from "./quietFinished-CKZXgsPM.js";
8
- import { a as reducedMotionCrossFade, c as clearPresentedResolve, d as registerPresentedOffset, f as resolvePresented, h as themeReducesMotion, i as cubicBezier, l as presentedElements, m as writePresentedResolve, n as createAnimatedLayout, o as registerReducedMotionCrossFade, p as watchPresentedElements, u as presentedOffsetOf } from "./handle-CSHfxBie.js";
9
+ import { a as reducedMotionCrossFade, c as clearPresentedResolve, d as registerPresentedOffset, f as resolvePresented, h as themeReducesMotion, i as cubicBezier, l as presentedElements, m as writePresentedResolve, n as createAnimatedLayout, o as registerReducedMotionCrossFade, p as watchPresentedElements, u as presentedOffsetOf } from "./handle-ma1yF_B_.js";
9
10
  import { n as isDevBuild } from "./devBuild-G249YcdZ.js";
10
11
  import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
11
12
  import { t as isApplePlatform } from "./isApplePlatform-B1ju6F5B.js";
13
+ import { a as isIosWebKit, r as watchCoarsePointer, t as isCoarsePointer } from "./coarsePointer-BfMx3H23.js";
12
14
  import { n as isRtlElement } from "./useListFocus-CkHfsZp0.js";
15
+ import { t as holdsTouch } from "./touchHold-CFJlSClt.js";
13
16
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
14
17
  import { t as _sfc_main$1 } from "./Kbd-CbD993ig.js";
15
18
  import { t as keyboardHintMessages } from "./keyboard-hint-KWx0-7kD.js";
@@ -5315,37 +5318,6 @@ function isPrimaryClick(event) {
5315
5318
  return event.button === 0 && !(event.ctrlKey && isApplePlatform());
5316
5319
  }
5317
5320
  //#endregion
5318
- //#region src/utils/touchQueries.ts
5319
- /**
5320
- * @file touchQueries.ts
5321
- * @input Nothing: plain strings
5322
- * @output TOUCH_QUERY, the media query for a coarse primary pointer; and
5323
- * IOS_SUPPORTS_QUERY with isIosWebKit, the iOS WebKit engine check
5324
- * @position The dependency-free half of touchPresentation.ts, for code that
5325
- * must load without React or the theme: the motion foundation, which
5326
- * Node-side specs and browser proofs load without a StyleX compile.
5327
- * touchPresentation.ts re-exports it beside the hook and the parts that
5328
- * read the theme.
5329
- */
5330
- /** The primary pointer is coarse: touch behaviours. */
5331
- const TOUCH_QUERY = "(pointer: coarse)";
5332
- /**
5333
- * The engine is WebKit on iOS or iPadOS: the only one that implements
5334
- * `-webkit-touch-callout`. For a style iOS WebKit requires, never a
5335
- * behaviour; isIosWebKit reads it for an engine workaround a record names.
5336
- */
5337
- const IOS_SUPPORTS_QUERY = "(-webkit-touch-callout: none)";
5338
- /**
5339
- * Whether `view`'s engine is iOS WebKit, by IOS_SUPPORTS_QUERY. Only for an
5340
- * engine workaround a record names (`spec:AST-013` FR6): the selection
5341
- * lock's inline style, and the gesture host's presented hit testing. The
5342
- * keyboard's rise and its scroll back from the blur read it too. False where
5343
- * `CSS.supports` is missing (jsdom has `CSS.escape` only).
5344
- */
5345
- function isIosWebKit(view = globalThis) {
5346
- return view?.CSS?.supports?.(IOS_SUPPORTS_QUERY) === true;
5347
- }
5348
- //#endregion
5349
5321
  //#region src/utils/selectionLock.ts
5350
5322
  /**
5351
5323
  * @file selectionLock.ts
@@ -5853,60 +5825,6 @@ function lockDragSelection(elements, view, kept, onReleased) {
5853
5825
  return release;
5854
5826
  }
5855
5827
  //#endregion
5856
- //#region src/utils/coarsePointer.ts
5857
- /**
5858
- * @file coarsePointer.ts
5859
- * @input A window
5860
- * @output Exports isCoarsePointer, matchesMediaQuery, watchCoarsePointer and
5861
- * watchMediaQuery: whether the primary pointer is coarse (TOUCH_QUERY) or
5862
- * any media query matches, and when either changes
5863
- * @position The coarse-pointer gate of packages/core/src/gestures and of
5864
- * the press controller (pressFeedback.ts): touch-only work registers only
5865
- * while it holds. useMediaQuery and the presentation resolvers read and
5866
- * watch through matchesMediaQuery and watchMediaQuery
5867
- *
5868
- * Under a coarse primary pointer, a phone's touch work stays registered: the
5869
- * gesture host's page listeners, the page hold and the finger scroll. Under a
5870
- * fine one, recognizers still attach, and the host listens on the page only
5871
- * during a press (AST-094). The answer can change while the page is open (a
5872
- * tablet docking a mouse), so a holder watches it.
5873
- *
5874
- * SYNC: When modified, update coarsePointer.test.ts.
5875
- */
5876
- /** Whether the primary pointer of `view` is coarse now. */
5877
- function isCoarsePointer(view) {
5878
- return matchesMediaQuery(view, TOUCH_QUERY);
5879
- }
5880
- /**
5881
- * Whether `query` matches in `view` now. False where `view` has no
5882
- * `matchMedia`, as in a test DOM.
5883
- */
5884
- function matchesMediaQuery(view, query) {
5885
- return typeof view?.matchMedia === "function" && view.matchMedia(query).matches;
5886
- }
5887
- /**
5888
- * Call `listener` with the new answer each time `query` starts or stops
5889
- * matching in `view`, until the returned function is called.
5890
- */
5891
- function watchMediaQuery(view, query, listener) {
5892
- if (typeof view?.matchMedia !== "function") return () => {};
5893
- const list = view.matchMedia(query);
5894
- const onChange = () => listener(list.matches);
5895
- if (typeof list.addEventListener === "function") {
5896
- list.addEventListener("change", onChange);
5897
- return () => list.removeEventListener("change", onChange);
5898
- }
5899
- list.addListener(onChange);
5900
- return () => list.removeListener(onChange);
5901
- }
5902
- /**
5903
- * Call `listener` with the new answer each time the primary pointer of
5904
- * `view` turns coarse or fine, until the returned function is called.
5905
- */
5906
- function watchCoarsePointer(view, listener) {
5907
- return watchMediaQuery(view, TOUCH_QUERY, listener);
5908
- }
5909
- //#endregion
5910
5828
  //#region src/gestures/wheelSegmenter.ts
5911
5829
  /** Momentum arrives at frame rate: a pause this long ends it. */
5912
5830
  const MOMENTUM_GAP_MS = 50;
@@ -7364,27 +7282,6 @@ function createNativeScrollProbe(target, { readsTouchAction = true } = {}) {
7364
7282
  };
7365
7283
  }
7366
7284
  //#endregion
7367
- //#region src/gestures/touchHold.ts
7368
- /**
7369
- * @file touchHold.ts
7370
- * @input The holds a layer places on input while it animates or shields
7371
- * what is beneath it
7372
- * @output registerTouchHold, which adds a hold's read, and holdsTouch, the
7373
- * gesture host's one question: whether a touch on a target is held
7374
- * @position The seam between the gesture host and a layer's input hold
7375
- * (upstream Layer/inputHold `holdsTouch`): a layer registers its read, and
7376
- * the host asks before it gives a touch to any recognizer
7377
- *
7378
- * A held touch reaches no recognizer: the host drops it as it lands. With
7379
- * no hold registered, every touch passes, at once.
7380
- */
7381
- const holds = sharedState("gestures/touch-hold", 1, () => /* @__PURE__ */ new Set());
7382
- /** Whether any registered hold takes a touch on `target`. */
7383
- function holdsTouch(target) {
7384
- for (const query of holds) if (query(target)) return true;
7385
- return false;
7386
- }
7387
- //#endregion
7388
7285
  //#region src/gestures/hostHitTest.ts
7389
7286
  /** Presented hit testing, click retargeting, and the participants a contact meets; GestureHost is the class to use. */
7390
7287
  var HostHitTest = class extends HostInstall {
@@ -1,6 +1,6 @@
1
1
  import { t as quietFinished } from "./quietFinished-CKZXgsPM.js";
2
- import { r as readArea, t as areaOf } from "./handle-CSHfxBie.js";
3
- import { D as glides, _ as safeAnimate, d as layoutMotion, h as beginChange, m as sampleOver, p as sampleKeyframes, r as changeStartIn } from "./batch-oTkSbtVz.js";
2
+ import { r as readArea, t as areaOf } from "./handle-ma1yF_B_.js";
3
+ import { D as glides, _ as safeAnimate, d as layoutMotion, h as beginChange, m as sampleOver, p as sampleKeyframes, r as changeStartIn } from "./batch-DR5SgbnX.js";
4
4
  import { computed, inject, ref } from "vue";
5
5
  //#region src/motion/inertClone.ts
6
6
  /**
@@ -1,4 +1,4 @@
1
- import { C as ownScaleOf, D as glides, T as visibleRect, f as round, o as bandFor, u as takesPart, w as scaleOf } from "./batch-oTkSbtVz.js";
1
+ import { C as ownScaleOf, D as glides, T as visibleRect, f as round, o as bandFor, u as takesPart, w as scaleOf } from "./batch-DR5SgbnX.js";
2
2
  //#region src/motion/layout/edge.ts
3
3
  /** Whether `element` lays its inline axis out right to left. */
4
4
  function isRtl(element) {
@@ -1,7 +1,7 @@
1
- import { a as sharedWeakMap } from "./sharedRealm-H1OrlP0V.js";
2
- import { t as areaOf } from "./handle-CSHfxBie.js";
3
- import { D as glides, O as numbersIn, T as visibleRect, _ as safeAnimate, d as layoutMotion, i as changeStartOf, m as sampleOver, n as batches, p as sampleKeyframes, u as takesPart, v as retimeSettle, w as scaleOf, x as intersects } from "./batch-oTkSbtVz.js";
4
- import { a as isRtl, c as slideFrame, i as holdSlideClip, l as slidingParts, n as fractionClip, o as previousInFlow, r as glideMoving, s as pxClip, t as extentOf } from "./edge-3sC8-cbB.js";
1
+ import { l as sharedWeakMap } from "./inputStream-LZdK8luP.js";
2
+ import { t as areaOf } from "./handle-ma1yF_B_.js";
3
+ import { D as glides, O as numbersIn, T as visibleRect, _ as safeAnimate, d as layoutMotion, i as changeStartOf, m as sampleOver, n as batches, p as sampleKeyframes, u as takesPart, v as retimeSettle, w as scaleOf, x as intersects } from "./batch-DR5SgbnX.js";
4
+ import { a as isRtl, c as slideFrame, i as holdSlideClip, l as slidingParts, n as fractionClip, o as previousInFlow, r as glideMoving, s as pxClip, t as extentOf } from "./edge-qfeek_VV.js";
5
5
  //#region src/motion/layout/playChange.ts
6
6
  /** Each part's slide, by its motion: a stopped slide is no glide. */
7
7
  const slideTargets = sharedWeakMap("motion/animated-layout/slide-targets", 1);
@@ -73,52 +73,4 @@ function shadowRootsOutward(node) {
73
73
  return roots;
74
74
  }
75
75
  //#endregion
76
- //#region src/utils/sharedRealm.ts
77
- /**
78
- * 对应原版 Astryx 的 `utils/sharedRealm`。
79
- *
80
- * 整个 JavaScript 运行环境里按键共享一份值:页面上同时加载了两份 core(比如包本身和一份复制进项目的副本)时,
81
- * 两边拿同一个键读到的是同一份值。不碰 DOM,服务端也能用。
82
- */
83
- /**
84
- * 共享值的注册键。版本号表示值的形状:形状变了、旧副本读不懂新值时就升版本,
85
- * 两边各用各的。
86
- */
87
- function sharedKey(name, version) {
88
- return Symbol.for(`@astryx-vue/core/${name}/v${version}`);
89
- }
90
- /**
91
- * `key` 下的共享值,第一次用时创建。
92
- * `accepts` 防键撞车:它不认的值原样留着,这一份自己另建一个。
93
- */
94
- function realmValue(key, create, accepts = () => true) {
95
- const realm = globalThis;
96
- if (Object.hasOwn(realm, key)) {
97
- const existing = realm[key];
98
- return accepts(existing) ? existing : create();
99
- }
100
- const value = create();
101
- realm[key] = value;
102
- return value;
103
- }
104
- /**
105
- * 按注册名在整页共享一份值:计数器、开关,或装着几样东西的对象。
106
- * 名字写成 `<目录>/<文件>/<绑定名>`(短横线小写),值的形状变了就升版本。
107
- */
108
- function sharedState(name, version, create) {
109
- return realmValue(sharedKey(name, version), create);
110
- }
111
- /** 按注册名共享的 Map。 */
112
- function sharedMap(name, version) {
113
- return sharedState(name, version, () => /* @__PURE__ */ new Map());
114
- }
115
- /** 按注册名共享的 WeakMap,例如按文档存的状态。 */
116
- function sharedWeakMap(name, version) {
117
- return sharedState(name, version, () => /* @__PURE__ */ new WeakMap());
118
- }
119
- /** 按注册名共享的 WeakSet,例如登记过的值。 */
120
- function sharedWeakSet(name, version) {
121
- return sharedState(name, version, () => /* @__PURE__ */ new WeakSet());
122
- }
123
- //#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 };
76
+ export { shadowRootsOutward as a, isHTMLElement as c, shadowHostOf as i, isNode as l, deepActiveElement as n, isDocument as o, parentAcrossShadow as r, isElement as s, containsAlongFlatTree as t };
@@ -1,4 +1,5 @@
1
- import { l as parentAcrossShadow, n as sharedKey, p as isElement, t as realmValue } from "./sharedRealm-H1OrlP0V.js";
1
+ import { r as parentAcrossShadow, s as isElement } from "./flatTree-BB4yPMNL.js";
2
+ import { a as realmValue, o as sharedKey } from "./inputStream-LZdK8luP.js";
2
3
  import { v as registerMotionTable } from "./pressGesture-BzIBmKF2.js";
3
4
  //#region src/motion/reducedMotionMark.ts
4
5
  /**