@mui/x-data-grid-premium 7.22.1 → 7.22.3
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 +139 -0
- package/esm/utils/releaseInfo.js +1 -1
- package/hooks/features/export/gridExcelExportInterface.d.ts +1 -4
- package/index.js +1 -1
- package/modern/index.js +1 -1
- package/modern/utils/releaseInfo.js +1 -1
- package/package.json +4 -4
- package/typeOverloads/modules.d.ts +8 -1
- package/utils/releaseInfo.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,145 @@
|
|
|
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.22.3
|
|
7
|
+
|
|
8
|
+
_Nov 21, 2024_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 📊 Charts Pro get stable. The [zoom](https://mui.com/x/react-charts/zoom-and-pan/) and [Heatmap](https://mui.com/x/react-charts/heatmap/) are now stable.
|
|
13
|
+
- 🌍 Improve Chinese, Spanish, Swedish, and Turkish locales on the Data Grid
|
|
14
|
+
- 🐞 Bugfixes
|
|
15
|
+
|
|
16
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
17
|
+
@CarlosLopezLg, @headironc, @viktormelin, @qerkules, @DungTiger, @hendrikpeilke, @k-rajat19.
|
|
18
|
+
Following are all team members who have contributed to this release:
|
|
19
|
+
@alexfauquette, @LukasTy, @MBilalShafi, @flaviendelangle.
|
|
20
|
+
|
|
21
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
22
|
+
|
|
23
|
+
### Data Grid
|
|
24
|
+
|
|
25
|
+
#### `@mui/x-data-grid@7.22.3`
|
|
26
|
+
|
|
27
|
+
- [DataGrid] Add prop to override search input props in `GridColumnsManagement` (#15476) @k-rajat19
|
|
28
|
+
- [DataGrid] Add test coverage for issues fixed in #15184 @MBilalShafi
|
|
29
|
+
- [DataGrid] Fix memoized selectors with arguments (#15336) @MBilalShafi
|
|
30
|
+
- [DataGrid] Fix right column group header border with virtualization (#15503) @hendrikpeilke
|
|
31
|
+
- [DataGrid] Pass reason to `onPaginationModelChange` (#15402) @DungTiger
|
|
32
|
+
- [DataGrid] Set default overlay height in flex parent layout (#15535) @cherniavskii
|
|
33
|
+
- [l10n] Improve Chinese (zh-CN) locale (#15365) @headironc
|
|
34
|
+
- [l10n] Improve Spanish (es-ES) locale (#15369) @CarlosLopezLg
|
|
35
|
+
- [l10n] Improve Swedish (sv-SE) locale (#15371) @viktormelin
|
|
36
|
+
- [l10n] Improve Turkish (tr-TR) locale (#15414) @qerkules
|
|
37
|
+
|
|
38
|
+
#### `@mui/x-data-grid-pro@7.22.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
39
|
+
|
|
40
|
+
Same changes as in `@mui/x-data-grid@7.22.3`.
|
|
41
|
+
|
|
42
|
+
#### `@mui/x-data-grid-premium@7.22.3` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
43
|
+
|
|
44
|
+
Same changes as in `@mui/x-data-grid-pro@7.22.3`.
|
|
45
|
+
|
|
46
|
+
### Date and Time Pickers
|
|
47
|
+
|
|
48
|
+
#### `@mui/x-date-pickers@7.22.3`
|
|
49
|
+
|
|
50
|
+
- [pickers] Always use `props.value` when it changes (#15500) @flaviendelangle
|
|
51
|
+
- [pickers] Ensure internal value timezone is updated (#15491) @LukasTy
|
|
52
|
+
- [pickers] Fix `DateTimeRangePicker` error when using format without time (#15341) @fxnoob
|
|
53
|
+
- [pickers] Fix unused code in `PickersToolbar` component (#15525) @LukasTy
|
|
54
|
+
|
|
55
|
+
#### `@mui/x-date-pickers-pro@7.22.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
56
|
+
|
|
57
|
+
Same changes as in `@mui/x-date-pickers@7.22.3`, plus:
|
|
58
|
+
|
|
59
|
+
- [DateTimeRangePicker] Use time in `referenceDate` when selecting date (#15431) @LukasTy
|
|
60
|
+
|
|
61
|
+
### Charts
|
|
62
|
+
|
|
63
|
+
#### `@mui/x-charts@7.22.3`
|
|
64
|
+
|
|
65
|
+
No changes since `@mui/x-charts@7.22.2`.
|
|
66
|
+
|
|
67
|
+
#### `@mui/x-charts-pro@7.22.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
68
|
+
|
|
69
|
+
- [charts-pro] Fix missing typeOverload (#15400) @alexfauquette
|
|
70
|
+
|
|
71
|
+
### Docs
|
|
72
|
+
|
|
73
|
+
- [docs] Add `PickersPopper` component to customization playground (#15397) @LukasTy
|
|
74
|
+
- [docs] Add `next` version links (#15423) @LukasTy
|
|
75
|
+
- [docs] Use the `loading` state in the demos (#15538) @cherniavskii
|
|
76
|
+
|
|
77
|
+
- [code-infra] Tentative fix for Argos flaky screenshot tests (#15399) @JCQuintas
|
|
78
|
+
- [docs-infra] Transpile `.ts` demo files (#15421) @KenanYusuf
|
|
79
|
+
- [core] Clarify release version bump strategy (#15536) @cherniavskii
|
|
80
|
+
|
|
81
|
+
## 7.22.2
|
|
82
|
+
|
|
83
|
+
_Nov 8, 2024_
|
|
84
|
+
|
|
85
|
+
We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
|
|
86
|
+
|
|
87
|
+
- 👨🏽💻 API enhancements
|
|
88
|
+
- 🐞 Bugfixes
|
|
89
|
+
|
|
90
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
91
|
+
@clins1994, @GuillaumeMeheut, @k-rajat19.
|
|
92
|
+
Following are all team members who have contributed to this release:
|
|
93
|
+
@LukasTy, @MBilalShafi, @KenanYusuf, @arminmeh.
|
|
94
|
+
|
|
95
|
+
### Upcoming alpha
|
|
96
|
+
|
|
97
|
+
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.
|
|
98
|
+
|
|
99
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
100
|
+
|
|
101
|
+
### Data Grid
|
|
102
|
+
|
|
103
|
+
#### `@mui/x-data-grid@7.22.2`
|
|
104
|
+
|
|
105
|
+
- [DataGrid] Fix `null` reference error in `GridVirtualScrollbar` (#15289) @MBilalShafi
|
|
106
|
+
- [DataGrid] Fix filtering with `boolean` column type (#15257) @k-rajat19
|
|
107
|
+
- [DataGrid] Improve row selection propagation trigger (#15274) @MBilalShafi
|
|
108
|
+
- [DataGrid] Preprocess edit cell props on backspace/delete (#15223) @KenanYusuf
|
|
109
|
+
- [DataGrid] Add a recipe to persist column width and order (#15309) @MBilalShafi
|
|
110
|
+
|
|
111
|
+
#### `@mui/x-data-grid-pro@7.22.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
112
|
+
|
|
113
|
+
Same changes as in `@mui/x-data-grid@7.22.2`, plus:
|
|
114
|
+
|
|
115
|
+
- [DataGridPro] Apply default properties if they are not passed in a reorder column (#15320) @k-rajat19
|
|
116
|
+
- [DataGridPro] Toggle row expansion with `Enter` key in Tree data (#15313) @k-rajat19
|
|
117
|
+
|
|
118
|
+
#### `@mui/x-data-grid-premium@7.22.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
119
|
+
|
|
120
|
+
Same changes as in `@mui/x-data-grid-pro@7.22.2`, plus:
|
|
121
|
+
|
|
122
|
+
- [DataGridPremium] Fix incorrect rows selection count when selection propagation is enabled with row grouping (#15222) @arminmeh
|
|
123
|
+
|
|
124
|
+
### Date and Time Pickers
|
|
125
|
+
|
|
126
|
+
#### `@mui/x-date-pickers@7.22.2`
|
|
127
|
+
|
|
128
|
+
- [pickers] Add support for `moment-hijri@3.0.0` (#15248) @LukasTy
|
|
129
|
+
|
|
130
|
+
#### `@mui/x-date-pickers-pro@7.22.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
131
|
+
|
|
132
|
+
Same changes as in `@mui/x-date-pickers@7.22.2`.
|
|
133
|
+
|
|
134
|
+
### Charts
|
|
135
|
+
|
|
136
|
+
#### `@mui/x-charts@7.22.2`
|
|
137
|
+
|
|
138
|
+
- [charts] Allow `SeriesValueFormatter` to return `null` value (#15295) @clins1994
|
|
139
|
+
- [charts] Allow configuring the `domainLimit` for each axis. (#15325) @GuillaumeMeheut
|
|
140
|
+
|
|
141
|
+
#### `@mui/x-charts-pro@7.0.0-beta.7` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
142
|
+
|
|
143
|
+
Same changes as in `@mui/x-charts@7.22.2`.
|
|
144
|
+
|
|
6
145
|
## 7.22.1
|
|
7
146
|
|
|
8
147
|
_Nov 1, 2024_
|
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 = "MTczMjE0MzYwMDAwMA==";
|
|
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
|
|
@@ -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
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 = "MTczMjE0MzYwMDAwMA==";
|
|
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.22.
|
|
3
|
+
"version": "7.22.3",
|
|
4
4
|
"description": "The Premium plan edition of the Data Grid Components (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"exceljs": "^4.4.0",
|
|
41
41
|
"prop-types": "^15.8.1",
|
|
42
42
|
"reselect": "^5.1.1",
|
|
43
|
-
"@mui/x-data-grid-pro": "7.22.1",
|
|
44
43
|
"@mui/x-license": "7.21.0",
|
|
45
|
-
"@mui/x-
|
|
46
|
-
"@mui/x-
|
|
44
|
+
"@mui/x-internals": "7.21.0",
|
|
45
|
+
"@mui/x-data-grid": "7.22.3",
|
|
46
|
+
"@mui/x-data-grid-pro": "7.22.3"
|
|
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 = "MTczMjE0MzYwMDAwMA==";
|
|
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
|