@astryx-vue/core 0.2.6 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (524) hide show
  1. package/THIRD_PARTY_NOTICES.md +9 -0
  2. package/dist/AlertDialog/index.js +1 -1
  3. package/dist/{AlertDialog-BBhl5P1X.js → AlertDialog-C2inDZWG.js} +13 -7
  4. package/dist/AppShell/index.d.ts +1 -1
  5. package/dist/AppShell/index.js +1 -1
  6. package/dist/{AppShell-mrflO0Uy.js → AppShell-CumzH-8z.js} +3 -3
  7. package/dist/Avatar/index.d.ts +1 -1
  8. package/dist/Avatar/index.js +1 -1
  9. package/dist/{Avatar-pPZ4dI_s.js → Avatar-BW0TE8t9.js} +47 -34
  10. package/dist/AvatarGroup/index.d.ts +1 -1
  11. package/dist/AvatarGroup/index.js +1 -1
  12. package/dist/{AvatarGroup-B--NQSB3.js → AvatarGroup-DLC_FFR5.js} +57 -13
  13. package/dist/Banner/index.d.ts +1 -1
  14. package/dist/Banner/index.js +1 -1
  15. package/dist/{Banner-GbGxrqQO.js → Banner-C5VAwo4D.js} +68 -34
  16. package/dist/Blockquote/index.js +1 -1
  17. package/dist/Blockquote-DRoKdcxZ.js +27 -0
  18. package/dist/BottomSheet/index.d.ts +1 -1
  19. package/dist/BottomSheet/index.js +2 -2
  20. package/dist/{BottomSheet-eJ3FzTBD.js → BottomSheet-B4sc3F1S.js} +288 -140
  21. package/dist/{BottomSheet-DIVwbGr3.js → BottomSheet-m54uCMJN.js} +20 -4
  22. package/dist/Breadcrumbs/index.d.ts +2 -2
  23. package/dist/Breadcrumbs/index.js +2 -2
  24. package/dist/Breadcrumbs-CTaz7Kh4.js +223 -0
  25. package/dist/Button/index.d.ts +1 -1
  26. package/dist/Button/index.js +1 -1
  27. package/dist/{Button-B6Hj_O_s.js → Button-ONOoHdkg.js} +25 -15
  28. package/dist/ButtonGroup/index.d.ts +1 -1
  29. package/dist/ButtonGroup/index.js +1 -1
  30. package/dist/ButtonGroup-DnkSZ9a5.js +87 -0
  31. package/dist/{ButtonTooltip-nWWrth8j.js → ButtonTooltip-CNKOQHYR.js} +7 -4
  32. package/dist/Calendar/index.d.ts +1 -1
  33. package/dist/Calendar/index.js +1 -1
  34. package/dist/{Calendar-B7vIowKq.js → Calendar-BAqzzQm2.js} +5 -5
  35. package/dist/Card/index.d.ts +2 -2
  36. package/dist/Card/index.js +1 -1
  37. package/dist/{Card-HAjZQg2s.js → Card-B-I24X9S.js} +2 -0
  38. package/dist/Carousel/index.js +1 -1
  39. package/dist/{Carousel-DAkOa7KK.js → Carousel-DXC22UWq.js} +50 -33
  40. package/dist/Chat/index.d.ts +1 -1
  41. package/dist/Chat/index.js +1 -1
  42. package/dist/{Chat-DVoI6UOA.js → Chat-BdJW6IX5.js} +152 -83
  43. package/dist/CheckboxIndicator/index.js +1 -1
  44. package/dist/{CheckboxIndicator-D37cm2Rh.js → CheckboxIndicator-fH4d-JE1.js} +9 -3
  45. package/dist/CheckboxInput/index.d.ts +1 -1
  46. package/dist/CheckboxInput/index.js +1 -1
  47. package/dist/{CheckboxInput-BS9J6edf.js → CheckboxInput-DJHCbwgC.js} +19 -11
  48. package/dist/CheckboxList/index.d.ts +1 -1
  49. package/dist/CheckboxList/index.js +1 -1
  50. package/dist/{CheckboxList-CX1i_jVP.js → CheckboxList-BdZIP4_J.js} +155 -38
  51. package/dist/Citation/index.js +1 -1
  52. package/dist/{Citation-Djgwa0ko.js → Citation-DbZn2vms.js} +8 -3
  53. package/dist/ClickableCard/index.d.ts +1 -1
  54. package/dist/ClickableCard/index.js +1 -1
  55. package/dist/{ClickableCard-Bhds4RRe.js → ClickableCard-ChAfiw9T.js} +10 -7
  56. package/dist/Code/index.d.ts +1 -1
  57. package/dist/Code/index.js +3 -3
  58. package/dist/{Code-XnPuGxey.js → Code-Bg7GBdxy.js} +2 -1
  59. package/dist/{CodeBlock-BUM3czCS.js → CodeBlock-Caaflp7C.js} +7 -3
  60. package/dist/Collapsible/index.d.ts +1 -1
  61. package/dist/Collapsible/index.js +1 -1
  62. package/dist/{Collapsible-Cov3Pyq5.js → Collapsible-Bdj0WYpb.js} +13 -11
  63. package/dist/CommandPalette/index.d.ts +1 -1
  64. package/dist/CommandPalette/index.js +1 -1
  65. package/dist/{CommandPalette-D6wYS30d.js → CommandPalette-C_MClfAg.js} +146 -62
  66. package/dist/ComplexSelector/index.d.ts +1 -1
  67. package/dist/ComplexSelector/index.js +1 -1
  68. package/dist/{ComplexSelector-Bil81sfq.js → ComplexSelector-BeVQaqRf.js} +94 -22
  69. package/dist/ContextMenu/index.d.ts +2 -2
  70. package/dist/ContextMenu/index.js +2 -2
  71. package/dist/{ContextMenu-DdLJnxNN.js → ContextMenu-C6hPYvYz.js} +299 -179
  72. package/dist/DateInput/index.d.ts +1 -1
  73. package/dist/DateInput/index.js +1 -1
  74. package/dist/{DateInput-u2XKccpK.js → DateInput-BjLdmYor.js} +567 -76
  75. package/dist/DateRangeInput/index.d.ts +1 -1
  76. package/dist/DateRangeInput/index.js +1 -1
  77. package/dist/{DateRangeInput-u7LhH6up.js → DateRangeInput-Br3wVEfD.js} +99 -28
  78. package/dist/DateTimeInput/index.d.ts +1 -1
  79. package/dist/DateTimeInput/index.js +1 -1
  80. package/dist/DateTimeInput-CAZBwoRe.js +562 -0
  81. package/dist/Dialog/index.d.ts +1 -1
  82. package/dist/Dialog/index.js +2 -2
  83. package/dist/{Dialog-BiOSKQso.js → Dialog-Dce4Y97V.js} +28 -11
  84. package/dist/{Dialog-FGHfDu5M.js → Dialog-fhyxB00e.js} +32 -5
  85. package/dist/Divider/index.d.ts +1 -1
  86. package/dist/Divider/index.js +1 -1
  87. package/dist/{Divider-BtwnL18I.js → Divider-mOZ6vIQw.js} +5 -1
  88. package/dist/DropdownMenu/index.d.ts +2 -2
  89. package/dist/DropdownMenu/index.js +3 -3
  90. package/dist/{DropdownMenu-SM_BEOgM.js → DropdownMenu-BdGmQVb1.js} +85 -57
  91. package/dist/{DropdownMenu-BEasdJ6R.js → DropdownMenu-BzQrNV9C.js} +481 -264
  92. package/dist/{DropdownMenuRadioItem.vue-CXEURBcq.d.ts → DropdownMenuRadioItem.vue-Qd-8Rg4Q.d.ts} +236 -230
  93. package/dist/EmptyState/index.js +1 -1
  94. package/dist/{EmptyState-C_GH7IV5.js → EmptyState-CmOQf2SH.js} +2 -2
  95. package/dist/Field/index.d.ts +4 -3
  96. package/dist/Field/index.js +4 -3
  97. package/dist/{Field-D5gUEGw4.js → Field--OEsLBfE.js} +4 -3
  98. package/dist/{FieldInfoTip-Ds-sW_jY.js → FieldInfoTip-gxsnfkZw.js} +3 -3
  99. package/dist/{FieldLabel-BNeXRuGH.js → FieldLabel-jxIiWgLw.js} +12 -7
  100. package/dist/FieldStatus/index.d.ts +1 -1
  101. package/dist/FileInput/index.d.ts +1 -1
  102. package/dist/FileInput/index.js +1 -1
  103. package/dist/{FileInput-BpdiO1V8.js → FileInput-B_pUxB0Y.js} +106 -29
  104. package/dist/FormLayout/index.d.ts +1 -1
  105. package/dist/FormLayout/index.js +1 -1
  106. package/dist/{FormLayout-D47FjiOq.js → FormLayout-B9dUB6Ps.js} +1 -1
  107. package/dist/Heading/index.d.ts +1 -1
  108. package/dist/Heading/index.js +1 -1
  109. package/dist/{Heading-BnwWEWkp.js → Heading-BzBunfN7.js} +1 -1
  110. package/dist/HoverCard/index.js +1 -1
  111. package/dist/{HoverCard-ycY50pRN.js → HoverCard-BpJhT0sn.js} +35 -22
  112. package/dist/Icon/index.d.ts +4 -4
  113. package/dist/Icon/index.js +1 -1
  114. package/dist/{Icon-bteSId7T.js → Icon-KDnUyY7f.js} +12 -20
  115. package/dist/IconButton/index.js +1 -1
  116. package/dist/{IconButton-DDNgNl7B.js → IconButton-DI-XBbtV.js} +1 -1
  117. package/dist/Indicator/index.d.ts +2 -2
  118. package/dist/Indicator/index.js +2 -1
  119. package/dist/InputClearButton-CwXPan8c.js +40 -0
  120. package/dist/InputGroup/index.d.ts +1 -1
  121. package/dist/InputGroup/index.js +2 -2
  122. package/dist/{InputGroup-CA03Smrs.js → InputGroup-DiiocoIW.js} +2 -2
  123. package/dist/InternationalizationProvider/index.d.ts +1 -1
  124. package/dist/InternationalizationProvider/index.js +1 -1
  125. package/dist/{InternationalizationProvider-DJay_w3B.js → InternationalizationProvider-kBapgKAQ.js} +5 -9
  126. package/dist/{Item-KhFKX9St.js → Item-DWMIjN8n.js} +34 -9
  127. package/dist/Kbd/index.js +1 -1
  128. package/dist/{Kbd-BB-Dw6zE.js → Kbd-CV3LO2Ge.js} +18 -2
  129. package/dist/LayerContentBoundary-CvsKxwwm.js +27 -0
  130. package/dist/LayerProvider/index.js +1 -1
  131. package/dist/{LayerProvider-D9NsQFzL.js → LayerProvider-B6zpMBWC.js} +15 -3
  132. package/dist/Layout/index.d.ts +1 -1
  133. package/dist/Layout/index.js +2 -2
  134. package/dist/{Layout-9X6eCUoY.js → Layout-JJRCG7Mf.js} +1 -1
  135. package/dist/{LayoutPanel-DeOh00p5.js → LayoutPanel-zM5vjrKS.js} +15 -8
  136. package/dist/Lightbox/index.js +1 -1
  137. package/dist/{Lightbox-DTF9EdTG.js → Lightbox-D8wyPgMK.js} +8 -6
  138. package/dist/Link/index.d.ts +2 -2
  139. package/dist/Link/index.js +1 -1
  140. package/dist/{Link-BqHCtiyt.js → Link-DweIpOtN.js} +29 -12
  141. package/dist/List/index.d.ts +1 -1
  142. package/dist/List/index.js +2 -2
  143. package/dist/{ListItem-8RWT8XAG.js → ListItem-BQXMu1Tb.js} +1 -1
  144. package/dist/Markdown/index.d.ts +5 -2
  145. package/dist/Markdown/index.js +5 -2
  146. package/dist/Markdown/parser/index.d.ts +4 -0
  147. package/dist/Markdown/parser/index.js +3 -0
  148. package/dist/Markdown/plugin-protocol/index.d.ts +35 -0
  149. package/dist/Markdown/plugin-protocol/index.js +107 -0
  150. package/dist/Markdown/plugin-renderer/index.d.ts +31 -0
  151. package/dist/Markdown/plugin-renderer/index.js +42 -0
  152. package/dist/{Markdown-2CVyZDuB.js → Markdown-DhVfOvXk.js} +195 -484
  153. package/dist/MediaTheme-DlLqYhDy.js +433 -0
  154. package/dist/MetadataList/index.js +1 -1
  155. package/dist/{MetadataList-B-OelQlt.js → MetadataList-CEYceIlN.js} +15 -7
  156. package/dist/MobileNav/index.js +1 -1
  157. package/dist/{MobileNavToggle-C3dkrM98.js → MobileNavToggle-pdoJFZHx.js} +60 -19
  158. package/dist/MoreMenu/index.d.ts +1 -1
  159. package/dist/MoreMenu/index.js +1 -1
  160. package/dist/{MoreMenu-D1WFGqGU.js → MoreMenu-CFNqSRev.js} +87 -67
  161. package/dist/MultiSelector/index.d.ts +1 -1
  162. package/dist/MultiSelector/index.js +1 -1
  163. package/dist/MultiSelector-DuVatmq5.js +1456 -0
  164. package/dist/{NavDisclosure-C_fugrQ3.js → NavDisclosure-Bq9DTZLO.js} +29 -7
  165. package/dist/{NavHeadingSurface-B3yJspSN.js → NavHeadingSurface-C4v_MtkX.js} +29 -26
  166. package/dist/NavItem/index.d.ts +1 -1
  167. package/dist/NavItem/index.js +2 -2
  168. package/dist/{NavItem-BBIGSvDj.js → NavItem-BPb3yfgz.js} +17 -4
  169. package/dist/NavMenu/index.d.ts +1 -1
  170. package/dist/NavMenu/index.js +3 -3
  171. package/dist/{NavMenu-ThXguZAz.js → NavMenu-BYIDzjix.js} +42 -15
  172. package/dist/{NavMenuItem-BvJNsDFC.js → NavMenuItem-D3FO90GR.js} +14 -12
  173. package/dist/NumberInput/index.d.ts +1 -1
  174. package/dist/NumberInput/index.js +1 -1
  175. package/dist/NumberInput-B0vzOg3N.js +727 -0
  176. package/dist/Outline/index.d.ts +2 -2
  177. package/dist/Outline/index.js +2 -2
  178. package/dist/{Outline-755h-lMP.js → Outline-CfGv2F1o.js} +91 -6
  179. package/dist/OverflowList/index.d.ts +2 -2
  180. package/dist/OverflowList/index.js +1 -1
  181. package/dist/{OverflowList-NmrSMbxb.js → OverflowList-BgRLZ3dh.js} +23 -6
  182. package/dist/Pagination/index.d.ts +1 -1
  183. package/dist/Pagination/index.js +1 -1
  184. package/dist/{Pagination-Cc4BrjQg.js → Pagination-Bfe12018.js} +2 -2
  185. package/dist/PickerWheel-CSwUYfes.js +69 -0
  186. package/dist/Popover/index.d.ts +1 -1
  187. package/dist/Popover/index.js +1 -1
  188. package/dist/{Popover-CtoBfVlD.js → Popover-78dFjTb9.js} +28 -17
  189. package/dist/PowerSearch/index.d.ts +1 -1
  190. package/dist/PowerSearch/index.js +1 -1
  191. package/dist/{PowerSearch-DHoiObLn.js → PowerSearch-BoAMdFaT.js} +776 -586
  192. package/dist/ProgressBar/index.d.ts +1 -1
  193. package/dist/ProgressBar/index.js +1 -1
  194. package/dist/{ProgressBar-CVLzdoBK.js → ProgressBar-VP4JS7vm.js} +10 -7
  195. package/dist/Radio/index.d.ts +1 -1
  196. package/dist/Radio/index.js +1 -1
  197. package/dist/{RadioGroup-Bfu6JSNV.js → RadioGroup-BIipql-L.js} +94 -26
  198. package/dist/RadioList/index.d.ts +1 -1
  199. package/dist/RadioList/index.js +1 -1
  200. package/dist/{RadioList-xY1cwLdZ.js → RadioList-GyhgBg4j.js} +57 -8
  201. package/dist/Resizable/index.d.ts +1 -1
  202. package/dist/Resizable/index.js +1 -1
  203. package/dist/{ResizeHandle-q4nD_586.js → ResizeHandle-TPlUCAHD.js} +103 -50
  204. package/dist/ScrollableArea/index.d.ts +1 -1
  205. package/dist/ScrollableArea/index.js +1 -1
  206. package/dist/{ScrollableArea-CJiaALHm.js → ScrollableArea-0u6RWtGG.js} +14 -3
  207. package/dist/Scrollbars/index.d.ts +2 -0
  208. package/dist/Scrollbars/index.js +3 -0
  209. package/dist/Scrollbars-D_93hJYK.js +75 -0
  210. package/dist/SegmentedControl/index.js +1 -1
  211. package/dist/{SegmentedControl-ChHmFrrC.js → SegmentedControl-D1wWGBZo.js} +11 -5
  212. package/dist/SelectableCard/index.d.ts +1 -1
  213. package/dist/SelectableCard/index.js +1 -1
  214. package/dist/{SelectableCard-Bj5s_tIN.js → SelectableCard-BEqnhPaX.js} +17 -12
  215. package/dist/Selector/index.d.ts +1 -1
  216. package/dist/Selector/index.js +1 -1
  217. package/dist/Selector-CPISLzp7.js +1049 -0
  218. package/dist/SideNav/index.d.ts +1 -1
  219. package/dist/SideNav/index.js +1 -1
  220. package/dist/{SideNav-Dtv8eA2j.js → SideNav-CN2QeAtY.js} +64 -41
  221. package/dist/Slider/index.d.ts +1 -1
  222. package/dist/Slider/index.js +1 -1
  223. package/dist/{Slider-DWobsPgm.js → Slider-pdC0jpHu.js} +172 -46
  224. package/dist/Spinner/index.js +1 -1
  225. package/dist/Spinner-DdVUadii.js +200 -0
  226. package/dist/Stack/index.d.ts +1 -1
  227. package/dist/Stack/index.js +2 -2
  228. package/dist/{Stack-CjQEavuq.js → Stack-Bb_h60t3.js} +10 -3
  229. package/dist/{Stack-D_Bhs-3r.js → Stack-Bp-XN9J4.js} +20 -9
  230. package/dist/StatusDot/index.d.ts +1 -1
  231. package/dist/StatusDot/index.js +1 -1
  232. package/dist/{StatusDot-BPUhMOff.js → StatusDot-BS_ohXhd.js} +8 -4
  233. package/dist/Stepper/index.d.ts +1 -1
  234. package/dist/Stepper/index.js +1 -1
  235. package/dist/{Stepper-CE8dHysu.js → Stepper-CyaSRSdu.js} +101 -79
  236. package/dist/Switch/index.d.ts +1 -1
  237. package/dist/Switch/index.js +1 -1
  238. package/dist/{Switch-DaVPRxvN.js → Switch-Z2Vfiiic.js} +38 -22
  239. package/dist/TabList/index.d.ts +2 -2
  240. package/dist/TabList/index.js +1 -1
  241. package/dist/{TabList-DIkK9sgK.js → TabList-DRqP0Hrv.js} +205 -63
  242. package/dist/Table/index.d.ts +3 -3
  243. package/dist/Table/index.js +1 -1
  244. package/dist/{Table-hqZMmzfU.js → Table-BcrrylMX.js} +727 -448
  245. package/dist/Text/index.d.ts +2 -2
  246. package/dist/Text/index.js +1 -1
  247. package/dist/{Text-CV3LmscH.js → Text-CmTOgYXf.js} +1 -1
  248. package/dist/TextArea/index.d.ts +1 -1
  249. package/dist/TextArea/index.js +1 -1
  250. package/dist/{TextArea-Ab5Sw60T.js → TextArea-DA9CCG_J.js} +104 -50
  251. package/dist/TextInput/index.d.ts +1 -1
  252. package/dist/TextInput/index.js +1 -1
  253. package/dist/{TextInput-zFT1_qgI.js → TextInput-CI96einV.js} +71 -38
  254. package/dist/Theme/index.d.ts +3 -3
  255. package/dist/Theme/index.js +3 -2
  256. package/dist/Theme-BbDT8B_C.js +2125 -0
  257. package/dist/Thumbnail/index.js +1 -1
  258. package/dist/{Thumbnail-C3NnJUFG.js → Thumbnail-B2ZAY59J.js} +13 -10
  259. package/dist/{TimeField-ByiJKBRM.js → TimeField-CpAgja9D.js} +299 -40
  260. package/dist/TimeInput/index.d.ts +1 -1
  261. package/dist/TimeInput/index.js +1 -1
  262. package/dist/{TimeInput-S8n946tp.js → TimeInput-Bw_lHS4M.js} +78 -9
  263. package/dist/Timer/index.d.ts +1 -1
  264. package/dist/Timer/index.js +1 -1
  265. package/dist/{Timer-avMQk5DN.js → Timer-CH7GsEVu.js} +1 -1
  266. package/dist/Timestamp/index.d.ts +1 -1
  267. package/dist/Timestamp/index.js +1 -1
  268. package/dist/{Timestamp-xpQKCk0d.js → Timestamp-BFNuoTZ0.js} +5 -5
  269. package/dist/Toast/index.d.ts +1 -1
  270. package/dist/Toast/index.js +1 -1
  271. package/dist/Toast-DwnPjx6j.js +685 -0
  272. package/dist/ToggleButton/index.d.ts +1 -1
  273. package/dist/ToggleButton/index.js +1 -1
  274. package/dist/{ToggleButton-B-C-Q7XP.js → ToggleButton-cLjh9W-x.js} +5 -4
  275. package/dist/Token/index.d.ts +1 -1
  276. package/dist/Token/index.js +1 -1
  277. package/dist/{Token-DsntTYhQ.js → Token-BfS4vi__.js} +32 -17
  278. package/dist/Tokenizer/index.d.ts +1 -1
  279. package/dist/Tokenizer/index.js +1 -1
  280. package/dist/{Tokenizer-41p035dX.js → Tokenizer-Ci3E5bvP.js} +109 -23
  281. package/dist/Toolbar/index.d.ts +2 -2
  282. package/dist/Toolbar/index.js +1 -1
  283. package/dist/{Toolbar-BrgvvTCk.js → Toolbar-C0pMWL4S.js} +1 -1
  284. package/dist/Tooltip/index.d.ts +1 -1
  285. package/dist/Tooltip/index.js +1 -1
  286. package/dist/{Tooltip-C4Vaqd3G.js → Tooltip-sAM8i1eO.js} +23 -19
  287. package/dist/TopNav/index.d.ts +1 -1
  288. package/dist/TopNav/index.js +1 -1
  289. package/dist/{TopNav-CeSeEMX3.js → TopNav-gW59zp1o.js} +16 -15
  290. package/dist/TreeList/index.d.ts +1 -1
  291. package/dist/TreeList/index.js +1 -1
  292. package/dist/{TreeList-BUz-KZJd.js → TreeList-DaoI7zaH.js} +124 -41
  293. package/dist/Typeahead/index.d.ts +1 -1
  294. package/dist/Typeahead/index.js +2 -2
  295. package/dist/{Typeahead-k3xhFxkr.js → Typeahead-D4JjvjK4.js} +125 -26
  296. package/dist/{TypeaheadMenu-DBW6rHeO.js → TypeaheadMenu-BQlMrfqX.js} +141 -51
  297. package/dist/{announce-Cnio10Wk.js → announce-B210eJVf.js} +17 -2
  298. package/dist/characterReferences-BJ-jLhsR.js +65 -0
  299. package/dist/characters-rcDbGt71.d.ts +29 -0
  300. package/dist/characters-wTnzjkkR.js +58 -0
  301. package/dist/{colorMode-CBgdgDSn.js → colorMode-BxqfDP4P.js} +1 -4
  302. package/dist/composables/index.d.ts +5 -4
  303. package/dist/composables/index.js +23 -18
  304. package/dist/{composables-CbKx9C1Y.js → composables-Bc02zKAO.js} +167 -197
  305. package/dist/context-B6UElI5X.js +5 -0
  306. package/dist/{context-Cfjh8te1.js → context-Cfml4jaK.js} +5 -3
  307. package/dist/{context-iABt_ueM.js → context-DWfi56sq.js} +451 -122
  308. package/dist/context-IvbU9c3T.js +8 -0
  309. package/dist/context-pjBxaMSh.js +28 -0
  310. package/dist/fieldParts--SyRZVQG.js +44 -0
  311. package/dist/fieldParts-LXpQMKE8.d.ts +27 -0
  312. package/dist/{focus-CpficIgf.js → focus-l8jVTcqd.js} +1 -1
  313. package/dist/hoverIntent-DMHGb85c.js +115 -0
  314. package/dist/{index-Cde5JvtX.d.ts → index-B-nESNam.d.ts} +8 -7
  315. package/dist/{index-CsNi1I8j.d.ts → index-B08-Uxhv.d.ts} +4 -2
  316. package/dist/{index-Cn-sSds-.d.ts → index-B56j4eI2.d.ts} +24 -1
  317. package/dist/{index-BJMJ09K-.d.ts → index-BEZ4ezJk.d.ts} +1 -1
  318. package/dist/{index-DeQwYJbg.d.ts → index-BNaRK-s5.d.ts} +10 -1
  319. package/dist/{index-CQCTKjIO.d.ts → index-BO9TY87G.d.ts} +5 -4
  320. package/dist/{index-BJSxFVXH.d.ts → index-BQEJj72c.d.ts} +21 -8
  321. package/dist/{index-BXk7Wng7.d.ts → index-BULhhnGf.d.ts} +1 -1
  322. package/dist/{index-D97pQbua.d.ts → index-BV2D2x_u.d.ts} +1 -1
  323. package/dist/{index-BPYzIIYn.d.ts → index-BZKgbyN9.d.ts} +2 -2
  324. package/dist/index-BkUkm6Al.d.ts +11 -0
  325. package/dist/{index-ClNU2Th8.d.ts → index-Bn-v89Vt.d.ts} +10 -6
  326. package/dist/{index-Bu8NA2SD.d.ts → index-BnEhvmdR.d.ts} +16 -7
  327. package/dist/index-Bo-ofFyg.d.ts +166 -0
  328. package/dist/{index-i0tNFWfz.d.ts → index-BqhgeAT4.d.ts} +2 -0
  329. package/dist/{index-DWh2WC8W.d.ts → index-C4Cjz6OK.d.ts} +2 -2
  330. package/dist/{index-B7yhzGUT.d.ts → index-C7sam-SB.d.ts} +2 -2
  331. package/dist/{index-BrJzFA5X.d.ts → index-C90l2rH1.d.ts} +1 -1
  332. package/dist/{index-vP0EtrJJ.d.ts → index-C9gAlDt_.d.ts} +6 -3
  333. package/dist/{index-csA1lH_0.d.ts → index-CJ6ajsUC.d.ts} +2 -2
  334. package/dist/{index-CY-KvZ9B.d.ts → index-CK-Dbh0f.d.ts} +1 -1
  335. package/dist/index-CKUfpmFL.d.ts +375 -0
  336. package/dist/{index-DXpSFlPG.d.ts → index-CKgBTAzC.d.ts} +4 -4
  337. package/dist/{index-EFqQF2Bx.d.ts → index-CPtDjmcX.d.ts} +4 -4
  338. package/dist/{index-12QYAbiz.d.ts → index-CRrSHbok.d.ts} +3 -2
  339. package/dist/{index-DG52Bg0W.d.ts → index-CTf3SK0b.d.ts} +6 -0
  340. package/dist/{index-BNy3SW4S.d.ts → index-CTjkJP4x.d.ts} +32 -3
  341. package/dist/{index-Ca8VIE4l.d.ts → index-CVn0GBdB.d.ts} +1 -1
  342. package/dist/{index-YKCx03zD.d.ts → index-CdvmnNMH.d.ts} +1 -1
  343. package/dist/{index-BUEPz7BL.d.ts → index-CikMzeab.d.ts} +3 -3
  344. package/dist/{index-CdtZjkmG.d.ts → index-CpNlPLBF.d.ts} +183 -129
  345. package/dist/{index-N7OVZ38M.d.ts → index-Cs1xsHKi.d.ts} +28 -16
  346. package/dist/{index-Cyb9Du5Z.d.ts → index-CtTGt6Dv.d.ts} +1 -1
  347. package/dist/{index-HV6W3xCx.d.ts → index-D05JGsT3.d.ts} +5 -2
  348. package/dist/{index-CsTbMVDS.d.ts → index-D0_HsuC3.d.ts} +4 -4
  349. package/dist/{index-BgT6mH3U.d.ts → index-D7ShT2c-.d.ts} +1 -1
  350. package/dist/{index-CkKPMIeX.d.ts → index-D7XRtUTY.d.ts} +9 -0
  351. package/dist/{index-TntQsADQ.d.ts → index-DEm3kRBO.d.ts} +4 -3
  352. package/dist/{index-DamRHh1i.d.ts → index-DLAG3m9W.d.ts} +11 -1
  353. package/dist/{index-DUnDGFQE.d.ts → index-DNA2l1RN.d.ts} +1 -1
  354. package/dist/{index-WnUY4Kxu.d.ts → index-DRJZ-v1E.d.ts} +4 -4
  355. package/dist/{index-DYp2RWkM.d.ts → index-DY8Wph-A.d.ts} +3 -3
  356. package/dist/{index-B1WJxt-n.d.ts → index-DfC05uKG.d.ts} +17 -7
  357. package/dist/{index-C5e-7Obr.d.ts → index-Dj1_1t3j.d.ts} +19 -6
  358. package/dist/{index-jW-mP58D.d.ts → index-Dr4b_oji.d.ts} +22 -15
  359. package/dist/{index-uKnRGtzi.d.ts → index-Ds201-d2.d.ts} +18 -4
  360. package/dist/{index-DIXAzTKL.d.ts → index-DxxudRgB.d.ts} +1 -1
  361. package/dist/{index-DQmK3Lq_.d.ts → index-IfsSCj8J.d.ts} +19 -6
  362. package/dist/{index-B1eCxBCY.d.ts → index-TXcNH86P.d.ts} +1 -1
  363. package/dist/{index-XuAAcYiP.d.ts → index-f3d9cVtj.d.ts} +1 -1
  364. package/dist/index-fAZaRruV.d.ts +125 -0
  365. package/dist/{index-D5N9ikrS.d.ts → index-hCpxKePE.d.ts} +1 -1
  366. package/dist/{index-T2FOcOuI.d.ts → index-jOwU3YoR.d.ts} +400 -90
  367. package/dist/{index-DdGck82Y.d.ts → index-pNtfr-RW.d.ts} +2 -2
  368. package/dist/{index-BhpAUzUr.d.ts → index-unAZVFGz.d.ts} +2 -2
  369. package/dist/index.d.ts +84 -77
  370. package/dist/index.js +151 -134
  371. package/dist/inlineSize-BNe8wggI.js +66 -0
  372. package/dist/inputPresentation-BOyHkCDr.js +62 -0
  373. package/dist/interactionModality-ACpTMhak.js +44 -0
  374. package/dist/isApplePlatform-B1ju6F5B.js +27 -0
  375. package/dist/isRenderable-BnKHIqfd.js +21 -0
  376. package/dist/layerDepth-CNDh-IHb.js +181 -0
  377. package/dist/link-DuuA2eCL.js +30 -0
  378. package/dist/{loadCatalog-BGHKG_9N.d.ts → loadCatalog-DlLFZreI.d.ts} +281 -7
  379. package/dist/loadCatalog-eopw74qb.js +424 -0
  380. package/dist/locale/index.d.ts +2 -2
  381. package/dist/locale/index.js +4 -3
  382. package/dist/locale-CabGJlGp.js +343 -0
  383. package/dist/modalOutlet-CUOcrhIu.js +56 -0
  384. package/dist/optionAction-Cg7xQLUA.d.ts +6 -0
  385. package/dist/{power-search-DrDfcoL1.d.ts → power-search-gHLIYXs5.d.ts} +2 -0
  386. package/dist/protocol-DHxY0NI8.js +113 -0
  387. package/dist/protocol-RSeMzAN1.d.ts +238 -0
  388. package/dist/publicParser-B0MRoikr.d.ts +141 -0
  389. package/dist/publicParser-uHC_T0Fo.js +895 -0
  390. package/dist/resizableChannel-3vivrEcT.js +20 -0
  391. package/dist/safeUrl-CsvfcZ9m.js +54 -0
  392. package/dist/scopedProvide-C-Df7c15.js +30 -0
  393. package/dist/scrollKeyboardDelegation-D7cumnOl.js +238 -0
  394. package/dist/scrollLock-C3aT4-0z.js +102 -0
  395. package/dist/{searchResultMessage-hXXNOFJP.js → searchResultMessage-mCpJBvra.js} +5 -14
  396. package/dist/{semantic-CKH9XVqa.d.ts → semantic-BF_AjLvk.d.ts} +6 -3
  397. package/dist/slug-C65CUsf9.js +32 -0
  398. package/dist/syntaxContext-DmIfNNtb.js +4 -0
  399. package/dist/triggerVariant-BsL8jMHs.js +16 -0
  400. package/dist/{types-0Q_SJv_F.d.ts → types-Bb7OGivY.d.ts} +6 -1
  401. package/dist/{types-H4Bbbxiw.d.ts → types-BnNTzEnd.d.ts} +1 -1
  402. package/dist/{types-CwyibrRB.d.ts → types-C5GQ2KCK.d.ts} +23 -3
  403. package/dist/{types-BBWrcHMD.d.ts → types-Ckih2YJi.d.ts} +3 -2
  404. package/dist/{types-gKsEkk2g.d.ts → types-CsqwQkf1.d.ts} +143 -10
  405. package/dist/upstreamMap-xr3gvREu.js +731 -0
  406. package/dist/{useAnchoredListbox-DwztMNjP.js → useAnchoredListbox-DGxxKHZb.js} +2 -2
  407. package/dist/{useAsyncSource-xpQovjV_.d.ts → useAsyncSource-aGzrvRkI.d.ts} +3 -0
  408. package/dist/{useClickableContainer-DyNpnSEa.js → useClickableContainer-CdGp_Cev.js} +1 -1
  409. package/dist/{useClipboard-BDfbEsWd.js → useClipboard-Dk8cS810.js} +1 -1
  410. package/dist/useHoverLayerDismiss-kYJ_NqL4.js +27 -0
  411. package/dist/{useIndicator-i1NORM7W.js → useIndicator-MZmfBWid.js} +5 -23
  412. package/dist/{useInputContainer-CpgDe2-4.js → useInputContainer-CLcYrby4.js} +1 -1
  413. package/dist/{useInputStatusIcon-DBOwxV4x.js → useInputStatusIcon-DAE7PExr.js} +1 -1
  414. package/dist/useLayerMountTarget-BmZyeKWE.js +156 -0
  415. package/dist/{useListFocus-D0iOJl39.js → useListFocus-ChxLg0b4.js} +3 -2
  416. package/dist/{useMenuDrillIn-DzKGkTho.js → useMenuDrillIn-DhUnPvKs.js} +6 -5
  417. package/dist/useMenuHover-Djreu23i.js +170 -0
  418. package/dist/useMenuPress-8foxY8z4.js +764 -0
  419. package/dist/{useMergedRefs-CfHHlCsn.js → useMergedRefs-Cb6_w93m.js} +24 -4
  420. package/dist/{useNumberField-4-dIGVed.js → useNumberField-Dk1BE3-K.js} +3 -3
  421. package/dist/useOptionActionGrid-CkJcuvaU.js +97 -0
  422. package/dist/{usePositionedLayer-Cru9_00b.js → usePositionedLayer-B7cvG-_v.js} +43 -49
  423. package/dist/usePressFeedback-BJCpjEpv.js +319 -0
  424. package/dist/{useResizable-DDwPpPe6.d.ts → useResizable-1MHPNaRD.d.ts} +19 -1
  425. package/dist/{useResizable-B3ahKLoZ.js → useResizable-I3BCiLSL.js} +72 -40
  426. package/dist/useResolvedLabelHidden-B2rlWiaI.js +30 -0
  427. package/dist/{useRestoreFocus-Djw9RUIf.js → useRestoreFocus-XEKs5-gp.js} +49 -7
  428. package/dist/useScrollOverflow-DuMoGXmm.js +67 -0
  429. package/dist/useScrollableArea-BE8b3qm7.js +222 -0
  430. package/dist/useScrollbars-C2NJ6Qwq.js +43 -0
  431. package/dist/{useTimeValue-6ufHM15W.js → useTimeValue-BJd0xBhG.js} +4 -22
  432. package/dist/useTranslator-BmWt2BBt.js +35 -0
  433. package/dist/{useTypeahead-PAK8lMYz.js → useTypeahead-BvtflkRk.js} +4 -5
  434. package/dist/utils/index.d.ts +3 -0
  435. package/dist/utils/index.js +5 -0
  436. package/dist/{utils-D33VQDnk.js → utils-ClVseK2w.js} +29 -2
  437. package/dist/utils-z3Q6BGIJ.js +819 -0
  438. package/locales/SOURCE.json +1 -1
  439. package/package.json +24 -3
  440. package/reset.css +364 -1
  441. package/styles/avatar-group.css +9 -1
  442. package/styles/badge.css +8 -5
  443. package/styles/banner.css +124 -26
  444. package/styles/blockquote.css +1 -0
  445. package/styles/bordered-control.css +1 -1
  446. package/styles/bottom-sheet.css +74 -6
  447. package/styles/breadcrumbs.css +16 -2
  448. package/styles/button-group.css +3 -1
  449. package/styles/button.css +53 -11
  450. package/styles/card.css +1 -1
  451. package/styles/chat.css +16 -6
  452. package/styles/checkbox-input.css +10 -0
  453. package/styles/clickable-card.css +10 -3
  454. package/styles/collapsible.css +12 -5
  455. package/styles/command-palette.css +29 -14
  456. package/styles/complex-selector.css +22 -5
  457. package/styles/context-menu.css +3 -3
  458. package/styles/date-input.css +111 -1
  459. package/styles/dialog-header.css +4 -1
  460. package/styles/dialog.css +7 -0
  461. package/styles/dropdown-menu.css +12 -3
  462. package/styles/field.css +5 -0
  463. package/styles/form-layout.css +1 -0
  464. package/styles/heading.css +18 -8
  465. package/styles/icon.css +4 -0
  466. package/styles/kbd.css +1 -1
  467. package/styles/layer.css +72 -0
  468. package/styles/list.css +9 -2
  469. package/styles/metadata-list.css +1 -0
  470. package/styles/mobile-nav.css +4 -1
  471. package/styles/multi-selector.css +48 -1
  472. package/styles/nav-item.css +9 -2
  473. package/styles/nav-menu.css +12 -2
  474. package/styles/number-input.css +9 -1
  475. package/styles/overflow-list.css +1 -1
  476. package/styles/popover.css +2 -1
  477. package/styles/power-search.css +5 -3
  478. package/styles/pressable.css +63 -22
  479. package/styles/progress-bar.css +15 -3
  480. package/styles/radio.css +16 -0
  481. package/styles/resize-handle.css +42 -0
  482. package/styles/scrollbars.css +28 -0
  483. package/styles/segmented-control.css +12 -4
  484. package/styles/selector.css +53 -1
  485. package/styles/side-nav.css +19 -0
  486. package/styles/slider.css +4 -3
  487. package/styles/spinner.css +48 -42
  488. package/styles/stepper.css +58 -4
  489. package/styles/switch.css +26 -0
  490. package/styles/tab-list.css +132 -3
  491. package/styles/table.css +88 -10
  492. package/styles/text-area.css +1 -1
  493. package/styles/text-input.css +1 -1
  494. package/styles/text.css +6 -6
  495. package/styles/thumbnail.css +11 -3
  496. package/styles/time-input.css +8 -0
  497. package/styles/toast.css +37 -3
  498. package/styles/token.css +2 -2
  499. package/styles/tokenizer.css +1 -1
  500. package/styles/toolbar.css +4 -1
  501. package/styles/tree-list.css +1 -1
  502. package/styles/typeahead.css +34 -1
  503. package/styles.css +1 -0
  504. package/dist/Blockquote-DFqBv_oJ.js +0 -18
  505. package/dist/Breadcrumbs-DPVaziH4.js +0 -141
  506. package/dist/ButtonGroup-ySQWanDP.js +0 -125
  507. package/dist/DateTimeInput-DHp683jZ.js +0 -268
  508. package/dist/MultiSelector-BeV98x7X.js +0 -988
  509. package/dist/NumberInput-AZ9x3oja.js +0 -473
  510. package/dist/Selector-DuVozKNq.js +0 -675
  511. package/dist/Spinner-9cYUCnDy.js +0 -84
  512. package/dist/Theme-CtaUWo4g.js +0 -1246
  513. package/dist/Toast-BuqIZV5z.js +0 -322
  514. package/dist/context-4PuqD1Ic.js +0 -4
  515. package/dist/context-D5-MwxnN.js +0 -4
  516. package/dist/index-BH9PzQ1F.d.ts +0 -87
  517. package/dist/link-C4_WogdF.js +0 -18
  518. package/dist/loadCatalog-CXKqEB9s.js +0 -877
  519. package/dist/locale-DgkZEMTn.js +0 -105
  520. package/dist/platform-B_9W_aHW.js +0 -33
  521. package/dist/scrollLock-BzIvIimL.js +0 -42
  522. package/dist/useMenuPress-D-FRNrBW.js +0 -573
  523. package/dist/useScrollableArea-DDk_CluT.js +0 -172
  524. /package/dist/{index-lgvUFSCO.d.ts → index-CryFtTT6.d.ts} +0 -0
