@lotte-innovate/ui-component-test 0.0.18 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Typography → lib/Typography}/Header/index.d.ts +2 -2
- package/dist/{Typography → lib/Typography}/Header/index.js +2 -2
- package/dist/{Typography → lib/Typography}/Text/index.d.ts +2 -3
- package/dist/{Typography → lib/Typography}/Text/index.js +2 -2
- package/dist/{color → lib/color}/constants.d.ts +1 -1
- package/dist/{components → lib/components}/Accordion/index.d.ts +1 -1
- package/dist/{components → lib/components}/Accordion/index.js +2 -2
- package/dist/{components → lib/components}/AlertDialog/AlertDialogAction.d.ts +3 -3
- package/dist/{components → lib/components}/AlertDialog/AlertDialogAction.js +2 -2
- package/dist/{components → lib/components}/AlertDialog/AlertDialogCancel.d.ts +3 -3
- package/dist/{components → lib/components}/AlertDialog/AlertDialogCancel.js +2 -2
- package/dist/{components → lib/components}/AlertDialog/AlertDialogContent.d.ts +1 -1
- package/dist/{components → lib/components}/AlertDialog/AlertDialogContent.js +2 -2
- package/dist/{components → lib/components}/AlertDialog/AlertDialogDescription.js +1 -1
- package/dist/{components → lib/components}/AlertDialog/AlertDialogTitle.js +1 -1
- package/dist/{components → lib/components}/AlertDialog/AlertDialogTrigger.d.ts +3 -3
- package/dist/{components → lib/components}/AlertDialog/AlertDialogTrigger.js +2 -2
- package/dist/{components → lib/components}/AlertDialog/index.d.ts +1 -1
- package/dist/{components → lib/components}/AspectRatio/index.js +2 -2
- package/dist/{components → lib/components}/Avatar/index.d.ts +1 -1
- package/dist/{components → lib/components}/Avatar/index.js +2 -2
- package/dist/{components → lib/components}/Badge/index.d.ts +3 -3
- package/dist/{components → lib/components}/Badge/index.js +2 -2
- package/dist/{components → lib/components}/BubbleChart/index.d.ts +1 -1
- package/dist/{components → lib/components}/BubbleChart/index.js +2 -2
- package/dist/{components → lib/components}/Button/index.d.ts +3 -3
- package/dist/{components → lib/components}/Button/index.js +2 -2
- package/dist/{components → lib/components}/Callout/CalloutIcon.js +2 -2
- package/dist/{components → lib/components}/Callout/CalloutText.js +1 -1
- package/dist/{components → lib/components}/Callout/index.d.ts +2 -2
- package/dist/{components → lib/components}/Callout/index.js +2 -2
- package/dist/{components → lib/components}/Card/index.d.ts +3 -3
- package/dist/{components → lib/components}/Card/index.js +2 -2
- package/dist/{components → lib/components}/Checkbox/index.d.ts +2 -2
- package/dist/{components → lib/components}/Checkbox/index.js +3 -3
- package/dist/{components → lib/components}/CheckboxCard/index.d.ts +3 -3
- package/dist/{components → lib/components}/CheckboxCard/index.js +4 -4
- package/dist/{components → lib/components}/CheckboxGroup/CheckboxGroupItem.d.ts +1 -1
- package/dist/{components → lib/components}/CheckboxGroup/CheckboxGroupItem.js +1 -1
- package/dist/{components → lib/components}/CheckboxGroup/index.d.ts +2 -2
- package/dist/{components → lib/components}/CheckboxGroup/index.js +1 -1
- package/dist/{components → lib/components}/ContextMenu/ContextMenuCheckboxItem.js +2 -2
- package/dist/{components → lib/components}/ContextMenu/ContextMenuContent.d.ts +1 -1
- package/dist/{components → lib/components}/ContextMenu/ContextMenuContent.js +2 -2
- package/dist/{components → lib/components}/ContextMenu/ContextMenuItem.d.ts +1 -1
- package/dist/{components → lib/components}/ContextMenu/ContextMenuItem.js +2 -2
- package/dist/{components → lib/components}/ContextMenu/ContextMenuItemIndicator.d.ts +1 -1
- package/dist/{components → lib/components}/ContextMenu/ContextMenuItemIndicator.js +2 -2
- package/dist/{components → lib/components}/ContextMenu/ContextMenuLabel.js +2 -2
- package/dist/{components → lib/components}/ContextMenu/ContextMenuRadioItem.js +2 -2
- package/dist/{components → lib/components}/ContextMenu/ContextMenuSeparator.js +1 -1
- package/dist/{components → lib/components}/ContextMenu/ContextMenuSubContent.d.ts +1 -1
- package/dist/{components → lib/components}/ContextMenu/ContextMenuSubContent.js +2 -2
- package/dist/{components → lib/components}/ContextMenu/ContextMenuSubTrigger.js +2 -2
- package/dist/{components → lib/components}/ContextMenu/ContextMenuTrigger.js +1 -1
- package/dist/{components → lib/components}/ContextMenu/index.d.ts +1 -1
- package/dist/{components → lib/components}/DataList/DataListItem.js +2 -2
- package/dist/{components → lib/components}/DataList/DataListLabel.d.ts +1 -1
- package/dist/{components → lib/components}/DataList/DataListLabel.js +2 -2
- package/dist/{components → lib/components}/DataList/DataListValue.d.ts +1 -1
- package/dist/{components → lib/components}/DataList/DataListValue.js +2 -2
- package/dist/{components → lib/components}/DataList/index.js +1 -1
- package/dist/{components → lib/components}/Dialog/DialogAction.d.ts +2 -2
- package/dist/{components → lib/components}/Dialog/DialogAction.js +2 -2
- package/dist/{components → lib/components}/Dialog/DialogCancel.d.ts +1 -1
- package/dist/{components → lib/components}/Dialog/DialogCancel.js +1 -1
- package/dist/{components → lib/components}/Dialog/DialogContent.d.ts +1 -1
- package/dist/{components → lib/components}/Dialog/DialogContent.js +2 -2
- package/dist/{components → lib/components}/Dialog/DialogDescription.js +1 -1
- package/dist/{components → lib/components}/Dialog/DialogSlot.js +1 -1
- package/dist/{components → lib/components}/Dialog/DialogTitle.js +1 -1
- package/dist/{components → lib/components}/DoughnutChart/index.js +2 -2
- package/dist/{components → lib/components}/DropdownMenu/DropdonMenuSubContent.d.ts +1 -1
- package/dist/{components → lib/components}/DropdownMenu/DropdonMenuSubContent.js +2 -2
- package/dist/{components → lib/components}/DropdownMenu/DropdownMenuCheckboxItem.js +2 -2
- package/dist/{components → lib/components}/DropdownMenu/DropdownMenuContent.d.ts +1 -1
- package/dist/{components → lib/components}/DropdownMenu/DropdownMenuContent.js +2 -2
- package/dist/{components → lib/components}/DropdownMenu/DropdownMenuItem.d.ts +1 -1
- package/dist/{components → lib/components}/DropdownMenu/DropdownMenuItem.js +2 -2
- package/dist/{components → lib/components}/DropdownMenu/DropdownMenuItemIndicator.d.ts +1 -1
- package/dist/{components → lib/components}/DropdownMenu/DropdownMenuItemIndicator.js +2 -2
- package/dist/{components → lib/components}/DropdownMenu/DropdownMenuLable.js +2 -2
- package/dist/{components → lib/components}/DropdownMenu/DropdownMenuRadioItem.js +2 -2
- package/dist/{components → lib/components}/DropdownMenu/DropdownMenuSeparator.js +1 -1
- package/dist/{components → lib/components}/DropdownMenu/DropdownMenuSubTrigger.js +2 -2
- package/dist/{components → lib/components}/DropdownMenu/DropdownMenuTrigger.d.ts +1 -1
- package/dist/{components → lib/components}/DropdownMenu/DropdownMenuTrigger.js +1 -1
- package/dist/{components → lib/components}/HoverCard/HoverCardContent.d.ts +2 -2
- package/dist/{components → lib/components}/HoverCard/HoverCardContent.js +2 -3
- package/dist/{components → lib/components}/IconButton/index.d.ts +2 -2
- package/dist/{components → lib/components}/IconButton/index.js +2 -2
- package/dist/{components → lib/components}/Inset/index.d.ts +1 -1
- package/dist/{components → lib/components}/Inset/index.js +2 -2
- package/dist/{components → lib/components}/Label/index.d.ts +2 -2
- package/dist/{components → lib/components}/Label/index.js +2 -2
- package/dist/{components → lib/components}/Menubar/MenubarCheckboxItem.js +2 -2
- package/dist/{components → lib/components}/Menubar/MenubarContent.d.ts +1 -1
- package/dist/{components → lib/components}/Menubar/MenubarContent.js +2 -2
- package/dist/{components → lib/components}/Menubar/MenubarItem.d.ts +1 -1
- package/dist/{components → lib/components}/Menubar/MenubarItem.js +2 -2
- package/dist/{components → lib/components}/Menubar/MenubarItemIndicator.d.ts +1 -1
- package/dist/{components → lib/components}/Menubar/MenubarItemIndicator.js +2 -2
- package/dist/{components → lib/components}/Menubar/MenubarRadioItem.js +2 -2
- package/dist/{components → lib/components}/Menubar/MenubarSeparator.js +1 -1
- package/dist/{components → lib/components}/Menubar/MenubarSubContent.d.ts +1 -1
- package/dist/{components → lib/components}/Menubar/MenubarSubContent.js +2 -2
- package/dist/{components → lib/components}/Menubar/MenubarSubTrigger.js +2 -2
- package/dist/{components → lib/components}/Menubar/MenubarTrigger.d.ts +1 -1
- package/dist/{components → lib/components}/Menubar/MenubarTrigger.js +2 -2
- package/dist/{components → lib/components}/Menubar/index.d.ts +2 -2
- package/dist/{components → lib/components}/Menubar/index.js +2 -2
- package/dist/{components → lib/components}/NavigationMenu/NavigationMenuContent.d.ts +1 -1
- package/dist/{components → lib/components}/NavigationMenu/NavigationMenuContent.js +2 -2
- package/dist/{components → lib/components}/NavigationMenu/NavigationMenuIndicator.js +1 -1
- package/dist/{components → lib/components}/NavigationMenu/NavigationMenuLink.d.ts +1 -1
- package/dist/{components → lib/components}/NavigationMenu/NavigationMenuLink.js +2 -2
- package/dist/{components → lib/components}/NavigationMenu/NavigationMenuList.d.ts +1 -1
- package/dist/{components → lib/components}/NavigationMenu/NavigationMenuList.js +2 -2
- package/dist/{components → lib/components}/NavigationMenu/NavigationMenuTrigger.d.ts +1 -1
- package/dist/{components → lib/components}/NavigationMenu/NavigationMenuTrigger.js +2 -2
- package/dist/{components → lib/components}/NavigationMenu/NavigationMenuViewport.d.ts +2 -2
- package/dist/{components → lib/components}/NavigationMenu/NavigationMenuViewport.js +2 -2
- package/dist/{components → lib/components}/NavigationMenu/index.d.ts +1 -1
- package/dist/{components → lib/components}/NavigationMenu/index.js +1 -1
- package/dist/{components → lib/components}/PieChart/index.js +2 -2
- package/dist/{components → lib/components}/Popover/PopoverClose.d.ts +1 -1
- package/dist/{components → lib/components}/Popover/PopoverClose.js +1 -1
- package/dist/{components → lib/components}/Popover/PopoverContent.d.ts +1 -1
- package/dist/{components → lib/components}/Popover/PopoverContent.js +2 -2
- package/dist/{components → lib/components}/Progress/index.d.ts +1 -1
- package/dist/{components → lib/components}/Progress/index.js +2 -2
- package/dist/{components → lib/components}/RadarChart/index.d.ts +1 -1
- package/dist/{components → lib/components}/RadarChart/index.js +2 -2
- package/dist/{components → lib/components}/Radio/index.d.ts +1 -1
- package/dist/{components → lib/components}/Radio/index.js +2 -2
- package/dist/{components → lib/components}/RadioCards/RadioCardsItem.d.ts +1 -1
- package/dist/{components → lib/components}/RadioCards/RadioCardsItem.js +1 -1
- package/dist/{components → lib/components}/RadioCards/index.js +2 -2
- package/dist/{components → lib/components}/RadioGroup/RadioGroupItem.js +1 -1
- package/dist/{components → lib/components}/RadioGroup/index.d.ts +1 -1
- package/dist/{components → lib/components}/RadioGroup/index.js +1 -1
- package/dist/{components → lib/components}/SegmentedControl/SegmentedControlItem.js +1 -1
- package/dist/{components → lib/components}/SegmentedControl/index.d.ts +1 -1
- package/dist/{components → lib/components}/SegmentedControl/index.js +2 -2
- package/dist/{components → lib/components}/Select/index.d.ts +2 -2
- package/dist/{components → lib/components}/Select/index.js +2 -2
- package/dist/{components → lib/components}/Separator/index.js +2 -2
- package/dist/{components → lib/components}/Skeleton/index.d.ts +2 -2
- package/dist/{components → lib/components}/Skeleton/index.js +2 -2
- package/dist/{components → lib/components}/Slider/index.d.ts +2 -2
- package/dist/{components → lib/components}/Slider/index.js +2 -2
- package/dist/{components → lib/components}/Spinner/index.d.ts +1 -1
- package/dist/{components → lib/components}/Spinner/index.js +2 -2
- package/dist/{components → lib/components}/TabNav/index.js +1 -1
- package/dist/{components → lib/components}/Table/index.d.ts +2 -2
- package/dist/{components → lib/components}/Table/index.js +2 -2
- package/dist/{components → lib/components}/Tabs/index.d.ts +1 -1
- package/dist/{components → lib/components}/Tabs/index.js +2 -2
- package/dist/{components → lib/components}/TextArea/index.d.ts +2 -2
- package/dist/{components → lib/components}/TextArea/index.js +2 -2
- package/dist/{components → lib/components}/TextField/index.d.ts +2 -2
- package/dist/{components → lib/components}/TextField/index.js +2 -2
- package/dist/{components → lib/components}/Toast/ToastActionButton.d.ts +2 -2
- package/dist/{components → lib/components}/Toast/ToastActionButton.js +3 -3
- package/dist/{components → lib/components}/Toast/ToastDescription.d.ts +1 -1
- package/dist/{components → lib/components}/Toast/ToastDescription.js +1 -1
- package/dist/{components → lib/components}/Toast/ToastTitle.d.ts +1 -1
- package/dist/{components → lib/components}/Toast/ToastTitle.js +1 -1
- package/dist/{components → lib/components}/Toast/index.d.ts +1 -1
- package/dist/{components → lib/components}/Toast/index.js +2 -2
- package/dist/{components → lib/components}/Toggle/ToggleWithText.d.ts +2 -2
- package/dist/{components → lib/components}/Toggle/ToggleWithText.js +3 -3
- package/dist/{components → lib/components}/Toggle/index.d.ts +2 -2
- package/dist/{components → lib/components}/Toggle/index.js +2 -2
- package/dist/{components → lib/components}/ToggleGroup/index.d.ts +1 -1
- package/dist/{components → lib/components}/ToggleGroup/index.js +2 -2
- package/dist/{components → lib/components}/ToggleGroup/toggleGroupItem.d.ts +1 -1
- package/dist/{components → lib/components}/ToggleGroup/toggleGroupItem.js +2 -2
- package/dist/{components → lib/components}/ToggleSwitch/index.d.ts +1 -1
- package/dist/{components → lib/components}/ToggleSwitch/index.js +3 -3
- package/dist/{components → lib/components}/Tooltip/index.d.ts +4 -4
- package/dist/{components → lib/components}/Tooltip/index.js +2 -2
- package/dist/{constants.js → lib/constants.js} +1 -1
- package/package.json +5 -24
- /package/dist/{Typography → lib/Typography}/index.d.ts +0 -0
- /package/dist/{Typography → lib/Typography}/index.js +0 -0
- /package/dist/{color → lib/color}/alpha.d.ts +0 -0
- /package/dist/{color → lib/color}/alpha.js +0 -0
- /package/dist/{color → lib/color}/constants.js +0 -0
- /package/dist/{color → lib/color}/dark.d.ts +0 -0
- /package/dist/{color → lib/color}/dark.js +0 -0
- /package/dist/{color → lib/color}/krdsColors.d.ts +0 -0
- /package/dist/{color → lib/color}/krdsColors.js +0 -0
- /package/dist/{color → lib/color}/light.d.ts +0 -0
- /package/dist/{color → lib/color}/light.js +0 -0
- /package/dist/{components → lib/components}/AlertDialog/AlertDialogDescription.d.ts +0 -0
- /package/dist/{components → lib/components}/AlertDialog/AlertDialogTitle.d.ts +0 -0
- /package/dist/{components → lib/components}/AlertDialog/index.js +0 -0
- /package/dist/{components → lib/components}/AspectRatio/index.d.ts +0 -0
- /package/dist/{components → lib/components}/Callout/CalloutIcon.d.ts +0 -0
- /package/dist/{components → lib/components}/Callout/CalloutText.d.ts +0 -0
- /package/dist/{components → lib/components}/ContextMenu/ContextMenuCheckboxItem.d.ts +0 -0
- /package/dist/{components → lib/components}/ContextMenu/ContextMenuGroup.d.ts +0 -0
- /package/dist/{components → lib/components}/ContextMenu/ContextMenuGroup.js +0 -0
- /package/dist/{components → lib/components}/ContextMenu/ContextMenuLabel.d.ts +0 -0
- /package/dist/{components → lib/components}/ContextMenu/ContextMenuRadioGroup.d.ts +0 -0
- /package/dist/{components → lib/components}/ContextMenu/ContextMenuRadioGroup.js +0 -0
- /package/dist/{components → lib/components}/ContextMenu/ContextMenuRadioItem.d.ts +0 -0
- /package/dist/{components → lib/components}/ContextMenu/ContextMenuSeparator.d.ts +0 -0
- /package/dist/{components → lib/components}/ContextMenu/ContextMenuSubTrigger.d.ts +0 -0
- /package/dist/{components → lib/components}/ContextMenu/ContextMenuTrigger.d.ts +0 -0
- /package/dist/{components → lib/components}/ContextMenu/index.js +0 -0
- /package/dist/{components → lib/components}/DataList/DataListItem.d.ts +0 -0
- /package/dist/{components → lib/components}/DataList/index.d.ts +0 -0
- /package/dist/{components → lib/components}/Dialog/DialogDescription.d.ts +0 -0
- /package/dist/{components → lib/components}/Dialog/DialogSlot.d.ts +0 -0
- /package/dist/{components → lib/components}/Dialog/DialogTitle.d.ts +0 -0
- /package/dist/{components → lib/components}/Dialog/DialogTrigger.d.ts +0 -0
- /package/dist/{components → lib/components}/Dialog/DialogTrigger.js +0 -0
- /package/dist/{components → lib/components}/Dialog/index.d.ts +0 -0
- /package/dist/{components → lib/components}/Dialog/index.js +0 -0
- /package/dist/{components → lib/components}/DoughnutChart/index.d.ts +0 -0
- /package/dist/{components → lib/components}/DropdownMenu/DropdonMenuRadioGroup.d.ts +0 -0
- /package/dist/{components → lib/components}/DropdownMenu/DropdonMenuRadioGroup.js +0 -0
- /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuCheckboxItem.d.ts +0 -0
- /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuLable.d.ts +0 -0
- /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuRadioItem.d.ts +0 -0
- /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuSeparator.d.ts +0 -0
- /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuSub.d.ts +0 -0
- /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuSub.js +0 -0
- /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuSubTrigger.d.ts +0 -0
- /package/dist/{components → lib/components}/DropdownMenu/index.d.ts +0 -0
- /package/dist/{components → lib/components}/DropdownMenu/index.js +0 -0
- /package/dist/{components → lib/components}/HoverCard/HoverCardTrigger.d.ts +0 -0
- /package/dist/{components → lib/components}/HoverCard/HoverCardTrigger.js +0 -0
- /package/dist/{components → lib/components}/HoverCard/index.d.ts +0 -0
- /package/dist/{components → lib/components}/HoverCard/index.js +0 -0
- /package/dist/{components → lib/components}/Menubar/MenubarCheckboxItem.d.ts +0 -0
- /package/dist/{components → lib/components}/Menubar/MenubarMenu.d.ts +0 -0
- /package/dist/{components → lib/components}/Menubar/MenubarMenu.js +0 -0
- /package/dist/{components → lib/components}/Menubar/MenubarRadioGroup.d.ts +0 -0
- /package/dist/{components → lib/components}/Menubar/MenubarRadioGroup.js +0 -0
- /package/dist/{components → lib/components}/Menubar/MenubarRadioItem.d.ts +0 -0
- /package/dist/{components → lib/components}/Menubar/MenubarSeparator.d.ts +0 -0
- /package/dist/{components → lib/components}/Menubar/MenubarSub.d.ts +0 -0
- /package/dist/{components → lib/components}/Menubar/MenubarSub.js +0 -0
- /package/dist/{components → lib/components}/Menubar/MenubarSubTrigger.d.ts +0 -0
- /package/dist/{components → lib/components}/NavigationMenu/NavigationMenuIndicator.d.ts +0 -0
- /package/dist/{components → lib/components}/NavigationMenu/NavigationMenuItem.d.ts +0 -0
- /package/dist/{components → lib/components}/NavigationMenu/NavigationMenuItem.js +0 -0
- /package/dist/{components → lib/components}/PieChart/index.d.ts +0 -0
- /package/dist/{components → lib/components}/Popover/PopoverTrigger.d.ts +0 -0
- /package/dist/{components → lib/components}/Popover/PopoverTrigger.js +0 -0
- /package/dist/{components → lib/components}/Popover/index.d.ts +0 -0
- /package/dist/{components → lib/components}/Popover/index.js +0 -0
- /package/dist/{components → lib/components}/RadioCards/index.d.ts +0 -0
- /package/dist/{components → lib/components}/RadioGroup/RadioGroupItem.d.ts +0 -0
- /package/dist/{components → lib/components}/ScrollArea/index.d.ts +0 -0
- /package/dist/{components → lib/components}/ScrollArea/index.js +0 -0
- /package/dist/{components → lib/components}/SegmentedControl/SegmentedControlItem.d.ts +0 -0
- /package/dist/{components → lib/components}/Separator/index.d.ts +0 -0
- /package/dist/{components → lib/components}/TabNav/index.d.ts +0 -0
- /package/dist/{components → lib/components}/index.d.ts +0 -0
- /package/dist/{components → lib/components}/index.js +0 -0
- /package/dist/{constants.d.ts → lib/constants.d.ts} +0 -0
- /package/dist/{index.d.ts → lib/index.d.ts} +0 -0
- /package/dist/{index.js → lib/index.js} +0 -0
- /package/dist/{types.d.ts → lib/types.d.ts} +0 -0
- /package/dist/{types.js → lib/types.js} +0 -0
- /package/dist/{utils → lib/utils}/utils.d.ts +0 -0
- /package/dist/{utils → 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 'types';
|
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 'utils/utils';
|
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 'utils/utils';
|
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 'types';
|
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 'utils/utils';
|
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 'types';
|
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 'utils/utils';
|
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 'types';
|
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 'types';
|
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 'types';
|
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 'types';
|
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 'utils/utils';
|
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 'types';
|
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 'utils/utils';
|
28
|
-
import Button from 'components/Button';
|
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 'types';
|
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 'utils/utils';
|
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 'types';
|
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 'utils/utils';
|
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 'utils/utils';
|
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 'types';
|
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 'types';
|
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 'types';
|
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 'types';
|
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 'Typography/Text';
|
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 'types';
|
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 'utils/utils';
|
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 'color/constants';
|
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/package.json
CHANGED
@@ -1,37 +1,18 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lotte-innovate/ui-component-test",
|
3
3
|
"description": "Lotte UI Library",
|
4
|
-
"version": "0.0.
|
4
|
+
"version": "0.0.19",
|
5
5
|
"private": false,
|
6
6
|
"type": "module",
|
7
7
|
"files": [
|
8
|
-
"dist/
|
9
|
-
"dist/components",
|
10
|
-
"dist/Typography",
|
11
|
-
"dist/utils",
|
12
|
-
"dist/constants.d.ts",
|
13
|
-
"dist/constants.js",
|
14
|
-
"dist/index.d.ts",
|
15
|
-
"dist/index.js",
|
16
|
-
"dist/types.d.ts",
|
17
|
-
"dist/types.js"
|
8
|
+
"dist/lib"
|
18
9
|
],
|
19
|
-
"main": "dist/index.js",
|
20
|
-
"module": "dist/index.js",
|
21
|
-
"types": "dist/index.d.ts",
|
10
|
+
"main": "dist/lib/index.js",
|
11
|
+
"module": "dist/lib/index.js",
|
12
|
+
"types": "dist/lib/index.d.ts",
|
22
13
|
"publishConfig": {
|
23
14
|
"access": "public"
|
24
15
|
},
|
25
|
-
"exports": {
|
26
|
-
".": {
|
27
|
-
"types": "./dist/index.d.ts",
|
28
|
-
"import": "./dist/index.js"
|
29
|
-
},
|
30
|
-
"./util": {
|
31
|
-
"types": "./dist/util/utils.d.ts",
|
32
|
-
"import": "./dist/util/util.js"
|
33
|
-
}
|
34
|
-
},
|
35
16
|
"browser": "./browser/specific/main.js",
|
36
17
|
"babel": {
|
37
18
|
"presets": [
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|