@mui/x-data-grid-premium 8.0.0-alpha.13 → 8.0.0-alpha.14

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 (36) hide show
  1. package/CHANGELOG.md +131 -0
  2. package/components/GridPremiumToolbar.d.ts +3 -0
  3. package/components/GridPremiumToolbar.js +31 -0
  4. package/components/export/ExportExcel.d.ts +29 -0
  5. package/components/export/ExportExcel.js +198 -0
  6. package/components/export/index.d.ts +1 -0
  7. package/components/export/index.js +16 -0
  8. package/components/index.d.ts +2 -1
  9. package/components/index.js +13 -1
  10. package/constants/dataGridPremiumDefaultSlotsComponents.js +3 -1
  11. package/esm/components/GridPremiumToolbar.d.ts +3 -0
  12. package/esm/components/GridPremiumToolbar.js +23 -0
  13. package/esm/components/export/ExportExcel.d.ts +29 -0
  14. package/esm/components/export/ExportExcel.js +191 -0
  15. package/esm/components/export/index.d.ts +1 -0
  16. package/esm/components/export/index.js +1 -0
  17. package/esm/components/index.d.ts +2 -1
  18. package/esm/components/index.js +2 -1
  19. package/esm/constants/dataGridPremiumDefaultSlotsComponents.js +3 -1
  20. package/esm/index.js +1 -1
  21. package/esm/utils/releaseInfo.js +1 -1
  22. package/index.js +1 -1
  23. package/modern/components/GridPremiumToolbar.d.ts +3 -0
  24. package/modern/components/GridPremiumToolbar.js +23 -0
  25. package/modern/components/export/ExportExcel.d.ts +29 -0
  26. package/modern/components/export/ExportExcel.js +191 -0
  27. package/modern/components/export/index.d.ts +1 -0
  28. package/modern/components/export/index.js +1 -0
  29. package/modern/components/index.d.ts +2 -1
  30. package/modern/components/index.js +2 -1
  31. package/modern/constants/dataGridPremiumDefaultSlotsComponents.js +3 -1
  32. package/modern/index.js +1 -1
  33. package/modern/utils/releaseInfo.js +1 -1
  34. package/package.json +4 -4
  35. package/tsconfig.build.tsbuildinfo +1 -1
  36. package/utils/releaseInfo.js +1 -1
