@lotte-innovate/ui-component-test 0.1.49 → 0.1.51
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/lib/Typography/Header/index.d.ts +13 -0
- package/dist/cjs/lib/Typography/Header/index.js +55 -0
- package/dist/cjs/lib/Typography/Text/index.d.ts +15 -0
- package/dist/cjs/lib/Typography/Text/index.js +44 -0
- package/dist/cjs/lib/Typography/index.d.ts +2 -0
- package/dist/cjs/lib/color/alpha.d.ts +784 -0
- package/dist/cjs/lib/color/constants.d.ts +29 -0
- package/dist/cjs/lib/color/dark.d.ts +392 -0
- package/dist/cjs/lib/color/krdsColors.d.ts +309 -0
- package/dist/cjs/lib/color/light.d.ts +392 -0
- package/dist/cjs/lib/components/Accordion/index.d.ts +22 -0
- package/dist/cjs/lib/components/Accordion/index.js +64 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogAction.d.ts +14 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogAction.js +61 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogCancel.d.ts +13 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogCancel.js +60 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogContent.d.ts +11 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogContent.js +51 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogDescription.d.ts +10 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogDescription.js +47 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogRoot.d.ts +16 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogRoot.js +46 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogTitle.d.ts +10 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogTitle.js +47 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogTrigger.d.ts +17 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogTrigger.js +55 -0
- package/dist/cjs/lib/components/AlertDialog/index.d.ts +11 -0
- package/dist/cjs/lib/components/AlertDialog/index.js +17 -0
- package/dist/cjs/lib/components/AspectRatio/index.d.ts +10 -0
- package/dist/cjs/lib/components/AspectRatio/index.js +42 -0
- package/dist/cjs/lib/components/Avatar/index.d.ts +21 -0
- package/dist/cjs/lib/components/Avatar/index.js +58 -0
- package/dist/cjs/lib/components/Badge/index.d.ts +18 -0
- package/dist/cjs/lib/components/Badge/index.js +54 -0
- package/dist/cjs/lib/components/BarChart/index.d.ts +38 -0
- package/dist/cjs/lib/components/BarChart/index.js +63 -0
- package/dist/cjs/lib/components/BubbleChart/index.d.ts +29 -0
- package/dist/cjs/lib/components/BubbleChart/index.js +73 -0
- package/dist/cjs/lib/components/Button/index.d.ts +16 -0
- package/dist/cjs/lib/components/Button/index.js +56 -0
- package/dist/cjs/lib/components/Callout/CalloutIcon.d.ts +13 -0
- package/dist/cjs/lib/components/Callout/CalloutIcon.js +57 -0
- package/dist/cjs/lib/components/Callout/CalloutRoot.d.ts +18 -0
- package/dist/cjs/lib/components/Callout/CalloutRoot.js +72 -0
- package/dist/cjs/lib/components/Callout/CalloutText.d.ts +10 -0
- package/dist/cjs/lib/components/Callout/CalloutText.js +52 -0
- package/dist/cjs/lib/components/Callout/index.d.ts +7 -0
- package/dist/cjs/lib/components/Callout/index.js +9 -0
- package/dist/cjs/lib/components/Card/index.d.ts +14 -0
- package/dist/cjs/lib/components/Card/index.js +64 -0
- package/dist/cjs/lib/components/Checkbox/index.d.ts +17 -0
- package/dist/cjs/lib/components/Checkbox/index.js +89 -0
- package/dist/cjs/lib/components/CheckboxCard/index.d.ts +20 -0
- package/dist/cjs/lib/components/CheckboxCard/index.js +58 -0
- package/dist/cjs/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +5 -0
- package/dist/cjs/lib/components/CheckboxGroup/CheckboxGroupItem.js +33 -0
- package/dist/cjs/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +17 -0
- package/dist/cjs/lib/components/CheckboxGroup/CheckboxGroupRoot.js +34 -0
- package/dist/cjs/lib/components/CheckboxGroup/index.d.ts +6 -0
- package/dist/cjs/lib/components/CheckboxGroup/index.js +4 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuCheckboxItem.d.ts +4 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuCheckboxItem.js +42 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuContent.d.ts +11 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuContent.js +56 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuGroup.d.ts +4 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuGroup.js +30 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuItem.d.ts +13 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuItem.js +59 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +10 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuItemIndicator.js +50 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuLabel.d.ts +11 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuLabel.js +48 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuRadioGroup.d.ts +8 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuRadioGroup.js +31 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuRadioItem.d.ts +4 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuRadioItem.js +44 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuRoot.d.ts +13 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuRoot.js +42 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuSeparator.d.ts +3 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuSeparator.js +31 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuSubContent.d.ts +11 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuSubContent.js +54 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuSubTrigger.d.ts +4 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuSubTrigger.js +40 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuTrigger.d.ts +4 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuTrigger.js +31 -0
- package/dist/cjs/lib/components/ContextMenu/index.d.ts +17 -0
- package/dist/cjs/lib/components/ContextMenu/index.js +29 -0
- package/dist/cjs/lib/components/DataList/DataListItem.d.ts +9 -0
- package/dist/cjs/lib/components/DataList/DataListItem.js +43 -0
- package/dist/cjs/lib/components/DataList/DataListLabel.d.ts +10 -0
- package/dist/cjs/lib/components/DataList/DataListLabel.js +49 -0
- package/dist/cjs/lib/components/DataList/DataListRoot.d.ts +14 -0
- package/dist/cjs/lib/components/DataList/DataListRoot.js +54 -0
- package/dist/cjs/lib/components/DataList/DataListValue.d.ts +11 -0
- package/dist/cjs/lib/components/DataList/DataListValue.js +51 -0
- package/dist/cjs/lib/components/DataList/index.d.ts +8 -0
- package/dist/cjs/lib/components/DataList/index.js +6 -0
- package/dist/cjs/lib/components/Dialog/DialogAction.d.ts +13 -0
- package/dist/cjs/lib/components/Dialog/DialogAction.js +59 -0
- package/dist/cjs/lib/components/Dialog/DialogCancel.d.ts +11 -0
- package/dist/cjs/lib/components/Dialog/DialogCancel.js +55 -0
- package/dist/cjs/lib/components/Dialog/DialogContent.d.ts +11 -0
- package/dist/cjs/lib/components/Dialog/DialogContent.js +57 -0
- package/dist/cjs/lib/components/Dialog/DialogDescription.d.ts +9 -0
- package/dist/cjs/lib/components/Dialog/DialogDescription.js +47 -0
- package/dist/cjs/lib/components/Dialog/DialogRoot.d.ts +15 -0
- package/dist/cjs/lib/components/Dialog/DialogRoot.js +37 -0
- package/dist/cjs/lib/components/Dialog/DialogSlot.d.ts +9 -0
- package/dist/cjs/lib/components/Dialog/DialogSlot.js +46 -0
- package/dist/cjs/lib/components/Dialog/DialogTitle.d.ts +11 -0
- package/dist/cjs/lib/components/Dialog/DialogTitle.js +47 -0
- package/dist/cjs/lib/components/Dialog/DialogTrigger.d.ts +3 -0
- package/dist/cjs/lib/components/Dialog/DialogTrigger.js +30 -0
- package/dist/cjs/lib/components/Dialog/index.d.ts +15 -0
- package/dist/cjs/lib/components/Dialog/index.js +19 -0
- package/dist/cjs/lib/components/DoughnutChart/index.d.ts +23 -0
- package/dist/cjs/lib/components/DoughnutChart/index.js +65 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdonMenuRadioGroup.d.ts +3 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdonMenuRadioGroup.js +30 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +11 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdonMenuSubContent.js +60 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +7 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +41 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuContent.d.ts +11 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuContent.js +56 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuItem.d.ts +15 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuItem.js +58 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +10 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +48 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuLable.d.ts +10 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuLable.js +45 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuRadioItem.d.ts +6 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuRadioItem.js +41 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +15 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuRoot.js +38 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuSeparator.d.ts +3 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuSeparator.js +31 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuSub.d.ts +3 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuSub.js +30 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuSubTrigger.d.ts +4 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +40 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +14 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuTrigger.js +53 -0
- package/dist/cjs/lib/components/DropdownMenu/index.d.ts +20 -0
- package/dist/cjs/lib/components/DropdownMenu/index.js +29 -0
- package/dist/cjs/lib/components/HoverCard/HoverCardContent.d.ts +14 -0
- package/dist/cjs/lib/components/HoverCard/HoverCardContent.js +61 -0
- package/dist/cjs/lib/components/HoverCard/HoverCardRoot.d.ts +11 -0
- package/dist/cjs/lib/components/HoverCard/HoverCardRoot.js +38 -0
- package/dist/cjs/lib/components/HoverCard/HoverCardTrigger.d.ts +3 -0
- package/dist/cjs/lib/components/HoverCard/HoverCardTrigger.js +30 -0
- package/dist/cjs/lib/components/HoverCard/index.d.ts +10 -0
- package/dist/cjs/lib/components/HoverCard/index.js +9 -0
- package/dist/cjs/lib/components/IconButton/index.d.ts +15 -0
- package/dist/cjs/lib/components/IconButton/index.js +63 -0
- package/dist/cjs/lib/components/Inset/index.d.ts +10 -0
- package/dist/cjs/lib/components/Inset/index.js +50 -0
- package/dist/cjs/lib/components/Label/index.d.ts +17 -0
- package/dist/cjs/lib/components/Label/index.js +53 -0
- package/dist/cjs/lib/components/LineChart/index.d.ts +44 -0
- package/dist/cjs/lib/components/LineChart/index.js +61 -0
- package/dist/cjs/lib/components/Menubar/MenubarCheckboxItem.d.ts +4 -0
- package/dist/cjs/lib/components/Menubar/MenubarCheckboxItem.js +38 -0
- package/dist/cjs/lib/components/Menubar/MenubarContent.d.ts +11 -0
- package/dist/cjs/lib/components/Menubar/MenubarContent.js +60 -0
- package/dist/cjs/lib/components/Menubar/MenubarItem.d.ts +13 -0
- package/dist/cjs/lib/components/Menubar/MenubarItem.js +54 -0
- package/dist/cjs/lib/components/Menubar/MenubarItemIndicator.d.ts +10 -0
- package/dist/cjs/lib/components/Menubar/MenubarItemIndicator.js +49 -0
- package/dist/cjs/lib/components/Menubar/MenubarMenu.d.ts +5 -0
- package/dist/cjs/lib/components/Menubar/MenubarMenu.js +30 -0
- package/dist/cjs/lib/components/Menubar/MenubarRadioGroup.d.ts +8 -0
- package/dist/cjs/lib/components/Menubar/MenubarRadioGroup.js +31 -0
- package/dist/cjs/lib/components/Menubar/MenubarRadioItem.d.ts +4 -0
- package/dist/cjs/lib/components/Menubar/MenubarRadioItem.js +40 -0
- package/dist/cjs/lib/components/Menubar/MenubarRoot.d.ts +19 -0
- package/dist/cjs/lib/components/Menubar/MenubarRoot.js +61 -0
- package/dist/cjs/lib/components/Menubar/MenubarSeparator.d.ts +3 -0
- package/dist/cjs/lib/components/Menubar/MenubarSeparator.js +31 -0
- package/dist/cjs/lib/components/Menubar/MenubarSub.d.ts +3 -0
- package/dist/cjs/lib/components/Menubar/MenubarSub.js +30 -0
- package/dist/cjs/lib/components/Menubar/MenubarSubContent.d.ts +10 -0
- package/dist/cjs/lib/components/Menubar/MenubarSubContent.js +51 -0
- package/dist/cjs/lib/components/Menubar/MenubarSubTrigger.d.ts +4 -0
- package/dist/cjs/lib/components/Menubar/MenubarSubTrigger.js +41 -0
- package/dist/cjs/lib/components/Menubar/MenubarTrigger.d.ts +12 -0
- package/dist/cjs/lib/components/Menubar/MenubarTrigger.js +57 -0
- package/dist/cjs/lib/components/Menubar/index.d.ts +19 -0
- package/dist/cjs/lib/components/Menubar/index.js +29 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuContent.d.ts +11 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuContent.js +48 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuIndicator.d.ts +3 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuIndicator.js +31 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuItem.d.ts +3 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuItem.js +30 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuLink.d.ts +13 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuLink.js +51 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuList.d.ts +12 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuList.js +47 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +14 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuRoot.js +43 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +13 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuTrigger.js +58 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +12 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuViewport.js +53 -0
- package/dist/cjs/lib/components/NavigationMenu/index.d.ts +12 -0
- package/dist/cjs/lib/components/NavigationMenu/index.js +10 -0
- package/dist/cjs/lib/components/PieChart/index.d.ts +23 -0
- package/dist/cjs/lib/components/PieChart/index.js +65 -0
- package/dist/cjs/lib/components/Popover/PopoverClose.d.ts +9 -0
- package/dist/cjs/lib/components/Popover/PopoverClose.js +48 -0
- package/dist/cjs/lib/components/Popover/PopoverContent.d.ts +11 -0
- package/dist/cjs/lib/components/Popover/PopoverContent.js +65 -0
- package/dist/cjs/lib/components/Popover/PopoverRoot.d.ts +12 -0
- package/dist/cjs/lib/components/Popover/PopoverRoot.js +36 -0
- package/dist/cjs/lib/components/Popover/PopoverTrigger.d.ts +3 -0
- package/dist/cjs/lib/components/Popover/PopoverTrigger.js +30 -0
- package/dist/cjs/lib/components/Popover/index.d.ts +11 -0
- package/dist/cjs/lib/components/Popover/index.js +11 -0
- package/dist/cjs/lib/components/Progress/index.d.ts +13 -0
- package/dist/cjs/lib/components/Progress/index.js +56 -0
- package/dist/cjs/lib/components/RadarChart/index.d.ts +33 -0
- package/dist/cjs/lib/components/RadarChart/index.js +76 -0
- package/dist/cjs/lib/components/Radio/index.d.ts +13 -0
- package/dist/cjs/lib/components/Radio/index.js +53 -0
- package/dist/cjs/lib/components/RadioCards/RadioCardsItem.d.ts +10 -0
- package/dist/cjs/lib/components/RadioCards/RadioCardsItem.js +54 -0
- package/dist/cjs/lib/components/RadioCards/RadioCardsRoot.d.ts +13 -0
- package/dist/cjs/lib/components/RadioCards/RadioCardsRoot.js +46 -0
- package/dist/cjs/lib/components/RadioCards/index.d.ts +6 -0
- package/dist/cjs/lib/components/RadioCards/index.js +7 -0
- package/dist/cjs/lib/components/RadioGroup/RadioGroupItem.d.ts +13 -0
- package/dist/cjs/lib/components/RadioGroup/RadioGroupItem.js +46 -0
- package/dist/cjs/lib/components/RadioGroup/RadioGroupRoot.d.ts +15 -0
- package/dist/cjs/lib/components/RadioGroup/RadioGroupRoot.js +53 -0
- package/dist/cjs/lib/components/RadioGroup/index.d.ts +6 -0
- package/dist/cjs/lib/components/RadioGroup/index.js +7 -0
- package/dist/cjs/lib/components/ScrollArea/index.d.ts +9 -0
- package/dist/cjs/lib/components/ScrollArea/index.js +36 -0
- package/dist/cjs/lib/components/SegmentedControl/SegmentedControlItem.d.ts +6 -0
- package/dist/cjs/lib/components/SegmentedControl/SegmentedControlItem.js +35 -0
- package/dist/cjs/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +14 -0
- package/dist/cjs/lib/components/SegmentedControl/SegmentedControlRoot.js +47 -0
- package/dist/cjs/lib/components/SegmentedControl/index.d.ts +6 -0
- package/dist/cjs/lib/components/SegmentedControl/index.js +7 -0
- package/dist/cjs/lib/components/Select/index.d.ts +34 -0
- package/dist/cjs/lib/components/Select/index.js +92 -0
- package/dist/cjs/lib/components/Separator/index.d.ts +11 -0
- package/dist/cjs/lib/components/Separator/index.js +47 -0
- package/dist/cjs/lib/components/Skeleton/index.d.ts +14 -0
- package/dist/cjs/lib/components/Skeleton/index.js +42 -0
- package/dist/cjs/lib/components/Slider/index.d.ts +14 -0
- package/dist/cjs/lib/components/Slider/index.js +49 -0
- package/dist/cjs/lib/components/Spinner/index.d.ts +15 -0
- package/dist/cjs/lib/components/Spinner/index.js +47 -0
- package/dist/cjs/lib/components/TabNav/index.d.ts +15 -0
- package/dist/cjs/lib/components/TabNav/index.js +50 -0
- package/dist/cjs/lib/components/Table/index.d.ts +30 -0
- package/dist/cjs/lib/components/Table/index.js +98 -0
- package/dist/cjs/lib/components/Tabs/index.d.ts +22 -0
- package/dist/cjs/lib/components/Tabs/index.js +65 -0
- package/dist/cjs/lib/components/TextArea/index.d.ts +16 -0
- package/dist/cjs/lib/components/TextArea/index.js +58 -0
- package/dist/cjs/lib/components/TextField/index.d.ts +21 -0
- package/dist/cjs/lib/components/TextField/index.js +56 -0
- package/dist/cjs/lib/components/Toast/ToastActionButton.d.ts +14 -0
- package/dist/cjs/lib/components/Toast/ToastActionButton.js +67 -0
- package/dist/cjs/lib/components/Toast/ToastDescription.d.ts +13 -0
- package/dist/cjs/lib/components/Toast/ToastDescription.js +53 -0
- package/dist/cjs/lib/components/Toast/ToastRoot.d.ts +27 -0
- package/dist/cjs/lib/components/Toast/ToastRoot.js +90 -0
- package/dist/cjs/lib/components/Toast/ToastTitle.d.ts +13 -0
- package/dist/cjs/lib/components/Toast/ToastTitle.js +53 -0
- package/dist/cjs/lib/components/Toast/index.d.ts +8 -0
- package/dist/cjs/lib/components/Toast/index.js +11 -0
- package/dist/cjs/lib/components/Toggle/ToggleWithText.d.ts +21 -0
- package/dist/cjs/lib/components/Toggle/ToggleWithText.js +58 -0
- package/dist/cjs/lib/components/Toggle/index.d.ts +21 -0
- package/dist/cjs/lib/components/Toggle/index.js +58 -0
- package/dist/cjs/lib/components/ToggleGroup/ToggleGroupItem.d.ts +17 -0
- package/dist/cjs/lib/components/ToggleGroup/ToggleGroupItem.js +54 -0
- package/dist/cjs/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +15 -0
- package/dist/cjs/lib/components/ToggleGroup/ToggleGroupRoot.js +48 -0
- package/dist/cjs/lib/components/ToggleGroup/index.d.ts +6 -0
- package/dist/cjs/lib/components/ToggleGroup/index.js +7 -0
- package/dist/cjs/lib/components/ToggleSwitch/index.d.ts +13 -0
- package/dist/cjs/lib/components/ToggleSwitch/index.js +71 -0
- package/dist/cjs/lib/components/Tooltip/index.d.ts +19 -0
- package/dist/cjs/lib/components/Tooltip/index.js +49 -0
- package/dist/cjs/lib/components/index.d.ts +50 -0
- package/dist/cjs/lib/constants.d.ts +655 -0
- package/dist/cjs/lib/index.d.ts +2 -0
- package/dist/cjs/lib/types.d.ts +81 -0
- package/dist/cjs/lib/utils/useDarkMode.d.ts +1 -0
- package/dist/cjs/lib/utils/utils.d.ts +2 -0
- package/dist/esm/lib/Typography/Header/index.d.ts +13 -0
- package/dist/esm/lib/Typography/Text/index.d.ts +15 -0
- package/dist/esm/lib/Typography/index.d.ts +2 -0
- package/dist/esm/lib/color/alpha.d.ts +784 -0
- package/dist/esm/lib/color/constants.d.ts +29 -0
- package/dist/esm/lib/color/dark.d.ts +392 -0
- package/dist/esm/lib/color/krdsColors.d.ts +309 -0
- package/dist/esm/lib/color/light.d.ts +392 -0
- package/dist/esm/lib/components/Accordion/index.d.ts +22 -0
- package/dist/esm/lib/components/AlertDialog/AlertDialogAction.d.ts +14 -0
- package/dist/esm/lib/components/AlertDialog/AlertDialogCancel.d.ts +13 -0
- package/dist/esm/lib/components/AlertDialog/AlertDialogContent.d.ts +11 -0
- package/dist/esm/lib/components/AlertDialog/AlertDialogDescription.d.ts +10 -0
- package/dist/esm/lib/components/AlertDialog/AlertDialogRoot.d.ts +16 -0
- package/dist/esm/lib/components/AlertDialog/AlertDialogTitle.d.ts +10 -0
- package/dist/esm/lib/components/AlertDialog/AlertDialogTrigger.d.ts +17 -0
- package/dist/esm/lib/components/AlertDialog/index.d.ts +11 -0
- package/dist/esm/lib/components/AspectRatio/index.d.ts +10 -0
- package/dist/esm/lib/components/Avatar/index.d.ts +21 -0
- package/dist/esm/lib/components/Badge/index.d.ts +18 -0
- package/dist/esm/lib/components/BarChart/index.d.ts +38 -0
- package/dist/esm/lib/components/BubbleChart/index.d.ts +29 -0
- package/dist/esm/lib/components/Button/index.d.ts +16 -0
- package/dist/esm/lib/components/Callout/CalloutIcon.d.ts +13 -0
- package/dist/esm/lib/components/Callout/CalloutRoot.d.ts +18 -0
- package/dist/esm/lib/components/Callout/CalloutText.d.ts +10 -0
- package/dist/esm/lib/components/Callout/index.d.ts +7 -0
- package/dist/esm/lib/components/Card/index.d.ts +14 -0
- package/dist/esm/lib/components/Checkbox/index.d.ts +17 -0
- package/dist/esm/lib/components/CheckboxCard/index.d.ts +20 -0
- package/dist/esm/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +5 -0
- package/dist/esm/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +17 -0
- package/dist/esm/lib/components/CheckboxGroup/index.d.ts +6 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuCheckboxItem.d.ts +4 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuContent.d.ts +11 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuGroup.d.ts +4 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuItem.d.ts +13 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +10 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuLabel.d.ts +11 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuRadioGroup.d.ts +8 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuRadioItem.d.ts +4 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuRoot.d.ts +13 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuSeparator.d.ts +3 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuSubContent.d.ts +11 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuSubTrigger.d.ts +4 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuTrigger.d.ts +4 -0
- package/dist/esm/lib/components/ContextMenu/index.d.ts +17 -0
- package/dist/esm/lib/components/DataList/DataListItem.d.ts +9 -0
- package/dist/esm/lib/components/DataList/DataListLabel.d.ts +10 -0
- package/dist/esm/lib/components/DataList/DataListRoot.d.ts +14 -0
- package/dist/esm/lib/components/DataList/DataListValue.d.ts +11 -0
- package/dist/esm/lib/components/DataList/index.d.ts +8 -0
- package/dist/esm/lib/components/Dialog/DialogAction.d.ts +13 -0
- package/dist/esm/lib/components/Dialog/DialogCancel.d.ts +11 -0
- package/dist/esm/lib/components/Dialog/DialogContent.d.ts +11 -0
- package/dist/esm/lib/components/Dialog/DialogDescription.d.ts +9 -0
- package/dist/esm/lib/components/Dialog/DialogRoot.d.ts +15 -0
- package/dist/esm/lib/components/Dialog/DialogSlot.d.ts +9 -0
- package/dist/esm/lib/components/Dialog/DialogTitle.d.ts +11 -0
- package/dist/esm/lib/components/Dialog/DialogTrigger.d.ts +3 -0
- package/dist/esm/lib/components/Dialog/index.d.ts +15 -0
- package/dist/esm/lib/components/DoughnutChart/index.d.ts +23 -0
- package/dist/esm/lib/components/DropdownMenu/DropdonMenuRadioGroup.d.ts +3 -0
- package/dist/esm/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +11 -0
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +7 -0
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuContent.d.ts +11 -0
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuItem.d.ts +15 -0
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +10 -0
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuLable.d.ts +10 -0
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuRadioItem.d.ts +6 -0
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +15 -0
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuSeparator.d.ts +3 -0
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuSub.d.ts +3 -0
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuSubTrigger.d.ts +4 -0
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +14 -0
- package/dist/esm/lib/components/DropdownMenu/index.d.ts +20 -0
- package/dist/esm/lib/components/HoverCard/HoverCardContent.d.ts +14 -0
- package/dist/esm/lib/components/HoverCard/HoverCardRoot.d.ts +11 -0
- package/dist/esm/lib/components/HoverCard/HoverCardTrigger.d.ts +3 -0
- package/dist/esm/lib/components/HoverCard/index.d.ts +10 -0
- package/dist/esm/lib/components/IconButton/index.d.ts +15 -0
- package/dist/esm/lib/components/Inset/index.d.ts +10 -0
- package/dist/esm/lib/components/Label/index.d.ts +17 -0
- package/dist/esm/lib/components/LineChart/index.d.ts +44 -0
- package/dist/esm/lib/components/Menubar/MenubarCheckboxItem.d.ts +4 -0
- package/dist/esm/lib/components/Menubar/MenubarContent.d.ts +11 -0
- package/dist/esm/lib/components/Menubar/MenubarItem.d.ts +13 -0
- package/dist/esm/lib/components/Menubar/MenubarItemIndicator.d.ts +10 -0
- package/dist/esm/lib/components/Menubar/MenubarMenu.d.ts +5 -0
- package/dist/esm/lib/components/Menubar/MenubarRadioGroup.d.ts +8 -0
- package/dist/esm/lib/components/Menubar/MenubarRadioItem.d.ts +4 -0
- package/dist/esm/lib/components/Menubar/MenubarRoot.d.ts +19 -0
- package/dist/esm/lib/components/Menubar/MenubarSeparator.d.ts +3 -0
- package/dist/esm/lib/components/Menubar/MenubarSub.d.ts +3 -0
- package/dist/esm/lib/components/Menubar/MenubarSubContent.d.ts +10 -0
- package/dist/esm/lib/components/Menubar/MenubarSubTrigger.d.ts +4 -0
- package/dist/esm/lib/components/Menubar/MenubarTrigger.d.ts +12 -0
- package/dist/esm/lib/components/Menubar/index.d.ts +19 -0
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuContent.d.ts +11 -0
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuIndicator.d.ts +3 -0
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuItem.d.ts +3 -0
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuLink.d.ts +13 -0
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuList.d.ts +12 -0
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +14 -0
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +13 -0
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +12 -0
- package/dist/esm/lib/components/NavigationMenu/index.d.ts +12 -0
- package/dist/esm/lib/components/PieChart/index.d.ts +23 -0
- package/dist/esm/lib/components/Popover/PopoverClose.d.ts +9 -0
- package/dist/esm/lib/components/Popover/PopoverContent.d.ts +11 -0
- package/dist/esm/lib/components/Popover/PopoverRoot.d.ts +12 -0
- package/dist/esm/lib/components/Popover/PopoverTrigger.d.ts +3 -0
- package/dist/esm/lib/components/Popover/index.d.ts +11 -0
- package/dist/esm/lib/components/Progress/index.d.ts +13 -0
- package/dist/esm/lib/components/RadarChart/index.d.ts +33 -0
- package/dist/esm/lib/components/Radio/index.d.ts +13 -0
- package/dist/esm/lib/components/RadioCards/RadioCardsItem.d.ts +10 -0
- package/dist/esm/lib/components/RadioCards/RadioCardsRoot.d.ts +13 -0
- package/dist/esm/lib/components/RadioCards/index.d.ts +6 -0
- package/dist/esm/lib/components/RadioGroup/RadioGroupItem.d.ts +13 -0
- package/dist/esm/lib/components/RadioGroup/RadioGroupRoot.d.ts +15 -0
- package/dist/esm/lib/components/RadioGroup/index.d.ts +6 -0
- package/dist/esm/lib/components/ScrollArea/index.d.ts +9 -0
- package/dist/esm/lib/components/SegmentedControl/SegmentedControlItem.d.ts +6 -0
- package/dist/esm/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +14 -0
- package/dist/esm/lib/components/SegmentedControl/index.d.ts +6 -0
- package/dist/esm/lib/components/Select/index.d.ts +34 -0
- package/dist/esm/lib/components/Separator/index.d.ts +11 -0
- package/dist/esm/lib/components/Skeleton/index.d.ts +14 -0
- package/dist/esm/lib/components/Slider/index.d.ts +14 -0
- package/dist/esm/lib/components/Spinner/index.d.ts +15 -0
- package/dist/esm/lib/components/TabNav/index.d.ts +15 -0
- package/dist/esm/lib/components/Table/index.d.ts +30 -0
- package/dist/esm/lib/components/Tabs/index.d.ts +22 -0
- package/dist/esm/lib/components/TextArea/index.d.ts +16 -0
- package/dist/esm/lib/components/TextField/index.d.ts +21 -0
- package/dist/esm/lib/components/Toast/ToastActionButton.d.ts +14 -0
- package/dist/esm/lib/components/Toast/ToastDescription.d.ts +13 -0
- package/dist/esm/lib/components/Toast/ToastRoot.d.ts +27 -0
- package/dist/esm/lib/components/Toast/ToastTitle.d.ts +13 -0
- package/dist/esm/lib/components/Toast/index.d.ts +8 -0
- package/dist/esm/lib/components/Toggle/ToggleWithText.d.ts +21 -0
- package/dist/esm/lib/components/Toggle/index.d.ts +21 -0
- package/dist/esm/lib/components/ToggleGroup/ToggleGroupItem.d.ts +17 -0
- package/dist/esm/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +15 -0
- package/dist/esm/lib/components/ToggleGroup/index.d.ts +6 -0
- package/dist/esm/lib/components/ToggleSwitch/index.d.ts +13 -0
- package/dist/esm/lib/components/Tooltip/index.d.ts +19 -0
- package/dist/esm/lib/components/index.d.ts +50 -0
- package/dist/esm/lib/constants.d.ts +655 -0
- package/dist/esm/lib/index.d.ts +2 -0
- package/dist/esm/lib/types.d.ts +81 -0
- package/dist/esm/lib/utils/useDarkMode.d.ts +1 -0
- package/dist/esm/lib/utils/utils.d.ts +2 -0
- package/package.json +6 -5
- package/dist/cjs/.storybook/main.js +0 -24
- package/dist/cjs/.storybook/manager.js +0 -17
- package/dist/cjs/.storybook/preview.jsx +0 -106
- package/dist/cjs/tailwind.config.js +0 -169
- package/dist/cjs/tsconfig.tsbuildinfo +0 -1
- package/dist/esm/.storybook/main.js +0 -22
- package/dist/esm/.storybook/manager.js +0 -12
- package/dist/esm/.storybook/preview.jsx +0 -80
- package/dist/esm/tailwind.config.js +0 -144
- package/dist/esm/tsconfig.tsbuildinfo +0 -1
@@ -0,0 +1,392 @@
|
|
1
|
+
export declare const slate: {
|
2
|
+
1: string;
|
3
|
+
2: string;
|
4
|
+
3: string;
|
5
|
+
4: string;
|
6
|
+
5: string;
|
7
|
+
6: string;
|
8
|
+
7: string;
|
9
|
+
8: string;
|
10
|
+
9: string;
|
11
|
+
10: string;
|
12
|
+
11: string;
|
13
|
+
12: string;
|
14
|
+
};
|
15
|
+
export declare const olive: {
|
16
|
+
1: string;
|
17
|
+
2: string;
|
18
|
+
3: string;
|
19
|
+
4: string;
|
20
|
+
5: string;
|
21
|
+
6: string;
|
22
|
+
7: string;
|
23
|
+
8: string;
|
24
|
+
9: string;
|
25
|
+
10: string;
|
26
|
+
11: string;
|
27
|
+
12: string;
|
28
|
+
};
|
29
|
+
export declare const sand: {
|
30
|
+
1: string;
|
31
|
+
2: string;
|
32
|
+
3: string;
|
33
|
+
4: string;
|
34
|
+
5: string;
|
35
|
+
6: string;
|
36
|
+
7: string;
|
37
|
+
8: string;
|
38
|
+
9: string;
|
39
|
+
10: string;
|
40
|
+
11: string;
|
41
|
+
12: string;
|
42
|
+
};
|
43
|
+
export declare const tomato: {
|
44
|
+
1: string;
|
45
|
+
2: string;
|
46
|
+
3: string;
|
47
|
+
4: string;
|
48
|
+
5: string;
|
49
|
+
6: string;
|
50
|
+
7: string;
|
51
|
+
8: string;
|
52
|
+
9: string;
|
53
|
+
10: string;
|
54
|
+
11: string;
|
55
|
+
12: string;
|
56
|
+
};
|
57
|
+
export declare const red: {
|
58
|
+
1: string;
|
59
|
+
2: string;
|
60
|
+
3: string;
|
61
|
+
4: string;
|
62
|
+
5: string;
|
63
|
+
6: string;
|
64
|
+
7: string;
|
65
|
+
8: string;
|
66
|
+
9: string;
|
67
|
+
10: string;
|
68
|
+
11: string;
|
69
|
+
12: string;
|
70
|
+
};
|
71
|
+
export declare const ruby: {
|
72
|
+
1: string;
|
73
|
+
2: string;
|
74
|
+
3: string;
|
75
|
+
4: string;
|
76
|
+
5: string;
|
77
|
+
6: string;
|
78
|
+
7: string;
|
79
|
+
8: string;
|
80
|
+
9: string;
|
81
|
+
10: string;
|
82
|
+
11: string;
|
83
|
+
12: string;
|
84
|
+
};
|
85
|
+
export declare const crimson: {
|
86
|
+
1: string;
|
87
|
+
2: string;
|
88
|
+
3: string;
|
89
|
+
4: string;
|
90
|
+
5: string;
|
91
|
+
6: string;
|
92
|
+
7: string;
|
93
|
+
8: string;
|
94
|
+
9: string;
|
95
|
+
10: string;
|
96
|
+
11: string;
|
97
|
+
12: string;
|
98
|
+
};
|
99
|
+
export declare const pink: {
|
100
|
+
1: string;
|
101
|
+
2: string;
|
102
|
+
3: string;
|
103
|
+
4: string;
|
104
|
+
5: string;
|
105
|
+
6: string;
|
106
|
+
7: string;
|
107
|
+
8: string;
|
108
|
+
9: string;
|
109
|
+
10: string;
|
110
|
+
11: string;
|
111
|
+
12: string;
|
112
|
+
};
|
113
|
+
export declare const plum: {
|
114
|
+
1: string;
|
115
|
+
2: string;
|
116
|
+
3: string;
|
117
|
+
4: string;
|
118
|
+
5: string;
|
119
|
+
6: string;
|
120
|
+
7: string;
|
121
|
+
8: string;
|
122
|
+
9: string;
|
123
|
+
10: string;
|
124
|
+
11: string;
|
125
|
+
12: string;
|
126
|
+
};
|
127
|
+
export declare const purple: {
|
128
|
+
1: string;
|
129
|
+
2: string;
|
130
|
+
3: string;
|
131
|
+
4: string;
|
132
|
+
5: string;
|
133
|
+
6: string;
|
134
|
+
7: string;
|
135
|
+
8: string;
|
136
|
+
9: string;
|
137
|
+
10: string;
|
138
|
+
11: string;
|
139
|
+
12: string;
|
140
|
+
};
|
141
|
+
export declare const violet: {
|
142
|
+
1: string;
|
143
|
+
2: string;
|
144
|
+
3: string;
|
145
|
+
4: string;
|
146
|
+
5: string;
|
147
|
+
6: string;
|
148
|
+
7: string;
|
149
|
+
8: string;
|
150
|
+
9: string;
|
151
|
+
10: string;
|
152
|
+
11: string;
|
153
|
+
12: string;
|
154
|
+
};
|
155
|
+
export declare const iris: {
|
156
|
+
1: string;
|
157
|
+
2: string;
|
158
|
+
3: string;
|
159
|
+
4: string;
|
160
|
+
5: string;
|
161
|
+
6: string;
|
162
|
+
7: string;
|
163
|
+
8: string;
|
164
|
+
9: string;
|
165
|
+
10: string;
|
166
|
+
11: string;
|
167
|
+
12: string;
|
168
|
+
};
|
169
|
+
export declare const indigo: {
|
170
|
+
1: string;
|
171
|
+
2: string;
|
172
|
+
3: string;
|
173
|
+
4: string;
|
174
|
+
5: string;
|
175
|
+
6: string;
|
176
|
+
7: string;
|
177
|
+
8: string;
|
178
|
+
9: string;
|
179
|
+
10: string;
|
180
|
+
11: string;
|
181
|
+
12: string;
|
182
|
+
};
|
183
|
+
export declare const blue: {
|
184
|
+
1: string;
|
185
|
+
2: string;
|
186
|
+
3: string;
|
187
|
+
4: string;
|
188
|
+
5: string;
|
189
|
+
6: string;
|
190
|
+
7: string;
|
191
|
+
8: string;
|
192
|
+
9: string;
|
193
|
+
10: string;
|
194
|
+
11: string;
|
195
|
+
12: string;
|
196
|
+
};
|
197
|
+
export declare const cyan: {
|
198
|
+
1: string;
|
199
|
+
2: string;
|
200
|
+
3: string;
|
201
|
+
4: string;
|
202
|
+
5: string;
|
203
|
+
6: string;
|
204
|
+
7: string;
|
205
|
+
8: string;
|
206
|
+
9: string;
|
207
|
+
10: string;
|
208
|
+
11: string;
|
209
|
+
12: string;
|
210
|
+
};
|
211
|
+
export declare const teal: {
|
212
|
+
1: string;
|
213
|
+
2: string;
|
214
|
+
3: string;
|
215
|
+
4: string;
|
216
|
+
5: string;
|
217
|
+
6: string;
|
218
|
+
7: string;
|
219
|
+
8: string;
|
220
|
+
9: string;
|
221
|
+
10: string;
|
222
|
+
11: string;
|
223
|
+
12: string;
|
224
|
+
};
|
225
|
+
export declare const jade: {
|
226
|
+
1: string;
|
227
|
+
2: string;
|
228
|
+
3: string;
|
229
|
+
4: string;
|
230
|
+
5: string;
|
231
|
+
6: string;
|
232
|
+
7: string;
|
233
|
+
8: string;
|
234
|
+
9: string;
|
235
|
+
10: string;
|
236
|
+
11: string;
|
237
|
+
12: string;
|
238
|
+
};
|
239
|
+
export declare const green: {
|
240
|
+
1: string;
|
241
|
+
2: string;
|
242
|
+
3: string;
|
243
|
+
4: string;
|
244
|
+
5: string;
|
245
|
+
6: string;
|
246
|
+
7: string;
|
247
|
+
8: string;
|
248
|
+
9: string;
|
249
|
+
10: string;
|
250
|
+
11: string;
|
251
|
+
12: string;
|
252
|
+
};
|
253
|
+
export declare const grass: {
|
254
|
+
1: string;
|
255
|
+
2: string;
|
256
|
+
3: string;
|
257
|
+
4: string;
|
258
|
+
5: string;
|
259
|
+
6: string;
|
260
|
+
7: string;
|
261
|
+
8: string;
|
262
|
+
9: string;
|
263
|
+
10: string;
|
264
|
+
11: string;
|
265
|
+
12: string;
|
266
|
+
};
|
267
|
+
export declare const brown: {
|
268
|
+
1: string;
|
269
|
+
2: string;
|
270
|
+
3: string;
|
271
|
+
4: string;
|
272
|
+
5: string;
|
273
|
+
6: string;
|
274
|
+
7: string;
|
275
|
+
8: string;
|
276
|
+
9: string;
|
277
|
+
10: string;
|
278
|
+
11: string;
|
279
|
+
12: string;
|
280
|
+
};
|
281
|
+
export declare const bronze: {
|
282
|
+
1: string;
|
283
|
+
2: string;
|
284
|
+
3: string;
|
285
|
+
4: string;
|
286
|
+
5: string;
|
287
|
+
6: string;
|
288
|
+
7: string;
|
289
|
+
8: string;
|
290
|
+
9: string;
|
291
|
+
10: string;
|
292
|
+
11: string;
|
293
|
+
12: string;
|
294
|
+
};
|
295
|
+
export declare const gold: {
|
296
|
+
1: string;
|
297
|
+
2: string;
|
298
|
+
3: string;
|
299
|
+
4: string;
|
300
|
+
5: string;
|
301
|
+
6: string;
|
302
|
+
7: string;
|
303
|
+
8: string;
|
304
|
+
9: string;
|
305
|
+
10: string;
|
306
|
+
11: string;
|
307
|
+
12: string;
|
308
|
+
};
|
309
|
+
export declare const sky: {
|
310
|
+
1: string;
|
311
|
+
2: string;
|
312
|
+
3: string;
|
313
|
+
4: string;
|
314
|
+
5: string;
|
315
|
+
6: string;
|
316
|
+
7: string;
|
317
|
+
8: string;
|
318
|
+
9: string;
|
319
|
+
10: string;
|
320
|
+
11: string;
|
321
|
+
12: string;
|
322
|
+
};
|
323
|
+
export declare const mint: {
|
324
|
+
1: string;
|
325
|
+
2: string;
|
326
|
+
3: string;
|
327
|
+
4: string;
|
328
|
+
5: string;
|
329
|
+
6: string;
|
330
|
+
7: string;
|
331
|
+
8: string;
|
332
|
+
9: string;
|
333
|
+
10: string;
|
334
|
+
11: string;
|
335
|
+
12: string;
|
336
|
+
};
|
337
|
+
export declare const lime: {
|
338
|
+
1: string;
|
339
|
+
2: string;
|
340
|
+
3: string;
|
341
|
+
4: string;
|
342
|
+
5: string;
|
343
|
+
6: string;
|
344
|
+
7: string;
|
345
|
+
8: string;
|
346
|
+
9: string;
|
347
|
+
10: string;
|
348
|
+
11: string;
|
349
|
+
12: string;
|
350
|
+
};
|
351
|
+
export declare const yellow: {
|
352
|
+
1: string;
|
353
|
+
2: string;
|
354
|
+
3: string;
|
355
|
+
4: string;
|
356
|
+
5: string;
|
357
|
+
6: string;
|
358
|
+
7: string;
|
359
|
+
8: string;
|
360
|
+
9: string;
|
361
|
+
10: string;
|
362
|
+
11: string;
|
363
|
+
12: string;
|
364
|
+
};
|
365
|
+
export declare const amber: {
|
366
|
+
1: string;
|
367
|
+
2: string;
|
368
|
+
3: string;
|
369
|
+
4: string;
|
370
|
+
5: string;
|
371
|
+
6: string;
|
372
|
+
7: string;
|
373
|
+
8: string;
|
374
|
+
9: string;
|
375
|
+
10: string;
|
376
|
+
11: string;
|
377
|
+
12: string;
|
378
|
+
};
|
379
|
+
export declare const orange: {
|
380
|
+
1: string;
|
381
|
+
2: string;
|
382
|
+
3: string;
|
383
|
+
4: string;
|
384
|
+
5: string;
|
385
|
+
6: string;
|
386
|
+
7: string;
|
387
|
+
8: string;
|
388
|
+
9: string;
|
389
|
+
10: string;
|
390
|
+
11: string;
|
391
|
+
12: string;
|
392
|
+
};
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
4
|
+
import { IColor } from 'lib/types';
|
5
|
+
export interface AccordionProps extends React.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof accoridanVariants> {
|
6
|
+
defaultValue?: string;
|
7
|
+
color?: IColor;
|
8
|
+
}
|
9
|
+
declare const accoridanVariants: (props?: ({
|
10
|
+
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
11
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
12
|
+
export declare const Root: React.ForwardRefExoticComponent<((Omit<AccordionPrimitive.AccordionSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<AccordionPrimitive.AccordionMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & AccordionProps) & React.RefAttributes<HTMLDivElement>>;
|
13
|
+
export declare const Item: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & AccordionProps & React.RefAttributes<HTMLDivElement>>;
|
14
|
+
export declare const Trigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & AccordionProps & React.RefAttributes<HTMLButtonElement>>;
|
15
|
+
export declare const Content: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & AccordionProps & React.RefAttributes<HTMLDivElement>>;
|
16
|
+
declare const Accordion: {
|
17
|
+
Root: React.ForwardRefExoticComponent<((Omit<AccordionPrimitive.AccordionSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<AccordionPrimitive.AccordionMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & AccordionProps) & React.RefAttributes<HTMLDivElement>>;
|
18
|
+
Item: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & AccordionProps & React.RefAttributes<HTMLDivElement>>;
|
19
|
+
Trigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & AccordionProps & React.RefAttributes<HTMLButtonElement>>;
|
20
|
+
Content: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & AccordionProps & React.RefAttributes<HTMLDivElement>>;
|
21
|
+
};
|
22
|
+
export default Accordion;
|
@@ -0,0 +1,64 @@
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
2
|
+
__assign = Object.assign || function(t) {
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
4
|
+
s = arguments[i];
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
6
|
+
t[p] = s[p];
|
7
|
+
}
|
8
|
+
return t;
|
9
|
+
};
|
10
|
+
return __assign.apply(this, arguments);
|
11
|
+
};
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
13
|
+
var t = {};
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
15
|
+
t[p] = s[p];
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
19
|
+
t[p[i]] = s[p[i]];
|
20
|
+
}
|
21
|
+
return t;
|
22
|
+
};
|
23
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
24
|
+
import React from 'react';
|
25
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
26
|
+
import { ChevronDownIcon } from '@radix-ui/react-icons';
|
27
|
+
import { cn } from 'lib/utils/utils';
|
28
|
+
import { cva } from 'class-variance-authority';
|
29
|
+
import { scalingVariants } from 'lib/constants';
|
30
|
+
var accoridanVariants = cva('', {
|
31
|
+
variants: {
|
32
|
+
scaling: __assign({}, scalingVariants),
|
33
|
+
},
|
34
|
+
defaultVariants: {
|
35
|
+
scaling: '100%',
|
36
|
+
},
|
37
|
+
});
|
38
|
+
export var Root = React.forwardRef(function (_a, forwardedRef) {
|
39
|
+
var className = _a.className, children = _a.children, scaling = _a.scaling, rootProps = __rest(_a, ["className", "children", "scaling"]);
|
40
|
+
return (_jsx(AccordionPrimitive.Root, __assign({ className: cn('w-[280px] rounded-md border border-slateA-4 dark:border-slateDarkA-4', accoridanVariants({ scaling: scaling }), className) }, rootProps, { ref: forwardedRef, children: children })));
|
41
|
+
});
|
42
|
+
Root.displayName = 'Accordion.Root';
|
43
|
+
export var Item = React.forwardRef(function (_a, forwardedRef) {
|
44
|
+
var className = _a.className, children = _a.children, rootProps = __rest(_a, ["className", "children"]);
|
45
|
+
return (_jsx(AccordionPrimitive.Item, __assign({}, rootProps, { ref: forwardedRef, className: cn('mt-px w-[278px] overflow-hidden first:mt-0 first:rounded-t last:rounded-b', className), children: children })));
|
46
|
+
});
|
47
|
+
Item.displayName = 'Accordion.Item';
|
48
|
+
export var Trigger = React.forwardRef(function (_a, forwardedRef) {
|
49
|
+
var className = _a.className, children = _a.children, _b = _a.color, color = _b === void 0 ? 'red' : _b, rootProps = __rest(_a, ["className", "children", "color"]);
|
50
|
+
return (_jsx(AccordionPrimitive.Header, __assign({}, rootProps, { className: cn('flex', className), children: _jsxs(AccordionPrimitive.Trigger, __assign({}, rootProps, { ref: forwardedRef, className: cn("group flex h-[44px] w-[278px] cursor-default items-center justify-between px-[20px] py-[10px] text-base font-normal", "dark:bg-[#111113] text-".concat(color, "A-11 dark:text-").concat(color, "Dark-11 "), "hover:bg-".concat(color, "A-4 dark:hover:bg-").concat(color, "Dark-4 hover:text-").concat(color, "A-11 dark:hover:text-").concat(color, "DarkA-11"), "data-[state=open]:bg-".concat(color, "A-5 dark:data-[state=open]:bg-").concat(color, "DarkA-5"), "disabled:bg-slateA-3 disabled:text-slateA-8 disabled:dark:bg-slateDarkA-3 disabled:dark:text-slateDarkA-8", className), children: [children, _jsx(ChevronDownIcon, { className: "transition-transform duration-300 ease-[cubic-bezier(0.87,_0,_0.13,_1)] group-data-[state=open]:rotate-180", "aria-hidden": true })] })) })));
|
51
|
+
});
|
52
|
+
Trigger.displayName = 'Accordion.Trigger';
|
53
|
+
export var Content = React.forwardRef(function (_a, forwardedRef) {
|
54
|
+
var className = _a.className, children = _a.children, rootProps = __rest(_a, ["className", "children"]);
|
55
|
+
return (_jsx(AccordionPrimitive.Content, __assign({}, rootProps, { ref: forwardedRef, className: cn('max-h-[800px] w-[278px] overflow-hidden border-t border-t-slateA-4 bg-slateA-2 text-[16px] text-slateA-11 data-[state=closed]:animate-slideUp data-[state=open]:animate-slideDown dark:border-t-slateDarkA-4 dark:bg-slateDarkA-2 dark:text-slateDarkA-11', className), children: _jsx("div", { className: "h-auto max-h-[1000px] overflow-y-auto px-[20px] py-[15px] text-base font-normal", children: children }) })));
|
56
|
+
});
|
57
|
+
Content.displayName = 'Accordion.Content';
|
58
|
+
var Accordion = {
|
59
|
+
Root: Root,
|
60
|
+
Item: Item,
|
61
|
+
Trigger: Trigger,
|
62
|
+
Content: Content,
|
63
|
+
};
|
64
|
+
export default Accordion;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
4
|
+
import { IAppearance } from 'lib/types';
|
5
|
+
export interface AlertDialogActionProps extends VariantProps<typeof alertDialogActionVariants> {
|
6
|
+
appearance?: IAppearance;
|
7
|
+
}
|
8
|
+
export declare const alertDialogActionVariants: (props?: ({
|
9
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
10
|
+
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
11
|
+
weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
12
|
+
color?: string | null | undefined;
|
13
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
14
|
+
export declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>>;
|
@@ -0,0 +1,61 @@
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
2
|
+
__assign = Object.assign || function(t) {
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
4
|
+
s = arguments[i];
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
6
|
+
t[p] = s[p];
|
7
|
+
}
|
8
|
+
return t;
|
9
|
+
};
|
10
|
+
return __assign.apply(this, arguments);
|
11
|
+
};
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
13
|
+
var t = {};
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
15
|
+
t[p] = s[p];
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
19
|
+
t[p[i]] = s[p[i]];
|
20
|
+
}
|
21
|
+
return t;
|
22
|
+
};
|
23
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
24
|
+
import { forwardRef } from 'react';
|
25
|
+
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
26
|
+
import { cva } from 'class-variance-authority';
|
27
|
+
import { cn } from 'lib/utils/utils';
|
28
|
+
import { appearanceStyle, primaryColorStyle, weightVariants } from 'lib/constants';
|
29
|
+
import { useAlertDialogContext } from './AlertDialogRoot';
|
30
|
+
export var alertDialogActionVariants = cva("inline-flex items-center justify-center px-[15px] outline-none focus:shadow-[0_0_0_2px] font-normal w-fit", {
|
31
|
+
variants: {
|
32
|
+
radius: {
|
33
|
+
none: 'rounded-none',
|
34
|
+
small: 'rounded-[3px]',
|
35
|
+
medium: 'rounded',
|
36
|
+
large: 'rounded',
|
37
|
+
full: 'rounded-full',
|
38
|
+
},
|
39
|
+
size: {
|
40
|
+
small: 'text-xs min-w-[40px] h-[24px] px-2',
|
41
|
+
medium: 'text-sm min-w-[50px] h-[32px] px-3',
|
42
|
+
large: 'text-sm min-w-[50px] h-[32px] px-3',
|
43
|
+
'x-large': 'text-base min-w-[62px] h-[40px] px-4',
|
44
|
+
},
|
45
|
+
weight: __assign({}, weightVariants),
|
46
|
+
color: primaryColorStyle(),
|
47
|
+
},
|
48
|
+
defaultVariants: {
|
49
|
+
radius: 'large',
|
50
|
+
weight: 'medium',
|
51
|
+
size: 'medium',
|
52
|
+
color: 'red',
|
53
|
+
},
|
54
|
+
});
|
55
|
+
export var AlertDialogAction = forwardRef(function (_a, ref) {
|
56
|
+
var className = _a.className, children = _a.children, weight = _a.weight, props = __rest(_a, ["className", "children", "weight"]);
|
57
|
+
var _b = useAlertDialogContext(), radius = _b.radius, size = _b.size, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;
|
58
|
+
var buttonClassName = cn(alertDialogActionVariants({ radius: radius, size: size, weight: weight, color: color }), appearanceStyle(appearance, color), className);
|
59
|
+
return (_jsx(AlertDialogPrimitive.Action, __assign({ ref: ref, className: buttonClassName }, props, { children: children })));
|
60
|
+
});
|
61
|
+
AlertDialogAction.displayName = 'AlertDialog.Action';
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
4
|
+
import { IAppearance } from 'lib/types';
|
5
|
+
export interface AlertDialogCancelProps extends VariantProps<typeof alertDialogCancelVariants> {
|
6
|
+
appearance?: IAppearance;
|
7
|
+
}
|
8
|
+
export declare const alertDialogCancelVariants: (props?: ({
|
9
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
10
|
+
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
11
|
+
weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
12
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
13
|
+
export declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>>;
|
@@ -0,0 +1,60 @@
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
2
|
+
__assign = Object.assign || function(t) {
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
4
|
+
s = arguments[i];
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
6
|
+
t[p] = s[p];
|
7
|
+
}
|
8
|
+
return t;
|
9
|
+
};
|
10
|
+
return __assign.apply(this, arguments);
|
11
|
+
};
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
13
|
+
var t = {};
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
15
|
+
t[p] = s[p];
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
19
|
+
t[p[i]] = s[p[i]];
|
20
|
+
}
|
21
|
+
return t;
|
22
|
+
};
|
23
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
24
|
+
import { forwardRef } from 'react';
|
25
|
+
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
26
|
+
import { cva } from 'class-variance-authority';
|
27
|
+
import { cn } from 'lib/utils/utils';
|
28
|
+
import { appearanceStyle, weightVariants } from 'lib/constants';
|
29
|
+
import { useAlertDialogContext } from './AlertDialogRoot';
|
30
|
+
export var alertDialogCancelVariants = cva("inline-flex justify-center items-center outline-none w-fit", {
|
31
|
+
variants: {
|
32
|
+
radius: {
|
33
|
+
none: 'rounded-none',
|
34
|
+
small: 'rounded-[3px]',
|
35
|
+
medium: 'rounded',
|
36
|
+
large: 'rounded',
|
37
|
+
full: 'rounded-full',
|
38
|
+
},
|
39
|
+
size: {
|
40
|
+
small: 'text-xs min-w-[40px] h-[24px] px-2 mr-2',
|
41
|
+
medium: 'text-sm min-w-[50px] h-[32px] px-3 mr-2',
|
42
|
+
large: 'text-sm min-w-[50px] h-[32px] px-3 mr-3',
|
43
|
+
'x-large': 'text-base min-w-[62px] h-[40px] px-4 mr-3',
|
44
|
+
},
|
45
|
+
weight: __assign({}, weightVariants),
|
46
|
+
},
|
47
|
+
defaultVariants: {
|
48
|
+
radius: 'large',
|
49
|
+
weight: 'medium',
|
50
|
+
size: 'large',
|
51
|
+
},
|
52
|
+
});
|
53
|
+
export var AlertDialogCancel = forwardRef(function (_a, ref) {
|
54
|
+
var className = _a.className, children = _a.children, weight = _a.weight, props = __rest(_a, ["className", "children", "weight"]);
|
55
|
+
var _b = useAlertDialogContext(), radius = _b.radius, size = _b.size, _c = _b.appearance, appearance = _c === void 0 ? 'solid' : _c;
|
56
|
+
var disabledButtonStyle = "border-none text-slate-11 bg-slate-3 \n active:bg-slate-4 active:border-none hover:cursor-pointer hover:bg-slateA-4\n dark:text-slateDark-11 dark:bg-slateDark-3 dark:hover:bg-slateDarkA-4";
|
57
|
+
var buttonClassName = cn(alertDialogCancelVariants({ radius: radius, size: size, weight: weight }), appearanceStyle(appearance, 'slate'), disabledButtonStyle, className);
|
58
|
+
return (_jsx(AlertDialogPrimitive.Cancel, __assign({ ref: ref }, props, { className: buttonClassName, children: children })));
|
59
|
+
});
|
60
|
+
AlertDialogCancel.displayName = 'AlertDialog.Cancel';
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
4
|
+
export interface AlertDialogContentProps extends VariantProps<typeof alertDialogContentVariants> {
|
5
|
+
}
|
6
|
+
export declare const alertDialogContentVariants: (props?: ({
|
7
|
+
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
8
|
+
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
9
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
10
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
11
|
+
export declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & AlertDialogContentProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -0,0 +1,51 @@
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
2
|
+
__assign = Object.assign || function(t) {
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
4
|
+
s = arguments[i];
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
6
|
+
t[p] = s[p];
|
7
|
+
}
|
8
|
+
return t;
|
9
|
+
};
|
10
|
+
return __assign.apply(this, arguments);
|
11
|
+
};
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
13
|
+
var t = {};
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
15
|
+
t[p] = s[p];
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
19
|
+
t[p[i]] = s[p[i]];
|
20
|
+
}
|
21
|
+
return t;
|
22
|
+
};
|
23
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
24
|
+
import { forwardRef } from 'react';
|
25
|
+
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
26
|
+
import { cva } from 'class-variance-authority';
|
27
|
+
import { cn } from 'lib/utils/utils';
|
28
|
+
import { radiusVariants, scalingVariants } from 'lib/constants';
|
29
|
+
import { useAlertDialogContext } from './AlertDialogRoot';
|
30
|
+
export var alertDialogContentVariants = cva("fixed max-h-[85vh] top-[50%] left-[50%] focus:outline-none\n translate-x-[-50%] translate-y-[-50%] data-[state=open]:animate-contentShow bg-white dark:bg-slateDark-1 \n shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px]", {
|
31
|
+
variants: {
|
32
|
+
size: {
|
33
|
+
small: 'p-3 w-[300px]',
|
34
|
+
medium: 'p-4 w-[400px]',
|
35
|
+
large: 'p-5 w-[500px]',
|
36
|
+
'x-large': 'p-6 w-[600px]',
|
37
|
+
},
|
38
|
+
scaling: __assign({}, scalingVariants),
|
39
|
+
radius: __assign({}, radiusVariants['extra-large']),
|
40
|
+
},
|
41
|
+
defaultVariants: {
|
42
|
+
radius: 'large',
|
43
|
+
size: 'large',
|
44
|
+
},
|
45
|
+
});
|
46
|
+
export var AlertDialogContent = forwardRef(function (_a, ref) {
|
47
|
+
var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
|
48
|
+
var _b = useAlertDialogContext(), radius = _b.radius, size = _b.size, scaling = _b.scaling;
|
49
|
+
return (_jsxs(AlertDialogPrimitive.Portal, { children: [_jsx(AlertDialogPrimitive.Overlay, { className: "fixed data-[state=open]:animate-overlayShow inset-0" }), _jsx(AlertDialogPrimitive.Content, __assign({ className: cn(alertDialogContentVariants({ radius: radius, size: size, scaling: scaling }), className), ref: ref }, props, { children: children }))] }));
|
50
|
+
});
|
51
|
+
AlertDialogContent.displayName = 'AlertDialog.Content';
|