@mui/x-data-grid-premium 7.28.2 → 7.28.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 +44 -0
- package/components/GridDataSourceGroupingCriteriaCell.js +2 -2
- package/esm/components/GridDataSourceGroupingCriteriaCell.js +2 -2
- package/esm/utils/releaseInfo.js +1 -1
- package/index.js +1 -1
- package/modern/components/GridDataSourceGroupingCriteriaCell.js +2 -2
- package/modern/index.js +1 -1
- package/modern/utils/releaseInfo.js +1 -1
- package/package.json +3 -3
- package/utils/releaseInfo.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,50 @@
|
|
|
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.28.3
|
|
7
|
+
|
|
8
|
+
_Apr 3, 2025_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 3 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🐞 Bugfixes
|
|
13
|
+
|
|
14
|
+
Team members who have contributed to this release:
|
|
15
|
+
@cherniavskii, @LukasTy, @MBilalShafi.
|
|
16
|
+
|
|
17
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
18
|
+
|
|
19
|
+
### Data Grid
|
|
20
|
+
|
|
21
|
+
#### `@mui/x-data-grid@7.28.3`
|
|
22
|
+
|
|
23
|
+
Internal changes.
|
|
24
|
+
|
|
25
|
+
#### `@mui/x-data-grid-pro@7.28.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
26
|
+
|
|
27
|
+
Same changes as in `@mui/x-data-grid@7.28.3`, plus:
|
|
28
|
+
|
|
29
|
+
- [DataGridPro] Data source: Allow expanding groups with unknown children count (#17149) @MBilalShafi
|
|
30
|
+
|
|
31
|
+
#### `@mui/x-data-grid-premium@7.28.3` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
32
|
+
|
|
33
|
+
Same changes as in `@mui/x-data-grid-pro@7.28.3`.
|
|
34
|
+
|
|
35
|
+
### Date and Time Pickers
|
|
36
|
+
|
|
37
|
+
#### `@mui/x-date-pickers@7.28.3`
|
|
38
|
+
|
|
39
|
+
Internal changes.
|
|
40
|
+
|
|
41
|
+
#### `@mui/x-date-pickers-pro@7.28.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
42
|
+
|
|
43
|
+
Same changes as in `@mui/x-date-pickers@7.28.3`.
|
|
44
|
+
|
|
45
|
+
### Docs
|
|
46
|
+
|
|
47
|
+
- [docs] Update Localization Provider JSDoc link (#17208) @LukasTy
|
|
48
|
+
- [docs] Use v6 core packages in MUI X v7 docs (#17171) @cherniavskii
|
|
49
|
+
|
|
6
50
|
## 7.28.2
|
|
7
51
|
|
|
8
52
|
_Mar 28, 2025_
|
|
@@ -61,7 +61,7 @@ function GridGroupingCriteriaCellIcon(props) {
|
|
|
61
61
|
})
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
|
-
return descendantCount > 0 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(rootProps.slots.baseIconButton, (0, _extends2.default)({
|
|
64
|
+
return descendantCount === -1 || descendantCount > 0 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(rootProps.slots.baseIconButton, (0, _extends2.default)({
|
|
65
65
|
size: "small",
|
|
66
66
|
onClick: handleClick,
|
|
67
67
|
tabIndex: -1,
|
|
@@ -95,7 +95,7 @@ function GridDataSourceGroupingCriteriaCell(props) {
|
|
|
95
95
|
const classes = useUtilityClasses(rootProps);
|
|
96
96
|
let descendantCount = 0;
|
|
97
97
|
if (row) {
|
|
98
|
-
descendantCount =
|
|
98
|
+
descendantCount = rootProps.unstable_dataSource?.getChildrenCount?.(row) ?? 0;
|
|
99
99
|
}
|
|
100
100
|
let cellContent;
|
|
101
101
|
const colDef = apiRef.current.getColumn(rowNode.groupingField);
|
|
@@ -53,7 +53,7 @@ function GridGroupingCriteriaCellIcon(props) {
|
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
|
-
return descendantCount > 0 ? /*#__PURE__*/_jsx(rootProps.slots.baseIconButton, _extends({
|
|
56
|
+
return descendantCount === -1 || descendantCount > 0 ? /*#__PURE__*/_jsx(rootProps.slots.baseIconButton, _extends({
|
|
57
57
|
size: "small",
|
|
58
58
|
onClick: handleClick,
|
|
59
59
|
tabIndex: -1,
|
|
@@ -87,7 +87,7 @@ export function GridDataSourceGroupingCriteriaCell(props) {
|
|
|
87
87
|
const classes = useUtilityClasses(rootProps);
|
|
88
88
|
let descendantCount = 0;
|
|
89
89
|
if (row) {
|
|
90
|
-
descendantCount =
|
|
90
|
+
descendantCount = rootProps.unstable_dataSource?.getChildrenCount?.(row) ?? 0;
|
|
91
91
|
}
|
|
92
92
|
let cellContent;
|
|
93
93
|
const colDef = apiRef.current.getColumn(rowNode.groupingField);
|
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 = "MTc0MzYzMTIwMDAwMA==";
|
|
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/index.js
CHANGED
|
@@ -53,7 +53,7 @@ function GridGroupingCriteriaCellIcon(props) {
|
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
|
-
return descendantCount > 0 ? /*#__PURE__*/_jsx(rootProps.slots.baseIconButton, _extends({
|
|
56
|
+
return descendantCount === -1 || descendantCount > 0 ? /*#__PURE__*/_jsx(rootProps.slots.baseIconButton, _extends({
|
|
57
57
|
size: "small",
|
|
58
58
|
onClick: handleClick,
|
|
59
59
|
tabIndex: -1,
|
|
@@ -87,7 +87,7 @@ export function GridDataSourceGroupingCriteriaCell(props) {
|
|
|
87
87
|
const classes = useUtilityClasses(rootProps);
|
|
88
88
|
let descendantCount = 0;
|
|
89
89
|
if (row) {
|
|
90
|
-
descendantCount =
|
|
90
|
+
descendantCount = rootProps.unstable_dataSource?.getChildrenCount?.(row) ?? 0;
|
|
91
91
|
}
|
|
92
92
|
let cellContent;
|
|
93
93
|
const colDef = apiRef.current.getColumn(rowNode.groupingField);
|
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 = "MTc0MzYzMTIwMDAwMA==";
|
|
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.28.
|
|
3
|
+
"version": "7.28.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,9 +40,9 @@
|
|
|
40
40
|
"exceljs": "^4.4.0",
|
|
41
41
|
"prop-types": "^15.8.1",
|
|
42
42
|
"reselect": "^5.1.1",
|
|
43
|
+
"@mui/x-data-grid": "7.28.3",
|
|
44
|
+
"@mui/x-data-grid-pro": "7.28.3",
|
|
43
45
|
"@mui/x-license": "7.28.0",
|
|
44
|
-
"@mui/x-data-grid-pro": "7.28.2",
|
|
45
|
-
"@mui/x-data-grid": "7.28.2",
|
|
46
46
|
"@mui/x-internals": "7.28.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
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 = "MTc0MzYzMTIwMDAwMA==";
|
|
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
|