@astryx-vue/core 0.7.21 → 0.7.22

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 (374) 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-Clj4LQbD.js} +14 -8
  4. package/dist/AppShell/index.js +1 -1
  5. package/dist/{AppShell-ggoyfRU8.js → AppShell--izaf9Fx.js} +3 -3
  6. package/dist/Avatar/index.d.ts +1 -1
  7. package/dist/Avatar/index.js +1 -1
  8. package/dist/{Avatar-CP5bJN1n.js → Avatar-cNntRBEo.js} +18 -14
  9. package/dist/AvatarGroup/index.d.ts +1 -1
  10. package/dist/AvatarGroup/index.js +1 -1
  11. package/dist/{AvatarGroup-Caxyz9SE.js → AvatarGroup-DbWLEmi1.js} +2 -2
  12. package/dist/Banner/index.d.ts +1 -1
  13. package/dist/Banner/index.js +1 -1
  14. package/dist/{Banner-DbyQDB6e.js → Banner-B_mAF0Cw.js} +7 -5
  15. package/dist/BottomSheet/index.js +2 -2
  16. package/dist/{BottomSheet-ChaxnQlr.js → BottomSheet-BKeyoL9N.js} +1 -1
  17. package/dist/{BottomSheet-BTFPLoGw.js → BottomSheet-CMukh1iI.js} +1 -1
  18. package/dist/Breadcrumbs/index.js +2 -2
  19. package/dist/{Breadcrumbs-DI7yRoNk.js → Breadcrumbs-b00jtj_I.js} +2 -2
  20. package/dist/Button/index.js +1 -1
  21. package/dist/{Button-j-zrKX71.js → Button-DVXOKWAy.js} +10 -77
  22. package/dist/ButtonGroup/index.d.ts +1 -1
  23. package/dist/ButtonGroup/index.js +1 -1
  24. package/dist/{ButtonGroup-DnkSZ9a5.js → ButtonGroup-B9sj-OvC.js} +5 -3
  25. package/dist/Calendar/index.d.ts +1 -1
  26. package/dist/Calendar/index.js +1 -1
  27. package/dist/{Calendar-C3ImYBio.js → Calendar-d_uOkvFE.js} +3 -3
  28. package/dist/Card/index.js +1 -1
  29. package/dist/{Card-B-I24X9S.js → Card-H4571ZKi.js} +1 -1
  30. package/dist/Carousel/index.js +1 -1
  31. package/dist/{Carousel-BQDdfnXx.js → Carousel-CUtC-6st.js} +3 -3
  32. package/dist/Center/index.d.ts +1 -1
  33. package/dist/Center/index.js +1 -1
  34. package/dist/{Center-DVaZaTGP.js → Center-B7FTd7Hw.js} +2 -10
  35. package/dist/Chat/index.d.ts +1 -1
  36. package/dist/Chat/index.js +1 -1
  37. package/dist/{Chat-CNPH-uIM.js → Chat-BCeC0sHI.js} +11 -8
  38. package/dist/CheckboxInput/index.d.ts +1 -1
  39. package/dist/CheckboxInput/index.js +1 -1
  40. package/dist/{CheckboxInput-B5xAXedF.js → CheckboxInput-B4pDfjvr.js} +5 -5
  41. package/dist/CheckboxList/index.d.ts +1 -1
  42. package/dist/CheckboxList/index.js +1 -1
  43. package/dist/{CheckboxList-DtX0fbxc.js → CheckboxList-DtxfdHRI.js} +14 -10
  44. package/dist/Citation/index.js +1 -1
  45. package/dist/{Citation-BDHIuvX3.js → Citation-CCu6QWG7.js} +2 -2
  46. package/dist/ClickableCard/index.d.ts +1 -1
  47. package/dist/ClickableCard/index.js +1 -1
  48. package/dist/{ClickableCard-Co1tB4i-.js → ClickableCard-jEBZbzHE.js} +2 -2
  49. package/dist/Code/index.js +1 -1
  50. package/dist/{CodeBlock-D3YjfbpG.js → CodeBlock-C8ZQsnEc.js} +17 -6
  51. package/dist/Collapsible/index.js +1 -1
  52. package/dist/{Collapsible-DPC_G0Me.js → Collapsible-BsPZ8CoN.js} +2 -2
  53. package/dist/CommandPalette/index.js +1 -1
  54. package/dist/{CommandPalette-CM5VyZTp.js → CommandPalette-0Kg-dJg3.js} +5 -5
  55. package/dist/ComplexSelector/index.js +1 -1
  56. package/dist/{ComplexSelector-DS23yb98.js → ComplexSelector-xJGZLLyu.js} +6 -6
  57. package/dist/ContextMenu/index.d.ts +1 -1
  58. package/dist/ContextMenu/index.js +2 -2
  59. package/dist/{ContextMenu-DPY3WDdI.js → ContextMenu-CgSIWUYh.js} +7 -7
  60. package/dist/DateInput/index.d.ts +1 -1
  61. package/dist/DateInput/index.js +1 -1
  62. package/dist/{DateInput-Bg_CG9Gq.js → DateInput-B0t3u-_h.js} +16 -14
  63. package/dist/DateRangeInput/index.d.ts +1 -1
  64. package/dist/DateRangeInput/index.js +1 -1
  65. package/dist/{DateRangeInput-Dz2AUP0I.js → DateRangeInput-CZcASUxa.js} +14 -12
  66. package/dist/DateTimeInput/index.d.ts +1 -1
  67. package/dist/DateTimeInput/index.js +1 -1
  68. package/dist/{DateTimeInput-BVbqFtKG.js → DateTimeInput-vkdQJjsh.js} +15 -13
  69. package/dist/Dialog/index.js +1 -1
  70. package/dist/{DialogHeader-B9o0yEd3.js → DialogHeader-Doo2W2Ni.js} +26 -17
  71. package/dist/Drawer/index.d.ts +1 -1
  72. package/dist/Drawer/index.js +1 -1
  73. package/dist/{Drawer-D15rGbvd.js → Drawer-Ca7Dny6L.js} +1 -1
  74. package/dist/DropdownMenu/index.js +3 -3
  75. package/dist/{DropdownMenu-DntJ04S-.js → DropdownMenu-ogcv4KxT.js} +8 -8
  76. package/dist/{DropdownMenu-Ct4EORZS.js → DropdownMenu-xdyXj4Mb.js} +7 -7
  77. package/dist/EmptyState/index.js +1 -1
  78. package/dist/{EmptyState-CVbtVcRb.js → EmptyState-BQrzgh2f.js} +2 -2
  79. package/dist/Field/index.js +3 -3
  80. package/dist/{Field-CQkyMITp.js → Field-DLg-trP2.js} +2 -2
  81. package/dist/{FieldIcon--Qng2Cup.js → FieldIcon-CxTnEb4Y.js} +1 -1
  82. package/dist/{FieldInfoTip-DJjB5GkG.js → FieldInfoTip-gWPWGd3Q.js} +3 -3
  83. package/dist/{FieldLabel-D9uEygay.js → FieldLabel-D5_Pap_W.js} +9 -5
  84. package/dist/FieldStatus/index.js +1 -1
  85. package/dist/{FieldStatus-BOtg9PvT.js → FieldStatus-D6Vo_dU5.js} +4 -3
  86. package/dist/FileInput/index.d.ts +1 -1
  87. package/dist/FileInput/index.js +1 -1
  88. package/dist/{FileInput-tLDnY0rm.js → FileInput-eBk4ZBY8.js} +9 -9
  89. package/dist/Heading/index.d.ts +1 -1
  90. package/dist/Heading/index.js +1 -1
  91. package/dist/{Heading-CwMG-5tj.js → Heading-D0zL1j5T.js} +1 -1
  92. package/dist/HoverCard/index.d.ts +1 -1
  93. package/dist/HoverCard/index.js +1 -1
  94. package/dist/{HoverCard-SuGMVIZR.js → HoverCard-B9uadAzT.js} +2 -1
  95. package/dist/Icon/index.js +1 -1
  96. package/dist/{Icon-Dosui-zD.js → Icon-CU3412Fe.js} +6 -1
  97. package/dist/IconButton/index.js +1 -1
  98. package/dist/{IconButton-CR5nMj-j.js → IconButton-C5U75I5C.js} +1 -1
  99. package/dist/Indicator/index.js +1 -1
  100. package/dist/InfoTip/index.d.ts +2 -0
  101. package/dist/InfoTip/index.js +5 -0
  102. package/dist/InfoTip-BlOySTNC.js +95 -0
  103. package/dist/{InputClearButton-C1LdboAn.js → InputClearButton-DjLXIYX4.js} +3 -3
  104. package/dist/InputGroup/index.d.ts +1 -1
  105. package/dist/InputGroup/index.js +1 -1
  106. package/dist/{InputGroup-Tvm7cVv3.js → InputGroup-BleRgc6W.js} +8 -4
  107. package/dist/InternationalizationProvider/index.d.ts +1 -1
  108. package/dist/InternationalizationProvider/index.js +1 -1
  109. package/dist/{InternationalizationProvider-DKNYYBp5.js → InternationalizationProvider-CWJDt7Qb.js} +2 -2
  110. package/dist/{Item-DWMIjN8n.js → Item-X9wgYWoD.js} +1 -1
  111. package/dist/Layout/index.d.ts +1 -1
  112. package/dist/Layout/index.js +2 -2
  113. package/dist/{Layout-JJRCG7Mf.js → Layout-mHcy28k7.js} +3 -2
  114. package/dist/{LayoutPanel-zM5vjrKS.js → LayoutPanel-DpbBk6rj.js} +4 -27
  115. package/dist/Lightbox/index.js +1 -1
  116. package/dist/{Lightbox-Cu56MBXY.js → Lightbox-BKIn3xh8.js} +3 -3
  117. package/dist/Link/index.d.ts +3 -3
  118. package/dist/Link/index.js +1 -1
  119. package/dist/{Link-YpnthlXS.js → Link-Qhzs2lcO.js} +27 -20
  120. package/dist/List/index.js +2 -2
  121. package/dist/{ListItem-Cq_nU1YV.js → ListItem-CertehfW.js} +1 -1
  122. package/dist/Markdown/index.d.ts +1 -1
  123. package/dist/Markdown/index.js +1 -1
  124. package/dist/{Markdown-DLeP1tb9.js → Markdown-BJFwe_pB.js} +9 -7
  125. package/dist/MetadataList/index.js +1 -1
  126. package/dist/{MetadataList-sNNwmmXa.js → MetadataList-wOngshS5.js} +1 -1
  127. package/dist/MobileNav/index.js +1 -1
  128. package/dist/{MobileNavToggle-DgEwchpj.js → MobileNavToggle-C8KAzhRl.js} +2 -2
  129. package/dist/MoreMenu/index.d.ts +1 -1
  130. package/dist/MoreMenu/index.js +1 -1
  131. package/dist/{MoreMenu-B2RqL8Dk.js → MoreMenu-VgbqyoGW.js} +13 -11
  132. package/dist/MultiSelector/index.d.ts +1 -1
  133. package/dist/MultiSelector/index.js +1 -1
  134. package/dist/{MultiSelector-BdEMzzhg.js → MultiSelector-BTIeCFDV.js} +36 -38
  135. package/dist/{NavDisclosure-snipr7Cd.js → NavDisclosure-BbRWuyhq.js} +1 -1
  136. package/dist/{NavHeadingSurface-tn7cGNlX.js → NavHeadingSurface-B2HkXx6S.js} +3 -3
  137. package/dist/NavItem/index.js +1 -1
  138. package/dist/{NavItem-BPb3yfgz.js → NavItem-DfHMmSsw.js} +1 -1
  139. package/dist/NavMenu/index.js +3 -3
  140. package/dist/{NavMenu-BA5lW02j.js → NavMenu-CZS5pRUv.js} +1 -1
  141. package/dist/{NavMenuItem-BuIgWJq8.js → NavMenuItem-duQuvU1o.js} +2 -2
  142. package/dist/NumberInput/index.d.ts +1 -1
  143. package/dist/NumberInput/index.js +1 -1
  144. package/dist/{NumberInput-DC-_pL6R.js → NumberInput-CkYRY1KW.js} +18 -31
  145. package/dist/Outline/index.js +1 -1
  146. package/dist/{Outline-C6xBCP2y.js → Outline-D3g7Vq7-.js} +2 -2
  147. package/dist/OverflowList/index.d.ts +1 -1
  148. package/dist/OverflowList/index.js +1 -1
  149. package/dist/{OverflowList-BHnarnHA.js → OverflowList-WwL2NPbI.js} +3 -3
  150. package/dist/Overlay/index.d.ts +1 -1
  151. package/dist/Pagination/index.js +1 -1
  152. package/dist/{Pagination-968o5gbr.js → Pagination-Cn53Nqe3.js} +2 -2
  153. package/dist/Popover/index.js +1 -1
  154. package/dist/{Popover-nNZl2uqy.js → Popover-Cbv5LUWL.js} +10 -6
  155. package/dist/PowerSearch/index.d.ts +1 -1
  156. package/dist/PowerSearch/index.js +1 -1
  157. package/dist/{PowerSearch-CibPe6gr.js → PowerSearch-DtncqsYh.js} +88 -73
  158. package/dist/ProgressBar/index.js +1 -1
  159. package/dist/{ProgressBar-Cmbhdfla.js → ProgressBar-Dt5AS0GY.js} +1 -1
  160. package/dist/Radio/index.d.ts +1 -1
  161. package/dist/Radio/index.js +1 -1
  162. package/dist/{RadioGroup-DuhW4utO.js → RadioGroup-B2lYTCeV.js} +4 -4
  163. package/dist/RadioList/index.d.ts +1 -1
  164. package/dist/RadioList/index.js +1 -1
  165. package/dist/{RadioList-Bq3Ndazr.js → RadioList-CieZtXzY.js} +1 -1
  166. package/dist/Resizable/index.d.ts +1 -1
  167. package/dist/Resizable/index.js +1 -1
  168. package/dist/{ResizeHandle-Bxt3HOsd.js → ResizeHandle-uBJj4W1M.js} +1 -1
  169. package/dist/ScrollableArea/index.d.ts +1 -1
  170. package/dist/ScrollableArea/index.js +1 -1
  171. package/dist/{ScrollableArea-0u6RWtGG.js → ScrollableArea-BgIytCxo.js} +3 -8
  172. package/dist/Scrollbars/index.js +2 -2
  173. package/dist/{Scrollbars-D_93hJYK.js → Scrollbars-Gvu4QVaF.js} +1 -1
  174. package/dist/Section/index.js +1 -1
  175. package/dist/{Section-v2QuWBBJ.js → Section-Km_FjJ-i.js} +2 -7
  176. package/dist/SegmentedControl/index.d.ts +1 -1
  177. package/dist/SegmentedControl/index.js +1 -1
  178. package/dist/{SegmentedControl-D1wWGBZo.js → SegmentedControl-BmDn1avo.js} +6 -4
  179. package/dist/SelectableCard/index.d.ts +1 -1
  180. package/dist/SelectableCard/index.js +1 -1
  181. package/dist/{SelectableCard-DmV8zq4L.js → SelectableCard-2a2gsxys.js} +2 -2
  182. package/dist/Selector/index.d.ts +1 -1
  183. package/dist/Selector/index.js +1 -1
  184. package/dist/{Selector-Bl_vRB6B.js → Selector-CgrXQtte.js} +121 -51
  185. package/dist/SideNav/index.d.ts +1 -1
  186. package/dist/SideNav/index.js +1 -1
  187. package/dist/{SideNav-BkYc75A-.js → SideNav-B_atCEBH.js} +45 -27
  188. package/dist/SizeContext/index.d.ts +2 -0
  189. package/dist/SizeContext/index.js +2 -0
  190. package/dist/SizeContext-BbaF-SEx.js +37 -0
  191. package/dist/Slider/index.js +1 -1
  192. package/dist/{Slider-DmQDKGvY.js → Slider-CEhy-D-R.js} +3 -3
  193. package/dist/Spinner/index.js +1 -1
  194. package/dist/{Spinner-D8YW_EgO.js → Spinner-CTWLR75x.js} +1 -1
  195. package/dist/Stack/index.js +2 -2
  196. package/dist/{Stack-Bp-XN9J4.js → Stack-DPB-Ztf7.js} +3 -11
  197. package/dist/{Stack-Bb_h60t3.js → Stack-Tw4I_dt-.js} +2 -2
  198. package/dist/StatusDot/index.js +1 -1
  199. package/dist/{StatusDot-DhNtAVEN.js → StatusDot-Bu_nCu0I.js} +1 -1
  200. package/dist/Stepper/index.d.ts +1 -1
  201. package/dist/Stepper/index.js +1 -1
  202. package/dist/{Stepper-CWoK1f1i.js → Stepper-DVXisudw.js} +148 -66
  203. package/dist/Switch/index.d.ts +2 -2
  204. package/dist/Switch/index.js +1 -1
  205. package/dist/{Switch-D_P5kd9S.js → Switch-DXShvaDA.js} +11 -5
  206. package/dist/TabList/index.d.ts +1 -1
  207. package/dist/TabList/index.js +1 -1
  208. package/dist/{TabList-B9RRmiqV.js → TabList-DIEm4YKM.js} +10 -8
  209. package/dist/Table/index.d.ts +2 -2
  210. package/dist/Table/index.js +1 -1
  211. package/dist/{Table-By-8bJNs.js → Table-RQ5wklzn.js} +27 -19
  212. package/dist/Text/index.d.ts +2 -2
  213. package/dist/Text/index.js +1 -1
  214. package/dist/{Text-D8ZIQxgB.js → Text-Wk-iDAzh.js} +2 -2
  215. package/dist/TextArea/index.d.ts +1 -1
  216. package/dist/TextArea/index.js +1 -1
  217. package/dist/{TextArea-MbA1CHBn.js → TextArea-D1QHRYUp.js} +23 -13
  218. package/dist/TextInput/index.d.ts +1 -1
  219. package/dist/TextInput/index.js +1 -1
  220. package/dist/{TextInput-BTh_93lB.js → TextInput-ZSr9jgdk.js} +10 -7
  221. package/dist/Theme/index.js +1 -1
  222. package/dist/{Theme-Db264zBm.js → Theme-D7_fQWgb.js} +569 -3
  223. package/dist/Thumbnail/index.js +1 -1
  224. package/dist/{Thumbnail-BICV4We5.js → Thumbnail-CYRPjf1Y.js} +6 -6
  225. package/dist/{TimeField-aSYbUpCL.js → TimeField-DnfFPnBT.js} +9 -9
  226. package/dist/TimeInput/index.d.ts +1 -1
  227. package/dist/TimeInput/index.js +1 -1
  228. package/dist/{TimeInput-adg4eX-J.js → TimeInput-Dj5b3rL3.js} +6 -4
  229. package/dist/Timer/index.d.ts +1 -1
  230. package/dist/Timer/index.js +1 -1
  231. package/dist/{Timer-cp10vcti.js → Timer-DL_MPa_h.js} +1 -1
  232. package/dist/Timestamp/index.d.ts +1 -1
  233. package/dist/Timestamp/index.js +1 -1
  234. package/dist/{Timestamp-Ip2NKQJq.js → Timestamp-hepTGx5N.js} +5 -5
  235. package/dist/Toast/index.js +1 -1
  236. package/dist/{Toast-BXHyruqR.js → Toast-DRIZNfyy.js} +24 -18
  237. package/dist/ToggleButton/index.d.ts +1 -1
  238. package/dist/ToggleButton/index.js +1 -1
  239. package/dist/{ToggleButton-CyZswHtC.js → ToggleButton-zpHmL_yH.js} +1 -1
  240. package/dist/Token/index.d.ts +1 -1
  241. package/dist/Token/index.js +1 -1
  242. package/dist/{Token-rBcE4hYh.js → Token-BJDLztV6.js} +2 -2
  243. package/dist/Tokenizer/index.js +1 -1
  244. package/dist/{Tokenizer-BbB7QIzQ.js → Tokenizer-yz0873oG.js} +45 -37
  245. package/dist/Toolbar/index.d.ts +2 -2
  246. package/dist/Toolbar/index.js +1 -1
  247. package/dist/{Toolbar-DKld_COt.js → Toolbar-CbVhy7K9.js} +3 -1
  248. package/dist/Tooltip/index.d.ts +1 -1
  249. package/dist/Tooltip/index.js +2 -1
  250. package/dist/Tooltip-BfKegFfq.js +126 -0
  251. package/dist/TopNav/index.d.ts +1 -1
  252. package/dist/TopNav/index.js +1 -1
  253. package/dist/{TopNav-Dwu7beKR.js → TopNav-aCHKxMyk.js} +7 -7
  254. package/dist/TreeList/index.d.ts +1 -1
  255. package/dist/TreeList/index.js +1 -1
  256. package/dist/{TreeList-XMAHW9fH.js → TreeList-tcEjVfb0.js} +34 -26
  257. package/dist/Typeahead/index.js +2 -2
  258. package/dist/{Typeahead-CFOX5CtL.js → Typeahead-ClidGB0O.js} +8 -8
  259. package/dist/{TypeaheadMenu-CafYGgVa.js → TypeaheadMenu-Bu9HO-wZ.js} +1 -1
  260. package/dist/composables/index.d.ts +2 -2
  261. package/dist/composables/index.js +6 -5
  262. package/dist/{composables-rlh0LyHP.js → composables-BWDrzi3J.js} +1 -1
  263. package/dist/{context-dY6CBI-t.js → context-BLSiTojH.js} +12 -2
  264. package/dist/context-Bv6lAoqu.js +26 -0
  265. package/dist/{index-COxy6LEW.d.ts → index-6kd7pher.d.ts} +0 -1
  266. package/dist/{index-ChCcxRFB.d.ts → index-9eluGe3a.d.ts} +1 -1
  267. package/dist/{index-YiuDd72p.d.ts → index-B7VpAZYk.d.ts} +20 -7
  268. package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
  269. package/dist/{index-BlujHTbz.d.ts → index-BRXgpLcd.d.ts} +3 -4
  270. package/dist/{index-G935Rujh.d.ts → index-BUZDSd-n.d.ts} +96 -2
  271. package/dist/{index-C085uLOn.d.ts → index-Be7N3B5F.d.ts} +1 -2
  272. package/dist/{index-B8EnP-PB.d.ts → index-BfQ85cS8.d.ts} +0 -1
  273. package/dist/{index-C-tFz2Yx.d.ts → index-C9ZssPUV.d.ts} +1 -1
  274. package/dist/{index-CRPSZ4nY.d.ts → index-CFm1rPma.d.ts} +1 -1
  275. package/dist/{index-oYGkhGRq.d.ts → index-CM8KfpBL.d.ts} +1 -2
  276. package/dist/{index-B9xI9ns-.d.ts → index-CfOpGR_m.d.ts} +188 -120
  277. package/dist/{index-DAMHLkmd.d.ts → index-CfPGC9aW.d.ts} +1 -1
  278. package/dist/{index-GpET2_oj.d.ts → index-Cun6cXGP.d.ts} +1 -1
  279. package/dist/{index-DUnLj1kn.d.ts → index-DLq_N8bd.d.ts} +1 -1
  280. package/dist/{index-Dl4Kx5Pl.d.ts → index-DTfA4uE3.d.ts} +13 -3
  281. package/dist/{index-CKpz_Eed.d.ts → index-DX4HQToB.d.ts} +1 -1
  282. package/dist/{index-D97pQbua.d.ts → index-DXhtlG4u.d.ts} +2 -2
  283. package/dist/{index-QmmrXztz.d.ts → index-DgmlhvRV.d.ts} +3 -3
  284. package/dist/{index-CAttPKaF.d.ts → index-DjVJDoz4.d.ts} +1 -1
  285. package/dist/{index-BbArm3_c.d.ts → index-MIv3YJ_j.d.ts} +3 -3
  286. package/dist/{index-BNaRK-s5.d.ts → index-O9y23OPJ.d.ts} +11 -1
  287. package/dist/{index-ChOyJzJh.d.ts → index-Q1oG9yIT.d.ts} +2 -2
  288. package/dist/{index-BKnyTWPM.d.ts → index-ZbNwGVkS.d.ts} +1 -1
  289. package/dist/index-q7fVtnQc.d.ts +48 -0
  290. package/dist/{index-mcNmCMqs.d.ts → index-uqEqPcmR.d.ts} +2 -2
  291. package/dist/index.d.ts +60 -61
  292. package/dist/index.js +132 -125
  293. package/dist/{loadCatalog-Cr3451_V.js → loadCatalog-85MyL2bm.js} +1 -1
  294. package/dist/{loadCatalog-DNIEPF3f.d.ts → loadCatalog-DSRSkHnY.d.ts} +9 -0
  295. package/dist/locale/index.d.ts +2 -2
  296. package/dist/locale/index.js +4 -4
  297. package/dist/{locale-BdA3CTlQ.js → locale-C7RSY-JG.js} +77 -77
  298. package/dist/{searchResultMessage-BTUZRCT6.js → searchResultMessage-T4H3r8Vz.js} +3 -3
  299. package/dist/sharedResizeObserver-9EFWnSWH.js +87 -0
  300. package/dist/{size-Cpn_wzXi.js → size-BfginNaZ.js} +19 -1
  301. package/dist/{types-BymI5mmm.d.ts → types-B8suOGP8.d.ts} +3 -2
  302. package/dist/{useAnchoredListbox-DwQTMWjI.js → useAnchoredListbox-6t5zSSz1.js} +1 -1
  303. package/dist/useButtonTooltip-DjCaZMp_.js +73 -0
  304. package/dist/{useIndicator-fTOZfYVI.js → useIndicator-BvF_KY9S.js} +1 -1
  305. package/dist/{useInputStatusIcon-CX16yX33.js → useInputStatusIcon-Dax94Gdd.js} +2 -2
  306. package/dist/{useMergedRefs-CG0YVRL-.js → useLayer-Byjda3dD.js} +2 -23
  307. package/dist/{useMenuDrillIn-B6jh8tv8.js → useMenuDrillIn-C36Z89W3.js} +3 -3
  308. package/dist/useMergedRefs-DTGo1cEU.js +22 -0
  309. package/dist/{usePositionedLayer-HrhF3lEZ.js → usePositionedLayer-psKf3ano.js} +13 -3
  310. package/dist/{usePressFeedback-BJCpjEpv.js → usePressFeedback-Dhnfc3ee.js} +19 -2
  311. package/dist/{useResizable-BJ0DaMml.d.ts → useResizable-fEGAFziz.d.ts} +2 -0
  312. package/dist/{useScrollbars-C2NJ6Qwq.js → useScrollbars-Ch0xqJWO.js} +3 -0
  313. package/dist/useTooltip-BKsCTWdb.js +415 -0
  314. package/dist/{useTranslator-DZBywLvR.js → useTranslator-BDUOzbP_.js} +1 -1
  315. package/dist/utils/index.js +2 -1
  316. package/dist/{utils-BE5HBOBX.js → utils-BOmFijPc.js} +1 -87
  317. package/package.json +9 -1
  318. package/styles/app-shell.css +12 -0
  319. package/styles/avatar.css +14 -2
  320. package/styles/banner.css +35 -27
  321. package/styles/bottom-sheet.css +8 -1
  322. package/styles/button.css +26 -12
  323. package/styles/calendar.css +3 -1
  324. package/styles/chat.css +53 -32
  325. package/styles/clickable-card.css +3 -3
  326. package/styles/code.css +5 -7
  327. package/styles/collapsible.css +10 -0
  328. package/styles/complex-selector.css +3 -3
  329. package/styles/container-reveal.css +161 -69
  330. package/styles/dialog-header.css +6 -0
  331. package/styles/dialog.css +29 -9
  332. package/styles/dropdown-menu.css +7 -6
  333. package/styles/empty-state.css +0 -4
  334. package/styles/field.css +37 -20
  335. package/styles/heading.css +20 -9
  336. package/styles/icon.css +11 -6
  337. package/styles/info-tip.css +45 -0
  338. package/styles/layout.css +2 -1
  339. package/styles/link.css +54 -7
  340. package/styles/list.css +1 -1
  341. package/styles/markdown.css +46 -2
  342. package/styles/more-menu.css +3 -2
  343. package/styles/multi-selector.css +6 -6
  344. package/styles/number-input.css +1 -2
  345. package/styles/popover.css +2 -2
  346. package/styles/power-search.css +10 -1
  347. package/styles/pressable.css +4 -4
  348. package/styles/radio.css +2 -3
  349. package/styles/section.css +3 -0
  350. package/styles/segmented-control.css +13 -0
  351. package/styles/selector.css +25 -10
  352. package/styles/side-nav.css +75 -2
  353. package/styles/slider.css +5 -2
  354. package/styles/stepper-track.css +57 -0
  355. package/styles/stepper.css +81 -46
  356. package/styles/switch.css +22 -11
  357. package/styles/tab-list.css +7 -6
  358. package/styles/tab-menu.css +0 -1
  359. package/styles/table.css +38 -3
  360. package/styles/text-area.css +5 -8
  361. package/styles/text.css +21 -1
  362. package/styles/theme.css +2 -0
  363. package/styles/thumbnail.css +1 -1
  364. package/styles/toast.css +11 -21
  365. package/styles/token.css +1 -1
  366. package/styles/tokenizer.css +8 -1
  367. package/styles/toolbar.css +5 -1
  368. package/styles/top-nav.css +19 -6
  369. package/styles/tree-list.css +2 -3
  370. package/styles.css +2 -0
  371. package/dist/Tooltip-sESBLZwR.js +0 -339
  372. package/dist/index-CHuSkU5Q.d.ts +0 -26
  373. package/dist/types-CbiqoBoG.d.ts +0 -89
  374. package/dist/{index-BJ9Wim6J.d.ts → index-BqhgeAT4.d.ts} +1 -1
