@mui/x-data-grid-premium 7.29.1 → 7.29.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,98 @@
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
+ ## 7.29.3
7
+
8
+ _May 8, 2025_
9
+
10
+ We'd like to offer a big thanks to the 3 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🐞 Bugfixes
13
+
14
+ Team members who have contributed to this release:
15
+ @arminmeh, @LukasTy, and @MBilalShafi.
16
+
17
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
18
+
19
+ ### Data Grid
20
+
21
+ #### `@mui/x-data-grid@7.29.3`
22
+
23
+ - [DataGrid] Ignore `preProcessEditCellProps` for non-editable columns when starting a row update (#17734) @arminmeh
24
+ - [DataGrid] Avoid applying row selection propagation on filtered rows (#17742) @MBilalShafi
25
+
26
+ #### `@mui/x-data-grid-pro@7.29.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@7.29.3`.
29
+
30
+ #### `@mui/x-data-grid-premium@7.29.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@7.29.3`.
33
+
34
+ ### Date and Time Pickers
35
+
36
+ #### `@mui/x-date-pickers@7.29.3`
37
+
38
+ - [DateTimePicker] Fix focus behavior on desktop variant (#17730) @LukasTy
39
+
40
+ #### `@mui/x-date-pickers-pro@7.29.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
41
+
42
+ Same changes as in `@mui/x-date-pickers@7.29.3`.
43
+
44
+ ## 7.29.2
45
+
46
+ _May 1, 2025_
47
+
48
+ We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
49
+
50
+ - 🌍 Add Armenian (hy-AM) locale on the Data Grid
51
+ - 🌍 Improve Italian (it-IT) locale on the Date and Time Pickers
52
+ - 🐞 Bugfixes
53
+
54
+ Special thanks go out to the community contributors who have helped make this release possible:
55
+ @ArturAghakaryan, @federico-ntr.
56
+
57
+ Following are all team members who have contributed to this release:
58
+ @arminmeh, @JCQuintas, @KenanYusuf, @MBilalShafi, @oliviertassinari.
59
+
60
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
61
+
62
+ ### Data Grid
63
+
64
+ #### `@mui/x-data-grid@7.29.2`
65
+
66
+ - [DataGrid] Fix column title truncation on touch devices (#17497) @KenanYusuf
67
+ - [DataGrid] Fix theme `defaultProps` causing unwanted re-renders (#17530) @KenanYusuf
68
+ - [l10n] Add Armenian (hy-AM) locale (#17422) @ArturAghakaryan
69
+ - [l10n] Fix l10n export (#17526) @arminmeh
70
+
71
+ #### `@mui/x-data-grid-pro@7.29.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
72
+
73
+ Same changes as in `@mui/x-data-grid@7.29.2`.
74
+
75
+ #### `@mui/x-data-grid-premium@7.29.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
76
+
77
+ Same changes as in `@mui/x-data-grid-pro@7.29.2`.
78
+
79
+ ### Date and Time Pickers
80
+
81
+ #### `@mui/x-date-pickers@7.29.2`
82
+
83
+ - [l10n] Improve Italian (it-IT) locale (#17604) @federico-ntr
84
+
85
+ #### `@mui/x-date-pickers-pro@7.29.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
86
+
87
+ Same changes as in `@mui/x-date-pickers@7.29.2`.
88
+
89
+ ### Docs
90
+
91
+ - [docs] Fix MUI X v7 install instructions (#17537) @oliviertassinari
92
+ - [docs] Improve data grid export docs (#17553) @MBilalShafi
93
+
94
+ ### Core
95
+
96
+ - [core] Fix root package 7.29.1 (#17523) @JCQuintas
97
+
6
98
  ## 7.29.1
7
99
 
8
100
  _Apr 23, 2025_
@@ -9,6 +9,7 @@ exports.useDataGridPremiumProps = exports.DATA_GRID_PREMIUM_PROPS_DEFAULT_VALUES
9
9
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
10
  var React = _interopRequireWildcard(require("react"));
11
11
  var _styles = require("@mui/material/styles");
12
+ var _system = require("@mui/system");
12
13
  var _xDataGridPro = require("@mui/x-data-grid-pro");
13
14
  var _internals = require("@mui/x-data-grid-pro/internals");
14
15
  var _aggregation = require("../hooks/features/aggregation");
@@ -42,12 +43,12 @@ const DATA_GRID_PREMIUM_PROPS_DEFAULT_VALUES = exports.DATA_GRID_PREMIUM_PROPS_D
42
43
  });
43
44
  const defaultSlots = _dataGridPremiumDefaultSlotsComponents.DATA_GRID_PREMIUM_DEFAULT_SLOTS_COMPONENTS;
44
45
  const useDataGridPremiumProps = inProps => {
45
- const themedProps = (0, _internals.useProps)(
46
- // eslint-disable-next-line material-ui/mui-name-matches-component-name
47
- (0, _styles.useThemeProps)({
46
+ const theme = (0, _styles.useTheme)();
47
+ const themedProps = (0, _internals.useProps)(React.useMemo(() => (0, _system.getThemeProps)({
48
48
  props: inProps,
49
+ theme,
49
50
  name: 'MuiDataGrid'
50
- }));
51
+ }), [theme, inProps]));
51
52
  const localeText = React.useMemo(() => (0, _extends2.default)({}, _xDataGridPro.GRID_DEFAULT_LOCALE_TEXT, themedProps.localeText), [themedProps.localeText]);
52
53
  const slots = React.useMemo(() => (0, _internals.computeSlots)({
53
54
  defaultSlots,
@@ -1,6 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import * as React from 'react';
3
- import { useThemeProps } from '@mui/material/styles';
3
+ import { useTheme } from '@mui/material/styles';
4
+ import { getThemeProps } from '@mui/system';
4
5
  import { DATA_GRID_PRO_PROPS_DEFAULT_VALUES, GRID_DEFAULT_LOCALE_TEXT, GridSignature } from '@mui/x-data-grid-pro';
5
6
  import { computeSlots, useProps } from '@mui/x-data-grid-pro/internals';
6
7
  import { GRID_AGGREGATION_FUNCTIONS } from "../hooks/features/aggregation/index.js";
@@ -34,12 +35,12 @@ export const DATA_GRID_PREMIUM_PROPS_DEFAULT_VALUES = _extends({}, DATA_GRID_PRO
34
35
  });
35
36
  const defaultSlots = DATA_GRID_PREMIUM_DEFAULT_SLOTS_COMPONENTS;
36
37
  export const useDataGridPremiumProps = inProps => {
37
- const themedProps = useProps(
38
- // eslint-disable-next-line material-ui/mui-name-matches-component-name
39
- useThemeProps({
38
+ const theme = useTheme();
39
+ const themedProps = useProps(React.useMemo(() => getThemeProps({
40
40
  props: inProps,
41
+ theme,
41
42
  name: 'MuiDataGrid'
42
- }));
43
+ }), [theme, inProps]));
43
44
  const localeText = React.useMemo(() => _extends({}, GRID_DEFAULT_LOCALE_TEXT, themedProps.localeText), [themedProps.localeText]);
44
45
  const slots = React.useMemo(() => computeSlots({
45
46
  defaultSlots,
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTc0NTM1OTIwMDAwMA==";
3
+ const releaseInfo = "MTc0NjY1NTIwMDAwMA==";
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
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-premium v7.29.1
2
+ * @mui/x-data-grid-premium v7.29.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,7 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import * as React from 'react';
3
- import { useThemeProps } from '@mui/material/styles';
3
+ import { useTheme } from '@mui/material/styles';
4
+ import { getThemeProps } from '@mui/system';
4
5
  import { DATA_GRID_PRO_PROPS_DEFAULT_VALUES, GRID_DEFAULT_LOCALE_TEXT, GridSignature } from '@mui/x-data-grid-pro';
5
6
  import { computeSlots, useProps } from '@mui/x-data-grid-pro/internals';
6
7
  import { GRID_AGGREGATION_FUNCTIONS } from "../hooks/features/aggregation/index.js";
@@ -34,12 +35,12 @@ export const DATA_GRID_PREMIUM_PROPS_DEFAULT_VALUES = _extends({}, DATA_GRID_PRO
34
35
  });
35
36
  const defaultSlots = DATA_GRID_PREMIUM_DEFAULT_SLOTS_COMPONENTS;
36
37
  export const useDataGridPremiumProps = inProps => {
37
- const themedProps = useProps(
38
- // eslint-disable-next-line material-ui/mui-name-matches-component-name
39
- useThemeProps({
38
+ const theme = useTheme();
39
+ const themedProps = useProps(React.useMemo(() => getThemeProps({
40
40
  props: inProps,
41
+ theme,
41
42
  name: 'MuiDataGrid'
42
- }));
43
+ }), [theme, inProps]));
43
44
  const localeText = React.useMemo(() => _extends({}, GRID_DEFAULT_LOCALE_TEXT, themedProps.localeText), [themedProps.localeText]);
44
45
  const slots = React.useMemo(() => computeSlots({
45
46
  defaultSlots,
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-premium v7.29.1
2
+ * @mui/x-data-grid-premium v7.29.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 = "MTc0NTM1OTIwMDAwMA==";
3
+ const releaseInfo = "MTc0NjY1NTIwMDAwMA==";
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid-premium",
3
- "version": "7.29.1",
3
+ "version": "7.29.3",
4
4
  "description": "The Premium plan edition of the Data Grid Components (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./index.js",
@@ -40,10 +40,10 @@
40
40
  "exceljs": "^4.4.0",
41
41
  "prop-types": "^15.8.1",
42
42
  "reselect": "^5.1.1",
43
- "@mui/x-data-grid-pro": "7.29.1",
44
- "@mui/x-data-grid": "7.29.1",
45
- "@mui/x-license": "7.29.1",
46
- "@mui/x-internals": "7.29.0"
43
+ "@mui/x-data-grid": "7.29.3",
44
+ "@mui/x-data-grid-pro": "7.29.3",
45
+ "@mui/x-internals": "7.29.0",
46
+ "@mui/x-license": "7.29.1"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@emotion/react": "^11.9.0",
@@ -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 = "MTc0NTM1OTIwMDAwMA==";
9
+ const releaseInfo = "MTc0NjY1NTIwMDAwMA==";
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