@optiaxiom/web-components 0.8.3 → 0.8.4
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.
- package/ListboxSwitchItem/package.json +4 -0
- package/dist/ActionsRoot.css.ts.vanilla-BHTi0xxJ-808VPyY6.js +1 -0
- package/dist/AlertDialogContext-CsOYKMEx.js +1 -0
- package/dist/{AngleMenuButton-CnQ-awha.js → AngleMenuButton-C1-3_he7.js} +1 -1
- package/dist/Avatar-CHGTut-G.js +1 -0
- package/dist/AvatarContext-DHOQSHy2.js +1 -0
- package/dist/Backdrop-DM94pr0F.js +1 -0
- package/dist/Badge-Ba_L2aDo.js +1 -0
- package/dist/Box-BxAZP5q3.js +1 -0
- package/dist/Button-ftT4E1lc.js +1 -0
- package/dist/ButtonContext-CF1HO9kK.js +1 -0
- package/dist/Checkbox-CTzTFk8E.js +1 -0
- package/dist/{Combination-tfTBCACB.js → Combination-BQz_BH21.js} +1 -1
- package/dist/Cover-B7yhaUSP.js +1 -0
- package/dist/DialogContext-DFxdQV7o.js +1 -0
- package/dist/{DisclosureContext-22lZGDVp.js → DisclosureContext-BSS2tL5c.js} +1 -1
- package/dist/DrawerContext-MD6W7l9L.js +1 -0
- package/dist/DropdownMenuContext-BEZTBQr1.js +1 -0
- package/dist/DropdownMenuSubContext-C-biYrrL.js +1 -0
- package/dist/FieldContext-Dag4W6jY.js +1 -0
- package/dist/{FieldLabel-DPwbKdBS.js → FieldLabel-r48NLE59.js} +1 -1
- package/dist/{Flex-BI_ReZQD.js → Flex-Cm25gfK2.js} +1 -1
- package/dist/{Heading-B52PIApb.js → Heading-DNj7Apwd.js} +1 -1
- package/dist/Icon-BLGrXUYC.js +1 -0
- package/dist/{IconAngleRight-TuGxkzvP.js → IconAngleRight-BcJHQIRh.js} +1 -1
- package/dist/{IconCircleInfoSolid-CzCs1mrf.js → IconCircleInfoSolid-C-FPcq4c.js} +1 -1
- package/dist/{IconEllipsis-Du9jYcv0.js → IconEllipsis-j6wjEsPA.js} +1 -1
- package/dist/{IconTriangleExclamationSolid-BblfiD8M.js → IconTriangleExclamationSolid-DGnEhJxm.js} +1 -1
- package/dist/{IconX-DJA1MT8p.js → IconX--vPwsouf.js} +1 -1
- package/dist/{Input-a2NKPRf8.js → Input-pH22rzd_.js} +1 -1
- package/dist/{InputAddon-DUAl6SRV.js → InputAddon-DbL0ZIKs.js} +1 -1
- package/dist/InputContext-BLlC0mNx.js +1 -0
- package/dist/InputControl-BA1gZivg.js +1 -0
- package/dist/InputControl.css.ts.vanilla-BMrlqp3V-Chza_U6M.js +1 -0
- package/dist/InputRoot-B7paFXpY.js +1 -0
- package/dist/{Listbox-BIgmedFF.js → Listbox-CY-5hFEY.js} +1 -1
- package/dist/ListboxGroupContext-Bhn981z2.js +1 -0
- package/dist/ListboxItem-CS91gGkY.js +1 -0
- package/dist/{ListboxItemIndicator-BmvQd07V.js → ListboxItemIndicator-SMmFc90q.js} +1 -1
- package/dist/ListboxSeparator-DHbLT7St.js +1 -0
- package/dist/ListboxSwitchItem-C-7x3umV.js +1 -0
- package/dist/MenuListbox-iCC8XCHb.js +1 -0
- package/dist/NavItem-D8RjvPhy.js +1 -0
- package/dist/{Paper-BdXP8lKv.js → Paper-CKZcs-Dj.js} +1 -1
- package/dist/{PopoverContent-BG1q2SMH.d-Cm7Is13w.d.ts → PopoverContent-DN8fEhvU.d-foC7hqlj.d.ts} +25 -25
- package/dist/PopoverContext-CDD91aj8.js +1 -0
- package/dist/RadioGroupContext-CfTVQ6RT.js +1 -0
- package/dist/{SegmentedControlContext-CxKd4ZH4.js → SegmentedControlContext-Npzr_gtz.js} +1 -1
- package/dist/Separator-DHR6n-eq.js +1 -0
- package/dist/SidebarContext-BU1PRlDa.js +1 -0
- package/dist/Spinner-CkrA8Zp5.js +1 -0
- package/dist/Switch-ycp5f8aV.js +1 -0
- package/dist/Text-wDUDacJp.js +1 -0
- package/dist/{ThemeProvider-wzimrKlH.js → ThemeProvider-thyccLHB.js} +3 -3
- package/dist/Toast-Bvt_GEBz.js +1 -0
- package/dist/{ToastAction-BCoCdIyt.js → ToastAction-DkUZ1GR0.js} +1 -1
- package/dist/{ToastTitle-CqSNm9ff.js → ToastTitle-BorspqWA.js} +1 -1
- package/dist/ToggleInputHiddenInput-VimOfJ6b.js +1 -0
- package/dist/{Tooltip-mV12jmvN.js → Tooltip-pYY6bYzu.js} +1 -1
- package/dist/{TooltipContent-BVVh-gnC.js → TooltipContent-D1iE131q.js} +1 -1
- package/dist/TooltipContext-BCkMWimB.js +1 -0
- package/dist/{TooltipRoot-CfRK-qdG.js → TooltipRoot-CF-Q0L4y.js} +1 -1
- package/dist/{TooltipTrigger-CshHVXqQ.js → TooltipTrigger-BlUpM3qW.js} +1 -1
- package/dist/Transition-Dx_wLQHU.js +1 -0
- package/dist/TransitionGroup-BNrzTcOF.js +1 -0
- package/dist/components/Alert.d.ts +2 -2
- package/dist/components/Alert.js +1 -1
- package/dist/components/AlertDialog.d.ts +2 -2
- package/dist/components/AlertDialog.js +1 -1
- package/dist/components/AlertDialogAction.d.ts +2 -2
- package/dist/components/AlertDialogAction.js +1 -1
- package/dist/components/AlertDialogBody.d.ts +2 -2
- package/dist/components/AlertDialogBody.js +1 -1
- package/dist/components/AlertDialogCancel.d.ts +2 -2
- package/dist/components/AlertDialogCancel.js +1 -1
- package/dist/components/AlertDialogContent.d.ts +2 -2
- package/dist/components/AlertDialogContent.js +1 -1
- package/dist/components/AlertDialogFooter.d.ts +2 -2
- package/dist/components/AlertDialogFooter.js +1 -1
- package/dist/components/AlertDialogHeader.d.ts +2 -2
- package/dist/components/AlertDialogHeader.js +1 -1
- package/dist/components/AlertDialogTrigger.d.ts +2 -2
- package/dist/components/AlertDialogTrigger.js +1 -1
- package/dist/components/AngleMenuButton.d.ts +2 -2
- package/dist/components/AngleMenuButton.js +1 -1
- package/dist/components/Avatar.d.ts +2 -2
- package/dist/components/Avatar.js +1 -1
- package/dist/components/AvatarGroup.d.ts +2 -2
- package/dist/components/AvatarGroup.js +1 -1
- package/dist/components/AxiomProvider.d.ts +2 -2
- package/dist/components/AxiomProvider.js +1 -1
- package/dist/components/Badge.d.ts +2 -2
- package/dist/components/Badge.js +1 -1
- package/dist/components/Banner.d.ts +2 -2
- package/dist/components/Banner.js +1 -1
- package/dist/components/Box.d.ts +1 -1
- package/dist/components/Box.js +1 -1
- package/dist/components/Button.d.ts +2 -2
- package/dist/components/Button.js +1 -1
- package/dist/components/ButtonGroup.d.ts +2 -2
- package/dist/components/ButtonGroup.js +1 -1
- package/dist/components/Checkbox.d.ts +1 -1
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/Code.d.ts +2 -2
- package/dist/components/Code.js +1 -1
- package/dist/components/Dialog.d.ts +2 -2
- package/dist/components/Dialog.js +1 -1
- package/dist/components/DialogBody.d.ts +2 -2
- package/dist/components/DialogBody.js +1 -1
- package/dist/components/DialogClose.d.ts +2 -2
- package/dist/components/DialogClose.js +1 -1
- package/dist/components/DialogContent.d.ts +1 -1
- package/dist/components/DialogContent.js +1 -1
- package/dist/components/DialogFooter.d.ts +2 -2
- package/dist/components/DialogFooter.js +1 -1
- package/dist/components/DialogForm.d.ts +2 -2
- package/dist/components/DialogForm.js +1 -1
- package/dist/components/DialogHeader.d.ts +2 -2
- package/dist/components/DialogHeader.js +1 -1
- package/dist/components/DialogTrigger.d.ts +2 -2
- package/dist/components/DialogTrigger.js +1 -1
- package/dist/components/Disclosure.d.ts +2 -2
- package/dist/components/Disclosure.js +1 -1
- package/dist/components/DisclosureContent.d.ts +2 -2
- package/dist/components/DisclosureContent.js +1 -1
- package/dist/components/DisclosureTrigger.d.ts +2 -2
- package/dist/components/DisclosureTrigger.js +1 -1
- package/dist/components/Drawer.d.ts +2 -2
- package/dist/components/Drawer.js +1 -1
- package/dist/components/DrawerActions.d.ts +2 -2
- package/dist/components/DrawerActions.js +1 -1
- package/dist/components/DrawerBody.d.ts +2 -2
- package/dist/components/DrawerBody.js +1 -1
- package/dist/components/DrawerClose.d.ts +2 -2
- package/dist/components/DrawerClose.js +1 -1
- package/dist/components/DrawerContent.d.ts +2 -2
- package/dist/components/DrawerContent.js +1 -1
- package/dist/components/DrawerDescription.d.ts +2 -2
- package/dist/components/DrawerDescription.js +1 -1
- package/dist/components/DrawerFooter.d.ts +2 -2
- package/dist/components/DrawerFooter.js +1 -1
- package/dist/components/DrawerHeader.d.ts +2 -2
- package/dist/components/DrawerHeader.js +1 -1
- package/dist/components/DrawerTitle.d.ts +2 -2
- package/dist/components/DrawerTitle.js +1 -1
- package/dist/components/DrawerTrigger.d.ts +2 -2
- package/dist/components/DrawerTrigger.js +1 -1
- package/dist/components/DropdownMenu.d.ts +2 -2
- package/dist/components/DropdownMenu.js +1 -1
- package/dist/components/DropdownMenuCheckboxItem.d.ts +2 -2
- package/dist/components/DropdownMenuCheckboxItem.js +1 -1
- package/dist/components/DropdownMenuContent.d.ts +2 -2
- package/dist/components/DropdownMenuContent.js +1 -1
- package/dist/components/DropdownMenuGroup.d.ts +2 -2
- package/dist/components/DropdownMenuGroup.js +1 -1
- package/dist/components/DropdownMenuItem.d.ts +2 -2
- package/dist/components/DropdownMenuItem.js +1 -1
- package/dist/components/DropdownMenuLabel.d.ts +2 -2
- package/dist/components/DropdownMenuLabel.js +1 -1
- package/dist/components/DropdownMenuSeparator.d.ts +2 -2
- package/dist/components/DropdownMenuSeparator.js +1 -1
- package/dist/components/DropdownMenuSub.d.ts +2 -2
- package/dist/components/DropdownMenuSub.js +1 -1
- package/dist/components/DropdownMenuSubContent.d.ts +2 -2
- package/dist/components/DropdownMenuSubContent.js +1 -1
- package/dist/components/DropdownMenuTrigger.d.ts +2 -2
- package/dist/components/DropdownMenuTrigger.js +1 -1
- package/dist/components/EllipsisMenuButton.d.ts +2 -2
- package/dist/components/EllipsisMenuButton.js +1 -1
- package/dist/components/Field.d.ts +2 -2
- package/dist/components/Field.js +1 -1
- package/dist/components/FieldLabel.d.ts +2 -2
- package/dist/components/FieldLabel.js +1 -1
- package/dist/components/Flex.d.ts +2 -2
- package/dist/components/Flex.js +1 -1
- package/dist/components/Grid.d.ts +2 -2
- package/dist/components/Grid.js +1 -1
- package/dist/components/Heading.d.ts +2 -2
- package/dist/components/Heading.js +1 -1
- package/dist/components/Indicator.d.ts +2 -2
- package/dist/components/Indicator.js +1 -1
- package/dist/components/Input.d.ts +2 -2
- package/dist/components/Input.js +1 -1
- package/dist/components/InputAddon.d.ts +2 -2
- package/dist/components/InputAddon.js +1 -1
- package/dist/components/InputControl.d.ts +2 -2
- package/dist/components/InputControl.js +1 -1
- package/dist/components/InputRoot.d.ts +2 -2
- package/dist/components/InputRoot.js +1 -1
- package/dist/components/Kbd.d.ts +2 -2
- package/dist/components/Kbd.js +1 -1
- package/dist/components/Link.d.ts +1 -1
- package/dist/components/Link.js +1 -1
- package/dist/components/Listbox.d.ts +2 -2
- package/dist/components/Listbox.js +1 -1
- package/dist/components/ListboxCheckboxItem.d.ts +2 -2
- package/dist/components/ListboxCheckboxItem.js +1 -1
- package/dist/components/ListboxEmpty.d.ts +2 -2
- package/dist/components/ListboxEmpty.js +1 -1
- package/dist/components/ListboxFooter.d.ts +2 -2
- package/dist/components/ListboxFooter.js +1 -1
- package/dist/components/ListboxGroup.d.ts +2 -2
- package/dist/components/ListboxGroup.js +1 -1
- package/dist/components/ListboxItem.d.ts +2 -2
- package/dist/components/ListboxItem.js +1 -1
- package/dist/components/ListboxItemIndicator.d.ts +2 -2
- package/dist/components/ListboxItemIndicator.js +1 -1
- package/dist/components/ListboxLabel.d.ts +2 -2
- package/dist/components/ListboxLabel.js +1 -1
- package/dist/components/ListboxRadioItem.d.ts +2 -2
- package/dist/components/ListboxRadioItem.js +1 -1
- package/dist/components/ListboxScrollArea.d.ts +2 -2
- package/dist/components/ListboxScrollArea.js +1 -1
- package/dist/components/ListboxSeparator.d.ts +2 -2
- package/dist/components/ListboxSeparator.js +1 -1
- package/dist/components/ListboxSwitchItem.d.ts +18 -0
- package/dist/components/ListboxSwitchItem.js +1 -0
- package/dist/components/ModalLayer.d.ts +2 -2
- package/dist/components/ModalLayer.js +1 -1
- package/dist/components/Nav.d.ts +2 -2
- package/dist/components/Nav.js +1 -1
- package/dist/components/NavAccountItem.d.ts +2 -2
- package/dist/components/NavAccountItem.js +1 -1
- package/dist/components/NavBody.d.ts +2 -2
- package/dist/components/NavBody.js +1 -1
- package/dist/components/NavFooter.d.ts +2 -2
- package/dist/components/NavFooter.js +1 -1
- package/dist/components/NavHeader.d.ts +2 -2
- package/dist/components/NavHeader.js +1 -1
- package/dist/components/NavItem.d.ts +2 -2
- package/dist/components/NavItem.js +1 -1
- package/dist/components/NavList.d.ts +2 -2
- package/dist/components/NavList.js +1 -1
- package/dist/components/Pagination.d.ts +2 -2
- package/dist/components/Pagination.js +1 -1
- package/dist/components/Paper.d.ts +2 -2
- package/dist/components/Paper.js +1 -1
- package/dist/components/Popover.d.ts +2 -2
- package/dist/components/Popover.js +1 -1
- package/dist/components/PopoverAnchor.d.ts +2 -2
- package/dist/components/PopoverAnchor.js +1 -1
- package/dist/components/PopoverContent.d.ts +1 -1
- package/dist/components/PopoverContent.js +1 -1
- package/dist/components/PopoverTrigger.d.ts +2 -2
- package/dist/components/PopoverTrigger.js +1 -1
- package/dist/components/Progress.d.ts +2 -2
- package/dist/components/Progress.js +2 -2
- package/dist/components/Radio.d.ts +2 -2
- package/dist/components/Radio.js +1 -1
- package/dist/components/RadioGroup.d.ts +2 -2
- package/dist/components/RadioGroup.js +1 -1
- package/dist/components/SearchInput.d.ts +2 -2
- package/dist/components/SearchInput.js +1 -1
- package/dist/components/SegmentedControl.d.ts +2 -2
- package/dist/components/SegmentedControl.js +1 -1
- package/dist/components/SegmentedControlItem.d.ts +2 -2
- package/dist/components/SegmentedControlItem.js +1 -1
- package/dist/components/Separator.d.ts +2 -2
- package/dist/components/Separator.js +1 -1
- package/dist/components/Sidebar.d.ts +2 -2
- package/dist/components/Sidebar.js +1 -1
- package/dist/components/SidebarToggle.d.ts +2 -2
- package/dist/components/SidebarToggle.js +1 -1
- package/dist/components/Skeleton.d.ts +2 -2
- package/dist/components/Skeleton.js +1 -1
- package/dist/components/Spinner.d.ts +2 -2
- package/dist/components/Spinner.js +1 -1
- package/dist/components/Switch.d.ts +2 -2
- package/dist/components/Switch.js +1 -1
- package/dist/components/Tabs.d.ts +2 -2
- package/dist/components/Tabs.js +1 -1
- package/dist/components/TabsContent.d.ts +2 -2
- package/dist/components/TabsContent.js +1 -1
- package/dist/components/TabsList.d.ts +2 -2
- package/dist/components/TabsList.js +1 -1
- package/dist/components/TabsTrigger.d.ts +2 -2
- package/dist/components/TabsTrigger.js +1 -1
- package/dist/components/Text.d.ts +2 -2
- package/dist/components/Text.js +1 -1
- package/dist/components/Textarea.d.ts +2 -2
- package/dist/components/Textarea.js +1 -1
- package/dist/components/ThemeProvider.d.ts +2 -2
- package/dist/components/ThemeProvider.js +1 -1
- package/dist/components/Toast.d.ts +2 -2
- package/dist/components/Toast.js +1 -1
- package/dist/components/ToastAction.d.ts +2 -2
- package/dist/components/ToastAction.js +1 -1
- package/dist/components/ToastTitle.d.ts +2 -2
- package/dist/components/ToastTitle.js +1 -1
- package/dist/components/ToggleButton.d.ts +2 -2
- package/dist/components/ToggleButton.js +1 -1
- package/dist/components/Tooltip.d.ts +2 -2
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/TooltipContent.d.ts +2 -2
- package/dist/components/TooltipContent.js +1 -1
- package/dist/components/TooltipRoot.d.ts +2 -2
- package/dist/components/TooltipRoot.js +1 -1
- package/dist/components/TooltipTrigger.d.ts +2 -2
- package/dist/components/TooltipTrigger.js +1 -1
- package/dist/components/Transition.d.ts +1 -1
- package/dist/components/Transition.js +1 -1
- package/dist/components/TransitionGroup.d.ts +2 -2
- package/dist/components/TransitionGroup.js +1 -1
- package/dist/conditions-MIJg7YDH.js +1 -0
- package/dist/{decorateChildren-btEsE3bT.js → decorateChildren-DwT4b8LK.js} +1 -1
- package/dist/{factory-CrL700J2.js → factory-jWsWBOG3.js} +1 -1
- package/dist/fallbackSpan-C00NzLp6.js +1 -0
- package/dist/{index-BDt3HU0G.js → index-BHQPVLaU.js} +1 -1
- package/dist/{index-DsqgNgJV.js → index-BNEj9aBJ.js} +1 -1
- package/dist/{index-C-1IzhVn.js → index-BVdWvZui.js} +1 -1
- package/dist/{index-_VQ9lSO8.js → index-Bi_HnHjw.js} +1 -1
- package/dist/{index--u1zvfLX.js → index-BoVo0wjS.js} +1 -1
- package/dist/index-Box_SiMg.js +1 -0
- package/dist/{index-HNWdSSZ0.js → index-CPrCjOeA.js} +1 -1
- package/dist/{index-CXbttnWi.js → index-CRWQTRFw.js} +1 -1
- package/dist/{index-Dh7Gzn6-.js → index-CkLQ3Mzx.js} +1 -1
- package/dist/{index-DC3-CwRG.js → index-CuahE2cr.js} +1 -1
- package/dist/{index-CoQ42r9c.js → index-Cur5DOKI.js} +1 -1
- package/dist/{index-EQrjCXFe.js → index-D2xRrzJR.js} +1 -1
- package/dist/{index-BeEfm-vg.js → index-DFaTeg96.js} +1 -1
- package/dist/index-DMKpiOYW.js +1 -0
- package/dist/{index-CN86uDaI.js → index-DY_JVKcG.js} +1 -1
- package/dist/{index-C6l4fcQm.js → index-DZeZJhiY.js} +1 -1
- package/dist/{index-DnFx6GZA.js → index-Dpvu5xqH.js} +1 -1
- package/dist/{index-C-9BXbhb.js → index-FOztFWCh.js} +1 -1
- package/dist/{index-DUMvjTeD.js → index-RxKnZQN0.js} +1 -1
- package/dist/{index-C4y7x1m8.js → index-chmtZcw3.js} +1 -1
- package/dist/{index-BWK7xmBg.js → index-hD22Vy9W.js} +1 -1
- package/dist/{index-DVsJPda-.js → index-lV0VqqMH.js} +1 -1
- package/dist/{index-DOo5_x5F.js → index-qK3JjYUM.js} +1 -1
- package/dist/{index-DSKQT-J4.js → index-zV5oXDh0.js} +1 -1
- package/dist/{index.d-BoWVRvQI.d.ts → index.d-BFnL_eUl.d.ts} +21 -5
- package/dist/index.d.ts +16 -3
- package/dist/index.js +1 -1
- package/dist/layers.css.ts.vanilla-BapI6-Q5-CQN-7f-t.js +1 -0
- package/dist/{register-BHSuS38m.js → register-CNODxtve.js} +1 -1
- package/dist/{theme-css-Df2rQXAf.js → theme-css-B61lyqMB.js} +1 -1
- package/dist/{useNestedDialogCount-D3lD4WYK.js → useNestedDialogCount-CMXGpczB.js} +1 -1
- package/dist/{withIcon-BEIdOVZ8.js → withIcon-BMt1PH14.js} +1 -1
- package/package.json +5 -127
- package/dist/AlertDialogContext-oWcvgu7O.js +0 -1
- package/dist/Avatar-D54Sqqbe.js +0 -1
- package/dist/AvatarContext-TqyzKG-O.js +0 -1
- package/dist/AvatarGroup.css.ts.vanilla-pvg1PXNv-BCo0qILJ.js +0 -1
- package/dist/Backdrop-BOIK8IId.js +0 -1
- package/dist/Badge-IqVbh0Ok.js +0 -1
- package/dist/Box-B_cws1JB.js +0 -1
- package/dist/Button-BnESvoMv.js +0 -1
- package/dist/ButtonContext-CcQeLcMf.js +0 -1
- package/dist/Checkbox-D46GezAs.js +0 -1
- package/dist/Cover-Ceg89nO7.js +0 -1
- package/dist/DialogContext-CyLbxq2M.js +0 -1
- package/dist/DrawerContext-CuzOwL4X.js +0 -1
- package/dist/DropdownMenuContext-BJra_MwZ.js +0 -1
- package/dist/DropdownMenuSubContext-Bh4J0M4I.js +0 -1
- package/dist/FieldContext-CxhQc_x1.js +0 -1
- package/dist/Icon-BnvQueQL.js +0 -1
- package/dist/InputContext-BH2xCa2k.js +0 -1
- package/dist/InputControl-EfzjsZuJ.js +0 -1
- package/dist/InputControl.css.ts.vanilla-D_Y4T4gr-Df7Irokh.js +0 -1
- package/dist/InputRoot-CqYOS5zv.js +0 -1
- package/dist/ListboxCheckboxItem-ACJ1iLnm.js +0 -1
- package/dist/ListboxGroupContext-BtWTDsiK.js +0 -1
- package/dist/ListboxItem-DSit61gJ.js +0 -1
- package/dist/ListboxSeparator-D35-Ftqq.js +0 -1
- package/dist/MenuListbox-Y1xpi-Fi.js +0 -1
- package/dist/NavItem-UkxSqk-C.js +0 -1
- package/dist/PopoverContext-CMmfmEF4.js +0 -1
- package/dist/RadioGroupContext-NfSb1Ji1.js +0 -1
- package/dist/Separator-BPs5mvFR.js +0 -1
- package/dist/SidebarContext-DDuiDyw6.js +0 -1
- package/dist/Spinner-BeWczUmH.js +0 -1
- package/dist/Text-BjfqQZQy.js +0 -1
- package/dist/Toast-BeJ75p8C.js +0 -1
- package/dist/ToggleInputHiddenInput-CFmQOIiz.js +0 -1
- package/dist/TooltipContext-DnvzWIHq.js +0 -1
- package/dist/Transition-DBVpBrqf.js +0 -1
- package/dist/TransitionGroup-Cu3csP2f.js +0 -1
- package/dist/conditions-C6zD85Yw.js +0 -1
- package/dist/fallbackSpan-CP-p6XG-.js +0 -1
- package/dist/index-CkVYqSA-.js +0 -1
- package/dist/index-DZQ8zdeT.js +0 -1
- package/dist/layers.css.ts.vanilla-DvUyVLsY-BuMUUA9L.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{T as j,w as xt,W as J,P as Re,S as Bt,H as at,p as Pe,$ as ct,u as I}from"./register-BHSuS38m.js";import{t as vt}from"./index-Dh7Gzn6-.js";import{s as zt}from"./index-DVsJPda-.js";import{l as Te}from"./index-DC3-CwRG.js";import{c as Se}from"./index-C6l4fcQm.js";import{o as bt}from"./index-DZQ8zdeT.js";const Nt=["top","right","bottom","left"],_t=["start","end"];Nt.reduce((t,e)=>t.concat(e,e+"-"+_t[0],e+"-"+_t[1]),[]);const Q=Math.min,k=Math.max,ft=Math.round,ut=Math.floor,M=t=>({x:t,y:t}),Le={left:"right",right:"left",bottom:"top",top:"bottom"},Oe={start:"end",end:"start"};function $t(t,e,n){return k(t,Q(e,n))}function X(t,e){return typeof t=="function"?t(e):t}function q(t){return t.split("-")[0]}function K(t){return t.split("-")[1]}function At(t){return t==="x"?"y":"x"}function Rt(t){return t==="y"?"height":"width"}function U(t){return["top","bottom"].includes(q(t))?"y":"x"}function Pt(t){return At(U(t))}function Ee(t,e,n){n===void 0&&(n=!1);const r=K(t),o=Pt(t),i=Rt(o);let l=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(l=dt(l)),[l,dt(l)]}function Ce(t){const e=dt(t);return[Tt(t),e,Tt(e)]}function Tt(t){return t.replace(/start|end/g,e=>Oe[e])}function De(t,e,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],l=["bottom","top"];switch(t){case"top":case"bottom":return n?e?o:r:e?r:o;case"left":case"right":return e?i:l;default:return[]}}function He(t,e,n,r){const o=K(t);let i=De(q(t),n==="start",r);return o&&(i=i.map(l=>l+"-"+o),e&&(i=i.concat(i.map(Tt)))),i}function dt(t){return t.replace(/left|right|bottom|top/g,e=>Le[e])}function We(t){return{top:0,right:0,bottom:0,left:0,...t}}function Mt(t){return typeof t!="number"?We(t):{top:t,right:t,bottom:t,left:t}}function pt(t){const{x:e,y:n,width:r,height:o}=t;return{width:r,height:o,top:n,left:e,right:e+r,bottom:n+o,x:e,y:n}}function Vt(t,e,n){let{reference:r,floating:o}=t;const i=U(e),l=Pt(e),s=Rt(l),a=q(e),f=i==="y",c=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,h=r[s]/2-o[s]/2;let u;switch(a){case"top":u={x:c,y:r.y-o.height};break;case"bottom":u={x:c,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:d};break;case"left":u={x:r.x-o.width,y:d};break;default:u={x:r.x,y:r.y}}switch(K(e)){case"start":u[l]-=h*(n&&f?-1:1);break;case"end":u[l]+=h*(n&&f?-1:1);break}return u}const ke=async(t,e,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,s=i.filter(Boolean),a=await(l.isRTL==null?void 0:l.isRTL(e));let f=await l.getElementRects({reference:t,floating:e,strategy:o}),{x:c,y:d}=Vt(f,r,a),h=r,u={},p=0;for(let m=0;m<s.length;m++){const{name:y,fn:g}=s[m],{x:w,y:x,data:v,reset:b}=await g({x:c,y:d,initialPlacement:r,placement:h,strategy:o,middlewareData:u,rects:f,platform:l,elements:{reference:t,floating:e}});c=w??c,d=x??d,u={...u,[y]:{...u[y],...v}},b&&p<=50&&(p++,typeof b=="object"&&(b.placement&&(h=b.placement),b.rects&&(f=b.rects===!0?await l.getElementRects({reference:t,floating:e,strategy:o}):b.rects),{x:c,y:d}=Vt(f,h,a)),m=-1)}return{x:c,y:d,placement:h,strategy:o,middlewareData:u}};async function ot(t,e){var n;e===void 0&&(e={});const{x:r,y:o,platform:i,rects:l,elements:s,strategy:a}=t,{boundary:f="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:h=!1,padding:u=0}=X(e,t),p=Mt(u),m=s[h?d==="floating"?"reference":"floating":d],y=pt(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(m)))==null||n?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:f,rootBoundary:c,strategy:a})),g=d==="floating"?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),x=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},v=pt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:g,offsetParent:w,strategy:a}):g);return{top:(y.top-v.top+p.top)/x.y,bottom:(v.bottom-y.bottom+p.bottom)/x.y,left:(y.left-v.left+p.left)/x.x,right:(v.right-y.right+p.right)/x.x}}const Fe=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:o,rects:i,platform:l,elements:s,middlewareData:a}=e,{element:f,padding:c=0}=X(t,e)||{};if(f==null)return{};const d=Mt(c),h={x:n,y:r},u=Pt(o),p=Rt(u),m=await l.getDimensions(f),y=u==="y",g=y?"top":"left",w=y?"bottom":"right",x=y?"clientHeight":"clientWidth",v=i.reference[p]+i.reference[u]-h[u]-i.floating[p],b=h[u]-i.reference[u],A=await(l.getOffsetParent==null?void 0:l.getOffsetParent(f));let P=A?A[x]:0;(!P||!await(l.isElement==null?void 0:l.isElement(A)))&&(P=s.floating[x]||i.floating[p]);const O=v/2-b/2,W=P/2-m[p]/2-1,E=Q(d[g],W),D=Q(d[w],W),H=E,T=P-m[p]-D,R=P/2-m[p]/2+O,B=$t(H,R,T),S=!a.arrow&&K(o)!=null&&R!==B&&i.reference[p]/2-(R<H?E:D)-m[p]/2<0,L=S?R<H?R-H:R-T:0;return{[u]:h[u]+L,data:{[u]:B,centerOffset:R-B-L,...S&&{alignmentOffset:L}},reset:S}}}),Be=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:o,middlewareData:i,rects:l,initialPlacement:s,platform:a,elements:f}=e,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...y}=X(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=q(o),w=U(s),x=q(s)===s,v=await(a.isRTL==null?void 0:a.isRTL(f.floating)),b=h||(x||!m?[dt(s)]:Ce(s)),A=p!=="none";!h&&A&&b.push(...He(s,m,p,v));const P=[s,...b],O=await ot(e,y),W=[];let E=((r=i.flip)==null?void 0:r.overflows)||[];if(c&&W.push(O[g]),d){const R=Ee(o,l,v);W.push(O[R[0]],O[R[1]])}if(E=[...E,{placement:o,overflows:W}],!W.every(R=>R<=0)){var D,H;const R=(((D=i.flip)==null?void 0:D.index)||0)+1,B=P[R];if(B)return{data:{index:R,overflows:E},reset:{placement:B}};let S=(H=E.filter(L=>L.overflows[0]<=0).sort((L,$)=>L.overflows[1]-$.overflows[1])[0])==null?void 0:H.placement;if(!S)switch(u){case"bestFit":{var T;const L=(T=E.filter($=>{if(A){const C=U($.placement);return C===w||C==="y"}return!0}).map($=>[$.placement,$.overflows.filter(C=>C>0).reduce((C,_)=>C+_,0)]).sort(($,C)=>$[1]-C[1])[0])==null?void 0:T[0];L&&(S=L);break}case"initialPlacement":S=s;break}if(o!==S)return{reset:{placement:S}}}return{}}}};function Yt(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function jt(t){return Nt.some(e=>t[e]>=0)}const ze=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:r="referenceHidden",...o}=X(t,e);switch(r){case"referenceHidden":{const i=await ot(e,{...o,elementContext:"reference"}),l=Yt(i,n.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:jt(l)}}}case"escaped":{const i=await ot(e,{...o,altBoundary:!0}),l=Yt(i,n.floating);return{data:{escapedOffsets:l,escaped:jt(l)}}}default:return{}}}}};async function Ne(t,e){const{placement:n,platform:r,elements:o}=t,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),l=q(n),s=K(n),a=U(n)==="y",f=["left","top"].includes(l)?-1:1,c=i&&a?-1:1,d=X(e,t);let{mainAxis:h,crossAxis:u,alignmentAxis:p}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof p=="number"&&(u=s==="end"?p*-1:p),a?{x:u*c,y:h*f}:{x:h*f,y:u*c}}const _e=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:o,y:i,placement:l,middlewareData:s}=e,a=await Ne(e,t);return l===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:l}}}}},Me=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:o}=e,{mainAxis:i=!0,crossAxis:l=!1,limiter:s={fn:y=>{let{x:g,y:w}=y;return{x:g,y:w}}},...a}=X(t,e),f={x:n,y:r},c=await ot(e,a),d=U(q(o)),h=At(d);let u=f[h],p=f[d];if(i){const y=h==="y"?"top":"left",g=h==="y"?"bottom":"right",w=u+c[y],x=u-c[g];u=$t(w,u,x)}if(l){const y=d==="y"?"top":"left",g=d==="y"?"bottom":"right",w=p+c[y],x=p-c[g];p=$t(w,p,x)}const m=s.fn({...e,[h]:u,[d]:p});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[h]:i,[d]:l}}}}}},Ve=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:r,placement:o,rects:i,middlewareData:l}=e,{offset:s=0,mainAxis:a=!0,crossAxis:f=!0}=X(t,e),c={x:n,y:r},d=U(o),h=At(d);let u=c[h],p=c[d];const m=X(s,e),y=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(a){const x=h==="y"?"height":"width",v=i.reference[h]-i.floating[x]+y.mainAxis,b=i.reference[h]+i.reference[x]-y.mainAxis;u<v?u=v:u>b&&(u=b)}if(f){var g,w;const x=h==="y"?"width":"height",v=["top","left"].includes(q(o)),b=i.reference[d]-i.floating[x]+(v&&((g=l.offset)==null?void 0:g[d])||0)+(v?0:y.crossAxis),A=i.reference[d]+i.reference[x]+(v?0:((w=l.offset)==null?void 0:w[d])||0)-(v?y.crossAxis:0);p<b?p=b:p>A&&(p=A)}return{[h]:u,[d]:p}}}},Ye=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,r;const{placement:o,rects:i,platform:l,elements:s}=e,{apply:a=()=>{},...f}=X(t,e),c=await ot(e,f),d=q(o),h=K(o),u=U(o)==="y",{width:p,height:m}=i.floating;let y,g;d==="top"||d==="bottom"?(y=d,g=h===(await(l.isRTL==null?void 0:l.isRTL(s.floating))?"start":"end")?"left":"right"):(g=d,y=h==="end"?"top":"bottom");const w=m-c.top-c.bottom,x=p-c.left-c.right,v=Q(m-c[y],w),b=Q(p-c[g],x),A=!e.middlewareData.shift;let P=v,O=b;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(O=x),(r=e.middlewareData.shift)!=null&&r.enabled.y&&(P=w),A&&!h){const E=k(c.left,0),D=k(c.right,0),H=k(c.top,0),T=k(c.bottom,0);u?O=p-2*(E!==0||D!==0?E+D:k(c.left,c.right)):P=m-2*(H!==0||T!==0?H+T:k(c.top,c.bottom))}await a({...e,availableWidth:O,availableHeight:P});const W=await l.getDimensions(s.floating);return p!==W.width||m!==W.height?{reset:{rects:!0}}:{}}}};function ht(){return typeof window<"u"}function tt(t){return It(t)?(t.nodeName||"").toLowerCase():"#document"}function F(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function V(t){var e;return(e=(It(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function It(t){return ht()?t instanceof Node||t instanceof F(t).Node:!1}function z(t){return ht()?t instanceof Element||t instanceof F(t).Element:!1}function Y(t){return ht()?t instanceof HTMLElement||t instanceof F(t).HTMLElement:!1}function Xt(t){return!ht()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof F(t).ShadowRoot}function it(t){const{overflow:e,overflowX:n,overflowY:r,display:o}=N(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(o)}function je(t){return["table","td","th"].includes(tt(t))}function mt(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function St(t){const e=Lt(),n=z(t)?N(t):t;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Ie(t){let e=Z(t);for(;Y(e)&&!et(e);){if(St(e))return e;if(mt(e))return null;e=Z(e)}return null}function Lt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function et(t){return["html","body","#document"].includes(tt(t))}function N(t){return F(t).getComputedStyle(t)}function gt(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Z(t){if(tt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Xt(t)&&t.host||V(t);return Xt(e)?e.host:e}function qt(t){const e=Z(t);return et(e)?t.ownerDocument?t.ownerDocument.body:t.body:Y(e)&&it(e)?e:qt(e)}function lt(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const o=qt(t),i=o===((r=t.ownerDocument)==null?void 0:r.body),l=F(o);if(i){const s=Ot(l);return e.concat(l,l.visualViewport||[],it(o)?o:[],s&&n?lt(s):[])}return e.concat(o,lt(o,[],n))}function Ot(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Qt(t){const e=N(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const o=Y(t),i=o?t.offsetWidth:n,l=o?t.offsetHeight:r,s=ft(n)!==i||ft(r)!==l;return s&&(n=i,r=l),{width:n,height:r,$:s}}function Et(t){return z(t)?t:t.contextElement}function nt(t){const e=Et(t);if(!Y(e))return M(1);const n=e.getBoundingClientRect(),{width:r,height:o,$:i}=Qt(e);let l=(i?ft(n.width):n.width)/r,s=(i?ft(n.height):n.height)/o;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}const Xe=M(0);function Ut(t){const e=F(t);return!Lt()||!e.visualViewport?Xe:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function qe(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==F(t)?!1:e}function G(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=Et(t);let l=M(1);e&&(r?z(r)&&(l=nt(r)):l=nt(t));const s=qe(i,n,r)?Ut(i):M(0);let a=(o.left+s.x)/l.x,f=(o.top+s.y)/l.y,c=o.width/l.x,d=o.height/l.y;if(i){const h=F(i),u=r&&z(r)?F(r):r;let p=h,m=Ot(p);for(;m&&r&&u!==p;){const y=nt(m),g=m.getBoundingClientRect(),w=N(m),x=g.left+(m.clientLeft+parseFloat(w.paddingLeft))*y.x,v=g.top+(m.clientTop+parseFloat(w.paddingTop))*y.y;a*=y.x,f*=y.y,c*=y.x,d*=y.y,a+=x,f+=v,p=F(m),m=Ot(p)}}return pt({width:c,height:d,x:a,y:f})}function Ct(t,e){const n=gt(t).scrollLeft;return e?e.left+n:G(V(t)).left+n}function Zt(t,e,n){n===void 0&&(n=!1);const r=t.getBoundingClientRect(),o=r.left+e.scrollLeft-(n?0:Ct(t,r)),i=r.top+e.scrollTop;return{x:o,y:i}}function Qe(t){let{elements:e,rect:n,offsetParent:r,strategy:o}=t;const i=o==="fixed",l=V(r),s=e?mt(e.floating):!1;if(r===l||s&&i)return n;let a={scrollLeft:0,scrollTop:0},f=M(1);const c=M(0),d=Y(r);if((d||!d&&!i)&&((tt(r)!=="body"||it(l))&&(a=gt(r)),Y(r))){const u=G(r);f=nt(r),c.x=u.x+r.clientLeft,c.y=u.y+r.clientTop}const h=l&&!d&&!i?Zt(l,a,!0):M(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-a.scrollLeft*f.x+c.x+h.x,y:n.y*f.y-a.scrollTop*f.y+c.y+h.y}}function Ue(t){return Array.from(t.getClientRects())}function Ze(t){const e=V(t),n=gt(t),r=t.ownerDocument.body,o=k(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=k(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+Ct(t);const s=-n.scrollTop;return N(r).direction==="rtl"&&(l+=k(e.clientWidth,r.clientWidth)-o),{width:o,height:i,x:l,y:s}}function Ge(t,e){const n=F(t),r=V(t),o=n.visualViewport;let i=r.clientWidth,l=r.clientHeight,s=0,a=0;if(o){i=o.width,l=o.height;const f=Lt();(!f||f&&e==="fixed")&&(s=o.offsetLeft,a=o.offsetTop)}return{width:i,height:l,x:s,y:a}}function Je(t,e){const n=G(t,!0,e==="fixed"),r=n.top+t.clientTop,o=n.left+t.clientLeft,i=Y(t)?nt(t):M(1),l=t.clientWidth*i.x,s=t.clientHeight*i.y,a=o*i.x,f=r*i.y;return{width:l,height:s,x:a,y:f}}function Gt(t,e,n){let r;if(e==="viewport")r=Ge(t,n);else if(e==="document")r=Ze(V(t));else if(z(e))r=Je(e,n);else{const o=Ut(t);r={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return pt(r)}function Jt(t,e){const n=Z(t);return n===e||!z(n)||et(n)?!1:N(n).position==="fixed"||Jt(n,e)}function Ke(t,e){const n=e.get(t);if(n)return n;let r=lt(t,[],!1).filter(s=>z(s)&&tt(s)!=="body"),o=null;const i=N(t).position==="fixed";let l=i?Z(t):t;for(;z(l)&&!et(l);){const s=N(l),a=St(l);!a&&s.position==="fixed"&&(o=null),(i?!a&&!o:!a&&s.position==="static"&&o&&["absolute","fixed"].includes(o.position)||it(l)&&!a&&Jt(t,l))?r=r.filter(f=>f!==l):o=s,l=Z(l)}return e.set(t,r),r}function tn(t){let{element:e,boundary:n,rootBoundary:r,strategy:o}=t;const i=[...n==="clippingAncestors"?mt(e)?[]:Ke(e,this._c):[].concat(n),r],l=i[0],s=i.reduce((a,f)=>{const c=Gt(e,f,o);return a.top=k(c.top,a.top),a.right=Q(c.right,a.right),a.bottom=Q(c.bottom,a.bottom),a.left=k(c.left,a.left),a},Gt(e,l,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function en(t){const{width:e,height:n}=Qt(t);return{width:e,height:n}}function nn(t,e,n){const r=Y(e),o=V(e),i=n==="fixed",l=G(t,!0,i,e);let s={scrollLeft:0,scrollTop:0};const a=M(0);if(r||!r&&!i)if((tt(e)!=="body"||it(o))&&(s=gt(e)),r){const h=G(e,!0,i,e);a.x=h.x+e.clientLeft,a.y=h.y+e.clientTop}else o&&(a.x=Ct(o));const f=o&&!r&&!i?Zt(o,s):M(0),c=l.left+s.scrollLeft-a.x-f.x,d=l.top+s.scrollTop-a.y-f.y;return{x:c,y:d,width:l.width,height:l.height}}function Dt(t){return N(t).position==="static"}function Kt(t,e){if(!Y(t)||N(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return V(t)===n&&(n=n.ownerDocument.body),n}function te(t,e){const n=F(t);if(mt(t))return n;if(!Y(t)){let o=Z(t);for(;o&&!et(o);){if(z(o)&&!Dt(o))return o;o=Z(o)}return n}let r=Kt(t,e);for(;r&&je(r)&&Dt(r);)r=Kt(r,e);return r&&et(r)&&Dt(r)&&!St(r)?n:r||Ie(t)||n}const rn=async function(t){const e=this.getOffsetParent||te,n=this.getDimensions,r=await n(t.floating);return{reference:nn(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function on(t){return N(t).direction==="rtl"}const ln={convertOffsetParentRelativeRectToViewportRelativeRect:Qe,getDocumentElement:V,getClippingRect:tn,getOffsetParent:te,getElementRects:rn,getClientRects:Ue,getDimensions:en,getScale:nt,isElement:z,isRTL:on};function sn(t,e){let n=null,r;const o=V(t);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function l(s,a){s===void 0&&(s=!1),a===void 0&&(a=1),i();const{left:f,top:c,width:d,height:h}=t.getBoundingClientRect();if(s||e(),!d||!h)return;const u=ut(c),p=ut(o.clientWidth-(f+d)),m=ut(o.clientHeight-(c+h)),y=ut(f),g={rootMargin:-u+"px "+-p+"px "+-m+"px "+-y+"px",threshold:k(0,Q(1,a))||1};let w=!0;function x(v){const b=v[0].intersectionRatio;if(b!==a){if(!w)return l();b?l(!1,b):r=setTimeout(()=>{l(!1,1e-7)},1e3)}w=!1}try{n=new IntersectionObserver(x,{...g,root:o.ownerDocument})}catch{n=new IntersectionObserver(x,g)}n.observe(t)}return l(!0),i}function an(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,f=Et(t),c=o||i?[...f?lt(f):[],...lt(e)]:[];c.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),i&&g.addEventListener("resize",n)});const d=f&&s?sn(f,n):null;let h=-1,u=null;l&&(u=new ResizeObserver(g=>{let[w]=g;w&&w.target===f&&u&&(u.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var x;(x=u)==null||x.observe(e)})),n()}),f&&!a&&u.observe(f),u.observe(e));let p,m=a?G(t):null;a&&y();function y(){const g=G(t);m&&(g.x!==m.x||g.y!==m.y||g.width!==m.width||g.height!==m.height)&&n(),m=g,p=requestAnimationFrame(y)}return n(),()=>{var g;c.forEach(w=>{o&&w.removeEventListener("scroll",n),i&&w.removeEventListener("resize",n)}),d?.(),(g=u)==null||g.disconnect(),u=null,a&&cancelAnimationFrame(p)}}const cn=_e,fn=Me,un=Be,dn=Ye,pn=ze,ee=Fe,hn=Ve,mn=(t,e,n)=>{const r=new Map,o={platform:ln,...n},i={...o.platform,_c:r};return ke(t,e,{...o,platform:i})};var yt=typeof document<"u"?Re:Bt;function wt(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,r,o;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(r=n;r--!==0;)if(!wt(t[r],e[r]))return!1;return!0}if(o=Object.keys(t),n=o.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(e,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&t.$$typeof)&&!wt(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function ne(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function re(t,e){const n=ne(t);return Math.round(e*n)/n}function Ht(t){const e=J(t);return yt(()=>{e.current=t}),e}function gn(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:l}={},transform:s=!0,whileElementsMounted:a,open:f}=t,[c,d]=j({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[h,u]=j(r);wt(h,r)||u(r);const[p,m]=j(null),[y,g]=j(null),w=xt($=>{$!==A.current&&(A.current=$,m($))},[]),x=xt($=>{$!==P.current&&(P.current=$,g($))},[]),v=i||p,b=l||y,A=J(null),P=J(null),O=J(c),W=a!=null,E=Ht(a),D=Ht(o),H=Ht(f),T=xt(()=>{if(!A.current||!P.current)return;const $={placement:e,strategy:n,middleware:h};D.current&&($.platform=D.current),mn(A.current,P.current,$).then(C=>{const _={...C,isPositioned:H.current!==!1};R.current&&!wt(O.current,_)&&(O.current=_,Pe(()=>{d(_)}))})},[h,e,n,D,H]);yt(()=>{f===!1&&O.current.isPositioned&&(O.current.isPositioned=!1,d($=>({...$,isPositioned:!1})))},[f]);const R=J(!1);yt(()=>(R.current=!0,()=>{R.current=!1}),[]),yt(()=>{if(v&&(A.current=v),b&&(P.current=b),v&&b){if(E.current)return E.current(v,b,T);T()}},[v,b,T,E,W]);const B=at(()=>({reference:A,floating:P,setReference:w,setFloating:x}),[w,x]),S=at(()=>({reference:v,floating:b}),[v,b]),L=at(()=>{const $={position:n,left:0,top:0};if(!S.floating)return $;const C=re(S.floating,c.x),_=re(S.floating,c.y);return s?{...$,transform:"translate("+C+"px, "+_+"px)",...ne(S.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:C,top:_}},[n,s,S.floating,c.x,c.y]);return at(()=>({...c,update:T,refs:B,elements:S,floatingStyles:L}),[c,T,B,S,L])}const yn=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:r,padding:o}=typeof t=="function"?t(n):t;return r&&e(r)?r.current!=null?ee({element:r.current,padding:o}).fn(n):{}:r?ee({element:r,padding:o}).fn(n):{}}}},wn=(t,e)=>({...cn(t),options:[t,e]}),xn=(t,e)=>({...fn(t),options:[t,e]}),vn=(t,e)=>({...hn(t),options:[t,e]}),bn=(t,e)=>({...un(t),options:[t,e]}),$n=(t,e)=>({...dn(t),options:[t,e]}),An=(t,e)=>({...pn(t),options:[t,e]}),Rn=(t,e)=>({...yn(t),options:[t,e]});var Pn="Arrow",oe=ct((t,e)=>{const{children:n,width:r=10,height:o=5,...i}=t;return I(vt.svg,{...i,ref:e,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:I("polygon",{points:"0,0 30,0 15,10"})})});oe.displayName=Pn;var Tn=oe;function Sn(t){const[e,n]=j(void 0);return bt(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let l,s;if("borderBoxSize"in i){const a=i.borderBoxSize,f=Array.isArray(a)?a[0]:a;l=f.inlineSize,s=f.blockSize}else l=t.offsetWidth,s=t.offsetHeight;n({width:l,height:s})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else n(void 0)},[t]),e}var Wt="Popper",[ie,Ln]=Te(Wt),[On,le]=ie(Wt),se=t=>{const{__scopePopper:e,children:n}=t,[r,o]=j(null);return I(On,{scope:e,anchor:r,onAnchorChange:o,children:n})};se.displayName=Wt;var ae="PopperAnchor",ce=ct((t,e)=>{const{__scopePopper:n,virtualRef:r,...o}=t,i=le(ae,n),l=J(null),s=zt(e,l);return Bt(()=>{i.onAnchorChange(r?.current||l.current)}),r?null:I(vt.div,{...o,ref:s})});ce.displayName=ae;var kt="PopperContent",[En,Cn]=ie(kt),fe=ct((t,e)=>{const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:l=0,arrowPadding:s=0,avoidCollisions:a=!0,collisionBoundary:f=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:h=!1,updatePositionStrategy:u="optimized",onPlaced:p,...m}=t,y=le(kt,n),[g,w]=j(null),x=zt(e,rt=>w(rt)),[v,b]=j(null),A=Sn(v),P=A?.width??0,O=A?.height??0,W=r+(i!=="center"?"-"+i:""),E=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},D=Array.isArray(f)?f:[f],H=D.length>0,T={padding:E,boundary:D.filter(Hn),altBoundary:H},{refs:R,floatingStyles:B,placement:S,isPositioned:L,middlewareData:$}=gn({strategy:"fixed",placement:W,whileElementsMounted:(...rt)=>an(...rt,{animationFrame:u==="always"}),elements:{reference:y.anchor},middleware:[wn({mainAxis:o+O,alignmentAxis:l}),a&&xn({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?vn():void 0,...T}),a&&bn({...T}),$n({...T,apply:({elements:rt,rects:xe,availableWidth:ve,availableHeight:be})=>{const{width:$e,height:Ae}=xe.reference,st=rt.floating.style;st.setProperty("--radix-popper-available-width",`${ve}px`),st.setProperty("--radix-popper-available-height",`${be}px`),st.setProperty("--radix-popper-anchor-width",`${$e}px`),st.setProperty("--radix-popper-anchor-height",`${Ae}px`)}}),v&&Rn({element:v,padding:s}),Wn({arrowWidth:P,arrowHeight:O}),h&&An({strategy:"referenceHidden",...T})]}),[C,_]=pe(S),Ft=Se(p);bt(()=>{L&&Ft?.()},[L,Ft]);const he=$.arrow?.x,me=$.arrow?.y,ge=$.arrow?.centerOffset!==0,[ye,we]=j();return bt(()=>{g&&we(window.getComputedStyle(g).zIndex)},[g]),I("div",{ref:R.setFloating,"data-radix-popper-content-wrapper":"",style:{...B,transform:L?B.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ye,["--radix-popper-transform-origin"]:[$.transformOrigin?.x,$.transformOrigin?.y].join(" "),...$.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:I(En,{scope:n,placedSide:C,onArrowChange:b,arrowX:he,arrowY:me,shouldHideArrow:ge,children:I(vt.div,{"data-side":C,"data-align":_,...m,ref:x,style:{...m.style,animation:L?void 0:"none"}})})})});fe.displayName=kt;var ue="PopperArrow",Dn={top:"bottom",right:"left",bottom:"top",left:"right"},de=ct(function(t,e){const{__scopePopper:n,...r}=t,o=Cn(ue,n),i=Dn[o.placedSide];return I("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:I(Tn,{...r,ref:e,style:{...r.style,display:"block"}})})});de.displayName=ue;function Hn(t){return t!==null}var Wn=t=>({name:"transformOrigin",options:t,fn(e){const{placement:n,rects:r,middlewareData:o}=e,i=o.arrow?.centerOffset!==0,l=i?0:t.arrowWidth,s=i?0:t.arrowHeight,[a,f]=pe(n),c={start:"0%",center:"50%",end:"100%"}[f],d=(o.arrow?.x??0)+l/2,h=(o.arrow?.y??0)+s/2;let u="",p="";return a==="bottom"?(u=i?c:`${d}px`,p=`${-s}px`):a==="top"?(u=i?c:`${d}px`,p=`${r.floating.height+s}px`):a==="right"?(u=`${-s}px`,p=i?c:`${h}px`):a==="left"&&(u=`${r.floating.width+s}px`,p=i?c:`${h}px`),{data:{x:u,y:p}}}});function pe(t){const[e,n="center"]=t.split("-");return[e,n]}var kn=se,Fn=ce,Bn=fe,zn=de;export{zn as D,Ln as R,kn as W,Bn as Y,Fn as z};
|
|
1
|
+
import{T as j,w as xt,W as J,P as Re,S as Bt,H as at,p as Pe,$ as ct,u as I}from"./register-CNODxtve.js";import{t as vt}from"./index-CkLQ3Mzx.js";import{s as zt}from"./index-lV0VqqMH.js";import{l as Te}from"./index-CuahE2cr.js";import{c as Se}from"./index-DZeZJhiY.js";import{o as bt}from"./index-DMKpiOYW.js";const Nt=["top","right","bottom","left"],_t=["start","end"];Nt.reduce((t,e)=>t.concat(e,e+"-"+_t[0],e+"-"+_t[1]),[]);const Q=Math.min,k=Math.max,ft=Math.round,ut=Math.floor,M=t=>({x:t,y:t}),Le={left:"right",right:"left",bottom:"top",top:"bottom"},Oe={start:"end",end:"start"};function $t(t,e,n){return k(t,Q(e,n))}function X(t,e){return typeof t=="function"?t(e):t}function q(t){return t.split("-")[0]}function K(t){return t.split("-")[1]}function At(t){return t==="x"?"y":"x"}function Rt(t){return t==="y"?"height":"width"}function U(t){return["top","bottom"].includes(q(t))?"y":"x"}function Pt(t){return At(U(t))}function Ee(t,e,n){n===void 0&&(n=!1);const r=K(t),o=Pt(t),i=Rt(o);let l=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(l=dt(l)),[l,dt(l)]}function Ce(t){const e=dt(t);return[Tt(t),e,Tt(e)]}function Tt(t){return t.replace(/start|end/g,e=>Oe[e])}function De(t,e,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],l=["bottom","top"];switch(t){case"top":case"bottom":return n?e?o:r:e?r:o;case"left":case"right":return e?i:l;default:return[]}}function He(t,e,n,r){const o=K(t);let i=De(q(t),n==="start",r);return o&&(i=i.map(l=>l+"-"+o),e&&(i=i.concat(i.map(Tt)))),i}function dt(t){return t.replace(/left|right|bottom|top/g,e=>Le[e])}function We(t){return{top:0,right:0,bottom:0,left:0,...t}}function Mt(t){return typeof t!="number"?We(t):{top:t,right:t,bottom:t,left:t}}function pt(t){const{x:e,y:n,width:r,height:o}=t;return{width:r,height:o,top:n,left:e,right:e+r,bottom:n+o,x:e,y:n}}function Vt(t,e,n){let{reference:r,floating:o}=t;const i=U(e),l=Pt(e),s=Rt(l),a=q(e),f=i==="y",c=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,h=r[s]/2-o[s]/2;let u;switch(a){case"top":u={x:c,y:r.y-o.height};break;case"bottom":u={x:c,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:d};break;case"left":u={x:r.x-o.width,y:d};break;default:u={x:r.x,y:r.y}}switch(K(e)){case"start":u[l]-=h*(n&&f?-1:1);break;case"end":u[l]+=h*(n&&f?-1:1);break}return u}const ke=async(t,e,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,s=i.filter(Boolean),a=await(l.isRTL==null?void 0:l.isRTL(e));let f=await l.getElementRects({reference:t,floating:e,strategy:o}),{x:c,y:d}=Vt(f,r,a),h=r,u={},p=0;for(let m=0;m<s.length;m++){const{name:y,fn:g}=s[m],{x:w,y:x,data:v,reset:b}=await g({x:c,y:d,initialPlacement:r,placement:h,strategy:o,middlewareData:u,rects:f,platform:l,elements:{reference:t,floating:e}});c=w??c,d=x??d,u={...u,[y]:{...u[y],...v}},b&&p<=50&&(p++,typeof b=="object"&&(b.placement&&(h=b.placement),b.rects&&(f=b.rects===!0?await l.getElementRects({reference:t,floating:e,strategy:o}):b.rects),{x:c,y:d}=Vt(f,h,a)),m=-1)}return{x:c,y:d,placement:h,strategy:o,middlewareData:u}};async function ot(t,e){var n;e===void 0&&(e={});const{x:r,y:o,platform:i,rects:l,elements:s,strategy:a}=t,{boundary:f="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:h=!1,padding:u=0}=X(e,t),p=Mt(u),m=s[h?d==="floating"?"reference":"floating":d],y=pt(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(m)))==null||n?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:f,rootBoundary:c,strategy:a})),g=d==="floating"?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),x=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},v=pt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:g,offsetParent:w,strategy:a}):g);return{top:(y.top-v.top+p.top)/x.y,bottom:(v.bottom-y.bottom+p.bottom)/x.y,left:(y.left-v.left+p.left)/x.x,right:(v.right-y.right+p.right)/x.x}}const Fe=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:o,rects:i,platform:l,elements:s,middlewareData:a}=e,{element:f,padding:c=0}=X(t,e)||{};if(f==null)return{};const d=Mt(c),h={x:n,y:r},u=Pt(o),p=Rt(u),m=await l.getDimensions(f),y=u==="y",g=y?"top":"left",w=y?"bottom":"right",x=y?"clientHeight":"clientWidth",v=i.reference[p]+i.reference[u]-h[u]-i.floating[p],b=h[u]-i.reference[u],A=await(l.getOffsetParent==null?void 0:l.getOffsetParent(f));let P=A?A[x]:0;(!P||!await(l.isElement==null?void 0:l.isElement(A)))&&(P=s.floating[x]||i.floating[p]);const O=v/2-b/2,W=P/2-m[p]/2-1,E=Q(d[g],W),D=Q(d[w],W),H=E,T=P-m[p]-D,R=P/2-m[p]/2+O,B=$t(H,R,T),S=!a.arrow&&K(o)!=null&&R!==B&&i.reference[p]/2-(R<H?E:D)-m[p]/2<0,L=S?R<H?R-H:R-T:0;return{[u]:h[u]+L,data:{[u]:B,centerOffset:R-B-L,...S&&{alignmentOffset:L}},reset:S}}}),Be=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:o,middlewareData:i,rects:l,initialPlacement:s,platform:a,elements:f}=e,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...y}=X(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=q(o),w=U(s),x=q(s)===s,v=await(a.isRTL==null?void 0:a.isRTL(f.floating)),b=h||(x||!m?[dt(s)]:Ce(s)),A=p!=="none";!h&&A&&b.push(...He(s,m,p,v));const P=[s,...b],O=await ot(e,y),W=[];let E=((r=i.flip)==null?void 0:r.overflows)||[];if(c&&W.push(O[g]),d){const R=Ee(o,l,v);W.push(O[R[0]],O[R[1]])}if(E=[...E,{placement:o,overflows:W}],!W.every(R=>R<=0)){var D,H;const R=(((D=i.flip)==null?void 0:D.index)||0)+1,B=P[R];if(B)return{data:{index:R,overflows:E},reset:{placement:B}};let S=(H=E.filter(L=>L.overflows[0]<=0).sort((L,$)=>L.overflows[1]-$.overflows[1])[0])==null?void 0:H.placement;if(!S)switch(u){case"bestFit":{var T;const L=(T=E.filter($=>{if(A){const C=U($.placement);return C===w||C==="y"}return!0}).map($=>[$.placement,$.overflows.filter(C=>C>0).reduce((C,_)=>C+_,0)]).sort(($,C)=>$[1]-C[1])[0])==null?void 0:T[0];L&&(S=L);break}case"initialPlacement":S=s;break}if(o!==S)return{reset:{placement:S}}}return{}}}};function Yt(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function jt(t){return Nt.some(e=>t[e]>=0)}const ze=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:r="referenceHidden",...o}=X(t,e);switch(r){case"referenceHidden":{const i=await ot(e,{...o,elementContext:"reference"}),l=Yt(i,n.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:jt(l)}}}case"escaped":{const i=await ot(e,{...o,altBoundary:!0}),l=Yt(i,n.floating);return{data:{escapedOffsets:l,escaped:jt(l)}}}default:return{}}}}};async function Ne(t,e){const{placement:n,platform:r,elements:o}=t,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),l=q(n),s=K(n),a=U(n)==="y",f=["left","top"].includes(l)?-1:1,c=i&&a?-1:1,d=X(e,t);let{mainAxis:h,crossAxis:u,alignmentAxis:p}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof p=="number"&&(u=s==="end"?p*-1:p),a?{x:u*c,y:h*f}:{x:h*f,y:u*c}}const _e=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:o,y:i,placement:l,middlewareData:s}=e,a=await Ne(e,t);return l===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:l}}}}},Me=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:o}=e,{mainAxis:i=!0,crossAxis:l=!1,limiter:s={fn:y=>{let{x:g,y:w}=y;return{x:g,y:w}}},...a}=X(t,e),f={x:n,y:r},c=await ot(e,a),d=U(q(o)),h=At(d);let u=f[h],p=f[d];if(i){const y=h==="y"?"top":"left",g=h==="y"?"bottom":"right",w=u+c[y],x=u-c[g];u=$t(w,u,x)}if(l){const y=d==="y"?"top":"left",g=d==="y"?"bottom":"right",w=p+c[y],x=p-c[g];p=$t(w,p,x)}const m=s.fn({...e,[h]:u,[d]:p});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[h]:i,[d]:l}}}}}},Ve=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:r,placement:o,rects:i,middlewareData:l}=e,{offset:s=0,mainAxis:a=!0,crossAxis:f=!0}=X(t,e),c={x:n,y:r},d=U(o),h=At(d);let u=c[h],p=c[d];const m=X(s,e),y=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(a){const x=h==="y"?"height":"width",v=i.reference[h]-i.floating[x]+y.mainAxis,b=i.reference[h]+i.reference[x]-y.mainAxis;u<v?u=v:u>b&&(u=b)}if(f){var g,w;const x=h==="y"?"width":"height",v=["top","left"].includes(q(o)),b=i.reference[d]-i.floating[x]+(v&&((g=l.offset)==null?void 0:g[d])||0)+(v?0:y.crossAxis),A=i.reference[d]+i.reference[x]+(v?0:((w=l.offset)==null?void 0:w[d])||0)-(v?y.crossAxis:0);p<b?p=b:p>A&&(p=A)}return{[h]:u,[d]:p}}}},Ye=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,r;const{placement:o,rects:i,platform:l,elements:s}=e,{apply:a=()=>{},...f}=X(t,e),c=await ot(e,f),d=q(o),h=K(o),u=U(o)==="y",{width:p,height:m}=i.floating;let y,g;d==="top"||d==="bottom"?(y=d,g=h===(await(l.isRTL==null?void 0:l.isRTL(s.floating))?"start":"end")?"left":"right"):(g=d,y=h==="end"?"top":"bottom");const w=m-c.top-c.bottom,x=p-c.left-c.right,v=Q(m-c[y],w),b=Q(p-c[g],x),A=!e.middlewareData.shift;let P=v,O=b;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(O=x),(r=e.middlewareData.shift)!=null&&r.enabled.y&&(P=w),A&&!h){const E=k(c.left,0),D=k(c.right,0),H=k(c.top,0),T=k(c.bottom,0);u?O=p-2*(E!==0||D!==0?E+D:k(c.left,c.right)):P=m-2*(H!==0||T!==0?H+T:k(c.top,c.bottom))}await a({...e,availableWidth:O,availableHeight:P});const W=await l.getDimensions(s.floating);return p!==W.width||m!==W.height?{reset:{rects:!0}}:{}}}};function ht(){return typeof window<"u"}function tt(t){return It(t)?(t.nodeName||"").toLowerCase():"#document"}function F(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function V(t){var e;return(e=(It(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function It(t){return ht()?t instanceof Node||t instanceof F(t).Node:!1}function z(t){return ht()?t instanceof Element||t instanceof F(t).Element:!1}function Y(t){return ht()?t instanceof HTMLElement||t instanceof F(t).HTMLElement:!1}function Xt(t){return!ht()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof F(t).ShadowRoot}function it(t){const{overflow:e,overflowX:n,overflowY:r,display:o}=N(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(o)}function je(t){return["table","td","th"].includes(tt(t))}function mt(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function St(t){const e=Lt(),n=z(t)?N(t):t;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Ie(t){let e=Z(t);for(;Y(e)&&!et(e);){if(St(e))return e;if(mt(e))return null;e=Z(e)}return null}function Lt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function et(t){return["html","body","#document"].includes(tt(t))}function N(t){return F(t).getComputedStyle(t)}function gt(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Z(t){if(tt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Xt(t)&&t.host||V(t);return Xt(e)?e.host:e}function qt(t){const e=Z(t);return et(e)?t.ownerDocument?t.ownerDocument.body:t.body:Y(e)&&it(e)?e:qt(e)}function lt(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const o=qt(t),i=o===((r=t.ownerDocument)==null?void 0:r.body),l=F(o);if(i){const s=Ot(l);return e.concat(l,l.visualViewport||[],it(o)?o:[],s&&n?lt(s):[])}return e.concat(o,lt(o,[],n))}function Ot(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Qt(t){const e=N(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const o=Y(t),i=o?t.offsetWidth:n,l=o?t.offsetHeight:r,s=ft(n)!==i||ft(r)!==l;return s&&(n=i,r=l),{width:n,height:r,$:s}}function Et(t){return z(t)?t:t.contextElement}function nt(t){const e=Et(t);if(!Y(e))return M(1);const n=e.getBoundingClientRect(),{width:r,height:o,$:i}=Qt(e);let l=(i?ft(n.width):n.width)/r,s=(i?ft(n.height):n.height)/o;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}const Xe=M(0);function Ut(t){const e=F(t);return!Lt()||!e.visualViewport?Xe:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function qe(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==F(t)?!1:e}function G(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=Et(t);let l=M(1);e&&(r?z(r)&&(l=nt(r)):l=nt(t));const s=qe(i,n,r)?Ut(i):M(0);let a=(o.left+s.x)/l.x,f=(o.top+s.y)/l.y,c=o.width/l.x,d=o.height/l.y;if(i){const h=F(i),u=r&&z(r)?F(r):r;let p=h,m=Ot(p);for(;m&&r&&u!==p;){const y=nt(m),g=m.getBoundingClientRect(),w=N(m),x=g.left+(m.clientLeft+parseFloat(w.paddingLeft))*y.x,v=g.top+(m.clientTop+parseFloat(w.paddingTop))*y.y;a*=y.x,f*=y.y,c*=y.x,d*=y.y,a+=x,f+=v,p=F(m),m=Ot(p)}}return pt({width:c,height:d,x:a,y:f})}function Ct(t,e){const n=gt(t).scrollLeft;return e?e.left+n:G(V(t)).left+n}function Zt(t,e,n){n===void 0&&(n=!1);const r=t.getBoundingClientRect(),o=r.left+e.scrollLeft-(n?0:Ct(t,r)),i=r.top+e.scrollTop;return{x:o,y:i}}function Qe(t){let{elements:e,rect:n,offsetParent:r,strategy:o}=t;const i=o==="fixed",l=V(r),s=e?mt(e.floating):!1;if(r===l||s&&i)return n;let a={scrollLeft:0,scrollTop:0},f=M(1);const c=M(0),d=Y(r);if((d||!d&&!i)&&((tt(r)!=="body"||it(l))&&(a=gt(r)),Y(r))){const u=G(r);f=nt(r),c.x=u.x+r.clientLeft,c.y=u.y+r.clientTop}const h=l&&!d&&!i?Zt(l,a,!0):M(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-a.scrollLeft*f.x+c.x+h.x,y:n.y*f.y-a.scrollTop*f.y+c.y+h.y}}function Ue(t){return Array.from(t.getClientRects())}function Ze(t){const e=V(t),n=gt(t),r=t.ownerDocument.body,o=k(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=k(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+Ct(t);const s=-n.scrollTop;return N(r).direction==="rtl"&&(l+=k(e.clientWidth,r.clientWidth)-o),{width:o,height:i,x:l,y:s}}function Ge(t,e){const n=F(t),r=V(t),o=n.visualViewport;let i=r.clientWidth,l=r.clientHeight,s=0,a=0;if(o){i=o.width,l=o.height;const f=Lt();(!f||f&&e==="fixed")&&(s=o.offsetLeft,a=o.offsetTop)}return{width:i,height:l,x:s,y:a}}function Je(t,e){const n=G(t,!0,e==="fixed"),r=n.top+t.clientTop,o=n.left+t.clientLeft,i=Y(t)?nt(t):M(1),l=t.clientWidth*i.x,s=t.clientHeight*i.y,a=o*i.x,f=r*i.y;return{width:l,height:s,x:a,y:f}}function Gt(t,e,n){let r;if(e==="viewport")r=Ge(t,n);else if(e==="document")r=Ze(V(t));else if(z(e))r=Je(e,n);else{const o=Ut(t);r={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return pt(r)}function Jt(t,e){const n=Z(t);return n===e||!z(n)||et(n)?!1:N(n).position==="fixed"||Jt(n,e)}function Ke(t,e){const n=e.get(t);if(n)return n;let r=lt(t,[],!1).filter(s=>z(s)&&tt(s)!=="body"),o=null;const i=N(t).position==="fixed";let l=i?Z(t):t;for(;z(l)&&!et(l);){const s=N(l),a=St(l);!a&&s.position==="fixed"&&(o=null),(i?!a&&!o:!a&&s.position==="static"&&o&&["absolute","fixed"].includes(o.position)||it(l)&&!a&&Jt(t,l))?r=r.filter(f=>f!==l):o=s,l=Z(l)}return e.set(t,r),r}function tn(t){let{element:e,boundary:n,rootBoundary:r,strategy:o}=t;const i=[...n==="clippingAncestors"?mt(e)?[]:Ke(e,this._c):[].concat(n),r],l=i[0],s=i.reduce((a,f)=>{const c=Gt(e,f,o);return a.top=k(c.top,a.top),a.right=Q(c.right,a.right),a.bottom=Q(c.bottom,a.bottom),a.left=k(c.left,a.left),a},Gt(e,l,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function en(t){const{width:e,height:n}=Qt(t);return{width:e,height:n}}function nn(t,e,n){const r=Y(e),o=V(e),i=n==="fixed",l=G(t,!0,i,e);let s={scrollLeft:0,scrollTop:0};const a=M(0);if(r||!r&&!i)if((tt(e)!=="body"||it(o))&&(s=gt(e)),r){const h=G(e,!0,i,e);a.x=h.x+e.clientLeft,a.y=h.y+e.clientTop}else o&&(a.x=Ct(o));const f=o&&!r&&!i?Zt(o,s):M(0),c=l.left+s.scrollLeft-a.x-f.x,d=l.top+s.scrollTop-a.y-f.y;return{x:c,y:d,width:l.width,height:l.height}}function Dt(t){return N(t).position==="static"}function Kt(t,e){if(!Y(t)||N(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return V(t)===n&&(n=n.ownerDocument.body),n}function te(t,e){const n=F(t);if(mt(t))return n;if(!Y(t)){let o=Z(t);for(;o&&!et(o);){if(z(o)&&!Dt(o))return o;o=Z(o)}return n}let r=Kt(t,e);for(;r&&je(r)&&Dt(r);)r=Kt(r,e);return r&&et(r)&&Dt(r)&&!St(r)?n:r||Ie(t)||n}const rn=async function(t){const e=this.getOffsetParent||te,n=this.getDimensions,r=await n(t.floating);return{reference:nn(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function on(t){return N(t).direction==="rtl"}const ln={convertOffsetParentRelativeRectToViewportRelativeRect:Qe,getDocumentElement:V,getClippingRect:tn,getOffsetParent:te,getElementRects:rn,getClientRects:Ue,getDimensions:en,getScale:nt,isElement:z,isRTL:on};function sn(t,e){let n=null,r;const o=V(t);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function l(s,a){s===void 0&&(s=!1),a===void 0&&(a=1),i();const{left:f,top:c,width:d,height:h}=t.getBoundingClientRect();if(s||e(),!d||!h)return;const u=ut(c),p=ut(o.clientWidth-(f+d)),m=ut(o.clientHeight-(c+h)),y=ut(f),g={rootMargin:-u+"px "+-p+"px "+-m+"px "+-y+"px",threshold:k(0,Q(1,a))||1};let w=!0;function x(v){const b=v[0].intersectionRatio;if(b!==a){if(!w)return l();b?l(!1,b):r=setTimeout(()=>{l(!1,1e-7)},1e3)}w=!1}try{n=new IntersectionObserver(x,{...g,root:o.ownerDocument})}catch{n=new IntersectionObserver(x,g)}n.observe(t)}return l(!0),i}function an(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,f=Et(t),c=o||i?[...f?lt(f):[],...lt(e)]:[];c.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),i&&g.addEventListener("resize",n)});const d=f&&s?sn(f,n):null;let h=-1,u=null;l&&(u=new ResizeObserver(g=>{let[w]=g;w&&w.target===f&&u&&(u.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var x;(x=u)==null||x.observe(e)})),n()}),f&&!a&&u.observe(f),u.observe(e));let p,m=a?G(t):null;a&&y();function y(){const g=G(t);m&&(g.x!==m.x||g.y!==m.y||g.width!==m.width||g.height!==m.height)&&n(),m=g,p=requestAnimationFrame(y)}return n(),()=>{var g;c.forEach(w=>{o&&w.removeEventListener("scroll",n),i&&w.removeEventListener("resize",n)}),d?.(),(g=u)==null||g.disconnect(),u=null,a&&cancelAnimationFrame(p)}}const cn=_e,fn=Me,un=Be,dn=Ye,pn=ze,ee=Fe,hn=Ve,mn=(t,e,n)=>{const r=new Map,o={platform:ln,...n},i={...o.platform,_c:r};return ke(t,e,{...o,platform:i})};var yt=typeof document<"u"?Re:Bt;function wt(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,r,o;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(r=n;r--!==0;)if(!wt(t[r],e[r]))return!1;return!0}if(o=Object.keys(t),n=o.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(e,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&t.$$typeof)&&!wt(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function ne(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function re(t,e){const n=ne(t);return Math.round(e*n)/n}function Ht(t){const e=J(t);return yt(()=>{e.current=t}),e}function gn(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:l}={},transform:s=!0,whileElementsMounted:a,open:f}=t,[c,d]=j({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[h,u]=j(r);wt(h,r)||u(r);const[p,m]=j(null),[y,g]=j(null),w=xt($=>{$!==A.current&&(A.current=$,m($))},[]),x=xt($=>{$!==P.current&&(P.current=$,g($))},[]),v=i||p,b=l||y,A=J(null),P=J(null),O=J(c),W=a!=null,E=Ht(a),D=Ht(o),H=Ht(f),T=xt(()=>{if(!A.current||!P.current)return;const $={placement:e,strategy:n,middleware:h};D.current&&($.platform=D.current),mn(A.current,P.current,$).then(C=>{const _={...C,isPositioned:H.current!==!1};R.current&&!wt(O.current,_)&&(O.current=_,Pe(()=>{d(_)}))})},[h,e,n,D,H]);yt(()=>{f===!1&&O.current.isPositioned&&(O.current.isPositioned=!1,d($=>({...$,isPositioned:!1})))},[f]);const R=J(!1);yt(()=>(R.current=!0,()=>{R.current=!1}),[]),yt(()=>{if(v&&(A.current=v),b&&(P.current=b),v&&b){if(E.current)return E.current(v,b,T);T()}},[v,b,T,E,W]);const B=at(()=>({reference:A,floating:P,setReference:w,setFloating:x}),[w,x]),S=at(()=>({reference:v,floating:b}),[v,b]),L=at(()=>{const $={position:n,left:0,top:0};if(!S.floating)return $;const C=re(S.floating,c.x),_=re(S.floating,c.y);return s?{...$,transform:"translate("+C+"px, "+_+"px)",...ne(S.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:C,top:_}},[n,s,S.floating,c.x,c.y]);return at(()=>({...c,update:T,refs:B,elements:S,floatingStyles:L}),[c,T,B,S,L])}const yn=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:r,padding:o}=typeof t=="function"?t(n):t;return r&&e(r)?r.current!=null?ee({element:r.current,padding:o}).fn(n):{}:r?ee({element:r,padding:o}).fn(n):{}}}},wn=(t,e)=>({...cn(t),options:[t,e]}),xn=(t,e)=>({...fn(t),options:[t,e]}),vn=(t,e)=>({...hn(t),options:[t,e]}),bn=(t,e)=>({...un(t),options:[t,e]}),$n=(t,e)=>({...dn(t),options:[t,e]}),An=(t,e)=>({...pn(t),options:[t,e]}),Rn=(t,e)=>({...yn(t),options:[t,e]});var Pn="Arrow",oe=ct((t,e)=>{const{children:n,width:r=10,height:o=5,...i}=t;return I(vt.svg,{...i,ref:e,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:I("polygon",{points:"0,0 30,0 15,10"})})});oe.displayName=Pn;var Tn=oe;function Sn(t){const[e,n]=j(void 0);return bt(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let l,s;if("borderBoxSize"in i){const a=i.borderBoxSize,f=Array.isArray(a)?a[0]:a;l=f.inlineSize,s=f.blockSize}else l=t.offsetWidth,s=t.offsetHeight;n({width:l,height:s})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else n(void 0)},[t]),e}var Wt="Popper",[ie,Ln]=Te(Wt),[On,le]=ie(Wt),se=t=>{const{__scopePopper:e,children:n}=t,[r,o]=j(null);return I(On,{scope:e,anchor:r,onAnchorChange:o,children:n})};se.displayName=Wt;var ae="PopperAnchor",ce=ct((t,e)=>{const{__scopePopper:n,virtualRef:r,...o}=t,i=le(ae,n),l=J(null),s=zt(e,l);return Bt(()=>{i.onAnchorChange(r?.current||l.current)}),r?null:I(vt.div,{...o,ref:s})});ce.displayName=ae;var kt="PopperContent",[En,Cn]=ie(kt),fe=ct((t,e)=>{const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:l=0,arrowPadding:s=0,avoidCollisions:a=!0,collisionBoundary:f=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:h=!1,updatePositionStrategy:u="optimized",onPlaced:p,...m}=t,y=le(kt,n),[g,w]=j(null),x=zt(e,rt=>w(rt)),[v,b]=j(null),A=Sn(v),P=A?.width??0,O=A?.height??0,W=r+(i!=="center"?"-"+i:""),E=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},D=Array.isArray(f)?f:[f],H=D.length>0,T={padding:E,boundary:D.filter(Hn),altBoundary:H},{refs:R,floatingStyles:B,placement:S,isPositioned:L,middlewareData:$}=gn({strategy:"fixed",placement:W,whileElementsMounted:(...rt)=>an(...rt,{animationFrame:u==="always"}),elements:{reference:y.anchor},middleware:[wn({mainAxis:o+O,alignmentAxis:l}),a&&xn({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?vn():void 0,...T}),a&&bn({...T}),$n({...T,apply:({elements:rt,rects:xe,availableWidth:ve,availableHeight:be})=>{const{width:$e,height:Ae}=xe.reference,st=rt.floating.style;st.setProperty("--radix-popper-available-width",`${ve}px`),st.setProperty("--radix-popper-available-height",`${be}px`),st.setProperty("--radix-popper-anchor-width",`${$e}px`),st.setProperty("--radix-popper-anchor-height",`${Ae}px`)}}),v&&Rn({element:v,padding:s}),Wn({arrowWidth:P,arrowHeight:O}),h&&An({strategy:"referenceHidden",...T})]}),[C,_]=pe(S),Ft=Se(p);bt(()=>{L&&Ft?.()},[L,Ft]);const he=$.arrow?.x,me=$.arrow?.y,ge=$.arrow?.centerOffset!==0,[ye,we]=j();return bt(()=>{g&&we(window.getComputedStyle(g).zIndex)},[g]),I("div",{ref:R.setFloating,"data-radix-popper-content-wrapper":"",style:{...B,transform:L?B.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ye,["--radix-popper-transform-origin"]:[$.transformOrigin?.x,$.transformOrigin?.y].join(" "),...$.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:I(En,{scope:n,placedSide:C,onArrowChange:b,arrowX:he,arrowY:me,shouldHideArrow:ge,children:I(vt.div,{"data-side":C,"data-align":_,...m,ref:x,style:{...m.style,animation:L?void 0:"none"}})})})});fe.displayName=kt;var ue="PopperArrow",Dn={top:"bottom",right:"left",bottom:"top",left:"right"},de=ct(function(t,e){const{__scopePopper:n,...r}=t,o=Cn(ue,n),i=Dn[o.placedSide];return I("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:I(Tn,{...r,ref:e,style:{...r.style,display:"block"}})})});de.displayName=ue;function Hn(t){return t!==null}var Wn=t=>({name:"transformOrigin",options:t,fn(e){const{placement:n,rects:r,middlewareData:o}=e,i=o.arrow?.centerOffset!==0,l=i?0:t.arrowWidth,s=i?0:t.arrowHeight,[a,f]=pe(n),c={start:"0%",center:"50%",end:"100%"}[f],d=(o.arrow?.x??0)+l/2,h=(o.arrow?.y??0)+s/2;let u="",p="";return a==="bottom"?(u=i?c:`${d}px`,p=`${-s}px`):a==="top"?(u=i?c:`${d}px`,p=`${r.floating.height+s}px`):a==="right"?(u=`${-s}px`,p=i?c:`${h}px`):a==="left"&&(u=`${r.floating.width+s}px`,p=i?c:`${h}px`),{data:{x:u,y:p}}}});function pe(t){const[e,n="center"]=t.split("-");return[e,n]}var kn=se,Fn=ce,Bn=fe,zn=de;export{zn as D,Ln as R,kn as W,Bn as Y,Fn as z};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{w as l,T as m,W as s,S as C}from"./register-
|
|
1
|
+
import{w as l,T as m,W as s,S as C}from"./register-CNODxtve.js";import{c as a}from"./index-DZeZJhiY.js";function g({prop:o,defaultProp:f,onChange:t=()=>{}}){const[n,r]=h({defaultProp:f,onChange:t}),e=o!==void 0,c=e?o:n,p=a(t),d=l(u=>{if(e){const i=typeof u=="function"?u(o):u;i!==o&&p(i)}else r(u)},[e,o,r,p]);return[c,d]}function h({defaultProp:o,onChange:f}){const t=m(o),[n]=t,r=s(n),e=a(f);return C(()=>{r.current!==n&&(e(n),r.current=n)},[n,r,e]),t}export{g as v};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const n=l=>`${parseFloat((parseFloat(l.slice(0,-2))/16).toFixed(3))}rem`,t={xs:n("2px"),sm:n("4px"),md:n("6px"),lg:n("8px"),full:"9999px"},u={sm:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)"},e={"blue.100":"#C6DBFA","blue.200":"#A1C2F7","blue.300":"#7BAAF4","blue.500":"#2F7AEE","blue.600":"#115DD4","blue.700":"#0D46A0","blue.800":"#09306D","blue.900":"#051939","brand.50":"#F0F3FF","brand.200":"#B3C3FF","brand.300":"#6A8FFC","brand.400":"#2E66F7","brand.500":"#0037FF","brand.600":"#002CCC","brand.700":"#002894","brand.800":"#001666","brand.900":"#000B33","green.100":"#D1F0E1","green.200":"#A5E1C3","green.300":"#7CD2A7","green.400":"#5AC58A","green.500":"#03A65D","green.600":"#038047","green.700":"#24663E","green.800":"#17492B","green.900":"#082415","neutral.00":"#FFFFFF","neutral.50":"#F9FAFC","neutral.75":"#F5F6FA","neutral.100":"#E9EDF5","neutral.150":"#DADFEB","neutral.200":"#CACFDC","neutral.300":"#B8BECB","neutral.500":"#838DA4","neutral.600":"#66708C","neutral.700":"#4F576E","neutral.800":"#2E3442","neutral.900":"#1C212B","neutral.1000":"#1C2029","neutral.1100":"#171A23","neutral.1200":"#091E42","neutral.50/6":"#F9FAFC0F","neutral.50/12":"#F9FAFC1F","neutral.50/18":"#F9FAFC2E","neutral.50/32":"#F9FAFC52","neutral.1200/4":"#091E420A","neutral.1200/8":"#091E4214","neutral.1200/32":"#091E4252","purple.100":"#E5DCF4","purple.500":"#693AB6","purple.600":"#532E8F","purple.700":"#412470","red.50":"#FFF7F7","red.100":"#FFD7D7","red.200":"#FFB4B4","red.300":"#FC8B8B","red.400":"#F64F4F","red.500":"#CC1616","red.600":"#B21313","red.700":"#911D1D","red.800":"#601313","red.900":"#300A0A","yellow.100":"#FEF1C6","yellow.200":"#FEDF88","yellow.300":"#FFC84B","yellow.400":"#FDB022","yellow.500":"#F79008","yellow.600":"#DC6903","yellow.700":"#B54707","yellow.800":"#7A2E0D","yellow.900":"#4E1D09"},r=(l,a)=>`light-dark(${l}, ${a})`,o={"bg.accent":r(e["brand.500"],e["brand.400"]),"bg.accent.hovered":r(e["brand.600"],e["brand.400"]),"bg.accent.light":r(e["brand.200"],e["brand.800"]),"bg.accent.pressed":r(e["brand.700"],e["brand.600"]),"bg.accent.subtle":r(e["brand.50"],e["brand.900"]),"bg.avatar.neutral":r(e["neutral.100"],e["neutral.800"]),"bg.avatar.purple":r(e["purple.100"],e["purple.700"]),"bg.default":r(e["neutral.00"],e["neutral.1000"]),"bg.default.hovered":r(e["neutral.1200/4"],e["neutral.50/6"]),"bg.default.inverse":r(e["neutral.800"],e["neutral.100"]),"bg.default.inverse.hovered":r(e["neutral.900"],e["neutral.200"]),"bg.default.inverse.pressed":r(e["neutral.1000"],e["neutral.300"]),"bg.default.pressed":r(e["neutral.1200/8"],e["neutral.50/12"]),"bg.error":r(e["red.500"],e["red.500"]),"bg.error.hovered":r(e["red.600"],e["red.400"]),"bg.error.light":r(e["red.200"],e["red.700"]),"bg.error.pressed":r(e["red.700"],e["red.600"]),"bg.error.subtle":r(e["red.100"],e["red.800"]),"bg.error.subtlest":r(e["red.50"],e["red.900"]),"bg.information":r(e["blue.600"],e["blue.600"]),"bg.information.light":r(e["blue.200"],e["blue.800"]),"bg.information.subtle":r(e["blue.100"],e["blue.900"]),"bg.overlay":r(e["neutral.1200/32"],e["neutral.50/32"]),"bg.page":r(e["neutral.50"],e["neutral.1100"]),"bg.secondary":r(e["neutral.75"],e["neutral.900"]),"bg.secondary.hovered":r(e["neutral.75"],e["neutral.50/12"]),"bg.spinner.default":r(e["neutral.1200"],e["neutral.50"]),"bg.spinner.inverse":r(e["neutral.50"],e["neutral.50"]),"bg.success":r(e["green.600"],e["green.600"]),"bg.success.hovered":r(e["green.700"],e["green.400"]),"bg.success.light":r(e["green.200"],e["green.800"]),"bg.success.subtle":r(e["green.100"],e["green.900"]),"bg.tertiary":r(e["neutral.150"],e["neutral.700"]),"bg.tertiary.hovered":r(e["neutral.200"],e["neutral.50/18"]),"bg.warning":r(e["yellow.300"],e["yellow.500"]),"bg.warning.hovered":r(e["yellow.600"],e["yellow.400"]),"bg.warning.light":r(e["yellow.200"],e["yellow.800"]),"bg.warning.subtle":r(e["yellow.100"],e["yellow.900"]),"border.accent":r(e["brand.500"],e["brand.300"]),"border.control":r(e["neutral.500"],e["neutral.700"]),"border.control.hovered":r(e["neutral.600"],e["neutral.600"]),"border.default":r(e["neutral.200"],e["neutral.600"]),"border.disabled":r(e["neutral.75"],e["neutral.800"]),"border.error":r(e["red.500"],e["red.200"]),"border.focus":r(e["brand.400"],e["brand.300"]),"border.focus.error":r(e["red.400"],e["red.300"]),"border.secondary":r(e["neutral.150"],e["neutral.700"]),"border.success":r(e["green.500"],e["green.500"]),"border.tertiary":r(e["neutral.100"],e["neutral.800"]),"border.warning":r(e["yellow.500"],e["yellow.500"]),"fg.accent":r(e["brand.500"],e["brand.300"]),"fg.accent.hovered":r(e["brand.600"],e["brand.500"]),"fg.accent.strong":r(e["brand.700"],e["brand.400"]),"fg.avatar.neutral":r(e["neutral.700"],e["neutral.100"]),"fg.avatar.purple":r(e["purple.700"],e["purple.100"]),"fg.default":r(e["neutral.800"],e["neutral.75"]),"fg.default.inverse":r(e["neutral.00"],e["neutral.800"]),"fg.disabled":r(e["neutral.200"],e["neutral.50/32"]),"fg.error":r(e["red.500"],e["red.300"]),"fg.error.hovered":r(e["red.600"],e["red.600"]),"fg.error.light":r(e["red.300"],e["red.300"]),"fg.error.strong":r(e["red.700"],e["red.200"]),"fg.information":r(e["blue.500"],e["blue.300"]),"fg.information.light":r(e["blue.300"],e["blue.300"]),"fg.information.strong":r(e["blue.700"],e["blue.200"]),"fg.link.default":r(e["brand.500"],e["brand.400"]),"fg.link.default.hovered":r(e["brand.600"],e["brand.200"]),"fg.link.inverse":r(e["neutral.00"],e["neutral.800"]),"fg.link.subtle":r(e["neutral.800"],e["neutral.75"]),"fg.link.visited":r(e["purple.600"],e["purple.500"]),"fg.secondary":r(e["neutral.700"],e["neutral.200"]),"fg.spinner.default":r(e["neutral.800"],e["neutral.200"]),"fg.spinner.inverse":r(e["neutral.200"],e["neutral.800"]),"fg.success":r(e["green.500"],e["green.300"]),"fg.success.hovered":r(e["green.600"],e["green.600"]),"fg.success.light":r(e["green.300"],e["green.300"]),"fg.success.strong":r(e["green.700"],e["green.200"]),"fg.tertiary":r(e["neutral.600"],e["neutral.500"]),"fg.warning":r(e["yellow.500"],e["yellow.300"]),"fg.warning.hovered":r(e["yellow.600"],e["yellow.600"]),"fg.warning.inverse":r(e["neutral.800"],e["neutral.800"]),"fg.warning.light":r(e["yellow.300"],e["yellow.300"]),"fg.warning.strong":r(e["yellow.700"],e["yellow.200"]),"fg.white":r(e["neutral.00"],e["neutral.00"])},g={mono:"Fira Code Variable, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",sans:"InterVariable, system-ui, sans-serif"},
|
|
1
|
+
const n=l=>`${parseFloat((parseFloat(l.slice(0,-2))/16).toFixed(3))}rem`,t={xs:n("2px"),sm:n("4px"),md:n("6px"),lg:n("8px"),full:"9999px"},u={sm:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)"},e={"blue.100":"#C6DBFA","blue.200":"#A1C2F7","blue.300":"#7BAAF4","blue.500":"#2F7AEE","blue.600":"#115DD4","blue.700":"#0D46A0","blue.800":"#09306D","blue.900":"#051939","brand.50":"#F0F3FF","brand.200":"#B3C3FF","brand.300":"#6A8FFC","brand.400":"#2E66F7","brand.500":"#0037FF","brand.600":"#002CCC","brand.700":"#002894","brand.800":"#001666","brand.900":"#000B33","green.100":"#D1F0E1","green.200":"#A5E1C3","green.300":"#7CD2A7","green.400":"#5AC58A","green.500":"#03A65D","green.600":"#038047","green.700":"#24663E","green.800":"#17492B","green.900":"#082415","neutral.00":"#FFFFFF","neutral.50":"#F9FAFC","neutral.75":"#F5F6FA","neutral.100":"#E9EDF5","neutral.150":"#DADFEB","neutral.200":"#CACFDC","neutral.300":"#B8BECB","neutral.500":"#838DA4","neutral.600":"#66708C","neutral.700":"#4F576E","neutral.800":"#2E3442","neutral.900":"#1C212B","neutral.1000":"#1C2029","neutral.1100":"#171A23","neutral.1200":"#091E42","neutral.50/6":"#F9FAFC0F","neutral.50/12":"#F9FAFC1F","neutral.50/18":"#F9FAFC2E","neutral.50/32":"#F9FAFC52","neutral.1200/4":"#091E420A","neutral.1200/8":"#091E4214","neutral.1200/32":"#091E4252","purple.100":"#E5DCF4","purple.500":"#693AB6","purple.600":"#532E8F","purple.700":"#412470","red.50":"#FFF7F7","red.100":"#FFD7D7","red.200":"#FFB4B4","red.300":"#FC8B8B","red.400":"#F64F4F","red.500":"#CC1616","red.600":"#B21313","red.700":"#911D1D","red.800":"#601313","red.900":"#300A0A","yellow.100":"#FEF1C6","yellow.200":"#FEDF88","yellow.300":"#FFC84B","yellow.400":"#FDB022","yellow.500":"#F79008","yellow.600":"#DC6903","yellow.700":"#B54707","yellow.800":"#7A2E0D","yellow.900":"#4E1D09"},r=(l,a)=>`light-dark(${l}, ${a})`,o={"bg.accent":r(e["brand.500"],e["brand.400"]),"bg.accent.hovered":r(e["brand.600"],e["brand.400"]),"bg.accent.light":r(e["brand.200"],e["brand.800"]),"bg.accent.pressed":r(e["brand.700"],e["brand.600"]),"bg.accent.subtle":r(e["brand.50"],e["brand.900"]),"bg.avatar.neutral":r(e["neutral.100"],e["neutral.800"]),"bg.avatar.purple":r(e["purple.100"],e["purple.700"]),"bg.default":r(e["neutral.00"],e["neutral.1000"]),"bg.default.hovered":r(e["neutral.1200/4"],e["neutral.50/6"]),"bg.default.inverse":r(e["neutral.800"],e["neutral.100"]),"bg.default.inverse.hovered":r(e["neutral.900"],e["neutral.200"]),"bg.default.inverse.pressed":r(e["neutral.1000"],e["neutral.300"]),"bg.default.pressed":r(e["neutral.1200/8"],e["neutral.50/12"]),"bg.error":r(e["red.500"],e["red.500"]),"bg.error.hovered":r(e["red.600"],e["red.400"]),"bg.error.light":r(e["red.200"],e["red.700"]),"bg.error.pressed":r(e["red.700"],e["red.600"]),"bg.error.subtle":r(e["red.100"],e["red.800"]),"bg.error.subtlest":r(e["red.50"],e["red.900"]),"bg.information":r(e["blue.600"],e["blue.600"]),"bg.information.light":r(e["blue.200"],e["blue.800"]),"bg.information.subtle":r(e["blue.100"],e["blue.900"]),"bg.overlay":r(e["neutral.1200/32"],e["neutral.50/32"]),"bg.page":r(e["neutral.50"],e["neutral.1100"]),"bg.secondary":r(e["neutral.75"],e["neutral.900"]),"bg.secondary.hovered":r(e["neutral.75"],e["neutral.50/12"]),"bg.spinner.default":r(e["neutral.1200"],e["neutral.50"]),"bg.spinner.inverse":r(e["neutral.50"],e["neutral.50"]),"bg.success":r(e["green.600"],e["green.600"]),"bg.success.hovered":r(e["green.700"],e["green.400"]),"bg.success.light":r(e["green.200"],e["green.800"]),"bg.success.subtle":r(e["green.100"],e["green.900"]),"bg.tertiary":r(e["neutral.150"],e["neutral.700"]),"bg.tertiary.hovered":r(e["neutral.200"],e["neutral.50/18"]),"bg.warning":r(e["yellow.300"],e["yellow.500"]),"bg.warning.hovered":r(e["yellow.600"],e["yellow.400"]),"bg.warning.light":r(e["yellow.200"],e["yellow.800"]),"bg.warning.subtle":r(e["yellow.100"],e["yellow.900"]),"border.accent":r(e["brand.500"],e["brand.300"]),"border.control":r(e["neutral.500"],e["neutral.700"]),"border.control.hovered":r(e["neutral.600"],e["neutral.600"]),"border.default":r(e["neutral.200"],e["neutral.600"]),"border.disabled":r(e["neutral.75"],e["neutral.800"]),"border.error":r(e["red.500"],e["red.200"]),"border.focus":r(e["brand.400"],e["brand.300"]),"border.focus.error":r(e["red.400"],e["red.300"]),"border.secondary":r(e["neutral.150"],e["neutral.700"]),"border.success":r(e["green.500"],e["green.500"]),"border.tertiary":r(e["neutral.100"],e["neutral.800"]),"border.warning":r(e["yellow.500"],e["yellow.500"]),"fg.accent":r(e["brand.500"],e["brand.300"]),"fg.accent.hovered":r(e["brand.600"],e["brand.500"]),"fg.accent.strong":r(e["brand.700"],e["brand.400"]),"fg.avatar.neutral":r(e["neutral.700"],e["neutral.100"]),"fg.avatar.purple":r(e["purple.700"],e["purple.100"]),"fg.default":r(e["neutral.800"],e["neutral.75"]),"fg.default.inverse":r(e["neutral.00"],e["neutral.800"]),"fg.disabled":r(e["neutral.200"],e["neutral.50/32"]),"fg.error":r(e["red.500"],e["red.300"]),"fg.error.hovered":r(e["red.600"],e["red.600"]),"fg.error.light":r(e["red.300"],e["red.300"]),"fg.error.strong":r(e["red.700"],e["red.200"]),"fg.information":r(e["blue.500"],e["blue.300"]),"fg.information.light":r(e["blue.300"],e["blue.300"]),"fg.information.strong":r(e["blue.700"],e["blue.200"]),"fg.link.default":r(e["brand.500"],e["brand.400"]),"fg.link.default.hovered":r(e["brand.600"],e["brand.200"]),"fg.link.inverse":r(e["neutral.00"],e["neutral.800"]),"fg.link.subtle":r(e["neutral.800"],e["neutral.75"]),"fg.link.visited":r(e["purple.600"],e["purple.500"]),"fg.secondary":r(e["neutral.700"],e["neutral.200"]),"fg.spinner.default":r(e["neutral.800"],e["neutral.200"]),"fg.spinner.inverse":r(e["neutral.200"],e["neutral.800"]),"fg.success":r(e["green.500"],e["green.300"]),"fg.success.hovered":r(e["green.600"],e["green.600"]),"fg.success.light":r(e["green.300"],e["green.300"]),"fg.success.strong":r(e["green.700"],e["green.200"]),"fg.tertiary":r(e["neutral.600"],e["neutral.500"]),"fg.warning":r(e["yellow.500"],e["yellow.300"]),"fg.warning.hovered":r(e["yellow.600"],e["yellow.600"]),"fg.warning.inverse":r(e["neutral.800"],e["neutral.800"]),"fg.warning.light":r(e["yellow.300"],e["yellow.300"]),"fg.warning.strong":r(e["yellow.700"],e["yellow.200"]),"fg.white":r(e["neutral.00"],e["neutral.00"])},g={sm:"150ms",md:"250ms",lg:"350ms"},d={mono:"Fira Code Variable, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",sans:"InterVariable, system-ui, sans-serif"},b={xs:{fontSize:n("10px"),lineHeight:n("14px")},sm:{fontSize:n("12px"),lineHeight:n("16px")},md:{fontSize:n("14px"),lineHeight:n("20px")},lg:{fontSize:n("16px"),lineHeight:n("24px")},xl:{fontSize:n("20px"),lineHeight:n("28px")},"2xl":{fontSize:n("24px"),lineHeight:n("32px")},"3xl":{fontSize:n("28px"),lineHeight:n("40px")},"4xl":{fontSize:n("32px"),lineHeight:n("44px")}},s={xs:n("320px"),sm:n("384px"),md:n("448px"),lg:n("512px")},i={sm:n("600px"),md:n("900px")},p={"2xs":n("16px"),xs:n("20px"),sm:n("24px"),md:n("32px"),lg:n("40px"),xl:n("48px"),"3xl":n("80px")},F={popover:"3000",toast:"3010",tooltip:"10000"},x={borderRadius:t,boxShadow:u,colors:o,duration:g,fontFamily:d,fontSize:b,maxSize:s,screens:i,size:p,zIndex:F};export{x as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as U,l as g,T as v,W as N,w as A,S as E,U as I}from"./register-
|
|
1
|
+
import{d as U,l as g,T as v,W as N,w as A,S as E,U as I}from"./register-CNODxtve.js";import{s as w}from"./index-lV0VqqMH.js";import{o as p}from"./index-DMKpiOYW.js";function P(n,e){return I((t,r)=>e[t][r]??t,n)}var O=n=>{const{present:e,children:t}=n,r=D(e),u=typeof t=="function"?t({present:r.isPresent}):U.only(t),s=w(r.ref,L(u));return typeof t=="function"||r.isPresent?g(u,{ref:s}):null};O.displayName="Presence";function D(n){const[e,t]=v(),r=N({}),u=N(n),s=N("none"),M=n?"mounted":"unmounted",[f,i]=P(M,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return E(()=>{const o=l(r.current);s.current=f==="mounted"?o:"none"},[f]),p(()=>{const o=r.current,c=u.current;if(c!==n){const a=s.current,m=l(o);n?i("MOUNT"):m==="none"||o?.display==="none"?i("UNMOUNT"):i(c&&a!==m?"ANIMATION_OUT":"UNMOUNT"),u.current=n}},[n,i]),p(()=>{if(e){let o;const c=e.ownerDocument.defaultView??window,a=d=>{const T=l(r.current).includes(d.animationName);if(d.target===e&&T&&(i("ANIMATION_END"),!u.current)){const y=e.style.animationFillMode;e.style.animationFillMode="forwards",o=c.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=y)})}},m=d=>{d.target===e&&(s.current=l(r.current))};return e.addEventListener("animationstart",m),e.addEventListener("animationcancel",a),e.addEventListener("animationend",a),()=>{c.clearTimeout(o),e.removeEventListener("animationstart",m),e.removeEventListener("animationcancel",a),e.removeEventListener("animationend",a)}}else i("ANIMATION_END")},[e,i]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:A(o=>{o&&(r.current=getComputedStyle(o)),t(o)},[])}}function l(n){return n?.animationName||"none"}function L(n){let e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}export{O as M};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$ as U,T as q,W as I,S as k,w as B,u as H}from"./register-
|
|
1
|
+
import{$ as U,T as q,W as I,S as k,w as B,u as H}from"./register-CNODxtve.js";import{s as j}from"./index-lV0VqqMH.js";import{t as z}from"./index-CkLQ3Mzx.js";import{c as K}from"./index-DZeZJhiY.js";var F="focusScope.autoFocusOnMount",W="focusScope.autoFocusOnUnmount",$={bubbles:!1,cancelable:!0},G="FocusScope",O=U((e,n)=>{const{loop:t=!1,trapped:o=!1,onMountAutoFocus:c,onUnmountAutoFocus:d,...S}=e,[r,L]=q(null),w=K(c),R=K(d),a=I(null),i=j(n,u=>L(u)),f=I({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;k(()=>{if(o){let u=function(h){if(f.paused||!r)return;const p=h.target;((E,g)=>E.getRootNode()instanceof ShadowRoot?E.getRootNode().host.contains(g):E.contains(g))(r,p)?a.current=h.target.shadowRoot?h.composedPath()[0]:h.target:v(a.current,{select:!0})},s=function(h){if(f.paused||!r)return;const p=h.relatedTarget;p!==null&&(((E,g)=>E.getRootNode()instanceof ShadowRoot?E.getRootNode().host.contains(g):E.contains(g))(r,p)||v(a.current,{select:!0}))},l=function(h){if((()=>{let p=document.activeElement;for(;p?.shadowRoot;)p=p.shadowRoot.activeElement;return p})()===document.body)for(const p of h)p.removedNodes.length>0&&v(r)};const m=r?.getRootNode()??document;m.addEventListener("focusin",u),m.addEventListener("focusout",s);const y=new MutationObserver(l);return r&&y.observe(r,{childList:!0,subtree:!0}),()=>{m.removeEventListener("focusin",u),m.removeEventListener("focusout",s),y.disconnect()}}},[o,r,f.paused]),k(()=>{if(r){D.add(f);const u=(()=>{let s=document.activeElement;for(;s?.shadowRoot;)s=s.shadowRoot.activeElement;return s})();if(!((s,l)=>s.getRootNode()instanceof ShadowRoot?s.getRootNode().host.contains(l):s.contains(l))(r,u)){const s=new CustomEvent(F,$);r.addEventListener(F,w),r.dispatchEvent(s),s.defaultPrevented||(V(Z(P(r)),{select:!0}),(()=>{let l=document.activeElement;for(;l?.shadowRoot;)l=l.shadowRoot.activeElement;return l})()===u&&v(r))}return()=>{r.removeEventListener(F,w),setTimeout(()=>{const s=new CustomEvent(W,$);r.addEventListener(W,R),r.dispatchEvent(s),s.defaultPrevented||v(u??document.body,{select:!0}),r.removeEventListener(W,R),D.remove(f)},0)}}},[r,w,R,f]);const b=B(u=>{if(!t&&!o||f.paused)return;const s=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,l=(()=>{let m=document.activeElement;for(;m?.shadowRoot;)m=m.shadowRoot.activeElement;return m})();if(s&&l){const m=u.currentTarget,[y,h]=J(m);y&&h?!u.shiftKey&&l===h?(u.preventDefault(),t&&v(y,{select:!0})):u.shiftKey&&l===y&&(u.preventDefault(),t&&v(h,{select:!0})):l===m&&u.preventDefault()}},[t,o,f.paused]);return H(z.div,{tabIndex:-1,...S,ref:i,onKeyDown:b})});O.displayName=G;function V(e,{select:n=!1}={}){const t=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();for(const o of e)if(v(o,{select:n}),(()=>{let c=document.activeElement;for(;c?.shadowRoot;)c=c.shadowRoot.activeElement;return c})()!==t)return}function J(e){const n=P(e),t=C(n,e),o=C(n.reverse(),e);return[t,o]}function P(e){const n=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const c=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||c?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)n.push(t.currentNode);return n}function C(e,n){for(const t of e)if(!Q(t,{upTo:n}))return t}function Q(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function X(e){return e instanceof HTMLInputElement&&"select"in e}function v(e,{select:n=!1}={}){if(e&&e.focus){const t=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();e.focus({preventScroll:!0}),e!==t&&X(e)&&n&&e.select()}}var D=Y();function Y(){let e=[];return{add(n){const t=e[0];n!==t&&t?.pause(),e=x(e,n),e.unshift(n)},remove(n){e=x(e,n),e[0]?.resume()}}}function x(e,n){const t=[...e],o=t.indexOf(n);return o!==-1&&t.splice(o,1),t}function Z(e){return e.filter(n=>n.tagName!=="A")}var ee=function(e){if(typeof document>"u")return null;var n=Array.isArray(e)?e[0]:e;return n.ownerDocument.body},N=new WeakMap,A=new WeakMap,T={},M=0,_=function(e){return e&&(e.host||_(e.parentNode))},te=function(e,n){return n.map(function(t){if(((c,d)=>{for(;d.getRootNode()instanceof ShadowRoot;)d=d.getRootNode().host;return c.contains(d)})(e,t))return t;var o=_(t);return o&&((c,d)=>{for(;d.getRootNode()instanceof ShadowRoot;)d=d.getRootNode().host;return c.contains(d)})(e,o)?o:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(t){return Boolean(t)})},oe=function(e,n,t,o){var c=te(n,Array.isArray(e)?e:[e]);T[t]||(T[t]=new WeakMap);var d=T[t],S=[],r=new Set,L=new Set(c),w=function(a){if(!(!a||r.has(a))){if(r.add(a),a.parentNode instanceof ShadowRoot)for(const i of a.parentNode.querySelectorAll("slot"))for(const f of i.assignedElements())r.add(f);w(a.parentNode instanceof ShadowRoot?a.parentNode.host:a.parentNode)}};c.forEach(w);var R=function(a){!a||L.has(a)||Array.prototype.forEach.call(a.children,function(i){if(r.has(i))R(i);else try{var f=i.getAttribute(o),b=f!==null&&f!=="false",u=(N.get(i)||0)+1,s=(d.get(i)||0)+1;N.set(i,u),d.set(i,s),S.push(i),u===1&&b&&A.set(i,!0),s===1&&i.setAttribute(t,"true"),b||i.setAttribute(o,"true")}catch(l){console.error("aria-hidden: cannot operate on ",i,l)}})};return R(n),r.clear(),M++,function(){S.forEach(function(a){var i=N.get(a)-1,f=d.get(a)-1;N.set(a,i),d.set(a,f),i||(A.has(a)||a.removeAttribute(o),A.delete(a)),f||a.removeAttribute(t)}),M--,M||(N=new WeakMap,N=new WeakMap,A=new WeakMap,T={})}},ne=function(e,n,t){t===void 0&&(t="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),c=n||ee(e);return c?(o.push.apply(o,Array.from(c.querySelectorAll("[aria-live]"))),oe(o,c,t,"aria-hidden")):function(){return null}};export{ne as h,O as y};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{w as O,$ as y,d as c,v as s,u as f,l as d,D as h}from"./register-
|
|
1
|
+
import{w as O,$ as y,d as c,v as s,u as f,l as d,D as h}from"./register-CNODxtve.js";function g(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function u(...e){return t=>{let n=!1;const o=e.map(r=>{const i=g(r,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let r=0;r<o.length;r++){const i=o[r];typeof i=="function"?i():g(e[r],null)}}}}function W(...e){return O(u(...e),e)}var m=y((e,t)=>{const{children:n,...o}=e,r=c.toArray(n),i=r.find(j);if(i){const l=i.props.children,R=r.map(a=>a===i?c.count(l)>1?c.only(null):s(l)?l.props.children:null:a);return f(p,{...o,ref:t,children:s(l)?d(l,void 0,R):null})}return f(p,{...o,ref:t,children:n})});m.displayName="Slot";var p=y((e,t)=>{const{children:n,...o}=e;if(s(n)){const r=D(n),i=w(o,n.props);return n.type!==h&&(i.ref=t?u(t,r):r),d(n,i)}return c.count(n)>1?c.only(null):null});p.displayName="SlotClone";var v=({children:e})=>f(h,{children:e});function j(e){return s(e)&&e.type===v}function w(e,t){const n={...t};for(const o in t){const r=e[o],i=t[o];/^on[A-Z]/.test(o)?r&&i?n[o]=(...l)=>{i(...l),r(...l)}:r&&(n[o]=r):o==="style"?n[o]={...r,...i}:o==="className"&&(n[o]=[r,i].filter(Boolean).join(" "))}return{...e,...n}}function D(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{u as a,m as f,v as m,W as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{W as h,T as H,u as i,w as _,$ as u,S as y}from"./register-
|
|
1
|
+
import{W as h,T as H,u as i,w as _,$ as u,S as y}from"./register-CNODxtve.js";import{u as m}from"./index-DXFJDeKK.js";import{s as $,f as L}from"./index-lV0VqqMH.js";import{l as Q}from"./index-CuahE2cr.js";import{p as S}from"./index-Bi_HnHjw.js";import{o as U,a as X}from"./Combination-BQz_BH21.js";import{h as Z,y as j}from"./index-hD22Vy9W.js";import{n as q}from"./index-Box_SiMg.js";import{R as w,W as B,z as D,D as J,Y as V}from"./index-Dpvu5xqH.js";import{o as ee}from"./index-CPrCjOeA.js";import{M as b}from"./index-chmtZcw3.js";import{t as x}from"./index-CkLQ3Mzx.js";import{v as oe}from"./index-FOztFWCh.js";var A="Popover",[E,be]=Q(A,[w]),g=w(),[re,c]=E(A),R=e=>{const{__scopePopover:n,children:t,open:a,defaultOpen:o,onOpenChange:r,modal:s=!1}=e,p=g(n),f=h(null),[v,P]=H(!1),[C=!1,l]=oe({prop:a,defaultProp:o,onChange:r});return i(B,{...p,children:i(re,{scope:n,contentId:q(),triggerRef:f,open:C,onOpenChange:l,onOpenToggle:_(()=>l(O=>!O),[l]),hasCustomAnchor:v,onCustomAnchorAdd:_(()=>P(!0),[]),onCustomAnchorRemove:_(()=>P(!1),[]),modal:s,children:t})})};R.displayName=A;var I="PopoverAnchor",N=u((e,n)=>{const{__scopePopover:t,...a}=e,o=c(I,t),r=g(t),{onCustomAnchorAdd:s,onCustomAnchorRemove:p}=o;return y(()=>(s(),()=>p()),[s,p]),i(D,{...r,...a,ref:n})});N.displayName=I;var k="PopoverTrigger",M=u((e,n)=>{const{__scopePopover:t,...a}=e,o=c(k,t),r=g(t),s=$(n,o.triggerRef),p=i(x.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":G(o.open),...a,ref:s,onClick:m(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?p:i(D,{asChild:!0,...r,children:p})});M.displayName=k;var F="PopoverPortal",[te,ne]=E(F,{forceMount:void 0}),T=e=>{const{__scopePopover:n,forceMount:t,children:a,container:o}=e,r=c(F,n);return i(te,{scope:n,forceMount:t,children:i(b,{present:t||r.open,children:i(ee,{asChild:!0,container:o,children:a})})})};T.displayName=F;var d="PopoverContent",K=u((e,n)=>{const t=ne(d,e.__scopePopover),{forceMount:a=t.forceMount,...o}=e,r=c(d,e.__scopePopover);return i(b,{present:a||r.open,children:r.modal?i(ae,{...o,ref:n}):i(se,{...o,ref:n})})});K.displayName=d;var ae=u((e,n)=>{const t=c(d,e.__scopePopover),a=h(null),o=$(n,a),r=h(!1);return y(()=>{const s=a.current;if(s)return Z(s)},[]),i(U,{as:L,allowPinchZoom:!0,children:i(W,{...e,ref:o,trapFocus:t.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:m(e.onCloseAutoFocus,s=>{s.preventDefault(),r.current||t.triggerRef.current?.focus()}),onPointerDownOutside:m(e.onPointerDownOutside,s=>{const p=s.detail.originalEvent,f=p.button===0&&p.ctrlKey===!0,v=p.button===2||f;r.current=v},{checkForDefaultPrevented:!1}),onFocusOutside:m(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1})})})}),se=u((e,n)=>{const t=c(d,e.__scopePopover),a=h(!1),o=h(!1);return i(W,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{e.onCloseAutoFocus?.(r),r.defaultPrevented||(a.current||t.triggerRef.current?.focus(),r.preventDefault()),a.current=!1,o.current=!1},onInteractOutside:r=>{e.onInteractOutside?.(r),r.defaultPrevented||(a.current=!0,r.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const s=r.target;t.triggerRef.current?.contains(s)&&r.preventDefault(),r.detail.originalEvent.type==="focusin"&&o.current&&r.preventDefault()}})}),W=u((e,n)=>{const{__scopePopover:t,trapFocus:a,onOpenAutoFocus:o,onCloseAutoFocus:r,disableOutsidePointerEvents:s,onEscapeKeyDown:p,onPointerDownOutside:f,onFocusOutside:v,onInteractOutside:P,...C}=e,l=c(d,t),O=g(t);return X(),i(j,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:o,onUnmountAutoFocus:r,children:i(S,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:P,onEscapeKeyDown:p,onPointerDownOutside:f,onFocusOutside:v,onDismiss:()=>l.onOpenChange(!1),children:i(V,{"data-state":G(l.open),role:"dialog",id:l.contentId,...O,...C,ref:n,style:{...C.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),Y="PopoverClose",ie=u((e,n)=>{const{__scopePopover:t,...a}=e,o=c(Y,t);return i(x.button,{type:"button",...a,ref:n,onClick:m(e.onClick,()=>o.onOpenChange(!1))})});ie.displayName=Y;var pe="PopoverArrow",z=u((e,n)=>{const{__scopePopover:t,...a}=e,o=g(t);return i(J,{...o,...a,ref:n})});z.displayName=pe;function G(e){return e?"open":"closed"}var ue=R,ce=N,le=M,de=T,fe=K,ve=z;export{le as a,fe as c,ce as n,ve as p,de as s,ue as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$ as p,u as f}from"./register-
|
|
1
|
+
import{$ as p,u as f}from"./register-CNODxtve.js";import{u as n}from"./index-DXFJDeKK.js";import{v as m}from"./index-FOztFWCh.js";import{t as u}from"./index-CkLQ3Mzx.js";var b="Toggle",r=p((o,e)=>{const{pressed:t,defaultPressed:s=!1,onPressedChange:d,...i}=o,[a=!1,l]=m({prop:t,onChange:d,defaultProp:s});return f(u.button,{type:"button","aria-pressed":a,"data-state":a?"on":"off","data-disabled":o.disabled?"":void 0,...i,ref:e,onClick:n(o.onClick,()=>{o.disabled||l(!a)})})});r.displayName=b;var c=r;export{c,r};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import react__default, { ReactElement, RefObject, ReactNode, ComponentPropsWithoutRef, ComponentPropsWithRef } from 'react';
|
|
3
|
-
import { b as Primitive$1, c as Close, d as Description, e as Content$5, f as Trigger, R as Root$3, g as Content$6, h as DismissableLayer, F as FocusScope, S as Sprinkles, E as ExcludeProps, i as BoxProps, j as RecipeVariants, k as ExtendProps, l as DialogCloseProps$1, m as DialogTriggerProps$1, T as Transition, n as Root$4, o as DialogContentProps$1, p as DialogDescriptionProps$1, q as DialogTitleProps, M as MenuListbox, r as ResponsiveArray, s as PopoverAnchorProps, t as PopoverTriggerProps } from './PopoverContent-
|
|
3
|
+
import { b as Primitive$1, c as Close, d as Description, e as Content$5, f as Trigger, R as Root$3, g as Content$6, h as DismissableLayer, F as FocusScope, S as Sprinkles, E as ExcludeProps, i as BoxProps, j as RecipeVariants, k as ExtendProps, l as DialogCloseProps$1, m as DialogTriggerProps$1, T as Transition, n as Root$4, o as DialogContentProps$1, p as DialogDescriptionProps$1, q as DialogTitleProps, M as MenuListbox, r as ResponsiveArray, s as PopoverAnchorProps, t as PopoverTriggerProps } from './PopoverContent-DN8fEhvU.d-foC7hqlj.js';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
type PrimitiveDivProps$8 = react.ComponentPropsWithoutRef<typeof Primitive$1.div>;
|
|
@@ -680,7 +680,7 @@ declare const mapFallbackToIcon: {
|
|
|
680
680
|
};
|
|
681
681
|
declare const Avatar: react.ForwardRefExoticComponent<{
|
|
682
682
|
colorScheme?: "neutral" | "purple" | undefined;
|
|
683
|
-
size?: "sm" | "md" | "xs" | "2xs" | "xl" | "3xl" | undefined;
|
|
683
|
+
size?: "sm" | "md" | "xs" | "lg" | "2xs" | "xl" | "3xl" | undefined;
|
|
684
684
|
} & {
|
|
685
685
|
/**
|
|
686
686
|
* The fallback icon to display when no name or image is given.
|
|
@@ -1485,6 +1485,18 @@ declare const ListboxSeparator: react.ForwardRefExoticComponent<Omit<NonNullable
|
|
|
1485
1485
|
className?: string;
|
|
1486
1486
|
}>, never> & Omit<Omit<SeparatorProps & react.RefAttributes<HTMLDivElement>, "ref">, "asChild" | "color" | "className" | "orientation"> & react.RefAttributes<HTMLDivElement>, "ref">, "asChild" | "p" | "fontFamily" | "fontSize" | "size" | "animation" | "borderColor" | "color" | "cursor" | "empty" | "fontWeight" | "objectFit" | "overflowX" | "overflowY" | "pointerEvents" | "textAlign" | "textTransform" | "transition" | "whiteSpace" | "bg" | "border" | "borderB" | "borderL" | "borderR" | "borderT" | "m" | "mx" | "my" | "mb" | "ml" | "mr" | "mt" | "overflow" | "px" | "py" | "pb" | "pl" | "pr" | "pt" | "rounded" | "shadow" | "z" | "gap" | "alignItems" | "alignSelf" | "display" | "flex" | "flexDirection" | "flexWrap" | "gridColumn" | "gridTemplateColumns" | "justifyContent" | "justifyItems" | "placeItems" | "maxH" | "maxW" | "h" | "w" | "className"> & react.RefAttributes<HTMLDivElement>>;
|
|
1487
1487
|
|
|
1488
|
+
declare const ListboxSwitchItem: react.ForwardRefExoticComponent<Omit<Omit<NonNullable<{
|
|
1489
|
+
intent?: "danger" | "neutral" | undefined;
|
|
1490
|
+
} & {
|
|
1491
|
+
addonAfter?: react.ReactNode;
|
|
1492
|
+
addonBefore?: react.ReactNode;
|
|
1493
|
+
description?: react.ReactNode;
|
|
1494
|
+
icon?: react.ReactNode;
|
|
1495
|
+
}>, never> & Omit<NonNullable<Sprinkles & {
|
|
1496
|
+
asChild?: boolean;
|
|
1497
|
+
className?: string;
|
|
1498
|
+
}>, never> & Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "color" | "className"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1499
|
+
|
|
1488
1500
|
declare const ModalLayer: react.ForwardRefExoticComponent<Pick<Omit<Omit<NonNullable<Sprinkles & {
|
|
1489
1501
|
asChild?: boolean;
|
|
1490
1502
|
className?: string;
|
|
@@ -1604,7 +1616,9 @@ declare const PopoverAnchor: react.ForwardRefExoticComponent<Omit<NonNullable<Sp
|
|
|
1604
1616
|
className?: string;
|
|
1605
1617
|
}>, never> & Omit<Omit<PopoverAnchorProps & react.RefAttributes<HTMLDivElement>, "ref">, "asChild" | "color" | "className"> & react.RefAttributes<HTMLDivElement>>;
|
|
1606
1618
|
|
|
1607
|
-
declare const PopoverTrigger: react.ForwardRefExoticComponent<
|
|
1619
|
+
declare const PopoverTrigger: react.ForwardRefExoticComponent<{
|
|
1620
|
+
hasCustomAnchor?: boolean;
|
|
1621
|
+
} & Omit<{
|
|
1608
1622
|
addonAfter?: react.ReactNode;
|
|
1609
1623
|
addonBefore?: react.ReactNode;
|
|
1610
1624
|
icon?: react.ReactNode;
|
|
@@ -1937,12 +1951,14 @@ declare namespace Tooltip {
|
|
|
1937
1951
|
|
|
1938
1952
|
declare const TooltipTrigger: react.ForwardRefExoticComponent<Omit<TooltipTriggerProps & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
1939
1953
|
|
|
1940
|
-
declare function TransitionGroup({ children, open, }: {
|
|
1954
|
+
declare function TransitionGroup({ children, onPresenceChange, open, presence: presenceProp, }: {
|
|
1941
1955
|
children?: false | ReactElement;
|
|
1956
|
+
onPresenceChange?: (presence: boolean) => void;
|
|
1942
1957
|
open?: boolean;
|
|
1958
|
+
presence?: boolean;
|
|
1943
1959
|
}): react_jsx_runtime.JSX.Element;
|
|
1944
1960
|
declare namespace TransitionGroup {
|
|
1945
1961
|
var displayName: string;
|
|
1946
1962
|
}
|
|
1947
1963
|
|
|
1948
|
-
export { Heading as $, Alert as A, Badge as B, Code as C, Dialog as D, DrawerBody as E, DrawerClose as F, DrawerContent as G, DrawerDescription as H, DrawerFooter as I, DrawerHeader as J, DrawerTitle as K, DrawerTrigger as L, DropdownMenu as M, DropdownMenuCheckboxItem as N, DropdownMenuContent as O, DropdownMenuGroup as P, DropdownMenuItem as Q, DropdownMenuLabel as R, DropdownMenuSeparator as S, DropdownMenuSub as T, DropdownMenuSubContent as U, DropdownMenuTrigger as V, EllipsisMenuButton as W, Field as X, FieldLabel as Y, Flex as Z, Grid as _, AlertDialog as a, Indicator as a0, Input as a1, InputAddon as a2, InputControl as a3, InputRoot as a4, Kbd as a5, Listbox as a6, ListboxCheckboxItem as a7, ListboxEmpty as a8, ListboxFooter as a9,
|
|
1964
|
+
export { Heading as $, Alert as A, Badge as B, Code as C, Dialog as D, DrawerBody as E, DrawerClose as F, DrawerContent as G, DrawerDescription as H, DrawerFooter as I, DrawerHeader as J, DrawerTitle as K, DrawerTrigger as L, DropdownMenu as M, DropdownMenuCheckboxItem as N, DropdownMenuContent as O, DropdownMenuGroup as P, DropdownMenuItem as Q, DropdownMenuLabel as R, DropdownMenuSeparator as S, DropdownMenuSub as T, DropdownMenuSubContent as U, DropdownMenuTrigger as V, EllipsisMenuButton as W, Field as X, FieldLabel as Y, Flex as Z, Grid as _, AlertDialog as a, Indicator as a0, Input as a1, InputAddon as a2, InputControl as a3, InputRoot as a4, Kbd as a5, Listbox as a6, ListboxCheckboxItem as a7, ListboxEmpty as a8, ListboxFooter as a9, SegmentedControlItem as aA, Separator as aB, Sidebar as aC, SidebarToggle as aD, Skeleton as aE, Spinner as aF, Switch as aG, Tabs as aH, TabsContent as aI, TabsList as aJ, TabsTrigger as aK, Text as aL, Textarea as aM, ThemeProvider as aN, Toast as aO, ToastAction as aP, ToastTitle as aQ, ToggleButton as aR, Tooltip as aS, TooltipContent as aT, TooltipRoot as aU, TooltipTrigger as aV, TransitionGroup as aW, ListboxGroup as aa, ListboxItem as ab, ListboxItemIndicator as ac, ListboxLabel as ad, ListboxRadioItem as ae, ListboxScrollArea as af, ListboxSeparator as ag, ListboxSwitchItem as ah, ModalLayer as ai, Nav as aj, NavAccountItem as ak, NavBody as al, NavFooter as am, NavHeader as an, NavItem as ao, NavList as ap, Pagination as aq, Paper as ar, Popover as as, PopoverAnchor as at, PopoverTrigger as au, Progress as av, Radio as aw, RadioGroup as ax, SearchInput as ay, SegmentedControl as az, AlertDialogAction as b, AlertDialogBody as c, AlertDialogCancel as d, AlertDialogContent as e, AlertDialogFooter as f, AlertDialogHeader as g, AlertDialogTrigger as h, AngleMenuButton as i, Avatar as j, AvatarGroup as k, AxiomProvider as l, Banner as m, Button as n, ButtonGroup as o, DialogBody as p, DialogClose as q, DialogFooter as r, DialogForm as s, DialogHeader as t, DialogTrigger as u, Disclosure as v, DisclosureContent as w, DisclosureTrigger as x, Drawer as y, DrawerActions as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
import { C as ComponentAttributes, B as Box$1, a as Checkbox$1, D as DialogContent$1, L as Link$1, P as PopoverContent$1, T as Transition$1 } from './PopoverContent-
|
|
3
|
-
import { A as Alert$1, a as AlertDialog$1, b as AlertDialogAction$1, c as AlertDialogBody$1, d as AlertDialogCancel$1, e as AlertDialogContent$1, f as AlertDialogFooter$1, g as AlertDialogHeader$1, h as AlertDialogTrigger$1, i as AngleMenuButton$1, j as Avatar$1, k as AvatarGroup$1, l as AxiomProvider$1, B as Badge$1, m as Banner$1, n as Button$1, o as ButtonGroup$1, C as Code$1, D as Dialog$1, p as DialogBody$1, q as DialogClose$1, r as DialogFooter$1, s as DialogForm$1, t as DialogHeader$1, u as DialogTrigger$1, v as Disclosure$1, w as DisclosureContent$1, x as DisclosureTrigger$1, y as Drawer$1, z as DrawerActions$1, E as DrawerBody$1, F as DrawerClose$1, G as DrawerContent$1, H as DrawerDescription$1, I as DrawerFooter$1, J as DrawerHeader$1, K as DrawerTitle$1, L as DrawerTrigger$1, M as DropdownMenu$1, N as DropdownMenuCheckboxItem$1, O as DropdownMenuContent$1, P as DropdownMenuGroup$1, Q as DropdownMenuItem$1, R as DropdownMenuLabel$1, S as DropdownMenuSeparator$1, T as DropdownMenuSub$1, U as DropdownMenuSubContent$1, V as DropdownMenuTrigger$1, W as EllipsisMenuButton$1, X as Field$1, Y as FieldLabel$1, Z as Flex$1, _ as Grid$1, $ as Heading$1, a0 as Indicator$1, a1 as Input$1, a2 as InputAddon$1, a3 as InputControl$1, a4 as InputRoot$1, a5 as Kbd$1, a6 as Listbox$1, a7 as ListboxCheckboxItem$1, a8 as ListboxEmpty$1, a9 as ListboxFooter$1, aa as ListboxGroup$1, ab as ListboxItem$1, ac as ListboxItemIndicator$1, ad as ListboxLabel$1, ae as ListboxRadioItem$1, af as ListboxScrollArea$1, ag as ListboxSeparator$1, ah as
|
|
2
|
+
import { C as ComponentAttributes, B as Box$1, a as Checkbox$1, D as DialogContent$1, L as Link$1, P as PopoverContent$1, T as Transition$1 } from './PopoverContent-DN8fEhvU.d-foC7hqlj.js';
|
|
3
|
+
import { A as Alert$1, a as AlertDialog$1, b as AlertDialogAction$1, c as AlertDialogBody$1, d as AlertDialogCancel$1, e as AlertDialogContent$1, f as AlertDialogFooter$1, g as AlertDialogHeader$1, h as AlertDialogTrigger$1, i as AngleMenuButton$1, j as Avatar$1, k as AvatarGroup$1, l as AxiomProvider$1, B as Badge$1, m as Banner$1, n as Button$1, o as ButtonGroup$1, C as Code$1, D as Dialog$1, p as DialogBody$1, q as DialogClose$1, r as DialogFooter$1, s as DialogForm$1, t as DialogHeader$1, u as DialogTrigger$1, v as Disclosure$1, w as DisclosureContent$1, x as DisclosureTrigger$1, y as Drawer$1, z as DrawerActions$1, E as DrawerBody$1, F as DrawerClose$1, G as DrawerContent$1, H as DrawerDescription$1, I as DrawerFooter$1, J as DrawerHeader$1, K as DrawerTitle$1, L as DrawerTrigger$1, M as DropdownMenu$1, N as DropdownMenuCheckboxItem$1, O as DropdownMenuContent$1, P as DropdownMenuGroup$1, Q as DropdownMenuItem$1, R as DropdownMenuLabel$1, S as DropdownMenuSeparator$1, T as DropdownMenuSub$1, U as DropdownMenuSubContent$1, V as DropdownMenuTrigger$1, W as EllipsisMenuButton$1, X as Field$1, Y as FieldLabel$1, Z as Flex$1, _ as Grid$1, $ as Heading$1, a0 as Indicator$1, a1 as Input$1, a2 as InputAddon$1, a3 as InputControl$1, a4 as InputRoot$1, a5 as Kbd$1, a6 as Listbox$1, a7 as ListboxCheckboxItem$1, a8 as ListboxEmpty$1, a9 as ListboxFooter$1, aa as ListboxGroup$1, ab as ListboxItem$1, ac as ListboxItemIndicator$1, ad as ListboxLabel$1, ae as ListboxRadioItem$1, af as ListboxScrollArea$1, ag as ListboxSeparator$1, ah as ListboxSwitchItem$1, ai as ModalLayer$1, aj as Nav$1, ak as NavAccountItem$1, al as NavBody$1, am as NavFooter$1, an as NavHeader$1, ao as NavItem$1, ap as NavList$1, aq as Pagination$1, ar as Paper$1, as as Popover$1, at as PopoverAnchor$1, au as PopoverTrigger$1, av as Progress$1, aw as Radio$1, ax as RadioGroup$1, ay as SearchInput$1, az as SegmentedControl$1, aA as SegmentedControlItem$1, aB as Separator$1, aC as Sidebar$1, aD as SidebarToggle$1, aE as Skeleton$1, aF as Spinner$1, aG as Switch$1, aH as Tabs$1, aI as TabsContent$1, aJ as TabsList$1, aK as TabsTrigger$1, aL as Text$1, aM as Textarea$1, aN as ThemeProvider$1, aO as Toast$1, aP as ToastAction$1, aQ as ToastTitle$1, aR as ToggleButton$1, aS as Tooltip$1, aT as TooltipContent$1, aU as TooltipRoot$1, aV as TooltipTrigger$1, aW as TransitionGroup$1 } from './index.d-BFnL_eUl.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
declare const Alert = "ax-alert";
|
|
@@ -978,6 +978,19 @@ declare global {
|
|
|
978
978
|
}
|
|
979
979
|
|
|
980
980
|
|
|
981
|
+
declare const ListboxSwitchItem = "ax-listbox-switch-item";
|
|
982
|
+
|
|
983
|
+
declare global {
|
|
984
|
+
namespace JSX {
|
|
985
|
+
interface IntrinsicElements {
|
|
986
|
+
[ListboxSwitchItem]: ComponentAttributes<
|
|
987
|
+
ComponentPropsWithoutRef<typeof ListboxSwitchItem$1>
|
|
988
|
+
>;
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
|
|
981
994
|
declare const ModalLayer = "ax-modal-layer";
|
|
982
995
|
|
|
983
996
|
declare global {
|
|
@@ -1536,4 +1549,4 @@ declare global {
|
|
|
1536
1549
|
}
|
|
1537
1550
|
}
|
|
1538
1551
|
|
|
1539
|
-
export { Alert, AlertDialog, AlertDialogAction, AlertDialogBody, AlertDialogCancel, AlertDialogContent, AlertDialogFooter, AlertDialogHeader, AlertDialogTrigger, AngleMenuButton, Avatar, AvatarGroup, AxiomProvider, Badge, Banner, Box, Button, ButtonGroup, Checkbox, Code, Dialog, DialogBody, DialogClose, DialogContent, DialogFooter, DialogForm, DialogHeader, DialogTrigger, Disclosure, DisclosureContent, DisclosureTrigger, Drawer, DrawerActions, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuTrigger, EllipsisMenuButton, Field, FieldLabel, Flex, Grid, Heading, Indicator, Input, InputAddon, InputControl, InputRoot, Kbd, Link, Listbox, ListboxCheckboxItem, ListboxEmpty, ListboxFooter, ListboxGroup, ListboxItem, ListboxItemIndicator, ListboxLabel, ListboxRadioItem, ListboxScrollArea, ListboxSeparator, ModalLayer, Nav, NavAccountItem, NavBody, NavFooter, NavHeader, NavItem, NavList, Pagination, Paper, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, Radio, RadioGroup, SearchInput, SegmentedControl, SegmentedControlItem, Separator, Sidebar, SidebarToggle, Skeleton, Spinner, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Text, Textarea, ThemeProvider, Toast, ToastAction, ToastTitle, ToggleButton, Tooltip, TooltipContent, TooltipRoot, TooltipTrigger, Transition, TransitionGroup };
|
|
1552
|
+
export { Alert, AlertDialog, AlertDialogAction, AlertDialogBody, AlertDialogCancel, AlertDialogContent, AlertDialogFooter, AlertDialogHeader, AlertDialogTrigger, AngleMenuButton, Avatar, AvatarGroup, AxiomProvider, Badge, Banner, Box, Button, ButtonGroup, Checkbox, Code, Dialog, DialogBody, DialogClose, DialogContent, DialogFooter, DialogForm, DialogHeader, DialogTrigger, Disclosure, DisclosureContent, DisclosureTrigger, Drawer, DrawerActions, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuTrigger, EllipsisMenuButton, Field, FieldLabel, Flex, Grid, Heading, Indicator, Input, InputAddon, InputControl, InputRoot, Kbd, Link, Listbox, ListboxCheckboxItem, ListboxEmpty, ListboxFooter, ListboxGroup, ListboxItem, ListboxItemIndicator, ListboxLabel, ListboxRadioItem, ListboxScrollArea, ListboxSeparator, ListboxSwitchItem, ModalLayer, Nav, NavAccountItem, NavBody, NavFooter, NavHeader, NavItem, NavList, Pagination, Paper, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, Radio, RadioGroup, SearchInput, SegmentedControl, SegmentedControlItem, Separator, Sidebar, SidebarToggle, Skeleton, Spinner, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Text, Textarea, ThemeProvider, Toast, ToastAction, ToastTitle, ToggleButton, Tooltip, TooltipContent, TooltipRoot, TooltipTrigger, Transition, TransitionGroup };
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{m as a,f as n}from"./factory-
|
|
1
|
+
import{m as a,f as n}from"./factory-jWsWBOG3.js";for(const[o,t]of Object.entries(a))customElements.get(o)||customElements.define(o,n(o,t));const e="ax-alert",r="ax-alert-dialog",s="ax-alert-dialog-action",c="ax-alert-dialog-body",i="ax-alert-dialog-cancel",x="ax-alert-dialog-content",l="ax-alert-dialog-footer",d="ax-alert-dialog-header",g="ax-alert-dialog-trigger",p="ax-angle-menu-button",u="ax-avatar",b="ax-avatar-group",m="ax-axiom-provider",w="ax-badge",D="ax-banner",v="ax-box",T="ax-button",h="ax-button-group",A="ax-checkbox",C="ax-code",L="ax-dialog",I="ax-dialog-body",f="ax-dialog-close",S="ax-dialog-content",y="ax-dialog-footer",M="ax-dialog-form",B="ax-dialog-header",k="ax-dialog-trigger",F="ax-disclosure",P="ax-disclosure-content",G="ax-disclosure-trigger",N="ax-drawer",H="ax-drawer-actions",R="ax-drawer-body",E="ax-drawer-close",j="ax-drawer-content",K="ax-drawer-description",O="ax-drawer-footer",q="ax-drawer-header",z="ax-drawer-title",J="ax-drawer-trigger",Q="ax-dropdown-menu",U="ax-dropdown-menu-checkbox-item",V="ax-dropdown-menu-content",W="ax-dropdown-menu-group",X="ax-dropdown-menu-item",Y="ax-dropdown-menu-label",Z="ax-dropdown-menu-separator",_="ax-dropdown-menu-sub",$="ax-dropdown-menu-sub-content",oo="ax-dropdown-menu-trigger",to="ax-ellipsis-menu-button",ao="ax-field",no="ax-field-label",eo="ax-flex",ro="ax-grid",so="ax-heading",co="ax-indicator",io="ax-input",xo="ax-input-addon",lo="ax-input-control",go="ax-input-root",po="ax-kbd",uo="ax-link",bo="ax-listbox",mo="ax-listbox-checkbox-item",wo="ax-listbox-empty",Do="ax-listbox-footer",vo="ax-listbox-group",To="ax-listbox-item",ho="ax-listbox-item-indicator",Ao="ax-listbox-label",Co="ax-listbox-radio-item",Lo="ax-listbox-scroll-area",Io="ax-listbox-separator",fo="ax-listbox-switch-item",So="ax-modal-layer",yo="ax-nav",Mo="ax-nav-account-item",Bo="ax-nav-body",ko="ax-nav-footer",Fo="ax-nav-header",Po="ax-nav-item",Go="ax-nav-list",No="ax-pagination",Ho="ax-paper",Ro="ax-popover",Eo="ax-popover-anchor",jo="ax-popover-content",Ko="ax-popover-trigger",Oo="ax-progress",qo="ax-radio",zo="ax-radio-group",Jo="ax-search-input",Qo="ax-segmented-control",Uo="ax-segmented-control-item",Vo="ax-separator",Wo="ax-sidebar",Xo="ax-sidebar-toggle",Yo="ax-skeleton",Zo="ax-spinner",_o="ax-switch",$o="ax-tabs",ot="ax-tabs-content",tt="ax-tabs-list",at="ax-tabs-trigger",nt="ax-text",et="ax-textarea",rt="ax-theme-provider",st="ax-toast",ct="ax-toast-action",it="ax-toast-title",xt="ax-toggle-button",lt="ax-tooltip",dt="ax-tooltip-content",gt="ax-tooltip-root",pt="ax-tooltip-trigger",ut="ax-transition",bt="ax-transition-group";export{e as Alert,r as AlertDialog,s as AlertDialogAction,c as AlertDialogBody,i as AlertDialogCancel,x as AlertDialogContent,l as AlertDialogFooter,d as AlertDialogHeader,g as AlertDialogTrigger,p as AngleMenuButton,u as Avatar,b as AvatarGroup,m as AxiomProvider,w as Badge,D as Banner,v as Box,T as Button,h as ButtonGroup,A as Checkbox,C as Code,L as Dialog,I as DialogBody,f as DialogClose,S as DialogContent,y as DialogFooter,M as DialogForm,B as DialogHeader,k as DialogTrigger,F as Disclosure,P as DisclosureContent,G as DisclosureTrigger,N as Drawer,H as DrawerActions,R as DrawerBody,E as DrawerClose,j as DrawerContent,K as DrawerDescription,O as DrawerFooter,q as DrawerHeader,z as DrawerTitle,J as DrawerTrigger,Q as DropdownMenu,U as DropdownMenuCheckboxItem,V as DropdownMenuContent,W as DropdownMenuGroup,X as DropdownMenuItem,Y as DropdownMenuLabel,Z as DropdownMenuSeparator,_ as DropdownMenuSub,$ as DropdownMenuSubContent,oo as DropdownMenuTrigger,to as EllipsisMenuButton,ao as Field,no as FieldLabel,eo as Flex,ro as Grid,so as Heading,co as Indicator,io as Input,xo as InputAddon,lo as InputControl,go as InputRoot,po as Kbd,uo as Link,bo as Listbox,mo as ListboxCheckboxItem,wo as ListboxEmpty,Do as ListboxFooter,vo as ListboxGroup,To as ListboxItem,ho as ListboxItemIndicator,Ao as ListboxLabel,Co as ListboxRadioItem,Lo as ListboxScrollArea,Io as ListboxSeparator,fo as ListboxSwitchItem,So as ModalLayer,yo as Nav,Mo as NavAccountItem,Bo as NavBody,ko as NavFooter,Fo as NavHeader,Po as NavItem,Go as NavList,No as Pagination,Ho as Paper,Ro as Popover,Eo as PopoverAnchor,jo as PopoverContent,Ko as PopoverTrigger,Oo as Progress,qo as Radio,zo as RadioGroup,Jo as SearchInput,Qo as SegmentedControl,Uo as SegmentedControlItem,Vo as Separator,Wo as Sidebar,Xo as SidebarToggle,Yo as Skeleton,Zo as Spinner,_o as Switch,$o as Tabs,ot as TabsContent,tt as TabsList,at as TabsTrigger,nt as Text,et as Textarea,rt as ThemeProvider,st as Toast,ct as ToastAction,it as ToastTitle,xt as ToggleButton,lt as Tooltip,dt as TooltipContent,gt as TooltipRoot,pt as TooltipTrigger,ut as Transition,bt as TransitionGroup};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i}from"./register-CNODxtve.js";i("@layer optiaxiom, optiaxiom.theme, optiaxiom.base, optiaxiom._1abiwg2, optiaxiom._1c60kh6;");
|