@astryx-vue/core 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (313) hide show
  1. package/dist/AlertDialog/index.d.ts +1 -1
  2. package/dist/AlertDialog/index.js +1 -1
  3. package/dist/{AlertDialog-C2inDZWG.js → AlertDialog-Dorcqkwf.js} +2 -2
  4. package/dist/AppShell/index.js +1 -1
  5. package/dist/{AppShell-CumzH-8z.js → AppShell-CqDS_G4G.js} +2 -2
  6. package/dist/Avatar/index.d.ts +1 -1
  7. package/dist/Avatar/index.js +1 -1
  8. package/dist/{Avatar-BW0TE8t9.js → Avatar-BSsueavl.js} +1 -1
  9. package/dist/AvatarGroup/index.d.ts +1 -1
  10. package/dist/AvatarGroup/index.js +1 -1
  11. package/dist/{AvatarGroup-DLC_FFR5.js → AvatarGroup-DhVBdHeQ.js} +1 -1
  12. package/dist/Banner/index.d.ts +1 -1
  13. package/dist/Banner/index.js +1 -1
  14. package/dist/{Banner-C5VAwo4D.js → Banner-Df9SFUhh.js} +7 -5
  15. package/dist/BottomSheet/index.d.ts +1 -1
  16. package/dist/Breadcrumbs/index.d.ts +2 -2
  17. package/dist/Breadcrumbs/index.js +2 -2
  18. package/dist/{Breadcrumbs-CTaz7Kh4.js → Breadcrumbs-kPETVOpi.js} +2 -2
  19. package/dist/Button/index.d.ts +2 -2
  20. package/dist/Button/index.js +1 -1
  21. package/dist/{Button-ONOoHdkg.js → Button-bxKFDhhg.js} +10 -6
  22. package/dist/ButtonGroup/index.d.ts +1 -1
  23. package/dist/Calendar/index.d.ts +1 -1
  24. package/dist/Calendar/index.js +1 -1
  25. package/dist/{Calendar-BAqzzQm2.js → Calendar-Gx77cbI3.js} +7 -7
  26. package/dist/Carousel/index.js +1 -1
  27. package/dist/{Carousel-DXC22UWq.js → Carousel-CeRJOasP.js} +7 -7
  28. package/dist/Chat/index.d.ts +1 -1
  29. package/dist/Chat/index.js +1 -1
  30. package/dist/{Chat-BdJW6IX5.js → Chat-CfvndIgD.js} +28 -28
  31. package/dist/CheckboxInput/index.d.ts +1 -1
  32. package/dist/CheckboxInput/index.js +1 -1
  33. package/dist/{CheckboxInput-DJHCbwgC.js → CheckboxInput-CMtJ0qXQ.js} +4 -4
  34. package/dist/CheckboxList/index.d.ts +1 -1
  35. package/dist/CheckboxList/index.js +1 -1
  36. package/dist/{CheckboxList-BdZIP4_J.js → CheckboxList-Cg8GC1l2.js} +3 -3
  37. package/dist/Citation/index.js +1 -1
  38. package/dist/{Citation-DbZn2vms.js → Citation-D-El27C6.js} +2 -2
  39. package/dist/ClickableCard/index.d.ts +1 -1
  40. package/dist/Code/index.js +2 -2
  41. package/dist/{CodeBlock-Caaflp7C.js → CodeBlock-DSjv__N9.js} +9 -9
  42. package/dist/Collapsible/index.d.ts +1 -1
  43. package/dist/Collapsible/index.js +1 -1
  44. package/dist/{Collapsible-Bdj0WYpb.js → Collapsible-DPC_G0Me.js} +1 -1
  45. package/dist/CommandPalette/index.d.ts +1 -1
  46. package/dist/CommandPalette/index.js +1 -1
  47. package/dist/{CommandPalette-C_MClfAg.js → CommandPalette-DFxk2sil.js} +11 -11
  48. package/dist/ComplexSelector/index.d.ts +1 -1
  49. package/dist/ComplexSelector/index.js +1 -1
  50. package/dist/{ComplexSelector-BeVQaqRf.js → ComplexSelector-DcPOOrZp.js} +34 -13
  51. package/dist/ContextMenu/index.d.ts +2 -2
  52. package/dist/ContextMenu/index.js +2 -2
  53. package/dist/{ContextMenu-C6hPYvYz.js → ContextMenu-BH_yV1xZ.js} +14 -14
  54. package/dist/DateInput/index.d.ts +1 -1
  55. package/dist/DateInput/index.js +1 -1
  56. package/dist/{DateInput-BjLdmYor.js → DateInput-BfR_bV-E.js} +25 -25
  57. package/dist/DateRangeInput/index.d.ts +1 -1
  58. package/dist/DateRangeInput/index.js +1 -1
  59. package/dist/{DateRangeInput-Br3wVEfD.js → DateRangeInput-DholSURy.js} +19 -19
  60. package/dist/DateTimeInput/index.d.ts +1 -1
  61. package/dist/DateTimeInput/index.js +1 -1
  62. package/dist/{DateTimeInput-CAZBwoRe.js → DateTimeInput-B6-bHZlz.js} +14 -14
  63. package/dist/Dialog/index.js +1 -1
  64. package/dist/{Dialog-Dce4Y97V.js → Dialog-C2qblOuT.js} +2 -2
  65. package/dist/DropdownMenu/index.d.ts +2 -2
  66. package/dist/DropdownMenu/index.js +3 -3
  67. package/dist/{DropdownMenu-BzQrNV9C.js → DropdownMenu-BwsljguO.js} +14 -14
  68. package/dist/{DropdownMenu-BdGmQVb1.js → DropdownMenu-DaxYMyco.js} +11 -11
  69. package/dist/{DropdownMenuRadioItem.vue-Qd-8Rg4Q.d.ts → DropdownMenuRadioItem.vue-C6W2wPLv.d.ts} +1 -1
  70. package/dist/EmptyState/index.js +1 -1
  71. package/dist/{EmptyState-CmOQf2SH.js → EmptyState-QNsJMLv1.js} +1 -1
  72. package/dist/Field/index.js +3 -3
  73. package/dist/{Field--OEsLBfE.js → Field-ff-Jmtg1.js} +2 -2
  74. package/dist/FieldIcon--Qng2Cup.js +40 -0
  75. package/dist/{FieldInfoTip-gxsnfkZw.js → FieldInfoTip-DRXvsWkr.js} +3 -3
  76. package/dist/{FieldLabel-jxIiWgLw.js → FieldLabel-CCA3AmQX.js} +4 -4
  77. package/dist/FieldStatus/index.js +1 -1
  78. package/dist/{FieldStatus-MjY19ERl.js → FieldStatus-BGM4IlHy.js} +1 -1
  79. package/dist/FileInput/index.d.ts +1 -1
  80. package/dist/FileInput/index.js +1 -1
  81. package/dist/{FileInput-B_pUxB0Y.js → FileInput-CnBaHvNx.js} +14 -14
  82. package/dist/Heading/index.d.ts +1 -1
  83. package/dist/HoverCard/index.d.ts +1 -1
  84. package/dist/Icon/index.js +1 -1
  85. package/dist/{Icon-KDnUyY7f.js → Icon-Dosui-zD.js} +28 -3
  86. package/dist/IconButton/index.d.ts +1 -1
  87. package/dist/IconButton/index.js +1 -1
  88. package/dist/{IconButton-DI-XBbtV.js → IconButton-BkR7nVB3.js} +6 -1
  89. package/dist/Indicator/index.js +1 -1
  90. package/dist/{InputClearButton-CwXPan8c.js → InputClearButton-DKnC8sst.js} +3 -3
  91. package/dist/InputGroup/index.d.ts +1 -1
  92. package/dist/InputGroup/index.js +1 -1
  93. package/dist/{InputGroup-DiiocoIW.js → InputGroup-BBspcJsS.js} +1 -1
  94. package/dist/InternationalizationProvider/index.d.ts +1 -1
  95. package/dist/InternationalizationProvider/index.js +1 -1
  96. package/dist/{InternationalizationProvider-kBapgKAQ.js → InternationalizationProvider-qkLAE9Gm.js} +3 -3
  97. package/dist/Layout/index.d.ts +1 -1
  98. package/dist/Lightbox/index.js +1 -1
  99. package/dist/{Lightbox-D8wyPgMK.js → Lightbox-DclM0Brf.js} +9 -9
  100. package/dist/Link/index.d.ts +2 -2
  101. package/dist/Link/index.js +1 -1
  102. package/dist/{Link-DweIpOtN.js → Link-C50dTXDc.js} +1 -1
  103. package/dist/List/index.d.ts +1 -1
  104. package/dist/Markdown/index.d.ts +3 -3
  105. package/dist/Markdown/index.js +3 -4
  106. package/dist/Markdown/parser/index.d.ts +2 -2
  107. package/dist/Markdown/parser/index.js +1 -2
  108. package/dist/Markdown/plugin-protocol/index.d.ts +1 -1
  109. package/dist/Markdown/plugin-renderer/index.d.ts +1 -1
  110. package/dist/{Markdown-DhVfOvXk.js → Markdown-Cs8R5hG6.js} +9 -48
  111. package/dist/MetadataList/index.js +1 -1
  112. package/dist/{MetadataList-CEYceIlN.js → MetadataList-CzOUB43j.js} +1 -1
  113. package/dist/MobileNav/index.js +1 -1
  114. package/dist/{MobileNavToggle-pdoJFZHx.js → MobileNavToggle-DvC9xZIC.js} +1 -1
  115. package/dist/MoreMenu/index.d.ts +1 -1
  116. package/dist/MoreMenu/index.js +1 -1
  117. package/dist/{MoreMenu-CFNqSRev.js → MoreMenu-BAgTOJL3.js} +16 -16
  118. package/dist/MultiSelector/index.d.ts +1 -1
  119. package/dist/MultiSelector/index.js +1 -1
  120. package/dist/{MultiSelector-DuVatmq5.js → MultiSelector-V_VrLRdF.js} +16 -16
  121. package/dist/{NavHeadingSurface-C4v_MtkX.js → NavHeadingSurface-8AYa4tfY.js} +2 -2
  122. package/dist/NavItem/index.d.ts +1 -1
  123. package/dist/NumberInput/index.d.ts +1 -1
  124. package/dist/NumberInput/index.js +1 -1
  125. package/dist/{NumberInput-B0vzOg3N.js → NumberInput-C8iCWQih.js} +16 -16
  126. package/dist/Outline/index.d.ts +1 -1
  127. package/dist/Outline/index.js +1 -1
  128. package/dist/{Outline-CfGv2F1o.js → Outline-1Sh26FpE.js} +3 -3
  129. package/dist/OverflowList/index.d.ts +1 -1
  130. package/dist/OverflowList/index.js +1 -1
  131. package/dist/{OverflowList-BgRLZ3dh.js → OverflowList-COGSq_Mi.js} +6 -4
  132. package/dist/Overlay/index.d.ts +1 -1
  133. package/dist/Pagination/index.d.ts +1 -1
  134. package/dist/Pagination/index.js +1 -1
  135. package/dist/{Pagination-Bfe12018.js → Pagination-DfsCrTIx.js} +2 -2
  136. package/dist/Popover/index.d.ts +1 -1
  137. package/dist/Popover/index.js +1 -1
  138. package/dist/{Popover-78dFjTb9.js → Popover-Dmpyfb45.js} +1 -1
  139. package/dist/PowerSearch/index.d.ts +1 -1
  140. package/dist/PowerSearch/index.js +1 -1
  141. package/dist/{PowerSearch-BoAMdFaT.js → PowerSearch-BX8pD6L4.js} +25 -25
  142. package/dist/ProgressBar/index.d.ts +1 -1
  143. package/dist/Radio/index.d.ts +1 -1
  144. package/dist/Radio/index.js +1 -1
  145. package/dist/{RadioGroup-BIipql-L.js → RadioGroup-Bcu-oL8r.js} +2 -2
  146. package/dist/RadioList/index.d.ts +1 -1
  147. package/dist/RadioList/index.js +1 -1
  148. package/dist/{RadioList-GyhgBg4j.js → RadioList-C8Y3PhDF.js} +1 -1
  149. package/dist/Resizable/index.d.ts +1 -1
  150. package/dist/Resizable/index.js +1 -1
  151. package/dist/{ResizeHandle-TPlUCAHD.js → ResizeHandle-DhDxFvOI.js} +1 -1
  152. package/dist/ScrollableArea/index.d.ts +1 -1
  153. package/dist/SegmentedControl/index.d.ts +1 -1
  154. package/dist/SelectableCard/index.d.ts +1 -1
  155. package/dist/Selector/index.d.ts +1 -1
  156. package/dist/Selector/index.js +1 -1
  157. package/dist/{Selector-CPISLzp7.js → Selector-PBkInp3I.js} +20 -20
  158. package/dist/SideNav/index.d.ts +1 -1
  159. package/dist/SideNav/index.js +1 -1
  160. package/dist/{SideNav-CN2QeAtY.js → SideNav-CzhSOS4W.js} +12 -12
  161. package/dist/Slider/index.js +1 -1
  162. package/dist/{Slider-pdC0jpHu.js → Slider-BZwZrqCw.js} +2 -2
  163. package/dist/Spinner/index.js +1 -1
  164. package/dist/{Spinner-DdVUadii.js → Spinner-B7xuy3ZA.js} +1 -1
  165. package/dist/Stack/index.d.ts +1 -1
  166. package/dist/StatusDot/index.d.ts +1 -1
  167. package/dist/Stepper/index.js +1 -1
  168. package/dist/{Stepper-CyaSRSdu.js → Stepper-q1ieKrJM.js} +31 -39
  169. package/dist/Switch/index.d.ts +1 -1
  170. package/dist/Switch/index.js +1 -1
  171. package/dist/{Switch-Z2Vfiiic.js → Switch-D145VGQZ.js} +4 -4
  172. package/dist/TabList/index.d.ts +1 -1
  173. package/dist/TabList/index.js +1 -1
  174. package/dist/{TabList-DRqP0Hrv.js → TabList-npiEQK-q.js} +2 -2
  175. package/dist/Table/index.d.ts +2 -2
  176. package/dist/Table/index.js +1 -1
  177. package/dist/{Table-BcrrylMX.js → Table-B2bj8INX.js} +106 -68
  178. package/dist/Text/index.d.ts +2 -2
  179. package/dist/Text/index.js +1 -1
  180. package/dist/{Text-CmTOgYXf.js → Text-D5Cc7BMp.js} +4 -2
  181. package/dist/TextArea/index.d.ts +1 -1
  182. package/dist/TextArea/index.js +1 -1
  183. package/dist/{TextArea-DA9CCG_J.js → TextArea-Dxl4UuIg.js} +20 -14
  184. package/dist/TextInput/index.d.ts +1 -1
  185. package/dist/TextInput/index.js +1 -1
  186. package/dist/{TextInput-CI96einV.js → TextInput-Ciy-VyBn.js} +5 -5
  187. package/dist/Theme/index.js +2 -2
  188. package/dist/{Theme-BbDT8B_C.js → Theme-BpgmIGCo.js} +1 -1
  189. package/dist/Thumbnail/index.js +1 -1
  190. package/dist/{Thumbnail-B2ZAY59J.js → Thumbnail-DnWOc0od.js} +10 -10
  191. package/dist/{TimeField-CpAgja9D.js → TimeField-Bglx_QpO.js} +16 -16
  192. package/dist/TimeInput/index.d.ts +1 -1
  193. package/dist/TimeInput/index.js +1 -1
  194. package/dist/{TimeInput-Bw_lHS4M.js → TimeInput-T_kjTVaa.js} +2 -2
  195. package/dist/Timer/index.d.ts +1 -1
  196. package/dist/Timer/index.js +1 -1
  197. package/dist/{Timer-CH7GsEVu.js → Timer-DFC8PhJl.js} +1 -1
  198. package/dist/Timestamp/index.d.ts +1 -1
  199. package/dist/Timestamp/index.js +1 -1
  200. package/dist/{Timestamp-BFNuoTZ0.js → Timestamp-DUUoQOjg.js} +8 -8
  201. package/dist/Toast/index.js +1 -1
  202. package/dist/{Toast-DwnPjx6j.js → Toast-CCbbZ8RK.js} +2 -2
  203. package/dist/ToggleButton/index.d.ts +1 -1
  204. package/dist/ToggleButton/index.js +1 -1
  205. package/dist/{ToggleButton-cLjh9W-x.js → ToggleButton-BaTlbgA5.js} +1 -1
  206. package/dist/Token/index.d.ts +1 -1
  207. package/dist/Token/index.js +1 -1
  208. package/dist/{Token-BfS4vi__.js → Token-BHzLrzib.js} +1 -1
  209. package/dist/Tokenizer/index.d.ts +1 -1
  210. package/dist/Tokenizer/index.js +1 -1
  211. package/dist/{Tokenizer-Ci3E5bvP.js → Tokenizer-BxJM9mMl.js} +5 -5
  212. package/dist/Toolbar/index.d.ts +2 -2
  213. package/dist/Toolbar/index.js +1 -1
  214. package/dist/Toolbar-DKld_COt.js +79 -0
  215. package/dist/Tooltip/index.d.ts +1 -1
  216. package/dist/TopNav/index.d.ts +1 -1
  217. package/dist/TopNav/index.js +1 -1
  218. package/dist/{TopNav-gW59zp1o.js → TopNav-CY-c_THZ.js} +11 -11
  219. package/dist/TreeList/index.js +1 -1
  220. package/dist/{TreeList-DaoI7zaH.js → TreeList-A_YrW4iI.js} +7 -7
  221. package/dist/Typeahead/index.js +2 -2
  222. package/dist/{Typeahead-D4JjvjK4.js → Typeahead-C7e2vky1.js} +6 -6
  223. package/dist/{TypeaheadMenu-BQlMrfqX.js → TypeaheadMenu-wfBWRFQ6.js} +1 -1
  224. package/dist/composables/index.d.ts +2 -2
  225. package/dist/composables/index.js +2 -2
  226. package/dist/{composables-Bc02zKAO.js → composables-Csqd3fts.js} +1 -1
  227. package/dist/{context-DWfi56sq.js → context-CVUee2tp.js} +196 -0
  228. package/dist/{index-B-nESNam.d.ts → index-8px-LKw_.d.ts} +8 -2
  229. package/dist/{index-B56j4eI2.d.ts → index-B1t1oQWH.d.ts} +1 -1
  230. package/dist/{index-DLAG3m9W.d.ts → index-B7Jz5i9a.d.ts} +3 -3
  231. package/dist/{index-CK-Dbh0f.d.ts → index-B9e52paP.d.ts} +1 -1
  232. package/dist/{index-Cs1xsHKi.d.ts → index-BUSp3po9.d.ts} +10 -10
  233. package/dist/{index-IfsSCj8J.d.ts → index-BUlAPQW0.d.ts} +2 -2
  234. package/dist/{index-pNtfr-RW.d.ts → index-BbArm3_c.d.ts} +2 -2
  235. package/dist/{index-D7ShT2c-.d.ts → index-BgT6mH3U.d.ts} +1 -1
  236. package/dist/{index-CPtDjmcX.d.ts → index-BhLLG-Gi.d.ts} +3 -3
  237. package/dist/{index-jOwU3YoR.d.ts → index-Bjzub4sT.d.ts} +1 -1
  238. package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
  239. package/dist/{index-DfC05uKG.d.ts → index-C-tFz2Yx.d.ts} +1 -1
  240. package/dist/{index-DY8Wph-A.d.ts → index-C1zwvxPH.d.ts} +2 -2
  241. package/dist/{index-BULhhnGf.d.ts → index-CHuSkU5Q.d.ts} +1 -1
  242. package/dist/{index-CTf3SK0b.d.ts → index-CMiF_a__.d.ts} +1 -1
  243. package/dist/{index-CdvmnNMH.d.ts → index-COgrQZIL.d.ts} +1 -1
  244. package/dist/{index-CikMzeab.d.ts → index-CUCcYKxl.d.ts} +3 -3
  245. package/dist/{index-Dr4b_oji.d.ts → index-CUMQD-uy.d.ts} +7 -7
  246. package/dist/{index-BQEJj72c.d.ts → index-CfSSGJgv.d.ts} +5 -5
  247. package/dist/{index-CJ6ajsUC.d.ts → index-ChCcxRFB.d.ts} +2 -2
  248. package/dist/{index-B08-Uxhv.d.ts → index-CuEB_3NR.d.ts} +1 -1
  249. package/dist/{index-BV2D2x_u.d.ts → index-D97pQbua.d.ts} +1 -1
  250. package/dist/{index-BZKgbyN9.d.ts → index-DAMHLkmd.d.ts} +1 -1
  251. package/dist/{index-CpNlPLBF.d.ts → index-DDUqIVGW.d.ts} +77 -77
  252. package/dist/{index-BO9TY87G.d.ts → index-DFLPv9io.d.ts} +1 -1
  253. package/dist/{index-CtTGt6Dv.d.ts → index-DPocrd8C.d.ts} +1 -1
  254. package/dist/{index-C4Cjz6OK.d.ts → index-DUnLj1kn.d.ts} +1 -1
  255. package/dist/{index-CKgBTAzC.d.ts → index-D_8RGgF1.d.ts} +1 -1
  256. package/dist/{index-D0_HsuC3.d.ts → index-DbiZvj1P.d.ts} +1 -1
  257. package/dist/{index-C7sam-SB.d.ts → index-Dl4Kx5Pl.d.ts} +1 -1
  258. package/dist/{index-unAZVFGz.d.ts → index-Dy746dfn.d.ts} +1 -1
  259. package/dist/{index-DNA2l1RN.d.ts → index-G935Rujh.d.ts} +1 -1
  260. package/dist/{index-Cq31D3fJ.d.ts → index-GpET2_oj.d.ts} +1 -1
  261. package/dist/{index-Yl4kJKpq.d.ts → index-QWh122EV.d.ts} +1 -1
  262. package/dist/{index-COxy6LEW.d.ts → index-gW0HW02U.d.ts} +1 -1
  263. package/dist/{index-DRJZ-v1E.d.ts → index-j0WJTviq.d.ts} +1 -1
  264. package/dist/{index-CRrSHbok.d.ts → index-jBub29ti.d.ts} +1 -1
  265. package/dist/{index-CGEC2zgy.d.ts → index-mcNmCMqs.d.ts} +1 -1
  266. package/dist/{index-Bn-v89Vt.d.ts → index-mkbGYz8f.d.ts} +3 -3
  267. package/dist/{index-BEZ4ezJk.d.ts → index-wY6dKz6c.d.ts} +2 -2
  268. package/dist/index.d.ts +50 -50
  269. package/dist/index.js +89 -89
  270. package/dist/{loadCatalog-eopw74qb.js → loadCatalog-BvoQXMpW.js} +2 -2
  271. package/dist/{loadCatalog-DlLFZreI.d.ts → loadCatalog-yVGfaB20.d.ts} +112 -0
  272. package/dist/locale/index.d.ts +2 -2
  273. package/dist/locale/index.js +4 -4
  274. package/dist/{locale-CabGJlGp.js → locale-D4DoSjrL.js} +1 -1
  275. package/dist/{protocol-RSeMzAN1.d.ts → protocol-DwUmpC5G.d.ts} +3 -1
  276. package/dist/{publicParser-B0MRoikr.d.ts → publicParser-B6XMcsB2.d.ts} +2 -2
  277. package/dist/publicParser-C8RBKNLA.js +1453 -0
  278. package/dist/{searchResultMessage-mCpJBvra.js → searchResultMessage-Do17kweN.js} +7 -7
  279. package/dist/slug-DAK6hdbr.js +17 -0
  280. package/dist/{types-Ckih2YJi.d.ts → types-BymI5mmm.d.ts} +1 -2
  281. package/dist/{types-BnNTzEnd.d.ts → types-CbiqoBoG.d.ts} +1 -1
  282. package/dist/{types-WlmsNL1I.d.ts → types-DnrU3HYQ.d.ts} +8 -1
  283. package/dist/{upstreamMap-xr3gvREu.js → upstreamMap-BFXZHlnp.js} +198 -1
  284. package/dist/{useIndicator-MZmfBWid.js → useIndicator-fTOZfYVI.js} +2 -2
  285. package/dist/{useInputStatusIcon-DAE7PExr.js → useInputStatusIcon-yj_rY6TQ.js} +2 -2
  286. package/dist/{useMenuDrillIn-DhUnPvKs.js → useMenuDrillIn-CjU_ZMhh.js} +1 -1
  287. package/dist/{useResizable-1MHPNaRD.d.ts → useResizable-BJ0DaMml.d.ts} +8 -3
  288. package/dist/{useTranslator-BmWt2BBt.js → useTranslator-BQ1KFNSZ.js} +2 -2
  289. package/package.json +1 -1
  290. package/styles/banner.css +2 -1
  291. package/styles/complex-selector.css +2 -0
  292. package/styles/icon.css +13 -9
  293. package/styles/link.css +10 -9
  294. package/styles/markdown.css +23 -8
  295. package/styles/power-search.css +4 -2
  296. package/styles/progress-bar.css +7 -1
  297. package/styles/status-dot.css +8 -0
  298. package/styles/tab-list.css +4 -3
  299. package/styles/table.css +47 -61
  300. package/styles/text-area.css +6 -0
  301. package/styles/text-input.css +0 -1
  302. package/styles/text.css +18 -16
  303. package/styles/token.css +1 -2
  304. package/styles/toolbar.css +18 -14
  305. package/dist/FieldIcon--NTgW5IU.js +0 -44
  306. package/dist/Toolbar-C0pMWL4S.js +0 -73
  307. package/dist/characterReferences-BJ-jLhsR.js +0 -65
  308. package/dist/context-pjBxaMSh.js +0 -28
  309. package/dist/publicParser-uHC_T0Fo.js +0 -895
  310. package/dist/slug-C65CUsf9.js +0 -32
  311. package/dist/{Code-Bg7GBdxy.js → Code-U7yN4bwZ.js} +1 -1
  312. package/dist/{MediaTheme-DlLqYhDy.js → MediaTheme-p2hOnZaR.js} +1 -1
  313. package/dist/{index-BqhgeAT4.d.ts → index-BJ9Wim6J.d.ts} +1 -1
