@astryx-vue/core 0.3.0 → 0.4.1

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 (512) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-RAVA_cT1.js → AlertDialog-C2inDZWG.js} +5 -5
  3. package/dist/AppShell/index.d.ts +1 -1
  4. package/dist/AppShell/index.js +1 -1
  5. package/dist/{AppShell-0wTvOo3H.js → AppShell-awAKicsc.js} +3 -3
  6. package/dist/Avatar/index.js +1 -1
  7. package/dist/{Avatar-pPZ4dI_s.js → Avatar-DXBjJ88C.js} +47 -34
  8. package/dist/AvatarGroup/index.d.ts +1 -1
  9. package/dist/AvatarGroup/index.js +1 -1
  10. package/dist/{AvatarGroup-B--NQSB3.js → AvatarGroup-kpAeKLNq.js} +57 -13
  11. package/dist/Banner/index.d.ts +1 -1
  12. package/dist/Banner/index.js +1 -1
  13. package/dist/{Banner-GbGxrqQO.js → Banner-BdvuyzAe.js} +71 -35
  14. package/dist/Blockquote/index.js +1 -1
  15. package/dist/Blockquote-DRoKdcxZ.js +27 -0
  16. package/dist/BottomSheet/index.d.ts +1 -1
  17. package/dist/BottomSheet/index.js +2 -2
  18. package/dist/{BottomSheet-pt7m4CvC.js → BottomSheet-B4sc3F1S.js} +286 -140
  19. package/dist/{BottomSheet-JYMB_Ofl.js → BottomSheet-m54uCMJN.js} +20 -4
  20. package/dist/Breadcrumbs/index.d.ts +2 -2
  21. package/dist/Breadcrumbs/index.js +2 -2
  22. package/dist/Breadcrumbs-D4ZzHEB0.js +223 -0
  23. package/dist/Button/index.d.ts +1 -1
  24. package/dist/Button/index.js +1 -1
  25. package/dist/{Button-B6Hj_O_s.js → Button-ONOoHdkg.js} +25 -15
  26. package/dist/ButtonGroup/index.d.ts +1 -1
  27. package/dist/ButtonGroup/index.js +1 -1
  28. package/dist/ButtonGroup-DnkSZ9a5.js +87 -0
  29. package/dist/{ButtonTooltip-nWWrth8j.js → ButtonTooltip-CNKOQHYR.js} +7 -4
  30. package/dist/Calendar/index.d.ts +1 -1
  31. package/dist/Calendar/index.js +1 -1
  32. package/dist/{Calendar-B7vIowKq.js → Calendar-CjK-JUDM.js} +5 -5
  33. package/dist/Card/index.d.ts +2 -2
  34. package/dist/Carousel/index.js +1 -1
  35. package/dist/{Carousel-CA8zpD9v.js → Carousel-D262qigj.js} +8 -8
  36. package/dist/Chat/index.d.ts +1 -1
  37. package/dist/Chat/index.js +1 -1
  38. package/dist/{Chat-Bmna9EOA.js → Chat-DD_mlIP3.js} +165 -101
  39. package/dist/CheckboxIndicator/index.js +1 -1
  40. package/dist/{CheckboxIndicator-D37cm2Rh.js → CheckboxIndicator-fH4d-JE1.js} +9 -3
  41. package/dist/CheckboxInput/index.d.ts +1 -1
  42. package/dist/CheckboxInput/index.js +1 -1
  43. package/dist/{CheckboxInput-BS9J6edf.js → CheckboxInput-D8vTmAMZ.js} +20 -12
  44. package/dist/CheckboxList/index.d.ts +1 -1
  45. package/dist/CheckboxList/index.js +1 -1
  46. package/dist/{CheckboxList-CX1i_jVP.js → CheckboxList-DCvHewHB.js} +155 -38
  47. package/dist/Citation/index.js +1 -1
  48. package/dist/{Citation-Djgwa0ko.js → Citation-C69BgxW3.js} +8 -3
  49. package/dist/ClickableCard/index.d.ts +1 -1
  50. package/dist/ClickableCard/index.js +1 -1
  51. package/dist/{ClickableCard-DUsC-j03.js → ClickableCard-ChAfiw9T.js} +9 -6
  52. package/dist/Code/index.d.ts +1 -1
  53. package/dist/Code/index.js +3 -3
  54. package/dist/{Code-XnPuGxey.js → Code-Bg7GBdxy.js} +2 -1
  55. package/dist/{CodeBlock-D0BFubut.js → CodeBlock-DsbwTBiT.js} +8 -8
  56. package/dist/Collapsible/index.d.ts +1 -1
  57. package/dist/Collapsible/index.js +1 -1
  58. package/dist/{Collapsible-Cov3Pyq5.js → Collapsible-Bdj0WYpb.js} +13 -11
  59. package/dist/CommandPalette/index.d.ts +1 -1
  60. package/dist/CommandPalette/index.js +1 -1
  61. package/dist/{CommandPalette-YHsUNg3V.js → CommandPalette-CZ7CZglZ.js} +147 -67
  62. package/dist/ComplexSelector/index.d.ts +1 -1
  63. package/dist/ComplexSelector/index.js +1 -1
  64. package/dist/{ComplexSelector-DWLdKPGI.js → ComplexSelector-CIz6DDmY.js} +114 -28
  65. package/dist/ContextMenu/index.d.ts +2 -2
  66. package/dist/ContextMenu/index.js +2 -2
  67. package/dist/{ContextMenu-Bq9b3Ti5.js → ContextMenu-CxoiRh_h.js} +297 -179
  68. package/dist/DateInput/index.d.ts +1 -1
  69. package/dist/DateInput/index.js +1 -1
  70. package/dist/{DateInput-DT518j5E.js → DateInput-C67HCOU-.js} +563 -72
  71. package/dist/DateRangeInput/index.d.ts +1 -1
  72. package/dist/DateRangeInput/index.js +1 -1
  73. package/dist/{DateRangeInput-Bqi5tlIA.js → DateRangeInput-Dsf5Tyf-.js} +91 -26
  74. package/dist/DateTimeInput/index.d.ts +1 -1
  75. package/dist/DateTimeInput/index.js +1 -1
  76. package/dist/DateTimeInput-tfM1y5nZ.js +562 -0
  77. package/dist/Dialog/index.d.ts +1 -1
  78. package/dist/Dialog/index.js +2 -2
  79. package/dist/{Dialog-BiOSKQso.js → Dialog-DT1GzCrB.js} +28 -11
  80. package/dist/{Dialog-FGHfDu5M.js → Dialog-fhyxB00e.js} +32 -5
  81. package/dist/Divider/index.d.ts +1 -1
  82. package/dist/Divider/index.js +1 -1
  83. package/dist/{Divider-BtwnL18I.js → Divider-mOZ6vIQw.js} +5 -1
  84. package/dist/DropdownMenu/index.d.ts +2 -2
  85. package/dist/DropdownMenu/index.js +3 -3
  86. package/dist/{DropdownMenu-CoOQVlRp.js → DropdownMenu-C6wBC18g.js} +84 -56
  87. package/dist/{DropdownMenu-DEb2dSSP.js → DropdownMenu-G-pWSiBk.js} +479 -264
  88. package/dist/{DropdownMenuRadioItem.vue-CXEURBcq.d.ts → DropdownMenuRadioItem.vue-Qd-8Rg4Q.d.ts} +236 -230
  89. package/dist/EmptyState/index.js +1 -1
  90. package/dist/{EmptyState-C_GH7IV5.js → EmptyState-CmOQf2SH.js} +2 -2
  91. package/dist/Field/index.d.ts +4 -3
  92. package/dist/Field/index.js +4 -3
  93. package/dist/{Field-D5gUEGw4.js → Field-JIxT3xCh.js} +5 -4
  94. package/dist/FieldIcon-BFSHZEs_.js +40 -0
  95. package/dist/{FieldInfoTip-Ds-sW_jY.js → FieldInfoTip-BbgLt4ug.js} +4 -4
  96. package/dist/{FieldLabel-BNeXRuGH.js → FieldLabel-CHqp1y3z.js} +13 -8
  97. package/dist/FieldStatus/index.d.ts +1 -1
  98. package/dist/FieldStatus/index.js +1 -1
  99. package/dist/{FieldStatus-MjY19ERl.js → FieldStatus-DaAB3TIt.js} +1 -1
  100. package/dist/FileInput/index.d.ts +1 -1
  101. package/dist/FileInput/index.js +1 -1
  102. package/dist/{FileInput-BpdiO1V8.js → FileInput-Bi1uty-F.js} +108 -31
  103. package/dist/FormLayout/index.d.ts +1 -1
  104. package/dist/FormLayout/index.js +1 -1
  105. package/dist/{FormLayout-D47FjiOq.js → FormLayout-B9dUB6Ps.js} +1 -1
  106. package/dist/Heading/index.d.ts +1 -1
  107. package/dist/Heading/index.js +1 -1
  108. package/dist/{Heading-BnwWEWkp.js → Heading-BzBunfN7.js} +1 -1
  109. package/dist/HoverCard/index.js +1 -1
  110. package/dist/{HoverCard-ycY50pRN.js → HoverCard-BpJhT0sn.js} +35 -22
  111. package/dist/Icon/index.d.ts +4 -4
  112. package/dist/Icon/index.js +1 -1
  113. package/dist/{Icon-bteSId7T.js → Icon-KDnUyY7f.js} +12 -20
  114. package/dist/IconButton/index.js +1 -1
  115. package/dist/{IconButton-DDNgNl7B.js → IconButton-DI-XBbtV.js} +1 -1
  116. package/dist/Indicator/index.d.ts +2 -2
  117. package/dist/Indicator/index.js +2 -1
  118. package/dist/InputClearButton-CfSIqc-V.js +40 -0
  119. package/dist/InputGroup/index.d.ts +1 -1
  120. package/dist/InputGroup/index.js +2 -2
  121. package/dist/{InputGroup-CA03Smrs.js → InputGroup-D3F-QnET.js} +2 -2
  122. package/dist/InternationalizationProvider/index.d.ts +1 -1
  123. package/dist/InternationalizationProvider/index.js +1 -1
  124. package/dist/{InternationalizationProvider-DJay_w3B.js → InternationalizationProvider-CVV5QDgp.js} +5 -9
  125. package/dist/{Item-KhFKX9St.js → Item-DWMIjN8n.js} +34 -9
  126. package/dist/Kbd/index.js +1 -1
  127. package/dist/{Kbd-BB-Dw6zE.js → Kbd-CV3LO2Ge.js} +18 -2
  128. package/dist/LayerContentBoundary-CvsKxwwm.js +27 -0
  129. package/dist/LayerProvider/index.js +1 -1
  130. package/dist/{LayerProvider-D9NsQFzL.js → LayerProvider-B6zpMBWC.js} +15 -3
  131. package/dist/Layout/index.d.ts +1 -1
  132. package/dist/Layout/index.js +2 -2
  133. package/dist/{Layout-C6RHllr-.js → Layout-JJRCG7Mf.js} +1 -1
  134. package/dist/{LayoutPanel-DXOsaeQb.js → LayoutPanel-zM5vjrKS.js} +12 -8
  135. package/dist/Lightbox/index.js +1 -1
  136. package/dist/{Lightbox-DTF9EdTG.js → Lightbox-CjXhbDPc.js} +14 -12
  137. package/dist/Link/index.js +1 -1
  138. package/dist/{Link-BqHCtiyt.js → Link-ClNkTN1Q.js} +29 -12
  139. package/dist/List/index.d.ts +1 -1
  140. package/dist/List/index.js +2 -2
  141. package/dist/{ListItem-8RWT8XAG.js → ListItem-BQXMu1Tb.js} +1 -1
  142. package/dist/Markdown/index.d.ts +5 -2
  143. package/dist/Markdown/index.js +4 -2
  144. package/dist/Markdown/parser/index.d.ts +4 -0
  145. package/dist/Markdown/parser/index.js +2 -0
  146. package/dist/Markdown/plugin-protocol/index.d.ts +35 -0
  147. package/dist/Markdown/plugin-protocol/index.js +107 -0
  148. package/dist/Markdown/plugin-renderer/index.d.ts +31 -0
  149. package/dist/Markdown/plugin-renderer/index.js +42 -0
  150. package/dist/{Markdown-CvtN7HnF.js → Markdown-EIBrwQrb.js} +195 -524
  151. package/dist/MediaTheme-DlLqYhDy.js +433 -0
  152. package/dist/MetadataList/index.js +1 -1
  153. package/dist/{MetadataList-B-OelQlt.js → MetadataList-DLlSLX1n.js} +15 -7
  154. package/dist/MobileNav/index.js +1 -1
  155. package/dist/{MobileNavToggle-DxGz0xKA.js → MobileNavToggle-DgJYyzT6.js} +52 -17
  156. package/dist/MoreMenu/index.d.ts +1 -1
  157. package/dist/MoreMenu/index.js +1 -1
  158. package/dist/{MoreMenu-Dlb7MLlW.js → MoreMenu-C8BEt6-O.js} +74 -61
  159. package/dist/MultiSelector/index.d.ts +1 -1
  160. package/dist/MultiSelector/index.js +1 -1
  161. package/dist/MultiSelector-C7NCAtwW.js +1456 -0
  162. package/dist/{NavDisclosure-C_fugrQ3.js → NavDisclosure-Bq9DTZLO.js} +29 -7
  163. package/dist/{NavHeadingSurface-B3yJspSN.js → NavHeadingSurface-DQXisuaX.js} +29 -26
  164. package/dist/NavItem/index.d.ts +1 -1
  165. package/dist/NavItem/index.js +2 -2
  166. package/dist/{NavItem-BBIGSvDj.js → NavItem-BPb3yfgz.js} +17 -4
  167. package/dist/NavMenu/index.d.ts +1 -1
  168. package/dist/NavMenu/index.js +3 -3
  169. package/dist/{NavMenu-ThXguZAz.js → NavMenu-BYIDzjix.js} +42 -15
  170. package/dist/{NavMenuItem-BvJNsDFC.js → NavMenuItem-D3FO90GR.js} +14 -12
  171. package/dist/NumberInput/index.d.ts +1 -1
  172. package/dist/NumberInput/index.js +1 -1
  173. package/dist/NumberInput-3u3NZWnv.js +727 -0
  174. package/dist/Outline/index.d.ts +2 -2
  175. package/dist/Outline/index.js +2 -2
  176. package/dist/{Outline-755h-lMP.js → Outline-8szj9eXu.js} +91 -6
  177. package/dist/OverflowList/index.d.ts +2 -2
  178. package/dist/OverflowList/index.js +1 -1
  179. package/dist/{OverflowList-NmrSMbxb.js → OverflowList-BizpEwH8.js} +23 -6
  180. package/dist/Pagination/index.d.ts +1 -1
  181. package/dist/Pagination/index.js +1 -1
  182. package/dist/{Pagination-DqwNQFRp.js → Pagination-Cihr1CjD.js} +2 -2
  183. package/dist/PickerWheel-CSwUYfes.js +69 -0
  184. package/dist/Popover/index.d.ts +1 -1
  185. package/dist/Popover/index.js +1 -1
  186. package/dist/{Popover-DJf8POzL.js → Popover-78dFjTb9.js} +20 -15
  187. package/dist/PowerSearch/index.d.ts +1 -1
  188. package/dist/PowerSearch/index.js +1 -1
  189. package/dist/{PowerSearch-DvjiPqMZ.js → PowerSearch-BHx91ypY.js} +778 -590
  190. package/dist/ProgressBar/index.d.ts +1 -1
  191. package/dist/ProgressBar/index.js +1 -1
  192. package/dist/{ProgressBar-CVLzdoBK.js → ProgressBar-VP4JS7vm.js} +10 -7
  193. package/dist/Radio/index.d.ts +1 -1
  194. package/dist/Radio/index.js +1 -1
  195. package/dist/{RadioGroup-Bfu6JSNV.js → RadioGroup-DeSIRrgt.js} +94 -26
  196. package/dist/RadioList/index.d.ts +1 -1
  197. package/dist/RadioList/index.js +1 -1
  198. package/dist/{RadioList-xY1cwLdZ.js → RadioList-Co2lmetC.js} +57 -8
  199. package/dist/Resizable/index.d.ts +1 -1
  200. package/dist/Resizable/index.js +1 -1
  201. package/dist/{ResizeHandle-q4nD_586.js → ResizeHandle-DjLZ2pcq.js} +103 -50
  202. package/dist/ScrollableArea/index.d.ts +1 -1
  203. package/dist/ScrollableArea/index.js +1 -1
  204. package/dist/{ScrollableArea-D4dCJv9I.js → ScrollableArea-0u6RWtGG.js} +1 -1
  205. package/dist/SegmentedControl/index.d.ts +1 -1
  206. package/dist/SegmentedControl/index.js +1 -1
  207. package/dist/{SegmentedControl-ChHmFrrC.js → SegmentedControl-D1wWGBZo.js} +11 -5
  208. package/dist/SelectableCard/index.d.ts +1 -1
  209. package/dist/SelectableCard/index.js +1 -1
  210. package/dist/{SelectableCard-Cku4dRzc.js → SelectableCard-BEqnhPaX.js} +16 -11
  211. package/dist/Selector/index.d.ts +1 -1
  212. package/dist/Selector/index.js +1 -1
  213. package/dist/Selector-swa3RNQI.js +1049 -0
  214. package/dist/SideNav/index.d.ts +1 -1
  215. package/dist/SideNav/index.js +1 -1
  216. package/dist/{SideNav-BF8mYDxl.js → SideNav-BH6XKsW2.js} +56 -42
  217. package/dist/Slider/index.d.ts +1 -1
  218. package/dist/Slider/index.js +1 -1
  219. package/dist/{Slider-DWobsPgm.js → Slider-DG2YXll8.js} +172 -46
  220. package/dist/Spinner/index.js +1 -1
  221. package/dist/Spinner-BY8iQz--.js +200 -0
  222. package/dist/Stack/index.js +2 -2
  223. package/dist/{Stack-CTsTFfar.js → Stack-Bb_h60t3.js} +1 -1
  224. package/dist/{Stack-kQlYbbL4.js → Stack-Bp-XN9J4.js} +12 -7
  225. package/dist/StatusDot/index.d.ts +1 -1
  226. package/dist/StatusDot/index.js +1 -1
  227. package/dist/{StatusDot-BPUhMOff.js → StatusDot-BS_ohXhd.js} +8 -4
  228. package/dist/Stepper/index.d.ts +1 -1
  229. package/dist/Stepper/index.js +1 -1
  230. package/dist/{Stepper-CE8dHysu.js → Stepper-FtkTq5qR.js} +127 -113
  231. package/dist/Switch/index.d.ts +1 -1
  232. package/dist/Switch/index.js +1 -1
  233. package/dist/{Switch-DaVPRxvN.js → Switch-0JKvJluV.js} +38 -22
  234. package/dist/TabList/index.d.ts +2 -2
  235. package/dist/TabList/index.js +1 -1
  236. package/dist/{TabList-DIkK9sgK.js → TabList-cpjvnbhx.js} +205 -63
  237. package/dist/Table/index.d.ts +3 -3
  238. package/dist/Table/index.js +1 -1
  239. package/dist/{Table-fecqnm7P.js → Table-fWs_ZQBF.js} +735 -461
  240. package/dist/Text/index.d.ts +1 -1
  241. package/dist/Text/index.js +1 -1
  242. package/dist/{Text-CV3LmscH.js → Text-CmTOgYXf.js} +1 -1
  243. package/dist/TextArea/index.d.ts +1 -1
  244. package/dist/TextArea/index.js +1 -1
  245. package/dist/{TextArea-Ab5Sw60T.js → TextArea-CwSfEjT1.js} +110 -50
  246. package/dist/TextInput/index.d.ts +1 -1
  247. package/dist/TextInput/index.js +1 -1
  248. package/dist/{TextInput-zFT1_qgI.js → TextInput-CavITage.js} +71 -38
  249. package/dist/Theme/index.d.ts +3 -3
  250. package/dist/Theme/index.js +3 -2
  251. package/dist/Theme-BbDT8B_C.js +2125 -0
  252. package/dist/Thumbnail/index.js +1 -1
  253. package/dist/{Thumbnail-C3NnJUFG.js → Thumbnail-DpJnaNbg.js} +17 -14
  254. package/dist/{TimeField-CoHDGmsP.js → TimeField-DefNjDIT.js} +297 -40
  255. package/dist/TimeInput/index.d.ts +1 -1
  256. package/dist/TimeInput/index.js +1 -1
  257. package/dist/{TimeInput-D2k3Ux3p.js → TimeInput-j5vzN8MG.js} +78 -9
  258. package/dist/Timer/index.js +1 -1
  259. package/dist/{Timer-avMQk5DN.js → Timer-CH7GsEVu.js} +1 -1
  260. package/dist/Timestamp/index.d.ts +1 -1
  261. package/dist/Timestamp/index.js +1 -1
  262. package/dist/{Timestamp-xpQKCk0d.js → Timestamp-dtT4yADD.js} +9 -9
  263. package/dist/Toast/index.d.ts +1 -1
  264. package/dist/Toast/index.js +1 -1
  265. package/dist/Toast-igtJYSw0.js +685 -0
  266. package/dist/ToggleButton/index.d.ts +1 -1
  267. package/dist/ToggleButton/index.js +1 -1
  268. package/dist/{ToggleButton-B-C-Q7XP.js → ToggleButton-cLjh9W-x.js} +5 -4
  269. package/dist/Token/index.d.ts +1 -1
  270. package/dist/Token/index.js +1 -1
  271. package/dist/{Token-DsntTYhQ.js → Token-DhsAtAH6.js} +32 -17
  272. package/dist/Tokenizer/index.d.ts +1 -1
  273. package/dist/Tokenizer/index.js +1 -1
  274. package/dist/{Tokenizer-B5C_qY7t.js → Tokenizer-BGdj78UK.js} +107 -23
  275. package/dist/Toolbar/index.d.ts +2 -2
  276. package/dist/Toolbar/index.js +1 -1
  277. package/dist/{Toolbar-BrgvvTCk.js → Toolbar-C0pMWL4S.js} +1 -1
  278. package/dist/Tooltip/index.d.ts +1 -1
  279. package/dist/Tooltip/index.js +1 -1
  280. package/dist/{Tooltip-C4Vaqd3G.js → Tooltip-sAM8i1eO.js} +23 -19
  281. package/dist/TopNav/index.d.ts +1 -1
  282. package/dist/TopNav/index.js +1 -1
  283. package/dist/{TopNav-Ciq0l1w7.js → TopNav-Dw0m387B.js} +23 -22
  284. package/dist/TreeList/index.d.ts +1 -1
  285. package/dist/TreeList/index.js +1 -1
  286. package/dist/{TreeList-BUz-KZJd.js → TreeList-Bunn7u3T.js} +129 -46
  287. package/dist/Typeahead/index.d.ts +1 -1
  288. package/dist/Typeahead/index.js +2 -2
  289. package/dist/{Typeahead-JP9RT87x.js → Typeahead-DRyf2HEh.js} +123 -26
  290. package/dist/{TypeaheadMenu-DBW6rHeO.js → TypeaheadMenu-BY5__sPC.js} +141 -51
  291. package/dist/{announce-Cnio10Wk.js → announce-B210eJVf.js} +17 -2
  292. package/dist/characters-rcDbGt71.d.ts +29 -0
  293. package/dist/characters-wTnzjkkR.js +58 -0
  294. package/dist/{colorMode-CBgdgDSn.js → colorMode-BxqfDP4P.js} +1 -4
  295. package/dist/composables/index.d.ts +5 -4
  296. package/dist/composables/index.js +23 -18
  297. package/dist/{composables-CbKx9C1Y.js → composables-CnsDaMuU.js} +167 -197
  298. package/dist/context-B6UElI5X.js +5 -0
  299. package/dist/context-CM-cjGg_.js +1425 -0
  300. package/dist/{context-Cfjh8te1.js → context-Cfml4jaK.js} +5 -3
  301. package/dist/context-IvbU9c3T.js +8 -0
  302. package/dist/context-pjBxaMSh.js +28 -0
  303. package/dist/fieldParts--SyRZVQG.js +44 -0
  304. package/dist/fieldParts-LXpQMKE8.d.ts +27 -0
  305. package/dist/{focus-CpficIgf.js → focus-l8jVTcqd.js} +1 -1
  306. package/dist/hoverIntent-DMHGb85c.js +115 -0
  307. package/dist/{index-ClNU2Th8.d.ts → index-3t5RAfNP.d.ts} +6 -2
  308. package/dist/{index-B9e52paP.d.ts → index-5LVG3QyV.d.ts} +1 -1
  309. package/dist/{index-CsNi1I8j.d.ts → index-B08-Uxhv.d.ts} +4 -2
  310. package/dist/{index-TXcNH86P.d.ts → index-B1eCxBCY.d.ts} +1 -1
  311. package/dist/{index-Cn-sSds-.d.ts → index-B1t1oQWH.d.ts} +24 -1
  312. package/dist/{index-BkjSF265.d.ts → index-BEZ4ezJk.d.ts} +3 -3
  313. package/dist/{index-yT1yiiww.d.ts → index-BI6jikpA.d.ts} +23 -11
  314. package/dist/{index-DeQwYJbg.d.ts → index-BNaRK-s5.d.ts} +10 -1
  315. package/dist/{index-D97pQbua.d.ts → index-BV2D2x_u.d.ts} +1 -1
  316. package/dist/{index-Crp3NFLW.d.ts → index-BZKgbyN9.d.ts} +1 -1
  317. package/dist/{index-Bu8NA2SD.d.ts → index-BaxM-pFP.d.ts} +12 -3
  318. package/dist/{index-BVKivP59.d.ts → index-Bgk1Rj2A.d.ts} +32 -3
  319. package/dist/index-BkUkm6Al.d.ts +11 -0
  320. package/dist/index-Bo-ofFyg.d.ts +166 -0
  321. package/dist/{index-B1WJxt-n.d.ts → index-C-tFz2Yx.d.ts} +17 -7
  322. package/dist/{index-DWh2WC8W.d.ts → index-C4Cjz6OK.d.ts} +2 -2
  323. package/dist/{index-CqE4Bf3Q.d.ts → index-C732aNMY.d.ts} +18 -4
  324. package/dist/{index-B7yhzGUT.d.ts → index-C7sam-SB.d.ts} +2 -2
  325. package/dist/{index-BrJzFA5X.d.ts → index-C90l2rH1.d.ts} +1 -1
  326. package/dist/{index-vP0EtrJJ.d.ts → index-C9gAlDt_.d.ts} +6 -3
  327. package/dist/index-CKUfpmFL.d.ts +375 -0
  328. package/dist/{index-CL1T2j4y.d.ts → index-CL8JvxHW.d.ts} +3 -3
  329. package/dist/{index-IBAInumL.d.ts → index-CMme-xmL.d.ts} +19 -6
  330. package/dist/{index-gW0HW02U.d.ts → index-COxy6LEW.d.ts} +1 -1
  331. package/dist/{index-12QYAbiz.d.ts → index-CRrSHbok.d.ts} +3 -2
  332. package/dist/{index-B42oE_F-.d.ts → index-CT5OEUxd.d.ts} +17 -4
  333. package/dist/{index-DG52Bg0W.d.ts → index-CTf3SK0b.d.ts} +6 -0
  334. package/dist/{index-Cde5JvtX.d.ts → index-CUVmtB5-.d.ts} +13 -6
  335. package/dist/{index-DXpSFlPG.d.ts → index-CWaSYtk9.d.ts} +4 -4
  336. package/dist/{index-CVn0GBdB.d.ts → index-Ca8VIE4l.d.ts} +1 -1
  337. package/dist/{index-Cyb9Du5Z.d.ts → index-CfR2Z0uG.d.ts} +1 -1
  338. package/dist/{index-Byar3h1e.d.ts → index-D05JGsT3.d.ts} +6 -3
  339. package/dist/{index-hCpxKePE.d.ts → index-D5N9ikrS.d.ts} +1 -1
  340. package/dist/{index-CkKPMIeX.d.ts → index-D7XRtUTY.d.ts} +9 -0
  341. package/dist/{index-i0tNFWfz.d.ts → index-D8lv2BiD.d.ts} +3 -1
  342. package/dist/{index-TntQsADQ.d.ts → index-DEm3kRBO.d.ts} +4 -3
  343. package/dist/{index-0QGtSf3r.d.ts → index-DFLPv9io.d.ts} +4 -3
  344. package/dist/{index-C2nbK2AA.d.ts → index-DLAG3m9W.d.ts} +13 -3
  345. package/dist/{index-D41_xqjs.d.ts → index-DTuhnqHb.d.ts} +16 -9
  346. package/dist/{index-B3Fomy15.d.ts → index-DbiZvj1P.d.ts} +4 -4
  347. package/dist/{index-C5e-7Obr.d.ts → index-Dj1_1t3j.d.ts} +19 -6
  348. package/dist/{index-DIXAzTKL.d.ts → index-DxxudRgB.d.ts} +1 -1
  349. package/dist/{index-BhpAUzUr.d.ts → index-Dy746dfn.d.ts} +1 -1
  350. package/dist/{index-GI9xIV9l.d.ts → index-JL4auphT.d.ts} +2 -2
  351. package/dist/{index-DVmgNb78.d.ts → index-TA1zVibb.d.ts} +4 -4
  352. package/dist/{index-DUaLJO7l.d.ts → index-UA93Im7H.d.ts} +155 -109
  353. package/dist/{index-COgrQZIL.d.ts → index-YKCx03zD.d.ts} +2 -2
  354. package/dist/{index-XuAAcYiP.d.ts → index-f3d9cVtj.d.ts} +1 -1
  355. package/dist/{index-T2FOcOuI.d.ts → index-jOwU3YoR.d.ts} +400 -90
  356. package/dist/{index-CICeEoZV.d.ts → index-pNtfr-RW.d.ts} +1 -1
  357. package/dist/{index-B4OOtNP8.d.ts → index-pYh4gqgl.d.ts} +1 -1
  358. package/dist/index.d.ts +81 -75
  359. package/dist/index.js +150 -136
  360. package/dist/inlineSize-BNe8wggI.js +66 -0
  361. package/dist/inputPresentation-BOyHkCDr.js +62 -0
  362. package/dist/interactionModality-ACpTMhak.js +44 -0
  363. package/dist/isApplePlatform-B1ju6F5B.js +27 -0
  364. package/dist/isRenderable-BnKHIqfd.js +21 -0
  365. package/dist/layerDepth-CNDh-IHb.js +181 -0
  366. package/dist/link-DuuA2eCL.js +30 -0
  367. package/dist/loadCatalog-CsZFr9dg.js +424 -0
  368. package/dist/loadCatalog-opk5hs94.d.ts +803 -0
  369. package/dist/locale/index.d.ts +2 -2
  370. package/dist/locale/index.js +4 -3
  371. package/dist/locale-D1Z3K290.js +343 -0
  372. package/dist/modalOutlet-CUOcrhIu.js +56 -0
  373. package/dist/optionAction-Cg7xQLUA.d.ts +6 -0
  374. package/dist/{power-search-DrDfcoL1.d.ts → power-search-gHLIYXs5.d.ts} +2 -0
  375. package/dist/protocol-DHxY0NI8.js +113 -0
  376. package/dist/protocol-DwUmpC5G.d.ts +240 -0
  377. package/dist/publicParser-B6XMcsB2.d.ts +141 -0
  378. package/dist/publicParser-DWUMCx7j.js +1437 -0
  379. package/dist/resizableChannel-3vivrEcT.js +20 -0
  380. package/dist/safeUrl-CsvfcZ9m.js +54 -0
  381. package/dist/scopedProvide-C-Df7c15.js +30 -0
  382. package/dist/scrollKeyboardDelegation-D7cumnOl.js +238 -0
  383. package/dist/scrollLock-C3aT4-0z.js +102 -0
  384. package/dist/{searchResultMessage-hXXNOFJP.js → searchResultMessage-DtyScdZs.js} +5 -14
  385. package/dist/{semantic-CKH9XVqa.d.ts → semantic-BF_AjLvk.d.ts} +6 -3
  386. package/dist/slug-DAK6hdbr.js +17 -0
  387. package/dist/syntaxContext-DmIfNNtb.js +4 -0
  388. package/dist/triggerVariant-BsL8jMHs.js +16 -0
  389. package/dist/{types-0Q_SJv_F.d.ts → types-Bb7OGivY.d.ts} +6 -1
  390. package/dist/{types-CwyibrRB.d.ts → types-C5GQ2KCK.d.ts} +23 -3
  391. package/dist/{types-gKsEkk2g.d.ts → types-CsqwQkf1.d.ts} +143 -10
  392. package/dist/upstreamMap-ocuIRfI2.js +893 -0
  393. package/dist/{useAnchoredListbox-DwztMNjP.js → useAnchoredListbox-DGxxKHZb.js} +2 -2
  394. package/dist/{useAsyncSource-xpQovjV_.d.ts → useAsyncSource-aGzrvRkI.d.ts} +3 -0
  395. package/dist/{useClickableContainer-DyNpnSEa.js → useClickableContainer-CdGp_Cev.js} +1 -1
  396. package/dist/{useClipboard-BDfbEsWd.js → useClipboard-Dk8cS810.js} +1 -1
  397. package/dist/useHoverLayerDismiss-kYJ_NqL4.js +27 -0
  398. package/dist/{useIndicator-i1NORM7W.js → useIndicator-D9Y0dJsm.js} +5 -23
  399. package/dist/{useInputContainer-CpgDe2-4.js → useInputContainer-CLcYrby4.js} +1 -1
  400. package/dist/{useInputStatusIcon-DBOwxV4x.js → useInputStatusIcon-CWkCeMyX.js} +2 -2
  401. package/dist/useLayerMountTarget-BmZyeKWE.js +156 -0
  402. package/dist/{useListFocus-D0iOJl39.js → useListFocus-ChxLg0b4.js} +3 -2
  403. package/dist/{useMenuDrillIn-DzKGkTho.js → useMenuDrillIn-DhUnPvKs.js} +6 -5
  404. package/dist/useMenuHover-Djreu23i.js +170 -0
  405. package/dist/useMenuPress-8foxY8z4.js +764 -0
  406. package/dist/{useMergedRefs-CfHHlCsn.js → useMergedRefs-Cb6_w93m.js} +24 -4
  407. package/dist/{useNumberField-4-dIGVed.js → useNumberField-Dk1BE3-K.js} +3 -3
  408. package/dist/useOptionActionGrid-CkJcuvaU.js +97 -0
  409. package/dist/{usePositionedLayer-Cru9_00b.js → usePositionedLayer-B7cvG-_v.js} +43 -49
  410. package/dist/usePressFeedback-BJCpjEpv.js +319 -0
  411. package/dist/{useResizable-DDwPpPe6.d.ts → useResizable-1MHPNaRD.d.ts} +19 -1
  412. package/dist/{useResizable-B3ahKLoZ.js → useResizable-I3BCiLSL.js} +72 -40
  413. package/dist/useResolvedLabelHidden-B2rlWiaI.js +30 -0
  414. package/dist/{useRestoreFocus-Djw9RUIf.js → useRestoreFocus-XEKs5-gp.js} +49 -7
  415. package/dist/useScrollOverflow-DuMoGXmm.js +67 -0
  416. package/dist/useScrollableArea-BE8b3qm7.js +222 -0
  417. package/dist/{useTimeValue-6ufHM15W.js → useTimeValue-BJd0xBhG.js} +4 -22
  418. package/dist/useTranslator-PEXMxDpv.js +35 -0
  419. package/dist/{useTypeahead-PAK8lMYz.js → useTypeahead-BvtflkRk.js} +4 -5
  420. package/dist/utils/index.d.ts +3 -0
  421. package/dist/utils/index.js +5 -0
  422. package/dist/{utils-D33VQDnk.js → utils-ClVseK2w.js} +29 -2
  423. package/dist/utils-z3Q6BGIJ.js +819 -0
  424. package/locales/SOURCE.json +1 -1
  425. package/package.json +18 -2
  426. package/reset.css +364 -1
  427. package/styles/avatar-group.css +9 -1
  428. package/styles/badge.css +8 -5
  429. package/styles/banner.css +125 -26
  430. package/styles/blockquote.css +1 -0
  431. package/styles/bordered-control.css +1 -1
  432. package/styles/bottom-sheet.css +74 -6
  433. package/styles/breadcrumbs.css +16 -2
  434. package/styles/button-group.css +3 -1
  435. package/styles/button.css +53 -11
  436. package/styles/card.css +1 -1
  437. package/styles/chat.css +16 -6
  438. package/styles/checkbox-input.css +10 -0
  439. package/styles/clickable-card.css +10 -3
  440. package/styles/collapsible.css +12 -5
  441. package/styles/command-palette.css +29 -14
  442. package/styles/complex-selector.css +24 -5
  443. package/styles/context-menu.css +3 -3
  444. package/styles/date-input.css +111 -1
  445. package/styles/dialog-header.css +4 -1
  446. package/styles/dialog.css +7 -0
  447. package/styles/dropdown-menu.css +12 -3
  448. package/styles/field.css +5 -0
  449. package/styles/form-layout.css +1 -0
  450. package/styles/heading.css +18 -8
  451. package/styles/icon.css +9 -9
  452. package/styles/kbd.css +1 -1
  453. package/styles/layer.css +72 -0
  454. package/styles/list.css +9 -2
  455. package/styles/metadata-list.css +1 -0
  456. package/styles/mobile-nav.css +4 -1
  457. package/styles/multi-selector.css +48 -1
  458. package/styles/nav-item.css +9 -2
  459. package/styles/nav-menu.css +12 -2
  460. package/styles/number-input.css +9 -1
  461. package/styles/overflow-list.css +1 -1
  462. package/styles/popover.css +2 -1
  463. package/styles/power-search.css +5 -3
  464. package/styles/pressable.css +63 -22
  465. package/styles/progress-bar.css +15 -3
  466. package/styles/radio.css +16 -0
  467. package/styles/resize-handle.css +42 -0
  468. package/styles/segmented-control.css +12 -4
  469. package/styles/selector.css +53 -1
  470. package/styles/side-nav.css +19 -0
  471. package/styles/slider.css +4 -3
  472. package/styles/spinner.css +48 -42
  473. package/styles/stepper.css +58 -4
  474. package/styles/switch.css +26 -0
  475. package/styles/tab-list.css +132 -3
  476. package/styles/table.css +88 -11
  477. package/styles/text-area.css +7 -1
  478. package/styles/text-input.css +1 -1
  479. package/styles/text.css +6 -6
  480. package/styles/thumbnail.css +11 -3
  481. package/styles/time-input.css +8 -0
  482. package/styles/toast.css +37 -3
  483. package/styles/token.css +2 -2
  484. package/styles/tokenizer.css +1 -1
  485. package/styles/toolbar.css +4 -1
  486. package/styles/tree-list.css +1 -1
  487. package/styles/typeahead.css +34 -1
  488. package/styles.css +1 -0
  489. package/dist/Blockquote-DFqBv_oJ.js +0 -18
  490. package/dist/Breadcrumbs-DIm4figq.js +0 -141
  491. package/dist/ButtonGroup-ySQWanDP.js +0 -125
  492. package/dist/DateTimeInput-A7m2O3bg.js +0 -268
  493. package/dist/FieldIcon--NTgW5IU.js +0 -44
  494. package/dist/MultiSelector-BtAUfQ3t.js +0 -990
  495. package/dist/NumberInput-AZ9x3oja.js +0 -473
  496. package/dist/Selector-DJ2BhUTV.js +0 -677
  497. package/dist/Spinner-9cYUCnDy.js +0 -84
  498. package/dist/Theme-CtaUWo4g.js +0 -1246
  499. package/dist/Toast-BuqIZV5z.js +0 -322
  500. package/dist/context-4PuqD1Ic.js +0 -4
  501. package/dist/context-D5-MwxnN.js +0 -4
  502. package/dist/context-iABt_ueM.js +0 -976
  503. package/dist/index-BH9PzQ1F.d.ts +0 -87
  504. package/dist/link-C4_WogdF.js +0 -18
  505. package/dist/loadCatalog-BGHKG_9N.d.ts +0 -457
  506. package/dist/loadCatalog-CXKqEB9s.js +0 -877
  507. package/dist/locale-DgkZEMTn.js +0 -105
  508. package/dist/platform-B_9W_aHW.js +0 -33
  509. package/dist/scrollLock-BzIvIimL.js +0 -42
  510. package/dist/useMenuPress-D-FRNrBW.js +0 -573
  511. package/dist/useScrollableArea-DDk_CluT.js +0 -172
  512. /package/dist/{index-lgvUFSCO.d.ts → index-CryFtTT6.d.ts} +0 -0
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main, t as useImperativeAlertDialog } from "../AlertDialog-RAVA_cT1.js";
1
+ import { n as _sfc_main, t as useImperativeAlertDialog } from "../AlertDialog-C2inDZWG.js";
2
2
  export { _sfc_main as AlertDialog, useImperativeAlertDialog };
