@astryx-vue/core 0.3.0 → 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 (505) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-RAVA_cT1.js → AlertDialog-C2inDZWG.js} +5 -5
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-0wTvOo3H.js → AppShell-CumzH-8z.js} +3 -3
  5. package/dist/Avatar/index.js +1 -1
  6. package/dist/{Avatar-pPZ4dI_s.js → Avatar-BW0TE8t9.js} +47 -34
  7. package/dist/AvatarGroup/index.d.ts +1 -1
  8. package/dist/AvatarGroup/index.js +1 -1
  9. package/dist/{AvatarGroup-B--NQSB3.js → AvatarGroup-DLC_FFR5.js} +57 -13
  10. package/dist/Banner/index.d.ts +1 -1
  11. package/dist/Banner/index.js +1 -1
  12. package/dist/{Banner-GbGxrqQO.js → Banner-C5VAwo4D.js} +68 -34
  13. package/dist/Blockquote/index.js +1 -1
  14. package/dist/Blockquote-DRoKdcxZ.js +27 -0
  15. package/dist/BottomSheet/index.d.ts +1 -1
  16. package/dist/BottomSheet/index.js +2 -2
  17. package/dist/{BottomSheet-pt7m4CvC.js → BottomSheet-B4sc3F1S.js} +286 -140
  18. package/dist/{BottomSheet-JYMB_Ofl.js → BottomSheet-m54uCMJN.js} +20 -4
  19. package/dist/Breadcrumbs/index.d.ts +2 -2
  20. package/dist/Breadcrumbs/index.js +2 -2
  21. package/dist/Breadcrumbs-CTaz7Kh4.js +223 -0
  22. package/dist/Button/index.d.ts +1 -1
  23. package/dist/Button/index.js +1 -1
  24. package/dist/{Button-B6Hj_O_s.js → Button-ONOoHdkg.js} +25 -15
  25. package/dist/ButtonGroup/index.d.ts +1 -1
  26. package/dist/ButtonGroup/index.js +1 -1
  27. package/dist/ButtonGroup-DnkSZ9a5.js +87 -0
  28. package/dist/{ButtonTooltip-nWWrth8j.js → ButtonTooltip-CNKOQHYR.js} +7 -4
  29. package/dist/Calendar/index.d.ts +1 -1
  30. package/dist/Calendar/index.js +1 -1
  31. package/dist/{Calendar-B7vIowKq.js → Calendar-BAqzzQm2.js} +5 -5
  32. package/dist/Card/index.d.ts +2 -2
  33. package/dist/Carousel/index.js +1 -1
  34. package/dist/{Carousel-CA8zpD9v.js → Carousel-DXC22UWq.js} +4 -4
  35. package/dist/Chat/index.d.ts +1 -1
  36. package/dist/Chat/index.js +1 -1
  37. package/dist/{Chat-Bmna9EOA.js → Chat-BdJW6IX5.js} +147 -83
  38. package/dist/CheckboxIndicator/index.js +1 -1
  39. package/dist/{CheckboxIndicator-D37cm2Rh.js → CheckboxIndicator-fH4d-JE1.js} +9 -3
  40. package/dist/CheckboxInput/index.d.ts +1 -1
  41. package/dist/CheckboxInput/index.js +1 -1
  42. package/dist/{CheckboxInput-BS9J6edf.js → CheckboxInput-DJHCbwgC.js} +19 -11
  43. package/dist/CheckboxList/index.d.ts +1 -1
  44. package/dist/CheckboxList/index.js +1 -1
  45. package/dist/{CheckboxList-CX1i_jVP.js → CheckboxList-BdZIP4_J.js} +155 -38
  46. package/dist/Citation/index.js +1 -1
  47. package/dist/{Citation-Djgwa0ko.js → Citation-DbZn2vms.js} +8 -3
  48. package/dist/ClickableCard/index.d.ts +1 -1
  49. package/dist/ClickableCard/index.js +1 -1
  50. package/dist/{ClickableCard-DUsC-j03.js → ClickableCard-ChAfiw9T.js} +9 -6
  51. package/dist/Code/index.js +3 -3
  52. package/dist/{Code-XnPuGxey.js → Code-Bg7GBdxy.js} +2 -1
  53. package/dist/{CodeBlock-D0BFubut.js → CodeBlock-Caaflp7C.js} +3 -3
  54. package/dist/Collapsible/index.d.ts +1 -1
  55. package/dist/Collapsible/index.js +1 -1
  56. package/dist/{Collapsible-Cov3Pyq5.js → Collapsible-Bdj0WYpb.js} +13 -11
  57. package/dist/CommandPalette/index.d.ts +1 -1
  58. package/dist/CommandPalette/index.js +1 -1
  59. package/dist/{CommandPalette-YHsUNg3V.js → CommandPalette-C_MClfAg.js} +143 -63
  60. package/dist/ComplexSelector/index.d.ts +1 -1
  61. package/dist/ComplexSelector/index.js +1 -1
  62. package/dist/{ComplexSelector-DWLdKPGI.js → ComplexSelector-BeVQaqRf.js} +85 -20
  63. package/dist/ContextMenu/index.d.ts +2 -2
  64. package/dist/ContextMenu/index.js +2 -2
  65. package/dist/{ContextMenu-Bq9b3Ti5.js → ContextMenu-C6hPYvYz.js} +297 -179
  66. package/dist/DateInput/index.d.ts +1 -1
  67. package/dist/DateInput/index.js +1 -1
  68. package/dist/{DateInput-DT518j5E.js → DateInput-BjLdmYor.js} +567 -76
  69. package/dist/DateRangeInput/index.d.ts +1 -1
  70. package/dist/DateRangeInput/index.js +1 -1
  71. package/dist/{DateRangeInput-Bqi5tlIA.js → DateRangeInput-Br3wVEfD.js} +85 -20
  72. package/dist/DateTimeInput/index.d.ts +1 -1
  73. package/dist/DateTimeInput/index.js +1 -1
  74. package/dist/DateTimeInput-CAZBwoRe.js +562 -0
  75. package/dist/Dialog/index.d.ts +1 -1
  76. package/dist/Dialog/index.js +2 -2
  77. package/dist/{Dialog-BiOSKQso.js → Dialog-Dce4Y97V.js} +28 -11
  78. package/dist/{Dialog-FGHfDu5M.js → Dialog-fhyxB00e.js} +32 -5
  79. package/dist/Divider/index.d.ts +1 -1
  80. package/dist/Divider/index.js +1 -1
  81. package/dist/{Divider-BtwnL18I.js → Divider-mOZ6vIQw.js} +5 -1
  82. package/dist/DropdownMenu/index.d.ts +2 -2
  83. package/dist/DropdownMenu/index.js +3 -3
  84. package/dist/{DropdownMenu-CoOQVlRp.js → DropdownMenu-BdGmQVb1.js} +85 -57
  85. package/dist/{DropdownMenu-DEb2dSSP.js → DropdownMenu-BzQrNV9C.js} +479 -264
  86. package/dist/{DropdownMenuRadioItem.vue-CXEURBcq.d.ts → DropdownMenuRadioItem.vue-Qd-8Rg4Q.d.ts} +236 -230
  87. package/dist/EmptyState/index.js +1 -1
  88. package/dist/{EmptyState-C_GH7IV5.js → EmptyState-CmOQf2SH.js} +2 -2
  89. package/dist/Field/index.d.ts +4 -3
  90. package/dist/Field/index.js +4 -3
  91. package/dist/{Field-D5gUEGw4.js → Field--OEsLBfE.js} +4 -3
  92. package/dist/{FieldInfoTip-Ds-sW_jY.js → FieldInfoTip-gxsnfkZw.js} +3 -3
  93. package/dist/{FieldLabel-BNeXRuGH.js → FieldLabel-jxIiWgLw.js} +12 -7
  94. package/dist/FieldStatus/index.d.ts +1 -1
  95. package/dist/FileInput/index.d.ts +1 -1
  96. package/dist/FileInput/index.js +1 -1
  97. package/dist/{FileInput-BpdiO1V8.js → FileInput-B_pUxB0Y.js} +106 -29
  98. package/dist/FormLayout/index.d.ts +1 -1
  99. package/dist/FormLayout/index.js +1 -1
  100. package/dist/{FormLayout-D47FjiOq.js → FormLayout-B9dUB6Ps.js} +1 -1
  101. package/dist/Heading/index.d.ts +1 -1
  102. package/dist/Heading/index.js +1 -1
  103. package/dist/{Heading-BnwWEWkp.js → Heading-BzBunfN7.js} +1 -1
  104. package/dist/HoverCard/index.js +1 -1
  105. package/dist/{HoverCard-ycY50pRN.js → HoverCard-BpJhT0sn.js} +35 -22
  106. package/dist/Icon/index.d.ts +4 -4
  107. package/dist/Icon/index.js +1 -1
  108. package/dist/{Icon-bteSId7T.js → Icon-KDnUyY7f.js} +12 -20
  109. package/dist/IconButton/index.js +1 -1
  110. package/dist/{IconButton-DDNgNl7B.js → IconButton-DI-XBbtV.js} +1 -1
  111. package/dist/Indicator/index.d.ts +2 -2
  112. package/dist/Indicator/index.js +2 -1
  113. package/dist/InputClearButton-CwXPan8c.js +40 -0
  114. package/dist/InputGroup/index.d.ts +1 -1
  115. package/dist/InputGroup/index.js +2 -2
  116. package/dist/{InputGroup-CA03Smrs.js → InputGroup-DiiocoIW.js} +2 -2
  117. package/dist/InternationalizationProvider/index.d.ts +1 -1
  118. package/dist/InternationalizationProvider/index.js +1 -1
  119. package/dist/{InternationalizationProvider-DJay_w3B.js → InternationalizationProvider-kBapgKAQ.js} +5 -9
  120. package/dist/{Item-KhFKX9St.js → Item-DWMIjN8n.js} +34 -9
  121. package/dist/Kbd/index.js +1 -1
  122. package/dist/{Kbd-BB-Dw6zE.js → Kbd-CV3LO2Ge.js} +18 -2
  123. package/dist/LayerContentBoundary-CvsKxwwm.js +27 -0
  124. package/dist/LayerProvider/index.js +1 -1
  125. package/dist/{LayerProvider-D9NsQFzL.js → LayerProvider-B6zpMBWC.js} +15 -3
  126. package/dist/Layout/index.d.ts +1 -1
  127. package/dist/Layout/index.js +2 -2
  128. package/dist/{Layout-C6RHllr-.js → Layout-JJRCG7Mf.js} +1 -1
  129. package/dist/{LayoutPanel-DXOsaeQb.js → LayoutPanel-zM5vjrKS.js} +12 -8
  130. package/dist/Lightbox/index.js +1 -1
  131. package/dist/{Lightbox-DTF9EdTG.js → Lightbox-D8wyPgMK.js} +8 -6
  132. package/dist/Link/index.js +1 -1
  133. package/dist/{Link-BqHCtiyt.js → Link-DweIpOtN.js} +29 -12
  134. package/dist/List/index.d.ts +1 -1
  135. package/dist/List/index.js +2 -2
  136. package/dist/{ListItem-8RWT8XAG.js → ListItem-BQXMu1Tb.js} +1 -1
  137. package/dist/Markdown/index.d.ts +5 -2
  138. package/dist/Markdown/index.js +5 -2
  139. package/dist/Markdown/parser/index.d.ts +4 -0
  140. package/dist/Markdown/parser/index.js +3 -0
  141. package/dist/Markdown/plugin-protocol/index.d.ts +35 -0
  142. package/dist/Markdown/plugin-protocol/index.js +107 -0
  143. package/dist/Markdown/plugin-renderer/index.d.ts +31 -0
  144. package/dist/Markdown/plugin-renderer/index.js +42 -0
  145. package/dist/{Markdown-CvtN7HnF.js → Markdown-DhVfOvXk.js} +195 -484
  146. package/dist/MediaTheme-DlLqYhDy.js +433 -0
  147. package/dist/MetadataList/index.js +1 -1
  148. package/dist/{MetadataList-B-OelQlt.js → MetadataList-CEYceIlN.js} +15 -7
  149. package/dist/MobileNav/index.js +1 -1
  150. package/dist/{MobileNavToggle-DxGz0xKA.js → MobileNavToggle-pdoJFZHx.js} +52 -17
  151. package/dist/MoreMenu/index.d.ts +1 -1
  152. package/dist/MoreMenu/index.js +1 -1
  153. package/dist/{MoreMenu-Dlb7MLlW.js → MoreMenu-CFNqSRev.js} +72 -59
  154. package/dist/MultiSelector/index.d.ts +1 -1
  155. package/dist/MultiSelector/index.js +1 -1
  156. package/dist/MultiSelector-DuVatmq5.js +1456 -0
  157. package/dist/{NavDisclosure-C_fugrQ3.js → NavDisclosure-Bq9DTZLO.js} +29 -7
  158. package/dist/{NavHeadingSurface-B3yJspSN.js → NavHeadingSurface-C4v_MtkX.js} +29 -26
  159. package/dist/NavItem/index.d.ts +1 -1
  160. package/dist/NavItem/index.js +2 -2
  161. package/dist/{NavItem-BBIGSvDj.js → NavItem-BPb3yfgz.js} +17 -4
  162. package/dist/NavMenu/index.d.ts +1 -1
  163. package/dist/NavMenu/index.js +3 -3
  164. package/dist/{NavMenu-ThXguZAz.js → NavMenu-BYIDzjix.js} +42 -15
  165. package/dist/{NavMenuItem-BvJNsDFC.js → NavMenuItem-D3FO90GR.js} +14 -12
  166. package/dist/NumberInput/index.d.ts +1 -1
  167. package/dist/NumberInput/index.js +1 -1
  168. package/dist/NumberInput-B0vzOg3N.js +727 -0
  169. package/dist/Outline/index.d.ts +2 -2
  170. package/dist/Outline/index.js +2 -2
  171. package/dist/{Outline-755h-lMP.js → Outline-CfGv2F1o.js} +91 -6
  172. package/dist/OverflowList/index.d.ts +2 -2
  173. package/dist/OverflowList/index.js +1 -1
  174. package/dist/{OverflowList-NmrSMbxb.js → OverflowList-BgRLZ3dh.js} +23 -6
  175. package/dist/Pagination/index.d.ts +1 -1
  176. package/dist/Pagination/index.js +1 -1
  177. package/dist/{Pagination-DqwNQFRp.js → Pagination-Bfe12018.js} +2 -2
  178. package/dist/PickerWheel-CSwUYfes.js +69 -0
  179. package/dist/Popover/index.d.ts +1 -1
  180. package/dist/Popover/index.js +1 -1
  181. package/dist/{Popover-DJf8POzL.js → Popover-78dFjTb9.js} +20 -15
  182. package/dist/PowerSearch/index.d.ts +1 -1
  183. package/dist/PowerSearch/index.js +1 -1
  184. package/dist/{PowerSearch-DvjiPqMZ.js → PowerSearch-BoAMdFaT.js} +774 -586
  185. package/dist/ProgressBar/index.d.ts +1 -1
  186. package/dist/ProgressBar/index.js +1 -1
  187. package/dist/{ProgressBar-CVLzdoBK.js → ProgressBar-VP4JS7vm.js} +10 -7
  188. package/dist/Radio/index.d.ts +1 -1
  189. package/dist/Radio/index.js +1 -1
  190. package/dist/{RadioGroup-Bfu6JSNV.js → RadioGroup-BIipql-L.js} +94 -26
  191. package/dist/RadioList/index.d.ts +1 -1
  192. package/dist/RadioList/index.js +1 -1
  193. package/dist/{RadioList-xY1cwLdZ.js → RadioList-GyhgBg4j.js} +57 -8
  194. package/dist/Resizable/index.d.ts +1 -1
  195. package/dist/Resizable/index.js +1 -1
  196. package/dist/{ResizeHandle-q4nD_586.js → ResizeHandle-TPlUCAHD.js} +103 -50
  197. package/dist/ScrollableArea/index.d.ts +1 -1
  198. package/dist/ScrollableArea/index.js +1 -1
  199. package/dist/{ScrollableArea-D4dCJv9I.js → ScrollableArea-0u6RWtGG.js} +1 -1
  200. package/dist/SegmentedControl/index.d.ts +1 -1
  201. package/dist/SegmentedControl/index.js +1 -1
  202. package/dist/{SegmentedControl-ChHmFrrC.js → SegmentedControl-D1wWGBZo.js} +11 -5
  203. package/dist/SelectableCard/index.d.ts +1 -1
  204. package/dist/SelectableCard/index.js +1 -1
  205. package/dist/{SelectableCard-Cku4dRzc.js → SelectableCard-BEqnhPaX.js} +16 -11
  206. package/dist/Selector/index.d.ts +1 -1
  207. package/dist/Selector/index.js +1 -1
  208. package/dist/Selector-CPISLzp7.js +1049 -0
  209. package/dist/SideNav/index.d.ts +1 -1
  210. package/dist/SideNav/index.js +1 -1
  211. package/dist/{SideNav-BF8mYDxl.js → SideNav-CN2QeAtY.js} +51 -37
  212. package/dist/Slider/index.d.ts +1 -1
  213. package/dist/Slider/index.js +1 -1
  214. package/dist/{Slider-DWobsPgm.js → Slider-pdC0jpHu.js} +172 -46
  215. package/dist/Spinner/index.js +1 -1
  216. package/dist/Spinner-DdVUadii.js +200 -0
  217. package/dist/Stack/index.d.ts +1 -1
  218. package/dist/Stack/index.js +2 -2
  219. package/dist/{Stack-CTsTFfar.js → Stack-Bb_h60t3.js} +1 -1
  220. package/dist/{Stack-kQlYbbL4.js → Stack-Bp-XN9J4.js} +12 -7
  221. package/dist/StatusDot/index.d.ts +1 -1
  222. package/dist/StatusDot/index.js +1 -1
  223. package/dist/{StatusDot-BPUhMOff.js → StatusDot-BS_ohXhd.js} +8 -4
  224. package/dist/Stepper/index.js +1 -1
  225. package/dist/{Stepper-CE8dHysu.js → Stepper-CyaSRSdu.js} +101 -79
  226. package/dist/Switch/index.d.ts +1 -1
  227. package/dist/Switch/index.js +1 -1
  228. package/dist/{Switch-DaVPRxvN.js → Switch-Z2Vfiiic.js} +38 -22
  229. package/dist/TabList/index.d.ts +2 -2
  230. package/dist/TabList/index.js +1 -1
  231. package/dist/{TabList-DIkK9sgK.js → TabList-DRqP0Hrv.js} +205 -63
  232. package/dist/Table/index.d.ts +3 -3
  233. package/dist/Table/index.js +1 -1
  234. package/dist/{Table-fecqnm7P.js → Table-BcrrylMX.js} +726 -452
  235. package/dist/Text/index.d.ts +1 -1
  236. package/dist/Text/index.js +1 -1
  237. package/dist/{Text-CV3LmscH.js → Text-CmTOgYXf.js} +1 -1
  238. package/dist/TextArea/index.d.ts +1 -1
  239. package/dist/TextArea/index.js +1 -1
  240. package/dist/{TextArea-Ab5Sw60T.js → TextArea-DA9CCG_J.js} +104 -50
  241. package/dist/TextInput/index.d.ts +1 -1
  242. package/dist/TextInput/index.js +1 -1
  243. package/dist/{TextInput-zFT1_qgI.js → TextInput-CI96einV.js} +71 -38
  244. package/dist/Theme/index.d.ts +3 -3
  245. package/dist/Theme/index.js +3 -2
  246. package/dist/Theme-BbDT8B_C.js +2125 -0
  247. package/dist/Thumbnail/index.js +1 -1
  248. package/dist/{Thumbnail-C3NnJUFG.js → Thumbnail-B2ZAY59J.js} +13 -10
  249. package/dist/{TimeField-CoHDGmsP.js → TimeField-CpAgja9D.js} +297 -40
  250. package/dist/TimeInput/index.d.ts +1 -1
  251. package/dist/TimeInput/index.js +1 -1
  252. package/dist/{TimeInput-D2k3Ux3p.js → TimeInput-Bw_lHS4M.js} +78 -9
  253. package/dist/Timer/index.d.ts +1 -1
  254. package/dist/Timer/index.js +1 -1
  255. package/dist/{Timer-avMQk5DN.js → Timer-CH7GsEVu.js} +1 -1
  256. package/dist/Timestamp/index.d.ts +1 -1
  257. package/dist/Timestamp/index.js +1 -1
  258. package/dist/{Timestamp-xpQKCk0d.js → Timestamp-BFNuoTZ0.js} +5 -5
  259. package/dist/Toast/index.d.ts +1 -1
  260. package/dist/Toast/index.js +1 -1
  261. package/dist/Toast-DwnPjx6j.js +685 -0
  262. package/dist/ToggleButton/index.d.ts +1 -1
  263. package/dist/ToggleButton/index.js +1 -1
  264. package/dist/{ToggleButton-B-C-Q7XP.js → ToggleButton-cLjh9W-x.js} +5 -4
  265. package/dist/Token/index.d.ts +1 -1
  266. package/dist/Token/index.js +1 -1
  267. package/dist/{Token-DsntTYhQ.js → Token-BfS4vi__.js} +32 -17
  268. package/dist/Tokenizer/index.d.ts +1 -1
  269. package/dist/Tokenizer/index.js +1 -1
  270. package/dist/{Tokenizer-B5C_qY7t.js → Tokenizer-Ci3E5bvP.js} +107 -23
  271. package/dist/Toolbar/index.d.ts +2 -2
  272. package/dist/Toolbar/index.js +1 -1
  273. package/dist/{Toolbar-BrgvvTCk.js → Toolbar-C0pMWL4S.js} +1 -1
  274. package/dist/Tooltip/index.d.ts +1 -1
  275. package/dist/Tooltip/index.js +1 -1
  276. package/dist/{Tooltip-C4Vaqd3G.js → Tooltip-sAM8i1eO.js} +23 -19
  277. package/dist/TopNav/index.d.ts +1 -1
  278. package/dist/TopNav/index.js +1 -1
  279. package/dist/{TopNav-Ciq0l1w7.js → TopNav-gW59zp1o.js} +16 -15
  280. package/dist/TreeList/index.d.ts +1 -1
  281. package/dist/TreeList/index.js +1 -1
  282. package/dist/{TreeList-BUz-KZJd.js → TreeList-DaoI7zaH.js} +124 -41
  283. package/dist/Typeahead/index.d.ts +1 -1
  284. package/dist/Typeahead/index.js +2 -2
  285. package/dist/{Typeahead-JP9RT87x.js → Typeahead-D4JjvjK4.js} +123 -26
  286. package/dist/{TypeaheadMenu-DBW6rHeO.js → TypeaheadMenu-BQlMrfqX.js} +141 -51
  287. package/dist/{announce-Cnio10Wk.js → announce-B210eJVf.js} +17 -2
  288. package/dist/characterReferences-BJ-jLhsR.js +65 -0
  289. package/dist/characters-rcDbGt71.d.ts +29 -0
  290. package/dist/characters-wTnzjkkR.js +58 -0
  291. package/dist/{colorMode-CBgdgDSn.js → colorMode-BxqfDP4P.js} +1 -4
  292. package/dist/composables/index.d.ts +5 -4
  293. package/dist/composables/index.js +23 -18
  294. package/dist/{composables-CbKx9C1Y.js → composables-Bc02zKAO.js} +167 -197
  295. package/dist/context-B6UElI5X.js +5 -0
  296. package/dist/{context-Cfjh8te1.js → context-Cfml4jaK.js} +5 -3
  297. package/dist/{context-iABt_ueM.js → context-DWfi56sq.js} +451 -122
  298. package/dist/context-IvbU9c3T.js +8 -0
  299. package/dist/context-pjBxaMSh.js +28 -0
  300. package/dist/fieldParts--SyRZVQG.js +44 -0
  301. package/dist/fieldParts-LXpQMKE8.d.ts +27 -0
  302. package/dist/{focus-CpficIgf.js → focus-l8jVTcqd.js} +1 -1
  303. package/dist/hoverIntent-DMHGb85c.js +115 -0
  304. package/dist/{index-Cde5JvtX.d.ts → index-B-nESNam.d.ts} +8 -7
  305. package/dist/{index-CsNi1I8j.d.ts → index-B08-Uxhv.d.ts} +4 -2
  306. package/dist/{index-Cn-sSds-.d.ts → index-B56j4eI2.d.ts} +24 -1
  307. package/dist/{index-BkjSF265.d.ts → index-BEZ4ezJk.d.ts} +3 -3
  308. package/dist/{index-DeQwYJbg.d.ts → index-BNaRK-s5.d.ts} +10 -1
  309. package/dist/{index-0QGtSf3r.d.ts → index-BO9TY87G.d.ts} +3 -2
  310. package/dist/{index-IBAInumL.d.ts → index-BQEJj72c.d.ts} +23 -10
  311. package/dist/{index-D97pQbua.d.ts → index-BV2D2x_u.d.ts} +1 -1
  312. package/dist/{index-Crp3NFLW.d.ts → index-BZKgbyN9.d.ts} +1 -1
  313. package/dist/index-BkUkm6Al.d.ts +11 -0
  314. package/dist/{index-ClNU2Th8.d.ts → index-Bn-v89Vt.d.ts} +10 -6
  315. package/dist/{index-Bu8NA2SD.d.ts → index-BnEhvmdR.d.ts} +16 -7
  316. package/dist/index-Bo-ofFyg.d.ts +166 -0
  317. package/dist/{index-i0tNFWfz.d.ts → index-BqhgeAT4.d.ts} +2 -0
  318. package/dist/{index-DWh2WC8W.d.ts → index-C4Cjz6OK.d.ts} +2 -2
  319. package/dist/{index-B7yhzGUT.d.ts → index-C7sam-SB.d.ts} +2 -2
  320. package/dist/{index-BrJzFA5X.d.ts → index-C90l2rH1.d.ts} +1 -1
  321. package/dist/{index-vP0EtrJJ.d.ts → index-C9gAlDt_.d.ts} +6 -3
  322. package/dist/{index-xrzJC4wm.d.ts → index-CJ6ajsUC.d.ts} +1 -1
  323. package/dist/{index-B9e52paP.d.ts → index-CK-Dbh0f.d.ts} +1 -1
  324. package/dist/index-CKUfpmFL.d.ts +375 -0
  325. package/dist/{index-DXpSFlPG.d.ts → index-CKgBTAzC.d.ts} +4 -4
  326. package/dist/{index-gW0HW02U.d.ts → index-COxy6LEW.d.ts} +1 -1
  327. package/dist/{index-B4OOtNP8.d.ts → index-CPtDjmcX.d.ts} +3 -3
  328. package/dist/{index-12QYAbiz.d.ts → index-CRrSHbok.d.ts} +3 -2
  329. package/dist/{index-DG52Bg0W.d.ts → index-CTf3SK0b.d.ts} +6 -0
  330. package/dist/{index-BVKivP59.d.ts → index-CTjkJP4x.d.ts} +32 -3
  331. package/dist/{index-COgrQZIL.d.ts → index-CdvmnNMH.d.ts} +1 -1
  332. package/dist/{index-GI9xIV9l.d.ts → index-CikMzeab.d.ts} +2 -2
  333. package/dist/{index-DUaLJO7l.d.ts → index-CpNlPLBF.d.ts} +172 -126
  334. package/dist/{index-yT1yiiww.d.ts → index-Cs1xsHKi.d.ts} +24 -12
  335. package/dist/{index-Cyb9Du5Z.d.ts → index-CtTGt6Dv.d.ts} +1 -1
  336. package/dist/{index-Byar3h1e.d.ts → index-D05JGsT3.d.ts} +6 -3
  337. package/dist/{index-B3Fomy15.d.ts → index-D0_HsuC3.d.ts} +3 -3
  338. package/dist/{index-BgT6mH3U.d.ts → index-D7ShT2c-.d.ts} +1 -1
  339. package/dist/{index-CkKPMIeX.d.ts → index-D7XRtUTY.d.ts} +9 -0
  340. package/dist/{index-TntQsADQ.d.ts → index-DEm3kRBO.d.ts} +4 -3
  341. package/dist/{index-C2nbK2AA.d.ts → index-DLAG3m9W.d.ts} +13 -3
  342. package/dist/{index-DVmgNb78.d.ts → index-DRJZ-v1E.d.ts} +4 -4
  343. package/dist/{index-CL1T2j4y.d.ts → index-DY8Wph-A.d.ts} +3 -3
  344. package/dist/{index-B1WJxt-n.d.ts → index-DfC05uKG.d.ts} +17 -7
  345. package/dist/{index-C5e-7Obr.d.ts → index-Dj1_1t3j.d.ts} +19 -6
  346. package/dist/{index-D41_xqjs.d.ts → index-Dr4b_oji.d.ts} +20 -13
  347. package/dist/{index-CqE4Bf3Q.d.ts → index-Ds201-d2.d.ts} +16 -2
  348. package/dist/{index-DIXAzTKL.d.ts → index-DxxudRgB.d.ts} +1 -1
  349. package/dist/{index-B42oE_F-.d.ts → index-IfsSCj8J.d.ts} +18 -5
  350. package/dist/{index-XuAAcYiP.d.ts → index-f3d9cVtj.d.ts} +1 -1
  351. package/dist/{index-T2FOcOuI.d.ts → index-jOwU3YoR.d.ts} +400 -90
  352. package/dist/{index-CICeEoZV.d.ts → index-pNtfr-RW.d.ts} +1 -1
  353. package/dist/{index-BhpAUzUr.d.ts → index-unAZVFGz.d.ts} +2 -2
  354. package/dist/index.d.ts +80 -74
  355. package/dist/index.js +149 -134
  356. package/dist/inlineSize-BNe8wggI.js +66 -0
  357. package/dist/inputPresentation-BOyHkCDr.js +62 -0
  358. package/dist/interactionModality-ACpTMhak.js +44 -0
  359. package/dist/isApplePlatform-B1ju6F5B.js +27 -0
  360. package/dist/isRenderable-BnKHIqfd.js +21 -0
  361. package/dist/layerDepth-CNDh-IHb.js +181 -0
  362. package/dist/link-DuuA2eCL.js +30 -0
  363. package/dist/{loadCatalog-BGHKG_9N.d.ts → loadCatalog-DlLFZreI.d.ts} +281 -7
  364. package/dist/loadCatalog-eopw74qb.js +424 -0
  365. package/dist/locale/index.d.ts +2 -2
  366. package/dist/locale/index.js +4 -3
  367. package/dist/locale-CabGJlGp.js +343 -0
  368. package/dist/modalOutlet-CUOcrhIu.js +56 -0
  369. package/dist/optionAction-Cg7xQLUA.d.ts +6 -0
  370. package/dist/{power-search-DrDfcoL1.d.ts → power-search-gHLIYXs5.d.ts} +2 -0
  371. package/dist/protocol-DHxY0NI8.js +113 -0
  372. package/dist/protocol-RSeMzAN1.d.ts +238 -0
  373. package/dist/publicParser-B0MRoikr.d.ts +141 -0
  374. package/dist/publicParser-uHC_T0Fo.js +895 -0
  375. package/dist/resizableChannel-3vivrEcT.js +20 -0
  376. package/dist/safeUrl-CsvfcZ9m.js +54 -0
  377. package/dist/scopedProvide-C-Df7c15.js +30 -0
  378. package/dist/scrollKeyboardDelegation-D7cumnOl.js +238 -0
  379. package/dist/scrollLock-C3aT4-0z.js +102 -0
  380. package/dist/{searchResultMessage-hXXNOFJP.js → searchResultMessage-mCpJBvra.js} +5 -14
  381. package/dist/{semantic-CKH9XVqa.d.ts → semantic-BF_AjLvk.d.ts} +6 -3
  382. package/dist/slug-C65CUsf9.js +32 -0
  383. package/dist/syntaxContext-DmIfNNtb.js +4 -0
  384. package/dist/triggerVariant-BsL8jMHs.js +16 -0
  385. package/dist/{types-0Q_SJv_F.d.ts → types-Bb7OGivY.d.ts} +6 -1
  386. package/dist/{types-CwyibrRB.d.ts → types-C5GQ2KCK.d.ts} +23 -3
  387. package/dist/{types-gKsEkk2g.d.ts → types-CsqwQkf1.d.ts} +143 -10
  388. package/dist/upstreamMap-xr3gvREu.js +731 -0
  389. package/dist/{useAnchoredListbox-DwztMNjP.js → useAnchoredListbox-DGxxKHZb.js} +2 -2
  390. package/dist/{useAsyncSource-xpQovjV_.d.ts → useAsyncSource-aGzrvRkI.d.ts} +3 -0
  391. package/dist/{useClickableContainer-DyNpnSEa.js → useClickableContainer-CdGp_Cev.js} +1 -1
  392. package/dist/{useClipboard-BDfbEsWd.js → useClipboard-Dk8cS810.js} +1 -1
  393. package/dist/useHoverLayerDismiss-kYJ_NqL4.js +27 -0
  394. package/dist/{useIndicator-i1NORM7W.js → useIndicator-MZmfBWid.js} +5 -23
  395. package/dist/{useInputContainer-CpgDe2-4.js → useInputContainer-CLcYrby4.js} +1 -1
  396. package/dist/{useInputStatusIcon-DBOwxV4x.js → useInputStatusIcon-DAE7PExr.js} +1 -1
  397. package/dist/useLayerMountTarget-BmZyeKWE.js +156 -0
  398. package/dist/{useListFocus-D0iOJl39.js → useListFocus-ChxLg0b4.js} +3 -2
  399. package/dist/{useMenuDrillIn-DzKGkTho.js → useMenuDrillIn-DhUnPvKs.js} +6 -5
  400. package/dist/useMenuHover-Djreu23i.js +170 -0
  401. package/dist/useMenuPress-8foxY8z4.js +764 -0
  402. package/dist/{useMergedRefs-CfHHlCsn.js → useMergedRefs-Cb6_w93m.js} +24 -4
  403. package/dist/{useNumberField-4-dIGVed.js → useNumberField-Dk1BE3-K.js} +3 -3
  404. package/dist/useOptionActionGrid-CkJcuvaU.js +97 -0
  405. package/dist/{usePositionedLayer-Cru9_00b.js → usePositionedLayer-B7cvG-_v.js} +43 -49
  406. package/dist/usePressFeedback-BJCpjEpv.js +319 -0
  407. package/dist/{useResizable-DDwPpPe6.d.ts → useResizable-1MHPNaRD.d.ts} +19 -1
  408. package/dist/{useResizable-B3ahKLoZ.js → useResizable-I3BCiLSL.js} +72 -40
  409. package/dist/useResolvedLabelHidden-B2rlWiaI.js +30 -0
  410. package/dist/{useRestoreFocus-Djw9RUIf.js → useRestoreFocus-XEKs5-gp.js} +49 -7
  411. package/dist/useScrollOverflow-DuMoGXmm.js +67 -0
  412. package/dist/useScrollableArea-BE8b3qm7.js +222 -0
  413. package/dist/{useTimeValue-6ufHM15W.js → useTimeValue-BJd0xBhG.js} +4 -22
  414. package/dist/useTranslator-BmWt2BBt.js +35 -0
  415. package/dist/{useTypeahead-PAK8lMYz.js → useTypeahead-BvtflkRk.js} +4 -5
  416. package/dist/utils/index.d.ts +3 -0
  417. package/dist/utils/index.js +5 -0
  418. package/dist/{utils-D33VQDnk.js → utils-ClVseK2w.js} +29 -2
  419. package/dist/utils-z3Q6BGIJ.js +819 -0
  420. package/locales/SOURCE.json +1 -1
  421. package/package.json +18 -2
  422. package/reset.css +364 -1
  423. package/styles/avatar-group.css +9 -1
  424. package/styles/badge.css +8 -5
  425. package/styles/banner.css +124 -26
  426. package/styles/blockquote.css +1 -0
  427. package/styles/bordered-control.css +1 -1
  428. package/styles/bottom-sheet.css +74 -6
  429. package/styles/breadcrumbs.css +16 -2
  430. package/styles/button-group.css +3 -1
  431. package/styles/button.css +53 -11
  432. package/styles/card.css +1 -1
  433. package/styles/chat.css +16 -6
  434. package/styles/checkbox-input.css +10 -0
  435. package/styles/clickable-card.css +10 -3
  436. package/styles/collapsible.css +12 -5
  437. package/styles/command-palette.css +29 -14
  438. package/styles/complex-selector.css +22 -5
  439. package/styles/context-menu.css +3 -3
  440. package/styles/date-input.css +111 -1
  441. package/styles/dialog-header.css +4 -1
  442. package/styles/dialog.css +7 -0
  443. package/styles/dropdown-menu.css +12 -3
  444. package/styles/field.css +5 -0
  445. package/styles/form-layout.css +1 -0
  446. package/styles/heading.css +18 -8
  447. package/styles/icon.css +4 -0
  448. package/styles/kbd.css +1 -1
  449. package/styles/layer.css +72 -0
  450. package/styles/list.css +9 -2
  451. package/styles/metadata-list.css +1 -0
  452. package/styles/mobile-nav.css +4 -1
  453. package/styles/multi-selector.css +48 -1
  454. package/styles/nav-item.css +9 -2
  455. package/styles/nav-menu.css +12 -2
  456. package/styles/number-input.css +9 -1
  457. package/styles/overflow-list.css +1 -1
  458. package/styles/popover.css +2 -1
  459. package/styles/power-search.css +5 -3
  460. package/styles/pressable.css +63 -22
  461. package/styles/progress-bar.css +15 -3
  462. package/styles/radio.css +16 -0
  463. package/styles/resize-handle.css +42 -0
  464. package/styles/segmented-control.css +12 -4
  465. package/styles/selector.css +53 -1
  466. package/styles/side-nav.css +19 -0
  467. package/styles/slider.css +4 -3
  468. package/styles/spinner.css +48 -42
  469. package/styles/stepper.css +58 -4
  470. package/styles/switch.css +26 -0
  471. package/styles/tab-list.css +132 -3
  472. package/styles/table.css +88 -10
  473. package/styles/text-area.css +1 -1
  474. package/styles/text-input.css +1 -1
  475. package/styles/text.css +6 -6
  476. package/styles/thumbnail.css +11 -3
  477. package/styles/time-input.css +8 -0
  478. package/styles/toast.css +37 -3
  479. package/styles/token.css +2 -2
  480. package/styles/tokenizer.css +1 -1
  481. package/styles/toolbar.css +4 -1
  482. package/styles/tree-list.css +1 -1
  483. package/styles/typeahead.css +34 -1
  484. package/styles.css +1 -0
  485. package/dist/Blockquote-DFqBv_oJ.js +0 -18
  486. package/dist/Breadcrumbs-DIm4figq.js +0 -141
  487. package/dist/ButtonGroup-ySQWanDP.js +0 -125
  488. package/dist/DateTimeInput-A7m2O3bg.js +0 -268
  489. package/dist/MultiSelector-BtAUfQ3t.js +0 -990
  490. package/dist/NumberInput-AZ9x3oja.js +0 -473
  491. package/dist/Selector-DJ2BhUTV.js +0 -677
  492. package/dist/Spinner-9cYUCnDy.js +0 -84
  493. package/dist/Theme-CtaUWo4g.js +0 -1246
  494. package/dist/Toast-BuqIZV5z.js +0 -322
  495. package/dist/context-4PuqD1Ic.js +0 -4
  496. package/dist/context-D5-MwxnN.js +0 -4
  497. package/dist/index-BH9PzQ1F.d.ts +0 -87
  498. package/dist/link-C4_WogdF.js +0 -18
  499. package/dist/loadCatalog-CXKqEB9s.js +0 -877
  500. package/dist/locale-DgkZEMTn.js +0 -105
  501. package/dist/platform-B_9W_aHW.js +0 -33
  502. package/dist/scrollLock-BzIvIimL.js +0 -42
  503. package/dist/useMenuPress-D-FRNrBW.js +0 -573
  504. package/dist/useScrollableArea-DDk_CluT.js +0 -172
  505. /package/dist/{index-lgvUFSCO.d.ts → index-CryFtTT6.d.ts} +0 -0