@@ -1,7 +1,7 @@
1
- import { n as useButtonTooltip } from "./Button-ONOoHdkg.js";
2
- import { t as _sfc_main$1 } from "./ButtonTooltip-CNKOQHYR.js";
3
- import { s as useAstryxMessages } from "./context-DWfi56sq.js";
4
- import { t as _sfc_main$2 } from "./Icon-KDnUyY7f.js";
1
+ import { t as _sfc_main$1 } from "./Icon-Dosui-zD.js";
2
+ import { n as useButtonTooltip } from "./Button-bxKFDhhg.js";
3
+ import { t as _sfc_main$2 } from "./ButtonTooltip-CNKOQHYR.js";
4
+ import { s as useAstryxMessages } from "./context-CVUee2tp.js";
5
5
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createVNode, defineComponent, openBlock, unref, useId, useTemplateRef, withModifiers } from "vue";
6
6
  //#region src/Field/StatusGlyph.vue
7
7
  const _hoisted_1 = ["data-status", "aria-label"];
@@ -40,16 +40,16 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
40
40
  onBlur: _cache[2] || (_cache[2] = (...args) => unref(tooltip).hideImmediately && unref(tooltip).hideImmediately(...args)),
41
41
  onPointerenter: _cache[3] || (_cache[3] = (...args) => unref(tooltip).onPointerEnter && unref(tooltip).onPointerEnter(...args)),
