@lotte-innovate/ui-component-test 0.0.21 → 0.0.24
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/lib/Typography/Header/index.d.ts +2 -2
- package/dist/lib/Typography/Header/index.js +2 -2
- package/dist/lib/Typography/Text/index.d.ts +2 -2
- package/dist/lib/Typography/Text/index.js +2 -2
- package/dist/lib/components/Accordion/index.d.ts +1 -1
- package/dist/lib/components/Accordion/index.js +2 -2
- package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +3 -3
- package/dist/lib/components/AlertDialog/AlertDialogAction.js +2 -2
- package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +3 -3
- package/dist/lib/components/AlertDialog/AlertDialogCancel.js +2 -2
- package/dist/lib/components/AlertDialog/AlertDialogContent.d.ts +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogContent.js +2 -2
- package/dist/lib/components/AlertDialog/AlertDialogDescription.js +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTitle.js +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +3 -3
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +2 -2
- package/dist/lib/components/AlertDialog/index.d.ts +1 -1
- package/dist/lib/components/AspectRatio/index.js +2 -2
- package/dist/lib/components/Avatar/index.d.ts +1 -1
- package/dist/lib/components/Avatar/index.js +2 -2
- package/dist/lib/components/Badge/index.d.ts +3 -3
- package/dist/lib/components/Badge/index.js +2 -2
- package/dist/lib/components/BubbleChart/index.d.ts +1 -1
- package/dist/lib/components/BubbleChart/index.js +2 -2
- package/dist/lib/components/Button/index.d.ts +3 -3
- package/dist/lib/components/Button/index.js +2 -2
- package/dist/lib/components/Callout/CalloutIcon.js +2 -2
- package/dist/lib/components/Callout/CalloutText.js +1 -1
- package/dist/lib/components/Callout/index.d.ts +2 -2
- package/dist/lib/components/Callout/index.js +2 -2
- package/dist/lib/components/Card/index.d.ts +3 -3
- package/dist/lib/components/Card/index.js +2 -2
- package/dist/lib/components/Checkbox/index.d.ts +2 -2
- package/dist/lib/components/Checkbox/index.js +3 -3
- package/dist/lib/components/CheckboxCard/index.d.ts +3 -3
- package/dist/lib/components/CheckboxCard/index.js +4 -4
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +1 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +1 -1
- package/dist/lib/components/CheckboxGroup/index.d.ts +2 -2
- package/dist/lib/components/CheckboxGroup/index.js +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuContent.d.ts +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuContent.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuItem.d.ts +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItem.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuLabel.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.js +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.d.ts +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.js +1 -1
- package/dist/lib/components/ContextMenu/index.d.ts +1 -1
- package/dist/lib/components/DataList/DataListItem.js +2 -2
- package/dist/lib/components/DataList/DataListLabel.d.ts +1 -1
- package/dist/lib/components/DataList/DataListLabel.js +2 -2
- package/dist/lib/components/DataList/DataListValue.d.ts +1 -1
- package/dist/lib/components/DataList/DataListValue.js +2 -2
- package/dist/lib/components/DataList/index.js +1 -1
- package/dist/lib/components/Dialog/DialogAction.d.ts +2 -2
- package/dist/lib/components/Dialog/DialogAction.js +2 -2
- package/dist/lib/components/Dialog/DialogCancel.d.ts +1 -1
- package/dist/lib/components/Dialog/DialogCancel.js +1 -1
- package/dist/lib/components/Dialog/DialogContent.d.ts +1 -1
- package/dist/lib/components/Dialog/DialogContent.js +2 -2
- package/dist/lib/components/Dialog/DialogDescription.js +1 -1
- package/dist/lib/components/Dialog/DialogSlot.js +1 -1
- package/dist/lib/components/Dialog/DialogTitle.js +1 -1
- package/dist/lib/components/DoughnutChart/index.js +2 -2
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +2 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +2 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.js +2 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.js +2 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +2 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +2 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +2 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.js +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +2 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +1 -1
- package/dist/lib/components/HoverCard/HoverCardContent.d.ts +2 -2
- package/dist/lib/components/HoverCard/HoverCardContent.js +2 -2
- package/dist/lib/components/IconButton/index.d.ts +2 -2
- package/dist/lib/components/IconButton/index.js +2 -2
- package/dist/lib/components/Inset/index.d.ts +1 -1
- package/dist/lib/components/Inset/index.js +2 -2
- package/dist/lib/components/Label/index.d.ts +2 -2
- package/dist/lib/components/Label/index.js +2 -2
- package/dist/lib/components/Menubar/MenubarCheckboxItem.js +2 -2
- package/dist/lib/components/Menubar/MenubarContent.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarContent.js +2 -2
- package/dist/lib/components/Menubar/MenubarItem.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarItem.js +2 -2
- package/dist/lib/components/Menubar/MenubarItemIndicator.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarItemIndicator.js +2 -2
- package/dist/lib/components/Menubar/MenubarRadioItem.js +2 -2
- package/dist/lib/components/Menubar/MenubarSeparator.js +1 -1
- package/dist/lib/components/Menubar/MenubarSubContent.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarSubContent.js +2 -2
- package/dist/lib/components/Menubar/MenubarSubTrigger.js +2 -2
- package/dist/lib/components/Menubar/MenubarTrigger.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarTrigger.js +2 -2
- package/dist/lib/components/Menubar/index.d.ts +2 -2
- package/dist/lib/components/Menubar/index.js +2 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +2 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +2 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuList.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuList.js +2 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +2 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +2 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +2 -2
- package/dist/lib/components/NavigationMenu/index.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/index.js +1 -1
- package/dist/lib/components/PieChart/index.js +2 -2
- package/dist/lib/components/Popover/PopoverClose.d.ts +1 -1
- package/dist/lib/components/Popover/PopoverClose.js +1 -1
- package/dist/lib/components/Popover/PopoverContent.d.ts +1 -1
- package/dist/lib/components/Popover/PopoverContent.js +2 -2
- package/dist/lib/components/Progress/index.d.ts +1 -1
- package/dist/lib/components/Progress/index.js +2 -2
- package/dist/lib/components/RadarChart/index.d.ts +1 -1
- package/dist/lib/components/RadarChart/index.js +2 -2
- package/dist/lib/components/Radio/index.d.ts +1 -1
- package/dist/lib/components/Radio/index.js +2 -2
- package/dist/lib/components/RadioCards/RadioCardsItem.d.ts +1 -1
- package/dist/lib/components/RadioCards/RadioCardsItem.js +1 -1
- package/dist/lib/components/RadioCards/index.js +2 -2
- package/dist/lib/components/RadioGroup/RadioGroupItem.js +1 -1
- package/dist/lib/components/RadioGroup/index.d.ts +1 -1
- package/dist/lib/components/RadioGroup/index.js +1 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.js +1 -1
- package/dist/lib/components/SegmentedControl/index.d.ts +1 -1
- package/dist/lib/components/SegmentedControl/index.js +2 -2
- package/dist/lib/components/Select/index.d.ts +2 -2
- package/dist/lib/components/Select/index.js +2 -2
- package/dist/lib/components/Separator/index.js +2 -2
- package/dist/lib/components/Skeleton/index.d.ts +2 -2
- package/dist/lib/components/Skeleton/index.js +2 -2
- package/dist/lib/components/Slider/index.d.ts +2 -2
- package/dist/lib/components/Slider/index.js +2 -2
- package/dist/lib/components/Spinner/index.d.ts +1 -1
- package/dist/lib/components/Spinner/index.js +2 -2
- package/dist/lib/components/TabNav/index.js +1 -1
- package/dist/lib/components/Table/index.d.ts +2 -2
- package/dist/lib/components/Table/index.js +2 -2
- package/dist/lib/components/Tabs/index.d.ts +1 -1
- package/dist/lib/components/Tabs/index.js +2 -2
- package/dist/lib/components/TextArea/index.d.ts +2 -2
- package/dist/lib/components/TextArea/index.js +2 -2
- package/dist/lib/components/TextField/index.d.ts +2 -2
- package/dist/lib/components/TextField/index.js +2 -2
- package/dist/lib/components/Toast/ToastActionButton.d.ts +2 -2
- package/dist/lib/components/Toast/ToastActionButton.js +3 -3
- package/dist/lib/components/Toast/ToastDescription.d.ts +1 -1
- package/dist/lib/components/Toast/ToastDescription.js +1 -1
- package/dist/lib/components/Toast/ToastTitle.d.ts +1 -1
- package/dist/lib/components/Toast/ToastTitle.js +1 -1
- package/dist/lib/components/Toast/index.d.ts +1 -1
- package/dist/lib/components/Toast/index.js +2 -2
- package/dist/lib/components/Toggle/ToggleWithText.d.ts +2 -2
- package/dist/lib/components/Toggle/ToggleWithText.js +3 -3
- package/dist/lib/components/Toggle/index.d.ts +2 -2
- package/dist/lib/components/Toggle/index.js +2 -2
- package/dist/lib/components/ToggleGroup/index.d.ts +1 -1
- package/dist/lib/components/ToggleGroup/index.js +2 -2
- package/dist/lib/components/ToggleGroup/toggleGroupItem.d.ts +1 -1
- package/dist/lib/components/ToggleGroup/toggleGroupItem.js +2 -2
- package/dist/lib/components/ToggleSwitch/index.d.ts +1 -1
- package/dist/lib/components/ToggleSwitch/index.js +3 -3
- package/dist/lib/components/Tooltip/index.d.ts +4 -4
- package/dist/lib/components/Tooltip/index.js +2 -2
- package/dist/lib/constants.js +1 -1
- package/dist/lib/index.d.ts +2 -0
- package/dist/lib/index.js +2 -0
- package/package.json +7 -8
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -2
@@ -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 'lib/constants';
|
27
|
+
import { scalingVariants } from '../../../lib/constants';
|
28
28
|
export * from './SegmentedControlItem';
|
29
|
-
import { cn } from 'lib/utils/utils';
|
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 'lib/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 'lib/utils/utils';
|
28
|
-
import { radiusVariants, selectAppearanceStyle } from 'lib/constants';
|
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 'lib/utils/utils';
|
27
|
-
import { bgColorStyle, scalingVariants } from 'lib/constants';
|
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 'lib/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 'lib/utils/utils';
|
29
|
-
import { radiusVariants } from 'lib/constants';
|
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 'lib/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 'lib/utils/utils';
|
28
|
-
import { radiusVariants } from 'lib/constants';
|
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 'lib/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 'lib/utils/utils';
|
28
|
-
import { scalingVariants } from 'lib/constants';
|
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 'lib/utils/utils';
|
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 'lib/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 'lib/utils/utils';
|
28
|
-
import { radiusVariants, scalingVariants } from 'lib/constants';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { radiusVariants, scalingVariants } from '../../../lib/constants';
|
29
29
|
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 'lib/utils/utils';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { weightVariants } from 'lib/constants';
|
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 'lib/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 'lib/utils/utils';
|
28
|
-
import { radiusVariants, scalingVariants } from 'lib/constants';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { radiusVariants, scalingVariants } from '../../../lib/constants';
|
29
29
|
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 'lib/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 'lib/utils/utils';
|
28
|
-
import { bgColorStyle, radiusVariants } from 'lib/constants';
|
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 'lib/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 'lib/utils/utils';
|
28
|
-
import Button from 'lib/components/Button';
|
29
|
-
import { appearanceStyle, radiusVariants, scalingVariants } from 'lib/constants';
|
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 'lib/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 'lib/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 'lib/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 'lib/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 'lib/utils/utils';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
29
|
-
import { scalingVariants } from 'lib/constants';
|
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 'lib/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 'lib/constants';
|
28
|
-
import { scalingVariants } from 'lib/constants';
|
29
|
-
import { cn } from 'lib/utils/utils';
|
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 'lib/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 'lib/constants';
|
28
|
-
import { cn } from 'lib/utils/utils';
|
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 'lib/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 'lib/constants';
|
28
|
-
import { cn } from 'lib/utils/utils';
|
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 'lib/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 'lib/constants';
|
28
|
-
import { cn } from 'lib/utils/utils';
|
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 'lib/utils/utils';
|
27
|
-
import { radiusVariants, scalingVariants } from 'lib/constants';
|
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 'lib/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 'lib/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 'lib/utils/utils';
|
29
|
-
import { primaryColorStyle, radiusVariants, scalingOptions, weightVariants } from 'lib/constants';
|
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),
|
package/dist/lib/constants.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ColorStyle, DarkColorStyle, colorOptions } from 'lib/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,17 +1,15 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lotte-innovate/ui-component-test",
|
3
3
|
"description": "Lotte UI Library",
|
4
|
-
"version": "0.0.
|
4
|
+
"version": "0.0.24",
|
5
5
|
"private": false,
|
6
6
|
"type": "module",
|
7
7
|
"files": [
|
8
|
-
"dist/lib"
|
9
|
-
"dist/index.js",
|
10
|
-
"dist/index.d.ts"
|
8
|
+
"dist/lib"
|
11
9
|
],
|
12
|
-
"main": "dist/index.js",
|
13
|
-
"module": "dist/index.js",
|
14
|
-
"types": "dist/index.d.ts",
|
10
|
+
"main": "dist/lib/index.js",
|
11
|
+
"module": "dist/lib/index.js",
|
12
|
+
"types": "dist/lib/index.d.ts",
|
15
13
|
"publishConfig": {
|
16
14
|
"access": "public"
|
17
15
|
},
|
@@ -42,7 +40,7 @@
|
|
42
40
|
"lint": "next lint",
|
43
41
|
"storybook": "cross-env NODE_OPTIONS='--max-old-space-size=8192' storybook dev -p 6006",
|
44
42
|
"build-storybook": "storybook build",
|
45
|
-
"publish:npm": "rimraf dist && mkdir dist && tsc",
|
43
|
+
"publish:npm": "rimraf dist && mkdir dist && tsc && tsc-alias",
|
46
44
|
"chromatic": "cross-env npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN"
|
47
45
|
},
|
48
46
|
"dependencies": {
|
@@ -117,6 +115,7 @@
|
|
117
115
|
"rimraf": "^6.0.1",
|
118
116
|
"storybook": "^8.2.6",
|
119
117
|
"tailwindcss": "^3.3.0",
|
118
|
+
"tsc-alias": "^1.8.10",
|
120
119
|
"typescript": "^5"
|
121
120
|
}
|
122
121
|
}
|
package/dist/index.d.ts
DELETED
package/dist/index.js
DELETED