@@ -1,10 +1,11 @@
1
- import { t as usePressFeedback } from "./usePressFeedback-BJCpjEpv.js";
1
+ import { t as usePressFeedback } from "./usePressFeedback-Dhnfc3ee.js";
2
2
  import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
3
- import { t as _sfc_main$3 } from "./Icon-Dosui-zD.js";
3
+ import { t as _sfc_main$3 } from "./Icon-CU3412Fe.js";
4
4
  import { t as _sfc_main$4 } from "./VisuallyHidden-cpmsV-0M.js";
5
- import { s as useAstryxMessages } from "./context-dY6CBI-t.js";
6
- import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, onMounted, onUnmounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useTemplateRef, watch, withCtx } from "vue";
5
+ import { s as useAstryxMessages } from "./context-BLSiTojH.js";
6
+ import { Comment, Fragment, Text, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, onMounted, onUnmounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useTemplateRef, watch, withCtx } from "vue";
7
7
  import "../styles/stepper.css";
8
+ import "../styles/stepper-track.css";
8
9
  //#region src/Stepper/context.ts
9
10
  const stepperContextKey = defineLayerScopedKey("stepper", null);
10
11
  /**
@@ -65,16 +66,20 @@ function connectorFillTiming(activeStep, previousActiveStep, spanIndex, offset,
65
66
  }
66
67
  //#endregion
67
68
  //#region src/Stepper/StepMarker.vue
68
- const _hoisted_1$2 = ["data-glyph"];
69
+ const _hoisted_1$2 = [
70
+ "data-glyph",
71
+ "data-progress",
72
+ "data-status",
73
+ "data-disabled"
74
+ ];
69
75
  const _hoisted_2$2 = {
70
- key: 2,
76
+ key: 3,
71
77
  viewBox: "0 0 16 16"
72
78
  };
73
79
  const _hoisted_3$2 = {
74
- key: 3,
80
+ key: 4,
75
81
  viewBox: "0 0 16 16"
76
82
  };
77
- const _hoisted_4$2 = { key: 4 };
78
83
  const _sfc_main$2 = /*@__PURE__*/ defineComponent({
79
84
  name: "AstryxStepMarker",
80
85
  __name: "StepMarker",
@@ -82,22 +87,26 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
82
87
  glyph: {},
83
88
  numberLabel: {},
84
89
  status: {},
85
- isDisabled: { type: Boolean }
90
+ isDisabled: { type: Boolean },
91
+ progress: {}
86
92
  },
87
93
  setup(__props) {
88
94
  return (_ctx, _cache) => {
89
- return __props.glyph !== "none" ? (openBlock(), createElementBlock("span", {
95
+ return _ctx.$slots.icon || __props.glyph !== "none" ? (openBlock(), createElementBlock("span", {
90
96
  key: 0,
91
97
  class: "astryx-step-indicator",
92
98
  "data-glyph": __props.glyph,
99
+ "data-progress": __props.progress,
100
+ "data-status": __props.status,
101
+ "data-disabled": __props.isDisabled || void 0,
93
102
  "aria-hidden": "true"
94
- }, [__props.glyph === "warning" || __props.glyph === "error" ? (openBlock(), createBlock(_sfc_main$3, {
95
- key: 0,
103
+ }, [_ctx.$slots.icon ? renderSlot(_ctx.$slots, "icon", {}, void 0, void 0, 0) : __props.glyph === "warning" || __props.glyph === "error" ? (openBlock(), createBlock(_sfc_main$3, {
104
+ key: 1,
96
105
  icon: __props.glyph,
97
106
  size: "sm",
98
107
  color: __props.isDisabled ? "disabled" : __props.glyph
99
108
  }, null, 8, ["icon", "color"])) : __props.glyph === "check" && __props.status === "success" ? (openBlock(), createBlock(_sfc_main$3, {
100
- key: 1,
109
+ key: 2,
101
110
  icon: "success",
102
111
  size: "sm",
103
112
  color: __props.isDisabled ? "disabled" : "success"
@@ -125,7 +134,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
125
134
  cy: "8",
126
135
  r: "2.25",
127
136
  fill: "currentColor"
128
- }, null, -1)])])) : (openBlock(), createElementBlock("span", _hoisted_4$2, toDisplayString(__props.numberLabel), 1))], 8, _hoisted_1$2)) : createCommentVNode("v-if", true);
137
+ }, null, -1)])])) : (openBlock(), createElementBlock(Fragment, { key: 5 }, [createTextVNode(toDisplayString(__props.numberLabel), 1)], 64))], 8, _hoisted_1$2)) : createCommentVNode("v-if", true);
129
138
  };