42
42
  onPointerleave: _cache[4] || (_cache[4] = (...args) => unref(tooltip).onPointerLeave && unref(tooltip).onPointerLeave(...args))
43
- }, [createVNode(_sfc_main$2, {
43
+ }, [createVNode(_sfc_main$1, {
44
44
  icon: __props.type,
45
45
  size: "sm"
46
- }, null, 8, ["icon"])], 40, _hoisted_1)) : (openBlock(), createBlock(_sfc_main$2, {
46
+ }, null, 8, ["icon"])], 40, _hoisted_1)) : (openBlock(), createBlock(_sfc_main$1, {
47
47
  key: 1,
48
48
  class: "astryx-field-status-glyph",
49
49
  icon: __props.type,
50
50
  size: "sm",
51
51
  "data-status": __props.type
52
- }, null, 8, ["icon", "data-status"])), showsTooltip.value ? (openBlock(), createBlock(_sfc_main$1, {
52
+ }, null, 8, ["icon", "data-status"])), showsTooltip.value ? (openBlock(), createBlock(_sfc_main$2, {
53
53
  key: 2,
54
54
  id: tooltipId,
55
55
  anchor: anchor.value,
@@ -0,0 +1,17 @@
1
+ //#region src/Markdown/slug.ts
2
+ /** URL slug for a heading. Letters and numbers from any language are kept. */
3
+ function slugify(value) {
4
+ return value.trim().toLowerCase().replace(/['"]/g, "").replace(/[^\p{Letter}\p{Number}]+/gu, "-").replace(/^-+|-+$/g, "");
5
+ }
6
+ /**
7
+ * `setup`, then `setup-1`, then `setup-2`. An empty slug becomes `section`.
8
+ * One map covers a whole document.
9
+ */
10
+ function uniqueSlug(baseSlug, counts) {
11
+ const slug = baseSlug === "" ? "section" : baseSlug;
12
+ const seen = counts.get(slug) ?? 0;
13
+ counts.set(slug, seen + 1);
14
+ return seen === 0 ? slug : `${slug}-${seen}`;
15
+ }
16
+ //#endregion
17
+ export { uniqueSlug as n, slugify as t };
@@ -20,8 +20,7 @@ interface TextProps {
20
20
  */
21
21
  size?: TextSize;
22
22
  /**
23
- * Text color.
24
- * @default 'primary'
23
+ * Text color. Defaults to `secondary` for `type="supporting"`, `primary` otherwise.
25
24
  */
26
25
  color?: TextColor;
27
26
  /**
@@ -1,4 +1,4 @@
1
- import { l as TextWeight, o as TextSize } from "./types-Ckih2YJi.js";
1
+ import { l as TextWeight, o as TextSize } from "./types-BymI5mmm.js";
2
2
  import { Component } from "vue";
3
3
  //#region src/Link/types.d.ts
4
4
  type LinkColor = 'primary' | 'secondary' | 'accent' | 'inherit';
@@ -1,4 +1,5 @@
1
- import { Component } from "vue";
1
+ import { t as ExtendedIconName } from "./types-C5GQ2KCK.js";
2
+ import { Component, VNodeChild } from "vue";
2
3
  //#region src/Button/types.d.ts
3
4
  interface ButtonVariantMap {
4
5
  destructive: true;
@@ -26,6 +27,12 @@ interface ButtonProps {
26
27
  href?: string;
27
28
  /** Disables interaction. @default false */
28
29
  isDisabled?: boolean;
30
+ /**
31
+ * Icon drawn before the label. A semantic icon name (like `search`), a CSS
32
+ * icon class, a component, or a render function. The `#icon` slot wins when
33
+ * both are set.
34
+ */
35
+ icon?: ExtendedIconName | Component | (() => VNodeChild);
29
36
  /** Renders only the icon slot and uses label as the accessible name. @default false */
30
37
  isIconOnly?: boolean;
31
38
  /** Keeps the control interactive while clickAction is pending. @default false */
@@ -411,6 +411,167 @@ const formsUpstreamMap = {
411
411
  }]
412
412
  };
413
413
  //#endregion
414
+ //#region src/locale/upstream/lab.ts
415
+ /** lab 包里的记录编辑器与两栏选择器。文案由 lab 组件自己取,core 只负责保存。 */
416
+ const labUpstreamMap = {
417
+ "@astryx.listInput.emptyTitle": [{
418
+ path: "listInput.emptyTitle",
419
+ args: ["itemName"]
420
+ }],
421
+ "@astryx.listInput.emptyDescription": [{
422
+ path: "listInput.emptyDescription",
423
+ args: ["itemName"]
424
+ }],
425
+ "@astryx.listInput.addItem": [{
426
+ path: "listInput.addItem",
427
+ args: ["itemName"]
428
+ }],
429
+ "@astryx.listInput.removeItem": [{
430
+ path: "listInput.removeItem",
431
+ args: ["itemName", "position"]
432
+ }],
433
+ "@astryx.listInput.removeUnavailable": [{ path: "listInput.removeUnavailable" }],
434
+ "@astryx.listInput.reorderItem": [{
435
+ path: "listInput.reorderItem",
436
+ args: ["itemName", "position"]
437
+ }],
438
+ "@astryx.listInput.fieldLabelWithPosition": [{
439
+ path: "listInput.fieldLabelWithPosition",
440
+ args: [
441
+ "header",
442
+ "itemName",
443
+ "position",
444
+ "total"
445
+ ]
446
+ }],
447
+ "@astryx.listInput.reorderInstructions": [{ path: "listInput.reorderInstructions" }],
448
+ "@astryx.listInput.announceAdded": [{
449
+ path: "listInput.announceAdded",
450
+ args: ["itemName", "position"]
451
+ }],
452
+ "@astryx.listInput.announceRemoved": [{
453
+ path: "listInput.announceRemoved",
454
+ args: ["itemName", "position"]
455
+ }],
456
+ "@astryx.listInput.announceGrabbed": [{
457
+ path: "listInput.announceGrabbed",
458
+ args: ["itemName", "position"]
459
+ }],
460
+ "@astryx.listInput.announceMovedToPosition": [{
461
+ path: "listInput.announceMovedToPosition",
462
+ args: [
463
+ "itemName",
464
+ "position",
465
+ "total"
466
+ ]
467
+ }],
468
+ "@astryx.listInput.announceReorderCancelled": [{ path: "listInput.announceReorderCancelled" }],
469
+ "@astryx.listInput.announceReturnedToPosition": [{
470
+ path: "listInput.announceReturnedToPosition",
471
+ args: ["itemName", "position"]
472
+ }],
473
+ "@astryx.listInput.announceDropped": [{
474
+ path: "listInput.announceDropped",
475
+ args: [
476
+ "itemName",
477
+ "position",
478
+ "total"
479
+ ]
480
+ }],
481
+ "@astryx.transferList.selectedLabel": [{ path: "transferList.selectedLabel" }],
482
+ "@astryx.transferList.availableLabel": [{ path: "transferList.availableLabel" }],
483
+ "@astryx.transferList.ungroupedLabel": [{ path: "transferList.ungroupedLabel" }],
484
+ "@astryx.transferList.searchPlaceholder": [{ path: "transferList.searchPlaceholder" }],
485
+ "@astryx.transferList.searchLabel": [{
486
+ path: "transferList.searchLabel",
487
+ args: ["label"]
488
+ }],
489
+ "@astryx.transferList.selectedEmpty": [{ path: "transferList.selectedEmpty" }],
490
+ "@astryx.transferList.availableEmpty": [{ path: "transferList.availableEmpty" }],
491
+ "@astryx.transferList.noResults": [{ path: "transferList.noResults" }],
492
+ "@astryx.transferList.clear": [{ path: "transferList.clear" }],
493
+ "@astryx.transferList.addAll": [{ path: "transferList.addAll" }],
494
+ "@astryx.transferList.addOption": [{
495
+ path: "transferList.addOption",
496
+ args: ["label"]
497
+ }],
498
+ "@astryx.transferList.removeOption": [{
499
+ path: "transferList.removeOption",
500
+ args: ["label"]
501
+ }],
502
+ "@astryx.transferList.reorderOption": [{
503
+ path: "transferList.reorderOption",
504
+ args: ["label"]
505
+ }],
506
+ "@astryx.transferList.transferDisabled": [{
507
+ path: "transferList.transferDisabled",
508
+ args: ["label"]
509
+ }],
510
+ "@astryx.transferList.reorderDisabled": [{
511
+ path: "transferList.reorderDisabled",
512
+ args: ["label"]
513
+ }],
514
+ "@astryx.transferList.reorderInstructions": [{ path: "transferList.reorderInstructions" }],
515
+ "@astryx.transferList.announceAdded": [{
516
+ path: "transferList.announceAdded",
517
+ args: ["label", "count"]
518
+ }],
519
+ "@astryx.transferList.announceRemoved": [{
520
+ path: "transferList.announceRemoved",
521
+ args: ["label", "count"]
522
+ }],
523
+ "@astryx.transferList.announceBulkAdded": [{
524
+ path: "transferList.announceBulkAdded",
525
+ args: ["count"]
526
+ }],
527
+ "@astryx.transferList.announceBulkRemoved": [{
528
+ path: "transferList.announceBulkRemoved",
529
+ args: ["count"]
530
+ }],
531
+ "@astryx.transferList.announceGrabbed": [{
532
+ path: "transferList.announceGrabbed",
533
+ args: [
534
+ "label",
535
+ "position",
536
+ "total"
537
+ ]
538
+ }],
539
+ "@astryx.transferList.announceMoveCancelled": [{
540
+ path: "transferList.announceMoveCancelled",
541
+ args: ["label"]
542
+ }],
543
+ "@astryx.transferList.announceDropped": [{
544
+ path: "transferList.announceDropped",
545
+ args: [
546
+ "label",
547
+ "position",
548
+ "total"
549
+ ]
550
+ }],
551
+ "@astryx.transferList.announceReturned": [{
552
+ path: "transferList.announceReturned",
553
+ args: ["label", "position"]
554
+ }],
555
+ "@astryx.transferList.announceMovedToPosition": [{
556
+ path: "transferList.announceMovedToPosition",
557
+ args: [
558
+ "label",
559
+ "position",
560
+ "total"
561
+ ]
562
+ }],
563
+ "@astryx.transferList.announceSearchResults": [{
564
+ path: "transferList.announceSearchResults",
565
+ args: ["count"]
566
+ }],
567
+ "@astryx.transferListSelector.apply": [{ path: "transferListSelector.apply" }],
568
+ "@astryx.transferListSelector.cancel": [{ path: "transferListSelector.cancel" }],
569
+ "@astryx.transferListSelector.triggerLabel": [{
570
+ path: "transferListSelector.triggerLabel",
571
+ args: ["count"]
572
+ }]
573
+ };
574
+ //#endregion
414
575
  //#region src/locale/upstream/navigation.ts
415
576
  /** 导航、布局、分页与菜单。 */
416
577
  const navigationUpstreamMap = {
@@ -602,6 +763,40 @@ const overlaysUpstreamMap = {
602
763
  "@astryx.markdown.table": [{ path: "markdown.table" }]
603
764
  };
604
765
  //#endregion
766
+ //#region src/locale/upstream/richtext.ts
767
+ /** 富文本编辑器(`@astryx-vue/richtext`)。文案由 richtext 自己取,core 只负责保存。 */
768
+ const richtextUpstreamMap = {
769
+ "@astryx.richTextEditor.tabEscapeHint": [{ path: "richTextEditor.tabEscapeHint" }],
770
+ "@astryx.richTextEditor.toolbar.label": [{ path: "richTextEditor.toolbar.label" }],
771
+ "@astryx.richTextEditor.toolbar.actions": [{ path: "richTextEditor.toolbar.actions" }],
772
+ "@astryx.richTextEditor.toolbar.undo": [{ path: "richTextEditor.toolbar.undo" }],
773
+ "@astryx.richTextEditor.toolbar.redo": [{ path: "richTextEditor.toolbar.redo" }],
774
+ "@astryx.richTextEditor.toolbar.historyDivider": [{ path: "richTextEditor.toolbar.historyDivider" }],
775
+ "@astryx.richTextEditor.toolbar.blockFormat": [{ path: "richTextEditor.toolbar.blockFormat" }],
776
+ "@astryx.richTextEditor.toolbar.formatDivider": [{ path: "richTextEditor.toolbar.formatDivider" }],
777
+ "@astryx.richTextEditor.toolbar.paragraph": [{ path: "richTextEditor.toolbar.paragraph" }],
778
+ "@astryx.richTextEditor.toolbar.heading1": [{ path: "richTextEditor.toolbar.heading1" }],
779
+ "@astryx.richTextEditor.toolbar.heading2": [{ path: "richTextEditor.toolbar.heading2" }],
780
+ "@astryx.richTextEditor.toolbar.heading3": [{ path: "richTextEditor.toolbar.heading3" }],
781
+ "@astryx.richTextEditor.toolbar.bulletedList": [{ path: "richTextEditor.toolbar.bulletedList" }],
782
+ "@astryx.richTextEditor.toolbar.numberedList": [{ path: "richTextEditor.toolbar.numberedList" }],
783
+ "@astryx.richTextEditor.toolbar.blockQuote": [{ path: "richTextEditor.toolbar.blockQuote" }],
784
+ "@astryx.richTextEditor.toolbar.bold": [{ path: "richTextEditor.toolbar.bold" }],
785
+ "@astryx.richTextEditor.toolbar.italic": [{ path: "richTextEditor.toolbar.italic" }],
786
+ "@astryx.richTextEditor.toolbar.underline": [{ path: "richTextEditor.toolbar.underline" }],
787
+ "@astryx.richTextEditor.toolbar.strikethrough": [{ path: "richTextEditor.toolbar.strikethrough" }],
788
+ "@astryx.richTextEditor.toolbar.inlineCode": [{ path: "richTextEditor.toolbar.inlineCode" }],
789
+ "@astryx.richTextEditor.toolbar.link": [{ path: "richTextEditor.toolbar.link" }],
790
+ "@astryx.richTextEditor.link.insertTitle": [{ path: "richTextEditor.link.insertTitle" }],
791
+ "@astryx.richTextEditor.link.editTitle": [{ path: "richTextEditor.link.editTitle" }],
792
+ "@astryx.richTextEditor.link.url": [{ path: "richTextEditor.link.url" }],
793
+ "@astryx.richTextEditor.link.invalidUrl": [{ path: "richTextEditor.link.invalidUrl" }],
794
+ "@astryx.richTextEditor.link.remove": [{ path: "richTextEditor.link.remove" }],
795
+ "@astryx.richTextEditor.link.cancel": [{ path: "richTextEditor.link.cancel" }],
796
+ "@astryx.richTextEditor.link.add": [{ path: "richTextEditor.link.add" }],
797
+ "@astryx.richTextEditor.link.update": [{ path: "richTextEditor.link.update" }]
798
+ };
799
+ //#endregion
605
800
  //#region src/locale/upstream/search.ts
606
801
  const operatorNames = [
607
802
  "contains",
@@ -709,7 +904,9 @@ const parts = [
709
904
  "@astryx.commandPalette.footer.select": [{ path: "commandPalette.select" }],
710
905
  "@astryx.commandPalette.footer.close": [{ path: "commandPalette.close" }]
711
906
  },
712
- chatUpstreamMap
907
+ chatUpstreamMap,
908
+ labUpstreamMap,
909
+ richtextUpstreamMap
713
910
  ];
714
911
  function mergeParts(list) {
715
912
  const merged = {};
@@ -1,6 +1,6 @@
1
- import { t as isRenderable } from "./isRenderable-BnKHIqfd.js";
2
- import { t as _sfc_main$2 } from "./Icon-KDnUyY7f.js";
1
+ import { t as _sfc_main$2 } from "./Icon-Dosui-zD.js";
3
2
  import { n as themeContextKey } from "./context-Cws_tXTr.js";
3
+ import { t as isRenderable } from "./isRenderable-BnKHIqfd.js";
4
4
  import { n as decorativeAttrs, t as _sfc_main$3 } from "./CheckboxIndicator-fH4d-JE1.js";
5
5
  import { computed, createBlock, createCommentVNode, createElementBlock, defineComponent, inject, mergeProps, openBlock, renderSlot, unref, useAttrs, useSlots, useTemplateRef } from "vue";
6
6
  import "../styles/check-indicator.css";
@@ -1,5 +1,5 @@
1
- import { t as _sfc_main } from "./FieldIcon--NTgW5IU.js";
2
- import { t as _sfc_main$1 } from "./FieldInfoTip-gxsnfkZw.js";
1
+ import { t as _sfc_main } from "./FieldIcon--Qng2Cup.js";
2
+ import { t as _sfc_main$1 } from "./FieldInfoTip-DRXvsWkr.js";
3
3
  import { computed, toValue } from "vue";
4
4
  //#region src/composables/useInputStatusIcon.ts
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
2
- import { t as _sfc_main$4 } from "./Icon-KDnUyY7f.js";
2
+ import { t as _sfc_main$4 } from "./Icon-Dosui-zD.js";
3
3
  import { t as _sfc_main$5 } from "./Item-DWMIjN8n.js";
4
4
  import { t as _sfc_main$6 } from "./CheckboxIndicator-fH4d-JE1.js";
5
5
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, inject, mergeModels, openBlock, provide, ref, renderSlot, toDisplayString, unref, useModel, useSlots, watch, withCtx } from "vue";
@@ -4,7 +4,7 @@ import { CSSProperties, MaybeRefOrGetter, Ref, VNode, VNodeChild } from "vue";
4
4
  //#region src/Toolbar/types.d.ts
5
5
  type ToolbarSize = 'sm' | 'md' | 'lg';
6
6
  type ToolbarOrientation = 'horizontal' | 'vertical';
7
- type ToolbarVariant = 'transparent' | 'muted';
7
+ type ToolbarVariant = 'section' | 'transparent' | 'muted';
8
8
  type ToolbarDivider = 'top' | 'bottom' | 'start' | 'end';
9
9
  interface ToolbarProps {
10
10
  /** 工具栏的无障碍名称。 */
@@ -15,7 +15,7 @@ interface ToolbarProps {
15
15
  gap?: SpacingStep;
16
16
  /** 方向键沿哪一根轴移动焦点。 @default 'horizontal' */
17
17
  orientation?: ToolbarOrientation;
18
- /** 底色。muted 用来标出批量操作条。 @default 'transparent' */
18
+ /** 底色,和 Section 的 variant 一致。muted 用来标出批量操作条。 @default 'transparent' */
19
19
  variant?: ToolbarVariant;
20
20
  /** 在指定边上画分隔线。 */
21
21
  dividers?: ToolbarDivider[];
@@ -105,9 +105,14 @@ interface TableSortEntry<TSortKey extends string = string> {
105
105
  direction: TableSortDirection;
106
106
  }
107
107
  type TableSortState<TSortKey extends string = string> = TableSortEntry<TSortKey>[];
108
+ type TableColumnHeader = string | (() => VNodeChild);
108
109
  interface TableColumn<T extends Record<string, unknown> = Record<string, unknown>> {
109
110
  key: string;
110
- header?: string;
111
+ /**
112
+ * 列头内容。字符串直接显示;函数返回的 VNode 用函数式组件渲染(对应原版收
113
+ * ReactNode)。可访问名称等需要纯文本的地方,函数形式回退到 `key`。
114
+ */
115
+ header?: TableColumnHeader;
111
116
  width?: ColumnWidth;
112
117
  align?: TableColumnAlign;
113
118
  verticalAlign?: TableVerticalAlign;
@@ -1,5 +1,5 @@
1
- import { s as useAstryxMessages } from "./context-DWfi56sq.js";
2
- import { t as upstreamMessageMap } from "./upstreamMap-xr3gvREu.js";
1
+ import { s as useAstryxMessages } from "./context-CVUee2tp.js";
2
+ import { t as upstreamMessageMap } from "./upstreamMap-BFXZHlnp.js";
3
3
  //#region src/locale/useTranslator.ts
4
4
  /**
5
5
  * 对应原版 Astryx 的 `hooks/useTranslator`。
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@astryx-vue/core",
3
3
  "type": "module",
4
- "version": "0.4.0",
4
+ "version": "0.5.0",
5
5
  "description": "Vue 3 components for the unofficial astryx-vue port of Astryx. Not affiliated with Meta.",
6
6
  "author": "ShenQingchuan",
7
7
  "license": "MIT",
package/styles/banner.css CHANGED
@@ -85,7 +85,8 @@
85
85
  color: var(--astryx-banner-icon-color);
86
86
  }
87
87
 
88
- .astryx-banner-icon > * {
88
+ /* The status Icon keeps its own md size (20px), as upstream does. */
89
+ .astryx-banner-icon > :not(.astryx-icon) {
89
90
  width: 16px;
90
91
  height: 16px;
91
92
  }
@@ -119,8 +119,10 @@
119
119
  }
120
120
 
121
121
  .astryx-complex-selector-content {
122
+ box-sizing: border-box;
122
123
  max-height: min(480px, calc(100vh - 32px));
123
124
  overflow: auto;
125
+ padding: var(--astryx-spacing-3, 12px);
124
126
  }
125
127
 
126
128
  @media (prefers-reduced-motion: reduce) {
package/styles/icon.css CHANGED
@@ -56,6 +56,14 @@
56
56
  display: block;
57
57
  width: 100%;
58
58
  height: 100%;
59
+ }
60
+
61
+ /*
62
+ * An SVG that declares its own fill (a stroked glyph says fill="none") keeps
63
+ * it. Only artwork without a fill attribute is painted with the current color.
64
+ */
65
+ .astryx-icon > svg:not([fill]),
66
+ .astryx-icon__svg > svg:not([fill]) {
59
67
  fill: currentcolor;
60
68
  }
61
69
 
@@ -227,7 +235,7 @@
227
235
  }
228
236
  /* stop */
229
237
  .astryx-icon--stop {
230
- --astryx-icon-artwork: var(--astryx-icon-stop, url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='5' width='14' height='14' rx='2'/%3E%3C/svg%3E"));
238
+ --astryx-icon-artwork: var(--astryx-icon-stop, url("data:image/svg+xml;utf8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27black%27%3E%3Crect x=%276%27 y=%276%27 width=%2712%27 height=%2712%27 rx=%272%27/%3E%3C/svg%3E"));
231
239
  }
232
240
  /* microphone */
233
241
  .astryx-icon--microphone {
@@ -235,15 +243,15 @@
235
243
  }
236
244
  /* warning */
237
245
  .astryx-icon--warning {
238
- --astryx-icon-artwork: var(--astryx-icon-warning, url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E"));
246
+ --astryx-icon-artwork: var(--astryx-icon-warning, url("data:image/svg+xml;utf8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27black%27%3E%3Cpath fill-rule=%27evenodd%27 clip-rule=%27evenodd%27 d=%27M10.29 3.86L2.07 19.05A2 2 0 003.78 22h16.44a2 2 0 001.71-2.95L13.71 3.86a2 2 0 00-3.42 0zM12 9a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0112 9zm0 9a1 1 0 100-2 1 1 0 000 2z%27/%3E%3C/svg%3E"));
239
247
  }
240
248
  /* error */
241
249
  .astryx-icon--error {
242
- --astryx-icon-artwork: var(--astryx-icon-error, url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m15 9-6 6'/%3E%3Cpath d='m9 9 6 6'/%3E%3C/svg%3E"));
250
+ --astryx-icon-artwork: var(--astryx-icon-error, url("data:image/svg+xml;utf8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27black%27%3E%3Cpath fill-rule=%27evenodd%27 clip-rule=%27evenodd%27 d=%27M12 3a9 9 0 100 18 9 9 0 000-18zm-2.47 5.47a.75.75 0 00-1.06 1.06L10.94 12l-2.47 2.47a.75.75 0 101.06 1.06L12 13.06l2.47 2.47a.75.75 0 101.06-1.06L13.06 12l2.47-2.47a.75.75 0 00-1.06-1.06L12 10.94l-2.47-2.47z%27/%3E%3C/svg%3E"));
243
251
  }
244
252
  /* success */
245
253
  .astryx-icon--success {
246
- --astryx-icon-artwork: var(--astryx-icon-success, url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.801 10A10 10 0 1 1 17 3.335'/%3E%3Cpath d='m9 11 3 3L22 4'/%3E%3C/svg%3E"));
254
+ --astryx-icon-artwork: var(--astryx-icon-success, url("data:image/svg+xml;utf8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27black%27%3E%3Cpath fill-rule=%27evenodd%27 clip-rule=%27evenodd%27 d=%27M12 3a9 9 0 100 18 9 9 0 000-18zm4.06 6.56a.75.75 0 00-1.12-1l-3.94 4.4-1.94-1.94a.75.75 0 00-1.06 1.06l2.5 2.5a.75.75 0 001.09-.03l4.47-5z%27/%3E%3C/svg%3E"));
247
255
  }
248
256
  /* chevronsLeft */
249
257
  .astryx-icon--chevrons-left {
@@ -253,13 +261,9 @@
253
261
  .astryx-icon--chevrons-right {
254
262
  --astryx-icon-artwork: var(--astryx-icon-chevrons-right, url("data:image/svg+xml;utf8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M6 6l6 6-6 6M13 6l6 6-6 6%27/%3E%3C/svg%3E"));
255
263
  }
256
- /* success */
257
- .astryx-icon--success {
258
- --astryx-icon-artwork: var(--astryx-icon-success, url("data:image/svg+xml;utf8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27black%27%3E%3Cpath fill-rule=%27evenodd%27 d=%27M12 3a9 9 0 100 18 9 9 0 000-18zm3.53 6.22a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06 0l-2-2a.75.75 0 111.06-1.06l1.47 1.47 3.72-3.72a.75.75 0 011.06 0z%27/%3E%3C/svg%3E"));
259
- }
260
264
  /* info */
261
265
  .astryx-icon--info {
262
- --astryx-icon-artwork: var(--astryx-icon-info, url("data:image/svg+xml;utf8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27black%27%3E%3Cpath fill-rule=%27evenodd%27 d=%27M12 3a9 9 0 100 18 9 9 0 000-18zm0 4a1 1 0 100 2 1 1 0 000-2zm-.75 3.75a.75.75 0 011.5 0v5.5a.75.75 0 01-1.5 0v-5.5z%27/%3E%3C/svg%3E"));
266
+ --astryx-icon-artwork: var(--astryx-icon-info, url("data:image/svg+xml;utf8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27black%27%3E%3Cpath fill-rule=%27evenodd%27 clip-rule=%27evenodd%27 d=%27M12 3a9 9 0 100 18 9 9 0 000-18zm0 4a1 1 0 100 2 1 1 0 000-2zm-.75 3.75a.75.75 0 011.5 0v5.5a.75.75 0 01-1.5 0v-5.5z%27/%3E%3C/svg%3E"));
263
267
  }
264
268
  /* externalLink */
265
269
  .astryx-icon--external-link {
package/styles/link.css CHANGED
@@ -55,15 +55,16 @@
55
55
  line-height: 1;
56
56
  }
57
57
 
58
- .astryx-link--size-sm { font-size: var(--astryx-text-sm-size, 0.75rem); }
59
- .astryx-link--size-md { font-size: var(--astryx-text-md-size, 0.875rem); }
60
- .astryx-link--size-lg { font-size: var(--astryx-text-lg-size, 1rem); }
61
- .astryx-link--size-xl { font-size: var(--astryx-text-xl-size, 1.25rem); }
62
-
63
- .astryx-link--weight-regular { font-weight: var(--astryx-font-weight-regular, 400); }
64
- .astryx-link--weight-medium { font-weight: var(--astryx-font-weight-medium, 500); }
65
- .astryx-link--weight-semibold { font-weight: var(--astryx-font-weight-semibold, 600); }
66
- .astryx-link--weight-bold { font-weight: var(--astryx-font-weight-bold, 700); }
58
+ /* 修饰类与基础规则同特异性,排在后面所以生效:基础里的 `font: inherit` 不会盖掉它们。 */
59
+ .astryx-link.astryx-link--size-sm { font-size: var(--astryx-text-sm-size, 0.75rem); }
60
+ .astryx-link.astryx-link--size-md { font-size: var(--astryx-text-md-size, 0.875rem); }
61
+ .astryx-link.astryx-link--size-lg { font-size: var(--astryx-text-lg-size, 1rem); }
62
+ .astryx-link.astryx-link--size-xl { font-size: var(--astryx-text-xl-size, 1.25rem); }
63
+
64
+ .astryx-link.astryx-link--weight-regular { font-weight: var(--astryx-font-weight-regular, 400); }
65
+ .astryx-link.astryx-link--weight-medium { font-weight: var(--astryx-font-weight-medium, 500); }
66
+ .astryx-link.astryx-link--weight-semibold { font-weight: var(--astryx-font-weight-semibold, 600); }
67
+ .astryx-link.astryx-link--weight-bold { font-weight: var(--astryx-font-weight-bold, 700); }
67
68
 
68
69
  .astryx-link__label {
69
70
  min-width: 0;
@@ -34,14 +34,18 @@
34
34
  margin-inline: auto;
35
35
  }
36
36
 
37
- .astryx-markdown :is(h1, h2, h3, h4, h5, h6).astryx-heading.astryx-markdown__heading {
38
- margin-block: var(--astryx-spacing-4, 16px) var(--astryx-spacing-2, 8px);
37
+ /* 标题间距看源文档里的标题深度(data-depth),不看渲染出来的 h 级别:
38
+ `headingLevelStart` 把 `#` 渲染成 h2 时,它仍然是"深度 1",取大间距。
39
+ 深度 1–3 是大标题(上 24 / 下 12),4–6 是小标题(上 16 / 下 8)。 */
40
+ .astryx-markdown .astryx-heading.astryx-markdown__heading {
41
+ margin-block: var(--_md-heading-top, var(--astryx-spacing-4, 16px)) var(--_md-heading-bottom, var(--astryx-spacing-2, 8px));
39
42
  color: var(--astryx-color-text-primary, #171717);
40
43
  font-family: var(--astryx-font-family-heading, Figtree, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);
41
44
  }
42
45
 
43
- .astryx-markdown :is(h1, h2).astryx-heading.astryx-markdown__heading {
44
- margin-block: var(--astryx-spacing-6, 24px) var(--astryx-spacing-3, 12px);
46
+ .astryx-markdown__heading:is([data-depth='1'], [data-depth='2'], [data-depth='3']) {
47
+ --_md-heading-top: var(--astryx-spacing-6, 24px);
48
+ --_md-heading-bottom: var(--astryx-spacing-3, 12px);
45
49
  }
46
50
 
47
51
  .astryx-markdown h1.astryx-heading.astryx-markdown__heading {
@@ -113,12 +117,14 @@
113
117
  border-block-start: var(--astryx-border-width, 1px) solid var(--astryx-color-border, #ebebeb);
114
118
  }
115
119
 
116
- .astryx-markdown[data-density='compact'] :is(h1, h2).astryx-heading.astryx-markdown__heading {
117
- margin-block: var(--astryx-spacing-4, 16px) var(--astryx-spacing-2, 8px);
120
+ .astryx-markdown[data-density='compact'] .astryx-markdown__heading {
121
+ --_md-heading-top: var(--astryx-spacing-3, 12px);
122
+ --_md-heading-bottom: var(--astryx-spacing-1, 4px);
118
123
  }
119
124
 
120
- .astryx-markdown[data-density='compact'] :is(h3, h4, h5, h6).astryx-heading.astryx-markdown__heading {
121
- margin-block: var(--astryx-spacing-3, 12px) var(--astryx-spacing-1, 4px);
125
+ .astryx-markdown[data-density='compact'] .astryx-markdown__heading:is([data-depth='1'], [data-depth='2'], [data-depth='3']) {
126
+ --_md-heading-top: var(--astryx-spacing-4, 16px);
127
+ --_md-heading-bottom: var(--astryx-spacing-2, 8px);
122
128
  }
123
129
 
124
130
  .astryx-markdown[data-density='compact'] :is(.astryx-markdown__paragraph, .astryx-markdown__list) {
@@ -145,6 +151,15 @@
145
151
  margin-block-end: 0;
146
152
  }
147
153
 
154
+ /* 标题自己的间距规则特异性更高,首尾去边距要跟上。 */
155
+ .astryx-markdown > .astryx-heading.astryx-markdown__heading:first-child {
156
+ margin-block-start: 0;
157
+ }
158
+
159
+ .astryx-markdown > .astryx-heading.astryx-markdown__heading:last-child {
160
+ margin-block-end: 0;
161
+ }
162
+
148
163
  .astryx-markdown strong {
149
164
  font-weight: var(--astryx-font-weight-semibold, 600);
150
165
  }
@@ -94,9 +94,10 @@
94
94
  cursor: pointer;
95
95
  }
96
96
 
97
+ /* 空着不占位:剩余宽度全给输入框(原版 Tokenizer 里输入框 flex 1 1 40px)。 */
97
98
  .astryx-power-search-tokens {
98
99
  display: flex;
99
- flex: 1 1 auto;
100
+ flex: 0 1 auto;
100
101
  flex-wrap: wrap;
101
102
  align-items: center;
102
103
  gap: var(--astryx-spacing-1, 4px);
@@ -138,10 +139,11 @@
138
139
  white-space: nowrap;
139
140
  }
140
141
 
142
+ /* 高度交给内容(原版输入框不定高),字段的 min-height 和 padding 说了算。 */
141
143
  .astryx-power-search-input {
142
144
  flex: 1 1 8rem;
143
145
  min-width: 4rem;
144
- height: var(--astryx-input-height-sm, 28px);
146
+ height: auto;
145
147
  margin: 0;
146
148
  padding: 0 var(--astryx-spacing-1, 4px);
147
149
  border: 0;
@@ -6,7 +6,8 @@
6
6
  display: flex;
7
7
  flex-direction: column;
8
8
  gap: var(--astryx-spacing-1, 4px);
9
- min-width: 0;
9
+ width: 100%;
10
+ min-width: 48px;
10
11
  }
11
12
 
12
13
  .astryx-progress-bar-header {
@@ -133,6 +134,11 @@
133
134
  background: var(--astryx-progress-bar-info-fill, var(--astryx-input-info, #6d9cfe));
134
135
  }
135
136
 
137
+ /* 原版 neutral 填充是 disabled 灰,不是前景近黑。 */
138
+ .astryx-progress-bar[data-variant='neutral'] .astryx-progress-bar-fill {
139
+ background: var(--astryx-progress-bar-neutral-fill, var(--astryx-color-text-disabled, light-dark(#a3a3a3, #525252)));
140
+ }
141
+
136
142
  /* A disabled bar dims everything it draws: the fill drops the variant color
137
143
  for the disabled foreground, and the label, value and marks step down to
138
144
  the muted ramp. */
@@ -13,6 +13,10 @@
13
13
  background-color: var(--astryx-status-dot-neutral-background, #a3a3a3);
14
14
  }
15
15
 
16
+ .astryx-status-dot[data-variant='accent'] {
17
+ background-color: var(--astryx-status-dot-accent-background, var(--astryx-color-accent, #1b1b1b));
18
+ }
19
+
16
20
  .astryx-status-dot[data-variant='info'] {
17
21
  background-color: var(--astryx-status-dot-info-background, #0074e2);
18
22
  }
@@ -43,6 +47,10 @@
43
47
  height: 75%;
44
48
  }
45
49
 
50
+ .astryx-status-dot[data-variant='accent'] .astryx-status-dot__icon {
51
+ color: var(--astryx-status-dot-accent-icon-foreground, var(--astryx-color-on-accent, #fff));
52
+ }
53
+
46
54
  .astryx-status-dot[data-variant='warning'] .astryx-status-dot__icon {
47
55
  color: var(--astryx-status-dot-warning-icon-foreground, #171717);
48
56
  }