@@ -1,10 +1,10 @@
1
- import { t as _sfc_main$1 } from "./Button-B6Hj_O_s.js";
1
+ import { t as _sfc_main$1 } from "./Button-ONOoHdkg.js";
2
2
  import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
3
- import { t as _sfc_main$2 } from "./Dialog-FGHfDu5M.js";
4
- import { t as _sfc_main$3 } from "./Heading-BnwWEWkp.js";
3
+ import { t as _sfc_main$2 } from "./Dialog-fhyxB00e.js";
4
+ import { t as _sfc_main$3 } from "./Heading-BzBunfN7.js";
5
5
  import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
6
- import { t as _sfc_main$4 } from "./Stack-kQlYbbL4.js";
7
- import { t as _sfc_main$5 } from "./Text-CV3LmscH.js";
6
+ import { t as _sfc_main$4 } from "./Stack-Bp-XN9J4.js";
7
+ import { t as _sfc_main$5 } from "./Text-CmTOgYXf.js";
8
8
  import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, h, mergeProps, normalizeClass, openBlock, provide, ref, renderList, renderSlot, shallowRef, toDisplayString, unref, useId, useTemplateRef, withCtx } from "vue";
9
9
  import "../styles/alert-dialog.css";
10
10
  //#region src/AlertDialog/context.ts