@@ -1,15 +1,16 @@
1
1
  import { t as _sfc_main$1 } from "./VisuallyHidden-C7NN3VEP.js";
2
- import { n as useButtonTooltip } from "./Button-B6Hj_O_s.js";
3
- import { t as _sfc_main$2 } from "./ButtonTooltip-nWWrth8j.js";
4
- import { t as useAnnounce } from "./announce-Cnio10Wk.js";
2
+ import { n as useButtonTooltip } from "./Button-ONOoHdkg.js";
3
+ import { t as _sfc_main$2 } from "./ButtonTooltip-CNKOQHYR.js";
4
+ import { t as useAnnounce } from "./announce-B210eJVf.js";
5
5
  import { n as selectFiles, t as formatFileSize } from "./useFileSelection-BPtaegqK.js";
6
6
  import { t as _sfc_main$3 } from "./FieldIcon--NTgW5IU.js";
7
- import { t as _sfc_main$4 } from "./IconButton-DDNgNl7B.js";
8
- import { o as useAstryxMessages } from "./context-iABt_ueM.js";
9
- import { t as _sfc_main$5 } from "./Icon-bteSId7T.js";
10
- import { t as _sfc_main$6 } from "./Spinner-9cYUCnDy.js";
11
- import { t as _sfc_main$7 } from "./Field-D5gUEGw4.js";
12
- import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, openBlock, shallowRef, toDisplayString, unref, useId, useModel, useTemplateRef, withCtx } from "vue";
7
+ import { s as useAstryxMessages } from "./context-DWfi56sq.js";
8
+ import { t as _sfc_main$4 } from "./Icon-KDnUyY7f.js";
9
+ import { t as _sfc_main$5 } from "./Spinner-DdVUadii.js";
10
+ import { t as _sfc_main$6 } from "./Field--OEsLBfE.js";
11
+ import { t as useFieldPartStyling } from "./fieldParts--SyRZVQG.js";
12
+ import { t as _sfc_main$7 } from "./InputClearButton-CwXPan8c.js";
13
+ import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, withCtx } from "vue";
13
14
  import "../styles/bordered-control.css";
