@mui/x-tree-view 6.0.0-alpha.1 → 6.0.0-alpha.3

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
@@ -3,6 +3,344 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 6.14.0
7
+
8
+ _Sep 14, 2023_
9
+
10
+ We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🎁 Fix `YearCalendar` and `MonthCalendar` accessibility (#10312) @LukasTy
13
+
14
+ The `YearCalendar` and `MonthCalendar` items role has been changed from `button` to `radio` in order to improve the component's a11y support.
15
+ If you were relying on the mentioned components having a `button` role for items, you will need to update your usage to expect a `radio` role instead.
16
+
17
+ - 🌍 Improve Japanese (ja-JP), Persian (fa-IR), and Vietnamese (vi-VN) locales on the data grid
18
+ - 🐞 Bugfixes
19
+ - 📚 Documentation improvements
20
+
21
+ ### Data Grid
22
+
23
+ #### `@mui/x-data-grid@6.14.0`
24
+
25
+ - [l10n] Improve Japanese (ja-JP) locale (#10299) @makoto14
26
+ - [l10n] Improve Persian (fa-IR) locale (#10277) @aminsaedi
27
+ - [l10n] Improve Vietnamese (vi-VN) locale (#10280) @khangnguyen2100
28
+
29
+ #### `@mui/x-data-grid-pro@6.14.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
30
+
31
+ Same changes as in `@mui/x-data-grid@6.14.0`.
32
+
33
+ #### `@mui/x-data-grid-premium@6.14.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
34
+
35
+ Same changes as in `@mui/x-data-grid-pro@6.14.0`, plus:
36
+
37
+ - [DataGridPremium] Fix clipboard import cutting off at 100 rows (#9930) @gitstart
38
+
39
+ ### Date Pickers
40
+
41
+ #### `@mui/x-date-pickers@6.14.0`
42
+
43
+ - [pickers] Fix `YearCalendar` and `MonthCalendar` a11y (#10312) @LukasTy
44
+ - [pickers] Localize `TimeClock` meridiem text (#10324) @LukasTy
45
+
46
+ #### `@mui/x-date-pickers-pro@6.14.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
47
+
48
+ Same changes as in `@mui/x-date-pickers@6.14.0`.
49
+
50
+ ### Charts / `@mui/x-charts@6.0.0-alpha.11`
51
+
52
+ - [charts] Add default `barGapRatio` and increase `categoryGapRatio` (#10317) @LukasTy
53
+ - [charts] Enable `eslint` on the package (#10330) @LukasTy
54
+
55
+ ### Tree View / `@mui/x-tree-view@6.0.0-alpha.3`
56
+
57
+ - [TreeView] Fix box-sizing dependency (#10255) @oliviertassinari
58
+
59
+ ### Docs
60
+
61
+ - [docs] Add conditional range picker props example (#10227) @LukasTy
62
+ - [docs] Add toolbar to the multi-filters demo (#10223) @MBilalShafi
63
+ - [docs] Avoid the use of "We" @oliviertassinari
64
+ - [docs] Clarify MUI vs. MUI Core difference @oliviertassinari
65
+ - [docs] Enable `ariaV7` flag for demos using `useDemoData` hook (#10204) @cherniavskii
66
+ - [docs] Fix Tree View link to API references (#10282) @oliviertassinari
67
+ - [docs] Fix image layout shift (#10313) @oliviertassinari
68
+ - [docs] Fix link to MUI X from readme logo @oliviertassinari
69
+ - [docs] Fix redirection to Base UI URLs @oliviertassinari
70
+ - [docs] Improve Tree View demos (#10268) @oliviertassinari
71
+ - [docs] Improve docs for ref type props (#10273) @michelengelen
72
+ - [docs] Improve npm package README (#10269) @oliviertassinari
73
+ - [docs] Improve the clarity of the npm links @oliviertassinari
74
+ - [docs] Keep installation readme simple @oliviertassinari
75
+ - [docs] Make each component feel more standalone @oliviertassinari
76
+
77
+ ### Core
78
+
79
+ - [core] Add types extension for clarity @oliviertassinari
80
+ - [core] Set logo height to fix layout shift in GitHub @oliviertassinari
81
+ - [core] TrapFocus was renamed to FocusTrap @oliviertassinari
82
+
83
+ ## 6.13.0
84
+
85
+ _Sep 8, 2023_
86
+
87
+ We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
88
+
89
+ - 🎁 Fix `anchorRef` behavior on range pickers (#10077) @LukasTy
90
+
91
+ The range picker popup will now be anchored to the first input element and left aligned like other pickers.
92
+
93
+ - 🌍 Improve Slovak (sk-SK) locale on the data grid
94
+ - 🐞 Bugfixes
95
+ - 📚 Documentation improvements
96
+
97
+ ### Data Grid
98
+
99
+ #### `@mui/x-data-grid@6.13.0`
100
+
101
+ - [DataGrid] Allow to override the default overlay height in `autoHeight` mode (#10203) @cherniavskii
102
+ - [DataGrid] Allow to override the default row count component in footer (#10063) @hungmanhle
103
+ - [DataGrid] Fix an error when hovering on a row, the background changed to white (#10214) @chucamphong
104
+ - [DataGrid] Fix custom column docs, remove legacy `extendType` (#10175) @oliviertassinari
105
+ - [DataGrid] Make the pinned rows be on top of the no rows overlay (#9986) @DanailH
106
+ - [l10n] Improve Slovak (sk-SK) locale (#10182) @msidlo
107
+
108
+ #### `@mui/x-data-grid-pro@6.13.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
109
+
110
+ Same changes as in `@mui/x-data-grid@6.13.0`, plus:
111
+
112
+ - [DataGridPro] Fix column resize with pinned rows (#10229) @cherniavskii
113
+
114
+ #### `@mui/x-data-grid-premium@6.13.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
115
+
116
+ Same changes as in `@mui/x-data-grid-pro@6.13.0`, plus:
117
+
118
+ - [DataGridPremium] Fix aggregated column resizing (#10079) @cherniavskii
119
+
120
+ ### Date Pickers
121
+
122
+ #### `@mui/x-date-pickers@6.13.0`
123
+
124
+ - [pickers] Respect the adapter locale in `AdapterMoment.getWeekdays` (#10221) @flaviendelangle
125
+
126
+ #### `@mui/x-date-pickers-pro@6.13.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
127
+
128
+ Same changes as in `@mui/x-date-pickers@6.13.0`, plus:
129
+
130
+ - [DateRangePicker] Fix `anchorRef` behavior (#10077) @LukasTy
131
+
132
+ ### Charts / `@mui/x-charts@6.0.0-alpha.10`
133
+
134
+ - [charts] Remove require condition from package.json exports (#10272) @Janpot
135
+
136
+ ### Tree View / `@mui/x-tree-view@6.0.0-alpha.2`
137
+
138
+ - [TreeView] Add missing export (#10245) @flaviendelangle
139
+
140
+ ### Docs
141
+
142
+ - [docs] Add a `Getting Started` page for the Tree View (#10218) @flaviendelangle
143
+ - [docs] Add pickers `Custom opening button` page (#10200) @flaviendelangle
144
+ - [docs] Add pie chart demo with a center label (#10220) @giladappsforce
145
+ - [docs] Do not document ignored components (#10258) @flaviendelangle
146
+ - [docs] Fix charts demo using too deep import (#10263) @LukasTy
147
+ - [docs] Fix `e.g.` typo @oliviertassinari
148
+ - [docs] Fix npm package indentation @oliviertassinari
149
+ - [docs] Fix typo in tree view docs @oliviertassinari
150
+ - [docs] Improve the week picker example (#8257) @flaviendelangle
151
+ - [docs] Include code links in the data grid demo (#10219) @cherniavskii
152
+ - [docs] Polish page for SEO (#10216) @oliviertassinari
153
+ - [docs] Use `Base UI` `Portal` for the quick filter recipe (#10188) @DanailH
154
+
155
+ ### Core
156
+
157
+ - [core] Finish migration to GA4 @oliviertassinari
158
+ - [core] Fix yarn docs:create-playground script @oliviertassinari
159
+ - [core] Move @mui/base from peer dependency to dependency (#10215) @oliviertassinari
160
+ - [core] Prevent `e.g.` typo (#10193) @oliviertassinari
161
+ - [core] Remove unused `babel-plugin-tester` package (#10243) @LukasTy
162
+
163
+ ## 6.12.1
164
+
165
+ _Aug 31, 2023_
166
+
167
+ We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
168
+
169
+ - 🏎️ Perf improvement for line charts
170
+ - 🎁 Add `referenceDate` prop on pickers (#9991) @flaviendelangle
171
+ Find out more about this feature in the [documentation section](https://mui.com/x/react-date-pickers/base-concepts/#reference-date-when-no-value-is-defined).
172
+ - 🐞 Bugfixes
173
+ - 📚 Documentation improvements
174
+
175
+ ### Data Grid
176
+
177
+ #### `@mui/x-data-grid@6.12.1`
178
+
179
+ - [DataGrid] Add a recipe showing how to render components outside of the grid (#10121) @DanailH
180
+ - [DataGrid] Fix `valueFormatter` being persisted on column type change (#10041) @cherniavskii
181
+ - [DataGrid] Fix error when keyboard navigating an empty grid (#10081) @romgrk
182
+ - [DataGrid] Replace timeout with `useTimeout` (#10179) @romgrk
183
+
184
+ #### `@mui/x-data-grid-pro@6.12.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
185
+
186
+ Same changes as in `@mui/x-data-grid@6.12.1`.
187
+
188
+ #### `@mui/x-data-grid-premium@6.12.1` [![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-data-grid-pro@6.12.1`.
191
+
192
+ ### Date Pickers
193
+
194
+ #### `@mui/x-date-pickers@6.12.1`
195
+
196
+ - [pickers] Add `referenceDate` on picker components (and `DateRangeCalendar`) (#9991) @flaviendelangle
197
+
198
+ #### `@mui/x-date-pickers-pro@6.12.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
199
+
200
+ Same changes as in `@mui/x-date-pickers@6.12.1`.
201
+
202
+ ### Charts / `@mui/x-charts@6.0.0-alpha.9`
203
+
204
+ - [charts] Move the line item highligh into a dedicated component (#10117) @alexfauquette
205
+
206
+ ### Docs
207
+
208
+ - [docs] Add `DemoContainer` and `DemoItem` JSDoc (#10186) @LukasTy
209
+ - [docs] Add link to `custom layout` page (#10184) @LukasTy
210
+ - [docs] Add tree view nav item (#10181) @LukasTy
211
+ - [docs] Fix wrong chart tooltip reference (#10169) @oliviertassinari
212
+ - [docs] Improve chart SEO (#10170) @oliviertassinari
213
+ - [docs] Precise expired license key condition (#10165) @oliviertassinari
214
+ - [docs] Reorganize the page menu (#10139) @alexfauquette
215
+
216
+ ### Core
217
+
218
+ - [core] Update babel configs (#9713) @romgrk
219
+ - [test] Disable false positive e2e test on webkit (#10187) @LukasTy
220
+
221
+ ## 6.12.0
222
+
223
+ _Aug 25, 2023_
224
+
225
+ We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
226
+
227
+ - 📊 Support horizontal bar chart
228
+ - 💫 Improved animations on Android devices
229
+ - 🌍 Improve Ukrainian (uk-UA) locale on the data grid
230
+ - 🐞 Bugfixes
231
+ - 📚 Documentation improvements
232
+
233
+ ### Data Grid
234
+
235
+ #### `@mui/x-data-grid@6.12.0`
236
+
237
+ - [DataGrid] Allow print export for more than 100 rows (#10045) @MBilalShafi
238
+ - [l10n] Improve Ukrainian (uk-UA) locale (#10076) @mkundos
239
+
240
+ #### `@mui/x-data-grid-pro@6.12.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
241
+
242
+ Same changes as in `@mui/x-data-grid@6.12.0`.
243
+
244
+ #### `@mui/x-data-grid-premium@6.12.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
245
+
246
+ Same changes as in `@mui/x-data-grid-pro@6.12.0`.
247
+
248
+ ### Date Pickers
249
+
250
+ #### `@mui/x-date-pickers@6.12.0`
251
+
252
+ - [fields] Do not clamp day of month (#9973) @flaviendelangle
253
+ - [pickers] Fix `ownerState` on `desktopPaper` slot props (#10103) @LukasTy
254
+ - [pickers] Fix to `transform-origin` when popper opens to `top` (#10069) @LukasTy
255
+ - [pickers] Fix `YearCalendar` scrolling (#10135) @LukasTy
256
+ - [pickers] Improve the typing of the adapter `dateWithTimezone` method (#10029) @flaviendelangle
257
+ - [pickers] Make `openPickerButton` toggle picker (#10109) @noraleonte
258
+ - [pickers] Update `reduceAnimations` default rule (#9864) @LukasTy
259
+
260
+ #### `@mui/x-date-pickers-pro@6.12.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
261
+
262
+ Same changes as in `@mui/x-date-pickers@6.12.0`.
263
+
264
+ ### Charts / `@mui/x-charts@6.0.0-alpha.8`
265
+
266
+ - [charts] Fix import issue (#10111) @alexfauquette
267
+ - [charts] Fix `slotProps` propagation (#10105) @alexfauquette
268
+ - [charts] Support horizontal bar chart (#9992) @alexfauquette
269
+
270
+ ### Docs
271
+
272
+ - [docs] Address charts docs feedback (#10119) @alexfauquette
273
+ - [docs] Capitalization convention pickers @oliviertassinari
274
+ - [docs] Fix a11y issue on plan links (#10026) @oliviertassinari
275
+ - [docs] Fix some charts horizontal overflow on mobile devices (#10082) @cupok
276
+ - [docs] Fix typo in quick filter @oliviertassinari
277
+ - [docs] Fix typo in the timezone page (#10073) @flaviendelangle
278
+
279
+ ### Core
280
+
281
+ - [core] Bump monorepo (#10129) @LukasTy
282
+ - [core] Document a bit `useLazyRef` @oliviertassinari
283
+ - [core] Enable strict type checking options in the top-level tsconfig (#9925) @cherniavskii
284
+ - [core] Increase global e2e timeout (#10134) @LukasTy
285
+ - [core] Remove outdated link (#10125) @oliviertassinari
286
+ - [core] Update `no-response` workflow (#10102) @DanailH
287
+
288
+ ## 6.11.2
289
+
290
+ _Aug 17, 2023_
291
+
292
+ We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
293
+
294
+ - 🏎️ Lower the filtering delay in the grid
295
+ - 🌍 Improve Spanish (es-ES) locale on the data grid
296
+ - 🐞 Bugfixes
297
+ - 📚 Documentation improvements
298
+
299
+ ### Data Grid
300
+
301
+ #### `@mui/x-data-grid@6.11.2`
302
+
303
+ - [DataGrid] Fix `eval` blocked by CSP (#9863) @romgrk
304
+ - [DataGrid] Fix row id bug (#10051) @romgrk
305
+ - [DataGrid] Honor `disableExport` flag in Print Export (#10044) @MBilalShafi
306
+ - [DataGrid] Lower filter debounce delay (#9712) @romgrk
307
+ - [DataGrid] Unhide potential ref binding issue (#9965) @oliviertassinari
308
+ - [l10n] Improve Chinese (zh-CN) and Chinese(traditional) (zh-TW) locales (#9999) @MyNameIsTakenOMG
309
+ - [l10n] Improve Spanish (es-ES) locale (#10037) @Macampu420
310
+
311
+ #### `@mui/x-data-grid-pro@6.11.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
312
+
313
+ Same changes as in `@mui/x-data-grid@6.11.2`.
314
+
315
+ #### `@mui/x-data-grid-premium@6.11.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
316
+
317
+ Same changes as in `@mui/x-data-grid-pro@6.11.2`.
318
+
319
+ ### Date Pickers
320
+
321
+ #### `@mui/x-date-pickers@6.11.2`
322
+
323
+ - [pickers] Fix month switcher RTL (#10003) @alexfauquette
324
+ - [pickers] Follow-up on using device motion reduction preference (#9858) @LukasTy
325
+ - [pickers] Pass the shortcut information in the `onChange` context (#9985) @flaviendelangle
326
+ - [pickers] Replace `Grid` toolbar component with a styled `div` (#10052) @LukasTy
327
+
328
+ #### `@mui/x-date-pickers-pro@6.11.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
329
+
330
+ Same changes as in `@mui/x-date-pickers@6.11.2`.
331
+
332
+ ### Docs
333
+
334
+ - [docs] Add migration guide for the Tree View (#9987) @flaviendelangle
335
+ - [docs] Fix en-US changelog @oliviertassinari
336
+ - [docs] Update column types (#10040) @romgrk
337
+
338
+ ### Core
339
+
340
+ - [core] Remove unnecessary Box (#9831) @oliviertassinari
341
+ - [core] Set GitHub Action top level permission @oliviertassinari
342
+ - [core] Split the pickers test utils (#9976) @flaviendelangle
343
+
6
344
  ## 6.11.1
7
345
 
8
346
  _Aug 11, 2023_
@@ -21,11 +359,11 @@ We'd like to offer a big thanks to the 8 contributors who made this release poss
21
359
 
22
360
  - [DataGrid] `getCellAggregationResult`: Handle `null` `rowNode` case (#9915) @romgrk
23
361
 
24
- #### `@mui/x-data-grid-pro@6.11.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
362
+ #### `@mui/x-data-grid-pro@6.11.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
25
363
 
26
364
  Same changes as in `@mui/x-data-grid@6.11.1`.
27
365
 
28
- #### `@mui/x-data-grid-premium@6.11.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
366
+ #### `@mui/x-data-grid-premium@6.11.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
29
367
 
30
368
  Same changes as in `@mui/x-data-grid-pro@6.11.1`.
31
369
 
@@ -40,11 +378,11 @@ Same changes as in `@mui/x-data-grid-pro@6.11.1`.
40
378
  - [l10n] Improve Finnish (fi-FI) locale (#9795) @kurkle
41
379
  - [l10n] Improve Icelandic (is-IS) locale (#9639) @magnimarels
42
380
 
43
- #### `@mui/x-date-pickers-pro@6.11.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
381
+ #### `@mui/x-date-pickers-pro@6.11.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
44
382
 
45
383
  Same changes as in `@mui/x-date-pickers@6.11.1`.
46
384
 
47
- ### Charts / `@mui/x-charts@v6.0.0-alpha.7`
385
+ ### Charts / `@mui/x-charts@6.0.0-alpha.7`
48
386
 
49
387
  - [charts] Fix label and tick alignment (#9952) @LukasTy
50
388
  - [charts] Remove not functional component `styleOverrides` (#9996) @LukasTy
@@ -52,7 +390,7 @@ Same changes as in `@mui/x-date-pickers@6.11.1`.
52
390
  - [charts] Use `slot`/`slotProps` for customization (#9744) @alexfauquette
53
391
  - [charts] Extend cheerful fiesta palette (#9980) @noraleonte
54
392
 
55
- ### Tree View / `@mui/x-tree-view@v6.0.0-alpha.1`
393
+ ### Tree View / `@mui/x-tree-view@6.0.0-alpha.1`
56
394
 
57
395
  - [TreeView] Add theme augmentation (#9967) @flaviendelangle
58
396
 
@@ -82,7 +420,7 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
82
420
 
83
421
  ### Data Grid
84
422
 
85
- #### `@mui/x-data-grid@v6.11.0`
423
+ #### `@mui/x-data-grid@6.11.0`
86
424
 
87
425
  - [DataGrid] Add `ariaV7` experimental flag (#9496) @cherniavskii
88
426
  - [DataGrid] Fix cell size when column width is set to `undefined` (#9871) @gitstart
@@ -90,17 +428,17 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
90
428
  - [l10n] Improve Finnish (fi-FI) locale (#9848) @sambbaahh
91
429
  - [l10n] Improve Italian (it-IT) locale (#9627) @fabio-rizzello-omnia
92
430
 
93
- #### `@mui/x-data-grid-pro@v6.11.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
431
+ #### `@mui/x-data-grid-pro@6.11.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
94
432
 
95
- Same changes as in `@mui/x-data-grid@v6.11.0`.
433
+ Same changes as in `@mui/x-data-grid@6.11.0`.
96
434
 
97
- #### `@mui/x-data-grid-premium@v6.11.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
435
+ #### `@mui/x-data-grid-premium@6.11.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
98
436
 
99
- Same changes as in `@mui/x-data-grid-pro@v6.11.0`.
437
+ Same changes as in `@mui/x-data-grid-pro@6.11.0`.
100
438
 
101
439
  ### Date Pickers
102
440
 
103
- #### `@mui/x-date-pickers@v6.11.0`
441
+ #### `@mui/x-date-pickers@6.11.0`
104
442
 
105
443
  - [fields] Correctly handle events with a complete value insertion (#9896) @LukasTy
106
444
  - [fields] Fix hours editing on dayjs with timezone and DST (#9901) @flaviendelangle
@@ -113,18 +451,18 @@ Same changes as in `@mui/x-data-grid-pro@v6.11.0`.
113
451
  - [pickers] Fix offset management on dayjs adapter (#9884) @flaviendelangle
114
452
  - [pickers] Use device motion reduction preference (#9823) @LukasTy
115
453
 
116
- #### `@mui/x-date-pickers-pro@v6.11.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
454
+ #### `@mui/x-date-pickers-pro@6.11.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
117
455
 
118
- Same changes as in `@mui/x-date-pickers@v6.11.0`.
456
+ Same changes as in `@mui/x-date-pickers@6.11.0`.
119
457
 
120
- ### Charts / `@mui/x-charts@v6.0.0-alpha.6`
458
+ ### Charts / `@mui/x-charts@6.0.0-alpha.6`
121
459
 
122
460
  - [charts] Add TS definition to the exported elements (#9885) @alexfauquette
123
461
  - [charts] Add sparkline (#9662) @alexfauquette
124
462
  - [charts] Fix missing configuration types (#9886) @alexfauquette
125
463
  - [charts] Introduce dataset to simplify plot of data from API (#9774) @alexfauquette
126
464
 
127
- ### Tree View / `@mui/x-tree-view@v6.0.0-alpha.0`
465
+ ### Tree View / `@mui/x-tree-view@6.0.0-alpha.0`
128
466
 
129
467
  - [TreeView] Add missing exported types (#9862) @flaviendelangle
130
468
  - [TreeView] Add tree view to changelog generator script (#9903) @MBilalShafi
@@ -169,34 +507,34 @@ We'd like to offer a big thanks to the 13 contributors who made this release pos
169
507
 
170
508
  ### Data Grid
171
509
 
172
- #### `@mui/x-data-grid@v6.10.2`
510
+ #### `@mui/x-data-grid@6.10.2`
173
511
 
174
512
  - [DataGrid] Fix quick filter & aggregation error (#9729) @romgrk
175
513
  - [DataGrid] Fix row click propagation causing error in nested grid (#9741) @cherniavskii
176
514
  - [DataGrid] Keep focused cell in the DOM (#7357) @yaredtsy
177
515
  - [l10n] Improve Finnish (fi-FI) locale (#9746) @sambbaahh
178
516
 
179
- #### `@mui/x-data-grid-pro@v6.10.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
517
+ #### `@mui/x-data-grid-pro@6.10.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
180
518
 
181
- Same changes as in `@mui/x-data-grid@v6.10.2`.
519
+ Same changes as in `@mui/x-data-grid@6.10.2`.
182
520
 
183
- #### `@mui/x-data-grid-premium@v6.10.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
521
+ #### `@mui/x-data-grid-premium@6.10.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
184
522
 
185
- Same changes as in `@mui/x-data-grid-pro@v6.10.2`, plus:
523
+ Same changes as in `@mui/x-data-grid-pro@6.10.2`, plus:
186
524
 
187
525
  - [DataGridPremium] Allow to customize grouping cell offset (#9417) @cherniavskii
188
526
 
189
527
  ### Date Pickers
190
528
 
191
- #### `@mui/x-date-pickers@v6.10.2`
529
+ #### `@mui/x-date-pickers@6.10.2`
192
530
 
193
531
  - [pickers] Remove the `endOfDate` from `DigitalClock` timeOptions (#9800) @noraleonte
194
532
 
195
- #### `@mui/x-date-pickers-pro@v6.10.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
533
+ #### `@mui/x-date-pickers-pro@6.10.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
196
534
 
197
- Same changes as in `@mui/x-date-pickers@v6.10.2`.
535
+ Same changes as in `@mui/x-date-pickers@6.10.2`.
198
536
 
199
- ### Charts / `@mui/x-charts@v6.0.0-alpha.5`
537
+ ### Charts / `@mui/x-charts@6.0.0-alpha.5`
200
538
 
201
539
  - [charts] Improve JSDoc for axis-related props (#9779) @flaviendelangle
202
540
  - [charts] Improve performances of Scatter component (#9527) @flaviendelangle
@@ -234,7 +572,7 @@ We'd like to offer a big thanks to the 11 contributors who made this release pos
234
572
 
235
573
  ### Data Grid
236
574
 
237
- #### `@mui/x-data-grid@v6.10.1`
575
+ #### `@mui/x-data-grid@6.10.1`
238
576
 
239
577
  - [DataGrid] Filtering performance: compile filter applier with `eval` (#9635) @romgrk
240
578
  - [DataGrid] Fix CSV export for values containing double quotes (#9667) @cherniavskii
@@ -244,29 +582,29 @@ We'd like to offer a big thanks to the 11 contributors who made this release pos
244
582
  - [DataGrid] Update focused cell on page change via keyboard (#9203) @m4theushw
245
583
  - [DataGrid] Wait for remote stylesheets to load before print (#9665) @cherniavskii
246
584
 
247
- #### `@mui/x-data-grid-pro@v6.10.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
585
+ #### `@mui/x-data-grid-pro@6.10.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
248
586
 
249
- Same changes as in `@mui/x-data-grid@v6.10.1`, plus:
587
+ Same changes as in `@mui/x-data-grid@6.10.1`, plus:
250
588
 
251
589
  - [DataGridPro] Improve tree data performance (#9682) @cherniavskii
252
590
  - [DataGridPro] Prevent affecting cells from child DataGrid when resizing a column (#9670) @m4theushw
253
591
 
254
- #### `@mui/x-data-grid-premium@v6.10.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
592
+ #### `@mui/x-data-grid-premium@6.10.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
255
593
 
256
- Same changes as in `@mui/x-data-grid-pro@v6.10.1`.
594
+ Same changes as in `@mui/x-data-grid-pro@6.10.1`.
257
595
 
258
596
  ### Date Pickers
259
597
 
260
- #### `@mui/x-date-pickers@v6.10.1`
598
+ #### `@mui/x-date-pickers@6.10.1`
261
599
 
262
600
  - [fields] Fix `format` and `value` update order (#9715) @LukasTy
263
601
  - [pickers] Remove `require` usage in comment (#9675) @LukasTy
264
602
 
265
- #### `@mui/x-date-pickers-pro@v6.10.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
603
+ #### `@mui/x-date-pickers-pro@6.10.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
266
604
 
267
- Same changes as in `@mui/x-date-pickers@v6.10.1`.
605
+ Same changes as in `@mui/x-date-pickers@6.10.1`.
268
606
 
269
- ### Charts / `@mui/x-charts@v6.0.0-alpha.4`
607
+ ### Charts / `@mui/x-charts@6.0.0-alpha.4`
270
608
 
271
609
  - [charts] Fix blinking in responsive charts and extremums computation for line charts (#9734) @alexfauquette
272
610
  - [charts] Use ESM with imports (#9645) @alexfauquette
@@ -313,11 +651,11 @@ We'd like to offer a big thanks to the 10 contributors who made this release pos
313
651
  - [DataGrid] Make `rowExpansionChange` event public (#9611) @MBilalShafi
314
652
  - [l10n] Improve Polish (pl-PL) locale (#9625) @ch1llysense
315
653
 
316
- #### `@mui/x-data-grid-pro@6.10.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
654
+ #### `@mui/x-data-grid-pro@6.10.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
317
655
 
318
656
  Same changes as in `@mui/x-data-grid@6.10.0`.
319
657
 
320
- #### `@mui/x-data-grid-premium@6.10.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
658
+ #### `@mui/x-data-grid-premium@6.10.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
321
659
 
322
660
  Same changes as in `@mui/x-data-grid-pro@6.10.0`.
323
661
 
@@ -328,7 +666,7 @@ Same changes as in `@mui/x-data-grid-pro@6.10.0`.
328
666
  - [pickers] Fix date calendar issues (#9652) @LukasTy
329
667
  - [l10n] Improve Norwegian (nb-NO) locale (#9608) @JosteinBrevik
330
668
 
331
- #### `@mui/x-date-pickers-pro@6.10.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
669
+ #### `@mui/x-date-pickers-pro@6.10.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
332
670
 
333
671
  Same changes as in `@mui/x-date-pickers@6.10.0`.
334
672
 
@@ -381,11 +719,11 @@ We'd like to offer a big thanks to the 11 contributors who made this release pos
381
719
  - [DataGrid] Correctly reflect `TablePagination`'s `rowsPerPageOptions` shape to `pageSizeOptions` (#9438) @burakkgunduzz
382
720
  - [l10n] Improve Spanish (es-ES) locale (#9500) @fufex
383
721
 
384
- #### `@mui/x-data-grid-pro@6.9.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
722
+ #### `@mui/x-data-grid-pro@6.9.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
385
723
 
386
724
  Same changes as in `@mui/x-data-grid@6.9.2`.
387
725
 
388
- #### `@mui/x-data-grid-premium@6.9.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
726
+ #### `@mui/x-data-grid-premium@6.9.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
389
727
 
390
728
  Same changes as in `@mui/x-data-grid-pro@6.9.2`, plus:
391
729
 
@@ -398,7 +736,7 @@ Same changes as in `@mui/x-data-grid-pro@6.9.2`, plus:
398
736
  - [pickers] Forward digital clock classes (#9555) @YoonjiJang
399
737
  - [pickers] Rename `internal` folder to `internals` on `@mui/x-date-picker-pro` (#9571) @flaviendelangle
400
738
 
401
- #### `@mui/x-date-pickers-pro@6.9.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
739
+ #### `@mui/x-date-pickers-pro@6.9.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
402
740
 
403
741
  Same changes as in `@mui/x-date-pickers@6.9.2`.
404
742
 
@@ -446,14 +784,14 @@ We'd like to offer a big thanks to the 13 contributors who made this release pos
446
784
  - [DataGrid] Fix `Maximum call stack size exceeded` error when using fractional width (#9516) @cherniavskii
447
785
  - [l10n] Improve Romanian (ro-RO) and Hungarian (hu-HU) translations (#9436) @noraleonte
448
786
 
449
- #### `@mui/x-data-grid-pro@6.9.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
787
+ #### `@mui/x-data-grid-pro@6.9.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
450
788
 
451
789
  Same changes as in `@mui/x-data-grid@6.9.1`, plus:
452
790
 
453
791
  - [DataGridPro] Don't throw error in column pinning (#9507) @romgrk
454
792
  - [DataGridPro] Fix bug with `checkboxSelection` and treeData/grouping (#9418) @romgrk
455
793
 
456
- #### `@mui/x-data-grid-premium@6.9.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
794
+ #### `@mui/x-data-grid-premium@6.9.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
457
795
 
458
796
  Same changes as in `@mui/x-data-grid-pro@6.9.1`.
459
797
 
@@ -467,7 +805,7 @@ Same changes as in `@mui/x-data-grid-pro@6.9.1`.
467
805
  - [l10n] Add Chinese (Hong Kong) (zh-HK) locale (#9468) @samchiu90
468
806
  - [l10n] Improve Romanian (ro-RO) translations (#9436) @noraleonte
469
807
 
470
- #### `@mui/x-date-pickers-pro@6.9.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
808
+ #### `@mui/x-date-pickers-pro@6.9.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
471
809
 
472
810
  Same changes as in `@mui/x-date-pickers@6.9.1`.
473
811
 
@@ -531,11 +869,11 @@ We'd like to offer a big thanks to the 11 contributors who made this release pos
531
869
  - [DataGrid] Use container dimensions from `getComputedStyle` (#9236) @m4theushw
532
870
  - [l10n] Improve Brazilian Portuguese (pt-BR) locale (#9404) @julioAz
533
871
 
534
- #### `@mui/x-data-grid-pro@6.9.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
872
+ #### `@mui/x-data-grid-pro@6.9.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
535
873
 
536
874
  Same changes as in `@mui/x-data-grid@6.9.0`.
537
875
 
538
- #### `@mui/x-data-grid-premium@6.9.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
876
+ #### `@mui/x-data-grid-premium@6.9.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
539
877
 
540
878
  Same changes as in `@mui/x-data-grid-pro@6.9.0`.
541
879
 
@@ -551,7 +889,7 @@ Same changes as in `@mui/x-data-grid-pro@6.9.0`.
551
889
  - [pickers] Reduce date range calendar vertical border width (#9368) @oliviertassinari
552
890
  - [pickers] Reset fields internal state when pasting value (#9385) @alexfauquette
553
891
 
554
- #### `@mui/x-date-pickers-pro@6.9.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
892
+ #### `@mui/x-date-pickers-pro@6.9.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
555
893
 
556
894
  Same changes as in `@mui/x-date-pickers@6.9.0`.
557
895
 
@@ -607,11 +945,11 @@ We'd like to offer a big thanks to the 13 contributors who made this release pos
607
945
  - [DataGrid] Scroll performance improvements (#9037) @romgrk
608
946
  - [l10n] Improve Greek (el-GR) locale (#9292) @clytras
609
947
 
610
- #### `@mui/x-data-grid-pro@6.8.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
948
+ #### `@mui/x-data-grid-pro@6.8.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
611
949
 
612
950
  Same changes as in `@mui/x-data-grid@6.8.0`.
613
951
 
614
- #### `@mui/x-data-grid-premium@6.8.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
952
+ #### `@mui/x-data-grid-premium@6.8.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
615
953
 
616
954
  Same changes as in `@mui/x-data-grid-pro@6.8.0`.
617
955
 
@@ -624,7 +962,7 @@ Same changes as in `@mui/x-data-grid-pro@6.8.0`.
624
962
  - [pickers] Close the calendar when a shortcut is selected (#9080) @flaviendelangle
625
963
  - [pickers] Fix disabling for digital clock (#9300) @alexfauquette
626
964
 
627
- #### `@mui/x-date-pickers-pro@6.8.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
965
+ #### `@mui/x-date-pickers-pro@6.8.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
628
966
 
629
967
  Same changes as in `@mui/x-date-pickers@6.8.0`.
630
968
 
@@ -700,13 +1038,13 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
700
1038
  - [l10n] Improve German (de-DE) locale (#9259) @ximex
701
1039
  - [l10n] Improve Turkish (tr-TR) locale (#9237) @MCErtan
702
1040
 
703
- #### `@mui/x-data-grid-pro@6.7.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
1041
+ #### `@mui/x-data-grid-pro@6.7.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
704
1042
 
705
1043
  Same changes as in `@mui/x-data-grid@6.7.0`, plus:
706
1044
 
707
1045
  - [DataGridPro] Improve header filter menu visuals (#9181) @MBilalShafi
708
1046
 
709
- #### `@mui/x-data-grid-premium@6.7.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
1047
+ #### `@mui/x-data-grid-premium@6.7.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
710
1048
 
711
1049
  Same changes as in `@mui/x-data-grid-pro@6.7.0`, plus:
712
1050
 
@@ -720,7 +1058,7 @@ Same changes as in `@mui/x-data-grid-pro@6.7.0`, plus:
720
1058
  - [l10n] Improve German (de-DE) locale (#9258) @ximex
721
1059
  - [pickers] Apply dynamic default format depending on views for all desktop and mobile pickers (#9126) @flaviendelangle
722
1060
 
723
- #### `@mui/x-date-pickers-pro@6.7.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
1061
+ #### `@mui/x-date-pickers-pro@6.7.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
724
1062
 
725
1063
  Same changes as in `@mui/x-date-pickers@6.7.0`, plus:
726
1064
 
@@ -1578,7 +1916,7 @@ We'd like to offer a big thanks to the 8 contributors who made this release poss
1578
1916
  #### Changes
1579
1917
 
1580
1918
  - [DataGrid] Add interface for `singleSelect` column (#7685) @m4theushw
1581
- - [DataGrid] Allow to pass props to the `TrapFocus` inside the panel wrapper (#7733) @ivek-Prajapatii
1919
+ - [DataGrid] Allow to pass props to the `FocusTrap` inside the panel wrapper (#7733) @ivek-Prajapatii
1582
1920
  - [DataGrid] Avoid unnecessary rerenders after `updateRows` (#7857) @cherniavskii
1583
1921
  - [DataGridPro] Change cursor when dragging a column (#7725) @sai6855
1584
1922
  - [DataGridPremium] Fix `leafField` to have correct focus value (#7950) @MBilalShafi
@@ -2872,7 +3210,7 @@ We'd like to offer a big thanks to the 8 contributors who made this release poss
2872
3210
 
2873
3211
  #### Changes
2874
3212
 
2875
- - [DateRangePicker] Fix input focused style and mobile behaviour (#6645) @LukasTy
3213
+ - [DateRangePicker] Fix input focused style and mobile behavior (#6645) @LukasTy
2876
3214
  - [fields] Update sections when the locale changes (#6649) @flaviendelangle
2877
3215
  - [pickers] Add Ukrainian (uk-UA) locale (#6661) @Dufran
2878
3216
  - [pickers] Allow non-controlled usage of the calendar components (#6643) @flaviendelangle
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
- # @mui/x-tree-view
1
+ # MUI X Tree View
2
2
 
3
3
  This package is the community edition of the tree view components.
4
- It's part of MUI X, an open-core extension of MUI, with advanced components.
4
+ It's part of [MUI X](https://mui.com/x/), an open-core extension of MUI Core, with advanced components.
5
5
 
6
6
  ## Installation
7
7
 
@@ -11,17 +11,10 @@ Install the package in your project directory with:
11
11
  npm install @mui/x-tree-view
12
12
  ```
13
13
 
14
- or
15
-
16
- ```bash
17
- yarn add @mui/x-tree-view
18
- ```
19
-
20
14
  This component has the following peer dependencies that you will need to install as well.
21
15
 
22
16
  ```json
23
17
  "peerDependencies": {
24
- "@mui/base": "^5.0.0-alpha.87",
25
18
  "@mui/material": "^5.8.6",
26
19
  "@mui/system": "^5.8.0",
27
20
  "react": "^17.0.0 || ^18.0.0",
@@ -31,4 +24,4 @@ This component has the following peer dependencies that you will need to install
31
24
 
32
25
  ## Documentation
33
26
 
34
- WIP
27
+ Visit [https://mui.com/x/react-tree-view/](https://mui.com/x/react-tree-view/) to view the full documentation.
@@ -4,10 +4,10 @@ import { TreeItemProps } from './TreeItem.types';
4
4
  *
5
5
  * Demos:
6
6
  *
7
- * - [Tree View](https://mui.com/material-ui/react-tree-view/)
7
+ * - [Tree View](https://mui.com/x/react-tree-view/)
8
8
  *
9
9
  * API:
10
10
  *
11
- * - [TreeItem API](https://mui.com/material-ui/api/tree-item/)
11
+ * - [TreeItem API](https://mui.com/x/api/tree-view/tree-item/)
12
12
  */
13
13
  export declare const TreeItem: React.ForwardRefExoticComponent<TreeItemProps & React.RefAttributes<HTMLLIElement>>;
@@ -59,6 +59,8 @@ const StyledTreeItemContent = styled(TreeItemContent, {
59
59
  }) => ({
60
60
  padding: '0 8px',
61
61
  width: '100%',
62
+ boxSizing: 'border-box',
63
+ // prevent width + padding to overflow
62
64
  display: 'flex',
63
65
  alignItems: 'center',
64
66
  cursor: 'pointer',
@@ -101,10 +103,12 @@ const StyledTreeItemContent = styled(TreeItemContent, {
101
103
  }
102
104
  },
103
105
  [`& .${treeItemClasses.label}`]: _extends({
106
+ paddingLeft: 4,
104
107
  width: '100%',
108
+ boxSizing: 'border-box',
109
+ // prevent width + padding to overflow
105
110
  // fixes overflow - see https://github.com/mui/material-ui/issues/27372
106
111
  minWidth: 0,
107
- paddingLeft: 4,
108
112
  position: 'relative'
109
113
  }, theme.typography.body1)
110
114
  }));
@@ -122,11 +126,11 @@ const TreeItemGroup = styled(Collapse, {
122
126
  *
123
127
  * Demos:
124
128
  *
125
- * - [Tree View](https://mui.com/material-ui/react-tree-view/)
129
+ * - [Tree View](https://mui.com/x/react-tree-view/)
126
130
  *
127
131
  * API:
128
132
  *
129
- * - [TreeItem API](https://mui.com/material-ui/api/tree-item/)
133
+ * - [TreeItem API](https://mui.com/x/api/tree-view/tree-item/)
130
134
  */
131
135
  export const TreeItem = /*#__PURE__*/React.forwardRef(function TreeItem(inProps, ref) {
132
136
  const props = useThemeProps({
@@ -2,4 +2,5 @@ export * from './TreeItem';
2
2
  export type { TreeItemProps } from './TreeItem.types';
3
3
  export * from './useTreeItem';
4
4
  export * from './treeItemClasses';
5
- export type { TreeItemContentProps } from './TreeItemContent';
5
+ export { TreeItemContent } from './TreeItemContent';
6
+ export type { TreeItemContentProps, TreeItemContentClassKey } from './TreeItemContent';
package/TreeItem/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  export * from './TreeItem';
2
2
  export * from './useTreeItem';
3
3
  export * from './treeItemClasses';
4
- export {};
4
+ export { TreeItemContent } from './TreeItemContent';
@@ -4,11 +4,11 @@ import { TreeViewProps } from './TreeView.types';
4
4
  *
5
5
  * Demos:
6
6
  *
7
- * - [Tree View](https://mui.com/material-ui/react-tree-view/)
7
+ * - [Tree View](https://mui.com/x/react-tree-view/)
8
8
  *
9
9
  * API:
10
10
  *
11
- * - [TreeView API](https://mui.com/material-ui/api/tree-view/)
11
+ * - [TreeView API](https://mui.com/x/api/tree-view/tree-view/)
12
12
  */
13
13
  declare const TreeView: React.ForwardRefExoticComponent<TreeViewProps & React.RefAttributes<HTMLUListElement>>;
14
14
  export { TreeView };
@@ -54,11 +54,11 @@ const defaultDefaultSelected = [];
54
54
  *
55
55
  * Demos:
56
56
  *
57
- * - [Tree View](https://mui.com/material-ui/react-tree-view/)
57
+ * - [Tree View](https://mui.com/x/react-tree-view/)
58
58
  *
59
59
  * API:
60
60
  *
61
- * - [TreeView API](https://mui.com/material-ui/api/tree-view/)
61
+ * - [TreeView API](https://mui.com/x/api/tree-view/tree-view/)
62
62
  */
63
63
  const TreeView = /*#__PURE__*/React.forwardRef(function TreeView(inProps, ref) {
64
64
  var _themeProps$disabledI, _themeProps$disableSe, _themeProps$multiSele, _themeProps$defaultEx, _themeProps$defaultSe;
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-tree-view v6.0.0-alpha.1
2
+ * @mui/x-tree-view v6.0.0-alpha.3
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -58,6 +58,8 @@ var StyledTreeItemContent = styled(TreeItemContent, {
58
58
  return _ref4 = {
59
59
  padding: '0 8px',
60
60
  width: '100%',
61
+ boxSizing: 'border-box',
62
+ // prevent width + padding to overflow
61
63
  display: 'flex',
62
64
  alignItems: 'center',
63
65
  cursor: 'pointer',
@@ -95,10 +97,12 @@ var StyledTreeItemContent = styled(TreeItemContent, {
95
97
  fontSize: 18
96
98
  }
97
99
  }), _defineProperty(_ref4, "& .".concat(treeItemClasses.label), _extends({
100
+ paddingLeft: 4,
98
101
  width: '100%',
102
+ boxSizing: 'border-box',
103
+ // prevent width + padding to overflow
99
104
  // fixes overflow - see https://github.com/mui/material-ui/issues/27372
100
105
  minWidth: 0,
101
- paddingLeft: 4,
102
106
  position: 'relative'
103
107
  }, theme.typography.body1)), _ref4;
104
108
  });
@@ -118,11 +122,11 @@ var TreeItemGroup = styled(Collapse, {
118
122
  *
119
123
  * Demos:
120
124
  *
121
- * - [Tree View](https://mui.com/material-ui/react-tree-view/)
125
+ * - [Tree View](https://mui.com/x/react-tree-view/)
122
126
  *
123
127
  * API:
124
128
  *
125
- * - [TreeItem API](https://mui.com/material-ui/api/tree-item/)
129
+ * - [TreeItem API](https://mui.com/x/api/tree-view/tree-item/)
126
130
  */
127
131
  export var TreeItem = /*#__PURE__*/React.forwardRef(function TreeItem(inProps, ref) {
128
132
  var props = useThemeProps({
@@ -1,4 +1,4 @@
1
1
  export * from './TreeItem';
2
2
  export * from './useTreeItem';
3
3
  export * from './treeItemClasses';
4
- export {};
4
+ export { TreeItemContent } from './TreeItemContent';
@@ -55,11 +55,11 @@ var defaultDefaultSelected = [];
55
55
  *
56
56
  * Demos:
57
57
  *
58
- * - [Tree View](https://mui.com/material-ui/react-tree-view/)
58
+ * - [Tree View](https://mui.com/x/react-tree-view/)
59
59
  *
60
60
  * API:
61
61
  *
62
- * - [TreeView API](https://mui.com/material-ui/api/tree-view/)
62
+ * - [TreeView API](https://mui.com/x/api/tree-view/tree-view/)
63
63
  */
64
64
  var TreeView = /*#__PURE__*/React.forwardRef(function TreeView(inProps, ref) {
65
65
  var _themeProps$disabledI, _themeProps$disableSe, _themeProps$multiSele, _themeProps$defaultEx, _themeProps$defaultSe;
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-tree-view v6.0.0-alpha.1
2
+ * @mui/x-tree-view v6.0.0-alpha.3
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -59,6 +59,8 @@ const StyledTreeItemContent = styled(TreeItemContent, {
59
59
  }) => ({
60
60
  padding: '0 8px',
61
61
  width: '100%',
62
+ boxSizing: 'border-box',
63
+ // prevent width + padding to overflow
62
64
  display: 'flex',
63
65
  alignItems: 'center',
64
66
  cursor: 'pointer',
@@ -101,10 +103,12 @@ const StyledTreeItemContent = styled(TreeItemContent, {
101
103
  }
102
104
  },
103
105
  [`& .${treeItemClasses.label}`]: _extends({
106
+ paddingLeft: 4,
104
107
  width: '100%',
108
+ boxSizing: 'border-box',
109
+ // prevent width + padding to overflow
105
110
  // fixes overflow - see https://github.com/mui/material-ui/issues/27372
106
111
  minWidth: 0,
107
- paddingLeft: 4,
108
112
  position: 'relative'
109
113
  }, theme.typography.body1)
110
114
  }));
@@ -122,11 +126,11 @@ const TreeItemGroup = styled(Collapse, {
122
126
  *
123
127
  * Demos:
124
128
  *
125
- * - [Tree View](https://mui.com/material-ui/react-tree-view/)
129
+ * - [Tree View](https://mui.com/x/react-tree-view/)
126
130
  *
127
131
  * API:
128
132
  *
129
- * - [TreeItem API](https://mui.com/material-ui/api/tree-item/)
133
+ * - [TreeItem API](https://mui.com/x/api/tree-view/tree-item/)
130
134
  */
131
135
  export const TreeItem = /*#__PURE__*/React.forwardRef(function TreeItem(inProps, ref) {
132
136
  const props = useThemeProps({
@@ -1,4 +1,4 @@
1
1
  export * from './TreeItem';
2
2
  export * from './useTreeItem';
3
3
  export * from './treeItemClasses';
4
- export {};
4
+ export { TreeItemContent } from './TreeItemContent';
@@ -54,11 +54,11 @@ const defaultDefaultSelected = [];
54
54
  *
55
55
  * Demos:
56
56
  *
57
- * - [Tree View](https://mui.com/material-ui/react-tree-view/)
57
+ * - [Tree View](https://mui.com/x/react-tree-view/)
58
58
  *
59
59
  * API:
60
60
  *
61
- * - [TreeView API](https://mui.com/material-ui/api/tree-view/)
61
+ * - [TreeView API](https://mui.com/x/api/tree-view/tree-view/)
62
62
  */
63
63
  const TreeView = /*#__PURE__*/React.forwardRef(function TreeView(inProps, ref) {
64
64
  const themeProps = useThemeProps({
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-tree-view v6.0.0-alpha.1
2
+ * @mui/x-tree-view v6.0.0-alpha.3
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -67,6 +67,8 @@ const StyledTreeItemContent = (0, _styles.styled)(_TreeItemContent.TreeItemConte
67
67
  }) => ({
68
68
  padding: '0 8px',
69
69
  width: '100%',
70
+ boxSizing: 'border-box',
71
+ // prevent width + padding to overflow
70
72
  display: 'flex',
71
73
  alignItems: 'center',
72
74
  cursor: 'pointer',
@@ -109,10 +111,12 @@ const StyledTreeItemContent = (0, _styles.styled)(_TreeItemContent.TreeItemConte
109
111
  }
110
112
  },
111
113
  [`& .${_treeItemClasses.treeItemClasses.label}`]: (0, _extends2.default)({
114
+ paddingLeft: 4,
112
115
  width: '100%',
116
+ boxSizing: 'border-box',
117
+ // prevent width + padding to overflow
113
118
  // fixes overflow - see https://github.com/mui/material-ui/issues/27372
114
119
  minWidth: 0,
115
- paddingLeft: 4,
116
120
  position: 'relative'
117
121
  }, theme.typography.body1)
118
122
  }));
@@ -130,11 +134,11 @@ const TreeItemGroup = (0, _styles.styled)(_Collapse.default, {
130
134
  *
131
135
  * Demos:
132
136
  *
133
- * - [Tree View](https://mui.com/material-ui/react-tree-view/)
137
+ * - [Tree View](https://mui.com/x/react-tree-view/)
134
138
  *
135
139
  * API:
136
140
  *
137
- * - [TreeItem API](https://mui.com/material-ui/api/tree-item/)
141
+ * - [TreeItem API](https://mui.com/x/api/tree-view/tree-item/)
138
142
  */
139
143
  const TreeItem = /*#__PURE__*/React.forwardRef(function TreeItem(inProps, ref) {
140
144
  const props = (0, _styles.useThemeProps)({
@@ -3,9 +3,19 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ var _exportNames = {
7
+ TreeItemContent: true
8
+ };
9
+ Object.defineProperty(exports, "TreeItemContent", {
10
+ enumerable: true,
11
+ get: function () {
12
+ return _TreeItemContent.TreeItemContent;
13
+ }
14
+ });
6
15
  var _TreeItem = require("./TreeItem");
7
16
  Object.keys(_TreeItem).forEach(function (key) {
8
17
  if (key === "default" || key === "__esModule") return;
18
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
9
19
  if (key in exports && exports[key] === _TreeItem[key]) return;
10
20
  Object.defineProperty(exports, key, {
11
21
  enumerable: true,
@@ -17,6 +27,7 @@ Object.keys(_TreeItem).forEach(function (key) {
17
27
  var _useTreeItem = require("./useTreeItem");
18
28
  Object.keys(_useTreeItem).forEach(function (key) {
19
29
  if (key === "default" || key === "__esModule") return;
30
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
20
31
  if (key in exports && exports[key] === _useTreeItem[key]) return;
21
32
  Object.defineProperty(exports, key, {
22
33
  enumerable: true,
@@ -28,6 +39,7 @@ Object.keys(_useTreeItem).forEach(function (key) {
28
39
  var _treeItemClasses = require("./treeItemClasses");
29
40
  Object.keys(_treeItemClasses).forEach(function (key) {
30
41
  if (key === "default" || key === "__esModule") return;
42
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
31
43
  if (key in exports && exports[key] === _treeItemClasses[key]) return;
32
44
  Object.defineProperty(exports, key, {
33
45
  enumerable: true,
@@ -35,4 +47,5 @@ Object.keys(_treeItemClasses).forEach(function (key) {
35
47
  return _treeItemClasses[key];
36
48
  }
37
49
  });
38
- });
50
+ });
51
+ var _TreeItemContent = require("./TreeItemContent");
@@ -63,11 +63,11 @@ const defaultDefaultSelected = [];
63
63
  *
64
64
  * Demos:
65
65
  *
66
- * - [Tree View](https://mui.com/material-ui/react-tree-view/)
66
+ * - [Tree View](https://mui.com/x/react-tree-view/)
67
67
  *
68
68
  * API:
69
69
  *
70
- * - [TreeView API](https://mui.com/material-ui/api/tree-view/)
70
+ * - [TreeView API](https://mui.com/x/api/tree-view/tree-view/)
71
71
  */
72
72
  const TreeView = /*#__PURE__*/React.forwardRef(function TreeView(inProps, ref) {
73
73
  const themeProps = (0, _styles.useThemeProps)({
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-tree-view v6.0.0-alpha.1
2
+ * @mui/x-tree-view v6.0.0-alpha.3
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-tree-view",
3
- "version": "6.0.0-alpha.1",
3
+ "version": "6.0.0-alpha.3",
4
4
  "description": "The community edition of the tree view components (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",
@@ -31,8 +31,9 @@
31
31
  "directory": "packages/x-tree-view"
32
32
  },
33
33
  "dependencies": {
34
- "@babel/runtime": "^7.22.6",
35
- "@mui/utils": "^5.14.3",
34
+ "@babel/runtime": "^7.22.15",
35
+ "@mui/base": "^5.0.0-beta.14",
36
+ "@mui/utils": "^5.14.8",
36
37
  "@types/react-transition-group": "^4.4.6",
37
38
  "clsx": "^2.0.0",
38
39
  "prop-types": "^15.8.1",
@@ -41,7 +42,6 @@
41
42
  "peerDependencies": {
42
43
  "@emotion/react": "^11.9.0",
43
44
  "@emotion/styled": "^11.8.1",
44
- "@mui/base": "^5.0.0-alpha.87",
45
45
  "@mui/material": "^5.8.6",
46
46
  "@mui/system": "^5.8.0",
47
47
  "react": "^17.0.0 || ^18.0.0",