130
139
  }
131
140
  });
@@ -148,20 +157,22 @@ const _hoisted_3$1 = {
148
157
  const _hoisted_4$1 = ["data-filled"];
149
158
  const _hoisted_5$1 = ["data-filled"];
150
159
  const _hoisted_6$1 = { class: "astryx-step-body" };
151
- const _hoisted_7$1 = ["data-glyph"];
152
- const _hoisted_8$1 = { class: "astryx-step-copy" };
153
- const _hoisted_9$1 = { class: "astryx-step-label-row" };
154
- const _hoisted_10 = [
160
+ const _hoisted_7$1 = {
161
+ key: 0,
162
+ class: "astryx-step-track"
163
+ };
164
+ const _hoisted_8$1 = ["data-filled"];
165
+ const _hoisted_9$1 = ["data-filled"];
166
+ const _hoisted_10 = { class: "astryx-step-row" };
167
+ const _hoisted_11 = { class: "astryx-step-label-row" };
168
+ const _hoisted_12 = [
155
169
  "data-disabled",
156
170
  "data-progress",
157
171
  "data-status"
158
172
  ];
159
- const _hoisted_11 = {
160
- key: 1,
161
- class: "astryx-step-optional"
162
- };
163
- const _hoisted_12 = ["data-progress", "data-status"];
164
- const _hoisted_13 = {
173
+ const _hoisted_13 = { class: "astryx-step-optional" };
174
+ const _hoisted_14 = ["data-progress", "data-status"];
175
+ const _hoisted_15 = {
165
176
  key: 0,
166
177
  class: "astryx-step-content"
167
178
  };
@@ -186,6 +197,15 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
186
197
  },
187
198
  setup(__props) {
188
199
  const props = __props;
200
+ /** 插槽里只有注释(比如 v-if 为假)或空白时不算有内容,不渲染内容区。 */
201
+ function hasContent(nodes) {
202
+ return nodes?.some((node) => {
203
+ if (node.type === Comment) return false;
204
+ if (node.type === Fragment) return hasContent(node.children);
205
+ if (node.type === Text) return typeof node.children === "string" && node.children.trim() !== "";
206
+ return true;
207
+ }) ?? false;
208
+ }
189
209
  const stepper = useStepperContext();
190
210
  const messages = useAstryxMessages();
191
211
  const { pressableProps } = usePressFeedback({ hasOverlay: false });
@@ -198,7 +218,8 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
198
218
  const density = computed(() => props.density ?? stepper.density.value);
199
219
  const orientation = computed(() => stepper.orientation.value);
200
220
  const indicatorPosition = computed(() => stepper.indicatorPosition.value);
201
- const isClickable = computed(() => stepper.isNonLinear.value === true && !props.isDisabled);
221
+ const hasControl = computed(() => stepper.isNonLinear.value === true);
222
+ const isClickable = computed(() => hasControl.value && !props.isDisabled);
202
223
  const numberLabel = computed(() => String(props.step + 1));
203
224
  const glyph = computed(() => resolveStepGlyph({
204
225
  progress: progress.value,
@@ -206,6 +227,8 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
206
227
  status: props.status
207
228
  }));
208
229
  const collapsed = computed(() => stepper.collapsed.value === true);
230
+ const isTrack = computed(() => orientation.value === "horizontal" && indicatorPosition.value === "on-track" && !collapsed.value);
231
+ const isRailMarker = computed(() => orientation.value === "vertical" && indicatorPosition.value === "on-track" && !collapsed.value);
209
232
  const leadFilled = computed(() => props.step <= stepper.activeStep.value);
210
233
  const trailFilled = computed(() => props.step < stepper.activeStep.value);
211
234
  const arrivalShare = computed(() => orientation.value === "vertical" ? STEP_FILL_ARRIVAL_SHARE_V : STEP_FILL_ARRIVAL_SHARE_H);
@@ -260,57 +283,116 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
260
283
  class: "astryx-step-bar",
261
284
  "data-filled": leadFilled.value || void 0,
262
285
  style: normalizeStyle(fillVars(barTiming.value))
263
- }, null, 12, _hoisted_2$1)) : (openBlock(), createElementBlock("span", _hoisted_3$1, [createElementVNode("span", {
264
- class: "astryx-step-connector astryx-step-connector-lead",
265
- "data-filled": leadFilled.value || void 0,
266
- style: normalizeStyle(fillVars(leadTiming.value))
267
- }, null, 12, _hoisted_4$1), createElementVNode("span", {
268
- class: "astryx-step-connector astryx-step-connector-trail",
269
- "data-filled": trailFilled.value || void 0,
270
- style: normalizeStyle(fillVars(trailTiming.value))
271
- }, null, 12, _hoisted_5$1)])), createElementVNode("div", _hoisted_6$1, [(openBlock(), createBlock(resolveDynamicComponent(isClickable.value ? "button" : "div"), mergeProps(isClickable.value ? unref(pressableProps) : void 0, {
272
- class: "astryx-step-control",
273
- "aria-label": isClickable.value ? accessibleName.value : void 0,
274
- type: isClickable.value ? "button" : void 0,
275
- onClick: activate
276
- }), {
277
- default: withCtx(() => [_ctx.$slots.icon ? (openBlock(), createElementBlock("span", {
286
+ }, null, 12, _hoisted_2$1)) : orientation.value === "vertical" ? (openBlock(), createElementBlock("span", _hoisted_3$1, [
287
+ createElementVNode("span", {
288
+ class: "astryx-step-connector astryx-step-connector-lead",
289
+ "data-filled": leadFilled.value || void 0,
290
+ style: normalizeStyle(fillVars(leadTiming.value))
291
+ }, null, 12, _hoisted_4$1),
292
+ isRailMarker.value ? (openBlock(), createBlock(_sfc_main$2, {
278
293
  key: 0,
279
- class: "astryx-step-indicator",
280
- "data-glyph": glyph.value,
281
- "aria-hidden": "true"
282
- }, [renderSlot(_ctx.$slots, "icon")], 8, _hoisted_7$1)) : (openBlock(), createBlock(_sfc_main$2, {
283
- key: 1,
284
294
  glyph: glyph.value,
285
295
  "number-label": numberLabel.value,
286
296
  status: __props.status,
287
- "is-disabled": __props.isDisabled
288
- }, null, 8, [
297
+ "is-disabled": __props.isDisabled,
298
+ progress: progress.value
299
+ }, createSlots({ _: 2 }, [_ctx.$slots.icon ? {
300
+ name: "icon",
301
+ fn: withCtx(() => [renderSlot(_ctx.$slots, "icon")]),
302
+ key: "0"
303
+ } : void 0]), 1032, [
289
304
  "glyph",
290
305
  "number-label",
291
306
  "status",
292
- "is-disabled"
293
- ])), createElementVNode("span", _hoisted_8$1, [createElementVNode("span", _hoisted_9$1, [
294
- createElementVNode("span", {
295
- class: "astryx-step-label",
296
- "data-disabled": __props.isDisabled || void 0,
307
+ "is-disabled",
308
+ "progress"
309
+ ])) : createCommentVNode("v-if", true),
310
+ createElementVNode("span", {
311
+ class: "astryx-step-connector astryx-step-connector-trail",
312
+ "data-filled": trailFilled.value || void 0,
313
+ style: normalizeStyle(fillVars(trailTiming.value))
314
+ }, null, 12, _hoisted_5$1)
315
+ ])) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_6$1, [(openBlock(), createBlock(resolveDynamicComponent(hasControl.value ? "button" : "div"), mergeProps(hasControl.value ? unref(pressableProps) : void 0, {
316
+ class: "astryx-step-control",
317
+ "aria-label": hasControl.value ? accessibleName.value : void 0,
318
+ "aria-disabled": hasControl.value && __props.isDisabled ? "true" : void 0,
319
+ type: hasControl.value ? "button" : void 0,
320
+ onClick: activate
321
+ }), {
322
+ default: withCtx(() => [
323
+ isTrack.value ? (openBlock(), createElementBlock("span", _hoisted_7$1, [
324
+ createElementVNode("span", {
325
+ class: "astryx-step-connector astryx-step-connector-lead",
326
+ "data-filled": leadFilled.value || void 0,
327
+ style: normalizeStyle(fillVars(leadTiming.value))
328
+ }, null, 12, _hoisted_8$1),
329
+ createVNode(_sfc_main$2, {
330
+ glyph: glyph.value,
331
+ "number-label": numberLabel.value,
332
+ status: __props.status,
333
+ "is-disabled": __props.isDisabled,
334
+ progress: progress.value
335
+ }, createSlots({ _: 2 }, [_ctx.$slots.icon ? {
336
+ name: "icon",
337
+ fn: withCtx(() => [renderSlot(_ctx.$slots, "icon")]),
338
+ key: "0"
339
+ } : void 0]), 1032, [
340
+ "glyph",
341
+ "number-label",
342
+ "status",
343
+ "is-disabled",
344
+ "progress"
345
+ ]),
346
+ createElementVNode("span", {
347
+ class: "astryx-step-connector astryx-step-connector-trail",
348
+ "data-filled": trailFilled.value || void 0,
349
+ style: normalizeStyle(fillVars(trailTiming.value))
350
+ }, null, 12, _hoisted_9$1)
351
+ ])) : createCommentVNode("v-if", true),
352
+ createElementVNode("span", _hoisted_10, [!isTrack.value && !isRailMarker.value ? (openBlock(), createBlock(_sfc_main$2, {
353
+ key: 0,
354
+ glyph: glyph.value,
355
+ "number-label": numberLabel.value,
356
+ status: __props.status,
357
+ "is-disabled": __props.isDisabled,
358
+ progress: progress.value
359
+ }, createSlots({ _: 2 }, [_ctx.$slots.icon ? {
360
+ name: "icon",
361
+ fn: withCtx(() => [renderSlot(_ctx.$slots, "icon")]),
362
+ key: "0"
363
+ } : void 0]), 1032, [
364
+ "glyph",
365
+ "number-label",
366
+ "status",
367
+ "is-disabled",
368
+ "progress"
369
+ ])) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_11, [
370
+ createElementVNode("span", {
371
+ class: "astryx-step-label",
372
+ "data-disabled": __props.isDisabled || void 0,
373
+ "data-progress": progress.value,
374
+ "data-status": __props.status
375
+ }, toDisplayString(__props.label), 9, _hoisted_12),
376
+ hiddenStatus.value ? (openBlock(), createBlock(_sfc_main$4, { key: 0 }, {
377
+ default: withCtx(() => [createTextVNode(toDisplayString(hiddenStatus.value), 1)]),
378
+ _: 1
379
+ })) : createCommentVNode("v-if", true),
380
+ __props.isOptional ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [_cache[0] || (_cache[0] = createElementVNode("span", { class: "astryx-step-optional" }, "•", -1)), createElementVNode("span", _hoisted_13, toDisplayString(unref(messages).stepper.optional), 1)], 64)) : createCommentVNode("v-if", true),
381
+ renderSlot(_ctx.$slots, "end")
382
+ ])]),
383
+ __props.description ? (openBlock(), createElementBlock("span", {
384
+ key: 1,
385
+ class: "astryx-step-description",
297
386
  "data-progress": progress.value,
298
387
  "data-status": __props.status
299
- }, toDisplayString(__props.label), 9, _hoisted_10),
300
- hiddenStatus.value ? (openBlock(), createBlock(_sfc_main$4, { key: 0 }, {
301
- default: withCtx(() => [createTextVNode(toDisplayString(hiddenStatus.value), 1)]),
302
- _: 1
303
- })) : createCommentVNode("v-if", true),
304
- __props.isOptional ? (openBlock(), createElementBlock("span", _hoisted_11, "• " + toDisplayString(unref(messages).stepper.optional), 1)) : createCommentVNode("v-if", true),
305
- renderSlot(_ctx.$slots, "end")
306
- ]), __props.description ? (openBlock(), createElementBlock("span", {
307
- key: 0,
308
- class: "astryx-step-description",
309
- "data-progress": progress.value,
310
- "data-status": __props.status
311
- }, toDisplayString(__props.description), 9, _hoisted_12)) : createCommentVNode("v-if", true)])]),
388
+ }, toDisplayString(__props.description), 9, _hoisted_14)) : createCommentVNode("v-if", true)
389
+ ]),
312
390
  _: 3
313
- }, 16, ["aria-label", "type"])), _ctx.$slots.default ? (openBlock(), createElementBlock("div", _hoisted_13, [renderSlot(_ctx.$slots, "default")])) : createCommentVNode("v-if", true)])], 8, _hoisted_1$1);
391
+ }, 16, [
392
+ "aria-label",
393
+ "aria-disabled",
394
+ "type"
395
+ ])), hasContent(_ctx.$slots.default?.()) ? (openBlock(), createElementBlock("div", _hoisted_15, [renderSlot(_ctx.$slots, "default")])) : createCommentVNode("v-if", true)])], 8, _hoisted_1$1);
314
396
  };