@@ -1,2 +1,2 @@
1
- import { a as AppShellMobileNav, c as AppShellVariant, i as AppShellHeight, n as AppShellBreakpoint, o as AppShellProps, r as AppShellEmits, s as AppShellSlots, t as _default } from "../index-TXcNH86P.js";
1
+ import { a as AppShellMobileNav, c as AppShellVariant, i as AppShellHeight, n as AppShellBreakpoint, o as AppShellProps, r as AppShellEmits, s as AppShellSlots, t as _default } from "../index-B1eCxBCY.js";
2
2
  export { _default as AppShell, type AppShellBreakpoint, type AppShellEmits, type AppShellHeight, type AppShellMobileNav, type AppShellProps, type AppShellSlots, type AppShellVariant };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../AppShell-0wTvOo3H.js";
1
+ import { t as _sfc_main } from "../AppShell-awAKicsc.js";
2
2
  export { _sfc_main as AppShell };
@@ -1,7 +1,7 @@
1
1
  import { t as appShellMobileKey } from "./useAppShellMobile-DTsyuAJ4.js";
2
- import { o as useAstryxMessages } from "./context-iABt_ueM.js";
3
- import { a as _sfc_main$2, n as _sfc_main$4, r as _sfc_main$3, t as _sfc_main$5 } from "./LayoutPanel-DXOsaeQb.js";
4
- import { n as _sfc_main$7, t as _sfc_main$6 } from "./MobileNavToggle-DxGz0xKA.js";
2
+ import { s as useAstryxMessages } from "./context-CM-cjGg_.js";
3
+ import { a as _sfc_main$2, n as _sfc_main$4, r as _sfc_main$3, t as _sfc_main$5 } from "./LayoutPanel-zM5vjrKS.js";
4
+ import { n as _sfc_main$7, t as _sfc_main$6 } from "./MobileNavToggle-DgJYyzT6.js";
5
5
  import { n as sideNavRenderModeKey } from "./context-BjNya0v8.js";