@@ -1,8 +1,12 @@
1
+ import { t as usePressFeedback } from "./usePressFeedback-BJCpjEpv.js";
1
2
  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 { i as useAriaRequired } from "./context-Cfjh8te1.js";
5
- import { t as _sfc_main$3 } from "./FieldLabel-BNeXRuGH.js";
3
+ import { n as useButtonTooltip } from "./Button-ONOoHdkg.js";
4
+ import { t as _sfc_main$2 } from "./ButtonTooltip-CNKOQHYR.js";
5
+ import { t as useAnnounce } from "./announce-B210eJVf.js";
6
+ import { s as useAstryxMessages } from "./context-DWfi56sq.js";
7
+ import { i as useAriaRequired } from "./context-Cfml4jaK.js";
8
+ import { t as _sfc_main$3 } from "./FieldLabel-jxIiWgLw.js";
9
+ import { t as _sfc_main$4 } from "./FieldStatus-MjY19ERl.js";
6
10
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onUpdated, openBlock, renderSlot, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
7
11
  import "../styles/switch.css";
8
12
  //#region src/Switch/useSwitchAction.ts
@@ -108,7 +112,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
108
112
  hasAutoFocus: { type: Boolean },
109
113
  htmlName: {},
110
114
  form: {},
111
- loadingLabel: { default: "Loading" },
115
+ loadingLabel: {},
112
116
  label: {},
