@lotte-innovate/ui-component-test 0.0.40 → 0.0.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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;
@@ -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;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lotte-innovate/ui-component-test",
3
3
  "description": "Lotte UI Library",
4
- "version": "0.0.40",
4
+ "version": "0.0.42",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "files": [
@@ -11,12 +11,12 @@
11
11
  "dist/globals.css"
12
12
  ],
13
13
  "types": "dist/lib/index.d.ts",
14
- "main": "dist/lib/cjs/index.js",
15
- "module": "dist/lib/mjs/index.js",
14
+ "main": "dist/lib/index.js",
15
+ "module": "dist/mjs/lib/index.js",
16
16
  "exports": {
17
17
  ".": {
18
- "import": "./dist/lib/mjs/index.js",
19
- "require": "./dist/lib/cjs/index.js"
18
+ "import": "./dist/mjs/lib/index.js",
19
+ "require": "./dist/lib/index.js"
20
20
  }
21
21
  },
22
22
  "publishConfig": {
@@ -48,7 +48,7 @@
48
48
  "start": "next start",
49
49
  "storybook": "cross-env NODE_OPTIONS='--max-old-space-size=8192' storybook dev -p 6006",
50
50
  "chromatic": "cross-env npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN",
51
- "compile": "tsc --jsx react-jsx",
51
+ "compile": "tsc --jsx react-jsx && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json",
52
52
  "build": "next build && npm run compile",
53
53
  "build:css": "npx tailwindcss -i src/app/globals.css -o dist/globals.css --minify",
54
54
  "build-storybook": "storybook build",