@astryx-vue/core 0.0.0-stage → 0.1.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 (452) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +53 -2
  3. package/THIRD_PARTY_NOTICES.md +41 -0
  4. package/css.d.ts +3 -0
  5. package/dist/AlertDialog/index.d.ts +2 -0
  6. package/dist/AlertDialog/index.js +2 -0
  7. package/dist/AlertDialog-BylcA4vV.js +211 -0
  8. package/dist/Avatar/index.d.ts +2 -0
  9. package/dist/Avatar/index.js +2 -0
  10. package/dist/Avatar-5s3HSrtN.js +136 -0
  11. package/dist/AvatarGroup/index.d.ts +2 -0
  12. package/dist/AvatarGroup/index.js +2 -0
  13. package/dist/AvatarGroup-CZcgAMjM.js +59 -0
  14. package/dist/Badge/index.d.ts +2 -0
  15. package/dist/Badge/index.js +2 -0
  16. package/dist/Badge-Ba0EwsTj.js +19 -0
  17. package/dist/Banner/index.d.ts +2 -0
  18. package/dist/Banner/index.js +2 -0
  19. package/dist/Banner-CJe9Im5a.js +173 -0
  20. package/dist/Blockquote/index.d.ts +2 -0
  21. package/dist/Blockquote/index.js +2 -0
  22. package/dist/Blockquote-DFqBv_oJ.js +18 -0
  23. package/dist/BottomSheet/index.d.ts +2 -0
  24. package/dist/BottomSheet/index.js +2 -0
  25. package/dist/BottomSheet-Dg95HB1s.js +919 -0
  26. package/dist/Breadcrumbs/index.d.ts +2 -0
  27. package/dist/Breadcrumbs/index.js +2 -0
  28. package/dist/Breadcrumbs-C3YZFQ9w.js +91 -0
  29. package/dist/Button/index.d.ts +3 -0
  30. package/dist/Button/index.js +5 -0
  31. package/dist/Button-DrqeomlE.js +367 -0
  32. package/dist/ButtonGroup/index.d.ts +2 -0
  33. package/dist/ButtonGroup/index.js +2 -0
  34. package/dist/ButtonGroup-ySQWanDP.js +125 -0
  35. package/dist/ButtonTooltip-nWWrth8j.js +91 -0
  36. package/dist/Calendar/index.d.ts +2 -0
  37. package/dist/Calendar/index.js +2 -0
  38. package/dist/Calendar-BEyrkUtr.js +277 -0
  39. package/dist/Card/index.d.ts +2 -0
  40. package/dist/Card/index.js +2 -0
  41. package/dist/Card-HAjZQg2s.js +52 -0
  42. package/dist/Center/index.d.ts +2 -0
  43. package/dist/Center/index.js +2 -0
  44. package/dist/Center-DVaZaTGP.js +88 -0
  45. package/dist/Chat/index.d.ts +2 -0
  46. package/dist/Chat/index.js +2 -0
  47. package/dist/Chat-CO3mCs9A.js +1051 -0
  48. package/dist/CheckboxIndicator/index.d.ts +2 -0
  49. package/dist/CheckboxIndicator/index.js +2 -0
  50. package/dist/CheckboxIndicator-DdJmksHt.js +52 -0
  51. package/dist/CheckboxInput/index.d.ts +2 -0
  52. package/dist/CheckboxInput/index.js +2 -0
  53. package/dist/CheckboxInput-C86o3XoG.js +346 -0
  54. package/dist/CheckboxList/index.d.ts +2 -0
  55. package/dist/CheckboxList/index.js +2 -0
  56. package/dist/CheckboxList-BL2sDOWK.js +174 -0
  57. package/dist/Citation/index.d.ts +2 -0
  58. package/dist/Citation/index.js +2 -0
  59. package/dist/Citation-BqwJvw7o.js +107 -0
  60. package/dist/Code/index.d.ts +3 -0
  61. package/dist/Code/index.js +3 -0
  62. package/dist/CodeBlock-BQdooQy2.js +1295 -0
  63. package/dist/Collapsible/index.d.ts +2 -0
  64. package/dist/Collapsible/index.js +2 -0
  65. package/dist/Collapsible-BYg9soTk.js +102 -0
  66. package/dist/ContextMenu/index.d.ts +2 -0
  67. package/dist/ContextMenu/index.js +2 -0
  68. package/dist/ContextMenu-dA-ppaRQ.js +1336 -0
  69. package/dist/DateInput/index.d.ts +2 -0
  70. package/dist/DateInput/index.js +2 -0
  71. package/dist/DateInput-BOIb0zAp.js +250 -0
  72. package/dist/DateRangeInput/index.d.ts +2 -0
  73. package/dist/DateRangeInput/index.js +2 -0
  74. package/dist/DateRangeInput-DLcbgUBi.js +385 -0
  75. package/dist/DateTimeInput/index.d.ts +2 -0
  76. package/dist/DateTimeInput/index.js +2 -0
  77. package/dist/DateTimeInput-RitYX_Yx.js +196 -0
  78. package/dist/Dialog/index.d.ts +2 -0
  79. package/dist/Dialog/index.js +3 -0
  80. package/dist/Dialog-CvRplBo-.js +137 -0
  81. package/dist/Dialog-rfUt3y8P.js +219 -0
  82. package/dist/Divider/index.d.ts +2 -0
  83. package/dist/Divider/index.js +2 -0
  84. package/dist/Divider-BtwnL18I.js +62 -0
  85. package/dist/DropdownMenu/index.d.ts +2 -0
  86. package/dist/DropdownMenu/index.js +2 -0
  87. package/dist/DropdownMenu-B0gogrvG.js +752 -0
  88. package/dist/EmptyState/index.d.ts +2 -0
  89. package/dist/EmptyState/index.js +2 -0
  90. package/dist/EmptyState-Bhlqgsg4.js +70 -0
  91. package/dist/Field/index.d.ts +3 -0
  92. package/dist/Field/index.js +3 -0
  93. package/dist/Field-VlTBsIEo.js +103 -0
  94. package/dist/FieldIcon--NTgW5IU.js +44 -0
  95. package/dist/FieldLabel-B1NRyQlS.js +179 -0
  96. package/dist/FieldStatus/index.d.ts +2 -0
  97. package/dist/FieldStatus/index.js +2 -0
  98. package/dist/FieldStatus-MjY19ERl.js +79 -0
  99. package/dist/FileInput/index.d.ts +2 -0
  100. package/dist/FileInput/index.js +2 -0
  101. package/dist/FileInput-CYvEV503.js +238 -0
  102. package/dist/Grid/index.d.ts +2 -0
  103. package/dist/Grid/index.js +2 -0
  104. package/dist/Grid-D1onTzyC.js +131 -0
  105. package/dist/Heading/index.d.ts +2 -0
  106. package/dist/Heading/index.js +2 -0
  107. package/dist/Heading-Dugosn6j.js +43 -0
  108. package/dist/HoverCard/index.d.ts +2 -0
  109. package/dist/HoverCard/index.js +2 -0
  110. package/dist/HoverCard-EhbWaGOW.js +443 -0
  111. package/dist/Icon-5MdZQ18k.js +86 -0
  112. package/dist/IconButton/index.d.ts +2 -0
  113. package/dist/IconButton/index.js +5 -0
  114. package/dist/IconButton-BNQuz9W_.js +89 -0
  115. package/dist/InputGroup/index.d.ts +2 -0
  116. package/dist/InputGroup/index.js +2 -0
  117. package/dist/InputGroup-ChrFVxzV.js +42 -0
  118. package/dist/Item-C1z6gXn8.js +289 -0
  119. package/dist/Kbd/index.d.ts +2 -0
  120. package/dist/Kbd/index.js +2 -0
  121. package/dist/Kbd-BB-Dw6zE.js +99 -0
  122. package/dist/Link/index.d.ts +2 -0
  123. package/dist/Link/index.js +2 -0
  124. package/dist/Link-CprjOuTI.js +92 -0
  125. package/dist/List/index.d.ts +3 -0
  126. package/dist/List/index.js +3 -0
  127. package/dist/ListItem-pGxvn6QJ.js +178 -0
  128. package/dist/Markdown/index.d.ts +2 -0
  129. package/dist/Markdown/index.js +2 -0
  130. package/dist/Markdown-Dnlp8cVx.js +1035 -0
  131. package/dist/MetadataList/index.d.ts +2 -0
  132. package/dist/MetadataList/index.js +2 -0
  133. package/dist/MetadataList-DIsqS1Qb.js +124 -0
  134. package/dist/MobileNav/index.d.ts +2 -0
  135. package/dist/MobileNav/index.js +2 -0
  136. package/dist/MobileNavToggle-aUZiDwHm.js +175 -0
  137. package/dist/MoreMenu/index.d.ts +2 -0
  138. package/dist/MoreMenu/index.js +2 -0
  139. package/dist/MoreMenu-BXL6Dqsu.js +1305 -0
  140. package/dist/MultiSelector/index.d.ts +2 -0
  141. package/dist/MultiSelector/index.js +2 -0
  142. package/dist/MultiSelector-Bh8or2S6.js +740 -0
  143. package/dist/NavDisclosure-DHrSNRDR.js +165 -0
  144. package/dist/NavItem/index.d.ts +3 -0
  145. package/dist/NavItem/index.js +4 -0
  146. package/dist/NavItem-FFOisITc.js +147 -0
  147. package/dist/NavItem-thEKXyJA.js +34 -0
  148. package/dist/NavMenu/index.d.ts +2 -0
  149. package/dist/NavMenu/index.js +3 -0
  150. package/dist/NavMenuItem-mzNQESpB.js +169 -0
  151. package/dist/NumberInput/index.d.ts +2 -0
  152. package/dist/NumberInput/index.js +2 -0
  153. package/dist/NumberInput-C3S-4dIu.js +147 -0
  154. package/dist/OverflowList/index.d.ts +2 -0
  155. package/dist/OverflowList/index.js +2 -0
  156. package/dist/OverflowList-Kr4iJrNV.js +207 -0
  157. package/dist/Overlay/index.d.ts +2 -0
  158. package/dist/Overlay/index.js +2 -0
  159. package/dist/Overlay-DKILTHxI.js +216 -0
  160. package/dist/Pagination/index.d.ts +2 -0
  161. package/dist/Pagination/index.js +2 -0
  162. package/dist/Pagination-BRStpeSB.js +304 -0
  163. package/dist/Popover/index.d.ts +2 -0
  164. package/dist/Popover/index.js +2 -0
  165. package/dist/Popover-Crhk9PNP.js +215 -0
  166. package/dist/ProgressBar/index.d.ts +2 -0
  167. package/dist/ProgressBar/index.js +2 -0
  168. package/dist/ProgressBar-ChDp-7oe.js +98 -0
  169. package/dist/Radio/index.d.ts +2 -0
  170. package/dist/Radio/index.js +2 -0
  171. package/dist/RadioGroup-DS6oTV_j.js +226 -0
  172. package/dist/RadioList/index.d.ts +2 -0
  173. package/dist/RadioList/index.js +2 -0
  174. package/dist/RadioList-pwr93I-z.js +122 -0
  175. package/dist/SegmentedControl/index.d.ts +2 -0
  176. package/dist/SegmentedControl/index.js +2 -0
  177. package/dist/SegmentedControl-ChHmFrrC.js +326 -0
  178. package/dist/Selector/index.d.ts +2 -0
  179. package/dist/Selector/index.js +2 -0
  180. package/dist/Selector-DvEUIVEC.js +325 -0
  181. package/dist/SideNav/index.d.ts +2 -0
  182. package/dist/SideNav/index.js +2 -0
  183. package/dist/SideNav-B7LX4RcP.js +777 -0
  184. package/dist/Skeleton/index.d.ts +2 -0
  185. package/dist/Skeleton/index.js +2 -0
  186. package/dist/Skeleton-CrgWxJgr.js +36 -0
  187. package/dist/Slider/index.d.ts +2 -0
  188. package/dist/Slider/index.js +2 -0
  189. package/dist/Slider-DTnWxtnb.js +559 -0
  190. package/dist/Spinner/index.d.ts +2 -0
  191. package/dist/Spinner/index.js +2 -0
  192. package/dist/Spinner-9cYUCnDy.js +84 -0
  193. package/dist/Stack/index.d.ts +3 -0
  194. package/dist/Stack/index.js +3 -0
  195. package/dist/Stack-gGcYdOAh.js +94 -0
  196. package/dist/Stack-iv52y_Jv.js +108 -0
  197. package/dist/StatusDot/index.d.ts +2 -0
  198. package/dist/StatusDot/index.js +2 -0
  199. package/dist/StatusDot-CaoIapp4.js +27 -0
  200. package/dist/Switch/index.d.ts +2 -0
  201. package/dist/Switch/index.js +2 -0
  202. package/dist/Switch-CNdnr5TP.js +324 -0
  203. package/dist/TabList/index.d.ts +2 -0
  204. package/dist/TabList/index.js +2 -0
  205. package/dist/TabList-LV1U4ZD6.js +184 -0
  206. package/dist/Table/index.d.ts +2 -0
  207. package/dist/Table/index.js +2 -0
  208. package/dist/Table-D5zWaITo.js +967 -0
  209. package/dist/Text/index.d.ts +2 -0
  210. package/dist/Text/index.js +2 -0
  211. package/dist/Text-CKd7e3gK.js +43 -0
  212. package/dist/TextArea/index.d.ts +2 -0
  213. package/dist/TextArea/index.js +2 -0
  214. package/dist/TextArea-BL0NuB99.js +386 -0
  215. package/dist/TextInput/index.d.ts +2 -0
  216. package/dist/TextInput/index.js +2 -0
  217. package/dist/TextInput-B0IKC7g5.js +373 -0
  218. package/dist/Thumbnail/index.d.ts +2 -0
  219. package/dist/Thumbnail/index.js +2 -0
  220. package/dist/Thumbnail-DMOgWncm.js +163 -0
  221. package/dist/TimeField-DeQ1ukHl.js +214 -0
  222. package/dist/TimeInput/index.d.ts +2 -0
  223. package/dist/TimeInput/index.js +2 -0
  224. package/dist/TimeInput-jb1nLqZk.js +121 -0
  225. package/dist/Timestamp/index.d.ts +2 -0
  226. package/dist/Timestamp/index.js +2 -0
  227. package/dist/Timestamp-DrWwVQBL.js +465 -0
  228. package/dist/Toast/index.d.ts +2 -0
  229. package/dist/Toast/index.js +2 -0
  230. package/dist/Toast-BKXPvEMp.js +194 -0
  231. package/dist/ToggleButton/index.d.ts +2 -0
  232. package/dist/ToggleButton/index.js +2 -0
  233. package/dist/ToggleButton-BB_I8EdM.js +219 -0
  234. package/dist/Token/index.d.ts +2 -0
  235. package/dist/Token/index.js +3 -0
  236. package/dist/Token-BdRzlXzm.js +16 -0
  237. package/dist/Token-CV2J94bn.js +140 -0
  238. package/dist/Tokenizer/index.d.ts +2 -0
  239. package/dist/Tokenizer/index.js +2 -0
  240. package/dist/Tokenizer-DF9r4hTW.js +473 -0
  241. package/dist/Toolbar/index.d.ts +2 -0
  242. package/dist/Toolbar/index.js +2 -0
  243. package/dist/Toolbar-BrgvvTCk.js +73 -0
  244. package/dist/Tooltip/index.d.ts +2 -0
  245. package/dist/Tooltip/index.js +2 -0
  246. package/dist/Tooltip-mp0NMh_Y.js +256 -0
  247. package/dist/TopNav/index.d.ts +2 -0
  248. package/dist/TopNav/index.js +2 -0
  249. package/dist/TopNav-BH_s3uap.js +468 -0
  250. package/dist/TreeList/index.d.ts +2 -0
  251. package/dist/TreeList/index.js +2 -0
  252. package/dist/TreeList-D9cR-w7r.js +506 -0
  253. package/dist/Typeahead/index.d.ts +2 -0
  254. package/dist/Typeahead/index.js +2 -0
  255. package/dist/Typeahead-s4DC1Qem.js +375 -0
  256. package/dist/VisuallyHidden/index.d.ts +2 -0
  257. package/dist/VisuallyHidden/index.js +2 -0
  258. package/dist/VisuallyHidden-C7NN3VEP.js +34 -0
  259. package/dist/announce-Cnio10Wk.js +89 -0
  260. package/dist/composables/index.d.ts +4 -0
  261. package/dist/composables/index.js +21 -0
  262. package/dist/composables-Dq9RS33w.js +111 -0
  263. package/dist/context-4PuqD1Ic.js +4 -0
  264. package/dist/context-BshXcNYX.js +512 -0
  265. package/dist/eventHandlers-DUXzBWZy.js +10 -0
  266. package/dist/focus-CpficIgf.js +36 -0
  267. package/dist/index--Xrukl7L.d.ts +74 -0
  268. package/dist/index--dh0s8Li.d.ts +241 -0
  269. package/dist/index-12ObcW99.d.ts +68 -0
  270. package/dist/index-5R_pi3eT.d.ts +80 -0
  271. package/dist/index-AkMWQ97a.d.ts +88 -0
  272. package/dist/index-B4OOtNP8.d.ts +28 -0
  273. package/dist/index-B8MbfMwV.d.ts +331 -0
  274. package/dist/index-BDZCJ9ri.d.ts +213 -0
  275. package/dist/index-BIPc1v82.d.ts +60 -0
  276. package/dist/index-BKr7yvVv.d.ts +63 -0
  277. package/dist/index-BSRk8MFK.d.ts +149 -0
  278. package/dist/index-Bc0dgVM5.d.ts +384 -0
  279. package/dist/index-BfOtLyNH.d.ts +96 -0
  280. package/dist/index-BhYFxnjV.d.ts +108 -0
  281. package/dist/index-BiMGXtD-.d.ts +67 -0
  282. package/dist/index-BkIgRYGz.d.ts +73 -0
  283. package/dist/index-BlWLperN.d.ts +55 -0
  284. package/dist/index-BmAxqw1G.d.ts +27 -0
  285. package/dist/index-BnNh5Iml.d.ts +718 -0
  286. package/dist/index-BoRIw-bP.d.ts +89 -0
  287. package/dist/index-Bovw9_8d.d.ts +74 -0
  288. package/dist/index-Bqb_Fyju.d.ts +80 -0
  289. package/dist/index-BtrAhmSP.d.ts +50 -0
  290. package/dist/index-Byar3h1e.d.ts +33 -0
  291. package/dist/index-BzqRns96.d.ts +64 -0
  292. package/dist/index-CCA4R0Mf.d.ts +86 -0
  293. package/dist/index-CDDMDHJM.d.ts +169 -0
  294. package/dist/index-CEB7Ywvw.d.ts +115 -0
  295. package/dist/index-CFfXQMkd.d.ts +21 -0
  296. package/dist/index-CGEC2zgy.d.ts +142 -0
  297. package/dist/index-CGZ2xi3r.d.ts +55 -0
  298. package/dist/index-CNcQmDrK.d.ts +266 -0
  299. package/dist/index-CQ9F1f_F.d.ts +1965 -0
  300. package/dist/index-CR6sUmRT.d.ts +356 -0
  301. package/dist/index-CZeoAr0a.d.ts +129 -0
  302. package/dist/index-C_2Z65Rp.d.ts +67 -0
  303. package/dist/index-Ck8qy6Rf.d.ts +65 -0
  304. package/dist/index-CsJpQElv.d.ts +45 -0
  305. package/dist/index-CtlkhQ55.d.ts +36 -0
  306. package/dist/index-D3V7yRUP.d.ts +126 -0
  307. package/dist/index-DEeJowZf.d.ts +27 -0
  308. package/dist/index-DEiLb6hI.d.ts +29 -0
  309. package/dist/index-DGV6SCWO.d.ts +26 -0
  310. package/dist/index-DJo-BmXZ.d.ts +431 -0
  311. package/dist/index-DRmb-oUa.d.ts +44 -0
  312. package/dist/index-DXDGk38y.d.ts +64 -0
  313. package/dist/index-Da7Jm8Ht.d.ts +10 -0
  314. package/dist/index-Dbmgcm8a.d.ts +81 -0
  315. package/dist/index-Dt_9IR_M.d.ts +24 -0
  316. package/dist/index-FEy8qFSD.d.ts +95 -0
  317. package/dist/index-IbUN4M8V.d.ts +40 -0
  318. package/dist/index-Q4gqBSIZ.d.ts +42 -0
  319. package/dist/index-TnaIHsCS.d.ts +87 -0
  320. package/dist/index-Yl4kJKpq.d.ts +26 -0
  321. package/dist/index-g03bmR4K.d.ts +141 -0
  322. package/dist/index-gW0HW02U.d.ts +156 -0
  323. package/dist/index-iBLzInje.d.ts +33 -0
  324. package/dist/index-iHf0OCyv.d.ts +35 -0
  325. package/dist/index-mQ6EPmaG.d.ts +240 -0
  326. package/dist/index-uQrLBZfF.d.ts +72 -0
  327. package/dist/index-utZGF4GR.d.ts +79 -0
  328. package/dist/index-yaS9_EpM.d.ts +30 -0
  329. package/dist/index-z4p2k9VR.d.ts +54 -0
  330. package/dist/index.d.ts +71 -0
  331. package/dist/index.js +139 -0
  332. package/dist/link-CdcUSxAj.js +12 -0
  333. package/dist/locale/index.d.ts +2 -0
  334. package/dist/locale/index.js +3 -0
  335. package/dist/locale-Cpk_nrLA.js +18 -0
  336. package/dist/platform-B_9W_aHW.js +33 -0
  337. package/dist/position-DFW5ymAF.d.ts +5 -0
  338. package/dist/scrollLock-BzIvIimL.js +42 -0
  339. package/dist/types-3eXh_5os.d.ts +52 -0
  340. package/dist/types-BG23kC3S.d.ts +65 -0
  341. package/dist/types-CAZY4Xua.d.ts +181 -0
  342. package/dist/types-D7QNSqoN.d.ts +70 -0
  343. package/dist/types-WlmsNL1I.d.ts +67 -0
  344. package/dist/useAnchoredListbox-7W90Ny-9.js +54 -0
  345. package/dist/useAsyncSource-Gk0VtE7_.js +109 -0
  346. package/dist/useAsyncSource-xpQovjV_.d.ts +54 -0
  347. package/dist/useChatStreamScroll-oDfybEos.js +265 -0
  348. package/dist/useClipboard-BDfbEsWd.js +45 -0
  349. package/dist/useClipboard-CU-kfqeJ.d.ts +32 -0
  350. package/dist/useCombobox-CTo5C-gc.js +192 -0
  351. package/dist/useDismiss-CAiHU6QD.js +58 -0
  352. package/dist/useFileSelection-BPtaegqK.js +58 -0
  353. package/dist/useGridRovingFocus-DQQAOYH5.js +99 -0
  354. package/dist/useHotkeys-dABSK1o9.js +80 -0
  355. package/dist/useListFocus-D0iOJl39.js +258 -0
  356. package/dist/useLongPress-Cyxwa73s.js +60 -0
  357. package/dist/useMediaQuery-GMmgp28-.js +32 -0
  358. package/dist/useMonthGrid-CmJsZTcB.js +139 -0
  359. package/dist/useNumberField-DL-Radsp.js +49 -0
  360. package/dist/useOverflow-VrwF5oek.js +265 -0
  361. package/dist/usePositionedLayer-C1NBOsVT.js +114 -0
  362. package/dist/useRestoreFocus-BvMdXVX9.js +96 -0
  363. package/dist/useTimeValue-DWk6oTAZ.js +113 -0
  364. package/dist/useTypeahead-PAK8lMYz.js +62 -0
  365. package/dist/useTypeaheadMenu-Ba7XpcZl.js +276 -0
  366. package/dist/utils-C9r3UD_y.js +16 -0
  367. package/package.json +402 -3
  368. package/reset.css +1 -0
  369. package/styles/alert-dialog.css +47 -0
  370. package/styles/avatar-group.css +44 -0
  371. package/styles/avatar.css +97 -0
  372. package/styles/badge.css +91 -0
  373. package/styles/banner.css +66 -0
  374. package/styles/blockquote.css +19 -0
  375. package/styles/bordered-control.css +87 -0
  376. package/styles/bottom-sheet.css +268 -0
  377. package/styles/breadcrumbs.css +76 -0
  378. package/styles/button-group.css +70 -0
  379. package/styles/button.css +320 -0
  380. package/styles/calendar.css +143 -0
  381. package/styles/card.css +187 -0
  382. package/styles/center.css +34 -0
  383. package/styles/chat.css +847 -0
  384. package/styles/checkbox-indicator.css +87 -0
  385. package/styles/checkbox-input.css +87 -0
  386. package/styles/checkbox-list.css +15 -0
  387. package/styles/citation.css +104 -0
  388. package/styles/code.css +356 -0
  389. package/styles/collapsible.css +145 -0
  390. package/styles/context-menu.css +325 -0
  391. package/styles/date-input.css +137 -0
  392. package/styles/date-range-input.css +163 -0
  393. package/styles/date-time-input.css +40 -0
  394. package/styles/dialog-header.css +50 -0
  395. package/styles/dialog.css +93 -0
  396. package/styles/divider.css +63 -0
  397. package/styles/dropdown-menu.css +200 -0
  398. package/styles/empty-state.css +61 -0
  399. package/styles/field.css +192 -0
  400. package/styles/file-input.css +87 -0
  401. package/styles/grid.css +55 -0
  402. package/styles/heading.css +126 -0
  403. package/styles/hover-card.css +206 -0
  404. package/styles/icon.css +195 -0
  405. package/styles/input-group.css +85 -0
  406. package/styles/kbd.css +30 -0
  407. package/styles/link.css +52 -0
  408. package/styles/list.css +240 -0
  409. package/styles/markdown.css +424 -0
  410. package/styles/metadata-list.css +107 -0
  411. package/styles/mobile-nav.css +146 -0
  412. package/styles/more-menu.css +383 -0
  413. package/styles/motion.css +251 -0
  414. package/styles/multi-selector.css +339 -0
  415. package/styles/nav-item.css +134 -0
  416. package/styles/nav-menu.css +103 -0
  417. package/styles/number-input.css +117 -0
  418. package/styles/overflow-list.css +79 -0
  419. package/styles/overlay.css +171 -0
  420. package/styles/pagination.css +145 -0
  421. package/styles/popover.css +138 -0
  422. package/styles/progress-bar.css +107 -0
  423. package/styles/radio.css +134 -0
  424. package/styles/segmented-control.css +160 -0
  425. package/styles/selector.css +297 -0
  426. package/styles/side-nav.css +312 -0
  427. package/styles/skeleton.css +67 -0
  428. package/styles/slider.css +111 -0
  429. package/styles/spinner.css +126 -0
  430. package/styles/stack.css +107 -0
  431. package/styles/status-dot.css +46 -0
  432. package/styles/switch.css +211 -0
  433. package/styles/tab-list.css +111 -0
  434. package/styles/table.css +256 -0
  435. package/styles/text-area.css +146 -0
  436. package/styles/text-input.css +131 -0
  437. package/styles/text.css +117 -0
  438. package/styles/thumbnail.css +151 -0
  439. package/styles/time-input.css +51 -0
  440. package/styles/timestamp.css +93 -0
  441. package/styles/toast.css +184 -0
  442. package/styles/toggle-button.css +67 -0
  443. package/styles/token.css +179 -0
  444. package/styles/tokenizer.css +200 -0
  445. package/styles/toolbar.css +53 -0
  446. package/styles/tooltip.css +115 -0
  447. package/styles/top-nav.css +222 -0
  448. package/styles/tree-list.css +229 -0
  449. package/styles/typeahead.css +258 -0
  450. package/styles/visually-hidden-utility.css +11 -0
  451. package/styles/visually-hidden.css +19 -0
  452. package/styles.css +77 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 astryx-vue contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,54 @@
