@mui/x-data-grid-premium 5.17.24 → 5.17.25
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 +20 -0
- package/components/GridAggregationHeader.js +5 -3
- package/components/GridFooterCell.js +1 -3
- package/index.js +1 -1
- package/legacy/components/GridAggregationHeader.js +5 -3
- package/legacy/components/GridFooterCell.js +1 -3
- package/legacy/index.js +1 -1
- package/legacy/utils/releaseInfo.js +1 -1
- package/modern/components/GridAggregationHeader.js +5 -3
- package/modern/components/GridFooterCell.js +1 -3
- package/modern/index.js +1 -1
- package/modern/utils/releaseInfo.js +1 -1
- package/node/components/GridAggregationHeader.js +4 -3
- package/node/components/GridFooterCell.js +1 -3
- package/node/index.js +1 -1
- package/node/utils/releaseInfo.js +1 -1
- package/package.json +3 -3
- package/utils/releaseInfo.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
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.25
|
|
7
|
+
|
|
8
|
+
_Feb 23, 2023_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 2 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🐞 Bugfixes
|
|
13
|
+
|
|
14
|
+
### `@mui/x-data-grid@v5.17.25` / `@mui/x-data-grid-pro@v5.17.25` / `@mui/x-data-grid-premium@v5.17.25`
|
|
15
|
+
|
|
16
|
+
#### Changes
|
|
17
|
+
|
|
18
|
+
- [DataGrid] Fix `ownerState` being `undefined` in theme style overrides (#7757) @lolaignatova
|
|
19
|
+
|
|
20
|
+
### `@mui/x-date-pickers@v5.0.20` / `@mui/x-date-pickers-pro@v5.0.20`
|
|
21
|
+
|
|
22
|
+
#### Changes
|
|
23
|
+
|
|
24
|
+
- [DateTimePicker] Ensure toolbar `viewType` is correctly updated (#7942) @LukasTy
|
|
25
|
+
|
|
6
26
|
## 5.17.24
|
|
7
27
|
|
|
8
28
|
_Feb 16, 2023_
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
1
2
|
import * as React from 'react';
|
|
2
3
|
import { unstable_composeClasses as composeClasses } from '@mui/material';
|
|
3
4
|
import Box from '@mui/material/Box';
|
|
@@ -61,11 +62,12 @@ const GridAggregationHeader = props => {
|
|
|
61
62
|
const apiRef = useGridApiContext();
|
|
62
63
|
const rootProps = useGridRootProps();
|
|
63
64
|
const headerHeight = useGridSelector(apiRef, gridDensityHeaderHeightSelector);
|
|
64
|
-
|
|
65
|
-
|
|
65
|
+
|
|
66
|
+
const ownerState = _extends({}, rootProps, {
|
|
66
67
|
headerHeight,
|
|
67
68
|
colDef
|
|
68
|
-
};
|
|
69
|
+
});
|
|
70
|
+
|
|
69
71
|
const classes = useUtilityClasses(ownerState);
|
|
70
72
|
|
|
71
73
|
if (!aggregation) {
|
|
@@ -36,9 +36,7 @@ const GridFooterCell = props => {
|
|
|
36
36
|
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
37
37
|
|
|
38
38
|
const rootProps = useGridRootProps();
|
|
39
|
-
const ownerState =
|
|
40
|
-
classes: rootProps.classes
|
|
41
|
-
};
|
|
39
|
+
const ownerState = rootProps;
|
|
42
40
|
const classes = useUtilityClasses(ownerState);
|
|
43
41
|
return /*#__PURE__*/_jsx(GridFooterCellRoot, _extends({
|
|
44
42
|
ownerState: ownerState,
|
package/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
1
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
3
|
|
|
3
4
|
var _styled;
|
|
@@ -62,11 +63,12 @@ var GridAggregationHeader = function GridAggregationHeader(props) {
|
|
|
62
63
|
var apiRef = useGridApiContext();
|
|
63
64
|
var rootProps = useGridRootProps();
|
|
64
65
|
var headerHeight = useGridSelector(apiRef, gridDensityHeaderHeightSelector);
|
|
65
|
-
|
|
66
|
-
|
|
66
|
+
|
|
67
|
+
var ownerState = _extends({}, rootProps, {
|
|
67
68
|
headerHeight: headerHeight,
|
|
68
69
|
colDef: colDef
|
|
69
|
-
};
|
|
70
|
+
});
|
|
71
|
+
|
|
70
72
|
var classes = useUtilityClasses(ownerState);
|
|
71
73
|
|
|
72
74
|
if (!aggregation) {
|
|
@@ -48,9 +48,7 @@ var GridFooterCell = function GridFooterCell(props) {
|
|
|
48
48
|
other = _objectWithoutProperties(props, _excluded);
|
|
49
49
|
|
|
50
50
|
var rootProps = useGridRootProps();
|
|
51
|
-
var ownerState =
|
|
52
|
-
classes: rootProps.classes
|
|
53
|
-
};
|
|
51
|
+
var ownerState = rootProps;
|
|
54
52
|
var classes = useUtilityClasses(ownerState);
|
|
55
53
|
return /*#__PURE__*/_jsx(GridFooterCellRoot, _extends({
|
|
56
54
|
ownerState: ownerState,
|
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 = "MTY3NzEwNjgwMDAwMA==";
|
|
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).
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
1
2
|
import * as React from 'react';
|
|
2
3
|
import { unstable_composeClasses as composeClasses } from '@mui/material';
|
|
3
4
|
import Box from '@mui/material/Box';
|
|
@@ -59,11 +60,12 @@ const GridAggregationHeader = props => {
|
|
|
59
60
|
const apiRef = useGridApiContext();
|
|
60
61
|
const rootProps = useGridRootProps();
|
|
61
62
|
const headerHeight = useGridSelector(apiRef, gridDensityHeaderHeightSelector);
|
|
62
|
-
|
|
63
|
-
|
|
63
|
+
|
|
64
|
+
const ownerState = _extends({}, rootProps, {
|
|
64
65
|
headerHeight,
|
|
65
66
|
colDef
|
|
66
|
-
};
|
|
67
|
+
});
|
|
68
|
+
|
|
67
69
|
const classes = useUtilityClasses(ownerState);
|
|
68
70
|
|
|
69
71
|
if (!aggregation) {
|
|
@@ -36,9 +36,7 @@ const GridFooterCell = props => {
|
|
|
36
36
|
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
37
37
|
|
|
38
38
|
const rootProps = useGridRootProps();
|
|
39
|
-
const ownerState =
|
|
40
|
-
classes: rootProps.classes
|
|
41
|
-
};
|
|
39
|
+
const ownerState = rootProps;
|
|
42
40
|
const classes = useUtilityClasses(ownerState);
|
|
43
41
|
return /*#__PURE__*/_jsx(GridFooterCellRoot, _extends({
|
|
44
42
|
ownerState: ownerState,
|
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 = "MTY3NzEwNjgwMDAwMA==";
|
|
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).
|
|
@@ -7,6 +7,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.GridAggregationHeader = void 0;
|
|
9
9
|
|
|
10
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
+
|
|
10
12
|
var React = _interopRequireWildcard(require("react"));
|
|
11
13
|
|
|
12
14
|
var _material = require("@mui/material");
|
|
@@ -82,11 +84,10 @@ const GridAggregationHeader = props => {
|
|
|
82
84
|
const apiRef = (0, _useGridApiContext.useGridApiContext)();
|
|
83
85
|
const rootProps = (0, _useGridRootProps.useGridRootProps)();
|
|
84
86
|
const headerHeight = (0, _xDataGrid.useGridSelector)(apiRef, _xDataGrid.gridDensityHeaderHeightSelector);
|
|
85
|
-
const ownerState = {
|
|
86
|
-
classes: rootProps.classes,
|
|
87
|
+
const ownerState = (0, _extends2.default)({}, rootProps, {
|
|
87
88
|
headerHeight,
|
|
88
89
|
colDef
|
|
89
|
-
};
|
|
90
|
+
});
|
|
90
91
|
const classes = useUtilityClasses(ownerState);
|
|
91
92
|
|
|
92
93
|
if (!aggregation) {
|
|
@@ -58,9 +58,7 @@ const GridFooterCell = props => {
|
|
|
58
58
|
} = props,
|
|
59
59
|
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
60
60
|
const rootProps = (0, _useGridRootProps.useGridRootProps)();
|
|
61
|
-
const ownerState =
|
|
62
|
-
classes: rootProps.classes
|
|
63
|
-
};
|
|
61
|
+
const ownerState = rootProps;
|
|
64
62
|
const classes = useUtilityClasses(ownerState);
|
|
65
63
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(GridFooterCellRoot, (0, _extends2.default)({
|
|
66
64
|
ownerState: ownerState,
|
package/node/index.js
CHANGED
|
@@ -8,7 +8,7 @@ exports.getReleaseInfo = void 0;
|
|
|
8
8
|
var _utils = require("@mui/utils");
|
|
9
9
|
|
|
10
10
|
const getReleaseInfo = () => {
|
|
11
|
-
const releaseInfo = "
|
|
11
|
+
const releaseInfo = "MTY3NzEwNjgwMDAwMA==";
|
|
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-premium",
|
|
3
|
-
"version": "5.17.
|
|
3
|
+
"version": "5.17.25",
|
|
4
4
|
"description": "The Premium plan edition of the data grid component (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "^7.18.9",
|
|
35
35
|
"@mui/utils": "^5.10.3",
|
|
36
|
-
"@mui/x-data-grid": "5.17.
|
|
37
|
-
"@mui/x-data-grid-pro": "5.17.
|
|
36
|
+
"@mui/x-data-grid": "5.17.25",
|
|
37
|
+
"@mui/x-data-grid-pro": "5.17.25",
|
|
38
38
|
"@mui/x-license-pro": "5.17.12",
|
|
39
39
|
"@types/format-util": "^1.0.2",
|
|
40
40
|
"clsx": "^1.2.1",
|
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 = "MTY3NzEwNjgwMDAwMA==";
|
|
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).
|