@optiaxiom/web-components 0.8.2 → 0.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/ListboxSwitchItem/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/ActionsRoot.css.ts.vanilla-BHTi0xxJ-808VPyY6.js +1 -0
- package/dist/AlertDialogContext-CsOYKMEx.js +1 -0
- package/dist/AngleMenuButton-C1-3_he7.js +1 -0
- package/dist/Avatar-CHGTut-G.js +1 -0
- package/dist/AvatarContext-DHOQSHy2.js +1 -0
- package/dist/Backdrop-DM94pr0F.js +1 -0
- package/dist/Badge-Ba_L2aDo.js +1 -0
- package/dist/Box-BxAZP5q3.js +1 -0
- package/dist/Button-ftT4E1lc.js +1 -0
- package/dist/ButtonContext-CF1HO9kK.js +1 -0
- package/dist/Checkbox-CTzTFk8E.js +1 -0
- package/dist/Combination-BQz_BH21.js +41 -0
- package/dist/Cover-B7yhaUSP.js +1 -0
- package/dist/DialogContext-DFxdQV7o.js +1 -0
- package/dist/DisclosureContext-BSS2tL5c.js +1 -0
- package/dist/DrawerContext-MD6W7l9L.js +1 -0
- package/dist/DropdownMenuContext-BEZTBQr1.js +1 -0
- package/dist/DropdownMenuSubContext-C-biYrrL.js +1 -0
- package/dist/FieldContext-Dag4W6jY.js +1 -0
- package/dist/FieldLabel-r48NLE59.js +1 -0
- package/dist/{Flex-DMsMMoyn.js → Flex-Cm25gfK2.js} +1 -1
- package/dist/Heading-DNj7Apwd.js +1 -0
- package/dist/Icon-BLGrXUYC.js +1 -0
- package/dist/IconAngleRight-BcJHQIRh.js +1 -0
- package/dist/{IconCircleInfoSolid-BxILgda7.js → IconCircleInfoSolid-C-FPcq4c.js} +1 -1
- package/dist/{IconEllipsis-Coum3Hmg.js → IconEllipsis-j6wjEsPA.js} +1 -1
- package/dist/{IconTriangleExclamationSolid-Burg1gPh.js → IconTriangleExclamationSolid-DGnEhJxm.js} +1 -1
- package/dist/{IconX-Bx75MKRQ.js → IconX--vPwsouf.js} +1 -1
- package/dist/Input-pH22rzd_.js +1 -0
- package/dist/{InputAddon-D2Jy02dg.js → InputAddon-DbL0ZIKs.js} +1 -1
- package/dist/InputContext-BLlC0mNx.js +1 -0
- package/dist/InputControl-BA1gZivg.js +1 -0
- package/dist/InputControl.css.ts.vanilla-BMrlqp3V-Chza_U6M.js +1 -0
- package/dist/InputRoot-B7paFXpY.js +1 -0
- package/dist/{Listbox-DffQcdEa.js → Listbox-CY-5hFEY.js} +1 -1
- package/dist/ListboxGroupContext-Bhn981z2.js +1 -0
- package/dist/ListboxItem-CS91gGkY.js +1 -0
- package/dist/{ListboxItemIndicator-7EXTB_cu.js → ListboxItemIndicator-SMmFc90q.js} +1 -1
- package/dist/ListboxSeparator-DHbLT7St.js +1 -0
- package/dist/ListboxSwitchItem-C-7x3umV.js +1 -0
- package/dist/MenuListbox-iCC8XCHb.js +1 -0
- package/dist/NavItem-D8RjvPhy.js +1 -0
- package/dist/{Paper-DtRRGffO.js → Paper-CKZcs-Dj.js} +1 -1
- package/dist/PopoverContent-DN8fEhvU.d-foC7hqlj.d.ts +505 -0
- package/dist/PopoverContext-CDD91aj8.js +1 -0
- package/dist/RadioGroupContext-CfTVQ6RT.js +1 -0
- package/dist/SegmentedControlContext-Npzr_gtz.js +1 -0
- package/dist/Separator-DHR6n-eq.js +1 -0
- package/dist/SidebarContext-BU1PRlDa.js +1 -0
- package/dist/Spinner-CkrA8Zp5.js +1 -0
- package/dist/Switch-ycp5f8aV.js +1 -0
- package/dist/Text-wDUDacJp.js +1 -0
- package/dist/ThemeProvider-thyccLHB.js +13 -0
- package/dist/Toast-Bvt_GEBz.js +1 -0
- package/dist/ToastAction-DkUZ1GR0.js +1 -0
- package/dist/ToastTitle-BorspqWA.js +1 -0
- package/dist/ToggleInputHiddenInput-VimOfJ6b.js +1 -0
- package/dist/Tooltip-pYY6bYzu.js +1 -0
- package/dist/TooltipContent-D1iE131q.js +1 -0
- package/dist/TooltipContext-BCkMWimB.js +1 -0
- package/dist/TooltipRoot-CF-Q0L4y.js +1 -0
- package/dist/TooltipTrigger-BlUpM3qW.js +1 -0
- package/dist/Transition-Dx_wLQHU.js +1 -0
- package/dist/TransitionGroup-BNrzTcOF.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/ListboxSwitchItem.d.ts +18 -0
- package/dist/components/ListboxSwitchItem.js +1 -0
- 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-MIJg7YDH.js +1 -0
- package/dist/decorateChildren-DwT4b8LK.js +1 -0
- package/dist/factory-jWsWBOG3.js +1 -0
- package/dist/fallbackSpan-C00NzLp6.js +1 -0
- package/dist/index-BHQPVLaU.js +1 -0
- package/dist/index-BNEj9aBJ.js +5 -0
- package/dist/index-BVdWvZui.js +1 -0
- package/dist/index-Bi_HnHjw.js +1 -0
- package/dist/index-BoVo0wjS.js +1 -0
- package/dist/index-Box_SiMg.js +1 -0
- package/dist/index-CPrCjOeA.js +1 -0
- package/dist/index-CRWQTRFw.js +1 -0
- package/dist/index-CkLQ3Mzx.js +1 -0
- package/dist/index-CuahE2cr.js +1 -0
- package/dist/index-Cur5DOKI.js +1 -0
- package/dist/index-D2xRrzJR.js +1 -0
- package/dist/index-DFaTeg96.js +7 -0
- package/dist/index-DMKpiOYW.js +1 -0
- package/dist/index-DXFJDeKK.js +1 -0
- package/dist/index-DY_JVKcG.js +1 -0
- package/dist/index-DZeZJhiY.js +1 -0
- package/dist/index-Dpvu5xqH.js +1 -0
- package/dist/index-FOztFWCh.js +1 -0
- package/dist/index-RxKnZQN0.js +1 -0
- package/dist/index-chmtZcw3.js +1 -0
- package/dist/index-hD22Vy9W.js +1 -0
- package/dist/index-lV0VqqMH.js +1 -0
- package/dist/index-qK3JjYUM.js +1 -0
- package/dist/index-zV5oXDh0.js +1 -0
- package/dist/index.d-BFnL_eUl.d.ts +1964 -0
- package/dist/index.d.ts +1552 -0
- package/dist/index.js +1 -1
- package/dist/layers.css.ts.vanilla-BapI6-Q5-CQN-7f-t.js +1 -0
- package/dist/recipeRuntime-DkvY0ny0.js +1 -0
- package/dist/register-CNODxtve.js +6 -0
- package/dist/{theme-css-DuoCplUb.js → theme-css-B61lyqMB.js} +1 -1
- package/dist/useNestedDialogCount-CMXGpczB.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-BMt1PH14.js} +1 -1
- package/package.json +11 -9
- 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/ListboxCheckboxItem-CfcWdgmB.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/mapping-DCcTSeRK.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-CNODxtve.js";import{o as e}from"./Separator-DHR6n-eq.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{$ as a,u as o}from"./register-CNODxtve.js";import{t as m}from"./Flex-Cm25gfK2.js";import{o as c}from"./Icon-BLGrXUYC.js";import{s as d}from"./ListboxItem-CS91gGkY.js";import{e as p}from"./Switch-ycp5f8aV.js";const i=a(({addonBefore:t,icon:r,...e},n)=>o(d,{addonBefore:o(m,{flexDirection:"row",gap:"8",children:[o(p,{checked:Boolean(e[e.role==="option"?"aria-selected":"aria-checked"]),pointerEvents:"none",tabIndex:-1}),t||(r?o(c,{asChild:!0,children:r}):null)]}),ref:n,...e}));i.displayName="@optiaxiom/react/ListboxSwitchItem";export{i};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as x,$ as v,u as r}from"./register-CNODxtve.js";import{o as d}from"./Listbox-CY-5hFEY.js";import{r as l}from"./Paper-CKZcs-Dj.js";import{s as n}from"./Transition-Dx_wLQHU.js";import"./layers.css.ts.vanilla-BapI6-Q5-CQN-7f-t.js";import{y as k}from"./recipeRuntime-DkvY0ny0.js";x("@layer optiaxiom._1c60kh6;@layer optiaxiom._1c60kh6{.g013z9{max-height:min(var(--_1khhtp),var(--khxkfr,100vh))}._1ya7x1i{--khxkfr:var(--ax-maxSize-xs)}.joqeum{--khxkfr:var(--ax-maxSize-sm)}._80v9qb{--khxkfr:var(--ax-maxSize-md)}._1a1hntl{--khxkfr:var(--ax-maxSize-lg)}.kvumqa{min-width:var(--iz69fz)}.wygoly{--_1khhtp:var(--radix-dropdown-menu-content-available-height);--iz69fz:var(--radix-dropdown-menu-trigger-width)}._1rcerap{--_1khhtp:var(--radix-popover-content-available-height);--iz69fz:var(--radix-popover-trigger-width)}._1ubkxcl{--_1khhtp:var(--radix-popper-available-height);--iz69fz:var(--radix-popper-anchor-width)}}");var c=k({base:[{maxW:"xs",p:"4"},"g013z9"],variants:{maxH:{xs:"_1ya7x1i",sm:"joqeum",md:"_80v9qb",lg:"_1a1hntl",full:{}},minW:{0:{},trigger:"kvumqa"},provider:{"dropdown-menu":"wygoly",popover:"_1rcerap",popper:"_1ubkxcl"}}});const a=v(({children:i,className:o,maxH:e,minW:p,provider:m="popover",...t},h)=>r(n,{duration:"sm",type:"pop",children:r(l,{asChild:!0,children:r(d,{ref:h,...c({maxH:e,minW:p,provider:m},o),...t,children:i})})}));a.displayName="@optiaxiom/react/MenuListbox";export{a as r};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as g,$ as y,u as a,D as C}from"./register-CNODxtve.js";import{f as k}from"./index-lV0VqqMH.js";import{i as _,o}from"./Box-BxAZP5q3.js";import{t as I}from"./Flex-Cm25gfK2.js";import{o as $}from"./Icon-BLGrXUYC.js";import{r as N}from"./SidebarContext-BU1PRlDa.js";import{r as j}from"./Text-wDUDacJp.js";import{i as z}from"./Tooltip-pYY6bYzu.js";import"./conditions-MIJg7YDH.js";import{l as w}from"./decorateChildren-DwT4b8LK.js";import{a as A}from"./fallbackSpan-C00NzLp6.js";import"./layers.css.ts.vanilla-BapI6-Q5-CQN-7f-t.js";import"./ActionsRoot.css.ts.vanilla-BHTi0xxJ-808VPyY6.js";import"./Button-ftT4E1lc.js";import{y as n}from"./recipeRuntime-DkvY0ny0.js";g("@layer optiaxiom._1c60kh6;@layer optiaxiom._1c60kh6{.pc636a{--oq90t:var(--ax-colors-fg-secondary);color:var(--ax-colors-fg-secondary);text-decoration:none;user-select:none}.pc636a:focus-visible:not([data-disabled]){outline:2px solid var(--ax-colors-border-focus);outline-offset:1px;z-index:10}.pc636a[data-disabled]{opacity:.32}.pc636a:active{background-color:var(--ax-colors-bg-default-pressed);color:var(--ax-colors-fg-default)}.pc636a[data-state=active]{background-color:var(--ax-colors-bg-accent-subtle);color:var(--ax-colors-fg-accent)}._8fkods{transition:opacity var(--ax-duration-md) ease}._11roum4{opacity:0}.oh3tb6{opacity:1}@media (hover:hover){.pc636a:hover:not([data-state=active]):not(:active){background-color:var(--ax-colors-bg-default-hovered);color:var(--ax-colors-fg-default)}.pc636a:hover[data-state=active]:not(:active){color:var(--ax-colors-fg-accent-hovered)}}}");var P=n({base:[{alignItems:"center",display:"flex",fontSize:"md",fontWeight:"500",h:"lg",justifyContent:"start",rounded:"md",textAlign:"start",transition:"colors"},"pc636a"]}),S=n({base:[{alignItems:"center",display:"flex",flex:"1",gap:"10",justifyContent:"space-between",mr:"10",overflow:"hidden"},"_8fkods"],variants:{expanded:{false:"_11roum4",true:"oh3tb6"}}});const p=y(({active:f,addonAfter:r,asChild:t,children:e,className:m,disabled:i,icon:v,...l},h)=>{const u=t?k:"button",{boxProps:x,restProps:b}=_(l),{expanded:c}=N("NavItem");let d=null;return e=w({asChild:t,children:e},s=>(d=s,a(C,{children:[a(o,{display:"grid",flex:"none",placeItems:"center",size:"lg",children:a($,{asChild:!0,children:v})}),a(o,{...S({expanded:Boolean(c)}),children:[a(j,{truncate:!0,children:s}),r&&a(o,{asChild:!0,display:"flex",flex:"none",children:A(r)})]})]}))),a(I,{asChild:!0,children:a("li",{children:a(z,{content:l["aria-label"]||d,disabled:c,side:"right",children:a(o,{asChild:!0,"data-disabled":i?"":void 0,"data-state":f?"active":void 0,...P({},m),...x,children:a(u,{disabled:i,ref:h,...b,children:e})})})})})});p.displayName="@optiaxiom/react/NavItem";export{p as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{$ as t,u as m}from"./register-CNODxtve.js";import{o as i}from"./Box-BxAZP5q3.js";import"./layers.css.ts.vanilla-BapI6-Q5-CQN-7f-t.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" | "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" | "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" | "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" | "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" | "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" | "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" | "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" | "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" | "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" | "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" | "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" | "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" | "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" | "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" | "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" | "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" | "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" | "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" | "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" | "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" | "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" | "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" | "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" | "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" | "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-CuahE2cr.js";const[r,t]=o("Popover");export{r as e,t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{P as o}from"./index-CuahE2cr.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-CNODxtve.js";import{l as k,P as D}from"./index-CuahE2cr.js";import{t as h}from"./index-CkLQ3Mzx.js";import{e as _,a as N,b as P,i as V}from"./index-BHQPVLaU.js";import{r as x}from"./index-zV5oXDh0.js";import{v as b}from"./index-FOztFWCh.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 d,u as a,i as p}from"./register-CNODxtve.js";import{t as b}from"./index-CkLQ3Mzx.js";import{a as c,c as f,o as v}from"./Box-BxAZP5q3.js";import"./layers.css.ts.vanilla-BapI6-Q5-CQN-7f-t.js";import{y as u}from"./recipeRuntime-DkvY0ny0.js";var w="Separator",s="horizontal",x=["horizontal","vertical"],n=d((t,r)=>{const{decorative:e,orientation:o=s,...h}=t,i=y(o)?o:s,m=e?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return a(b.div,{"data-orientation":i,...m,...h,ref:r})});n.displayName=w;function y(t){return x.includes(t)}var g=n;p("@layer optiaxiom._1c60kh6;@layer optiaxiom._1c60kh6{._5bepgr{border-left-width:0;border-top-width:1px;width:auto}.jbjm0b{align-self:stretch;border-left-width:1px;border-top-width:0;height:auto}@media screen and (min-width:37.5rem){._197bxa1{border-left-width:0;border-top-width:1px;width:auto}.ofxsfm{align-self:stretch;border-left-width:1px;border-top-width:0;height:auto}}@media screen and (min-width:56.25rem){.hpl740{border-left-width:0;border-top-width:1px;width:auto}.dv2bxv{align-self:stretch;border-left-width:1px;border-top-width:0;height:auto}}}");var j=u({base:{borderColor:"border.secondary"}}),_=c(function(){var t={conditions:{defaultCondition:"base",conditionNames:["sm","md","base"],responsiveArray:["base","sm","md"]},styles:{orientation:{values:{horizontal:{conditions:{sm:"_197bxa1",md:"hpl740",base:"_5bepgr"},defaultClass:"_5bepgr"},vertical:{conditions:{sm:"ofxsfm",md:"dv2bxv",base:"jbjm0b"},defaultClass:"jbjm0b"}},responsiveArray:void 0}}};return t.styles.orientation.responsiveArray=t.conditions.responsiveArray,t}());const l=d(({className:t,orientation:r="horizontal",...e},o)=>a(v,{asChild:!0,ref:o,...j({},f(_({orientation:r}),t)),...e,children:a(g,{})}));l.displayName="@optiaxiom/react/Separator";export{l as o};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{P as r}from"./index-CuahE2cr.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 e}from"./register-CNODxtve.js";import{o as r}from"./Box-BxAZP5q3.js";import{t as p}from"./Flex-Cm25gfK2.js";import"./layers.css.ts.vanilla-BapI6-Q5-CQN-7f-t.js";import{y as d}from"./recipeRuntime-DkvY0ny0.js";s("@layer optiaxiom._1c60kh6;@layer optiaxiom._1c60kh6{.emuj6z{color:var(--ax-colors-bg-spinner-default)}.zfpdv6{color:var(--ax-colors-bg-spinner-inverse)}}");var m=d({variants:{appearance:{default:"emuj6z",inverse:"zfpdv6"}}});const h={default:"fg.spinner.default",inverse:"fg.spinner.inverse"},o=c(({appearance:i="default",children:a,size:t="md",...n},l)=>e(p,{alignItems:"center","aria-label":"Loading",display:"inline-flex",ref:l,role:"status",...n,children:[e(r,{animation:"spin",asChild:!0,size:t,children:e("svg",{fill:"none",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",children:[e(r,{asChild:!0,...m({appearance:i}),children:e("circle",{cx:"8",cy:"8",r:"7",stroke:"currentColor",strokeOpacity:"0.04",strokeWidth:"1.5"})}),e(r,{asChild:!0,color:h[i],children:e("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"})})]})}),a]}));o.displayName="@optiaxiom/react/Spinner";export{o};
|