@mui/x-data-grid-generator 6.0.0-alpha.4 → 6.0.0-alpha.5

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 CHANGED
@@ -3,7 +3,126 @@
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
- ## v6.0.0-alpha.4
6
+ ## 6.0.0-alpha.5
7
+
8
+ _Oct 31, 2022_
9
+
10
+ We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - ⚡ Fix memory leak during unmount of the DataGrid (#6620) @cherniavskii
13
+ - 📝 New guide for migrating pickers from v5 to v6 (#6472) @flaviendelangle
14
+ - 🎁 Allow to disable the autofocus of the search field when opening the column visibility panel (#6444) @e-cloud
15
+ - 🐞 Bugfixes
16
+
17
+ ### `@mui/x-data-grid@v6.0.0-alpha.5` / `@mui/x-data-grid-pro@v6.0.0-alpha.5` / `@mui/x-data-grid-premium@v6.0.0-alpha.5`
18
+
19
+ #### Breaking changes
20
+
21
+ - Stop exporting `gridColumnsSelector` (#6693) @m4theushw
22
+
23
+ The `gridColumnsSelector` was deprecated during v5 and is now removed from the export list.
24
+
25
+ Please consider using one of the following selectors as a replacement:
26
+
27
+ - `gridColumnFieldsSelector`, to obtain the column fields in the order they appear on the screen;
28
+ - `gridColumnLookupSelector`, to access column definitions by field;
29
+ - `gridColumnVisibilityModelSelector`, for the visibility state of each column.
30
+
31
+ #### Changes
32
+
33
+ - [DataGrid] Allow to disable autofocusing the search field in the columns panel (#6444) @e-cloud
34
+ - [DataGrid] Fix `setRows` method not persisting new rows data after `loading` prop change (#6493) @cherniavskii
35
+ - [DataGrid] Fix memory leak on grid unmount (#6620) @cherniavskii
36
+ - [DataGrid] Rename `GridColumnsState['all']` to `GridColumnsState['orderedFields']` (#6562) @DanailH
37
+ - [DataGrid] Remove `React.memo` from `GridCellCheckboxRenderer` (#6655) @mattcorner
38
+ - [DataGrid] Stop exporting `gridColumnsSelector` (#6693)
39
+ - [l10n] Improve Bulgarian (bg-BG) locale (#6578) @AtanasVA
40
+
41
+ ### `@mui/x-date-pickers@v6.0.0-alpha.5` / `@mui/x-date-pickers-pro@v6.0.0-alpha.5`
42
+
43
+ #### Breaking changes
44
+
45
+ - [pickers] Rename remaining `private` components (#6550) @LukasTy
46
+ Previously we had 4 component names with `Private` prefix in order to avoid breaking changes in v5.
47
+ These components were renamed:
48
+
49
+ - `PrivatePickersMonth` -> `MuiPickersMonth`
50
+ - `PrivatePickersSlideTransition` -> `MuiPickersSlideTransition`
51
+ - `PrivatePickersToolbarText` -> `MuiPickersToolbarText`
52
+ - `PrivatePickersYear` -> `MuiPickersYear`
53
+
54
+ Manual style overriding will need to use updated classes:
55
+
56
+ ```diff
57
+ -.PrivatePickersMonth-root {
58
+ +.MuiPickersMonth-root {
59
+
60
+ -.PrivatePickersSlideTransition-root {
61
+ +.MuiPickersSlideTransition-root {
62
+
63
+ -.PrivatePickersToolbarText-root {
64
+ +.MuiPickersToolbarText-root {
65
+
66
+ -.PrivatePickersYear-root {
67
+ +.MuiPickersYear-root {
68
+ ```
69
+
70
+ Component name changes are also reflected in `themeAugmentation`:
71
+
72
+ ```diff
73
+ const theme = createTheme({
74
+ components: {
75
+ - PrivatePickersMonth: {
76
+ + MuiPickersMonth: {
77
+ // overrides
78
+ },
79
+ - PrivatePickersSlideTransition: {
80
+ + MuiPickersSlideTransition: {
81
+ // overrides
82
+ },
83
+ - PrivatePickersToolbarText: {
84
+ + MuiPickersToolbarText: {
85
+ // overrides
86
+ },
87
+ - PrivatePickersYear: {
88
+ + MuiPickersYear: {
89
+ // overrides
90
+ },
91
+ },
92
+ });
93
+ ```
94
+
95
+ #### Changes
96
+
97
+ - [DateTimePicker] Fix toolbar time order when `theme.rtl=true` (#6636) @alexfauquette
98
+ - [pickers] Import fixes for mask editing (#6623) @alexfauquette
99
+ - [pickers] Rename remaining `private` components (#6550) @LukasTy
100
+ - [pickers] New `DesktopDatePicker` based on `DateField` (#6548) @flaviendelangle
101
+
102
+ ### Docs
103
+
104
+ - [docs] Add feedback in next doc (#6591) @alexfauquette
105
+ - [docs] Check link validity in PR (#6497) @alexfauquette
106
+ - [docs] Disable translations (#6560) @cherniavskii
107
+ - [docs] Fix typo in DataGrid demo page (#6632) @banoth-ravinder
108
+ - [docs] New page to migrate pickers from v5 to v6 (#6472) @flaviendelangle
109
+ - [docs] Remove broken welcome page (#6585) @alexfauquette
110
+ - [docs] Mark data grid column group as available (#6660) @alexfauquette
111
+ - [docs] Fix double space @oliviertassinari
112
+
113
+ ### Core
114
+
115
+ - [core] Fix duplicate CodeQL build @oliviertassinari
116
+ - [core] Fix spreading on validation page (#6624) @flaviendelangle
117
+ - [core] Small TypeScript improvements (#6575) @flaviendelangle
118
+ - [core] Upgrade monorepo (#6594) @oliviertassinari
119
+ - [core] Change reproduction position (#6621) @oliviertassinari
120
+ - [core] Fix permissions in `no-response` workflow (#6658) @cherniavskii
121
+ - [core] Remove legacy migration function (#6669) @oliviertassinari
122
+ - [license] Improve the license content (#6459) @oliviertassinari
123
+ - [test] Test Arrow up/down on every token (#6563) @alexfauquette
124
+
125
+ ## 6.0.0-alpha.4
7
126
 
8
127
  _Oct 20, 2022_
9
128
 
@@ -47,45 +166,45 @@ We'd like to offer a big thanks to the 9 contributors who made this release poss
47
166
  You can find more information about this pattern in the [MUI Base documentation](https://mui.com/base/getting-started/usage/#shared-props):
48
167
 
49
168
  ```diff
50
- // Same on all other pickers
51
- <DatePicker
169
+ // Same on all other pickers
170
+ <DatePicker
52
171
  - ToolbarComponent: MyToolbar,
53
172
  + components={{ Toolbar: MyToolbar }}
54
- />
173
+ />
55
174
  ```
56
175
 
57
176
  - The `toolbarPlaceholder` and `toolbarFormat` props have been moved to the `toolbar` components props slot:
58
177
 
59
178
  ```diff
60
- // Same on all other pickers
61
- <DatePicker
179
+ // Same on all other pickers
180
+ <DatePicker
62
181
  - toolbarPlaceholder="__"
63
182
  - toolbarFormat="DD / MM / YYYY"
64
183
  + componentsProps={{
65
184
  + toolbar: {
66
- + toolbarPlaceholder: "__",
67
- + toolbarFormat: "DD / MM / YYYY",
185
+ + toolbarPlaceholder: '__',
186
+ + toolbarFormat: 'DD / MM / YYYY',
68
187
  + }
69
188
  + }}
70
- />
189
+ />
71
190
  ```
72
191
 
73
192
  - The `toolbarTitle` prop has been moved to the localization object:
74
193
 
75
194
  ```diff
76
- // Same on all other pickers
77
- <DatePicker
195
+ // Same on all other pickers
196
+ <DatePicker
78
197
  - toolbarTitle="Title"
79
- + localeText={{ toolbarTitle: "Title" }}
80
- />
198
+ + localeText={{ toolbarTitle: 'Title' }}
199
+ />
81
200
  ```
82
201
 
83
202
  - The toolbar related translation keys have been renamed to better fit their usage:
84
203
 
85
204
  ```diff
86
- // Same on all other pickers
87
- <DatePicker
88
- localeText={{
205
+ // Same on all other pickers
206
+ <DatePicker
207
+ localeText={{
89
208
  - datePickerDefaultToolbarTitle: 'Date Picker',
90
209
  + datePickerToolbarTitle: 'Date Picker',
91
210
 
@@ -97,8 +216,8 @@ We'd like to offer a big thanks to the 9 contributors who made this release poss
97
216
 
98
217
  - dateRangePickerDefaultToolbarTitle: 'Date Range Picker',
99
218
  + dateRangePickerToolbarTitle: 'Date Range Picker',
100
- }}
101
- />
219
+ }}
220
+ />
102
221
  ```
103
222
 
104
223
  - The `onChange` / `openView` props on the toolbar have been renamed `onViewChange` / `view`
@@ -134,7 +253,7 @@ We'd like to offer a big thanks to the 9 contributors who made this release poss
134
253
  - [test] Add validation test on range pickers (#6504) @alexfauquette
135
254
  - [test] Remove BrowserStack (#6263) @DanailH
136
255
 
137
- ## v6.0.0-alpha.3
256
+ ## 6.0.0-alpha.3
138
257
 
139
258
  _Oct 13, 2022_
140
259
 
@@ -342,7 +461,7 @@ We'd like to offer a big thanks to the 8 contributors who made this release poss
342
461
  - [core] Test validation on textfield and date views (#6265) @alexfauquette
343
462
  - [test] Sync comment with monorepo @oliviertassinari
344
463
 
345
- ## v6.0.0-alpha.2
464
+ ## 6.0.0-alpha.2
346
465
 
347
466
  _Oct 7, 2022_
348
467
 
@@ -736,7 +855,7 @@ You can find more information about the new api, including how to set those tran
736
855
  - [test] Skip tests for column pinning and dynamic row height (#5997) @m4theushw
737
856
  - [website] Improve security header @oliviertassinari
738
857
 
739
- ## v5.17.4
858
+ ## 5.17.4
740
859
 
741
860
  _Sep 22, 2022_
742
861
 
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v6.0.0-alpha.4
1
+ /** @license MUI v6.0.0-alpha.5
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/legacy/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v6.0.0-alpha.4
1
+ /** @license MUI v6.0.0-alpha.5
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/modern/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v6.0.0-alpha.4
1
+ /** @license MUI v6.0.0-alpha.5
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v6.0.0-alpha.4
1
+ /** @license MUI v6.0.0-alpha.5
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid-generator",
3
- "version": "6.0.0-alpha.4",
3
+ "version": "6.0.0-alpha.5",
4
4
  "description": "Generate fake data for demo purposes only.",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",
@@ -21,8 +21,8 @@
21
21
  "dependencies": {
22
22
  "@babel/runtime": "^7.19.0",
23
23
  "@mui/base": "^5.0.0-alpha.101",
24
- "@mui/x-data-grid-premium": "6.0.0-alpha.4",
25
- "chance": "^1.1.8",
24
+ "@mui/x-data-grid-premium": "6.0.0-alpha.5",
25
+ "chance": "^1.1.9",
26
26
  "clsx": "^1.2.1",
27
27
  "lru-cache": "^7.14.0"
28
28
  },