6
6
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeModels, mergeProps, openBlock, provide, reactive, ref, renderSlot, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
7
7
  import "../styles/app-shell.css";
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main, t as _sfc_main$1 } from "../Avatar-pPZ4dI_s.js";
1
+ import { n as _sfc_main, t as _sfc_main$1 } from "../Avatar-DXBjJ88C.js";
2
2
  export { _sfc_main as Avatar, _sfc_main$1 as AvatarStatusDot };
@@ -1,7 +1,10 @@
1
+ import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
2
+ import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
1
3
  import { n as useLinkComponent } from "./context-C_peZbXf.js";
2
- import { o as useAstryxMessages } from "./context-iABt_ueM.js";
3
- import { t as _sfc_main$2 } from "./Tooltip-C4Vaqd3G.js";
4
- import { a as AvatarGroupContext, i as resolveStatusDotVariant, n as resolveSize, r as resolveStatusDotMetrics, t as composeAccessibleName } from "./utils-D33VQDnk.js";
4
+ import { n as useDevWarning } from "./useDevWarning-DznOpOHT.js";
5
+ import { s as useAstryxMessages } from "./context-CM-cjGg_.js";
6
+ import { t as _sfc_main$2 } from "./Tooltip-sAM8i1eO.js";
7
+ import { a as resolveStatusDotVariant, i as resolveStatusDotMetrics, n as getInitials, o as AvatarGroupContext, r as resolveSize, t as composeAccessibleName } from "./utils-ClVseK2w.js";
5
8
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, mergeProps, normalizeStyle, onUnmounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, useSlots, watch, withCtx } from "vue";
6
9
  import "../styles/avatar.css";
