@mui/x-data-grid 6.12.0 → 6.13.0
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 +184 -47
- package/components/GridFooter.js +4 -5
- package/components/GridRowCount.d.ts +3 -0
- package/components/base/GridOverlays.js +22 -3
- package/components/containers/GridRootStyles.js +4 -1
- package/constants/defaultGridSlotsComponents.js +2 -1
- package/hooks/features/columns/gridColumnsUtils.js +1 -1
- package/hooks/features/columns/useGridColumns.js +11 -4
- package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +3 -2
- package/hooks/features/rows/gridRowsUtils.d.ts +1 -1
- package/hooks/features/rows/gridRowsUtils.js +1 -1
- package/hooks/features/rows/useGridRows.js +5 -19
- package/hooks/features/virtualization/useGridVirtualScroller.d.ts +1 -5
- package/index.js +1 -1
- package/internals/index.d.ts +1 -0
- package/internals/index.js +1 -0
- package/legacy/components/GridFooter.js +4 -5
- package/legacy/components/base/GridOverlays.js +34 -10
- package/legacy/components/containers/GridRootStyles.js +1 -1
- package/legacy/constants/defaultGridSlotsComponents.js +2 -1
- package/legacy/hooks/features/columns/gridColumnsUtils.js +1 -1
- package/legacy/hooks/features/columns/useGridColumns.js +9 -4
- package/legacy/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +3 -2
- package/legacy/hooks/features/rows/gridRowsUtils.js +1 -1
- package/legacy/hooks/features/rows/useGridRows.js +5 -19
- package/legacy/index.js +1 -1
- package/legacy/internals/index.js +1 -0
- package/legacy/locales/skSK.js +27 -29
- package/legacy/utils/createSelector.js +1 -1
- package/locales/skSK.js +27 -29
- package/models/colDef/gridColDef.d.ts +2 -4
- package/models/gridSlotsComponent.d.ts +5 -0
- package/models/gridSlotsComponentsProps.d.ts +4 -0
- package/modern/components/GridFooter.js +2 -3
- package/modern/components/base/GridOverlays.js +22 -3
- package/modern/components/containers/GridRootStyles.js +4 -1
- package/modern/constants/defaultGridSlotsComponents.js +2 -1
- package/modern/hooks/features/columns/gridColumnsUtils.js +1 -1
- package/modern/hooks/features/columns/useGridColumns.js +10 -4
- package/modern/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +2 -2
- package/modern/hooks/features/rows/gridRowsUtils.js +1 -1
- package/modern/hooks/features/rows/useGridRows.js +5 -19
- package/modern/index.js +1 -1
- package/modern/internals/index.js +1 -0
- package/modern/locales/skSK.js +27 -29
- package/modern/utils/createSelector.js +1 -1
- package/node/components/GridFooter.js +2 -3
- package/node/components/base/GridOverlays.js +22 -3
- package/node/components/containers/GridRootStyles.js +4 -1
- package/node/constants/defaultGridSlotsComponents.js +1 -0
- package/node/hooks/features/columns/gridColumnsUtils.js +1 -1
- package/node/hooks/features/columns/useGridColumns.js +10 -4
- package/node/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +2 -2
- package/node/hooks/features/rows/gridRowsUtils.js +1 -1
- package/node/hooks/features/rows/useGridRows.js +5 -19
- package/node/index.js +1 -1
- package/node/internals/index.js +8 -0
- package/node/locales/skSK.js +27 -29
- package/node/utils/createSelector.js +1 -1
- package/package.json +3 -3
- package/utils/createSelector.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,143 @@
|
|
|
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
|
+
## 6.13.0
|
|
7
|
+
|
|
8
|
+
_Sep 8, 2023_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🎁 Fix `anchorRef` behavior on range pickers (#10077) @LukasTy
|
|
13
|
+
|
|
14
|
+
The range picker popup will now be anchored to the first input element and left aligned like other pickers.
|
|
15
|
+
- 🌍 Improve Slovak (sk-SK) locale on the data grid
|
|
16
|
+
- 🐞 Bugfixes
|
|
17
|
+
- 📚 Documentation improvements
|
|
18
|
+
|
|
19
|
+
### Data Grid
|
|
20
|
+
|
|
21
|
+
#### `@mui/x-data-grid@6.13.0`
|
|
22
|
+
|
|
23
|
+
- [DataGrid] Allow to override the default overlay height in `autoHeight` mode (#10203) @cherniavskii
|
|
24
|
+
- [DataGrid] Allow to override the default row count component in footer (#10063) @hungmanhle
|
|
25
|
+
- [DataGrid] Fix an error when hovering on a row, the background changed to white (#10214) @chucamphong
|
|
26
|
+
- [DataGrid] Fix custom column docs, remove legacy `extendType` (#10175) @oliviertassinari
|
|
27
|
+
- [DataGrid] Make the pinned rows be on top of the no rows overlay (#9986) @DanailH
|
|
28
|
+
- [l10n] Improve Slovak (sk-SK) locale (#10182) @msidlo
|
|
29
|
+
|
|
30
|
+
#### `@mui/x-data-grid-pro@6.13.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
31
|
+
|
|
32
|
+
Same changes as in `@mui/x-data-grid@6.13.0`, plus:
|
|
33
|
+
|
|
34
|
+
- [DataGridPro] Fix column resize with pinned rows (#10229) @cherniavskii
|
|
35
|
+
|
|
36
|
+
#### `@mui/x-data-grid-premium@6.13.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
37
|
+
|
|
38
|
+
Same changes as in `@mui/x-data-grid-pro@6.13.0`, plus:
|
|
39
|
+
|
|
40
|
+
- [DataGridPremium] Fix aggregated column resizing (#10079) @cherniavskii
|
|
41
|
+
|
|
42
|
+
### Date Pickers
|
|
43
|
+
|
|
44
|
+
#### `@mui/x-date-pickers@6.13.0`
|
|
45
|
+
|
|
46
|
+
- [pickers] Respect the adapter locale in `AdapterMoment.getWeekdays` (#10221) @flaviendelangle
|
|
47
|
+
|
|
48
|
+
#### `@mui/x-date-pickers-pro@6.13.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
49
|
+
|
|
50
|
+
Same changes as in `@mui/x-date-pickers@6.13.0`, plus:
|
|
51
|
+
|
|
52
|
+
- [DateRangePicker] Fix `anchorRef` behavior (#10077) @LukasTy
|
|
53
|
+
|
|
54
|
+
### Charts / `@mui/x-charts@6.0.0-alpha.10`
|
|
55
|
+
|
|
56
|
+
- [charts] Remove require condition from package.json exports (#10272) @Janpot
|
|
57
|
+
|
|
58
|
+
### Tree View / `@mui/x-tree-view@6.0.0-alpha.2`
|
|
59
|
+
|
|
60
|
+
- [TreeView] Add missing export (#10245) @flaviendelangle
|
|
61
|
+
|
|
62
|
+
### Docs
|
|
63
|
+
|
|
64
|
+
- [docs] Add a `Getting Started` page for the Tree View (#10218) @flaviendelangle
|
|
65
|
+
- [docs] Add pickers `Custom opening button` page (#10200) @flaviendelangle
|
|
66
|
+
- [docs] Add pie chart demo with a center label (#10220) @giladappsforce
|
|
67
|
+
- [docs] Do not document ignored components (#10258) @flaviendelangle
|
|
68
|
+
- [docs] Fix charts demo using too deep import (#10263) @LukasTy
|
|
69
|
+
- [docs] Fix `e.g.` typo @oliviertassinari
|
|
70
|
+
- [docs] Fix npm package indentation @oliviertassinari
|
|
71
|
+
- [docs] Fix typo in tree view docs @oliviertassinari
|
|
72
|
+
- [docs] Improve the week picker example (#8257) @flaviendelangle
|
|
73
|
+
- [docs] Include code links in the data grid demo (#10219) @cherniavskii
|
|
74
|
+
- [docs] Polish page for SEO (#10216) @oliviertassinari
|
|
75
|
+
- [docs] Use `Base UI` `Portal` for the quick filter recipe (#10188) @DanailH
|
|
76
|
+
|
|
77
|
+
### Core
|
|
78
|
+
|
|
79
|
+
- [core] Finish migration to GA4 @oliviertassinari
|
|
80
|
+
- [core] Fix yarn docs:create-playground script @oliviertassinari
|
|
81
|
+
- [core] Move @mui/base from peer dependency to dependency (#10215) @oliviertassinari
|
|
82
|
+
- [core] Prevent `e.g.` typo (#10193) @oliviertassinari
|
|
83
|
+
- [core] Remove unused `babel-plugin-tester` package (#10243) @LukasTy
|
|
84
|
+
|
|
85
|
+
## 6.12.1
|
|
86
|
+
|
|
87
|
+
_Aug 31, 2023_
|
|
88
|
+
|
|
89
|
+
We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
|
|
90
|
+
|
|
91
|
+
- 🏎️ Perf improvement for line charts
|
|
92
|
+
- 🎁 Add `referenceDate` prop on pickers (#9991) @flaviendelangle
|
|
93
|
+
Find out more about this feature in the [documentation section](https://mui.com/x/react-date-pickers/base-concepts/#reference-date-when-no-value-is-defined).
|
|
94
|
+
- 🐞 Bugfixes
|
|
95
|
+
- 📚 Documentation improvements
|
|
96
|
+
|
|
97
|
+
### Data Grid
|
|
98
|
+
|
|
99
|
+
#### `@mui/x-data-grid@6.12.1`
|
|
100
|
+
|
|
101
|
+
- [DataGrid] Add a recipe showing how to render components outside of the grid (#10121) @DanailH
|
|
102
|
+
- [DataGrid] Fix `valueFormatter` being persisted on column type change (#10041) @cherniavskii
|
|
103
|
+
- [DataGrid] Fix error when keyboard navigating an empty grid (#10081) @romgrk
|
|
104
|
+
- [DataGrid] Replace timeout with `useTimeout` (#10179) @romgrk
|
|
105
|
+
|
|
106
|
+
#### `@mui/x-data-grid-pro@6.12.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
107
|
+
|
|
108
|
+
Same changes as in `@mui/x-data-grid@6.12.1`.
|
|
109
|
+
|
|
110
|
+
#### `@mui/x-data-grid-premium@6.12.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
111
|
+
|
|
112
|
+
Same changes as in `@mui/x-data-grid-pro@6.12.1`.
|
|
113
|
+
|
|
114
|
+
### Date Pickers
|
|
115
|
+
|
|
116
|
+
#### `@mui/x-date-pickers@6.12.1`
|
|
117
|
+
|
|
118
|
+
- [pickers] Add `referenceDate` on picker components (and `DateRangeCalendar`) (#9991) @flaviendelangle
|
|
119
|
+
|
|
120
|
+
#### `@mui/x-date-pickers-pro@6.12.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
121
|
+
|
|
122
|
+
Same changes as in `@mui/x-date-pickers@6.12.1`.
|
|
123
|
+
|
|
124
|
+
### Charts / `@mui/x-charts@6.0.0-alpha.9`
|
|
125
|
+
|
|
126
|
+
- [charts] Move the line item highligh into a dedicated component (#10117) @alexfauquette
|
|
127
|
+
|
|
128
|
+
### Docs
|
|
129
|
+
|
|
130
|
+
- [docs] Add `DemoContainer` and `DemoItem` JSDoc (#10186) @LukasTy
|
|
131
|
+
- [docs] Add link to `custom layout` page (#10184) @LukasTy
|
|
132
|
+
- [docs] Add tree view nav item (#10181) @LukasTy
|
|
133
|
+
- [docs] Fix wrong chart tooltip reference (#10169) @oliviertassinari
|
|
134
|
+
- [docs] Improve chart SEO (#10170) @oliviertassinari
|
|
135
|
+
- [docs] Precise expired license key condition (#10165) @oliviertassinari
|
|
136
|
+
- [docs] Reorganize the page menu (#10139) @alexfauquette
|
|
137
|
+
|
|
138
|
+
### Core
|
|
139
|
+
|
|
140
|
+
- [core] Update babel configs (#9713) @romgrk
|
|
141
|
+
- [test] Disable false positive e2e test on webkit (#10187) @LukasTy
|
|
142
|
+
|
|
6
143
|
## 6.12.0
|
|
7
144
|
|
|
8
145
|
_Aug 25, 2023_
|
|
@@ -17,22 +154,22 @@ We'd like to offer a big thanks to the 10 contributors who made this release pos
|
|
|
17
154
|
|
|
18
155
|
### Data Grid
|
|
19
156
|
|
|
20
|
-
#### `@mui/x-data-grid@
|
|
157
|
+
#### `@mui/x-data-grid@6.12.0`
|
|
21
158
|
|
|
22
159
|
- [DataGrid] Allow print export for more than 100 rows (#10045) @MBilalShafi
|
|
23
160
|
- [l10n] Improve Ukrainian (uk-UA) locale (#10076) @mkundos
|
|
24
161
|
|
|
25
|
-
#### `@mui/x-data-grid-pro@
|
|
162
|
+
#### `@mui/x-data-grid-pro@6.12.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
26
163
|
|
|
27
|
-
Same changes as in `@mui/x-data-grid@
|
|
164
|
+
Same changes as in `@mui/x-data-grid@6.12.0`.
|
|
28
165
|
|
|
29
|
-
#### `@mui/x-data-grid-premium@
|
|
166
|
+
#### `@mui/x-data-grid-premium@6.12.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
30
167
|
|
|
31
|
-
Same changes as in `@mui/x-data-grid-pro@
|
|
168
|
+
Same changes as in `@mui/x-data-grid-pro@6.12.0`.
|
|
32
169
|
|
|
33
170
|
### Date Pickers
|
|
34
171
|
|
|
35
|
-
#### `@mui/x-date-pickers@
|
|
172
|
+
#### `@mui/x-date-pickers@6.12.0`
|
|
36
173
|
|
|
37
174
|
- [fields] Do not clamp day of month (#9973) @flaviendelangle
|
|
38
175
|
- [pickers] Fix `ownerState` on `desktopPaper` slot props (#10103) @LukasTy
|
|
@@ -42,11 +179,11 @@ Same changes as in `@mui/x-data-grid-pro@v6.12.0`.
|
|
|
42
179
|
- [pickers] Make `openPickerButton` toggle picker (#10109) @noraleonte
|
|
43
180
|
- [pickers] Update `reduceAnimations` default rule (#9864) @LukasTy
|
|
44
181
|
|
|
45
|
-
#### `@mui/x-date-pickers-pro@
|
|
182
|
+
#### `@mui/x-date-pickers-pro@6.12.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
46
183
|
|
|
47
|
-
Same changes as in `@mui/x-date-pickers@
|
|
184
|
+
Same changes as in `@mui/x-date-pickers@6.12.0`.
|
|
48
185
|
|
|
49
|
-
### Charts / `@mui/x-charts@6.
|
|
186
|
+
### Charts / `@mui/x-charts@6.0.0-alpha.8`
|
|
50
187
|
|
|
51
188
|
- [charts] Fix import issue (#10111) @alexfauquette
|
|
52
189
|
- [charts] Fix `slotProps` propagation (#10105) @alexfauquette
|
|
@@ -83,7 +220,7 @@ We'd like to offer a big thanks to the 8 contributors who made this release poss
|
|
|
83
220
|
|
|
84
221
|
### Data Grid
|
|
85
222
|
|
|
86
|
-
#### `@mui/x-data-grid@
|
|
223
|
+
#### `@mui/x-data-grid@6.11.2`
|
|
87
224
|
|
|
88
225
|
- [DataGrid] Fix `eval` blocked by CSP (#9863) @romgrk
|
|
89
226
|
- [DataGrid] Fix row id bug (#10051) @romgrk
|
|
@@ -93,26 +230,26 @@ We'd like to offer a big thanks to the 8 contributors who made this release poss
|
|
|
93
230
|
- [l10n] Improve Chinese (zh-CN) and Chinese(traditional) (zh-TW) locales (#9999) @MyNameIsTakenOMG
|
|
94
231
|
- [l10n] Improve Spanish (es-ES) locale (#10037) @Macampu420
|
|
95
232
|
|
|
96
|
-
#### `@mui/x-data-grid-pro@
|
|
233
|
+
#### `@mui/x-data-grid-pro@6.11.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
97
234
|
|
|
98
|
-
Same changes as in `@mui/x-data-grid@
|
|
235
|
+
Same changes as in `@mui/x-data-grid@6.11.2`.
|
|
99
236
|
|
|
100
|
-
#### `@mui/x-data-grid-premium@
|
|
237
|
+
#### `@mui/x-data-grid-premium@6.11.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
101
238
|
|
|
102
|
-
Same changes as in `@mui/x-data-grid-pro@
|
|
239
|
+
Same changes as in `@mui/x-data-grid-pro@6.11.2`.
|
|
103
240
|
|
|
104
241
|
### Date Pickers
|
|
105
242
|
|
|
106
|
-
#### `@mui/x-date-pickers@
|
|
243
|
+
#### `@mui/x-date-pickers@6.11.2`
|
|
107
244
|
|
|
108
245
|
- [pickers] Fix month switcher RTL (#10003) @alexfauquette
|
|
109
246
|
- [pickers] Follow-up on using device motion reduction preference (#9858) @LukasTy
|
|
110
247
|
- [pickers] Pass the shortcut information in the `onChange` context (#9985) @flaviendelangle
|
|
111
248
|
- [pickers] Replace `Grid` toolbar component with a styled `div` (#10052) @LukasTy
|
|
112
249
|
|
|
113
|
-
#### `@mui/x-date-pickers-pro@
|
|
250
|
+
#### `@mui/x-date-pickers-pro@6.11.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
114
251
|
|
|
115
|
-
Same changes as in `@mui/x-date-pickers@
|
|
252
|
+
Same changes as in `@mui/x-date-pickers@6.11.2`.
|
|
116
253
|
|
|
117
254
|
### Docs
|
|
118
255
|
|
|
@@ -167,7 +304,7 @@ Same changes as in `@mui/x-data-grid-pro@6.11.1`.
|
|
|
167
304
|
|
|
168
305
|
Same changes as in `@mui/x-date-pickers@6.11.1`.
|
|
169
306
|
|
|
170
|
-
### Charts / `@mui/x-charts@
|
|
307
|
+
### Charts / `@mui/x-charts@6.0.0-alpha.7`
|
|
171
308
|
|
|
172
309
|
- [charts] Fix label and tick alignment (#9952) @LukasTy
|
|
173
310
|
- [charts] Remove not functional component `styleOverrides` (#9996) @LukasTy
|
|
@@ -175,7 +312,7 @@ Same changes as in `@mui/x-date-pickers@6.11.1`.
|
|
|
175
312
|
- [charts] Use `slot`/`slotProps` for customization (#9744) @alexfauquette
|
|
176
313
|
- [charts] Extend cheerful fiesta palette (#9980) @noraleonte
|
|
177
314
|
|
|
178
|
-
### Tree View / `@mui/x-tree-view@
|
|
315
|
+
### Tree View / `@mui/x-tree-view@6.0.0-alpha.1`
|
|
179
316
|
|
|
180
317
|
- [TreeView] Add theme augmentation (#9967) @flaviendelangle
|
|
181
318
|
|
|
@@ -205,7 +342,7 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
|
|
|
205
342
|
|
|
206
343
|
### Data Grid
|
|
207
344
|
|
|
208
|
-
#### `@mui/x-data-grid@
|
|
345
|
+
#### `@mui/x-data-grid@6.11.0`
|
|
209
346
|
|
|
210
347
|
- [DataGrid] Add `ariaV7` experimental flag (#9496) @cherniavskii
|
|
211
348
|
- [DataGrid] Fix cell size when column width is set to `undefined` (#9871) @gitstart
|
|
@@ -213,17 +350,17 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
|
|
|
213
350
|
- [l10n] Improve Finnish (fi-FI) locale (#9848) @sambbaahh
|
|
214
351
|
- [l10n] Improve Italian (it-IT) locale (#9627) @fabio-rizzello-omnia
|
|
215
352
|
|
|
216
|
-
#### `@mui/x-data-grid-pro@
|
|
353
|
+
#### `@mui/x-data-grid-pro@6.11.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
217
354
|
|
|
218
|
-
Same changes as in `@mui/x-data-grid@
|
|
355
|
+
Same changes as in `@mui/x-data-grid@6.11.0`.
|
|
219
356
|
|
|
220
|
-
#### `@mui/x-data-grid-premium@
|
|
357
|
+
#### `@mui/x-data-grid-premium@6.11.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
221
358
|
|
|
222
|
-
Same changes as in `@mui/x-data-grid-pro@
|
|
359
|
+
Same changes as in `@mui/x-data-grid-pro@6.11.0`.
|
|
223
360
|
|
|
224
361
|
### Date Pickers
|
|
225
362
|
|
|
226
|
-
#### `@mui/x-date-pickers@
|
|
363
|
+
#### `@mui/x-date-pickers@6.11.0`
|
|
227
364
|
|
|
228
365
|
- [fields] Correctly handle events with a complete value insertion (#9896) @LukasTy
|
|
229
366
|
- [fields] Fix hours editing on dayjs with timezone and DST (#9901) @flaviendelangle
|
|
@@ -236,18 +373,18 @@ Same changes as in `@mui/x-data-grid-pro@v6.11.0`.
|
|
|
236
373
|
- [pickers] Fix offset management on dayjs adapter (#9884) @flaviendelangle
|
|
237
374
|
- [pickers] Use device motion reduction preference (#9823) @LukasTy
|
|
238
375
|
|
|
239
|
-
#### `@mui/x-date-pickers-pro@
|
|
376
|
+
#### `@mui/x-date-pickers-pro@6.11.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
240
377
|
|
|
241
|
-
Same changes as in `@mui/x-date-pickers@
|
|
378
|
+
Same changes as in `@mui/x-date-pickers@6.11.0`.
|
|
242
379
|
|
|
243
|
-
### Charts / `@mui/x-charts@
|
|
380
|
+
### Charts / `@mui/x-charts@6.0.0-alpha.6`
|
|
244
381
|
|
|
245
382
|
- [charts] Add TS definition to the exported elements (#9885) @alexfauquette
|
|
246
383
|
- [charts] Add sparkline (#9662) @alexfauquette
|
|
247
384
|
- [charts] Fix missing configuration types (#9886) @alexfauquette
|
|
248
385
|
- [charts] Introduce dataset to simplify plot of data from API (#9774) @alexfauquette
|
|
249
386
|
|
|
250
|
-
### Tree View / `@mui/x-tree-view@
|
|
387
|
+
### Tree View / `@mui/x-tree-view@6.0.0-alpha.0`
|
|
251
388
|
|
|
252
389
|
- [TreeView] Add missing exported types (#9862) @flaviendelangle
|
|
253
390
|
- [TreeView] Add tree view to changelog generator script (#9903) @MBilalShafi
|
|
@@ -292,34 +429,34 @@ We'd like to offer a big thanks to the 13 contributors who made this release pos
|
|
|
292
429
|
|
|
293
430
|
### Data Grid
|
|
294
431
|
|
|
295
|
-
#### `@mui/x-data-grid@
|
|
432
|
+
#### `@mui/x-data-grid@6.10.2`
|
|
296
433
|
|
|
297
434
|
- [DataGrid] Fix quick filter & aggregation error (#9729) @romgrk
|
|
298
435
|
- [DataGrid] Fix row click propagation causing error in nested grid (#9741) @cherniavskii
|
|
299
436
|
- [DataGrid] Keep focused cell in the DOM (#7357) @yaredtsy
|
|
300
437
|
- [l10n] Improve Finnish (fi-FI) locale (#9746) @sambbaahh
|
|
301
438
|
|
|
302
|
-
#### `@mui/x-data-grid-pro@
|
|
439
|
+
#### `@mui/x-data-grid-pro@6.10.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
303
440
|
|
|
304
|
-
Same changes as in `@mui/x-data-grid@
|
|
441
|
+
Same changes as in `@mui/x-data-grid@6.10.2`.
|
|
305
442
|
|
|
306
|
-
#### `@mui/x-data-grid-premium@
|
|
443
|
+
#### `@mui/x-data-grid-premium@6.10.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
307
444
|
|
|
308
|
-
Same changes as in `@mui/x-data-grid-pro@
|
|
445
|
+
Same changes as in `@mui/x-data-grid-pro@6.10.2`, plus:
|
|
309
446
|
|
|
310
447
|
- [DataGridPremium] Allow to customize grouping cell offset (#9417) @cherniavskii
|
|
311
448
|
|
|
312
449
|
### Date Pickers
|
|
313
450
|
|
|
314
|
-
#### `@mui/x-date-pickers@
|
|
451
|
+
#### `@mui/x-date-pickers@6.10.2`
|
|
315
452
|
|
|
316
453
|
- [pickers] Remove the `endOfDate` from `DigitalClock` timeOptions (#9800) @noraleonte
|
|
317
454
|
|
|
318
|
-
#### `@mui/x-date-pickers-pro@
|
|
455
|
+
#### `@mui/x-date-pickers-pro@6.10.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
319
456
|
|
|
320
|
-
Same changes as in `@mui/x-date-pickers@
|
|
457
|
+
Same changes as in `@mui/x-date-pickers@6.10.2`.
|
|
321
458
|
|
|
322
|
-
### Charts / `@mui/x-charts@
|
|
459
|
+
### Charts / `@mui/x-charts@6.0.0-alpha.5`
|
|
323
460
|
|
|
324
461
|
- [charts] Improve JSDoc for axis-related props (#9779) @flaviendelangle
|
|
325
462
|
- [charts] Improve performances of Scatter component (#9527) @flaviendelangle
|
|
@@ -357,7 +494,7 @@ We'd like to offer a big thanks to the 11 contributors who made this release pos
|
|
|
357
494
|
|
|
358
495
|
### Data Grid
|
|
359
496
|
|
|
360
|
-
#### `@mui/x-data-grid@
|
|
497
|
+
#### `@mui/x-data-grid@6.10.1`
|
|
361
498
|
|
|
362
499
|
- [DataGrid] Filtering performance: compile filter applier with `eval` (#9635) @romgrk
|
|
363
500
|
- [DataGrid] Fix CSV export for values containing double quotes (#9667) @cherniavskii
|
|
@@ -367,29 +504,29 @@ We'd like to offer a big thanks to the 11 contributors who made this release pos
|
|
|
367
504
|
- [DataGrid] Update focused cell on page change via keyboard (#9203) @m4theushw
|
|
368
505
|
- [DataGrid] Wait for remote stylesheets to load before print (#9665) @cherniavskii
|
|
369
506
|
|
|
370
|
-
#### `@mui/x-data-grid-pro@
|
|
507
|
+
#### `@mui/x-data-grid-pro@6.10.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
371
508
|
|
|
372
|
-
Same changes as in `@mui/x-data-grid@
|
|
509
|
+
Same changes as in `@mui/x-data-grid@6.10.1`, plus:
|
|
373
510
|
|
|
374
511
|
- [DataGridPro] Improve tree data performance (#9682) @cherniavskii
|
|
375
512
|
- [DataGridPro] Prevent affecting cells from child DataGrid when resizing a column (#9670) @m4theushw
|
|
376
513
|
|
|
377
|
-
#### `@mui/x-data-grid-premium@
|
|
514
|
+
#### `@mui/x-data-grid-premium@6.10.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
378
515
|
|
|
379
|
-
Same changes as in `@mui/x-data-grid-pro@
|
|
516
|
+
Same changes as in `@mui/x-data-grid-pro@6.10.1`.
|
|
380
517
|
|
|
381
518
|
### Date Pickers
|
|
382
519
|
|
|
383
|
-
#### `@mui/x-date-pickers@
|
|
520
|
+
#### `@mui/x-date-pickers@6.10.1`
|
|
384
521
|
|
|
385
522
|
- [fields] Fix `format` and `value` update order (#9715) @LukasTy
|
|
386
523
|
- [pickers] Remove `require` usage in comment (#9675) @LukasTy
|
|
387
524
|
|
|
388
|
-
#### `@mui/x-date-pickers-pro@
|
|
525
|
+
#### `@mui/x-date-pickers-pro@6.10.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
389
526
|
|
|
390
|
-
Same changes as in `@mui/x-date-pickers@
|
|
527
|
+
Same changes as in `@mui/x-date-pickers@6.10.1`.
|
|
391
528
|
|
|
392
|
-
### Charts / `@mui/x-charts@
|
|
529
|
+
### Charts / `@mui/x-charts@6.0.0-alpha.4`
|
|
393
530
|
|
|
394
531
|
- [charts] Fix blinking in responsive charts and extremums computation for line charts (#9734) @alexfauquette
|
|
395
532
|
- [charts] Use ESM with imports (#9645) @alexfauquette
|
package/components/GridFooter.js
CHANGED
|
@@ -6,14 +6,13 @@ import { gridTopLevelRowCountSelector } from '../hooks/features/rows/gridRowsSel
|
|
|
6
6
|
import { selectedGridRowsCountSelector } from '../hooks/features/rowSelection/gridRowSelectionSelector';
|
|
7
7
|
import { gridFilteredTopLevelRowCountSelector } from '../hooks/features/filter/gridFilterSelector';
|
|
8
8
|
import { useGridApiContext } from '../hooks/utils/useGridApiContext';
|
|
9
|
-
import { GridRowCount } from './GridRowCount';
|
|
10
9
|
import { GridSelectedRowCount } from './GridSelectedRowCount';
|
|
11
10
|
import { GridFooterContainer } from './containers/GridFooterContainer';
|
|
12
11
|
import { useGridRootProps } from '../hooks/utils/useGridRootProps';
|
|
13
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
13
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
14
|
const GridFooter = /*#__PURE__*/React.forwardRef(function GridFooter(props, ref) {
|
|
16
|
-
var _rootProps$slotProps;
|
|
15
|
+
var _rootProps$slotProps, _rootProps$slotProps2;
|
|
17
16
|
const apiRef = useGridApiContext();
|
|
18
17
|
const rootProps = useGridRootProps();
|
|
19
18
|
const totalTopLevelRowCount = useGridSelector(apiRef, gridTopLevelRowCountSelector);
|
|
@@ -22,11 +21,11 @@ const GridFooter = /*#__PURE__*/React.forwardRef(function GridFooter(props, ref)
|
|
|
22
21
|
const selectedRowCountElement = !rootProps.hideFooterSelectedRowCount && selectedRowCount > 0 ? /*#__PURE__*/_jsx(GridSelectedRowCount, {
|
|
23
22
|
selectedRowCount: selectedRowCount
|
|
24
23
|
}) : /*#__PURE__*/_jsx("div", {});
|
|
25
|
-
const rowCountElement = !rootProps.hideFooterRowCount && !rootProps.pagination ? /*#__PURE__*/_jsx(
|
|
24
|
+
const rowCountElement = !rootProps.hideFooterRowCount && !rootProps.pagination ? /*#__PURE__*/_jsx(rootProps.slots.footerRowCount, _extends({}, (_rootProps$slotProps = rootProps.slotProps) == null ? void 0 : _rootProps$slotProps.footerRowCount, {
|
|
26
25
|
rowCount: totalTopLevelRowCount,
|
|
27
26
|
visibleRowCount: visibleTopLevelRowCount
|
|
28
|
-
}) : null;
|
|
29
|
-
const paginationElement = rootProps.pagination && !rootProps.hideFooterPagination && rootProps.slots.pagination && /*#__PURE__*/_jsx(rootProps.slots.pagination, _extends({}, (_rootProps$
|
|
27
|
+
})) : null;
|
|
28
|
+
const paginationElement = rootProps.pagination && !rootProps.hideFooterPagination && rootProps.slots.pagination && /*#__PURE__*/_jsx(rootProps.slots.pagination, _extends({}, (_rootProps$slotProps2 = rootProps.slotProps) == null ? void 0 : _rootProps$slotProps2.pagination));
|
|
30
29
|
return /*#__PURE__*/_jsxs(GridFooterContainer, _extends({
|
|
31
30
|
ref: ref
|
|
32
31
|
}, props, {
|
|
@@ -4,6 +4,9 @@ interface RowCountProps {
|
|
|
4
4
|
rowCount: number;
|
|
5
5
|
visibleRowCount: number;
|
|
6
6
|
}
|
|
7
|
+
export type GridRowCountProps = React.HTMLAttributes<HTMLDivElement> & RowCountProps & {
|
|
8
|
+
sx?: SxProps<Theme>;
|
|
9
|
+
};
|
|
7
10
|
declare const GridRowCount: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & RowCountProps & {
|
|
8
11
|
sx?: SxProps<Theme> | undefined;
|
|
9
12
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
3
4
|
import { styled } from '@mui/system';
|
|
4
5
|
import { unstable_composeClasses as composeClasses, unstable_useEnhancedEffect as useEnhancedEffect } from '@mui/utils';
|
|
5
6
|
import clsx from 'clsx';
|
|
@@ -14,8 +15,11 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
14
15
|
const GridOverlayWrapperRoot = styled('div', {
|
|
15
16
|
name: 'MuiDataGrid',
|
|
16
17
|
slot: 'OverlayWrapper',
|
|
18
|
+
shouldForwardProp: prop => prop !== 'overlayType',
|
|
17
19
|
overridesResolver: (props, styles) => styles.overlayWrapper
|
|
18
|
-
})({
|
|
20
|
+
})(({
|
|
21
|
+
overlayType
|
|
22
|
+
}) => ({
|
|
19
23
|
position: 'sticky',
|
|
20
24
|
// To stay in place while scrolling
|
|
21
25
|
top: 0,
|
|
@@ -24,12 +28,14 @@ const GridOverlayWrapperRoot = styled('div', {
|
|
|
24
28
|
// To stay above the content instead of shifting it down
|
|
25
29
|
height: 0,
|
|
26
30
|
// To stay above the content instead of shifting it down
|
|
27
|
-
zIndex:
|
|
28
|
-
|
|
31
|
+
zIndex: overlayType === 'loadingOverlay' ? 5 // Should be above pinned columns, pinned rows, and detail panel
|
|
32
|
+
: 4 // Should be above pinned columns and detail panel
|
|
33
|
+
}));
|
|
29
34
|
|
|
30
35
|
const GridOverlayWrapperInner = styled('div', {
|
|
31
36
|
name: 'MuiDataGrid',
|
|
32
37
|
slot: 'OverlayWrapperInner',
|
|
38
|
+
shouldForwardProp: prop => prop !== 'overlayType',
|
|
33
39
|
overridesResolver: (props, styles) => styles.overlayWrapperInner
|
|
34
40
|
})({});
|
|
35
41
|
const useUtilityClasses = ownerState => {
|
|
@@ -70,6 +76,7 @@ function GridOverlayWrapper(props) {
|
|
|
70
76
|
}
|
|
71
77
|
return /*#__PURE__*/_jsx(GridOverlayWrapperRoot, {
|
|
72
78
|
className: clsx(classes.root),
|
|
79
|
+
overlayType: props.overlayType,
|
|
73
80
|
children: /*#__PURE__*/_jsx(GridOverlayWrapperInner, _extends({
|
|
74
81
|
className: clsx(classes.inner),
|
|
75
82
|
style: {
|
|
@@ -79,6 +86,13 @@ function GridOverlayWrapper(props) {
|
|
|
79
86
|
}, props))
|
|
80
87
|
});
|
|
81
88
|
}
|
|
89
|
+
process.env.NODE_ENV !== "production" ? GridOverlayWrapper.propTypes = {
|
|
90
|
+
// ----------------------------- Warning --------------------------------
|
|
91
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
92
|
+
// | To update them edit the TypeScript types and run "yarn proptypes" |
|
|
93
|
+
// ----------------------------------------------------------------------
|
|
94
|
+
overlayType: PropTypes.string.isRequired
|
|
95
|
+
} : void 0;
|
|
82
96
|
export function GridOverlays() {
|
|
83
97
|
const apiRef = useGridApiContext();
|
|
84
98
|
const rootProps = useGridRootProps();
|
|
@@ -88,22 +102,27 @@ export function GridOverlays() {
|
|
|
88
102
|
const showNoRowsOverlay = !loading && totalRowCount === 0;
|
|
89
103
|
const showNoResultsOverlay = !loading && totalRowCount > 0 && visibleRowCount === 0;
|
|
90
104
|
let overlay = null;
|
|
105
|
+
let overlayType = '';
|
|
91
106
|
if (showNoRowsOverlay) {
|
|
92
107
|
var _rootProps$slotProps;
|
|
93
108
|
overlay = /*#__PURE__*/_jsx(rootProps.slots.noRowsOverlay, _extends({}, (_rootProps$slotProps = rootProps.slotProps) == null ? void 0 : _rootProps$slotProps.noRowsOverlay));
|
|
109
|
+
overlayType = 'noRowsOverlay';
|
|
94
110
|
}
|
|
95
111
|
if (showNoResultsOverlay) {
|
|
96
112
|
var _rootProps$slotProps2;
|
|
97
113
|
overlay = /*#__PURE__*/_jsx(rootProps.slots.noResultsOverlay, _extends({}, (_rootProps$slotProps2 = rootProps.slotProps) == null ? void 0 : _rootProps$slotProps2.noResultsOverlay));
|
|
114
|
+
overlayType = 'noResultsOverlay';
|
|
98
115
|
}
|
|
99
116
|
if (loading) {
|
|
100
117
|
var _rootProps$slotProps3;
|
|
101
118
|
overlay = /*#__PURE__*/_jsx(rootProps.slots.loadingOverlay, _extends({}, (_rootProps$slotProps3 = rootProps.slotProps) == null ? void 0 : _rootProps$slotProps3.loadingOverlay));
|
|
119
|
+
overlayType = 'loadingOverlay';
|
|
102
120
|
}
|
|
103
121
|
if (overlay === null) {
|
|
104
122
|
return null;
|
|
105
123
|
}
|
|
106
124
|
return /*#__PURE__*/_jsx(GridOverlayWrapper, {
|
|
125
|
+
overlayType: overlayType,
|
|
107
126
|
children: overlay
|
|
108
127
|
});
|
|
109
128
|
}
|
|
@@ -348,7 +348,10 @@ export const GridRootStyles = styled('div', {
|
|
|
348
348
|
'&.Mui-selected': {
|
|
349
349
|
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),
|
|
350
350
|
'&:hover, &.Mui-hovered': {
|
|
351
|
-
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} /
|
|
351
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(
|
|
352
|
+
${theme.vars.palette.action.selectedOpacity} +
|
|
353
|
+
${theme.vars.palette.action.hoverOpacity}
|
|
354
|
+
))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
|
|
352
355
|
// Reset on touch devices, it doesn't add specificity
|
|
353
356
|
'@media (hover: none)': {
|
|
354
357
|
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
-
import { GridSkeletonCell, GridColumnsPanel, GridFilterPanel, GridFooter, GridLoadingOverlay, GridNoRowsOverlay, GridPagination, GridPanel, GridPreferencesPanel, GridRow, GridColumnHeaderFilterIconButton } from '../components';
|
|
2
|
+
import { GridSkeletonCell, GridColumnsPanel, GridFilterPanel, GridFooter, GridLoadingOverlay, GridNoRowsOverlay, GridPagination, GridPanel, GridPreferencesPanel, GridRow, GridColumnHeaderFilterIconButton, GridRowCount } from '../components';
|
|
3
3
|
import { GridCellV7 } from '../components/cell/GridCell';
|
|
4
4
|
import { GridColumnHeaders } from '../components/GridColumnHeaders';
|
|
5
5
|
import { GridColumnMenu } from '../components/menu/columnMenu/GridColumnMenu';
|
|
@@ -15,6 +15,7 @@ export const DATA_GRID_DEFAULT_SLOTS_COMPONENTS = _extends({}, materialSlots, {
|
|
|
15
15
|
ColumnMenu: GridColumnMenu,
|
|
16
16
|
ColumnHeaders: GridColumnHeaders,
|
|
17
17
|
Footer: GridFooter,
|
|
18
|
+
FooterRowCount: GridRowCount,
|
|
18
19
|
Toolbar: null,
|
|
19
20
|
PreferencesPanel: GridPreferencesPanel,
|
|
20
21
|
LoadingOverlay: GridLoadingOverlay,
|
|
@@ -256,7 +256,7 @@ export const createColumnsState = ({
|
|
|
256
256
|
|
|
257
257
|
// If the column type has changed - merge the existing state with the default column type definition
|
|
258
258
|
if (existingState && existingState.type !== newColumn.type) {
|
|
259
|
-
existingState = _extends({},
|
|
259
|
+
existingState = _extends({}, getDefaultColTypeDef(columnTypes, newColumn.type), {
|
|
260
260
|
field
|
|
261
261
|
});
|
|
262
262
|
}
|
|
@@ -126,18 +126,25 @@ export function useGridColumns(apiRef, props) {
|
|
|
126
126
|
apiRef.current.publishEvent('columnIndexChange', params);
|
|
127
127
|
}, [apiRef, logger, setGridColumnsState, getColumnIndexRelativeToVisibleColumns]);
|
|
128
128
|
const setColumnWidth = React.useCallback((field, width) => {
|
|
129
|
+
var _apiRef$current$getRo, _apiRef$current$getRo2;
|
|
129
130
|
logger.debug(`Updating column ${field} width to ${width}`);
|
|
130
|
-
const
|
|
131
|
+
const columnsState = gridColumnsStateSelector(apiRef.current.state);
|
|
132
|
+
const column = columnsState.lookup[field];
|
|
131
133
|
const newColumn = _extends({}, column, {
|
|
132
|
-
width
|
|
134
|
+
width,
|
|
135
|
+
hasBeenResized: true
|
|
133
136
|
});
|
|
134
|
-
|
|
137
|
+
setGridColumnsState(hydrateColumnsWidth(_extends({}, columnsState, {
|
|
138
|
+
lookup: _extends({}, columnsState.lookup, {
|
|
139
|
+
[field]: newColumn
|
|
140
|
+
})
|
|
141
|
+
}), (_apiRef$current$getRo = (_apiRef$current$getRo2 = apiRef.current.getRootDimensions()) == null ? void 0 : _apiRef$current$getRo2.viewportInnerSize.width) != null ? _apiRef$current$getRo : 0));
|
|
135
142
|
apiRef.current.publishEvent('columnWidthChange', {
|
|
136
143
|
element: apiRef.current.getColumnHeaderElement(field),
|
|
137
144
|
colDef: newColumn,
|
|
138
145
|
width
|
|
139
146
|
});
|
|
140
|
-
}, [apiRef, logger]);
|
|
147
|
+
}, [apiRef, logger, setGridColumnsState]);
|
|
141
148
|
const columnApi = {
|
|
142
149
|
getColumn,
|
|
143
150
|
getAllColumns,
|
|
@@ -126,7 +126,8 @@ export const useGridKeyboardNavigation = (apiRef, props) => {
|
|
|
126
126
|
apiRef.current.setColumnGroupHeaderFocus(field, depth, event);
|
|
127
127
|
}, [apiRef, logger]);
|
|
128
128
|
const getRowIdFromIndex = React.useCallback(rowIndex => {
|
|
129
|
-
|
|
129
|
+
var _currentPageRows$rowI;
|
|
130
|
+
return (_currentPageRows$rowI = currentPageRows[rowIndex]) == null ? void 0 : _currentPageRows$rowI.id;
|
|
130
131
|
}, [currentPageRows]);
|
|
131
132
|
const handleColumnHeaderKeyDown = React.useCallback((params, event) => {
|
|
132
133
|
const headerTitleNode = event.currentTarget.querySelector(`.${gridClasses.columnHeaderTitleContainerContent}`);
|
|
@@ -142,7 +143,7 @@ export const useGridKeyboardNavigation = (apiRef, props) => {
|
|
|
142
143
|
}
|
|
143
144
|
const viewportPageSize = apiRef.current.getViewportPageSize();
|
|
144
145
|
const colIndexBefore = params.field ? apiRef.current.getColumnIndex(params.field) : 0;
|
|
145
|
-
const firstRowIndexInPage = 0;
|
|
146
|
+
const firstRowIndexInPage = currentPageRows.length > 0 ? 0 : null;
|
|
146
147
|
const lastRowIndexInPage = currentPageRows.length - 1;
|
|
147
148
|
const firstColIndex = 0;
|
|
148
149
|
const lastColIndex = gridVisibleColumnDefinitionsSelector(apiRef).length - 1;
|
|
@@ -35,4 +35,4 @@ export declare function calculatePinnedRowsHeight(apiRef: React.MutableRefObject
|
|
|
35
35
|
top: number;
|
|
36
36
|
bottom: number;
|
|
37
37
|
};
|
|
38
|
-
export declare function getMinimalContentHeight(apiRef: React.MutableRefObject<GridApiCommunity>, rowHeight: number):
|
|
38
|
+
export declare function getMinimalContentHeight(apiRef: React.MutableRefObject<GridApiCommunity>, rowHeight: number): string;
|
|
@@ -279,5 +279,5 @@ export function calculatePinnedRowsHeight(apiRef) {
|
|
|
279
279
|
}
|
|
280
280
|
export function getMinimalContentHeight(apiRef, rowHeight) {
|
|
281
281
|
const densityFactor = gridDensityFactorSelector(apiRef);
|
|
282
|
-
return 2 * Math.floor(rowHeight * densityFactor)
|
|
282
|
+
return `var(--DataGrid-overlayHeight, ${2 * Math.floor(rowHeight * densityFactor)}px)`;
|
|
283
283
|
}
|