@astryx-vue/core 0.23.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 (304) 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.d.ts +2 -2
  18. package/dist/Breadcrumbs/index.js +2 -2
  19. package/dist/{Breadcrumbs-mlCoLtma.js → Breadcrumbs-D-nHDHV8.js} +1 -1
  20. package/dist/Button/index.d.ts +1 -1
  21. package/dist/Button/index.js +1 -1
  22. package/dist/{Button-TiYG0btL.js → Button-D8AGK5oT.js} +3 -3
  23. package/dist/ButtonGroup/index.d.ts +1 -1
  24. package/dist/ButtonGroup/index.js +1 -1
  25. package/dist/{ButtonGroup-DNN4O9_-.js → ButtonGroup-CUN_rC57.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-DsXup1mZ.js → Carousel-DrCG9wbP.js} +1 -1
  30. package/dist/Chat/index.d.ts +1 -1
  31. package/dist/Chat/index.js +1 -1
  32. package/dist/{Chat-DqYT_S9M.js → Chat-U1qq8gkF.js} +3 -3
  33. package/dist/CheckboxInput/index.d.ts +1 -1
  34. package/dist/CheckboxInput/index.js +1 -1
  35. package/dist/{CheckboxInput-BNwTTDHu.js → CheckboxInput-qm6lkjAw.js} +17 -7
  36. package/dist/CheckboxList/index.d.ts +1 -1
  37. package/dist/CheckboxList/index.js +1 -1
  38. package/dist/{CheckboxList-BLY16jPG.js → CheckboxList-DuCKhJHJ.js} +22 -7
  39. package/dist/ClickableCard/index.d.ts +1 -1
  40. package/dist/ClickableCard/index.js +1 -1
  41. package/dist/{ClickableCard-CVQ7XS4L.js → ClickableCard-CwGxO0GU.js} +2 -2
  42. package/dist/Code/index.js +1 -1
  43. package/dist/{CodeBlock-5KoJDvWd.js → CodeBlock-PMZd9dQ9.js} +1 -1
  44. package/dist/Collapsible/index.d.ts +1 -1
  45. package/dist/Collapsible/index.js +1 -1
  46. package/dist/{Collapsible-B1qW6OuL.js → Collapsible-BmUloCSR.js} +3 -3
  47. package/dist/CommandPalette/index.d.ts +1 -1
  48. package/dist/CommandPalette/index.js +1 -1
  49. package/dist/{CommandPalette-B2riNg_7.js → CommandPalette-Cy7trpD3.js} +2 -2
  50. package/dist/ComplexSelector/index.js +1 -1
  51. package/dist/{ComplexSelector-CVCIsgAU.js → ComplexSelector-DMBiVQWp.js} +3 -3
  52. package/dist/ContextMenu/index.d.ts +2 -2
  53. package/dist/ContextMenu/index.js +2 -2
  54. package/dist/{ContextMenu-DYLdP-Ok.js → ContextMenu-63ay7EE-.js} +13 -26
  55. package/dist/DateInput/index.d.ts +1 -1
  56. package/dist/DateInput/index.js +1 -1
  57. package/dist/{DateInput-D9Jv70H7.js → DateInput-B3Q91FDT.js} +3 -3
  58. package/dist/DateRangeInput/index.d.ts +1 -1
  59. package/dist/DateRangeInput/index.js +1 -1
  60. package/dist/{DateRangeInput-BsB2kg_q.js → DateRangeInput-B6Z66OsH.js} +3 -3
  61. package/dist/DateTimeInput/index.d.ts +1 -1
  62. package/dist/DateTimeInput/index.js +1 -1
  63. package/dist/{DateTimeInput-BDyKPKGD.js → DateTimeInput-B_7cn7ze.js} +5 -5
  64. package/dist/Dialog/index.d.ts +1 -1
  65. package/dist/Dialog/index.js +3 -3
  66. package/dist/{Dialog-JCB5s-T-.js → Dialog-C4FZ7p7Q.js} +10 -0
  67. package/dist/{Dialog-DUlWQH8R.js → Dialog-CBPD5b-S.js} +1 -1
  68. package/dist/{DialogHeader-C6hZZxdv.js → DialogHeader-CQ3pnLYi.js} +2 -2
  69. package/dist/Divider/index.d.ts +1 -1
  70. package/dist/Drawer/index.d.ts +1 -1
  71. package/dist/Drawer/index.js +1 -1
  72. package/dist/{Drawer-BDuiw1-g.js → Drawer-BOwQLKm9.js} +2 -2
  73. package/dist/DropdownMenu/index.d.ts +2 -2
  74. package/dist/DropdownMenu/index.js +3 -3
  75. package/dist/{DropdownMenu-PjqSkkQs.js → DropdownMenu-9CR9TiKG.js} +5 -5
  76. package/dist/{DropdownMenu-BVEOMFwc.js → DropdownMenu-DwIfoTnV.js} +18 -18
  77. package/dist/{DropdownMenuRadioItem.vue-C9DdN6UE.d.ts → DropdownMenuRadioItem.vue-DINRx71W.d.ts} +1 -1
  78. package/dist/EmptyState/index.js +1 -1
  79. package/dist/{EmptyState-CnFkYtcS.js → EmptyState-BG5g2jwJ.js} +3 -3
  80. package/dist/Field/index.js +3 -3
  81. package/dist/{Field-D4UmRHlD.js → Field-eAowUUMX.js} +1 -1
  82. package/dist/{FieldInfoTip-BSqcEcUx.js → FieldInfoTip-Dwl9HNp1.js} +1 -1
  83. package/dist/{FieldLabel-CZbayYFD.js → FieldLabel-CgYk-ORu.js} +1 -1
  84. package/dist/FileInput/index.d.ts +1 -1
  85. package/dist/FileInput/index.js +1 -1
  86. package/dist/{FileInput-8oYiJsq_.js → FileInput-B7zeePbM.js} +2 -2
  87. package/dist/Heading/index.js +1 -1
  88. package/dist/{Heading-COtyAhtB.js → Heading-B1dNZQtu.js} +1 -1
  89. package/dist/HoverCard/index.d.ts +1 -1
  90. package/dist/HoverCard/index.js +1 -1
  91. package/dist/{HoverCard-DGlOpk4x.js → HoverCard-CZhfsvP4.js} +2 -2
  92. package/dist/IconButton/index.js +1 -1
  93. package/dist/{IconButton-CwjHTIBg.js → IconButton-D9ZRJ7vD.js} +1 -1
  94. package/dist/InfoTip/index.d.ts +1 -1
  95. package/dist/InfoTip/index.js +1 -1
  96. package/dist/{InfoTip-CNZateDb.js → InfoTip-LJi9llxi.js} +2 -2
  97. package/dist/{InputClearButton-CzCP41sx.js → InputClearButton-C-j9Nf1s.js} +1 -1
  98. package/dist/InputGroup/index.js +1 -1
  99. package/dist/{InputGroup-CfUGHDNz.js → InputGroup-B8PGJZKH.js} +1 -1
  100. package/dist/{Item-CzKm9wxQ.js → Item-DUI1Qnnd.js} +2 -2
  101. package/dist/Lightbox/index.js +1 -1
  102. package/dist/{Lightbox-Dzzd2Vqe.js → Lightbox-BOWTHnTb.js} +1 -1
  103. package/dist/Link/index.d.ts +1 -1
  104. package/dist/Link/index.js +1 -1
  105. package/dist/{Link-B7OJQ0zl.js → Link-B75ygGzG.js} +2 -2
  106. package/dist/List/index.d.ts +2 -2
  107. package/dist/List/index.js +2 -2
  108. package/dist/{ListItem-Bc4snKv8.js → ListItem-C8SqSrU6.js} +4 -1
  109. package/dist/Markdown/index.js +1 -1
  110. package/dist/{Markdown-Cbj-nqhN.js → Markdown-Cqrcj-ct.js} +3 -3
  111. package/dist/MobileNav/index.js +1 -1
  112. package/dist/{MobileNavToggle-BlcdCg8M.js → MobileNavToggle-DLpEONfs.js} +12 -0
  113. package/dist/MoreMenu/index.d.ts +1 -1
  114. package/dist/MoreMenu/index.js +1 -1
  115. package/dist/{MoreMenu-DAhOiau3.js → MoreMenu-aR88r9xp.js} +17 -31
  116. package/dist/MultiSelector/index.d.ts +1 -1
  117. package/dist/MultiSelector/index.js +1 -1
  118. package/dist/{MultiSelector-ERv5u6r4.js → MultiSelector-UTaDe-YT.js} +23 -24
  119. package/dist/{NavDisclosure-CqAThYgR.js → NavDisclosure-B66SHKdd.js} +1 -1
  120. package/dist/{NavHeadingSurface-DJ4pWvEi.js → NavHeadingSurface-BZCzkCPJ.js} +1 -1
  121. package/dist/NavItem/index.js +1 -1
  122. package/dist/{NavItem-CB3loauj.js → NavItem-c1ScHEJY.js} +2 -2
  123. package/dist/NavMenu/index.js +3 -3
  124. package/dist/{NavMenu-BtA_Xbmr.js → NavMenu-DS6y8ZAY.js} +2 -2
  125. package/dist/{NavMenuItem-BxfjAf1T.js → NavMenuItem-BqIi3o3D.js} +3 -3
  126. package/dist/NumberInput/index.d.ts +1 -1
  127. package/dist/NumberInput/index.js +1 -1
  128. package/dist/{NumberInput-Bl5TFhGD.js → NumberInput-ClkOGF5j.js} +3 -3
  129. package/dist/Outline/index.js +1 -1
  130. package/dist/{Outline-NuPQMjxw.js → Outline-DvQbXc_H.js} +1 -1
  131. package/dist/OverflowList/index.d.ts +1 -1
  132. package/dist/OverflowList/index.js +1 -1
  133. package/dist/{OverflowList-CumJl6X_.js → OverflowList-UnVXBDIW.js} +2 -2
  134. package/dist/Pagination/index.d.ts +1 -1
  135. package/dist/Pagination/index.js +1 -1
  136. package/dist/{Pagination-DuTUReOl.js → Pagination-CTCLE02h.js} +2 -2
  137. package/dist/Popover/index.d.ts +1 -1
  138. package/dist/Popover/index.js +1 -1
  139. package/dist/{Popover-DpR4rwiW.js → Popover-CZvRSqqD.js} +3 -3
  140. package/dist/PowerSearch/index.d.ts +1 -1
  141. package/dist/PowerSearch/index.js +1 -1
  142. package/dist/{PowerSearch-CewQJzEt.js → PowerSearch-BBOum0TP.js} +17 -17
  143. package/dist/ProgressBar/index.d.ts +1 -1
  144. package/dist/ProgressBar/index.js +1 -1
  145. package/dist/{ProgressBar-Dp-0xquN.js → ProgressBar-Bgg6zsKR.js} +1 -1
  146. package/dist/Radio/index.d.ts +1 -1
  147. package/dist/Radio/index.js +1 -1
  148. package/dist/{RadioGroup-DrCL5-AN.js → RadioGroup-DPy5JQhm.js} +31 -9
  149. package/dist/RadioList/index.d.ts +1 -1
  150. package/dist/RadioList/index.js +1 -1
  151. package/dist/{RadioList-CRi4E1zq.js → RadioList-UN7IxQg8.js} +4 -1
  152. package/dist/Resizable/index.d.ts +1 -1
  153. package/dist/ScrollableArea/index.d.ts +1 -1
  154. package/dist/SegmentedControl/index.d.ts +1 -1
  155. package/dist/SegmentedControl/index.js +1 -1
  156. package/dist/{SegmentedControl-DFUYTOVH.js → SegmentedControl-BkWz-I2J.js} +73 -6
  157. package/dist/SelectableCard/index.d.ts +1 -1
  158. package/dist/SelectableCard/index.js +1 -1
  159. package/dist/{SelectableCard-Dp-LsEcf.js → SelectableCard-GRWYx3iD.js} +1 -1
  160. package/dist/Selector/index.d.ts +1 -1
  161. package/dist/Selector/index.js +1 -1
  162. package/dist/{Selector-D6yzPO5O.js → Selector-CCtsUveZ.js} +28 -23
  163. package/dist/SideNav/index.d.ts +1 -1
  164. package/dist/SideNav/index.js +2 -2
  165. package/dist/{SideNav-z_6FwEJy.js → SideNav-COl5ApOz.js} +9 -9
  166. package/dist/Slider/index.js +1 -1
  167. package/dist/{Slider-DMHlRq7q.js → Slider-CYie9hWm.js} +66 -22
  168. package/dist/Stack/index.d.ts +1 -1
  169. package/dist/StatusDot/index.js +1 -1
  170. package/dist/{StatusDot-B3oOyRF7.js → StatusDot-CHfgSYmv.js} +1 -1
  171. package/dist/Stepper/index.d.ts +1 -1
  172. package/dist/Stepper/index.js +1 -1
  173. package/dist/{Stepper-CgOdL36_.js → Stepper-CCuggsov.js} +1 -1
  174. package/dist/Switch/index.d.ts +1 -1
  175. package/dist/Switch/index.js +1 -1
  176. package/dist/{Switch-OPRkoPLi.js → Switch-D24CvhDS.js} +7 -4
  177. package/dist/TabList/index.d.ts +1 -1
  178. package/dist/TabList/index.js +1 -1
  179. package/dist/{TabList-FkoypUk0.js → TabList-DToCh5JW.js} +3 -3
  180. package/dist/Table/index.d.ts +1 -1
  181. package/dist/Table/index.js +1 -1
  182. package/dist/{Table-CCjpL_Ku.js → Table-D3mzxBr0.js} +13 -13
  183. package/dist/Text/index.js +1 -1
  184. package/dist/{Text-v1ep26uD.js → Text-5p-eZodt.js} +1 -1
  185. package/dist/TextArea/index.d.ts +1 -1
  186. package/dist/TextArea/index.js +1 -1
  187. package/dist/{TextArea-BilHnmSs.js → TextArea-Bp6D-riO.js} +4 -4
  188. package/dist/TextInput/index.d.ts +1 -1
  189. package/dist/TextInput/index.js +1 -1
  190. package/dist/{TextInput-D6tHM2sA.js → TextInput-BYslwBDZ.js} +4 -4
  191. package/dist/Thumbnail/index.js +1 -1
  192. package/dist/{Thumbnail-llGdnQM8.js → Thumbnail-B_a8tOS7.js} +3 -3
  193. package/dist/{TimeField-C5rcoaVu.js → TimeField-MDSJny9m.js} +3 -3
  194. package/dist/TimeInput/index.d.ts +1 -1
  195. package/dist/TimeInput/index.js +1 -1
  196. package/dist/{TimeInput-D0N8nwrI.js → TimeInput-B19amuxi.js} +2 -2
  197. package/dist/Timer/index.d.ts +1 -1
  198. package/dist/Timer/index.js +1 -1
  199. package/dist/{Timer-65PfuoQ7.js → Timer-BD3tfzrF.js} +1 -1
  200. package/dist/Timestamp/index.d.ts +1 -1
  201. package/dist/Timestamp/index.js +1 -1
  202. package/dist/{Timestamp-rYC8mE3r.js → Timestamp-CqWoZUKM.js} +3 -3
  203. package/dist/Toast/index.js +1 -1
  204. package/dist/{Toast-BtQ-4Y6Z.js → Toast-BKPl8iIr.js} +1 -1
  205. package/dist/ToggleButton/index.d.ts +1 -1
  206. package/dist/ToggleButton/index.js +1 -1
  207. package/dist/{ToggleButton-DTrNL430.js → ToggleButton-DfpsuhMa.js} +12 -6
  208. package/dist/Token/index.d.ts +1 -1
  209. package/dist/Token/index.js +1 -1
  210. package/dist/{Token-CPNzkSj3.js → Token-C7Dt5ygK.js} +2 -2
  211. package/dist/Tokenizer/index.d.ts +1 -1
  212. package/dist/Tokenizer/index.js +1 -1
  213. package/dist/{Tokenizer-DdddkJb1.js → Tokenizer-C-eorFsF.js} +5 -5
  214. package/dist/Toolbar/index.d.ts +1 -1
  215. package/dist/Tooltip/index.d.ts +1 -1
  216. package/dist/Tooltip/index.js +2 -2
  217. package/dist/{Tooltip-CByjfHBZ.js → Tooltip-88zhGfzF.js} +1 -1
  218. package/dist/TopNav/index.d.ts +1 -1
  219. package/dist/TopNav/index.js +1 -1
  220. package/dist/{TopNav-C1wpttKX.js → TopNav-DMFIsFwy.js} +5 -5
  221. package/dist/TreeList/index.d.ts +1 -1
  222. package/dist/TreeList/index.js +1 -1
  223. package/dist/{TreeList-DOAcS3PM.js → TreeList-nU2gSmQm.js} +4 -4
  224. package/dist/Typeahead/index.js +2 -2
  225. package/dist/{Typeahead-6y_r-VNU.js → Typeahead-DUQfmy_r.js} +5 -5
  226. package/dist/{assertOptions-og3t30Fh.js → assertOptions-DVRsfCk1.js} +22 -2
  227. package/dist/{batch-oTkSbtVz.js → batch-DR5SgbnX.js} +2 -2
  228. package/dist/{clickGuard-ChKuogmR.js → clickGuard-FrlnECMp.js} +1 -2
  229. package/dist/coarsePointer-BfMx3H23.js +86 -0
  230. package/dist/composables/index.js +6 -6
  231. package/dist/{composables-COCeg92e.js → composables-Do86VAmM.js} +7 -110
  232. package/dist/{context-DQPBIsl5.js → context-WY1ippwe.js} +2 -2
  233. package/dist/{disabledInteraction-CPzL8kVP.js → disabledInteraction-Bqoyhoss.js} +9 -1
  234. package/dist/{edge-3sC8-cbB.js → edge-qfeek_VV.js} +1 -1
  235. package/dist/{edgeRide-DOxmVxTM.js → edgeRide-iWUNdlxe.js} +4 -4
  236. package/dist/{sharedRealm-H1OrlP0V.js → flatTree-BB4yPMNL.js} +1 -49
  237. package/dist/{handle-CSHfxBie.js → handle-ma1yF_B_.js} +2 -1
  238. package/dist/holdEntranceInput-DjEzfGRU.js +523 -0
  239. package/dist/{index-beOIC0Qk.d.ts → index-0RIgvtdm.d.ts} +1 -1
  240. package/dist/{index-ZT45ZWd5.d.ts → index-B52PMrO7.d.ts} +8 -8
  241. package/dist/{index-Dc6mU3rv.d.ts → index-B63NOJRc.d.ts} +1 -1
  242. package/dist/{index-X4S7_dmq.d.ts → index-BA8exXNP.d.ts} +1 -1
  243. package/dist/{index-BB9acgK8.d.ts → index-BgT6mH3U.d.ts} +1 -1
  244. package/dist/{index-nk2xIHpr.d.ts → index-BhdxP-OG.d.ts} +3 -3
  245. package/dist/{index-B5MCvW75.d.ts → index-BjmMJ_4E.d.ts} +65 -49
  246. package/dist/{index-CpLLSVCn.d.ts → index-BtgkNd0Q.d.ts} +4 -4
  247. package/dist/{index-CP-fJFcJ.d.ts → index-BxWCX2pJ.d.ts} +2 -2
  248. package/dist/{index-51CkIKnI.d.ts → index-C93nwgTW.d.ts} +1 -1
  249. package/dist/{index-BJputYk6.d.ts → index-CH-xSiJz.d.ts} +3 -3
  250. package/dist/{index-C4S65SAW.d.ts → index-CKnr0JlT.d.ts} +1 -1
  251. package/dist/{index-B-3EGjfQ.d.ts → index-CO9GW-ik.d.ts} +1 -1
  252. package/dist/{index-BaFphczL.d.ts → index-COgrQZIL.d.ts} +1 -1
  253. package/dist/{index-GgHVkJtB.d.ts → index-CRtGmCHi.d.ts} +1 -1
  254. package/dist/{index-CBOv5j3c.d.ts → index-CbA8rR_b.d.ts} +1 -1
  255. package/dist/{index-DXHmlFcC.d.ts → index-CuW4AQ7M.d.ts} +3 -3
  256. package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
  257. package/dist/{index-BlhbRf58.d.ts → index-DDVCVpnG.d.ts} +1 -1
  258. package/dist/{index-MvrDMqnQ.d.ts → index-DYabo8TI.d.ts} +1 -1
  259. package/dist/{index-SRA6e30Q.d.ts → index-Dcxqzk_d.d.ts} +8 -8
  260. package/dist/{index-Cb-rvc1W.d.ts → index-DofC9Rll.d.ts} +1 -1
  261. package/dist/{index-B6svLvfZ.d.ts → index-Qdbssopn.d.ts} +1 -1
  262. package/dist/{index-NOxH5oYj.d.ts → index-etx25Eq-.d.ts} +1 -1
  263. package/dist/{index-B3U6GJKl.d.ts → index-lmd9LZKB.d.ts} +1 -1
  264. package/dist/{index-C9uW39Mj.d.ts → index-mK1ICsVg.d.ts} +3 -3
  265. package/dist/{index-ql9ApSTF.d.ts → index-yQc-te9a.d.ts} +2 -2
  266. package/dist/index.d.ts +30 -30
  267. package/dist/index.js +95 -95
  268. package/dist/inputStream-LZdK8luP.js +239 -0
  269. package/dist/{landing-DFC97kl9.js → landing-qVsYAZ-v.js} +2 -2
  270. package/dist/{pressFeedback-CEUPQWIS.js → pressFeedback-DVR5V1b6.js} +3 -164
  271. package/dist/{stillPointerGate-1Tgkns0J.js → stillPointerGate-D3loXLh7.js} +1 -1
  272. package/dist/{tooltipFocusRules-vIH7PZh1.js → tooltipFocusRules-CFNKWzYn.js} +1 -1
  273. package/dist/{tooltipTriggerRules-DoBAbfGc.js → tooltipTriggerRules-DyPyWOdP.js} +1 -1
  274. package/dist/touchHold-CFJlSClt.js +30 -0
  275. package/dist/{types-Dxs5rf-2.d.ts → types-Gw2OjSK9.d.ts} +9 -9
  276. package/dist/{useActionGroupTracking-PVBCtLUE.js → useActionGroupTracking-C6BzQzvp.js} +2 -2
  277. package/dist/{useDismiss-CMIsdIOQ.js → useDismiss-C7_S7qUA.js} +87 -5
  278. package/dist/useHeldPresentation-fQsuYFhz.js +126 -0
  279. package/dist/{useInputStatusIcon-CrgeMzrf.js → useInputStatusIcon-BFw-EXjJ.js} +1 -1
  280. package/dist/{useMenuDrillIn-f3m-59Qb.js → useMenuDrillIn-CDn2na4X.js} +9 -8
  281. package/dist/{useMenuPress-wqRDvUMW.js → useMenuPress-CxUqSUZ9.js} +2 -2
  282. package/dist/{usePressFeedback-aufF1sCH.js → usePressFeedback-BhNcuxQv.js} +1 -1
  283. package/dist/{useTooltip-BwqzEtoF.js → useTooltip-CJHbG8Pv.js} +2 -2
  284. package/dist/{useTouchHitArea-BMDBe36j.js → useTouchHitArea-CNZyA18Y.js} +2 -2
  285. package/dist/{useTruncationTooltip-CRhoPzeu.js → useTruncationTooltip-BTcr1LCR.js} +3 -3
  286. package/dist/{useTypeaheadMenuConfig-GvdIymRg.js → useTypeaheadMenuConfig-DeDGVR8S.js} +1 -1
  287. package/package.json +1 -1
  288. package/styles/checkbox-list.css +5 -0
  289. package/styles/context-menu.css +17 -73
  290. package/styles/dialog.css +18 -1
  291. package/styles/hover-card.css +13 -72
  292. package/styles/layer.css +68 -0
  293. package/styles/multi-selector.css +17 -30
  294. package/styles/popover.css +13 -72
  295. package/styles/radio-indicator.css +2 -2
  296. package/styles/radio.css +25 -0
  297. package/styles/segmented-control.css +46 -1
  298. package/styles/selector.css +17 -30
  299. package/styles/slider.css +8 -2
  300. package/styles/switch.css +2 -1
  301. package/styles/toggle-button.css +3 -0
  302. package/styles/tooltip.css +12 -71
  303. package/styles/typeahead.css +17 -30
  304. package/dist/{index-BqhgeAT4.d.ts → index-CHx33xGa.d.ts} +2 -2
