@lotte-innovate/ui-component-test 0.0.33 → 0.0.36
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +163 -163
- package/dist/{src/lib → lib}/Typography/Header/index.d.ts +2 -2
- package/dist/{src/lib → lib}/Typography/Header/index.js +2 -2
- package/dist/{src/lib → lib}/Typography/Text/index.d.ts +2 -2
- package/dist/{src/lib → lib}/Typography/Text/index.js +2 -2
- package/dist/{src/lib → lib}/components/Accordion/index.d.ts +1 -1
- package/dist/{src/lib → lib}/components/Accordion/index.js +2 -2
- package/dist/{src/lib → lib}/components/AlertDialog/AlertDialogAction.d.ts +3 -3
- package/dist/{src/lib → lib}/components/AlertDialog/AlertDialogAction.js +2 -2
- package/dist/{src/lib → lib}/components/AlertDialog/AlertDialogCancel.d.ts +3 -3
- package/dist/{src/lib → lib}/components/AlertDialog/AlertDialogCancel.js +2 -2
- package/dist/{src/lib → lib}/components/AlertDialog/AlertDialogContent.d.ts +1 -1
- package/dist/{src/lib → lib}/components/AlertDialog/AlertDialogContent.js +2 -2
- package/dist/{src/lib → lib}/components/AlertDialog/AlertDialogDescription.js +1 -1
- package/dist/{src/lib → lib}/components/AlertDialog/AlertDialogTitle.js +1 -1
- package/dist/{src/lib → lib}/components/AlertDialog/AlertDialogTrigger.d.ts +3 -3
- package/dist/{src/lib → lib}/components/AlertDialog/AlertDialogTrigger.js +2 -2
- package/dist/{src/lib → lib}/components/AlertDialog/index.d.ts +1 -1
- package/dist/{src/lib → lib}/components/AspectRatio/index.js +2 -2
- package/dist/{src/lib → lib}/components/Avatar/index.d.ts +1 -1
- package/dist/{src/lib → lib}/components/Avatar/index.js +2 -2
- package/dist/{src/lib → lib}/components/Badge/index.d.ts +3 -3
- package/dist/{src/lib → lib}/components/Badge/index.js +2 -2
- package/dist/{src/lib → lib}/components/BubbleChart/index.d.ts +1 -1
- package/dist/{src/lib → lib}/components/BubbleChart/index.js +2 -2
- package/dist/{src/lib → lib}/components/Button/index.d.ts +3 -3
- package/dist/{src/lib → lib}/components/Button/index.js +2 -2
- package/dist/{src/lib → lib}/components/Callout/CalloutIcon.js +2 -2
- package/dist/{src/lib → lib}/components/Callout/CalloutText.js +1 -1
- package/dist/{src/lib → lib}/components/Callout/index.d.ts +2 -2
- package/dist/{src/lib → lib}/components/Callout/index.js +2 -2
- package/dist/{src/lib → lib}/components/Card/index.d.ts +3 -3
- package/dist/{src/lib → lib}/components/Card/index.js +2 -2
- package/dist/{src/lib → lib}/components/Checkbox/index.d.ts +2 -2
- package/dist/{src/lib → lib}/components/Checkbox/index.js +3 -3
- package/dist/{src/lib → lib}/components/CheckboxCard/index.d.ts +3 -3
- package/dist/{src/lib → lib}/components/CheckboxCard/index.js +4 -4
- package/dist/{src/lib → lib}/components/CheckboxGroup/CheckboxGroupItem.d.ts +1 -1
- package/dist/{src/lib → lib}/components/CheckboxGroup/CheckboxGroupItem.js +1 -1
- package/dist/{src/lib → lib}/components/CheckboxGroup/index.d.ts +2 -2
- package/dist/{src/lib → lib}/components/CheckboxGroup/index.js +1 -1
- package/dist/{src/lib → lib}/components/ContextMenu/ContextMenuCheckboxItem.js +2 -2
- package/dist/{src/lib → lib}/components/ContextMenu/ContextMenuContent.d.ts +1 -1
- package/dist/{src/lib → lib}/components/ContextMenu/ContextMenuContent.js +2 -2
- package/dist/{src/lib → lib}/components/ContextMenu/ContextMenuItem.d.ts +1 -1
- package/dist/{src/lib → lib}/components/ContextMenu/ContextMenuItem.js +2 -2
- package/dist/{src/lib → lib}/components/ContextMenu/ContextMenuItemIndicator.d.ts +1 -1
- package/dist/{src/lib → lib}/components/ContextMenu/ContextMenuItemIndicator.js +2 -2
- package/dist/{src/lib → lib}/components/ContextMenu/ContextMenuLabel.js +2 -2
- package/dist/{src/lib → lib}/components/ContextMenu/ContextMenuRadioItem.js +2 -2
- package/dist/{src/lib → lib}/components/ContextMenu/ContextMenuSeparator.js +1 -1
- package/dist/{src/lib → lib}/components/ContextMenu/ContextMenuSubContent.d.ts +1 -1
- package/dist/{src/lib → lib}/components/ContextMenu/ContextMenuSubContent.js +2 -2
- package/dist/{src/lib → lib}/components/ContextMenu/ContextMenuSubTrigger.js +2 -2
- package/dist/{src/lib → lib}/components/ContextMenu/ContextMenuTrigger.js +1 -1
- package/dist/{src/lib → lib}/components/ContextMenu/index.d.ts +1 -1
- package/dist/{src/lib → lib}/components/DataList/DataListItem.js +2 -2
- package/dist/{src/lib → lib}/components/DataList/DataListLabel.d.ts +1 -1
- package/dist/{src/lib → lib}/components/DataList/DataListLabel.js +2 -2
- package/dist/{src/lib → lib}/components/DataList/DataListValue.d.ts +1 -1
- package/dist/{src/lib → lib}/components/DataList/DataListValue.js +2 -2
- package/dist/{src/lib → lib}/components/DataList/index.js +1 -1
- package/dist/{src/lib → lib}/components/Dialog/DialogAction.d.ts +2 -2
- package/dist/{src/lib → lib}/components/Dialog/DialogAction.js +2 -2
- package/dist/{src/lib → lib}/components/Dialog/DialogCancel.d.ts +1 -1
- package/dist/{src/lib → lib}/components/Dialog/DialogCancel.js +1 -1
- package/dist/{src/lib → lib}/components/Dialog/DialogContent.d.ts +1 -1
- package/dist/{src/lib → lib}/components/Dialog/DialogContent.js +2 -2
- package/dist/{src/lib → lib}/components/Dialog/DialogDescription.js +1 -1
- package/dist/{src/lib → lib}/components/Dialog/DialogSlot.js +1 -1
- package/dist/{src/lib → lib}/components/Dialog/DialogTitle.js +1 -1
- package/dist/{src/lib → lib}/components/DoughnutChart/index.js +2 -2
- package/dist/{src/lib → lib}/components/DropdownMenu/DropdonMenuSubContent.d.ts +1 -1
- package/dist/{src/lib → lib}/components/DropdownMenu/DropdonMenuSubContent.js +2 -2
- package/dist/{src/lib → lib}/components/DropdownMenu/DropdownMenuCheckboxItem.js +2 -2
- package/dist/{src/lib → lib}/components/DropdownMenu/DropdownMenuContent.d.ts +1 -1
- package/dist/{src/lib → lib}/components/DropdownMenu/DropdownMenuContent.js +2 -2
- package/dist/{src/lib → lib}/components/DropdownMenu/DropdownMenuItem.d.ts +1 -1
- package/dist/{src/lib → lib}/components/DropdownMenu/DropdownMenuItem.js +2 -2
- package/dist/{src/lib → lib}/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +1 -1
- package/dist/{src/lib → lib}/components/DropdownMenu/DropdownMenuItemIndicator.js +2 -2
- package/dist/{src/lib → lib}/components/DropdownMenu/DropdownMenuLable.js +2 -2
- package/dist/{src/lib → lib}/components/DropdownMenu/DropdownMenuRadioItem.js +2 -2
- package/dist/{src/lib → lib}/components/DropdownMenu/DropdownMenuSeparator.js +1 -1
- package/dist/{src/lib → lib}/components/DropdownMenu/DropdownMenuSubTrigger.js +2 -2
- package/dist/{src/lib → lib}/components/DropdownMenu/DropdownMenuTrigger.d.ts +1 -1
- package/dist/{src/lib → lib}/components/DropdownMenu/DropdownMenuTrigger.js +1 -1
- package/dist/{src/lib → lib}/components/HoverCard/HoverCardContent.d.ts +2 -2
- package/dist/{src/lib → lib}/components/HoverCard/HoverCardContent.js +2 -2
- package/dist/{src/lib → lib}/components/IconButton/index.d.ts +2 -2
- package/dist/{src/lib → lib}/components/IconButton/index.js +2 -2
- package/dist/{src/lib → lib}/components/Inset/index.d.ts +1 -1
- package/dist/{src/lib → lib}/components/Inset/index.js +2 -2
- package/dist/{src/lib → lib}/components/Label/index.d.ts +2 -2
- package/dist/{src/lib → lib}/components/Label/index.js +2 -2
- package/dist/{src/lib → lib}/components/Menubar/MenubarCheckboxItem.js +2 -2
- package/dist/{src/lib → lib}/components/Menubar/MenubarContent.d.ts +1 -1
- package/dist/{src/lib → lib}/components/Menubar/MenubarContent.js +2 -2
- package/dist/{src/lib → lib}/components/Menubar/MenubarItem.d.ts +1 -1
- package/dist/{src/lib → lib}/components/Menubar/MenubarItem.js +2 -2
- package/dist/{src/lib → lib}/components/Menubar/MenubarItemIndicator.d.ts +1 -1
- package/dist/{src/lib → lib}/components/Menubar/MenubarItemIndicator.js +2 -2
- package/dist/{src/lib → lib}/components/Menubar/MenubarRadioItem.js +2 -2
- package/dist/{src/lib → lib}/components/Menubar/MenubarSeparator.js +1 -1
- package/dist/{src/lib → lib}/components/Menubar/MenubarSubContent.d.ts +1 -1
- package/dist/{src/lib → lib}/components/Menubar/MenubarSubContent.js +2 -2
- package/dist/{src/lib → lib}/components/Menubar/MenubarSubTrigger.js +2 -2
- package/dist/{src/lib → lib}/components/Menubar/MenubarTrigger.d.ts +1 -1
- package/dist/{src/lib → lib}/components/Menubar/MenubarTrigger.js +2 -2
- package/dist/{src/lib → lib}/components/Menubar/index.d.ts +2 -2
- package/dist/{src/lib → lib}/components/Menubar/index.js +2 -2
- package/dist/{src/lib → lib}/components/NavigationMenu/NavigationMenuContent.d.ts +1 -1
- package/dist/{src/lib → lib}/components/NavigationMenu/NavigationMenuContent.js +2 -2
- package/dist/{src/lib → lib}/components/NavigationMenu/NavigationMenuIndicator.js +1 -1
- package/dist/{src/lib → lib}/components/NavigationMenu/NavigationMenuLink.d.ts +1 -1
- package/dist/{src/lib → lib}/components/NavigationMenu/NavigationMenuLink.js +2 -2
- package/dist/{src/lib → lib}/components/NavigationMenu/NavigationMenuList.d.ts +1 -1
- package/dist/{src/lib → lib}/components/NavigationMenu/NavigationMenuList.js +2 -2
- package/dist/{src/lib → lib}/components/NavigationMenu/NavigationMenuTrigger.d.ts +1 -1
- package/dist/{src/lib → lib}/components/NavigationMenu/NavigationMenuTrigger.js +2 -2
- package/dist/{src/lib → lib}/components/NavigationMenu/NavigationMenuViewport.d.ts +2 -2
- package/dist/{src/lib → lib}/components/NavigationMenu/NavigationMenuViewport.js +2 -2
- package/dist/{src/lib → lib}/components/NavigationMenu/index.d.ts +1 -1
- package/dist/{src/lib → lib}/components/NavigationMenu/index.js +1 -1
- package/dist/{src/lib → lib}/components/PieChart/index.js +2 -2
- package/dist/{src/lib → lib}/components/Popover/PopoverClose.d.ts +1 -1
- package/dist/{src/lib → lib}/components/Popover/PopoverClose.js +1 -1
- package/dist/{src/lib → lib}/components/Popover/PopoverContent.d.ts +1 -1
- package/dist/{src/lib → lib}/components/Popover/PopoverContent.js +2 -2
- package/dist/{src/lib → lib}/components/Progress/index.d.ts +1 -1
- package/dist/{src/lib → lib}/components/Progress/index.js +2 -2
- package/dist/{src/lib → lib}/components/RadarChart/index.d.ts +1 -1
- package/dist/{src/lib → lib}/components/RadarChart/index.js +2 -2
- package/dist/{src/lib → lib}/components/Radio/index.d.ts +1 -1
- package/dist/{src/lib → lib}/components/Radio/index.js +2 -2
- package/dist/{src/lib → lib}/components/RadioCards/RadioCardsItem.d.ts +1 -1
- package/dist/{src/lib → lib}/components/RadioCards/RadioCardsItem.js +1 -1
- package/dist/{src/lib → lib}/components/RadioCards/index.js +2 -2
- package/dist/{src/lib → lib}/components/RadioGroup/RadioGroupItem.js +1 -1
- package/dist/{src/lib → lib}/components/RadioGroup/index.d.ts +1 -1
- package/dist/{src/lib → lib}/components/RadioGroup/index.js +1 -1
- package/dist/{src/lib → lib}/components/SegmentedControl/SegmentedControlItem.js +1 -1
- package/dist/{src/lib → lib}/components/SegmentedControl/index.d.ts +1 -1
- package/dist/{src/lib → lib}/components/SegmentedControl/index.js +2 -2
- package/dist/{src/lib → lib}/components/Select/index.d.ts +2 -2
- package/dist/{src/lib → lib}/components/Select/index.js +2 -2
- package/dist/{src/lib → lib}/components/Separator/index.js +2 -2
- package/dist/{src/lib → lib}/components/Skeleton/index.d.ts +2 -2
- package/dist/{src/lib → lib}/components/Skeleton/index.js +2 -2
- package/dist/{src/lib → lib}/components/Slider/index.d.ts +2 -2
- package/dist/{src/lib → lib}/components/Slider/index.js +2 -2
- package/dist/{src/lib → lib}/components/Spinner/index.d.ts +1 -1
- package/dist/{src/lib → lib}/components/Spinner/index.js +2 -2
- package/dist/{src/lib → lib}/components/TabNav/index.js +1 -1
- package/dist/{src/lib → lib}/components/Table/index.d.ts +2 -2
- package/dist/{src/lib → lib}/components/Table/index.js +2 -2
- package/dist/{src/lib → lib}/components/Tabs/index.d.ts +1 -1
- package/dist/{src/lib → lib}/components/Tabs/index.js +2 -2
- package/dist/{src/lib → lib}/components/TextArea/index.d.ts +2 -2
- package/dist/{src/lib → lib}/components/TextArea/index.js +2 -2
- package/dist/{src/lib → lib}/components/TextField/index.d.ts +2 -2
- package/dist/{src/lib → lib}/components/TextField/index.js +2 -2
- package/dist/{src/lib → lib}/components/Toast/ToastActionButton.d.ts +2 -2
- package/dist/{src/lib → lib}/components/Toast/ToastActionButton.js +3 -3
- package/dist/{src/lib → lib}/components/Toast/ToastDescription.d.ts +1 -1
- package/dist/{src/lib → lib}/components/Toast/ToastDescription.js +1 -1
- package/dist/{src/lib → lib}/components/Toast/ToastTitle.d.ts +1 -1
- package/dist/{src/lib → lib}/components/Toast/ToastTitle.js +1 -1
- package/dist/{src/lib → lib}/components/Toast/index.d.ts +1 -1
- package/dist/{src/lib → lib}/components/Toast/index.js +2 -2
- package/dist/{src/lib → lib}/components/Toggle/ToggleWithText.d.ts +2 -2
- package/dist/{src/lib → lib}/components/Toggle/ToggleWithText.js +3 -3
- package/dist/{src/lib → lib}/components/Toggle/index.d.ts +2 -2
- package/dist/{src/lib → lib}/components/Toggle/index.js +2 -2
- package/dist/{src/lib → lib}/components/ToggleGroup/index.d.ts +1 -1
- package/dist/{src/lib → lib}/components/ToggleGroup/index.js +2 -2
- package/dist/{src/lib → lib}/components/ToggleGroup/toggleGroupItem.d.ts +1 -1
- package/dist/{src/lib → lib}/components/ToggleGroup/toggleGroupItem.js +2 -2
- package/dist/{src/lib → lib}/components/ToggleSwitch/index.d.ts +1 -1
- package/dist/{src/lib → lib}/components/ToggleSwitch/index.js +3 -3
- package/dist/{src/lib → lib}/components/Tooltip/index.d.ts +4 -4
- package/dist/{src/lib → lib}/components/Tooltip/index.js +2 -2
- package/dist/{src/lib → lib}/constants.js +1 -1
- package/dist/tailwind.config.js +6 -6
- package/package.json +124 -124
- /package/dist/{src/lib → lib}/Typography/index.d.ts +0 -0
- /package/dist/{src/lib → lib}/Typography/index.js +0 -0
- /package/dist/{src/lib → lib}/color/alpha.d.ts +0 -0
- /package/dist/{src/lib → lib}/color/alpha.js +0 -0
- /package/dist/{src/lib → lib}/color/constants.d.ts +0 -0
- /package/dist/{src/lib → lib}/color/constants.js +0 -0
- /package/dist/{src/lib → lib}/color/dark.d.ts +0 -0
- /package/dist/{src/lib → lib}/color/dark.js +0 -0
- /package/dist/{src/lib → lib}/color/krdsColors.d.ts +0 -0
- /package/dist/{src/lib → lib}/color/krdsColors.js +0 -0
- /package/dist/{src/lib → lib}/color/light.d.ts +0 -0
- /package/dist/{src/lib → lib}/color/light.js +0 -0
- /package/dist/{src/lib → lib}/components/AlertDialog/AlertDialogDescription.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/AlertDialog/AlertDialogTitle.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/AlertDialog/index.js +0 -0
- /package/dist/{src/lib → lib}/components/AspectRatio/index.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/Callout/CalloutIcon.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/Callout/CalloutText.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/ContextMenu/ContextMenuCheckboxItem.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/ContextMenu/ContextMenuGroup.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/ContextMenu/ContextMenuGroup.js +0 -0
- /package/dist/{src/lib → lib}/components/ContextMenu/ContextMenuLabel.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/ContextMenu/ContextMenuRadioGroup.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/ContextMenu/ContextMenuRadioGroup.js +0 -0
- /package/dist/{src/lib → lib}/components/ContextMenu/ContextMenuRadioItem.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/ContextMenu/ContextMenuSeparator.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/ContextMenu/ContextMenuSubTrigger.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/ContextMenu/ContextMenuTrigger.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/ContextMenu/index.js +0 -0
- /package/dist/{src/lib → lib}/components/DataList/DataListItem.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/DataList/index.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/Dialog/DialogDescription.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/Dialog/DialogSlot.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/Dialog/DialogTitle.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/Dialog/DialogTrigger.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/Dialog/DialogTrigger.js +0 -0
- /package/dist/{src/lib → lib}/components/Dialog/index.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/Dialog/index.js +0 -0
- /package/dist/{src/lib → lib}/components/DoughnutChart/index.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/DropdownMenu/DropdonMenuRadioGroup.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/DropdownMenu/DropdonMenuRadioGroup.js +0 -0
- /package/dist/{src/lib → lib}/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/DropdownMenu/DropdownMenuLable.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/DropdownMenu/DropdownMenuRadioItem.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/DropdownMenu/DropdownMenuSeparator.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/DropdownMenu/DropdownMenuSub.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/DropdownMenu/DropdownMenuSub.js +0 -0
- /package/dist/{src/lib → lib}/components/DropdownMenu/DropdownMenuSubTrigger.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/DropdownMenu/index.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/DropdownMenu/index.js +0 -0
- /package/dist/{src/lib → lib}/components/HoverCard/HoverCardTrigger.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/HoverCard/HoverCardTrigger.js +0 -0
- /package/dist/{src/lib → lib}/components/HoverCard/index.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/HoverCard/index.js +0 -0
- /package/dist/{src/lib → lib}/components/Menubar/MenubarCheckboxItem.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/Menubar/MenubarMenu.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/Menubar/MenubarMenu.js +0 -0
- /package/dist/{src/lib → lib}/components/Menubar/MenubarRadioGroup.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/Menubar/MenubarRadioGroup.js +0 -0
- /package/dist/{src/lib → lib}/components/Menubar/MenubarRadioItem.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/Menubar/MenubarSeparator.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/Menubar/MenubarSub.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/Menubar/MenubarSub.js +0 -0
- /package/dist/{src/lib → lib}/components/Menubar/MenubarSubTrigger.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/NavigationMenu/NavigationMenuIndicator.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/NavigationMenu/NavigationMenuItem.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/NavigationMenu/NavigationMenuItem.js +0 -0
- /package/dist/{src/lib → lib}/components/PieChart/index.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/Popover/PopoverTrigger.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/Popover/PopoverTrigger.js +0 -0
- /package/dist/{src/lib → lib}/components/Popover/index.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/Popover/index.js +0 -0
- /package/dist/{src/lib → lib}/components/RadioCards/index.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/RadioGroup/RadioGroupItem.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/ScrollArea/index.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/ScrollArea/index.js +0 -0
- /package/dist/{src/lib → lib}/components/SegmentedControl/SegmentedControlItem.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/Separator/index.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/TabNav/index.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/index.d.ts +0 -0
- /package/dist/{src/lib → lib}/components/index.js +0 -0
- /package/dist/{src/lib → lib}/constants.d.ts +0 -0
- /package/dist/{src/lib → lib}/index.d.ts +0 -0
- /package/dist/{src/lib → lib}/index.js +0 -0
- /package/dist/{src/lib → lib}/types.d.ts +0 -0
- /package/dist/{src/lib → lib}/types.js +0 -0
- /package/dist/{src/lib → lib}/utils/utils.d.ts +0 -0
- /package/dist/{src/lib → lib}/utils/utils.js +0 -0
package/README.md
CHANGED
@@ -1,163 +1,163 @@
|
|
1
|
-
# radix-ui 라이브러리 활용 Storybook UI Component 만들기
|
2
|
-
|
3
|
-
<br />
|
4
|
-
|
5
|
-
## 사전 설치 라이브러리
|
6
|
-
|
7
|
-
- radix-ui
|
8
|
-
- 주요 컴포넌트 사용 시 활용할 Headless UI 라이브러리
|
9
|
-
|
10
|
-
```shell
|
11
|
-
npm install @radix-ui/react-popover@latest -E
|
12
|
-
```
|
13
|
-
|
14
|
-
- storybook
|
15
|
-
- 컴포넌트 관리를 위해 사용
|
16
|
-
|
17
|
-
```shell
|
18
|
-
npx sb init
|
19
|
-
npx storybook@latest add @storybook/addon-styling-webpack
|
20
|
-
```
|
21
|
-
|
22
|
-
- clsx
|
23
|
-
- 조건부 className 작성을 위해 사용
|
24
|
-
|
25
|
-
```shell
|
26
|
-
npm i clsx
|
27
|
-
```
|
28
|
-
|
29
|
-
- tailwind-merge
|
30
|
-
- 스타일 충돌 없이 자바스크립트에서 tailwind CSS 클래스를 효율적으로 병합하는 기능을 가진 라이브러리
|
31
|
-
|
32
|
-
```shell
|
33
|
-
npm i tailwind-merge
|
34
|
-
```
|
35
|
-
|
36
|
-
- class-variance-authority (CVA)
|
37
|
-
- 일관성 있는 UI를 정의하고 사용할 수 있도록 도와주는 툴로써 shadcn/ui 컴포넌트의 핵심 도구
|
38
|
-
|
39
|
-
```shell
|
40
|
-
npm i class-variance-authority
|
41
|
-
```
|
42
|
-
|
43
|
-
<br />
|
44
|
-
|
45
|
-
## 실행
|
46
|
-
|
47
|
-
- 스토리북 실행
|
48
|
-
|
49
|
-
```shell
|
50
|
-
npm run storybook
|
51
|
-
```
|
52
|
-
|
53
|
-
> 접속주소(포트 6006 사용 시): `http://localhost:6006`
|
54
|
-
|
55
|
-
- 웹페이지 실행
|
56
|
-
|
57
|
-
```shell
|
58
|
-
npm run dev
|
59
|
-
```
|
60
|
-
|
61
|
-
> 접속주소(포트 3000 사용 시): `http://localhost:3000`
|
62
|
-
|
63
|
-
## package publish
|
64
|
-
|
65
|
-
- 타입스크립트 컴파일
|
66
|
-
|
67
|
-
```shell
|
68
|
-
npm run publish:npm
|
69
|
-
```
|
70
|
-
|
71
|
-
- npm package 배포 시
|
72
|
-
|
73
|
-
- npm 로그인
|
74
|
-
|
75
|
-
```shell
|
76
|
-
npm login
|
77
|
-
```
|
78
|
-
|
79
|
-
- package.json 버전 수정 후 컴파일 진행
|
80
|
-
|
81
|
-
```shell
|
82
|
-
npm run publish:npm
|
83
|
-
```
|
84
|
-
|
85
|
-
- 패키지 배포
|
86
|
-
|
87
|
-
```shell
|
88
|
-
npm publish
|
89
|
-
```
|
90
|
-
|
91
|
-
- npm scope 배포
|
92
|
-
- npm 로그인 후, 조직 생성 시 @계정명 으로 scope 생성
|
93
|
-
scope로 생성된 패키지는 npm publish 시, 아래 옵션 추가
|
94
|
-
|
95
|
-
```shell
|
96
|
-
npm publish --access=public
|
97
|
-
```
|
98
|
-
|
99
|
-
|
100
|
-
- npm package 미배포시
|
101
|
-
|
102
|
-
- package.json 버전 수정 후 컴파일 진행
|
103
|
-
|
104
|
-
```shell
|
105
|
-
npm run publish:npm
|
106
|
-
```
|
107
|
-
|
108
|
-
- dist/ 파일 및 설정파일 추출 후 전달
|
109
|
-
|
110
|
-
## 사용자 이용 방법
|
111
|
-
|
112
|
-
### npm 배포 시
|
113
|
-
|
114
|
-
- npm package 설치
|
115
|
-
|
116
|
-
```sh
|
117
|
-
npm install <package_name>
|
118
|
-
```
|
119
|
-
|
120
|
-
### npm 미배포시
|
121
|
-
|
122
|
-
- 전달 받은 package 모듈 파일을 node_modules/ 폴더에 추가
|
123
|
-
|
124
|
-
### tailwind 설정 방법
|
125
|
-
|
126
|
-
- tailwind config 파일 설정
|
127
|
-
|
128
|
-
```js
|
129
|
-
// tailwind.config.ts
|
130
|
-
import type { Config } from 'tailwindcss';
|
131
|
-
// UI 라이브러리 tailwind config 파일 호출
|
132
|
-
// >>>>>>>> 추가
|
133
|
-
const packageTailwindConfig = require('ui-component-test/tailwind.config.js');
|
134
|
-
// >>>>>>>>
|
135
|
-
|
136
|
-
const config: Config = {
|
137
|
-
content: [
|
138
|
-
'./src/pages/**/*.{js,ts,jsx,tsx,mdx,zip}',
|
139
|
-
'./src/components/**/*.{js,ts,jsx,tsx,mdx,zip}',
|
140
|
-
'./src/app/**/*.{js,ts,jsx,tsx,mdx,zip}',
|
141
|
-
// 해당 프로젝트 css 표준 컴포넌트에 적용 가능
|
142
|
-
// >>>>>>>> 추가
|
143
|
-
'./node_modules/ui-component-test/**/*.{js,ts,jsx,tsx,mdx,zip}',
|
144
|
-
// >>>>>>>>
|
145
|
-
],
|
146
|
-
theme: {
|
147
|
-
extend: {
|
148
|
-
backgroundImage: {
|
149
|
-
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
|
150
|
-
'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
|
151
|
-
},
|
152
|
-
colors: {},
|
153
|
-
// UI 라이브러리 tailwind config 파일 적용
|
154
|
-
// >>>>>>>> 추가
|
155
|
-
...packageTailwindConfig?.theme?.extend,
|
156
|
-
// >>>>>>>>
|
157
|
-
},
|
158
|
-
},
|
159
|
-
plugins: [],
|
160
|
-
};
|
161
|
-
export default config;
|
162
|
-
|
163
|
-
```
|
1
|
+
# radix-ui 라이브러리 활용 Storybook UI Component 만들기
|
2
|
+
|
3
|
+
<br />
|
4
|
+
|
5
|
+
## 사전 설치 라이브러리
|
6
|
+
|
7
|
+
- radix-ui
|
8
|
+
- 주요 컴포넌트 사용 시 활용할 Headless UI 라이브러리
|
9
|
+
|
10
|
+
```shell
|
11
|
+
npm install @radix-ui/react-popover@latest -E
|
12
|
+
```
|
13
|
+
|
14
|
+
- storybook
|
15
|
+
- 컴포넌트 관리를 위해 사용
|
16
|
+
|
17
|
+
```shell
|
18
|
+
npx sb init
|
19
|
+
npx storybook@latest add @storybook/addon-styling-webpack
|
20
|
+
```
|
21
|
+
|
22
|
+
- clsx
|
23
|
+
- 조건부 className 작성을 위해 사용
|
24
|
+
|
25
|
+
```shell
|
26
|
+
npm i clsx
|
27
|
+
```
|
28
|
+
|
29
|
+
- tailwind-merge
|
30
|
+
- 스타일 충돌 없이 자바스크립트에서 tailwind CSS 클래스를 효율적으로 병합하는 기능을 가진 라이브러리
|
31
|
+
|
32
|
+
```shell
|
33
|
+
npm i tailwind-merge
|
34
|
+
```
|
35
|
+
|
36
|
+
- class-variance-authority (CVA)
|
37
|
+
- 일관성 있는 UI를 정의하고 사용할 수 있도록 도와주는 툴로써 shadcn/ui 컴포넌트의 핵심 도구
|
38
|
+
|
39
|
+
```shell
|
40
|
+
npm i class-variance-authority
|
41
|
+
```
|
42
|
+
|
43
|
+
<br />
|
44
|
+
|
45
|
+
## 실행
|
46
|
+
|
47
|
+
- 스토리북 실행
|
48
|
+
|
49
|
+
```shell
|
50
|
+
npm run storybook
|
51
|
+
```
|
52
|
+
|
53
|
+
> 접속주소(포트 6006 사용 시): `http://localhost:6006`
|
54
|
+
|
55
|
+
- 웹페이지 실행
|
56
|
+
|
57
|
+
```shell
|
58
|
+
npm run dev
|
59
|
+
```
|
60
|
+
|
61
|
+
> 접속주소(포트 3000 사용 시): `http://localhost:3000`
|
62
|
+
|
63
|
+
## package publish
|
64
|
+
|
65
|
+
- 타입스크립트 컴파일
|
66
|
+
|
67
|
+
```shell
|
68
|
+
npm run publish:npm
|
69
|
+
```
|
70
|
+
|
71
|
+
- npm package 배포 시
|
72
|
+
|
73
|
+
- npm 로그인
|
74
|
+
|
75
|
+
```shell
|
76
|
+
npm login
|
77
|
+
```
|
78
|
+
|
79
|
+
- package.json 버전 수정 후 컴파일 진행
|
80
|
+
|
81
|
+
```shell
|
82
|
+
npm run publish:npm
|
83
|
+
```
|
84
|
+
|
85
|
+
- 패키지 배포
|
86
|
+
|
87
|
+
```shell
|
88
|
+
npm publish
|
89
|
+
```
|
90
|
+
|
91
|
+
- npm scope 배포
|
92
|
+
- npm 로그인 후, 조직 생성 시 @계정명 으로 scope 생성
|
93
|
+
scope로 생성된 패키지는 npm publish 시, 아래 옵션 추가
|
94
|
+
|
95
|
+
```shell
|
96
|
+
npm publish --access=public
|
97
|
+
```
|
98
|
+
|
99
|
+
|
100
|
+
- npm package 미배포시
|
101
|
+
|
102
|
+
- package.json 버전 수정 후 컴파일 진행
|
103
|
+
|
104
|
+
```shell
|
105
|
+
npm run publish:npm
|
106
|
+
```
|
107
|
+
|
108
|
+
- dist/ 파일 및 설정파일 추출 후 전달
|
109
|
+
|
110
|
+
## 사용자 이용 방법
|
111
|
+
|
112
|
+
### npm 배포 시
|
113
|
+
|
114
|
+
- npm package 설치
|
115
|
+
|
116
|
+
```sh
|
117
|
+
npm install <package_name>
|
118
|
+
```
|
119
|
+
|
120
|
+
### npm 미배포시
|
121
|
+
|
122
|
+
- 전달 받은 package 모듈 파일을 node_modules/ 폴더에 추가
|
123
|
+
|
124
|
+
### tailwind 설정 방법
|
125
|
+
|
126
|
+
- tailwind config 파일 설정
|
127
|
+
|
128
|
+
```js
|
129
|
+
// tailwind.config.ts
|
130
|
+
import type { Config } from 'tailwindcss';
|
131
|
+
// UI 라이브러리 tailwind config 파일 호출
|
132
|
+
// >>>>>>>> 추가
|
133
|
+
const packageTailwindConfig = require('ui-component-test/tailwind.config.js');
|
134
|
+
// >>>>>>>>
|
135
|
+
|
136
|
+
const config: Config = {
|
137
|
+
content: [
|
138
|
+
'./src/pages/**/*.{js,ts,jsx,tsx,mdx,zip}',
|
139
|
+
'./src/components/**/*.{js,ts,jsx,tsx,mdx,zip}',
|
140
|
+
'./src/app/**/*.{js,ts,jsx,tsx,mdx,zip}',
|
141
|
+
// 해당 프로젝트 css 표준 컴포넌트에 적용 가능
|
142
|
+
// >>>>>>>> 추가
|
143
|
+
'./node_modules/ui-component-test/**/*.{js,ts,jsx,tsx,mdx,zip}',
|
144
|
+
// >>>>>>>>
|
145
|
+
],
|
146
|
+
theme: {
|
147
|
+
extend: {
|
148
|
+
backgroundImage: {
|
149
|
+
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
|
150
|
+
'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
|
151
|
+
},
|
152
|
+
colors: {},
|
153
|
+
// UI 라이브러리 tailwind config 파일 적용
|
154
|
+
// >>>>>>>> 추가
|
155
|
+
...packageTailwindConfig?.theme?.extend,
|
156
|
+
// >>>>>>>>
|
157
|
+
},
|
158
|
+
},
|
159
|
+
plugins: [],
|
160
|
+
};
|
161
|
+
export default config;
|
162
|
+
|
163
|
+
```
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
2
2
|
import React from 'react';
|
3
|
-
import { IColor } from 'lib/types';
|
3
|
+
import { IColor } from '../../../lib/types';
|
4
4
|
export interface HeaderProps extends VariantProps<typeof headerVariants> {
|
5
5
|
color?: IColor;
|
6
6
|
}
|
7
7
|
declare let headerVariants: (props?: ({
|
8
|
-
weight?: "
|
8
|
+
weight?: "medium" | "regular" | "semibold" | "bold" | null | undefined;
|
9
9
|
headers?: "h2" | "h3" | "h1" | "h4" | "h5" | "h6" | null | undefined;
|
10
10
|
color?: string | null | undefined;
|
11
11
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -21,9 +21,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
21
21
|
return t;
|
22
22
|
};
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
|
-
import { cn } from 'lib/utils/utils';
|
24
|
+
import { cn } from '../../../lib/utils/utils';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
|
-
import { textColorStyle, weightVariants } from 'lib/constants';
|
26
|
+
import { textColorStyle, weightVariants } from '../../../lib/constants';
|
27
27
|
import { Heading as HeadingTheme, Theme } from '@radix-ui/themes';
|
28
28
|
import React from 'react';
|
29
29
|
var weights = __assign({}, weightVariants);
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IColor, ITypoSize } from 'lib/types';
|
3
|
+
import { IColor, ITypoSize } from '../../../lib/types';
|
4
4
|
export interface TextProps extends VariantProps<typeof textVariants> {
|
5
5
|
color?: IColor;
|
6
6
|
size?: ITypoSize;
|
@@ -8,7 +8,7 @@ export interface TextProps extends VariantProps<typeof textVariants> {
|
|
8
8
|
align?: 'left' | 'center' | 'right';
|
9
9
|
}
|
10
10
|
declare const textVariants: (props?: ({
|
11
|
-
weight?: "
|
11
|
+
weight?: "medium" | "regular" | "semibold" | "bold" | "light" | null | undefined;
|
12
12
|
color?: string | null | undefined;
|
13
13
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
14
14
|
export declare const Text: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & TextProps & React.RefAttributes<HTMLSpanElement>>;
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { Text as TextTheme, Theme } from '@radix-ui/themes';
|
27
|
-
import { textColorStyle, weightVariants } from 'lib/constants';
|
28
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { textColorStyle, weightVariants } from '../../../lib/constants';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
var textVariants = cva('text', {
|
30
30
|
variants: {
|
31
31
|
weight: __assign({ light: 'font-light' }, weightVariants),
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IColor } from 'lib/types';
|
4
|
+
import { IColor } from '../../../lib/types';
|
5
5
|
export interface AccordionProps extends React.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof accoridanVariants> {
|
6
6
|
defaultValue?: string;
|
7
7
|
color?: IColor;
|
@@ -24,9 +24,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
import React from 'react';
|
25
25
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
26
26
|
import { ChevronDownIcon } from '@radix-ui/react-icons';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
import { cva } from 'class-variance-authority';
|
29
|
-
import { scalingVariants } from 'lib/constants';
|
29
|
+
import { scalingVariants } from '../../../lib/constants';
|
30
30
|
var accoridanVariants = cva('', {
|
31
31
|
variants: {
|
32
32
|
scaling: __assign({}, scalingVariants),
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IAppearance } from 'lib/types';
|
4
|
+
import { IAppearance } from '../../../lib/types';
|
5
5
|
export interface AlertDialogActionProps extends VariantProps<typeof alertDialogActionVariants> {
|
6
6
|
appearance?: IAppearance;
|
7
7
|
}
|
8
8
|
export declare const alertDialogActionVariants: (props?: ({
|
9
|
-
radius?: "
|
9
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
10
10
|
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
11
|
-
weight?: "
|
11
|
+
weight?: "medium" | "regular" | "semibold" | "bold" | null | undefined;
|
12
12
|
color?: string | null | undefined;
|
13
13
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
14
14
|
export declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>>;
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
28
|
-
import { appearanceStyle, primaryColorStyle, weightVariants } from 'lib/constants';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { appearanceStyle, primaryColorStyle, weightVariants } from '../../../lib/constants';
|
29
29
|
export var alertDialogActionVariants = cva("inline-flex items-center justify-center px-[15px] outline-none focus:shadow-[0_0_0_2px] font-normal", {
|
30
30
|
variants: {
|
31
31
|
radius: {
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IAppearance } from 'lib/types';
|
4
|
+
import { IAppearance } from '../../../lib/types';
|
5
5
|
export interface AlertDialogCancelProps extends VariantProps<typeof alertDialogCancelVariants> {
|
6
6
|
appearance?: IAppearance;
|
7
7
|
}
|
8
8
|
export declare const alertDialogCancelVariants: (props?: ({
|
9
|
-
radius?: "
|
9
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
10
10
|
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
11
|
-
weight?: "
|
11
|
+
weight?: "medium" | "regular" | "semibold" | "bold" | null | undefined;
|
12
12
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
13
13
|
export declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>>;
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
28
|
-
import { weightVariants } from 'lib/constants';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { weightVariants } from '../../../lib/constants';
|
29
29
|
export var alertDialogCancelVariants = cva("inline-flex justify-center items-center text-slate-11 bg-slate-3 outline-none border-none\n dark:text-slateDark-11 dark:bg-slateDark-3 dark:hover:bg-slateDarkA-4\n active:border-none hover:cursor-pointer hover:bg-slateA-4", {
|
30
30
|
variants: {
|
31
31
|
radius: {
|
@@ -6,6 +6,6 @@ export interface AlertDialogContentProps extends VariantProps<typeof alertDialog
|
|
6
6
|
export declare const alertDialogContentVariants: (props?: ({
|
7
7
|
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
8
8
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
9
|
-
radius?: "
|
9
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
10
10
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
11
11
|
export declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & AlertDialogContentProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -24,8 +24,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
28
|
-
import { radiusVariants, scalingVariants } from 'lib/constants';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { radiusVariants, scalingVariants } from '../../../lib/constants';
|
29
29
|
export var alertDialogContentVariants = cva("fixed max-h-[85vh] top-[50%] left-[50%] focus:outline-none\n translate-x-[-50%] translate-y-[-50%] data-[state=open]:animate-contentShow bg-white dark:bg-slateDark-1 \n shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px]", {
|
30
30
|
variants: {
|
31
31
|
size: {
|
@@ -24,7 +24,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
export var alertDialogDescriptionVariants = cva("text-slate-12 dark:text-slateDark-12 font-normal", {
|
29
29
|
variants: {
|
30
30
|
size: {
|
@@ -24,7 +24,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
export var alertDialogTitleVariants = cva("m-0 text-slate-12 dark:text-slateDark-12 font-bold", {
|
29
29
|
variants: {
|
30
30
|
size: {
|
@@ -1,16 +1,16 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IAppearance, IColor } from 'lib/types';
|
4
|
+
import { IAppearance, IColor } from '../../../lib/types';
|
5
5
|
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
6
6
|
color?: IColor;
|
7
7
|
appearance?: IAppearance;
|
8
8
|
}
|
9
9
|
declare const buttonVariants: (props?: ({
|
10
|
-
radius?: "
|
10
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
11
11
|
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
12
12
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
13
|
-
weight?: "
|
13
|
+
weight?: "medium" | "regular" | "semibold" | "bold" | null | undefined;
|
14
14
|
color?: string | null | undefined;
|
15
15
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
16
16
|
export declare const AlertDialogTrigger: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { radiusVariants, scalingVariants, weightVariants, primaryColorStyle, appearanceStyle, } from 'lib/constants';
|
28
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { radiusVariants, scalingVariants, weightVariants, primaryColorStyle, appearanceStyle, } from '../../../lib/constants';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
var buttonVariants = cva("inline-flex items-center transition-colors focus:outline-none hover:cursor-pointer\n disabled:cursor-not-allowed disabled:bg-slate-3 disabled:text-slate-8", {
|
30
30
|
variants: {
|
31
31
|
radius: __assign({}, radiusVariants['base']),
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
import { alertDialogContentVariants } from './AlertDialogContent';
|
5
5
|
import { alertDialogTitleVariants } from './AlertDialogTitle';
|
6
6
|
import { alertDialogDescriptionVariants } from './AlertDialogDescription';
|
7
|
-
import { IColor } from 'lib/types';
|
7
|
+
import { IColor } from '../../../lib/types';
|
8
8
|
export * from './AlertDialogTrigger';
|
9
9
|
export * from './AlertDialogContent';
|
10
10
|
export * from './AlertDialogTitle';
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
28
|
-
import { scalingVariants } from 'lib/constants';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { scalingVariants } from '../../../lib/constants';
|
29
29
|
export var aspectRatioVariants = cva('', {
|
30
30
|
variants: {
|
31
31
|
scaling: __assign({}, scalingVariants),
|
@@ -8,7 +8,7 @@ export interface AvatarProps extends VariantProps<typeof AvatarVariants> {
|
|
8
8
|
fallbackClassName?: string;
|
9
9
|
}
|
10
10
|
declare const AvatarVariants: (props?: ({
|
11
|
-
radius?: "
|
11
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
12
12
|
size?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | null | undefined;
|
13
13
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
14
14
|
color?: string | null | undefined;
|
@@ -24,8 +24,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
28
|
-
import { appearanceStyle, primaryColorStyle, radiusVariants, scalingVariants } from 'lib/constants';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { appearanceStyle, primaryColorStyle, radiusVariants, scalingVariants } from '../../../lib/constants';
|
29
29
|
var AvatarVariants = cva('font-medium', {
|
30
30
|
variants: {
|
31
31
|
radius: __assign({}, radiusVariants['base']),
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React, { HTMLAttributes } from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IColor, IAppearance, ISize, IWeight } from 'lib/types';
|
3
|
+
import { IColor, IAppearance, ISize, IWeight } from '../../../lib/types';
|
4
4
|
export interface BadgeProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof BadgeVariants> {
|
5
5
|
color?: IColor;
|
6
6
|
appearance?: Exclude<IAppearance, 'classic' | 'ghost'>;
|
@@ -8,10 +8,10 @@ export interface BadgeProps extends HTMLAttributes<HTMLDivElement>, VariantProps
|
|
8
8
|
weight?: IWeight;
|
9
9
|
}
|
10
10
|
declare const BadgeVariants: (props?: ({
|
11
|
-
radius?: "
|
11
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
12
12
|
size?: "small" | "medium" | "large" | null | undefined;
|
13
13
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
14
|
-
weight?: "
|
14
|
+
weight?: "medium" | "regular" | "semibold" | "bold" | null | undefined;
|
15
15
|
color?: string | null | undefined;
|
16
16
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
17
17
|
declare const Badge: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & BadgeProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -23,8 +23,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
|
-
import { cn } from 'lib/utils/utils';
|
27
|
-
import { appearanceStyle, primaryColorStyle, radiusVariants, scalingVariants, weightVariants, } from 'lib/constants';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
|
+
import { appearanceStyle, primaryColorStyle, radiusVariants, scalingVariants, weightVariants, } from '../../../lib/constants';
|
28
28
|
var BadgeVariants = cva('inline-flex items-center transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2', {
|
29
29
|
variants: {
|
30
30
|
radius: __assign({}, radiusVariants['base']),
|