7
10
  //#region src/Avatar/context.ts
@@ -11,7 +14,7 @@ import "../styles/avatar.css";
11
14
  *
12
15
  * 没有住在任何头像里时取默认的 36,和默认尺寸 `md` 一致。
13
16
  */
14
- const AvatarSizeContext = Symbol("AvatarSizeContext");
17
+ const AvatarSizeContext = defineLayerScopedKey("AvatarSizeContext", null);
15
18
  /**
16
19
  * 状态元素往外层头像报自己读屏名字的入口。
17
20
  *
@@ -69,7 +72,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
69
72
  const attrs = useAttrs();
70
73
  const erroredSrc = ref(void 0);
71
74
  const erroredFallbackSrc = ref(void 0);
72
- const avatarGroup = inject(AvatarGroupContext, void 0);
75
+ const avatarGroup = readLayerScoped(AvatarGroupContext);
73
76
  const resolvedSize = computed(() => avatarGroup?.size.value ?? props.size);
74
77
  const resolvedShape = computed(() => avatarGroup?.shape.value ?? props.shape);
75
78
  const numericSize = computed(() => resolveSize(resolvedSize.value));
@@ -78,13 +81,6 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
78
81
  /** 状态插槽里的圆点把读屏名字写在这里,下面会拼进头像自己的名字。 */
79
82
  const statusLabel = ref(void 0);
80
83
  provide(AvatarStatusLabelContext, statusLabel);
