@astryx-vue/core 0.7.23 → 0.7.25

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 (297) hide show
  1. package/dist/AlertDialog/index.d.ts +1 -1
  2. package/dist/AlertDialog/index.js +1 -1
  3. package/dist/{AlertDialog-XBjLwnAX.js → AlertDialog--9IcMdY3.js} +2 -2
  4. package/dist/Avatar/index.d.ts +1 -1
  5. package/dist/Avatar/index.js +1 -1
  6. package/dist/{Avatar-cNntRBEo.js → Avatar-CqPpL59Q.js} +24 -19
  7. package/dist/AvatarGroup/index.d.ts +1 -1
  8. package/dist/AvatarGroup/index.js +1 -1
  9. package/dist/{AvatarGroup-DbWLEmi1.js → AvatarGroup-lmO-a3Eq.js} +17 -7
  10. package/dist/Badge/index.js +1 -1
  11. package/dist/{Badge-CjDQPF5g.js → Badge-DByZSDmu.js} +10 -3
  12. package/dist/Banner/index.d.ts +1 -1
  13. package/dist/Banner/index.js +1 -1
  14. package/dist/{Banner-ks2zPq6Z.js → Banner-BpiQjQvG.js} +2 -2
  15. package/dist/Breadcrumbs/index.d.ts +2 -2
  16. package/dist/Breadcrumbs/index.js +2 -2
  17. package/dist/{Breadcrumbs-k-Xqzbkt.js → Breadcrumbs-CH-rcc_-.js} +3 -3
  18. package/dist/Button/index.d.ts +2 -2
  19. package/dist/Button/index.js +1 -1
  20. package/dist/{Button-Byrr4hAu.js → Button-7W3G5gok.js} +7 -10
  21. package/dist/ButtonGroup/index.d.ts +1 -1
  22. package/dist/ButtonGroup/index.js +1 -1
  23. package/dist/{ButtonGroup-B9sj-OvC.js → ButtonGroup-UgiGP61q.js} +3 -2
  24. package/dist/Calendar/index.d.ts +1 -1
  25. package/dist/Calendar/index.js +1 -1
  26. package/dist/{Calendar-d_uOkvFE.js → Calendar-DjhwshS8.js} +1 -1
  27. package/dist/Carousel/index.js +1 -1
  28. package/dist/{Carousel-CrRD6YdZ.js → Carousel-RN3BV6qj.js} +107 -56
  29. package/dist/Center/index.d.ts +1 -1
  30. package/dist/Chat/index.js +1 -1
  31. package/dist/{Chat-D0m-tH7R.js → Chat-D5cXLYlh.js} +3 -3
  32. package/dist/CheckboxInput/index.d.ts +1 -1
  33. package/dist/CheckboxInput/index.js +1 -1
  34. package/dist/{CheckboxInput-B4pDfjvr.js → CheckboxInput-GFjf15n3.js} +4 -4
  35. package/dist/CheckboxList/index.d.ts +1 -1
  36. package/dist/CheckboxList/index.js +1 -1
  37. package/dist/{CheckboxList-DtxfdHRI.js → CheckboxList-CJzRo5vd.js} +5 -5
  38. package/dist/Citation/index.js +1 -1
  39. package/dist/{Citation-CCu6QWG7.js → Citation-C_XMPOpv.js} +3 -1
  40. package/dist/ClickableCard/index.d.ts +1 -1
  41. package/dist/ClickableCard/index.js +1 -1
  42. package/dist/{ClickableCard-jEBZbzHE.js → ClickableCard-qeVRS9dw.js} +14 -5
  43. package/dist/Code/index.js +2 -2
  44. package/dist/{Code-PDhTfE2w.js → Code-6GS0nAkR.js} +1 -1
  45. package/dist/{CodeBlock-C1CyMSCL.js → CodeBlock-9NMYGL48.js} +19 -10
  46. package/dist/Collapsible/index.js +1 -1
  47. package/dist/{Collapsible-BsPZ8CoN.js → Collapsible-CifnTLlc.js} +2 -2
  48. package/dist/CommandPalette/index.js +1 -1
  49. package/dist/{CommandPalette-0Kg-dJg3.js → CommandPalette-BbGFrwAI.js} +3 -3
  50. package/dist/ComplexSelector/index.d.ts +1 -1
  51. package/dist/ComplexSelector/index.js +1 -1
  52. package/dist/{ComplexSelector-wbVUmVh6.js → ComplexSelector-DMnzBMY1.js} +5 -5
  53. package/dist/ComponentIcon-hPmWTSXE.js +37 -0
  54. package/dist/ContextMenu/index.d.ts +2 -2
  55. package/dist/ContextMenu/index.js +2 -2
  56. package/dist/{ContextMenu-CgSIWUYh.js → ContextMenu-BD3pObnQ.js} +2 -2
  57. package/dist/DateInput/index.d.ts +1 -1
  58. package/dist/DateInput/index.js +1 -1
  59. package/dist/{DateInput-CdwODQhw.js → DateInput-CYFPGd__.js} +10 -8
  60. package/dist/DateRangeInput/index.d.ts +1 -1
  61. package/dist/DateRangeInput/index.js +1 -1
  62. package/dist/{DateRangeInput-Byb8zqZ2.js → DateRangeInput-BOdKqQUw.js} +6 -6
  63. package/dist/DateTimeInput/index.d.ts +1 -1
  64. package/dist/DateTimeInput/index.js +1 -1
  65. package/dist/{DateTimeInput-lcpORu_P.js → DateTimeInput-Bs4T8KWb.js} +7 -7
  66. package/dist/Dialog/index.js +1 -1
  67. package/dist/{DialogHeader-8cIwslf4.js → DialogHeader-Dii5B7vE.js} +1 -1
  68. package/dist/Drawer/index.d.ts +1 -1
  69. package/dist/Drawer/index.js +1 -1
  70. package/dist/{Drawer-B8OuWU7j.js → Drawer-CtuxdSAd.js} +1 -1
  71. package/dist/DropdownMenu/index.d.ts +2 -2
  72. package/dist/DropdownMenu/index.js +3 -3
  73. package/dist/{DropdownMenu-BYD5fFzB.js → DropdownMenu-BmAeVIu5.js} +5 -5
  74. package/dist/{DropdownMenu-BnY1UWKa.js → DropdownMenu-CXyECszu.js} +4 -4
  75. package/dist/{DropdownMenuRadioItem.vue-z0XU7pZS.d.ts → DropdownMenuRadioItem.vue-D455cIQQ.d.ts} +1 -1
  76. package/dist/EmptyState/index.js +1 -1
  77. package/dist/{EmptyState-BQrzgh2f.js → EmptyState-DaVNSbYi.js} +1 -1
  78. package/dist/Field/index.d.ts +2 -2
  79. package/dist/Field/index.js +3 -3
  80. package/dist/{Field-DLg-trP2.js → Field-CdrGdY7U.js} +2 -2
  81. package/dist/{FieldIcon-CxTnEb4Y.js → FieldIcon-BB08VXf7.js} +1 -1
  82. package/dist/{FieldInfoTip-xYN2qeQk.js → FieldInfoTip-CPhFmGaY.js} +2 -2
  83. package/dist/{FieldLabel-D5_Pap_W.js → FieldLabel-lJ1exgvq.js} +2 -2
  84. package/dist/FieldStatus/index.d.ts +1 -1
  85. package/dist/FieldStatus/index.js +1 -1
  86. package/dist/{FieldStatus-D6Vo_dU5.js → FieldStatus-CR-cK1rW.js} +1 -1
  87. package/dist/FileInput/index.d.ts +1 -1
  88. package/dist/FileInput/index.js +1 -1
  89. package/dist/{FileInput-D2AOeGrs.js → FileInput-C85funO_.js} +5 -5
  90. package/dist/Icon/index.d.ts +4 -4
  91. package/dist/Icon/index.js +4 -2
  92. package/dist/Icon/plugin.js +1 -1
  93. package/dist/Icon-B2aULLnn.js +15 -0
  94. package/dist/{Icon-CU3412Fe.js → Icon-DAcZMgiJ.js} +47 -85
  95. package/dist/IconButton/index.d.ts +1 -1
  96. package/dist/IconButton/index.js +1 -1
  97. package/dist/{IconButton-Dzhukpzc.js → IconButton-Cn4re9lo.js} +1 -1
  98. package/dist/Indicator/index.d.ts +2 -2
  99. package/dist/Indicator/index.js +1 -1
  100. package/dist/InfoTip/index.d.ts +1 -1
  101. package/dist/InfoTip/index.js +1 -1
  102. package/dist/{InfoTip-BlOySTNC.js → InfoTip-CQmrs5nz.js} +1 -1
  103. package/dist/{InputClearButton-D9QzdIWM.js → InputClearButton-gGlttFrg.js} +2 -2
  104. package/dist/InputGroup/index.d.ts +1 -1
  105. package/dist/InputGroup/index.js +2 -2
  106. package/dist/{InputGroup-BleRgc6W.js → InputGroup-DQpDwkjF.js} +23 -16
  107. package/dist/{Item-X9wgYWoD.js → Item-Dbf2g0Ee.js} +25 -5
  108. package/dist/Kbd/index.d.ts +1 -1
  109. package/dist/Kbd/index.js +1 -1
  110. package/dist/{Kbd-CV3LO2Ge.js → Kbd-Dn1LTcNY.js} +24 -7
  111. package/dist/Lightbox/index.js +1 -1
  112. package/dist/{Lightbox-COttfQHP.js → Lightbox-Duz-OrsN.js} +2 -2
  113. package/dist/Link/index.d.ts +2 -2
  114. package/dist/Link/index.js +1 -1
  115. package/dist/{Link-Qhzs2lcO.js → Link-C0NPH_Zy.js} +57 -68
  116. package/dist/List/index.js +2 -2
  117. package/dist/{ListItem-CertehfW.js → ListItem-C8F4r-3e.js} +2 -2
  118. package/dist/Markdown/index.js +1 -1
  119. package/dist/{Markdown-C42NPUFp.js → Markdown-B0K6WhMg.js} +3 -3
  120. package/dist/{MediaTheme-CnSOALNj.js → MediaTheme-Bt7WBTkq.js} +1 -1
  121. package/dist/MoreMenu/index.d.ts +1 -1
  122. package/dist/MoreMenu/index.js +1 -1
  123. package/dist/{MoreMenu-CocuDVj-.js → MoreMenu-CPp7nRqq.js} +3 -3
  124. package/dist/MultiSelector/index.d.ts +1 -1
  125. package/dist/MultiSelector/index.js +1 -1
  126. package/dist/{MultiSelector-D0g3yHj6.js → MultiSelector-EuMT3jk8.js} +11 -10
  127. package/dist/{NavHeadingSurface-B2HkXx6S.js → NavHeadingSurface-DemUziLF.js} +1 -1
  128. package/dist/NavItem/index.js +1 -1
  129. package/dist/{NavItem-DfHMmSsw.js → NavItem-B_c92jqW.js} +1 -1
  130. package/dist/NavMenu/index.js +2 -2
  131. package/dist/{NavMenu-CZS5pRUv.js → NavMenu-mZVfqNxt.js} +1 -1
  132. package/dist/{NavMenuItem-duQuvU1o.js → NavMenuItem-Crc0y9_s.js} +2 -2
  133. package/dist/NumberInput/index.d.ts +1 -1
  134. package/dist/NumberInput/index.js +1 -1
  135. package/dist/{NumberInput-DEfKx0qI.js → NumberInput-nhsOtHSM.js} +15 -14
  136. package/dist/Outline/index.js +1 -1
  137. package/dist/{Outline-D3g7Vq7-.js → Outline-CXQKfopf.js} +2 -2
  138. package/dist/OverflowList/index.d.ts +1 -1
  139. package/dist/OverflowList/index.js +1 -1
  140. package/dist/{OverflowList-WwL2NPbI.js → OverflowList-BGHiFBEV.js} +1 -1
  141. package/dist/Pagination/index.js +1 -1
  142. package/dist/{Pagination-Cn53Nqe3.js → Pagination-DtItBecM.js} +2 -2
  143. package/dist/Popover/index.js +1 -1
  144. package/dist/{Popover-D90phFsK.js → Popover-DE_a8vx0.js} +1 -1
  145. package/dist/PowerSearch/index.d.ts +1 -1
  146. package/dist/PowerSearch/index.js +1 -1
  147. package/dist/{PowerSearch-Cj_D0iaM.js → PowerSearch-BPqinhNg.js} +15 -15
  148. package/dist/Radio/index.d.ts +1 -1
  149. package/dist/Radio/index.js +1 -1
  150. package/dist/{RadioGroup-B2lYTCeV.js → RadioGroup-DgD_qw8h.js} +4 -4
  151. package/dist/RadioList/index.d.ts +1 -1
  152. package/dist/RadioList/index.js +1 -1
  153. package/dist/{RadioList-CieZtXzY.js → RadioList-BTfVjABV.js} +1 -1
  154. package/dist/Resizable/index.d.ts +1 -1
  155. package/dist/Resizable/index.js +1 -1
  156. package/dist/{ResizeHandle-uBJj4W1M.js → ResizeHandle-5JnYYMyi.js} +1 -1
  157. package/dist/ScrollableArea/index.d.ts +1 -1
  158. package/dist/SegmentedControl/index.js +1 -1
  159. package/dist/{SegmentedControl-BmDn1avo.js → SegmentedControl-BOFsp4zL.js} +1 -1
  160. package/dist/SelectableCard/index.d.ts +1 -1
  161. package/dist/SelectableCard/index.js +1 -1
  162. package/dist/{SelectableCard-2a2gsxys.js → SelectableCard-DkAtLqr0.js} +10 -6
  163. package/dist/Selector/index.d.ts +1 -1
  164. package/dist/Selector/index.js +1 -1
  165. package/dist/{Selector-CgrXQtte.js → Selector-Bb0Tw0IX.js} +8 -7
  166. package/dist/SideNav/index.d.ts +1 -1
  167. package/dist/SideNav/index.js +1 -1
  168. package/dist/{SideNav-GELGN9LR.js → SideNav-woP0TsbV.js} +5 -5
  169. package/dist/Slider/index.d.ts +1 -1
  170. package/dist/Slider/index.js +1 -1
  171. package/dist/{Slider-CEhy-D-R.js → Slider-DPNiq0HG.js} +3 -3
  172. package/dist/Stepper/index.js +1 -1
  173. package/dist/{Stepper-DVXisudw.js → Stepper-Ca1DQGyG.js} +2 -2
  174. package/dist/Switch/index.d.ts +1 -1
  175. package/dist/Switch/index.js +1 -1
  176. package/dist/{Switch-DXShvaDA.js → Switch-yKKscO-i.js} +3 -3
  177. package/dist/TabList/index.js +1 -1
  178. package/dist/{TabList-DIEm4YKM.js → TabList-cg8Mrbs_.js} +4 -4
  179. package/dist/Table/index.d.ts +1 -1
  180. package/dist/Table/index.js +1 -1
  181. package/dist/{Table-Du4FXP9X.js → Table-rUgNSJgQ.js} +41 -32
  182. package/dist/Text/index.js +1 -1
  183. package/dist/{Text-Wk-iDAzh.js → Text-BShV9dky.js} +7 -1
  184. package/dist/TextArea/index.d.ts +1 -1
  185. package/dist/TextArea/index.js +1 -1
  186. package/dist/{TextArea-CbQp3Lqm.js → TextArea-D8703Iin.js} +7 -7
  187. package/dist/TextInput/index.d.ts +1 -1
  188. package/dist/TextInput/index.js +1 -1
  189. package/dist/{TextInput-CkJRorQb.js → TextInput-C3TcHG4h.js} +18 -16
  190. package/dist/Theme/index.d.ts +2 -2
  191. package/dist/Theme/index.js +2 -2
  192. package/dist/{Theme-D7_fQWgb.js → Theme-DkFv7FGK.js} +23 -3
  193. package/dist/Thumbnail/index.js +1 -1
  194. package/dist/{Thumbnail-7dKY4N-p.js → Thumbnail-7hvPR8TA.js} +39 -11
  195. package/dist/{TimeField-DGPsFfii.js → TimeField-D2vnhUvT.js} +3 -3
  196. package/dist/TimeInput/index.d.ts +1 -1
  197. package/dist/TimeInput/index.js +1 -1
  198. package/dist/{TimeInput-CnOvJGgC.js → TimeInput-D31lgw-s.js} +7 -5
  199. package/dist/Timer/index.js +1 -1
  200. package/dist/{Timer-DL_MPa_h.js → Timer-D0A9hh4O.js} +1 -1
  201. package/dist/Timestamp/index.d.ts +1 -1
  202. package/dist/Timestamp/index.js +1 -1
  203. package/dist/{Timestamp-BQc2NBd7.js → Timestamp-BCYaQaDQ.js} +16 -12
  204. package/dist/Toast/index.js +1 -1
  205. package/dist/{Toast-DytdMVIS.js → Toast-BpumSIBN.js} +4 -4
  206. package/dist/ToggleButton/index.d.ts +1 -1
  207. package/dist/ToggleButton/index.js +1 -1
  208. package/dist/{ToggleButton-Cgr84UJy.js → ToggleButton-DYGsPjtx.js} +1 -1
  209. package/dist/Token/index.d.ts +1 -1
  210. package/dist/Token/index.js +1 -1
  211. package/dist/{Token-BJDLztV6.js → Token-DV53YBsy.js} +12 -7
  212. package/dist/Tokenizer/index.js +1 -1
  213. package/dist/{Tokenizer-yz0873oG.js → Tokenizer-DlptPLpP.js} +3 -3
  214. package/dist/Toolbar/index.d.ts +1 -1
  215. package/dist/Toolbar/index.js +1 -1
  216. package/dist/{Toolbar-CbVhy7K9.js → Toolbar-D5UI1JLe.js} +2 -1
  217. package/dist/TopNav/index.d.ts +1 -1
  218. package/dist/TopNav/index.js +1 -1
  219. package/dist/{TopNav-aCHKxMyk.js → TopNav-ZTKVEADp.js} +5 -5
  220. package/dist/TreeList/index.js +1 -1
  221. package/dist/{TreeList-tcEjVfb0.js → TreeList-CLWHRRDM.js} +21 -16
  222. package/dist/Typeahead/index.js +1 -1
  223. package/dist/{Typeahead-ClidGB0O.js → Typeahead-Dd8pq0fI.js} +7 -5
  224. package/dist/componentIcons-CFr2L6o3.js +106 -0
  225. package/dist/composables/index.d.ts +1 -1
  226. package/dist/composables/index.js +6 -7
  227. package/dist/{composables-BWDrzi3J.js → composables-DamLUqw3.js} +1 -1
  228. package/dist/context-Bg7eSJ47.js +17 -0
  229. package/dist/devBuild-G249YcdZ.js +17 -0
  230. package/dist/{fieldParts--SyRZVQG.js → fieldParts-CDOlBdy6.js} +2 -2
  231. package/dist/{index-ZbNwGVkS.d.ts → index-BKnyTWPM.d.ts} +1 -1
  232. package/dist/{index-CfPGC9aW.d.ts → index-BMCjAlq6.d.ts} +1 -1
  233. package/dist/{index-Gnewu6-J.d.ts → index-BPyRH3WL.d.ts} +1 -1
  234. package/dist/{index-f3d9cVtj.d.ts → index-BU78NOP-.d.ts} +1 -1
  235. package/dist/{index-BfQ85cS8.d.ts → index-BZuEYd9y.d.ts} +1 -1
  236. package/dist/{index-DxxudRgB.d.ts → index-C16d2Fc4.d.ts} +1 -1
  237. package/dist/{index-IvAfdGCC.d.ts → index-CAoenU4T.d.ts} +1 -1
  238. package/dist/{index-HoCUEVoX.d.ts → index-CCYGMtZy.d.ts} +28 -28
  239. package/dist/{index-BhLLG-Gi.d.ts → index-CEHqYyz5.d.ts} +1 -1
  240. package/dist/{index-Bo-ofFyg.d.ts → index-CbNLiaWw.d.ts} +2 -2
  241. package/dist/{index-C9gAlDt_.d.ts → index-CvquEEGw.d.ts} +8 -2
  242. package/dist/{index-BqEPgwku.d.ts → index-D4BeRDzX.d.ts} +1 -1
  243. package/dist/{index-QWh122EV.d.ts → index-D57GW53K.d.ts} +1 -1
  244. package/dist/{index-DjVJDoz4.d.ts → index-DAs54mND.d.ts} +20 -3
  245. package/dist/{index-DEm3kRBO.d.ts → index-DN1RqxjP.d.ts} +1 -1
  246. package/dist/{index-BUZDSd-n.d.ts → index-Dc52pmSr.d.ts} +4 -2
  247. package/dist/{index-uqEqPcmR.d.ts → index-DhMCql2U.d.ts} +1 -1
  248. package/dist/{index-Dw-zjHHD.d.ts → index-Ds4OafGN.d.ts} +2 -2
  249. package/dist/{index-cJKrAHO-.d.ts → index-GksCg4a4.d.ts} +4 -4
  250. package/dist/{index-8px-LKw_.d.ts → index-HLkEFNeu.d.ts} +3 -3
  251. package/dist/{index-Dj1_1t3j.d.ts → index-IFFGXlhq.d.ts} +1 -1
  252. package/dist/{index-BtrAhmSP.d.ts → index-fuztfDLA.d.ts} +10 -6
  253. package/dist/index.d.ts +30 -30
  254. package/dist/index.js +95 -95
  255. package/dist/{registry-C7OZb0PJ.js → registry-fNY3jasS.js} +23 -4
  256. package/dist/{searchResultMessage-T4H3r8Vz.js → searchResultMessage-U_4q8zX3.js} +1 -1
  257. package/dist/semantic-CXHSMwPK.d.ts +118 -0
  258. package/dist/textClampContext-o3-nLErq.js +15 -0
  259. package/dist/themeIcons-CqGF0fwW.js +128 -0
  260. package/dist/{types-CsqwQkf1.d.ts → types-Bq4Yl6CS.d.ts} +68 -7
  261. package/dist/{types-Bb7OGivY.d.ts → types-BwVJBE-G.d.ts} +1 -1
  262. package/dist/{types-C5GQ2KCK.d.ts → types-Dcai2Icw.d.ts} +55 -1
  263. package/dist/{types-DnrU3HYQ.d.ts → types-hB0M54I7.d.ts} +1 -1
  264. package/dist/{useDevWarning-DznOpOHT.js → useDevWarning-B2fsk2B-.js} +1 -4
  265. package/dist/{useIndicator-BvF_KY9S.js → useIndicator-DGWEjVpB.js} +2 -2
  266. package/dist/{useInputContainer-CLcYrby4.js → useInputContainer-BP3u3hGz.js} +1 -1
  267. package/dist/{useInputStatusIcon-Bpe0xKqN.js → useInputStatusIcon-CTF4yF3e.js} +2 -2
  268. package/dist/{useListFocus-ChxLg0b4.js → useListFocus-CbHkLT-X.js} +4 -3
  269. package/dist/{useMenuDrillIn-C36Z89W3.js → useMenuDrillIn-DJ4U_hF7.js} +2 -2
  270. package/dist/{useMenuHover-Ctmp4Xkh.js → useMenuHover-CbjjfzAd.js} +1 -1
  271. package/dist/usePressFeedback-Dt76SpLj.js +616 -0
  272. package/dist/{utils-ClVseK2w.js → utils-DsFqXaGf.js} +5 -1
  273. package/package.json +1 -1
  274. package/styles/avatar.css +18 -3
  275. package/styles/badge.css +13 -0
  276. package/styles/button-group.css +21 -2
  277. package/styles/button.css +63 -0
  278. package/styles/carousel.css +19 -11
  279. package/styles/citation.css +2 -1
  280. package/styles/clickable-card.css +19 -5
  281. package/styles/code.css +6 -0
  282. package/styles/context-menu.css +7 -0
  283. package/styles/dialog.css +7 -0
  284. package/styles/dropdown-menu.css +9 -0
  285. package/styles/icon.css +18 -12
  286. package/styles/kbd.css +2 -0
  287. package/styles/link.css +20 -1
  288. package/styles/popover.css +7 -0
  289. package/styles/pressable.css +7 -0
  290. package/styles/table.css +24 -0
  291. package/styles/thumbnail.css +25 -0
  292. package/dist/context-Cws_tXTr.js +0 -7
  293. package/dist/context-IvbU9c3T.js +0 -8
  294. package/dist/semantic-BF_AjLvk.d.ts +0 -57
  295. package/dist/useClickableContainer-CdGp_Cev.js +0 -112
  296. package/dist/usePressFeedback-Dhnfc3ee.js +0 -336
  297. package/dist/{index-BqhgeAT4.d.ts → index-BJ9Wim6J.d.ts} +1 -1
