@mui/x-data-grid-premium 7.15.0 → 7.16.0
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 +98 -1
- package/DataGridPremium/DataGridPremium.js +12 -5
- package/DataGridPremium/useDataGridPremiumProps.js +2 -3
- package/components/GridAggregationHeader.js +5 -9
- package/components/GridColumnMenuAggregationItem.js +2 -3
- package/components/GridColumnMenuRowGroupItem.js +2 -3
- package/components/GridColumnMenuRowUngroupItem.js +2 -3
- package/components/GridExcelExportMenuItem.js +2 -3
- package/components/GridFooterCell.js +2 -3
- package/components/GridGroupingColumnFooterCell.js +2 -3
- package/components/GridGroupingColumnLeafCell.js +2 -3
- package/components/GridGroupingCriteriaCell.js +2 -3
- package/components/GridPremiumColumnMenu.js +2 -3
- package/constants/dataGridPremiumDefaultSlotsComponents.js +1 -1
- package/esm/DataGridPremium/DataGridPremium.js +15 -7
- package/esm/DataGridPremium/index.js +3 -3
- package/esm/DataGridPremium/useDataGridPremiumComponent.js +7 -7
- package/esm/DataGridPremium/useDataGridPremiumProps.js +2 -2
- package/esm/components/GridAggregationHeader.js +6 -9
- package/esm/components/GridColumnMenuAggregationItem.js +4 -4
- package/esm/components/GridColumnMenuRowGroupItem.js +4 -4
- package/esm/components/GridColumnMenuRowUngroupItem.js +3 -3
- package/esm/components/GridExcelExportMenuItem.js +1 -1
- package/esm/components/GridFooterCell.js +1 -1
- package/esm/components/GridGroupingColumnFooterCell.js +2 -2
- package/esm/components/GridGroupingColumnLeafCell.js +1 -1
- package/esm/components/GridGroupingCriteriaCell.js +2 -2
- package/esm/components/GridPremiumColumnMenu.js +4 -4
- package/esm/components/index.js +4 -4
- package/esm/components/reexports.js +1 -1
- package/esm/constants/dataGridPremiumDefaultSlotsComponents.js +2 -2
- package/esm/hooks/features/aggregation/createAggregationLookup.js +2 -2
- package/esm/hooks/features/aggregation/index.js +4 -4
- package/esm/hooks/features/aggregation/useGridAggregation.js +3 -3
- package/esm/hooks/features/aggregation/useGridAggregationPreProcessors.js +3 -3
- package/esm/hooks/features/aggregation/wrapColumnWithAggregation.js +3 -3
- package/esm/hooks/features/cellSelection/index.js +1 -1
- package/esm/hooks/features/cellSelection/useGridCellSelection.js +1 -1
- package/esm/hooks/features/export/index.js +2 -2
- package/esm/hooks/features/export/useGridExcelExport.js +2 -2
- package/esm/hooks/features/index.js +4 -4
- package/esm/hooks/features/rowGrouping/createGroupingColDef.js +5 -5
- package/esm/hooks/features/rowGrouping/gridRowGroupingUtils.js +1 -1
- package/esm/hooks/features/rowGrouping/index.js +3 -3
- package/esm/hooks/features/rowGrouping/useGridRowGrouping.js +2 -2
- package/esm/hooks/features/rowGrouping/useGridRowGroupingPreProcessors.js +3 -3
- package/esm/hooks/features/rows/index.js +1 -1
- package/esm/hooks/features/rows/useGridRowAriaAttributes.js +2 -2
- package/esm/hooks/index.js +2 -2
- package/esm/hooks/utils/index.js +1 -1
- package/esm/hooks/utils/useGridAriaAttributes.js +3 -3
- package/esm/index.js +7 -7
- package/esm/material/icons.js +3 -3
- package/esm/material/index.js +1 -1
- package/esm/models/index.js +4 -4
- package/esm/themeAugmentation/index.js +2 -2
- package/esm/typeOverloads/index.js +1 -1
- package/esm/typeOverloads/reexports.js +3 -3
- package/esm/utils/releaseInfo.js +1 -1
- package/hooks/features/aggregation/gridAggregationUtils.js +1 -1
- package/hooks/features/aggregation/useGridAggregation.js +2 -3
- package/hooks/features/aggregation/useGridAggregationPreProcessors.js +2 -3
- package/hooks/features/aggregation/wrapColumnWithAggregation.js +2 -3
- package/hooks/features/cellSelection/useGridCellSelection.js +2 -3
- package/hooks/features/clipboard/useGridClipboardImport.js +2 -3
- package/hooks/features/export/serializer/excelSerializer.js +3 -4
- package/hooks/features/export/useGridExcelExport.js +2 -3
- package/hooks/features/rowGrouping/createGroupingColDef.js +2 -3
- package/hooks/features/rowGrouping/gridRowGroupingUtils.js +1 -1
- package/hooks/features/rowGrouping/useGridRowGrouping.js +2 -3
- package/hooks/features/rowGrouping/useGridRowGroupingPreProcessors.js +1 -2
- package/hooks/utils/useGridAriaAttributes.js +1 -1
- package/hooks/utils/useKeepGroupedColumnsHidden.js +2 -3
- package/index.js +1 -1
- package/material/icons.js +4 -5
- package/material/index.js +1 -1
- package/modern/DataGridPremium/DataGridPremium.js +15 -7
- package/modern/DataGridPremium/index.js +3 -3
- package/modern/DataGridPremium/useDataGridPremiumComponent.js +7 -7
- package/modern/DataGridPremium/useDataGridPremiumProps.js +2 -2
- package/modern/components/GridAggregationHeader.js +6 -9
- package/modern/components/GridColumnMenuAggregationItem.js +4 -4
- package/modern/components/GridColumnMenuRowGroupItem.js +4 -4
- package/modern/components/GridColumnMenuRowUngroupItem.js +3 -3
- package/modern/components/GridExcelExportMenuItem.js +1 -1
- package/modern/components/GridFooterCell.js +1 -1
- package/modern/components/GridGroupingColumnFooterCell.js +2 -2
- package/modern/components/GridGroupingColumnLeafCell.js +1 -1
- package/modern/components/GridGroupingCriteriaCell.js +2 -2
- package/modern/components/GridPremiumColumnMenu.js +4 -4
- package/modern/components/index.js +4 -4
- package/modern/components/reexports.js +1 -1
- package/modern/constants/dataGridPremiumDefaultSlotsComponents.js +2 -2
- package/modern/hooks/features/aggregation/createAggregationLookup.js +2 -2
- package/modern/hooks/features/aggregation/index.js +4 -4
- package/modern/hooks/features/aggregation/useGridAggregation.js +3 -3
- package/modern/hooks/features/aggregation/useGridAggregationPreProcessors.js +3 -3
- package/modern/hooks/features/aggregation/wrapColumnWithAggregation.js +3 -3
- package/modern/hooks/features/cellSelection/index.js +1 -1
- package/modern/hooks/features/cellSelection/useGridCellSelection.js +1 -1
- package/modern/hooks/features/export/index.js +2 -2
- package/modern/hooks/features/export/useGridExcelExport.js +2 -2
- package/modern/hooks/features/index.js +4 -4
- package/modern/hooks/features/rowGrouping/createGroupingColDef.js +5 -5
- package/modern/hooks/features/rowGrouping/gridRowGroupingUtils.js +1 -1
- package/modern/hooks/features/rowGrouping/index.js +3 -3
- package/modern/hooks/features/rowGrouping/useGridRowGrouping.js +2 -2
- package/modern/hooks/features/rowGrouping/useGridRowGroupingPreProcessors.js +3 -3
- package/modern/hooks/features/rows/index.js +1 -1
- package/modern/hooks/features/rows/useGridRowAriaAttributes.js +2 -2
- package/modern/hooks/index.js +2 -2
- package/modern/hooks/utils/index.js +1 -1
- package/modern/hooks/utils/useGridAriaAttributes.js +3 -3
- package/modern/index.js +8 -8
- package/modern/material/icons.js +3 -3
- package/modern/material/index.js +1 -1
- package/modern/models/index.js +4 -4
- package/modern/themeAugmentation/index.js +2 -2
- package/modern/typeOverloads/index.js +1 -1
- package/modern/typeOverloads/reexports.js +3 -3
- package/modern/utils/releaseInfo.js +1 -1
- package/package.json +7 -7
- package/utils/releaseInfo.js +1 -1
package/modern/material/icons.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { createSvgIcon } from '@mui/material/utils';
|
|
3
3
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
|
-
export const GridWorkspacesIcon = createSvgIcon(
|
|
4
|
+
export const GridWorkspacesIcon = createSvgIcon(/*#__PURE__*/_jsx("g", {
|
|
5
5
|
children: /*#__PURE__*/_jsx("path", {
|
|
6
6
|
d: "M6,13c-2.2,0-4,1.8-4,4s1.8,4,4,4s4-1.8,4-4S8.2,13,6,13z M12,3C9.8,3,8,4.8,8,7s1.8,4,4,4s4-1.8,4-4S14.2,3,12,3z M18,13 c-2.2,0-4,1.8-4,4s1.8,4,4,4s4-1.8,4-4S20.2,13,18,13z"
|
|
7
7
|
})
|
|
8
8
|
}), 'Workspaces');
|
|
9
|
-
export const GridGroupWorkIcon = createSvgIcon(
|
|
9
|
+
export const GridGroupWorkIcon = createSvgIcon(/*#__PURE__*/_jsx("path", {
|
|
10
10
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM8 17.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zM9.5 8c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5S9.5 9.38 9.5 8zm6.5 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"
|
|
11
11
|
}), 'GroupWork');
|
|
12
|
-
export const GridFunctionsIcon = createSvgIcon(
|
|
12
|
+
export const GridFunctionsIcon = createSvgIcon(/*#__PURE__*/_jsx("path", {
|
|
13
13
|
d: "M18 4H6v2l6.5 6L6 18v2h12v-3h-7l5-5-5-5h7z"
|
|
14
14
|
}), 'Functions');
|
package/modern/material/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
-
import { GridWorkspacesIcon, GridGroupWorkIcon, GridFunctionsIcon } from
|
|
2
|
+
import { GridWorkspacesIcon, GridGroupWorkIcon, GridFunctionsIcon } from "./icons.js";
|
|
3
3
|
const iconsSlots = {
|
|
4
4
|
columnMenuUngroupIcon: GridWorkspacesIcon,
|
|
5
5
|
columnMenuGroupIcon: GridGroupWorkIcon,
|
package/modern/models/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
1
|
+
export * from "./gridGroupingValueGetter.js";
|
|
2
|
+
export * from "./gridPremiumIconSlotsComponent.js";
|
|
3
|
+
export * from "./gridPremiumSlotsComponent.js";
|
|
4
|
+
export * from "./gridPastedValueParser.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import '@mui/x-data-grid-pro/typeOverloads';
|
|
2
|
-
export * from
|
|
2
|
+
export * from "./modules.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { useGridApiContext } from
|
|
2
|
-
export { useGridApiRef } from
|
|
3
|
-
export { useGridRootProps } from
|
|
1
|
+
export { useGridApiContext } from "../hooks/utils/useGridApiContext.js";
|
|
2
|
+
export { useGridApiRef } from "../hooks/utils/useGridApiRef.js";
|
|
3
|
+
export { useGridRootProps } from "../hooks/utils/useGridRootProps.js";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* The full grid API.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTcyNTQ4MzYwMDAwMA==";
|
|
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.
|
|
3
|
+
"version": "7.16.0",
|
|
4
4
|
"description": "The Premium plan edition of the Data Grid Components (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
"directory": "packages/x-data-grid-premium"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@babel/runtime": "^7.25.
|
|
36
|
+
"@babel/runtime": "^7.25.6",
|
|
37
37
|
"@mui/utils": "^5.16.6",
|
|
38
38
|
"@types/format-util": "^1.0.4",
|
|
39
39
|
"clsx": "^2.1.1",
|
|
40
40
|
"exceljs": "^4.4.0",
|
|
41
41
|
"prop-types": "^15.8.1",
|
|
42
|
-
"reselect": "^
|
|
43
|
-
"@mui/x-data-grid": "7.
|
|
44
|
-
"@mui/x-
|
|
45
|
-
"@mui/x-license": "7.
|
|
46
|
-
"@mui/x-
|
|
42
|
+
"reselect": "^5.1.1",
|
|
43
|
+
"@mui/x-data-grid": "7.16.0",
|
|
44
|
+
"@mui/x-data-grid-pro": "7.16.0",
|
|
45
|
+
"@mui/x-license": "7.16.0",
|
|
46
|
+
"@mui/x-internals": "7.16.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@emotion/react": "^11.9.0",
|
package/utils/releaseInfo.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 = "MTcyNTQ4MzYwMDAwMA==";
|
|
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
|