@optiaxiom/web-components 0.8.6 → 0.8.8

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 (366) hide show
  1. package/ModalContextProvider/package.json +4 -0
  2. package/ToastProvider/package.json +4 -0
  3. package/TooltipProvider/package.json +4 -0
  4. package/dist/ActionsRoot.css.ts.vanilla-Dfk5YZBS-DdVAPr7I.js +1 -0
  5. package/dist/AlertDialogContext-DhpfTO-7.js +1 -0
  6. package/dist/{AngleMenuButton-i15_bbH3.js → AngleMenuButton-BHX30Usc.js} +1 -1
  7. package/dist/{Avatar-BdFbg-wY.js → Avatar-DQIpdPwa.js} +1 -1
  8. package/dist/AvatarContext-BxJ3vaF8.js +1 -0
  9. package/dist/{Backdrop-CsB6jxwi.js → Backdrop-DLLkXTSx.js} +1 -1
  10. package/dist/{Badge-BIlTExsc.js → Badge-CydugMlj.js} +1 -1
  11. package/dist/{Box-BHP0qKRO.js → Box-Cx5uG7vH.js} +1 -1
  12. package/dist/{Button-21RX8sP3.js → Button-BnBM-Uxg.js} +1 -1
  13. package/dist/ButtonContext-DM7jH16l.js +1 -0
  14. package/dist/{Checkbox-BTrrD7Ht.js → Checkbox-D3TNP36j.js} +1 -1
  15. package/dist/{Combination-1GJ0-b9I.js → Combination-CNsT22n5.js} +1 -1
  16. package/dist/{Cover-CtXG5gSb.js → Cover-C3FGs1Dw.js} +1 -1
  17. package/dist/DialogContext-BWf5Oq-s.js +1 -0
  18. package/dist/{DisclosureContext-DPHJg2s2.js → DisclosureContext-DHlGN3xQ.js} +1 -1
  19. package/dist/DrawerContext-DInD_HNg.js +1 -0
  20. package/dist/DropdownMenuContext-CAbA4qrY.js +1 -0
  21. package/dist/DropdownMenuSubContext-Bf1RajTb.js +1 -0
  22. package/dist/FieldContext-CsSVvBWF.js +1 -0
  23. package/dist/{FieldLabel-BNsV_X8W.js → FieldLabel-Ce6lKnPD.js} +1 -1
  24. package/dist/{Flex-b9ZLsPm-.js → Flex-Cz5Cg9L6.js} +1 -1
  25. package/dist/{Heading-syf_jDPW.js → Heading-DIjnpxa6.js} +1 -1
  26. package/dist/Icon-DGRlKqN4.js +1 -0
  27. package/dist/{IconAngleRight-DefYs4NM.js → IconAngleRight-DdYBlpQf.js} +1 -1
  28. package/dist/{IconCircleInfoSolid-lEGuVouJ.js → IconCircleInfoSolid-aIo4dmJ0.js} +1 -1
  29. package/dist/{IconEllipsis-x0J3d0at.js → IconEllipsis-Bo_Hf8U1.js} +1 -1
  30. package/dist/{IconTriangleExclamationSolid-DWn_kPlA.js → IconTriangleExclamationSolid-D4YbNwwo.js} +1 -1
  31. package/dist/{IconX-D8j9q4bB.js → IconX-CLF9PmDU.js} +1 -1
  32. package/dist/{Input-CdAKBcJk.js → Input-DaKbs8-O.js} +1 -1
  33. package/dist/{InputAddon-EHNxmjae.js → InputAddon-ByOZ-JMl.js} +1 -1
  34. package/dist/InputContext-B130-TrB.js +1 -0
  35. package/dist/{InputControl-C-5ewW5U.js → InputControl-C76YVAjS.js} +1 -1
  36. package/dist/{InputControl.css.ts.vanilla-BTzKwlXr-CVFVNFXQ.js → InputControl.css.ts.vanilla-BTzKwlXr-BZKfV42b.js} +1 -1
  37. package/dist/{InputRoot-Btx2gtnz.js → InputRoot-e0bYfs3I.js} +1 -1
  38. package/dist/{Listbox-y61DTw8H.js → Listbox-C5h3hR1m.js} +1 -1
  39. package/dist/ListboxGroupContext-DjgnqFgB.js +1 -0
  40. package/dist/{ListboxItem-DRBGuvSN.js → ListboxItem-DfKPIW8F.js} +1 -1
  41. package/dist/{ListboxItemIndicator-Oq4q8NSn.js → ListboxItemIndicator-BvDyYUKF.js} +1 -1
  42. package/dist/ListboxSeparator-vc499Usp.js +1 -0
  43. package/dist/{ListboxSwitchItem-e4VHAgVE.js → ListboxSwitchItem-BHiJ-yOB.js} +1 -1
  44. package/dist/{MenuListbox-bQNlbHc3.js → MenuListbox-B3Amegay.js} +1 -1
  45. package/dist/ModalContext-N9pvaumq.js +1 -0
  46. package/dist/{NavItem-BzWrkzjn.js → NavItem-CcLWuT1b.js} +1 -1
  47. package/dist/{Paper-UoMKT9fQ.js → Paper-SOSZ3YPD.js} +1 -1
  48. package/dist/PopoverContext-C2ZT8Z0p.js +1 -0
  49. package/dist/RadioGroupContext-i0ypSc70.js +1 -0
  50. package/dist/{SegmentedControlContext-CbEGXQGT.js → SegmentedControlContext-D6sIDi2D.js} +1 -1
  51. package/dist/{Separator-pvH6TTda.js → Separator-DBWEXh3d.js} +1 -1
  52. package/dist/SidebarContext-QCnOxR0E.js +1 -0
  53. package/dist/{Spinner-CdSi0_hW.js → Spinner-DQNz5OzG.js} +1 -1
  54. package/dist/{Switch-DbAKn_GI.js → Switch-Bg-tTl8l.js} +1 -1
  55. package/dist/{Text-D7gfbOqr.js → Text-BcMMeoNg.js} +1 -1
  56. package/dist/{ThemeProvider-Bb5n45a3.js → ThemeProvider-D_pr_Mp0.js} +1 -1
  57. package/dist/{Toast-DQd4e1oB.js → Toast-D5ITuliR.js} +1 -1
  58. package/dist/{ToastAction-D680AzjD.js → ToastAction-Dzas2BRC.js} +1 -1
  59. package/dist/ToastProvider-BqpTMryL.js +1 -0
  60. package/dist/{ToastTitle-DLLTu0V-.js → ToastTitle-By1qI1Tn.js} +1 -1
  61. package/dist/{ToggleInputHiddenInput-okRSUUyf.js → ToggleInputHiddenInput-B01-iZIB.js} +1 -1
  62. package/dist/{Tooltip-CXe3Bh6Y.js → Tooltip-CEdisft1.js} +1 -1
  63. package/dist/{TooltipContent-DNViuS_r.js → TooltipContent-BmDfwSoe.js} +1 -1
  64. package/dist/TooltipContext-CXuX4mY2.js +1 -0
  65. package/dist/TooltipProvider-_F-ATAc_.js +1 -0
  66. package/dist/{TooltipRoot-B6-1cYu4.js → TooltipRoot-fipHpFKP.js} +1 -1
  67. package/dist/{TooltipTrigger-DsJTCGGx.js → TooltipTrigger-B0PS4qaZ.js} +1 -1
  68. package/dist/{Transition-DXc9OUar.js → Transition-L0MbUskW.js} +1 -1
  69. package/dist/{TransitionGroup-B8QHzhH1.js → TransitionGroup-BWut0hj4.js} +1 -1
  70. package/dist/components/Alert.d.ts +21 -8
  71. package/dist/components/Alert.js +1 -1
  72. package/dist/components/AlertDialog.d.ts +21 -8
  73. package/dist/components/AlertDialog.js +1 -1
  74. package/dist/components/AlertDialogAction.d.ts +31 -8
  75. package/dist/components/AlertDialogAction.js +1 -1
  76. package/dist/components/AlertDialogBody.d.ts +19 -8
  77. package/dist/components/AlertDialogBody.js +1 -1
  78. package/dist/components/AlertDialogCancel.d.ts +31 -8
  79. package/dist/components/AlertDialogCancel.js +1 -1
  80. package/dist/components/AlertDialogContent.d.ts +24 -8
  81. package/dist/components/AlertDialogContent.js +1 -1
  82. package/dist/components/AlertDialogFooter.d.ts +19 -8
  83. package/dist/components/AlertDialogFooter.js +1 -1
  84. package/dist/components/AlertDialogHeader.d.ts +21 -8
  85. package/dist/components/AlertDialogHeader.js +1 -1
  86. package/dist/components/AlertDialogTrigger.d.ts +31 -8
  87. package/dist/components/AlertDialogTrigger.js +1 -1
  88. package/dist/components/AngleMenuButton.d.ts +31 -8
  89. package/dist/components/AngleMenuButton.js +1 -1
  90. package/dist/components/Avatar.d.ts +25 -8
  91. package/dist/components/Avatar.js +1 -1
  92. package/dist/components/AvatarGroup.d.ts +20 -8
  93. package/dist/components/AvatarGroup.js +1 -1
  94. package/dist/components/AxiomProvider.d.ts +19 -8
  95. package/dist/components/AxiomProvider.js +1 -1
  96. package/dist/components/Badge.d.ts +24 -8
  97. package/dist/components/Badge.js +1 -1
  98. package/dist/components/Banner.d.ts +21 -8
  99. package/dist/components/Banner.js +1 -1
  100. package/dist/components/Box.d.ts +103 -6
  101. package/dist/components/Box.js +1 -1
  102. package/dist/components/Button.d.ts +31 -8
  103. package/dist/components/Button.js +1 -1
  104. package/dist/components/ButtonGroup.d.ts +20 -8
  105. package/dist/components/ButtonGroup.js +1 -1
  106. package/dist/components/Checkbox.d.ts +22 -6
  107. package/dist/components/Checkbox.js +1 -1
  108. package/dist/components/Code.d.ts +19 -8
  109. package/dist/components/Code.js +1 -1
  110. package/dist/components/Dialog.d.ts +21 -8
  111. package/dist/components/Dialog.js +1 -1
  112. package/dist/components/DialogBody.d.ts +19 -8
  113. package/dist/components/DialogBody.js +1 -1
  114. package/dist/components/DialogClose.d.ts +31 -8
  115. package/dist/components/DialogClose.js +1 -1
  116. package/dist/components/DialogContent.d.ts +28 -6
  117. package/dist/components/DialogContent.js +1 -1
  118. package/dist/components/DialogFooter.d.ts +19 -8
  119. package/dist/components/DialogFooter.js +1 -1
  120. package/dist/components/DialogForm.d.ts +19 -8
  121. package/dist/components/DialogForm.js +1 -1
  122. package/dist/components/DialogHeader.d.ts +22 -8
  123. package/dist/components/DialogHeader.js +1 -1
  124. package/dist/components/DialogTrigger.d.ts +31 -8
  125. package/dist/components/DialogTrigger.js +1 -1
  126. package/dist/components/Disclosure.d.ts +24 -8
  127. package/dist/components/Disclosure.js +1 -1
  128. package/dist/components/DisclosureContent.d.ts +21 -8
  129. package/dist/components/DisclosureContent.js +1 -1
  130. package/dist/components/DisclosureTrigger.d.ts +25 -8
  131. package/dist/components/DisclosureTrigger.js +1 -1
  132. package/dist/components/Drawer.d.ts +22 -8
  133. package/dist/components/Drawer.js +1 -1
  134. package/dist/components/DrawerBody.d.ts +19 -8
  135. package/dist/components/DrawerBody.js +1 -1
  136. package/dist/components/DrawerClose.d.ts +31 -8
  137. package/dist/components/DrawerClose.js +1 -1
  138. package/dist/components/DrawerContent.d.ts +28 -8
  139. package/dist/components/DrawerContent.js +1 -1
  140. package/dist/components/DrawerFooter.d.ts +19 -8
  141. package/dist/components/DrawerFooter.js +1 -1
  142. package/dist/components/DrawerHeader.d.ts +22 -8
  143. package/dist/components/DrawerHeader.js +1 -1
  144. package/dist/components/DrawerTrigger.d.ts +31 -8
  145. package/dist/components/DrawerTrigger.js +1 -1
  146. package/dist/components/DropdownMenu.d.ts +22 -8
  147. package/dist/components/DropdownMenu.js +1 -1
  148. package/dist/components/DropdownMenuCheckboxItem.d.ts +32 -8
  149. package/dist/components/DropdownMenuCheckboxItem.js +1 -1
  150. package/dist/components/DropdownMenuContent.d.ts +31 -8
  151. package/dist/components/DropdownMenuContent.js +1 -1
  152. package/dist/components/DropdownMenuGroup.d.ts +19 -8
  153. package/dist/components/DropdownMenuGroup.js +1 -1
  154. package/dist/components/DropdownMenuItem.d.ts +30 -8
  155. package/dist/components/DropdownMenuItem.js +1 -1
  156. package/dist/components/DropdownMenuLabel.d.ts +19 -8
  157. package/dist/components/DropdownMenuLabel.js +1 -1
  158. package/dist/components/DropdownMenuSeparator.d.ts +19 -8
  159. package/dist/components/DropdownMenuSeparator.js +1 -1
  160. package/dist/components/DropdownMenuSub.d.ts +21 -8
  161. package/dist/components/DropdownMenuSub.js +1 -1
  162. package/dist/components/DropdownMenuSubContent.d.ts +27 -8
  163. package/dist/components/DropdownMenuSubContent.js +1 -1
  164. package/dist/components/DropdownMenuTrigger.d.ts +31 -8
  165. package/dist/components/DropdownMenuTrigger.js +1 -1
  166. package/dist/components/EllipsisMenuButton.d.ts +31 -8
  167. package/dist/components/EllipsisMenuButton.js +1 -1
  168. package/dist/components/Field.d.ts +28 -8
  169. package/dist/components/Field.js +1 -1
  170. package/dist/components/FieldLabel.d.ts +25 -8
  171. package/dist/components/FieldLabel.js +1 -1
  172. package/dist/components/Flex.d.ts +19 -8
  173. package/dist/components/Flex.js +1 -1
  174. package/dist/components/Grid.d.ts +19 -8
  175. package/dist/components/Grid.js +1 -1
  176. package/dist/components/Heading.d.ts +23 -8
  177. package/dist/components/Heading.js +1 -1
  178. package/dist/components/Indicator.d.ts +29 -8
  179. package/dist/components/Indicator.js +1 -1
  180. package/dist/components/Input.d.ts +31 -8
  181. package/dist/components/Input.js +1 -1
  182. package/dist/components/InputAddon.d.ts +19 -8
  183. package/dist/components/InputAddon.js +1 -1
  184. package/dist/components/InputControl.d.ts +22 -8
  185. package/dist/components/InputControl.js +1 -1
  186. package/dist/components/InputRoot.d.ts +21 -8
  187. package/dist/components/InputRoot.js +1 -1
  188. package/dist/components/Kbd.d.ts +21 -8
  189. package/dist/components/Kbd.js +1 -1
  190. package/dist/components/Link.d.ts +23 -6
  191. package/dist/components/Link.js +1 -1
  192. package/dist/components/Listbox.d.ts +19 -8
  193. package/dist/components/Listbox.js +1 -1
  194. package/dist/components/ListboxCheckboxItem.d.ts +26 -8
  195. package/dist/components/ListboxCheckboxItem.js +1 -1
  196. package/dist/components/ListboxEmpty.d.ts +19 -8
  197. package/dist/components/ListboxEmpty.js +1 -1
  198. package/dist/components/ListboxFooter.d.ts +19 -8
  199. package/dist/components/ListboxFooter.js +1 -1
  200. package/dist/components/ListboxGroup.d.ts +19 -8
  201. package/dist/components/ListboxGroup.js +1 -1
  202. package/dist/components/ListboxItem.d.ts +26 -8
  203. package/dist/components/ListboxItem.js +1 -1
  204. package/dist/components/ListboxItemIndicator.d.ts +20 -8
  205. package/dist/components/ListboxItemIndicator.js +1 -1
  206. package/dist/components/ListboxLabel.d.ts +19 -8
  207. package/dist/components/ListboxLabel.js +1 -1
  208. package/dist/components/ListboxRadioItem.d.ts +26 -8
  209. package/dist/components/ListboxRadioItem.js +1 -1
  210. package/dist/components/ListboxScrollArea.d.ts +19 -8
  211. package/dist/components/ListboxScrollArea.js +1 -1
  212. package/dist/components/ListboxSeparator.d.ts +21 -8
  213. package/dist/components/ListboxSeparator.js +1 -1
  214. package/dist/components/ListboxSwitchItem.d.ts +26 -8
  215. package/dist/components/ListboxSwitchItem.js +1 -1
  216. package/dist/components/ModalContextProvider.d.ts +28 -0
  217. package/dist/components/ModalContextProvider.js +1 -0
  218. package/dist/components/ModalLayer.d.ts +19 -8
  219. package/dist/components/ModalLayer.js +1 -1
  220. package/dist/components/Nav.d.ts +23 -8
  221. package/dist/components/Nav.js +1 -1
  222. package/dist/components/NavAccountItem.d.ts +22 -8
  223. package/dist/components/NavAccountItem.js +1 -1
  224. package/dist/components/NavBody.d.ts +19 -8
  225. package/dist/components/NavBody.js +1 -1
  226. package/dist/components/NavFooter.d.ts +19 -8
  227. package/dist/components/NavFooter.js +1 -1
  228. package/dist/components/NavHeader.d.ts +19 -8
  229. package/dist/components/NavHeader.js +1 -1
  230. package/dist/components/NavItem.d.ts +23 -8
  231. package/dist/components/NavItem.js +1 -1
  232. package/dist/components/NavList.d.ts +19 -8
  233. package/dist/components/NavList.js +1 -1
  234. package/dist/components/Pagination.d.ts +25 -8
  235. package/dist/components/Pagination.js +1 -1
  236. package/dist/components/Paper.d.ts +20 -8
  237. package/dist/components/Paper.js +1 -1
  238. package/dist/components/Popover.d.ts +22 -8
  239. package/dist/components/Popover.js +1 -1
  240. package/dist/components/PopoverAnchor.d.ts +19 -8
  241. package/dist/components/PopoverAnchor.js +1 -1
  242. package/dist/components/PopoverContent.d.ts +35 -6
  243. package/dist/components/PopoverContent.js +1 -1
  244. package/dist/components/PopoverTrigger.d.ts +33 -8
  245. package/dist/components/PopoverTrigger.js +1 -1
  246. package/dist/components/Progress.d.ts +24 -8
  247. package/dist/components/Progress.js +3 -3
  248. package/dist/components/Radio.d.ts +21 -8
  249. package/dist/components/Radio.js +1 -1
  250. package/dist/components/RadioGroup.d.ts +27 -8
  251. package/dist/components/RadioGroup.js +1 -1
  252. package/dist/components/SearchInput.d.ts +32 -8
  253. package/dist/components/SearchInput.js +1 -1
  254. package/dist/components/SegmentedControl.d.ts +30 -8
  255. package/dist/components/SegmentedControl.js +1 -1
  256. package/dist/components/SegmentedControlItem.d.ts +32 -8
  257. package/dist/components/SegmentedControlItem.js +1 -1
  258. package/dist/components/Separator.d.ts +21 -8
  259. package/dist/components/Separator.js +1 -1
  260. package/dist/components/Sidebar.d.ts +23 -8
  261. package/dist/components/Sidebar.js +1 -1
  262. package/dist/components/SidebarToggle.d.ts +24 -8
  263. package/dist/components/SidebarToggle.js +1 -1
  264. package/dist/components/Skeleton.d.ts +20 -8
  265. package/dist/components/Skeleton.js +1 -1
  266. package/dist/components/Spinner.d.ts +20 -8
  267. package/dist/components/Spinner.js +1 -1
  268. package/dist/components/Switch.d.ts +22 -8
  269. package/dist/components/Switch.js +1 -1
  270. package/dist/components/Tabs.d.ts +27 -8
  271. package/dist/components/Tabs.js +1 -1
  272. package/dist/components/TabsContent.d.ts +20 -8
  273. package/dist/components/TabsContent.js +1 -1
  274. package/dist/components/TabsList.d.ts +20 -8
  275. package/dist/components/TabsList.js +1 -1
  276. package/dist/components/TabsTrigger.d.ts +24 -8
  277. package/dist/components/TabsTrigger.js +1 -1
  278. package/dist/components/Text.d.ts +22 -8
  279. package/dist/components/Text.js +1 -1
  280. package/dist/components/Textarea.d.ts +31 -8
  281. package/dist/components/Textarea.js +1 -1
  282. package/dist/components/ThemeProvider.d.ts +18 -8
  283. package/dist/components/ThemeProvider.js +1 -1
  284. package/dist/components/Toast.d.ts +32 -8
  285. package/dist/components/Toast.js +1 -1
  286. package/dist/components/ToastAction.d.ts +33 -8
  287. package/dist/components/ToastAction.js +1 -1
  288. package/dist/components/ToastProvider.d.ts +39 -0
  289. package/dist/components/ToastProvider.js +1 -0
  290. package/dist/components/ToastTitle.d.ts +22 -8
  291. package/dist/components/ToastTitle.js +1 -1
  292. package/dist/components/ToggleButton.d.ts +35 -8
  293. package/dist/components/ToggleButton.js +1 -1
  294. package/dist/components/Tooltip.d.ts +116 -8
  295. package/dist/components/Tooltip.js +1 -1
  296. package/dist/components/TooltipContent.d.ts +24 -8
  297. package/dist/components/TooltipContent.js +1 -1
  298. package/dist/components/TooltipProvider.d.ts +33 -0
  299. package/dist/components/TooltipProvider.js +1 -0
  300. package/dist/components/TooltipRoot.d.ts +28 -8
  301. package/dist/components/TooltipRoot.js +1 -1
  302. package/dist/components/TooltipTrigger.d.ts +19 -8
  303. package/dist/components/TooltipTrigger.js +1 -1
  304. package/dist/components/Transition.d.ts +22 -6
  305. package/dist/components/Transition.js +1 -1
  306. package/dist/components/TransitionGroup.d.ts +20 -8
  307. package/dist/components/TransitionGroup.js +1 -1
  308. package/dist/{decorateChildren-C4L2PFYG.js → decorateChildren-DDCK5QCj.js} +1 -1
  309. package/dist/fallbackSpan-DXInwL_2.js +1 -0
  310. package/dist/{index-DOMkU18p.js → index-0VYBJ9Rc.js} +1 -1
  311. package/dist/{index-CSr4MqOt.js → index-17s6MfzL.js} +1 -1
  312. package/dist/{index-DV-wZSSZ.js → index-BG2PsQQa.js} +1 -1
  313. package/dist/index-BGEMjMk7.js +1 -0
  314. package/dist/{index-BvHNas55.js → index-BX3RLjgR.js} +1 -1
  315. package/dist/{index-CepDNGR1.js → index-BkJvGJS0.js} +1 -1
  316. package/dist/{index-Db2DXrmO.js → index-BkNgpX5Y.js} +1 -1
  317. package/dist/{index-CsuibBR1.js → index-BqUs-Pwe.js} +1 -1
  318. package/dist/{index-BYnJ2ASg.js → index-CHzmDk7o.js} +1 -1
  319. package/dist/{index-q0aTvx7X.js → index-COx1pHSg.js} +1 -1
  320. package/dist/{index-CrWzovFQ.js → index-CURB1Y5l.js} +1 -1
  321. package/dist/{index-DGclW8Kv.js → index-C_rOOEYj.js} +1 -1
  322. package/dist/{index-BK6fPfRZ.js → index-Ceax_uYU.js} +1 -1
  323. package/dist/{index-CnYoBP3f.js → index-Cg2PG_9k.js} +1 -1
  324. package/dist/{index-DYmkxMm3.js → index-Cs7lwrTM.js} +1 -1
  325. package/dist/{index-lblyEDnd.js → index-D8fjhMLF.js} +1 -1
  326. package/dist/index-DIUvH_Xd.js +1 -0
  327. package/dist/{index-Dw3VGYXp.js → index-DbdLSO3Q.js} +1 -1
  328. package/dist/{index-S4WFd4Dn.js → index-Dt7QiBAn.js} +1 -1
  329. package/dist/{index-KVjnXpyZ.js → index-UVUhp3Uz.js} +1 -1
  330. package/dist/{index-BNicqkeG.js → index-nSdOLOpB.js} +1 -1
  331. package/dist/{index-0jRFgTjV.js → index-ncmBP7py.js} +1 -1
  332. package/dist/{index-adEjT8_m.js → index-tf32pssn.js} +1 -1
  333. package/dist/index.d.ts +2625 -772
  334. package/dist/index.js +1 -1
  335. package/dist/{layers.css.ts.vanilla-BSdkAYOS-C7JUhpTg.js → layers.css.ts.vanilla-BSdkAYOS-DSqExME7.js} +1 -1
  336. package/dist/propTypes-BS0cSwu1.js +1 -0
  337. package/dist/register-b54KUePW.js +6 -0
  338. package/dist/types-CTlz22rN.d.ts +7 -0
  339. package/dist/{useNestedDialogCount-BUsaW0Jm.js → useNestedDialogCount-1WR7qYoD.js} +1 -1
  340. package/dist/{withIcon-CMwAXkw9.js → withIcon-BIYs4Gcs.js} +1 -1
  341. package/package.json +4 -1
  342. package/dist/ActionsRoot.css.ts.vanilla-Dfk5YZBS-V6zoDkoJ.js +0 -1
  343. package/dist/AlertDialogContext-BTc6NoNl.js +0 -1
  344. package/dist/AvatarContext-6hiJcrh_.js +0 -1
  345. package/dist/ButtonContext-BCRupyxa.js +0 -1
  346. package/dist/DialogContext-Bsipl1vx.js +0 -1
  347. package/dist/DrawerContext-BZxlFzLT.js +0 -1
  348. package/dist/DropdownMenuContext-CDW-nkYh.js +0 -1
  349. package/dist/DropdownMenuSubContext-C2M_Ofdo.js +0 -1
  350. package/dist/FieldContext-Du9GU0ye.js +0 -1
  351. package/dist/Icon-Ce13qRKB.js +0 -1
  352. package/dist/InputContext-0I1X73Wy.js +0 -1
  353. package/dist/ListboxGroupContext-CZn1WSIe.js +0 -1
  354. package/dist/ListboxSeparator-D2ytB1C4.js +0 -1
  355. package/dist/ModalContext-DB7OynAo.js +0 -1
  356. package/dist/PopoverContent-XMsYEAmD.d-D_T0fOOH.d.ts +0 -501
  357. package/dist/PopoverContext-BNFpuPre.js +0 -1
  358. package/dist/RadioGroupContext-C2MazBib.js +0 -1
  359. package/dist/SidebarContext-CN_2D__2.js +0 -1
  360. package/dist/TooltipContext-D8A9qKZJ.js +0 -1
  361. package/dist/factory-BErXNamt.js +0 -1
  362. package/dist/fallbackSpan-CsEcXVoy.js +0 -1
  363. package/dist/index-CURXWsRI.js +0 -1
  364. package/dist/index-wVTVRAen.js +0 -1
  365. package/dist/index.d-DvAmfUkz.d.ts +0 -1939
  366. package/dist/register-CXrvYTg0.js +0 -6
