win-chart 2.4.0 → 2.4.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.
@@ -68,3 +68,9 @@ export declare function debounce(func: Function, delay: number): Function;
68
68
  * @returns
69
69
  */
70
70
  export declare const mergeSeriesOption: (option: echarts.EChartsOption, seriesOption?: echarts.SeriesOption[]) => import("echarts/types/dist/echarts").EChartsOption;
71
+ /**
72
+ * 获取 label 颜色
73
+ * @param opt
74
+ * @returns
75
+ */
76
+ export declare const getLabelColor: (opt: Partial<IWinChartProps>) => "rgba(0, 0, 0, 0.7)" | "rgba(255, 255, 255, 0.7)";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "win-chart",
3
- "version": "2.4.0",
3
+ "version": "2.4.2",
4
4
  "description": "菜鸟地网统一图表组件",
5
5
  "files": [
6
6
  "dist"
@@ -24,19 +24,10 @@
24
24
  ],
25
25
  "dependencies": {
26
26
  "@cainiaofe/cn-ui": "^0.11.16",
27
- "@ice/jsx-runtime": "^0.2.0",
28
- "@rollup/plugin-terser": "^0.4.4",
29
- "@swc/helpers": "^0.5.1",
30
- "ahooks": "^3.7.8",
31
- "axios": "^1.6.7",
32
27
  "core-js": "^3.36.1",
33
- "d3": "^7.8.5",
34
- "dayjs": "^1.11.10",
35
28
  "deepmerge": "^4.3.1",
36
29
  "echarts": "^5.4.3",
37
- "panda-i18n": "^0.2.74",
38
30
  "polished": "^4.2.2",
39
- "qs": "^6.11.2",
40
31
  "react": "^18.2.0",
41
32
  "react-dom": "^18.2.0",
42
33
  "styled-components": "^6.1.8"
@@ -48,6 +39,7 @@
48
39
  "@rollup/plugin-json": "^6.1.0",
49
40
  "@rollup/plugin-node-resolve": "^15.2.3",
50
41
  "@rollup/plugin-typescript": "^11.1.6",
42
+ "@rollup/plugin-terser": "^0.4.4",
51
43
  "@types/react": "^18.0.0",
52
44
  "@types/react-dom": "^18.0.0",
53
45
  "eslint": "^8.0.0",