@mui/x-tree-view 8.13.1 → 8.14.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
@@ -5,6 +5,209 @@
5
5
  All notable changes to this project will be documented in this file.
6
6
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
7
7
 
8
+ ## 8.14.1
9
+
10
+ _Oct 16, 2025_
11
+
12
+ We'd like to extend a big thank you to the 14 contributors who made this release possible. Here are some highlights ✨:
13
+
14
+ - 🚀 Charts have optimized data structures for closest point calculations — initial render times reduced by ~25% for 1,000+ data points, with greater gains at larger scales (#19790) @bernardobelchior
15
+ - 🐞 Bugfixes
16
+ - 📚 Documentation improvements
17
+
18
+ Special thanks go out to the community members for their valuable contributions:
19
+ @djpremier, @jacknot, @justdoit1897, @mellis481, @sai6855
20
+
21
+ The following are all team members who have contributed to this release:
22
+ @arminmeh, @bernardobelchior, @brijeshb42, @cherniavskii, @flaviendelangle, @Janpot, @JCQuintas, @noraleonte, @siriwatknp
23
+
24
+ ### Data Grid
25
+
26
+ #### `@mui/x-data-grid@8.14.1`
27
+
28
+ - [DataGrid] Fix cell not rerendering on `isCellEditable` prop change (#19898) @cherniavskii
29
+ - [DataGrid] Fix virtualizer memory leaks (#19886) @cherniavskii
30
+ - [DataGrid] Fix tree data unable to deselect row for exclude model (#19846) @siriwatknp
31
+ - [l10n] Improve Italian (it-IT) locale (#19322) @jacknot and (#19940) @justdoit1897
32
+
33
+ #### `@mui/x-data-grid-pro@8.14.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
34
+
35
+ Same changes as in `@mui/x-data-grid@8.14.1`, plus:
36
+
37
+ - [DataGridPro] Clear cache before new request to the nested request queue after a row has been edited (#19873) @arminmeh
38
+
39
+ #### `@mui/x-data-grid-premium@8.14.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
40
+
41
+ Same changes as in `@mui/x-data-grid-pro@8.14.1`.
42
+
43
+ ### Date and Time Pickers
44
+
45
+ #### `@mui/x-date-pickers@8.14.1`
46
+
47
+ Internal changes.
48
+
49
+ #### `@mui/x-date-pickers-pro@8.14.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
50
+
51
+ Same changes as in `@mui/x-date-pickers@8.14.1`.
52
+
53
+ ### Charts
54
+
55
+ #### `@mui/x-charts@8.14.1`
56
+
57
+ - [charts] Fix `minBarSize` when y-axis is reversed (#19932) @bernardobelchior
58
+ - [charts] Fix bar chart border radius when axis is reversed (#19895) @bernardobelchior
59
+ - [charts] Fix scatter chart `datasetKeys.id` not being optional (#19897) @bernardobelchior
60
+ - [charts] Use more performant data structure for closest point (#19790) @bernardobelchior
61
+ - [charts] Fix `GaugeValueArc` having wrong class (#19965) @bernardobelchior
62
+ - [charts] Fix `undefined` path when highlight empty line chart axis (#19969) @bernardobelchior
63
+
64
+ #### `@mui/x-charts-pro@8.14.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
65
+
66
+ Same changes as in `@mui/x-charts@8.14.1`, plus:
67
+
68
+ - [charts-pro] Add `highlighting` to Sankey chart (#19662) @JCQuintas
69
+
70
+ #### `@mui/x-charts-premium@8.14.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
71
+
72
+ Same changes as in `@mui/x-charts-pro@8.14.1`.
73
+
74
+ ### Tree View
75
+
76
+ #### `@mui/x-tree-view@8.14.1`
77
+
78
+ - [tree view] Do not forward the `ownerState` to the icon (#19772) @flaviendelangle
79
+
80
+ #### `@mui/x-tree-view-pro@8.14.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
81
+
82
+ Same changes as in `@mui/x-tree-view@8.14.1`.
83
+
84
+ ### Codemod
85
+
86
+ #### `@mui/x-codemod@8.14.0`
87
+
88
+ Internal changes.
89
+
90
+ ### Docs
91
+
92
+ - [docs] Add `'bumpX'` and `'bumpY'` curve types to the interpolation demo (#19676) @djpremier
93
+ - [docs] Add scatter chart with linear regression demo (#19900) @bernardobelchior
94
+ - [docs] Correctly describe Data Grid's row selection behavior (#19968) @arminmeh
95
+ - [docs] Fix `isExpanded` type in tree view docs (#19092) @mellis481
96
+
97
+ ### Core
98
+
99
+ - [code-infra] Disable Netlify cache plugin (#19950) @Janpot
100
+ - [code-infra] Lint json through eslint (#19890) @Janpot
101
+ - [docs-infra] Use published netlify cache plugin package (#19929) @brijeshb42
102
+
103
+ ## 8.14.0
104
+
105
+ _Oct 9, 2025_
106
+
107
+ We'd like to extend a big thank you to the 14 contributors who made this release possible. Here are some highlights ✨:
108
+
109
+ - 📊 The [Chart zoom now supports the `pressAndDrag` gesture](https://mui.com/x/react-charts/zoom-and-pan/#zoom-interactions-configuration). Pan by pressing and dragging.
110
+ - 🔄 [Server-side pivoting](https://mui.com/x/react-data-grid/server-side-data/pivoting/) support for the Data Grid
111
+ - 🐞 Bugfixes
112
+ - 📚 Documentation improvements
113
+
114
+ Special thanks go out to the community members for their valuable contributions:
115
+ @djpremier, @Utkarsh-0304
116
+
117
+ The following are all team members who have contributed to this release:
118
+ @alexfauquette, @bernardobelchior, @flaviendelangle, @hasdfa, @Janpot, @JCQuintas, @prakhargupta1, @rita-codes, @noraleonte, @brijeshb42, @arminmeh, @michelengelen
119
+
120
+ ### Data Grid
121
+
122
+ #### `@mui/x-data-grid@8.14.0`
123
+
124
+ - [l10n] Improve Brazilian Portuguese (pt-BR) locale (#19658) @djpremier
125
+
126
+ #### `@mui/x-data-grid-pro@8.14.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-data-grid@8.14.0`.
129
+
130
+ #### `@mui/x-data-grid-premium@8.14.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
131
+
132
+ Same changes as in `@mui/x-data-grid-pro@8.14.0`, plus:
133
+
134
+ - [DataGridPremium] Server-side pivoting (#19575) @arminmeh
135
+
136
+ ### Date and Time Pickers
137
+
138
+ #### `@mui/x-date-pickers@8.14.0`
139
+
140
+ - [pickers] Fixed the extra element for the disabled date picker (#19387) @Utkarsh-0304
141
+ - [pickers] Fix input `autoCapitalize` value for Firefox compatibility (#19285) @michelengelen
142
+ - [l10n] Improve Brazilian Portuguese (pt-BR) locale (#19658) @djpremier
143
+
144
+ #### `@mui/x-date-pickers-pro@8.14.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
145
+
146
+ Same changes as in `@mui/x-date-pickers@8.14.0`.
147
+
148
+ ### Charts
149
+
150
+ #### `@mui/x-charts@8.14.0`
151
+
152
+ - [charts] Add `pressAndDrag` pan gesture (#19779) @JCQuintas
153
+ - [charts] Allow `minPointers` and `maxPointers` to be configured by pointer type (#19794) @JCQuintas
154
+ - [charts] Correct scale domain types (#19844) @bernardobelchior
155
+ - [charts] Fix tooltip position when scrolling (#19857) @alexfauquette
156
+ - [charts] Link item highlight with keyboard navigation (#19768) @alexfauquette
157
+ - [charts] Refactor domain/scale selectors (#19832) @bernardobelchior
158
+ - [charts] Remove min/max from ordinal configuration (#19789) @alexfauquette
159
+ - [charts] Simplify axes filters selectors (#19833) @bernardobelchior
160
+ - [l10n] Improve Brazilian Portuguese (pt-BR) locale (#19658) @djpremier
161
+
162
+ #### `@mui/x-charts-pro@8.14.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
163
+
164
+ Same changes as in `@mui/x-charts@8.14.0`.
165
+
166
+ #### `@mui/x-charts-premium@8.14.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
167
+
168
+ Same changes as in `@mui/x-charts-pro@8.14.0`.
169
+
170
+ ### Tree View
171
+
172
+ #### `@mui/x-tree-view@8.14.0`
173
+
174
+ - [tree view] Fix Tree View tooltip anchoring on overview page (#19806) @noraleonte
175
+
176
+ #### `@mui/x-tree-view-pro@8.14.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
177
+
178
+ Same changes as in `@mui/x-tree-view@8.14.0`.
179
+
180
+ ### Codemod
181
+
182
+ #### `@mui/x-codemod@8.14.0`
183
+
184
+ Internal changes.
185
+
186
+ ### Docs
187
+
188
+ - [docs] Add overview section for pie chart (#19672) @prakhargupta1
189
+ - [docs] Fix demo title knob keys (#19843) @JCQuintas
190
+ - [docs] Hide UI elements of unsupported features in the data source demos (#19849) @arminmeh
191
+
192
+ ### Core
193
+
194
+ - [code-infra] Cleanup unused dependencies (#19788) @brijeshb42
195
+ - [code-infra] Fix pnpm-lock issue (#19861) @JCQuintas
196
+ - [code-infra] Improve publishing docs (#19404) @Janpot
197
+ - [code-infra] Remove tsconfig `baseUrl` (#19837) @Janpot
198
+ - [code-infra] Support custom npm dist tags during release (#19803) @Janpot
199
+ - [code-infra] Wait longer for print dialog (#19795) @JCQuintas
200
+ - [code-infra] Replace `lodash` with `es-toolkit` (#19853) @bernardobelchior
201
+ - [code-infra] Update release script PR checklist (#19785) @bernardobelchior
202
+ - [code-infra] Remove remaining usages of `lodash` (#19864) @bernardobelchior
203
+ - [docs-infra] Add `title` knob (#19792) @JCQuintas
204
+ - [docs-infra] Fix missing key in title knob (#19804) @JCQuintas
205
+
206
+ ### Miscellaneous
207
+
208
+ - [x-telemetry] Fix transpile issues (#19761) @hasdfa
209
+ - [x-telemetry] Fix ref to deleted file (#19842) @JCQuintas
210
+
8
211
  ## 8.13.1
9
212
 
10
213
  _Oct 1, 2025_
@@ -222,7 +425,7 @@ We'd like to extend a big thank you to the 15 contributors who made this release
222
425
 
223
426
  ![Grid x Charts](https://github.com/user-attachments/assets/0817c36f-f87f-4688-8f30-fa0db638ca8c)
224
427
 
225
- 👉 [🎥 Watch the full video](https://github.com/user-attachments/assets/28f1848e-dc85-4077-8756-a3e88afd4e54)
428
+ 👉 [🎥 Watch the full video](https://github.com/user-attachments/assets/28f1848e-dc85-4077-8756-a3e88afd4e54)
226
429
 
227
430
  - ⌨️ Charts keyboard navigation
228
431
  - ⚡️ Charts: Add new `renderer="svg-batch"` prop to Scatter charts that provides improved performance for large datasets
@@ -267,7 +267,7 @@ process.env.NODE_ENV !== "production" ? RichTreeView.propTypes = {
267
267
  * Callback fired when a Tree Item is expanded or collapsed.
268
268
  * @param {React.SyntheticEvent | null} event The DOM event that triggered the change. Can be null when the change is caused by the `publicAPI.setItemExpansion()` method.
269
269
  * @param {array} itemId The itemId of the modified item.
270
- * @param {array} isExpanded `true` if the item has just been expanded, `false` if it has just been collapsed.
270
+ * @param {boolean} isExpanded `true` if the item has just been expanded, `false` if it has just been collapsed.
271
271
  */
272
272
  onItemExpansionToggle: _propTypes.default.func,
273
273
  /**
@@ -286,7 +286,7 @@ process.env.NODE_ENV !== "production" ? RichTreeView.propTypes = {
286
286
  * Callback fired when a Tree Item is selected or deselected.
287
287
  * @param {React.SyntheticEvent} event The DOM event that triggered the change. Can be null when the change is caused by the `publicAPI.setItemSelection()` method.
288
288
  * @param {array} itemId The itemId of the modified item.
289
- * @param {array} isSelected `true` if the item has just been selected, `false` if it has just been deselected.
289
+ * @param {boolean} isSelected `true` if the item has just been selected, `false` if it has just been deselected.
290
290
  */
291
291
  onItemSelectionToggle: _propTypes.default.func,
292
292
  /**
@@ -207,7 +207,7 @@ process.env.NODE_ENV !== "production" ? SimpleTreeView.propTypes = {
207
207
  * Callback fired when a Tree Item is expanded or collapsed.
208
208
  * @param {React.SyntheticEvent | null} event The DOM event that triggered the change. Can be null when the change is caused by the `publicAPI.setItemExpansion()` method.
209
209
  * @param {array} itemId The itemId of the modified item.
210
- * @param {array} isExpanded `true` if the item has just been expanded, `false` if it has just been collapsed.
210
+ * @param {boolean} isExpanded `true` if the item has just been expanded, `false` if it has just been collapsed.
211
211
  */
212
212
  onItemExpansionToggle: _propTypes.default.func,
213
213
  /**
@@ -220,7 +220,7 @@ process.env.NODE_ENV !== "production" ? SimpleTreeView.propTypes = {
220
220
  * Callback fired when a Tree Item is selected or deselected.
221
221
  * @param {React.SyntheticEvent} event The DOM event that triggered the change. Can be null when the change is caused by the `publicAPI.setItemSelection()` method.
222
222
  * @param {array} itemId The itemId of the modified item.
223
- * @param {array} isSelected `true` if the item has just been selected, `false` if it has just been deselected.
223
+ * @param {boolean} isSelected `true` if the item has just been selected, `false` if it has just been deselected.
224
224
  */
225
225
  onItemSelectionToggle: _propTypes.default.func,
226
226
  /**
@@ -1,20 +1,22 @@
1
1
  "use strict";
2
2
  'use client';
3
3
 
4
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
5
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
5
+ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
6
6
  Object.defineProperty(exports, "__esModule", {
7
7
  value: true
8
8
  });
9
9
  exports.TreeItemIcon = TreeItemIcon;
10
10
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
+ var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
11
12
  var React = _interopRequireWildcard(require("react"));
12
13
  var _propTypes = _interopRequireDefault(require("prop-types"));
13
14
  var _resolveComponentProps = _interopRequireDefault(require("@mui/utils/resolveComponentProps"));
14
- var _useSlotProps = _interopRequireDefault(require("@mui/utils/useSlotProps"));
15
+ var _useSlotProps2 = _interopRequireDefault(require("@mui/utils/useSlotProps"));
15
16
  var _TreeViewStyleContext = require("../internals/TreeViewProvider/TreeViewStyleContext");
16
17
  var _icons = require("../icons");
17
18
  var _jsxRuntime = require("react/jsx-runtime");
19
+ const _excluded = ["ownerState"];
18
20
  function pickIcon(treeItemIcon, treeViewIcon, fallback) {
19
21
  if (treeItemIcon !== undefined) {
20
22
  return treeItemIcon;
@@ -53,12 +55,13 @@ function TreeItemIcon(props) {
53
55
  iconName = 'endIcon';
54
56
  }
55
57
  const Icon = slots[iconName];
56
- const iconProps = (0, _useSlotProps.default)({
57
- elementType: Icon,
58
- externalSlotProps: tempOwnerState => (0, _extends2.default)({}, (0, _resolveComponentProps.default)(slotPropsFromTreeView[iconName], tempOwnerState), (0, _resolveComponentProps.default)(slotPropsFromTreeItem?.[iconName], tempOwnerState)),
59
- // TODO: Add proper ownerState
60
- ownerState: {}
61
- });
58
+ const _useSlotProps = (0, _useSlotProps2.default)({
59
+ elementType: Icon,
60
+ externalSlotProps: tempOwnerState => (0, _extends2.default)({}, (0, _resolveComponentProps.default)(slotPropsFromTreeView[iconName], tempOwnerState), (0, _resolveComponentProps.default)(slotPropsFromTreeItem?.[iconName], tempOwnerState)),
61
+ // TODO: Add proper ownerState
62
+ ownerState: {}
63
+ }),
64
+ iconProps = (0, _objectWithoutPropertiesLoose2.default)(_useSlotProps, _excluded);
62
65
  if (!Icon) {
63
66
  return null;
64
67
  }
@@ -260,7 +260,7 @@ process.env.NODE_ENV !== "production" ? RichTreeView.propTypes = {
260
260
  * Callback fired when a Tree Item is expanded or collapsed.
261
261
  * @param {React.SyntheticEvent | null} event The DOM event that triggered the change. Can be null when the change is caused by the `publicAPI.setItemExpansion()` method.
262
262
  * @param {array} itemId The itemId of the modified item.
263
- * @param {array} isExpanded `true` if the item has just been expanded, `false` if it has just been collapsed.
263
+ * @param {boolean} isExpanded `true` if the item has just been expanded, `false` if it has just been collapsed.
264
264
  */
265
265
  onItemExpansionToggle: PropTypes.func,
266
266
  /**
@@ -279,7 +279,7 @@ process.env.NODE_ENV !== "production" ? RichTreeView.propTypes = {
279
279
  * Callback fired when a Tree Item is selected or deselected.
280
280
  * @param {React.SyntheticEvent} event The DOM event that triggered the change. Can be null when the change is caused by the `publicAPI.setItemSelection()` method.
281
281
  * @param {array} itemId The itemId of the modified item.
282
- * @param {array} isSelected `true` if the item has just been selected, `false` if it has just been deselected.
282
+ * @param {boolean} isSelected `true` if the item has just been selected, `false` if it has just been deselected.
283
283
  */
284
284
  onItemSelectionToggle: PropTypes.func,
285
285
  /**
@@ -200,7 +200,7 @@ process.env.NODE_ENV !== "production" ? SimpleTreeView.propTypes = {
200
200
  * Callback fired when a Tree Item is expanded or collapsed.
201
201
  * @param {React.SyntheticEvent | null} event The DOM event that triggered the change. Can be null when the change is caused by the `publicAPI.setItemExpansion()` method.
202
202
  * @param {array} itemId The itemId of the modified item.
203
- * @param {array} isExpanded `true` if the item has just been expanded, `false` if it has just been collapsed.
203
+ * @param {boolean} isExpanded `true` if the item has just been expanded, `false` if it has just been collapsed.
204
204
  */
205
205
  onItemExpansionToggle: PropTypes.func,
206
206
  /**
@@ -213,7 +213,7 @@ process.env.NODE_ENV !== "production" ? SimpleTreeView.propTypes = {
213
213
  * Callback fired when a Tree Item is selected or deselected.
214
214
  * @param {React.SyntheticEvent} event The DOM event that triggered the change. Can be null when the change is caused by the `publicAPI.setItemSelection()` method.
215
215
  * @param {array} itemId The itemId of the modified item.
216
- * @param {array} isSelected `true` if the item has just been selected, `false` if it has just been deselected.
216
+ * @param {boolean} isSelected `true` if the item has just been selected, `false` if it has just been deselected.
217
217
  */
218
218
  onItemSelectionToggle: PropTypes.func,
219
219
  /**
@@ -1,6 +1,8 @@
1
1
  'use client';
2
2
 
3
3
  import _extends from "@babel/runtime/helpers/esm/extends";
4
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
5
+ const _excluded = ["ownerState"];
4
6
  import * as React from 'react';
5
7
  import PropTypes from 'prop-types';
6
8
  import resolveComponentProps from '@mui/utils/resolveComponentProps';
@@ -46,12 +48,13 @@ function TreeItemIcon(props) {
46
48
  iconName = 'endIcon';
47
49
  }
48
50
  const Icon = slots[iconName];
49
- const iconProps = useSlotProps({
50
- elementType: Icon,
51
- externalSlotProps: tempOwnerState => _extends({}, resolveComponentProps(slotPropsFromTreeView[iconName], tempOwnerState), resolveComponentProps(slotPropsFromTreeItem?.[iconName], tempOwnerState)),
52
- // TODO: Add proper ownerState
53
- ownerState: {}
54
- });
51
+ const _useSlotProps = useSlotProps({
52
+ elementType: Icon,
53
+ externalSlotProps: tempOwnerState => _extends({}, resolveComponentProps(slotPropsFromTreeView[iconName], tempOwnerState), resolveComponentProps(slotPropsFromTreeItem?.[iconName], tempOwnerState)),
54
+ // TODO: Add proper ownerState
55
+ ownerState: {}
56
+ }),
57
+ iconProps = _objectWithoutPropertiesLoose(_useSlotProps, _excluded);
55
58
  if (!Icon) {
56
59
  return null;
57
60
  }
package/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-tree-view v8.13.1
2
+ * @mui/x-tree-view v8.14.1
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -72,7 +72,7 @@ export interface UseTreeViewExpansionParameters {
72
72
  * Callback fired when a Tree Item is expanded or collapsed.
73
73
  * @param {React.SyntheticEvent | null} event The DOM event that triggered the change. Can be null when the change is caused by the `publicAPI.setItemExpansion()` method.
74
74
  * @param {array} itemId The itemId of the modified item.
75
- * @param {array} isExpanded `true` if the item has just been expanded, `false` if it has just been collapsed.
75
+ * @param {boolean} isExpanded `true` if the item has just been expanded, `false` if it has just been collapsed.
76
76
  */
77
77
  onItemExpansionToggle?: (event: React.SyntheticEvent | null, itemId: string, isExpanded: boolean) => void;
78
78
  /**
@@ -108,7 +108,7 @@ export interface UseTreeViewSelectionParameters<Multiple extends boolean | undef
108
108
  * Callback fired when a Tree Item is selected or deselected.
109
109
  * @param {React.SyntheticEvent} event The DOM event that triggered the change. Can be null when the change is caused by the `publicAPI.setItemSelection()` method.
110
110
  * @param {array} itemId The itemId of the modified item.
111
- * @param {array} isSelected `true` if the item has just been selected, `false` if it has just been deselected.
111
+ * @param {boolean} isSelected `true` if the item has just been selected, `false` if it has just been deselected.
112
112
  */
113
113
  onItemSelectionToggle?: (event: React.SyntheticEvent | null, itemId: string, isSelected: boolean) => void;
114
114
  }
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-tree-view v8.13.1
2
+ * @mui/x-tree-view v8.14.1
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -72,7 +72,7 @@ export interface UseTreeViewExpansionParameters {
72
72
  * Callback fired when a Tree Item is expanded or collapsed.
73
73
  * @param {React.SyntheticEvent | null} event The DOM event that triggered the change. Can be null when the change is caused by the `publicAPI.setItemExpansion()` method.
74
74
  * @param {array} itemId The itemId of the modified item.
75
- * @param {array} isExpanded `true` if the item has just been expanded, `false` if it has just been collapsed.
75
+ * @param {boolean} isExpanded `true` if the item has just been expanded, `false` if it has just been collapsed.
76
76
  */
77
77
  onItemExpansionToggle?: (event: React.SyntheticEvent | null, itemId: string, isExpanded: boolean) => void;
78
78
  /**
@@ -108,7 +108,7 @@ export interface UseTreeViewSelectionParameters<Multiple extends boolean | undef
108
108
  * Callback fired when a Tree Item is selected or deselected.
109
109
  * @param {React.SyntheticEvent} event The DOM event that triggered the change. Can be null when the change is caused by the `publicAPI.setItemSelection()` method.
110
110
  * @param {array} itemId The itemId of the modified item.
111
- * @param {array} isSelected `true` if the item has just been selected, `false` if it has just been deselected.
111
+ * @param {boolean} isSelected `true` if the item has just been selected, `false` if it has just been deselected.
112
112
  */
113
113
  onItemSelectionToggle?: (event: React.SyntheticEvent | null, itemId: string, isSelected: boolean) => void;
114
114
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-tree-view",
3
- "version": "8.13.1",
3
+ "version": "8.14.1",
4
4
  "author": "MUI Team",
5
5
  "description": "The community edition of the MUI X Tree View components.",
6
6
  "license": "MIT",
@@ -32,13 +32,13 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@babel/runtime": "^7.28.4",
35
- "@base-ui-components/utils": "0.1.1",
36
- "@mui/utils": "^7.3.2",
35
+ "@base-ui-components/utils": "0.1.2",
36
+ "@mui/utils": "^7.3.3",
37
37
  "@types/react-transition-group": "^4.4.12",
38
38
  "clsx": "^2.1.1",
39
39
  "prop-types": "^15.8.1",
40
40
  "react-transition-group": "^4.4.5",
41
- "@mui/x-internals": "8.13.1"
41
+ "@mui/x-internals": "8.14.0"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "@emotion/react": "^11.9.0",