315
397
  }
316
398
  });
@@ -1,2 +1,2 @@
1
- import { Gn as SwitchChangeEvent, Jn as SwitchSize, Kn as SwitchEmits, Un as _default, Wn as SwitchChangeAction, Xn as SwitchStatus, Yn as SwitchSlots, Zn as SwitchStatusType, qn as SwitchProps } from "../index-B9xI9ns-.js";
2
- export { _default as Switch, type SwitchChangeAction, type SwitchChangeEvent, type SwitchEmits, type SwitchProps, type SwitchSize, type SwitchSlots, type SwitchStatus, type SwitchStatusType };
1
+ import { $n as SwitchStatusType, Gn as SwitchChangeEvent, Jn as SwitchLabelSpacing, Kn as SwitchEmits, Qn as SwitchStatus, Un as _default, Wn as SwitchChangeAction, Xn as SwitchSize, Yn as SwitchProps, Zn as SwitchSlots, qn as SwitchLabelPosition } from "../index-CfOpGR_m.js";
2
+ export { _default as Switch, type SwitchChangeAction, type SwitchChangeEvent, type SwitchEmits, type SwitchLabelPosition, type SwitchLabelSpacing, type SwitchProps, type SwitchSize, type SwitchSlots, type SwitchStatus, type SwitchStatusType };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Switch-D_P5kd9S.js";
1
+ import { t as _sfc_main } from "../Switch-DXShvaDA.js";
2
2
  export { _sfc_main as Switch };
