@mui/x-virtualizer 1.0.0-alpha.0 → 1.0.0-beta.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 (46) hide show
  1. package/CHANGELOG.md +481 -0
  2. package/{esm/features/colspan.d.ts → features/colspan.d.mts} +4 -4
  3. package/{esm/features/dimensions.d.ts → features/dimensions.d.mts} +2 -2
  4. package/{esm/features/dimensions.js → features/dimensions.mjs} +1 -1
  5. package/features/index.d.mts +5 -0
  6. package/features/index.mjs +5 -0
  7. package/{esm/features/keyboard.d.ts → features/keyboard.d.mts} +1 -1
  8. package/{esm/features/keyboard.js → features/keyboard.mjs} +2 -2
  9. package/{esm/features/rowspan.d.ts → features/rowspan.d.mts} +3 -3
  10. package/features/virtualization/index.d.mts +2 -0
  11. package/features/virtualization/index.mjs +2 -0
  12. package/{esm/features/virtualization/layout.d.ts → features/virtualization/layout.d.mts} +9 -9
  13. package/{esm/features/virtualization/layout.js → features/virtualization/layout.mjs} +3 -3
  14. package/{esm/features/virtualization/virtualization.d.ts → features/virtualization/virtualization.d.mts} +5 -5
  15. package/features/virtualization/virtualization.js +5 -4
  16. package/{esm/features/virtualization/virtualization.js → features/virtualization/virtualization.mjs} +9 -8
  17. package/index.d.mts +3 -0
  18. package/index.js +1 -1
  19. package/{esm/index.js → index.mjs} +4 -4
  20. package/{esm/models/dimensions.d.ts → models/dimensions.d.mts} +1 -1
  21. package/models/index.d.mts +4 -0
  22. package/models/index.mjs +4 -0
  23. package/{esm/models/rowspan.d.ts → models/rowspan.d.mts} +1 -1
  24. package/package.json +40 -15
  25. package/{esm/useVirtualizer.d.ts → useVirtualizer.d.mts} +20 -20
  26. package/{esm/useVirtualizer.js → useVirtualizer.mjs} +6 -6
  27. package/esm/features/index.d.ts +0 -5
  28. package/esm/features/index.js +0 -5
  29. package/esm/features/virtualization/index.d.ts +0 -2
  30. package/esm/features/virtualization/index.js +0 -2
  31. package/esm/index.d.ts +0 -3
  32. package/esm/models/index.d.ts +0 -4
  33. package/esm/models/index.js +0 -4
  34. package/esm/package.json +0 -1
  35. /package/{esm/constants.d.ts → constants.d.mts} +0 -0
  36. /package/{esm/constants.js → constants.mjs} +0 -0
  37. /package/{esm/features/colspan.js → features/colspan.mjs} +0 -0
  38. /package/{esm/features/rowspan.js → features/rowspan.mjs} +0 -0
  39. /package/{esm/models/colspan.d.ts → models/colspan.d.mts} +0 -0
  40. /package/{esm/models/colspan.js → models/colspan.mjs} +0 -0
  41. /package/{esm/models/core.d.ts → models/core.d.mts} +0 -0
  42. /package/{esm/models/core.js → models/core.mjs} +0 -0
  43. /package/{esm/models/dimensions.js → models/dimensions.mjs} +0 -0
  44. /package/{esm/models/rowspan.js → models/rowspan.mjs} +0 -0
  45. /package/{esm/utils/useRefCallback.d.ts → utils/useRefCallback.d.mts} +0 -0
  46. /package/{esm/utils/useRefCallback.js → utils/useRefCallback.mjs} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,486 @@
1
1
  # Changelog
2
2
 