113
117
  isLabelHidden: { type: Boolean },
114
118
  isDisabled: { type: Boolean },
@@ -117,7 +121,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
117
121
  labelIcon: {},
118
122
  labelTooltip: {},
119
123
  optionalLabel: {},
120
- requiredLabel: {}
124
+ requiredLabel: {},
125
+ targetClass: {}
121
126
  }, {
122
127
  "modelValue": {
123
128
  type: Boolean,
@@ -130,14 +135,17 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
130
135
  const props = __props;
131
136
  const emit = __emit;
132
137
  const ariaRequired = useAriaRequired(props);
138
+ const messages = useAstryxMessages();
139
+ const announce = useAnnounce();
140
+ const press = usePressFeedback({ hasOverlay: false });
133
141
  const model = useModel(__props, "modelValue");
134
142
  const attrs = useAttrs();
135
143
  const input = useTemplateRef("input");
136
144
  const generatedId = `astryx-switch-${useId()}`;
137
145
  const inputId = computed(() => props.id ?? generatedId);
138
146
  const descriptionId = computed(() => props.description ? `${inputId.value}-description` : void 0);
147
+ const statusId = computed(() => props.status?.message ? props.status.messageId ?? `${inputId.value}-status` : void 0);
139
148
  const disabledId = `${generatedId}-disabled`;
140
- const loadingId = `${generatedId}-loading`;
141
149
  const showsDisabledMessage = computed(() => !!props.isDisabled && !!props.disabledMessage?.trim());
142
150
  const tooltip = useButtonTooltip(showsDisabledMessage);
143
151
  const action = useSwitchAction({
@@ -148,6 +156,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
148
156
  });
149
157
  const busy = computed(() => !!props.isLoading || action.isPending.value);
150
158
  const blocked = computed(() => props.isDisabled || props.isReadOnly || busy.value);
159
+ const loadingText = computed(() => props.loadingLabel || messages.value.switch.loading);
160
+ watch(busy, (isBusy) => {
161
+ if (isBusy) announce(loadingText.value);
162
+ }, { immediate: true });
151
163
  const widthStyle = computed(() => ({ width: typeof props.width === "number" ? `${props.width}px` : props.width }));
152
164
  const element = computed(() => input.value ?? null);
153
165
  function focus(options) {
@@ -186,8 +198,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
186
198
  return [
187
199
  attrs["aria-describedby"],
188
200
  descriptionId.value,
189
- showsDisabledMessage.value ? disabledId : void 0,
190
- busy.value ? loadingId : void 0
201
+ statusId.value,
202
+ showsDisabledMessage.value ? disabledId : void 0
191
203
  ].filter(Boolean).join(" ") || void 0;
192
204
  }
193
205
  function syncNative() {
@@ -226,11 +238,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
226
238
  "data-status": __props.status?.type,
227
239
  "data-blocked": blocked.value || void 0
228
240
  }, [
229
- createElementVNode("div", {
230
- class: "astryx-switch-row",
241
+ createElementVNode("div", mergeProps({ class: "astryx-switch-row" }, blocked.value ? void 0 : unref(press).pressableProps, {
231
242
  onPointerenter: _cache[2] || (_cache[2] = (...args) => unref(tooltip).onPointerEnter && unref(tooltip).onPointerEnter(...args)),
232
243
  onPointerleave: _cache[3] || (_cache[3] = (...args) => unref(tooltip).onPointerLeave && unref(tooltip).onPointerLeave(...args))
233
- }, [createElementVNode("span", _hoisted_2, [createElementVNode("input", mergeProps(inputAttrs(), {
244
+ }), [createElementVNode("span", _hoisted_2, [createElementVNode("input", mergeProps(inputAttrs(), {
234
245
  id: inputId.value,
235
246
  ref_key: "input",
236
247
  ref: input,
@@ -265,6 +276,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
265
276
  "is-disabled": __props.isDisabled,
266
277
  "is-optional": __props.isOptional,
267
278
  "is-required": __props.isRequired,
279
+ "target-class": "astryx-switch-label",
268
280
  "label-icon": __props.labelIcon,
269
281
  "label-tooltip": __props.labelTooltip,
270
282
  "optional-label": __props.optionalLabel,
@@ -287,21 +299,25 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
287
299
  "label-tooltip",
288
300
  "optional-label",
289
301
  "required-label"
290
- ])])], 32),
291
- showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$1, {
302
+ ])])], 16),
303
+ __props.status?.message ? (openBlock(), createBlock(_sfc_main$4, {
292
304
  key: 0,
305
+ id: statusId.value,
306
+ type: __props.status.type,
307
+ message: __props.status.message,
308
+ variant: __props.statusVariant === "attached" ? "attached" : "detached"
309
+ }, null, 8, [
310
+ "id",
311
+ "type",
312
+ "message",
313
+ "variant"
314
+ ])) : createCommentVNode("v-if", true),
315
+ showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$1, {
316
+ key: 1,
293
317
  id: disabledId
294
318
  }, {
295
319
  default: withCtx(() => [createTextVNode(toDisplayString(__props.disabledMessage), 1)]),
296
320
  _: 1
297
- })) : createCommentVNode("v-if", true),
298
- busy.value ? (openBlock(), createBlock(_sfc_main$1, {
299
- key: 1,
300
- id: loadingId,
301
- role: "status"
302
- }, {
303
- default: withCtx(() => [createTextVNode(toDisplayString(__props.loadingLabel), 1)]),
304
- _: 1
305
321
  })) : createCommentVNode("v-if", true)
306
322
  ], 14, _hoisted_1), showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$2, {
307
323
  key: 0,
@@ -1,2 +1,2 @@
1
- import { a as TabListProps, c as TabMenuOption, d as TabSlots, i as TabListLayout, l as TabMenuProps, n as _default$1, o as TabListSize, r as _default, s as TabListTab, t as _default$2, u as TabProps } from "../index-C2nbK2AA.js";
2
- export { _default as Tab, _default$1 as TabList, type TabListLayout, type TabListProps, type TabListSize, type TabListTab, _default$2 as TabMenu, type TabMenuOption, type TabMenuProps, type TabProps, type TabSlots };
1
+ import { a as TabListLayout, c as TabListSize, d as TabMenuProps, f as TabProps, i as TabListEdgeCompensation, l as TabListTab, n as _default$1, o as TabListOverflow, p as TabSlots, r as _default, s as TabListProps, t as _default$2, u as TabMenuOption } from "../index-DLAG3m9W.js";
2
+ export { _default as Tab, _default$1 as TabList, type TabListEdgeCompensation, type TabListLayout, type TabListOverflow, type TabListProps, type TabListSize, type TabListTab, _default$2 as TabMenu, type TabMenuOption, type TabMenuProps, type TabProps, type TabSlots };
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main$1, r as _sfc_main, t as _sfc_main$2 } from "../TabList-DIkK9sgK.js";
1
+ import { n as _sfc_main$1, r as _sfc_main, t as _sfc_main$2 } from "../TabList-DRqP0Hrv.js";
2
2
  export { _sfc_main as Tab, _sfc_main$1 as TabList, _sfc_main$2 as TabMenu };
@@ -1,18 +1,32 @@
1
+ import { t as usePressFeedback } from "./usePressFeedback-BJCpjEpv.js";
2
+ import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
1
3
  import { n as useLinkComponent } from "./context-C_peZbXf.js";
2
4
  import { n as useDevWarning } from "./useDevWarning-DznOpOHT.js";
3
- import { n as useDismiss, t as usePositionedLayer } from "./usePositionedLayer-Cru9_00b.js";
4
- import { o as useAstryxMessages } from "./context-iABt_ueM.js";
5
- import { t as useListFocus } from "./useListFocus-D0iOJl39.js";
6
- import { t as _sfc_main$3 } from "./Icon-bteSId7T.js";
7
- import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, nextTick, normalizeClass, normalizeStyle, onMounted, onUnmounted, openBlock, provide, reactive, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useId, watch, withCtx } from "vue";
5
+ import { n as useDismiss, t as usePositionedLayer } from "./usePositionedLayer-B7cvG-_v.js";
6
+ import { s as useAstryxMessages } from "./context-DWfi56sq.js";
7
+ import { t as useListFocus } from "./useListFocus-ChxLg0b4.js";
8
+ import { t as useScrollOverflow } from "./useScrollOverflow-DuMoGXmm.js";
9
+ import { t as _sfc_main$3 } from "./Icon-KDnUyY7f.js";
10
+ import { n as isNavigableHref } from "./link-DuuA2eCL.js";
11
+ import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, onScopeDispose, onUnmounted, openBlock, provide, reactive, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useId, watch, withCtx, withModifiers } from "vue";
12
+ import "../styles/layer.css";
8
13
  import "../styles/visually-hidden-utility.css";
