@mui/x-data-grid-pro 6.0.0-beta.5 → 6.0.1
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 +175 -36
- package/DataGridPro/DataGridPro.js +12 -10
- package/components/DataGridProVirtualScroller.js +2 -2
- package/components/GridColumnHeaders.d.ts +9 -0
- package/components/{DataGridProColumnHeaders.js → GridColumnHeaders.js} +93 -10
- package/components/index.d.ts +1 -1
- package/components/index.js +1 -1
- package/constants/dataGridProDefaultSlotsComponents.d.ts +1 -2
- package/constants/dataGridProDefaultSlotsComponents.js +5 -7
- package/hooks/features/detailPanel/useGridDetailPanelPreProcessors.js +1 -1
- package/hooks/features/rowPinning/useGridRowPinning.d.ts +1 -1
- package/hooks/features/rowPinning/useGridRowPinning.js +2 -10
- package/index.d.ts +1 -0
- package/index.js +3 -2
- package/internals/index.d.ts +1 -1
- package/internals/index.js +1 -1
- package/legacy/DataGridPro/DataGridPro.js +12 -10
- package/legacy/components/DataGridProVirtualScroller.js +2 -2
- package/legacy/components/{DataGridProColumnHeaders.js → GridColumnHeaders.js} +95 -9
- package/legacy/components/index.js +1 -1
- package/legacy/constants/dataGridProDefaultSlotsComponents.js +5 -7
- package/legacy/hooks/features/detailPanel/useGridDetailPanelPreProcessors.js +1 -1
- package/legacy/hooks/features/rowPinning/useGridRowPinning.js +2 -10
- package/legacy/index.js +3 -2
- package/legacy/internals/index.js +1 -1
- package/legacy/material/index.js +8 -0
- package/legacy/utils/releaseInfo.js +1 -1
- package/material/index.d.ts +6 -0
- package/material/index.js +8 -0
- package/material/package.json +6 -0
- package/models/dataGridProProps.d.ts +2 -6
- package/modern/DataGridPro/DataGridPro.js +12 -10
- package/modern/components/DataGridProVirtualScroller.js +2 -2
- package/modern/components/{DataGridProColumnHeaders.js → GridColumnHeaders.js} +93 -10
- package/modern/components/index.js +1 -1
- package/modern/constants/dataGridProDefaultSlotsComponents.js +5 -7
- package/modern/hooks/features/detailPanel/useGridDetailPanelPreProcessors.js +1 -1
- package/modern/hooks/features/rowPinning/useGridRowPinning.js +1 -7
- package/modern/index.js +3 -2
- package/modern/internals/index.js +1 -1
- package/modern/material/index.js +8 -0
- package/modern/utils/releaseInfo.js +1 -1
- package/node/DataGridPro/DataGridPro.js +11 -9
- package/node/components/DataGridProVirtualScroller.js +2 -2
- package/node/components/{DataGridProColumnHeaders.js → GridColumnHeaders.js} +90 -8
- package/node/components/index.js +1 -1
- package/node/constants/dataGridProDefaultSlotsComponents.js +6 -9
- package/node/hooks/features/detailPanel/useGridDetailPanelPreProcessors.js +1 -1
- package/node/hooks/features/rowPinning/useGridRowPinning.js +1 -7
- package/node/index.js +11 -3
- package/node/internals/index.js +6 -6
- package/node/material/index.js +16 -0
- package/node/utils/releaseInfo.js +1 -1
- package/package.json +3 -3
- package/utils/releaseInfo.js +1 -1
- package/components/DataGridProColumnHeaders.d.ts +0 -6
- /package/legacy/{components → material}/icons.js +0 -0
- /package/{components → material}/icons.d.ts +0 -0
- /package/{components → material}/icons.js +0 -0
- /package/modern/{components → material}/icons.js +0 -0
- /package/node/{components → material}/icons.js +0 -0
package/node/internals/index.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
var _exportNames = {
|
|
7
7
|
DataGridProVirtualScroller: true,
|
|
8
|
-
|
|
8
|
+
GridColumnHeaders: true,
|
|
9
9
|
DATA_GRID_PRO_DEFAULT_SLOTS_COMPONENTS: true,
|
|
10
10
|
useGridColumnResize: true,
|
|
11
11
|
columnResizeStateInitializer: true,
|
|
@@ -41,16 +41,16 @@ Object.defineProperty(exports, "DATA_GRID_PRO_DEFAULT_SLOTS_COMPONENTS", {
|
|
|
41
41
|
return _dataGridProDefaultSlotsComponents.DATA_GRID_PRO_DEFAULT_SLOTS_COMPONENTS;
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
|
-
Object.defineProperty(exports, "
|
|
44
|
+
Object.defineProperty(exports, "DataGridProVirtualScroller", {
|
|
45
45
|
enumerable: true,
|
|
46
46
|
get: function () {
|
|
47
|
-
return
|
|
47
|
+
return _DataGridProVirtualScroller.DataGridProVirtualScroller;
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
|
-
Object.defineProperty(exports, "
|
|
50
|
+
Object.defineProperty(exports, "GridColumnHeaders", {
|
|
51
51
|
enumerable: true,
|
|
52
52
|
get: function () {
|
|
53
|
-
return
|
|
53
|
+
return _GridColumnHeaders.GridColumnHeaders;
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "TREE_DATA_STRATEGY", {
|
|
@@ -228,7 +228,7 @@ Object.keys(_internals).forEach(function (key) {
|
|
|
228
228
|
});
|
|
229
229
|
});
|
|
230
230
|
var _DataGridProVirtualScroller = require("../components/DataGridProVirtualScroller");
|
|
231
|
-
var
|
|
231
|
+
var _GridColumnHeaders = require("../components/GridColumnHeaders");
|
|
232
232
|
var _dataGridProDefaultSlotsComponents = require("../constants/dataGridProDefaultSlotsComponents");
|
|
233
233
|
var _useGridColumnResize = require("../hooks/features/columnResize/useGridColumnResize");
|
|
234
234
|
var _useGridColumnPinning = require("../hooks/features/columnPinning/useGridColumnPinning");
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
+
var _icons = require("./icons");
|
|
10
|
+
const iconSlots = {
|
|
11
|
+
ColumnMenuPinRightIcon: _icons.GridPushPinRightIcon,
|
|
12
|
+
ColumnMenuPinLeftIcon: _icons.GridPushPinLeftIcon
|
|
13
|
+
};
|
|
14
|
+
const materialSlots = (0, _extends2.default)({}, iconSlots);
|
|
15
|
+
var _default = materialSlots;
|
|
16
|
+
exports.default = _default;
|
|
@@ -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 = "MTY3ODMwMjAwMDAwMA==";
|
|
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.0.
|
|
3
|
+
"version": "6.0.1",
|
|
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,8 +33,8 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "^7.20.13",
|
|
35
35
|
"@mui/utils": "^5.11.7",
|
|
36
|
-
"@mui/x-data-grid": "6.0.
|
|
37
|
-
"@mui/x-license-pro": "6.0.
|
|
36
|
+
"@mui/x-data-grid": "6.0.1",
|
|
37
|
+
"@mui/x-license-pro": "6.0.1",
|
|
38
38
|
"@types/format-util": "^1.0.2",
|
|
39
39
|
"clsx": "^1.2.1",
|
|
40
40
|
"prop-types": "^15.8.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 = "MTY3ODMwMjAwMDAwMA==";
|
|
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
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface DataGridProColumnHeadersProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
innerRef?: React.Ref<HTMLDivElement>;
|
|
4
|
-
}
|
|
5
|
-
export declare const DataGridProColumnHeaders: React.ForwardRefExoticComponent<DataGridProColumnHeadersProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
-
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|