@mui/x-data-grid-pro 6.2.1 → 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,121 @@
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
+
52
+ ## 6.3.0
53
+
54
+ _Apr 28, 2023_
55
+
56
+ We'd like to offer a big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
57
+
58
+ - 🚀 New [time-picking UI](https://mui.com/x/react-date-pickers/digital-clock/) designed for desktops (#7958) @LukasTy
59
+
60
+ <img src="https://user-images.githubusercontent.com/4941090/235072007-de39a397-e4a4-4c98-8e10-5ee4ad440108.gif" width="494" />
61
+
62
+ - ✨ Picker fields [now always include a leading zero](https://mui.com/x/react-date-pickers/adapters-locale/#respect-leading-zeros-in-fields) on digit sections (#8527) @flaviendelangle
63
+ - 🌍 Improve Chinese (zh-CN), French (fr-FR), and Turkish (tr-TR) locales
64
+ - 🐞 Bugfixes
65
+ - 📚 Documentation improvements
66
+
67
+ ### `@mui/x-data-grid@v6.3.0` / `@mui/x-data-grid-pro@v6.3.0` / `@mui/x-data-grid-premium@v6.3.0`
68
+
69
+ #### Changes
70
+
71
+ - [DataGrid] Add overlay classes to `gridClasses` (#8686) @lindapaiste
72
+ - [DataGrid] Avoid passing `api` prop to div (#8679) @someden
73
+ - [DataGrid] Fix 'ResizeObserver loop limit exceeded' error (#8744) @m4theushw
74
+ - [DataGrid] Add Joy UI slots (button and switch) (#8699) @siriwatknp
75
+ - [DataGrid] Fix aggregation label alignment (#8694) @joserodolfofreitas
76
+ - [DataGridPremium] Fix infinite loop when updating grouped rows (#8693) @cherniavskii
77
+ - [DataGridPro] Fix error after updating `columns` and `columnGroupingModel` at once (#8730) @cherniavskii
78
+ - [l10n] Improve Chinese (zh-CN) locale (#8753) @SakumyZ
79
+ - [l10n] Improve French (fr-FR) locale (#8704) @Jul13nT
80
+ - [l10n] Improve Turkish (tr-TR) locale (#8783) @cccaaannn
81
+
82
+ ### `@mui/x-date-pickers@v6.3.0` / `@mui/x-date-pickers-pro@v6.3.0`
83
+
84
+ #### Changes
85
+
86
+ - [fields] Always add leading zeroes on digit sections (#8527) @flaviendelangle
87
+ - [fields] Pass the `readOnly` prop to `InputProps` instead of `inputProps` (#8659) @flaviendelangle
88
+ - [pickers] Add missing export for `caES` locale (#8782) @flaviendelangle
89
+ - [pickers] Add new `DigitalClock` desktop time picking experience (#7958) @LukasTy
90
+ - [pickers] Do not use `instanceOf DateTime` in `AdapterLuxon` (#8734) @flaviendelangle
91
+ - [pickers] Fix date calendar `selected` & `disabled` day style (#8773) @LukasTy
92
+ - [pickers] Migrate `AdapterDateFns` to our repository (#8736) @flaviendelangle
93
+ - [pickers] Migrate `AdapterLuxon` to our repository (#8600) @flaviendelangle
94
+ - [pickers] Migrate `AdapterMomentHijri` to our repository (#8776) @flaviendelangle
95
+ - [pickers] Migrate `AdapterMomentJalaali` and `AdapterDateFnsJalali` to our repository (#8741) @flaviendelangle
96
+ - [pickers] Migrate `AdapterMoment` to our repository (#8700) @flaviendelangle
97
+ - [pickers] Refactor the validation files (#8622) @flaviendelangle
98
+ - [pickers] Use `en dash` instead of `em dash` in multi input range fields (#8738) @flaviendelangle
99
+ - [l10n] Improve Chinese (zh-CN) locale (#8753) @SakumyZ
100
+ - [l10n] Improve Turkish (tr-TR) locale (#8783) @cccaaannn
101
+
102
+ ### Docs
103
+
104
+ - [docs] Add icons for charts menu (#8752) @alexfauquette
105
+ - [docs] Document the supported formats (#8746) @flaviendelangle
106
+ - [docs] Fix Hijri demo (#8698) @alexfauquette
107
+ - [docs] Fix `x-codemod` package version in changelog (#8690) @MBilalShafi
108
+ - [docs] Fix columns special properties code example (#8414) @mikkelhl
109
+ - [docs] Fix error in `minDateTime` `validation` page section (#8777) @LukasTy
110
+ - [docs] Update custom field pickers using theme scoping (#8609) @siriwatknp
111
+ - [docs] Use community version of data grid for column grouping demo (#7346) @ASchwad
112
+ - [docs] Use new `slots` / `slotProps` props in the pickers migration guide (#8341) @flaviendelangle
113
+
114
+ ### Core
115
+
116
+ - [core] Cleanup picker tests (#8652) @flaviendelangle
117
+ - [core] Use `adapter.lib` instead of `adapterName` in `describeAdapters` (#8779) @flaviendelangle
118
+ - [charts] Adapt line and scatter plot to the "band" scale type (#8701) @alexfauquette
119
+ - [charts] Link the Gantt Charts issue in the docs (#8739) @flaviendelangle
120
+
6
121
  ## 6.2.1
7
122
 
8
123
  _Apr 20, 2023_
@@ -31,7 +146,7 @@ We'd like to offer a big thanks to the 9 contributors who made this release poss
31
146
  - [pickers] Do not include the time in date components when going to today (#8657) @flaviendelangle
32
147
  - [pickers] Sync internal state with controlled value (#8674) @alexfauquette
33
148
 
34
- ### `@mui/x-codemod@v6.0.6`
149
+ ### `@mui/x-codemod@v6.2.1`
35
150
 
36
151
  #### Changes
37
152
 
@@ -195,9 +310,9 @@ We'd like to offer a big thanks to the 9 contributors who made this release poss
195
310
 
196
311
  - [fields] Add missing tokens to `AdapterDateFnsJalali` (#8402) @flaviendelangle
197
312
  - [fields] Clean the active date manager (#8370) @flaviendelangle
198
- - [fields] Cleanup `useFieldState` (#8292) @flaviendelangle
313
+ - [fields] Cleanup `useFieldState` (#8292) @flaviendelangle
199
314
  - [fields] Only add RTL characters when needed (#8325) @flaviendelangle
200
- - [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
201
316
  - [pickers] Allows non token characters in format (#8256) @alexfauquette
202
317
  - [pickers] Avoid root imports and move public models to the models folder (#8337) @flaviendelangle
203
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.2.1
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.2.1
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 = "MTY4MTkzMDgwMDAwMA==";
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
@@ -23,7 +23,7 @@ var removeNodeAndCleanParent = function removeNodeAndCleanParent(_ref) {
23
23
  if (shouldDeleteGroup) {
24
24
  if (parentNode.isAutoGenerated) {
25
25
  removeNodeAndCleanParent({
26
- node: node,
26
+ node: parentNode,
27
27
  tree: tree,
28
28
  treeDepths: treeDepths
29
29
  });
@@ -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.2.1
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 = "MTY4MTkzMDgwMDAwMA==";
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
@@ -24,7 +24,7 @@ const removeNodeAndCleanParent = ({
24
24
  if (shouldDeleteGroup) {
25
25
  if (parentNode.isAutoGenerated) {
26
26
  removeNodeAndCleanParent({
27
- node,
27
+ node: parentNode,
28
28
  tree,
29
29
  treeDepths
30
30
  });
@@ -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.2.1
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 = "MTY4MTkzMDgwMDAwMA==";
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
@@ -30,7 +30,7 @@ const removeNodeAndCleanParent = ({
30
30
  if (shouldDeleteGroup) {
31
31
  if (parentNode.isAutoGenerated) {
32
32
  removeNodeAndCleanParent({
33
- node,
33
+ node: parentNode,
34
34
  tree,
35
35
  treeDepths
36
36
  });
@@ -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.2.1",
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,13 +32,13 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@babel/runtime": "^7.21.0",
35
- "@mui/utils": "^5.11.13",
36
- "@mui/x-data-grid": "6.2.1",
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",
40
40
  "prop-types": "^15.8.1",
41
- "reselect": "^4.1.7"
41
+ "reselect": "^4.1.8"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "@mui/material": "^5.4.1",
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTY4MTkzMDgwMDAwMA==";
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
@@ -24,7 +24,7 @@ const removeNodeAndCleanParent = ({
24
24
  if (shouldDeleteGroup) {
25
25
  if (parentNode.isAutoGenerated) {
26
26
  removeNodeAndCleanParent({
27
- node,
27
+ node: parentNode,
28
28
  tree,
29
29
  treeDepths
30
30
  });
@@ -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 = ({