@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
@@ -0,0 +1,266 @@
1
+ import { o as useComponentMessages } from "./context-B8IEFCDR.js";
2
+ import { t as spinnerMessages } from "./spinner-DVia-eDf.js";
3
+ import { t as useAnnounceRenderedText } from "./announceRenderedText-CslZ0cev.js";
4
+ import { t as useIndicator } from "./useIndicator-PFDBNOvX.js";
5
+ import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeProps, normalizeStyle, onBeforeUnmount, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useSlots, useTemplateRef } from "vue";
6
+ import "../styles/spinner.css";
7
+ //#region src/Spinner/spinnerGeometry.ts
8
+ const RESOLVED_GEOMETRY = ["--_spinner-ring-diameter", "--_spinner-ring-stroke"];
9
+ let registered = false;
10
+ /**
11
+ * 把圆环的直径和描边登记成长度。
12
+ * 这样主题写成 `0` 时,它是 0px,而不是把 `calc()` 里的加法变成非法值。
13
+ * 公开变量不登记,避免整份文档都带着一个初始值。
14
+ */
15
+ function registerSpinnerGeometry() {
16
+ if (registered || typeof CSS === "undefined" || typeof CSS.registerProperty !== "function") return;
17
+ registered = true;
18
+ for (const name of RESOLVED_GEOMETRY) try {
19
+ CSS.registerProperty({
20
+ name,
21
+ syntax: "<length>",
22
+ inherits: true,
23
+ initialValue: "0px"
24
+ });
25
+ } catch {}
26
+ }
27
+ //#endregion
28
+ //#region src/Spinner/SpinnerOwnerContext.ts
29
+ /**
30
+ * 在拥有加载任务的核心组件里为 true:它自己播报这个任务,
31
+ * 所以组合进来的加载圈保持安静。只在 core 内部使用,不从 Spinner/index.ts 导出;
32
+ * 应用代码要让组合的加载圈安静,给它写 `aria-hidden`。
33
+ */
34
+ const spinnerOwnerKey = Symbol("astryx-spinner-owner");
35
+ //#endregion
36
+ //#region src/Spinner/spinnerPhase.ts
37
+ const pending = /* @__PURE__ */ new Set();
38
+ let scheduled = false;
39
+ function pinPendingRings() {
40
+ scheduled = false;
41
+ const animations = [];
42
+ for (const rotor of pending) if (typeof rotor.getAnimations === "function") animations.push(...rotor.getAnimations());
43
+ pending.clear();
44
+ for (const animation of animations) animation.startTime = 0;
45
+ }
46
+ /**
47
+ * 把转子的动画起点钉在文档时间线的 0。
48
+ * 后出现的加载圈因此和先出现的停在同一相位,而不是各自从挂载的那一帧开始。
49
+ */
50
+ function bindSpinnerPhase(rotor) {
51
+ if (typeof rotor.getAnimations !== "function") return () => {};
52
+ pending.add(rotor);
53
+ if (!scheduled) {
54
+ scheduled = true;
55
+ requestAnimationFrame(pinPendingRings);
56
+ }
57
+ return () => {
58
+ pending.delete(rotor);
59
+ };
60
+ }
61
+ //#endregion
62
+ //#region src/Spinner/SpinnerRing.vue
63
+ const _hoisted_1$1 = {
64
+ class: "astryx-spinner__ring",
65
+ width: "0",
66
+ height: "0",
67
+ "aria-hidden": "true",
68
+ focusable: "false"
69
+ };
70
+ const _hoisted_2$1 = ["r", "stroke-width"];
71
+ const _hoisted_3$1 = ["width", "height"];
72
+ const _hoisted_4 = [
73
+ "r",
74
+ "stroke-width",
75
+ "stroke-dasharray"
76
+ ];
77
+ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
78
+ name: "AstryxSpinnerRing",
79
+ __name: "SpinnerRing",
80
+ props: {
81
+ frameSize: {},
82
+ diameter: {},
83
+ stroke: {},
84
+ arcLength: {},
85
+ gapLength: {}
86
+ },
87
+ setup(__props) {
88
+ const ThemeSpinner = useIndicator("spinner");
89
+ let releasePhase;
90
+ /** 转子是自带合成层的 HTML 盒子:弧在里面转,轨道留在外面不动。 */
91
+ function onRotor(element) {
92
+ releasePhase?.();
93
+ releasePhase = void 0;
94
+ if (element instanceof HTMLElement) releasePhase = bindSpinnerPhase(element);
95
+ }
96
+ onBeforeUnmount(() => releasePhase?.());
97
+ return (_ctx, _cache) => {
98
+ return unref(ThemeSpinner) ? (openBlock(), createBlock(resolveDynamicComponent(unref(ThemeSpinner)), {
99
+ key: 0,
100
+ state: "busy",
101
+ class: "astryx-spinner__themed"
102
+ })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
103
+ createCommentVNode(" 轨道按属性是零尺寸:没有样式表时,转子里的弧自己撑满盒子,而不是两个圆并排。 "),
104
+ (openBlock(), createElementBlock("svg", _hoisted_1$1, [createElementVNode("circle", {
105
+ class: "astryx-spinner__track",
106
+ cx: "50%",
107
+ cy: "50%",
108
+ r: __props.diameter / 2,
109
+ "stroke-width": __props.stroke
110
+ }, null, 8, _hoisted_2$1)])),
111
+ createElementVNode("span", {
112
+ ref: onRotor,
113
+ class: "astryx-spinner__rotor",
114
+ "aria-hidden": "true"
115
+ }, [(openBlock(), createElementBlock("svg", {
116
+ class: "astryx-spinner__ring",
117
+ width: __props.frameSize,
118
+ height: __props.frameSize,
119
+ focusable: "false"
120
+ }, [createElementVNode("circle", {
121
+ class: "astryx-spinner__arc",
122
+ cx: "50%",
123
+ cy: "50%",
124
+ r: __props.diameter / 2,
125
+ "stroke-width": __props.stroke,
126
+ "stroke-dasharray": `${__props.arcLength} ${__props.gapLength}`
127
+ }, null, 8, _hoisted_4)], 8, _hoisted_3$1))], 512)
128
+ ], 64));
129
+ };
130
+ }
131
+ });
132
+ //#endregion
133
+ //#region src/Spinner/Spinner.vue
134
+ const _hoisted_1 = ["data-size", "data-shade"];
135
+ const _hoisted_2 = [
136
+ "role",
137
+ "aria-label",
138
+ "aria-labelledby"
139
+ ];
140
+ const _hoisted_3 = [
141
+ "role",
142
+ "data-size",
143
+ "data-shade",
144
+ "aria-label"
145
+ ];
146
+ const ARC_FRACTION = .375;
147
+ const _sfc_main = /*@__PURE__*/ defineComponent({
148
+ name: "AstryxSpinner",
149
+ inheritAttrs: false,
150
+ __name: "Spinner",
151
+ props: {
152
+ size: { default: "md" },
153
+ shade: { default: "default" },
154
+ label: {}
155
+ },
156
+ setup(__props) {
157
+ const props = __props;
158
+ const RING = {
159
+ sm: {
160
+ diameter: 10,
161
+ stroke: 2
162
+ },
163
+ md: {
164
+ diameter: 14,
165
+ stroke: 3
166
+ },
167
+ lg: {
168
+ diameter: 18,
169
+ stroke: 3
170
+ },
171
+ xl: {
172
+ diameter: 28,
173
+ stroke: 4
174
+ }
175
+ };
176
+ registerSpinnerGeometry();
177
+ const attrs = useAttrs();
178
+ const slots = useSlots();
179
+ const messages = useComponentMessages({ spinner: spinnerMessages });
180
+ const labelId = `astryx-spinner-label-${useId()}`;
181
+ const hasLabel = computed(() => Boolean(props.label) || Boolean(slots.label));
182
+ const ariaLabel = computed(() => attrs["aria-label"]);
183
+ const namedByVisibleLabel = computed(() => Boolean(props.label) && !ariaLabel.value);
184
+ const ringLabelledBy = computed(() => namedByVisibleLabel.value ? labelId : void 0);
185
+ const ringAriaLabel = computed(() => {
186
+ if (namedByVisibleLabel.value) return void 0;
187
+ return ariaLabel.value ?? props.label ?? messages.value.spinner.loading;
188
+ });
189
+ const ringRole = computed(() => attrs.role ?? "progressbar");
190
+ const rootAttrs = computed(() => Object.fromEntries(Object.entries(attrs).filter(([key]) => key !== "aria-label" && key !== "style" && key !== "role")));
191
+ const isComposedInOwner = inject(spinnerOwnerKey, false);
192
+ const ringEl = useTemplateRef("ring");
193
+ function announces() {
194
+ if (isComposedInOwner || ringRole.value !== "progressbar") return false;
195
+ if (attrs["aria-hidden"] === true || attrs["aria-hidden"] === "true") return false;
196
+ return ringEl.value?.closest("[aria-hidden=\"true\"]") == null;
197
+ }
198
+ const announcedName = computed(() => ariaLabel.value ?? props.label ?? messages.value.spinner.loading);
199
+ useAnnounceRenderedText(ringEl, announces, {
200
+ skipFirstRender: true,
201
+ fallbackText: announcedName
202
+ });
203
+ const geometry = computed(() => RING[props.size]);
204
+ const frameSize = computed(() => geometry.value.diameter + geometry.value.stroke * 2);
205
+ const arcLength = computed(() => Math.PI * geometry.value.diameter * ARC_FRACTION);
206
+ const gapLength = computed(() => Math.PI * geometry.value.diameter - arcLength.value);
207
+ const boxStyle = computed(() => ({
208
+ width: `var(--_spinner-box-size, ${frameSize.value}px)`,
209
+ height: `var(--_spinner-box-size, ${frameSize.value}px)`
210
+ }));
211
+ const callerStyle = computed(() => attrs.style);
212
+ const rootStyle = computed(() => [callerStyle.value, hasLabel.value ? void 0 : boxStyle.value]);
213
+ return (_ctx, _cache) => {
214
+ return hasLabel.value ? (openBlock(), createElementBlock("div", mergeProps({ key: 0 }, rootAttrs.value, {
215
+ class: "astryx-spinner astryx-spinner-group",
216
+ "data-size": __props.size,
217
+ "data-shade": __props.shade,
218
+ style: callerStyle.value
219
+ }), [createElementVNode("span", {
220
+ ref: "ring",
221
+ class: "astryx-spinner-box",
222
+ role: ringRole.value,
223
+ "aria-label": ringAriaLabel.value,
224
+ "aria-labelledby": ringLabelledBy.value,
225
+ style: normalizeStyle(boxStyle.value)
226
+ }, [createVNode(_sfc_main$1, {
227
+ "frame-size": frameSize.value,
228
+ diameter: geometry.value.diameter,
229
+ stroke: geometry.value.stroke,
230
+ "arc-length": arcLength.value,
231
+ "gap-length": gapLength.value
232
+ }, null, 8, [
233
+ "frame-size",
234
+ "diameter",
235
+ "stroke",
236
+ "arc-length",
237
+ "gap-length"
238
+ ])], 12, _hoisted_2), createElementVNode("span", {
239
+ id: labelId,
240
+ class: "astryx-spinner-label"
241
+ }, [renderSlot(_ctx.$slots, "label", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])])], 16, _hoisted_1)) : (openBlock(), createElementBlock("span", mergeProps({ key: 1 }, rootAttrs.value, {
242
+ ref: "ring",
243
+ class: "astryx-spinner astryx-spinner-box",
244
+ role: ringRole.value,
245
+ "data-size": __props.size,
246
+ "data-shade": __props.shade,
247
+ "aria-label": ringAriaLabel.value,
248
+ style: rootStyle.value
249
+ }), [createVNode(_sfc_main$1, {
250
+ "frame-size": frameSize.value,
251
+ diameter: geometry.value.diameter,
252
+ stroke: geometry.value.stroke,
253
+ "arc-length": arcLength.value,
254
+ "gap-length": gapLength.value
255
+ }, null, 8, [
256
+ "frame-size",
257
+ "diameter",
258
+ "stroke",
259
+ "arc-length",
260
+ "gap-length"
261
+ ])], 16, _hoisted_3));
262
+ };
263
+ }
264
+ });
265
+ //#endregion
266
+ export { spinnerOwnerKey as n, _sfc_main as t };
@@ -1,3 +1,3 @@
1
1
  import { a as StackDirection, c as StackItemProps, d as StackProps, f as StackSizeValue, i as StackCrossAlignment, l as StackItemSize, m as VStackProps, n as SpacingStep, o as StackElement, p as StackWrap, r as StackAlignment, s as StackItemCrossAlignSelf, t as HStackProps, u as StackMainAlignment } from "../types-BTk0WZ0b.js";
