@mui/x-data-grid 9.3.0 → 9.5.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.
Files changed (110) hide show
  1. package/CHANGELOG.md +296 -0
  2. package/colDef/gridColumnTypesRegistry.d.mts +8 -0
  3. package/colDef/gridColumnTypesRegistry.d.ts +8 -0
  4. package/colDef/gridColumnTypesRegistry.js +44 -0
  5. package/colDef/gridColumnTypesRegistry.mjs +34 -0
  6. package/colDef/gridDefaultColumnTypes.d.mts +1 -1
  7. package/colDef/gridDefaultColumnTypes.d.ts +1 -1
  8. package/colDef/gridDefaultColumnTypes.js +11 -23
  9. package/colDef/gridDefaultColumnTypes.mjs +4 -22
  10. package/components/GridRow.js +9 -1
  11. package/components/GridRow.mjs +9 -1
  12. package/components/cell/GridActionsCell.js +1 -1
  13. package/components/cell/GridActionsCell.mjs +1 -1
  14. package/components/cell/GridActionsCellItem.js +1 -1
  15. package/components/cell/GridActionsCellItem.mjs +1 -1
  16. package/components/cell/GridLongTextCell.js +2 -0
  17. package/components/cell/GridLongTextCell.mjs +2 -0
  18. package/components/cell/GridSkeletonCell.d.mts +2 -1
  19. package/components/cell/GridSkeletonCell.d.ts +2 -1
  20. package/components/cell/GridSkeletonCell.js +8 -3
  21. package/components/cell/GridSkeletonCell.mjs +8 -3
  22. package/components/containers/GridRootStyles.js +29 -0
  23. package/components/containers/GridRootStyles.mjs +29 -0
  24. package/components/panel/filterPanel/GridFilterInputSingleSelect.js +2 -4
  25. package/components/panel/filterPanel/GridFilterInputSingleSelect.mjs +2 -4
  26. package/components/panel/filterPanel/filterPanelUtils.d.mts +3 -2
  27. package/components/panel/filterPanel/filterPanelUtils.d.ts +3 -2
  28. package/components/panel/filterPanel/filterPanelUtils.js +4 -0
  29. package/components/panel/filterPanel/filterPanelUtils.mjs +3 -0
  30. package/constants/cssVariables.d.mts +3 -0
  31. package/constants/cssVariables.d.ts +3 -0
  32. package/constants/cssVariables.js +2 -1
  33. package/constants/cssVariables.mjs +2 -1
  34. package/constants/gridClasses.d.mts +48 -0
  35. package/constants/gridClasses.d.ts +48 -0
  36. package/constants/gridClasses.js +1 -1
  37. package/constants/gridClasses.mjs +1 -1
  38. package/hooks/core/strategyProcessing/gridStrategyProcessingApi.d.mts +17 -1
  39. package/hooks/core/strategyProcessing/gridStrategyProcessingApi.d.ts +17 -1
  40. package/hooks/core/strategyProcessing/useGridStrategyProcessing.js +2 -1
  41. package/hooks/core/strategyProcessing/useGridStrategyProcessing.mjs +2 -1
  42. package/hooks/core/useGridProps.js +5 -3
  43. package/hooks/core/useGridProps.mjs +5 -3
  44. package/hooks/core/useGridVirtualizer.d.mts +10 -10
  45. package/hooks/core/useGridVirtualizer.d.ts +10 -10
  46. package/hooks/features/columns/gridColumnsUtils.js +18 -10
  47. package/hooks/features/columns/gridColumnsUtils.mjs +19 -11
  48. package/hooks/features/columns/useGridColumns.js +11 -0
  49. package/hooks/features/columns/useGridColumns.mjs +11 -0
  50. package/hooks/features/dataSource/models.d.mts +1 -1
  51. package/hooks/features/dataSource/models.d.ts +1 -1
  52. package/hooks/features/dataSource/useGridDataSourceBase.d.mts +2 -2
  53. package/hooks/features/dataSource/useGridDataSourceBase.d.ts +2 -2
  54. package/hooks/features/dataSource/useGridDataSourceBase.js +31 -19
  55. package/hooks/features/dataSource/useGridDataSourceBase.mjs +31 -19
  56. package/hooks/features/dataSource/utils.d.mts +1 -0
  57. package/hooks/features/dataSource/utils.d.ts +1 -0
  58. package/hooks/features/dataSource/utils.js +1 -0
  59. package/hooks/features/dataSource/utils.mjs +1 -0
  60. package/hooks/features/editing/useGridCellEditing.js +1 -1
  61. package/hooks/features/editing/useGridCellEditing.mjs +1 -1
  62. package/hooks/features/editing/useGridRowEditing.js +1 -1
  63. package/hooks/features/editing/useGridRowEditing.mjs +1 -1
  64. package/hooks/features/export/serializers/csvSerializer.js +3 -1
  65. package/hooks/features/export/serializers/csvSerializer.mjs +3 -1
  66. package/hooks/features/filter/gridFilterUtils.js +5 -3
  67. package/hooks/features/filter/gridFilterUtils.mjs +5 -3
  68. package/hooks/features/listView/useGridListView.js +1 -1
  69. package/hooks/features/listView/useGridListView.mjs +1 -1
  70. package/hooks/features/sorting/gridSortingUtils.js +3 -1
  71. package/hooks/features/sorting/gridSortingUtils.mjs +3 -1
  72. package/hooks/features/virtualization/gridVirtualizationSelectors.d.mts +1 -1
  73. package/hooks/features/virtualization/gridVirtualizationSelectors.d.ts +1 -1
  74. package/hooks/utils/useGridSelector.js +26 -23
  75. package/hooks/utils/useGridSelector.mjs +25 -23
  76. package/index.js +1 -1
  77. package/index.mjs +1 -1
  78. package/internals/index.d.mts +9 -4
  79. package/internals/index.d.ts +9 -4
  80. package/internals/index.js +62 -2
  81. package/internals/index.mjs +8 -4
  82. package/internals/utils/propValidation.js +3 -0
  83. package/internals/utils/propValidation.mjs +3 -0
  84. package/material/augmentation.d.mts +4 -0
  85. package/material/augmentation.d.ts +4 -0
  86. package/material/index.js +38 -24
  87. package/material/index.mjs +38 -24
  88. package/material/variables.js +2 -1
  89. package/material/variables.mjs +2 -1
  90. package/models/colDef/gridColDef.d.mts +35 -3
  91. package/models/colDef/gridColDef.d.ts +35 -3
  92. package/models/colDef/gridColType.d.mts +1 -0
  93. package/models/colDef/gridColType.d.ts +1 -0
  94. package/models/colDef/gridColumnTypesRecord.d.mts +1 -1
  95. package/models/colDef/gridColumnTypesRecord.d.ts +1 -1
  96. package/models/colDef/index.d.mts +1 -1
  97. package/models/colDef/index.d.ts +1 -1
  98. package/models/gridBaseSlots.d.mts +46 -0
  99. package/models/gridBaseSlots.d.ts +46 -0
  100. package/models/gridDataSource.d.mts +6 -0
  101. package/models/gridDataSource.d.ts +6 -0
  102. package/models/gridRows.d.mts +0 -1
  103. package/models/gridRows.d.ts +0 -1
  104. package/models/gridSlotsComponent.d.mts +5 -0
  105. package/models/gridSlotsComponent.d.ts +5 -0
  106. package/models/gridSlotsComponentsProps.d.mts +3 -1
  107. package/models/gridSlotsComponentsProps.d.ts +3 -1
  108. package/models/gridStateCommunity.d.mts +1 -1
  109. package/models/gridStateCommunity.d.ts +1 -1
  110. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,301 @@