@@ -1,5 +1,5 @@
1
- import { t as _sfc_main$1 } from "./Icon-CU3412Fe.js";
2
- import { t as _sfc_main$2 } from "./IconButton-Dzhukpzc.js";
1
+ import { t as _sfc_main$1 } from "./Icon-DAcZMgiJ.js";
2
+ import { t as _sfc_main$2 } from "./IconButton-Cn4re9lo.js";
3
3
  import { s as useAstryxMessages } from "./context-BLSiTojH.js";
4
4
  import { Comment, Fragment, Text, computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, h, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onUpdated, openBlock, ref, unref, watch, withCtx } from "vue";
5
5
  import "../styles/carousel.css";
@@ -84,6 +84,41 @@ function readOverflow(element) {
84
84
  overflowEnd: element.scrollLeft < max - 1
85
85
  };
86
86
  }
87
+ /**
88
+ * 除了滚动,还有这些会改变一行是否溢出:滚动区自己的尺寸、每张卡片的尺寸、
89
+ * 卡片的增删、滚动区的 class 或 style(换了间距或内边距)。返回停止观察的函数。
90
+ */
91
+ function observeContent(element, onChange) {
92
+ const resize = typeof ResizeObserver === "undefined" ? null : new ResizeObserver(onChange);
93
+ const observed = /* @__PURE__ */ new Set();
94
+ function followChildren() {
95
+ const children = new Set(element.children);
96
+ for (const child of observed) if (!children.has(child)) {
97
+ resize?.unobserve(child);
98
+ observed.delete(child);
99
+ }
100
+ for (const child of children) if (!observed.has(child)) {
101
+ resize?.observe(child);
102
+ observed.add(child);
103
+ }
104
+ }
105
+ resize?.observe(element);
106
+ followChildren();
107
+ const mutations = typeof MutationObserver === "undefined" ? null : new MutationObserver(() => {
108
+ followChildren();
109
+ onChange();
110
+ });
111
+ mutations?.observe(element, {
112
+ childList: true,
113
+ attributes: true,
114
+ attributeFilter: ["class", "style"]
115
+ });
116
+ return () => {
117
+ mutations?.disconnect();
118
+ resize?.disconnect();
119
+ observed.clear();
120
+ };
121
+ }
87
122
  function useCarouselScroller(scroller) {
88
123
  const overflow = ref({
89
124
  hasOverflow: false,
@@ -91,7 +126,7 @@ function useCarouselScroller(scroller) {
91
126
  overflowEnd: false
92
127
  });
93
128
  let frame = 0;
94
- let observer = null;
129
+ let stopObservingContent = null;
95
130
  function measure() {
96
131
  const element = scroller.value;
97
132
  overflow.value = element == null ? {
@@ -150,15 +185,22 @@ function useCarouselScroller(scroller) {
150
185
  });
151
186
  }
152
187
  function onWheel(event) {
153
- if (!event.shiftKey || event.deltaY === 0 || event.deltaX !== 0) return;
154
- const element = scroller.value;
155
- if (element == null || element.scrollWidth <= element.clientWidth) return;
188
+ if (event.defaultPrevented || !event.shiftKey || event.deltaY === 0 || event.deltaX !== 0) return;
156
189
  event.preventDefault();
157
- element.scrollBy({
190
+ scroller.value?.scrollBy({
158
191
  left: event.deltaY,
159
192
  behavior: "auto"
160
193
  });
161
194
  }
195
+ let wheelTarget = null;
196
+ function syncWheelListener() {
197
+ const next = overflow.value.hasOverflow ? scroller.value : null;
198
+ if (next === wheelTarget) return;
199
+ wheelTarget?.removeEventListener("wheel", onWheel);
200
+ next?.addEventListener("wheel", onWheel, { passive: false });
201
+ wheelTarget = next;
202
+ }
203
+ watch(() => overflow.value.hasOverflow, syncWheelListener);
162
204
  function onKeyDown(event, hasLoop) {
163
205
  if (event.key !== "ArrowLeft" && event.key !== "ArrowRight") return;
164
206
  const element = scroller.value;
@@ -171,17 +213,15 @@ function useCarouselScroller(scroller) {
171
213
  const element = scroller.value;
172
214
  if (element == null) return;
173
215
  measure();
216
+ syncWheelListener();
174
217
  element.addEventListener("scroll", schedule, { passive: true });
175
- element.addEventListener("wheel", onWheel, { passive: false });
176
- observer = typeof ResizeObserver === "undefined" ? null : new ResizeObserver(schedule);
177
- observer?.observe(element);
178
- for (const child of element.children) observer?.observe(child);
218
+ stopObservingContent = observeContent(element, schedule);
179
219
  });
180
220
  onBeforeUnmount(() => {
181
- const element = scroller.value;
182
- element?.removeEventListener("scroll", schedule);
183
- element?.removeEventListener("wheel", onWheel);
184
- observer?.disconnect();
221
+ scroller.value?.removeEventListener("scroll", schedule);
222
+ wheelTarget?.removeEventListener("wheel", onWheel);
223
+ wheelTarget = null;
224
+ stopObservingContent?.();
185
225
  if (frame !== 0 && typeof cancelAnimationFrame === "function") cancelAnimationFrame(frame);
186
226
  });
187
227
  return {
@@ -196,18 +236,20 @@ function useCarouselScroller(scroller) {
196
236
  //#region src/Carousel/Carousel.vue
197
237
  const _hoisted_1 = ["aria-label"];
198
238
  const _hoisted_2 = [
239
+ "aria-label",
199
240
  "data-gap",
200
241
  "data-padding",
201
242
  "data-snap",
202
243
  "data-edge-fade",
203
- "data-fade"
244
+ "data-fade",
245
+ "tabindex"
204
246
  ];
205
247
  const _hoisted_3 = {
206
248
  key: 0,
207
249
  class: "astryx-carousel__controls"
208
250
  };
209
- const _hoisted_4 = ["data-hidden"];
210
- const _hoisted_5 = ["data-hidden"];
251
+ const _hoisted_4 = ["data-hidden", "inert"];
252
+ const _hoisted_5 = ["data-hidden", "inert"];
211
253
  const _sfc_main = /*@__PURE__*/ defineComponent({
212
254
  name: "AstryxCarousel",
213
255
  inheritAttrs: false,
@@ -290,7 +332,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
290
332
  }
291
333
  function onNavBlur(event) {
292
334
  const button = buttonElement(event.currentTarget);
293
- if (button != null && !button.disabled) focusedNav.value = null;
335
+ if (button != null && button.getAttribute("aria-disabled") !== "true") focusedNav.value = null;
294
336
  }
295
337
  function scrollNext() {
296
338
  scrollByDirection(1, props.hasLoop);
@@ -317,17 +359,20 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
317
359
  "aria-label": regionLabel.value,
318
360
  "data-component": "carousel"
319
361
  }, [
320
- createCommentVNode(" eslint-disable-next-line vue-a11y/no-static-element-interactions -- tabindex 把滚动区放进 Tab 序列;左右方向键只滚动这一行。 "),
362
+ createCommentVNode(" 滚动区是和轮播同名的分组,只在内容溢出时进 Tab 序列,左右方向键只滚动这一行。放得下时仍能被程序聚焦,用来接住边缘按钮交出的焦点。 "),
363
+ createCommentVNode(" eslint-disable-next-line vue-a11y/no-static-element-interactions -- 分组本身接收方向键滚动,tabindex 随溢出切换。 "),
321
364
  createElementVNode("div", {
322
365
  ref_key: "scroller",
323
366
  ref: scroller,
324
367
  class: "astryx-carousel__scroller astryx-carousel-scroller",
368
+ role: "group",
369
+ "aria-label": regionLabel.value,
325
370
  "data-gap": __props.gap,
326
371
  "data-padding": __props.padding,
327
372
  "data-snap": __props.hasSnap || void 0,
328
373
  "data-edge-fade": __props.hasEdgeFade || void 0,
329
374
  "data-fade": fade.value,
330
- tabindex: "0",
375
+ tabindex: unref(overflow).hasOverflow ? 0 : -1,
331
376
  style: normalizeStyle(scrollerStyle.value),
332
377
  onKeydown: _cache[0] || (_cache[0] = ($event) => unref(onKeyDown)($event, __props.hasLoop))
333
378
  }, [createVNode(unref(CarouselItems), {
@@ -335,41 +380,47 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
335
380
  label: slideLabel,
336
381
  onUpdate: unref(measure)
337
382
  }, null, 8, ["content", "onUpdate"])], 44, _hoisted_2),
338
- __props.hasButtons ? (openBlock(), createElementBlock("div", _hoisted_3, [createElementVNode("div", {
339
- class: "astryx-carousel__pill astryx-carousel__pill--start",
340
- "data-hidden": !canScrollStart.value || void 0
341
- }, [createVNode(_sfc_main$2, {
342
- variant: "ghost",
343
- size: "sm",
344
- label: unref(messages).carousel.scrollLeft,
345
- "is-disabled": !canScrollStart.value,
346
- onFocus: onStartFocus,
347
- onBlur: onNavBlur,
348
- onClick: scrollPrev
349
- }, {
350
- default: withCtx(() => [createVNode(_sfc_main$1, {
351
- icon: "chevronLeft",
352
- size: "xsm"
353
- })]),
354
- _: 1
355
- }, 8, ["label", "is-disabled"])], 8, _hoisted_4), createElementVNode("div", {
356
- class: "astryx-carousel__pill astryx-carousel__pill--end",
357
- "data-hidden": !canScrollEnd.value || void 0
358
- }, [createVNode(_sfc_main$2, {
359
- variant: "ghost",
360
- size: "sm",
361
- label: unref(messages).carousel.scrollRight,
362
- "is-disabled": !canScrollEnd.value,
363
- onFocus: onEndFocus,
364
- onBlur: onNavBlur,
365
- onClick: scrollNext
366
- }, {
367
- default: withCtx(() => [createVNode(_sfc_main$1, {
368
- icon: "chevronRight",
369
- size: "xsm"
370
- })]),
371
- _: 1
372
- }, 8, ["label", "is-disabled"])], 8, _hoisted_5)])) : createCommentVNode("v-if", true)
383
+ __props.hasButtons ? (openBlock(), createElementBlock("div", _hoisted_3, [
384
+ createCommentVNode(" 隐藏的按钮不是 Tab 停靠点,也不在无障碍树里;光靠禁用态它仍可聚焦。 "),
385
+ createElementVNode("div", {
386
+ class: "astryx-carousel__pill astryx-carousel__pill--start",
387
+ "data-hidden": !canScrollStart.value || void 0,
388
+ inert: !canScrollStart.value || void 0
389
+ }, [createVNode(_sfc_main$2, {
390
+ variant: "ghost",
391
+ size: "sm",
392
+ label: unref(messages).carousel.scrollLeft,
393
+ "is-disabled": !canScrollStart.value,
394
+ onFocus: onStartFocus,
395
+ onBlur: onNavBlur,
396
+ onClick: scrollPrev
397
+ }, {
398
+ default: withCtx(() => [createVNode(_sfc_main$1, {
399
+ icon: "chevronLeft",
400
+ size: "xsm"
401
+ })]),
402
+ _: 1
403
+ }, 8, ["label", "is-disabled"])], 8, _hoisted_4),
404
+ createElementVNode("div", {
405
+ class: "astryx-carousel__pill astryx-carousel__pill--end",
406
+ "data-hidden": !canScrollEnd.value || void 0,
407
+ inert: !canScrollEnd.value || void 0
408
+ }, [createVNode(_sfc_main$2, {
409
+ variant: "ghost",
410
+ size: "sm",
411
+ label: unref(messages).carousel.scrollRight,
412
+ "is-disabled": !canScrollEnd.value,
413
+ onFocus: onEndFocus,
414
+ onBlur: onNavBlur,
415
+ onClick: scrollNext
416
+ }, {
417
+ default: withCtx(() => [createVNode(_sfc_main$1, {
418
+ icon: "chevronRight",
419
+ size: "xsm"
420
+ })]),
421
+ _: 1
422
+ }, 8, ["label", "is-disabled"])], 8, _hoisted_5)
423
+ ])) : createCommentVNode("v-if", true)
373
424
  ], 14, _hoisted_1);
374
425
  };
375
426
  }
@@ -1,2 +1,2 @@
1
- import { a as CenterSlots, i as CenterSizeValue, n as CenterAxis, r as CenterProps, t as _default } from "../index-ZbNwGVkS.js";
1
+ import { a as CenterSlots, i as CenterSizeValue, n as CenterAxis, r as CenterProps, t as _default } from "../index-BKnyTWPM.js";
2
2
  export { _default as Center, type CenterAxis, type CenterProps, type CenterSizeValue, type CenterSlots };
@@ -1,2 +1,2 @@
1
- import { C as useChatLayoutContext, D as pastedTextLabel, E as PASTE_TOKEN_THRESHOLD, O as useChatPasteAsToken, S as useChatComposerContext, T as useChatMessageContext, _ as _sfc_main$1, a as _sfc_main$15, b as _sfc_main$2, c as _sfc_main$11, d as _sfc_main$8, f as _sfc_main$7, g as _sfc_main$3, h as _sfc_main$4, i as _sfc_main$16, l as _sfc_main$10, m as _sfc_main$6, n as useSpeechRecognition, o as _sfc_main$14, p as _sfc_main$5, r as _sfc_main$17, s as _sfc_main$13, t as useChatDictation, u as _sfc_main$9, v as _sfc_main, w as useChatListContext, x as useChatComposerTokens, y as _sfc_main$12 } from "../Chat-D0m-tH7R.js";
1
+ import { C as useChatLayoutContext, D as pastedTextLabel, E as PASTE_TOKEN_THRESHOLD, O as useChatPasteAsToken, S as useChatComposerContext, T as useChatMessageContext, _ as _sfc_main$1, a as _sfc_main$15, b as _sfc_main$2, c as _sfc_main$11, d as _sfc_main$8, f as _sfc_main$7, g as _sfc_main$3, h as _sfc_main$4, i as _sfc_main$16, l as _sfc_main$10, m as _sfc_main$6, n as useSpeechRecognition, o as _sfc_main$14, p as _sfc_main$5, r as _sfc_main$17, s as _sfc_main$13, t as useChatDictation, u as _sfc_main$9, v as _sfc_main, w as useChatListContext, x as useChatComposerTokens, y as _sfc_main$12 } from "../Chat-D5cXLYlh.js";
2
2
  export { _sfc_main as ChatComposer, _sfc_main$1 as ChatComposerDrawer, _sfc_main$2 as ChatComposerInput, _sfc_main$3 as ChatComposerTokenElement, _sfc_main$4 as ChatDictationButton, _sfc_main$5 as ChatLayout, _sfc_main$6 as ChatLayoutScrollButton, _sfc_main$7 as ChatMessage, _sfc_main$8 as ChatMessageBubble, _sfc_main$9 as ChatMessageList, _sfc_main$10 as ChatMessageMetadata, _sfc_main$11 as ChatReasoning, _sfc_main$12 as ChatSendButton, _sfc_main$13 as ChatSystemMessage, _sfc_main$14 as ChatTokenizedText, _sfc_main$15 as ChatToolCalls, _sfc_main$16 as ChatTypingIndicator, _sfc_main$17 as ChatUnreadDivider, PASTE_TOKEN_THRESHOLD, pastedTextLabel, useChatComposerContext, useChatComposerTokens, useChatDictation, useChatLayoutContext, useChatListContext, useChatMessageContext, useChatPasteAsToken, useSpeechRecognition };
@@ -1,7 +1,7 @@
1
1
  import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
2
- import { t as _sfc_main$24 } from "./Icon-CU3412Fe.js";
2
+ import { t as _sfc_main$24 } from "./Icon-DAcZMgiJ.js";
3
3
  import { t as _sfc_main$25 } from "./VisuallyHidden-cpmsV-0M.js";
4
- import { t as _sfc_main$26 } from "./Button-Byrr4hAu.js";
4
+ import { t as _sfc_main$26 } from "./Button-7W3G5gok.js";
5
5
  import { t as useAnnounce } from "./announce-B210eJVf.js";
6
6
  import { r as useChatNewMessages, t as useChatStreamScroll } from "./useChatStreamScroll-oDfybEos.js";
7
7
  import { a as isImeKeyEvent } from "./layerDepth-CNDh-IHb.js";
@@ -9,7 +9,7 @@ import { n as useDismiss, t as usePositionedLayer } from "./usePositionedLayer-p
9
9
  import { n as isKeyboardModality, r as trackInteractionModality } from "./interactionModality-ACpTMhak.js";
10
10
  import { o as useAstryxLocale, s as useAstryxMessages } from "./context-BLSiTojH.js";
11
11
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
12
- import { t as _sfc_main$27 } from "./Badge-CjDQPF5g.js";
12
+ import { t as _sfc_main$27 } from "./Badge-DByZSDmu.js";
13
13
  import { t as _sfc_main$28 } from "./Divider-mOZ6vIQw.js";
14
14
  import { t as _sfc_main$29 } from "./HoverCard-B9uadAzT.js";
15
15
  import { t as _sfc_main$30 } from "./Spinner-CTWLR75x.js";
@@ -1,2 +1,2 @@
1
- import { Ga as CheckboxInputEmits, Ha as _default, Ja as CheckboxValue, Ka as CheckboxInputProps, Ua as CheckboxInputChangeAction, Wa as CheckboxInputChangeEvent, qa as CheckboxInputSlots } from "../index-HoCUEVoX.js";
1
+ import { Ga as CheckboxInputEmits, Ha as _default, Ja as CheckboxValue, Ka as CheckboxInputProps, Ua as CheckboxInputChangeAction, Wa as CheckboxInputChangeEvent, qa as CheckboxInputSlots } from "../index-CCYGMtZy.js";
2
2
  export { _default as CheckboxInput, type CheckboxInputChangeAction, type CheckboxInputChangeEvent, type CheckboxInputEmits, type CheckboxInputProps, type CheckboxInputSlots, type CheckboxValue };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../CheckboxInput-B4pDfjvr.js";
1
+ import { t as _sfc_main } from "../CheckboxInput-GFjf15n3.js";
2
2
  export { _sfc_main as CheckboxInput };
@@ -1,11 +1,11 @@
1
- import { t as usePressFeedback } from "./usePressFeedback-Dhnfc3ee.js";
1
+ import { t as usePressFeedback } from "./usePressFeedback-Dt76SpLj.js";
2
2
  import { t as _sfc_main$1 } from "./VisuallyHidden-cpmsV-0M.js";
3
3
  import { t as _sfc_main$2 } from "./ButtonTooltip-CNKOQHYR.js";
4
4
  import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
5
5
  import { i as useAriaRequired } from "./context-Cfml4jaK.js";
6
- import { t as _sfc_main$3 } from "./FieldLabel-D5_Pap_W.js";
7
- import { t as _sfc_main$4 } from "./FieldStatus-D6Vo_dU5.js";
8
- import { t as useIndicator } from "./useIndicator-BvF_KY9S.js";
6
+ import { t as _sfc_main$3 } from "./FieldLabel-lJ1exgvq.js";
7
+ import { t as _sfc_main$4 } from "./FieldStatus-CR-cK1rW.js";
8
+ import { t as useIndicator } from "./useIndicator-DGWEjVpB.js";
9
9
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onUpdated, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
10
10
  import "../styles/button.css";
11
11
  import "../styles/checkbox-input.css";
@@ -1,2 +1,2 @@
1
- import { Ba as CheckboxListItemProps, Ia as _default$1, La as _default, Ra as CheckboxListEmits, Va as CheckboxListProps, za as CheckboxListItemEmits } from "../index-HoCUEVoX.js";
1
+ import { Ba as CheckboxListItemProps, Ia as _default$1, La as _default, Ra as CheckboxListEmits, Va as CheckboxListProps, za as CheckboxListItemEmits } from "../index-CCYGMtZy.js";
2
2
  export { _default as CheckboxList, type CheckboxListEmits, _default$1 as CheckboxListItem, type CheckboxListItemEmits, type CheckboxListItemProps, type CheckboxListProps };
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main, t as _sfc_main$1 } from "../CheckboxList-DtxfdHRI.js";
1
+ import { n as _sfc_main, t as _sfc_main$1 } from "../CheckboxList-CJzRo5vd.js";
2
2
  export { _sfc_main as CheckboxList, _sfc_main$1 as CheckboxListItem };
@@ -1,11 +1,11 @@
1
1
  import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
2
2
  import { s as useAstryxMessages } from "./context-BLSiTojH.js";
3
3
  import { t as _sfc_main$3 } from "./Tooltip-BfKegFfq.js";
4
- import { r as useItemDescriptionId } from "./Item-X9wgYWoD.js";
5
- import { t as _sfc_main$4 } from "./CheckboxInput-B4pDfjvr.js";
6
- import { t as _sfc_main$5 } from "./Field-DLg-trP2.js";
7
- import { t as useFieldPartStyling } from "./fieldParts--SyRZVQG.js";
8
- import { n as _sfc_main$6, t as _sfc_main$7 } from "./ListItem-CertehfW.js";
4
+ import { r as useItemDescriptionId } from "./Item-Dbf2g0Ee.js";
5
+ import { t as _sfc_main$4 } from "./CheckboxInput-GFjf15n3.js";
6
+ import { t as _sfc_main$5 } from "./Field-CdrGdY7U.js";
7
+ import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
8
+ import { n as _sfc_main$6, t as _sfc_main$7 } from "./ListItem-C8F4r-3e.js";
9
9
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, provide, ref, renderSlot, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, withCtx } from "vue";
10
10
  import "../styles/checkbox-list.css";
11
11
  import "../styles/visually-hidden-utility.css";
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Citation-CCu6QWG7.js";
1
+ import { t as _sfc_main } from "../Citation-C_XMPOpv.js";
2
2
  export { _sfc_main as Citation };
@@ -1,5 +1,6 @@
1
- import { t as _sfc_main$1 } from "./Icon-CU3412Fe.js";
1
+ import { t as _sfc_main$1 } from "./Icon-DAcZMgiJ.js";
2
2
  import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
3
+ import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
3
4
  import { s as useAstryxMessages } from "./context-BLSiTojH.js";
4
5
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, openBlock, toDisplayString, useTemplateRef } from "vue";
5
6
  import "../styles/citation.css";
@@ -40,6 +41,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
40
41
  },
