@mui/x-data-grid-premium 8.0.0-alpha.7 → 8.0.0-alpha.9

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.
Files changed (39) hide show
  1. package/CHANGELOG.md +551 -3
  2. package/DataGridPremium/DataGridPremium.js +5 -7
  3. package/DataGridPremium/useDataGridPremiumComponent.d.ts +2 -2
  4. package/DataGridPremium/useDataGridPremiumComponent.js +1 -1
  5. package/esm/DataGridPremium/DataGridPremium.js +7 -9
  6. package/esm/DataGridPremium/useDataGridPremiumComponent.js +1 -1
  7. package/esm/hooks/features/clipboard/useGridClipboardImport.js +1 -1
  8. package/esm/utils/releaseInfo.js +1 -1
  9. package/hooks/features/aggregation/createAggregationLookup.d.ts +2 -2
  10. package/hooks/features/aggregation/gridAggregationUtils.d.ts +3 -3
  11. package/hooks/features/aggregation/useGridAggregation.d.ts +2 -2
  12. package/hooks/features/aggregation/useGridAggregationPreProcessors.d.ts +2 -2
  13. package/hooks/features/aggregation/wrapColumnWithAggregation.d.ts +2 -1
  14. package/hooks/features/cellSelection/gridCellSelectionInterfaces.d.ts +3 -3
  15. package/hooks/features/cellSelection/useGridCellSelection.d.ts +2 -2
  16. package/hooks/features/clipboard/useGridClipboardImport.d.ts +2 -2
  17. package/hooks/features/clipboard/useGridClipboardImport.js +1 -1
  18. package/hooks/features/dataSource/useGridDataSourcePremium.d.ts +2 -2
  19. package/hooks/features/export/serializer/excelSerializer.d.ts +3 -2
  20. package/hooks/features/export/useGridExcelExport.d.ts +2 -2
  21. package/hooks/features/rowGrouping/createGroupingColDef.d.ts +2 -2
  22. package/hooks/features/rowGrouping/gridRowGroupingUtils.d.ts +4 -4
  23. package/hooks/features/rowGrouping/useGridDataSourceRowGroupingPreProcessors.d.ts +2 -2
  24. package/hooks/features/rowGrouping/useGridRowGrouping.d.ts +2 -2
  25. package/hooks/features/rowGrouping/useGridRowGroupingPreProcessors.d.ts +2 -2
  26. package/hooks/utils/useGridApiContext.d.ts +1 -1
  27. package/hooks/utils/useGridPrivateApiContext.d.ts +1 -1
  28. package/hooks/utils/useKeepGroupedColumnsHidden.d.ts +2 -2
  29. package/index.js +1 -1
  30. package/models/dataGridPremiumProps.d.ts +2 -2
  31. package/models/gridGroupingValueGetter.d.ts +2 -1
  32. package/models/gridPastedValueParser.d.ts +2 -1
  33. package/modern/DataGridPremium/DataGridPremium.js +7 -9
  34. package/modern/DataGridPremium/useDataGridPremiumComponent.js +1 -1
  35. package/modern/hooks/features/clipboard/useGridClipboardImport.js +1 -1
  36. package/modern/index.js +1 -1
  37. package/modern/utils/releaseInfo.js +1 -1
  38. package/package.json +5 -5
  39. package/utils/releaseInfo.js +1 -1
