@mui/x-data-grid-premium 6.11.0 → 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,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
+ ## 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
+
6
68
  ## 6.11.0
7
69
 
8
70
  _Aug 4, 2023_
@@ -152,6 +152,9 @@ export const wrapColumnWithAggregationValue = ({
152
152
  var _rowNode$parent, _gridAggregationLooku;
153
153
  let cellAggregationPosition = null;
154
154
  const rowNode = apiRef.current.getRowNode(id);
155
+ if (!rowNode) {
156
+ return null;
157
+ }
155
158
  if (rowNode.type === 'group') {
156
159
  cellAggregationPosition = 'inline';
157
160
  } else if (id.toString().startsWith('auto-generated-group-footer-')) {
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-premium v6.11.0
2
+ * @mui/x-data-grid-premium 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
@@ -148,6 +148,9 @@ export var wrapColumnWithAggregationValue = function wrapColumnWithAggregationVa
148
148
  var _rowNode$parent, _gridAggregationLooku;
149
149
  var cellAggregationPosition = null;
150
150
  var rowNode = apiRef.current.getRowNode(id);
151
+ if (!rowNode) {
152
+ return null;
153
+ }
151
154
  if (rowNode.type === 'group') {
152
155
  cellAggregationPosition = 'inline';
153
156
  } else if (id.toString().startsWith('auto-generated-group-footer-')) {
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-premium v6.11.0
2
+ * @mui/x-data-grid-premium 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 = "MTY5MTA4OTIwMDAwMA==";
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
@@ -149,6 +149,9 @@ export const wrapColumnWithAggregationValue = ({
149
149
  const getCellAggregationResult = (id, field) => {
150
150
  let cellAggregationPosition = null;
151
151
  const rowNode = apiRef.current.getRowNode(id);
152
+ if (!rowNode) {
153
+ return null;
154
+ }
152
155
  if (rowNode.type === 'group') {
153
156
  cellAggregationPosition = 'inline';
154
157
  } else if (id.toString().startsWith('auto-generated-group-footer-')) {
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-premium v6.11.0
2
+ * @mui/x-data-grid-premium 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 = "MTY5MTA4OTIwMDAwMA==";
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
@@ -158,6 +158,9 @@ const wrapColumnWithAggregationValue = ({
158
158
  const getCellAggregationResult = (id, field) => {
159
159
  let cellAggregationPosition = null;
160
160
  const rowNode = apiRef.current.getRowNode(id);
161
+ if (!rowNode) {
162
+ return null;
163
+ }
161
164
  if (rowNode.type === 'group') {
162
165
  cellAggregationPosition = 'inline';
163
166
  } else if (id.toString().startsWith('auto-generated-group-footer-')) {
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-premium v6.11.0
2
+ * @mui/x-data-grid-premium 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 = "MTY5MTA4OTIwMDAwMA==";
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-premium",
3
- "version": "6.11.0",
3
+ "version": "6.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",
@@ -32,12 +32,12 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@babel/runtime": "^7.22.6",
35
- "@mui/utils": "^5.14.1",
36
- "@mui/x-data-grid": "6.11.0",
37
- "@mui/x-data-grid-pro": "6.11.0",
35
+ "@mui/utils": "^5.14.3",
36
+ "@mui/x-data-grid": "6.11.1",
37
+ "@mui/x-data-grid-pro": "6.11.1",
38
38
  "@mui/x-license-pro": "6.10.2",
39
39
  "@types/format-util": "^1.0.2",
40
- "clsx": "^1.2.1",
40
+ "clsx": "^2.0.0",
41
41
  "exceljs": "^4.3.0",
42
42
  "prop-types": "^15.8.1",
43
43
  "reselect": "^4.1.8"
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTY5MTA4OTIwMDAwMA==";
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