@optiaxiom/web-components 0.8.2 → 0.8.3
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/Alert/package.json +4 -0
- package/AlertDialog/package.json +4 -0
- package/AlertDialogAction/package.json +4 -0
- package/AlertDialogBody/package.json +4 -0
- package/AlertDialogCancel/package.json +4 -0
- package/AlertDialogContent/package.json +4 -0
- package/AlertDialogFooter/package.json +4 -0
- package/AlertDialogHeader/package.json +4 -0
- package/AlertDialogTrigger/package.json +4 -0
- package/AngleMenuButton/package.json +4 -0
- package/Avatar/package.json +4 -0
- package/AvatarGroup/package.json +4 -0
- package/AxiomProvider/package.json +4 -0
- package/Badge/package.json +4 -0
- package/Banner/package.json +4 -0
- package/Box/package.json +4 -0
- package/Button/package.json +4 -0
- package/ButtonGroup/package.json +4 -0
- package/Checkbox/package.json +4 -0
- package/Code/package.json +4 -0
- package/Dialog/package.json +4 -0
- package/DialogBody/package.json +4 -0
- package/DialogClose/package.json +4 -0
- package/DialogContent/package.json +4 -0
- package/DialogFooter/package.json +4 -0
- package/DialogForm/package.json +4 -0
- package/DialogHeader/package.json +4 -0
- package/DialogTrigger/package.json +4 -0
- package/Disclosure/package.json +4 -0
- package/DisclosureContent/package.json +4 -0
- package/DisclosureTrigger/package.json +4 -0
- package/Drawer/package.json +4 -0
- package/DrawerActions/package.json +4 -0
- package/DrawerBody/package.json +4 -0
- package/DrawerClose/package.json +4 -0
- package/DrawerContent/package.json +4 -0
- package/DrawerDescription/package.json +4 -0
- package/DrawerFooter/package.json +4 -0
- package/DrawerHeader/package.json +4 -0
- package/DrawerTitle/package.json +4 -0
- package/DrawerTrigger/package.json +4 -0
- package/DropdownMenu/package.json +4 -0
- package/DropdownMenuCheckboxItem/package.json +4 -0
- package/DropdownMenuContent/package.json +4 -0
- package/DropdownMenuGroup/package.json +4 -0
- package/DropdownMenuItem/package.json +4 -0
- package/DropdownMenuLabel/package.json +4 -0
- package/DropdownMenuSeparator/package.json +4 -0
- package/DropdownMenuSub/package.json +4 -0
- package/DropdownMenuSubContent/package.json +4 -0
- package/DropdownMenuTrigger/package.json +4 -0
- package/EllipsisMenuButton/package.json +4 -0
- package/Field/package.json +4 -0
- package/FieldLabel/package.json +4 -0
- package/Flex/package.json +4 -0
- package/Grid/package.json +4 -0
- package/Heading/package.json +4 -0
- package/Indicator/package.json +4 -0
- package/Input/package.json +4 -0
- package/InputAddon/package.json +4 -0
- package/InputControl/package.json +4 -0
- package/InputRoot/package.json +4 -0
- package/Kbd/package.json +4 -0
- package/Link/package.json +4 -0
- package/Listbox/package.json +4 -0
- package/ListboxCheckboxItem/package.json +4 -0
- package/ListboxEmpty/package.json +4 -0
- package/ListboxFooter/package.json +4 -0
- package/ListboxGroup/package.json +4 -0
- package/ListboxItem/package.json +4 -0
- package/ListboxItemIndicator/package.json +4 -0
- package/ListboxLabel/package.json +4 -0
- package/ListboxRadioItem/package.json +4 -0
- package/ListboxScrollArea/package.json +4 -0
- package/ListboxSeparator/package.json +4 -0
- package/ModalLayer/package.json +4 -0
- package/Nav/package.json +4 -0
- package/NavAccountItem/package.json +4 -0
- package/NavBody/package.json +4 -0
- package/NavFooter/package.json +4 -0
- package/NavHeader/package.json +4 -0
- package/NavItem/package.json +4 -0
- package/NavList/package.json +4 -0
- package/Pagination/package.json +4 -0
- package/Paper/package.json +4 -0
- package/Popover/package.json +4 -0
- package/PopoverAnchor/package.json +4 -0
- package/PopoverContent/package.json +4 -0
- package/PopoverTrigger/package.json +4 -0
- package/Progress/package.json +4 -0
- package/Radio/package.json +4 -0
- package/RadioGroup/package.json +4 -0
- package/SearchInput/package.json +4 -0
- package/SegmentedControl/package.json +4 -0
- package/SegmentedControlItem/package.json +4 -0
- package/Separator/package.json +4 -0
- package/Sidebar/package.json +4 -0
- package/SidebarToggle/package.json +4 -0
- package/Skeleton/package.json +4 -0
- package/Spinner/package.json +4 -0
- package/Switch/package.json +4 -0
- package/Tabs/package.json +4 -0
- package/TabsContent/package.json +4 -0
- package/TabsList/package.json +4 -0
- package/TabsTrigger/package.json +4 -0
- package/Text/package.json +4 -0
- package/Textarea/package.json +4 -0
- package/ThemeProvider/package.json +4 -0
- package/Toast/package.json +4 -0
- package/ToastAction/package.json +4 -0
- package/ToastTitle/package.json +4 -0
- package/ToggleButton/package.json +4 -0
- package/Tooltip/package.json +4 -0
- package/TooltipContent/package.json +4 -0
- package/TooltipRoot/package.json +4 -0
- package/TooltipTrigger/package.json +4 -0
- package/Transition/package.json +4 -0
- package/TransitionGroup/package.json +4 -0
- package/dist/AlertDialogContext-oWcvgu7O.js +1 -0
- package/dist/AngleMenuButton-CnQ-awha.js +1 -0
- package/dist/Avatar-D54Sqqbe.js +1 -0
- package/dist/AvatarContext-TqyzKG-O.js +1 -0
- package/dist/AvatarGroup.css.ts.vanilla-pvg1PXNv-BCo0qILJ.js +1 -0
- package/dist/Backdrop-BOIK8IId.js +1 -0
- package/dist/Badge-IqVbh0Ok.js +1 -0
- package/dist/Box-B_cws1JB.js +1 -0
- package/dist/Button-BnESvoMv.js +1 -0
- package/dist/ButtonContext-CcQeLcMf.js +1 -0
- package/dist/Checkbox-D46GezAs.js +1 -0
- package/dist/Combination-tfTBCACB.js +41 -0
- package/dist/Cover-Ceg89nO7.js +1 -0
- package/dist/DialogContext-CyLbxq2M.js +1 -0
- package/dist/DisclosureContext-22lZGDVp.js +1 -0
- package/dist/DrawerContext-CuzOwL4X.js +1 -0
- package/dist/DropdownMenuContext-BJra_MwZ.js +1 -0
- package/dist/DropdownMenuSubContext-Bh4J0M4I.js +1 -0
- package/dist/FieldContext-CxhQc_x1.js +1 -0
- package/dist/FieldLabel-DPwbKdBS.js +1 -0
- package/dist/{Flex-DMsMMoyn.js → Flex-BI_ReZQD.js} +1 -1
- package/dist/Heading-B52PIApb.js +1 -0
- package/dist/Icon-BnvQueQL.js +1 -0
- package/dist/IconAngleRight-TuGxkzvP.js +1 -0
- package/dist/{IconCircleInfoSolid-BxILgda7.js → IconCircleInfoSolid-CzCs1mrf.js} +1 -1
- package/dist/{IconEllipsis-Coum3Hmg.js → IconEllipsis-Du9jYcv0.js} +1 -1
- package/dist/{IconTriangleExclamationSolid-Burg1gPh.js → IconTriangleExclamationSolid-BblfiD8M.js} +1 -1
- package/dist/{IconX-Bx75MKRQ.js → IconX-DJA1MT8p.js} +1 -1
- package/dist/Input-a2NKPRf8.js +1 -0
- package/dist/{InputAddon-D2Jy02dg.js → InputAddon-DUAl6SRV.js} +1 -1
- package/dist/InputContext-BH2xCa2k.js +1 -0
- package/dist/InputControl-EfzjsZuJ.js +1 -0
- package/dist/InputControl.css.ts.vanilla-D_Y4T4gr-Df7Irokh.js +1 -0
- package/dist/InputRoot-CqYOS5zv.js +1 -0
- package/dist/{Listbox-DffQcdEa.js → Listbox-BIgmedFF.js} +1 -1
- package/dist/{ListboxCheckboxItem-CfcWdgmB.js → ListboxCheckboxItem-ACJ1iLnm.js} +1 -1
- package/dist/ListboxGroupContext-BtWTDsiK.js +1 -0
- package/dist/ListboxItem-DSit61gJ.js +1 -0
- package/dist/{ListboxItemIndicator-7EXTB_cu.js → ListboxItemIndicator-BmvQd07V.js} +1 -1
- package/dist/ListboxSeparator-D35-Ftqq.js +1 -0
- package/dist/MenuListbox-Y1xpi-Fi.js +1 -0
- package/dist/NavItem-UkxSqk-C.js +1 -0
- package/dist/{Paper-DtRRGffO.js → Paper-BdXP8lKv.js} +1 -1
- package/dist/PopoverContent-BG1q2SMH.d-Cm7Is13w.d.ts +505 -0
- package/dist/PopoverContext-CMmfmEF4.js +1 -0
- package/dist/RadioGroupContext-NfSb1Ji1.js +1 -0
- package/dist/SegmentedControlContext-CxKd4ZH4.js +1 -0
- package/dist/Separator-BPs5mvFR.js +1 -0
- package/dist/SidebarContext-DDuiDyw6.js +1 -0
- package/dist/Spinner-BeWczUmH.js +1 -0
- package/dist/Text-BjfqQZQy.js +1 -0
- package/dist/ThemeProvider-wzimrKlH.js +13 -0
- package/dist/Toast-BeJ75p8C.js +1 -0
- package/dist/ToastAction-BCoCdIyt.js +1 -0
- package/dist/ToastTitle-CqSNm9ff.js +1 -0
- package/dist/ToggleInputHiddenInput-CFmQOIiz.js +1 -0
- package/dist/Tooltip-mV12jmvN.js +1 -0
- package/dist/TooltipContent-BVVh-gnC.js +1 -0
- package/dist/TooltipContext-DnvzWIHq.js +1 -0
- package/dist/TooltipRoot-CfRK-qdG.js +1 -0
- package/dist/TooltipTrigger-CshHVXqQ.js +1 -0
- package/dist/Transition-DBVpBrqf.js +1 -0
- package/dist/TransitionGroup-Cu3csP2f.js +1 -0
- package/dist/components/Alert.d.ts +18 -0
- package/dist/components/Alert.js +1 -1
- package/dist/components/AlertDialog.d.ts +18 -0
- package/dist/components/AlertDialog.js +1 -1
- package/dist/components/AlertDialogAction.d.ts +18 -0
- package/dist/components/AlertDialogAction.js +1 -1
- package/dist/components/AlertDialogBody.d.ts +18 -0
- package/dist/components/AlertDialogBody.js +1 -1
- package/dist/components/AlertDialogCancel.d.ts +18 -0
- package/dist/components/AlertDialogCancel.js +1 -1
- package/dist/components/AlertDialogContent.d.ts +18 -0
- package/dist/components/AlertDialogContent.js +1 -1
- package/dist/components/AlertDialogFooter.d.ts +18 -0
- package/dist/components/AlertDialogFooter.js +1 -1
- package/dist/components/AlertDialogHeader.d.ts +18 -0
- package/dist/components/AlertDialogHeader.js +1 -1
- package/dist/components/AlertDialogTrigger.d.ts +18 -0
- package/dist/components/AlertDialogTrigger.js +1 -1
- package/dist/components/AngleMenuButton.d.ts +18 -0
- package/dist/components/AngleMenuButton.js +1 -1
- package/dist/components/Avatar.d.ts +18 -0
- package/dist/components/Avatar.js +1 -1
- package/dist/components/AvatarGroup.d.ts +18 -0
- package/dist/components/AvatarGroup.js +1 -1
- package/dist/components/AxiomProvider.d.ts +18 -0
- package/dist/components/AxiomProvider.js +1 -1
- package/dist/components/Badge.d.ts +18 -0
- package/dist/components/Badge.js +1 -1
- package/dist/components/Banner.d.ts +18 -0
- package/dist/components/Banner.js +1 -1
- package/dist/components/Box.d.ts +16 -0
- package/dist/components/Box.js +1 -1
- package/dist/components/Button.d.ts +18 -0
- package/dist/components/Button.js +1 -1
- package/dist/components/ButtonGroup.d.ts +18 -0
- package/dist/components/ButtonGroup.js +1 -1
- package/dist/components/Checkbox.d.ts +16 -0
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/Code.d.ts +18 -0
- package/dist/components/Code.js +1 -1
- package/dist/components/Dialog.d.ts +18 -0
- package/dist/components/Dialog.js +1 -1
- package/dist/components/DialogBody.d.ts +18 -0
- package/dist/components/DialogBody.js +1 -1
- package/dist/components/DialogClose.d.ts +18 -0
- package/dist/components/DialogClose.js +1 -1
- package/dist/components/DialogContent.d.ts +16 -0
- package/dist/components/DialogContent.js +1 -1
- package/dist/components/DialogFooter.d.ts +18 -0
- package/dist/components/DialogFooter.js +1 -1
- package/dist/components/DialogForm.d.ts +18 -0
- package/dist/components/DialogForm.js +1 -1
- package/dist/components/DialogHeader.d.ts +18 -0
- package/dist/components/DialogHeader.js +1 -1
- package/dist/components/DialogTrigger.d.ts +18 -0
- package/dist/components/DialogTrigger.js +1 -1
- package/dist/components/Disclosure.d.ts +18 -0
- package/dist/components/Disclosure.js +1 -1
- package/dist/components/DisclosureContent.d.ts +18 -0
- package/dist/components/DisclosureContent.js +1 -1
- package/dist/components/DisclosureTrigger.d.ts +18 -0
- package/dist/components/DisclosureTrigger.js +1 -1
- package/dist/components/Drawer.d.ts +18 -0
- package/dist/components/Drawer.js +1 -1
- package/dist/components/DrawerActions.d.ts +18 -0
- package/dist/components/DrawerActions.js +1 -1
- package/dist/components/DrawerBody.d.ts +18 -0
- package/dist/components/DrawerBody.js +1 -1
- package/dist/components/DrawerClose.d.ts +18 -0
- package/dist/components/DrawerClose.js +1 -1
- package/dist/components/DrawerContent.d.ts +18 -0
- package/dist/components/DrawerContent.js +1 -1
- package/dist/components/DrawerDescription.d.ts +18 -0
- package/dist/components/DrawerDescription.js +1 -1
- package/dist/components/DrawerFooter.d.ts +18 -0
- package/dist/components/DrawerFooter.js +1 -1
- package/dist/components/DrawerHeader.d.ts +18 -0
- package/dist/components/DrawerHeader.js +1 -1
- package/dist/components/DrawerTitle.d.ts +18 -0
- package/dist/components/DrawerTitle.js +1 -1
- package/dist/components/DrawerTrigger.d.ts +18 -0
- package/dist/components/DrawerTrigger.js +1 -1
- package/dist/components/DropdownMenu.d.ts +18 -0
- package/dist/components/DropdownMenu.js +1 -1
- package/dist/components/DropdownMenuCheckboxItem.d.ts +18 -0
- package/dist/components/DropdownMenuCheckboxItem.js +1 -1
- package/dist/components/DropdownMenuContent.d.ts +18 -0
- package/dist/components/DropdownMenuContent.js +1 -1
- package/dist/components/DropdownMenuGroup.d.ts +18 -0
- package/dist/components/DropdownMenuGroup.js +1 -1
- package/dist/components/DropdownMenuItem.d.ts +18 -0
- package/dist/components/DropdownMenuItem.js +1 -1
- package/dist/components/DropdownMenuLabel.d.ts +18 -0
- package/dist/components/DropdownMenuLabel.js +1 -1
- package/dist/components/DropdownMenuSeparator.d.ts +18 -0
- package/dist/components/DropdownMenuSeparator.js +1 -1
- package/dist/components/DropdownMenuSub.d.ts +18 -0
- package/dist/components/DropdownMenuSub.js +1 -1
- package/dist/components/DropdownMenuSubContent.d.ts +18 -0
- package/dist/components/DropdownMenuSubContent.js +1 -1
- package/dist/components/DropdownMenuTrigger.d.ts +18 -0
- package/dist/components/DropdownMenuTrigger.js +1 -1
- package/dist/components/EllipsisMenuButton.d.ts +18 -0
- package/dist/components/EllipsisMenuButton.js +1 -1
- package/dist/components/Field.d.ts +18 -0
- package/dist/components/Field.js +1 -1
- package/dist/components/FieldLabel.d.ts +18 -0
- package/dist/components/FieldLabel.js +1 -1
- package/dist/components/Flex.d.ts +18 -0
- package/dist/components/Flex.js +1 -1
- package/dist/components/Grid.d.ts +18 -0
- package/dist/components/Grid.js +1 -1
- package/dist/components/Heading.d.ts +18 -0
- package/dist/components/Heading.js +1 -1
- package/dist/components/Indicator.d.ts +18 -0
- package/dist/components/Indicator.js +1 -1
- package/dist/components/Input.d.ts +18 -0
- package/dist/components/Input.js +1 -1
- package/dist/components/InputAddon.d.ts +18 -0
- package/dist/components/InputAddon.js +1 -1
- package/dist/components/InputControl.d.ts +18 -0
- package/dist/components/InputControl.js +1 -1
- package/dist/components/InputRoot.d.ts +18 -0
- package/dist/components/InputRoot.js +1 -1
- package/dist/components/Kbd.d.ts +18 -0
- package/dist/components/Kbd.js +1 -1
- package/dist/components/Link.d.ts +16 -0
- package/dist/components/Link.js +1 -1
- package/dist/components/Listbox.d.ts +18 -0
- package/dist/components/Listbox.js +1 -1
- package/dist/components/ListboxCheckboxItem.d.ts +18 -0
- package/dist/components/ListboxCheckboxItem.js +1 -1
- package/dist/components/ListboxEmpty.d.ts +18 -0
- package/dist/components/ListboxEmpty.js +1 -1
- package/dist/components/ListboxFooter.d.ts +18 -0
- package/dist/components/ListboxFooter.js +1 -1
- package/dist/components/ListboxGroup.d.ts +18 -0
- package/dist/components/ListboxGroup.js +1 -1
- package/dist/components/ListboxItem.d.ts +18 -0
- package/dist/components/ListboxItem.js +1 -1
- package/dist/components/ListboxItemIndicator.d.ts +18 -0
- package/dist/components/ListboxItemIndicator.js +1 -1
- package/dist/components/ListboxLabel.d.ts +18 -0
- package/dist/components/ListboxLabel.js +1 -1
- package/dist/components/ListboxRadioItem.d.ts +18 -0
- package/dist/components/ListboxRadioItem.js +1 -1
- package/dist/components/ListboxScrollArea.d.ts +18 -0
- package/dist/components/ListboxScrollArea.js +1 -1
- package/dist/components/ListboxSeparator.d.ts +18 -0
- package/dist/components/ListboxSeparator.js +1 -1
- package/dist/components/ModalLayer.d.ts +18 -0
- package/dist/components/ModalLayer.js +1 -1
- package/dist/components/Nav.d.ts +18 -0
- package/dist/components/Nav.js +1 -1
- package/dist/components/NavAccountItem.d.ts +18 -0
- package/dist/components/NavAccountItem.js +1 -1
- package/dist/components/NavBody.d.ts +18 -0
- package/dist/components/NavBody.js +1 -1
- package/dist/components/NavFooter.d.ts +18 -0
- package/dist/components/NavFooter.js +1 -1
- package/dist/components/NavHeader.d.ts +18 -0
- package/dist/components/NavHeader.js +1 -1
- package/dist/components/NavItem.d.ts +18 -0
- package/dist/components/NavItem.js +1 -1
- package/dist/components/NavList.d.ts +18 -0
- package/dist/components/NavList.js +1 -1
- package/dist/components/Pagination.d.ts +18 -0
- package/dist/components/Pagination.js +1 -1
- package/dist/components/Paper.d.ts +18 -0
- package/dist/components/Paper.js +1 -1
- package/dist/components/Popover.d.ts +18 -0
- package/dist/components/Popover.js +1 -1
- package/dist/components/PopoverAnchor.d.ts +18 -0
- package/dist/components/PopoverAnchor.js +1 -1
- package/dist/components/PopoverContent.d.ts +16 -0
- package/dist/components/PopoverContent.js +1 -1
- package/dist/components/PopoverTrigger.d.ts +18 -0
- package/dist/components/PopoverTrigger.js +1 -1
- package/dist/components/Progress.d.ts +18 -0
- package/dist/components/Progress.js +3 -3
- package/dist/components/Radio.d.ts +18 -0
- package/dist/components/Radio.js +1 -1
- package/dist/components/RadioGroup.d.ts +18 -0
- package/dist/components/RadioGroup.js +1 -1
- package/dist/components/SearchInput.d.ts +18 -0
- package/dist/components/SearchInput.js +1 -1
- package/dist/components/SegmentedControl.d.ts +18 -0
- package/dist/components/SegmentedControl.js +1 -1
- package/dist/components/SegmentedControlItem.d.ts +18 -0
- package/dist/components/SegmentedControlItem.js +1 -1
- package/dist/components/Separator.d.ts +18 -0
- package/dist/components/Separator.js +1 -1
- package/dist/components/Sidebar.d.ts +18 -0
- package/dist/components/Sidebar.js +1 -1
- package/dist/components/SidebarToggle.d.ts +18 -0
- package/dist/components/SidebarToggle.js +1 -1
- package/dist/components/Skeleton.d.ts +18 -0
- package/dist/components/Skeleton.js +1 -1
- package/dist/components/Spinner.d.ts +18 -0
- package/dist/components/Spinner.js +1 -1
- package/dist/components/Switch.d.ts +18 -0
- package/dist/components/Switch.js +1 -1
- package/dist/components/Tabs.d.ts +18 -0
- package/dist/components/Tabs.js +1 -1
- package/dist/components/TabsContent.d.ts +18 -0
- package/dist/components/TabsContent.js +1 -1
- package/dist/components/TabsList.d.ts +18 -0
- package/dist/components/TabsList.js +1 -1
- package/dist/components/TabsTrigger.d.ts +18 -0
- package/dist/components/TabsTrigger.js +1 -1
- package/dist/components/Text.d.ts +18 -0
- package/dist/components/Text.js +1 -1
- package/dist/components/Textarea.d.ts +18 -0
- package/dist/components/Textarea.js +1 -1
- package/dist/components/ThemeProvider.d.ts +18 -0
- package/dist/components/ThemeProvider.js +1 -1
- package/dist/components/Toast.d.ts +18 -0
- package/dist/components/Toast.js +1 -1
- package/dist/components/ToastAction.d.ts +18 -0
- package/dist/components/ToastAction.js +1 -1
- package/dist/components/ToastTitle.d.ts +18 -0
- package/dist/components/ToastTitle.js +1 -1
- package/dist/components/ToggleButton.d.ts +18 -0
- package/dist/components/ToggleButton.js +1 -1
- package/dist/components/Tooltip.d.ts +18 -0
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/TooltipContent.d.ts +18 -0
- package/dist/components/TooltipContent.js +1 -1
- package/dist/components/TooltipRoot.d.ts +18 -0
- package/dist/components/TooltipRoot.js +1 -1
- package/dist/components/TooltipTrigger.d.ts +18 -0
- package/dist/components/TooltipTrigger.js +1 -1
- package/dist/components/Transition.d.ts +16 -0
- package/dist/components/Transition.js +1 -1
- package/dist/components/TransitionGroup.d.ts +18 -0
- package/dist/components/TransitionGroup.js +1 -1
- package/dist/conditions-C6zD85Yw.js +1 -0
- package/dist/decorateChildren-btEsE3bT.js +1 -0
- package/dist/{mapping-DCcTSeRK.js → factory-CrL700J2.js} +1 -1
- package/dist/fallbackSpan-CP-p6XG-.js +1 -0
- package/dist/index--u1zvfLX.js +1 -0
- package/dist/index-BDt3HU0G.js +1 -0
- package/dist/index-BWK7xmBg.js +1 -0
- package/dist/index-BeEfm-vg.js +7 -0
- package/dist/index-C-1IzhVn.js +1 -0
- package/dist/index-C-9BXbhb.js +1 -0
- package/dist/index-C4y7x1m8.js +1 -0
- package/dist/index-C6l4fcQm.js +1 -0
- package/dist/index-CN86uDaI.js +1 -0
- package/dist/index-CXbttnWi.js +1 -0
- package/dist/index-CkVYqSA-.js +1 -0
- package/dist/index-CoQ42r9c.js +1 -0
- package/dist/index-DC3-CwRG.js +1 -0
- package/dist/index-DOo5_x5F.js +1 -0
- package/dist/index-DSKQT-J4.js +1 -0
- package/dist/index-DUMvjTeD.js +1 -0
- package/dist/index-DVsJPda-.js +1 -0
- package/dist/index-DXFJDeKK.js +1 -0
- package/dist/index-DZQ8zdeT.js +1 -0
- package/dist/index-Dh7Gzn6-.js +1 -0
- package/dist/index-DnFx6GZA.js +1 -0
- package/dist/index-DsqgNgJV.js +5 -0
- package/dist/index-EQrjCXFe.js +1 -0
- package/dist/index-HNWdSSZ0.js +1 -0
- package/dist/index-_VQ9lSO8.js +1 -0
- package/dist/index.d-BoWVRvQI.d.ts +1948 -0
- package/dist/index.d.ts +1539 -0
- package/dist/index.js +1 -1
- package/dist/layers.css.ts.vanilla-DvUyVLsY-BuMUUA9L.js +1 -0
- package/dist/recipeRuntime-DkvY0ny0.js +1 -0
- package/dist/register-BHSuS38m.js +6 -0
- package/dist/{theme-css-DuoCplUb.js → theme-css-Df2rQXAf.js} +1 -1
- package/dist/useNestedDialogCount-D3lD4WYK.js +1 -0
- package/dist/{vanilla-extract-dynamic.esm-Dn71Dj-C.js → vanilla-extract-dynamic.esm-4GwcXShs.js} +1 -1
- package/dist/{withIcon-BKS18epN.js → withIcon-BEIdOVZ8.js} +1 -1
- package/package.json +128 -4
- package/dist/AlertDialogContext-LD182FXT.js +0 -1
- package/dist/AngleMenuButton-gofEf-53.js +0 -1
- package/dist/Avatar-pCakAbui.js +0 -1
- package/dist/AvatarContext-B67lmqSc.js +0 -1
- package/dist/AvatarGroup.css.ts.vanilla-Df83DDkl-Bg2kXvEs.js +0 -1
- package/dist/Backdrop-B3q3zH1S.js +0 -1
- package/dist/Badge-BDw1UcWW.js +0 -1
- package/dist/Box-CboDxz64.js +0 -1
- package/dist/Button-DwAcKZXq.js +0 -1
- package/dist/Checkbox-DYlIOCQ3.js +0 -1
- package/dist/Combination-Q9k0Ipvl.js +0 -41
- package/dist/DialogContext-CSH7xfL-.js +0 -1
- package/dist/DisclosureContent-C3VIz4-s.js +0 -1
- package/dist/DisclosureContext-CRykyB_x.js +0 -1
- package/dist/DrawerContext-wpiFkzyM.js +0 -1
- package/dist/DropdownMenuContext-VKIjTPEA.js +0 -1
- package/dist/DropdownMenuSubContext-CjQU4hl4.js +0 -1
- package/dist/FieldContext-Dy6r-Xom.js +0 -1
- package/dist/FieldLabel-fmVrQ8Ac.js +0 -1
- package/dist/Heading-DRrJbMcr.js +0 -1
- package/dist/Icon-Chr851GV.js +0 -1
- package/dist/IconAngleDown-D_LHVL9i.js +0 -1
- package/dist/IconAngleRight-DQlkWQM6.js +0 -1
- package/dist/Input-1EQbjtQg.js +0 -1
- package/dist/InputContext-eMtqUBLl.js +0 -1
- package/dist/InputControl-DBp5aJ9e.js +0 -1
- package/dist/InputControl.css.ts.vanilla-vlrSoyZz-DxIXGd47.js +0 -1
- package/dist/InputRoot-Dwh4TU6i.js +0 -1
- package/dist/ListboxGroupContext-BgnvH8GY.js +0 -1
- package/dist/ListboxItem-cuY5AIPV.js +0 -1
- package/dist/ListboxSeparator-BamMPkVH.js +0 -1
- package/dist/MenuListbox-B8ClRz-c.js +0 -1
- package/dist/NavItem-BOnn-jFx.js +0 -1
- package/dist/PopoverContext-CnWOHcVX.js +0 -1
- package/dist/RadioGroupContext-BYAWk823.js +0 -1
- package/dist/SegmentedControlContext-BsVCRNBJ.js +0 -1
- package/dist/Separator-BpP4N4l4.js +0 -1
- package/dist/SidebarContext-BzeC60eZ.js +0 -1
- package/dist/Spinner-ixv73i0o.js +0 -1
- package/dist/Text-BJpirYhW.js +0 -1
- package/dist/ThemeProvider-BfBfJvCn.js +0 -13
- package/dist/Toast-DmgdFfZr.js +0 -1
- package/dist/ToastAction-DTbDLoJ8.js +0 -1
- package/dist/ToastTitle-5KMZldh7.js +0 -1
- package/dist/ToggleInputHiddenInput-Bq4A0BW3.js +0 -1
- package/dist/Tooltip-DHil14ZI.js +0 -1
- package/dist/TooltipContent-dkYSbKEp.js +0 -1
- package/dist/TooltipContext-YJkRk3W1.js +0 -1
- package/dist/TooltipRoot-CWPNCr1z.js +0 -1
- package/dist/TooltipTrigger-Co1gpDGM.js +0 -1
- package/dist/Transition-DnRpXCRy.js +0 -1
- package/dist/TransitionGroup-C5XBpb-C.js +0 -1
- package/dist/conditions-DWRI-XW8.js +0 -1
- package/dist/decorateChildren-CM6lZTxI.js +0 -1
- package/dist/fallbackSpan-idQ-hqIg.js +0 -1
- package/dist/index-AMc3J_fW.js +0 -1
- package/dist/index-B17nq0VQ.js +0 -1
- package/dist/index-B1oI4P_0.js +0 -1
- package/dist/index-B1wfhSdV.js +0 -1
- package/dist/index-BKdaoGmG.js +0 -1
- package/dist/index-C4oeYvIh.js +0 -1
- package/dist/index-C6d6VxeG.js +0 -1
- package/dist/index-CB4WqOaD.js +0 -1
- package/dist/index-CBrz5xtv.js +0 -1
- package/dist/index-COcuWVAA.js +0 -1
- package/dist/index-CcnpY-3I.js +0 -1
- package/dist/index-CjfXd56P.js +0 -1
- package/dist/index-CmR-UYDb.js +0 -1
- package/dist/index-CviWN8h_.js +0 -7
- package/dist/index-Cy4-nUBp.js +0 -1
- package/dist/index-D1mGHTwB.js +0 -1
- package/dist/index-DOswP3xd.js +0 -5
- package/dist/index-DwQkh71N.js +0 -1
- package/dist/index-Dz5VwM1H.js +0 -1
- package/dist/index-HuLa06EI.js +0 -1
- package/dist/index-L0WyqKlI.js +0 -1
- package/dist/index-T_-p3LfM.js +0 -1
- package/dist/index-iXfJv4bp.js +0 -1
- package/dist/index-s0fyfltz.js +0 -1
- package/dist/index-xovvJza3.js +0 -1
- package/dist/layers.css.ts.vanilla-NRNXWe4M-BMEdnqT7.js +0 -1
- package/dist/recipeRuntime-BJlqqWqz.js +0 -1
- package/dist/register-lF4HmaII.js +0 -6
- package/dist/useNestedDialogCount-z8ipMwgV.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$ as t,u as a}from"./register-BHSuS38m.js";import{o as e}from"./Separator-BPs5mvFR.js";const o=t((r,m)=>a(e,{flex:"none",mx:"8",my:"4",ref:m,...r}));o.displayName="@optiaxiom/react/ListboxSeparator";export{o};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as s,$ as d,u as r}from"./register-BHSuS38m.js";import{o as v}from"./Listbox-BIgmedFF.js";import{r as l}from"./Paper-BdXP8lKv.js";import{s as n}from"./Transition-DBVpBrqf.js";import"./layers.css.ts.vanilla-DvUyVLsY-BuMUUA9L.js";import{y as h}from"./recipeRuntime-DkvY0ny0.js";s("@layer optiaxiom.rok3ul;@layer optiaxiom.rok3ul{._140klok{max-height:min(var(--_1ssaxi7),var(--_8jubs0,100vh))}._2b39jm{--_8jubs0:var(--ax-maxSize-xs)}.hsdmto{--_8jubs0:var(--ax-maxSize-sm)}._1s1aitv{--_8jubs0:var(--ax-maxSize-md)}._14i2xhz{--_8jubs0:var(--ax-maxSize-lg)}.xxpfk{min-width:var(--qbxqqz)}.k0qfck{--_1ssaxi7:var(--radix-dropdown-menu-content-available-height);--qbxqqz:var(--radix-dropdown-menu-trigger-width)}.fmgcvu{--_1ssaxi7:var(--radix-popover-content-available-height);--qbxqqz:var(--radix-popover-trigger-width)}._31za3{--_1ssaxi7:var(--radix-popper-available-height);--qbxqqz:var(--radix-popper-anchor-width)}}");var _=h({base:[{maxW:"xs",p:"4"},"_140klok"],variants:{maxH:{xs:"_2b39jm",sm:"hsdmto",md:"_1s1aitv",lg:"_14i2xhz",full:{}},minW:{0:{},trigger:"xxpfk"},provider:{"dropdown-menu":"k0qfck",popover:"fmgcvu",popper:"_31za3"}}});const a=d(({children:i,className:o,maxH:e,minW:m,provider:x="popover",...p},t)=>r(n,{duration:"sm",type:"pop",children:r(l,{asChild:!0,children:r(v,{ref:t,..._({maxH:e,minW:m,provider:x},o),...p,children:i})})}));a.displayName="@optiaxiom/react/MenuListbox";export{a as r};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as b,$ as g,u as e,D as k}from"./register-BHSuS38m.js";import{f as w}from"./index-DVsJPda-.js";import{i as _,o}from"./Box-B_cws1JB.js";import{t as C}from"./Flex-BI_ReZQD.js";import{o as j}from"./Icon-BnvQueQL.js";import{r as I}from"./SidebarContext-DDuiDyw6.js";import{r as $}from"./Text-BjfqQZQy.js";import{i as N}from"./Tooltip-mV12jmvN.js";import"./conditions-C6zD85Yw.js";import{l as z}from"./decorateChildren-btEsE3bT.js";import{a as q}from"./fallbackSpan-CP-p6XG-.js";import"./layers.css.ts.vanilla-DvUyVLsY-BuMUUA9L.js";import"./AvatarGroup.css.ts.vanilla-pvg1PXNv-BCo0qILJ.js";import"./Button-BnESvoMv.js";import{y as n}from"./recipeRuntime-DkvY0ny0.js";b("@layer optiaxiom.rok3ul;@layer optiaxiom.rok3ul{._14fykwd{--_13aykc0:var(--ax-colors-fg-secondary);color:var(--ax-colors-fg-secondary);text-decoration:none;user-select:none}._14fykwd:focus-visible:not([data-disabled]){outline:2px solid var(--ax-colors-border-focus);outline-offset:1px;z-index:10}._14fykwd[data-disabled]{opacity:.32}._14fykwd:active{background-color:var(--ax-colors-bg-default-pressed);color:var(--ax-colors-fg-default)}._14fykwd[data-state=active]{background-color:var(--ax-colors-bg-accent-subtle);color:var(--ax-colors-fg-accent)}._1rx3axp{transition:opacity .25s ease}.ptfqw3{opacity:0}._1wjl0ub{opacity:1}@media (hover:hover){._14fykwd:hover:not([data-state=active]):not(:active){background-color:var(--ax-colors-bg-default-hovered);color:var(--ax-colors-fg-default)}._14fykwd:hover[data-state=active]:not(:active){color:var(--ax-colors-fg-accent-hovered)}}}");var A=n({base:[{alignItems:"center",display:"flex",fontSize:"md",fontWeight:"500",h:"lg",justifyContent:"start",rounded:"md",textAlign:"start",transition:"colors"},"_14fykwd"]}),P=n({base:[{alignItems:"center",display:"flex",flex:"1",gap:"10",justifyContent:"space-between",mr:"10",overflow:"hidden"},"_1rx3axp"],variants:{expanded:{false:"ptfqw3",true:"_1wjl0ub"}}});const f=g(({active:p,addonAfter:r,asChild:t,children:a,className:m,disabled:i,icon:v,...l},x)=>{const u=t?w:"button",{boxProps:h,restProps:y}=_(l),{expanded:d}=I("NavItem");let s=null;return a=z({asChild:t,children:a},c=>(s=c,e(k,{children:[e(o,{display:"grid",flex:"none",placeItems:"center",size:"lg",children:e(j,{asChild:!0,children:v})}),e(o,{...P({expanded:Boolean(d)}),children:[e($,{truncate:!0,children:c}),r&&e(o,{asChild:!0,display:"flex",flex:"none",children:q(r)})]})]}))),e(C,{asChild:!0,children:e("li",{children:e(N,{content:l["aria-label"]||s,disabled:d,side:"right",children:e(o,{asChild:!0,"data-disabled":i?"":void 0,"data-state":p?"active":void 0,...A({},m),...h,children:e(u,{disabled:i,ref:x,...y,children:a})})})})})});f.displayName="@optiaxiom/react/NavItem";export{f as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{$ as t,u as m}from"./register-BHSuS38m.js";import{o as i}from"./Box-B_cws1JB.js";import"./layers.css.ts.vanilla-DvUyVLsY-BuMUUA9L.js";import{y as l}from"./recipeRuntime-DkvY0ny0.js";var n=l({base:{bg:"bg.default",color:"fg.default",shadow:"md",z:"popover"},variants:{elevation:{dialog:{rounded:"lg"},drawer:{},menu:{border:"1",borderColor:"border.secondary",rounded:"lg"}}}});const o=t(({className:r,elevation:e="menu",...a},d)=>m(i,{ref:d,...n({elevation:e},r),...a}));o.displayName="@optiaxiom/react/Paper";export{o as r};
|
|
@@ -0,0 +1,505 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { RefAttributes, ElementType, ComponentPropsWithoutRef, ReactElement } from 'react';
|
|
3
|
+
|
|
4
|
+
type ComponentAttributes<P> = KebabCaseKeys<P> &
|
|
5
|
+
RefAttributes<HTMLElement>;
|
|
6
|
+
|
|
7
|
+
type KebabCase<
|
|
8
|
+
T extends string,
|
|
9
|
+
A extends string = "",
|
|
10
|
+
> = T extends `${infer F}${infer R}`
|
|
11
|
+
? KebabCase<R, `${A}${F extends Lowercase<F> ? "" : "-"}${Lowercase<F>}`>
|
|
12
|
+
: A;
|
|
13
|
+
|
|
14
|
+
type KebabCaseKeys<T> = {
|
|
15
|
+
[K in keyof T as K extends `on${string}`
|
|
16
|
+
? never
|
|
17
|
+
: KebabCase<K & string>]: T[K];
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
declare const NODES: readonly ["a", "button", "div", "form", "h2", "h3", "img", "input", "label", "li", "nav", "ol", "p", "span", "svg", "ul"];
|
|
21
|
+
type Primitives = {
|
|
22
|
+
[E in (typeof NODES)[number]]: PrimitiveForwardRefComponent<E>;
|
|
23
|
+
};
|
|
24
|
+
type PrimitivePropsWithRef<E extends react.ElementType> = react.ComponentPropsWithRef<E> & {
|
|
25
|
+
asChild?: boolean;
|
|
26
|
+
};
|
|
27
|
+
interface PrimitiveForwardRefComponent<E extends react.ElementType> extends react.ForwardRefExoticComponent<PrimitivePropsWithRef<E>> {
|
|
28
|
+
}
|
|
29
|
+
declare const Primitive: Primitives;
|
|
30
|
+
|
|
31
|
+
type PrimitiveDivProps$2 = react.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
32
|
+
interface DismissableLayerProps$2 extends PrimitiveDivProps$2 {
|
|
33
|
+
/**
|
|
34
|
+
* When `true`, hover/focus/click interactions will be disabled on elements outside
|
|
35
|
+
* the `DismissableLayer`. Users will need to click twice on outside elements to
|
|
36
|
+
* interact with them: once to close the `DismissableLayer`, and again to trigger the element.
|
|
37
|
+
*/
|
|
38
|
+
disableOutsidePointerEvents?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Event handler called when the escape key is down.
|
|
41
|
+
* Can be prevented.
|
|
42
|
+
*/
|
|
43
|
+
onEscapeKeyDown?: (event: KeyboardEvent) => void;
|
|
44
|
+
/**
|
|
45
|
+
* Event handler called when the a `pointerdown` event happens outside of the `DismissableLayer`.
|
|
46
|
+
* Can be prevented.
|
|
47
|
+
*/
|
|
48
|
+
onPointerDownOutside?: (event: PointerDownOutsideEvent) => void;
|
|
49
|
+
/**
|
|
50
|
+
* Event handler called when the focus moves outside of the `DismissableLayer`.
|
|
51
|
+
* Can be prevented.
|
|
52
|
+
*/
|
|
53
|
+
onFocusOutside?: (event: FocusOutsideEvent) => void;
|
|
54
|
+
/**
|
|
55
|
+
* Event handler called when an interaction happens outside the `DismissableLayer`.
|
|
56
|
+
* Specifically, when a `pointerdown` event happens outside or focus moves outside of it.
|
|
57
|
+
* Can be prevented.
|
|
58
|
+
*/
|
|
59
|
+
onInteractOutside?: (event: PointerDownOutsideEvent | FocusOutsideEvent) => void;
|
|
60
|
+
/**
|
|
61
|
+
* Handler called when the `DismissableLayer` should be dismissed
|
|
62
|
+
*/
|
|
63
|
+
onDismiss?: () => void;
|
|
64
|
+
}
|
|
65
|
+
declare const DismissableLayer: react.ForwardRefExoticComponent<DismissableLayerProps$2 & react.RefAttributes<HTMLDivElement>>;
|
|
66
|
+
type PointerDownOutsideEvent = CustomEvent<{
|
|
67
|
+
originalEvent: PointerEvent;
|
|
68
|
+
}>;
|
|
69
|
+
type FocusOutsideEvent = CustomEvent<{
|
|
70
|
+
originalEvent: FocusEvent;
|
|
71
|
+
}>;
|
|
72
|
+
declare const Root$1: react.ForwardRefExoticComponent<DismissableLayerProps$2 & react.RefAttributes<HTMLDivElement>>;
|
|
73
|
+
|
|
74
|
+
type PrimitiveDivProps$1 = react.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
75
|
+
interface FocusScopeProps$2 extends PrimitiveDivProps$1 {
|
|
76
|
+
/**
|
|
77
|
+
* When `true`, tabbing from last item will focus first tabbable
|
|
78
|
+
* and shift+tab from first item will focus last tababble.
|
|
79
|
+
* @defaultValue false
|
|
80
|
+
*/
|
|
81
|
+
loop?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* When `true`, focus cannot escape the focus scope via keyboard,
|
|
84
|
+
* pointer, or a programmatic focus.
|
|
85
|
+
* @defaultValue false
|
|
86
|
+
*/
|
|
87
|
+
trapped?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Event handler called when auto-focusing on mount.
|
|
90
|
+
* Can be prevented.
|
|
91
|
+
*/
|
|
92
|
+
onMountAutoFocus?: (event: Event) => void;
|
|
93
|
+
/**
|
|
94
|
+
* Event handler called when auto-focusing on unmount.
|
|
95
|
+
* Can be prevented.
|
|
96
|
+
*/
|
|
97
|
+
onUnmountAutoFocus?: (event: Event) => void;
|
|
98
|
+
}
|
|
99
|
+
declare const FocusScope: react.ForwardRefExoticComponent<FocusScopeProps$2 & react.RefAttributes<HTMLDivElement>>;
|
|
100
|
+
|
|
101
|
+
interface DialogProps {
|
|
102
|
+
children?: react.ReactNode;
|
|
103
|
+
open?: boolean;
|
|
104
|
+
defaultOpen?: boolean;
|
|
105
|
+
onOpenChange?(open: boolean): void;
|
|
106
|
+
modal?: boolean;
|
|
107
|
+
}
|
|
108
|
+
type PrimitiveButtonProps$1 = react.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
109
|
+
interface DialogTriggerProps extends PrimitiveButtonProps$1 {
|
|
110
|
+
}
|
|
111
|
+
interface DialogContentProps$1 extends DialogContentTypeProps {
|
|
112
|
+
/**
|
|
113
|
+
* Used to force mounting when more control is needed. Useful when
|
|
114
|
+
* controlling animation with React animation libraries.
|
|
115
|
+
*/
|
|
116
|
+
forceMount?: true;
|
|
117
|
+
}
|
|
118
|
+
interface DialogContentTypeProps extends Omit<DialogContentImplProps, 'trapFocus' | 'disableOutsidePointerEvents'> {
|
|
119
|
+
}
|
|
120
|
+
type DismissableLayerProps$1 = react.ComponentPropsWithoutRef<typeof DismissableLayer>;
|
|
121
|
+
type FocusScopeProps$1 = react.ComponentPropsWithoutRef<typeof FocusScope>;
|
|
122
|
+
interface DialogContentImplProps extends Omit<DismissableLayerProps$1, 'onDismiss'> {
|
|
123
|
+
/**
|
|
124
|
+
* When `true`, focus cannot escape the `Content` via keyboard,
|
|
125
|
+
* pointer, or a programmatic focus.
|
|
126
|
+
* @defaultValue false
|
|
127
|
+
*/
|
|
128
|
+
trapFocus?: FocusScopeProps$1['trapped'];
|
|
129
|
+
/**
|
|
130
|
+
* Event handler called when auto-focusing on open.
|
|
131
|
+
* Can be prevented.
|
|
132
|
+
*/
|
|
133
|
+
onOpenAutoFocus?: FocusScopeProps$1['onMountAutoFocus'];
|
|
134
|
+
/**
|
|
135
|
+
* Event handler called when auto-focusing on close.
|
|
136
|
+
* Can be prevented.
|
|
137
|
+
*/
|
|
138
|
+
onCloseAutoFocus?: FocusScopeProps$1['onUnmountAutoFocus'];
|
|
139
|
+
}
|
|
140
|
+
type PrimitiveHeading2Props = react.ComponentPropsWithoutRef<typeof Primitive.h2>;
|
|
141
|
+
interface DialogTitleProps extends PrimitiveHeading2Props {
|
|
142
|
+
}
|
|
143
|
+
type PrimitiveParagraphProps = react.ComponentPropsWithoutRef<typeof Primitive.p>;
|
|
144
|
+
interface DialogDescriptionProps extends PrimitiveParagraphProps {
|
|
145
|
+
}
|
|
146
|
+
interface DialogCloseProps extends PrimitiveButtonProps$1 {
|
|
147
|
+
}
|
|
148
|
+
declare const Root: react.FC<DialogProps>;
|
|
149
|
+
declare const Trigger: react.ForwardRefExoticComponent<DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
150
|
+
declare const Content$2: react.ForwardRefExoticComponent<DialogContentProps$1 & react.RefAttributes<HTMLDivElement>>;
|
|
151
|
+
declare const Description: react.ForwardRefExoticComponent<DialogDescriptionProps & react.RefAttributes<HTMLParagraphElement>>;
|
|
152
|
+
declare const Close: react.ForwardRefExoticComponent<DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
153
|
+
|
|
154
|
+
type Measurable = {
|
|
155
|
+
getBoundingClientRect(): ClientRect;
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
declare const SIDE_OPTIONS: readonly ["top", "right", "bottom", "left"];
|
|
159
|
+
declare const ALIGN_OPTIONS: readonly ["start", "center", "end"];
|
|
160
|
+
type Side = (typeof SIDE_OPTIONS)[number];
|
|
161
|
+
type Align = (typeof ALIGN_OPTIONS)[number];
|
|
162
|
+
type PrimitiveDivProps = react.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
163
|
+
interface PopperAnchorProps$1 extends PrimitiveDivProps {
|
|
164
|
+
virtualRef?: react.RefObject<Measurable>;
|
|
165
|
+
}
|
|
166
|
+
type Boundary = Element | null;
|
|
167
|
+
interface PopperContentProps$1 extends PrimitiveDivProps {
|
|
168
|
+
side?: Side;
|
|
169
|
+
sideOffset?: number;
|
|
170
|
+
align?: Align;
|
|
171
|
+
alignOffset?: number;
|
|
172
|
+
arrowPadding?: number;
|
|
173
|
+
avoidCollisions?: boolean;
|
|
174
|
+
collisionBoundary?: Boundary | Boundary[];
|
|
175
|
+
collisionPadding?: number | Partial<Record<Side, number>>;
|
|
176
|
+
sticky?: 'partial' | 'always';
|
|
177
|
+
hideWhenDetached?: boolean;
|
|
178
|
+
updatePositionStrategy?: 'optimized' | 'always';
|
|
179
|
+
onPlaced?: () => void;
|
|
180
|
+
}
|
|
181
|
+
declare const Anchor: react.ForwardRefExoticComponent<PopperAnchorProps$1 & react.RefAttributes<HTMLDivElement>>;
|
|
182
|
+
declare const Content$1: react.ForwardRefExoticComponent<PopperContentProps$1 & react.RefAttributes<HTMLDivElement>>;
|
|
183
|
+
|
|
184
|
+
type PopperAnchorProps = react.ComponentPropsWithoutRef<typeof Anchor>;
|
|
185
|
+
interface PopoverAnchorProps extends PopperAnchorProps {
|
|
186
|
+
}
|
|
187
|
+
type PrimitiveButtonProps = react.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
188
|
+
interface PopoverTriggerProps extends PrimitiveButtonProps {
|
|
189
|
+
}
|
|
190
|
+
interface PopoverContentProps$1 extends PopoverContentTypeProps {
|
|
191
|
+
/**
|
|
192
|
+
* Used to force mounting when more control is needed. Useful when
|
|
193
|
+
* controlling animation with React animation libraries.
|
|
194
|
+
*/
|
|
195
|
+
forceMount?: true;
|
|
196
|
+
}
|
|
197
|
+
interface PopoverContentTypeProps extends Omit<PopoverContentImplProps, 'trapFocus' | 'disableOutsidePointerEvents'> {
|
|
198
|
+
}
|
|
199
|
+
type FocusScopeProps = react.ComponentPropsWithoutRef<typeof FocusScope>;
|
|
200
|
+
type DismissableLayerProps = react.ComponentPropsWithoutRef<typeof DismissableLayer>;
|
|
201
|
+
type PopperContentProps = react.ComponentPropsWithoutRef<typeof Content$1>;
|
|
202
|
+
interface PopoverContentImplProps extends Omit<PopperContentProps, 'onPlaced'>, Omit<DismissableLayerProps, 'onDismiss'> {
|
|
203
|
+
/**
|
|
204
|
+
* Whether focus should be trapped within the `Popover`
|
|
205
|
+
* (default: false)
|
|
206
|
+
*/
|
|
207
|
+
trapFocus?: FocusScopeProps['trapped'];
|
|
208
|
+
/**
|
|
209
|
+
* Event handler called when auto-focusing on open.
|
|
210
|
+
* Can be prevented.
|
|
211
|
+
*/
|
|
212
|
+
onOpenAutoFocus?: FocusScopeProps['onMountAutoFocus'];
|
|
213
|
+
/**
|
|
214
|
+
* Event handler called when auto-focusing on close.
|
|
215
|
+
* Can be prevented.
|
|
216
|
+
*/
|
|
217
|
+
onCloseAutoFocus?: FocusScopeProps['onUnmountAutoFocus'];
|
|
218
|
+
}
|
|
219
|
+
declare const Content: react.ForwardRefExoticComponent<PopoverContentProps$1 & react.RefAttributes<HTMLDivElement>>;
|
|
220
|
+
|
|
221
|
+
type ExcludeProps<P, T extends keyof P> = Omit<P, T>;
|
|
222
|
+
|
|
223
|
+
type ExtendProps<T1, T2> = NonNullable<T2> & Omit<NonNullable<T1>, keyof NonNullable<T1> & keyof NonNullable<T2>>;
|
|
224
|
+
|
|
225
|
+
interface ResponsiveArray<Length extends number, Value> extends ReadonlyArray<Value> {
|
|
226
|
+
0: Value;
|
|
227
|
+
length: Length;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
declare const sprinkles: ((props: {
|
|
231
|
+
animation?: "ping" | "pulse" | "spin" | undefined;
|
|
232
|
+
backgroundColor?: "bg.accent" | "bg.accent.hovered" | "bg.accent.light" | "bg.accent.pressed" | "bg.accent.subtle" | "bg.avatar.neutral" | "bg.avatar.purple" | "bg.default" | "bg.default.hovered" | "bg.default.inverse" | "bg.default.inverse.hovered" | "bg.default.inverse.pressed" | "bg.default.pressed" | "bg.error" | "bg.error.hovered" | "bg.error.light" | "bg.error.pressed" | "bg.error.subtle" | "bg.error.subtlest" | "bg.information" | "bg.information.light" | "bg.information.subtle" | "bg.overlay" | "bg.page" | "bg.secondary" | "bg.secondary.hovered" | "bg.spinner.default" | "bg.spinner.inverse" | "bg.success" | "bg.success.hovered" | "bg.success.light" | "bg.success.subtle" | "bg.tertiary" | "bg.tertiary.hovered" | "bg.warning" | "bg.warning.hovered" | "bg.warning.light" | "bg.warning.subtle" | "transparent" | "current" | undefined;
|
|
233
|
+
borderBottomWidth?: "0" | "2" | "1" | undefined;
|
|
234
|
+
borderColor?: "border.accent" | "border.control" | "border.control.hovered" | "border.default" | "border.disabled" | "border.error" | "border.focus" | "border.focus.error" | "border.secondary" | "border.success" | "border.tertiary" | "border.warning" | "transparent" | "current" | undefined;
|
|
235
|
+
borderLeftWidth?: "0" | "2" | "1" | undefined;
|
|
236
|
+
borderRadius?: "sm" | "md" | "xs" | "lg" | "full" | "inherit" | "none" | undefined;
|
|
237
|
+
borderRightWidth?: "0" | "2" | "1" | undefined;
|
|
238
|
+
borderTopWidth?: "0" | "2" | "1" | undefined;
|
|
239
|
+
boxShadow?: "sm" | "md" | "lg" | "none" | undefined;
|
|
240
|
+
color?: "fg.accent" | "fg.accent.hovered" | "fg.accent.strong" | "fg.avatar.neutral" | "fg.avatar.purple" | "fg.default" | "fg.default.inverse" | "fg.disabled" | "fg.error" | "fg.error.hovered" | "fg.error.light" | "fg.error.strong" | "fg.information" | "fg.information.light" | "fg.information.strong" | "fg.link.default" | "fg.link.default.hovered" | "fg.link.inverse" | "fg.link.subtle" | "fg.link.visited" | "fg.secondary" | "fg.spinner.default" | "fg.spinner.inverse" | "fg.success" | "fg.success.hovered" | "fg.success.light" | "fg.success.strong" | "fg.tertiary" | "fg.warning" | "fg.warning.hovered" | "fg.warning.inverse" | "fg.warning.light" | "fg.warning.strong" | "fg.white" | "transparent" | "current" | undefined;
|
|
241
|
+
cursor?: "pointer" | "default" | "not-allowed" | "text" | undefined;
|
|
242
|
+
empty?: "hidden" | undefined;
|
|
243
|
+
fontFamily?: "mono" | "sans" | undefined;
|
|
244
|
+
fontSize?: "sm" | "md" | "xs" | "lg" | "inherit" | "xl" | "3xl" | "2xl" | "4xl" | undefined;
|
|
245
|
+
fontWeight?: "inherit" | "400" | "500" | "600" | "700" | undefined;
|
|
246
|
+
marginBottom?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | undefined;
|
|
247
|
+
marginLeft?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | undefined;
|
|
248
|
+
marginRight?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | undefined;
|
|
249
|
+
marginTop?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | undefined;
|
|
250
|
+
objectFit?: "none" | "contain" | "cover" | "fill" | undefined;
|
|
251
|
+
overflowX?: "auto" | "hidden" | "visible" | undefined;
|
|
252
|
+
overflowY?: "auto" | "hidden" | "visible" | undefined;
|
|
253
|
+
paddingBottom?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | undefined;
|
|
254
|
+
paddingLeft?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | undefined;
|
|
255
|
+
paddingRight?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | undefined;
|
|
256
|
+
paddingTop?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | undefined;
|
|
257
|
+
pointerEvents?: "auto" | "none" | undefined;
|
|
258
|
+
textAlign?: "center" | "end" | "start" | "justify" | undefined;
|
|
259
|
+
textTransform?: "none" | "capitalize" | "uppercase" | undefined;
|
|
260
|
+
transition?: "opacity" | "transform" | "colors" | "none" | "all" | undefined;
|
|
261
|
+
whiteSpace?: "nowrap" | undefined;
|
|
262
|
+
zIndex?: "0" | "10" | "20" | "auto" | "popover" | "toast" | "tooltip" | "30" | undefined;
|
|
263
|
+
bg?: "bg.accent" | "bg.accent.hovered" | "bg.accent.light" | "bg.accent.pressed" | "bg.accent.subtle" | "bg.avatar.neutral" | "bg.avatar.purple" | "bg.default" | "bg.default.hovered" | "bg.default.inverse" | "bg.default.inverse.hovered" | "bg.default.inverse.pressed" | "bg.default.pressed" | "bg.error" | "bg.error.hovered" | "bg.error.light" | "bg.error.pressed" | "bg.error.subtle" | "bg.error.subtlest" | "bg.information" | "bg.information.light" | "bg.information.subtle" | "bg.overlay" | "bg.page" | "bg.secondary" | "bg.secondary.hovered" | "bg.spinner.default" | "bg.spinner.inverse" | "bg.success" | "bg.success.hovered" | "bg.success.light" | "bg.success.subtle" | "bg.tertiary" | "bg.tertiary.hovered" | "bg.warning" | "bg.warning.hovered" | "bg.warning.light" | "bg.warning.subtle" | "transparent" | "current" | undefined;
|
|
264
|
+
border?: "0" | "2" | "1" | undefined;
|
|
265
|
+
borderB?: "0" | "2" | "1" | undefined;
|
|
266
|
+
borderL?: "0" | "2" | "1" | undefined;
|
|
267
|
+
borderR?: "0" | "2" | "1" | undefined;
|
|
268
|
+
borderT?: "0" | "2" | "1" | undefined;
|
|
269
|
+
m?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | undefined;
|
|
270
|
+
mx?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | undefined;
|
|
271
|
+
my?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | undefined;
|
|
272
|
+
mb?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | undefined;
|
|
273
|
+
ml?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | undefined;
|
|
274
|
+
mr?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | undefined;
|
|
275
|
+
mt?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | undefined;
|
|
276
|
+
overflow?: "auto" | "hidden" | "visible" | undefined;
|
|
277
|
+
p?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | undefined;
|
|
278
|
+
px?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | undefined;
|
|
279
|
+
py?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | undefined;
|
|
280
|
+
pb?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | undefined;
|
|
281
|
+
pl?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | undefined;
|
|
282
|
+
pr?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | undefined;
|
|
283
|
+
pt?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | undefined;
|
|
284
|
+
rounded?: "sm" | "md" | "xs" | "lg" | "full" | "inherit" | "none" | undefined;
|
|
285
|
+
shadow?: "sm" | "md" | "lg" | "none" | undefined;
|
|
286
|
+
z?: "0" | "10" | "20" | "auto" | "popover" | "toast" | "tooltip" | "30" | undefined;
|
|
287
|
+
} & {
|
|
288
|
+
alignItems?: ("center" | "end" | "start" | "normal" | "space-around" | "space-between" | "space-evenly" | "stretch" | {
|
|
289
|
+
readonly base?: "center" | "end" | "start" | "normal" | "space-around" | "space-between" | "space-evenly" | "stretch" | undefined;
|
|
290
|
+
readonly sm?: "center" | "end" | "start" | "normal" | "space-around" | "space-between" | "space-evenly" | "stretch" | undefined;
|
|
291
|
+
readonly md?: "center" | "end" | "start" | "normal" | "space-around" | "space-between" | "space-evenly" | "stretch" | undefined;
|
|
292
|
+
} | undefined) | ResponsiveArray<2 | 1 | 3, "center" | "end" | "start" | "normal" | "space-around" | "space-between" | "space-evenly" | "stretch" | null>;
|
|
293
|
+
alignSelf?: ("center" | "end" | "start" | "normal" | "stretch" | {
|
|
294
|
+
readonly base?: "center" | "end" | "start" | "normal" | "stretch" | undefined;
|
|
295
|
+
readonly sm?: "center" | "end" | "start" | "normal" | "stretch" | undefined;
|
|
296
|
+
readonly md?: "center" | "end" | "start" | "normal" | "stretch" | undefined;
|
|
297
|
+
} | undefined) | ResponsiveArray<2 | 1 | 3, "center" | "end" | "start" | "normal" | "stretch" | null>;
|
|
298
|
+
display?: ("table" | "none" | "flex" | "grid" | "block" | "inline" | "inline-block" | "inline-flex" | "table-cell" | "table-row" | {
|
|
299
|
+
readonly base?: "table" | "none" | "flex" | "grid" | "block" | "inline" | "inline-block" | "inline-flex" | "table-cell" | "table-row" | undefined;
|
|
300
|
+
readonly sm?: "table" | "none" | "flex" | "grid" | "block" | "inline" | "inline-block" | "inline-flex" | "table-cell" | "table-row" | undefined;
|
|
301
|
+
readonly md?: "table" | "none" | "flex" | "grid" | "block" | "inline" | "inline-block" | "inline-flex" | "table-cell" | "table-row" | undefined;
|
|
302
|
+
} | undefined) | ResponsiveArray<2 | 1 | 3, "table" | "none" | "flex" | "grid" | "block" | "inline" | "inline-block" | "inline-flex" | "table-cell" | "table-row" | null>;
|
|
303
|
+
flex?: ("auto" | "1" | "none" | "initial" | {
|
|
304
|
+
readonly base?: "auto" | "1" | "none" | "initial" | undefined;
|
|
305
|
+
readonly sm?: "auto" | "1" | "none" | "initial" | undefined;
|
|
306
|
+
readonly md?: "auto" | "1" | "none" | "initial" | undefined;
|
|
307
|
+
} | undefined) | ResponsiveArray<2 | 1 | 3, "auto" | "1" | "none" | "initial" | null>;
|
|
308
|
+
flexDirection?: ("column" | "column-reverse" | "row" | "row-reverse" | {
|
|
309
|
+
readonly base?: "column" | "column-reverse" | "row" | "row-reverse" | undefined;
|
|
310
|
+
readonly sm?: "column" | "column-reverse" | "row" | "row-reverse" | undefined;
|
|
311
|
+
readonly md?: "column" | "column-reverse" | "row" | "row-reverse" | undefined;
|
|
312
|
+
} | undefined) | ResponsiveArray<2 | 1 | 3, "column" | "column-reverse" | "row" | "row-reverse" | null>;
|
|
313
|
+
flexWrap?: ("nowrap" | "wrap" | {
|
|
314
|
+
readonly base?: "nowrap" | "wrap" | undefined;
|
|
315
|
+
readonly sm?: "nowrap" | "wrap" | undefined;
|
|
316
|
+
readonly md?: "nowrap" | "wrap" | undefined;
|
|
317
|
+
} | undefined) | ResponsiveArray<2 | 1 | 3, "nowrap" | "wrap" | null>;
|
|
318
|
+
gap?: ("0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | {
|
|
319
|
+
readonly base?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | undefined;
|
|
320
|
+
readonly sm?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | undefined;
|
|
321
|
+
readonly md?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | undefined;
|
|
322
|
+
} | undefined) | ResponsiveArray<2 | 1 | 3, "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | null>;
|
|
323
|
+
gridColumn?: ("2" | "4" | "1" | "3" | {
|
|
324
|
+
readonly base?: "2" | "4" | "1" | "3" | undefined;
|
|
325
|
+
readonly sm?: "2" | "4" | "1" | "3" | undefined;
|
|
326
|
+
readonly md?: "2" | "4" | "1" | "3" | undefined;
|
|
327
|
+
} | undefined) | ResponsiveArray<2 | 1 | 3, "2" | "4" | "1" | "3" | null>;
|
|
328
|
+
gridTemplateColumns?: ("2" | "4" | "1" | "3" | {
|
|
329
|
+
readonly base?: "2" | "4" | "1" | "3" | undefined;
|
|
330
|
+
readonly sm?: "2" | "4" | "1" | "3" | undefined;
|
|
331
|
+
readonly md?: "2" | "4" | "1" | "3" | undefined;
|
|
332
|
+
} | undefined) | ResponsiveArray<2 | 1 | 3, "2" | "4" | "1" | "3" | null>;
|
|
333
|
+
height?: ("sm" | "md" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "xs" | "lg" | "full" | "2xs" | "xl" | "3xl" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | {
|
|
334
|
+
readonly base?: "sm" | "md" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "xs" | "lg" | "full" | "2xs" | "xl" | "3xl" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | undefined;
|
|
335
|
+
readonly sm?: "sm" | "md" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "xs" | "lg" | "full" | "2xs" | "xl" | "3xl" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | undefined;
|
|
336
|
+
readonly md?: "sm" | "md" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "xs" | "lg" | "full" | "2xs" | "xl" | "3xl" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | undefined;
|
|
337
|
+
} | undefined) | ResponsiveArray<2 | 1 | 3, "sm" | "md" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "xs" | "lg" | "full" | "2xs" | "xl" | "3xl" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | null>;
|
|
338
|
+
justifyContent?: ("center" | "end" | "start" | "normal" | "space-around" | "space-between" | "space-evenly" | "stretch" | {
|
|
339
|
+
readonly base?: "center" | "end" | "start" | "normal" | "space-around" | "space-between" | "space-evenly" | "stretch" | undefined;
|
|
340
|
+
readonly sm?: "center" | "end" | "start" | "normal" | "space-around" | "space-between" | "space-evenly" | "stretch" | undefined;
|
|
341
|
+
readonly md?: "center" | "end" | "start" | "normal" | "space-around" | "space-between" | "space-evenly" | "stretch" | undefined;
|
|
342
|
+
} | undefined) | ResponsiveArray<2 | 1 | 3, "center" | "end" | "start" | "normal" | "space-around" | "space-between" | "space-evenly" | "stretch" | null>;
|
|
343
|
+
justifyItems?: ("center" | "end" | "start" | "normal" | "stretch" | {
|
|
344
|
+
readonly base?: "center" | "end" | "start" | "normal" | "stretch" | undefined;
|
|
345
|
+
readonly sm?: "center" | "end" | "start" | "normal" | "stretch" | undefined;
|
|
346
|
+
readonly md?: "center" | "end" | "start" | "normal" | "stretch" | undefined;
|
|
347
|
+
} | undefined) | ResponsiveArray<2 | 1 | 3, "center" | "end" | "start" | "normal" | "stretch" | null>;
|
|
348
|
+
maxHeight?: ("sm" | "md" | "xs" | "lg" | "full" | {
|
|
349
|
+
readonly base?: "sm" | "md" | "xs" | "lg" | "full" | undefined;
|
|
350
|
+
readonly sm?: "sm" | "md" | "xs" | "lg" | "full" | undefined;
|
|
351
|
+
readonly md?: "sm" | "md" | "xs" | "lg" | "full" | undefined;
|
|
352
|
+
} | undefined) | ResponsiveArray<2 | 1 | 3, "sm" | "md" | "xs" | "lg" | "full" | null>;
|
|
353
|
+
maxWidth?: ("sm" | "md" | "xs" | "lg" | "full" | {
|
|
354
|
+
readonly base?: "sm" | "md" | "xs" | "lg" | "full" | undefined;
|
|
355
|
+
readonly sm?: "sm" | "md" | "xs" | "lg" | "full" | undefined;
|
|
356
|
+
readonly md?: "sm" | "md" | "xs" | "lg" | "full" | undefined;
|
|
357
|
+
} | undefined) | ResponsiveArray<2 | 1 | 3, "sm" | "md" | "xs" | "lg" | "full" | null>;
|
|
358
|
+
placeItems?: ("center" | {
|
|
359
|
+
readonly base?: "center" | undefined;
|
|
360
|
+
readonly sm?: "center" | undefined;
|
|
361
|
+
readonly md?: "center" | undefined;
|
|
362
|
+
} | undefined) | ResponsiveArray<2 | 1 | 3, "center" | null>;
|
|
363
|
+
width?: ("sm" | "md" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "xs" | "lg" | "full" | "2xs" | "xl" | "3xl" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | {
|
|
364
|
+
readonly base?: "sm" | "md" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "xs" | "lg" | "full" | "2xs" | "xl" | "3xl" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | undefined;
|
|
365
|
+
readonly sm?: "sm" | "md" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "xs" | "lg" | "full" | "2xs" | "xl" | "3xl" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | undefined;
|
|
366
|
+
readonly md?: "sm" | "md" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "xs" | "lg" | "full" | "2xs" | "xl" | "3xl" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | undefined;
|
|
367
|
+
} | undefined) | ResponsiveArray<2 | 1 | 3, "sm" | "md" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "xs" | "lg" | "full" | "2xs" | "xl" | "3xl" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | null>;
|
|
368
|
+
maxH?: ("sm" | "md" | "xs" | "lg" | "full" | {
|
|
369
|
+
readonly base?: "sm" | "md" | "xs" | "lg" | "full" | undefined;
|
|
370
|
+
readonly sm?: "sm" | "md" | "xs" | "lg" | "full" | undefined;
|
|
371
|
+
readonly md?: "sm" | "md" | "xs" | "lg" | "full" | undefined;
|
|
372
|
+
} | undefined) | ResponsiveArray<2 | 1 | 3, "sm" | "md" | "xs" | "lg" | "full" | null>;
|
|
373
|
+
maxW?: ("sm" | "md" | "xs" | "lg" | "full" | {
|
|
374
|
+
readonly base?: "sm" | "md" | "xs" | "lg" | "full" | undefined;
|
|
375
|
+
readonly sm?: "sm" | "md" | "xs" | "lg" | "full" | undefined;
|
|
376
|
+
readonly md?: "sm" | "md" | "xs" | "lg" | "full" | undefined;
|
|
377
|
+
} | undefined) | ResponsiveArray<2 | 1 | 3, "sm" | "md" | "xs" | "lg" | "full" | null>;
|
|
378
|
+
size?: ("sm" | "md" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "xs" | "lg" | "full" | "2xs" | "xl" | "3xl" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | {
|
|
379
|
+
readonly base?: "sm" | "md" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "xs" | "lg" | "full" | "2xs" | "xl" | "3xl" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | undefined;
|
|
380
|
+
readonly sm?: "sm" | "md" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "xs" | "lg" | "full" | "2xs" | "xl" | "3xl" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | undefined;
|
|
381
|
+
readonly md?: "sm" | "md" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "xs" | "lg" | "full" | "2xs" | "xl" | "3xl" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | undefined;
|
|
382
|
+
} | undefined) | ResponsiveArray<2 | 1 | 3, "sm" | "md" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "xs" | "lg" | "full" | "2xs" | "xl" | "3xl" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | null>;
|
|
383
|
+
h?: ("sm" | "md" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "xs" | "lg" | "full" | "2xs" | "xl" | "3xl" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | {
|
|
384
|
+
readonly base?: "sm" | "md" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "xs" | "lg" | "full" | "2xs" | "xl" | "3xl" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | undefined;
|
|
385
|
+
readonly sm?: "sm" | "md" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "xs" | "lg" | "full" | "2xs" | "xl" | "3xl" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | undefined;
|
|
386
|
+
readonly md?: "sm" | "md" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "xs" | "lg" | "full" | "2xs" | "xl" | "3xl" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | undefined;
|
|
387
|
+
} | undefined) | ResponsiveArray<2 | 1 | 3, "sm" | "md" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "xs" | "lg" | "full" | "2xs" | "xl" | "3xl" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | null>;
|
|
388
|
+
w?: ("sm" | "md" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "xs" | "lg" | "full" | "2xs" | "xl" | "3xl" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | {
|
|
389
|
+
readonly base?: "sm" | "md" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "xs" | "lg" | "full" | "2xs" | "xl" | "3xl" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | undefined;
|
|
390
|
+
readonly sm?: "sm" | "md" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "xs" | "lg" | "full" | "2xs" | "xl" | "3xl" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | undefined;
|
|
391
|
+
readonly md?: "sm" | "md" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "xs" | "lg" | "full" | "2xs" | "xl" | "3xl" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | undefined;
|
|
392
|
+
} | undefined) | ResponsiveArray<2 | 1 | 3, "sm" | "md" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | "xs" | "lg" | "full" | "2xs" | "xl" | "3xl" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | null>;
|
|
393
|
+
}) => string) & {
|
|
394
|
+
properties: Set<"p" | "borderRadius" | "boxShadow" | "fontFamily" | "fontSize" | "size" | "zIndex" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderTopWidth" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "animation" | "backgroundColor" | "borderColor" | "color" | "cursor" | "empty" | "fontWeight" | "objectFit" | "overflowX" | "overflowY" | "pointerEvents" | "textAlign" | "textTransform" | "transition" | "whiteSpace" | "bg" | "border" | "borderB" | "borderL" | "borderR" | "borderT" | "m" | "mx" | "my" | "mb" | "ml" | "mr" | "mt" | "overflow" | "px" | "py" | "pb" | "pl" | "pr" | "pt" | "rounded" | "shadow" | "z" | "gap" | "height" | "maxHeight" | "maxWidth" | "width" | "alignItems" | "alignSelf" | "display" | "flex" | "flexDirection" | "flexWrap" | "gridColumn" | "gridTemplateColumns" | "justifyContent" | "justifyItems" | "placeItems" | "maxH" | "maxW" | "h" | "w">;
|
|
395
|
+
};
|
|
396
|
+
type Sprinkles = Omit<Parameters<typeof sprinkles>[0], LonghandProps>;
|
|
397
|
+
type LonghandProps = keyof Pick<Parameters<typeof sprinkles>[0], "backgroundColor" | "borderBottomWidth" | "borderLeftWidth" | "borderRadius" | "borderRightWidth" | "borderTopWidth" | "boxShadow" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "width" | "zIndex">;
|
|
398
|
+
|
|
399
|
+
type BoxProps<T extends ElementType = "div", P = unknown> = ExtendProps<ComponentPropsWithoutRef<T>, ExtendProps<Sprinkles & {
|
|
400
|
+
/**
|
|
401
|
+
* Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
402
|
+
*
|
|
403
|
+
* Read the {@link https://optimizely-axiom.github.io/optiaxiom/components/#composition Composition guide} for more details.
|
|
404
|
+
*/
|
|
405
|
+
asChild?: boolean;
|
|
406
|
+
className?: string;
|
|
407
|
+
}, P>>;
|
|
408
|
+
declare const Box: react.ForwardRefExoticComponent<Omit<NonNullable<Sprinkles & {
|
|
409
|
+
/**
|
|
410
|
+
* Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
411
|
+
*
|
|
412
|
+
* Read the {@link https://optimizely-axiom.github.io/optiaxiom/components/#composition Composition guide} for more details.
|
|
413
|
+
*/
|
|
414
|
+
asChild?: boolean;
|
|
415
|
+
className?: string;
|
|
416
|
+
}>, never> & Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "color" | "className"> & react.RefAttributes<HTMLDivElement>>;
|
|
417
|
+
|
|
418
|
+
type RecipeVariants<RecipeFn extends (...args: any) => any> = Parameters<RecipeFn>[0];
|
|
419
|
+
|
|
420
|
+
declare const Checkbox: react.ForwardRefExoticComponent<Pick<Omit<{
|
|
421
|
+
description?: react.ReactNode;
|
|
422
|
+
} & Omit<NonNullable<Sprinkles & {
|
|
423
|
+
asChild?: boolean;
|
|
424
|
+
className?: string;
|
|
425
|
+
}>, never> & Omit<Omit<{
|
|
426
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
427
|
+
} & Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, never> & react.RefAttributes<HTMLInputElement>, "ref">, "size" | "color" | "className"> & react.RefAttributes<HTMLInputElement>, "ref">, "description"> & Pick<Omit<{
|
|
428
|
+
indeterminate?: boolean;
|
|
429
|
+
shift?: boolean;
|
|
430
|
+
} & Omit<NonNullable<Sprinkles & {
|
|
431
|
+
asChild?: boolean;
|
|
432
|
+
className?: string;
|
|
433
|
+
}>, never> & Omit<Omit<Omit<NonNullable<Sprinkles & {
|
|
434
|
+
asChild?: boolean;
|
|
435
|
+
className?: string;
|
|
436
|
+
}>, never> & Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "color" | "className"> & react.RefAttributes<HTMLDivElement>, "ref">, "asChild" | "p" | "fontFamily" | "fontSize" | "size" | "animation" | "borderColor" | "color" | "cursor" | "empty" | "fontWeight" | "objectFit" | "overflowX" | "overflowY" | "pointerEvents" | "textAlign" | "textTransform" | "transition" | "whiteSpace" | "bg" | "border" | "borderB" | "borderL" | "borderR" | "borderT" | "m" | "mx" | "my" | "mb" | "ml" | "mr" | "mt" | "overflow" | "px" | "py" | "pb" | "pl" | "pr" | "pt" | "rounded" | "shadow" | "z" | "gap" | "alignItems" | "alignSelf" | "display" | "flex" | "flexDirection" | "flexWrap" | "gridColumn" | "gridTemplateColumns" | "justifyContent" | "justifyItems" | "placeItems" | "maxH" | "maxW" | "h" | "w" | "className"> & react.RefAttributes<HTMLInputElement>, "ref">, "indeterminate"> & Omit<NonNullable<Sprinkles & {
|
|
437
|
+
asChild?: boolean;
|
|
438
|
+
className?: string;
|
|
439
|
+
}>, never> & Omit<Omit<{
|
|
440
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
441
|
+
} & Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, never> & react.RefAttributes<HTMLInputElement>, "ref">, "size" | "color" | "className"> & react.RefAttributes<HTMLInputElement>>;
|
|
442
|
+
|
|
443
|
+
declare const Transition: react.ForwardRefExoticComponent<{
|
|
444
|
+
duration?: "sm" | "md" | "lg" | undefined;
|
|
445
|
+
type?: "pop" | "fade" | "slide" | "slidePop" | undefined;
|
|
446
|
+
} & {
|
|
447
|
+
children: ReactElement;
|
|
448
|
+
"data-side"?: "bottom" | "left" | "right" | "top";
|
|
449
|
+
skipAnimations?: boolean;
|
|
450
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
451
|
+
|
|
452
|
+
declare const content: (props?: {
|
|
453
|
+
size?: "sm" | "md" | "lg" | "fullscreen" | undefined;
|
|
454
|
+
} | undefined, className?: string) => {
|
|
455
|
+
className: string;
|
|
456
|
+
};
|
|
457
|
+
type DialogVariants = RecipeVariants<typeof content>;
|
|
458
|
+
|
|
459
|
+
type DialogContentProps = ExcludeProps<BoxProps<typeof Content$2, DialogVariants & {
|
|
460
|
+
transitionType?: ComponentPropsWithoutRef<typeof Transition>["type"];
|
|
461
|
+
}>, "forceMount">;
|
|
462
|
+
declare const DialogContent: react.ForwardRefExoticComponent<DialogContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
463
|
+
|
|
464
|
+
declare const MenuListbox: react.ForwardRefExoticComponent<{
|
|
465
|
+
maxH?: "sm" | "md" | "xs" | "lg" | "full" | undefined;
|
|
466
|
+
minW?: "0" | "trigger" | undefined;
|
|
467
|
+
provider?: "popover" | "dropdown-menu" | "popper" | undefined;
|
|
468
|
+
} & Omit<NonNullable<Sprinkles & {
|
|
469
|
+
asChild?: boolean;
|
|
470
|
+
className?: string;
|
|
471
|
+
}>, "maxH"> & Omit<Omit<Omit<NonNullable<Sprinkles & {
|
|
472
|
+
asChild?: boolean;
|
|
473
|
+
className?: string;
|
|
474
|
+
}>, never> & Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "color" | "className"> & react.RefAttributes<HTMLDivElement>, "ref">, "asChild" | "p" | "fontFamily" | "fontSize" | "size" | "animation" | "borderColor" | "color" | "cursor" | "empty" | "fontWeight" | "objectFit" | "overflowX" | "overflowY" | "pointerEvents" | "textAlign" | "textTransform" | "transition" | "whiteSpace" | "bg" | "border" | "borderB" | "borderL" | "borderR" | "borderT" | "m" | "mx" | "my" | "mb" | "ml" | "mr" | "mt" | "overflow" | "px" | "py" | "pb" | "pl" | "pr" | "pt" | "rounded" | "shadow" | "z" | "gap" | "alignItems" | "alignSelf" | "display" | "flex" | "flexDirection" | "flexWrap" | "gridColumn" | "gridTemplateColumns" | "justifyContent" | "justifyItems" | "placeItems" | "maxH" | "maxW" | "h" | "w" | "className"> & react.RefAttributes<HTMLDivElement>>;
|
|
475
|
+
|
|
476
|
+
declare const Link: react.ForwardRefExoticComponent<Pick<Omit<{
|
|
477
|
+
overlay?: boolean | undefined;
|
|
478
|
+
} & Omit<NonNullable<Sprinkles & {
|
|
479
|
+
asChild?: boolean;
|
|
480
|
+
className?: string;
|
|
481
|
+
}>, never> & Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "color" | "className"> & react.RefAttributes<HTMLDivElement>, "ref">, "overlay"> & {
|
|
482
|
+
appearance?: "default" | "subtle" | "inverse" | undefined;
|
|
483
|
+
} & {
|
|
484
|
+
/**
|
|
485
|
+
* Whether to show disabled state and disable interactions.
|
|
486
|
+
*/
|
|
487
|
+
disabled?: boolean;
|
|
488
|
+
/**
|
|
489
|
+
* Show an external link icon and sets the correct rel/target attributes.
|
|
490
|
+
*/
|
|
491
|
+
external?: boolean;
|
|
492
|
+
} & Omit<NonNullable<Sprinkles & {
|
|
493
|
+
asChild?: boolean;
|
|
494
|
+
className?: string;
|
|
495
|
+
}>, never> & Omit<Omit<react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref">, "color" | "className"> & react.RefAttributes<HTMLAnchorElement>>;
|
|
496
|
+
|
|
497
|
+
type PopoverContentProps = ExcludeProps<BoxProps<typeof Content, Pick<ComponentPropsWithoutRef<typeof MenuListbox>, "maxH" | "minW"> & {
|
|
498
|
+
/**
|
|
499
|
+
* Whether to show an arrow.
|
|
500
|
+
*/
|
|
501
|
+
withArrow?: boolean;
|
|
502
|
+
}>, "alignOffset" | "arrowPadding" | "avoidCollisions" | "collisionBoundary" | "collisionPadding" | "forceMount" | "hideWhenDetached" | "sticky" | "updatePositionStrategy">;
|
|
503
|
+
declare const PopoverContent: react.ForwardRefExoticComponent<PopoverContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
504
|
+
|
|
505
|
+
export { Box as B, type ComponentAttributes as C, DialogContent as D, type ExcludeProps as E, FocusScope as F, Link as L, MenuListbox as M, PopoverContent as P, Root$1 as R, type Sprinkles as S, Transition as T, Checkbox as a, Primitive as b, Close as c, Description as d, Content$2 as e, Trigger as f, Content$1 as g, DismissableLayer as h, type BoxProps as i, type RecipeVariants as j, type ExtendProps as k, type DialogCloseProps as l, type DialogTriggerProps as m, Root as n, type DialogContentProps$1 as o, type DialogDescriptionProps as p, type DialogTitleProps as q, type ResponsiveArray as r, type PopoverAnchorProps as s, type PopoverTriggerProps as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{P as o}from"./index-DC3-CwRG.js";const[r,t]=o("Popover");export{r as e,t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{P as o}from"./index-DC3-CwRG.js";const[r,t]=o("RadioGroup",null);export{t as e,r as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{L as u,u as t}from"./register-BHSuS38m.js";import{l as k,P as D}from"./index-DC3-CwRG.js";import{t as h}from"./index-Dh7Gzn6-.js";import{e as _,a as N,b as P,i as V}from"./index-BDt3HU0G.js";import{r as x}from"./index-DSKQT-J4.js";import{v as b}from"./index-C-9BXbhb.js";var f="ToggleGroup",[C,Q]=k(f,[_]),G=_(),m=u.forwardRef((e,r)=>{const{type:l,...a}=e;if(l==="single")return t(A,{...a,ref:r});if(l==="multiple")return t(F,{...a,ref:r});throw new Error(`Missing prop \`type\` expected on \`${f}\``)});m.displayName=f;var[w,y]=C(f),A=u.forwardRef((e,r)=>{const{value:l,defaultValue:a,onValueChange:n=()=>{},...i}=e,[s,o]=b({prop:l,defaultProp:a,onChange:n});return t(w,{scope:e.__scopeToggleGroup,type:"single",value:s?[s]:[],onItemActivate:o,onItemDeactivate:u.useCallback(()=>o(""),[o]),children:t(T,{...i,ref:r})})}),F=u.forwardRef((e,r)=>{const{value:l,defaultValue:a,onValueChange:n=()=>{},...i}=e,[s=[],o]=b({prop:l,defaultProp:a,onChange:n}),p=u.useCallback(d=>o((c=[])=>[...c,d]),[o]),v=u.useCallback(d=>o((c=[])=>c.filter(I=>I!==d)),[o]);return t(w,{scope:e.__scopeToggleGroup,type:"multiple",value:s,onItemActivate:p,onItemDeactivate:v,children:t(T,{...i,ref:r})})});m.displayName=f;var[E,L]=C(f),T=u.forwardRef((e,r)=>{const{__scopeToggleGroup:l,disabled:a=!1,rovingFocus:n=!0,orientation:i,dir:s,loop:o=!0,...p}=e,v=G(l),d=N(s),c={role:"group",dir:d,...p};return t(E,{scope:l,rovingFocus:n,disabled:a,children:n?t(P,{asChild:!0,...v,orientation:i,dir:d,loop:o,children:t(h.div,{...c,ref:r})}):t(h.div,{...c,ref:r})})}),g="ToggleGroupItem",$=u.forwardRef((e,r)=>{const l=y(g,e.__scopeToggleGroup),a=L(g,e.__scopeToggleGroup),n=G(e.__scopeToggleGroup),i=l.value.includes(e.value),s=a.disabled||e.disabled,o={...e,pressed:i,disabled:s},p=u.useRef(null);return a.rovingFocus?t(V,{asChild:!0,...n,focusable:!s,active:i,ref:p,children:t(R,{...o,ref:r})}):t(R,{...o,ref:r})});$.displayName=g;var R=u.forwardRef((e,r)=>{const{__scopeToggleGroup:l,value:a,...n}=e,i=y(g,l),s={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},o=i.type==="single"?s:void 0;return t(x,{...o,...n,ref:r,onPressedChange:p=>{p?i.onItemActivate(a):i.onItemDeactivate(a)}})}),M=m,B=$;const[S,j]=D("SegmentedControl");export{B,M as k,j as o,S as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$ as n,u as a,i as m}from"./register-BHSuS38m.js";import{t as c}from"./index-Dh7Gzn6-.js";import{a as f,c as b,o as u}from"./Box-B_cws1JB.js";import"./layers.css.ts.vanilla-DvUyVLsY-BuMUUA9L.js";import{y as w}from"./recipeRuntime-DkvY0ny0.js";var y="Separator",d="horizontal",v=["horizontal","vertical"],s=n((t,o)=>{const{decorative:e,orientation:r=d,...p}=t,i=x(r)?r:d,h=e?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return a(c.div,{"data-orientation":i,...h,...p,ref:o})});s.displayName=y;function x(t){return v.includes(t)}var g=s;m("@layer optiaxiom.rok3ul;@layer optiaxiom.rok3ul{._1q6rf33{border-left-width:0;border-top-width:1px;width:auto}.pntkmp{align-self:stretch;border-left-width:1px;border-top-width:0;height:auto}@media screen and (min-width:37.5rem){.lrylxe{border-left-width:0;border-top-width:1px;width:auto}._1yntbew{align-self:stretch;border-left-width:1px;border-top-width:0;height:auto}}@media screen and (min-width:56.25rem){.ljdfo1{border-left-width:0;border-top-width:1px;width:auto}.bho9ji{align-self:stretch;border-left-width:1px;border-top-width:0;height:auto}}}");var j=w({base:{borderColor:"border.secondary"}}),k=f(function(){var t={conditions:{defaultCondition:"base",conditionNames:["sm","md","base"],responsiveArray:["base","sm","md"]},styles:{orientation:{values:{horizontal:{conditions:{sm:"lrylxe",md:"ljdfo1",base:"_1q6rf33"},defaultClass:"_1q6rf33"},vertical:{conditions:{sm:"_1yntbew",md:"bho9ji",base:"pntkmp"},defaultClass:"pntkmp"}},responsiveArray:void 0}}};return t.styles.orientation.responsiveArray=t.conditions.responsiveArray,t}());const l=n(({className:t,orientation:o="horizontal",...e},r)=>a(u,{asChild:!0,ref:r,...j({},b(k({orientation:o}),t)),...e,children:a(g,{})}));l.displayName="@optiaxiom/react/Separator";export{l as o};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{P as r}from"./index-DC3-CwRG.js";const[o,t]=r("Sidebar");export{t as r,o as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as s,$ as c,u as r}from"./register-BHSuS38m.js";import{o as e}from"./Box-B_cws1JB.js";import{t as p}from"./Flex-BI_ReZQD.js";import"./layers.css.ts.vanilla-DvUyVLsY-BuMUUA9L.js";import{y as d}from"./recipeRuntime-DkvY0ny0.js";s("@layer optiaxiom.rok3ul;@layer optiaxiom.rok3ul{.bjzhm9{color:var(--ax-colors-bg-spinner-default)}.aru97{color:var(--ax-colors-bg-spinner-inverse)}}");var m=d({variants:{appearance:{default:"bjzhm9",inverse:"aru97"}}});const h={default:"fg.spinner.default",inverse:"fg.spinner.inverse"},a=c(({appearance:i="default",children:o,size:t="md",...n},l)=>r(p,{alignItems:"center","aria-label":"Loading",display:"inline-flex",ref:l,role:"status",...n,children:[r(e,{animation:"spin",asChild:!0,size:t,children:r("svg",{fill:"none",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",children:[r(e,{asChild:!0,...m({appearance:i}),children:r("circle",{cx:"8",cy:"8",r:"7",stroke:"currentColor",strokeOpacity:"0.04",strokeWidth:"1.5"})}),r(e,{asChild:!0,color:h[i],children:r("path",{d:"M4.5 1.93782C5.45668 1.38549 6.53049 1.06741 7.63365 1.00959C8.73681 0.951779 9.83799 1.15587 10.8472 1.60518C11.8563 2.05449 12.7448 2.73627 13.44 3.59476C14.1352 4.45325 14.6174 5.46408 14.847 6.54462",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5"})})]})}),o]}));a.displayName="@optiaxiom/react/Spinner";export{a as o};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as c,$ as s,u as a}from"./register-BHSuS38m.js";import{f as v}from"./index-DVsJPda-.js";import{o as u}from"./Box-B_cws1JB.js";import"./layers.css.ts.vanilla-DvUyVLsY-BuMUUA9L.js";import{y as x}from"./recipeRuntime-DkvY0ny0.js";c("@layer optiaxiom.rok3ul;@layer optiaxiom.rok3ul{._1c93ix0{text-overflow:ellipsis}._6h33i2{display:-webkit-box;-webkit-box-orient:vertical}._9luwzq{-webkit-line-clamp:1}.seyqhe{-webkit-line-clamp:2}._106x2ob{-webkit-line-clamp:3}.quavgq{-webkit-line-clamp:4}}");var _=x(function(){var i={base:{fontSize:"md"},variants:{lineClamp:{1:[{overflow:"hidden"},"_1c93ix0","_6h33i2","_9luwzq"],2:[void 0,"_1c93ix0","_6h33i2","seyqhe"],3:[void 0,"_1c93ix0","_6h33i2","_106x2ob"],4:[void 0,"_1c93ix0","_6h33i2","quavgq"]},truncate:{true:[void 0,"_1c93ix0",{whiteSpace:"nowrap"}]}}};return i.variants.lineClamp[2][0]=i.variants.lineClamp[1][0],i.variants.lineClamp[3][0]=i.variants.lineClamp[1][0],i.variants.lineClamp[4][0]=i.variants.lineClamp[1][0],i.variants.truncate.true[0]=i.variants.lineClamp[1][0],i}());const e=s(({asChild:i,children:t,className:l,lineClamp:r,truncate:n,...o},m)=>{const p=i?v:"p";return a(u,{asChild:!0,ref:m,..._({lineClamp:r,truncate:n},l),...o,children:a(p,{children:t})})});e.displayName="@optiaxiom/react/Text";export{e as r};
|