1
1
  # Changelog
2
2
 
3
+ ## 9.5.0
4
+
5
+ _Jun 11, 2026_
6
+
7
+ We'd like to extend a big thank you to the 9 contributors who made this release possible. Here are some highlights ✨:
8
+
9
+ - 🎁 New [`multiSelect` column type for Data Grid Pro](https://mui.com/x/react-data-grid/column-definition/#MultiSelectColumn)
10
+ - 🚀 New [renderer="svg-progressive"](https://mui.com/x/react-charts/scatter/#progressive-renderer) paints scatter points in batched frames so large datasets render smoothly without blocking the main thread.
11
+ - 🐞 Bugfixes
12
+ - 📚 Documentation improvements
13
+
14
+ Special thanks go out to community members @mustafajw07 and @Anexus5919 for their valuable contribution.
15
+
16
+ The following team members contributed to this release:
17
+ @alexfauquette, @JCQuintas, @rita-codes, @rluzists1, @sai6855, @siriwatknp, @arminmeh, @brijeshb42
18
+
19
+ ### Data Grid
20
+
21
+ #### `@mui/x-data-grid@9.5.0`
22
+
23
+ - [DataGrid] Restrict warning messages to non-production environments in various components (#22461) @sai6855
24
+ - [DataGrid] Prevent React state update before mount (#22374) @arminmeh
25
+
26
+ #### `@mui/x-data-grid-pro@9.5.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
27
+
28
+ Same changes as in `@mui/x-data-grid@9.5.0`, plus:
29
+
30
+ - [DataGridPro] Add new `multiSelect` column type (#21157) @siriwatknp
31
+
32
+ #### `@mui/x-data-grid-premium@9.5.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
33
+
34
+ Same changes as in `@mui/x-data-grid-pro@9.5.0`.
35
+
36
+ ### Date and Time Pickers
37
+
38
+ #### `@mui/x-date-pickers@9.5.0`
39
+
40
+ - [pickers] Fix missing export of `th-TH` (#22703) @alexfauquette
41
+
42
+ #### `@mui/x-date-pickers-pro@9.5.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
43
+
44
+ Same changes as in `@mui/x-date-pickers@9.5.0`.
45
+
46
+ ### Charts
47
+
48
+ #### `@mui/x-charts@9.5.0`
49
+
50
+ - [charts] Add `FocusedBar` component to `BarScatterComposition` demo (#22704) @sai6855
51
+ - [charts] Add dedicated Bubble Chart documentation page (#22688) @mustafajw07
52
+ - [charts] Add progressive scatter renderer (#22518) @JCQuintas
53
+ - [charts] Avoid full axis pipeline rebuild on resize (#22695) @JCQuintas
54
+ - [charts] Document focus indicator in composition page (#22712) @JCQuintas
55
+ - [charts] Fix `ChartsTooltip` `container` and `disablePortal` props being ignored (#22690) @JCQuintas
56
+ - [charts] Make ordinal scales O(1) to copy and re-range (#22691) @JCQuintas
57
+ - [charts] Stabilize WebGL bar rendering at sub-pixel widths (#22678) @JCQuintas
58
+ - [charts] Use the series config to define value types (#22693) @sai6855
59
+ - [charts] Decouple interaction hook from the cartesian zoom (#22708) @alexfauquette
60
+
61
+ #### `@mui/x-charts-pro@9.5.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
62
+
63
+ Same changes as in `@mui/x-charts@9.5.0`, plus:
64
+
65
+ - [charts-pro] Add missing focus highlight (#22689) @alexfauquette
66
+
67
+ #### `@mui/x-charts-premium@9.5.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
68
+
69
+ Same changes as in `@mui/x-charts-pro@9.5.0`, plus:
70
+
71
+ - [charts-premium] Set `Heatmap` WebGL render as stable (#22665) @alexfauquette
72
+ - [charts-premium] Stabilize candlestick charts (#22666) @alexfauquette
73
+ - [charts-premium] Stabilize the radial charts (#22655) @alexfauquette
74
+
75
+ ### Scheduler
76
+
77
+ #### `@mui/x-scheduler@9.0.0-beta.1`
78
+
79
+ Internal changes.
80
+
81
+ #### `@mui/x-scheduler-premium@9.0.0-beta.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
82
+
83
+ Same changes as in `@mui/x-scheduler@9.0.0-beta.1`, plus:
84
+
85
+ - [scheduler] Remove dead CSS variable writes in `EventTimelinePremiumContent` (#22720) @rita-codes
86
+ - [scheduler] Show scope dialog when deleting a recurring event (#22552) @Anexus5919
87
+
88
+ ### Core
89
+
90
+ - [docs-infra] Fix immutable cache headers for `/\_next/static` assets (#22747) @brijeshb42
91
+ - [docs-infra] Prefix `/\_next/static` cache header rule with `/x` basePath (#22748) @brijeshb42
92
+ - [code-infra] Update dependencies to resolve Dependabot security alerts (#22714) @Janpot
93
+
94
+ ### Docs
95
+
96
+ - [docs] Fix broken links checker crashing on 404 known-targets fetch (#22707) @sai6855
97
+ - [docs] Fix country data (#22716) @alexfauquette
98
+
99
+ ### Miscellaneous
100
+
101
+ - [legal] Update EULA links in docs (#22717) @rluzists1
102
+
103
+ ## 9.4.0
104
+
105
+ <!-- generated comparing v9.3.0..master -->
106
+
107
+ _Jun 4, 2026_
108
+
109
+ We'd like to extend a big thank you to the 21 contributors who made this release possible. Here are some highlights ✨:
110
+
111
+ - 🎉 Scheduler is now in Beta shipping with Timeline vitualization and lazy loading
112
+ - 📆 Implement Event Timeline virtualization (#22339)
113
+ - 🫧 Introduce bubble charts (#22537)
114
+ - 🐞 Bugfixes
115
+ - 📚 Documentation improvements
116
+
117
+ Special thanks go out to these community members for their valuable contributions:
118
+ @imxv, @mixelburg, @mustafajw07
119
+
120
+ The following team members contributed to this release:
121
+ @aemartos, @alexfauquette, @arminmeh, @bernardobelchior, @cherniavskii, @flaviendelangle, @hasdfa, @Janpot, @JCQuintas, @joserodolfofreitas, @LukasTy, @MBilalShafi, @michelengelen, @mj12albert, @noraleonte, @oliviertassinari, @rita-codes, @romgrk, @sai6855
122
+
123
+ ### Data Grid
124
+
125
+ #### `@mui/x-data-grid@9.4.0`
126
+
127
+ - [DataGrid] Fix `avg` aggregation when the average is zero (#22652) @mj12albert
128
+ - [DataGrid] Inherit icon `fontSize` from `baseIconButton` size (#22187) @imxv
129
+ - [DataGrid] Fix `noRowsOverlay` flicker between `dataSource` re-fetches (#22465) @LukasTy
130
+
131
+ #### `@mui/x-data-grid-pro@9.4.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
132
+
133
+ Same changes as in `@mui/x-data-grid@9.4.0`.
134
+
135
+ #### `@mui/x-data-grid-premium@9.4.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
136
+
137
+ > This release includes a version bump of the `@mui/x-internal-exceljs-fork` package to address the vulnerable dependencies.
138
+ > The following CVEs are fixed:
139
+ >
140
+ > - <https://github.com/advisories/GHSA-ph9p-34f9-6g65>
141
+ > - <https://github.com/isaacs/minimatch/security/advisories/GHSA-23c5-xmqv-rm74>
142
+ > - <https://github.com/advisories/GHSA-w5hq-g745-h8pq>
143
+ >
144
+ > To make this security update possible, we bumped the `node` version requirement from `>=14.0.0` to `>=14.17.0`.
145
+ > [Node.js 14.17.0](https://nodejs.org/en/blog/release/v14.17.0) was released in May 2021, so we consider it safe to bump the requirement without causing issues for our users.
146
+
147
+ Same changes as in `@mui/x-data-grid-pro@9.4.0`, plus:
148
+
149
+ - [DataGridPremium] Nested Lazy Loading (#21043) @MBilalShafi
150
+ - [DataGridPremium] Update exceljs fork (#22658) @cherniavskii
151
+
152
+ ### Date and Time Pickers
153
+
154
+ #### `@mui/x-date-pickers@9.4.0`
155
+
156
+ Internal changes.
157
+
158
+ #### `@mui/x-date-pickers-pro@9.4.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
159
+
160
+ Same changes as in `@mui/x-date-pickers@9.4.0`.
161
+
162
+ ### Charts
163
+
164
+ #### `@mui/x-charts@9.4.0`
165
+
166
+ - [charts] Add functionality to hide elements during chart export (#22525) @sai6855
167
+ - [charts] Add option to show marks only on the first/last values (#22645) @alexfauquette
168
+ - [charts] Add text customization section and demo for axis labels (#22597) @sai6855
169
+ - [charts] Allow axes to scale according to the visible series only (#22566) @alexfauquette
170
+ - [charts] Correctly handle different identifiers for each series (#22556) @sai6855
171
+ - [charts] Fix inverted Y axis zoom/pan on ordinal scales (#22654) @JCQuintas
172
+ - [charts] Introduce bubble charts (#22537) @alexfauquette
173
+ - [charts] Let scatter chart tooltip ignore hidden series (#22614) @alexfauquette
174
+ - [charts] Make `'sqrt'` size mapping the default (#22683) @alexfauquette
175
+ - [charts] Remove unused proptypes (#22618) @alexfauquette
176
+ - [charts] Support module augmentation for slots (#22519) @sai6855
177
+ - [charts] Support multiple marker size in `findClosestPoint` (#22622) @alexfauquette
178
+ - [charts] Upgrade bezier-easing to v3 and use it for line chart hit-detection (#22608) @sai6855
179
+ - [charts] Use `useLayoutEffect` with `ResizeObserver` (#22646) @JCQuintas
180
+
181
+ #### `@mui/x-charts-pro@9.4.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
182
+
183
+ Same changes as in `@mui/x-charts@9.4.0`, plus:
184
+
185
+ - [charts-pro] Auto-select range button matching current zoom (#22137) @JCQuintas
186
+ - [charts-pro] Support range values in `initialZoom` (#22563) @JCQuintas
187
+
188
+ #### `@mui/x-charts-premium@9.4.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
189
+
190
+ Same changes as in `@mui/x-charts-pro@9.4.0`, plus:
191
+
192
+ - [charts-premium] Support range-bar series in WebGL bar renderer (#22607) @JCQuintas
193
+ - [charts-premium] Fix `onAxisClick` for radial bar and lines (#22522) @alexfauquette
194
+
195
+ ### Tree View
196
+
197
+ #### `@mui/x-tree-view@9.4.0`
198
+
199
+ Internal changes.
200
+
201
+ #### `@mui/x-tree-view-pro@9.4.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
202
+
203
+ Same changes as in `@mui/x-tree-view@9.4.0`.
204
+
205
+ ### Scheduler
206
+
207
+ #### Breaking changes
208
+
209
+ The theme `styleOverrides` slots for the skeleton and the error container were
210
+ renamed and unified. The CSS utility class names (for example
211
+ `.MuiEventCalendar-eventSkeleton`) are **not** affected — only
212
+ `theme.components.*` overrides need updating.
213
+
214
+ **Event skeleton**
215
+
216
+ | Before | After |
217
+ | --------------------------------------- | ------------------------------ |
218
+ | `MuiEventCalendar` slot `EventSkeleton` | `MuiEventSkeleton` slot `Root` |
219
+ | `MuiEventTimeline` slot `EventSkeleton` | `MuiEventSkeleton` slot `Root` |
220
+
221
+ **Error container**
222
+
223
+ | Before | After |
224
+ | ------------------------------------------------------------- | --------------------------------------- |
225
+ | `MuiEventCalendar` / `MuiEventTimeline` slot `ErrorContainer` | `MuiEventErrorContainer` slot `Root` |
226
+ | `MuiEventCalendar` / `MuiEventTimeline` slot `ErrorAlert` | `MuiEventErrorContainer` slot `Alert` |
227
+ | `MuiEventCalendar` / `MuiEventTimeline` slot `ErrorMessage` | `MuiEventErrorContainer` slot `Message` |
228
+
229
+ If you customized these through the theme, update the component name and slot
230
+ names accordingly:
231
+
232
+ ```diff
233
+ components: {
234
+ - MuiEventCalendar: {
235
+ + MuiEventSkeleton: {
236
+ styleOverrides: {
237
+ - EventSkeleton: { /* ... */ },
238
+ + Root: { /* ... */ },
239
+ },
240
+ },
241
+ },
242
+ }
243
+ ```
244
+
245
+ #### `@mui/x-scheduler@9.0.0-beta.0`
246
+
247
+ - [scheduler] Add a prop to control whether the resource of an event can be cleared (#22464) @rita-codes
248
+ - [scheduler] Add week number labels to agenda, day and week views (#22594) @mustafajw07
249
+ - [scheduler] Add `weekStartsOn` preference and update date functions to support custom week start (#22426) @mustafajw07
250
+ - [scheduler] Export premium version of the standalone views (#22621) @flaviendelangle
251
+ - [scheduler] Implement timeline virtualization (#22339) @romgrk
252
+ - [scheduler] Split scheduler overview (#22453) @joserodolfofreitas
253
+ - [scheduler] Unify `EventSkeleton` and `ErrorContainer` between `EventCalendar` and `EventTimeline` (#22676) @noraleonte
254
+
255
+ #### `@mui/x-scheduler-premium@9.0.0-beta.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
256
+
257
+ Same changes as in `@mui/x-scheduler@9.0.0-beta.0`.
258
+
259
+ ### Docs
260
+
261
+ - [docs] Add a performance docs page for charts (#22656) @alexfauquette
262
+ - [docs] Add real dataset for maps documentation (#22599) @alexfauquette
263
+ - [docs] Add spacing between selects on charts overview demo (#22589) @bernardobelchior
264
+ - [docs] Reorganize existing chat docs navigation (#22478) @hasdfa
265
+ - [docs] Switch to visionscarto's world atlas dataset (#22669) @cherniavskii
266
+ - [docs] Update TreeView `domstructure` docs and add demo (#22420) @mj12albert
267
+ - [docs] Fix indexation of Scheduler (#22567) @oliviertassinari
268
+ - [docs] Fix wide layout on event timeline lazy loading and Import title (#22604) @rita-codes
269
+ - [docs] Derive class name owners for shared charts classes (#22674) @JCQuintas
270
+
271
+ ### Core
272
+
273
+ - [code-infra] Drop unused and now-transitive deps from docs/package.json (#22549) @LukasTy
274
+ - [code-infra] Refresh CI Node pins to 22.22.3 (#22598) @LukasTy
275
+ - [code-infra] Skip empty product sections in changelog (#22541) @rita-codes
276
+ - [code-infra] Stabilize DataGridScrollRestoration visual regression test (#22553) @Janpot
277
+ - [internal] Add license to the `x-data-grid-generator` (#22240) @arminmeh
278
+ - [internal] Express default value for resource_class (#22569) @oliviertassinari
279
+ - [internal] Fix use of ellipsis (#21852) @oliviertassinari
280
+ - [internal] `useLayoutEffect` with `ResizeObserver` (#22428) @romgrk
281
+
282
+ ### Miscellaneous
283
+
284
+ - [chat-headless] Add built-in chat adapters (#22479) @hasdfa
285
+ - [chat-headless] Harden runtime model and message errors (#22480) @hasdfa
286
+ - [core] Prepare for TypeScript 6 bump (#22551) @LukasTy
287
+ - [core] Use CircleCI Gen2 resource classes (#22610) @LukasTy
288
+ - [infra] Fix broken tag retrieval on `master` during release (#22174) @michelengelen
289
+ - [infra] Group Base UI renovate updates (#22590) @LukasTy
290
+ - [pnpm] Add security settings to pnpm-workspace.yaml (#22611) @Janpot
291
+ - [release] Fix release PR scripts (#22680) @JCQuintas
292
+ - [test] Add a Tree View regression test for lazy loading with getChildrenCount returning -1 (#22605) @mixelburg
293
+ - [test] Disable LCD subpixel antialiasing in regression screenshots (#22602) @Janpot
294
+ - [test] Fix flaky Data Grid Pro data source tree data tests (#22659) @LukasTy
295
+ - [test] Remove stale form-submit TODO from e2e suite (#22564) @LukasTy
296
+ - [x-license] Exclude test keys from the published npm package (#22647) @aemartos
297
+ - [test] Fix flaky WebGL benchmark by polling for canvas content (#22535) @JCQuintas
298
+
3
299
  ## 9.3.0
4
300
 
5
301
  _May 21, 2026_
@@ -0,0 +1,8 @@
1
+ import type { GridColType } from "../models/colDef/gridColType.mjs";
2
+ import type { GridColTypeDef } from "../models/colDef/gridColDef.mjs";
3
+ import type { GridColumnTypesRecord } from "../models/colDef/gridColumnTypesRecord.mjs";
4
+ export declare const DEFAULT_GRID_COL_TYPE_KEY = "string";
5
+ export declare const isCommunityColumnType: (type: GridColType | undefined) => boolean;
6
+ export declare const registerGridColumnTypes: (columnTypes: Partial<GridColumnTypesRecord>) => void;
7
+ export declare const getGridColumnTypesRegistry: () => Record<string, GridColTypeDef>;
8
+ export declare const getRegisteredColumnTypeDef: (type: GridColType | undefined) => GridColTypeDef;
@@ -0,0 +1,8 @@
1
+ import type { GridColType } from "../models/colDef/gridColType.js";
2
+ import type { GridColTypeDef } from "../models/colDef/gridColDef.js";
3
+ import type { GridColumnTypesRecord } from "../models/colDef/gridColumnTypesRecord.js";
4
+ export declare const DEFAULT_GRID_COL_TYPE_KEY = "string";
5
+ export declare const isCommunityColumnType: (type: GridColType | undefined) => boolean;
6
+ export declare const registerGridColumnTypes: (columnTypes: Partial<GridColumnTypesRecord>) => void;
7
+ export declare const getGridColumnTypesRegistry: () => Record<string, GridColTypeDef>;
8
+ export declare const getRegisteredColumnTypeDef: (type: GridColType | undefined) => GridColTypeDef;
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.registerGridColumnTypes = exports.isCommunityColumnType = exports.getRegisteredColumnTypeDef = exports.getGridColumnTypesRegistry = exports.DEFAULT_GRID_COL_TYPE_KEY = void 0;
7
+ var _gridStringColDef = require("./gridStringColDef");
8
+ var _gridNumericColDef = require("./gridNumericColDef");
9
+ var _gridDateColDef = require("./gridDateColDef");
10
+ var _gridBooleanColDef = require("./gridBooleanColDef");
11
+ var _gridSingleSelectColDef = require("./gridSingleSelectColDef");
12
+ var _gridActionsColDef = require("./gridActionsColDef");
13
+ var _gridLongTextColDef = require("./gridLongTextColDef");
14
+ const DEFAULT_GRID_COL_TYPE_KEY = exports.DEFAULT_GRID_COL_TYPE_KEY = 'string';
15
+
16
+ // Mutable registry seeded with the community column types. Pro/Premium packages append
17
+ // their own types at module load via `registerGridColumnTypes`, so a community-only bundle
18
+ // never references them at runtime.
19
+ const columnTypesRegistry = {
20
+ string: _gridStringColDef.GRID_STRING_COL_DEF,
21
+ number: _gridNumericColDef.GRID_NUMERIC_COL_DEF,
22
+ date: _gridDateColDef.GRID_DATE_COL_DEF,
23
+ dateTime: _gridDateColDef.GRID_DATETIME_COL_DEF,
24
+ boolean: _gridBooleanColDef.GRID_BOOLEAN_COL_DEF,
25
+ singleSelect: _gridSingleSelectColDef.GRID_SINGLE_SELECT_COL_DEF,
26
+ [_gridActionsColDef.GRID_ACTIONS_COLUMN_TYPE]: _gridActionsColDef.GRID_ACTIONS_COL_DEF,
27
+ custom: _gridStringColDef.GRID_STRING_COL_DEF,
28
+ longText: _gridLongTextColDef.GRID_LONG_TEXT_COL_DEF
29
+ };
30
+
31
+ // Captured before any `registerGridColumnTypes` call, so it reflects the community-native types
32
+ // only. Used to keep Pro/Premium-registered types (e.g. `multiSelect`) from resolving in a
33
+ // community `DataGrid` even when a Pro grid registered them globally in the same bundle.
34
+ const COMMUNITY_COLUMN_TYPE_KEYS = new Set(Object.keys(columnTypesRegistry));
35
+ const isCommunityColumnType = type => type == null || COMMUNITY_COLUMN_TYPE_KEYS.has(type);
36
+ exports.isCommunityColumnType = isCommunityColumnType;
37
+ const registerGridColumnTypes = columnTypes => {
38
+ Object.assign(columnTypesRegistry, columnTypes);
39
+ };
40
+ exports.registerGridColumnTypes = registerGridColumnTypes;
41
+ const getGridColumnTypesRegistry = () => columnTypesRegistry;
42
+ exports.getGridColumnTypesRegistry = getGridColumnTypesRegistry;
43
+ const getRegisteredColumnTypeDef = type => (type ? columnTypesRegistry[type] : undefined) ?? columnTypesRegistry[DEFAULT_GRID_COL_TYPE_KEY];
44
+ exports.getRegisteredColumnTypeDef = getRegisteredColumnTypeDef;
@@ -0,0 +1,34 @@
1
+ import { GRID_STRING_COL_DEF } from "./gridStringColDef.mjs";
2
+ import { GRID_NUMERIC_COL_DEF } from "./gridNumericColDef.mjs";
3
+ import { GRID_DATE_COL_DEF, GRID_DATETIME_COL_DEF } from "./gridDateColDef.mjs";
4
+ import { GRID_BOOLEAN_COL_DEF } from "./gridBooleanColDef.mjs";
5
+ import { GRID_SINGLE_SELECT_COL_DEF } from "./gridSingleSelectColDef.mjs";
6
+ import { GRID_ACTIONS_COL_DEF, GRID_ACTIONS_COLUMN_TYPE } from "./gridActionsColDef.mjs";
7
+ import { GRID_LONG_TEXT_COL_DEF } from "./gridLongTextColDef.mjs";
8
+ export const DEFAULT_GRID_COL_TYPE_KEY = 'string';
9
+
10
+ // Mutable registry seeded with the community column types. Pro/Premium packages append
11
+ // their own types at module load via `registerGridColumnTypes`, so a community-only bundle
12
+ // never references them at runtime.
13
+ const columnTypesRegistry = {
14
+ string: GRID_STRING_COL_DEF,
15
+ number: GRID_NUMERIC_COL_DEF,
16
+ date: GRID_DATE_COL_DEF,
17
+ dateTime: GRID_DATETIME_COL_DEF,
18
+ boolean: GRID_BOOLEAN_COL_DEF,
19
+ singleSelect: GRID_SINGLE_SELECT_COL_DEF,
20
+ [GRID_ACTIONS_COLUMN_TYPE]: GRID_ACTIONS_COL_DEF,
21
+ custom: GRID_STRING_COL_DEF,
22
+ longText: GRID_LONG_TEXT_COL_DEF
23
+ };
24
+
25
+ // Captured before any `registerGridColumnTypes` call, so it reflects the community-native types
26
+ // only. Used to keep Pro/Premium-registered types (e.g. `multiSelect`) from resolving in a
27
+ // community `DataGrid` even when a Pro grid registered them globally in the same bundle.
28
+ const COMMUNITY_COLUMN_TYPE_KEYS = new Set(Object.keys(columnTypesRegistry));
29
+ export const isCommunityColumnType = type => type == null || COMMUNITY_COLUMN_TYPE_KEYS.has(type);
30
+ export const registerGridColumnTypes = columnTypes => {
31
+ Object.assign(columnTypesRegistry, columnTypes);
32
+ };
33
+ export const getGridColumnTypesRegistry = () => columnTypesRegistry;
34
+ export const getRegisteredColumnTypeDef = type => (type ? columnTypesRegistry[type] : undefined) ?? columnTypesRegistry[DEFAULT_GRID_COL_TYPE_KEY];
@@ -1,3 +1,3 @@
1
1
  import type { GridColumnTypesRecord } from "../models/colDef/gridColumnTypesRecord.mjs";
2
- export declare const DEFAULT_GRID_COL_TYPE_KEY = "string";
2
+ export { DEFAULT_GRID_COL_TYPE_KEY } from "./gridColumnTypesRegistry.mjs";
3
3
  export declare const getGridDefaultColumnTypes: () => GridColumnTypesRecord;
@@ -1,3 +1,3 @@
1
1
  import type { GridColumnTypesRecord } from "../models/colDef/gridColumnTypesRecord.js";
2
- export declare const DEFAULT_GRID_COL_TYPE_KEY = "string";
2
+ export { DEFAULT_GRID_COL_TYPE_KEY } from "./gridColumnTypesRegistry.js";
3
3
  export declare const getGridDefaultColumnTypes: () => GridColumnTypesRecord;
@@ -1,29 +1,17 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
- exports.getGridDefaultColumnTypes = exports.DEFAULT_GRID_COL_TYPE_KEY = void 0;
7
- var _gridStringColDef = require("./gridStringColDef");
8
- var _gridNumericColDef = require("./gridNumericColDef");
9
- var _gridDateColDef = require("./gridDateColDef");
10
- var _gridBooleanColDef = require("./gridBooleanColDef");
11
- var _gridSingleSelectColDef = require("./gridSingleSelectColDef");
12
- var _gridActionsColDef = require("./gridActionsColDef");
13
- var _gridLongTextColDef = require("./gridLongTextColDef");
14
- const DEFAULT_GRID_COL_TYPE_KEY = exports.DEFAULT_GRID_COL_TYPE_KEY = 'string';
15
- const getGridDefaultColumnTypes = () => {
16
- const nativeColumnTypes = {
17
- string: _gridStringColDef.GRID_STRING_COL_DEF,
18
- number: _gridNumericColDef.GRID_NUMERIC_COL_DEF,
19
- date: _gridDateColDef.GRID_DATE_COL_DEF,
20
- dateTime: _gridDateColDef.GRID_DATETIME_COL_DEF,
21
- boolean: _gridBooleanColDef.GRID_BOOLEAN_COL_DEF,
22
- singleSelect: _gridSingleSelectColDef.GRID_SINGLE_SELECT_COL_DEF,
23
- [_gridActionsColDef.GRID_ACTIONS_COLUMN_TYPE]: _gridActionsColDef.GRID_ACTIONS_COL_DEF,
24
- custom: _gridStringColDef.GRID_STRING_COL_DEF,
25
- longText: _gridLongTextColDef.GRID_LONG_TEXT_COL_DEF
26
- };
27
- return nativeColumnTypes;
28
- };
7
+ Object.defineProperty(exports, "DEFAULT_GRID_COL_TYPE_KEY", {
8
+ enumerable: true,
9
+ get: function () {
10
+ return _gridColumnTypesRegistry.DEFAULT_GRID_COL_TYPE_KEY;
11
+ }
12
+ });
13
+ exports.getGridDefaultColumnTypes = void 0;
14
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
15
+ var _gridColumnTypesRegistry = require("./gridColumnTypesRegistry");
16
+ const getGridDefaultColumnTypes = () => (0, _extends2.default)({}, (0, _gridColumnTypesRegistry.getGridColumnTypesRegistry)());
29
17
  exports.getGridDefaultColumnTypes = getGridDefaultColumnTypes;
@@ -1,22 +1,4 @@
1
- import { GRID_STRING_COL_DEF } from "./gridStringColDef.mjs";
2
- import { GRID_NUMERIC_COL_DEF } from "./gridNumericColDef.mjs";
3
- import { GRID_DATE_COL_DEF, GRID_DATETIME_COL_DEF } from "./gridDateColDef.mjs";
4
- import { GRID_BOOLEAN_COL_DEF } from "./gridBooleanColDef.mjs";
5
- import { GRID_SINGLE_SELECT_COL_DEF } from "./gridSingleSelectColDef.mjs";
6
- import { GRID_ACTIONS_COL_DEF, GRID_ACTIONS_COLUMN_TYPE } from "./gridActionsColDef.mjs";
7
- import { GRID_LONG_TEXT_COL_DEF } from "./gridLongTextColDef.mjs";
8
- export const DEFAULT_GRID_COL_TYPE_KEY = 'string';
9
- export const getGridDefaultColumnTypes = () => {
10
- const nativeColumnTypes = {
11
- string: GRID_STRING_COL_DEF,
12
- number: GRID_NUMERIC_COL_DEF,
13
- date: GRID_DATE_COL_DEF,
14
- dateTime: GRID_DATETIME_COL_DEF,
15
- boolean: GRID_BOOLEAN_COL_DEF,
16
- singleSelect: GRID_SINGLE_SELECT_COL_DEF,
17
- [GRID_ACTIONS_COLUMN_TYPE]: GRID_ACTIONS_COL_DEF,
18
- custom: GRID_STRING_COL_DEF,
19
- longText: GRID_LONG_TEXT_COL_DEF
20
- };
21
- return nativeColumnTypes;
22
- };
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import { getGridColumnTypesRegistry } from "./gridColumnTypesRegistry.mjs";
3
+ export { DEFAULT_GRID_COL_TYPE_KEY } from "./gridColumnTypesRegistry.mjs";
4
+ export const getGridDefaultColumnTypes = () => _extends({}, getGridColumnTypesRegistry());
@@ -16,6 +16,7 @@ var _useForkRef = _interopRequireDefault(require("@mui/utils/useForkRef"));
16
16
  var _fastMemo = require("@mui/x-internals/fastMemo");
17
17
  var _forwardRef = require("@mui/x-internals/forwardRef");
18
18
  var _isObjectEmpty = require("@mui/x-internals/isObjectEmpty");
19
+ var _cssVariables = require("../constants/cssVariables");
19
20
  var _gridEditRowModel = require("../models/gridEditRowModel");
20
21
  var _gridClasses = require("../constants/gridClasses");
21
22
  var _composeGridClasses = require("../utils/composeGridClasses");
@@ -236,7 +237,14 @@ const GridRow = (0, _forwardRef.forwardRef)(function GridRow(props, refProp) {
236
237
  width: width,
237
238
  height: rowHeight,
238
239
  field: column.field,
239
- align: column.align
240
+ align: column.align,
241
+ skeletonProps: {
242
+ style: {
243
+ marginLeft: indexRelativeToAllColumns === 0 && rowNode.depth > 0 ?
244
+ // TODO: Make the factor configurable
245
+ _cssVariables.vars.spacing(rowNode.depth * 2) : '0px'
246
+ }
247
+ }
240
248
  }, column.field);
241
249
  }
242
250
 
@@ -10,6 +10,7 @@ import useForkRef from '@mui/utils/useForkRef';
10
10
  import { fastMemo } from '@mui/x-internals/fastMemo';
11
11
  import { forwardRef } from '@mui/x-internals/forwardRef';
12
12
  import { isObjectEmpty } from '@mui/x-internals/isObjectEmpty';
13
+ import { vars } from "../constants/cssVariables.mjs";
13
14
  import { GridEditModes, GridCellModes } from "../models/gridEditRowModel.mjs";
14
15
  import { gridClasses } from "../constants/gridClasses.mjs";
15
16
  import { composeGridClasses } from "../utils/composeGridClasses.mjs";
@@ -229,7 +230,14 @@ const GridRow = forwardRef(function GridRow(props, refProp) {
229
230
  width: width,
230
231
  height: rowHeight,
231
232
  field: column.field,
232
- align: column.align
233
+ align: column.align,
234
+ skeletonProps: {
235
+ style: {
236
+ marginLeft: indexRelativeToAllColumns === 0 && rowNode.depth > 0 ?
237
+ // TODO: Make the factor configurable
238
+ vars.spacing(rowNode.depth * 2) : '0px'
239
+ }
240
+ }
233
241
  }, column.field);
234
242
  }
235
243
 
@@ -60,7 +60,7 @@ function GridActionsCell(props) {
60
60
  });
61
61
  } else if (child.type === _GridActionsCellItem.GridActionsCellItem || suppressChildrenValidation) {
62
62
  actions.push(child);
63
- } else {
63
+ } else if (process.env.NODE_ENV !== 'production') {
64
64
  const childType = typeof child.type === 'function' ? child.type.name : child.type;
65
65
  (0, _warning.warnOnce)(`MUI X: Invalid child type in \`GridActionsCell\`. Expected \`GridActionsCellItem\` or \`React.Fragment\`, got \`${childType}\`.
66
66
  If this is intentional, you can suppress this warning by passing the \`suppressChildrenValidation\` prop to \`GridActionsCell\`.`, 'error');
@@ -52,7 +52,7 @@ function GridActionsCell(props) {
52
52
  });
53
53
  } else if (child.type === GridActionsCellItem || suppressChildrenValidation) {
54
54
  actions.push(child);
55
- } else {
55
+ } else if (process.env.NODE_ENV !== 'production') {
56
56
  const childType = typeof child.type === 'function' ? child.type.name : child.type;
57
57
  warnOnce(`MUI X: Invalid child type in \`GridActionsCell\`. Expected \`GridActionsCellItem\` or \`React.Fragment\`, got \`${childType}\`.
58
58
  If this is intentional, you can suppress this warning by passing the \`suppressChildrenValidation\` prop to \`GridActionsCell\`.`, 'error');
@@ -36,7 +36,7 @@ const GridActionsCellItem = exports.GridActionsCellItem = (0, _forwardRef.forwar
36
36
  }, rootProps.slotProps?.baseIconButton, {
37
37
  ref: ref,
38
38
  children: /*#__PURE__*/React.cloneElement(icon, {
39
- fontSize: 'small'
39
+ fontSize: 'inherit'
40
40
  })
41
41
  }));
42
42
  }
@@ -29,7 +29,7 @@ const GridActionsCellItem = forwardRef((props, ref) => {
29
29
  }, rootProps.slotProps?.baseIconButton, {
30
30
  ref: ref,
31
31
  children: /*#__PURE__*/React.cloneElement(icon, {
32
- fontSize: 'small'
32
+ fontSize: 'inherit'
33
33
  })
34
34
  }));
35
35
  }
@@ -185,6 +185,7 @@ function GridLongTextCell(props) {
185
185
  children: value
186
186
  })), /*#__PURE__*/(0, _jsxRuntime.jsx)(GridLongTextCellCornerButton, (0, _extends2.default)({
187
187
  ref: cornerButtonRef,
188
+ type: "button",
188
189
  "aria-label": `${value}, ${apiRef.current.getLocaleText('longTextCellExpandLabel')}`,
189
190
  "aria-haspopup": "dialog",
190
191
  "aria-controls": popupOpen ? popupId : undefined,
@@ -236,6 +237,7 @@ function GridLongTextCell(props) {
236
237
  '--_width': `${colDef.computedWidth}px`
237
238
  }, slotProps?.popperContent?.style),
238
239
  children: [renderContent ? renderContent(value) : value, /*#__PURE__*/(0, _jsxRuntime.jsx)(GridLongTextCellCornerButton, (0, _extends2.default)({
240
+ type: "button",
239
241
  "aria-label": apiRef.current.getLocaleText('longTextCellCollapseLabel'),
240
242
  "aria-keyshortcuts": "Escape"
241
243
  }, slotProps?.collapseButton, {
@@ -177,6 +177,7 @@ function GridLongTextCell(props) {
177
177
  children: value
178
178
  })), /*#__PURE__*/_jsx(GridLongTextCellCornerButton, _extends({
179
179
  ref: cornerButtonRef,
180
+ type: "button",
180
181
  "aria-label": `${value}, ${apiRef.current.getLocaleText('longTextCellExpandLabel')}`,
181
182
  "aria-haspopup": "dialog",
182
183
  "aria-controls": popupOpen ? popupId : undefined,
@@ -228,6 +229,7 @@ function GridLongTextCell(props) {
228
229
  '--_width': `${colDef.computedWidth}px`
229
230
  }, slotProps?.popperContent?.style),
230
231
  children: [renderContent ? renderContent(value) : value, /*#__PURE__*/_jsx(GridLongTextCellCornerButton, _extends({
232
+ type: "button",
231
233
  "aria-label": apiRef.current.getLocaleText('longTextCellCollapseLabel'),
232
234
  "aria-keyshortcuts": "Escape"
233
235
  }, slotProps?.collapseButton, {
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { GridColType } from "../../models/index.mjs";
2
+ import type { GridColType, GridSlotProps } from "../../models/index.mjs";
3
3
  export interface GridSkeletonCellProps extends React.HTMLAttributes<HTMLDivElement> {
4
4
  type?: GridColType;
5
5
  width?: number | string;
@@ -11,6 +11,7 @@ export interface GridSkeletonCellProps extends React.HTMLAttributes<HTMLDivEleme
11
11
  * @default false
12
12
  */
13
13
  empty?: boolean;
14
+ skeletonProps?: GridSlotProps['baseSkeleton'];
14
15
  }
15
16
  declare function GridSkeletonCell(props: GridSkeletonCellProps): import("react/jsx-runtime").JSX.Element;
16
17
  declare namespace GridSkeletonCell {
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { GridColType } from "../../models/index.js";
2
+ import type { GridColType, GridSlotProps } from "../../models/index.js";
3
3
  export interface GridSkeletonCellProps extends React.HTMLAttributes<HTMLDivElement> {
4
4
  type?: GridColType;
5
5
  width?: number | string;
@@ -11,6 +11,7 @@ export interface GridSkeletonCellProps extends React.HTMLAttributes<HTMLDivEleme
11
11
  * @default false
12
12
  */
13
13
  empty?: boolean;
14
+ skeletonProps?: GridSlotProps['baseSkeleton'];
14
15
  }
15
16
  declare function GridSkeletonCell(props: GridSkeletonCellProps): import("react/jsx-runtime").JSX.Element;
16
17
  declare namespace GridSkeletonCell {