2
- import { i as _default, n as _default$2, r as _default$1, t as _default$3 } from "../index-BB9acgK8.js";
2
+ import { i as _default, n as _default$2, r as _default$1, t as _default$3 } from "../index-D7ShT2c-.js";
3
3
  export { _default as HStack, type HStackProps, type SpacingStep, _default$1 as Stack, type StackAlignment, type StackCrossAlignment, type StackDirection, type StackElement, _default$2 as StackItem, type StackItemCrossAlignSelf, type StackItemProps, type StackItemSize, type StackMainAlignment, type StackProps, type StackSizeValue, type StackWrap, _default$3 as VStack, type VStackProps };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../StatusDot-C4_Zj3oZ.js";
1
+ import { t as _sfc_main } from "../StatusDot-D3z-WEGn.js";
2
2
  export { _sfc_main as StatusDot };
@@ -1,4 +1,4 @@
1
- import { t as _sfc_main$1 } from "./Tooltip-Dwr0XREF.js";
1
+ import { t as _sfc_main$1 } from "./Tooltip-sXtW5dTD.js";
2
2
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, normalizeClass, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, toRaw, useSlots, withCtx } from "vue";
3
3
  import "../styles/status-dot.css";
4
4
  //#region src/StatusDot/StatusDot.vue