41
42
  setup(__props, { expose: __expose }) {
42
43
  const props = __props;
44
+ if (isDevBuild() && props.source == null) throw devPropError("Citation", "source", "is required, for example :source=\"{ title: 'Annual report', url: 'https://example.com/report' }\". Citation does not read slot content.");
43
45
  const messages = useAstryxMessages();
44
46
  const root = useTemplateRef("root");
45
47
  const title = computed(() => props.source.title?.trim() || String(props.number));
@@ -1,2 +1,2 @@
1
- import { Fa as ClickableCardSlots, Ma as _default, Na as ClickableCardEmits, Pa as ClickableCardProps } from "../index-HoCUEVoX.js";
1
+ import { Fa as ClickableCardSlots, Ma as _default, Na as ClickableCardEmits, Pa as ClickableCardProps } from "../index-CCYGMtZy.js";
2
2
  export { _default as ClickableCard, _default as default, type ClickableCardEmits, type ClickableCardProps, type ClickableCardSlots };
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main, t as ClickableCard_default } from "../ClickableCard-jEBZbzHE.js";
1
+ import { n as _sfc_main, t as ClickableCard_default } from "../ClickableCard-qeVRS9dw.js";
2
2
  export { _sfc_main as ClickableCard, ClickableCard_default as default };