9
14
  import "../styles/tab-list.css";
10
15
  import "../styles/tab-menu.css";
11
16
  //#region src/TabList/context.ts
12
- const tabListContextKey = Symbol("tabListContext");
17
+ const tabListContextKey = defineLayerScopedKey("tabListContext", null);
18
+ /**
19
+ * 读最近的 `TabList`。不在 `TabList` 里(包括被浮层边界截断的情况)就报错,
20
+ * 报错方式和上游 `useTabListContext` 一致。
21
+ */
22
+ function useTabListContext() {
23
+ const context = readLayerScoped(tabListContextKey);
24
+ if (context == null) throw new Error("useTabListContext must be used within TabList. Wrap your Tab in <TabList>.");
25
+ return context;
26
+ }
13
27
  //#endregion
14
28
  //#region src/TabList/Tab.vue
15
- const _hoisted_1$2 = {
29
+ const _hoisted_1$1 = {
16
30
  key: 0,
17
31
  class: "astryx-tab__icon",
18
32
  "aria-hidden": "true"
@@ -47,13 +61,14 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
47
61
  },
48
62
  setup(__props) {
49
63
  const props = __props;
50
- const context = inject(tabListContextKey);
64
+ const context = useTabListContext();
51
65
  const linkComponent = useLinkComponent();
52
66
  const rootRef = ref();
53
- const isTabsPattern = computed(() => context?.isTabsPattern.value ?? false);
54
- const isSelected = computed(() => context?.value.value === props.value);
67
+ const isTabsPattern = computed(() => context.isTabsPattern.value);
68
+ const isSelected = computed(() => context.value.value === props.value);
55
69
  const tabIndex = computed(() => isSelected.value && !props.disabled ? 0 : -1);
56
- const isLink = computed(() => !isTabsPattern.value && props.href != null && props.href !== "" && !props.disabled);
70
+ const { pressableProps } = usePressFeedback({ hasOverlay: false });
71
+ const isLink = computed(() => !isTabsPattern.value && isNavigableHref(props.href, props.disabled));
57
72
  /** 自己的 `as` 优先,其次是 LinkProvider 给的默认链接组件。 */
58
73
  const customLink = computed(() => props.as ?? linkComponent.value);
59
74
  const root = computed(() => {
@@ -62,40 +77,30 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
62
77
  });
63
78
  const classes = computed(() => [
64
79
  "astryx-tab",
65
- `astryx-tab--size-${context?.size.value ?? "md"}`,
80
+ `astryx-tab--size-${context.size.value}`,
66
81
  isSelected.value && "astryx-tab--selected",
67
82
  props.disabled && "astryx-tab--disabled",
68
83
  props.isLabelHidden && "astryx-tab--label-hidden"
69
84
  ]);
70
85
  useDevWarning("Tab", "`panelId` only applies under the tabs pattern; give the TabList `role=\"tablist\"` to wire up aria-controls.", () => props.panelId != null && !isTabsPattern.value);
71
86
  function handleClick() {
72
- if (props.disabled || !context) return;
87
+ if (props.disabled) return;
73
88
  context.selectTab(props.value);
74
89
  }
75
90
  function handleKeydown(event) {
76
- if (props.disabled || !context) return;
77
- switch (event.key) {
78
- case "ArrowRight":
79
- case "ArrowDown":
80
- event.preventDefault();
81
- context.moveFocus("next", props.value);
82
- break;
83
- case "ArrowLeft":
84
- case "ArrowUp":
85
- event.preventDefault();
86
- context.moveFocus("prev", props.value);
87
- break;
88
- case "Home":
89
- event.preventDefault();
90
- context.moveFocus("first", props.value);
91
- break;
92
- case "End":
93
- event.preventDefault();
94
- context.moveFocus("last", props.value);
95
- }
91
+ if (props.disabled) return;
92
+ const vertical = !isTabsPattern.value;
93
+ let direction = null;
94
+ if (event.key === "ArrowRight" || vertical && event.key === "ArrowDown") direction = "next";
95
+ else if (event.key === "ArrowLeft" || vertical && event.key === "ArrowUp") direction = "prev";
96
+ else if (event.key === "Home") direction = "first";
97
+ else if (event.key === "End") direction = "last";
98
+ if (direction == null) return;
99
+ event.preventDefault();
100
+ context.moveFocus(direction, props.value);
96
101
  }
97
102
  onMounted(() => {
98
- if (!context || !rootRef.value) return;
103
+ if (!rootRef.value) return;
99
104
  context.registerTab({
100
105
  value: props.value,
101
106
  disabled: props.disabled,
@@ -103,10 +108,10 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
103
108
  });
104
109
  });
105
110
  onUnmounted(() => {
106
- context?.unregisterTab(props.value);
111
+ context.unregisterTab(props.value);
107
112
  });
108
113
  watch(() => props.disabled, (disabled) => {
109
- if (!context || !rootRef.value) return;
114
+ if (!rootRef.value) return;
110
115
  context.registerTab({
111
116
  value: props.value,
112
117
  disabled,
@@ -114,13 +119,13 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
114
119
  });
115
120
  });
116
121
  return (_ctx, _cache) => {
117
- return openBlock(), createBlock(resolveDynamicComponent(root.value), {
122
+ return openBlock(), createBlock(resolveDynamicComponent(root.value), mergeProps({
118
123
  id: `astryx-tab-${__props.value}`,
119
124
  ref_key: "rootRef",
120
125
  ref: rootRef,
121
126
  type: isLink.value ? void 0 : "button",
122
127
  role: isTabsPattern.value ? "tab" : void 0,
123
- class: normalizeClass(classes.value),
128
+ class: classes.value,
124
129
  href: isLink.value ? __props.href : void 0,
125
130
  to: isLink.value && customLink.value != null ? __props.href : void 0,
126
131
  "aria-selected": isTabsPattern.value ? isSelected.value : void 0,
@@ -130,16 +135,18 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
130
135
  tabindex: tabIndex.value,
131
136
  disabled: isLink.value ? void 0 : __props.disabled,
132
137
  "data-selected": isSelected.value ? "selected" : void 0,
138
+ "data-tab-value": __props.value
139
+ }, __props.disabled ? {} : unref(pressableProps), {
133
140
  onClick: handleClick,
134
141
  onKeydown: handleKeydown
135
- }, {
142
+ }), {
136
143
  default: withCtx(() => [
137
- _ctx.$slots.icon || _ctx.$slots.selectedIcon ? (openBlock(), createElementBlock("span", _hoisted_1$2, [isSelected.value && _ctx.$slots.selectedIcon ? renderSlot(_ctx.$slots, "selectedIcon", {}, void 0, void 0, 0) : renderSlot(_ctx.$slots, "icon", {}, void 0, void 0, 1)])) : createCommentVNode("v-if", true),
144
+ _ctx.$slots.icon || _ctx.$slots.selectedIcon ? (openBlock(), createElementBlock("span", _hoisted_1$1, [isSelected.value && _ctx.$slots.selectedIcon ? renderSlot(_ctx.$slots, "selectedIcon", {}, void 0, void 0, 0) : renderSlot(_ctx.$slots, "icon", {}, void 0, void 0, 1)])) : createCommentVNode("v-if", true),
138
145
  createElementVNode("span", { class: normalizeClass(["astryx-tab__label", { "astryx-visually-hidden": __props.isLabelHidden }]) }, [createElementVNode("span", _hoisted_2$1, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])]), !__props.isLabelHidden ? (openBlock(), createElementBlock("span", _hoisted_3$1, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])])) : createCommentVNode("v-if", true)], 2),
139
146
  _ctx.$slots.endContent ? (openBlock(), createElementBlock("span", _hoisted_4$1, [renderSlot(_ctx.$slots, "endContent")])) : createCommentVNode("v-if", true)
140
147
  ]),
141
148
  _: 3
142
- }, 40, [
149
+ }, 16, [
143
150
  "id",
144
151
  "type",
145
152
  "role",
@@ -152,14 +159,105 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
152
159
  "aria-label",
153
160
  "tabindex",
154
161
  "disabled",
155
- "data-selected"
162
+ "data-selected",
163
+ "data-tab-value"
156
164
  ]);
