@mui/x-charts 7.29.0 → 7.29.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/BarChart/BarElement.d.ts +1 -1
- package/BarChart/BarLabel/BarLabel.d.ts +1 -1
- package/CHANGELOG.md +77 -0
- package/ChartContainer/useChartContainerProps.d.ts +16 -16
- package/ChartContainer/useDefaultizeAxis.d.ts +8 -8
- package/ChartsTooltip/utils.js +2 -0
- package/Gauge/GaugeProvider.js +2 -0
- package/LineChart/AnimatedArea.d.ts +1 -1
- package/LineChart/AnimatedLine.d.ts +1 -1
- package/context/CartesianProvider/defaultizeAxis.d.ts +8 -8
- package/index.js +1 -1
- package/internals/defaultizeColor.d.ts +1 -1
- package/modern/ChartsTooltip/utils.js +2 -0
- package/modern/Gauge/GaugeProvider.js +2 -0
- package/modern/index.js +1 -1
- package/node/ChartsTooltip/utils.js +1 -0
- package/node/Gauge/GaugeProvider.js +2 -2
- package/node/index.js +1 -1
- package/package.json +3 -3
package/BarChart/BarElement.d.ts
CHANGED
|
@@ -394,7 +394,7 @@ export declare const BarElementPath: import("@emotion/styled").StyledComponent<P
|
|
|
394
394
|
writingMode?: import("csstype").Property.WritingMode | undefined;
|
|
395
395
|
zIndex?: import("csstype").Property.ZIndex | undefined;
|
|
396
396
|
zoom?: import("csstype").Property.Zoom | undefined;
|
|
397
|
-
all?: import("csstype").
|
|
397
|
+
all?: import("csstype").Globals | undefined;
|
|
398
398
|
animation?: import("csstype").Property.Animation<string & {}> | undefined;
|
|
399
399
|
animationRange?: import("csstype").Property.AnimationRange<string | number> | undefined;
|
|
400
400
|
background?: import("csstype").Property.Background<string | number> | undefined;
|
|
@@ -377,7 +377,7 @@ export declare const BarLabelComponent: import("@emotion/styled").StyledComponen
|
|
|
377
377
|
writingMode?: import("csstype").Property.WritingMode | undefined;
|
|
378
378
|
zIndex?: import("csstype").Property.ZIndex | undefined;
|
|
379
379
|
zoom?: import("csstype").Property.Zoom | undefined;
|
|
380
|
-
all?: import("csstype").
|
|
380
|
+
all?: import("csstype").Globals | undefined;
|
|
381
381
|
animation?: import("csstype").Property.Animation<string & {}> | undefined;
|
|
382
382
|
animationRange?: import("csstype").Property.AnimationRange<string | number> | undefined;
|
|
383
383
|
background?: import("csstype").Property.Background<string | number> | undefined;
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,83 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 7.29.1
|
|
7
|
+
|
|
8
|
+
_Apr 23, 2025_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🐞 Bugfixes
|
|
13
|
+
|
|
14
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
15
|
+
@lhilgert9
|
|
16
|
+
|
|
17
|
+
Following are all team members who have contributed to this release:
|
|
18
|
+
@arminmeh, @cherniavskii, @flaviendelangle, @LukasTy, @romgrk.
|
|
19
|
+
|
|
20
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
21
|
+
|
|
22
|
+
### Data Grid
|
|
23
|
+
|
|
24
|
+
#### `@mui/x-data-grid@7.29.1`
|
|
25
|
+
|
|
26
|
+
- [DataGrid] Prevent scrollbars from showing on top (#17410) @romgrk
|
|
27
|
+
|
|
28
|
+
#### `@mui/x-data-grid-pro@7.29.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
29
|
+
|
|
30
|
+
Same changes as in `@mui/x-data-grid@7.29.1`, plus:
|
|
31
|
+
|
|
32
|
+
- [DataGridPro] Avoid proptypes warnings with header filters in React 17 (#17492) @cherniavskii
|
|
33
|
+
- [DataGridPro] Fix expandable rows detail content height updates (#17509) @arminmeh
|
|
34
|
+
- [DataGridPro] Fix row virtualization not working in list view (#17404) @cherniavskii
|
|
35
|
+
- [DataGridPro] Move locales re-export to allow proper tree shaking (#17438) @lhilgert9
|
|
36
|
+
|
|
37
|
+
#### `@mui/x-data-grid-premium@7.29.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
38
|
+
|
|
39
|
+
Same changes as in `@mui/x-data-grid-pro@7.29.1`, plus:
|
|
40
|
+
|
|
41
|
+
- [DataGridPremium] Use `groupingValueGetter` for row grouping on the server (#17423) @cherniavskii
|
|
42
|
+
|
|
43
|
+
### Date and Time Pickers
|
|
44
|
+
|
|
45
|
+
#### `@mui/x-date-pickers@7.29.1`
|
|
46
|
+
|
|
47
|
+
Internal changes.
|
|
48
|
+
|
|
49
|
+
#### `@mui/x-date-pickers-pro@7.29.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
50
|
+
|
|
51
|
+
Same changes as in `@mui/x-date-pickers@7.29.1`.
|
|
52
|
+
|
|
53
|
+
### Charts
|
|
54
|
+
|
|
55
|
+
#### `@mui/x-charts@7.29.1`
|
|
56
|
+
|
|
57
|
+
Internal changes.
|
|
58
|
+
|
|
59
|
+
#### `@mui/x-charts-pro@7.29.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
60
|
+
|
|
61
|
+
Same changes as in `@mui/x-charts@7.29.1`.
|
|
62
|
+
|
|
63
|
+
### Tree View
|
|
64
|
+
|
|
65
|
+
#### `@mui/x-tree-view@7.29.1`
|
|
66
|
+
|
|
67
|
+
Internal changes.
|
|
68
|
+
|
|
69
|
+
#### `@mui/x-tree-view-pro@7.29.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
70
|
+
|
|
71
|
+
Same changes as in `@mui/x-tree-view@7.29.1`, plus:
|
|
72
|
+
|
|
73
|
+
- [RichTreeViewPro] Fix drag and drop issue with label editing (#17415) @flaviendelangle
|
|
74
|
+
|
|
75
|
+
### Docs
|
|
76
|
+
|
|
77
|
+
- [docs] Use MUI X v7 packages in CodeSandbox and StackBlitz (#17516) @cherniavskii
|
|
78
|
+
|
|
79
|
+
### Core
|
|
80
|
+
|
|
81
|
+
- [core] Bump monorepo (#17437) @LukasTy
|
|
82
|
+
|
|
6
83
|
## 7.29.0
|
|
7
84
|
|
|
8
85
|
_Apr 16, 2025_
|
|
@@ -35,9 +35,9 @@ export declare const useChartContainerProps: (props: ChartContainerProps, ref: R
|
|
|
35
35
|
disableTicks?: boolean | undefined;
|
|
36
36
|
fill?: string | undefined;
|
|
37
37
|
tickFontSize?: number | undefined;
|
|
38
|
-
tickLabelStyle?: import("..").
|
|
39
|
-
labelStyle?: import("..").
|
|
40
|
-
tickLabelInterval?:
|
|
38
|
+
tickLabelStyle?: import("..").ChartsTextStyle | undefined;
|
|
39
|
+
labelStyle?: import("..").ChartsTextStyle | undefined;
|
|
40
|
+
tickLabelInterval?: "auto" | ((value: any, index: number) => boolean) | undefined;
|
|
41
41
|
labelFontSize?: number | undefined;
|
|
42
42
|
stroke?: string | undefined;
|
|
43
43
|
tickSize?: number | undefined;
|
|
@@ -45,16 +45,16 @@ export declare const useChartContainerProps: (props: ChartContainerProps, ref: R
|
|
|
45
45
|
slots?: Partial<import("../internals").ChartsAxisSlots> | undefined;
|
|
46
46
|
slotProps?: Partial<import("../internals").ChartsAxisSlotProps> | undefined;
|
|
47
47
|
sx?: import("@mui/system").SxProps | undefined;
|
|
48
|
-
tickInterval?:
|
|
49
|
-
tickPlacement?:
|
|
50
|
-
tickLabelPlacement?:
|
|
48
|
+
tickInterval?: "auto" | ((value: any, index: number) => boolean) | any[] | undefined;
|
|
49
|
+
tickPlacement?: "start" | "end" | "middle" | "extremities" | undefined;
|
|
50
|
+
tickLabelPlacement?: "middle" | "tick" | undefined;
|
|
51
51
|
scaleType?: "linear" | "band" | "point" | "log" | "pow" | "sqrt" | "time" | "utc" | undefined;
|
|
52
52
|
colorMap?: import("../models/colorMapping").ContinuousColorConfig<number | Date> | import("../models/colorMapping").PiecewiseColorConfig<number | Date> | import("../models/colorMapping").OrdinalColorConfig<string | number | Date> | undefined;
|
|
53
53
|
hideTooltip?: boolean | undefined;
|
|
54
|
-
domainLimit?:
|
|
54
|
+
domainLimit?: "nice" | "strict" | ((min: number, max: number) => {
|
|
55
55
|
min: number;
|
|
56
56
|
max: number;
|
|
57
|
-
})
|
|
57
|
+
}) | undefined;
|
|
58
58
|
id: import("../internals").AxisId;
|
|
59
59
|
}[];
|
|
60
60
|
yAxis: {
|
|
@@ -72,9 +72,9 @@ export declare const useChartContainerProps: (props: ChartContainerProps, ref: R
|
|
|
72
72
|
disableTicks?: boolean | undefined;
|
|
73
73
|
fill?: string | undefined;
|
|
74
74
|
tickFontSize?: number | undefined;
|
|
75
|
-
tickLabelStyle?: import("..").
|
|
76
|
-
labelStyle?: import("..").
|
|
77
|
-
tickLabelInterval?:
|
|
75
|
+
tickLabelStyle?: import("..").ChartsTextStyle | undefined;
|
|
76
|
+
labelStyle?: import("..").ChartsTextStyle | undefined;
|
|
77
|
+
tickLabelInterval?: "auto" | ((value: any, index: number) => boolean) | undefined;
|
|
78
78
|
labelFontSize?: number | undefined;
|
|
79
79
|
stroke?: string | undefined;
|
|
80
80
|
tickSize?: number | undefined;
|
|
@@ -82,16 +82,16 @@ export declare const useChartContainerProps: (props: ChartContainerProps, ref: R
|
|
|
82
82
|
slots?: Partial<import("../internals").ChartsAxisSlots> | undefined;
|
|
83
83
|
slotProps?: Partial<import("../internals").ChartsAxisSlotProps> | undefined;
|
|
84
84
|
sx?: import("@mui/system").SxProps | undefined;
|
|
85
|
-
tickInterval?:
|
|
86
|
-
tickPlacement?:
|
|
87
|
-
tickLabelPlacement?:
|
|
85
|
+
tickInterval?: "auto" | ((value: any, index: number) => boolean) | any[] | undefined;
|
|
86
|
+
tickPlacement?: "start" | "end" | "middle" | "extremities" | undefined;
|
|
87
|
+
tickLabelPlacement?: "middle" | "tick" | undefined;
|
|
88
88
|
scaleType?: "linear" | "band" | "point" | "log" | "pow" | "sqrt" | "time" | "utc" | undefined;
|
|
89
89
|
colorMap?: import("../models/colorMapping").ContinuousColorConfig<number | Date> | import("../models/colorMapping").PiecewiseColorConfig<number | Date> | import("../models/colorMapping").OrdinalColorConfig<string | number | Date> | undefined;
|
|
90
90
|
hideTooltip?: boolean | undefined;
|
|
91
|
-
domainLimit?:
|
|
91
|
+
domainLimit?: "nice" | "strict" | ((min: number, max: number) => {
|
|
92
92
|
min: number;
|
|
93
93
|
max: number;
|
|
94
|
-
})
|
|
94
|
+
}) | undefined;
|
|
95
95
|
id: import("../internals").AxisId;
|
|
96
96
|
}[];
|
|
97
97
|
};
|
|
@@ -17,9 +17,9 @@ export declare const useDefaultizeAxis: (inXAxis: MakeOptional<AxisConfig<ScaleN
|
|
|
17
17
|
disableTicks?: boolean | undefined;
|
|
18
18
|
fill?: string | undefined;
|
|
19
19
|
tickFontSize?: number | undefined;
|
|
20
|
-
tickLabelStyle?: import("..").
|
|
21
|
-
labelStyle?: import("..").
|
|
22
|
-
tickLabelInterval?:
|
|
20
|
+
tickLabelStyle?: import("..").ChartsTextStyle | undefined;
|
|
21
|
+
labelStyle?: import("..").ChartsTextStyle | undefined;
|
|
22
|
+
tickLabelInterval?: "auto" | ((value: any, index: number) => boolean) | undefined;
|
|
23
23
|
labelFontSize?: number | undefined;
|
|
24
24
|
stroke?: string | undefined;
|
|
25
25
|
tickSize?: number | undefined;
|
|
@@ -27,15 +27,15 @@ export declare const useDefaultizeAxis: (inXAxis: MakeOptional<AxisConfig<ScaleN
|
|
|
27
27
|
slots?: Partial<import("../internals").ChartsAxisSlots> | undefined;
|
|
28
28
|
slotProps?: Partial<import("../internals").ChartsAxisSlotProps> | undefined;
|
|
29
29
|
sx?: import("@mui/system").SxProps | undefined;
|
|
30
|
-
tickInterval?:
|
|
31
|
-
tickPlacement?:
|
|
32
|
-
tickLabelPlacement?:
|
|
30
|
+
tickInterval?: "auto" | ((value: any, index: number) => boolean) | any[] | undefined;
|
|
31
|
+
tickPlacement?: "start" | "end" | "middle" | "extremities" | undefined;
|
|
32
|
+
tickLabelPlacement?: "middle" | "tick" | undefined;
|
|
33
33
|
scaleType?: "linear" | "band" | "point" | "log" | "pow" | "sqrt" | "time" | "utc" | undefined;
|
|
34
34
|
colorMap?: import("../models/colorMapping").ContinuousColorConfig<number | Date> | import("../models/colorMapping").PiecewiseColorConfig<number | Date> | import("../models/colorMapping").OrdinalColorConfig<string | number | Date> | undefined;
|
|
35
35
|
hideTooltip?: boolean | undefined;
|
|
36
|
-
domainLimit?:
|
|
36
|
+
domainLimit?: "nice" | "strict" | ((min: number, max: number) => {
|
|
37
37
|
min: number;
|
|
38
38
|
max: number;
|
|
39
|
-
})
|
|
39
|
+
}) | undefined;
|
|
40
40
|
id: import("../internals").AxisId;
|
|
41
41
|
}[][];
|
package/ChartsTooltip/utils.js
CHANGED
package/Gauge/GaugeProvider.js
CHANGED
|
@@ -377,7 +377,7 @@ export declare const AreaElementPath: import("@emotion/styled").StyledComponent<
|
|
|
377
377
|
writingMode?: import("csstype").Property.WritingMode | undefined;
|
|
378
378
|
zIndex?: import("csstype").Property.ZIndex | undefined;
|
|
379
379
|
zoom?: import("csstype").Property.Zoom | undefined;
|
|
380
|
-
all?: import("csstype").
|
|
380
|
+
all?: import("csstype").Globals | undefined;
|
|
381
381
|
animation?: import("csstype").Property.Animation<string & {}> | undefined;
|
|
382
382
|
animationRange?: import("csstype").Property.AnimationRange<string | number> | undefined;
|
|
383
383
|
background?: import("csstype").Property.Background<string | number> | undefined;
|
|
@@ -377,7 +377,7 @@ export declare const LineElementPath: import("@emotion/styled").StyledComponent<
|
|
|
377
377
|
writingMode?: import("csstype").Property.WritingMode | undefined;
|
|
378
378
|
zIndex?: import("csstype").Property.ZIndex | undefined;
|
|
379
379
|
zoom?: import("csstype").Property.Zoom | undefined;
|
|
380
|
-
all?: import("csstype").
|
|
380
|
+
all?: import("csstype").Globals | undefined;
|
|
381
381
|
animation?: import("csstype").Property.Animation<string & {}> | undefined;
|
|
382
382
|
animationRange?: import("csstype").Property.AnimationRange<string | number> | undefined;
|
|
383
383
|
background?: import("csstype").Property.Background<string | number> | undefined;
|
|
@@ -16,9 +16,9 @@ export declare const defaultizeAxis: (inAxis: MakeOptional<AxisConfig<ScaleName,
|
|
|
16
16
|
disableTicks?: boolean | undefined;
|
|
17
17
|
fill?: string | undefined;
|
|
18
18
|
tickFontSize?: number | undefined;
|
|
19
|
-
tickLabelStyle?: import("../..").
|
|
20
|
-
labelStyle?: import("../..").
|
|
21
|
-
tickLabelInterval?:
|
|
19
|
+
tickLabelStyle?: import("../..").ChartsTextStyle | undefined;
|
|
20
|
+
labelStyle?: import("../..").ChartsTextStyle | undefined;
|
|
21
|
+
tickLabelInterval?: "auto" | ((value: any, index: number) => boolean) | undefined;
|
|
22
22
|
labelFontSize?: number | undefined;
|
|
23
23
|
stroke?: string | undefined;
|
|
24
24
|
tickSize?: number | undefined;
|
|
@@ -26,15 +26,15 @@ export declare const defaultizeAxis: (inAxis: MakeOptional<AxisConfig<ScaleName,
|
|
|
26
26
|
slots?: Partial<import("../../internals").ChartsAxisSlots> | undefined;
|
|
27
27
|
slotProps?: Partial<import("../../internals").ChartsAxisSlotProps> | undefined;
|
|
28
28
|
sx?: import("@mui/system").SxProps | undefined;
|
|
29
|
-
tickInterval?:
|
|
30
|
-
tickPlacement?:
|
|
31
|
-
tickLabelPlacement?:
|
|
29
|
+
tickInterval?: "auto" | ((value: any, index: number) => boolean) | any[] | undefined;
|
|
30
|
+
tickPlacement?: "start" | "end" | "middle" | "extremities" | undefined;
|
|
31
|
+
tickLabelPlacement?: "middle" | "tick" | undefined;
|
|
32
32
|
scaleType?: "linear" | "band" | "point" | "log" | "pow" | "sqrt" | "time" | "utc" | undefined;
|
|
33
33
|
colorMap?: import("../../models/colorMapping").ContinuousColorConfig<number | Date> | import("../../models/colorMapping").PiecewiseColorConfig<number | Date> | import("../../models/colorMapping").OrdinalColorConfig<string | number | Date> | undefined;
|
|
34
34
|
hideTooltip?: boolean | undefined;
|
|
35
|
-
domainLimit?:
|
|
35
|
+
domainLimit?: "nice" | "strict" | ((min: number, max: number) => {
|
|
36
36
|
min: number;
|
|
37
37
|
max: number;
|
|
38
|
-
})
|
|
38
|
+
}) | undefined;
|
|
39
39
|
id: import("../../internals").AxisId;
|
|
40
40
|
}[];
|
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AllSeriesType } from '../models/seriesType';
|
|
2
2
|
export declare function defaultizeColor(series: AllSeriesType, seriesIndex: number, colors?: string[]): {
|
|
3
3
|
data: {
|
|
4
|
-
label?:
|
|
4
|
+
label?: string | ((location: "tooltip" | "legend" | "arc") => string) | undefined;
|
|
5
5
|
color: string;
|
|
6
6
|
value: number;
|
|
7
7
|
id?: import("..").PieItemId | undefined;
|
package/modern/index.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
'use client';
|
|
2
3
|
|
|
4
|
+
// @ignore - do not document.
|
|
3
5
|
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
6
|
Object.defineProperty(exports, "__esModule", {
|
|
5
7
|
value: true
|
|
@@ -12,8 +14,6 @@ var _getPercentageValue = require("../internals/getPercentageValue");
|
|
|
12
14
|
var _utils = require("./utils");
|
|
13
15
|
var _useDrawingArea = require("../hooks/useDrawingArea");
|
|
14
16
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
-
// @ignore - do not document.
|
|
16
|
-
|
|
17
17
|
const GaugeContext = exports.GaugeContext = /*#__PURE__*/React.createContext({
|
|
18
18
|
value: null,
|
|
19
19
|
valueMin: 0,
|
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-charts",
|
|
3
|
-
"version": "7.29.
|
|
3
|
+
"version": "7.29.1",
|
|
4
4
|
"description": "The community edition of the Charts components (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"@react-spring/web": "^9.7.5",
|
|
36
36
|
"clsx": "^2.1.1",
|
|
37
37
|
"prop-types": "^15.8.1",
|
|
38
|
-
"@mui/x-
|
|
39
|
-
"@mui/x-
|
|
38
|
+
"@mui/x-charts-vendor": "7.20.0",
|
|
39
|
+
"@mui/x-internals": "7.29.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@emotion/react": "^11.9.0",
|