@@ -1,6 +1,5 @@
1
- import { t as usePressFeedback } from "./usePressFeedback-Dhnfc3ee.js";
1
+ import { a as useClickableContainer, t as usePressFeedback } from "./usePressFeedback-Dt76SpLj.js";
2
2
  import { t as _sfc_main$1 } from "./VisuallyHidden-cpmsV-0M.js";
3
- import { i as useClickableContainer } from "./useClickableContainer-CdGp_Cev.js";
4
3
  import { t as _sfc_main$2 } from "./Card-H4571ZKi.js";
5
4
  import { n as disabledInteractionProps } from "./disabledInteraction-CPzL8kVP.js";
6
5
  import { computed, createBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, useTemplateRef, withCtx } from "vue";
@@ -32,7 +31,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
32
31
  const interactiveRef = useTemplateRef("interactive");
33
32
  const containerRef = computed(() => cardRef.value?.element ?? null);
34
33
  const controlRef = computed(() => interactiveRef.value?.element ?? null);
35
- const { pressableProps } = usePressFeedback({ hasOverlay: false });
34
+ /** 卡片里放着别的控件:手指按在它们上面时卡片不亮。 */
35
+ const { pressableProps, pressActionProps } = usePressFeedback({
36
+ hasOverlay: false,
37
+ isContainer: true
38
+ });
36
39
  /** 禁用时不再用原生 disabled 或 tabIndex=-1,改用可聚焦的 aria-disabled 加共用事件守卫。 */