81
- const groupStyle = computed(() => {
82
- if (!avatarGroup) return {};
83
- return {
84
- marginInlineStart: `${-avatarGroup.overlap.value}px`,
85
- borderWidth: "2px"
86
- };
87
- });
88
84
  const rootStyle = computed(() => ({
89
85
  width: `${numericSize.value}px`,
90
86
  height: `${numericSize.value}px`
@@ -97,18 +93,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
97
93
  const meaningfulAlt = computed(() => {
98
94
  return typeof props.alt === "string" && props.alt.trim() !== "" ? props.alt.trim() : void 0;
99
95
  });
100
- const initials = computed(() => {
101
- if (!meaningfulName.value) return "";
102
- const words = meaningfulName.value.split(/\s+/);
103
- const first = words.at(0);
104
- const last = words.length > 1 ? words.at(-1) : void 0;
105
- const initial = (word) => {
106
- if (!word) return "";
107
- const match = word.match(/[\p{L}\p{N}]/u);
108
- return match ? match[0].toUpperCase() : "";
109
- };
110
- return `${initial(first)}${initial(last)}`;
111
- });
96
+ const initials = computed(() => meaningfulName.value ? getInitials(meaningfulName.value) : "");
112
97
  const showInitials = computed(() => !showImage.value && !showFallbackImage.value && initials.value !== "");
113
98
  const showIcon = computed(() => !showImage.value && !showFallbackImage.value && initials.value === "");
114
99
  const messages = useAstryxMessages();
@@ -117,16 +102,26 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
117
102
  const status = typeof label === "string" && label.trim() !== "" ? label.trim() : void 0;
118
103
  return composeAccessibleName(meaningfulAlt.value || meaningfulName.value, status, messages.value.nav.avatarNameWithStatus);
119
104
  });
105
+ const safeHref = computed(() => {
106
+ const href = props.href;
107
+ return href != null && href !== "" && isSafeUrl(href) ? href : void 0;
108
+ });
120
109
  const isLink = computed(() => props.href != null && props.href !== "");
121
110
  const isButton = computed(() => !isLink.value && attrs.onClick != null);
122
111
  const isInteractive = computed(() => isLink.value || isButton.value);
123
- /** 自己的 `as` 优先,其次是 LinkProvider 给的默认链接组件。 */
112
+ /** 自己的 `as` 优先,其次是 LinkProvider 给的默认链接组件。危险协议不用它。 */
124
113
  const customLink = computed(() => props.as ?? linkComponent.value);
125
- const isCustomLink = computed(() => isLink.value && customLink.value != null);
114
+ const isCustomLink = computed(() => safeHref.value != null && customLink.value != null);
126
115
  const rootTag = computed(() => {
127
- if (isLink.value) return customLink.value == null ? "a" : toRaw(customLink.value);
116
+ if (isLink.value) return isCustomLink.value ? toRaw(customLink.value) : "a";
128
117
  return isButton.value ? "button" : "span";
129
118
  });
119
+ const consumerHasName = computed(() => {
120
+ const label = attrs["aria-label"];
121
+ const labelledBy = attrs["aria-labelledby"];
122
+ return typeof label === "string" && label.trim() !== "" || typeof labelledBy === "string" && labelledBy.trim() !== "";
123
+ });
124
+ useDevWarning("Avatar", "an interactive avatar (with `href` or `onClick`) needs a meaningful accessible name. Pass `alt` or `name`.", () => isInteractive.value && meaningfulAlt.value == null && meaningfulName.value == null && !consumerHasName.value);
130
125
  const linkRel = computed(() => {
131
126
  const parts = new Set((props.rel ?? "").split(/\s+/).filter(Boolean));
132
127
  if (props.target === "_blank") {
@@ -160,10 +155,10 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
160
155
  ...attrs
161
156
  };
162
157
  if (isLink.value) {
163
- bindings.href = props.href;
158
+ bindings.href = safeHref.value;
164
159
  bindings.target = props.target;
165
160
  bindings.rel = linkRel.value;
166
- if (isCustomLink.value) bindings.to = props.href;
161
+ if (isCustomLink.value) bindings.to = safeHref.value;
167
162
  }
168
163
  if (isButton.value) bindings.type = attrs.type ?? "button";
169
164
  if (!isInteractive.value && tooltipText.value != null && bindings.tabindex == null && bindings.tabIndex == null) bindings.tabindex = 0;
@@ -186,7 +181,10 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
186
181
  "astryx-avatar--group-item": unref(avatarGroup),
187
182
  "astryx-avatar--interactive": isInteractive.value
188
183
  }]],
189
- style: [rootStyle.value, groupStyle.value]
184
+ style: rootStyle.value,
185
+ "data-size": resolvedSize.value,
186
+ "data-shape": resolvedShape.value,
187
+ "data-avatar-item": isInteractive.value ? "" : void 0
190
188
  }, rootBindings.value), {
191
189
  default: withCtx(() => [createElementVNode("span", _hoisted_1$1, [showImage.value ? (openBlock(), createElementBlock("img", {
192
190
  key: 0,
@@ -214,7 +212,13 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
214
212
  "aria-hidden": "true"
215
213
  }, [createElementVNode("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" })], -1))])], 4)) : createCommentVNode("v-if", true)]), _ctx.$slots.status ? (openBlock(), createElementBlock("span", _hoisted_4$1, [renderSlot(_ctx.$slots, "status")])) : createCommentVNode("v-if", true)]),
216
214
  _: 3
217
- }, 16, ["class", "style"]))]),
215
+ }, 16, [
216
+ "class",
217
+ "style",
218
+ "data-size",
219
+ "data-shape",
220
+ "data-avatar-item"
221
+ ]))]),
218
222
  _: 3
219
223
  }, 8, ["content"])) : (openBlock(), createBlock(resolveDynamicComponent(rootTag.value), mergeProps({
220
224
  key: 1,
@@ -222,7 +226,10 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
222
226
  "astryx-avatar--group-item": unref(avatarGroup),
223
227
  "astryx-avatar--interactive": isInteractive.value
224
228
  }]],
225
- style: [rootStyle.value, groupStyle.value]
229
+ style: rootStyle.value,
230
+ "data-size": resolvedSize.value,
231
+ "data-shape": resolvedShape.value,
232
+ "data-avatar-item": isInteractive.value ? "" : void 0
226
233
  }, rootBindings.value), {
227
234
  default: withCtx(() => [createElementVNode("span", _hoisted_5, [showImage.value ? (openBlock(), createElementBlock("img", {
228
235
  key: 0,
@@ -250,7 +257,13 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
250
257
  "aria-hidden": "true"
251
258
  }, [createElementVNode("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" })], -1))])], 4)) : createCommentVNode("v-if", true)]), _ctx.$slots.status ? (openBlock(), createElementBlock("span", _hoisted_8, [renderSlot(_ctx.$slots, "status")])) : createCommentVNode("v-if", true)]),
252
259
  _: 3
253
- }, 16, ["class", "style"]));
260
+ }, 16, [
261
+ "class",
262
+ "style",
263
+ "data-size",
264
+ "data-shape",
265
+ "data-avatar-item"
266
+ ]));
254
267
  };
255
268
  }
256
269
  });
@@ -292,7 +305,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
292
305
  const props = __props;
293
306
  const slots = useSlots();
294
307
  /** 头像没给尺寸时按默认的 `md`(36px)算,单独放着用也是这个尺寸。 */
295
- const avatarSize = inject(AvatarSizeContext, null);
308
+ const avatarSize = readLayerScoped(AvatarSizeContext);
296
309
  const statusLabel = inject(AvatarStatusLabelContext, null);
297
310
  /**
298
311
  * 把状态名字交给外层头像,由它拼进自己的无障碍名称(`Jane Doe, Online`)。
@@ -1,2 +1,2 @@
1
- import { a as AvatarGroupOverflowSlots, i as AvatarGroupOverflowProps, n as _default, o as AvatarGroupProps, r as AvatarGroupOverflowEmits, t as _default$1 } from "../index-DUaLJO7l.js";
1
+ import { a as AvatarGroupOverflowSlots, i as AvatarGroupOverflowProps, n as _default, o as AvatarGroupProps, r as AvatarGroupOverflowEmits, t as _default$1 } from "../index-UA93Im7H.js";
2
2
  export { _default as AvatarGroup, _default$1 as AvatarGroupOverflow, type AvatarGroupOverflowEmits, type AvatarGroupOverflowProps, type AvatarGroupOverflowSlots, type AvatarGroupProps };
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main, t as _sfc_main$1 } from "../AvatarGroup-B--NQSB3.js";
1
+ import { n as _sfc_main, t as _sfc_main$1 } from "../AvatarGroup-kpAeKLNq.js";
2
2
  export { _sfc_main as AvatarGroup, _sfc_main$1 as AvatarGroupOverflow };
@@ -1,9 +1,18 @@
1
- import { o as useAstryxMessages } from "./context-iABt_ueM.js";
2
- import { a as AvatarGroupContext, n as resolveSize } from "./utils-D33VQDnk.js";
3
- import { computed, createBlock, createElementBlock, createTextVNode, defineComponent, getCurrentInstance, inject, normalizeClass, normalizeStyle, openBlock, provide, renderSlot, resolveDynamicComponent, toDisplayString, withCtx } from "vue";
1
+ import { t as usePressFeedback } from "./usePressFeedback-BJCpjEpv.js";
2
+ import { n as readLayerScoped } from "./scopedProvide-C-Df7c15.js";
3
+ import { t as _sfc_main$2 } from "./VisuallyHidden-C7NN3VEP.js";
4
+ import { s as useAstryxMessages } from "./context-CM-cjGg_.js";
5
+ import { t as useListFocus } from "./useListFocus-ChxLg0b4.js";
6
+ import { o as AvatarGroupContext, r as resolveSize } from "./utils-ClVseK2w.js";
7
+ import { computed, createBlock, createCommentVNode, createElementBlock, createTextVNode, defineComponent, getCurrentInstance, mergeProps, normalizeStyle, onMounted, onUpdated, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, withCtx } from "vue";
4
8
  import "../styles/avatar-group.css";
5
9
  //#region src/AvatarGroup/AvatarGroup.vue
6
- const _hoisted_1 = ["aria-label"];
10
+ const _hoisted_1 = [
11
+ "aria-label",
12
+ "aria-describedby",
13
+ "data-size",
14
+ "data-shape"
15
+ ];
7
16
  const OVERLAP_RATIO = .25;
8
17
  const _sfc_main$1 = /*@__PURE__*/ defineComponent({
9
18
  __name: "AvatarGroup",
@@ -16,17 +25,45 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
16
25
  const props = __props;
17
26
  const numericSize = computed(() => resolveSize(props.size));
18
27
  const overlap = computed(() => Math.round(numericSize.value * OVERLAP_RATIO));
28
+ const messages = useAstryxMessages();
29
+ const hintId = `astryx-avatar-group-hint-${useId()}`;
30
+ const hasInteractive = ref(false);
19
31
  provide(AvatarGroupContext, {
20
32
  size: computed(() => props.size),
21
33
  shape: computed(() => props.shape),
22
34
  overlap
23
35
  });
36
+ const { listRef, handleKeyDown, handleFocus } = useListFocus({
37
+ itemSelector: "[data-avatar-item]",
38
+ orientation: "horizontal",
39
+ hasRovingTabIndex: true
40
+ });
41
+ const rootStyle = computed(() => ({ "--astryx-avatar-group-overlap": `${-overlap.value}px` }));
42
+ function syncInteractive() {
43
+ hasInteractive.value = listRef.value?.querySelector("[data-avatar-item]") != null;
44
+ }
45
+ onMounted(syncInteractive);
46
+ onUpdated(syncInteractive);
24
47
  return (_ctx, _cache) => {
25
48
  return openBlock(), createElementBlock("div", {
49
+ ref_key: "listRef",
50
+ ref: listRef,
26
51
  class: "astryx-avatar-group",
27
52
  role: "group",
28
- "aria-label": __props.label
29
- }, [renderSlot(_ctx.$slots, "default")], 8, _hoisted_1);
53
+ "aria-label": __props.label,
54
+ "aria-describedby": hasInteractive.value ? hintId : void 0,
55
+ "data-size": __props.size,
56
+ "data-shape": __props.shape,
57
+ style: normalizeStyle(rootStyle.value),
58
+ onFocusin: _cache[0] || (_cache[0] = (...args) => unref(handleFocus) && unref(handleFocus)(...args)),
59
+ onKeydown: _cache[1] || (_cache[1] = ($event) => hasInteractive.value ? unref(handleKeyDown)($event) : void 0)
60
+ }, [renderSlot(_ctx.$slots, "default"), hasInteractive.value ? (openBlock(), createBlock(_sfc_main$2, {
61
+ key: 0,
62
+ id: hintId
63
+ }, {
64
+ default: withCtx(() => [createTextVNode(toDisplayString(unref(messages).avatarGroup.keyboardHint), 1)]),
65
+ _: 1
66
+ })) : createCommentVNode("v-if", true)], 44, _hoisted_1);
30
67
  };
