@mui/x-data-grid-pro 5.17.22 → 5.17.24

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,64 @@
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
+ ## 5.17.24
7
+
8
+ _Feb 16, 2023_
9
+
10
+ We'd like to offer a big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🌍 Add Hungarian (hu-HU) locale
13
+ - 🐞 Bugfixes
14
+
15
+ ### `@mui/x-data-grid@v5.17.24` / `@mui/x-data-grid-pro@v5.17.24` / `@mui/x-data-grid-premium@v5.17.24`
16
+
17
+ #### Changes
18
+
19
+ - [DataGrid] Allow to pass props to the `TrapFocus` inside the panel wrapper (#7897) @Vivek-Prajapatii
20
+ - [DataGrid] Avoid unnecessary rerenders after `updateRows` (#7945) @cherniavskii
21
+ - [DataGridPro] Change cursor when dragging a column (#7878) @sai6855
22
+ - [DataGridPremium] Fix `leafField` to have correct focus value (#7959) @MBilalShafi
23
+
24
+ ### `@mui/x-date-pickers@v5.0.19` / `@mui/x-date-pickers-pro@v5.0.19`
25
+
26
+ #### Changes
27
+
28
+ - [l10n] Add Hungarian (hu-HU) locale (#7796) @noherczeg
29
+
30
+ ## 5.17.23
31
+
32
+ _Feb 9, 2023_
33
+
34
+ We'd like to offer a big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:
35
+
36
+ - 🌍 Improve Brazilian Portuguese (pt-BR) locale
37
+ - 🎉 Add banner and callouts to inform about MUI X v6 beta
38
+ - 🐞 Bugfixes
39
+
40
+ ### `@mui/x-data-grid@v5.17.23` / `@mui/x-data-grid-pro@v5.17.23` / `@mui/x-data-grid-premium@v5.17.23`
41
+
42
+ #### Changes
43
+
44
+ - [DataGrid] Allow to customize the value displayed in the filter button tooltip (#7816) @ithrforu
45
+ - [DataGrid] Fix `getCellElement` method not working with pinned columns (#7844) @yaredtsy
46
+ - [DataGrid] Fix stale rows issue in `unstable_replaceRows` (#7694) @MBilalShafi
47
+ - [l10n] Improve Brazilian Portuguese (pt-BR) locale (#7850) @ed-ateixeira
48
+
49
+ ### `@mui/x-date-pickers@v_5.0.18` / `@mui/x-date-pickers-pro@v_5.0.18`
50
+
51
+ #### Changes
52
+
53
+ - [pickers] Update pickers when new value has a distinct timezone (#7853) @alexfauquette
54
+
55
+ ### Docs
56
+
57
+ - [docs] Add messages in v5 doc to inform people about v6 (#7838) @flaviendelangle
58
+ - [docs] Fix 301 link @oliviertassinari
59
+
60
+ ### Core
61
+
62
+ - [core] Upgrade monorepo (#7849) @cherniavskii
63
+
6
64
  ## v5.17.22
7
65
 
8
66
  _Feb 2, 2023_
@@ -61,6 +61,11 @@ export const useGridColumnReorder = (apiRef, props) => {
61
61
  event.stopPropagation();
62
62
  dragColNode.current = event.currentTarget;
63
63
  dragColNode.current.classList.add(classes.columnHeaderDragging);
64
+
65
+ if (event.dataTransfer) {
66
+ event.dataTransfer.effectAllowed = 'move';
67
+ }
68
+
64
69
  apiRef.current.setState(state => _extends({}, state, {
65
70
  columnReorder: _extends({}, state.columnReorder, {
66
71
  dragCol: params.field
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI X v5.17.22
1
+ /** @license MUI X v5.17.24
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.
@@ -63,6 +63,11 @@ export var useGridColumnReorder = function useGridColumnReorder(apiRef, props) {
63
63
  event.stopPropagation();
64
64
  dragColNode.current = event.currentTarget;
65
65
  dragColNode.current.classList.add(classes.columnHeaderDragging);
66
+
67
+ if (event.dataTransfer) {
68
+ event.dataTransfer.effectAllowed = 'move';
69
+ }
70
+
66
71
  apiRef.current.setState(function (state) {
67
72
  return _extends({}, state, {
68
73
  columnReorder: _extends({}, state.columnReorder, {
package/legacy/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI X v5.17.22
1
+ /** @license MUI X v5.17.24
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 = "MTY3NTI5MjQwMDAwMA==";
3
+ var releaseInfo = "MTY3NjQ5ODQwMDAwMA==";
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).
@@ -61,6 +61,11 @@ export const useGridColumnReorder = (apiRef, props) => {
61
61
  event.stopPropagation();
62
62
  dragColNode.current = event.currentTarget;
63
63
  dragColNode.current.classList.add(classes.columnHeaderDragging);
64
+
65
+ if (event.dataTransfer) {
66
+ event.dataTransfer.effectAllowed = 'move';
67
+ }
68
+
64
69
  apiRef.current.setState(state => _extends({}, state, {
65
70
  columnReorder: _extends({}, state.columnReorder, {
66
71
  dragCol: params.field
package/modern/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI X v5.17.22
1
+ /** @license MUI X v5.17.24
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 = "MTY3NTI5MjQwMDAwMA==";
3
+ const releaseInfo = "MTY3NjQ5ODQwMDAwMA==";
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).
@@ -82,6 +82,11 @@ const useGridColumnReorder = (apiRef, props) => {
82
82
  event.stopPropagation();
83
83
  dragColNode.current = event.currentTarget;
84
84
  dragColNode.current.classList.add(classes.columnHeaderDragging);
85
+
86
+ if (event.dataTransfer) {
87
+ event.dataTransfer.effectAllowed = 'move';
88
+ }
89
+
85
90
  apiRef.current.setState(state => (0, _extends2.default)({}, state, {
86
91
  columnReorder: (0, _extends2.default)({}, state.columnReorder, {
87
92
  dragCol: params.field
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI X v5.17.22
1
+ /** @license MUI X v5.17.24
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 = "MTY3NTI5MjQwMDAwMA==";
11
+ const releaseInfo = "MTY3NjQ5ODQwMDAwMA==";
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.22",
3
+ "version": "5.17.24",
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.22",
36
+ "@mui/x-data-grid": "5.17.24",
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 = "MTY3NTI5MjQwMDAwMA==";
3
+ const releaseInfo = "MTY3NjQ5ODQwMDAwMA==";
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).