37
40
  const disabledInteraction = computed(() => props.isDisabled ? disabledInteractionProps() : void 0);
38
41
  const handlers = useClickableContainer({
@@ -92,7 +95,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
92
95
  role: __props.isDisabled ? "link" : void 0,
93
96
  tabindex: 0,
94
97
  target: __props.isDisabled ? void 0 : __props.target
95
- }, disabledInteraction.value), null, 16, [
98
+ }, {
99
+ ...disabledInteraction.value,
100
+ ...unref(pressActionProps)
101
+ }), null, 16, [
96
102
  "aria-disabled",
97
103
  "aria-label",
98
104
  "href",
@@ -105,7 +111,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
105
111
  "aria-label": __props.label,
106
112
  "aria-disabled": __props.isDisabled || void 0,
107
113
  type: "button"
108
- }, disabledInteraction.value, { onClick: onInteractiveClick }), null, 16, ["aria-label", "aria-disabled"])), renderSlot(_ctx.$slots, "default")]),
114
+ }, {
115
+ ...disabledInteraction.value,
116
+ ...unref(pressActionProps)
117
+ }, { onClick: onInteractiveClick }), null, 16, ["aria-label", "aria-disabled"])), renderSlot(_ctx.$slots, "default")]),
109
118
  _: 3