31
68
  }
32
69
  });
@@ -47,7 +84,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
47
84
  const emit = __emit;
48
85
  const instance = getCurrentInstance();
49
86
  const messages = useAstryxMessages();
50
- const avatarGroup = inject(AvatarGroupContext, void 0);
87
+ const press = usePressFeedback();
88
+ const avatarGroup = readLayerScoped(AvatarGroupContext);
51
89
  const size = computed(() => avatarGroup?.size.value ?? "md");
52
90
  const shape = computed(() => avatarGroup?.shape.value ?? "circle");
53
91
  const numericSize = computed(() => resolveSize(size.value));
@@ -70,23 +108,29 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
70
108
  const rootStyle = computed(() => ({
71
109
  "minWidth": `${numericSize.value + 4}px`,
72
110
  "height": `${numericSize.value + 4}px`,
73
- "marginInlineStart": `${-(avatarGroup?.overlap.value ?? 0)}px`,
74
111
  "--astryx-avatar-group-overflow-computed-font-size": `max(var(--astryx-text-supporting-size, 0.75rem), ${Math.round(numericSize.value * OVERFLOW_FONT_RATIO * 100) / 100}px)`
75
112
  }));
113
+ const pressBindings = computed(() => isInteractive.value ? press.pressableProps : {});
76
114
  return (_ctx, _cache) => {
77
- return openBlock(), createBlock(resolveDynamicComponent(isInteractive.value ? "button" : "span"), {
78
- class: normalizeClass(["astryx-avatar-group-overflow", [`astryx-avatar-group-overflow--${shape.value}`, { "astryx-avatar-group-overflow--interactive": isInteractive.value }]]),
79
- style: normalizeStyle(rootStyle.value),
115
+ return openBlock(), createBlock(resolveDynamicComponent(isInteractive.value ? "button" : "span"), mergeProps(pressBindings.value, {
116
+ class: ["astryx-avatar-group-overflow", [`astryx-avatar-group-overflow--${shape.value}`, { "astryx-avatar-group-overflow--interactive": isInteractive.value }]],
117
+ style: rootStyle.value,
118
+ "data-size": size.value,
119
+ "data-shape": shape.value,
120
+ "data-avatar-item": isInteractive.value ? "" : void 0,
80
121
  type: isInteractive.value ? "button" : void 0,
81
122
  "aria-label": accessibleName.value,
82
123
  role: isInteractive.value ? void 0 : "img",
83
124
  onClick: _cache[0] || (_cache[0] = ($event) => emit("click", $event))
84
- }, {
125
+ }), {
85
126
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(`+${safeCount.value}`), 1)])]),
86
127
  _: 3
