@mui/x-data-grid-premium 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.DataGridPremium = 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 _xDataGridPro = require("@mui/x-data-grid-pro");
16
- var _internals = require("@mui/x-data-grid-pro/internals");
15
+ var _internals2 = require("@mui/x-data-grid-pro/internals");
17
16
  var _material = require("@mui/x-data-grid/material");
18
17
  var _forwardRef = require("@mui/x-internals/forwardRef");
19
18
  var _useDataGridPremiumComponent = require("./useDataGridPremiumComponent");
@@ -44,29 +43,32 @@ const configuration = {
44
43
  if (props.aggregationRowsScope === 'all') {
45
44
  return apiRef.current.getRowValue(row, column);
46
45
  }
47
- return (0, _internals.getRowValue)(row, column, apiRef);
46
+ return (0, _internals2.getRowValue)(row, column, apiRef);
48
47
  },
49
48
  useIsCellEditable: _useGridCellEditable.useIsCellEditable,
50
49
  useGridRowsOverridableMethods: _useGridRowsOverridableMethods.useGridRowsOverridableMethods,
51
50
  useGridParamsOverridableMethods: _useGridParamsOverridableMethods.useGridParamsOverridableMethods
52
51
  }
53
52
  };
54
- const releaseInfo = "MTc3MjY2ODgwMDAwMA==";
55
- const watermark = /*#__PURE__*/(0, _jsxRuntime.jsx)(_Watermark.Watermark, {
56
- packageName: "x-data-grid-premium",
57
- releaseInfo: releaseInfo
53
+ const packageInfo = {
54
+ releaseDate: "MTc3MzI3MzYwMDAwMA==",
55
+ version: process.env.MUI_VERSION,
56
+ name: 'x-data-grid-premium'
57
+ };
58
+ const watermark = /*#__PURE__*/(0, _jsxRuntime.jsx)(_internals.Watermark, {
59
+ packageInfo: packageInfo
58
60
  });
59
61
  let dataGridPremiumPropValidators;
60
62
  if (process.env.NODE_ENV !== 'production') {
61
- dataGridPremiumPropValidators = [..._internals.propValidatorsDataGrid, ..._internals.propValidatorsDataGridPro];
63
+ dataGridPremiumPropValidators = [..._internals2.propValidatorsDataGrid, ..._internals2.propValidatorsDataGridPro];
62
64
  }
63
65
  const DataGridPremiumRaw = (0, _forwardRef.forwardRef)(function DataGridPremium(inProps, ref) {
64
66
  const initialProps = (0, _useDataGridPremiumProps.useDataGridPremiumProps)(inProps);
65
- const privateApiRef = (0, _internals.useGridApiInitialization)(initialProps.apiRef, initialProps);
67
+ const privateApiRef = (0, _internals2.useGridApiInitialization)(initialProps.apiRef, initialProps);
66
68
  const props = (0, _useDataGridPremiumComponent.useDataGridPremiumComponent)(privateApiRef, initialProps, configuration);
67
- (0, _useLicenseVerifier.useLicenseVerifier)('x-data-grid-premium', releaseInfo);
69
+ (0, _internals.useLicenseVerifier)(packageInfo);
68
70
  if (process.env.NODE_ENV !== 'production') {
69
- (0, _internals.validateProps)(props, dataGridPremiumPropValidators);
71
+ (0, _internals2.validateProps)(props, dataGridPremiumPropValidators);
70
72
  }
71
73
  const sidebarOpen = (0, _xDataGridPro.useGridSelector)(privateApiRef, _sidebar2.gridSidebarOpenSelector);
72
74
  const sidePanel = sidebarOpen ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_sidebar.Sidebar, {}) : null;
@@ -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, useGridSelector } from '@mui/x-data-grid-pro';
9
8
  import { propValidatorsDataGrid, propValidatorsDataGridPro, validateProps, useGridApiInitialization, getRowValue } from '@mui/x-data-grid-pro/internals';
10
9
  import { useMaterialCSSVariables } from '@mui/x-data-grid/material';
@@ -44,10 +43,13 @@ const configuration = {
44
43
  useGridParamsOverridableMethods
45
44
  }
46
45
  };
47
- const releaseInfo = "MTc3MjY2ODgwMDAwMA==";
46
+ const packageInfo = {
47
+ releaseDate: "MTc3MzI3MzYwMDAwMA==",
48
+ version: process.env.MUI_VERSION,
49
+ name: 'x-data-grid-premium'
50
+ };
48
51
  const watermark = /*#__PURE__*/_jsx(Watermark, {
49
- packageName: "x-data-grid-premium",
50
- releaseInfo: releaseInfo
52
+ packageInfo: packageInfo
51
53
  });
52
54
  let dataGridPremiumPropValidators;
53
55
  if (process.env.NODE_ENV !== 'production') {
@@ -57,7 +59,7 @@ const DataGridPremiumRaw = forwardRef(function DataGridPremium(inProps, ref) {
57
59
  const initialProps = useDataGridPremiumProps(inProps);
58
60
  const privateApiRef = useGridApiInitialization(initialProps.apiRef, initialProps);
59
61
  const props = useDataGridPremiumComponent(privateApiRef, initialProps, configuration);
60
- useLicenseVerifier('x-data-grid-premium', releaseInfo);
62
+ useLicenseVerifier(packageInfo);
61
63
  if (process.env.NODE_ENV !== 'production') {
62
64
  validateProps(props, dataGridPremiumPropValidators);
63
65
  }
@@ -8,6 +8,7 @@ exports.GridAggregationHeader = GridAggregationHeader;
8
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
9
  var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
10
10
  var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
11
+ var _capitalize = _interopRequireDefault(require("@mui/utils/capitalize"));
11
12
  var _styles = require("@mui/material/styles");
12
13
  var _xDataGrid = require("@mui/x-data-grid");
13
14
  var _internals = require("@mui/x-data-grid/internals");
@@ -23,7 +24,7 @@ const GridAggregationHeaderRoot = (0, _styles.styled)('div', {
23
24
  const {
24
25
  ownerState
25
26
  } = props;
26
- return [styles.aggregationColumnHeader, ownerState.colDef.headerAlign === 'left' && styles['aggregationColumnHeader--alignLeft'], ownerState.colDef.headerAlign === 'center' && styles['aggregationColumnHeader--alignCenter'], ownerState.colDef.headerAlign === 'right' && styles['aggregationColumnHeader--alignRight']];
27
+ return [styles.aggregationColumnHeader, ownerState.colDef.headerAlign && styles[`aggregationColumnHeader--align${(0, _capitalize.default)(ownerState.colDef.headerAlign)}`]];
27
28
  }
28
29
  })({
29
30
  display: 'flex',
@@ -50,7 +51,7 @@ const useUtilityClasses = ownerState => {
50
51
  colDef
51
52
  } = ownerState;
52
53
  const slots = {
53
- root: ['aggregationColumnHeader', colDef.headerAlign === 'left' && 'aggregationColumnHeader--alignLeft', colDef.headerAlign === 'center' && 'aggregationColumnHeader--alignCenter', colDef.headerAlign === 'right' && 'aggregationColumnHeader--alignRight'],
54
+ root: ['aggregationColumnHeader', colDef.headerAlign && `aggregationColumnHeader--align${(0, _capitalize.default)(colDef.headerAlign)}`],
54
55
  aggregationLabel: ['aggregationColumnHeaderLabel']
55
56
  };
56
57
  return (0, _composeClasses.default)(slots, _xDataGrid.getDataGridUtilityClass, classes);
@@ -2,6 +2,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
3
  const _excluded = ["renderHeader"];
4
4
  import composeClasses from '@mui/utils/composeClasses';
5
+ import capitalize from '@mui/utils/capitalize';
5
6
  import { styled } from '@mui/material/styles';
6
7
  import { getDataGridUtilityClass, gridClasses, GridColumnHeaderTitle } from '@mui/x-data-grid';
7
8
  import { vars } from '@mui/x-data-grid/internals';
@@ -16,7 +17,7 @@ const GridAggregationHeaderRoot = styled('div', {
16
17
  const {
17
18
  ownerState
18
19
  } = props;
19
- return [styles.aggregationColumnHeader, ownerState.colDef.headerAlign === 'left' && styles['aggregationColumnHeader--alignLeft'], ownerState.colDef.headerAlign === 'center' && styles['aggregationColumnHeader--alignCenter'], ownerState.colDef.headerAlign === 'right' && styles['aggregationColumnHeader--alignRight']];
20
+ return [styles.aggregationColumnHeader, ownerState.colDef.headerAlign && styles[`aggregationColumnHeader--align${capitalize(ownerState.colDef.headerAlign)}`]];
20
21
  }
21
22
  })({
22
23
  display: 'flex',
@@ -43,7 +44,7 @@ const useUtilityClasses = ownerState => {
43
44
  colDef
44
45
  } = ownerState;
45
46
  const slots = {
46
- root: ['aggregationColumnHeader', colDef.headerAlign === 'left' && 'aggregationColumnHeader--alignLeft', colDef.headerAlign === 'center' && 'aggregationColumnHeader--alignCenter', colDef.headerAlign === 'right' && 'aggregationColumnHeader--alignRight'],
47
+ root: ['aggregationColumnHeader', colDef.headerAlign && `aggregationColumnHeader--align${capitalize(colDef.headerAlign)}`],
47
48
  aggregationLabel: ['aggregationColumnHeaderLabel']
48
49
  };
49
50
  return composeClasses(slots, getDataGridUtilityClass, classes);
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-premium v9.0.0-alpha.2
2
+ * @mui/x-data-grid-premium 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-premium v9.0.0-alpha.2
2
+ * @mui/x-data-grid-premium 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-premium",
3
- "version": "9.0.0-alpha.2",
3
+ "version": "9.0.0-alpha.3",
4
4
  "author": "MUI Team",
5
5
  "description": "The Premium plan edition of the MUI X Data Grid Components.",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -38,10 +38,10 @@
38
38
  "@mui/x-internal-exceljs-fork": "4.4.4",
39
39
  "clsx": "^2.1.1",
40
40
  "prop-types": "^15.8.1",
41
- "@mui/x-data-grid": "9.0.0-alpha.2",
42
- "@mui/x-data-grid-pro": "9.0.0-alpha.2",
41
+ "@mui/x-data-grid-pro": "9.0.0-alpha.3",
43
42
  "@mui/x-internals": "9.0.0-alpha.2",
44
- "@mui/x-license": "9.0.0-alpha.2"
43
+ "@mui/x-data-grid": "9.0.0-alpha.3",
44
+ "@mui/x-license": "9.0.0-alpha.3"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@emotion/react": "^11.9.0",