@mui/x-data-grid-pro 6.3.0 → 6.3.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,52 @@
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.3.1
7
+
8
+ _May 5, 2023_
9
+
10
+ We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🐞 Bugfixes
13
+ - 📚 Documentation improvements
14
+
15
+ ### `@mui/x-data-grid@v6.3.1` / `@mui/x-data-grid-pro@v6.3.1` / `@mui/x-data-grid-premium@v6.3.1`
16
+
17
+ #### Changes
18
+
19
+ - [DataGrid] Fix broken filtering in the value formatter demo (#8621) @cherniavskii
20
+ - [DataGrid] Fix falsy filter values not showing in filter button tooltip (#8550) @ithrforu
21
+ - [DataGrid] Fix missing watermark in Pro and Premium packages (#8797) @cherniavskii
22
+ - [DataGrid] Remove unwarranted warning log (#8847) @romgrk
23
+ - [DataGrid] Add Joy UI slots (`Select`, `SelectOption`, `InputLabel`, `FormControl`) (#8747) @cherniavskii
24
+ - [DataGridPremium] Fix expanded groups being collapsed after calling `updateRows` (#8823) @cherniavskii
25
+
26
+ ### `@mui/x-date-pickers@v6.3.1` / `@mui/x-date-pickers-pro@v6.3.1`
27
+
28
+ #### Changes
29
+
30
+ - [pickers] Fix `minutesStep` validation prop behavior (#8794) @LukasTy
31
+ - [pickers] Fix time picker `viewRenderers` overriding (#8830) @LukasTy
32
+ - [pickers] Remove last additional character when using LTR (#8848) @alexfauquette
33
+
34
+ ### Docs
35
+
36
+ - [docs] Fix controlled mode demo on Editing page (#8800) @yaredtsy
37
+ - [docs] Fix scrolling demo not working with React 18 (#6489) @cherniavskii
38
+ - [docs] Update demo to support agregation on popular feature cell (#8617) @BalaM314
39
+ - [docs] Clarify what `<path>` is (#8764) @alexfauquette
40
+
41
+ ### Core
42
+
43
+ - [core] Do not include playground pages in `yarn typescript` script (#8822) @cherniavskii
44
+ - [core] Limit `typescript:ci` step memory limit (#8796) @LukasTy
45
+ - [core] Upgrade monorepo (#8835) @cherniavskii
46
+ - [test] Use `fake` clock on `MobileDateRangePicker` (#8861) @LukasTy
47
+ - [charts] Clean some styling (#8778) @alexfauquette
48
+ - [charts] Improve tooltip (#8792) @alexfauquette
49
+ - [charts] Improvement and docs on axis (#8654) @alexfauquette
50
+ - [charts] Defaultize attributes (#8788) @alexfauquette
51
+
6
52
  ## 6.3.0
7
53
 
8
54
  _Apr 28, 2023_
@@ -264,9 +310,9 @@ We'd like to offer a big thanks to the 9 contributors who made this release poss
264
310
 
265
311
  - [fields] Add missing tokens to `AdapterDateFnsJalali` (#8402) @flaviendelangle
266
312
  - [fields] Clean the active date manager (#8370) @flaviendelangle
267
- - [fields] Cleanup `useFieldState` (#8292) @flaviendelangle
313
+ - [fields] Cleanup `useFieldState` (#8292) @flaviendelangle
268
314
  - [fields] Only add RTL characters when needed (#8325) @flaviendelangle
269
- - [pickers] Add support for single input fields in range pickers (#7927) @flaviendelangle
315
+ - [pickers] Add support for single input fields in range pickers (#7927) @flaviendelangle
270
316
  - [pickers] Allows non token characters in format (#8256) @alexfauquette
271
317
  - [pickers] Avoid root imports and move public models to the models folder (#8337) @flaviendelangle
272
318
  - [pickers] Update `view` when `views` or `openTo` changes (#8361) @LukasTy
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v6.3.0
2
+ * @mui/x-data-grid-pro v6.3.1
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v6.3.0
2
+ * @mui/x-data-grid-pro v6.3.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 = "MTY4MjYyOTIwMDAwMA==";
3
+ var releaseInfo = "MTY4MzIzNzYwMDAwMA==";
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
@@ -17,11 +17,12 @@ export var getNodePathInTree = function getNodePathInTree(_ref) {
17
17
  var node = tree[id];
18
18
  while (node.id !== GRID_ROOT_GROUP_ID) {
19
19
  path.push({
20
- field: node.groupingField,
20
+ field: node.type === 'leaf' ? null : node.groupingField,
21
21
  key: node.groupingKey
22
22
  });
23
23
  node = tree[node.parent];
24
24
  }
25
+ path.reverse();
25
26
  return path;
26
27
  };
27
28
  export var addGroupDefaultExpansion = function addGroupDefaultExpansion(_ref2) {
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v6.3.0
2
+ * @mui/x-data-grid-pro v6.3.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 = "MTY4MjYyOTIwMDAwMA==";
3
+ const releaseInfo = "MTY4MzIzNzYwMDAwMA==";
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
@@ -14,11 +14,12 @@ export const getNodePathInTree = ({
14
14
  let node = tree[id];
15
15
  while (node.id !== GRID_ROOT_GROUP_ID) {
16
16
  path.push({
17
- field: node.groupingField,
17
+ field: node.type === 'leaf' ? null : node.groupingField,
18
18
  key: node.groupingKey
19
19
  });
20
20
  node = tree[node.parent];
21
21
  }
22
+ path.reverse();
22
23
  return path;
23
24
  };
24
25
  export const addGroupDefaultExpansion = ({
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v6.3.0
2
+ * @mui/x-data-grid-pro v6.3.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 = "MTY4MjYyOTIwMDAwMA==";
9
+ const releaseInfo = "MTY4MzIzNzYwMDAwMA==";
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
@@ -22,11 +22,12 @@ const getNodePathInTree = ({
22
22
  let node = tree[id];
23
23
  while (node.id !== _xDataGrid.GRID_ROOT_GROUP_ID) {
24
24
  path.push({
25
- field: node.groupingField,
25
+ field: node.type === 'leaf' ? null : node.groupingField,
26
26
  key: node.groupingKey
27
27
  });
28
28
  node = tree[node.parent];
29
29
  }
30
+ path.reverse();
30
31
  return path;
31
32
  };
32
33
  exports.getNodePathInTree = getNodePathInTree;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid-pro",
3
- "version": "6.3.0",
3
+ "version": "6.3.1",
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",
@@ -32,8 +32,8 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@babel/runtime": "^7.21.0",
35
- "@mui/utils": "^5.12.0",
36
- "@mui/x-data-grid": "6.3.0",
35
+ "@mui/utils": "^5.12.3",
36
+ "@mui/x-data-grid": "6.3.1",
37
37
  "@mui/x-license-pro": "6.0.4",
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 = "MTY4MjYyOTIwMDAwMA==";
3
+ const releaseInfo = "MTY4MzIzNzYwMDAwMA==";
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
@@ -14,11 +14,12 @@ export const getNodePathInTree = ({
14
14
  let node = tree[id];
15
15
  while (node.id !== GRID_ROOT_GROUP_ID) {
16
16
  path.push({
17
- field: node.groupingField,
17
+ field: node.type === 'leaf' ? null : node.groupingField,
18
18
  key: node.groupingKey
19
19
  });
20
20
  node = tree[node.parent];
21
21
  }
22
+ path.reverse();
22
23
  return path;
23
24
  };
24
25
  export const addGroupDefaultExpansion = ({