@mui/x-tree-view-pro 7.29.0 → 7.29.10
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 +404 -0
- package/index.js +1 -1
- package/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.js +16 -8
- package/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.types.d.ts +2 -1
- package/internals/utils/releaseInfo.js +1 -1
- package/modern/index.js +1 -1
- package/modern/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.js +16 -8
- package/modern/internals/utils/releaseInfo.js +1 -1
- package/node/index.js +1 -1
- package/node/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.js +16 -8
- package/node/internals/utils/releaseInfo.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,410 @@
|
|
|
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
|
+
## v7.29.10
|
|
7
|
+
|
|
8
|
+
_Sep 25, 2025_
|
|
9
|
+
|
|
10
|
+
We'd like to extend a big thank you to the 1 contributor who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🐞 Bugfixes
|
|
13
|
+
|
|
14
|
+
The following is the team member who have contributed to this release:
|
|
15
|
+
@flaviendelangle
|
|
16
|
+
|
|
17
|
+
### Tree View
|
|
18
|
+
|
|
19
|
+
#### `@mui/x-tree-view@7.29.10`
|
|
20
|
+
|
|
21
|
+
- [tree view] Fix the expansion toggle on icon container with old DOM structure (#19546) @flaviendelangle
|
|
22
|
+
|
|
23
|
+
#### `@mui/x-tree-view-pro@7.29.10` [](https://mui.com/r/x-pro-svg-link "Pro plan")
|
|
24
|
+
|
|
25
|
+
Same changes as in `@mui/x-tree-view@7.29.10`.
|
|
26
|
+
|
|
27
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
28
|
+
|
|
29
|
+
## 7.29.9
|
|
30
|
+
|
|
31
|
+
_Aug 7, 2025_
|
|
32
|
+
|
|
33
|
+
We'd like to extend a big thank you to the 5 contributors who made this release possible. Here are some highlights ✨:
|
|
34
|
+
|
|
35
|
+
- 🐞 Bugfixes
|
|
36
|
+
|
|
37
|
+
Special thanks go out to the community members for their valuable contributions:
|
|
38
|
+
@nusr
|
|
39
|
+
|
|
40
|
+
The following are all team members who have contributed to this release:
|
|
41
|
+
@cherniavskii, @mapache-salvaje, @MBilalShafi, @rita-codes
|
|
42
|
+
|
|
43
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
44
|
+
|
|
45
|
+
### Data Grid
|
|
46
|
+
|
|
47
|
+
#### `@mui/x-data-grid@7.29.9`
|
|
48
|
+
|
|
49
|
+
- [DataGrid] Do not call `preProcessEditCellProps()` if cell is not editable based on `isCellEditable()` (#19082) @nusr
|
|
50
|
+
|
|
51
|
+
#### `@mui/x-data-grid-pro@7.29.9` [](https://mui.com/r/x-pro-svg-link "Pro plan")
|
|
52
|
+
|
|
53
|
+
Same changes as in `@mui/x-data-grid@7.29.9`, plus:
|
|
54
|
+
|
|
55
|
+
- [DataGridPro] Fix row ordering not auto-scrolling when moving beyond viewport (#18718) @MBilalShafi
|
|
56
|
+
|
|
57
|
+
#### `@mui/x-data-grid-premium@7.29.9` [](https://mui.com/r/x-premium-svg-link "Premium plan")
|
|
58
|
+
|
|
59
|
+
Same changes as in `@mui/x-data-grid-pro@7.29.9`.
|
|
60
|
+
|
|
61
|
+
### Docs
|
|
62
|
+
|
|
63
|
+
- [docs] Audit and revise the Data Grid Pro row docs (#18629) @mapache-salvaje
|
|
64
|
+
- [docs] Fix `size` column filtering in files tree demo (#18728) @cherniavskii
|
|
65
|
+
|
|
66
|
+
### Miscellaneous
|
|
67
|
+
|
|
68
|
+
- Update readme publish release command V7 (#18684) @rita-codes
|
|
69
|
+
|
|
70
|
+
## v7.29.8
|
|
71
|
+
|
|
72
|
+
_Jul 4, 2025_
|
|
73
|
+
|
|
74
|
+
We'd like to extend a big thank you to the 3 contributors who made this release possible. Here are some highlights ✨:
|
|
75
|
+
|
|
76
|
+
- 🐞 Bugfixes
|
|
77
|
+
|
|
78
|
+
Special thanks go out to the community members for their valuable contributions:
|
|
79
|
+
@sai6855
|
|
80
|
+
|
|
81
|
+
The following are all team members who have contributed to this release:
|
|
82
|
+
@bernardobelchior, @michelengelen
|
|
83
|
+
|
|
84
|
+
### Data Grid
|
|
85
|
+
|
|
86
|
+
#### `@mui/x-data-grid@7.29.8`
|
|
87
|
+
|
|
88
|
+
- [DataGrid] Fix `apiRef` not being passed on `onCellClick` params (#17528) @sai6855
|
|
89
|
+
|
|
90
|
+
#### `@mui/x-data-grid-pro@7.29.8` [](https://mui.com/r/x-pro-svg-link "Pro plan")
|
|
91
|
+
|
|
92
|
+
Same changes as in `@mui/x-data-grid@7.29.8`.
|
|
93
|
+
|
|
94
|
+
#### `@mui/x-data-grid-premium@7.29.8` [](https://mui.com/r/x-premium-svg-link "Premium plan")
|
|
95
|
+
|
|
96
|
+
Same changes as in `@mui/x-data-grid-pro@7.29.8`.
|
|
97
|
+
|
|
98
|
+
### Miscellaneous
|
|
99
|
+
|
|
100
|
+
- [infra] Add `test_package` to fix CI (#18553) @bernardobelchior
|
|
101
|
+
- [infra] Aligned preparation script with master version (#18672) @michelengelen
|
|
102
|
+
- [infra] Updates release script to fetch latest major version from upstream (#18649) @michelengelen
|
|
103
|
+
|
|
104
|
+
## v7.29.7
|
|
105
|
+
|
|
106
|
+
<!-- generated comparing v7.29.6..v7.x -->
|
|
107
|
+
|
|
108
|
+
_Jun 26, 2025_
|
|
109
|
+
|
|
110
|
+
We'd like to extend a big thank you to the 4 contributors who made this release possible.
|
|
111
|
+
|
|
112
|
+
Special thanks go out to the community members for their valuable contributions:
|
|
113
|
+
@alisasanib
|
|
114
|
+
|
|
115
|
+
Following are all team members who have contributed to this release:
|
|
116
|
+
@mapache-salvaje, @arminmeh, @michelengelen
|
|
117
|
+
|
|
118
|
+
### Data Grid
|
|
119
|
+
|
|
120
|
+
#### `@mui/x-data-grid@7.29.7`
|
|
121
|
+
|
|
122
|
+
Internal changes.
|
|
123
|
+
|
|
124
|
+
#### `@mui/x-data-grid-pro@7.29.7` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
125
|
+
|
|
126
|
+
Same changes as in `@mui/x-data-grid@7.29.7`, plus:
|
|
127
|
+
|
|
128
|
+
- [DataGridPro] Fix pinned columns order in column management (#18053) @alisasanib
|
|
129
|
+
|
|
130
|
+
#### `@mui/x-data-grid-premium@7.29.7` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
131
|
+
|
|
132
|
+
Same changes as in `@mui/x-data-grid-pro@7.29.7`.
|
|
133
|
+
|
|
134
|
+
### Docs
|
|
135
|
+
|
|
136
|
+
- [docs] Revise the Row Grouping doc (#17494) @mapache-salvaje
|
|
137
|
+
- [docs] Document `GridRenderContext` (#18501) @arminmeh
|
|
138
|
+
- [docs] Prevent stale rows from appearing on sort and filter change in the lazy loading demo (#18463) @arminmeh
|
|
139
|
+
|
|
140
|
+
### Miscellaneous
|
|
141
|
+
|
|
142
|
+
- [infra] Add automated release PR creation script (#18450) @michelengelen
|
|
143
|
+
|
|
144
|
+
## 7.29.6
|
|
145
|
+
|
|
146
|
+
_Jun 6, 2025_
|
|
147
|
+
|
|
148
|
+
We'd like to extend a big thank you to @arminmeh, who made this release possible.
|
|
149
|
+
|
|
150
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
151
|
+
|
|
152
|
+
### Data Grid
|
|
153
|
+
|
|
154
|
+
#### `@mui/x-data-grid@7.29.6`
|
|
155
|
+
|
|
156
|
+
- [DataGrid] Keep pipe pre-processors execution order when callback reference changes (#18217) @arminmeh
|
|
157
|
+
|
|
158
|
+
#### `@mui/x-data-grid-pro@7.29.6` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
159
|
+
|
|
160
|
+
Same changes as in `@mui/x-data-grid@7.29.6`.
|
|
161
|
+
|
|
162
|
+
#### `@mui/x-data-grid-premium@7.29.6` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
163
|
+
|
|
164
|
+
Same changes as in `@mui/x-data-grid-pro@7.29.6`.
|
|
165
|
+
|
|
166
|
+
### Docs
|
|
167
|
+
|
|
168
|
+
- [docs] Keep `groupingColDef` reference stable in the grid demos (#17549) @arminmeh
|
|
169
|
+
|
|
170
|
+
## 7.29.5
|
|
171
|
+
|
|
172
|
+
_May 29, 2025_
|
|
173
|
+
|
|
174
|
+
We'd like to extend a big thank you to @cherniavskii, who made this release possible.
|
|
175
|
+
|
|
176
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
177
|
+
|
|
178
|
+
### Data Grid
|
|
179
|
+
|
|
180
|
+
#### `@mui/x-data-grid@7.29.5`
|
|
181
|
+
|
|
182
|
+
- [DataGrid] Avoid ResizeObserver loop error (@cherniavskii) (#18005) @github-actions[bot]
|
|
183
|
+
|
|
184
|
+
#### `@mui/x-data-grid-pro@7.29.5` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
185
|
+
|
|
186
|
+
Same changes as in `@mui/x-data-grid@7.29.5`.
|
|
187
|
+
|
|
188
|
+
#### `@mui/x-data-grid-premium@7.29.5` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
189
|
+
|
|
190
|
+
Same changes as in `@mui/x-data-grid-pro@7.29.5`.
|
|
191
|
+
|
|
192
|
+
## 7.29.4
|
|
193
|
+
|
|
194
|
+
_May 22, 2025_
|
|
195
|
+
|
|
196
|
+
We'd like to offer a big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:
|
|
197
|
+
|
|
198
|
+
- 🐞 Bugfixes
|
|
199
|
+
|
|
200
|
+
Special thanks go out to the community members for their valuable contributions:
|
|
201
|
+
@campmarc, @whereisrmsqhs, @jyash97
|
|
202
|
+
|
|
203
|
+
Following are all team members who have contributed to this release:
|
|
204
|
+
@mapache-salvaje, @cherniavskii, @noraleonte.
|
|
205
|
+
|
|
206
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
207
|
+
|
|
208
|
+
### Data Grid
|
|
209
|
+
|
|
210
|
+
#### `@mui/x-data-grid@7.29.4`
|
|
211
|
+
|
|
212
|
+
- [DataGrid] Fix `renderContext` calculation loop (#17806) @cherniavskii
|
|
213
|
+
- [DataGrid] Fix column spanning jump on scroll (#17780) @cherniavskii
|
|
214
|
+
- [DataGrid] Fix content rendering for large rows while using automatic page size (#17866) @campmarc
|
|
215
|
+
|
|
216
|
+
#### `@mui/x-data-grid-pro@7.29.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
217
|
+
|
|
218
|
+
Same changes as in `@mui/x-data-grid@7.29.4`, plus:
|
|
219
|
+
|
|
220
|
+
- [DataGridPro] Add `aria-expanded` attribute to the master detail toggle button (#17890) @whereisrmsqhs
|
|
221
|
+
- [DataGridPro] Prevent text selection when reordering rows (#17920) @jyash97
|
|
222
|
+
|
|
223
|
+
#### `@mui/x-data-grid-premium@7.29.4` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
224
|
+
|
|
225
|
+
Same changes as in `@mui/x-data-grid-pro@7.29.4`.
|
|
226
|
+
|
|
227
|
+
### Date and Time Pickers
|
|
228
|
+
|
|
229
|
+
#### `@mui/x-date-pickers@7.29.4`
|
|
230
|
+
|
|
231
|
+
- [pickers] Fix `PickersTextField` overflow (#17945) @noraleonte
|
|
232
|
+
|
|
233
|
+
#### `@mui/x-date-pickers-pro@7.29.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
234
|
+
|
|
235
|
+
Same changes as in `@mui/x-date-pickers@7.29.4`.
|
|
236
|
+
|
|
237
|
+
### Docs
|
|
238
|
+
|
|
239
|
+
- [docs] Add "upgrade to v8" callout on v7 planned pages (#17901) @mapache-salvaje
|
|
240
|
+
|
|
241
|
+
## 7.29.3
|
|
242
|
+
|
|
243
|
+
_May 8, 2025_
|
|
244
|
+
|
|
245
|
+
We'd like to offer a big thanks to the 3 contributors who made this release possible. Here are some highlights ✨:
|
|
246
|
+
|
|
247
|
+
- 🐞 Bugfixes
|
|
248
|
+
|
|
249
|
+
Team members who have contributed to this release:
|
|
250
|
+
@arminmeh, @LukasTy, and @MBilalShafi.
|
|
251
|
+
|
|
252
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
253
|
+
|
|
254
|
+
### Data Grid
|
|
255
|
+
|
|
256
|
+
#### `@mui/x-data-grid@7.29.3`
|
|
257
|
+
|
|
258
|
+
- [DataGrid] Ignore `preProcessEditCellProps` for non-editable columns when starting a row update (#17734) @arminmeh
|
|
259
|
+
- [DataGrid] Avoid applying row selection propagation on filtered rows (#17742) @MBilalShafi
|
|
260
|
+
|
|
261
|
+
#### `@mui/x-data-grid-pro@7.29.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
262
|
+
|
|
263
|
+
Same changes as in `@mui/x-data-grid@7.29.3`.
|
|
264
|
+
|
|
265
|
+
#### `@mui/x-data-grid-premium@7.29.3` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
266
|
+
|
|
267
|
+
Same changes as in `@mui/x-data-grid-pro@7.29.3`.
|
|
268
|
+
|
|
269
|
+
### Date and Time Pickers
|
|
270
|
+
|
|
271
|
+
#### `@mui/x-date-pickers@7.29.3`
|
|
272
|
+
|
|
273
|
+
- [DateTimePicker] Fix focus behavior on desktop variant (#17730) @LukasTy
|
|
274
|
+
|
|
275
|
+
#### `@mui/x-date-pickers-pro@7.29.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
276
|
+
|
|
277
|
+
Same changes as in `@mui/x-date-pickers@7.29.3`.
|
|
278
|
+
|
|
279
|
+
## 7.29.2
|
|
280
|
+
|
|
281
|
+
_May 1, 2025_
|
|
282
|
+
|
|
283
|
+
We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
|
|
284
|
+
|
|
285
|
+
- 🌍 Add Armenian (hy-AM) locale on the Data Grid
|
|
286
|
+
- 🌍 Improve Italian (it-IT) locale on the Date and Time Pickers
|
|
287
|
+
- 🐞 Bugfixes
|
|
288
|
+
|
|
289
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
290
|
+
@ArturAghakaryan, @federico-ntr.
|
|
291
|
+
|
|
292
|
+
Following are all team members who have contributed to this release:
|
|
293
|
+
@arminmeh, @JCQuintas, @KenanYusuf, @MBilalShafi, @oliviertassinari.
|
|
294
|
+
|
|
295
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
296
|
+
|
|
297
|
+
### Data Grid
|
|
298
|
+
|
|
299
|
+
#### `@mui/x-data-grid@7.29.2`
|
|
300
|
+
|
|
301
|
+
- [DataGrid] Fix column title truncation on touch devices (#17497) @KenanYusuf
|
|
302
|
+
- [DataGrid] Fix theme `defaultProps` causing unwanted re-renders (#17530) @KenanYusuf
|
|
303
|
+
- [l10n] Add Armenian (hy-AM) locale (#17422) @ArturAghakaryan
|
|
304
|
+
- [l10n] Fix l10n export (#17526) @arminmeh
|
|
305
|
+
|
|
306
|
+
#### `@mui/x-data-grid-pro@7.29.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
307
|
+
|
|
308
|
+
Same changes as in `@mui/x-data-grid@7.29.2`.
|
|
309
|
+
|
|
310
|
+
#### `@mui/x-data-grid-premium@7.29.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
311
|
+
|
|
312
|
+
Same changes as in `@mui/x-data-grid-pro@7.29.2`.
|
|
313
|
+
|
|
314
|
+
### Date and Time Pickers
|
|
315
|
+
|
|
316
|
+
#### `@mui/x-date-pickers@7.29.2`
|
|
317
|
+
|
|
318
|
+
- [l10n] Improve Italian (it-IT) locale (#17604) @federico-ntr
|
|
319
|
+
|
|
320
|
+
#### `@mui/x-date-pickers-pro@7.29.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
321
|
+
|
|
322
|
+
Same changes as in `@mui/x-date-pickers@7.29.2`.
|
|
323
|
+
|
|
324
|
+
### Docs
|
|
325
|
+
|
|
326
|
+
- [docs] Fix MUI X v7 install instructions (#17537) @oliviertassinari
|
|
327
|
+
- [docs] Improve data grid export docs (#17553) @MBilalShafi
|
|
328
|
+
|
|
329
|
+
### Core
|
|
330
|
+
|
|
331
|
+
- [core] Fix root package 7.29.1 (#17523) @JCQuintas
|
|
332
|
+
|
|
333
|
+
## 7.29.1
|
|
334
|
+
|
|
335
|
+
_Apr 23, 2025_
|
|
336
|
+
|
|
337
|
+
We'd like to offer a big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
|
|
338
|
+
|
|
339
|
+
- 🐞 Bugfixes
|
|
340
|
+
|
|
341
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
342
|
+
@lhilgert9
|
|
343
|
+
|
|
344
|
+
Following are all team members who have contributed to this release:
|
|
345
|
+
@arminmeh, @cherniavskii, @flaviendelangle, @LukasTy, @romgrk.
|
|
346
|
+
|
|
347
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
348
|
+
|
|
349
|
+
### Data Grid
|
|
350
|
+
|
|
351
|
+
#### `@mui/x-data-grid@7.29.1`
|
|
352
|
+
|
|
353
|
+
- [DataGrid] Prevent scrollbars from showing on top (#17410) @romgrk
|
|
354
|
+
|
|
355
|
+
#### `@mui/x-data-grid-pro@7.29.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
356
|
+
|
|
357
|
+
Same changes as in `@mui/x-data-grid@7.29.1`, plus:
|
|
358
|
+
|
|
359
|
+
- [DataGridPro] Avoid proptypes warnings with header filters in React 17 (#17492) @cherniavskii
|
|
360
|
+
- [DataGridPro] Fix expandable rows detail content height updates (#17509) @arminmeh
|
|
361
|
+
- [DataGridPro] Fix row virtualization not working in list view (#17404) @cherniavskii
|
|
362
|
+
- [DataGridPro] Move locales re-export to allow proper tree shaking (#17438) @lhilgert9
|
|
363
|
+
|
|
364
|
+
#### `@mui/x-data-grid-premium@7.29.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
365
|
+
|
|
366
|
+
Same changes as in `@mui/x-data-grid-pro@7.29.1`, plus:
|
|
367
|
+
|
|
368
|
+
- [DataGridPremium] Use `groupingValueGetter` for row grouping on the server (#17423) @cherniavskii
|
|
369
|
+
|
|
370
|
+
### Date and Time Pickers
|
|
371
|
+
|
|
372
|
+
#### `@mui/x-date-pickers@7.29.1`
|
|
373
|
+
|
|
374
|
+
Internal changes.
|
|
375
|
+
|
|
376
|
+
#### `@mui/x-date-pickers-pro@7.29.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
377
|
+
|
|
378
|
+
Same changes as in `@mui/x-date-pickers@7.29.1`.
|
|
379
|
+
|
|
380
|
+
### Charts
|
|
381
|
+
|
|
382
|
+
#### `@mui/x-charts@7.29.1`
|
|
383
|
+
|
|
384
|
+
Internal changes.
|
|
385
|
+
|
|
386
|
+
#### `@mui/x-charts-pro@7.29.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
387
|
+
|
|
388
|
+
Same changes as in `@mui/x-charts@7.29.1`.
|
|
389
|
+
|
|
390
|
+
### Tree View
|
|
391
|
+
|
|
392
|
+
#### `@mui/x-tree-view@7.29.1`
|
|
393
|
+
|
|
394
|
+
Internal changes.
|
|
395
|
+
|
|
396
|
+
#### `@mui/x-tree-view-pro@7.29.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
397
|
+
|
|
398
|
+
Same changes as in `@mui/x-tree-view@7.29.1`, plus:
|
|
399
|
+
|
|
400
|
+
- [RichTreeViewPro] Fix drag and drop issue with label editing (#17415) @flaviendelangle
|
|
401
|
+
|
|
402
|
+
### Docs
|
|
403
|
+
|
|
404
|
+
- [docs] Use MUI X v7 packages in CodeSandbox and StackBlitz (#17516) @cherniavskii
|
|
405
|
+
|
|
406
|
+
### Core
|
|
407
|
+
|
|
408
|
+
- [core] Bump monorepo (#17437) @LukasTy
|
|
409
|
+
|
|
6
410
|
## 7.29.0
|
|
7
411
|
|
|
8
412
|
_Apr 16, 2025_
|
package/index.js
CHANGED
|
@@ -13,12 +13,15 @@ export const useTreeViewItemsReordering = ({
|
|
|
13
13
|
if (!params.itemsReordering) {
|
|
14
14
|
return false;
|
|
15
15
|
}
|
|
16
|
+
if (state.editedItemId != null) {
|
|
17
|
+
return false;
|
|
18
|
+
}
|
|
16
19
|
const isItemReorderable = params.isItemReorderable;
|
|
17
20
|
if (isItemReorderable) {
|
|
18
21
|
return isItemReorderable(itemId);
|
|
19
22
|
}
|
|
20
23
|
return true;
|
|
21
|
-
}, [params.itemsReordering, params.isItemReorderable]);
|
|
24
|
+
}, [params.itemsReordering, params.isItemReorderable, state.editedItemId]);
|
|
22
25
|
const getDroppingTargetValidActions = React.useCallback(itemId => {
|
|
23
26
|
const itemsReordering = state.itemsReordering;
|
|
24
27
|
if (!itemsReordering) {
|
|
@@ -81,14 +84,19 @@ export const useTreeViewItemsReordering = ({
|
|
|
81
84
|
return validActions;
|
|
82
85
|
}, [instance, state.itemsReordering, params.canMoveItemToNewPosition]);
|
|
83
86
|
const startDraggingItem = React.useCallback(itemId => {
|
|
84
|
-
setState(prevState =>
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
draggedItemId: itemId,
|
|
88
|
-
action: null,
|
|
89
|
-
newPosition: null
|
|
87
|
+
setState(prevState => {
|
|
88
|
+
if (prevState.editedItemId != null) {
|
|
89
|
+
return prevState;
|
|
90
90
|
}
|
|
91
|
-
|
|
91
|
+
return _extends({}, prevState, {
|
|
92
|
+
itemsReordering: {
|
|
93
|
+
targetItemId: itemId,
|
|
94
|
+
draggedItemId: itemId,
|
|
95
|
+
action: null,
|
|
96
|
+
newPosition: null
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
});
|
|
92
100
|
}, [setState]);
|
|
93
101
|
const stopDraggingItem = React.useCallback(itemId => {
|
|
94
102
|
if (state.itemsReordering == null || state.itemsReordering.draggedItemId !== itemId) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DefaultizedProps, TreeViewPluginSignature, UseTreeViewItemsSignature } from '@mui/x-tree-view/internals';
|
|
2
|
+
import { DefaultizedProps, TreeViewPluginSignature, UseTreeViewItemsSignature, UseTreeViewLabelSignature } from '@mui/x-tree-view/internals';
|
|
3
3
|
import { TreeViewItemId, TreeViewItemsReorderingAction, TreeViewCancellableEventHandler } from '@mui/x-tree-view/models';
|
|
4
4
|
import { TreeItem2DragAndDropOverlayProps } from '@mui/x-tree-view/TreeItem2DragAndDropOverlay';
|
|
5
5
|
export interface UseTreeViewItemsReorderingInstance {
|
|
@@ -116,6 +116,7 @@ export type UseTreeViewItemsReorderingSignature = TreeViewPluginSignature<{
|
|
|
116
116
|
contextValue: UseTreeViewItemsReorderingContextValue;
|
|
117
117
|
experimentalFeatures: 'itemsReordering';
|
|
118
118
|
dependencies: [UseTreeViewItemsSignature];
|
|
119
|
+
optionalDependencies: [UseTreeViewLabelSignature];
|
|
119
120
|
}>;
|
|
120
121
|
export interface UseTreeItem2RootSlotPropsFromItemsReordering {
|
|
121
122
|
draggable?: true;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTc1ODc1MTIwMDAwMA==";
|
|
4
4
|
if (process.env.NODE_ENV !== 'production') {
|
|
5
5
|
// A simple hack to set the value in the test environment (has no build step).
|
|
6
6
|
// eslint-disable-next-line no-useless-concat
|
package/modern/index.js
CHANGED
|
@@ -13,12 +13,15 @@ export const useTreeViewItemsReordering = ({
|
|
|
13
13
|
if (!params.itemsReordering) {
|
|
14
14
|
return false;
|
|
15
15
|
}
|
|
16
|
+
if (state.editedItemId != null) {
|
|
17
|
+
return false;
|
|
18
|
+
}
|
|
16
19
|
const isItemReorderable = params.isItemReorderable;
|
|
17
20
|
if (isItemReorderable) {
|
|
18
21
|
return isItemReorderable(itemId);
|
|
19
22
|
}
|
|
20
23
|
return true;
|
|
21
|
-
}, [params.itemsReordering, params.isItemReorderable]);
|
|
24
|
+
}, [params.itemsReordering, params.isItemReorderable, state.editedItemId]);
|
|
22
25
|
const getDroppingTargetValidActions = React.useCallback(itemId => {
|
|
23
26
|
const itemsReordering = state.itemsReordering;
|
|
24
27
|
if (!itemsReordering) {
|
|
@@ -81,14 +84,19 @@ export const useTreeViewItemsReordering = ({
|
|
|
81
84
|
return validActions;
|
|
82
85
|
}, [instance, state.itemsReordering, params.canMoveItemToNewPosition]);
|
|
83
86
|
const startDraggingItem = React.useCallback(itemId => {
|
|
84
|
-
setState(prevState =>
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
draggedItemId: itemId,
|
|
88
|
-
action: null,
|
|
89
|
-
newPosition: null
|
|
87
|
+
setState(prevState => {
|
|
88
|
+
if (prevState.editedItemId != null) {
|
|
89
|
+
return prevState;
|
|
90
90
|
}
|
|
91
|
-
|
|
91
|
+
return _extends({}, prevState, {
|
|
92
|
+
itemsReordering: {
|
|
93
|
+
targetItemId: itemId,
|
|
94
|
+
draggedItemId: itemId,
|
|
95
|
+
action: null,
|
|
96
|
+
newPosition: null
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
});
|
|
92
100
|
}, [setState]);
|
|
93
101
|
const stopDraggingItem = React.useCallback(itemId => {
|
|
94
102
|
if (state.itemsReordering == null || state.itemsReordering.draggedItemId !== itemId) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTc1ODc1MTIwMDAwMA==";
|
|
4
4
|
if (process.env.NODE_ENV !== 'production') {
|
|
5
5
|
// A simple hack to set the value in the test environment (has no build step).
|
|
6
6
|
// eslint-disable-next-line no-useless-concat
|
package/node/index.js
CHANGED
|
@@ -21,12 +21,15 @@ const useTreeViewItemsReordering = ({
|
|
|
21
21
|
if (!params.itemsReordering) {
|
|
22
22
|
return false;
|
|
23
23
|
}
|
|
24
|
+
if (state.editedItemId != null) {
|
|
25
|
+
return false;
|
|
26
|
+
}
|
|
24
27
|
const isItemReorderable = params.isItemReorderable;
|
|
25
28
|
if (isItemReorderable) {
|
|
26
29
|
return isItemReorderable(itemId);
|
|
27
30
|
}
|
|
28
31
|
return true;
|
|
29
|
-
}, [params.itemsReordering, params.isItemReorderable]);
|
|
32
|
+
}, [params.itemsReordering, params.isItemReorderable, state.editedItemId]);
|
|
30
33
|
const getDroppingTargetValidActions = React.useCallback(itemId => {
|
|
31
34
|
const itemsReordering = state.itemsReordering;
|
|
32
35
|
if (!itemsReordering) {
|
|
@@ -89,14 +92,19 @@ const useTreeViewItemsReordering = ({
|
|
|
89
92
|
return validActions;
|
|
90
93
|
}, [instance, state.itemsReordering, params.canMoveItemToNewPosition]);
|
|
91
94
|
const startDraggingItem = React.useCallback(itemId => {
|
|
92
|
-
setState(prevState =>
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
draggedItemId: itemId,
|
|
96
|
-
action: null,
|
|
97
|
-
newPosition: null
|
|
95
|
+
setState(prevState => {
|
|
96
|
+
if (prevState.editedItemId != null) {
|
|
97
|
+
return prevState;
|
|
98
98
|
}
|
|
99
|
-
|
|
99
|
+
return (0, _extends2.default)({}, prevState, {
|
|
100
|
+
itemsReordering: {
|
|
101
|
+
targetItemId: itemId,
|
|
102
|
+
draggedItemId: itemId,
|
|
103
|
+
action: null,
|
|
104
|
+
newPosition: null
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
});
|
|
100
108
|
}, [setState]);
|
|
101
109
|
const stopDraggingItem = React.useCallback(itemId => {
|
|
102
110
|
if (state.itemsReordering == null || state.itemsReordering.draggedItemId !== itemId) {
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.getReleaseInfo = void 0;
|
|
7
7
|
var _utils = require("@mui/utils");
|
|
8
8
|
const getReleaseInfo = () => {
|
|
9
|
-
const releaseInfo = "
|
|
9
|
+
const releaseInfo = "MTc1ODc1MTIwMDAwMA==";
|
|
10
10
|
if (process.env.NODE_ENV !== 'production') {
|
|
11
11
|
// A simple hack to set the value in the test environment (has no build step).
|
|
12
12
|
// eslint-disable-next-line no-useless-concat
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-tree-view-pro",
|
|
3
|
-
"version": "7.29.
|
|
3
|
+
"version": "7.29.10",
|
|
4
4
|
"description": "The Pro plan edition of the Tree View components (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"prop-types": "^15.8.1",
|
|
41
41
|
"react-transition-group": "^4.4.5",
|
|
42
42
|
"@mui/x-internals": "7.29.0",
|
|
43
|
-
"@mui/x-license": "7.29.
|
|
44
|
-
"@mui/x-tree-view": "7.29.
|
|
43
|
+
"@mui/x-license": "7.29.1",
|
|
44
|
+
"@mui/x-tree-view": "7.29.10"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@emotion/react": "^11.9.0",
|