@mui/x-data-grid-generator 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/CHANGELOG.md +77 -0
- package/hooks/serverUtils.js +9 -1
- package/hooks/useDemoData.js +2 -0
- package/hooks/useMockServer.js +2 -0
- package/hooks/useQuery.js +2 -0
- package/index.js +1 -1
- package/modern/hooks/serverUtils.js +9 -1
- package/modern/hooks/useDemoData.js +2 -0
- package/modern/hooks/useMockServer.js +2 -0
- package/modern/hooks/useQuery.js +2 -0
- package/modern/index.js +1 -1
- package/modern/renderer/renderEditProgress.js +2 -0
- package/node/hooks/serverUtils.js +9 -1
- package/node/hooks/useDemoData.js +1 -0
- package/node/hooks/useMockServer.js +1 -0
- package/node/hooks/useQuery.js +1 -0
- package/node/index.js +1 -1
- package/node/renderer/renderEditProgress.js +1 -0
- package/package.json +2 -2
- package/renderer/renderEditProgress.js +2 -0
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_
|
package/hooks/serverUtils.js
CHANGED
|
@@ -367,7 +367,15 @@ export const processRowGroupingRows = (rows, queryOptions, serverOptions, column
|
|
|
367
367
|
const groupFields = queryOptions.groupFields;
|
|
368
368
|
if (groupFields.length > 0) {
|
|
369
369
|
rowsWithPaths = rows.reduce((acc, row) => {
|
|
370
|
-
const partialPath = groupFields.map(field =>
|
|
370
|
+
const partialPath = groupFields.map(field => {
|
|
371
|
+
const colDef = columnsWithDefaultColDef.find(({
|
|
372
|
+
field: f
|
|
373
|
+
}) => f === field);
|
|
374
|
+
if (colDef?.groupingValueGetter) {
|
|
375
|
+
return colDef.groupingValueGetter(row[field], row, colDef, apiRef);
|
|
376
|
+
}
|
|
377
|
+
return String(row[field]);
|
|
378
|
+
});
|
|
371
379
|
for (let index = 0; index < partialPath.length; index += 1) {
|
|
372
380
|
const value = partialPath[index];
|
|
373
381
|
if (value === undefined) {
|
package/hooks/useDemoData.js
CHANGED
package/hooks/useMockServer.js
CHANGED
package/hooks/useQuery.js
CHANGED
package/index.js
CHANGED
|
@@ -367,7 +367,15 @@ export const processRowGroupingRows = (rows, queryOptions, serverOptions, column
|
|
|
367
367
|
const groupFields = queryOptions.groupFields;
|
|
368
368
|
if (groupFields.length > 0) {
|
|
369
369
|
rowsWithPaths = rows.reduce((acc, row) => {
|
|
370
|
-
const partialPath = groupFields.map(field =>
|
|
370
|
+
const partialPath = groupFields.map(field => {
|
|
371
|
+
const colDef = columnsWithDefaultColDef.find(({
|
|
372
|
+
field: f
|
|
373
|
+
}) => f === field);
|
|
374
|
+
if (colDef?.groupingValueGetter) {
|
|
375
|
+
return colDef.groupingValueGetter(row[field], row, colDef, apiRef);
|
|
376
|
+
}
|
|
377
|
+
return String(row[field]);
|
|
378
|
+
});
|
|
371
379
|
for (let index = 0; index < partialPath.length; index += 1) {
|
|
372
380
|
const value = partialPath[index];
|
|
373
381
|
if (value === undefined) {
|
package/modern/hooks/useQuery.js
CHANGED
package/modern/index.js
CHANGED
|
@@ -376,7 +376,15 @@ const processRowGroupingRows = (rows, queryOptions, serverOptions, columnsWithDe
|
|
|
376
376
|
const groupFields = queryOptions.groupFields;
|
|
377
377
|
if (groupFields.length > 0) {
|
|
378
378
|
rowsWithPaths = rows.reduce((acc, row) => {
|
|
379
|
-
const partialPath = groupFields.map(field =>
|
|
379
|
+
const partialPath = groupFields.map(field => {
|
|
380
|
+
const colDef = columnsWithDefaultColDef.find(({
|
|
381
|
+
field: f
|
|
382
|
+
}) => f === field);
|
|
383
|
+
if (colDef?.groupingValueGetter) {
|
|
384
|
+
return colDef.groupingValueGetter(row[field], row, colDef, apiRef);
|
|
385
|
+
}
|
|
386
|
+
return String(row[field]);
|
|
387
|
+
});
|
|
380
388
|
for (let index = 0; index < partialPath.length; index += 1) {
|
|
381
389
|
const value = partialPath[index];
|
|
382
390
|
if (value === undefined) {
|
package/node/hooks/useQuery.js
CHANGED
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid-generator",
|
|
3
|
-
"version": "7.29.
|
|
3
|
+
"version": "7.29.1",
|
|
4
4
|
"description": "Generate fake data for demo purposes only.",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"chance": "^1.1.12",
|
|
28
28
|
"clsx": "^2.1.1",
|
|
29
29
|
"lru-cache": "^11.0.1",
|
|
30
|
-
"@mui/x-data-grid-premium": "7.29.
|
|
30
|
+
"@mui/x-data-grid-premium": "7.29.1"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@emotion/react": "^11.9.0",
|