@@ -0,0 +1,191 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
+ const _excluded = ["render", "options", "onClick"];
4
+ import * as React from 'react';
5
+ import PropTypes from 'prop-types';
6
+ import { useGridComponentRenderer } from '@mui/x-data-grid/internals';
7
+ import { forwardRef } from '@mui/x-internals/forwardRef';
8
+ import { useGridApiContext } from "../../hooks/utils/useGridApiContext.js";
9
+ import { useGridRootProps } from "../../hooks/utils/useGridRootProps.js";
10
+ import { jsx as _jsx } from "react/jsx-runtime";
11
+ /**
12
+ * A button that triggers an Excel export.
13
+ * It renders the `baseButton` slot.
14
+ *
15
+ * Demos:
16
+ *
17
+ * - [Export](https://mui.com/x/react-data-grid/components/export/)
18
+ *
19
+ * API:
20
+ *
21
+ * - [ExportExcel API](https://mui.com/x/api/data-grid/export-excel/)
22
+ */
23
+ const ExportExcel = forwardRef(function ExportExcel(props, ref) {
24
+ const {
25
+ render,
26
+ options,
27
+ onClick
28
+ } = props,
29
+ other = _objectWithoutPropertiesLoose(props, _excluded);
30
+ const rootProps = useGridRootProps();
31
+ const apiRef = useGridApiContext();
32
+ const handleClick = event => {
33
+ apiRef.current.exportDataAsExcel(options);
34
+ onClick?.(event);
35
+ };
36
+ const element = useGridComponentRenderer(rootProps.slots.baseButton, render, _extends({
37
+ onClick: handleClick
38
+ }, rootProps.slotProps?.baseButton, other, {
39
+ ref
40
+ }));
41
+ return /*#__PURE__*/_jsx(React.Fragment, {
42
+ children: element
43
+ });
44
+ });
45
+ process.env.NODE_ENV !== "production" ? ExportExcel.propTypes = {
46
+ // ----------------------------- Warning --------------------------------
47
+ // | These PropTypes are generated from the TypeScript type definitions |
48
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
49
+ // ----------------------------------------------------------------------
50
+ /**
51
+ * A ref for imperative actions.
52
+ * It currently only supports `focusVisible()` action.
53
+ */
54
+ action: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({
55
+ current: PropTypes.shape({
56
+ focusVisible: PropTypes.func.isRequired
57
+ })
58
+ })]),
59
+ /**
60
+ * If `true`, the ripples are centered.
61
+ * They won't start at the cursor interaction position.
62
+ * @default false
63
+ */
64
+ centerRipple: PropTypes.bool,
65
+ className: PropTypes.string,
66
+ /**
67
+ * The color of the component.
68
+ * It supports both default and custom theme colors, which can be added as shown in the
69
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
70
+ * @default 'primary'
71
+ */
72
+ color: PropTypes.oneOf(['error', 'info', 'inherit', 'primary', 'secondary', 'success', 'warning']),
73
+ component: PropTypes.elementType,
74
+ /**
75
+ * If `true`, the component is disabled.
76
+ */
77
+ disabled: PropTypes.bool,
78
+ /**
79
+ * If `true`, no elevation is used.
80
+ * @default false
81
+ */
82
+ disableElevation: PropTypes.bool,
83
+ /**
84
+ * If `true`, the keyboard focus ripple is disabled.
85
+ * @default false
86
+ */
87
+ disableFocusRipple: PropTypes.bool,
88
+ /**
89
+ * If `true`, the ripple effect is disabled.
90
+ *
91
+ * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
92
+ * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
93
+ * @default false
94
+ */
95
+ disableRipple: PropTypes.bool,
96
+ /**
97
+ * If `true`, the touch ripple effect is disabled.
98
+ * @default false
99
+ */
100
+ disableTouchRipple: PropTypes.bool,
101
+ /**
102
+ * Element placed after the children.
103
+ */
104
+ endIcon: PropTypes.node,
105
+ /**
106
+ * If `true`, the base button will have a keyboard focus ripple.
107
+ * @default false
108
+ */
109
+ focusRipple: PropTypes.bool,
110
+ /**
111
+ * This prop can help identify which element has keyboard focus.
112
+ * The class name will be applied when the element gains the focus through keyboard interaction.
113
+ * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
114
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
115
+ * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
116
+ * if needed.
117
+ */
118
+ focusVisibleClassName: PropTypes.string,
119
+ /**
120
+ * If `true`, the button will take up the full width of its container.
121
+ * @default false
122
+ */
123
+ fullWidth: PropTypes.bool,
124
+ /**
125
+ * The URL to link to when the button is clicked.
126
+ * If defined, an `a` element will be used as the root node.
127
+ */
128
+ href: PropTypes.string,
129
+ /**
130
+ * The component used to render a link when the `href` prop is provided.
131
+ * @default 'a'
132
+ */
133
+ LinkComponent: PropTypes.elementType,
134
+ /**
135
+ * Callback fired when the component is focused with a keyboard.
136
+ * We trigger a `onFocus` callback too.
137
+ */
138
+ onFocusVisible: PropTypes.func,
139
+ /**
140
+ * The options to apply on the Excel export.
141
+ * @demos
142
+ * - [Excel export](/x/react-data-grid/export/#excel-export)
143
+ */
144
+ options: PropTypes.shape({
145
+ allColumns: PropTypes.bool,
146
+ columnsStyles: PropTypes.object,
147
+ escapeFormulas: PropTypes.bool,
148
+ exceljsPostProcess: PropTypes.func,
149
+ exceljsPreProcess: PropTypes.func,
150
+ fields: PropTypes.arrayOf(PropTypes.string),
151
+ fileName: PropTypes.string,
152
+ getRowsToExport: PropTypes.func,
153
+ includeColumnGroupsHeaders: PropTypes.bool,
154
+ includeHeaders: PropTypes.bool,
155
+ valueOptionsSheetName: PropTypes.string,
156
+ worker: PropTypes.func
157
+ }),
158
+ /**
159
+ * A function to customize rendering of the component.
160
+ */
161
+ render: PropTypes.oneOfType([PropTypes.element, PropTypes.func]),
162
+ /**
163
+ * The size of the component.
164
+ * `small` is equivalent to the dense button styling.
165
+ */
166
+ size: PropTypes.oneOf(['large', 'medium', 'small']),
167
+ /**
168
+ * Element placed before the children.
169
+ */
170
+ startIcon: PropTypes.node,
171
+ style: PropTypes.object,
172
+ /**
173
+ * The system prop that allows defining system overrides as well as additional CSS styles.
174
+ */
175
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
176
+ tabIndex: PropTypes.number,
177
+ /**
178
+ * Props applied to the `TouchRipple` element.
179
+ */
180
+ TouchRippleProps: PropTypes.object,
181
+ /**
182
+ * A ref that points to the `TouchRipple` element.
183
+ */
184
+ touchRippleRef: PropTypes.any,
185
+ /**
186
+ * The variant to use.
187
+ * @default 'text'
188
+ */
189
+ variant: PropTypes.oneOf(['contained', 'outlined', 'text'])
190
+ } : void 0;
191
+ export { ExportExcel };
@@ -0,0 +1 @@
1
+ export * from "./ExportExcel.js";
@@ -0,0 +1 @@
1
+ export * from "./ExportExcel.js";
@@ -2,4 +2,5 @@ export * from "./GridExcelExportMenuItem.js";
2
2
  export * from "../material/icons.js";
