@mui/x-data-grid 7.23.0 → 7.23.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 +66 -0
- package/hooks/features/columnResize/useGridColumnResize.js +2 -1
- package/index.js +1 -1
- package/locales/deDE.js +1 -2
- package/modern/hooks/features/columnResize/useGridColumnResize.js +2 -1
- package/modern/index.js +1 -1
- package/modern/locales/deDE.js +1 -2
- package/node/hooks/features/columnResize/useGridColumnResize.js +2 -1
- package/node/index.js +1 -1
- package/node/locales/deDE.js +1 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,72 @@
|
|
|
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.1
|
|
7
|
+
|
|
8
|
+
_Dec 5, 2024_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🌍 Improve German locale on the Data Grid component
|
|
13
|
+
- 🐞 Bugfixes
|
|
14
|
+
|
|
15
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
16
|
+
@lhilgert9.
|
|
17
|
+
|
|
18
|
+
Following are all team members who have contributed to this release:
|
|
19
|
+
@arthurbalduini, @cherniavskii, @flaviendelangle, @JCQuintas, @LukasTy and @MBilalShafi.
|
|
20
|
+
|
|
21
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
22
|
+
|
|
23
|
+
### Data Grid
|
|
24
|
+
|
|
25
|
+
#### `@mui/x-data-grid@7.23.1`
|
|
26
|
+
|
|
27
|
+
- [DataGrid] Make column autosizing work with flex columns (#15712) @cherniavskii
|
|
28
|
+
- [l10n] Improve German (de-DE) locale (#15641) @lhilgert9
|
|
29
|
+
|
|
30
|
+
#### `@mui/x-data-grid-pro@7.23.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
31
|
+
|
|
32
|
+
Same changes as in `@mui/x-data-grid@7.23.1`, plus:
|
|
33
|
+
|
|
34
|
+
- [DataGridPro] Cleanup pinned rows on removal (#15702) @cherniavskii
|
|
35
|
+
|
|
36
|
+
#### `@mui/x-data-grid-premium@7.23.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
37
|
+
|
|
38
|
+
Same changes as in `@mui/x-data-grid-pro@7.23.1`.
|
|
39
|
+
|
|
40
|
+
### Date and Time Pickers
|
|
41
|
+
|
|
42
|
+
#### `@mui/x-date-pickers@7.23.1`
|
|
43
|
+
|
|
44
|
+
- [TimePicker] Prevent mouse events after `touchend` event (#15430) @arthurbalduini
|
|
45
|
+
|
|
46
|
+
#### `@mui/x-date-pickers-pro@7.23.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
47
|
+
|
|
48
|
+
Same changes as in `@mui/x-date-pickers@7.23.1`.
|
|
49
|
+
|
|
50
|
+
### Charts
|
|
51
|
+
|
|
52
|
+
#### `@mui/x-charts@7.23.1`
|
|
53
|
+
|
|
54
|
+
- [charts] Improve SVG `pattern` and `gradient` support (#15724) @JCQuintas
|
|
55
|
+
|
|
56
|
+
#### `@mui/x-charts-pro@7.23.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
57
|
+
|
|
58
|
+
Same changes as in `@mui/x-charts@7.23.1`.
|
|
59
|
+
|
|
60
|
+
### Docs
|
|
61
|
+
|
|
62
|
+
- [docs] Fix Pickers theme augmentation example (#15675) @LukasTy
|
|
63
|
+
- [docs] Remove duplicated warning (#15715) @cherniavskii
|
|
64
|
+
- [test] Force hover in headless Chrome (#15711) @cherniavskii
|
|
65
|
+
- [docs-infra] Bump `@mui/internal-markdown` to support nested demo imports (#15738) @alexfauquette
|
|
66
|
+
- [docs] Improve SEO titles for the Data Grid (#15695) @MBilalShafi
|
|
67
|
+
|
|
68
|
+
### Core
|
|
69
|
+
|
|
70
|
+
- [core] Add `@mui/x-tree-view-pro` to `releaseChangelog` (#15747) @flaviendelangle
|
|
71
|
+
|
|
6
72
|
## 7.23.0
|
|
7
73
|
|
|
8
74
|
_Nov 29, 2024_
|
|
@@ -489,7 +489,8 @@ export const useGridColumnResize = (apiRef, props) => {
|
|
|
489
489
|
const widthByField = extractColumnWidths(apiRef, options, columns);
|
|
490
490
|
const newColumns = columns.map(column => _extends({}, column, {
|
|
491
491
|
width: widthByField[column.field],
|
|
492
|
-
computedWidth: widthByField[column.field]
|
|
492
|
+
computedWidth: widthByField[column.field],
|
|
493
|
+
flex: 0
|
|
493
494
|
}));
|
|
494
495
|
if (options.expand) {
|
|
495
496
|
const visibleColumns = state.orderedFields.map(field => state.lookup[field]).filter(c => state.columnVisibilityModel[c.field] !== false);
|
package/index.js
CHANGED
package/locales/deDE.js
CHANGED
|
@@ -34,8 +34,7 @@ const deDEGrid = {
|
|
|
34
34
|
columnsManagementNoColumns: 'Keine Spalten',
|
|
35
35
|
columnsManagementShowHideAllText: 'Alle anzeigen/verbergen',
|
|
36
36
|
columnsManagementReset: 'Zurücksetzen',
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
columnsManagementDeleteIconLabel: 'Löschen',
|
|
39
38
|
// Filter panel text
|
|
40
39
|
filterPanelAddFilter: 'Filter hinzufügen',
|
|
41
40
|
filterPanelRemoveAll: 'Alle entfernen',
|
|
@@ -489,7 +489,8 @@ export const useGridColumnResize = (apiRef, props) => {
|
|
|
489
489
|
const widthByField = extractColumnWidths(apiRef, options, columns);
|
|
490
490
|
const newColumns = columns.map(column => _extends({}, column, {
|
|
491
491
|
width: widthByField[column.field],
|
|
492
|
-
computedWidth: widthByField[column.field]
|
|
492
|
+
computedWidth: widthByField[column.field],
|
|
493
|
+
flex: 0
|
|
493
494
|
}));
|
|
494
495
|
if (options.expand) {
|
|
495
496
|
const visibleColumns = state.orderedFields.map(field => state.lookup[field]).filter(c => state.columnVisibilityModel[c.field] !== false);
|
package/modern/index.js
CHANGED
package/modern/locales/deDE.js
CHANGED
|
@@ -34,8 +34,7 @@ const deDEGrid = {
|
|
|
34
34
|
columnsManagementNoColumns: 'Keine Spalten',
|
|
35
35
|
columnsManagementShowHideAllText: 'Alle anzeigen/verbergen',
|
|
36
36
|
columnsManagementReset: 'Zurücksetzen',
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
columnsManagementDeleteIconLabel: 'Löschen',
|
|
39
38
|
// Filter panel text
|
|
40
39
|
filterPanelAddFilter: 'Filter hinzufügen',
|
|
41
40
|
filterPanelRemoveAll: 'Alle entfernen',
|
|
@@ -498,7 +498,8 @@ const useGridColumnResize = (apiRef, props) => {
|
|
|
498
498
|
const widthByField = extractColumnWidths(apiRef, options, columns);
|
|
499
499
|
const newColumns = columns.map(column => (0, _extends2.default)({}, column, {
|
|
500
500
|
width: widthByField[column.field],
|
|
501
|
-
computedWidth: widthByField[column.field]
|
|
501
|
+
computedWidth: widthByField[column.field],
|
|
502
|
+
flex: 0
|
|
502
503
|
}));
|
|
503
504
|
if (options.expand) {
|
|
504
505
|
const visibleColumns = state.orderedFields.map(field => state.lookup[field]).filter(c => state.columnVisibilityModel[c.field] !== false);
|
package/node/index.js
CHANGED
package/node/locales/deDE.js
CHANGED
|
@@ -40,8 +40,7 @@ const deDEGrid = {
|
|
|
40
40
|
columnsManagementNoColumns: 'Keine Spalten',
|
|
41
41
|
columnsManagementShowHideAllText: 'Alle anzeigen/verbergen',
|
|
42
42
|
columnsManagementReset: 'Zurücksetzen',
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
columnsManagementDeleteIconLabel: 'Löschen',
|
|
45
44
|
// Filter panel text
|
|
46
45
|
filterPanelAddFilter: 'Filter hinzufügen',
|
|
47
46
|
filterPanelRemoveAll: 'Alle entfernen',
|