157
165
  };
158
166
  }
159
167
  });
160
168
  //#endregion
169
+ //#region src/TabList/useTabListScroll.ts
170
+ /** 点一次箭头,滚过可见宽度的这一截。和上游的滚动步长一致。 */
171
+ const SCROLL_PAGE_RATIO = .8;
172
+ /**
173
+ * 标签条比容器宽时横向滚动。
174
+ * 选中项或刚获得焦点的项如果被挡住,立刻滚回可见区域,不走平滑滚动。
175
+ */
176
+ function useTabListScroll(options) {
177
+ let strip = null;
178
+ let resizeObserver;
179
+ let revealedValue = null;
180
+ const { scrollRef, overflowStart, overflowEnd } = useScrollOverflow();
181
+ function insetOf(node) {
182
+ const style = getComputedStyle(node);
183
+ const raw = style.scrollPaddingInlineStart || style.scrollPaddingLeft;
184
+ const parsed = Number.parseFloat(raw);
185
+ return Number.isFinite(parsed) ? parsed : 0;
186
+ }
187
+ function readingRtl(node) {
188
+ return getComputedStyle(node).direction === "rtl";
189
+ }
190
+ function revealStop(stop) {
191
+ if (!options.enabled.value || strip == null || stop == null) return;
192
+ const stripBox = strip.getBoundingClientRect();
193
+ const stopBox = stop.getBoundingClientRect();
194
+ const inset = insetOf(strip);
195
+ const pastEnd = stopBox.right - (stripBox.right - inset);
196
+ const pastStart = stopBox.left - (stripBox.left + inset);
197
+ const delta = stopBox.width > stripBox.width - 2 * inset ? readingRtl(strip) ? pastEnd : pastStart : pastEnd > 0 ? pastEnd : pastStart < 0 ? pastStart : 0;
198
+ if (delta !== 0) strip.scrollBy({
199
+ behavior: "instant",
200
+ left: delta
201
+ });
202
+ }
203
+ function selectedStop() {
204
+ if (strip == null) return null;
205
+ const value = CSS.escape(options.selectedValue.value);
206
+ return strip.querySelector(`[data-tab-value="${value}"]`);
207
+ }
208
+ function revealSelected() {
209
+ revealStop(selectedStop());
210
+ }
211
+ function bind(node) {
212
+ const host = node instanceof HTMLElement ? node : null;
213
+ resizeObserver?.disconnect();
214
+ resizeObserver = void 0;
215
+ strip = host;
216
+ scrollRef(options.enabled.value ? host : null);
217
+ if (host == null || !options.enabled.value || typeof ResizeObserver === "undefined") return;
218
+ resizeObserver = new ResizeObserver(() => revealSelected());
219
+ resizeObserver.observe(host);
220
+ }
221
+ function scrollByPage(direction) {
222
+ if (strip == null) return;
223
+ const rtlSign = readingRtl(strip) ? -1 : 1;
224
+ strip.scrollBy({ left: rtlSign * direction * strip.clientWidth * SCROLL_PAGE_RATIO });
225
+ }
226
+ function onFocusIn(event) {
227
+ const target = event.target;
228
+ if (!(target instanceof Element) || strip == null || !strip.contains(target)) return;
229
+ revealStop(target.closest("[data-tab-value], [data-tab-menu]"));
230
+ }
231
+ watch(options.enabled, (enabled) => {
232
+ bind(strip);
233
+ if (enabled) revealSelected();
234
+ });
235
+ watch(options.selectedValue, (value) => {
236
+ if (!options.enabled.value) {
237
+ revealedValue = value;
238
+ return;
239
+ }
240
+ if (revealedValue === value) return;
241
+ revealedValue = value;
242
+ revealSelected();
243
+ });
244
+ onMounted(() => {
245
+ revealedValue = options.selectedValue.value;
246
+ if (options.enabled.value) revealSelected();
247
+ });
248
+ onScopeDispose(() => {
249
+ resizeObserver?.disconnect();
250
+ });
251
+ return {
252
+ bind,
253
+ onFocusIn,
254
+ overflowEnd,
255
+ overflowStart,
256
+ scrollByPage
257
+ };
258
+ }
259
+ //#endregion
161
260
  //#region src/TabList/TabList.vue
