@lotte-innovate/ui-component-test 0.0.30 → 0.0.32
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{lib → src/lib}/Typography/Header/index.d.ts +2 -2
- package/dist/{lib → src/lib}/Typography/Header/index.js +2 -2
- package/dist/{lib → src/lib}/Typography/Text/index.d.ts +2 -2
- package/dist/{lib → src/lib}/Typography/Text/index.js +2 -2
- package/dist/{lib → src/lib}/components/Accordion/index.d.ts +1 -1
- package/dist/{lib → src/lib}/components/Accordion/index.js +2 -2
- package/dist/{lib → src/lib}/components/AlertDialog/AlertDialogAction.d.ts +3 -3
- package/dist/{lib → src/lib}/components/AlertDialog/AlertDialogAction.js +2 -2
- package/dist/{lib → src/lib}/components/AlertDialog/AlertDialogCancel.d.ts +3 -3
- package/dist/{lib → src/lib}/components/AlertDialog/AlertDialogCancel.js +2 -2
- package/dist/{lib → src/lib}/components/AlertDialog/AlertDialogContent.d.ts +1 -1
- package/dist/{lib → src/lib}/components/AlertDialog/AlertDialogContent.js +2 -2
- package/dist/{lib → src/lib}/components/AlertDialog/AlertDialogDescription.js +1 -1
- package/dist/{lib → src/lib}/components/AlertDialog/AlertDialogTitle.js +1 -1
- package/dist/{lib → src/lib}/components/AlertDialog/AlertDialogTrigger.d.ts +3 -3
- package/dist/{lib → src/lib}/components/AlertDialog/AlertDialogTrigger.js +2 -2
- package/dist/{lib → src/lib}/components/AlertDialog/index.d.ts +1 -1
- package/dist/{lib → src/lib}/components/AspectRatio/index.js +2 -2
- package/dist/{lib → src/lib}/components/Avatar/index.d.ts +1 -1
- package/dist/{lib → src/lib}/components/Avatar/index.js +2 -2
- package/dist/{lib → src/lib}/components/Badge/index.d.ts +3 -3
- package/dist/{lib → src/lib}/components/Badge/index.js +2 -2
- package/dist/{lib → src/lib}/components/BubbleChart/index.d.ts +1 -1
- package/dist/{lib → src/lib}/components/BubbleChart/index.js +2 -2
- package/dist/{lib → src/lib}/components/Button/index.d.ts +3 -3
- package/dist/{lib → src/lib}/components/Button/index.js +2 -2
- package/dist/{lib → src/lib}/components/Callout/CalloutIcon.js +2 -2
- package/dist/{lib → src/lib}/components/Callout/CalloutText.js +1 -1
- package/dist/{lib → src/lib}/components/Callout/index.d.ts +2 -2
- package/dist/{lib → src/lib}/components/Callout/index.js +2 -2
- package/dist/{lib → src/lib}/components/Card/index.d.ts +3 -3
- package/dist/{lib → src/lib}/components/Card/index.js +2 -2
- package/dist/{lib → src/lib}/components/Checkbox/index.d.ts +2 -2
- package/dist/{lib → src/lib}/components/Checkbox/index.js +3 -3
- package/dist/{lib → src/lib}/components/CheckboxCard/index.d.ts +3 -3
- package/dist/{lib → src/lib}/components/CheckboxCard/index.js +4 -4
- package/dist/{lib → src/lib}/components/CheckboxGroup/CheckboxGroupItem.d.ts +1 -1
- package/dist/{lib → src/lib}/components/CheckboxGroup/CheckboxGroupItem.js +1 -1
- package/dist/{lib → src/lib}/components/CheckboxGroup/index.d.ts +2 -2
- package/dist/{lib → src/lib}/components/CheckboxGroup/index.js +1 -1
- package/dist/{lib → src/lib}/components/ContextMenu/ContextMenuCheckboxItem.js +2 -2
- package/dist/{lib → src/lib}/components/ContextMenu/ContextMenuContent.d.ts +1 -1
- package/dist/{lib → src/lib}/components/ContextMenu/ContextMenuContent.js +2 -2
- package/dist/{lib → src/lib}/components/ContextMenu/ContextMenuItem.d.ts +1 -1
- package/dist/{lib → src/lib}/components/ContextMenu/ContextMenuItem.js +2 -2
- package/dist/{lib → src/lib}/components/ContextMenu/ContextMenuItemIndicator.d.ts +1 -1
- package/dist/{lib → src/lib}/components/ContextMenu/ContextMenuItemIndicator.js +2 -2
- package/dist/{lib → src/lib}/components/ContextMenu/ContextMenuLabel.js +2 -2
- package/dist/{lib → src/lib}/components/ContextMenu/ContextMenuRadioItem.js +2 -2
- package/dist/{lib → src/lib}/components/ContextMenu/ContextMenuSeparator.js +1 -1
- package/dist/{lib → src/lib}/components/ContextMenu/ContextMenuSubContent.d.ts +1 -1
- package/dist/{lib → src/lib}/components/ContextMenu/ContextMenuSubContent.js +2 -2
- package/dist/{lib → src/lib}/components/ContextMenu/ContextMenuSubTrigger.js +2 -2
- package/dist/{lib → src/lib}/components/ContextMenu/ContextMenuTrigger.js +1 -1
- package/dist/{lib → src/lib}/components/ContextMenu/index.d.ts +1 -1
- package/dist/{lib → src/lib}/components/DataList/DataListItem.js +2 -2
- package/dist/{lib → src/lib}/components/DataList/DataListLabel.d.ts +1 -1
- package/dist/{lib → src/lib}/components/DataList/DataListLabel.js +2 -2
- package/dist/{lib → src/lib}/components/DataList/DataListValue.d.ts +1 -1
- package/dist/{lib → src/lib}/components/DataList/DataListValue.js +2 -2
- package/dist/{lib → src/lib}/components/DataList/index.js +1 -1
- package/dist/{lib → src/lib}/components/Dialog/DialogAction.d.ts +2 -2
- package/dist/{lib → src/lib}/components/Dialog/DialogAction.js +2 -2
- package/dist/{lib → src/lib}/components/Dialog/DialogCancel.d.ts +1 -1
- package/dist/{lib → src/lib}/components/Dialog/DialogCancel.js +1 -1
- package/dist/{lib → src/lib}/components/Dialog/DialogContent.d.ts +1 -1
- package/dist/{lib → src/lib}/components/Dialog/DialogContent.js +2 -2
- package/dist/{lib → src/lib}/components/Dialog/DialogDescription.js +1 -1
- package/dist/{lib → src/lib}/components/Dialog/DialogSlot.js +1 -1
- package/dist/{lib → src/lib}/components/Dialog/DialogTitle.js +1 -1
- package/dist/{lib → src/lib}/components/DoughnutChart/index.js +2 -2
- package/dist/{lib → src/lib}/components/DropdownMenu/DropdonMenuSubContent.d.ts +1 -1
- package/dist/{lib → src/lib}/components/DropdownMenu/DropdonMenuSubContent.js +2 -2
- package/dist/{lib → src/lib}/components/DropdownMenu/DropdownMenuCheckboxItem.js +2 -2
- package/dist/{lib → src/lib}/components/DropdownMenu/DropdownMenuContent.d.ts +1 -1
- package/dist/{lib → src/lib}/components/DropdownMenu/DropdownMenuContent.js +2 -2
- package/dist/{lib → src/lib}/components/DropdownMenu/DropdownMenuItem.d.ts +1 -1
- package/dist/{lib → src/lib}/components/DropdownMenu/DropdownMenuItem.js +2 -2
- package/dist/{lib → src/lib}/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +1 -1
- package/dist/{lib → src/lib}/components/DropdownMenu/DropdownMenuItemIndicator.js +2 -2
- package/dist/{lib → src/lib}/components/DropdownMenu/DropdownMenuLable.js +2 -2
- package/dist/{lib → src/lib}/components/DropdownMenu/DropdownMenuRadioItem.js +2 -2
- package/dist/{lib → src/lib}/components/DropdownMenu/DropdownMenuSeparator.js +1 -1
- package/dist/{lib → src/lib}/components/DropdownMenu/DropdownMenuSubTrigger.js +2 -2
- package/dist/{lib → src/lib}/components/DropdownMenu/DropdownMenuTrigger.d.ts +1 -1
- package/dist/{lib → src/lib}/components/DropdownMenu/DropdownMenuTrigger.js +1 -1
- package/dist/{lib → src/lib}/components/HoverCard/HoverCardContent.d.ts +2 -2
- package/dist/{lib → src/lib}/components/HoverCard/HoverCardContent.js +2 -2
- package/dist/{lib → src/lib}/components/IconButton/index.d.ts +2 -2
- package/dist/{lib → src/lib}/components/IconButton/index.js +2 -2
- package/dist/{lib → src/lib}/components/Inset/index.d.ts +1 -1
- package/dist/{lib → src/lib}/components/Inset/index.js +2 -2
- package/dist/{lib → src/lib}/components/Label/index.d.ts +2 -2
- package/dist/{lib → src/lib}/components/Label/index.js +2 -2
- package/dist/{lib → src/lib}/components/Menubar/MenubarCheckboxItem.js +2 -2
- package/dist/{lib → src/lib}/components/Menubar/MenubarContent.d.ts +1 -1
- package/dist/{lib → src/lib}/components/Menubar/MenubarContent.js +2 -2
- package/dist/{lib → src/lib}/components/Menubar/MenubarItem.d.ts +1 -1
- package/dist/{lib → src/lib}/components/Menubar/MenubarItem.js +2 -2
- package/dist/{lib → src/lib}/components/Menubar/MenubarItemIndicator.d.ts +1 -1
- package/dist/{lib → src/lib}/components/Menubar/MenubarItemIndicator.js +2 -2
- package/dist/{lib → src/lib}/components/Menubar/MenubarRadioItem.js +2 -2
- package/dist/{lib → src/lib}/components/Menubar/MenubarSeparator.js +1 -1
- package/dist/{lib → src/lib}/components/Menubar/MenubarSubContent.d.ts +1 -1
- package/dist/{lib → src/lib}/components/Menubar/MenubarSubContent.js +2 -2
- package/dist/{lib → src/lib}/components/Menubar/MenubarSubTrigger.js +2 -2
- package/dist/{lib → src/lib}/components/Menubar/MenubarTrigger.d.ts +1 -1
- package/dist/{lib → src/lib}/components/Menubar/MenubarTrigger.js +2 -2
- package/dist/{lib → src/lib}/components/Menubar/index.d.ts +2 -2
- package/dist/{lib → src/lib}/components/Menubar/index.js +2 -2
- package/dist/{lib → src/lib}/components/NavigationMenu/NavigationMenuContent.d.ts +1 -1
- package/dist/{lib → src/lib}/components/NavigationMenu/NavigationMenuContent.js +2 -2
- package/dist/{lib → src/lib}/components/NavigationMenu/NavigationMenuIndicator.js +1 -1
- package/dist/{lib → src/lib}/components/NavigationMenu/NavigationMenuLink.d.ts +1 -1
- package/dist/{lib → src/lib}/components/NavigationMenu/NavigationMenuLink.js +2 -2
- package/dist/{lib → src/lib}/components/NavigationMenu/NavigationMenuList.d.ts +1 -1
- package/dist/{lib → src/lib}/components/NavigationMenu/NavigationMenuList.js +2 -2
- package/dist/{lib → src/lib}/components/NavigationMenu/NavigationMenuTrigger.d.ts +1 -1
- package/dist/{lib → src/lib}/components/NavigationMenu/NavigationMenuTrigger.js +2 -2
- package/dist/{lib → src/lib}/components/NavigationMenu/NavigationMenuViewport.d.ts +2 -2
- package/dist/{lib → src/lib}/components/NavigationMenu/NavigationMenuViewport.js +2 -2
- package/dist/{lib → src/lib}/components/NavigationMenu/index.d.ts +1 -1
- package/dist/{lib → src/lib}/components/NavigationMenu/index.js +1 -1
- package/dist/{lib → src/lib}/components/PieChart/index.js +2 -2
- package/dist/{lib → src/lib}/components/Popover/PopoverClose.d.ts +1 -1
- package/dist/{lib → src/lib}/components/Popover/PopoverClose.js +1 -1
- package/dist/{lib → src/lib}/components/Popover/PopoverContent.d.ts +1 -1
- package/dist/{lib → src/lib}/components/Popover/PopoverContent.js +2 -2
- package/dist/{lib → src/lib}/components/Progress/index.d.ts +1 -1
- package/dist/{lib → src/lib}/components/Progress/index.js +2 -2
- package/dist/{lib → src/lib}/components/RadarChart/index.d.ts +1 -1
- package/dist/{lib → src/lib}/components/RadarChart/index.js +2 -2
- package/dist/{lib → src/lib}/components/Radio/index.d.ts +1 -1
- package/dist/{lib → src/lib}/components/Radio/index.js +2 -2
- package/dist/{lib → src/lib}/components/RadioCards/RadioCardsItem.d.ts +1 -1
- package/dist/{lib → src/lib}/components/RadioCards/RadioCardsItem.js +1 -1
- package/dist/{lib → src/lib}/components/RadioCards/index.js +2 -2
- package/dist/{lib → src/lib}/components/RadioGroup/RadioGroupItem.js +1 -1
- package/dist/{lib → src/lib}/components/RadioGroup/index.d.ts +1 -1
- package/dist/{lib → src/lib}/components/RadioGroup/index.js +1 -1
- package/dist/{lib → src/lib}/components/SegmentedControl/SegmentedControlItem.js +1 -1
- package/dist/{lib → src/lib}/components/SegmentedControl/index.d.ts +1 -1
- package/dist/{lib → src/lib}/components/SegmentedControl/index.js +2 -2
- package/dist/{lib → src/lib}/components/Select/index.d.ts +2 -2
- package/dist/{lib → src/lib}/components/Select/index.js +2 -2
- package/dist/{lib → src/lib}/components/Separator/index.js +2 -2
- package/dist/{lib → src/lib}/components/Skeleton/index.d.ts +2 -2
- package/dist/{lib → src/lib}/components/Skeleton/index.js +2 -2
- package/dist/{lib → src/lib}/components/Slider/index.d.ts +2 -2
- package/dist/{lib → src/lib}/components/Slider/index.js +2 -2
- package/dist/{lib → src/lib}/components/Spinner/index.d.ts +1 -1
- package/dist/{lib → src/lib}/components/Spinner/index.js +2 -2
- package/dist/{lib → src/lib}/components/TabNav/index.js +1 -1
- package/dist/{lib → src/lib}/components/Table/index.d.ts +2 -2
- package/dist/{lib → src/lib}/components/Table/index.js +2 -2
- package/dist/{lib → src/lib}/components/Tabs/index.d.ts +1 -1
- package/dist/{lib → src/lib}/components/Tabs/index.js +2 -2
- package/dist/{lib → src/lib}/components/TextArea/index.d.ts +2 -2
- package/dist/{lib → src/lib}/components/TextArea/index.js +2 -2
- package/dist/{lib → src/lib}/components/TextField/index.d.ts +2 -2
- package/dist/{lib → src/lib}/components/TextField/index.js +2 -2
- package/dist/{lib → src/lib}/components/Toast/ToastActionButton.d.ts +2 -2
- package/dist/{lib → src/lib}/components/Toast/ToastActionButton.js +3 -3
- package/dist/{lib → src/lib}/components/Toast/ToastDescription.d.ts +1 -1
- package/dist/{lib → src/lib}/components/Toast/ToastDescription.js +1 -1
- package/dist/{lib → src/lib}/components/Toast/ToastTitle.d.ts +1 -1
- package/dist/{lib → src/lib}/components/Toast/ToastTitle.js +1 -1
- package/dist/{lib → src/lib}/components/Toast/index.d.ts +1 -1
- package/dist/{lib → src/lib}/components/Toast/index.js +2 -2
- package/dist/{lib → src/lib}/components/Toggle/ToggleWithText.d.ts +2 -2
- package/dist/{lib → src/lib}/components/Toggle/ToggleWithText.js +3 -3
- package/dist/{lib → src/lib}/components/Toggle/index.d.ts +2 -2
- package/dist/{lib → src/lib}/components/Toggle/index.js +2 -2
- package/dist/{lib → src/lib}/components/ToggleGroup/index.d.ts +1 -1
- package/dist/{lib → src/lib}/components/ToggleGroup/index.js +2 -2
- package/dist/{lib → src/lib}/components/ToggleGroup/toggleGroupItem.d.ts +1 -1
- package/dist/{lib → src/lib}/components/ToggleGroup/toggleGroupItem.js +2 -2
- package/dist/{lib → src/lib}/components/ToggleSwitch/index.d.ts +1 -1
- package/dist/{lib → src/lib}/components/ToggleSwitch/index.js +3 -3
- package/dist/{lib → src/lib}/components/Tooltip/index.d.ts +4 -4
- package/dist/{lib → src/lib}/components/Tooltip/index.js +2 -2
- package/dist/{lib → src/lib}/constants.js +1 -1
- package/dist/tailwind.config.js +6 -6
- package/package.json +3 -6
- /package/dist/{lib → src/lib}/Typography/index.d.ts +0 -0
- /package/dist/{lib → src/lib}/Typography/index.js +0 -0
- /package/dist/{lib → src/lib}/color/alpha.d.ts +0 -0
- /package/dist/{lib → src/lib}/color/alpha.js +0 -0
- /package/dist/{lib → src/lib}/color/constants.d.ts +0 -0
- /package/dist/{lib → src/lib}/color/constants.js +0 -0
- /package/dist/{lib → src/lib}/color/dark.d.ts +0 -0
- /package/dist/{lib → src/lib}/color/dark.js +0 -0
- /package/dist/{lib → src/lib}/color/krdsColors.d.ts +0 -0
- /package/dist/{lib → src/lib}/color/krdsColors.js +0 -0
- /package/dist/{lib → src/lib}/color/light.d.ts +0 -0
- /package/dist/{lib → src/lib}/color/light.js +0 -0
- /package/dist/{lib → src/lib}/components/AlertDialog/AlertDialogDescription.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/AlertDialog/AlertDialogTitle.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/AlertDialog/index.js +0 -0
- /package/dist/{lib → src/lib}/components/AspectRatio/index.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/Callout/CalloutIcon.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/Callout/CalloutText.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/ContextMenu/ContextMenuCheckboxItem.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/ContextMenu/ContextMenuGroup.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/ContextMenu/ContextMenuGroup.js +0 -0
- /package/dist/{lib → src/lib}/components/ContextMenu/ContextMenuLabel.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/ContextMenu/ContextMenuRadioGroup.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/ContextMenu/ContextMenuRadioGroup.js +0 -0
- /package/dist/{lib → src/lib}/components/ContextMenu/ContextMenuRadioItem.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/ContextMenu/ContextMenuSeparator.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/ContextMenu/ContextMenuSubTrigger.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/ContextMenu/ContextMenuTrigger.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/ContextMenu/index.js +0 -0
- /package/dist/{lib → src/lib}/components/DataList/DataListItem.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/DataList/index.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/Dialog/DialogDescription.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/Dialog/DialogSlot.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/Dialog/DialogTitle.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/Dialog/DialogTrigger.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/Dialog/DialogTrigger.js +0 -0
- /package/dist/{lib → src/lib}/components/Dialog/index.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/Dialog/index.js +0 -0
- /package/dist/{lib → src/lib}/components/DoughnutChart/index.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/DropdownMenu/DropdonMenuRadioGroup.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/DropdownMenu/DropdonMenuRadioGroup.js +0 -0
- /package/dist/{lib → src/lib}/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/DropdownMenu/DropdownMenuLable.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/DropdownMenu/DropdownMenuRadioItem.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/DropdownMenu/DropdownMenuSeparator.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/DropdownMenu/DropdownMenuSub.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/DropdownMenu/DropdownMenuSub.js +0 -0
- /package/dist/{lib → src/lib}/components/DropdownMenu/DropdownMenuSubTrigger.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/DropdownMenu/index.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/DropdownMenu/index.js +0 -0
- /package/dist/{lib → src/lib}/components/HoverCard/HoverCardTrigger.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/HoverCard/HoverCardTrigger.js +0 -0
- /package/dist/{lib → src/lib}/components/HoverCard/index.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/HoverCard/index.js +0 -0
- /package/dist/{lib → src/lib}/components/Menubar/MenubarCheckboxItem.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/Menubar/MenubarMenu.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/Menubar/MenubarMenu.js +0 -0
- /package/dist/{lib → src/lib}/components/Menubar/MenubarRadioGroup.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/Menubar/MenubarRadioGroup.js +0 -0
- /package/dist/{lib → src/lib}/components/Menubar/MenubarRadioItem.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/Menubar/MenubarSeparator.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/Menubar/MenubarSub.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/Menubar/MenubarSub.js +0 -0
- /package/dist/{lib → src/lib}/components/Menubar/MenubarSubTrigger.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/NavigationMenu/NavigationMenuIndicator.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/NavigationMenu/NavigationMenuItem.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/NavigationMenu/NavigationMenuItem.js +0 -0
- /package/dist/{lib → src/lib}/components/PieChart/index.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/Popover/PopoverTrigger.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/Popover/PopoverTrigger.js +0 -0
- /package/dist/{lib → src/lib}/components/Popover/index.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/Popover/index.js +0 -0
- /package/dist/{lib → src/lib}/components/RadioCards/index.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/RadioGroup/RadioGroupItem.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/ScrollArea/index.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/ScrollArea/index.js +0 -0
- /package/dist/{lib → src/lib}/components/SegmentedControl/SegmentedControlItem.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/Separator/index.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/TabNav/index.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/index.d.ts +0 -0
- /package/dist/{lib → src/lib}/components/index.js +0 -0
- /package/dist/{lib → src/lib}/constants.d.ts +0 -0
- /package/dist/{lib → src/lib}/index.d.ts +0 -0
- /package/dist/{lib → src/lib}/index.js +0 -0
- /package/dist/{lib → src/lib}/types.d.ts +0 -0
- /package/dist/{lib → src/lib}/types.js +0 -0
- /package/dist/{lib → src/lib}/utils/utils.d.ts +0 -0
- /package/dist/{lib → src/lib}/utils/utils.js +0 -0
@@ -24,9 +24,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import React, { Children, forwardRef } from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { SegmentedControl as SegmentedControlTheme, Theme } from '@radix-ui/themes';
|
27
|
-
import { scalingVariants } from '
|
27
|
+
import { scalingVariants } from 'lib/constants';
|
28
28
|
export * from './SegmentedControlItem';
|
29
|
-
import { cn } from '
|
29
|
+
import { cn } from 'lib/utils/utils';
|
30
30
|
var segmentedControlVariants = cva('text-slateA-12 dark:text-slateDarkA-12', {
|
31
31
|
variants: {
|
32
32
|
scaling: __assign({}, scalingVariants),
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Select as SelectTheme } from '@radix-ui/themes';
|
2
2
|
import React from 'react';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IScaling } from '
|
4
|
+
import { IScaling } from 'lib/types';
|
5
5
|
export interface SelectProps extends VariantProps<typeof selectVariants> {
|
6
6
|
label?: string;
|
7
7
|
defaultValue?: string;
|
@@ -13,7 +13,7 @@ export interface SelectProps extends VariantProps<typeof selectVariants> {
|
|
13
13
|
size?: 'small' | 'medium' | 'large';
|
14
14
|
}
|
15
15
|
declare const selectVariants: (props?: ({
|
16
|
-
radius?: "
|
16
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
17
17
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
18
18
|
export declare const Select: React.ForwardRefExoticComponent<SelectTheme.RootProps & SelectProps & React.RefAttributes<never>>;
|
19
19
|
export declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectTheme.TriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & SelectProps & React.RefAttributes<HTMLButtonElement>>;
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { Theme, Select as SelectTheme } from '@radix-ui/themes';
|
25
25
|
import React from 'react';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
28
|
-
import { radiusVariants, selectAppearanceStyle } from '
|
27
|
+
import { cn } from 'lib/utils/utils';
|
28
|
+
import { radiusVariants, selectAppearanceStyle } from 'lib/constants';
|
29
29
|
var selectVariants = cva('', {
|
30
30
|
variants: {
|
31
31
|
radius: __assign({}, radiusVariants['base']),
|
@@ -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 React from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
|
-
import { cn } from '
|
27
|
-
import { bgColorStyle, scalingVariants } from '
|
26
|
+
import { cn } from 'lib/utils/utils';
|
27
|
+
import { bgColorStyle, scalingVariants } from 'lib/constants';
|
28
28
|
import { Separator as SeparatorTheme, Theme } from '@radix-ui/themes';
|
29
29
|
var separatorVariants = cva('', {
|
30
30
|
variants: {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import '@radix-ui/themes/styles.css';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IColor } from '
|
4
|
+
import { IColor } from 'lib/types';
|
5
5
|
export interface SkeletonProps extends VariantProps<typeof separatorVariants> {
|
6
6
|
color?: IColor;
|
7
7
|
loading?: boolean;
|
@@ -9,7 +9,7 @@ export interface SkeletonProps extends VariantProps<typeof separatorVariants> {
|
|
9
9
|
height?: string;
|
10
10
|
}
|
11
11
|
declare const separatorVariants: (props?: ({
|
12
|
-
radius?: "
|
12
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
13
13
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
14
14
|
export declare const Skeleton: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & SkeletonProps & React.RefAttributes<HTMLSpanElement>>;
|
15
15
|
export default Skeleton;
|
@@ -25,8 +25,8 @@ import React from 'react';
|
|
25
25
|
import '@radix-ui/themes/styles.css';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
27
|
import { Theme, Skeleton as SkeletonTheme } from '@radix-ui/themes';
|
28
|
-
import { cn } from '
|
29
|
-
import { radiusVariants } from '
|
28
|
+
import { cn } from 'lib/utils/utils';
|
29
|
+
import { radiusVariants } from 'lib/constants';
|
30
30
|
var separatorVariants = cva('', {
|
31
31
|
variants: {
|
32
32
|
radius: __assign({}, radiusVariants['base']),
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import '@radix-ui/themes/styles.css';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IScaling } from '
|
4
|
+
import { IScaling } from 'lib/types';
|
5
5
|
export interface SliderProps extends VariantProps<typeof sliderVariants> {
|
6
6
|
appearance?: 'classic' | 'soft' | 'surface';
|
7
7
|
label?: string;
|
@@ -9,7 +9,7 @@ export interface SliderProps extends VariantProps<typeof sliderVariants> {
|
|
9
9
|
scaling?: IScaling;
|
10
10
|
}
|
11
11
|
declare const sliderVariants: (props?: ({
|
12
|
-
radius?: "
|
12
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
13
13
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
14
14
|
export declare const Slider: React.ForwardRefExoticComponent<Omit<import("@radix-ui/themes").SliderProps & React.RefAttributes<HTMLSpanElement>, "ref"> & SliderProps & React.RefAttributes<HTMLSpanElement>>;
|
15
15
|
export default Slider;
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import React from 'react';
|
25
25
|
import '@radix-ui/themes/styles.css';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
28
|
-
import { radiusVariants } from '
|
27
|
+
import { cn } from 'lib/utils/utils';
|
28
|
+
import { radiusVariants } from 'lib/constants';
|
29
29
|
import { Theme, Slider as SliderTheme } from '@radix-ui/themes';
|
30
30
|
var sliderVariants = cva('relative flex items-center select-none touch-none w-[200px] h-5', {
|
31
31
|
variants: {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IColor } from '
|
3
|
+
import { IColor } from 'lib/types';
|
4
4
|
export interface SpinnerProps extends VariantProps<typeof spinnerVariants> {
|
5
5
|
color?: IColor;
|
6
6
|
loading?: boolean;
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import React from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { Spinner as SpinnerTheme, Theme } from '@radix-ui/themes';
|
27
|
-
import { cn } from '
|
28
|
-
import { scalingVariants } from '
|
27
|
+
import { cn } from 'lib/utils/utils';
|
28
|
+
import { scalingVariants } from 'lib/constants';
|
29
29
|
var spinnerVariants = cva('', {
|
30
30
|
variants: {
|
31
31
|
scaling: __assign({}, scalingVariants),
|
@@ -24,7 +24,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import React from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { TabNav as TabNavTheme, Theme } from '@radix-ui/themes';
|
27
|
-
import { cn } from '
|
27
|
+
import { cn } from 'lib/utils/utils';
|
28
28
|
var tabNavVariants = cva('', {
|
29
29
|
variants: {},
|
30
30
|
});
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IColor } from '
|
3
|
+
import { IColor } from 'lib/types';
|
4
4
|
import { Table as TableTheme } from '@radix-ui/themes';
|
5
5
|
export interface TableProps extends VariantProps<typeof tableVariants> {
|
6
6
|
color?: IColor;
|
@@ -9,7 +9,7 @@ export interface TableProps extends VariantProps<typeof tableVariants> {
|
|
9
9
|
}
|
10
10
|
declare const tableVariants: (props?: ({
|
11
11
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
12
|
-
radius?: "
|
12
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
13
13
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
14
14
|
export declare const Table: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & TableProps & React.RefAttributes<HTMLDivElement>>;
|
15
15
|
export declare const TableHeader: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableSectionElement>>;
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import React from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { Table as TableTheme, Theme } from '@radix-ui/themes';
|
27
|
-
import { cn } from '
|
28
|
-
import { radiusVariants, scalingVariants } from '
|
27
|
+
import { cn } from 'lib/utils/utils';
|
28
|
+
import { radiusVariants, scalingVariants } from 'lib/constants';
|
29
29
|
var tableVariants = cva('', {
|
30
30
|
variants: {
|
31
31
|
scaling: __assign({}, scalingVariants),
|
@@ -7,7 +7,7 @@ export interface TabsProps extends VariantProps<typeof tabsVariants> {
|
|
7
7
|
color?: any;
|
8
8
|
}
|
9
9
|
declare const tabsVariants: (props?: ({
|
10
|
-
weight?: "
|
10
|
+
weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
11
11
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
12
12
|
export declare const Tabs: React.ForwardRefExoticComponent<Omit<TabsTheme.RootProps & React.RefAttributes<HTMLDivElement>, "ref"> & TabsProps & React.RefAttributes<HTMLDivElement>>;
|
13
13
|
export declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsTheme.ListProps & React.RefAttributes<HTMLDivElement>, "ref"> & TabsProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -23,9 +23,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
24
|
import { Theme, Tabs as TabsTheme } from '@radix-ui/themes';
|
25
25
|
import React from 'react';
|
26
|
-
import { cn } from '
|
26
|
+
import { cn } from 'lib/utils/utils';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { weightVariants } from '
|
28
|
+
import { weightVariants } from 'lib/constants';
|
29
29
|
var tabsVariants = cva('', {
|
30
30
|
variants: {
|
31
31
|
weight: __assign({}, weightVariants),
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IColor } from '
|
3
|
+
import { IColor } from 'lib/types';
|
4
4
|
export interface TextAreaProps extends VariantProps<typeof textAreaNavVariants> {
|
5
5
|
color?: IColor;
|
6
6
|
href?: string;
|
@@ -10,7 +10,7 @@ export interface TextAreaProps extends VariantProps<typeof textAreaNavVariants>
|
|
10
10
|
declare const textAreaNavVariants: (props?: ({
|
11
11
|
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
12
12
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
13
|
-
radius?: "
|
13
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
14
14
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
15
15
|
export declare const TextArea: React.ForwardRefExoticComponent<Omit<import("@radix-ui/themes").TextAreaProps & React.RefAttributes<HTMLTextAreaElement>, "ref"> & TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
16
16
|
export default TextArea;
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import React from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { TextArea as TextAreaTheme, Theme } from '@radix-ui/themes';
|
27
|
-
import { cn } from '
|
28
|
-
import { radiusVariants, scalingVariants } from '
|
27
|
+
import { cn } from 'lib/utils/utils';
|
28
|
+
import { radiusVariants, scalingVariants } from 'lib/constants';
|
29
29
|
var textAreaNavVariants = cva('w-[250px]', {
|
30
30
|
variants: {
|
31
31
|
size: {
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
2
2
|
import '@radix-ui/themes/styles.css';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
4
|
import { TextField as TextFieldTheme } from '@radix-ui/themes';
|
5
|
-
import { IScaling } from '
|
5
|
+
import { IScaling } from 'lib/types';
|
6
6
|
export interface TextFieldProps extends VariantProps<typeof textFieldVariants> {
|
7
7
|
appearance?: 'classic' | 'soft' | 'surface';
|
8
8
|
label?: string;
|
@@ -10,7 +10,7 @@ export interface TextFieldProps extends VariantProps<typeof textFieldVariants> {
|
|
10
10
|
scaling?: IScaling;
|
11
11
|
}
|
12
12
|
declare const textFieldVariants: (props?: ({
|
13
|
-
radius?: "
|
13
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
14
14
|
color?: string | null | undefined;
|
15
15
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
16
16
|
export declare const TextField: React.ForwardRefExoticComponent<Omit<TextFieldTheme.RootProps & React.RefAttributes<HTMLInputElement>, "ref"> & TextFieldProps & React.RefAttributes<HTMLInputElement>>;
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import React from 'react';
|
25
25
|
import '@radix-ui/themes/styles.css';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
28
|
-
import { bgColorStyle, radiusVariants } from '
|
27
|
+
import { cn } from 'lib/utils/utils';
|
28
|
+
import { bgColorStyle, radiusVariants } from 'lib/constants';
|
29
29
|
import { Theme, TextField as TextFieldTheme } from '@radix-ui/themes';
|
30
30
|
var textFieldVariants = cva('', {
|
31
31
|
variants: {
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IAppearance } from '
|
4
|
+
import { IAppearance } from 'lib/types';
|
5
5
|
export interface ToastActionButtonProps extends VariantProps<typeof toastActionButtonVariants> {
|
6
6
|
altText?: string;
|
7
7
|
appearance?: IAppearance;
|
8
8
|
}
|
9
9
|
export declare const toastActionButtonVariants: (props?: ({
|
10
|
-
radius?: "
|
10
|
+
radius?: "small" | "none" | "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
13
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -24,9 +24,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
28
|
-
import Button from '
|
29
|
-
import { appearanceStyle, radiusVariants, scalingVariants } from '
|
27
|
+
import { cn } from 'lib/utils/utils';
|
28
|
+
import Button from 'lib/components/Button';
|
29
|
+
import { appearanceStyle, radiusVariants, scalingVariants } from 'lib/constants';
|
30
30
|
import { useToastContext } from '.';
|
31
31
|
export var toastActionButtonVariants = cva("absolute items-center justify-center", {
|
32
32
|
variants: {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IAppearance } from '
|
4
|
+
import { IAppearance } from 'lib/types';
|
5
5
|
export interface ToastDescriptionProps extends VariantProps<typeof toastDescriptionVariants> {
|
6
6
|
contentText?: string;
|
7
7
|
appearance?: IAppearance;
|
@@ -24,7 +24,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
27
|
+
import { cn } from 'lib/utils/utils';
|
28
28
|
import { useToastContext } from '.';
|
29
29
|
export var toastDescriptionVariants = cva('flex m-0 text-wrap text-slate-11 dark:text-slateDark-11', {
|
30
30
|
variants: {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IAppearance } from '
|
4
|
+
import { IAppearance } from 'lib/types';
|
5
5
|
export interface ToastTitleProps extends VariantProps<typeof toastTitleVariants> {
|
6
6
|
titleText?: string;
|
7
7
|
appearance?: IAppearance;
|
@@ -24,7 +24,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
27
|
+
import { cn } from 'lib/utils/utils';
|
28
28
|
import { useToastContext } from '.';
|
29
29
|
export var toastTitleVariants = cva('flex mb-[5px] text-slate-12 dark:text-slateDark-12 text-wrap break-words font-medium', {
|
30
30
|
variants: {
|
@@ -17,7 +17,7 @@ export interface ToastProps extends VariantProps<typeof toastVariants>, VariantP
|
|
17
17
|
setOpenToast?: Dispatch<SetStateAction<boolean>>;
|
18
18
|
}
|
19
19
|
export declare const toastVariants: (props?: ({
|
20
|
-
radius?: "
|
20
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
21
21
|
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
22
22
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
23
23
|
color?: "danger" | "warning" | "success" | "information" | null | undefined;
|
@@ -24,9 +24,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef, createContext, useContext, } from 'react';
|
25
25
|
import ReactDOM from 'react-dom';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
27
|
+
import { cn } from 'lib/utils/utils';
|
28
28
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
29
|
-
import { scalingVariants } from '
|
29
|
+
import { scalingVariants } from 'lib/constants';
|
30
30
|
export * from './ToastTitle';
|
31
31
|
export * from './ToastDescription';
|
32
32
|
export * from './ToastActionButton';
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
3
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
4
|
-
import { IAppearance } from '
|
4
|
+
import { IAppearance } from 'lib/types';
|
5
5
|
export interface ToggleWithTextProps extends VariantProps<typeof toggleWithTextVariants> {
|
6
6
|
text?: string;
|
7
7
|
appearance?: IAppearance;
|
8
8
|
size?: 'small' | 'medium' | 'large';
|
9
9
|
}
|
10
10
|
declare const toggleWithTextVariants: (props?: ({
|
11
|
-
radius?: "
|
11
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
12
12
|
size?: "small" | "medium" | "large" | null | undefined;
|
13
13
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
14
14
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -24,9 +24,9 @@ import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
import React, { Children, forwardRef } from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
27
|
-
import { radiusVariants, toggleAppearanceStyle } from '
|
28
|
-
import { scalingVariants } from '
|
29
|
-
import { cn } from '
|
27
|
+
import { radiusVariants, toggleAppearanceStyle } from 'lib/constants';
|
28
|
+
import { scalingVariants } from 'lib/constants';
|
29
|
+
import { cn } from 'lib/utils/utils';
|
30
30
|
var toggleWithTextVariants = cva('flex items-center justify-center box-border font-medium', {
|
31
31
|
variants: {
|
32
32
|
radius: __assign({}, radiusVariants['base']),
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
3
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
4
|
-
import { IAppearance } from '
|
4
|
+
import { IAppearance } from 'lib/types';
|
5
5
|
export * from './ToggleWithText';
|
6
6
|
export interface ToggleProps extends VariantProps<typeof toggleVariants> {
|
7
7
|
size?: 'small' | 'medium' | 'large';
|
8
8
|
appearance?: IAppearance;
|
9
9
|
}
|
10
10
|
declare const toggleVariants: (props?: ({
|
11
|
-
radius?: "
|
11
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
12
12
|
size?: "small" | "medium" | "large" | null | undefined;
|
13
13
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
14
14
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import React, { Children, forwardRef } from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
27
|
-
import { radiusVariants, scalingVariants, toggleAppearanceStyle } from '
|
28
|
-
import { cn } from '
|
27
|
+
import { radiusVariants, scalingVariants, toggleAppearanceStyle } from 'lib/constants';
|
28
|
+
import { cn } from 'lib/utils/utils';
|
29
29
|
export * from './ToggleWithText';
|
30
30
|
var toggleVariants = cva('grid place-content-center items-center justify-center box-border"', {
|
31
31
|
variants: {
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
2
2
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
4
|
import { toggleGroupItemVariants } from './toggleGroupItem';
|
5
|
-
import { IAppearance } from '
|
5
|
+
import { IAppearance } from 'lib/types';
|
6
6
|
export * from './toggleGroupItem';
|
7
7
|
export interface ToggleGroupSingleProps extends VariantProps<typeof toggleVariants>, VariantProps<typeof toggleGroupItemVariants> {
|
8
8
|
appearance?: IAppearance;
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { scalingVariants } from '
|
28
|
-
import { cn } from '
|
27
|
+
import { scalingVariants } from 'lib/constants';
|
28
|
+
import { cn } from 'lib/utils/utils';
|
29
29
|
export * from './toggleGroupItem';
|
30
30
|
var toggleVariants = cva('inline-flex', {
|
31
31
|
variants: {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IAppearance } from '
|
4
|
+
import { IAppearance } from 'lib/types';
|
5
5
|
export interface ToggleGroupItemProps extends VariantProps<typeof toggleGroupItemVariants> {
|
6
6
|
appearance?: IAppearance;
|
7
7
|
size?: 'small' | 'medium' | 'large';
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import React, { Children, forwardRef } from 'react';
|
25
25
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { toggleAppearanceStyle } from '
|
28
|
-
import { cn } from '
|
27
|
+
import { toggleAppearanceStyle } from 'lib/constants';
|
28
|
+
import { cn } from 'lib/utils/utils';
|
29
29
|
export var toggleGroupItemVariants = cva('grid place-content-center mr-[-1px] first:rounded-l last:rounded-r', {
|
30
30
|
variants: {
|
31
31
|
size: {
|
@@ -6,7 +6,7 @@ export interface ToggleSwitchProps extends VariantProps<typeof toggleSwitchVaria
|
|
6
6
|
}
|
7
7
|
declare const toggleSwitchVariants: (props?: ({
|
8
8
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
9
|
-
radius?: "
|
9
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
10
10
|
size?: "small" | "medium" | "large" | null | undefined;
|
11
11
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
12
12
|
export declare const ToggleSwitch: React.ForwardRefExoticComponent<Omit<import("@radix-ui/themes").SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & ToggleSwitchProps & React.RefAttributes<HTMLButtonElement>>;
|
@@ -23,10 +23,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
24
24
|
import React from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
|
-
import { cn } from '
|
27
|
-
import { radiusVariants, scalingVariants } from '
|
26
|
+
import { cn } from 'lib/utils/utils';
|
27
|
+
import { radiusVariants, scalingVariants } from 'lib/constants';
|
28
28
|
import { Switch as SwitchTheme, Theme } from '@radix-ui/themes';
|
29
|
-
import { Text } from '
|
29
|
+
import { Text } from 'lib/Typography/Text';
|
30
30
|
var toggleSwitchVariants = cva('', {
|
31
31
|
variants: {
|
32
32
|
scaling: __assign({}, scalingVariants),
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IColor } from '
|
4
|
+
import { IColor } from 'lib/types';
|
5
5
|
export interface TooltipProps extends React.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof tooltipVariants> {
|
6
6
|
label?: string;
|
7
7
|
defaultValue?: string;
|
@@ -11,9 +11,9 @@ export interface TooltipProps extends React.InputHTMLAttributes<HTMLInputElement
|
|
11
11
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
12
12
|
}
|
13
13
|
declare const tooltipVariants: (props?: ({
|
14
|
-
scaling?: number | typeof Symbol.iterator | typeof Symbol.unscopables | "
|
15
|
-
weight?: "
|
16
|
-
radius?: "
|
14
|
+
scaling?: number | typeof Symbol.iterator | typeof Symbol.unscopables | "concat" | "indexOf" | "lastIndexOf" | "slice" | "length" | "includes" | "at" | "toLocaleString" | "map" | "filter" | "fill" | "values" | "toString" | "pop" | "push" | "join" | "reverse" | "shift" | "sort" | "splice" | "unshift" | "every" | "some" | "forEach" | "reduce" | "reduceRight" | "find" | "findIndex" | "copyWithin" | "entries" | "keys" | "flatMap" | "flat" | "findLast" | "findLastIndex" | "toReversed" | "toSorted" | "toSpliced" | "with" | null | undefined;
|
15
|
+
weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
16
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
17
17
|
color?: string | null | undefined;
|
18
18
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
19
19
|
export declare const Tooltip: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipProps & TooltipProps & React.RefAttributes<never>>;
|
@@ -25,8 +25,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
25
25
|
import React from 'react';
|
26
26
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from '
|
29
|
-
import { primaryColorStyle, radiusVariants, scalingOptions, weightVariants } from '
|
28
|
+
import { cn } from 'lib/utils/utils';
|
29
|
+
import { primaryColorStyle, radiusVariants, scalingOptions, weightVariants } from 'lib/constants';
|
30
30
|
var tooltipVariants = cva('bg-slate-12 text-slate-1 dark:bg-slateDark-12 dark:text-slateDark-1 data-[state=delayed-open]:data-[side=top]:animate-slideDownAndFade data-[state=delayed-open]:data-[side=right]:animate-slideLeftAndFade data-[state=delayed-open]:data-[side=left]:animate-slideRightAndFade data-[state=delayed-open]:data-[side=bottom]:animate-slideUpAndFade select-none rounded-[4px] px-[9px] py-[6px] text-[12px] leading-none shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px] will-change-[transform,opacity]', {
|
31
31
|
variants: {
|
32
32
|
scaling: __assign({}, scalingOptions),
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ColorStyle, DarkColorStyle, colorOptions } from '
|
1
|
+
import { ColorStyle, DarkColorStyle, colorOptions } from 'lib/color/constants';
|
2
2
|
export var radiusOptions = ['none', 'small', 'medium', 'large', 'full'];
|
3
3
|
export var typoSizeOptions = ['1', '2', '3', '4', '5', '6', '7', '8', '9'];
|
4
4
|
export var scalingOptions = ['90%', '95%', '100%', '105%', '110%'];
|
package/dist/tailwind.config.js
CHANGED
@@ -18,10 +18,10 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
18
18
|
}
|
19
19
|
return to.concat(ar || Array.prototype.slice.call(from));
|
20
20
|
};
|
21
|
-
import * as lightColors from './lib/color/light';
|
22
|
-
import * as darkColors from './lib/color/dark';
|
23
|
-
import * as alphaColors from './lib/color/alpha';
|
24
|
-
import { colorOptions, alphaColorOptions, darkColorOptions } from './lib/color/constants';
|
21
|
+
import * as lightColors from './src/lib/color/light';
|
22
|
+
import * as darkColors from './src/lib/color/dark';
|
23
|
+
import * as alphaColors from './src/lib/color/alpha';
|
24
|
+
import { colorOptions, alphaColorOptions, darkColorOptions } from './src/lib/color/constants';
|
25
25
|
var classes = [];
|
26
26
|
var darkClasses = [];
|
27
27
|
var colorScale = Array.from({ length: 12 }, function (_, i) { return (i + 1).toString(); });
|
@@ -64,9 +64,9 @@ allColorOptions.forEach(function (options) {
|
|
64
64
|
darkClasses.push.apply(darkClasses, generateDarkClasses(darkColorOptions, colorScale));
|
65
65
|
var config = {
|
66
66
|
content: [
|
67
|
-
'./src/pages/**/*.{js,ts,jsx,tsx,mdx,zip}',
|
68
|
-
'./src/components/**/*.{js,ts,jsx,tsx,mdx,zip}',
|
69
67
|
'./src/app/**/*.{js,ts,jsx,tsx,mdx,zip}',
|
68
|
+
'./src/lib/**/*.{js,ts,jsx,tsx,mdx,zip}',
|
69
|
+
'./src/stories/**/*.{js,ts,jsx,tsx,mdx,zip}',
|
70
70
|
'./src/**/*.{js,ts,jsx,tsx,mdx,zip}',
|
71
71
|
],
|
72
72
|
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),
|