@@ -1,2 +1,2 @@
1
- import { a as StepProps, c as StepperCollapsedVariant, d as StepperIndicatorPosition, f as StepperOrientation, i as StepProgress, l as StepperDensity, m as StepperSlots, n as _default, o as StepSlots, p as StepperProps, r as StepIndicator, s as StepStatus, t as _default$1, u as StepperHorizontalOptions } from "../index-Q1oG9yIT.js";
1
+ import { a as StepProps, c as StepperCollapsedVariant, d as StepperIndicatorPosition, f as StepperOrientation, i as StepProgress, l as StepperDensity, m as StepperSlots, n as _default, o as StepSlots, p as StepperProps, r as StepIndicator, s as StepStatus, t as _default$1, u as StepperHorizontalOptions } from "../index-Ak1b0V24.js";
2
2
  export { _default as Step, type StepIndicator, type StepProgress, type StepProps, type StepSlots, type StepStatus, _default$1 as Stepper, type StepperCollapsedVariant, type StepperDensity, type StepperHorizontalOptions, type StepperIndicatorPosition, type StepperOrientation, type StepperProps, type StepperSlots };
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main, t as _sfc_main$1 } from "../Stepper-C3ZFN-Gp.js";
1
+ import { n as _sfc_main, t as _sfc_main$1 } from "../Stepper-CePOs80C.js";
2
2
  export { _sfc_main as Step, _sfc_main$1 as Stepper };