110
119
  }, 16, [
111
120
  "data-disabled",
@@ -1,5 +1,5 @@
1
1
  import { t as useClipboard } from "../useClipboard-Dk8cS810.js";
2
- import { a as tokenizeAsync, c as splitDiffLines, d as applyHighlightRangesFlat, f as _sfc_main, i as tokenize, l as HIGHLIGHTED_TOKEN_TYPES, n as SYNC_TOKENIZE_THRESHOLD, o as diffLineKind, r as flatTokensToLines, s as parseFenceLanguage, t as _sfc_main$1, u as applyHighlightRanges } from "../CodeBlock-C1CyMSCL.js";
2
+ import { a as tokenizeAsync, c as splitDiffLines, d as applyHighlightRangesFlat, f as _sfc_main, i as tokenize, l as HIGHLIGHTED_TOKEN_TYPES, n as SYNC_TOKENIZE_THRESHOLD, o as diffLineKind, r as flatTokensToLines, s as parseFenceLanguage, t as _sfc_main$1, u as applyHighlightRanges } from "../CodeBlock-9NMYGL48.js";
3
3
  import { i as githubDark, n as SYNTAX_TOKEN_KEYS, r as defineSyntaxTheme, t as DIFF_SYNTAX_TOKEN_KEYS } from "../syntaxTheme-R7xnu5x5.js";
4
- import { a as catppuccinMocha, c as githubLight, d as nord, f as oneDarkPro, g as tokyoNightLight, h as tokyoNight, i as catppuccinLatte, l as lightSyntaxPresets, m as solarizedLight, n as _sfc_main$2, o as darkSyntaxPresets, p as oneLight, r as allSyntaxPresets, s as dracula, t as useSyntaxTheme, u as monokai } from "../Code-PDhTfE2w.js";
4
+ import { a as catppuccinMocha, c as githubLight, d as nord, f as oneDarkPro, g as tokyoNightLight, h as tokyoNight, i as catppuccinLatte, l as lightSyntaxPresets, m as solarizedLight, n as _sfc_main$2, o as darkSyntaxPresets, p as oneLight, r as allSyntaxPresets, s as dracula, t as useSyntaxTheme, u as monokai } from "../Code-6GS0nAkR.js";
5
5
  export { _sfc_main as Code, _sfc_main$1 as CodeBlock, DIFF_SYNTAX_TOKEN_KEYS, HIGHLIGHTED_TOKEN_TYPES, SYNC_TOKENIZE_THRESHOLD, SYNTAX_TOKEN_KEYS, _sfc_main$2 as SyntaxTheme, allSyntaxPresets, applyHighlightRanges, applyHighlightRangesFlat, catppuccinLatte, catppuccinMocha, darkSyntaxPresets, defineSyntaxTheme, diffLineKind, dracula, flatTokensToLines, githubDark, githubLight, lightSyntaxPresets, monokai, nord, oneDarkPro, oneLight, parseFenceLanguage, solarizedLight, splitDiffLines, tokenize, tokenizeAsync, tokyoNight, tokyoNightLight, useClipboard as useCopyToClipboard, useSyntaxTheme };
@@ -1,4 +1,4 @@
1
- import { n as themeContextKey } from "./context-Cws_tXTr.js";
1
+ import { s as themeContextKey } from "./themeIcons-CqGF0fwW.js";
2
2
  import { a as syntaxThemeStyle, i as githubDark, n as SYNTAX_TOKEN_KEYS, r as defineSyntaxTheme } from "./syntaxTheme-R7xnu5x5.js";
3
3
  import { t as syntaxThemeKey } from "./syntaxContext-DmIfNNtb.js";
4
4
  import { n as useResolvedColorMode, r as resolveLightDark } from "./useResolvedColorMode-CHOh3Yz-.js";
@@ -1,8 +1,9 @@
1
- import { t as _sfc_main$3 } from "./Icon-CU3412Fe.js";
1
+ import { t as _sfc_main$3 } from "./Icon-DAcZMgiJ.js";
2
2
  import { t as _sfc_main$4 } from "./VisuallyHidden-cpmsV-0M.js";
3
3
  import { t as useClipboard } from "./useClipboard-Dk8cS810.js";
4
- import { t as _sfc_main$5 } from "./IconButton-Dzhukpzc.js";
4
+ import { t as _sfc_main$5 } from "./IconButton-Cn4re9lo.js";
5
5
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
6
+ import { t as _sfc_main$6 } from "./ComponentIcon-hPmWTSXE.js";
6
7
  import { a as syntaxThemeStyle } from "./syntaxTheme-R7xnu5x5.js";
7
8
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useAttrs, useId, useTemplateRef, watch, withCtx, withModifiers } from "vue";
8
9
  import "../styles/code.css";
