@astryx-vue/core 0.7.21 → 0.7.23

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 (402) hide show
  1. package/dist/AlertDialog/index.d.ts +1 -1
  2. package/dist/AlertDialog/index.js +1 -1
  3. package/dist/{AlertDialog-C-7Ko5Iz.js → AlertDialog-XBjLwnAX.js} +14 -8
  4. package/dist/AppShell/index.d.ts +1 -1
  5. package/dist/AppShell/index.js +1 -1
  6. package/dist/{AppShell-ggoyfRU8.js → AppShell--izaf9Fx.js} +3 -3
  7. package/dist/Avatar/index.d.ts +1 -1
  8. package/dist/Avatar/index.js +1 -1
  9. package/dist/{Avatar-CP5bJN1n.js → Avatar-cNntRBEo.js} +18 -14
  10. package/dist/AvatarGroup/index.d.ts +1 -1
  11. package/dist/AvatarGroup/index.js +1 -1
  12. package/dist/{AvatarGroup-Caxyz9SE.js → AvatarGroup-DbWLEmi1.js} +2 -2
  13. package/dist/Banner/index.d.ts +1 -1
  14. package/dist/Banner/index.js +1 -1
  15. package/dist/{Banner-DbyQDB6e.js → Banner-ks2zPq6Z.js} +7 -5
  16. package/dist/BottomSheet/index.d.ts +1 -1
  17. package/dist/BottomSheet/index.js +2 -2
  18. package/dist/{BottomSheet-ChaxnQlr.js → BottomSheet-BKeyoL9N.js} +1 -1
  19. package/dist/{BottomSheet-BTFPLoGw.js → BottomSheet-CMukh1iI.js} +1 -1
  20. package/dist/Breadcrumbs/index.js +2 -2
  21. package/dist/{Breadcrumbs-DI7yRoNk.js → Breadcrumbs-k-Xqzbkt.js} +2 -2
  22. package/dist/Button/index.d.ts +1 -1
  23. package/dist/Button/index.js +1 -1
  24. package/dist/{Button-j-zrKX71.js → Button-Byrr4hAu.js} +25 -79
  25. package/dist/ButtonGroup/index.d.ts +1 -1
  26. package/dist/ButtonGroup/index.js +1 -1
  27. package/dist/{ButtonGroup-DnkSZ9a5.js → ButtonGroup-B9sj-OvC.js} +5 -3
  28. package/dist/Calendar/index.d.ts +1 -1
  29. package/dist/Calendar/index.js +1 -1
  30. package/dist/{Calendar-C3ImYBio.js → Calendar-d_uOkvFE.js} +3 -3
  31. package/dist/Card/index.d.ts +1 -1
  32. package/dist/Card/index.js +1 -1
  33. package/dist/{Card-B-I24X9S.js → Card-H4571ZKi.js} +1 -1
  34. package/dist/Carousel/index.js +1 -1
  35. package/dist/{Carousel-BQDdfnXx.js → Carousel-CrRD6YdZ.js} +3 -3
  36. package/dist/Center/index.d.ts +1 -1
  37. package/dist/Center/index.js +1 -1
  38. package/dist/{Center-DVaZaTGP.js → Center-B7FTd7Hw.js} +2 -10
  39. package/dist/Chat/index.d.ts +1 -1
  40. package/dist/Chat/index.js +1 -1
  41. package/dist/{Chat-CNPH-uIM.js → Chat-D0m-tH7R.js} +11 -8
  42. package/dist/CheckboxInput/index.d.ts +1 -1
  43. package/dist/CheckboxInput/index.js +1 -1
  44. package/dist/{CheckboxInput-B5xAXedF.js → CheckboxInput-B4pDfjvr.js} +5 -5
  45. package/dist/CheckboxList/index.d.ts +1 -1
  46. package/dist/CheckboxList/index.js +1 -1
  47. package/dist/{CheckboxList-DtX0fbxc.js → CheckboxList-DtxfdHRI.js} +14 -10
  48. package/dist/Citation/index.js +1 -1
  49. package/dist/{Citation-BDHIuvX3.js → Citation-CCu6QWG7.js} +2 -2
  50. package/dist/ClickableCard/index.d.ts +1 -1
  51. package/dist/ClickableCard/index.js +1 -1
  52. package/dist/{ClickableCard-Co1tB4i-.js → ClickableCard-jEBZbzHE.js} +2 -2
  53. package/dist/Code/index.d.ts +1 -1
  54. package/dist/Code/index.js +1 -1
  55. package/dist/{CodeBlock-D3YjfbpG.js → CodeBlock-C1CyMSCL.js} +17 -6
  56. package/dist/Collapsible/index.d.ts +1 -1
  57. package/dist/Collapsible/index.js +1 -1
  58. package/dist/{Collapsible-DPC_G0Me.js → Collapsible-BsPZ8CoN.js} +2 -2
  59. package/dist/CommandPalette/index.js +1 -1
  60. package/dist/{CommandPalette-CM5VyZTp.js → CommandPalette-0Kg-dJg3.js} +5 -5
  61. package/dist/ComplexSelector/index.d.ts +1 -1
  62. package/dist/ComplexSelector/index.js +1 -1
  63. package/dist/{ComplexSelector-DS23yb98.js → ComplexSelector-wbVUmVh6.js} +6 -6
  64. package/dist/ContextMenu/index.d.ts +1 -1
  65. package/dist/ContextMenu/index.js +2 -2
  66. package/dist/{ContextMenu-DPY3WDdI.js → ContextMenu-CgSIWUYh.js} +7 -7
  67. package/dist/DateInput/index.d.ts +1 -1
  68. package/dist/DateInput/index.js +1 -1
  69. package/dist/{DateInput-Bg_CG9Gq.js → DateInput-CdwODQhw.js} +16 -14
  70. package/dist/DateRangeInput/index.d.ts +1 -1
  71. package/dist/DateRangeInput/index.js +1 -1
  72. package/dist/{DateRangeInput-Dz2AUP0I.js → DateRangeInput-Byb8zqZ2.js} +14 -12
  73. package/dist/DateTimeInput/index.d.ts +1 -1
  74. package/dist/DateTimeInput/index.js +1 -1
  75. package/dist/{DateTimeInput-BVbqFtKG.js → DateTimeInput-lcpORu_P.js} +15 -13
  76. package/dist/Dialog/index.d.ts +1 -1
  77. package/dist/Dialog/index.js +1 -1
  78. package/dist/{DialogHeader-B9o0yEd3.js → DialogHeader-8cIwslf4.js} +26 -17
  79. package/dist/Drawer/index.d.ts +1 -1
  80. package/dist/Drawer/index.js +1 -1
  81. package/dist/{Drawer-D15rGbvd.js → Drawer-B8OuWU7j.js} +1 -1
  82. package/dist/DropdownMenu/index.js +3 -3
  83. package/dist/{DropdownMenu-Ct4EORZS.js → DropdownMenu-BYD5fFzB.js} +7 -7
  84. package/dist/{DropdownMenu-DntJ04S-.js → DropdownMenu-BnY1UWKa.js} +8 -8
  85. package/dist/EmptyState/index.js +1 -1
  86. package/dist/{EmptyState-CVbtVcRb.js → EmptyState-BQrzgh2f.js} +2 -2
  87. package/dist/Field/index.js +3 -3
  88. package/dist/{Field-CQkyMITp.js → Field-DLg-trP2.js} +2 -2
  89. package/dist/{FieldIcon--Qng2Cup.js → FieldIcon-CxTnEb4Y.js} +1 -1
  90. package/dist/{FieldInfoTip-DJjB5GkG.js → FieldInfoTip-xYN2qeQk.js} +3 -3
  91. package/dist/{FieldLabel-D9uEygay.js → FieldLabel-D5_Pap_W.js} +9 -5
  92. package/dist/FieldStatus/index.js +1 -1
  93. package/dist/{FieldStatus-BOtg9PvT.js → FieldStatus-D6Vo_dU5.js} +4 -3
  94. package/dist/FileInput/index.d.ts +1 -1
  95. package/dist/FileInput/index.js +1 -1
  96. package/dist/{FileInput-tLDnY0rm.js → FileInput-D2AOeGrs.js} +9 -9
  97. package/dist/Heading/index.js +1 -1
  98. package/dist/{Heading-CwMG-5tj.js → Heading-D0zL1j5T.js} +1 -1
  99. package/dist/HoverCard/index.d.ts +1 -1
  100. package/dist/HoverCard/index.js +1 -1
  101. package/dist/{HoverCard-SuGMVIZR.js → HoverCard-B9uadAzT.js} +2 -1
  102. package/dist/Icon/index.js +1 -1
  103. package/dist/{Icon-Dosui-zD.js → Icon-CU3412Fe.js} +6 -1
  104. package/dist/IconButton/index.js +1 -1
  105. package/dist/{IconButton-CR5nMj-j.js → IconButton-Dzhukpzc.js} +1 -1
  106. package/dist/Indicator/index.js +1 -1
  107. package/dist/InfoTip/index.d.ts +2 -0
  108. package/dist/InfoTip/index.js +5 -0
  109. package/dist/InfoTip-BlOySTNC.js +95 -0
  110. package/dist/{InputClearButton-C1LdboAn.js → InputClearButton-D9QzdIWM.js} +3 -3
  111. package/dist/InputGroup/index.d.ts +1 -1
  112. package/dist/InputGroup/index.js +1 -1
  113. package/dist/{InputGroup-Tvm7cVv3.js → InputGroup-BleRgc6W.js} +8 -4
  114. package/dist/InternationalizationProvider/index.d.ts +1 -1
  115. package/dist/InternationalizationProvider/index.js +1 -1
  116. package/dist/{InternationalizationProvider-DKNYYBp5.js → InternationalizationProvider-CWJDt7Qb.js} +2 -2
  117. package/dist/{Item-DWMIjN8n.js → Item-X9wgYWoD.js} +1 -1
  118. package/dist/Layout/index.d.ts +1 -1
  119. package/dist/Layout/index.js +2 -2
  120. package/dist/{Layout-JJRCG7Mf.js → Layout-mHcy28k7.js} +3 -2
  121. package/dist/{LayoutPanel-zM5vjrKS.js → LayoutPanel-DpbBk6rj.js} +4 -27
  122. package/dist/Lightbox/index.js +1 -1
  123. package/dist/{Lightbox-Cu56MBXY.js → Lightbox-COttfQHP.js} +3 -3
  124. package/dist/Link/index.d.ts +3 -3
  125. package/dist/Link/index.js +1 -1
  126. package/dist/{Link-YpnthlXS.js → Link-Qhzs2lcO.js} +27 -20
  127. package/dist/List/index.d.ts +1 -1
  128. package/dist/List/index.js +2 -2
  129. package/dist/{ListItem-Cq_nU1YV.js → ListItem-CertehfW.js} +1 -1
  130. package/dist/Markdown/index.d.ts +1 -1
  131. package/dist/Markdown/index.js +1 -1
  132. package/dist/{Markdown-DLeP1tb9.js → Markdown-C42NPUFp.js} +9 -7
  133. package/dist/MetadataList/index.js +1 -1
  134. package/dist/{MetadataList-sNNwmmXa.js → MetadataList-wOngshS5.js} +1 -1
  135. package/dist/MobileNav/index.js +1 -1
  136. package/dist/{MobileNavToggle-DgEwchpj.js → MobileNavToggle-C8KAzhRl.js} +2 -2
  137. package/dist/MoreMenu/index.d.ts +1 -1
  138. package/dist/MoreMenu/index.js +1 -1
  139. package/dist/{MoreMenu-B2RqL8Dk.js → MoreMenu-CocuDVj-.js} +13 -11
  140. package/dist/MultiSelector/index.d.ts +1 -1
  141. package/dist/MultiSelector/index.js +1 -1
  142. package/dist/{MultiSelector-BdEMzzhg.js → MultiSelector-D0g3yHj6.js} +36 -38
  143. package/dist/{NavDisclosure-snipr7Cd.js → NavDisclosure-BbRWuyhq.js} +1 -1
  144. package/dist/{NavHeadingSurface-tn7cGNlX.js → NavHeadingSurface-B2HkXx6S.js} +3 -3
  145. package/dist/NavItem/index.d.ts +1 -1
  146. package/dist/NavItem/index.js +1 -1
  147. package/dist/{NavItem-BPb3yfgz.js → NavItem-DfHMmSsw.js} +1 -1
  148. package/dist/NavMenu/index.js +3 -3
  149. package/dist/{NavMenu-BA5lW02j.js → NavMenu-CZS5pRUv.js} +1 -1
  150. package/dist/{NavMenuItem-BuIgWJq8.js → NavMenuItem-duQuvU1o.js} +2 -2
  151. package/dist/NumberInput/index.d.ts +1 -1
  152. package/dist/NumberInput/index.js +1 -1
  153. package/dist/{NumberInput-DC-_pL6R.js → NumberInput-DEfKx0qI.js} +18 -31
  154. package/dist/Outline/index.js +1 -1
  155. package/dist/{Outline-C6xBCP2y.js → Outline-D3g7Vq7-.js} +2 -2
  156. package/dist/OverflowList/index.d.ts +1 -1
  157. package/dist/OverflowList/index.js +1 -1
  158. package/dist/{OverflowList-BHnarnHA.js → OverflowList-WwL2NPbI.js} +3 -3
  159. package/dist/Overlay/index.d.ts +1 -1
  160. package/dist/Pagination/index.d.ts +1 -1
  161. package/dist/Pagination/index.js +1 -1
  162. package/dist/{Pagination-968o5gbr.js → Pagination-Cn53Nqe3.js} +2 -2
  163. package/dist/Popover/index.d.ts +1 -1
  164. package/dist/Popover/index.js +1 -1
  165. package/dist/{Popover-nNZl2uqy.js → Popover-D90phFsK.js} +10 -6
  166. package/dist/PowerSearch/index.d.ts +1 -1
  167. package/dist/PowerSearch/index.js +1 -1
  168. package/dist/{PowerSearch-CibPe6gr.js → PowerSearch-Cj_D0iaM.js} +88 -73
  169. package/dist/ProgressBar/index.d.ts +1 -1
  170. package/dist/ProgressBar/index.js +1 -1
  171. package/dist/{ProgressBar-Cmbhdfla.js → ProgressBar-Dt5AS0GY.js} +1 -1
  172. package/dist/Radio/index.d.ts +1 -1
  173. package/dist/Radio/index.js +1 -1
  174. package/dist/{RadioGroup-DuhW4utO.js → RadioGroup-B2lYTCeV.js} +4 -4
  175. package/dist/RadioList/index.d.ts +1 -1
  176. package/dist/RadioList/index.js +1 -1
  177. package/dist/{RadioList-Bq3Ndazr.js → RadioList-CieZtXzY.js} +1 -1
  178. package/dist/Resizable/index.d.ts +1 -1
  179. package/dist/Resizable/index.js +1 -1
  180. package/dist/{ResizeHandle-Bxt3HOsd.js → ResizeHandle-uBJj4W1M.js} +1 -1
  181. package/dist/ScrollableArea/index.d.ts +1 -1
  182. package/dist/ScrollableArea/index.js +1 -1
  183. package/dist/{ScrollableArea-0u6RWtGG.js → ScrollableArea-BgIytCxo.js} +3 -8
  184. package/dist/Scrollbars/index.js +2 -2
  185. package/dist/{Scrollbars-D_93hJYK.js → Scrollbars-Gvu4QVaF.js} +1 -1
  186. package/dist/Section/index.js +1 -1
  187. package/dist/{Section-v2QuWBBJ.js → Section-Km_FjJ-i.js} +2 -7
  188. package/dist/SegmentedControl/index.d.ts +1 -1
  189. package/dist/SegmentedControl/index.js +1 -1
  190. package/dist/{SegmentedControl-D1wWGBZo.js → SegmentedControl-BmDn1avo.js} +6 -4
  191. package/dist/SelectableCard/index.d.ts +1 -1
  192. package/dist/SelectableCard/index.js +1 -1
  193. package/dist/{SelectableCard-DmV8zq4L.js → SelectableCard-2a2gsxys.js} +2 -2
  194. package/dist/Selector/index.d.ts +1 -1
  195. package/dist/Selector/index.js +1 -1
  196. package/dist/{Selector-Bl_vRB6B.js → Selector-CgrXQtte.js} +121 -51
  197. package/dist/SideNav/index.d.ts +1 -1
  198. package/dist/SideNav/index.js +1 -1
  199. package/dist/{SideNav-BkYc75A-.js → SideNav-GELGN9LR.js} +45 -27
  200. package/dist/SizeContext/index.d.ts +2 -0
  201. package/dist/SizeContext/index.js +2 -0
  202. package/dist/SizeContext-BbaF-SEx.js +37 -0
  203. package/dist/Slider/index.js +1 -1
  204. package/dist/{Slider-DmQDKGvY.js → Slider-CEhy-D-R.js} +3 -3
  205. package/dist/Spinner/index.js +1 -1
  206. package/dist/{Spinner-D8YW_EgO.js → Spinner-CTWLR75x.js} +1 -1
  207. package/dist/Stack/index.js +2 -2
  208. package/dist/{Stack-Bp-XN9J4.js → Stack-DPB-Ztf7.js} +3 -11
  209. package/dist/{Stack-Bb_h60t3.js → Stack-Tw4I_dt-.js} +2 -2
  210. package/dist/StatusDot/index.js +1 -1
  211. package/dist/{StatusDot-DhNtAVEN.js → StatusDot-Bu_nCu0I.js} +1 -1
  212. package/dist/Stepper/index.d.ts +1 -1
  213. package/dist/Stepper/index.js +1 -1
  214. package/dist/{Stepper-CWoK1f1i.js → Stepper-DVXisudw.js} +148 -66
  215. package/dist/Switch/index.d.ts +2 -2
  216. package/dist/Switch/index.js +1 -1
  217. package/dist/{Switch-D_P5kd9S.js → Switch-DXShvaDA.js} +11 -5
  218. package/dist/TabList/index.d.ts +1 -1
  219. package/dist/TabList/index.js +1 -1
  220. package/dist/{TabList-B9RRmiqV.js → TabList-DIEm4YKM.js} +10 -8
  221. package/dist/Table/index.d.ts +2 -2
  222. package/dist/Table/index.js +1 -1
  223. package/dist/{Table-By-8bJNs.js → Table-Du4FXP9X.js} +27 -19
  224. package/dist/Text/index.d.ts +2 -2
  225. package/dist/Text/index.js +1 -1
  226. package/dist/{Text-D8ZIQxgB.js → Text-Wk-iDAzh.js} +2 -2
  227. package/dist/TextArea/index.d.ts +1 -1
  228. package/dist/TextArea/index.js +1 -1
  229. package/dist/{TextArea-MbA1CHBn.js → TextArea-CbQp3Lqm.js} +23 -13
  230. package/dist/TextInput/index.d.ts +1 -1
  231. package/dist/TextInput/index.js +1 -1
  232. package/dist/{TextInput-BTh_93lB.js → TextInput-CkJRorQb.js} +10 -7
  233. package/dist/Theme/index.js +1 -1
  234. package/dist/{Theme-Db264zBm.js → Theme-D7_fQWgb.js} +569 -3
  235. package/dist/Thumbnail/index.js +1 -1
  236. package/dist/{Thumbnail-BICV4We5.js → Thumbnail-7dKY4N-p.js} +6 -6
  237. package/dist/{TimeField-aSYbUpCL.js → TimeField-DGPsFfii.js} +9 -9
  238. package/dist/TimeInput/index.d.ts +1 -1
  239. package/dist/TimeInput/index.js +1 -1
  240. package/dist/{TimeInput-adg4eX-J.js → TimeInput-CnOvJGgC.js} +6 -4
  241. package/dist/Timer/index.d.ts +1 -1
  242. package/dist/Timer/index.js +1 -1
  243. package/dist/{Timer-cp10vcti.js → Timer-DL_MPa_h.js} +1 -1
  244. package/dist/Timestamp/index.d.ts +1 -1
  245. package/dist/Timestamp/index.js +1 -1
  246. package/dist/{Timestamp-Ip2NKQJq.js → Timestamp-BQc2NBd7.js} +5 -5
  247. package/dist/Toast/index.js +1 -1
  248. package/dist/{Toast-BXHyruqR.js → Toast-DytdMVIS.js} +24 -18
  249. package/dist/ToggleButton/index.d.ts +1 -1
  250. package/dist/ToggleButton/index.js +1 -1
  251. package/dist/{ToggleButton-CyZswHtC.js → ToggleButton-Cgr84UJy.js} +1 -1
  252. package/dist/Token/index.d.ts +1 -1
  253. package/dist/Token/index.js +1 -1
  254. package/dist/{Token-rBcE4hYh.js → Token-BJDLztV6.js} +2 -2
  255. package/dist/Tokenizer/index.d.ts +1 -1
  256. package/dist/Tokenizer/index.js +1 -1
  257. package/dist/{Tokenizer-BbB7QIzQ.js → Tokenizer-yz0873oG.js} +45 -37
  258. package/dist/Toolbar/index.d.ts +2 -2
  259. package/dist/Toolbar/index.js +1 -1
  260. package/dist/{Toolbar-DKld_COt.js → Toolbar-CbVhy7K9.js} +3 -1
  261. package/dist/Tooltip/index.d.ts +1 -1
  262. package/dist/Tooltip/index.js +2 -1
  263. package/dist/Tooltip-BfKegFfq.js +126 -0
  264. package/dist/TopNav/index.d.ts +1 -1
  265. package/dist/TopNav/index.js +1 -1
  266. package/dist/{TopNav-Dwu7beKR.js → TopNav-aCHKxMyk.js} +7 -7
  267. package/dist/TreeList/index.d.ts +1 -1
  268. package/dist/TreeList/index.js +1 -1
  269. package/dist/{TreeList-XMAHW9fH.js → TreeList-tcEjVfb0.js} +34 -26
  270. package/dist/Typeahead/index.d.ts +1 -1
  271. package/dist/Typeahead/index.js +2 -2
  272. package/dist/{Typeahead-CFOX5CtL.js → Typeahead-ClidGB0O.js} +8 -8
  273. package/dist/{TypeaheadMenu-CafYGgVa.js → TypeaheadMenu-Bu9HO-wZ.js} +1 -1
  274. package/dist/composables/index.d.ts +2 -2
  275. package/dist/composables/index.js +6 -5
  276. package/dist/{composables-rlh0LyHP.js → composables-BWDrzi3J.js} +1 -1
  277. package/dist/{context-dY6CBI-t.js → context-BLSiTojH.js} +12 -2
  278. package/dist/context-Bv6lAoqu.js +26 -0
  279. package/dist/{index-GpET2_oj.d.ts → index--tm6L1ot.d.ts} +2 -2
  280. package/dist/{index-oYGkhGRq.d.ts → index--uIQXVJ7.d.ts} +3 -4
  281. package/dist/{index-COxy6LEW.d.ts → index-6kd7pher.d.ts} +0 -1
  282. package/dist/{index-Dacg7XTH.d.ts → index-8px-LKw_.d.ts} +2 -2
  283. package/dist/{index-ChCcxRFB.d.ts → index-9eluGe3a.d.ts} +1 -1
  284. package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
  285. package/dist/{index-BxWCX2pJ.d.ts → index-BOCb89V9.d.ts} +1 -1
  286. package/dist/{index-G935Rujh.d.ts → index-BUZDSd-n.d.ts} +96 -2
  287. package/dist/{index-B8EnP-PB.d.ts → index-BfQ85cS8.d.ts} +0 -1
  288. package/dist/{index-D_K1wfRa.d.ts → index-BhLLG-Gi.d.ts} +2 -2
  289. package/dist/{index-BaxM-pFP.d.ts → index-BnEhvmdR.d.ts} +4 -4
  290. package/dist/{index-C085uLOn.d.ts → index-BqEPgwku.d.ts} +3 -4
  291. package/dist/{index-Dl4Kx5Pl.d.ts → index-BzZC2Y7c.d.ts} +14 -4
  292. package/dist/{index-CL8JvxHW.d.ts → index-C1zwvxPH.d.ts} +2 -2
  293. package/dist/{index-C-tFz2Yx.d.ts → index-C9ZssPUV.d.ts} +1 -1
  294. package/dist/{index-CRPSZ4nY.d.ts → index-CFm1rPma.d.ts} +1 -1
  295. package/dist/{index-ChOyJzJh.d.ts → index-CO9GW-ik.d.ts} +1 -1
  296. package/dist/{index-YKCx03zD.d.ts → index-COgrQZIL.d.ts} +2 -2
  297. package/dist/{index-Bgk1Rj2A.d.ts → index-CTjkJP4x.d.ts} +1 -1
  298. package/dist/{index-DAMHLkmd.d.ts → index-CfPGC9aW.d.ts} +1 -1
  299. package/dist/{index-rszZajcw.d.ts → index-Cy1rEWC-.d.ts} +1 -1
  300. package/dist/{index-DUnLj1kn.d.ts → index-DLq_N8bd.d.ts} +1 -1
  301. package/dist/{index-CKpz_Eed.d.ts → index-DX4HQToB.d.ts} +1 -1
  302. package/dist/{index-IfiA8CSr.d.ts → index-DZKv1WNB.d.ts} +3 -3
  303. package/dist/{index-CAttPKaF.d.ts → index-DjVJDoz4.d.ts} +1 -1
  304. package/dist/{index-BlujHTbz.d.ts → index-Dw-zjHHD.d.ts} +6 -7
  305. package/dist/{index-QmmrXztz.d.ts → index-EvhMa33P.d.ts} +5 -5
  306. package/dist/{index-B9xI9ns-.d.ts → index-HoCUEVoX.d.ts} +225 -157
  307. package/dist/{index-BbArm3_c.d.ts → index-LySSG_PR.d.ts} +1 -1
  308. package/dist/{index-DaXzQxos.d.ts → index-MEix_m1o.d.ts} +2 -2
  309. package/dist/{index-BNaRK-s5.d.ts → index-O9y23OPJ.d.ts} +11 -1
  310. package/dist/{index-B1eCxBCY.d.ts → index-TXcNH86P.d.ts} +1 -1
  311. package/dist/{index-C3f1zsJR.d.ts → index-UFlyBbRd.d.ts} +2 -2
  312. package/dist/{index-D21zdEgS.d.ts → index-Uh-ddE5F.d.ts} +1 -1
  313. package/dist/{index-BKnyTWPM.d.ts → index-ZbNwGVkS.d.ts} +1 -1
  314. package/dist/{index-YiuDd72p.d.ts → index-cJKrAHO-.d.ts} +22 -9
  315. package/dist/{index-3t5RAfNP.d.ts → index-mkbGYz8f.d.ts} +2 -2
  316. package/dist/index-q7fVtnQc.d.ts +48 -0
  317. package/dist/{index-mcNmCMqs.d.ts → index-uqEqPcmR.d.ts} +2 -2
  318. package/dist/{index-BEZ4ezJk.d.ts → index-wY6dKz6c.d.ts} +2 -2
  319. package/dist/index.d.ts +66 -67
  320. package/dist/index.js +132 -125
  321. package/dist/{loadCatalog-Cr3451_V.js → loadCatalog-85MyL2bm.js} +1 -1
  322. package/dist/{loadCatalog-DNIEPF3f.d.ts → loadCatalog-DSRSkHnY.d.ts} +9 -0
  323. package/dist/locale/index.d.ts +2 -2
  324. package/dist/locale/index.js +4 -4
  325. package/dist/{locale-BdA3CTlQ.js → locale-C7RSY-JG.js} +77 -77
  326. package/dist/{searchResultMessage-BTUZRCT6.js → searchResultMessage-T4H3r8Vz.js} +3 -3
  327. package/dist/sharedResizeObserver-9EFWnSWH.js +87 -0
  328. package/dist/{size-Cpn_wzXi.js → size-BfginNaZ.js} +19 -1
  329. package/dist/{types-BymI5mmm.d.ts → types-B8suOGP8.d.ts} +3 -2
  330. package/dist/{useAnchoredListbox-DwQTMWjI.js → useAnchoredListbox-6t5zSSz1.js} +1 -1
  331. package/dist/useButtonTooltip-DjCaZMp_.js +73 -0
  332. package/dist/{useIndicator-fTOZfYVI.js → useIndicator-BvF_KY9S.js} +1 -1
  333. package/dist/{useInputStatusIcon-CX16yX33.js → useInputStatusIcon-Bpe0xKqN.js} +2 -2
  334. package/dist/{useMergedRefs-CG0YVRL-.js → useLayer-Byjda3dD.js} +2 -23
  335. package/dist/{useMenuDrillIn-B6jh8tv8.js → useMenuDrillIn-C36Z89W3.js} +3 -3
  336. package/dist/useMergedRefs-DTGo1cEU.js +22 -0
  337. package/dist/{usePositionedLayer-HrhF3lEZ.js → usePositionedLayer-psKf3ano.js} +13 -3
  338. package/dist/{usePressFeedback-BJCpjEpv.js → usePressFeedback-Dhnfc3ee.js} +19 -2
  339. package/dist/{useResizable-BJ0DaMml.d.ts → useResizable-fEGAFziz.d.ts} +2 -0
  340. package/dist/{useScrollbars-C2NJ6Qwq.js → useScrollbars-Ch0xqJWO.js} +3 -0
  341. package/dist/useTooltip-BKsCTWdb.js +415 -0
  342. package/dist/{useTranslator-DZBywLvR.js → useTranslator-BDUOzbP_.js} +1 -1
  343. package/dist/utils/index.js +2 -1
  344. package/dist/{utils-BE5HBOBX.js → utils-BOmFijPc.js} +1 -87
  345. package/package.json +9 -1
  346. package/styles/app-shell.css +12 -0
  347. package/styles/avatar.css +14 -2
  348. package/styles/banner.css +35 -27
  349. package/styles/bottom-sheet.css +8 -1
  350. package/styles/button.css +47 -13
  351. package/styles/calendar.css +3 -1
  352. package/styles/chat.css +53 -32
  353. package/styles/clickable-card.css +3 -3
  354. package/styles/code.css +5 -7
  355. package/styles/collapsible.css +10 -0
  356. package/styles/complex-selector.css +3 -3
  357. package/styles/container-reveal.css +161 -69
  358. package/styles/dialog-header.css +6 -0
  359. package/styles/dialog.css +29 -9
  360. package/styles/dropdown-menu.css +7 -6
  361. package/styles/empty-state.css +0 -4
  362. package/styles/field.css +37 -20
  363. package/styles/heading.css +20 -9
  364. package/styles/icon.css +11 -6
  365. package/styles/info-tip.css +45 -0
  366. package/styles/layout.css +2 -1
  367. package/styles/link.css +54 -7
  368. package/styles/list.css +1 -1
  369. package/styles/markdown.css +46 -2
  370. package/styles/more-menu.css +3 -2
  371. package/styles/multi-selector.css +6 -6
  372. package/styles/number-input.css +1 -2
  373. package/styles/popover.css +2 -2
  374. package/styles/power-search.css +10 -1
  375. package/styles/pressable.css +4 -4
  376. package/styles/radio.css +2 -3
  377. package/styles/section.css +3 -0
  378. package/styles/segmented-control.css +13 -0
  379. package/styles/selector.css +25 -10
  380. package/styles/side-nav.css +75 -2
  381. package/styles/slider.css +5 -2
  382. package/styles/stepper-track.css +57 -0
  383. package/styles/stepper.css +81 -46
  384. package/styles/switch.css +22 -11
  385. package/styles/tab-list.css +7 -6
  386. package/styles/tab-menu.css +0 -1
  387. package/styles/table.css +38 -3
  388. package/styles/text-area.css +5 -8
  389. package/styles/text.css +21 -1
  390. package/styles/theme.css +2 -0
  391. package/styles/thumbnail.css +1 -1
  392. package/styles/toast.css +11 -21
  393. package/styles/token.css +1 -1
  394. package/styles/tokenizer.css +8 -1
  395. package/styles/toolbar.css +5 -1
  396. package/styles/top-nav.css +19 -6
  397. package/styles/tree-list.css +2 -3
  398. package/styles.css +2 -0
  399. package/dist/Tooltip-sESBLZwR.js +0 -339
  400. package/dist/index-CHuSkU5Q.d.ts +0 -26
  401. package/dist/types-CbiqoBoG.d.ts +0 -89
  402. package/dist/{index-BJ9Wim6J.d.ts → index-BqhgeAT4.d.ts} +1 -1
