@mui/x-data-grid-pro 6.10.2 → 6.11.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
@@ -3,6 +3,98 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 6.11.0
7
+
8
+ _Aug 4, 2023_
9
+
10
+ We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - ⌚️ Move the tree view component from `@mui/lab` package
13
+
14
+ The `<TreeView />` component has been moved to the MUI X repository.
15
+ It is now accessible from its own package: `@mui/x-tree-view`.
16
+
17
+ - 🌍 Improve Hebrew (he-IL), Finnish (fi-FI), and Italian (it-IT) locales on the data grid
18
+ - 🐞 Bugfixes
19
+ - 📚 Documentation improvements
20
+
21
+ ### Data Grid
22
+
23
+ #### `@mui/x-data-grid@v6.11.0`
24
+
25
+ - [DataGrid] Add `ariaV7` experimental flag (#9496) @cherniavskii
26
+ - [DataGrid] Fix cell size when column width is set to `undefined` (#9871) @gitstart
27
+ - [l10n] Improve Hebrew (he-IL) locale (#9820) @itayG98
28
+ - [l10n] Improve Finnish (fi-FI) locale (#9848) @sambbaahh
29
+ - [l10n] Improve Italian (it-IT) locale (#9627) @fabio-rizzello-omnia
30
+
31
+ #### `@mui/x-data-grid-pro@v6.11.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
32
+
33
+ Same changes as in `@mui/x-data-grid@v6.11.0`.
34
+
35
+ #### `@mui/x-data-grid-premium@v6.11.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
36
+
37
+ Same changes as in `@mui/x-data-grid-pro@v6.11.0`.
38
+
39
+ ### Date Pickers
40
+
41
+ #### `@mui/x-date-pickers@v6.11.0`
42
+
43
+ - [fields] Correctly handle events with a complete value insertion (#9896) @LukasTy
44
+ - [fields] Fix hours editing on dayjs with timezone and DST (#9901) @flaviendelangle
45
+ - [fields] Fix section clearing with timezone (#9819) @flaviendelangle
46
+ - [pickers] Add `CalendarHeader` slot (#7784) @flaviendelangle
47
+ - [pickers] Allow to override the `InputProps` of the `TextField` using the `slotProps` (#9849) @flaviendelangle
48
+ - [pickers] Allow to override the opening aria text using the `localeText` prop on the pickers (#9870) @flaviendelangle
49
+ - [pickers] Fix `sx` and `className` props on `MobileDateRangePicker` (#9853) @flaviendelangle
50
+ - [pickers] Fix default descriptions (#9887) @LukasTy
51
+ - [pickers] Fix offset management on dayjs adapter (#9884) @flaviendelangle
52
+ - [pickers] Use device motion reduction preference (#9823) @LukasTy
53
+
54
+ #### `@mui/x-date-pickers-pro@v6.11.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
55
+
56
+ Same changes as in `@mui/x-date-pickers@v6.11.0`.
57
+
58
+ ### Charts / `@mui/x-charts@v6.0.0-alpha.6`
59
+
60
+ - [charts] Add TS definition to the exported elements (#9885) @alexfauquette
61
+ - [charts] Add sparkline (#9662) @alexfauquette
62
+ - [charts] Fix missing configuration types (#9886) @alexfauquette
63
+ - [charts] Introduce dataset to simplify plot of data from API (#9774) @alexfauquette
64
+
65
+ ### Tree View / `@mui/x-tree-view@v6.0.0-alpha.0`
66
+
67
+ - [TreeView] Add missing exported types (#9862) @flaviendelangle
68
+ - [TreeView] Add tree view to changelog generator script (#9903) @MBilalShafi
69
+ - [TreeView] Create the package on the X repository (#9798) @flaviendelangle
70
+ - [TreeView] Improve props typing (#9855) @flaviendelangle
71
+
72
+ ### Docs
73
+
74
+ - [docs] Add Tree View doc (#9825) @flaviendelangle
75
+ - [docs] Add charts nav item (#9821) @LukasTy
76
+ - [docs] Add charts to MUI X introduction pages (#9704) @joserodolfofreitas
77
+ - [docs] Add example for avoiding picker views layout shift (#9781) @noraleonte
78
+ - [docs] Consistency of Next.js App Router @oliviertassinari
79
+ - [docs] Fix API page regression: bring back slots section (#9866) @alexfauquette
80
+ - [docs] Fix demo using Pro while it's MIT (#9842) @oliviertassinari
81
+ - [docs] Get ready for next docs-infra change @oliviertassinari
82
+ - [docs] Improve the slots documentation `Recommended usage` section (#9892) @flaviendelangle
83
+
84
+ ### Core
85
+
86
+ - [core] Fix font loading issue dev-mode (#9843) @oliviertassinari
87
+ - [core] Fix pipeline (#9894) @LukasTy
88
+ - [core] Fix the link-check script on Windows (#9888) @alexfauquette
89
+ - [core] Fix v7 capitalization (#9878) @oliviertassinari
90
+ - [core] Regen doc (#9902) @flaviendelangle
91
+ - [core] Remove benchmark package (#9413) @LukasTy
92
+ - [core] Stop using the deprecated `JSX` global namespace (#9854) @flaviendelangle
93
+ - [core] Update monorepo (#9846) @flaviendelangle
94
+ - [core] Update tree data API docs (#9827) @cherniavskii
95
+ - [test] Add pickers e2e tests (#9747) @LukasTy
96
+ - [test] Data grid e2e tests follow-up (#9822) @cherniavskii
97
+
6
98
  ## 6.10.2
7
99
 
8
100
  _Jul 27, 2023_
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { GridValidRowModel } from '@mui/x-data-grid';
3
3
  import { DataGridProProps } from '../models/dataGridProProps';
4
4
  interface DataGridProComponent {
5
- <R extends GridValidRowModel = any>(props: DataGridProProps<R> & React.RefAttributes<HTMLDivElement>): JSX.Element;
5
+ <R extends GridValidRowModel = any>(props: DataGridProProps<R> & React.RefAttributes<HTMLDivElement>): React.JSX.Element;
6
6
  propTypes?: any;
7
7
  }
8
8
  export declare const DataGridPro: DataGridProComponent;
@@ -228,6 +228,7 @@ DataGridProRaw.propTypes = {
228
228
  * For each feature, if the flag is not explicitly set to `true`, the feature will be fully disabled and any property / method call will not have any effect.
229
229
  */
230
230
  experimentalFeatures: PropTypes.shape({
231
+ ariaV7: PropTypes.bool,
231
232
  columnGrouping: PropTypes.bool,
232
233
  lazyLoading: PropTypes.bool,
233
234
  warnIfFocusStateIsNotSynced: PropTypes.bool
@@ -272,7 +273,7 @@ DataGridProRaw.propTypes = {
272
273
  /**
273
274
  * Function that returns the element to render in row detail.
274
275
  * @param {GridRowParams} params With all properties from [[GridRowParams]].
275
- * @returns {JSX.Element} The row detail element.
276
+ * @returns {React.JSX.Element} The row detail element.
276
277
  */
277
278
  getDetailPanelContent: PropTypes.func,
278
279
  /**
@@ -11,7 +11,7 @@ export declare const useGridColumnHeaders: (props: UseGridColumnHeadersProps) =>
11
11
  };
12
12
  renderContext: import("@mui/x-data-grid").GridRenderContext | null;
13
13
  getColumnHeaders: (params?: GetHeadersParams | undefined, other?: {} | undefined) => React.JSX.Element | null;
14
- getColumnGroupHeaders: (params?: GetHeadersParams | undefined) => JSX.Element[] | null;
14
+ getColumnGroupHeaders: (params?: GetHeadersParams | undefined) => React.JSX.Element[] | null;
15
15
  isDragging: boolean;
16
16
  getInnerProps: () => {
17
17
  ref: ((instance: HTMLDivElement | null) => void) | null;
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v6.10.2
2
+ * @mui/x-data-grid-pro v6.11.0
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -228,6 +228,7 @@ DataGridProRaw.propTypes = {
228
228
  * For each feature, if the flag is not explicitly set to `true`, the feature will be fully disabled and any property / method call will not have any effect.
229
229
  */
230
230
  experimentalFeatures: PropTypes.shape({
231
+ ariaV7: PropTypes.bool,
231
232
  columnGrouping: PropTypes.bool,
232
233
  lazyLoading: PropTypes.bool,
233
234
  warnIfFocusStateIsNotSynced: PropTypes.bool
@@ -272,7 +273,7 @@ DataGridProRaw.propTypes = {
272
273
  /**
273
274
  * Function that returns the element to render in row detail.
274
275
  * @param {GridRowParams} params With all properties from [[GridRowParams]].
275
- * @returns {JSX.Element} The row detail element.
276
+ * @returns {React.JSX.Element} The row detail element.
276
277
  */
277
278
  getDetailPanelContent: PropTypes.func,
278
279
  /**
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v6.10.2
2
+ * @mui/x-data-grid-pro v6.11.0
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export var getReleaseInfo = function getReleaseInfo() {
3
- var releaseInfo = "MTY5MDQwODgwMDAwMA==";
3
+ var releaseInfo = "MTY5MTA4OTIwMDAwMA==";
4
4
  if (process.env.NODE_ENV !== 'production') {
5
5
  // A simple hack to set the value in the test environment (has no build step).
6
6
  // eslint-disable-next-line no-useless-concat
@@ -187,7 +187,7 @@ export interface DataGridProPropsWithoutDefaultValue<R extends GridValidRowModel
187
187
  /**
188
188
  * Function that returns the element to render in row detail.
189
189
  * @param {GridRowParams} params With all properties from [[GridRowParams]].
190
- * @returns {JSX.Element} The row detail element.
190
+ * @returns {React.JSX.Element} The row detail element.
191
191
  */
192
192
  getDetailPanelContent?: (params: GridRowParams<R>) => React.ReactNode;
193
193
  /**
@@ -228,6 +228,7 @@ DataGridProRaw.propTypes = {
228
228
  * For each feature, if the flag is not explicitly set to `true`, the feature will be fully disabled and any property / method call will not have any effect.
229
229
  */
230
230
  experimentalFeatures: PropTypes.shape({
231
+ ariaV7: PropTypes.bool,
231
232
  columnGrouping: PropTypes.bool,
232
233
  lazyLoading: PropTypes.bool,
233
234
  warnIfFocusStateIsNotSynced: PropTypes.bool
@@ -272,7 +273,7 @@ DataGridProRaw.propTypes = {
272
273
  /**
273
274
  * Function that returns the element to render in row detail.
274
275
  * @param {GridRowParams} params With all properties from [[GridRowParams]].
275
- * @returns {JSX.Element} The row detail element.
276
+ * @returns {React.JSX.Element} The row detail element.
276
277
  */
277
278
  getDetailPanelContent: PropTypes.func,
278
279
  /**
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v6.10.2
2
+ * @mui/x-data-grid-pro v6.11.0
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTY5MDQwODgwMDAwMA==";
3
+ const releaseInfo = "MTY5MTA4OTIwMDAwMA==";
4
4
  if (process.env.NODE_ENV !== 'production') {
5
5
  // A simple hack to set the value in the test environment (has no build step).
6
6
  // eslint-disable-next-line no-useless-concat
@@ -237,6 +237,7 @@ DataGridProRaw.propTypes = {
237
237
  * For each feature, if the flag is not explicitly set to `true`, the feature will be fully disabled and any property / method call will not have any effect.
238
238
  */
239
239
  experimentalFeatures: _propTypes.default.shape({
240
+ ariaV7: _propTypes.default.bool,
240
241
  columnGrouping: _propTypes.default.bool,
241
242
  lazyLoading: _propTypes.default.bool,
242
243
  warnIfFocusStateIsNotSynced: _propTypes.default.bool
@@ -281,7 +282,7 @@ DataGridProRaw.propTypes = {
281
282
  /**
282
283
  * Function that returns the element to render in row detail.
283
284
  * @param {GridRowParams} params With all properties from [[GridRowParams]].
284
- * @returns {JSX.Element} The row detail element.
285
+ * @returns {React.JSX.Element} The row detail element.
285
286
  */
286
287
  getDetailPanelContent: _propTypes.default.func,
287
288
  /**
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v6.10.2
2
+ * @mui/x-data-grid-pro v6.11.0
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.getReleaseInfo = void 0;
7
7
  var _utils = require("@mui/utils");
8
8
  const getReleaseInfo = () => {
9
- const releaseInfo = "MTY5MDQwODgwMDAwMA==";
9
+ const releaseInfo = "MTY5MTA4OTIwMDAwMA==";
10
10
  if (process.env.NODE_ENV !== 'production') {
11
11
  // A simple hack to set the value in the test environment (has no build step).
12
12
  // eslint-disable-next-line no-useless-concat
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid-pro",
3
- "version": "6.10.2",
3
+ "version": "6.11.0",
4
4
  "description": "The Pro plan edition of the data grid component (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",
@@ -32,8 +32,8 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@babel/runtime": "^7.22.6",
35
- "@mui/utils": "^5.13.7",
36
- "@mui/x-data-grid": "6.10.2",
35
+ "@mui/utils": "^5.14.1",
36
+ "@mui/x-data-grid": "6.11.0",
37
37
  "@mui/x-license-pro": "6.10.2",
38
38
  "@types/format-util": "^1.0.2",
39
39
  "clsx": "^1.2.1",
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTY5MDQwODgwMDAwMA==";
3
+ const releaseInfo = "MTY5MTA4OTIwMDAwMA==";
4
4
  if (process.env.NODE_ENV !== 'production') {
5
5
  // A simple hack to set the value in the test environment (has no build step).
6
6
  // eslint-disable-next-line no-useless-concat