@mui/x-data-grid-pro 9.0.0-alpha.2 → 9.0.0-alpha.3

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,127 @@
1
1
  # Changelog
2
2
 
3
+ ## 9.0.0-alpha.3
4
+
5
+ _Mar 12, 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 and internal improvements
10
+
11
+ The following team members contributed to this release:
12
+ @aemartos, @alexfauquette, @bernardobelchior, @brijeshb42, @cherniavskii, @flaviendelangle, @Janpot, @JCQuintas, @MBilalShafi, @michelengelen, @rita-codes, @sai6855, @siriwatknp
13
+
14
+ ### Data Grid
15
+
16
+ #### `@mui/x-data-grid@9.0.0-alpha.3`
17
+
18
+ - [DataGrid] Fix crash when `rows` and `rowModesModel` are updated simultaneously (#21265) @michelengelen
19
+ - [DataGrid] Add missing `resizablePanelHandle` classes to `gridClasses` object (#21538) @sai6855
20
+ - [DataGrid] Refactor `headerAlign` style calls (#21541) @sai6855
21
+
22
+ #### `@mui/x-data-grid-pro@9.0.0-alpha.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
23
+
24
+ Same changes as in `@mui/x-data-grid@9.0.0-alpha.3`, plus:
25
+
26
+ - [DataGridPro] Add `role="presentation"` to detail panel toggle header content (#21634) @michelengelen
27
+ - [DataGridPro] Fix sorting not reflected in nested server-side data (#21619) @MBilalShafi
28
+
29
+ #### `@mui/x-data-grid-premium@9.0.0-alpha.3` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
30
+
31
+ Same changes as in `@mui/x-data-grid-pro@9.0.0-alpha.3`.
32
+
33
+ ### Date and Time Pickers
34
+
35
+ #### `@mui/x-date-pickers@9.0.0-alpha.3`
36
+
37
+ - [pickers] Refactor `DateRangePickerDay` overrides to use a centralized `elementOverrides` object (#21426) @sai6855
38
+ - [pickers] Migrate from deprecated props for `PickersModalDialog` (#21702) @siriwatknp
39
+
40
+ #### `@mui/x-date-pickers-pro@9.0.0-alpha.3` [![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-date-pickers@9.0.0-alpha.3`.
43
+
44
+ ### Charts
45
+
46
+ #### `@mui/x-charts@9.0.0-alpha.3`
47
+
48
+ - [charts] Differentiate Line Plot roots classes (#21679) @JCQuintas
49
+ - [charts] Enable keyboard navigation by default (#21675) @alexfauquette
50
+ - [charts] Fix keyboard tooltip radar (#21667) @alexfauquette
51
+ - [charts] Fix selector default parameter (#21638) @JCQuintas
52
+ - [charts] Fix tooltip blink between node and pointer anchor (#21611) @alexfauquette
53
+ - [charts] Let tooltip and legend reflect the line shape (#21475) @alexfauquette
54
+ - [charts] Refactor `BarChart` classes structure (#21601) @JCQuintas
55
+ - [charts] Refactor `LineChart` classes structure (#21648) @JCQuintas
56
+ - [charts] Refactor `ScatterChart` classes structure (#21651) @JCQuintas
57
+ - [charts] Refactor `PieChart` classes structure (#21649) @JCQuintas
58
+ - [charts] Remove batch rendering checks in highlight selectors (#21646) @bernardobelchior
59
+ - [charts] Standardize generic arg names to `SeriesType` (#21694) @alexfauquette
60
+ - [charts] Simplify highlight hooks return types (#21695) @alexfauquette
61
+
62
+ #### `@mui/x-charts-pro@9.0.0-alpha.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
63
+
64
+ Same changes as in `@mui/x-charts@9.0.0-alpha.3`, plus:
65
+
66
+ - [charts-pro] Fix heatmap style override from `arc` to `cell` (#21693) @Copilot
67
+ - [charts-pro] Fix image export truncated when page is zoomed out (#21685) @bernardobelchior
68
+ - [charts-pro] Speed-up heatmap cell search with an index lookup (#21130) @alexfauquette
69
+ - [charts-pro] Fix heatmap highlight not working (#21710) @Copilot
70
+
71
+ #### `@mui/x-charts-premium@9.0.0-alpha.3` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
72
+
73
+ Same changes as in `@mui/x-charts-pro@9.0.0-alpha.3`, plus:
74
+
75
+ - [charts-premium] Re-enable WebGL tests (#21708) @bernardobelchior
76
+
77
+ ### Tree View
78
+
79
+ #### Breaking changes
80
+
81
+ - Remove `TreeViewBaseItem` type (use `TreeViewDefaultItemModelProperties` or a custom interface)
82
+ - Remove `useTreeViewApiRef` hook (use `useRichTreeViewApiRef`, `useSimpleTreeViewApiRef`, or `useRichTreeViewProApiRef`)
83
+ - Remove `status` from content slot props returned by `getContentProps()` (use `data-*` attributes; `status` on `useTreeItem` return value is unchanged)
84
+ - Remove deprecated CSS state classes from `treeItemClasses`: `expanded`, `selected`, `focused`, `disabled`, `editable`, `editing` (use `[data-expanded]`, `[data-selected]`, etc.)
85
+ - The `<RichTreeViewPro />` component has now virtualization enabled by default.
86
+ - The items used inside the `<RichTreeViewPro />` now have a default height of `32px`.
87
+ - The events of the `<RichTreeViewPro />` are now rendered as a flat list instead of a nested tree.
88
+
89
+ #### `@mui/x-tree-view@9.0.0-alpha.3`
90
+
91
+ - [tree view] Remove deprecated APIs (#21591) @flaviendelangle
92
+ - [tree view] Fix collapsed children not selected with `selectionPropagation.descendants` in `SimpleTreeView` (#21253) @flaviendelangle
93
+
94
+ #### `@mui/x-tree-view-pro@9.0.0-alpha.3` [![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@9.0.0-alpha.3`, plus:
97
+
98
+ - [RichTreeViewPro] Make the virtualization opt-out and port the layout doc from the data grid (#21461) @flaviendelangle
99
+
100
+ ### Codemod
101
+
102
+ #### `@mui/x-codemod@9.0.0-alpha.3`
103
+
104
+ Internal changes.
105
+
106
+ ### Docs
107
+
108
+ - [docs] Fix `AssistantWithDataSource` demo crashing (#21555) @sai6855
109
+ - [docs] Remove `Preview` pill from Sankey (#21623) @bernardobelchior
110
+ - [docs] Migrate internal Material UI deprecated APIs (#21680) @siriwatknp
111
+ - [docs] Remove `New` flag on Tree View and Date and Time Pickers features released before v9 alpha (#21585) @flaviendelangle
112
+
113
+ ### Core
114
+
115
+ - [code-infra] Remove checkout step (#21688) @Janpot
116
+ - [code-infra] Fix contributor generation in changelog (#21718) @brijeshb42
117
+ - [docs-infra] Do not point to non-existent v8 subdomain (#21640) @cherniavskii
118
+
119
+ ### Miscellaneous
120
+
121
+ - [test] Add missing tests for forwarding props to filter operators in DataGrid (#21441) @siriwatknp
122
+ - [x-license] Export additional license types and constants (#21625) @aemartos
123
+ - [x-license] Refactor license verification to accept package info object and add v9 version gating (#21690) @aemartos
124
+
3
125
  ## 9.0.0-alpha.2
4
126
 
5
127
  _Mar 5, 2026_
@@ -92,7 +214,7 @@ Internal changes.
92
214
 
93
215
  - [docs] Add backticks and parentheses to all functions and hooks (DX-173) (#21496) @mapache-salvaje
94
216
  - [docs] Remove mentions of `mySvgRef` (#21559) @bernardobelchior
95
- - [docs] Update Roadmap section in the docs (#20892) @alelthomas
217
+ - [docs] Update Roadmap section in the docs (#20892) @alelthomas
96
218
  - [docs] Add tutorial and example app for aggregation with row grouping (DX-162) (#21102) @mapache-salvaje
97
219
  - [docs] Fix missing codemod docs (#21604) @JCQuintas
98
220
 
@@ -10,10 +10,9 @@ exports.DataGridPro = void 0;
10
10
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
11
  var React = _interopRequireWildcard(require("react"));
12
12
  var _propTypes = _interopRequireDefault(require("prop-types"));
13
- var _useLicenseVerifier = require("@mui/x-license/useLicenseVerifier");
14
- var _Watermark = require("@mui/x-license/Watermark");
13
+ var _internals = require("@mui/x-license/internals");
15
14
  var _xDataGrid = require("@mui/x-data-grid");
16
- var _internals = require("@mui/x-data-grid/internals");
15
+ var _internals2 = require("@mui/x-data-grid/internals");
17
16
  var _material = require("@mui/x-data-grid/material");
18
17
  var _forwardRef = require("@mui/x-internals/forwardRef");
19
18
  var _useGridRowsOverridableMethods = require("../hooks/features/rows/useGridRowsOverridableMethods");
@@ -29,24 +28,27 @@ const configuration = {
29
28
  useGridAriaAttributes: _useGridAriaAttributes.useGridAriaAttributesPro,
30
29
  useGridRowAriaAttributes: _useGridRowAriaAttributes.useGridRowAriaAttributesPro,
31
30
  useGridRowsOverridableMethods: _useGridRowsOverridableMethods.useGridRowsOverridableMethods,
32
- useGridParamsOverridableMethods: _internals.useGridParamsOverridableMethods,
33
- useIsCellEditable: _internals.useIsCellEditable,
31
+ useGridParamsOverridableMethods: _internals2.useGridParamsOverridableMethods,
32
+ useIsCellEditable: _internals2.useIsCellEditable,
34
33
  useCellAggregationResult: () => null,
35
34
  useFilterValueGetter: apiRef => apiRef.current.getRowValue
36
35
  }
37
36
  };
38
- const releaseInfo = "MTc3MjY2ODgwMDAwMA==";
39
- const watermark = /*#__PURE__*/(0, _jsxRuntime.jsx)(_Watermark.Watermark, {
40
- packageName: "x-data-grid-pro",
41
- releaseInfo: releaseInfo
37
+ const packageInfo = {
38
+ releaseDate: "MTc3MzI3MzYwMDAwMA==",
39
+ version: process.env.MUI_VERSION,
40
+ name: 'x-data-grid-pro'
41
+ };
42
+ const watermark = /*#__PURE__*/(0, _jsxRuntime.jsx)(_internals.Watermark, {
43
+ packageInfo: packageInfo
42
44
  });
43
45
  const DataGridProRaw = (0, _forwardRef.forwardRef)(function DataGridPro(inProps, ref) {
44
46
  const props = (0, _useDataGridProProps.useDataGridProProps)(inProps);
45
- const privateApiRef = (0, _internals.useGridApiInitialization)(props.apiRef, props);
47
+ const privateApiRef = (0, _internals2.useGridApiInitialization)(props.apiRef, props);
46
48
  (0, _useDataGridProComponent.useDataGridProComponent)(privateApiRef, props, configuration);
47
- (0, _useLicenseVerifier.useLicenseVerifier)('x-data-grid-pro', releaseInfo);
49
+ (0, _internals.useLicenseVerifier)(packageInfo);
48
50
  if (process.env.NODE_ENV !== 'production') {
49
- (0, _internals.validateProps)(props, _propValidation.propValidatorsDataGridPro);
51
+ (0, _internals2.validateProps)(props, _propValidation.propValidatorsDataGridPro);
50
52
  }
51
53
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_xDataGrid.GridContextProvider, {
52
54
  privateApiRef: privateApiRef,
@@ -3,8 +3,7 @@
3
3
  import _extends from "@babel/runtime/helpers/esm/extends";
4
4
  import * as React from 'react';
5
5
  import PropTypes from 'prop-types';
6
- import { useLicenseVerifier } from '@mui/x-license/useLicenseVerifier';
7
- import { Watermark } from '@mui/x-license/Watermark';
6
+ import { useLicenseVerifier, Watermark } from '@mui/x-license/internals';
8
7
  import { GridRoot, GridContextProvider } from '@mui/x-data-grid';
9
8
  import { validateProps, useGridApiInitialization, useGridParamsOverridableMethods, useIsCellEditable } from '@mui/x-data-grid/internals';
10
9
  import { useMaterialCSSVariables } from '@mui/x-data-grid/material';
@@ -28,16 +27,19 @@ const configuration = {
28
27
  useFilterValueGetter: apiRef => apiRef.current.getRowValue
29
28
  }
30
29
  };
31
- const releaseInfo = "MTc3MjY2ODgwMDAwMA==";
30
+ const packageInfo = {
31
+ releaseDate: "MTc3MzI3MzYwMDAwMA==",
32
+ version: process.env.MUI_VERSION,
33
+ name: 'x-data-grid-pro'
34
+ };
32
35
  const watermark = /*#__PURE__*/_jsx(Watermark, {
33
- packageName: "x-data-grid-pro",
34
- releaseInfo: releaseInfo
36
+ packageInfo: packageInfo
35
37
  });
36
38
  const DataGridProRaw = forwardRef(function DataGridPro(inProps, ref) {
37
39
  const props = useDataGridProProps(inProps);
38
40
  const privateApiRef = useGridApiInitialization(props.apiRef, props);
39
41
  useDataGridProComponent(privateApiRef, props, configuration);
40
- useLicenseVerifier('x-data-grid-pro', releaseInfo);
42
+ useLicenseVerifier(packageInfo);
41
43
  if (process.env.NODE_ENV !== 'production') {
42
44
  validateProps(props, propValidatorsDataGridPro);
43
45
  }
@@ -69,7 +69,7 @@ const useUtilityClasses = ownerState => {
69
69
  pinnedPosition
70
70
  } = ownerState;
71
71
  const slots = {
72
- root: ['columnHeader', 'columnHeader--filter', colDef.headerAlign === 'left' && 'columnHeader--alignLeft', colDef.headerAlign === 'center' && 'columnHeader--alignCenter', colDef.headerAlign === 'right' && 'columnHeader--alignRight', 'withBorderColor', showRightBorder && 'columnHeader--withRightBorder', showLeftBorder && 'columnHeader--withLeftBorder', pinnedPosition === _internals.PinnedColumnPosition.LEFT && 'columnHeader--pinnedLeft', pinnedPosition === _internals.PinnedColumnPosition.RIGHT && 'columnHeader--pinnedRight'],
72
+ root: ['columnHeader', 'columnHeader--filter', colDef.headerAlign && `columnHeader--align${(0, _capitalize.default)(colDef.headerAlign)}`, 'withBorderColor', showRightBorder && 'columnHeader--withRightBorder', showLeftBorder && 'columnHeader--withLeftBorder', pinnedPosition === _internals.PinnedColumnPosition.LEFT && 'columnHeader--pinnedLeft', pinnedPosition === _internals.PinnedColumnPosition.RIGHT && 'columnHeader--pinnedRight'],
73
73
  input: ['columnHeaderFilterInput'],
74
74
  operatorLabel: ['columnHeaderFilterOperatorLabel']
75
75
  };
@@ -62,7 +62,7 @@ const useUtilityClasses = ownerState => {
62
62
  pinnedPosition
63
63
  } = ownerState;
64
64
  const slots = {
65
- root: ['columnHeader', 'columnHeader--filter', colDef.headerAlign === 'left' && 'columnHeader--alignLeft', colDef.headerAlign === 'center' && 'columnHeader--alignCenter', colDef.headerAlign === 'right' && 'columnHeader--alignRight', 'withBorderColor', showRightBorder && 'columnHeader--withRightBorder', showLeftBorder && 'columnHeader--withLeftBorder', pinnedPosition === PinnedColumnPosition.LEFT && 'columnHeader--pinnedLeft', pinnedPosition === PinnedColumnPosition.RIGHT && 'columnHeader--pinnedRight'],
65
+ root: ['columnHeader', 'columnHeader--filter', colDef.headerAlign && `columnHeader--align${capitalize(colDef.headerAlign)}`, 'withBorderColor', showRightBorder && 'columnHeader--withRightBorder', showLeftBorder && 'columnHeader--withLeftBorder', pinnedPosition === PinnedColumnPosition.LEFT && 'columnHeader--pinnedLeft', pinnedPosition === PinnedColumnPosition.RIGHT && 'columnHeader--pinnedRight'],
66
66
  input: ['columnHeaderFilterInput'],
67
67
  operatorLabel: ['columnHeaderFilterOperatorLabel']
68
68
  };
@@ -42,6 +42,7 @@ const GRID_DETAIL_PANEL_TOGGLE_COL_DEF = exports.GRID_DETAIL_PANEL_TOGGLE_COL_DE
42
42
  renderHeader: ({
43
43
  colDef
44
44
  }) => /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
45
- "aria-label": colDef.headerName
45
+ "aria-label": colDef.headerName,
46
+ role: "presentation"
46
47
  })
47
48
  });
@@ -30,6 +30,7 @@ export const GRID_DETAIL_PANEL_TOGGLE_COL_DEF = _extends({}, GRID_STRING_COL_DEF
30
30
  renderHeader: ({
31
31
  colDef
32
32
  }) => /*#__PURE__*/_jsx("div", {
33
- "aria-label": colDef.headerName
33
+ "aria-label": colDef.headerName,
34
+ role: "presentation"
34
35
  })
35
36
  });
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v9.0.0-alpha.2
2
+ * @mui/x-data-grid-pro v9.0.0-alpha.3
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-data-grid-pro v9.0.0-alpha.2
2
+ * @mui/x-data-grid-pro v9.0.0-alpha.3
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid-pro",
3
- "version": "9.0.0-alpha.2",
3
+ "version": "9.0.0-alpha.3",
4
4
  "author": "MUI Team",
5
5
  "description": "The Pro plan edition of the MUI X Data Grid components.",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -38,8 +38,8 @@
38
38
  "clsx": "^2.1.1",
39
39
  "prop-types": "^15.8.1",
40
40
  "@mui/x-internals": "9.0.0-alpha.2",
41
- "@mui/x-data-grid": "9.0.0-alpha.2",
42
- "@mui/x-license": "9.0.0-alpha.2"
41
+ "@mui/x-license": "9.0.0-alpha.3",
42
+ "@mui/x-data-grid": "9.0.0-alpha.3"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "@emotion/react": "^11.9.0",