@lotte-innovate/ui-component-test 0.1.43 → 0.1.45
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +133 -133
- package/dist/globals.css +4 -4
- package/dist/lib/components/BarChart/index.d.ts +2 -1
- package/dist/lib/components/BubbleChart/index.d.ts +2 -1
- package/dist/lib/components/Dialog/DialogRoot.d.ts +1 -1
- package/dist/lib/components/Dialog/index.d.ts +1 -1
- package/dist/lib/components/DoughnutChart/index.d.ts +2 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/index.d.ts +1 -1
- package/dist/lib/components/HoverCard/HoverCardRoot.d.ts +1 -1
- package/dist/lib/components/HoverCard/index.d.ts +1 -1
- package/dist/lib/components/LineChart/index.d.ts +2 -1
- package/dist/lib/components/Menubar/MenubarRoot.js +1 -1
- package/dist/lib/components/Menubar/MenubarTrigger.js +1 -1
- package/dist/lib/components/PieChart/index.d.ts +2 -1
- package/dist/lib/components/Popover/PopoverRoot.d.ts +1 -1
- package/dist/lib/components/Popover/index.d.ts +1 -1
- package/dist/lib/components/RadarChart/index.d.ts +2 -1
- package/dist/tailwind.config.js +5 -2
- package/package.json +139 -131
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
import { VariantProps } from 'class-variance-authority';
|
2
3
|
import { IChartDatasets, IChartLegend, IChartTitle } from '../../../lib/types';
|
3
4
|
export interface BorderRadius {
|
@@ -31,7 +32,7 @@ declare const barChartVariants: (props?: ({
|
|
31
32
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
32
33
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
33
34
|
declare const BarChart: {
|
34
|
-
({ className, title, datasets, labels, scaling, legend, width, height, indexAxis, appearance, isColorMixed, ...props }: BarChartProps): import("react
|
35
|
+
({ className, title, datasets, labels, scaling, legend, width, height, indexAxis, appearance, isColorMixed, ...props }: BarChartProps): import("react").JSX.Element;
|
35
36
|
displayName: string;
|
36
37
|
};
|
37
38
|
export default BarChart;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { VariantProps } from 'class-variance-authority';
|
2
3
|
import { IChartDataLabels, IChartDatasets, IChartLegend, IChartTitle } from '../../../lib/types';
|
3
4
|
type IBubbleChartDataset = IChartDatasets & {
|
@@ -22,7 +23,7 @@ declare const bubbleChartVariants: (props?: ({
|
|
22
23
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
23
24
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
24
25
|
export declare const BubbleChart: {
|
25
|
-
({ className, title, legend, datalabels, datasets, scaling, width, height, appearance, isColorMixed, ...props }: BubbleChartProps):
|
26
|
+
({ className, title, legend, datalabels, datasets, scaling, width, height, appearance, isColorMixed, ...props }: BubbleChartProps): React.JSX.Element;
|
26
27
|
displayName: string;
|
27
28
|
};
|
28
29
|
export default BubbleChart;
|
@@ -10,6 +10,6 @@ export interface DialogProps extends VariantProps<typeof dialogContentVariants>,
|
|
10
10
|
}
|
11
11
|
export declare const DialogContext: React.Context<DialogProps>;
|
12
12
|
export declare const DialogRoot: {
|
13
|
-
({ children, radius, size, scaling, color, ...props }: ComponentPropsWithoutRef<typeof DialogTheme.Root> & DialogProps):
|
13
|
+
({ children, radius, size, scaling, color, ...props }: ComponentPropsWithoutRef<typeof DialogTheme.Root> & DialogProps): React.JSX.Element;
|
14
14
|
displayName: string;
|
15
15
|
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
declare const Dialog: {
|
3
3
|
Root: {
|
4
|
-
({ children, radius, size, scaling, color, ...props }: import("@radix-ui/themes/dist/cjs/components/dialog").RootProps & import("./DialogRoot").DialogProps): import("react
|
4
|
+
({ children, radius, size, scaling, color, ...props }: import("@radix-ui/themes/dist/cjs/components/dialog").RootProps & import("./DialogRoot").DialogProps): import("react").JSX.Element;
|
5
5
|
displayName: string;
|
6
6
|
};
|
7
7
|
Trigger: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/dialog").TriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { VariantProps } from 'class-variance-authority';
|
2
3
|
import { IChartDataLabels, IChartDatasets, IChartLegend, IChartTitle } from '../../../lib/types';
|
3
4
|
export interface DoughnutChartProps extends VariantProps<typeof doughnutVariants> {
|
@@ -16,7 +17,7 @@ declare const doughnutVariants: (props?: ({
|
|
16
17
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
17
18
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
18
19
|
declare const DoughnutChart: {
|
19
|
-
({ labels, title, legend, datasets, datalabels, scaling, className, appearance, isColorMixed, ...rest }: DoughnutChartProps):
|
20
|
+
({ labels, title, legend, datasets, datalabels, scaling, className, appearance, isColorMixed, ...rest }: DoughnutChartProps): React.JSX.Element;
|
20
21
|
displayName: string;
|
21
22
|
};
|
22
23
|
export default DoughnutChart;
|
@@ -10,6 +10,6 @@ export interface DropdownMenuProps extends VariantProps<typeof dropdownMenuConte
|
|
10
10
|
}
|
11
11
|
export declare const DropdownMenuContext: React.Context<DropdownMenuProps>;
|
12
12
|
export declare const DropdownMenuRoot: {
|
13
|
-
({ children, radius, size, scaling, color, appearance, ...props }: ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Root> & DropdownMenuProps):
|
13
|
+
({ children, radius, size, scaling, color, appearance, ...props }: ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Root> & DropdownMenuProps): React.JSX.Element;
|
14
14
|
displayName: string;
|
15
15
|
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
declare const DropdownMenu: {
|
3
3
|
Root: {
|
4
|
-
({ children, radius, size, scaling, color, appearance, ...props }: import("@radix-ui/react-dropdown-menu").DropdownMenuProps & import("./DropdownMenuRoot").DropdownMenuProps): import("react
|
4
|
+
({ children, radius, size, scaling, color, appearance, ...props }: import("@radix-ui/react-dropdown-menu").DropdownMenuProps & import("./DropdownMenuRoot").DropdownMenuProps): import("react").JSX.Element;
|
5
5
|
displayName: string;
|
6
6
|
};
|
7
7
|
Trigger: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-dropdown-menu").DropdownMenuTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("./DropdownMenuTrigger").DropdownMenuTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
@@ -6,6 +6,6 @@ export interface HoverCardProps extends VariantProps<typeof hoverCardContentVari
|
|
6
6
|
}
|
7
7
|
export declare const HoverCardContext: React.Context<HoverCardProps>;
|
8
8
|
export declare const HoverCardRoot: {
|
9
|
-
({ children, radius, size, scaling, weight, color, ...props }: ComponentPropsWithoutRef<typeof HoverCardTheme.Root> & HoverCardProps):
|
9
|
+
({ children, radius, size, scaling, weight, color, ...props }: ComponentPropsWithoutRef<typeof HoverCardTheme.Root> & HoverCardProps): React.JSX.Element;
|
10
10
|
displayName: string;
|
11
11
|
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
declare const HoverCard: {
|
3
3
|
Root: {
|
4
|
-
({ children, radius, size, scaling, weight, color, ...props }: import("@radix-ui/themes/dist/cjs/components/hover-card").RootProps & import("./HoverCardRoot").HoverCardProps): import("react
|
4
|
+
({ children, radius, size, scaling, weight, color, ...props }: import("@radix-ui/themes/dist/cjs/components/hover-card").RootProps & import("./HoverCardRoot").HoverCardProps): import("react").JSX.Element;
|
5
5
|
displayName: string;
|
6
6
|
};
|
7
7
|
Trigger: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/hover-card").TriggerProps & import("react").RefAttributes<HTMLAnchorElement>, "ref"> & import("react").RefAttributes<HTMLAnchorElement>>;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
import { VariantProps } from 'class-variance-authority';
|
2
3
|
import { IChartDatasets, IChartLegend, IChartTitle } from '../../../lib/types';
|
3
4
|
export interface BorderRadius {
|
@@ -37,7 +38,7 @@ declare const lineChartVariants: (props?: ({
|
|
37
38
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
38
39
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
39
40
|
declare const LineChart: {
|
40
|
-
({ className, title, datasets, labels, scaling, legend, width, height, indexAxis, appearance, scales, isColorMixed, ...props }: LineChartProps): import("react
|
41
|
+
({ className, title, datasets, labels, scaling, legend, width, height, indexAxis, appearance, scales, isColorMixed, ...props }: LineChartProps): import("react").JSX.Element;
|
41
42
|
displayName: string;
|
42
43
|
};
|
43
44
|
export default LineChart;
|
@@ -54,7 +54,7 @@ export var useMenubarContext = function () {
|
|
54
54
|
export var MenubarRoot = forwardRef(function (_a, ref) {
|
55
55
|
var children = _a.children, className = _a.className, radius = _a.radius, scaling = _a.scaling, size = _a.size, _b = _a.color, color = _b === void 0 ? 'red' : _b, _c = _a.appearance, appearance = _c === void 0 ? 'ghost' : _c, _d = _a.itemAppearance, itemAppearance = _d === void 0 ? 'solid' : _d, props = __rest(_a, ["children", "className", "radius", "scaling", "size", "color", "appearance", "itemAppearance"]);
|
56
56
|
var contextValue = useMemo(function () { return ({ radius: radius, size: size, scaling: scaling, color: color, appearance: appearance, itemAppearance: itemAppearance }); }, [radius, size, scaling, color, appearance, itemAppearance]);
|
57
|
-
var menuClassName = cn(menubarVariants({ radius: radius, scaling: scaling, size: size }), appearance === 'solid' && "bg-".concat(color, "-9 dark:bg-$").concat(color, "Dark-9"), className);
|
57
|
+
var menuClassName = cn(menubarVariants({ radius: radius, scaling: scaling, size: size }), appearance === 'solid' && "bg-".concat(color, "-9 dark:bg-$").concat(color, "Dark-9"), 'w-fit', className);
|
58
58
|
return (_jsx(MenubarContext.Provider, { value: contextValue, children: _jsx(MenubarPrimitive.Root, __assign({ ref: ref, className: menuClassName }, props, { children: children })) }));
|
59
59
|
});
|
60
60
|
MenubarRoot.displayName = 'Menubar.Root';
|
@@ -27,7 +27,7 @@ import { cva } from 'class-variance-authority';
|
|
27
27
|
import { cn } from '../../../lib/utils/utils';
|
28
28
|
import { appearanceStyle, scalingVariants } from '../../../lib/constants';
|
29
29
|
import { useMenubarContext } from './MenubarRoot';
|
30
|
-
export var menubarTriggerVariants = cva("flex items-center justify-between gap-[2px] outline-none select-none leading-none py-1 px-3
|
30
|
+
export var menubarTriggerVariants = cva("flex items-center justify-between gap-[2px] outline-none select-none leading-none py-1 px-3 font-medium", {
|
31
31
|
variants: {
|
32
32
|
size: {
|
33
33
|
small: 'text-xs',
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { VariantProps } from 'class-variance-authority';
|
2
3
|
import { IChartDataLabels, IChartDatasets, IChartLegend, IChartTitle } from '../../../lib/types';
|
3
4
|
export interface PieChartProps extends VariantProps<typeof PieVariants> {
|
@@ -16,7 +17,7 @@ declare const PieVariants: (props?: ({
|
|
16
17
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
17
18
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
18
19
|
declare const PieChart: {
|
19
|
-
({ labels, title, legend, datasets, datalabels, scaling, className, appearance, isColorMixed, ...rest }: PieChartProps):
|
20
|
+
({ labels, title, legend, datasets, datalabels, scaling, className, appearance, isColorMixed, ...rest }: PieChartProps): React.JSX.Element;
|
20
21
|
displayName: string;
|
21
22
|
};
|
22
23
|
export default PieChart;
|
@@ -7,6 +7,6 @@ export interface PopoverProps extends VariantProps<typeof popoverContentVariants
|
|
7
7
|
}
|
8
8
|
export declare const PopoverContext: React.Context<PopoverProps>;
|
9
9
|
export declare const PopoverRoot: {
|
10
|
-
({ children, radius, size, scaling, ...props }: ComponentPropsWithoutRef<typeof PopoverTheme.Root> & PopoverProps):
|
10
|
+
({ children, radius, size, scaling, ...props }: ComponentPropsWithoutRef<typeof PopoverTheme.Root> & PopoverProps): React.JSX.Element;
|
11
11
|
displayName: string;
|
12
12
|
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
declare const Popover: {
|
3
3
|
Root: {
|
4
|
-
({ children, radius, size, scaling, ...props }: import("@radix-ui/themes/dist/cjs/components/popover").RootProps & import("./PopoverRoot").PopoverProps): import("react
|
4
|
+
({ children, radius, size, scaling, ...props }: import("@radix-ui/themes/dist/cjs/components/popover").RootProps & import("./PopoverRoot").PopoverProps): import("react").JSX.Element;
|
5
5
|
displayName: string;
|
6
6
|
};
|
7
7
|
Trigger: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/popover").TriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { VariantProps } from 'class-variance-authority';
|
2
3
|
import { IChartDataLabels, IChartDatasets, IChartLegend, IChartTitle } from '../../../lib/types';
|
3
4
|
type IRadarChartDataset = IChartDatasets & {
|
@@ -26,7 +27,7 @@ declare const radarChartVariants: (props?: ({
|
|
26
27
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
27
28
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
28
29
|
export declare const RadarChart: {
|
29
|
-
({ className, title, legend, datalabels, datasets, labels, width, height, scaling, appearance, isColorMixed, ...props }: RadarChartProps):
|
30
|
+
({ className, title, legend, datalabels, datasets, labels, width, height, scaling, appearance, isColorMixed, ...props }: RadarChartProps): React.JSX.Element;
|
30
31
|
displayName: string;
|
31
32
|
};
|
32
33
|
export default RadarChart;
|
package/dist/tailwind.config.js
CHANGED
@@ -27,14 +27,16 @@ var darkClasses = [];
|
|
27
27
|
var colorScale = Array.from({ length: 12 }, function (_, i) { return (i + 1).toString(); });
|
28
28
|
var allColorOptions = [colorOptions, alphaColorOptions];
|
29
29
|
var generateClasses = function (colorList, colorScale) {
|
30
|
-
var classPrefixes = ['fill', 'border', 'bg', 'text'];
|
30
|
+
var classPrefixes = ['accent', 'fill', 'border', 'outline', 'bg', 'text'];
|
31
31
|
return colorList.flatMap(function (color) {
|
32
32
|
return colorScale.flatMap(function (scale) { return classPrefixes.map(function (prefix) { return "".concat(prefix, "-").concat(color, "-").concat(scale); }); });
|
33
33
|
});
|
34
34
|
};
|
35
35
|
var generateDarkClasses = function (colorList, colorScale) {
|
36
36
|
var classPrefixes = [
|
37
|
+
'dark:accent',
|
37
38
|
'dark:fill',
|
39
|
+
'dark:outline',
|
38
40
|
'dark:border',
|
39
41
|
'dark:bg',
|
40
42
|
'dark:text',
|
@@ -44,6 +46,7 @@ var generateDarkClasses = function (colorList, colorScale) {
|
|
44
46
|
'dark:active:bg',
|
45
47
|
'dark:active:border',
|
46
48
|
'dark:active:text',
|
49
|
+
'dark:before:checked:bg',
|
47
50
|
'dark:data-[state=on]:bg',
|
48
51
|
'dark:data-[state=open]:bg',
|
49
52
|
'dark:data-[state=on]:text',
|
@@ -66,7 +69,7 @@ var config = {
|
|
66
69
|
'./src/stories/**/*.{js,ts,jsx,tsx,mdx,zip}',
|
67
70
|
'./src/**/*.{js,ts,jsx,tsx,mdx,zip}',
|
68
71
|
],
|
69
|
-
safelist: __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=open]:".concat(cls); }), true), darkClasses, true),
|
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),
|
70
73
|
theme: {
|
71
74
|
extend: {
|
72
75
|
fontFamily: {
|
package/package.json
CHANGED
@@ -1,131 +1,139 @@
|
|
1
|
-
{
|
2
|
-
"name": "@lotte-innovate/ui-component-test",
|
3
|
-
"description": "Lotte UI Library",
|
4
|
-
"version": "0.1.
|
5
|
-
"private": false,
|
6
|
-
"
|
7
|
-
|
8
|
-
"dist/
|
9
|
-
"dist/tailwind.config.
|
10
|
-
"dist/
|
11
|
-
|
12
|
-
|
13
|
-
"
|
14
|
-
"
|
15
|
-
"
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
"
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
"
|
33
|
-
"
|
34
|
-
"
|
35
|
-
"
|
36
|
-
]
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
"
|
45
|
-
"
|
46
|
-
"
|
47
|
-
"
|
48
|
-
"
|
49
|
-
"
|
50
|
-
"
|
51
|
-
"build
|
52
|
-
"
|
53
|
-
|
54
|
-
|
55
|
-
"
|
56
|
-
"
|
57
|
-
"
|
58
|
-
"
|
59
|
-
"
|
60
|
-
|
61
|
-
|
62
|
-
"@
|
63
|
-
"@
|
64
|
-
"@
|
65
|
-
"@radix-ui/
|
66
|
-
"@radix-ui/react-
|
67
|
-
"@radix-ui/react-
|
68
|
-
"@radix-ui/react-
|
69
|
-
"@radix-ui/react-
|
70
|
-
"@radix-ui/react-
|
71
|
-
"@radix-ui/react-
|
72
|
-
"@radix-ui/react-
|
73
|
-
"@radix-ui/react-
|
74
|
-
"@radix-ui/react-
|
75
|
-
"@radix-ui/react-
|
76
|
-
"@radix-ui/
|
77
|
-
"@
|
78
|
-
"@
|
79
|
-
"@
|
80
|
-
"@
|
81
|
-
"
|
82
|
-
"
|
83
|
-
"
|
84
|
-
"
|
85
|
-
"
|
86
|
-
"
|
87
|
-
"
|
88
|
-
"
|
89
|
-
"
|
90
|
-
"
|
91
|
-
"
|
92
|
-
"
|
93
|
-
"
|
94
|
-
"
|
95
|
-
"
|
96
|
-
|
97
|
-
|
98
|
-
"
|
99
|
-
"
|
100
|
-
"
|
101
|
-
"
|
102
|
-
"
|
103
|
-
"
|
104
|
-
|
105
|
-
|
106
|
-
"@
|
107
|
-
"@
|
108
|
-
"@
|
109
|
-
"@
|
110
|
-
"@
|
111
|
-
"@
|
112
|
-
"@storybook
|
113
|
-
"@storybook/
|
114
|
-
"@
|
115
|
-
"@
|
116
|
-
"@
|
117
|
-
"
|
118
|
-
"
|
119
|
-
"
|
120
|
-
"
|
121
|
-
"
|
122
|
-
"
|
123
|
-
"
|
124
|
-
"
|
125
|
-
"
|
126
|
-
"
|
127
|
-
"
|
128
|
-
"
|
129
|
-
"
|
130
|
-
|
131
|
-
|
1
|
+
{
|
2
|
+
"name": "@lotte-innovate/ui-component-test",
|
3
|
+
"description": "Lotte UI Library",
|
4
|
+
"version": "0.1.45",
|
5
|
+
"private": false,
|
6
|
+
"files": [
|
7
|
+
"dist/lib",
|
8
|
+
"dist/tailwind.config.d.ts",
|
9
|
+
"dist/tailwind.config.js",
|
10
|
+
"dist/globals.css"
|
11
|
+
],
|
12
|
+
"main": "dist/cjs/index.js",
|
13
|
+
"module": "dist/esm/index.js",
|
14
|
+
"types": "dist/index.d.ts",
|
15
|
+
"exports": {
|
16
|
+
".": {
|
17
|
+
"import": "./dist/esm/index.js",
|
18
|
+
"require": "./dist/cjs/index.js"
|
19
|
+
}
|
20
|
+
},
|
21
|
+
"publishConfig": {
|
22
|
+
"access": "public"
|
23
|
+
},
|
24
|
+
"browser": "./browser/specific/main.js",
|
25
|
+
"babel": {
|
26
|
+
"presets": [
|
27
|
+
"@babel/preset-react",
|
28
|
+
"@babel/preset-env"
|
29
|
+
]
|
30
|
+
},
|
31
|
+
"browserslist": {
|
32
|
+
"production": [
|
33
|
+
">0.2%",
|
34
|
+
"not dead",
|
35
|
+
"not op_mini all"
|
36
|
+
],
|
37
|
+
"development": [
|
38
|
+
"last 1 chrome version",
|
39
|
+
"last 1 firefox version",
|
40
|
+
"last 1 safari version"
|
41
|
+
]
|
42
|
+
},
|
43
|
+
"scripts": {
|
44
|
+
"dev": "next dev",
|
45
|
+
"lint": "next lint",
|
46
|
+
"prepare": "next build",
|
47
|
+
"start": "next start",
|
48
|
+
"storybook": "cross-env NODE_OPTIONS='--max-old-space-size=8192' storybook dev -p 6006",
|
49
|
+
"chromatic": "cross-env npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN",
|
50
|
+
"compile": "tsc --jsx react-jsx",
|
51
|
+
"build": "next build && npm run compile",
|
52
|
+
"build:css": "npx tailwindcss -i src/app/globals.css -o dist/globals.css --minify",
|
53
|
+
"build-storybook": "storybook build",
|
54
|
+
"build:cjs": "tsc --p ./cjs/tsconfig.json --outDir ./dist/cjs",
|
55
|
+
"build:esm": "tsc --p ./esm/tsconfig.json --outDir ./dist/esm",
|
56
|
+
"clean": "rimraf dist && mkdir dist",
|
57
|
+
"update-tailwind": "node update-tailwind-import.mjs",
|
58
|
+
"build:all": "npm run clean && npm run compile && npm run build:cjs & npm run build:esm && node src/utils/move.mjs && npm run build:css && tsc-alias && npm run update-tailwind",
|
59
|
+
"publish:npm": "npm run build:all && npm publish && node src/utils/post-publish.mjs"
|
60
|
+
},
|
61
|
+
"dependencies": {
|
62
|
+
"@babel/runtime": "^7.24.7",
|
63
|
+
"@babel/runtime-corejs3": "^7.24.7",
|
64
|
+
"@lotte-innovate/lui": "^0.1.7",
|
65
|
+
"@radix-ui/colors": "^3.0.0",
|
66
|
+
"@radix-ui/react-accordion": "^1.2.0",
|
67
|
+
"@radix-ui/react-checkbox": "^1.0.4",
|
68
|
+
"@radix-ui/react-dialog": "^1.1.1",
|
69
|
+
"@radix-ui/react-dropdown-menu": "^2.1.1",
|
70
|
+
"@radix-ui/react-hover-card": "^1.1.1",
|
71
|
+
"@radix-ui/react-icons": "^1.3.0",
|
72
|
+
"@radix-ui/react-label": "^2.1.0",
|
73
|
+
"@radix-ui/react-menubar": "^1.1.1",
|
74
|
+
"@radix-ui/react-navigation-menu": "^1.2.0",
|
75
|
+
"@radix-ui/react-popover": "1.0.7",
|
76
|
+
"@radix-ui/react-radio-group": "^1.1.3",
|
77
|
+
"@radix-ui/react-select": "^2.1.1",
|
78
|
+
"@radix-ui/react-separator": "^1.1.0",
|
79
|
+
"@radix-ui/react-slider": "^1.2.0",
|
80
|
+
"@radix-ui/react-switch": "^1.1.0",
|
81
|
+
"@radix-ui/react-tabs": "^1.1.0",
|
82
|
+
"@radix-ui/react-toast": "^1.2.1",
|
83
|
+
"@radix-ui/react-tooltip": "^1.1.1",
|
84
|
+
"@radix-ui/themes": "^3.1.1",
|
85
|
+
"@stitches/core": "^1.2.8",
|
86
|
+
"@stitches/react": "^1.2.8",
|
87
|
+
"@storybook/addon-a11y": "^8.3.5",
|
88
|
+
"@storybook/addons": "^7.6.17",
|
89
|
+
"chart.js": "^4.4.4",
|
90
|
+
"chartjs-plugin-datalabels": "^2.2.0",
|
91
|
+
"class-variance-authority": "^0.7.0",
|
92
|
+
"clsx": "^2.1.0",
|
93
|
+
"cross-env": "^7.0.3",
|
94
|
+
"dotenv": "^16.4.5",
|
95
|
+
"lucide-react": "^0.364.0",
|
96
|
+
"next": "14.1.4",
|
97
|
+
"react": "^18",
|
98
|
+
"react-chartjs-2": "^5.2.0",
|
99
|
+
"react-dom": "^18",
|
100
|
+
"react-tabs": "^6.0.2",
|
101
|
+
"storybook-addon-deep-controls": "^0.7.1",
|
102
|
+
"storybook-dark-mode": "^4.0.2",
|
103
|
+
"tailwind-merge": "^2.2.2"
|
104
|
+
},
|
105
|
+
"devDependencies": {
|
106
|
+
"@babel/cli": "^7.24.7",
|
107
|
+
"@babel/core": "^7.24.7",
|
108
|
+
"@babel/plugin-transform-runtime": "^7.24.7",
|
109
|
+
"@babel/preset-env": "^7.25.4",
|
110
|
+
"@babel/preset-react": "^7.24.7",
|
111
|
+
"@babel/preset-typescript": "^7.24.7",
|
112
|
+
"@chromatic-com/storybook": "^1.2.25",
|
113
|
+
"@storybook/addon-essentials": "^8.3.5",
|
114
|
+
"@storybook/addon-interactions": "^8.3.5",
|
115
|
+
"@storybook/addon-links": "^8.0.4",
|
116
|
+
"@storybook/addon-styling-webpack": "^1.0.0",
|
117
|
+
"@storybook/blocks": "^8.3.5",
|
118
|
+
"@storybook/nextjs": "^8.3.5",
|
119
|
+
"@storybook/react": "^8.3.5",
|
120
|
+
"@storybook/test": "^8.3.5",
|
121
|
+
"@storybook/theming": "^8.2.4",
|
122
|
+
"@types/node": "^20",
|
123
|
+
"@types/react": "^18",
|
124
|
+
"@types/react-dom": "^18",
|
125
|
+
"autoprefixer": "^10.0.1",
|
126
|
+
"chromatic": "^11.5.4",
|
127
|
+
"eslint": "^8",
|
128
|
+
"eslint-config-next": "14.1.4",
|
129
|
+
"eslint-plugin-storybook": "^0.8.0",
|
130
|
+
"postcss": "^8",
|
131
|
+
"prettier": "^3.3.3",
|
132
|
+
"prettier-plugin-tailwindcss": "^0.6.6",
|
133
|
+
"rimraf": "^6.0.1",
|
134
|
+
"storybook": "^8.3.5",
|
135
|
+
"tailwindcss": "^3.3.0",
|
136
|
+
"tsc-alias": "^1.8.10",
|
137
|
+
"typescript": "^5"
|
138
|
+
}
|
139
|
+
}
|