@lotte-innovate/ui-component-test 0.0.34 → 0.0.36
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +163 -163
- package/dist/lib/Typography/Header/index.d.ts +1 -1
- package/dist/lib/Typography/Text/index.d.ts +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +2 -2
- package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +2 -2
- package/dist/lib/components/AlertDialog/AlertDialogContent.d.ts +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +2 -2
- package/dist/lib/components/Avatar/index.d.ts +1 -1
- package/dist/lib/components/Badge/index.d.ts +2 -2
- package/dist/lib/components/Button/index.d.ts +2 -2
- package/dist/lib/components/Callout/index.d.ts +1 -1
- package/dist/lib/components/Card/index.d.ts +2 -2
- package/dist/lib/components/Checkbox/index.d.ts +1 -1
- package/dist/lib/components/CheckboxCard/index.d.ts +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuContent.d.ts +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItem.d.ts +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.d.ts +1 -1
- package/dist/lib/components/DataList/DataListLabel.d.ts +1 -1
- package/dist/lib/components/DataList/DataListValue.d.ts +1 -1
- package/dist/lib/components/Dialog/DialogAction.d.ts +1 -1
- package/dist/lib/components/Dialog/DialogCancel.d.ts +1 -1
- package/dist/lib/components/Dialog/DialogContent.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +1 -1
- package/dist/lib/components/HoverCard/HoverCardContent.d.ts +2 -2
- package/dist/lib/components/IconButton/index.d.ts +1 -1
- package/dist/lib/components/Inset/index.d.ts +1 -1
- package/dist/lib/components/Label/index.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarContent.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarItem.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarItemIndicator.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarSubContent.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarTrigger.d.ts +1 -1
- package/dist/lib/components/Menubar/index.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuList.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +2 -2
- package/dist/lib/components/Popover/PopoverClose.d.ts +1 -1
- package/dist/lib/components/Popover/PopoverContent.d.ts +1 -1
- package/dist/lib/components/Progress/index.d.ts +1 -1
- package/dist/lib/components/RadioCards/RadioCardsItem.d.ts +1 -1
- package/dist/lib/components/Select/index.d.ts +1 -1
- package/dist/lib/components/Skeleton/index.d.ts +1 -1
- package/dist/lib/components/Slider/index.d.ts +1 -1
- package/dist/lib/components/Table/index.d.ts +1 -1
- package/dist/lib/components/Tabs/index.d.ts +1 -1
- package/dist/lib/components/TextArea/index.d.ts +1 -1
- package/dist/lib/components/TextField/index.d.ts +1 -1
- package/dist/lib/components/Toast/ToastActionButton.d.ts +1 -1
- package/dist/lib/components/Toast/index.d.ts +1 -1
- package/dist/lib/components/Toggle/ToggleWithText.d.ts +1 -1
- package/dist/lib/components/Toggle/index.d.ts +1 -1
- package/dist/lib/components/ToggleSwitch/index.d.ts +1 -1
- package/dist/lib/components/Tooltip/index.d.ts +3 -3
- package/dist/tailwind.config.js +6 -6
- package/package.json +124 -125
@@ -5,10 +5,10 @@ export interface HoverCardContentProps extends VariantProps<typeof hoverCardCont
|
|
5
5
|
size?: any;
|
6
6
|
}
|
7
7
|
export declare const hoverCardContentVariants: (props?: ({
|
8
|
-
radius?: "
|
8
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
9
9
|
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
10
10
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
11
|
-
weight?: "
|
11
|
+
weight?: "medium" | "regular" | "semibold" | "bold" | null | undefined;
|
12
12
|
color?: string | null | undefined;
|
13
13
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
14
14
|
export declare const HoverCardContent: React.ForwardRefExoticComponent<Omit<HoverCardTheme.ContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & HoverCardContentProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -6,7 +6,7 @@ export interface IconButtonProps extends VariantProps<typeof iconButtonVariants>
|
|
6
6
|
size?: 'x-small' | 'small' | 'medium' | 'large' | 'x-large';
|
7
7
|
}
|
8
8
|
declare const iconButtonVariants: (props?: ({
|
9
|
-
radius?: "
|
9
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
10
10
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
11
11
|
size?: "small" | "medium" | "large" | "x-small" | "x-large" | null | undefined;
|
12
12
|
color?: string | null | undefined;
|
@@ -3,7 +3,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
3
3
|
export interface InsetProps extends VariantProps<typeof insetVariants> {
|
4
4
|
}
|
5
5
|
declare const insetVariants: (props?: ({
|
6
|
-
radius?: "
|
6
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
7
7
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
8
8
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
9
9
|
export declare const Inset: React.ForwardRefExoticComponent<Omit<import("@radix-ui/themes").InsetProps & React.RefAttributes<HTMLDivElement>, "ref"> & InsetProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -9,7 +9,7 @@ export interface LabelProps extends VariantProps<typeof labeVariants> {
|
|
9
9
|
}
|
10
10
|
declare const labeVariants: (props?: ({
|
11
11
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
12
|
-
weight?: "
|
12
|
+
weight?: "medium" | "regular" | "semibold" | "bold" | null | undefined;
|
13
13
|
size?: "small" | "medium" | "large" | null | undefined;
|
14
14
|
color?: string | null | undefined;
|
15
15
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
export interface MenubarContentProps extends VariantProps<typeof menubarContentVariants> {
|
5
5
|
}
|
6
6
|
export declare const menubarContentVariants: (props?: ({
|
7
|
-
radius?: "
|
7
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
8
8
|
size?: "small" | "medium" | null | undefined;
|
9
9
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
10
10
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -6,7 +6,7 @@ export interface MenubarItemProps extends VariantProps<typeof menubarItemVariant
|
|
6
6
|
shortcut?: string;
|
7
7
|
}
|
8
8
|
export declare const menubarItemVariants: (props?: ({
|
9
|
-
radius?: "
|
9
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
10
10
|
size?: "small" | "medium" | null | undefined;
|
11
11
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
12
12
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
export interface MenubarItemIndicatorProps extends VariantProps<typeof menubarItemIndicatorVariants> {
|
5
5
|
}
|
6
6
|
export declare const menubarItemIndicatorVariants: (props?: ({
|
7
|
-
radius?: "
|
7
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
8
8
|
size?: "small" | "medium" | null | undefined;
|
9
9
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
10
10
|
export declare const MenubarItemIndicator: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarItemIndicatorProps & React.RefAttributes<HTMLSpanElement>, "ref"> & MenubarItemIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
export interface MenubarSubContentProps extends VariantProps<typeof menubarSubContentVariants> {
|
5
5
|
}
|
6
6
|
export declare const menubarSubContentVariants: (props?: ({
|
7
|
-
radius?: "
|
7
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
8
8
|
size?: "small" | "medium" | null | undefined;
|
9
9
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
10
10
|
export declare const MenubarSubContent: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & MenubarSubContentProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -6,7 +6,7 @@ export interface MenubarTriggerProps extends VariantProps<typeof menubarTriggerV
|
|
6
6
|
}
|
7
7
|
export declare const menubarTriggerVariants: (props?: ({
|
8
8
|
size?: "small" | "medium" | null | undefined;
|
9
|
-
radius?: "
|
9
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
10
10
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
11
11
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
12
12
|
export declare const MenubarTrigger: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & MenubarTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
@@ -22,7 +22,7 @@ export interface MenubarProps extends VariantProps<typeof menubarVariants>, Vari
|
|
22
22
|
color?: IColor;
|
23
23
|
}
|
24
24
|
export declare const menubarVariants: (props?: ({
|
25
|
-
radius?: "
|
25
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
26
26
|
size?: "small" | "medium" | null | undefined;
|
27
27
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
28
28
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -5,7 +5,7 @@ export interface NavigationMenuContentProps extends VariantProps<typeof navigati
|
|
5
5
|
isShowIcon?: boolean;
|
6
6
|
}
|
7
7
|
export declare const navigationMenuContentVariants: (props?: ({
|
8
|
-
radius?: "
|
8
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
9
9
|
size?: "small" | "medium" | null | undefined;
|
10
10
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
11
11
|
export declare const NavigationMenuContent: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & NavigationMenuContentProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -7,7 +7,7 @@ export interface NavigationMenuLinkProps extends VariantProps<typeof navigationM
|
|
7
7
|
}
|
8
8
|
export declare const navigationMenuLinkVariants: (props?: ({
|
9
9
|
size?: "small" | "medium" | null | undefined;
|
10
|
-
radius?: "
|
10
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
11
11
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
12
12
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
13
13
|
export declare const NavigationMenuLink: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>, "ref"> & NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
@@ -6,7 +6,7 @@ export interface NavigationMenuListProps extends VariantProps<typeof navigationM
|
|
6
6
|
appearance?: 'ghost' | 'solid';
|
7
7
|
}
|
8
8
|
export declare const navigationMenuListVariants: (props?: ({
|
9
|
-
radius?: "
|
9
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
10
10
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
11
11
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
12
12
|
export declare const NavigationMenuList: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React.RefAttributes<HTMLUListElement>, "ref"> & NavigationMenuListProps & React.RefAttributes<HTMLUListElement>>;
|
@@ -7,7 +7,7 @@ export interface NavigationMenuTriggerProps extends VariantProps<typeof navigati
|
|
7
7
|
}
|
8
8
|
export declare const navigationMenuTriggerVariants: (props?: ({
|
9
9
|
size?: "small" | "medium" | null | undefined;
|
10
|
-
radius?: "
|
10
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
11
11
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
12
12
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
13
13
|
export declare const NavigationMenuTrigger: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & NavigationMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
@@ -4,8 +4,8 @@ import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
export interface NavigationViewportProps extends VariantProps<typeof navigationViewportVariants> {
|
5
5
|
}
|
6
6
|
export declare const navigationViewportVariants: (props?: ({
|
7
|
-
radius?: "
|
8
|
-
weight?: "
|
7
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
8
|
+
weight?: "medium" | "regular" | "semibold" | "bold" | null | undefined;
|
9
9
|
size?: "small" | "medium" | null | undefined;
|
10
10
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
11
11
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -4,6 +4,6 @@ import { Popover as PopoverTheme } from '@radix-ui/themes';
|
|
4
4
|
export interface PopoverCloseProps extends VariantProps<typeof popoverCloseVariants> {
|
5
5
|
}
|
6
6
|
export declare const popoverCloseVariants: (props?: ({
|
7
|
-
radius?: "
|
7
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
8
8
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
9
9
|
export declare const PopoverClose: React.ForwardRefExoticComponent<Omit<PopoverTheme.CloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & PopoverCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
export interface PopoverContentProps extends VariantProps<typeof popoverContentVariants> {
|
5
5
|
}
|
6
6
|
export declare const popoverContentVariants: (props?: ({
|
7
|
-
radius?: "
|
7
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
8
8
|
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
9
9
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
10
10
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -7,7 +7,7 @@ export interface ProgressProps extends VariantProps<typeof progressVariants> {
|
|
7
7
|
appearance?: 'classic' | 'surface' | 'soft';
|
8
8
|
}
|
9
9
|
declare const progressVariants: (props?: ({
|
10
|
-
radius?: "
|
10
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
11
11
|
size?: "small" | "medium" | "large" | null | undefined;
|
12
12
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
13
13
|
color?: string | null | undefined;
|
@@ -4,7 +4,7 @@ import { RadioCards as RadioCardsTheme } from '@radix-ui/themes';
|
|
4
4
|
export interface RadioCardsItemProps extends VariantProps<typeof radioCardsItemVariants> {
|
5
5
|
}
|
6
6
|
export declare const radioCardsItemVariants: (props?: ({
|
7
|
-
radius?: "
|
7
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
8
8
|
size?: "small" | "medium" | "large" | null | undefined;
|
9
9
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
10
10
|
export declare const RadioCardsItem: React.ForwardRefExoticComponent<Omit<RadioCardsTheme.ItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & RadioCardsItemProps & React.RefAttributes<HTMLButtonElement>>;
|
@@ -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?: "none" | "small" | "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>>;
|
@@ -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?: "none" | "small" | "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;
|
@@ -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?: "none" | "small" | "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;
|
@@ -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?: "none" | "small" | "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>>;
|
@@ -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?: "medium" | "regular" | "semibold" | "bold" | 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>>;
|
@@ -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?: "none" | "small" | "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;
|
@@ -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?: "none" | "small" | "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>>;
|
@@ -7,7 +7,7 @@ export interface ToastActionButtonProps extends VariantProps<typeof toastActionB
|
|
7
7
|
appearance?: IAppearance;
|
8
8
|
}
|
9
9
|
export declare const toastActionButtonVariants: (props?: ({
|
10
|
-
radius?: "
|
10
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
11
11
|
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
12
12
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
13
13
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -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?: "none" | "small" | "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;
|
@@ -8,7 +8,7 @@ export interface ToggleWithTextProps extends VariantProps<typeof toggleWithTextV
|
|
8
8
|
size?: 'small' | 'medium' | 'large';
|
9
9
|
}
|
10
10
|
declare const toggleWithTextVariants: (props?: ({
|
11
|
-
radius?: "
|
11
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
12
12
|
size?: "small" | "medium" | "large" | null | undefined;
|
13
13
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
14
14
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -8,7 +8,7 @@ export interface ToggleProps extends VariantProps<typeof toggleVariants> {
|
|
8
8
|
appearance?: IAppearance;
|
9
9
|
}
|
10
10
|
declare const toggleVariants: (props?: ({
|
11
|
-
radius?: "
|
11
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
12
12
|
size?: "small" | "medium" | "large" | null | undefined;
|
13
13
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
14
14
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -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?: "none" | "small" | "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>>;
|
@@ -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 | "length" | "toString" | "toLocaleString" | "pop" | "push" | "concat" | "join" | "reverse" | "shift" | "slice" | "sort" | "splice" | "unshift" | "indexOf" | "lastIndexOf" | "every" | "some" | "forEach" | "map" | "filter" | "reduce" | "reduceRight" | "find" | "findIndex" | "fill" | "copyWithin" | "entries" | "keys" | "values" | "includes" | "flatMap" | "flat" | "at" | "findLast" | "findLastIndex" | "toReversed" | "toSorted" | "toSpliced" | "with" | null | undefined;
|
15
|
+
weight?: "medium" | "regular" | "semibold" | "bold" | null | undefined;
|
16
|
+
radius?: "none" | "small" | "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>>;
|
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 './
|
22
|
-
import * as darkColors from './
|
23
|
-
import * as alphaColors from './
|
24
|
-
import { colorOptions, alphaColorOptions, darkColorOptions } from './
|
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';
|
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}',
|
67
69
|
'./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),
|