@mui/x-tree-view-pro 8.3.0 → 8.4.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,206 @@
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.4.0
9
+
10
+ _May 21, 2025_
11
+
12
+ We'd like to offer a big thanks to the 21 contributors who made this release possible. Here are some highlights ✨:
13
+
14
+ - 🔺 Support regular [`pyramid` variation in the `<FunnelChart />` component](https://mui.com/x/react-charts/funnel/#pyramid-chart):
15
+
16
+ <img width="398" alt="Pyramid funnel chart" src="https://github.com/user-attachments/assets/90ccb221-3a48-4ffa-8878-89c6db16da86" />
17
+
18
+ - 📚 Documentation improvements
19
+ - 🌎 Improve Icelandic (is-IS) locale on the Data Grid
20
+ - 🐞 Bugfixes
21
+
22
+ Special thanks go out to the community members for their valuable contributions:
23
+ @aizerin, @arminmeh, @campmarc, @jyash97, @mapache-salvaje, @noraleonte, @nusr, @ragnarr18, @romgrk, @whereisrmsqhs.
24
+ Following are all team members who have contributed to this release:
25
+ @alexfauquette, @bernardobelchior, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy, @MBilalShafi, @rita-codes.
26
+
27
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
28
+
29
+ ### Data Grid
30
+
31
+ #### `@mui/x-data-grid@8.4.0`
32
+
33
+ - [DataGrid] Fix content rendering for large rows while using automatic page size (#14737) @campmarc
34
+ - [DataGrid] Fix disabled typography variants crashing grid (#17934) @KenanYusuf
35
+ - [DataGrid] Fix tree data demo crash (#17904) @MBilalShafi
36
+ - [DataGrid] Use `exclude` selection model type if quick filter does not have actual values (#17899) @arminmeh
37
+ - [DataGrid] Fix clipboard copy behavior for cell ranges with empty cells (#16797) @nusr
38
+ - [l10n] Improve Icelandic (is-IS) locale (#17915) @ragnarr18
39
+
40
+ #### `@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')
41
+
42
+ Same changes as in `@mui/x-data-grid@8.4.0`, plus:
43
+
44
+ - [DataGridPro] Add `aria-expanded` attribute to the master detail toggle button (#17122) @whereisrmsqhs
45
+ - [DataGridPro] Preserve row state during server-side lazy loading (#17743) @arminmeh
46
+ - [DataGridPro] Prevent text selection when reordering rows (#16568) @jyash97
47
+
48
+ #### `@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')
49
+
50
+ Same changes as in `@mui/x-data-grid-pro@8.4.0`.
51
+
52
+ ### Date and Time Pickers
53
+
54
+ #### `@mui/x-date-pickers@8.4.0`
55
+
56
+ - [fields] Ensure fresh `disabled` value is used when focusing or clicking (#17914) @aizerin
57
+ - [fields] Improve the field controlled edition (#17816) @flaviendelangle
58
+ - [pickers] Fix `PickersTextField` overflow (#17942) @noraleonte
59
+
60
+ #### `@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')
61
+
62
+ Same changes as in `@mui/x-date-pickers@8.4.0`.
63
+
64
+ ### Charts
65
+
66
+ #### `@mui/x-charts@8.4.0`
67
+
68
+ - [charts] Add grouped axes demo (#17848) @bernardobelchior
69
+ - [charts] Enable tooltip disable portal (#17871) @alexfauquette
70
+ - [charts] Improve performance in scatter chart (#17849) @bernardobelchior
71
+ - [charts] Recreate `isPointInside` less often (#17850) @bernardobelchior
72
+ - [charts] Try fix for flaky `useAnimate` test (#17777) @JCQuintas
73
+ - [charts] Add `isXInside` and `isYInside` (#17911) @bernardobelchior
74
+
75
+ #### `@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')
76
+
77
+ Same changes as in `@mui/x-charts@8.4.0`, plus:
78
+
79
+ - [charts-pro] Add size for zoom slider (#17736) @bernardobelchior
80
+ - [charts-pro] Add zoom slider tooltip (#17733) @bernardobelchior
81
+ - [charts-pro] Clean and document Heatmap Tooltip (#17933) @alexfauquette
82
+ - [charts-pro] Introduce `Pyramid` chart (#17783) @JCQuintas
83
+ - [charts-pro] Update zoom slider nomenclature (#17938) @bernardobelchior
84
+ - [charts-pro] Fix error when importing rasterizehtml (#17897) @bernardobelchior
85
+
86
+ ### Tree View
87
+
88
+ #### `@mui/x-tree-view@8.4.0`
89
+
90
+ - [TreeView] Add `getItemChildren` prop in `RichTreeView` (#17894) @rita-codes
91
+ - [TreeView] Add a method in the `apiRef` to toggle the editing status of an item (#17768) @rita-codes
92
+ - [TreeView] Add missing sx prop on the Tree Item component (#17930) @flaviendelangle
93
+
94
+ #### `@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')
95
+
96
+ Same changes as in `@mui/x-tree-view@8.4.0`.
97
+
98
+ ### Docs
99
+
100
+ - [docs] Add a recipe for drag and drop row grouping (#17638) @KenanYusuf
101
+ - [docs] Add introductory text to Data Grid component pages (#17902) @KenanYusuf
102
+ - [docs] Refactor embedded CodeSandbox on Data Grid—Quickstart page (#17749) @rita-codes
103
+ - [docs] Remove double border on Data Grid—Quickstart demo (#17932) @rita-codes
104
+ - [docs] Standardize `apiRef` copy (#17776) @mapache-salvaje
105
+ - [docs][DataGrid] Revise server-side data docs (#17007) @mapache-salvaje
106
+ - [docs][DataGrid] Audit and revise the tree data doc (#17650) @mapache-salvaje
107
+ - [docs][pickers] Fix migration guide references to range fields (#17861) @LukasTy
108
+ - [docs][charts] Reorganize the Tooltip documentation (#17917) @alexfauquette
109
+
110
+ ### Core
111
+
112
+ - [core] refactor: remove manual `displayName` (#17845) @romgrk
113
+ - [code-infra] Document how to use `vitest` cli (#17847) @JCQuintas
114
+ - [code-infra] Increase charts export test timeout (#17909) @JCQuintas
115
+ - [code-infra] Set `isolatedModules=true` in tsconfig (#17781) @JCQuintas
116
+ - [infra] Ensure proper docs preview path resolution (#17863) @LukasTy
117
+
118
+ ## 8.3.1
119
+
120
+ _May 14, 2025_
121
+
122
+ We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
123
+
124
+ - 🌍 Improve Norwegian Bokmål (nb-NO) locale on the Data Grid
125
+ - 🌍 Improve Korean (ko-KR) locale on the Data Grid and Pickers
126
+ - 📚 Documentation improvements
127
+ - 🐞 Bugfixes
128
+
129
+ Special thanks go out to the community members for their valuable contributions:
130
+ @100pearlcent, @htollefsen, @JanPretzel, @sai6855.
131
+ Following are all team members who have contributed to this release:
132
+ @bernardobelchior, @cherniavskii, @flaviendelangle, @Janpot, @JCQuintas, @MBilalShafi, @oliviertassinari, @prakhargupta1.
133
+
134
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
135
+
136
+ ### Data Grid
137
+
138
+ #### `@mui/x-data-grid@8.3.1`
139
+
140
+ - [DataGrid] Add `reason` param for `onRowSelectionModelChange` callback (#17545) @sai6855
141
+ - [DataGrid] Fix `renderContext` calculation loop (#17779) @cherniavskii
142
+ - [DataGrid] Fix column spanning jump on scroll (#17759) @cherniavskii
143
+ - [DataGrid] Fix material augmentation not working (#17761) @cherniavskii
144
+ - [DataGrid] Use arguments selector for checkbox props (#17683) @MBilalShafi
145
+ - [l10n] Improve Norwegian Bokmål (nb-NO) locale (#17766) @htollefsen
146
+ - [l10n] Improve Korean (ko-KR) locale (#17484) @100pearlcent
147
+
148
+ #### `@mui/x-data-grid-pro@8.3.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
149
+
150
+ Same changes as in `@mui/x-data-grid@8.3.1`.
151
+
152
+ #### `@mui/x-data-grid-premium@8.3.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
153
+
154
+ Same changes as in `@mui/x-data-grid-pro@8.3.1`, plus:
155
+
156
+ - [DataGridPremium] Fix aggregation label not being used in pivot panel (#17760) @cherniavskii
157
+
158
+ ### Date and Time Pickers
159
+
160
+ #### `@mui/x-date-pickers@8.3.1`
161
+
162
+ - [fields] Add notch to the field outlined when the label is manually shrank (#17620) @flaviendelangle
163
+ - [l10n] Improve Korean (ko-KR) locale (#17484) @100pearlcent
164
+
165
+ #### `@mui/x-date-pickers-pro@8.3.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
166
+
167
+ Same changes as in `@mui/x-date-pickers@8.3.1`.
168
+
169
+ ### Charts
170
+
171
+ #### `@mui/x-charts@8.3.1`
172
+
173
+ - [charts] Fix infinite tick number when zoom range is zero (#17750) @bernardobelchior
174
+ - [charts] Improve tick rendering performance (#17755) @bernardobelchior
175
+
176
+ #### `@mui/x-charts-pro@8.3.1` [![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-charts@8.3.1`, plus:
179
+
180
+ - [charts-pro] Fix ESM build issue with Vite (#17774) @bernardobelchior
181
+ - [charts-pro] Add benchmark for zoomed in scatter chart (#17756) @bernardobelchior
182
+
183
+ ### Tree View
184
+
185
+ #### `@mui/x-tree-view@8.3.1`
186
+
187
+ Internal changes.
188
+
189
+ #### `@mui/x-tree-view-pro@8.3.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
190
+
191
+ Same changes as in `@mui/x-tree-view@8.3.1`.
192
+
193
+ ### Docs
194
+
195
+ - [docs] Fix 301 to Next.js docs for license @oliviertassinari
196
+ - [docs] Fix AI assistant API URL (#17745) @oliviertassinari
197
+ - [docs] Fix heading structure in README @oliviertassinari
198
+ - [docs] Fix translation keys documentation (#17811) @JanPretzel
199
+ - [docs] Improve CHANGELOG format @oliviertassinari
200
+
201
+ ### Core
202
+
203
+ - [core] Apply YAML convention, blank line only at top level @oliviertassinari
204
+ - [code-infra] Fix dynamic import missing extensions (#17767) @Janpot
205
+ - [code-infra] Replace `mocha` with `vitest` for browser & jsdom tests (#14508) @JCQuintas
206
+ - [scheduler] Create the package and setup a private doc page (#17239) @flaviendelangle
207
+
8
208
  ## 8.3.0
9
209
 
10
210
  _May 8, 2025_
@@ -15,10 +215,8 @@ We'd like to offer a big thanks to the 11 contributors who made this release pos
15
215
  - 📚 Documentation improvements
16
216
  - 🐞 Bugfixes
17
217
 
18
- Special thanks go out to this community member for a valuable contribution:
19
- @ptuukkan.
20
- Team members who have contributed to this release:
21
- @alexfauquette, @arminmeh, @bernardobelchior, @flaviendelangle, @Janpot, @JCQuintas, @LukasTy, @MBilalShafi, @rita-codes, @romgrk.
218
+ Special thanks go out to this community member for a valuable contribution: @ptuukkan.
219
+ Team members who have contributed to this release: @alexfauquette, @arminmeh, @bernardobelchior, @flaviendelangle, @Janpot, @JCQuintas, @LukasTy, @MBilalShafi, @rita-codes, @romgrk.
22
220
 
23
221
  ### Data Grid
24
222
 
@@ -531,8 +729,7 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
531
729
  - 📚 Documentation improvements
532
730
  - 🐞 Bugfixes
533
731
 
534
- Team members who have contributed to this release:
535
- @bernardobelchior, @cherniavskii, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy, @MBilalShafi, @michelengelen, @oliviertassinari, @noraleonte, @romgrk, @alexfauquette.
732
+ Team members who have contributed to this release: @bernardobelchior, @cherniavskii, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy, @MBilalShafi, @michelengelen, @oliviertassinari, @noraleonte, @romgrk, @alexfauquette.
536
733
 
537
734
  <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
538
735
 
@@ -845,7 +1042,7 @@ We'd like to offer a big thanks to the 21 contributors who made this release pos
845
1042
  - 🌍 Improve Chinese (zh-CN), (zh-HK), (zh-TW), Czech (cs-CZ), Korean (ko-KR) and Slovak (sk-Sk) locales on the Data Grid
846
1043
  - 🌍 Improve Chinese (zh-CN), (zh-HK) and (zh-TW) locales on the Pickers
847
1044
 
848
- ## Breaking changes
1045
+ ### Breaking changes
849
1046
 
850
1047
  - ℹ️ The peer dependency on `@mui/material` has been updated to accept only v7.
851
1048
  This has been done to increase the adoption rate of ESM.
@@ -858,7 +1055,7 @@ Following are all team members who have contributed to this release:
858
1055
 
859
1056
  <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
860
1057
 
861
- ## Alpha release highlights
1058
+ ### Alpha release highlights
862
1059
 
863
1060
  Below are the highlights of the alpha releases leading up to this beta release:
864
1061
 
@@ -3152,8 +3349,7 @@ We'd like to offer a big thanks to the 4 contributors who made this release poss
3152
3349
 
3153
3350
  - 🐞 Bugfixes
3154
3351
 
3155
- Team members who have contributed to this release:
3156
- @arminmeh, @cherniavskii, @LukasTy, @michelengelen.
3352
+ Team members who have contributed to this release: @arminmeh, @cherniavskii, @LukasTy, @michelengelen.
3157
3353
 
3158
3354
  <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
3159
3355
 
@@ -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 = "MTc0NjY1NTIwMDAwMA==";
55
+ const releaseInfo = "MTc0Nzc3ODQwMDAwMA==";
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 = "MTc0NjY1NTIwMDAwMA==";
48
+ const releaseInfo = "MTc0Nzc3ODQwMDAwMA==";
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.0
2
+ * @mui/x-tree-view-pro v8.4.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.0
2
+ * @mui/x-tree-view-pro v8.4.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.0",
3
+ "version": "8.4.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.0",
45
- "@mui/x-license": "8.3.0",
46
- "@mui/x-tree-view": "8.3.0"
44
+ "@mui/x-internals": "8.4.0",
45
+ "@mui/x-license": "8.4.0",
46
+ "@mui/x-tree-view": "8.4.0"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@emotion/react": "^11.9.0",