@@ -1378,11 +1379,15 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
1378
1379
  }, {
1379
1380
  default: withCtx(() => [
1380
1381
  _cache[6] || (_cache[6] = createTextVNode("\n ", -1)),
1381
- createVNode(_sfc_main$3, {
1382
- icon: unref(isCopied) ? "check" : "copy",
1383
- size: "sm",
1382
+ createVNode(_sfc_main$6, {
1383
+ "icon-slot": "code-block-copy",
1384
+ state: { copied: unref(isCopied) },
1385
+ fallback: {
1386
+ icon: unref(isCopied) ? "check" : "copy",
1387
+ size: "sm"
1388
+ },
1384
1389
  color: "inherit"
1385
- }, null, 8, ["icon"]),
1390
+ }, null, 8, ["state", "fallback"]),
1386
1391
  _cache[7] || (_cache[7] = createTextVNode("\n ", -1))
1387
1392
  ]),
1388
1393
  _: 1
@@ -1465,11 +1470,15 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
1465
1470
  }, {
1466
1471
  default: withCtx(() => [
1467
1472
  _cache[16] || (_cache[16] = createTextVNode("\n ", -1)),
1468
- createVNode(_sfc_main$3, {
1469
- icon: unref(isCopied) ? "check" : "copy",
1470
- size: "sm",
1473
+ createVNode(_sfc_main$6, {
1474
+ "icon-slot": "code-block-copy",
1475
+ state: { copied: unref(isCopied) },
1476
+ fallback: {
1477
+ icon: unref(isCopied) ? "check" : "copy",
1478
+ size: "sm"
1479
+ },
1471
1480
  color: "inherit"
1472
- }, null, 8, ["icon"]),
1481
+ }, null, 8, ["state", "fallback"]),
1473
1482
  _cache[17] || (_cache[17] = createTextVNode("\n ", -1))
1474
1483
  ]),
1475
1484
  _: 1
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main, r as useCollapsible, t as _sfc_main$1 } from "../Collapsible-BsPZ8CoN.js";
1
+ import { n as _sfc_main, r as useCollapsible, t as _sfc_main$1 } from "../Collapsible-CifnTLlc.js";
2
2
  export { _sfc_main as Collapsible, _sfc_main$1 as CollapsibleGroup, useCollapsible };
@@ -1,6 +1,6 @@
1
- import { t as usePressFeedback } from "./usePressFeedback-Dhnfc3ee.js";
1
+ import { t as usePressFeedback } from "./usePressFeedback-Dt76SpLj.js";
2
2
  import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
3
- import { t as _sfc_main$2 } from "./Icon-CU3412Fe.js";
3
+ import { t as _sfc_main$2 } from "./Icon-DAcZMgiJ.js";
4
4
  import { Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeModels, mergeProps, openBlock, provide, renderSlot, shallowRef, toDisplayString, toValue, unref, useId, useModel, useTemplateRef, vShow, withCtx, withDirectives } from "vue";
5
5
  import "../styles/collapsible.css";
6
6
  //#region src/Collapsible/context.ts
@@ -1,2 +1,2 @@
1
- import { a as _sfc_main$3, i as _sfc_main$4, n as _sfc_main$6, o as _sfc_main$2, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main } from "../CommandPalette-0Kg-dJg3.js";
1
+ import { a as _sfc_main$3, i as _sfc_main$4, n as _sfc_main$6, o as _sfc_main$2, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main } from "../CommandPalette-BbGFrwAI.js";
2
2
  export { _sfc_main as CommandPalette, _sfc_main$1 as CommandPaletteEmpty, _sfc_main$2 as CommandPaletteFooter, _sfc_main$3 as CommandPaletteGroup, _sfc_main$4 as CommandPaletteInput, _sfc_main$5 as CommandPaletteItem, _sfc_main$6 as CommandPaletteList };
@@ -1,10 +1,10 @@
1
- import { t as usePressFeedback } from "./usePressFeedback-Dhnfc3ee.js";
2
- import { t as _sfc_main$7 } from "./Icon-CU3412Fe.js";
1
+ import { t as usePressFeedback } from "./usePressFeedback-Dt76SpLj.js";
2
+ import { t as _sfc_main$7 } from "./Icon-DAcZMgiJ.js";
3
3
  import { t as invokeNativeEventHandler } from "./eventHandlers-DUXzBWZy.js";
4
4
  import { t as useAnnounce } from "./announce-B210eJVf.js";
5
5
  import { n as useAsyncSource } from "./useAsyncSource-Gk0VtE7_.js";
6
6
  import { n as isKeyboardModality, r as trackInteractionModality } from "./interactionModality-ACpTMhak.js";
7
- import { t as _sfc_main$8 } from "./Kbd-CV3LO2Ge.js";
7
+ import { t as _sfc_main$8 } from "./Kbd-Dn1LTcNY.js";
8
8
  import { s as useAstryxMessages } from "./context-BLSiTojH.js";
9
9
  import { n as DIALOG_CONTEXT_KEY, t as _sfc_main$9 } from "./Dialog-D4V2ZnuS.js";
10
10
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
@@ -1,2 +1,2 @@
1
- import { a as ComplexSelectorProps, c as ComplexSelectorState, i as ComplexSelectorHandleRef, l as ComplexSelectorTriggerProps, n as ComplexSelectorEmits, o as ComplexSelectorSlotProps, r as ComplexSelectorHandle, s as ComplexSelectorSlots, t as _default, u as ComplexSelectorVariant } from "../index-8px-LKw_.js";
1
+ import { a as ComplexSelectorProps, c as ComplexSelectorState, i as ComplexSelectorHandleRef, l as ComplexSelectorTriggerProps, n as ComplexSelectorEmits, o as ComplexSelectorSlotProps, r as ComplexSelectorHandle, s as ComplexSelectorSlots, t as _default, u as ComplexSelectorVariant } from "../index-HLkEFNeu.js";
2
2
  export { _default as ComplexSelector, _default as default, type ComplexSelectorEmits, type ComplexSelectorHandle, type ComplexSelectorHandleRef, type ComplexSelectorProps, type ComplexSelectorSlotProps, type ComplexSelectorSlots, type ComplexSelectorState, type ComplexSelectorTriggerProps, type ComplexSelectorVariant };
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main, t as ComplexSelector_default } from "../ComplexSelector-wbVUmVh6.js";
1
+ import { n as _sfc_main, t as ComplexSelector_default } from "../ComplexSelector-DMnzBMY1.js";
2
2
  export { _sfc_main as ComplexSelector, ComplexSelector_default as default };
