@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.
Files changed (123) hide show
  1. package/CHANGELOG.md +98 -1
  2. package/DataGridPremium/DataGridPremium.js +12 -5
  3. package/DataGridPremium/useDataGridPremiumProps.js +2 -3
  4. package/components/GridAggregationHeader.js +5 -9
  5. package/components/GridColumnMenuAggregationItem.js +2 -3
  6. package/components/GridColumnMenuRowGroupItem.js +2 -3
  7. package/components/GridColumnMenuRowUngroupItem.js +2 -3
  8. package/components/GridExcelExportMenuItem.js +2 -3
  9. package/components/GridFooterCell.js +2 -3
  10. package/components/GridGroupingColumnFooterCell.js +2 -3
  11. package/components/GridGroupingColumnLeafCell.js +2 -3
  12. package/components/GridGroupingCriteriaCell.js +2 -3
  13. package/components/GridPremiumColumnMenu.js +2 -3
  14. package/constants/dataGridPremiumDefaultSlotsComponents.js +1 -1
  15. package/esm/DataGridPremium/DataGridPremium.js +15 -7
  16. package/esm/DataGridPremium/index.js +3 -3
  17. package/esm/DataGridPremium/useDataGridPremiumComponent.js +7 -7
  18. package/esm/DataGridPremium/useDataGridPremiumProps.js +2 -2
  19. package/esm/components/GridAggregationHeader.js +6 -9
  20. package/esm/components/GridColumnMenuAggregationItem.js +4 -4
  21. package/esm/components/GridColumnMenuRowGroupItem.js +4 -4
  22. package/esm/components/GridColumnMenuRowUngroupItem.js +3 -3
  23. package/esm/components/GridExcelExportMenuItem.js +1 -1
  24. package/esm/components/GridFooterCell.js +1 -1
  25. package/esm/components/GridGroupingColumnFooterCell.js +2 -2
  26. package/esm/components/GridGroupingColumnLeafCell.js +1 -1
  27. package/esm/components/GridGroupingCriteriaCell.js +2 -2
  28. package/esm/components/GridPremiumColumnMenu.js +4 -4
  29. package/esm/components/index.js +4 -4
  30. package/esm/components/reexports.js +1 -1
  31. package/esm/constants/dataGridPremiumDefaultSlotsComponents.js +2 -2
  32. package/esm/hooks/features/aggregation/createAggregationLookup.js +2 -2
  33. package/esm/hooks/features/aggregation/index.js +4 -4
  34. package/esm/hooks/features/aggregation/useGridAggregation.js +3 -3
  35. package/esm/hooks/features/aggregation/useGridAggregationPreProcessors.js +3 -3
  36. package/esm/hooks/features/aggregation/wrapColumnWithAggregation.js +3 -3
  37. package/esm/hooks/features/cellSelection/index.js +1 -1
  38. package/esm/hooks/features/cellSelection/useGridCellSelection.js +1 -1
  39. package/esm/hooks/features/export/index.js +2 -2
  40. package/esm/hooks/features/export/useGridExcelExport.js +2 -2
  41. package/esm/hooks/features/index.js +4 -4
  42. package/esm/hooks/features/rowGrouping/createGroupingColDef.js +5 -5
  43. package/esm/hooks/features/rowGrouping/gridRowGroupingUtils.js +1 -1
  44. package/esm/hooks/features/rowGrouping/index.js +3 -3
  45. package/esm/hooks/features/rowGrouping/useGridRowGrouping.js +2 -2
  46. package/esm/hooks/features/rowGrouping/useGridRowGroupingPreProcessors.js +3 -3
  47. package/esm/hooks/features/rows/index.js +1 -1
  48. package/esm/hooks/features/rows/useGridRowAriaAttributes.js +2 -2
  49. package/esm/hooks/index.js +2 -2
  50. package/esm/hooks/utils/index.js +1 -1
  51. package/esm/hooks/utils/useGridAriaAttributes.js +3 -3
  52. package/esm/index.js +7 -7
  53. package/esm/material/icons.js +3 -3
  54. package/esm/material/index.js +1 -1
  55. package/esm/models/index.js +4 -4
  56. package/esm/themeAugmentation/index.js +2 -2
  57. package/esm/typeOverloads/index.js +1 -1
  58. package/esm/typeOverloads/reexports.js +3 -3
  59. package/esm/utils/releaseInfo.js +1 -1
  60. package/hooks/features/aggregation/gridAggregationUtils.js +1 -1
  61. package/hooks/features/aggregation/useGridAggregation.js +2 -3
  62. package/hooks/features/aggregation/useGridAggregationPreProcessors.js +2 -3
  63. package/hooks/features/aggregation/wrapColumnWithAggregation.js +2 -3
  64. package/hooks/features/cellSelection/useGridCellSelection.js +2 -3
  65. package/hooks/features/clipboard/useGridClipboardImport.js +2 -3
  66. package/hooks/features/export/serializer/excelSerializer.js +3 -4
  67. package/hooks/features/export/useGridExcelExport.js +2 -3
  68. package/hooks/features/rowGrouping/createGroupingColDef.js +2 -3
  69. package/hooks/features/rowGrouping/gridRowGroupingUtils.js +1 -1
  70. package/hooks/features/rowGrouping/useGridRowGrouping.js +2 -3
  71. package/hooks/features/rowGrouping/useGridRowGroupingPreProcessors.js +1 -2
  72. package/hooks/utils/useGridAriaAttributes.js +1 -1
  73. package/hooks/utils/useKeepGroupedColumnsHidden.js +2 -3
  74. package/index.js +1 -1
  75. package/material/icons.js +4 -5
  76. package/material/index.js +1 -1
  77. package/modern/DataGridPremium/DataGridPremium.js +15 -7
  78. package/modern/DataGridPremium/index.js +3 -3
  79. package/modern/DataGridPremium/useDataGridPremiumComponent.js +7 -7
  80. package/modern/DataGridPremium/useDataGridPremiumProps.js +2 -2
  81. package/modern/components/GridAggregationHeader.js +6 -9
  82. package/modern/components/GridColumnMenuAggregationItem.js +4 -4
  83. package/modern/components/GridColumnMenuRowGroupItem.js +4 -4
  84. package/modern/components/GridColumnMenuRowUngroupItem.js +3 -3
  85. package/modern/components/GridExcelExportMenuItem.js +1 -1
  86. package/modern/components/GridFooterCell.js +1 -1
  87. package/modern/components/GridGroupingColumnFooterCell.js +2 -2
  88. package/modern/components/GridGroupingColumnLeafCell.js +1 -1
  89. package/modern/components/GridGroupingCriteriaCell.js +2 -2
  90. package/modern/components/GridPremiumColumnMenu.js +4 -4
  91. package/modern/components/index.js +4 -4
  92. package/modern/components/reexports.js +1 -1
  93. package/modern/constants/dataGridPremiumDefaultSlotsComponents.js +2 -2
  94. package/modern/hooks/features/aggregation/createAggregationLookup.js +2 -2
  95. package/modern/hooks/features/aggregation/index.js +4 -4
  96. package/modern/hooks/features/aggregation/useGridAggregation.js +3 -3
  97. package/modern/hooks/features/aggregation/useGridAggregationPreProcessors.js +3 -3
  98. package/modern/hooks/features/aggregation/wrapColumnWithAggregation.js +3 -3
  99. package/modern/hooks/features/cellSelection/index.js +1 -1
  100. package/modern/hooks/features/cellSelection/useGridCellSelection.js +1 -1
  101. package/modern/hooks/features/export/index.js +2 -2
  102. package/modern/hooks/features/export/useGridExcelExport.js +2 -2
  103. package/modern/hooks/features/index.js +4 -4
  104. package/modern/hooks/features/rowGrouping/createGroupingColDef.js +5 -5
  105. package/modern/hooks/features/rowGrouping/gridRowGroupingUtils.js +1 -1
  106. package/modern/hooks/features/rowGrouping/index.js +3 -3
  107. package/modern/hooks/features/rowGrouping/useGridRowGrouping.js +2 -2
  108. package/modern/hooks/features/rowGrouping/useGridRowGroupingPreProcessors.js +3 -3
  109. package/modern/hooks/features/rows/index.js +1 -1
  110. package/modern/hooks/features/rows/useGridRowAriaAttributes.js +2 -2
  111. package/modern/hooks/index.js +2 -2
  112. package/modern/hooks/utils/index.js +1 -1
  113. package/modern/hooks/utils/useGridAriaAttributes.js +3 -3
  114. package/modern/index.js +8 -8
  115. package/modern/material/icons.js +3 -3
  116. package/modern/material/index.js +1 -1
  117. package/modern/models/index.js +4 -4
  118. package/modern/themeAugmentation/index.js +2 -2
  119. package/modern/typeOverloads/index.js +1 -1
  120. package/modern/typeOverloads/reexports.js +3 -3
  121. package/modern/utils/releaseInfo.js +1 -1
  122. package/package.json +7 -7
  123. package/utils/releaseInfo.js +1 -1
