@astryx-vue/core 0.33.1 → 0.33.2

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 (312) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-C9mhy7gH.js → AlertDialog-BwW3jdTg.js} +8 -8
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-B4S-gbL3.js → AppShell-BURF50V8.js} +5 -5
  5. package/dist/Avatar/index.js +1 -1
  6. package/dist/{Avatar-B93MdEmI.js → Avatar-CcmhCa5q.js} +1 -1
  7. package/dist/AvatarGroup/index.d.ts +1 -1
  8. package/dist/AvatarGroup/index.js +1 -1
  9. package/dist/{AvatarGroup-CCFMtKks.js → AvatarGroup-DJKoExQk.js} +1 -1
  10. package/dist/Banner/index.d.ts +1 -1
  11. package/dist/Banner/index.js +1 -1
  12. package/dist/{Banner-DfsrHUDP.js → Banner-DSSXXFU9.js} +36 -16
  13. package/dist/BottomSheet/index.d.ts +1 -1
  14. package/dist/BottomSheet/index.js +2 -2
  15. package/dist/{BottomSheet-DxqAIVZ3.js → BottomSheet-Jq7g0EWd.js} +8 -8
  16. package/dist/{BottomSheet-E_OjhAa7.js → BottomSheet-KUGb-GPw.js} +1 -1
  17. package/dist/Breadcrumbs/index.js +2 -2
  18. package/dist/{Breadcrumbs-DMytkhxA.js → Breadcrumbs-BEx7_LpB.js} +1 -1
  19. package/dist/Button/index.d.ts +1 -1
  20. package/dist/Button/index.js +1 -1
  21. package/dist/{Button-BoZJv7eb.js → Button-BlWhnkeM.js} +4 -4
  22. package/dist/ButtonGroup/index.d.ts +1 -1
  23. package/dist/ButtonGroup/index.js +1 -1
  24. package/dist/{ButtonGroup-D5E7QLWI.js → ButtonGroup-D3pGXH3t.js} +2 -2
  25. package/dist/Calendar/index.d.ts +1 -1
  26. package/dist/Carousel/index.d.ts +1 -1
  27. package/dist/Carousel/index.js +1 -1
  28. package/dist/{Carousel-TvReEgJA.js → Carousel-XHo3AGQj.js} +1 -1
  29. package/dist/Chat/index.d.ts +1 -1
  30. package/dist/Chat/index.js +1 -1
  31. package/dist/{Chat-C_tNbXbn.js → Chat-B0c_CxBk.js} +5 -5
  32. package/dist/CheckboxInput/index.d.ts +1 -1
  33. package/dist/CheckboxInput/index.js +1 -1
  34. package/dist/{CheckboxInput-D6KNni6p.js → CheckboxInput-DCeCsNvg.js} +4 -4
  35. package/dist/CheckboxList/index.d.ts +1 -1
  36. package/dist/CheckboxList/index.js +1 -1
  37. package/dist/{CheckboxListItem-wNOHsMMr.js → CheckboxListItem-CGC_EBYs.js} +5 -5
  38. package/dist/ClickableCard/index.d.ts +1 -1
  39. package/dist/ClickableCard/index.js +1 -1
  40. package/dist/{ClickableCard-CLXCxaxo.js → ClickableCard-aU0QED8P.js} +1 -1
  41. package/dist/Code/index.js +1 -1
  42. package/dist/{CodeBlock-U2zFJsc5.js → CodeBlock-ClZvd61o.js} +1 -1
  43. package/dist/Collapsible/index.d.ts +1 -1
  44. package/dist/Collapsible/index.js +1 -1
  45. package/dist/{Collapsible-Cf9evVsQ.js → Collapsible-BAup__Sy.js} +3 -3
  46. package/dist/CommandPalette/index.d.ts +1 -1
  47. package/dist/CommandPalette/index.js +1 -1
  48. package/dist/{CommandPalette-D5PGSXWz.js → CommandPalette-CvalZZHH.js} +3 -3
  49. package/dist/ComplexSelector/index.js +1 -1
  50. package/dist/{ComplexSelector-Co1jUTYQ.js → ComplexSelector-DIwWcWwi.js} +3 -3
  51. package/dist/ContextMenu/index.d.ts +1 -1
  52. package/dist/ContextMenu/index.js +2 -2
  53. package/dist/{ContextMenu-DBvZgAbg.js → ContextMenu-BnX93m0D.js} +6 -6
  54. package/dist/DateInput/index.d.ts +1 -1
  55. package/dist/DateInput/index.js +1 -1
  56. package/dist/{DateInput-XLGBkH4g.js → DateInput-BFjeik3X.js} +5 -5
  57. package/dist/DateRangeInput/index.d.ts +1 -1
  58. package/dist/DateRangeInput/index.js +1 -1
  59. package/dist/{DateRangeInput-BNpkwtVh.js → DateRangeInput-Cnrp5SDW.js} +4 -4
  60. package/dist/DateTimeInput/index.d.ts +1 -1
  61. package/dist/DateTimeInput/index.js +1 -1
  62. package/dist/{DateTimeInput-CewV_JRI.js → DateTimeInput-Zsf86rSO.js} +6 -6
  63. package/dist/Dialog/index.js +3 -3
  64. package/dist/{Dialog-BbDjvBqX.js → Dialog-Bl5CCsoX.js} +1 -1
  65. package/dist/{Dialog-CYcDiMtZ.js → Dialog-DIWIrzgk.js} +1 -1
  66. package/dist/{DialogHeader-efWB4QQA.js → DialogHeader-DbWkeIrf.js} +2 -2
  67. package/dist/Drawer/index.d.ts +1 -1
  68. package/dist/Drawer/index.js +1 -1
  69. package/dist/{Drawer-BswIXZSo.js → Drawer-MdC2BxbG.js} +2 -2
  70. package/dist/DropdownMenu/index.js +2 -2
  71. package/dist/{DropdownMenu-CCOjKL7v.js → DropdownMenu-4o8qS78m.js} +8 -8
  72. package/dist/EmptyState/index.js +1 -1
  73. package/dist/{EmptyState-BkQ3jktt.js → EmptyState-CeZXvaPU.js} +2 -2
  74. package/dist/Field/index.js +3 -3
  75. package/dist/{Field-CYfzJEFg.js → Field-CrTrfcXB.js} +1 -1
  76. package/dist/{FieldInfoTip-DccDjDnf.js → FieldInfoTip-C3Ztw-wI.js} +1 -1
  77. package/dist/{FieldLabel-SiRzxGz8.js → FieldLabel-CFE2WC_i.js} +1 -1
  78. package/dist/FileInput/index.js +1 -1
  79. package/dist/{FileInput-BxeGABmG.js → FileInput-BhO1SCw-.js} +4 -4
  80. package/dist/Heading/index.d.ts +1 -1
  81. package/dist/Heading/index.js +1 -1
  82. package/dist/{Heading-D_7K6-23.js → Heading-AZCa8gid.js} +1 -1
  83. package/dist/HoverCard/index.d.ts +1 -1
  84. package/dist/HoverCard/index.js +1 -1
  85. package/dist/{HoverCard-Bkh1HZ3b.js → HoverCard-C4VR_GZ0.js} +4 -4
  86. package/dist/IconButton/index.js +1 -1
  87. package/dist/{IconButton-DEhvVDmO.js → IconButton-CqWEkha9.js} +1 -1
  88. package/dist/InfoTip/index.d.ts +1 -1
  89. package/dist/InfoTip/index.js +1 -1
  90. package/dist/{InfoTip-BZDG21HF.js → InfoTip-Dps1Aaem.js} +2 -2
  91. package/dist/{InputClearButton-DezS64Mz.js → InputClearButton-Xjvkkq7B.js} +1 -1
  92. package/dist/InputGroup/index.d.ts +1 -1
  93. package/dist/InputGroup/index.js +1 -1
  94. package/dist/{InputGroup-CENlnU_O.js → InputGroup-gYIGs7VH.js} +1 -1
  95. package/dist/InternationalizationProvider/index.d.ts +1 -1
  96. package/dist/InternationalizationProvider/index.js +1 -1
  97. package/dist/{InternationalizationProvider-BAUKUK7N.js → InternationalizationProvider-BGtwZDY0.js} +1 -1
  98. package/dist/{Item-tVHjgQDe.js → Item-FxMSEuU3.js} +1 -1
  99. package/dist/{LayerContentBoundary-D6GcF2T3.js → LayerContentBoundary-C7VZOgMs.js} +1 -1
  100. package/dist/Layout/index.js +2 -2
  101. package/dist/{Layout-DJ6CQLw2.js → Layout-D6UhyoVb.js} +1 -1
  102. package/dist/{LayoutPanel-Bqh82ULc.js → LayoutPanel-DfS5TvSP.js} +1 -1
  103. package/dist/Lightbox/index.js +1 -1
  104. package/dist/{Lightbox-Dbwep-L-.js → Lightbox-76vHqGA0.js} +1 -1
  105. package/dist/Link/index.d.ts +1 -1
  106. package/dist/Link/index.js +1 -1
  107. package/dist/{Link-Csw2YXAQ.js → Link-QPBGLcTk.js} +2 -2
  108. package/dist/List/index.d.ts +1 -1
  109. package/dist/List/index.js +2 -2
  110. package/dist/{ListItem-B60jTcXy.js → ListItem-Ss6Kw90l.js} +3 -3
  111. package/dist/Markdown/index.d.ts +1 -1
  112. package/dist/Markdown/index.js +1 -1
  113. package/dist/{Markdown-CTRMjOpY.js → Markdown-Cz6wbx9z.js} +3 -3
  114. package/dist/MobileNav/index.js +1 -1
  115. package/dist/{MobileNavToggle-Ce8cVqzp.js → MobileNavToggle-CCJBX2fq.js} +1 -1
  116. package/dist/MoreMenu/index.d.ts +1 -1
  117. package/dist/MoreMenu/index.js +1 -1
  118. package/dist/{MoreMenu-CfUKxxnB.js → MoreMenu-OOQAeJT9.js} +6 -6
  119. package/dist/MultiSelector/index.d.ts +1 -1
  120. package/dist/MultiSelector/index.js +1 -1
  121. package/dist/{MultiSelector-BG0oQjhR.js → MultiSelector-9HGDsMQE.js} +6 -6
  122. package/dist/{NavDisclosure-lQVs4eJB.js → NavDisclosure-BTeZLyLq.js} +1 -1
  123. package/dist/{NavHeadingSurface-CkDdgQV1.js → NavHeadingSurface-DPmolgVb.js} +1 -1
  124. package/dist/NavItem/index.d.ts +1 -1
  125. package/dist/NavItem/index.js +1 -1
  126. package/dist/{NavItem-B7xpLk_x.js → NavItem-BL3g0YUf.js} +1 -1
  127. package/dist/NavMenu/index.js +3 -3
  128. package/dist/{NavMenu-Bf_rGSbX.js → NavMenu-DcTh1DCM.js} +2 -2
  129. package/dist/{NavMenuItem-BblWAGof.js → NavMenuItem-Dmsno5s3.js} +3 -3
  130. package/dist/NumberInput/index.d.ts +1 -1
  131. package/dist/NumberInput/index.js +1 -1
  132. package/dist/{NumberInput-CLQ1dgsb.js → NumberInput-DWYCcrUw.js} +3 -3
  133. package/dist/Outline/index.js +1 -1
  134. package/dist/{Outline-coqRQ06s.js → Outline-DGtPcD0U.js} +3 -3
  135. package/dist/OverflowList/index.d.ts +1 -1
  136. package/dist/OverflowList/index.js +1 -1
  137. package/dist/{OverflowList-V728L06i.js → OverflowList-EIr4jQjY.js} +2 -2
  138. package/dist/Pagination/index.d.ts +1 -1
  139. package/dist/Pagination/index.js +1 -1
  140. package/dist/{Pagination-B71t50Xl.js → Pagination-Ch7-xIFe.js} +2 -2
  141. package/dist/Popover/index.d.ts +1 -1
  142. package/dist/Popover/index.js +1 -1
  143. package/dist/{Popover-BX8Qy08n.js → Popover-LSIKv1zS.js} +7 -7
  144. package/dist/PowerSearch/index.d.ts +1 -1
  145. package/dist/PowerSearch/index.js +1 -1
  146. package/dist/{PowerSearch-ZfZNn-68.js → PowerSearch-Cjkv0qON.js} +27 -27
  147. package/dist/ProgressBar/index.d.ts +1 -1
  148. package/dist/ProgressBar/index.js +1 -1
  149. package/dist/ProgressBar-nPERcjvJ.js +325 -0
  150. package/dist/Radio/index.d.ts +1 -1
  151. package/dist/Radio/index.js +1 -1
  152. package/dist/{RadioGroup-8KAVhDTz.js → RadioGroup-BWFVn7Gd.js} +5 -5
  153. package/dist/RadioList/index.d.ts +1 -1
  154. package/dist/RadioList/index.js +1 -1
  155. package/dist/{RadioListItem-FY0cSKWR.js → RadioListItem-D1rnSZeL.js} +1 -1
  156. package/dist/Resizable/index.d.ts +1 -1
  157. package/dist/Resizable/index.js +1 -1
  158. package/dist/{ResizeHandle-ezvpdXTS.js → ResizeHandle-DyjQfxxG.js} +2 -2
  159. package/dist/ScrollableArea/index.d.ts +1 -1
  160. package/dist/SegmentedControl/index.d.ts +1 -1
  161. package/dist/SegmentedControl/index.js +1 -1
  162. package/dist/{SegmentedControl-BdbqWErg.js → SegmentedControl-CkR8ur3h.js} +2 -2
  163. package/dist/SelectableCard/index.d.ts +1 -1
  164. package/dist/SelectableCard/index.js +1 -1
  165. package/dist/{SelectableCard-Dj2fRvfe.js → SelectableCard-uDblNb5T.js} +1 -1
  166. package/dist/Selector/index.d.ts +1 -1
  167. package/dist/Selector/index.js +1 -1
  168. package/dist/{Selector-DjZSKGCz.js → Selector-BiLcyM3Y.js} +4 -4
  169. package/dist/SideNav/index.d.ts +1 -1
  170. package/dist/SideNav/index.js +2 -2
  171. package/dist/{SideNav-DjPwCh4O.js → SideNav-d0A9mlEW.js} +9 -9
  172. package/dist/Skeleton/index.d.ts +1 -1
  173. package/dist/Slider/index.js +1 -1
  174. package/dist/{Slider-TpbMaQ4Q.js → Slider-BdIrYmul.js} +2 -2
  175. package/dist/Spinner/index.d.ts +1 -1
  176. package/dist/Spinner/index.js +1 -1
  177. package/dist/Spinner-D1adu3uH.js +266 -0
  178. package/dist/Stack/index.d.ts +1 -1
  179. package/dist/StatusDot/index.js +1 -1
  180. package/dist/{StatusDot-C4_Zj3oZ.js → StatusDot-D3z-WEGn.js} +1 -1
  181. package/dist/Stepper/index.d.ts +1 -1
  182. package/dist/Stepper/index.js +1 -1
  183. package/dist/{Stepper-C3ZFN-Gp.js → Stepper-CePOs80C.js} +149 -103
  184. package/dist/Switch/index.d.ts +1 -1
  185. package/dist/Switch/index.js +1 -1
  186. package/dist/{Switch-CW27rVAy.js → Switch-6tQbDX9A.js} +2 -2
  187. package/dist/TabList/index.d.ts +1 -1
  188. package/dist/TabList/index.js +1 -1
  189. package/dist/{TabList-D70Pl_ob.js → TabList-CthDI2i1.js} +3 -3
  190. package/dist/Table/index.d.ts +1 -1
  191. package/dist/Table/index.js +1 -1
  192. package/dist/{Table-8Vj50mYm.js → Table-egoY0slV.js} +14 -14
  193. package/dist/Text/index.d.ts +1 -1
  194. package/dist/Text/index.js +1 -1
  195. package/dist/{Text-6_wt88Br.js → Text-CGb1rxyK.js} +1 -1
  196. package/dist/TextArea/index.d.ts +1 -1
  197. package/dist/TextArea/index.js +1 -1
  198. package/dist/{TextArea-DMMHiOEb.js → TextArea-B3WlT4sr.js} +4 -4
  199. package/dist/TextInput/index.d.ts +1 -1
  200. package/dist/TextInput/index.js +1 -1
  201. package/dist/{TextInput-JuggLbDZ.js → TextInput-C4CqgE0E.js} +4 -4
  202. package/dist/Thumbnail/index.js +1 -1
  203. package/dist/{Thumbnail-Sq-2e8zN.js → Thumbnail-6YWZ9a2A.js} +4 -4
  204. package/dist/{TimeField-CuRkZZlx.js → TimeField-CvBKO_Ew.js} +4 -4
  205. package/dist/TimeInput/index.d.ts +1 -1
  206. package/dist/TimeInput/index.js +1 -1
  207. package/dist/{TimeInput-CREpxTpG.js → TimeInput-Cl9HIZrP.js} +2 -2
  208. package/dist/Timer/index.js +1 -1
  209. package/dist/{Timer-C18tBgls.js → Timer-BNa_W8zr.js} +1 -1
  210. package/dist/Timestamp/index.d.ts +1 -1
  211. package/dist/Timestamp/index.js +1 -1
  212. package/dist/{Timestamp-BL8R7ZQ8.js → Timestamp-D_NTXtxz.js} +3 -3
  213. package/dist/Toast/index.js +1 -1
  214. package/dist/{Toast-BtJHuIen.js → Toast-E6NqFf3W.js} +2 -2
  215. package/dist/ToggleButton/index.d.ts +1 -1
  216. package/dist/ToggleButton/index.js +1 -1
  217. package/dist/{ToggleButton-DrnT3-jX.js → ToggleButton-ih92QX-K.js} +3 -3
  218. package/dist/Token/index.js +1 -1
  219. package/dist/{Token-DZmmnHEj.js → Token-DE1udaRF.js} +1 -1
  220. package/dist/Tokenizer/index.d.ts +1 -1
  221. package/dist/Tokenizer/index.js +1 -1
  222. package/dist/{Tokenizer-BRFlVyMv.js → Tokenizer-DbD2ZBuh.js} +15 -14
  223. package/dist/Toolbar/index.d.ts +1 -1
  224. package/dist/Tooltip/index.d.ts +1 -1
  225. package/dist/Tooltip/index.js +2 -2
  226. package/dist/{Tooltip-Dwr0XREF.js → Tooltip-sXtW5dTD.js} +1 -1
  227. package/dist/TopNav/index.d.ts +1 -1
  228. package/dist/TopNav/index.js +1 -1
  229. package/dist/{TopNav-GwsSkeei.js → TopNav-D688LaUK.js} +5 -5
  230. package/dist/TreeList/index.js +1 -1
  231. package/dist/{TreeList-BGHHEcg1.js → TreeList-BFKPBFKu.js} +4 -4
  232. package/dist/Typeahead/index.js +2 -2
  233. package/dist/{Typeahead-H3uWMS7i.js → Typeahead-BwjzOjT4.js} +6 -6
  234. package/dist/{VelocityTracker-DVbtTSXR.js → VelocityTracker-bns4TzMt.js} +1 -1
  235. package/dist/{accessibleName-Bjt5L8jX.js → accessibleName-nYUMoSTW.js} +1 -1
  236. package/dist/{animator-DLWdws2R.js → animator-DnLs_cbV.js} +3 -2
  237. package/dist/composables/index.js +9 -9
  238. package/dist/{composables-OL_sC9Qy.js → composables-B9tgZEzP.js} +10 -10
  239. package/dist/{context-BcJmSPj1.js → context-Dktfy1fh.js} +1 -1
  240. package/dist/{gestures-C8VhWve7.js → gestures-CppaWqif.js} +1 -1
  241. package/dist/{index-ZKBj_1nu.d.ts → index-3LdpzxQZ.d.ts} +2 -2
  242. package/dist/{index-V6uruC4Z.d.ts → index-85y5NZP-.d.ts} +1 -1
  243. package/dist/{index-Q1oG9yIT.d.ts → index-Ak1b0V24.d.ts} +4 -2
  244. package/dist/{index-EAKu_r6h.d.ts → index-BOiwoyXq.d.ts} +5 -5
  245. package/dist/{index-yaS9_EpM.d.ts → index-BVi16JNo.d.ts} +2 -2
  246. package/dist/{index-DvrrgBYc.d.ts → index-BVx-HFp8.d.ts} +1 -1
  247. package/dist/{index-CZ29Xu_E.d.ts → index-Bwh8O-v8.d.ts} +1 -1
  248. package/dist/{index-BjqoHLMq.d.ts → index-C1e8LNx2.d.ts} +1 -1
  249. package/dist/{index-51CkIKnI.d.ts → index-C93nwgTW.d.ts} +1 -1
  250. package/dist/{index-CiVrhGUJ.d.ts → index-C9ZssPUV.d.ts} +1 -1
  251. package/dist/{index-0RIgvtdm.d.ts → index-CArP_6wv.d.ts} +1 -1
  252. package/dist/{index-B2XndRvV.d.ts → index-CM00rrgg.d.ts} +3 -3
  253. package/dist/{index-D33x3IfY.d.ts → index-CTv55aOa.d.ts} +1 -1
  254. package/dist/{index-DVX2jlTQ.d.ts → index-CUuUoX3h.d.ts} +1 -1
  255. package/dist/{index-BaFphczL.d.ts → index-CdvmnNMH.d.ts} +1 -1
  256. package/dist/{index-mK1ICsVg.d.ts → index-Cm36VS1A.d.ts} +2 -2
  257. package/dist/{index-18IUS3l0.d.ts → index-D65x5ny5.d.ts} +58 -58
  258. package/dist/{index-BB9acgK8.d.ts → index-D7ShT2c-.d.ts} +2 -2
  259. package/dist/{index-QC9FDUDA.d.ts → index-DN5Ga_Zm.d.ts} +3 -3
  260. package/dist/{index-CUwmD3Ph.d.ts → index-DWVhyvVu.d.ts} +6 -6
  261. package/dist/{index-Dt_9IR_M.d.ts → index-JGPd3Ghy.d.ts} +1 -1
  262. package/dist/{index-Dpz-JUMl.d.ts → index-MOtVbTwK.d.ts} +3 -3
  263. package/dist/{index-Cb-rvc1W.d.ts → index-Otl047R1.d.ts} +1 -1
  264. package/dist/{index-MvrDMqnQ.d.ts → index-eCp-ElSp.d.ts} +1 -1
  265. package/dist/{index-BenG-F5d.d.ts → index-maTGrWjF.d.ts} +1 -1
  266. package/dist/{index-yQc-te9a.d.ts → index-ql9ApSTF.d.ts} +2 -2
  267. package/dist/{index-CtYlR9Cu.d.ts → index-rdwI-mcm.d.ts} +1 -1
  268. package/dist/{index-C89cIh4E.d.ts → index-waTkqxTz.d.ts} +1 -1
  269. package/dist/index.d.ts +29 -29
  270. package/dist/index.js +106 -106
  271. package/dist/{landing-Dx9vPF0t.js → landing-9mjHGn26.js} +1 -1
  272. package/dist/{layerDepth-D-80Ay8B.js → layerDepth-c3jUndA2.js} +1 -1
  273. package/dist/{lazyBottomSheet-s0ckIf0f.js → lazyBottomSheet-Ca7Mdou2.js} +1 -1
  274. package/dist/{linearEasing-BxWjPql6.js → linearEasing-CBwOorE7.js} +136 -87
  275. package/dist/{loadCatalog-VYidi1Xi.d.ts → loadCatalog-BODWYaNy.d.ts} +2 -0
  276. package/dist/{loadCatalog-zJKVLZ89.js → loadCatalog-DMOOMWtw.js} +3 -2
  277. package/dist/locale/index.d.ts +2 -2
  278. package/dist/locale/index.js +3 -3
  279. package/dist/{locale-C9LWi1y1.js → locale-C8X7gJlc.js} +1 -1
  280. package/dist/{pressFeedback-CPzGi_88.js → pressFeedback-BlOSZew9.js} +2 -2
  281. package/dist/{pressGesture-BV4fYPIG.js → pressGesture-yntcDLXo.js} +1 -1
  282. package/dist/{reportChange-BkOEttEP.js → reportChange-DPFCmyOB.js} +3 -2
  283. package/dist/{resizableChannel-DS0idC-X.js → resizableChannel-DOmBYh4V.js} +4 -4
  284. package/dist/{resolveMotion-BLdMNTpf.js → resolveMotion-CF9fXX0t.js} +2 -2
  285. package/dist/{resolveSnapPoint-DygD-wmL.js → resolveSnapPoint-mZzJRIC2.js} +1 -1
  286. package/dist/{roles-CPMsH5Ob.js → roles-DWH31Bn3.js} +126 -1
  287. package/dist/{rubberBand-DecgmtDj.js → rubberBand-DDapO54w.js} +1 -1
  288. package/dist/{springs-BR66JuIm.js → springs-B2jqskKJ.js} +1 -1
  289. package/dist/{stepper-BMSGF96H.js → stepper-D7L_3xxU.js} +4 -2
  290. package/dist/{stillPointerGate-CrsrgFyo.js → stillPointerGate-Htiy6uKa.js} +1 -1
  291. package/dist/{themeTiming-BA_wpgEn.js → themeTiming-ClYaZxGf.js} +1 -1
  292. package/dist/{tooltipFocusRules-BWcYZXu8.js → tooltipFocusRules-BHJUQprJ.js} +2 -2
  293. package/dist/{tooltipTriggerRules-DFPKbHJc.js → tooltipTriggerRules-Dremu4W9.js} +1 -1
  294. package/dist/{useActionGroupTracking-iv0p__dY.js → useActionGroupTracking-DDhfTUOK.js} +3 -3
  295. package/dist/{useAnimatedLayout-BC1mJaxA.js → useAnimatedLayout-B6Xj_kTo.js} +1 -1
  296. package/dist/{useAttachment-BohgLE3o.js → useAttachment-CALrXA-t.js} +3 -3
  297. package/dist/{useDismiss-Di0mkAl_.js → useDismiss-BvDK4xBe.js} +1 -1
  298. package/dist/{useInputStatusIcon-Dese9hBA.js → useInputStatusIcon-MyCpVp3g.js} +1 -1
  299. package/dist/{useMenuPress-RFwJ3jGS.js → useMenuPress-BJVQF7ml.js} +2 -2
  300. package/dist/{usePressFeedback-BuyFZkQO.js → usePressFeedback-cxyksfAD.js} +1 -1
  301. package/dist/{useResizable-K9hlQr8i.js → useResizable-C-9ff2ZK.js} +5 -5
  302. package/dist/{useTooltip-48Smw61m.js → useTooltip-w57yzB7h.js} +4 -4
  303. package/dist/{useTouchHitArea-Dsz80HzY.js → useTouchHitArea-CgUvnuTz.js} +1 -1
  304. package/dist/{useTouchTriggerInternal-CUiq_FYD.js → useTouchTriggerInternal-DSA228_-.js} +1 -1
  305. package/dist/{useTruncationTooltip-D1Iwku73.js → useTruncationTooltip--w8vh7M-.js} +3 -3
  306. package/dist/{useTypeaheadMenuConfig-CiTAlquw.js → useTypeaheadMenuConfig-C-EOaLF-.js} +2 -2
  307. package/package.json +1 -1
  308. package/styles/progress-bar.css +69 -5
  309. package/styles/skeleton.css +62 -5
  310. package/styles/spinner.css +30 -7
  311. package/dist/ProgressBar-jtD4zcDW.js +0 -166
  312. package/dist/Spinner-DEVPDsD0.js +0 -201