@@ -12,4 +12,9 @@
12
12
  .astryx-checkbox-list .astryx-checkbox-input {
13
13
  gap: 0;
14
14
  }
15
+
16
+ /* 行自己画按压,框里的复选框读行写在它身上的按压画面:手指落在行上任何地方,行和框一起亮。 */
17
+ .astryx-checkbox-list .astryx-item[data-astryx-press] .astryx-checkbox-indicator {
18
+ background-image: var(--_press-paint-image);
19
+ }
15
20
  }
@@ -1,53 +1,5 @@
1
1
  @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
2
 
3
- @keyframes astryx-context-menu-enter-below {
4
- from {
5
- opacity: 0;
6
- transform: translateY(calc(-1 * var(--astryx-spacing-2, 8px))) scale(0.96);
7
- }
8
-
9
- to {
10
- opacity: 1;
11
- transform: translateY(0) scale(1);
12
- }
13
- }
14
-
15
- @keyframes astryx-context-menu-enter-above {
16
- from {
17
- opacity: 0;
18
- transform: translateY(var(--astryx-spacing-2, 8px)) scale(0.96);
19
- }
20
-
21
- to {
22
- opacity: 1;
23
- transform: translateY(0) scale(1);
24
- }
25
- }
26
-
27
- @keyframes astryx-context-menu-enter-end {
28
- from {
29
- opacity: 0;
30
- transform: translateX(calc(-1 * var(--astryx-spacing-2, 8px))) scale(0.96);
31
- }
32
-
33
- to {
34
- opacity: 1;
35
- transform: translateX(0) scale(1);
36
- }
37
- }
38
-
39
- @keyframes astryx-context-menu-enter-start {
40
- from {
41
- opacity: 0;
42
- transform: translateX(var(--astryx-spacing-2, 8px)) scale(0.96);
43
- }
44
-
45
- to {
46
- opacity: 1;
47
- transform: translateX(0) scale(1);
48
- }
49
- }
50
-
51
3
  @keyframes astryx-context-menu-leave {
52
4
  from {
53
5
  opacity: 1;
@@ -146,32 +98,10 @@
146
98
  touch-action: pan-y pinch-zoom;
147
99
  }
148
100
 
149
- .astryx-context-menu[data-placement='below'] {
150
- animation-name: astryx-context-menu-enter-below;
151
- animation-fill-mode: backwards;
152
- }
153
-
154
- .astryx-context-menu[data-placement='above'] {
155
- animation-name: astryx-context-menu-enter-above;
156
- animation-fill-mode: backwards;
157
- }
158
-
159
- .astryx-context-menu[data-placement='end'] {
160
- animation-name: astryx-context-menu-enter-end;
101
+ .astryx-context-menu[data-placement] {
102
+ animation-name: astryx-layer-enter;
161
103
  animation-fill-mode: backwards;
162
- }
163
-
164
- .astryx-context-menu[data-placement='start'] {
165
- animation-name: astryx-context-menu-enter-start;
166
- animation-fill-mode: backwards;
167
- }
168
-
169
- [dir='rtl'] .astryx-context-menu[data-placement='end'] {
170
- animation-name: astryx-context-menu-enter-start;
171
- }
172
-
173
- [dir='rtl'] .astryx-context-menu[data-placement='start'] {
174
- animation-name: astryx-context-menu-enter-end;
104
+ transform-origin: var(--_astryx-layer-enter-origin, 50% 50%);
175
105
  }
176
106
 
177
107
  /* A leave keeps its final frame until Vue takes the element away. */
@@ -327,6 +257,20 @@
327
257
  }
328
258
  }
