@mui/x-data-grid-pro 5.17.19 → 5.17.21

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,68 @@
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
+ ## v5.17.21
7
+
8
+ _Jan 27, 2023_
9
+
10
+ We'd like to offer a big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🌍 Add Belarusian (be-BY), Czech (cs-CZ), and Russian (ru-RU) locales
13
+ - 🌍 Improve Slovak (sk-SK), Japanese (ja-JP), Vietnamese (vi-VN), and Spanish (es-ES) locales
14
+ - 🐞 Bugfixes
15
+
16
+ ### `@mui/x-data-grid@v5.17.21` / `@mui/x-data-grid-pro@v5.17.21` / `@mui/x-data-grid-premium@v5.17.21`
17
+
18
+ #### Changes
19
+
20
+ - [DataGrid] Add `title` attribute to cells (#7695) @thupi
21
+ - [DataGrid] Fix grid state not being updated after print preview is closed (#7680) @cherniavskii
22
+ - [DataGrid] Fix non-hideable columns visibility toggling (#7716) @cherniavskii
23
+ - [DataGrid] Fix scrolling on resize for data grids inside shadow root (#7722) @cherniavskii
24
+ - [DataGridPremium] Create aggregation footer row with `isAutoGenerated: true` (#7681) @m4theushw
25
+ - [l10n] Add Belarusian (be-BY) locale (#7718) @volhalink
26
+ - [l10n] Add Slovak (sk-SK) translation for aggregation functions (#7690) @msidlo
27
+ - [l10n] Add missing core locales for `MuiTablePagination` (#7719) @MBilalShafi
28
+ - [l10n] Improve Japanese (ja-JP) locale (#7627) @makoto14
29
+ - [l10n] Improve Vietnamese (vi-VN) locale (#7601) @SpacerZ
30
+
31
+ ### `@mui/x-date-pickers@v5.0.16` / `@mui/x-date-pickers-pro@v5.0.16`
32
+
33
+ #### Changes
34
+
35
+ - [pickers] Add missing components to `themeAugmentation` (#7677) @LukasTy
36
+ - [l10n] Add Czech (cs-CZ) locale (#7666) @OndrejHj04
37
+ - [l10n] Add Russian (ru-RU) locale (#7708) @rstmzh
38
+ - [l10n] Improve Spanish (es-ES) locale (#7614) @WiXSL
39
+
40
+ ### Docs
41
+
42
+ - [docs] Add info callout about available component `slots` (#7723) @Vivek-Prajapatii
43
+
44
+ ## 5.17.20
45
+
46
+ _Jan 19, 2023_
47
+
48
+ We'd like to offer a big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
49
+
50
+ - 🌍 Improve Italian (it-IT) and Swedish (sv-SE) locales
51
+ - 🐞 Bugfixes
52
+
53
+ ### `@mui/x-data-grid@v5.17.20` / `@mui/x-data-grid-pro@v5.17.20` / `@mui/x-data-grid-premium@v5.17.20`
54
+
55
+ #### Changes
56
+
57
+ - [DataGrid] Fix flickering on grid scroll (#7609) @cherniavskii
58
+ - [DataGrid] Remove tag limit from `isAnyOf` operator input (#7616) @m4theushw
59
+ - [l10n] Improve Swedish (sv-SE) locale (#7463) @MaanTyringe
60
+
61
+ ### `@mui/x-date-pickers@v5.0.15` / `@mui/x-date-pickers-pro@v5.0.15`
62
+
63
+ #### Changes
64
+
65
+ - [pickers] Ensure `key` is passed without object spreading (#7584) @alexfauquette
66
+ - [l10n] Improve Italian (it-IT) locale (#7547) @marikadeveloper
67
+
6
68
  ## 5.17.19
7
69
 
8
70
  _Jan 16, 2023_
@@ -4,12 +4,13 @@ import { GridRowEntry, GridRowId, GridRowModel } from '@mui/x-data-grid';
4
4
  import { GridApiPro } from '../../../models/gridApiPro';
5
5
  import { GridPinnedRowsProp } from './gridRowPinningInterface';
6
6
  declare type GridPinnedRowPosition = keyof GridPinnedRowsProp;
7
- export declare function addPinnedRow({ groupingParams, rowModel, rowId, position, apiRef, }: {
7
+ export declare function addPinnedRow({ groupingParams, rowModel, rowId, position, apiRef, isAutoGenerated, }: {
8
8
  groupingParams: GridHydrateRowsValue;
9
9
  rowModel: GridRowModel;
10
10
  rowId: GridRowId;
11
11
  position: GridPinnedRowPosition;
12
12
  apiRef: React.MutableRefObject<GridApiPro>;
13
+ isAutoGenerated: boolean;
13
14
  }): {
14
15
  idRowsLookup: {
15
16
  [x: string]: import("@mui/x-data-grid").GridValidRowModel;
@@ -6,7 +6,8 @@ export function addPinnedRow({
6
6
  rowModel,
7
7
  rowId,
8
8
  position,
9
- apiRef
9
+ apiRef,
10
+ isAutoGenerated
10
11
  }) {
11
12
  var _groupingParams$addit;
12
13
 
@@ -20,7 +21,7 @@ export function addPinnedRow({
20
21
 
21
22
  tree[rowId] = {
22
23
  id: rowId,
23
- isAutoGenerated: false,
24
+ isAutoGenerated,
24
25
  parent: null,
25
26
  depth: 0,
26
27
  groupingKey: null,
@@ -63,7 +64,8 @@ export const useGridRowPinningPreProcessors = apiRef => {
63
64
  rowModel: pinnedRowsCache.idLookup[rowId],
64
65
  rowId,
65
66
  position: 'top',
66
- apiRef
67
+ apiRef,
68
+ isAutoGenerated: false
67
69
  });
68
70
  });
69
71
  (_pinnedRowsCache$bott = pinnedRowsCache.bottomIds) == null ? void 0 : _pinnedRowsCache$bott.forEach(rowId => {
@@ -72,7 +74,8 @@ export const useGridRowPinningPreProcessors = apiRef => {
72
74
  rowModel: pinnedRowsCache.idLookup[rowId],
73
75
  rowId,
74
76
  position: 'bottom',
75
- apiRef
77
+ apiRef,
78
+ isAutoGenerated: false
76
79
  });
77
80
  }); // If row with the same `id` is present both in `rows` and `pinnedRows` - remove it from `ids`
78
81
 
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI X v5.17.19
1
+ /** @license MUI X v5.17.21
2
2
  *
3
3
  * This source code is licensed under the commercial license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -10,7 +10,8 @@ export function addPinnedRow(_ref) {
10
10
  rowModel = _ref.rowModel,
11
11
  rowId = _ref.rowId,
12
12
  position = _ref.position,
13
- apiRef = _ref.apiRef;
13
+ apiRef = _ref.apiRef,
14
+ isAutoGenerated = _ref.isAutoGenerated;
14
15
 
15
16
  var idRowsLookup = _extends({}, groupingParams.idRowsLookup);
16
17
 
@@ -22,7 +23,7 @@ export function addPinnedRow(_ref) {
22
23
 
23
24
  tree[rowId] = {
24
25
  id: rowId,
25
- isAutoGenerated: false,
26
+ isAutoGenerated: isAutoGenerated,
26
27
  parent: null,
27
28
  depth: 0,
28
29
  groupingKey: null,
@@ -63,7 +64,8 @@ export var useGridRowPinningPreProcessors = function useGridRowPinningPreProcess
63
64
  rowModel: pinnedRowsCache.idLookup[rowId],
64
65
  rowId: rowId,
65
66
  position: 'top',
66
- apiRef: apiRef
67
+ apiRef: apiRef,
68
+ isAutoGenerated: false
67
69
  });
68
70
  });
69
71
  (_pinnedRowsCache$bott = pinnedRowsCache.bottomIds) == null ? void 0 : _pinnedRowsCache$bott.forEach(function (rowId) {
@@ -72,7 +74,8 @@ export var useGridRowPinningPreProcessors = function useGridRowPinningPreProcess
72
74
  rowModel: pinnedRowsCache.idLookup[rowId],
73
75
  rowId: rowId,
74
76
  position: 'bottom',
75
- apiRef: apiRef
77
+ apiRef: apiRef,
78
+ isAutoGenerated: false
76
79
  });
77
80
  }); // If row with the same `id` is present both in `rows` and `pinnedRows` - remove it from `ids`
78
81
 
package/legacy/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI X v5.17.19
1
+ /** @license MUI X v5.17.21
2
2
  *
3
3
  * This source code is licensed under the commercial 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 = "MTY3MzgyMDAwMDAwMA==";
3
+ var releaseInfo = "MTY3NDc1OTYwMDAwMA==";
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).
@@ -6,7 +6,8 @@ export function addPinnedRow({
6
6
  rowModel,
7
7
  rowId,
8
8
  position,
9
- apiRef
9
+ apiRef,
10
+ isAutoGenerated
10
11
  }) {
11
12
  const idRowsLookup = _extends({}, groupingParams.idRowsLookup);
12
13
 
@@ -18,7 +19,7 @@ export function addPinnedRow({
18
19
 
19
20
  tree[rowId] = {
20
21
  id: rowId,
21
- isAutoGenerated: false,
22
+ isAutoGenerated,
22
23
  parent: null,
23
24
  depth: 0,
24
25
  groupingKey: null,
@@ -59,7 +60,8 @@ export const useGridRowPinningPreProcessors = apiRef => {
59
60
  rowModel: pinnedRowsCache.idLookup[rowId],
60
61
  rowId,
61
62
  position: 'top',
62
- apiRef
63
+ apiRef,
64
+ isAutoGenerated: false
63
65
  });
64
66
  });
65
67
  pinnedRowsCache.bottomIds?.forEach(rowId => {
@@ -68,7 +70,8 @@ export const useGridRowPinningPreProcessors = apiRef => {
68
70
  rowModel: pinnedRowsCache.idLookup[rowId],
69
71
  rowId,
70
72
  position: 'bottom',
71
- apiRef
73
+ apiRef,
74
+ isAutoGenerated: false
72
75
  });
73
76
  }); // If row with the same `id` is present both in `rows` and `pinnedRows` - remove it from `ids`
74
77
 
package/modern/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI X v5.17.19
1
+ /** @license MUI X v5.17.21
2
2
  *
3
3
  * This source code is licensed under the commercial 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 = "MTY3MzgyMDAwMDAwMA==";
3
+ const releaseInfo = "MTY3NDc1OTYwMDAwMA==";
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).
@@ -23,7 +23,8 @@ function addPinnedRow({
23
23
  rowModel,
24
24
  rowId,
25
25
  position,
26
- apiRef
26
+ apiRef,
27
+ isAutoGenerated
27
28
  }) {
28
29
  var _groupingParams$addit;
29
30
 
@@ -35,7 +36,7 @@ function addPinnedRow({
35
36
 
36
37
  tree[rowId] = {
37
38
  id: rowId,
38
- isAutoGenerated: false,
39
+ isAutoGenerated,
39
40
  parent: null,
40
41
  depth: 0,
41
42
  groupingKey: null,
@@ -77,7 +78,8 @@ const useGridRowPinningPreProcessors = apiRef => {
77
78
  rowModel: pinnedRowsCache.idLookup[rowId],
78
79
  rowId,
79
80
  position: 'top',
80
- apiRef
81
+ apiRef,
82
+ isAutoGenerated: false
81
83
  });
82
84
  });
83
85
  (_pinnedRowsCache$bott = pinnedRowsCache.bottomIds) == null ? void 0 : _pinnedRowsCache$bott.forEach(rowId => {
@@ -86,7 +88,8 @@ const useGridRowPinningPreProcessors = apiRef => {
86
88
  rowModel: pinnedRowsCache.idLookup[rowId],
87
89
  rowId,
88
90
  position: 'bottom',
89
- apiRef
91
+ apiRef,
92
+ isAutoGenerated: false
90
93
  });
91
94
  }); // If row with the same `id` is present both in `rows` and `pinnedRows` - remove it from `ids`
92
95
 
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI X v5.17.19
1
+ /** @license MUI X v5.17.21
2
2
  *
3
3
  * This source code is licensed under the commercial 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 = "MTY3MzgyMDAwMDAwMA==";
11
+ const releaseInfo = "MTY3NDc1OTYwMDAwMA==";
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.19",
3
+ "version": "5.17.21",
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.19",
36
+ "@mui/x-data-grid": "5.17.21",
37
37
  "@mui/x-license-pro": "5.17.12",
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 = "MTY3MzgyMDAwMDAwMA==";
3
+ const releaseInfo = "MTY3NDc1OTYwMDAwMA==";
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).