@@ -1,14 +1,14 @@
1
1
  import { a as sharedWeakMap, c as deepActiveElement, d as shadowRootsOutward, h as isNode, 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 parseTouchAction, f as rootOverflow, l as SCROLLABLE_OVERFLOW, p as clockOf, u as isInsideScrollView } from "./pressFeedback-CPzGi_88.js";
2
+ import { d as parseTouchAction, f as rootOverflow, l as SCROLLABLE_OVERFLOW, p as clockOf, u as isInsideScrollView } from "./pressFeedback-BlOSZew9.js";
3
3
  import { i as withoutClickGuard, n as disarmClickGuard, t as armClickGuard } from "./clickGuard-C3VmOLhI.js";
4
4
  import { i as subscribeInput } from "./inputStream-bPd9eB2b.js";
5
- import { i as UIKIT_TAP, n as UIKIT_PAN, r as UIKIT_PRESS, t as UIKIT_LONG_PRESS } from "./gestures-C8VhWve7.js";
5
+ import { i as UIKIT_TAP, n as UIKIT_PAN, r as UIKIT_PRESS, t as UIKIT_LONG_PRESS } from "./gestures-CppaWqif.js";
6
6
  import { i as presentedOffsetOf, o as resolvePresented, r as presentedElements, s as watchPresentedElements } from "./presentation-Cy_yf56y.js";