package/CHANGELOG.md CHANGED
@@ -5,6 +5,213 @@
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.0.0-alpha.9
9
+
10
+ _Jan 24, 2025_
11
+
12
+ We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
13
+
14
+ - 🌍 Improve Persian (fa-IR) and Urdu (ur-PK) locales on the Data Grid
15
+ - 📚 Documentation improvements
16
+ - 🐞 Bugfixes
17
+
18
+ Special thanks go out to the community contributors who have helped make this release possible:
19
+ @AxharKhan, @lauri865, @mapache-salvaje, @mostafaRoosta74.
20
+
21
+ Following are all team members who have contributed to this release:
22
+ @alexfauquette, @cherniavskii, @Janpot, @JCQuintas, @LukasTy, @arminmeh.
23
+
24
+ ### Data Grid
25
+
26
+ #### `@mui/x-data-grid@v8.0.0-alpha.9`
27
+
28
+ - [DataGrid] Fix toggling preference panel from toolbar (#16274) @lauri865
29
+ - [DataGrid] Only try to mount filter button if there are filters present (#16267) @lauri865
30
+ - [DataGrid] Revert `apiRef` to be `MutableRefObject` for React versions < 19 (#16279) @arminmeh
31
+ - [l10n] Improve Persian (fa-IR) locale (#16312) @mostafaRoosta74
32
+ - [l10n] Improve Urdu (ur-PK) locale (#16295) @AxharKhan
33
+
34
+ #### `@mui/x-data-grid-pro@v8.0.0-alpha.9` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
35
+
36
+ Same changes as in `@mui/x-data-grid@v8.0.0-alpha.9`.
37
+
38
+ #### `@mui/x-data-grid-premium@v8.0.0-alpha.9` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
39
+
40
+ Same changes as in `@mui/x-data-grid-pro@v8.0.0-alpha.9`.
41
+
42
+ ### Date and Time Pickers
43
+
44
+ #### `@mui/x-date-pickers@v8.0.0-alpha.9`
45
+
46
+ - [fields] Reset `all` selected state on section edit (#16223) @LukasTy
47
+
48
+ #### `@mui/x-date-pickers-pro@v8.0.0-alpha.9` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
49
+
50
+ Same changes as in `@mui/x-date-pickers@v8.0.0-alpha.9`.
51
+
52
+ ### Charts
53
+
54
+ #### Breaking Changes
55
+
56
+ The `experimentalMarkRendering` prop has been removed from the `LineChart` component.
57
+ The line mark are now `<circle />` element by default.
58
+ And you can chose another shape by adding a `shape` property to your line series.
59
+
60
+ The codemod only removes the `experimentalMarkRendering` prop.
61
+ If you relied on the fact that marks were `path` elements, you need to update your logic.
62
+
63
+ #### `@mui/x-charts@v8.0.0-alpha.9`
64
+
65
+ - [charts] Expand line with step interpolation (#16229) @alexfauquette
66
+ - [charts] Fix hydration mismatch (#16261) @alexfauquette
67
+ - [charts] Fix zoom option reactivity (#16262) @alexfauquette
68
+ - [charts] Move legend getter to series config (#16307) @alexfauquette
69
+ - [charts] Use `<circle />` instead of `<path />` for line marks by default (#15220) @alexfauquette
70
+
71
+ #### `@mui/x-charts-pro@v8.0.0-alpha.9` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
72
+
73
+ Same changes as in `@mui/x-charts@v8.0.0-alpha.9`, plus:
74
+
75
+ - [charts-pro] Fix `pro` components watermark (#16222) @JCQuintas
76
+
77
+ ### Tree View
78
+
79
+ #### `@mui/x-tree-view@v8.0.0-alpha.9`
80
+
81
+ Internal changes.
82
+
83
+ #### `@mui/x-tree-view-pro@v8.0.0-alpha.9` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
84
+
85
+ Same changes as in `@mui/x-tree-view@v8.0.0-alpha.9`.
86
+
87
+ ### Docs
88
+
89
+ - [docs] Fix `domainLimit` definition (#16270) @alexfauquette
90
+ - [docs] Fix tiny line chart breaking change (#16268) @alexfauquette
91
+ - [docs] Revise planned feature callouts and descriptions (#16290) @mapache-salvaje
92
+ - [docs] Copyedit the Aggregation doc (#16200) @mapache-salvaje
93
+ - [docs] Revise the Data Grid getting started docs (#15757) @mapache-salvaje
94
+ - [code-infra] Add 'use client' directive (#16273) @Janpot
95
+ - [code-infra] Allow dispatch of manual cherry-pick workflow (#16299) @JCQuintas
96
+ - [code-infra] Update changelog script (#16218) @cherniavskii
97
+ - [test] Fix flaky column pinning tests (#16219) @cherniavskii
98
+ - [test] Fix flaky tests (#16257) @lauri865
99
+
100
+ ## 8.0.0-alpha.8
101
+
102
+ _Jan 16, 2025_
103
+
104
+ We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
105
+
106
+ - 🍬 Improved design for Data Grid [Header filters](https://next.mui.com/x/react-data-grid/filtering/header-filters/)
107
+
108
+ <img width="100%" alt="Data Grid Header filters" src="https://github.com/user-attachments/assets/74a50cd9-7a55-41fc-a2b8-f8a0d5b9120e" />
109
+
110
+ - 🔄 Data Grid [Scroll restoration](https://next.mui.com/x/react-data-grid/scrolling/#scroll-restoration)
111
+ - 📊 Charts support server-side rendering under [some conditions](https://next.mui.com/x/react-charts/getting-started/#server-side-rendering)
112
+ - 🐞 Bugfixes
113
+
114
+ Special thanks go out to the community contributors who have helped make this release possible:
115
+ @lauri865.
116
+ Following are all team members who have contributed to this release:
117
+ @arminmeh, @romgrk, @samuelsycamore, @alexfauquette, @cherniavskii, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy, @michelengelen.
118
+
119
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
120
+
121
+ ### Data Grid
122
+
123
+ #### Breaking changes
124
+
125
+ - The clear button in header filter cells has been moved to the header filter menu. Use `slotProps={{ headerFilterCell: { showClearIcon: true } }}` to restore the clear button in the cell.
126
+
127
+ #### `@mui/x-data-grid@8.0.0-alpha.8`
128
+
129
+ - [DataGrid] Improve scrollbar deadzone with overlay scrollbars (#15961) @lauri865
130
+ - [DataGrid] Header filter design improvements (#15991) @KenanYusuf
131
+ - [DataGrid] Scroll restoration (#15623) @lauri865
132
+ - [DataGrid] Fix row, cell and header memoizations (#15666) @lauri865
133
+
134
+ #### `@mui/x-data-grid-pro@8.0.0-alpha.8` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
135
+
136
+ Same changes as in `@mui/x-data-grid@8.0.0-alpha.8`, plus:
137
+
138
+ - [DataGridPro] Add test for column pinning with disabled column virtualization (#16176) @cherniavskii
139
+ - [DataGridPro] Fix width of right-pinned column group during resize (#16199) @cherniavskii
140
+
141
+ #### `@mui/x-data-grid-premium@8.0.0-alpha.8` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
142
+
143
+ Same changes as in `@mui/x-data-grid-pro@8.0.0-alpha.8`.
144
+
145
+ ### Date and Time Pickers
146
+
147
+ #### Breaking changes
148
+
149
+ - The field is now editable if rendered inside a mobile Picker — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#field-editing-on-mobile-pickers)
150
+ - The `useMultiInputDateRangeField`, `useMultiInputTimeRangeField`, and `useMultiInputDateTimeRangeField` hooks have been removed in favor of the new `useMultiInputRangeField` hook — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#usemultiinputdaterangefield)
151
+ - The component passed to the `field` slot no longer receives the `value`, `onChange`, `timezone`, `format`, `disabled`, `formatDensity`, `enableAccessibleFieldDOMStructure`, `selectedSections` and `onSelectedSectionsChange` props — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#slot-field)
152
+
153
+ #### `@mui/x-date-pickers@8.0.0-alpha.8`
154
+
155
+ - [pickers] Let the field components handle their opening UI, and allow field editing on mobile pickers (#15671) @flaviendelangle
156
+ - [pickers] Remove code duplication for the multi input range fields (#15505) @flaviendelangle
157
+ - [pickers] Rename `onRangePositionChange` into `setRangePosition` in `usePickerRangePositionContext` (#16189) @flaviendelangle
158
+ - [pickers] Use context to pass props from the picker to the field (#16042) @flaviendelangle
159
+
160
+ #### `@mui/x-date-pickers-pro@8.0.0-alpha.8` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
161
+
162
+ Same changes as in `@mui/x-date-pickers@8.0.0-alpha.8`.
163
+
164
+ ### Charts
165
+
166
+ #### Breaking changes
167
+
168
+ - Charts tooltip markers now have different styles for each chart type. The tooltip and legend marks are now the same.
169
+ - Duplicate axis id's across `x` and `y` axis now log a warning in dev mode. Axis ids should be unique to prevent internal issues.
170
+
171
+ #### `@mui/x-charts@8.0.0-alpha.8`
172
+
173
+ - [charts] Fix flaky charts tests (#16180) @JCQuintas
174
+ - [charts] Handle case where gradient stop `offset` could be `Infinite` (#16131) @JCQuintas
175
+ - [charts] Make `useChartGradientId` public (#16106) @JCQuintas
176
+ - [charts] Move z-axis to plugin (#16130) @alexfauquette
177
+ - [charts] Plot data at first render if `skipAnimation` is set to `true` (#16166) @alexfauquette
178
+ - [charts] Replace tooltip mark with style (#16117) @JCQuintas
179
+ - [charts] Support `rtl` for gradient legend (#16115) @JCQuintas
180
+ - [charts] Use plugin system for series and axes (#15865) @alexfauquette
181
+
182
+ #### `@mui/x-charts-pro@8.0.0-alpha.8` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
183
+
184
+ Same changes as in `@mui/x-charts@8.0.0-alpha.8`.
185
+
186
+ ### Tree View
187
+
188
+ #### `@mui/x-tree-view@8.0.0-alpha.8`
189
+
190
+ No changes since `@mui/x-tree-view-pro@v8.0.0-alpha.7`.
191
+
192
+ #### `@mui/x-tree-view-pro@8.0.0-alpha.8` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
193
+
194
+ Same changes as in `@mui/x-tree-view@8.0.0-alpha.8`.
195
+
196
+ ### Docs
197
+
198
+ - [docs] Add example for custom legend (#16169) @alexfauquette
199
+ - [docs] Add full custom field creation example (#15194) @flaviendelangle
200
+ - [docs] Copyedit the Data Grid cell selection page (#16099) @samuelsycamore
201
+ - [docs] Fix demo rendering issue on Codesandbox (#16118) @arminmeh
202
+ - [docs] Remove broken links (#16167) @alexfauquette
203
+ - [docs] Split the Data Grid editing page (#14931) @MBilalShafi
204
+ - [docs] Fix wrong props warnings (#16119) @JCQuintas
205
+
206
+ ### Core
207
+
208
+ - [core] Type all references as `RefObject` (#16124) @arminmeh
209
+ - [code-infra] Refactor `react` and `react-dom` definitions to simplify dep resolving (#16160) @LukasTy
210
+ - [code-infra] Stop renovate from updating `date-fns-v2` (#16158) @LukasTy
211
+ - [infra] Improve cherry-pick action target list (#16184) @michelengelen
212
+ - [test] Fix flaky column pinning unit test (#16202) @cherniavskii
213
+ - [test] Fix flaky screenshot (#16182) @cherniavskii
214
+
8
215
  ## 8.0.0-alpha.7
9
216
 
10
217
  _Jan 9, 2025_
@@ -542,7 +749,7 @@ Same changes as in `@mui/x-tree-view@8.0.0-alpha.3`.
542
749
  - [code-infra] Playwright 1.49 (#15493) @JCQuintas
543
750
  - [test] Force hover in headless Chrome (#15710) @cherniavskii
544
751
 
545
- ## v8.0.0-alpha.2
752
+ ## 8.0.0-alpha.2
546
753
 
547
754
  _Nov 29, 2024_
548
755
 
@@ -669,7 +876,7 @@ Same changes as in `@mui/x-tree-view@v8.0.0-alpha.2`.
669
876
  - [core] Remove dead translation key (#15566) @oliviertassinari
670
877
  - [code-infra] Auto-merge `@types/node` bumps (#15591) @LukasTy
671
878
 
672
- ## v8.0.0-alpha.1
879
+ ## 8.0.0-alpha.1
673
880
 
674
881
  _Nov 22, 2024_
675
882
 
@@ -1002,6 +1209,347 @@ Same changes as in `@mui/x-charts@8.0.0-alpha.0`.
1002
1209
  - [release] v8 preparation (#15054) @michelengelen
1003
1210
  - [test] Fix advanced list view regression test snapshot (#15260) @KenanYusuf
1004
1211
 
1212
+ ## 7.24.1
1213
+
1214
+ _Jan 24, 2025_
1215
+
1216
+ We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
1217
+
1218
+ - 🐞 Bugfixes
1219
+ - 🌍 Improve Persian (fa-IR) locale on the Data Grid
1220
+
1221
+ Special thanks go out to the community contributors who have helped make this release possible:
1222
+ @mostafaRoosta74, @lauri865.
1223
+
1224
+ Following are all team members who have contributed to this release:
1225
+ @alexfauquette, @JCQuintas, @cherniavskii, @LukasTy, @arminmeh.
1226
+
1227
+ ### Data Grid
1228
+
1229
+ #### `@mui/x-data-grid@7.24.1`
1230
+
1231
+ - [DataGrid] Fix toggling preference panel from toolbar (#16276) @lauri865
1232
+ - [DataGrid] Only try to mount filter button if there are filters present (#16269) @lauri865
1233
+ - [DataGrid] Revert `apiRef` to be `MutableRefObject` for React versions < 19 (#16320) @arminmeh
1234
+ - [l10n] Improve Persian (fa-IR) locale (#15964) @mostafaRoosta74
1235
+
1236
+ #### `@mui/x-data-grid-pro@7.24.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1237
+
1238
+ Same changes as in `@mui/x-data-grid@7.24.1`.
1239
+
1240
+ #### `@mui/x-data-grid-premium@7.24.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
1241
+
1242
+ Same changes as in `@mui/x-data-grid-pro@7.24.1`.
1243
+
1244
+ ### Date and Time Pickers
1245
+
1246
+ #### `@mui/x-date-pickers@7.24.1`
1247
+
1248
+ - [fields] Reset `all` selected state on section edit (#16232) @LukasTy
1249
+
1250
+ #### `@mui/x-date-pickers-pro@7.24.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1251
+
1252
+ Same changes as in `@mui/x-date-pickers@7.24.1`.
1253
+
1254
+ ### Charts
1255
+
1256
+ #### `@mui/x-charts@7.24.1`
1257
+
1258
+ - [charts] Handle case where gradient stop `offset` could be `Infinite` (@JCQuintas) (#16309) @JCQuintas
1259
+
1260
+ #### `@mui/x-charts-pro@7.24.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1261
+
1262
+ Same changes as in `@mui/x-charts@7.24.1`.
1263
+
1264
+ ### Tree View
1265
+
1266
+ #### `@mui/x-tree-view@7.24.1`
1267
+
1268
+ Internal changes.
1269
+
1270
+ #### `@mui/x-tree-view-pro@7.24.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1271
+
1272
+ Same changes as in `@mui/x-tree-view@7.24.1`.
1273
+
1274
+ ### Docs
1275
+
1276
+ - [docs] Fix `domainLimit` definition (#16271) @alexfauquette
1277
+
1278
+ ### Core
1279
+
1280
+ - [core] Make `@mui/x-internals` a dependency of `@mui/x-license` (#16265) @alexfauquette
1281
+ - [test] Fix flaky column pinning tests (#16228) @cherniavskii
1282
+ - [test] Fix flaky tests (#16264) @lauri865
1283
+
1284
+ ## 7.24.0
1285
+
1286
+ _Jan 17, 2025_
1287
+
1288
+ We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
1289
+
1290
+ - 🔄 Data Grid [Scroll restoration](https://next.mui.com/x/react-data-grid/scrolling/#scroll-restoration)
1291
+ - 🐞 Bugfixes
1292
+
1293
+ Special thanks go out to the community contributors who have helped make this release possible:
1294
+ @lauri865, @AxharKhan.
1295
+ Following are all team members who have contributed to this release:
1296
+ @KenanYusuf, @arminmeh, @cherniavskii, @michelengelen, @samuelsycamore, @LukasTy.
1297
+
1298
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
1299
+
1300
+ ### Data Grid
1301
+
1302
+ #### `@mui/x-data-grid@7.24.0`
1303
+
1304
+ - [DataGrid] Fix resizing right pinned column (#16193) @KenanYusuf
1305
+ - [DataGrid] Improve scrollbar deadzone with overlay scrollbars (#16212) @lauri865
1306
+ - [DataGrid] Scroll restoration (#16208) @lauri865
1307
+ - [DataGrid] Fix row, cell and header memoizations (#16195) @lauri865
1308
+ - [l10n] Improve Urdu (ur-PK) locale (#16081) @AxharKhan
1309
+
1310
+ #### `@mui/x-data-grid-pro@7.24.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1311
+
1312
+ Same changes as in `@mui/x-data-grid@7.24.0`, plus:
1313
+
1314
+ - [DataGridPro] Add test for column pinning with disabled column virtualization (#16196) @cherniavskii
1315
+ - [DataGridPro] Fix width of right-pinned column group during resize (#16207) @cherniavskii
1316
+
1317
+ #### `@mui/x-data-grid-premium@7.24.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
1318
+
1319
+ Same changes as in `@mui/x-data-grid-pro@7.24.0`.
1320
+
1321
+ ### Date and Time Pickers
1322
+
1323
+ #### `@mui/x-date-pickers@7.24.0`
1324
+
1325
+ Internal changes.
1326
+
1327
+ #### `@mui/x-date-pickers-pro@7.24.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1328
+
1329
+ Same changes as in `@mui/x-date-pickers@7.24.0`.
1330
+
1331
+ ### Charts
1332
+
1333
+ #### `@mui/x-charts@7.24.0`
1334
+
1335
+ Internal changes.
1336
+
1337
+ #### `@mui/x-charts-pro@7.24.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1338
+
1339
+ Same changes as in `@mui/x-charts@7.24.0`.
1340
+
1341
+ ### Tree View
1342
+
1343
+ #### `@mui/x-tree-view@7.24.0`
1344
+
1345
+ Internal changes.
1346
+
1347
+ #### `@mui/x-tree-view-pro@7.24.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1348
+
1349
+ Same changes as in `@mui/x-tree-view@7.24.0`.
1350
+
1351
+ ### Docs
1352
+
1353
+ - [docs] Copyedit the Data Grid cell selection page (#16213) @samuelsycamore
1354
+ - [docs] Fix demo rendering issue on Codesandbox (#16129) @arminmeh
1355
+
1356
+ ### Core
1357
+
1358
+ - [core] Type all references as `RefObject` (#16125) @arminmeh
1359
+ - [code-infra] Refactor `react` and `react-dom` definitions to simplify dep resolving (#16214) @LukasTy
1360
+ - [infra] Improve cherry-pick action target list (#16188) @michelengelen
1361
+ - [test] Fix flaky column pinning unit test (#16209) @cherniavskii
1362
+
1363
+ ## 7.23.6
1364
+
1365
+ _Jan 9, 2025_
1366
+
1367
+ We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
1368
+
1369
+ - 🌍 Add Chinese (Taiwan) (zh-TW) locale on the Date and Time Pickers
1370
+ - 🌍 Improve Norwegian (nb-NO) locale on the Date and Time Pickers
1371
+ - 🌍 Improve Dutch (nl-NL) locale on the Data Grid
1372
+ - 🐞 Bugfixes
1373
+
1374
+ Special thanks go out to the community contributors who have helped make this release possible:
1375
+ @josteinjhauge, @derek-0000, @nusr, @k-rajat19, @tomashauser.
1376
+ Following are all team members who have contributed to this release:
1377
+ @flaviendelangle, @LukasTy, @MBilalShafi, @arminmeh, @oliviertassinari, @cherniavskii.
1378
+
1379
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
1380
+
1381
+ ### Data Grid
1382
+
1383
+ #### `@mui/x-data-grid@7.23.6`
1384
+
1385
+ - [DataGrid] Improve React 19 support (#16048) @LukasTy
1386
+ - [DataGrid] Add `name` attribute to selection checkboxes (#16041) @derek-0000
1387
+ - [DataGrid] Fix number filter field formatting values while typing (#16068) @arminmeh
1388
+ - [DataGrid] Fix select all checkbox state reset with server side data (#16039) @MBilalShafi
1389
+
1390
+ #### `@mui/x-data-grid-pro@7.23.6` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1391
+
1392
+ Same changes as in `@mui/x-data-grid@7.23.6`.
1393
+
1394
+ #### `@mui/x-data-grid-premium@7.23.6` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
1395
+
1396
+ Same changes as in `@mui/x-data-grid-pro@7.23.6`.
1397
+
1398
+ ### Date and Time Pickers
1399
+
1400
+ #### `@mui/x-date-pickers@7.23.6`
1401
+
1402
+ - [pickers] Improve React 19 support (#16048) @LukasTy
1403
+ - [l10n] Add Chinese (Taiwan) (zh-TW) locale (#16057) @nusr
1404
+ - [l10n] Improve Norwegian (nb-NO) locale (#16083) @josteinjhauge
1405
+ - [pickers] Support `date-fns-jalali` v4 (#16013) @LukasTy
1406
+
1407
+ #### `@mui/x-date-pickers-pro@7.23.6` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1408
+
1409
+ Same changes as in `@mui/x-date-pickers@7.23.6`.
1410
+
1411
+ ### Charts
1412
+
1413
+ #### `@mui/x-charts@7.23.6`
1414
+
1415
+ - [charts] Improve React 19 support (#16048) @LukasTy
1416
+ - [charts] Fix 301 redirection in the API documentation @oliviertassinari
1417
+
1418
+ #### `@mui/x-charts-pro@7.23.6` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1419
+
1420
+ Same changes as in `@mui/x-charts@7.23.6`.
1421
+
1422
+ ### Tree View
1423
+
1424
+ #### `@mui/x-tree-view@7.23.6`
1425
+
1426
+ - [TreeView] Improve React 19 support (#16048) @LukasTy
1427
+
1428
+ #### `@mui/x-tree-view-pro@7.23.6` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1429
+
1430
+ Same changes as in `@mui/x-tree-view@7.23.6`.
1431
+
1432
+ ### Docs
1433
+
1434
+ - [docs] Fix `EditingWithDatePickers` demo (#16047) @k-rajat19
1435
+ - [docs] Fix doc warning for automatic children selection on tree view (#16037) @flaviendelangle
1436
+ - [docs] Fix non-existing "adapter" property of `LocalizationProvider` (#16088) @tomashauser
1437
+
1438
+ ### Core
1439
+
1440
+ - [core] Clarify the release strategy (#16012) @MBilalShafi
1441
+ - [core] Update the `release:version` docs (#16040) @cherniavskii
1442
+
1443
+ ## 7.23.5
1444
+
1445
+ _Dec 27, 2024_
1446
+
1447
+ Here are some highlights ✨:
1448
+
1449
+ - 🐞 Fix version mismatch issue in Data Grid codesandbox/stackblitz demos
1450
+
1451
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
1452
+
1453
+ ### Data Grid
1454
+
1455
+ #### `@mui/x-data-grid@7.23.5`
1456
+
1457
+ No changes since `@mui/x-data-grid@v7.23.4`.
1458
+
1459
+ #### `@mui/x-data-grid-pro@7.23.5` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1460
+
1461
+ Same changes as in `@mui/x-data-grid@7.23.5`.
1462
+
1463
+ #### `@mui/x-data-grid-premium@7.23.5` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
1464
+
1465
+ Same changes as in `@mui/x-data-grid-pro@7.23.5`.
1466
+
1467
+ ## 7.23.4
1468
+
1469
+ _Dec 27, 2024_
1470
+
1471
+ We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
1472
+
1473
+ - 🌍 Improve Dutch (nl-NL) locale on the Data Grid
1474
+ - 🐞 Bugfixes
1475
+
1476
+ Special thanks go out to the community contributor who has helped make this release possible:
1477
+ @JoepVerkoelen.
1478
+ Following are all team members who have contributed to this release:
1479
+ @arminmeh, @oliviertassinari.
1480
+
1481
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
1482
+
1483
+ ### Data Grid
1484
+
1485
+ #### `@mui/x-data-grid@7.23.4`
1486
+
1487
+ - [DataGrid] Fix header filters showing clear button while empty (#15990) @k-rajat19
1488
+ - [DataGrid] Replace `forwardRef` with a shim for forward compatibility (#15984) @lauri865
1489
+ - [l10n] Improve Dutch (nl-NL) locale (#15920) @JoepVerkoelen
1490
+
1491
+ #### `@mui/x-data-grid-pro@7.23.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1492
+
1493
+ Same changes as in `@mui/x-data-grid@7.23.4`.
1494
+
1495
+ #### `@mui/x-data-grid-premium@7.23.4` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
1496
+
1497
+ Same changes as in `@mui/x-data-grid-pro@7.23.4`, plus:
1498
+
1499
+ - [DataGridPremium] Fix column pinning with checkbox selection and row grouping (#15949) @k-rajat19
1500
+
1501
+ ### Docs
1502
+
1503
+ - [docs] Fix outdated link to handbook (#15855) @oliviertassinari
1504
+
1505
+ ## 7.23.3
1506
+
1507
+ _Dec 19, 2024_
1508
+
1509
+ We'd like to offer a big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:
1510
+
1511
+ - 🌍 Improve Korean (ko-KR) locale on the Data Grid
1512
+ - 🐞 Bugfixes
1513
+
1514
+ Special thanks go out to the community contributors who have helped make this release possible:
1515
+ @k-rajat19, @good-jinu.
1516
+ Following are all team members who have contributed to this release:
1517
+ @KenanYusuf, @MBilalShafi, @arminmeh, @flaviendelangle.
1518
+
1519
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
1520
+
1521
+ ### Data Grid
1522
+
1523
+ #### `@mui/x-data-grid@7.23.3`
1524
+
1525
+ - [DataGrid] Allow passing custom props to `.main` element (#15919) @MBilalShafi
1526
+ - [DataGrid] Consider `columnGroupHeaderHeight` prop in `getTotalHeaderHeight` method (#15927) @k-rajat19
1527
+ - [DataGrid] Deprecate `indeterminateCheckboxAction` prop (#15862) @MBilalShafi
1528
+ - [DataGrid] Fix `aria-label` value for group checkboxes (#15861) @MBilalShafi
1529
+ - [DataGrid] Fix autosizing with virtualized columns (#15929) @k-rajat19
1530
+ - [DataGrid] Round dimensions to avoid subpixel rendering error (#15873) @KenanYusuf
1531
+ - [DataGrid] Toggle menu on click in `<GridActionsCell />` (#15871) @k-rajat19
1532
+ - [DataGrid] Trigger row spanning computation on rows update (#15872) @MBilalShafi
1533
+ - [l10n] Improve Korean (ko-KR) locale (#15906) @good-jinu
1534
+
1535
+ #### `@mui/x-data-grid-pro@7.23.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1536
+
1537
+ Same changes as in `@mui/x-data-grid@7.23.3`.
1538
+
1539
+ #### `@mui/x-data-grid-premium@7.23.3` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
1540
+
1541
+ Same changes as in `@mui/x-data-grid-pro@7.23.3`.
1542
+
1543
+ ### Date and Time Pickers
1544
+
1545
+ #### `@mui/x-date-pickers@7.23.3`
1546
+
1547
+ - [pickers] Add verification to disable skipped hours in spring forward DST (#15918) @flaviendelangle
1548
+
1549
+ #### `@mui/x-date-pickers-pro@7.23.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1550
+
1551
+ Same changes as in `@mui/x-date-pickers@7.23.3`.
1552
+
1005
1553
  ## 7.23.2
1006
1554
 
1007
1555
  _Dec 12, 2024_
@@ -1243,7 +1791,7 @@ Same changes as in `@mui/x-tree-view@7.23.0`.
1243
1791
 
1244
1792
  - [core] Update @mui/monorepo (#15574) @oliviertassinari
1245
1793
 
1246
- ## v7.22.3
1794
+ ## 7.22.3
1247
1795
 
1248
1796
  _Nov 21, 2024_
1249
1797
 
@@ -42,18 +42,16 @@ const DataGridPremiumRaw = (0, _forwardRef.forwardRef)(function DataGridPremium(
42
42
  privateApiRef: privateApiRef,
43
43
  configuration: configuration,
44
44
  props: props,
45
- children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_xDataGridPro.GridRoot, (0, _extends2.default)({
45
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_xDataGridPro.GridRoot, (0, _extends2.default)({
46
46
  className: props.className,
47
47
  style: props.style,
48
48
  sx: props.sx
49
49
  }, props.slotProps?.root, {
50
50
  ref: ref,
51
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_xDataGridPro.GridHeader, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_xDataGridPro.GridBody, {
52
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_xLicense.Watermark, {
53
- packageName: "x-data-grid-premium",
54
- releaseInfo: releaseInfo
55
- })
56
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_xDataGridPro.GridFooterPlaceholder, {})]
51
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_xLicense.Watermark, {
52
+ packageName: "x-data-grid-premium",
53
+ releaseInfo: releaseInfo
54
+ })
57
55
  }))
58
56
  });
59
57
  });
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import { RefObject } from '@mui/x-internals/types';
2
2
  import { GridApiPremium, GridPrivateApiPremium } from '../models/gridApiPremium';
3
3
  import { DataGridPremiumProcessedProps } from '../models/dataGridPremiumProps';
4
- export declare const useDataGridPremiumComponent: (inputApiRef: React.MutableRefObject<GridApiPremium> | undefined, props: DataGridPremiumProcessedProps) => React.RefObject<GridPrivateApiPremium>;
4
+ export declare const useDataGridPremiumComponent: (inputApiRef: RefObject<GridApiPremium> | undefined, props: DataGridPremiumProcessedProps) => import("react").RefObject<GridPrivateApiPremium>;
@@ -50,6 +50,7 @@ const useDataGridPremiumComponent = (inputApiRef, props) => {
50
50
  (0, _internals.useGridInitializeState)(_internals.columnPinningStateInitializer, apiRef, props);
51
51
  (0, _internals.useGridInitializeState)(_internals.columnsStateInitializer, apiRef, props);
52
52
  (0, _internals.useGridInitializeState)(_internals.rowPinningStateInitializer, apiRef, props);
53
+ (0, _internals.useGridInitializeState)(_internals.paginationStateInitializer, apiRef, props);
53
54
  (0, _internals.useGridInitializeState)(_internals.rowsStateInitializer, apiRef, props);
54
55
  (0, _internals.useGridInitializeState)(_internals.editingStateInitializer, apiRef, props);
55
56
  (0, _internals.useGridInitializeState)(_internals.focusStateInitializer, apiRef, props);
@@ -60,7 +61,6 @@ const useDataGridPremiumComponent = (inputApiRef, props) => {
60
61
  (0, _internals.useGridInitializeState)(_internals.densityStateInitializer, apiRef, props);
61
62
  (0, _internals.useGridInitializeState)(_internals.columnReorderStateInitializer, apiRef, props);
62
63
  (0, _internals.useGridInitializeState)(_internals.columnResizeStateInitializer, apiRef, props);
63
- (0, _internals.useGridInitializeState)(_internals.paginationStateInitializer, apiRef, props);
64
64
  (0, _internals.useGridInitializeState)(_internals.rowsMetaStateInitializer, apiRef, props);
65
65
  (0, _internals.useGridInitializeState)(_internals.columnMenuStateInitializer, apiRef, props);
66
66
  (0, _internals.useGridInitializeState)(_internals.columnGroupsStateInitializer, apiRef, props);
@@ -4,7 +4,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
4
4
  import * as React from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import { useLicenseVerifier, Watermark } from '@mui/x-license';
7
- import { GridBody, GridFooterPlaceholder, GridHeader, GridRoot, GridContextProvider } from '@mui/x-data-grid-pro';
7
+ import { GridRoot, GridContextProvider } from '@mui/x-data-grid-pro';
8
8
  import { propValidatorsDataGrid, propValidatorsDataGridPro, validateProps } from '@mui/x-data-grid-pro/internals';
9
9
  import { forwardRef } from '@mui/x-internals/forwardRef';
10
10
  import { useDataGridPremiumComponent } from "./useDataGridPremiumComponent.js";
@@ -12,7 +12,7 @@ import { useDataGridPremiumProps } from "./useDataGridPremiumProps.js";
12
12
  import { getReleaseInfo } from "../utils/releaseInfo.js";
13
13
  import { useGridAriaAttributes } from "../hooks/utils/useGridAriaAttributes.js";
14
14
  import { useGridRowAriaAttributes } from "../hooks/features/rows/useGridRowAriaAttributes.js";
15
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
+ import { jsx as _jsx } from "react/jsx-runtime";
16
16
  const configuration = {
17
17
  hooks: {
18
18
  useGridAriaAttributes,
@@ -35,18 +35,16 @@ const DataGridPremiumRaw = forwardRef(function DataGridPremium(inProps, ref) {
35
35
  privateApiRef: privateApiRef,
36
36
  configuration: configuration,
37
37
  props: props,
38
- children: /*#__PURE__*/_jsxs(GridRoot, _extends({
38
+ children: /*#__PURE__*/_jsx(GridRoot, _extends({
39
39
  className: props.className,
40
40
  style: props.style,
41
41
  sx: props.sx
42
42
  }, props.slotProps?.root, {
43
43
  ref: ref,
44
- children: [/*#__PURE__*/_jsx(GridHeader, {}), /*#__PURE__*/_jsx(GridBody, {
45
- children: /*#__PURE__*/_jsx(Watermark, {
46
- packageName: "x-data-grid-premium",
47
- releaseInfo: releaseInfo
48
- })
49
- }), /*#__PURE__*/_jsx(GridFooterPlaceholder, {})]
44
+ children: /*#__PURE__*/_jsx(Watermark, {
45
+ packageName: "x-data-grid-premium",
46
+ releaseInfo: releaseInfo
47
+ })
50
48
  }))
51
49
  });
52
50
  });
@@ -43,6 +43,7 @@ export const useDataGridPremiumComponent = (inputApiRef, props) => {
43
43
  useGridInitializeState(columnPinningStateInitializer, apiRef, props);
44
44
  useGridInitializeState(columnsStateInitializer, apiRef, props);
45
45
  useGridInitializeState(rowPinningStateInitializer, apiRef, props);
46
+ useGridInitializeState(paginationStateInitializer, apiRef, props);
46
47
  useGridInitializeState(rowsStateInitializer, apiRef, props);
47
48
  useGridInitializeState(editingStateInitializer, apiRef, props);
48
49
  useGridInitializeState(focusStateInitializer, apiRef, props);
@@ -53,7 +54,6 @@ export const useDataGridPremiumComponent = (inputApiRef, props) => {
53
54
  useGridInitializeState(densityStateInitializer, apiRef, props);
54
55
  useGridInitializeState(columnReorderStateInitializer, apiRef, props);
55
56
  useGridInitializeState(columnResizeStateInitializer, apiRef, props);
56
- useGridInitializeState(paginationStateInitializer, apiRef, props);
57
57
  useGridInitializeState(rowsMetaStateInitializer, apiRef, props);
58
58
  useGridInitializeState(columnMenuStateInitializer, apiRef, props);
59
59
  useGridInitializeState(columnGroupsStateInitializer, apiRef, props);
@@ -121,7 +121,7 @@ class CellValueUpdater {
121
121
  if (onProcessRowUpdateError) {
122
122
  onProcessRowUpdateError(errorThrown);
123
123
  } else if (process.env.NODE_ENV !== 'production') {
124
- warnOnce(['MUI X: A call to `processRowUpdate` threw an error which was not handled because `onProcessRowUpdateError` is missing.', 'To handle the error pass a callback to the `onProcessRowUpdateError` prop, for example `<DataGrid onProcessRowUpdateError={(error) => ...} />`.', 'For more detail, see https://mui.com/x/react-data-grid/editing/#server-side-persistence.'], 'error');
124
+ warnOnce(['MUI X: A call to `processRowUpdate` threw an error which was not handled because `onProcessRowUpdateError` is missing.', 'To handle the error pass a callback to the `onProcessRowUpdateError` prop, for example `<DataGrid onProcessRowUpdateError={(error) => ...} />`.', 'For more detail, see https://mui.com/x/react-data-grid/editing/persistence/.'], 'error');
125
125
  }
126
126
  };
127
127
  try {
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTczNjM3NzIwMDAwMA==";
3
+ const releaseInfo = "MTczNzY1ODgwMDAwMA==";
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
@@ -1,9 +1,9 @@
1
- import * as React from 'react';
1
+ import { RefObject } from '@mui/x-internals/types';
2
2
  import { GridPrivateApiPremium } from '../../../models/gridApiPremium';
3
3
  import { DataGridPremiumProcessedProps } from '../../../models/dataGridPremiumProps';
4
4
  import { GridAggregationFunction, GridAggregationFunctionDataSource, GridAggregationLookup } from './gridAggregationInterfaces';
5
5
  export declare const createAggregationLookup: ({ apiRef, aggregationFunctions, aggregationRowsScope, getAggregationPosition, isDataSource, }: {
6
- apiRef: React.MutableRefObject<GridPrivateApiPremium>;
6
+ apiRef: RefObject<GridPrivateApiPremium>;
7
7
  aggregationFunctions: Record<string, GridAggregationFunction> | Record<string, GridAggregationFunctionDataSource>;
8
8
  aggregationRowsScope: DataGridPremiumProcessedProps["aggregationRowsScope"];
9
9
  getAggregationPosition: DataGridPremiumProcessedProps["getAggregationPosition"];
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import { RefObject } from '@mui/x-internals/types';
2
2
  import { GridColDef, GridRowId } from '@mui/x-data-grid-pro';
3
3
  import { GridColumnRawLookup, GridHydrateRowsValue } from '@mui/x-data-grid-pro/internals';
4
4
  import { GridAggregationFunction, GridAggregationFunctionDataSource, GridAggregationModel, GridAggregationRule, GridAggregationRules } from './gridAggregationInterfaces';
@@ -28,7 +28,7 @@ interface AddFooterRowsParams {
28
28
  * If `true`, there are some aggregation rules to apply
29
29
  */
30
30
  hasAggregationRule: boolean;
31
- apiRef: React.MutableRefObject<GridPrivateApiPremium>;
31
+ apiRef: RefObject<GridPrivateApiPremium>;
32
32
  }
33
33
  /**
34
34
  * Add a footer for each group that has at least one column with an aggregated value.
@@ -39,7 +39,7 @@ export declare const addFooterRows: ({ groupingParams, apiRef, getAggregationPos
39
39
  */
40
40
  export declare const areAggregationRulesEqual: (previousValue: GridAggregationRules | undefined, newValue: GridAggregationRules) => boolean;
41
41
  export declare const getAggregationFunctionLabel: ({ apiRef, aggregationRule, }: {
42
- apiRef: React.MutableRefObject<GridApiPremium>;
42
+ apiRef: RefObject<GridApiPremium>;
43
43
  aggregationRule: GridAggregationRule;
44
44
  }) => string;
45
45
  export {};
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
1
+ import { RefObject } from '@mui/x-internals/types';
2
2
  import { GridStateInitializer } from '@mui/x-data-grid-pro/internals';
3
3
  import { DataGridPremiumProcessedProps } from '../../../models/dataGridPremiumProps';
4
4
  import { GridPrivateApiPremium } from '../../../models/gridApiPremium';
5
5
  export declare const aggregationStateInitializer: GridStateInitializer<Pick<DataGridPremiumProcessedProps, 'aggregationModel' | 'initialState'>, GridPrivateApiPremium>;
6
- export declare const useGridAggregation: (apiRef: React.MutableRefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "onAggregationModelChange" | "initialState" | "aggregationModel" | "getAggregationPosition" | "aggregationFunctions" | "aggregationRowsScope" | "disableAggregation" | "rowGroupingColumnMode" | "unstable_dataSource">) => void;
6
+ export declare const useGridAggregation: (apiRef: RefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "onAggregationModelChange" | "initialState" | "aggregationModel" | "getAggregationPosition" | "aggregationFunctions" | "aggregationRowsScope" | "disableAggregation" | "rowGroupingColumnMode" | "unstable_dataSource">) => void;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import { RefObject } from '@mui/x-internals/types';
2
2
  import { GridPrivateApiPremium } from '../../../models/gridApiPremium';
3
3
  import { DataGridPremiumProcessedProps } from '../../../models/dataGridPremiumProps';
4
- export declare const useGridAggregationPreProcessors: (apiRef: React.MutableRefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "aggregationFunctions" | "disableAggregation" | "getAggregationPosition" | "slotProps" | "slots" | "unstable_dataSource">) => void;
4
+ export declare const useGridAggregationPreProcessors: (apiRef: RefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "aggregationFunctions" | "disableAggregation" | "getAggregationPosition" | "slotProps" | "slots" | "unstable_dataSource">) => void;
@@ -1,4 +1,5 @@
1
1
  import * as React from 'react';
2
+ import { RefObject } from '@mui/x-internals/types';
2
3
  import { GridColDef, GridFilterOperator } from '@mui/x-data-grid-pro';
3
4
  import { GridBaseColDef } from '@mui/x-data-grid-pro/internals';
4
5
  import { GridApiPremium } from '../../../models/gridApiPremium';
@@ -17,7 +18,7 @@ interface GridColDefWithAggregationWrappers extends GridBaseColDef {
17
18
  */
18
19
  export declare const wrapColumnWithAggregationValue: ({ column, apiRef, aggregationRule, }: {
19
20
  column: GridBaseColDef;
20
- apiRef: React.MutableRefObject<GridApiPremium>;
21
+ apiRef: RefObject<GridApiPremium>;
21
22
  aggregationRule: GridAggregationRule;
22
23
  }) => GridBaseColDef;
23
24
  /**
@@ -13,13 +13,13 @@ export interface GridCellSelectionApi {
13
13
  isCellSelected: (id: GridRowId, field: GridColDef['field']) => boolean;
14
14
  /**
15
15
  * Returns an object containing the selection state of the cells.
16
- * The keys of the object correpond to the row IDs.
17
- * The value of each key is another object whose keys are the fields and values are the selection state.
16
+ * The keys of the object correspond to the row IDs.
17
+ * The value of each key is also an object, which has a column field for a key and a boolean value for its selection state.
18
18
  * @returns {GridCellSelectionModel} Object containing the selection state of the cells
19
19
  */
20
20
  getCellSelectionModel: () => GridCellSelectionModel;
21
21
  /**
22
- * Updates the selected cells to be those passed to the `newModel` argument.
22
+ * Updates the cell selection model according to the value passed to the `newModel` argument.
23
23
  * Any cell already selected will be unselected.
24
24
  * @param {GridCellSelectionModel} newModel The cells to select.
25
25
  */
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
1
+ import { RefObject } from '@mui/x-internals/types';
2
2
  import { GridStateInitializer } from '@mui/x-data-grid-pro/internals';
3
3
  import { DataGridPremiumProcessedProps } from '../../../models/dataGridPremiumProps';
4
4
  import { GridPrivateApiPremium } from '../../../models/gridApiPremium';
5
5
  export declare const cellSelectionStateInitializer: GridStateInitializer<Pick<DataGridPremiumProcessedProps, 'cellSelectionModel' | 'initialState'>>;
6
- export declare const useGridCellSelection: (apiRef: React.RefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "cellSelection" | "cellSelectionModel" | "onCellSelectionModelChange" | "pagination" | "paginationMode" | "ignoreValueFormatterDuringExport" | "clipboardCopyCellDelimiter" | "columnHeaderHeight">) => void;
6
+ export declare const useGridCellSelection: (apiRef: RefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "cellSelection" | "cellSelectionModel" | "onCellSelectionModelChange" | "pagination" | "paginationMode" | "ignoreValueFormatterDuringExport" | "clipboardCopyCellDelimiter" | "columnHeaderHeight">) => void;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import { RefObject } from '@mui/x-internals/types';
2
2
  import { GridPrivateApiPremium } from '../../../models/gridApiPremium';
3
3
  import type { DataGridPremiumProcessedProps } from '../../../models/dataGridPremiumProps';
4
- export declare const useGridClipboardImport: (apiRef: React.MutableRefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "pagination" | "paginationMode" | "processRowUpdate" | "onProcessRowUpdateError" | "getRowId" | "onClipboardPasteStart" | "onClipboardPasteEnd" | "splitClipboardPastedText" | "disableClipboardPaste" | "onBeforeClipboardPasteStart">) => void;
4
+ export declare const useGridClipboardImport: (apiRef: RefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "pagination" | "paginationMode" | "processRowUpdate" | "onProcessRowUpdateError" | "getRowId" | "onClipboardPasteStart" | "onClipboardPasteEnd" | "splitClipboardPastedText" | "disableClipboardPaste" | "onBeforeClipboardPasteStart">) => void;
@@ -129,7 +129,7 @@ class CellValueUpdater {
129
129
  if (onProcessRowUpdateError) {
130
130
  onProcessRowUpdateError(errorThrown);
131
131
  } else if (process.env.NODE_ENV !== 'production') {
132
- (0, _warning.warnOnce)(['MUI X: A call to `processRowUpdate` threw an error which was not handled because `onProcessRowUpdateError` is missing.', 'To handle the error pass a callback to the `onProcessRowUpdateError` prop, for example `<DataGrid onProcessRowUpdateError={(error) => ...} />`.', 'For more detail, see https://mui.com/x/react-data-grid/editing/#server-side-persistence.'], 'error');
132
+ (0, _warning.warnOnce)(['MUI X: A call to `processRowUpdate` threw an error which was not handled because `onProcessRowUpdateError` is missing.', 'To handle the error pass a callback to the `onProcessRowUpdateError` prop, for example `<DataGrid onProcessRowUpdateError={(error) => ...} />`.', 'For more detail, see https://mui.com/x/react-data-grid/editing/persistence/.'], 'error');
133
133
  }
134
134
  };
135
135
  try {
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import { RefObject } from '@mui/x-internals/types';
2
2
  import { GridPrivateApiPremium } from '../../../models/gridApiPremium';
3
3
  import { DataGridPremiumProcessedProps } from '../../../models/dataGridPremiumProps';
4
- export declare const useGridDataSourcePremium: (apiRef: React.MutableRefObject<GridPrivateApiPremium>, props: DataGridPremiumProcessedProps) => void;
4
+ export declare const useGridDataSourcePremium: (apiRef: RefObject<GridPrivateApiPremium>, props: DataGridPremiumProcessedProps) => void;
@@ -1,4 +1,5 @@
1
1
  import type * as Excel from 'exceljs';
2
+ import { RefObject } from '@mui/x-internals/types';
2
3
  import { GridRowId, GridColDef } from '@mui/x-data-grid-pro';
3
4
  import { GridStateColDef, GridColumnGroupLookup } from '@mui/x-data-grid/internals';
4
5
  import { ColumnsStylesInterface, GridExcelExportOptions } from '../gridExcelExportInterface';
@@ -18,7 +19,7 @@ interface SerializedRow {
18
19
  * actual rendered columns.
19
20
  * The caller of this function MUST call `resetColSpan()` before and after usage.
20
21
  */
21
- export declare const serializeRowUnsafe: (id: GridRowId, columns: GridStateColDef[], apiRef: React.MutableRefObject<GridPrivateApiPremium>, defaultValueOptionsFormulae: {
22
+ export declare const serializeRowUnsafe: (id: GridRowId, columns: GridStateColDef[], apiRef: RefObject<GridPrivateApiPremium>, defaultValueOptionsFormulae: {
22
23
  [field: string]: {
23
24
  address: string;
24
25
  };
@@ -53,7 +54,7 @@ interface BuildExcelOptions extends Pick<GridExcelExportOptions, 'exceljsPreProc
53
54
  rowIds: GridRowId[];
54
55
  columnsStyles?: ColumnsStylesInterface;
55
56
  }
56
- export declare function buildExcel(options: BuildExcelOptions, apiRef: React.MutableRefObject<GridPrivateApiPremium>): Promise<Excel.Workbook>;
57
+ export declare function buildExcel(options: BuildExcelOptions, apiRef: RefObject<GridPrivateApiPremium>): Promise<Excel.Workbook>;
57
58
  export interface ExcelExportInitEvent {
58
59
  serializedColumns: SerializedColumns;
59
60
  serializedRows: SerializedRow[];
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import { RefObject } from '@mui/x-internals/types';
2
2
  import { GridPrivateApiPremium } from '../../../models/gridApiPremium';
3
3
  import { DataGridPremiumProps } from '../../../models/dataGridPremiumProps';
4
4
  /**
@@ -8,4 +8,4 @@ import { DataGridPremiumProps } from '../../../models/dataGridPremiumProps';
8
8
  * @requires useGridSelection (state)
9
9
  * @requires useGridParamsApi (method)
10
10
  */
11
- export declare const useGridExcelExport: (apiRef: React.MutableRefObject<GridPrivateApiPremium>, props: DataGridPremiumProps) => void;
11
+ export declare const useGridExcelExport: (apiRef: RefObject<GridPrivateApiPremium>, props: DataGridPremiumProps) => void;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import { RefObject } from '@mui/x-internals/types';
2
2
  import { GridColDef, GridGroupingColDefOverride } from '@mui/x-data-grid-pro';
3
3
  import { GridColumnRawLookup } from '@mui/x-data-grid-pro/internals';
4
4
  import { GridApiPremium } from '../../../models/gridApiPremium';
@@ -25,7 +25,7 @@ interface CreateGroupingColDefMonoCriteriaParams {
25
25
  */
26
26
  export declare const createGroupingColDefForOneGroupingCriteria: ({ columnsLookup, groupedByColDef, groupingCriteria, colDefOverride, strategy, }: CreateGroupingColDefMonoCriteriaParams) => GridColDef;
27
27
  interface CreateGroupingColDefSeveralCriteriaParams {
28
- apiRef: React.MutableRefObject<GridApiPremium>;
28
+ apiRef: RefObject<GridApiPremium>;
29
29
  columnsLookup: GridColumnRawLookup;
30
30
  /**
31
31
  * The fields from which we are grouping the rows.
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import { RefObject } from '@mui/x-internals/types';
2
2
  import { GridRowTreeConfig, GridFilterState, GridFilterModel, GridRowModel, GridColDef, GridKeyValue, GridDataSource } from '@mui/x-data-grid-pro';
3
3
  import { GridAggregatedFilterItemApplier, GridColumnRawLookup, GRID_ROW_GROUPING_SINGLE_GROUPING_FIELD, getRowGroupingCriteriaFromGroupingField, isGroupingColumn } from '@mui/x-data-grid-pro/internals';
4
4
  import { DataGridPremiumProcessedProps } from '../../../models/dataGridPremiumProps';
@@ -15,7 +15,7 @@ interface FilterRowTreeFromTreeDataParams {
15
15
  rowTree: GridRowTreeConfig;
16
16
  isRowMatchingFilters: GridAggregatedFilterItemApplier | null;
17
17
  filterModel: GridFilterModel;
18
- apiRef: React.MutableRefObject<GridPrivateApiPremium>;
18
+ apiRef: RefObject<GridPrivateApiPremium>;
19
19
  }
20
20
  /**
21
21
  * A leaf is visible if it passed the filter
@@ -26,12 +26,12 @@ interface FilterRowTreeFromTreeDataParams {
26
26
  export declare const filterRowTreeFromGroupingColumns: (params: FilterRowTreeFromTreeDataParams) => Omit<GridFilterState, "filterModel">;
27
27
  export declare const getColDefOverrides: (groupingColDefProp: DataGridPremiumProcessedProps["groupingColDef"], fields: string[], strategy?: RowGroupingStrategy) => import("@mui/x-data-grid-pro").GridGroupingColDefOverride<any> | null | undefined;
28
28
  export declare const mergeStateWithRowGroupingModel: (rowGroupingModel: GridRowGroupingModel) => (state: GridStatePremium) => GridStatePremium;
29
- export declare const setStrategyAvailability: (privateApiRef: React.MutableRefObject<GridPrivateApiPremium>, disableRowGrouping: boolean, dataSource?: GridDataSource) => void;
29
+ export declare const setStrategyAvailability: (privateApiRef: RefObject<GridPrivateApiPremium>, disableRowGrouping: boolean, dataSource?: GridDataSource) => void;
30
30
  export declare const getCellGroupingCriteria: ({ row, colDef, groupingRule, apiRef, }: {
31
31
  row: GridRowModel;
32
32
  colDef: GridColDef;
33
33
  groupingRule: GridGroupingRule;
34
- apiRef: React.MutableRefObject<GridPrivateApiPremium>;
34
+ apiRef: RefObject<GridPrivateApiPremium>;
35
35
  }) => {
36
36
  key: GridKeyValue | null | undefined;
37
37
  field: string;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import { RefObject } from '@mui/x-internals/types';
2
2
  import { DataGridPremiumProcessedProps } from '../../../models/dataGridPremiumProps';
3
3
  import { GridPrivateApiPremium } from '../../../models/gridApiPremium';
4
- export declare const useGridDataSourceRowGroupingPreProcessors: (apiRef: React.MutableRefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "disableRowGrouping" | "groupingColDef" | "rowGroupingColumnMode" | "defaultGroupingExpansionDepth" | "isGroupExpandedByDefault" | "unstable_dataSource">) => void;
4
+ export declare const useGridDataSourceRowGroupingPreProcessors: (apiRef: RefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "disableRowGrouping" | "groupingColDef" | "rowGroupingColumnMode" | "defaultGroupingExpansionDepth" | "isGroupExpandedByDefault" | "unstable_dataSource">) => void;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import { RefObject } from '@mui/x-internals/types';
2
2
  import { GridStateInitializer } from '@mui/x-data-grid-pro/internals';
3
3
  import { GridPrivateApiPremium } from '../../../models/gridApiPremium';
4
4
  import { DataGridPremiumProcessedProps } from '../../../models/dataGridPremiumProps';
@@ -8,4 +8,4 @@ export declare const rowGroupingStateInitializer: GridStateInitializer<Pick<Data
8
8
  * @requires useGridRows (state, method) - can be after, async only
9
9
  * @requires useGridParamsApi (method) - can be after, async only
10
10
  */
11
- export declare const useGridRowGrouping: (apiRef: React.MutableRefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "initialState" | "rowGroupingModel" | "onRowGroupingModelChange" | "defaultGroupingExpansionDepth" | "isGroupExpandedByDefault" | "groupingColDef" | "rowGroupingColumnMode" | "disableRowGrouping" | "slotProps" | "slots" | "unstable_dataSource">) => void;
11
+ export declare const useGridRowGrouping: (apiRef: RefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "initialState" | "rowGroupingModel" | "onRowGroupingModelChange" | "defaultGroupingExpansionDepth" | "isGroupExpandedByDefault" | "groupingColDef" | "rowGroupingColumnMode" | "disableRowGrouping" | "slotProps" | "slots" | "unstable_dataSource">) => void;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import { RefObject } from '@mui/x-internals/types';
2
2
  import { DataGridPremiumProcessedProps } from '../../../models/dataGridPremiumProps';
3
3
  import { GridPrivateApiPremium } from '../../../models/gridApiPremium';
4
- export declare const useGridRowGroupingPreProcessors: (apiRef: React.MutableRefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "disableRowGrouping" | "groupingColDef" | "rowGroupingColumnMode" | "defaultGroupingExpansionDepth" | "isGroupExpandedByDefault" | "unstable_dataSource">) => void;
4
+ export declare const useGridRowGroupingPreProcessors: (apiRef: RefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "disableRowGrouping" | "groupingColDef" | "rowGroupingColumnMode" | "defaultGroupingExpansionDepth" | "isGroupExpandedByDefault" | "unstable_dataSource">) => void;
@@ -1,2 +1,2 @@
1
1
  import { GridApiPremium } from '../../models/gridApiPremium';
2
- export declare const useGridApiContext: () => import("react").MutableRefObject<GridApiPremium>;
2
+ export declare const useGridApiContext: () => import("react").RefObject<GridApiPremium>;
@@ -1,2 +1,2 @@
1
1
  import { GridPrivateApiPremium } from '../../models/gridApiPremium';
2
- export declare const useGridPrivateApiContext: () => import("react").MutableRefObject<GridPrivateApiPremium>;
2
+ export declare const useGridPrivateApiContext: () => import("react").RefObject<GridPrivateApiPremium>;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import { RefObject } from '@mui/x-internals/types';
2
2
  import { GridApi } from '@mui/x-data-grid-pro';
3
3
  import { GridInitialStatePremium } from '../../models/gridStatePremium';
4
4
  import { DataGridPremiumProps } from '../../models/dataGridPremiumProps';
@@ -8,5 +8,5 @@ import { DataGridPremiumProps } from '../../models/dataGridPremiumProps';
8
8
  * Does not work when used with the `hide` property of `GridColDef`
9
9
  */
10
10
  export declare const useKeepGroupedColumnsHidden: (props: {
11
- apiRef: React.MutableRefObject<GridApi>;
11
+ apiRef: RefObject<GridApi>;
12
12
  } & Pick<DataGridPremiumProps, "initialState" | "rowGroupingModel">) => GridInitialStatePremium;
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-premium v8.0.0-alpha.7
2
+ * @mui/x-data-grid-premium v8.0.0-alpha.9
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import { RefObject } from '@mui/x-internals/types';
2
2
  import { GridCallbackDetails, GridValidRowModel, GridGroupNode, GridEventListener } from '@mui/x-data-grid-pro';
3
3
  import { GridExperimentalProFeatures, DataGridProPropsWithDefaultValue, DataGridProPropsWithoutDefaultValue, DataGridPropsWithComplexDefaultValueAfterProcessing, DataGridPropsWithComplexDefaultValueBeforeProcessing, DataGridPremiumSharedPropsWithDefaultValue } from '@mui/x-data-grid-pro/internals';
4
4
  import type { GridRowGroupingModel } from '../hooks/features/rowGrouping';
@@ -88,7 +88,7 @@ export interface DataGridPremiumPropsWithoutDefaultValue<R extends GridValidRowM
88
88
  /**
89
89
  * The ref object that allows grid manipulation. Can be instantiated with `useGridApiRef()`.
90
90
  */
91
- apiRef?: React.MutableRefObject<GridApiPremium>;
91
+ apiRef?: RefObject<GridApiPremium>;
92
92
  /**
93
93
  * The initial state of the DataGridPremium.
94
94
  * The data in it is set in the state on initialization but isn't controlled.
@@ -1,3 +1,4 @@
1
+ import { RefObject } from '@mui/x-internals/types';
1
2
  import { GridValidRowModel, GridColDef, GridKeyValue } from '@mui/x-data-grid-pro';
2
3
  import { GridApiPremium } from './gridApiPremium';
3
- export type GridGroupingValueGetter<R extends GridValidRowModel = GridValidRowModel, TValue = never> = (value: TValue, row: R, column: GridColDef<R>, apiRef: React.MutableRefObject<GridApiPremium>) => GridKeyValue | null | undefined;
4
+ export type GridGroupingValueGetter<R extends GridValidRowModel = GridValidRowModel, TValue = never> = (value: TValue, row: R, column: GridColDef<R>, apiRef: RefObject<GridApiPremium>) => GridKeyValue | null | undefined;
@@ -1,3 +1,4 @@
1
+ import { RefObject } from '@mui/x-internals/types';
1
2
  import { GridColDef, GridValidRowModel } from '@mui/x-data-grid';
2
3
  import { GridApiPremium } from './gridApiPremium';
3
- export type GridPastedValueParser<R extends GridValidRowModel = GridValidRowModel, V = any, F = V> = (value: string, row: R, column: GridColDef<R, V, F>, apiRef: React.MutableRefObject<GridApiPremium>) => V | undefined;
4
+ export type GridPastedValueParser<R extends GridValidRowModel = GridValidRowModel, V = any, F = V> = (value: string, row: R, column: GridColDef<R, V, F>, apiRef: RefObject<GridApiPremium>) => V | undefined;
@@ -4,7 +4,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
4
4
  import * as React from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import { useLicenseVerifier, Watermark } from '@mui/x-license';
7
- import { GridBody, GridFooterPlaceholder, GridHeader, GridRoot, GridContextProvider } from '@mui/x-data-grid-pro';
7
+ import { GridRoot, GridContextProvider } from '@mui/x-data-grid-pro';
8
8
  import { propValidatorsDataGrid, propValidatorsDataGridPro, validateProps } from '@mui/x-data-grid-pro/internals';
9
9
  import { forwardRef } from '@mui/x-internals/forwardRef';
10
10
  import { useDataGridPremiumComponent } from "./useDataGridPremiumComponent.js";
@@ -12,7 +12,7 @@ import { useDataGridPremiumProps } from "./useDataGridPremiumProps.js";
12
12
  import { getReleaseInfo } from "../utils/releaseInfo.js";
13
13
  import { useGridAriaAttributes } from "../hooks/utils/useGridAriaAttributes.js";
14
14
  import { useGridRowAriaAttributes } from "../hooks/features/rows/useGridRowAriaAttributes.js";
15
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
+ import { jsx as _jsx } from "react/jsx-runtime";
16
16
  const configuration = {
17
17
  hooks: {
18
18
  useGridAriaAttributes,
@@ -35,18 +35,16 @@ const DataGridPremiumRaw = forwardRef(function DataGridPremium(inProps, ref) {
35
35
  privateApiRef: privateApiRef,
36
36
  configuration: configuration,
37
37
  props: props,
38
- children: /*#__PURE__*/_jsxs(GridRoot, _extends({
38
+ children: /*#__PURE__*/_jsx(GridRoot, _extends({
39
39
  className: props.className,
40
40
  style: props.style,
41
41
  sx: props.sx
42
42
  }, props.slotProps?.root, {
43
43
  ref: ref,
44
- children: [/*#__PURE__*/_jsx(GridHeader, {}), /*#__PURE__*/_jsx(GridBody, {
45
- children: /*#__PURE__*/_jsx(Watermark, {
46
- packageName: "x-data-grid-premium",
47
- releaseInfo: releaseInfo
48
- })
49
- }), /*#__PURE__*/_jsx(GridFooterPlaceholder, {})]
44
+ children: /*#__PURE__*/_jsx(Watermark, {
45
+ packageName: "x-data-grid-premium",
46
+ releaseInfo: releaseInfo
47
+ })
50
48
  }))
51
49
  });
52
50
  });
@@ -43,6 +43,7 @@ export const useDataGridPremiumComponent = (inputApiRef, props) => {
43
43
  useGridInitializeState(columnPinningStateInitializer, apiRef, props);
44
44
  useGridInitializeState(columnsStateInitializer, apiRef, props);
45
45
  useGridInitializeState(rowPinningStateInitializer, apiRef, props);
46
+ useGridInitializeState(paginationStateInitializer, apiRef, props);
46
47
  useGridInitializeState(rowsStateInitializer, apiRef, props);
47
48
  useGridInitializeState(editingStateInitializer, apiRef, props);
48
49
  useGridInitializeState(focusStateInitializer, apiRef, props);
@@ -53,7 +54,6 @@ export const useDataGridPremiumComponent = (inputApiRef, props) => {
53
54
  useGridInitializeState(densityStateInitializer, apiRef, props);
54
55
  useGridInitializeState(columnReorderStateInitializer, apiRef, props);
55
56
  useGridInitializeState(columnResizeStateInitializer, apiRef, props);
56
- useGridInitializeState(paginationStateInitializer, apiRef, props);
57
57
  useGridInitializeState(rowsMetaStateInitializer, apiRef, props);
58
58
  useGridInitializeState(columnMenuStateInitializer, apiRef, props);
59
59
  useGridInitializeState(columnGroupsStateInitializer, apiRef, props);
@@ -121,7 +121,7 @@ class CellValueUpdater {
121
121
  if (onProcessRowUpdateError) {
122
122
  onProcessRowUpdateError(errorThrown);
123
123
  } else if (process.env.NODE_ENV !== 'production') {
124
- warnOnce(['MUI X: A call to `processRowUpdate` threw an error which was not handled because `onProcessRowUpdateError` is missing.', 'To handle the error pass a callback to the `onProcessRowUpdateError` prop, for example `<DataGrid onProcessRowUpdateError={(error) => ...} />`.', 'For more detail, see https://mui.com/x/react-data-grid/editing/#server-side-persistence.'], 'error');
124
+ warnOnce(['MUI X: A call to `processRowUpdate` threw an error which was not handled because `onProcessRowUpdateError` is missing.', 'To handle the error pass a callback to the `onProcessRowUpdateError` prop, for example `<DataGrid onProcessRowUpdateError={(error) => ...} />`.', 'For more detail, see https://mui.com/x/react-data-grid/editing/persistence/.'], 'error');
125
125
  }
126
126
  };
127
127
  try {
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-premium v8.0.0-alpha.7
2
+ * @mui/x-data-grid-premium v8.0.0-alpha.9
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTczNjM3NzIwMDAwMA==";
3
+ const releaseInfo = "MTczNzY1ODgwMDAwMA==";
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": "8.0.0-alpha.7",
3
+ "version": "8.0.0-alpha.9",
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,10 +40,10 @@
40
40
  "exceljs": "^4.4.0",
41
41
  "prop-types": "^15.8.1",
42
42
  "reselect": "^5.1.1",
43
- "@mui/x-data-grid": "8.0.0-alpha.7",
44
- "@mui/x-data-grid-pro": "8.0.0-alpha.7",
45
- "@mui/x-internals": "8.0.0-alpha.7",
46
- "@mui/x-license": "8.0.0-alpha.7"
43
+ "@mui/x-data-grid": "8.0.0-alpha.9",
44
+ "@mui/x-data-grid-pro": "8.0.0-alpha.9",
45
+ "@mui/x-license": "8.0.0-alpha.9",
46
+ "@mui/x-internals": "8.0.0-alpha.9"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@emotion/react": "^11.9.0",
@@ -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 = "MTczNjM3NzIwMDAwMA==";
9
+ const releaseInfo = "MTczNzY1ODgwMDAwMA==";
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