@optiaxiom/web-components 0.8.8 → 0.8.10
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/dist/ActionsRoot.css.ts.vanilla-CnoocOUG-DsgvC-HW.js +1 -0
- package/dist/AlertDialogContext-U6RJGQoP.js +1 -0
- package/dist/{AngleMenuButton-BHX30Usc.js → AngleMenuButton-In5d_Rzp.js} +1 -1
- package/dist/Avatar-C2cSy5pR.js +1 -0
- package/dist/AvatarContext-B9XE0t3Z.js +1 -0
- package/dist/Backdrop-0w8sOB-_.js +1 -0
- package/dist/Badge-BA316yzF.js +1 -0
- package/dist/Box-BskOfT7h.js +1 -0
- package/dist/Button-C15ULBex.js +1 -0
- package/dist/ButtonContext-B93I-Nm_.js +1 -0
- package/dist/Checkbox-CabpjzbK.js +1 -0
- package/dist/{Combination-CNsT22n5.js → Combination-rSpto403.js} +1 -1
- package/dist/Cover-DKT2BVPr.js +1 -0
- package/dist/DialogContext-CLPHFFZ-.js +1 -0
- package/dist/{DisclosureContext-DHlGN3xQ.js → DisclosureContext-CpMsuUAy.js} +1 -1
- package/dist/DrawerContext-g5ODPbbD.js +1 -0
- package/dist/DropdownMenuContext-BKmmnLql.js +1 -0
- package/dist/DropdownMenuSubContext-Ff9L6orN.js +1 -0
- package/dist/FieldContext-BpSuDfmo.js +1 -0
- package/dist/{FieldLabel-Ce6lKnPD.js → FieldLabel-DxsegGTt.js} +1 -1
- package/dist/{Flex-Cz5Cg9L6.js → Flex-gMB6ZbdA.js} +1 -1
- package/dist/{Heading-DIjnpxa6.js → Heading-C6UfuYv9.js} +1 -1
- package/dist/Icon-BOZyvxjt.js +1 -0
- package/dist/{IconAngleRight-DdYBlpQf.js → IconAngleRight-BU71UOsC.js} +1 -1
- package/dist/{IconCircleInfoSolid-aIo4dmJ0.js → IconCircleInfoSolid-BxD5JRK_.js} +1 -1
- package/dist/{IconEllipsis-Bo_Hf8U1.js → IconEllipsis-CSFCjFFo.js} +1 -1
- package/dist/{IconTriangleExclamationSolid-D4YbNwwo.js → IconTriangleExclamationSolid-CsZoqqzr.js} +1 -1
- package/dist/{IconX-CLF9PmDU.js → IconX-YTLILhqW.js} +1 -1
- package/dist/{Input-DaKbs8-O.js → Input-BlqXPsq1.js} +1 -1
- package/dist/{InputAddon-ByOZ-JMl.js → InputAddon-D6224xR8.js} +1 -1
- package/dist/InputContext-oUbEp8sM.js +1 -0
- package/dist/InputControl-DUCr9gPM.js +1 -0
- package/dist/InputControl.css.ts.vanilla-Coaams4S-nOkd975A.js +1 -0
- package/dist/InputRoot-D9RQV7tc.js +1 -0
- package/dist/{Listbox-C5h3hR1m.js → Listbox-DPHsc9PD.js} +1 -1
- package/dist/ListboxGroupContext-CjrSzX7_.js +1 -0
- package/dist/ListboxItem-DA_5B2F3.js +1 -0
- package/dist/{ListboxItemIndicator-BvDyYUKF.js → ListboxItemIndicator-1ExFB_PV.js} +1 -1
- package/dist/ListboxSeparator-Ct0kPbHp.js +1 -0
- package/dist/{ListboxSwitchItem-BHiJ-yOB.js → ListboxSwitchItem-C5GRyXjy.js} +1 -1
- package/dist/MenuListbox-CMx-WJI0.js +1 -0
- package/dist/ModalContext-BaEJ-cyD.js +1 -0
- package/dist/NavItem-CosrurPI.js +1 -0
- package/dist/{Paper-SOSZ3YPD.js → Paper-XNdqK_o5.js} +1 -1
- package/dist/PopoverContext-Byn-FUMm.js +1 -0
- package/dist/RadioGroupContext--lXDyNri.js +1 -0
- package/dist/{SegmentedControlContext-D6sIDi2D.js → SegmentedControlContext-BJAjmVjd.js} +1 -1
- package/dist/Separator-BjQ8hrPh.js +1 -0
- package/dist/SidebarContext-DATBKoh2.js +1 -0
- package/dist/Spinner-CxBW1REt.js +1 -0
- package/dist/Switch-BewSjg96.js +1 -0
- package/dist/Text-K-3kW4lN.js +1 -0
- package/dist/ThemeProvider-yWM28FNP.js +13 -0
- package/dist/Toast-DP7GjYhW.js +1 -0
- package/dist/{ToastAction-Dzas2BRC.js → ToastAction-BFybktg0.js} +1 -1
- package/dist/ToastProvider-Cf_jm_M-.js +1 -0
- package/dist/{ToastTitle-By1qI1Tn.js → ToastTitle-SgJFPghb.js} +1 -1
- package/dist/ToggleInputHiddenInput-DiDcQc9s.js +1 -0
- package/dist/{Tooltip-CEdisft1.js → Tooltip-CFyps4Ji.js} +1 -1
- package/dist/{TooltipContent-BmDfwSoe.js → TooltipContent-B3bMASTl.js} +1 -1
- package/dist/TooltipContext-AYB5XjdV.js +1 -0
- package/dist/TooltipProvider-CBFTmnfl.js +1 -0
- package/dist/{TooltipRoot-fipHpFKP.js → TooltipRoot-DXixNKfR.js} +1 -1
- package/dist/{TooltipTrigger-B0PS4qaZ.js → TooltipTrigger-DJg3JF-A.js} +1 -1
- package/dist/Transition-DzTHAXFA.js +1 -0
- package/dist/{TransitionGroup-BWut0hj4.js → TransitionGroup-NHzBPqdA.js} +1 -1
- 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 +1 -1
- package/dist/components/AlertDialogAction.js +1 -1
- package/dist/components/AlertDialogBody.d.ts +1 -1
- package/dist/components/AlertDialogBody.js +1 -1
- package/dist/components/AlertDialogCancel.d.ts +1 -1
- package/dist/components/AlertDialogCancel.js +1 -1
- package/dist/components/AlertDialogContent.d.ts +5 -5
- package/dist/components/AlertDialogContent.js +1 -1
- package/dist/components/AlertDialogFooter.d.ts +1 -1
- package/dist/components/AlertDialogFooter.js +1 -1
- package/dist/components/AlertDialogHeader.d.ts +1 -1
- package/dist/components/AlertDialogHeader.js +1 -1
- package/dist/components/AlertDialogTrigger.d.ts +1 -1
- package/dist/components/AlertDialogTrigger.js +1 -1
- package/dist/components/AngleMenuButton.d.ts +1 -1
- package/dist/components/AngleMenuButton.js +1 -1
- package/dist/components/Avatar.d.ts +1 -1
- package/dist/components/Avatar.js +1 -1
- package/dist/components/AvatarGroup.d.ts +1 -1
- package/dist/components/AvatarGroup.js +1 -1
- package/dist/components/AxiomProvider.d.ts +1 -1
- package/dist/components/AxiomProvider.js +1 -1
- package/dist/components/Badge.d.ts +1 -1
- 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 +1 -1
- package/dist/components/Button.js +1 -1
- package/dist/components/ButtonGroup.d.ts +1 -1
- package/dist/components/ButtonGroup.js +1 -1
- package/dist/components/Checkbox.d.ts +2 -2
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/Code.d.ts +1 -1
- 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 +1 -1
- package/dist/components/DialogBody.js +1 -1
- package/dist/components/DialogClose.d.ts +1 -1
- package/dist/components/DialogClose.js +1 -1
- package/dist/components/DialogContent.d.ts +7 -7
- package/dist/components/DialogContent.js +1 -1
- package/dist/components/DialogFooter.d.ts +1 -1
- package/dist/components/DialogFooter.js +1 -1
- package/dist/components/DialogForm.d.ts +1 -1
- package/dist/components/DialogForm.js +1 -1
- package/dist/components/DialogHeader.d.ts +1 -1
- package/dist/components/DialogHeader.js +1 -1
- package/dist/components/DialogTrigger.d.ts +1 -1
- 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 +1 -1
- package/dist/components/DisclosureContent.js +1 -1
- package/dist/components/DisclosureTrigger.d.ts +1 -1
- 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/DrawerBody.d.ts +1 -1
- package/dist/components/DrawerBody.js +1 -1
- package/dist/components/DrawerClose.d.ts +1 -1
- package/dist/components/DrawerClose.js +1 -1
- package/dist/components/DrawerContent.d.ts +7 -7
- package/dist/components/DrawerContent.js +1 -1
- package/dist/components/DrawerFooter.d.ts +1 -1
- package/dist/components/DrawerFooter.js +1 -1
- package/dist/components/DrawerHeader.d.ts +1 -1
- package/dist/components/DrawerHeader.js +1 -1
- package/dist/components/DrawerTrigger.d.ts +1 -1
- 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 +3 -3
- package/dist/components/DropdownMenuCheckboxItem.js +1 -1
- package/dist/components/DropdownMenuContent.d.ts +6 -6
- package/dist/components/DropdownMenuContent.js +1 -1
- package/dist/components/DropdownMenuGroup.d.ts +1 -1
- 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 +1 -1
- package/dist/components/DropdownMenuLabel.js +1 -1
- package/dist/components/DropdownMenuSeparator.d.ts +1 -1
- 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 +5 -5
- package/dist/components/DropdownMenuSubContent.js +1 -1
- package/dist/components/DropdownMenuTrigger.d.ts +1 -1
- package/dist/components/DropdownMenuTrigger.js +1 -1
- package/dist/components/EllipsisMenuButton.d.ts +1 -1
- package/dist/components/EllipsisMenuButton.js +1 -1
- package/dist/components/Field.d.ts +1 -1
- package/dist/components/Field.js +1 -1
- package/dist/components/FieldLabel.d.ts +1 -1
- package/dist/components/FieldLabel.js +1 -1
- package/dist/components/Flex.d.ts +1 -1
- package/dist/components/Flex.js +1 -1
- package/dist/components/Grid.d.ts +1 -1
- package/dist/components/Grid.js +1 -1
- package/dist/components/Heading.d.ts +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Indicator.d.ts +1 -1
- package/dist/components/Indicator.js +1 -1
- package/dist/components/Input.d.ts +1 -1
- package/dist/components/Input.js +1 -1
- package/dist/components/InputAddon.d.ts +1 -1
- package/dist/components/InputAddon.js +1 -1
- package/dist/components/InputControl.d.ts +1 -1
- package/dist/components/InputControl.js +1 -1
- package/dist/components/InputRoot.d.ts +1 -1
- package/dist/components/InputRoot.js +1 -1
- package/dist/components/Kbd.d.ts +1 -1
- package/dist/components/Kbd.js +1 -1
- package/dist/components/Link.d.ts +2 -1
- package/dist/components/Link.js +1 -1
- package/dist/components/Listbox.d.ts +1 -1
- package/dist/components/Listbox.js +1 -1
- package/dist/components/ListboxCheckboxItem.d.ts +1 -1
- package/dist/components/ListboxCheckboxItem.js +1 -1
- package/dist/components/ListboxEmpty.d.ts +1 -1
- package/dist/components/ListboxEmpty.js +1 -1
- package/dist/components/ListboxFooter.d.ts +1 -1
- package/dist/components/ListboxFooter.js +1 -1
- package/dist/components/ListboxGroup.d.ts +1 -1
- package/dist/components/ListboxGroup.js +1 -1
- package/dist/components/ListboxItem.d.ts +1 -1
- package/dist/components/ListboxItem.js +1 -1
- package/dist/components/ListboxItemIndicator.d.ts +1 -1
- package/dist/components/ListboxItemIndicator.js +1 -1
- package/dist/components/ListboxLabel.d.ts +1 -1
- package/dist/components/ListboxLabel.js +1 -1
- package/dist/components/ListboxRadioItem.d.ts +1 -1
- package/dist/components/ListboxRadioItem.js +1 -1
- package/dist/components/ListboxScrollArea.d.ts +1 -1
- package/dist/components/ListboxScrollArea.js +1 -1
- package/dist/components/ListboxSeparator.d.ts +1 -1
- package/dist/components/ListboxSeparator.js +1 -1
- package/dist/components/ListboxSwitchItem.d.ts +1 -1
- package/dist/components/ListboxSwitchItem.js +1 -1
- package/dist/components/ModalContextProvider.d.ts +2 -2
- package/dist/components/ModalContextProvider.js +1 -1
- package/dist/components/ModalLayer.d.ts +1 -1
- 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 +1 -1
- package/dist/components/NavAccountItem.js +1 -1
- package/dist/components/NavBody.d.ts +1 -1
- package/dist/components/NavBody.js +1 -1
- package/dist/components/NavFooter.d.ts +1 -1
- package/dist/components/NavFooter.js +1 -1
- package/dist/components/NavHeader.d.ts +1 -1
- package/dist/components/NavHeader.js +1 -1
- package/dist/components/NavItem.d.ts +1 -1
- package/dist/components/NavItem.js +1 -1
- package/dist/components/NavList.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/PopoverAnchor.js +1 -1
- package/dist/components/PopoverContent.d.ts +7 -7
- package/dist/components/PopoverContent.js +1 -1
- package/dist/components/PopoverTrigger.d.ts +1 -1
- package/dist/components/PopoverTrigger.js +1 -1
- package/dist/components/Progress.d.ts +1 -1
- 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 +4 -4
- 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 +1 -1
- package/dist/components/SegmentedControlItem.js +1 -1
- package/dist/components/Separator.d.ts +1 -1
- 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 +1 -1
- package/dist/components/SidebarToggle.js +1 -1
- package/dist/components/Skeleton.d.ts +1 -1
- package/dist/components/Skeleton.js +1 -1
- package/dist/components/Spinner.d.ts +1 -1
- 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 +1 -1
- package/dist/components/TabsContent.js +1 -1
- package/dist/components/TabsList.d.ts +1 -1
- package/dist/components/TabsList.js +1 -1
- package/dist/components/TabsTrigger.d.ts +1 -1
- package/dist/components/TabsTrigger.js +1 -1
- package/dist/components/Text.d.ts +1 -1
- package/dist/components/Text.js +1 -1
- package/dist/components/Textarea.d.ts +1 -1
- package/dist/components/Textarea.js +1 -1
- package/dist/components/ThemeProvider.d.ts +1 -1
- package/dist/components/ThemeProvider.js +1 -1
- package/dist/components/Toast.d.ts +9 -9
- package/dist/components/Toast.js +1 -1
- package/dist/components/ToastAction.d.ts +1 -1
- package/dist/components/ToastAction.js +1 -1
- package/dist/components/ToastProvider.d.ts +1 -1
- package/dist/components/ToastProvider.js +1 -1
- package/dist/components/ToastTitle.d.ts +1 -1
- 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 +4 -4
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/TooltipContent.d.ts +3 -3
- package/dist/components/TooltipContent.js +1 -1
- package/dist/components/TooltipProvider.d.ts +1 -1
- package/dist/components/TooltipProvider.js +1 -1
- package/dist/components/TooltipRoot.d.ts +2 -2
- package/dist/components/TooltipRoot.js +1 -1
- package/dist/components/TooltipTrigger.d.ts +1 -1
- 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/{decorateChildren-DDCK5QCj.js → decorateChildren-CLN7BR1c.js} +1 -1
- package/dist/fallbackSpan-ChamUcjX.js +1 -0
- package/dist/{index-0VYBJ9Rc.js → index-04p6oP0o.js} +1 -1
- package/dist/{index-17s6MfzL.js → index-2gl7Zoxd.js} +1 -1
- package/dist/{index-ncmBP7py.js → index-7qmF6Okt.js} +1 -1
- package/dist/{index-BX3RLjgR.js → index-BCWvJkCg.js} +1 -1
- package/dist/{index-nSdOLOpB.js → index-BbdpNgBH.js} +1 -1
- package/dist/{index-Cg2PG_9k.js → index-Bz28XzdS.js} +1 -1
- package/dist/{index-Dt7QiBAn.js → index-C6sDz7-9.js} +1 -1
- package/dist/{index-COx1pHSg.js → index-C8z1jUkR.js} +1 -1
- package/dist/{index-Ceax_uYU.js → index-CE9F8BGx.js} +1 -1
- package/dist/index-CI31iywK.js +1 -0
- package/dist/{index-CURB1Y5l.js → index-CKJPqZDh.js} +1 -1
- package/dist/{index-D8fjhMLF.js → index-CXhPXL9U.js} +1 -1
- package/dist/{index-UVUhp3Uz.js → index-ChtzJVWV.js} +1 -1
- package/dist/{index-Cs7lwrTM.js → index-D1ITUYIR.js} +1 -1
- package/dist/{index-DbdLSO3Q.js → index-DEsFtj80.js} +1 -1
- package/dist/{index-BqUs-Pwe.js → index-D_jre6mB.js} +1 -1
- package/dist/{index-C_rOOEYj.js → index-DaWaqc4s.js} +1 -1
- package/dist/index-GaxCPVEo.js +1 -0
- package/dist/{index-CHzmDk7o.js → index-MCghI6d9.js} +1 -1
- package/dist/{index-BG2PsQQa.js → index-VuTuPPT6.js} +1 -1
- package/dist/{index-BkJvGJS0.js → index-hnJywQdB.js} +1 -1
- package/dist/{index-BkNgpX5Y.js → index-jjadV4fc.js} +1 -1
- package/dist/{index-tf32pssn.js → index-xV-FyTEh.js} +1 -1
- package/dist/index.d.ts +74 -73
- package/dist/index.js +1 -1
- package/dist/layers.css.ts.vanilla-B7C-Rlf1-D9lckT6G.js +1 -0
- package/dist/propTypes-Bzk8CfKQ.js +1 -0
- package/dist/{register-b54KUePW.js → register-tFUNafp8.js} +2 -2
- package/dist/types-D3fuzi_a.d.ts +24 -0
- package/dist/{useNestedDialogCount-1WR7qYoD.js → useNestedDialogCount-w7oMiRgW.js} +1 -1
- package/dist/{withIcon-BIYs4Gcs.js → withIcon-DQER82vM.js} +1 -1
- package/package.json +2 -2
- package/dist/ActionsRoot.css.ts.vanilla-Dfk5YZBS-DdVAPr7I.js +0 -1
- package/dist/AlertDialogContext-DhpfTO-7.js +0 -1
- package/dist/Avatar-DQIpdPwa.js +0 -1
- package/dist/AvatarContext-BxJ3vaF8.js +0 -1
- package/dist/Backdrop-DLLkXTSx.js +0 -1
- package/dist/Badge-CydugMlj.js +0 -1
- package/dist/Box-Cx5uG7vH.js +0 -1
- package/dist/Button-BnBM-Uxg.js +0 -1
- package/dist/ButtonContext-DM7jH16l.js +0 -1
- package/dist/Checkbox-D3TNP36j.js +0 -1
- package/dist/Cover-C3FGs1Dw.js +0 -1
- package/dist/DialogContext-BWf5Oq-s.js +0 -1
- package/dist/DrawerContext-DInD_HNg.js +0 -1
- package/dist/DropdownMenuContext-CAbA4qrY.js +0 -1
- package/dist/DropdownMenuSubContext-Bf1RajTb.js +0 -1
- package/dist/FieldContext-CsSVvBWF.js +0 -1
- package/dist/Icon-DGRlKqN4.js +0 -1
- package/dist/InputContext-B130-TrB.js +0 -1
- package/dist/InputControl-C76YVAjS.js +0 -1
- package/dist/InputControl.css.ts.vanilla-BTzKwlXr-BZKfV42b.js +0 -1
- package/dist/InputRoot-e0bYfs3I.js +0 -1
- package/dist/ListboxGroupContext-DjgnqFgB.js +0 -1
- package/dist/ListboxItem-DfKPIW8F.js +0 -1
- package/dist/ListboxSeparator-vc499Usp.js +0 -1
- package/dist/MenuListbox-B3Amegay.js +0 -1
- package/dist/ModalContext-N9pvaumq.js +0 -1
- package/dist/NavItem-CcLWuT1b.js +0 -1
- package/dist/PopoverContext-C2ZT8Z0p.js +0 -1
- package/dist/RadioGroupContext-i0ypSc70.js +0 -1
- package/dist/Separator-DBWEXh3d.js +0 -1
- package/dist/SidebarContext-QCnOxR0E.js +0 -1
- package/dist/Spinner-DQNz5OzG.js +0 -1
- package/dist/Switch-Bg-tTl8l.js +0 -1
- package/dist/Text-BcMMeoNg.js +0 -1
- package/dist/ThemeProvider-D_pr_Mp0.js +0 -13
- package/dist/Toast-D5ITuliR.js +0 -1
- package/dist/ToastProvider-BqpTMryL.js +0 -1
- package/dist/ToggleInputHiddenInput-B01-iZIB.js +0 -1
- package/dist/TooltipContext-CXuX4mY2.js +0 -1
- package/dist/TooltipProvider-_F-ATAc_.js +0 -1
- package/dist/Transition-L0MbUskW.js +0 -1
- package/dist/fallbackSpan-DXInwL_2.js +0 -1
- package/dist/index-BGEMjMk7.js +0 -1
- package/dist/index-DIUvH_Xd.js +0 -1
- package/dist/layers.css.ts.vanilla-BSdkAYOS-DSqExME7.js +0 -1
- package/dist/propTypes-BS0cSwu1.js +0 -1
- package/dist/types-CTlz22rN.d.ts +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as j,b as q,$ as S,u as p,S as K,W as L,T as C,w as b}from"./register-
|
|
1
|
+
import{a as j,b as q,$ as S,u as p,S as K,W as L,T as C,w as b}from"./register-tFUNafp8.js";import{u as m}from"./index-DXFJDeKK.js";import{L as J}from"./index-BbdpNgBH.js";import{s as Q}from"./index-CXhPXL9U.js";import{l as V}from"./index-MCghI6d9.js";import{n as oo}from"./index-GaxCPVEo.js";import{t as P}from"./index-C8z1jUkR.js";import{c as eo}from"./index-BCWvJkCg.js";import{v as ro}from"./index-ChtzJVWV.js";var to=q(void 0);function M(o){const r=j(to);return o||r||"ltr"}var $="rovingFocusGroup.onEntryFocus",no={bubbles:!1,cancelable:!0},g="RovingFocusGroup",[D,B,ao]=J(g),[uo,io]=V(g,[ao]),[so,co]=uo(g),U=S((o,r)=>p(D.Provider,{scope:o.__scopeRovingFocusGroup,children:p(D.Slot,{scope:o.__scopeRovingFocusGroup,children:p(lo,{...o,ref:r})})}));U.displayName=g;var lo=S((o,r)=>{const{__scopeRovingFocusGroup:a,orientation:e,loop:c=!1,dir:h,currentTabStopId:F,defaultCurrentTabStopId:I,onCurrentTabStopIdChange:d,onEntryFocus:u,preventScrollOnEntryFocus:R=!1,...y}=o,v=L(null),w=Q(r,v),t=M(h),[l=null,i]=ro({prop:F,defaultProp:I,onChange:d}),[s,_]=C(!1),A=eo(u),H=B(a),T=L(!1),[N,x]=C(0);return K(()=>{const n=v.current;if(n)return n.addEventListener($,A),()=>n.removeEventListener($,A)},[A]),p(so,{scope:a,orientation:e,dir:t,loop:c,currentTabStopId:l,onItemFocus:b(n=>i(n),[i]),onItemShiftTab:b(()=>_(!0),[]),onFocusableItemAdd:b(()=>x(n=>n+1),[]),onFocusableItemRemove:b(()=>x(n=>n-1),[]),children:p(P.div,{tabIndex:s||N===0?-1:0,"data-orientation":e,...y,ref:w,style:{outline:"none",...o.style},onMouseDown:m(o.onMouseDown,()=>{T.current=!0}),onFocus:m(o.onFocus,n=>{const W=!T.current;if(n.target===n.currentTarget&&W&&!s){const G=new CustomEvent($,no);if(n.currentTarget.dispatchEvent(G),!G.defaultPrevented){const E=H().filter(f=>f.focusable),X=E.find(f=>f.active),Y=E.find(f=>f.id===l),Z=[X,Y,...E].filter(Boolean).map(f=>f.ref.current);z(Z,R)}}T.current=!1}),onBlur:m(o.onBlur,()=>_(!1))})})}),k="RovingFocusGroupItem",O=S((o,r)=>{const{__scopeRovingFocusGroup:a,focusable:e=!0,active:c=!1,tabStopId:h,...F}=o,I=oo(),d=h||I,u=co(k,a),R=u.currentTabStopId===d,y=B(a),{onFocusableItemAdd:v,onFocusableItemRemove:w}=u;return K(()=>{if(e)return v(),()=>w()},[e,v,w]),p(D.ItemSlot,{scope:a,id:d,focusable:e,active:c,children:p(P.span,{tabIndex:R?0:-1,"data-orientation":u.orientation,...F,ref:r,onMouseDown:m(o.onMouseDown,t=>{e?u.onItemFocus(d):t.preventDefault()}),onFocus:m(o.onFocus,()=>u.onItemFocus(d)),onKeyDown:m(o.onKeyDown,t=>{if(t.key==="Tab"&&t.shiftKey){u.onItemShiftTab();return}if(t.target!==t.currentTarget)return;const l=mo(t,u.orientation,u.dir);if(l!==void 0){if(t.metaKey||t.ctrlKey||t.altKey||t.shiftKey)return;t.preventDefault();let i=y().filter(s=>s.focusable).map(s=>s.ref.current);if(l==="last")i.reverse();else if(l==="prev"||l==="next"){l==="prev"&&i.reverse();const s=i.indexOf(t.currentTarget);i=u.loop?vo(i,s+1):i.slice(s+1)}setTimeout(()=>z(i))}})})})});O.displayName=k;var fo={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function po(o,r){return r!=="rtl"?o:o==="ArrowLeft"?"ArrowRight":o==="ArrowRight"?"ArrowLeft":o}function mo(o,r,a){const e=po(o.key,a);if(!(r==="vertical"&&["ArrowLeft","ArrowRight"].includes(e))&&!(r==="horizontal"&&["ArrowUp","ArrowDown"].includes(e)))return fo[e]}function z(o,r=!1){const a=(()=>{let e=document.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e})();for(const e of o)if(e===a||(e.focus({preventScroll:r}),(()=>{let c=document.activeElement;for(;c?.shadowRoot;)c=c.shadowRoot.activeElement;return c})()!==a))return}function vo(o,r){return o.map((a,e)=>o[(r+e)%o.length])}var wo=U,bo=O;export{M as a,wo as b,io as e,bo as i};
|
|
@@ -1 +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-tFUNafp8.js";import{s as j}from"./index-CXhPXL9U.js";import{t as z}from"./index-C8z1jUkR.js";import{c as K}from"./index-BCWvJkCg.js";var F="focusScope.autoFocusOnMount",W="focusScope.autoFocusOnUnmount",$={bubbles:!1,cancelable:!0},G="FocusScope",O=U((e,n)=>{const{loop:t=!1,trapped:o=!1,onMountAutoFocus:c,onUnmountAutoFocus:d,...S}=e,[r,L]=q(null),w=K(c),R=K(d),a=I(null),i=j(n,u=>L(u)),f=I({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;k(()=>{if(o){let u=function(h){if(f.paused||!r)return;const p=h.target;((E,g)=>E.getRootNode()instanceof ShadowRoot?E.getRootNode().host.contains(g):E.contains(g))(r,p)?a.current=h.target.shadowRoot?h.composedPath()[0]:h.target:v(a.current,{select:!0})},s=function(h){if(f.paused||!r)return;const p=h.relatedTarget;p!==null&&(((E,g)=>E.getRootNode()instanceof ShadowRoot?E.getRootNode().host.contains(g):E.contains(g))(r,p)||v(a.current,{select:!0}))},l=function(h){if((()=>{let p=document.activeElement;for(;p?.shadowRoot;)p=p.shadowRoot.activeElement;return p})()===document.body)for(const p of h)p.removedNodes.length>0&&v(r)};const m=r?.getRootNode()??document;m.addEventListener("focusin",u),m.addEventListener("focusout",s);const y=new MutationObserver(l);return r&&y.observe(r,{childList:!0,subtree:!0}),()=>{m.removeEventListener("focusin",u),m.removeEventListener("focusout",s),y.disconnect()}}},[o,r,f.paused]),k(()=>{if(r){D.add(f);const u=(()=>{let s=document.activeElement;for(;s?.shadowRoot;)s=s.shadowRoot.activeElement;return s})();if(!((s,l)=>s.getRootNode()instanceof ShadowRoot?s.getRootNode().host.contains(l):s.contains(l))(r,u)){const s=new CustomEvent(F,$);r.addEventListener(F,w),r.dispatchEvent(s),s.defaultPrevented||(V(Z(P(r)),{select:!0}),(()=>{let l=document.activeElement;for(;l?.shadowRoot;)l=l.shadowRoot.activeElement;return l})()===u&&v(r))}return()=>{r.removeEventListener(F,w),setTimeout(()=>{const s=new CustomEvent(W,$);r.addEventListener(W,R),r.dispatchEvent(s),s.defaultPrevented||v(u??document.body,{select:!0}),r.removeEventListener(W,R),D.remove(f)},0)}}},[r,w,R,f]);const b=B(u=>{if(!t&&!o||f.paused)return;const s=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,l=(()=>{let m=document.activeElement;for(;m?.shadowRoot;)m=m.shadowRoot.activeElement;return m})();if(s&&l){const m=u.currentTarget,[y,h]=J(m);y&&h?!u.shiftKey&&l===h?(u.preventDefault(),t&&v(y,{select:!0})):u.shiftKey&&l===y&&(u.preventDefault(),t&&v(h,{select:!0})):l===m&&u.preventDefault()}},[t,o,f.paused]);return H(z.div,{tabIndex:-1,...S,ref:i,onKeyDown:b})});O.displayName=G;function V(e,{select:n=!1}={}){const t=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();for(const o of e)if(v(o,{select:n}),(()=>{let c=document.activeElement;for(;c?.shadowRoot;)c=c.shadowRoot.activeElement;return c})()!==t)return}function J(e){const n=P(e),t=C(n,e),o=C(n.reverse(),e);return[t,o]}function P(e){const n=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const c=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||c?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)n.push(t.currentNode);return n}function C(e,n){for(const t of e)if(!Q(t,{upTo:n}))return t}function Q(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function X(e){return e instanceof HTMLInputElement&&"select"in e}function v(e,{select:n=!1}={}){if(e&&e.focus){const t=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();e.focus({preventScroll:!0}),e!==t&&X(e)&&n&&e.select()}}var D=Y();function Y(){let e=[];return{add(n){const t=e[0];n!==t&&t?.pause(),e=x(e,n),e.unshift(n)},remove(n){e=x(e,n),e[0]?.resume()}}}function x(e,n){const t=[...e],o=t.indexOf(n);return o!==-1&&t.splice(o,1),t}function Z(e){return e.filter(n=>n.tagName!=="A")}var ee=function(e){if(typeof document>"u")return null;var n=Array.isArray(e)?e[0]:e;return n.ownerDocument.body},N=new WeakMap,A=new WeakMap,T={},M=0,_=function(e){return e&&(e.host||_(e.parentNode))},te=function(e,n){return n.map(function(t){if(((c,d)=>{for(;d.getRootNode()instanceof ShadowRoot;)d=d.getRootNode().host;return c.contains(d)})(e,t))return t;var o=_(t);return o&&((c,d)=>{for(;d.getRootNode()instanceof ShadowRoot;)d=d.getRootNode().host;return c.contains(d)})(e,o)?o:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(t){return Boolean(t)})},oe=function(e,n,t,o){var c=te(n,Array.isArray(e)?e:[e]);T[t]||(T[t]=new WeakMap);var d=T[t],S=[],r=new Set,L=new Set(c),w=function(a){if(!(!a||r.has(a))){if(r.add(a),a.parentNode instanceof ShadowRoot)for(const i of a.parentNode.querySelectorAll("slot"))for(const f of i.assignedElements())r.add(f);w(a.parentNode instanceof ShadowRoot?a.parentNode.host:a.parentNode)}};c.forEach(w);var R=function(a){!a||L.has(a)||Array.prototype.forEach.call(a.children,function(i){if(r.has(i))R(i);else try{var f=i.getAttribute(o),b=f!==null&&f!=="false",u=(N.get(i)||0)+1,s=(d.get(i)||0)+1;N.set(i,u),d.set(i,s),S.push(i),u===1&&b&&A.set(i,!0),s===1&&i.setAttribute(t,"true"),b||i.setAttribute(o,"true")}catch(l){console.error("aria-hidden: cannot operate on ",i,l)}})};return R(n),r.clear(),M++,function(){S.forEach(function(a){var i=N.get(a)-1,f=d.get(a)-1;N.set(a,i),d.set(a,f),i||(A.has(a)||a.removeAttribute(o),A.delete(a)),f||a.removeAttribute(t)}),M--,M||(N=new WeakMap,N=new WeakMap,A=new WeakMap,T={})}},ne=function(e,n,t){t===void 0&&(t="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),c=n||ee(e);return c?(o.push.apply(o,Array.from(c.querySelectorAll("[aria-live]"))),oe(o,c,t,"aria-hidden")):function(){return null}};export{ne as h,O as y};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$ as p,u as f}from"./register-
|
|
1
|
+
import{$ as p,u as f}from"./register-tFUNafp8.js";import{u as n}from"./index-DXFJDeKK.js";import{v as m}from"./index-ChtzJVWV.js";import{t as u}from"./index-C8z1jUkR.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 +1 @@
|
|
|
1
|
-
import{T,W as w,u,S as O,w as C,$ as p,D as wn}from"./register-b54KUePW.js";import{u as m}from"./index-DXFJDeKK.js";import{s as L,f as _n,a as we}from"./index-D8fjhMLF.js";import{l as _e}from"./index-CHzmDk7o.js";import{v as Me}from"./index-UVUhp3Uz.js";import{v as Mn,t as E}from"./index-COx1pHSg.js";import{L as yn}from"./index-nSdOLOpB.js";import{e as ye,a as Dn,i as Cn,b as bn}from"./index-BG2PsQQa.js";import{p as $n}from"./index-0VYBJ9Rc.js";import{a as On,o as Pn}from"./Combination-CNsT22n5.js";import{h as xn,y as In}from"./index-BkJvGJS0.js";import{n as j}from"./index-BGEMjMk7.js";import{R as De,W as Ce,Y as kn,z as Tn,D as En}from"./index-CURB1Y5l.js";import{o as Nn}from"./index-Dt7QiBAn.js";import{M as H}from"./index-17s6MfzL.js";import{c as re}from"./index-BX3RLjgR.js";var te=["Enter"," "],Sn=["ArrowDown","PageUp","Home"],be=["ArrowUp","PageDown","End"],Rn=[...Sn,...be],Fn={ltr:[...te,"ArrowRight"],rtl:[...te,"ArrowLeft"]},Ln={ltr:["ArrowLeft"],rtl:["ArrowRight"]},K="Menu",[A,Kn,An]=yn(K),[P,$e]=_e(K,[An,De,ye]),G=De(),Oe=ye(),[Pe,b]=P(K),[Gn,V]=P(K),xe=e=>{const{__scopeMenu:r,open:n=!1,children:t,dir:o,onOpenChange:a,modal:i=!0}=e,s=G(r),[f,v]=T(null),d=w(!1),c=re(a),h=Dn(o);return O(()=>{const D=()=>{d.current=!0,document.addEventListener("pointerdown",g,{capture:!0,once:!0}),document.addEventListener("pointermove",g,{capture:!0,once:!0})},g=()=>d.current=!1;return document.addEventListener("keydown",D,{capture:!0}),()=>{document.removeEventListener("keydown",D,{capture:!0}),document.removeEventListener("pointerdown",g,{capture:!0}),document.removeEventListener("pointermove",g,{capture:!0})}},[]),u(Ce,{...s,children:u(Pe,{scope:r,open:n,onOpenChange:c,content:f,onContentChange:v,children:u(Gn,{scope:r,onClose:C(()=>c(!1),[c]),isUsingKeyboardRef:d,dir:h,modal:i,children:t})})})};xe.displayName=K;var Vn="MenuAnchor",oe=p((e,r)=>{const{__scopeMenu:n,...t}=e,o=G(n);return u(Tn,{...o,...t,ref:r})});oe.displayName=Vn;var ae="MenuPortal",[Un,Ie]=P(ae,{forceMount:void 0}),ke=e=>{const{__scopeMenu:r,forceMount:n,children:t,container:o}=e,a=b(ae,r);return u(Un,{scope:r,forceMount:n,children:u(H,{present:n||a.open,children:u(Nn,{asChild:!0,container:o,children:t})})})};ke.displayName=ae;var y="MenuContent",[Bn,ue]=P(y),Te=p((e,r)=>{const n=Ie(y,e.__scopeMenu),{forceMount:t=n.forceMount,...o}=e,a=b(y,e.__scopeMenu),i=V(y,e.__scopeMenu);return u(A.Provider,{scope:e.__scopeMenu,children:u(H,{present:t||a.open,children:u(A.Slot,{scope:e.__scopeMenu,children:i.modal?u(Wn,{...o,ref:r}):u(Xn,{...o,ref:r})})})})}),Wn=p((e,r)=>{const n=b(y,e.__scopeMenu),t=w(null),o=L(r,t);return O(()=>{const a=t.current;if(a)return xn(a)},[]),u(ce,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:m(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),Xn=p((e,r)=>{const n=b(y,e.__scopeMenu);return u(ce,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),ce=p((e,r)=>{const{__scopeMenu:n,loop:t=!1,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:i,disableOutsidePointerEvents:s,onEntryFocus:f,onEscapeKeyDown:v,onPointerDownOutside:d,onFocusOutside:c,onInteractOutside:h,onDismiss:D,disableOutsideScroll:g,...N}=e,S=b(y,n),x=V(y,n),ln=G(n),dn=Oe(n),fe=Kn(n),[pn,me]=T(null),W=w(null),fn=L(r,W,S.onContentChange),X=w(0),Y=w(""),mn=w(0),q=w(null),he=w("right"),ee=w(0),hn=g?Pn:wn,vn=g?{as:_n,allowPinchZoom:!0}:void 0,gn=l=>{const k=Y.current+l,$=fe().filter(M=>!M.disabled),R=(()=>{let M=document.activeElement;for(;M?.shadowRoot;)M=M.shadowRoot.activeElement;return M})(),ne=$.find(M=>M.ref.current===R)?.textValue,z=$.map(M=>M.textValue),F=tr(z,k,ne),ve=$.find(M=>M.textValue===F)?.ref.current;(function M(ge){Y.current=ge,window.clearTimeout(X.current),ge!==""&&(X.current=window.setTimeout(()=>M(""),1e3))})(k),ve&&setTimeout(()=>ve.focus())};O(()=>()=>window.clearTimeout(X.current),[]),On();const I=C(l=>he.current===q.current?.side&&ar(l,q.current?.area),[]);return u(Bn,{scope:n,searchRef:Y,onItemEnter:C(l=>{I(l)&&l.preventDefault()},[I]),onItemLeave:C(l=>{I(l)||(W.current?.focus(),me(null))},[I]),onTriggerLeave:C(l=>{I(l)&&l.preventDefault()},[I]),pointerGraceTimerRef:mn,onPointerGraceIntentChange:C(l=>{q.current=l},[]),children:u(hn,{...vn,children:u(In,{asChild:!0,trapped:o,onMountAutoFocus:m(a,l=>{l.preventDefault(),W.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:i,children:u($n,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:v,onPointerDownOutside:d,onFocusOutside:c,onInteractOutside:h,onDismiss:D,children:u(bn,{asChild:!0,...dn,dir:x.dir,orientation:"vertical",loop:t,currentTabStopId:pn,onCurrentTabStopIdChange:me,onEntryFocus:m(f,l=>{x.isUsingKeyboardRef.current||l.preventDefault()}),preventScrollOnEntryFocus:!0,children:u(kn,{role:"menu","aria-orientation":"vertical","data-state":He(S.open),"data-radix-menu-content":"",dir:x.dir,...ln,...N,ref:fn,style:{outline:"none",...N.style},onKeyDown:m(N.onKeyDown,l=>{const k=l.target.closest("[data-radix-menu-content]")===l.currentTarget,$=l.ctrlKey||l.altKey||l.metaKey,R=l.key.length===1;k&&(l.key==="Tab"&&l.preventDefault(),!$&&R&&gn(l.key));const ne=W.current;if(l.target!==ne||!Rn.includes(l.key))return;l.preventDefault();const z=fe().filter(F=>!F.disabled).map(F=>F.ref.current);be.includes(l.key)&&z.reverse(),nr(z)}),onBlur:m(e.onBlur,l=>{l.currentTarget.contains(l.target)||(window.clearTimeout(X.current),Y.current="")}),onPointerMove:m(e.onPointerMove,B(l=>{const k=l.target,$=ee.current!==l.clientX;if(l.currentTarget.contains(k)&&$){const R=l.clientX>ee.current?"right":"left";he.current=R,ee.current=l.clientX}}))})})})})})})});Te.displayName=y;var Yn="MenuGroup",se=p((e,r)=>{const{__scopeMenu:n,...t}=e;return u(E.div,{role:"group",...t,ref:r})});se.displayName=Yn;var zn="MenuLabel",Ee=p((e,r)=>{const{__scopeMenu:n,...t}=e;return u(E.div,{...t,ref:r})});Ee.displayName=zn;var Z="MenuItem",Ne="menu.itemSelect",J=p((e,r)=>{const{disabled:n=!1,onSelect:t,...o}=e,a=w(null),i=V(Z,e.__scopeMenu),s=ue(Z,e.__scopeMenu),f=L(r,a),v=w(!1),d=()=>{const c=a.current;if(!n&&c){const h=new CustomEvent(Ne,{bubbles:!0,cancelable:!0});c.addEventListener(Ne,D=>t?.(D),{once:!0}),Mn(c,h),h.defaultPrevented?v.current=!1:i.onClose()}};return u(Se,{...o,ref:f,disabled:n,onClick:m(e.onClick,d),onPointerDown:c=>{e.onPointerDown?.(c),v.current=!0},onPointerUp:m(e.onPointerUp,c=>{v.current||c.currentTarget?.click()}),onKeyDown:m(e.onKeyDown,c=>{const h=s.searchRef.current!=="";n||h&&c.key===" "||te.includes(c.key)&&(c.currentTarget.click(),c.preventDefault())})})});J.displayName=Z;var Se=p((e,r)=>{const{__scopeMenu:n,disabled:t=!1,textValue:o,...a}=e,i=ue(Z,n),s=Oe(n),f=w(null),v=L(r,f),[d,c]=T(!1),[h,D]=T("");return O(()=>{const g=f.current;g&&D((g.textContent??"").trim())},[a.children]),u(A.ItemSlot,{scope:n,disabled:t,textValue:o??h,children:u(Cn,{asChild:!0,...s,focusable:!t,children:u(E.div,{role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":t||void 0,"data-disabled":t?"":void 0,...a,ref:v,onPointerMove:m(e.onPointerMove,B(g=>{t?i.onItemLeave(g):(i.onItemEnter(g),g.defaultPrevented||g.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:m(e.onPointerLeave,B(g=>i.onItemLeave(g))),onFocus:m(e.onFocus,()=>c(!0)),onBlur:m(e.onBlur,()=>c(!1))})})})}),jn="MenuCheckboxItem",Re=p((e,r)=>{const{checked:n=!1,onCheckedChange:t,...o}=e;return u(Ge,{scope:e.__scopeMenu,checked:n,children:u(J,{role:"menuitemcheckbox","aria-checked":Q(n)?"mixed":n,...o,ref:r,"data-state":de(n),onSelect:m(o.onSelect,()=>t?.(Q(n)?!0:!n),{checkForDefaultPrevented:!1})})})});Re.displayName=jn;var Fe="MenuRadioGroup",[Hn,Zn]=P(Fe,{value:void 0,onValueChange:()=>{}}),Le=p((e,r)=>{const{value:n,onValueChange:t,...o}=e,a=re(t);return u(Hn,{scope:e.__scopeMenu,value:n,onValueChange:a,children:u(se,{...o,ref:r})})});Le.displayName=Fe;var Ke="MenuRadioItem",Ae=p((e,r)=>{const{value:n,...t}=e,o=Zn(Ke,e.__scopeMenu),a=n===o.value;return u(Ge,{scope:e.__scopeMenu,checked:a,children:u(J,{role:"menuitemradio","aria-checked":a,...t,ref:r,"data-state":de(a),onSelect:m(t.onSelect,()=>o.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});Ae.displayName=Ke;var ie="MenuItemIndicator",[Ge,Jn]=P(ie,{checked:!1}),Ve=p((e,r)=>{const{__scopeMenu:n,forceMount:t,...o}=e,a=Jn(ie,n);return u(H,{present:t||Q(a.checked)||a.checked===!0,children:u(E.span,{...o,ref:r,"data-state":de(a.checked)})})});Ve.displayName=ie;var Qn="MenuSeparator",Ue=p((e,r)=>{const{__scopeMenu:n,...t}=e;return u(E.div,{role:"separator","aria-orientation":"horizontal",...t,ref:r})});Ue.displayName=Qn;var qn="MenuArrow",Be=p((e,r)=>{const{__scopeMenu:n,...t}=e,o=G(n);return u(En,{...o,...t,ref:r})});Be.displayName=qn;var le="MenuSub",[er,We]=P(le),Xe=e=>{const{__scopeMenu:r,children:n,open:t=!1,onOpenChange:o}=e,a=b(le,r),i=G(r),[s,f]=T(null),[v,d]=T(null),c=re(o);return O(()=>(a.open===!1&&c(!1),()=>c(!1)),[a.open,c]),u(Ce,{...i,children:u(Pe,{scope:r,open:t,onOpenChange:c,content:v,onContentChange:d,children:u(er,{scope:r,contentId:j(),triggerId:j(),trigger:s,onTriggerChange:f,children:n})})})};Xe.displayName=le;var U="MenuSubTrigger",Ye=p((e,r)=>{const n=b(U,e.__scopeMenu),t=V(U,e.__scopeMenu),o=We(U,e.__scopeMenu),a=ue(U,e.__scopeMenu),i=w(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:f}=a,v={__scopeMenu:e.__scopeMenu},d=C(()=>{i.current&&window.clearTimeout(i.current),i.current=null},[]);return O(()=>d,[d]),O(()=>{const c=s.current;return()=>{window.clearTimeout(c),f(null)}},[s,f]),u(oe,{asChild:!0,...v,children:u(Se,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":He(n.open),...e,ref:we(r,o.onTriggerChange),onClick:c=>{e.onClick?.(c),!(e.disabled||c.defaultPrevented)&&(c.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:m(e.onPointerMove,B(c=>{a.onItemEnter(c),!c.defaultPrevented&&!e.disabled&&!n.open&&!i.current&&(a.onPointerGraceIntentChange(null),i.current=window.setTimeout(()=>{n.onOpenChange(!0),d()},100))})),onPointerLeave:m(e.onPointerLeave,B(c=>{d();const h=n.content?.getBoundingClientRect();if(h){const D=n.content?.dataset.side,g=D==="right",N=g?-5:5,S=h[g?"left":"right"],x=h[g?"right":"left"];a.onPointerGraceIntentChange({area:[{x:c.clientX+N,y:c.clientY},{x:S,y:h.top},{x,y:h.top},{x,y:h.bottom},{x:S,y:h.bottom}],side:D}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(c),c.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:m(e.onKeyDown,c=>{const h=a.searchRef.current!=="";e.disabled||h&&c.key===" "||Fn[t.dir].includes(c.key)&&(n.onOpenChange(!0),n.content?.focus(),c.preventDefault())})})})});Ye.displayName=U;var ze="MenuSubContent",je=p((e,r)=>{const n=Ie(y,e.__scopeMenu),{forceMount:t=n.forceMount,...o}=e,a=b(y,e.__scopeMenu),i=V(y,e.__scopeMenu),s=We(ze,e.__scopeMenu),f=w(null),v=L(r,f);return u(A.Provider,{scope:e.__scopeMenu,children:u(H,{present:t||a.open,children:u(A.Slot,{scope:e.__scopeMenu,children:u(ce,{id:s.contentId,"aria-labelledby":s.triggerId,...o,ref:v,align:"start",side:i.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:d=>{i.isUsingKeyboardRef.current&&f.current?.focus(),d.preventDefault()},onCloseAutoFocus:d=>d.preventDefault(),onFocusOutside:m(e.onFocusOutside,d=>{d.target!==s.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:m(e.onEscapeKeyDown,d=>{i.onClose(),d.preventDefault()}),onKeyDown:m(e.onKeyDown,d=>{const c=d.currentTarget.contains(d.target),h=Ln[i.dir].includes(d.key);c&&h&&(a.onOpenChange(!1),s.trigger?.focus(),d.preventDefault())})})})})})});je.displayName=ze;function He(e){return e?"open":"closed"}function Q(e){return e==="indeterminate"}function de(e){return Q(e)?"indeterminate":e?"checked":"unchecked"}function nr(e){const r=(()=>{let n=document.activeElement;for(;n?.shadowRoot;)n=n.shadowRoot.activeElement;return n})();for(const n of e)if(n===r||(n.focus(),(()=>{let t=document.activeElement;for(;t?.shadowRoot;)t=t.shadowRoot.activeElement;return t})()!==r))return}function rr(e,r){return e.map((n,t)=>e[(r+t)%e.length])}function tr(e,r,n){const t=r.length>1&&Array.from(r).every(s=>s===r[0])?r[0]:r,o=n?e.indexOf(n):-1;let a=rr(e,Math.max(o,0));t.length===1&&(a=a.filter(s=>s!==n));const i=a.find(s=>s.toLowerCase().startsWith(t.toLowerCase()));return i!==n?i:void 0}function or(e,r){const{x:n,y:t}=e;let o=!1;for(let a=0,i=r.length-1;a<r.length;i=a++){const s=r[a].x,f=r[a].y,v=r[i].x,d=r[i].y;f>t!=d>t&&n<(v-s)*(t-f)/(d-f)+s&&(o=!o)}return o}function ar(e,r){if(!r)return!1;const n={x:e.clientX,y:e.clientY};return or(n,r)}function B(e){return r=>r.pointerType==="mouse"?e(r):void 0}var ur=xe,cr=oe,sr=ke,ir=Te,lr=se,dr=Ee,pr=J,fr=Re,mr=Le,hr=Ae,vr=Ve,gr=Ue,wr=Be,_r=Xe,Mr=Ye,yr=je,pe="DropdownMenu",[Dr,ht]=_e(pe,[$e]),_=$e(),[Cr,Ze]=Dr(pe),Je=e=>{const{__scopeDropdownMenu:r,children:n,dir:t,open:o,defaultOpen:a,onOpenChange:i,modal:s=!0}=e,f=_(r),v=w(null),[d=!1,c]=Me({prop:o,defaultProp:a,onChange:i});return u(Cr,{scope:r,triggerId:j(),triggerRef:v,contentId:j(),open:d,onOpenChange:c,onOpenToggle:C(()=>c(h=>!h),[c]),modal:s,children:u(ur,{...f,open:d,onOpenChange:c,dir:t,modal:s,children:n})})};Je.displayName=pe;var Qe="DropdownMenuTrigger",qe=p((e,r)=>{const{__scopeDropdownMenu:n,disabled:t=!1,...o}=e,a=Ze(Qe,n),i=_(n);return u(cr,{asChild:!0,...i,children:u(E.button,{type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":t?"":void 0,disabled:t,...o,ref:we(r,a.triggerRef),onPointerDown:m(e.onPointerDown,s=>{!t&&s.button===0&&s.ctrlKey===!1&&(a.onOpenToggle(),a.open||s.preventDefault())}),onKeyDown:m(e.onKeyDown,s=>{t||(["Enter"," "].includes(s.key)&&a.onOpenToggle(),s.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(s.key)&&s.preventDefault())})})})});qe.displayName=Qe;var br="DropdownMenuPortal",en=e=>{const{__scopeDropdownMenu:r,...n}=e,t=_(r);return u(sr,{...t,...n})};en.displayName=br;var nn="DropdownMenuContent",rn=p((e,r)=>{const{__scopeDropdownMenu:n,...t}=e,o=Ze(nn,n),a=_(n),i=w(!1);return u(ir,{id:o.contentId,"aria-labelledby":o.triggerId,...a,...t,ref:r,onCloseAutoFocus:m(e.onCloseAutoFocus,s=>{i.current||o.triggerRef.current?.focus(),i.current=!1,s.preventDefault()}),onInteractOutside:m(e.onInteractOutside,s=>{const f=s.detail.originalEvent,v=f.button===0&&f.ctrlKey===!0,d=f.button===2||v;(!o.modal||d)&&(i.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});rn.displayName=nn;var $r="DropdownMenuGroup",tn=p((e,r)=>{const{__scopeDropdownMenu:n,...t}=e,o=_(n);return u(lr,{...o,...t,ref:r})});tn.displayName=$r;var Or="DropdownMenuLabel",on=p((e,r)=>{const{__scopeDropdownMenu:n,...t}=e,o=_(n);return u(dr,{...o,...t,ref:r})});on.displayName=Or;var Pr="DropdownMenuItem",an=p((e,r)=>{const{__scopeDropdownMenu:n,...t}=e,o=_(n);return u(pr,{...o,...t,ref:r})});an.displayName=Pr;var xr="DropdownMenuCheckboxItem",un=p((e,r)=>{const{__scopeDropdownMenu:n,...t}=e,o=_(n);return u(fr,{...o,...t,ref:r})});un.displayName=xr;var Ir="DropdownMenuRadioGroup",kr=p((e,r)=>{const{__scopeDropdownMenu:n,...t}=e,o=_(n);return u(mr,{...o,...t,ref:r})});kr.displayName=Ir;var Tr="DropdownMenuRadioItem",Er=p((e,r)=>{const{__scopeDropdownMenu:n,...t}=e,o=_(n);return u(hr,{...o,...t,ref:r})});Er.displayName=Tr;var Nr="DropdownMenuItemIndicator",Sr=p((e,r)=>{const{__scopeDropdownMenu:n,...t}=e,o=_(n);return u(vr,{...o,...t,ref:r})});Sr.displayName=Nr;var Rr="DropdownMenuSeparator",cn=p((e,r)=>{const{__scopeDropdownMenu:n,...t}=e,o=_(n);return u(gr,{...o,...t,ref:r})});cn.displayName=Rr;var Fr="DropdownMenuArrow",Lr=p((e,r)=>{const{__scopeDropdownMenu:n,...t}=e,o=_(n);return u(wr,{...o,...t,ref:r})});Lr.displayName=Fr;var Kr=e=>{const{__scopeDropdownMenu:r,children:n,open:t,onOpenChange:o,defaultOpen:a}=e,i=_(r),[s=!1,f]=Me({prop:t,defaultProp:a,onChange:o});return u(_r,{...i,open:s,onOpenChange:f,children:n})},Ar="DropdownMenuSubTrigger",Gr=p((e,r)=>{const{__scopeDropdownMenu:n,...t}=e,o=_(n);return u(Mr,{...o,...t,ref:r})});Gr.displayName=Ar;var Vr="DropdownMenuSubContent",sn=p((e,r)=>{const{__scopeDropdownMenu:n,...t}=e,o=_(n);return u(yr,{...o,...t,ref:r,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});sn.displayName=Vr;var Ur=Je,Br=qe,Wr=en,Xr=rn,Yr=tn,zr=on,jr=an,Hr=un,Zr=cn,Jr=Kr,Qr=sn;export{Jr as D,Zr as M,zr as c,Qr as h,Xr as i,jr as l,Hr as m,Br as p,Yr as s,Ur as t,Wr as u};
|
|
1
|
+
import{T,W as w,u,S as O,w as C,$ as p,D as wn}from"./register-tFUNafp8.js";import{u as m}from"./index-DXFJDeKK.js";import{s as L,f as _n,a as we}from"./index-CXhPXL9U.js";import{l as _e}from"./index-MCghI6d9.js";import{v as Me}from"./index-ChtzJVWV.js";import{v as Mn,t as E}from"./index-C8z1jUkR.js";import{L as yn}from"./index-BbdpNgBH.js";import{e as ye,a as Dn,i as Cn,b as bn}from"./index-VuTuPPT6.js";import{p as $n}from"./index-04p6oP0o.js";import{a as On,o as Pn}from"./Combination-rSpto403.js";import{h as xn,y as In}from"./index-hnJywQdB.js";import{n as j}from"./index-GaxCPVEo.js";import{R as De,W as Ce,Y as kn,z as Tn,D as En}from"./index-CKJPqZDh.js";import{o as Nn}from"./index-C6sDz7-9.js";import{M as H}from"./index-2gl7Zoxd.js";import{c as re}from"./index-BCWvJkCg.js";var te=["Enter"," "],Sn=["ArrowDown","PageUp","Home"],be=["ArrowUp","PageDown","End"],Rn=[...Sn,...be],Fn={ltr:[...te,"ArrowRight"],rtl:[...te,"ArrowLeft"]},Ln={ltr:["ArrowLeft"],rtl:["ArrowRight"]},K="Menu",[A,Kn,An]=yn(K),[P,$e]=_e(K,[An,De,ye]),G=De(),Oe=ye(),[Pe,b]=P(K),[Gn,V]=P(K),xe=e=>{const{__scopeMenu:r,open:n=!1,children:t,dir:o,onOpenChange:a,modal:i=!0}=e,s=G(r),[f,v]=T(null),d=w(!1),c=re(a),h=Dn(o);return O(()=>{const D=()=>{d.current=!0,document.addEventListener("pointerdown",g,{capture:!0,once:!0}),document.addEventListener("pointermove",g,{capture:!0,once:!0})},g=()=>d.current=!1;return document.addEventListener("keydown",D,{capture:!0}),()=>{document.removeEventListener("keydown",D,{capture:!0}),document.removeEventListener("pointerdown",g,{capture:!0}),document.removeEventListener("pointermove",g,{capture:!0})}},[]),u(Ce,{...s,children:u(Pe,{scope:r,open:n,onOpenChange:c,content:f,onContentChange:v,children:u(Gn,{scope:r,onClose:C(()=>c(!1),[c]),isUsingKeyboardRef:d,dir:h,modal:i,children:t})})})};xe.displayName=K;var Vn="MenuAnchor",oe=p((e,r)=>{const{__scopeMenu:n,...t}=e,o=G(n);return u(Tn,{...o,...t,ref:r})});oe.displayName=Vn;var ae="MenuPortal",[Un,Ie]=P(ae,{forceMount:void 0}),ke=e=>{const{__scopeMenu:r,forceMount:n,children:t,container:o}=e,a=b(ae,r);return u(Un,{scope:r,forceMount:n,children:u(H,{present:n||a.open,children:u(Nn,{asChild:!0,container:o,children:t})})})};ke.displayName=ae;var y="MenuContent",[Bn,ue]=P(y),Te=p((e,r)=>{const n=Ie(y,e.__scopeMenu),{forceMount:t=n.forceMount,...o}=e,a=b(y,e.__scopeMenu),i=V(y,e.__scopeMenu);return u(A.Provider,{scope:e.__scopeMenu,children:u(H,{present:t||a.open,children:u(A.Slot,{scope:e.__scopeMenu,children:i.modal?u(Wn,{...o,ref:r}):u(Xn,{...o,ref:r})})})})}),Wn=p((e,r)=>{const n=b(y,e.__scopeMenu),t=w(null),o=L(r,t);return O(()=>{const a=t.current;if(a)return xn(a)},[]),u(ce,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:m(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),Xn=p((e,r)=>{const n=b(y,e.__scopeMenu);return u(ce,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),ce=p((e,r)=>{const{__scopeMenu:n,loop:t=!1,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:i,disableOutsidePointerEvents:s,onEntryFocus:f,onEscapeKeyDown:v,onPointerDownOutside:d,onFocusOutside:c,onInteractOutside:h,onDismiss:D,disableOutsideScroll:g,...N}=e,S=b(y,n),x=V(y,n),ln=G(n),dn=Oe(n),fe=Kn(n),[pn,me]=T(null),W=w(null),fn=L(r,W,S.onContentChange),X=w(0),Y=w(""),mn=w(0),q=w(null),he=w("right"),ee=w(0),hn=g?Pn:wn,vn=g?{as:_n,allowPinchZoom:!0}:void 0,gn=l=>{const k=Y.current+l,$=fe().filter(M=>!M.disabled),R=(()=>{let M=document.activeElement;for(;M?.shadowRoot;)M=M.shadowRoot.activeElement;return M})(),ne=$.find(M=>M.ref.current===R)?.textValue,z=$.map(M=>M.textValue),F=tr(z,k,ne),ve=$.find(M=>M.textValue===F)?.ref.current;(function M(ge){Y.current=ge,window.clearTimeout(X.current),ge!==""&&(X.current=window.setTimeout(()=>M(""),1e3))})(k),ve&&setTimeout(()=>ve.focus())};O(()=>()=>window.clearTimeout(X.current),[]),On();const I=C(l=>he.current===q.current?.side&&ar(l,q.current?.area),[]);return u(Bn,{scope:n,searchRef:Y,onItemEnter:C(l=>{I(l)&&l.preventDefault()},[I]),onItemLeave:C(l=>{I(l)||(W.current?.focus(),me(null))},[I]),onTriggerLeave:C(l=>{I(l)&&l.preventDefault()},[I]),pointerGraceTimerRef:mn,onPointerGraceIntentChange:C(l=>{q.current=l},[]),children:u(hn,{...vn,children:u(In,{asChild:!0,trapped:o,onMountAutoFocus:m(a,l=>{l.preventDefault(),W.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:i,children:u($n,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:v,onPointerDownOutside:d,onFocusOutside:c,onInteractOutside:h,onDismiss:D,children:u(bn,{asChild:!0,...dn,dir:x.dir,orientation:"vertical",loop:t,currentTabStopId:pn,onCurrentTabStopIdChange:me,onEntryFocus:m(f,l=>{x.isUsingKeyboardRef.current||l.preventDefault()}),preventScrollOnEntryFocus:!0,children:u(kn,{role:"menu","aria-orientation":"vertical","data-state":He(S.open),"data-radix-menu-content":"",dir:x.dir,...ln,...N,ref:fn,style:{outline:"none",...N.style},onKeyDown:m(N.onKeyDown,l=>{const k=l.target.closest("[data-radix-menu-content]")===l.currentTarget,$=l.ctrlKey||l.altKey||l.metaKey,R=l.key.length===1;k&&(l.key==="Tab"&&l.preventDefault(),!$&&R&&gn(l.key));const ne=W.current;if(l.target!==ne||!Rn.includes(l.key))return;l.preventDefault();const z=fe().filter(F=>!F.disabled).map(F=>F.ref.current);be.includes(l.key)&&z.reverse(),nr(z)}),onBlur:m(e.onBlur,l=>{l.currentTarget.contains(l.target)||(window.clearTimeout(X.current),Y.current="")}),onPointerMove:m(e.onPointerMove,B(l=>{const k=l.target,$=ee.current!==l.clientX;if(l.currentTarget.contains(k)&&$){const R=l.clientX>ee.current?"right":"left";he.current=R,ee.current=l.clientX}}))})})})})})})});Te.displayName=y;var Yn="MenuGroup",se=p((e,r)=>{const{__scopeMenu:n,...t}=e;return u(E.div,{role:"group",...t,ref:r})});se.displayName=Yn;var zn="MenuLabel",Ee=p((e,r)=>{const{__scopeMenu:n,...t}=e;return u(E.div,{...t,ref:r})});Ee.displayName=zn;var Z="MenuItem",Ne="menu.itemSelect",J=p((e,r)=>{const{disabled:n=!1,onSelect:t,...o}=e,a=w(null),i=V(Z,e.__scopeMenu),s=ue(Z,e.__scopeMenu),f=L(r,a),v=w(!1),d=()=>{const c=a.current;if(!n&&c){const h=new CustomEvent(Ne,{bubbles:!0,cancelable:!0});c.addEventListener(Ne,D=>t?.(D),{once:!0}),Mn(c,h),h.defaultPrevented?v.current=!1:i.onClose()}};return u(Se,{...o,ref:f,disabled:n,onClick:m(e.onClick,d),onPointerDown:c=>{e.onPointerDown?.(c),v.current=!0},onPointerUp:m(e.onPointerUp,c=>{v.current||c.currentTarget?.click()}),onKeyDown:m(e.onKeyDown,c=>{const h=s.searchRef.current!=="";n||h&&c.key===" "||te.includes(c.key)&&(c.currentTarget.click(),c.preventDefault())})})});J.displayName=Z;var Se=p((e,r)=>{const{__scopeMenu:n,disabled:t=!1,textValue:o,...a}=e,i=ue(Z,n),s=Oe(n),f=w(null),v=L(r,f),[d,c]=T(!1),[h,D]=T("");return O(()=>{const g=f.current;g&&D((g.textContent??"").trim())},[a.children]),u(A.ItemSlot,{scope:n,disabled:t,textValue:o??h,children:u(Cn,{asChild:!0,...s,focusable:!t,children:u(E.div,{role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":t||void 0,"data-disabled":t?"":void 0,...a,ref:v,onPointerMove:m(e.onPointerMove,B(g=>{t?i.onItemLeave(g):(i.onItemEnter(g),g.defaultPrevented||g.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:m(e.onPointerLeave,B(g=>i.onItemLeave(g))),onFocus:m(e.onFocus,()=>c(!0)),onBlur:m(e.onBlur,()=>c(!1))})})})}),jn="MenuCheckboxItem",Re=p((e,r)=>{const{checked:n=!1,onCheckedChange:t,...o}=e;return u(Ge,{scope:e.__scopeMenu,checked:n,children:u(J,{role:"menuitemcheckbox","aria-checked":Q(n)?"mixed":n,...o,ref:r,"data-state":de(n),onSelect:m(o.onSelect,()=>t?.(Q(n)?!0:!n),{checkForDefaultPrevented:!1})})})});Re.displayName=jn;var Fe="MenuRadioGroup",[Hn,Zn]=P(Fe,{value:void 0,onValueChange:()=>{}}),Le=p((e,r)=>{const{value:n,onValueChange:t,...o}=e,a=re(t);return u(Hn,{scope:e.__scopeMenu,value:n,onValueChange:a,children:u(se,{...o,ref:r})})});Le.displayName=Fe;var Ke="MenuRadioItem",Ae=p((e,r)=>{const{value:n,...t}=e,o=Zn(Ke,e.__scopeMenu),a=n===o.value;return u(Ge,{scope:e.__scopeMenu,checked:a,children:u(J,{role:"menuitemradio","aria-checked":a,...t,ref:r,"data-state":de(a),onSelect:m(t.onSelect,()=>o.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});Ae.displayName=Ke;var ie="MenuItemIndicator",[Ge,Jn]=P(ie,{checked:!1}),Ve=p((e,r)=>{const{__scopeMenu:n,forceMount:t,...o}=e,a=Jn(ie,n);return u(H,{present:t||Q(a.checked)||a.checked===!0,children:u(E.span,{...o,ref:r,"data-state":de(a.checked)})})});Ve.displayName=ie;var Qn="MenuSeparator",Ue=p((e,r)=>{const{__scopeMenu:n,...t}=e;return u(E.div,{role:"separator","aria-orientation":"horizontal",...t,ref:r})});Ue.displayName=Qn;var qn="MenuArrow",Be=p((e,r)=>{const{__scopeMenu:n,...t}=e,o=G(n);return u(En,{...o,...t,ref:r})});Be.displayName=qn;var le="MenuSub",[er,We]=P(le),Xe=e=>{const{__scopeMenu:r,children:n,open:t=!1,onOpenChange:o}=e,a=b(le,r),i=G(r),[s,f]=T(null),[v,d]=T(null),c=re(o);return O(()=>(a.open===!1&&c(!1),()=>c(!1)),[a.open,c]),u(Ce,{...i,children:u(Pe,{scope:r,open:t,onOpenChange:c,content:v,onContentChange:d,children:u(er,{scope:r,contentId:j(),triggerId:j(),trigger:s,onTriggerChange:f,children:n})})})};Xe.displayName=le;var U="MenuSubTrigger",Ye=p((e,r)=>{const n=b(U,e.__scopeMenu),t=V(U,e.__scopeMenu),o=We(U,e.__scopeMenu),a=ue(U,e.__scopeMenu),i=w(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:f}=a,v={__scopeMenu:e.__scopeMenu},d=C(()=>{i.current&&window.clearTimeout(i.current),i.current=null},[]);return O(()=>d,[d]),O(()=>{const c=s.current;return()=>{window.clearTimeout(c),f(null)}},[s,f]),u(oe,{asChild:!0,...v,children:u(Se,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":He(n.open),...e,ref:we(r,o.onTriggerChange),onClick:c=>{e.onClick?.(c),!(e.disabled||c.defaultPrevented)&&(c.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:m(e.onPointerMove,B(c=>{a.onItemEnter(c),!c.defaultPrevented&&!e.disabled&&!n.open&&!i.current&&(a.onPointerGraceIntentChange(null),i.current=window.setTimeout(()=>{n.onOpenChange(!0),d()},100))})),onPointerLeave:m(e.onPointerLeave,B(c=>{d();const h=n.content?.getBoundingClientRect();if(h){const D=n.content?.dataset.side,g=D==="right",N=g?-5:5,S=h[g?"left":"right"],x=h[g?"right":"left"];a.onPointerGraceIntentChange({area:[{x:c.clientX+N,y:c.clientY},{x:S,y:h.top},{x,y:h.top},{x,y:h.bottom},{x:S,y:h.bottom}],side:D}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(c),c.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:m(e.onKeyDown,c=>{const h=a.searchRef.current!=="";e.disabled||h&&c.key===" "||Fn[t.dir].includes(c.key)&&(n.onOpenChange(!0),n.content?.focus(),c.preventDefault())})})})});Ye.displayName=U;var ze="MenuSubContent",je=p((e,r)=>{const n=Ie(y,e.__scopeMenu),{forceMount:t=n.forceMount,...o}=e,a=b(y,e.__scopeMenu),i=V(y,e.__scopeMenu),s=We(ze,e.__scopeMenu),f=w(null),v=L(r,f);return u(A.Provider,{scope:e.__scopeMenu,children:u(H,{present:t||a.open,children:u(A.Slot,{scope:e.__scopeMenu,children:u(ce,{id:s.contentId,"aria-labelledby":s.triggerId,...o,ref:v,align:"start",side:i.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:d=>{i.isUsingKeyboardRef.current&&f.current?.focus(),d.preventDefault()},onCloseAutoFocus:d=>d.preventDefault(),onFocusOutside:m(e.onFocusOutside,d=>{d.target!==s.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:m(e.onEscapeKeyDown,d=>{i.onClose(),d.preventDefault()}),onKeyDown:m(e.onKeyDown,d=>{const c=d.currentTarget.contains(d.target),h=Ln[i.dir].includes(d.key);c&&h&&(a.onOpenChange(!1),s.trigger?.focus(),d.preventDefault())})})})})})});je.displayName=ze;function He(e){return e?"open":"closed"}function Q(e){return e==="indeterminate"}function de(e){return Q(e)?"indeterminate":e?"checked":"unchecked"}function nr(e){const r=(()=>{let n=document.activeElement;for(;n?.shadowRoot;)n=n.shadowRoot.activeElement;return n})();for(const n of e)if(n===r||(n.focus(),(()=>{let t=document.activeElement;for(;t?.shadowRoot;)t=t.shadowRoot.activeElement;return t})()!==r))return}function rr(e,r){return e.map((n,t)=>e[(r+t)%e.length])}function tr(e,r,n){const t=r.length>1&&Array.from(r).every(s=>s===r[0])?r[0]:r,o=n?e.indexOf(n):-1;let a=rr(e,Math.max(o,0));t.length===1&&(a=a.filter(s=>s!==n));const i=a.find(s=>s.toLowerCase().startsWith(t.toLowerCase()));return i!==n?i:void 0}function or(e,r){const{x:n,y:t}=e;let o=!1;for(let a=0,i=r.length-1;a<r.length;i=a++){const s=r[a].x,f=r[a].y,v=r[i].x,d=r[i].y;f>t!=d>t&&n<(v-s)*(t-f)/(d-f)+s&&(o=!o)}return o}function ar(e,r){if(!r)return!1;const n={x:e.clientX,y:e.clientY};return or(n,r)}function B(e){return r=>r.pointerType==="mouse"?e(r):void 0}var ur=xe,cr=oe,sr=ke,ir=Te,lr=se,dr=Ee,pr=J,fr=Re,mr=Le,hr=Ae,vr=Ve,gr=Ue,wr=Be,_r=Xe,Mr=Ye,yr=je,pe="DropdownMenu",[Dr,ht]=_e(pe,[$e]),_=$e(),[Cr,Ze]=Dr(pe),Je=e=>{const{__scopeDropdownMenu:r,children:n,dir:t,open:o,defaultOpen:a,onOpenChange:i,modal:s=!0}=e,f=_(r),v=w(null),[d=!1,c]=Me({prop:o,defaultProp:a,onChange:i});return u(Cr,{scope:r,triggerId:j(),triggerRef:v,contentId:j(),open:d,onOpenChange:c,onOpenToggle:C(()=>c(h=>!h),[c]),modal:s,children:u(ur,{...f,open:d,onOpenChange:c,dir:t,modal:s,children:n})})};Je.displayName=pe;var Qe="DropdownMenuTrigger",qe=p((e,r)=>{const{__scopeDropdownMenu:n,disabled:t=!1,...o}=e,a=Ze(Qe,n),i=_(n);return u(cr,{asChild:!0,...i,children:u(E.button,{type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":t?"":void 0,disabled:t,...o,ref:we(r,a.triggerRef),onPointerDown:m(e.onPointerDown,s=>{!t&&s.button===0&&s.ctrlKey===!1&&(a.onOpenToggle(),a.open||s.preventDefault())}),onKeyDown:m(e.onKeyDown,s=>{t||(["Enter"," "].includes(s.key)&&a.onOpenToggle(),s.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(s.key)&&s.preventDefault())})})})});qe.displayName=Qe;var br="DropdownMenuPortal",en=e=>{const{__scopeDropdownMenu:r,...n}=e,t=_(r);return u(sr,{...t,...n})};en.displayName=br;var nn="DropdownMenuContent",rn=p((e,r)=>{const{__scopeDropdownMenu:n,...t}=e,o=Ze(nn,n),a=_(n),i=w(!1);return u(ir,{id:o.contentId,"aria-labelledby":o.triggerId,...a,...t,ref:r,onCloseAutoFocus:m(e.onCloseAutoFocus,s=>{i.current||o.triggerRef.current?.focus(),i.current=!1,s.preventDefault()}),onInteractOutside:m(e.onInteractOutside,s=>{const f=s.detail.originalEvent,v=f.button===0&&f.ctrlKey===!0,d=f.button===2||v;(!o.modal||d)&&(i.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});rn.displayName=nn;var $r="DropdownMenuGroup",tn=p((e,r)=>{const{__scopeDropdownMenu:n,...t}=e,o=_(n);return u(lr,{...o,...t,ref:r})});tn.displayName=$r;var Or="DropdownMenuLabel",on=p((e,r)=>{const{__scopeDropdownMenu:n,...t}=e,o=_(n);return u(dr,{...o,...t,ref:r})});on.displayName=Or;var Pr="DropdownMenuItem",an=p((e,r)=>{const{__scopeDropdownMenu:n,...t}=e,o=_(n);return u(pr,{...o,...t,ref:r})});an.displayName=Pr;var xr="DropdownMenuCheckboxItem",un=p((e,r)=>{const{__scopeDropdownMenu:n,...t}=e,o=_(n);return u(fr,{...o,...t,ref:r})});un.displayName=xr;var Ir="DropdownMenuRadioGroup",kr=p((e,r)=>{const{__scopeDropdownMenu:n,...t}=e,o=_(n);return u(mr,{...o,...t,ref:r})});kr.displayName=Ir;var Tr="DropdownMenuRadioItem",Er=p((e,r)=>{const{__scopeDropdownMenu:n,...t}=e,o=_(n);return u(hr,{...o,...t,ref:r})});Er.displayName=Tr;var Nr="DropdownMenuItemIndicator",Sr=p((e,r)=>{const{__scopeDropdownMenu:n,...t}=e,o=_(n);return u(vr,{...o,...t,ref:r})});Sr.displayName=Nr;var Rr="DropdownMenuSeparator",cn=p((e,r)=>{const{__scopeDropdownMenu:n,...t}=e,o=_(n);return u(gr,{...o,...t,ref:r})});cn.displayName=Rr;var Fr="DropdownMenuArrow",Lr=p((e,r)=>{const{__scopeDropdownMenu:n,...t}=e,o=_(n);return u(wr,{...o,...t,ref:r})});Lr.displayName=Fr;var Kr=e=>{const{__scopeDropdownMenu:r,children:n,open:t,onOpenChange:o,defaultOpen:a}=e,i=_(r),[s=!1,f]=Me({prop:t,defaultProp:a,onChange:o});return u(_r,{...i,open:s,onOpenChange:f,children:n})},Ar="DropdownMenuSubTrigger",Gr=p((e,r)=>{const{__scopeDropdownMenu:n,...t}=e,o=_(n);return u(Mr,{...o,...t,ref:r})});Gr.displayName=Ar;var Vr="DropdownMenuSubContent",sn=p((e,r)=>{const{__scopeDropdownMenu:n,...t}=e,o=_(n);return u(yr,{...o,...t,ref:r,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});sn.displayName=Vr;var Ur=Je,Br=qe,Wr=en,Xr=rn,Yr=tn,zr=on,jr=an,Hr=un,Zr=cn,Jr=Kr,Qr=sn;export{Jr as D,Zr as M,zr as c,Qr as h,Xr as i,jr as l,Hr as m,Br as p,Yr as s,Ur as t,Wr as u};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { JSXBase } from '@stencil/core/internal';
|
|
2
2
|
import { ComponentPropsWithoutRef } from 'react';
|
|
3
|
-
import { R as ResponsiveObject, a as ResponsiveArray, T as Toaster } from './types-
|
|
3
|
+
import { R as ResponsiveObject, a as ResponsiveArray, F as FocusOutsideEvent, T as Toaster, P as PointerDownOutsideEvent, b as FocusEventHandler, C as ChangeEventHandler, S as SwipeEvent } from './types-D3fuzi_a.js';
|
|
4
4
|
|
|
5
5
|
declare const Alert = "ax-alert";
|
|
6
6
|
|
|
7
7
|
type AlertProps = BoxProps & {
|
|
8
8
|
"intent"?: "information" | "success" | "warning" | "danger" | "neutral";
|
|
9
|
-
"onDismiss"?:
|
|
9
|
+
"onDismiss"?: () => void;
|
|
10
10
|
"asChild"?: false | true;
|
|
11
11
|
"as-child"?: false | true;
|
|
12
12
|
};
|
|
@@ -15,7 +15,7 @@ declare const AlertDialog = "ax-alert-dialog";
|
|
|
15
15
|
type AlertDialogProps = {
|
|
16
16
|
"defaultOpen"?: false | true;
|
|
17
17
|
"default-open"?: false | true;
|
|
18
|
-
"onOpenChange"?:
|
|
18
|
+
"onOpenChange"?: (open: boolean) => void;
|
|
19
19
|
"open"?: false | true;
|
|
20
20
|
};
|
|
21
21
|
declare const AlertDialogAction = "ax-alert-dialog-action";
|
|
@@ -66,10 +66,10 @@ type AlertDialogContentProps = BoxProps & {
|
|
|
66
66
|
"size"?: "sm" | "md" | "lg";
|
|
67
67
|
"asChild"?: false | true;
|
|
68
68
|
"as-child"?: false | true;
|
|
69
|
-
"onEscapeKeyDown"?:
|
|
70
|
-
"onFocusOutside"?:
|
|
71
|
-
"onOpenAutoFocus"?:
|
|
72
|
-
"onCloseAutoFocus"?:
|
|
69
|
+
"onEscapeKeyDown"?: (event: KeyboardEvent) => void;
|
|
70
|
+
"onFocusOutside"?: (event: FocusOutsideEvent) => void;
|
|
71
|
+
"onOpenAutoFocus"?: (event: Event) => void;
|
|
72
|
+
"onCloseAutoFocus"?: (event: Event) => void;
|
|
73
73
|
};
|
|
74
74
|
declare const AlertDialogFooter = "ax-alert-dialog-footer";
|
|
75
75
|
|
|
@@ -161,7 +161,7 @@ declare const Banner = "ax-banner";
|
|
|
161
161
|
|
|
162
162
|
type BannerProps = BoxProps & {
|
|
163
163
|
"intent"?: "information" | "success" | "warning" | "danger" | "neutral";
|
|
164
|
-
"onDismiss"?:
|
|
164
|
+
"onDismiss"?: () => void;
|
|
165
165
|
"asChild"?: false | true;
|
|
166
166
|
"as-child"?: false | true;
|
|
167
167
|
};
|
|
@@ -288,7 +288,7 @@ type CheckboxProps = BoxProps & {
|
|
|
288
288
|
"indeterminate"?: false | true;
|
|
289
289
|
"asChild"?: false | true;
|
|
290
290
|
"as-child"?: false | true;
|
|
291
|
-
"onCheckedChange"?:
|
|
291
|
+
"onCheckedChange"?: (checked: boolean) => void;
|
|
292
292
|
};
|
|
293
293
|
declare const Code = "ax-code";
|
|
294
294
|
|
|
@@ -301,7 +301,7 @@ declare const Dialog = "ax-dialog";
|
|
|
301
301
|
type DialogProps = {
|
|
302
302
|
"defaultOpen"?: false | true;
|
|
303
303
|
"default-open"?: false | true;
|
|
304
|
-
"onOpenChange"?:
|
|
304
|
+
"onOpenChange"?: (open: boolean) => void;
|
|
305
305
|
"open"?: false | true;
|
|
306
306
|
};
|
|
307
307
|
declare const DialogBody = "ax-dialog-body";
|
|
@@ -336,12 +336,12 @@ type DialogContentProps = BoxProps & {
|
|
|
336
336
|
"as-child"?: false | true;
|
|
337
337
|
"transitionType"?: "pop" | "fade" | "slide" | "slidePop";
|
|
338
338
|
"transition-type"?: "pop" | "fade" | "slide" | "slidePop";
|
|
339
|
-
"onEscapeKeyDown"?:
|
|
340
|
-
"onPointerDownOutside"?:
|
|
341
|
-
"onFocusOutside"?:
|
|
342
|
-
"onInteractOutside"?:
|
|
343
|
-
"onOpenAutoFocus"?:
|
|
344
|
-
"onCloseAutoFocus"?:
|
|
339
|
+
"onEscapeKeyDown"?: (event: KeyboardEvent) => void;
|
|
340
|
+
"onPointerDownOutside"?: (event: PointerDownOutsideEvent) => void;
|
|
341
|
+
"onFocusOutside"?: (event: FocusOutsideEvent) => void;
|
|
342
|
+
"onInteractOutside"?: (event: PointerDownOutsideEvent | FocusOutsideEvent) => void;
|
|
343
|
+
"onOpenAutoFocus"?: (event: Event) => void;
|
|
344
|
+
"onCloseAutoFocus"?: (event: Event) => void;
|
|
345
345
|
};
|
|
346
346
|
declare const DialogFooter = "ax-dialog-footer";
|
|
347
347
|
|
|
@@ -387,7 +387,7 @@ declare const Disclosure = "ax-disclosure";
|
|
|
387
387
|
type DisclosureProps = BoxProps & {
|
|
388
388
|
"defaultOpen"?: false | true;
|
|
389
389
|
"default-open"?: false | true;
|
|
390
|
-
"onOpenChange"?:
|
|
390
|
+
"onOpenChange"?: (open: boolean) => void;
|
|
391
391
|
"open"?: false | true;
|
|
392
392
|
"asChild"?: false | true;
|
|
393
393
|
"as-child"?: false | true;
|
|
@@ -419,7 +419,7 @@ type DrawerProps = {
|
|
|
419
419
|
"open"?: false | true;
|
|
420
420
|
"defaultOpen"?: false | true;
|
|
421
421
|
"default-open"?: false | true;
|
|
422
|
-
"onOpenChange"?:
|
|
422
|
+
"onOpenChange"?: (open: boolean) => void;
|
|
423
423
|
"modal"?: false | true;
|
|
424
424
|
};
|
|
425
425
|
declare const DrawerBody = "ax-drawer-body";
|
|
@@ -452,12 +452,12 @@ type DrawerContentProps = BoxProps & {
|
|
|
452
452
|
"position"?: "right" | "bottom" | "left";
|
|
453
453
|
"asChild"?: false | true;
|
|
454
454
|
"as-child"?: false | true;
|
|
455
|
-
"onEscapeKeyDown"?:
|
|
456
|
-
"onPointerDownOutside"?:
|
|
457
|
-
"onFocusOutside"?:
|
|
458
|
-
"onInteractOutside"?:
|
|
459
|
-
"onOpenAutoFocus"?:
|
|
460
|
-
"onCloseAutoFocus"?:
|
|
455
|
+
"onEscapeKeyDown"?: (event: KeyboardEvent) => void;
|
|
456
|
+
"onPointerDownOutside"?: (event: PointerDownOutsideEvent) => void;
|
|
457
|
+
"onFocusOutside"?: (event: FocusOutsideEvent) => void;
|
|
458
|
+
"onInteractOutside"?: (event: PointerDownOutsideEvent | FocusOutsideEvent) => void;
|
|
459
|
+
"onOpenAutoFocus"?: (event: Event) => void;
|
|
460
|
+
"onCloseAutoFocus"?: (event: Event) => void;
|
|
461
461
|
"forceMount"?: true;
|
|
462
462
|
"force-mount"?: true;
|
|
463
463
|
};
|
|
@@ -500,7 +500,7 @@ type DropdownMenuProps = {
|
|
|
500
500
|
"defaultOpen"?: false | true;
|
|
501
501
|
"default-open"?: false | true;
|
|
502
502
|
"modal"?: false | true;
|
|
503
|
-
"onOpenChange"?:
|
|
503
|
+
"onOpenChange"?: (open: boolean) => void;
|
|
504
504
|
"open"?: false | true;
|
|
505
505
|
};
|
|
506
506
|
declare const DropdownMenuCheckboxItem = "ax-dropdown-menu-checkbox-item";
|
|
@@ -517,8 +517,8 @@ type DropdownMenuCheckboxItemProps = BoxProps & {
|
|
|
517
517
|
"as-child"?: false | true;
|
|
518
518
|
"checked"?: false | true | "indeterminate";
|
|
519
519
|
"disabled"?: false | true;
|
|
520
|
-
"onSelect"?:
|
|
521
|
-
"onCheckedChange"?:
|
|
520
|
+
"onSelect"?: (event: Event) => void;
|
|
521
|
+
"onCheckedChange"?: (checked: boolean) => void;
|
|
522
522
|
"textValue"?: string;
|
|
523
523
|
"text-value"?: string;
|
|
524
524
|
};
|
|
@@ -529,11 +529,11 @@ type DropdownMenuContentProps = BoxProps & {
|
|
|
529
529
|
"max-h"?: "sm" | "md" | "xs" | "lg" | "full";
|
|
530
530
|
"asChild"?: false | true;
|
|
531
531
|
"as-child"?: false | true;
|
|
532
|
-
"onEscapeKeyDown"?:
|
|
533
|
-
"onPointerDownOutside"?:
|
|
534
|
-
"onFocusOutside"?:
|
|
535
|
-
"onInteractOutside"?:
|
|
536
|
-
"onCloseAutoFocus"?:
|
|
532
|
+
"onEscapeKeyDown"?: (event: KeyboardEvent) => void;
|
|
533
|
+
"onPointerDownOutside"?: (event: PointerDownOutsideEvent) => void;
|
|
534
|
+
"onFocusOutside"?: (event: FocusOutsideEvent) => void;
|
|
535
|
+
"onInteractOutside"?: (event: PointerDownOutsideEvent | FocusOutsideEvent) => void;
|
|
536
|
+
"onCloseAutoFocus"?: (event: Event) => void;
|
|
537
537
|
"minW"?: "0" | "trigger";
|
|
538
538
|
"min-w"?: "0" | "trigger";
|
|
539
539
|
"side"?: "top" | "right" | "bottom" | "left";
|
|
@@ -559,7 +559,7 @@ type DropdownMenuItemProps = BoxProps & {
|
|
|
559
559
|
"asChild"?: false | true;
|
|
560
560
|
"as-child"?: false | true;
|
|
561
561
|
"disabled"?: false | true;
|
|
562
|
-
"onSelect"?:
|
|
562
|
+
"onSelect"?: (event: Event) => void;
|
|
563
563
|
"textValue"?: string;
|
|
564
564
|
"text-value"?: string;
|
|
565
565
|
};
|
|
@@ -580,7 +580,7 @@ declare const DropdownMenuSub = "ax-dropdown-menu-sub";
|
|
|
580
580
|
type DropdownMenuSubProps = {
|
|
581
581
|
"defaultOpen"?: false | true;
|
|
582
582
|
"default-open"?: false | true;
|
|
583
|
-
"onOpenChange"?:
|
|
583
|
+
"onOpenChange"?: (open: boolean) => void;
|
|
584
584
|
"open"?: false | true;
|
|
585
585
|
};
|
|
586
586
|
declare const DropdownMenuSubContent = "ax-dropdown-menu-sub-content";
|
|
@@ -590,10 +590,10 @@ type DropdownMenuSubContentProps = BoxProps & {
|
|
|
590
590
|
"max-h"?: "sm" | "md" | "xs" | "lg" | "full";
|
|
591
591
|
"asChild"?: false | true;
|
|
592
592
|
"as-child"?: false | true;
|
|
593
|
-
"onEscapeKeyDown"?:
|
|
594
|
-
"onPointerDownOutside"?:
|
|
595
|
-
"onFocusOutside"?:
|
|
596
|
-
"onInteractOutside"?:
|
|
593
|
+
"onEscapeKeyDown"?: (event: KeyboardEvent) => void;
|
|
594
|
+
"onPointerDownOutside"?: (event: PointerDownOutsideEvent) => void;
|
|
595
|
+
"onFocusOutside"?: (event: FocusOutsideEvent) => void;
|
|
596
|
+
"onInteractOutside"?: (event: PointerDownOutsideEvent | FocusOutsideEvent) => void;
|
|
597
597
|
"minW"?: "0" | "trigger";
|
|
598
598
|
"min-w"?: "0" | "trigger";
|
|
599
599
|
};
|
|
@@ -753,6 +753,7 @@ type LinkProps = BoxProps & {
|
|
|
753
753
|
"appearance"?: "default" | "subtle" | "inverse";
|
|
754
754
|
"disabled"?: false | true;
|
|
755
755
|
"external"?: false | true;
|
|
756
|
+
"inset"?: false | true;
|
|
756
757
|
"overlay"?: false | true;
|
|
757
758
|
"asChild"?: false | true;
|
|
758
759
|
"as-child"?: false | true;
|
|
@@ -863,7 +864,7 @@ type ListboxSwitchItemProps = BoxProps & {
|
|
|
863
864
|
declare const ModalContextProvider = "ax-modal-context-provider";
|
|
864
865
|
|
|
865
866
|
type ModalContextProviderProps = {
|
|
866
|
-
|
|
867
|
+
|
|
867
868
|
};
|
|
868
869
|
declare const ModalLayer = "ax-modal-layer";
|
|
869
870
|
|
|
@@ -877,7 +878,7 @@ type NavProps = BoxProps & {
|
|
|
877
878
|
"defaultExpanded"?: false | true;
|
|
878
879
|
"default-expanded"?: false | true;
|
|
879
880
|
"expanded"?: false | true;
|
|
880
|
-
"onExpandedChange"?:
|
|
881
|
+
"onExpandedChange"?: (expanded: boolean) => void;
|
|
881
882
|
"asChild"?: false | true;
|
|
882
883
|
"as-child"?: false | true;
|
|
883
884
|
};
|
|
@@ -930,7 +931,7 @@ type PaginationProps = BoxProps & {
|
|
|
930
931
|
"defaultPage"?: number;
|
|
931
932
|
"default-page"?: number;
|
|
932
933
|
"disabled"?: false | true;
|
|
933
|
-
"onPageChange"?:
|
|
934
|
+
"onPageChange"?: (offset: number) => void;
|
|
934
935
|
"page"?: number;
|
|
935
936
|
"total"?: number;
|
|
936
937
|
"asChild"?: false | true;
|
|
@@ -949,7 +950,7 @@ type PopoverProps = {
|
|
|
949
950
|
"defaultOpen"?: false | true;
|
|
950
951
|
"default-open"?: false | true;
|
|
951
952
|
"modal"?: false | true;
|
|
952
|
-
"onOpenChange"?:
|
|
953
|
+
"onOpenChange"?: (open: boolean) => void;
|
|
953
954
|
"open"?: false | true;
|
|
954
955
|
};
|
|
955
956
|
declare const PopoverAnchor = "ax-popover-anchor";
|
|
@@ -965,12 +966,12 @@ type PopoverContentProps = BoxProps & {
|
|
|
965
966
|
"max-h"?: "sm" | "md" | "xs" | "lg" | "full";
|
|
966
967
|
"asChild"?: false | true;
|
|
967
968
|
"as-child"?: false | true;
|
|
968
|
-
"onEscapeKeyDown"?:
|
|
969
|
-
"onPointerDownOutside"?:
|
|
970
|
-
"onFocusOutside"?:
|
|
971
|
-
"onInteractOutside"?:
|
|
972
|
-
"onOpenAutoFocus"?:
|
|
973
|
-
"onCloseAutoFocus"?:
|
|
969
|
+
"onEscapeKeyDown"?: (event: KeyboardEvent) => void;
|
|
970
|
+
"onPointerDownOutside"?: (event: PointerDownOutsideEvent) => void;
|
|
971
|
+
"onFocusOutside"?: (event: FocusOutsideEvent) => void;
|
|
972
|
+
"onInteractOutside"?: (event: PointerDownOutsideEvent | FocusOutsideEvent) => void;
|
|
973
|
+
"onOpenAutoFocus"?: (event: Event) => void;
|
|
974
|
+
"onCloseAutoFocus"?: (event: Event) => void;
|
|
974
975
|
"minW"?: "0" | "trigger";
|
|
975
976
|
"min-w"?: "0" | "trigger";
|
|
976
977
|
"withArrow"?: false | true;
|
|
@@ -1017,7 +1018,7 @@ type RadioProps = BoxProps & {
|
|
|
1017
1018
|
"description"?: string | number | false | true;
|
|
1018
1019
|
"asChild"?: false | true;
|
|
1019
1020
|
"as-child"?: false | true;
|
|
1020
|
-
"onCheckedChange"?:
|
|
1021
|
+
"onCheckedChange"?: (checked: boolean) => void;
|
|
1021
1022
|
};
|
|
1022
1023
|
declare const RadioGroup = "ax-radio-group";
|
|
1023
1024
|
|
|
@@ -1026,9 +1027,9 @@ type RadioGroupProps = BoxProps & {
|
|
|
1026
1027
|
"default-value"?: string;
|
|
1027
1028
|
"disabled"?: false | true;
|
|
1028
1029
|
"name"?: string;
|
|
1029
|
-
"onBlur"?:
|
|
1030
|
-
"onChange"?:
|
|
1031
|
-
"onValueChange"?:
|
|
1030
|
+
"onBlur"?: FocusEventHandler<HTMLInputElement>;
|
|
1031
|
+
"onChange"?: ChangeEventHandler<HTMLInputElement>;
|
|
1032
|
+
"onValueChange"?: (value: string) => void;
|
|
1032
1033
|
"value"?: string;
|
|
1033
1034
|
"asChild"?: false | true;
|
|
1034
1035
|
"as-child"?: false | true;
|
|
@@ -1050,7 +1051,7 @@ type SearchInputProps = BoxProps & {
|
|
|
1050
1051
|
"addon-pointer-events"?: "none" | "auto";
|
|
1051
1052
|
"htmlSize"?: number;
|
|
1052
1053
|
"html-size"?: number;
|
|
1053
|
-
"onValueClear"?:
|
|
1054
|
+
"onValueClear"?: () => void;
|
|
1054
1055
|
};
|
|
1055
1056
|
declare const SegmentedControl = "ax-segmented-control";
|
|
1056
1057
|
|
|
@@ -1065,7 +1066,7 @@ type SegmentedControlProps = BoxProps & {
|
|
|
1065
1066
|
"dir"?: "ltr" | "rtl";
|
|
1066
1067
|
"loop"?: false | true;
|
|
1067
1068
|
"orientation"?: "horizontal" | "vertical";
|
|
1068
|
-
"onValueChange"?:
|
|
1069
|
+
"onValueChange"?: ((value: string) => void) | ((value: string[]) => void);
|
|
1069
1070
|
"rovingFocus"?: false | true;
|
|
1070
1071
|
"roving-focus"?: false | true;
|
|
1071
1072
|
};
|
|
@@ -1102,7 +1103,7 @@ type SidebarProps = BoxProps & {
|
|
|
1102
1103
|
"defaultExpanded"?: false | true;
|
|
1103
1104
|
"default-expanded"?: false | true;
|
|
1104
1105
|
"expanded"?: false | true;
|
|
1105
|
-
"onExpandedChange"?:
|
|
1106
|
+
"onExpandedChange"?: (expanded: boolean) => void;
|
|
1106
1107
|
"asChild"?: false | true;
|
|
1107
1108
|
"as-child"?: false | true;
|
|
1108
1109
|
};
|
|
@@ -1138,7 +1139,7 @@ type SwitchProps = BoxProps & {
|
|
|
1138
1139
|
"description"?: string | number | false | true;
|
|
1139
1140
|
"asChild"?: false | true;
|
|
1140
1141
|
"as-child"?: false | true;
|
|
1141
|
-
"onCheckedChange"?:
|
|
1142
|
+
"onCheckedChange"?: (checked: boolean) => void;
|
|
1142
1143
|
};
|
|
1143
1144
|
declare const Tabs = "ax-tabs";
|
|
1144
1145
|
|
|
@@ -1150,7 +1151,7 @@ type TabsProps = BoxProps & {
|
|
|
1150
1151
|
"default-value"?: string;
|
|
1151
1152
|
"dir"?: "ltr" | "rtl";
|
|
1152
1153
|
"orientation"?: "horizontal" | "vertical";
|
|
1153
|
-
"onValueChange"?:
|
|
1154
|
+
"onValueChange"?: (value: string) => void;
|
|
1154
1155
|
"activationMode"?: "automatic" | "manual";
|
|
1155
1156
|
"activation-mode"?: "automatic" | "manual";
|
|
1156
1157
|
};
|
|
@@ -1217,18 +1218,18 @@ type ToastProps = BoxProps & {
|
|
|
1217
1218
|
"asChild"?: false | true;
|
|
1218
1219
|
"as-child"?: false | true;
|
|
1219
1220
|
"type"?: "foreground" | "background";
|
|
1220
|
-
"onPause"?:
|
|
1221
|
-
"onEscapeKeyDown"?:
|
|
1221
|
+
"onPause"?: () => void;
|
|
1222
|
+
"onEscapeKeyDown"?: (event: KeyboardEvent) => void;
|
|
1222
1223
|
"duration"?: number;
|
|
1223
1224
|
"intent"?: "information" | "success" | "warning" | "danger" | "neutral";
|
|
1224
1225
|
"defaultOpen"?: false | true;
|
|
1225
1226
|
"default-open"?: false | true;
|
|
1226
|
-
"onOpenChange"?:
|
|
1227
|
-
"onResume"?:
|
|
1228
|
-
"onSwipeStart"?:
|
|
1229
|
-
"onSwipeMove"?:
|
|
1230
|
-
"onSwipeCancel"?:
|
|
1231
|
-
"onSwipeEnd"?:
|
|
1227
|
+
"onOpenChange"?: (open: boolean) => void;
|
|
1228
|
+
"onResume"?: () => void;
|
|
1229
|
+
"onSwipeStart"?: (event: SwipeEvent) => void;
|
|
1230
|
+
"onSwipeMove"?: (event: SwipeEvent) => void;
|
|
1231
|
+
"onSwipeCancel"?: (event: SwipeEvent) => void;
|
|
1232
|
+
"onSwipeEnd"?: (event: SwipeEvent) => void;
|
|
1232
1233
|
};
|
|
1233
1234
|
declare const ToastAction = "ax-toast-action";
|
|
1234
1235
|
|
|
@@ -1295,7 +1296,7 @@ type ToggleButtonProps = BoxProps & {
|
|
|
1295
1296
|
"pressed"?: false | true;
|
|
1296
1297
|
"defaultPressed"?: false | true;
|
|
1297
1298
|
"default-pressed"?: false | true;
|
|
1298
|
-
"onPressedChange"?:
|
|
1299
|
+
"onPressedChange"?: (pressed: boolean) => void;
|
|
1299
1300
|
};
|
|
1300
1301
|
declare const Tooltip = "ax-tooltip";
|
|
1301
1302
|
|
|
@@ -1389,8 +1390,8 @@ type TooltipProps = {
|
|
|
1389
1390
|
"content"?: string | number | false | true;
|
|
1390
1391
|
"aria-label"?: string;
|
|
1391
1392
|
"auto"?: false | true;
|
|
1392
|
-
"onEscapeKeyDown"?:
|
|
1393
|
-
"onPointerDownOutside"?:
|
|
1393
|
+
"onEscapeKeyDown"?: (event: KeyboardEvent) => void;
|
|
1394
|
+
"onPointerDownOutside"?: (event: PointerDownOutsideEvent) => void;
|
|
1394
1395
|
"side"?: "top" | "right" | "bottom" | "left";
|
|
1395
1396
|
"align"?: "center" | "end" | "start";
|
|
1396
1397
|
"delayDuration"?: number;
|
|
@@ -1398,7 +1399,7 @@ type TooltipProps = {
|
|
|
1398
1399
|
"defaultOpen"?: false | true;
|
|
1399
1400
|
"default-open"?: false | true;
|
|
1400
1401
|
"open"?: false | true;
|
|
1401
|
-
"onOpenChange"?:
|
|
1402
|
+
"onOpenChange"?: (open: boolean) => void;
|
|
1402
1403
|
};
|
|
1403
1404
|
declare const TooltipContent = "ax-tooltip-content";
|
|
1404
1405
|
|
|
@@ -1406,8 +1407,8 @@ type TooltipContentProps = BoxProps & {
|
|
|
1406
1407
|
"asChild"?: false | true;
|
|
1407
1408
|
"as-child"?: false | true;
|
|
1408
1409
|
"aria-label"?: string;
|
|
1409
|
-
"onEscapeKeyDown"?:
|
|
1410
|
-
"onPointerDownOutside"?:
|
|
1410
|
+
"onEscapeKeyDown"?: (event: KeyboardEvent) => void;
|
|
1411
|
+
"onPointerDownOutside"?: (event: PointerDownOutsideEvent) => void;
|
|
1411
1412
|
"side"?: "top" | "right" | "bottom" | "left";
|
|
1412
1413
|
"align"?: "center" | "end" | "start";
|
|
1413
1414
|
};
|
|
@@ -1434,7 +1435,7 @@ type TooltipRootProps = BoxProps & {
|
|
|
1434
1435
|
"defaultOpen"?: false | true;
|
|
1435
1436
|
"default-open"?: false | true;
|
|
1436
1437
|
"open"?: false | true;
|
|
1437
|
-
"onOpenChange"?:
|
|
1438
|
+
"onOpenChange"?: (open: boolean) => void;
|
|
1438
1439
|
};
|
|
1439
1440
|
declare const TooltipTrigger = "ax-tooltip-trigger";
|
|
1440
1441
|
|
|
@@ -1454,7 +1455,7 @@ type TransitionProps = {
|
|
|
1454
1455
|
declare const TransitionGroup = "ax-transition-group";
|
|
1455
1456
|
|
|
1456
1457
|
type TransitionGroupProps = {
|
|
1457
|
-
"onPresenceChange"?:
|
|
1458
|
+
"onPresenceChange"?: (presence: boolean) => void;
|
|
1458
1459
|
"open"?: false | true;
|
|
1459
1460
|
"presence"?: false | true;
|
|
1460
1461
|
};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as e,A as dt,a as gt,b as pt,c as ft,d as Et,e as xt,g as Pt,h as bt,i as Dt,j as Tt,k as wt,l as vt,m as Ct,B as At,n as Lt,o as It,p as St,q as Mt,C as ht,r as Bt,D as Ft,s as yt,t as kt,u as Gt,v as Nt,w as Ht,x as Rt,y as Kt,z as jt,E as qt,F as zt,G as Jt,H as Ot,I as Qt,J as Ut,K as Vt,L as Wt,M as Xt,N as Yt,O as Zt,P as _t,Q as $t,R as eo,S as to,T as oo,U as so,V as no,W as ao,X as ro,Y as io,Z as mo,_ as lo,$ as co,a0 as uo,a1 as go,a2 as po,a3 as fo,a4 as Eo,a5 as xo,a6 as Po,a7 as bo,a8 as Do,a9 as To,aa as wo,ab as vo,ac as Co,ad as Ao,ae as Lo,af as Io,ag as So,ah as Mo,ai as ho,aj as Bo,ak as Fo,al as yo,am as ko,an as Go,ao as No,ap as Ho,aq as Ro,ar as Ko,as as jo,at as qo,au as zo,av as Jo,aw as Oo,ax as Qo,ay as Uo,az as Vo,aA as Wo,aB as Xo,aC as Yo,aD as Zo,aE as _o,aF as $o,aG as es,aH as ts,aI as os,aJ as ss,aK as ns,aL as as,aM as rs,aN as is,aO as ms,aP as ls,aQ as cs,aR as us,aS as ds,aT as gs,aU as ps,aV as fs,aW as Es,aX as xs,aY as Ps,aZ as bs,a_ as Ds,a$ as Ts,b0 as ws,b1 as vs}from"./propTypes-BS0cSwu1.js";const t="ax-alert";customElements.get(t)||customElements.define(t,e(t,"Alert",dt));const o="ax-alert-dialog";customElements.get(o)||customElements.define(o,e(o,"AlertDialog",gt));const s="ax-alert-dialog-action";customElements.get(s)||customElements.define(s,e(s,"AlertDialogAction",pt));const n="ax-alert-dialog-body";customElements.get(n)||customElements.define(n,e(n,"AlertDialogBody",ft));const a="ax-alert-dialog-cancel";customElements.get(a)||customElements.define(a,e(a,"AlertDialogCancel",Et));const r="ax-alert-dialog-content";customElements.get(r)||customElements.define(r,e(r,"AlertDialogContent",xt));const i="ax-alert-dialog-footer";customElements.get(i)||customElements.define(i,e(i,"AlertDialogFooter",Pt));const m="ax-alert-dialog-header";customElements.get(m)||customElements.define(m,e(m,"AlertDialogHeader",bt));const l="ax-alert-dialog-trigger";customElements.get(l)||customElements.define(l,e(l,"AlertDialogTrigger",Dt));const c="ax-angle-menu-button";customElements.get(c)||customElements.define(c,e(c,"AngleMenuButton",Tt));const u="ax-avatar";customElements.get(u)||customElements.define(u,e(u,"Avatar",wt));const d="ax-avatar-group";customElements.get(d)||customElements.define(d,e(d,"AvatarGroup",vt));const g="ax-axiom-provider";customElements.get(g)||customElements.define(g,e(g,"AxiomProvider",Ct));const p="ax-badge";customElements.get(p)||customElements.define(p,e(p,"Badge",At));const f="ax-banner";customElements.get(f)||customElements.define(f,e(f,"Banner",Lt));const E="ax-box";customElements.get(E)||customElements.define(E,e(E,"Box",It));const x="ax-button";customElements.get(x)||customElements.define(x,e(x,"Button",St));const P="ax-button-group";customElements.get(P)||customElements.define(P,e(P,"ButtonGroup",Mt));const b="ax-checkbox";customElements.get(b)||customElements.define(b,e(b,"Checkbox",ht));const D="ax-code";customElements.get(D)||customElements.define(D,e(D,"Code",Bt));const T="ax-dialog";customElements.get(T)||customElements.define(T,e(T,"Dialog",Ft));const w="ax-dialog-body";customElements.get(w)||customElements.define(w,e(w,"DialogBody",yt));const v="ax-dialog-close";customElements.get(v)||customElements.define(v,e(v,"DialogClose",kt));const C="ax-dialog-content";customElements.get(C)||customElements.define(C,e(C,"DialogContent",Gt));const A="ax-dialog-footer";customElements.get(A)||customElements.define(A,e(A,"DialogFooter",Nt));const L="ax-dialog-form";customElements.get(L)||customElements.define(L,e(L,"DialogForm",Ht));const I="ax-dialog-header";customElements.get(I)||customElements.define(I,e(I,"DialogHeader",Rt));const S="ax-dialog-trigger";customElements.get(S)||customElements.define(S,e(S,"DialogTrigger",Kt));const M="ax-disclosure";customElements.get(M)||customElements.define(M,e(M,"Disclosure",jt));const h="ax-disclosure-content";customElements.get(h)||customElements.define(h,e(h,"DisclosureContent",qt));const B="ax-disclosure-trigger";customElements.get(B)||customElements.define(B,e(B,"DisclosureTrigger",zt));const F="ax-drawer";customElements.get(F)||customElements.define(F,e(F,"Drawer",Jt));const y="ax-drawer-body";customElements.get(y)||customElements.define(y,e(y,"DrawerBody",Ot));const k="ax-drawer-close";customElements.get(k)||customElements.define(k,e(k,"DrawerClose",Qt));const G="ax-drawer-content";customElements.get(G)||customElements.define(G,e(G,"DrawerContent",Ut));const N="ax-drawer-footer";customElements.get(N)||customElements.define(N,e(N,"DrawerFooter",Vt));const H="ax-drawer-header";customElements.get(H)||customElements.define(H,e(H,"DrawerHeader",Wt));const R="ax-drawer-trigger";customElements.get(R)||customElements.define(R,e(R,"DrawerTrigger",Xt));const K="ax-dropdown-menu";customElements.get(K)||customElements.define(K,e(K,"DropdownMenu",Yt));const j="ax-dropdown-menu-checkbox-item";customElements.get(j)||customElements.define(j,e(j,"DropdownMenuCheckboxItem",Zt));const q="ax-dropdown-menu-content";customElements.get(q)||customElements.define(q,e(q,"DropdownMenuContent",_t));const z="ax-dropdown-menu-group";customElements.get(z)||customElements.define(z,e(z,"DropdownMenuGroup",$t));const J="ax-dropdown-menu-item";customElements.get(J)||customElements.define(J,e(J,"DropdownMenuItem",eo));const O="ax-dropdown-menu-label";customElements.get(O)||customElements.define(O,e(O,"DropdownMenuLabel",to));const Q="ax-dropdown-menu-separator";customElements.get(Q)||customElements.define(Q,e(Q,"DropdownMenuSeparator",oo));const U="ax-dropdown-menu-sub";customElements.get(U)||customElements.define(U,e(U,"DropdownMenuSub",so));const V="ax-dropdown-menu-sub-content";customElements.get(V)||customElements.define(V,e(V,"DropdownMenuSubContent",no));const W="ax-dropdown-menu-trigger";customElements.get(W)||customElements.define(W,e(W,"DropdownMenuTrigger",ao));const X="ax-ellipsis-menu-button";customElements.get(X)||customElements.define(X,e(X,"EllipsisMenuButton",ro));const Y="ax-field";customElements.get(Y)||customElements.define(Y,e(Y,"Field",io));const Z="ax-field-label";customElements.get(Z)||customElements.define(Z,e(Z,"FieldLabel",mo));const _="ax-flex";customElements.get(_)||customElements.define(_,e(_,"Flex",lo));const $="ax-grid";customElements.get($)||customElements.define($,e($,"Grid",co));const ee="ax-heading";customElements.get(ee)||customElements.define(ee,e(ee,"Heading",uo));const te="ax-indicator";customElements.get(te)||customElements.define(te,e(te,"Indicator",go));const oe="ax-input";customElements.get(oe)||customElements.define(oe,e(oe,"Input",po));const se="ax-input-addon";customElements.get(se)||customElements.define(se,e(se,"InputAddon",fo));const ne="ax-input-control";customElements.get(ne)||customElements.define(ne,e(ne,"InputControl",Eo));const ae="ax-input-root";customElements.get(ae)||customElements.define(ae,e(ae,"InputRoot",xo));const re="ax-kbd";customElements.get(re)||customElements.define(re,e(re,"Kbd",Po));const ie="ax-link";customElements.get(ie)||customElements.define(ie,e(ie,"Link",bo));const me="ax-listbox";customElements.get(me)||customElements.define(me,e(me,"Listbox",Do));const le="ax-listbox-checkbox-item";customElements.get(le)||customElements.define(le,e(le,"ListboxCheckboxItem",To));const ce="ax-listbox-empty";customElements.get(ce)||customElements.define(ce,e(ce,"ListboxEmpty",wo));const ue="ax-listbox-footer";customElements.get(ue)||customElements.define(ue,e(ue,"ListboxFooter",vo));const de="ax-listbox-group";customElements.get(de)||customElements.define(de,e(de,"ListboxGroup",Co));const ge="ax-listbox-item";customElements.get(ge)||customElements.define(ge,e(ge,"ListboxItem",Ao));const pe="ax-listbox-item-indicator";customElements.get(pe)||customElements.define(pe,e(pe,"ListboxItemIndicator",Lo));const fe="ax-listbox-label";customElements.get(fe)||customElements.define(fe,e(fe,"ListboxLabel",Io));const Ee="ax-listbox-radio-item";customElements.get(Ee)||customElements.define(Ee,e(Ee,"ListboxRadioItem",So));const xe="ax-listbox-scroll-area";customElements.get(xe)||customElements.define(xe,e(xe,"ListboxScrollArea",Mo));const Pe="ax-listbox-separator";customElements.get(Pe)||customElements.define(Pe,e(Pe,"ListboxSeparator",ho));const be="ax-listbox-switch-item";customElements.get(be)||customElements.define(be,e(be,"ListboxSwitchItem",Bo));const De="ax-modal-context-provider";customElements.get(De)||customElements.define(De,e(De,"ModalContextProvider",Fo));const Te="ax-modal-layer";customElements.get(Te)||customElements.define(Te,e(Te,"ModalLayer",yo));const we="ax-nav";customElements.get(we)||customElements.define(we,e(we,"Nav",ko));const ve="ax-nav-account-item";customElements.get(ve)||customElements.define(ve,e(ve,"NavAccountItem",Go));const Ce="ax-nav-body";customElements.get(Ce)||customElements.define(Ce,e(Ce,"NavBody",No));const Ae="ax-nav-footer";customElements.get(Ae)||customElements.define(Ae,e(Ae,"NavFooter",Ho));const Le="ax-nav-header";customElements.get(Le)||customElements.define(Le,e(Le,"NavHeader",Ro));const Ie="ax-nav-item";customElements.get(Ie)||customElements.define(Ie,e(Ie,"NavItem",Ko));const Se="ax-nav-list";customElements.get(Se)||customElements.define(Se,e(Se,"NavList",jo));const Me="ax-pagination";customElements.get(Me)||customElements.define(Me,e(Me,"Pagination",qo));const he="ax-paper";customElements.get(he)||customElements.define(he,e(he,"Paper",zo));const Be="ax-popover";customElements.get(Be)||customElements.define(Be,e(Be,"Popover",Jo));const Fe="ax-popover-anchor";customElements.get(Fe)||customElements.define(Fe,e(Fe,"PopoverAnchor",Oo));const ye="ax-popover-content";customElements.get(ye)||customElements.define(ye,e(ye,"PopoverContent",Qo));const ke="ax-popover-trigger";customElements.get(ke)||customElements.define(ke,e(ke,"PopoverTrigger",Uo));const Ge="ax-progress";customElements.get(Ge)||customElements.define(Ge,e(Ge,"Progress",Vo));const Ne="ax-radio";customElements.get(Ne)||customElements.define(Ne,e(Ne,"Radio",Wo));const He="ax-radio-group";customElements.get(He)||customElements.define(He,e(He,"RadioGroup",Xo));const Re="ax-search-input";customElements.get(Re)||customElements.define(Re,e(Re,"SearchInput",Yo));const Ke="ax-segmented-control";customElements.get(Ke)||customElements.define(Ke,e(Ke,"SegmentedControl",Zo));const je="ax-segmented-control-item";customElements.get(je)||customElements.define(je,e(je,"SegmentedControlItem",_o));const qe="ax-separator";customElements.get(qe)||customElements.define(qe,e(qe,"Separator",$o));const ze="ax-sidebar";customElements.get(ze)||customElements.define(ze,e(ze,"Sidebar",es));const Je="ax-sidebar-toggle";customElements.get(Je)||customElements.define(Je,e(Je,"SidebarToggle",ts));const Oe="ax-skeleton";customElements.get(Oe)||customElements.define(Oe,e(Oe,"Skeleton",os));const Qe="ax-spinner";customElements.get(Qe)||customElements.define(Qe,e(Qe,"Spinner",ss));const Ue="ax-switch";customElements.get(Ue)||customElements.define(Ue,e(Ue,"Switch",ns));const Ve="ax-tabs";customElements.get(Ve)||customElements.define(Ve,e(Ve,"Tabs",as));const We="ax-tabs-content";customElements.get(We)||customElements.define(We,e(We,"TabsContent",rs));const Xe="ax-tabs-list";customElements.get(Xe)||customElements.define(Xe,e(Xe,"TabsList",is));const Ye="ax-tabs-trigger";customElements.get(Ye)||customElements.define(Ye,e(Ye,"TabsTrigger",ms));const Ze="ax-text";customElements.get(Ze)||customElements.define(Ze,e(Ze,"Text",ls));const _e="ax-textarea";customElements.get(_e)||customElements.define(_e,e(_e,"Textarea",cs));const $e="ax-theme-provider";customElements.get($e)||customElements.define($e,e($e,"ThemeProvider",us));const et="ax-toast";customElements.get(et)||customElements.define(et,e(et,"Toast",ds));const tt="ax-toast-action";customElements.get(tt)||customElements.define(tt,e(tt,"ToastAction",gs));const ot="ax-toast-provider";customElements.get(ot)||customElements.define(ot,e(ot,"ToastProvider",ps));const st="ax-toast-title";customElements.get(st)||customElements.define(st,e(st,"ToastTitle",fs));const nt="ax-toggle-button";customElements.get(nt)||customElements.define(nt,e(nt,"ToggleButton",Es));const at="ax-tooltip";customElements.get(at)||customElements.define(at,e(at,"Tooltip",xs));const rt="ax-tooltip-content";customElements.get(rt)||customElements.define(rt,e(rt,"TooltipContent",Ps));const it="ax-tooltip-provider";customElements.get(it)||customElements.define(it,e(it,"TooltipProvider",bs));const mt="ax-tooltip-root";customElements.get(mt)||customElements.define(mt,e(mt,"TooltipRoot",Ds));const lt="ax-tooltip-trigger";customElements.get(lt)||customElements.define(lt,e(lt,"TooltipTrigger",Ts));const ct="ax-transition";customElements.get(ct)||customElements.define(ct,e(ct,"Transition",ws));const ut="ax-transition-group";customElements.get(ut)||customElements.define(ut,e(ut,"TransitionGroup",vs));export{t as Alert,o as AlertDialog,s as AlertDialogAction,n as AlertDialogBody,a as AlertDialogCancel,r as AlertDialogContent,i as AlertDialogFooter,m as AlertDialogHeader,l as AlertDialogTrigger,c as AngleMenuButton,u as Avatar,d as AvatarGroup,g as AxiomProvider,p as Badge,f as Banner,E as Box,x as Button,P as ButtonGroup,b as Checkbox,D as Code,T as Dialog,w as DialogBody,v as DialogClose,C as DialogContent,A as DialogFooter,L as DialogForm,I as DialogHeader,S as DialogTrigger,M as Disclosure,h as DisclosureContent,B as DisclosureTrigger,F as Drawer,y as DrawerBody,k as DrawerClose,G as DrawerContent,N as DrawerFooter,H as DrawerHeader,R as DrawerTrigger,K as DropdownMenu,j as DropdownMenuCheckboxItem,q as DropdownMenuContent,z as DropdownMenuGroup,J as DropdownMenuItem,O as DropdownMenuLabel,Q as DropdownMenuSeparator,U as DropdownMenuSub,V as DropdownMenuSubContent,W as DropdownMenuTrigger,X as EllipsisMenuButton,Y as Field,Z as FieldLabel,_ as Flex,$ as Grid,ee as Heading,te as Indicator,oe as Input,se as InputAddon,ne as InputControl,ae as InputRoot,re as Kbd,ie as Link,me as Listbox,le as ListboxCheckboxItem,ce as ListboxEmpty,ue as ListboxFooter,de as ListboxGroup,ge as ListboxItem,pe as ListboxItemIndicator,fe as ListboxLabel,Ee as ListboxRadioItem,xe as ListboxScrollArea,Pe as ListboxSeparator,be as ListboxSwitchItem,De as ModalContextProvider,Te as ModalLayer,we as Nav,ve as NavAccountItem,Ce as NavBody,Ae as NavFooter,Le as NavHeader,Ie as NavItem,Se as NavList,Me as Pagination,he as Paper,Be as Popover,Fe as PopoverAnchor,ye as PopoverContent,ke as PopoverTrigger,Ge as Progress,Ne as Radio,He as RadioGroup,Re as SearchInput,Ke as SegmentedControl,je as SegmentedControlItem,qe as Separator,ze as Sidebar,Je as SidebarToggle,Oe as Skeleton,Qe as Spinner,Ue as Switch,Ve as Tabs,We as TabsContent,Xe as TabsList,Ye as TabsTrigger,Ze as Text,_e as Textarea,$e as ThemeProvider,et as Toast,tt as ToastAction,ot as ToastProvider,st as ToastTitle,nt as ToggleButton,at as Tooltip,rt as TooltipContent,it as TooltipProvider,mt as TooltipRoot,lt as TooltipTrigger,ct as Transition,ut as TransitionGroup};
|
|
1
|
+
import{f as e,A as dt,a as gt,b as pt,c as ft,d as Et,e as xt,g as Pt,h as bt,i as Dt,j as Tt,k as wt,l as vt,m as Ct,B as At,n as Lt,o as It,p as St,q as Mt,C as ht,r as Bt,D as Ft,s as yt,t as kt,u as Gt,v as Nt,w as Ht,x as Rt,y as Kt,z as jt,E as qt,F as zt,G as Jt,H as Ot,I as Qt,J as Ut,K as Vt,L as Wt,M as Xt,N as Yt,O as Zt,P as _t,Q as $t,R as eo,S as to,T as oo,U as so,V as no,W as ao,X as ro,Y as io,Z as mo,_ as lo,$ as co,a0 as uo,a1 as go,a2 as po,a3 as fo,a4 as Eo,a5 as xo,a6 as Po,a7 as bo,a8 as Do,a9 as To,aa as wo,ab as vo,ac as Co,ad as Ao,ae as Lo,af as Io,ag as So,ah as Mo,ai as ho,aj as Bo,ak as Fo,al as yo,am as ko,an as Go,ao as No,ap as Ho,aq as Ro,ar as Ko,as as jo,at as qo,au as zo,av as Jo,aw as Oo,ax as Qo,ay as Uo,az as Vo,aA as Wo,aB as Xo,aC as Yo,aD as Zo,aE as _o,aF as $o,aG as es,aH as ts,aI as os,aJ as ss,aK as ns,aL as as,aM as rs,aN as is,aO as ms,aP as ls,aQ as cs,aR as us,aS as ds,aT as gs,aU as ps,aV as fs,aW as Es,aX as xs,aY as Ps,aZ as bs,a_ as Ds,a$ as Ts,b0 as ws,b1 as vs}from"./propTypes-Bzk8CfKQ.js";const t="ax-alert";customElements.get(t)||customElements.define(t,e(t,"Alert",dt));const o="ax-alert-dialog";customElements.get(o)||customElements.define(o,e(o,"AlertDialog",gt));const s="ax-alert-dialog-action";customElements.get(s)||customElements.define(s,e(s,"AlertDialogAction",pt));const n="ax-alert-dialog-body";customElements.get(n)||customElements.define(n,e(n,"AlertDialogBody",ft));const a="ax-alert-dialog-cancel";customElements.get(a)||customElements.define(a,e(a,"AlertDialogCancel",Et));const r="ax-alert-dialog-content";customElements.get(r)||customElements.define(r,e(r,"AlertDialogContent",xt));const i="ax-alert-dialog-footer";customElements.get(i)||customElements.define(i,e(i,"AlertDialogFooter",Pt));const m="ax-alert-dialog-header";customElements.get(m)||customElements.define(m,e(m,"AlertDialogHeader",bt));const l="ax-alert-dialog-trigger";customElements.get(l)||customElements.define(l,e(l,"AlertDialogTrigger",Dt));const c="ax-angle-menu-button";customElements.get(c)||customElements.define(c,e(c,"AngleMenuButton",Tt));const u="ax-avatar";customElements.get(u)||customElements.define(u,e(u,"Avatar",wt));const d="ax-avatar-group";customElements.get(d)||customElements.define(d,e(d,"AvatarGroup",vt));const g="ax-axiom-provider";customElements.get(g)||customElements.define(g,e(g,"AxiomProvider",Ct));const p="ax-badge";customElements.get(p)||customElements.define(p,e(p,"Badge",At));const f="ax-banner";customElements.get(f)||customElements.define(f,e(f,"Banner",Lt));const E="ax-box";customElements.get(E)||customElements.define(E,e(E,"Box",It));const x="ax-button";customElements.get(x)||customElements.define(x,e(x,"Button",St));const P="ax-button-group";customElements.get(P)||customElements.define(P,e(P,"ButtonGroup",Mt));const b="ax-checkbox";customElements.get(b)||customElements.define(b,e(b,"Checkbox",ht));const D="ax-code";customElements.get(D)||customElements.define(D,e(D,"Code",Bt));const T="ax-dialog";customElements.get(T)||customElements.define(T,e(T,"Dialog",Ft));const w="ax-dialog-body";customElements.get(w)||customElements.define(w,e(w,"DialogBody",yt));const v="ax-dialog-close";customElements.get(v)||customElements.define(v,e(v,"DialogClose",kt));const C="ax-dialog-content";customElements.get(C)||customElements.define(C,e(C,"DialogContent",Gt));const A="ax-dialog-footer";customElements.get(A)||customElements.define(A,e(A,"DialogFooter",Nt));const L="ax-dialog-form";customElements.get(L)||customElements.define(L,e(L,"DialogForm",Ht));const I="ax-dialog-header";customElements.get(I)||customElements.define(I,e(I,"DialogHeader",Rt));const S="ax-dialog-trigger";customElements.get(S)||customElements.define(S,e(S,"DialogTrigger",Kt));const M="ax-disclosure";customElements.get(M)||customElements.define(M,e(M,"Disclosure",jt));const h="ax-disclosure-content";customElements.get(h)||customElements.define(h,e(h,"DisclosureContent",qt));const B="ax-disclosure-trigger";customElements.get(B)||customElements.define(B,e(B,"DisclosureTrigger",zt));const F="ax-drawer";customElements.get(F)||customElements.define(F,e(F,"Drawer",Jt));const y="ax-drawer-body";customElements.get(y)||customElements.define(y,e(y,"DrawerBody",Ot));const k="ax-drawer-close";customElements.get(k)||customElements.define(k,e(k,"DrawerClose",Qt));const G="ax-drawer-content";customElements.get(G)||customElements.define(G,e(G,"DrawerContent",Ut));const N="ax-drawer-footer";customElements.get(N)||customElements.define(N,e(N,"DrawerFooter",Vt));const H="ax-drawer-header";customElements.get(H)||customElements.define(H,e(H,"DrawerHeader",Wt));const R="ax-drawer-trigger";customElements.get(R)||customElements.define(R,e(R,"DrawerTrigger",Xt));const K="ax-dropdown-menu";customElements.get(K)||customElements.define(K,e(K,"DropdownMenu",Yt));const j="ax-dropdown-menu-checkbox-item";customElements.get(j)||customElements.define(j,e(j,"DropdownMenuCheckboxItem",Zt));const q="ax-dropdown-menu-content";customElements.get(q)||customElements.define(q,e(q,"DropdownMenuContent",_t));const z="ax-dropdown-menu-group";customElements.get(z)||customElements.define(z,e(z,"DropdownMenuGroup",$t));const J="ax-dropdown-menu-item";customElements.get(J)||customElements.define(J,e(J,"DropdownMenuItem",eo));const O="ax-dropdown-menu-label";customElements.get(O)||customElements.define(O,e(O,"DropdownMenuLabel",to));const Q="ax-dropdown-menu-separator";customElements.get(Q)||customElements.define(Q,e(Q,"DropdownMenuSeparator",oo));const U="ax-dropdown-menu-sub";customElements.get(U)||customElements.define(U,e(U,"DropdownMenuSub",so));const V="ax-dropdown-menu-sub-content";customElements.get(V)||customElements.define(V,e(V,"DropdownMenuSubContent",no));const W="ax-dropdown-menu-trigger";customElements.get(W)||customElements.define(W,e(W,"DropdownMenuTrigger",ao));const X="ax-ellipsis-menu-button";customElements.get(X)||customElements.define(X,e(X,"EllipsisMenuButton",ro));const Y="ax-field";customElements.get(Y)||customElements.define(Y,e(Y,"Field",io));const Z="ax-field-label";customElements.get(Z)||customElements.define(Z,e(Z,"FieldLabel",mo));const _="ax-flex";customElements.get(_)||customElements.define(_,e(_,"Flex",lo));const $="ax-grid";customElements.get($)||customElements.define($,e($,"Grid",co));const ee="ax-heading";customElements.get(ee)||customElements.define(ee,e(ee,"Heading",uo));const te="ax-indicator";customElements.get(te)||customElements.define(te,e(te,"Indicator",go));const oe="ax-input";customElements.get(oe)||customElements.define(oe,e(oe,"Input",po));const se="ax-input-addon";customElements.get(se)||customElements.define(se,e(se,"InputAddon",fo));const ne="ax-input-control";customElements.get(ne)||customElements.define(ne,e(ne,"InputControl",Eo));const ae="ax-input-root";customElements.get(ae)||customElements.define(ae,e(ae,"InputRoot",xo));const re="ax-kbd";customElements.get(re)||customElements.define(re,e(re,"Kbd",Po));const ie="ax-link";customElements.get(ie)||customElements.define(ie,e(ie,"Link",bo));const me="ax-listbox";customElements.get(me)||customElements.define(me,e(me,"Listbox",Do));const le="ax-listbox-checkbox-item";customElements.get(le)||customElements.define(le,e(le,"ListboxCheckboxItem",To));const ce="ax-listbox-empty";customElements.get(ce)||customElements.define(ce,e(ce,"ListboxEmpty",wo));const ue="ax-listbox-footer";customElements.get(ue)||customElements.define(ue,e(ue,"ListboxFooter",vo));const de="ax-listbox-group";customElements.get(de)||customElements.define(de,e(de,"ListboxGroup",Co));const ge="ax-listbox-item";customElements.get(ge)||customElements.define(ge,e(ge,"ListboxItem",Ao));const pe="ax-listbox-item-indicator";customElements.get(pe)||customElements.define(pe,e(pe,"ListboxItemIndicator",Lo));const fe="ax-listbox-label";customElements.get(fe)||customElements.define(fe,e(fe,"ListboxLabel",Io));const Ee="ax-listbox-radio-item";customElements.get(Ee)||customElements.define(Ee,e(Ee,"ListboxRadioItem",So));const xe="ax-listbox-scroll-area";customElements.get(xe)||customElements.define(xe,e(xe,"ListboxScrollArea",Mo));const Pe="ax-listbox-separator";customElements.get(Pe)||customElements.define(Pe,e(Pe,"ListboxSeparator",ho));const be="ax-listbox-switch-item";customElements.get(be)||customElements.define(be,e(be,"ListboxSwitchItem",Bo));const De="ax-modal-context-provider";customElements.get(De)||customElements.define(De,e(De,"ModalContextProvider",Fo));const Te="ax-modal-layer";customElements.get(Te)||customElements.define(Te,e(Te,"ModalLayer",yo));const we="ax-nav";customElements.get(we)||customElements.define(we,e(we,"Nav",ko));const ve="ax-nav-account-item";customElements.get(ve)||customElements.define(ve,e(ve,"NavAccountItem",Go));const Ce="ax-nav-body";customElements.get(Ce)||customElements.define(Ce,e(Ce,"NavBody",No));const Ae="ax-nav-footer";customElements.get(Ae)||customElements.define(Ae,e(Ae,"NavFooter",Ho));const Le="ax-nav-header";customElements.get(Le)||customElements.define(Le,e(Le,"NavHeader",Ro));const Ie="ax-nav-item";customElements.get(Ie)||customElements.define(Ie,e(Ie,"NavItem",Ko));const Se="ax-nav-list";customElements.get(Se)||customElements.define(Se,e(Se,"NavList",jo));const Me="ax-pagination";customElements.get(Me)||customElements.define(Me,e(Me,"Pagination",qo));const he="ax-paper";customElements.get(he)||customElements.define(he,e(he,"Paper",zo));const Be="ax-popover";customElements.get(Be)||customElements.define(Be,e(Be,"Popover",Jo));const Fe="ax-popover-anchor";customElements.get(Fe)||customElements.define(Fe,e(Fe,"PopoverAnchor",Oo));const ye="ax-popover-content";customElements.get(ye)||customElements.define(ye,e(ye,"PopoverContent",Qo));const ke="ax-popover-trigger";customElements.get(ke)||customElements.define(ke,e(ke,"PopoverTrigger",Uo));const Ge="ax-progress";customElements.get(Ge)||customElements.define(Ge,e(Ge,"Progress",Vo));const Ne="ax-radio";customElements.get(Ne)||customElements.define(Ne,e(Ne,"Radio",Wo));const He="ax-radio-group";customElements.get(He)||customElements.define(He,e(He,"RadioGroup",Xo));const Re="ax-search-input";customElements.get(Re)||customElements.define(Re,e(Re,"SearchInput",Yo));const Ke="ax-segmented-control";customElements.get(Ke)||customElements.define(Ke,e(Ke,"SegmentedControl",Zo));const je="ax-segmented-control-item";customElements.get(je)||customElements.define(je,e(je,"SegmentedControlItem",_o));const qe="ax-separator";customElements.get(qe)||customElements.define(qe,e(qe,"Separator",$o));const ze="ax-sidebar";customElements.get(ze)||customElements.define(ze,e(ze,"Sidebar",es));const Je="ax-sidebar-toggle";customElements.get(Je)||customElements.define(Je,e(Je,"SidebarToggle",ts));const Oe="ax-skeleton";customElements.get(Oe)||customElements.define(Oe,e(Oe,"Skeleton",os));const Qe="ax-spinner";customElements.get(Qe)||customElements.define(Qe,e(Qe,"Spinner",ss));const Ue="ax-switch";customElements.get(Ue)||customElements.define(Ue,e(Ue,"Switch",ns));const Ve="ax-tabs";customElements.get(Ve)||customElements.define(Ve,e(Ve,"Tabs",as));const We="ax-tabs-content";customElements.get(We)||customElements.define(We,e(We,"TabsContent",rs));const Xe="ax-tabs-list";customElements.get(Xe)||customElements.define(Xe,e(Xe,"TabsList",is));const Ye="ax-tabs-trigger";customElements.get(Ye)||customElements.define(Ye,e(Ye,"TabsTrigger",ms));const Ze="ax-text";customElements.get(Ze)||customElements.define(Ze,e(Ze,"Text",ls));const _e="ax-textarea";customElements.get(_e)||customElements.define(_e,e(_e,"Textarea",cs));const $e="ax-theme-provider";customElements.get($e)||customElements.define($e,e($e,"ThemeProvider",us));const et="ax-toast";customElements.get(et)||customElements.define(et,e(et,"Toast",ds));const tt="ax-toast-action";customElements.get(tt)||customElements.define(tt,e(tt,"ToastAction",gs));const ot="ax-toast-provider";customElements.get(ot)||customElements.define(ot,e(ot,"ToastProvider",ps));const st="ax-toast-title";customElements.get(st)||customElements.define(st,e(st,"ToastTitle",fs));const nt="ax-toggle-button";customElements.get(nt)||customElements.define(nt,e(nt,"ToggleButton",Es));const at="ax-tooltip";customElements.get(at)||customElements.define(at,e(at,"Tooltip",xs));const rt="ax-tooltip-content";customElements.get(rt)||customElements.define(rt,e(rt,"TooltipContent",Ps));const it="ax-tooltip-provider";customElements.get(it)||customElements.define(it,e(it,"TooltipProvider",bs));const mt="ax-tooltip-root";customElements.get(mt)||customElements.define(mt,e(mt,"TooltipRoot",Ds));const lt="ax-tooltip-trigger";customElements.get(lt)||customElements.define(lt,e(lt,"TooltipTrigger",Ts));const ct="ax-transition";customElements.get(ct)||customElements.define(ct,e(ct,"Transition",ws));const ut="ax-transition-group";customElements.get(ut)||customElements.define(ut,e(ut,"TransitionGroup",vs));export{t as Alert,o as AlertDialog,s as AlertDialogAction,n as AlertDialogBody,a as AlertDialogCancel,r as AlertDialogContent,i as AlertDialogFooter,m as AlertDialogHeader,l as AlertDialogTrigger,c as AngleMenuButton,u as Avatar,d as AvatarGroup,g as AxiomProvider,p as Badge,f as Banner,E as Box,x as Button,P as ButtonGroup,b as Checkbox,D as Code,T as Dialog,w as DialogBody,v as DialogClose,C as DialogContent,A as DialogFooter,L as DialogForm,I as DialogHeader,S as DialogTrigger,M as Disclosure,h as DisclosureContent,B as DisclosureTrigger,F as Drawer,y as DrawerBody,k as DrawerClose,G as DrawerContent,N as DrawerFooter,H as DrawerHeader,R as DrawerTrigger,K as DropdownMenu,j as DropdownMenuCheckboxItem,q as DropdownMenuContent,z as DropdownMenuGroup,J as DropdownMenuItem,O as DropdownMenuLabel,Q as DropdownMenuSeparator,U as DropdownMenuSub,V as DropdownMenuSubContent,W as DropdownMenuTrigger,X as EllipsisMenuButton,Y as Field,Z as FieldLabel,_ as Flex,$ as Grid,ee as Heading,te as Indicator,oe as Input,se as InputAddon,ne as InputControl,ae as InputRoot,re as Kbd,ie as Link,me as Listbox,le as ListboxCheckboxItem,ce as ListboxEmpty,ue as ListboxFooter,de as ListboxGroup,ge as ListboxItem,pe as ListboxItemIndicator,fe as ListboxLabel,Ee as ListboxRadioItem,xe as ListboxScrollArea,Pe as ListboxSeparator,be as ListboxSwitchItem,De as ModalContextProvider,Te as ModalLayer,we as Nav,ve as NavAccountItem,Ce as NavBody,Ae as NavFooter,Le as NavHeader,Ie as NavItem,Se as NavList,Me as Pagination,he as Paper,Be as Popover,Fe as PopoverAnchor,ye as PopoverContent,ke as PopoverTrigger,Ge as Progress,Ne as Radio,He as RadioGroup,Re as SearchInput,Ke as SegmentedControl,je as SegmentedControlItem,qe as Separator,ze as Sidebar,Je as SidebarToggle,Oe as Skeleton,Qe as Spinner,Ue as Switch,Ve as Tabs,We as TabsContent,Xe as TabsList,Ye as TabsTrigger,Ze as Text,_e as Textarea,$e as ThemeProvider,et as Toast,tt as ToastAction,ot as ToastProvider,st as ToastTitle,nt as ToggleButton,at as Tooltip,rt as TooltipContent,it as TooltipProvider,mt as TooltipRoot,lt as TooltipTrigger,ct as Transition,ut as TransitionGroup};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i}from"./register-tFUNafp8.js";i("@layer optiaxiom, optiaxiom.theme, optiaxiom.base, optiaxiom._1m9kadp, optiaxiom._8k4b2z;");
|