7
7
  import { t as isApplePlatform } from "./isApplePlatform-B1ju6F5B.js";
8
8
  import { a as isIosWebKit, r as watchCoarsePointer, t as isCoarsePointer } from "./coarsePointer-BfMx3H23.js";
9
9
  import { t as isRtlElement } from "./isRtlElement-NHuH48AA.js";
10
10
  import { t as holdsTouch } from "./touchHold-DXtx7npm.js";
11
- import { t as VelocityTracker } from "./VelocityTracker-DVbtTSXR.js";
11
+ import { t as VelocityTracker } from "./VelocityTracker-bns4TzMt.js";
12
12
  import { getCurrentScope, onScopeDispose, toValue, watch } from "vue";
13
13
  //#region src/gestures/arenaTypes.ts
14
14
  /** The browser's clock: `performance.now()`, the base of `event.timeStamp`. */
@@ -1,6 +1,6 @@
1
1
  import { n as useLayerTeleportTarget } from "./useLayerMountTarget-zwZQglr2.js";
2
2
  import { i as useLayerGutter, s as resolveLayerGutter } from "./context-M-er0-Rk.js";
3
- import { n as useLayerDepth, o as pushLayer } from "./layerDepth-D-80Ay8B.js";
3
+ import { n as useLayerDepth, o as pushLayer } from "./layerDepth-c3jUndA2.js";
4
4
  import { nextTick, onScopeDispose, ref, toValue, watch } from "vue";