@@ -26,7 +26,7 @@
26
26
  margin: 0;
27
27
  padding: 0;
28
28
  list-style: none;
29
- gap: var(--astryx-spacing-0-5, 2px);
29
+ gap: var(--astryx-spacing-1, 4px);
30
30
  }
31
31
 
32
32
  .astryx-stepper[data-orientation='horizontal'] {
@@ -47,7 +47,6 @@
47
47
  }
48
48
 
49
49
  .astryx-step {
50
- position: relative;
51
50
  display: flex;
52
51
  flex: 1 1 0;
53
52
  min-width: 0;
@@ -59,10 +58,14 @@
59
58
  flex-direction: column;
60
59
  }
61
60
 
61
+ .astryx-step[data-orientation='vertical'] {
62
+ position: relative;
63
+ }
64
+
62
65
  .astryx-step[data-orientation='vertical'] {
63
66
  flex-direction: row;
64
67
  align-items: flex-start;
65
- gap: var(--astryx-spacing-2, 8px);
68
+ gap: var(--astryx-spacing-0-5, 2px);
66
69
  }
67
70
 
68
71
  /* 控件和内容合成一列:竖向流程里内容落在标签下面,而不是被排到标签右边。 */
@@ -77,6 +80,10 @@
77
80
  .astryx-step[data-density='balanced'] { --_step-space: var(--astryx-spacing-2, 8px); }