@@ -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( /*#__PURE__*/_jsx("g", {
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( /*#__PURE__*/_jsx("path", {
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( /*#__PURE__*/_jsx("path", {
12
+ export const GridFunctionsIcon = createSvgIcon(/*#__PURE__*/_jsx("path", {
13
13
  d: "M18 4H6v2l6.5 6L6 18v2h12v-3h-7l5-5-5-5h7z"
14
14
  }), 'Functions');
@@ -1,5 +1,5 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
- import { GridWorkspacesIcon, GridGroupWorkIcon, GridFunctionsIcon } from './icons';
2
+ import { GridWorkspacesIcon, GridGroupWorkIcon, GridFunctionsIcon } from "./icons.js";
3
3
  const iconsSlots = {
4
4
  columnMenuUngroupIcon: GridWorkspacesIcon,
5
5
  columnMenuGroupIcon: GridGroupWorkIcon,
@@ -1,4 +1,4 @@
1
- export * from './gridGroupingValueGetter';
2
- export * from './gridPremiumIconSlotsComponent';
3
- export * from './gridPremiumSlotsComponent';
4
- export * from './gridPastedValueParser';
1
+ export * from "./gridGroupingValueGetter.js";
2
+ export * from "./gridPremiumIconSlotsComponent.js";
3
+ export * from "./gridPremiumSlotsComponent.js";
4
+ export * from "./gridPastedValueParser.js";
@@ -1,4 +1,4 @@
1
- export * from './overrides';
2
- export * from './props';
1
+ export * from "./overrides.js";
2
+ export * from "./props.js";
3
3
  // TODO v5
4
4
  // export * from './components';
@@ -1,2 +1,2 @@
1
1
  import '@mui/x-data-grid-pro/typeOverloads';
2
- export * from './modules';
2
+ export * from "./modules.js";
@@ -1,6 +1,6 @@
1
- export { useGridApiContext } from '../hooks/utils/useGridApiContext';
2
- export { useGridApiRef } from '../hooks/utils/useGridApiRef';
3
- export { useGridRootProps } from '../hooks/utils/useGridRootProps';
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 = "MTcyNDg4MjQwMDAwMA==";
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.15.0",
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.4",
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": "^4.1.8",
43
- "@mui/x-data-grid": "7.15.0",
44
- "@mui/x-internals": "7.15.0",
45
- "@mui/x-license": "7.15.0",
46
- "@mui/x-data-grid-pro": "7.15.0"
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",
@@ -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 = "MTcyNDg4MjQwMDAwMA==";
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