3
3
  export * from "./GridColumnMenuAggregationItem.js";
4
4
  export * from "./promptControl/index.js";
5
- export { GridColumnMenuGroupingItem } from "./GridPremiumColumnMenu.js";
5
+ export { GridColumnMenuGroupingItem } from "./GridPremiumColumnMenu.js";
6
+ export * from "./export/index.js";
@@ -2,4 +2,5 @@ export * from "./GridExcelExportMenuItem.js";
2
2
  export * from "../material/icons.js";
3
3
  export * from "./GridColumnMenuAggregationItem.js";
4
4
  export * from "./promptControl/index.js";
5
- export { GridColumnMenuGroupingItem } from "./GridPremiumColumnMenu.js";
5
+ export { GridColumnMenuGroupingItem } from "./GridPremiumColumnMenu.js";
6
+ export * from "./export/index.js";
@@ -3,7 +3,9 @@ import { DATA_GRID_PRO_DEFAULT_SLOTS_COMPONENTS } from '@mui/x-data-grid-pro/int
3
3
  import { GridPremiumColumnMenu } from "../components/GridPremiumColumnMenu.js";
4
4
  import materialSlots from "../material/index.js";
5
5
  import { GridBottomContainer } from "../components/GridBottomContainer.js";
6
+ import { GridPremiumToolbar } from "../components/GridPremiumToolbar.js";
6
7
  export const DATA_GRID_PREMIUM_DEFAULT_SLOTS_COMPONENTS = _extends({}, DATA_GRID_PRO_DEFAULT_SLOTS_COMPONENTS, materialSlots, {
7
8
  columnMenu: GridPremiumColumnMenu,
8
- bottomContainer: GridBottomContainer
9
+ bottomContainer: GridBottomContainer,
10
+ toolbar: GridPremiumToolbar
9
11
  });