@@ -1,18 +1,126 @@
1
+ import { JSXBase } from '@stencil/core/internal';
1
2
  import { ComponentPropsWithoutRef } from 'react';
2
- import { C as ComponentAttributes } from '../PopoverContent-XMsYEAmD.d-D_T0fOOH.js';
3
- import { aP as Tooltip$1 } from '../index.d-DvAmfUkz.js';
4
- import 'react/jsx-runtime';
3
+ import { R as ResponsiveObject, a as ResponsiveArray } from '../types-CTlz22rN.js';
4
+ import './Box.js';
5
5
 
6
6
  declare const Tooltip = "ax-tooltip";
7
7
 
8
- declare global {
8
+ type TooltipProps = {
9
+ "animation"?: "ping" | "pulse" | "spin";
10
+ "borderColor"?: "border.accent" | "border.control" | "border.control.hovered" | "border.default" | "border.disabled" | "border.error" | "border.focus" | "border.focus.error" | "border.secondary" | "border.success" | "border.tertiary" | "border.warning" | "transparent" | "current";
11
+ "border-color"?: "border.accent" | "border.control" | "border.control.hovered" | "border.default" | "border.disabled" | "border.error" | "border.focus" | "border.focus.error" | "border.secondary" | "border.success" | "border.tertiary" | "border.warning" | "transparent" | "current";
12
+ "color"?: "transparent" | "current" | "fg.accent" | "fg.accent.hovered" | "fg.accent.strong" | "fg.avatar.neutral" | "fg.avatar.purple" | "fg.default" | "fg.default.inverse" | "fg.disabled" | "fg.error" | "fg.error.hovered" | "fg.error.light" | "fg.error.strong" | "fg.information" | "fg.information.light" | "fg.information.strong" | "fg.link.default" | "fg.link.default.hovered" | "fg.link.inverse" | "fg.link.subtle" | "fg.link.visited" | "fg.secondary" | "fg.spinner.default" | "fg.spinner.inverse" | "fg.success" | "fg.success.hovered" | "fg.success.light" | "fg.success.strong" | "fg.tertiary" | "fg.warning" | "fg.warning.hovered" | "fg.warning.inverse" | "fg.warning.light" | "fg.warning.strong" | "fg.white";
13
+ "cursor"?: "pointer" | "default" | "not-allowed" | "text";
14
+ "empty"?: "hidden";
15
+ "fontFamily"?: "mono" | "sans";
16
+ "font-family"?: "mono" | "sans";
17
+ "fontSize"?: "sm" | "md" | "xs" | "lg" | "inherit" | "xl" | "3xl" | "2xl" | "4xl";
18
+ "font-size"?: "sm" | "md" | "xs" | "lg" | "inherit" | "xl" | "3xl" | "2xl" | "4xl";
19
+ "fontWeight"?: "inherit" | "400" | "500" | "600" | "700";
20
+ "font-weight"?: "inherit" | "400" | "500" | "600" | "700";
21
+ "objectFit"?: "none" | "contain" | "cover" | "fill";
22
+ "object-fit"?: "none" | "contain" | "cover" | "fill";
23
+ "overflowX"?: "hidden" | "auto" | "visible";
24
+ "overflow-x"?: "hidden" | "auto" | "visible";
25
+ "overflowY"?: "hidden" | "auto" | "visible";
26
+ "overflow-y"?: "hidden" | "auto" | "visible";
27
+ "pointerEvents"?: "none" | "auto";
28
+ "pointer-events"?: "none" | "auto";
29
+ "textAlign"?: "center" | "end" | "start" | "justify";
30
+ "text-align"?: "center" | "end" | "start" | "justify";
31
+ "textTransform"?: "none" | "capitalize" | "uppercase";
32
+ "text-transform"?: "none" | "capitalize" | "uppercase";
33
+ "transition"?: "none" | "opacity" | "transform" | "colors" | "all";
34
+ "whiteSpace"?: "nowrap";
35
+ "white-space"?: "nowrap";
36
+ "bg"?: "transparent" | "current" | "bg.accent" | "bg.accent.hovered" | "bg.accent.light" | "bg.accent.pressed" | "bg.accent.subtle" | "bg.avatar.neutral" | "bg.avatar.purple" | "bg.default" | "bg.default.hovered" | "bg.default.inverse" | "bg.default.inverse.hovered" | "bg.default.inverse.pressed" | "bg.default.pressed" | "bg.error" | "bg.error.hovered" | "bg.error.light" | "bg.error.pressed" | "bg.error.subtle" | "bg.error.subtlest" | "bg.information" | "bg.information.light" | "bg.information.subtle" | "bg.overlay" | "bg.page" | "bg.secondary" | "bg.secondary.hovered" | "bg.spinner.default" | "bg.spinner.inverse" | "bg.success" | "bg.success.hovered" | "bg.success.light" | "bg.success.subtle" | "bg.tertiary" | "bg.tertiary.hovered" | "bg.warning" | "bg.warning.hovered" | "bg.warning.light" | "bg.warning.subtle";
37
+ "border"?: "0" | "2" | "1";
38
+ "borderB"?: "0" | "2" | "1";
39
+ "border-b"?: "0" | "2" | "1";
40
+ "borderL"?: "0" | "2" | "1";
41
+ "border-l"?: "0" | "2" | "1";
42
+ "borderR"?: "0" | "2" | "1";
43
+ "border-r"?: "0" | "2" | "1";
44
+ "borderT"?: "0" | "2" | "1";
45
+ "border-t"?: "0" | "2" | "1";
46
+ "m"?: "auto" | "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80";
47
+ "mx"?: "auto" | "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80";
48
+ "my"?: "auto" | "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80";
49
+ "mb"?: "auto" | "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80";
50
+ "ml"?: "auto" | "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80";
51
+ "mr"?: "auto" | "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80";
52
+ "mt"?: "auto" | "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80";
53
+ "overflow"?: "hidden" | "auto" | "visible";
54
+ "p"?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80";
55
+ "px"?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80";
56
+ "py"?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80";
57
+ "pb"?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80";
58
+ "pl"?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80";
59
+ "pr"?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80";
60
+ "pt"?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80";
61
+ "rounded"?: "sm" | "md" | "xs" | "lg" | "inherit" | "none" | "full";
62
+ "shadow"?: "sm" | "md" | "lg" | "none";
63
+ "z"?: "auto" | "0" | "10" | "20" | "popover" | "toast" | "tooltip" | "30";
64
+ "alignItems"?: "center" | "end" | "start" | "normal" | "space-around" | "space-between" | "space-evenly" | "stretch" | ResponsiveObject<"center" | "end" | "start" | "normal" | "space-around" | "space-between" | "space-evenly" | "stretch"> | ResponsiveArray<"center" | "end" | "start" | "normal" | "space-around" | "space-between" | "space-evenly" | "stretch">;
65
+ "align-items"?: "center" | "end" | "start" | "normal" | "space-around" | "space-between" | "space-evenly" | "stretch";
66
+ "alignSelf"?: "center" | "end" | "start" | "normal" | "stretch" | ResponsiveObject<"center" | "end" | "start" | "normal" | "stretch"> | ResponsiveArray<"center" | "end" | "start" | "normal" | "stretch">;
67
+ "align-self"?: "center" | "end" | "start" | "normal" | "stretch";
68
+ "display"?: "flex" | "none" | "table" | "grid" | "block" | "inline" | "inline-block" | "inline-flex" | "table-cell" | "table-row" | ResponsiveObject<"flex" | "none" | "table" | "grid" | "block" | "inline" | "inline-block" | "inline-flex" | "table-cell" | "table-row"> | ResponsiveArray<"flex" | "none" | "table" | "grid" | "block" | "inline" | "inline-block" | "inline-flex" | "table-cell" | "table-row">;
69
+ "flex"?: "none" | "auto" | "1" | "initial" | ResponsiveObject<"none" | "auto" | "1" | "initial"> | ResponsiveArray<"none" | "auto" | "1" | "initial">;
70
+ "flexDirection"?: "column" | "column-reverse" | "row" | "row-reverse" | ResponsiveObject<"column" | "column-reverse" | "row" | "row-reverse"> | ResponsiveArray<"column" | "column-reverse" | "row" | "row-reverse">;
71
+ "flex-direction"?: "column" | "column-reverse" | "row" | "row-reverse";
72
+ "flexWrap"?: "nowrap" | "wrap" | ResponsiveObject<"nowrap" | "wrap"> | ResponsiveArray<"nowrap" | "wrap">;
73
+ "flex-wrap"?: "nowrap" | "wrap";
74
+ "gap"?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | ResponsiveObject<"0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80"> | ResponsiveArray<"0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80">;
75
+ "gridColumn"?: "2" | "1" | "4" | "3" | ResponsiveObject<"2" | "1" | "4" | "3"> | ResponsiveArray<"2" | "1" | "4" | "3">;
76
+ "grid-column"?: "2" | "1" | "4" | "3";
77
+ "gridTemplateColumns"?: "2" | "1" | "4" | "3" | ResponsiveArray<"2" | "1" | "4" | "3"> | ResponsiveObject<"2" | "1" | "4" | "3">;
78
+ "grid-template-columns"?: "2" | "1" | "4" | "3";
79
+ "justifyContent"?: "center" | "end" | "start" | "normal" | "space-around" | "space-between" | "space-evenly" | "stretch" | ResponsiveArray<"center" | "end" | "start" | "normal" | "space-around" | "space-between" | "space-evenly" | "stretch"> | ResponsiveObject<"center" | "end" | "start" | "normal" | "space-around" | "space-between" | "space-evenly" | "stretch">;
80
+ "justify-content"?: "center" | "end" | "start" | "normal" | "space-around" | "space-between" | "space-evenly" | "stretch";
81
+ "justifyItems"?: "center" | "end" | "start" | "normal" | "stretch" | ResponsiveArray<"center" | "end" | "start" | "normal" | "stretch"> | ResponsiveObject<"center" | "end" | "start" | "normal" | "stretch">;
82
+ "justify-items"?: "center" | "end" | "start" | "normal" | "stretch";
83
+ "placeItems"?: "center" | ResponsiveObject<"center"> | ResponsiveArray<"center">;
84
+ "place-items"?: "center";
85
+ "maxH"?: "sm" | "md" | "xs" | "lg" | "full" | ResponsiveObject<"sm" | "md" | "xs" | "lg" | "full"> | ResponsiveArray<"sm" | "md" | "xs" | "lg" | "full">;
86
+ "max-h"?: "sm" | "md" | "xs" | "lg" | "full";
87
+ "maxW"?: "sm" | "md" | "xs" | "lg" | "full" | ResponsiveArray<"sm" | "md" | "xs" | "lg" | "full"> | ResponsiveObject<"sm" | "md" | "xs" | "lg" | "full">;
88
+ "max-w"?: "sm" | "md" | "xs" | "lg" | "full";
89
+ "size"?: "max" | "min" | "sm" | "md" | "xs" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit" | ResponsiveObject<"max" | "min" | "sm" | "md" | "xs" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit"> | ResponsiveArray<"max" | "min" | "sm" | "md" | "xs" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit">;
90
+ "h"?: "max" | "min" | "sm" | "md" | "xs" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit" | ResponsiveArray<"max" | "min" | "sm" | "md" | "xs" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit"> | ResponsiveObject<"max" | "min" | "sm" | "md" | "xs" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit">;
91
+ "w"?: "max" | "min" | "sm" | "md" | "xs" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit" | ResponsiveArray<"max" | "min" | "sm" | "md" | "xs" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit"> | ResponsiveObject<"max" | "min" | "sm" | "md" | "xs" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit">;
92
+ "className"?: string;
93
+ "class-name"?: string;
94
+ "disabled"?: false | true;
95
+ "content"?: string | number | false | true;
96
+ "aria-label"?: string;
97
+ "auto"?: false | true;
98
+ "onEscapeKeyDown"?: any;
99
+ "onPointerDownOutside"?: any;
100
+ "side"?: "top" | "right" | "bottom" | "left";
101
+ "align"?: "center" | "end" | "start";
102
+ "delayDuration"?: number;
103
+ "delay-duration"?: number;
104
+ "defaultOpen"?: false | true;
105
+ "default-open"?: false | true;
106
+ "open"?: false | true;
107
+ "onOpenChange"?: any;
108
+ };
109
+
110
+ declare module "@stencil/core" {
111
+ namespace JSX {
112
+ interface IntrinsicElements {
113
+ [Tooltip]: TooltipProps & JSXBase.HTMLAttributes;
114
+ }
115
+ }
116
+ }
117
+
118
+ declare module "react" {
9
119
  namespace JSX {
10
120
  interface IntrinsicElements {
11
- [Tooltip]: ComponentAttributes<
12
- ComponentPropsWithoutRef<typeof Tooltip$1>
13
- >;
121
+ [Tooltip]: TooltipProps & ComponentPropsWithoutRef<"div">;
14
122
  }
15
123
  }
16
124
  }
17
125
 
18
- export { Tooltip };
126
+ export { Tooltip, type TooltipProps };
@@ -1 +1 @@
1
- import{r as t}from"../register-CXrvYTg0.js";import{i as r}from"../Tooltip-CXe3Bh6Y.js";import"../factory-BErXNamt.js";import"../TooltipContent-DNViuS_r.js";import"../index-DYmkxMm3.js";import"../index-DXFJDeKK.js";import"../index-lblyEDnd.js";import"../index-BYnJ2ASg.js";import"../index-DOMkU18p.js";import"../index-q0aTvx7X.js";import"../index-BvHNas55.js";import"../index-CURXWsRI.js";import"../index-wVTVRAen.js";import"../index-CrWzovFQ.js";import"../index-S4WFd4Dn.js";import"../index-CSr4MqOt.js";import"../index-KVjnXpyZ.js";import"../index-BK6fPfRZ.js";import"../Box-BHP0qKRO.js";import"../layers.css.ts.vanilla-BSdkAYOS-C7JUhpTg.js";import"../recipeRuntime-DkvY0ny0.js";import"../Text-D7gfbOqr.js";import"../TooltipContext-D8A9qKZJ.js";import"../Transition-DXc9OUar.js";import"../TransitionGroup-B8QHzhH1.js";import"../theme-css-B61lyqMB.js";import"../TooltipRoot-B6-1cYu4.js";import"../TooltipTrigger-DsJTCGGx.js";import"../Button-21RX8sP3.js";import"../ActionsRoot.css.ts.vanilla-Dfk5YZBS-V6zoDkoJ.js";import"../Spinner-CdSi0_hW.js";import"../Flex-b9ZLsPm-.js";import"../conditions-MIJg7YDH.js";import"../index-RxKnZQN0.js";import"../decorateChildren-C4L2PFYG.js";import"../ButtonContext-BCRupyxa.js";import"../Icon-Ce13qRKB.js";import"../fallbackSpan-CsEcXVoy.js";const o="ax-tooltip";var i=t(o,r,{customEvents:["onEscapeKeyDown","onPointerDownOutside","onOpenChange"]});export{o as Tooltip,i as default};
1
+ import{r as t,c as r}from"../register-b54KUePW.js";import{aX as p}from"../propTypes-BS0cSwu1.js";import{i}from"../Tooltip-CEdisft1.js";import"../TooltipContent-BmDfwSoe.js";import"../index-Cs7lwrTM.js";import"../index-DXFJDeKK.js";import"../index-D8fjhMLF.js";import"../index-CHzmDk7o.js";import"../index-0VYBJ9Rc.js";import"../index-COx1pHSg.js";import"../index-BX3RLjgR.js";import"../index-BGEMjMk7.js";import"../index-DIUvH_Xd.js";import"../index-CURB1Y5l.js";import"../index-Dt7QiBAn.js";import"../index-17s6MfzL.js";import"../index-UVUhp3Uz.js";import"../index-Ceax_uYU.js";import"../Box-Cx5uG7vH.js";import"../layers.css.ts.vanilla-BSdkAYOS-DSqExME7.js";import"../recipeRuntime-DkvY0ny0.js";import"../Text-BcMMeoNg.js";import"../TooltipContext-CXuX4mY2.js";import"../Transition-L0MbUskW.js";import"../TransitionGroup-BWut0hj4.js";import"../theme-css-B61lyqMB.js";import"../TooltipRoot-fipHpFKP.js";import"../TooltipTrigger-B0PS4qaZ.js";import"../Button-BnBM-Uxg.js";import"../ActionsRoot.css.ts.vanilla-Dfk5YZBS-DdVAPr7I.js";import"../Spinner-DQNz5OzG.js";import"../Flex-Cz5Cg9L6.js";import"../conditions-MIJg7YDH.js";import"../index-RxKnZQN0.js";import"../decorateChildren-DDCK5QCj.js";import"../ButtonContext-DM7jH16l.js";import"../Icon-DGRlKqN4.js";import"../fallbackSpan-DXInwL_2.js";const o="ax-tooltip";var m=t(o,i,p,r);export{o as Tooltip,m as default};
@@ -1,18 +1,34 @@
1
+ import { JSXBase } from '@stencil/core/internal';
1
2
  import { ComponentPropsWithoutRef } from 'react';
2
- import { C as ComponentAttributes } from '../PopoverContent-XMsYEAmD.d-D_T0fOOH.js';
3
- import { aQ as TooltipContent$1 } from '../index.d-DvAmfUkz.js';
4
- import 'react/jsx-runtime';
3
+ import { BoxProps } from './Box.js';
4
+ import '../types-CTlz22rN.js';
5
5
 
6
6
  declare const TooltipContent = "ax-tooltip-content";
7
7
 
8
- declare global {
8
+ type TooltipContentProps = BoxProps & {
9
+ "asChild"?: false | true;
10
+ "as-child"?: false | true;
11
+ "aria-label"?: string;
12
+ "onEscapeKeyDown"?: any;
13
+ "onPointerDownOutside"?: any;
14
+ "side"?: "top" | "right" | "bottom" | "left";
15
+ "align"?: "center" | "end" | "start";
16
+ };
17
+
18
+ declare module "@stencil/core" {
19
+ namespace JSX {
20
+ interface IntrinsicElements {
21
+ [TooltipContent]: TooltipContentProps & JSXBase.HTMLAttributes;
22
+ }
23
+ }
24
+ }
25
+
26
+ declare module "react" {
9
27
  namespace JSX {
10
28
  interface IntrinsicElements {
11
- [TooltipContent]: ComponentAttributes<
12
- ComponentPropsWithoutRef<typeof TooltipContent$1>
13
- >;
29
+ [TooltipContent]: TooltipContentProps & ComponentPropsWithoutRef<"div">;
14
30
  }
15
31
  }
16
32
  }
17
33
 
18
- export { TooltipContent };
34
+ export { TooltipContent, type TooltipContentProps };
@@ -1 +1 @@
1
- import{r as t}from"../register-CXrvYTg0.js";import{r}from"../TooltipContent-DNViuS_r.js";import"../factory-BErXNamt.js";import"../index-DYmkxMm3.js";import"../index-DXFJDeKK.js";import"../index-lblyEDnd.js";import"../index-BYnJ2ASg.js";import"../index-DOMkU18p.js";import"../index-q0aTvx7X.js";import"../index-BvHNas55.js";import"../index-CURXWsRI.js";import"../index-wVTVRAen.js";import"../index-CrWzovFQ.js";import"../index-S4WFd4Dn.js";import"../index-CSr4MqOt.js";import"../index-KVjnXpyZ.js";import"../index-BK6fPfRZ.js";import"../Box-BHP0qKRO.js";import"../layers.css.ts.vanilla-BSdkAYOS-C7JUhpTg.js";import"../recipeRuntime-DkvY0ny0.js";import"../Text-D7gfbOqr.js";import"../TooltipContext-D8A9qKZJ.js";import"../Transition-DXc9OUar.js";import"../TransitionGroup-B8QHzhH1.js";import"../theme-css-B61lyqMB.js";const o="ax-tooltip-content";var i=t(o,r,{customEvents:["onEscapeKeyDown","onPointerDownOutside"]});export{o as TooltipContent,i as default};
1
+ import{r as t,c as r}from"../register-b54KUePW.js";import{aY as p}from"../propTypes-BS0cSwu1.js";import{r as i}from"../TooltipContent-BmDfwSoe.js";import"../index-Cs7lwrTM.js";import"../index-DXFJDeKK.js";import"../index-D8fjhMLF.js";import"../index-CHzmDk7o.js";import"../index-0VYBJ9Rc.js";import"../index-COx1pHSg.js";import"../index-BX3RLjgR.js";import"../index-BGEMjMk7.js";import"../index-DIUvH_Xd.js";import"../index-CURB1Y5l.js";import"../index-Dt7QiBAn.js";import"../index-17s6MfzL.js";import"../index-UVUhp3Uz.js";import"../index-Ceax_uYU.js";import"../Box-Cx5uG7vH.js";import"../layers.css.ts.vanilla-BSdkAYOS-DSqExME7.js";import"../recipeRuntime-DkvY0ny0.js";import"../Text-BcMMeoNg.js";import"../TooltipContext-CXuX4mY2.js";import"../Transition-L0MbUskW.js";import"../TransitionGroup-BWut0hj4.js";import"../theme-css-B61lyqMB.js";const o="ax-tooltip-content";var m=t(o,i,p,r);export{o as TooltipContent,m as default};
@@ -0,0 +1,33 @@
1
+ import { JSXBase } from '@stencil/core/internal';
2
+ import { ComponentPropsWithoutRef } from 'react';
3
+ import './Box.js';
4
+ import '../types-CTlz22rN.js';
5
+
6
+ declare const TooltipProvider = "ax-tooltip-provider";
7
+
8
+ type TooltipProviderProps = {
9
+ "disableHoverableContent"?: false | true;
10
+ "disable-hoverable-content"?: false | true;
11
+ "delayDuration"?: number;
12
+ "delay-duration"?: number;
13
+ "skipDelayDuration"?: number;
14
+ "skip-delay-duration"?: number;
15
+ };
16
+
17
+ declare module "@stencil/core" {
18
+ namespace JSX {
19
+ interface IntrinsicElements {
20
+ [TooltipProvider]: TooltipProviderProps & JSXBase.HTMLAttributes;
21
+ }
22
+ }
23
+ }
24
+
25
+ declare module "react" {
26
+ namespace JSX {
27
+ interface IntrinsicElements {
28
+ [TooltipProvider]: TooltipProviderProps & ComponentPropsWithoutRef<"div">;
29
+ }
30
+ }
31
+ }
32
+
33
+ export { TooltipProvider, type TooltipProviderProps };
@@ -0,0 +1 @@
1
+ import{r,c as t}from"../register-b54KUePW.js";import{aZ as i}from"../propTypes-BS0cSwu1.js";import{o as p}from"../TooltipProvider-_F-ATAc_.js";import"../index-Cs7lwrTM.js";import"../index-DXFJDeKK.js";import"../index-D8fjhMLF.js";import"../index-CHzmDk7o.js";import"../index-0VYBJ9Rc.js";import"../index-COx1pHSg.js";import"../index-BX3RLjgR.js";import"../index-BGEMjMk7.js";import"../index-DIUvH_Xd.js";import"../index-CURB1Y5l.js";import"../index-Dt7QiBAn.js";import"../index-17s6MfzL.js";import"../index-UVUhp3Uz.js";import"../index-Ceax_uYU.js";const o="ax-tooltip-provider";var m=r(o,p,i,t);export{o as TooltipProvider,m as default};
@@ -1,18 +1,38 @@
1
+ import { JSXBase } from '@stencil/core/internal';
1
2
  import { ComponentPropsWithoutRef } from 'react';
2
- import { C as ComponentAttributes } from '../PopoverContent-XMsYEAmD.d-D_T0fOOH.js';
3
- import { aR as TooltipRoot$1 } from '../index.d-DvAmfUkz.js';
4
- import 'react/jsx-runtime';
3
+ import { BoxProps } from './Box.js';
4
+ import '../types-CTlz22rN.js';
5
5
 
6
6
  declare const TooltipRoot = "ax-tooltip-root";
7
7
 
8
- declare global {
8
+ type TooltipRootProps = BoxProps & {
9
+ "auto"?: false | true;
10
+ "asChild"?: false | true;
11
+ "as-child"?: false | true;
12
+ "delayDuration"?: number;
13
+ "delay-duration"?: number;
14
+ "disableHoverableContent"?: false | true;
15
+ "disable-hoverable-content"?: false | true;
16
+ "defaultOpen"?: false | true;
17
+ "default-open"?: false | true;
18
+ "open"?: false | true;
19
+ "onOpenChange"?: any;
20
+ };
21
+
22
+ declare module "@stencil/core" {
23
+ namespace JSX {
24
+ interface IntrinsicElements {
25
+ [TooltipRoot]: TooltipRootProps & JSXBase.HTMLAttributes;
26
+ }
27
+ }
28
+ }
29
+
30
+ declare module "react" {
9
31
  namespace JSX {
10
32
  interface IntrinsicElements {
11
- [TooltipRoot]: ComponentAttributes<
12
- ComponentPropsWithoutRef<typeof TooltipRoot$1>
13
- >;
33
+ [TooltipRoot]: TooltipRootProps & ComponentPropsWithoutRef<"div">;
14
34
  }
15
35
  }
16
36
  }
17
37
 
18
- export { TooltipRoot };
38
+ export { TooltipRoot, type TooltipRootProps };
@@ -1 +1 @@
1
- import{r as t}from"../register-CXrvYTg0.js";import{f as r}from"../TooltipRoot-B6-1cYu4.js";import"../factory-BErXNamt.js";import"../index-DYmkxMm3.js";import"../index-DXFJDeKK.js";import"../index-lblyEDnd.js";import"../index-BYnJ2ASg.js";import"../index-DOMkU18p.js";import"../index-q0aTvx7X.js";import"../index-BvHNas55.js";import"../index-CURXWsRI.js";import"../index-wVTVRAen.js";import"../index-CrWzovFQ.js";import"../index-S4WFd4Dn.js";import"../index-CSr4MqOt.js";import"../index-KVjnXpyZ.js";import"../index-BK6fPfRZ.js";import"../TooltipContext-D8A9qKZJ.js";const o="ax-tooltip-root";var p=t(o,r,{customEvents:["onOpenChange"]});export{o as TooltipRoot,p as default};
1
+ import{r as t,c as r}from"../register-b54KUePW.js";import{a_ as p}from"../propTypes-BS0cSwu1.js";import{f as i}from"../TooltipRoot-fipHpFKP.js";import"../index-Cs7lwrTM.js";import"../index-DXFJDeKK.js";import"../index-D8fjhMLF.js";import"../index-CHzmDk7o.js";import"../index-0VYBJ9Rc.js";import"../index-COx1pHSg.js";import"../index-BX3RLjgR.js";import"../index-BGEMjMk7.js";import"../index-DIUvH_Xd.js";import"../index-CURB1Y5l.js";import"../index-Dt7QiBAn.js";import"../index-17s6MfzL.js";import"../index-UVUhp3Uz.js";import"../index-Ceax_uYU.js";import"../TooltipContext-CXuX4mY2.js";const o="ax-tooltip-root";var m=t(o,i,p,r);export{o as TooltipRoot,m as default};
@@ -1,18 +1,29 @@
1
+ import { JSXBase } from '@stencil/core/internal';
1
2
  import { ComponentPropsWithoutRef } from 'react';
2
- import { C as ComponentAttributes } from '../PopoverContent-XMsYEAmD.d-D_T0fOOH.js';
3
- import { aS as TooltipTrigger$1 } from '../index.d-DvAmfUkz.js';
4
- import 'react/jsx-runtime';
3
+ import { BoxProps } from './Box.js';
4
+ import '../types-CTlz22rN.js';
5
5
 
6
6
  declare const TooltipTrigger = "ax-tooltip-trigger";
7
7
 
8
- declare global {
8
+ type TooltipTriggerProps = BoxProps & {
9
+ "asChild"?: false | true;
10
+ "as-child"?: false | true;
11
+ };
12
+
13
+ declare module "@stencil/core" {
14
+ namespace JSX {
15
+ interface IntrinsicElements {
16
+ [TooltipTrigger]: TooltipTriggerProps & JSXBase.HTMLAttributes;
17
+ }
18
+ }
19
+ }
20
+
21
+ declare module "react" {
9
22
  namespace JSX {
10
23
  interface IntrinsicElements {
11
- [TooltipTrigger]: ComponentAttributes<
12
- ComponentPropsWithoutRef<typeof TooltipTrigger$1>
13
- >;
24
+ [TooltipTrigger]: TooltipTriggerProps & ComponentPropsWithoutRef<"div">;
14
25
  }
15
26
  }
16
27
  }
17
28
 
18
- export { TooltipTrigger };
29
+ export { TooltipTrigger, type TooltipTriggerProps };
@@ -1 +1 @@
1
- import{r as t}from"../register-CXrvYTg0.js";import{t as o}from"../TooltipTrigger-DsJTCGGx.js";import"../factory-BErXNamt.js";import"../index-lblyEDnd.js";import"../index-DYmkxMm3.js";import"../index-DXFJDeKK.js";import"../index-BYnJ2ASg.js";import"../index-DOMkU18p.js";import"../index-q0aTvx7X.js";import"../index-BvHNas55.js";import"../index-CURXWsRI.js";import"../index-wVTVRAen.js";import"../index-CrWzovFQ.js";import"../index-S4WFd4Dn.js";import"../index-CSr4MqOt.js";import"../index-KVjnXpyZ.js";import"../index-BK6fPfRZ.js";import"../Button-21RX8sP3.js";import"../Box-BHP0qKRO.js";import"../layers.css.ts.vanilla-BSdkAYOS-C7JUhpTg.js";import"../recipeRuntime-DkvY0ny0.js";import"../ActionsRoot.css.ts.vanilla-Dfk5YZBS-V6zoDkoJ.js";import"../Spinner-CdSi0_hW.js";import"../Flex-b9ZLsPm-.js";import"../Transition-DXc9OUar.js";import"../TransitionGroup-B8QHzhH1.js";import"../conditions-MIJg7YDH.js";import"../index-RxKnZQN0.js";import"../decorateChildren-C4L2PFYG.js";import"../ButtonContext-BCRupyxa.js";import"../Icon-Ce13qRKB.js";import"../fallbackSpan-CsEcXVoy.js";import"../TooltipContext-D8A9qKZJ.js";const r="ax-tooltip-trigger";var i=t(r,o,{customEvents:[]});export{r as TooltipTrigger,i as default};
1
+ import{r as o,c as t}from"../register-b54KUePW.js";import{a$ as i}from"../propTypes-BS0cSwu1.js";import{t as p}from"../TooltipTrigger-B0PS4qaZ.js";import"../index-D8fjhMLF.js";import"../index-Cs7lwrTM.js";import"../index-DXFJDeKK.js";import"../index-CHzmDk7o.js";import"../index-0VYBJ9Rc.js";import"../index-COx1pHSg.js";import"../index-BX3RLjgR.js";import"../index-BGEMjMk7.js";import"../index-DIUvH_Xd.js";import"../index-CURB1Y5l.js";import"../index-Dt7QiBAn.js";import"../index-17s6MfzL.js";import"../index-UVUhp3Uz.js";import"../index-Ceax_uYU.js";import"../Button-BnBM-Uxg.js";import"../Box-Cx5uG7vH.js";import"../layers.css.ts.vanilla-BSdkAYOS-DSqExME7.js";import"../recipeRuntime-DkvY0ny0.js";import"../ActionsRoot.css.ts.vanilla-Dfk5YZBS-DdVAPr7I.js";import"../Spinner-DQNz5OzG.js";import"../Flex-Cz5Cg9L6.js";import"../Transition-L0MbUskW.js";import"../TransitionGroup-BWut0hj4.js";import"../conditions-MIJg7YDH.js";import"../index-RxKnZQN0.js";import"../decorateChildren-DDCK5QCj.js";import"../ButtonContext-DM7jH16l.js";import"../Icon-DGRlKqN4.js";import"../fallbackSpan-DXInwL_2.js";import"../TooltipContext-CXuX4mY2.js";const r="ax-tooltip-trigger";var m=o(r,p,i,t);export{r as TooltipTrigger,m as default};
@@ -1,16 +1,32 @@
1
+ import { JSXBase } from '@stencil/core/internal';
1
2
  import { ComponentPropsWithoutRef } from 'react';
2
- import { C as ComponentAttributes, T as Transition$1 } from '../PopoverContent-XMsYEAmD.d-D_T0fOOH.js';
3
+ import './Box.js';
4
+ import '../types-CTlz22rN.js';
3
5
 
4
6
  declare const Transition = "ax-transition";
5
7
 
6
- declare global {
8
+ type TransitionProps = {
9
+ "duration"?: "sm" | "md" | "lg";
10
+ "type"?: "pop" | "fade" | "slide" | "slidePop";
11
+ "data-side"?: "top" | "right" | "bottom" | "left";
12
+ "skipAnimations"?: false | true;
13
+ "skip-animations"?: false | true;
14
+ };
15
+
16
+ declare module "@stencil/core" {
17
+ namespace JSX {
18
+ interface IntrinsicElements {
19
+ [Transition]: TransitionProps & JSXBase.HTMLAttributes;
20
+ }
21
+ }
22
+ }
23
+
24
+ declare module "react" {
7
25
  namespace JSX {
8
26
  interface IntrinsicElements {
9
- [Transition]: ComponentAttributes<
10
- ComponentPropsWithoutRef<typeof Transition$1>
11
- >;
27
+ [Transition]: TransitionProps & ComponentPropsWithoutRef<"div">;
12
28
  }
13
29
  }
14
30
  }
15
31
 
16
- export { Transition };
32
+ export { Transition, type TransitionProps };
@@ -1 +1 @@
1
- import{r as t}from"../register-CXrvYTg0.js";import{s as o}from"../Transition-DXc9OUar.js";import"../factory-BErXNamt.js";import"../index-lblyEDnd.js";import"../layers.css.ts.vanilla-BSdkAYOS-C7JUhpTg.js";import"../recipeRuntime-DkvY0ny0.js";const r="ax-transition";var i=t(r,o,{customEvents:[]});export{r as Transition,i as default};
1
+ import{r as o,c as t}from"../register-b54KUePW.js";import{b0 as i}from"../propTypes-BS0cSwu1.js";import{s}from"../Transition-L0MbUskW.js";import"../index-D8fjhMLF.js";import"../layers.css.ts.vanilla-BSdkAYOS-DSqExME7.js";import"../recipeRuntime-DkvY0ny0.js";const r="ax-transition";var a=o(r,s,i,t);export{r as Transition,a as default};
@@ -1,18 +1,30 @@
1
+ import { JSXBase } from '@stencil/core/internal';
1
2
  import { ComponentPropsWithoutRef } from 'react';
2
- import { C as ComponentAttributes } from '../PopoverContent-XMsYEAmD.d-D_T0fOOH.js';
3
- import { aT as TransitionGroup$1 } from '../index.d-DvAmfUkz.js';
4
- import 'react/jsx-runtime';
3
+ import './Box.js';
4
+ import '../types-CTlz22rN.js';
5
5
 
6
6
  declare const TransitionGroup = "ax-transition-group";
7
7
 
8
- declare global {
8
+ type TransitionGroupProps = {
9
+ "onPresenceChange"?: any;
10
+ "open"?: false | true;
11
+ "presence"?: false | true;
12
+ };
13
+
14
+ declare module "@stencil/core" {
15
+ namespace JSX {
16
+ interface IntrinsicElements {
17
+ [TransitionGroup]: TransitionGroupProps & JSXBase.HTMLAttributes;
18
+ }
19
+ }
20
+ }
21
+
22
+ declare module "react" {
9
23
  namespace JSX {
10
24
  interface IntrinsicElements {
11
- [TransitionGroup]: ComponentAttributes<
12
- ComponentPropsWithoutRef<typeof TransitionGroup$1>
13
- >;
25
+ [TransitionGroup]: TransitionGroupProps & ComponentPropsWithoutRef<"div">;
14
26
  }
15
27
  }
16
28
  }
17
29
 
18
- export { TransitionGroup };
30
+ export { TransitionGroup, type TransitionGroupProps };
@@ -1 +1 @@
1
- import{r as o}from"../register-CXrvYTg0.js";import{m as t}from"../TransitionGroup-B8QHzhH1.js";import"../factory-BErXNamt.js";import"../index-KVjnXpyZ.js";import"../index-BvHNas55.js";import"../Transition-DXc9OUar.js";import"../index-lblyEDnd.js";import"../layers.css.ts.vanilla-BSdkAYOS-C7JUhpTg.js";import"../recipeRuntime-DkvY0ny0.js";const r="ax-transition-group";var i=o(r,t,{customEvents:["onPresenceChange"]});export{r as TransitionGroup,i as default};
1
+ import{r as o,c as t}from"../register-b54KUePW.js";import{b1 as i}from"../propTypes-BS0cSwu1.js";import{m as p}from"../TransitionGroup-BWut0hj4.js";import"../index-UVUhp3Uz.js";import"../index-BX3RLjgR.js";import"../Transition-L0MbUskW.js";import"../index-D8fjhMLF.js";import"../layers.css.ts.vanilla-BSdkAYOS-DSqExME7.js";import"../recipeRuntime-DkvY0ny0.js";const r="ax-transition-group";var m=o(r,p,i,t);export{r as TransitionGroup,m as default};
@@ -1 +1 @@
1
- import{f as i}from"./index-lblyEDnd.js";import{v as p,l as n}from"./register-CXrvYTg0.js";const o=({asChild:s,children:l},e)=>{if(s){const r=p(l)?l:null;return r?n(r,void 0,o({...r.props,asChild:r.props.asChild||r.type===i},e)):l}else return e(l)};export{o as l};
1
+ import{f as i}from"./index-D8fjhMLF.js";import{v as p,l as n}from"./register-b54KUePW.js";const o=({asChild:s,children:l},e)=>{if(s){const r=p(l)?l:null;return r?n(r,void 0,o({...r.props,asChild:r.props.asChild||r.type===i},e)):l}else return e(l)};export{o as l};
@@ -0,0 +1 @@
1
+ import{u as r,v as n}from"./register-b54KUePW.js";const p=o=>n(o)?o:r("span",{children:o});export{p as a};
@@ -1 +1 @@
1
- import{S as l,$ as C,a as g,b as M,T,u as W,W as p}from"./register-CXrvYTg0.js";import{u as E}from"./index-DXFJDeKK.js";import{t as k,v as U}from"./index-q0aTvx7X.js";import{s as $}from"./index-lblyEDnd.js";import{c as b}from"./index-BvHNas55.js";function X(r,e=globalThis?.document){const t=b(r);l(()=>{const o=n=>{n.key==="Escape"&&t(n)};return e.addEventListener("keydown",o,{capture:!0}),()=>e.removeEventListener("keydown",o,{capture:!0})},[t,e])}var Y="DismissableLayer",h="dismissableLayer.update",_="dismissableLayer.pointerDownOutside",H="dismissableLayer.focusOutside",F,z=M({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),w=C((r,e)=>{const{disableOutsidePointerEvents:t=!1,onEscapeKeyDown:o,onPointerDownOutside:n,onFocusOutside:a,onInteractOutside:v,onDismiss:c,...m}=r,i=g(z),[u,N]=T(null),d=u?.ownerDocument??globalThis?.document,[,A]=T({}),I=$(e,s=>N(s)),D=Array.from(i.layers),[K]=[...i.layersWithOutsidePointerEventsDisabled].slice(-1),j=D.indexOf(K),L=u?D.indexOf(u):-1,q=i.layersWithOutsidePointerEventsDisabled.size>0,P=L>=j,G=R(s=>{const f=s.target,y=[...i.branches].some(J=>J.contains(f));!P||y||(n?.(s),v?.(s),s.defaultPrevented||c?.())},d),O=V(s=>{const f=s.target;[...i.branches].some(y=>y.contains(f))||(a?.(s),v?.(s),s.defaultPrevented||c?.())},d);return X(s=>{L===i.layers.size-1&&(o?.(s),!s.defaultPrevented&&c&&(s.preventDefault(),c()))},d),l(()=>{if(u)return t&&(i.layersWithOutsidePointerEventsDisabled.size===0&&(F=d.body.style.pointerEvents,d.body.style.pointerEvents="none"),i.layersWithOutsidePointerEventsDisabled.add(u)),i.layers.add(u),S(),()=>{t&&i.layersWithOutsidePointerEventsDisabled.size===1&&(d.body.style.pointerEvents=F)}},[u,d,t,i]),l(()=>()=>{u&&(i.layers.delete(u),i.layersWithOutsidePointerEventsDisabled.delete(u),S())},[u,i]),l(()=>{const s=()=>A({});return document.addEventListener(h,s),()=>document.removeEventListener(h,s)},[]),W(k.div,{...m,ref:I,style:{pointerEvents:q?P?"auto":"none":void 0,...r.style},onFocusCapture:E(r.onFocusCapture,O.onFocusCapture),onBlurCapture:E(r.onBlurCapture,O.onBlurCapture),onPointerDownCapture:E(r.onPointerDownCapture,G.onPointerDownCapture)})});w.displayName=Y;var Q="DismissableLayerBranch",B=C((r,e)=>{const t=g(z),o=p(null),n=$(e,o);return l(()=>{const a=o.current;if(a)return t.branches.add(a),()=>{t.branches.delete(a)}},[t.branches]),W(k.div,{...r,ref:n})});B.displayName=Q;function R(r,e=globalThis?.document){const t=b(r),o=p(!1),n=p(()=>{});return l(()=>{const a=c=>{if(c.target&&!o.current){let m=function(){x(_,t,i,{discrete:!0})};const i={originalEvent:c};c.pointerType==="touch"?(e.removeEventListener("click",n.current),n.current=m,e.addEventListener("click",n.current,{once:!0})):m()}else e.removeEventListener("click",n.current);o.current=!1},v=window.setTimeout(()=>{e.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(v),e.removeEventListener("pointerdown",a),e.removeEventListener("click",n.current)}},[e,t]),{onPointerDownCapture:()=>o.current=!0}}function V(r,e=globalThis?.document){const t=b(r),o=p(!1);return l(()=>{const n=a=>{a.target&&!o.current&&x(H,t,{originalEvent:a},{discrete:!1})};return e.addEventListener("focusin",n),()=>e.removeEventListener("focusin",n)},[e,t]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function S(){const r=new CustomEvent(h);document.dispatchEvent(r)}function x(r,e,t,{discrete:o}){const n=t.originalEvent.target,a=new CustomEvent(r,{bubbles:!1,cancelable:!0,detail:t});e&&n.addEventListener(r,e,{once:!0}),o?U(n,a):n.dispatchEvent(a)}var Z=w,ee=B;export{Z as G,ee as J,w as p};
1
+ import{S as l,$ as C,a as g,b as M,T,u as W,W as p}from"./register-b54KUePW.js";import{u as E}from"./index-DXFJDeKK.js";import{t as k,v as U}from"./index-COx1pHSg.js";import{s as $}from"./index-D8fjhMLF.js";import{c as b}from"./index-BX3RLjgR.js";function X(r,e=globalThis?.document){const t=b(r);l(()=>{const o=n=>{n.key==="Escape"&&t(n)};return e.addEventListener("keydown",o,{capture:!0}),()=>e.removeEventListener("keydown",o,{capture:!0})},[t,e])}var Y="DismissableLayer",h="dismissableLayer.update",_="dismissableLayer.pointerDownOutside",H="dismissableLayer.focusOutside",F,z=M({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),w=C((r,e)=>{const{disableOutsidePointerEvents:t=!1,onEscapeKeyDown:o,onPointerDownOutside:n,onFocusOutside:a,onInteractOutside:v,onDismiss:c,...m}=r,i=g(z),[u,N]=T(null),d=u?.ownerDocument??globalThis?.document,[,A]=T({}),I=$(e,s=>N(s)),D=Array.from(i.layers),[K]=[...i.layersWithOutsidePointerEventsDisabled].slice(-1),j=D.indexOf(K),L=u?D.indexOf(u):-1,q=i.layersWithOutsidePointerEventsDisabled.size>0,P=L>=j,G=R(s=>{const f=s.target,y=[...i.branches].some(J=>J.contains(f));!P||y||(n?.(s),v?.(s),s.defaultPrevented||c?.())},d),O=V(s=>{const f=s.target;[...i.branches].some(y=>y.contains(f))||(a?.(s),v?.(s),s.defaultPrevented||c?.())},d);return X(s=>{L===i.layers.size-1&&(o?.(s),!s.defaultPrevented&&c&&(s.preventDefault(),c()))},d),l(()=>{if(u)return t&&(i.layersWithOutsidePointerEventsDisabled.size===0&&(F=d.body.style.pointerEvents,d.body.style.pointerEvents="none"),i.layersWithOutsidePointerEventsDisabled.add(u)),i.layers.add(u),S(),()=>{t&&i.layersWithOutsidePointerEventsDisabled.size===1&&(d.body.style.pointerEvents=F)}},[u,d,t,i]),l(()=>()=>{u&&(i.layers.delete(u),i.layersWithOutsidePointerEventsDisabled.delete(u),S())},[u,i]),l(()=>{const s=()=>A({});return document.addEventListener(h,s),()=>document.removeEventListener(h,s)},[]),W(k.div,{...m,ref:I,style:{pointerEvents:q?P?"auto":"none":void 0,...r.style},onFocusCapture:E(r.onFocusCapture,O.onFocusCapture),onBlurCapture:E(r.onBlurCapture,O.onBlurCapture),onPointerDownCapture:E(r.onPointerDownCapture,G.onPointerDownCapture)})});w.displayName=Y;var Q="DismissableLayerBranch",B=C((r,e)=>{const t=g(z),o=p(null),n=$(e,o);return l(()=>{const a=o.current;if(a)return t.branches.add(a),()=>{t.branches.delete(a)}},[t.branches]),W(k.div,{...r,ref:n})});B.displayName=Q;function R(r,e=globalThis?.document){const t=b(r),o=p(!1),n=p(()=>{});return l(()=>{const a=c=>{if(c.target&&!o.current){let m=function(){x(_,t,i,{discrete:!0})};const i={originalEvent:c};c.pointerType==="touch"?(e.removeEventListener("click",n.current),n.current=m,e.addEventListener("click",n.current,{once:!0})):m()}else e.removeEventListener("click",n.current);o.current=!1},v=window.setTimeout(()=>{e.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(v),e.removeEventListener("pointerdown",a),e.removeEventListener("click",n.current)}},[e,t]),{onPointerDownCapture:()=>o.current=!0}}function V(r,e=globalThis?.document){const t=b(r),o=p(!1);return l(()=>{const n=a=>{a.target&&!o.current&&x(H,t,{originalEvent:a},{discrete:!1})};return e.addEventListener("focusin",n),()=>e.removeEventListener("focusin",n)},[e,t]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function S(){const r=new CustomEvent(h);document.dispatchEvent(r)}function x(r,e,t,{discrete:o}){const n=t.originalEvent.target,a=new CustomEvent(r,{bubbles:!1,cancelable:!0,detail:t});e&&n.addEventListener(r,e,{once:!0}),o?U(n,a):n.dispatchEvent(a)}var Z=w,ee=B;export{Z as G,ee as J,w as p};
@@ -1 +1 @@
1
- import{d as U,l as g,T as v,W as N,w as A,S as E,U as I}from"./register-CXrvYTg0.js";import{s as w}from"./index-lblyEDnd.js";import{o as p}from"./index-wVTVRAen.js";function P(n,e){return I((t,r)=>e[t][r]??t,n)}var O=n=>{const{present:e,children:t}=n,r=D(e),u=typeof t=="function"?t({present:r.isPresent}):U.only(t),s=w(r.ref,L(u));return typeof t=="function"||r.isPresent?g(u,{ref:s}):null};O.displayName="Presence";function D(n){const[e,t]=v(),r=N({}),u=N(n),s=N("none"),M=n?"mounted":"unmounted",[f,i]=P(M,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return E(()=>{const o=l(r.current);s.current=f==="mounted"?o:"none"},[f]),p(()=>{const o=r.current,c=u.current;if(c!==n){const a=s.current,m=l(o);n?i("MOUNT"):m==="none"||o?.display==="none"?i("UNMOUNT"):i(c&&a!==m?"ANIMATION_OUT":"UNMOUNT"),u.current=n}},[n,i]),p(()=>{if(e){let o;const c=e.ownerDocument.defaultView??window,a=d=>{const T=l(r.current).includes(d.animationName);if(d.target===e&&T&&(i("ANIMATION_END"),!u.current)){const y=e.style.animationFillMode;e.style.animationFillMode="forwards",o=c.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=y)})}},m=d=>{d.target===e&&(s.current=l(r.current))};return e.addEventListener("animationstart",m),e.addEventListener("animationcancel",a),e.addEventListener("animationend",a),()=>{c.clearTimeout(o),e.removeEventListener("animationstart",m),e.removeEventListener("animationcancel",a),e.removeEventListener("animationend",a)}}else i("ANIMATION_END")},[e,i]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:A(o=>{o&&(r.current=getComputedStyle(o)),t(o)},[])}}function l(n){return n?.animationName||"none"}function L(n){let e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}export{O as M};
1
+ import{e as U,l as g,T as v,W as N,w as A,S as E,U as I}from"./register-b54KUePW.js";import{s as w}from"./index-D8fjhMLF.js";import{o as p}from"./index-DIUvH_Xd.js";function P(n,e){return I((t,r)=>e[t][r]??t,n)}var O=n=>{const{present:e,children:t}=n,r=D(e),u=typeof t=="function"?t({present:r.isPresent}):U.only(t),s=w(r.ref,L(u));return typeof t=="function"||r.isPresent?g(u,{ref:s}):null};O.displayName="Presence";function D(n){const[e,t]=v(),r=N({}),u=N(n),s=N("none"),M=n?"mounted":"unmounted",[f,i]=P(M,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return E(()=>{const o=l(r.current);s.current=f==="mounted"?o:"none"},[f]),p(()=>{const o=r.current,c=u.current;if(c!==n){const a=s.current,m=l(o);n?i("MOUNT"):m==="none"||o?.display==="none"?i("UNMOUNT"):i(c&&a!==m?"ANIMATION_OUT":"UNMOUNT"),u.current=n}},[n,i]),p(()=>{if(e){let o;const c=e.ownerDocument.defaultView??window,a=d=>{const T=l(r.current).includes(d.animationName);if(d.target===e&&T&&(i("ANIMATION_END"),!u.current)){const y=e.style.animationFillMode;e.style.animationFillMode="forwards",o=c.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=y)})}},m=d=>{d.target===e&&(s.current=l(r.current))};return e.addEventListener("animationstart",m),e.addEventListener("animationcancel",a),e.addEventListener("animationend",a),()=>{c.clearTimeout(o),e.removeEventListener("animationstart",m),e.removeEventListener("animationcancel",a),e.removeEventListener("animationend",a)}}else i("ANIMATION_END")},[e,i]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:A(o=>{o&&(r.current=getComputedStyle(o)),t(o)},[])}}function l(n){return n?.animationName||"none"}function L(n){let e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}export{O as M};
@@ -1 +1 @@
1
- import{a as j,b as q,$ as S,u as p,S as K,W as L,T as C,w as b}from"./register-CXrvYTg0.js";import{u as m}from"./index-DXFJDeKK.js";import{L as J}from"./index-BNicqkeG.js";import{s as Q}from"./index-lblyEDnd.js";import{l as V}from"./index-BYnJ2ASg.js";import{n as oo}from"./index-CURXWsRI.js";import{t as P}from"./index-q0aTvx7X.js";import{c as eo}from"./index-BvHNas55.js";import{v as ro}from"./index-KVjnXpyZ.js";var to=q(void 0);function M(o){const r=j(to);return o||r||"ltr"}var $="rovingFocusGroup.onEntryFocus",no={bubbles:!1,cancelable:!0},g="RovingFocusGroup",[D,B,ao]=J(g),[uo,io]=V(g,[ao]),[so,co]=uo(g),U=S((o,r)=>p(D.Provider,{scope:o.__scopeRovingFocusGroup,children:p(D.Slot,{scope:o.__scopeRovingFocusGroup,children:p(lo,{...o,ref:r})})}));U.displayName=g;var lo=S((o,r)=>{const{__scopeRovingFocusGroup:a,orientation:e,loop:c=!1,dir:h,currentTabStopId:F,defaultCurrentTabStopId:I,onCurrentTabStopIdChange:d,onEntryFocus:u,preventScrollOnEntryFocus:R=!1,...y}=o,v=L(null),w=Q(r,v),t=M(h),[l=null,i]=ro({prop:F,defaultProp:I,onChange:d}),[s,_]=C(!1),A=eo(u),H=B(a),T=L(!1),[N,x]=C(0);return K(()=>{const n=v.current;if(n)return n.addEventListener($,A),()=>n.removeEventListener($,A)},[A]),p(so,{scope:a,orientation:e,dir:t,loop:c,currentTabStopId:l,onItemFocus:b(n=>i(n),[i]),onItemShiftTab:b(()=>_(!0),[]),onFocusableItemAdd:b(()=>x(n=>n+1),[]),onFocusableItemRemove:b(()=>x(n=>n-1),[]),children:p(P.div,{tabIndex:s||N===0?-1:0,"data-orientation":e,...y,ref:w,style:{outline:"none",...o.style},onMouseDown:m(o.onMouseDown,()=>{T.current=!0}),onFocus:m(o.onFocus,n=>{const W=!T.current;if(n.target===n.currentTarget&&W&&!s){const G=new CustomEvent($,no);if(n.currentTarget.dispatchEvent(G),!G.defaultPrevented){const E=H().filter(f=>f.focusable),X=E.find(f=>f.active),Y=E.find(f=>f.id===l),Z=[X,Y,...E].filter(Boolean).map(f=>f.ref.current);z(Z,R)}}T.current=!1}),onBlur:m(o.onBlur,()=>_(!1))})})}),k="RovingFocusGroupItem",O=S((o,r)=>{const{__scopeRovingFocusGroup:a,focusable:e=!0,active:c=!1,tabStopId:h,...F}=o,I=oo(),d=h||I,u=co(k,a),R=u.currentTabStopId===d,y=B(a),{onFocusableItemAdd:v,onFocusableItemRemove:w}=u;return K(()=>{if(e)return v(),()=>w()},[e,v,w]),p(D.ItemSlot,{scope:a,id:d,focusable:e,active:c,children:p(P.span,{tabIndex:R?0:-1,"data-orientation":u.orientation,...F,ref:r,onMouseDown:m(o.onMouseDown,t=>{e?u.onItemFocus(d):t.preventDefault()}),onFocus:m(o.onFocus,()=>u.onItemFocus(d)),onKeyDown:m(o.onKeyDown,t=>{if(t.key==="Tab"&&t.shiftKey){u.onItemShiftTab();return}if(t.target!==t.currentTarget)return;const l=mo(t,u.orientation,u.dir);if(l!==void 0){if(t.metaKey||t.ctrlKey||t.altKey||t.shiftKey)return;t.preventDefault();let i=y().filter(s=>s.focusable).map(s=>s.ref.current);if(l==="last")i.reverse();else if(l==="prev"||l==="next"){l==="prev"&&i.reverse();const s=i.indexOf(t.currentTarget);i=u.loop?vo(i,s+1):i.slice(s+1)}setTimeout(()=>z(i))}})})})});O.displayName=k;var fo={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function po(o,r){return r!=="rtl"?o:o==="ArrowLeft"?"ArrowRight":o==="ArrowRight"?"ArrowLeft":o}function mo(o,r,a){const e=po(o.key,a);if(!(r==="vertical"&&["ArrowLeft","ArrowRight"].includes(e))&&!(r==="horizontal"&&["ArrowUp","ArrowDown"].includes(e)))return fo[e]}function z(o,r=!1){const a=(()=>{let e=document.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e})();for(const e of o)if(e===a||(e.focus({preventScroll:r}),(()=>{let c=document.activeElement;for(;c?.shadowRoot;)c=c.shadowRoot.activeElement;return c})()!==a))return}function vo(o,r){return o.map((a,e)=>o[(r+e)%o.length])}var wo=U,bo=O;export{M as a,wo as b,io as e,bo as i};
1
+ import{a as j,b as q,$ as S,u as p,S as K,W as L,T as C,w as b}from"./register-b54KUePW.js";import{u as m}from"./index-DXFJDeKK.js";import{L as J}from"./index-nSdOLOpB.js";import{s as Q}from"./index-D8fjhMLF.js";import{l as V}from"./index-CHzmDk7o.js";import{n as oo}from"./index-BGEMjMk7.js";import{t as P}from"./index-COx1pHSg.js";import{c as eo}from"./index-BX3RLjgR.js";import{v as ro}from"./index-UVUhp3Uz.js";var to=q(void 0);function M(o){const r=j(to);return o||r||"ltr"}var $="rovingFocusGroup.onEntryFocus",no={bubbles:!1,cancelable:!0},g="RovingFocusGroup",[D,B,ao]=J(g),[uo,io]=V(g,[ao]),[so,co]=uo(g),U=S((o,r)=>p(D.Provider,{scope:o.__scopeRovingFocusGroup,children:p(D.Slot,{scope:o.__scopeRovingFocusGroup,children:p(lo,{...o,ref:r})})}));U.displayName=g;var lo=S((o,r)=>{const{__scopeRovingFocusGroup:a,orientation:e,loop:c=!1,dir:h,currentTabStopId:F,defaultCurrentTabStopId:I,onCurrentTabStopIdChange:d,onEntryFocus:u,preventScrollOnEntryFocus:R=!1,...y}=o,v=L(null),w=Q(r,v),t=M(h),[l=null,i]=ro({prop:F,defaultProp:I,onChange:d}),[s,_]=C(!1),A=eo(u),H=B(a),T=L(!1),[N,x]=C(0);return K(()=>{const n=v.current;if(n)return n.addEventListener($,A),()=>n.removeEventListener($,A)},[A]),p(so,{scope:a,orientation:e,dir:t,loop:c,currentTabStopId:l,onItemFocus:b(n=>i(n),[i]),onItemShiftTab:b(()=>_(!0),[]),onFocusableItemAdd:b(()=>x(n=>n+1),[]),onFocusableItemRemove:b(()=>x(n=>n-1),[]),children:p(P.div,{tabIndex:s||N===0?-1:0,"data-orientation":e,...y,ref:w,style:{outline:"none",...o.style},onMouseDown:m(o.onMouseDown,()=>{T.current=!0}),onFocus:m(o.onFocus,n=>{const W=!T.current;if(n.target===n.currentTarget&&W&&!s){const G=new CustomEvent($,no);if(n.currentTarget.dispatchEvent(G),!G.defaultPrevented){const E=H().filter(f=>f.focusable),X=E.find(f=>f.active),Y=E.find(f=>f.id===l),Z=[X,Y,...E].filter(Boolean).map(f=>f.ref.current);z(Z,R)}}T.current=!1}),onBlur:m(o.onBlur,()=>_(!1))})})}),k="RovingFocusGroupItem",O=S((o,r)=>{const{__scopeRovingFocusGroup:a,focusable:e=!0,active:c=!1,tabStopId:h,...F}=o,I=oo(),d=h||I,u=co(k,a),R=u.currentTabStopId===d,y=B(a),{onFocusableItemAdd:v,onFocusableItemRemove:w}=u;return K(()=>{if(e)return v(),()=>w()},[e,v,w]),p(D.ItemSlot,{scope:a,id:d,focusable:e,active:c,children:p(P.span,{tabIndex:R?0:-1,"data-orientation":u.orientation,...F,ref:r,onMouseDown:m(o.onMouseDown,t=>{e?u.onItemFocus(d):t.preventDefault()}),onFocus:m(o.onFocus,()=>u.onItemFocus(d)),onKeyDown:m(o.onKeyDown,t=>{if(t.key==="Tab"&&t.shiftKey){u.onItemShiftTab();return}if(t.target!==t.currentTarget)return;const l=mo(t,u.orientation,u.dir);if(l!==void 0){if(t.metaKey||t.ctrlKey||t.altKey||t.shiftKey)return;t.preventDefault();let i=y().filter(s=>s.focusable).map(s=>s.ref.current);if(l==="last")i.reverse();else if(l==="prev"||l==="next"){l==="prev"&&i.reverse();const s=i.indexOf(t.currentTarget);i=u.loop?vo(i,s+1):i.slice(s+1)}setTimeout(()=>z(i))}})})})});O.displayName=k;var fo={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function po(o,r){return r!=="rtl"?o:o==="ArrowLeft"?"ArrowRight":o==="ArrowRight"?"ArrowLeft":o}function mo(o,r,a){const e=po(o.key,a);if(!(r==="vertical"&&["ArrowLeft","ArrowRight"].includes(e))&&!(r==="horizontal"&&["ArrowUp","ArrowDown"].includes(e)))return fo[e]}function z(o,r=!1){const a=(()=>{let e=document.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e})();for(const e of o)if(e===a||(e.focus({preventScroll:r}),(()=>{let c=document.activeElement;for(;c?.shadowRoot;)c=c.shadowRoot.activeElement;return c})()!==a))return}function vo(o,r){return o.map((a,e)=>o[(r+e)%o.length])}var wo=U,bo=O;export{M as a,wo as b,io as e,bo as i};
@@ -0,0 +1 @@
1
+ import{T as i,d as m}from"./register-b54KUePW.js";import{o as a}from"./index-DIUvH_Xd.js";var f=m["useId".toString()]||(()=>{}),p=0;function s(o){const[r,t]=i(f());return a(()=>{o||t(n=>n??String(p++))},[o]),o||(r?`radix-${r}`:"")}export{s as n};
@@ -1 +1 @@
1
- import{W as c,H as o,S as e}from"./register-CXrvYTg0.js";function u(r){const t=c(r);return e(()=>{t.current=r}),o(()=>(...n)=>t.current?.(...n),[])}export{u as c};
1
+ import{W as c,H as o,S as e}from"./register-b54KUePW.js";function u(r){const t=c(r);return e(()=>{t.current=r}),o(()=>(...n)=>t.current?.(...n),[])}export{u as c};
@@ -1 +1 @@
1
- import{$ as U,T as q,W as I,S as k,w as B,u as H}from"./register-CXrvYTg0.js";import{s as j}from"./index-lblyEDnd.js";import{t as z}from"./index-q0aTvx7X.js";import{c as K}from"./index-BvHNas55.js";var F="focusScope.autoFocusOnMount",W="focusScope.autoFocusOnUnmount",$={bubbles:!1,cancelable:!0},G="FocusScope",O=U((e,n)=>{const{loop:t=!1,trapped:o=!1,onMountAutoFocus:c,onUnmountAutoFocus:d,...S}=e,[r,L]=q(null),w=K(c),R=K(d),a=I(null),i=j(n,u=>L(u)),f=I({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;k(()=>{if(o){let u=function(h){if(f.paused||!r)return;const p=h.target;((E,g)=>E.getRootNode()instanceof ShadowRoot?E.getRootNode().host.contains(g):E.contains(g))(r,p)?a.current=h.target.shadowRoot?h.composedPath()[0]:h.target:v(a.current,{select:!0})},s=function(h){if(f.paused||!r)return;const p=h.relatedTarget;p!==null&&(((E,g)=>E.getRootNode()instanceof ShadowRoot?E.getRootNode().host.contains(g):E.contains(g))(r,p)||v(a.current,{select:!0}))},l=function(h){if((()=>{let p=document.activeElement;for(;p?.shadowRoot;)p=p.shadowRoot.activeElement;return p})()===document.body)for(const p of h)p.removedNodes.length>0&&v(r)};const m=r?.getRootNode()??document;m.addEventListener("focusin",u),m.addEventListener("focusout",s);const y=new MutationObserver(l);return r&&y.observe(r,{childList:!0,subtree:!0}),()=>{m.removeEventListener("focusin",u),m.removeEventListener("focusout",s),y.disconnect()}}},[o,r,f.paused]),k(()=>{if(r){D.add(f);const u=(()=>{let s=document.activeElement;for(;s?.shadowRoot;)s=s.shadowRoot.activeElement;return s})();if(!((s,l)=>s.getRootNode()instanceof ShadowRoot?s.getRootNode().host.contains(l):s.contains(l))(r,u)){const s=new CustomEvent(F,$);r.addEventListener(F,w),r.dispatchEvent(s),s.defaultPrevented||(V(Z(P(r)),{select:!0}),(()=>{let l=document.activeElement;for(;l?.shadowRoot;)l=l.shadowRoot.activeElement;return l})()===u&&v(r))}return()=>{r.removeEventListener(F,w),setTimeout(()=>{const s=new CustomEvent(W,$);r.addEventListener(W,R),r.dispatchEvent(s),s.defaultPrevented||v(u??document.body,{select:!0}),r.removeEventListener(W,R),D.remove(f)},0)}}},[r,w,R,f]);const b=B(u=>{if(!t&&!o||f.paused)return;const s=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,l=(()=>{let m=document.activeElement;for(;m?.shadowRoot;)m=m.shadowRoot.activeElement;return m})();if(s&&l){const m=u.currentTarget,[y,h]=J(m);y&&h?!u.shiftKey&&l===h?(u.preventDefault(),t&&v(y,{select:!0})):u.shiftKey&&l===y&&(u.preventDefault(),t&&v(h,{select:!0})):l===m&&u.preventDefault()}},[t,o,f.paused]);return H(z.div,{tabIndex:-1,...S,ref:i,onKeyDown:b})});O.displayName=G;function V(e,{select:n=!1}={}){const t=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();for(const o of e)if(v(o,{select:n}),(()=>{let c=document.activeElement;for(;c?.shadowRoot;)c=c.shadowRoot.activeElement;return c})()!==t)return}function J(e){const n=P(e),t=C(n,e),o=C(n.reverse(),e);return[t,o]}function P(e){const n=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const c=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||c?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)n.push(t.currentNode);return n}function C(e,n){for(const t of e)if(!Q(t,{upTo:n}))return t}function Q(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function X(e){return e instanceof HTMLInputElement&&"select"in e}function v(e,{select:n=!1}={}){if(e&&e.focus){const t=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();e.focus({preventScroll:!0}),e!==t&&X(e)&&n&&e.select()}}var D=Y();function Y(){let e=[];return{add(n){const t=e[0];n!==t&&t?.pause(),e=x(e,n),e.unshift(n)},remove(n){e=x(e,n),e[0]?.resume()}}}function x(e,n){const t=[...e],o=t.indexOf(n);return o!==-1&&t.splice(o,1),t}function Z(e){return e.filter(n=>n.tagName!=="A")}var ee=function(e){if(typeof document>"u")return null;var n=Array.isArray(e)?e[0]:e;return n.ownerDocument.body},N=new WeakMap,A=new WeakMap,T={},M=0,_=function(e){return e&&(e.host||_(e.parentNode))},te=function(e,n){return n.map(function(t){if(((c,d)=>{for(;d.getRootNode()instanceof ShadowRoot;)d=d.getRootNode().host;return c.contains(d)})(e,t))return t;var o=_(t);return o&&((c,d)=>{for(;d.getRootNode()instanceof ShadowRoot;)d=d.getRootNode().host;return c.contains(d)})(e,o)?o:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(t){return Boolean(t)})},oe=function(e,n,t,o){var c=te(n,Array.isArray(e)?e:[e]);T[t]||(T[t]=new WeakMap);var d=T[t],S=[],r=new Set,L=new Set(c),w=function(a){if(!(!a||r.has(a))){if(r.add(a),a.parentNode instanceof ShadowRoot)for(const i of a.parentNode.querySelectorAll("slot"))for(const f of i.assignedElements())r.add(f);w(a.parentNode instanceof ShadowRoot?a.parentNode.host:a.parentNode)}};c.forEach(w);var R=function(a){!a||L.has(a)||Array.prototype.forEach.call(a.children,function(i){if(r.has(i))R(i);else try{var f=i.getAttribute(o),b=f!==null&&f!=="false",u=(N.get(i)||0)+1,s=(d.get(i)||0)+1;N.set(i,u),d.set(i,s),S.push(i),u===1&&b&&A.set(i,!0),s===1&&i.setAttribute(t,"true"),b||i.setAttribute(o,"true")}catch(l){console.error("aria-hidden: cannot operate on ",i,l)}})};return R(n),r.clear(),M++,function(){S.forEach(function(a){var i=N.get(a)-1,f=d.get(a)-1;N.set(a,i),d.set(a,f),i||(A.has(a)||a.removeAttribute(o),A.delete(a)),f||a.removeAttribute(t)}),M--,M||(N=new WeakMap,N=new WeakMap,A=new WeakMap,T={})}},ne=function(e,n,t){t===void 0&&(t="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),c=n||ee(e);return c?(o.push.apply(o,Array.from(c.querySelectorAll("[aria-live]"))),oe(o,c,t,"aria-hidden")):function(){return null}};export{ne as h,O as y};
1
+ import{$ as U,T as q,W as I,S as k,w as B,u as H}from"./register-b54KUePW.js";import{s as j}from"./index-D8fjhMLF.js";import{t as z}from"./index-COx1pHSg.js";import{c as K}from"./index-BX3RLjgR.js";var F="focusScope.autoFocusOnMount",W="focusScope.autoFocusOnUnmount",$={bubbles:!1,cancelable:!0},G="FocusScope",O=U((e,n)=>{const{loop:t=!1,trapped:o=!1,onMountAutoFocus:c,onUnmountAutoFocus:d,...S}=e,[r,L]=q(null),w=K(c),R=K(d),a=I(null),i=j(n,u=>L(u)),f=I({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;k(()=>{if(o){let u=function(h){if(f.paused||!r)return;const p=h.target;((E,g)=>E.getRootNode()instanceof ShadowRoot?E.getRootNode().host.contains(g):E.contains(g))(r,p)?a.current=h.target.shadowRoot?h.composedPath()[0]:h.target:v(a.current,{select:!0})},s=function(h){if(f.paused||!r)return;const p=h.relatedTarget;p!==null&&(((E,g)=>E.getRootNode()instanceof ShadowRoot?E.getRootNode().host.contains(g):E.contains(g))(r,p)||v(a.current,{select:!0}))},l=function(h){if((()=>{let p=document.activeElement;for(;p?.shadowRoot;)p=p.shadowRoot.activeElement;return p})()===document.body)for(const p of h)p.removedNodes.length>0&&v(r)};const m=r?.getRootNode()??document;m.addEventListener("focusin",u),m.addEventListener("focusout",s);const y=new MutationObserver(l);return r&&y.observe(r,{childList:!0,subtree:!0}),()=>{m.removeEventListener("focusin",u),m.removeEventListener("focusout",s),y.disconnect()}}},[o,r,f.paused]),k(()=>{if(r){D.add(f);const u=(()=>{let s=document.activeElement;for(;s?.shadowRoot;)s=s.shadowRoot.activeElement;return s})();if(!((s,l)=>s.getRootNode()instanceof ShadowRoot?s.getRootNode().host.contains(l):s.contains(l))(r,u)){const s=new CustomEvent(F,$);r.addEventListener(F,w),r.dispatchEvent(s),s.defaultPrevented||(V(Z(P(r)),{select:!0}),(()=>{let l=document.activeElement;for(;l?.shadowRoot;)l=l.shadowRoot.activeElement;return l})()===u&&v(r))}return()=>{r.removeEventListener(F,w),setTimeout(()=>{const s=new CustomEvent(W,$);r.addEventListener(W,R),r.dispatchEvent(s),s.defaultPrevented||v(u??document.body,{select:!0}),r.removeEventListener(W,R),D.remove(f)},0)}}},[r,w,R,f]);const b=B(u=>{if(!t&&!o||f.paused)return;const s=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,l=(()=>{let m=document.activeElement;for(;m?.shadowRoot;)m=m.shadowRoot.activeElement;return m})();if(s&&l){const m=u.currentTarget,[y,h]=J(m);y&&h?!u.shiftKey&&l===h?(u.preventDefault(),t&&v(y,{select:!0})):u.shiftKey&&l===y&&(u.preventDefault(),t&&v(h,{select:!0})):l===m&&u.preventDefault()}},[t,o,f.paused]);return H(z.div,{tabIndex:-1,...S,ref:i,onKeyDown:b})});O.displayName=G;function V(e,{select:n=!1}={}){const t=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();for(const o of e)if(v(o,{select:n}),(()=>{let c=document.activeElement;for(;c?.shadowRoot;)c=c.shadowRoot.activeElement;return c})()!==t)return}function J(e){const n=P(e),t=C(n,e),o=C(n.reverse(),e);return[t,o]}function P(e){const n=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const c=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||c?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)n.push(t.currentNode);return n}function C(e,n){for(const t of e)if(!Q(t,{upTo:n}))return t}function Q(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function X(e){return e instanceof HTMLInputElement&&"select"in e}function v(e,{select:n=!1}={}){if(e&&e.focus){const t=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();e.focus({preventScroll:!0}),e!==t&&X(e)&&n&&e.select()}}var D=Y();function Y(){let e=[];return{add(n){const t=e[0];n!==t&&t?.pause(),e=x(e,n),e.unshift(n)},remove(n){e=x(e,n),e[0]?.resume()}}}function x(e,n){const t=[...e],o=t.indexOf(n);return o!==-1&&t.splice(o,1),t}function Z(e){return e.filter(n=>n.tagName!=="A")}var ee=function(e){if(typeof document>"u")return null;var n=Array.isArray(e)?e[0]:e;return n.ownerDocument.body},N=new WeakMap,A=new WeakMap,T={},M=0,_=function(e){return e&&(e.host||_(e.parentNode))},te=function(e,n){return n.map(function(t){if(((c,d)=>{for(;d.getRootNode()instanceof ShadowRoot;)d=d.getRootNode().host;return c.contains(d)})(e,t))return t;var o=_(t);return o&&((c,d)=>{for(;d.getRootNode()instanceof ShadowRoot;)d=d.getRootNode().host;return c.contains(d)})(e,o)?o:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(t){return Boolean(t)})},oe=function(e,n,t,o){var c=te(n,Array.isArray(e)?e:[e]);T[t]||(T[t]=new WeakMap);var d=T[t],S=[],r=new Set,L=new Set(c),w=function(a){if(!(!a||r.has(a))){if(r.add(a),a.parentNode instanceof ShadowRoot)for(const i of a.parentNode.querySelectorAll("slot"))for(const f of i.assignedElements())r.add(f);w(a.parentNode instanceof ShadowRoot?a.parentNode.host:a.parentNode)}};c.forEach(w);var R=function(a){!a||L.has(a)||Array.prototype.forEach.call(a.children,function(i){if(r.has(i))R(i);else try{var f=i.getAttribute(o),b=f!==null&&f!=="false",u=(N.get(i)||0)+1,s=(d.get(i)||0)+1;N.set(i,u),d.set(i,s),S.push(i),u===1&&b&&A.set(i,!0),s===1&&i.setAttribute(t,"true"),b||i.setAttribute(o,"true")}catch(l){console.error("aria-hidden: cannot operate on ",i,l)}})};return R(n),r.clear(),M++,function(){S.forEach(function(a){var i=N.get(a)-1,f=d.get(a)-1;N.set(a,i),d.set(a,f),i||(A.has(a)||a.removeAttribute(o),A.delete(a)),f||a.removeAttribute(t)}),M--,M||(N=new WeakMap,N=new WeakMap,A=new WeakMap,T={})}},ne=function(e,n,t){t===void 0&&(t="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),c=n||ee(e);return c?(o.push.apply(o,Array.from(c.querySelectorAll("[aria-live]"))),oe(o,c,t,"aria-hidden")):function(){return null}};export{ne as h,O as y};
@@ -1 +1 @@
1
- import{$ as p,u as f}from"./register-CXrvYTg0.js";import{u as n}from"./index-DXFJDeKK.js";import{v as m}from"./index-KVjnXpyZ.js";import{t as u}from"./index-q0aTvx7X.js";var b="Toggle",r=p((o,e)=>{const{pressed:t,defaultPressed:s=!1,onPressedChange:d,...i}=o,[a=!1,l]=m({prop:t,onChange:d,defaultProp:s});return f(u.button,{type:"button","aria-pressed":a,"data-state":a?"on":"off","data-disabled":o.disabled?"":void 0,...i,ref:e,onClick:n(o.onClick,()=>{o.disabled||l(!a)})})});r.displayName=b;var c=r;export{c,r};
1
+ import{$ as p,u as f}from"./register-b54KUePW.js";import{u as n}from"./index-DXFJDeKK.js";import{v as m}from"./index-UVUhp3Uz.js";import{t as u}from"./index-COx1pHSg.js";var b="Toggle",r=p((o,e)=>{const{pressed:t,defaultPressed:s=!1,onPressedChange:d,...i}=o,[a=!1,l]=m({prop:t,onChange:d,defaultProp:s});return f(u.button,{type:"button","aria-pressed":a,"data-state":a?"on":"off","data-disabled":o.disabled?"":void 0,...i,ref:e,onClick:n(o.onClick,()=>{o.disabled||l(!a)})})});r.displayName=b;var c=r;export{c,r};
@@ -1,4 +1,4 @@
1
- import{u as i,$ as n,W as m,S as I}from"./register-CXrvYTg0.js";import{l as P}from"./index-BYnJ2ASg.js";import{s as g,m as T}from"./index-lblyEDnd.js";import{e as f,u as W,v as D,D as q,f as B,p as C,g as E,a as Y,m as j,d as k}from"./index-Dw3VGYXp.js";import{u as z}from"./index-DXFJDeKK.js";var v="AlertDialog",[G,de]=P(v,[f]),s=f(),A=e=>{const{__scopeAlertDialog:r,...t}=e,a=s(r);return i(W,{...a,...t,modal:!0})};A.displayName=v;var H="AlertDialogTrigger",y=n((e,r)=>{const{__scopeAlertDialog:t,...a}=e,o=s(t);return i(k,{...o,...a,ref:r})});y.displayName=H;var J="AlertDialogPortal",h=e=>{const{__scopeAlertDialog:r,...t}=e,a=s(r);return i(B,{...a,...t})};h.displayName=J;var K="AlertDialogOverlay",_=n((e,r)=>{const{__scopeAlertDialog:t,...a}=e,o=s(t);return i(C,{...o,...a,ref:r})});_.displayName=K;var l="AlertDialogContent",[L,Q]=G(l),$=n((e,r)=>{const{__scopeAlertDialog:t,children:a,...o}=e,d=s(t),u=m(null),F=g(r,u),p=m(null);return i(Y,{contentName:l,titleName:b,docsSlug:"alert-dialog",children:i(L,{scope:t,cancelRef:p,children:i(E,{role:"alertdialog",...d,...o,ref:F,onOpenAutoFocus:z(o.onOpenAutoFocus,c=>{c.preventDefault(),p.current?.focus({preventScroll:!0})}),onPointerDownOutside:c=>c.preventDefault(),onInteractOutside:c=>c.preventDefault(),children:[i(T,{children:a}),i(V,{contentRef:u})]})})})});$.displayName=l;var b="AlertDialogTitle",N=n((e,r)=>{const{__scopeAlertDialog:t,...a}=e,o=s(t);return i(j,{...o,...a,ref:r})});N.displayName=b;var O="AlertDialogDescription",w=n((e,r)=>{const{__scopeAlertDialog:t,...a}=e,o=s(t);return i(q,{...o,...a,ref:r})});w.displayName=O;var U="AlertDialogAction",R=n((e,r)=>{const{__scopeAlertDialog:t,...a}=e,o=s(t);return i(D,{...o,...a,ref:r})});R.displayName=U;var S="AlertDialogCancel",x=n((e,r)=>{const{__scopeAlertDialog:t,...a}=e,{cancelRef:o}=Q(S,t),d=s(t),u=g(r,o);return i(D,{...d,...a,ref:u})});x.displayName=S;var V=({contentRef:e})=>{const r=`\`${l}\` requires a description for the component to be accessible for screen reader users.
1
+ import{u as i,$ as n,W as m,S as I}from"./register-b54KUePW.js";import{l as P}from"./index-CHzmDk7o.js";import{s as g,m as T}from"./index-D8fjhMLF.js";import{e as f,u as W,v as D,D as q,f as B,p as C,g as E,a as Y,m as j,d as k}from"./index-DbdLSO3Q.js";import{u as z}from"./index-DXFJDeKK.js";var v="AlertDialog",[G,de]=P(v,[f]),s=f(),A=e=>{const{__scopeAlertDialog:r,...t}=e,a=s(r);return i(W,{...a,...t,modal:!0})};A.displayName=v;var H="AlertDialogTrigger",y=n((e,r)=>{const{__scopeAlertDialog:t,...a}=e,o=s(t);return i(k,{...o,...a,ref:r})});y.displayName=H;var J="AlertDialogPortal",h=e=>{const{__scopeAlertDialog:r,...t}=e,a=s(r);return i(B,{...a,...t})};h.displayName=J;var K="AlertDialogOverlay",_=n((e,r)=>{const{__scopeAlertDialog:t,...a}=e,o=s(t);return i(C,{...o,...a,ref:r})});_.displayName=K;var l="AlertDialogContent",[L,Q]=G(l),$=n((e,r)=>{const{__scopeAlertDialog:t,children:a,...o}=e,d=s(t),u=m(null),F=g(r,u),p=m(null);return i(Y,{contentName:l,titleName:b,docsSlug:"alert-dialog",children:i(L,{scope:t,cancelRef:p,children:i(E,{role:"alertdialog",...d,...o,ref:F,onOpenAutoFocus:z(o.onOpenAutoFocus,c=>{c.preventDefault(),p.current?.focus({preventScroll:!0})}),onPointerDownOutside:c=>c.preventDefault(),onInteractOutside:c=>c.preventDefault(),children:[i(T,{children:a}),i(V,{contentRef:u})]})})})});$.displayName=l;var b="AlertDialogTitle",N=n((e,r)=>{const{__scopeAlertDialog:t,...a}=e,o=s(t);return i(j,{...o,...a,ref:r})});N.displayName=b;var O="AlertDialogDescription",w=n((e,r)=>{const{__scopeAlertDialog:t,...a}=e,o=s(t);return i(q,{...o,...a,ref:r})});w.displayName=O;var U="AlertDialogAction",R=n((e,r)=>{const{__scopeAlertDialog:t,...a}=e,o=s(t);return i(D,{...o,...a,ref:r})});R.displayName=U;var S="AlertDialogCancel",x=n((e,r)=>{const{__scopeAlertDialog:t,...a}=e,{cancelRef:o}=Q(S,t),d=s(t),u=g(r,o);return i(D,{...d,...a,ref:u})});x.displayName=S;var V=({contentRef:e})=>{const r=`\`${l}\` requires a description for the component to be accessible for screen reader users.
2
2
 
3
3
  You can add a description to the \`${l}\` by passing a \`${O}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
4
4
 
@@ -1 +1 @@
1
- import{b as v,H as d,u as h,a as N}from"./register-CXrvYTg0.js";function _(n,c){const o=v(c),u=r=>{const{children:e,...t}=r,i=d(()=>t,Object.values(t));return h(o.Provider,{value:i,children:e})};u.displayName=n+"Provider";function s(r){const e=N(o);if(e)return e;if(c!==void 0)return c;throw new Error(`\`${r}\` must be used within \`${n}\``)}return[u,s]}function P(n,c=[]){let o=[];function u(r,e){const t=v(e),i=o.length;o=[...o,e];const p=m=>{const{scope:f,children:l,...a}=m,b=f?.[n]?.[i]||t,w=d(()=>a,Object.values(a));return h(b.Provider,{value:w,children:l})};p.displayName=r+"Provider";function $(m,f){const l=f?.[n]?.[i]||t,a=N(l);if(a)return a;if(e!==void 0)return e;throw new Error(`\`${m}\` must be used within \`${r}\``)}return[p,$]}const s=()=>{const r=o.map(e=>v(e));return function(e){const t=e?.[n]||r;return d(()=>({[`__scope${n}`]:{...e,[n]:t}}),[e,t])}};return s.scopeName=n,[u,S(s,...c)]}function S(...n){const c=n[0];if(n.length===1)return c;const o=()=>{const u=n.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(s){const r=u.reduce((e,{useScope:t,scopeName:i})=>{const p=t(s)[`__scope${i}`];return{...e,...p}},{});return d(()=>({[`__scope${c.scopeName}`]:r}),[r])}};return o.scopeName=c.scopeName,o}export{_ as P,P as l};
1
+ import{b as v,H as d,u as h,a as N}from"./register-b54KUePW.js";function _(n,c){const o=v(c),u=r=>{const{children:e,...t}=r,i=d(()=>t,Object.values(t));return h(o.Provider,{value:i,children:e})};u.displayName=n+"Provider";function s(r){const e=N(o);if(e)return e;if(c!==void 0)return c;throw new Error(`\`${r}\` must be used within \`${n}\``)}return[u,s]}function P(n,c=[]){let o=[];function u(r,e){const t=v(e),i=o.length;o=[...o,e];const p=m=>{const{scope:f,children:l,...a}=m,b=f?.[n]?.[i]||t,w=d(()=>a,Object.values(a));return h(b.Provider,{value:w,children:l})};p.displayName=r+"Provider";function $(m,f){const l=f?.[n]?.[i]||t,a=N(l);if(a)return a;if(e!==void 0)return e;throw new Error(`\`${m}\` must be used within \`${r}\``)}return[p,$]}const s=()=>{const r=o.map(e=>v(e));return function(e){const t=e?.[n]||r;return d(()=>({[`__scope${n}`]:{...e,[n]:t}}),[e,t])}};return s.scopeName=n,[u,S(s,...c)]}function S(...n){const c=n[0];if(n.length===1)return c;const o=()=>{const u=n.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(s){const r=u.reduce((e,{useScope:t,scopeName:i})=>{const p=t(s)[`__scope${i}`];return{...e,...p}},{});return d(()=>({[`__scope${c.scopeName}`]:r}),[r])}};return o.scopeName=c.scopeName,o}export{_ as P,P as l};