@mui/x-data-grid-premium 5.17.8 → 5.17.9

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,43 @@
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
+ ## 5.17.9
7
+
8
+ _Oct 28, 2022_
9
+
10
+ We'd like to offer a big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - ⚡ Fix memory leak during unmount of the DataGrid (#6579) @cherniavskii
13
+ - 🎁 Allow to disable the autofocus of the search field when opening the column visibility panel (#6630) @e-cloud
14
+ - 🐞 Bugfixes
15
+
16
+ ### `@mui/x-data-grid@v5.17.9` / `@mui/x-data-grid-pro@v5.17.9` / `@mui/x-data-grid-premium@v5.17.9`
17
+
18
+ #### Changes
19
+
20
+ - [DataGrid] Allow to disable autofocusing the search field in the columns panel (#6630) @e-cloud
21
+ - [DataGrid] Fix `setRows` method not persisting new rows data after `loading` prop change (#6637) @cherniavskii
22
+ - [DataGrid] Fix memory leak on grid unmount (#6579) @cherniavskii
23
+ - [l10n] Improve Bulgarian (bg-BG) locale (#6635) @AtanasVA
24
+
25
+ ### `@mui/x-date-pickers@v5.0.6` / `@mui/x-date-pickers-pro@v5.0.6`
26
+
27
+ #### Changes
28
+
29
+ - [pickers] Ignore milliseconds in mask logic (#6618) @alexfauquette
30
+ - [pickers] Update input when `inputFormat` is modified (#6617) @alexfauquette
31
+
32
+ ### Docs
33
+
34
+ - [docs] Add token to redirect feedbacks on slack (#6592) @alexfauquette
35
+ - [docs] Disable translations (#6639) @cherniavskii
36
+ - [docs] Fix code edit for when v6 will be stable (#6600) @oliviertassinari
37
+ - [docs] Fix typo in DataGrid demo page (#6632) (#6634) @LukasTy
38
+
39
+ ### Core
40
+
41
+ - [core] Upgrade monorepo (#6570) @cherniavskii
42
+
6
43
  ## 5.17.8
7
44
 
8
45
  _Oct 20, 2022_
@@ -929,8 +929,8 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
929
929
  * Rows data to pin on top or bottom.
930
930
  */
931
931
  pinnedRows: PropTypes.shape({
932
- bottom: PropTypes.array,
933
- top: PropTypes.array
932
+ bottom: PropTypes.arrayOf(PropTypes.object),
933
+ top: PropTypes.arrayOf(PropTypes.object)
934
934
  }),
935
935
 
936
936
  /**
@@ -987,7 +987,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
987
987
  /**
988
988
  * Set of rows of type [[GridRowsProp]].
989
989
  */
990
- rows: PropTypes.array.isRequired,
990
+ rows: PropTypes.arrayOf(PropTypes.object).isRequired,
991
991
 
992
992
  /**
993
993
  * Loading rows can be processed on the server or client-side.
@@ -33,7 +33,17 @@ process.env.NODE_ENV !== "production" ? GridExcelExportMenuItem.propTypes = {
33
33
  // ----------------------------------------------------------------------
34
34
  hideMenu: PropTypes.func,
35
35
  options: PropTypes.shape({
36
- disableToolbarButton: PropTypes.bool
36
+ allColumns: PropTypes.bool,
37
+ columnsStyles: PropTypes.object,
38
+ disableToolbarButton: PropTypes.bool,
39
+ exceljsPostProcess: PropTypes.func,
40
+ exceljsPreProcess: PropTypes.func,
41
+ fields: PropTypes.arrayOf(PropTypes.string),
42
+ fileName: PropTypes.string,
43
+ getRowsToExport: PropTypes.func,
44
+ includeColumnGroupsHeaders: PropTypes.bool,
45
+ includeHeaders: PropTypes.bool,
46
+ valueOptionsSheetName: PropTypes.string
37
47
  })
38
48
  } : void 0;
39
49
  export { GridExcelExportMenuItem };
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.17.8
1
+ /** @license MUI v5.17.9
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -929,8 +929,8 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
929
929
  * Rows data to pin on top or bottom.
930
930
  */
931
931
  pinnedRows: PropTypes.shape({
932
- bottom: PropTypes.array,
933
- top: PropTypes.array
932
+ bottom: PropTypes.arrayOf(PropTypes.object),
933
+ top: PropTypes.arrayOf(PropTypes.object)
934
934
  }),
935
935
 
936
936
  /**
@@ -987,7 +987,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
987
987
  /**
988
988
  * Set of rows of type [[GridRowsProp]].
989
989
  */
990
- rows: PropTypes.array.isRequired,
990
+ rows: PropTypes.arrayOf(PropTypes.object).isRequired,
991
991
 
992
992
  /**
993
993
  * Loading rows can be processed on the server or client-side.
@@ -31,7 +31,17 @@ process.env.NODE_ENV !== "production" ? GridExcelExportMenuItem.propTypes = {
31
31
  // ----------------------------------------------------------------------
32
32
  hideMenu: PropTypes.func,
33
33
  options: PropTypes.shape({
34
- disableToolbarButton: PropTypes.bool
34
+ allColumns: PropTypes.bool,
35
+ columnsStyles: PropTypes.object,
36
+ disableToolbarButton: PropTypes.bool,
37
+ exceljsPostProcess: PropTypes.func,
38
+ exceljsPreProcess: PropTypes.func,
39
+ fields: PropTypes.arrayOf(PropTypes.string),
40
+ fileName: PropTypes.string,
41
+ getRowsToExport: PropTypes.func,
42
+ includeColumnGroupsHeaders: PropTypes.bool,
43
+ includeHeaders: PropTypes.bool,
44
+ valueOptionsSheetName: PropTypes.string
35
45
  })
36
46
  } : void 0;
37
47
  export { GridExcelExportMenuItem };
package/legacy/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.17.8
1
+ /** @license MUI v5.17.9
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export var getReleaseInfo = function getReleaseInfo() {
3
- var releaseInfo = "MTY2NjIxNjgwMDAwMA==";
3
+ var releaseInfo = "MTY2NjkyNjAwMDAwMA==";
4
4
 
5
5
  if (process.env.NODE_ENV !== 'production') {
6
6
  // A simple hack to set the value in the test environment (has no build step).
@@ -929,8 +929,8 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
929
929
  * Rows data to pin on top or bottom.
930
930
  */
931
931
  pinnedRows: PropTypes.shape({
932
- bottom: PropTypes.array,
933
- top: PropTypes.array
932
+ bottom: PropTypes.arrayOf(PropTypes.object),
933
+ top: PropTypes.arrayOf(PropTypes.object)
934
934
  }),
935
935
 
936
936
  /**
@@ -987,7 +987,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
987
987
  /**
988
988
  * Set of rows of type [[GridRowsProp]].
989
989
  */
990
- rows: PropTypes.array.isRequired,
990
+ rows: PropTypes.arrayOf(PropTypes.object).isRequired,
991
991
 
992
992
  /**
993
993
  * Loading rows can be processed on the server or client-side.
@@ -33,7 +33,17 @@ process.env.NODE_ENV !== "production" ? GridExcelExportMenuItem.propTypes = {
33
33
  // ----------------------------------------------------------------------
34
34
  hideMenu: PropTypes.func,
35
35
  options: PropTypes.shape({
36
- disableToolbarButton: PropTypes.bool
36
+ allColumns: PropTypes.bool,
37
+ columnsStyles: PropTypes.object,
38
+ disableToolbarButton: PropTypes.bool,
39
+ exceljsPostProcess: PropTypes.func,
40
+ exceljsPreProcess: PropTypes.func,
41
+ fields: PropTypes.arrayOf(PropTypes.string),
42
+ fileName: PropTypes.string,
43
+ getRowsToExport: PropTypes.func,
44
+ includeColumnGroupsHeaders: PropTypes.bool,
45
+ includeHeaders: PropTypes.bool,
46
+ valueOptionsSheetName: PropTypes.string
37
47
  })
38
48
  } : void 0;
39
49
  export { GridExcelExportMenuItem };
package/modern/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.17.8
1
+ /** @license MUI v5.17.9
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTY2NjIxNjgwMDAwMA==";
3
+ const releaseInfo = "MTY2NjkyNjAwMDAwMA==";
4
4
 
5
5
  if (process.env.NODE_ENV !== 'production') {
6
6
  // A simple hack to set the value in the test environment (has no build step).
@@ -952,8 +952,8 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
952
952
  * Rows data to pin on top or bottom.
953
953
  */
954
954
  pinnedRows: _propTypes.default.shape({
955
- bottom: _propTypes.default.array,
956
- top: _propTypes.default.array
955
+ bottom: _propTypes.default.arrayOf(_propTypes.default.object),
956
+ top: _propTypes.default.arrayOf(_propTypes.default.object)
957
957
  }),
958
958
 
959
959
  /**
@@ -1010,7 +1010,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
1010
1010
  /**
1011
1011
  * Set of rows of type [[GridRowsProp]].
1012
1012
  */
1013
- rows: _propTypes.default.array.isRequired,
1013
+ rows: _propTypes.default.arrayOf(_propTypes.default.object).isRequired,
1014
1014
 
1015
1015
  /**
1016
1016
  * Loading rows can be processed on the server or client-side.
@@ -52,6 +52,16 @@ process.env.NODE_ENV !== "production" ? GridExcelExportMenuItem.propTypes = {
52
52
  // ----------------------------------------------------------------------
53
53
  hideMenu: _propTypes.default.func,
54
54
  options: _propTypes.default.shape({
55
- disableToolbarButton: _propTypes.default.bool
55
+ allColumns: _propTypes.default.bool,
56
+ columnsStyles: _propTypes.default.object,
57
+ disableToolbarButton: _propTypes.default.bool,
58
+ exceljsPostProcess: _propTypes.default.func,
59
+ exceljsPreProcess: _propTypes.default.func,
60
+ fields: _propTypes.default.arrayOf(_propTypes.default.string),
61
+ fileName: _propTypes.default.string,
62
+ getRowsToExport: _propTypes.default.func,
63
+ includeColumnGroupsHeaders: _propTypes.default.bool,
64
+ includeHeaders: _propTypes.default.bool,
65
+ valueOptionsSheetName: _propTypes.default.string
56
66
  })
57
67
  } : void 0;
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.17.8
1
+ /** @license MUI v5.17.9
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -8,7 +8,7 @@ exports.getReleaseInfo = void 0;
8
8
  var _utils = require("@mui/utils");
9
9
 
10
10
  const getReleaseInfo = () => {
11
- const releaseInfo = "MTY2NjIxNjgwMDAwMA==";
11
+ const releaseInfo = "MTY2NjkyNjAwMDAwMA==";
12
12
 
13
13
  if (process.env.NODE_ENV !== 'production') {
14
14
  // A simple hack to set the value in the test environment (has no build step).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid-premium",
3
- "version": "5.17.8",
3
+ "version": "5.17.9",
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",
@@ -33,8 +33,8 @@
33
33
  "dependencies": {
34
34
  "@babel/runtime": "^7.18.9",
35
35
  "@mui/utils": "^5.10.3",
36
- "@mui/x-data-grid": "5.17.8",
37
- "@mui/x-data-grid-pro": "5.17.8",
36
+ "@mui/x-data-grid": "5.17.9",
37
+ "@mui/x-data-grid-pro": "5.17.9",
38
38
  "@mui/x-license-pro": "5.17.0",
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 = "MTY2NjIxNjgwMDAwMA==";
3
+ const releaseInfo = "MTY2NjkyNjAwMDAwMA==";
4
4
 
5
5
  if (process.env.NODE_ENV !== 'production') {
6
6
  // A simple hack to set the value in the test environment (has no build step).