329
259
 
260
+ @media (prefers-reduced-motion: reduce) and (not (pointer: coarse)) {
261
+ .astryx-context-menu[data-placement]:not(.astryx-context-menu-leave-active, .astryx-context-menu-flyout-leave-active) {
262
+ animation: none;
263
+ }
264
+ }
265
+
266
+ @media (prefers-reduced-motion: reduce) and (pointer: coarse) {
267
+ .astryx-context-menu[data-placement]:not(.astryx-context-menu-leave-active, .astryx-context-menu-flyout-leave-active) {
268
+ animation-name: astryx-layer-fade-in;
269
+ animation-duration: var(--_astryx-reduced-motion-fade-duration, 200ms);
270
+ animation-timing-function: var(--_astryx-reduced-motion-fade-easing, cubic-bezier(0.42, 0, 0.58, 1));
271
+ }
272
+ }
273
+
330
274
  @media (forced-colors: active) {
331
275
  /* 强制配色会去掉阴影,阴影是这块浮层唯一的边,这里补一圈系统色边框。 */
332
276
  .astryx-context-menu {
package/styles/dialog.css CHANGED
@@ -1,5 +1,15 @@
1
1
  @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
2
 
3
+ @keyframes astryx-dialog-fade-in {
4
+ from {
5
+ opacity: 0;
6
+ }
7
+
8
+ to {
9
+ opacity: 1;
10
+ }
11
+ }
12
+
3
13
  @keyframes astryx-dialog-enter {
4
14
  from {
5
15
  opacity: 0;
@@ -115,12 +125,19 @@
115
125
  display: contents;
116
126
  }
117
127
 
118
- @media (prefers-reduced-motion: reduce) {
128
+ /* 减少动效时对话框不移动也不缩放:触屏上原地淡入(200ms 以内),用鼠标时直接出现。 */
129
+ @media (prefers-reduced-motion: reduce) and (not (pointer: coarse)) {
119
130
  .astryx-dialog[open] {
120
131
  animation: none;
121
132
  }
122
133
  }
123
134
 
135
+ @media (prefers-reduced-motion: reduce) and (pointer: coarse) {
136
+ .astryx-dialog[open] {
137
+ animation: astryx-dialog-fade-in var(--_astryx-reduced-motion-fade-duration, 200ms) var(--_astryx-reduced-motion-fade-easing, cubic-bezier(0.42, 0, 0.58, 1)) backwards;
138
+ }
139
+ }
140
+
124
141
  @media (forced-colors: active) {
125
142
  /* 强制配色会去掉阴影,遮罩颜色也由系统接管,对话框靠这圈边和页面分开。全屏对话框四周没有页面,不加。 */
126
143
  .astryx-dialog:not(.astryx-dialog--fullscreen) {
@@ -1,53 +1,5 @@
1
1
  @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
2
 
3
- @keyframes astryx-hover-card-enter-above {
4
- from {
5
- opacity: 0;
6
- transform: translateY(var(--astryx-spacing-2, 8px)) scale(0.95);
7
- }
8
-
9
- to {
10
- opacity: 1;
11
- transform: translateY(0) scale(1);
12
- }
13
- }
14
-
15
- @keyframes astryx-hover-card-enter-below {
16
- from {
17
- opacity: 0;
18
- transform: translateY(calc(-1 * var(--astryx-spacing-2, 8px))) scale(0.95);
19
- }
20
-
21
- to {
22
- opacity: 1;
23
- transform: translateY(0) scale(1);
24
- }
25
- }
26
-
27
- @keyframes astryx-hover-card-enter-start {
28
- from {
29
- opacity: 0;
30
- transform: translateX(var(--astryx-spacing-2, 8px)) scale(0.95);
31
- }
32
-
33
- to {
34
- opacity: 1;
35
- transform: translateX(0) scale(1);
36
- }
37
- }
38
-
39
- @keyframes astryx-hover-card-enter-end {
40
- from {
41
- opacity: 0;
42
- transform: translateX(calc(-1 * var(--astryx-spacing-2, 8px))) scale(0.95);
43
- }
44
-
45
- to {
46
- opacity: 1;
47
- transform: translateX(0) scale(1);
48
- }
49
- }
50
-
51
3
  @keyframes astryx-hover-card-leave-above {
52
4
  from {
53
5
  opacity: 1;
@@ -157,28 +109,9 @@
157
109
  animation-fill-mode: forwards;
158
110
  }
159
111
 
160
- .astryx-hover-card-enter-active[data-placement='above'] {
161
- animation-name: astryx-hover-card-enter-above;
162
- }
163
-
164
- .astryx-hover-card-enter-active[data-placement='below'] {
165
- animation-name: astryx-hover-card-enter-below;
166
- }
167
-
168
- .astryx-hover-card-enter-active[data-placement='start'] {
169
- animation-name: astryx-hover-card-enter-start;
170
- }
171
-
172
- .astryx-hover-card-enter-active[data-placement='end'] {
173
- animation-name: astryx-hover-card-enter-end;
174
- }
175
-
176
- .astryx-hover-card-enter-active[data-placement='start']:is([dir='rtl'] *) {
177
- animation-name: astryx-hover-card-enter-end;
178
- }
179
-
180
- .astryx-hover-card-enter-active[data-placement='end']:is([dir='rtl'] *) {
181
- animation-name: astryx-hover-card-enter-start;
112
+ .astryx-hover-card-enter-active[data-placement] {
113
+ animation-name: astryx-layer-enter;
114
+ transform-origin: var(--_astryx-layer-enter-origin, 50% 50%);
182
115
  }
183
116
 
184
117
  .astryx-hover-card-leave-active[data-placement='above'] {
@@ -206,9 +139,17 @@
206
139
  }
207
140
 
208
141
  @media (prefers-reduced-motion: reduce) {
209
- .astryx-hover-card-enter-active,
210
- .astryx-hover-card-leave-active {
142
+ .astryx-hover-card-enter-active[data-placement],
143
+ .astryx-hover-card-leave-active[data-placement] {
211
144
  animation: none;
212
145
  }
213
146
  }
147
+
148
+ @media (prefers-reduced-motion: reduce) and (pointer: coarse) {
149
+ .astryx-hover-card-enter-active[data-placement] {
150
+ animation-name: astryx-layer-fade-in;
151
+ animation-duration: var(--_astryx-reduced-motion-fade-duration, 200ms);
152
+ animation-timing-function: var(--_astryx-reduced-motion-fade-easing, cubic-bezier(0.42, 0, 0.58, 1));
153
+ }
154
+ }
214
155
  }
package/styles/layer.css CHANGED
@@ -71,4 +71,72 @@
71
71
  /* 外面容器传给 Text 的 anywhere 换行也停在这里,浮层里的 Text 回到自己的 break-word。 */
72
72
  --_astryx-text-overflow-wrap: initial;
73
73
  }
74
+
75
+ /* 进场没拿到运行时写的一侧时,按 placement 退回的方向。横向退回在 RTL 下镜像;运行时写的是物理方向。 */
76
+ [data-placement='above'] {
77
+ --_astryx-layer-enter-from-x: 0;
78
+ --_astryx-layer-enter-from-y: 1;
79
+ }
80
+
81
+ [data-placement='below'] {
82
+ --_astryx-layer-enter-from-x: 0;
83
+ --_astryx-layer-enter-from-y: -1;
84
+ }
85
+
86
+ [data-placement='start'] {
87
+ --_astryx-layer-enter-from-x: 1;
88
+ --_astryx-layer-enter-from-y: 0;
89
+ }
90
+
91
+ [data-placement='end'] {
92
+ --_astryx-layer-enter-from-x: -1;
93
+ --_astryx-layer-enter-from-y: 0;
94
+ }
95
+
96
+ [data-placement='start']:is([dir='rtl'] *) {
97
+ --_astryx-layer-enter-from-x: -1;
98
+ }
99
+
100
+ [data-placement='end']:is([dir='rtl'] *) {
101
+ --_astryx-layer-enter-from-x: 1;
102
+ }
103
+ }
104
+
105
+ /*
106
+ * 锚定浮层的进场(上游 Layer/layerAnimations)。
107
+ *
108
+ * 浮层摆好后,定位运行时(layer/layerEntranceSide.ts)在浮层上写下它落在的那一侧:
109
+ * 每个轴往锚点退的一步(-1、0、1)、缩放原点、和锚点之间的空隙。进场从那一侧滑进来,
110
+ * 以浮层和锚点相接的点为原点缩放;退的那一步取 spacing-2 和空隙里较小的一个,所以
111
+ * 任何一帧都不会盖到锚点。用它的浮层要写
112
+ * `transform-origin: var(--_astryx-layer-enter-origin, 50% 50%)`。
113
+ *
114
+ * 减少动效时,主指针是粗略指针(手指)就改用 astryx-layer-fade-in 只淡入(motion.css
115
+ * 的减少动效时长和曲线),其余指针直接出现。
116
+ */
117
+ @keyframes astryx-layer-enter {
118
+ from {
119
+ opacity: 0;
120
+ transform:
121
+ translate(
122
+ calc(var(--_astryx-layer-enter-x, var(--_astryx-layer-enter-from-x, 0)) * min(var(--astryx-spacing-2, 8px), var(--_astryx-layer-enter-gap, var(--astryx-spacing-2, 8px)))),
123
+ calc(var(--_astryx-layer-enter-y, var(--_astryx-layer-enter-from-y, -1)) * min(var(--astryx-spacing-2, 8px), var(--_astryx-layer-enter-gap, var(--astryx-spacing-2, 8px))))
124
+ )
125
+ scale(0.95);
126
+ }
127
+
128
+ to {
129
+ opacity: 1;
130
+ transform: translate(0, 0) scale(1);
131
+ }
132
+ }
133
+
134
+ @keyframes astryx-layer-fade-in {
135
+ from {
136
+ opacity: 0;
137
+ }
138
+
139
+ to {
140
+ opacity: 1;
141
+ }
74
142
  }
@@ -1,29 +1,5 @@
1
1
  @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
2
 
3
- @keyframes astryx-multi-selector-enter-below {
4
- from {
5
- opacity: 0;
6
- transform: translateY(calc(-1 * var(--astryx-spacing-2, 8px))) scale(0.95);
7
- }
8
-
9
- to {
10
- opacity: 1;
11
- transform: translateY(0) scale(1);
12
- }
13
- }
14
-
15
- @keyframes astryx-multi-selector-enter-above {
16
- from {
17
- opacity: 0;
18
- transform: translateY(var(--astryx-spacing-2, 8px)) scale(0.95);
19
- }
20
-
21
- to {
22
- opacity: 1;
23
- transform: translateY(0) scale(1);
24
- }
25
- }
26
-
27
3
  @layer astryx.components {
28
4
  .astryx-field.astryx-multi-selector {
29
5
  width: var(--astryx-field-width, 100%);
@@ -269,12 +245,9 @@
269
245
  animation-timing-function: var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
270
246
  }
271
247
 
272
- .astryx-multi-selector-listbox[data-placement='below'] {
273
- animation-name: astryx-multi-selector-enter-below;
274
- }
275
-
276
- .astryx-multi-selector-listbox[data-placement='above'] {
277
- animation-name: astryx-multi-selector-enter-above;
248
+ .astryx-multi-selector-listbox[data-placement] {
249
+ animation-name: astryx-layer-enter;
250
+ transform-origin: var(--_astryx-layer-enter-origin, 50% 50%);
278
251
  }
279
252
 
280
253
  .astryx-multi-selector-search {
@@ -406,6 +379,20 @@
406
379
  animation: none;
407
380
  }
408
381
  }
382
+
383
+ @media (prefers-reduced-motion: reduce) and (not (pointer: coarse)) {
384
+ .astryx-multi-selector-listbox[data-placement] {
385
+ animation: none;
386
+ }
387
+ }
388
+
389
+ @media (prefers-reduced-motion: reduce) and (pointer: coarse) {
390
+ .astryx-multi-selector-listbox[data-placement] {
391
+ animation-name: astryx-layer-fade-in;
392
+ animation-duration: var(--_astryx-reduced-motion-fade-duration, 200ms);
393
+ animation-timing-function: var(--_astryx-reduced-motion-fade-easing, cubic-bezier(0.42, 0, 0.58, 1));
394
+ }
395
+ }
409
396
  }
410
397
 
411
398
  /* 不分层:压过文档页 :where(input, button, ...):focus-visible 的品牌绿环。
@@ -1,53 +1,5 @@
1
1
  @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
2
 
3
- @keyframes astryx-popover-enter-above {
4
- from {
5
- opacity: 0;
6
- transform: translateY(var(--astryx-spacing-2, 8px)) scale(0.95);
7
- }
8
-
9
- to {
10
- opacity: 1;
11
- transform: translateY(0) scale(1);
12
- }
13
- }
14
-
15
- @keyframes astryx-popover-enter-below {
16
- from {
17
- opacity: 0;
18
- transform: translateY(calc(-1 * var(--astryx-spacing-2, 8px))) scale(0.95);
19
- }
20
-
21
- to {
22
- opacity: 1;
23
- transform: translateY(0) scale(1);
24
- }
25
- }
26
-
27
- @keyframes astryx-popover-enter-start {
28
- from {
29
- opacity: 0;
30
- transform: translateX(var(--astryx-spacing-2, 8px)) scale(0.95);
31
- }
32
-
33
- to {
34
- opacity: 1;
35
- transform: translateX(0) scale(1);
36
- }
37
- }
38
-
39
- @keyframes astryx-popover-enter-end {
40
- from {
41
- opacity: 0;
42
- transform: translateX(calc(-1 * var(--astryx-spacing-2, 8px))) scale(0.95);
43
- }
44
-
45
- to {
46
- opacity: 1;
47
- transform: translateX(0) scale(1);
48
- }
49
- }
50
-
51
3
  @layer astryx.components {
52
4
  .astryx-popover-trigger {
53
5
  display: inline-flex;
@@ -74,28 +26,9 @@
74
26
  animation-timing-function: var(--astryx-ease-entrance, cubic-bezier(0.24, 1, 0.4, 1));
75
27
  }
76
28
 
77
- .astryx-popover[data-placement='above'] {
78
- animation-name: astryx-popover-enter-above;
79
- }
80
-
81
- .astryx-popover[data-placement='below'] {
82
- animation-name: astryx-popover-enter-below;
83
- }
84
-
85
- .astryx-popover[data-placement='start'] {
86
- animation-name: astryx-popover-enter-start;
87
- }
88
-
89
- .astryx-popover[data-placement='end'] {
90
- animation-name: astryx-popover-enter-end;
91
- }
92
-
93
- .astryx-popover[data-placement='start']:is([dir='rtl'] *) {
94
- animation-name: astryx-popover-enter-end;
95
- }
96
-
97
- .astryx-popover[data-placement='end']:is([dir='rtl'] *) {
98
- animation-name: astryx-popover-enter-start;
29
+ .astryx-popover[data-placement] {
30
+ animation-name: astryx-layer-enter;
31
+ transform-origin: var(--_astryx-layer-enter-origin, 50% 50%);
99
32
  }
100
33
 
101
34
  .astryx-popover__body {
@@ -133,12 +66,20 @@
133
66
  padding-block-start: var(--astryx-spacing-1, 4px);
134
67
  }
135
68
 
136
- @media (prefers-reduced-motion: reduce) {
137
- .astryx-popover {
69
+ @media (prefers-reduced-motion: reduce) and (not (pointer: coarse)) {
70
+ .astryx-popover[data-placement] {
138
71
  animation: none;
139
72
  }
140
73
  }
141
74
 
75
+ @media (prefers-reduced-motion: reduce) and (pointer: coarse) {
76
+ .astryx-popover[data-placement] {
77
+ animation-name: astryx-layer-fade-in;
78
+ animation-duration: var(--_astryx-reduced-motion-fade-duration, 200ms);
79
+ animation-timing-function: var(--_astryx-reduced-motion-fade-easing, cubic-bezier(0.42, 0, 0.58, 1));
80
+ }
81
+ }
82
+
142
83
  @media (forced-colors: active) {
143
84
  /* 强制配色会去掉阴影,阴影是这块浮层唯一的边,这里补一圈系统色边框。 */
144
85
  .astryx-popover {
@@ -12,7 +12,7 @@
12
12
  border-style: solid;
13
13
  border-width: var(--astryx-border-width, 1px);
14
14
  border-color: var(--astryx-input-status-color, var(--astryx-color-border-emphasized, #d4d4d4));
15
- border-radius: var(--astryx-radius-full, 9999px);
15
+ border-radius: 50%;
16
16
  color: var(--astryx-color-accent, #262626);
17
17
  background: var(--astryx-color-background-surface, #fff);
18
18
  transition-property: background-color, border-color;
@@ -48,7 +48,7 @@
48
48
  .astryx-radio-indicator-dot {
49
49
  width: calc((100% + 2 * var(--astryx-border-width, 1px)) * 10 / 24);
50
50
  height: calc((100% + 2 * var(--astryx-border-width, 1px)) * 10 / 24);
51
- border-radius: var(--astryx-radius-full, 9999px);
51
+ border-radius: 50%;
52
52
  background: currentcolor;
53
53
  }
54
54
 
package/styles/radio.css CHANGED
@@ -15,6 +15,31 @@
15
15
  cursor: pointer;
16
16
  }
17
17
 
18
+ .astryx-radio[data-align='start'] {
19
+ align-items: flex-start;
20
+ }
21
+
22
+ /*
23
+ * first-line:单选圈贴顶,再按「一行文字的行高减圈的高度」的一半往下推,
24
+ * 圈的中心就落在标签第一行的中心。圈比这一行高时(md 24px),不推,文字被它压下去。
25
+ */
26
+ .astryx-radio[data-align='first-line'] {
27
+ --_radio-size: var(--astryx-radio-size, 18px);
28
+ align-items: flex-start;
29
+ }
30
+
31
+ .astryx-radio[data-align='first-line'][data-size='sm'] {
32
+ --_radio-size: 20px;
33
+ }
34
+
35
+ .astryx-radio[data-align='first-line'][data-size='md'] {
36
+ --_radio-size: 24px;
37
+ }
38
+
39
+ .astryx-radio[data-align='first-line'] > .astryx-radio-indicator {
40
+ margin-block-start: max(0px, calc((var(--astryx-text-body-size, 0.875rem) * var(--astryx-text-body-leading, 1.4286) - var(--_radio-size)) / 2));
41
+ }
42
+
18
43
  .astryx-radio[data-disabled='true'] {
19
44
  opacity: 0.5;
20
45
  cursor: default;
@@ -2,6 +2,7 @@
2
2
 
3
3
  @layer astryx.components {
4
4
  .astryx-segmented-control {
5
+ position: relative;
5
6
  --_segmented-control-padding: var(--astryx-segmented-control-padding, var(--astryx-spacing-0-5, 2px));
6
7
  --_segmented-control-radius: var(--astryx-segmented-control-radius, var(--astryx-radius-element, 0.625rem));
7
8
 
@@ -95,6 +96,41 @@
95
96
  flex-shrink: 0;
96
97
  }
97
98
 
99
+ /*
100
+ * 选中块是控件里独立的一块表面,选中的分段一变就滑到新位置,大小也跟着变。
101
+ * 量到位置之前(服务端渲染、还没有布局),选中的分段自己画这块底色,
102
+ * 量到以后由选中块画,分段只留文字的颜色和字重。
103
+ */
104
+ .astryx-segmented-control__selection {
105
+ position: absolute;
106
+ z-index: 0;
107
+ top: 0;
108
+ left: 0;
109
+ width: var(--_selection-width);
110
+ height: var(--_selection-height);
111
+ border-radius: max(0px, calc(var(--_segmented-control-radius) - var(--_segmented-control-padding)));
112
+ background-color: var(--astryx-segmented-control-item-selected-background, light-dark(#fff, #262626));
113
+ box-shadow: var(--astryx-segmented-control-item-selected-shadow);
114
+ transform: translate(var(--_selection-x), var(--_selection-y));
115
+ pointer-events: none;
116
+ forced-color-adjust: none;
117
+ }
118
+
119
+ .astryx-segmented-control[data-selection='ready'] > .astryx-segmented-control__selection {
120
+ transition-property: transform, width, height;
121
+ transition-duration: var(--astryx-duration-fast-max, 165ms);
122
+ transition-timing-function: var(--astryx-ease-move, cubic-bezier(0.24, 1, 0.4, 1));
123
+ }
124
+
125
+ .astryx-segmented-control[data-selection] > .astryx-segmented-control-item {
126
+ z-index: 1;
127
+ }
128
+
129
+ .astryx-segmented-control[data-selection] > .astryx-segmented-control-item[data-selected='true'] {
130
+ background-color: transparent;
131
+ box-shadow: none;
132
+ }
133
+
98
134
  .astryx-segmented-control-item[data-selected='true'] {
99
135
  font-weight: var(--astryx-font-weight-semibold, 600);
100
136
  color: var(--astryx-segmented-control-item-selected-foreground, var(--astryx-color-text-primary, #171717));
@@ -167,10 +203,19 @@
167
203
  color: HighlightText;
168
204
  background-color: Highlight;
169
205
  }
206
+
207
+ .astryx-segmented-control__selection {
208
+ background-color: Highlight;
209
+ }
210
+
211
+ .astryx-segmented-control[data-selection] > .astryx-segmented-control-item[data-selected='true'] {
212
+ background-color: transparent;
213
+ }
170
214
  }
171
215
 
172
216
  @media (prefers-reduced-motion: reduce) {
173
- .astryx-segmented-control-item {
217
+ .astryx-segmented-control-item,
218
+ .astryx-segmented-control[data-selection='ready'] > .astryx-segmented-control__selection {
174
219
  transition-duration: 0s;
175
220
  }
176
221
  }
@@ -1,29 +1,5 @@
1
1
  @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
2
 
3
- @keyframes astryx-selector-enter-below {
4
- from {
5
- opacity: 0;
6
- transform: translateY(calc(-1 * var(--astryx-spacing-2, 8px))) scale(0.95);
7
- }
8
-
9
- to {
10
- opacity: 1;
11
- transform: translateY(0) scale(1);
12
- }
13
- }
14
-
15
- @keyframes astryx-selector-enter-above {
16
- from {
17
- opacity: 0;
18
- transform: translateY(var(--astryx-spacing-2, 8px)) scale(0.95);
19
- }
20
-
21
- to {
22
- opacity: 1;
23
- transform: translateY(0) scale(1);
24
- }
25
- }
26
-
27
3
  @layer astryx.components {
28
4
  .astryx-selector {
29
5
  display: inline-block;
@@ -326,12 +302,9 @@
326
302
  font-weight: var(--astryx-font-weight-medium, 500);
327
303
  }
328
304
 
329
- .astryx-selector-listbox[data-placement='below'] {
330
- animation-name: astryx-selector-enter-below;
331
- }
332
-
333
- .astryx-selector-listbox[data-placement='above'] {
334
- animation-name: astryx-selector-enter-above;
305
+ .astryx-selector-listbox[data-placement] {
306
+ animation-name: astryx-layer-enter;
307
+ transform-origin: var(--_astryx-layer-enter-origin, 50% 50%);
335
308
  }
336
309
 
337
310
  .astryx-selector-search {
@@ -521,6 +494,20 @@
521
494
  animation: none;
522
495
  }
523
496
  }
497
+
498
+ @media (prefers-reduced-motion: reduce) and (not (pointer: coarse)) {
499
+ .astryx-selector-listbox[data-placement] {
500
+ animation: none;
501
+ }
502
+ }
503
+
504
+ @media (prefers-reduced-motion: reduce) and (pointer: coarse) {
505
+ .astryx-selector-listbox[data-placement] {
506
+ animation-name: astryx-layer-fade-in;
507
+ animation-duration: var(--_astryx-reduced-motion-fade-duration, 200ms);
508
+ animation-timing-function: var(--_astryx-reduced-motion-fade-easing, cubic-bezier(0.42, 0, 0.58, 1));
509
+ }
510
+ }
524
511
  }
525
512
 
526
513
  /* Unlayered: the field chrome owns focus. A page ring on the trigger or search input stacks a second outline. */