@mui/x-data-grid-premium 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-pro';
3
3
  import { DataGridPremiumProps } from '../models/dataGridPremiumProps';
4
4
  interface DataGridPremiumComponent {
5
- <R extends GridValidRowModel = any>(props: DataGridPremiumProps<R> & React.RefAttributes<HTMLDivElement>): JSX.Element;
5
+ <R extends GridValidRowModel = any>(props: DataGridPremiumProps<R> & React.RefAttributes<HTMLDivElement>): React.JSX.Element;
6
6
  propTypes?: any;
7
7
  }
8
8
  export declare const DataGridPremium: DataGridPremiumComponent;
@@ -258,6 +258,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
258
258
  * For each feature, if the flag is not explicitly set to `true`, then the feature is fully disabled, and neither property nor method calls will have any effect.
259
259
  */
260
260
  experimentalFeatures: PropTypes.shape({
261
+ ariaV7: PropTypes.bool,
261
262
  clipboardPaste: PropTypes.bool,
262
263
  columnGrouping: PropTypes.bool,
263
264
  lazyLoading: PropTypes.bool,
@@ -310,7 +311,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
310
311
  /**
311
312
  * Function that returns the element to render in row detail.
312
313
  * @param {GridRowParams} params With all properties from [[GridRowParams]].
313
- * @returns {JSX.Element} The row detail element.
314
+ * @returns {React.JSX.Element} The row detail element.
314
315
  */
315
316
  getDetailPanelContent: PropTypes.func,
316
317
  /**
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-premium v6.10.2
2
+ * @mui/x-data-grid-premium 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
@@ -258,6 +258,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
258
258
  * For each feature, if the flag is not explicitly set to `true`, then the feature is fully disabled, and neither property nor method calls will have any effect.
259
259
  */
260
260
  experimentalFeatures: PropTypes.shape({
261
+ ariaV7: PropTypes.bool,
261
262
  clipboardPaste: PropTypes.bool,
262
263
  columnGrouping: PropTypes.bool,
263
264
  lazyLoading: PropTypes.bool,
@@ -310,7 +311,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
310
311
  /**
311
312
  * Function that returns the element to render in row detail.
312
313
  * @param {GridRowParams} params With all properties from [[GridRowParams]].
313
- * @returns {JSX.Element} The row detail element.
314
+ * @returns {React.JSX.Element} The row detail element.
314
315
  */
315
316
  getDetailPanelContent: PropTypes.func,
316
317
  /**
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-premium v6.10.2
2
+ * @mui/x-data-grid-premium 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
@@ -258,6 +258,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
258
258
  * For each feature, if the flag is not explicitly set to `true`, then the feature is fully disabled, and neither property nor method calls will have any effect.
259
259
  */
260
260
  experimentalFeatures: PropTypes.shape({
261
+ ariaV7: PropTypes.bool,
261
262
  clipboardPaste: PropTypes.bool,
262
263
  columnGrouping: PropTypes.bool,
263
264
  lazyLoading: PropTypes.bool,
@@ -310,7 +311,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
310
311
  /**
311
312
  * Function that returns the element to render in row detail.
312
313
  * @param {GridRowParams} params With all properties from [[GridRowParams]].
313
- * @returns {JSX.Element} The row detail element.
314
+ * @returns {React.JSX.Element} The row detail element.
314
315
  */
315
316
  getDetailPanelContent: PropTypes.func,
316
317
  /**
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-premium v6.10.2
2
+ * @mui/x-data-grid-premium 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
@@ -267,6 +267,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
267
267
  * For each feature, if the flag is not explicitly set to `true`, then the feature is fully disabled, and neither property nor method calls will have any effect.
268
268
  */
269
269
  experimentalFeatures: _propTypes.default.shape({
270
+ ariaV7: _propTypes.default.bool,
270
271
  clipboardPaste: _propTypes.default.bool,
271
272
  columnGrouping: _propTypes.default.bool,
272
273
  lazyLoading: _propTypes.default.bool,
@@ -319,7 +320,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
319
320
  /**
320
321
  * Function that returns the element to render in row detail.
321
322
  * @param {GridRowParams} params With all properties from [[GridRowParams]].
322
- * @returns {JSX.Element} The row detail element.
323
+ * @returns {React.JSX.Element} The row detail element.
323
324
  */
324
325
  getDetailPanelContent: _propTypes.default.func,
325
326
  /**
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-premium v6.10.2
2
+ * @mui/x-data-grid-premium 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-premium",
3
- "version": "6.10.2",
3
+ "version": "6.11.0",
4
4
  "description": "The Premium plan edition of the data grid component (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",
@@ -32,9 +32,9 @@
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",
37
- "@mui/x-data-grid-pro": "6.10.2",
35
+ "@mui/utils": "^5.14.1",
36
+ "@mui/x-data-grid": "6.11.0",
37
+ "@mui/x-data-grid-pro": "6.11.0",
38
38
  "@mui/x-license-pro": "6.10.2",
39
39
  "@types/format-util": "^1.0.2",
40
40
  "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