162
- const _hoisted_1$1 = { class: "astryx-tab-list__strip" };
163
261
  const _sfc_main$1 = /*@__PURE__*/ defineComponent({
164
262
  __name: "TabList",
165
263
  props: {
@@ -175,6 +273,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
175
273
  default: false
176
274
  },
177
275
  edgeCompensation: {},
276
+ overflow: { default: "auto" },
178
277
  role: {}
179
278
  },
180
279
  emits: ["update:value", "change"],
@@ -182,6 +281,11 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
182
281
  const props = __props;
183
282
  const emit = __emit;
184
283
  const bleedsInline = computed(() => props.edgeCompensation === "inline" || props.edgeCompensation == null && props.isFullBleed);
284
+ const scrolls = computed(() => props.overflow !== "visible");
285
+ const { bind: bindStrip, onFocusIn: onStripFocusIn, overflowEnd, overflowStart, scrollByPage } = useTabListScroll({
286
+ enabled: scrolls,
287
+ selectedValue: computed(() => props.value)
288
+ });
185
289
  /** `role="tablist"` switches the strip from a nav landmark to the tabs pattern. */
186
290
  const isTabsPattern = computed(() => props.role === "tablist");
187
291
  const rootTag = computed(() => props.role == null ? "nav" : "div");
@@ -251,14 +355,52 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
251
355
  bleedsInline.value && "astryx-tab-list--full-bleed"
252
356
  ]]),
253
357
  role: __props.role,
254
- "aria-label": defaultLabel.value
358
+ "aria-label": defaultLabel.value,
359
+ onFocusin: unref(onStripFocusIn)
255
360
  }, {
256
- default: withCtx(() => [createElementVNode("div", _hoisted_1$1, [renderSlot(_ctx.$slots, "default")])]),
361
+ default: withCtx(() => [
362
+ createElementVNode("div", {
363
+ ref: unref(bindStrip),
364
+ class: normalizeClass(["astryx-tab-list__strip", {
365
+ "astryx-tab-list__strip--scroll": scrolls.value,
366
+ "astryx-tab-list__strip--fade-both": scrolls.value && unref(overflowStart) && unref(overflowEnd),
367
+ "astryx-tab-list__strip--fade-start": scrolls.value && unref(overflowStart) && !unref(overflowEnd),
368
+ "astryx-tab-list__strip--fade-end": scrolls.value && unref(overflowEnd) && !unref(overflowStart)
369
+ }])
370
+ }, [renderSlot(_ctx.$slots, "default")], 2),
371
+ scrolls.value && unref(overflowStart) ? (openBlock(), createElementBlock("button", {
372
+ key: 0,
373
+ type: "button",
374
+ class: "astryx-tab-scroll-button astryx-tab-scroll-button--start",
375
+ "aria-hidden": "true",
376
+ tabindex: "-1",
377
+ onMousedown: _cache[0] || (_cache[0] = withModifiers(() => {}, ["prevent"])),
378
+ onClick: _cache[1] || (_cache[1] = ($event) => unref(scrollByPage)(-1))
379
+ }, [createVNode(_sfc_main$3, {
380
+ class: "astryx-tab-scroll-button__icon",
381
+ icon: "chevronLeft",
382
+ size: "sm"
383
+ })], 32)) : createCommentVNode("v-if", true),
384
+ scrolls.value && unref(overflowEnd) ? (openBlock(), createElementBlock("button", {
385
+ key: 1,
386
+ type: "button",
387
+ class: "astryx-tab-scroll-button astryx-tab-scroll-button--end",
388
+ "aria-hidden": "true",
389
+ tabindex: "-1",
390
+ onMousedown: _cache[2] || (_cache[2] = withModifiers(() => {}, ["prevent"])),
391
+ onClick: _cache[3] || (_cache[3] = ($event) => unref(scrollByPage)(1))
392
+ }, [createVNode(_sfc_main$3, {
393
+ class: "astryx-tab-scroll-button__icon",
394
+ icon: "chevronRight",
395
+ size: "sm"
396
+ })], 32)) : createCommentVNode("v-if", true)
397
+ ]),
257
398
  _: 3
258
- }, 8, [
399
+ }, 40, [
259
400
  "class",
260
401
  "role",
261
- "aria-label"
402
+ "aria-label",
403
+ "onFocusin"
262
404
  ]);
