@oliasoft-open-source/charts-library 4.3.10 → 4.3.11
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.
|
@@ -27,10 +27,11 @@ interface IDefaultChartOptions {
|
|
|
27
27
|
enableZoom: boolean;
|
|
28
28
|
enablePan: boolean;
|
|
29
29
|
}
|
|
30
|
-
interface IDefaultInteractions {
|
|
30
|
+
export interface IDefaultInteractions {
|
|
31
31
|
onLegendClick?: (text: string, hidden: boolean) => void;
|
|
32
32
|
onHover?: (event?: ChartEvent, datasetIndex?: number, index?: number, generatedDataset?: IScatterChartDataset[]) => void;
|
|
33
33
|
onUnhover?: (event?: ChartEvent, datasetIndex?: number, index?: number, generatedDataset?: any[]) => void;
|
|
34
|
+
onAnimationComplete?: () => void;
|
|
34
35
|
}
|
|
35
36
|
interface IDefaultChartData {
|
|
36
37
|
labels: string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oliasoft-open-source/charts-library",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.11",
|
|
4
4
|
"description": "React Chart Library (based on Chart.js and react-chart-js-2)",
|
|
5
5
|
"homepage": "https://gitlab.com/oliasoft-open-source/charts-library",
|
|
6
6
|
"resolutions": {
|
|
@@ -88,7 +88,6 @@
|
|
|
88
88
|
"eslint-plugin-vitest": "^0.3.2",
|
|
89
89
|
"eslint-plugin-vitest-globals": "^1.3.1",
|
|
90
90
|
"http-server": "^14.1.1",
|
|
91
|
-
"prop-types": "^15",
|
|
92
91
|
"husky": "^8.0.1",
|
|
93
92
|
"immer": "^9",
|
|
94
93
|
"jsdom": "^22.1.0",
|
|
@@ -96,6 +95,7 @@
|
|
|
96
95
|
"lint-staged": "^14.0.1",
|
|
97
96
|
"lodash": "^4.17.21",
|
|
98
97
|
"prettier": "3.0.3",
|
|
98
|
+
"prop-types": "^15",
|
|
99
99
|
"react": "^18.2.0",
|
|
100
100
|
"react-dom": "^18.2.0",
|
|
101
101
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
@@ -114,10 +114,10 @@
|
|
|
114
114
|
"ajv": "^8.12.0",
|
|
115
115
|
"ajv-errors": "^3.0.0",
|
|
116
116
|
"ajv-keywords": "^5.1.0",
|
|
117
|
-
"prop-types": "^15",
|
|
118
117
|
"classnames": "^2.3.2",
|
|
119
118
|
"immer": "^9",
|
|
120
119
|
"lodash": "^4.17.21",
|
|
120
|
+
"prop-types": "^15",
|
|
121
121
|
"react": "^17",
|
|
122
122
|
"react-dom": "^17"
|
|
123
123
|
}
|