5
5
  //#region src/layer/anchorClear.ts
6
6
  function overlapsAnchor(anchor, top, left, layer) {
@@ -1,5 +1,5 @@
1
1
  import { t as _sfc_main } from "./FieldIcon-BU1ZWAuo.js";
2
- import { t as _sfc_main$1 } from "./FieldInfoTip-DccDjDnf.js";
2
+ import { t as _sfc_main$1 } from "./FieldInfoTip-C3Ztw-wI.js";
3
3
  import { computed, toValue } from "vue";
4
4
  //#region src/composables/useInputStatusIcon.ts
5
5
  /**
@@ -1,6 +1,6 @@
1
- import { m as msSinceInput } from "./pressFeedback-CPzGi_88.js";
1
+ import { m as msSinceInput } from "./pressFeedback-BlOSZew9.js";
2
2
  import { i as withoutClickGuard, r as disarmEveryClickGuard, t as armClickGuard } from "./clickGuard-C3VmOLhI.js";
3
- import { s as currentGesture } from "./layerDepth-D-80Ay8B.js";
3
+ import { s as currentGesture } from "./layerDepth-c3jUndA2.js";
4
4
  import { t as focusForLastInput } from "./focusReturn-DfZS7TCp.js";
5
5
  import { r as isInputShield } from "./inputHoldState-xntIqr5W.js";
6
6
  import { getCurrentScope, onScopeDispose, toValue } from "vue";
@@ -1,4 +1,4 @@
1
- import { a as PRESS_ACTION_ATTRIBUTE, i as PRESSABLE_ATTRIBUTE, n as installPressFeedback, o as PRESS_CONTAINER_ATTRIBUTE } from "./pressFeedback-CPzGi_88.js";
1
+ import { a as PRESS_ACTION_ATTRIBUTE, i as PRESSABLE_ATTRIBUTE, n as installPressFeedback, o as PRESS_CONTAINER_ATTRIBUTE } from "./pressFeedback-BlOSZew9.js";
2
2
  import { getCurrentInstance, getCurrentScope, onMounted, onScopeDispose } from "vue";
3
3
  import "../styles/pressable.css";
4
4
  //#region src/composables/usePressFeedback.ts
@@ -1,10 +1,10 @@
1
1
  import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
2
- import { t as animatorFor } from "./animator-DLWdws2R.js";
3
- import { t as resolveMotion } from "./resolveMotion-BLdMNTpf.js";
4
- import { n as springs } from "./springs-BR66JuIm.js";
2
+ import { t as animatorFor } from "./animator-DnLs_cbV.js";
3
+ import { t as resolveMotion } from "./resolveMotion-CF9fXX0t.js";
4
+ import { n as springs } from "./springs-B2jqskKJ.js";
5
5
  import { t as isApplePlatform } from "./isApplePlatform-B1ju6F5B.js";
6
- import { i as project, n as rubberBandInverse, r as rubberBandSlope, t as rubberBand } from "./rubberBand-DecgmtDj.js";
7
- import { c as createRegionPaneSlot, f as registerPropsRegion, h as slideNextOnRelease, i as registerResizableChannel, l as edgeAxis, m as slideMotionsOf, o as resizeHandleBeside, p as shownSizeReader, s as createPaneReveal, u as isScriptMotion } from "./resizableChannel-DS0idC-X.js";
6
+ import { i as project, n as rubberBandInverse, r as rubberBandSlope, t as rubberBand } from "./rubberBand-DDapO54w.js";
7
+ import { c as createRegionPaneSlot, f as registerPropsRegion, h as slideNextOnRelease, i as registerResizableChannel, l as edgeAxis, m as slideMotionsOf, o as resizeHandleBeside, p as shownSizeReader, s as createPaneReveal, u as isScriptMotion } from "./resizableChannel-DOmBYh4V.js";
8
8
  import { computed, onBeforeUnmount, onMounted, onScopeDispose, reactive, ref, toValue, watch } from "vue";
9
9
  //#region src/composables/useHotkeys.ts
10
10
  const KEY_ALIASES = {
@@ -1,11 +1,11 @@
1
1
  import { s as registerLayerSurface } from "./useClickableContainer-Dtjg-nkm.js";
2
2
  import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-zwZQglr2.js";
3
- import { n as useLayer } from "./tooltipTriggerRules-DFPKbHJc.js";
4
- import { t as _sfc_main$1 } from "./LayerContentBoundary-D6GcF2T3.js";
3
+ import { n as useLayer } from "./tooltipTriggerRules-Dremu4W9.js";
4
+ import { t as _sfc_main$1 } from "./LayerContentBoundary-C7VZOgMs.js";
5
5
  import { a as trackInteractionModality } from "./interactionModality-4Km2ibsq.js";
6
6
  import { t as useAnnounce } from "./announce-GU01Oix2.js";
7
- import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-CUiq_FYD.js";
8
- import { n as opensOnFocus, r as useHoverLayerDismiss, t as createFocusGate } from "./tooltipFocusRules-BWcYZXu8.js";
7
+ import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-DSA228_-.js";
8
+ import { n as opensOnFocus, r as useHoverLayerDismiss, t as createFocusGate } from "./tooltipFocusRules-BHJUQprJ.js";
9
9
  import { t as renderedText } from "./renderedText-BwJdmps3.js";
10
10
  import { Teleport, computed, createBlock, createCommentVNode, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeProps, onMounted, onScopeDispose, openBlock, renderSlot, shallowRef, toDisplayString, toValue, unref, vShow, watch, withCtx, withDirectives } from "vue";
11
11
  import "../styles/tooltip.css";
@@ -1,4 +1,4 @@
1
- import { c as isTrackedByGroup, r as pressFadeMs, s as PRESS_GROUP_ITEM_ATTRIBUTE, t as PRESSED_ATTRIBUTE } from "./pressFeedback-CPzGi_88.js";
1
+ import { c as isTrackedByGroup, r as pressFadeMs, s as PRESS_GROUP_ITEM_ATTRIBUTE, t as PRESSED_ATTRIBUTE } from "./pressFeedback-BlOSZew9.js";
2
2
  import { t as armClickGuard } from "./clickGuard-C3VmOLhI.js";
3
3
  import { toValue, watch } from "vue";
4
4
  import "../styles/touch-hit-area.css";
@@ -1,5 +1,5 @@
1
1
  import { t as INTERACTIVE_SELECTORS } from "./useClickableContainer-Dtjg-nkm.js";
2
- import { s as currentGesture } from "./layerDepth-D-80Ay8B.js";
2
+ import { s as currentGesture } from "./layerDepth-c3jUndA2.js";
3
3
  import { a as trackInteractionModality, i as isTextEntrySincePointer, o as isDisabledControl, s as isTextEntryControl } from "./interactionModality-4Km2ibsq.js";
4
4
  import { onScopeDispose, ref, toValue, watch } from "vue";
5
5
  //#region src/composables/internal/tapRecognizer.ts
@@ -1,7 +1,7 @@
1
- import { t as matchesFocusVisible } from "./tooltipTriggerRules-DFPKbHJc.js";
1
+ import { t as matchesFocusVisible } from "./tooltipTriggerRules-Dremu4W9.js";
2
2
  import { a as trackInteractionModality, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
3
- import { n as tooltipPresentInterestKey } from "./useTooltip-48Smw61m.js";
4
- import { t as _sfc_main$1 } from "./Tooltip-Dwr0XREF.js";
3
+ import { n as tooltipPresentInterestKey } from "./useTooltip-w57yzB7h.js";
4
+ import { t as _sfc_main$1 } from "./Tooltip-sXtW5dTD.js";
5
5
  import { n as useTruncation, t as truncatePlacement } from "./useTruncation-D_T-ezdp.js";
6
6
  import { computed, createBlock, createCommentVNode, defineComponent, openBlock, provide, shallowRef } from "vue";
7
7
  //#region src/Text/TruncationTooltip.vue
@@ -4,8 +4,8 @@ import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
4
4
  import { t as useAnnounce } from "./announce-GU01Oix2.js";
5
5
  import { n as useAsyncSource } from "./useAsyncSource-7GTcK8ep.js";
6
6
  import { t as useCombobox } from "./useCombobox-BbDP75hw.js";
7
- import { t as _sfc_main$3 } from "./Spinner-DEVPDsD0.js";
8
- import { t as createStillPointerGate } from "./stillPointerGate-CrsrgFyo.js";
7
+ import { t as _sfc_main$3 } from "./Spinner-D1adu3uH.js";
8
+ import { t as createStillPointerGate } from "./stillPointerGate-Htiy6uKa.js";
9
9
  import { i as isOptionAction, n as searchResultMessage, r as OptionAction, t as useOptionActionGrid } from "./useOptionActionGrid-C7ibYM_A.js";
10
10
  import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, h, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, openBlock, ref, renderList, renderSlot, toDisplayString, toValue, unref, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
11
11
  import "../styles/layer.css";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@astryx-vue/core",
3
3
  "type": "module",
4
- "version": "0.33.1",
4
+ "version": "0.33.2",
5
5
  "description": "Vue 3 components for the unofficial astryx-vue port of Astryx. Not affiliated with Meta.",
6
6
  "author": "ShenQingchuan",
7
7
  "license": "MIT",
@@ -107,11 +107,22 @@
107
107
  position: absolute;
108
108
  top: 0;
109
109
  left: 0;
110
- width: 0;
110
+
111
+ /* 确定进度的填充铺满整条轨道,用 transform 滑到当前份额:值变化走合成器,
112
+ 页面忙的时候也继续动;动 width 会每帧在主线程布局重绘,跟着卡住。
113
+ --_progress-bar-fill 是已填份额(行内写入),前沿正好落在那里,
114
+ 右到左时按条自己的方向(:dir(rtl))镜像。 */
115
+ width: 100%;
111
116
  height: 100%;
112
117
  border-radius: inherit;
113
118
  background: var(--astryx-progress-bar-fill-background, var(--astryx-color-text-primary, #fff));
114
- transition: width 200ms cubic-bezier(0.24, 1, 0.4, 1);
119
+ transform: translateX(calc(var(--_progress-bar-fill, 0%) - 100%));
120
+ transition: transform 200ms cubic-bezier(0.24, 1, 0.4, 1);
121
+ will-change: transform;
122
+ }
123
+
124
+ .astryx-progress-bar-fill:dir(rtl) {
125
+ transform: translateX(calc(100% - var(--_progress-bar-fill, 0%)));
115
126
  }
116
127
 
117
128
  .astryx-progress-bar[data-variant='success'] .astryx-progress-bar-fill {
@@ -159,6 +170,7 @@
159
170
 
160
171
  .astryx-progress-bar[data-indeterminate='true'] .astryx-progress-bar-fill {
161
172
  width: 40%;
173
+ will-change: auto;
162
174
  animation: astryx-progress-bar-indeterminate 1.5s ease-in-out infinite;
163
175
  }
164
176
 
@@ -184,21 +196,73 @@
184
196
  }
185
197
  }
186
198
 
199
+ /* 手指下,数值变化按 UIProgressView 的 setProgress(_:animated:) 走:
200
+ 线性,时长是整条轨道的时长乘以这次移动的份额(--_progress-bar-move),
201
+ 再乘主题节奏,曲线是 --_progress-bar-curve,从填充当前画出的位置起步。
202
+ 大于 0 时填充不短于 --_progress-bar-min(两倍轨道高度),等于 0 时什么都不画。
203
+ --_progress-bar-flip 在 0、1、2 间轮转,把填充错开百分之一像素,
204
+ 让「回到刚离开的值」不会被 CSS 当成过渡的起点而缩短。 */
205
+ @media (pointer: coarse) {
206
+ .astryx-progress-bar-fill {
207
+ transform: translateX(calc(max(var(--_progress-bar-fill, 0%), var(--_progress-bar-min, 0px)) - 100% + var(--_progress-bar-flip, 0) * 0.01px));
208
+ transition-duration: calc(var(--_progress-bar-move, 0ms) * var(--_astryx-motion-tempo, 1));
209
+ transition-timing-function: var(--_progress-bar-curve, linear);
210
+ }
211
+
212
+ .astryx-progress-bar-fill:dir(rtl) {
213
+ transform: translateX(calc(min(calc(100% - var(--_progress-bar-fill, 0%)), calc(100% - var(--_progress-bar-min, 0px))) - var(--_progress-bar-flip, 0) * 0.01px));
214
+ }
215
+
216
+ .astryx-progress-bar-fill[data-empty] {
217
+ opacity: 0;
218
+ }
219
+ }
220
+
221
+ /* 减少动态效果:数值立刻落定;不确定进度条不再滑动,铺满轨道只让不透明度呼吸。 */
187
222
  @media (prefers-reduced-motion: reduce) {
188
223
  .astryx-progress-bar-fill {
189
224
  transition: none;
190
225
  }
191
226
 
192
- .astryx-progress-bar[data-indeterminate='true'] .astryx-progress-bar-fill {
193
- animation-duration: 3s;
227
+ .astryx-progress-bar[data-indeterminate='true'] .astryx-progress-bar-fill,
228
+ :is([dir='rtl'] .astryx-progress-bar[data-indeterminate='true']) .astryx-progress-bar-fill {
229
+ width: 100%;
230
+ transform: none;
231
+ animation-name: astryx-progress-bar-pulse;
232
+ animation-duration: var(--_progress-bar-pulse, 2s);
233
+ animation-timing-function: var(--_progress-bar-pulse-curve, ease-in-out);
234
+ animation-direction: alternate;
235
+ }
236
+ }
237
+
238
+ @keyframes astryx-progress-bar-pulse {
239
+ from {
240
+ opacity: 1;
241
+ }
242
+ to {
243
+ opacity: var(--_progress-bar-pulse-floor, 0.84);
194
244
  }
195
245
  }
196
246
 
197
247
  /* 强制配色会把填充色换成 Canvas,补一圈边让进度还看得见。 */
198
248
  @media (forced-colors: active) {
199
- .astryx-progress-bar-fill {
249
+ /* 强制配色下填充按值定宽、不滑动:轨道的裁剪会切掉滑入的填充的轮廓起点。 */
250
+ .astryx-progress-bar-fill,
251
+ .astryx-progress-bar-fill:dir(rtl) {
252
+ width: var(--_progress-bar-fill, 0%);
253
+ transform: none;
254
+ transition-property: width;
255
+ will-change: auto;
200
256
  outline: 1px solid CanvasText;
201
257
  outline-offset: -1px;
202
258
  }
203
259
  }
260
+
261
+ /* 强制配色加手指:填充按值定宽,布局属性不走触屏动效,新尺寸立刻落定。 */
262
+ @media (forced-colors: active) and (pointer: coarse) {
263
+ .astryx-progress-bar-fill {
264
+ width: calc(max(var(--_progress-bar-fill, 0%), var(--_progress-bar-min, 0px)) + var(--_progress-bar-flip, 0) * 0.01px);
265
+ transition-duration: 0s;
266
+ }
267
+ }
204
268
  }
@@ -1,13 +1,70 @@
1
1
  @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
2
 
3
3
  @layer astryx.components {
4
+ /* 脉动从 0.25 分十级升到 0.925 再倒放回来(alternate)。十级写成「停住加 0.01% 的斜坡」,
5
+ 配线性时间函数,而不是 steps():WebKit 从不把 steps() 动画放到合成器上,
6
+ Safari 会在主线程重绘、脚本一跑就卡住。这样每个引擎都能离开主线程动画,
7
+ 同一时刻取到同样的值。 */
4
8
  @keyframes astryx-skeleton-fade {
5
- from {
9
+ 0% {
6
10
  opacity: 0.25;
7
11
  }
8
-
9
- to {
10
- opacity: 1;
12
+ 9.99% {
13
+ opacity: 0.25;
14
+ }
15
+ 10% {
16
+ opacity: 0.325;
17
+ }
18
+ 19.99% {
19
+ opacity: 0.325;
20
+ }
21
+ 20% {
22
+ opacity: 0.4;
23
+ }
24
+ 29.99% {
25
+ opacity: 0.4;
26
+ }
27
+ 30% {
28
+ opacity: 0.475;
29
+ }
30
+ 39.99% {
31
+ opacity: 0.475;
32
+ }
33
+ 40% {
34
+ opacity: 0.55;
35
+ }
36
+ 49.99% {
37
+ opacity: 0.55;
38
+ }
39
+ 50% {
40
+ opacity: 0.625;
41
+ }
42
+ 59.99% {
43
+ opacity: 0.625;
44
+ }
45
+ 60% {
46
+ opacity: 0.7;
47
+ }
48
+ 69.99% {
49
+ opacity: 0.7;
50
+ }
51
+ 70% {
52
+ opacity: 0.775;
53
+ }
54
+ 79.99% {
55
+ opacity: 0.775;
56
+ }
57
+ 80% {
58
+ opacity: 0.85;
59
+ }
60
+ 89.99% {
61
+ opacity: 0.85;
62
+ }
63
+ 90% {
64
+ opacity: 0.925;
65
+ }
66
+ 100% {
67
+ opacity: 0.925;
11
68
  }
12
69
  }
13
70
 
@@ -17,7 +74,7 @@
17
74
  opacity: 0.25;
18
75
  animation-name: astryx-skeleton-fade;
19
76
  animation-duration: var(--astryx-duration-medium-max, 550ms);
20
- animation-timing-function: steps(10, end);
77
+ animation-timing-function: linear;
21
78
  animation-iteration-count: infinite;
22
79
  animation-direction: alternate;
23
80
  }
@@ -1,12 +1,14 @@
1
1
  @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
2
 
3
- @keyframes astryx-spinner-dash {
3
+ /* 一次迭代转 100 圈:浏览器在迭代边界会唤醒主线程,这样每 100 圈才唤醒一次。
4
+ 每圈 360 度,看上去还是同一个圈。 */
5
+ @keyframes astryx-spinner-rotate {
4
6
  from {
5
- stroke-dashoffset: 0;
7
+ transform: rotate(0deg);
6
8
  }
7
9
 
8
10
  to {
9
- stroke-dashoffset: calc(var(--_spinner-ring-diameter) * -3.141592653589793);
11
+ transform: rotate(36000deg);
10
12
  }
11
13
  }
12
14
 
@@ -92,11 +94,20 @@
92
94
 
93
95
  .astryx-spinner__ring {
94
96
  display: block;
97
+ grid-area: 1 / 1;
95
98
  width: var(--_spinner-box-size, 100%);
96
99
  height: var(--_spinner-box-size, 100%);
97
100
  overflow: visible;
98
101
  }
99
102
 
103
+ /* 主题的 spinner 指示图形占满加载圈的盒子,和圆环在同一个网格格子里。 */
104
+ .astryx-spinner__themed {
105
+ display: block;
106
+ grid-area: 1 / 1;
107
+ width: 100%;
108
+ height: 100%;
109
+ }
110
+
100
111
  .astryx-spinner__track,
101
112
  .astryx-spinner__arc {
102
113
  fill: none;
@@ -118,15 +129,27 @@
118
129
  stroke-dasharray:
119
130
  calc(var(--_spinner-ring-diameter) * 3.141592653589793 * var(--astryx-spinner-arc-fraction))
120
131
  calc(var(--_spinner-ring-diameter) * 3.141592653589793 * (1 - var(--astryx-spinner-arc-fraction)));
121
- animation-name: astryx-spinner-dash;
122
- animation-duration: var(--astryx-duration-slow-min, 525ms);
132
+ }
133
+
134
+ /* 转子是和圆环框同大的 HTML 盒子,绕圆环中心转。只动 transform,走合成器,
135
+ 脚本跑着的时候也照转;动 stroke-dashoffset 会每帧在主线程重绘,跟着卡住。
136
+ 提前声明合成层,Safari 重设起点后才不会退回主线程。 */
137
+ .astryx-spinner__rotor {
138
+ display: block;
139
+ grid-area: 1 / 1;
140
+ width: var(--_spinner-box-size, 100%);
141
+ height: var(--_spinner-box-size, 100%);
142
+ will-change: transform;
143
+ animation-name: astryx-spinner-rotate;
144
+ animation-duration: calc(var(--_astryx-pre-tempo-duration-slow-min, var(--astryx-duration-slow-min, 525ms)) * 100);
123
145
  animation-timing-function: linear;
124
146
  animation-iteration-count: infinite;
125
147
  }
126
148
 
149
+ /* 减少动态效果只放慢、不停下:不动的圈看起来像坏了。 */
127
150
  @media (prefers-reduced-motion: reduce) {
128
- .astryx-spinner__arc {
129
- animation-duration: 3s;
151
+ .astryx-spinner__rotor {
152
+ animation-duration: calc(3s * 100);
130
153
  }
131
154
  }
132
155
  }
@@ -1,166 +0,0 @@
1
- import { t as _sfc_main$1 } from "./Tooltip-Dwr0XREF.js";
2
- import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, renderList, toDisplayString, unref, useAttrs, useId, withCtx } from "vue";
3
- import "../styles/visually-hidden.css";
4
- import "../styles/progress-bar.css";
5
- //#region src/ProgressBar/ProgressBar.vue
6
- const _hoisted_1 = [
7
- "data-size",
8
- "data-variant",
9
- "data-indeterminate",
10
- "data-disabled"
11
- ];
12
- const _hoisted_2 = {
13
- key: 0,
14
- class: "astryx-progress-bar-header"
15
- };
16
- const _hoisted_3 = ["id"];
17
- const _hoisted_4 = {
18
- key: 1,
19
- class: "astryx-progress-bar-value",
20
- "aria-hidden": "true"
21
- };
22
- const _hoisted_5 = ["id"];
23
- const _hoisted_6 = { class: "astryx-progress-bar-rail" };
24
- const _hoisted_7 = [
25
- "aria-labelledby",
26
- "aria-describedby",
27
- "aria-valuemin",
28
- "aria-valuemax",
29
- "aria-valuenow",
30
- "aria-valuetext"
31
- ];
32
- const _hoisted_8 = [
33
- "aria-label",
34
- "data-placement",
35
- "data-variant"
36
- ];
37
- const _hoisted_9 = ["id"];
38
- const _sfc_main = /*@__PURE__*/ defineComponent({
39
- name: "AstryxProgressBar",
40
- inheritAttrs: false,
41
- __name: "ProgressBar",
42
- props: {
43
- value: { default: 0 },
44
- min: { default: 0 },
45
- max: { default: 100 },
46
- size: { default: "md" },
47
- variant: { default: "accent" },
48
- label: {},
49
- isLabelHidden: {
50
- type: Boolean,
51
- default: false
52
- },
53
- description: {},
54
- isIndeterminate: { type: Boolean },
55
- isDisabled: {
56
- type: Boolean,
57
- default: false
58
- },
59
- showValue: { type: Boolean },
60
- hasValueLabel: { type: Boolean },
61
- valueText: {},
62
- formatValueLabel: {},
63
- marks: {},
64
- width: {}
65
- },
66
- setup(__props) {
67
- const props = __props;
68
- const attrs = useAttrs();
69
- const generatedId = `astryx-progress-bar-${useId()}`;
70
- const rootId = computed(() => attrs.id ?? generatedId);
71
- const labelId = computed(() => `${rootId.value}-label`);
72
- const descriptionId = computed(() => props.description ? `${rootId.value}-description` : void 0);
73
- function finite(value, fallback) {
74
- return Number.isFinite(value) ? value : fallback;
75
- }
76
- const min = computed(() => finite(Number(props.min), 0));
77
- const max = computed(() => finite(Number(props.max), 0));
78
- const value = computed(() => finite(Number(props.value), 0));
79
- const clamped = computed(() => Math.max(min.value, Math.min(max.value, value.value)));
80
- const percentage = computed(() => {
81
- if (max.value === min.value) return 0;
82
- return (clamped.value - min.value) / (max.value - min.value) * 100;
83
- });
84
- const fillWidth = computed(() => ({ width: `${percentage.value}%` }));
85
- const widthStyle = computed(() => ({ width: typeof props.width === "number" ? `${props.width}px` : props.width }));
86
- const showsValue = computed(() => Boolean(props.showValue || props.hasValueLabel));
87
- const displayValue = computed(() => {
88
- if (props.valueText != null) return props.valueText;
89
- if (props.formatValueLabel) return props.formatValueLabel(clamped.value, max.value);
90
- return `${Math.round(percentage.value)}%`;
91
- });
92
- const labelledBy = computed(() => [labelId.value, attrs["aria-labelledby"]].filter(Boolean).join(" ") || void 0);
93
- const describedBy = computed(() => [descriptionId.value, attrs["aria-describedby"]].filter(Boolean).join(" ") || void 0);
94
- const resolvedMarks = computed(() => {
95
- if (props.isIndeterminate || !props.marks) return [];
96
- const span = max.value - min.value;
97
- return props.marks.flatMap((mark, index) => {
98
- if (!Number.isFinite(mark.value) || !mark.label) return [];
99
- const clampedMark = Math.min(max.value, Math.max(min.value, mark.value));
100
- const pct = span === 0 ? 0 : (clampedMark - min.value) / span * 100;
101
- return [{
102
- key: `${mark.value}:${mark.label}:${index}`,
103
- label: mark.label,
104
- pct,
105
- onFill: percentage.value > 0 && pct <= percentage.value
106
- }];
107
- });
108
- });
109
- return (_ctx, _cache) => {
110
- return openBlock(), createElementBlock("div", {
111
- class: normalizeClass(["astryx-progress-bar", unref(attrs).class]),
112
- style: normalizeStyle([widthStyle.value, unref(attrs).style]),
113
- "data-size": __props.size,
114
- "data-variant": __props.variant,
115
- "data-indeterminate": __props.isIndeterminate || void 0,
116
- "data-disabled": __props.isDisabled || void 0
117
- }, [
118
- __props.label && (!__props.isLabelHidden || showsValue.value) ? (openBlock(), createElementBlock("div", _hoisted_2, [__props.label ? (openBlock(), createElementBlock("span", {
119
- key: 0,
120
- id: labelId.value,
121
- class: normalizeClass(["astryx-progress-bar-label", { "astryx-visually-hidden": __props.isLabelHidden }])
122
- }, toDisplayString(__props.label), 11, _hoisted_3)) : createCommentVNode("v-if", true), showsValue.value && !__props.isIndeterminate ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(displayValue.value), 1)) : createCommentVNode("v-if", true)])) : __props.label ? (openBlock(), createElementBlock("span", {
123
- key: 1,
124
- id: labelId.value,
125
- class: "astryx-visually-hidden"
126
- }, toDisplayString(__props.label), 9, _hoisted_5)) : createCommentVNode("v-if", true),
127
- createElementVNode("div", _hoisted_6, [createElementVNode("div", {
128
- class: "astryx-progress-bar-track",
129
- role: "progressbar",
130
- "aria-labelledby": labelledBy.value,
131
- "aria-describedby": describedBy.value,
132
- "aria-valuemin": __props.isIndeterminate ? void 0 : min.value,
133
- "aria-valuemax": __props.isIndeterminate ? void 0 : max.value,
134
- "aria-valuenow": __props.isIndeterminate ? void 0 : clamped.value,
135
- "aria-valuetext": __props.isIndeterminate ? void 0 : displayValue.value
136
- }, [createElementVNode("div", {
137
- class: "astryx-progress-bar-fill",
138
- style: normalizeStyle(__props.isIndeterminate ? void 0 : fillWidth.value)
139
- }, null, 4)], 8, _hoisted_7), (openBlock(true), createElementBlock(Fragment, null, renderList(resolvedMarks.value, (mark) => {
140
- return openBlock(), createBlock(_sfc_main$1, {
141
- key: mark.key,
142
- class: "astryx-progress-bar-mark-anchor",
143
- content: mark.label,
144
- style: normalizeStyle({ insetInlineStart: `${mark.pct}%` })
145
- }, {
146
- default: withCtx(() => [createElementVNode("span", {
147
- class: "astryx-progress-bar-mark",
148
- tabindex: "0",
149
- "aria-label": mark.label,
150
- "data-placement": mark.onFill ? "fill" : "track",
151
- "data-variant": __props.variant
152
- }, null, 8, _hoisted_8)]),
153
- _: 2
154
- }, 1032, ["content", "style"]);
155
- }), 128))]),
156
- __props.description ? (openBlock(), createElementBlock("span", {
157
- key: 2,
158
- id: descriptionId.value,
159
- class: "astryx-progress-bar-description"
160
- }, toDisplayString(__props.description), 9, _hoisted_9)) : createCommentVNode("v-if", true)
161
- ], 14, _hoisted_1);
162
- };
163
- }
164
- });
165
- //#endregion
166
- export { _sfc_main as t };