@@ -1,12 +1,12 @@
1
- import { t as usePressFeedback } from "./usePressFeedback-BJCpjEpv.js";
1
+ import { t as usePressFeedback } from "./usePressFeedback-Dhnfc3ee.js";
2
2
  import { t as _sfc_main$1 } from "./VisuallyHidden-cpmsV-0M.js";
3
- import { n as useButtonTooltip } from "./Button-j-zrKX71.js";
4
3
  import { t as _sfc_main$2 } from "./ButtonTooltip-CNKOQHYR.js";
4
+ import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
5
5
  import { t as useAnnounce } from "./announce-B210eJVf.js";
6
- import { s as useAstryxMessages } from "./context-dY6CBI-t.js";
6
+ import { s as useAstryxMessages } from "./context-BLSiTojH.js";
7
7
  import { i as useAriaRequired } from "./context-Cfml4jaK.js";
8
- import { t as _sfc_main$3 } from "./FieldLabel-D9uEygay.js";
9
- import { t as _sfc_main$4 } from "./FieldStatus-BOtg9PvT.js";
8
+ import { t as _sfc_main$3 } from "./FieldLabel-D5_Pap_W.js";
9
+ import { t as _sfc_main$4 } from "./FieldStatus-D6Vo_dU5.js";
10
10
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onUpdated, openBlock, renderSlot, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
11
11
  import "../styles/switch.css";
