@mui/x-tree-view-pro 8.3.1 → 8.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,219 @@
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.5.0
9
+
10
+ _May 29, 2025_
11
+
12
+ We'd like to offer a big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
13
+
14
+ - 📊 Add support for exporting `RadarChartPro`, `FunnelChart` and `Heatmap` as image and PDF.
15
+ - 📊 `RadarChart` is now stable.
16
+
17
+ Special thanks go out to the community members for their valuable contributions:
18
+ @xBlizZer, @sai6855, @alisasanib.
19
+ Following are all team members who have contributed to this release:
20
+ @alexfauquette, @arminmeh, @bernardobelchior, @cherniavskii, @flaviendelangle, @Janpot, @JCQuintas, @KenanYusuf, @LukasTy, @oliviertassinari.
21
+
22
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
23
+
24
+ ### Data Grid
25
+
26
+ #### `@mui/x-data-grid@8.5.0`
27
+
28
+ - [DataGrid] Avoid ResizeObserver loop error (#17984) @cherniavskii
29
+ - [DataGrid] Fix column management `toggleColumn` event type (#18023) @KenanYusuf
30
+ - [DataGrid] Remove unnecessary `any` type (#17979) @sai6855
31
+
32
+ #### `@mui/x-data-grid-pro@8.5.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
33
+
34
+ Same changes as in `@mui/x-data-grid@8.5.0`, plus:
35
+
36
+ - [DataGridPro] Allow multi sorting without modifier key (#17925) @cherniavskii
37
+ - [DataGridPro] Row reordering icon improvements (#17947) @KenanYusuf
38
+ - [DataGridPro] Fix pinned columns order in column management (#17950) @alisasanib
39
+
40
+ #### `@mui/x-data-grid-premium@8.5.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
41
+
42
+ Same changes as in `@mui/x-data-grid-pro@8.5.0`, plus:
43
+
44
+ - [DataGridPremium] Export `GridApiPremium` type (#18037) @arminmeh
45
+
46
+ ### Date and Time Pickers
47
+
48
+ #### `@mui/x-date-pickers@8.5.0`
49
+
50
+ Internal changes.
51
+
52
+ #### `@mui/x-date-pickers-pro@8.5.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
53
+
54
+ Same changes as in `@mui/x-date-pickers@8.5.0`, plus:
55
+
56
+ - [DateRangePicker] Allow to override the format in the field (#17972) @flaviendelangle
57
+
58
+ ### Charts
59
+
60
+ #### `@mui/x-charts@8.5.0`
61
+
62
+ - [charts] Add `render` prop to charts toolbar components (#17649) @bernardobelchior
63
+ - [charts] Add configurable slots to toolbar (#17712) @bernardobelchior
64
+ - [charts] Export `useFunnelSeries` and `useRadarSeries` (#18034) @JCQuintas
65
+ - [charts] Expose `ChartApi` through context (#18004) @bernardobelchior
66
+ - [charts] Mark Radar chart as stable (#17946) @alexfauquette
67
+ - [charts] Only update store if interaction item is different (#17851) @bernardobelchior
68
+ - [charts] Reuse shared date utils (#18014) @JCQuintas
69
+ - [charts] Use Map for string cache instead of object (#17982) @bernardobelchior
70
+ - [charts] Fix Population pyramid demo (#17987) @oliviertassinari
71
+
72
+ #### `@mui/x-charts-pro@8.5.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
73
+
74
+ Same changes as in `@mui/x-charts@8.5.0`, plus:
75
+
76
+ - [charts-pro] Add range selection to zoom slider (#17949) @bernardobelchior
77
+ - [charts-pro] Allow configuring zoom slider tooltip (#18030) @bernardobelchior
78
+ - [charts-pro] Allow exporting a funnel chart (#17957) @bernardobelchior
79
+ - [charts-pro] Allow exporting a heatmap chart (#17916) @bernardobelchior
80
+ - [charts-pro] Allow exporting a radar chart (#17968) @bernardobelchior
81
+ - [charts-pro] Always show both zoom slider tooltips (#18027) @bernardobelchior
82
+ - [charts-pro] Show zoom slider tooltip when selecting range (#18028) @bernardobelchior
83
+ - [charts-pro] Split `ChartAxisZoomSlider` into smaller files (#18011) @bernardobelchior
84
+ - [charts-pro] Update zoom slider range selection cursor (#17977) @bernardobelchior
85
+ - [charts-pro] Add support for Heatmap legend (#17943) @alexfauquette
86
+
87
+ ### Tree View
88
+
89
+ #### `@mui/x-tree-view@8.5.0`
90
+
91
+ Internal changes.
92
+
93
+ #### `@mui/x-tree-view-pro@8.5.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
94
+
95
+ Same changes as in `@mui/x-tree-view@8.5.0`.
96
+
97
+ ### Docs
98
+
99
+ - [docs] Fix derived column pivoting demo crash (#17944) @arminmeh
100
+ - [docs] Fix light/dark mode blink on pickers overview (#18002) @alexfauquette
101
+ - [docs] Fix scatter shape demo causing horizontal overflow (#17974) @bernardobelchior
102
+
103
+ ### Core
104
+
105
+ - [code-infra] Add bundle size monitor (#17754) @Janpot
106
+ - [code-infra] Enable `babel-plugin-display-name` in vitest (#17903) @JCQuintas
107
+ - [infra] Remove last deprecated `ponyfillGlobal` usage (#18003) @LukasTy
108
+ - [infra] Use `babel-plugin-display-name` from npm (#18040) @LukasTy
109
+ - [x-telemetry] Remove deprecated `ponyfillGlobal` (#17986) @xBlizZer
110
+
111
+ ## 8.4.0
112
+
113
+ _May 21, 2025_
114
+
115
+ We'd like to offer a big thanks to the 21 contributors who made this release possible. Here are some highlights ✨:
116
+
117
+ - 🔺 Support regular [`pyramid` variation in the `<FunnelChart />` component](https://mui.com/x/react-charts/funnel/#pyramid-chart):
118
+
119
+ <img width="398" alt="Pyramid funnel chart" src="https://github.com/user-attachments/assets/90ccb221-3a48-4ffa-8878-89c6db16da86" />
120
+
121
+ - 📚 Documentation improvements
122
+ - 🌎 Improve Icelandic (is-IS) locale on the Data Grid
123
+ - 🐞 Bugfixes
124
+
125
+ Special thanks go out to the community members for their valuable contributions:
126
+ @aizerin, @arminmeh, @campmarc, @jyash97, @mapache-salvaje, @noraleonte, @nusr, @ragnarr18, @romgrk, @whereisrmsqhs.
127
+ Following are all team members who have contributed to this release:
128
+ @alexfauquette, @bernardobelchior, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy, @MBilalShafi, @rita-codes.
129
+
130
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
131
+
132
+ ### Data Grid
133
+
134
+ #### `@mui/x-data-grid@8.4.0`
135
+
136
+ - [DataGrid] Fix content rendering for large rows while using automatic page size (#14737) @campmarc
137
+ - [DataGrid] Fix disabled typography variants crashing grid (#17934) @KenanYusuf
138
+ - [DataGrid] Fix tree data demo crash (#17904) @MBilalShafi
139
+ - [DataGrid] Use `exclude` selection model type if quick filter does not have actual values (#17899) @arminmeh
140
+ - [DataGrid] Fix clipboard copy behavior for cell ranges with empty cells (#16797) @nusr
141
+ - [l10n] Improve Icelandic (is-IS) locale (#17915) @ragnarr18
142
+
143
+ #### `@mui/x-data-grid-pro@8.4.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
144
+
145
+ Same changes as in `@mui/x-data-grid@8.4.0`, plus:
146
+
147
+ - [DataGridPro] Add `aria-expanded` attribute to the master detail toggle button (#17122) @whereisrmsqhs
148
+ - [DataGridPro] Preserve row state during server-side lazy loading (#17743) @arminmeh
149
+ - [DataGridPro] Prevent text selection when reordering rows (#16568) @jyash97
150
+
151
+ #### `@mui/x-data-grid-premium@8.4.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
152
+
153
+ Same changes as in `@mui/x-data-grid-pro@8.4.0`.
154
+
155
+ ### Date and Time Pickers
156
+
157
+ #### `@mui/x-date-pickers@8.4.0`
158
+
159
+ - [fields] Ensure fresh `disabled` value is used when focusing or clicking (#17914) @aizerin
160
+ - [fields] Improve the field controlled edition (#17816) @flaviendelangle
161
+ - [pickers] Fix `PickersTextField` overflow (#17942) @noraleonte
162
+
163
+ #### `@mui/x-date-pickers-pro@8.4.0` [![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-date-pickers@8.4.0`.
166
+
167
+ ### Charts
168
+
169
+ #### `@mui/x-charts@8.4.0`
170
+
171
+ - [charts] Add grouped axes demo (#17848) @bernardobelchior
172
+ - [charts] Enable tooltip disable portal (#17871) @alexfauquette
173
+ - [charts] Improve performance in scatter chart (#17849) @bernardobelchior
174
+ - [charts] Recreate `isPointInside` less often (#17850) @bernardobelchior
175
+ - [charts] Try fix for flaky `useAnimate` test (#17777) @JCQuintas
176
+ - [charts] Add `isXInside` and `isYInside` (#17911) @bernardobelchior
177
+
178
+ #### `@mui/x-charts-pro@8.4.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
179
+
180
+ Same changes as in `@mui/x-charts@8.4.0`, plus:
181
+
182
+ - [charts-pro] Add size for zoom slider (#17736) @bernardobelchior
183
+ - [charts-pro] Add zoom slider tooltip (#17733) @bernardobelchior
184
+ - [charts-pro] Clean and document Heatmap Tooltip (#17933) @alexfauquette
185
+ - [charts-pro] Introduce `Pyramid` chart (#17783) @JCQuintas
186
+ - [charts-pro] Update zoom slider nomenclature (#17938) @bernardobelchior
187
+ - [charts-pro] Fix error when importing rasterizehtml (#17897) @bernardobelchior
188
+
189
+ ### Tree View
190
+
191
+ #### `@mui/x-tree-view@8.4.0`
192
+
193
+ - [TreeView] Add `getItemChildren` prop in `RichTreeView` (#17894) @rita-codes
194
+ - [TreeView] Add a method in the `apiRef` to toggle the editing status of an item (#17768) @rita-codes
195
+ - [TreeView] Add missing sx prop on the Tree Item component (#17930) @flaviendelangle
196
+
197
+ #### `@mui/x-tree-view-pro@8.4.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
198
+
199
+ Same changes as in `@mui/x-tree-view@8.4.0`.
200
+
201
+ ### Docs
202
+
203
+ - [docs] Add a recipe for drag and drop row grouping (#17638) @KenanYusuf
204
+ - [docs] Add introductory text to Data Grid component pages (#17902) @KenanYusuf
205
+ - [docs] Refactor embedded CodeSandbox on Data Grid—Quickstart page (#17749) @rita-codes
206
+ - [docs] Remove double border on Data Grid—Quickstart demo (#17932) @rita-codes
207
+ - [docs] Standardize `apiRef` copy (#17776) @mapache-salvaje
208
+ - [docs][DataGrid] Revise server-side data docs (#17007) @mapache-salvaje
209
+ - [docs][DataGrid] Audit and revise the tree data doc (#17650) @mapache-salvaje
210
+ - [docs][pickers] Fix migration guide references to range fields (#17861) @LukasTy
211
+ - [docs][charts] Reorganize the Tooltip documentation (#17917) @alexfauquette
212
+
213
+ ### Core
214
+
215
+ - [core] refactor: remove manual `displayName` (#17845) @romgrk
216
+ - [code-infra] Document how to use `vitest` cli (#17847) @JCQuintas
217
+ - [code-infra] Increase charts export test timeout (#17909) @JCQuintas
218
+ - [code-infra] Set `isolatedModules=true` in tsconfig (#17781) @JCQuintas
219
+ - [infra] Ensure proper docs preview path resolution (#17863) @LukasTy
220
+
8
221
  ## 8.3.1
9
222
 
10
223
  _May 14, 2025_
@@ -18,7 +18,7 @@ var _internals = require("@mui/x-tree-view/internals");
18
18
  var _warning = require("@mui/x-internals/warning");
19
19
  var _zeroStyled = require("../internals/zero-styled");
20
20
  var _richTreeViewProClasses = require("./richTreeViewProClasses");
21
- var _RichTreeViewPro = require("./RichTreeViewPro.plugins");
21
+ var _RichTreeViewPro2 = require("./RichTreeViewPro.plugins");
22
22
  var _jsxRuntime = require("react/jsx-runtime");
23
23
  const _excluded = ["slots", "slotProps"];
24
24
  const useThemeProps = (0, _zeroStyled.createUseThemeProps)('MuiRichTreeViewPro');
@@ -52,7 +52,7 @@ const RichTreeViewProRoot = exports.RichTreeViewProRoot = (0, _zeroStyled.styled
52
52
  outline: 0,
53
53
  position: 'relative'
54
54
  });
55
- const releaseInfo = "MTc0NzE3MzYwMDAwMA==";
55
+ const releaseInfo = "MTc0ODQ2OTYwMDAwMA==";
56
56
 
57
57
  /**
58
58
  *
@@ -84,7 +84,7 @@ const RichTreeViewPro = exports.RichTreeViewPro = /*#__PURE__*/React.forwardRef(
84
84
  getRootProps,
85
85
  contextValue
86
86
  } = (0, _internals.useTreeView)({
87
- plugins: _RichTreeViewPro.RICH_TREE_VIEW_PRO_PLUGINS,
87
+ plugins: _RichTreeViewPro2.RICH_TREE_VIEW_PRO_PLUGINS,
88
88
  rootRef: ref,
89
89
  props: other
90
90
  });
@@ -113,6 +113,7 @@ const RichTreeViewPro = exports.RichTreeViewPro = /*#__PURE__*/React.forwardRef(
113
113
  }))
114
114
  });
115
115
  });
116
+ if (process.env.NODE_ENV !== "production") RichTreeViewPro.displayName = "RichTreeViewPro";
116
117
  process.env.NODE_ENV !== "production" ? RichTreeViewPro.propTypes = {
117
118
  // ----------------------------- Warning --------------------------------
118
119
  // | These PropTypes are generated from the TypeScript type definitions |
@@ -129,6 +130,7 @@ process.env.NODE_ENV !== "production" ? RichTreeViewPro.propTypes = {
129
130
  getItemOrderedChildrenIds: _propTypes.default.func.isRequired,
130
131
  getItemTree: _propTypes.default.func.isRequired,
131
132
  getParentId: _propTypes.default.func.isRequired,
133
+ setEditedItem: _propTypes.default.func.isRequired,
132
134
  setIsItemDisabled: _propTypes.default.func.isRequired,
133
135
  setItemExpansion: _propTypes.default.func.isRequired,
134
136
  setItemSelection: _propTypes.default.func.isRequired,
@@ -195,6 +197,15 @@ process.env.NODE_ENV !== "production" ? RichTreeViewPro.propTypes = {
195
197
  * @default 'content'
196
198
  */
197
199
  expansionTrigger: _propTypes.default.oneOf(['content', 'iconContainer']),
200
+ /**
201
+ * Used to determine the children of a given item.
202
+ *
203
+ * @template R
204
+ * @param {R} item The item to check.
205
+ * @returns {R[]} The children of the item.
206
+ * @default (item) => item.children
207
+ */
208
+ getItemChildren: _propTypes.default.func,
198
209
  /**
199
210
  * Used to determine the id of a given item.
200
211
  *
@@ -45,7 +45,7 @@ export const RichTreeViewProRoot = styled('ul', {
45
45
  outline: 0,
46
46
  position: 'relative'
47
47
  });
48
- const releaseInfo = "MTc0NzE3MzYwMDAwMA==";
48
+ const releaseInfo = "MTc0ODQ2OTYwMDAwMA==";
49
49
 
50
50
  /**
51
51
  *
@@ -106,6 +106,7 @@ const RichTreeViewPro = /*#__PURE__*/React.forwardRef(function RichTreeViewPro(i
106
106
  }))
107
107
  });
108
108
  });
109
+ if (process.env.NODE_ENV !== "production") RichTreeViewPro.displayName = "RichTreeViewPro";
109
110
  process.env.NODE_ENV !== "production" ? RichTreeViewPro.propTypes = {
110
111
  // ----------------------------- Warning --------------------------------
111
112
  // | These PropTypes are generated from the TypeScript type definitions |
@@ -122,6 +123,7 @@ process.env.NODE_ENV !== "production" ? RichTreeViewPro.propTypes = {
122
123
  getItemOrderedChildrenIds: PropTypes.func.isRequired,
123
124
  getItemTree: PropTypes.func.isRequired,
124
125
  getParentId: PropTypes.func.isRequired,
126
+ setEditedItem: PropTypes.func.isRequired,
125
127
  setIsItemDisabled: PropTypes.func.isRequired,
126
128
  setItemExpansion: PropTypes.func.isRequired,
127
129
  setItemSelection: PropTypes.func.isRequired,
@@ -188,6 +190,15 @@ process.env.NODE_ENV !== "production" ? RichTreeViewPro.propTypes = {
188
190
  * @default 'content'
189
191
  */
190
192
  expansionTrigger: PropTypes.oneOf(['content', 'iconContainer']),
193
+ /**
194
+ * Used to determine the children of a given item.
195
+ *
196
+ * @template R
197
+ * @param {R} item The item to check.
198
+ * @returns {R[]} The children of the item.
199
+ * @default (item) => item.children
200
+ */
201
+ getItemChildren: PropTypes.func,
191
202
  /**
192
203
  * Used to determine the id of a given item.
193
204
  *
package/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-tree-view-pro v8.3.1
2
+ * @mui/x-tree-view-pro v8.5.0
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -1 +1 @@
1
- export { UseTreeViewItemsReorderingSignature } from "./plugins/useTreeViewItemsReordering/index.js";
1
+ export type { UseTreeViewItemsReorderingSignature } from "./plugins/useTreeViewItemsReordering/index.js";
@@ -1 +1 @@
1
- export { UseTreeViewItemsReorderingSignature } from "./plugins/useTreeViewItemsReordering/index.js";
1
+ export {};
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-tree-view-pro v8.3.1
2
+ * @mui/x-tree-view-pro v8.5.0
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -1 +1 @@
1
- export { UseTreeViewItemsReorderingSignature } from "./plugins/useTreeViewItemsReordering/index.js";
1
+ export type { UseTreeViewItemsReorderingSignature } from "./plugins/useTreeViewItemsReordering/index.js";
@@ -2,11 +2,4 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
- });
6
- Object.defineProperty(exports, "UseTreeViewItemsReorderingSignature", {
7
- enumerable: true,
8
- get: function () {
9
- return _useTreeViewItemsReordering.UseTreeViewItemsReorderingSignature;
10
- }
11
- });
12
- var _useTreeViewItemsReordering = require("./plugins/useTreeViewItemsReordering");
5
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-tree-view-pro",
3
- "version": "8.3.1",
3
+ "version": "8.5.0",
4
4
  "author": "MUI Team",
5
5
  "description": "The Pro plan edition of the MUI X Tree View components.",
6
6
  "main": "./index.js",
@@ -41,9 +41,9 @@
41
41
  "react-transition-group": "^4.4.5",
42
42
  "reselect": "^5.1.1",
43
43
  "use-sync-external-store": "^1.5.0",
44
- "@mui/x-internals": "8.3.1",
45
- "@mui/x-tree-view": "8.3.1",
46
- "@mui/x-license": "8.3.1"
44
+ "@mui/x-internals": "8.5.0",
45
+ "@mui/x-license": "8.5.0",
46
+ "@mui/x-tree-view": "8.5.0"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@emotion/react": "^11.9.0",