263
405
  };
264
406
  }
@@ -295,7 +437,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
295
437
  },
296
438
  setup(__props) {
297
439
  const props = __props;
298
- const context = inject(tabListContextKey);
440
+ const context = useTabListContext();
299
441
  const uid = useId();
300
442
  const stopValue = `tab-menu:${uid}`;
301
443
  const menuId = `astryx-tab-menu-${uid}`;
@@ -304,11 +446,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
304
446
  const isOpen = ref(false);
305
447
  const placement = computed(() => "below");
306
448
  const alignment = computed(() => "start");
307
- const selectedOption = computed(() => props.options.find((option) => option.value === context?.value.value));
449
+ const selectedOption = computed(() => props.options.find((option) => option.value === context.value.value));
308
450
  const triggerLabel = computed(() => selectedOption.value?.label ?? props.label);
309
451
  const hasSelectedOption = computed(() => selectedOption.value != null);
310
- const sizeClass = computed(() => `astryx-tab--size-${context?.size.value ?? "md"}`);
311
- const { position, detach } = usePositionedLayer({
452
+ const sizeClass = computed(() => `astryx-tab--size-${context.size.value}`);
453
+ const { position, teleportTarget, detach } = usePositionedLayer({
312
454
  alignment,
313
455
  anchor: anchorRef,
314
456
  gap: 4,
@@ -332,7 +474,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
332
474
  trigger: anchorRef
333
475
  });
334
476
  function register() {
335
- if (!context || anchorRef.value == null) return;
477
+ if (anchorRef.value == null) return;
336
478
  context.registerTab({
337
479
  disabled: false,
338
480
  el: anchorRef.value,
@@ -344,11 +486,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
344
486
  isOpen.value = !isOpen.value;
345
487
  }
346
488
  function select(value) {
347
- context?.selectTab(value);
489
+ context.selectTab(value);
348
490
  isOpen.value = false;
349
491
  }
350
492
  function onTriggerKeyDown(event) {
351
- if (!context || isOpen.value) return;
493
+ if (isOpen.value) return;
352
494
  switch (event.key) {
353
495
  case "ArrowRight":
354
496
  case "ArrowDown":
@@ -396,7 +538,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
396
538
  });
397
539
  onMounted(register);
398
540
  onUnmounted(() => {
399
- context?.unregisterTab(stopValue);
541
+ context.unregisterTab(stopValue);
400
542
  detach();
401
543
  });
402
544
  return (_ctx, _cache) => {
@@ -408,11 +550,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
408
550
  class: normalizeClass(["astryx-tab astryx-tab-menu", [sizeClass.value, hasSelectedOption.value && "astryx-tab--selected"]]),
409
551
  "data-tab-menu": "",
410
552
  "aria-controls": menuId,
411
- "aria-current": !unref(context)?.isTabsPattern.value && hasSelectedOption.value ? "true" : void 0,
412
- "aria-selected": unref(context)?.isTabsPattern.value ? hasSelectedOption.value : void 0,
553
+ "aria-current": !unref(context).isTabsPattern.value && hasSelectedOption.value ? "true" : void 0,
554
+ "aria-selected": unref(context).isTabsPattern.value ? hasSelectedOption.value : void 0,
413
555
  "aria-haspopup": "menu",
414
556
  "aria-expanded": isOpen.value,
415
- role: unref(context)?.isTabsPattern.value ? "tab" : void 0,
557
+ role: unref(context).isTabsPattern.value ? "tab" : void 0,
416
558
  tabindex: hasSelectedOption.value ? 0 : -1,
417
559
  onClick: toggle,
418
560
  onKeydown: onTriggerKeyDown
@@ -422,7 +564,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
422
564
  color: "inherit",
423
565
  icon: "chevronDown",
424
566
  size: "sm"
425
- }, null, 8, ["data-state"])], 42, _hoisted_1), (openBlock(), createBlock(Teleport, { to: "body" }, [isOpen.value ? (openBlock(), createElementBlock("div", {
567
+ }, null, 8, ["data-state"])], 42, _hoisted_1), (openBlock(), createBlock(Teleport, { to: unref(teleportTarget) }, [isOpen.value ? (openBlock(), createElementBlock("div", {
426
568
  key: 0,
427
569
  id: menuId,
428
570
  ref_key: "surfaceRef",
@@ -441,22 +583,22 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
441
583
  return openBlock(), createElementBlock("div", {
442
584
  key: option.value,
443
585
  class: "astryx-tab-menu-item",
444
- "data-selected": option.value === unref(context)?.value.value || void 0,
586
+ "data-selected": option.value === unref(context).value.value || void 0,
445
587
  role: "menuitemradio",
446
- "aria-checked": option.value === unref(context)?.value.value,
588
+ "aria-checked": option.value === unref(context).value.value,
447
589
  tabindex: "-1",
448
590
  onClick: ($event) => select(option.value),
449
591
  onKeydown: ($event) => onItemKeyDown($event, option.value)
450
592
  }, [createElementVNode("span", _hoisted_6, [option.iconClass ? (openBlock(), createElementBlock("span", {
451
593
  key: 0,
452
594
  class: normalizeClass(["astryx-tab-menu-icon", option.iconClass])
453
- }, null, 2)) : createCommentVNode("v-if", true), createTextVNode(" " + toDisplayString(option.label), 1)]), option.value === unref(context)?.value.value ? (openBlock(), createBlock(_sfc_main$3, {
595
+ }, null, 2)) : createCommentVNode("v-if", true), createTextVNode(" " + toDisplayString(option.label), 1)]), option.value === unref(context).value.value ? (openBlock(), createBlock(_sfc_main$3, {
454
596
  key: 0,
455
597
  color: "accent",
456
598
  icon: "check",
457
599
  size: "sm"
458
600
  })) : createCommentVNode("v-if", true)], 40, _hoisted_5);
459
- }), 128))], 44, _hoisted_3)) : createCommentVNode("v-if", true)]))], 64);
601
+ }), 128))], 44, _hoisted_3)) : createCommentVNode("v-if", true)], 8, ["to"]))], 64);
460
602
  };
461
603
  }
462
604
  });