3
+ ## 9.0.0-alpha.4
4
+
5
+ _Mar 19, 2026_
6
+
7
+ We'd like to extend a big thank you to the 12 contributors who made this release possible. Here are some highlights ✨:
8
+
9
+ - 🐞 Bugfixes and internal improvements
10
+
11
+ The following team members contributed to this release:
12
+ @aemartos, @alexfauquette, @bernardobelchior, @Janpot, @JCQuintas, @LukasTy, @mapache-salvaje, @michelengelen, @noraleonte, @rita-codes, @sai6855, @siriwatknp
13
+
14
+ ### Data Grid
15
+
16
+ #### `@mui/x-data-grid@9.0.0-alpha.4`
17
+
18
+ - [DataGrid] Mark charts integration as stable (#21764) @JCQuintas
19
+ - [DataGrid] Move `elementOverrides` to constants and remove duplicates (#21618) @sai6855
20
+ - [DataGrid] Migrate from deprecated Material UI APIs (#21682) @siriwatknp
21
+
22
+ #### `@mui/x-data-grid-pro@9.0.0-alpha.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
23
+
24
+ Same changes as in `@mui/x-data-grid@9.0.0-alpha.4`.
25
+
26
+ #### `@mui/x-data-grid-premium@9.0.0-alpha.4` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
27
+
28
+ Same changes as in `@mui/x-data-grid-pro@9.0.0-alpha.4`.
29
+
30
+ ### Date and Time Pickers
31
+
32
+ #### `@mui/x-date-pickers@9.0.0-alpha.4`
33
+
34
+ - [pickers] Avoid stealing focus on click away (#13434) @LukasTy
35
+ - [pickers] Promote `fieldRef` to stable and add `clearValue` method (#21655) @michelengelen
36
+
37
+ #### `@mui/x-date-pickers-pro@9.0.0-alpha.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
38
+
39
+ Same changes as in `@mui/x-date-pickers@9.0.0-alpha.4`.
40
+
41
+ ### Charts
42
+
43
+ #### `@mui/x-charts@9.0.0-alpha.4`
44
+
45
+ - [charts] Add v9 chart series types and helper functions migration (#21009) @bernardobelchior
46
+ - [charts] Extract event listener to the layer container (#21751) @alexfauquette
47
+ - [charts] Fix WebGL print export canvas stretching (#21738) @JCQuintas
48
+ - [charts] Improve deprecation warnings (#21760) @alexfauquette
49
+ - [charts] Improve type safety in `identifierCleaner` (#21719) @bernardobelchior
50
+ - [charts] Make `preferStrictDomainInLineCharts` the default (#21744) @JCQuintas
51
+ - [charts] Move title and description to the layer container (#21757) @alexfauquette
52
+ - [charts] Refactor `FunnelChart` classes structure (#21652) @JCQuintas
53
+ - [charts] Refactor `Heatmap` classes structure (#21653) @JCQuintas
54
+ - [charts] Refactor `RadarChart` classes structure (#21650) @JCQuintas
55
+ - [charts] Refactor `SankeyChart` classes structure (#21654) @JCQuintas
56
+ - [charts] Refactor legend getters to use utility functions (#21628) @sai6855
57
+ - [charts] Remove deprecated `ChartContainer` and `ChartDataProvider` (#21777) @alexfauquette
58
+ - [charts] Remove deprecated `itemId` from `SeriesLegendItemContext` (#21788) @alexfauquette
59
+ - [charts] Remove deprecated `useMouseTracker()` (#21787) @alexfauquette
60
+ - [charts] Remove deprecated classes (#21775) @alexfauquette
61
+ - [charts] Remove deprecated props from PieArcLabel animation (#21789) @alexfauquette
62
+ - [charts] Remove get*UtilityClass from public exports (#21769) @JCQuintas
63
+ - [charts] Remove the deprecated `disableHover` property (#21785) @alexfauquette
64
+ - [charts] Remove the deprecated `message` prop (#21784) @alexfauquette
65
+ - [charts] Remove deprecated props about voronoi (#21796) @alexfauquette
66
+ - [charts] Remove deprecated pieArcClasses (#21795) @alexfauquette
67
+ - [charts] Rename `data-series-id` by `data-series` (#21761) @alexfauquette
68
+ - [charts] Rename `voronoiMaxRadius`/`disableVoronoi` to `hitAreaRadius`/`disableHitArea` (#21750) @bernardobelchior
69
+ - [charts] Update pt-PT locale (#21296) @bernardobelchior
70
+ - [charts] Use different shape per series by default (#21713) @alexfauquette
71
+ - [charts] Add className prop to Radar components (#21794) @JCQuintas
72
+ - [charts] Add className prop to shared chart components (#21792) @JCQuintas
73
+ - [charts] Add className prop to BarPlot (#21791) @JCQuintas
74
+ - [charts] Portal tooltip into ChartsLayerContainer (#21801) @JCQuintas
75
+
76
+ #### `@mui/x-charts-pro@9.0.0-alpha.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
77
+
78
+ Same changes as in `@mui/x-charts@9.0.0-alpha.4`, plus:
79
+
80
+ - [charts-pro] Allow `brush` interaction to accept `requiredKeys/pointerMode` (#21716) @JCQuintas
81
+ - [charts-pro] Remove deprecated `onAxisClick` for Heatmap (#21786) @alexfauquette
82
+
83
+ #### `@mui/x-charts-premium@9.0.0-alpha.4` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
84
+
85
+ Same changes as in `@mui/x-charts-pro@9.0.0-alpha.4`, plus:
86
+
87
+ - [charts-premium] Add candlestick chart (#21129) @bernardobelchior
88
+
89
+ ### Tree View
90
+
91
+ #### `@mui/x-tree-view@9.0.0-alpha.4`
92
+
93
+ Internal changes.
94
+
95
+ #### `@mui/x-tree-view-pro@9.0.0-alpha.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
96
+
97
+ Same changes as in `@mui/x-tree-view@9.0.0-alpha.4`.
98
+
99
+ ### Codemod
100
+
101
+ #### `@mui/x-codemod@9.0.0-alpha.4`
102
+
103
+ Internal changes.
104
+
105
+ ### Docs
106
+
107
+ - [docs-infra] Exclude `ServerSideLazyLoadingRevalidation` from argos (#21734) @sai6855
108
+ - [docs] Update charts v9 migration guide to include premium package (#21743) @bernardobelchior
109
+ - [docs] Update v9 migration guides to install next tag (#21741) @bernardobelchior
110
+ - [docs] Revise the Pie chart docs (#21565) @mapache-salvaje
111
+ - [docs] Revise the Bar Chart docs (#21482) @mapache-salvaje
112
+ - [docs] Removed a `console.log` from an aggregation demo (#21698) @michelengelen
113
+
114
+ ### Core
115
+
116
+ - [code-infra] Add pkg-pr-new as dev dependency (#21754) @Janpot
117
+ - [code-infra] Prevent `combiner` to have default parameters (#21707) @JCQuintas
118
+ - [code-infra] Remove CI coverage collection and upload to Codecov (#21671) @Janpot
119
+ - [internal] Remove @bernardobelchior from Charts CODEOWNERS (#21776) @Copilot
120
+
121
+ ### Miscellaneous
122
+
123
+ - [x-license] Fix process.env.MUI_VERSION not being replaced during build (#21727) @aemartos
124
+ - [x-license] Add new watermark license status message (#21720) @aemartos
125
+
126
+ ## 9.0.0-alpha.3
127
+
128
+ _Mar 12, 2026_
129
+
130
+ We'd like to extend a big thank you to the 13 contributors who made this release possible. Here are some highlights ✨:
131
+
132
+ - 🐞 Bugfixes and internal improvements
133
+
134
+ The following team members contributed to this release:
135
+ @aemartos, @alexfauquette, @bernardobelchior, @brijeshb42, @cherniavskii, @flaviendelangle, @Janpot, @JCQuintas, @MBilalShafi, @michelengelen, @rita-codes, @sai6855, @siriwatknp
136
+
137
+ ### Data Grid
138
+
139
+ #### `@mui/x-data-grid@9.0.0-alpha.3`
140
+
141
+ - [DataGrid] Fix crash when `rows` and `rowModesModel` are updated simultaneously (#21265) @michelengelen
142
+ - [DataGrid] Add missing `resizablePanelHandle` classes to `gridClasses` object (#21538) @sai6855
143
+ - [DataGrid] Refactor `headerAlign` style calls (#21541) @sai6855
144
+
145
+ #### `@mui/x-data-grid-pro@9.0.0-alpha.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
146
+
147
+ Same changes as in `@mui/x-data-grid@9.0.0-alpha.3`, plus:
148
+
149
+ - [DataGridPro] Add `role="presentation"` to detail panel toggle header content (#21634) @michelengelen
150
+ - [DataGridPro] Fix sorting not reflected in nested server-side data (#21619) @MBilalShafi
151
+
152
+ #### `@mui/x-data-grid-premium@9.0.0-alpha.3` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
153
+
154
+ Same changes as in `@mui/x-data-grid-pro@9.0.0-alpha.3`.
155
+
156
+ ### Date and Time Pickers
157
+
158
+ #### `@mui/x-date-pickers@9.0.0-alpha.3`
159
+
160
+ - [pickers] Refactor `DateRangePickerDay` overrides to use a centralized `elementOverrides` object (#21426) @sai6855
161
+ - [pickers] Migrate from deprecated props for `PickersModalDialog` (#21702) @siriwatknp
162
+
163
+ #### `@mui/x-date-pickers-pro@9.0.0-alpha.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
164
+
165
+ Same changes as in `@mui/x-date-pickers@9.0.0-alpha.3`.
166
+
167
+ ### Charts
168
+
169
+ #### `@mui/x-charts@9.0.0-alpha.3`
170
+
171
+ - [charts] Differentiate Line Plot roots classes (#21679) @JCQuintas
172
+ - [charts] Enable keyboard navigation by default (#21675) @alexfauquette
173
+ - [charts] Fix keyboard tooltip radar (#21667) @alexfauquette
174
+ - [charts] Fix selector default parameter (#21638) @JCQuintas
175
+ - [charts] Fix tooltip blink between node and pointer anchor (#21611) @alexfauquette
176
+ - [charts] Let tooltip and legend reflect the line shape (#21475) @alexfauquette
177
+ - [charts] Refactor `BarChart` classes structure (#21601) @JCQuintas
178
+ - [charts] Refactor `LineChart` classes structure (#21648) @JCQuintas
179
+ - [charts] Refactor `ScatterChart` classes structure (#21651) @JCQuintas
180
+ - [charts] Refactor `PieChart` classes structure (#21649) @JCQuintas
181
+ - [charts] Remove batch rendering checks in highlight selectors (#21646) @bernardobelchior
182
+ - [charts] Standardize generic arg names to `SeriesType` (#21694) @alexfauquette
183
+ - [charts] Simplify highlight hooks return types (#21695) @alexfauquette
184
+
185
+ #### `@mui/x-charts-pro@9.0.0-alpha.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
186
+
187
+ Same changes as in `@mui/x-charts@9.0.0-alpha.3`, plus:
188
+
189
+ - [charts-pro] Fix heatmap style override from `arc` to `cell` (#21693) @Copilot
190
+ - [charts-pro] Fix image export truncated when page is zoomed out (#21685) @bernardobelchior
191
+ - [charts-pro] Speed-up heatmap cell search with an index lookup (#21130) @alexfauquette
192
+ - [charts-pro] Fix heatmap highlight not working (#21710) @Copilot
193
+
194
+ #### `@mui/x-charts-premium@9.0.0-alpha.3` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
195
+
196
+ Same changes as in `@mui/x-charts-pro@9.0.0-alpha.3`, plus:
197
+
198
+ - [charts-premium] Re-enable WebGL tests (#21708) @bernardobelchior
199
+
200
+ ### Tree View
201
+
202
+ #### Breaking changes
203
+
204
+ - Remove `TreeViewBaseItem` type (use `TreeViewDefaultItemModelProperties` or a custom interface)
205
+ - Remove `useTreeViewApiRef` hook (use `useRichTreeViewApiRef`, `useSimpleTreeViewApiRef`, or `useRichTreeViewProApiRef`)
206
+ - Remove `status` from content slot props returned by `getContentProps()` (use `data-*` attributes; `status` on `useTreeItem` return value is unchanged)
207
+ - Remove deprecated CSS state classes from `treeItemClasses`: `expanded`, `selected`, `focused`, `disabled`, `editable`, `editing` (use `[data-expanded]`, `[data-selected]`, etc.)
208
+ - The `<RichTreeViewPro />` component has now virtualization enabled by default.
209
+ - The items used inside the `<RichTreeViewPro />` now have a default height of `32px`.
210
+ - The events of the `<RichTreeViewPro />` are now rendered as a flat list instead of a nested tree.
211
+
212
+ #### `@mui/x-tree-view@9.0.0-alpha.3`
213
+
214
+ - [tree view] Remove deprecated APIs (#21591) @flaviendelangle
215
+ - [tree view] Fix collapsed children not selected with `selectionPropagation.descendants` in `SimpleTreeView` (#21253) @flaviendelangle
216
+
217
+ #### `@mui/x-tree-view-pro@9.0.0-alpha.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
218
+
219
+ Same changes as in `@mui/x-tree-view@9.0.0-alpha.3`, plus:
220
+
221
+ - [RichTreeViewPro] Make the virtualization opt-out and port the layout doc from the data grid (#21461) @flaviendelangle
222
+
223
+ ### Codemod
224
+
225
+ #### `@mui/x-codemod@9.0.0-alpha.3`
226
+
227
+ Internal changes.
228
+
229
+ ### Docs
230
+
231
+ - [docs] Fix `AssistantWithDataSource` demo crashing (#21555) @sai6855
232
+ - [docs] Remove `Preview` pill from Sankey (#21623) @bernardobelchior
233
+ - [docs] Migrate internal Material UI deprecated APIs (#21680) @siriwatknp
234
+ - [docs] Remove `New` flag on Tree View and Date and Time Pickers features released before v9 alpha (#21585) @flaviendelangle
235
+
236
+ ### Core
237
+
238
+ - [code-infra] Remove checkout step (#21688) @Janpot
239
+ - [code-infra] Fix contributor generation in changelog (#21718) @brijeshb42
240
+ - [docs-infra] Do not point to non-existent v8 subdomain (#21640) @cherniavskii
241
+
242
+ ### Miscellaneous
243
+
244
+ - [test] Add missing tests for forwarding props to filter operators in DataGrid (#21441) @siriwatknp
245
+ - [x-license] Export additional license types and constants (#21625) @aemartos
246
+ - [x-license] Refactor license verification to accept package info object and add v9 version gating (#21690) @aemartos
247
+
248
+ ## 9.0.0-alpha.2
249
+
250
+ _Mar 5, 2026_
251
+
252
+ We'd like to extend a big thank you to the 12 contributors who made this release possible. Here are some highlights ✨:
253
+
254
+ - ✅ Stabilize Sankey chart
255
+ - 🐞 Bugfixes and internal improvements
256
+
257
+ The following team members contributed to this release:
258
+ @aemartos, @alelthomas, @alexfauquette, @arminmeh, @bernardobelchior, @brijeshb42, @Janpot, @JCQuintas, @mapache-salvaje, @michelengelen, @mj12albert, @sai6855, @siriwatknp
259
+
260
+ ### Data Grid
261
+
262
+ #### `@mui/x-data-grid@9.0.0-alpha.2`
263
+
264
+ - [dataGrid] Fix keyboard nav with single-row checkbox selection (#21149) @mj12albert
265
+ - [DataGrid] Add `checkboxColDef` prop to customize the selection column (#21331) @michelengelen
266
+ - [DataGrid] Format pagination numbers by default (#21117) @siriwatknp
267
+ - [DataGrid] Prevent unnecessary row selection checkbox rerendering (#21570) @arminmeh
268
+ - [DataGrid] Make GridScrollArea overrides resolver dynamic (#21532) @sai6855
269
+
270
+ #### `@mui/x-data-grid-pro@9.0.0-alpha.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
271
+
272
+ Same changes as in `@mui/x-data-grid@9.0.0-alpha.2`, plus:
273
+
274
+ - [DataGridPro] Use `getRowId` prop to calculate the tree data row update (#21540) @arminmeh
275
+
276
+ #### `@mui/x-data-grid-premium@9.0.0-alpha.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
277
+
278
+ Same changes as in `@mui/x-data-grid-pro@9.0.0-alpha.2`.
279
+
280
+ ### Date and Time Pickers
281
+
282
+ #### `@mui/x-date-pickers@9.0.0-alpha.2`
283
+
284
+ - [pickers] Add `keepOpenDuringFieldFocus` prop (#20782) @michelengelen
285
+
286
+ #### `@mui/x-date-pickers-pro@9.0.0-alpha.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
287
+
288
+ Same changes as in `@mui/x-date-pickers@9.0.0-alpha.2`.
289
+
290
+ ### Charts
291
+
292
+ #### `@mui/x-charts@9.0.0-alpha.2`
293
+
294
+ - [charts] Add `ChartsLayerContainer` component (#21264) @bernardobelchior
295
+ - [charts] Add codemod for `ChartsContainer` rename (#21504) @JCQuintas
296
+ - [charts] Add codemod for `ChartsDataProvider` rename (#21552) @JCQuintas
297
+ - [charts] Add codemod for `ChartsZoomSlider` rename (#21597) @JCQuintas
298
+ - [charts] Base the highlight items on the item identifiers (#21161) @alexfauquette
299
+ - [charts] Deprecate `ChartDataProvider` in favour of `ChartsDataProvider` (#21191) @JCQuintas
300
+ - [charts] Deprecate `highlighted` and `faded` classes (#21476) @alexfauquette
301
+ - [charts] Migrate to latest v8 warning (#21518) @JCQuintas
302
+ - [charts] Rename `ChartZoomSlider` to `ChartsZoomSlider` (#21553) @JCQuintas
303
+ - [charts] Rename `WebGl` to `WebGL` (#21524) @JCQuintas
304
+ - [charts] Rename `useSvgRef()` by `useChartsLayerContainerRef()` (#21494) @alexfauquette
305
+ - [charts] Restore focus on last focused item (#21522) @alexfauquette
306
+ - [charts] Warn users when controlled tooltip state does not match the trigger (#21520) @Copilot
307
+ - [charts] Fix controlled tooltip position (#21603) @bernardobelchior
308
+
309
+ #### `@mui/x-charts-pro@9.0.0-alpha.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
310
+
311
+ Same changes as in `@mui/x-charts@9.0.0-alpha.2`, plus:
312
+
313
+ - [charts-pro] Center the watermark (#21550) @alexfauquette
314
+ - [charts-pro] Stabilize `SankeyChart` API (#21133) @Copilot
315
+
316
+ #### `@mui/x-charts-premium@9.0.0-alpha.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
317
+
318
+ Same changes as in `@mui/x-charts-pro@9.0.0-alpha.2`.
319
+
320
+ ### Tree View
321
+
322
+ #### `@mui/x-tree-view@9.0.0-alpha.2`
323
+
324
+ Internal changes.
325
+
326
+ #### `@mui/x-tree-view-pro@9.0.0-alpha.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
327
+
328
+ Same changes as in `@mui/x-tree-view@9.0.0-alpha.2`.
329
+
330
+ ### Codemod
331
+
332
+ #### `@mui/x-codemod@9.0.0-alpha.2`
333
+
334
+ Internal changes.
335
+
336
+ ### Docs
337
+
338
+ - [docs] Add backticks and parentheses to all functions and hooks (DX-173) (#21496) @mapache-salvaje
339
+ - [docs] Remove mentions of `mySvgRef` (#21559) @bernardobelchior
340
+ - [docs] Update Roadmap section in the docs (#20892) @alelthomas
341
+ - [docs] Add tutorial and example app for aggregation with row grouping (DX-162) (#21102) @mapache-salvaje
342
+ - [docs] Fix missing codemod docs (#21604) @JCQuintas
343
+
344
+ ### Core
345
+
346
+ - [code-infra] Add eslint rule to prevent `Math.random` in docs (#21505) @JCQuintas
347
+ - [code-infra] Avoid static props for pageContent (#21038) @Janpot
348
+ - [code-infra] Isolate `date-pickers-pro` in the browser tests (#21383) @Janpot
349
+ - [code-infra] Remove `--coverage` (#21410) @Janpot
350
+ - [code-infra] Remove unneeded `skipIf`s (#21569) @JCQuintas
351
+ - [code-infra] Remove vale as a workspace dependency (#21489) @brijeshb42
352
+ - [code-infra] Remove x-charts-vendor from nextjs processing (#21534) @brijeshb42
353
+ - [code-infra] Set BASE_BRANCH env var in CircleCI config (#21548) @brijeshb42
354
+ - [code-infra] Setup error code extraction (#21469) @brijeshb42
355
+ - [code-infra] Setup flat build for packages (#21029) @brijeshb42
356
+ - [code-infra] Upgrade test_unit to large resource class (#21558) @Janpot
357
+ - [code-infra] Removed getTeamMembers function and usage from release script (#21605) @michelengelen
358
+
359
+ ### Miscellaneous
360
+
361
+ - [x-license] Add Q1-2026 plan version with quantity and appType support (#21574) @aemartos
362
+ - [x-license] Add v3 key format support, centralize test keys, and trim public API (#21485) @aemartos
363
+ - [x-telemetry] telemetry opt-out by default, remove conf dependency (#21470) @aemartos
364
+ - [x-telemetry] test: mock context module directly in sender tests (#21546) @aemartos
365
+
366
+ ## 9.0.0-alpha.1
367
+
368
+ _Feb 26, 2026_
369
+
370
+ We'd like to extend a big thank you to the 18 contributors who made this release possible. Here are some highlights ✨:
371
+
372
+ - ⚡️ Improved dynamic data support and cache invalidation in lazy loading for Data Grid Pro
373
+ - ⌨️ Keyboard support for selecting day, month, and year in Date Pickers
374
+ - 📊 Axis tooltip sorting and control improvements in Charts
375
+ - 🐞 Bugfixes and internal improvements
376
+
377
+ Special thanks go out to these community members for their valuable contributions:
378
+ @EllGree, @lion1963
379
+
380
+ The following team members contributed to this release:
381
+ @alexfauquette, @arminmeh, @brijeshb42, @cherniavskii, @dav-is, @flaviendelangle, @Janpot, @JCQuintas, @mapache-salvaje, @MBilalShafi, @michelengelen, @noraleonte, @rita-codes, @sai6855, @siriwatknp, @ZeeshanTamboli
382
+
383
+ ### Data Grid
384
+
385
+ #### `@mui/x-data-grid@9.0.0-alpha.1`
386
+
387
+ - [DataGrid] Forward rest props in `GridFilterInputMultipleValue` (#21407) @siriwatknp
388
+ - [DataGrid] Preserve key input during row edit when using `rowModesModel` (#20759) @michelengelen
389
+ - [DataGrid] Remove double rtl inversion logic for columns pinning (#21371) @siriwatknp
390
+
391
+ #### `@mui/x-data-grid-pro@9.0.0-alpha.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
392
+
393
+ Same changes as in `@mui/x-data-grid@9.0.0-alpha.1`, plus:
394
+
395
+ - [DataGridPro] Fix number input visibility in header filters (#21328) @michelengelen
396
+ - [DataGridPro] Improve dynamic data support and cache invalidation in lazy loading (#21282) @MBilalShafi
397
+
398
+ #### `@mui/x-data-grid-premium@9.0.0-alpha.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
399
+
400
+ Same changes as in `@mui/x-data-grid-pro@9.0.0-alpha.1`.
401
+
402
+ ### Date and Time Pickers
403
+
404
+ #### `@mui/x-date-pickers@9.0.0-alpha.1`
405
+
406
+ - [DatePicker] Add keyboard support for selecting day, month, and year (#20859) @michelengelen
407
+
408
+ #### `@mui/x-date-pickers-pro@9.0.0-alpha.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
409
+
410
+ Same changes as in `@mui/x-date-pickers@9.0.0-alpha.1`, plus:
411
+
412
+ - [DateRangePicker] Fix timezone update issue leading to `invalidRange` error (#20863) @michelengelen
413
+
414
+ ### Charts
415
+
416
+ #### `@mui/x-charts@9.0.0-alpha.1`
417
+
418
+ - [charts] Add `sort` props to the axis tooltip (#21293) @alexfauquette
419
+ - [charts] Controll axis tooltip (#21351) @alexfauquette
420
+ - [charts] De duplicate keyboard focus handler function (#21267) @sai6855
421
+ - [charts] Make `type` optional in identifiers (#21311) @alexfauquette
422
+ - [charts] Move ref to the root component (#21396) @alexfauquette
423
+ - [charts] Refactor loading and no data overlays to use a shared OverlayText component (#21414) @sai6855
424
+ - [charts] Require series ids to be unique (#21330) @alexfauquette
425
+ - [charts] Set `showMark` as `false` by default (#21373) @alexfauquette
426
+ - [charts] Use `createGetNextIndexFocusedItem()` util in Funnel and RangeBar charts (#21390) @sai6855
427
+ - [charts] Remove unnecessary string concatenation (#21418) @sai6855
428
+
429
+ #### `@mui/x-charts-pro@9.0.0-alpha.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
430
+
431
+ Same changes as in `@mui/x-charts@9.0.0-alpha.1`.
432
+
433
+ #### `@mui/x-charts-premium@9.0.0-alpha.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
434
+
435
+ Same changes as in `@mui/x-charts-pro@9.0.0-alpha.1`.
436
+
437
+ ### Tree View
438
+
439
+ #### `@mui/x-tree-view@9.0.0-alpha.1`
440
+
441
+ - [tree view] Focus item sibling on unmount instead of the 1st item (#21254) @flaviendelangle
442
+
443
+ #### `@mui/x-tree-view-pro@9.0.0-alpha.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
444
+
445
+ Same changes as in `@mui/x-tree-view@9.0.0-alpha.1`.
446
+
447
+ ### Codemod
448
+
449
+ #### `@mui/x-codemod@9.0.0-alpha.1`
450
+
451
+ Internal changes.
452
+
453
+ ### Docs
454
+
455
+ - [docs] Fix external 301s (#21377) @Janpot
456
+ - [docs] Show premium in the overview (#21343) @alexfauquette
457
+ - [docs][charts] Revise the useLegend hook doc (#21352) @mapache-salvaje
458
+ - [docs][charts] Revise the axis hooks doc (#21317) @mapache-salvaje
459
+ - [docs][charts] Revise the scale hooks doc (#21316) @mapache-salvaje
460
+ - [docs][charts] Revise the series hooks doc (#21353) @mapache-salvaje
461
+ - [docs][charts] Revise the useDataset doc (#21336) @mapache-salvaje
462
+ - [docs][charts] Revise the useDrawingArea doc (#21333) @mapache-salvaje
463
+
464
+ ### Core
465
+
466
+ - [core] Update docs deploy script to the `docs-next` branch (#21341) @siriwatknp
467
+ - [code-infra] Cleanup unused babel plugins (#21453) @brijeshb42
468
+ - [code-infra] Do not append `x` to the last version for the compare API (#21408) @arminmeh
469
+ - [code-infra] Upgrade react-docgen to v8 X (#21155) @JCQuintas
470
+ - [code-infra] Modernize codemod (#21096) @JCQuintas
471
+ - [docs-infra] Fix current version detection logic (#21417) @cherniavskii
472
+ - [docs-infra] Reapply Cookie Banner (#21281) @dav-is
473
+ - [internal] Headless filtering plugin (#21302) @arminmeh
474
+ - [internal] Headless pagination plugin (#21183) @arminmeh
475
+ - [internal] Headless virtualization followups (#21327) @cherniavskii
476
+ - [internal] Keep cached data for disabled pipe processors (#21348) @arminmeh
477
+ - [internal] Remove autoprefixer package (#21440) @ZeeshanTamboli
478
+
479
+ ### Miscellaneous
480
+
481
+ - [l10n] Fix Czech (csCZ) locale: sort/filter labels are swapped (#21400) @EllGree
482
+ - [l10n] Improve Ukrainian (uk-UA) locale (#21366) @lion1963
483
+
3
484
  ## 9.0.0-alpha.0
4
485
 
5
486
  _Feb 16, 2026_
@@ -1,9 +1,9 @@
1
1
  import { Store } from '@mui/x-internals/store';
2
2
  import type { integer } from '@mui/x-internals/types';
3
- import type { BaseState, ParamsWithDefaults } from "../useVirtualizer.js";
4
- import type { ColumnWithWidth, RowId } from "../models/index.js";
5
- import type { CellColSpanInfo } from "../models/colspan.js";
6
- import { Virtualization } from "./virtualization/index.js";
3
+ import type { BaseState, ParamsWithDefaults } from "../useVirtualizer.mjs";
4
+ import type { ColumnWithWidth, RowId } from "../models/index.mjs";
5
+ import type { CellColSpanInfo } from "../models/colspan.mjs";
6
+ import { Virtualization } from "./virtualization/index.mjs";
7
7
  type ColumnIndex = number;
8
8
  type ColspanMap = Map<RowId, Record<ColumnIndex, CellColSpanInfo>>;
9
9
  export type ColspanParams = {
@@ -1,6 +1,6 @@
1
1
  import { Store } from '@mui/x-internals/store';
2
- import { ColumnWithWidth, DimensionsState, RowId, RowsMetaState, Size } from "../models/index.js";
3
- import type { BaseState, ParamsWithDefaults } from "../useVirtualizer.js";
2
+ import { ColumnWithWidth, DimensionsState, RowId, RowsMetaState, Size } from "../models/index.mjs";
3
+ import type { BaseState, ParamsWithDefaults } from "../useVirtualizer.mjs";
4
4
  export type DimensionsParams = {
5
5
  rowHeight: number;
6
6
  columnsTotalWidth?: number;
@@ -10,7 +10,7 @@ import { throttle } from '@mui/x-internals/throttle';
10
10
  import { isDeepEqual } from '@mui/x-internals/isDeepEqual';
11
11
  import { roundToDecimalPlaces } from '@mui/x-internals/math';
12
12
  import { useStore, createSelectorMemoized } from '@mui/x-internals/store';
13
- import { Size } from "../models/index.js";
13
+ import { Size } from "../models/index.mjs";
14
14
 
15
15
  /* eslint-disable import/export, @typescript-eslint/no-redeclare */
16
16
  /* eslint-disable no-underscore-dangle */
@@ -0,0 +1,5 @@
1
+ export * from "./colspan.mjs";
2
+ export * from "./dimensions.mjs";
3
+ export * from "./keyboard.mjs";
4
+ export * from "./rowspan.mjs";
5
+ export * from "./virtualization/index.mjs";
@@ -0,0 +1,5 @@
1
+ export * from "./colspan.mjs";
2
+ export * from "./dimensions.mjs";
3
+ export * from "./keyboard.mjs";
4
+ export * from "./rowspan.mjs";
5
+ export * from "./virtualization/index.mjs";
@@ -1,5 +1,5 @@
1
1
  import { Store } from '@mui/x-internals/store';
2
- import type { BaseState, ParamsWithDefaults } from "../useVirtualizer.js";
2
+ import type { BaseState, ParamsWithDefaults } from "../useVirtualizer.mjs";
3
3
  export declare const Keyboard: {
4
4
  initialize: typeof initializeState;
5
5
  use: typeof useKeyboard;
@@ -1,5 +1,5 @@
1
- import { Dimensions } from "./dimensions.js";
2
- import { Virtualization } from "./virtualization/index.js";
1
+ import { Dimensions } from "./dimensions.mjs";
2
+ import { Virtualization } from "./virtualization/index.mjs";
3
3
 
4
4
  /* eslint-disable import/export, @typescript-eslint/no-redeclare */
5
5
 
@@ -1,7 +1,7 @@
1
1
  import { Store } from '@mui/x-internals/store';
2
- import type { BaseState, ParamsWithDefaults } from "../useVirtualizer.js";
3
- import type { RowSpanningState } from "../models/rowspan.js";
4
- import { Virtualization } from "./virtualization/index.js";
2
+ import type { BaseState, ParamsWithDefaults } from "../useVirtualizer.mjs";
3
+ import type { RowSpanningState } from "../models/rowspan.mjs";
4
+ import { Virtualization } from "./virtualization/index.mjs";
5
5
  export declare const Rowspan: {
6
6
  initialize: typeof initializeState;
7
7
  use: typeof useRowspan;
@@ -0,0 +1,2 @@
1
+ export * from "./layout.mjs";
2
+ export * from "./virtualization.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./layout.mjs";
2
+ export * from "./virtualization.mjs";
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import { Store } from '@mui/x-internals/store';
3
- import { Dimensions } from "../dimensions.js";
4
- import { Virtualization, type VirtualizationLayoutParams } from "./virtualization.js";
5
- import type { BaseState, ParamsWithDefaults } from "../../useVirtualizer.js";
3
+ import { Dimensions } from "../dimensions.mjs";
4
+ import { Virtualization, type VirtualizationLayoutParams } from "./virtualization.mjs";
5
+ import type { BaseState, ParamsWithDefaults } from "../../useVirtualizer.mjs";
6
6
  type RequiredAPI = Dimensions.API;
7
7
  type BaseElements = {
8
8
  scroller: React.RefObject<HTMLElement | null>;
@@ -48,18 +48,18 @@ export declare class LayoutDataGrid extends Layout<DataGridElements> {
48
48
  scrollbarHorizontalProps: (args_0: Virtualization.State<Layout<AnyElements>> & Dimensions.State) => {
49
49
  ref: any;
50
50
  scrollPosition: {
51
- current: import("../../models/index.js").ScrollPosition;
51
+ current: import("../../models/index.mjs").ScrollPosition;
52
52
  };
53
53
  };
54
54
  scrollbarVerticalProps: (args_0: Virtualization.State<Layout<AnyElements>> & Dimensions.State) => {
55
55
  ref: any;
56
56
  scrollPosition: {
57
- current: import("../../models/index.js").ScrollPosition;
57
+ current: import("../../models/index.mjs").ScrollPosition;
58
58
  };
59
59
  };
60
60
  scrollAreaProps: (args_0: Virtualization.State<Layout<AnyElements>> & Dimensions.State) => {
61
61
  scrollPosition: {
62
- current: import("../../models/index.js").ScrollPosition;
62
+ current: import("../../models/index.mjs").ScrollPosition;
63
63
  };
64
64
  };
65
65
  };
@@ -90,18 +90,18 @@ export declare class LayoutDataGridLegacy extends LayoutDataGrid {
90
90
  getScrollbarVerticalProps: () => {
91
91
  ref: any;
92
92
  scrollPosition: {
93
- current: import("../../models/index.js").ScrollPosition;
93
+ current: import("../../models/index.mjs").ScrollPosition;
94
94
  };
95
95
  };
96
96
  getScrollbarHorizontalProps: () => {
97
97
  ref: any;
98
98
  scrollPosition: {
99
- current: import("../../models/index.js").ScrollPosition;
99
+ current: import("../../models/index.mjs").ScrollPosition;
100
100
  };
101
101
  };
102
102
  getScrollAreaProps: () => {
103
103
  scrollPosition: {
104
- current: import("../../models/index.js").ScrollPosition;
104
+ current: import("../../models/index.mjs").ScrollPosition;
105
105
  };
106
106
  };
107
107
  };
@@ -5,9 +5,9 @@ import useForkRef from '@mui/utils/useForkRef';
5
5
  import useEventCallback from '@mui/utils/useEventCallback';
6
6
  import * as platform from '@mui/x-internals/platform';
7
7
  import { createSelectorMemoized } from '@mui/x-internals/store';
8
- import { Dimensions } from "../dimensions.js";
9
- import { Virtualization } from "./virtualization.js";
10
- import useRefCallback from "../../utils/useRefCallback.js";
8
+ import { Dimensions } from "../dimensions.mjs";
9
+ import { Virtualization } from "./virtualization.mjs";
10
+ import useRefCallback from "../../utils/useRefCallback.mjs";
11
11
 
12
12
  /* eslint-disable react-hooks/rules-of-hooks */
13
13
 
@@ -1,11 +1,11 @@
1
1
  import * as React from 'react';
2
2
  import type { integer } from '@mui/x-internals/types';
3
3
  import { Store } from '@mui/x-internals/store';
4
- import type { CellColSpanInfo } from "../../models/colspan.js";
5
- import { Dimensions } from "../dimensions.js";
6
- import type { BaseState, ParamsWithDefaults } from "../../useVirtualizer.js";
7
- import type { Layout } from "./layout.js";
8
- import { RenderContext, ColumnsRenderContext, ColumnWithWidth, RowId, ScrollPosition } from "../../models/index.js";
4
+ import type { CellColSpanInfo } from "../../models/colspan.mjs";
5
+ import { Dimensions } from "../dimensions.mjs";
6
+ import type { BaseState, ParamsWithDefaults } from "../../useVirtualizer.mjs";
7
+ import type { Layout } from "./layout.mjs";
8
+ import { RenderContext, ColumnsRenderContext, ColumnWithWidth, RowId, ScrollPosition } from "../../models/index.mjs";
9
9
  export type VirtualizationParams = {
10
10
  /** @default false */
11
11
  isRtl?: boolean;
@@ -10,6 +10,7 @@ exports.Virtualization = exports.EMPTY_RENDER_CONTEXT = void 0;
10
10
  exports.areRenderContextsEqual = areRenderContextsEqual;
11
11
  exports.computeOffsetLeft = computeOffsetLeft;
12
12
  exports.roundToDecimalPlaces = roundToDecimalPlaces;
13
+ var _formatErrorMessage2 = _interopRequireDefault(require("@mui/x-internals/formatErrorMessage"));
13
14
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
14
15
  var React = _interopRequireWildcard(require("react"));
15
16
  var ReactDOM = _interopRequireWildcard(require("react-dom"));
@@ -788,7 +789,7 @@ function bufferForDirection(isRtl, direction, rowBufferPx, columnBufferPx, verti
788
789
  };
789
790
  default:
790
791
  // eslint unable to figure out enum exhaustiveness
791
- throw new Error('unreachable');
792
+ throw /* minify-error-disabled */new Error('unreachable');
792
793
  }
793
794
  }
794
795
  function createScrollCache(isRtl, rowBufferPx, columnBufferPx, verticalBuffer, horizontalBuffer) {
@@ -834,13 +835,13 @@ function getFirstNonSpannedColumnToRender({
834
835
  /** Placeholder API functions for colspan & rowspan to re-implement */
835
836
  function createSpanningAPI() {
836
837
  const getCellColSpanInfo = () => {
837
- throw new Error('Unimplemented: colspan feature is required');
838
+ throw new Error(process.env.NODE_ENV !== "production" ? 'MUI X: Unimplemented: colspan feature is required' : (0, _formatErrorMessage2.default)(200));
838
839
  };
839
840
  const calculateColSpan = () => {
840
- throw new Error('Unimplemented: colspan feature is required');
841
+ throw new Error(process.env.NODE_ENV !== "production" ? 'MUI X: Unimplemented: colspan feature is required' : (0, _formatErrorMessage2.default)(200));
841
842
  };
842
843
  const getHiddenCellsOrigin = () => {
843
- throw new Error('Unimplemented: rowspan feature is required');
844
+ throw new Error(process.env.NODE_ENV !== "production" ? 'MUI X: Unimplemented: rowspan feature is required' : (0, _formatErrorMessage2.default)(201));
844
845
  };
845
846
  return {
846
847
  getCellColSpanInfo,
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import _formatErrorMessage from "@mui/x-internals/formatErrorMessage";
3
4
  import _extends from "@babel/runtime/helpers/esm/extends";
4
5
  import * as React from 'react';
5
6
  import * as ReactDOM from 'react-dom';
@@ -10,10 +11,10 @@ import useEnhancedEffect from '@mui/utils/useEnhancedEffect';
10
11
  import * as platform from '@mui/x-internals/platform';
11
12
  import { useRunOnce } from '@mui/x-internals/useRunOnce';
12
13
  import { createSelector, useStore, useStoreEffect } from '@mui/x-internals/store';
13
- import useRefCallback from "../../utils/useRefCallback.js";
14
- import { PinnedRows, PinnedColumns } from "../../models/core.js";
15
- import { Dimensions, observeRootNode } from "../dimensions.js";
16
- import { ScrollPosition, ScrollDirection } from "../../models/index.js";
14
+ import useRefCallback from "../../utils/useRefCallback.mjs";
15
+ import { PinnedRows, PinnedColumns } from "../../models/core.mjs";
16
+ import { Dimensions, observeRootNode } from "../dimensions.mjs";
17
+ import { ScrollPosition, ScrollDirection } from "../../models/index.mjs";
17
18
 
18
19
  /* eslint-disable import/export, @typescript-eslint/no-redeclare */
19
20
 
@@ -779,7 +780,7 @@ function bufferForDirection(isRtl, direction, rowBufferPx, columnBufferPx, verti
779
780
  };
780
781
  default:
781
782
  // eslint unable to figure out enum exhaustiveness
782
- throw new Error('unreachable');
783
+ throw /* minify-error-disabled */new Error('unreachable');
783
784
  }
784
785
  }
785
786
  function createScrollCache(isRtl, rowBufferPx, columnBufferPx, verticalBuffer, horizontalBuffer) {
@@ -825,13 +826,13 @@ function getFirstNonSpannedColumnToRender({
825
826
  /** Placeholder API functions for colspan & rowspan to re-implement */
826
827
  function createSpanningAPI() {
827
828
  const getCellColSpanInfo = () => {
828
- throw new Error('Unimplemented: colspan feature is required');
829
+ throw new Error(process.env.NODE_ENV !== "production" ? 'MUI X: Unimplemented: colspan feature is required' : _formatErrorMessage(200));
829
830
  };
830
831
  const calculateColSpan = () => {
831
- throw new Error('Unimplemented: colspan feature is required');
832
+ throw new Error(process.env.NODE_ENV !== "production" ? 'MUI X: Unimplemented: colspan feature is required' : _formatErrorMessage(200));
832
833
  };
833
834
  const getHiddenCellsOrigin = () => {
834
- throw new Error('Unimplemented: rowspan feature is required');
835
+ throw new Error(process.env.NODE_ENV !== "production" ? 'MUI X: Unimplemented: rowspan feature is required' : _formatErrorMessage(201));
835
836
  };
836
837
  return {
837
838
  getCellColSpanInfo,
package/index.d.mts ADDED
@@ -0,0 +1,3 @@
1
+ export * from "./useVirtualizer.mjs";
2
+ export * from "./features/index.mjs";
3
+ export * from "./constants.mjs";
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-virtualizer v1.0.0-alpha.0
2
+ * @mui/x-virtualizer v1.0.0-beta.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @mui/x-virtualizer v1.0.0-alpha.0
2
+ * @mui/x-virtualizer v1.0.0-beta.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  */
8
- export * from "./useVirtualizer.js";
9
- export * from "./features/index.js";
10
- export * from "./constants.js";
8
+ export * from "./useVirtualizer.mjs";
9
+ export * from "./features/index.mjs";
10
+ export * from "./constants.mjs";
@@ -1,4 +1,4 @@
1
- import { Size } from "./core.js";
1
+ import { Size } from "./core.mjs";
2
2
  export interface DimensionsState {
3
3
  /**
4
4
  * Indicates that the dimensions have been initialized.
@@ -0,0 +1,4 @@
1
+ export * from "./core.mjs";
2
+ export * from "./colspan.mjs";
3
+ export * from "./dimensions.mjs";
4
+ export * from "./rowspan.mjs";
@@ -0,0 +1,4 @@
1
+ export * from "./core.mjs";
2
+ export * from "./colspan.mjs";
3
+ export * from "./dimensions.mjs";
4
+ export * from "./rowspan.mjs";
@@ -1,4 +1,4 @@
1
- import { RowId, RowRange } from "./core.js";
1
+ import { RowId, RowRange } from "./core.mjs";
2
2
  type ColumnIndex = number;
3
3
  export interface RowSpanningCaches {
4
4
  spannedCells: Record<RowId, Record<ColumnIndex, number>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-virtualizer",
3
- "version": "1.0.0-alpha.0",
3
+ "version": "1.0.0-beta.0",
4
4
  "author": "MUI Team",
5
5
  "description": "MUI virtualization library",
6
6
  "license": "MIT",
@@ -29,7 +29,7 @@
29
29
  "dependencies": {
30
30
  "@babel/runtime": "^7.28.6",
31
31
  "@mui/utils": "^7.3.7",
32
- "@mui/x-internals": "9.0.0-alpha.0"
32
+ "@mui/x-internals": "9.0.0-alpha.4"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
@@ -39,40 +39,65 @@
39
39
  "node": ">=14.0.0"
40
40
  },
41
41
  "type": "commonjs",
42
- "main": "./index.js",
43
- "types": "./index.d.ts",
44
42
  "exports": {
45
43
  "./package.json": "./package.json",
46
44
  ".": {
45
+ "import": {
46
+ "types": "./index.d.mts",
47
+ "default": "./index.mjs"
48
+ },
47
49
  "require": {
48
50
  "types": "./index.d.ts",
49
51
  "default": "./index.js"
50
52
  },
51
53
  "default": {
52
- "types": "./esm/index.d.ts",
53
- "default": "./esm/index.js"
54
+ "types": "./index.d.mts",
55
+ "default": "./index.mjs"
54
56
  }
55
57
  },
56
58
  "./useVirtualizer": {
59
+ "import": {
60
+ "types": "./useVirtualizer.d.mts",
61
+ "default": "./useVirtualizer.mjs"
62
+ },
57
63
  "require": {
58
64
  "types": "./useVirtualizer.d.ts",
59
65
  "default": "./useVirtualizer.js"
60
66
  },
61
67
  "default": {
62
- "types": "./esm/useVirtualizer.d.ts",
63
- "default": "./esm/useVirtualizer.js"
68
+ "types": "./useVirtualizer.d.mts",
69
+ "default": "./useVirtualizer.mjs"
64
70
  }
65
71
  },
66
- "./*": {
72
+ "./features": {
73
+ "import": {
74
+ "types": "./features/index.d.mts",
75
+ "default": "./features/index.mjs"
76
+ },
67
77
  "require": {
68
- "types": "./*/index.d.ts",
69
- "default": "./*/index.js"
78
+ "types": "./features/index.d.ts",
79
+ "default": "./features/index.js"
70
80
  },
71
81
  "default": {
72
- "types": "./esm/*/index.d.ts",
73
- "default": "./esm/*/index.js"
82
+ "types": "./features/index.d.mts",
83
+ "default": "./features/index.mjs"
74
84
  }
75
85
  },
76
- "./esm": null
77
- }
86
+ "./models": {
87
+ "import": {
88
+ "types": "./models/index.d.mts",
89
+ "default": "./models/index.mjs"
90
+ },
91
+ "require": {
92
+ "types": "./models/index.d.ts",
93
+ "default": "./models/index.js"
94
+ },
95
+ "default": {
96
+ "types": "./models/index.d.mts",
97
+ "default": "./models/index.mjs"
98
+ }
99
+ }
100
+ },
101
+ "main": "./index.js",
102
+ "types": "./index.d.ts"
78
103
  }
@@ -1,16 +1,16 @@
1
1
  import * as React from 'react';
2
2
  import { integer } from '@mui/x-internals/types';
3
3
  import { Store } from '@mui/x-internals/store';
4
- import { Colspan } from "./features/colspan.js";
5
- import { Dimensions } from "./features/dimensions.js";
6
- import { Rowspan } from "./features/rowspan.js";
7
- import { Virtualization } from "./features/virtualization/index.js";
8
- import type { Layout } from "./features/virtualization/layout.js";
9
- import type { HeightEntry, RowSpacing } from "./models/dimensions.js";
10
- import type { ColspanParams } from "./features/colspan.js";
11
- import type { DimensionsParams } from "./features/dimensions.js";
12
- import type { VirtualizationParams } from "./features/virtualization/index.js";
13
- import { ColumnWithWidth, FocusedCell, Size, PinnedRows, PinnedColumns, RenderContext, Row, RowEntry } from "./models/index.js";
4
+ import { Colspan } from "./features/colspan.mjs";
5
+ import { Dimensions } from "./features/dimensions.mjs";
6
+ import { Rowspan } from "./features/rowspan.mjs";
7
+ import { Virtualization } from "./features/virtualization/index.mjs";
8
+ import type { Layout } from "./features/virtualization/layout.mjs";
9
+ import type { HeightEntry, RowSpacing } from "./models/dimensions.mjs";
10
+ import type { ColspanParams } from "./features/colspan.mjs";
11
+ import type { DimensionsParams } from "./features/dimensions.mjs";
12
+ import type { VirtualizationParams } from "./features/virtualization/index.mjs";
13
+ import { ColumnWithWidth, FocusedCell, Size, PinnedRows, PinnedColumns, RenderContext, Row, RowEntry } from "./models/index.mjs";
14
14
  export type Virtualizer = ReturnType<typeof useVirtualizer>;
15
15
  export type VirtualScrollerCompat<L extends Layout = Layout> = Virtualization.State<L>['getters'];
16
16
  export type BaseState<L extends Layout = Layout> = Virtualization.State<L> & Dimensions.State;
@@ -101,28 +101,28 @@ export declare const useVirtualizer: <L extends Layout = Layout>(params: Virtual
101
101
  updateDimensions: (firstUpdate?: boolean) => void;
102
102
  debouncedUpdateDimensions: (((firstUpdate?: boolean) => void) & import("@mui/x-internals/throttle").Cancelable) | undefined;
103
103
  rowsMeta: {
104
- getRowHeight: (rowId: import("./models/index.js").RowId) => any;
104
+ getRowHeight: (rowId: import("./models/index.mjs").RowId) => any;
105
105
  setLastMeasuredRowIndex: (index: number) => void;
106
- storeRowHeightMeasurement: (id: import("./models/index.js").RowId, height: number) => void;
106
+ storeRowHeightMeasurement: (id: import("./models/index.mjs").RowId, height: number) => void;
107
107
  hydrateRowsMeta: () => void;
108
- observeRowHeight: (element: Element, rowId: import("./models/index.js").RowId) => () => void | undefined;
109
- rowHasAutoHeight: (id: import("./models/index.js").RowId) => any;
110
- getRowHeightEntry: (rowId: import("./models/index.js").RowId) => any;
108
+ observeRowHeight: (element: Element, rowId: import("./models/index.mjs").RowId) => () => void | undefined;
109
+ rowHasAutoHeight: (id: import("./models/index.mjs").RowId) => any;
110
+ getRowHeightEntry: (rowId: import("./models/index.mjs").RowId) => any;
111
111
  getLastMeasuredRowIndex: () => number;
112
112
  resetRowHeights: () => void;
113
113
  };
114
114
  } & {
115
- getCellColSpanInfo: (rowId: import("./models/index.js").RowId, columnIndex: integer) => import("./models/index.js").CellColSpanInfo;
116
- calculateColSpan: (rowId: import("./models/index.js").RowId, minFirstColumn: integer, maxLastColumn: integer, columns: ColumnWithWidth[]) => void;
117
- getHiddenCellsOrigin: () => Record<import("./models/index.js").RowId, Record<number, number>>;
115
+ getCellColSpanInfo: (rowId: import("./models/index.mjs").RowId, columnIndex: integer) => import("./models/index.mjs").CellColSpanInfo;
116
+ calculateColSpan: (rowId: import("./models/index.mjs").RowId, minFirstColumn: integer, maxLastColumn: integer, columns: ColumnWithWidth[]) => void;
117
+ getHiddenCellsOrigin: () => Record<import("./models/index.mjs").RowId, Record<number, number>>;
118
118
  getters: any;
119
119
  setPanels: React.Dispatch<React.SetStateAction<Readonly<Map<any, React.ReactNode>>>>;
120
120
  forceUpdateRenderContext: () => void;
121
121
  scheduleUpdateRenderContext: () => void;
122
122
  } & {
123
123
  resetColSpan: () => void;
124
- getCellColSpanInfo: (rowId: import("./models/index.js").RowId, columnIndex: integer) => import("./models/index.js").CellColSpanInfo | undefined;
125
- calculateColSpan: (rowId: import("./models/index.js").RowId, minFirstColumn: integer, maxLastColumn: integer, columns: ColumnWithWidth[]) => void;
124
+ getCellColSpanInfo: (rowId: import("./models/index.mjs").RowId, columnIndex: integer) => import("./models/index.mjs").CellColSpanInfo | undefined;
125
+ calculateColSpan: (rowId: import("./models/index.mjs").RowId, minFirstColumn: integer, maxLastColumn: integer, columns: ColumnWithWidth[]) => void;
126
126
  } & {
127
127
  getHiddenCellsOrigin: () => Record<number, Record<number, number>>;
128
128
  } & {
@@ -1,12 +1,12 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import useLazyRef from '@mui/utils/useLazyRef';
3
3
  import { Store } from '@mui/x-internals/store';
4
- import { Colspan } from "./features/colspan.js";
5
- import { Dimensions } from "./features/dimensions.js";
6
- import { Keyboard } from "./features/keyboard.js";
7
- import { Rowspan } from "./features/rowspan.js";
8
- import { Virtualization } from "./features/virtualization/index.js";
9
- import { DEFAULT_PARAMS } from "./constants.js";
4
+ import { Colspan } from "./features/colspan.mjs";
5
+ import { Dimensions } from "./features/dimensions.mjs";
6
+ import { Keyboard } from "./features/keyboard.mjs";
7
+ import { Rowspan } from "./features/rowspan.mjs";
8
+ import { Virtualization } from "./features/virtualization/index.mjs";
9
+ import { DEFAULT_PARAMS } from "./constants.mjs";
10
10
 
11
11
  /* eslint-disable jsdoc/require-param-type */
12
12
  /* eslint-disable jsdoc/require-param-description */
@@ -1,5 +0,0 @@
1
- export * from "./colspan.js";
2
- export * from "./dimensions.js";
3
- export * from "./keyboard.js";
4
- export * from "./rowspan.js";
5
- export * from "./virtualization/index.js";
@@ -1,5 +0,0 @@
1
- export * from "./colspan.js";
2
- export * from "./dimensions.js";
3
- export * from "./keyboard.js";
4
- export * from "./rowspan.js";
5
- export * from "./virtualization/index.js";
@@ -1,2 +0,0 @@
1
- export * from "./layout.js";
2
- export * from "./virtualization.js";
@@ -1,2 +0,0 @@
1
- export * from "./layout.js";
2
- export * from "./virtualization.js";
package/esm/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export * from "./useVirtualizer.js";
2
- export * from "./features/index.js";
3
- export * from "./constants.js";
@@ -1,4 +0,0 @@
1
- export * from "./core.js";
2
- export * from "./colspan.js";
3
- export * from "./dimensions.js";
4
- export * from "./rowspan.js";
@@ -1,4 +0,0 @@
1
- export * from "./core.js";
2
- export * from "./colspan.js";
3
- export * from "./dimensions.js";
4
- export * from "./rowspan.js";
package/esm/package.json DELETED
@@ -1 +0,0 @@
1
- {"type":"module","sideEffects":false}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes