@mui/x-tree-view-pro 7.26.0 → 7.28.1

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,336 @@
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
+ ## 7.28.1
7
+
8
+ _Mar 21, 2025_
9
+
10
+ We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🐞 Bugfixes
13
+
14
+ Special thanks go out to the community contributors who have helped make this release possible:
15
+ @jyash97, @nusr.
16
+
17
+ Following are all team members who have contributed to this release:
18
+ @arminmeh, @KenanYusuf.
19
+
20
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
21
+
22
+ ### Data Grid
23
+
24
+ #### `@mui/x-data-grid@7.28.1`
25
+
26
+ - [DataGrid] Fix error while editing rows with custom id (@arminmeh) (#17050)
27
+
28
+ #### `@mui/x-data-grid-pro@7.28.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
29
+
30
+ Same changes as in `@mui/x-data-grid@7.28.1`, plus:
31
+
32
+ - [DataGridPro] Fix header select checkbox state with `checkboxSelectionVisibleOnly` and `paginationMode="server"` (@arminmeh) (#17032)
33
+
34
+ #### `@mui/x-data-grid-premium@7.28.1` [![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@7.28.1`, plus:
37
+
38
+ - [DataGridPremium] Update column state correctly when grouping mode is updated with one grouping column (@arminmeh) (#17074)
39
+
40
+ ### Tree View
41
+
42
+ #### `@mui/x-tree-view@7.28.1`
43
+
44
+ Internal changes.
45
+
46
+ #### `@mui/x-tree-view-pro@7.28.1` [![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-tree-view@7.28.1`, plus:
49
+
50
+ - [TreeView] Allow moving an item after the last children of some other item (@jyash97) (#17065)
51
+
52
+ ### Docs
53
+
54
+ - [docs] Fix Data Grid advanced list view demo (#17066) @KenanYusuf
55
+ - [docs] Fix custom detail panel toggle state update (@nusr) (#17018)
56
+
57
+ ## 7.28.0
58
+
59
+ _Mar 17, 2025_
60
+
61
+ We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
62
+
63
+ - 🎁 Add support for `@mui/material` version 7 in all X packages
64
+ - 🐞 Bugfixes
65
+ - 🌍 Improve Chinese (zh-CN), (zh-HK), (zh-TW), Czech (cs-CZ), Korean (ko-KR) and Slovak (sk-Sk) locales on the Data Grid
66
+ - 🌍 Improve Chinese (zh-CN), (zh-HK) and (zh-TW) locales on the Pickers
67
+
68
+ Special thanks go out to the community contributors who have helped make this release possible:
69
+ @Blake-McCullough, @hlavacz, @yelahj, @k-rajat19, @nusr.
70
+ Following are all team members who have contributed to this release:
71
+ @arminmeh, @flaviendelangle, @LukasTy, @michelengelen, @MBilalShafi.
72
+
73
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
74
+
75
+ ### Data Grid
76
+
77
+ #### `@mui/x-data-grid@7.28.0`
78
+
79
+ - [DataGrid] Add click propagation and prevents default on `toggleMenu` click (#16909) @michelengelen
80
+ - [DataGrid] Fix `processRowUpdate()` error if the row is removed before it is executed (#16904) @arminmeh
81
+ - [DataGrid] Fix bug with adding and removing columns in active edit state (#16916) @Blake-McCullough
82
+ - [DataGrid] Fix visual issue with pinned columns and row spanning (#16942) @MBilalShafi
83
+ - [DataGrid] Make column header menu button aria-labels unique (#16925) @owais635
84
+ - [DataGrid] Fix `printOptions` not respecting `hideFooter` root prop (#16915) @k-rajat19
85
+ - [l10n] Improve Chinese (zh-CN), (zh-HK) and (zh-TW) locales (#16917 and #16887) @nusr
86
+ - [l10n] Improve Czech (cs-CZ) and Slovak (sk-Sk) locales (#16996) @hlavacz
87
+ - [l10n] Improve Korean (ko-KR) locale (#16998) @yelahj
88
+
89
+ #### `@mui/x-data-grid-pro@7.28.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
90
+
91
+ Same changes as in `@mui/x-data-grid@7.28.0`, plus:
92
+
93
+ - [DataGridPro] Fix header filters not displaying restored values (#16976) @MBilalShafi
94
+ - [DataGridPro] Fix infinite loading not reacting when scrolling to the end (#16939) @arminmeh
95
+
96
+ #### `@mui/x-data-grid-premium@7.28.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
97
+
98
+ Same changes as in `@mui/x-data-grid-pro@7.28.0`, plus:
99
+
100
+ - [DataGridPremium] Fix selection propagation issues with controlled state (#16995) @MBilalShafi
101
+
102
+ ### Date and Time Pickers
103
+
104
+ #### `@mui/x-date-pickers@7.28.0`
105
+
106
+ - [l10n] Improve Chinese (zh-CN), (zh-HK) and (zh-TW) locales (#16997) @nusr
107
+
108
+ #### `@mui/x-date-pickers-pro@7.28.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-date-pickers@7.28.0`, plus:
111
+
112
+ - [DateRangeCalendar] Do not update the previewed day when hovering a day and the value is empty (#16892) @flaviendelangle
113
+
114
+ ### Charts
115
+
116
+ #### `@mui/x-charts@7.28.0`
117
+
118
+ Internal changes.
119
+
120
+ #### `@mui/x-charts-pro@7.28.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
121
+
122
+ Same changes as in `@mui/x-charts@7.28.0`.
123
+
124
+ ### Tree View
125
+
126
+ #### `@mui/x-tree-view@7.28.0`
127
+
128
+ Internal changes.
129
+
130
+ #### `@mui/x-tree-view-pro@7.28.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
131
+
132
+ Same changes as in `@mui/x-tree-view@7.28.0`.
133
+
134
+ ### Docs
135
+
136
+ - [docs] Fix link to the lazy loading demo for the DataGrid (#16912) @nusr
137
+
138
+ ### Core
139
+
140
+ - [core] Allow `@mui/material` v7 in dependencies (#16951) @LukasTy
141
+ - [infra] Make tests on React 18 part of pipeline (#16958) @LukasTy
142
+
143
+ ## 7.27.3
144
+
145
+ _Mar 7, 2025_
146
+
147
+ We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
148
+
149
+ - 🐞 Bugfixes
150
+
151
+ Team members who have contributed to this release:
152
+ @arminmeh, @cherniavskii, @LukasTy, @michelengelen.
153
+
154
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
155
+
156
+ ### Data Grid
157
+
158
+ #### `@mui/x-data-grid@7.27.3`
159
+
160
+ - [DataGrid] Fix `aria-hidden` console error when scrollbar is dragged (#16834) @arminmeh
161
+ - [DataGrid] Fix scroll jump with dynamic row height (#16801) @cherniavskii
162
+
163
+ #### `@mui/x-data-grid-pro@7.27.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
164
+
165
+ Same changes as in `@mui/x-data-grid@7.27.3`.
166
+
167
+ #### `@mui/x-data-grid-premium@7.27.3` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
168
+
169
+ Same changes as in `@mui/x-data-grid-pro@7.27.3`.
170
+
171
+ ### Date and Time Pickers
172
+
173
+ #### `@mui/x-date-pickers@7.27.3`
174
+
175
+ - [fields] Fix Fields aria relationship with `helperText` (#16828) @LukasTy
176
+
177
+ #### `@mui/x-date-pickers-pro@7.27.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
178
+
179
+ Same changes as in `@mui/x-date-pickers@7.27.3`.
180
+
181
+ ### Core
182
+
183
+ - [infra] Update contributor acknowledgment wording (#16753) @michelengelen
184
+
185
+ ## 7.27.2
186
+
187
+ <!-- generated comparing v7.27.1..v7.x -->
188
+
189
+ _Feb 27, 2025_
190
+
191
+ We'd like to offer a big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
192
+
193
+ - 🐞 Bugfixes
194
+ - 🌍 Improve Hungarian (hu-HU) and Russian (ru-RU) locales on the Data Grid
195
+
196
+ Special thanks go out to the community contributors who have helped make this release possible:
197
+ @pcorpet, @noherczeg, @denpiligrim.
198
+ Following are all team members who have contributed to this release:
199
+ @MBilalShafi, @KenanYusuf.
200
+
201
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
202
+
203
+ ### Data Grid
204
+
205
+ #### `@mui/x-data-grid@v7.27.2`
206
+
207
+ - [DataGrid] Fix `showColumnVerticalBorder` prop (#16726) @KenanYusuf
208
+ - [DataGrid] Make server-side data navigation consistent (#16735) @MBilalShafi
209
+ - [DataGrid] Use readonly array for `GridSortModel` (#16731) @pcorpet
210
+ - [l10n] Improve Hungarian (hu-HU) locale (#16746) @noherczeg
211
+ - [l10n] Improve Russian (ru-RU) locale (#16725) @denpiligrim
212
+
213
+ #### `@mui/x-data-grid-pro@v7.27.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
214
+
215
+ Same changes as in `@mui/x-data-grid@v7.27.2`.
216
+
217
+ #### `@mui/x-data-grid-premium@v7.27.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
218
+
219
+ Same changes as in `@mui/x-data-grid-pro@v7.27.2`.
220
+
221
+ ## 7.27.1
222
+
223
+ _Feb 25, 2025_
224
+
225
+ We'd like to offer a big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
226
+
227
+ - 🐞 Bugfixes
228
+ - 🌍 Add Bangla (bn-BD) locale on the Data Grid and Date Pickers
229
+
230
+ Special thanks go out to the community contributors who have helped make this release possible:
231
+ @nusr, @officialkidmax.
232
+ Following are all team members who have contributed to this release:
233
+ @bernardobelchior, @MBilalShafi, @KenanYusuf.
234
+
235
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
236
+
237
+ ### Data Grid
238
+
239
+ #### `@mui/x-data-grid@7.27.1`
240
+
241
+ - [DataGrid] Fix the pagination unexpected behavior when using -1 for "All" rows per page (#16485) @nusr
242
+ - [DataGrid] Extract `getRowId()` API method as a selector (#16574) @MBilalShafi
243
+ - [DataGrid] Fix scrollbars overlapping cells on mount (#16653) @KenanYusuf
244
+ - [l10n] Add Bangla (bn-BD) locale (#16649) @officialkidmax
245
+
246
+ #### `@mui/x-data-grid-pro@7.27.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
247
+
248
+ Same changes as in `@mui/x-data-grid@7.27.1`.
249
+
250
+ #### `@mui/x-data-grid-premium@7.27.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
251
+
252
+ Same changes as in `@mui/x-data-grid-pro@7.27.1`.
253
+
254
+ ### Date and Time Pickers
255
+
256
+ #### `@mui/x-date-pickers@7.27.1`
257
+
258
+ - [l10n] Add Bangla (bn-BD) locale (#16649) @officialkidmax
259
+
260
+ #### `@mui/x-date-pickers-pro@7.27.1` [![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@7.27.1`.
263
+
264
+ ### Charts
265
+
266
+ #### `@mui/x-charts@7.27.1`
267
+
268
+ - [charts] Fix empty series array in pie chart (#16657) @bernardobelchior
269
+
270
+ #### `@mui/x-charts-pro@7.27.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
271
+
272
+ Same changes as in `@mui/x-charts@7.27.1`.
273
+
274
+ ## 7.27.0
275
+
276
+ _Feb 17, 2025_
277
+
278
+ We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
279
+
280
+ - ⚡ Improve Data Grid Excel export serialization performance
281
+ - 🐞 Bugfixes
282
+ - 🌍 Improve Polish (pl-PL) and Ukrainian (uk-UA) locale on the Data Grid
283
+
284
+ Special thanks go out to the community contributors who have helped make this release possible:
285
+ @pawelkula, @Neonin.
286
+ Following are all team members who have contributed to this release:
287
+ @cherniavskii, @JCQuintas, @oliviertassinari, @arminmeh and @LukasTy
288
+
289
+ ### Data Grid
290
+
291
+ #### `@mui/x-data-grid@7.27.0`
292
+
293
+ - [DataGrid] Add `resetPageOnSortFilter` prop that resets the page after sorting and filtering (#16580) @arminmeh
294
+ - [DataGrid] Avoid `undefined` value for pagination `rowCount` (#16558) @cherniavskii
295
+ - [l10n] Improve Polish (pl-PL) locale (#16594) @pawelkula
296
+ - [l10n] Improve Ukrainian (uk-UA) locale (#16593) @Neonin
297
+
298
+ #### `@mui/x-data-grid-pro@7.27.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
299
+
300
+ Same changes as in `@mui/x-data-grid@7.27.0`.
301
+
302
+ #### `@mui/x-data-grid-premium@7.27.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
303
+
304
+ Same changes as in `@mui/x-data-grid-pro@7.27.0`, plus:
305
+
306
+ - [DataGridPremium] Fix Excel export Web Worker demo not working in dev mode (#16532) @cherniavskii
307
+ - [DataGridPremium] Improve Excel export serialization performance (#16545) @cherniavskii
308
+ - [DataGridPremium] Namespace Excel export worker (#16539) @oliviertassinari
309
+
310
+ ### Date and Time Pickers
311
+
312
+ #### `@mui/x-date-pickers@7.27.0`
313
+
314
+ Internal changes.
315
+
316
+ #### `@mui/x-date-pickers-pro@7.27.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
317
+
318
+ Same changes as in `@mui/x-date-pickers@7.27.0`, plus:
319
+
320
+ - [DateRangePicker] Avoid unnecessary field section focusing (#16569) @LukasTy
321
+
322
+ ### Charts
323
+
324
+ #### `@mui/x-charts@7.27.0`
325
+
326
+ Internal changes.
327
+
328
+ #### `@mui/x-charts-pro@7.27.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
329
+
330
+ - [charts-pro] Fix automatic type overloads (#16579) @JCQuintas
331
+
332
+ ### Core
333
+
334
+ - [test] Fix Data Grid data source error test on React 18 (#16565) @arminmeh
335
+
6
336
  ## 7.26.0
7
337
 
8
338
  _Feb 7, 2025_
package/README.md CHANGED
@@ -15,7 +15,7 @@ This component has the following peer dependencies that you will need to install
15
15
 
16
16
  ```json
17
17
  "peerDependencies": {
18
- "@mui/material": "^5.15.14 || ^6.0.0",
18
+ "@mui/material": "^5.15.14 || ^6.0.0 || ^7.0.0",
19
19
  "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
20
20
  "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
21
21
  },
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-tree-view-pro v7.26.0
2
+ * @mui/x-tree-view-pro v7.28.1
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -32,6 +32,7 @@ export const useTreeViewItemsReordering = ({
32
32
  const targetItemIndex = instance.getItemIndex(targetItemMeta.id);
33
33
  const draggedItemMeta = instance.getItemMeta(itemsReordering.draggedItemId);
34
34
  const draggedItemIndex = instance.getItemIndex(draggedItemMeta.id);
35
+ const isTargetLastSibling = targetItemIndex === instance.getItemOrderedChildrenIds(targetItemMeta.parentId).length - 1;
35
36
  const oldPosition = {
36
37
  parentId: draggedItemMeta.parentId,
37
38
  index: draggedItemIndex
@@ -61,10 +62,10 @@ export const useTreeViewItemsReordering = ({
61
62
  parentId: targetItemMeta.parentId,
62
63
  index: targetItemMeta.parentId === draggedItemMeta.parentId && targetItemIndex > draggedItemIndex ? targetItemIndex - 1 : targetItemIndex
63
64
  },
64
- 'reorder-below': targetItemMeta.expandable ? null : {
65
+ 'reorder-below': !targetItemMeta.expandable || isTargetLastSibling ? {
65
66
  parentId: targetItemMeta.parentId,
66
67
  index: targetItemMeta.parentId === draggedItemMeta.parentId && targetItemIndex > draggedItemIndex ? targetItemIndex : targetItemIndex + 1
67
- },
68
+ } : null,
68
69
  'move-to-parent': targetItemMeta.parentId == null ? null : {
69
70
  parentId: targetItemMeta.parentId,
70
71
  index: instance.getItemOrderedChildrenIds(targetItemMeta.parentId).length
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTczODg4MjgwMDAwMA==";
3
+ const releaseInfo = "MTc0MjUxNTIwMDAwMA==";
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
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-tree-view-pro v7.26.0
2
+ * @mui/x-tree-view-pro v7.28.1
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -32,6 +32,7 @@ export const useTreeViewItemsReordering = ({
32
32
  const targetItemIndex = instance.getItemIndex(targetItemMeta.id);
33
33
  const draggedItemMeta = instance.getItemMeta(itemsReordering.draggedItemId);
34
34
  const draggedItemIndex = instance.getItemIndex(draggedItemMeta.id);
35
+ const isTargetLastSibling = targetItemIndex === instance.getItemOrderedChildrenIds(targetItemMeta.parentId).length - 1;
35
36
  const oldPosition = {
36
37
  parentId: draggedItemMeta.parentId,
37
38
  index: draggedItemIndex
@@ -61,10 +62,10 @@ export const useTreeViewItemsReordering = ({
61
62
  parentId: targetItemMeta.parentId,
62
63
  index: targetItemMeta.parentId === draggedItemMeta.parentId && targetItemIndex > draggedItemIndex ? targetItemIndex - 1 : targetItemIndex
63
64
  },
64
- 'reorder-below': targetItemMeta.expandable ? null : {
65
+ 'reorder-below': !targetItemMeta.expandable || isTargetLastSibling ? {
65
66
  parentId: targetItemMeta.parentId,
66
67
  index: targetItemMeta.parentId === draggedItemMeta.parentId && targetItemIndex > draggedItemIndex ? targetItemIndex : targetItemIndex + 1
67
- },
68
+ } : null,
68
69
  'move-to-parent': targetItemMeta.parentId == null ? null : {
69
70
  parentId: targetItemMeta.parentId,
70
71
  index: instance.getItemOrderedChildrenIds(targetItemMeta.parentId).length
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTczODg4MjgwMDAwMA==";
3
+ const releaseInfo = "MTc0MjUxNTIwMDAwMA==";
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
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-tree-view-pro v7.26.0
2
+ * @mui/x-tree-view-pro v7.28.1
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -40,6 +40,7 @@ const useTreeViewItemsReordering = ({
40
40
  const targetItemIndex = instance.getItemIndex(targetItemMeta.id);
41
41
  const draggedItemMeta = instance.getItemMeta(itemsReordering.draggedItemId);
42
42
  const draggedItemIndex = instance.getItemIndex(draggedItemMeta.id);
43
+ const isTargetLastSibling = targetItemIndex === instance.getItemOrderedChildrenIds(targetItemMeta.parentId).length - 1;
43
44
  const oldPosition = {
44
45
  parentId: draggedItemMeta.parentId,
45
46
  index: draggedItemIndex
@@ -69,10 +70,10 @@ const useTreeViewItemsReordering = ({
69
70
  parentId: targetItemMeta.parentId,
70
71
  index: targetItemMeta.parentId === draggedItemMeta.parentId && targetItemIndex > draggedItemIndex ? targetItemIndex - 1 : targetItemIndex
71
72
  },
72
- 'reorder-below': targetItemMeta.expandable ? null : {
73
+ 'reorder-below': !targetItemMeta.expandable || isTargetLastSibling ? {
73
74
  parentId: targetItemMeta.parentId,
74
75
  index: targetItemMeta.parentId === draggedItemMeta.parentId && targetItemIndex > draggedItemIndex ? targetItemIndex : targetItemIndex + 1
75
- },
76
+ } : null,
76
77
  'move-to-parent': targetItemMeta.parentId == null ? null : {
77
78
  parentId: targetItemMeta.parentId,
78
79
  index: instance.getItemOrderedChildrenIds(targetItemMeta.parentId).length
@@ -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 = "MTczODg4MjgwMDAwMA==";
9
+ const releaseInfo = "MTc0MjUxNTIwMDAwMA==";
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.26.0",
3
+ "version": "7.28.1",
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",
@@ -34,20 +34,20 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@babel/runtime": "^7.25.7",
37
- "@mui/utils": "^5.16.6 || ^6.0.0",
37
+ "@mui/utils": "^5.16.6 || ^6.0.0 || ^7.0.0 || ^7.0.0-beta",
38
38
  "@types/react-transition-group": "^4.4.11",
39
39
  "clsx": "^2.1.1",
40
40
  "prop-types": "^15.8.1",
41
41
  "react-transition-group": "^4.4.5",
42
- "@mui/x-internals": "7.26.0",
43
- "@mui/x-license": "7.26.0",
44
- "@mui/x-tree-view": "7.26.0"
42
+ "@mui/x-internals": "7.28.0",
43
+ "@mui/x-license": "7.28.0",
44
+ "@mui/x-tree-view": "7.28.1"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@emotion/react": "^11.9.0",
48
48
  "@emotion/styled": "^11.8.1",
49
- "@mui/material": "^5.15.14 || ^6.0.0",
50
- "@mui/system": "^5.15.14 || ^6.0.0",
49
+ "@mui/material": "^5.15.14 || ^6.0.0 || ^7.0.0 || ^7.0.0-beta",
50
+ "@mui/system": "^5.15.14 || ^6.0.0 || ^7.0.0 || ^7.0.0-beta",
51
51
  "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
52
52
  "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
53
53
  },