@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.
@@ -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/jsx-runtime").JSX.Element;
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): import("react/jsx-runtime").JSX.Element;
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): import("react/jsx-runtime").JSX.Element;
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/jsx-runtime").JSX.Element;
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): import("react/jsx-runtime").JSX.Element;
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): import("react/jsx-runtime").JSX.Element;
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/jsx-runtime").JSX.Element;
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): import("react/jsx-runtime").JSX.Element;
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/jsx-runtime").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.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/jsx-runtime").JSX.Element;
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 \n font-medium truncate w-fit", {
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): import("react/jsx-runtime").JSX.Element;
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): import("react/jsx-runtime").JSX.Element;
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/jsx-runtime").JSX.Element;
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): import("react/jsx-runtime").JSX.Element;
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;
@@ -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.43",
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
- "scripts": {
39
- "dev": "next dev",
40
- "lint": "next lint",
41
- "prepare": "next build",
42
- "start": "next start",
43
- "storybook": "cross-env NODE_OPTIONS='--max-old-space-size=8192' storybook dev -p 6006",
44
- "chromatic": "cross-env npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN",
45
- "compile": "tsc --jsx react-jsx",
46
- "build": "next build && npm run compile",
47
- "build:css": "npx tailwindcss -i src/app/globals.css -o dist/globals.css --minify",
48
- "build-storybook": "storybook build",
49
- "clean": "rimraf dist && mkdir dist",
50
- "update-tailwind": "node update-tailwind-import.js",
51
- "build:all": "npm run clean && npm run compile && node src/utils/move.js && npm run build:css && tsc-alias && npm run update-tailwind",
52
- "publish:npm": "npm run build:all && npm publish && node src/utils/post-publish.js"
53
- },
54
- "dependencies": {
55
- "@babel/runtime": "^7.24.7",
56
- "@babel/runtime-corejs3": "^7.24.7",
57
- "@radix-ui/colors": "^3.0.0",
58
- "@radix-ui/react-accordion": "^1.2.0",
59
- "@radix-ui/react-checkbox": "^1.0.4",
60
- "@radix-ui/react-dialog": "^1.1.1",
61
- "@radix-ui/react-dropdown-menu": "^2.1.1",
62
- "@radix-ui/react-hover-card": "^1.1.1",
63
- "@radix-ui/react-icons": "^1.3.0",
64
- "@radix-ui/react-label": "^2.1.0",
65
- "@radix-ui/react-menubar": "^1.1.1",
66
- "@radix-ui/react-navigation-menu": "^1.2.0",
67
- "@radix-ui/react-popover": "1.0.7",
68
- "@radix-ui/react-radio-group": "^1.1.3",
69
- "@radix-ui/react-select": "^2.1.1",
70
- "@radix-ui/react-separator": "^1.1.0",
71
- "@radix-ui/react-slider": "^1.2.0",
72
- "@radix-ui/react-switch": "^1.1.0",
73
- "@radix-ui/react-tabs": "^1.1.0",
74
- "@radix-ui/react-toast": "^1.2.1",
75
- "@radix-ui/react-tooltip": "^1.1.1",
76
- "@radix-ui/themes": "^3.1.1",
77
- "@stitches/core": "^1.2.8",
78
- "@stitches/react": "^1.2.8",
79
- "@storybook/addon-a11y": "^8.3.5",
80
- "@storybook/manager-api": "^8.3.5",
81
- "chart.js": "^4.4.4",
82
- "chartjs-plugin-datalabels": "^2.2.0",
83
- "class-variance-authority": "^0.7.0",
84
- "clsx": "^2.1.0",
85
- "cross-env": "^7.0.3",
86
- "dotenv": "^16.4.5",
87
- "lucide-react": "^0.364.0",
88
- "next": "14.1.4",
89
- "react": "^18",
90
- "react-chartjs-2": "^5.2.0",
91
- "react-dom": "^18",
92
- "react-tabs": "^6.0.2",
93
- "storybook-addon-deep-controls": "^0.7.1",
94
- "storybook-dark-mode": "^4.0.2",
95
- "tailwind-merge": "^2.2.2"
96
- },
97
- "devDependencies": {
98
- "@babel/cli": "^7.24.7",
99
- "@babel/core": "^7.24.7",
100
- "@babel/plugin-transform-runtime": "^7.24.7",
101
- "@babel/preset-env": "^7.25.4",
102
- "@babel/preset-react": "^7.24.7",
103
- "@babel/preset-typescript": "^7.24.7",
104
- "@chromatic-com/storybook": "^1.2.25",
105
- "@storybook/addon-essentials": "^8.3.5",
106
- "@storybook/addon-interactions": "^8.3.5",
107
- "@storybook/addon-links": "^8.0.4",
108
- "@storybook/addon-styling-webpack": "^1.0.0",
109
- "@storybook/blocks": "^8.3.5",
110
- "@storybook/nextjs": "^8.3.5",
111
- "@storybook/react": "^8.3.5",
112
- "@storybook/test": "^8.3.5",
113
- "@storybook/theming": "^8.2.4",
114
- "@types/node": "^20",
115
- "@types/react": "^18",
116
- "@types/react-dom": "^18",
117
- "autoprefixer": "^10.0.1",
118
- "chromatic": "^11.5.4",
119
- "eslint": "^8",
120
- "eslint-config-next": "14.1.4",
121
- "eslint-plugin-storybook": "^0.8.0",
122
- "postcss": "^8",
123
- "prettier": "^3.3.3",
124
- "prettier-plugin-tailwindcss": "^0.6.6",
125
- "rimraf": "^6.0.1",
126
- "storybook": "^8.3.5",
127
- "tailwindcss": "^3.3.0",
128
- "tsc-alias": "^1.8.10",
129
- "typescript": "^5"
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
+ }