win-chart 2.10.4 → 2.11.0

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.ts CHANGED
@@ -3,8 +3,6 @@ export { echarts$1 as echarts };
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import React$1 from 'react';
5
5
 
6
- declare const WinChart: (props: IWinChartProps) => react_jsx_runtime.JSX.Element;
7
-
8
6
  /**
9
7
  * 标准图表数据
10
8
  */
@@ -132,6 +130,8 @@ declare enum WinChartType {
132
130
  RADAR = 12
133
131
  }
134
132
 
133
+ declare const WinChart: (props: IWinChartProps) => react_jsx_runtime.JSX.Element;
134
+
135
135
  interface IProps {
136
136
  className: string;
137
137
  style: React$1.CSSProperties;
@@ -1,2 +1,2 @@
1
- import { IWinChartProps } from '..';
1
+ import { IWinChartProps } from '../types';
2
2
  export declare const WinChart: (props: IWinChartProps) => import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "win-chart",
3
- "version": "2.10.4",
3
+ "version": "2.11.0",
4
4
  "description": "菜鸟地网统一图表组件",
5
5
  "files": [
6
6
  "dist"
@@ -24,8 +24,8 @@
24
24
  "echarts": "^5.5.1",
25
25
  "echarts-gl": "^2.0.9",
26
26
  "polished": "^4.3.1",
27
- "react": "^19.0.0",
28
- "react-dom": "^19.0.0",
27
+ "react": "^18.3.1",
28
+ "react-dom": "^18.3.1",
29
29
  "styled-components": "^6.1.13"
30
30
  },
31
31
  "devDependencies": {
@@ -40,8 +40,8 @@
40
40
  "@rsbuild/core": "^1.1.9",
41
41
  "@rsbuild/plugin-react": "^1.1.0",
42
42
  "@types/node": "^20.17.10",
43
- "@types/react": "^19.0.1",
44
- "@types/react-dom": "^19.0.2",
43
+ "@types/react": "^18.3.16",
44
+ "@types/react-dom": "^18.3.5",
45
45
  "eslint": "^9.16.0",
46
46
  "eslint-plugin-react": "^7.37.2",
47
47
  "eslint-plugin-react-hooks": "^5.1.0",