12
12
  //#region src/Switch/useSwitchAction.ts
@@ -65,6 +65,8 @@ function useSwitchAction(options) {
65
65
  //#region src/Switch/Switch.vue
66
66
  const _hoisted_1 = [
67
67
  "data-size",
68
+ "data-label-position",
69
+ "data-label-spacing",
68
70
  "data-status",
69
71
  "data-blocked"
70
72
  ];
@@ -100,6 +102,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
100
102
  props: /*@__PURE__*/ mergeModels({
101
103
  id: {},
102
104
  size: { default: "md" },
105
+ labelPosition: { default: "end" },
106
+ labelSpacing: { default: "hug" },
103
107
  isReadOnly: { type: Boolean },
104
108
  disabledMessage: {},
105
109
  status: {},
@@ -239,6 +243,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
239
243
  class: normalizeClass(["astryx-switch", unref(attrs).class]),
240
244
  style: normalizeStyle([widthStyle.value, unref(attrs).style]),
241
245
  "data-size": __props.size,
246
+ "data-label-position": __props.labelPosition !== "end" ? __props.labelPosition : void 0,
247
+ "data-label-spacing": __props.labelSpacing !== "hug" ? __props.labelSpacing : void 0,
242
248
  "data-status": __props.status?.type,
243
249
  "data-blocked": blocked.value || void 0
244
250
  }, [
@@ -1,2 +1,2 @@
1
- import { a as TabListLayout, c as TabListSize, d as TabMenuProps, f as TabProps, i as TabListEdgeCompensation, l as TabListTab, n as _default$1, o as TabListOverflow, p as TabSlots, r as _default, s as TabListProps, t as _default$2, u as TabMenuOption } from "../index-oYGkhGRq.js";
1
+ import { a as TabListLayout, c as TabListSize, d as TabMenuProps, f as TabProps, i as TabListEdgeCompensation, l as TabListTab, n as _default$1, o as TabListOverflow, p as TabSlots, r as _default, s as TabListProps, t as _default$2, u as TabMenuOption } from "../index-CM8KfpBL.js";
2
2
  export { _default as Tab, _default$1 as TabList, type TabListEdgeCompensation, type TabListLayout, type TabListOverflow, type TabListProps, type TabListSize, type TabListTab, _default$2 as TabMenu, type TabMenuOption, type TabMenuProps, type TabProps, type TabSlots };
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main$1, r as _sfc_main, t as _sfc_main$2 } from "../TabList-B9RRmiqV.js";
1
+ import { n as _sfc_main$1, r as _sfc_main, t as _sfc_main$2 } from "../TabList-DIEm4YKM.js";
2
2
  export { _sfc_main as Tab, _sfc_main$1 as TabList, _sfc_main$2 as TabMenu };
@@ -1,10 +1,11 @@
1
- import { t as usePressFeedback } from "./usePressFeedback-BJCpjEpv.js";
1
+ import { t as usePressFeedback } from "./usePressFeedback-Dhnfc3ee.js";
2
2
  import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
3
- import { t as _sfc_main$3 } from "./Icon-Dosui-zD.js";
3
+ import { t as _sfc_main$3 } from "./Icon-CU3412Fe.js";
4
4
  import { n as useLinkComponent } from "./context-C_peZbXf.js";
5
+ import { i as useSize } from "./SizeContext-BbaF-SEx.js";
5
6
  import { n as useDevWarning } from "./useDevWarning-DznOpOHT.js";
6
- import { n as useDismiss, t as usePositionedLayer } from "./usePositionedLayer-HrhF3lEZ.js";
7
- import { s as useAstryxMessages } from "./context-dY6CBI-t.js";
7
+ import { n as useDismiss, t as usePositionedLayer } from "./usePositionedLayer-psKf3ano.js";
8
+ import { s as useAstryxMessages } from "./context-BLSiTojH.js";
8
9
  import { t as useListFocus } from "./useListFocus-ChxLg0b4.js";
9
10
  import { t as useScrollOverflow } from "./useScrollOverflow-DuMoGXmm.js";
10
11
  import { n as isNavigableHref } from "./link-DuuA2eCL.js";
@@ -262,7 +263,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
262
263
  __name: "TabList",
263
264
  props: {
264
265
  value: {},
265
- size: { default: "md" },
266
+ size: {},
266
267
  layout: { default: "hug" },
267
268
  hasDivider: {
268
269
  type: Boolean,
@@ -280,6 +281,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
280
281
  setup(__props, { emit: __emit }) {
281
282
  const props = __props;
282
283
  const emit = __emit;
284
+ const size = useSize(() => props.size, "md");
283
285
  const bleedsInline = computed(() => props.edgeCompensation === "inline" || props.edgeCompensation == null && props.isFullBleed);
284
286
  const scrolls = computed(() => props.overflow !== "visible");
285
287
  const { bind: bindStrip, onFocusIn: onStripFocusIn, overflowEnd, overflowStart, scrollByPage } = useTabListScroll({
@@ -335,7 +337,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
335
337
  }
336
338
  provide(tabListContextKey, {
337
339
  value: computed(() => props.value),
338
- size: computed(() => props.size),
340
+ size,
339
341
  layout: computed(() => props.layout),
340
342
  hasDivider: computed(() => props.hasDivider),
341
343
  isTabsPattern,
@@ -349,7 +351,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
349
351
  return (_ctx, _cache) => {
350
352
  return openBlock(), createBlock(resolveDynamicComponent(rootTag.value), {
351
353
  class: normalizeClass(["astryx-tab-list", [
352
- `astryx-tab-list--size-${__props.size}`,
354
+ `astryx-tab-list--size-${unref(size)}`,
353
355
  `astryx-tab-list--layout-${__props.layout}`,
354
356
  __props.hasDivider && "astryx-tab-list--has-divider",
355
357
  bleedsInline.value && "astryx-tab-list--full-bleed"
@@ -470,7 +472,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
470
472
  const { position, teleportTarget, detach } = usePositionedLayer({
471
473
  alignment,
472
474
  anchor: anchorRef,
473
- gap: 4,
475
+ gap: 0,
474
476
  isOpen,
475
477
  layer: surfaceRef,
476
478
  placement
@@ -1,3 +1,3 @@
1
- import { $t as TableSemanticRowStatus, An as columnResizeStep, At as _default$4, Bn as resolveColumnFloorWidths, Bt as useTableTreeState, Cn as useTableColumnSettings, Dn as UseTableColumnResizeConfig, Dt as _default$7, En as ColumnResizeSnapshot, Fn as cellText, Ft as TableTreeRowMeta, Gt as useTableStickyColumns, Hn as sortRows, Ht as UseTableStickyColumnsConfig, In as generateColumns, It as UseTableTreeDataConfig, Jt as useTableSortableState, Kt as UseTableSortableConfig, Ln as paginateData, Lt as UseTableTreeStateConfig, Mn as resizeColumnWidths, Mt as _default$2, Nn as useTableColumnResize, Nt as _default$1, On as columnResizeDirectionSign, Ot as _default$6, Pn as capitalize, Pt as _default, Qt as TableRowStatusName, Rn as pixel, Rt as flattenTree, Sn as UseTableColumnSettingsConfig, Tn as ColumnResizePlan, Ut as resolveStickySide, Vn as resolveColumnWidths, Vt as StickySide, Wt as stickyOffsets, Xt as TableRowStatus, Yt as TableCustomRowStatus, Zt as TableRowStatusColor, _n as applyTableFilters, an as useTableRowExpansion, bn as ColumnSettingsOption, cn as useTablePagination, dn as buildGroupedRows, en as UseTableRowStatusConfig, fn as isTableGroupHeader, gn as UseTableFilteringConfig, hn as UseTableFilterStateOptions, in as UseTableRowExpansionConfig, jn as isProportionalColumnWidth, jt as _default$3, kn as columnResizeMinWidth, kt as _default$5, ln as isInteractiveRowClick, mn as TableFilterStateHandle, nn as UseTableRowIndexConfig, on as TablePaginationVariant, pn as useTableGroupedRows, qt as useTableSortable, rn as useTableRowIndex, sn as UseTablePaginationConfig, tn as useTableRowStatus, un as UseTableGroupedRowsConfig, vn as useTableFilterState, wn as useTableColumnSettingsState, xn as TableColumnSettingsState, yn as useTableFiltering, zn as proportional, zt as useTableTreeData } from "../index-B9xI9ns-.js";
2
- import { A as TablePanelPatch, B as TableSortDirection, C as TableFilterField, D as TableFilterVariant, E as TableFilterValue, F as TableRowPatch, G as TableSelectedKeysSetter, H as TableSortState, I as TableRowProps, J as UseTableSelectionStateConfig, K as TableSelectionState, L as TableSelectionToolbarProps, M as TableProps, N as TableRowListeners, O as TableGroupPatch, P as TableRowMenuItem, R as TableSelectionToolbarSlots, S as TableDividers, T as TableFilterState, U as TableTextOverflow, V as TableSortEntry, W as TableVerticalAlign, X as useTableSelectionState, Y as useTableSelection, _ as TableCellProps, b as TableColumnResizeContribution, g as TableCellPatch, h as ProportionalWidth, j as TablePlugin, k as TableHeaderPatch, m as PixelWidth, p as ColumnWidth, q as UseTableSelectionConfig, v as TableColumn, w as TableFilterFieldType, x as TableDensity, y as TableColumnAlign } from "../useResizable-BJ0DaMml.js";
1
+ import { $t as TableSemanticRowStatus, An as columnResizeStep, At as _default$4, Bn as resolveColumnFloorWidths, Bt as useTableTreeState, Cn as useTableColumnSettings, Dn as UseTableColumnResizeConfig, Dt as _default$7, En as ColumnResizeSnapshot, Fn as cellText, Ft as TableTreeRowMeta, Gt as useTableStickyColumns, Hn as sortRows, Ht as UseTableStickyColumnsConfig, In as generateColumns, It as UseTableTreeDataConfig, Jt as useTableSortableState, Kt as UseTableSortableConfig, Ln as paginateData, Lt as UseTableTreeStateConfig, Mn as resizeColumnWidths, Mt as _default$2, Nn as useTableColumnResize, Nt as _default$1, On as columnResizeDirectionSign, Ot as _default$6, Pn as capitalize, Pt as _default, Qt as TableRowStatusName, Rn as pixel, Rt as flattenTree, Sn as UseTableColumnSettingsConfig, Tn as ColumnResizePlan, Ut as resolveStickySide, Vn as resolveColumnWidths, Vt as StickySide, Wt as stickyOffsets, Xt as TableRowStatus, Yt as TableCustomRowStatus, Zt as TableRowStatusColor, _n as applyTableFilters, an as useTableRowExpansion, bn as ColumnSettingsOption, cn as useTablePagination, dn as buildGroupedRows, en as UseTableRowStatusConfig, fn as isTableGroupHeader, gn as UseTableFilteringConfig, hn as UseTableFilterStateOptions, in as UseTableRowExpansionConfig, jn as isProportionalColumnWidth, jt as _default$3, kn as columnResizeMinWidth, kt as _default$5, ln as isInteractiveRowClick, mn as TableFilterStateHandle, nn as UseTableRowIndexConfig, on as TablePaginationVariant, pn as useTableGroupedRows, qt as useTableSortable, rn as useTableRowIndex, sn as UseTablePaginationConfig, tn as useTableRowStatus, un as UseTableGroupedRowsConfig, vn as useTableFilterState, wn as useTableColumnSettingsState, xn as TableColumnSettingsState, yn as useTableFiltering, zn as proportional, zt as useTableTreeData } from "../index-CfOpGR_m.js";
2
+ import { A as TablePanelPatch, B as TableSortDirection, C as TableFilterField, D as TableFilterVariant, E as TableFilterValue, F as TableRowPatch, G as TableSelectedKeysSetter, H as TableSortState, I as TableRowProps, J as UseTableSelectionStateConfig, K as TableSelectionState, L as TableSelectionToolbarProps, M as TableProps, N as TableRowListeners, O as TableGroupPatch, P as TableRowMenuItem, R as TableSelectionToolbarSlots, S as TableDividers, T as TableFilterState, U as TableTextOverflow, V as TableSortEntry, W as TableVerticalAlign, X as useTableSelectionState, Y as useTableSelection, _ as TableCellProps, b as TableColumnResizeContribution, g as TableCellPatch, h as ProportionalWidth, j as TablePlugin, k as TableHeaderPatch, m as PixelWidth, p as ColumnWidth, q as UseTableSelectionConfig, v as TableColumn, w as TableFilterFieldType, x as TableDensity, y as TableColumnAlign } from "../useResizable-fEGAFziz.js";
3
3
  export { type ColumnResizePlan, type ColumnResizeSnapshot, type ColumnSettingsOption, type ColumnWidth, type PixelWidth, type ProportionalWidth, type StickySide, _default as Table, _default$1 as TableBody, _default$2 as TableCell, type TableCellPatch, type TableCellProps, type TableColumn, type TableColumnAlign, type TableColumnResizeContribution, type TableColumnSettingsState, type TableCustomRowStatus, type TableDensity, type TableDividers, type TableFilterField, type TableFilterFieldType, type TableFilterState, type TableFilterStateHandle, type TableFilterValue, type TableFilterVariant, _default$3 as TableFooter, type TableGroupPatch, _default$4 as TableHeader, _default$5 as TableHeaderCell, type TableHeaderPatch, type TablePaginationVariant, type TablePanelPatch, type TablePlugin, type TableProps, _default$6 as TableRow, type TableRowListeners, type TableRowMenuItem, type TableRowPatch, type TableRowProps, type TableRowStatus, type TableRowStatusColor, type TableRowStatusName, type TableSelectedKeysSetter, type TableSelectionState, _default$7 as TableSelectionToolbar, type TableSelectionToolbarProps, type TableSelectionToolbarSlots, type TableSemanticRowStatus, type TableSortDirection, type TableSortEntry, type TableSortState, type TableTextOverflow, type TableTreeRowMeta, type TableVerticalAlign, type UseTableColumnResizeConfig, type UseTableColumnSettingsConfig, type UseTableFilterStateOptions, type UseTableFilteringConfig, type UseTableGroupedRowsConfig, type UseTablePaginationConfig, type UseTableRowExpansionConfig, type UseTableRowIndexConfig, type UseTableRowStatusConfig, type UseTableSelectionConfig, type UseTableSelectionStateConfig, type UseTableSortableConfig, type UseTableStickyColumnsConfig, type UseTableTreeDataConfig, type UseTableTreeStateConfig, applyTableFilters, buildGroupedRows, capitalize, cellText, columnResizeDirectionSign, columnResizeMinWidth, columnResizeStep, flattenTree, generateColumns, isInteractiveRowClick, isProportionalColumnWidth, isTableGroupHeader, paginateData, paginateData as paginateTableData, pixel, proportional, resizeColumnWidths, resolveColumnFloorWidths, resolveColumnWidths, resolveStickySide, sortRows, stickyOffsets, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableFilterState, useTableFiltering, useTableGroupedRows, useTablePagination, useTableRowExpansion, useTableRowIndex, useTableRowStatus, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTableStickyColumns, useTableTreeData, useTableTreeState };
@@ -1,2 +1,2 @@
1
- import { A as useTableColumnSettings, B as generateColumns, C as isInteractiveRowClick, D as applyTableFilters, E as useTableGroupedRows, F as isProportionalColumnWidth, G as resolveColumnWidths, H as pixel, I as resizeColumnWidths, K as sortRows, L as useTableColumnResize, M as columnResizeDirectionSign, N as columnResizeMinWidth, O as useTableFilterState, P as columnResizeStep, R as capitalize, S as useTablePagination, T as isTableGroupHeader, U as proportional, V as paginateData, W as resolveColumnFloorWidths, _ as useTableSelection, a as _sfc_main$3, b as useTableRowIndex, c as _sfc_main, d as useTableTreeState, f as resolveStickySide, g as useTableSortableState, h as useTableSortable, i as _sfc_main$4, j as useTableColumnSettingsState, k as useTableFiltering, l as flattenTree, m as useTableStickyColumns, n as _sfc_main$6, o as _sfc_main$2, p as stickyOffsets, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main$7, u as useTableTreeData, v as useTableSelectionState, w as buildGroupedRows, x as useTableRowExpansion, y as useTableRowStatus, z as cellText } from "../Table-By-8bJNs.js";
1
+ import { A as useTableColumnSettings, B as generateColumns, C as isInteractiveRowClick, D as applyTableFilters, E as useTableGroupedRows, F as isProportionalColumnWidth, G as resolveColumnWidths, H as pixel, I as resizeColumnWidths, K as sortRows, L as useTableColumnResize, M as columnResizeDirectionSign, N as columnResizeMinWidth, O as useTableFilterState, P as columnResizeStep, R as capitalize, S as useTablePagination, T as isTableGroupHeader, U as proportional, V as paginateData, W as resolveColumnFloorWidths, _ as useTableSelection, a as _sfc_main$3, b as useTableRowIndex, c as _sfc_main, d as useTableTreeState, f as resolveStickySide, g as useTableSortableState, h as useTableSortable, i as _sfc_main$4, j as useTableColumnSettingsState, k as useTableFiltering, l as flattenTree, m as useTableStickyColumns, n as _sfc_main$6, o as _sfc_main$2, p as stickyOffsets, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main$7, u as useTableTreeData, v as useTableSelectionState, w as buildGroupedRows, x as useTableRowExpansion, y as useTableRowStatus, z as cellText } from "../Table-RQ5wklzn.js";
2
2
  export { _sfc_main as Table, _sfc_main$1 as TableBody, _sfc_main$2 as TableCell, _sfc_main$3 as TableFooter, _sfc_main$4 as TableHeader, _sfc_main$5 as TableHeaderCell, _sfc_main$6 as TableRow, _sfc_main$7 as TableSelectionToolbar, applyTableFilters, buildGroupedRows, capitalize, cellText, columnResizeDirectionSign, columnResizeMinWidth, columnResizeStep, flattenTree, generateColumns, isInteractiveRowClick, isProportionalColumnWidth, isTableGroupHeader, paginateData, paginateData as paginateTableData, pixel, proportional, resizeColumnWidths, resolveColumnFloorWidths, resolveColumnWidths, resolveStickySide, sortRows, stickyOffsets, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableFilterState, useTableFiltering, useTableGroupedRows, useTablePagination, useTableRowExpansion, useTableRowIndex, useTableRowStatus, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTableStickyColumns, useTableTreeData, useTableTreeState };
@@ -1,22 +1,22 @@
1
- import { t as _sfc_main$15 } from "./Icon-Dosui-zD.js";
1
+ import { t as _sfc_main$15 } from "./Icon-CU3412Fe.js";
2
2
  import { t as _sfc_main$16 } from "./VisuallyHidden-cpmsV-0M.js";
3
- import { t as _sfc_main$17 } from "./Button-j-zrKX71.js";
3
+ import { t as _sfc_main$17 } from "./Button-DVXOKWAy.js";
4
4
  import { n as useLayerTeleportTarget } from "./useLayerMountTarget-BmZyeKWE.js";
5
5
  import { n as firstCharacter } from "./characters-wTnzjkkR.js";
6
- import { s as useAstryxMessages } from "./context-dY6CBI-t.js";
7
- import { n as useCollator } from "./locale-BdA3CTlQ.js";
6
+ import { s as useAstryxMessages } from "./context-BLSiTojH.js";
7
+ import { n as useCollator } from "./locale-C7RSY-JG.js";
8
8
  import { t as useScrollableArea } from "./useScrollableArea-BE8b3qm7.js";
9
- import { t as _sfc_main$18 } from "./Tooltip-sESBLZwR.js";
10
- import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
11
- import { t as _sfc_main$19 } from "./CheckboxInput-B5xAXedF.js";
12
- import { t as _sfc_main$20 } from "./Popover-nNZl2uqy.js";
13
- import { t as _sfc_main$21 } from "./DateInput-Bg_CG9Gq.js";
14
- import { t as _sfc_main$22 } from "./MultiSelector-BdEMzzhg.js";
15
- import { t as _sfc_main$23 } from "./NumberInput-DC-_pL6R.js";
16
- import { t as _sfc_main$24 } from "./Pagination-968o5gbr.js";
17
- import { t as _sfc_main$25 } from "./Selector-Bl_vRB6B.js";
18
- import { t as _sfc_main$26 } from "./TextInput-BTh_93lB.js";
19
- import { t as _sfc_main$27 } from "./Toolbar-DKld_COt.js";
9
+ import { t as _sfc_main$18 } from "./Tooltip-BfKegFfq.js";
10
+ import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
11
+ import { t as _sfc_main$19 } from "./CheckboxInput-B4pDfjvr.js";
12
+ import { t as _sfc_main$20 } from "./Popover-Cbv5LUWL.js";
13
+ import { t as _sfc_main$21 } from "./DateInput-B0t3u-_h.js";
14
+ import { t as _sfc_main$22 } from "./MultiSelector-BTIeCFDV.js";
15
+ import { t as _sfc_main$23 } from "./NumberInput-CkYRY1KW.js";
16
+ import { t as _sfc_main$24 } from "./Pagination-Cn53Nqe3.js";
17
+ import { t as _sfc_main$25 } from "./Selector-CgrXQtte.js";
18
+ import { t as _sfc_main$26 } from "./TextInput-ZSr9jgdk.js";
19
+ import { t as _sfc_main$27 } from "./Toolbar-CbVhy7K9.js";
20
20
  import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, h, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, ref, renderList, renderSlot, shallowRef, toDisplayString, toValue, unref, useAttrs, watch, withCtx, withModifiers } from "vue";
21
21
  import "../styles/layer.css";
22
22
  import "../styles/table.css";
@@ -542,6 +542,7 @@ function useTableFiltering(config) {
542
542
  return {
543
543
  variant: current.variant ?? "popover",
544
544
  field,
545
+ header: typeof column.header === "string" && column.header !== "" ? column.header : column.key,
545
546
  value: current.filters[fieldKey] ?? null,
546
547
  onChange(value) {
547
548
  toValue(config).onFilterChange(fieldKey, value);
@@ -1613,6 +1614,8 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
1613
1614
  function listValue(value) {
1614
1615
  return Array.isArray(value) ? value : [];
1615
1616
  }
1617
+ /** 漏斗按钮和弹层的名称:「筛选 + 列标题」,和原版一致。 */
1618
+ const triggerLabel = computed(() => props.filter.header != null ? messages.value.table.filterByColumn(props.filter.header) : props.filter.field.label);
1616
1619
  const options = computed(() => props.filter.field.options ?? []);
1617
1620
  const step = computed(() => props.filter.field.step ?? (props.filter.field.isIntegerOnly ? 1 : null));
1618
1621
  function onTextInput(value) {
@@ -1722,7 +1725,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
1722
1725
  "options"
1723
1726
  ]))], 64)) : (openBlock(), createBlock(_sfc_main$20, {
1724
1727
  key: 1,
1725
- label: __props.filter.field.label,
1728
+ label: triggerLabel.value,
1726
1729
  "has-close-button": false,
1727
1730
  width: 240
1728
1731
  }, {
@@ -1822,7 +1825,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
1822
1825
  default: withCtx(() => [createElementVNode("button", {
1823
1826
  type: "button",
1824
1827
  class: "astryx-table__filter-trigger",
1825
- "aria-label": __props.filter.field.label,
1828
+ "aria-label": triggerLabel.value,
1826
1829
  "data-active": hasValue.value || void 0
1827
1830
  }, [createVNode(_sfc_main$15, {
1828
1831
  icon: "funnel",
@@ -1871,7 +1874,12 @@ const _sfc_main$11 = /*@__PURE__*/ defineComponent({
1871
1874
  }, [createElementVNode("span", { class: normalizeClass(["astryx-table__chevron-icon", { "is-expanded": !__props.collapsed }]) }, [createVNode(_sfc_main$15, {
1872
1875
  icon: "chevronRight",
1873
1876
  size: "sm"
1874
- })], 2)], 8, _hoisted_2$1), renderSlot(_ctx.$slots, "default", {}, () => [createElementVNode("span", _hoisted_3$1, [createTextVNode(toDisplayString(__props.groupKey) + " ", 1), createElementVNode("span", _hoisted_4$1, "(" + toDisplayString(__props.count) + ")", 1)])])], 8, _hoisted_1$8);
1877
+ })], 2)], 8, _hoisted_2$1), renderSlot(_ctx.$slots, "default", {}, () => [createElementVNode("span", _hoisted_3$1, [
1878
+ createCommentVNode(" 标签和后面的空格分成两个文本节点,和原版 `{header.groupKey}{' '}` 的 DOM 一致。 "),
1879
+ __props.groupKey != null ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createTextVNode(toDisplayString(__props.groupKey), 1)], 64)) : createCommentVNode("v-if", true),
1880
+ _cache[1] || (_cache[1] = createTextVNode(toDisplayString(" "), -1)),
1881
+ createElementVNode("span", _hoisted_4$1, "(" + toDisplayString(__props.count) + ")", 1)
1882
+ ])])], 8, _hoisted_1$8);
1875
1883
  };
1876
1884
  }
1877
1885
  });
@@ -2513,7 +2521,7 @@ const _sfc_main$8 = /*@__PURE__*/ defineComponent({
2513
2521
  "data-active": sortFor(column)?.direction != null || void 0
2514
2522
  }, [createVNode(_sfc_main$15, {
2515
2523
  icon: sortFor(column)?.direction === "descending" ? "arrowDown" : "arrowUp",
2516
- size: "sm"
2524
+ size: "xsm"
2517
2525
  }, null, 8, ["icon"])], 8, _hoisted_6),
2518
2526
  sortFor(column)?.rank ? (openBlock(), createElementBlock("span", _hoisted_7, toDisplayString(sortFor(column)?.rank), 1)) : createCommentVNode("v-if", true)
2519
2527
  ], 8, _hoisted_5)) : column.headerHidden ? (openBlock(), createBlock(_sfc_main$16, { key: 1 }, {
@@ -1,3 +1,3 @@
1
- import { a as TextProps, c as TextType, d as TextWrap, i as TextJustify, l as TextWeight, n as TextColor, o as TextSize, r as TextDisplay, s as TextTruncateTooltip, t as TextAs, u as TextWordBreak } from "../types-BymI5mmm.js";
2
- import { t as _default } from "../index-BbArm3_c.js";
1
+ import { a as TextProps, c as TextType, d as TextWrap, i as TextJustify, l as TextWeight, n as TextColor, o as TextSize, r as TextDisplay, s as TextTruncateTooltip, t as TextAs, u as TextWordBreak } from "../types-B8suOGP8.js";
2
+ import { t as _default } from "../index-MIv3YJ_j.js";
3
3
  export { _default as Text, type TextAs, type TextColor, type TextDisplay, type TextJustify, type TextProps, type TextSize, type TextTruncateTooltip, type TextType, type TextWeight, type TextWordBreak, type TextWrap };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Text-D8ZIQxgB.js";
1
+ import { t as _sfc_main } from "../Text-Wk-iDAzh.js";
2
2
  export { _sfc_main as Text };
@@ -1,5 +1,5 @@
1
1
  import { n as useTruncation, t as truncatePlacement } from "./useTruncation-C02rA1-c.js";
2
- import { t as _sfc_main$1 } from "./Tooltip-sESBLZwR.js";
2
+ import { t as _sfc_main$1 } from "./Tooltip-BfKegFfq.js";
3
3
  import { computed, createBlock, defineComponent, mergeProps, openBlock, renderSlot, resolveDynamicComponent, unref, useAttrs, withCtx } from "vue";
4
4
  import "../styles/text.css";
5
5
  //#region src/Text/Text.vue
@@ -31,7 +31,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
31
31
  setup(__props) {
32
32
  const props = __props;
33
33
  /** 没写 color 时按 type 取默认色:supporting 是 secondary,其余 primary,inherit 保持 inherit。 */
34
- const color = computed(() => props.color ?? (props.type === "supporting" ? "secondary" : "primary"));
34
+ const color = computed(() => props.color ?? (props.type === "supporting" ? "secondary" : props.type === "inherit" ? "inherit" : "primary"));
35
35
  const weight = computed(() => props.weight === "normal" ? "regular" : props.weight);
36
36
  const isBlock = computed(() => props.display === "block" || props.maxLines > 0 || props.hasCapsize);
37
37
  const wordBreak = computed(() => props.wordBreak ?? (props.maxLines === 1 ? "break-all" : props.maxLines > 1 ? "break-word" : void 0));
@@ -1,2 +1,2 @@
1
- import { Ct as TextAreaSlots, Et as TextAreaWrap, St as TextAreaSize, Tt as TextAreaStatusType, _t as TextAreaChangeAction, bt as TextAreaProps, gt as _default, vt as TextAreaChangeEvent, wt as TextAreaStatus, xt as TextAreaResize, yt as TextAreaEmits } from "../index-B9xI9ns-.js";
1
+ import { Ct as TextAreaSlots, Et as TextAreaWrap, St as TextAreaSize, Tt as TextAreaStatusType, _t as TextAreaChangeAction, bt as TextAreaProps, gt as _default, vt as TextAreaChangeEvent, wt as TextAreaStatus, xt as TextAreaResize, yt as TextAreaEmits } from "../index-CfOpGR_m.js";
2
2
  export { _default as TextArea, type TextAreaChangeAction, type TextAreaChangeEvent, type TextAreaEmits, type TextAreaProps, type TextAreaResize, type TextAreaSize, type TextAreaSlots, type TextAreaStatus, type TextAreaStatusType, type TextAreaWrap };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../TextArea-MbA1CHBn.js";
1
+ import { t as _sfc_main } from "../TextArea-D1QHRYUp.js";
2
2
  export { _sfc_main as TextArea };