@mui/x-data-grid-pro 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_
@@ -876,8 +876,8 @@ DataGridProRaw.propTypes = {
876
876
  * Rows data to pin on top or bottom.
877
877
  */
878
878
  pinnedRows: PropTypes.shape({
879
- bottom: PropTypes.array,
880
- top: PropTypes.array
879
+ bottom: PropTypes.arrayOf(PropTypes.object),
880
+ top: PropTypes.arrayOf(PropTypes.object)
881
881
  }),
882
882
 
883
883
  /**
@@ -922,7 +922,7 @@ DataGridProRaw.propTypes = {
922
922
  /**
923
923
  * Set of rows of type [[GridRowsProp]].
924
924
  */
925
- rows: PropTypes.array.isRequired,
925
+ rows: PropTypes.arrayOf(PropTypes.object).isRequired,
926
926
 
927
927
  /**
928
928
  * Loading rows can be processed on the server or client-side.
@@ -116,7 +116,7 @@ process.env.NODE_ENV !== "production" ? GridDetailPanelToggleCell.propTypes = {
116
116
  /**
117
117
  * The row model of the row that the current cell belongs to.
118
118
  */
119
- row: PropTypes.object.isRequired,
119
+ row: PropTypes.any.isRequired,
120
120
 
121
121
  /**
122
122
  * The node of the row that the current cell belongs to.
@@ -151,7 +151,7 @@ process.env.NODE_ENV !== "production" ? GridTreeDataGroupingCell.propTypes = {
151
151
  /**
152
152
  * The row model of the row that the current cell belongs to.
153
153
  */
154
- row: PropTypes.object.isRequired,
154
+ row: PropTypes.any.isRequired,
155
155
 
156
156
  /**
157
157
  * The node of the row that the current cell belongs to.
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.
@@ -876,8 +876,8 @@ DataGridProRaw.propTypes = {
876
876
  * Rows data to pin on top or bottom.
877
877
  */
878
878
  pinnedRows: PropTypes.shape({
879
- bottom: PropTypes.array,
880
- top: PropTypes.array
879
+ bottom: PropTypes.arrayOf(PropTypes.object),
880
+ top: PropTypes.arrayOf(PropTypes.object)
881
881
  }),
882
882
 
883
883
  /**
@@ -922,7 +922,7 @@ DataGridProRaw.propTypes = {
922
922
  /**
923
923
  * Set of rows of type [[GridRowsProp]].
924
924
  */
925
- rows: PropTypes.array.isRequired,
925
+ rows: PropTypes.arrayOf(PropTypes.object).isRequired,
926
926
 
927
927
  /**
928
928
  * Loading rows can be processed on the server or client-side.
@@ -112,7 +112,7 @@ process.env.NODE_ENV !== "production" ? GridDetailPanelToggleCell.propTypes = {
112
112
  /**
113
113
  * The row model of the row that the current cell belongs to.
114
114
  */
115
- row: PropTypes.object.isRequired,
115
+ row: PropTypes.any.isRequired,
116
116
 
117
117
  /**
118
118
  * The node of the row that the current cell belongs to.
@@ -147,7 +147,7 @@ process.env.NODE_ENV !== "production" ? GridTreeDataGroupingCell.propTypes = {
147
147
  /**
148
148
  * The row model of the row that the current cell belongs to.
149
149
  */
150
- row: PropTypes.object.isRequired,
150
+ row: PropTypes.any.isRequired,
151
151
 
152
152
  /**
153
153
  * The node of the row that the current cell belongs to.
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).
@@ -876,8 +876,8 @@ DataGridProRaw.propTypes = {
876
876
  * Rows data to pin on top or bottom.
877
877
  */
878
878
  pinnedRows: PropTypes.shape({
879
- bottom: PropTypes.array,
880
- top: PropTypes.array
879
+ bottom: PropTypes.arrayOf(PropTypes.object),
880
+ top: PropTypes.arrayOf(PropTypes.object)
881
881
  }),
882
882
 
883
883
  /**
@@ -922,7 +922,7 @@ DataGridProRaw.propTypes = {
922
922
  /**
923
923
  * Set of rows of type [[GridRowsProp]].
924
924
  */
925
- rows: PropTypes.array.isRequired,
925
+ rows: PropTypes.arrayOf(PropTypes.object).isRequired,
926
926
 
927
927
  /**
928
928
  * Loading rows can be processed on the server or client-side.
@@ -116,7 +116,7 @@ process.env.NODE_ENV !== "production" ? GridDetailPanelToggleCell.propTypes = {
116
116
  /**
117
117
  * The row model of the row that the current cell belongs to.
118
118
  */
119
- row: PropTypes.object.isRequired,
119
+ row: PropTypes.any.isRequired,
120
120
 
121
121
  /**
122
122
  * The node of the row that the current cell belongs to.
@@ -149,7 +149,7 @@ process.env.NODE_ENV !== "production" ? GridTreeDataGroupingCell.propTypes = {
149
149
  /**
150
150
  * The row model of the row that the current cell belongs to.
151
151
  */
152
- row: PropTypes.object.isRequired,
152
+ row: PropTypes.any.isRequired,
153
153
 
154
154
  /**
155
155
  * The node of the row that the current cell belongs to.
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).
@@ -900,8 +900,8 @@ DataGridProRaw.propTypes = {
900
900
  * Rows data to pin on top or bottom.
901
901
  */
902
902
  pinnedRows: _propTypes.default.shape({
903
- bottom: _propTypes.default.array,
904
- top: _propTypes.default.array
903
+ bottom: _propTypes.default.arrayOf(_propTypes.default.object),
904
+ top: _propTypes.default.arrayOf(_propTypes.default.object)
905
905
  }),
906
906
 
907
907
  /**
@@ -946,7 +946,7 @@ DataGridProRaw.propTypes = {
946
946
  /**
947
947
  * Set of rows of type [[GridRowsProp]].
948
948
  */
949
- rows: _propTypes.default.array.isRequired,
949
+ rows: _propTypes.default.arrayOf(_propTypes.default.object).isRequired,
950
950
 
951
951
  /**
952
952
  * Loading rows can be processed on the server or client-side.
@@ -138,7 +138,7 @@ process.env.NODE_ENV !== "production" ? GridDetailPanelToggleCell.propTypes = {
138
138
  /**
139
139
  * The row model of the row that the current cell belongs to.
140
140
  */
141
- row: _propTypes.default.object.isRequired,
141
+ row: _propTypes.default.any.isRequired,
142
142
 
143
143
  /**
144
144
  * The node of the row that the current cell belongs to.
@@ -173,7 +173,7 @@ process.env.NODE_ENV !== "production" ? GridTreeDataGroupingCell.propTypes = {
173
173
  /**
174
174
  * The row model of the row that the current cell belongs to.
175
175
  */
176
- row: _propTypes.default.object.isRequired,
176
+ row: _propTypes.default.any.isRequired,
177
177
 
178
178
  /**
179
179
  * The node of the row that the current cell belongs to.
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-pro",
3
- "version": "5.17.8",
3
+ "version": "5.17.9",
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",
@@ -33,7 +33,7 @@
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",
36
+ "@mui/x-data-grid": "5.17.9",
37
37
  "@mui/x-license-pro": "5.17.0",
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 = "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).