@mui/x-data-grid-premium 7.16.0 → 7.18.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 +184 -4
- package/DataGridPremium/DataGridPremium.js +11 -1
- package/DataGridPremium/useDataGridPremiumComponent.js +2 -0
- package/esm/DataGridPremium/DataGridPremium.js +11 -1
- package/esm/DataGridPremium/useDataGridPremiumComponent.js +3 -1
- package/esm/hooks/features/cellSelection/useGridCellSelection.js +2 -1
- package/esm/hooks/features/clipboard/useGridClipboardImport.js +2 -1
- package/esm/hooks/features/export/serializer/excelSerializer.js +2 -1
- package/esm/utils/releaseInfo.js +1 -1
- package/hooks/features/aggregation/wrapColumnWithAggregation.d.ts +1 -0
- package/hooks/features/cellSelection/useGridCellSelection.js +2 -1
- package/hooks/features/clipboard/useGridClipboardImport.js +2 -1
- package/hooks/features/export/serializer/excelSerializer.js +3 -2
- package/index.js +1 -1
- package/modern/DataGridPremium/DataGridPremium.js +11 -1
- package/modern/DataGridPremium/useDataGridPremiumComponent.js +3 -1
- package/modern/hooks/features/cellSelection/useGridCellSelection.js +2 -1
- package/modern/hooks/features/clipboard/useGridClipboardImport.js +2 -1
- package/modern/hooks/features/export/serializer/excelSerializer.js +2 -1
- package/modern/index.js +1 -1
- package/modern/utils/releaseInfo.js +1 -1
- package/package.json +6 -6
- package/utils/releaseInfo.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,186 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 7.18.0
|
|
7
|
+
|
|
8
|
+
_Sep 20, 2024_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 💫 Support [Row spanning](https://mui.com/x/react-data-grid/row-spanning/) on the Data Grid that automatically merges the consecutive cells in a column based on the cell value
|
|
13
|
+
|
|
14
|
+
<img width="600" src="https://github.com/user-attachments/assets/d32ec936-d238-4c92-9e1a-af6788d74cdf" alt="data grid row spanning" />
|
|
15
|
+
|
|
16
|
+
- ⏰ Support `date-fns` v4 (#14673) @LukasTy
|
|
17
|
+
- 🎉 Add option for Pickers to change the order of displayed years (#11780) @thomasmoon
|
|
18
|
+
- 🐞 Bugfixes
|
|
19
|
+
- 📚 Documentation improvements
|
|
20
|
+
|
|
21
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
22
|
+
|
|
23
|
+
### Data Grid
|
|
24
|
+
|
|
25
|
+
#### `@mui/x-data-grid@7.18.0`
|
|
26
|
+
|
|
27
|
+
- [DataGrid] Add default reset value in row edit mode (#14050) @michelengelen
|
|
28
|
+
- [DataGrid] Add `columnGroupHeaderHeight` prop for sizing column group headers (#14637) @KenanYusuf
|
|
29
|
+
- [DataGrid] Fix `document` reference when the grid is rendered in a popup window (#14649) @arminmeh
|
|
30
|
+
- [DataGrid] Remove `minFirstColumn` from `GetHeadersParams` interface (#14450) @k-rajat19
|
|
31
|
+
- [DataGrid] Row spanning (#14124) @MBilalShafi
|
|
32
|
+
|
|
33
|
+
#### `@mui/x-data-grid-pro@7.18.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
34
|
+
|
|
35
|
+
Same changes as in `@mui/x-data-grid@7.18.0`, plus:
|
|
36
|
+
|
|
37
|
+
- [DataGridPro] Fix `onRowsScrollEnd` being triggered instantly when bottom pinned row is present (#14602) @arminmeh
|
|
38
|
+
- [DataGridPro] Fix header filters rendering issue for `isEmpty` and `isNotEmpty` filter operators (#14493) @k-rajat19
|
|
39
|
+
- [DataGridPro] Fix pinned columns in RTL mode (#14586) @KenanYusuf
|
|
40
|
+
|
|
41
|
+
#### `@mui/x-data-grid-premium@7.18.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
42
|
+
|
|
43
|
+
Same changes as in `@mui/x-data-grid-pro@7.18.0`.
|
|
44
|
+
|
|
45
|
+
### Date and Time Pickers
|
|
46
|
+
|
|
47
|
+
#### `@mui/x-date-pickers@7.18.0`
|
|
48
|
+
|
|
49
|
+
- [pickers] Add option to change the order of displayed years (#11780) @thomasmoon
|
|
50
|
+
- [pickers] Support `date-fns` v4 (#14673) @LukasTy
|
|
51
|
+
|
|
52
|
+
#### `@mui/x-date-pickers-pro@7.18.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
53
|
+
|
|
54
|
+
Same changes as in `@mui/x-date-pickers@7.18.0`.
|
|
55
|
+
|
|
56
|
+
### Charts
|
|
57
|
+
|
|
58
|
+
#### `@mui/x-charts@7.18.0`
|
|
59
|
+
|
|
60
|
+
- [charts] Add a `PolarProvider` to manage polar axes (#14642) @alexfauquette
|
|
61
|
+
- [charts] Fix `LineChart` animation being stuck with initial drawing area value (#14553) @JCQuintas
|
|
62
|
+
- [charts] Fix legend slot typing (#14657) @alexfauquette
|
|
63
|
+
- [charts] Pass the axis index to extremum getter (#14641) @alexfauquette
|
|
64
|
+
- [charts] Provide hooks to create custom tooltip (#14377) @alexfauquette
|
|
65
|
+
|
|
66
|
+
#### `@mui/x-charts-pro@7.0.0-beta.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
67
|
+
|
|
68
|
+
Same changes as in `@mui/x-charts@7.18.0`.
|
|
69
|
+
|
|
70
|
+
### Tree View
|
|
71
|
+
|
|
72
|
+
#### `@mui/x-tree-view@7.18.0`
|
|
73
|
+
|
|
74
|
+
- [TreeView] Add `"use client"` directive to every public component and hook (#14579) @flaviendelangle
|
|
75
|
+
|
|
76
|
+
### Docs
|
|
77
|
+
|
|
78
|
+
- [docs] Add `groupingValueGetter` callout in column definition docs (#14599) @michelengelen
|
|
79
|
+
- [docs] Clean v6 => v7 migration guide (#14652) @flaviendelangle
|
|
80
|
+
- [docs] Copy `vale-action.yml` from main repo @oliviertassinari
|
|
81
|
+
- [docs] Edit the Pickers Getting started doc (#14555) @samuelsycamore
|
|
82
|
+
- [docs] Fix TypeScript capitalization @oliviertassinari
|
|
83
|
+
- [docs] Fix Vale error @oliviertassinari
|
|
84
|
+
- [docs] Make the migration guide diff a bit easier to read @oliviertassinari
|
|
85
|
+
- [docs] Report Vale at warning level (#14660) @oliviertassinari
|
|
86
|
+
- [docs] Warn about the `valueGetter` and `valueFormatter` signature change (#14613) @cherniavskii
|
|
87
|
+
- [docs] Polish code formatting (#14603) @oliviertassinari
|
|
88
|
+
- [test] Spy on `observe` method to avoid flaky wait for a callback (#14640) @arminmeh
|
|
89
|
+
|
|
90
|
+
### Core
|
|
91
|
+
|
|
92
|
+
- [core] Fix 301 link to Next.js and git diff @oliviertassinari
|
|
93
|
+
- [core] Fix failing CI on `master` (#14644) @cherniavskii
|
|
94
|
+
- [core] Fix `package.json` repository rule @oliviertassinari
|
|
95
|
+
- [core] MUI X repository moved to a new location @oliviertassinari
|
|
96
|
+
- [docs-infra] Strengthen CSP (#14581) @oliviertassinari
|
|
97
|
+
- [license] Finish renaming of LicensingModel (#14615) @oliviertassinari
|
|
98
|
+
|
|
99
|
+
## 7.17.0
|
|
100
|
+
|
|
101
|
+
_Sep 13, 2024_
|
|
102
|
+
|
|
103
|
+
We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
|
|
104
|
+
|
|
105
|
+
- 📊 Charts performance improvement
|
|
106
|
+
- 🧑💻 New Data Grid [custom columns demo](https://mui.com/x/react-data-grid/custom-columns/#full-example)
|
|
107
|
+
- 🐞 Bugfixes
|
|
108
|
+
- 📚 Documentation improvements
|
|
109
|
+
- 🌍 Improve Hungarian (hu-HU) locale on the Data Grid
|
|
110
|
+
|
|
111
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
112
|
+
|
|
113
|
+
### Data Grid
|
|
114
|
+
|
|
115
|
+
#### `@mui/x-data-grid@7.17.0`
|
|
116
|
+
|
|
117
|
+
- [DataGrid] Add "does not equal" and "does not contain" filter operators (#14489) @KenanYusuf
|
|
118
|
+
- [DataGrid] Add demo to the "Custom columns" page that does not use generator (#13695) @arminmeh
|
|
119
|
+
- [DataGrid] Fix Voice Over reading the column name twice (#14482) @arminmeh
|
|
120
|
+
- [DataGrid] Fix bug in CRUD example (#14513) @michelengelen
|
|
121
|
+
- [DataGrid] Fix failing jsdom tests caused by `:has()` selectors (#14559) @KenanYusuf
|
|
122
|
+
- [DataGrid] Refactor string operator filter functions (#14564) @KenanYusuf
|
|
123
|
+
- [l10n] Improve Hungarian (hu-HU) locale (#14506) @ntamas
|
|
124
|
+
|
|
125
|
+
#### `@mui/x-data-grid-pro@7.17.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
126
|
+
|
|
127
|
+
Same changes as in `@mui/x-data-grid@7.17.0`.
|
|
128
|
+
|
|
129
|
+
#### `@mui/x-data-grid-premium@7.17.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
130
|
+
|
|
131
|
+
Same changes as in `@mui/x-data-grid-pro@7.17.0`.
|
|
132
|
+
|
|
133
|
+
### Date and Time Pickers
|
|
134
|
+
|
|
135
|
+
#### `@mui/x-date-pickers@7.17.0`
|
|
136
|
+
|
|
137
|
+
- [fields] Improve `useSplitFieldProps` and make it public (#14514) @flaviendelangle
|
|
138
|
+
- [pickers] Improve clear action label (#14243) @oliviertassinari
|
|
139
|
+
- [pickers] Add `"use client"` directive to every public component and hook (#14562) @flaviendelangle
|
|
140
|
+
- [pickers] Allow custom fields to validate the value (#14486) @flaviendelangle
|
|
141
|
+
- [pickers] Stop using utils in locales (#14505) @flaviendelangle
|
|
142
|
+
|
|
143
|
+
#### `@mui/x-date-pickers-pro@7.17.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
144
|
+
|
|
145
|
+
Same changes as in `@mui/x-date-pickers@7.17.0`, plus:
|
|
146
|
+
|
|
147
|
+
- [DateRangePicker] Fix `currentMonthCalendarPosition` not scrolling to future sibling (#14442) @GMchris
|
|
148
|
+
|
|
149
|
+
### Charts
|
|
150
|
+
|
|
151
|
+
#### `@mui/x-charts@7.17.0`
|
|
152
|
+
|
|
153
|
+
- [charts] Add `"use client"` directive to every public component and hook (#14578) @flaviendelangle
|
|
154
|
+
- [charts] Allow `onItemClick` on the `Legend` component (#14231) @JCQuintas
|
|
155
|
+
- [charts] Fix `onAxisClick` with `layout='horizontal'` (#14547) @alexfauquette
|
|
156
|
+
- [charts] Replace `path` with `circle` for performance improvement (#14518) @alexfauquette
|
|
157
|
+
|
|
158
|
+
#### `@mui/x-charts-pro@7.0.0-beta.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
159
|
+
|
|
160
|
+
Same changes as in `@mui/x-charts@7.17.0`.
|
|
161
|
+
|
|
162
|
+
### Tree View
|
|
163
|
+
|
|
164
|
+
#### `@mui/x-tree-view@7.17.0`
|
|
165
|
+
|
|
166
|
+
- [TreeView] Make `useTreeItem2` stable (#14498) @flaviendelangle
|
|
167
|
+
|
|
168
|
+
### Docs
|
|
169
|
+
|
|
170
|
+
- [docs] Add missing callout on "Imperative API" tree view sections (#14503) @flaviendelangle
|
|
171
|
+
- [docs] Fix broken redirection to MUI X v5 @oliviertassinari
|
|
172
|
+
- [docs] Fix multiple `console.error` messages on `charts` docs (#14554) @JCQuintas
|
|
173
|
+
- [docs] Fixed typo in Row Grouping recipes (#14549) @Miodini
|
|
174
|
+
- [docs] Match title with blog posts @oliviertassinari
|
|
175
|
+
|
|
176
|
+
### Core
|
|
177
|
+
|
|
178
|
+
- [core] Move warning methods to `@mui/x-internals` (#14528) @k-rajat19
|
|
179
|
+
- [core] Sync with core release flow @oliviertassinari
|
|
180
|
+
- [code-infra] Fix charts benchmark workflow (#14573) @JCQuintas
|
|
181
|
+
- [docs-infra] Type interface API pages (#14138) @alexfauquette
|
|
182
|
+
- [infra] Create `ESLint plugins` renovate group (#14574) @LukasTy
|
|
183
|
+
- [license] Clean-up terminology to match codebase (#14531) @oliviertassinari
|
|
184
|
+
- [test] Remove dead `act()` logic (#14529) @oliviertassinari
|
|
185
|
+
|
|
6
186
|
## 7.16.0
|
|
7
187
|
|
|
8
188
|
_Sep 5, 2024_
|
|
@@ -108,7 +288,7 @@ We'd like to offer a big thanks to the 8 contributors who made this release poss
|
|
|
108
288
|
|
|
109
289
|
- 💫 Support Material UI v6 (`@mui/material@6`) peer dependency (#14142) @cherniavskii
|
|
110
290
|
|
|
111
|
-
You can now use MUI
|
|
291
|
+
You can now use MUI X components with either v5 or v6 of `@mui/material` package 🎉
|
|
112
292
|
|
|
113
293
|
- 🐞 Bugfixes
|
|
114
294
|
|
|
@@ -153,7 +333,7 @@ Same changes as in `@mui/x-charts@7.15.0`, plus:
|
|
|
153
333
|
|
|
154
334
|
- [docs] Fix sentence case `h2` @oliviertassinari
|
|
155
335
|
- [docs] Clarify contribution guide references @oliviertassinari
|
|
156
|
-
- [docs] Fix Stack
|
|
336
|
+
- [docs] Fix Stack Overflow issue canned response @oliviertassinari
|
|
157
337
|
- [docs] Fix outdated link to support page @oliviertassinari
|
|
158
338
|
- [docs] Fix use of Material UI @oliviertassinari
|
|
159
339
|
- [docs] Update deprecated props in docs (#14295) @JCQuintas
|
|
@@ -411,7 +591,7 @@ The [Pro plan](https://mui.com/x/introduction/licensing/#pro-plan) is receiving
|
|
|
411
591
|
|
|
412
592
|
As always, every feature released as part of the MIT plan will remain free and MIT licensed forever.
|
|
413
593
|
|
|
414
|
-
This expansion of the Pro plan comes with some adjustments to our pricing strategy. Learn more about those in the [Upcoming changes to MUI
|
|
594
|
+
This expansion of the Pro plan comes with some adjustments to our pricing strategy. Learn more about those in the [Upcoming changes to MUI X pricing in 2024](https://mui.com/blog/mui-x-sep-2024-price-update/) blog post.
|
|
415
595
|
|
|
416
596
|
### Highlights
|
|
417
597
|
|
|
@@ -476,7 +656,7 @@ Same changes as in `@mui/x-date-pickers@7.12.0`.
|
|
|
476
656
|
#### `@mui/x-charts@7.12.0`
|
|
477
657
|
|
|
478
658
|
- [charts] Fix incorrect `axisId` prop being allowed in xAxis/yAxis config. Use `id` instead. (#13986) @JCQuintas
|
|
479
|
-
- [charts] Use vendor to have
|
|
659
|
+
- [charts] Use vendor to have CommonJS bundle working out of the box (#13608) @alexfauquette
|
|
480
660
|
- [charts] Divide the `SeriesProvider` to use in filtering (#14026) @JCQuintas
|
|
481
661
|
|
|
482
662
|
### Tree View
|
|
@@ -154,6 +154,11 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
154
154
|
* @default 150
|
|
155
155
|
*/
|
|
156
156
|
columnBufferPx: _propTypes.default.number,
|
|
157
|
+
/**
|
|
158
|
+
* Sets the height in pixels of the column group headers in the Data Grid.
|
|
159
|
+
* Inherits the `columnHeaderHeight` value if not set.
|
|
160
|
+
*/
|
|
161
|
+
columnGroupHeaderHeight: _propTypes.default.number,
|
|
157
162
|
columnGroupingModel: _propTypes.default.arrayOf(_propTypes.default.object),
|
|
158
163
|
/**
|
|
159
164
|
* Sets the height in pixel of the column headers in the Data Grid.
|
|
@@ -1034,7 +1039,12 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
1034
1039
|
get: _propTypes.default.func.isRequired,
|
|
1035
1040
|
set: _propTypes.default.func.isRequired
|
|
1036
1041
|
}),
|
|
1037
|
-
unstable_onDataSourceError: _propTypes.default.func
|
|
1042
|
+
unstable_onDataSourceError: _propTypes.default.func,
|
|
1043
|
+
/**
|
|
1044
|
+
* If `true`, the Data Grid will auto span the cells over the rows having the same value.
|
|
1045
|
+
* @default false
|
|
1046
|
+
*/
|
|
1047
|
+
unstable_rowSpanning: _propTypes.default.bool
|
|
1038
1048
|
} : void 0;
|
|
1039
1049
|
/**
|
|
1040
1050
|
* Demos:
|
|
@@ -53,6 +53,7 @@ const useDataGridPremiumComponent = (inputApiRef, props) => {
|
|
|
53
53
|
(0, _internals.useGridInitializeState)(_internals.sortingStateInitializer, apiRef, props);
|
|
54
54
|
(0, _internals.useGridInitializeState)(_internals.preferencePanelStateInitializer, apiRef, props);
|
|
55
55
|
(0, _internals.useGridInitializeState)(_internals.filterStateInitializer, apiRef, props);
|
|
56
|
+
(0, _internals.useGridInitializeState)(_internals.rowSpanningStateInitializer, apiRef, props);
|
|
56
57
|
(0, _internals.useGridInitializeState)(_internals.densityStateInitializer, apiRef, props);
|
|
57
58
|
(0, _internals.useGridInitializeState)(_internals.columnReorderStateInitializer, apiRef, props);
|
|
58
59
|
(0, _internals.useGridInitializeState)(_internals.columnResizeStateInitializer, apiRef, props);
|
|
@@ -73,6 +74,7 @@ const useDataGridPremiumComponent = (inputApiRef, props) => {
|
|
|
73
74
|
(0, _internals.useGridRowPinning)(apiRef, props);
|
|
74
75
|
(0, _internals.useGridColumns)(apiRef, props);
|
|
75
76
|
(0, _internals.useGridRows)(apiRef, props);
|
|
77
|
+
(0, _internals.useGridRowSpanning)(apiRef, props);
|
|
76
78
|
(0, _internals.useGridParamsApi)(apiRef);
|
|
77
79
|
(0, _internals.useGridDetailPanel)(apiRef, props);
|
|
78
80
|
(0, _internals.useGridColumnSpanning)(apiRef);
|
|
@@ -147,6 +147,11 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
147
147
|
* @default 150
|
|
148
148
|
*/
|
|
149
149
|
columnBufferPx: PropTypes.number,
|
|
150
|
+
/**
|
|
151
|
+
* Sets the height in pixels of the column group headers in the Data Grid.
|
|
152
|
+
* Inherits the `columnHeaderHeight` value if not set.
|
|
153
|
+
*/
|
|
154
|
+
columnGroupHeaderHeight: PropTypes.number,
|
|
150
155
|
columnGroupingModel: PropTypes.arrayOf(PropTypes.object),
|
|
151
156
|
/**
|
|
152
157
|
* Sets the height in pixel of the column headers in the Data Grid.
|
|
@@ -1027,7 +1032,12 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
1027
1032
|
get: PropTypes.func.isRequired,
|
|
1028
1033
|
set: PropTypes.func.isRequired
|
|
1029
1034
|
}),
|
|
1030
|
-
unstable_onDataSourceError: PropTypes.func
|
|
1035
|
+
unstable_onDataSourceError: PropTypes.func,
|
|
1036
|
+
/**
|
|
1037
|
+
* If `true`, the Data Grid will auto span the cells over the rows having the same value.
|
|
1038
|
+
* @default false
|
|
1039
|
+
*/
|
|
1040
|
+
unstable_rowSpanning: PropTypes.bool
|
|
1031
1041
|
} : void 0;
|
|
1032
1042
|
/**
|
|
1033
1043
|
* Demos:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useGridInitialization, useGridInitializeState, useGridClipboard, useGridColumnMenu, useGridColumns, columnsStateInitializer, useGridDensity, useGridCsvExport, useGridPrintExport, useGridFilter, filterStateInitializer, useGridFocus, useGridKeyboardNavigation, useGridPagination, paginationStateInitializer, useGridPreferencesPanel, useGridEditing, editingStateInitializer, useGridRows, useGridRowsPreProcessors, rowsStateInitializer, useGridRowsMeta, useGridParamsApi, useGridRowSelection, useGridSorting, sortingStateInitializer, useGridScroll, useGridEvents, dimensionsStateInitializer, useGridDimensions, useGridStatePersistence, useGridRowSelectionPreProcessors, columnMenuStateInitializer, densityStateInitializer, focusStateInitializer, preferencePanelStateInitializer, rowsMetaStateInitializer, rowSelectionStateInitializer, useGridColumnReorder, columnReorderStateInitializer, useGridColumnResize, columnResizeStateInitializer, useGridTreeData, useGridTreeDataPreProcessors, useGridColumnPinning, columnPinningStateInitializer, useGridColumnPinningPreProcessors, useGridDetailPanel, detailPanelStateInitializer, useGridDetailPanelPreProcessors, useGridInfiniteLoader, useGridColumnSpanning, useGridRowReorder, useGridRowReorderPreProcessors, useGridRowPinning, useGridRowPinningPreProcessors, rowPinningStateInitializer, useGridColumnGrouping, columnGroupsStateInitializer, useGridLazyLoader, useGridLazyLoaderPreProcessors, headerFilteringStateInitializer, useGridHeaderFiltering, virtualizationStateInitializer, useGridVirtualization, useGridDataSourceTreeDataPreProcessors, useGridDataSource, dataSourceStateInitializer } from '@mui/x-data-grid-pro/internals';
|
|
1
|
+
import { useGridInitialization, useGridInitializeState, useGridClipboard, useGridColumnMenu, useGridColumns, columnsStateInitializer, useGridDensity, useGridCsvExport, useGridPrintExport, useGridFilter, filterStateInitializer, useGridFocus, useGridKeyboardNavigation, useGridPagination, paginationStateInitializer, useGridPreferencesPanel, useGridEditing, editingStateInitializer, useGridRows, useGridRowsPreProcessors, rowsStateInitializer, useGridRowsMeta, useGridParamsApi, useGridRowSelection, useGridSorting, sortingStateInitializer, useGridScroll, useGridEvents, dimensionsStateInitializer, useGridDimensions, useGridStatePersistence, useGridRowSelectionPreProcessors, columnMenuStateInitializer, densityStateInitializer, focusStateInitializer, preferencePanelStateInitializer, rowsMetaStateInitializer, rowSelectionStateInitializer, useGridColumnReorder, columnReorderStateInitializer, useGridColumnResize, columnResizeStateInitializer, useGridTreeData, useGridTreeDataPreProcessors, useGridColumnPinning, columnPinningStateInitializer, useGridColumnPinningPreProcessors, useGridDetailPanel, detailPanelStateInitializer, useGridDetailPanelPreProcessors, useGridInfiniteLoader, useGridColumnSpanning, useGridRowReorder, useGridRowReorderPreProcessors, useGridRowPinning, useGridRowPinningPreProcessors, rowPinningStateInitializer, useGridColumnGrouping, columnGroupsStateInitializer, useGridLazyLoader, useGridLazyLoaderPreProcessors, headerFilteringStateInitializer, useGridHeaderFiltering, virtualizationStateInitializer, useGridVirtualization, useGridDataSourceTreeDataPreProcessors, useGridDataSource, dataSourceStateInitializer, useGridRowSpanning, rowSpanningStateInitializer } from '@mui/x-data-grid-pro/internals';
|
|
2
2
|
// Premium-only features
|
|
3
3
|
import { useGridAggregation, aggregationStateInitializer } from "../hooks/features/aggregation/useGridAggregation.js";
|
|
4
4
|
import { useGridAggregationPreProcessors } from "../hooks/features/aggregation/useGridAggregationPreProcessors.js";
|
|
@@ -46,6 +46,7 @@ export const useDataGridPremiumComponent = (inputApiRef, props) => {
|
|
|
46
46
|
useGridInitializeState(sortingStateInitializer, apiRef, props);
|
|
47
47
|
useGridInitializeState(preferencePanelStateInitializer, apiRef, props);
|
|
48
48
|
useGridInitializeState(filterStateInitializer, apiRef, props);
|
|
49
|
+
useGridInitializeState(rowSpanningStateInitializer, apiRef, props);
|
|
49
50
|
useGridInitializeState(densityStateInitializer, apiRef, props);
|
|
50
51
|
useGridInitializeState(columnReorderStateInitializer, apiRef, props);
|
|
51
52
|
useGridInitializeState(columnResizeStateInitializer, apiRef, props);
|
|
@@ -66,6 +67,7 @@ export const useDataGridPremiumComponent = (inputApiRef, props) => {
|
|
|
66
67
|
useGridRowPinning(apiRef, props);
|
|
67
68
|
useGridColumns(apiRef, props);
|
|
68
69
|
useGridRows(apiRef, props);
|
|
70
|
+
useGridRowSpanning(apiRef, props);
|
|
69
71
|
useGridParamsApi(apiRef);
|
|
70
72
|
useGridDetailPanel(apiRef, props);
|
|
71
73
|
useGridColumnSpanning(apiRef);
|
|
@@ -14,6 +14,7 @@ const AUTO_SCROLL_SENSITIVITY = 50; // The distance from the edge to start scrol
|
|
|
14
14
|
const AUTO_SCROLL_SPEED = 20; // The speed to scroll once the mouse enters the sensitivity area
|
|
15
15
|
|
|
16
16
|
export const useGridCellSelection = (apiRef, props) => {
|
|
17
|
+
const hasRootReference = apiRef.current.rootElementRef.current !== null;
|
|
17
18
|
const visibleRows = useGridVisibleRows(apiRef, props);
|
|
18
19
|
const cellWithVirtualFocus = React.useRef();
|
|
19
20
|
const lastMouseDownCell = React.useRef();
|
|
@@ -368,7 +369,7 @@ export const useGridCellSelection = (apiRef, props) => {
|
|
|
368
369
|
const document = ownerDocument(rootRef);
|
|
369
370
|
document.removeEventListener('mouseup', handleMouseUp);
|
|
370
371
|
};
|
|
371
|
-
}, [apiRef, handleMouseUp, stopAutoScroll]);
|
|
372
|
+
}, [apiRef, hasRootReference, handleMouseUp, stopAutoScroll]);
|
|
372
373
|
const checkIfCellIsSelected = React.useCallback((isSelected, {
|
|
373
374
|
id,
|
|
374
375
|
field
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { GRID_CHECKBOX_SELECTION_FIELD, gridFocusCellSelector, gridVisibleColumnFieldsSelector, useGridApiOptionHandler, useGridApiEventHandler, gridPaginatedVisibleSortedGridRowIdsSelector, gridExpandedSortedRowIdsSelector } from '@mui/x-data-grid';
|
|
4
|
-
import {
|
|
4
|
+
import { getRowIdFromRowModel, getActiveElement, useGridRegisterPipeProcessor, getPublicApiRef, isPasteShortcut, useGridLogger } from '@mui/x-data-grid/internals';
|
|
5
|
+
import { warnOnce } from '@mui/x-internals/warning';
|
|
5
6
|
import { GRID_DETAIL_PANEL_TOGGLE_FIELD, GRID_REORDER_COL_DEF } from '@mui/x-data-grid-pro';
|
|
6
7
|
import { unstable_debounce as debounce } from '@mui/utils';
|
|
7
8
|
const columnFieldsToExcludeFromPaste = [GRID_CHECKBOX_SELECTION_FIELD, GRID_REORDER_COL_DEF.field, GRID_DETAIL_PANEL_TOGGLE_FIELD];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import { GRID_DATE_COL_DEF, GRID_DATETIME_COL_DEF } from '@mui/x-data-grid-pro';
|
|
3
|
-
import {
|
|
3
|
+
import { isObject, isSingleSelectColDef, gridHasColSpanSelector } from '@mui/x-data-grid/internals';
|
|
4
|
+
import { warnOnce } from '@mui/x-internals/warning';
|
|
4
5
|
const getExcelJs = async () => {
|
|
5
6
|
const excelJsModule = await import('exceljs');
|
|
6
7
|
return excelJsModule.default ?? excelJsModule;
|
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 = "MTcyNjc4NjgwMDAwMA==";
|
|
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
|
|
@@ -45,6 +45,7 @@ export declare const unwrapColumnFromAggregation: ({ column, }: {
|
|
|
45
45
|
type?: import("@mui/x-data-grid-pro").GridColType;
|
|
46
46
|
align?: import("@mui/x-data-grid-pro").GridAlignment;
|
|
47
47
|
valueGetter?: import("@mui/x-data-grid-pro").GridValueGetter<import("@mui/x-data-grid-pro").GridValidRowModel, any, any, never> | undefined;
|
|
48
|
+
rowSpanValueGetter?: import("@mui/x-data-grid-pro").GridValueGetter<import("@mui/x-data-grid-pro").GridValidRowModel, any, any, never> | undefined;
|
|
48
49
|
valueSetter?: import("@mui/x-data-grid-pro").GridValueSetter<import("@mui/x-data-grid-pro").GridValidRowModel, any, any> | undefined;
|
|
49
50
|
valueFormatter?: import("@mui/x-data-grid-pro").GridValueFormatter<import("@mui/x-data-grid-pro").GridValidRowModel, any, any, never> | undefined;
|
|
50
51
|
valueParser?: import("@mui/x-data-grid-pro").GridValueParser<import("@mui/x-data-grid-pro").GridValidRowModel, any, any> | undefined;
|
|
@@ -23,6 +23,7 @@ const AUTO_SCROLL_SENSITIVITY = 50; // The distance from the edge to start scrol
|
|
|
23
23
|
const AUTO_SCROLL_SPEED = 20; // The speed to scroll once the mouse enters the sensitivity area
|
|
24
24
|
|
|
25
25
|
const useGridCellSelection = (apiRef, props) => {
|
|
26
|
+
const hasRootReference = apiRef.current.rootElementRef.current !== null;
|
|
26
27
|
const visibleRows = (0, _internals.useGridVisibleRows)(apiRef, props);
|
|
27
28
|
const cellWithVirtualFocus = React.useRef();
|
|
28
29
|
const lastMouseDownCell = React.useRef();
|
|
@@ -377,7 +378,7 @@ const useGridCellSelection = (apiRef, props) => {
|
|
|
377
378
|
const document = (0, _utils.ownerDocument)(rootRef);
|
|
378
379
|
document.removeEventListener('mouseup', handleMouseUp);
|
|
379
380
|
};
|
|
380
|
-
}, [apiRef, handleMouseUp, stopAutoScroll]);
|
|
381
|
+
}, [apiRef, hasRootReference, handleMouseUp, stopAutoScroll]);
|
|
381
382
|
const checkIfCellIsSelected = React.useCallback((isSelected, {
|
|
382
383
|
id,
|
|
383
384
|
field
|
|
@@ -10,6 +10,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _xDataGrid = require("@mui/x-data-grid");
|
|
12
12
|
var _internals = require("@mui/x-data-grid/internals");
|
|
13
|
+
var _warning = require("@mui/x-internals/warning");
|
|
13
14
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
14
15
|
var _utils = require("@mui/utils");
|
|
15
16
|
const columnFieldsToExcludeFromPaste = [_xDataGrid.GRID_CHECKBOX_SELECTION_FIELD, _xDataGridPro.GRID_REORDER_COL_DEF.field, _xDataGridPro.GRID_DETAIL_PANEL_TOGGLE_FIELD];
|
|
@@ -128,7 +129,7 @@ class CellValueUpdater {
|
|
|
128
129
|
if (onProcessRowUpdateError) {
|
|
129
130
|
onProcessRowUpdateError(errorThrown);
|
|
130
131
|
} else if (process.env.NODE_ENV !== 'production') {
|
|
131
|
-
(0,
|
|
132
|
+
(0, _warning.warnOnce)(['MUI X: A call to `processRowUpdate` threw an error which was not handled because `onProcessRowUpdateError` is missing.', 'To handle the error pass a callback to the `onProcessRowUpdateError` prop, for example `<DataGrid onProcessRowUpdateError={(error) => ...} />`.', 'For more detail, see https://mui.com/x/react-data-grid/editing/#server-side-persistence.'], 'error');
|
|
132
133
|
}
|
|
133
134
|
};
|
|
134
135
|
try {
|
|
@@ -14,6 +14,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
14
14
|
var _interopRequireWildcard2 = _interopRequireDefault(require("@babel/runtime/helpers/interopRequireWildcard"));
|
|
15
15
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
16
16
|
var _internals = require("@mui/x-data-grid/internals");
|
|
17
|
+
var _warning = require("@mui/x-internals/warning");
|
|
17
18
|
const getExcelJs = async () => {
|
|
18
19
|
const excelJsModule = await Promise.resolve().then(() => (0, _interopRequireWildcard2.default)(require('exceljs')));
|
|
19
20
|
return excelJsModule.default ?? excelJsModule;
|
|
@@ -101,7 +102,7 @@ const serializeRowUnsafe = (id, columns, apiRef, defaultValueOptionsFormulae, op
|
|
|
101
102
|
const formattedValue = apiRef.current.getCellParams(id, castColumn.field).formattedValue;
|
|
102
103
|
if (process.env.NODE_ENV !== 'production') {
|
|
103
104
|
if (String(cellParams.formattedValue) === '[object Object]') {
|
|
104
|
-
(0,
|
|
105
|
+
(0, _warning.warnOnce)(['MUI X: When the value of a field is an object or a `renderCell` is provided, the Excel export might not display the value correctly.', 'You can provide a `valueFormatter` with a string representation to be used.']);
|
|
105
106
|
}
|
|
106
107
|
}
|
|
107
108
|
if ((0, _internals.isObject)(formattedValue)) {
|
|
@@ -136,7 +137,7 @@ const serializeRowUnsafe = (id, columns, apiRef, defaultValueOptionsFormulae, op
|
|
|
136
137
|
cellValue = apiRef.current.getCellParams(id, column.field).formattedValue;
|
|
137
138
|
if (process.env.NODE_ENV !== 'production') {
|
|
138
139
|
if (String(cellParams.formattedValue) === '[object Object]') {
|
|
139
|
-
(0,
|
|
140
|
+
(0, _warning.warnOnce)(['MUI X: When the value of a field is an object or a `renderCell` is provided, the Excel export might not display the value correctly.', 'You can provide a `valueFormatter` with a string representation to be used.']);
|
|
140
141
|
}
|
|
141
142
|
}
|
|
142
143
|
break;
|
package/index.js
CHANGED
|
@@ -147,6 +147,11 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
147
147
|
* @default 150
|
|
148
148
|
*/
|
|
149
149
|
columnBufferPx: PropTypes.number,
|
|
150
|
+
/**
|
|
151
|
+
* Sets the height in pixels of the column group headers in the Data Grid.
|
|
152
|
+
* Inherits the `columnHeaderHeight` value if not set.
|
|
153
|
+
*/
|
|
154
|
+
columnGroupHeaderHeight: PropTypes.number,
|
|
150
155
|
columnGroupingModel: PropTypes.arrayOf(PropTypes.object),
|
|
151
156
|
/**
|
|
152
157
|
* Sets the height in pixel of the column headers in the Data Grid.
|
|
@@ -1027,7 +1032,12 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
1027
1032
|
get: PropTypes.func.isRequired,
|
|
1028
1033
|
set: PropTypes.func.isRequired
|
|
1029
1034
|
}),
|
|
1030
|
-
unstable_onDataSourceError: PropTypes.func
|
|
1035
|
+
unstable_onDataSourceError: PropTypes.func,
|
|
1036
|
+
/**
|
|
1037
|
+
* If `true`, the Data Grid will auto span the cells over the rows having the same value.
|
|
1038
|
+
* @default false
|
|
1039
|
+
*/
|
|
1040
|
+
unstable_rowSpanning: PropTypes.bool
|
|
1031
1041
|
} : void 0;
|
|
1032
1042
|
/**
|
|
1033
1043
|
* Demos:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useGridInitialization, useGridInitializeState, useGridClipboard, useGridColumnMenu, useGridColumns, columnsStateInitializer, useGridDensity, useGridCsvExport, useGridPrintExport, useGridFilter, filterStateInitializer, useGridFocus, useGridKeyboardNavigation, useGridPagination, paginationStateInitializer, useGridPreferencesPanel, useGridEditing, editingStateInitializer, useGridRows, useGridRowsPreProcessors, rowsStateInitializer, useGridRowsMeta, useGridParamsApi, useGridRowSelection, useGridSorting, sortingStateInitializer, useGridScroll, useGridEvents, dimensionsStateInitializer, useGridDimensions, useGridStatePersistence, useGridRowSelectionPreProcessors, columnMenuStateInitializer, densityStateInitializer, focusStateInitializer, preferencePanelStateInitializer, rowsMetaStateInitializer, rowSelectionStateInitializer, useGridColumnReorder, columnReorderStateInitializer, useGridColumnResize, columnResizeStateInitializer, useGridTreeData, useGridTreeDataPreProcessors, useGridColumnPinning, columnPinningStateInitializer, useGridColumnPinningPreProcessors, useGridDetailPanel, detailPanelStateInitializer, useGridDetailPanelPreProcessors, useGridInfiniteLoader, useGridColumnSpanning, useGridRowReorder, useGridRowReorderPreProcessors, useGridRowPinning, useGridRowPinningPreProcessors, rowPinningStateInitializer, useGridColumnGrouping, columnGroupsStateInitializer, useGridLazyLoader, useGridLazyLoaderPreProcessors, headerFilteringStateInitializer, useGridHeaderFiltering, virtualizationStateInitializer, useGridVirtualization, useGridDataSourceTreeDataPreProcessors, useGridDataSource, dataSourceStateInitializer } from '@mui/x-data-grid-pro/internals';
|
|
1
|
+
import { useGridInitialization, useGridInitializeState, useGridClipboard, useGridColumnMenu, useGridColumns, columnsStateInitializer, useGridDensity, useGridCsvExport, useGridPrintExport, useGridFilter, filterStateInitializer, useGridFocus, useGridKeyboardNavigation, useGridPagination, paginationStateInitializer, useGridPreferencesPanel, useGridEditing, editingStateInitializer, useGridRows, useGridRowsPreProcessors, rowsStateInitializer, useGridRowsMeta, useGridParamsApi, useGridRowSelection, useGridSorting, sortingStateInitializer, useGridScroll, useGridEvents, dimensionsStateInitializer, useGridDimensions, useGridStatePersistence, useGridRowSelectionPreProcessors, columnMenuStateInitializer, densityStateInitializer, focusStateInitializer, preferencePanelStateInitializer, rowsMetaStateInitializer, rowSelectionStateInitializer, useGridColumnReorder, columnReorderStateInitializer, useGridColumnResize, columnResizeStateInitializer, useGridTreeData, useGridTreeDataPreProcessors, useGridColumnPinning, columnPinningStateInitializer, useGridColumnPinningPreProcessors, useGridDetailPanel, detailPanelStateInitializer, useGridDetailPanelPreProcessors, useGridInfiniteLoader, useGridColumnSpanning, useGridRowReorder, useGridRowReorderPreProcessors, useGridRowPinning, useGridRowPinningPreProcessors, rowPinningStateInitializer, useGridColumnGrouping, columnGroupsStateInitializer, useGridLazyLoader, useGridLazyLoaderPreProcessors, headerFilteringStateInitializer, useGridHeaderFiltering, virtualizationStateInitializer, useGridVirtualization, useGridDataSourceTreeDataPreProcessors, useGridDataSource, dataSourceStateInitializer, useGridRowSpanning, rowSpanningStateInitializer } from '@mui/x-data-grid-pro/internals';
|
|
2
2
|
// Premium-only features
|
|
3
3
|
import { useGridAggregation, aggregationStateInitializer } from "../hooks/features/aggregation/useGridAggregation.js";
|
|
4
4
|
import { useGridAggregationPreProcessors } from "../hooks/features/aggregation/useGridAggregationPreProcessors.js";
|
|
@@ -46,6 +46,7 @@ export const useDataGridPremiumComponent = (inputApiRef, props) => {
|
|
|
46
46
|
useGridInitializeState(sortingStateInitializer, apiRef, props);
|
|
47
47
|
useGridInitializeState(preferencePanelStateInitializer, apiRef, props);
|
|
48
48
|
useGridInitializeState(filterStateInitializer, apiRef, props);
|
|
49
|
+
useGridInitializeState(rowSpanningStateInitializer, apiRef, props);
|
|
49
50
|
useGridInitializeState(densityStateInitializer, apiRef, props);
|
|
50
51
|
useGridInitializeState(columnReorderStateInitializer, apiRef, props);
|
|
51
52
|
useGridInitializeState(columnResizeStateInitializer, apiRef, props);
|
|
@@ -66,6 +67,7 @@ export const useDataGridPremiumComponent = (inputApiRef, props) => {
|
|
|
66
67
|
useGridRowPinning(apiRef, props);
|
|
67
68
|
useGridColumns(apiRef, props);
|
|
68
69
|
useGridRows(apiRef, props);
|
|
70
|
+
useGridRowSpanning(apiRef, props);
|
|
69
71
|
useGridParamsApi(apiRef);
|
|
70
72
|
useGridDetailPanel(apiRef, props);
|
|
71
73
|
useGridColumnSpanning(apiRef);
|
|
@@ -14,6 +14,7 @@ const AUTO_SCROLL_SENSITIVITY = 50; // The distance from the edge to start scrol
|
|
|
14
14
|
const AUTO_SCROLL_SPEED = 20; // The speed to scroll once the mouse enters the sensitivity area
|
|
15
15
|
|
|
16
16
|
export const useGridCellSelection = (apiRef, props) => {
|
|
17
|
+
const hasRootReference = apiRef.current.rootElementRef.current !== null;
|
|
17
18
|
const visibleRows = useGridVisibleRows(apiRef, props);
|
|
18
19
|
const cellWithVirtualFocus = React.useRef();
|
|
19
20
|
const lastMouseDownCell = React.useRef();
|
|
@@ -368,7 +369,7 @@ export const useGridCellSelection = (apiRef, props) => {
|
|
|
368
369
|
const document = ownerDocument(rootRef);
|
|
369
370
|
document.removeEventListener('mouseup', handleMouseUp);
|
|
370
371
|
};
|
|
371
|
-
}, [apiRef, handleMouseUp, stopAutoScroll]);
|
|
372
|
+
}, [apiRef, hasRootReference, handleMouseUp, stopAutoScroll]);
|
|
372
373
|
const checkIfCellIsSelected = React.useCallback((isSelected, {
|
|
373
374
|
id,
|
|
374
375
|
field
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { GRID_CHECKBOX_SELECTION_FIELD, gridFocusCellSelector, gridVisibleColumnFieldsSelector, useGridApiOptionHandler, useGridApiEventHandler, gridPaginatedVisibleSortedGridRowIdsSelector, gridExpandedSortedRowIdsSelector } from '@mui/x-data-grid';
|
|
4
|
-
import {
|
|
4
|
+
import { getRowIdFromRowModel, getActiveElement, useGridRegisterPipeProcessor, getPublicApiRef, isPasteShortcut, useGridLogger } from '@mui/x-data-grid/internals';
|
|
5
|
+
import { warnOnce } from '@mui/x-internals/warning';
|
|
5
6
|
import { GRID_DETAIL_PANEL_TOGGLE_FIELD, GRID_REORDER_COL_DEF } from '@mui/x-data-grid-pro';
|
|
6
7
|
import { unstable_debounce as debounce } from '@mui/utils';
|
|
7
8
|
const columnFieldsToExcludeFromPaste = [GRID_CHECKBOX_SELECTION_FIELD, GRID_REORDER_COL_DEF.field, GRID_DETAIL_PANEL_TOGGLE_FIELD];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import { GRID_DATE_COL_DEF, GRID_DATETIME_COL_DEF } from '@mui/x-data-grid-pro';
|
|
3
|
-
import {
|
|
3
|
+
import { isObject, isSingleSelectColDef, gridHasColSpanSelector } from '@mui/x-data-grid/internals';
|
|
4
|
+
import { warnOnce } from '@mui/x-internals/warning';
|
|
4
5
|
const getExcelJs = async () => {
|
|
5
6
|
const excelJsModule = await import('exceljs');
|
|
6
7
|
return excelJsModule.default ?? excelJsModule;
|
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 = "MTcyNjc4NjgwMDAwMA==";
|
|
4
4
|
if (process.env.NODE_ENV !== 'production') {
|
|
5
5
|
// A simple hack to set the value in the test environment (has no build step).
|
|
6
6
|
// eslint-disable-next-line no-useless-concat
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid-premium",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.18.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",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
],
|
|
30
30
|
"repository": {
|
|
31
31
|
"type": "git",
|
|
32
|
-
"url": "https://github.com/mui/mui-x.git",
|
|
32
|
+
"url": "git+https://github.com/mui/mui-x.git",
|
|
33
33
|
"directory": "packages/x-data-grid-premium"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
@@ -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": "7.
|
|
44
|
-
"@mui/x-
|
|
45
|
-
"@mui/x-license": "7.
|
|
46
|
-
"@mui/x-
|
|
43
|
+
"@mui/x-data-grid": "7.18.0",
|
|
44
|
+
"@mui/x-internals": "7.18.0",
|
|
45
|
+
"@mui/x-license": "7.18.0",
|
|
46
|
+
"@mui/x-data-grid-pro": "7.18.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@emotion/react": "^11.9.0",
|
package/utils/releaseInfo.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.getReleaseInfo = void 0;
|
|
7
7
|
var _utils = require("@mui/utils");
|
|
8
8
|
const getReleaseInfo = () => {
|
|
9
|
-
const releaseInfo = "
|
|
9
|
+
const releaseInfo = "MTcyNjc4NjgwMDAwMA==";
|
|
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
|