@mui/x-data-grid-pro 6.18.1 → 6.18.3
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 +112 -0
- package/components/GridRowReorderCell.js +2 -4
- package/index.js +1 -1
- package/legacy/components/GridRowReorderCell.js +2 -4
- package/legacy/index.js +1 -1
- package/legacy/utils/releaseInfo.js +1 -1
- package/modern/components/GridRowReorderCell.js +2 -4
- package/modern/index.js +1 -1
- package/modern/utils/releaseInfo.js +1 -1
- package/node/components/GridRowReorderCell.js +1 -3
- package/node/index.js +1 -1
- package/node/utils/releaseInfo.js +1 -1
- package/package.json +2 -2
- package/utils/releaseInfo.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,118 @@
|
|
|
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.18.3
|
|
7
|
+
|
|
8
|
+
_Dec 4, 2023_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 📈 Fix a lot of Charts package issues
|
|
13
|
+
- 🌍 Improve Bulgarian (bg-BG) locale on Data Grid
|
|
14
|
+
- 🐞 Bugfixes
|
|
15
|
+
- 📚 Documentation improvements
|
|
16
|
+
|
|
17
|
+
### Data Grid
|
|
18
|
+
|
|
19
|
+
#### `@mui/x-data-grid@6.18.3`
|
|
20
|
+
|
|
21
|
+
- [DataGrid] Fix cell editing adding a leading "v" on paste (#11166) @prasad5795
|
|
22
|
+
- [DataGrid] Fix handling of event target in portal (#11209) @cherniavskii
|
|
23
|
+
- [DataGrid] Fix `onFilterModelChange` being fired with stale field value (#11244) @gitstart
|
|
24
|
+
- [l10n] Improve Bulgarian (bg-BG) locale (#10856) (#11206) @Kristiqn95
|
|
25
|
+
|
|
26
|
+
#### `@mui/x-data-grid-pro@6.18.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
27
|
+
|
|
28
|
+
Same changes as in `@mui/x-data-grid@6.18.3`.
|
|
29
|
+
|
|
30
|
+
#### `@mui/x-data-grid-premium@6.18.3` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
31
|
+
|
|
32
|
+
Same changes as in `@mui/x-data-grid-pro@6.18.3`, plus:
|
|
33
|
+
|
|
34
|
+
- [DataGridPremium] Fix aggregated column ignoring column definition changes (#11176) @cherniavskii
|
|
35
|
+
- [DataGridPremium] Fix custom filter operators not working on aggregated column (#11201) @cherniavskii
|
|
36
|
+
|
|
37
|
+
### Date Pickers
|
|
38
|
+
|
|
39
|
+
#### `@mui/x-date-pickers@6.18.3`
|
|
40
|
+
|
|
41
|
+
- [pickers] Correctly format `MultiSectionDigitalClock` number sections (#11297) @LukasTy
|
|
42
|
+
- [pickers] Expand field placeholder methods flexibility by providing `format` parameter (#11254) @LukasTy
|
|
43
|
+
|
|
44
|
+
#### `@mui/x-date-pickers-pro@6.18.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
45
|
+
|
|
46
|
+
Same changes as in `@mui/x-date-pickers@6.18.3`.
|
|
47
|
+
|
|
48
|
+
### Charts / `@mui/x-charts@6.18.3`
|
|
49
|
+
|
|
50
|
+
- [charts] Adjusted `defaultizeValueFormatter` util to accept an optional `series.valueFormatter` value (#11213) @michelengelen
|
|
51
|
+
- [charts] Apply `labelStyle` and `tickLabelStyle` props on `<ChartsYAxis />` (#11180) @akamfoad
|
|
52
|
+
- [charts] Fix TS config (#11259) @alexfauquette
|
|
53
|
+
- [charts] Fix error with empty dataset (#11063) @alexfauquette
|
|
54
|
+
- [charts] Fix export strategy (#11235) @alexfauquette
|
|
55
|
+
|
|
56
|
+
### Docs
|
|
57
|
+
|
|
58
|
+
- [docs] Add LTS section to support page (#11300) @joserodolfofreitas
|
|
59
|
+
- [docs] Add end v6 blogpost to whats new page (#11299) @joserodolfofreitas
|
|
60
|
+
- [docs] Document charts composition (#10710) @alexfauquette
|
|
61
|
+
- [docs] Fix version links (#11167) @LukasTy
|
|
62
|
+
- [docs] Improve Data Grid togglable columns example (#11241) @MBilalShafi
|
|
63
|
+
- [docs] Split charts overview and getting started in distinct pages (#10910) @alexfauquette
|
|
64
|
+
|
|
65
|
+
## 6.18.2
|
|
66
|
+
|
|
67
|
+
_Nov 23, 2023_
|
|
68
|
+
|
|
69
|
+
We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
|
|
70
|
+
|
|
71
|
+
- 🌍 Improve Arabic (ar-SD), Czech (cs-CZ), and Hebrew (he-IL) locales on Data Grid
|
|
72
|
+
- 🌍 Add Basque (eu) and Macedonian (mk) locales on Pickers
|
|
73
|
+
- 🌍 Improve German (de-DE) and Spanish (es-ES) locales on Pickers
|
|
74
|
+
- 🐞 Bugfixes
|
|
75
|
+
- 📚 Documentation improvements
|
|
76
|
+
|
|
77
|
+
### Data Grid
|
|
78
|
+
|
|
79
|
+
#### `@mui/x-data-grid@6.18.2`
|
|
80
|
+
|
|
81
|
+
- [l10n] Improve Arabic (ar-SD) locale (#11096) @OmarWebDev
|
|
82
|
+
- [l10n] Improve Czech (cs-CZ) locale (#10968) @luborepka
|
|
83
|
+
- [l10n] Improve Hebrew (he-IL) locale (#11056) @LironKiloma
|
|
84
|
+
|
|
85
|
+
#### `@mui/x-data-grid-pro@6.18.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
86
|
+
|
|
87
|
+
Same changes as in `@mui/x-data-grid@6.18.2`.
|
|
88
|
+
|
|
89
|
+
#### `@mui/x-data-grid-premium@6.18.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
90
|
+
|
|
91
|
+
Same changes as in `@mui/x-data-grid-pro@6.18.2`.
|
|
92
|
+
|
|
93
|
+
### Date Pickers
|
|
94
|
+
|
|
95
|
+
#### `@mui/x-date-pickers@6.18.2`
|
|
96
|
+
|
|
97
|
+
- [l10n] Add Basque (eu) locale and improve Spanish (es-ES) locale (#10985) @lajtomekadimon
|
|
98
|
+
- [l10n] Add Macedonian (mk) locale (#11155) @brsnik
|
|
99
|
+
- [l10n] Improve German (de-DE) locale (#11104) @jho-vema
|
|
100
|
+
- [pickers] Deprecate `defaultCalendarMonth` prop (#11138) @flaviendelangle
|
|
101
|
+
- [pickers] Fix `DateCalendar` crashing when given an invalid value (#11101) @flaviendelangle
|
|
102
|
+
|
|
103
|
+
#### `@mui/x-date-pickers-pro@6.18.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
104
|
+
|
|
105
|
+
Same changes as in `@mui/x-date-pickers@6.18.2`.
|
|
106
|
+
|
|
107
|
+
### Charts / `@mui/x-charts@6.18.2`
|
|
108
|
+
|
|
109
|
+
- [charts] Fix `ChartsTooltip` component setup (#11157) @LukasTy
|
|
110
|
+
- [charts] Remove outdated prop-types (#10998) @alexfauquette
|
|
111
|
+
|
|
112
|
+
### Docs
|
|
113
|
+
|
|
114
|
+
- [docs] Fix incoherent naming of a component in `Custom slots and subcomponents` page (#11003) @lhilgert9
|
|
115
|
+
- [test] Skip flaky e2e test in webkit (#11115) @cherniavskii
|
|
116
|
+
- [test] Wait for images to load (#11109) @cherniavskii
|
|
117
|
+
|
|
6
118
|
## 6.18.1
|
|
7
119
|
|
|
8
120
|
_Nov 9, 2023_
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { unstable_composeClasses as composeClasses } from '@mui/utils';
|
|
4
4
|
import { gridRowMaximumTreeDepthSelector, gridSortModelSelector, useGridApiContext, useGridSelector, getDataGridUtilityClass } from '@mui/x-data-grid';
|
|
5
|
-
import { gridEditRowsStateSelector } from '@mui/x-data-grid/internals';
|
|
5
|
+
import { gridEditRowsStateSelector, isEventTargetInPortal } from '@mui/x-data-grid/internals';
|
|
6
6
|
import { useGridRootProps } from '../hooks/utils/useGridRootProps';
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
8
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -35,9 +35,7 @@ function GridRowReorderCell(params) {
|
|
|
35
35
|
const classes = useUtilityClasses(ownerState);
|
|
36
36
|
const publish = React.useCallback((eventName, propHandler) => event => {
|
|
37
37
|
// Ignore portal
|
|
38
|
-
|
|
39
|
-
// See https://github.com/mui/material-ui/issues/10534
|
|
40
|
-
if (event.target.nodeType === 1 && !event.currentTarget.contains(event.target)) {
|
|
38
|
+
if (isEventTargetInPortal(event)) {
|
|
41
39
|
return;
|
|
42
40
|
}
|
|
43
41
|
|
package/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { unstable_composeClasses as composeClasses } from '@mui/utils';
|
|
4
4
|
import { gridRowMaximumTreeDepthSelector, gridSortModelSelector, useGridApiContext, useGridSelector, getDataGridUtilityClass } from '@mui/x-data-grid';
|
|
5
|
-
import { gridEditRowsStateSelector } from '@mui/x-data-grid/internals';
|
|
5
|
+
import { gridEditRowsStateSelector, isEventTargetInPortal } from '@mui/x-data-grid/internals';
|
|
6
6
|
import { useGridRootProps } from '../hooks/utils/useGridRootProps';
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
8
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -36,9 +36,7 @@ function GridRowReorderCell(params) {
|
|
|
36
36
|
var publish = React.useCallback(function (eventName, propHandler) {
|
|
37
37
|
return function (event) {
|
|
38
38
|
// Ignore portal
|
|
39
|
-
|
|
40
|
-
// See https://github.com/mui/material-ui/issues/10534
|
|
41
|
-
if (event.target.nodeType === 1 && !event.currentTarget.contains(event.target)) {
|
|
39
|
+
if (isEventTargetInPortal(event)) {
|
|
42
40
|
return;
|
|
43
41
|
}
|
|
44
42
|
|
package/legacy/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export var getReleaseInfo = function getReleaseInfo() {
|
|
3
|
-
var releaseInfo = "
|
|
3
|
+
var releaseInfo = "MTcwMTY0MDgwMDAwMA==";
|
|
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
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { unstable_composeClasses as composeClasses } from '@mui/utils';
|
|
4
4
|
import { gridRowMaximumTreeDepthSelector, gridSortModelSelector, useGridApiContext, useGridSelector, getDataGridUtilityClass } from '@mui/x-data-grid';
|
|
5
|
-
import { gridEditRowsStateSelector } from '@mui/x-data-grid/internals';
|
|
5
|
+
import { gridEditRowsStateSelector, isEventTargetInPortal } from '@mui/x-data-grid/internals';
|
|
6
6
|
import { useGridRootProps } from '../hooks/utils/useGridRootProps';
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
8
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -35,9 +35,7 @@ function GridRowReorderCell(params) {
|
|
|
35
35
|
const classes = useUtilityClasses(ownerState);
|
|
36
36
|
const publish = React.useCallback((eventName, propHandler) => event => {
|
|
37
37
|
// Ignore portal
|
|
38
|
-
|
|
39
|
-
// See https://github.com/mui/material-ui/issues/10534
|
|
40
|
-
if (event.target.nodeType === 1 && !event.currentTarget.contains(event.target)) {
|
|
38
|
+
if (isEventTargetInPortal(event)) {
|
|
41
39
|
return;
|
|
42
40
|
}
|
|
43
41
|
|
package/modern/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTcwMTY0MDgwMDAwMA==";
|
|
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
|
|
@@ -44,9 +44,7 @@ function GridRowReorderCell(params) {
|
|
|
44
44
|
const classes = useUtilityClasses(ownerState);
|
|
45
45
|
const publish = React.useCallback((eventName, propHandler) => event => {
|
|
46
46
|
// Ignore portal
|
|
47
|
-
|
|
48
|
-
// See https://github.com/mui/material-ui/issues/10534
|
|
49
|
-
if (event.target.nodeType === 1 && !event.currentTarget.contains(event.target)) {
|
|
47
|
+
if ((0, _internals.isEventTargetInPortal)(event)) {
|
|
50
48
|
return;
|
|
51
49
|
}
|
|
52
50
|
|
package/node/index.js
CHANGED
|
@@ -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 = "
|
|
9
|
+
const releaseInfo = "MTcwMTY0MDgwMDAwMA==";
|
|
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-pro",
|
|
3
|
-
"version": "6.18.
|
|
3
|
+
"version": "6.18.3",
|
|
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.23.2",
|
|
35
35
|
"@mui/utils": "^5.14.16",
|
|
36
|
-
"@mui/x-data-grid": "6.18.
|
|
36
|
+
"@mui/x-data-grid": "6.18.3",
|
|
37
37
|
"@mui/x-license-pro": "6.10.2",
|
|
38
38
|
"@types/format-util": "^1.0.3",
|
|
39
39
|
"clsx": "^2.0.0",
|
package/utils/releaseInfo.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTcwMTY0MDgwMDAwMA==";
|
|
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
|