14
15
  import "../styles/file-input.css";
15
16
  //#region src/FileInput/FileInput.vue
@@ -31,6 +32,7 @@ const _hoisted_3 = [
31
32
  "disabled",
32
33
  "aria-disabled",
33
34
  "aria-invalid",
35
+ "aria-busy",
34
36
  "aria-describedby"
35
37
  ];
36
38
  const _hoisted_4 = ["data-placeholder"];
@@ -62,16 +64,66 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
62
64
  status: {},
63
65
  statusVariant: { default: "attached" },
64
66
  width: {},
65
- clearLabel: {}
67
+ clearLabel: {},
68
+ changeAction: {},
69
+ containerClass: { type: [
70
+ Boolean,
71
+ null,
72
+ String,
73
+ Object,
74
+ Array
75
+ ] },
76
+ containerStyle: { type: [
77
+ Boolean,
78
+ null,
79
+ String,
80
+ Object,
81
+ Array
82
+ ] },
83
+ controlClass: { type: [
84
+ Boolean,
85
+ null,
86
+ String,
87
+ Object,
88
+ Array
89
+ ] },
90
+ controlStyle: { type: [
91
+ Boolean,
92
+ null,
93
+ String,
94
+ Object,
95
+ Array
96
+ ] }
66
97
  }, {
67
98
  "modelValue": { default: null },
68
99
  "modelModifiers": {}
69
100
  }),