78
81
  .astryx-step[data-density='spacious'] { --_step-space: var(--astryx-spacing-3, 12px); }
79
82
 
83
+ /* 分离模式的控件左右内边距不跟密度走(只有 spacious 更宽),内容区要按同一个值缩进。 */
84
+ .astryx-step { --_step-inline: var(--astryx-spacing-2, 8px); }
85
+ .astryx-step[data-density='spacious'] { --_step-inline: var(--astryx-spacing-3, 12px); }
86
+
80
87
  .astryx-step-bar,
81
88
  .astryx-step-connector {
82
89
  position: relative;
@@ -146,11 +153,6 @@
146
153
  pointer-events: none;
147
154
  }
148
155
 
149
- .astryx-step[data-orientation='horizontal'][data-indicator-position='on-track'] > .astryx-step-rail {
150
- height: var(--astryx-spacing-1, 4px);
151
- margin-block: calc(var(--astryx-spacing-5, 20px) / 2 - 2px) var(--astryx-spacing-2, 8px);
152
- }
153
-
154
156
  .astryx-step[data-orientation='vertical'][data-indicator-position='on-track'] {
155
157
  gap: var(--astryx-spacing-2, 8px);
156
158
  }
@@ -161,6 +163,13 @@
161
163
  width: 16px;
