@mui/x-data-grid-premium 7.23.1 → 7.23.3
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 +129 -0
- package/DataGridPremium/DataGridPremium.js +3 -1
- package/esm/DataGridPremium/DataGridPremium.js +3 -1
- package/esm/hooks/features/rowGrouping/createGroupingColDef.js +2 -0
- package/esm/utils/releaseInfo.js +1 -1
- package/hooks/features/rowGrouping/createGroupingColDef.js +2 -0
- package/index.js +1 -1
- package/modern/DataGridPremium/DataGridPremium.js +3 -1
- package/modern/hooks/features/rowGrouping/createGroupingColDef.js +2 -0
- package/modern/index.js +1 -1
- package/modern/utils/releaseInfo.js +1 -1
- package/package.json +5 -5
- package/utils/releaseInfo.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,135 @@
|
|
|
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.3
|
|
7
|
+
|
|
8
|
+
_Dec 19, 2024_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🌍 Improve Korean (ko-KR) locale on the Data Grid
|
|
13
|
+
- 🐞 Bugfixes
|
|
14
|
+
|
|
15
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
16
|
+
@k-rajat19, @good-jinu.
|
|
17
|
+
Following are all team members who have contributed to this release:
|
|
18
|
+
@KenanYusuf, @MBilalShafi, @arminmeh, @flaviendelangle.
|
|
19
|
+
|
|
20
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
21
|
+
|
|
22
|
+
### Data Grid
|
|
23
|
+
|
|
24
|
+
#### `@mui/x-data-grid@7.23.3`
|
|
25
|
+
|
|
26
|
+
- [DataGrid] Allow passing custom props to `.main` element (#15919) @MBilalShafi
|
|
27
|
+
- [DataGrid] Consider `columnGroupHeaderHeight` prop in `getTotalHeaderHeight` method (#15927) @k-rajat19
|
|
28
|
+
- [DataGrid] Deprecate `indeterminateCheckboxAction` prop (#15862) @MBilalShafi
|
|
29
|
+
- [DataGrid] Fix `aria-label` value for group checkboxes (#15861) @MBilalShafi
|
|
30
|
+
- [DataGrid] Fix autosizing with virtualized columns (#15929) @k-rajat19
|
|
31
|
+
- [DataGrid] Round dimensions to avoid subpixel rendering error (#15873) @KenanYusuf
|
|
32
|
+
- [DataGrid] Toggle menu on click in `<GridActionsCell />` (#15871) @k-rajat19
|
|
33
|
+
- [DataGrid] Trigger row spanning computation on rows update (#15872) @MBilalShafi
|
|
34
|
+
- [l10n] Improve Korean (ko-KR) locale (#15906) @good-jinu
|
|
35
|
+
|
|
36
|
+
#### `@mui/x-data-grid-pro@7.23.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
37
|
+
|
|
38
|
+
Same changes as in `@mui/x-data-grid@7.23.3`.
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-data-grid-premium@7.23.3` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
41
|
+
|
|
42
|
+
Same changes as in `@mui/x-data-grid-pro@7.23.3`.
|
|
43
|
+
|
|
44
|
+
### Date and Time Pickers
|
|
45
|
+
|
|
46
|
+
#### `@mui/x-date-pickers@7.23.3`
|
|
47
|
+
|
|
48
|
+
- [pickers] Add verification to disable skipped hours in spring forward DST (#15918) @flaviendelangle
|
|
49
|
+
|
|
50
|
+
#### `@mui/x-date-pickers-pro@7.23.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
51
|
+
|
|
52
|
+
Same changes as in `@mui/x-date-pickers@7.23.3`.
|
|
53
|
+
|
|
54
|
+
## 7.23.2
|
|
55
|
+
|
|
56
|
+
_Dec 12, 2024_
|
|
57
|
+
|
|
58
|
+
We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
|
|
59
|
+
|
|
60
|
+
- 🌍 Improve Romanian and Turkish locales on the Data Grid
|
|
61
|
+
- 🌍 Improve Romanian locale on the Pickers
|
|
62
|
+
- 📚 Documentation improvements
|
|
63
|
+
- 🐞 Bugfixes
|
|
64
|
+
|
|
65
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
66
|
+
@ihsanberkozcan, @k-rajat19, @lhilgert9, @nusr, @rares985.
|
|
67
|
+
|
|
68
|
+
Following are all team members who have contributed to this release:
|
|
69
|
+
@alexfauquette, @arminmeh, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy.
|
|
70
|
+
|
|
71
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
72
|
+
|
|
73
|
+
### Data Grid
|
|
74
|
+
|
|
75
|
+
#### `@mui/x-data-grid@7.23.2`
|
|
76
|
+
|
|
77
|
+
- [DataGrid] Fix "No rows" displaying when all rows are pinned (#15851) @nusr
|
|
78
|
+
- [DataGrid] Use `columnsManagement` slot (#15821) @k-rajat19
|
|
79
|
+
- [l10n] Improve Romanian (ro-RO) locale (#15751) @rares985
|
|
80
|
+
- [l10n] Improve Turkish (tr-TR) locale (#15748) @ihsanberkozcan
|
|
81
|
+
|
|
82
|
+
#### `@mui/x-data-grid-pro@7.23.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
83
|
+
|
|
84
|
+
Same changes as in `@mui/x-data-grid@7.23.2`, plus:
|
|
85
|
+
|
|
86
|
+
- [DataGridPro] Make Row reordering work with pagination (#15782) @k-rajat19
|
|
87
|
+
|
|
88
|
+
#### `@mui/x-data-grid-premium@7.23.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
89
|
+
|
|
90
|
+
Same changes as in `@mui/x-data-grid-pro@7.23.2`, plus:
|
|
91
|
+
|
|
92
|
+
- [DataGridPremium] Fix group column ignoring `valueOptions` for `singleSelect` column type (#15754) @arminmeh
|
|
93
|
+
|
|
94
|
+
### Date and Time Pickers
|
|
95
|
+
|
|
96
|
+
#### `@mui/x-date-pickers@7.23.2`
|
|
97
|
+
|
|
98
|
+
- [l10n] Improve Romanian (ro-RO) locale (#15751) @rares985
|
|
99
|
+
|
|
100
|
+
#### `@mui/x-date-pickers-pro@7.23.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
101
|
+
|
|
102
|
+
Same changes as in `@mui/x-date-pickers@7.23.2`.
|
|
103
|
+
|
|
104
|
+
### Charts
|
|
105
|
+
|
|
106
|
+
#### `@mui/x-charts@7.23.2`
|
|
107
|
+
|
|
108
|
+
- [charts] Fix key generation for the ChartsGrid (#15864) @alexfauquette
|
|
109
|
+
- [charts] Fix scatter dataset with missing data (#15804) @alexfauquette
|
|
110
|
+
|
|
111
|
+
#### `@mui/x-charts-pro@7.23.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
112
|
+
|
|
113
|
+
Same changes as in `@mui/x-charts@7.23.2`.
|
|
114
|
+
|
|
115
|
+
#### `@mui/x-tree-view@v7.23.2`
|
|
116
|
+
|
|
117
|
+
No changes, releasing to keep the versions in sync.
|
|
118
|
+
|
|
119
|
+
#### `@mui/x-tree-view-pro@7.23.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
120
|
+
|
|
121
|
+
Releasing to benefit from license package fix (#15818).
|
|
122
|
+
|
|
123
|
+
### Docs
|
|
124
|
+
|
|
125
|
+
- [docs] Fix typo in charts axis documentation (#15746) @JCQuintas
|
|
126
|
+
- [docs] Improve Pickers accessible DOM structure description (#15752) @LukasTy
|
|
127
|
+
- [docs] Use `updateRows` method for list view demos (#15824) @KenanYusuf
|
|
128
|
+
- [docs] Use date library version from package dev dependencies for sandboxes (#15767) @LukasTy
|
|
129
|
+
|
|
130
|
+
### Core
|
|
131
|
+
|
|
132
|
+
- [core] Add `@mui/x-tree-view-pro` to `releaseChangelog` (#15747) @flaviendelangle
|
|
133
|
+
- [license] Use `console.log` for the error message on Codesandbox to avoid rendering error (#15818) @arminmeh
|
|
134
|
+
|
|
6
135
|
## 7.23.1
|
|
7
136
|
|
|
8
137
|
_Dec 5, 2024_
|
|
@@ -46,7 +46,7 @@ const DataGridPremiumRaw = /*#__PURE__*/React.forwardRef(function DataGridPremiu
|
|
|
46
46
|
style: props.style,
|
|
47
47
|
sx: props.sx,
|
|
48
48
|
ref: ref
|
|
49
|
-
}, props.forwardedProps, {
|
|
49
|
+
}, props.forwardedProps, props.slotProps?.root, {
|
|
50
50
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_xDataGridPro.GridHeader, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_xDataGridPro.GridBody, {
|
|
51
51
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_xLicense.Watermark, {
|
|
52
52
|
packageName: "x-data-grid-premium",
|
|
@@ -116,6 +116,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
116
116
|
*/
|
|
117
117
|
autosizeOptions: _propTypes.default.shape({
|
|
118
118
|
columns: _propTypes.default.arrayOf(_propTypes.default.string),
|
|
119
|
+
disableColumnVirtualization: _propTypes.default.bool,
|
|
119
120
|
expand: _propTypes.default.bool,
|
|
120
121
|
includeHeaders: _propTypes.default.bool,
|
|
121
122
|
includeOutliers: _propTypes.default.bool,
|
|
@@ -465,6 +466,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
465
466
|
* If `deselect`, it will deselect all the rows under it.
|
|
466
467
|
* Works only if `checkboxSelection` is enabled.
|
|
467
468
|
* @default "deselect"
|
|
469
|
+
* @deprecated `select` will be the default behavior from v8 onwards
|
|
468
470
|
*/
|
|
469
471
|
indeterminateCheckboxAction: _propTypes.default.oneOf(['deselect', 'select']),
|
|
470
472
|
/**
|
|
@@ -39,7 +39,7 @@ const DataGridPremiumRaw = /*#__PURE__*/React.forwardRef(function DataGridPremiu
|
|
|
39
39
|
style: props.style,
|
|
40
40
|
sx: props.sx,
|
|
41
41
|
ref: ref
|
|
42
|
-
}, props.forwardedProps, {
|
|
42
|
+
}, props.forwardedProps, props.slotProps?.root, {
|
|
43
43
|
children: [/*#__PURE__*/_jsx(GridHeader, {}), /*#__PURE__*/_jsx(GridBody, {
|
|
44
44
|
children: /*#__PURE__*/_jsx(Watermark, {
|
|
45
45
|
packageName: "x-data-grid-premium",
|
|
@@ -109,6 +109,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
109
109
|
*/
|
|
110
110
|
autosizeOptions: PropTypes.shape({
|
|
111
111
|
columns: PropTypes.arrayOf(PropTypes.string),
|
|
112
|
+
disableColumnVirtualization: PropTypes.bool,
|
|
112
113
|
expand: PropTypes.bool,
|
|
113
114
|
includeHeaders: PropTypes.bool,
|
|
114
115
|
includeOutliers: PropTypes.bool,
|
|
@@ -458,6 +459,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
458
459
|
* If `deselect`, it will deselect all the rows under it.
|
|
459
460
|
* Works only if `checkboxSelection` is enabled.
|
|
460
461
|
* @default "deselect"
|
|
462
|
+
* @deprecated `select` will be the default behavior from v8 onwards
|
|
461
463
|
*/
|
|
462
464
|
indeterminateCheckboxAction: PropTypes.oneOf(['deselect', 'select']),
|
|
463
465
|
/**
|
|
@@ -63,10 +63,12 @@ const getLeafProperties = leafColDef => ({
|
|
|
63
63
|
return groupingFieldIndexComparator(v1, v2, cellParams1, cellParams2);
|
|
64
64
|
}
|
|
65
65
|
});
|
|
66
|
+
const groupedByColValueFormatter = groupedByColDef => (value, row, _, apiRef) => groupedByColDef.valueFormatter(value, row, groupedByColDef, apiRef);
|
|
66
67
|
const getGroupingCriteriaProperties = (groupedByColDef, applyHeaderName) => {
|
|
67
68
|
const properties = {
|
|
68
69
|
sortable: groupedByColDef.sortable,
|
|
69
70
|
filterable: groupedByColDef.filterable,
|
|
71
|
+
valueFormatter: groupedByColDef.valueFormatter ? groupedByColValueFormatter(groupedByColDef) : undefined,
|
|
70
72
|
valueOptions: isSingleSelectColDef(groupedByColDef) ? groupedByColDef.valueOptions : undefined,
|
|
71
73
|
sortComparator: (v1, v2, cellParams1, cellParams2) => {
|
|
72
74
|
// We only want to sort the groups of the current grouping criteria
|
package/esm/utils/releaseInfo.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTczNDU2NjQwMDAwMA==";
|
|
4
4
|
if (process.env.NODE_ENV !== 'production') {
|
|
5
5
|
// A simple hack to set the value in the test environment (has no build step).
|
|
6
6
|
// eslint-disable-next-line no-useless-concat
|
|
@@ -71,10 +71,12 @@ const getLeafProperties = leafColDef => ({
|
|
|
71
71
|
return groupingFieldIndexComparator(v1, v2, cellParams1, cellParams2);
|
|
72
72
|
}
|
|
73
73
|
});
|
|
74
|
+
const groupedByColValueFormatter = groupedByColDef => (value, row, _, apiRef) => groupedByColDef.valueFormatter(value, row, groupedByColDef, apiRef);
|
|
74
75
|
const getGroupingCriteriaProperties = (groupedByColDef, applyHeaderName) => {
|
|
75
76
|
const properties = {
|
|
76
77
|
sortable: groupedByColDef.sortable,
|
|
77
78
|
filterable: groupedByColDef.filterable,
|
|
79
|
+
valueFormatter: groupedByColDef.valueFormatter ? groupedByColValueFormatter(groupedByColDef) : undefined,
|
|
78
80
|
valueOptions: (0, _internals.isSingleSelectColDef)(groupedByColDef) ? groupedByColDef.valueOptions : undefined,
|
|
79
81
|
sortComparator: (v1, v2, cellParams1, cellParams2) => {
|
|
80
82
|
// We only want to sort the groups of the current grouping criteria
|
package/index.js
CHANGED
|
@@ -39,7 +39,7 @@ const DataGridPremiumRaw = /*#__PURE__*/React.forwardRef(function DataGridPremiu
|
|
|
39
39
|
style: props.style,
|
|
40
40
|
sx: props.sx,
|
|
41
41
|
ref: ref
|
|
42
|
-
}, props.forwardedProps, {
|
|
42
|
+
}, props.forwardedProps, props.slotProps?.root, {
|
|
43
43
|
children: [/*#__PURE__*/_jsx(GridHeader, {}), /*#__PURE__*/_jsx(GridBody, {
|
|
44
44
|
children: /*#__PURE__*/_jsx(Watermark, {
|
|
45
45
|
packageName: "x-data-grid-premium",
|
|
@@ -109,6 +109,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
109
109
|
*/
|
|
110
110
|
autosizeOptions: PropTypes.shape({
|
|
111
111
|
columns: PropTypes.arrayOf(PropTypes.string),
|
|
112
|
+
disableColumnVirtualization: PropTypes.bool,
|
|
112
113
|
expand: PropTypes.bool,
|
|
113
114
|
includeHeaders: PropTypes.bool,
|
|
114
115
|
includeOutliers: PropTypes.bool,
|
|
@@ -458,6 +459,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
458
459
|
* If `deselect`, it will deselect all the rows under it.
|
|
459
460
|
* Works only if `checkboxSelection` is enabled.
|
|
460
461
|
* @default "deselect"
|
|
462
|
+
* @deprecated `select` will be the default behavior from v8 onwards
|
|
461
463
|
*/
|
|
462
464
|
indeterminateCheckboxAction: PropTypes.oneOf(['deselect', 'select']),
|
|
463
465
|
/**
|
|
@@ -63,10 +63,12 @@ const getLeafProperties = leafColDef => ({
|
|
|
63
63
|
return groupingFieldIndexComparator(v1, v2, cellParams1, cellParams2);
|
|
64
64
|
}
|
|
65
65
|
});
|
|
66
|
+
const groupedByColValueFormatter = groupedByColDef => (value, row, _, apiRef) => groupedByColDef.valueFormatter(value, row, groupedByColDef, apiRef);
|
|
66
67
|
const getGroupingCriteriaProperties = (groupedByColDef, applyHeaderName) => {
|
|
67
68
|
const properties = {
|
|
68
69
|
sortable: groupedByColDef.sortable,
|
|
69
70
|
filterable: groupedByColDef.filterable,
|
|
71
|
+
valueFormatter: groupedByColDef.valueFormatter ? groupedByColValueFormatter(groupedByColDef) : undefined,
|
|
70
72
|
valueOptions: isSingleSelectColDef(groupedByColDef) ? groupedByColDef.valueOptions : undefined,
|
|
71
73
|
sortComparator: (v1, v2, cellParams1, cellParams2) => {
|
|
72
74
|
// We only want to sort the groups of the current grouping criteria
|
package/modern/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTczNDU2NjQwMDAwMA==";
|
|
4
4
|
if (process.env.NODE_ENV !== 'production') {
|
|
5
5
|
// A simple hack to set the value in the test environment (has no build step).
|
|
6
6
|
// eslint-disable-next-line no-useless-concat
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid-premium",
|
|
3
|
-
"version": "7.23.
|
|
3
|
+
"version": "7.23.3",
|
|
4
4
|
"description": "The Premium plan edition of the Data Grid Components (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"exceljs": "^4.4.0",
|
|
41
41
|
"prop-types": "^15.8.1",
|
|
42
42
|
"reselect": "^5.1.1",
|
|
43
|
-
"@mui/x-
|
|
44
|
-
"@mui/x-
|
|
45
|
-
"@mui/x-data-grid": "7.23.
|
|
46
|
-
"@mui/x-
|
|
43
|
+
"@mui/x-data-grid": "7.23.3",
|
|
44
|
+
"@mui/x-license": "7.23.2",
|
|
45
|
+
"@mui/x-data-grid-pro": "7.23.3",
|
|
46
|
+
"@mui/x-internals": "7.23.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@emotion/react": "^11.9.0",
|
package/utils/releaseInfo.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.getReleaseInfo = void 0;
|
|
7
7
|
var _utils = require("@mui/utils");
|
|
8
8
|
const getReleaseInfo = () => {
|
|
9
|
-
const releaseInfo = "
|
|
9
|
+
const releaseInfo = "MTczNDU2NjQwMDAwMA==";
|
|
10
10
|
if (process.env.NODE_ENV !== 'production') {
|
|
11
11
|
// A simple hack to set the value in the test environment (has no build step).
|
|
12
12
|
// eslint-disable-next-line no-useless-concat
|