@@ -1,10 +1,10 @@
1
- import { t as usePressFeedback } from "./usePressFeedback-BuyFZkQO.js";
1
+ import { t as usePressFeedback } from "./usePressFeedback-cxyksfAD.js";
2
2
  import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
3
3
  import { t as _sfc_main$3 } from "./Icon-Dk0jccgU.js";
4
4
  import { t as _sfc_main$4 } from "./VisuallyHidden-cpmsV-0M.js";
5
5
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
6
- import { t as stepperMessages } from "./stepper-BMSGF96H.js";
7
- import { Comment, Fragment, Text, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, onMounted, onUnmounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useTemplateRef, watch, withCtx } from "vue";
6
+ import { t as stepperMessages } from "./stepper-D7L_3xxU.js";
7
+ import { Comment, Fragment, Text, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, onMounted, onUnmounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useTemplateRef, watch, withCtx } from "vue";
8
8
  import "../styles/stepper.css";
9
9
  import "../styles/stepper-track.css";
10
10
  //#region src/Stepper/context.ts
@@ -71,7 +71,8 @@ const _hoisted_1$2 = [
71
71
  "data-glyph",
72
72
  "data-progress",
73
73
  "data-status",
74
- "data-disabled"
74
+ "data-disabled",
75
+ "data-selected"
75
76
  ];
76
77
  const _hoisted_2$2 = {
77
78
  key: 3,
@@ -89,6 +90,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
89
90
  numberLabel: {},
90
91
  status: {},
91
92
  isDisabled: { type: Boolean },
93
+ selected: { type: Boolean },
92
94
  progress: {}
93
95
  },