@@ -1,3 +1,3 @@
1
- import { $t as TableSemanticRowStatus, An as columnResizeStep, At as _default$4, Bn as resolveColumnFloorWidths, Bt as useTableTreeState, Cn as useTableColumnSettings, Dn as UseTableColumnResizeConfig, Dt as _default$7, En as ColumnResizeSnapshot, Fn as cellText, Ft as TableTreeRowMeta, Gt as useTableStickyColumns, Hn as sortRows, Ht as UseTableStickyColumnsConfig, In as generateColumns, It as UseTableTreeDataConfig, Jt as useTableSortableState, Kt as UseTableSortableConfig, Ln as paginateData, Lt as UseTableTreeStateConfig, Mn as resizeColumnWidths, Mt as _default$2, Nn as useTableColumnResize, Nt as _default$1, On as columnResizeDirectionSign, Ot as _default$6, Pn as capitalize, Pt as _default, Qt as TableRowStatusName, Rn as pixel, Rt as flattenTree, Sn as UseTableColumnSettingsConfig, Tn as ColumnResizePlan, Ut as resolveStickySide, Vn as resolveColumnWidths, Vt as StickySide, Wt as stickyOffsets, Xt as TableRowStatus, Yt as TableCustomRowStatus, Zt as TableRowStatusColor, _n as applyTableFilters, an as useTableRowExpansion, bn as ColumnSettingsOption, cn as useTablePagination, dn as buildGroupedRows, en as UseTableRowStatusConfig, fn as isTableGroupHeader, gn as UseTableFilteringConfig, hn as UseTableFilterStateOptions, in as UseTableRowExpansionConfig, jn as isProportionalColumnWidth, jt as _default$3, kn as columnResizeMinWidth, kt as _default$5, ln as isInteractiveRowClick, mn as TableFilterStateHandle, nn as UseTableRowIndexConfig, on as TablePaginationVariant, pn as useTableGroupedRows, qt as useTableSortable, rn as useTableRowIndex, sn as UseTablePaginationConfig, tn as useTableRowStatus, un as UseTableGroupedRowsConfig, vn as useTableFilterState, wn as useTableColumnSettingsState, xn as TableColumnSettingsState, yn as useTableFiltering, zn as proportional, zt as useTableTreeData } from "../index-DUaLJO7l.js";
2
- import { A as TablePanelPatch, B as TableSortEntry, C as TableFilterField, D as TableFilterVariant, E as TableFilterValue, F as TableRowProps, G as TableSelectionState, H as TableTextOverflow, I as TableSelectionToolbarProps, J as useTableSelection, K as UseTableSelectionConfig, L as TableSelectionToolbarSlots, M as TableProps, N as TableRowMenuItem, O as TableGroupPatch, P as TableRowPatch, S as TableDividers, T as TableFilterState, U as TableVerticalAlign, V as TableSortState, W as TableSelectedKeysSetter, Y as useTableSelectionState, _ as TableCellProps, b as TableColumnResizeContribution, g as TableCellPatch, h as ProportionalWidth, j as TablePlugin, k as TableHeaderPatch, m as PixelWidth, p as ColumnWidth, q as UseTableSelectionStateConfig, v as TableColumn, w as TableFilterFieldType, x as TableDensity, y as TableColumnAlign, z as TableSortDirection } from "../useResizable-DDwPpPe6.js";
3
- export { type ColumnResizePlan, type ColumnResizeSnapshot, type ColumnSettingsOption, type ColumnWidth, type PixelWidth, type ProportionalWidth, type StickySide, _default as Table, _default$1 as TableBody, _default$2 as TableCell, type TableCellPatch, type TableCellProps, type TableColumn, type TableColumnAlign, type TableColumnResizeContribution, type TableColumnSettingsState, type TableCustomRowStatus, type TableDensity, type TableDividers, type TableFilterField, type TableFilterFieldType, type TableFilterState, type TableFilterStateHandle, type TableFilterValue, type TableFilterVariant, _default$3 as TableFooter, type TableGroupPatch, _default$4 as TableHeader, _default$5 as TableHeaderCell, type TableHeaderPatch, type TablePaginationVariant, type TablePanelPatch, type TablePlugin, type TableProps, _default$6 as TableRow, type TableRowMenuItem, type TableRowPatch, type TableRowProps, type TableRowStatus, type TableRowStatusColor, type TableRowStatusName, type TableSelectedKeysSetter, type TableSelectionState, _default$7 as TableSelectionToolbar, type TableSelectionToolbarProps, type TableSelectionToolbarSlots, type TableSemanticRowStatus, type TableSortDirection, type TableSortEntry, type TableSortState, type TableTextOverflow, type TableTreeRowMeta, type TableVerticalAlign, type UseTableColumnResizeConfig, type UseTableColumnSettingsConfig, type UseTableFilterStateOptions, type UseTableFilteringConfig, type UseTableGroupedRowsConfig, type UseTablePaginationConfig, type UseTableRowExpansionConfig, type UseTableRowIndexConfig, type UseTableRowStatusConfig, type UseTableSelectionConfig, type UseTableSelectionStateConfig, type UseTableSortableConfig, type UseTableStickyColumnsConfig, type UseTableTreeDataConfig, type UseTableTreeStateConfig, applyTableFilters, buildGroupedRows, capitalize, cellText, columnResizeDirectionSign, columnResizeMinWidth, columnResizeStep, flattenTree, generateColumns, isInteractiveRowClick, isProportionalColumnWidth, isTableGroupHeader, paginateData, paginateData as paginateTableData, pixel, proportional, resizeColumnWidths, resolveColumnFloorWidths, resolveColumnWidths, resolveStickySide, sortRows, stickyOffsets, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableFilterState, useTableFiltering, useTableGroupedRows, useTablePagination, useTableRowExpansion, useTableRowIndex, useTableRowStatus, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTableStickyColumns, useTableTreeData, useTableTreeState };
1
+ import { $t as TableSemanticRowStatus, An as columnResizeStep, At as _default$4, Bn as resolveColumnFloorWidths, Bt as useTableTreeState, Cn as useTableColumnSettings, Dn as UseTableColumnResizeConfig, Dt as _default$7, En as ColumnResizeSnapshot, Fn as cellText, Ft as TableTreeRowMeta, Gt as useTableStickyColumns, Hn as sortRows, Ht as UseTableStickyColumnsConfig, In as generateColumns, It as UseTableTreeDataConfig, Jt as useTableSortableState, Kt as UseTableSortableConfig, Ln as paginateData, Lt as UseTableTreeStateConfig, Mn as resizeColumnWidths, Mt as _default$2, Nn as useTableColumnResize, Nt as _default$1, On as columnResizeDirectionSign, Ot as _default$6, Pn as capitalize, Pt as _default, Qt as TableRowStatusName, Rn as pixel, Rt as flattenTree, Sn as UseTableColumnSettingsConfig, Tn as ColumnResizePlan, Ut as resolveStickySide, Vn as resolveColumnWidths, Vt as StickySide, Wt as stickyOffsets, Xt as TableRowStatus, Yt as TableCustomRowStatus, Zt as TableRowStatusColor, _n as applyTableFilters, an as useTableRowExpansion, bn as ColumnSettingsOption, cn as useTablePagination, dn as buildGroupedRows, en as UseTableRowStatusConfig, fn as isTableGroupHeader, gn as UseTableFilteringConfig, hn as UseTableFilterStateOptions, in as UseTableRowExpansionConfig, jn as isProportionalColumnWidth, jt as _default$3, kn as columnResizeMinWidth, kt as _default$5, ln as isInteractiveRowClick, mn as TableFilterStateHandle, nn as UseTableRowIndexConfig, on as TablePaginationVariant, pn as useTableGroupedRows, qt as useTableSortable, rn as useTableRowIndex, sn as UseTablePaginationConfig, tn as useTableRowStatus, un as UseTableGroupedRowsConfig, vn as useTableFilterState, wn as useTableColumnSettingsState, xn as TableColumnSettingsState, yn as useTableFiltering, zn as proportional, zt as useTableTreeData } from "../index-CpNlPLBF.js";
2
+ import { A as TablePanelPatch, B as TableSortDirection, C as TableFilterField, D as TableFilterVariant, E as TableFilterValue, F as TableRowPatch, G as TableSelectedKeysSetter, H as TableSortState, I as TableRowProps, J as UseTableSelectionStateConfig, K as TableSelectionState, L as TableSelectionToolbarProps, M as TableProps, N as TableRowListeners, O as TableGroupPatch, P as TableRowMenuItem, R as TableSelectionToolbarSlots, S as TableDividers, T as TableFilterState, U as TableTextOverflow, V as TableSortEntry, W as TableVerticalAlign, X as useTableSelectionState, Y as useTableSelection, _ as TableCellProps, b as TableColumnResizeContribution, g as TableCellPatch, h as ProportionalWidth, j as TablePlugin, k as TableHeaderPatch, m as PixelWidth, p as ColumnWidth, q as UseTableSelectionConfig, v as TableColumn, w as TableFilterFieldType, x as TableDensity, y as TableColumnAlign } from "../useResizable-1MHPNaRD.js";
3
+ export { type ColumnResizePlan, type ColumnResizeSnapshot, type ColumnSettingsOption, type ColumnWidth, type PixelWidth, type ProportionalWidth, type StickySide, _default as Table, _default$1 as TableBody, _default$2 as TableCell, type TableCellPatch, type TableCellProps, type TableColumn, type TableColumnAlign, type TableColumnResizeContribution, type TableColumnSettingsState, type TableCustomRowStatus, type TableDensity, type TableDividers, type TableFilterField, type TableFilterFieldType, type TableFilterState, type TableFilterStateHandle, type TableFilterValue, type TableFilterVariant, _default$3 as TableFooter, type TableGroupPatch, _default$4 as TableHeader, _default$5 as TableHeaderCell, type TableHeaderPatch, type TablePaginationVariant, type TablePanelPatch, type TablePlugin, type TableProps, _default$6 as TableRow, type TableRowListeners, type TableRowMenuItem, type TableRowPatch, type TableRowProps, type TableRowStatus, type TableRowStatusColor, type TableRowStatusName, type TableSelectedKeysSetter, type TableSelectionState, _default$7 as TableSelectionToolbar, type TableSelectionToolbarProps, type TableSelectionToolbarSlots, type TableSemanticRowStatus, type TableSortDirection, type TableSortEntry, type TableSortState, type TableTextOverflow, type TableTreeRowMeta, type TableVerticalAlign, type UseTableColumnResizeConfig, type UseTableColumnSettingsConfig, type UseTableFilterStateOptions, type UseTableFilteringConfig, type UseTableGroupedRowsConfig, type UseTablePaginationConfig, type UseTableRowExpansionConfig, type UseTableRowIndexConfig, type UseTableRowStatusConfig, type UseTableSelectionConfig, type UseTableSelectionStateConfig, type UseTableSortableConfig, type UseTableStickyColumnsConfig, type UseTableTreeDataConfig, type UseTableTreeStateConfig, applyTableFilters, buildGroupedRows, capitalize, cellText, columnResizeDirectionSign, columnResizeMinWidth, columnResizeStep, flattenTree, generateColumns, isInteractiveRowClick, isProportionalColumnWidth, isTableGroupHeader, paginateData, paginateData as paginateTableData, pixel, proportional, resizeColumnWidths, resolveColumnFloorWidths, resolveColumnWidths, resolveStickySide, sortRows, stickyOffsets, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableFilterState, useTableFiltering, useTableGroupedRows, useTablePagination, useTableRowExpansion, useTableRowIndex, useTableRowStatus, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTableStickyColumns, useTableTreeData, useTableTreeState };
@@ -1,2 +1,2 @@
1
- import { A as useTableColumnSettings, B as generateColumns, C as isInteractiveRowClick, D as applyTableFilters, E as useTableGroupedRows, F as isProportionalColumnWidth, G as resolveColumnWidths, H as pixel, I as resizeColumnWidths, K as sortRows, L as useTableColumnResize, M as columnResizeDirectionSign, N as columnResizeMinWidth, O as useTableFilterState, P as columnResizeStep, R as capitalize, S as useTablePagination, T as isTableGroupHeader, U as proportional, V as paginateData, W as resolveColumnFloorWidths, _ as useTableSelection, a as _sfc_main$3, b as useTableRowIndex, c as _sfc_main, d as useTableTreeState, f as resolveStickySide, g as useTableSortableState, h as useTableSortable, i as _sfc_main$4, j as useTableColumnSettingsState, k as useTableFiltering, l as flattenTree, m as useTableStickyColumns, n as _sfc_main$6, o as _sfc_main$2, p as stickyOffsets, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main$7, u as useTableTreeData, v as useTableSelectionState, w as buildGroupedRows, x as useTableRowExpansion, y as useTableRowStatus, z as cellText } from "../Table-fecqnm7P.js";
1
+ import { A as useTableColumnSettings, B as generateColumns, C as isInteractiveRowClick, D as applyTableFilters, E as useTableGroupedRows, F as isProportionalColumnWidth, G as resolveColumnWidths, H as pixel, I as resizeColumnWidths, K as sortRows, L as useTableColumnResize, M as columnResizeDirectionSign, N as columnResizeMinWidth, O as useTableFilterState, P as columnResizeStep, R as capitalize, S as useTablePagination, T as isTableGroupHeader, U as proportional, V as paginateData, W as resolveColumnFloorWidths, _ as useTableSelection, a as _sfc_main$3, b as useTableRowIndex, c as _sfc_main, d as useTableTreeState, f as resolveStickySide, g as useTableSortableState, h as useTableSortable, i as _sfc_main$4, j as useTableColumnSettingsState, k as useTableFiltering, l as flattenTree, m as useTableStickyColumns, n as _sfc_main$6, o as _sfc_main$2, p as stickyOffsets, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main$7, u as useTableTreeData, v as useTableSelectionState, w as buildGroupedRows, x as useTableRowExpansion, y as useTableRowStatus, z as cellText } from "../Table-BcrrylMX.js";
2
2
  export { _sfc_main as Table, _sfc_main$1 as TableBody, _sfc_main$2 as TableCell, _sfc_main$3 as TableFooter, _sfc_main$4 as TableHeader, _sfc_main$5 as TableHeaderCell, _sfc_main$6 as TableRow, _sfc_main$7 as TableSelectionToolbar, applyTableFilters, buildGroupedRows, capitalize, cellText, columnResizeDirectionSign, columnResizeMinWidth, columnResizeStep, flattenTree, generateColumns, isInteractiveRowClick, isProportionalColumnWidth, isTableGroupHeader, paginateData, paginateData as paginateTableData, pixel, proportional, resizeColumnWidths, resolveColumnFloorWidths, resolveColumnWidths, resolveStickySide, sortRows, stickyOffsets, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableFilterState, useTableFiltering, useTableGroupedRows, useTablePagination, useTableRowExpansion, useTableRowIndex, useTableRowStatus, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTableStickyColumns, useTableTreeData, useTableTreeState };