@mui/material-nextjs 6.0.0-alpha.1 → 6.0.0-alpha.13
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 +346 -4
- package/modern/v13-appRouter/appRouterV13.js +3 -3
- package/modern/v13-pagesRouter/pagesRouterV13Document.js +7 -6
- package/node/v13-appRouter/appRouterV13.js +3 -3
- package/node/v13-pagesRouter/pagesRouterV13Document.js +7 -6
- package/package.json +3 -3
- package/v13-appRouter/appRouterV13.js +3 -3
- package/v13-pagesRouter/pagesRouterV13Document.d.ts +2 -2
- package/v13-pagesRouter/pagesRouterV13Document.js +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,347 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## v6.0.0-alpha.13
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v6.0.0-alpha.12..next -->
|
|
6
|
+
|
|
7
|
+
_Jun 27, 2024_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
|
|
11
|
+
- 🚀 Added layout components for Pigment CSS integration (#42693) @siriwatknp
|
|
12
|
+
|
|
13
|
+
### `@mui/material@6.0.0-alpha.13`
|
|
14
|
+
|
|
15
|
+
- [Autocomplete] Fix more React 18.3 key spread warnings in demos (#42639) @wbt
|
|
16
|
+
- [Container][Grid][Stack][Hidden] Export Pigment CSS layout components (#42693) @siriwatknp
|
|
17
|
+
- [Text Field] when click password visibility button, text caret position change to very front. (#42595) @appleSimple
|
|
18
|
+
- [Modal] migrate useSlotProps to useSLot (#42150) @sai6855
|
|
19
|
+
|
|
20
|
+
### `@mui/styles@6.0.0-alpha.13`
|
|
21
|
+
|
|
22
|
+
- [withStyles] Expect React defaultProps warning in test (#42752) @aarongarciah
|
|
23
|
+
|
|
24
|
+
### Docs
|
|
25
|
+
|
|
26
|
+
- Fix link in CONTRIBUTING.md (#42755) @Janpot
|
|
27
|
+
- Add documentation on migrating JSS's alternative, array-based syntax to syntax supported by Emotion (#42053) @cjl750
|
|
28
|
+
- Fix type error in virtualized table demo (#42757) @aarongarciah
|
|
29
|
+
- Add first batch of v6 migration (#42242) @siriwatknp
|
|
30
|
+
- Fix quotes on font-family dedeclaration in the Landing Page template theme (#42748) @joetats
|
|
31
|
+
|
|
32
|
+
### Core
|
|
33
|
+
|
|
34
|
+
- [code-infra] Refactor eslint `import/no-cycle` rule (#42705) @LukasTy
|
|
35
|
+
- [core] Target direct version for prerelease (#42768) @siriwatknp
|
|
36
|
+
- [test] Remove enzyme (#42706) @aarongarciah
|
|
37
|
+
- [test] Remove createMount test util (#42703) @aarongarciah
|
|
38
|
+
- [website] Add Ale to team (#42764) @alelthomas
|
|
39
|
+
|
|
40
|
+
All contributors of this release in alphabetical order: @aarongarciah, @alelthomas, @appleSimple, @cjl750, @Janpot, @joetats, @LukasTy, @sai6855, @siriwatknp, @wbt
|
|
41
|
+
|
|
42
|
+
## v6.0.0-alpha.12
|
|
43
|
+
|
|
44
|
+
<!-- generated comparing v6.0.0-alpha.11..next -->
|
|
45
|
+
|
|
46
|
+
_Jun 24, 2024_
|
|
47
|
+
|
|
48
|
+
A big thanks to the 17 contributors who made this release possible.
|
|
49
|
+
|
|
50
|
+
### `@mui/material@6.0.0-alpha.12`
|
|
51
|
+
|
|
52
|
+
- Add `InitColorSchemeScript` for Next.js App Router (#42247) @siriwatknp
|
|
53
|
+
- [Autocomplete] Fix renderOption props type (#42689) @DiegoAndai
|
|
54
|
+
- [Autocomplete] Fix React 18.3 key spread warnings in Autocomplete demos (#42691) @aarongarciah
|
|
55
|
+
- Support Pigment CSS for `CssBaseline`, `ScopedCssBaseline` and `Popper` (#42640) @siriwatknp
|
|
56
|
+
- Add `DefaultPropsProvider` for Pigment CSS integration (#42638) @siriwatknp
|
|
57
|
+
- [Stepper] Generate class for nonLinear prop (#42620) @alexismo
|
|
58
|
+
- [Tab] Fix failing test (#42686) @aarongarciah
|
|
59
|
+
- [Tab] Deprecate iconWrapper class for icon class (#42647) @sai6855
|
|
60
|
+
- [TableSortLabel] Deprecate composed classes (#42281) @sai6855
|
|
61
|
+
- [usePagination] Update pagination `siblingsEnd` calculation logic (#42667) @Mini-ghost
|
|
62
|
+
|
|
63
|
+
### `@mui/codemod@6.0.0-alpha.12`
|
|
64
|
+
|
|
65
|
+
- Support dynamic props styled transformation (#42683) @siriwatknp
|
|
66
|
+
|
|
67
|
+
### `@mui/system@6.0.0-alpha.12`
|
|
68
|
+
|
|
69
|
+
- Fix issues reported by react compiler in `mui-system` package (#42637) @sai6855
|
|
70
|
+
- [useMediaQuery] Remove deprecated types (#42560) @aarongarciah
|
|
71
|
+
|
|
72
|
+
### `@mui/joy@5.0.0-beta.45`
|
|
73
|
+
|
|
74
|
+
- Fix issues reported by the React Compiler (#42671) @anuujj
|
|
75
|
+
- [Autocomplete] Fix React spread key warning (#42741) @aarongarciah
|
|
76
|
+
|
|
77
|
+
### `@mui/lab@6.0.0-alpha.12`
|
|
78
|
+
|
|
79
|
+
- [LoadingButton] Apply wrapping element to prevent React crash on Google page translation (#35198) @BartJanvanAssen
|
|
80
|
+
|
|
81
|
+
### Docs
|
|
82
|
+
|
|
83
|
+
- Fix git diff format in migration to v6 (#42711) @oliviertassinari
|
|
84
|
+
- Use new email for sponsoring @oliviertassinari
|
|
85
|
+
- Fix 301 links (#42697) @alexfauquette
|
|
86
|
+
- Normalize the capitalization of Design Kit @oliviertassinari
|
|
87
|
+
- Recommend setting HTML attribute instead of DOM property for RTL (#42599) @aarongarciah
|
|
88
|
+
- [material-ui][Select] Fix the `SelectAutoWidth` demo menu item value (#42648) @Danielkhakbaz
|
|
89
|
+
|
|
90
|
+
### Core
|
|
91
|
+
|
|
92
|
+
- [code-infra] Try disabling animations when taking screenshots (#42537) @Janpot
|
|
93
|
+
- [code-infra] Fix benchmark package (#42553) @Janpot
|
|
94
|
+
- [core] Replace enzyme in describeConformance (#42447) @DiegoAndai
|
|
95
|
+
- [docs-infra] Fix layout shift demo toolbar (#42743) @oliviertassinari
|
|
96
|
+
- [docs-infra] Fix visual look of in-house ad (#42735) @oliviertassinari
|
|
97
|
+
- [docs-infra] Add stray design polish (#42646) @danilo-leal
|
|
98
|
+
- [docs-infra] Fix wrong migration (#42675) @siriwatknp
|
|
99
|
+
- [docs-infra] Fine tune markdown elements design (#42643) @danilo-leal
|
|
100
|
+
- [docs-infra] Revamp the product switcher design (#42603) @danilo-leal
|
|
101
|
+
- [docs-infra] Allow Link component to receive the `role` attribute (#42629) @danilo-leal
|
|
102
|
+
- [infra] Add support donation button (#42499) @oliviertassinari
|
|
103
|
+
- [infra] Raise `tsconfig`/`tsc` target to `es2022` (#42645) @LukasTy
|
|
104
|
+
- [test] Fix tests on CI (#42670) @michaldudak
|
|
105
|
+
- [test] Fix issues reported by react-compiler in test packages (#42626) @sai6855
|
|
106
|
+
- [website] Add Armin to the team members (#42679) @arminmeh
|
|
107
|
+
- [website] Open Staff Engineer role for Pigment CSS (#42531) @mnajdova
|
|
108
|
+
|
|
109
|
+
All contributors of this release in alphabetical order: @aarongarciah, @alexfauquette, @alexismo, @anuujj, @arminmeh, @BartJanvanAssen, @Danielkhakbaz, @danilo-leal, @DiegoAndai, @Janpot, @LukasTy, @michaldudak, @Mini-ghost, @mnajdova, @oliviertassinari, @sai6855, @siriwatknp
|
|
110
|
+
|
|
111
|
+
## v6.0.0-alpha.11
|
|
112
|
+
|
|
113
|
+
<!-- generated comparing v6.0.0-alpha.10..next -->
|
|
114
|
+
|
|
115
|
+
_Jun 11, 2024_
|
|
116
|
+
|
|
117
|
+
A big thanks to the 18 contributors who made this release possible.
|
|
118
|
+
|
|
119
|
+
### `@mui/material@6.0.0-alpha.11`
|
|
120
|
+
|
|
121
|
+
- ​<!-- 38 -->[Autocomplete] Shouldn't resize when hovering (#42452) @ZeeshanTamboli
|
|
122
|
+
- ​<!-- 37 -->[Chip] Fix focus issue related with the Escape event (#41578) @shrilsharma
|
|
123
|
+
- ​<!-- 12 -->[Grid] Fix support for CSS variables (#42574) @oliviertassinari
|
|
124
|
+
- ​<!-- 11 -->[InputBase] Use `globalCss` for Pigment integration (#42431) @siriwatknp
|
|
125
|
+
- ​<!-- 10 -->Change React.ReactElement type from `any` to `unknown` (#42473) @sai6855
|
|
126
|
+
- ​<!-- 09 -->Integrate `extendSxProp` adapter (#42543) @siriwatknp
|
|
127
|
+
- ​<!-- 08 -->[Tab] Fix applying `iconWrapper` styles from theme and update its description (#42549) @sai6855
|
|
128
|
+
- ​<!-- 08 -->[pigment-css] Add `stringifyTheme` for Pigment CSS integration (#42476) @siriwatknp
|
|
129
|
+
|
|
130
|
+
### `@mui/system@6.0.0-alpha.11`
|
|
131
|
+
|
|
132
|
+
- ​<!-- 11 -->[Grid] Remove `disableEqualOverflow` by using `gap` (#42526) @DiegoAndai
|
|
133
|
+
- ​<!-- 07 -->[useMediaQuery] Drop Safari < 14 support (#42464) @aarongarciah
|
|
134
|
+
|
|
135
|
+
### `@mui/utils@6.0.0-alpha.11`
|
|
136
|
+
|
|
137
|
+
- ​<!-- 04 -->Allow passing `NaN` as `defaultValue` to `useControlled` (#41559) @iammminzzy
|
|
138
|
+
|
|
139
|
+
### `@mui/codemod@6.0.0-alpha.11`
|
|
140
|
+
|
|
141
|
+
- ​<!-- 39 -->Improve styled and sx prop transformation (#42598) @siriwatknp
|
|
142
|
+
- ​<!-- 36 -->Support more cases for sx-prop transformation (#42527) @siriwatknp
|
|
143
|
+
|
|
144
|
+
### `@mui/private-theming@6.0.0-alpha.11`
|
|
145
|
+
|
|
146
|
+
- ​<!-- 09 -->Fix issues reported by react compiler in `mui-private-theming` components (#42619) @sai6855
|
|
147
|
+
|
|
148
|
+
### Docs
|
|
149
|
+
|
|
150
|
+
- ​<!-- 31 -->Add `theme.applyStyles` and migrate docs (#42498) @siriwatknp
|
|
151
|
+
- ​<!-- 29 -->Fix dashboard template console error (#42594) @oliviertassinari
|
|
152
|
+
- ​<!-- 28 -->Migrate system props to `sx` prop (#42475) @siriwatknp
|
|
153
|
+
- ​<!-- 27 -->[material-ui]Fix duplicated sentence (#42521) @alexfauquette
|
|
154
|
+
- ​<!-- 22 -->[Grid] Fix docs spacing (#42573) @oliviertassinari
|
|
155
|
+
- ​<!-- 21 -->[joy-ui] Add Next.js App Router instructions on how to prevent flickering (#42514) @devnyxie
|
|
156
|
+
- ​<!-- 20 -->[joy-ui] Fix HTML tag without preformatting (#42525) @jacobmoshipco
|
|
157
|
+
- ​<!-- 19 -->[material-ui] Add docs for complementary stepper components (#41900) @anle9650
|
|
158
|
+
- ​<!-- 18 -->[material-ui] Fix typo on Sign-in/Sign-up templates (#42605) @zanivan
|
|
159
|
+
- ​<!-- 17 -->[material-ui] Add container queries docs (#42434) @siriwatknp
|
|
160
|
+
- ​<!-- 16 -->[material-ui] Fix ESLint error in Stepper demo (#42559) @aarongarciah
|
|
161
|
+
- ​<!-- 15 -->[material-ui] Shorten useMediaQuery subheading (#42561) @aarongarciah
|
|
162
|
+
- ​<!-- 14 -->[material-ui] Add a Refine example project (#42461) @necatiozmen
|
|
163
|
+
|
|
164
|
+
### Core
|
|
165
|
+
|
|
166
|
+
- ​<!-- 39 -->[website] Move the `React Engineer - X` role to future roles (#42532) @DanailH
|
|
167
|
+
- ​<!-- 35 -->[core] Allow `for..of` loops (#42600) @michaldudak
|
|
168
|
+
- ​<!-- 34 -->[core] Add comment about Object.js @oliviertassinari
|
|
169
|
+
- ​<!-- 33 -->[core] Disable eslint-plugin-react-compiler for Base (#42563) @aarongarciah
|
|
170
|
+
- ​<!-- 33 -->[core] Group Pigment CSS dependencies (#42174) @siriwatknp
|
|
171
|
+
- ​<!-- 32 -->[core] Configure eslint-plugin-react-compiler (#42555) @aarongarciah
|
|
172
|
+
- ​<!-- 31 -->[core] Skip charts animation for visual regression test (#42530) @alexfauquette
|
|
173
|
+
- ​<!-- 26 -->[docs-infra] Simplify click header (#42593) @oliviertassinari
|
|
174
|
+
- ​<!-- 25 -->[docs-infra] Add configurable jsdoc host variable (#42472) @tonygravell
|
|
175
|
+
- ​<!-- 25 -->[docs-infra] Add the Base UI logo with copy functionality (#42446) @danilo-leal
|
|
176
|
+
- ​<!-- 24 -->[docs-infra] Prevent link anchor when selecting text (#41994) @alexfauquette
|
|
177
|
+
- ​<!-- 23 -->[docs-infra] Add the Base UI logo with copy functionality (#42446) @danilo-leal
|
|
178
|
+
- ​<!-- 13 -->[examples] Remove Pigment CSS examples (#42471) @sai6855
|
|
179
|
+
- ​<!-- 06 -->[test] Restore pnpm tc command (#42572) @oliviertassinari
|
|
180
|
+
- ​<!-- 05 -->[test] Restore testing internal packages (#42519) @michaldudak
|
|
181
|
+
- ​<!-- 03 -->[website] Close Developer Advocate / Content Engineer role @oliviertassinari
|
|
182
|
+
- ​<!-- 02 -->[website] Remove blank line @oliviertassinari
|
|
183
|
+
- ​<!-- 01 -->[website] Fix mobile layout shift @oliviertassinari
|
|
184
|
+
|
|
185
|
+
All contributors of this release in alphabetical order: @aarongarciah, @alexfauquette, @anle9650, @DanailH, @danilo-leal, @devnyxie, @DiegoAndai, @iammminzzy, @jacobmoshipco, @michaldudak, @necatiozmen, @oliviertassinari, @sai6855, @shrilsharma, @siriwatknp, @tonygravell, @zanivan, @ZeeshanTamboli
|
|
186
|
+
|
|
187
|
+
## v6.0.0-alpha.10
|
|
188
|
+
|
|
189
|
+
<!-- generated comparing v6.0.0-alpha.9..next -->
|
|
190
|
+
|
|
191
|
+
_Jun 4, 2024_
|
|
192
|
+
|
|
193
|
+
A big thanks to the 7 contributors who made this release possible.
|
|
194
|
+
|
|
195
|
+
### `@mui/material@6.0.0-alpha.10`
|
|
196
|
+
|
|
197
|
+
- ​<!-- 26 -->[Backdrop] Deprecate `components` and `componentsProps` (#42468) @DiegoAndai
|
|
198
|
+
- ​<!-- 25 -->[Collapse] Bound max transition time (#42390) @oliviertassinari
|
|
199
|
+
- ​<!-- 12 -->[FilledInput] Remove unapplied classes from filledInputClasses interface and add missing classes to root (#42082) @sai6855
|
|
200
|
+
- ​<!-- 11 -->[InputBase] Deprecate components and componentProps props for v6 (#42093) @ChronicusUA
|
|
201
|
+
- ​<!-- 10 -->Remove remaining IE11 code (#42283) @DiegoAndai
|
|
202
|
+
- ​<!-- 09 -->[Modal] Deprecate `components` and `componentsProps` (#42469) @DiegoAndai
|
|
203
|
+
- ​<!-- 08 -->[Popover] Migrate useSlotProps to useSlot (#42369) @sai6855
|
|
204
|
+
- ​<!-- 07 -->[useMediaQuery] Remove unused useMediaQueryTheme (#42367) @aarongarciah
|
|
205
|
+
|
|
206
|
+
### `@mui/system@6.0.0-alpha.10`
|
|
207
|
+
|
|
208
|
+
- ​<!-- 06 -->Remove IE11 code (#42436) @DiegoAndai
|
|
209
|
+
|
|
210
|
+
### Docs
|
|
211
|
+
|
|
212
|
+
- ​<!-- 23 -->Reflect Base UI and MUI System in a different repository @oliviertassinari
|
|
213
|
+
- ​<!-- 22 -->Update twitter.com to x.com @oliviertassinari
|
|
214
|
+
- ​<!-- 21 -->Simplify Example projects page @oliviertassinari
|
|
215
|
+
- ​<!-- 17 -->[icons] Update README and docs page (#41938) @danilo-leal
|
|
216
|
+
- ​<!-- 16 -->[material-ui] Add changelog section to the design kits page (#42449) @danilo-leal
|
|
217
|
+
- ​<!-- 15 -->[material-ui] Fix sentence in the All components page (#42336) @danilo-leal
|
|
218
|
+
- ​<!-- 14 -->[material-ui] Update Figma design kit doc redirect link (#42448) @danilo-leal
|
|
219
|
+
- ​<!-- 13 -->[system] Add "dynamic values" section to sx prop page (#42239) @aarongarciah
|
|
220
|
+
|
|
221
|
+
### Core
|
|
222
|
+
|
|
223
|
+
- ​<!-- 20 -->[docs-infra] Update the OG card image design (#42470) @danilo-leal
|
|
224
|
+
- ​<!-- 19 -->[docs-infra] Add small design polish (#42455) @danilo-leal
|
|
225
|
+
- ​<!-- 18 -->[docs-infra] Update the Material logo + add copy functionality (#42435) @danilo-leal
|
|
226
|
+
- ​<!-- 05 -->[website] Update DoiT description and link in Sponsors section (#42505) @erezstmn-doit
|
|
227
|
+
- ​<!-- 04 -->[website] Clean up the docs-infra job ad (#42504) @danilo-leal
|
|
228
|
+
- ​<!-- 03 -->[website] Fix FlashCode position (#42139) @oliviertassinari
|
|
229
|
+
- ​<!-- 02 -->[website] Open Docs-infra engineer role (#42101) @danilo-leal
|
|
230
|
+
- ​<!-- 01 -->[website] Fix locationCountry in about page @oliviertassinari
|
|
231
|
+
|
|
232
|
+
All contributors of this release in alphabetical order: @aarongarciah, @ChronicusUA, @danilo-leal, @DiegoAndai, @erezstmn-doit, @oliviertassinari, @sai6855
|
|
233
|
+
|
|
234
|
+
## v6.0.0-alpha.9
|
|
235
|
+
|
|
236
|
+
<!-- generated comparing v6.0.0-alpha.8..next -->
|
|
237
|
+
|
|
238
|
+
_May 29, 2024_
|
|
239
|
+
|
|
240
|
+
A big thanks to the 23 contributors who made this release possible. Here are some highlights ✨:
|
|
241
|
+
|
|
242
|
+
- 🚀 `CssVarsProvider` and `extendTheme` are now stable (#42246) @siriwatknp
|
|
243
|
+
|
|
244
|
+
### `@mui/material@6.0.0-alpha.9`
|
|
245
|
+
|
|
246
|
+
- ​<!-- 49 -->[AlertTitle] Enable extending Typography props (#42269) @lucasgmelo
|
|
247
|
+
- ​<!-- 48 -->[AvatarGroup] deprecate `componentsProps` for v6 (#42122) @lhilgert9
|
|
248
|
+
- ​<!-- 15 -->[Grid] Deprecate `wrap` prop (#42363) @fedirjh
|
|
249
|
+
- ​<!-- 14 -->[ListItem] Document `*Component` and `*Props` props deprecations (#42263) @aarongarciah
|
|
250
|
+
- ​<!-- 13 -->[ListItem] Deprecate ListItem's components and componentsProps (#42219) @aarongarciah
|
|
251
|
+
- ​<!-- 12 -->[ListItemSecondaryAction] Deprecate component (#42251) @aarongarciah
|
|
252
|
+
- ​<!-- 11 -->Stabilize `CssVarsProvider` and `extendTheme` (#42246) @siriwatknp
|
|
253
|
+
- ​<!-- 10 -->[Popper] Deprecate components and componentProps props for v6 (#42111) @ChronicusUA
|
|
254
|
+
- ​<!-- 09 -->[responsiveFontSizes] Handled undefined variants (#42412) @brijeshb42
|
|
255
|
+
- ​<!-- 08 -->[Slider] Fix wrong CSS value (#42370) @mnajdova
|
|
256
|
+
- ​<!-- 07 -->[Tooltip] Deprecate components and componentProps props for v6 (#42107) @ChronicusUA
|
|
257
|
+
|
|
258
|
+
### `@mui/system@6.0.0-alpha.9`
|
|
259
|
+
|
|
260
|
+
- ​<!-- 34 -->[createStyled] Intercept `ownerState` coming from `props` and `ownerState` (#42358) @DiegoAndai
|
|
261
|
+
|
|
262
|
+
### `@mui/codemod@6.0.0-alpha.9`
|
|
263
|
+
|
|
264
|
+
- ​<!-- 41 -->Add `sx` prop for v6 migration (#42153) @siriwatknp
|
|
265
|
+
- ​<!-- 40 -->Add codemod for removing system props (#42282) @siriwatknp
|
|
266
|
+
|
|
267
|
+
### Docs
|
|
268
|
+
|
|
269
|
+
- ​<!-- 33 -->Remove unused images (#42324) @danilo-leal
|
|
270
|
+
- ​<!-- 32 -->Add Pigment CSS and Base UI logos SVGs (#42322) @danilo-leal
|
|
271
|
+
- ​<!-- 22 -->[joy-ui] Fix template responsiveness (#42422) @j4marcos
|
|
272
|
+
- ​<!-- 21 -->[material-ui] Add the Pashto locale (#42244) @sayoubiaf
|
|
273
|
+
- ​<!-- 20 -->[material-ui] Remove duplicate Design Kits page (#42338) @danilo-leal
|
|
274
|
+
- ​<!-- 19 -->[material-ui] Document callback to access theme in GlobalStyles (#42257) @aarongarciah
|
|
275
|
+
- ​<!-- 18 -->[material-ui] Add minor modifications to the Vertical stepper demo (#42342) @mihilt
|
|
276
|
+
- ​<!-- 17 -->[material-ui][Tabs] Improve the Basic Tabs demo (#42374) @MatheusEli
|
|
277
|
+
- ​<!-- 16 -->[pigment-css] Polish redirection mention @oliviertassinari
|
|
278
|
+
|
|
279
|
+
### Core
|
|
280
|
+
|
|
281
|
+
- ​<!-- 47 -->[blog] Add fixes and clean ups to the Blog page (#42311) @danilo-leal
|
|
282
|
+
- ​<!-- 46 -->[blog] Add the "Product" tag to the Pigment CSS post (#42365) @danilo-leal
|
|
283
|
+
- ​<!-- 45 -->[code-infra] Simplify .stylelintrc.js @oliviertassinari
|
|
284
|
+
- ​<!-- 44 -->[code-infra] Fix stylelint locally (#42411) @oliviertassinari
|
|
285
|
+
- ​<!-- 43 -->[code-infra] Run corepack enable on all CI jobs (#42331) @Janpot
|
|
286
|
+
- ​<!-- 42 -->[code-infra] Create examples eslint rule (#42170) @oliviertassinari
|
|
287
|
+
- ​<!-- 39 -->[core] Apply React 19 type changes that don't require upcoming `@types/` packages (#42346) @DiegoAndai
|
|
288
|
+
- ​<!-- 38 -->[core] Remove `react-swipeable-views-utils` package from docs (#42378) @ZeeshanTamboli
|
|
289
|
+
- ​<!-- 37 -->[core] Update `@testing-library/react` and `@testing-library/dom` packages (#42349) @ZeeshanTamboli
|
|
290
|
+
- ​<!-- 36 -->[core] Remove `@types/prettier` package (#42339) @ZeeshanTamboli
|
|
291
|
+
- ​<!-- 35 -->[core] Remove `WyW-in-JS` from Renovate config (#42335) @ZeeshanTamboli
|
|
292
|
+
- ​<!-- 31 -->[docs-infra] Split feedback channels per product (#42413) @alexfauquette
|
|
293
|
+
- ​<!-- 30 -->[docs-infra] Avoid cryptic errors when tests don't exist (#42356) @Janpot
|
|
294
|
+
- ​<!-- 29 -->[docs-infra] Make menu styles consistent (#42387) @danilo-leal
|
|
295
|
+
- ​<!-- 28 -->[docs-infra] Display deprecation messages in API pages (#42352) @aarongarciah
|
|
296
|
+
- ​<!-- 27 -->[docs-infra] Standardize API pages Alert styles (#42386) @danilo-leal
|
|
297
|
+
- ​<!-- 26 -->[docs-infra] Fix Toolpad Core API links (#42362) @apedroferreira
|
|
298
|
+
- ​<!-- 25 -->[docs-infra] Tigthen up the header design (#42180) @danilo-leal
|
|
299
|
+
- ​<!-- 24 -->[docs-infra] Add Toolpad to muiNpmOrgs for codesandbox demos (#42316) @Janpot
|
|
300
|
+
- ​<!-- 23 -->[docs-infra] Allow JSDoc tags (#42337) @aarongarciah
|
|
301
|
+
- ​<!-- 06 -->[test] Remove `userAgent` override in `jsdom` env (#42344) @cherniavskii
|
|
302
|
+
- ​<!-- 05 -->[utils] Fix GitHub-reported prototype pollution vulnerability in `deepmerge` (#41652) @tjcouch-sil
|
|
303
|
+
- ​<!-- 04 -->[website] Add Nikita to the about page (#42418) @nikitaa24
|
|
304
|
+
- ​<!-- 03 -->[website] Fix hero spacing changes applying at the wrong breakpoint (#42341) @KenanYusuf
|
|
305
|
+
- ​<!-- 02 -->[website] Adds Kenan Yusuf to about page (#42317) @KenanYusuf
|
|
306
|
+
- ​<!-- 01 -->[website] Improve about page @oliviertassinari
|
|
307
|
+
|
|
308
|
+
All contributors of this release in alphabetical order: @aarongarciah, @alexfauquette, @apedroferreira, @brijeshb42, @cherniavskii, @ChronicusUA, @danilo-leal, @DiegoAndai, @fedirjh, @j4marcos, @Janpot, @KenanYusuf, @lhilgert9, @lucasgmelo, @MatheusEli, @mihilt, @mnajdova, @nikitaa24, @oliviertassinari, @sayoubiaf, @siriwatknp, @tjcouch-sil, @ZeeshanTamboli
|
|
309
|
+
|
|
310
|
+
## v6.0.0-alpha.8
|
|
311
|
+
|
|
312
|
+
<!-- generated comparing v6.0.0-alpha.7..next -->
|
|
313
|
+
|
|
314
|
+
_May 21, 2024_
|
|
315
|
+
|
|
316
|
+
A big thanks to the 7 contributors who made this release possible.
|
|
317
|
+
This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
|
|
318
|
+
|
|
319
|
+
### `@mui/material@6.0.0-alpha.7`
|
|
320
|
+
|
|
321
|
+
- ​<!-- 04 -->[material-ui] Filter only valid theme palette for generating styles (#42147) @siriwatknp
|
|
322
|
+
- ​<!-- 03 -->[material-ui] Remove UMD bundle (#42172) @ZeeshanTamboli
|
|
323
|
+
- ​<!-- 02 -->[material-ui][TextField] Deprecate `*Props` props (#42062) @DiegoAndai
|
|
324
|
+
|
|
325
|
+
### Docs
|
|
326
|
+
|
|
327
|
+
- ​<!-- 08 -->[docs] Remove Base UI from the README (#42307) @danilo-leal
|
|
328
|
+
- ​<!-- 07 -->[docs][material-ui] Fix typo in style interoperability with Tailwind CSS docs (#42279) @ZeeshanTamboli
|
|
329
|
+
- ​<!-- 06 -->[docs][material-ui] Add supported browsers section to migration guide (#42194) @DiegoAndai
|
|
330
|
+
- ​<!-- 05 -->[docs][material-ui][Pagination] Clarify pagination `page` prop API (#42220) @Mandar-Pandya
|
|
331
|
+
|
|
332
|
+
### Core
|
|
333
|
+
|
|
334
|
+
- ​<!-- 12 -->[blog] Update blog post OG image (#42270) @danilo-leal
|
|
335
|
+
- ​<!-- 11 -->[blog] Update Pigment CSS post (#42266) @danilo-leal
|
|
336
|
+
- ​<!-- 10 -->[docs] Remove LocalMonero (#42224) @oliviertassinari
|
|
337
|
+
- ​<!-- 08 -->[docs-infra] Fix keyboard navigation on page tabs (#42152) @danilo-leal
|
|
338
|
+
- ​<!-- 10 -->[code-infra] Remove raw-loader (#42275) @Janpot
|
|
339
|
+
- ​<!-- 09 -->[core] Remove outdated Babel plugins (#42140) @ZeeshanTamboli
|
|
340
|
+
- ​<!-- 12 -->[core] Fix a few more key spread issues (#42168) @oliviertassinari
|
|
341
|
+
- ​<!-- 01 -->[website] Avoid duplicate simple vs. rich (#42100) @oliviertassinari
|
|
342
|
+
|
|
343
|
+
All contributors of this release in alphabetical order: @danilo-leal, @DiegoAndai, @Janpot, @Mandar-Pandya, @oliviertassinari, @siriwatknp, @ZeeshanTamboli
|
|
344
|
+
|
|
3
345
|
## v6.0.0-alpha.7
|
|
4
346
|
|
|
5
347
|
<!-- generated comparing v6.0.0-alpha.6..next -->
|
|
@@ -53,7 +395,7 @@ All contributors of this release in alphabetical order: @aarongarciah, @alexfauq
|
|
|
53
395
|
|
|
54
396
|
_May 8, 2024_
|
|
55
397
|
|
|
56
|
-
A big thanks to the 10 contributors who made this release possible.
|
|
398
|
+
A big thanks to the 10 contributors who made this release possible.
|
|
57
399
|
|
|
58
400
|
### `@mui/material@6.0.0-alpha.6`
|
|
59
401
|
|
|
@@ -101,7 +443,7 @@ All contributors of this release in alphabetical order: @aarongarciah, @danilo-l
|
|
|
101
443
|
|
|
102
444
|
_May 1, 2024_
|
|
103
445
|
|
|
104
|
-
A big thanks to the 9 contributors who made this release possible.
|
|
446
|
+
A big thanks to the 9 contributors who made this release possible.
|
|
105
447
|
|
|
106
448
|
### `@mui/material@6.0.0-alpha.5`
|
|
107
449
|
|
|
@@ -8695,7 +9037,7 @@ A big thanks to the 15 contributors who made this release possible. Here are som
|
|
|
8695
9037
|
|
|
8696
9038
|
- ​<!-- 27 -->[core] Rename mui/core to mui/base (#29585) @michaldudak
|
|
8697
9039
|
|
|
8698
|
-
Based on the results of the [poll](https://
|
|
9040
|
+
Based on the results of the [poll](https://x.com/michaldudak/status/1452630484706635779) and our internal discussions, we decided to rename the `@mui/core` package to `@mui/base`. The main rationale for this is the fact that we use the term "Core" to refer to the core components product family, the one that includes Material Design components, unstyled components, System utilities, etc. Therefore, @mui/core was effectively a subset of MUI Core. This was confusing.
|
|
8699
9041
|
|
|
8700
9042
|
The new name better reflects the purpose of the package: it contains unstyled components, hooks, and utilities that serve as a **base** to build on.
|
|
8701
9043
|
|
|
@@ -13112,7 +13454,7 @@ A big thanks to the 34 contributors who made this release possible. Here are som
|
|
|
13112
13454
|
```
|
|
13113
13455
|
|
|
13114
13456
|
- [Autocomplete] Remove `debug` in favor of `open` and dev tools (#23377) @eps1lon
|
|
13115
|
-
There are a couple of simpler alternatives: `open={true}`, Chrome devtools ["Emulate focused"](https://
|
|
13457
|
+
There are a couple of simpler alternatives: `open={true}`, Chrome devtools ["Emulate focused"](https://x.com/sulco/status/1305841873945272321), or React devtools props.
|
|
13116
13458
|
|
|
13117
13459
|
#### Changes
|
|
13118
13460
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
3
|
import * as React from 'react';
|
|
5
4
|
import createCache from '@emotion/cache';
|
|
6
5
|
import { CacheProvider as DefaultCacheProvider } from '@emotion/react';
|
|
@@ -18,9 +17,10 @@ export default function AppRouterCacheProvider(props) {
|
|
|
18
17
|
children
|
|
19
18
|
} = props;
|
|
20
19
|
const [registry] = React.useState(() => {
|
|
21
|
-
const cache = createCache(
|
|
20
|
+
const cache = createCache({
|
|
21
|
+
...options,
|
|
22
22
|
key: options?.key ?? 'mui'
|
|
23
|
-
})
|
|
23
|
+
});
|
|
24
24
|
cache.compat = true;
|
|
25
25
|
const prevInsert = cache.insert;
|
|
26
26
|
let inserted = [];
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
1
|
var _meta;
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
import createEmotionServer from '@emotion/server/create-instance';
|
|
@@ -63,15 +62,17 @@ export async function documentGetInitialProps(ctx, options) {
|
|
|
63
62
|
} = createEmotionServer(cache);
|
|
64
63
|
return createGetInitialProps([{
|
|
65
64
|
enhanceApp: App => function EnhanceApp(props) {
|
|
66
|
-
return /*#__PURE__*/_jsx(App,
|
|
67
|
-
emotionCache: cache
|
|
68
|
-
|
|
65
|
+
return /*#__PURE__*/_jsx(App, {
|
|
66
|
+
emotionCache: cache,
|
|
67
|
+
...props
|
|
68
|
+
});
|
|
69
69
|
},
|
|
70
70
|
resolveProps: async initialProps => {
|
|
71
71
|
const {
|
|
72
72
|
styles
|
|
73
73
|
} = extractCriticalToChunks(initialProps.html);
|
|
74
|
-
return
|
|
74
|
+
return {
|
|
75
|
+
...initialProps,
|
|
75
76
|
emotionStyleTags: styles.map(style => /*#__PURE__*/_jsx("style", {
|
|
76
77
|
"data-emotion": `${style.key} ${style.ids.join(' ')}`,
|
|
77
78
|
// eslint-disable-next-line react/no-danger
|
|
@@ -79,7 +80,7 @@ export async function documentGetInitialProps(ctx, options) {
|
|
|
79
80
|
__html: style.css
|
|
80
81
|
}
|
|
81
82
|
}, style.key))
|
|
82
|
-
}
|
|
83
|
+
};
|
|
83
84
|
}
|
|
84
85
|
}, ...(options?.plugins ?? [])])(ctx);
|
|
85
86
|
}
|
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.default = AppRouterCacheProvider;
|
|
9
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
9
|
var React = _interopRequireWildcard(require("react"));
|
|
11
10
|
var _cache = _interopRequireDefault(require("@emotion/cache"));
|
|
12
11
|
var _react2 = require("@emotion/react");
|
|
@@ -27,9 +26,10 @@ function AppRouterCacheProvider(props) {
|
|
|
27
26
|
} = props;
|
|
28
27
|
const [registry] = React.useState(() => {
|
|
29
28
|
var _options$key;
|
|
30
|
-
const cache = (0, _cache.default)(
|
|
29
|
+
const cache = (0, _cache.default)({
|
|
30
|
+
...options,
|
|
31
31
|
key: (_options$key = options == null ? void 0 : options.key) != null ? _options$key : 'mui'
|
|
32
|
-
})
|
|
32
|
+
});
|
|
33
33
|
cache.compat = true;
|
|
34
34
|
const prevInsert = cache.insert;
|
|
35
35
|
let inserted = [];
|
|
@@ -7,7 +7,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.DocumentHeadTags = DocumentHeadTags;
|
|
8
8
|
exports.createGetInitialProps = createGetInitialProps;
|
|
9
9
|
exports.documentGetInitialProps = documentGetInitialProps;
|
|
10
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
10
|
var React = _interopRequireWildcard(require("react"));
|
|
12
11
|
var _createInstance = _interopRequireDefault(require("@emotion/server/create-instance"));
|
|
13
12
|
var _document = _interopRequireDefault(require("next/document"));
|
|
@@ -75,15 +74,17 @@ async function documentGetInitialProps(ctx, options) {
|
|
|
75
74
|
} = (0, _createInstance.default)(cache);
|
|
76
75
|
return createGetInitialProps([{
|
|
77
76
|
enhanceApp: App => function EnhanceApp(props) {
|
|
78
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(App,
|
|
79
|
-
emotionCache: cache
|
|
80
|
-
|
|
77
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(App, {
|
|
78
|
+
emotionCache: cache,
|
|
79
|
+
...props
|
|
80
|
+
});
|
|
81
81
|
},
|
|
82
82
|
resolveProps: async initialProps => {
|
|
83
83
|
const {
|
|
84
84
|
styles
|
|
85
85
|
} = extractCriticalToChunks(initialProps.html);
|
|
86
|
-
return
|
|
86
|
+
return {
|
|
87
|
+
...initialProps,
|
|
87
88
|
emotionStyleTags: styles.map(style => /*#__PURE__*/(0, _jsxRuntime.jsx)("style", {
|
|
88
89
|
"data-emotion": `${style.key} ${style.ids.join(' ')}`,
|
|
89
90
|
// eslint-disable-next-line react/no-danger
|
|
@@ -91,7 +92,7 @@ async function documentGetInitialProps(ctx, options) {
|
|
|
91
92
|
__html: style.css
|
|
92
93
|
}
|
|
93
94
|
}, style.key))
|
|
94
|
-
}
|
|
95
|
+
};
|
|
95
96
|
}
|
|
96
97
|
}, ...((_options$plugins = options == null ? void 0 : options.plugins) != null ? _options$plugins : [])])(ctx);
|
|
97
98
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/material-nextjs",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.13",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "Collection of utilities for integration between Material UI and Next.js.",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"url": "https://opencollective.com/mui-org"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@babel/runtime": "^7.24.
|
|
27
|
+
"@babel/runtime": "^7.24.7"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@emotion/cache": "^11.11.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@types/react": "^17.0.0 || ^18.0.0",
|
|
33
33
|
"next": "^13.0.0 || ^14.0.0",
|
|
34
34
|
"react": "^17.0.0 || ^18.0.0",
|
|
35
|
-
"@mui/material": "
|
|
35
|
+
"@mui/material": "6.0.0-alpha.13"
|
|
36
36
|
},
|
|
37
37
|
"peerDependenciesMeta": {
|
|
38
38
|
"@types/react": {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
3
|
import * as React from 'react';
|
|
5
4
|
import createCache from '@emotion/cache';
|
|
6
5
|
import { CacheProvider as DefaultCacheProvider } from '@emotion/react';
|
|
@@ -18,9 +17,10 @@ export default function AppRouterCacheProvider(props) {
|
|
|
18
17
|
children
|
|
19
18
|
} = props;
|
|
20
19
|
const [registry] = React.useState(() => {
|
|
21
|
-
const cache = createCache(
|
|
20
|
+
const cache = createCache({
|
|
21
|
+
...options,
|
|
22
22
|
key: options?.key ?? 'mui'
|
|
23
|
-
})
|
|
23
|
+
});
|
|
24
24
|
cache.compat = true;
|
|
25
25
|
const prevInsert = cache.insert;
|
|
26
26
|
let inserted = [];
|
|
@@ -3,7 +3,7 @@ import { AppType } from 'next/app';
|
|
|
3
3
|
import { EmotionCache } from '@emotion/react';
|
|
4
4
|
import { DocumentContext, DocumentInitialProps } from 'next/document';
|
|
5
5
|
interface Plugin {
|
|
6
|
-
enhanceApp: (App: React.ComponentType<React.ComponentProps<AppType>>) => (props: any) => JSX.Element;
|
|
6
|
+
enhanceApp: (App: React.ComponentType<React.ComponentProps<AppType>>) => (props: any) => React.JSX.Element;
|
|
7
7
|
resolveProps: (initialProps: DocumentInitialProps) => Promise<DocumentInitialProps>;
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
@@ -11,7 +11,7 @@ interface Plugin {
|
|
|
11
11
|
*/
|
|
12
12
|
export declare function createGetInitialProps(plugins: Plugin[]): (ctx: DocumentContext) => Promise<DocumentInitialProps>;
|
|
13
13
|
export interface DocumentHeadTagsProps {
|
|
14
|
-
emotionStyleTags: React.ReactElement[];
|
|
14
|
+
emotionStyleTags: React.ReactElement<any>[];
|
|
15
15
|
}
|
|
16
16
|
export declare function DocumentHeadTags(props: DocumentHeadTagsProps): React.JSX.Element;
|
|
17
17
|
export declare function documentGetInitialProps(ctx: DocumentContext, options?: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
1
|
var _meta;
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
import createEmotionServer from '@emotion/server/create-instance';
|
|
@@ -63,15 +62,17 @@ export async function documentGetInitialProps(ctx, options) {
|
|
|
63
62
|
} = createEmotionServer(cache);
|
|
64
63
|
return createGetInitialProps([{
|
|
65
64
|
enhanceApp: App => function EnhanceApp(props) {
|
|
66
|
-
return /*#__PURE__*/_jsx(App,
|
|
67
|
-
emotionCache: cache
|
|
68
|
-
|
|
65
|
+
return /*#__PURE__*/_jsx(App, {
|
|
66
|
+
emotionCache: cache,
|
|
67
|
+
...props
|
|
68
|
+
});
|
|
69
69
|
},
|
|
70
70
|
resolveProps: async initialProps => {
|
|
71
71
|
const {
|
|
72
72
|
styles
|
|
73
73
|
} = extractCriticalToChunks(initialProps.html);
|
|
74
|
-
return
|
|
74
|
+
return {
|
|
75
|
+
...initialProps,
|
|
75
76
|
emotionStyleTags: styles.map(style => /*#__PURE__*/_jsx("style", {
|
|
76
77
|
"data-emotion": `${style.key} ${style.ids.join(' ')}`,
|
|
77
78
|
// eslint-disable-next-line react/no-danger
|
|
@@ -79,7 +80,7 @@ export async function documentGetInitialProps(ctx, options) {
|
|
|
79
80
|
__html: style.css
|
|
80
81
|
}
|
|
81
82
|
}, style.key))
|
|
82
|
-
}
|
|
83
|
+
};
|
|
83
84
|
}
|
|
84
85
|
}, ...(options?.plugins ?? [])])(ctx);
|
|
85
86
|
}
|