94
96
  setup(__props) {
@@ -100,6 +102,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
100
102
  "data-progress": __props.progress,
101
103
  "data-status": __props.status,
102
104
  "data-disabled": __props.isDisabled || void 0,
105
+ "data-selected": __props.selected ? "selected" : void 0,
103
106
  "aria-hidden": "true"
104
107
  }, [_ctx.$slots.icon ? renderSlot(_ctx.$slots, "icon", {}, void 0, void 0, 0) : __props.glyph === "warning" || __props.glyph === "error" ? (openBlock(), createBlock(_sfc_main$3, {
105
108
  key: 1,
@@ -143,6 +146,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
143
146
  //#region src/Stepper/Step.vue
144
147
  const _hoisted_1$1 = [
145
148
  "aria-current",
149
+ "data-selected",
146
150
  "data-density",
147
151
  "data-indicator-position",
148
152
  "data-orientation",
@@ -152,7 +156,7 @@ const _hoisted_1$1 = [
152
156
  ];
153
157
  const _hoisted_2$1 = ["data-filled"];
154
158
  const _hoisted_3$1 = {
155
- key: 1,
159
+ key: 2,
156
160
  class: "astryx-step-rail"
157
161
  };
158
162
  const _hoisted_4$1 = ["data-filled"];
@@ -168,17 +172,23 @@ const _hoisted_10 = { class: "astryx-step-row" };
168
172
  const _hoisted_11 = { class: "astryx-step-label-row" };
169
173
  const _hoisted_12 = [
170
174
  "data-disabled",
175
+ "data-selected",
171
176
  "data-progress",
172
177
  "data-status"
173
178
  ];
174
179
  const _hoisted_13 = { class: "astryx-step-optional" };
175
- const _hoisted_14 = ["data-progress", "data-status"];
180
+ const _hoisted_14 = [
181
+ "id",
182
+ "data-progress",
183
+ "data-status"
184
+ ];
176
185
  const _hoisted_15 = {
177
186
  key: 0,
178
187
  class: "astryx-step-content"
179
188
  };
180
189
  const _sfc_main$1 = /*@__PURE__*/ defineComponent({
181
190
  name: "AstryxStep",
191
+ inheritAttrs: false,
182
192
  __name: "Step",
183
193
  props: {
184
194
  step: {},
@@ -207,6 +217,8 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
207
217
  return true;
208
218
  }) ?? false;
209
219
  }
220
+ const attrs = useAttrs();
221
+ const descriptionId = useId();
210
222
  const stepper = useStepperContext();
211
223
  const messages = useComponentMessages({ stepper: stepperMessages });
212
224
  const { pressableProps } = usePressFeedback({ hasOverlay: false });
@@ -256,6 +268,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
256
268
  if (props.status === "success" || progress.value === "completed") return messages.value.stepper.status.completed;
257
269
  return null;
258
270
  });
271
+ const compactStatus = computed(() => props.isDisabled ? messages.value.stepper.status.unavailable : null);
259
272
  function activate() {
260
273
  if (!isClickable.value) return;
261
274
  stepper.select.value?.(props.step);
@@ -270,88 +283,45 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
270
283
  }), (record) => stepper.register(record), { immediate: true });
271
284
  onUnmounted(() => stepper.unregister(props.step));
272
285
  return (_ctx, _cache) => {
273
- return openBlock(), createElementBlock("li", {
286
+ return openBlock(), createElementBlock("li", mergeProps(unref(attrs), {
274
287
  class: "astryx-step",
275
288
  "aria-current": progress.value === "in-progress" ? "step" : void 0,
289
+ "data-selected": progress.value === "in-progress" ? "selected" : void 0,
276
290
  "data-density": density.value,
277
291
  "data-indicator-position": indicatorPosition.value,
278
292
  "data-orientation": orientation.value,
279
293
  "data-glyph": glyph.value,
280
294
  "data-progress": progress.value,
281
295
  "data-status": __props.status
282
- }, [indicatorPosition.value === "separated" || collapsed.value ? (openBlock(), createElementBlock("span", {
283
- key: 0,
284
- class: "astryx-step-bar",
285
- "data-filled": leadFilled.value || void 0,
286
- style: normalizeStyle(fillVars(barTiming.value))
287
- }, null, 12, _hoisted_2$1)) : orientation.value === "vertical" ? (openBlock(), createElementBlock("span", _hoisted_3$1, [
288
- createElementVNode("span", {
289
- class: "astryx-step-connector astryx-step-connector-lead",
290
- "data-filled": leadFilled.value || void 0,
291
- style: normalizeStyle(fillVars(leadTiming.value))
292
- }, null, 12, _hoisted_4$1),
293
- isRailMarker.value ? (openBlock(), createBlock(_sfc_main$2, {
296
+ }), [
297
+ indicatorPosition.value === "separated" || collapsed.value ? (openBlock(), createElementBlock("span", {
294
298
  key: 0,
295
- glyph: glyph.value,
296
- "number-label": numberLabel.value,
297
- status: __props.status,
298
- "is-disabled": __props.isDisabled,
299
- progress: progress.value
300
- }, createSlots({ _: 2 }, [_ctx.$slots.icon ? {
301
- name: "icon",
302
- fn: withCtx(() => [renderSlot(_ctx.$slots, "icon")]),
303
- key: "0"
304
- } : void 0]), 1032, [
305
- "glyph",
306
- "number-label",
307
- "status",
308
- "is-disabled",
309
- "progress"
310
- ])) : createCommentVNode("v-if", true),
311
- createElementVNode("span", {
312
- class: "astryx-step-connector astryx-step-connector-trail",
313
- "data-filled": trailFilled.value || void 0,
314
- style: normalizeStyle(fillVars(trailTiming.value))
315
- }, null, 12, _hoisted_5$1)
316
- ])) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_6$1, [(openBlock(), createBlock(resolveDynamicComponent(hasControl.value ? "button" : "div"), mergeProps(hasControl.value ? unref(pressableProps) : void 0, {
317
- class: "astryx-step-control",
318
- "aria-label": hasControl.value ? accessibleName.value : void 0,
319
- "aria-disabled": hasControl.value && __props.isDisabled ? "true" : void 0,
320
- type: hasControl.value ? "button" : void 0,
321
- onClick: activate
322
- }), {
323
- default: withCtx(() => [
324
- isTrack.value ? (openBlock(), createElementBlock("span", _hoisted_7$1, [
325
- createElementVNode("span", {
326
- class: "astryx-step-connector astryx-step-connector-lead",
327
- "data-filled": leadFilled.value || void 0,
328
- style: normalizeStyle(fillVars(leadTiming.value))
329
- }, null, 12, _hoisted_8$1),
330
- createVNode(_sfc_main$2, {
331
- glyph: glyph.value,
332
- "number-label": numberLabel.value,
333
- status: __props.status,
334
- "is-disabled": __props.isDisabled,
335
- progress: progress.value
336
- }, createSlots({ _: 2 }, [_ctx.$slots.icon ? {
337
- name: "icon",
338
- fn: withCtx(() => [renderSlot(_ctx.$slots, "icon")]),
339
- key: "0"
340
- } : void 0]), 1032, [
341
- "glyph",
342
- "number-label",
343
- "status",
344
- "is-disabled",
345
- "progress"
346
- ]),
347
- createElementVNode("span", {
348
- class: "astryx-step-connector astryx-step-connector-trail",
349
- "data-filled": trailFilled.value || void 0,
350
- style: normalizeStyle(fillVars(trailTiming.value))
351
- }, null, 12, _hoisted_9$1)
352
- ])) : createCommentVNode("v-if", true),
353
- createElementVNode("span", _hoisted_10, [!isTrack.value && !isRailMarker.value ? (openBlock(), createBlock(_sfc_main$2, {
299
+ class: "astryx-step-bar",
300
+ "data-filled": leadFilled.value || void 0,
301
+ style: normalizeStyle(fillVars(barTiming.value))
302
+ }, null, 12, _hoisted_2$1)) : createCommentVNode("v-if", true),
303
+ collapsed.value ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
304
+ createVNode(_sfc_main$4, null, {
305
+ default: withCtx(() => [createTextVNode(toDisplayString(__props.label), 1)]),
306
+ _: 1
307
+ }),
308
+ hiddenStatus.value ? (openBlock(), createBlock(_sfc_main$4, { key: 0 }, {
309
+ default: withCtx(() => [createTextVNode(toDisplayString(hiddenStatus.value), 1)]),
310
+ _: 1
311
+ })) : createCommentVNode("v-if", true),
312
+ compactStatus.value ? (openBlock(), createBlock(_sfc_main$4, { key: 1 }, {
313
+ default: withCtx(() => [createTextVNode(toDisplayString(compactStatus.value), 1)]),
314
+ _: 1
315
+ })) : createCommentVNode("v-if", true)
316
+ ], 64)) : orientation.value === "vertical" ? (openBlock(), createElementBlock("span", _hoisted_3$1, [
317
+ createElementVNode("span", {
318
+ class: "astryx-step-connector astryx-step-connector-lead",
319
+ "data-filled": leadFilled.value || void 0,
320
+ style: normalizeStyle(fillVars(leadTiming.value))
321
+ }, null, 12, _hoisted_4$1),
322
+ isRailMarker.value ? (openBlock(), createBlock(_sfc_main$2, {
354
323
  key: 0,
324
+ selected: progress.value === "in-progress",
355
325
  glyph: glyph.value,
356
326
  "number-label": numberLabel.value,
357
327
  status: __props.status,
@@ -362,38 +332,114 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
362
332
  fn: withCtx(() => [renderSlot(_ctx.$slots, "icon")]),
363
333
  key: "0"
364
334
  } : void 0]), 1032, [
335
+ "selected",
365
336
  "glyph",
366
337
  "number-label",
367
338
  "status",
368
339
  "is-disabled",
369
340
  "progress"
370
- ])) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_11, [
371
- createElementVNode("span", {
372
- class: "astryx-step-label",
373
- "data-disabled": __props.isDisabled || void 0,
341
+ ])) : createCommentVNode("v-if", true),
342
+ createElementVNode("span", {
343
+ class: "astryx-step-connector astryx-step-connector-trail",
344
+ "data-filled": trailFilled.value || void 0,
345
+ style: normalizeStyle(fillVars(trailTiming.value))
346
+ }, null, 12, _hoisted_5$1)
347
+ ])) : createCommentVNode("v-if", true),
348
+ createElementVNode("div", _hoisted_6$1, [(openBlock(), createBlock(resolveDynamicComponent(hasControl.value ? "button" : "div"), mergeProps(hasControl.value ? unref(pressableProps) : void 0, {
349
+ class: "astryx-step-control",
350
+ "aria-label": hasControl.value ? accessibleName.value : void 0,
351
+ "aria-describedby": hasControl.value && __props.description ? unref(descriptionId) : void 0,
352
+ "aria-disabled": hasControl.value && __props.isDisabled ? "true" : void 0,
353
+ type: hasControl.value ? "button" : void 0,
354
+ onClick: activate
355
+ }), {
356
+ default: withCtx(() => [
357
+ isTrack.value ? (openBlock(), createElementBlock("span", _hoisted_7$1, [
358
+ createElementVNode("span", {
359
+ class: "astryx-step-connector astryx-step-connector-lead",
360
+ "data-filled": leadFilled.value || void 0,
361
+ style: normalizeStyle(fillVars(leadTiming.value))
362
+ }, null, 12, _hoisted_8$1),
363
+ createVNode(_sfc_main$2, {
364
+ selected: progress.value === "in-progress",
365
+ glyph: glyph.value,
366
+ "number-label": numberLabel.value,
367
+ status: __props.status,
368
+ "is-disabled": __props.isDisabled,
369
+ progress: progress.value
370
+ }, createSlots({ _: 2 }, [_ctx.$slots.icon ? {
371
+ name: "icon",
372
+ fn: withCtx(() => [renderSlot(_ctx.$slots, "icon")]),
373
+ key: "0"
374
+ } : void 0]), 1032, [
375
+ "selected",
376
+ "glyph",
377
+ "number-label",
378
+ "status",
379
+ "is-disabled",
380
+ "progress"
381
+ ]),
382
+ createElementVNode("span", {
383
+ class: "astryx-step-connector astryx-step-connector-trail",
384
+ "data-filled": trailFilled.value || void 0,
385
+ style: normalizeStyle(fillVars(trailTiming.value))
386
+ }, null, 12, _hoisted_9$1)
387
+ ])) : createCommentVNode("v-if", true),
388
+ createElementVNode("span", _hoisted_10, [
389
+ !isTrack.value && !isRailMarker.value ? (openBlock(), createBlock(_sfc_main$2, {
390
+ key: 0,
391
+ selected: progress.value === "in-progress",
392
+ glyph: glyph.value,
393
+ "number-label": numberLabel.value,
394
+ status: __props.status,
395
+ "is-disabled": __props.isDisabled,
396
+ progress: progress.value
397
+ }, createSlots({ _: 2 }, [_ctx.$slots.icon ? {
398
+ name: "icon",
399
+ fn: withCtx(() => [renderSlot(_ctx.$slots, "icon")]),
400
+ key: "0"
401
+ } : void 0]), 1032, [
402
+ "selected",
403
+ "glyph",
404
+ "number-label",
405
+ "status",
406
+ "is-disabled",
407
+ "progress"
408
+ ])) : createCommentVNode("v-if", true),
409
+ createCommentVNode(" 指示点和标签之间留一个空格:行是 flex 容器,空白文本不画出来,但文本读法里 \"1 Account\" 不会粘成 \"1Account\"。 "),
410
+ _cache[1] || (_cache[1] = createTextVNode(" " + toDisplayString(" ") + " ", -1)),
411
+ createElementVNode("span", _hoisted_11, [
412
+ createElementVNode("span", {
413
+ class: "astryx-step-label",
414
+ "data-disabled": __props.isDisabled || void 0,
415
+ "data-selected": progress.value === "in-progress" ? "selected" : void 0,
416
+ "data-progress": progress.value,
417
+ "data-status": __props.status
418
+ }, toDisplayString(__props.label), 9, _hoisted_12),
419
+ hiddenStatus.value ? (openBlock(), createBlock(_sfc_main$4, { key: 0 }, {
420
+ default: withCtx(() => [createTextVNode(toDisplayString(hiddenStatus.value), 1)]),
421
+ _: 1
422
+ })) : createCommentVNode("v-if", true),
423
+ __props.isOptional ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [_cache[0] || (_cache[0] = createElementVNode("span", { class: "astryx-step-optional" }, "•", -1)), createElementVNode("span", _hoisted_13, toDisplayString(unref(messages).stepper.optional), 1)], 64)) : createCommentVNode("v-if", true),
424
+ renderSlot(_ctx.$slots, "end")
425
+ ])
426
+ ]),
427
+ __props.description ? (openBlock(), createElementBlock("span", {
428
+ key: 1,
429
+ id: unref(descriptionId),
430
+ class: "astryx-step-description",
374
431
  "data-progress": progress.value,
375
432
  "data-status": __props.status
376
- }, toDisplayString(__props.label), 9, _hoisted_12),
377
- hiddenStatus.value ? (openBlock(), createBlock(_sfc_main$4, { key: 0 }, {
378
- default: withCtx(() => [createTextVNode(toDisplayString(hiddenStatus.value), 1)]),
379
- _: 1
380
- })) : createCommentVNode("v-if", true),
381
- __props.isOptional ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [_cache[0] || (_cache[0] = createElementVNode("span", { class: "astryx-step-optional" }, "•", -1)), createElementVNode("span", _hoisted_13, toDisplayString(unref(messages).stepper.optional), 1)], 64)) : createCommentVNode("v-if", true),
382
- renderSlot(_ctx.$slots, "end")
383
- ])]),
384
- __props.description ? (openBlock(), createElementBlock("span", {
385
- key: 1,
386
- class: "astryx-step-description",
387
- "data-progress": progress.value,
388
- "data-status": __props.status
389
- }, toDisplayString(__props.description), 9, _hoisted_14)) : createCommentVNode("v-if", true)
390
- ]),
391
- _: 3
392
- }, 16, [
393
- "aria-label",
394
- "aria-disabled",
395
- "type"
396
- ])), hasContent(_ctx.$slots.default?.()) ? (openBlock(), createElementBlock("div", _hoisted_15, [renderSlot(_ctx.$slots, "default")])) : createCommentVNode("v-if", true)])], 8, _hoisted_1$1);
433
+ }, toDisplayString(__props.description), 9, _hoisted_14)) : createCommentVNode("v-if", true)
434
+ ]),
435
+ _: 3
436
+ }, 16, [
437
+ "aria-label",
438
+ "aria-describedby",
439
+ "aria-disabled",
440
+ "type"
441
+ ])), hasContent(_ctx.$slots.default?.()) ? (openBlock(), createElementBlock("div", _hoisted_15, [renderSlot(_ctx.$slots, "default")])) : createCommentVNode("v-if", true)])
442
+ ], 16, _hoisted_1$1);
397
443
  };
