@lotte-innovate/ui-component-test 0.1.49 → 0.1.50
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/lib/Typography/Header/index.d.ts +13 -0
- package/dist/cjs/lib/Typography/Header/index.js +55 -0
- package/dist/cjs/lib/Typography/Text/index.d.ts +15 -0
- package/dist/cjs/lib/Typography/Text/index.js +44 -0
- package/dist/cjs/lib/Typography/index.d.ts +2 -0
- package/dist/cjs/lib/color/alpha.d.ts +784 -0
- package/dist/cjs/lib/color/constants.d.ts +29 -0
- package/dist/cjs/lib/color/dark.d.ts +392 -0
- package/dist/cjs/lib/color/krdsColors.d.ts +309 -0
- package/dist/cjs/lib/color/light.d.ts +392 -0
- package/dist/cjs/lib/components/Accordion/index.d.ts +22 -0
- package/dist/cjs/lib/components/Accordion/index.js +64 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogAction.d.ts +14 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogAction.js +61 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogCancel.d.ts +13 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogCancel.js +60 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogContent.d.ts +11 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogContent.js +51 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogDescription.d.ts +10 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogDescription.js +47 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogRoot.d.ts +16 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogRoot.js +46 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogTitle.d.ts +10 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogTitle.js +47 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogTrigger.d.ts +17 -0
- package/dist/cjs/lib/components/AlertDialog/AlertDialogTrigger.js +55 -0
- package/dist/cjs/lib/components/AlertDialog/index.d.ts +11 -0
- package/dist/cjs/lib/components/AlertDialog/index.js +17 -0
- package/dist/cjs/lib/components/AspectRatio/index.d.ts +10 -0
- package/dist/cjs/lib/components/AspectRatio/index.js +42 -0
- package/dist/cjs/lib/components/Avatar/index.d.ts +21 -0
- package/dist/cjs/lib/components/Avatar/index.js +58 -0
- package/dist/cjs/lib/components/Badge/index.d.ts +18 -0
- package/dist/cjs/lib/components/Badge/index.js +54 -0
- package/dist/cjs/lib/components/BarChart/index.d.ts +38 -0
- package/dist/cjs/lib/components/BarChart/index.js +63 -0
- package/dist/cjs/lib/components/BubbleChart/index.d.ts +29 -0
- package/dist/cjs/lib/components/BubbleChart/index.js +73 -0
- package/dist/cjs/lib/components/Button/index.d.ts +16 -0
- package/dist/cjs/lib/components/Button/index.js +56 -0
- package/dist/cjs/lib/components/Callout/CalloutIcon.d.ts +13 -0
- package/dist/cjs/lib/components/Callout/CalloutIcon.js +57 -0
- package/dist/cjs/lib/components/Callout/CalloutRoot.d.ts +18 -0
- package/dist/cjs/lib/components/Callout/CalloutRoot.js +72 -0
- package/dist/cjs/lib/components/Callout/CalloutText.d.ts +10 -0
- package/dist/cjs/lib/components/Callout/CalloutText.js +52 -0
- package/dist/cjs/lib/components/Callout/index.d.ts +7 -0
- package/dist/cjs/lib/components/Callout/index.js +9 -0
- package/dist/cjs/lib/components/Card/index.d.ts +14 -0
- package/dist/cjs/lib/components/Card/index.js +64 -0
- package/dist/cjs/lib/components/Checkbox/index.d.ts +17 -0
- package/dist/cjs/lib/components/Checkbox/index.js +89 -0
- package/dist/cjs/lib/components/CheckboxCard/index.d.ts +20 -0
- package/dist/cjs/lib/components/CheckboxCard/index.js +58 -0
- package/dist/cjs/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +5 -0
- package/dist/cjs/lib/components/CheckboxGroup/CheckboxGroupItem.js +33 -0
- package/dist/cjs/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +17 -0
- package/dist/cjs/lib/components/CheckboxGroup/CheckboxGroupRoot.js +34 -0
- package/dist/cjs/lib/components/CheckboxGroup/index.d.ts +6 -0
- package/dist/cjs/lib/components/CheckboxGroup/index.js +4 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuCheckboxItem.d.ts +4 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuCheckboxItem.js +42 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuContent.d.ts +11 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuContent.js +56 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuGroup.d.ts +4 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuGroup.js +30 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuItem.d.ts +13 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuItem.js +59 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +10 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuItemIndicator.js +50 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuLabel.d.ts +11 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuLabel.js +48 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuRadioGroup.d.ts +8 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuRadioGroup.js +31 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuRadioItem.d.ts +4 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuRadioItem.js +44 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuRoot.d.ts +13 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuRoot.js +42 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuSeparator.d.ts +3 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuSeparator.js +31 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuSubContent.d.ts +11 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuSubContent.js +54 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuSubTrigger.d.ts +4 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuSubTrigger.js +40 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuTrigger.d.ts +4 -0
- package/dist/cjs/lib/components/ContextMenu/ContextMenuTrigger.js +31 -0
- package/dist/cjs/lib/components/ContextMenu/index.d.ts +17 -0
- package/dist/cjs/lib/components/ContextMenu/index.js +29 -0
- package/dist/cjs/lib/components/DataList/DataListItem.d.ts +9 -0
- package/dist/cjs/lib/components/DataList/DataListItem.js +43 -0
- package/dist/cjs/lib/components/DataList/DataListLabel.d.ts +10 -0
- package/dist/cjs/lib/components/DataList/DataListLabel.js +49 -0
- package/dist/cjs/lib/components/DataList/DataListRoot.d.ts +14 -0
- package/dist/cjs/lib/components/DataList/DataListRoot.js +54 -0
- package/dist/cjs/lib/components/DataList/DataListValue.d.ts +11 -0
- package/dist/cjs/lib/components/DataList/DataListValue.js +51 -0
- package/dist/cjs/lib/components/DataList/index.d.ts +8 -0
- package/dist/cjs/lib/components/DataList/index.js +6 -0
- package/dist/cjs/lib/components/Dialog/DialogAction.d.ts +13 -0
- package/dist/cjs/lib/components/Dialog/DialogAction.js +59 -0
- package/dist/cjs/lib/components/Dialog/DialogCancel.d.ts +11 -0
- package/dist/cjs/lib/components/Dialog/DialogCancel.js +55 -0
- package/dist/cjs/lib/components/Dialog/DialogContent.d.ts +11 -0
- package/dist/cjs/lib/components/Dialog/DialogContent.js +57 -0
- package/dist/cjs/lib/components/Dialog/DialogDescription.d.ts +9 -0
- package/dist/cjs/lib/components/Dialog/DialogDescription.js +47 -0
- package/dist/cjs/lib/components/Dialog/DialogRoot.d.ts +15 -0
- package/dist/cjs/lib/components/Dialog/DialogRoot.js +37 -0
- package/dist/cjs/lib/components/Dialog/DialogSlot.d.ts +9 -0
- package/dist/cjs/lib/components/Dialog/DialogSlot.js +46 -0
- package/dist/cjs/lib/components/Dialog/DialogTitle.d.ts +11 -0
- package/dist/cjs/lib/components/Dialog/DialogTitle.js +47 -0
- package/dist/cjs/lib/components/Dialog/DialogTrigger.d.ts +3 -0
- package/dist/cjs/lib/components/Dialog/DialogTrigger.js +30 -0
- package/dist/cjs/lib/components/Dialog/index.d.ts +15 -0
- package/dist/cjs/lib/components/Dialog/index.js +19 -0
- package/dist/cjs/lib/components/DoughnutChart/index.d.ts +23 -0
- package/dist/cjs/lib/components/DoughnutChart/index.js +65 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdonMenuRadioGroup.d.ts +3 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdonMenuRadioGroup.js +30 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +11 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdonMenuSubContent.js +60 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +7 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +41 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuContent.d.ts +11 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuContent.js +56 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuItem.d.ts +15 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuItem.js +58 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +10 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +48 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuLable.d.ts +10 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuLable.js +45 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuRadioItem.d.ts +6 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuRadioItem.js +41 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +15 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuRoot.js +38 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuSeparator.d.ts +3 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuSeparator.js +31 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuSub.d.ts +3 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuSub.js +30 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuSubTrigger.d.ts +4 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +40 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +14 -0
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuTrigger.js +53 -0
- package/dist/cjs/lib/components/DropdownMenu/index.d.ts +20 -0
- package/dist/cjs/lib/components/DropdownMenu/index.js +29 -0
- package/dist/cjs/lib/components/HoverCard/HoverCardContent.d.ts +14 -0
- package/dist/cjs/lib/components/HoverCard/HoverCardContent.js +61 -0
- package/dist/cjs/lib/components/HoverCard/HoverCardRoot.d.ts +11 -0
- package/dist/cjs/lib/components/HoverCard/HoverCardRoot.js +38 -0
- package/dist/cjs/lib/components/HoverCard/HoverCardTrigger.d.ts +3 -0
- package/dist/cjs/lib/components/HoverCard/HoverCardTrigger.js +30 -0
- package/dist/cjs/lib/components/HoverCard/index.d.ts +10 -0
- package/dist/cjs/lib/components/HoverCard/index.js +9 -0
- package/dist/cjs/lib/components/IconButton/index.d.ts +15 -0
- package/dist/cjs/lib/components/IconButton/index.js +63 -0
- package/dist/cjs/lib/components/Inset/index.d.ts +10 -0
- package/dist/cjs/lib/components/Inset/index.js +50 -0
- package/dist/cjs/lib/components/Label/index.d.ts +17 -0
- package/dist/cjs/lib/components/Label/index.js +53 -0
- package/dist/cjs/lib/components/LineChart/index.d.ts +44 -0
- package/dist/cjs/lib/components/LineChart/index.js +61 -0
- package/dist/cjs/lib/components/Menubar/MenubarCheckboxItem.d.ts +4 -0
- package/dist/cjs/lib/components/Menubar/MenubarCheckboxItem.js +38 -0
- package/dist/cjs/lib/components/Menubar/MenubarContent.d.ts +11 -0
- package/dist/cjs/lib/components/Menubar/MenubarContent.js +60 -0
- package/dist/cjs/lib/components/Menubar/MenubarItem.d.ts +13 -0
- package/dist/cjs/lib/components/Menubar/MenubarItem.js +54 -0
- package/dist/cjs/lib/components/Menubar/MenubarItemIndicator.d.ts +10 -0
- package/dist/cjs/lib/components/Menubar/MenubarItemIndicator.js +49 -0
- package/dist/cjs/lib/components/Menubar/MenubarMenu.d.ts +5 -0
- package/dist/cjs/lib/components/Menubar/MenubarMenu.js +30 -0
- package/dist/cjs/lib/components/Menubar/MenubarRadioGroup.d.ts +8 -0
- package/dist/cjs/lib/components/Menubar/MenubarRadioGroup.js +31 -0
- package/dist/cjs/lib/components/Menubar/MenubarRadioItem.d.ts +4 -0
- package/dist/cjs/lib/components/Menubar/MenubarRadioItem.js +40 -0
- package/dist/cjs/lib/components/Menubar/MenubarRoot.d.ts +19 -0
- package/dist/cjs/lib/components/Menubar/MenubarRoot.js +61 -0
- package/dist/cjs/lib/components/Menubar/MenubarSeparator.d.ts +3 -0
- package/dist/cjs/lib/components/Menubar/MenubarSeparator.js +31 -0
- package/dist/cjs/lib/components/Menubar/MenubarSub.d.ts +3 -0
- package/dist/cjs/lib/components/Menubar/MenubarSub.js +30 -0
- package/dist/cjs/lib/components/Menubar/MenubarSubContent.d.ts +10 -0
- package/dist/cjs/lib/components/Menubar/MenubarSubContent.js +51 -0
- package/dist/cjs/lib/components/Menubar/MenubarSubTrigger.d.ts +4 -0
- package/dist/cjs/lib/components/Menubar/MenubarSubTrigger.js +41 -0
- package/dist/cjs/lib/components/Menubar/MenubarTrigger.d.ts +12 -0
- package/dist/cjs/lib/components/Menubar/MenubarTrigger.js +57 -0
- package/dist/cjs/lib/components/Menubar/index.d.ts +19 -0
- package/dist/cjs/lib/components/Menubar/index.js +29 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuContent.d.ts +11 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuContent.js +48 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuIndicator.d.ts +3 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuIndicator.js +31 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuItem.d.ts +3 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuItem.js +30 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuLink.d.ts +13 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuLink.js +51 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuList.d.ts +12 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuList.js +47 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +14 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuRoot.js +43 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +13 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuTrigger.js +58 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +12 -0
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuViewport.js +53 -0
- package/dist/cjs/lib/components/NavigationMenu/index.d.ts +12 -0
- package/dist/cjs/lib/components/NavigationMenu/index.js +10 -0
- package/dist/cjs/lib/components/PieChart/index.d.ts +23 -0
- package/dist/cjs/lib/components/PieChart/index.js +65 -0
- package/dist/cjs/lib/components/Popover/PopoverClose.d.ts +9 -0
- package/dist/cjs/lib/components/Popover/PopoverClose.js +48 -0
- package/dist/cjs/lib/components/Popover/PopoverContent.d.ts +11 -0
- package/dist/cjs/lib/components/Popover/PopoverContent.js +65 -0
- package/dist/cjs/lib/components/Popover/PopoverRoot.d.ts +12 -0
- package/dist/cjs/lib/components/Popover/PopoverRoot.js +36 -0
- package/dist/cjs/lib/components/Popover/PopoverTrigger.d.ts +3 -0
- package/dist/cjs/lib/components/Popover/PopoverTrigger.js +30 -0
- package/dist/cjs/lib/components/Popover/index.d.ts +11 -0
- package/dist/cjs/lib/components/Popover/index.js +11 -0
- package/dist/cjs/lib/components/Progress/index.d.ts +13 -0
- package/dist/cjs/lib/components/Progress/index.js +56 -0
- package/dist/cjs/lib/components/RadarChart/index.d.ts +33 -0
- package/dist/cjs/lib/components/RadarChart/index.js +76 -0
- package/dist/cjs/lib/components/Radio/index.d.ts +13 -0
- package/dist/cjs/lib/components/Radio/index.js +53 -0
- package/dist/cjs/lib/components/RadioCards/RadioCardsItem.d.ts +10 -0
- package/dist/cjs/lib/components/RadioCards/RadioCardsItem.js +54 -0
- package/dist/cjs/lib/components/RadioCards/RadioCardsRoot.d.ts +13 -0
- package/dist/cjs/lib/components/RadioCards/RadioCardsRoot.js +46 -0
- package/dist/cjs/lib/components/RadioCards/index.d.ts +6 -0
- package/dist/cjs/lib/components/RadioCards/index.js +7 -0
- package/dist/cjs/lib/components/RadioGroup/RadioGroupItem.d.ts +13 -0
- package/dist/cjs/lib/components/RadioGroup/RadioGroupItem.js +46 -0
- package/dist/cjs/lib/components/RadioGroup/RadioGroupRoot.d.ts +15 -0
- package/dist/cjs/lib/components/RadioGroup/RadioGroupRoot.js +53 -0
- package/dist/cjs/lib/components/RadioGroup/index.d.ts +6 -0
- package/dist/cjs/lib/components/RadioGroup/index.js +7 -0
- package/dist/cjs/lib/components/ScrollArea/index.d.ts +9 -0
- package/dist/cjs/lib/components/ScrollArea/index.js +36 -0
- package/dist/cjs/lib/components/SegmentedControl/SegmentedControlItem.d.ts +6 -0
- package/dist/cjs/lib/components/SegmentedControl/SegmentedControlItem.js +35 -0
- package/dist/cjs/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +14 -0
- package/dist/cjs/lib/components/SegmentedControl/SegmentedControlRoot.js +47 -0
- package/dist/cjs/lib/components/SegmentedControl/index.d.ts +6 -0
- package/dist/cjs/lib/components/SegmentedControl/index.js +7 -0
- package/dist/cjs/lib/components/Select/index.d.ts +34 -0
- package/dist/cjs/lib/components/Select/index.js +92 -0
- package/dist/cjs/lib/components/Separator/index.d.ts +11 -0
- package/dist/cjs/lib/components/Separator/index.js +47 -0
- package/dist/cjs/lib/components/Skeleton/index.d.ts +14 -0
- package/dist/cjs/lib/components/Skeleton/index.js +42 -0
- package/dist/cjs/lib/components/Slider/index.d.ts +14 -0
- package/dist/cjs/lib/components/Slider/index.js +49 -0
- package/dist/cjs/lib/components/Spinner/index.d.ts +15 -0
- package/dist/cjs/lib/components/Spinner/index.js +47 -0
- package/dist/cjs/lib/components/TabNav/index.d.ts +15 -0
- package/dist/cjs/lib/components/TabNav/index.js +50 -0
- package/dist/cjs/lib/components/Table/index.d.ts +30 -0
- package/dist/cjs/lib/components/Table/index.js +98 -0
- package/dist/cjs/lib/components/Tabs/index.d.ts +22 -0
- package/dist/cjs/lib/components/Tabs/index.js +65 -0
- package/dist/cjs/lib/components/TextArea/index.d.ts +16 -0
- package/dist/cjs/lib/components/TextArea/index.js +58 -0
- package/dist/cjs/lib/components/TextField/index.d.ts +21 -0
- package/dist/cjs/lib/components/TextField/index.js +56 -0
- package/dist/cjs/lib/components/Toast/ToastActionButton.d.ts +14 -0
- package/dist/cjs/lib/components/Toast/ToastActionButton.js +67 -0
- package/dist/cjs/lib/components/Toast/ToastDescription.d.ts +13 -0
- package/dist/cjs/lib/components/Toast/ToastDescription.js +53 -0
- package/dist/cjs/lib/components/Toast/ToastRoot.d.ts +27 -0
- package/dist/cjs/lib/components/Toast/ToastRoot.js +90 -0
- package/dist/cjs/lib/components/Toast/ToastTitle.d.ts +13 -0
- package/dist/cjs/lib/components/Toast/ToastTitle.js +53 -0
- package/dist/cjs/lib/components/Toast/index.d.ts +8 -0
- package/dist/cjs/lib/components/Toast/index.js +11 -0
- package/dist/cjs/lib/components/Toggle/ToggleWithText.d.ts +21 -0
- package/dist/cjs/lib/components/Toggle/ToggleWithText.js +58 -0
- package/dist/cjs/lib/components/Toggle/index.d.ts +21 -0
- package/dist/cjs/lib/components/Toggle/index.js +58 -0
- package/dist/cjs/lib/components/ToggleGroup/ToggleGroupItem.d.ts +17 -0
- package/dist/cjs/lib/components/ToggleGroup/ToggleGroupItem.js +54 -0
- package/dist/cjs/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +15 -0
- package/dist/cjs/lib/components/ToggleGroup/ToggleGroupRoot.js +48 -0
- package/dist/cjs/lib/components/ToggleGroup/index.d.ts +6 -0
- package/dist/cjs/lib/components/ToggleGroup/index.js +7 -0
- package/dist/cjs/lib/components/ToggleSwitch/index.d.ts +13 -0
- package/dist/cjs/lib/components/ToggleSwitch/index.js +71 -0
- package/dist/cjs/lib/components/Tooltip/index.d.ts +19 -0
- package/dist/cjs/lib/components/Tooltip/index.js +49 -0
- package/dist/cjs/lib/components/index.d.ts +50 -0
- package/dist/cjs/lib/constants.d.ts +655 -0
- package/dist/cjs/lib/index.d.ts +2 -0
- package/dist/cjs/lib/types.d.ts +81 -0
- package/dist/cjs/lib/utils/useDarkMode.d.ts +1 -0
- package/dist/cjs/lib/utils/utils.d.ts +2 -0
- package/dist/esm/lib/Typography/Header/index.d.ts +13 -0
- package/dist/esm/lib/Typography/Text/index.d.ts +15 -0
- package/dist/esm/lib/Typography/index.d.ts +2 -0
- package/dist/esm/lib/color/alpha.d.ts +784 -0
- package/dist/esm/lib/color/constants.d.ts +29 -0
- package/dist/esm/lib/color/dark.d.ts +392 -0
- package/dist/esm/lib/color/krdsColors.d.ts +309 -0
- package/dist/esm/lib/color/light.d.ts +392 -0
- package/dist/esm/lib/components/Accordion/index.d.ts +22 -0
- package/dist/esm/lib/components/AlertDialog/AlertDialogAction.d.ts +14 -0
- package/dist/esm/lib/components/AlertDialog/AlertDialogCancel.d.ts +13 -0
- package/dist/esm/lib/components/AlertDialog/AlertDialogContent.d.ts +11 -0
- package/dist/esm/lib/components/AlertDialog/AlertDialogDescription.d.ts +10 -0
- package/dist/esm/lib/components/AlertDialog/AlertDialogRoot.d.ts +16 -0
- package/dist/esm/lib/components/AlertDialog/AlertDialogTitle.d.ts +10 -0
- package/dist/esm/lib/components/AlertDialog/AlertDialogTrigger.d.ts +17 -0
- package/dist/esm/lib/components/AlertDialog/index.d.ts +11 -0
- package/dist/esm/lib/components/AspectRatio/index.d.ts +10 -0
- package/dist/esm/lib/components/Avatar/index.d.ts +21 -0
- package/dist/esm/lib/components/Badge/index.d.ts +18 -0
- package/dist/esm/lib/components/BarChart/index.d.ts +38 -0
- package/dist/esm/lib/components/BubbleChart/index.d.ts +29 -0
- package/dist/esm/lib/components/Button/index.d.ts +16 -0
- package/dist/esm/lib/components/Callout/CalloutIcon.d.ts +13 -0
- package/dist/esm/lib/components/Callout/CalloutRoot.d.ts +18 -0
- package/dist/esm/lib/components/Callout/CalloutText.d.ts +10 -0
- package/dist/esm/lib/components/Callout/index.d.ts +7 -0
- package/dist/esm/lib/components/Card/index.d.ts +14 -0
- package/dist/esm/lib/components/Checkbox/index.d.ts +17 -0
- package/dist/esm/lib/components/CheckboxCard/index.d.ts +20 -0
- package/dist/esm/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +5 -0
- package/dist/esm/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +17 -0
- package/dist/esm/lib/components/CheckboxGroup/index.d.ts +6 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuCheckboxItem.d.ts +4 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuContent.d.ts +11 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuGroup.d.ts +4 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuItem.d.ts +13 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +10 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuLabel.d.ts +11 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuRadioGroup.d.ts +8 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuRadioItem.d.ts +4 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuRoot.d.ts +13 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuSeparator.d.ts +3 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuSubContent.d.ts +11 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuSubTrigger.d.ts +4 -0
- package/dist/esm/lib/components/ContextMenu/ContextMenuTrigger.d.ts +4 -0
- package/dist/esm/lib/components/ContextMenu/index.d.ts +17 -0
- package/dist/esm/lib/components/DataList/DataListItem.d.ts +9 -0
- package/dist/esm/lib/components/DataList/DataListLabel.d.ts +10 -0
- package/dist/esm/lib/components/DataList/DataListRoot.d.ts +14 -0
- package/dist/esm/lib/components/DataList/DataListValue.d.ts +11 -0
- package/dist/esm/lib/components/DataList/index.d.ts +8 -0
- package/dist/esm/lib/components/Dialog/DialogAction.d.ts +13 -0
- package/dist/esm/lib/components/Dialog/DialogCancel.d.ts +11 -0
- package/dist/esm/lib/components/Dialog/DialogContent.d.ts +11 -0
- package/dist/esm/lib/components/Dialog/DialogDescription.d.ts +9 -0
- package/dist/esm/lib/components/Dialog/DialogRoot.d.ts +15 -0
- package/dist/esm/lib/components/Dialog/DialogSlot.d.ts +9 -0
- package/dist/esm/lib/components/Dialog/DialogTitle.d.ts +11 -0
- package/dist/esm/lib/components/Dialog/DialogTrigger.d.ts +3 -0
- package/dist/esm/lib/components/Dialog/index.d.ts +15 -0
- package/dist/esm/lib/components/DoughnutChart/index.d.ts +23 -0
- package/dist/esm/lib/components/DropdownMenu/DropdonMenuRadioGroup.d.ts +3 -0
- package/dist/esm/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +11 -0
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +7 -0
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuContent.d.ts +11 -0
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuItem.d.ts +15 -0
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +10 -0
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuLable.d.ts +10 -0
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuRadioItem.d.ts +6 -0
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +15 -0
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuSeparator.d.ts +3 -0
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuSub.d.ts +3 -0
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuSubTrigger.d.ts +4 -0
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +14 -0
- package/dist/esm/lib/components/DropdownMenu/index.d.ts +20 -0
- package/dist/esm/lib/components/HoverCard/HoverCardContent.d.ts +14 -0
- package/dist/esm/lib/components/HoverCard/HoverCardRoot.d.ts +11 -0
- package/dist/esm/lib/components/HoverCard/HoverCardTrigger.d.ts +3 -0
- package/dist/esm/lib/components/HoverCard/index.d.ts +10 -0
- package/dist/esm/lib/components/IconButton/index.d.ts +15 -0
- package/dist/esm/lib/components/Inset/index.d.ts +10 -0
- package/dist/esm/lib/components/Label/index.d.ts +17 -0
- package/dist/esm/lib/components/LineChart/index.d.ts +44 -0
- package/dist/esm/lib/components/Menubar/MenubarCheckboxItem.d.ts +4 -0
- package/dist/esm/lib/components/Menubar/MenubarContent.d.ts +11 -0
- package/dist/esm/lib/components/Menubar/MenubarItem.d.ts +13 -0
- package/dist/esm/lib/components/Menubar/MenubarItemIndicator.d.ts +10 -0
- package/dist/esm/lib/components/Menubar/MenubarMenu.d.ts +5 -0
- package/dist/esm/lib/components/Menubar/MenubarRadioGroup.d.ts +8 -0
- package/dist/esm/lib/components/Menubar/MenubarRadioItem.d.ts +4 -0
- package/dist/esm/lib/components/Menubar/MenubarRoot.d.ts +19 -0
- package/dist/esm/lib/components/Menubar/MenubarSeparator.d.ts +3 -0
- package/dist/esm/lib/components/Menubar/MenubarSub.d.ts +3 -0
- package/dist/esm/lib/components/Menubar/MenubarSubContent.d.ts +10 -0
- package/dist/esm/lib/components/Menubar/MenubarSubTrigger.d.ts +4 -0
- package/dist/esm/lib/components/Menubar/MenubarTrigger.d.ts +12 -0
- package/dist/esm/lib/components/Menubar/index.d.ts +19 -0
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuContent.d.ts +11 -0
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuIndicator.d.ts +3 -0
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuItem.d.ts +3 -0
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuLink.d.ts +13 -0
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuList.d.ts +12 -0
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +14 -0
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +13 -0
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +12 -0
- package/dist/esm/lib/components/NavigationMenu/index.d.ts +12 -0
- package/dist/esm/lib/components/PieChart/index.d.ts +23 -0
- package/dist/esm/lib/components/Popover/PopoverClose.d.ts +9 -0
- package/dist/esm/lib/components/Popover/PopoverContent.d.ts +11 -0
- package/dist/esm/lib/components/Popover/PopoverRoot.d.ts +12 -0
- package/dist/esm/lib/components/Popover/PopoverTrigger.d.ts +3 -0
- package/dist/esm/lib/components/Popover/index.d.ts +11 -0
- package/dist/esm/lib/components/Progress/index.d.ts +13 -0
- package/dist/esm/lib/components/RadarChart/index.d.ts +33 -0
- package/dist/esm/lib/components/Radio/index.d.ts +13 -0
- package/dist/esm/lib/components/RadioCards/RadioCardsItem.d.ts +10 -0
- package/dist/esm/lib/components/RadioCards/RadioCardsRoot.d.ts +13 -0
- package/dist/esm/lib/components/RadioCards/index.d.ts +6 -0
- package/dist/esm/lib/components/RadioGroup/RadioGroupItem.d.ts +13 -0
- package/dist/esm/lib/components/RadioGroup/RadioGroupRoot.d.ts +15 -0
- package/dist/esm/lib/components/RadioGroup/index.d.ts +6 -0
- package/dist/esm/lib/components/ScrollArea/index.d.ts +9 -0
- package/dist/esm/lib/components/SegmentedControl/SegmentedControlItem.d.ts +6 -0
- package/dist/esm/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +14 -0
- package/dist/esm/lib/components/SegmentedControl/index.d.ts +6 -0
- package/dist/esm/lib/components/Select/index.d.ts +34 -0
- package/dist/esm/lib/components/Separator/index.d.ts +11 -0
- package/dist/esm/lib/components/Skeleton/index.d.ts +14 -0
- package/dist/esm/lib/components/Slider/index.d.ts +14 -0
- package/dist/esm/lib/components/Spinner/index.d.ts +15 -0
- package/dist/esm/lib/components/TabNav/index.d.ts +15 -0
- package/dist/esm/lib/components/Table/index.d.ts +30 -0
- package/dist/esm/lib/components/Tabs/index.d.ts +22 -0
- package/dist/esm/lib/components/TextArea/index.d.ts +16 -0
- package/dist/esm/lib/components/TextField/index.d.ts +21 -0
- package/dist/esm/lib/components/Toast/ToastActionButton.d.ts +14 -0
- package/dist/esm/lib/components/Toast/ToastDescription.d.ts +13 -0
- package/dist/esm/lib/components/Toast/ToastRoot.d.ts +27 -0
- package/dist/esm/lib/components/Toast/ToastTitle.d.ts +13 -0
- package/dist/esm/lib/components/Toast/index.d.ts +8 -0
- package/dist/esm/lib/components/Toggle/ToggleWithText.d.ts +21 -0
- package/dist/esm/lib/components/Toggle/index.d.ts +21 -0
- package/dist/esm/lib/components/ToggleGroup/ToggleGroupItem.d.ts +17 -0
- package/dist/esm/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +15 -0
- package/dist/esm/lib/components/ToggleGroup/index.d.ts +6 -0
- package/dist/esm/lib/components/ToggleSwitch/index.d.ts +13 -0
- package/dist/esm/lib/components/Tooltip/index.d.ts +19 -0
- package/dist/esm/lib/components/index.d.ts +50 -0
- package/dist/esm/lib/constants.d.ts +655 -0
- package/dist/esm/lib/index.d.ts +2 -0
- package/dist/esm/lib/types.d.ts +81 -0
- package/dist/esm/lib/utils/useDarkMode.d.ts +1 -0
- package/dist/esm/lib/utils/utils.d.ts +2 -0
- package/package.json +7 -5
- package/dist/cjs/.storybook/main.js +0 -24
- package/dist/cjs/.storybook/manager.js +0 -17
- package/dist/cjs/.storybook/preview.jsx +0 -106
- package/dist/cjs/tailwind.config.js +0 -169
- package/dist/cjs/tsconfig.tsbuildinfo +0 -1
- package/dist/esm/.storybook/main.js +0 -22
- package/dist/esm/.storybook/manager.js +0 -12
- package/dist/esm/.storybook/preview.jsx +0 -80
- package/dist/esm/tailwind.config.js +0 -144
- package/dist/esm/tsconfig.tsbuildinfo +0 -1
@@ -0,0 +1,81 @@
|
|
1
|
+
export type IRadius = 'none' | 'small' | 'medium' | 'large' | 'full';
|
2
|
+
export type IScaling = '90%' | '95%' | '100%' | '105%' | '110%';
|
3
|
+
export type IWeight = 'regular' | 'medium' | 'semibold' | 'bold';
|
4
|
+
export type ITheme = 'light' | 'dark';
|
5
|
+
export type ITypoSize = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';
|
6
|
+
export type ISize = 'x-small' | 'small' | 'medium' | 'large' | 'x-large';
|
7
|
+
export type IAppearance = 'classic' | 'solid' | 'soft' | 'surface' | 'outline' | 'ghost';
|
8
|
+
export type PointStyle = 'circle' | 'cross' | 'crossRot' | 'dash' | 'line' | 'rect' | 'rectRounded' | 'rectRot' | 'star' | 'triangle' | false;
|
9
|
+
export type IColor = 'slate' | 'olive' | 'sand' | 'tomato' | 'red' | 'ruby' | 'crimson' | 'pink' | 'plum' | 'purple' | 'violet' | 'iris' | 'indigo' | 'blue' | 'cyan' | 'teal' | 'jade' | 'green' | 'grass' | 'brown' | 'bronze' | 'gold' | 'sky' | 'mint' | 'lime' | 'yellow' | 'amber' | 'orange' | 'black' | 'white';
|
10
|
+
export type IDarkColor = 'blackDark' | 'whiteDark' | 'slateDark' | 'oliveDark' | 'sandDark' | 'tomatoDark' | 'redDark' | 'rubyDark' | 'crimsonDark' | 'pinkDark' | 'plumDark' | 'purpleDark' | 'violetDark' | 'irisDark' | 'indigoDark' | 'blueDark' | 'cyanDark' | 'tealDark' | 'jadeDark' | 'greenDark' | 'grassDark' | 'brownDark' | 'bronzeDark' | 'goldDark' | 'skyDark' | 'mintDark' | 'limeDark' | 'yellowDark' | 'amberDark' | 'orangeDark' | 'slateDarkA' | 'oliveDarkA' | 'sandDarkA' | 'tomatoDarkA' | 'redDarkA' | 'rubyDarkA' | 'crimsonDarkA' | 'pinkDarkA' | 'plumDarkA' | 'purpleDarkA' | 'violetDarkA' | 'irisDarkA' | 'indigoDarkA' | 'blueDarkA' | 'cyanDarkA' | 'tealDarkA' | 'jadeDarkA' | 'greenDarkA' | 'grassDarkA' | 'brownDarkA' | 'bronzeDarkA' | 'goldDarkA' | 'skyDarkA' | 'mintDarkA' | 'limeDarkA' | 'yellowDarkA' | 'amberDarkA' | 'orangeDarkA';
|
11
|
+
export type IAlphaColor = 'slateA' | 'oliveA' | 'sandA' | 'tomatoA' | 'redA' | 'rubyA' | 'crimsonA' | 'pinkA' | 'plumA' | 'purpleA' | 'violetA' | 'irisA' | 'indigoA' | 'blueA' | 'cyanA' | 'tealA' | 'jadeA' | 'greenA' | 'grassA' | 'brownA' | 'bronzeA' | 'goldA' | 'skyA' | 'mintA' | 'limeA' | 'yellowA' | 'amberA' | 'orangeA';
|
12
|
+
export type IChartTitle = {
|
13
|
+
text?: string | string[];
|
14
|
+
display?: boolean;
|
15
|
+
position?: 'top' | 'right' | 'bottom' | 'left';
|
16
|
+
align?: 'start' | 'center' | 'end';
|
17
|
+
font?: {
|
18
|
+
size?: number;
|
19
|
+
weight?: 'normal' | 'bold' | 'lighter' | 'bolder' | number;
|
20
|
+
lineHeight?: number;
|
21
|
+
};
|
22
|
+
};
|
23
|
+
export type IChartLegend = {
|
24
|
+
display?: boolean;
|
25
|
+
align?: 'start' | 'center' | 'end';
|
26
|
+
position?: 'top' | 'right' | 'bottom' | 'left';
|
27
|
+
maxHeight?: number;
|
28
|
+
maxWidth?: number;
|
29
|
+
fullSize?: boolean;
|
30
|
+
reverse?: boolean;
|
31
|
+
labels?: {
|
32
|
+
boxWidth?: number;
|
33
|
+
boxHeight?: number;
|
34
|
+
padding?: number;
|
35
|
+
textAlign?: 'left' | 'right' | 'center';
|
36
|
+
color?: string;
|
37
|
+
usePointStyle?: boolean;
|
38
|
+
pointStyle?: PointStyle;
|
39
|
+
pointStyleWidth?: number;
|
40
|
+
useBorderRadius?: boolean;
|
41
|
+
borderRadius?: number;
|
42
|
+
};
|
43
|
+
rtl?: boolean;
|
44
|
+
textDirection?: 'rtl' | 'ltr';
|
45
|
+
title?: {
|
46
|
+
color?: string;
|
47
|
+
display?: boolean;
|
48
|
+
padding?: number;
|
49
|
+
text?: string;
|
50
|
+
};
|
51
|
+
};
|
52
|
+
export type IChartDatasets = {
|
53
|
+
label?: string;
|
54
|
+
backgroundColor?: string[] | string;
|
55
|
+
borderColor?: string[] | string;
|
56
|
+
borderWidth?: number;
|
57
|
+
borderRadius?: number;
|
58
|
+
borderDash?: number[];
|
59
|
+
borderDashOffset?: number;
|
60
|
+
hoverBackgroundColor?: string;
|
61
|
+
hoverBorderColor?: string;
|
62
|
+
hoverBorderWidth?: number;
|
63
|
+
pointStyle?: PointStyle;
|
64
|
+
offset?: number;
|
65
|
+
spacing?: number;
|
66
|
+
weight?: number;
|
67
|
+
order?: number;
|
68
|
+
hidden?: boolean;
|
69
|
+
};
|
70
|
+
export type IChartDataLabels = {
|
71
|
+
display?: boolean;
|
72
|
+
color?: string;
|
73
|
+
align?: 'start' | 'center' | 'end' | number;
|
74
|
+
backgroundColor?: string | ((context: any) => string);
|
75
|
+
borderColor?: string;
|
76
|
+
borderRadius?: number;
|
77
|
+
borderWidth?: number;
|
78
|
+
font?: object;
|
79
|
+
formatter?: (x: number) => number;
|
80
|
+
padding?: number;
|
81
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const useDarkMode: (isRAxes?: boolean) => any[];
|
package/package.json
CHANGED
@@ -1,18 +1,19 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lotte-innovate/ui-component-test",
|
3
3
|
"description": "Lotte UI Library",
|
4
|
-
"version": "0.1.
|
4
|
+
"version": "0.1.50",
|
5
5
|
"private": false,
|
6
6
|
"files": [
|
7
7
|
"dist/cjs",
|
8
8
|
"dist/esm",
|
9
|
+
"dist/types",
|
9
10
|
"dist/tailwind.config.d.ts",
|
10
11
|
"dist/tailwind.config.js",
|
11
12
|
"dist/globals.css"
|
12
13
|
],
|
13
14
|
"main": "dist/cjs/lib/index.js",
|
14
15
|
"module": "dist/esm/lib/index.js",
|
15
|
-
"types": "dist/index.d.ts",
|
16
|
+
"types": "dist/types/index.d.ts",
|
16
17
|
"exports": {
|
17
18
|
".": {
|
18
19
|
"import": "./dist/esm/lib/index.js",
|
@@ -52,17 +53,18 @@
|
|
52
53
|
"build": "next build && npm run compile",
|
53
54
|
"build:css": "npx tailwindcss -i src/app/globals.css -o dist/globals.css --minify",
|
54
55
|
"build-storybook": "storybook build",
|
55
|
-
"build:cjs": "tsc --p ./cjs/tsconfig.json --outDir ./dist
|
56
|
-
"build:esm": "tsc --p ./esm/tsconfig.json --outDir ./dist
|
56
|
+
"build:cjs": "tsc --p ./cjs/tsconfig.json --outDir ./dist",
|
57
|
+
"build:esm": "tsc --p ./esm/tsconfig.json --outDir ./dist",
|
57
58
|
"clean": "rimraf dist && mkdir dist",
|
58
59
|
"update-tailwind": "node update-tailwind-import.mjs",
|
59
|
-
"build:all": "npm run clean && npm run compile && npm run build:cjs
|
60
|
+
"build:all": "npm run clean && npm run compile && npm run build:cjs && node src/utils/move-cjs.mjs && npm run build:esm && node src/utils/move-esm.mjs && npm run build:css && tsc-alias && npm run update-tailwind",
|
60
61
|
"publish:npm": "npm run build:all && npm publish && node src/utils/post-publish.mjs"
|
61
62
|
},
|
62
63
|
"dependencies": {
|
63
64
|
"@babel/runtime": "^7.24.7",
|
64
65
|
"@babel/runtime-corejs3": "^7.24.7",
|
65
66
|
"@lotte-innovate/lui": "^0.1.7",
|
67
|
+
"@lotte-innovate/ui-component-test": "^0.1.49",
|
66
68
|
"@radix-ui/colors": "^3.0.0",
|
67
69
|
"@radix-ui/react-accordion": "^1.2.0",
|
68
70
|
"@radix-ui/react-checkbox": "^1.0.4",
|
@@ -1,24 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
var config = {
|
4
|
-
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
|
5
|
-
addons: [
|
6
|
-
'@storybook/addon-links',
|
7
|
-
'@storybook/addon-essentials',
|
8
|
-
'@chromatic-com/storybook',
|
9
|
-
'@storybook/addon-interactions',
|
10
|
-
'@storybook/addon-styling-webpack',
|
11
|
-
'@storybook/addon-a11y',
|
12
|
-
'storybook-dark-mode',
|
13
|
-
'storybook-addon-deep-controls',
|
14
|
-
],
|
15
|
-
framework: {
|
16
|
-
name: '@storybook/nextjs',
|
17
|
-
options: {},
|
18
|
-
},
|
19
|
-
docs: {
|
20
|
-
autodocs: 'tag',
|
21
|
-
},
|
22
|
-
staticDirs: ['../public'],
|
23
|
-
};
|
24
|
-
exports.default = config;
|
@@ -1,17 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
-
};
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
var addons_1 = require("@storybook/addons");
|
7
|
-
var theming_1 = require("@storybook/theming");
|
8
|
-
var logo_png_1 = __importDefault(require("../src/stories/assets/logo.png"));
|
9
|
-
var lightTheme = (0, theming_1.create)({
|
10
|
-
base: 'light', // 밝은 테마 설정
|
11
|
-
brandImage: logo_png_1.default,
|
12
|
-
brandTitle: '롯데이노베이트',
|
13
|
-
brandUrl: '../src/stories/assets/logo.png', //로고 적용
|
14
|
-
});
|
15
|
-
addons_1.addons.setConfig({
|
16
|
-
theme: lightTheme,
|
17
|
-
});
|
@@ -1,106 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
3
|
-
__assign = Object.assign || function(t) {
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
5
|
-
s = arguments[i];
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
7
|
-
t[p] = s[p];
|
8
|
-
}
|
9
|
-
return t;
|
10
|
-
};
|
11
|
-
return __assign.apply(this, arguments);
|
12
|
-
};
|
13
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
14
|
-
if (k2 === undefined) k2 = k;
|
15
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
16
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
17
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
18
|
-
}
|
19
|
-
Object.defineProperty(o, k2, desc);
|
20
|
-
}) : (function(o, m, k, k2) {
|
21
|
-
if (k2 === undefined) k2 = k;
|
22
|
-
o[k2] = m[k];
|
23
|
-
}));
|
24
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
25
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
26
|
-
}) : function(o, v) {
|
27
|
-
o["default"] = v;
|
28
|
-
});
|
29
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
30
|
-
if (mod && mod.__esModule) return mod;
|
31
|
-
var result = {};
|
32
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
33
|
-
__setModuleDefault(result, mod);
|
34
|
-
return result;
|
35
|
-
};
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
37
|
-
exports.decorators = void 0;
|
38
|
-
var react_1 = __importStar(require("react"));
|
39
|
-
var theming_1 = require("@storybook/theming");
|
40
|
-
var storybook_dark_mode_1 = require("storybook-dark-mode");
|
41
|
-
require("../src/app/globals.css");
|
42
|
-
require("../src/app/styles.css");
|
43
|
-
require("../src/app/stories.css");
|
44
|
-
require("tailwindcss/tailwind.css");
|
45
|
-
var preview = {
|
46
|
-
parameters: {
|
47
|
-
controls: {
|
48
|
-
matchers: {
|
49
|
-
color: /(background|color)$/i,
|
50
|
-
date: /Date$/i,
|
51
|
-
},
|
52
|
-
},
|
53
|
-
options: {
|
54
|
-
storySort: {
|
55
|
-
method: 'alphabetical',
|
56
|
-
order: [
|
57
|
-
'Welcome',
|
58
|
-
'Typography',
|
59
|
-
'Component',
|
60
|
-
'Chart',
|
61
|
-
'Light Color',
|
62
|
-
'Dark Color',
|
63
|
-
'Light Alpha Color',
|
64
|
-
'Dark Alpha Color',
|
65
|
-
],
|
66
|
-
},
|
67
|
-
},
|
68
|
-
docs: {
|
69
|
-
theme: theming_1.themes.light,
|
70
|
-
},
|
71
|
-
darkMode: {
|
72
|
-
dark: __assign(__assign({}, theming_1.themes.dark), { appBg: '#272a2d', textColor: '#edeef0' }),
|
73
|
-
light: __assign(__assign({}, theming_1.themes.light), { appBg: 'white', textColor: '#2E3438' }),
|
74
|
-
},
|
75
|
-
backgrounds: { disable: true },
|
76
|
-
deepControls: { enabled: true },
|
77
|
-
},
|
78
|
-
};
|
79
|
-
exports.default = preview;
|
80
|
-
var changeClassOnBody = function (oldClassName, newClassName) {
|
81
|
-
var classList = document.body.classList;
|
82
|
-
if (classList.contains(oldClassName)) {
|
83
|
-
classList.replace(oldClassName, newClassName);
|
84
|
-
}
|
85
|
-
};
|
86
|
-
var withBackground = function (Story, context) {
|
87
|
-
var isDarkMode = (0, storybook_dark_mode_1.useDarkMode)();
|
88
|
-
(0, react_1.useEffect)(function () {
|
89
|
-
if (isDarkMode) {
|
90
|
-
changeClassOnBody('light', 'dark');
|
91
|
-
}
|
92
|
-
else {
|
93
|
-
changeClassOnBody('dark', 'light');
|
94
|
-
}
|
95
|
-
var docsStoryElements = document.querySelectorAll('.docs-story');
|
96
|
-
docsStoryElements.forEach(function (element) {
|
97
|
-
element.style.backgroundColor = isDarkMode ? '#111113' : 'white';
|
98
|
-
});
|
99
|
-
docsStoryElements = document.querySelectorAll('.sb-show-main');
|
100
|
-
docsStoryElements.forEach(function (element) {
|
101
|
-
element.style.backgroundColor = isDarkMode ? '#111113' : 'white';
|
102
|
-
});
|
103
|
-
}, [isDarkMode]);
|
104
|
-
return <Story {...context}/>;
|
105
|
-
};
|
106
|
-
exports.decorators = [withBackground];
|
@@ -1,169 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
3
|
-
__assign = Object.assign || function(t) {
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
5
|
-
s = arguments[i];
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
7
|
-
t[p] = s[p];
|
8
|
-
}
|
9
|
-
return t;
|
10
|
-
};
|
11
|
-
return __assign.apply(this, arguments);
|
12
|
-
};
|
13
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
14
|
-
if (k2 === undefined) k2 = k;
|
15
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
16
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
17
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
18
|
-
}
|
19
|
-
Object.defineProperty(o, k2, desc);
|
20
|
-
}) : (function(o, m, k, k2) {
|
21
|
-
if (k2 === undefined) k2 = k;
|
22
|
-
o[k2] = m[k];
|
23
|
-
}));
|
24
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
25
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
26
|
-
}) : function(o, v) {
|
27
|
-
o["default"] = v;
|
28
|
-
});
|
29
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
30
|
-
if (mod && mod.__esModule) return mod;
|
31
|
-
var result = {};
|
32
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
33
|
-
__setModuleDefault(result, mod);
|
34
|
-
return result;
|
35
|
-
};
|
36
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
37
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
38
|
-
if (ar || !(i in from)) {
|
39
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
40
|
-
ar[i] = from[i];
|
41
|
-
}
|
42
|
-
}
|
43
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
44
|
-
};
|
45
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
46
|
-
var lightColors = __importStar(require("./src/lib/color/light"));
|
47
|
-
var darkColors = __importStar(require("./src/lib/color/dark"));
|
48
|
-
var alphaColors = __importStar(require("./src/lib/color/alpha"));
|
49
|
-
var constants_1 = require("./src/lib/color/constants");
|
50
|
-
var classes = [];
|
51
|
-
var darkClasses = [];
|
52
|
-
var colorScale = Array.from({ length: 12 }, function (_, i) { return (i + 1).toString(); });
|
53
|
-
var allColorOptions = [constants_1.colorOptions, constants_1.alphaColorOptions];
|
54
|
-
var generateClasses = function (colorList, colorScale) {
|
55
|
-
var classPrefixes = ['accent', 'fill', 'border', 'outline', 'bg', 'text'];
|
56
|
-
return colorList.flatMap(function (color) {
|
57
|
-
return colorScale.flatMap(function (scale) { return classPrefixes.map(function (prefix) { return "".concat(prefix, "-").concat(color, "-").concat(scale); }); });
|
58
|
-
});
|
59
|
-
};
|
60
|
-
var generateDarkClasses = function (colorList, colorScale) {
|
61
|
-
var classPrefixes = [
|
62
|
-
'dark:accent',
|
63
|
-
'dark:fill',
|
64
|
-
'dark:outline',
|
65
|
-
'dark:border',
|
66
|
-
'dark:bg',
|
67
|
-
'dark:text',
|
68
|
-
'dark:hover:bg',
|
69
|
-
'dark:hover:border',
|
70
|
-
'dark:hover:text',
|
71
|
-
'dark:active:bg',
|
72
|
-
'dark:active:border',
|
73
|
-
'dark:active:text',
|
74
|
-
'dark:before:checked:bg',
|
75
|
-
'dark:data-[state=on]:bg',
|
76
|
-
'dark:data-[state=open]:bg',
|
77
|
-
'dark:data-[state=on]:text',
|
78
|
-
'dark:data-[state=on]:hover:bg',
|
79
|
-
'dark:data-[state=on]:hover:border',
|
80
|
-
'dark:data-[state=on]:hover:text',
|
81
|
-
];
|
82
|
-
return colorList.flatMap(function (color) {
|
83
|
-
return colorScale.flatMap(function (scale) { return classPrefixes.map(function (prefix) { return "".concat(prefix, "-").concat(color, "-").concat(scale); }); });
|
84
|
-
});
|
85
|
-
};
|
86
|
-
allColorOptions.forEach(function (options) {
|
87
|
-
classes = classes.concat(generateClasses(options, colorScale));
|
88
|
-
});
|
89
|
-
darkClasses.push.apply(darkClasses, generateDarkClasses(constants_1.darkColorOptions, colorScale));
|
90
|
-
var config = {
|
91
|
-
content: [
|
92
|
-
'./src/app/**/*.{js,ts,jsx,tsx,mdx,zip}',
|
93
|
-
'./src/lib/**/*.{js,ts,jsx,tsx,mdx,zip}',
|
94
|
-
'./src/stories/**/*.{js,ts,jsx,tsx,mdx,zip}',
|
95
|
-
'./src/**/*.{js,ts,jsx,tsx,mdx,zip}',
|
96
|
-
],
|
97
|
-
safelist: __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], classes, true), classes.map(function (cls) { return "hover:".concat(cls); }), true), classes.map(function (cls) { return "active:".concat(cls); }), true), classes.map(function (cls) { return "before:".concat(cls); }), true), classes.map(function (cls) { return "data-[state=checked]:".concat(cls); }), true), classes.map(function (cls) { return "data-[state=unchecked]:".concat(cls); }), true), classes.map(function (cls) { return "data-[state=on]:".concat(cls); }), true), classes.map(function (cls) { return "data-[state=on]:hover:".concat(cls); }), true), classes.map(function (cls) { return "data-[state=open]:".concat(cls); }), true), classes.map(function (cls) { return "after:checked:".concat(cls); }), true), classes.map(function (cls) { return "before:checked:".concat(cls); }), true), darkClasses, true),
|
98
|
-
theme: {
|
99
|
-
extend: {
|
100
|
-
fontFamily: {
|
101
|
-
sans: ['Noto Sans KR', 'sans-serif', 'Nunito Sans', 'Helvetica Neue', 'Helvetica', 'Arial'],
|
102
|
-
},
|
103
|
-
backgroundImage: {
|
104
|
-
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
|
105
|
-
'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
|
106
|
-
},
|
107
|
-
colors: __assign(__assign(__assign({ danger: '#C40006', warning: '#AB6400', success: '#00713F', information: '#00749E' }, formatColors(lightColors)), formatColors(darkColors)), formatColors(alphaColors)),
|
108
|
-
// radix tailwind
|
109
|
-
keyframes: {
|
110
|
-
overlayShow: {
|
111
|
-
from: { opacity: '0' },
|
112
|
-
to: { opacity: '1' },
|
113
|
-
},
|
114
|
-
contentShow: {
|
115
|
-
from: { opacity: '0', transform: 'translate(-50%, -48%) scale(0.96)' },
|
116
|
-
to: { opacity: '1', transform: 'translate(-50%, -50%) scale(1)' },
|
117
|
-
},
|
118
|
-
slideDown: {
|
119
|
-
from: { height: '0px' },
|
120
|
-
to: { height: 'var(--radix-accordion-content-height)' },
|
121
|
-
},
|
122
|
-
slideUp: {
|
123
|
-
from: { height: 'var(--radix-accordion-content-height)' },
|
124
|
-
to: { height: '0px' },
|
125
|
-
},
|
126
|
-
},
|
127
|
-
animation: {
|
128
|
-
overlayShow: 'overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1)',
|
129
|
-
contentShow: 'contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1)',
|
130
|
-
slideDown: 'slideDown 300ms cubic-bezier(0.87, 0, 0.13, 1)',
|
131
|
-
slideUp: 'slideUp 300ms cubic-bezier(0.87, 0, 0.13, 1)',
|
132
|
-
},
|
133
|
-
boxShadow: {
|
134
|
-
'button-classic': '0px 0px 0px 1px #00002D17 inset, 0px -2px 1px 0px #0000330F inset, 0px 4px 2px -2px #FFFFFFB2 inset, 0px 2px 1px -1px #FFFFFFB2 inset',
|
135
|
-
'checkbox-classic': '0px 0px 0px 1px #00002D17 inset, 0px -2px 1px 0px #0000330F inset, 0px 4px 2px -2px #FFFFFF66 inset, 0px 2px 1px -1px #FFFFFF66 inset',
|
136
|
-
'button-dark-classic': '0px 0px 0px 1px #414142 inset, 0px -2px 1px 0px #414142 inset, 0px 4px 2px -2px #414142 inset, 0px 2px 1px -1px #414142 inset',
|
137
|
-
'card-classic': '0px 0px 0px 0.5px #0000000D, 0px 1px 4px 0px #00002D17, 0px 2px 1px -1px #0000000D, 0px 1px 3px 0px #0000000D',
|
138
|
-
'card-dark-classic': '0px 0px 0px 0.5px #414142, 0px 1px 4px 0px #414142, 0px 2px 1px -1px #414142, 0px 1px 3px 0px #414142',
|
139
|
-
'segmented-control-dark-classic': '0px 0px 0px 0.5px #0000000D, 0px 1px 4px 0px #363636, 0px 2px 1px -1px #0000000D, 0px 1px 3px 0px #0000000D',
|
140
|
-
},
|
141
|
-
},
|
142
|
-
},
|
143
|
-
plugins: [
|
144
|
-
function (_a) {
|
145
|
-
var addVariant = _a.addVariant;
|
146
|
-
addVariant('data-placeholder', '&:where([data-placeholder])');
|
147
|
-
},
|
148
|
-
],
|
149
|
-
darkMode: 'class',
|
150
|
-
};
|
151
|
-
/**
|
152
|
-
* tailwind 방식으로 변경
|
153
|
-
* ex) bg-yellow-3
|
154
|
-
*/
|
155
|
-
function formatColors(colors) {
|
156
|
-
var formatcolors = {};
|
157
|
-
for (var _i = 0, _a = Object.entries(colors); _i < _a.length; _i++) {
|
158
|
-
var _b = _a[_i], cn = _b[0], c = _b[1];
|
159
|
-
for (var _c = 0, _d = Object.entries(c); _c < _d.length; _c++) {
|
160
|
-
var _e = _d[_c], scale = _e[0], value = _e[1];
|
161
|
-
if (!scale) {
|
162
|
-
continue;
|
163
|
-
}
|
164
|
-
formatcolors["".concat(cn, "-").concat(scale)] = value;
|
165
|
-
}
|
166
|
-
}
|
167
|
-
return formatcolors;
|
168
|
-
}
|
169
|
-
exports.default = config;
|