1
- # Temporary Holding Version
1
+ # @astryx-vue/core
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Vue components for astryx-vue.
4
+
5
+ Docs: <https://astryx-vue.pages.dev>
6
+
7
+ ```bash
8
+ pnpm add @astryx-vue/core @astryx-vue/themes
9
+ ```
10
+
11
+ Component entries load structural styles. Import a theme once at the app entry. To load every structural stylesheet yourself, also import `@astryx-vue/core/styles.css`.
12
+
13
+ ```ts
14
+ import { Badge } from '@astryx-vue/core/Badge'
15
+ import '@astryx-vue/core/styles.css'
16
+ import '@astryx-vue/themes/neutral.css'
17
+ ```
18
+
19
+ ```vue
20
+ <script setup lang="ts">
21
+ import { Badge } from '@astryx-vue/core/Badge'
22
+ </script>
23
+
24
+ <template>
25
+ <Badge variant="success">
26
+ Ready
27
+ </Badge>
28
+ </template>
29
+ ```
30
+
31
+ Text inputs include their own label, description and validation status:
32
+
33
+ ```vue
34
+ <script setup lang="ts">
35
+ import { TextInput } from '@astryx-vue/core/TextInput'
36
+ import { shallowRef } from 'vue'
37
+
38
+ const email = shallowRef('')
39
+ </script>
40
+
41
+ <template>
42
+ <TextInput v-model="email" label="Email" type="email" auto-complete="email" />
43
+ </template>
44
+ ```
45
+
46
+ Use `Field` and `FieldLabel` from `@astryx-vue/core/Field`, and `FieldStatus` from `@astryx-vue/core/FieldStatus`, for custom controls. `Field` supplies association IDs through its default slot; forward them to the control's `id`, `aria-labelledby` and `aria-describedby`.
47
+
48
+ `TextInput` supports clear buttons, disabled reasons, read-only values, three sizes, status messages and asynchronous `changeAction`. Use `@action-error` to handle failed actions. Inputs remain editable while actions are pending; request cancellation and stale-result handling belong to the application.
49
+
50
+ `CheckboxInput` from `@astryx-vue/core/CheckboxInput` supports `v-model` with `boolean | 'indeterminate'`. It includes a label, description, validation status, disabled reasons, native form submission and asynchronous `changeAction`. Pending actions block repeat activation. Failures emit `actionError`; the application decides whether to revert the model. `CheckboxIndicator` from `@astryx-vue/core/CheckboxIndicator` provides the decorative visual without input behavior.
51
+
52
+ `Slider` from `@astryx-vue/core/Slider` accepts a numeric `v-model` or a `[number, number]` range. It supports marks, horizontal and vertical orientation, keyboard controls, value formatting, form values and disabled reasons. `changeEnd` fires when an adjustment ends.
53
+
54
+ `Banner` from `@astryx-vue/core/Banner` shows persistent info, success, warning or error messages. It supports actions, dismissal, card and section containers, and optional details. Use `v-model:is-open` to control the details or `:collapsible="false"` to keep them visible.
@@ -0,0 +1,41 @@
1
+ # Third-party notices
2
+
3
+ ## Astryx
4
+
5
+ This project is an unofficial community Vue port based on the public Astryx project:
6
+
7
+ - Repository: <https://github.com/facebook/astryx>
8
+ - Version used for the first round: `v0.4.1`
9
+ - Commit: `96f9917fe013a7062a403c58e54dfd47f482d89f`
10
+ - License: MIT
11
+ - Copyright: (c) 2026 Meta Platforms, Inc.
12
+
13
+ The TextInput, CheckboxInput, CheckboxIndicator, Slider, Banner and Field family added in October 2026 also references the upstream implementation at commit `92779d3fbd0f12e659203c7d719d5bb00935060c`, including TextInput, CheckboxInput, CheckboxIndicator, Slider, Banner, Field, FieldLabel, FieldStatus and the shared input styles. Their public behavior and visual structure are adapted into native Vue components under the same MIT license. The Vue model/events, scoped slots and async-state implementation are local adaptations.
14
+
15
+ When files or substantial portions are copied or adapted, their original copyright and license notices must be kept here or alongside the adapted files.
16
+
17
+ No Meta trademarks, logos, or endorsement are granted by the Astryx software license.
18
+
19
+ ## Astryx license text
20
+
21
+ MIT License
22
+
23
+ Copyright (c) 2026 Meta Platforms, Inc.
24
+
25
+ Permission is hereby granted, free of charge, to any person obtaining a copy
26
+ of this software and associated documentation files (the "Software"), to deal
27
+ in the Software without restriction, including without limitation the rights
28
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
29
+ copies of the Software, and to permit persons to whom the Software is
30
+ furnished to do so, subject to the following conditions:
31
+
32
+ The above copyright notice and this permission notice shall be included in all
33
+ copies or substantial portions of the Software.
34
+
35
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
36
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
37
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
38
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
39
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
40
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
41
+ SOFTWARE.
package/css.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ declare const stylesheet: string
2
+
3
+ export default stylesheet
@@ -0,0 +1,2 @@
1
+ import { a as AlertDialogActionVariant, c as AlertDialogProps, i as _default, l as AlertDialogSlots, n as ImperativeAlertDialogReturn, o as AlertDialogEmits, r as useImperativeAlertDialog, s as AlertDialogLayout, t as ImperativeAlertDialogOptions } from "../index-CGEC2zgy.js";
2
+ export { _default as AlertDialog, type AlertDialogActionVariant, type AlertDialogEmits, type AlertDialogLayout, type AlertDialogProps, type AlertDialogSlots, type ImperativeAlertDialogOptions, type ImperativeAlertDialogReturn, useImperativeAlertDialog };
@@ -0,0 +1,2 @@
1
+ import { n as _sfc_main, t as useImperativeAlertDialog } from "../AlertDialog-BylcA4vV.js";
2
+ export { _sfc_main as AlertDialog, useImperativeAlertDialog };
@@ -0,0 +1,211 @@
1
+ import { t as _sfc_main$1 } from "./Button-DrqeomlE.js";
2
+ import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
3
+ import { t as _sfc_main$2 } from "./Dialog-rfUt3y8P.js";
4
+ import { t as _sfc_main$3 } from "./Heading-Dugosn6j.js";
5
+ import { t as _sfc_main$4 } from "./Stack-gGcYdOAh.js";
6
+ import { t as _sfc_main$5 } from "./Text-CKd7e3gK.js";
7
+ 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";
8
+ import "../styles/alert-dialog.css";
9
+ //#region src/AlertDialog/context.ts
10
+ const ALERT_DIALOG_CONTEXT_KEY = Symbol("astryx-alert-dialog");
11
+ //#endregion
12
+ //#region src/AlertDialog/AlertDialog.vue
13
+ const _hoisted_1 = { class: "astryx-alert-dialog__content" };
14
+ const _hoisted_2 = { class: "astryx-alert-dialog__footer" };
15
+ /**
16
+ * Order is part of the contract, not just the visual: on a narrow screen the
17
+ * destructive action sits above Cancel so visual, DOM, and tab order agree,
18
+ * while Cancel keeps the initial focus because it is the safe choice.
19
+ */
20
+ const _sfc_main = /*@__PURE__*/ defineComponent({
21
+ name: "AstryxAlertDialog",
22
+ inheritAttrs: false,
23
+ __name: "AlertDialog",
24
+ props: {
25
+ isOpen: { type: Boolean },
26
+ isInline: {
27
+ type: Boolean,
28
+ default: false
29
+ },
30
+ title: {},
31
+ description: {},
32
+ cancelLabel: { default: "Cancel" },
33
+ actionLabel: {},
34
+ actionVariant: { default: "destructive" },
35
+ isActionLoading: {
36
+ type: Boolean,
37
+ default: false
38
+ },
39
+ width: { default: 400 }
40
+ },
41
+ emits: ["openChange", "action"],
42
+ setup(__props, { expose: __expose, emit: __emit }) {
43
+ const props = __props;
44
+ const emit = __emit;
45
+ const titleId = `astryx-alert-dialog-title-${useId()}`;
46
+ const descriptionId = `astryx-alert-dialog-description-${useId()}`;
47
+ const isSmallScreen = useMediaQuery("(max-width: 640px)");
48
+ provide(ALERT_DIALOG_CONTEXT_KEY, {
49
+ descriptionId,
50
+ isSmallScreen,
51
+ titleId
52
+ });
53
+ const dialog = useTemplateRef("dialog");
54
+ const element = computed(() => {
55
+ const rendered = dialog.value?.$el;
56
+ return rendered instanceof HTMLElement ? rendered : null;
57
+ });
58
+ function focus(options) {
59
+ element.value?.focus(options);
60
+ }
61
+ function blur() {
62
+ element.value?.blur();
63
+ }
64
+ __expose({
65
+ element,
66
+ focus,
67
+ blur
68
+ });
69
+ const actions = computed(() => {
70
+ const cancel = {
71
+ autofocus: "",
72
+ className: "astryx-alert-dialog__action astryx-alert-dialog__action--cancel",
73
+ isLoading: false,
74
+ key: "cancel",
75
+ label: props.cancelLabel,
76
+ variant: "ghost",
77
+ onClick: () => emit("openChange", false)
78
+ };
79
+ const confirm = {
80
+ className: "astryx-alert-dialog__action astryx-alert-dialog__action--confirm",
81
+ isLoading: props.isActionLoading,
82
+ key: "confirm",
83
+ label: props.actionLabel,
84
+ variant: props.actionVariant,
85
+ onClick: (event) => emit("action", event)
86
+ };
87
+ return isSmallScreen.value ? [confirm, cancel] : [cancel, confirm];
88
+ });
89
+ const dialogRole = computed(() => props.isInline ? "group" : "alertdialog");
90
+ const layout = computed(() => isSmallScreen.value ? "stacked" : "row");
91
+ return (_ctx, _cache) => {
92
+ return openBlock(), createBlock(_sfc_main$2, mergeProps({
93
+ ref_key: "dialog",
94
+ ref: dialog
95
+ }, _ctx.$attrs, {
96
+ class: "astryx-alert-dialog",
97
+ "aria-describedby": descriptionId,
98
+ "aria-labelledby": titleId,
99
+ "data-layout": layout.value,
100
+ "is-inline": __props.isInline,
101
+ "is-open": __props.isOpen,
102
+ purpose: "form",
103
+ role: dialogRole.value,
104
+ width: __props.width,
105
+ onOpenChange: _cache[0] || (_cache[0] = ($event) => emit("openChange", $event))
106
+ }), {
107
+ default: withCtx(() => [createElementVNode("div", _hoisted_1, [createVNode(_sfc_main$3, {
108
+ id: titleId,
109
+ class: "astryx-alert-dialog__title",
110
+ level: 2
111
+ }, {
112
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(__props.title), 1)])]),
113
+ _: 3
114
+ }), createVNode(_sfc_main$5, {
115
+ id: descriptionId,
116
+ as: "div",
117
+ class: "astryx-alert-dialog__description",
118
+ color: "secondary",
119
+ type: "body"
120
+ }, {
121
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(__props.description), 1)])]),
122
+ _: 3
123
+ })]), createElementVNode("div", _hoisted_2, [createVNode(_sfc_main$4, {
124
+ class: "astryx-alert-dialog__actions",
125
+ direction: unref(isSmallScreen) ? "vertical" : "horizontal",
126
+ gap: 2,
127
+ "h-align": unref(isSmallScreen) ? "stretch" : "end",
128
+ wrap: unref(isSmallScreen) ? "nowrap" : "wrap"
129
+ }, {
130
+ default: withCtx(() => [renderSlot(_ctx.$slots, "actions"), (openBlock(true), createElementBlock(Fragment, null, renderList(actions.value, (action) => {
131
+ return openBlock(), createBlock(_sfc_main$1, {
132
+ key: action.key,
133
+ class: normalizeClass(action.className),
134
+ "data-autofocus": action.autofocus,
135
+ "is-loading": action.isLoading,
136
+ label: action.label,
137
+ variant: action.variant,
138
+ onClick: ($event) => action.onClick($event)
139
+ }, null, 8, [
140
+ "class",
141
+ "data-autofocus",
142
+ "is-loading",
143
+ "label",
144
+ "variant",
145
+ "onClick"
146
+ ]);
147
+ }), 128))]),
148
+ _: 3
149
+ }, 8, [
150
+ "direction",
151
+ "h-align",
152
+ "wrap"
153
+ ])])]),
154
+ _: 3
155
+ }, 16, [
156
+ "data-layout",
157
+ "is-inline",
158
+ "is-open",
159
+ "role",
160
+ "width"
161
+ ]);
162
+ };
163
+ }
164
+ });
165
+ //#endregion
166
+ //#region src/AlertDialog/useImperativeAlertDialog.ts
167
+ /**
168
+ * Opens an alert dialog without managing the open state yourself.
169
+ *
170
+ * @example
171
+ * ```
172
+ * const alert = useImperativeAlertDialog()
173
+ * const AlertHost = alert.Host
174
+ * // <button @click="alert.show({ title: 'Delete item?', description: '…', actionLabel: 'Delete' })">Delete</button>
175
+ * // <AlertHost />
176
+ * ```
177
+ */
178
+ function useImperativeAlertDialog() {
179
+ const isOpen = ref(false);
180
+ const options = shallowRef(null);
181
+ function show(nextOptions) {
182
+ options.value = nextOptions;
183
+ isOpen.value = true;
184
+ }
185
+ function hide() {
186
+ isOpen.value = false;
187
+ }
188
+ return {
189
+ hide,
190
+ Host: defineComponent({
191
+ name: "AstryxImperativeAlertDialogHost",
192
+ setup() {
193
+ return () => {
194
+ const current = options.value;
195
+ if (current == null) return null;
196
+ return h(_sfc_main, {
197
+ ...current,
198
+ isOpen: isOpen.value,
199
+ onOpenChange: (open) => {
200
+ if (!open) isOpen.value = false;
201
+ }
202
+ });
203
+ };
204
+ }
205
+ }),
206
+ isOpen,
207
+ show
208
+ };
209
+ }
210
+ //#endregion
211
+ export { _sfc_main as n, useImperativeAlertDialog as t };
@@ -0,0 +1,2 @@
1
+ import { a as AvatarProps, c as AvatarStatusDotProps, i as AvatarNumericSize, l as AvatarStatusDotVariant, n as _default, o as AvatarShape, r as AvatarNamedSize, s as AvatarSize, t as _default$1 } from "../index-uQrLBZfF.js";
2
+ export { _default as Avatar, type AvatarNamedSize, type AvatarNumericSize, type AvatarProps, type AvatarShape, type AvatarSize, _default$1 as AvatarStatusDot, type AvatarStatusDotProps, type AvatarStatusDotVariant };
@@ -0,0 +1,2 @@
1
+ import { n as _sfc_main, t as _sfc_main$1 } from "../Avatar-5s3HSrtN.js";
2
+ export { _sfc_main as Avatar, _sfc_main$1 as AvatarStatusDot };
@@ -0,0 +1,136 @@
1
+ import { n as AvatarGroupContext, t as resolveSize } from "./utils-C9r3UD_y.js";
2
+ import { computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, mergeProps, normalizeStyle, openBlock, ref, renderSlot, toDisplayString, unref } from "vue";
3
+ import "../styles/avatar.css";
4
+ //#region src/Avatar/Avatar.vue
5
+ const _hoisted_1$1 = { class: "astryx-avatar__content" };
6
+ const _hoisted_2 = ["src"];
7
+ const _hoisted_3 = ["src"];
8
+ const _hoisted_4 = {
9
+ key: 0,
10
+ class: "astryx-avatar__status"
11
+ };
12
+ const INITIALS_FONT_SIZE_RATIO = 16 / 36;
13
+ const DEFAULT_ICON_RATIO = .6;
14
+ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
15
+ __name: "Avatar",
16
+ props: {
17
+ alt: {},
18
+ fallbackSrc: {},
19
+ name: {},
20
+ size: { default: "md" },
21
+ shape: { default: "circle" },
22
+ src: {}
23
+ },
24
+ emits: ["error"],
25
+ setup(__props, { emit: __emit }) {
26
+ const props = __props;
27
+ const emit = __emit;
28
+ const erroredSrc = ref(void 0);
29
+ const erroredFallbackSrc = ref(void 0);
30
+ const avatarGroup = inject(AvatarGroupContext, void 0);
31
+ const resolvedSize = computed(() => avatarGroup?.size.value ?? props.size);
32
+ const resolvedShape = computed(() => avatarGroup?.shape.value ?? props.shape);
33
+ const numericSize = computed(() => resolveSize(resolvedSize.value));
34
+ const groupStyle = computed(() => {
35
+ if (!avatarGroup) return {};
36
+ return {
37
+ marginInlineStart: `${-avatarGroup.overlap.value}px`,
38
+ borderWidth: "2px"
39
+ };
40
+ });
41
+ const rootStyle = computed(() => ({
42
+ width: `${numericSize.value}px`,
43
+ height: `${numericSize.value}px`
44
+ }));
45
+ const showImage = computed(() => props.src && erroredSrc.value !== props.src);
46
+ const showFallbackImage = computed(() => !showImage.value && props.fallbackSrc && erroredFallbackSrc.value !== props.fallbackSrc);
47
+ const meaningfulName = computed(() => {
48
+ return typeof props.name === "string" && props.name.trim() !== "" ? props.name.trim() : void 0;
49
+ });
50
+ const meaningfulAlt = computed(() => {
51
+ return typeof props.alt === "string" && props.alt.trim() !== "" ? props.alt.trim() : void 0;
52
+ });
53
+ const initials = computed(() => {
54
+ if (!meaningfulName.value) return "";
55
+ const words = meaningfulName.value.split(/\s+/);
56
+ const first = words.at(0);
57
+ const last = words.length > 1 ? words.at(-1) : void 0;
58
+ const initial = (word) => {
59
+ if (!word) return "";
60
+ const match = word.match(/[\p{L}\p{N}]/u);
61
+ return match ? match[0].toUpperCase() : "";
62
+ };
63
+ return `${initial(first)}${initial(last)}`;
64
+ });
65
+ const showInitials = computed(() => !showImage.value && !showFallbackImage.value && initials.value !== "");
66
+ const showIcon = computed(() => !showImage.value && !showFallbackImage.value && initials.value === "");
67
+ const accessibleName = computed(() => {
68
+ return meaningfulAlt.value || meaningfulName.value;
69
+ });
70
+ const a11yProps = computed(() => {
71
+ if (accessibleName.value) return {
72
+ "role": "img",
73
+ "aria-label": accessibleName.value
74
+ };
75
+ return {
76
+ "role": "presentation",
77
+ "aria-hidden": "true"
78
+ };
79
+ });
80
+ function handleImageError(event) {
81
+ if (props.src) erroredSrc.value = props.src;
82
+ emit("error", event);
83
+ }
84
+ function handleFallbackError() {
85
+ if (props.fallbackSrc) erroredFallbackSrc.value = props.fallbackSrc;
86
+ }
87
+ return (_ctx, _cache) => {
88
+ return openBlock(), createElementBlock("span", mergeProps({
89
+ class: ["astryx-avatar", [`astryx-avatar--${resolvedShape.value}`, { "astryx-avatar--group-item": unref(avatarGroup) }]],
90
+ style: [rootStyle.value, groupStyle.value]
91
+ }, a11yProps.value), [createElementVNode("span", _hoisted_1$1, [showImage.value ? (openBlock(), createElementBlock("img", {
92
+ key: 0,
93
+ class: "astryx-avatar__image",
94
+ src: __props.src,
95
+ alt: "",
96
+ onError: handleImageError
97
+ }, null, 40, _hoisted_2)) : showFallbackImage.value ? (openBlock(), createElementBlock("img", {
98
+ key: 1,
99
+ class: "astryx-avatar__image",
100
+ src: __props.fallbackSrc,
101
+ alt: "",
102
+ onError: handleFallbackError
103
+ }, null, 40, _hoisted_3)) : showInitials.value ? (openBlock(), createElementBlock("span", {
104
+ key: 2,
105
+ class: "astryx-avatar__fallback astryx-avatar__fallback--initials",
106
+ style: normalizeStyle({ fontSize: `${numericSize.value * INITIALS_FONT_SIZE_RATIO}px` })
107
+ }, toDisplayString(initials.value), 5)) : showIcon.value ? (openBlock(), createElementBlock("span", {
108
+ key: 3,
109
+ class: "astryx-avatar__fallback astryx-avatar__fallback--icon",
110
+ style: normalizeStyle({ fontSize: `${numericSize.value * DEFAULT_ICON_RATIO}px` })
111
+ }, [renderSlot(_ctx.$slots, "default", {}, () => [_cache[0] || (_cache[0] = createElementVNode("svg", {
112
+ viewBox: "0 0 24 24",
113
+ fill: "currentColor",
114
+ "aria-hidden": "true"
115
+ }, [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, [renderSlot(_ctx.$slots, "status")])) : createCommentVNode("v-if", true)], 16);
116
+ };
117
+ }
118
+ });
119
+ //#endregion
120
+ //#region src/Avatar/AvatarStatusDot.vue
121
+ const _hoisted_1 = ["data-variant"];
122
+ const _sfc_main = /*@__PURE__*/ defineComponent({
123
+ __name: "AvatarStatusDot",
124
+ props: { variant: { default: "neutral" } },
125
+ setup(__props) {
126
+ return (_ctx, _cache) => {
127
+ return openBlock(), createElementBlock("span", {
128
+ class: "astryx-avatar-status-dot",
129
+ "data-variant": __props.variant,
130
+ "aria-hidden": "true"
131
+ }, null, 8, _hoisted_1);
132
+ };
133
+ }
134
+ });
135
+ //#endregion
136
+ export { _sfc_main$1 as n, _sfc_main as t };
@@ -0,0 +1,2 @@
1
+ import { i as AvatarGroupProps, n as _default, r as AvatarGroupOverflowProps, t as _default$1 } from "../index-CQ9F1f_F.js";
2
+ export { _default as AvatarGroup, _default$1 as AvatarGroupOverflow, type AvatarGroupOverflowProps, type AvatarGroupProps };
@@ -0,0 +1,2 @@
1
+ import { n as _sfc_main, t as _sfc_main$1 } from "../AvatarGroup-CZcgAMjM.js";
2
+ export { _sfc_main as AvatarGroup, _sfc_main$1 as AvatarGroupOverflow };
@@ -0,0 +1,59 @@
1
+ import { n as AvatarGroupContext, t as resolveSize } from "./utils-C9r3UD_y.js";
2
+ import { computed, createElementBlock, defineComponent, inject, normalizeClass, normalizeStyle, openBlock, provide, renderSlot, toDisplayString } from "vue";
3
+ import "../styles/avatar-group.css";
4
+ //#region src/AvatarGroup/AvatarGroup.vue
5
+ const _hoisted_1$1 = {
6
+ class: "astryx-avatar-group",
7
+ role: "group",
8
+ "aria-label": "Avatar group"
9
+ };
10
+ const OVERLAP_RATIO = .25;
11
+ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
12
+ __name: "AvatarGroup",
13
+ props: {
14
+ size: { default: "md" },
15
+ shape: { default: "circle" }
16
+ },
17
+ setup(__props) {
18
+ const props = __props;
19
+ const numericSize = computed(() => resolveSize(props.size));
20
+ const overlap = computed(() => Math.round(numericSize.value * OVERLAP_RATIO));
21
+ provide(AvatarGroupContext, {
22
+ size: computed(() => props.size),
23
+ shape: computed(() => props.shape),
24
+ overlap
25
+ });
26
+ return (_ctx, _cache) => {
27
+ return openBlock(), createElementBlock("div", _hoisted_1$1, [renderSlot(_ctx.$slots, "default")]);
28
+ };
29
+ }
30
+ });
31
+ //#endregion
32
+ //#region src/AvatarGroup/AvatarGroupOverflow.vue
33
+ const _hoisted_1 = ["aria-label"];
34
+ const _sfc_main = /*@__PURE__*/ defineComponent({
35
+ name: "AvatarGroupOverflow",
36
+ __name: "AvatarGroupOverflow",
37
+ props: { count: {} },
38
+ setup(__props) {
39
+ const avatarGroup = inject(AvatarGroupContext, void 0);
40
+ const size = computed(() => avatarGroup?.size.value ?? "md");
41
+ const shape = computed(() => avatarGroup?.shape.value ?? "circle");
42
+ const numericSize = computed(() => resolveSize(size.value));
43
+ const rootStyle = computed(() => ({
44
+ width: `${numericSize.value}px`,
45
+ height: `${numericSize.value}px`,
46
+ marginInlineStart: `${-(avatarGroup?.overlap.value ?? 0)}px`
47
+ }));
48
+ return (_ctx, _cache) => {
49
+ return openBlock(), createElementBlock("span", {
50
+ class: normalizeClass(["astryx-avatar-group-overflow", [`astryx-avatar-group-overflow--${shape.value}`]]),
51
+ style: normalizeStyle(rootStyle.value),
52
+ role: "img",
53
+ "aria-label": `${__props.count} more avatars`
54
+ }, " +" + toDisplayString(__props.count), 15, _hoisted_1);
55
+ };
56
+ }
57
+ });
58
+ //#endregion
59
+ export { _sfc_main$1 as n, _sfc_main as t };
@@ -0,0 +1,2 @@
1
+ import { i as BadgeVariantMap, n as BadgeProps, r as BadgeVariant, t as _default } from "../index-DRmb-oUa.js";
2
+ export { _default as Badge, type BadgeProps, type BadgeVariant, type BadgeVariantMap };
@@ -0,0 +1,2 @@
1
+ import { t as _sfc_main } from "../Badge-Ba0EwsTj.js";
2
+ export { _sfc_main as Badge };
@@ -0,0 +1,19 @@
1
+ import { createElementBlock, defineComponent, openBlock, renderSlot } from "vue";
2
+ import "../styles/badge.css";
3
+ //#region src/Badge/Badge.vue
4
+ const _hoisted_1 = ["data-variant"];
5
+ const _sfc_main = /*@__PURE__*/ defineComponent({
6
+ name: "Badge",
7
+ __name: "Badge",
8
+ props: { variant: { default: "neutral" } },
9
+ setup(__props) {
10
+ return (_ctx, _cache) => {
11
+ return openBlock(), createElementBlock("span", {
12
+ class: "astryx-badge",
13
+ "data-variant": __props.variant
14
+ }, [renderSlot(_ctx.$slots, "icon"), renderSlot(_ctx.$slots, "default")], 8, _hoisted_1);
15
+ };
16
+ }
17
+ });
18
+ //#endregion
19
+ export { _sfc_main as t };
@@ -0,0 +1,2 @@
1
+ import { _r as BannerStatus, fr as _default, gr as BannerSlots, hr as BannerProps, mr as BannerEmits, pr as BannerContainer } from "../index-CQ9F1f_F.js";
2
+ export { _default as Banner, type BannerContainer, type BannerEmits, type BannerProps, type BannerSlots, type BannerStatus };
@@ -0,0 +1,2 @@
1
+ import { t as _sfc_main } from "../Banner-CJe9Im5a.js";
2
+ export { _sfc_main as Banner };