70
- emits: /*@__PURE__*/ mergeModels(["update:modelValue", "change"], ["update:modelValue"]),
101
+ emits: /*@__PURE__*/ mergeModels([
102
+ "update:modelValue",
103
+ "change",
104
+ "actionError"
105
+ ], ["update:modelValue"]),
71
106
  setup(__props, { emit: __emit }) {
72
107
  const props = __props;
73
108
  const emit = __emit;
74
109
  const model = useModel(__props, "modelValue");
110
+ const attrs = useAttrs();
111
+ const parts = useFieldPartStyling({
112
+ component: "FileInput",
113
+ props,
114
+ attrs,
115
+ reservedAttrs: [
116
+ "id",
117
+ "accept",
118
+ "multiple",
119
+ "disabled",
120
+ "type",
121
+ "tabindex",
122
+ "aria-disabled",
123
+ "aria-invalid",
124
+ "aria-describedby"
125
+ ]
126
+ });
75
127
  const messages = useAstryxMessages();
76
128
  const announce = useAnnounce();
77
129
  const generatedId = `astryx-file-input-${useId()}`;
@@ -80,13 +132,15 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
80
132
  const fileInput = useTemplateRef("file");
81
133
  const controlRef = useTemplateRef("control");
82
134
  const validationError = shallowRef(null);
135
+ const pendingCount = shallowRef(0);
136
+ const isPending = computed(() => pendingCount.value > 0);
83
137
  const dragOver = shallowRef(false);
84
138
  const disabledMessageId = `${generatedId}-disabled`;
85
139
  const disabledMessage = computed(() => props.disabledMessage?.trim() || void 0);
86
140
  const showsDisabledMessage = computed(() => props.isDisabled === true && disabledMessage.value != null);
87
141
  const disabledTooltip = useButtonTooltip(showsDisabledMessage);
88
142
  const placeholder = computed(() => props.placeholder ?? (props.isMultiple ? messages.value.fileInput.placeholderMultiple : messages.value.fileInput.placeholder));
89
- const clearLabel = computed(() => props.clearLabel ?? messages.value.fileInput.clear);
143
+ const clearLabel = computed(() => props.clearLabel ?? messages.value.fileInput.clearField(props.label));
90
144
  const status = computed(() => props.status ?? (validationError.value ? {
91
145
  type: "error",
92
146
  message: validationError.value
@@ -104,6 +158,27 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
104
158
  model.value = value;
105
159
  emit("change", value);
106
160
  }
161
+ function runChangeAction(value) {
162
+ const action = props.changeAction;
163
+ if (action == null) return;
164
+ pendingCount.value += 1;
165
+ try {
166
+ const result = action(value);
167
+ if (result == null) {
168
+ pendingCount.value -= 1;
169
+ return;
170
+ }
171
+ Promise.resolve(result).then(() => {
172
+ pendingCount.value -= 1;
173
+ }, (error) => {
174
+ pendingCount.value -= 1;
175
+ emit("actionError", error, value);
176
+ });
177
+ } catch (error) {
178
+ pendingCount.value -= 1;
179
+ emit("actionError", error, value);
180
+ }
181
+ }
107
182
  function applyFiles(list) {
108
183
  if (props.isDisabled) return;
109
184
  const result = selectFiles(list, {
@@ -119,6 +194,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
119
194
  else validationError.value = null;
120
195
  const files = result.files;
121
196
  commit(files);
197
+ if (files != null) runChangeAction(files);
122
198
  if (validationError.value == null && files != null) {
123
199
  const selected = Array.isArray(files) ? files : [files];
124
200
  if (selected.length === 1 && selected[0]) announce(messages.value.fileInput.fileSelected(selected[0].name));
@@ -136,6 +212,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
136
212
  if (props.isDisabled) return;
137
213
  validationError.value = null;
138
214
  commit(null);
215
+ runChangeAction(null);
139
216
  if (fileInput.value) fileInput.value.value = "";
140
217
  }
141
218
  function onDragOver(event) {
@@ -154,7 +231,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
154
231
  }
155
232
  return (_ctx, _cache) => {
156
233
  return openBlock(), createElementBlock(Fragment, null, [
157
- createVNode(_sfc_main$7, {
234
+ createVNode(_sfc_main$6, {
158
235
  label: __props.label,
159
236
  "input-id": inputId.value,
160
237
  description: __props.description,
@@ -165,11 +242,14 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
165
242
  "is-required": __props.isRequired,
166
243
  "label-tooltip": __props.labelTooltip,
167
244
  status: status.value,
168
- "status-variant": __props.statusVariant
245
+ "status-variant": __props.statusVariant,
246
+ class: normalizeClass(unref(parts).containerClass.value),
247
+ style: normalizeStyle(unref(parts).containerStyle.value)
169
248
  }, {
170
249
  default: withCtx((field) => [createElementVNode("div", {
171
250
  ref: "control",
172
- class: "astryx-file-input astryx-bordered-control",
251
+ class: normalizeClass(["astryx-file-input astryx-bordered-control", unref(parts).controlClass()]),
252
+ style: normalizeStyle(unref(parts).controlStyle()),
173
253
  "data-mode": __props.mode,
174
254
  "data-size": __props.size,
175
255
  "data-status": status.value?.type,
@@ -189,13 +269,14 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
189
269
  tabindex: "-1",
190
270
  onChange
191
271
  }, null, 40, _hoisted_2),
192
- createElementVNode("button", {
272
+ createElementVNode("button", mergeProps(unref(parts).forwardedAttrs(), {
193
273
  id: inputId.value,
194
274
  type: "button",
195
275
  class: "astryx-file-input-trigger",
196
276
  disabled: __props.isDisabled && !showsDisabledMessage.value,
197
277
  "aria-disabled": showsDisabledMessage.value || void 0,
198
278
  "aria-invalid": status.value?.type === "error" || void 0,
279
+ "aria-busy": isPending.value || props.isLoading || void 0,
199
280
  "aria-describedby": [
200
281
  field.describedBy,
201
282
  conveysRequired.value ? requiredId : void 0,
@@ -207,33 +288,27 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
207
288
  onDrop,
208
289
  onFocus: _cache[0] || (_cache[0] = (...args) => unref(disabledTooltip).onFocus && unref(disabledTooltip).onFocus(...args)),
209
290
  onBlur: _cache[1] || (_cache[1] = (...args) => unref(disabledTooltip).onBlur && unref(disabledTooltip).onBlur(...args))
210
- }, [createVNode(_sfc_main$5, {
291
+ }), [createVNode(_sfc_main$4, {
211
292
  class: "astryx-file-input-icon",
212
293
  icon: "upload",
213
294
  size: "sm"
214
295
  }), createElementVNode("span", {
215
296
  class: "astryx-file-input-text",
216
297
  "data-placeholder": !fileLabel.value || void 0
217
- }, toDisplayString(fileLabel.value || placeholder.value), 9, _hoisted_4)], 40, _hoisted_3),
218
- fileLabel.value && !__props.isDisabled ? (openBlock(), createBlock(_sfc_main$4, {
298
+ }, toDisplayString(fileLabel.value || placeholder.value), 9, _hoisted_4)], 16, _hoisted_3),
299
+ fileLabel.value && !__props.isDisabled ? (openBlock(), createBlock(_sfc_main$7, {
219
300
  key: 0,
220
- class: "astryx-input-clear-button",
221
- variant: "ghost",
222
- size: "sm",
223
301
  label: clearLabel.value,
224
302
  onClick: clear
225
- }, {
226
- default: withCtx(() => [createVNode(_sfc_main$3, { type: "clear" })]),
227
- _: 1
228
- }, 8, ["label"])) : createCommentVNode("v-if", true),
229
- __props.isLoading ? (openBlock(), createBlock(_sfc_main$6, {
303
+ }, null, 8, ["label"])) : createCommentVNode("v-if", true),
304
+ __props.isLoading || isPending.value ? (openBlock(), createBlock(_sfc_main$5, {
230
305
  key: 1,
231
306
  size: "sm"
232
307
  })) : status.value ? (openBlock(), createBlock(_sfc_main$3, {
233
308
  key: 2,
234
309
  type: status.value.type
235
310
  }, null, 8, ["type"])) : createCommentVNode("v-if", true)
236
- ], 40, _hoisted_1), conveysRequired.value ? (openBlock(), createBlock(_sfc_main$1, {
311
+ ], 46, _hoisted_1), conveysRequired.value ? (openBlock(), createBlock(_sfc_main$1, {
237
312
  key: 0,
238
313
  id: requiredId
239
314
  }, {
@@ -252,7 +327,9 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
252
327
  "is-required",
253
328
  "label-tooltip",
254
329
  "status",
255
- "status-variant"
330
+ "status-variant",
331
+ "class",
332
+ "style"
256
333
  ]),
257
334
  showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$1, {
258
335
  key: 0,
@@ -1,2 +1,2 @@
1
- import { a as FormOptionality, i as FormLayoutDirection, n as FormLayoutProps, r as FormLayoutSlots, t as _default } from "../index-BrJzFA5X.js";
1
+ import { a as FormOptionality, i as FormLayoutDirection, n as FormLayoutProps, r as FormLayoutSlots, t as _default } from "../index-C90l2rH1.js";
2
2
  export { _default as FormLayout, type FormLayoutDirection, type FormLayoutProps, type FormLayoutSlots, type FormOptionality };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../FormLayout-D47FjiOq.js";
1
+ import { t as _sfc_main } from "../FormLayout-B9dUB6Ps.js";
2
2
  export { _sfc_main as FormLayout };
@@ -1,4 +1,4 @@
1
- import { t as formLayoutKey } from "./context-Cfjh8te1.js";
1
+ import { t as formLayoutKey } from "./context-Cfml4jaK.js";
2
2
  import { computed, createElementBlock, defineComponent, mergeProps, openBlock, provide, renderSlot, useAttrs, useTemplateRef } from "vue";
3
3
  import "../styles/form-layout.css";
4
4
  //#region src/FormLayout/FormLayout.vue
@@ -1,2 +1,2 @@
1
- import { a as HeadingLevel, c as HeadingType, d as HeadingWrap, i as HeadingJustify, l as HeadingWeight, n as HeadingColor, o as HeadingProps, r as HeadingDisplay, s as HeadingTruncateTooltip, t as _default, u as HeadingWordBreak } from "../index-D97pQbua.js";
1
+ import { a as HeadingLevel, c as HeadingType, d as HeadingWrap, i as HeadingJustify, l as HeadingWeight, n as HeadingColor, o as HeadingProps, r as HeadingDisplay, s as HeadingTruncateTooltip, t as _default, u as HeadingWordBreak } from "../index-BV2D2x_u.js";
2
2
  export { _default as Heading, type HeadingColor, type HeadingDisplay, type HeadingJustify, type HeadingLevel, type HeadingProps, type HeadingTruncateTooltip, type HeadingType, type HeadingWeight, type HeadingWordBreak, type HeadingWrap };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Heading-BnwWEWkp.js";
1
+ import { t as _sfc_main } from "../Heading-BzBunfN7.js";
2
2
  export { _sfc_main as Heading };
@@ -1,5 +1,5 @@
1
1
  import { n as useTruncation, t as truncatePlacement } from "./useTruncation-B5qXQzAP.js";
2
- import { t as _sfc_main$1 } from "./Tooltip-C4Vaqd3G.js";
2
+ import { t as _sfc_main$1 } from "./Tooltip-sAM8i1eO.js";
3
3
  import { computed, createBlock, defineComponent, mergeProps, openBlock, renderSlot, resolveDynamicComponent, unref, useAttrs, withCtx } from "vue";
4
4
  import "../styles/heading.css";
5
5
  //#region src/Heading/Heading.vue
@@ -1,2 +1,2 @@
1
- import { n as useHoverCard, t as _sfc_main } from "../HoverCard-ycY50pRN.js";
1
+ import { n as useHoverCard, t as _sfc_main } from "../HoverCard-BpJhT0sn.js";
2
2
  export { _sfc_main as HoverCard, useHoverCard };
@@ -1,10 +1,14 @@
1
- import { r as isFocusable } from "./focus-CpficIgf.js";
2
- import { n as useLayer, t as useMergedRefs } from "./useMergedRefs-CfHHlCsn.js";
1
+ import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-BmZyeKWE.js";
2
+ import { i as isFocusable } from "./focus-l8jVTcqd.js";
3
+ import { n as useLayer, t as useMergedRefs } from "./useMergedRefs-Cb6_w93m.js";
4
+ import { t as _sfc_main$1 } from "./LayerContentBoundary-CvsKxwwm.js";
5
+ import { t as useHoverLayerDismiss } from "./useHoverLayerDismiss-kYJ_NqL4.js";
3
6
  import { Fragment, Teleport, Transition, computed, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, onMounted, onScopeDispose, onUpdated, openBlock, ref, renderSlot, shallowRef, toDisplayString, toValue, unref, vShow, watch, withCtx, withDirectives } from "vue";
4
7
  import "../styles/hover-card.css";
5
- //#region src/HoverCard/useHoverCard.ts
6
- const GAP = 4;
7
- const TOUCH_POINTER_TYPES = /* @__PURE__ */ new Set(["touch", "pen"]);
8
+ //#region src/HoverCard/hoverCardTrigger.ts
9
+ /**
10
+ * 悬停卡片触发器上哪些角色能写 aria-expanded,哪些控件自己会吃掉轻点。
11
+ */
8
12
  const EXPANDABLE_ROLES = /* @__PURE__ */ new Set([
9
13
  "application",
10
14
  "button",
@@ -46,6 +50,10 @@ const ACTION_ROLES = /* @__PURE__ */ new Set([
46
50
  "tab",
47
51
  "textbox"
48
52
  ]);
53
+ /**
54
+ * aria-expanded 只在一部分 role 上合法。没有 role 的触发器只靠 aria-haspopup
55
+ * 和 aria-controls 宣告弹层。写在不合法的地方就是 aria-allowed-attr 缺陷。
56
+ */
49
57
  function supportsAriaExpanded(element) {
50
58
  const explicit = element.getAttribute("role")?.trim().split(/\s+/)[0];
51
59
  if (explicit) return EXPANDABLE_ROLES.has(explicit);
@@ -64,6 +72,7 @@ function isEditable(element) {
64
72
  const attribute = element.getAttribute("contenteditable");
65
73
  return attribute != null && attribute !== "false";
66
74
  }
75
+ /** 触发器自己会做事(按钮、链接、输入框)时,轻点属于它,不打开卡片。 */
67
76
  function isActionTrigger(element) {
68
77
  const role = element.getAttribute("role");
69
78
  if (role != null && role !== "") return ACTION_ROLES.has(role);
@@ -83,6 +92,10 @@ function mergeIds(...ids) {
83
92
  const kept = ids.filter(Boolean);
84
93
  return kept.length > 0 ? kept.join(" ") : void 0;
85
94
  }
95
+ //#endregion
96
+ //#region src/HoverCard/useHoverCard.ts
97
+ const GAP = 4;
98
+ const TOUCH_POINTER_TYPES = /* @__PURE__ */ new Set(["touch", "pen"]);
86
99
  /**
87
100
  * 对应原版 Astryx 的 `hooks/useHoverCard`:悬停触发的浮层卡片。
88
101
  * 负责悬停意图与延迟、指针从触发器移进卡片的宽限、触摸轻点、`aria-describedby` /
@@ -212,14 +225,10 @@ function useHoverCard(options = {}) {
212
225
  if (related && triggerRef.value?.contains(related)) return;
213
226
  scheduleHide();
214
227
  }
215
- function onDocumentKeydown(event) {
216
- if (event.key !== "Escape" || !isOpen.value) return;
228
+ function dismissFromEscape() {
217
229
  clearTimers();
218
230
  isHoveringContent = false;
219
- if (isControlled.value) {
220
- options.onHide?.();
221
- return;
222
- }
231
+ if (isControlled.value) return options.onHide?.();
223
232
  const hadFocus = layer.contentRef.value?.contains(document.activeElement) ?? false;
224
233
  layer.hide();
225
234
  if (hadFocus && triggerRef.value) {
@@ -227,7 +236,13 @@ function useHoverCard(options = {}) {
227
236
  triggerRef.value.focus();
228
237
  }
229
238
  }
239
+ const hoverDismiss = useHoverLayerDismiss({
240
+ isPresent: () => isOpen.value,
241
+ getContainer: () => layer.contentRef.value,
242
+ onDismiss: dismissFromEscape
243
+ });
230
244
  function onDocumentPointerDown(event) {
245
+ if (!hoverDismiss.isTop()) return;
231
246
  if (!TOUCH_POINTER_TYPES.has(event.pointerType) || !isOpen.value || isControlled.value) return;
232
247
  const target = event.target;
233
248
  if (triggerRef.value?.contains(target) || layer.contentRef.value?.contains(target)) return;
@@ -312,13 +327,8 @@ function useHoverCard(options = {}) {
312
327
  watch(isOpen, (visible) => {
313
328
  applyTriggerAttributes();
314
329
  if (typeof document === "undefined") return;
315
- if (visible) {
316
- document.addEventListener("keydown", onDocumentKeydown);
317
- document.addEventListener("pointerdown", onDocumentPointerDown, true);
318
- return;
319
- }
320
- document.removeEventListener("keydown", onDocumentKeydown);
321
- document.removeEventListener("pointerdown", onDocumentPointerDown, true);
330
+ if (visible) document.addEventListener("pointerdown", onDocumentPointerDown, true);
331
+ else document.removeEventListener("pointerdown", onDocumentPointerDown, true);
322
332
  }, { immediate: true });
323
333
  watch(() => toValue(options.isOpen), (open) => {
324
334
  clearTimers();
@@ -350,7 +360,6 @@ function useHoverCard(options = {}) {
350
360
  if (typeof document === "undefined") return;
351
361
  document.removeEventListener("pointerdown", onModalityPointerDown, true);
352
362
  document.removeEventListener("keydown", onModalityKeyDown, true);
353
- document.removeEventListener("keydown", onDocumentKeydown);
354
363
  document.removeEventListener("pointerdown", onDocumentPointerDown, true);
355
364
  });
356
365
  function show() {
@@ -441,6 +450,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
441
450
  });
442
451
  const setContentRef = useMergedRefs([surfaceRef]);
443
452
  const wrapperRef = ref(null);
453
+ const teleportTarget = useResolvedLayerTeleport(wrapperRef);
444
454
  const isTextTrigger = ref(false);
445
455
  const showIndication = computed(() => props.hasHoverIndication === true || props.hasHoverIndication === "auto" && isTextTrigger.value);
446
456
  const element = computed(() => surfaceRef.value);
@@ -473,7 +483,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
473
483
  }, _ctx.$attrs, { class: ["astryx-hover-card__trigger", {
474
484
  "astryx-hover-card__trigger--text": isTextTrigger.value,
475
485
  "astryx-hover-card__trigger--indicated": isTextTrigger.value && showIndication.value
476
- }] }), [renderSlot(_ctx.$slots, "default")], 16), (openBlock(), createBlock(Teleport, { to: "body" }, [createVNode(Transition, {
486
+ }] }), [renderSlot(_ctx.$slots, "default")], 16), (openBlock(), createBlock(Teleport, { to: unref(teleportTarget) }, [createVNode(Transition, {
477
487
  name: "astryx-hover-card",
478
488
  persisted: ""
479
489
  }, {
@@ -482,9 +492,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
482
492
  class: "astryx-hover-card",
483
493
  "data-placement": unref(resolvedPlacement),
484
494
  style: unref(surfaceStyle)
485
- }, unref(contentProps)), [createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "content", {}, () => [createTextVNode(toDisplayString(__props.content), 1)])])], 16, _hoisted_1), [[vShow, unref(isVisible)]])]),
495
+ }, unref(contentProps)), [createElementVNode("div", _hoisted_2, [createVNode(_sfc_main$1, null, {
496
+ default: withCtx(() => [renderSlot(_ctx.$slots, "content", {}, () => [createTextVNode(toDisplayString(__props.content), 1)])]),
497
+ _: 3
498
+ })])], 16, _hoisted_1), [[vShow, unref(isVisible)]])]),
486
499
  _: 3
487
- })]))], 64);
500
+ })], 8, ["to"]))], 64);
488
501
  };
489
502
  }
490
503
  });
@@ -1,5 +1,5 @@
1
- import { a as IconSize, i as IconProps, n as IconColor, o as IconSlots, r as IconName } from "../types-CwyibrRB.js";
2
- import { a as iconGlyphSlug, i as IconGlyphName, n as _default, o as isIconGlyph, r as ICON_GLYPHS, t as useSemanticIcon } from "../index-vP0EtrJJ.js";
1
+ import { a as IconRegistry, c as NamespacedIconName, i as IconProps, n as IconColor, o as IconSize, r as IconName, s as IconSlots, t as ExtendedIconName } from "../types-C5GQ2KCK.js";
2
+ import { a as iconGlyphSlug, i as IconGlyphName, n as _default, o as isIconGlyph, r as ICON_GLYPHS, t as useSemanticIcon } from "../index-C9gAlDt_.js";
3
3
  import { i as addIcon, n as IconifyIcon, r as addCollection, t as IconifyCollection } from "../registry-B1ObuP--.js";
4
- import { n as defaultSemanticIcons, r as resolveSemanticIcon, t as SemanticIconMap } from "../semantic-CKH9XVqa.js";
5
- export { ICON_GLYPHS, _default as Icon, type IconColor, type IconGlyphName, type IconName, type IconProps, type IconSize, type IconSlots, type IconifyCollection, type IconifyIcon, type SemanticIconMap, addCollection, addIcon, defaultSemanticIcons, iconGlyphSlug, isIconGlyph, resolveSemanticIcon, useSemanticIcon };
4
+ import { n as defaultSemanticIcons, r as resolveSemanticIcon, t as SemanticIconMap } from "../semantic-BF_AjLvk.js";
5
+ export { type ExtendedIconName, ICON_GLYPHS, _default as Icon, type IconColor, type IconGlyphName, type IconName, type IconProps, type IconRegistry, type IconSize, type IconSlots, type IconifyCollection, type IconifyIcon, type NamespacedIconName, type SemanticIconMap, addCollection, addIcon, defaultSemanticIcons, iconGlyphSlug, isIconGlyph, resolveSemanticIcon, useSemanticIcon };
@@ -1,3 +1,3 @@
1
- import { a as ICON_GLYPHS, i as resolveSemanticIcon, n as useSemanticIcon, o as iconGlyphSlug, r as defaultSemanticIcons, s as isIconGlyph, t as _sfc_main } from "../Icon-bteSId7T.js";
1
+ import { a as ICON_GLYPHS, i as resolveSemanticIcon, n as useSemanticIcon, o as iconGlyphSlug, r as defaultSemanticIcons, s as isIconGlyph, t as _sfc_main } from "../Icon-KDnUyY7f.js";
2
2
  import { n as addCollection, r as addIcon } from "../registry-C7OZb0PJ.js";
3
3
  export { ICON_GLYPHS, _sfc_main as Icon, addCollection, addIcon, defaultSemanticIcons, iconGlyphSlug, isIconGlyph, resolveSemanticIcon, useSemanticIcon };
@@ -1,27 +1,15 @@
1
+ import { n as useIconDefaultSize } from "./context-pjBxaMSh.js";
1
2
  import { i as getIcon, s as warnMissingIcon } from "./registry-C7OZb0PJ.js";
2
3
  import { n as themeContextKey } from "./context-Cws_tXTr.js";
3
4
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, mergeProps, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toValue, useId } from "vue";
4
5
  import "../styles/icon.css";
5
- //#region src/Icon/context.ts
6
- /**
7
- * The size an owning component supplies to the icons in its slots.
8
- *
9
- * The value is stored as given, so a caller can pass a ref or a computed and
10
- * keep the default in step with its own props.
11
- */
12
- const ICON_DEFAULT_SIZE_KEY = Symbol("astryx-icon-default-size");
13
- /**
14
- * The size inherited from the nearest owner, or `undefined` when there is none.
15
- */
16
- function useIconDefaultSize() {
17
- const inherited = inject(ICON_DEFAULT_SIZE_KEY, void 0);
18
- return computed(() => inherited == null ? void 0 : toValue(inherited));
19
- }
20
- //#endregion
21
6
  //#region src/Icon/glyphs.ts
22
7
  /**
23
8
  * The artwork kept for the components' own chrome. Applications bring their own
24
9
  * icons; this list only has to cover what astryx-vue draws itself.
10
+ *
11
+ * The shared names come first. Namespaced keys after them belong to one
12
+ * component each; a theme overrides them by key through `defineTheme({ icons })`.
25
13
  */
26
14
  const ICON_GLYPHS = [
27
15
  "close",
@@ -53,7 +41,8 @@ const ICON_GLYPHS = [
53
41
  "wrench",
54
42
  "stop",
55
43
  "microphone",
56
- "image"
44
+ "image",
45
+ "numberInput:stepperDown"
57
46
  ];
58
47
  function isIconGlyph(value) {
59
48
  return ICON_GLYPHS.includes(value);
@@ -153,6 +142,9 @@ function renderIconMarkup(icon, idPrefix) {
153
142
  *
154
143
  * The drawing is used only after that collection is registered. Until then
155
144
  * the built-in glyph stays, so a missing collection does not blank the icon.
145
+ *
146
+ * `upload` is its own name, not `arrowUp`: a theme can redraw the upload
147
+ * affordance without changing sort arrows or the send button.
156
148
  */
157
149
  const defaultSemanticIcons = {
158
150
  close: "lucide:x",
@@ -189,9 +181,9 @@ const defaultSemanticIcons = {
189
181
  /**
190
182
  * The Iconify id for a semantic name.
191
183
  *
192
- * Theme entries win, including keys the package does not ship. An unknown
193
- * name with no theme entry returns undefined, so a CSS class can still pass
194
- * through `icon`.
184
+ * Theme entries win, including keys the package does not ship, such as a
185
+ * namespaced `numberInput:stepperDown`. An unknown name with no theme entry
186
+ * returns undefined, so a CSS class can still pass through `icon`.
195
187
  */
196
188
  function resolveSemanticIcon(name, icons) {
197
189
  if (name == null || name === "") return void 0;
@@ -1,4 +1,4 @@
1
- import { t as _sfc_main } from "../IconButton-DDNgNl7B.js";
1
+ import { t as _sfc_main } from "../IconButton-DI-XBbtV.js";
2
2
  //#region src/IconButton/index.ts
3
3
  var IconButton_default = _sfc_main;
4
4
  //#endregion
@@ -1,4 +1,4 @@
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 { computed, createBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, useAttrs, useTemplateRef, withCtx } from "vue";
3
3
  //#region src/IconButton/IconButton.vue
4
4
  const _sfc_main = /*@__PURE__*/ defineComponent({
@@ -1,3 +1,3 @@
1
- import { A as IndicatorRegistry, C as IndicatorComponent, D as IndicatorName, E as IndicatorMap, M as IndicatorState, O as IndicatorPosition, S as CoreIndicatorName, T as IndicatorFamilyMap, j as IndicatorSize, k as IndicatorProps, w as IndicatorFamily } from "../types-gKsEkk2g.js";
2
- import { a as _default$1, i as isCoreIndicatorName, n as defaultIndicators, o as isRenderable, r as getIndicator, s as _default, t as useIndicator } from "../index-XuAAcYiP.js";
1
+ import { B as IndicatorRegistry, F as IndicatorFamilyMap, H as IndicatorState, I as IndicatorMap, L as IndicatorName, M as CoreIndicatorName, N as IndicatorComponent, P as IndicatorFamily, R as IndicatorPosition, V as IndicatorSize, z as IndicatorProps } from "../types-CsqwQkf1.js";
2
+ import { a as _default$1, i as isCoreIndicatorName, n as defaultIndicators, o as isRenderable, r as getIndicator, s as _default, t as useIndicator } from "../index-f3d9cVtj.js";
3
3
  export { _default as CheckIndicator, type CoreIndicatorName, type IndicatorComponent, type IndicatorFamily, type IndicatorFamilyMap, type IndicatorMap, type IndicatorName, type IndicatorPosition, type IndicatorProps, type IndicatorRegistry, type IndicatorSize, type IndicatorState, _default$1 as RadioIndicator, defaultIndicators, getIndicator, isCoreIndicatorName, isRenderable, useIndicator };
@@ -1,2 +1,3 @@
1
- import { a as _sfc_main$1, i as isCoreIndicatorName, n as defaultIndicators, o as _sfc_main, r as getIndicator, s as isRenderable, t as useIndicator } from "../useIndicator-i1NORM7W.js";
1
+ import { t as isRenderable } from "../isRenderable-BnKHIqfd.js";
2
+ import { a as _sfc_main$1, i as isCoreIndicatorName, n as defaultIndicators, o as _sfc_main, r as getIndicator, t as useIndicator } from "../useIndicator-MZmfBWid.js";
2
3
  export { _sfc_main as CheckIndicator, _sfc_main$1 as RadioIndicator, defaultIndicators, getIndicator, isCoreIndicatorName, isRenderable, useIndicator };
@@ -0,0 +1,40 @@
1
+ import { t as _sfc_main$1 } from "./FieldIcon--NTgW5IU.js";
2
+ import { t as _sfc_main$2 } from "./IconButton-DI-XBbtV.js";
3
+ import { t as useTranslator } from "./useTranslator-BmWt2BBt.js";
4
+ import { createBlock, createVNode, defineComponent, mergeProps, openBlock, unref, useAttrs, withCtx } from "vue";
5
+ //#region src/Field/InputClearButton.vue
6
+ const _sfc_main = /*@__PURE__*/ defineComponent({
7
+ name: "AstryxInputClearButton",
8
+ inheritAttrs: false,
9
+ __name: "InputClearButton",
10
+ props: { label: {} },
11
+ emits: ["click"],
12
+ setup(__props, { emit: __emit }) {
13
+ const emit = __emit;
14
+ const attrs = useAttrs();
15
+ const { t } = useTranslator();
16
+ function press(event) {
17
+ event.preventDefault();
18
+ }
19
+ return (_ctx, _cache) => {
20
+ return openBlock(), createBlock(_sfc_main$2, mergeProps(unref(attrs), {
21
+ class: "astryx-input-clear-button",
22
+ variant: "ghost",
23
+ size: "sm",
24
+ label: __props.label,
25
+ tooltip: unref(t)("@astryx.inputClearButton.tooltip"),
26
+ onPointerdown: press,
27
+ onMousedown: press,
28
+ onClick: _cache[0] || (_cache[0] = ($event) => emit("click", $event))
29
+ }), {
30
+ default: withCtx(() => [createVNode(_sfc_main$1, {
31
+ class: "astryx-input-clear-icon",
32
+ type: "clear"
33
+ })]),
34
+ _: 1
35
+ }, 16, ["label", "tooltip"]);
36
+ };
37
+ }
38
+ });
39
+ //#endregion
40
+ export { _sfc_main as t };
@@ -1,2 +1,2 @@
1
- import { a as InputGroupSlots, c as INPUT_GROUP_KEY, i as InputGroupSize, l as InputGroupContext, n as _default, o as InputGroupTextProps, r as InputGroupProps, s as InputGroupTextSlots, t as _default$1 } from "../index-CsTbMVDS.js";
1
+ import { a as InputGroupSlots, c as INPUT_GROUP_KEY, i as InputGroupSize, l as InputGroupContext, n as _default, o as InputGroupTextProps, r as InputGroupProps, s as InputGroupTextSlots, t as _default$1 } from "../index-D0_HsuC3.js";
2
2
  export { INPUT_GROUP_KEY, _default as InputGroup, type InputGroupContext, type InputGroupProps, type InputGroupSize, type InputGroupSlots, _default$1 as InputGroupText, type InputGroupTextProps, type InputGroupTextSlots };
@@ -1,3 +1,3 @@
1
- import { t as INPUT_GROUP_KEY } from "../context-D5-MwxnN.js";
2
- import { n as _sfc_main, t as _sfc_main$1 } from "../InputGroup-CA03Smrs.js";
1
+ import { t as INPUT_GROUP_KEY } from "../context-IvbU9c3T.js";
2
+ import { n as _sfc_main, t as _sfc_main$1 } from "../InputGroup-DiiocoIW.js";
3
3
  export { INPUT_GROUP_KEY, _sfc_main as InputGroup, _sfc_main$1 as InputGroupText };
@@ -1,5 +1,5 @@
1
- import { t as _sfc_main$2 } from "./Field-D5gUEGw4.js";
2
- import { t as INPUT_GROUP_KEY } from "./context-D5-MwxnN.js";
1
+ import { t as _sfc_main$2 } from "./Field--OEsLBfE.js";
2
+ import { t as INPUT_GROUP_KEY } from "./context-IvbU9c3T.js";
3
3
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeProps, normalizeClass, openBlock, provide, renderSlot, useId, withCtx } from "vue";
4
4
  import "../styles/input-group.css";
5
5
  //#region src/InputGroup/InputGroup.vue
@@ -1,2 +1,2 @@
1
- import { a as useLocaleDirection, c as ProviderMessagesByLocale, i as astryxDirectionKey, l as ProviderOverrides, n as InternationalizationProviderProps, o as TextDirection, r as InternationalizationProviderSlots, s as getLocaleDirection, t as _default, u as resolveProviderMessages } from "../index-Cyb9Du5Z.js";
1
+ import { a as useLocaleDirection, c as ProviderMessagesByLocale, i as astryxDirectionKey, l as ProviderOverrides, n as InternationalizationProviderProps, o as TextDirection, r as InternationalizationProviderSlots, s as getLocaleDirection, t as _default, u as resolveProviderMessages } from "../index-CtTGt6Dv.js";
2
2
  export { _default as InternationalizationProvider, type InternationalizationProviderProps, type InternationalizationProviderSlots, type ProviderMessagesByLocale, type ProviderOverrides, type TextDirection, astryxDirectionKey, getLocaleDirection, resolveProviderMessages, useLocaleDirection };
@@ -1,2 +1,2 @@
1
- import { a as resolveProviderMessages, i as getLocaleDirection, n as astryxDirectionKey, r as useLocaleDirection, t as _sfc_main } from "../InternationalizationProvider-DJay_w3B.js";
1
+ import { a as resolveProviderMessages, i as getLocaleDirection, n as astryxDirectionKey, r as useLocaleDirection, t as _sfc_main } from "../InternationalizationProvider-kBapgKAQ.js";
2
2
  export { _sfc_main as InternationalizationProvider, astryxDirectionKey, getLocaleDirection, resolveProviderMessages, useLocaleDirection };