@@ -1,13 +1,13 @@
1
- import { t as _sfc_main$1 } from "./Icon-CU3412Fe.js";
2
- import { n as useDevWarning } from "./useDevWarning-DznOpOHT.js";
1
+ import { t as _sfc_main$1 } from "./Icon-DAcZMgiJ.js";
2
+ import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
3
3
  import { s as useAstryxMessages } from "./context-BLSiTojH.js";
4
4
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
5
5
  import { t as _sfc_main$2 } from "./Spinner-CTWLR75x.js";
6
- import { t as _sfc_main$3 } from "./Field-DLg-trP2.js";
7
- import { t as useFieldPartStyling } from "./fieldParts--SyRZVQG.js";
6
+ import { t as _sfc_main$3 } from "./Field-CdrGdY7U.js";
7
+ import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
8
8
  import { t as consumeWhileDisabled } from "./disabledInteraction-CPzL8kVP.js";
9
9
  import { n as fieldStatusPlacement, t as normalizeTriggerVariant } from "./triggerVariant-BsL8jMHs.js";
10
- import { t as _sfc_main$4 } from "./Popover-D90phFsK.js";
10
+ import { t as _sfc_main$4 } from "./Popover-DE_a8vx0.js";
11
11
  import { computed, createBlock, createCommentVNode, createElementVNode, createVNode, defineComponent, guardReactiveProps, mergeModels, mergeProps, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, openBlock, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
12
12
  import "../styles/complex-selector.css";
13
13
  //#region src/ComplexSelector/ComplexSelector.vue
@@ -0,0 +1,37 @@
1
+ import { t as _sfc_main$1 } from "./Icon-DAcZMgiJ.js";
2
+ import { s as themeContextKey } from "./themeIcons-CqGF0fwW.js";
3
+ import { n as resolveComponentIcon } from "./componentIcons-CFr2L6o3.js";
4
+ import { computed, createBlock, createCommentVNode, defineComponent, inject, openBlock } from "vue";
5
+ //#region src/Icon/ComponentIcon.vue
6
+ const _sfc_main = /*@__PURE__*/ defineComponent({
7
+ name: "AstryxComponentIcon",
8
+ __name: "ComponentIcon",
9
+ props: {
10
+ iconSlot: {},
11
+ state: {},
12
+ fallback: {},
13
+ color: {}
14
+ },
15
+ setup(__props) {
16
+ const props = __props;
17
+ const context = inject(themeContextKey, null);
18
+ const resolved = computed(() => resolveComponentIcon(props.iconSlot, props.state, props.fallback, context?.value.theme));
19
+ const variant = computed(() => resolved.value.variant);
20
+ return (_ctx, _cache) => {
21
+ return resolved.value.icon != null ? (openBlock(), createBlock(_sfc_main$1, {
22
+ key: 0,
23
+ icon: resolved.value.icon,
24
+ variant: variant.value,
25
+ size: resolved.value.size,
26
+ color: __props.color
27
+ }, null, 8, [
28
+ "icon",
29
+ "variant",
30
+ "size",
31
+ "color"
32
+ ])) : createCommentVNode("v-if", true);
33
+ };
34
+ }
35
+ });
36
+ //#endregion
37
+ export { _sfc_main as t };
@@ -1,3 +1,3 @@
1
- import { $i as _default$4, Aa as ContextMenuVariant, Ca as ContextMenuSection, Da as ContextMenuSubMenuProps, Ea as ContextMenuSubMenuEmits, Oa as ContextMenuSubMenuSlots, Qi as _default$7, Sa as ContextMenuRadioOptionData, Ta as ContextMenuSlots, _a as ContextMenuItemTarget, aa as ContextMenuCheckboxData, ba as ContextMenuProps, ca as ContextMenuEmits, da as ContextMenuGroupSlots, ea as _default$3, fa as ContextMenuItemData, ga as ContextMenuItemSlots, ha as ContextMenuItemProps, ia as useContextMenuSize, ja as ContextMenuWidth, ka as ContextMenuTriggerElement, la as ContextMenuEntry, ma as ContextMenuItemIcon, na as _default, oa as ContextMenuDividerData, pa as ContextMenuItemEmits, ra as useContextMenu, sa as ContextMenuDividerProps, ta as _default$2, ua as ContextMenuGroupProps, va as ContextMenuOption, wa as ContextMenuSize, xa as ContextMenuRadioData, ya as ContextMenuPresentation } from "../index-HoCUEVoX.js";
2
- import { n as _default$5, r as _default$1, t as _default$6 } from "../DropdownMenuRadioItem.vue-z0XU7pZS.js";
1
+ import { $i as _default$4, Aa as ContextMenuVariant, Ca as ContextMenuSection, Da as ContextMenuSubMenuProps, Ea as ContextMenuSubMenuEmits, Oa as ContextMenuSubMenuSlots, Qi as _default$7, Sa as ContextMenuRadioOptionData, Ta as ContextMenuSlots, _a as ContextMenuItemTarget, aa as ContextMenuCheckboxData, ba as ContextMenuProps, ca as ContextMenuEmits, da as ContextMenuGroupSlots, ea as _default$3, fa as ContextMenuItemData, ga as ContextMenuItemSlots, ha as ContextMenuItemProps, ia as useContextMenuSize, ja as ContextMenuWidth, ka as ContextMenuTriggerElement, la as ContextMenuEntry, ma as ContextMenuItemIcon, na as _default, oa as ContextMenuDividerData, pa as ContextMenuItemEmits, ra as useContextMenu, sa as ContextMenuDividerProps, ta as _default$2, ua as ContextMenuGroupProps, va as ContextMenuOption, wa as ContextMenuSize, xa as ContextMenuRadioData, ya as ContextMenuPresentation } from "../index-CCYGMtZy.js";
2
+ import { n as _default$5, r as _default$1, t as _default$6 } from "../DropdownMenuRadioItem.vue-D455cIQQ.js";
3
3
  export { _default as ContextMenu, type ContextMenuCheckboxData, _default$1 as ContextMenuCheckboxItem, _default$2 as ContextMenuDivider, type ContextMenuDividerData, type ContextMenuDividerProps, type ContextMenuEmits, type ContextMenuEntry, _default$3 as ContextMenuGroup, type ContextMenuGroupProps, type ContextMenuGroupSlots, _default$4 as ContextMenuItem, type ContextMenuItemData, type ContextMenuItemEmits, type ContextMenuItemIcon, type ContextMenuItemProps, type ContextMenuItemSlots, type ContextMenuItemTarget, type ContextMenuOption, type ContextMenuPresentation, type ContextMenuProps, type ContextMenuRadioData, _default$5 as ContextMenuRadioGroup, _default$6 as ContextMenuRadioItem, type ContextMenuRadioOptionData, type ContextMenuSection, type ContextMenuSize, type ContextMenuSlots, _default$7 as ContextMenuSubMenu, type ContextMenuSubMenuEmits, type ContextMenuSubMenuProps, type ContextMenuSubMenuSlots, type ContextMenuTriggerElement, type ContextMenuVariant, type ContextMenuWidth, useContextMenu, useContextMenuSize };
@@ -1,3 +1,3 @@
1
- import { d as useContextMenuSize, i as _sfc_main$1, n as _sfc_main$6, r as _sfc_main$5, u as useContextMenu } from "../useMenuDrillIn-C36Z89W3.js";
2
- import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$7, r as _sfc_main$4, t as _sfc_main } from "../ContextMenu-CgSIWUYh.js";
1
+ import { d as useContextMenuSize, i as _sfc_main$1, n as _sfc_main$6, r as _sfc_main$5, u as useContextMenu } from "../useMenuDrillIn-DJ4U_hF7.js";
2
+ import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$7, r as _sfc_main$4, t as _sfc_main } from "../ContextMenu-BD3pObnQ.js";
3
3
  export { _sfc_main as ContextMenu, _sfc_main$1 as ContextMenuCheckboxItem, _sfc_main$2 as ContextMenuDivider, _sfc_main$3 as ContextMenuGroup, _sfc_main$4 as ContextMenuItem, _sfc_main$5 as ContextMenuRadioGroup, _sfc_main$6 as ContextMenuRadioItem, _sfc_main$7 as ContextMenuSubMenu, useContextMenu, useContextMenuSize };