@lotte-innovate/ui-component-test 0.2.24 → 0.2.26
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +172 -15
- package/dist/globals.css +4 -0
- package/dist/lib/Typography/Header/index.d.ts +15 -0
- package/dist/lib/Typography/Header/index.js +56 -0
- package/dist/lib/Typography/Text/index.d.ts +15 -0
- package/dist/lib/Typography/Text/index.js +45 -0
- package/dist/lib/Typography/index.d.ts +2 -0
- package/dist/lib/Typography/index.js +2 -0
- package/dist/lib/_virtual/_commonjsHelpers.mjs +2 -0
- package/dist/lib/_virtual/_commonjsHelpers.mjs.map +1 -0
- package/dist/lib/_virtual/index.mjs +2 -0
- package/dist/lib/_virtual/index2.mjs +2 -0
- package/dist/lib/_virtual/index2.mjs.map +1 -0
- package/dist/lib/_virtual/index3.mjs +2 -0
- package/dist/lib/_virtual/index3.mjs.map +1 -0
- package/dist/lib/_virtual/react-is.development.mjs +2 -0
- package/dist/lib/_virtual/react-is.development.mjs.map +1 -0
- package/dist/lib/_virtual/react-is.production.min.mjs +2 -0
- package/dist/lib/_virtual/react-is.production.min.mjs.map +1 -0
- package/dist/lib/color/alpha.d.ts +784 -0
- package/dist/lib/color/alpha.js +784 -0
- package/dist/lib/color/constants.d.ts +15 -0
- package/dist/lib/color/constants.js +265 -0
- package/dist/lib/color/dark.d.ts +392 -0
- package/dist/lib/color/dark.js +392 -0
- package/dist/lib/color/krdsColors.d.ts +309 -0
- package/dist/lib/color/krdsColors.js +309 -0
- package/dist/lib/color/light.d.ts +392 -0
- package/dist/lib/color/light.js +393 -0
- package/dist/lib/components/Accordion/index.d.ts +22 -0
- package/dist/lib/components/Accordion/index.js +81 -0
- package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +14 -0
- package/dist/lib/components/AlertDialog/AlertDialogAction.js +63 -0
- package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +13 -0
- package/dist/lib/components/AlertDialog/AlertDialogCancel.js +61 -0
- package/dist/lib/components/AlertDialog/AlertDialogContent.d.ts +11 -0
- package/dist/lib/components/AlertDialog/AlertDialogContent.js +52 -0
- package/dist/lib/components/AlertDialog/AlertDialogDescription.d.ts +10 -0
- package/dist/lib/components/AlertDialog/AlertDialogDescription.js +48 -0
- package/dist/lib/components/AlertDialog/AlertDialogRoot.d.ts +16 -0
- package/dist/lib/components/AlertDialog/AlertDialogRoot.js +50 -0
- package/dist/lib/components/AlertDialog/AlertDialogTitle.d.ts +10 -0
- package/dist/lib/components/AlertDialog/AlertDialogTitle.js +48 -0
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +17 -0
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +67 -0
- package/dist/lib/components/AlertDialog/index.d.ts +11 -0
- package/dist/lib/components/AlertDialog/index.js +17 -0
- package/dist/lib/components/AspectRatio/index.d.ts +10 -0
- package/dist/lib/components/AspectRatio/index.js +45 -0
- package/dist/lib/components/Avatar/index.d.ts +21 -0
- package/dist/lib/components/Avatar/index.js +67 -0
- package/dist/lib/components/Badge/index.d.ts +18 -0
- package/dist/lib/components/Badge/index.js +65 -0
- package/dist/lib/components/BarChart/index.d.ts +33 -0
- package/dist/lib/components/BarChart/index.js +63 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.d.ts +9 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.js +34 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbItem.d.ts +6 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbItem.js +32 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbLink.d.ts +10 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbLink.js +47 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbList.d.ts +6 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbList.js +34 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbPage.d.ts +8 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbPage.js +45 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbRoot.d.ts +14 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbRoot.js +59 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.d.ts +9 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.js +34 -0
- package/dist/lib/components/Breadcrumb/index.d.ts +21 -0
- package/dist/lib/components/Breadcrumb/index.js +17 -0
- package/dist/lib/components/BubbleChart/index.d.ts +28 -0
- package/dist/lib/components/BubbleChart/index.js +82 -0
- package/dist/lib/components/Button/index.d.ts +16 -0
- package/dist/lib/components/Button/index.js +67 -0
- package/dist/lib/components/Calendar/index.d.ts +8 -0
- package/dist/lib/components/Calendar/index.js +45 -0
- package/dist/lib/components/Callout/CalloutIcon.d.ts +13 -0
- package/dist/lib/components/Callout/CalloutIcon.js +58 -0
- package/dist/lib/components/Callout/CalloutRoot.d.ts +18 -0
- package/dist/lib/components/Callout/CalloutRoot.js +80 -0
- package/dist/lib/components/Callout/CalloutText.d.ts +10 -0
- package/dist/lib/components/Callout/CalloutText.js +53 -0
- package/dist/lib/components/Callout/index.d.ts +7 -0
- package/dist/lib/components/Callout/index.js +9 -0
- package/dist/lib/components/Card/index.d.ts +14 -0
- package/dist/lib/components/Card/index.js +72 -0
- package/dist/lib/components/Checkbox/index.d.ts +17 -0
- package/dist/lib/components/Checkbox/index.js +98 -0
- package/dist/lib/components/CheckboxCard/index.d.ts +20 -0
- package/dist/lib/components/CheckboxCard/index.js +66 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +5 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +34 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +21 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +59 -0
- package/dist/lib/components/CheckboxGroup/index.d.ts +6 -0
- package/dist/lib/components/CheckboxGroup/index.js +4 -0
- package/dist/lib/components/Collapsible/index.d.ts +21 -0
- package/dist/lib/components/Collapsible/index.js +75 -0
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.d.ts +4 -0
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +43 -0
- package/dist/lib/components/ContextMenu/ContextMenuContent.d.ts +11 -0
- package/dist/lib/components/ContextMenu/ContextMenuContent.js +57 -0
- package/dist/lib/components/ContextMenu/ContextMenuGroup.d.ts +4 -0
- package/dist/lib/components/ContextMenu/ContextMenuGroup.js +30 -0
- package/dist/lib/components/ContextMenu/ContextMenuItem.d.ts +13 -0
- package/dist/lib/components/ContextMenu/ContextMenuItem.js +61 -0
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +10 -0
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +51 -0
- package/dist/lib/components/ContextMenu/ContextMenuLabel.d.ts +11 -0
- package/dist/lib/components/ContextMenu/ContextMenuLabel.js +49 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.d.ts +8 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.js +32 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.d.ts +4 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +45 -0
- package/dist/lib/components/ContextMenu/ContextMenuRoot.d.ts +13 -0
- package/dist/lib/components/ContextMenu/ContextMenuRoot.js +52 -0
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.d.ts +3 -0
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.js +31 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.d.ts +11 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +55 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.d.ts +4 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +42 -0
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.d.ts +4 -0
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.js +31 -0
- package/dist/lib/components/ContextMenu/index.d.ts +17 -0
- package/dist/lib/components/ContextMenu/index.js +29 -0
- package/dist/lib/components/DataList/DataListItem.d.ts +9 -0
- package/dist/lib/components/DataList/DataListItem.js +44 -0
- package/dist/lib/components/DataList/DataListLabel.d.ts +10 -0
- package/dist/lib/components/DataList/DataListLabel.js +50 -0
- package/dist/lib/components/DataList/DataListRoot.d.ts +14 -0
- package/dist/lib/components/DataList/DataListRoot.js +61 -0
- package/dist/lib/components/DataList/DataListValue.d.ts +11 -0
- package/dist/lib/components/DataList/DataListValue.js +52 -0
- package/dist/lib/components/DataList/index.d.ts +8 -0
- package/dist/lib/components/DataList/index.js +6 -0
- package/dist/lib/components/Datepicker/index.d.ts +14 -0
- package/dist/lib/components/Datepicker/index.js +35 -0
- package/dist/lib/components/Dialog/DialogAction.d.ts +11 -0
- package/dist/lib/components/Dialog/DialogAction.js +61 -0
- package/dist/lib/components/Dialog/DialogCancel.d.ts +10 -0
- package/dist/lib/components/Dialog/DialogCancel.js +56 -0
- package/dist/lib/components/Dialog/DialogContent.d.ts +11 -0
- package/dist/lib/components/Dialog/DialogContent.js +58 -0
- package/dist/lib/components/Dialog/DialogDescription.d.ts +9 -0
- package/dist/lib/components/Dialog/DialogDescription.js +48 -0
- package/dist/lib/components/Dialog/DialogRoot.d.ts +12 -0
- package/dist/lib/components/Dialog/DialogRoot.js +46 -0
- package/dist/lib/components/Dialog/DialogSlot.d.ts +8 -0
- package/dist/lib/components/Dialog/DialogSlot.js +47 -0
- package/dist/lib/components/Dialog/DialogTitle.d.ts +9 -0
- package/dist/lib/components/Dialog/DialogTitle.js +48 -0
- package/dist/lib/components/Dialog/DialogTrigger.d.ts +3 -0
- package/dist/lib/components/Dialog/DialogTrigger.js +30 -0
- package/dist/lib/components/Dialog/index.d.ts +15 -0
- package/dist/lib/components/Dialog/index.js +19 -0
- package/dist/lib/components/DoughnutChart/index.d.ts +22 -0
- package/dist/lib/components/DoughnutChart/index.js +65 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.d.ts +3 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.js +30 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +11 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +61 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +7 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +42 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.d.ts +11 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.js +57 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +15 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.js +60 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +10 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +49 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.d.ts +10 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +46 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.d.ts +6 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +42 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +14 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +48 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.d.ts +3 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.js +31 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSub.d.ts +3 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSub.js +30 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.d.ts +4 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +42 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +14 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +54 -0
- package/dist/lib/components/DropdownMenu/index.d.ts +20 -0
- package/dist/lib/components/DropdownMenu/index.js +29 -0
- package/dist/lib/components/Editor/index.d.ts +12 -15
- package/dist/lib/components/Editor/index.js +12 -16
- package/dist/lib/components/Footer/index.d.ts +11 -0
- package/dist/lib/components/Footer/index.js +57 -0
- package/dist/lib/components/Gnb/GnbInfo.d.ts +9 -0
- package/dist/lib/components/Gnb/GnbInfo.js +46 -0
- package/dist/lib/components/Gnb/GnbLogo.d.ts +10 -0
- package/dist/lib/components/Gnb/GnbLogo.js +46 -0
- package/dist/lib/components/Gnb/GnbMenu.d.ts +9 -0
- package/dist/lib/components/Gnb/GnbMenu.js +46 -0
- package/dist/lib/components/Gnb/GnbMenuItem.d.ts +11 -0
- package/dist/lib/components/Gnb/GnbMenuItem.js +46 -0
- package/dist/lib/components/Gnb/GnbRoot.d.ts +11 -0
- package/dist/lib/components/Gnb/GnbRoot.js +53 -0
- package/dist/lib/components/Gnb/index.d.ts +9 -0
- package/dist/lib/components/Gnb/index.js +13 -0
- package/dist/lib/components/Grid/Pagination.d.ts +2 -0
- package/dist/lib/components/Grid/Pagination.js +18 -0
- package/dist/lib/components/Grid/index.d.ts +7 -0
- package/dist/lib/components/Grid/index.js +59 -0
- package/dist/lib/components/Grid/useGrid.d.ts +3 -0
- package/dist/lib/components/Grid/useGrid.js +81 -0
- package/dist/lib/components/HoverCard/HoverCardContent.d.ts +13 -0
- package/dist/lib/components/HoverCard/HoverCardContent.js +62 -0
- package/dist/lib/components/HoverCard/HoverCardRoot.d.ts +11 -0
- package/dist/lib/components/HoverCard/HoverCardRoot.js +48 -0
- package/dist/lib/components/HoverCard/HoverCardTrigger.d.ts +3 -0
- package/dist/lib/components/HoverCard/HoverCardTrigger.js +30 -0
- package/dist/lib/components/HoverCard/index.d.ts +10 -0
- package/dist/lib/components/HoverCard/index.js +9 -0
- package/dist/lib/components/IconButton/index.d.ts +15 -0
- package/dist/lib/components/IconButton/index.js +73 -0
- package/dist/lib/components/Inset/index.d.ts +10 -0
- package/dist/lib/components/Inset/index.js +57 -0
- package/dist/lib/components/Label/index.d.ts +20 -0
- package/dist/lib/components/Label/index.js +64 -0
- package/dist/lib/components/LineChart/index.d.ts +43 -0
- package/dist/lib/components/LineChart/index.js +61 -0
- package/dist/lib/components/Menubar/MenubarCheckboxItem.d.ts +4 -0
- package/dist/lib/components/Menubar/MenubarCheckboxItem.js +40 -0
- package/dist/lib/components/Menubar/MenubarContent.d.ts +11 -0
- package/dist/lib/components/Menubar/MenubarContent.js +61 -0
- package/dist/lib/components/Menubar/MenubarItem.d.ts +13 -0
- package/dist/lib/components/Menubar/MenubarItem.js +56 -0
- package/dist/lib/components/Menubar/MenubarItemIndicator.d.ts +10 -0
- package/dist/lib/components/Menubar/MenubarItemIndicator.js +50 -0
- package/dist/lib/components/Menubar/MenubarMenu.d.ts +5 -0
- package/dist/lib/components/Menubar/MenubarMenu.js +30 -0
- package/dist/lib/components/Menubar/MenubarRadioGroup.d.ts +8 -0
- package/dist/lib/components/Menubar/MenubarRadioGroup.js +32 -0
- package/dist/lib/components/Menubar/MenubarRadioItem.d.ts +4 -0
- package/dist/lib/components/Menubar/MenubarRadioItem.js +42 -0
- package/dist/lib/components/Menubar/MenubarRoot.d.ts +19 -0
- package/dist/lib/components/Menubar/MenubarRoot.js +73 -0
- package/dist/lib/components/Menubar/MenubarSeparator.d.ts +3 -0
- package/dist/lib/components/Menubar/MenubarSeparator.js +31 -0
- package/dist/lib/components/Menubar/MenubarSub.d.ts +3 -0
- package/dist/lib/components/Menubar/MenubarSub.js +30 -0
- package/dist/lib/components/Menubar/MenubarSubContent.d.ts +10 -0
- package/dist/lib/components/Menubar/MenubarSubContent.js +52 -0
- package/dist/lib/components/Menubar/MenubarSubTrigger.d.ts +4 -0
- package/dist/lib/components/Menubar/MenubarSubTrigger.js +43 -0
- package/dist/lib/components/Menubar/MenubarTrigger.d.ts +12 -0
- package/dist/lib/components/Menubar/MenubarTrigger.js +58 -0
- package/dist/lib/components/Menubar/index.d.ts +19 -0
- package/dist/lib/components/Menubar/index.js +29 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.d.ts +11 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +49 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.d.ts +3 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +31 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuItem.d.ts +3 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuItem.js +30 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.d.ts +13 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +53 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuList.d.ts +12 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuList.js +49 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +14 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +53 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +13 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +60 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +12 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +54 -0
- package/dist/lib/components/NavigationMenu/index.d.ts +12 -0
- package/dist/lib/components/NavigationMenu/index.js +10 -0
- package/dist/lib/components/PieChart/index.d.ts +22 -0
- package/dist/lib/components/PieChart/index.js +65 -0
- package/dist/lib/components/Popover/PopoverClose.d.ts +9 -0
- package/dist/lib/components/Popover/PopoverClose.js +49 -0
- package/dist/lib/components/Popover/PopoverContent.d.ts +13 -0
- package/dist/lib/components/Popover/PopoverContent.js +66 -0
- package/dist/lib/components/Popover/PopoverRoot.d.ts +11 -0
- package/dist/lib/components/Popover/PopoverRoot.js +43 -0
- package/dist/lib/components/Popover/PopoverTrigger.d.ts +3 -0
- package/dist/lib/components/Popover/PopoverTrigger.js +30 -0
- package/dist/lib/components/Popover/index.d.ts +11 -0
- package/dist/lib/components/Popover/index.js +11 -0
- package/dist/lib/components/Progress/index.d.ts +13 -0
- package/dist/lib/components/Progress/index.js +67 -0
- package/dist/lib/components/RadarChart/index.d.ts +32 -0
- package/dist/lib/components/RadarChart/index.js +85 -0
- package/dist/lib/components/Radio/index.d.ts +13 -0
- package/dist/lib/components/Radio/index.js +60 -0
- package/dist/lib/components/RadioCards/RadioCardsItem.d.ts +10 -0
- package/dist/lib/components/RadioCards/RadioCardsItem.js +55 -0
- package/dist/lib/components/RadioCards/RadioCardsRoot.d.ts +13 -0
- package/dist/lib/components/RadioCards/RadioCardsRoot.js +56 -0
- package/dist/lib/components/RadioCards/index.d.ts +6 -0
- package/dist/lib/components/RadioCards/index.js +7 -0
- package/dist/lib/components/RadioGroup/RadioGroupItem.d.ts +12 -0
- package/dist/lib/components/RadioGroup/RadioGroupItem.js +47 -0
- package/dist/lib/components/RadioGroup/RadioGroupRoot.d.ts +15 -0
- package/dist/lib/components/RadioGroup/RadioGroupRoot.js +62 -0
- package/dist/lib/components/RadioGroup/index.d.ts +6 -0
- package/dist/lib/components/RadioGroup/index.js +7 -0
- package/dist/lib/components/ScrollArea/index.d.ts +9 -0
- package/dist/lib/components/ScrollArea/index.js +39 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.d.ts +6 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.js +35 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +14 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +55 -0
- package/dist/lib/components/SegmentedControl/index.d.ts +6 -0
- package/dist/lib/components/SegmentedControl/index.js +7 -0
- package/dist/lib/components/Select/index.d.ts +36 -0
- package/dist/lib/components/Select/index.js +112 -0
- package/dist/lib/components/Separator/index.d.ts +11 -0
- package/dist/lib/components/Separator/index.js +55 -0
- package/dist/lib/components/SideBar/index.d.ts +21 -0
- package/dist/lib/components/SideBar/index.js +71 -0
- package/dist/lib/components/Skeleton/index.d.ts +14 -0
- package/dist/lib/components/Skeleton/index.js +46 -0
- package/dist/lib/components/Slider/index.d.ts +15 -0
- package/dist/lib/components/Slider/index.js +56 -0
- package/dist/lib/components/Spinner/index.d.ts +15 -0
- package/dist/lib/components/Spinner/index.js +50 -0
- package/dist/lib/components/TabNav/index.d.ts +15 -0
- package/dist/lib/components/TabNav/index.js +53 -0
- package/dist/lib/components/Table/index.d.ts +30 -0
- package/dist/lib/components/Table/index.js +104 -0
- package/dist/lib/components/Tabs/DynamicTabs.d.ts +30 -0
- package/dist/lib/components/Tabs/DynamicTabs.js +72 -0
- package/dist/lib/components/Tabs/index.d.ts +23 -0
- package/dist/lib/components/Tabs/index.js +68 -0
- package/dist/lib/components/TextArea/index.d.ts +16 -0
- package/dist/lib/components/TextArea/index.js +66 -0
- package/dist/lib/components/TextField/index.d.ts +21 -0
- package/dist/lib/components/TextField/index.js +64 -0
- package/dist/lib/components/Timeline/TimelineConnector.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineConnector.js +34 -0
- package/dist/lib/components/Timeline/TimelineContent.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineContent.js +34 -0
- package/dist/lib/components/Timeline/TimelineDescription.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineDescription.js +34 -0
- package/dist/lib/components/Timeline/TimelineHeader.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineHeader.js +34 -0
- package/dist/lib/components/Timeline/TimelineIcon.d.ts +8 -0
- package/dist/lib/components/Timeline/TimelineIcon.js +43 -0
- package/dist/lib/components/Timeline/TimelineItem.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineItem.js +34 -0
- package/dist/lib/components/Timeline/TimelineRoot.d.ts +11 -0
- package/dist/lib/components/Timeline/TimelineRoot.js +53 -0
- package/dist/lib/components/Timeline/TimelineTime.d.ts +8 -0
- package/dist/lib/components/Timeline/TimelineTime.js +46 -0
- package/dist/lib/components/Timeline/TimelineTitle.d.ts +8 -0
- package/dist/lib/components/Timeline/TimelineTitle.js +46 -0
- package/dist/lib/components/Timeline/index.d.ts +13 -0
- package/dist/lib/components/Timeline/index.js +21 -0
- package/dist/lib/components/Toast/ToastActionButton.d.ts +14 -0
- package/dist/lib/components/Toast/ToastActionButton.js +72 -0
- package/dist/lib/components/Toast/ToastDescription.d.ts +13 -0
- package/dist/lib/components/Toast/ToastDescription.js +54 -0
- package/dist/lib/components/Toast/ToastRoot.d.ts +27 -0
- package/dist/lib/components/Toast/ToastRoot.js +98 -0
- package/dist/lib/components/Toast/ToastTitle.d.ts +13 -0
- package/dist/lib/components/Toast/ToastTitle.js +54 -0
- package/dist/lib/components/Toast/index.d.ts +8 -0
- package/dist/lib/components/Toast/index.js +11 -0
- package/dist/lib/components/Toggle/ToggleWithText.d.ts +21 -0
- package/dist/lib/components/Toggle/ToggleWithText.js +69 -0
- package/dist/lib/components/Toggle/index.d.ts +21 -0
- package/dist/lib/components/Toggle/index.js +69 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.d.ts +17 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.js +55 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +15 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +58 -0
- package/dist/lib/components/ToggleGroup/index.d.ts +6 -0
- package/dist/lib/components/ToggleGroup/index.js +7 -0
- package/dist/lib/components/ToggleSwitch/index.d.ts +13 -0
- package/dist/lib/components/ToggleSwitch/index.js +82 -0
- package/dist/lib/components/Tooltip/index.d.ts +19 -0
- package/dist/lib/components/Tooltip/index.js +54 -0
- package/dist/lib/components/index.d.ts +61 -1
- package/dist/lib/components/index.js +64 -1
- package/dist/lib/constants.d.ts +647 -0
- package/dist/lib/constants.js +895 -0
- package/dist/lib/dist/lib/Typography/Header/index.mjs +3 -0
- package/dist/lib/dist/lib/Typography/Text/index.mjs +3 -0
- package/dist/lib/dist/lib/Typography/Text/index.mjs.map +1 -0
- package/dist/lib/dist/lib/color/alpha.mjs +2 -0
- package/dist/lib/dist/lib/color/alpha.mjs.map +1 -0
- package/dist/lib/dist/lib/color/constants.mjs +2 -0
- package/dist/lib/dist/lib/color/constants.mjs.map +1 -0
- package/dist/lib/dist/lib/color/light.mjs +2 -0
- package/dist/lib/dist/lib/color/light.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Accordion/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Accordion/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogAction.mjs +3 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogCancel.mjs +3 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogContent.mjs +3 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogDescription.mjs +3 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTitle.mjs +3 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/index.mjs +2 -0
- package/dist/lib/dist/lib/components/AlertDialog/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AspectRatio/index.mjs +3 -0
- package/dist/lib/dist/lib/components/AspectRatio/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Avatar/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Avatar/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Badge/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Badge/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/BarChart/index.mjs +2 -0
- package/dist/lib/dist/lib/components/BarChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/BubbleChart/index.mjs +2 -0
- package/dist/lib/dist/lib/components/BubbleChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Button/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Button/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Calendar/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Calendar/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Callout/CalloutIcon.mjs +3 -0
- package/dist/lib/dist/lib/components/Callout/CalloutIcon.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Callout/CalloutRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Callout/CalloutRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Callout/CalloutText.mjs +3 -0
- package/dist/lib/dist/lib/components/Callout/CalloutText.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Callout/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Callout/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Card/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Card/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Checkbox/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Checkbox/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/CheckboxCard/index.mjs +3 -0
- package/dist/lib/dist/lib/components/CheckboxCard/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs +3 -0
- package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/CheckboxGroup/index.mjs +2 -0
- package/dist/lib/dist/lib/components/CheckboxGroup/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Collapsible/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Collapsible/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuContent.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuGroup.mjs +2 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItem.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuLabel.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs +2 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs +2 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/index.mjs +2 -0
- package/dist/lib/dist/lib/components/ContextMenu/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DataList/DataListItem.mjs +3 -0
- package/dist/lib/dist/lib/components/DataList/DataListItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DataList/DataListLabel.mjs +3 -0
- package/dist/lib/dist/lib/components/DataList/DataListLabel.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DataList/DataListRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/DataList/DataListRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DataList/DataListValue.mjs +3 -0
- package/dist/lib/dist/lib/components/DataList/DataListValue.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DataList/index.mjs +2 -0
- package/dist/lib/dist/lib/components/DataList/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Datepicker/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Datepicker/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogAction.mjs +3 -0
- package/dist/lib/dist/lib/components/Dialog/DialogAction.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogCancel.mjs +3 -0
- package/dist/lib/dist/lib/components/Dialog/DialogCancel.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogContent.mjs +3 -0
- package/dist/lib/dist/lib/components/Dialog/DialogContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogDescription.mjs +3 -0
- package/dist/lib/dist/lib/components/Dialog/DialogDescription.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Dialog/DialogRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogSlot.mjs +3 -0
- package/dist/lib/dist/lib/components/Dialog/DialogSlot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogTitle.mjs +3 -0
- package/dist/lib/dist/lib/components/Dialog/DialogTitle.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogTrigger.mjs +2 -0
- package/dist/lib/dist/lib/components/Dialog/DialogTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Dialog/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DoughnutChart/index.mjs +2 -0
- package/dist/lib/dist/lib/components/DoughnutChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs +2 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs +2 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs +2 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/index.mjs +2 -0
- package/dist/lib/dist/lib/components/DropdownMenu/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Footer/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Footer/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Gnb/GnbInfo.mjs +3 -0
- package/dist/lib/dist/lib/components/Gnb/GnbInfo.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Gnb/GnbLogo.mjs +2 -0
- package/dist/lib/dist/lib/components/Gnb/GnbLogo.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Gnb/GnbMenu.mjs +3 -0
- package/dist/lib/dist/lib/components/Gnb/GnbMenu.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Gnb/GnbMenuItem.mjs +3 -0
- package/dist/lib/dist/lib/components/Gnb/GnbMenuItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Gnb/GnbRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Gnb/GnbRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Gnb/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Gnb/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Grid/Pagination.mjs +2 -0
- package/dist/lib/dist/lib/components/Grid/Pagination.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Grid/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Grid/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Grid/useGrid.mjs +3 -0
- package/dist/lib/dist/lib/components/Grid/useGrid.mjs.map +1 -0
- package/dist/lib/dist/lib/components/HoverCard/HoverCardContent.mjs +3 -0
- package/dist/lib/dist/lib/components/HoverCard/HoverCardContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/HoverCard/HoverCardRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/HoverCard/HoverCardRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/HoverCard/HoverCardTrigger.mjs +2 -0
- package/dist/lib/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/HoverCard/index.mjs +2 -0
- package/dist/lib/dist/lib/components/HoverCard/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/IconButton/index.mjs +3 -0
- package/dist/lib/dist/lib/components/IconButton/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Inset/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Inset/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Label/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Label/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/LineChart/index.mjs +2 -0
- package/dist/lib/dist/lib/components/LineChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarCheckboxItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarContent.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarItem.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarItemIndicator.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarMenu.mjs +2 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarMenu.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarRadioGroup.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarRadioGroup.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarRadioItem.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarRadioItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSeparator.mjs +2 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSeparator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSub.mjs +2 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSub.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSubContent.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSubContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSubTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSubTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Menubar/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs +2 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs +2 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/index.mjs +2 -0
- package/dist/lib/dist/lib/components/NavigationMenu/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/PieChart/index.mjs +2 -0
- package/dist/lib/dist/lib/components/PieChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Popover/PopoverClose.mjs +3 -0
- package/dist/lib/dist/lib/components/Popover/PopoverClose.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Popover/PopoverContent.mjs +3 -0
- package/dist/lib/dist/lib/components/Popover/PopoverContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Popover/PopoverRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Popover/PopoverRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Popover/PopoverTrigger.mjs +2 -0
- package/dist/lib/dist/lib/components/Popover/PopoverTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Popover/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Popover/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Progress/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Progress/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadarChart/index.mjs +2 -0
- package/dist/lib/dist/lib/components/RadarChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Radio/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Radio/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadioCards/RadioCardsItem.mjs +3 -0
- package/dist/lib/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadioCards/RadioCardsRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/RadioCards/RadioCardsRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadioCards/index.mjs +2 -0
- package/dist/lib/dist/lib/components/RadioCards/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadioGroup/RadioGroupItem.mjs +3 -0
- package/dist/lib/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/RadioGroup/RadioGroupRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadioGroup/index.mjs +2 -0
- package/dist/lib/dist/lib/components/RadioGroup/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ScrollArea/index.mjs +3 -0
- package/dist/lib/dist/lib/components/ScrollArea/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs +2 -0
- package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/SegmentedControl/index.mjs +2 -0
- package/dist/lib/dist/lib/components/SegmentedControl/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Select/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Select/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Separator/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Separator/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/SideBar/index.mjs +3 -0
- package/dist/lib/dist/lib/components/SideBar/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Skeleton/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Skeleton/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Slider/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Slider/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Spinner/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Spinner/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/TabNav/index.mjs +3 -0
- package/dist/lib/dist/lib/components/TabNav/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Table/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Table/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Tabs/DynamicTabs.mjs +2 -0
- package/dist/lib/dist/lib/components/Tabs/DynamicTabs.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Tabs/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Tabs/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/TextArea/index.mjs +3 -0
- package/dist/lib/dist/lib/components/TextArea/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/TextField/index.mjs +3 -0
- package/dist/lib/dist/lib/components/TextField/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineConnector.mjs +2 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineConnector.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineContent.mjs +2 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineDescription.mjs +2 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineDescription.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineHeader.mjs +2 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineHeader.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineIcon.mjs +3 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineIcon.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineItem.mjs +2 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineTime.mjs +3 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineTime.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineTitle.mjs +3 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineTitle.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Timeline/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toast/ToastActionButton.mjs +3 -0
- package/dist/lib/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toast/ToastDescription.mjs +3 -0
- package/dist/lib/dist/lib/components/Toast/ToastDescription.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toast/ToastRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Toast/ToastRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toast/ToastTitle.mjs +3 -0
- package/dist/lib/dist/lib/components/Toast/ToastTitle.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toast/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Toast/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toggle/ToggleWithText.mjs +3 -0
- package/dist/lib/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toggle/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Toggle/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +3 -0
- package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ToggleGroup/index.mjs +2 -0
- package/dist/lib/dist/lib/components/ToggleGroup/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ToggleSwitch/index.mjs +3 -0
- package/dist/lib/dist/lib/components/ToggleSwitch/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Tooltip/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Tooltip/index.mjs.map +1 -0
- package/dist/lib/dist/lib/constants.mjs +2 -0
- package/dist/lib/dist/lib/constants.mjs.map +1 -0
- package/dist/lib/dist/lib/index.mjs +2 -0
- package/dist/lib/dist/lib/index.mjs.map +1 -0
- package/dist/lib/dist/lib/theme/ThemeProvider.mjs +3 -0
- package/dist/lib/dist/lib/theme/ThemeProvider.mjs.map +1 -0
- package/dist/lib/dist/lib/utils/useDarkMode.mjs +3 -0
- package/dist/lib/dist/lib/utils/useDarkMode.mjs.map +1 -0
- package/dist/lib/dist/lib/utils/useWindowSize.mjs +2 -0
- package/dist/lib/dist/lib/utils/useWindowSize.mjs.map +1 -0
- package/dist/lib/dist/lib/utils/utils.mjs.map +1 -0
- package/dist/lib/index.d.ts +2 -0
- package/dist/lib/index.js +2 -0
- package/dist/lib/node_modules/@babel/runtime/helpers/esm/typeof.mjs +2 -0
- package/dist/lib/node_modules/@babel/runtime/helpers/esm/typeof.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/addLeadingZeros/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/addLeadingZeros/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/defaultLocale/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/defaultLocale/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/defaultOptions/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/defaultOptions/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/format/formatters/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/format/formatters/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/format/lightFormatters/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/format/lightFormatters/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/format/longFormatters/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/format/longFormatters/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/protectedTokens/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/protectedTokens/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/requiredArgs/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/requiredArgs/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/toInteger/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/toInteger/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/addDays/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/addDays/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/addMilliseconds/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/addMilliseconds/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/addMonths/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/addMonths/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/addWeeks/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/addWeeks/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/addYears/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/addYears/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/differenceInCalendarDays/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/differenceInCalendarDays/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/differenceInCalendarMonths/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/differenceInCalendarMonths/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/differenceInCalendarWeeks/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/differenceInCalendarWeeks/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/endOfISOWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/endOfISOWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/endOfMonth/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/endOfMonth/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/endOfWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/endOfWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/format/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/format/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/getDaysInMonth/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/getDaysInMonth/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/getISOWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/getISOWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/getISOWeekYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/getISOWeekYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/getTime/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/getTime/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/getUnixTime/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/getUnixTime/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/getWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/getWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/getWeekYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/getWeekYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/getWeeksInMonth/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/getWeeksInMonth/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/isAfter/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/isAfter/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/isBefore/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/isBefore/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/isDate/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/isDate/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/isSameDay/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/isSameDay/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/isSameMonth/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/isSameMonth/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/isSameYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/isSameYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/isValid/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/isValid/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/lastDayOfMonth/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/lastDayOfMonth/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/match/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/match/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatDistance/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatDistance/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatLong/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatLong/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatRelative/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatRelative/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/localize/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/localize/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/match/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/match/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/max/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/max/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/min/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/min/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/setMonth/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/setMonth/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/setYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/setYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/startOfDay/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/startOfDay/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/startOfISOWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/startOfISOWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/startOfISOWeekYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/startOfISOWeekYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/startOfMonth/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/startOfMonth/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/startOfWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/startOfWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/startOfWeekYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/startOfWeekYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/startOfYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/startOfYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/subDays/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/subDays/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/subMilliseconds/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/subMilliseconds/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/toDate/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/toDate/index.mjs.map +1 -0
- package/dist/lib/node_modules/object-assign/index.mjs +7 -0
- package/dist/lib/node_modules/object-assign/index.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/checkPropTypes.mjs +2 -0
- package/dist/lib/node_modules/prop-types/checkPropTypes.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/factoryWithThrowingShims.mjs +2 -0
- package/dist/lib/node_modules/prop-types/factoryWithThrowingShims.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/factoryWithTypeCheckers.mjs +2 -0
- package/dist/lib/node_modules/prop-types/factoryWithTypeCheckers.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/index.mjs +2 -0
- package/dist/lib/node_modules/prop-types/index.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/lib/ReactPropTypesSecret.mjs +2 -0
- package/dist/lib/node_modules/prop-types/lib/ReactPropTypesSecret.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/lib/has.mjs +2 -0
- package/dist/lib/node_modules/prop-types/lib/has.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.mjs +10 -0
- package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.mjs +10 -0
- package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/node_modules/react-is/index.mjs +2 -0
- package/dist/lib/node_modules/prop-types/node_modules/react-is/index.mjs.map +1 -0
- package/dist/lib/node_modules/react-day-picker/dist/index.esm.mjs +2 -0
- package/dist/lib/node_modules/react-day-picker/dist/index.esm.mjs.map +1 -0
- package/dist/lib/node_modules/react-pro-sidebar/dist/index.es.mjs +21 -0
- package/dist/lib/node_modules/react-pro-sidebar/dist/index.es.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/components/Tab.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/components/Tab.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/components/TabList.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/components/TabList.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/components/TabPanel.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/components/TabPanel.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/components/Tabs.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/components/Tabs.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/components/UncontrolledTabs.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/components/UncontrolledTabs.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/helpers/childrenDeepMap.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/helpers/childrenDeepMap.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/helpers/count.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/helpers/count.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/helpers/elementTypes.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/helpers/elementTypes.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/helpers/propTypes.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/helpers/propTypes.mjs.map +1 -0
- package/dist/lib/theme/ThemeProvider.d.ts +16 -0
- package/dist/lib/theme/ThemeProvider.js +29 -0
- package/dist/lib/theme/index.d.ts +2 -0
- package/dist/lib/theme/index.js +2 -0
- package/dist/lib/tsconfig.tsbuildinfo +1 -1
- package/dist/lib/types.d.ts +85 -0
- package/dist/lib/utils/classPrefixes.d.ts +3 -0
- package/dist/lib/utils/classPrefixes.js +29 -0
- package/dist/lib/utils/useDarkMode.d.ts +1 -0
- package/dist/lib/utils/useDarkMode.js +50 -0
- package/dist/lib/utils/useWindowSize.d.ts +1 -0
- package/dist/lib/utils/useWindowSize.js +17 -0
- package/dist/tailwind.config.js +98 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +57 -10
- package/dist/lib/components/Editor/index.mjs +0 -3
- package/dist/lib/constants.mjs +0 -2
- package/dist/lib/constants.mjs.map +0 -1
- package/dist/lib/index.mjs +0 -2
- package/dist/lib/utils/utils.mjs.map +0 -1
- package/dist/post-tinymce.js +0 -22
- package/public/tinymce/CHANGELOG.md +0 -3453
- package/public/tinymce/README.md +0 -73
- package/public/tinymce/bower.json +0 -27
- package/public/tinymce/composer.json +0 -52
- package/public/tinymce/icons/default/icons.js +0 -194
- package/public/tinymce/icons/default/icons.min.js +0 -1
- package/public/tinymce/icons/default/icons.mjs +0 -2
- package/public/tinymce/icons/default/icons.mjs.map +0 -1
- package/public/tinymce/icons/default/index.d.ts +0 -1
- package/public/tinymce/icons/default/index.js +0 -7
- package/public/tinymce/icons/default/index.mjs +0 -2
- package/public/tinymce/icons/default/index.mjs.map +0 -1
- package/public/tinymce/license.txt +0 -21
- package/public/tinymce/models/dom/index.d.ts +0 -1
- package/public/tinymce/models/dom/index.js +0 -7
- package/public/tinymce/models/dom/index.mjs +0 -2
- package/public/tinymce/models/dom/index.mjs.map +0 -1
- package/public/tinymce/models/dom/model.js +0 -8040
- package/public/tinymce/models/dom/model.min.js +0 -4
- package/public/tinymce/models/dom/model.mjs +0 -2
- package/public/tinymce/models/dom/model.mjs.map +0 -1
- package/public/tinymce/package.json +0 -32
- package/public/tinymce/plugins/advlist/index.d.ts +0 -1
- package/public/tinymce/plugins/advlist/index.js +0 -7
- package/public/tinymce/plugins/advlist/index.mjs +0 -2
- package/public/tinymce/plugins/advlist/index.mjs.map +0 -1
- package/public/tinymce/plugins/advlist/plugin.js +0 -259
- package/public/tinymce/plugins/advlist/plugin.min.js +0 -4
- package/public/tinymce/plugins/advlist/plugin.mjs +0 -2
- package/public/tinymce/plugins/advlist/plugin.mjs.map +0 -1
- package/public/tinymce/plugins/autolink/index.js +0 -7
- package/public/tinymce/plugins/autolink/plugin.js +0 -228
- package/public/tinymce/plugins/autolink/plugin.min.js +0 -4
- package/public/tinymce/plugins/code/index.d.ts +0 -1
- package/public/tinymce/plugins/code/index.js +0 -7
- package/public/tinymce/plugins/code/index.mjs +0 -2
- package/public/tinymce/plugins/code/index.mjs.map +0 -1
- package/public/tinymce/plugins/code/plugin.js +0 -85
- package/public/tinymce/plugins/code/plugin.min.js +0 -4
- package/public/tinymce/plugins/code/plugin.mjs +0 -2
- package/public/tinymce/plugins/code/plugin.mjs.map +0 -1
- package/public/tinymce/plugins/codesample/index.d.ts +0 -1
- package/public/tinymce/plugins/codesample/index.js +0 -7
- package/public/tinymce/plugins/codesample/index.mjs +0 -2
- package/public/tinymce/plugins/codesample/index.mjs.map +0 -1
- package/public/tinymce/plugins/codesample/plugin.d.ts +0 -45
- package/public/tinymce/plugins/codesample/plugin.js +0 -2463
- package/public/tinymce/plugins/codesample/plugin.min.js +0 -4
- package/public/tinymce/plugins/codesample/plugin.mjs +0 -2
- package/public/tinymce/plugins/codesample/plugin.mjs.map +0 -1
- package/public/tinymce/plugins/image/index.d.ts +0 -1
- package/public/tinymce/plugins/image/index.js +0 -7
- package/public/tinymce/plugins/image/index.mjs +0 -2
- package/public/tinymce/plugins/image/index.mjs.map +0 -1
- package/public/tinymce/plugins/image/plugin.js +0 -1505
- package/public/tinymce/plugins/image/plugin.min.js +0 -4
- package/public/tinymce/plugins/image/plugin.mjs +0 -2
- package/public/tinymce/plugins/image/plugin.mjs.map +0 -1
- package/public/tinymce/plugins/link/index.d.ts +0 -1
- package/public/tinymce/plugins/link/index.js +0 -7
- package/public/tinymce/plugins/link/index.mjs +0 -2
- package/public/tinymce/plugins/link/index.mjs.map +0 -1
- package/public/tinymce/plugins/link/plugin.js +0 -1242
- package/public/tinymce/plugins/link/plugin.min.js +0 -4
- package/public/tinymce/plugins/link/plugin.mjs +0 -2
- package/public/tinymce/plugins/link/plugin.mjs.map +0 -1
- package/public/tinymce/plugins/lists/index.d.ts +0 -1
- package/public/tinymce/plugins/lists/index.js +0 -7
- package/public/tinymce/plugins/lists/index.mjs +0 -2
- package/public/tinymce/plugins/lists/index.mjs.map +0 -1
- package/public/tinymce/plugins/lists/plugin.js +0 -2172
- package/public/tinymce/plugins/lists/plugin.min.js +0 -4
- package/public/tinymce/plugins/lists/plugin.mjs +0 -2
- package/public/tinymce/plugins/lists/plugin.mjs.map +0 -1
- package/public/tinymce/plugins/table/index.d.ts +0 -1
- package/public/tinymce/plugins/table/index.js +0 -7
- package/public/tinymce/plugins/table/index.mjs +0 -2
- package/public/tinymce/plugins/table/index.mjs.map +0 -1
- package/public/tinymce/plugins/table/plugin.js +0 -3462
- package/public/tinymce/plugins/table/plugin.min.js +0 -4
- package/public/tinymce/plugins/table/plugin.mjs +0 -2
- package/public/tinymce/plugins/table/plugin.mjs.map +0 -1
- package/public/tinymce/skins/content/default/content.css +0 -61
- package/public/tinymce/skins/content/default/content.js +0 -2
- package/public/tinymce/skins/content/default/content.min.css +0 -1
- package/public/tinymce/skins/content/default/content.mjs +0 -2
- package/public/tinymce/skins/content/default/content.mjs.map +0 -1
- package/public/tinymce/skins/ui/oxide/content.css +0 -785
- package/public/tinymce/skins/ui/oxide/content.inline.css +0 -779
- package/public/tinymce/skins/ui/oxide/content.inline.js +0 -2
- package/public/tinymce/skins/ui/oxide/content.inline.min.css +0 -1
- package/public/tinymce/skins/ui/oxide/content.js +0 -2
- package/public/tinymce/skins/ui/oxide/content.min.css +0 -1
- package/public/tinymce/skins/ui/oxide/content.mjs +0 -2
- package/public/tinymce/skins/ui/oxide/content.mjs.map +0 -1
- package/public/tinymce/skins/ui/oxide/skin.css +0 -3763
- package/public/tinymce/skins/ui/oxide/skin.js +0 -2
- package/public/tinymce/skins/ui/oxide/skin.min.css +0 -1
- package/public/tinymce/skins/ui/oxide/skin.mjs +0 -2
- package/public/tinymce/skins/ui/oxide/skin.mjs.map +0 -1
- package/public/tinymce/skins/ui/oxide/skin.shadowdom.css +0 -30
- package/public/tinymce/skins/ui/oxide/skin.shadowdom.js +0 -2
- package/public/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -1
- package/public/tinymce/skins/ui/oxide-dark/content.css +0 -766
- package/public/tinymce/skins/ui/oxide-dark/content.inline.css +0 -779
- package/public/tinymce/skins/ui/oxide-dark/content.inline.js +0 -2
- package/public/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -1
- package/public/tinymce/skins/ui/oxide-dark/content.js +0 -2
- package/public/tinymce/skins/ui/oxide-dark/content.min.css +0 -1
- package/public/tinymce/skins/ui/oxide-dark/skin.css +0 -3766
- package/public/tinymce/skins/ui/oxide-dark/skin.js +0 -2
- package/public/tinymce/skins/ui/oxide-dark/skin.min.css +0 -1
- package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +0 -30
- package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +0 -2
- package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -1
- package/public/tinymce/themes/silver/index.d.ts +0 -1
- package/public/tinymce/themes/silver/index.js +0 -7
- package/public/tinymce/themes/silver/index.mjs +0 -2
- package/public/tinymce/themes/silver/index.mjs.map +0 -1
- package/public/tinymce/themes/silver/theme.js +0 -30775
- package/public/tinymce/themes/silver/theme.min.js +0 -384
- package/public/tinymce/themes/silver/theme.mjs +0 -2
- package/public/tinymce/themes/silver/theme.mjs.map +0 -1
- package/public/tinymce/tinymce.d.ts +0 -3238
- package/public/tinymce/tinymce.js +0 -31779
- package/public/tinymce/tinymce.min.js +0 -384
- package/public/tinymce/tinymce.mjs +0 -2
- package/public/tinymce/tinymce.mjs.map +0 -1
- /package/dist/lib/{index.mjs.map → _virtual/index.mjs.map} +0 -0
- /package/dist/lib/{components/Editor → dist/lib/Typography/Header}/index.mjs.map +0 -0
- /package/dist/lib/{utils → dist/lib/utils}/utils.mjs +0 -0
- /package/dist/{post-tinymce.d.ts → lib/types.js} +0 -0
package/dist/lib/constants.js
CHANGED
@@ -1,3 +1,81 @@
|
|
1
|
+
import { ColorStyle, DarkColorStyle, MAIN_COLOR, colorOptions } from '../lib/color/constants';
|
2
|
+
export var radiusOptions = ['none', 'small', 'medium', 'large', 'full'];
|
3
|
+
export var typoSizeOptions = ['1', '2', '3', '4', '5', '6', '7', '8', '9'];
|
4
|
+
export var scalingOptions = ['90%', '95%', '100%', '105%', '110%'];
|
5
|
+
export var sizeOptions = ['x-small', 'small', 'medium', 'large', 'x-large'];
|
6
|
+
export var weightOptions = ['regular', 'medium', 'semibold', 'bold'];
|
7
|
+
export var themeOptions = ['light', 'dark'];
|
8
|
+
export var appearanceOptions = [
|
9
|
+
'classic',
|
10
|
+
'ghost',
|
11
|
+
'outline',
|
12
|
+
'soft',
|
13
|
+
'solid',
|
14
|
+
'surface',
|
15
|
+
];
|
16
|
+
//차트
|
17
|
+
export var labelPositionList = ['top', 'bottom', 'left', 'right'];
|
18
|
+
export var pointStyleList = [
|
19
|
+
'circle',
|
20
|
+
'cross',
|
21
|
+
'crossRot',
|
22
|
+
'dash',
|
23
|
+
'line',
|
24
|
+
'rect',
|
25
|
+
'rectRounded',
|
26
|
+
'rectRot',
|
27
|
+
'star',
|
28
|
+
'triangle',
|
29
|
+
false,
|
30
|
+
];
|
31
|
+
export var radiusVariants = {
|
32
|
+
// 체크박스
|
33
|
+
small: {
|
34
|
+
none: 'rounded-none',
|
35
|
+
small: 'rounded-[3px]',
|
36
|
+
medium: 'rounded',
|
37
|
+
large: 'rounded',
|
38
|
+
full: 'rounded',
|
39
|
+
},
|
40
|
+
// 라디오버튼, 스위치, 태그, 배지, 버튼, 텍스트인풋, 텍스트영역, 페이지네이션
|
41
|
+
base: {
|
42
|
+
none: 'rounded-none',
|
43
|
+
small: 'rounded-[3px]',
|
44
|
+
medium: 'rounded', // 4px
|
45
|
+
large: 'rounded-md', // 6px
|
46
|
+
full: 'rounded-full',
|
47
|
+
},
|
48
|
+
// 배너
|
49
|
+
large: {
|
50
|
+
none: 'rounded-none',
|
51
|
+
small: 'rounded',
|
52
|
+
medium: 'rounded-lg', // 8px
|
53
|
+
large: 'rounded-xl', // 12px
|
54
|
+
full: 'rounded-2xl', // 16px
|
55
|
+
},
|
56
|
+
// 다이얼로그, 바텀시트, 그리드, 카드
|
57
|
+
'extra-large': {
|
58
|
+
none: 'rounded-none',
|
59
|
+
small: 'rounded',
|
60
|
+
medium: 'rounded-lg',
|
61
|
+
large: 'rounded-xl',
|
62
|
+
full: 'rounded-xl',
|
63
|
+
},
|
64
|
+
// Dropdown, Context Menu 아이템
|
65
|
+
'menu-item': {
|
66
|
+
none: 'rounded-none',
|
67
|
+
small: 'rounded-[1px]',
|
68
|
+
medium: 'rounded-sm',
|
69
|
+
large: 'rounded',
|
70
|
+
full: 'rounded',
|
71
|
+
},
|
72
|
+
};
|
73
|
+
export var weightVariants = {
|
74
|
+
regular: 'font-normal', // 400
|
75
|
+
medium: 'font-medium', // 500
|
76
|
+
semibold: 'font-semibold', // 600
|
77
|
+
bold: 'font-bold', // 700
|
78
|
+
};
|
1
79
|
export var scalingVariants = {
|
2
80
|
'90%': 'scale-90',
|
3
81
|
'95%': 'scale-95',
|
@@ -5,3 +83,820 @@ export var scalingVariants = {
|
|
5
83
|
'105%': 'scale-105',
|
6
84
|
'110%': 'scale-110',
|
7
85
|
};
|
86
|
+
// 스토리북 공통 argTypes 설정
|
87
|
+
export var commonArgTypes = {
|
88
|
+
typoSize: {
|
89
|
+
table: {
|
90
|
+
category: 'Theme Props',
|
91
|
+
type: { summary: '1 ~ 9' },
|
92
|
+
},
|
93
|
+
control: { type: 'select' },
|
94
|
+
options: typoSizeOptions,
|
95
|
+
defaultValue: { summary: '3' },
|
96
|
+
},
|
97
|
+
scaling: {
|
98
|
+
table: {
|
99
|
+
category: 'Theme Props',
|
100
|
+
type: { summary: scalingOptions.join(' | ') },
|
101
|
+
},
|
102
|
+
control: { type: 'select' },
|
103
|
+
options: scalingOptions,
|
104
|
+
defaultValue: { summary: '100%' },
|
105
|
+
},
|
106
|
+
weight: {
|
107
|
+
table: {
|
108
|
+
category: 'Theme Props',
|
109
|
+
type: { summary: weightOptions.join(' | ') },
|
110
|
+
},
|
111
|
+
options: weightOptions,
|
112
|
+
control: { type: 'select' },
|
113
|
+
defaultValue: { summary: 'medium' },
|
114
|
+
},
|
115
|
+
radius: {
|
116
|
+
table: {
|
117
|
+
category: 'Theme Props',
|
118
|
+
type: { summary: radiusOptions.join(' | ') },
|
119
|
+
},
|
120
|
+
options: radiusOptions,
|
121
|
+
control: { type: 'select' },
|
122
|
+
defaultValue: { summary: 'medium' },
|
123
|
+
},
|
124
|
+
color: {
|
125
|
+
table: {
|
126
|
+
category: 'Theme Props',
|
127
|
+
type: { summary: 'colorVariants' },
|
128
|
+
},
|
129
|
+
options: colorOptions,
|
130
|
+
control: { type: 'select' },
|
131
|
+
defaultValue: { summary: 'red' },
|
132
|
+
},
|
133
|
+
basicText: {
|
134
|
+
table: {
|
135
|
+
category: 'Props',
|
136
|
+
type: { summary: 'string' },
|
137
|
+
},
|
138
|
+
control: 'text',
|
139
|
+
},
|
140
|
+
appearance: {
|
141
|
+
table: {
|
142
|
+
category: 'Props',
|
143
|
+
type: { summary: appearanceOptions.join(' | ') },
|
144
|
+
},
|
145
|
+
options: appearanceOptions,
|
146
|
+
control: { type: 'select' },
|
147
|
+
defaultValue: { summary: 'solid' },
|
148
|
+
},
|
149
|
+
size: {
|
150
|
+
table: {
|
151
|
+
category: 'Props',
|
152
|
+
type: { summary: sizeOptions.join(' | ') },
|
153
|
+
},
|
154
|
+
control: { type: 'select' },
|
155
|
+
options: sizeOptions,
|
156
|
+
defaultValue: { summary: 'medium' },
|
157
|
+
},
|
158
|
+
isColorMixed: {
|
159
|
+
table: {
|
160
|
+
category: 'Props',
|
161
|
+
type: { summary: 'boolean' },
|
162
|
+
},
|
163
|
+
description: "- \uCC28\uD2B8 \uAE30\uBCF8 \uC0C9\uC0C1 \uC2A4\uD0C0\uC77C \n - true\uC778 \uACBD\uC6B0 \uC0C9\uC0C1\uC774 \uAD50\uCC28\uB428, false\uC778 \uACBD\uC6B0 \uC0C9\uC0C1 \uC21C\uCC28\uC801\uC73C\uB85C \uC0AC\uC6A9",
|
164
|
+
control: 'readonly',
|
165
|
+
defaultValue: { summary: 'true' },
|
166
|
+
},
|
167
|
+
chartAppearance: {
|
168
|
+
table: {
|
169
|
+
category: 'Props',
|
170
|
+
type: { summary: 'solid | soft' },
|
171
|
+
},
|
172
|
+
options: ['solid', 'soft'],
|
173
|
+
control: 'readonly',
|
174
|
+
defaultValue: { summary: 'solid' },
|
175
|
+
description: "- \uCC28\uD2B8 \uAE30\uBCF8 \uC0C9\uC0C1 \uC2A4\uD0C0\uC77C \n - \uBC30\uACBD\uC0C9\uACFC \uD14C\uB450\uB9AC\uC0C9 \uAE30\uBCF8 \uC2A4\uD0C0\uC77C\uC744 \uC9C0\uC815\uD574\uC900\uB2E4",
|
176
|
+
},
|
177
|
+
datasets: {
|
178
|
+
name: 'datasets',
|
179
|
+
description: '차트에 사용할 데이터셋',
|
180
|
+
table: {
|
181
|
+
category: 'Props',
|
182
|
+
type: { summary: 'object' },
|
183
|
+
},
|
184
|
+
},
|
185
|
+
labels: {
|
186
|
+
description: '차트 위에 표시될 라벨들',
|
187
|
+
table: {
|
188
|
+
category: 'Props',
|
189
|
+
type: { summary: 'object' },
|
190
|
+
},
|
191
|
+
},
|
192
|
+
};
|
193
|
+
export var chartTitleArgTypes = {
|
194
|
+
title: {
|
195
|
+
description: '차트 타이틀',
|
196
|
+
table: {
|
197
|
+
category: 'Props',
|
198
|
+
type: { summary: 'object' },
|
199
|
+
},
|
200
|
+
},
|
201
|
+
'title.display': {
|
202
|
+
description: '타이틀 표시 여부',
|
203
|
+
table: {
|
204
|
+
category: 'Title Props',
|
205
|
+
type: { summary: 'boolean' },
|
206
|
+
},
|
207
|
+
control: { type: 'boolean', defaultValue: false },
|
208
|
+
defaultValue: { summary: false },
|
209
|
+
},
|
210
|
+
'title.text': {
|
211
|
+
description: '타이틀 내용',
|
212
|
+
table: {
|
213
|
+
category: 'Title Props',
|
214
|
+
type: { summary: 'string | string[]' },
|
215
|
+
},
|
216
|
+
control: { type: 'text' },
|
217
|
+
defaultValue: { summary: '' },
|
218
|
+
},
|
219
|
+
'title.position': {
|
220
|
+
description: '타이틀 위치',
|
221
|
+
table: {
|
222
|
+
category: 'Title Props',
|
223
|
+
type: { summary: 'top | right | bottom | left' },
|
224
|
+
},
|
225
|
+
control: { type: 'select' },
|
226
|
+
options: ['top', 'right', 'bottom', 'left'],
|
227
|
+
defaultValue: { summary: 'top' },
|
228
|
+
},
|
229
|
+
'title.align': {
|
230
|
+
description: '타이틀 정렬',
|
231
|
+
table: {
|
232
|
+
category: 'Title Props',
|
233
|
+
type: { summary: 'start | center | end' },
|
234
|
+
},
|
235
|
+
control: { type: 'select' },
|
236
|
+
options: ['start', 'center', 'end'],
|
237
|
+
defaultValue: { summary: 'top' },
|
238
|
+
},
|
239
|
+
'title.font.size': {
|
240
|
+
description: '타이틀 폰트 크기',
|
241
|
+
table: {
|
242
|
+
category: 'Title Props',
|
243
|
+
type: { summary: 'number' },
|
244
|
+
},
|
245
|
+
control: { type: 'text' },
|
246
|
+
defaultValue: { summary: 12 },
|
247
|
+
},
|
248
|
+
};
|
249
|
+
export var chartLegendArgTypes = {
|
250
|
+
legend: {
|
251
|
+
description: '차트 범례',
|
252
|
+
table: {
|
253
|
+
category: 'Props',
|
254
|
+
type: { summary: 'object' },
|
255
|
+
},
|
256
|
+
},
|
257
|
+
'legend.display': {
|
258
|
+
description: '범례 표시 여부',
|
259
|
+
table: {
|
260
|
+
category: 'Legend Props',
|
261
|
+
type: { summary: 'boolean' },
|
262
|
+
},
|
263
|
+
control: { type: 'boolean' },
|
264
|
+
defaultValue: { summary: true },
|
265
|
+
},
|
266
|
+
'legend.align': {
|
267
|
+
description: '범례 정렬',
|
268
|
+
table: {
|
269
|
+
category: 'Legend Props',
|
270
|
+
type: { summary: 'start | center | end' },
|
271
|
+
},
|
272
|
+
control: { type: 'select' },
|
273
|
+
options: ['start', 'center', 'end'],
|
274
|
+
defaultValue: { summary: 'center' },
|
275
|
+
},
|
276
|
+
'legend.position': {
|
277
|
+
description: '범례 위치',
|
278
|
+
table: {
|
279
|
+
category: 'Legend Props',
|
280
|
+
type: { summary: 'top | right | bottom | left' },
|
281
|
+
},
|
282
|
+
control: { type: 'select' },
|
283
|
+
options: ['top', 'right', 'bottom', 'left'],
|
284
|
+
defaultValue: { summary: 'top' },
|
285
|
+
},
|
286
|
+
'legend.maxHeight': {
|
287
|
+
description: '범례 최대 높이(픽셀)',
|
288
|
+
table: {
|
289
|
+
category: 'Legend Props',
|
290
|
+
type: { summary: 'number' },
|
291
|
+
},
|
292
|
+
control: { type: 'text' },
|
293
|
+
defaultValue: { summary: 12 },
|
294
|
+
},
|
295
|
+
'legend.maxWidth': {
|
296
|
+
description: '범례 최대 길이(픽셀)',
|
297
|
+
table: {
|
298
|
+
category: 'Legend Props',
|
299
|
+
type: { summary: 'number' },
|
300
|
+
},
|
301
|
+
control: { type: 'text' },
|
302
|
+
defaultValue: { summary: 12 },
|
303
|
+
},
|
304
|
+
'legend.title.display': {
|
305
|
+
description: '범례 타이틀 표시 여부',
|
306
|
+
table: {
|
307
|
+
category: 'Legend Props',
|
308
|
+
type: { summary: 'boolean' },
|
309
|
+
},
|
310
|
+
control: { type: 'boolean' },
|
311
|
+
defaultValue: { summary: false },
|
312
|
+
},
|
313
|
+
'legend.title.text': {
|
314
|
+
description: '범례 타이틀 문구',
|
315
|
+
table: {
|
316
|
+
category: 'Legend Props',
|
317
|
+
type: { summary: 'string' },
|
318
|
+
},
|
319
|
+
control: { type: 'text' },
|
320
|
+
defaultValue: { summary: '' },
|
321
|
+
},
|
322
|
+
'legend.labels.usePointStyle': {
|
323
|
+
description: '범례 스타일 사용여부',
|
324
|
+
table: {
|
325
|
+
category: 'Legend Props',
|
326
|
+
type: { summary: 'boolean' },
|
327
|
+
},
|
328
|
+
control: { type: 'boolean' },
|
329
|
+
defaultValue: { summary: 'false' },
|
330
|
+
},
|
331
|
+
'legend.labels.pointStyle': {
|
332
|
+
description: "- \uB77C\uBCA8 \uD3EC\uC778\uD2B8 \uC2A4\uD0C0\uC77C\n - usePointStyle\uAC00 true\uC778 \uACBD\uC6B0 \uC801\uC6A9",
|
333
|
+
table: {
|
334
|
+
category: 'Legend Props',
|
335
|
+
type: { summary: pointStyleList.join(' | ') },
|
336
|
+
},
|
337
|
+
control: { type: 'select' },
|
338
|
+
options: pointStyleList,
|
339
|
+
defaultValue: { summary: 'false' },
|
340
|
+
},
|
341
|
+
};
|
342
|
+
export var chartDatasetsArgsTypes = {
|
343
|
+
'datasets[n].data': {
|
344
|
+
description: '데이터셋 데이터',
|
345
|
+
table: {
|
346
|
+
category: 'Dataset Props',
|
347
|
+
type: { summary: 'object | object[] | number[] | string[]' },
|
348
|
+
},
|
349
|
+
},
|
350
|
+
'datasets[n].label': {
|
351
|
+
description: '데이터셋 라벨',
|
352
|
+
table: {
|
353
|
+
category: 'Dataset Props',
|
354
|
+
type: { summary: 'string' },
|
355
|
+
},
|
356
|
+
},
|
357
|
+
'datasets[n].backgroundColor': {
|
358
|
+
description: '데이터셋 배경 색상',
|
359
|
+
table: {
|
360
|
+
category: 'Dataset Props',
|
361
|
+
type: { summary: 'object' },
|
362
|
+
},
|
363
|
+
},
|
364
|
+
'datasets[n].borderColor': {
|
365
|
+
description: '데이터셋 테두리 색상',
|
366
|
+
table: {
|
367
|
+
category: 'Dataset Props',
|
368
|
+
type: { summary: 'object' },
|
369
|
+
},
|
370
|
+
},
|
371
|
+
'datasets[n].borderWidth': {
|
372
|
+
description: '데이터셋 테두리 두꼐',
|
373
|
+
table: {
|
374
|
+
category: 'Dataset Props',
|
375
|
+
type: { summary: 'number' },
|
376
|
+
},
|
377
|
+
},
|
378
|
+
'datasets[n].borderRadius': {
|
379
|
+
description: '데이터셋 둥글기',
|
380
|
+
table: {
|
381
|
+
category: 'Dataset Props',
|
382
|
+
type: { summary: 'number' },
|
383
|
+
},
|
384
|
+
},
|
385
|
+
'datasets[n].hoverBackgroundColor': {
|
386
|
+
description: '데이터셋 마우스 호버 시 배경 색상',
|
387
|
+
table: {
|
388
|
+
category: 'Dataset Props',
|
389
|
+
type: { summary: 'object' },
|
390
|
+
},
|
391
|
+
},
|
392
|
+
'datasets[n].hoverBorderColor': {
|
393
|
+
description: '데이터셋 마우스 호버 시 테두리 색상',
|
394
|
+
table: {
|
395
|
+
category: 'Dataset Props',
|
396
|
+
type: { summary: 'object' },
|
397
|
+
},
|
398
|
+
},
|
399
|
+
'datasets[n].hoverBorderWidth': {
|
400
|
+
description: '데이터셋 호버 시 테두리 두께',
|
401
|
+
table: {
|
402
|
+
category: 'Dataset Props',
|
403
|
+
type: { summary: 'number' },
|
404
|
+
},
|
405
|
+
},
|
406
|
+
'datasets[n].hoverBorderRadius': {
|
407
|
+
description: '데이터셋 호버 시 둥글기',
|
408
|
+
table: {
|
409
|
+
category: 'Dataset Props',
|
410
|
+
type: { summary: 'number' },
|
411
|
+
},
|
412
|
+
},
|
413
|
+
'datasets[n].order': {
|
414
|
+
description: '데이터셋 순서',
|
415
|
+
table: {
|
416
|
+
category: 'Dataset Props',
|
417
|
+
type: { summary: 'number' },
|
418
|
+
},
|
419
|
+
},
|
420
|
+
'datasets[n].hidden': {
|
421
|
+
description: '데이터셋 표시 여부',
|
422
|
+
table: {
|
423
|
+
category: 'Dataset Props',
|
424
|
+
type: { summary: 'boolean' },
|
425
|
+
},
|
426
|
+
},
|
427
|
+
'datasets[n].borderDash': {
|
428
|
+
description: "- \uCC28\uD2B8\uC758 \uAC01 \uC139\uC158\uC758 \uD14C\uB450\uB9AC\uB97C \uC810\uC120\uC73C\uB85C \uB9CC\uB4EC\n - ex)[5,5]: 5\uD53D\uC140 \uAE38\uC774\uC758 \uC120\uACFC 5\uD53D\uC140 \uAE38\uC774\uC758 \uAC04\uACA9",
|
429
|
+
table: {
|
430
|
+
category: 'Dataset Props',
|
431
|
+
type: { summary: 'number[]' },
|
432
|
+
},
|
433
|
+
},
|
434
|
+
'datasets[n].borderDashOffset': {
|
435
|
+
description: "- \uC810\uC120\uC758 \uC2DC\uC791 \uC704\uCE58 \uC870\uC815\n - ex) 2: \uC810\uC120\uC758 \uC2DC\uC791 \uC9C0\uC810\uC744 2\uD53D\uC140 \uC774\uB3D9",
|
436
|
+
table: {
|
437
|
+
category: 'Dataset Props',
|
438
|
+
type: { summary: 'number' },
|
439
|
+
},
|
440
|
+
},
|
441
|
+
'datasets[n].offset': {
|
442
|
+
description: '각 섹션 사이의 간격 조정',
|
443
|
+
table: {
|
444
|
+
category: 'Dataset Props',
|
445
|
+
type: { summary: 'number' },
|
446
|
+
},
|
447
|
+
},
|
448
|
+
'datasets[n].weight': {
|
449
|
+
description: '각 섹션의 상대적인 두께를 설정, 섹션이 차지하는 공간의 비율을 조정',
|
450
|
+
table: {
|
451
|
+
category: 'Dataset Props',
|
452
|
+
type: { summary: 'number' },
|
453
|
+
},
|
454
|
+
},
|
455
|
+
};
|
456
|
+
export var chartDatalabelsArgsTypes = {
|
457
|
+
datalabels: {
|
458
|
+
table: {
|
459
|
+
disable: true,
|
460
|
+
},
|
461
|
+
},
|
462
|
+
'datalabels.display': {
|
463
|
+
description: '차트 데이터 라벨 표시 여부',
|
464
|
+
table: {
|
465
|
+
category: 'Datalabels Props',
|
466
|
+
type: { summary: 'boolean' },
|
467
|
+
},
|
468
|
+
control: { type: 'boolean' },
|
469
|
+
defaultValue: { summary: false },
|
470
|
+
},
|
471
|
+
'datalabels.color': {
|
472
|
+
description: '차트 데이터 라벨 색상',
|
473
|
+
table: {
|
474
|
+
category: 'Datalabels Props',
|
475
|
+
type: { summary: 'string' },
|
476
|
+
},
|
477
|
+
control: { type: 'select' },
|
478
|
+
options: ['white', 'gray', 'black'],
|
479
|
+
defaultValue: { summary: 'gray' },
|
480
|
+
},
|
481
|
+
};
|
482
|
+
export var blackText = ['sky', 'mint', 'lime', 'yellow', 'amber', 'orange', 'white'];
|
483
|
+
export var primaryColorStyle = function () {
|
484
|
+
var color = {};
|
485
|
+
for (var i in ColorStyle) {
|
486
|
+
var darkColor = "".concat(i, "Dark");
|
487
|
+
color[i] = blackText.includes(i)
|
488
|
+
? "bg-".concat(ColorStyle[i], " text-slate-12 dark:bg-").concat(DarkColorStyle[darkColor], " dark:text-slateDark-12")
|
489
|
+
: "bg-".concat(ColorStyle[i], " text-white dark:bg-").concat(DarkColorStyle[darkColor], " dark:text-slateDark-1");
|
490
|
+
}
|
491
|
+
return color;
|
492
|
+
};
|
493
|
+
export var bgColorStyle = function () {
|
494
|
+
var color = {};
|
495
|
+
for (var i in ColorStyle) {
|
496
|
+
var darkColor = "".concat(i, "Dark");
|
497
|
+
color[i] = "bg-".concat(ColorStyle[i], " dark:bg-").concat(DarkColorStyle[darkColor]);
|
498
|
+
}
|
499
|
+
return color;
|
500
|
+
};
|
501
|
+
export var textColorStyle = function () {
|
502
|
+
var color = {};
|
503
|
+
for (var i in ColorStyle) {
|
504
|
+
var darkColor = "".concat(i, "Dark");
|
505
|
+
color[i] = "text-".concat(ColorStyle[i], " dark:text-").concat(DarkColorStyle[darkColor]);
|
506
|
+
}
|
507
|
+
return color;
|
508
|
+
};
|
509
|
+
export var borderColorStyle = function () {
|
510
|
+
var color = {};
|
511
|
+
for (var i in ColorStyle) {
|
512
|
+
var darkColor = "".concat(i, "Dark");
|
513
|
+
color[i] = "border-".concat(ColorStyle[i], " dark:border-").concat(DarkColorStyle[darkColor]);
|
514
|
+
}
|
515
|
+
return color;
|
516
|
+
};
|
517
|
+
var makeClassName = function (type, isClickable) {
|
518
|
+
var className = '';
|
519
|
+
className += "".concat(type.light.default, " ").concat(type.dark.default);
|
520
|
+
if (isClickable) {
|
521
|
+
className += " ".concat(type.light.hover, " ").concat(type.light.active, " ").concat(type.light.disable, " ").concat(type.dark.hover, " ").concat(type.dark.active, " ").concat(type.dark.disable);
|
522
|
+
}
|
523
|
+
return className;
|
524
|
+
};
|
525
|
+
export var appearanceStyle = function (type, color, isClickable) {
|
526
|
+
if (color === void 0) { color = MAIN_COLOR; }
|
527
|
+
if (isClickable === void 0) { isClickable = true; }
|
528
|
+
var darkColor = "".concat(color, "Dark");
|
529
|
+
var classic = {
|
530
|
+
light: {
|
531
|
+
default: "bg-".concat(color, "-9 border border-solid border-").concat(color, "-9 shadow-button-classic"),
|
532
|
+
hover: "hover:bg-".concat(color, "-10 hover:border-").concat(color, "-9"),
|
533
|
+
active: "active:bg-".concat(color, "-9 active:border-").concat(color, "-9"),
|
534
|
+
disable: "disabled:bg-slateA-3 disabled:border-slate-4 disabled:text-slateA-8",
|
535
|
+
},
|
536
|
+
dark: {
|
537
|
+
default: "dark:bg-".concat(darkColor, "-9 dark:border-").concat(darkColor, "-9 dark:shadow-button-dark-classic"),
|
538
|
+
hover: "dark:hover:bg-".concat(darkColor, "-10 dark:hover:border-").concat(darkColor, "-9"),
|
539
|
+
active: "dark:active:bg-".concat(darkColor, "-9 dark:active:border-").concat(darkColor, "-9"),
|
540
|
+
disable: "dark:disabled:bg-slateDarkA-3 dark:disabled:border-slateDark-4 dark:disabled:text-slateDarkA-8",
|
541
|
+
},
|
542
|
+
};
|
543
|
+
var solid = {
|
544
|
+
light: {
|
545
|
+
default: "bg-".concat(color, "-9 border-none"),
|
546
|
+
hover: "hover:bg-".concat(color, "-10 hover:border-none"),
|
547
|
+
active: "active:bg-".concat(color, "-10 active:border-none active:opacity-[.92]"),
|
548
|
+
disable: "disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8",
|
549
|
+
},
|
550
|
+
dark: {
|
551
|
+
default: "dark:bg-".concat(darkColor, "-9"),
|
552
|
+
hover: "dark:hover:bg-".concat(darkColor, "-10"),
|
553
|
+
active: "dark:active:bg-".concat(darkColor, "-10 dark:active:opacity-[.92]"),
|
554
|
+
disable: "dark:disabled:bg-slateDarkA-3 dark:disabled:text-slateDarkA-8",
|
555
|
+
},
|
556
|
+
};
|
557
|
+
var soft = {
|
558
|
+
light: {
|
559
|
+
default: "bg-".concat(color, "A-3 border-none text-").concat(color, "A-11"),
|
560
|
+
hover: "hover:bg-".concat(color, "A-4 hover:border-none hover:text-").concat(color, "A-11"),
|
561
|
+
active: "active:bg-".concat(color, "A-5 active:border-none active:text-").concat(color, "A-11 active:opacity-[.92]"),
|
562
|
+
disable: "disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8",
|
563
|
+
},
|
564
|
+
dark: {
|
565
|
+
default: "dark:bg-".concat(darkColor, "A-3 dark:text-").concat(darkColor, "A-11"),
|
566
|
+
hover: "dark:hover:bg-".concat(darkColor, "A-4 dark:hover:text-").concat(darkColor, "A-11"),
|
567
|
+
active: "dark:active:bg-".concat(darkColor, "A-5 dark:active:text-").concat(darkColor, "A-11 dark:active:opacity-[.92]"),
|
568
|
+
disable: "dark:disabled:bg-slateDarkA-3 dark:disabled:text-slateDarkA-8",
|
569
|
+
},
|
570
|
+
};
|
571
|
+
var surface = {
|
572
|
+
light: {
|
573
|
+
default: "bg-".concat(color, "A-2 border border-solid border-").concat(color, "A-7 text-").concat(color, "A-11"),
|
574
|
+
hover: "hover:bg-".concat(color, "A-2 hover:border-").concat(color, "A-8 hover:text-").concat(color, "A-11"),
|
575
|
+
active: "active:bg-".concat(color, "A-3 active:border-").concat(color, "A-8 active:text-").concat(color, "A-11 active:opacity-[.92]"),
|
576
|
+
disable: "disabled:bg-slateA-2 disabled:border-slateA-6 disabled:text-slateA-8",
|
577
|
+
},
|
578
|
+
dark: {
|
579
|
+
default: "dark:bg-".concat(darkColor, "A-2 dark:border-").concat(darkColor, "A-7 dark:text-").concat(darkColor, "A-11"),
|
580
|
+
hover: "dark:hover:bg-".concat(darkColor, "A-2 dark:hover:border-").concat(darkColor, "A-8 dark:hover:text-").concat(darkColor, "A-11"),
|
581
|
+
active: "dark:active:bg-".concat(darkColor, "A-3 dark:active:border-").concat(darkColor, "A-8 dark:active:text-").concat(darkColor, "A-11 dark:active:opacity-[.92]"),
|
582
|
+
disable: "dark:disabled:bg-slateDarkA-2 dark:disabled:border-slateDarkA-6 dark:disabled:text-slateDarkA-8",
|
583
|
+
},
|
584
|
+
};
|
585
|
+
var outline = {
|
586
|
+
light: {
|
587
|
+
default: "bg-transparent border border-solid border-".concat(color, "A-8 text-").concat(color, "A-11"),
|
588
|
+
hover: "hover:bg-".concat(color, "A-2 hover:border-").concat(color, "A-8 hover:text-").concat(color, "A-11"),
|
589
|
+
active: "active:bg-".concat(color, "A-3 active:border-").concat(color, "A-8 active:text-").concat(color, "A-11"),
|
590
|
+
disable: "disabled:bg-transparent disabled:border-slateA-7 disabled:text-slateA-8",
|
591
|
+
},
|
592
|
+
dark: {
|
593
|
+
default: "dark:border-".concat(darkColor, "A-8 dark:bg-transparent dark:text-").concat(darkColor, "A-11"),
|
594
|
+
hover: "dark:hover:bg-".concat(darkColor, "A-2 dark:hover:border-").concat(darkColor, "A-8 dark:hover:text-").concat(darkColor, "A-11"),
|
595
|
+
active: "dark:active:bg-".concat(darkColor, "A-3 dark:active:border-").concat(darkColor, "A-8 dark:active:text-").concat(darkColor, "A-11 dark:active:opacity-[.92]"),
|
596
|
+
disable: "dark:disabled:border-slateDarkA-7 dark:disabled:bg-transparent dark:disabled:text-slateDarkA-8 ",
|
597
|
+
},
|
598
|
+
};
|
599
|
+
var ghost = {
|
600
|
+
light: {
|
601
|
+
default: "bg-transparent border-none text-".concat(color, "A-11"),
|
602
|
+
hover: "hover:bg-".concat(color, "A-3 hover:border-none hover:text-").concat(color, "A-11"),
|
603
|
+
active: "active:bg-".concat(color, "A-4 active:border-none active:text-").concat(color, "A-11 active:opacity-[.92]"),
|
604
|
+
disable: "disabled:bg-transparent disabled:border-none disabled:text-slateA-8",
|
605
|
+
},
|
606
|
+
dark: {
|
607
|
+
default: "dark:bg-transparent dark:text-".concat(darkColor, "A-11"),
|
608
|
+
hover: "dark:hover:bg-".concat(darkColor, "A-3 dark:hover:text-").concat(darkColor, "A-11"),
|
609
|
+
active: "dark:active:bg-".concat(darkColor, "A-4 dark:active:text-").concat(darkColor, "A-11 dark:active:opacity-[.92]"),
|
610
|
+
disable: "dark:disabled:text-slateDarkA-8",
|
611
|
+
},
|
612
|
+
};
|
613
|
+
switch (type) {
|
614
|
+
case 'classic':
|
615
|
+
return makeClassName(classic, isClickable);
|
616
|
+
case 'solid':
|
617
|
+
return makeClassName(solid, isClickable);
|
618
|
+
case 'soft':
|
619
|
+
return makeClassName(soft, isClickable);
|
620
|
+
case 'surface':
|
621
|
+
return makeClassName(surface, isClickable);
|
622
|
+
case 'outline':
|
623
|
+
return makeClassName(outline, isClickable);
|
624
|
+
case 'ghost':
|
625
|
+
return makeClassName(ghost, isClickable);
|
626
|
+
default:
|
627
|
+
return '';
|
628
|
+
}
|
629
|
+
};
|
630
|
+
export var toggleAppearanceStyle = function (type, color, isClickable, stateOn) {
|
631
|
+
if (color === void 0) { color = MAIN_COLOR; }
|
632
|
+
if (isClickable === void 0) { isClickable = true; }
|
633
|
+
if (stateOn === void 0) { stateOn = ''; }
|
634
|
+
var darkColor = "".concat(color, "Dark");
|
635
|
+
var classic = {
|
636
|
+
light: {
|
637
|
+
default: "bg-".concat(color, "-9 border border-solid border-").concat(color, "-9 text-white shadow-button-classic"),
|
638
|
+
hover: "hover:bg-".concat(color, "-10 hover:border-").concat(color, "-9 hover:text-white ").concat(stateOn, "hover:bg-").concat(color, "-10 ").concat(stateOn, "hover:border-").concat(color, "-9 ").concat(stateOn, "hover:text-white"),
|
639
|
+
active: "".concat(stateOn, "bg-").concat(color, "-9 ").concat(stateOn, "border-").concat(color, "-9 ").concat(stateOn, "text-white"),
|
640
|
+
disable: "disabled:bg-slateA-3 disabled:border-slate-4 disabled:text-slateA-8",
|
641
|
+
},
|
642
|
+
dark: {
|
643
|
+
default: "dark:bg-".concat(darkColor, "-9 dark:border-").concat(darkColor, "-9 dark:text-slateDark-1"),
|
644
|
+
hover: "dark:hover:bg-".concat(darkColor, "-10 dark:hover:border-").concat(darkColor, "-9 dark:hover:text-slateDark-1 dark:").concat(stateOn, "hover:bg-").concat(darkColor, "-10 dark:").concat(stateOn, "hover:border-").concat(darkColor, "-9 dark:").concat(stateOn, "hover:text-slateDark-1"),
|
645
|
+
active: "dark:".concat(stateOn, "bg-").concat(darkColor, "-9 dark:").concat(stateOn, "border-").concat(darkColor, "-9 dark:").concat(stateOn, "text-slateDark-1"),
|
646
|
+
disable: "dark:disabled:bg-slateDarkA-3 dark:disabled:border-slateDark-4 dark:disabled:text-slateDarkA-8",
|
647
|
+
},
|
648
|
+
};
|
649
|
+
var solid = {
|
650
|
+
light: {
|
651
|
+
default: "bg-".concat(color, "-9 border-none text-white"),
|
652
|
+
hover: "hover:bg-".concat(color, "-10 hover:border-none hover:text-white ").concat(stateOn, "hover:bg-").concat(color, "-10 ").concat(stateOn, "hover:border-none ").concat(stateOn, "hover:text-white"),
|
653
|
+
active: "".concat(stateOn, "bg-").concat(color, "-10 ").concat(stateOn, "border-none ").concat(stateOn, "text-white ").concat(stateOn, "opacity-[.92]"),
|
654
|
+
disable: "disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8",
|
655
|
+
},
|
656
|
+
dark: {
|
657
|
+
default: "dark:bg-".concat(darkColor, "-9 dark:text-slateDark-1"),
|
658
|
+
hover: "dark:hover:bg-".concat(darkColor, "-10 dark:hover:text-slateDark-1 dark:").concat(stateOn, "hover:bg-").concat(darkColor, "-10 dark:").concat(stateOn, "hover:text-slateDark-1"),
|
659
|
+
active: "dark:".concat(stateOn, "bg-").concat(darkColor, "-10 dark:").concat(stateOn, "text-slateDark-1 dark:").concat(stateOn, "opacity-[.92]"),
|
660
|
+
disable: "dark:disabled:bg-slateDarkA-3 disabled:text-slateDarkA-8",
|
661
|
+
},
|
662
|
+
};
|
663
|
+
var soft = {
|
664
|
+
light: {
|
665
|
+
default: "bg-".concat(color, "A-3 border-none text-").concat(color, "A-11"),
|
666
|
+
hover: "hover:bg-".concat(color, "A-4 hover:border-none hover:text-").concat(color, "A-11 ").concat(stateOn, "hover:bg-").concat(color, "A-4 ").concat(stateOn, "hover:border-none ").concat(stateOn, "hover:text-").concat(color, "A-11"),
|
667
|
+
active: "".concat(stateOn, "bg-").concat(color, "A-5 ").concat(stateOn, "border-none ").concat(stateOn, "text-").concat(color, "A-11 ").concat(stateOn, "opacity-[.92]"),
|
668
|
+
disable: "disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8",
|
669
|
+
},
|
670
|
+
dark: {
|
671
|
+
default: "dark:bg-".concat(darkColor, "A-3 dark:text-").concat(darkColor, "A-11"),
|
672
|
+
hover: "dark:hover:bg-".concat(darkColor, "A-4 dark:hover:text-").concat(darkColor, "A-11 dark:").concat(stateOn, "hover:bg-").concat(darkColor, "A-4 dark:").concat(stateOn, "hover:text-").concat(darkColor, "A-11"),
|
673
|
+
active: "dark:".concat(stateOn, "bg-").concat(darkColor, "A-5 dark:").concat(stateOn, "text-").concat(darkColor, "A-11 dark:").concat(stateOn, "opacity-[.92]"),
|
674
|
+
disable: "dark:disabled:bg-slateDarkA-3 dark:disabled:text-slateDarkA-8",
|
675
|
+
},
|
676
|
+
};
|
677
|
+
var surface = {
|
678
|
+
light: {
|
679
|
+
default: "bg-".concat(color, "A-2 border border-solid border-").concat(color, "A-7 text-").concat(color, "A-11"),
|
680
|
+
hover: "hover:bg-".concat(color, "A-2 hover:border-").concat(color, "A-8 hover:text-").concat(color, "A-11 ").concat(stateOn, "hover:bg-").concat(color, "A-2 ").concat(stateOn, "hover:border-").concat(color, "A-8 ").concat(stateOn, "hover:text-").concat(color, "A-11"),
|
681
|
+
active: "".concat(stateOn, "bg-").concat(color, "A-3 ").concat(stateOn, "border-").concat(color, "A-8 ").concat(stateOn, "text-").concat(color, "A-11 ").concat(stateOn, "opacity-[.92]"),
|
682
|
+
disable: "disabled:bg-slatDarkeA-2 disabled:border-slateDarkA-6 disabled:text-slateDarkA-8",
|
683
|
+
},
|
684
|
+
dark: {
|
685
|
+
default: "dark:bg-".concat(darkColor, "A-2 dark:border-").concat(darkColor, "A-7 dark:text-").concat(darkColor, "A-11"),
|
686
|
+
hover: "dark:hover:bg-".concat(darkColor, "A-2 dark:hover:border-").concat(darkColor, "A-8 dark:hover:text-").concat(darkColor, "A-11 dark:").concat(stateOn, "hover:bg-").concat(darkColor, "A-2 dark:").concat(stateOn, "hover:border-").concat(darkColor, "A-8 dark:").concat(stateOn, "hover:text-").concat(darkColor, "A-11"),
|
687
|
+
active: "dark:".concat(stateOn, "bg-").concat(darkColor, "A-3 dark:").concat(stateOn, "border-").concat(darkColor, "A-8 dark:").concat(stateOn, "text-").concat(darkColor, "A-11 dark:").concat(stateOn, "opacity-[.92]"),
|
688
|
+
disable: "dark:disabled:bg-slateDarkA-2 dark:disabled:border-slateDarkA-6 dark:disabled:text-slateDarkA-8",
|
689
|
+
},
|
690
|
+
};
|
691
|
+
var outline = {
|
692
|
+
light: {
|
693
|
+
default: "bg-transparent border border-solid border-".concat(color, "A-8 text-").concat(color, "A-11"),
|
694
|
+
hover: "hover:bg-".concat(color, "A-2 hover:border-").concat(color, "A-8 hover:text-").concat(color, "A-11 ").concat(stateOn, "hover:bg-").concat(color, "A-2 ").concat(stateOn, "hover:border-").concat(color, "A-8 ").concat(stateOn, "hover:text-").concat(color, "A-11"),
|
695
|
+
active: "".concat(stateOn, "bg-").concat(color, "A-3 ").concat(stateOn, "border-").concat(color, "A-8 ").concat(stateOn, "text-").concat(color, "A-11"),
|
696
|
+
disable: "disabled:bg-transparent disabled:border-slateA-7 disabled:text-slateA-8",
|
697
|
+
},
|
698
|
+
dark: {
|
699
|
+
default: "dark:border-".concat(darkColor, "A-8 dark:text-").concat(darkColor, "A-11"),
|
700
|
+
hover: "dark:hover:bg-".concat(darkColor, "A-2 dark:hover:border-").concat(darkColor, "A-8 dark:hover:text-").concat(darkColor, "A-11 dark:").concat(stateOn, "hover:bg-").concat(darkColor, "A-2 dark:").concat(stateOn, "hover:border-").concat(darkColor, "A-8 dark:").concat(stateOn, "hover:text-").concat(darkColor, "A-11"),
|
701
|
+
active: "dark:".concat(stateOn, "bg-").concat(darkColor, "A-3 dark:").concat(stateOn, "border-").concat(darkColor, "A-8 dark:").concat(stateOn, "text-").concat(darkColor, "A-11 dark:").concat(stateOn, "opacity-[.92]"),
|
702
|
+
disable: "dark:disabled:border-slateDarkA-7 dark:disabled:text-slateDarkA-8",
|
703
|
+
},
|
704
|
+
};
|
705
|
+
var ghost = {
|
706
|
+
light: {
|
707
|
+
default: "bg-transparent border-none text-".concat(color, "A-11"),
|
708
|
+
hover: "hover:bg-".concat(color, "A-3 hover:border-none hover:text-").concat(color, "A-11 ").concat(stateOn, "hover:bg-").concat(color, "A-3 ").concat(stateOn, "hover:border-none ").concat(stateOn, "hover:text-").concat(color, "A-11"),
|
709
|
+
active: "".concat(stateOn, "bg-").concat(color, "A-4 ").concat(stateOn, "border-none ").concat(stateOn, "text-").concat(color, "A-11 ").concat(stateOn, "opacity-[.92]"),
|
710
|
+
disable: "disabled:bg-transparent disabled:border-none disabled:text-slateA-8",
|
711
|
+
},
|
712
|
+
dark: {
|
713
|
+
default: "dark:bg-transparent dark:text-".concat(darkColor, "A-11"),
|
714
|
+
hover: "dark:hover:bg-".concat(darkColor, "A-3 dark:hover:text-").concat(darkColor, "A-11 dark:").concat(stateOn, "hover:bg-").concat(darkColor, "A-3 dark:").concat(stateOn, "hover:text-").concat(darkColor, "A-11"),
|
715
|
+
active: "dark:".concat(stateOn, "bg-").concat(darkColor, "A-4 dark:").concat(stateOn, "text-").concat(darkColor, "A-11 dark:").concat(stateOn, "opacity-[.92]"),
|
716
|
+
disable: "dark:disabled:text-slateDarkA-8",
|
717
|
+
},
|
718
|
+
};
|
719
|
+
switch (type) {
|
720
|
+
case 'classic':
|
721
|
+
return makeClassName(classic, isClickable);
|
722
|
+
case 'solid':
|
723
|
+
return makeClassName(solid, isClickable);
|
724
|
+
case 'soft':
|
725
|
+
return makeClassName(soft, isClickable);
|
726
|
+
case 'surface':
|
727
|
+
return makeClassName(surface, isClickable);
|
728
|
+
case 'outline':
|
729
|
+
return makeClassName(outline, isClickable);
|
730
|
+
case 'ghost':
|
731
|
+
return makeClassName(ghost, isClickable);
|
732
|
+
default:
|
733
|
+
return '';
|
734
|
+
}
|
735
|
+
};
|
736
|
+
export var menuItemAppearanceStyle = function (type, color) {
|
737
|
+
if (color === void 0) { color = MAIN_COLOR; }
|
738
|
+
var appearanceStyle = '';
|
739
|
+
if (type === 'solid') {
|
740
|
+
appearanceStyle = "hover:bg-".concat(color, "-9 dark:hover:bg-").concat(color, "Dark-9 ");
|
741
|
+
appearanceStyle += blackText.includes(color)
|
742
|
+
? "hover:text-slateA-11 dark:hover:text-white"
|
743
|
+
: "hover:text-white dark:hover:text-white";
|
744
|
+
}
|
745
|
+
if (type === 'soft') {
|
746
|
+
appearanceStyle = "hover:bg-".concat(color, "A-4 dark:hover-bg-").concat(color, "DarkA-4");
|
747
|
+
}
|
748
|
+
if (type === 'ghost') {
|
749
|
+
appearanceStyle = "hover:bg-".concat(color, "-3 dark:hover:bg-").concat(color, "Dark-3");
|
750
|
+
}
|
751
|
+
return appearanceStyle;
|
752
|
+
};
|
753
|
+
export var checkboxAppearanceStyle = function (type, color, indeterminate) {
|
754
|
+
if (color === void 0) { color = MAIN_COLOR; }
|
755
|
+
var darkColor = "".concat(color, "Dark");
|
756
|
+
var surface = {
|
757
|
+
light: {
|
758
|
+
default: "border data-[state=unchecked]:bg-transparent data-[state=unchecked]:border-slateA-7\n data-[state=checked]:bg-".concat(color, "-9 data-[state=checked]:border-none data-[state=checked]:text-slate-1"),
|
759
|
+
hover: "hover:data-[state=unchecked]:bg-transparent hover:data-[state=unchecked]:border-slateA-8\n hover:data-[state=checked]:bg-".concat(color, "-10 hover:data-[state=checked]:border-none hover:data-[state=checked]:text-white"),
|
760
|
+
active: "active:data-[state=unchecked]:bg-transparent active:data-[state=unchecked]:border-slateA-9\n active:data-[state=checked]:bg-".concat(color, "-10 active:data-[state=checked]:border-none active:data-[state=checked]:text-white"),
|
761
|
+
disable: "disabled:data-[state=unchecked]:bg-slateA-3 disabled:data-[state=unchecked]:border-slateA-6\n disabled:data-[state=checked]:bg-slateA-3 disabled:data-[state=checked]:border-slateA-6 disabled:data-[state=checked]:text-slateA-8",
|
762
|
+
},
|
763
|
+
dark: {
|
764
|
+
default: "dark:data-[state=unchecked]:border-slateDarkA-7\n dark:data-[state=checked]:bg-".concat(darkColor, "-9 dark:data-[state=checked]:text-#111113"),
|
765
|
+
hover: "dark:hover:data-[state=unchecked]:border-slateDarkA-8\n dark:hover:data-[state=checked]:bg-".concat(darkColor, "-10 dark:hover:data-[state=checked]:text-#111113"),
|
766
|
+
active: "dark:active:data-[state=unchecked]:border-slateDarkA-9\n dark:active:data-[state=checked]:bg-".concat(darkColor, "-10 dark:active:data-[state=checked]:text-#111113"),
|
767
|
+
disable: "dark:disabled:data-[state=unchecked]:bg-slateDarkA-3 dark:disabled:data-[state=unchecked]:border-slateDarkA-6\n dark:disabled:data-[state=checked]:bg-slateDarkA-3 dark:disabled:data-[state=checked]:border-slateDarkA-6 dark:disabled:data-[state=checked]:text-slateDarkA-8",
|
768
|
+
},
|
769
|
+
};
|
770
|
+
var soft = {
|
771
|
+
light: {
|
772
|
+
default: "data-[state=unchecked]:bg-".concat(color, "A-5 data-[state=unchecked]:border-none\n data-[state=checked]:bg-").concat(color, "A-5 data-[state=checked]:border-none data-[state=checked]:text-").concat(color, "-11"),
|
773
|
+
hover: "hover:data-[state=unchecked]:bg-".concat(color, "A-6 hover:data-[state=unchecked]:border-none\n hover:data-[state=checked]:bg-").concat(color, "A-6 hover:data-[state=checked]:border-none hover:data-[state=checked]:text-").concat(color, "-11"),
|
774
|
+
active: "active:data-[state=unchecked]:bg-".concat(color, "A-7 active:data-[state=unchecked]:border-none\n active:data-[state=checked]:bg-").concat(color, "A-7 active:data-[state=checked]:border-none active:data-[state=checked]:text-").concat(color, "-11"),
|
775
|
+
disable: "disabled:data-[state=unchecked]:bg-slateA-3 disabled:data-[state=unchecked]:border-none\n disabled:data-[state=checked]:bg-slateA-3 disabled:data-[state=checked]:border-none disabled:data-[state=checked]:text-slateA-8",
|
776
|
+
},
|
777
|
+
dark: {
|
778
|
+
default: "dark:data-[state=unchecked]:bg-".concat(darkColor, "A-5\n dark:data-[state=checked]:bg-").concat(darkColor, "A-5 dark:data-[state=checked]:text-").concat(darkColor, "-11"),
|
779
|
+
hover: "dark:hover:data-[state=unchecked]:bg-".concat(darkColor, "A-6\n dark:hover:data-[state=checked]:bg-").concat(darkColor, "A-6 dark:hover:data-[state=checked]:text-").concat(darkColor, "-11"),
|
780
|
+
active: "dark:active:data-[state=unchecked]:bg-".concat(darkColor, "A-7\n dark:active:data-[state=checked]:bg-").concat(darkColor, "A-7 dark:active:data-[state=checked]:text-").concat(darkColor, "-11"),
|
781
|
+
disable: "dark:disabled:data-[state=unchecked]:bg-slateDarkA-3\n dark:disabled:data-[state=checked]:bg-slateDarkA-3 dark:disabled:data-[state=checked]:text-slateDarkA-8",
|
782
|
+
},
|
783
|
+
};
|
784
|
+
var indeterminateSurface = {
|
785
|
+
light: {
|
786
|
+
default: "border bg-".concat(color, "A-2 border-").concat(color, "A-7 text-").concat(color, "A-11"),
|
787
|
+
hover: "hover:bg-".concat(color, "A-2 hover:border-").concat(color, "A-8 hover:text-").concat(color, "A-11"),
|
788
|
+
active: "active:bg-".concat(color, "A-3 active:border-").concat(color, "A-8 active:text-").concat(color, "A-11"),
|
789
|
+
disable: "disabled:bg-slateA-3 disabled:border-slateA-6 disabled:text-slateA-8",
|
790
|
+
},
|
791
|
+
dark: {
|
792
|
+
default: "dark:bg-".concat(darkColor, "A-2 dark:border-").concat(darkColor, "A-7 dark:text-").concat(darkColor, "A-11"),
|
793
|
+
hover: "dark:hover:bg-".concat(darkColor, "A-2 dark:hover:border-").concat(darkColor, "A-8 dark:hover:text-").concat(darkColor, "A-11"),
|
794
|
+
active: "dark:active:bg-".concat(darkColor, "A-3 dark:active:border-").concat(darkColor, "A-8 dark:active:text-").concat(darkColor, "A-11"),
|
795
|
+
disable: "dark:disabled:bg-slateDarkA-3 dark:disabled:border-slateDarkA-6 dark:disabled:text-slateDarkA-8",
|
796
|
+
},
|
797
|
+
};
|
798
|
+
var indeterminateSoft = {
|
799
|
+
light: {
|
800
|
+
default: "border bg-transparent border-".concat(color, "A-6 text-").concat(color, "A-11"),
|
801
|
+
hover: "hover:bg-transparent hover:border-".concat(color, "A-6 hover:text-").concat(color, "A-11"),
|
802
|
+
active: "active:bg-transparent active:border-".concat(color, "A-6 active:text-").concat(color, "A-11"),
|
803
|
+
disable: "disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8",
|
804
|
+
},
|
805
|
+
dark: {
|
806
|
+
default: "dark:border-".concat(darkColor, "A-6 dark:text-").concat(darkColor, "A-11"),
|
807
|
+
hover: "dark:hover:border-".concat(darkColor, "A-6 dark:hover:text-").concat(darkColor, "A-11"),
|
808
|
+
active: "dark:active:border-".concat(darkColor, "A-6 dark:active:text-").concat(darkColor, "A-11"),
|
809
|
+
disable: "dark:disabled:bg-slateDarkA-3 dark:disabled:text-slateDarkA-8",
|
810
|
+
},
|
811
|
+
};
|
812
|
+
switch (type) {
|
813
|
+
case 'classic':
|
814
|
+
return indeterminate
|
815
|
+
? makeClassName(indeterminateSurface, true)
|
816
|
+
: "".concat(makeClassName(surface, true), " data-[state=checked]:shadow-checkbox-classic data-[state=unchecked]:shadow-checkbox-classic\n dark:data-[state=checked]:shadow-checkbox-classic dark:data-[state=unchecked]:shadow-checkbox-classic");
|
817
|
+
case 'soft':
|
818
|
+
return indeterminate ? makeClassName(indeterminateSoft, true) : makeClassName(soft, true);
|
819
|
+
case 'surface':
|
820
|
+
return indeterminate
|
821
|
+
? makeClassName(indeterminateSurface, true)
|
822
|
+
: makeClassName(surface, true);
|
823
|
+
default:
|
824
|
+
return makeClassName(surface, true);
|
825
|
+
}
|
826
|
+
};
|
827
|
+
export var selectAppearanceStyle = function (type, color) {
|
828
|
+
var darkColor = "".concat(color, "Dark");
|
829
|
+
var surface = {
|
830
|
+
light: {
|
831
|
+
default: "bg-[#FFFFFF] border border-slateA-7 data-placeholder:text-slateA-10 text-slateA-12",
|
832
|
+
hover: "hover:bg-[#FFFFFF] hover:border hover:border-slateA-8 hover:text-slateA-10",
|
833
|
+
active: "active:bg-".concat(color, "A-3 active:border-").concat(color, "A-8 active:text-slateA-10 active:opacity-[.92]"),
|
834
|
+
disable: "disabled:bg-slateA-2 disabled:border-slateA-6 disabled:text-slateA-8",
|
835
|
+
},
|
836
|
+
dark: {
|
837
|
+
default: "dark:bg-[#111113] dark:border dark:data-placeholder:border-slateDarkA-7 dark:data-placeholder:text-slateDarkA-9 dark:border-slateDarkA-7 dark:text-slateDarkA-12",
|
838
|
+
hover: "dark:hover:bg-[#111113] dark:hover:border dark:hover:border-slateDarkA-8 dark:hover:text-slateDarkA-10",
|
839
|
+
active: "dark:active:bg-".concat(darkColor, "A-3 dark:active:border dark:active:border-").concat(darkColor, "A-8 dark:active:text-slateDarkA-10 dark:active:opacity-[.92]"),
|
840
|
+
disable: "dark:disabled:bg-slateDarkA-2 dark:disabled:border dark:disabled:border-slateDarkA-6 dark:disabled:text-slateDarkA-8",
|
841
|
+
},
|
842
|
+
};
|
843
|
+
var classic = {
|
844
|
+
light: {
|
845
|
+
default: "bg-slateA-2 border border-slate-4 data-placeholder:text-slateA-10 text-slateA-12",
|
846
|
+
hover: "hover:bg-slateA-3 hover:border hover:border-slate-4 hover:text-slateA-10",
|
847
|
+
active: "active:bg-slateA-4 active:border active:border-slate-6 active:text-slateA-10",
|
848
|
+
disable: "disabled:bg-slateA-3 disabled:border disabled:border-slate-4 disabled:text-slateA-8",
|
849
|
+
},
|
850
|
+
dark: {
|
851
|
+
default: "dark:bg-slateDarkA-2 dark:border-slateDark-4 dark:data-placeholder:text-slateDarkA-10 dark:text-slateDarkA-12",
|
852
|
+
hover: "dark:hover:bg-slateDarkA-3 dark:hover:border-slateDark-4 dark:hover:text-slateDarkA-10",
|
853
|
+
active: "dark:active:bg-slateDarkA-4 dark:active:border-slateDark-6 dark:active:text-slateDarkA-10",
|
854
|
+
disable: "dark:disabled:bg-slateDarkA-3 dark:disabled:border-slateDark-4 dark:disabled:text-slateDarkA-8",
|
855
|
+
},
|
856
|
+
};
|
857
|
+
var soft = {
|
858
|
+
light: {
|
859
|
+
default: "bg-".concat(color, "A-3 border-none data-placeholder:text-").concat(color, "A-12/[.5] text-").concat(color, "A-12"),
|
860
|
+
hover: "hover:bg-".concat(color, "A-4 hover:border-none hover:text-").concat(color, "A-12/[.5]"),
|
861
|
+
active: "active:bg-".concat(color, "A-5 active:border-none active:text-").concat(color, "A-12/[.5] active:opacity-[.92]"),
|
862
|
+
disable: "disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8",
|
863
|
+
},
|
864
|
+
dark: {
|
865
|
+
default: "dark:bg-".concat(darkColor, "A-3 dark:border-none dark:data-placeholder:text-").concat(darkColor, "A-12/[.5] dark:text-").concat(darkColor, "A-12 "),
|
866
|
+
hover: "dark:hover:bg-".concat(darkColor, "A-4 dark:hover:border-none dark:hover:text-").concat(darkColor, "A-12/[.5]"),
|
867
|
+
active: "dark:active:bg-".concat(darkColor, "A-5 dark:active:border-none dark:active:text-").concat(darkColor, "A-12/[.5] dark:active:opacity-[.92]"),
|
868
|
+
disable: "dark:disabled:bg-slateDarkA-3 dark:disabled:border-none dark:disabled:text-slateDarkA-8",
|
869
|
+
},
|
870
|
+
};
|
871
|
+
var ghost = {
|
872
|
+
light: {
|
873
|
+
default: "bg-transparent border-none data-placeholder:text-".concat(color, "A-12/[.5] text-").concat(color, "A-12"),
|
874
|
+
hover: "hover:bg-".concat(color, "A-3 hover:border-none hover:text-").concat(color, "A-1/[.5]"),
|
875
|
+
active: "active:bg-".concat(color, "A-4 active:border-none active:text-").concat(color, "A-12/[.5] active:opacity-[.92]"),
|
876
|
+
disable: "disabled:bg-transparent disabled:border-none disabled:text-slateA-8",
|
877
|
+
},
|
878
|
+
dark: {
|
879
|
+
default: "dark:bg-transparent dark:border-none dark:data-placeholder:text-".concat(darkColor, "A-12/[.5] dark:text-").concat(darkColor, "A-12"),
|
880
|
+
hover: "dark:hover:bg-".concat(darkColor, "A-3 dark:hover:border-none dark:hover:text-").concat(darkColor, "A-12/[.5]"),
|
881
|
+
active: "dark:active:bg-".concat(darkColor, "A-4 dark:active:border-none dark:active:text-").concat(darkColor, "A-12/[.5] dark:active:opacity-[.92]"),
|
882
|
+
disable: "dark:disabled:text-slateDarkA-8 dark:disabled:border-none",
|
883
|
+
},
|
884
|
+
};
|
885
|
+
var makeClassName = function (type) {
|
886
|
+
var className = '';
|
887
|
+
className += "".concat(type.light.default, " ").concat(type.dark.default, " ").concat(type.light.hover, " ").concat(type.light.active, " ").concat(type.light.disable, " ").concat(type.dark.hover, " ").concat(type.dark.active, " ").concat(type.dark.disable);
|
888
|
+
return className;
|
889
|
+
};
|
890
|
+
switch (type) {
|
891
|
+
case 'classic':
|
892
|
+
return makeClassName(classic);
|
893
|
+
case 'soft':
|
894
|
+
return makeClassName(soft);
|
895
|
+
case 'surface':
|
896
|
+
return makeClassName(surface);
|
897
|
+
case 'ghost':
|
898
|
+
return makeClassName(ghost);
|
899
|
+
default:
|
900
|
+
return '';
|
901
|
+
}
|
902
|
+
};
|