@optiaxiom/web-components 3.3.2 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (502) hide show
  1. package/dist/ActionsContent-BhK_f6-w.js +1 -0
  2. package/dist/ActionsRoot-C8wSZV_r.js +1 -0
  3. package/dist/Alert-DuW-EXyh.js +1 -0
  4. package/dist/AlertDialogAction-vMAKYPrW.js +1 -0
  5. package/dist/{AlertDialogBody-squtVgrc.js → AlertDialogBody-B1XXopCB.js} +1 -1
  6. package/dist/AlertDialogCancel-W91kFVNX.js +1 -0
  7. package/dist/AlertDialogContent-DjfraUSX.js +1 -0
  8. package/dist/AlertDialogContext-BU3Zt-bt.js +1 -0
  9. package/dist/AlertDialogFooter-DCyPUCew.js +1 -0
  10. package/dist/AlertDialogHeader-CbvgjuDl.js +1 -0
  11. package/dist/AngleMenuButton-AzfisDlh.js +1 -0
  12. package/dist/Avatar-8JT5IxIQ.js +1 -0
  13. package/dist/AvatarContext-BMaBDwXU.js +1 -0
  14. package/dist/Backdrop-C2iYAaQu.js +1 -0
  15. package/dist/Badge-zCUWwTia.js +1 -0
  16. package/dist/Box-Bb1gg32L.js +1 -0
  17. package/dist/Button-2znsEk48.js +1 -0
  18. package/dist/ButtonContext-Btt7qtar.js +1 -0
  19. package/dist/ButtonGroup.css.ts.vanilla-Big2-ymt-DAbROxiv.js +1 -0
  20. package/dist/ButtonRoot-DFiQqCL-.js +1 -0
  21. package/dist/Calendar-ytCZdPRU.js +1 -0
  22. package/dist/CardContext-CE9nROJ1.js +1 -0
  23. package/dist/Checkbox-hXQV_gLz.js +1 -0
  24. package/dist/{Combination-CngJUqMv.js → Combination-QgdM4Ih0.js} +3 -3
  25. package/dist/Cover-BOAkeLeg.js +1 -0
  26. package/dist/Cover.css.ts.vanilla-DiHZydS0-xomBYSoo.js +1 -0
  27. package/dist/{DataTableAction-4TJ7M6ln.js → DataTableAction-CMrjhcjf.js} +1 -1
  28. package/dist/DataTableContext-7hPE2V77.js +1 -0
  29. package/dist/{DataTableRowContext-DicjSXhd.js → DataTableRowContext-NDQ-BFIH.js} +1 -1
  30. package/dist/DateRangePickerContext-NGq0t5CO.js +1 -0
  31. package/dist/Dialog-DtN9mMoG.js +1 -0
  32. package/dist/DialogClose-DgQcY5WD.js +1 -0
  33. package/dist/DialogContent-BKerVyQq.js +1 -0
  34. package/dist/DialogContext-qT1mlQXV.js +1 -0
  35. package/dist/DialogHeader-COITC3Mh.js +1 -0
  36. package/dist/DialogKitContext-B4qpJIrc.js +1 -0
  37. package/dist/DialogTrigger-EN0KdgLt.js +1 -0
  38. package/dist/{Disclosure-Dlbho4sM.js → Disclosure-D0EaXwp7.js} +1 -1
  39. package/dist/DisclosureContent-Bi9-e7Ur.js +1 -0
  40. package/dist/DisclosureTrigger-CjzaNcHd.js +1 -0
  41. package/dist/DropdownMenuContext-D8cFfd8q.js +1 -0
  42. package/dist/DropdownMenuNestedContext-siIrP-bd.js +1 -0
  43. package/dist/DropdownMenuSubContext-CnLJqNYO.js +1 -0
  44. package/dist/FieldContext-CxoFSzNS.js +1 -0
  45. package/dist/{FieldLabel-Cy4eM8BC.js → FieldLabel-ChMRSpbu.js} +1 -1
  46. package/dist/FilteredSlot-BaFSFDxF.js +1 -0
  47. package/dist/{FocusBookmarkProvider-BZg_00La.js → FocusBookmarkProvider-DEFw8XTg.js} +1 -1
  48. package/dist/FocusBookmarkProviderContext-Bvnrhv6-.js +1 -0
  49. package/dist/{Group-DKJlvhys.js → Group-Dmvx_KsW.js} +1 -1
  50. package/dist/Heading-Dungr7Zm.js +1 -0
  51. package/dist/Icon-BNGJZKF_.js +1 -0
  52. package/dist/{IconOpal-nYhGwbvY.js → IconOpal-CaE4RL5W.js} +1 -1
  53. package/dist/Input-BvLzJFnU.js +1 -0
  54. package/dist/{InputAddon-Cgk3k5lU.js → InputAddon-Dj4zg7DB.js} +1 -1
  55. package/dist/InputContext-Bq6d_UPH.js +1 -0
  56. package/dist/InputControl-DfZMxrQ_.js +1 -0
  57. package/dist/InputControl.css.ts.vanilla-BSjxov69-CAh5HBGB.js +1 -0
  58. package/dist/InputRoot-BAhiuKYR.js +1 -0
  59. package/dist/Link-I9zzd5z_.js +1 -0
  60. package/dist/Listbox-CJvQnM0f.js +1 -0
  61. package/dist/{ListboxCheckboxItem-B0HK3O8Z.js → ListboxCheckboxItem-Cl2E73uq.js} +1 -1
  62. package/dist/ListboxCheckboxItem-css-CeBX5aDW.js +1 -0
  63. package/dist/{ListboxEmpty-Bpxs_fTn.js → ListboxEmpty-B_rRWt9D.js} +1 -1
  64. package/dist/ListboxGroupContext-C0MdoMr-.js +1 -0
  65. package/dist/ListboxItem-B6KBXhgs.js +1 -0
  66. package/dist/ListboxItemIndicator-xWMYBEIM.js +1 -0
  67. package/dist/ListboxItemized-D5f5EiaQ.js +1 -0
  68. package/dist/ListboxLabel-DMrITduG.js +1 -0
  69. package/dist/ListboxRadioItem-Bd4oJ4PZ.js +1 -0
  70. package/dist/ListboxSeparator-BrIT4zqD.js +1 -0
  71. package/dist/{ListboxSwitchItem-i4LKxug3.js → ListboxSwitchItem-DJ8-U7qf.js} +1 -1
  72. package/dist/LocaleContext-DhcvnFk2.js +1 -0
  73. package/dist/MaterialIcon-CCyzkG2X.js +3 -0
  74. package/dist/{Menu-DCOYFw6T.js → Menu-jwoQVFsx.js} +1 -1
  75. package/dist/MenuContent-CJLl7c2w.js +1 -0
  76. package/dist/MenuContext-BGjOEDvW.js +1 -0
  77. package/dist/{MenuTrigger-Dz0hJ2C0.js → MenuTrigger-C672NOC4.js} +1 -1
  78. package/dist/ModalLayer-bJGL4FpP.js +1 -0
  79. package/dist/ModalListbox-Bcw9Ix0E.js +9 -0
  80. package/dist/NavGroupContext-wYPm-zHf.js +1 -0
  81. package/dist/NavItem-E9fMP1LW.js +1 -0
  82. package/dist/Pagination-CT6T5kQU.js +1 -0
  83. package/dist/{Paper-Cz1vhWnB.js → Paper-BYmS8u_u.js} +1 -1
  84. package/dist/{Popover-cd-uopI2.js → Popover-BZCI5cid.js} +1 -1
  85. package/dist/{PopoverAnchor-CFl7nOsu.js → PopoverAnchor-D41eIn6R.js} +1 -1
  86. package/dist/PopoverContent-B0fJ066W.js +1 -0
  87. package/dist/{PopoverTrigger-Cs_K801r.js → PopoverTrigger-C1QWk973.js} +1 -1
  88. package/dist/Portal-VYPzlIAS.js +1 -0
  89. package/dist/PortalContext-BgP0bn1A.js +1 -0
  90. package/dist/RadioGroupContext-DqctzWvD.js +1 -0
  91. package/dist/{Select-DUfrgBzl.js → Select-BaMDL-d7.js} +1 -1
  92. package/dist/SelectContent-R41HxEPP.js +1 -0
  93. package/dist/SelectContext-2nPiHSOd.js +1 -0
  94. package/dist/{SelectTrigger-BhDdSGuW.js → SelectTrigger-_grNfRKS.js} +1 -1
  95. package/dist/Separator-BvDIQT4I.js +1 -0
  96. package/dist/SidebarContext-DBovZqm4.js +1 -0
  97. package/dist/Skeleton--Ca11_qo.js +1 -0
  98. package/dist/Spinner-vAnI4rOq.js +1 -0
  99. package/dist/SuggestionPopover-jtqy6fwO.js +1 -0
  100. package/dist/Switch-hF84YnCX.js +1 -0
  101. package/dist/Table-B7vWN5NE.js +1 -0
  102. package/dist/TableAction-DBzRKcZl.js +1 -0
  103. package/dist/TableBody-CFTGjg2G.js +1 -0
  104. package/dist/TableCell-D25AlnaG.js +1 -0
  105. package/dist/TableHeader-C3Scb9Dd.js +1 -0
  106. package/dist/TableHeaderCell-C_TnVmQh.js +1 -0
  107. package/dist/TableRow-gqoZBkTR.js +1 -0
  108. package/dist/TableRow.css.ts.vanilla-qnTbGpk5-BmmZmmE1.js +1 -0
  109. package/dist/Text-DHaRgtPw.js +1 -0
  110. package/dist/ThemeProvider-Wgor-2LZ.js +14 -0
  111. package/dist/ToastProvider-BBzZKDHP.js +1 -0
  112. package/dist/ToggleInputHiddenInput-eXE6OMg-.js +1 -0
  113. package/dist/{Tooltip-D_wABW5l.js → Tooltip-BueOdhgN.js} +1 -1
  114. package/dist/{TooltipContent-CdpjiL7v.js → TooltipContent-Dm-a9N5i.js} +1 -1
  115. package/dist/TooltipContext-CyyAhEEa.js +1 -0
  116. package/dist/TooltipProvider-B--57Giz.js +1 -0
  117. package/dist/{TooltipRoot-CrvcCbUO.js → TooltipRoot-DjtYCDLo.js} +1 -1
  118. package/dist/TooltipTrigger-DvDOhxCj.js +1 -0
  119. package/dist/Transition-B_hTOymo.js +1 -0
  120. package/dist/TransitionGroup-BkKDcvXN.js +1 -0
  121. package/dist/TransitionGroupContext-DT0q6fRt.js +1 -0
  122. package/dist/{VisuallyHidden-DtUBgMX3.js → VisuallyHidden-CAIcQXFq.js} +1 -1
  123. package/dist/{calendar_today-CUZs5Wk3.js → calendar_today-xmGuLkvy.js} +1 -1
  124. package/dist/{check-DOT46j_3.js → check-B5Rnxm-f.js} +1 -1
  125. package/dist/{chevron_left-DgCMog4k.js → chevron_left-CQwZvT0W.js} +1 -1
  126. package/dist/{chevron_right-BCOD860L.js → chevron_right-BX_JxyOB.js} +1 -1
  127. package/dist/{close-Cl1sVgpF.js → close-qrZKeEFX.js} +1 -1
  128. package/dist/components/Alert.d.ts +1 -1
  129. package/dist/components/Alert.js +1 -1
  130. package/dist/components/AlertDialog.js +1 -1
  131. package/dist/components/AlertDialogAction.d.ts +3 -3
  132. package/dist/components/AlertDialogAction.js +1 -1
  133. package/dist/components/AlertDialogBody.js +1 -1
  134. package/dist/components/AlertDialogCancel.d.ts +3 -3
  135. package/dist/components/AlertDialogCancel.js +1 -1
  136. package/dist/components/AlertDialogContent.js +1 -1
  137. package/dist/components/AlertDialogFooter.js +1 -1
  138. package/dist/components/AlertDialogHeader.js +1 -1
  139. package/dist/components/AlertDialogTrigger.d.ts +3 -3
  140. package/dist/components/AlertDialogTrigger.js +1 -1
  141. package/dist/components/AngleMenuButton.d.ts +7 -7
  142. package/dist/components/AngleMenuButton.js +1 -1
  143. package/dist/components/AuthProvider.js +1 -1
  144. package/dist/components/Avatar.d.ts +2 -2
  145. package/dist/components/Avatar.js +1 -1
  146. package/dist/components/AvatarGroup.d.ts +1 -1
  147. package/dist/components/AvatarGroup.js +1 -1
  148. package/dist/components/AxiomProvider.js +1 -1
  149. package/dist/components/Badge.d.ts +1 -1
  150. package/dist/components/Badge.js +1 -1
  151. package/dist/components/Banner.d.ts +1 -1
  152. package/dist/components/Banner.js +1 -1
  153. package/dist/components/Box.d.ts +37 -35
  154. package/dist/components/Box.js +1 -1
  155. package/dist/components/Breadcrumb.js +1 -1
  156. package/dist/components/Button.d.ts +3 -3
  157. package/dist/components/Button.js +1 -1
  158. package/dist/components/ButtonGroup.js +1 -1
  159. package/dist/components/Card.js +1 -1
  160. package/dist/components/CardAction.js +1 -1
  161. package/dist/components/CardCheckbox.js +1 -1
  162. package/dist/components/CardFooter.js +1 -1
  163. package/dist/components/CardHeader.js +1 -1
  164. package/dist/components/CardImage.js +1 -1
  165. package/dist/components/CardLink.d.ts +2 -2
  166. package/dist/components/CardLink.js +1 -1
  167. package/dist/components/CardPreview.js +1 -1
  168. package/dist/components/Checkbox.js +1 -1
  169. package/dist/components/Code.js +1 -1
  170. package/dist/components/Cover.js +1 -1
  171. package/dist/components/DataTable.js +1 -1
  172. package/dist/components/DataTableAction.js +1 -1
  173. package/dist/components/DataTableBody.js +2 -2
  174. package/dist/components/DataTableCheckbox.js +1 -1
  175. package/dist/components/DataTableFooter.js +1 -1
  176. package/dist/components/DataTableLabel.js +1 -1
  177. package/dist/components/DateInput.d.ts +10 -10
  178. package/dist/components/DateInput.js +1 -1
  179. package/dist/components/DateRangePicker.js +1 -1
  180. package/dist/components/DateRangePickerContent.d.ts +2 -2
  181. package/dist/components/DateRangePickerContent.js +1 -1
  182. package/dist/components/DateRangePickerTrigger.d.ts +7 -7
  183. package/dist/components/DateRangePickerTrigger.js +1 -1
  184. package/dist/components/Dialog.js +1 -1
  185. package/dist/components/DialogBody.js +1 -1
  186. package/dist/components/DialogClose.d.ts +3 -3
  187. package/dist/components/DialogClose.js +1 -1
  188. package/dist/components/DialogContent.js +1 -1
  189. package/dist/components/DialogFooter.js +1 -1
  190. package/dist/components/DialogForm.js +1 -1
  191. package/dist/components/DialogHeader.js +1 -1
  192. package/dist/components/DialogTrigger.d.ts +3 -3
  193. package/dist/components/DialogTrigger.js +1 -1
  194. package/dist/components/Disclosure.js +1 -1
  195. package/dist/components/DisclosureContent.js +1 -1
  196. package/dist/components/DisclosureTrigger.js +1 -1
  197. package/dist/components/DropdownMenu.js +1 -1
  198. package/dist/components/DropdownMenuCheckboxItem.d.ts +3 -3
  199. package/dist/components/DropdownMenuCheckboxItem.js +1 -1
  200. package/dist/components/DropdownMenuContent.d.ts +3 -3
  201. package/dist/components/DropdownMenuContent.js +1 -1
  202. package/dist/components/DropdownMenuGroup.js +1 -1
  203. package/dist/components/DropdownMenuItem.d.ts +3 -3
  204. package/dist/components/DropdownMenuItem.js +1 -1
  205. package/dist/components/DropdownMenuLabel.js +1 -1
  206. package/dist/components/DropdownMenuSeparator.js +1 -1
  207. package/dist/components/DropdownMenuSub.js +1 -1
  208. package/dist/components/DropdownMenuSubContent.d.ts +2 -2
  209. package/dist/components/DropdownMenuSubContent.js +1 -1
  210. package/dist/components/DropdownMenuTrigger.d.ts +7 -7
  211. package/dist/components/DropdownMenuTrigger.js +1 -1
  212. package/dist/components/EllipsisMenuButton.d.ts +7 -7
  213. package/dist/components/EllipsisMenuButton.js +1 -1
  214. package/dist/components/Field.js +1 -1
  215. package/dist/components/FieldLabel.js +1 -1
  216. package/dist/components/Flex.js +1 -1
  217. package/dist/components/Grid.js +1 -1
  218. package/dist/components/Group.js +1 -1
  219. package/dist/components/Heading.js +1 -1
  220. package/dist/components/Indicator.d.ts +2 -2
  221. package/dist/components/Indicator.js +1 -1
  222. package/dist/components/Input.d.ts +5 -5
  223. package/dist/components/Input.js +1 -1
  224. package/dist/components/InputAddon.js +1 -1
  225. package/dist/components/InputControl.d.ts +2 -2
  226. package/dist/components/InputControl.js +1 -1
  227. package/dist/components/InputRoot.d.ts +2 -2
  228. package/dist/components/InputRoot.js +1 -1
  229. package/dist/components/Kbd.d.ts +1 -1
  230. package/dist/components/Kbd.js +1 -1
  231. package/dist/components/LabelMenuButton.d.ts +5 -5
  232. package/dist/components/LabelMenuButton.js +1 -1
  233. package/dist/components/Link.d.ts +1 -1
  234. package/dist/components/Link.js +1 -1
  235. package/dist/components/Listbox.js +1 -1
  236. package/dist/components/ListboxCheckboxItem.d.ts +4 -4
  237. package/dist/components/ListboxCheckboxItem.js +1 -1
  238. package/dist/components/ListboxEmpty.js +1 -1
  239. package/dist/components/ListboxGroup.js +1 -1
  240. package/dist/components/ListboxItem.d.ts +2 -2
  241. package/dist/components/ListboxItem.js +1 -1
  242. package/dist/components/ListboxItemIndicator.js +1 -1
  243. package/dist/components/ListboxItemized.js +1 -1
  244. package/dist/components/ListboxLabel.js +1 -1
  245. package/dist/components/ListboxRadioItem.d.ts +4 -4
  246. package/dist/components/ListboxRadioItem.js +1 -1
  247. package/dist/components/ListboxSeparator.js +1 -1
  248. package/dist/components/ListboxSwitchItem.d.ts +4 -4
  249. package/dist/components/ListboxSwitchItem.js +1 -1
  250. package/dist/components/Menu.d.ts +3 -3
  251. package/dist/components/Menu.js +1 -1
  252. package/dist/components/MenuContent.d.ts +2 -2
  253. package/dist/components/MenuContent.js +1 -1
  254. package/dist/components/MenuTrigger.d.ts +7 -7
  255. package/dist/components/MenuTrigger.js +1 -1
  256. package/dist/components/ModalLayer.js +1 -1
  257. package/dist/components/Nav.js +1 -1
  258. package/dist/components/NavAccountItem.js +1 -1
  259. package/dist/components/NavBody.js +1 -1
  260. package/dist/components/NavFooter.js +1 -1
  261. package/dist/components/NavGroup.d.ts +2 -2
  262. package/dist/components/NavGroup.js +1 -1
  263. package/dist/components/NavGroupContent.js +1 -1
  264. package/dist/components/NavGroupTrigger.d.ts +2 -2
  265. package/dist/components/NavGroupTrigger.js +1 -1
  266. package/dist/components/NavHeader.js +1 -1
  267. package/dist/components/NavItem.js +1 -1
  268. package/dist/components/NavList.js +1 -1
  269. package/dist/components/NavSeparator.js +1 -1
  270. package/dist/components/Pagination.js +1 -1
  271. package/dist/components/Paper.js +1 -1
  272. package/dist/components/Popover.js +1 -1
  273. package/dist/components/PopoverAnchor.js +1 -1
  274. package/dist/components/PopoverContent.d.ts +2 -2
  275. package/dist/components/PopoverContent.js +1 -1
  276. package/dist/components/PopoverTrigger.d.ts +3 -3
  277. package/dist/components/PopoverTrigger.js +1 -1
  278. package/dist/components/Progress.d.ts +1 -1
  279. package/dist/components/Progress.js +2 -2
  280. package/dist/components/Radio.js +1 -1
  281. package/dist/components/RadioGroup.js +1 -1
  282. package/dist/components/SearchInput.d.ts +11 -11
  283. package/dist/components/SearchInput.js +1 -1
  284. package/dist/components/SegmentedControl.d.ts +4 -4
  285. package/dist/components/SegmentedControl.js +1 -1
  286. package/dist/components/SegmentedControlItem.d.ts +3 -3
  287. package/dist/components/SegmentedControlItem.js +1 -1
  288. package/dist/components/Select.js +1 -1
  289. package/dist/components/SelectContent.d.ts +2 -2
  290. package/dist/components/SelectContent.js +1 -1
  291. package/dist/components/SelectTrigger.d.ts +7 -7
  292. package/dist/components/SelectTrigger.js +1 -1
  293. package/dist/components/Separator.js +1 -1
  294. package/dist/components/Sidebar.js +1 -1
  295. package/dist/components/SidebarToggle.d.ts +3 -3
  296. package/dist/components/SidebarToggle.js +1 -1
  297. package/dist/components/Skeleton.js +1 -1
  298. package/dist/components/Spinner.d.ts +1 -1
  299. package/dist/components/Spinner.js +1 -1
  300. package/dist/components/SubNav.js +1 -1
  301. package/dist/components/Switch.js +1 -1
  302. package/dist/components/Table.js +1 -1
  303. package/dist/components/TableAction.js +1 -1
  304. package/dist/components/TableBody.js +1 -1
  305. package/dist/components/TableCell.js +1 -1
  306. package/dist/components/TableHeader.js +1 -1
  307. package/dist/components/TableHeaderCell.js +1 -1
  308. package/dist/components/TableRow.js +1 -1
  309. package/dist/components/Tabs.d.ts +2 -2
  310. package/dist/components/Tabs.js +1 -1
  311. package/dist/components/TabsContent.js +1 -1
  312. package/dist/components/TabsList.js +1 -1
  313. package/dist/components/TabsTrigger.js +1 -1
  314. package/dist/components/Text.js +1 -1
  315. package/dist/components/Textarea.d.ts +5 -5
  316. package/dist/components/Textarea.js +1 -1
  317. package/dist/components/ThemeProvider.js +1 -1
  318. package/dist/components/ToastProvider.js +1 -1
  319. package/dist/components/ToggleButton.d.ts +2 -2
  320. package/dist/components/ToggleButton.js +1 -1
  321. package/dist/components/Tooltip.d.ts +43 -41
  322. package/dist/components/Tooltip.js +1 -1
  323. package/dist/components/TooltipContent.d.ts +2 -2
  324. package/dist/components/TooltipContent.js +1 -1
  325. package/dist/components/TooltipProvider.js +1 -1
  326. package/dist/components/TooltipRoot.js +1 -1
  327. package/dist/components/TooltipTrigger.js +1 -1
  328. package/dist/components/Transition.js +1 -1
  329. package/dist/components/TransitionGroup.js +1 -1
  330. package/dist/context-C7abUliX.js +1 -0
  331. package/dist/{decorateChildren-BdrC1XGy.js → decorateChildren-CBQGHbT1.js} +1 -1
  332. package/dist/{dist-B66qjTzP.js → dist-0IJcVW2d.js} +1 -1
  333. package/dist/dist-BE01MIvm.js +1 -0
  334. package/dist/dist-BKRHlLR8.js +1 -0
  335. package/dist/dist-BRMPlbf8.js +4 -0
  336. package/dist/dist-B_BnEAY6.js +1 -0
  337. package/dist/{dist-9M8M6YRc.js → dist-BaRz2Web.js} +1 -1
  338. package/dist/dist-BaqUvTgd.js +1 -0
  339. package/dist/dist-BiRQLdok.js +1 -0
  340. package/dist/{dist-D8Xs9vQD.js → dist-BnsmWG7e.js} +1 -1
  341. package/dist/{dist-CvjhLntu.js → dist-CQCMSOJD.js} +1 -1
  342. package/dist/dist-CYHoVmOS.js +1 -0
  343. package/dist/{dist-DMiUKDp5.js → dist-CiViYOHj.js} +1 -1
  344. package/dist/dist-Cq8vkIS2.js +1 -0
  345. package/dist/dist-Cv3K69Bs.js +1 -0
  346. package/dist/dist-D6s0OQM0.js +1 -0
  347. package/dist/dist-DIbXSpE2.js +1 -0
  348. package/dist/dist-DJYr597e.js +1 -0
  349. package/dist/dist-JANeZ5Sr.js +1 -0
  350. package/dist/dist-KT7hNKRW.js +1 -0
  351. package/dist/dist-T9p1MSgy.js +5 -0
  352. package/dist/dist-bSQZMExP.js +3 -0
  353. package/dist/{dist-ChSw7eQT.js → dist-tAwMUfOF.js} +1 -1
  354. package/dist/{dist-mRSVgbCe.js → dist-tji09cJp.js} +1 -1
  355. package/dist/{downshift.esm-CzjJCzjH.js → downshift.esm-DobVZz59.js} +3 -3
  356. package/dist/{esm-QgKqvLOn.js → esm-Be__0HDB.js} +1 -1
  357. package/dist/fallbackSpan-C1WHiANE.js +1 -0
  358. package/dist/index.d.ts +253 -249
  359. package/dist/index.js +1 -1
  360. package/dist/{keyboard_arrow_down-CGf4yba0.js → keyboard_arrow_down-AzPn-d_V.js} +1 -1
  361. package/dist/layers.css.ts.vanilla-CTOkUrdE-EDaSMyVx.js +1 -0
  362. package/dist/mapValues-CeJgyccc.js +1 -0
  363. package/dist/modal-context-CNbWZtWB.js +1 -0
  364. package/dist/{more_horiz-rHqsUkG_.js → more_horiz-B55UrHee.js} +1 -1
  365. package/dist/{open_in_new-iAH-WXF-.js → open_in_new-BtJq0iEC.js} +1 -1
  366. package/dist/propTypes-DdfYJQko.js +1 -0
  367. package/dist/{register-Cw2o7_6I.js → register-DIEtmS6C.js} +2 -2
  368. package/dist/{search-Cah03y4j.js → search-BZVtmtOS.js} +1 -1
  369. package/dist/{shim-CQtTVN7L.js → shim-DB4UAeBV.js} +2 -2
  370. package/dist/{mapValues-BgRN4B0f.js → tokens-D1wCgP8G.js} +1 -1
  371. package/dist/useEvent-BEXXKwro.js +1 -0
  372. package/dist/{useFieldLabelTrigger-CZ8dhgfO.js → useFieldLabelTrigger-XhtGdFdo.js} +1 -1
  373. package/dist/{useMenuSurface-DGNvIlwe.js → useMenuSurface-BNPvxn7H.js} +1 -1
  374. package/dist/{useObserveValue-BaeIfxWD.js → useObserveValue-CDKTko2b.js} +1 -1
  375. package/dist/usePopoverScope-3llVYojq.js +1 -0
  376. package/dist/useResponsiveMatches-DduXestu.js +1 -0
  377. package/dist/{useSuggestions-9Sypqdzo.js → useSuggestions-CCAryh-4.js} +1 -1
  378. package/dist/{useSurface-CwymaR5q.js → useSurface-B2Ifo_na.js} +1 -1
  379. package/dist/{warning-DhOxLGSr.js → warning-JHQ2K9At.js} +1 -1
  380. package/dist/{withIcon-BPdmWr6f.js → withIcon-DhKtoZEF.js} +1 -1
  381. package/package.json +2 -2
  382. package/dist/ActionsContent-BBtCTJ8i.js +0 -1
  383. package/dist/ActionsRoot-ClLU2T6T.js +0 -1
  384. package/dist/Alert-EG3bqbYx.js +0 -1
  385. package/dist/AlertDialogAction-BReaw3Kf.js +0 -1
  386. package/dist/AlertDialogCancel-CBI6LKq2.js +0 -1
  387. package/dist/AlertDialogContent-CJGN1fMe.js +0 -1
  388. package/dist/AlertDialogContext-BlzQ0lpi.js +0 -1
  389. package/dist/AlertDialogFooter-BPOrxX6m.js +0 -1
  390. package/dist/AlertDialogHeader-Bt9-zpDk.js +0 -1
  391. package/dist/AngleMenuButton-BC0eCFnb.js +0 -1
  392. package/dist/Avatar-C0HsBCk_.js +0 -1
  393. package/dist/AvatarContext-Doge2LEV.js +0 -1
  394. package/dist/Backdrop-CE5rSIux.js +0 -1
  395. package/dist/Badge-skOTR7jX.js +0 -1
  396. package/dist/Box-55YQsWMw.js +0 -1
  397. package/dist/Button-Cs01fDrn.js +0 -1
  398. package/dist/ButtonContext-CgrgBMf5.js +0 -1
  399. package/dist/ButtonRoot-RnpZ8AQy.js +0 -1
  400. package/dist/Calendar-0qmCpJ3T.js +0 -1
  401. package/dist/CardContext-CL7gUAn6.js +0 -1
  402. package/dist/Checkbox-BJW_VV6P.js +0 -1
  403. package/dist/Cover-BSADh7J8.js +0 -1
  404. package/dist/Cover.css.ts.vanilla-DJajfkND-BuAKNded.js +0 -1
  405. package/dist/DataTableContext-CkTl7WbX.js +0 -1
  406. package/dist/DateRangePickerContext-DA11Pj-T.js +0 -1
  407. package/dist/Dialog-QK8QCynd.js +0 -1
  408. package/dist/DialogClose-FDD28PO-.js +0 -1
  409. package/dist/DialogContent-Byun5a0z.js +0 -1
  410. package/dist/DialogContext-CDhPyhke.js +0 -1
  411. package/dist/DialogHeader-BCQi_6OK.js +0 -1
  412. package/dist/DialogKitContext-DDUZ0HwC.js +0 -1
  413. package/dist/DialogTrigger-zPrWWRMg.js +0 -1
  414. package/dist/DisclosureContent-fwxAK_Ck.js +0 -1
  415. package/dist/DisclosureTrigger-C3pYSoY2.js +0 -1
  416. package/dist/DropdownMenuContext-DJWkx3Ip.js +0 -1
  417. package/dist/DropdownMenuNestedContext-B2AJ-LQv.js +0 -1
  418. package/dist/DropdownMenuSubContext-CG_IijXt.js +0 -1
  419. package/dist/FieldContext-C2JRgpyg.js +0 -1
  420. package/dist/FilteredSlot-sdDDeJDG.js +0 -1
  421. package/dist/FocusBookmarkProviderContext-DQUQGKpn.js +0 -1
  422. package/dist/Heading-DKHqw2RC.js +0 -1
  423. package/dist/Icon-hDBhzU6C.js +0 -1
  424. package/dist/Input-DDYJbG2p.js +0 -1
  425. package/dist/InputContext-XTnzUTyk.js +0 -1
  426. package/dist/InputControl-ChJFJFOO.js +0 -1
  427. package/dist/InputControl.css.ts.vanilla-BCSTjllv-DuAKzRZz.js +0 -1
  428. package/dist/InputRoot-lUKc5c1s.js +0 -1
  429. package/dist/Link-BVBAKvS5.js +0 -1
  430. package/dist/Listbox-B2NhP4y3.js +0 -1
  431. package/dist/ListboxCheckboxItem-css-ptUxvQiE.js +0 -1
  432. package/dist/ListboxGroupContext-B5Bp8BxL.js +0 -1
  433. package/dist/ListboxItem-BaXHD6mV.js +0 -1
  434. package/dist/ListboxItemIndicator-oa0LOr1u.js +0 -1
  435. package/dist/ListboxItemized-BsEY3PkP.js +0 -1
  436. package/dist/ListboxLabel-BgFZ9nQW.js +0 -1
  437. package/dist/ListboxRadioItem-B1lfy3BZ.js +0 -1
  438. package/dist/ListboxSeparator-CBSPUWDH.js +0 -1
  439. package/dist/LocaleContext-CZYzLj98.js +0 -1
  440. package/dist/MaterialIcon-Dtz4TCWc.js +0 -3
  441. package/dist/MenuContent-BGmK_H-r.js +0 -1
  442. package/dist/MenuContext-vI87rebp.js +0 -1
  443. package/dist/ModalLayer-CwQe0bk9.js +0 -1
  444. package/dist/ModalListbox-Cywkx4ws.js +0 -9
  445. package/dist/NavGroupContext-B82TDw1C.js +0 -1
  446. package/dist/NavItem-Cp692wHr.js +0 -1
  447. package/dist/Pagination-CHRpLcn5.js +0 -1
  448. package/dist/PopoverContent--NdTm-oM.js +0 -1
  449. package/dist/Portal-iQZETiXt.js +0 -1
  450. package/dist/PortalContext-px39g5Ee.js +0 -1
  451. package/dist/RadioGroupContext-BhKv27cK.js +0 -1
  452. package/dist/SelectContent-CXyifIzA.js +0 -1
  453. package/dist/SelectContext-Czf-UnJq.js +0 -1
  454. package/dist/Separator-hdIEC5Sd.js +0 -1
  455. package/dist/SidebarContext-DmW8EDC0.js +0 -1
  456. package/dist/Skeleton-CBhQU_9j.js +0 -1
  457. package/dist/Spinner-BJmboi55.js +0 -1
  458. package/dist/SuggestionPopover-F5Jx5NbW.js +0 -1
  459. package/dist/Switch-B4AHMBIM.js +0 -1
  460. package/dist/Table-CR6NxDTe.js +0 -1
  461. package/dist/TableAction-B0s03FJL.js +0 -1
  462. package/dist/TableBody-XWzhG_pp.js +0 -1
  463. package/dist/TableCell-Dwub1BfS.js +0 -1
  464. package/dist/TableHeader-1vQtt1e3.js +0 -1
  465. package/dist/TableHeaderCell-oEt0FiLi.js +0 -1
  466. package/dist/TableRow-B2IVe9m1.js +0 -1
  467. package/dist/TableRow.css.ts.vanilla-vkZ1kptU-CA0sSUbt.js +0 -1
  468. package/dist/Text-Di0zSuay.js +0 -1
  469. package/dist/ThemeProvider-DQ8zrRnm.js +0 -14
  470. package/dist/ToastProvider-D_QHE_8x.js +0 -1
  471. package/dist/ToggleInputHiddenInput-CaTvF1or.js +0 -1
  472. package/dist/ToggleInputHiddenInput.css.ts.vanilla-D-kshq_d-ReawEPag.js +0 -1
  473. package/dist/TooltipContext-BEOseiEh.js +0 -1
  474. package/dist/TooltipProvider-BEZDGt8q.js +0 -1
  475. package/dist/TooltipTrigger-BtU7Nma8.js +0 -1
  476. package/dist/Transition-BUom71X9.js +0 -1
  477. package/dist/TransitionGroup-DYfAXTbX.js +0 -1
  478. package/dist/TransitionGroupContext-By-IXAaX.js +0 -1
  479. package/dist/context-VtSJnE1T.js +0 -1
  480. package/dist/dist-B62ZTFNA.js +0 -1
  481. package/dist/dist-BErk1pdF.js +0 -4
  482. package/dist/dist-BO9n3kVS.js +0 -1
  483. package/dist/dist-BP6uiCFd.js +0 -1
  484. package/dist/dist-BaSgABhN.js +0 -1
  485. package/dist/dist-BlariydR.js +0 -1
  486. package/dist/dist-BuPvQxfA.js +0 -1
  487. package/dist/dist-CHyzwbg8.js +0 -1
  488. package/dist/dist-CJSTC7er.js +0 -5
  489. package/dist/dist-CX-JY-CV.js +0 -1
  490. package/dist/dist-ClbNk4VU.js +0 -1
  491. package/dist/dist-DI6sImhV.js +0 -3
  492. package/dist/dist-DMk5UOim.js +0 -1
  493. package/dist/dist-Dyz-V9n6.js +0 -1
  494. package/dist/dist-LQ8KdNti.js +0 -1
  495. package/dist/dist-ywMInAGB.js +0 -1
  496. package/dist/fallbackSpan-CThGSmT4.js +0 -1
  497. package/dist/layers.css.ts.vanilla-BFWK0cT2-MfWogAlC.js +0 -1
  498. package/dist/modal-context-CNRZiS2y.js +0 -1
  499. package/dist/propTypes-BuGUXuUg.js +0 -1
  500. package/dist/useEvent-CYI6jbL9.js +0 -1
  501. package/dist/usePopoverScope-BoHvzOOg.js +0 -1
  502. package/dist/useResponsiveMatches-DJgFwVa-.js +0 -1