398
444
  }
399
445
  });
@@ -1,2 +1,2 @@
1
- import { $n as SwitchEmits, Qn as SwitchChangeEvent, Xn as _default, Zn as SwitchChangeAction, ar as SwitchStatus, er as SwitchLabelPosition, ir as SwitchSlots, nr as SwitchProps, or as SwitchStatusType, rr as SwitchSize, tr as SwitchLabelSpacing } from "../index-18IUS3l0.js";
1
+ import { $n as SwitchEmits, Qn as SwitchChangeEvent, Xn as _default, Zn as SwitchChangeAction, ar as SwitchStatus, er as SwitchLabelPosition, ir as SwitchSlots, nr as SwitchProps, or as SwitchStatusType, rr as SwitchSize, tr as SwitchLabelSpacing } from "../index-D65x5ny5.js";
2
2
  export { _default as Switch, type SwitchChangeAction, type SwitchChangeEvent, type SwitchEmits, type SwitchLabelPosition, type SwitchLabelSpacing, type SwitchProps, type SwitchSize, type SwitchSlots, type SwitchStatus, type SwitchStatusType };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Switch-CW27rVAy.js";
1
+ import { t as _sfc_main } from "../Switch-6tQbDX9A.js";
2
2
  export { _sfc_main as Switch };