@mui/x-data-grid 8.28.2 → 8.28.5
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 +155 -0
- package/esm/hooks/features/filter/gridFilterSelector.js +2 -1
- package/esm/hooks/features/rows/gridRowsUtils.js +3 -1
- package/esm/index.js +1 -1
- package/hooks/features/filter/gridFilterSelector.js +2 -1
- package/hooks/features/rows/gridRowsUtils.js +3 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,161 @@
|
|
|
5
5
|
All notable changes to this project will be documented in this file.
|
|
6
6
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
7
7
|
|
|
8
|
+
## 8.28.5
|
|
9
|
+
|
|
10
|
+
_May 8, 2026_
|
|
11
|
+
|
|
12
|
+
We'd like to extend a big thank you to the 2 contributors who made this release possible. Here are some highlights ✨:
|
|
13
|
+
|
|
14
|
+
- 🐞 Bugfixes
|
|
15
|
+
|
|
16
|
+
The following team members contributed to this release:
|
|
17
|
+
@LukasTy, @MBilalShafi
|
|
18
|
+
|
|
19
|
+
### Data Grid
|
|
20
|
+
|
|
21
|
+
#### `@mui/x-data-grid@8.28.5`
|
|
22
|
+
|
|
23
|
+
- [DataGrid] Fix active filter detection for array values (#22357) @MBilalShafi
|
|
24
|
+
- [DataGrid] Fix crash when grouping/tree-data values match `Object.prototype` property names (#22343) @LukasTy
|
|
25
|
+
|
|
26
|
+
#### `@mui/x-data-grid-pro@8.28.5` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
27
|
+
|
|
28
|
+
Same changes as in `@mui/x-data-grid@8.28.5`.
|
|
29
|
+
|
|
30
|
+
#### `@mui/x-data-grid-premium@8.28.5` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
31
|
+
|
|
32
|
+
Same changes as in `@mui/x-data-grid-pro@8.28.5`.
|
|
33
|
+
|
|
34
|
+
### Date and Time Pickers
|
|
35
|
+
|
|
36
|
+
#### `@mui/x-date-pickers@8.28.5`
|
|
37
|
+
|
|
38
|
+
- [pickers] Fix duplicate hour label in `MultiSectionDigitalClock` on DST day (#22350) @LukasTy
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-date-pickers-pro@8.28.5` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
41
|
+
|
|
42
|
+
Same changes as in `@mui/x-date-pickers@8.28.5`.
|
|
43
|
+
|
|
44
|
+
### Tree View
|
|
45
|
+
|
|
46
|
+
#### `@mui/x-tree-view@8.28.5`
|
|
47
|
+
|
|
48
|
+
- [tree view] Fix stale Tree View `apiRef` after keyed remount (#22355) @MBilalShafi
|
|
49
|
+
|
|
50
|
+
#### `@mui/x-tree-view-pro@8.28.5` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
51
|
+
|
|
52
|
+
Same changes as in `@mui/x-tree-view@8.28.5`.
|
|
53
|
+
|
|
54
|
+
### Core
|
|
55
|
+
|
|
56
|
+
- [code-infra] Fix broken `valelint` and docs build (#22362) @LukasTy
|
|
57
|
+
|
|
58
|
+
## 8.28.4
|
|
59
|
+
|
|
60
|
+
_Apr 27, 2026_
|
|
61
|
+
|
|
62
|
+
We'd like to extend a big thank you to the 3 contributors who made this release possible. Here are some highlights ✨:
|
|
63
|
+
|
|
64
|
+
- 🐞 Bugfixes
|
|
65
|
+
|
|
66
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
67
|
+
@supunsathsara
|
|
68
|
+
|
|
69
|
+
The following team members contributed to this release:
|
|
70
|
+
@LukasTy, @michelengelen
|
|
71
|
+
|
|
72
|
+
### Date and Time Pickers
|
|
73
|
+
|
|
74
|
+
#### `@mui/x-date-pickers@8.28.4`
|
|
75
|
+
|
|
76
|
+
- [pickers] Fix `DateRangeCalendar` drag with `AdapterDayjs` plain-constructor values (#22170) @LukasTy
|
|
77
|
+
- [pickers] Fix disabled state not overriding error border color (#22186) @supunsathsara
|
|
78
|
+
- [pickers] Use `convertToMeridiem` utility in `transferDateSectionValue` (#22132) @michelengelen
|
|
79
|
+
|
|
80
|
+
#### `@mui/x-date-pickers-pro@8.28.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
81
|
+
|
|
82
|
+
Same changes as in `@mui/x-date-pickers@8.28.4`.
|
|
83
|
+
|
|
84
|
+
### Docs
|
|
85
|
+
|
|
86
|
+
- [docs] Remove obsolete v7 deprecation warning for `dayOfWeekFormatter` (#22120) @LukasTy
|
|
87
|
+
- [docs] Use mui.com for broken links checker known targets (#22171) @LukasTy
|
|
88
|
+
|
|
89
|
+
## 8.28.3
|
|
90
|
+
|
|
91
|
+
_Apr 15, 2026_
|
|
92
|
+
|
|
93
|
+
We'd like to extend a big thank you to the 6 contributors who made this release possible. Here are some highlights ✨:
|
|
94
|
+
|
|
95
|
+
- 🐞 Bugfixes
|
|
96
|
+
|
|
97
|
+
Special thanks go out to this community member for their valuable contribution:
|
|
98
|
+
@nk10nikhil
|
|
99
|
+
|
|
100
|
+
The following team members contributed to this release:
|
|
101
|
+
@flaviendelangle, @LukasTy, @MBilalShafi, @michelengelen, @sai6855
|
|
102
|
+
|
|
103
|
+
### Data Grid
|
|
104
|
+
|
|
105
|
+
#### `@mui/x-data-grid@8.28.2`
|
|
106
|
+
|
|
107
|
+
Internal changes.
|
|
108
|
+
|
|
109
|
+
#### `@mui/x-data-grid-pro@8.28.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
110
|
+
|
|
111
|
+
Same changes as in `@mui/x-data-grid@8.28.2`, plus:
|
|
112
|
+
|
|
113
|
+
- [DataGridPro] Improve trigger for nested row reordering (#21996) @MBilalShafi
|
|
114
|
+
|
|
115
|
+
#### `@mui/x-data-grid-premium@8.28.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
116
|
+
|
|
117
|
+
Same changes as in `@mui/x-data-grid-pro@8.28.2`.
|
|
118
|
+
|
|
119
|
+
### Date and Time Pickers
|
|
120
|
+
|
|
121
|
+
#### `@mui/x-date-pickers@8.28.3`
|
|
122
|
+
|
|
123
|
+
- [pickers] Ensure correct `display` property on Day component (#21980) @LukasTy
|
|
124
|
+
|
|
125
|
+
#### `@mui/x-date-pickers-pro@8.28.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
126
|
+
|
|
127
|
+
Same changes as in `@mui/x-date-pickers@8.28.3`.
|
|
128
|
+
|
|
129
|
+
### Charts
|
|
130
|
+
|
|
131
|
+
#### `@mui/x-charts@8.28.2`
|
|
132
|
+
|
|
133
|
+
- [charts] Add missing export for `ChartsBrushOverlay` (#21993) (#22008) @nk10nikhil
|
|
134
|
+
|
|
135
|
+
#### `@mui/x-charts-pro@8.28.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
136
|
+
|
|
137
|
+
Same changes as in `@mui/x-charts@8.28.2`.
|
|
138
|
+
|
|
139
|
+
#### `@mui/x-charts-premium@8.28.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
140
|
+
|
|
141
|
+
Same changes as in `@mui/x-charts-pro@8.28.2`.
|
|
142
|
+
|
|
143
|
+
### Tree View
|
|
144
|
+
|
|
145
|
+
#### `@mui/x-tree-view@8.28.3`
|
|
146
|
+
|
|
147
|
+
- [tree view] Move `lazyLoadedItems` initialization to state initializer (#22087) @michelengelen
|
|
148
|
+
|
|
149
|
+
#### `@mui/x-tree-view-pro@8.28.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
150
|
+
|
|
151
|
+
Same changes as in `@mui/x-tree-view@8.28.3`, plus:
|
|
152
|
+
|
|
153
|
+
- [RichTreeViewPro] Allow to auto-expand lazy loaded items (#21957) @flaviendelangle
|
|
154
|
+
|
|
155
|
+
### Docs
|
|
156
|
+
|
|
157
|
+
- [docs] Fix `TreeDataFullExample` data grid demo crash (#22007) @sai6855
|
|
158
|
+
|
|
159
|
+
### Miscellaneous
|
|
160
|
+
|
|
161
|
+
- [core] Post v9 stable updates (#22035) @LukasTy
|
|
162
|
+
|
|
8
163
|
## 8.28.2
|
|
9
164
|
|
|
10
165
|
_Apr 1, 2026_
|
|
@@ -175,7 +175,8 @@ export const gridFilterActiveItemsSelector = createSelectorMemoized(gridFilterMo
|
|
|
175
175
|
if (!filterOperator) {
|
|
176
176
|
return false;
|
|
177
177
|
}
|
|
178
|
-
|
|
178
|
+
const hasFilterValue = Array.isArray(item.value) ? item.value.length > 0 : item.value != null && item.value?.toString() !== '';
|
|
179
|
+
return !filterOperator.InputComponent || hasFilterValue;
|
|
179
180
|
}));
|
|
180
181
|
/**
|
|
181
182
|
* @category Filtering
|
|
@@ -10,7 +10,9 @@ export const buildRootGroup = () => ({
|
|
|
10
10
|
groupingKey: null,
|
|
11
11
|
isAutoGenerated: true,
|
|
12
12
|
children: [],
|
|
13
|
-
|
|
13
|
+
// Prototype-less so user-supplied grouping values like `'constructor'`
|
|
14
|
+
// or `'__proto__'` cannot collide with `Object.prototype` properties.
|
|
15
|
+
childrenFromPath: Object.create(null),
|
|
14
16
|
childrenExpanded: true,
|
|
15
17
|
parent: null
|
|
16
18
|
});
|
package/esm/index.js
CHANGED
|
@@ -180,7 +180,8 @@ const gridFilterActiveItemsSelector = exports.gridFilterActiveItemsSelector = (0
|
|
|
180
180
|
if (!filterOperator) {
|
|
181
181
|
return false;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
const hasFilterValue = Array.isArray(item.value) ? item.value.length > 0 : item.value != null && item.value?.toString() !== '';
|
|
184
|
+
return !filterOperator.InputComponent || hasFilterValue;
|
|
184
185
|
}));
|
|
185
186
|
/**
|
|
186
187
|
* @category Filtering
|
|
@@ -20,7 +20,9 @@ const buildRootGroup = () => ({
|
|
|
20
20
|
groupingKey: null,
|
|
21
21
|
isAutoGenerated: true,
|
|
22
22
|
children: [],
|
|
23
|
-
|
|
23
|
+
// Prototype-less so user-supplied grouping values like `'constructor'`
|
|
24
|
+
// or `'__proto__'` cannot collide with `Object.prototype` properties.
|
|
25
|
+
childrenFromPath: Object.create(null),
|
|
24
26
|
childrenExpanded: true,
|
|
25
27
|
parent: null
|
|
26
28
|
});
|
package/index.js
CHANGED