@@ -5,33 +5,30 @@ import { ComponentPropsWithoutRef, ReactNode } from "react";
5
5
  //#region src/components/Tooltip.d.ts
6
6
  export declare const Tooltip = "ax-tooltip";
7
7
  export type TooltipProps = {
8
- "fontFamily"?: "heading" | "mono" | "sans";
9
- "font-family"?: "heading" | "mono" | "sans";
10
- "fontSize"?: "2xl" | "3xl" | "4xl" | "inherit" | "lg" | "md" | "sm" | "xl" | "xs";
11
- "font-size"?: "2xl" | "3xl" | "4xl" | "inherit" | "lg" | "md" | "sm" | "xl" | "xs";
12
- "size"?: "3xl" | "lg" | "md" | "sm" | "xl" | "xs" | "0" | "1/2" | "1/3" | "1/4" | "10" | "12" | "16" | "2/3" | "20" | "224" | "24" | "2xs" | "3/4" | "32" | "384" | "40" | "48" | "56" | "64" | "80" | "auto" | "fit" | "full" | "max" | "min" | ResponsiveArray<"3xl" | "lg" | "md" | "sm" | "xl" | "xs" | "0" | "1/2" | "1/3" | "1/4" | "10" | "12" | "16" | "2/3" | "20" | "224" | "24" | "2xs" | "3/4" | "32" | "384" | "40" | "48" | "56" | "64" | "80" | "auto" | "fit" | "full" | "max" | "min"> | ResponsiveObject<"3xl" | "lg" | "md" | "sm" | "xl" | "xs" | "0" | "1/2" | "1/3" | "1/4" | "10" | "12" | "16" | "2/3" | "20" | "224" | "24" | "2xs" | "3/4" | "32" | "384" | "40" | "48" | "56" | "64" | "80" | "auto" | "fit" | "full" | "max" | "min">;
8
+ "size"?: "lg" | "md" | "sm" | "auto" | "0" | "xl" | "10" | "20" | "12" | "16" | "24" | "32" | "40" | "48" | "64" | "80" | "3xl" | "xs" | "full" | "1/2" | "1/3" | "1/4" | "2/3" | "224" | "2xs" | "3/4" | "384" | "56" | "fit" | "max" | "min" | ResponsiveArray<"lg" | "md" | "sm" | "auto" | "0" | "xl" | "10" | "20" | "12" | "16" | "24" | "32" | "40" | "48" | "64" | "80" | "3xl" | "xs" | "full" | "1/2" | "1/3" | "1/4" | "2/3" | "224" | "2xs" | "3/4" | "384" | "56" | "fit" | "max" | "min"> | ResponsiveObject<"lg" | "md" | "sm" | "auto" | "0" | "xl" | "10" | "20" | "12" | "16" | "24" | "32" | "40" | "48" | "64" | "80" | "3xl" | "xs" | "full" | "1/2" | "1/3" | "1/4" | "2/3" | "224" | "2xs" | "3/4" | "384" | "56" | "fit" | "max" | "min">;
9
+ "disabled"?: false | true;
13
10
  "animation"?: "ping" | "pulse" | "spin";
14
11
  "backgroundImage"?: "gradient.opal";
15
12
  "background-image"?: "gradient.opal";
16
13
  "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" | "current" | "transparent";
17
14
  "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" | "current" | "transparent";
18
15
  "color"?: "current" | "transparent" | "fg.accent" | "fg.accent.hovered" | "fg.accent.strong" | "fg.avatar.neutral" | "fg.avatar.purple" | "fg.black" | "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";
19
- "cursor"?: "default" | "pointer" | "text";
20
- "fontWeight"?: "inherit" | "400" | "500" | "600" | "700" | "900";
21
- "font-weight"?: "inherit" | "400" | "500" | "600" | "700" | "900";
16
+ "cursor"?: "text" | "default" | "pointer";
17
+ "fontFamily"?: "heading" | "mono" | "sans";
18
+ "font-family"?: "heading" | "mono" | "sans";
19
+ "fontWeight"?: "400" | "500" | "600" | "700" | "900" | "inherit";
20
+ "font-weight"?: "400" | "500" | "600" | "700" | "900" | "inherit";
22
21
  "objectFit"?: "contain" | "cover" | "fill" | "none";
23
22
  "object-fit"?: "contain" | "cover" | "fill" | "none";
24
23
  "overflowX"?: "hidden" | "auto" | "visible";
25
24
  "overflow-x"?: "hidden" | "auto" | "visible";
26
25
  "overflowY"?: "hidden" | "auto" | "visible";
27
26
  "overflow-y"?: "hidden" | "auto" | "visible";
28
- "pointerEvents"?: "auto" | "none";
29
- "pointer-events"?: "auto" | "none";
30
- "textAlign"?: "center" | "end" | "justify" | "start";
31
- "text-align"?: "center" | "end" | "justify" | "start";
27
+ "pointerEvents"?: "none" | "auto";
28
+ "pointer-events"?: "none" | "auto";
32
29
  "textTransform"?: "none" | "capitalize" | "uppercase";
33
30
  "text-transform"?: "none" | "capitalize" | "uppercase";
34
- "transition"?: "colors" | "none" | "all" | "opacity" | "transform";
31
+ "transition"?: "none" | "all" | "colors" | "opacity" | "transform";
35
32
  "whiteSpace"?: "nowrap";
36
33
  "white-space"?: "nowrap";
37
34
  "bg"?: "current" | "transparent" | "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.message.neutral" | "bg.overlay" | "bg.page" | "bg.pill.default" | "bg.pill.hovered" | "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";
@@ -44,35 +41,36 @@ export type TooltipProps = {
44
41
  "border-r"?: "0" | "1" | "2";
45
42
  "borderT"?: "0" | "1" | "2";
46
43
  "border-t"?: "0" | "1" | "2";
47
- "m"?: "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "2" | "4" | "6" | "8";
48
- "mx"?: "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "2" | "4" | "6" | "8";
49
- "my"?: "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "2" | "4" | "6" | "8";
50
- "mb"?: "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "2" | "4" | "6" | "8";
51
- "ml"?: "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "2" | "4" | "6" | "8";
52
- "mr"?: "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "2" | "4" | "6" | "8";
53
- "mt"?: "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "2" | "4" | "6" | "8";
54
44
  "overflow"?: "hidden" | "auto" | "visible";
55
- "p"?: "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "2" | "4" | "6" | "8";
56
- "px"?: "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "2" | "4" | "6" | "8";
57
- "py"?: "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "2" | "4" | "6" | "8";
58
- "pb"?: "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "2" | "4" | "6" | "8";
59
- "pl"?: "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "2" | "4" | "6" | "8";
60
- "pr"?: "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "2" | "4" | "6" | "8";
61
- "pt"?: "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "2" | "4" | "6" | "8";
62
- "rounded"?: "inherit" | "lg" | "md" | "sm" | "xl" | "xs" | "full" | "none";
63
- "shadow"?: "lg" | "md" | "sm" | "xl" | "none";
64
- "z"?: "0" | "10" | "20" | "auto" | "30" | "popover" | "toast" | "tooltip";
45
+ "shadow"?: "lg" | "md" | "sm" | "none" | "xl";
46
+ "z"?: "auto" | "0" | "10" | "20" | "30" | "popover" | "toast" | "tooltip";
47
+ "m"?: "auto" | "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80" | ResponsiveArray<"auto" | "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80"> | ResponsiveObject<"auto" | "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80">;
48
+ "mx"?: "auto" | "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80" | ResponsiveArray<"auto" | "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80"> | ResponsiveObject<"auto" | "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80">;
49
+ "my"?: "auto" | "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80" | ResponsiveArray<"auto" | "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80"> | ResponsiveObject<"auto" | "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80">;
50
+ "mb"?: "auto" | "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80" | ResponsiveArray<"auto" | "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80"> | ResponsiveObject<"auto" | "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80">;
51
+ "ml"?: "auto" | "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80" | ResponsiveArray<"auto" | "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80"> | ResponsiveObject<"auto" | "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80">;
52
+ "mr"?: "auto" | "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80" | ResponsiveArray<"auto" | "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80"> | ResponsiveObject<"auto" | "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80">;
53
+ "mt"?: "auto" | "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80" | ResponsiveArray<"auto" | "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80"> | ResponsiveObject<"auto" | "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80">;
54
+ "p"?: "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80" | ResponsiveArray<"0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80"> | ResponsiveObject<"0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80">;
55
+ "px"?: "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80" | ResponsiveArray<"0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80"> | ResponsiveObject<"0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80">;
56
+ "py"?: "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80" | ResponsiveArray<"0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80"> | ResponsiveObject<"0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80">;
57
+ "pb"?: "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80" | ResponsiveArray<"0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80"> | ResponsiveObject<"0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80">;
58
+ "pl"?: "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80" | ResponsiveArray<"0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80"> | ResponsiveObject<"0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80">;
59
+ "pr"?: "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80" | ResponsiveArray<"0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80"> | ResponsiveObject<"0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80">;
60
+ "pt"?: "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80" | ResponsiveArray<"0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80"> | ResponsiveObject<"0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80">;
65
61
  "alignItems"?: "center" | "end" | "start" | "normal" | "stretch" | ResponsiveArray<"center" | "end" | "start" | "normal" | "stretch"> | ResponsiveObject<"center" | "end" | "start" | "normal" | "stretch">;
66
62
  "align-items"?: "center" | "end" | "start" | "normal" | "stretch";
67
63
  "alignSelf"?: "center" | "end" | "start" | "normal" | "stretch" | ResponsiveArray<"center" | "end" | "start" | "normal" | "stretch"> | ResponsiveObject<"center" | "end" | "start" | "normal" | "stretch">;
68
64
  "align-self"?: "center" | "end" | "start" | "normal" | "stretch";
69
- "display"?: "flex" | "none" | "block" | "grid" | "inline" | "inline-block" | "inline-flex" | "table" | "table-cell" | "table-row" | ResponsiveArray<"flex" | "none" | "block" | "grid" | "inline" | "inline-block" | "inline-flex" | "table" | "table-cell" | "table-row"> | ResponsiveObject<"flex" | "none" | "block" | "grid" | "inline" | "inline-block" | "inline-flex" | "table" | "table-cell" | "table-row">;
70
- "flex"?: "auto" | "none" | "1" | "initial" | ResponsiveArray<"auto" | "none" | "1" | "initial"> | ResponsiveObject<"auto" | "none" | "1" | "initial">;
65
+ "display"?: "flex" | "table" | "none" | "block" | "grid" | "inline" | "inline-block" | "inline-flex" | "table-cell" | "table-row" | ResponsiveArray<"flex" | "table" | "none" | "block" | "grid" | "inline" | "inline-block" | "inline-flex" | "table-cell" | "table-row"> | ResponsiveObject<"flex" | "table" | "none" | "block" | "grid" | "inline" | "inline-block" | "inline-flex" | "table-cell" | "table-row">;
66
+ "flex"?: "none" | "auto" | "1" | "initial" | ResponsiveArray<"none" | "auto" | "1" | "initial"> | ResponsiveObject<"none" | "auto" | "1" | "initial">;
71
67
  "flexDirection"?: "column" | "column-reverse" | "row" | "row-reverse" | ResponsiveArray<"column" | "column-reverse" | "row" | "row-reverse"> | ResponsiveObject<"column" | "column-reverse" | "row" | "row-reverse">;
72
68
  "flex-direction"?: "column" | "column-reverse" | "row" | "row-reverse";
73
69
  "flexWrap"?: "nowrap" | "wrap" | ResponsiveArray<"nowrap" | "wrap"> | ResponsiveObject<"nowrap" | "wrap">;
74
70
  "flex-wrap"?: "nowrap" | "wrap";
75
- "gap"?: "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "2" | "4" | "6" | "8" | ResponsiveArray<"0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "2" | "4" | "6" | "8"> | ResponsiveObject<"0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "2" | "4" | "6" | "8">;
71
+ "fontSize"?: "lg" | "md" | "sm" | "inherit" | "xl" | "2xl" | "3xl" | "4xl" | "xs" | ResponsiveArray<"lg" | "md" | "sm" | "inherit" | "xl" | "2xl" | "3xl" | "4xl" | "xs"> | ResponsiveObject<"lg" | "md" | "sm" | "inherit" | "xl" | "2xl" | "3xl" | "4xl" | "xs">;
72
+ "font-size"?: "lg" | "md" | "sm" | "inherit" | "xl" | "2xl" | "3xl" | "4xl" | "xs";
73
+ "gap"?: "0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80" | ResponsiveArray<"0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80"> | ResponsiveObject<"0" | "2" | "10" | "20" | "12" | "16" | "24" | "32" | "4" | "40" | "48" | "6" | "64" | "8" | "80">;
76
74
  "gridAutoRows"?: "fr" | ResponsiveArray<"fr"> | ResponsiveObject<"fr">;
77
75
  "grid-auto-rows"?: "fr";
78
76
  "gridColumn"?: "1" | "2" | "4" | "3" | ResponsiveArray<"1" | "2" | "4" | "3"> | ResponsiveObject<"1" | "2" | "4" | "3">;
@@ -85,30 +83,34 @@ export type TooltipProps = {
85
83
  "justify-items"?: "center" | "end" | "start" | "normal" | "stretch";
86
84
  "placeItems"?: "center" | ResponsiveArray<"center"> | ResponsiveObject<"center">;
87
85
  "place-items"?: "center";
86
+ "textAlign"?: "center" | "end" | "start" | "justify" | ResponsiveArray<"center" | "end" | "start" | "justify"> | ResponsiveObject<"center" | "end" | "start" | "justify">;
87
+ "text-align"?: "center" | "end" | "start" | "justify";
88
88
  "maxH"?: "lg" | "md" | "sm" | "xs" | "full" | ResponsiveArray<"lg" | "md" | "sm" | "xs" | "full"> | ResponsiveObject<"lg" | "md" | "sm" | "xs" | "full">;
89
89
  "max-h"?: "lg" | "md" | "sm" | "xs" | "full";
90
90
  "maxW"?: "lg" | "md" | "sm" | "xs" | "full" | ResponsiveArray<"lg" | "md" | "sm" | "xs" | "full"> | ResponsiveObject<"lg" | "md" | "sm" | "xs" | "full">;
91
91
  "max-w"?: "lg" | "md" | "sm" | "xs" | "full";
92
- "h"?: "3xl" | "lg" | "md" | "sm" | "xl" | "xs" | "0" | "1/2" | "1/3" | "1/4" | "10" | "12" | "16" | "2/3" | "20" | "224" | "24" | "2xs" | "3/4" | "32" | "384" | "40" | "48" | "56" | "64" | "80" | "auto" | "fit" | "full" | "max" | "min" | ResponsiveArray<"3xl" | "lg" | "md" | "sm" | "xl" | "xs" | "0" | "1/2" | "1/3" | "1/4" | "10" | "12" | "16" | "2/3" | "20" | "224" | "24" | "2xs" | "3/4" | "32" | "384" | "40" | "48" | "56" | "64" | "80" | "auto" | "fit" | "full" | "max" | "min"> | ResponsiveObject<"3xl" | "lg" | "md" | "sm" | "xl" | "xs" | "0" | "1/2" | "1/3" | "1/4" | "10" | "12" | "16" | "2/3" | "20" | "224" | "24" | "2xs" | "3/4" | "32" | "384" | "40" | "48" | "56" | "64" | "80" | "auto" | "fit" | "full" | "max" | "min">;
93
- "w"?: "3xl" | "lg" | "md" | "sm" | "xl" | "xs" | "0" | "1/2" | "1/3" | "1/4" | "10" | "12" | "16" | "2/3" | "20" | "224" | "24" | "2xs" | "3/4" | "32" | "384" | "40" | "48" | "56" | "64" | "80" | "auto" | "fit" | "full" | "max" | "min" | ResponsiveArray<"3xl" | "lg" | "md" | "sm" | "xl" | "xs" | "0" | "1/2" | "1/3" | "1/4" | "10" | "12" | "16" | "2/3" | "20" | "224" | "24" | "2xs" | "3/4" | "32" | "384" | "40" | "48" | "56" | "64" | "80" | "auto" | "fit" | "full" | "max" | "min"> | ResponsiveObject<"3xl" | "lg" | "md" | "sm" | "xl" | "xs" | "0" | "1/2" | "1/3" | "1/4" | "10" | "12" | "16" | "2/3" | "20" | "224" | "24" | "2xs" | "3/4" | "32" | "384" | "40" | "48" | "56" | "64" | "80" | "auto" | "fit" | "full" | "max" | "min">;
92
+ "minW"?: "auto" | "0" | ResponsiveArray<"auto" | "0"> | ResponsiveObject<"auto" | "0">;
93
+ "min-w"?: "auto" | "0";
94
+ "rounded"?: "lg" | "md" | "sm" | "inherit" | "none" | "xl" | "xs" | "full" | ResponsiveArray<"lg" | "md" | "sm" | "inherit" | "none" | "xl" | "xs" | "full"> | ResponsiveObject<"lg" | "md" | "sm" | "inherit" | "none" | "xl" | "xs" | "full">;
95
+ "h"?: "lg" | "md" | "sm" | "auto" | "0" | "xl" | "10" | "20" | "12" | "16" | "24" | "32" | "40" | "48" | "64" | "80" | "3xl" | "xs" | "full" | "1/2" | "1/3" | "1/4" | "2/3" | "224" | "2xs" | "3/4" | "384" | "56" | "fit" | "max" | "min" | ResponsiveArray<"lg" | "md" | "sm" | "auto" | "0" | "xl" | "10" | "20" | "12" | "16" | "24" | "32" | "40" | "48" | "64" | "80" | "3xl" | "xs" | "full" | "1/2" | "1/3" | "1/4" | "2/3" | "224" | "2xs" | "3/4" | "384" | "56" | "fit" | "max" | "min"> | ResponsiveObject<"lg" | "md" | "sm" | "auto" | "0" | "xl" | "10" | "20" | "12" | "16" | "24" | "32" | "40" | "48" | "64" | "80" | "3xl" | "xs" | "full" | "1/2" | "1/3" | "1/4" | "2/3" | "224" | "2xs" | "3/4" | "384" | "56" | "fit" | "max" | "min">;
96
+ "w"?: "lg" | "md" | "sm" | "auto" | "0" | "xl" | "10" | "20" | "12" | "16" | "24" | "32" | "40" | "48" | "64" | "80" | "3xl" | "xs" | "full" | "1/2" | "1/3" | "1/4" | "2/3" | "224" | "2xs" | "3/4" | "384" | "56" | "fit" | "max" | "min" | ResponsiveArray<"lg" | "md" | "sm" | "auto" | "0" | "xl" | "10" | "20" | "12" | "16" | "24" | "32" | "40" | "48" | "64" | "80" | "3xl" | "xs" | "full" | "1/2" | "1/3" | "1/4" | "2/3" | "224" | "2xs" | "3/4" | "384" | "56" | "fit" | "max" | "min"> | ResponsiveObject<"lg" | "md" | "sm" | "auto" | "0" | "xl" | "10" | "20" | "12" | "16" | "24" | "32" | "40" | "48" | "64" | "80" | "3xl" | "xs" | "full" | "1/2" | "1/3" | "1/4" | "2/3" | "224" | "2xs" | "3/4" | "384" | "56" | "fit" | "max" | "min">;
94
97
  "className"?: string;
95
98
  "class-name"?: string;
96
99
  "content"?: string | number | false | true;
97
100
  "aria-label"?: string;
98
101
  "auto"?: false | true;
99
- "disabled"?: false | true;
100
102
  "onEscapeKeyDown"?: (event: KeyboardEvent) => void;
101
103
  "onPointerDownOutside"?: (event: PointerDownOutsideEvent) => void;
104
+ "delayDuration"?: number;
105
+ "delay-duration"?: number;
106
+ "disableHoverableContent"?: false | true;
107
+ "disable-hoverable-content"?: false | true;
102
108
  "defaultOpen"?: false | true;
103
109
  "default-open"?: false | true;
104
- "open"?: false | true;
105
110
  "onOpenChange"?: (open: boolean) => void;
111
+ "open"?: false | true;
106
112
  "side"?: "top" | "right" | "bottom" | "left";
107
113
  "align"?: "center" | "end" | "start";
108
- "delayDuration"?: number;
109
- "delay-duration"?: number;
110
- "disableHoverableContent"?: false | true;
111
- "disable-hoverable-content"?: false | true;
112
114
  };
113
115
  declare module "@stencil/core" {
114
116
  namespace JSX {
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{Fn as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../Tooltip-D_wABW5l.js";const i=`ax-tooltip`;var a=t(i,r,n,e);export{i as Tooltip,a as default};
1
+ import{n as e,t}from"../register-DIEtmS6C.js";import{Fn as n}from"../propTypes-DdfYJQko.js";import{t as r}from"../Tooltip-BueOdhgN.js";const i=`ax-tooltip`;var a=t(i,r,n,e);export{i as Tooltip,a as default};
@@ -10,10 +10,10 @@ export type TooltipContentProps = BoxProps & {
10
10
  "aria-label"?: string;
11
11
  "onEscapeKeyDown"?: (event: KeyboardEvent) => void;
12
12
  "onPointerDownOutside"?: (event: PointerDownOutsideEvent) => void;
13
- "side"?: "top" | "right" | "bottom" | "left";
14
- "align"?: "center" | "end" | "start";
15
13
  "disableHoverableContent"?: false | true;
16
14
  "disable-hoverable-content"?: false | true;
15
+ "side"?: "top" | "right" | "bottom" | "left";
16
+ "align"?: "center" | "end" | "start";
17
17
  };
18
18
  declare module "@stencil/core" {
19
19
  namespace JSX {
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{Pn as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../TooltipContent-CdpjiL7v.js";const i=`ax-tooltip-content`;var a=t(i,r,n,e);export{i as TooltipContent,a as default};
1
+ import{n as e,t}from"../register-DIEtmS6C.js";import{Pn as n}from"../propTypes-DdfYJQko.js";import{t as r}from"../TooltipContent-Dm-a9N5i.js";const i=`ax-tooltip-content`;var a=t(i,r,n,e);export{i as TooltipContent,a as default};
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{In as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../TooltipProvider-BEZDGt8q.js";const i=`ax-tooltip-provider`;var a=t(i,r,n,e);export{i as TooltipProvider,a as default};
1
+ import{n as e,t}from"../register-DIEtmS6C.js";import{In as n}from"../propTypes-DdfYJQko.js";import{t as r}from"../TooltipProvider-B--57Giz.js";const i=`ax-tooltip-provider`;var a=t(i,r,n,e);export{i as TooltipProvider,a as default};
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{Ln as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../TooltipRoot-CrvcCbUO.js";const i=`ax-tooltip-root`;var a=t(i,r,n,e);export{i as TooltipRoot,a as default};
1
+ import{n as e,t}from"../register-DIEtmS6C.js";import{Ln as n}from"../propTypes-DdfYJQko.js";import{t as r}from"../TooltipRoot-DjtYCDLo.js";const i=`ax-tooltip-root`;var a=t(i,r,n,e);export{i as TooltipRoot,a as default};
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{Rn as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../TooltipTrigger-BtU7Nma8.js";const i=`ax-tooltip-trigger`;var a=t(i,r,n,e);export{i as TooltipTrigger,a as default};
1
+ import{n as e,t}from"../register-DIEtmS6C.js";import{Rn as n}from"../propTypes-DdfYJQko.js";import{t as r}from"../TooltipTrigger-DvDOhxCj.js";const i=`ax-tooltip-trigger`;var a=t(i,r,n,e);export{i as TooltipTrigger,a as default};
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{Bn as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../Transition-BUom71X9.js";const i=`ax-transition`;var a=t(i,r,n,e);export{i as Transition,a as default};
1
+ import{n as e,t}from"../register-DIEtmS6C.js";import{Bn as n}from"../propTypes-DdfYJQko.js";import{t as r}from"../Transition-B_hTOymo.js";const i=`ax-transition`;var a=t(i,r,n,e);export{i as Transition,a as default};
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{zn as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../TransitionGroup-DYfAXTbX.js";const i=`ax-transition-group`;var a=t(i,r,n,e);export{i as TransitionGroup,a as default};
1
+ import{n as e,t}from"../register-DIEtmS6C.js";import{zn as n}from"../propTypes-DdfYJQko.js";import{t as r}from"../TransitionGroup-BkKDcvXN.js";const i=`ax-transition-group`;var a=t(i,r,n,e);export{i as TransitionGroup,a as default};
@@ -0,0 +1 @@
1
+ import{d as e,w as t}from"./register-DIEtmS6C.js";e();const n=t(void 0),r=t(void 0);export{r as n,n as t};
@@ -1 +1 @@
1
- import{d as e,f as t,u as n}from"./register-Cw2o7_6I.js";e();const r=({asChild:e,children:i},a)=>{if(e){let e=n(i)?i:null;return e?t(e,void 0,r({...e.props,asChild:e.props.asChild||typeof e.type!=`string`&&`displayName`in e.type&&typeof e.type.displayName==`string`&&e.type.displayName?.endsWith(`.Slot`)},a)):i}return a(i)};export{r as t};
1
+ import{d as e,f as t,u as n}from"./register-DIEtmS6C.js";e();const r=({asChild:e,children:i},a)=>{if(e){let e=n(i)?i:null;return e?t(e,void 0,r({...e.props,asChild:e.props.asChild||typeof e.type!=`string`&&`displayName`in e.type&&typeof e.type.displayName==`string`&&e.type.displayName?.endsWith(`.Slot`)},a)):i}return a(i)};export{r as t};
@@ -1 +1 @@
1
- import{a as e,d as t,r as n}from"./register-Cw2o7_6I.js";import{t as r}from"./dist-CHyzwbg8.js";import{t as i}from"./dist-B6QtTKmw.js";import{t as a}from"./dist-BErk1pdF.js";t();var o=`Toggle`,s=e((e,t)=>{let{pressed:s,defaultPressed:c,onPressedChange:l,...u}=e,[d,f]=r({prop:s,onChange:l,defaultProp:c??!1,caller:o});return/* @__PURE__ */ n(a.button,{type:`button`,"aria-pressed":d,"data-state":d?`on`:`off`,"data-disabled":e.disabled?``:void 0,...u,ref:t,onClick:i(e.onClick,()=>{e.disabled||f(!d)})})});s.displayName=o;var c=s;export{s as n,c as t};
1
+ import{a as e,d as t,r as n}from"./register-DIEtmS6C.js";import{t as r}from"./dist-KT7hNKRW.js";import{t as i}from"./dist-B6QtTKmw.js";import{t as a}from"./dist-BRMPlbf8.js";t();var o=`Toggle`,s=e((e,t)=>{let{pressed:s,defaultPressed:c,onPressedChange:l,...u}=e,[d,f]=r({prop:s,onChange:l,defaultProp:c??!1,caller:o});return/* @__PURE__ */ n(a.button,{type:`button`,"aria-pressed":d,"data-state":d?`on`:`off`,"data-disabled":e.disabled?``:void 0,...u,ref:t,onClick:i(e.onClick,()=>{e.disabled||f(!d)})})});s.displayName=o;var c=s;export{s as n,c as t};
@@ -0,0 +1 @@
1
+ import{_ as e,a as t,d as n,p as r,r as i,v as a,w as o,x as s}from"./register-DIEtmS6C.js";import{n as c}from"./dist-BaRz2Web.js";import{t as l}from"./dist-B6QtTKmw.js";import{n as u,t as d}from"./dist-BRMPlbf8.js";import{t as f}from"./dist-BiRQLdok.js";n();function p(e,t=globalThis?.document){let n=f(e);a(()=>{let e=e=>{e.key===`Escape`&&n(e)};return t.addEventListener(`keydown`,e,{capture:!0}),()=>t.removeEventListener(`keydown`,e,{capture:!0})},[n,t])}n();var m=`DismissableLayer`,h=`dismissableLayer.update`,g=`dismissableLayer.pointerDownOutside`,_=`dismissableLayer.focusOutside`,v,y=o({layers:/* @__PURE__ */ new Set,layersWithOutsidePointerEventsDisabled:/* @__PURE__ */ new Set,branches:/* @__PURE__ */ new Set}),b=t((t,n)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:u,onFocusOutside:f,onInteractOutside:m,onDismiss:g,..._}=t,b=s(y),[x,S]=e(null),E=x?.ownerDocument??globalThis?.document,[,D]=e({}),O=c(n,e=>S(e)),k=Array.from(b.layers),[A]=[...b.layersWithOutsidePointerEventsDisabled].slice(-1),j=k.indexOf(A),M=x?k.indexOf(x):-1,N=b.layersWithOutsidePointerEventsDisabled.size>0,P=M>=j,F=C(e=>{let t=e.target,n=[...b.branches].some(e=>e.contains(t));P&&!n&&(u?.(e),m?.(e),e.defaultPrevented||g?.())},E),I=w(e=>{let t=e.target;[...b.branches].some(e=>e.contains(t))||(f?.(e),m?.(e),e.defaultPrevented||g?.())},E);return p(e=>{M===b.layers.size-1&&(o?.(e),!e.defaultPrevented&&g&&(e.preventDefault(),g()))},E),a(()=>{if(x)return r&&(b.layersWithOutsidePointerEventsDisabled.size===0&&(v=E.body.style.pointerEvents,E.body.style.pointerEvents=`none`),b.layersWithOutsidePointerEventsDisabled.add(x)),b.layers.add(x),T(),()=>{r&&b.layersWithOutsidePointerEventsDisabled.size===1&&(E.body.style.pointerEvents=v)}},[x,E,r,b]),a(()=>()=>{x&&(b.layers.delete(x),b.layersWithOutsidePointerEventsDisabled.delete(x),T())},[x,b]),a(()=>{let e=()=>D({});return document.addEventListener(h,e),()=>document.removeEventListener(h,e)},[]),/* @__PURE__ */ i(d.div,{..._,ref:O,style:{pointerEvents:N?P?`auto`:`none`:void 0,...t.style},onFocusCapture:l(t.onFocusCapture,I.onFocusCapture),onBlurCapture:l(t.onBlurCapture,I.onBlurCapture),onPointerDownCapture:l(t.onPointerDownCapture,F.onPointerDownCapture)})});b.displayName=m;var x=`DismissableLayerBranch`,S=t((e,t)=>{let n=s(y),o=r(null),l=c(t,o);return a(()=>{let e=o.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),/* @__PURE__ */ i(d.div,{...e,ref:l})});S.displayName=x;function C(e,t=globalThis?.document){let n=f(e),i=r(!1),o=r(()=>{});return a(()=>{let e=e=>{if(e.target&&!i.current){let r=function(){E(g,n,i,{discrete:!0})},i={originalEvent:e};e.pointerType===`touch`?(t.removeEventListener(`click`,o.current),o.current=r,t.addEventListener(`click`,o.current,{once:!0})):r()}else t.removeEventListener(`click`,o.current);i.current=!1},r=window.setTimeout(()=>{t.addEventListener(`pointerdown`,e)},0);return()=>{window.clearTimeout(r),t.removeEventListener(`pointerdown`,e),t.removeEventListener(`click`,o.current)}},[t,n]),{onPointerDownCapture:()=>i.current=!0}}function w(e,t=globalThis?.document){let n=f(e),i=r(!1);return a(()=>{let e=e=>{e.target&&!i.current&&E(_,n,{originalEvent:e},{discrete:!1})};return t.addEventListener(`focusin`,e),()=>t.removeEventListener(`focusin`,e)},[t,n]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function T(){let e=new CustomEvent(h);document.dispatchEvent(e)}function E(e,t,n,{discrete:r}){let i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?u(i,a):i.dispatchEvent(a)}var D=b,O=S;export{b as n,D as r,O as t};
@@ -0,0 +1 @@
1
+ import{_ as e,a as t,b as n,d as r,p as i,r as a,v as o,w as s,x as c}from"./register-DIEtmS6C.js";import{n as l}from"./dist-BaRz2Web.js";import{n as u}from"./dist-JANeZ5Sr.js";import{t as d}from"./dist-KT7hNKRW.js";import{t as f}from"./dist-CYHoVmOS.js";import{t as p}from"./dist-B6QtTKmw.js";import{t as m}from"./dist-BRMPlbf8.js";import{t as h}from"./dist-BiRQLdok.js";import{t as g}from"./dist-CiViYOHj.js";r();var _=s(void 0);function v(e){let t=c(_);return e||t||`ltr`}r();var y=`rovingFocusGroup.onEntryFocus`,b={bubbles:!1,cancelable:!0},x=`RovingFocusGroup`,[S,C,w]=g(x),[T,E]=u(x,[w]),[D,O]=T(x),k=t((e,t)=>/* @__PURE__ */ a(S.Provider,{scope:e.__scopeRovingFocusGroup,children:/* @__PURE__ */ a(S.Slot,{scope:e.__scopeRovingFocusGroup,children:/* @__PURE__ */ a(A,{...e,ref:t})})}));k.displayName=x;var A=t((t,r)=>{let{__scopeRovingFocusGroup:s,orientation:c,loop:u=!1,dir:f,currentTabStopId:g,defaultCurrentTabStopId:_,onCurrentTabStopIdChange:S,onEntryFocus:w,preventScrollOnEntryFocus:T=!1,...E}=t,O=i(null),k=l(r,O),A=v(f),[j,M]=d({prop:g,defaultProp:_??null,onChange:S,caller:x}),[N,P]=e(!1),F=h(w),L=C(s),R=i(!1),[z,B]=e(0);return o(()=>{let e=O.current;if(e)return e.addEventListener(y,F),()=>e.removeEventListener(y,F)},[F]),/* @__PURE__ */ a(D,{scope:s,orientation:c,dir:A,loop:u,currentTabStopId:j,onItemFocus:n(e=>M(e),[M]),onItemShiftTab:n(()=>P(!0),[]),onFocusableItemAdd:n(()=>B(e=>e+1),[]),onFocusableItemRemove:n(()=>B(e=>e-1),[]),children:/* @__PURE__ */ a(m.div,{tabIndex:N||z===0?-1:0,"data-orientation":c,...E,ref:k,style:{outline:`none`,...t.style},onMouseDown:p(t.onMouseDown,()=>{R.current=!0}),onFocus:p(t.onFocus,e=>{let t=!R.current;if(e.target===e.currentTarget&&t&&!N){let t=new CustomEvent(y,b);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=L().filter(e=>e.focusable);I([e.find(e=>e.active),e.find(e=>e.id===j),...e].filter(Boolean).map(e=>e.ref.current),T)}}R.current=!1}),onBlur:p(t.onBlur,()=>P(!1))})})}),j=`RovingFocusGroupItem`,M=t((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:s,children:c,...l}=e,u=f(),d=s||u,h=O(j,n),g=h.currentTabStopId===d,_=C(n),{onFocusableItemAdd:v,onFocusableItemRemove:y,currentTabStopId:b}=h;return o(()=>{if(r)return v(),()=>y()},[r,v,y]),/* @__PURE__ */ a(S.ItemSlot,{scope:n,id:d,focusable:r,active:i,children:/* @__PURE__ */ a(m.span,{tabIndex:g?0:-1,"data-orientation":h.orientation,...l,ref:t,onMouseDown:p(e.onMouseDown,e=>{r?h.onItemFocus(d):e.preventDefault()}),onFocus:p(e.onFocus,()=>h.onItemFocus(d)),onKeyDown:p(e.onKeyDown,e=>{if(e.key===`Tab`&&e.shiftKey){h.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=F(e,h.orientation,h.dir);if(t!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=_().filter(e=>e.focusable).map(e=>e.ref.current);if(t===`last`)n.reverse();else if(t===`prev`||t===`next`){t===`prev`&&n.reverse();let r=n.indexOf(e.currentTarget);n=h.loop?L(n,r+1):n.slice(r+1)}setTimeout(()=>I(n))}}),children:typeof c==`function`?c({isCurrentTabStop:g,hasTabStop:b!=null}):c})})});M.displayName=j;var N={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function P(e,t){return t===`rtl`?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}function F(e,t,n){let r=P(e.key,n);if(!(t===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(r)))return N[r]}function I(e,t=!1){let n=(()=>{let e=document.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e})();for(let r of e)if(r===n||(r.focus({preventScroll:t}),(()=>{let e=document.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e})()!==n))return}function L(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var R=k,z=M;export{v as i,R as n,E as r,z as t};
@@ -0,0 +1,4 @@
1
+ import{C as e,T as t,a as n,d as r,f as i,o as a,r as o,s,u as c}from"./register-DIEtmS6C.js";import{t as l}from"./dist-BaRz2Web.js";r(),t();// @__NO_SIDE_EFFECTS__
2
+ function u(e){let t=/* @__PURE__ */ d(e),r=n((e,n)=>{let{children:r,...s}=e,l=a.toArray(r),u=l.find(m);if(u){let e=u.props.children,r=l.map(t=>t===u?a.count(e)>1?a.only(null):c(e)?e.props.children:null:t);return/* @__PURE__ */ o(t,{...s,ref:n,children:c(e)?i(e,void 0,r):null})}return/* @__PURE__ */ o(t,{...s,ref:n,children:r})});return r.displayName=`${e}.Slot`,r}// @__NO_SIDE_EFFECTS__
3
+ function d(t){let r=n((t,n)=>{let{children:r,...o}=t;if(c(r)){let t=g(r),a=h(o,r.props);return r.type!==e&&(a.ref=n?l(n,t):t),i(r,a)}return a.count(r)>1?a.only(null):null});return r.displayName=`${t}.SlotClone`,r}var f=Symbol(`radix.slottable`);// @__NO_SIDE_EFFECTS__
4
+ function p(t){let n=({children:t})=>/* @__PURE__ */ o(e,{children:t});return n.displayName=`${t}.Slottable`,n.__radixId=f,n}function m(e){return c(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===f}function h(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function g(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}r();var _=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let r=/* @__PURE__ */ u(`Primitive.${t}`),i=n((e,n)=>{let{asChild:i,...a}=e,s=i?r:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),/* @__PURE__ */ o(s,{...a,ref:n})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function v(e,t){e&&s(()=>e.dispatchEvent(t))}export{p as i,v as n,u as r,_ as t};
@@ -0,0 +1 @@
1
+ import{S as e,_ as t,b as n,d as r,f as i,o as a,p as o,v as s}from"./register-DIEtmS6C.js";import{n as c}from"./dist-BaRz2Web.js";import{t as l}from"./dist-DIbXSpE2.js";r();function u(t,n){return e((e,t)=>n[e][t]??e,t)}var d=e=>{let{present:t,children:n}=e,r=f(t),o=typeof n==`function`?n({present:r.isPresent}):a.only(n),s=c(r.ref,m(o));return typeof n==`function`||r.isPresent?i(o,{ref:s}):null};d.displayName=`Presence`;function f(e){let[r,i]=t(),a=o(null),c=o(e),d=o(`none`),[f,m]=u(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return s(()=>{let e=p(a.current);d.current=f===`mounted`?e:`none`},[f]),l(()=>{let t=a.current,n=c.current;if(n!==e){let r=d.current,i=p(t);e?m(`MOUNT`):i===`none`||t?.display===`none`?m(`UNMOUNT`):m(n&&r!==i?`ANIMATION_OUT`:`UNMOUNT`),c.current=e}},[e,m]),l(()=>{if(r){let e,t=r.ownerDocument.defaultView??window,n=n=>{let i=p(a.current).includes(CSS.escape(n.animationName));if(n.target===r&&i&&(m(`ANIMATION_END`),!c.current)){let n=r.style.animationFillMode;r.style.animationFillMode=`forwards`,e=t.setTimeout(()=>{r.style.animationFillMode===`forwards`&&(r.style.animationFillMode=n)})}},i=e=>{e.target===r&&(d.current=p(a.current))};return r.addEventListener(`animationstart`,i),r.addEventListener(`animationcancel`,n),r.addEventListener(`animationend`,n),()=>{t.clearTimeout(e),r.removeEventListener(`animationstart`,i),r.removeEventListener(`animationcancel`,n),r.removeEventListener(`animationend`,n)}}m(`ANIMATION_END`)},[r,m]),{isPresent:[`mounted`,`unmountSuspended`].includes(f),ref:n(e=>{a.current=e?getComputedStyle(e):null,i(e)},[])}}function p(e){return e?.animationName||`none`}function m(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}export{d as t};
@@ -1 +1 @@
1
- import{d as e,x as t}from"./register-Cw2o7_6I.js";e();function n(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function r(...e){return t=>{let r=!1,i=e.map(e=>{let i=n(e,t);return!r&&typeof i==`function`&&(r=!0),i});if(r)return()=>{for(let t=0;t<i.length;t++){let r=i[t];typeof r==`function`?r():n(e[t],null)}}}}function i(...e){return t(r(...e),e)}export{i as n,r as t};
1
+ import{b as e,d as t}from"./register-DIEtmS6C.js";t();function n(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function r(...e){return t=>{let r=!1,i=e.map(e=>{let i=n(e,t);return!r&&typeof i==`function`&&(r=!0),i});if(r)return()=>{for(let t=0;t<i.length;t++){let r=i[t];typeof r==`function`?r():n(e[t],null)}}}}function i(...t){return e(r(...t),t)}export{i as n,r as t};
@@ -0,0 +1 @@
1
+ import{a as e,d as t,f as n}from"./register-DIEtmS6C.js";t();const r=e((e,t)=>n(e.children,{ref:t}));r.displayName=`Portal`;export{r as t};
@@ -0,0 +1 @@
1
+ import{d as e,h as t,p as n,v as r}from"./register-DIEtmS6C.js";e();function i(e){let i=n(e);return r(()=>{i.current=e}),t(()=>(...e)=>i.current?.(...e),[])}export{i as t};
@@ -1 +1 @@
1
- import{a as e,d as t,r as n}from"./register-Cw2o7_6I.js";import{t as r}from"./dist-BErk1pdF.js";t();var i=Object.freeze({position:`absolute`,border:0,width:1,height:1,padding:0,margin:-1,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,wordWrap:`normal`}),a=`VisuallyHidden`,o=e((e,t)=>/* @__PURE__ */ n(r.span,{...e,ref:t,style:{...i,...e.style}}));o.displayName=a;var s=o;export{o as n,s as t};
1
+ import{a as e,d as t,r as n}from"./register-DIEtmS6C.js";import{t as r}from"./dist-BRMPlbf8.js";t();var i=Object.freeze({position:`absolute`,border:0,width:1,height:1,padding:0,margin:-1,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,wordWrap:`normal`}),a=`VisuallyHidden`,o=e((e,t)=>/* @__PURE__ */ n(r.span,{...e,ref:t,style:{...i,...e.style}}));o.displayName=a;var s=o;export{o as n,s as t};
@@ -1 +1 @@
1
- import{a as e,d as t,r as n}from"./register-Cw2o7_6I.js";import{t as r}from"./dist-BErk1pdF.js";t();var i=`Label`,a=e((e,t)=>/* @__PURE__ */ n(r.label,{...e,ref:t,onMouseDown:t=>{t.target.closest(`button, input, select, textarea`)||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));a.displayName=i;var o=a;export{o as n,a as t};
1
+ import{a as e,d as t,r as n}from"./register-DIEtmS6C.js";import{t as r}from"./dist-BRMPlbf8.js";t();var i=`Label`,a=e((e,t)=>/* @__PURE__ */ n(r.label,{...e,ref:t,onMouseDown:t=>{t.target.closest(`button, input, select, textarea`)||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));a.displayName=i;var o=a;export{o as n,a as t};
@@ -0,0 +1 @@
1
+ import{_ as e,c as t,d as n}from"./register-DIEtmS6C.js";import{t as r}from"./dist-DIbXSpE2.js";n();var i=t.useId||(()=>void 0),a=0;function o(t){let[n,o]=e(i());return r(()=>{t||o(e=>e??String(a++))},[t]),t||(n?`radix-${n}`:``)}export{o as t};
@@ -1 +1 @@
1
- import{d as e,l as t,r as n}from"./register-Cw2o7_6I.js";import{n as r}from"./dist-9M8M6YRc.js";import{n as i}from"./dist-ywMInAGB.js";import{r as a}from"./dist-BErk1pdF.js";e();function o(e){let o=e+`CollectionProvider`,[s,c]=i(o),[l,u]=s(o,{collectionRef:{current:null},itemMap:/* @__PURE__ */ new Map}),d=e=>{let{scope:r,children:i}=e,a=t.useRef(null),o=t.useRef(/* @__PURE__ */ new Map).current;return/* @__PURE__ */ n(l,{scope:r,itemMap:o,collectionRef:a,children:i})};d.displayName=o;let f=e+`CollectionSlot`,p=a(f),m=t.forwardRef((e,t)=>{let{scope:i,children:a}=e,o=u(f,i),s=r(t,o.collectionRef);return/* @__PURE__ */ n(p,{ref:s,children:a})});m.displayName=f;let h=e+`CollectionItemSlot`,g=`data-radix-collection-item`,_=a(h),v=t.forwardRef((e,i)=>{let{scope:a,children:o,...s}=e,c=t.useRef(null),l=r(i,c),d=u(h,a);return t.useLayoutEffect(()=>(d.itemMap.set(c,{ref:c,...s}),()=>void d.itemMap.delete(c))),/* @__PURE__ */ n(_,{[g]:``,ref:l,children:o})});v.displayName=h;function y(n){let r=u(e+`CollectionConsumer`,n);return t.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(((e,t)=>{let n=e.querySelectorAll(`slot`),r=[...e.querySelectorAll(t)];for(let e of n)for(let n of e.assignedElements())r.push(...(n.shadowRoot??n).querySelectorAll(t));return r})(e,`[${g}]`));return Array.from(r.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[r.collectionRef,r.itemMap])}return[{Provider:d,Slot:m,ItemSlot:v},y,c]}export{o as t};
1
+ import{d as e,l as t,r as n}from"./register-DIEtmS6C.js";import{n as r}from"./dist-BaRz2Web.js";import{n as i}from"./dist-JANeZ5Sr.js";import{r as a}from"./dist-BRMPlbf8.js";e();function o(e){let o=e+`CollectionProvider`,[s,c]=i(o),[l,u]=s(o,{collectionRef:{current:null},itemMap:/* @__PURE__ */ new Map}),d=e=>{let{scope:r,children:i}=e,a=t.useRef(null),o=t.useRef(/* @__PURE__ */ new Map).current;return/* @__PURE__ */ n(l,{scope:r,itemMap:o,collectionRef:a,children:i})};d.displayName=o;let f=e+`CollectionSlot`,p=a(f),m=t.forwardRef((e,t)=>{let{scope:i,children:a}=e,o=u(f,i),s=r(t,o.collectionRef);return/* @__PURE__ */ n(p,{ref:s,children:a})});m.displayName=f;let h=e+`CollectionItemSlot`,g=`data-radix-collection-item`,_=a(h),v=t.forwardRef((e,i)=>{let{scope:a,children:o,...s}=e,c=t.useRef(null),l=r(i,c),d=u(h,a);return t.useLayoutEffect(()=>(d.itemMap.set(c,{ref:c,...s}),()=>void d.itemMap.delete(c))),/* @__PURE__ */ n(_,{[g]:``,ref:l,children:o})});v.displayName=h;function y(n){let r=u(e+`CollectionConsumer`,n);return t.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(((e,t)=>{let n=e.querySelectorAll(`slot`),r=[...e.querySelectorAll(t)];for(let e of n)for(let n of e.assignedElements())r.push(...(n.shadowRoot??n).querySelectorAll(t));return r})(e,`[${g}]`));return Array.from(r.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[r.collectionRef,r.itemMap])}return[{Provider:d,Slot:m,ItemSlot:v},y,c]}export{o as t};
@@ -0,0 +1 @@
1
+ import{_ as e,a as t,b as n,d as r,p as i,r as a,v as o}from"./register-DIEtmS6C.js";import{n as s}from"./dist-BaRz2Web.js";import{n as c,t as l}from"./dist-JANeZ5Sr.js";import{t as u}from"./dist-DIbXSpE2.js";import{t as d}from"./dist-KT7hNKRW.js";import{t as f}from"./dist-CYHoVmOS.js";import{t as p}from"./dist-B6QtTKmw.js";import{t as m}from"./dist-BRMPlbf8.js";import{t as h}from"./dist-B_BnEAY6.js";const[g,_]=l(`@optiaxiom/react/Disclosure`);r();var v=`Collapsible`,[y,b]=c(v),[x,S]=y(v),C=t((e,t)=>{let{__scopeCollapsible:r,open:i,defaultOpen:o,disabled:s,onOpenChange:c,...l}=e,[u,p]=d({prop:i,defaultProp:o??!1,onChange:c,caller:v});return/* @__PURE__ */ a(x,{scope:r,disabled:s,contentId:f(),open:u,onOpenToggle:n(()=>p(e=>!e),[p]),children:/* @__PURE__ */ a(m.div,{"data-state":k(u),"data-disabled":s?``:void 0,...l,ref:t})})});C.displayName=v;var w=`CollapsibleTrigger`,T=t((e,t)=>{let{__scopeCollapsible:n,...r}=e,i=S(w,n);return/* @__PURE__ */ a(m.button,{type:`button`,"aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":k(i.open),"data-disabled":i.disabled?``:void 0,disabled:i.disabled,...r,ref:t,onClick:p(e.onClick,i.onOpenToggle)})});T.displayName=w;var E=`CollapsibleContent`,D=t((e,t)=>{let{forceMount:n,...r}=e,i=S(E,e.__scopeCollapsible);return/* @__PURE__ */ a(h,{present:n||i.open,children:({present:e})=>/* @__PURE__ */ a(O,{...r,ref:t,present:e})})});D.displayName=E;var O=t((t,n)=>{let{__scopeCollapsible:r,present:c,children:l,...d}=t,f=S(E,r),[p,h]=e(c),g=i(null),_=s(n,g),v=i(0),y=v.current,b=i(0),x=b.current,C=f.open||p,w=i(C),T=i(void 0);return o(()=>{let e=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(e)},[]),u(()=>{let e=g.current;if(e){T.current=T.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration=`0s`,e.style.animationName=`none`;let t=e.getBoundingClientRect();v.current=t.height,b.current=t.width,w.current||(e.style.transitionDuration=T.current.transitionDuration,e.style.animationName=T.current.animationName),h(c)}},[f.open,c]),/* @__PURE__ */ a(m.div,{"data-state":k(f.open),"data-disabled":f.disabled?``:void 0,id:f.contentId,hidden:!C,...d,ref:_,style:{"--radix-collapsible-content-height":y?`${y}px`:void 0,"--radix-collapsible-content-width":x?`${x}px`:void 0,...t.style},children:C&&l})});function k(e){return e?`open`:`closed`}var A=C,j=T,M=D;export{_ as a,g as i,A as n,j as r,M as t};
@@ -0,0 +1 @@
1
+ import{C as e,_ as t,a as n,b as r,d as i,p as a,r as o,v as s}from"./register-DIEtmS6C.js";import{n as c,t as l}from"./dist-BaRz2Web.js";import{n as u}from"./dist-JANeZ5Sr.js";import{t as d}from"./dist-KT7hNKRW.js";import{t as f}from"./dist-CYHoVmOS.js";import{t as p}from"./dist-B6QtTKmw.js";import{n as m,r as h,t as g}from"./dist-BRMPlbf8.js";import{t as _}from"./dist-BiRQLdok.js";import{n as v}from"./dist-BE01MIvm.js";import{i as ee,r as te,t as ne}from"./Combination-QgdM4Ih0.js";import"./dist-BaqUvTgd.js";import{t as y}from"./dist-B_BnEAY6.js";import{t as re}from"./es2015-DQ3krs0F.js";import{t as ie}from"./dist-CiViYOHj.js";import{c as ae,n as b,r as oe,s as x,t as se}from"./dist-DJYr597e.js";import{i as S,n as ce,r as C,t as le}from"./dist-BKRHlLR8.js";i();var w=[`Enter`,` `],ue=[`ArrowDown`,`PageUp`,`Home`],de=[`ArrowUp`,`PageDown`,`End`],fe=[...ue,...de],T={ltr:[...w,`ArrowRight`],rtl:[...w,`ArrowLeft`]},E={ltr:[`ArrowLeft`],rtl:[`ArrowRight`]},D=`Menu`,[O,pe,k]=ie(D),[A,j]=u(D,[k,ae,C]),M=ae(),me=C(),[N,P]=A(D),[F,I]=A(D),L=e=>{let{__scopeMenu:n,open:i=!1,children:c,dir:l,onOpenChange:u,modal:d=!0}=e,f=M(n),[p,m]=t(null),h=a(!1),g=_(u),v=S(l);return s(()=>{let e=()=>{h.current=!0,document.addEventListener(`pointerdown`,t,{capture:!0,once:!0}),document.addEventListener(`pointermove`,t,{capture:!0,once:!0})},t=()=>h.current=!1;return document.addEventListener(`keydown`,e,{capture:!0}),()=>{document.removeEventListener(`keydown`,e,{capture:!0}),document.removeEventListener(`pointerdown`,t,{capture:!0}),document.removeEventListener(`pointermove`,t,{capture:!0})}},[]),/* @__PURE__ */ o(x,{...f,children:/* @__PURE__ */ o(N,{scope:n,open:i,onOpenChange:g,content:p,onContentChange:m,children:/* @__PURE__ */ o(F,{scope:n,onClose:r(()=>g(!1),[g]),isUsingKeyboardRef:h,dir:v,modal:d,children:c})})})};L.displayName=D;var he=`MenuAnchor`,R=n((e,t)=>{let{__scopeMenu:n,...r}=e,i=M(n);return/* @__PURE__ */ o(se,{...i,...r,ref:t})});R.displayName=he;var[z,ge]=A(`MenuPortal`,{forceMount:void 0}),B=`MenuContent`,[_e,V]=A(B),ve=n((e,t)=>{let n=ge(B,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=P(B,e.__scopeMenu),s=I(B,e.__scopeMenu);return/* @__PURE__ */ o(O.Provider,{scope:e.__scopeMenu,children:/* @__PURE__ */ o(y,{present:r||a.open,children:/* @__PURE__ */ o(O.Slot,{scope:e.__scopeMenu,children:s.modal?/* @__PURE__ */ o(ye,{...i,ref:t}):/* @__PURE__ */ o(be,{...i,ref:t})})})})}),ye=n((e,t)=>{let n=P(B,e.__scopeMenu),r=a(null),i=c(t,r);return s(()=>{let e=r.current;if(e)return re(e)},[]),/* @__PURE__ */ o(H,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:p(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),be=n((e,t)=>{let n=P(B,e.__scopeMenu);return/* @__PURE__ */ o(H,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),xe=h(`MenuContent.ScrollLock`),H=n((n,i)=>{let{__scopeMenu:l,loop:u=!1,trapFocus:d,onOpenAutoFocus:f,onCloseAutoFocus:m,disableOutsidePointerEvents:h,onEntryFocus:g,onEscapeKeyDown:_,onPointerDownOutside:y,onFocusOutside:re,onInteractOutside:ie,onDismiss:ae,disableOutsideScroll:b,...x}=n,se=P(B,l),S=I(B,l),C=M(l),le=me(l),w=pe(l),[ue,T]=t(null),E=a(null),D=c(i,E,se.onContentChange),O=a(0),k=a(``),A=a(0),j=a(null),N=a(`right`),F=a(0),L=b?ne:e,he=b?{as:xe,allowPinchZoom:!0}:void 0,R=e=>{let t=k.current+e,n=w().filter(e=>!e.disabled),r=(()=>{let e=document.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e})(),i=n.find(e=>e.ref.current===r)?.textValue,a=Ze(n.map(e=>e.textValue),t,i),o=n.find(e=>e.textValue===a)?.ref.current;(function e(t){k.current=t,window.clearTimeout(O.current),t!==``&&(O.current=window.setTimeout(()=>e(``),1e3))})(t),o&&setTimeout(()=>o.focus())};s(()=>()=>window.clearTimeout(O.current),[]),te();let z=r(e=>N.current===j.current?.side&&$e(e,j.current?.area),[]);return/* @__PURE__ */ o(_e,{scope:l,searchRef:k,onItemEnter:r(e=>{z(e)&&e.preventDefault()},[z]),onItemLeave:r(e=>{z(e)||(E.current?.focus(),T(null))},[z]),onTriggerLeave:r(e=>{z(e)&&e.preventDefault()},[z]),pointerGraceTimerRef:A,onPointerGraceIntentChange:r(e=>{j.current=e},[]),children:/* @__PURE__ */ o(L,{...he,children:/* @__PURE__ */ o(ee,{asChild:!0,trapped:d,onMountAutoFocus:p(f,e=>{e.preventDefault(),E.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:m,children:/* @__PURE__ */ o(v,{asChild:!0,disableOutsidePointerEvents:h,onEscapeKeyDown:_,onPointerDownOutside:y,onFocusOutside:re,onInteractOutside:ie,onDismiss:ae,children:/* @__PURE__ */ o(ce,{asChild:!0,...le,dir:S.dir,orientation:`vertical`,loop:u,currentTabStopId:ue,onCurrentTabStopIdChange:T,onEntryFocus:p(g,e=>{S.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:/* @__PURE__ */ o(oe,{role:`menu`,"aria-orientation":`vertical`,"data-state":Je(se.open),"data-radix-menu-content":``,dir:S.dir,...C,...x,ref:D,style:{outline:`none`,...x.style},onKeyDown:p(x.onKeyDown,e=>{let t=e.target.closest(`[data-radix-menu-content]`)===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=e.key.length===1;t&&(e.key===`Tab`&&e.preventDefault(),!n&&r&&R(e.key));let i=E.current;if(e.target!==i||!fe.includes(e.key))return;e.preventDefault();let a=w().filter(e=>!e.disabled).map(e=>e.ref.current);de.includes(e.key)&&a.reverse(),Ye(a)}),onBlur:p(n.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(O.current),k.current=``)}),onPointerMove:p(n.onPointerMove,Z(e=>{let t=e.target,n=F.current!==e.clientX;if(e.currentTarget.contains(t)&&n){let t=e.clientX>F.current?`right`:`left`;N.current=t,F.current=e.clientX}}))})})})})})})});ve.displayName=B;var Se=`MenuGroup`,U=n((e,t)=>{let{__scopeMenu:n,...r}=e;return/* @__PURE__ */ o(g.div,{role:`group`,...r,ref:t})});U.displayName=Se;var Ce=`MenuLabel`,we=n((e,t)=>{let{__scopeMenu:n,...r}=e;return/* @__PURE__ */ o(g.div,{...r,ref:t})});we.displayName=Ce;var W=`MenuItem`,Te=`menu.itemSelect`,G=n((e,t)=>{let{disabled:n=!1,onSelect:r,...i}=e,s=a(null),l=I(W,e.__scopeMenu),u=V(W,e.__scopeMenu),d=c(t,s),f=a(!1),h=()=>{let e=s.current;if(!n&&e){let t=new CustomEvent(Te,{bubbles:!0,cancelable:!0});e.addEventListener(Te,e=>r?.(e),{once:!0}),m(e,t),t.defaultPrevented?f.current=!1:l.onClose()}};return/* @__PURE__ */ o(Ee,{...i,ref:d,disabled:n,onClick:p(e.onClick,h),onPointerDown:t=>{e.onPointerDown?.(t),f.current=!0},onPointerUp:p(e.onPointerUp,e=>{f.current||e.currentTarget?.click()}),onKeyDown:p(e.onKeyDown,e=>{let t=u.searchRef.current!==``;n||t&&e.key===` `||w.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});G.displayName=W;var Ee=n((e,n)=>{let{__scopeMenu:r,disabled:i=!1,textValue:l,...u}=e,d=V(W,r),f=me(r),m=a(null),h=c(n,m),[_,v]=t(!1),[ee,te]=t(``);return s(()=>{let e=m.current;e&&te((e.textContent??``).trim())},[u.children]),/* @__PURE__ */ o(O.ItemSlot,{scope:r,disabled:i,textValue:l??ee,children:/* @__PURE__ */ o(le,{asChild:!0,...f,focusable:!i,children:/* @__PURE__ */ o(g.div,{role:`menuitem`,"data-highlighted":_?``:void 0,"aria-disabled":i||void 0,"data-disabled":i?``:void 0,...u,ref:h,onPointerMove:p(e.onPointerMove,Z(e=>{i?d.onItemLeave(e):(d.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:p(e.onPointerLeave,Z(e=>d.onItemLeave(e))),onFocus:p(e.onFocus,()=>v(!0)),onBlur:p(e.onBlur,()=>v(!1))})})})}),De=`MenuCheckboxItem`,Oe=n((e,t)=>{let{checked:n=!1,onCheckedChange:r,...i}=e;return/* @__PURE__ */ o(Fe,{scope:e.__scopeMenu,checked:n,children:/* @__PURE__ */ o(G,{role:`menuitemcheckbox`,"aria-checked":Y(n)?`mixed`:n,...i,ref:t,"data-state":X(n),onSelect:p(i.onSelect,()=>r?.(Y(n)?!0:!n),{checkForDefaultPrevented:!1})})})});Oe.displayName=De;var ke=`MenuRadioGroup`,[Ae,je]=A(ke,{value:void 0,onValueChange:()=>{}}),Me=n((e,t)=>{let{value:n,onValueChange:r,...i}=e,a=_(r);return/* @__PURE__ */ o(Ae,{scope:e.__scopeMenu,value:n,onValueChange:a,children:/* @__PURE__ */ o(U,{...i,ref:t})})});Me.displayName=ke;var Ne=`MenuRadioItem`,Pe=n((e,t)=>{let{value:n,...r}=e,i=je(Ne,e.__scopeMenu),a=n===i.value;return/* @__PURE__ */ o(Fe,{scope:e.__scopeMenu,checked:a,children:/* @__PURE__ */ o(G,{role:`menuitemradio`,"aria-checked":a,...r,ref:t,"data-state":X(a),onSelect:p(r.onSelect,()=>i.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});Pe.displayName=Ne;var K=`MenuItemIndicator`,[Fe,Ie]=A(K,{checked:!1}),Le=n((e,t)=>{let{__scopeMenu:n,forceMount:r,...i}=e,a=Ie(K,n);return/* @__PURE__ */ o(y,{present:r||Y(a.checked)||a.checked===!0,children:/* @__PURE__ */ o(g.span,{...i,ref:t,"data-state":X(a.checked)})})});Le.displayName=K;var Re=`MenuSeparator`,ze=n((e,t)=>{let{__scopeMenu:n,...r}=e;return/* @__PURE__ */ o(g.div,{role:`separator`,"aria-orientation":`horizontal`,...r,ref:t})});ze.displayName=Re;var Be=`MenuArrow`,Ve=n((e,t)=>{let{__scopeMenu:n,...r}=e,i=M(n);return/* @__PURE__ */ o(b,{...i,...r,ref:t})});Ve.displayName=Be;var q=`MenuSub`,[He,Ue]=A(q),We=e=>{let{__scopeMenu:n,children:r,open:i=!1,onOpenChange:a}=e,c=P(q,n),l=M(n),[u,d]=t(null),[p,m]=t(null),h=_(a);return s(()=>(c.open===!1&&h(!1),()=>h(!1)),[c.open,h]),/* @__PURE__ */ o(x,{...l,children:/* @__PURE__ */ o(N,{scope:n,open:i,onOpenChange:h,content:p,onContentChange:m,children:/* @__PURE__ */ o(He,{scope:n,contentId:f(),triggerId:f(),trigger:u,onTriggerChange:d,children:r})})})};We.displayName=q;var J=`MenuSubTrigger`,Ge=n((e,t)=>{let n=P(J,e.__scopeMenu),i=I(J,e.__scopeMenu),c=Ue(J,e.__scopeMenu),u=V(J,e.__scopeMenu),d=a(null),{pointerGraceTimerRef:f,onPointerGraceIntentChange:m}=u,h={__scopeMenu:e.__scopeMenu},g=r(()=>{d.current&&window.clearTimeout(d.current),d.current=null},[]);return s(()=>g,[g]),s(()=>{let e=f.current;return()=>{window.clearTimeout(e),m(null)}},[f,m]),/* @__PURE__ */ o(R,{asChild:!0,...h,children:/* @__PURE__ */ o(Ee,{id:c.triggerId,"aria-haspopup":`menu`,"aria-expanded":n.open,"aria-controls":c.contentId,"data-state":Je(n.open),...e,ref:l(t,c.onTriggerChange),onClick:t=>{e.onClick?.(t),!(e.disabled||t.defaultPrevented)&&(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:p(e.onPointerMove,Z(t=>{u.onItemEnter(t),!t.defaultPrevented&&!e.disabled&&!n.open&&!d.current&&(u.onPointerGraceIntentChange(null),d.current=window.setTimeout(()=>{n.onOpenChange(!0),g()},100))})),onPointerLeave:p(e.onPointerLeave,Z(e=>{g();let t=n.content?.getBoundingClientRect();if(t){let r=n.content?.dataset.side,i=r===`right`,a=i?-5:5,o=t[i?`left`:`right`],s=t[i?`right`:`left`];u.onPointerGraceIntentChange({area:[{x:e.clientX+a,y:e.clientY},{x:o,y:t.top},{x:s,y:t.top},{x:s,y:t.bottom},{x:o,y:t.bottom}],side:r}),window.clearTimeout(f.current),f.current=window.setTimeout(()=>u.onPointerGraceIntentChange(null),300)}else{if(u.onTriggerLeave(e),e.defaultPrevented)return;u.onPointerGraceIntentChange(null)}})),onKeyDown:p(e.onKeyDown,t=>{let r=u.searchRef.current!==``;e.disabled||r&&t.key===` `||T[i.dir].includes(t.key)&&(n.onOpenChange(!0),n.content?.focus(),t.preventDefault())})})})});Ge.displayName=J;var Ke=`MenuSubContent`,qe=n((e,t)=>{let n=ge(B,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,s=P(B,e.__scopeMenu),l=I(B,e.__scopeMenu),u=Ue(Ke,e.__scopeMenu),d=a(null),f=c(t,d);return/* @__PURE__ */ o(O.Provider,{scope:e.__scopeMenu,children:/* @__PURE__ */ o(y,{present:r||s.open,children:/* @__PURE__ */ o(O.Slot,{scope:e.__scopeMenu,children:/* @__PURE__ */ o(H,{id:u.contentId,"aria-labelledby":u.triggerId,...i,ref:f,align:`start`,side:l.dir===`rtl`?`left`:`right`,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{l.isUsingKeyboardRef.current&&d.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:p(e.onFocusOutside,e=>{e.target!==u.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:p(e.onEscapeKeyDown,e=>{l.onClose(),e.preventDefault()}),onKeyDown:p(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=E[l.dir].includes(e.key);t&&n&&(s.onOpenChange(!1),u.trigger?.focus(),e.preventDefault())})})})})})});qe.displayName=Ke;function Je(e){return e?`open`:`closed`}function Y(e){return e===`indeterminate`}function X(e){return Y(e)?`indeterminate`:e?`checked`:`unchecked`}function Ye(e){let t=(()=>{let e=document.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e})();for(let n of e)if(n===t||(n.focus(),(()=>{let e=document.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e})()!==t))return}function Xe(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function Ze(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=Xe(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}function Qe(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e],s=t[a],c=o.x,l=o.y,u=s.x,d=s.y;l>r!=d>r&&n<(u-c)*(r-l)/(d-l)+c&&(i=!i)}return i}function $e(e,t){return t?Qe({x:e.clientX,y:e.clientY},t):!1}function Z(e){return t=>t.pointerType===`mouse`?e(t):void 0}var et=L,tt=R,nt=ve,rt=U,it=we,at=G,ot=Oe,st=Me,ct=Pe,lt=Le,ut=ze,dt=Ve,ft=We,pt=Ge,mt=qe;i();var Q=`DropdownMenu`,[ht,gt]=u(Q,[j]),$=j(),[_t,vt]=ht(Q),yt=e=>{let{__scopeDropdownMenu:t,children:n,dir:i,open:s,defaultOpen:c,onOpenChange:l,modal:u=!0}=e,p=$(t),m=a(null),[h,g]=d({prop:s,defaultProp:c??!1,onChange:l,caller:Q});return/* @__PURE__ */ o(_t,{scope:t,triggerId:f(),triggerRef:m,contentId:f(),open:h,onOpenChange:g,onOpenToggle:r(()=>g(e=>!e),[g]),modal:u,children:/* @__PURE__ */ o(et,{...p,open:h,onOpenChange:g,dir:i,modal:u,children:n})})};yt.displayName=Q;var bt=`DropdownMenuTrigger`,xt=n((e,t)=>{let{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,a=vt(bt,n),s=$(n);return/* @__PURE__ */ o(tt,{asChild:!0,...s,children:/* @__PURE__ */ o(g.button,{type:`button`,id:a.triggerId,"aria-haspopup":`menu`,"aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?`open`:`closed`,"data-disabled":r?``:void 0,disabled:r,...i,ref:l(t,a.triggerRef),onPointerDown:p(e.onPointerDown,e=>{!r&&e.button===0&&e.ctrlKey===!1&&(a.onOpenToggle(),a.open||e.preventDefault())}),onKeyDown:p(e.onKeyDown,e=>{r||([`Enter`,` `].includes(e.key)&&a.onOpenToggle(),e.key===`ArrowDown`&&a.onOpenChange(!0),[`Enter`,` `,`ArrowDown`].includes(e.key)&&e.preventDefault())})})})});xt.displayName=bt;var St=`DropdownMenuContent`,Ct=n((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=vt(St,n),s=$(n),c=a(!1);return/* @__PURE__ */ o(nt,{id:i.contentId,"aria-labelledby":i.triggerId,...s,...r,ref:t,onCloseAutoFocus:p(e.onCloseAutoFocus,e=>{c.current||i.triggerRef.current?.focus(),c.current=!1,e.preventDefault()}),onInteractOutside:p(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0,r=t.button===2||n;(!i.modal||r)&&(c.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-dropdown-menu-content-available-width":`var(--radix-popper-available-width)`,"--radix-dropdown-menu-content-available-height":`var(--radix-popper-available-height)`,"--radix-dropdown-menu-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-dropdown-menu-trigger-height":`var(--radix-popper-anchor-height)`}})});Ct.displayName=St;var wt=`DropdownMenuGroup`,Tt=n((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=$(n);return/* @__PURE__ */ o(rt,{...i,...r,ref:t})});Tt.displayName=wt;var Et=`DropdownMenuLabel`,Dt=n((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=$(n);return/* @__PURE__ */ o(it,{...i,...r,ref:t})});Dt.displayName=Et;var Ot=`DropdownMenuItem`,kt=n((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=$(n);return/* @__PURE__ */ o(at,{...i,...r,ref:t})});kt.displayName=Ot;var At=`DropdownMenuCheckboxItem`,jt=n((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=$(n);return/* @__PURE__ */ o(ot,{...i,...r,ref:t})});jt.displayName=At;var Mt=`DropdownMenuRadioGroup`,Nt=n((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=$(n);return/* @__PURE__ */ o(st,{...i,...r,ref:t})});Nt.displayName=Mt;var Pt=`DropdownMenuRadioItem`,Ft=n((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=$(n);return/* @__PURE__ */ o(ct,{...i,...r,ref:t})});Ft.displayName=Pt;var It=`DropdownMenuItemIndicator`,Lt=n((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=$(n);return/* @__PURE__ */ o(lt,{...i,...r,ref:t})});Lt.displayName=It;var Rt=`DropdownMenuSeparator`,zt=n((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=$(n);return/* @__PURE__ */ o(ut,{...i,...r,ref:t})});zt.displayName=Rt;var Bt=`DropdownMenuArrow`,Vt=n((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=$(n);return/* @__PURE__ */ o(dt,{...i,...r,ref:t})});Vt.displayName=Bt;var Ht=e=>{let{__scopeDropdownMenu:t,children:n,open:r,onOpenChange:i,defaultOpen:a}=e,s=$(t),[c,l]=d({prop:r,defaultProp:a??!1,onChange:i,caller:`DropdownMenuSub`});return/* @__PURE__ */ o(ft,{...s,open:c,onOpenChange:l,children:n})},Ut=`DropdownMenuSubTrigger`,Wt=n((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=$(n);return/* @__PURE__ */ o(pt,{...i,...r,ref:t})});Wt.displayName=Ut;var Gt=`DropdownMenuSubContent`,Kt=n((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=$(n);return/* @__PURE__ */ o(mt,{...i,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-dropdown-menu-content-available-width":`var(--radix-popper-available-width)`,"--radix-dropdown-menu-content-available-height":`var(--radix-popper-available-height)`,"--radix-dropdown-menu-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-dropdown-menu-trigger-height":`var(--radix-popper-anchor-height)`}})});Kt.displayName=Gt;var qt=yt,Jt=xt,Yt=Ct,Xt=Tt,Zt=Dt,Qt=kt,$t=jt,en=zt,tn=Ht,nn=Kt;export{Zt as a,tn as c,Qt as i,nn as l,Yt as n,qt as o,Xt as r,en as s,$t as t,Jt as u};
@@ -0,0 +1 @@
1
+ import{a as e,d as t,p as n,r,v as i}from"./register-DIEtmS6C.js";import{n as a}from"./dist-JANeZ5Sr.js";import{t as o}from"./dist-KT7hNKRW.js";import{t as s}from"./dist-CYHoVmOS.js";import{t as c}from"./dist-B6QtTKmw.js";import{t as l}from"./dist-BRMPlbf8.js";import{t as u}from"./dist-B_BnEAY6.js";import{i as d,n as f,r as p,t as m}from"./dist-BKRHlLR8.js";t();var h=`Tabs`,[g,_]=a(h,[p]),v=p(),[y,b]=g(h),x=e((e,t)=>{let{__scopeTabs:n,value:i,onValueChange:a,defaultValue:c,orientation:u=`horizontal`,dir:f,activationMode:p=`automatic`,...m}=e,g=d(f),[_,v]=o({prop:i,onChange:a,defaultProp:c??``,caller:h});return/* @__PURE__ */ r(y,{scope:n,baseId:s(),value:_,onValueChange:v,orientation:u,dir:g,activationMode:p,children:/* @__PURE__ */ r(l.div,{dir:g,"data-orientation":u,...m,ref:t})})});x.displayName=h;var S=`TabsList`,C=e((e,t)=>{let{__scopeTabs:n,loop:i=!0,...a}=e,o=b(S,n),s=v(n);return/* @__PURE__ */ r(f,{asChild:!0,...s,orientation:o.orientation,dir:o.dir,loop:i,children:/* @__PURE__ */ r(l.div,{role:`tablist`,"aria-orientation":o.orientation,...a,ref:t})})});C.displayName=S;var w=`TabsTrigger`,T=e((e,t)=>{let{__scopeTabs:n,value:i,disabled:a=!1,...o}=e,s=b(w,n),u=v(n),d=O(s.baseId,i),f=k(s.baseId,i),p=i===s.value;return/* @__PURE__ */ r(m,{asChild:!0,...u,focusable:!a,active:p,children:/* @__PURE__ */ r(l.button,{type:`button`,role:`tab`,"aria-selected":p,"aria-controls":f,"data-state":p?`active`:`inactive`,"data-disabled":a?``:void 0,disabled:a,id:d,...o,ref:t,onMouseDown:c(e.onMouseDown,e=>{!a&&e.button===0&&e.ctrlKey===!1?s.onValueChange(i):e.preventDefault()}),onKeyDown:c(e.onKeyDown,e=>{[` `,`Enter`].includes(e.key)&&s.onValueChange(i)}),onFocus:c(e.onFocus,()=>{let e=s.activationMode!==`manual`;!p&&!a&&e&&s.onValueChange(i)})})})});T.displayName=w;var E=`TabsContent`,D=e((e,t)=>{let{__scopeTabs:a,value:o,forceMount:s,children:c,...d}=e,f=b(E,a),p=O(f.baseId,o),m=k(f.baseId,o),h=o===f.value,g=n(h);return i(()=>{let e=requestAnimationFrame(()=>g.current=!1);return()=>cancelAnimationFrame(e)},[]),/* @__PURE__ */ r(u,{present:s||h,children:({present:n})=>/* @__PURE__ */ r(l.div,{"data-state":h?`active`:`inactive`,"data-orientation":f.orientation,role:`tabpanel`,"aria-labelledby":p,hidden:!n,id:m,tabIndex:0,...d,ref:t,style:{...e.style,animationDuration:g.current?`0s`:void 0},children:n&&c})})});D.displayName=E;function O(e,t){return`${e}-trigger-${t}`}function k(e,t){return`${e}-content-${t}`}var A=x,j=C,M=T;export{M as i,A as n,D as r,j as t};
@@ -0,0 +1 @@
1
+ import{d as e,g as t}from"./register-DIEtmS6C.js";e();var n=globalThis?.document?t:()=>{};export{n as t};
@@ -0,0 +1 @@
1
+ import{_ as e,a as t,b as n,d as r,g as i,h as a,p as o,r as s,s as c,v as l}from"./register-DIEtmS6C.js";import{n as u}from"./dist-BaRz2Web.js";import{n as d}from"./dist-JANeZ5Sr.js";import{t as f}from"./dist-DIbXSpE2.js";import{t as p}from"./dist-BRMPlbf8.js";import{t as m}from"./dist-BiRQLdok.js";r();const h=[`top`,`right`,`bottom`,`left`],g=Math.min,_=Math.max,v=Math.round,y=Math.floor,b=e=>({x:e,y:e}),x={left:`right`,right:`left`,bottom:`top`,top:`bottom`},S={start:`end`,end:`start`};function C(e,t,n){return _(e,g(t,n))}function w(e,t){return typeof e==`function`?e(t):e}function T(e){return e.split(`-`)[0]}function E(e){return e.split(`-`)[1]}function D(e){return e===`x`?`y`:`x`}function O(e){return e===`y`?`height`:`width`}function k(e){return[`top`,`bottom`].includes(T(e))?`y`:`x`}function A(e){return D(k(e))}function j(e,t,n){n===void 0&&(n=!1);let r=E(e),i=A(e),a=O(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=I(o)),[o,I(o)]}function M(e){let t=I(e);return[N(e),t,N(t)]}function N(e){return e.replace(/start|end/g,e=>S[e])}function P(e,t,n){let r=[`left`,`right`],i=[`right`,`left`],a=[`top`,`bottom`],o=[`bottom`,`top`];switch(e){case`top`:case`bottom`:return n?t?i:r:t?r:i;case`left`:case`right`:return t?a:o;default:return[]}}function F(e,t,n,r){let i=E(e),a=P(T(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(N)))),a}function I(e){return e.replace(/left|right|bottom|top/g,e=>x[e])}function L(e){return{top:0,right:0,bottom:0,left:0,...e}}function R(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:L(e)}function z(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function B(e,t,n){let{reference:r,floating:i}=e,a=k(t),o=A(t),s=O(o),c=T(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(E(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1)}return p}const ee=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=a.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=B(l,r,c),f=r,p={},m=0;for(let n=0;n<s.length;n++){let{name:a,fn:h}=s[n],{x:g,y:_,data:v,reset:y}=await h({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:p,rects:l,platform:o,elements:{reference:e,floating:t}});u=g??u,d=_??d,p={...p,[a]:{...p[a],...v}},y&&m<=50&&(m++,typeof y==`object`&&(y.placement&&(f=y.placement),y.rects&&(l=y.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):y.rects),{x:u,y:d}=B(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:p}};async function V(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=w(t,e),p=R(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=z(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=z(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}const te=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=w(e,t)||{};if(l==null)return{};let d=R(u),f={x:n,y:r},p=A(i),m=O(p),h=await o.getDimensions(l),_=p===`y`,v=_?`top`:`left`,y=_?`bottom`:`right`,b=_?`clientHeight`:`clientWidth`,x=a.reference[m]+a.reference[p]-f[p]-a.floating[m],S=f[p]-a.reference[p],T=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),D=T?T[b]:0;(!D||!await(o.isElement==null?void 0:o.isElement(T)))&&(D=s.floating[b]||a.floating[m]);let k=x/2-S/2,j=D/2-h[m]/2-1,M=g(d[v],j),N=g(d[y],j),P=M,F=D-h[m]-N,I=D/2-h[m]/2+k,L=C(P,I,F),z=!c.arrow&&E(i)!=null&&I!==L&&a.reference[m]/2-(I<P?M:N)-h[m]/2<0,B=z?I<P?I-P:I-F:0;return{[p]:f[p]+B,data:{[p]:L,centerOffset:I-L-B,...z&&{alignmentOffset:B}},reset:z}}}),ne=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=w(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=T(r),_=k(o),v=T(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[I(o)]:M(o)),x=p!==`none`;!d&&x&&b.push(...F(o,m,p,y));let S=[o,...b],C=await V(t,h),E=[],D=i.flip?.overflows||[];if(l&&E.push(C[g]),u){let e=j(r,a,y);E.push(C[e[0]],C[e[1]])}if(D=[...D,{placement:r,overflows:E}],!E.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t){let n=u===`alignment`&&_!==k(t),r=D[0]?.overflows[0]>0;if(!n||r)return{data:{index:e,overflows:D},reset:{placement:t}}}let n=D.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=D.filter(e=>{if(x){let t=k(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o}if(r!==n)return{reset:{placement:n}}}return{}}}};function re(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ie(e){return h.some(t=>e[t]>=0)}const ae=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n}=t,{strategy:r=`referenceHidden`,...i}=w(e,t);switch(r){case`referenceHidden`:{let e=re(await V(t,{...i,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:ie(e)}}}case`escaped`:{let e=re(await V(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:ie(e)}}}default:return{}}}}};async function oe(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=T(n),s=E(n),c=k(n)===`y`,l=[`left`,`top`].includes(o)?-1:1,u=a&&c?-1:1,d=w(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}const se=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await oe(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},ce=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=w(e,t),l={x:n,y:r},u=await V(t,c),d=k(T(i)),f=D(d),p=l[f],m=l[d];if(a){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=p+u[e],r=p-u[t];p=C(n,p,r)}if(o){let e=d===`y`?`top`:`left`,t=d===`y`?`bottom`:`right`,n=m+u[e],r=m-u[t];m=C(n,m,r)}let h=s.fn({...t,[f]:p,[d]:m});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[f]:a,[d]:o}}}}}},le=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=w(e,t),u={x:n,y:r},d=k(i),f=D(d),p=u[f],m=u[d],h=w(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=[`top`,`left`].includes(T(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},ue=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=w(e,t),u=await V(t,l),d=T(i),f=E(i),p=k(i)===`y`,{width:m,height:h}=a.floating,v,y;d===`top`||d===`bottom`?(v=d,y=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(y=d,v=f===`end`?`top`:`bottom`);let b=h-u.top-u.bottom,x=m-u.left-u.right,S=g(h-u[v],b),C=g(m-u[y],x),D=!t.middlewareData.shift,O=S,A=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(A=x),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(O=b),D&&!f){let e=_(u.left,0),t=_(u.right,0),n=_(u.top,0),r=_(u.bottom,0);p?A=m-2*(e!==0||t!==0?e+t:_(u.left,u.right)):O=h-2*(n!==0||r!==0?n+r:_(u.top,u.bottom))}await c({...t,availableWidth:A,availableHeight:O});let j=await o.getDimensions(s.floating);return m!==j.width||h!==j.height?{reset:{rects:!0}}:{}}}};function de(){return typeof window<`u`}function H(e){return fe(e)?(e.nodeName||``).toLowerCase():`#document`}function U(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function W(e){return((fe(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function fe(e){return de()?e instanceof Node||e instanceof U(e).Node:!1}function G(e){return de()?e instanceof Element||e instanceof U(e).Element:!1}function K(e){return de()?e instanceof HTMLElement||e instanceof U(e).HTMLElement:!1}function pe(e){return!de()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof U(e).ShadowRoot}function q(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=Y(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&![`inline`,`contents`].includes(i)}function me(e){return[`table`,`td`,`th`].includes(H(e))}function he(e){return[`:popover-open`,`:modal`].some(t=>{try{return e.matches(t)}catch{return!1}})}function ge(e){let t=ve(),n=G(e)?Y(e):e;return[`transform`,`translate`,`scale`,`rotate`,`perspective`].some(e=>n[e]?n[e]!==`none`:!1)||(n.containerType?n.containerType!==`normal`:!1)||!t&&(n.backdropFilter?n.backdropFilter!==`none`:!1)||!t&&(n.filter?n.filter!==`none`:!1)||[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`].some(e=>(n.willChange||``).includes(e))||[`paint`,`layout`,`strict`,`content`].some(e=>(n.contain||``).includes(e))}function _e(e){let t=X(e);for(;K(t)&&!J(t);){if(ge(t))return t;if(he(t))return null;t=X(t)}return null}function ve(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}function J(e){return[`html`,`body`,`#document`].includes(H(e))}function Y(e){return U(e).getComputedStyle(e)}function ye(e){return G(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function X(e){if(H(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||pe(e)&&e.host||W(e);return pe(t)?t.host:t}function be(e){let t=X(e);return J(t)?e.ownerDocument?e.ownerDocument.body:e.body:K(t)&&q(t)?t:be(t)}function Z(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=be(e),i=r===e.ownerDocument?.body,a=U(r);if(i){let e=xe(a);return t.concat(a,a.visualViewport||[],q(r)?r:[],e&&n?Z(e):[])}return t.concat(r,Z(r,[],n))}function xe(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Se(e){let t=Y(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=K(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=v(n)!==a||v(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function Ce(e){return G(e)?e:e.contextElement}function Q(e){let t=Ce(e);if(!K(t))return b(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Se(t),o=(a?v(n.width):n.width)/r,s=(a?v(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}const we=/*#__PURE__*/ b(0);function Te(e){let t=U(e);return!ve()||!t.visualViewport?we:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ee(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==U(e)?!1:t}function $(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=Ce(e),o=b(1);t&&(r?G(r)&&(o=Q(r)):o=Q(e));let s=Ee(a,n,r)?Te(a):b(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=U(a),t=r&&G(r)?U(r):r,n=e,i=xe(n);for(;i&&r&&t!==n;){let e=Q(i),t=i.getBoundingClientRect(),r=Y(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=U(i),i=xe(n)}}return z({width:u,height:d,x:c,y:l})}function De(e,t){let n=ye(e).scrollLeft;return t?t.left+n:$(W(e)).left+n}function Oe(e,t,n){n===void 0&&(n=!1);let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:De(e,r)),y:r.top+t.scrollTop}}function ke(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=W(r),s=t?he(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=b(1),u=b(0),d=K(r);if((d||!d&&!a)&&((H(r)!==`body`||q(o))&&(c=ye(r)),K(r))){let e=$(r);l=Q(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?Oe(o,c,!0):b(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function Ae(e){return Array.from(e.getClientRects())}function je(e){let t=W(e),n=ye(e),r=e.ownerDocument.body,i=_(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=_(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+De(e),s=-n.scrollTop;return Y(r).direction===`rtl`&&(o+=_(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}function Me(e,t){let n=U(e),r=W(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=ve();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:a,height:o,x:s,y:c}}function Ne(e,t){let n=$(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=K(e)?Q(e):b(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Pe(e,t,n){let r;if(t===`viewport`)r=Me(e,n);else if(t===`document`)r=je(W(e));else if(G(t))r=Ne(t,n);else{let n=Te(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return z(r)}function Fe(e,t){let n=X(e);return n===t||!G(n)||J(n)?!1:Y(n).position===`fixed`||Fe(n,t)}function Ie(e,t){let n=t.get(e);if(n)return n;let r=Z(e,[],!1).filter(e=>G(e)&&H(e)!==`body`),i=null,a=Y(e).position===`fixed`,o=a?X(e):e;for(;G(o)&&!J(o);){let t=Y(o),n=ge(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&[`absolute`,`fixed`].includes(i.position)||q(o)&&!n&&Fe(e,o))?r=r.filter(e=>e!==o):i=t,o=X(o)}return t.set(e,r),r}function Le(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?he(t)?[]:Ie(t,this._c):[].concat(n),r],o=a[0],s=a.reduce((e,n)=>{let r=Pe(t,n,i);return e.top=_(r.top,e.top),e.right=g(r.right,e.right),e.bottom=g(r.bottom,e.bottom),e.left=_(r.left,e.left),e},Pe(t,o,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function Re(e){let{width:t,height:n}=Se(e);return{width:t,height:n}}function ze(e,t,n){let r=K(t),i=W(t),a=n===`fixed`,o=$(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=b(0);function l(){c.x=De(i)}if(r||!r&&!a){if((H(t)!==`body`||q(i))&&(s=ye(t)),r){let e=$(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l()}a&&!r&&i&&l();let u=i&&!r&&!a?Oe(i,s):b(0);return{x:o.left+s.scrollLeft-c.x-u.x,y:o.top+s.scrollTop-c.y-u.y,width:o.width,height:o.height}}function Be(e){return Y(e).position===`static`}function Ve(e,t){if(!K(e)||Y(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return W(e)===n&&(n=n.ownerDocument.body),n}function He(e,t){let n=U(e);if(he(e))return n;if(!K(e)){let t=X(e);for(;t&&!J(t);){if(G(t)&&!Be(t))return t;t=X(t)}return n}let r=Ve(e,t);for(;r&&me(r)&&Be(r);)r=Ve(r,t);return r&&J(r)&&Be(r)&&!ge(r)?n:r||_e(e)||n}const Ue=async function(e){let t=this.getOffsetParent||He,n=this.getDimensions,r=await n(e.floating);return{reference:ze(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function We(e){return Y(e).direction===`rtl`}const Ge={convertOffsetParentRelativeRectToViewportRelativeRect:ke,getDocumentElement:W,getClippingRect:Le,getOffsetParent:He,getElementRects:Ue,getClientRects:Ae,getDimensions:Re,getScale:Q,isElement:G,isRTL:We};function Ke(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function qe(e,t){let n=null,r,i=W(e);function a(){var e;clearTimeout(r),(e=n)==null||e.disconnect(),n=null}function o(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(s||t(),!f||!p)return;let m=y(d),h=y(i.clientWidth-(u+f)),v=y(i.clientHeight-(d+p)),b=y(u),x={rootMargin:-m+`px `+-h+`px `+-v+`px `+-b+`px`,threshold:_(0,g(1,c))||1},S=!0;function C(t){let n=t[0].intersectionRatio;if(n!==c){if(!S)return o();n?o(!1,n):r=setTimeout(()=>{o(!1,1e-7)},1e3)}n===1&&!Ke(l,e.getBoundingClientRect())&&o(),S=!1}try{n=new IntersectionObserver(C,{...x,root:i.ownerDocument})}catch{n=new IntersectionObserver(C,x)}n.observe(e)}return o(!0),a}function Je(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=Ce(e),u=i||a?[...l?Z(l):[],...Z(t)]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?qe(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),p.observe(t));let m,h=c?$(e):null;c&&g();function g(){let t=$(e);h&&!Ke(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}const Ye=se,Xe=ce,Ze=ne,Qe=ue,$e=ae,et=te,tt=le,nt=(e,t,n)=>{let r=/* @__PURE__ */ new Map,i={platform:Ge,...n},a={...i.platform,_c:r};return ee(e,t,{...i,platform:a})};var rt=typeof document<`u`?i:l;function it(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e==`function`&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e==`object`){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!it(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){let n=i[r];if(!(n===`_owner`&&e.$$typeof)&&!it(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function at(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ot(e,t){let n=at(e);return Math.round(t*n)/n}function st(e){let t=o(e);return rt(()=>{t.current=e}),t}function ct(t){t===void 0&&(t={});let{placement:r=`bottom`,strategy:i=`absolute`,middleware:s=[],platform:l,elements:{reference:u,floating:d}={},transform:f=!0,whileElementsMounted:p,open:m}=t,[h,g]=e({x:0,y:0,strategy:i,placement:r,middlewareData:{},isPositioned:!1}),[_,v]=e(s);it(_,s)||v(s);let[y,b]=e(null),[x,S]=e(null),C=n(e=>{e!==D.current&&(D.current=e,b(e))},[]),w=n(e=>{e!==O.current&&(O.current=e,S(e))},[]),T=u||y,E=d||x,D=o(null),O=o(null),k=o(h),A=p!=null,j=st(p),M=st(l),N=st(m),P=n(()=>{if(!D.current||!O.current)return;let e={placement:r,strategy:i,middleware:_};M.current&&(e.platform=M.current),nt(D.current,O.current,e).then(e=>{let t={...e,isPositioned:N.current!==!1};F.current&&!it(k.current,t)&&(k.current=t,c(()=>{g(t)}))})},[_,r,i,M,N]);rt(()=>{m===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,g(e=>({...e,isPositioned:!1})))},[m]);let F=o(!1);rt(()=>(F.current=!0,()=>{F.current=!1}),[]),rt(()=>{if(T&&(D.current=T),E&&(O.current=E),T&&E){if(j.current)return j.current(T,E,P);P()}},[T,E,P,j,A]);let I=a(()=>({reference:D,floating:O,setReference:C,setFloating:w}),[C,w]),L=a(()=>({reference:T,floating:E}),[T,E]),R=a(()=>{let e={position:i,left:0,top:0};if(!L.floating)return e;let t=ot(L.floating,h.x),n=ot(L.floating,h.y);return f?{...e,transform:`translate(`+t+`px, `+n+`px)`,...at(L.floating)>=1.5&&{willChange:`transform`}}:{position:i,left:t,top:n}},[i,f,L.floating,h.x,h.y]);return a(()=>({...h,update:P,refs:I,elements:L,floatingStyles:R}),[h,P,I,L,R])}const lt=e=>{function t(e){return{}.hasOwnProperty.call(e,`current`)}return{name:`arrow`,options:e,fn(n){let{element:r,padding:i}=typeof e==`function`?e(n):e;return r&&t(r)?r.current==null?{}:et({element:r.current,padding:i}).fn(n):r?et({element:r,padding:i}).fn(n):{}}}},ut=(e,t)=>({...Ye(e),options:[e,t]}),dt=(e,t)=>({...Xe(e),options:[e,t]}),ft=(e,t)=>({...tt(e),options:[e,t]}),pt=(e,t)=>({...Ze(e),options:[e,t]}),mt=(e,t)=>({...Qe(e),options:[e,t]}),ht=(e,t)=>({...$e(e),options:[e,t]}),gt=(e,t)=>({...lt(e),options:[e,t]});r();var _t=`Arrow`,vt=t((e,t)=>{let{children:n,width:r=10,height:i=5,...a}=e;return/* @__PURE__ */ s(p.svg,{...a,ref:t,width:r,height:i,viewBox:`0 0 30 10`,preserveAspectRatio:`none`,children:e.asChild?n:/* @__PURE__ */ s(`polygon`,{points:`0,0 30,0 15,10`})})});vt.displayName=_t;var yt=vt;r();function bt(t){let[n,r]=e(void 0);return f(()=>{if(t){r({width:t.offsetWidth,height:t.offsetHeight});let e=new ResizeObserver(e=>{if(!Array.isArray(e)||!e.length)return;let n=e[0],i,a;if(`borderBoxSize`in n){let e=n.borderBoxSize,t=Array.isArray(e)?e[0]:e;i=t.inlineSize,a=t.blockSize}else i=t.offsetWidth,a=t.offsetHeight;r({width:i,height:a})});return e.observe(t,{box:`border-box`}),()=>e.unobserve(t)}r(void 0)},[t]),n}r();var xt=`Popper`,[St,Ct]=d(xt),[wt,Tt]=St(xt),Et=t=>{let{__scopePopper:n,children:r}=t,[i,a]=e(null);return/* @__PURE__ */ s(wt,{scope:n,anchor:i,onAnchorChange:a,children:r})};Et.displayName=xt;var Dt=`PopperAnchor`,Ot=t((e,t)=>{let{__scopePopper:n,virtualRef:r,...i}=e,a=Tt(Dt,n),c=o(null),d=u(t,c),f=o(null);return l(()=>{let e=f.current;f.current=r?.current||c.current,e!==f.current&&a.onAnchorChange(f.current)}),r?null:/* @__PURE__ */ s(p.div,{...i,ref:d})});Ot.displayName=Dt;var kt=`PopperContent`,[At,jt]=St(kt),Mt=t((t,n)=>{let{__scopePopper:r,side:i=`bottom`,sideOffset:a=0,align:o=`center`,alignOffset:c=0,arrowPadding:l=0,avoidCollisions:d=!0,collisionBoundary:h=[],collisionPadding:g=0,sticky:_=`partial`,hideWhenDetached:v=!1,updatePositionStrategy:y=`optimized`,onPlaced:b,...x}=t,S=Tt(kt,r),[C,w]=e(null),T=u(n,e=>w(e)),[E,D]=e(null),O=bt(E),k=O?.width??0,A=O?.height??0,j=i+(o===`center`?``:`-`+o),M=typeof g==`number`?g:{top:0,right:0,bottom:0,left:0,...g},N=Array.isArray(h)?h:[h],P=N.length>0,F={padding:M,boundary:N.filter(It),altBoundary:P},{refs:I,floatingStyles:L,placement:R,isPositioned:z,middlewareData:B}=ct({strategy:`fixed`,placement:j,whileElementsMounted:(...e)=>Je(...e,{animationFrame:y===`always`}),elements:{reference:S.anchor},middleware:[ut({mainAxis:a+A,alignmentAxis:c}),d&&dt({mainAxis:!0,crossAxis:!1,limiter:_===`partial`?ft():void 0,...F}),d&&pt({...F}),mt({...F,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(`--radix-popper-available-width`,`${n}px`),o.setProperty(`--radix-popper-available-height`,`${r}px`),o.setProperty(`--radix-popper-anchor-width`,`${i}px`),o.setProperty(`--radix-popper-anchor-height`,`${a}px`)}}),E&&gt({element:E,padding:l}),Lt({arrowWidth:k,arrowHeight:A}),v&&ht({strategy:`referenceHidden`,...F})]}),[ee,V]=Rt(R),te=m(b);f(()=>{z&&te?.()},[z,te]);let ne=B.arrow?.x,re=B.arrow?.y,ie=B.arrow?.centerOffset!==0,[ae,oe]=e();return f(()=>{C&&oe(window.getComputedStyle(C).zIndex)},[C]),/* @__PURE__ */ s(`div`,{ref:I.setFloating,"data-radix-popper-content-wrapper":``,style:{...L,transform:z?L.transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:ae,"--radix-popper-transform-origin":[B.transformOrigin?.x,B.transformOrigin?.y].join(` `),...B.hide?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}},dir:t.dir,children:/* @__PURE__ */ s(At,{scope:r,placedSide:ee,onArrowChange:D,arrowX:ne,arrowY:re,shouldHideArrow:ie,children:/* @__PURE__ */ s(p.div,{"data-side":ee,"data-align":V,...x,ref:T,style:{...x.style,animation:z?void 0:`none`}})})})});Mt.displayName=kt;var Nt=`PopperArrow`,Pt={top:`bottom`,right:`left`,bottom:`top`,left:`right`},Ft=t(function(e,t){let{__scopePopper:n,...r}=e,i=jt(Nt,n),a=Pt[i.placedSide];return/* @__PURE__ */ s(`span`,{ref:i.onArrowChange,style:{position:`absolute`,left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:``,right:`0 0`,bottom:`center 0`,left:`100% 0`}[i.placedSide],transform:{top:`translateY(100%)`,right:`translateY(50%) rotate(90deg) translateX(-50%)`,bottom:`rotate(180deg)`,left:`translateY(50%) rotate(-90deg) translateX(50%)`}[i.placedSide],visibility:i.shouldHideArrow?`hidden`:void 0},children:/* @__PURE__ */ s(yt,{...r,ref:t,style:{...r.style,display:`block`}})})});Ft.displayName=Nt;function It(e){return e!==null}var Lt=e=>({name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=Rt(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;return c===`bottom`?(p=a?u:`${d}px`,m=`${-s}px`):c===`top`?(p=a?u:`${d}px`,m=`${r.floating.height+s}px`):c===`right`?(p=`${-s}px`,m=a?u:`${f}px`):c===`left`&&(p=`${r.floating.width+s}px`,m=a?u:`${f}px`),{data:{x:p,y:m}}}});function Rt(e){let[t,n=`center`]=e.split(`-`);return[t,n]}var zt=Et,Bt=Ot,Vt=Mt,Ht=Ft;export{Ot as a,Ct as c,Et as i,Ht as n,Mt as o,Vt as r,zt as s,Bt as t};
@@ -0,0 +1 @@
1
+ import{d as e,h as t,r as n,w as r,x as i}from"./register-DIEtmS6C.js";e();function a(e,a){let o=r(a),s=e=>{let{children:r,...i}=e,a=t(()=>i,Object.values(i));return/* @__PURE__ */ n(o.Provider,{value:a,children:r})};s.displayName=e+`Provider`;function c(t){let n=i(o);if(n)return n;if(a!==void 0)return a;throw Error(`\`${t}\` must be used within \`${e}\``)}return[s,c]}function o(e,a=[]){let o=[];function c(a,s){let c=r(s),l=o.length;o=[...o,s];let u=r=>{let{scope:i,children:a,...o}=r,s=i?.[e]?.[l]||c,u=t(()=>o,Object.values(o));return/* @__PURE__ */ n(s.Provider,{value:u,children:a})};u.displayName=a+`Provider`;function d(t,n){let r=n?.[e]?.[l]||c,o=i(r);if(o)return o;if(s!==void 0)return s;throw Error(`\`${t}\` must be used within \`${a}\``)}return[u,d]}let l=()=>{let n=o.map(e=>r(e));return function(r){let i=r?.[e]||n;return t(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return l.scopeName=e,[c,s(l,...a)]}function s(...e){let n=e[0];if(e.length===1)return n;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=r.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return t(()=>({[`__scope${n.scopeName}`]:i}),[i])}};return r.scopeName=n.scopeName,r}export{o as n,a as t};
@@ -0,0 +1 @@
1
+ import{_ as e,b as t,c as n,d as r,p as i,v as a}from"./register-DIEtmS6C.js";import{t as o}from"./dist-DIbXSpE2.js";r();var s=n.useInsertionEffect||o;function c({prop:e,defaultProp:n,onChange:r=()=>{},caller:o}){let[s,c,d]=l({defaultProp:n,onChange:r}),f=e!==void 0,p=f?e:s;{let t=i(e!==void 0);a(()=>{let e=t.current;e!==f&&console.warn(`${o} is changing from ${e?`controlled`:`uncontrolled`} to ${f?`controlled`:`uncontrolled`}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),t.current=f},[f,o])}return[p,t(t=>{if(f){let n=u(t)?t(e):t;n!==e&&d.current?.(n)}else c(t)},[f,e,c,d])]}function l({defaultProp:t,onChange:n}){let[r,o]=e(t),c=i(r),l=i(n);return s(()=>{l.current=n},[n]),a(()=>{c.current!==r&&(l.current?.(r),c.current=r)},[r,c]),[r,o,l]}function u(e){return typeof e==`function`}export{c as t};
@@ -0,0 +1,5 @@
1
+ import{C as e,T as t,a as n,b as r,d as i,p as a,r as o,v as s}from"./register-DIEtmS6C.js";import{n as c}from"./dist-BaRz2Web.js";import{n as l,t as u}from"./dist-JANeZ5Sr.js";import{t as d}from"./dist-KT7hNKRW.js";import{t as f}from"./dist-CYHoVmOS.js";import{t as p}from"./dist-B6QtTKmw.js";import{r as m,t as h}from"./dist-BRMPlbf8.js";import{n as g}from"./dist-BE01MIvm.js";import{i as _,r as v,t as y}from"./Combination-QgdM4Ih0.js";import"./dist-BaqUvTgd.js";import{t as b}from"./dist-B_BnEAY6.js";import{t as x}from"./es2015-DQ3krs0F.js";i(),t();var S=`Dialog`,[C,ee]=l(S),[w,T]=C(S),E=e=>{let{__scopeDialog:t,children:n,open:i,defaultOpen:s,onOpenChange:c,modal:l=!0}=e,u=a(null),p=a(null),[m,h]=d({prop:i,defaultProp:s??!1,onChange:c,caller:S});return/* @__PURE__ */ o(w,{scope:t,triggerRef:u,contentRef:p,contentId:f(),titleId:f(),descriptionId:f(),open:m,onOpenChange:h,onOpenToggle:r(()=>h(e=>!e),[h]),modal:l,children:n})};E.displayName=S;var D=`DialogTrigger`,O=n((e,t)=>{let{__scopeDialog:n,...r}=e,i=T(D,n),a=c(t,i.triggerRef);return/* @__PURE__ */ o(h.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":i.open,"aria-controls":i.contentId,"data-state":G(i.open),...r,ref:a,onClick:p(e.onClick,i.onOpenToggle)})});O.displayName=D;var[te,k]=C(`DialogPortal`,{forceMount:void 0}),A=`DialogOverlay`,j=n((e,t)=>{let n=k(A,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=T(A,e.__scopeDialog);return a.modal?/* @__PURE__ */ o(b,{present:r||a.open,children:/* @__PURE__ */ o(N,{...i,ref:t})}):null});j.displayName=A;var M=m(`DialogOverlay.RemoveScroll`),N=n((e,t)=>{let{__scopeDialog:n,...r}=e,i=T(A,n);return/* @__PURE__ */ o(y,{as:M,allowPinchZoom:!0,shards:[i.contentRef],children:/* @__PURE__ */ o(h.div,{"data-state":G(i.open),...r,ref:t,style:{pointerEvents:`auto`,...r.style}})})}),P=`DialogContent`,F=n((e,t)=>{let n=k(P,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=T(P,e.__scopeDialog);return/* @__PURE__ */ o(b,{present:r||a.open,children:a.modal?/* @__PURE__ */ o(I,{...i,ref:t}):/* @__PURE__ */ o(L,{...i,ref:t})})});F.displayName=P;var I=n((e,t)=>{let n=T(P,e.__scopeDialog),r=a(null),i=c(t,n.contentRef,r);return s(()=>{let e=r.current;if(e)return x(e)},[]),/* @__PURE__ */ o(R,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:p(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:p(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;(t.button===2||n)&&e.preventDefault()}),onFocusOutside:p(e.onFocusOutside,e=>e.preventDefault())})}),L=n((e,t)=>{let n=T(P,e.__scopeDialog),r=a(!1),i=a(!1);return/* @__PURE__ */ o(R,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})}),R=n((t,n)=>{let{__scopeDialog:r,trapFocus:i,onOpenAutoFocus:s,onCloseAutoFocus:l,...u}=t,d=T(P,r),f=a(null),p=c(n,f);return v(),/* @__PURE__ */ o(e,{children:[/* @__PURE__ */ o(_,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:s,onUnmountAutoFocus:l,children:/* @__PURE__ */ o(g,{role:`dialog`,id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":G(d.open),...u,ref:p,onDismiss:()=>d.onOpenChange(!1)})}),/* @__PURE__ */ o(e,{children:[/* @__PURE__ */ o(J,{titleId:d.titleId}),/* @__PURE__ */ o(X,{contentRef:f,descriptionId:d.descriptionId})]})]})}),z=`DialogTitle`,B=n((e,t)=>{let{__scopeDialog:n,...r}=e,i=T(z,n);return/* @__PURE__ */ o(h.h2,{id:i.titleId,...r,ref:t})});B.displayName=z;var V=`DialogDescription`,H=n((e,t)=>{let{__scopeDialog:n,...r}=e,i=T(V,n);return/* @__PURE__ */ o(h.p,{id:i.descriptionId,...r,ref:t})});H.displayName=V;var U=`DialogClose`,W=n((e,t)=>{let{__scopeDialog:n,...r}=e,i=T(U,n);return/* @__PURE__ */ o(h.button,{type:`button`,...r,ref:t,onClick:p(e.onClick,()=>i.onOpenChange(!1))})});W.displayName=U;function G(e){return e?`open`:`closed`}var K=`DialogTitleWarning`,[ne,q]=u(K,{contentName:P,titleName:z,docsSlug:`dialog`}),J=({titleId:e})=>{let t=q(K),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
2
+
3
+ If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
4
+
5
+ For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return s(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Y=`DialogDescriptionWarning`,X=({contentRef:e,descriptionId:t})=>{let n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${q(Y).contentName}}.`;return s(()=>{let r=e.current?.getAttribute(`aria-describedby`);t&&r&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},Z=E,Q=O,$=j,re=F,ie=B,ae=H,oe=W;export{Z as a,$ as i,re as n,ie as o,ae as r,Q as s,oe as t};
@@ -0,0 +1,3 @@
1
+ import{C as e,a as t,c as n,d as r,f as i,o as a,r as o,u as s}from"./register-DIEtmS6C.js";import{t as c}from"./dist-BaRz2Web.js";r();var l=Symbol.for(`react.lazy`),u=n.use;function d(e){return typeof e==`object`&&!!e&&`then`in e}function f(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===l&&`_payload`in e&&d(e._payload)}// @__NO_SIDE_EFFECTS__
2
+ function p(e){let n=/* @__PURE__ */ m(e),r=t((e,t)=>{let{children:r,...c}=e;f(r)&&typeof u==`function`&&(r=u(r._payload));let l=a.toArray(r),d=l.find(g);if(d){let e=d.props.children,r=l.map(t=>t===d?a.count(e)>1?a.only(null):s(e)?e.props.children:null:t);return/* @__PURE__ */ o(n,{...c,ref:t,children:s(e)?i(e,void 0,r):null})}return/* @__PURE__ */ o(n,{...c,ref:t,children:r})});return r.displayName=`${e}.Slot`,r}// @__NO_SIDE_EFFECTS__
3
+ function m(n){let r=t((t,n)=>{let{children:r,...o}=t;if(f(r)&&typeof u==`function`&&(r=u(r._payload)),s(r)){let t=v(r),a=_(o,r.props);return r.type!==e&&(a.ref=n?c(n,t):t),i(r,a)}return a.count(r)>1?a.only(null):null});return r.displayName=`${n}.SlotClone`,r}var h=Symbol(`radix.slottable`);function g(e){return s(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===h}function _(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function v(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}export{p as t};
@@ -1 +1 @@
1
- import{d as e,l as t,r as n}from"./register-Cw2o7_6I.js";import{n as r,t as i}from"./dist-ywMInAGB.js";import{t as a}from"./dist-CHyzwbg8.js";import{t as o}from"./dist-BErk1pdF.js";import{n as s}from"./dist-B66qjTzP.js";import{i as c,n as l,r as u,t as d}from"./dist-LQ8KdNti.js";const[f,p]=i(`@optiaxiom/react/SegmentedControl`);e();var m=`ToggleGroup`,[h,g]=r(m,[u]),_=u(),v=t.forwardRef((e,t)=>{let{type:r,...i}=e;if(r===`single`)return/* @__PURE__ */ n(x,{...i,ref:t});if(r===`multiple`)return/* @__PURE__ */ n(S,{...i,ref:t});throw Error(`Missing prop \`type\` expected on \`${m}\``)});v.displayName=m;var[y,b]=h(m),x=t.forwardRef((e,r)=>{let{value:i,defaultValue:o,onValueChange:s=()=>{},...c}=e,[l,u]=a({prop:i,defaultProp:o??``,onChange:s,caller:m});return/* @__PURE__ */ n(y,{scope:e.__scopeToggleGroup,type:`single`,value:t.useMemo(()=>l?[l]:[],[l]),onItemActivate:u,onItemDeactivate:t.useCallback(()=>u(``),[u]),children:/* @__PURE__ */ n(T,{...c,ref:r})})}),S=t.forwardRef((e,r)=>{let{value:i,defaultValue:o,onValueChange:s=()=>{},...c}=e,[l,u]=a({prop:i,defaultProp:o??[],onChange:s,caller:m}),d=t.useCallback(e=>u((t=[])=>[...t,e]),[u]),f=t.useCallback(e=>u((t=[])=>t.filter(t=>t!==e)),[u]);return/* @__PURE__ */ n(y,{scope:e.__scopeToggleGroup,type:`multiple`,value:l,onItemActivate:d,onItemDeactivate:f,children:/* @__PURE__ */ n(T,{...c,ref:r})})});v.displayName=m;var[C,w]=h(m),T=t.forwardRef((e,t)=>{let{__scopeToggleGroup:r,disabled:i=!1,rovingFocus:a=!0,orientation:s,dir:u,loop:d=!0,...f}=e,p=_(r),m=c(u),h={role:`group`,dir:m,...f};return/* @__PURE__ */ n(C,{scope:r,rovingFocus:a,disabled:i,children:a?/* @__PURE__ */ n(l,{asChild:!0,...p,orientation:s,dir:m,loop:d,children:/* @__PURE__ */ n(o.div,{...h,ref:t})}):/* @__PURE__ */ n(o.div,{...h,ref:t})})}),E=`ToggleGroupItem`,D=t.forwardRef((e,r)=>{let i=b(E,e.__scopeToggleGroup),a=w(E,e.__scopeToggleGroup),o=_(e.__scopeToggleGroup),s=i.value.includes(e.value),c=a.disabled||e.disabled,l={...e,pressed:s,disabled:c},u=t.useRef(null);return a.rovingFocus?/* @__PURE__ */ n(d,{asChild:!0,...o,focusable:!c,active:s,ref:u,children:/* @__PURE__ */ n(O,{...l,ref:r})}):/* @__PURE__ */ n(O,{...l,ref:r})});D.displayName=E;var O=t.forwardRef((e,t)=>{let{__scopeToggleGroup:r,value:i,...a}=e,o=b(E,r),c={role:`radio`,"aria-checked":e.pressed,"aria-pressed":void 0},l=o.type===`single`?c:void 0;return/* @__PURE__ */ n(s,{...l,...a,ref:t,onPressedChange:e=>{e?o.onItemActivate(i):o.onItemDeactivate(i)}})}),k=v,A=D;export{p as i,k as n,f as r,A as t};
1
+ import{d as e,l as t,r as n}from"./register-DIEtmS6C.js";import{n as r,t as i}from"./dist-JANeZ5Sr.js";import{t as a}from"./dist-KT7hNKRW.js";import{t as o}from"./dist-BRMPlbf8.js";import{i as s,n as c,r as l,t as u}from"./dist-BKRHlLR8.js";import{n as d}from"./dist-0IJcVW2d.js";const[f,p]=i(`@optiaxiom/react/SegmentedControl`);e();var m=`ToggleGroup`,[h,g]=r(m,[l]),_=l(),v=t.forwardRef((e,t)=>{let{type:r,...i}=e;if(r===`single`)return/* @__PURE__ */ n(x,{...i,ref:t});if(r===`multiple`)return/* @__PURE__ */ n(S,{...i,ref:t});throw Error(`Missing prop \`type\` expected on \`${m}\``)});v.displayName=m;var[y,b]=h(m),x=t.forwardRef((e,r)=>{let{value:i,defaultValue:o,onValueChange:s=()=>{},...c}=e,[l,u]=a({prop:i,defaultProp:o??``,onChange:s,caller:m});return/* @__PURE__ */ n(y,{scope:e.__scopeToggleGroup,type:`single`,value:t.useMemo(()=>l?[l]:[],[l]),onItemActivate:u,onItemDeactivate:t.useCallback(()=>u(``),[u]),children:/* @__PURE__ */ n(T,{...c,ref:r})})}),S=t.forwardRef((e,r)=>{let{value:i,defaultValue:o,onValueChange:s=()=>{},...c}=e,[l,u]=a({prop:i,defaultProp:o??[],onChange:s,caller:m}),d=t.useCallback(e=>u((t=[])=>[...t,e]),[u]),f=t.useCallback(e=>u((t=[])=>t.filter(t=>t!==e)),[u]);return/* @__PURE__ */ n(y,{scope:e.__scopeToggleGroup,type:`multiple`,value:l,onItemActivate:d,onItemDeactivate:f,children:/* @__PURE__ */ n(T,{...c,ref:r})})});v.displayName=m;var[C,w]=h(m),T=t.forwardRef((e,t)=>{let{__scopeToggleGroup:r,disabled:i=!1,rovingFocus:a=!0,orientation:l,dir:u,loop:d=!0,...f}=e,p=_(r),m=s(u),h={role:`group`,dir:m,...f};return/* @__PURE__ */ n(C,{scope:r,rovingFocus:a,disabled:i,children:a?/* @__PURE__ */ n(c,{asChild:!0,...p,orientation:l,dir:m,loop:d,children:/* @__PURE__ */ n(o.div,{...h,ref:t})}):/* @__PURE__ */ n(o.div,{...h,ref:t})})}),E=`ToggleGroupItem`,D=t.forwardRef((e,r)=>{let i=b(E,e.__scopeToggleGroup),a=w(E,e.__scopeToggleGroup),o=_(e.__scopeToggleGroup),s=i.value.includes(e.value),c=a.disabled||e.disabled,l={...e,pressed:s,disabled:c},d=t.useRef(null);return a.rovingFocus?/* @__PURE__ */ n(u,{asChild:!0,...o,focusable:!c,active:s,ref:d,children:/* @__PURE__ */ n(O,{...l,ref:r})}):/* @__PURE__ */ n(O,{...l,ref:r})});D.displayName=E;var O=t.forwardRef((e,t)=>{let{__scopeToggleGroup:r,value:i,...a}=e,o=b(E,r),s={role:`radio`,"aria-checked":e.pressed,"aria-pressed":void 0},c=o.type===`single`?s:void 0;return/* @__PURE__ */ n(d,{...c,...a,ref:t,onPressedChange:e=>{e?o.onItemActivate(i):o.onItemDeactivate(i)}})}),k=v,A=D;export{p as i,k as n,f as r,A as t};