@lotte-innovate/ui-component-test 0.0.41 → 0.0.42
Sign up to get free protection for your applications and to get access to all the features.
- 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/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/package.json +2 -2
@@ -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;
|
@@ -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/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.
|
4
|
+
"version": "0.0.42",
|
5
5
|
"private": false,
|
6
6
|
"type": "module",
|
7
7
|
"files": [
|
@@ -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",
|