package/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-premium v8.0.0-alpha.13
2
+ * @mui/x-data-grid-premium v8.0.0-alpha.14
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 = "MTc0MDY5NzIwMDAwMA==";
3
+ const releaseInfo = "MTc0MTMwMjAwMDAwMA==";
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 v8.0.0-alpha.13
2
+ * @mui/x-data-grid-premium v8.0.0-alpha.14
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { GridToolbarProps } from '@mui/x-data-grid/internals';
3
+ export declare function GridPremiumToolbar(props: GridToolbarProps): React.JSX.Element;
@@ -0,0 +1,23 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
+ const _excluded = ["excelOptions"];
4
+ import * as React from 'react';
5
+ import { GridToolbar } from '@mui/x-data-grid/internals';
6
+ import { ExportExcel } from "./export/index.js";
7
+ import { useGridRootProps } from "../hooks/utils/useGridRootProps.js";
8
+ import { useGridApiContext } from "../hooks/utils/useGridApiContext.js";
9
+ import { jsx as _jsx } from "react/jsx-runtime";
10
+ export function GridPremiumToolbar(props) {
11
+ const rootProps = useGridRootProps();
12
+ const apiRef = useGridApiContext();
13
+ const other = _objectWithoutPropertiesLoose(props, _excluded);
14
+ const additionalExportMenuItems = !props.excelOptions?.disableToolbarButton ? onMenuItemClick => /*#__PURE__*/_jsx(ExportExcel, {
15
+ render: /*#__PURE__*/_jsx(rootProps.slots.baseMenuItem, _extends({}, rootProps.slotProps?.baseMenuItem)),
16
+ options: props.excelOptions,
17
+ onClick: onMenuItemClick,
18
+ children: apiRef.current.getLocaleText('toolbarExportExcel')
19
+ }) : undefined;
20
+ return /*#__PURE__*/_jsx(GridToolbar, _extends({}, other, {
21
+ additionalExportMenuItems: additionalExportMenuItems
22
+ }));
23
+ }
@@ -0,0 +1,29 @@
1
+ import * as React from 'react';
2
+ import { GridSlotProps, RenderProp } from '@mui/x-data-grid';
3
+ import { GridExcelExportOptions } from "../../hooks/features/export/index.js";
4
+ export type ExportExcelProps = GridSlotProps['baseButton'] & {
5
+ /**
6
+ * A function to customize rendering of the component.
7
+ */
8
+ render?: RenderProp<GridSlotProps['baseButton']>;
9
+ /**
10
+ * The options to apply on the Excel export.
11
+ * @demos
12
+ * - [Excel export](/x/react-data-grid/export/#excel-export)
13
+ */
14
+ options?: GridExcelExportOptions;
15
+ };
16
+ /**
17
+ * A button that triggers an Excel export.
18
+ * It renders the `baseButton` slot.
19
+ *
20
+ * Demos:
21
+ *
22
+ * - [Export](https://mui.com/x/react-data-grid/components/export/)
23
+ *
24
+ * API:
25
+ *
26
+ * - [ExportExcel API](https://mui.com/x/api/data-grid/export-excel/)
27
+ */
28
+ declare const ExportExcel: React.ForwardRefExoticComponent<ExportExcelProps> | React.ForwardRefExoticComponent<Omit<ExportExcelProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
29
+ export { ExportExcel };
@@ -0,0 +1,191 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
+ const _excluded = ["render", "options", "onClick"];
4
+ import * as React from 'react';
5
+ import PropTypes from 'prop-types';
6
+ import { useGridComponentRenderer } from '@mui/x-data-grid/internals';
7
+ import { forwardRef } from '@mui/x-internals/forwardRef';
8
+ import { useGridApiContext } from "../../hooks/utils/useGridApiContext.js";
9
+ import { useGridRootProps } from "../../hooks/utils/useGridRootProps.js";
10
+ import { jsx as _jsx } from "react/jsx-runtime";
11
+ /**
12
+ * A button that triggers an Excel export.
13
+ * It renders the `baseButton` slot.
14
+ *
15
+ * Demos:
16
+ *
17
+ * - [Export](https://mui.com/x/react-data-grid/components/export/)
18
+ *
19
+ * API:
20
+ *
21
+ * - [ExportExcel API](https://mui.com/x/api/data-grid/export-excel/)
22
+ */
23
+ const ExportExcel = forwardRef(function ExportExcel(props, ref) {
24
+ const {
25
+ render,
26
+ options,
27
+ onClick
28
+ } = props,
29
+ other = _objectWithoutPropertiesLoose(props, _excluded);
30
+ const rootProps = useGridRootProps();
31
+ const apiRef = useGridApiContext();
32
+ const handleClick = event => {
33
+ apiRef.current.exportDataAsExcel(options);
34
+ onClick?.(event);
35
+ };
36
+ const element = useGridComponentRenderer(rootProps.slots.baseButton, render, _extends({
37
+ onClick: handleClick
38
+ }, rootProps.slotProps?.baseButton, other, {
39
+ ref
40
+ }));
41
+ return /*#__PURE__*/_jsx(React.Fragment, {
42
+ children: element
43
+ });
44
+ });
45
+ process.env.NODE_ENV !== "production" ? ExportExcel.propTypes = {
46
+ // ----------------------------- Warning --------------------------------
47
+ // | These PropTypes are generated from the TypeScript type definitions |
48
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
49
+ // ----------------------------------------------------------------------
50
+ /**
51
+ * A ref for imperative actions.
52
+ * It currently only supports `focusVisible()` action.
53
+ */
54
+ action: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({
55
+ current: PropTypes.shape({
56
+ focusVisible: PropTypes.func.isRequired
57
+ })
58
+ })]),
59
+ /**
60
+ * If `true`, the ripples are centered.
61
+ * They won't start at the cursor interaction position.
62
+ * @default false
63
+ */
64
+ centerRipple: PropTypes.bool,
65
+ className: PropTypes.string,
66
+ /**
67
+ * The color of the component.
68
+ * It supports both default and custom theme colors, which can be added as shown in the
69
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
70
+ * @default 'primary'
71
+ */
72
+ color: PropTypes.oneOf(['error', 'info', 'inherit', 'primary', 'secondary', 'success', 'warning']),
73
+ component: PropTypes.elementType,
74
+ /**
75
+ * If `true`, the component is disabled.
76
+ */
77
+ disabled: PropTypes.bool,
78
+ /**
79
+ * If `true`, no elevation is used.
80
+ * @default false
81
+ */
82
+ disableElevation: PropTypes.bool,
83
+ /**
84
+ * If `true`, the keyboard focus ripple is disabled.
85
+ * @default false
86
+ */
87
+ disableFocusRipple: PropTypes.bool,
88
+ /**
89
+ * If `true`, the ripple effect is disabled.
90
+ *
91
+ * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
92
+ * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
93
+ * @default false
94
+ */
95
+ disableRipple: PropTypes.bool,
96
+ /**
97
+ * If `true`, the touch ripple effect is disabled.
98
+ * @default false
99
+ */
100
+ disableTouchRipple: PropTypes.bool,
101
+ /**
102
+ * Element placed after the children.
103
+ */
104
+ endIcon: PropTypes.node,
105
+ /**
106
+ * If `true`, the base button will have a keyboard focus ripple.
107
+ * @default false
108
+ */
109
+ focusRipple: PropTypes.bool,
110
+ /**
111
+ * This prop can help identify which element has keyboard focus.
112
+ * The class name will be applied when the element gains the focus through keyboard interaction.
113
+ * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
114
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
115
+ * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
116
+ * if needed.
117
+ */
118
+ focusVisibleClassName: PropTypes.string,
119
+ /**
120
+ * If `true`, the button will take up the full width of its container.
121
+ * @default false
122
+ */
123
+ fullWidth: PropTypes.bool,
124
+ /**
125
+ * The URL to link to when the button is clicked.
126
+ * If defined, an `a` element will be used as the root node.
127
+ */
128
+ href: PropTypes.string,
129
+ /**
130
+ * The component used to render a link when the `href` prop is provided.
131
+ * @default 'a'
132
+ */
133
+ LinkComponent: PropTypes.elementType,
134
+ /**
135
+ * Callback fired when the component is focused with a keyboard.
136
+ * We trigger a `onFocus` callback too.
137
+ */
138
+ onFocusVisible: PropTypes.func,
139
+ /**
140
+ * The options to apply on the Excel export.
141
+ * @demos
142
+ * - [Excel export](/x/react-data-grid/export/#excel-export)
143
+ */
144
+ options: PropTypes.shape({
145
+ allColumns: PropTypes.bool,
146
+ columnsStyles: PropTypes.object,
147
+ escapeFormulas: PropTypes.bool,
148
+ exceljsPostProcess: PropTypes.func,
149
+ exceljsPreProcess: PropTypes.func,
150
+ fields: PropTypes.arrayOf(PropTypes.string),
151
+ fileName: PropTypes.string,
152
+ getRowsToExport: PropTypes.func,
153
+ includeColumnGroupsHeaders: PropTypes.bool,
154
+ includeHeaders: PropTypes.bool,
155
+ valueOptionsSheetName: PropTypes.string,
156
+ worker: PropTypes.func
157
+ }),
158
+ /**
159
+ * A function to customize rendering of the component.
160
+ */
161
+ render: PropTypes.oneOfType([PropTypes.element, PropTypes.func]),
162
+ /**
163
+ * The size of the component.
164
+ * `small` is equivalent to the dense button styling.
165
+ */
166
+ size: PropTypes.oneOf(['large', 'medium', 'small']),
167
+ /**
168
+ * Element placed before the children.
169
+ */
170
+ startIcon: PropTypes.node,
171
+ style: PropTypes.object,
172
+ /**
173
+ * The system prop that allows defining system overrides as well as additional CSS styles.
174
+ */
175
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
176
+ tabIndex: PropTypes.number,
177
+ /**
178
+ * Props applied to the `TouchRipple` element.
179
+ */
180
+ TouchRippleProps: PropTypes.object,
181
+ /**
182
+ * A ref that points to the `TouchRipple` element.
183
+ */
184
+ touchRippleRef: PropTypes.any,
185
+ /**
186
+ * The variant to use.
187
+ * @default 'text'
188
+ */
189
+ variant: PropTypes.oneOf(['contained', 'outlined', 'text'])
190
+ } : void 0;
191
+ export { ExportExcel };
@@ -0,0 +1 @@
1
+ export * from "./ExportExcel.js";
@@ -0,0 +1 @@
1
+ export * from "./ExportExcel.js";
@@ -2,4 +2,5 @@ export * from "./GridExcelExportMenuItem.js";
2
2
  export * from "../material/icons.js";
