@mui/x-data-grid-pro 6.10.2 → 6.11.1

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,160 @@
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.1
7
+
8
+ _Aug 11, 2023_
9
+
10
+ We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 💫 Add theme augmentation to `@mui/x-tree-view`
13
+ - 📈 Enable charts customization using `slot` and `slotProps` props
14
+ - 🌍 Improve Finnish (fi-FI) and Icelandic (is-IS) locales on the pickers
15
+ - 🐞 Bugfixes
16
+ - 📚 Documentation improvements
17
+
18
+ ### Data Grid
19
+
20
+ #### `@mui/x-data-grid@6.11.1`
21
+
22
+ - [DataGrid] `getCellAggregationResult`: Handle `null` `rowNode` case (#9915) @romgrk
23
+
24
+ #### `@mui/x-data-grid-pro@6.11.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
25
+
26
+ Same changes as in `@mui/x-data-grid@6.11.1`.
27
+
28
+ #### `@mui/x-data-grid-premium@6.11.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
29
+
30
+ Same changes as in `@mui/x-data-grid-pro@6.11.1`.
31
+
32
+ ### Date Pickers
33
+
34
+ #### `@mui/x-date-pickers@6.11.1`
35
+
36
+ - [fields] Use `numeric` `inputmode` instead of `tel` (#9918) @LukasTy
37
+ - [pickers] Always respect locale when formatting meridiem (#9979) @flaviendelangle
38
+ - [pickers] Call `onChange` when selecting a shortcut with `changeImportance="set"` (#9974) @flaviendelangle
39
+ - [pickers] Refactor `themeAugmentation` `styleOverrides` (#9978) @LukasTy
40
+ - [l10n] Improve Finnish (fi-FI) locale (#9795) @kurkle
41
+ - [l10n] Improve Icelandic (is-IS) locale (#9639) @magnimarels
42
+
43
+ #### `@mui/x-date-pickers-pro@6.11.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
44
+
45
+ Same changes as in `@mui/x-date-pickers@6.11.1`.
46
+
47
+ ### Charts / `@mui/x-charts@v6.0.0-alpha.7`
48
+
49
+ - [charts] Fix label and tick alignment (#9952) @LukasTy
50
+ - [charts] Remove not functional component `styleOverrides` (#9996) @LukasTy
51
+ - [charts] Set custom ticks number (#9922) @alexfauquette
52
+ - [charts] Use `slot`/`slotProps` for customization (#9744) @alexfauquette
53
+ - [charts] Extend cheerful fiesta palette (#9980) @noraleonte
54
+
55
+ ### Tree View / `@mui/x-tree-view@v6.0.0-alpha.1`
56
+
57
+ - [TreeView] Add theme augmentation (#9967) @flaviendelangle
58
+
59
+ ### Docs
60
+
61
+ - [docs] Clarify the `shouldDisableClock` migration code options (#9920) @LukasTy
62
+
63
+ ### Core
64
+
65
+ - [core] Port GitHub workflow for ensuring triage label is present (#9924) @DanailH
66
+ - [docs-infra] Fix the import samples in Api pages (#9898) @alexfauquette
67
+
68
+ ## 6.11.0
69
+
70
+ _Aug 4, 2023_
71
+
72
+ We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
73
+
74
+ - ⌚️ Move the tree view component from `@mui/lab` package
75
+
76
+ The `<TreeView />` component has been moved to the MUI X repository.
77
+ It is now accessible from its own package: `@mui/x-tree-view`.
78
+
79
+ - 🌍 Improve Hebrew (he-IL), Finnish (fi-FI), and Italian (it-IT) locales on the data grid
80
+ - 🐞 Bugfixes
81
+ - 📚 Documentation improvements
82
+
83
+ ### Data Grid
84
+
85
+ #### `@mui/x-data-grid@v6.11.0`
86
+
87
+ - [DataGrid] Add `ariaV7` experimental flag (#9496) @cherniavskii
88
+ - [DataGrid] Fix cell size when column width is set to `undefined` (#9871) @gitstart
89
+ - [l10n] Improve Hebrew (he-IL) locale (#9820) @itayG98
90
+ - [l10n] Improve Finnish (fi-FI) locale (#9848) @sambbaahh
91
+ - [l10n] Improve Italian (it-IT) locale (#9627) @fabio-rizzello-omnia
92
+
93
+ #### `@mui/x-data-grid-pro@v6.11.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
94
+
95
+ Same changes as in `@mui/x-data-grid@v6.11.0`.
96
+
97
+ #### `@mui/x-data-grid-premium@v6.11.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
98
+
99
+ Same changes as in `@mui/x-data-grid-pro@v6.11.0`.
100
+
101
+ ### Date Pickers
102
+
103
+ #### `@mui/x-date-pickers@v6.11.0`
104
+
105
+ - [fields] Correctly handle events with a complete value insertion (#9896) @LukasTy
106
+ - [fields] Fix hours editing on dayjs with timezone and DST (#9901) @flaviendelangle
107
+ - [fields] Fix section clearing with timezone (#9819) @flaviendelangle
108
+ - [pickers] Add `CalendarHeader` slot (#7784) @flaviendelangle
109
+ - [pickers] Allow to override the `InputProps` of the `TextField` using the `slotProps` (#9849) @flaviendelangle
110
+ - [pickers] Allow to override the opening aria text using the `localeText` prop on the pickers (#9870) @flaviendelangle
111
+ - [pickers] Fix `sx` and `className` props on `MobileDateRangePicker` (#9853) @flaviendelangle
112
+ - [pickers] Fix default descriptions (#9887) @LukasTy
113
+ - [pickers] Fix offset management on dayjs adapter (#9884) @flaviendelangle
114
+ - [pickers] Use device motion reduction preference (#9823) @LukasTy
115
+
116
+ #### `@mui/x-date-pickers-pro@v6.11.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
117
+
118
+ Same changes as in `@mui/x-date-pickers@v6.11.0`.
119
+
120
+ ### Charts / `@mui/x-charts@v6.0.0-alpha.6`
121
+
122
+ - [charts] Add TS definition to the exported elements (#9885) @alexfauquette
123
+ - [charts] Add sparkline (#9662) @alexfauquette
124
+ - [charts] Fix missing configuration types (#9886) @alexfauquette
125
+ - [charts] Introduce dataset to simplify plot of data from API (#9774) @alexfauquette
126
+
127
+ ### Tree View / `@mui/x-tree-view@v6.0.0-alpha.0`
128
+
129
+ - [TreeView] Add missing exported types (#9862) @flaviendelangle
130
+ - [TreeView] Add tree view to changelog generator script (#9903) @MBilalShafi
131
+ - [TreeView] Create the package on the X repository (#9798) @flaviendelangle
132
+ - [TreeView] Improve props typing (#9855) @flaviendelangle
133
+
134
+ ### Docs
135
+
136
+ - [docs] Add Tree View doc (#9825) @flaviendelangle
137
+ - [docs] Add charts nav item (#9821) @LukasTy
138
+ - [docs] Add charts to MUI X introduction pages (#9704) @joserodolfofreitas
139
+ - [docs] Add example for avoiding picker views layout shift (#9781) @noraleonte
140
+ - [docs] Consistency of Next.js App Router @oliviertassinari
141
+ - [docs] Fix API page regression: bring back slots section (#9866) @alexfauquette
142
+ - [docs] Fix demo using Pro while it's MIT (#9842) @oliviertassinari
143
+ - [docs] Get ready for next docs-infra change @oliviertassinari
144
+ - [docs] Improve the slots documentation `Recommended usage` section (#9892) @flaviendelangle
145
+
146
+ ### Core
147
+
148
+ - [core] Fix font loading issue dev-mode (#9843) @oliviertassinari
149
+ - [core] Fix pipeline (#9894) @LukasTy
150
+ - [core] Fix the link-check script on Windows (#9888) @alexfauquette
151
+ - [core] Fix v7 capitalization (#9878) @oliviertassinari
152
+ - [core] Regen doc (#9902) @flaviendelangle
153
+ - [core] Remove benchmark package (#9413) @LukasTy
154
+ - [core] Stop using the deprecated `JSX` global namespace (#9854) @flaviendelangle
155
+ - [core] Update monorepo (#9846) @flaviendelangle
156
+ - [core] Update tree data API docs (#9827) @cherniavskii
157
+ - [test] Add pickers e2e tests (#9747) @LukasTy
158
+ - [test] Data grid e2e tests follow-up (#9822) @cherniavskii
159
+
6
160
  ## 6.10.2
7
161
 
8
162
  _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.1
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.1
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 = "MTY5MTcwMTIwMDAwMA==";
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.1
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 = "MTY5MTcwMTIwMDAwMA==";
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.1
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 = "MTY5MTcwMTIwMDAwMA==";
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.1",
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,11 +32,11 @@
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.3",
36
+ "@mui/x-data-grid": "6.11.1",
37
37
  "@mui/x-license-pro": "6.10.2",
38
38
  "@types/format-util": "^1.0.2",
39
- "clsx": "^1.2.1",
39
+ "clsx": "^2.0.0",
40
40
  "prop-types": "^15.8.1",
41
41
  "reselect": "^4.1.8"
42
42
  },
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTY5MDQwODgwMDAwMA==";
3
+ const releaseInfo = "MTY5MTcwMTIwMDAwMA==";
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