@mui/x-tree-view-pro 9.4.0 → 9.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,366 @@
1
1
  # Changelog
2
2
 
3
+ ## 9.7.0
4
+
5
+ _Jun 25, 2026_
6
+
7
+ We'd like to extend a big thank you to the 13 contributors who made this release possible. Here are some highlights ✨:
8
+
9
+ - 🐞 Bugfixes
10
+ - 📚 Documentation improvements
11
+
12
+ Special thanks go out to these community members for their valuable contributions:
13
+ @Anexus5919, @mustafajw07
14
+
15
+ The following team members contributed to this release:
16
+ @alexfauquette, @arminmeh, @brijeshb42, @Janpot, @JCQuintas, @LukasTy, @MBilalShafi, @michelengelen, @romgrk, @sai6855, @siriwatknp
17
+
18
+ ### Data Grid
19
+
20
+ #### `@mui/x-data-grid@9.7.0`
21
+
22
+ - [DataGrid] Fix `CustomColumnMenuGrid` demo crashing (#22897) @sai6855
23
+ - [DataGrid] Fix crash in `getRowValue` when `colDef` is `undefined` (#22838) @LukasTy
24
+ - [DataGrid] Fix `longText` expand button submitting surrounding form (#22450) @siriwatknp
25
+ - [DataGrid] Remove filename ignore list from `removePropTypesPlugin` in Babel config (#22727) @sai6855
26
+ - [DataGrid] Deduplicate scroll-preserving focus logic (#22916) @sai6855
27
+ - [DataGrid] Fix `singleSelect` clearing to use empty string instead of `null` (#22881) @michelengelen
28
+ - [DataGrid] Wait for rows before reacting on `autosizeOnMount` (#22698) @MBilalShafi
29
+
30
+ #### `@mui/x-data-grid-pro@9.7.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
31
+
32
+ Same changes as in `@mui/x-data-grid@9.7.0`.
33
+
34
+ #### `@mui/x-data-grid-premium@9.7.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
35
+
36
+ Same changes as in `@mui/x-data-grid-pro@9.7.0`.
37
+
38
+ ### Date and Time Pickers
39
+
40
+ #### `@mui/x-date-pickers@9.7.0`
41
+
42
+ - [fields] Announce cardinal day in the day section `aria-valuetext` (#22922) @LukasTy
43
+ - [fields] Avoid focusing the field on blank space clicks (#22285) @LukasTy
44
+ - [pickers] Commit `TimeClock` value when the drag ends outside the clock (#22877) @LukasTy
45
+ - [pickers] Respect explicit `notched` prop on the outlined PickersTextField (#22875) @LukasTy
46
+
47
+ #### `@mui/x-date-pickers-pro@9.7.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
48
+
49
+ Same changes as in `@mui/x-date-pickers@9.7.0`.
50
+
51
+ ### Charts
52
+
53
+ #### `@mui/x-charts@9.7.0`
54
+
55
+ - [charts] Add demo for displaying the sum of all values from the stacked series on top of the stacked bars (#22879) @sai6855
56
+ - [charts] Add `zAxis` custom scatter component demo (#22746) @mustafajw07
57
+ - [charts] Apply axis `colorMap` to radial bar fill (#22800) @JCQuintas
58
+ - [charts] Simplify classes type (#22626) @alexfauquette
59
+ - [charts] Stable progressive scatter batching + responsive zoom/pan (#22862) @JCQuintas
60
+ - [charts] Strip dev-only console diagnostics from production (#22917) @sai6855
61
+ - [docs] Fix scatter renderer table blocking column (#22904) @JCQuintas
62
+ - [docs] Make `ScatterAsyncRenderer` button bar responsive (#22905) @JCQuintas
63
+
64
+ #### `@mui/x-charts-pro@9.7.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
65
+
66
+ Same changes as in `@mui/x-charts@9.7.0`.
67
+
68
+ #### `@mui/x-charts-premium@9.7.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
69
+
70
+ Same changes as in `@mui/x-charts-pro@9.7.0`.
71
+
72
+ ### Tree View
73
+
74
+ #### `@mui/x-tree-view@9.7.0`
75
+
76
+ Internal changes.
77
+
78
+ #### `@mui/x-tree-view-pro@9.7.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
79
+
80
+ Same changes as in `@mui/x-tree-view@9.7.0`.
81
+
82
+ ### Scheduler
83
+
84
+ #### `@mui/x-scheduler@9.0.0-beta.3`
85
+
86
+ - [scheduler] Highlight only the edited occurrence of a recurring event (#22873) @Anexus5919
87
+
88
+ #### `@mui/x-scheduler-premium@9.0.0-beta.3` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
89
+
90
+ Same changes as in `@mui/x-scheduler@9.0.0-beta.3`.
91
+
92
+ ### Codemod
93
+
94
+ #### `@mui/x-codemod@9.7.0`
95
+
96
+ Internal changes.
97
+
98
+ ### Core
99
+
100
+ - [code-infra] Fix react@^18 CI failing on nanoid trust-downgrade (#22923) @LukasTy
101
+ - [code-infra] Reduce Netlify build parallelism to 2 (#22925) @LukasTy
102
+ - [code-infra] Use Turbopack for docs in dev (#22882) @brijeshb42
103
+ - [docs-infra] Pre-render API page descriptions (#22919) @brijeshb42
104
+ - [internal] Use `@base-ui/utils/platform` for platform detection (#22710) @romgrk
105
+ - [internal] Enforce top-level type imports (#22679) @Janpot
106
+
107
+ ### Miscellaneous
108
+
109
+ - [internal] Enable mui/no-floating-cleanup and fix leaks (#22872) @romgrk
110
+ - [infra] Update `.gitignore` to exclude `.claude` sub-directories (#22435) @michelengelen
111
+ - [virtualizer] Improve the dimensions' initial state (#22885) @arminmeh
112
+
113
+ ## 9.6.0
114
+
115
+ _Jun 18, 2026_
116
+
117
+ We'd like to extend a big thank you to the 17 contributors who made this release possible. Here are some highlights ✨:
118
+
119
+ - 📊 New features for the radial bar charts, like percentage min radius and disabling tick labels.
120
+
121
+ Special thanks go out to these community members for their valuable contributions:
122
+ @adamowski10, @Anexus5919, @Morteza-hp, @mustafajw07, @TargiX
123
+
124
+ The following team members contributed to this release:
125
+ @alexfauquette, @arminmeh, @brijeshb42, @cherniavskii, @hasdfa, @Janpot, @JCQuintas, @michelengelen, @noraleonte, @oliviertassinari, @rita-codes, @sai6855
126
+
127
+ ### Data Grid
128
+
129
+ #### `@mui/x-data-grid@9.6.0`
130
+
131
+ - [DataGrid] Define `overflowAnchor` style at the right element (#22849) @arminmeh
132
+ - [DataGrid] Fix scrollbars not showing up on scroll on iOS (#22832) @cherniavskii
133
+
134
+ #### `@mui/x-data-grid-pro@9.6.0` [![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@9.6.0`, plus:
137
+
138
+ - [DataGridPro] Prevent incorrect row range capping on the first page with known `rowCount` (#22808) @michelengelen
139
+
140
+ #### `@mui/x-data-grid-premium@9.6.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
141
+
142
+ Same changes as in `@mui/x-data-grid-pro@9.6.0`.
143
+
144
+ ### Date and Time Pickers
145
+
146
+ #### `@mui/x-date-pickers@9.6.0`
147
+
148
+ - [pickers] Fix `AdapterMomentHijri.getDaysInMonth` returning the Gregorian month length (#22774) @Anexus5919
149
+ - [l10n] Improve Persian (fa-IR) locale (#22454) @Morteza-hp
150
+
151
+ #### `@mui/x-date-pickers-pro@9.6.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
152
+
153
+ Same changes as in `@mui/x-date-pickers@9.6.0`.
154
+
155
+ ### Charts
156
+
157
+ #### `@mui/x-charts@9.6.0`
158
+
159
+ - [charts] Add `disableTickLabel` prop to radial axes (#22801) @JCQuintas
160
+ - [charts] Fix bug when `min` is in axis domain (#22827) @alexfauquette
161
+ - [charts] Fix wheel zoom not centering on cursor position (#22811) @JCQuintas
162
+ - [charts] Remove zoom gesture registration from community package (#22753) @sai6855
163
+ - [charts] Support percentage values for radial axis `minRadius`/`maxRadius` (#22803) @JCQuintas
164
+ - [charts] Support `unknownColor` in color scale (#22813) @alexfauquette
165
+ - [charts] Document click listener for scatter composition (#22809) @sai6855
166
+
167
+ #### `@mui/x-charts-pro@9.6.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
168
+
169
+ Same changes as in `@mui/x-charts@9.6.0`.
170
+
171
+ #### `@mui/x-charts-premium@9.6.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
172
+
173
+ Same changes as in `@mui/x-charts-pro@9.6.0`, plus:
174
+
175
+ - [charts-premium] Add `geoFeatureKey` to transform features identifier (#22848) @alexfauquette
176
+ - [charts-premium] Allow to remove Antartica (#22815) @alexfauquette
177
+ - [charts-premium] Regenerate `ScatterPlotPremium` `propTypes` (#22829) @rita-codes
178
+ - [charts-premium] Support maps tooltip positioned on items (#22648) @alexfauquette
179
+ - [docs] Show how to export maps (#22837) @alexfauquette
180
+
181
+
182
+ ### Tree View
183
+
184
+ #### `@mui/x-tree-view@9.6.0`
185
+
186
+ Internal changes.
187
+
188
+ #### `@mui/x-tree-view-pro@9.6.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
189
+
190
+ Same changes as in `@mui/x-tree-view@9.6.0`.
191
+
192
+ ### Scheduler
193
+
194
+ #### `@mui/x-scheduler@9.0.0-beta.2`
195
+
196
+ - [scheduler] Add dispose lifecycle to `SchedulerLazyLoadingPlugin` (#22532) @rita-codes
197
+ - [scheduler] Add responsive mobile week view and responsive typography (#22593) @noraleonte
198
+ - [scheduler] Add stable weekday token to `recurrenceWeeklyPresetLabel` (#22733) @mustafajw07
199
+ - [scheduler] Create accessibility documentation section (#22557) @mustafajw07
200
+ - [scheduler] Decouple `MonthViewProps` from day time grid props (#22802) @mustafajw07
201
+ - [scheduler] Export missing public scheduler types (#22785) @mustafajw07
202
+ - [scheduler] Fix JSDoc defaults and improve public type readability (#22784) @mustafajw07
203
+ - [scheduler] Fix `aria-labelledby` on events referencing non-existent header IDs (#22778) @rita-codes
204
+ - [scheduler] Move `EventCalendarStyledContext` to internals (#22787) @mustafajw07
205
+ - [scheduler] Normalize all-day recurring occurrences to whole days (#22792) @Anexus5919
206
+ - [scheduler] Recalculate `DayTimeGrid` `hasScroll` on container resize (#22780) @Anexus5919
207
+ - [scheduler] Recompute `nowUpdatedEveryMinute` only on timezone change (#22793) @Anexus5919
208
+ - [scheduler] Register auto-scroll once instead of on every render (#22794) @Anexus5919
209
+ - [scheduler] Remove duplicate dividers in the day/time grid (#22795) @Anexus5919
210
+ - [scheduler] Remove unused `--has-scroll` CSS variable from `DayTimeGrid` (#22799) @Anexus5919
211
+ - [scheduler] Remove vestigial async from internal drop handler (#22781) @mustafajw07
212
+ - [scheduler] Return a primitive key from the Calendar lazy-loading selector (#22791) @Anexus5919
213
+ - [scheduler] Throw on invalid event dates instead of emitting `NaN` timestamps (#22740) @rita-codes
214
+ - [scheduler] Tighten `StandaloneEventProps` data typing (#22796) @mustafajw07
215
+ - [scheduler] Update feedback banner to say beta instead of alpha (#22804) @rita-codes
216
+ - [scheduler] Use `@base-ui` `generateId` for event ids in `createEventModel` (#22788) @rita-codes
217
+ - [scheduler] Clear clipboard after pasting a cut event (#22773) @Anexus5919
218
+ - [scheduler] Show drag placeholder when re-entering the same position (#22775) @Anexus5919
219
+ - [scheduler] Validate missing and duplicate event ids (#22790) @Anexus5919
220
+ - [l10n] Improve Polish (pl-PL) locale (#22612) @adamowski10
221
+
222
+ #### `@mui/x-scheduler-premium@9.0.0-beta.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
223
+
224
+ Same changes as in `@mui/x-scheduler@9.0.0-beta.2`, plus:
225
+
226
+ - [scheduler-premium] Expose premium model types through public API (#22798) @mustafajw07
227
+ - [scheduler-premium] Remove non-functional `onPreferencesChange` prop from `EventTimelinePremium` (#22777) @rita-codes
228
+ - [scheduler-premium] Validate the `FREQ` value in `parseRRule`] (#22786) @rita-codes
229
+
230
+ ### Codemod
231
+
232
+ #### `@mui/x-codemod@9.6.0`
233
+
234
+ Internal changes.
235
+
236
+ ### Docs
237
+
238
+ - [docs] Fix link-check build timeout by disabling serve directory listing (#22836) @Janpot
239
+ - [docs] Show how to export maps (#22837) @alexfauquette
240
+ - [docs] Add radial bar overview demo with custom overlays (#22776) @JCQuintas
241
+ - [docs] Add weather composition demo (#22723) @TargiX
242
+ - [docs] Add docs overview gallery and playground (#22488) @hasdfa
243
+ - [docs] Clarify 'Scrolling without render gaps' (#22629) @oliviertassinari
244
+ - [docs] Fix typo in release instructions (#22864) @brijeshb42
245
+
246
+ ### Core
247
+
248
+ - [code-infra] Fix lint issues (#22757) @brijeshb42
249
+ - [code-infra] Fix remaining Dependabot security alerts (#22761) @Janpot
250
+ - [code-infra] Remove release:build from docs:build script (#22852) @brijeshb42
251
+ - [code-infra] Unpin `@mui/utils` version to allow dedupe (#22828) @mustafajw07
252
+ - [docs-infra] Cap Netlify Next.js build parallelism to avoid OOM (#22847) @Janpot
253
+ - [docs-infra] Remove i18n codebase (#22591) @brijeshb42
254
+ - [internal] Fix failing React 18 unit tests (#22846) @brijeshb42
255
+
256
+ ### Miscellaneous
257
+
258
+ - [core] Add remove-proptypes markers to generated `propTypes` (#22850) @JCQuintas
259
+ - [core] Bump vitest packages to 4.1.8 to fix browser-test version skew (#22845) @Janpot
260
+ - [core] Reduce e2e build concurrency to avoid OOM (#22843) @Janpot
261
+ - [core] Strip proptypes from Production bundles (#22750) @sai6855
262
+ - [test] Wait for `GridToolbarCustom` rows before screenshot (#22844) @Janpot
263
+
264
+ ## 9.5.0
265
+
266
+ _Jun 11, 2026_
267
+
268
+ We'd like to extend a big thank you to the 9 contributors who made this release possible. Here are some highlights ✨:
269
+
270
+ - 🎁 New [`multiSelect` column type for Data Grid Pro](https://mui.com/x/react-data-grid/column-definition/#MultiSelectColumn)
271
+ - 🚀 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.
272
+ - 🐞 Bugfixes
273
+ - 📚 Documentation improvements
274
+
275
+ Special thanks go out to community members @mustafajw07 and @Anexus5919 for their valuable contribution.
276
+
277
+ The following team members contributed to this release:
278
+ @alexfauquette, @JCQuintas, @rita-codes, @rluzists1, @sai6855, @siriwatknp, @arminmeh, @brijeshb42
279
+
280
+ ### Data Grid
281
+
282
+ #### `@mui/x-data-grid@9.5.0`
283
+
284
+ - [DataGrid] Restrict warning messages to non-production environments in various components (#22461) @sai6855
285
+ - [DataGrid] Prevent React state update before mount (#22374) @arminmeh
286
+
287
+ #### `@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')
288
+
289
+ Same changes as in `@mui/x-data-grid@9.5.0`, plus:
290
+
291
+ - [DataGridPro] Add new `multiSelect` column type (#21157) @siriwatknp
292
+
293
+ #### `@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')
294
+
295
+ Same changes as in `@mui/x-data-grid-pro@9.5.0`.
296
+
297
+ ### Date and Time Pickers
298
+
299
+ #### `@mui/x-date-pickers@9.5.0`
300
+
301
+ - [pickers] Fix missing export of `th-TH` (#22703) @alexfauquette
302
+
303
+ #### `@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')
304
+
305
+ Same changes as in `@mui/x-date-pickers@9.5.0`.
306
+
307
+ ### Charts
308
+
309
+ #### `@mui/x-charts@9.5.0`
310
+
311
+ - [charts] Add `FocusedBar` component to `BarScatterComposition` demo (#22704) @sai6855
312
+ - [charts] Add dedicated Bubble Chart documentation page (#22688) @mustafajw07
313
+ - [charts] Add progressive scatter renderer (#22518) @JCQuintas
314
+ - [charts] Avoid full axis pipeline rebuild on resize (#22695) @JCQuintas
315
+ - [charts] Document focus indicator in composition page (#22712) @JCQuintas
316
+ - [charts] Fix `ChartsTooltip` `container` and `disablePortal` props being ignored (#22690) @JCQuintas
317
+ - [charts] Make ordinal scales O(1) to copy and re-range (#22691) @JCQuintas
318
+ - [charts] Stabilize WebGL bar rendering at sub-pixel widths (#22678) @JCQuintas
319
+ - [charts] Use the series config to define value types (#22693) @sai6855
320
+ - [charts] Decouple interaction hook from the cartesian zoom (#22708) @alexfauquette
321
+
322
+ #### `@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')
323
+
324
+ Same changes as in `@mui/x-charts@9.5.0`, plus:
325
+
326
+ - [charts-pro] Add missing focus highlight (#22689) @alexfauquette
327
+
328
+ #### `@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')
329
+
330
+ Same changes as in `@mui/x-charts-pro@9.5.0`, plus:
331
+
332
+ - [charts-premium] Set `Heatmap` WebGL render as stable (#22665) @alexfauquette
333
+ - [charts-premium] Stabilize candlestick charts (#22666) @alexfauquette
334
+ - [charts-premium] Stabilize the radial charts (#22655) @alexfauquette
335
+
336
+ ### Scheduler
337
+
338
+ #### `@mui/x-scheduler@9.0.0-beta.1`
339
+
340
+ Internal changes.
341
+
342
+ #### `@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')
343
+
344
+ Same changes as in `@mui/x-scheduler@9.0.0-beta.1`, plus:
345
+
346
+ - [scheduler] Remove dead CSS variable writes in `EventTimelinePremiumContent` (#22720) @rita-codes
347
+ - [scheduler] Show scope dialog when deleting a recurring event (#22552) @Anexus5919
348
+
349
+ ### Core
350
+
351
+ - [docs-infra] Fix immutable cache headers for `/\_next/static` assets (#22747) @brijeshb42
352
+ - [docs-infra] Prefix `/\_next/static` cache header rule with `/x` basePath (#22748) @brijeshb42
353
+ - [code-infra] Update dependencies to resolve Dependabot security alerts (#22714) @Janpot
354
+
355
+ ### Docs
356
+
357
+ - [docs] Fix broken links checker crashing on 404 known-targets fetch (#22707) @sai6855
358
+ - [docs] Fix country data (#22716) @alexfauquette
359
+
360
+ ### Miscellaneous
361
+
362
+ - [legal] Update EULA links in docs (#22717) @rluzists1
363
+
3
364
  ## 9.4.0
4
365
 
5
366
  <!-- generated comparing v9.3.0..master -->
@@ -59,8 +59,8 @@ const RichTreeViewProRoot = exports.RichTreeViewProRoot = (0, _zeroStyled.styled
59
59
  }
60
60
  });
61
61
  const packageInfo = {
62
- releaseDate: "MTc4MDUzMTIwMDAwMA==",
63
- version: "9.4.0",
62
+ releaseDate: "MTc4MjM0NTYwMDAwMA==",
63
+ version: "9.7.0",
64
64
  name: 'x-tree-view-pro'
65
65
  };
66
66
 
@@ -136,7 +136,7 @@ const RichTreeViewPro = exports.RichTreeViewPro = /*#__PURE__*/React.forwardRef(
136
136
  });
137
137
  });
138
138
  if (process.env.NODE_ENV !== "production") RichTreeViewPro.displayName = "RichTreeViewPro";
139
- process.env.NODE_ENV !== "production" ? RichTreeViewPro.propTypes = {
139
+ process.env.NODE_ENV !== "production" ? RichTreeViewPro.propTypes /* remove-proptypes */ = {
140
140
  // ----------------------------- Warning --------------------------------
141
141
  // | These PropTypes are generated from the TypeScript type definitions |
142
142
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -52,8 +52,8 @@ export const RichTreeViewProRoot = styled('ul', {
52
52
  }
53
53
  });
54
54
  const packageInfo = {
55
- releaseDate: "MTc4MDUzMTIwMDAwMA==",
56
- version: "9.4.0",
55
+ releaseDate: "MTc4MjM0NTYwMDAwMA==",
56
+ version: "9.7.0",
57
57
  name: 'x-tree-view-pro'
58
58
  };
59
59
 
@@ -129,7 +129,7 @@ const RichTreeViewPro = /*#__PURE__*/React.forwardRef(function RichTreeViewPro(i
129
129
  });
130
130
  });
131
131
  if (process.env.NODE_ENV !== "production") RichTreeViewPro.displayName = "RichTreeViewPro";
132
- process.env.NODE_ENV !== "production" ? RichTreeViewPro.propTypes = {
132
+ process.env.NODE_ENV !== "production" ? RichTreeViewPro.propTypes /* remove-proptypes */ = {
133
133
  // ----------------------------- Warning --------------------------------
134
134
  // | These PropTypes are generated from the TypeScript type definitions |
135
135
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-tree-view-pro v9.4.0
2
+ * @mui/x-tree-view-pro v9.7.0
3
3
  *
4
4
  * @license SEE LICENSE IN LICENSE
5
5
  * This source code is licensed under the SEE LICENSE IN LICENSE license found in the
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-tree-view-pro v9.4.0
2
+ * @mui/x-tree-view-pro v9.7.0
3
3
  *
4
4
  * @license SEE LICENSE IN LICENSE
5
5
  * This source code is licensed under the SEE LICENSE IN LICENSE license found in the
@@ -6,7 +6,7 @@ import { TreeViewItemsReorderingPlugin } from "../plugins/itemsReordering/index.
6
6
  export declare class RichTreeViewProStore<R extends TreeViewValidItem<R>, Multiple extends boolean | undefined> extends ExtendableRichTreeViewStore<R, Multiple, RichTreeViewProState<R, Multiple>, RichTreeViewProStoreParameters<R, Multiple>> {
7
7
  lazyLoading: TreeViewLazyLoadingPlugin<R>;
8
8
  itemsReordering: TreeViewItemsReorderingPlugin;
9
- disposeEffect: () => () => void;
9
+ mountEffect: () => void;
10
10
  constructor(parameters: RichTreeViewProStoreParameters<R, Multiple>);
11
11
  buildPublicAPI(): {
12
12
  updateItemChildren: (itemId: import("@mui/x-tree-view").TreeViewItemId | null) => Promise<void>;
@@ -6,7 +6,7 @@ import { TreeViewItemsReorderingPlugin } from "../plugins/itemsReordering/index.
6
6
  export declare class RichTreeViewProStore<R extends TreeViewValidItem<R>, Multiple extends boolean | undefined> extends ExtendableRichTreeViewStore<R, Multiple, RichTreeViewProState<R, Multiple>, RichTreeViewProStoreParameters<R, Multiple>> {
7
7
  lazyLoading: TreeViewLazyLoadingPlugin<R>;
8
8
  itemsReordering: TreeViewItemsReorderingPlugin;
9
- disposeEffect: () => () => void;
9
+ mountEffect: () => void;
10
10
  constructor(parameters: RichTreeViewProStoreParameters<R, Multiple>);
11
11
  buildPublicAPI(): {
12
12
  updateItemChildren: (itemId: import("@mui/x-tree-view").TreeViewItemId | null) => Promise<void>;
@@ -12,9 +12,8 @@ var _itemsReordering = require("../plugins/itemsReordering");
12
12
  var _RichTreeViewProStore = require("./RichTreeViewProStore.utils");
13
13
  class RichTreeViewProStore extends _internals.ExtendableRichTreeViewStore {
14
14
  itemsReordering = new _itemsReordering.TreeViewItemsReorderingPlugin(this);
15
- disposeEffect = () => {
15
+ mountEffect = () => {
16
16
  this.lazyLoading.initEffect();
17
- return this.timeoutManager.clearAll;
18
17
  };
19
18
  constructor(parameters) {
20
19
  super(parameters, 'RichTreeViewPro', _RichTreeViewProStore.parametersToStateMapper);
@@ -5,9 +5,8 @@ import { TreeViewItemsReorderingPlugin } from "../plugins/itemsReordering/index.
5
5
  import { parametersToStateMapper } from "./RichTreeViewProStore.utils.mjs";
6
6
  export class RichTreeViewProStore extends ExtendableRichTreeViewStore {
7
7
  itemsReordering = new TreeViewItemsReorderingPlugin(this);
8
- disposeEffect = () => {
8
+ mountEffect = () => {
9
9
  this.lazyLoading.initEffect();
10
- return this.timeoutManager.clearAll;
11
10
  };
12
11
  constructor(parameters) {
13
12
  super(parameters, 'RichTreeViewPro', parametersToStateMapper);
@@ -2,7 +2,6 @@ import * as React from 'react';
2
2
  import { TreeViewCancellableEventHandler } from '@mui/x-tree-view/models';
3
3
  import { TreeViewItemPlugin } from '@mui/x-tree-view/internals';
4
4
  import { TreeItemDragAndDropOverlayProps } from '@mui/x-tree-view/TreeItemDragAndDropOverlay';
5
- export declare const isAndroid: () => boolean;
6
5
  export declare const useTreeViewItemsReorderingItemPlugin: TreeViewItemPlugin;
7
6
  interface UseTreeItemRootSlotPropsFromItemsReordering {
8
7
  draggable?: true;
@@ -2,7 +2,6 @@ import * as React from 'react';
2
2
  import { TreeViewCancellableEventHandler } from '@mui/x-tree-view/models';
3
3
  import { TreeViewItemPlugin } from '@mui/x-tree-view/internals';
4
4
  import { TreeItemDragAndDropOverlayProps } from '@mui/x-tree-view/TreeItemDragAndDropOverlay';
5
- export declare const isAndroid: () => boolean;
6
5
  export declare const useTreeViewItemsReorderingItemPlugin: TreeViewItemPlugin;
7
6
  interface UseTreeItemRootSlotPropsFromItemsReordering {
8
7
  draggable?: true;
@@ -5,13 +5,12 @@ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWild
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.useTreeViewItemsReorderingItemPlugin = exports.isAndroid = void 0;
8
+ exports.useTreeViewItemsReorderingItemPlugin = void 0;
9
9
  var React = _interopRequireWildcard(require("react"));
10
+ var _platform = require("@base-ui/utils/platform");
10
11
  var _store = require("@mui/x-internals/store");
11
12
  var _internals = require("@mui/x-tree-view/internals");
12
13
  var _selectors = require("./selectors");
13
- const isAndroid = () => navigator.userAgent.toLowerCase().includes('android');
14
- exports.isAndroid = isAndroid;
15
14
  const useTreeViewItemsReorderingItemPlugin = ({
16
15
  props
17
16
  }) => {
@@ -51,7 +50,7 @@ const useTreeViewItemsReorderingItemPlugin = ({
51
50
  const {
52
51
  types
53
52
  } = event.dataTransfer;
54
- if (isAndroid() && !types.includes('text/plain') && !types.includes('text/uri-list')) {
53
+ if (_platform.platform.os.android && !types.includes('text/plain') && !types.includes('text/uri-list')) {
55
54
  event.dataTransfer.setData('text/plain', 'android-fallback');
56
55
  }
57
56
 
@@ -1,10 +1,10 @@
1
1
  'use client';
2
2
 
3
3
  import * as React from 'react';
4
+ import { platform } from '@base-ui/utils/platform';
4
5
  import { useStore } from '@mui/x-internals/store';
5
6
  import { useTreeViewContext, isTargetInDescendants } from '@mui/x-tree-view/internals';
6
7
  import { itemsReorderingSelectors } from "./selectors.mjs";
7
- export const isAndroid = () => navigator.userAgent.toLowerCase().includes('android');
8
8
  export const useTreeViewItemsReorderingItemPlugin = ({
9
9
  props
10
10
  }) => {
@@ -44,7 +44,7 @@ export const useTreeViewItemsReorderingItemPlugin = ({
44
44
  const {
45
45
  types
46
46
  } = event.dataTransfer;
47
- if (isAndroid() && !types.includes('text/plain') && !types.includes('text/uri-list')) {
47
+ if (platform.os.android && !types.includes('text/plain') && !types.includes('text/uri-list')) {
48
48
  event.dataTransfer.setData('text/plain', 'android-fallback');
49
49
  }
50
50
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-tree-view-pro",
3
- "version": "9.4.0",
3
+ "version": "9.7.0",
4
4
  "author": "MUI Team",
5
5
  "description": "The Pro plan edition of the MUI X Tree View components.",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -32,18 +32,18 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@babel/runtime": "^7.29.7",
35
- "@base-ui/utils": "^0.2.9",
36
- "@mui/utils": "9.0.1",
35
+ "@base-ui/utils": "^0.3.0",
36
+ "@mui/utils": "^9.1.1",
37
37
  "@types/react-transition-group": "^4.4.12",
38
38
  "clsx": "^2.1.1",
39
39
  "prop-types": "^15.8.1",
40
40
  "react-transition-group": "^4.4.5",
41
41
  "reselect": "^5.2.0",
42
42
  "use-sync-external-store": "^1.6.0",
43
- "@mui/x-license": "^9.4.0",
44
- "@mui/x-tree-view": "^9.4.0",
45
- "@mui/x-internals": "^9.1.0",
46
- "@mui/x-virtualizer": "9.0.0-alpha.8"
43
+ "@mui/x-internals": "^9.7.0",
44
+ "@mui/x-license": "^9.7.0",
45
+ "@mui/x-tree-view": "^9.7.0",
46
+ "@mui/x-virtualizer": "0.5.0"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@emotion/react": "^11.9.0",
@@ -124,6 +124,9 @@
124
124
  }
125
125
  }
126
126
  },
127
+ "imports": {
128
+ "#formatErrorMessage": "@mui/x-internals/formatErrorMessage"
129
+ },
127
130
  "main": "./index.js",
128
131
  "types": "./index.d.ts"
129
132
  }