87
- }, 8, [
128
+ }, 16, [
88
129
  "class",
89
130
  "style",
131
+ "data-size",
132
+ "data-shape",
133
+ "data-avatar-item",
90
134
  "type",
91
135
  "aria-label",
92
136
  "role"
@@ -1,2 +1,2 @@
1
- import { Ga as BannerContainer, Ja as BannerSlots, Ka as BannerEmits, Wa as _default, Ya as BannerStatus, qa as BannerProps } from "../index-DUaLJO7l.js";
1
+ import { Ga as _default, Ja as BannerProps, Ka as BannerContainer, Xa as BannerStatus, Ya as BannerSlots, qa as BannerEmits } from "../index-UA93Im7H.js";
2
2
  export { _default as Banner, type BannerContainer, type BannerEmits, type BannerProps, type BannerSlots, type BannerStatus };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Banner-GbGxrqQO.js";
1
+ import { t as _sfc_main } from "../Banner-BdvuyzAe.js";
2
2
  export { _sfc_main as Banner };
@@ -1,21 +1,22 @@
1
- import { t as _sfc_main$1 } from "./FieldIcon--NTgW5IU.js";
2
- import { t as _sfc_main$2 } from "./IconButton-DDNgNl7B.js";
1
+ import { t as _sfc_main$1 } from "./FieldIcon-BFSHZEs_.js";
2
+ import { t as _sfc_main$2 } from "./IconButton-DI-XBbtV.js";
3
+ import { s as useAstryxMessages } from "./context-CM-cjGg_.js";
4
+ import { t as isRenderable } from "./isRenderable-BnKHIqfd.js";
3
5
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
4
6
  import "../styles/banner.css";
5
7
  import "../styles/field.css";
6
8
  //#region src/Banner/Banner.vue
7
9
  const _hoisted_1 = [
8
- "role",
9
- "data-status",
10
10
  "data-container",
11
11
  "data-elevation",
12
12
  "data-expanded"
13
13
  ];
14
- const _hoisted_2 = { class: "astryx-banner-header" };
15
- const _hoisted_3 = {
16
- class: "astryx-banner-icon",
17
- "aria-hidden": "true"
18
- };
14
+ const _hoisted_2 = [
15
+ "data-centered",
16
+ "data-container",
17
+ "data-status"
18
+ ];
19
+ const _hoisted_3 = ["data-status"];
19
20
  const _hoisted_4 = ["data-has-actions"];
20
21
  const _hoisted_5 = {
21
22
  key: 0,
@@ -26,6 +27,11 @@ const _hoisted_6 = {
26
27
  class: "astryx-banner-actions"
27
28
  };
28
29
  const _hoisted_7 = ["data-expanded"];
30
+ const _hoisted_8 = [
31
+ "id",
32
+ "data-container",
33
+ "data-status"
34
+ ];
29
35
  const _sfc_main = /*@__PURE__*/ defineComponent({
30
36
  name: "AstryxBanner",
31
37
  __name: "Banner",
@@ -36,18 +42,15 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
36
42
  icon: {},
37
43
  isDismissable: { type: Boolean },
38
44
  dismissLabel: {},
39
- expandLabel: { default: "Expand details" },
40
- collapseLabel: { default: "Collapse details" },
45
+ expandLabel: {},
46
+ collapseLabel: {},
41
47
  container: { default: "card" },
42
48
  elevation: { default: "none" },
43
49
  collapsible: {
44
50
  type: Boolean,
45
51
  default: true
46
52
  },
47
- defaultIsOpen: {
48
- type: Boolean,
49
- default: false
50
- }
53
+ defaultIsOpen: { type: Boolean }
51
54
  }, {
52
55
  "isOpen": {
53
56
  type: Boolean,
@@ -60,11 +63,14 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
60
63
  const props = __props;
61
64
  const emit = __emit;
62
65
  const slots = useSlots();
66
+ const messages = useAstryxMessages();
63
67
  const openModel = useModel(__props, "isOpen");
64
- const localOpen = shallowRef(props.defaultIsOpen);
68
+ const localOpen = shallowRef(props.defaultIsOpen ?? false);
65
69
  const dismissed = shallowRef(false);
66
70
  const expanded = computed(() => !props.collapsible || (openModel.value ?? localOpen.value));
67
- const hasContent = computed(() => !!slots.default);
71
+ function hasContent() {
72
+ return isRenderable(slots.default?.());
73
+ }
68
74
  const icon = computed(() => props.icon ? toRaw(props.icon) : void 0);
69
75
  const root = useTemplateRef("root");
70
76
  const content = useTemplateRef("content");
@@ -72,6 +78,22 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
72
78
  const titleId = `astryx-banner-${useId()}`;
73
79
  const contentId = `${titleId}-content`;
74
80
  __expose({ element: computed(() => root.value ?? null) });
81
+ const knownStatuses = /* @__PURE__ */ new Set([
82
+ "info",
83
+ "warning",
84
+ "error",
85
+ "success"
86
+ ]);
87
+ const visualStatus = computed(() => knownStatuses.has(props.status) ? props.status : void 0);
88
+ const expandText = computed(() => props.expandLabel ?? messages.value.banner.expand);
89
+ const collapseText = computed(() => props.collapseLabel ?? messages.value.banner.collapse);
90
+ const dismissTooltip = computed(() => props.dismissLabel ?? messages.value.banner.dismiss);
91
+ const dismissName = computed(() => {
92
+ if (props.dismissLabel) return props.dismissLabel;
93
+ return messages.value.banner.dismissTitled(messages.value.banner.dismiss, props.title);
94
+ });
95
+ const hasEnd = computed(() => !!slots.end);
96
+ const centered = computed(() => !props.description && !slots.description && (hasEnd.value || !!props.isDismissable));
75
97
  let focusOrigin = null;
76
98
  function remember(candidate) {
77
99
  if (candidate instanceof HTMLElement && candidate !== root.value?.ownerDocument.body && !root.value?.contains(candidate)) focusOrigin = candidate;
@@ -100,35 +122,45 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
100
122
  key: 0,
101
123
  ref_key: "root",
102
124
  ref: root,
103
- class: "astryx-banner",
104
- role: __props.status === "warning" || __props.status === "error" ? "alert" : "status",
105
- "data-status": __props.status,
125
+ class: "astryx-banner-frame",
106
126
  "data-container": __props.container,
107
127
  "data-elevation": __props.elevation,
108
- "data-expanded": hasContent.value && expanded.value || void 0,
128
+ "data-expanded": hasContent() && expanded.value || void 0,
109
129
  onFocusin: focusin,
110
130
  onPointerdownCapture: pointerdown
111
- }, [createElementVNode("div", _hoisted_2, [
112
- createElementVNode("span", _hoisted_3, [renderSlot(_ctx.$slots, "icon", {}, () => [icon.value ? (openBlock(), createBlock(resolveDynamicComponent(icon.value), { key: 0 })) : (openBlock(), createBlock(_sfc_main$1, {
131
+ }, [createElementVNode("div", {
132
+ class: "astryx-banner astryx-banner-header",
133
+ "data-centered": centered.value || void 0,
134
+ "data-container": __props.container,
135
+ "data-status": visualStatus.value
136
+ }, [
137
+ createElementVNode("span", {
138
+ class: "astryx-banner-icon",
139
+ "data-status": visualStatus.value,
140
+ "aria-hidden": "true"
141
+ }, [renderSlot(_ctx.$slots, "icon", {}, () => [icon.value ? (openBlock(), createBlock(resolveDynamicComponent(icon.value), { key: 0 })) : visualStatus.value ? (openBlock(), createBlock(_sfc_main$1, {
113
142
  key: 1,
114
- type: __props.status
115
- }, null, 8, ["type"]))])]),
143
+ type: visualStatus.value,
144
+ size: "md",
145
+ color: visualStatus.value === "info" ? "accent" : visualStatus.value
146
+ }, null, 8, ["type", "color"])) : createCommentVNode("v-if", true)])], 8, _hoisted_3),
116
147
  createElementVNode("div", {
117
148
  class: "astryx-banner-message",
118
- "data-has-actions": !!_ctx.$slots.end || void 0
149
+ "data-has-actions": hasEnd.value || void 0
119
150
  }, [createElementVNode("div", {
120
151
  id: titleId,
121
152
  class: "astryx-banner-title"
122
153
  }, [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(__props.title), 1)])]), __props.description || _ctx.$slots.description ? (openBlock(), createElementBlock("div", _hoisted_5, [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(__props.description), 1)])])) : createCommentVNode("v-if", true)], 8, _hoisted_4),
123
- _ctx.$slots.end || __props.isDismissable || hasContent.value && __props.collapsible ? (openBlock(), createElementBlock("div", _hoisted_6, [
154
+ hasEnd.value || __props.isDismissable || hasContent() && __props.collapsible ? (openBlock(), createElementBlock("div", _hoisted_6, [
124
155
  renderSlot(_ctx.$slots, "end"),
125
- hasContent.value && __props.collapsible ? (openBlock(), createBlock(_sfc_main$2, {
156
+ hasContent() && __props.collapsible ? (openBlock(), createBlock(_sfc_main$2, {
126
157
  key: 0,
127
158
  ref_key: "toggleButton",
128
159
  ref: toggleButton,
129
160
  variant: "ghost",
130
161
  size: "sm",
131
- label: expanded.value ? __props.collapseLabel : __props.expandLabel,
162
+ label: expanded.value ? collapseText.value : expandText.value,
163
+ tooltip: expanded.value ? collapseText.value : expandText.value,
132
164
  "aria-expanded": expanded.value,
133
165
  "aria-controls": expanded.value ? contentId : void 0,
134
166
  onClick: toggle
@@ -145,6 +177,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
145
177
  _: 1
146
178
  }, 8, [
147
179
  "label",
180
+ "tooltip",
148
181
  "aria-expanded",
149
182
  "aria-controls"
150
183
  ])) : createCommentVNode("v-if", true),
@@ -152,20 +185,23 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
152
185
  key: 1,
153
186
  variant: "ghost",
154
187
  size: "sm",
155
- label: __props.dismissLabel ?? `Dismiss ${__props.title}`,
188
+ label: dismissName.value,
189
+ tooltip: dismissTooltip.value,
156
190
  onClick: dismiss
157
191
  }, {
158
192
  default: withCtx(() => [createVNode(_sfc_main$1, { type: "clear" })]),
159
193
  _: 1
160
- }, 8, ["label"])) : createCommentVNode("v-if", true)
194
+ }, 8, ["label", "tooltip"])) : createCommentVNode("v-if", true)
161
195
  ])) : createCommentVNode("v-if", true)
162
- ]), hasContent.value && expanded.value ? (openBlock(), createElementBlock("div", {
196
+ ], 8, _hoisted_2), hasContent() && expanded.value ? (openBlock(), createElementBlock("div", {
163
197
  key: 0,
164
- id: contentId,
198
+ id: hasContent() && __props.collapsible ? contentId : void 0,
165
199
  ref_key: "content",
166
200
  ref: content,
167
- class: "astryx-banner-content"
168
- }, [renderSlot(_ctx.$slots, "default")], 512)) : createCommentVNode("v-if", true)], 40, _hoisted_1)) : createCommentVNode("v-if", true);
201
+ class: "astryx-banner-content",
202
+ "data-container": __props.container,
203
+ "data-status": visualStatus.value
204
+ }, [renderSlot(_ctx.$slots, "default")], 8, _hoisted_8)) : createCommentVNode("v-if", true)], 40, _hoisted_1)) : createCommentVNode("v-if", true);
169
205
  };
170
206
  }
171
207
  });
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Blockquote-DFqBv_oJ.js";
1
+ import { t as _sfc_main } from "../Blockquote-DRoKdcxZ.js";
2
2
  export { _sfc_main as Blockquote };
@@ -0,0 +1,27 @@
1
+ import { computed, createCommentVNode, createElementBlock, createTextVNode, defineComponent, openBlock, renderSlot, toDisplayString, useSlots } from "vue";
2
+ import "../styles/blockquote.css";
3
+ //#region src/Blockquote/Blockquote.vue
4
+ const _hoisted_1 = { class: "astryx-blockquote" };
5
+ const _hoisted_2 = {
6
+ key: 0,
7
+ class: "astryx-blockquote__cite"
8
+ };
9
+ const _sfc_main = /*@__PURE__*/ defineComponent({
10
+ name: "AstryxBlockquote",
11
+ __name: "Blockquote",
12
+ props: { cite: {} },
13
+ setup(__props) {
14
+ const props = __props;
15
+ const slots = useSlots();
16
+ /**
17
+ * 空字符串和缺省都不渲染出处。
18
+ * 引用本身是分段根,里面再套 footer 会被读屏当成整个页面的页脚。
19
+ */
20
+ const showCite = computed(() => slots.cite != null || props.cite != null && props.cite !== "");
21
+ return (_ctx, _cache) => {
22
+ return openBlock(), createElementBlock("blockquote", _hoisted_1, [renderSlot(_ctx.$slots, "default"), showCite.value ? (openBlock(), createElementBlock("cite", _hoisted_2, [renderSlot(_ctx.$slots, "cite", {}, () => [createTextVNode(toDisplayString(__props.cite), 1)])])) : createCommentVNode("v-if", true)]);
23
+ };
24
+ }
25
+ });
26
+ //#endregion
27
+ export { _sfc_main as t };
@@ -1,2 +1,2 @@
1
- import { a as BottomSheetMotion, c as BottomSheetPurpose, d as BottomSheetState, i as BottomSheetHeight, l as BottomSheetSlots, n as _default, o as BottomSheetPadding, r as BottomSheetEmits, s as BottomSheetProps, t as _default$1, u as BottomSheetSnapPoint } from "../index-0QGtSf3r.js";
1
+ import { a as BottomSheetMotion, c as BottomSheetPurpose, d as BottomSheetState, i as BottomSheetHeight, l as BottomSheetSlots, n as _default, o as BottomSheetPadding, r as BottomSheetEmits, s as BottomSheetProps, t as _default$1, u as BottomSheetSnapPoint } from "../index-DFLPv9io.js";
2
2
  export { _default as BottomSheet, type BottomSheetEmits, type BottomSheetHeight, type BottomSheetMotion, type BottomSheetPadding, type BottomSheetProps, type BottomSheetPurpose, type BottomSheetSlots, type BottomSheetSnapPoint, type BottomSheetState, _default$1 as BottomSheetSwitcher };
@@ -1,3 +1,3 @@
1
- import { t as _sfc_main } from "../BottomSheet-pt7m4CvC.js";
2
- import { t as _sfc_main$1 } from "../BottomSheet-JYMB_Ofl.js";
1
+ import { t as _sfc_main } from "../BottomSheet-B4sc3F1S.js";
2
+ import { t as _sfc_main$1 } from "../BottomSheet-m54uCMJN.js";
3
3
  export { _sfc_main as BottomSheet, _sfc_main$1 as BottomSheetSwitcher };