@mui/x-data-grid-generator 6.0.0-alpha.11 → 6.0.0-alpha.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +394 -0
- package/hooks/useMovieData.d.ts +2 -2
- package/hooks/useQuery.d.ts +12 -12
- package/index.js +2 -2
- package/legacy/index.js +2 -2
- package/modern/index.js +2 -2
- package/node/index.js +2 -2
- package/package.json +4 -4
- package/renderer/renderEditCurrency.d.ts +1 -1
- package/renderer/renderEditIncoterm.d.ts +1 -1
- package/renderer/renderEditProgress.d.ts +1 -1
- package/renderer/renderEditRating.d.ts +1 -1
- package/renderer/renderEditStatus.d.ts +1 -1
- package/renderer/renderEmail.d.ts +1 -1
- package/renderer/renderIncoterm.d.ts +1 -1
- package/renderer/renderLink.d.ts +1 -1
- package/renderer/renderPnl.d.ts +1 -1
- package/renderer/renderProgress.d.ts +1 -1
- package/renderer/renderRating.d.ts +2 -4
- package/renderer/renderStatus.d.ts +1 -1
- package/renderer/renderTotalPrice.d.ts +1 -1
- package/services/gridColDefGenerator.d.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,291 @@
|
|
|
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
|
+
## 6.0.0-alpha.14
|
|
7
|
+
|
|
8
|
+
_Jan 5, 2023_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 📆 Add `SingleInputTimeRangeField` and `SingleInputDateTimeRangeField` components (#7186) @alexfauquette
|
|
13
|
+
- 🚀 Use grid for modifying pickers layout (#6900) @alexfauquette
|
|
14
|
+
- ✨ Improve field components editing experience (#7272) @flaviendelangle
|
|
15
|
+
- 💻 Multiple codemods
|
|
16
|
+
- 📚 Many documentation improvements
|
|
17
|
+
- 🐞 Bugfixes
|
|
18
|
+
|
|
19
|
+
### `@mui/x-data-grid@v6.0.0-alpha.14` / `@mui/x-data-grid-pro@v6.0.0-alpha.14` / `@mui/x-data-grid-premium@v6.0.0-alpha.14`
|
|
20
|
+
|
|
21
|
+
#### Breaking changes
|
|
22
|
+
|
|
23
|
+
- [DataGrid] Set default `GridCellParams['value']` type to `unknown` (#6959) @cherniavskii
|
|
24
|
+
|
|
25
|
+
The default type of `GridCellParams['value']` was changed from `any` to `unknown`.
|
|
26
|
+
|
|
27
|
+
#### Changes
|
|
28
|
+
|
|
29
|
+
- [DataGrid] Fix flickering on mount (#7205) @cherniavskii
|
|
30
|
+
- [DataGrid] Fix selected text in cell input not being copied in Firefox (#6593) @cherniavskii
|
|
31
|
+
- [DataGrid] Invert generic parameters order (#6874) @DanailH
|
|
32
|
+
- [DataGrid] Remove legacy logic for `singleSelect` inside `GridFilterInputValue` (#7386) @m4theushw
|
|
33
|
+
- [DataGrid] Remove remaining props from legacy editing API (#7381) @m4theushw
|
|
34
|
+
- [DataGrid] Set default `GridCellParams['value']` type to `unknown` (#6959) @cherniavskii
|
|
35
|
+
|
|
36
|
+
### `@mui/x-date-pickers@v6.0.0-alpha.14` / `@mui/x-date-pickers-pro@v6.0.0-alpha.14`
|
|
37
|
+
|
|
38
|
+
#### Breaking changes
|
|
39
|
+
|
|
40
|
+
- [fields] Rename the `input` slot of the fields to `textField` to avoid confusion (#7369) @flaviendelangle
|
|
41
|
+
|
|
42
|
+
#### Changes
|
|
43
|
+
|
|
44
|
+
- [fields] Add `SingleInputTimeRangeField` and `SingleInputDateTimeRangeField` components (#7186) @alexfauquette
|
|
45
|
+
- [fields] Improve editing (automatic section switch, allow letter editing in digit section, allow numeric editing in letter section) (#7272) @flaviendelangle
|
|
46
|
+
- [fields] Rename the `input` slot of the fields to `textField` to avoid confusion (#7369) @flaviendelangle
|
|
47
|
+
- [fields] Prevent date change on `TimeField` arrow edition (#7383) @flaviendelangle
|
|
48
|
+
- [pickers] Clean some JSDoc descriptions (#7384) @flaviendelangle
|
|
49
|
+
- [pickers] Remove redundant `variants` in theme augmentation (#7356) @LukasTy
|
|
50
|
+
- [pickers] Remove the `PaperContent` slot from the new pickers (#7342) @flaviendelangle
|
|
51
|
+
- [pickers] Use grid for modifying the layout (#6900) @alexfauquette
|
|
52
|
+
|
|
53
|
+
### `@mui/x-codemod@v6.0.0-alpha.14`
|
|
54
|
+
|
|
55
|
+
#### Changes
|
|
56
|
+
|
|
57
|
+
- [codemod] Add new codemod for adapter import (#7348) @flaviendelangle
|
|
58
|
+
- [codemod] Add new codemod for the value prop renaming on the view components (#7338) @flaviendelangle
|
|
59
|
+
- [codemod] Reorganize codemods and add rename column menu components codemod (#7368) @MBilalShafi
|
|
60
|
+
|
|
61
|
+
### Docs
|
|
62
|
+
|
|
63
|
+
- [docs] Add example to add back the mobile keyboard view (#7347) @flaviendelangle
|
|
64
|
+
- [docs] Cleanup the doc pages of the community pickers (#7339) @flaviendelangle
|
|
65
|
+
- [docs] Drop security fixes support for v4 (#7322) @oliviertassinari
|
|
66
|
+
- [docs] Fix `disablePast` and `disableFuture` definition swap (#7324) @alexfauquette
|
|
67
|
+
- [docs] Hide ad for paid docs pages (#7321) @oliviertassinari
|
|
68
|
+
- [docs] New page for `TimeClock` (#7280) @flaviendelangle
|
|
69
|
+
- [docs] Note the pickers breaking changes supported by the codemod (#7337) @flaviendelangle
|
|
70
|
+
- [docs] Redirect translated pages (#7341) @cherniavskii
|
|
71
|
+
- [docs] Reorganize v6 pickers migration guide (#7257) @flaviendelangle
|
|
72
|
+
|
|
73
|
+
### Core
|
|
74
|
+
|
|
75
|
+
- [core] Apply eslint rule for React component @oliviertassinari
|
|
76
|
+
- [core] Apply title capitalization convention @oliviertassinari
|
|
77
|
+
- [core] Fix the product license reference name (#7367) @oliviertassinari
|
|
78
|
+
- [core] Order the slots alphabetically in the JSON files (#7349) @flaviendelangle
|
|
79
|
+
- [core] Remove blanklines in `_redirects` @oliviertassinari
|
|
80
|
+
- [core] Remove dead prettier config @oliviertassinari
|
|
81
|
+
- [core] Sync back with the mono repo (#7351) @oliviertassinari
|
|
82
|
+
- [core] Sync monorepo, fix layout scrollbar @oliviertassinari
|
|
83
|
+
- [core] Upgrade monorepo (#7307) @LukasTy
|
|
84
|
+
|
|
85
|
+
## 6.0.0-alpha.13
|
|
86
|
+
|
|
87
|
+
_Dec 24, 2022_
|
|
88
|
+
|
|
89
|
+
We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
|
|
90
|
+
|
|
91
|
+
- 🚀 New column menu design and API
|
|
92
|
+
- 🌍 Improve Russian (ru-RU) and Korean (ko-KR) locales
|
|
93
|
+
- 📚 Documentation improvements
|
|
94
|
+
- 🐞 Bugfixes
|
|
95
|
+
|
|
96
|
+
### `@mui/x-data-grid@6.0.0-alpha.13` / `@mui/x-data-grid-pro@6.0.0-alpha.13` / `@mui/x-data-grid-premium@6.0.0-alpha.13`
|
|
97
|
+
|
|
98
|
+
#### Breaking changes
|
|
99
|
+
|
|
100
|
+
- New column menu design and API (#6619) MBilalShafi
|
|
101
|
+
|
|
102
|
+
The `currentColumn` prop passed to `components.ColumnMenu` was renamed to `colDef`.
|
|
103
|
+
The `column` prop passed to the items of the column menu was renamed to `colDef`.
|
|
104
|
+
The `DATA_GRID_DEFAULT_SLOTS_COMPONENTS` export has been removed.
|
|
105
|
+
The following components and interfaces were been renamed for consistency:
|
|
106
|
+
|
|
107
|
+
**Community Package:**
|
|
108
|
+
|
|
109
|
+
```diff
|
|
110
|
+
-<GridFilterMenuItem />
|
|
111
|
+
+<GridColumnMenuFilterItem />
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
```diff
|
|
115
|
+
-<HideGridColMenuItem />
|
|
116
|
+
+<GridColumnMenuHideItem />
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
```diff
|
|
120
|
+
-<GridColumnsMenuItem />
|
|
121
|
+
+<GridColumnMenuColumnsItem />
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
```diff
|
|
125
|
+
-<SortGridMenuItems />
|
|
126
|
+
+<GridColumnMenuSortItem />
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
```diff
|
|
130
|
+
-interface GridFilterItemProps
|
|
131
|
+
+interface GridColumnMenuItemProps
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
**Pro package:**
|
|
135
|
+
|
|
136
|
+
```diff
|
|
137
|
+
-<GridColumnPinningMenuItems />
|
|
138
|
+
+<GridColumnMenuPinningItem />
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
**Premium package:**
|
|
142
|
+
|
|
143
|
+
```diff
|
|
144
|
+
-<GridAggregationColumnMenuItem />
|
|
145
|
+
+<GridColumnMenuAggregationItem />
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
```diff
|
|
149
|
+
-<GridRowGroupingColumnMenuItems />
|
|
150
|
+
-<GridRowGroupableColumnMenuItems />
|
|
151
|
+
+<GridColumnMenuGroupingItem />
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
- Improve column definition typing (#7224) @cherniavskii
|
|
155
|
+
|
|
156
|
+
The `GridColumns` type was removed. Use `GridColDef[]` instead.
|
|
157
|
+
The `GridActionsColDef` interface was removed. Use `GridColDef` instead.
|
|
158
|
+
The `GridEnrichedColDef` type was removed. Use `GridColDef` instead.
|
|
159
|
+
The `GridStateColDef` type was removed.
|
|
160
|
+
|
|
161
|
+
If you use it to type `searchPredicate`, use `GridColumnsPanelProps['searchPredicate']` instead.
|
|
162
|
+
If you use it to type `getApplyFilterFn`, `GridFilterOperator['getApplyFilterFn']` can be used as replacement.
|
|
163
|
+
|
|
164
|
+
- Remove GridDensityType enum (#7304) @cherniavskii
|
|
165
|
+
|
|
166
|
+
The `GridDensityTypes` enum was removed. Use `GridDensity` type instead.
|
|
167
|
+
|
|
168
|
+
#### Changes
|
|
169
|
+
|
|
170
|
+
- [DataGrid] Allow disabling of buttons in column panel (#6947) @MBilalShafi
|
|
171
|
+
- [DataGrid] Improve column definition typing (#7224) @cherniavskii
|
|
172
|
+
- [DataGrid] Improve column menu design and API (#6619) @MBilalShafi
|
|
173
|
+
- [DataGrid] Remove `GridDensityType` enum (#7304) @cherniavskii
|
|
174
|
+
- [DataGrid] Remove `rowHeight` and `headerHeight` from state (#7199) @DanailH
|
|
175
|
+
- [DataGrid] Remove column separator to match table styles (#7067) @MBilalShafi
|
|
176
|
+
- [DataGrid] Update Russian (ru-RU) locale (#7220) @VeceluXa
|
|
177
|
+
- [DataGridPro] Use row ID as `key` of the detail panels (#7302) @m4theushw
|
|
178
|
+
- [DataGridPremium] Fix `exceljs` import with parcel (#7284) @alexfauquette
|
|
179
|
+
|
|
180
|
+
### `@mui/x-date-pickers@6.0.0-alpha.13` / `@mui/x-date-pickers-pro@6.0.0-alpha.13`
|
|
181
|
+
|
|
182
|
+
#### Breaking changes
|
|
183
|
+
|
|
184
|
+
- Require Luxon 3.0.2 or higher (#7249) @flaviendelangle
|
|
185
|
+
|
|
186
|
+
`AdapterLuxon` now requires `luxon` in version `3.0.2` or higher in order to work.
|
|
187
|
+
|
|
188
|
+
Take a look at the [Upgrading Luxon](https://moment.github.io/luxon/#/upgrading) guide if you are using an older version.
|
|
189
|
+
|
|
190
|
+
#### Changes
|
|
191
|
+
|
|
192
|
+
- [DateRangePicker] Fix to propagate `disabled` and `readOnly` on multi input picker (#7135) @LukasTy
|
|
193
|
+
- [fields] Fix multi input fields root element props order and types (#7225) @LukasTy
|
|
194
|
+
- [fields] Support escaped characters (#7184) @flaviendelangle
|
|
195
|
+
- [pickers] Allow to define custom view renderers on the pickers (#7176) @flaviendelangle
|
|
196
|
+
- [pickers] Avoid running validation methods several times in `DateCalendar` (#7247) @flaviendelangle
|
|
197
|
+
- [pickers] Improve Korean (ko-KR) locale (#7266) @hanbin9775
|
|
198
|
+
- [pickers] Require Luxon 3.0.2 or higher (#7249) @flaviendelangle
|
|
199
|
+
- [pickers] Rework view internals (#7097) @flaviendelangle
|
|
200
|
+
|
|
201
|
+
### `@mui/x-codemod@6.0.0-alpha.13`
|
|
202
|
+
|
|
203
|
+
#### Changes
|
|
204
|
+
|
|
205
|
+
- [codemod] New codemod for view component renaming (#7264) @flaviendelangle
|
|
206
|
+
|
|
207
|
+
### Docs
|
|
208
|
+
|
|
209
|
+
- [docs] Fix some selectors not being documented (#7218) @cherniavskii
|
|
210
|
+
- [docs] New page for `DateCalendar` (#7053) @flaviendelangle
|
|
211
|
+
- [docs] Split selection docs (#7213) @m4theushw
|
|
212
|
+
|
|
213
|
+
### Core
|
|
214
|
+
|
|
215
|
+
- [core] Fix API demos callout spacing @oliviertassinari
|
|
216
|
+
|
|
217
|
+
## 6.0.0-alpha.12
|
|
218
|
+
|
|
219
|
+
_Dec 16, 2022_
|
|
220
|
+
|
|
221
|
+
We'd like to offer a big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:
|
|
222
|
+
|
|
223
|
+
- 🚀 The `apiRef` prop is now available in the `@mui/x-data-grid` package:
|
|
224
|
+
|
|
225
|
+
```tsx
|
|
226
|
+
const apiRef = useGridApiRef();
|
|
227
|
+
|
|
228
|
+
return (
|
|
229
|
+
<DataGrid apiRef={apiRef} {...other} />
|
|
230
|
+
)
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
See [the documentation](https://next.mui.com/x/react-data-grid/api-object/) for more information.
|
|
234
|
+
|
|
235
|
+
- 🎁 The `DataGridPremium` now supports cell selection:
|
|
236
|
+
|
|
237
|
+
```tsx
|
|
238
|
+
<DataGridPremium unstable_cellSelection />
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
See [the documentation](https://next.mui.com/x/react-data-grid/selection/#cell-selection) for more information
|
|
242
|
+
|
|
243
|
+
- 🌍 Support the Right To Left orientation on the fields components
|
|
244
|
+
- 📚 Documentation improvements
|
|
245
|
+
- 🐞 Bugfixes
|
|
246
|
+
|
|
247
|
+
### `@mui/x-data-grid@v6.0.0-alpha.12` / `@mui/x-data-grid-pro@v6.0.0-alpha.12` / `@mui/x-data-grid-premium@v6.0.0-alpha.12`
|
|
248
|
+
|
|
249
|
+
#### Breaking changes
|
|
250
|
+
|
|
251
|
+
- The `showCellRightBorder` was renamed to `showCellVerticalBorder`
|
|
252
|
+
- The `showColumnRightBorder` was renamed to `showColumnVerticalBorder`
|
|
253
|
+
- The `.MuiDataGrid-withBorder` CSS class was renamed to `.MuiDataGrid-withBorderColor` and it only sets `border-color` CSS property now.
|
|
254
|
+
- The following undocumented properties from `apiRef` were removed: `footerRef`, `headerRef`, `columnHeadersElementRef`, `columnHeadersContainerElementRef`
|
|
255
|
+
- The `GridHeaderPlaceholder` component was removed.
|
|
256
|
+
- The `MAX_PAGE_SIZE` constant was removed.
|
|
257
|
+
- The `useGridScrollFn` hook was removed.
|
|
258
|
+
|
|
259
|
+
#### Changes
|
|
260
|
+
|
|
261
|
+
- [DataGrid] Display sort column menu items as per `sortingOrder` prop (#7180) @MBilalShafi
|
|
262
|
+
- [DataGrid] Support `apiRef` in Community package (#6773) @cherniavskii
|
|
263
|
+
- [DataGridPremium] Add support for cell selection (#6567) @m4theushw
|
|
264
|
+
- [DataGridPremium] Use separate cache for aggregation columns pre-processor (#7142) @m4theushw
|
|
265
|
+
- [DataGridPro] Fix missing border in right-pinned columns (#4197) @cherniavskii
|
|
266
|
+
- [DataGridPro] Fix wrong border color on skeleton cells (#7202) @cherniavskii
|
|
267
|
+
|
|
268
|
+
### `@mui/x-date-pickers@v6.0.0-alpha.12` / `@mui/x-date-pickers-pro@v6.0.0-alpha.12`
|
|
269
|
+
|
|
270
|
+
#### Changes
|
|
271
|
+
|
|
272
|
+
- [fields] Fix bug introduced by RTL in single input range fields (#7189) @alexfauquette
|
|
273
|
+
- [fields] Support RTL out of the box (#6715) @alexfauquette
|
|
274
|
+
- [pickers] Clean `autoFocus` behavior on fields and new pickers (#7153) @flaviendelangle
|
|
275
|
+
- [pickers] Fix label on the new range pickers (#7210) @flaviendelangle
|
|
276
|
+
- [pickers] Fix wrong component name on `StaticNextDateTime` (#7187) @flaviendelangle
|
|
277
|
+
|
|
278
|
+
### Docs
|
|
279
|
+
|
|
280
|
+
- [docs] Add docs section about field placeholders' localization (#7139) @flaviendelangle
|
|
281
|
+
- [docs] Create a `DemoGrid` component to unify demos with several components (#7057) @flaviendelangle
|
|
282
|
+
- [docs] Document aggregation selectors (#7148) @cherniavskii
|
|
283
|
+
- [docs] Fix 301 links to demo pages in API pages (#7197) @oliviertassinari
|
|
284
|
+
- [docs] Fix errors and warning in demos (#7209) @LukasTy
|
|
285
|
+
- [docs] Use `DemoContainer` and `DemoItem` on every picker demo (#7149) @flaviendelangle
|
|
286
|
+
|
|
287
|
+
### Core
|
|
288
|
+
|
|
289
|
+
- [core] Fix broken test (#7179) @flaviendelangle
|
|
290
|
+
|
|
6
291
|
## 6.0.0-alpha.11
|
|
7
292
|
|
|
8
293
|
_Dec 8, 2022_
|
|
@@ -1301,6 +1586,115 @@ You can find more information about the new api, including how to set those tran
|
|
|
1301
1586
|
- [test] Skip tests for column pinning and dynamic row height (#5997) @m4theushw
|
|
1302
1587
|
- [website] Improve security header @oliviertassinari
|
|
1303
1588
|
|
|
1589
|
+
## 5.17.18
|
|
1590
|
+
|
|
1591
|
+
_Jan 5, 2023_
|
|
1592
|
+
|
|
1593
|
+
We'd like to offer a big thanks to the 3 contributors who made this release possible. Here are some highlights ✨:
|
|
1594
|
+
|
|
1595
|
+
- 🐞 Bugfixes
|
|
1596
|
+
|
|
1597
|
+
### `@mui/x-data-grid@v5.17.18` / `@mui/x-data-grid-pro@v5.17.18` / `@mui/x-data-grid-premium@v5.17.18`
|
|
1598
|
+
|
|
1599
|
+
#### Changes
|
|
1600
|
+
|
|
1601
|
+
- [DataGrid] Fix rows not rendering properly after height change (#7376) @cherniavskii
|
|
1602
|
+
- [DataGrid] Fix selected text in cell input not being copied in Firefox (#7330) @cherniavskii
|
|
1603
|
+
- [DataGridPremium] Export row grouping column menu components (#7308) @cherniavskii
|
|
1604
|
+
|
|
1605
|
+
### `@mui/x-date-pickers@v5.0.13` / `@mui/x-date-pickers-pro@v5.0.13`
|
|
1606
|
+
|
|
1607
|
+
#### Changes
|
|
1608
|
+
|
|
1609
|
+
- [pickers] Fix the product license reference name (#7367)
|
|
1610
|
+
|
|
1611
|
+
### Docs
|
|
1612
|
+
|
|
1613
|
+
- [docs] Redirect translated pages (#7370) @cherniavskii
|
|
1614
|
+
|
|
1615
|
+
### Core
|
|
1616
|
+
|
|
1617
|
+
- [core] Fix release date (#7314) @DanailH
|
|
1618
|
+
- [core] Fix the product license reference name (#7367) @oliviertassinari
|
|
1619
|
+
- [core] Upgrade monorepo (#7344) @cherniavskii
|
|
1620
|
+
|
|
1621
|
+
## 5.17.17
|
|
1622
|
+
|
|
1623
|
+
_Dec 24, 2022_
|
|
1624
|
+
|
|
1625
|
+
We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
|
|
1626
|
+
|
|
1627
|
+
- 🌍 Improve Russian (ru-RU) and Korean (ko-KR) locales
|
|
1628
|
+
- 🐞 Bugfixes
|
|
1629
|
+
|
|
1630
|
+
### `@mui/x-data-grid@v5.17.17` / `@mui/x-data-grid-pro@v5.17.17` / `@mui/x-data-grid-premium@v5.17.17`
|
|
1631
|
+
|
|
1632
|
+
#### Changes
|
|
1633
|
+
|
|
1634
|
+
- [DataGrid] Update Russian (ru-RU) locale (#7291) @VeceluXa
|
|
1635
|
+
- [DataGridPro] Use row ID as `key` of the detail panels (#7311) @m4theushw
|
|
1636
|
+
- [DataGridPremium] Fix `exceljs` import with parcel (#7285) @alexfauquette
|
|
1637
|
+
|
|
1638
|
+
### `@mui/x-date-pickers@v5.0.12` / `@mui/x-date-pickers-pro@v5.0.12`
|
|
1639
|
+
|
|
1640
|
+
#### Changes
|
|
1641
|
+
|
|
1642
|
+
- [pickers] Improve Korean (ko-KR) locale (#7283) @hanbin9775
|
|
1643
|
+
|
|
1644
|
+
## 5.17.16
|
|
1645
|
+
|
|
1646
|
+
_Dec 16, 2022_
|
|
1647
|
+
|
|
1648
|
+
We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
|
|
1649
|
+
|
|
1650
|
+
- 🐞 Bugfixes
|
|
1651
|
+
|
|
1652
|
+
### `@mui/x-data-grid@v5.17.16` / `@mui/x-data-grid-pro@v5.17.16` / `@mui/x-data-grid-premium@v5.17.16`
|
|
1653
|
+
|
|
1654
|
+
#### Changes
|
|
1655
|
+
|
|
1656
|
+
- [DataGrid] Display sort column menu items as per `sortingOrder` prop (#7125) @hanbin9775
|
|
1657
|
+
- [DataGrid] Fix flickering on mount (#7155) @cherniavskii
|
|
1658
|
+
- [DataGridPremium] Use separate cache for aggregation columns pre-processor (#7174) @m4theushw
|
|
1659
|
+
|
|
1660
|
+
### `@mui/x-date-pickers@v5.0.11` / `@mui/x-date-pickers-pro@v5.0.11`
|
|
1661
|
+
|
|
1662
|
+
#### Changes
|
|
1663
|
+
|
|
1664
|
+
- [DateTimePicker] Update export pattern (#7172) @kealjones-wk
|
|
1665
|
+
|
|
1666
|
+
### Docs
|
|
1667
|
+
|
|
1668
|
+
- [docs] Document aggregation selectors (#7151) @cherniavskii
|
|
1669
|
+
|
|
1670
|
+
## 5.17.15
|
|
1671
|
+
|
|
1672
|
+
_Dec 8, 2022_
|
|
1673
|
+
|
|
1674
|
+
We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
|
|
1675
|
+
|
|
1676
|
+
- ✨ Fix lazy-loading not working in `DataGridPremium` (#7130) @m4theushw
|
|
1677
|
+
- 🐞 Bugfixes
|
|
1678
|
+
|
|
1679
|
+
### `@mui/x-data-grid@v5.17.15` / `@mui/x-data-grid-pro@v5.17.15` / `@mui/x-data-grid-premium@v5.17.15`
|
|
1680
|
+
|
|
1681
|
+
#### Changes
|
|
1682
|
+
|
|
1683
|
+
- [DataGridPremium] Add support for lazy-loading (#7130) @m4theushw
|
|
1684
|
+
- [DataGridPremium] Pass `groupId` to the aggregation function (#7143) @m4theushw
|
|
1685
|
+
|
|
1686
|
+
### `@mui/x-date-pickers@v5.0.10` / `@mui/x-date-pickers-pro@v5.0.10`
|
|
1687
|
+
|
|
1688
|
+
#### Changes
|
|
1689
|
+
|
|
1690
|
+
- [pickers] Initialize date without time when selecting year or month (#7136) @LukasTy
|
|
1691
|
+
|
|
1692
|
+
### Docs
|
|
1693
|
+
|
|
1694
|
+
- [docs] Fix the nested import on the api pages (#7134) @flaviendelangle
|
|
1695
|
+
- [docs] Keep track of the localization completion (#7099) @alexfauquette
|
|
1696
|
+
- [docs] Update localization doc to use existing locale (#7104) @LukasTy
|
|
1697
|
+
|
|
1304
1698
|
## 5.17.14
|
|
1305
1699
|
|
|
1306
1700
|
_Dec 1, 2022_
|
package/hooks/useMovieData.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GridColDef } from '@mui/x-data-grid-premium';
|
|
2
2
|
export type Movie = {
|
|
3
3
|
id: number;
|
|
4
4
|
title: string;
|
|
@@ -15,5 +15,5 @@ export type Movie = {
|
|
|
15
15
|
};
|
|
16
16
|
export declare const useMovieData: () => {
|
|
17
17
|
rows: Movie[];
|
|
18
|
-
columns:
|
|
18
|
+
columns: GridColDef<any, any, any>[];
|
|
19
19
|
};
|
package/hooks/useQuery.d.ts
CHANGED
|
@@ -52,30 +52,30 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
52
52
|
pinnable?: boolean | undefined;
|
|
53
53
|
sortComparator?: import("@mui/x-data-grid-pro").GridComparatorFn<any> | undefined;
|
|
54
54
|
type?: string | undefined;
|
|
55
|
-
valueOptions?: import("@mui/x-data-grid-pro").ValueOptions[] | ((params: import("@mui/x-data-grid-pro").GridValueOptionsParams<
|
|
55
|
+
valueOptions?: import("@mui/x-data-grid-pro").ValueOptions[] | ((params: import("@mui/x-data-grid-pro").GridValueOptionsParams<import("@mui/x-data-grid-pro").GridValidRowModel>) => import("@mui/x-data-grid-pro").ValueOptions[]) | undefined;
|
|
56
56
|
align?: import("@mui/x-data-grid-pro").GridAlignment | undefined;
|
|
57
|
-
valueGetter?: ((params: import("@mui/x-data-grid-pro").GridValueGetterParams<
|
|
58
|
-
valueSetter?: ((params: import("@mui/x-data-grid-pro").GridValueSetterParams<any, any>) => any) | undefined;
|
|
57
|
+
valueGetter?: ((params: import("@mui/x-data-grid-pro").GridValueGetterParams<import("@mui/x-data-grid-pro").GridValidRowModel, any, import("@mui/x-data-grid-pro").GridTreeNodeWithRender>) => any) | undefined;
|
|
58
|
+
valueSetter?: ((params: import("@mui/x-data-grid-pro").GridValueSetterParams<any, any>) => any) | ((params: import("@mui/x-data-grid-pro").GridValueSetterParams<import("@mui/x-data-grid-pro").GridValidRowModel, any>) => import("@mui/x-data-grid-pro").GridValidRowModel) | undefined;
|
|
59
59
|
valueFormatter?: ((params: import("@mui/x-data-grid-pro").GridValueFormatterParams<any>) => any) | undefined;
|
|
60
|
-
valueParser?: ((value: any, params?: import("@mui/x-data-grid-pro").GridCellParams<
|
|
61
|
-
cellClassName?: import("@mui/x-data-grid-pro").
|
|
62
|
-
renderCell?: ((params: import("@mui/x-data-grid-pro").GridRenderCellParams<
|
|
63
|
-
renderEditCell?: ((params: import("@mui/x-data-grid-pro").GridRenderEditCellParams<
|
|
60
|
+
valueParser?: ((value: any, params?: import("@mui/x-data-grid-pro").GridCellParams<import("@mui/x-data-grid-pro").GridValidRowModel, any, any, import("@mui/x-data-grid-pro").GridTreeNode> | undefined) => any) | undefined;
|
|
61
|
+
cellClassName?: string | import("@mui/x-data-grid-pro").GridCellClassFn<import("@mui/x-data-grid-pro").GridValidRowModel, any> | undefined;
|
|
62
|
+
renderCell?: ((params: import("@mui/x-data-grid-pro").GridRenderCellParams<import("@mui/x-data-grid-pro").GridValidRowModel, any, any, import("@mui/x-data-grid-pro").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
|
|
63
|
+
renderEditCell?: ((params: import("@mui/x-data-grid-pro").GridRenderEditCellParams<import("@mui/x-data-grid-pro").GridValidRowModel, any, any, import("@mui/x-data-grid-pro").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
|
|
64
64
|
preProcessEditCellProps?: ((params: import("@mui/x-data-grid-pro").GridPreProcessEditCellProps<any, any>) => import("@mui/x-data-grid-pro").GridEditCellProps<any> | Promise<import("@mui/x-data-grid-pro").GridEditCellProps<any>>) | undefined;
|
|
65
65
|
headerClassName?: import("@mui/x-data-grid-pro").GridColumnHeaderClassNamePropType | undefined;
|
|
66
|
-
renderHeader?: ((params: import("@mui/x-data-grid-pro").GridColumnHeaderParams<any, any, any>) => React.ReactNode) | undefined;
|
|
66
|
+
renderHeader?: ((params: import("@mui/x-data-grid-pro").GridColumnHeaderParams<any, any, any>) => React.ReactNode) | ((params: import("@mui/x-data-grid-pro").GridColumnHeaderParams<import("@mui/x-data-grid-pro").GridValidRowModel, any, any>) => React.ReactNode) | undefined;
|
|
67
67
|
headerAlign?: import("@mui/x-data-grid-pro").GridAlignment | undefined;
|
|
68
68
|
hideSortIcons?: boolean | undefined;
|
|
69
69
|
disableColumnMenu?: boolean | undefined;
|
|
70
70
|
filterable?: boolean | undefined;
|
|
71
|
-
filterOperators?: GridFilterOperator<any, any, any>[] | undefined;
|
|
72
|
-
getApplyQuickFilterFn?: ((value: any, colDef: import("@mui/x-data-grid
|
|
71
|
+
filterOperators?: GridFilterOperator<any, any, any>[] | GridFilterOperator<import("@mui/x-data-grid-pro").GridValidRowModel, any, any>[] | undefined;
|
|
72
|
+
getApplyQuickFilterFn?: ((value: any, colDef: import("@mui/x-data-grid/internals").GridStateColDef<any, any, any>, apiRef: React.MutableRefObject<import("@mui/x-data-grid/internals").GridApiCommunity>) => ((params: import("@mui/x-data-grid-pro").GridCellParams<import("@mui/x-data-grid-pro").GridValidRowModel, any, any, import("@mui/x-data-grid-pro").GridTreeNode>) => boolean) | null) | undefined;
|
|
73
73
|
disableReorder?: boolean | undefined;
|
|
74
74
|
disableExport?: boolean | undefined;
|
|
75
|
-
colSpan?: number | ((params: import("@mui/x-data-grid-pro").GridCellParams<
|
|
75
|
+
colSpan?: number | ((params: import("@mui/x-data-grid-pro").GridCellParams<import("@mui/x-data-grid-pro").GridValidRowModel, any, any, import("@mui/x-data-grid-pro").GridTreeNode>) => number | undefined) | undefined;
|
|
76
76
|
aggregable?: boolean | undefined;
|
|
77
77
|
availableAggregationFunctions?: string[] | undefined;
|
|
78
|
-
groupingValueGetter?: ((params: import("@mui/x-data-grid-premium").GridGroupingValueGetterParams<any, any>) => import("@mui/x-data-grid-pro").GridKeyValue | null | undefined) | undefined;
|
|
78
|
+
groupingValueGetter?: ((params: import("@mui/x-data-grid-premium").GridGroupingValueGetterParams<any, any>) => import("@mui/x-data-grid-pro").GridKeyValue | null | undefined) | ((params: import("@mui/x-data-grid-premium").GridGroupingValueGetterParams<import("@mui/x-data-grid-pro").GridValidRowModel, any>) => import("@mui/x-data-grid-pro").GridKeyValue | null | undefined) | undefined;
|
|
79
79
|
extendType?: import("@mui/x-data-grid-pro").GridNativeColTypes | undefined;
|
|
80
80
|
}[];
|
|
81
81
|
initialState: {
|
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/** @license MUI v6.0.0-alpha.
|
|
1
|
+
/** @license MUI X v6.0.0-alpha.14
|
|
2
2
|
*
|
|
3
|
-
* This source code is licensed under the
|
|
3
|
+
* This source code is licensed under the commercial license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
5
5
|
*/
|
|
6
6
|
export * from './renderer';
|
package/legacy/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/** @license MUI v6.0.0-alpha.
|
|
1
|
+
/** @license MUI X v6.0.0-alpha.14
|
|
2
2
|
*
|
|
3
|
-
* This source code is licensed under the
|
|
3
|
+
* This source code is licensed under the commercial license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
5
5
|
*/
|
|
6
6
|
export * from './renderer';
|
package/modern/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/** @license MUI v6.0.0-alpha.
|
|
1
|
+
/** @license MUI X v6.0.0-alpha.14
|
|
2
2
|
*
|
|
3
|
-
* This source code is licensed under the
|
|
3
|
+
* This source code is licensed under the commercial license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
5
5
|
*/
|
|
6
6
|
export * from './renderer';
|
package/node/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/** @license MUI v6.0.0-alpha.
|
|
1
|
+
/** @license MUI X v6.0.0-alpha.14
|
|
2
2
|
*
|
|
3
|
-
* This source code is licensed under the
|
|
3
|
+
* This source code is licensed under the commercial license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
5
5
|
*/
|
|
6
6
|
"use strict";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid-generator",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.14",
|
|
4
4
|
"description": "Generate fake data for demo purposes only.",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"directory": "packages/grid/x-data-grid-generator"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@babel/runtime": "^7.20.
|
|
23
|
-
"@mui/base": "^5.0.0-alpha.
|
|
24
|
-
"@mui/x-data-grid-premium": "6.0.0-alpha.
|
|
22
|
+
"@babel/runtime": "^7.20.7",
|
|
23
|
+
"@mui/base": "^5.0.0-alpha.112",
|
|
24
|
+
"@mui/x-data-grid-premium": "6.0.0-alpha.14",
|
|
25
25
|
"chance": "^1.1.9",
|
|
26
26
|
"clsx": "^1.2.1",
|
|
27
27
|
"lru-cache": "^7.14.1"
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { GridRenderEditCellParams } from '@mui/x-data-grid-premium';
|
|
3
|
-
export declare function renderEditCurrency(params: GridRenderEditCellParams<string>): JSX.Element;
|
|
3
|
+
export declare function renderEditCurrency(params: GridRenderEditCellParams<any, string>): JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { GridRenderEditCellParams } from '@mui/x-data-grid-premium';
|
|
3
|
-
export declare function renderEditIncoterm(params: GridRenderEditCellParams<string | null>): JSX.Element;
|
|
3
|
+
export declare function renderEditIncoterm(params: GridRenderEditCellParams<any, string | null>): JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { GridRenderEditCellParams } from '@mui/x-data-grid-premium';
|
|
3
|
-
export declare function renderEditProgress(params: GridRenderEditCellParams<number>): JSX.Element;
|
|
3
|
+
export declare function renderEditProgress(params: GridRenderEditCellParams<any, number>): JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { GridRenderEditCellParams } from '@mui/x-data-grid-premium';
|
|
3
|
-
export declare function renderEditRating(params: GridRenderEditCellParams<number>): JSX.Element;
|
|
3
|
+
export declare function renderEditRating(params: GridRenderEditCellParams<any, number>): JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { GridRenderEditCellParams } from '@mui/x-data-grid-premium';
|
|
3
|
-
export declare function renderEditStatus(params: GridRenderEditCellParams<string>): JSX.Element;
|
|
3
|
+
export declare function renderEditStatus(params: GridRenderEditCellParams<any, string>): JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { GridRenderCellParams } from '@mui/x-data-grid-premium';
|
|
3
|
-
export declare function renderEmail(params: GridRenderCellParams<
|
|
3
|
+
export declare function renderEmail(params: GridRenderCellParams<any, string, any>): JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { GridRenderCellParams } from '@mui/x-data-grid-premium';
|
|
3
|
-
export declare function renderIncoterm(params: GridRenderCellParams<string | null, any
|
|
3
|
+
export declare function renderIncoterm(params: GridRenderCellParams<any, string | null, any>): JSX.Element;
|
package/renderer/renderLink.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ interface DemoLinkProps {
|
|
|
6
6
|
tabIndex: number;
|
|
7
7
|
}
|
|
8
8
|
export declare const DemoLink: React.NamedExoticComponent<DemoLinkProps>;
|
|
9
|
-
export declare function renderLink(params: GridRenderCellParams<
|
|
9
|
+
export declare function renderLink(params: GridRenderCellParams<any, string, any>): "" | JSX.Element;
|
|
10
10
|
export {};
|
package/renderer/renderPnl.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { GridRenderCellParams } from '@mui/x-data-grid-premium';
|
|
3
|
-
export declare function renderPnl(params: GridRenderCellParams<
|
|
3
|
+
export declare function renderPnl(params: GridRenderCellParams<any, number, any>): "" | JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { GridRenderCellParams } from '@mui/x-data-grid-premium';
|
|
3
|
-
export declare function renderProgress(params: GridRenderCellParams<
|
|
3
|
+
export declare function renderProgress(params: GridRenderCellParams<any, number, any>): "" | JSX.Element | null;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { GridRenderCellParams
|
|
3
|
-
export declare function renderRating(params: GridRenderCellParams<number,
|
|
4
|
-
id: GridRowId;
|
|
5
|
-
}, any>): "" | JSX.Element | null;
|
|
2
|
+
import { GridRenderCellParams } from '@mui/x-data-grid-premium';
|
|
3
|
+
export declare function renderRating(params: GridRenderCellParams<any, number, any>): "" | JSX.Element | null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { GridRenderCellParams } from '@mui/x-data-grid-premium';
|
|
3
|
-
export declare function renderStatus(params: GridRenderCellParams<string>): "" | JSX.Element;
|
|
3
|
+
export declare function renderStatus(params: GridRenderCellParams<any, string>): "" | JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { GridRenderCellParams } from '@mui/x-data-grid-premium';
|
|
3
|
-
export declare function renderTotalPrice(params: GridRenderCellParams<number>): "" | JSX.Element | null;
|
|
3
|
+
export declare function renderTotalPrice(params: GridRenderCellParams<any, number>): "" | JSX.Element | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GridBaseColDef } from '@mui/x-data-grid-pro/internals';
|
|
2
2
|
export interface GridDataGeneratorContext {
|
|
3
3
|
/**
|
|
4
4
|
* Values already attributed to this column.
|
|
@@ -8,7 +8,7 @@ export interface GridDataGeneratorContext {
|
|
|
8
8
|
*/
|
|
9
9
|
values?: Record<string, number>;
|
|
10
10
|
}
|
|
11
|
-
export interface GridColDefGenerator extends
|
|
11
|
+
export interface GridColDefGenerator extends GridBaseColDef {
|
|
12
12
|
generateData?: (row: any, context: GridDataGeneratorContext) => any;
|
|
13
13
|
/**
|
|
14
14
|
* If `true`, each row will have a distinct value
|