@mui/x-data-grid-pro 5.1.0 → 5.3.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 +340 -23
- package/LICENSE +12 -0
- package/index-cjs.js +2 -2
- package/index-esm.js +2 -2
- package/package.json +7 -7
- package/themeAugmentation/props.d.ts +1 -1
- package/x-data-grid-pro.d.ts +5011 -4092
- package/x-data-grid/src/DataGrid.d.ts +0 -4
- package/x-data-grid/src/DataGridColumnHeaders.d.ts +0 -6
- package/x-data-grid/src/DataGridProps.d.ts +0 -8
- package/x-data-grid/src/DataGridVirtualScroller.d.ts +0 -8
- package/x-data-grid/src/index.d.ts +0 -4
- package/x-data-grid/src/tests/DataGrid.spec.d.ts +0 -1
- package/x-data-grid/src/tests/columns.spec.d.ts +0 -1
- package/x-data-grid/src/tests/themeAugmentation.spec.d.ts +0 -1
- package/x-data-grid/src/themeAugmentation/index.d.ts +0 -2
- package/x-data-grid/src/themeAugmentation/overrides.d.ts +0 -8
- package/x-data-grid/src/themeAugmentation/props.d.ts +0 -19
- package/x-data-grid/src/useDataGridComponent.d.ts +0 -2
- package/x-data-grid/src/useDataGridProps.d.ts +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,9 +3,327 @@
|
|
|
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
|
+
## 5.3.0
|
|
7
|
+
|
|
8
|
+
_Jan 21, 2022_
|
|
9
|
+
|
|
10
|
+
A big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🎁 Allow to group rows based on column value (#3277) @flaviendelangle
|
|
13
|
+
|
|
14
|
+
⚠️ This feature is temporarily available on the Pro plan until the release of the Premium plan.
|
|
15
|
+
|
|
16
|
+
To avoid future regression for users of the Pro plan, the feature needs to be explicitly activated using the rowGrouping experimental feature flag.
|
|
17
|
+
|
|
18
|
+
```tsx
|
|
19
|
+
// To fully control
|
|
20
|
+
<DataGridPro
|
|
21
|
+
rowGroupingModel={rowGroupingModel}
|
|
22
|
+
onRowGroupingModel={newModel => setRowGroupingModel(newModel)}
|
|
23
|
+
experimentalFeatures={{ rowGrouping: true }}
|
|
24
|
+
/>
|
|
25
|
+
|
|
26
|
+
// To initialize without controlling
|
|
27
|
+
<DataGridPro
|
|
28
|
+
initialState={{
|
|
29
|
+
rowGrouping: {
|
|
30
|
+
model: rowGroupingModel,
|
|
31
|
+
},
|
|
32
|
+
}}
|
|
33
|
+
experimentalFeatures={{ rowGrouping: true }}
|
|
34
|
+
/>
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
See the [documentation](https://mui.com/components/data-grid/group-pivot/#row-grouping) for more details.
|
|
38
|
+
|
|
39
|
+
- ⚡ Add `is any of` filter operator (#2874) @alexfauquette
|
|
40
|
+
|
|
41
|
+
The new filter operator `is any of` allows the user to provide multiple values. It opens access to complex filtering pattern mixing `AND` and `OR` logic connectors, such as `status is any of filled or rejected, and currency is any of EUR or USD`.
|
|
42
|
+
|
|
43
|
+
<img src="https://user-images.githubusercontent.com/45398769/150486348-996a938f-db24-426f-bfe3-c06337f71807.gif" width="770" height="370">
|
|
44
|
+
|
|
45
|
+
- ✨ Introduce a `maxWidth` property in `GridColDef` (#3550) @flaviendelangle
|
|
46
|
+
|
|
47
|
+
You can now limit the width of the flex columns and the resizable columns with the new `maxWidth` property on `GridColDef`.
|
|
48
|
+
|
|
49
|
+
```tsx
|
|
50
|
+
const columns: GridColDef[] = [
|
|
51
|
+
{ field: 'director', flex: 1, maxWidth: 200 }, // will take the free space up to 200px and will not be resizable above 200px
|
|
52
|
+
{ field: 'year', maxWidth: 150 }, // will not be resizable above 150px
|
|
53
|
+
]
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
- 🚀 Add component slots for a subset of used `@mui/material` components (#3490) @DanailH
|
|
57
|
+
|
|
58
|
+
To make the grid more flexible we added component slots for base `@mui/material` components that we use. Those component slots are prefixed with `Base` to differentiate them from the other grid specific components
|
|
59
|
+
|
|
60
|
+
For more information check the documentation [documentation](https://mui.com/api/data-grid/data-grid/#slots).
|
|
61
|
+
|
|
62
|
+
- 🔥 Allow to pass `csvOptions` and `printOptions` to `toolbar` component prop (#3623) @flaviendelangle
|
|
63
|
+
|
|
64
|
+
```tsx
|
|
65
|
+
const CustomDataGrid = (props: DataGridProps) => {
|
|
66
|
+
return (
|
|
67
|
+
<DataGrid {...props} componentsProps={{ toolbar: { csvOptions: { delimiter: ';' } } }} />
|
|
68
|
+
)
|
|
69
|
+
}
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
- 🙈 Add controlled behavior for the visible columns (#3554) @flaviendelangle
|
|
73
|
+
|
|
74
|
+
```tsx
|
|
75
|
+
// To fully control
|
|
76
|
+
<DataGrid
|
|
77
|
+
columnVisibilityModel={columnVisibilityModel}
|
|
78
|
+
onColumnVisilibilityModelChange={newModel => setColumnVisibilityModel(newModel)}
|
|
79
|
+
/>
|
|
80
|
+
|
|
81
|
+
// To initialize without controlling
|
|
82
|
+
<DataGrid
|
|
83
|
+
initialState={{
|
|
84
|
+
columns: {
|
|
85
|
+
columnVisibilityModel
|
|
86
|
+
}
|
|
87
|
+
}}
|
|
88
|
+
/>
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
See the [documentation](https://mui.com/components/data-grid/columns/#column-visibility) for more details.
|
|
92
|
+
|
|
93
|
+
The `hide` property from `GridColDef` still works but has been deprecated.
|
|
94
|
+
|
|
95
|
+
- 📚 Documentation improvements
|
|
96
|
+
- 🐞 Bugfixes
|
|
97
|
+
|
|
98
|
+
### `@mui/x-data-grid@v5.3.0` / `@mui/x-data-grid-pro@v5.3.0`
|
|
99
|
+
|
|
100
|
+
#### Changes
|
|
101
|
+
|
|
102
|
+
- [DataGrid] Add component slots for a subset of used `@mui/material` components (#3490) @DanailH
|
|
103
|
+
- [DataGrid] Add controlled behavior for the visible columns (#3554) @flaviendelangle
|
|
104
|
+
- [DataGrid] Add debounce to text input (#3617) @m4theushw
|
|
105
|
+
- [DataGrid] Add `is any of` filter operator (#2874) @alexfauquette
|
|
106
|
+
- [DataGrid] Allow to pass `csvOptions` and `printOptions` to `GridToolbar` (#3623) @flaviendelangle
|
|
107
|
+
- [DataGrid] Disable `Hide` button if there's only one visible column (#3607) @cherniavskii
|
|
108
|
+
- [DataGrid] Fix line break characters breaking CSV rows (#3590) @cherniavskii
|
|
109
|
+
- [DataGrid] Fix potential memory leak warning (#3558) @m4theushw
|
|
110
|
+
- [DataGrid] Introduce a `maxWidth` property in `GridColDef` (#3550) @flaviendelangle
|
|
111
|
+
- [DataGrid] Make row editing work with `preProcessEditCellProps` (#3562) @flaviendelangle
|
|
112
|
+
- [DataGridPro] Export the column pinning selector (#3594) @flaviendelangle
|
|
113
|
+
- [DataGridPro] Keep row children expansion when updating the rows (#3604) @flaviendelangle
|
|
114
|
+
- [DataGridPro] Keep tree data grouping column width when regenerating the columns (#3603) @flaviendelangle
|
|
115
|
+
- [DataGridPremium] Allow to group rows based on column value (#3277) @flaviendelangle
|
|
116
|
+
- [l10n] Improve Finnish (fiFI) locale (#3621) @MijMa
|
|
117
|
+
- [l10n] Improve Ukrainian (ukUA) locale (#3586) @Neonin
|
|
118
|
+
- [l10n] Improve Czech (csCZ) and Slovak (skSK) locale (#3678) @Haaxor1689
|
|
119
|
+
|
|
120
|
+
### Docs
|
|
121
|
+
|
|
122
|
+
- [docs] Add doc example for tree data children lazy loading (#3657) @flaviendelangle
|
|
123
|
+
- [docs] Fix typo exchanging `false` and `true` on columns hiding section (#3561) @alexfauquette
|
|
124
|
+
- [docs] Improve filtering documentation page (#3437) @flaviendelangle
|
|
125
|
+
- [docs] Include header badges as in the other components (#3606) @oliviertassinari
|
|
126
|
+
- [docs] Lint markdown in the CI (#3504) @oliviertassinari
|
|
127
|
+
- [docs] Make inputs to extend full height of the cell (#3567) @m4theushw
|
|
128
|
+
- [docs] Add documentation page about the grid state (#3431) @flaviendelangle
|
|
129
|
+
- [docs] Replace `@mui/styles` in `x-data-grid-generator` (#3560) @m4theushw
|
|
130
|
+
- [docs] Update usage of prop/property naming (#3649) @cherniavskii
|
|
131
|
+
|
|
132
|
+
### Core
|
|
133
|
+
|
|
134
|
+
- [core] Log the output of the script (#3527) @oliviertassinari
|
|
135
|
+
- [core] Add ESLint rule to prevent direct state access (#3521) @m4theushw
|
|
136
|
+
- [core] Add language to markdown code block (#3651) @m4theushw
|
|
137
|
+
- [core] Add typing to the pre-processors methods (#3595) @flaviendelangle
|
|
138
|
+
- [core] Don't bump peer dependency ranges on dependency updates (#3646) @oliviertassinari
|
|
139
|
+
- [core] Rename more instances of Material-UI to MUI (#3525) @oliviertassinari
|
|
140
|
+
- [core] Renovate should not try to update node (#3645) @oliviertassinari
|
|
141
|
+
- [core] Report performance test results on each PR (#3551) @m4theushw
|
|
142
|
+
- [core] Update monorepo (#3653) @m4theushw
|
|
143
|
+
- [core] Update `l10n` issue with a single command line (#3588) @alexfauquette
|
|
144
|
+
- [test] Wait for promise to resolve before expect (#3597) @m4theushw
|
|
145
|
+
- [test] Split cell/row editing tests (#3618) @m4theushw
|
|
146
|
+
- [test] Skip tests on Safari (#3679) @m4theushw
|
|
147
|
+
|
|
148
|
+
## 5.2.2
|
|
149
|
+
|
|
150
|
+
_Jan 6, 2022_
|
|
151
|
+
|
|
152
|
+
A big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
|
|
153
|
+
|
|
154
|
+
- 🎁 Add `hideable` option to `GridColDef` (#3433) @m4theushw
|
|
155
|
+
- ⚡ Add support for column-based `sortingOrder` with the new `sortingOrder` option in `GridColDef` (#3449) @Quppa
|
|
156
|
+
- ✨ Allow to initialize the `page` and `pageSize` without controlling them with the `initialState` prop (#3495) @flaviendelangle
|
|
157
|
+
- 🙈 Allow to precisely control which children rows to expand with the new `isGroupExpandedByDefault` prop (#3444) @flaviendelangle
|
|
158
|
+
- 🌍 Add Finnish (fiFI) locale (#3485) @kurkle
|
|
159
|
+
- 📚 Documentation improvements
|
|
160
|
+
- 🐞 Bugfixes
|
|
161
|
+
|
|
162
|
+
### `@mui/x-data-grid@v5.2.2` / `@mui/x-data-grid-pro@v5.2.2`
|
|
163
|
+
|
|
164
|
+
#### Changes
|
|
165
|
+
|
|
166
|
+
- [DataGrid] Add `hideable` option to GridColDef (#3433) @alexfauquette
|
|
167
|
+
- [DataGrid] Add `sortingOrder` to GridColDef (#3449) @Quppa
|
|
168
|
+
- [DataGrid] Add the page and pageSize to the initialState prop (#3495) @flaviendelangle
|
|
169
|
+
- [DataGrid] Avoid re-render when pressing key inside already focused cell (#3484) @m4theushw
|
|
170
|
+
- [DataGrid] Close other actions menus when opening a new one (#3492) @m4theushw
|
|
171
|
+
- [DataGrid] Deprecate `getValue` param from the cell and row params (#3369) @flaviendelangle
|
|
172
|
+
- [DataGrid] Fix value parsing in date input (#3307) @alexfauquette
|
|
173
|
+
- [DataGrid] Fix can't enter 0 on numeric column (#3491) @m4theushw
|
|
174
|
+
- [DataGrid] Fix scrolling bug when an action is focused (#3483) @alexfauquette
|
|
175
|
+
- [DataGrid] Remove `line-height` from `GridCell` (#3446) @DanailH
|
|
176
|
+
- [DataGridPro] Block edition for auto-generated rows (#3547) @flaviendelangle
|
|
177
|
+
- [DataGridPro] Expose the field of the tree data grouping column as a constant (#3549) @flaviendelangle
|
|
178
|
+
- [DataGridPro] Fix resizing of right pinned columns (#3502) @m4theushw
|
|
179
|
+
- [DataGridPro] Add new prop `isGroupExpandedByDefault` (#3444) @flaviendelangle
|
|
180
|
+
- [l10n] Add Finnish (fiFI) locale (#3485) @kurkle
|
|
181
|
+
- [l10n] Improve French (frFR) locale (#3494) @Zenoo
|
|
182
|
+
- [l10n] Improve Italian (itIT) locale (#3452) @destegabry
|
|
183
|
+
- [l10n] Improve Vietnamese (viVN) locale (#3493) @hckhanh
|
|
184
|
+
|
|
185
|
+
### Docs
|
|
186
|
+
|
|
187
|
+
- [docs] Generate imports dynamically from the packages export list (#3488) @flaviendelangle
|
|
188
|
+
- [docs] Make demos compatible with `preProcessEditCellProps` (#3453) @m4theushw
|
|
189
|
+
|
|
190
|
+
### Core
|
|
191
|
+
|
|
192
|
+
- [test] Add test for row checkbox toggling using the Space key (#3262) @alexfauquette
|
|
193
|
+
- [core] Increase CI efficiency (#3441) @oliviertassinari
|
|
194
|
+
- [core] Refactor sorting comparator (#3390) @flaviendelangle
|
|
195
|
+
- [core] Update dependency on the core (#3526) @oliviertassinari
|
|
196
|
+
- [core] Update tweet example in release readme (#3481) @DanailH
|
|
197
|
+
|
|
198
|
+
## 5.2.1
|
|
199
|
+
|
|
200
|
+
_Dec 17, 2021_
|
|
201
|
+
|
|
202
|
+
A big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
|
|
203
|
+
|
|
204
|
+
- 🖨️ Improve the print export to break the pages correctly (#3302) @flaviendelangle
|
|
205
|
+
- 🎁 Add `pinnable` option to `GridColDef` (#3425) @m4theushw
|
|
206
|
+
- 📚 Documentation improvements
|
|
207
|
+
- 🐞 Bugfixes
|
|
208
|
+
|
|
209
|
+
### `@mui/x-data-grid@v5.2.1` / `@mui/x-data-grid-pro@v5.2.1`
|
|
210
|
+
|
|
211
|
+
#### Changes
|
|
212
|
+
|
|
213
|
+
- [DataGridPro] Add `pinnable` option (#3425) @m4theushw
|
|
214
|
+
- [DataGridPro] Avoid filtering columns if no column is pinned (#3438) @m4theushw
|
|
215
|
+
- [DataGrid] Avoid page break inside a row in the Print Export (#3302) @flaviendelangle
|
|
216
|
+
- [DataGrid] Fix `GridEditDateCell` to handle `editRowsModel` correctly (#3267) @alexfauquette
|
|
217
|
+
- [DataGrid] Refactor keyboard/click event management (#3275) @alexfauquette
|
|
218
|
+
- [DataGrid] Fire change event when the state changes, instead of when the prop changes (#3388) @flaviendelangle
|
|
219
|
+
- [DataGrid] Unsubscribe event listeners registered in uncommitted renders (#3310) @m4theushw
|
|
220
|
+
- [DataGrid] Rework state update methods and deprecate `useGridApi` and `useGridState` (#3325) @flaviendelangle
|
|
221
|
+
- [l10n] Improve German (deDE) locale (#3430) @sebastianfrey
|
|
222
|
+
- [l10n] Improve Hebrew (heIL) locale (#3445) @ColdAtNight
|
|
223
|
+
- [l10n] Improve Dutch (nlNL) locale (#3429) @jaapjr
|
|
224
|
+
|
|
225
|
+
### Docs
|
|
226
|
+
|
|
227
|
+
- [docs] Improve pagination documentation page (#3424) @flaviendelangle
|
|
228
|
+
- [docs] Include @mui/x-data-grid as dependency in the CodeSandbox (#3396) @m4theushw
|
|
229
|
+
- [docs] Stop using TypeDoc to generate the API documentation (#3320) @flaviendelangle
|
|
230
|
+
- [docs] Remove column pinning from "Upcoming features" (#3443) @alexfauquette
|
|
231
|
+
|
|
232
|
+
### Core
|
|
233
|
+
|
|
234
|
+
- [core] Add sections to some of the feature hooks (#3391) @flaviendelangle
|
|
235
|
+
- [core] Generate exports snapshot for both `x-data-grid` and `x-data-grid-pro` packages (#3427) @flaviendelangle
|
|
236
|
+
- [core] Remove 'x-data-grid' folder from DataGridPro bundle (#3394) @m4theushw
|
|
237
|
+
- [core] Add link to OpenCollective (#3392) @oliviertassinari
|
|
238
|
+
|
|
239
|
+
## 5.2.0
|
|
240
|
+
|
|
241
|
+
_Dec 9, 2021_
|
|
242
|
+
|
|
243
|
+
A big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
|
|
244
|
+
|
|
245
|
+
### `@mui/x-data-grid@v5.2.0` / `@mui/x-data-grid-pro@v5.2.0`
|
|
246
|
+
|
|
247
|
+
- 🚀 Introduce the [column pinning](https://mui.com/components/data-grid/columns/#column-pinning) feature (#2946) @m4theushw
|
|
248
|
+
|
|
249
|
+
<img src="https://user-images.githubusercontent.com/42154031/145425635-b6314fbe-2f1e-4b73-908f-33ee1fda20c7.gif" width="964" height="657">
|
|
250
|
+
|
|
251
|
+
- 🔥 Add ability to disable export options (#3270) @alexfauquette
|
|
252
|
+
|
|
253
|
+
You can disable either export options by setting `disableToolbarButton` to `true`.
|
|
254
|
+
|
|
255
|
+
```tsx
|
|
256
|
+
<GridToolbarExport csvOptions={{ disableToolbarButton: true }} />
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
```tsx
|
|
260
|
+
<GridToolbarExport printOptions={{ disableToolbarButton: true }} />
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
- 🙈 Add a new option to hide the amount of descendant on the grouping cells of the Tree Data (#3368) @flaviendelangle
|
|
264
|
+
|
|
265
|
+
```tsx
|
|
266
|
+
<DataGridPro
|
|
267
|
+
treeData
|
|
268
|
+
rows={rows}
|
|
269
|
+
columns={columns}
|
|
270
|
+
groupingColDef={{ hideDescendantCount }}
|
|
271
|
+
/>
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
- ⚠️ Deprecate the `getValue` param for the `valueGetter` callback (#3314) @flaviendelangle
|
|
275
|
+
|
|
276
|
+
Instead, you can access directly the row in the params
|
|
277
|
+
|
|
278
|
+
```diff
|
|
279
|
+
-valueGetter: (params) => `${params.getValue(params.id, 'firstName') || ''} ${params.getValue(params.id, 'lastName') || ''}`
|
|
280
|
+
+valueGetter: (params) => `${params.row.firstName || ''} ${params.row.lastName || ''}`
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
- 📚 Documentation improvements
|
|
284
|
+
- 🐞 Bugfixes
|
|
285
|
+
|
|
286
|
+
#### Changes
|
|
287
|
+
|
|
288
|
+
- [DataGridPro] Add column pinning (#2946) @m4theushw
|
|
289
|
+
- [DataGridPro] Add `hideDescendantCount` option to Tree Data (#3368) @flaviendelangle
|
|
290
|
+
- [DataGridPro] Do not expand row children with <kbd>Shift</kbd> + Space (#3380) @flaviendelangle
|
|
291
|
+
- [DataGridPro] Pass a list of `fields` to the callback version of `groupingColDef` (#3316) @flaviendelangle
|
|
292
|
+
- [DataGrid] Deprecate the `getValue` param for the `valueGetter` callback (#3314) @flaviendelangle
|
|
293
|
+
- [DataGrid] Add ability to disable export options (#3270) @alexfauquette
|
|
294
|
+
- [DataGrid] Filter value are conserved when possible (#3198) @alexfauquette
|
|
295
|
+
- [DataGrid] Fix `DatePicker` bug by limiting years to 4 digits (#3222) @alexfauquette
|
|
296
|
+
- [DataGrid] Fix column menu position when closing (#3289) @m4theushw
|
|
297
|
+
- [DataGrid] Fix to not crash when a sort item uses a non-existing column (#3224) @flaviendelangle
|
|
298
|
+
- [DataGrid] Type the `api` param in callback interfaces (#3315) @flaviendelangle
|
|
299
|
+
|
|
300
|
+
### Docs
|
|
301
|
+
|
|
302
|
+
- [docs] Always use auto-generated `apiRef` documentation (#3266) @flaviendelangle
|
|
303
|
+
- [docs] Avoid 301 links (#3329) @oliviertassinari
|
|
304
|
+
- [docs] Disable the ad when not MIT (#3334) @oliviertassinari
|
|
305
|
+
- [docs] Fix 404 link to Zendesk @oliviertassinari
|
|
306
|
+
- [docs] Fix dead link on the overview page (#3326) @flaviendelangle
|
|
307
|
+
- [docs] Fix double MUI in the title (#3332) @oliviertassinari
|
|
308
|
+
- [docs] Fix duplicate "the" (#3365) @noam-honig
|
|
309
|
+
- [docs] Update branch to deploy docs (#3321) @m4theushw
|
|
310
|
+
|
|
311
|
+
### Core
|
|
312
|
+
|
|
313
|
+
- [core] Add funding field (#3331) @oliviertassinari
|
|
314
|
+
- [core] Fix missing LICENSE file (#3330) @oliviertassinari
|
|
315
|
+
- [core] Fix release month in CHANGELOG (#3367) @m4theushw
|
|
316
|
+
- [core] Fix `yarn prettier` script (#3292) @oliviertassinari
|
|
317
|
+
- [core] Improve tests for Tree Data (#3366) @flaviendelangle
|
|
318
|
+
- [core] Never import directly from the `__modules__` folder in the `x-data-grid-generator` package (#3379) @flaviendelangle
|
|
319
|
+
- [core] Transition to a new StackOverflow tag (#3308) @oliviertassinari
|
|
320
|
+
- [core] Update monorepo (#3370) @flaviendelangle
|
|
321
|
+
- [core] Use pre-processors for sorting and filtering (#3318) @flaviendelangle
|
|
322
|
+
- [test] Replace `useFakeTimers` (#3323) @m4theushw
|
|
323
|
+
|
|
6
324
|
## 5.1.0
|
|
7
325
|
|
|
8
|
-
|
|
326
|
+
_Dec 2, 2021_
|
|
9
327
|
|
|
10
328
|
A big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
|
|
11
329
|
|
|
@@ -134,12 +452,14 @@ A big thanks to the 3 contributors who made this release possible. Here are some
|
|
|
134
452
|
|
|
135
453
|
### `@mui/x-data-grid@v5.0.1` / `@mui/x-data-grid-pro@v5.0.1`
|
|
136
454
|
|
|
137
|
-
#### Changes
|
|
138
|
-
|
|
139
455
|
- [DataGrid] New API to validate the editing values (#3006) @m4theushw
|
|
140
456
|
- [DataGrid] Use color-scheme to set dark mode on native components (#3146) @alexfauquette
|
|
141
457
|
- [DataGrid] Fix the `@mui/x-data-grid` type entrypoint (#3196) @flaviendelangle
|
|
142
458
|
|
|
459
|
+
### Docs
|
|
460
|
+
|
|
461
|
+
- [docs] Move sentence about disabling multi rows selection (#3167) @alexfauquette
|
|
462
|
+
|
|
143
463
|
### Core
|
|
144
464
|
|
|
145
465
|
- [core] Drop `useGridContainerProps` (#3007) @flaviendelangle
|
|
@@ -148,10 +468,6 @@ A big thanks to the 3 contributors who made this release possible. Here are some
|
|
|
148
468
|
- [core] Remove the `index.ts` of the export hooks (#3165) @flaviendelangle
|
|
149
469
|
- [core] Set the correct release date for v5.0.0 in the CHANGELOG.md (#3192) @flaviendelangle
|
|
150
470
|
|
|
151
|
-
### Docs
|
|
152
|
-
|
|
153
|
-
- [docs] Move sentence about disabling multi rows selection (#3167) @alexfauquette
|
|
154
|
-
|
|
155
471
|
## 5.0.0
|
|
156
472
|
|
|
157
473
|
_Nov 23, 2021_
|
|
@@ -474,7 +790,7 @@ A big thanks to the 5 contributors who made this release possible. Here are some
|
|
|
474
790
|
- [DataGrid] Remove the `state` prop and use the `initialState` prop (#2848) @flaviendelangle
|
|
475
791
|
|
|
476
792
|
Note that `initialState` only allows the `preferencePanel`, `filter.filterModel` and `sort.sortModel` keys.
|
|
477
|
-
To fully control the state, use the
|
|
793
|
+
To fully control the state, use the feature's model prop and change callback (e.g. `filterModel` and `onFilterModelChange`).
|
|
478
794
|
|
|
479
795
|
```diff
|
|
480
796
|
<DataGrid
|
|
@@ -1252,6 +1568,7 @@ Big thanks to the 8 contributors who made this release possible. Here are some h
|
|
|
1252
1568
|
- The `onEditCellChange` prop was renamed to `onEditCellPropsChange`.
|
|
1253
1569
|
- The `onEditCellChangeCommitted` prop was renamed to `onCellEditCommit`.
|
|
1254
1570
|
- The `onEditRowModelChange` prop was removed. Use the new `onEditRowsModelChange` prop.
|
|
1571
|
+
|
|
1255
1572
|
```diff
|
|
1256
1573
|
-onEditRowModelChange?: (params: GridEditRowModelParams)
|
|
1257
1574
|
+onEditRowsModelChange?: (editRowsModel: GridEditRowsModel)
|
|
@@ -2490,7 +2807,7 @@ Big thanks to the 4 contributors who made this release possible. Here are some h
|
|
|
2490
2807
|
|
|
2491
2808
|
## [4.0.0-alpha.19](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.18...v4.0.0-alpha.19)
|
|
2492
2809
|
|
|
2493
|
-
|
|
2810
|
+
_Feb 5, 2021_
|
|
2494
2811
|
|
|
2495
2812
|
Big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
|
|
2496
2813
|
|
|
@@ -2533,7 +2850,7 @@ Big thanks to the 5 contributors who made this release possible. Here are some h
|
|
|
2533
2850
|
|
|
2534
2851
|
## [4.0.0-alpha.18](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.17...v4.0.0-alpha.18)
|
|
2535
2852
|
|
|
2536
|
-
|
|
2853
|
+
_Jan 26, 2021_
|
|
2537
2854
|
|
|
2538
2855
|
Big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
|
|
2539
2856
|
|
|
@@ -2620,7 +2937,7 @@ Big thanks to the 5 contributors who made this release possible. Here are some h
|
|
|
2620
2937
|
|
|
2621
2938
|
## [4.0.0-alpha.17](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.15...v4.0.0-alpha.17)
|
|
2622
2939
|
|
|
2623
|
-
|
|
2940
|
+
_Jan 14, 2021_
|
|
2624
2941
|
|
|
2625
2942
|
Big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
|
|
2626
2943
|
|
|
@@ -2650,7 +2967,7 @@ Big thanks to the 4 contributors who made this release possible. Here are some h
|
|
|
2650
2967
|
|
|
2651
2968
|
## [4.0.0-alpha.15](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.14...v4.0.0-alpha.15)
|
|
2652
2969
|
|
|
2653
|
-
|
|
2970
|
+
_Jan 7, 2021_
|
|
2654
2971
|
|
|
2655
2972
|
Big thanks to the 2 contributors who made this release possible. Here are some highlights ✨:
|
|
2656
2973
|
|
|
@@ -2673,7 +2990,7 @@ Big thanks to the 2 contributors who made this release possible. Here are some h
|
|
|
2673
2990
|
|
|
2674
2991
|
## [4.0.0-alpha.14](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.13...v4.0.0-alpha.14)
|
|
2675
2992
|
|
|
2676
|
-
|
|
2993
|
+
_Dec 31, 2020_
|
|
2677
2994
|
|
|
2678
2995
|
Big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
|
|
2679
2996
|
|
|
@@ -2707,7 +3024,7 @@ Big thanks to the 5 contributors who made this release possible. Here are some h
|
|
|
2707
3024
|
|
|
2708
3025
|
## [4.0.0-alpha.13](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.12...v4.0.0-alpha.13)
|
|
2709
3026
|
|
|
2710
|
-
|
|
3027
|
+
_Dec 16, 2020_
|
|
2711
3028
|
|
|
2712
3029
|
Big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
|
|
2713
3030
|
|
|
@@ -2736,7 +3053,7 @@ Big thanks to the 4 contributors who made this release possible. Here are some h
|
|
|
2736
3053
|
|
|
2737
3054
|
## [4.0.0-alpha.12](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.11...v4.0.0-alpha.12)
|
|
2738
3055
|
|
|
2739
|
-
|
|
3056
|
+
_Dec 9, 2020_
|
|
2740
3057
|
|
|
2741
3058
|
Big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:
|
|
2742
3059
|
|
|
@@ -2773,7 +3090,7 @@ Big thanks to the 6 contributors who made this release possible. Here are some h
|
|
|
2773
3090
|
|
|
2774
3091
|
## [4.0.0-alpha.11](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.10...v4.0.0-alpha.11)
|
|
2775
3092
|
|
|
2776
|
-
|
|
3093
|
+
_Dec 2, 2020_
|
|
2777
3094
|
|
|
2778
3095
|
Big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
|
|
2779
3096
|
|
|
@@ -2831,7 +3148,7 @@ Big thanks to the 8 contributors who made this release possible. Here are some h
|
|
|
2831
3148
|
|
|
2832
3149
|
## [4.0.0-alpha.10](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.9...v4.0.0-alpha.10)
|
|
2833
3150
|
|
|
2834
|
-
|
|
3151
|
+
_Nov 20, 2020_
|
|
2835
3152
|
|
|
2836
3153
|
### @material-ui/x-grid@v4.0.0-alpha.10 / @material-ui/data-grid@v4.0.0-alpha.10
|
|
2837
3154
|
|
|
@@ -2853,7 +3170,7 @@ Big thanks to the 8 contributors who made this release possible. Here are some h
|
|
|
2853
3170
|
|
|
2854
3171
|
## [4.0.0-alpha.9](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.8...v4.0.0-alpha.9)
|
|
2855
3172
|
|
|
2856
|
-
|
|
3173
|
+
_Nov 9, 2020_
|
|
2857
3174
|
|
|
2858
3175
|
### @material-ui/x-grid@v4.0.0-alpha.9 / @material-ui/data-grid@v4.0.0-alpha.9
|
|
2859
3176
|
|
|
@@ -2891,7 +3208,7 @@ Big thanks to the 8 contributors who made this release possible. Here are some h
|
|
|
2891
3208
|
|
|
2892
3209
|
## [4.0.0-alpha.8](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.7...v4.0.0-alpha.8)
|
|
2893
3210
|
|
|
2894
|
-
|
|
3211
|
+
_Oct 23, 2020_
|
|
2895
3212
|
|
|
2896
3213
|
### @material-ui/x-grid@v4.0.0-alpha.8 / @material-ui/data-grid@v4.0.0-alpha.8
|
|
2897
3214
|
|
|
@@ -2908,7 +3225,7 @@ Big thanks to the 8 contributors who made this release possible. Here are some h
|
|
|
2908
3225
|
|
|
2909
3226
|
## [4.0.0-alpha.7](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.6...v4.0.0-alpha.7)
|
|
2910
3227
|
|
|
2911
|
-
|
|
3228
|
+
_Oct 19, 2020_
|
|
2912
3229
|
|
|
2913
3230
|
### @material-ui/x-grid@v4.0.0-alpha.7 / @material-ui/data-grid@v4.0.0-alpha.7
|
|
2914
3231
|
|
|
@@ -2937,7 +3254,7 @@ Big thanks to the 8 contributors who made this release possible. Here are some h
|
|
|
2937
3254
|
|
|
2938
3255
|
## [4.0.0-alpha.6](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.2...v4.0.0-alpha.6)
|
|
2939
3256
|
|
|
2940
|
-
|
|
3257
|
+
_Sep 25, 2020_
|
|
2941
3258
|
|
|
2942
3259
|
### @material-ui/x-grid@v4.0.0-alpha.6 / @material-ui/data-grid@v4.0.0-alpha.6
|
|
2943
3260
|
|
|
@@ -2954,13 +3271,13 @@ Big thanks to the 8 contributors who made this release possible. Here are some h
|
|
|
2954
3271
|
|
|
2955
3272
|
## [4.0.0-alpha.2](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.1...v4.0.0-alpha.2)
|
|
2956
3273
|
|
|
2957
|
-
|
|
3274
|
+
_Sep 18, 2020_
|
|
2958
3275
|
|
|
2959
3276
|
- [DataGrid] Fix wrongly exported types (#298) @dtassone
|
|
2960
3277
|
|
|
2961
3278
|
## [4.0.0-alpha.1](https://github.com/mui-org/material-ui-x/compare/v0.1.67...v4.0.0-alpha.1)
|
|
2962
3279
|
|
|
2963
|
-
|
|
3280
|
+
_Sep 17, 2020_
|
|
2964
3281
|
|
|
2965
3282
|
This is the first public alpha release of the component after 6 months of development since the initial commit (March 15th 2020).
|
|
2966
3283
|
`@material-ui/data-grid` is licensed under MIT while `@material-ui/x-grid` is licensed under a commercial license.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
Commercial License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 Material-UI SAS
|
|
4
|
+
|
|
5
|
+
MUI X Pro (https://mui.com/pricing/) is commercial software. You must purchase
|
|
6
|
+
a license and agree to the End User License Agreement (EULA: https://mui.com/x/license/)
|
|
7
|
+
to be able to use the software.
|
|
8
|
+
|
|
9
|
+
Commercial licenses can be obtained at https://mui.com/store/items/material-ui-pro/.
|
|
10
|
+
You are free to install and try the software without a license key as long as it
|
|
11
|
+
is not used for the development of a feature intended for production use. You can
|
|
12
|
+
find more details under the "Evaluation (trial) licenses" section of the EULA.
|