3
3
  export * from "./GridColumnMenuAggregationItem.js";
4
4
  export * from "./promptControl/index.js";
5
- export { GridColumnMenuGroupingItem } from "./GridPremiumColumnMenu.js";
5
+ export { GridColumnMenuGroupingItem } from "./GridPremiumColumnMenu.js";
6
+ export * from "./export/index.js";
@@ -2,4 +2,5 @@ export * from "./GridExcelExportMenuItem.js";
2
2
  export * from "../material/icons.js";
3
3
  export * from "./GridColumnMenuAggregationItem.js";
4
4
  export * from "./promptControl/index.js";
5
- export { GridColumnMenuGroupingItem } from "./GridPremiumColumnMenu.js";
5
+ export { GridColumnMenuGroupingItem } from "./GridPremiumColumnMenu.js";
6
+ export * from "./export/index.js";
@@ -3,7 +3,9 @@ import { DATA_GRID_PRO_DEFAULT_SLOTS_COMPONENTS } from '@mui/x-data-grid-pro/int
3
3
  import { GridPremiumColumnMenu } from "../components/GridPremiumColumnMenu.js";
4
4
  import materialSlots from "../material/index.js";
5
5
  import { GridBottomContainer } from "../components/GridBottomContainer.js";
6
+ import { GridPremiumToolbar } from "../components/GridPremiumToolbar.js";
6
7
  export const DATA_GRID_PREMIUM_DEFAULT_SLOTS_COMPONENTS = _extends({}, DATA_GRID_PRO_DEFAULT_SLOTS_COMPONENTS, materialSlots, {
7
8
  columnMenu: GridPremiumColumnMenu,
8
- bottomContainer: GridBottomContainer
9
+ bottomContainer: GridBottomContainer,
10
+ toolbar: GridPremiumToolbar
9
11
  });
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-premium v8.0.0-alpha.13
2
+ * @mui/x-data-grid-premium v8.0.0-alpha.14
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 = "MTc0MDY5NzIwMDAwMA==";
3
+ const releaseInfo = "MTc0MTMwMjAwMDAwMA==";
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": "8.0.0-alpha.13",
3
+ "version": "8.0.0-alpha.14",
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": "8.0.0-alpha.13",
44
- "@mui/x-data-grid-pro": "8.0.0-alpha.13",
43
+ "@mui/x-license": "8.0.0-alpha.14",
45
44
  "@mui/x-internals": "8.0.0-alpha.13",
46
- "@mui/x-license": "8.0.0-alpha.13"
45
+ "@mui/x-data-grid": "8.0.0-alpha.14",
46
+ "@mui/x-data-grid-pro": "8.0.0-alpha.14"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@emotion/react": "^11.9.0",