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