@esic-lab/data-core-ui 0.0.68 → 0.0.70
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.
- package/dist/index.d.mts +8 -4
- package/dist/index.d.ts +8 -4
- package/dist/index.js +198 -141
- package/dist/index.mjs +156 -99
- package/package.json +4 -3
package/dist/index.d.mts
CHANGED
|
@@ -20,8 +20,9 @@ interface PrimaryButtonProps {
|
|
|
20
20
|
colorPrimaryHover?: string;
|
|
21
21
|
textColor?: string;
|
|
22
22
|
className?: string;
|
|
23
|
+
htmlType?: "submit" | "reset" | "button";
|
|
23
24
|
}
|
|
24
|
-
declare function PrimaryButton({ title, onClick, disabled, iconPlacement, size, colorPrimary, colorPrimaryHover, textColor, icon, className, }: PrimaryButtonProps): react_jsx_runtime.JSX.Element;
|
|
25
|
+
declare function PrimaryButton({ title, onClick, disabled, iconPlacement, size, colorPrimary, colorPrimaryHover, textColor, icon, className, htmlType, }: PrimaryButtonProps): react_jsx_runtime.JSX.Element;
|
|
25
26
|
|
|
26
27
|
interface SecondaryButtonProps {
|
|
27
28
|
title: string;
|
|
@@ -35,8 +36,9 @@ interface SecondaryButtonProps {
|
|
|
35
36
|
defaultHoverColor?: string;
|
|
36
37
|
textColor?: string;
|
|
37
38
|
className?: string;
|
|
39
|
+
htmlType?: "submit" | "reset" | "button";
|
|
38
40
|
}
|
|
39
|
-
declare function SecondaryButton({ title, onClick, disabled, iconPlacement, size, colorBgContainer, defaultHoverBorderColor, defaultHoverColor, textColor, icon, className, }: SecondaryButtonProps): react_jsx_runtime.JSX.Element;
|
|
41
|
+
declare function SecondaryButton({ title, onClick, disabled, iconPlacement, size, colorBgContainer, defaultHoverBorderColor, defaultHoverColor, textColor, icon, className, htmlType, }: SecondaryButtonProps): react_jsx_runtime.JSX.Element;
|
|
40
42
|
|
|
41
43
|
interface GhostButtonProps {
|
|
42
44
|
title: string;
|
|
@@ -69,8 +71,9 @@ interface TertiaryButtonProps {
|
|
|
69
71
|
colorPrimaryHover?: string;
|
|
70
72
|
textColor?: string;
|
|
71
73
|
className?: string;
|
|
74
|
+
htmlType?: "submit" | "reset" | "button";
|
|
72
75
|
}
|
|
73
|
-
declare function TertiaryButton({ title, onClick, disabled, iconPlacement, size, colorPrimary, colorPrimaryHover, textColor, icon, className, }: TertiaryButtonProps): react_jsx_runtime.JSX.Element;
|
|
76
|
+
declare function TertiaryButton({ title, onClick, disabled, iconPlacement, size, colorPrimary, colorPrimaryHover, textColor, icon, className, htmlType, }: TertiaryButtonProps): react_jsx_runtime.JSX.Element;
|
|
74
77
|
|
|
75
78
|
interface LoaderProps {
|
|
76
79
|
size?: number;
|
|
@@ -639,9 +642,10 @@ type Props = {
|
|
|
639
642
|
};
|
|
640
643
|
yLabel?: string;
|
|
641
644
|
xLabel?: string;
|
|
645
|
+
modeLabel?: "line" | "45";
|
|
642
646
|
colorPalette?: string[];
|
|
643
647
|
};
|
|
644
|
-
declare const BarChart: ({ data, height, margin, yLabel, xLabel, colorPalette, }: Props) => react_jsx_runtime.JSX.Element;
|
|
648
|
+
declare const BarChart: ({ data, height, margin, yLabel, xLabel, modeLabel, colorPalette, }: Props) => react_jsx_runtime.JSX.Element;
|
|
645
649
|
|
|
646
650
|
interface PieChartProps {
|
|
647
651
|
title?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -20,8 +20,9 @@ interface PrimaryButtonProps {
|
|
|
20
20
|
colorPrimaryHover?: string;
|
|
21
21
|
textColor?: string;
|
|
22
22
|
className?: string;
|
|
23
|
+
htmlType?: "submit" | "reset" | "button";
|
|
23
24
|
}
|
|
24
|
-
declare function PrimaryButton({ title, onClick, disabled, iconPlacement, size, colorPrimary, colorPrimaryHover, textColor, icon, className, }: PrimaryButtonProps): react_jsx_runtime.JSX.Element;
|
|
25
|
+
declare function PrimaryButton({ title, onClick, disabled, iconPlacement, size, colorPrimary, colorPrimaryHover, textColor, icon, className, htmlType, }: PrimaryButtonProps): react_jsx_runtime.JSX.Element;
|
|
25
26
|
|
|
26
27
|
interface SecondaryButtonProps {
|
|
27
28
|
title: string;
|
|
@@ -35,8 +36,9 @@ interface SecondaryButtonProps {
|
|
|
35
36
|
defaultHoverColor?: string;
|
|
36
37
|
textColor?: string;
|
|
37
38
|
className?: string;
|
|
39
|
+
htmlType?: "submit" | "reset" | "button";
|
|
38
40
|
}
|
|
39
|
-
declare function SecondaryButton({ title, onClick, disabled, iconPlacement, size, colorBgContainer, defaultHoverBorderColor, defaultHoverColor, textColor, icon, className, }: SecondaryButtonProps): react_jsx_runtime.JSX.Element;
|
|
41
|
+
declare function SecondaryButton({ title, onClick, disabled, iconPlacement, size, colorBgContainer, defaultHoverBorderColor, defaultHoverColor, textColor, icon, className, htmlType, }: SecondaryButtonProps): react_jsx_runtime.JSX.Element;
|
|
40
42
|
|
|
41
43
|
interface GhostButtonProps {
|
|
42
44
|
title: string;
|
|
@@ -69,8 +71,9 @@ interface TertiaryButtonProps {
|
|
|
69
71
|
colorPrimaryHover?: string;
|
|
70
72
|
textColor?: string;
|
|
71
73
|
className?: string;
|
|
74
|
+
htmlType?: "submit" | "reset" | "button";
|
|
72
75
|
}
|
|
73
|
-
declare function TertiaryButton({ title, onClick, disabled, iconPlacement, size, colorPrimary, colorPrimaryHover, textColor, icon, className, }: TertiaryButtonProps): react_jsx_runtime.JSX.Element;
|
|
76
|
+
declare function TertiaryButton({ title, onClick, disabled, iconPlacement, size, colorPrimary, colorPrimaryHover, textColor, icon, className, htmlType, }: TertiaryButtonProps): react_jsx_runtime.JSX.Element;
|
|
74
77
|
|
|
75
78
|
interface LoaderProps {
|
|
76
79
|
size?: number;
|
|
@@ -639,9 +642,10 @@ type Props = {
|
|
|
639
642
|
};
|
|
640
643
|
yLabel?: string;
|
|
641
644
|
xLabel?: string;
|
|
645
|
+
modeLabel?: "line" | "45";
|
|
642
646
|
colorPalette?: string[];
|
|
643
647
|
};
|
|
644
|
-
declare const BarChart: ({ data, height, margin, yLabel, xLabel, colorPalette, }: Props) => react_jsx_runtime.JSX.Element;
|
|
648
|
+
declare const BarChart: ({ data, height, margin, yLabel, xLabel, modeLabel, colorPalette, }: Props) => react_jsx_runtime.JSX.Element;
|
|
645
649
|
|
|
646
650
|
interface PieChartProps {
|
|
647
651
|
title?: string;
|