@mui/x-charts 7.23.1 → 7.23.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.
- package/CHANGELOG.md +81 -0
- package/ChartsGrid/ChartsHorizontalGrid.js +2 -2
- package/ChartsGrid/ChartsVerticalGrid.js +2 -2
- package/ScatterChart/extremums.js +1 -3
- package/ScatterChart/formatter.js +2 -2
- package/index.js +1 -1
- package/modern/ChartsGrid/ChartsHorizontalGrid.js +2 -2
- package/modern/ChartsGrid/ChartsVerticalGrid.js +2 -2
- package/modern/ScatterChart/extremums.js +1 -3
- package/modern/ScatterChart/formatter.js +2 -2
- package/modern/index.js +1 -1
- package/node/ChartsGrid/ChartsHorizontalGrid.js +2 -2
- package/node/ChartsGrid/ChartsVerticalGrid.js +2 -2
- package/node/ScatterChart/extremums.js +1 -3
- package/node/ScatterChart/formatter.js +2 -2
- package/node/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,87 @@
|
|
|
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.23.2
|
|
7
|
+
|
|
8
|
+
_Dec 12, 2024_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🌍 Improve Romanian and Turkish locales on the Data Grid
|
|
13
|
+
- 🌍 Improve Romanian locale on the Pickers
|
|
14
|
+
- 📚 Documentation improvements
|
|
15
|
+
- 🐞 Bugfixes
|
|
16
|
+
|
|
17
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
18
|
+
@ihsanberkozcan, @k-rajat19, @lhilgert9, @nusr, @rares985.
|
|
19
|
+
|
|
20
|
+
Following are all team members who have contributed to this release:
|
|
21
|
+
@alexfauquette, @arminmeh, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy.
|
|
22
|
+
|
|
23
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
24
|
+
|
|
25
|
+
### Data Grid
|
|
26
|
+
|
|
27
|
+
#### `@mui/x-data-grid@7.23.2`
|
|
28
|
+
|
|
29
|
+
- [DataGrid] Fix "No rows" displaying when all rows are pinned (#15851) @nusr
|
|
30
|
+
- [DataGrid] Use `columnsManagement` slot (#15821) @k-rajat19
|
|
31
|
+
- [l10n] Improve Romanian (ro-RO) locale (#15751) @rares985
|
|
32
|
+
- [l10n] Improve Turkish (tr-TR) locale (#15748) @ihsanberkozcan
|
|
33
|
+
|
|
34
|
+
#### `@mui/x-data-grid-pro@7.23.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
35
|
+
|
|
36
|
+
Same changes as in `@mui/x-data-grid@7.23.2`, plus:
|
|
37
|
+
|
|
38
|
+
- [DataGridPro] Make Row reordering work with pagination (#15782) @k-rajat19
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-data-grid-premium@7.23.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
41
|
+
|
|
42
|
+
Same changes as in `@mui/x-data-grid-pro@7.23.2`, plus:
|
|
43
|
+
|
|
44
|
+
- [DataGridPremium] Fix group column ignoring `valueOptions` for `singleSelect` column type (#15754) @arminmeh
|
|
45
|
+
|
|
46
|
+
### Date and Time Pickers
|
|
47
|
+
|
|
48
|
+
#### `@mui/x-date-pickers@7.23.2`
|
|
49
|
+
|
|
50
|
+
- [l10n] Improve Romanian (ro-RO) locale (#15751) @rares985
|
|
51
|
+
|
|
52
|
+
#### `@mui/x-date-pickers-pro@7.23.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
53
|
+
|
|
54
|
+
Same changes as in `@mui/x-date-pickers@7.23.2`.
|
|
55
|
+
|
|
56
|
+
### Charts
|
|
57
|
+
|
|
58
|
+
#### `@mui/x-charts@7.23.2`
|
|
59
|
+
|
|
60
|
+
- [charts] Fix key generation for the ChartsGrid (#15864) @alexfauquette
|
|
61
|
+
- [charts] Fix scatter dataset with missing data (#15804) @alexfauquette
|
|
62
|
+
|
|
63
|
+
#### `@mui/x-charts-pro@7.23.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
64
|
+
|
|
65
|
+
Same changes as in `@mui/x-charts@7.23.2`.
|
|
66
|
+
|
|
67
|
+
#### `@mui/x-tree-view@v7.23.2`
|
|
68
|
+
|
|
69
|
+
No changes, releasing to keep the versions in sync.
|
|
70
|
+
|
|
71
|
+
#### `@mui/x-tree-view-pro@7.23.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
72
|
+
|
|
73
|
+
Releasing to benefit from license package fix (#15818).
|
|
74
|
+
|
|
75
|
+
### Docs
|
|
76
|
+
|
|
77
|
+
- [docs] Fix typo in charts axis documentation (#15746) @JCQuintas
|
|
78
|
+
- [docs] Improve Pickers accessible DOM structure description (#15752) @LukasTy
|
|
79
|
+
- [docs] Use `updateRows` method for list view demos (#15824) @KenanYusuf
|
|
80
|
+
- [docs] Use date library version from package dev dependencies for sandboxes (#15767) @LukasTy
|
|
81
|
+
|
|
82
|
+
### Core
|
|
83
|
+
|
|
84
|
+
- [core] Add `@mui/x-tree-view-pro` to `releaseChangelog` (#15747) @flaviendelangle
|
|
85
|
+
- [license] Use `console.log` for the error message on Codesandbox to avoid rendering error (#15818) @arminmeh
|
|
86
|
+
|
|
6
87
|
## 7.23.1
|
|
7
88
|
|
|
8
89
|
_Dec 5, 2024_
|
|
@@ -23,7 +23,7 @@ export function ChartsGridHorizontal(props) {
|
|
|
23
23
|
});
|
|
24
24
|
return /*#__PURE__*/_jsx(React.Fragment, {
|
|
25
25
|
children: yTicks.map(({
|
|
26
|
-
|
|
26
|
+
value,
|
|
27
27
|
offset
|
|
28
28
|
}) => /*#__PURE__*/_jsx(GridLine, {
|
|
29
29
|
y1: offset,
|
|
@@ -31,6 +31,6 @@ export function ChartsGridHorizontal(props) {
|
|
|
31
31
|
x1: drawingArea.left,
|
|
32
32
|
x2: drawingArea.left + drawingArea.width,
|
|
33
33
|
className: classes.horizontalLine
|
|
34
|
-
}, `horizontal-${
|
|
34
|
+
}, `horizontal-${value}`))
|
|
35
35
|
});
|
|
36
36
|
}
|
|
@@ -23,7 +23,7 @@ export function ChartsGridVertical(props) {
|
|
|
23
23
|
});
|
|
24
24
|
return /*#__PURE__*/_jsx(React.Fragment, {
|
|
25
25
|
children: xTicks.map(({
|
|
26
|
-
|
|
26
|
+
value,
|
|
27
27
|
offset
|
|
28
28
|
}) => /*#__PURE__*/_jsx(GridLine, {
|
|
29
29
|
y1: drawingArea.top,
|
|
@@ -31,6 +31,6 @@ export function ChartsGridVertical(props) {
|
|
|
31
31
|
x1: offset,
|
|
32
32
|
x2: offset,
|
|
33
33
|
className: classes.verticalLine
|
|
34
|
-
}, `vertical-${
|
|
34
|
+
}, `vertical-${value}`))
|
|
35
35
|
});
|
|
36
36
|
}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
const mergeMinMax = (acc, val) =>
|
|
2
|
-
return [Math.min(acc[0], val[0]), Math.max(acc[1], val[1])];
|
|
3
|
-
};
|
|
1
|
+
const mergeMinMax = (acc, val) => [val[0] === null ? acc[0] : Math.min(acc[0], val[0]), val[1] === null ? acc[1] : Math.max(acc[1], val[1])];
|
|
4
2
|
export const getExtremumX = params => {
|
|
5
3
|
const {
|
|
6
4
|
series,
|
|
@@ -11,8 +11,8 @@ const formatter = ({
|
|
|
11
11
|
}
|
|
12
12
|
const data = !datasetKeys ? seriesData.data ?? [] : dataset?.map(d => {
|
|
13
13
|
return {
|
|
14
|
-
x: d[datasetKeys.x],
|
|
15
|
-
y: d[datasetKeys.y],
|
|
14
|
+
x: d[datasetKeys.x] ?? null,
|
|
15
|
+
y: d[datasetKeys.y] ?? null,
|
|
16
16
|
z: datasetKeys.z && d[datasetKeys.z],
|
|
17
17
|
id: d[datasetKeys.id]
|
|
18
18
|
};
|
package/index.js
CHANGED
|
@@ -23,7 +23,7 @@ export function ChartsGridHorizontal(props) {
|
|
|
23
23
|
});
|
|
24
24
|
return /*#__PURE__*/_jsx(React.Fragment, {
|
|
25
25
|
children: yTicks.map(({
|
|
26
|
-
|
|
26
|
+
value,
|
|
27
27
|
offset
|
|
28
28
|
}) => /*#__PURE__*/_jsx(GridLine, {
|
|
29
29
|
y1: offset,
|
|
@@ -31,6 +31,6 @@ export function ChartsGridHorizontal(props) {
|
|
|
31
31
|
x1: drawingArea.left,
|
|
32
32
|
x2: drawingArea.left + drawingArea.width,
|
|
33
33
|
className: classes.horizontalLine
|
|
34
|
-
}, `horizontal-${
|
|
34
|
+
}, `horizontal-${value}`))
|
|
35
35
|
});
|
|
36
36
|
}
|
|
@@ -23,7 +23,7 @@ export function ChartsGridVertical(props) {
|
|
|
23
23
|
});
|
|
24
24
|
return /*#__PURE__*/_jsx(React.Fragment, {
|
|
25
25
|
children: xTicks.map(({
|
|
26
|
-
|
|
26
|
+
value,
|
|
27
27
|
offset
|
|
28
28
|
}) => /*#__PURE__*/_jsx(GridLine, {
|
|
29
29
|
y1: drawingArea.top,
|
|
@@ -31,6 +31,6 @@ export function ChartsGridVertical(props) {
|
|
|
31
31
|
x1: offset,
|
|
32
32
|
x2: offset,
|
|
33
33
|
className: classes.verticalLine
|
|
34
|
-
}, `vertical-${
|
|
34
|
+
}, `vertical-${value}`))
|
|
35
35
|
});
|
|
36
36
|
}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
const mergeMinMax = (acc, val) =>
|
|
2
|
-
return [Math.min(acc[0], val[0]), Math.max(acc[1], val[1])];
|
|
3
|
-
};
|
|
1
|
+
const mergeMinMax = (acc, val) => [val[0] === null ? acc[0] : Math.min(acc[0], val[0]), val[1] === null ? acc[1] : Math.max(acc[1], val[1])];
|
|
4
2
|
export const getExtremumX = params => {
|
|
5
3
|
const {
|
|
6
4
|
series,
|
|
@@ -11,8 +11,8 @@ const formatter = ({
|
|
|
11
11
|
}
|
|
12
12
|
const data = !datasetKeys ? seriesData.data ?? [] : dataset?.map(d => {
|
|
13
13
|
return {
|
|
14
|
-
x: d[datasetKeys.x],
|
|
15
|
-
y: d[datasetKeys.y],
|
|
14
|
+
x: d[datasetKeys.x] ?? null,
|
|
15
|
+
y: d[datasetKeys.y] ?? null,
|
|
16
16
|
z: datasetKeys.z && d[datasetKeys.z],
|
|
17
17
|
id: d[datasetKeys.id]
|
|
18
18
|
};
|
package/modern/index.js
CHANGED
|
@@ -30,7 +30,7 @@ function ChartsGridHorizontal(props) {
|
|
|
30
30
|
});
|
|
31
31
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(React.Fragment, {
|
|
32
32
|
children: yTicks.map(({
|
|
33
|
-
|
|
33
|
+
value,
|
|
34
34
|
offset
|
|
35
35
|
}) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_styledCommonents.GridLine, {
|
|
36
36
|
y1: offset,
|
|
@@ -38,6 +38,6 @@ function ChartsGridHorizontal(props) {
|
|
|
38
38
|
x1: drawingArea.left,
|
|
39
39
|
x2: drawingArea.left + drawingArea.width,
|
|
40
40
|
className: classes.horizontalLine
|
|
41
|
-
}, `horizontal-${
|
|
41
|
+
}, `horizontal-${value}`))
|
|
42
42
|
});
|
|
43
43
|
}
|
|
@@ -30,7 +30,7 @@ function ChartsGridVertical(props) {
|
|
|
30
30
|
});
|
|
31
31
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(React.Fragment, {
|
|
32
32
|
children: xTicks.map(({
|
|
33
|
-
|
|
33
|
+
value,
|
|
34
34
|
offset
|
|
35
35
|
}) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_styledCommonents.GridLine, {
|
|
36
36
|
y1: drawingArea.top,
|
|
@@ -38,6 +38,6 @@ function ChartsGridVertical(props) {
|
|
|
38
38
|
x1: offset,
|
|
39
39
|
x2: offset,
|
|
40
40
|
className: classes.verticalLine
|
|
41
|
-
}, `vertical-${
|
|
41
|
+
}, `vertical-${value}`))
|
|
42
42
|
});
|
|
43
43
|
}
|
|
@@ -4,9 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.getExtremumY = exports.getExtremumX = void 0;
|
|
7
|
-
const mergeMinMax = (acc, val) =>
|
|
8
|
-
return [Math.min(acc[0], val[0]), Math.max(acc[1], val[1])];
|
|
9
|
-
};
|
|
7
|
+
const mergeMinMax = (acc, val) => [val[0] === null ? acc[0] : Math.min(acc[0], val[0]), val[1] === null ? acc[1] : Math.max(acc[1], val[1])];
|
|
10
8
|
const getExtremumX = params => {
|
|
11
9
|
const {
|
|
12
10
|
series,
|
|
@@ -18,8 +18,8 @@ const formatter = ({
|
|
|
18
18
|
}
|
|
19
19
|
const data = !datasetKeys ? seriesData.data ?? [] : dataset?.map(d => {
|
|
20
20
|
return {
|
|
21
|
-
x: d[datasetKeys.x],
|
|
22
|
-
y: d[datasetKeys.y],
|
|
21
|
+
x: d[datasetKeys.x] ?? null,
|
|
22
|
+
y: d[datasetKeys.y] ?? null,
|
|
23
23
|
z: datasetKeys.z && d[datasetKeys.z],
|
|
24
24
|
id: d[datasetKeys.id]
|
|
25
25
|
};
|
package/node/index.js
CHANGED