@mui/x-data-grid-pro 6.18.2 → 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 CHANGED
@@ -3,6 +3,65 @@
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` [![pro](https://mui.com/r/x-pro-svg)](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` [![premium](https://mui.com/r/x-premium-svg)](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` [![pro](https://mui.com/r/x-pro-svg)](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
+
6
65
  ## 6.18.2
7
66
 
8
67
  _Nov 23, 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
- // The target is not an element when triggered by a Select inside the cell
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
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v6.18.2
2
+ * @mui/x-data-grid-pro v6.18.3
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -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
- // The target is not an element when triggered by a Select inside the cell
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,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v6.18.2
2
+ * @mui/x-data-grid-pro v6.18.3
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 = "MTcwMDY5MDQwMDAwMA==";
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
- // The target is not an element when triggered by a Select inside the cell
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,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v6.18.2
2
+ * @mui/x-data-grid-pro v6.18.3
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 = "MTcwMDY5MDQwMDAwMA==";
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
- // The target is not an element when triggered by a Select inside the cell
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
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v6.18.2
2
+ * @mui/x-data-grid-pro v6.18.3
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 = "MTcwMDY5MDQwMDAwMA==";
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.2",
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.2",
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",
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTcwMDY5MDQwMDAwMA==";
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