@oliasoft-open-source/charts-library 4.8.2 → 4.8.3-beta-2
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.
|
@@ -23,4 +23,4 @@ export type TLegendAction = {
|
|
|
23
23
|
payload: ILegendState;
|
|
24
24
|
};
|
|
25
25
|
export declare const legendInitialState: ILegendState;
|
|
26
|
-
export declare const legendReducer: (state: ILegendState, action: TLegendAction) =>
|
|
26
|
+
export declare const legendReducer: (state: ILegendState, action: TLegendAction) => any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oliasoft-open-source/charts-library",
|
|
3
|
-
"version": "4.8.2",
|
|
3
|
+
"version": "4.8.3-beta-2",
|
|
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": {
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"build:package": "vite build --config vite.config.ts",
|
|
27
27
|
"build": "yarn build:package && storybook build --quiet --output-dir ./public",
|
|
28
28
|
"dev:storybook": "storybook dev -p 6006",
|
|
29
|
-
"lint:check": "eslint
|
|
30
|
-
"lint:fix": "eslint --fix
|
|
31
|
-
"prepare": "husky
|
|
29
|
+
"lint:check": "eslint .",
|
|
30
|
+
"lint:fix": "eslint . --fix",
|
|
31
|
+
"prepare": "husky",
|
|
32
32
|
"prettier:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,css,less}\"",
|
|
33
33
|
"prettier:fix": "prettier --write \"**/*.{ts,tsx,js,jsx,json,css,less}\"",
|
|
34
34
|
"preview:storybook": " http-server ./public -o -p 9002 -c-1",
|
|
@@ -43,14 +43,15 @@
|
|
|
43
43
|
]
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@
|
|
47
|
-
"
|
|
46
|
+
"@eslint/js": "^9.22.0",
|
|
47
|
+
"@fontsource/noto-sans": "^5.2.5",
|
|
48
|
+
"chart.js": "^4.4.8",
|
|
48
49
|
"chartjs-plugin-annotation": "^3.1.0",
|
|
49
50
|
"chartjs-plugin-datalabels": "^2.2.0",
|
|
50
51
|
"chartjs-plugin-dragdata": "2.2.5",
|
|
51
|
-
"chartjs-plugin-zoom": "
|
|
52
|
+
"chartjs-plugin-zoom": "2.0.1",
|
|
52
53
|
"fast-deep-equal": "^3.1.3",
|
|
53
|
-
"html-to-image": "^1.11.
|
|
54
|
+
"html-to-image": "^1.11.13",
|
|
54
55
|
"react-base64-downloader": "^2.1.7",
|
|
55
56
|
"react-chartjs-2": "^5.3.0",
|
|
56
57
|
"react-dnd": "^16.0.1",
|
|
@@ -59,67 +60,68 @@
|
|
|
59
60
|
"react-use": "^17.6.0"
|
|
60
61
|
},
|
|
61
62
|
"devDependencies": {
|
|
62
|
-
"@oliasoft-open-source/react-ui-library": "^
|
|
63
|
-
"@oliasoft-open-source/units": "^4.
|
|
64
|
-
"@storybook/addon-actions": "^
|
|
65
|
-
"@storybook/addon-docs": "^
|
|
66
|
-
"@storybook/addon-mdx-gfm": "^
|
|
67
|
-
"@storybook/react": "^
|
|
68
|
-
"@storybook/react-vite": "^
|
|
63
|
+
"@oliasoft-open-source/react-ui-library": "^5.0.2",
|
|
64
|
+
"@oliasoft-open-source/units": "^4.3.1",
|
|
65
|
+
"@storybook/addon-actions": "^8.6.4",
|
|
66
|
+
"@storybook/addon-docs": "^8.6.4",
|
|
67
|
+
"@storybook/addon-mdx-gfm": "^8.6.4",
|
|
68
|
+
"@storybook/react": "^8.6.4",
|
|
69
|
+
"@storybook/react-vite": "^8.6.4",
|
|
69
70
|
"@storybook/testing-library": "^0.2.2",
|
|
70
|
-
"@types/jest": "^29.5.
|
|
71
|
+
"@types/jest": "^29.5.14",
|
|
71
72
|
"@types/react": "^18.2.24",
|
|
72
73
|
"@typescript-eslint/parser": "^6.7.4",
|
|
73
|
-
"@vitejs/plugin-react-swc": "^3.
|
|
74
|
-
"ajv": "^8.
|
|
74
|
+
"@vitejs/plugin-react-swc": "^3.8.0",
|
|
75
|
+
"ajv": "^8.17.1",
|
|
75
76
|
"ajv-errors": "^3.0.0",
|
|
76
77
|
"ajv-keywords": "^5.1.0",
|
|
77
|
-
"classnames": "^2.
|
|
78
|
-
"eslint": "^
|
|
78
|
+
"classnames": "^2.5.1",
|
|
79
|
+
"eslint": "^9.22.0",
|
|
79
80
|
"eslint-config-airbnb": "^19.0.4",
|
|
80
|
-
"eslint-config-prettier": "^
|
|
81
|
+
"eslint-config-prettier": "^10.1.1",
|
|
81
82
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
82
|
-
"eslint-import-resolver-typescript": "^3.
|
|
83
|
-
"eslint-plugin-import": "^2.
|
|
84
|
-
"eslint-plugin-jsx-a11y": "^6.
|
|
85
|
-
"eslint-plugin-react": "^7.
|
|
86
|
-
"eslint-plugin-react-hooks": "^
|
|
87
|
-
"eslint-plugin-storybook": "^0.
|
|
88
|
-
"eslint-plugin-vitest": "^0.
|
|
89
|
-
"eslint-plugin-vitest-globals": "^1.
|
|
83
|
+
"eslint-import-resolver-typescript": "^3.8.5",
|
|
84
|
+
"eslint-plugin-import": "^2.31.0",
|
|
85
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
86
|
+
"eslint-plugin-react": "^7.37.4",
|
|
87
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
88
|
+
"eslint-plugin-storybook": "^0.11.4",
|
|
89
|
+
"eslint-plugin-vitest": "^0.5.4",
|
|
90
|
+
"eslint-plugin-vitest-globals": "^1.5.0",
|
|
90
91
|
"http-server": "^14.1.1",
|
|
91
|
-
"husky": "^
|
|
92
|
+
"husky": "^9.1.7",
|
|
92
93
|
"immer": "^10",
|
|
93
94
|
"jsdom": "^22.1.0",
|
|
94
|
-
"less": "^4.
|
|
95
|
+
"less": "^4.2.2",
|
|
95
96
|
"lint-staged": "^15.4.3",
|
|
96
97
|
"lodash": "^4.17.21",
|
|
97
98
|
"micromatch": "^4",
|
|
98
|
-
"prettier": "3.
|
|
99
|
+
"prettier": "3.5.3",
|
|
99
100
|
"prop-types": "^15",
|
|
100
101
|
"react": "^18.2.0",
|
|
101
102
|
"react-dom": "^18.2.0",
|
|
102
103
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
103
|
-
"storybook": "^
|
|
104
|
-
"storybook-dark-mode": "^
|
|
105
|
-
"vite": "^
|
|
106
|
-
"vite-plugin-css-injected-by-js": "^3.
|
|
107
|
-
"vite-plugin-dts": "^4.5.
|
|
108
|
-
"vite-plugin-
|
|
109
|
-
"vite-
|
|
110
|
-
"
|
|
104
|
+
"storybook": "^8.6.4",
|
|
105
|
+
"storybook-dark-mode": "^4.0.2",
|
|
106
|
+
"vite": "^6.2.1",
|
|
107
|
+
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
108
|
+
"vite-plugin-dts": "^4.5.3",
|
|
109
|
+
"vite-plugin-optimize-persist": "^0.1.2",
|
|
110
|
+
"vite-plugin-svgr": "^4.3.0",
|
|
111
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
112
|
+
"vitest": "^3.0.8"
|
|
111
113
|
},
|
|
112
114
|
"peerDependencies": {
|
|
113
|
-
"@oliasoft-open-source/react-ui-library": "
|
|
114
|
-
"@oliasoft-open-source/units": "^4.
|
|
115
|
-
"ajv": "^8.
|
|
115
|
+
"@oliasoft-open-source/react-ui-library": ">=4.20.8 <6.0.0",
|
|
116
|
+
"@oliasoft-open-source/units": "^4.3.1",
|
|
117
|
+
"ajv": "^8.17.1",
|
|
116
118
|
"ajv-errors": "^3.0.0",
|
|
117
119
|
"ajv-keywords": "^5.1.0",
|
|
118
|
-
"classnames": "^2.
|
|
119
|
-
"immer": "^9
|
|
120
|
+
"classnames": "^2.5.1",
|
|
121
|
+
"immer": "^9 || ^10",
|
|
120
122
|
"lodash": "^4.17.21",
|
|
121
123
|
"prop-types": "^15",
|
|
122
|
-
"react": "^17",
|
|
123
|
-
"react-dom": "^17"
|
|
124
|
+
"react": "^17 || ^18",
|
|
125
|
+
"react-dom": "^17 || ^18"
|
|
124
126
|
}
|
|
125
127
|
}
|