@mui/x-data-grid-premium 5.11.0 β†’ 5.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,21 +3,111 @@
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.11.1
7
+
8
+ _May 20, 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
+ - 🌍 Support localization on the date and time picker components (#4517) @alexfauquette
13
+
14
+ Texts can be translated in the pickers components, similar to what can be done in the data grid component. Check the [documentation](https://mui.com/x/react-date-pickers/localization/) for more information.
15
+
16
+ - πŸ“ƒ Add support for column spanning when exporting to Excel (#4830) @cherniavskii
17
+
18
+ <img src="https://user-images.githubusercontent.com/13808724/167691417-bf6baeb9-d409-4134-acb6-aadaf6434de9.png" width="800">
19
+
20
+ - 🐞 Bugs fixes
21
+
22
+ ### `@mui/x-data-grid@v5.11.1` / `@mui/x-data-grid-pro@v5.11.1` / `@mui/x-data-grid-premium@v5.11.1`
23
+
24
+ #### Changes
25
+
26
+ - [DataGrid] Add a CSS class corresponding to current density (#4858) @m4theushw
27
+ - [DataGrid] Execute the pipe-processors in their initialization order (#4913) @flaviendelangle
28
+ - [DataGrid] Fix rendering of the no rows overlay when the `loading` prop is changed (#4910) @m4theushw
29
+ - [DataGridPremium] Add `exceljs` to the dependencies (#4939) @alexfauquette
30
+ - [DataGridPremium] Support column spanning in the Excel export (#4830) @cherniavskii
31
+ - [l10n] Improve Russian (ru-RU) locale (#4864) @arvkonstantin
32
+
33
+ ### `@mui/x-date-pickers@5.0.0-alpha.4` / `@mui/x-date-pickers-pro@5.0.0-alpha.4`
34
+
35
+ #### Breaking changes
36
+
37
+ - The props related to the action bar buttons have been removed (`clearable`, `showTodayButton`, `cancelText`, `okText`)
38
+
39
+ To decide which button must be displayed and in which order, you can now use the `actions` prop of the `actionBar` component slot props.
40
+
41
+ ```jsx
42
+ <DatePicker
43
+ componentsProps={{
44
+ actionBar: {
45
+ // The actions will be the same between desktop and mobile
46
+ actions: ['clear'],
47
+
48
+ // The actions will be different between desktop and mobile
49
+ actions: (variant) => variant === 'desktop' ? [] : ['clear'],
50
+ }
51
+ }}
52
+ />
53
+ ```
54
+
55
+ The build-in `ActionBar` component supports 4 different actions: `'clear'`, `'cancel'`, `'accept'`, and `'today'`.
56
+ By default, the pickers will render the cancel and accept button on mobile and no action on desktop.
57
+
58
+ If you need other actions, you can provide your own component to the `ActionBar` component slot
59
+
60
+ ```jsx
61
+ <DatePicker
62
+ components={{ ActionBar: CustomActionBar }}
63
+ />
64
+ ```
65
+
66
+ #### Changes
67
+
68
+ - [DatePicker] Fix keyboard accessibility for first and last year (#4807) @alexfauquette
69
+ - [pickers] Add component slot for action bar (#4778) @alexfauquette
70
+ - [pickers] Add l10n support (#4517) @alexfauquette
71
+ - [pickers] Close Popper when pressing <kbd>Esc</kbd> inside a modal (#4499) @alexfauquette
72
+ - [pickers] Support class slots on toolbar components (#4855) @flaviendelangle
73
+ - [TimePicker] Fix time validation when current date is `null` (#4867) @flaviendelangle
74
+
75
+ ### Docs
76
+
77
+ - [docs] Add 301 redirect for columns page (#4940) @alexfauquette
78
+ - [docs] Avoid confusion with license key installation (#4891) @oliviertassinari
79
+ - [docs] Complete the instructions for pickers installation in readme (#4852) @alexfauquette
80
+ - [docs] Disable ads on paid-only pages (#4842) @flaviendelangle
81
+ - [docs] Don't redirect to localized doc on deploy preview (#4818) @m4theushw
82
+ - [docs] Limit `LICENSE` file to 80 char per line (#4873) @oliviertassinari
83
+ - [docs] Typo on OrderId @oliviertassinari
84
+ - [docs] Update feature comparison table (#4918) @cherniavskii
85
+
86
+ ### Core
87
+
88
+ - [core] Add new script to generate tree data rows from file tree (#4902) @flaviendelangle
89
+ - [core] Fix code style (#4874) @oliviertassinari
90
+ - [core] Fix React 18 peer dependency (#4908) @oliviertassinari
91
+ - [core] Fix link to the LICENSE file (#4875) @oliviertassinari
92
+ - [core] Fix transitive babel dependency (#4793) @oliviertassinari
93
+ - [core] New pipe processing `rowHydration` (#4896) @flaviendelangle
94
+ - [core] Remove dead code for the docs (#4791) @oliviertassinari
95
+ - [core] Run `yarn prettier` @oliviertassinari
96
+ - [core] Polishes on `CHANGELOG.md` (#4876) @oliviertassinari
97
+ - [core] Simplify rows cache management (#4933) @flaviendelangle
98
+ - [core] Use internal icons for quick filter (#4912) @alexfauquette
99
+
6
100
  ## v5.11.0
7
101
 
8
102
  _May 13, 2022_
9
103
 
10
104
  We'd like to offer a big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
11
105
 
12
- - πŸš€ Premium plan release
13
-
14
- We’re happy to announce that the Premium plan is [finally out](https://mui.com/blog/premium-plan-release/)!
15
- With it, MUI X officially steps up to the next level, supporting the most advanced use cases for UI components.
106
+ - πŸš€ **Premium plan release**. We're happy to announce that the Premium plan is [finally out](https://mui.com/blog/premium-plan-release/)! With it, MUI X officially steps up to the next level, supporting the most advanced use cases for UI components.
16
107
 
17
108
  This plan is available through the new `@mui/x-data-grid-premium` package, which contains the row grouping and the Excel export features.
18
109
 
19
- If you were already using the row grouping feature, you can upgrade by [installing](https://mui.com/x/react-data-grid/getting-started/#installation) `@mui/x-data-grid-premium` and replace `DataGridPro` with `DataGridPremium`, as follows.
20
- Note that the experimental flag is not required anymore to use the row grouping.
110
+ If you were already using the row grouping feature, you can upgrade by [installing](https://mui.com/x/react-data-grid/getting-started/#installation) `@mui/x-data-grid-premium` and replace `DataGridPro` with `DataGridPremium`, as follows. Note that the experimental flag is not required anymore to use the row grouping.
21
111
 
22
112
  ```diff
23
113
  -import { DataGridPro } from '@mui/x-data-grid-pro';
@@ -29,16 +119,11 @@ We'd like to offer a big thanks to the 15 contributors who made this release pos
29
119
 
30
120
  For more information about the revised pricing model please have a look at the [blog post](https://mui.com/blog/premium-plan-release/#the-new-licensing-model).
31
121
 
32
- - πŸ‘” Add Excel export
33
-
34
- - πŸ”Ž Quick filtering
35
-
36
- You can now add a quick filtering search bar to your grid.
37
- To do so, either pass `showQuickFilter` prop to the `<GridToolbar />` or use the `<GridToolbarQuickFilter />` component in your custom toolbar.
122
+ - πŸ‘” **Excel export**. You can find this new Premium feature at: https://mui.com/x/react-data-grid/export/#excel-export.
38
123
 
39
- More information about how to customize the filtering logic is in the [documentation](https://mui.com/x/react-data-grid/filtering/#quick-filter)
124
+ - πŸ”Ž **Quick filtering**. You can now add a quick filtering search bar to your grid. To do so, either pass `showQuickFilter` prop to the `<GridToolbar />` or use the `<GridToolbarQuickFilter />` component in your custom toolbar. More information about how to customize the filtering logic is in the [documentation]( https://mui.com/x/react-data-grid/filtering/#quick-filter).
40
125
 
41
- ![image](https://user-images.githubusercontent.com/13808724/167700105-5a5acc7c-5463-4871-8514-3d09e2f365ae.png)
126
+ <img src="https://user-images.githubusercontent.com/13808724/167700105-5a5acc7c-5463-4871-8514-3d09e2f365ae.png" width="724">
42
127
 
43
128
  - 🐞 Bugs fixes
44
129
 
@@ -46,7 +131,7 @@ We'd like to offer a big thanks to the 15 contributors who made this release pos
46
131
 
47
132
  #### Breaking changes
48
133
 
49
- - Moving row grouping to premium package
134
+ - Move row grouping to the premium package (#4223) @flaviendelangle
50
135
 
51
136
  The use of `rowGrouping` in the `@mui/x-data-grid-pro` package is deprecated. The experimental flag will be removed in an upcoming release.
52
137
 
@@ -76,7 +161,7 @@ We'd like to offer a big thanks to the 15 contributors who made this release pos
76
161
 
77
162
  #### Breaking changes
78
163
 
79
- - Rework the auto-closing behavior of the pickers.
164
+ - Rework the auto-closing behavior of the pickers (#4408) @flaviendelangle
80
165
 
81
166
  The `disableCloseOnSelect` prop has been replaced by a new `closeOnSelect` prop which has the opposite behavior.
82
167
  The default behavior remains the same (close after the last step on desktop but not on mobile).
package/LICENSE CHANGED
@@ -2,9 +2,9 @@ Commercial License
2
2
 
3
3
  Copyright (c) 2020 Material-UI SAS
4
4
 
5
- MUI X Premium (https://mui.com/pricing/) is commercial software. You must purchase
6
- a license and agree to the End User License Agreement (EULA: https://mui.com/r/x-license-eula)
7
- to be able to use the software.
5
+ MUI X Premium (https://mui.com/pricing/) is commercial software.
6
+ You must purchase a license and agree to the End User License Agreement
7
+ (EULA: https://mui.com/r/x-license-eula) to be able to use the software.
8
8
 
9
9
  Commercial licenses can be obtained at https://mui.com/r/x-get-license?scope=premium.
10
10
  You are free to install and try the software without a license key as long as it
package/README.md CHANGED
@@ -21,8 +21,7 @@ This component has the following peer dependencies that you will need to install
21
21
  "peerDependencies": {
22
22
  "@mui/material": "^5.2.8",
23
23
  "@mui/system": "^5.2.8",
24
- "react": "^17.0.2 || ^18.0.0",
25
- "react-dom": "^17.0.2 || ^18.0.0"
24
+ "react": "^17.0.2 || ^18.0.0"
26
25
  },
27
26
  ```
28
27
 
@@ -34,9 +34,29 @@ const getFormattedValueOptions = (colDef, valueOptions, api) => {
34
34
  const serializeRow = (id, columns, api, defaultValueOptionsFormulae) => {
35
35
  const row = {};
36
36
  const dataValidation = {};
37
+ const mergedCells = [];
37
38
  const firstCellParams = api.getCellParams(id, columns[0].field);
38
- const outlineLevel = firstCellParams.rowNode.depth;
39
- columns.forEach(column => {
39
+ const outlineLevel = firstCellParams.rowNode.depth; // `colSpan` is only calculated for rendered rows, so we need to calculate it during export for every row
40
+
41
+ api.unstable_calculateColSpan({
42
+ rowId: id,
43
+ minFirstColumn: 0,
44
+ maxLastColumn: columns.length - 1
45
+ });
46
+ columns.forEach((column, colIndex) => {
47
+ const colSpanInfo = api.unstable_getCellColSpanInfo(id, colIndex);
48
+
49
+ if (colSpanInfo && colSpanInfo.spannedByColSpan) {
50
+ return;
51
+ }
52
+
53
+ if (colSpanInfo && colSpanInfo.cellProps.colSpan > 1) {
54
+ mergedCells.push({
55
+ leftIndex: colIndex + 1,
56
+ rightIndex: colIndex + colSpanInfo.cellProps.colSpan
57
+ });
58
+ }
59
+
40
60
  const cellParams = api.getCellParams(id, column.field);
41
61
 
42
62
  switch (cellParams.colDef.type) {
@@ -119,7 +139,8 @@ const serializeRow = (id, columns, api, defaultValueOptionsFormulae) => {
119
139
  return {
120
140
  row,
121
141
  dataValidation,
122
- outlineLevel
142
+ outlineLevel,
143
+ mergedCells
123
144
  };
124
145
  };
125
146
 
@@ -195,7 +216,8 @@ export async function buildExcel(options, api) {
195
216
  const {
196
217
  row,
197
218
  dataValidation,
198
- outlineLevel
219
+ outlineLevel,
220
+ mergedCells
199
221
  } = serializeRow(id, columns, api, defaultValueOptionsFormulae);
200
222
  const newRow = worksheet.addRow(row);
201
223
  Object.keys(dataValidation).forEach(field => {
@@ -204,7 +226,13 @@ export async function buildExcel(options, api) {
204
226
 
205
227
  if (outlineLevel) {
206
228
  newRow.outlineLevel = outlineLevel;
207
- }
229
+ } // use `rowCount`, since worksheet can have additional rows added in `exceljsPreProcess`
230
+
231
+
232
+ const lastRowIndex = newRow.worksheet.rowCount;
233
+ mergedCells.forEach(mergedCell => {
234
+ worksheet.mergeCells(lastRowIndex, mergedCell.leftIndex, lastRowIndex, mergedCell.rightIndex);
235
+ });
208
236
  });
209
237
 
210
238
  if (exceljsPostProcess) {
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.11.0
1
+ /** @license MUI v5.11.1
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.
@@ -46,9 +46,29 @@ var getFormattedValueOptions = function getFormattedValueOptions(colDef, valueOp
46
46
  var serializeRow = function serializeRow(id, columns, api, defaultValueOptionsFormulae) {
47
47
  var row = {};
48
48
  var dataValidation = {};
49
+ var mergedCells = [];
49
50
  var firstCellParams = api.getCellParams(id, columns[0].field);
50
- var outlineLevel = firstCellParams.rowNode.depth;
51
- columns.forEach(function (column) {
51
+ var outlineLevel = firstCellParams.rowNode.depth; // `colSpan` is only calculated for rendered rows, so we need to calculate it during export for every row
52
+
53
+ api.unstable_calculateColSpan({
54
+ rowId: id,
55
+ minFirstColumn: 0,
56
+ maxLastColumn: columns.length - 1
57
+ });
58
+ columns.forEach(function (column, colIndex) {
59
+ var colSpanInfo = api.unstable_getCellColSpanInfo(id, colIndex);
60
+
61
+ if (colSpanInfo && colSpanInfo.spannedByColSpan) {
62
+ return;
63
+ }
64
+
65
+ if (colSpanInfo && colSpanInfo.cellProps.colSpan > 1) {
66
+ mergedCells.push({
67
+ leftIndex: colIndex + 1,
68
+ rightIndex: colIndex + colSpanInfo.cellProps.colSpan
69
+ });
70
+ }
71
+
52
72
  var cellParams = api.getCellParams(id, column.field);
53
73
 
54
74
  switch (cellParams.colDef.type) {
@@ -133,7 +153,8 @@ var serializeRow = function serializeRow(id, columns, api, defaultValueOptionsFo
133
153
  return {
134
154
  row: row,
135
155
  dataValidation: dataValidation,
136
- outlineLevel: outlineLevel
156
+ outlineLevel: outlineLevel,
157
+ mergedCells: mergedCells
137
158
  };
138
159
  };
139
160
 
@@ -223,7 +244,8 @@ function _buildExcel() {
223
244
  var _serializeRow = serializeRow(id, columns, api, defaultValueOptionsFormulae),
224
245
  row = _serializeRow.row,
225
246
  dataValidation = _serializeRow.dataValidation,
226
- outlineLevel = _serializeRow.outlineLevel;
247
+ outlineLevel = _serializeRow.outlineLevel,
248
+ mergedCells = _serializeRow.mergedCells;
227
249
 
228
250
  var newRow = worksheet.addRow(row);
229
251
  Object.keys(dataValidation).forEach(function (field) {
@@ -232,7 +254,13 @@ function _buildExcel() {
232
254
 
233
255
  if (outlineLevel) {
234
256
  newRow.outlineLevel = outlineLevel;
235
- }
257
+ } // use `rowCount`, since worksheet can have additional rows added in `exceljsPreProcess`
258
+
259
+
260
+ var lastRowIndex = newRow.worksheet.rowCount;
261
+ mergedCells.forEach(function (mergedCell) {
262
+ worksheet.mergeCells(lastRowIndex, mergedCell.leftIndex, lastRowIndex, mergedCell.rightIndex);
263
+ });
236
264
  });
237
265
 
238
266
  if (!exceljsPostProcess) {
package/legacy/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.11.0
1
+ /** @license MUI v5.11.1
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 = "MTY1MjM5MjgwMDAwMA==";
3
+ var releaseInfo = "MTY1Mjk5NzYwMDAwMA==";
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).
@@ -34,9 +34,29 @@ const getFormattedValueOptions = (colDef, valueOptions, api) => {
34
34
  const serializeRow = (id, columns, api, defaultValueOptionsFormulae) => {
35
35
  const row = {};
36
36
  const dataValidation = {};
37
+ const mergedCells = [];
37
38
  const firstCellParams = api.getCellParams(id, columns[0].field);
38
- const outlineLevel = firstCellParams.rowNode.depth;
39
- columns.forEach(column => {
39
+ const outlineLevel = firstCellParams.rowNode.depth; // `colSpan` is only calculated for rendered rows, so we need to calculate it during export for every row
40
+
41
+ api.unstable_calculateColSpan({
42
+ rowId: id,
43
+ minFirstColumn: 0,
44
+ maxLastColumn: columns.length - 1
45
+ });
46
+ columns.forEach((column, colIndex) => {
47
+ const colSpanInfo = api.unstable_getCellColSpanInfo(id, colIndex);
48
+
49
+ if (colSpanInfo && colSpanInfo.spannedByColSpan) {
50
+ return;
51
+ }
52
+
53
+ if (colSpanInfo && colSpanInfo.cellProps.colSpan > 1) {
54
+ mergedCells.push({
55
+ leftIndex: colIndex + 1,
56
+ rightIndex: colIndex + colSpanInfo.cellProps.colSpan
57
+ });
58
+ }
59
+
40
60
  const cellParams = api.getCellParams(id, column.field);
41
61
 
42
62
  switch (cellParams.colDef.type) {
@@ -117,7 +137,8 @@ const serializeRow = (id, columns, api, defaultValueOptionsFormulae) => {
117
137
  return {
118
138
  row,
119
139
  dataValidation,
120
- outlineLevel
140
+ outlineLevel,
141
+ mergedCells
121
142
  };
122
143
  };
123
144
 
@@ -193,7 +214,8 @@ export async function buildExcel(options, api) {
193
214
  const {
194
215
  row,
195
216
  dataValidation,
196
- outlineLevel
217
+ outlineLevel,
218
+ mergedCells
197
219
  } = serializeRow(id, columns, api, defaultValueOptionsFormulae);
198
220
  const newRow = worksheet.addRow(row);
199
221
  Object.keys(dataValidation).forEach(field => {
@@ -202,7 +224,13 @@ export async function buildExcel(options, api) {
202
224
 
203
225
  if (outlineLevel) {
204
226
  newRow.outlineLevel = outlineLevel;
205
- }
227
+ } // use `rowCount`, since worksheet can have additional rows added in `exceljsPreProcess`
228
+
229
+
230
+ const lastRowIndex = newRow.worksheet.rowCount;
231
+ mergedCells.forEach(mergedCell => {
232
+ worksheet.mergeCells(lastRowIndex, mergedCell.leftIndex, lastRowIndex, mergedCell.rightIndex);
233
+ });
206
234
  });
207
235
 
208
236
  if (exceljsPostProcess) {
package/modern/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.11.0
1
+ /** @license MUI v5.11.1
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 = "MTY1MjM5MjgwMDAwMA==";
3
+ const releaseInfo = "MTY1Mjk5NzYwMDAwMA==";
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).
@@ -49,9 +49,29 @@ const getFormattedValueOptions = (colDef, valueOptions, api) => {
49
49
  const serializeRow = (id, columns, api, defaultValueOptionsFormulae) => {
50
50
  const row = {};
51
51
  const dataValidation = {};
52
+ const mergedCells = [];
52
53
  const firstCellParams = api.getCellParams(id, columns[0].field);
53
- const outlineLevel = firstCellParams.rowNode.depth;
54
- columns.forEach(column => {
54
+ const outlineLevel = firstCellParams.rowNode.depth; // `colSpan` is only calculated for rendered rows, so we need to calculate it during export for every row
55
+
56
+ api.unstable_calculateColSpan({
57
+ rowId: id,
58
+ minFirstColumn: 0,
59
+ maxLastColumn: columns.length - 1
60
+ });
61
+ columns.forEach((column, colIndex) => {
62
+ const colSpanInfo = api.unstable_getCellColSpanInfo(id, colIndex);
63
+
64
+ if (colSpanInfo && colSpanInfo.spannedByColSpan) {
65
+ return;
66
+ }
67
+
68
+ if (colSpanInfo && colSpanInfo.cellProps.colSpan > 1) {
69
+ mergedCells.push({
70
+ leftIndex: colIndex + 1,
71
+ rightIndex: colIndex + colSpanInfo.cellProps.colSpan
72
+ });
73
+ }
74
+
55
75
  const cellParams = api.getCellParams(id, column.field);
56
76
 
57
77
  switch (cellParams.colDef.type) {
@@ -134,7 +154,8 @@ const serializeRow = (id, columns, api, defaultValueOptionsFormulae) => {
134
154
  return {
135
155
  row,
136
156
  dataValidation,
137
- outlineLevel
157
+ outlineLevel,
158
+ mergedCells
138
159
  };
139
160
  };
140
161
 
@@ -210,7 +231,8 @@ async function buildExcel(options, api) {
210
231
  const {
211
232
  row,
212
233
  dataValidation,
213
- outlineLevel
234
+ outlineLevel,
235
+ mergedCells
214
236
  } = serializeRow(id, columns, api, defaultValueOptionsFormulae);
215
237
  const newRow = worksheet.addRow(row);
216
238
  Object.keys(dataValidation).forEach(field => {
@@ -219,7 +241,13 @@ async function buildExcel(options, api) {
219
241
 
220
242
  if (outlineLevel) {
221
243
  newRow.outlineLevel = outlineLevel;
222
- }
244
+ } // use `rowCount`, since worksheet can have additional rows added in `exceljsPreProcess`
245
+
246
+
247
+ const lastRowIndex = newRow.worksheet.rowCount;
248
+ mergedCells.forEach(mergedCell => {
249
+ worksheet.mergeCells(lastRowIndex, mergedCell.leftIndex, lastRowIndex, mergedCell.rightIndex);
250
+ });
223
251
  });
224
252
 
225
253
  if (exceljsPostProcess) {
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.11.0
1
+ /** @license MUI v5.11.1
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 = "MTY1MjM5MjgwMDAwMA==";
11
+ const releaseInfo = "MTY1Mjk5NzYwMDAwMA==";
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,14 +1,14 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid-premium",
3
- "version": "5.11.0",
3
+ "version": "5.11.1",
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",
7
- "license": "SEE LICENSE IN LICENSE.txt",
7
+ "license": "SEE LICENSE IN LICENSE",
8
8
  "bugs": {
9
9
  "url": "https://github.com/mui/mui-x/issues"
10
10
  },
11
- "homepage": "https://mui.com/components/data-grid/",
11
+ "homepage": "https://mui.com/x/react-data-grid/",
12
12
  "sideEffects": false,
13
13
  "publishConfig": {
14
14
  "access": "public"
@@ -31,25 +31,21 @@
31
31
  "directory": "packages/grid/x-data-grid-premium"
32
32
  },
33
33
  "dependencies": {
34
- "@mui/utils": "^5.6.1",
35
- "@mui/x-data-grid": "5.11.0",
36
- "@mui/x-data-grid-pro": "5.11.0",
37
- "@mui/x-license-pro": "5.11.0",
34
+ "@babel/runtime": "^7.17.2",
35
+ "@mui/utils": "^5.7.0",
36
+ "@mui/x-data-grid": "5.11.1",
37
+ "@mui/x-data-grid-pro": "5.11.1",
38
+ "@mui/x-license-pro": "5.11.1",
38
39
  "@types/format-util": "^1.0.2",
39
40
  "clsx": "^1.0.4",
40
41
  "prop-types": "^15.8.1",
41
- "reselect": "^4.1.5"
42
+ "reselect": "^4.1.5",
43
+ "exceljs": "^4.3.0"
42
44
  },
43
45
  "peerDependencies": {
44
46
  "@mui/material": "^5.2.8",
45
47
  "@mui/system": "^5.2.8",
46
- "exceljs": "^4.3.0",
47
- "react": "^17.0.2"
48
- },
49
- "peerDependenciesMeta": {
50
- "exceljs": {
51
- "optional": true
52
- }
48
+ "react": "^17.0.2 || ^18.0.0"
53
49
  },
54
50
  "setupFiles": [
55
51
  "<rootDir>/src/setupTests.js"
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTY1MjM5MjgwMDAwMA==";
3
+ const releaseInfo = "MTY1Mjk5NzYwMDAwMA==";
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).