162
164
  }
163
165
 
166
+ /* 指示点在轨道上:前一段只留一个密度间距,后一段撑满剩下的高度。 */
167
+ .astryx-step[data-orientation='vertical'][data-indicator-position='on-track'] > .astryx-step-rail > .astryx-step-connector-lead {
168
+ flex: 0 0 auto;
169
+ min-height: 0;
170
+ height: var(--_step-space);
171
+ }
172
+
164
173
  .astryx-step-connector {
165
174
  --_step-connector-gap: max(0px, min(var(--astryx-step-connector-gap, 0px), var(--astryx-spacing-2, 8px)));
166
175
  flex: 1 1 auto;
@@ -209,12 +218,13 @@
209
218
 
210
219
  .astryx-step-control {
211
220
  display: flex;
212
- align-items: flex-start;
213
- gap: var(--astryx-spacing-2, 8px);
221
+ flex-direction: column;
222
+ align-items: stretch;
214
223
  width: 100%;
215
224
  margin: 0;
216
225
  padding-block: var(--_step-space);
217
- padding-inline: var(--_step-space);
226
+ padding-inline: var(--_step-inline);
227
+ box-sizing: border-box;
218
228
  border: 0;
219
229
  border-radius: var(--astryx-radius-element, 0.625rem);
220
230
  background: transparent;
@@ -266,99 +276,124 @@
266
276
  line-height: 1;
267
277
  }
268
278
 
269
- .astryx-step-indicator svg {
279
+ .astryx-step-indicator > svg {
270
280
  width: 16px;
271
281
  height: 16px;
272
282
  }
273
283
 
274
284
  .astryx-step-indicator[data-glyph='number'] {
275
- background: var(--astryx-color-accent-muted, #f1f1f1);
285
+ background: var(--astryx-color-background-muted, #f1f1f1);
276
286
  color: var(--astryx-color-text-secondary, #525252);
277
287
  }
278
288
 
279
- .astryx-step[data-progress='completed'] .astryx-step-indicator[data-glyph='number'],
280
- .astryx-step[data-progress='in-progress'] .astryx-step-indicator[data-glyph='number'] {
289
+ .astryx-step-indicator[data-progress='completed'][data-glyph='number'],
290
+ .astryx-step-indicator[data-progress='in-progress'][data-glyph='number'] {
281
291
  background: var(--astryx-color-accent, #262626);
282
292
  color: var(--astryx-color-background-surface, #fff);
283
293
  }
284
294
 
285
- .astryx-step[data-status='accent'] .astryx-step-indicator {
295
+ .astryx-step-indicator[data-status='accent'] {
286
296
  color: var(--astryx-color-accent, #262626);
287
297
  }
288
298
 
289
- .astryx-step[data-status='success'] .astryx-step-indicator {
299
+ .astryx-step-indicator[data-status='success'] {
290
300
  background: transparent;
291
301
  color: var(--astryx-color-success, #16a34a);
292
302
  }
293
303
 
294
- .astryx-step[data-status='warning'] .astryx-step-indicator {
304
+ .astryx-step-indicator[data-status='warning'] {
295
305
  background: transparent;
296
306
  color: var(--astryx-color-warning, #ca8a04);
297
307
  }
298
308
 
299
- .astryx-step[data-status='error'] .astryx-step-indicator {
309
+ .astryx-step-indicator[data-status='error'] {
300
310
  background: transparent;
301
311
  color: var(--astryx-color-error, #dc2626);
302
312
  }
303
313
 
304
- .astryx-step[data-progress='not-started'] .astryx-step-label,
305
- .astryx-step[data-progress='completed'] .astryx-step-label {
314
+ /* 指示点自带 data-progress / data-status:嵌套的步骤条不会吃到外层步骤的状态。 */
315
+ /* 禁用步骤的指示点:数字徽标换禁用色,其余图标用图标禁用色,都降到半透明。 */
316
+ .astryx-step-indicator[data-glyph][data-disabled] {
317
+ color: var(--astryx-color-icon-disabled, #a3a3a3);
318
+ opacity: 0.5;
319
+ }
320
+
321
+ .astryx-step-indicator[data-glyph='number'][data-disabled] {
322
+ background: var(--astryx-color-background-muted, #f1f1f1);
323
+ color: var(--astryx-color-text-disabled, #a3a3a3);
324
+ }
325
+
326
+ .astryx-step-label[data-progress='not-started'],
327
+ .astryx-step-label[data-progress='completed'] {
306
328
  font-weight: var(--astryx-font-weight-regular, 400);
307
329
  }
308
330
 
309
- .astryx-step[data-progress='in-progress'] .astryx-step-label {
331
+ .astryx-step-label[data-progress='in-progress'] {
310
332
  font-weight: var(--astryx-font-weight-semibold, 600);
311
333
  }
312
334
 
313
- .astryx-step-copy {
335
+ /* 指示点和标签同一行;说明文字在行外,缩进到标签的左边。 */
336
+ .astryx-step-row {
314
337
  display: flex;
315
- flex-direction: column;
338
+ align-items: center;
339
+ gap: var(--astryx-spacing-2, 8px);
340
+ width: 100%;
316
341
  min-width: 0;
317
- gap: var(--astryx-spacing-0-5, 2px);
318
342
  }
319
343
 
320
344
  .astryx-step-label-row {
321
345
  display: flex;
346
+ flex: 1 1 auto;
322
347
  align-items: center;
323
- gap: var(--astryx-spacing-1, 4px);
348
+ gap: var(--astryx-spacing-2, 8px);
324
349
  min-width: 0;
325
350
  }
326
351
 
327
- .astryx-step-label,
328
- .astryx-step-description,
329
- .astryx-step-optional {
352
+ /* 一行放不下就省略,不换行:横向步骤等分轨道,换行会让各步高度不一。 */
353
+ .astryx-step-label {
354
+ min-width: 0;
355
+ overflow: hidden;
330
356
  font-size: var(--astryx-text-body-size, 0.875rem);
331
357
  line-height: var(--astryx-text-body-leading, 1.4286);
358
+ text-overflow: ellipsis;
359
+ white-space: nowrap;
360
+ }
361
+
362
+ .astryx-step-label[data-progress='not-started'] {
363
+ color: var(--astryx-color-text-secondary, #525252);
364
+ }
365
+
366
+ .astryx-step .astryx-step-label[data-disabled] {
367
+ color: var(--astryx-color-text-disabled, #a3a3a3);
332
368
  }
333
369
 
334
- .astryx-step-description,
335
370
  .astryx-step-optional {
336
371
  color: var(--astryx-color-text-secondary, #525252);
337
- font-size: var(--astryx-text-supporting-size, 0.75rem);
338
- line-height: 16px;
372
+ font-size: var(--astryx-text-body-size, 0.875rem);
339
373
  }
340
374
 
341
- .astryx-step-content {
342
- padding-block-start: var(--astryx-spacing-2, 8px);
375
+ .astryx-step-description {
376
+ display: block;
377
+ color: var(--astryx-color-text-secondary, #525252);
378
+ font-size: var(--astryx-text-supporting-size, 0.75rem);
379
+ line-height: var(--astryx-spacing-4, 16px);
343
380
  }
344
381
 
345
- /* 竖向的内容跟标签左对齐:缩进 = 控件内边距 + 指示点宽度和间距。 */
346
- .astryx-step[data-orientation='vertical'] .astryx-step-content {
347
- padding-inline: calc(var(--_step-space) + var(--astryx-spacing-4, 16px) + var(--astryx-spacing-2, 8px)) var(--_step-space);
382
+ .astryx-step:not([data-glyph='none']) .astryx-step-description {
383
+ padding-inline-start: calc(var(--astryx-spacing-4, 16px) + var(--astryx-spacing-2, 8px));
348
384
  }
349
385
 
350
- .astryx-step[data-orientation='horizontal'][data-indicator-position='separated'] .astryx-step-control {
351
- align-items: center;
386
+ .astryx-step-content {
387
+ padding-block-start: var(--astryx-spacing-2, 8px);
352
388
  }
353
389
 
354
- .astryx-step[data-orientation='horizontal'][data-indicator-position='on-track'] .astryx-step-control {
355
- flex-direction: column;
356
- align-items: center;
357
- text-align: center;
390
+ /* 内容跟标签左对齐:缩进 = 控件内边距 + 指示点宽度和间距。 */
391
+ .astryx-step[data-indicator-position='separated'] .astryx-step-content {
392
+ padding-inline: calc(var(--_step-inline) + var(--astryx-spacing-4, 16px) + var(--astryx-spacing-2, 8px)) var(--_step-inline);
358
393
  }
359
394
 
360
- .astryx-step[data-orientation='horizontal'][data-indicator-position='on-track'] .astryx-step-indicator {
361
- margin-block-start: -10px;
395
+ .astryx-step[data-orientation='vertical'][data-indicator-position='on-track'] .astryx-step-content {
396
+ padding-inline: 0 var(--_step-space);
362
397
  }
363
398
 
364
399
  .astryx-stepper-root[data-collapsed] .astryx-stepper {
@@ -436,7 +471,7 @@
436
471
  }
437
472
 
438
473
  @container astryx-stepper (max-width: 480px) {
439
- .astryx-stepper[data-collapsible='true'][data-orientation='horizontal'] .astryx-step:not([data-progress='in-progress']) .astryx-step-copy {
474
+ .astryx-stepper[data-collapsible='true'][data-orientation='horizontal'] .astryx-step:not([data-progress='in-progress']) :is(.astryx-step-label-row, .astryx-step-description) {
440
475
  display: none;
441
476
  }
442
477
  }
package/styles/switch.css CHANGED
@@ -3,6 +3,10 @@
3
3
  @layer astryx.components {
4
4
  .astryx-switch {
5
5
  box-sizing: border-box;
6
+ /* 同原版:竖排的 flex 容器,开关行下面不留行盒的下沉空隙。 */
7
+ display: flex;
8
+ flex-direction: column;
9
+ align-items: flex-start;
6
10
  min-width: 0;
7
11
  }
8
12
 
@@ -12,26 +16,33 @@
12
16
  gap: var(--astryx-spacing-2, 8px);
13
17
  }
14
18
 
19
+ .astryx-switch[data-label-spacing='spread'] > .astryx-switch-row {
20
+ display: flex;
21
+ justify-content: space-between;
22
+ width: 100%;
23
+ }
24
+
25
+ .astryx-switch[data-label-position='start'] > .astryx-switch-row > .astryx-switch-control {
26
+ order: 1;
27
+ }
28
+
15
29
  .astryx-switch-row:has(> .astryx-switch-label .astryx-field-label-group[data-hidden='true']) {
16
30
  gap: 0;
17
31
  }
18
32
 
19
- /* The label line is 20px and the track is taller. A wrapper at least as tall
20
- as the track, centered, keeps the text on the track's midline. */
33
+ /* 标签列比轨道矮时,行本身用 align-items: center 把文字放在轨道中线上。 */
21
34
  .astryx-switch-label {
22
35
  display: flex;
23
36
  flex-direction: column;
24
37
  justify-content: center;
25
38
  min-width: 0;
26
- min-height: var(--astryx-switch-track-height, 24px);
27
- }
28
-
29
- .astryx-switch[data-size='sm'] .astryx-switch-label {
30
- min-height: var(--astryx-switch-track-height-sm, 20px);
31
39
  }
32
40
 
33
- .astryx-switch[data-size='lg'] .astryx-switch-label {
34
- min-height: var(--astryx-switch-track-height-lg, 28px);
41
+ /* 隐藏标签是 1px 的 sr-only 盒子:不要再撑最小高度、居中,否则文字会被推到盒外。 */
42
+ .astryx-field-label-group[data-hidden='true'] .astryx-field-label.astryx-switch-label {
43
+ flex-direction: row;
44
+ justify-content: flex-start;
45
+ min-height: 0;
35
46
  }
36
47
 
37
48
  .astryx-switch-control {
@@ -96,7 +107,7 @@
96
107
  border-radius: var(--astryx-switch-track-radius, 999px);
97
108
  color: var(--astryx-color-text-primary, #171717);
98
109
  background: var(--astryx-switch-track-off, #e2e2e2);
99
- transition: background-color 130ms cubic-bezier(0.24, 1, 0.4, 1), border-color 130ms cubic-bezier(0.24, 1, 0.4, 1);
110
+ transition: background-color var(--astryx-duration-exit, 175ms) var(--astryx-ease-exit, cubic-bezier(0.3, 0, 0.6, 0.6)), border-color var(--astryx-duration-exit, 175ms) var(--astryx-ease-exit, cubic-bezier(0.3, 0, 0.6, 0.6));
100
111
  }
101
112
 
102
113
  .astryx-switch[data-size='sm'] .astryx-switch-track {
@@ -123,7 +134,7 @@
123
134
  border-radius: var(--astryx-switch-thumb-radius, 999px);
124
135
  background: var(--astryx-switch-thumb, #fff);
125
136
  transform: translateX(0);
126
- transition: transform 130ms cubic-bezier(0.24, 1, 0.4, 1), background-color 130ms cubic-bezier(0.24, 1, 0.4, 1), width 130ms cubic-bezier(0.24, 1, 0.4, 1), height 130ms cubic-bezier(0.24, 1, 0.4, 1);
137
+ transition: transform 130ms cubic-bezier(0.24, 1, 0.4, 1), background-color var(--astryx-duration-exit, 175ms) var(--astryx-ease-exit, cubic-bezier(0.3, 0, 0.6, 0.6)), width var(--astryx-duration-exit, 175ms) var(--astryx-ease-exit, cubic-bezier(0.3, 0, 0.6, 0.6)), height var(--astryx-duration-exit, 175ms) var(--astryx-ease-exit, cubic-bezier(0.3, 0, 0.6, 0.6));
127
138
  }
128
139
 
129
140
  .astryx-switch[data-size='sm'] .astryx-switch-thumb {
@@ -29,7 +29,7 @@
29
29
  .astryx-tab-list__strip--scroll {
30
30
  --_tab-strip-bleed: 0px;
31
31
  --_tab-strip-edge-inset: calc(var(--_tab-strip-bleed) + var(--astryx-spacing-8, 32px));
32
- --_tab-strip-block-end-bleed: max(var(--_tab-strip-bleed), calc(-1 * var(--_tab-indicator-bottom, 0px)));
32
+ --_tab-strip-block-end-bleed: max(var(--_tab-strip-bleed), calc(-1 * var(--_tab-indicator-bottom, -1px)));
33
33
  align-self: flex-start;
34
34
  overflow-x: auto;
35
35
  overflow-y: hidden;
@@ -226,12 +226,13 @@
226
226
  .astryx-tab--selected::after {
227
227
  content: '';
228
228
  position: absolute;
229
- bottom: 0;
230
- left: var(--astryx-spacing-1, 4px);
231
- right: var(--astryx-spacing-1, 4px);
229
+ /* 同原版:默认压在 tab 底边外 1px;滚动条按同一个值往下留出空间,不会裁掉。 */
230
+ bottom: var(--_tab-indicator-bottom, -1px);
231
+ /* 同原版:下划线两端缩到和 tab 左右内边距对齐。 */
232
+ inset-inline: var(--astryx-spacing-3, 12px);
232
233
  height: 2px;
233
- border-radius: 1px;
234
- background-color: currentColor;
234
+ border-radius: var(--astryx-radius-full, 9999px);
235
+ background-color: var(--astryx-color-accent, currentColor);
235
236
  }
236
237
 
237
238
  .astryx-tab-list--has-divider .astryx-tab--selected::after {
@@ -21,7 +21,6 @@
21
21
  display: flex;
22
22
  flex-direction: column;
23
23
  gap: var(--astryx-spacing-0-5, 2px);
24
- min-width: 180px;
25
24
  margin: 0;
26
25
  padding-block: var(--astryx-spacing-1, 4px);
27
26
  padding-inline: var(--astryx-spacing-1, 4px);
package/styles/table.css CHANGED
@@ -8,11 +8,33 @@
8
8
  width: calc(100% + var(--container-padding-inline-start, 0px) + var(--container-padding-inline-end, 0px));
9
9
  }
10
10
 
11
- .astryx-table-scroll:first-child {
11
+ /*
12
+ * 同上游 #12068:只有作为带内边距容器的直接首个 / 末个子元素时,Table 才在块方向贴到容器边缘。
13
+ * 套在 Stack 等包装里的 Table 保留容器的上下内边距,只在左右两侧贴边。
14
+ */
15
+ :is(
16
+ .astryx-card,
17
+ .astryx-section__inner,
18
+ .astryx-layout-content,
19
+ .astryx-layout-panel,
20
+ .astryx-layout-header__inner,
21
+ .astryx-layout-footer__inner,
22
+ .astryx-scrollable-area__content,
23
+ .astryx-bottom-sheet__content
24
+ ) > .astryx-table-scroll:first-child {
12
25
  margin-top: calc(-1 * var(--container-padding-block-start, 0px));
13
26
  }
14
27
 
15
- .astryx-table-scroll:last-child {
28
+ :is(
29
+ .astryx-card,
30
+ .astryx-section__inner,
31
+ .astryx-layout-content,
32
+ .astryx-layout-panel,
33
+ .astryx-layout-header__inner,
34
+ .astryx-layout-footer__inner,
35
+ .astryx-scrollable-area__content,
36
+ .astryx-bottom-sheet__content
37
+ ) > .astryx-table-scroll:last-child {
16
38
  margin-bottom: calc(-1 * var(--container-padding-block-end, 0px));
17
39
  }
18
40
 
@@ -74,6 +96,11 @@
74
96
  padding-block: calc(var(--_cell-block, var(--astryx-spacing-2, 8px)) + 1px);
75
97
  }
76
98
 
99
+ /* 左右也一样:`<td>` 的 1px 加上触发层的内边距,每格两侧各多 1px。 */
100
+ .astryx-table td[data-row-menu]:not(.astryx-table__expansion) {
101
+ padding-inline: calc(var(--_cell-inline, var(--astryx-spacing-3, 12px)) + 1px);
102
+ }
103
+
77
104
  .astryx-table :is(th, td):where(:not(.astryx-table__group, .astryx-table__panel)):first-child {
78
105
  padding-inline-start: max(var(--container-padding-inline-start, var(--_cell-inline, var(--astryx-spacing-3, 12px))), var(--astryx-spacing-2, 8px));
79
106
  }
@@ -82,6 +109,11 @@
82
109
  padding-inline-end: max(var(--container-padding-inline-end, var(--_cell-inline, var(--astryx-spacing-3, 12px))), var(--astryx-spacing-2, 8px));
83
110
  }
84
111
 
112
+ /* 最后一格:`<td>` 自己带容器边距,触发层再带一份格子内边距,两份叠加。 */
113
+ .astryx-table td[data-row-menu]:not(.astryx-table__expansion):last-child {
114
+ padding-inline-end: calc(max(var(--container-padding-inline-end, var(--_cell-inline, var(--astryx-spacing-3, 12px))), var(--astryx-spacing-2, 8px)) + var(--_cell-inline, var(--astryx-spacing-3, 12px)));
115
+ }
116
+
85
117
  /* 原版 TableCell 给普通数据格带正文字号;分组头、展开面板、空态这些
86
118
  插件渲染的格子不设字号,继承环境字号。 */
87
119
  .astryx-table td:not(.astryx-table__group, .astryx-table__panel, .astryx-table__empty) {
@@ -189,6 +221,9 @@
189
221
 
190
222
  .astryx-table__sort-icon {
191
223
  display: inline-flex;
224
+ align-items: center;
225
+ flex-shrink: 0;
226
+ block-size: 0;
192
227
  opacity: 0.35;
193
228
  }
194
229
 
@@ -488,7 +523,7 @@
488
523
 
489
524
  .astryx-table__chevron-icon {
490
525
  display: inline-flex;
491
- transition: transform var(--astryx-duration-fast, 125ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
526
+ transition: transform var(--astryx-duration-fast, 125ms) var(--astryx-ease-move, cubic-bezier(0.24, 1, 0.4, 1));
492
527
  }
493
528
 
494
529
  .astryx-table__chevron-icon.is-expanded {
@@ -9,8 +9,7 @@
9
9
  align-items: stretch;
10
10
  gap: var(--astryx-spacing-2, 8px);
11
11
  min-width: 0;
12
- min-height: var(--astryx-text-area-min-height-md, 80px);
13
- padding: var(--astryx-input-padding-block, var(--astryx-spacing-2, 8px)) var(--astryx-input-padding-inline, var(--astryx-spacing-2, 8px));
12
+ padding: var(--astryx-spacing-1, 4px) var(--astryx-input-padding-inline, var(--astryx-spacing-2, 8px));
14
13
  border: 1px solid var(--astryx-input-status-color, var(--astryx-input-border, #d4d4d4));
15
14
  border-radius: var(--astryx-radius-element, 0.625rem);
16
15
  color: var(--astryx-color-text-primary, #171717);
@@ -22,8 +21,8 @@
22
21
  position: absolute;
23
22
  right: var(--astryx-spacing-2, 8px);
24
23
  bottom: var(--astryx-spacing-1, 4px);
25
- font-size: 0.75rem;
26
- line-height: 1;
24
+ font-size: var(--astryx-text-supporting-size, 0.75rem);
25
+ line-height: var(--astryx-text-supporting-leading, 1.6667);
27
26
  color: var(--astryx-color-text-secondary, #525252);
28
27
  }
29
28
 
@@ -38,17 +37,15 @@
38
37
  }
39
38
 
40
39
  .astryx-text-area:has(.astryx-text-area-count) {
41
- padding-bottom: var(--astryx-spacing-5, 20px);
40
+ padding-bottom: var(--astryx-spacing-7, 28px);
42
41
  }
43
42
 
44
43
  .astryx-text-area[data-size='sm'] {
45
- min-height: var(--astryx-text-area-min-height-sm, 64px);
46
44
  padding: var(--astryx-spacing-1, 4px) var(--astryx-spacing-2, 8px);
47
45
  }
48
46
 
49
47
  .astryx-text-area[data-size='lg'] {
50
- min-height: var(--astryx-text-area-min-height-lg, 112px);
51
- padding: var(--astryx-spacing-3, 12px) var(--astryx-spacing-3, 12px);
48
+ padding: var(--astryx-spacing-2, 8px) var(--astryx-spacing-2, 8px);
52
49
  }
53
50
 
54
51
  @media (hover: hover) {
package/styles/text.css CHANGED
@@ -13,31 +13,39 @@
13
13
  display: block;
14
14
  }
15
15
 
16
+ /*
17
+ * 同上游 defaultWeightByTypeStyles:每种 type 都写明自己的字重,不从父元素继承。
18
+ * 否则放在粗体容器里的 supporting / body 文字会跟着变粗、变宽。
19
+ */
16
20
  .astryx-text--type-body {
17
21
  font-size: var(--astryx-text-body-size, 0.875rem);
22
+ font-weight: var(--astryx-text-body-weight, 400);
18
23
  line-height: var(--astryx-text-body-leading, 1.4286);
19
24
  }
20
25
 
21
26
  .astryx-text--type-large {
22
27
  font-size: var(--astryx-text-large-size, 1rem);
28
+ font-weight: var(--astryx-text-large-weight, 600);
23
29
  line-height: var(--astryx-text-large-leading, 1.5);
24
30
  }
25
31
 
26
32
  .astryx-text--type-label {
27
33
  font-size: var(--astryx-text-label-size, 0.875rem);
28
- font-weight: var(--astryx-font-weight-medium, 500);
34
+ font-weight: var(--astryx-text-label-weight, var(--astryx-font-weight-medium, 500));
29
35
  line-height: var(--astryx-text-label-leading, 1.25);
30
36
  }
31
37
 
32
38
  .astryx-text--type-supporting {
33
39
  color: var(--astryx-text-supporting-foreground, var(--astryx-color-text-secondary, light-dark(#525252, #a3a3a3)));
34
40
  font-size: var(--astryx-text-supporting-size, 0.75rem);
41
+ font-weight: var(--astryx-text-supporting-weight, 400);
35
42
  line-height: var(--astryx-text-supporting-leading, 1.6667);
36
43
  }
37
44
 
38
45
  .astryx-text--type-code {
39
46
  font-family: var(--astryx-font-family-code, monospace);
40
47
  font-size: var(--astryx-text-body-size, 0.875rem);
48
+ font-weight: var(--astryx-text-code-weight, 400);
41
49
  line-height: var(--astryx-text-body-leading, 1.4286);
42
50
  }
43
51
 
@@ -53,6 +61,14 @@
53
61
  line-height: var(--astryx-text-display-2-leading, 1.15);
54
62
  }
55
63
 
64
+ /* 同上游 type="inherit":字体、字号、行高、字重都跟随父元素。 */
65
+ .astryx-text--type-inherit {
66
+ font-family: inherit;
67
+ font-size: inherit;
68
+ font-weight: inherit;
69
+ line-height: inherit;
70
+ }
71
+
56
72
  .astryx-text--type-display-3 {
57
73
  font-size: var(--astryx-text-display-3-size, 1.75rem);
58
74
  font-weight: var(--astryx-text-display-weight, var(--astryx-text-display-3-weight, 300));
@@ -150,6 +166,10 @@
150
166
  font-variant-numeric: tabular-nums;
151
167
  }
152
168
 
169
+ .astryx-text--size-xsm {
170
+ font-size: var(--astryx-font-size-xs, 0.625rem);
171
+ }
172
+
153
173
  .astryx-text--size-sm {
154
174
  font-size: var(--astryx-text-sm-size, 0.75rem);
155
175
  }
package/styles/theme.css CHANGED
@@ -9,6 +9,8 @@
9
9
  display: contents;
10
10
  color: var(--astryx-color-text-primary, light-dark(#171717, #fafafa));
11
11
  font-family: var(--astryx-font-family-body, Figtree, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);
12
+ /* 只继承字号的文字取主题正文字号,嵌套主题也一样(同上游 dda98593dc)。 */
13
+ font-size: var(--astryx-text-body-size, 0.875rem);
12
14
  /*
13
15
  * These aliases are also declared on :root, where var() is substituted
14
16
  * once. Restating them here makes the subtree resolve them again, including
@@ -78,7 +78,7 @@
78
78
  border-radius: inherit;
79
79
  background-color: transparent;
80
80
  pointer-events: none;
81
- transition: background-color var(--astryx-duration-fast, 125ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
81
+ transition: background-color var(--astryx-duration-exit, 175ms) var(--astryx-ease-exit, cubic-bezier(0.3, 0, 0.6, 0.6));
82
82
  }
83
83
 
84
84
  @media (hover: hover) {
package/styles/toast.css CHANGED
@@ -183,38 +183,28 @@
183
183
  display: contents;
184
184
  }
185
185
 
186
+ .astryx-toast__inner {
187
+ display: flex;
188
+ align-items: flex-start;
189
+ flex-wrap: nowrap;
190
+ gap: var(--astryx-spacing-3, 12px);
191
+ width: 100%;
192
+ }
193
+
186
194
  .astryx-toast__body {
187
195
  flex: 1;
188
196
  min-width: 0;
189
197
  overflow-wrap: anywhere;
190
198
  }
191
199
 
200
+ /* 高度固定成一行正文,28px 的关闭按钮居中溢出,卡片不被它撑高。 */
192
201
  .astryx-toast__end {
193
202
  display: flex;
194
203
  flex-shrink: 0;
195
204
  align-items: center;
196
205
  gap: var(--astryx-spacing-2, 8px);
197
- }
198
-
199
- .astryx-toast__close {
200
- display: inline-flex;
201
- align-items: center;
202
- justify-content: center;
203
- flex-shrink: 0;
204
- width: 24px;
205
- height: 24px;
206
- padding: 0;
207
- border: 0;
208
- border-radius: var(--astryx-radius-full, 999px);
209
- background: transparent;
210
- color: inherit;
211
- font-size: 1.125rem;
212
- line-height: 1;
213
- cursor: pointer;
214
- }
215
-
216
- .astryx-toast__close:hover {
217
- background: color-mix(in srgb, currentColor 12%, transparent);
206
+ block-size: calc(var(--astryx-text-body-size, 0.875rem) * var(--astryx-text-body-leading, 1.4286));
207
+ margin-inline-end: calc(var(--astryx-spacing-1, 4px) * -1);
218
208
  }
219
209
 
220
210
  @media (prefers-reduced-motion: reduce) {
package/styles/token.css CHANGED
@@ -12,7 +12,7 @@
12
12
  border: 0;
13
13
  border-radius: var(--astryx-radius-inner, 0.375rem);
14
14
  background: var(--astryx-token-default-background, var(--astryx-badge-neutral-background, #e5e5e5));
15
- color: var(--astryx-token-default-foreground, var(--astryx-badge-neutral-foreground, #262626));
15
+ color: var(--astryx-token-default-foreground, var(--astryx-color-text-primary, light-dark(#000, #fff)));
16
16
  font-family: var(--astryx-font-family-body, Figtree, sans-serif);
17
17
  font-size: var(--astryx-text-supporting-size, 0.75rem);
18
18
  font-weight: var(--astryx-font-weight-medium, 500);
@@ -3,7 +3,8 @@
3
3
  @layer astryx.components {
4
4
  .astryx-field.astryx-tokenizer {
5
5
  position: relative;
6
- width: var(--astryx-field-width, 100%);
6
+ /* 原版 Field 没传 width 就不设宽度:块级容器里自然撑满,横排里按内容收缩。 */
7
+ width: var(--astryx-field-width, auto);
7
8
  max-width: 100%;
8
9
  min-width: 0;
9
10
  }
@@ -118,6 +119,12 @@
118
119
  white-space: nowrap;
119
120
  }
120
121
 
122
+ /* 有标签时内边距收到 3px,让标签圆角和外框同心(原版 TOKEN_ROW_INSET)。 */
123
+ .astryx-tokenizer-control.has-tokens {
124
+ padding: calc(var(--astryx-spacing-1, 4px) - 1px);
125
+ row-gap: calc(var(--astryx-spacing-1, 4px) - 1px);
126
+ }
127
+
121
128
  .astryx-tokenizer-tokens {
122
129
  display: flex;
123
130
  flex-wrap: wrap;
@@ -58,7 +58,11 @@
58
58
  margin-inline-start: calc(-1 * var(--_edge-comp-inset));
59
59
  }
60
60
 
61
- .astryx-toolbar__slot:has(> [data-astryx-edge-comp]:last-child) {
61
+ /*
62
+ * 同上游:带 tooltip 的按钮后面紧跟着一个 popover 层元素,所以它不是 :last-child,
63
+ * 不做末端补偿。我们的 tooltip 是传送出去的,用 data-astryx-has-layer 还原这个判定。
64
+ */
65
+ .astryx-toolbar__slot:has(> [data-astryx-edge-comp]:last-child:not([data-astryx-has-layer])) {
62
66
  margin-inline-end: calc(-1 * var(--_edge-comp-inset));
63
67
  }
64
68