dhx-react-suite 1.1.2 → 1.1.4
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/dhx-react-suite.js +1233 -1029
- package/dist/dhx-react-suite.js.map +1 -1
- package/dist/dhx-react-suite.umd.cjs +2 -2
- package/dist/dhx-react-suite.umd.cjs.map +1 -1
- package/dist/index.d.ts +25 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -31,11 +31,17 @@ export declare interface CalendarProps {
|
|
|
31
31
|
style?: React.CSSProperties;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export declare function Chart({ type, data, series, scales, legend, height, style }: ChartProps): JSX_2.Element;
|
|
34
|
+
export declare function Chart({ type, data, series, scales, legend, height, style, }: ChartProps): JSX_2.Element;
|
|
35
35
|
|
|
36
36
|
declare interface ChartLegend {
|
|
37
37
|
halign?: "left" | "center" | "right";
|
|
38
38
|
valign?: "top" | "middle" | "bottom";
|
|
39
|
+
series?: string[];
|
|
40
|
+
values?: {
|
|
41
|
+
id?: string;
|
|
42
|
+
text?: string;
|
|
43
|
+
color?: string;
|
|
44
|
+
};
|
|
39
45
|
}
|
|
40
46
|
|
|
41
47
|
export declare interface ChartProps {
|
|
@@ -51,25 +57,39 @@ export declare interface ChartProps {
|
|
|
51
57
|
declare interface ChartScales {
|
|
52
58
|
bottom?: {
|
|
53
59
|
text?: string;
|
|
60
|
+
title?: string;
|
|
61
|
+
min?: number;
|
|
62
|
+
max?: number;
|
|
54
63
|
};
|
|
55
64
|
left?: {
|
|
56
65
|
min?: number;
|
|
57
66
|
max?: number;
|
|
67
|
+
maxTicks?: number;
|
|
68
|
+
title?: string;
|
|
69
|
+
};
|
|
70
|
+
radial?: {
|
|
71
|
+
value?: string;
|
|
72
|
+
maxTicks?: number;
|
|
58
73
|
};
|
|
59
74
|
}
|
|
60
75
|
|
|
61
76
|
export declare interface ChartSeries {
|
|
62
|
-
id
|
|
77
|
+
id?: string;
|
|
63
78
|
value?: string;
|
|
79
|
+
valueY?: string;
|
|
64
80
|
label?: string;
|
|
65
81
|
color?: string;
|
|
66
82
|
fill?: string;
|
|
83
|
+
strokeWidth?: number;
|
|
84
|
+
text?: string;
|
|
85
|
+
stroke?: string;
|
|
86
|
+
pointColor?: string;
|
|
67
87
|
data?: Record<string, unknown>[];
|
|
68
|
-
|
|
69
|
-
|
|
88
|
+
tooltipTemplate?: (item: unknown[]) => string;
|
|
89
|
+
direction?: "asc" | "desc";
|
|
70
90
|
}
|
|
71
91
|
|
|
72
|
-
export declare type ChartType = "bar" | "line" | "area" | "pie" | "donut" | "radar" | "scatter";
|
|
92
|
+
export declare type ChartType = "bar" | "line" | "area" | "pie" | "donut" | "radar" | "scatter" | "treeMap";
|
|
73
93
|
|
|
74
94
|
export declare function Colorpicker({ value, onChange, style }: ColorpickerProps): JSX_2.Element;
|
|
75
95
|
|