@mui/x-data-grid-premium 7.22.2 → 8.0.0-alpha.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 +142 -155
- package/README.md +2 -2
- package/components/GridColumnMenuAggregationItem.js +4 -6
- package/components/GridColumnMenuRowGroupItem.js +1 -2
- package/components/GridColumnMenuRowUngroupItem.js +2 -3
- package/components/GridExcelExportMenuItem.js +3 -2
- package/esm/components/GridColumnMenuAggregationItem.js +4 -6
- package/esm/components/GridColumnMenuRowGroupItem.js +1 -2
- package/esm/components/GridColumnMenuRowUngroupItem.js +2 -3
- package/esm/components/GridExcelExportMenuItem.js +3 -2
- package/esm/hooks/features/cellSelection/useGridCellSelection.js +2 -1
- package/esm/utils/releaseInfo.js +1 -1
- package/hooks/features/cellSelection/useGridCellSelection.js +7 -6
- package/hooks/features/export/gridExcelExportInterface.d.ts +1 -4
- package/index.js +1 -1
- package/modern/components/GridColumnMenuAggregationItem.js +4 -6
- package/modern/components/GridColumnMenuRowGroupItem.js +1 -2
- package/modern/components/GridColumnMenuRowUngroupItem.js +2 -3
- package/modern/components/GridExcelExportMenuItem.js +3 -2
- package/modern/hooks/features/cellSelection/useGridCellSelection.js +2 -1
- package/modern/index.js +1 -1
- package/modern/utils/releaseInfo.js +1 -1
- package/package.json +6 -6
- package/typeOverloads/modules.d.ts +8 -1
- package/utils/releaseInfo.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,213 +1,200 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
> For full v7 changelog, please refer to the [v.7x branch](https://github.com/mui/mui-x/blob/v7.x/CHANGELOG.md).
|
|
4
|
+
|
|
3
5
|
All notable changes to this project will be documented in this file.
|
|
4
6
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
7
|
|
|
6
|
-
##
|
|
7
|
-
|
|
8
|
-
_Nov 8, 2024_
|
|
9
|
-
|
|
10
|
-
We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
-
|
|
12
|
-
- 👨🏽💻 API enhancements
|
|
13
|
-
- 🐞 Bugfixes
|
|
14
|
-
|
|
15
|
-
Special thanks go out to the community contributors who have helped make this release possible:
|
|
16
|
-
@clins1994, @GuillaumeMeheut, @k-rajat19.
|
|
17
|
-
Following are all team members who have contributed to this release:
|
|
18
|
-
@LukasTy, @MBilalShafi, @KenanYusuf, @arminmeh.
|
|
19
|
-
|
|
20
|
-
### Upcoming alpha
|
|
21
|
-
|
|
22
|
-
Keep an eye out for the MUI⠀X `v8.0.0-aplha.0` release soon. It will follow a weekly release schedule as always until it is stable.
|
|
23
|
-
|
|
24
|
-
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
25
|
-
|
|
26
|
-
### Data Grid
|
|
27
|
-
|
|
28
|
-
#### `@mui/x-data-grid@7.22.2`
|
|
29
|
-
|
|
30
|
-
- [DataGrid] Fix `null` reference error in `GridVirtualScrollbar` (#15289) @MBilalShafi
|
|
31
|
-
- [DataGrid] Fix filtering with `boolean` column type (#15257) @k-rajat19
|
|
32
|
-
- [DataGrid] Improve row selection propagation trigger (#15274) @MBilalShafi
|
|
33
|
-
- [DataGrid] Preprocess edit cell props on backspace/delete (#15223) @KenanYusuf
|
|
34
|
-
- [DataGrid] Add a recipe to persist column width and order (#15309) @MBilalShafi
|
|
35
|
-
|
|
36
|
-
#### `@mui/x-data-grid-pro@7.22.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
37
|
-
|
|
38
|
-
Same changes as in `@mui/x-data-grid@7.22.2`, plus:
|
|
39
|
-
|
|
40
|
-
- [DataGridPro] Apply default properties if they are not passed in a reorder column (#15320) @k-rajat19
|
|
41
|
-
- [DataGridPro] Toggle row expansion with `Enter` key in Tree data (#15313) @k-rajat19
|
|
42
|
-
|
|
43
|
-
#### `@mui/x-data-grid-premium@7.22.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
44
|
-
|
|
45
|
-
Same changes as in `@mui/x-data-grid-pro@7.22.2`, plus:
|
|
46
|
-
|
|
47
|
-
- [DataGridPremium] Fix incorrect rows selection count when selection propagation is enabled with row grouping (#15222) @arminmeh
|
|
48
|
-
|
|
49
|
-
### Date and Time Pickers
|
|
50
|
-
|
|
51
|
-
#### `@mui/x-date-pickers@7.22.2`
|
|
52
|
-
|
|
53
|
-
- [pickers] Add support for `moment-hijri@3.0.0` (#15248) @LukasTy
|
|
54
|
-
|
|
55
|
-
#### `@mui/x-date-pickers-pro@7.22.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
56
|
-
|
|
57
|
-
Same changes as in `@mui/x-date-pickers@7.22.2`.
|
|
58
|
-
|
|
59
|
-
### Charts
|
|
60
|
-
|
|
61
|
-
#### `@mui/x-charts@7.22.2`
|
|
8
|
+
## 8.0.0-alpha.0
|
|
62
9
|
|
|
63
|
-
|
|
64
|
-
- [charts] Allow configuring the `domainLimit` for each axis. (#15325) @GuillaumeMeheut
|
|
10
|
+
<img width="100%" alt="MUI X v8 Alpha is live" src="https://github.com/user-attachments/assets/114cf615-b617-435f-8499-76ac3c26c57b">
|
|
65
11
|
|
|
66
|
-
|
|
12
|
+
_Nov 14, 2024_
|
|
67
13
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
## 7.22.1
|
|
71
|
-
|
|
72
|
-
_Nov 1, 2024_
|
|
73
|
-
|
|
74
|
-
We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
|
|
14
|
+
We'd like to offer a big thanks to the 22 contributors who made this release possible. Here are some highlights ✨:
|
|
75
15
|
|
|
16
|
+
- 🔁 Support [automatic parents and children selection](https://next.mui.com/x/react-tree-view/rich-tree-view/selection/#automatic-parents-and-children-selection) for the Rich Tree View components.
|
|
17
|
+
- 🌍 Improve Greek (el-GR) locale on the Date and Time Pickers components
|
|
18
|
+
- 🌍 Improve Polish (pl-PL) locale on the Data Grid component
|
|
76
19
|
- 🐞 Bugfixes
|
|
77
20
|
- 📚 Documentation improvements
|
|
78
|
-
- 🌍 Improve Polish (pl-PL) locale on the Date Pickers
|
|
79
21
|
|
|
80
|
-
Special thanks go out to the community contributors who have helped make this release possible:
|
|
81
|
-
@
|
|
82
|
-
Following are all team members who have contributed to this release:
|
|
83
|
-
@
|
|
22
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
23
|
+
@belkocik, @GeorgiosDrivas, @k-rajat19, @kalyan90, @DungTiger, @fxnoob, @GuillaumeMeheut
|
|
24
|
+
Following are all team members who have contributed to this release:
|
|
25
|
+
@alexfauquette, @arminmeh, @arthurbalduini, @cherniavskii, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy, @MBilalShafi, @michelengelen, @noraleonte, @oliviertassinari, @romgrk, @samuelsycamore, @joserodolfofreitas.
|
|
84
26
|
|
|
85
27
|
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
86
28
|
|
|
87
29
|
### Data Grid
|
|
88
30
|
|
|
89
|
-
#### `@mui/x-data-grid@
|
|
31
|
+
#### `@mui/x-data-grid@8.0.0-alpha.0`
|
|
90
32
|
|
|
91
|
-
- [DataGrid] Fix
|
|
92
|
-
- [DataGrid] Fix
|
|
93
|
-
- [DataGrid]
|
|
94
|
-
- [DataGrid]
|
|
95
|
-
- [DataGrid]
|
|
33
|
+
- [DataGrid] Fix grid overlay aligment with scroll for rtl (#15072) @kalyan90
|
|
34
|
+
- [DataGrid] Fix resizing right pinned column (#15107) @KenanYusuf
|
|
35
|
+
- [DataGrid] Pass the reason to the `onPaginationModelChange` callback (#13959) @DungTiger
|
|
36
|
+
- [DataGrid] Set default overlay height in flex parent layout (#15202) @cherniavskii
|
|
37
|
+
- [DataGrid] Refactor `baseMenuList` and `baseMenuItem` (#15049) @romgrk
|
|
38
|
+
- [DataGrid] Remove more material imports (#15063) @romgrk
|
|
39
|
+
- [l10n] Improve Polish (pl-PL) locale (#15227) @belkocik
|
|
96
40
|
|
|
97
|
-
#### `@mui/x-data-grid-pro@
|
|
41
|
+
#### `@mui/x-data-grid-pro@8.0.0-alpha.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
98
42
|
|
|
99
|
-
Same changes as in `@mui/x-data-grid@
|
|
43
|
+
Same changes as in `@mui/x-data-grid@8.0.0-alpha.0`, plus:
|
|
100
44
|
|
|
101
|
-
- [DataGridPro]
|
|
45
|
+
- [DataGridPro] Fix column pinning layout (#14966) @cherniavskii
|
|
102
46
|
|
|
103
|
-
#### `@mui/x-data-grid-premium@
|
|
47
|
+
#### `@mui/x-data-grid-premium@8.0.0-alpha.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
104
48
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
### Date and Time Pickers
|
|
49
|
+
Same changes as in `@mui/x-data-grid-pro@8.0.0-alpha.0`, plus:
|
|
108
50
|
|
|
109
|
-
|
|
51
|
+
- [DataGridPremium] Server-side data source with row grouping (#13826) @MBilalShafi
|
|
110
52
|
|
|
111
|
-
|
|
53
|
+
### Date and Time Pickers
|
|
112
54
|
|
|
113
|
-
####
|
|
55
|
+
#### Breaking changes
|
|
114
56
|
|
|
115
|
-
|
|
57
|
+
- The default DOM structure of the field has changed [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#new-dom-structure-for-the-field).
|
|
116
58
|
|
|
117
|
-
|
|
59
|
+
- Before version `v8.x`, the fields' DOM structure consisted of an `<input />`, which held the whole value for the component, but unfortunately presents a few limitations in terms of accessibility when managing multiple section values.
|
|
60
|
+
- Starting with version `v8.x`, all the field and picker components come with a new DOM structure that allows the field component to set aria attributes on individual sections, providing a far better experience with screen readers.
|
|
118
61
|
|
|
119
|
-
|
|
62
|
+
- Some translation keys no longer require `utils` and the date object as parameters, but only the formatted value as a string. The keys affected by this changes are: `clockLabelText`, `openDatePickerDialogue` and `openTimePickerDialogue` — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#stop-passing-utils-and-the-date-object-to-some-translation-keys).
|
|
120
63
|
|
|
121
|
-
-
|
|
122
|
-
- [TreeView] Fix drag and drop color usage (#15149) @LukasTy
|
|
64
|
+
- The following types are no longer exported by `@mui/x-date-pickers` and `@mui/x-date-pickers-pro` — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#removed-types).
|
|
123
65
|
|
|
124
|
-
|
|
66
|
+
- `UseDateFieldComponentProps`
|
|
67
|
+
- `UseTimeFieldComponentProps`
|
|
68
|
+
- `UseDateTimeFieldComponentProps`
|
|
69
|
+
- `BaseSingleInputFieldProps`
|
|
70
|
+
- `BaseMultiInputFieldProps`
|
|
71
|
+
- `BasePickersTextFieldProps`
|
|
125
72
|
|
|
126
|
-
|
|
73
|
+
- The `TDate` generic has been removed from all the types, interfaces, and variables of the `@mui/x-date-pickers` and `@mui/x-date-pickers-pro` packages — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#remove-tdate-generic).
|
|
127
74
|
|
|
128
|
-
|
|
75
|
+
- Renamed `usePickersTranslations` and `usePickersContext` hooks to have a coherent `Picker` prefix instead of `Pickers` — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#renamed-variables).
|
|
129
76
|
|
|
130
|
-
-
|
|
77
|
+
- The `LicenseInfo` object is no longer exported from the `@mui/x-date-pickers-pro` package — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#stop-using-licenseinfo-from-mui-x-date-pickers-pro).
|
|
131
78
|
|
|
132
|
-
|
|
79
|
+
#### `@mui/x-date-pickers@8.0.0-alpha.0`
|
|
133
80
|
|
|
134
|
-
|
|
81
|
+
- [fields] Enable the new field DOM structure by default (#14651) @flaviendelangle
|
|
82
|
+
- [fields] Remove `UseDateFieldComponentProps` and equivalent interfaces (#15053) @flaviendelangle
|
|
83
|
+
- [fields] Remove clear button from the tab sequence (#14616) @k-rajat19
|
|
84
|
+
- [l10n] Improve Greek (el-GR) locale (#15250) @GeorgiosDrivas
|
|
85
|
+
- [pickers] Clean definition of validation props (#15198) @flaviendelangle
|
|
86
|
+
- [pickers] Clean the new `ownerState` object (#15056) @flaviendelangle
|
|
87
|
+
- [pickers] Correctly type the `ownerState` of the `field` and `actionBar` slots when resolved in a picker component (#15162) @flaviendelangle
|
|
88
|
+
- [pickers] Fix `DateCalendar` timezone management (#12321) @LukasTy
|
|
89
|
+
- [pickers] Fix `DateTimeRangePicker` error when using format without time (#14917) @fxnoob
|
|
90
|
+
- [pickers] Fix `DigitalClock` time options on a `DST` switch day (#10793) @LukasTy
|
|
91
|
+
- [pickers] Remove `TDate` generics in favor of `PickerValidDate` direct usage (#15001) @flaviendelangle
|
|
92
|
+
- [pickers] Remove `utils` and `value` params from translations (#14986) @arthurbalduini
|
|
93
|
+
- [pickers] Remove plural in "Pickers" on recently introduced APIs (#15297) @flaviendelangle
|
|
94
|
+
- [pickers] Remove the re-export from `@mui/x-license` (#14487) @k-rajat19
|
|
95
|
+
- [pickers] Strictly type the props a picker passes to its field, and migrate all the custom field demos accordingly (#15197) @flaviendelangle
|
|
96
|
+
- [pickers] Unify JSDoc for all the `disabled` and `readOnly` props (#15304) @flaviendelangle
|
|
97
|
+
- [pickers] Use the new `ownerState` in `DateCalendar`, `DateRangeCalendar`, `MonthCalendar` and `YearCalendar` (#15171) @flaviendelangle
|
|
98
|
+
- [pickers] Use the new `ownerState` in `usePickersLayout` and `useXXXPicker` (#14994) @flaviendelangle
|
|
135
99
|
|
|
136
|
-
|
|
100
|
+
#### `@mui/x-date-pickers-pro@8.0.0-alpha.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
137
101
|
|
|
138
|
-
|
|
139
|
-
- 🐞 Bugfixes
|
|
140
|
-
- 📚 Documentation improvements
|
|
141
|
-
- 🌍 Improve Portuguese (pt-BR) locale on the Data Grid component
|
|
102
|
+
Same changes as in `@mui/x-date-pickers@8.0.0-alpha.0`.
|
|
142
103
|
|
|
143
|
-
|
|
144
|
-
@clins1994, @GITPHLAP, @k-rajat19, @kalyan90, @merotosc, @yash49.
|
|
145
|
-
Following are all team members who have contributed to this release:
|
|
146
|
-
@cherniavskii, @flaviendelangle, @LukasTy, @MBilalShafi, @romgrk.
|
|
147
|
-
|
|
148
|
-
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
149
|
-
|
|
150
|
-
### Data Grid
|
|
151
|
-
|
|
152
|
-
#### `@mui/x-data-grid@7.22.0`
|
|
153
|
-
|
|
154
|
-
- [DataGrid] Fix `GridPanelAnchor` positioning (#15022) @k-rajat19
|
|
155
|
-
- [DataGrid] Fix ugly prop-types for the `pageStyle` prop of the `GridPrintExportMenuItem` component (#15015) @flaviendelangle
|
|
156
|
-
- [DataGrid] Fix value type in filter model for number and boolean column type (#14733) @k-rajat19
|
|
157
|
-
- [DataGrid] Focus next row when the focused row is deleted (#15067) @cherniavskii
|
|
158
|
-
- [DataGrid] Remove some usages of `<Box />` and `<Badge />` (#15013) @romgrk
|
|
159
|
-
- [DataGrid] Fix number of rows to display for page size options with negative value (#14890) @kalyan90
|
|
160
|
-
- [l10n] Improve Portuguese (pt-BR) locale (#15021) @k-rajat19
|
|
104
|
+
### Charts
|
|
161
105
|
|
|
162
|
-
####
|
|
106
|
+
#### Breaking changes
|
|
163
107
|
|
|
164
|
-
|
|
108
|
+
- The `legend` prop got removed. To pass props to the legend, use `slotProps={{ legend: { ... } }}` instead. This can be automatically done with the codemod as long as the `legend` prop does not come from a destructured object — [Learn more](https://next.mui.com/x/migration/migration-charts-v7/#legend-props-propagation-✅).
|
|
165
109
|
|
|
166
|
-
-
|
|
110
|
+
- The `slots.legend` does not receive the `drawingArea` prop. You can still access your custom legend with the `useDrawingArea()` hook if your custom legend needs it.
|
|
167
111
|
|
|
168
|
-
|
|
112
|
+
- Removed or renamed multiple props from Series — [Learn more](https://next.mui.com/x/migration/migration-charts-v7/#series-properties-renaming).
|
|
169
113
|
|
|
170
|
-
|
|
114
|
+
- The `highlighted` and `faded` properties of highlightScope were deprecated in favor of `highlight` and `fade`.
|
|
115
|
+
The deprecated ones are now removed.
|
|
116
|
+
- The `xAxisKey`, `yAxisKey`, and `zAxisKey` properties got deprecated in favor of `xAxisId`, `yAxisId`, and `zAxisId`.
|
|
171
117
|
|
|
172
|
-
-
|
|
118
|
+
- The Pie Chart lost all props and renderer linked to axes because pie chart does not need cartesian axes. If you used it, you can still add them back with composition. Please consider opening an issue to share your use case with us — [Learn more](https://next.mui.com/x/migration/migration-charts-v7/#remove-pie-chart-axes).
|
|
173
119
|
|
|
174
|
-
|
|
120
|
+
#### `@mui/x-charts@8.0.0-alpha.0`
|
|
175
121
|
|
|
176
|
-
|
|
122
|
+
- [charts] Introduce `hideLegend` prop (#15277) @alexfauquette
|
|
123
|
+
- [charts] Filter items outside the drawing area for performance (#14281) @alexfauquette
|
|
124
|
+
- [charts] Fix log scale with `null` data (#15337) @alexfauquette
|
|
125
|
+
- [charts] Fix tooltip follow mouse (#15189) @alexfauquette
|
|
126
|
+
- [charts] Remove `xAxisKey`, `yAxisKey`, and `zAxisKey` series keys (#15192) @alexfauquette
|
|
127
|
+
- [charts] Remove axis from the pie chart (#15187) @alexfauquette
|
|
128
|
+
- [charts] Remove deprecated `legend` props (#15081) @alexfauquette
|
|
129
|
+
- [charts] Remove deprecated highlight properties (#15191) @alexfauquette
|
|
130
|
+
- [charts] Update Popper position outside of React (#15003) @alexfauquette
|
|
131
|
+
- [charts] Improve the performance of the `getSymbol` method (#15233) @romgrk
|
|
177
132
|
|
|
178
|
-
- [
|
|
179
|
-
- [pickers] Fix `DigitalClock` time options on a `DST` switch day (#15092) @LukasTy
|
|
133
|
+
#### `@mui/x-charts-pro@8.0.0-alpha.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
180
134
|
|
|
181
|
-
|
|
135
|
+
Same changes as in `@mui/x-charts@8.0.0-alpha.0`.
|
|
182
136
|
|
|
183
|
-
|
|
137
|
+
### Tree View
|
|
184
138
|
|
|
185
|
-
|
|
139
|
+
#### Breaking changes
|
|
186
140
|
|
|
187
|
-
|
|
141
|
+
- The `ContentComponent` or `ContentProps` props of the `<TreeItem />` component have been removed in favor of the new `slots`, `slotProps` props and of the `useTreeItem` hook — [Learn more](https://next.mui.com/x/migration/migration-tree-view-v7/#new-api-to-customize-the-tree-item).
|
|
188
142
|
|
|
189
|
-
-
|
|
143
|
+
- The `onClick` and `onMouseDown` callbacks of the Tree Item component are now passed to the root element instead of the content — [Learn more](https://next.mui.com/x/migration/migration-tree-view-v7/#behavior-change-on-the-onclick-and-onmousedown-props-of-treeitem).
|
|
190
144
|
|
|
191
|
-
|
|
145
|
+
- Rename the `<TreeItem2 />` component (and related utils) — [Learn more](https://next.mui.com/x/migration/migration-tree-view-v7/#✅-rename-the-treeitem2-and-related-utils).
|
|
192
146
|
|
|
193
|
-
|
|
147
|
+
- The `<TreeView />` component has been renamed `<SimpleTreeView />` which has exactly the same API — [Learn more](https://next.mui.com/x/migration/migration-tree-view-v7/#✅-use-simple-tree-view-instead-of-tree-view).
|
|
194
148
|
|
|
195
|
-
|
|
149
|
+
- The indentation of nested Tree Items is now applied on the content of the element — [Learn more](https://next.mui.com/x/migration/migration-tree-view-v7/#apply-the-indentation-on-the-item-content-instead-of-its-parents-group).
|
|
196
150
|
|
|
197
|
-
#### `@mui/x-tree-view@
|
|
151
|
+
#### `@mui/x-tree-view@8.0.0-alpha.0`
|
|
198
152
|
|
|
199
|
-
- [TreeView]
|
|
153
|
+
- [TreeView] Always apply the indentation on the item content instead of its parent's group (#15089) @flaviendelangle
|
|
154
|
+
- [TreeView] Automatic parents and children selection (#14899) @flaviendelangle
|
|
155
|
+
- [TreeView] Remove deprecated `TreeView` component (#15093) @flaviendelangle
|
|
156
|
+
- [TreeView] Replace `<TreeItem />` with `<TreeItem2 />` and migrate all the components and utils (#14913) @flaviendelangle
|
|
200
157
|
|
|
201
158
|
### Docs
|
|
202
159
|
|
|
203
|
-
- [docs]
|
|
160
|
+
- [docs] Add docs for rounded symbol (#15324) @GuillaumeMeheut
|
|
161
|
+
- [docs] Add migration guide for the removal of `LicenseInfo` from `@mui/x-date-pickers-pro` (#15321) @flaviendelangle
|
|
162
|
+
- [docs] Add migration guide for the first breaking changes of charts (#15276) @alexfauquette
|
|
163
|
+
- [docs] Add `PickersPopper` component to the Date Picker customization playground (#15305) @LukasTy
|
|
164
|
+
- [docs] Add v8 to supported releases table (#15384) @joserodolfofreitas
|
|
165
|
+
- [docs] Apply the new DX to the Button Field demos (#14860) @flaviendelangle
|
|
166
|
+
- [docs] Apply the new DX to the `Autocomplete` Field demo (#15165) @flaviendelangle
|
|
167
|
+
- [docs] Cleanup the pickers migration guide (#15310) @flaviendelangle
|
|
168
|
+
- [docs] Copyedit the Charts Getting Started sequence (#14962) @samuelsycamore
|
|
169
|
+
- [docs] Create Pickers masked field recipe (#13515) @flaviendelangle
|
|
170
|
+
- [docs] Fix `applyDomain` docs for the charts (#15332) @JCQuintas
|
|
171
|
+
- [docs] Fix link to private notion page (#15396) @michelengelen
|
|
172
|
+
- [docs] Fix missing punctuation on descriptions (#15229) @oliviertassinari
|
|
173
|
+
- [docs] Fix peer dependency range (#15281) @oliviertassinari
|
|
174
|
+
- [docs] Fix small Tree View typo (#15390) @oliviertassinari
|
|
175
|
+
- [docs] Fix the `AdapterMomentHijri` doc section (#15312) @flaviendelangle
|
|
176
|
+
- [docs] Replace the Tree Item anatomy images (#15066) @noraleonte
|
|
177
|
+
- [docs] Start v8 migration guides (#15096) @MBilalShafi
|
|
178
|
+
- [docs] Subdivide and reorganize navigation bar (#15014) @samuelsycamore
|
|
179
|
+
- [docs] Use `PickersTextField` in the customization playground (#15288) @LukasTy
|
|
180
|
+
- [docs] Use `next` instead of `^8.0.0` in the migration guides (#15091) @flaviendelangle
|
|
204
181
|
|
|
205
182
|
### Core
|
|
206
183
|
|
|
207
|
-
- [core] Adjust cherry-pick
|
|
208
|
-
- [core]
|
|
209
|
-
- [core]
|
|
210
|
-
- [
|
|
184
|
+
- [core] Adjust the `cherry-pick` GitHub actions (#15099) @LukasTy
|
|
185
|
+
- [core] Add `()` at the name of function name in the doc (#15075) @oliviertassinari
|
|
186
|
+
- [core] Clarify release version bump strategy (#15219) @cherniavskii
|
|
187
|
+
- [core] Fix CodeSandbox and StackBlitz for next doc-infra sync @oliviertassinari
|
|
188
|
+
- [core] Fix Vale error on `master` @oliviertassinari
|
|
189
|
+
- [core] Fix changelog reference to VoiceOver @oliviertassinari
|
|
190
|
+
- [core] Fix `tools-public.mui.com` redirection @oliviertassinari
|
|
191
|
+
- [core] Fix webpack capitalization (#15353) @oliviertassinari
|
|
192
|
+
- [core] Move `helpers` to `@mui/x-internals` package (#15188) @LukasTy
|
|
193
|
+
- [code-infra] Set renovate to automerge devDependencies (#13463) @JCQuintas
|
|
194
|
+
- [infra] Reintroduce the cherry pick workflow (#15293) @michelengelen
|
|
195
|
+
- [core] Remove duplicate title header (#15389) @oliviertassinari
|
|
196
|
+
- [release] v8 preparation (#15054) @michelengelen
|
|
197
|
+
- [test] Fix advanced list view regression test snapshot (#15260) @KenanYusuf
|
|
211
198
|
|
|
212
199
|
## 7.21.0
|
|
213
200
|
|
|
@@ -275,7 +262,7 @@ Same changes as in `@mui/x-charts@7.21.0`.
|
|
|
275
262
|
|
|
276
263
|
#### `@mui/x-tree-view@7.21.0`
|
|
277
264
|
|
|
278
|
-
- [TreeView] Fix `alpha` usage with CSS variables (#14969) @wangkailang
|
|
265
|
+
- [TreeView] Fix `alpha()` usage with CSS variables (#14969) @wangkailang
|
|
279
266
|
- [TreeView] Fix usage of the `aria-selected` attribute (#14991) @flaviendelangle
|
|
280
267
|
- [TreeView] Fix hydration error (#15002) @flaviendelangle
|
|
281
268
|
|
|
@@ -495,7 +482,7 @@ Same changes as in `@mui/x-charts@7.19.0`.
|
|
|
495
482
|
- [code-infra] Remove custom playwright installation steps (#14728) @Janpot
|
|
496
483
|
- [code-infra] Replace or remove all instances of `e` identifier (#14724) @samuelsycamore
|
|
497
484
|
- [infra] Adds community contribution section to the changelog script (#14799) @michelengelen
|
|
498
|
-
- [infra] Fix line break in Stack
|
|
485
|
+
- [infra] Fix line break in Stack Overflow message @oliviertassinari
|
|
499
486
|
- [test] Fix `Escape` event firing event (#14797) @oliviertassinari
|
|
500
487
|
|
|
501
488
|
## 7.18.0
|
|
@@ -587,7 +574,7 @@ Same changes as in `@mui/x-charts@7.18.0`.
|
|
|
587
574
|
- [core] Fix 301 link to Next.js and git diff @oliviertassinari
|
|
588
575
|
- [core] Fix failing CI on `master` (#14644) @cherniavskii
|
|
589
576
|
- [core] Fix `package.json` repository rule @oliviertassinari
|
|
590
|
-
- [core] MUI
|
|
577
|
+
- [core] MUI X repository moved to a new location @oliviertassinari
|
|
591
578
|
- [docs-infra] Strengthen CSP (#14581) @oliviertassinari
|
|
592
579
|
- [license] Finish renaming of LicensingModel (#14615) @oliviertassinari
|
|
593
580
|
|
|
@@ -611,7 +598,7 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
|
|
|
611
598
|
|
|
612
599
|
- [DataGrid] Add "does not equal" and "does not contain" filter operators (#14489) @KenanYusuf
|
|
613
600
|
- [DataGrid] Add demo to the "Custom columns" page that does not use generator (#13695) @arminmeh
|
|
614
|
-
- [DataGrid] Fix
|
|
601
|
+
- [DataGrid] Fix VoiceOver reading the column name twice (#14482) @arminmeh
|
|
615
602
|
- [DataGrid] Fix bug in CRUD example (#14513) @michelengelen
|
|
616
603
|
- [DataGrid] Fix failing jsdom tests caused by `:has()` selectors (#14559) @KenanYusuf
|
|
617
604
|
- [DataGrid] Refactor string operator filter functions (#14564) @KenanYusuf
|
|
@@ -1067,10 +1054,9 @@ No changes since `@mui/x-tree-view@7.12.0`.
|
|
|
1067
1054
|
|
|
1068
1055
|
### Docs
|
|
1069
1056
|
|
|
1070
|
-
- [docs] Add a warning to promote the usage of `updateRows` (#14027) @MBilalShafi
|
|
1057
|
+
- [docs] Add a warning to promote the usage of `updateRows()` (#14027) @MBilalShafi
|
|
1071
1058
|
- [docs] Disable ad in `Rich Tree View-Ordering` page (#14123) @oliviertassinari
|
|
1072
1059
|
- [docs] Redesign Date and Time Pickers overview page (#13241) @noraleonte
|
|
1073
|
-
|
|
1074
1060
|
- [CHANGELOG] Polish details @oliviertassinari
|
|
1075
1061
|
- [code-infra] Use concurrency 1 in CircleCI (#14110) @JCQuintas
|
|
1076
1062
|
- [infra] Re-added the removal of `Latest Version` section (#14132) @michelengelen
|
|
@@ -1431,7 +1417,7 @@ _Jul 5, 2024_
|
|
|
1431
1417
|
We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
|
|
1432
1418
|
|
|
1433
1419
|
- 🔄 Add loading overlay variants, including a skeleton loader option to the Data Grid component. See [Loading overlay docs](https://mui.com/x/react-data-grid/overlays/#loading-overlay) for more details.
|
|
1434
|
-
- 🌳 Add `selectItem` and `getItemDOMElement` methods to the TreeView component public API
|
|
1420
|
+
- 🌳 Add `selectItem()` and `getItemDOMElement()` methods to the TreeView component public API
|
|
1435
1421
|
- ⛏️ Make the `usePickersTranslations` hook public in the pickers component
|
|
1436
1422
|
- 🐞 Bugfixes
|
|
1437
1423
|
|
|
@@ -1476,7 +1462,7 @@ Same changes as in `@mui/x-date-pickers@7.9.0`.
|
|
|
1476
1462
|
|
|
1477
1463
|
#### `@mui/x-tree-view@7.9.0`
|
|
1478
1464
|
|
|
1479
|
-
- [TreeView] Add `selectItem` and `getItemDOMElement` methods to the public API (#13485) @flaviendelangle
|
|
1465
|
+
- [TreeView] Add `selectItem()` and `getItemDOMElement()` methods to the public API (#13485) @flaviendelangle
|
|
1480
1466
|
|
|
1481
1467
|
### Docs
|
|
1482
1468
|
|
|
@@ -3108,7 +3094,8 @@ Same changes as in `@mui/x-data-grid-pro@7.0.0-beta.4`.
|
|
|
3108
3094
|
```
|
|
3109
3095
|
|
|
3110
3096
|
- The headless field hooks (e.g.: `useDateField`) now returns a new prop called `enableAccessibleFieldDOMStructure`.
|
|
3111
|
-
This property is utilized to determine whether the anticipated UI is constructed using an accessible DOM structure.
|
|
3097
|
+
This property is utilized to determine whether the anticipated UI is constructed using an accessible DOM structure.
|
|
3098
|
+
Learn more about this new accessible DOM structure in the [v8 migration guide](https://next.mui.com/x/migration/migration-pickers-v7/#new-dom-structure-for-the-field).
|
|
3112
3099
|
|
|
3113
3100
|
When building a custom UI, you are most-likely only supporting one DOM structure, so you can remove `enableAccessibleFieldDOMStructure` before it is passed to the DOM:
|
|
3114
3101
|
|
package/README.md
CHANGED
|
@@ -11,11 +11,11 @@ Install the package in your project directory with:
|
|
|
11
11
|
npm install @mui/x-data-grid-premium
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
This component has the following peer dependencies that you
|
|
14
|
+
This component has the following peer dependencies that you need to install as well.
|
|
15
15
|
|
|
16
16
|
```json
|
|
17
17
|
"peerDependencies": {
|
|
18
|
-
"@mui/material": "^5.15.14",
|
|
18
|
+
"@mui/material": "^5.15.14 || ^6.0.0",
|
|
19
19
|
"react": "^17.0.0 || ^18.0.0",
|
|
20
20
|
"react-dom": "^17.0.0 || ^18.0.0"
|
|
21
21
|
},
|
|
@@ -12,13 +12,11 @@ var _toPropertyKey2 = _interopRequireDefault(require("@babel/runtime/helpers/toP
|
|
|
12
12
|
var React = _interopRequireWildcard(require("react"));
|
|
13
13
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
14
14
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
15
|
-
var _MenuItem = _interopRequireDefault(require("@mui/material/MenuItem"));
|
|
16
15
|
var _ListItemIcon = _interopRequireDefault(require("@mui/material/ListItemIcon"));
|
|
17
16
|
var _ListItemText = _interopRequireDefault(require("@mui/material/ListItemText"));
|
|
18
17
|
var _FormControl = _interopRequireDefault(require("@mui/material/FormControl"));
|
|
19
18
|
var _InputLabel = _interopRequireDefault(require("@mui/material/InputLabel"));
|
|
20
19
|
var _utils = require("@mui/utils");
|
|
21
|
-
var _Select = _interopRequireDefault(require("@mui/material/Select"));
|
|
22
20
|
var _useGridApiContext = require("../hooks/utils/useGridApiContext");
|
|
23
21
|
var _useGridRootProps = require("../hooks/utils/useGridRootProps");
|
|
24
22
|
var _gridAggregationUtils = require("../hooks/features/aggregation/gridAggregationUtils");
|
|
@@ -62,7 +60,7 @@ function GridColumnMenuAggregationItem(props) {
|
|
|
62
60
|
apiRef.current.hideColumnMenu();
|
|
63
61
|
};
|
|
64
62
|
const label = apiRef.current.getLocaleText('aggregationMenuItemHeader');
|
|
65
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(
|
|
63
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(rootProps.slots.baseMenuItem, {
|
|
66
64
|
disableRipple: true,
|
|
67
65
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ListItemIcon.default, {
|
|
68
66
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(rootProps.slots.columnMenuAggregationIcon, {
|
|
@@ -78,7 +76,7 @@ function GridColumnMenuAggregationItem(props) {
|
|
|
78
76
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_InputLabel.default, {
|
|
79
77
|
id: `${id}-label`,
|
|
80
78
|
children: label
|
|
81
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(
|
|
79
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(rootProps.slots.baseSelect, {
|
|
82
80
|
labelId: `${id}-label`,
|
|
83
81
|
id: `${id}-input`,
|
|
84
82
|
value: selectedAggregationRule,
|
|
@@ -87,10 +85,10 @@ function GridColumnMenuAggregationItem(props) {
|
|
|
87
85
|
onChange: handleAggregationItemChange,
|
|
88
86
|
onBlur: event => event.stopPropagation(),
|
|
89
87
|
fullWidth: true,
|
|
90
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
88
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(rootProps.slots.baseMenuItem, {
|
|
91
89
|
value: "",
|
|
92
90
|
children: "..."
|
|
93
|
-
}), availableAggregationFunctions.map(aggFunc => /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
91
|
+
}), availableAggregationFunctions.map(aggFunc => /*#__PURE__*/(0, _jsxRuntime.jsx)(rootProps.slots.baseMenuItem, {
|
|
94
92
|
value: aggFunc,
|
|
95
93
|
children: (0, _gridAggregationUtils.getAggregationFunctionLabel)({
|
|
96
94
|
apiRef,
|
|
@@ -7,7 +7,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.GridColumnMenuRowGroupItem = GridColumnMenuRowGroupItem;
|
|
9
9
|
var React = _interopRequireWildcard(require("react"));
|
|
10
|
-
var _MenuItem = _interopRequireDefault(require("@mui/material/MenuItem"));
|
|
11
10
|
var _ListItemIcon = _interopRequireDefault(require("@mui/material/ListItemIcon"));
|
|
12
11
|
var _ListItemText = _interopRequireDefault(require("@mui/material/ListItemText"));
|
|
13
12
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
@@ -32,7 +31,7 @@ function GridColumnMenuRowGroupItem(props) {
|
|
|
32
31
|
};
|
|
33
32
|
const groupedColumn = columnsLookup[field];
|
|
34
33
|
const name = groupedColumn.headerName ?? field;
|
|
35
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(
|
|
34
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(rootProps.slots.baseMenuItem, {
|
|
36
35
|
onClick: ungroupColumn,
|
|
37
36
|
disabled: !groupedColumn.groupable,
|
|
38
37
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ListItemIcon.default, {
|
|
@@ -7,7 +7,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.GridColumnMenuRowUngroupItem = GridColumnMenuRowUngroupItem;
|
|
9
9
|
var React = _interopRequireWildcard(require("react"));
|
|
10
|
-
var _MenuItem = _interopRequireDefault(require("@mui/material/MenuItem"));
|
|
11
10
|
var _ListItemIcon = _interopRequireDefault(require("@mui/material/ListItemIcon"));
|
|
12
11
|
var _ListItemText = _interopRequireDefault(require("@mui/material/ListItemText"));
|
|
13
12
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
@@ -37,7 +36,7 @@ function GridColumnMenuRowUngroupItem(props) {
|
|
|
37
36
|
};
|
|
38
37
|
const name = columnsLookup[colDef.field].headerName ?? colDef.field;
|
|
39
38
|
if (rowGroupingModel.includes(colDef.field)) {
|
|
40
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(
|
|
39
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(rootProps.slots.baseMenuItem, {
|
|
41
40
|
onClick: ungroupColumn,
|
|
42
41
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ListItemIcon.default, {
|
|
43
42
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(rootProps.slots.columnMenuUngroupIcon, {
|
|
@@ -48,7 +47,7 @@ function GridColumnMenuRowUngroupItem(props) {
|
|
|
48
47
|
})]
|
|
49
48
|
});
|
|
50
49
|
}
|
|
51
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(
|
|
50
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(rootProps.slots.baseMenuItem, {
|
|
52
51
|
onClick: groupColumn,
|
|
53
52
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ListItemIcon.default, {
|
|
54
53
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(rootProps.slots.columnMenuGroupIcon, {
|
|
@@ -10,18 +10,19 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
10
10
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
-
var _MenuItem = _interopRequireDefault(require("@mui/material/MenuItem"));
|
|
14
13
|
var _useGridApiContext = require("../hooks/utils/useGridApiContext");
|
|
14
|
+
var _useGridRootProps = require("../hooks/utils/useGridRootProps");
|
|
15
15
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
16
|
const _excluded = ["hideMenu", "options"];
|
|
17
17
|
function GridExcelExportMenuItem(props) {
|
|
18
18
|
const apiRef = (0, _useGridApiContext.useGridApiContext)();
|
|
19
|
+
const rootProps = (0, _useGridRootProps.useGridRootProps)();
|
|
19
20
|
const {
|
|
20
21
|
hideMenu,
|
|
21
22
|
options
|
|
22
23
|
} = props,
|
|
23
24
|
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
24
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
25
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(rootProps.slots.baseMenuItem, (0, _extends2.default)({
|
|
25
26
|
onClick: () => {
|
|
26
27
|
apiRef.current.exportDataAsExcel(options);
|
|
27
28
|
hideMenu?.();
|
|
@@ -4,13 +4,11 @@ import _toPropertyKey from "@babel/runtime/helpers/esm/toPropertyKey";
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import { useGridSelector } from '@mui/x-data-grid-pro';
|
|
7
|
-
import MenuItem from '@mui/material/MenuItem';
|
|
8
7
|
import ListItemIcon from '@mui/material/ListItemIcon';
|
|
9
8
|
import ListItemText from '@mui/material/ListItemText';
|
|
10
9
|
import FormControl from '@mui/material/FormControl';
|
|
11
10
|
import InputLabel from '@mui/material/InputLabel';
|
|
12
11
|
import { unstable_useId as useId } from '@mui/utils';
|
|
13
|
-
import Select from '@mui/material/Select';
|
|
14
12
|
import { useGridApiContext } from "../hooks/utils/useGridApiContext.js";
|
|
15
13
|
import { useGridRootProps } from "../hooks/utils/useGridRootProps.js";
|
|
16
14
|
import { canColumnHaveAggregationFunction, getAggregationFunctionLabel, getAvailableAggregationFunctions } from "../hooks/features/aggregation/gridAggregationUtils.js";
|
|
@@ -54,7 +52,7 @@ function GridColumnMenuAggregationItem(props) {
|
|
|
54
52
|
apiRef.current.hideColumnMenu();
|
|
55
53
|
};
|
|
56
54
|
const label = apiRef.current.getLocaleText('aggregationMenuItemHeader');
|
|
57
|
-
return /*#__PURE__*/_jsxs(
|
|
55
|
+
return /*#__PURE__*/_jsxs(rootProps.slots.baseMenuItem, {
|
|
58
56
|
disableRipple: true,
|
|
59
57
|
children: [/*#__PURE__*/_jsx(ListItemIcon, {
|
|
60
58
|
children: /*#__PURE__*/_jsx(rootProps.slots.columnMenuAggregationIcon, {
|
|
@@ -70,7 +68,7 @@ function GridColumnMenuAggregationItem(props) {
|
|
|
70
68
|
children: [/*#__PURE__*/_jsx(InputLabel, {
|
|
71
69
|
id: `${id}-label`,
|
|
72
70
|
children: label
|
|
73
|
-
}), /*#__PURE__*/_jsxs(
|
|
71
|
+
}), /*#__PURE__*/_jsxs(rootProps.slots.baseSelect, {
|
|
74
72
|
labelId: `${id}-label`,
|
|
75
73
|
id: `${id}-input`,
|
|
76
74
|
value: selectedAggregationRule,
|
|
@@ -79,10 +77,10 @@ function GridColumnMenuAggregationItem(props) {
|
|
|
79
77
|
onChange: handleAggregationItemChange,
|
|
80
78
|
onBlur: event => event.stopPropagation(),
|
|
81
79
|
fullWidth: true,
|
|
82
|
-
children: [/*#__PURE__*/_jsx(
|
|
80
|
+
children: [/*#__PURE__*/_jsx(rootProps.slots.baseMenuItem, {
|
|
83
81
|
value: "",
|
|
84
82
|
children: "..."
|
|
85
|
-
}), availableAggregationFunctions.map(aggFunc => /*#__PURE__*/_jsx(
|
|
83
|
+
}), availableAggregationFunctions.map(aggFunc => /*#__PURE__*/_jsx(rootProps.slots.baseMenuItem, {
|
|
86
84
|
value: aggFunc,
|
|
87
85
|
children: getAggregationFunctionLabel({
|
|
88
86
|
apiRef,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import MenuItem from '@mui/material/MenuItem';
|
|
3
2
|
import ListItemIcon from '@mui/material/ListItemIcon';
|
|
4
3
|
import ListItemText from '@mui/material/ListItemText';
|
|
5
4
|
import { useGridSelector, gridColumnLookupSelector } from '@mui/x-data-grid-pro';
|
|
@@ -24,7 +23,7 @@ export function GridColumnMenuRowGroupItem(props) {
|
|
|
24
23
|
};
|
|
25
24
|
const groupedColumn = columnsLookup[field];
|
|
26
25
|
const name = groupedColumn.headerName ?? field;
|
|
27
|
-
return /*#__PURE__*/_jsxs(
|
|
26
|
+
return /*#__PURE__*/_jsxs(rootProps.slots.baseMenuItem, {
|
|
28
27
|
onClick: ungroupColumn,
|
|
29
28
|
disabled: !groupedColumn.groupable,
|
|
30
29
|
children: [/*#__PURE__*/_jsx(ListItemIcon, {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import MenuItem from '@mui/material/MenuItem';
|
|
3
2
|
import ListItemIcon from '@mui/material/ListItemIcon';
|
|
4
3
|
import ListItemText from '@mui/material/ListItemText';
|
|
5
4
|
import { gridColumnLookupSelector, useGridSelector } from '@mui/x-data-grid-pro';
|
|
@@ -29,7 +28,7 @@ export function GridColumnMenuRowUngroupItem(props) {
|
|
|
29
28
|
};
|
|
30
29
|
const name = columnsLookup[colDef.field].headerName ?? colDef.field;
|
|
31
30
|
if (rowGroupingModel.includes(colDef.field)) {
|
|
32
|
-
return /*#__PURE__*/_jsxs(
|
|
31
|
+
return /*#__PURE__*/_jsxs(rootProps.slots.baseMenuItem, {
|
|
33
32
|
onClick: ungroupColumn,
|
|
34
33
|
children: [/*#__PURE__*/_jsx(ListItemIcon, {
|
|
35
34
|
children: /*#__PURE__*/_jsx(rootProps.slots.columnMenuUngroupIcon, {
|
|
@@ -40,7 +39,7 @@ export function GridColumnMenuRowUngroupItem(props) {
|
|
|
40
39
|
})]
|
|
41
40
|
});
|
|
42
41
|
}
|
|
43
|
-
return /*#__PURE__*/_jsxs(
|
|
42
|
+
return /*#__PURE__*/_jsxs(rootProps.slots.baseMenuItem, {
|
|
44
43
|
onClick: groupColumn,
|
|
45
44
|
children: [/*#__PURE__*/_jsx(ListItemIcon, {
|
|
46
45
|
children: /*#__PURE__*/_jsx(rootProps.slots.columnMenuGroupIcon, {
|
|
@@ -3,17 +3,18 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWith
|
|
|
3
3
|
const _excluded = ["hideMenu", "options"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
|
-
import MenuItem from '@mui/material/MenuItem';
|
|
7
6
|
import { useGridApiContext } from "../hooks/utils/useGridApiContext.js";
|
|
7
|
+
import { useGridRootProps } from "../hooks/utils/useGridRootProps.js";
|
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
9
|
function GridExcelExportMenuItem(props) {
|
|
10
10
|
const apiRef = useGridApiContext();
|
|
11
|
+
const rootProps = useGridRootProps();
|
|
11
12
|
const {
|
|
12
13
|
hideMenu,
|
|
13
14
|
options
|
|
14
15
|
} = props,
|
|
15
16
|
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
16
|
-
return /*#__PURE__*/_jsx(
|
|
17
|
+
return /*#__PURE__*/_jsx(rootProps.slots.baseMenuItem, _extends({
|
|
17
18
|
onClick: () => {
|
|
18
19
|
apiRef.current.exportDataAsExcel(options);
|
|
19
20
|
hideMenu?.();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import
|
|
3
|
+
import ownerDocument from '@mui/utils/ownerDocument';
|
|
4
|
+
import useEventCallback from '@mui/utils/useEventCallback';
|
|
4
5
|
import { getTotalHeaderHeight, getVisibleRows, isNavigationKey, serializeCellValue, useGridRegisterPipeProcessor, useGridVisibleRows } from '@mui/x-data-grid-pro/internals';
|
|
5
6
|
import { useGridApiEventHandler, useGridApiMethod, GRID_ACTIONS_COLUMN_TYPE, GRID_CHECKBOX_SELECTION_COL_DEF, GRID_DETAIL_PANEL_TOGGLE_FIELD, gridRowsDataRowIdToIdLookupSelector, gridClasses, gridFocusCellSelector, GRID_REORDER_COL_DEF, useGridSelector, gridSortedRowIdsSelector, gridDimensionsSelector } from '@mui/x-data-grid-pro';
|
|
6
7
|
import { gridCellSelectionStateSelector } from "./gridCellSelectionSelector.js";
|
package/esm/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 = "MTczMTUzODgwMDAwMA==";
|
|
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
|
|
@@ -8,7 +8,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.useGridCellSelection = exports.cellSelectionStateInitializer = void 0;
|
|
9
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
|
-
var
|
|
11
|
+
var _ownerDocument = _interopRequireDefault(require("@mui/utils/ownerDocument"));
|
|
12
|
+
var _useEventCallback = _interopRequireDefault(require("@mui/utils/useEventCallback"));
|
|
12
13
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
13
14
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
14
15
|
var _gridCellSelectionSelector = require("./gridCellSelectionSelector");
|
|
@@ -141,7 +142,7 @@ const useGridCellSelection = (apiRef, props) => {
|
|
|
141
142
|
}
|
|
142
143
|
return params.rowNode.type !== 'pinnedRow';
|
|
143
144
|
}, [apiRef]);
|
|
144
|
-
const handleMouseUp = (0,
|
|
145
|
+
const handleMouseUp = (0, _useEventCallback.default)(() => {
|
|
145
146
|
lastMouseDownCell.current = null;
|
|
146
147
|
apiRef.current.rootElementRef?.current?.classList.remove(_xDataGridPro.gridClasses['root--disableUserSelection']);
|
|
147
148
|
|
|
@@ -167,7 +168,7 @@ const useGridCellSelection = (apiRef, props) => {
|
|
|
167
168
|
field: params.field
|
|
168
169
|
};
|
|
169
170
|
apiRef.current.rootElementRef?.current?.classList.add(_xDataGridPro.gridClasses['root--disableUserSelection']);
|
|
170
|
-
const document = (0,
|
|
171
|
+
const document = (0, _ownerDocument.default)(apiRef.current.rootElementRef?.current);
|
|
171
172
|
document.addEventListener('mouseup', handleMouseUp, {
|
|
172
173
|
once: true
|
|
173
174
|
});
|
|
@@ -280,7 +281,7 @@ const useGridCellSelection = (apiRef, props) => {
|
|
|
280
281
|
stopAutoScroll();
|
|
281
282
|
}
|
|
282
283
|
}, [apiRef, startAutoScroll, stopAutoScroll, totalHeaderHeight, dimensions]);
|
|
283
|
-
const handleCellClick = (0,
|
|
284
|
+
const handleCellClick = (0, _useEventCallback.default)((params, event) => {
|
|
284
285
|
const {
|
|
285
286
|
id,
|
|
286
287
|
field
|
|
@@ -317,7 +318,7 @@ const useGridCellSelection = (apiRef, props) => {
|
|
|
317
318
|
});
|
|
318
319
|
}
|
|
319
320
|
});
|
|
320
|
-
const handleCellKeyDown = (0,
|
|
321
|
+
const handleCellKeyDown = (0, _useEventCallback.default)((params, event) => {
|
|
321
322
|
if (!(0, _internals.isNavigationKey)(event.key) || !cellWithVirtualFocus.current) {
|
|
322
323
|
return;
|
|
323
324
|
}
|
|
@@ -377,7 +378,7 @@ const useGridCellSelection = (apiRef, props) => {
|
|
|
377
378
|
const rootRef = apiRef.current.rootElementRef?.current;
|
|
378
379
|
return () => {
|
|
379
380
|
stopAutoScroll();
|
|
380
|
-
const document = (0,
|
|
381
|
+
const document = (0, _ownerDocument.default)(rootRef);
|
|
381
382
|
document.removeEventListener('mouseup', handleMouseUp);
|
|
382
383
|
};
|
|
383
384
|
}, [apiRef, hasRootReference, handleMouseUp, stopAutoScroll]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as Excel from 'exceljs';
|
|
2
|
-
import { GridFileExportOptions, GridExportFormat as GridExportFormatCommunity, GridExportExtension as GridExportExtensionCommunity
|
|
2
|
+
import { GridFileExportOptions, GridExportFormat as GridExportFormatCommunity, GridExportExtension as GridExportExtensionCommunity } from '@mui/x-data-grid-pro';
|
|
3
3
|
export type GridExportFormat = GridExportFormatCommunity | 'excel';
|
|
4
4
|
export type GridExportExtension = GridExportExtensionCommunity | 'xlsx';
|
|
5
5
|
export interface GridExceljsProcessInput {
|
|
@@ -51,9 +51,6 @@ export interface GridExcelExportOptions extends GridFileExportOptions {
|
|
|
51
51
|
*/
|
|
52
52
|
includeColumnGroupsHeaders?: boolean;
|
|
53
53
|
}
|
|
54
|
-
export interface GridToolbarExportProps extends GridToolbarExportPropsCommunity {
|
|
55
|
-
excelOptions: GridExcelExportOptions & GridExportDisplayOptions;
|
|
56
|
-
}
|
|
57
54
|
/**
|
|
58
55
|
* The excel export API interface that is available in the grid [[apiRef]].
|
|
59
56
|
*/
|
package/index.js
CHANGED
|
@@ -4,13 +4,11 @@ import _toPropertyKey from "@babel/runtime/helpers/esm/toPropertyKey";
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import { useGridSelector } from '@mui/x-data-grid-pro';
|
|
7
|
-
import MenuItem from '@mui/material/MenuItem';
|
|
8
7
|
import ListItemIcon from '@mui/material/ListItemIcon';
|
|
9
8
|
import ListItemText from '@mui/material/ListItemText';
|
|
10
9
|
import FormControl from '@mui/material/FormControl';
|
|
11
10
|
import InputLabel from '@mui/material/InputLabel';
|
|
12
11
|
import { unstable_useId as useId } from '@mui/utils';
|
|
13
|
-
import Select from '@mui/material/Select';
|
|
14
12
|
import { useGridApiContext } from "../hooks/utils/useGridApiContext.js";
|
|
15
13
|
import { useGridRootProps } from "../hooks/utils/useGridRootProps.js";
|
|
16
14
|
import { canColumnHaveAggregationFunction, getAggregationFunctionLabel, getAvailableAggregationFunctions } from "../hooks/features/aggregation/gridAggregationUtils.js";
|
|
@@ -54,7 +52,7 @@ function GridColumnMenuAggregationItem(props) {
|
|
|
54
52
|
apiRef.current.hideColumnMenu();
|
|
55
53
|
};
|
|
56
54
|
const label = apiRef.current.getLocaleText('aggregationMenuItemHeader');
|
|
57
|
-
return /*#__PURE__*/_jsxs(
|
|
55
|
+
return /*#__PURE__*/_jsxs(rootProps.slots.baseMenuItem, {
|
|
58
56
|
disableRipple: true,
|
|
59
57
|
children: [/*#__PURE__*/_jsx(ListItemIcon, {
|
|
60
58
|
children: /*#__PURE__*/_jsx(rootProps.slots.columnMenuAggregationIcon, {
|
|
@@ -70,7 +68,7 @@ function GridColumnMenuAggregationItem(props) {
|
|
|
70
68
|
children: [/*#__PURE__*/_jsx(InputLabel, {
|
|
71
69
|
id: `${id}-label`,
|
|
72
70
|
children: label
|
|
73
|
-
}), /*#__PURE__*/_jsxs(
|
|
71
|
+
}), /*#__PURE__*/_jsxs(rootProps.slots.baseSelect, {
|
|
74
72
|
labelId: `${id}-label`,
|
|
75
73
|
id: `${id}-input`,
|
|
76
74
|
value: selectedAggregationRule,
|
|
@@ -79,10 +77,10 @@ function GridColumnMenuAggregationItem(props) {
|
|
|
79
77
|
onChange: handleAggregationItemChange,
|
|
80
78
|
onBlur: event => event.stopPropagation(),
|
|
81
79
|
fullWidth: true,
|
|
82
|
-
children: [/*#__PURE__*/_jsx(
|
|
80
|
+
children: [/*#__PURE__*/_jsx(rootProps.slots.baseMenuItem, {
|
|
83
81
|
value: "",
|
|
84
82
|
children: "..."
|
|
85
|
-
}), availableAggregationFunctions.map(aggFunc => /*#__PURE__*/_jsx(
|
|
83
|
+
}), availableAggregationFunctions.map(aggFunc => /*#__PURE__*/_jsx(rootProps.slots.baseMenuItem, {
|
|
86
84
|
value: aggFunc,
|
|
87
85
|
children: getAggregationFunctionLabel({
|
|
88
86
|
apiRef,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import MenuItem from '@mui/material/MenuItem';
|
|
3
2
|
import ListItemIcon from '@mui/material/ListItemIcon';
|
|
4
3
|
import ListItemText from '@mui/material/ListItemText';
|
|
5
4
|
import { useGridSelector, gridColumnLookupSelector } from '@mui/x-data-grid-pro';
|
|
@@ -24,7 +23,7 @@ export function GridColumnMenuRowGroupItem(props) {
|
|
|
24
23
|
};
|
|
25
24
|
const groupedColumn = columnsLookup[field];
|
|
26
25
|
const name = groupedColumn.headerName ?? field;
|
|
27
|
-
return /*#__PURE__*/_jsxs(
|
|
26
|
+
return /*#__PURE__*/_jsxs(rootProps.slots.baseMenuItem, {
|
|
28
27
|
onClick: ungroupColumn,
|
|
29
28
|
disabled: !groupedColumn.groupable,
|
|
30
29
|
children: [/*#__PURE__*/_jsx(ListItemIcon, {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import MenuItem from '@mui/material/MenuItem';
|
|
3
2
|
import ListItemIcon from '@mui/material/ListItemIcon';
|
|
4
3
|
import ListItemText from '@mui/material/ListItemText';
|
|
5
4
|
import { gridColumnLookupSelector, useGridSelector } from '@mui/x-data-grid-pro';
|
|
@@ -29,7 +28,7 @@ export function GridColumnMenuRowUngroupItem(props) {
|
|
|
29
28
|
};
|
|
30
29
|
const name = columnsLookup[colDef.field].headerName ?? colDef.field;
|
|
31
30
|
if (rowGroupingModel.includes(colDef.field)) {
|
|
32
|
-
return /*#__PURE__*/_jsxs(
|
|
31
|
+
return /*#__PURE__*/_jsxs(rootProps.slots.baseMenuItem, {
|
|
33
32
|
onClick: ungroupColumn,
|
|
34
33
|
children: [/*#__PURE__*/_jsx(ListItemIcon, {
|
|
35
34
|
children: /*#__PURE__*/_jsx(rootProps.slots.columnMenuUngroupIcon, {
|
|
@@ -40,7 +39,7 @@ export function GridColumnMenuRowUngroupItem(props) {
|
|
|
40
39
|
})]
|
|
41
40
|
});
|
|
42
41
|
}
|
|
43
|
-
return /*#__PURE__*/_jsxs(
|
|
42
|
+
return /*#__PURE__*/_jsxs(rootProps.slots.baseMenuItem, {
|
|
44
43
|
onClick: groupColumn,
|
|
45
44
|
children: [/*#__PURE__*/_jsx(ListItemIcon, {
|
|
46
45
|
children: /*#__PURE__*/_jsx(rootProps.slots.columnMenuGroupIcon, {
|
|
@@ -3,17 +3,18 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWith
|
|
|
3
3
|
const _excluded = ["hideMenu", "options"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
|
-
import MenuItem from '@mui/material/MenuItem';
|
|
7
6
|
import { useGridApiContext } from "../hooks/utils/useGridApiContext.js";
|
|
7
|
+
import { useGridRootProps } from "../hooks/utils/useGridRootProps.js";
|
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
9
|
function GridExcelExportMenuItem(props) {
|
|
10
10
|
const apiRef = useGridApiContext();
|
|
11
|
+
const rootProps = useGridRootProps();
|
|
11
12
|
const {
|
|
12
13
|
hideMenu,
|
|
13
14
|
options
|
|
14
15
|
} = props,
|
|
15
16
|
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
16
|
-
return /*#__PURE__*/_jsx(
|
|
17
|
+
return /*#__PURE__*/_jsx(rootProps.slots.baseMenuItem, _extends({
|
|
17
18
|
onClick: () => {
|
|
18
19
|
apiRef.current.exportDataAsExcel(options);
|
|
19
20
|
hideMenu?.();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import
|
|
3
|
+
import ownerDocument from '@mui/utils/ownerDocument';
|
|
4
|
+
import useEventCallback from '@mui/utils/useEventCallback';
|
|
4
5
|
import { getTotalHeaderHeight, getVisibleRows, isNavigationKey, serializeCellValue, useGridRegisterPipeProcessor, useGridVisibleRows } from '@mui/x-data-grid-pro/internals';
|
|
5
6
|
import { useGridApiEventHandler, useGridApiMethod, GRID_ACTIONS_COLUMN_TYPE, GRID_CHECKBOX_SELECTION_COL_DEF, GRID_DETAIL_PANEL_TOGGLE_FIELD, gridRowsDataRowIdToIdLookupSelector, gridClasses, gridFocusCellSelector, GRID_REORDER_COL_DEF, useGridSelector, gridSortedRowIdsSelector, gridDimensionsSelector } from '@mui/x-data-grid-pro';
|
|
6
7
|
import { gridCellSelectionStateSelector } from "./gridCellSelectionSelector.js";
|
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 = "MTczMTUzODgwMDAwMA==";
|
|
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": "
|
|
3
|
+
"version": "8.0.0-alpha.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.
|
|
36
|
+
"@babel/runtime": "^7.26.0",
|
|
37
37
|
"@mui/utils": "^5.16.6 || ^6.0.0",
|
|
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
42
|
"reselect": "^5.1.1",
|
|
43
|
-
"@mui/x-data-grid": "
|
|
44
|
-
"@mui/x-data-grid-pro": "
|
|
45
|
-
"@mui/x-internals": "
|
|
46
|
-
"@mui/x-license": "
|
|
43
|
+
"@mui/x-data-grid": "8.0.0-alpha.0",
|
|
44
|
+
"@mui/x-data-grid-pro": "8.0.0-alpha.0",
|
|
45
|
+
"@mui/x-internals": "8.0.0-alpha.0",
|
|
46
|
+
"@mui/x-license": "8.0.0-alpha.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@emotion/react": "^11.9.0",
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { GridValidRowModel } from '@mui/x-data-grid-pro';
|
|
1
|
+
import { GridExportDisplayOptions, GridValidRowModel } from '@mui/x-data-grid-pro';
|
|
2
2
|
import type { GridControlledStateEventLookupPro, GridApiCachesPro, GridEventLookupPro } from '@mui/x-data-grid-pro/typeOverloads';
|
|
3
3
|
import type { GridGroupingValueGetter, GridPastedValueParser } from '../models';
|
|
4
4
|
import type { GridRowGroupingModel, GridAggregationModel, GridAggregationCellMeta, GridAggregationHeaderMeta, GridCellSelectionModel } from '../hooks';
|
|
5
5
|
import { GridRowGroupingInternalCache } from '../hooks/features/rowGrouping/gridRowGroupingInterfaces';
|
|
6
6
|
import { GridAggregationInternalCache } from '../hooks/features/aggregation/gridAggregationInterfaces';
|
|
7
|
+
import type { GridExcelExportOptions } from '../hooks/features/export/gridExcelExportInterface';
|
|
7
8
|
export interface GridControlledStateEventLookupPremium {
|
|
8
9
|
/**
|
|
9
10
|
* Fired when the aggregation model changes.
|
|
@@ -87,6 +88,12 @@ declare module '@mui/x-data-grid-pro' {
|
|
|
87
88
|
}
|
|
88
89
|
interface GridApiCaches extends GridApiCachesPremium {
|
|
89
90
|
}
|
|
91
|
+
interface GridToolbarExportProps {
|
|
92
|
+
excelOptions?: GridExcelExportOptions & GridExportDisplayOptions;
|
|
93
|
+
}
|
|
94
|
+
interface GridToolbarProps {
|
|
95
|
+
excelOptions?: GridExcelExportOptions & GridExportDisplayOptions;
|
|
96
|
+
}
|
|
90
97
|
}
|
|
91
98
|
declare module '@mui/x-data-grid-pro/internals' {
|
|
92
99
|
interface GridApiCaches extends GridApiCachesPremium {
|
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 = "MTczMTUzODgwMDAwMA==";
|
|
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
|