@mui/x-tree-view-pro 9.6.0 → 9.7.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
@@ -1,5 +1,115 @@
1
1
  # Changelog
2
2
 
3
+ ## 9.7.0
4
+
5
+ _Jun 25, 2026_
6
+
7
+ We'd like to extend a big thank you to the 13 contributors who made this release possible. Here are some highlights ✨:
8
+
9
+ - 🐞 Bugfixes
10
+ - 📚 Documentation improvements
11
+
12
+ Special thanks go out to these community members for their valuable contributions:
13
+ @Anexus5919, @mustafajw07
14
+
15
+ The following team members contributed to this release:
16
+ @alexfauquette, @arminmeh, @brijeshb42, @Janpot, @JCQuintas, @LukasTy, @MBilalShafi, @michelengelen, @romgrk, @sai6855, @siriwatknp
17
+
18
+ ### Data Grid
19
+
20
+ #### `@mui/x-data-grid@9.7.0`
21
+
22
+ - [DataGrid] Fix `CustomColumnMenuGrid` demo crashing (#22897) @sai6855
23
+ - [DataGrid] Fix crash in `getRowValue` when `colDef` is `undefined` (#22838) @LukasTy
24
+ - [DataGrid] Fix `longText` expand button submitting surrounding form (#22450) @siriwatknp
25
+ - [DataGrid] Remove filename ignore list from `removePropTypesPlugin` in Babel config (#22727) @sai6855
26
+ - [DataGrid] Deduplicate scroll-preserving focus logic (#22916) @sai6855
27
+ - [DataGrid] Fix `singleSelect` clearing to use empty string instead of `null` (#22881) @michelengelen
28
+ - [DataGrid] Wait for rows before reacting on `autosizeOnMount` (#22698) @MBilalShafi
29
+
30
+ #### `@mui/x-data-grid-pro@9.7.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
31
+
32
+ Same changes as in `@mui/x-data-grid@9.7.0`.
33
+
34
+ #### `@mui/x-data-grid-premium@9.7.0` [![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@9.7.0`.
37
+
38
+ ### Date and Time Pickers
39
+
40
+ #### `@mui/x-date-pickers@9.7.0`
41
+
42
+ - [fields] Announce cardinal day in the day section `aria-valuetext` (#22922) @LukasTy
43
+ - [fields] Avoid focusing the field on blank space clicks (#22285) @LukasTy
44
+ - [pickers] Commit `TimeClock` value when the drag ends outside the clock (#22877) @LukasTy
45
+ - [pickers] Respect explicit `notched` prop on the outlined PickersTextField (#22875) @LukasTy
46
+
47
+ #### `@mui/x-date-pickers-pro@9.7.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
48
+
49
+ Same changes as in `@mui/x-date-pickers@9.7.0`.
50
+
51
+ ### Charts
52
+
53
+ #### `@mui/x-charts@9.7.0`
54
+
55
+ - [charts] Add demo for displaying the sum of all values from the stacked series on top of the stacked bars (#22879) @sai6855
56
+ - [charts] Add `zAxis` custom scatter component demo (#22746) @mustafajw07
57
+ - [charts] Apply axis `colorMap` to radial bar fill (#22800) @JCQuintas
58
+ - [charts] Simplify classes type (#22626) @alexfauquette
59
+ - [charts] Stable progressive scatter batching + responsive zoom/pan (#22862) @JCQuintas
60
+ - [charts] Strip dev-only console diagnostics from production (#22917) @sai6855
61
+ - [docs] Fix scatter renderer table blocking column (#22904) @JCQuintas
62
+ - [docs] Make `ScatterAsyncRenderer` button bar responsive (#22905) @JCQuintas
63
+
64
+ #### `@mui/x-charts-pro@9.7.0` [![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@9.7.0`.
67
+
68
+ #### `@mui/x-charts-premium@9.7.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
69
+
70
+ Same changes as in `@mui/x-charts-pro@9.7.0`.
71
+
72
+ ### Tree View
73
+
74
+ #### `@mui/x-tree-view@9.7.0`
75
+
76
+ Internal changes.
77
+
78
+ #### `@mui/x-tree-view-pro@9.7.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
79
+
80
+ Same changes as in `@mui/x-tree-view@9.7.0`.
81
+
82
+ ### Scheduler
83
+
84
+ #### `@mui/x-scheduler@9.0.0-beta.3`
85
+
86
+ - [scheduler] Highlight only the edited occurrence of a recurring event (#22873) @Anexus5919
87
+
88
+ #### `@mui/x-scheduler-premium@9.0.0-beta.3` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
89
+
90
+ Same changes as in `@mui/x-scheduler@9.0.0-beta.3`.
91
+
92
+ ### Codemod
93
+
94
+ #### `@mui/x-codemod@9.7.0`
95
+
96
+ Internal changes.
97
+
98
+ ### Core
99
+
100
+ - [code-infra] Fix react@^18 CI failing on nanoid trust-downgrade (#22923) @LukasTy
101
+ - [code-infra] Reduce Netlify build parallelism to 2 (#22925) @LukasTy
102
+ - [code-infra] Use Turbopack for docs in dev (#22882) @brijeshb42
103
+ - [docs-infra] Pre-render API page descriptions (#22919) @brijeshb42
104
+ - [internal] Use `@base-ui/utils/platform` for platform detection (#22710) @romgrk
105
+ - [internal] Enforce top-level type imports (#22679) @Janpot
106
+
107
+ ### Miscellaneous
108
+
109
+ - [internal] Enable mui/no-floating-cleanup and fix leaks (#22872) @romgrk
110
+ - [infra] Update `.gitignore` to exclude `.claude` sub-directories (#22435) @michelengelen
111
+ - [virtualizer] Improve the dimensions' initial state (#22885) @arminmeh
112
+
3
113
  ## 9.6.0
4
114
 
5
115
  _Jun 18, 2026_
@@ -115,7 +225,7 @@ Same changes as in `@mui/x-scheduler@9.0.0-beta.2`, plus:
115
225
 
116
226
  - [scheduler-premium] Expose premium model types through public API (#22798) @mustafajw07
117
227
  - [scheduler-premium] Remove non-functional `onPreferencesChange` prop from `EventTimelinePremium` (#22777) @rita-codes
118
- - [scheduler-premium] Validate the `FREQ` value in `parseRRule`] (#22786) @rita-codes
228
+ - [scheduler-premium] Validate the `FREQ` value in `parseRRule`] (#22786) @rita-codes
119
229
 
120
230
  ### Codemod
121
231
 
@@ -59,8 +59,8 @@ const RichTreeViewProRoot = exports.RichTreeViewProRoot = (0, _zeroStyled.styled
59
59
  }
60
60
  });
61
61
  const packageInfo = {
62
- releaseDate: "MTc4MTc0MDgwMDAwMA==",
63
- version: "9.6.0",
62
+ releaseDate: "MTc4MjM0NTYwMDAwMA==",
63
+ version: "9.7.0",
64
64
  name: 'x-tree-view-pro'
65
65
  };
66
66
 
@@ -52,8 +52,8 @@ export const RichTreeViewProRoot = styled('ul', {
52
52
  }
53
53
  });
54
54
  const packageInfo = {
55
- releaseDate: "MTc4MTc0MDgwMDAwMA==",
56
- version: "9.6.0",
55
+ releaseDate: "MTc4MjM0NTYwMDAwMA==",
56
+ version: "9.7.0",
57
57
  name: 'x-tree-view-pro'
58
58
  };
59
59
 
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-tree-view-pro v9.6.0
2
+ * @mui/x-tree-view-pro v9.7.0
3
3
  *
4
4
  * @license SEE LICENSE IN LICENSE
5
5
  * This source code is licensed under the SEE LICENSE IN LICENSE license found in the
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-tree-view-pro v9.6.0
2
+ * @mui/x-tree-view-pro v9.7.0
3
3
  *
4
4
  * @license SEE LICENSE IN LICENSE
5
5
  * This source code is licensed under the SEE LICENSE IN LICENSE license found in the
@@ -6,7 +6,7 @@ import { TreeViewItemsReorderingPlugin } from "../plugins/itemsReordering/index.
6
6
  export declare class RichTreeViewProStore<R extends TreeViewValidItem<R>, Multiple extends boolean | undefined> extends ExtendableRichTreeViewStore<R, Multiple, RichTreeViewProState<R, Multiple>, RichTreeViewProStoreParameters<R, Multiple>> {
7
7
  lazyLoading: TreeViewLazyLoadingPlugin<R>;
8
8
  itemsReordering: TreeViewItemsReorderingPlugin;
9
- disposeEffect: () => () => void;
9
+ mountEffect: () => void;
10
10
  constructor(parameters: RichTreeViewProStoreParameters<R, Multiple>);
11
11
  buildPublicAPI(): {
12
12
  updateItemChildren: (itemId: import("@mui/x-tree-view").TreeViewItemId | null) => Promise<void>;
@@ -6,7 +6,7 @@ import { TreeViewItemsReorderingPlugin } from "../plugins/itemsReordering/index.
6
6
  export declare class RichTreeViewProStore<R extends TreeViewValidItem<R>, Multiple extends boolean | undefined> extends ExtendableRichTreeViewStore<R, Multiple, RichTreeViewProState<R, Multiple>, RichTreeViewProStoreParameters<R, Multiple>> {
7
7
  lazyLoading: TreeViewLazyLoadingPlugin<R>;
8
8
  itemsReordering: TreeViewItemsReorderingPlugin;
9
- disposeEffect: () => () => void;
9
+ mountEffect: () => void;
10
10
  constructor(parameters: RichTreeViewProStoreParameters<R, Multiple>);
11
11
  buildPublicAPI(): {
12
12
  updateItemChildren: (itemId: import("@mui/x-tree-view").TreeViewItemId | null) => Promise<void>;
@@ -12,9 +12,8 @@ var _itemsReordering = require("../plugins/itemsReordering");
12
12
  var _RichTreeViewProStore = require("./RichTreeViewProStore.utils");
13
13
  class RichTreeViewProStore extends _internals.ExtendableRichTreeViewStore {
14
14
  itemsReordering = new _itemsReordering.TreeViewItemsReorderingPlugin(this);
15
- disposeEffect = () => {
15
+ mountEffect = () => {
16
16
  this.lazyLoading.initEffect();
17
- return this.timeoutManager.clearAll;
18
17
  };
19
18
  constructor(parameters) {
20
19
  super(parameters, 'RichTreeViewPro', _RichTreeViewProStore.parametersToStateMapper);
@@ -5,9 +5,8 @@ import { TreeViewItemsReorderingPlugin } from "../plugins/itemsReordering/index.
5
5
  import { parametersToStateMapper } from "./RichTreeViewProStore.utils.mjs";
6
6
  export class RichTreeViewProStore extends ExtendableRichTreeViewStore {
7
7
  itemsReordering = new TreeViewItemsReorderingPlugin(this);
8
- disposeEffect = () => {
8
+ mountEffect = () => {
9
9
  this.lazyLoading.initEffect();
10
- return this.timeoutManager.clearAll;
11
10
  };
12
11
  constructor(parameters) {
13
12
  super(parameters, 'RichTreeViewPro', parametersToStateMapper);
@@ -2,7 +2,6 @@ import * as React from 'react';
2
2
  import { TreeViewCancellableEventHandler } from '@mui/x-tree-view/models';
3
3
  import { TreeViewItemPlugin } from '@mui/x-tree-view/internals';
4
4
  import { TreeItemDragAndDropOverlayProps } from '@mui/x-tree-view/TreeItemDragAndDropOverlay';
5
- export declare const isAndroid: () => boolean;
6
5
  export declare const useTreeViewItemsReorderingItemPlugin: TreeViewItemPlugin;
7
6
  interface UseTreeItemRootSlotPropsFromItemsReordering {
8
7
  draggable?: true;
@@ -2,7 +2,6 @@ import * as React from 'react';
2
2
  import { TreeViewCancellableEventHandler } from '@mui/x-tree-view/models';
3
3
  import { TreeViewItemPlugin } from '@mui/x-tree-view/internals';
4
4
  import { TreeItemDragAndDropOverlayProps } from '@mui/x-tree-view/TreeItemDragAndDropOverlay';
5
- export declare const isAndroid: () => boolean;
6
5
  export declare const useTreeViewItemsReorderingItemPlugin: TreeViewItemPlugin;
7
6
  interface UseTreeItemRootSlotPropsFromItemsReordering {
8
7
  draggable?: true;
@@ -5,13 +5,12 @@ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWild
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.useTreeViewItemsReorderingItemPlugin = exports.isAndroid = void 0;
8
+ exports.useTreeViewItemsReorderingItemPlugin = void 0;
9
9
  var React = _interopRequireWildcard(require("react"));
10
+ var _platform = require("@base-ui/utils/platform");
10
11
  var _store = require("@mui/x-internals/store");
11
12
  var _internals = require("@mui/x-tree-view/internals");
12
13
  var _selectors = require("./selectors");
13
- const isAndroid = () => navigator.userAgent.toLowerCase().includes('android');
14
- exports.isAndroid = isAndroid;
15
14
  const useTreeViewItemsReorderingItemPlugin = ({
16
15
  props
17
16
  }) => {
@@ -51,7 +50,7 @@ const useTreeViewItemsReorderingItemPlugin = ({
51
50
  const {
52
51
  types
53
52
  } = event.dataTransfer;
54
- if (isAndroid() && !types.includes('text/plain') && !types.includes('text/uri-list')) {
53
+ if (_platform.platform.os.android && !types.includes('text/plain') && !types.includes('text/uri-list')) {
55
54
  event.dataTransfer.setData('text/plain', 'android-fallback');
56
55
  }
57
56
 
@@ -1,10 +1,10 @@
1
1
  'use client';
2
2
 
3
3
  import * as React from 'react';
4
+ import { platform } from '@base-ui/utils/platform';
4
5
  import { useStore } from '@mui/x-internals/store';
5
6
  import { useTreeViewContext, isTargetInDescendants } from '@mui/x-tree-view/internals';
6
7
  import { itemsReorderingSelectors } from "./selectors.mjs";
7
- export const isAndroid = () => navigator.userAgent.toLowerCase().includes('android');
8
8
  export const useTreeViewItemsReorderingItemPlugin = ({
9
9
  props
10
10
  }) => {
@@ -44,7 +44,7 @@ export const useTreeViewItemsReorderingItemPlugin = ({
44
44
  const {
45
45
  types
46
46
  } = event.dataTransfer;
47
- if (isAndroid() && !types.includes('text/plain') && !types.includes('text/uri-list')) {
47
+ if (platform.os.android && !types.includes('text/plain') && !types.includes('text/uri-list')) {
48
48
  event.dataTransfer.setData('text/plain', 'android-fallback');
49
49
  }
50
50
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-tree-view-pro",
3
- "version": "9.6.0",
3
+ "version": "9.7.0",
4
4
  "author": "MUI Team",
5
5
  "description": "The Pro plan edition of the MUI X Tree View components.",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -32,18 +32,18 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@babel/runtime": "^7.29.7",
35
- "@base-ui/utils": "^0.2.9",
36
- "@mui/utils": "^9.0.1",
35
+ "@base-ui/utils": "^0.3.0",
36
+ "@mui/utils": "^9.1.1",
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
41
  "reselect": "^5.2.0",
42
42
  "use-sync-external-store": "^1.6.0",
43
- "@mui/x-license": "^9.6.0",
44
- "@mui/x-tree-view": "^9.6.0",
45
- "@mui/x-internals": "^9.6.0",
46
- "@mui/x-virtualizer": "9.0.0-alpha.10"
43
+ "@mui/x-internals": "^9.7.0",
44
+ "@mui/x-license": "^9.7.0",
45
+ "@mui/x-tree-view": "^9.7.0",
46
+ "@mui/x-virtualizer": "0.5.0"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@emotion/react": "^11.9.0",