@lobehub/charts 1.10.1 → 1.11.1
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/es/AreaChart/index.js +1 -2
- package/es/BarChart/index.js +1 -3
- package/es/FunnelChart/index.js +1 -1
- package/es/LineChart/index.js +1 -2
- package/es/ScatterChart/index.js +1 -2
- package/package.json +11 -20
package/es/AreaChart/index.js
CHANGED
|
@@ -100,7 +100,7 @@ var AreaChart = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
100
100
|
_props$width = props.width,
|
|
101
101
|
width = _props$width === void 0 ? '100%' : _props$width,
|
|
102
102
|
_props$height = props.height,
|
|
103
|
-
height = _props$height === void 0 ?
|
|
103
|
+
height = _props$height === void 0 ? 280 : _props$height,
|
|
104
104
|
style = props.style,
|
|
105
105
|
customCategories = props.customCategories,
|
|
106
106
|
rest = _objectWithoutProperties(props, _excluded);
|
|
@@ -205,7 +205,6 @@ var AreaChart = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
205
205
|
dataKey: index,
|
|
206
206
|
dy: rotateLabelX === null || rotateLabelX === void 0 ? void 0 : rotateLabelX.verticalShift,
|
|
207
207
|
fill: "",
|
|
208
|
-
height: rotateLabelX === null || rotateLabelX === void 0 ? void 0 : rotateLabelX.xAxisHeight,
|
|
209
208
|
hide: !showXAxis,
|
|
210
209
|
interval: startEndOnly ? 'preserveStartEnd' : intervalType,
|
|
211
210
|
minTickGap: tickGap,
|
package/es/BarChart/index.js
CHANGED
|
@@ -99,7 +99,7 @@ var BarChart = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
99
99
|
_props$width = props.width,
|
|
100
100
|
width = _props$width === void 0 ? '100%' : _props$width,
|
|
101
101
|
_props$height = props.height,
|
|
102
|
-
height = _props$height === void 0 ?
|
|
102
|
+
height = _props$height === void 0 ? 280 : _props$height,
|
|
103
103
|
style = props.style,
|
|
104
104
|
rest = _objectWithoutProperties(props, _excluded);
|
|
105
105
|
var _useState = useState(),
|
|
@@ -209,7 +209,6 @@ var BarChart = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
209
209
|
domain: yAxisDomain,
|
|
210
210
|
dy: rotateLabelX === null || rotateLabelX === void 0 ? void 0 : rotateLabelX.verticalShift,
|
|
211
211
|
fill: "",
|
|
212
|
-
height: rotateLabelX === null || rotateLabelX === void 0 ? void 0 : rotateLabelX.xAxisHeight,
|
|
213
212
|
hide: !showXAxis,
|
|
214
213
|
minTickGap: tickGap,
|
|
215
214
|
stroke: "",
|
|
@@ -237,7 +236,6 @@ var BarChart = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
237
236
|
dataKey: index,
|
|
238
237
|
dy: rotateLabelX === null || rotateLabelX === void 0 ? void 0 : rotateLabelX.verticalShift,
|
|
239
238
|
fill: "",
|
|
240
|
-
height: rotateLabelX === null || rotateLabelX === void 0 ? void 0 : rotateLabelX.xAxisHeight,
|
|
241
239
|
hide: !showXAxis,
|
|
242
240
|
interval: startEndOnly ? 'preserveStartEnd' : intervalType,
|
|
243
241
|
minTickGap: tickGap,
|
package/es/FunnelChart/index.js
CHANGED
|
@@ -109,7 +109,7 @@ var FunnelChart = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
109
109
|
_props$width = props.width,
|
|
110
110
|
width = _props$width === void 0 ? '100%' : _props$width,
|
|
111
111
|
_props$height = props.height,
|
|
112
|
-
height = _props$height === void 0 ?
|
|
112
|
+
height = _props$height === void 0 ? 280 : _props$height,
|
|
113
113
|
className = props.className,
|
|
114
114
|
style = props.style,
|
|
115
115
|
yAxisWidth = props.yAxisWidth,
|
package/es/LineChart/index.js
CHANGED
|
@@ -95,7 +95,7 @@ var LineChart = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
95
95
|
_props$width = props.width,
|
|
96
96
|
width = _props$width === void 0 ? '100%' : _props$width,
|
|
97
97
|
_props$height = props.height,
|
|
98
|
-
height = _props$height === void 0 ?
|
|
98
|
+
height = _props$height === void 0 ? 280 : _props$height,
|
|
99
99
|
style = props.style,
|
|
100
100
|
customCategories = props.customCategories,
|
|
101
101
|
loading = props.loading,
|
|
@@ -201,7 +201,6 @@ var LineChart = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
201
201
|
dataKey: index,
|
|
202
202
|
dy: rotateLabelX === null || rotateLabelX === void 0 ? void 0 : rotateLabelX.verticalShift,
|
|
203
203
|
fill: "",
|
|
204
|
-
height: rotateLabelX === null || rotateLabelX === void 0 ? void 0 : rotateLabelX.xAxisHeight,
|
|
205
204
|
hide: !showXAxis,
|
|
206
205
|
interval: startEndOnly ? 'preserveStartEnd' : intervalType,
|
|
207
206
|
minTickGap: tickGap,
|
package/es/ScatterChart/index.js
CHANGED
|
@@ -104,7 +104,7 @@ var ScatterChart = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
104
104
|
_props$width = props.width,
|
|
105
105
|
width = _props$width === void 0 ? '100%' : _props$width,
|
|
106
106
|
_props$height = props.height,
|
|
107
|
-
height = _props$height === void 0 ?
|
|
107
|
+
height = _props$height === void 0 ? 280 : _props$height,
|
|
108
108
|
style = props.style,
|
|
109
109
|
customCategories = props.customCategories,
|
|
110
110
|
rest = _objectWithoutProperties(props, _excluded);
|
|
@@ -211,7 +211,6 @@ var ScatterChart = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
211
211
|
domain: xAxisDomain,
|
|
212
212
|
dy: rotateLabelX === null || rotateLabelX === void 0 ? void 0 : rotateLabelX.verticalShift,
|
|
213
213
|
fill: "",
|
|
214
|
-
height: rotateLabelX === null || rotateLabelX === void 0 ? void 0 : rotateLabelX.xAxisHeight,
|
|
215
214
|
hide: !showXAxis,
|
|
216
215
|
interval: startEndOnly ? 'preserveStartEnd' : intervalType,
|
|
217
216
|
minTickGap: tickGap,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/charts",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.1",
|
|
4
4
|
"description": "React modern charts components built on recharts",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lobehub",
|
|
@@ -24,29 +24,20 @@
|
|
|
24
24
|
"es"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
+
"@lobehub/ui": "^1.161.0",
|
|
28
|
+
"ahooks": "^3.8.4",
|
|
29
|
+
"antd-style": "^3.7.1",
|
|
30
|
+
"chroma-js": "^3.1.2",
|
|
27
31
|
"date-fns": "^3.6.0",
|
|
32
|
+
"dayjs": "^1.11.13",
|
|
33
|
+
"lucide-react": "^0.469.0",
|
|
34
|
+
"polished": "^4.3.1",
|
|
35
|
+
"react-layout-kit": "^1.9.1",
|
|
28
36
|
"recharts": "^2.15.0"
|
|
29
37
|
},
|
|
30
38
|
"peerDependencies": {
|
|
31
|
-
"
|
|
32
|
-
"@lobehub/ui": "^1.160.0",
|
|
33
|
-
"ahooks": "^3.8.0",
|
|
34
|
-
"antd": "^5.22.0",
|
|
35
|
-
"antd-style": "^3.7.0",
|
|
36
|
-
"chroma-js": "^3.0.0",
|
|
37
|
-
"dayjs": "^1.11.0",
|
|
38
|
-
"lucide-react": "^0.469.0",
|
|
39
|
-
"polished": "^4.0.0",
|
|
39
|
+
"antd": "^5.23.0",
|
|
40
40
|
"react": "^18.0.0 || ^19.0.0",
|
|
41
|
-
"react-dom": "^18.0.0 || ^19.0.0"
|
|
42
|
-
"react-layout-kit": "^1.0.0"
|
|
43
|
-
},
|
|
44
|
-
"pnpm": {
|
|
45
|
-
"overrides": {
|
|
46
|
-
"react-is": "^19.0.0"
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"overrides": {
|
|
50
|
-
"react-is": "^19.0.0"
|
|
41
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
51
42
|
}
|
|
52
43
|
}
|