@mui/material-nextjs 6.0.0-alpha.1 → 6.0.0-alpha.11
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 +238 -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,239 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## v6.0.0-alpha.11
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v6.0.0-alpha.10..next -->
|
|
6
|
+
|
|
7
|
+
_Jun 11, 2024_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 18 contributors who made this release possible.
|
|
10
|
+
|
|
11
|
+
### `@mui/material@6.0.0-alpha.11`
|
|
12
|
+
|
|
13
|
+
- ​<!-- 38 -->[Autocomplete] Shouldn't resize when hovering (#42452) @ZeeshanTamboli
|
|
14
|
+
- ​<!-- 37 -->[Chip] Fix focus issue related with the Escape event (#41578) @shrilsharma
|
|
15
|
+
- ​<!-- 12 -->[Grid] Fix support for CSS variables (#42574) @oliviertassinari
|
|
16
|
+
- ​<!-- 11 -->[InputBase] Use `globalCss` for Pigment integration (#42431) @siriwatknp
|
|
17
|
+
- ​<!-- 10 -->Change React.ReactElement type from `any` to `unknown` (#42473) @sai6855
|
|
18
|
+
- ​<!-- 09 -->Integrate `extendSxProp` adapter (#42543) @siriwatknp
|
|
19
|
+
- ​<!-- 08 -->[Tab] Fix applying `iconWrapper` styles from theme and update its description (#42549) @sai6855
|
|
20
|
+
- ​<!-- 08 -->[pigment-css] Add `stringifyTheme` for Pigment CSS integration (#42476) @siriwatknp
|
|
21
|
+
|
|
22
|
+
### `@mui/system@6.0.0-alpha.11`
|
|
23
|
+
|
|
24
|
+
- ​<!-- 11 -->[Grid] Remove `disableEqualOverflow` by using `gap` (#42526) @DiegoAndai
|
|
25
|
+
- ​<!-- 07 -->[useMediaQuery] Drop Safari < 14 support (#42464) @aarongarciah
|
|
26
|
+
|
|
27
|
+
### `@mui/utils@6.0.0-alpha.11`
|
|
28
|
+
|
|
29
|
+
- ​<!-- 04 -->Allow passing `NaN` as `defaultValue` to `useControlled` (#41559) @iammminzzy
|
|
30
|
+
|
|
31
|
+
### `@mui/codemod@6.0.0-alpha.11`
|
|
32
|
+
|
|
33
|
+
- ​<!-- 39 -->Improve styled and sx prop transformation (#42598) @siriwatknp
|
|
34
|
+
- ​<!-- 36 -->Support more cases for sx-prop transformation (#42527) @siriwatknp
|
|
35
|
+
|
|
36
|
+
### `@mui/private-theming@6.0.0-alpha.11`
|
|
37
|
+
|
|
38
|
+
- ​<!-- 09 -->Fix issues reported by react compiler in `mui-private-theming` components (#42619) @sai6855
|
|
39
|
+
|
|
40
|
+
### Docs
|
|
41
|
+
|
|
42
|
+
- ​<!-- 31 -->Add `theme.applyStyles` and migrate docs (#42498) @siriwatknp
|
|
43
|
+
- ​<!-- 29 -->Fix dashboard template console error (#42594) @oliviertassinari
|
|
44
|
+
- ​<!-- 28 -->Migrate system props to `sx` prop (#42475) @siriwatknp
|
|
45
|
+
- ​<!-- 27 -->[material-ui]Fix duplicated sentence (#42521) @alexfauquette
|
|
46
|
+
- ​<!-- 22 -->[Grid] Fix docs spacing (#42573) @oliviertassinari
|
|
47
|
+
- ​<!-- 21 -->[joy-ui] Add Next.js App Router instructions on how to prevent flickering (#42514) @devnyxie
|
|
48
|
+
- ​<!-- 20 -->[joy-ui] Fix HTML tag without preformatting (#42525) @jacobmoshipco
|
|
49
|
+
- ​<!-- 19 -->[material-ui] Add docs for complementary stepper components (#41900) @anle9650
|
|
50
|
+
- ​<!-- 18 -->[material-ui] Fix typo on Sign-in/Sign-up templates (#42605) @zanivan
|
|
51
|
+
- ​<!-- 17 -->[material-ui] Add container queries docs (#42434) @siriwatknp
|
|
52
|
+
- ​<!-- 16 -->[material-ui] Fix ESLint error in Stepper demo (#42559) @aarongarciah
|
|
53
|
+
- ​<!-- 15 -->[material-ui] Shorten useMediaQuery subheading (#42561) @aarongarciah
|
|
54
|
+
- ​<!-- 14 -->[material-ui] Add a Refine example project (#42461) @necatiozmen
|
|
55
|
+
|
|
56
|
+
### Core
|
|
57
|
+
|
|
58
|
+
- ​<!-- 39 -->[website] Move the `React Engineer - X` role to future roles (#42532) @DanailH
|
|
59
|
+
- ​<!-- 35 -->[core] Allow `for..of` loops (#42600) @michaldudak
|
|
60
|
+
- ​<!-- 34 -->[core] Add comment about Object.js @oliviertassinari
|
|
61
|
+
- ​<!-- 33 -->[core] Disable eslint-plugin-react-compiler for Base (#42563) @aarongarciah
|
|
62
|
+
- ​<!-- 33 -->[core] Group Pigment CSS dependencies (#42174) @siriwatknp
|
|
63
|
+
- ​<!-- 32 -->[core] Configure eslint-plugin-react-compiler (#42555) @aarongarciah
|
|
64
|
+
- ​<!-- 31 -->[core] Skip charts animation for visual regression test (#42530) @alexfauquette
|
|
65
|
+
- ​<!-- 26 -->[docs-infra] Simplify click header (#42593) @oliviertassinari
|
|
66
|
+
- ​<!-- 25 -->[docs-infra] Add configurable jsdoc host variable (#42472) @tonygravell
|
|
67
|
+
- ​<!-- 25 -->[docs-infra] Add the Base UI logo with copy functionality (#42446) @danilo-leal
|
|
68
|
+
- ​<!-- 24 -->[docs-infra] Prevent link anchor when selecting text (#41994) @alexfauquette
|
|
69
|
+
- ​<!-- 23 -->[docs-infra] Add the Base UI logo with copy functionality (#42446) @danilo-leal
|
|
70
|
+
- ​<!-- 13 -->[examples] Remove Pigment CSS examples (#42471) @sai6855
|
|
71
|
+
- ​<!-- 06 -->[test] Restore pnpm tc command (#42572) @oliviertassinari
|
|
72
|
+
- ​<!-- 05 -->[test] Restore testing internal packages (#42519) @michaldudak
|
|
73
|
+
- ​<!-- 03 -->[website] Close Developer Advocate / Content Engineer role @oliviertassinari
|
|
74
|
+
- ​<!-- 02 -->[website] Remove blank line @oliviertassinari
|
|
75
|
+
- ​<!-- 01 -->[website] Fix mobile layout shift @oliviertassinari
|
|
76
|
+
|
|
77
|
+
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
|
|
78
|
+
|
|
79
|
+
## v6.0.0-alpha.10
|
|
80
|
+
|
|
81
|
+
<!-- generated comparing v6.0.0-alpha.9..next -->
|
|
82
|
+
|
|
83
|
+
_Jun 4, 2024_
|
|
84
|
+
|
|
85
|
+
A big thanks to the 7 contributors who made this release possible.
|
|
86
|
+
|
|
87
|
+
### `@mui/material@6.0.0-alpha.10`
|
|
88
|
+
|
|
89
|
+
- ​<!-- 26 -->[Backdrop] Deprecate `components` and `componentsProps` (#42468) @DiegoAndai
|
|
90
|
+
- ​<!-- 25 -->[Collapse] Bound max transition time (#42390) @oliviertassinari
|
|
91
|
+
- ​<!-- 12 -->[FilledInput] Remove unapplied classes from filledInputClasses interface and add missing classes to root (#42082) @sai6855
|
|
92
|
+
- ​<!-- 11 -->[InputBase] Deprecate components and componentProps props for v6 (#42093) @ChronicusUA
|
|
93
|
+
- ​<!-- 10 -->Remove remaining IE11 code (#42283) @DiegoAndai
|
|
94
|
+
- ​<!-- 09 -->[Modal] Deprecate `components` and `componentsProps` (#42469) @DiegoAndai
|
|
95
|
+
- ​<!-- 08 -->[Popover] Migrate useSlotProps to useSlot (#42369) @sai6855
|
|
96
|
+
- ​<!-- 07 -->[useMediaQuery] Remove unused useMediaQueryTheme (#42367) @aarongarciah
|
|
97
|
+
|
|
98
|
+
### `@mui/system@6.0.0-alpha.10`
|
|
99
|
+
|
|
100
|
+
- ​<!-- 06 -->Remove IE11 code (#42436) @DiegoAndai
|
|
101
|
+
|
|
102
|
+
### Docs
|
|
103
|
+
|
|
104
|
+
- ​<!-- 23 -->Reflect Base UI and MUI System in a different repository @oliviertassinari
|
|
105
|
+
- ​<!-- 22 -->Update twitter.com to x.com @oliviertassinari
|
|
106
|
+
- ​<!-- 21 -->Simplify Example projects page @oliviertassinari
|
|
107
|
+
- ​<!-- 17 -->[icons] Update README and docs page (#41938) @danilo-leal
|
|
108
|
+
- ​<!-- 16 -->[material-ui] Add changelog section to the design kits page (#42449) @danilo-leal
|
|
109
|
+
- ​<!-- 15 -->[material-ui] Fix sentence in the All components page (#42336) @danilo-leal
|
|
110
|
+
- ​<!-- 14 -->[material-ui] Update Figma design kit doc redirect link (#42448) @danilo-leal
|
|
111
|
+
- ​<!-- 13 -->[system] Add "dynamic values" section to sx prop page (#42239) @aarongarciah
|
|
112
|
+
|
|
113
|
+
### Core
|
|
114
|
+
|
|
115
|
+
- ​<!-- 20 -->[docs-infra] Update the OG card image design (#42470) @danilo-leal
|
|
116
|
+
- ​<!-- 19 -->[docs-infra] Add small design polish (#42455) @danilo-leal
|
|
117
|
+
- ​<!-- 18 -->[docs-infra] Update the Material logo + add copy functionality (#42435) @danilo-leal
|
|
118
|
+
- ​<!-- 05 -->[website] Update DoiT description and link in Sponsors section (#42505) @erezstmn-doit
|
|
119
|
+
- ​<!-- 04 -->[website] Clean up the docs-infra job ad (#42504) @danilo-leal
|
|
120
|
+
- ​<!-- 03 -->[website] Fix FlashCode position (#42139) @oliviertassinari
|
|
121
|
+
- ​<!-- 02 -->[website] Open Docs-infra engineer role (#42101) @danilo-leal
|
|
122
|
+
- ​<!-- 01 -->[website] Fix locationCountry in about page @oliviertassinari
|
|
123
|
+
|
|
124
|
+
All contributors of this release in alphabetical order: @aarongarciah, @ChronicusUA, @danilo-leal, @DiegoAndai, @erezstmn-doit, @oliviertassinari, @sai6855
|
|
125
|
+
|
|
126
|
+
## v6.0.0-alpha.9
|
|
127
|
+
|
|
128
|
+
<!-- generated comparing v6.0.0-alpha.8..next -->
|
|
129
|
+
|
|
130
|
+
_May 29, 2024_
|
|
131
|
+
|
|
132
|
+
A big thanks to the 23 contributors who made this release possible. Here are some highlights ✨:
|
|
133
|
+
|
|
134
|
+
- 🚀 `CssVarsProvider` and `extendTheme` are now stable (#42246) @siriwatknp
|
|
135
|
+
|
|
136
|
+
### `@mui/material@6.0.0-alpha.9`
|
|
137
|
+
|
|
138
|
+
- ​<!-- 49 -->[AlertTitle] Enable extending Typography props (#42269) @lucasgmelo
|
|
139
|
+
- ​<!-- 48 -->[AvatarGroup] deprecate `componentsProps` for v6 (#42122) @lhilgert9
|
|
140
|
+
- ​<!-- 15 -->[Grid] Deprecate `wrap` prop (#42363) @fedirjh
|
|
141
|
+
- ​<!-- 14 -->[ListItem] Document `*Component` and `*Props` props deprecations (#42263) @aarongarciah
|
|
142
|
+
- ​<!-- 13 -->[ListItem] Deprecate ListItem's components and componentsProps (#42219) @aarongarciah
|
|
143
|
+
- ​<!-- 12 -->[ListItemSecondaryAction] Deprecate component (#42251) @aarongarciah
|
|
144
|
+
- ​<!-- 11 -->Stabilize `CssVarsProvider` and `extendTheme` (#42246) @siriwatknp
|
|
145
|
+
- ​<!-- 10 -->[Popper] Deprecate components and componentProps props for v6 (#42111) @ChronicusUA
|
|
146
|
+
- ​<!-- 09 -->[responsiveFontSizes] Handled undefined variants (#42412) @brijeshb42
|
|
147
|
+
- ​<!-- 08 -->[Slider] Fix wrong CSS value (#42370) @mnajdova
|
|
148
|
+
- ​<!-- 07 -->[Tooltip] Deprecate components and componentProps props for v6 (#42107) @ChronicusUA
|
|
149
|
+
|
|
150
|
+
### `@mui/system@6.0.0-alpha.9`
|
|
151
|
+
|
|
152
|
+
- ​<!-- 34 -->[createStyled] Intercept `ownerState` coming from `props` and `ownerState` (#42358) @DiegoAndai
|
|
153
|
+
|
|
154
|
+
### `@mui/codemod@6.0.0-alpha.9`
|
|
155
|
+
|
|
156
|
+
- ​<!-- 41 -->Add `sx` prop for v6 migration (#42153) @siriwatknp
|
|
157
|
+
- ​<!-- 40 -->Add codemod for removing system props (#42282) @siriwatknp
|
|
158
|
+
|
|
159
|
+
### Docs
|
|
160
|
+
|
|
161
|
+
- ​<!-- 33 -->Remove unused images (#42324) @danilo-leal
|
|
162
|
+
- ​<!-- 32 -->Add Pigment CSS and Base UI logos SVGs (#42322) @danilo-leal
|
|
163
|
+
- ​<!-- 22 -->[joy-ui] Fix template responsiveness (#42422) @j4marcos
|
|
164
|
+
- ​<!-- 21 -->[material-ui] Add the Pashto locale (#42244) @sayoubiaf
|
|
165
|
+
- ​<!-- 20 -->[material-ui] Remove duplicate Design Kits page (#42338) @danilo-leal
|
|
166
|
+
- ​<!-- 19 -->[material-ui] Document callback to access theme in GlobalStyles (#42257) @aarongarciah
|
|
167
|
+
- ​<!-- 18 -->[material-ui] Add minor modifications to the Vertical stepper demo (#42342) @mihilt
|
|
168
|
+
- ​<!-- 17 -->[material-ui][Tabs] Improve the Basic Tabs demo (#42374) @MatheusEli
|
|
169
|
+
- ​<!-- 16 -->[pigment-css] Polish redirection mention @oliviertassinari
|
|
170
|
+
|
|
171
|
+
### Core
|
|
172
|
+
|
|
173
|
+
- ​<!-- 47 -->[blog] Add fixes and clean ups to the Blog page (#42311) @danilo-leal
|
|
174
|
+
- ​<!-- 46 -->[blog] Add the "Product" tag to the Pigment CSS post (#42365) @danilo-leal
|
|
175
|
+
- ​<!-- 45 -->[code-infra] Simplify .stylelintrc.js @oliviertassinari
|
|
176
|
+
- ​<!-- 44 -->[code-infra] Fix stylelint locally (#42411) @oliviertassinari
|
|
177
|
+
- ​<!-- 43 -->[code-infra] Run corepack enable on all CI jobs (#42331) @Janpot
|
|
178
|
+
- ​<!-- 42 -->[code-infra] Create examples eslint rule (#42170) @oliviertassinari
|
|
179
|
+
- ​<!-- 39 -->[core] Apply React 19 type changes that don't require upcoming `@types/` packages (#42346) @DiegoAndai
|
|
180
|
+
- ​<!-- 38 -->[core] Remove `react-swipeable-views-utils` package from docs (#42378) @ZeeshanTamboli
|
|
181
|
+
- ​<!-- 37 -->[core] Update `@testing-library/react` and `@testing-library/dom` packages (#42349) @ZeeshanTamboli
|
|
182
|
+
- ​<!-- 36 -->[core] Remove `@types/prettier` package (#42339) @ZeeshanTamboli
|
|
183
|
+
- ​<!-- 35 -->[core] Remove `WyW-in-JS` from Renovate config (#42335) @ZeeshanTamboli
|
|
184
|
+
- ​<!-- 31 -->[docs-infra] Split feedback channels per product (#42413) @alexfauquette
|
|
185
|
+
- ​<!-- 30 -->[docs-infra] Avoid cryptic errors when tests don't exist (#42356) @Janpot
|
|
186
|
+
- ​<!-- 29 -->[docs-infra] Make menu styles consistent (#42387) @danilo-leal
|
|
187
|
+
- ​<!-- 28 -->[docs-infra] Display deprecation messages in API pages (#42352) @aarongarciah
|
|
188
|
+
- ​<!-- 27 -->[docs-infra] Standardize API pages Alert styles (#42386) @danilo-leal
|
|
189
|
+
- ​<!-- 26 -->[docs-infra] Fix Toolpad Core API links (#42362) @apedroferreira
|
|
190
|
+
- ​<!-- 25 -->[docs-infra] Tigthen up the header design (#42180) @danilo-leal
|
|
191
|
+
- ​<!-- 24 -->[docs-infra] Add Toolpad to muiNpmOrgs for codesandbox demos (#42316) @Janpot
|
|
192
|
+
- ​<!-- 23 -->[docs-infra] Allow JSDoc tags (#42337) @aarongarciah
|
|
193
|
+
- ​<!-- 06 -->[test] Remove `userAgent` override in `jsdom` env (#42344) @cherniavskii
|
|
194
|
+
- ​<!-- 05 -->[utils] Fix GitHub-reported prototype pollution vulnerability in `deepmerge` (#41652) @tjcouch-sil
|
|
195
|
+
- ​<!-- 04 -->[website] Add Nikita to the about page (#42418) @nikitaa24
|
|
196
|
+
- ​<!-- 03 -->[website] Fix hero spacing changes applying at the wrong breakpoint (#42341) @KenanYusuf
|
|
197
|
+
- ​<!-- 02 -->[website] Adds Kenan Yusuf to about page (#42317) @KenanYusuf
|
|
198
|
+
- ​<!-- 01 -->[website] Improve about page @oliviertassinari
|
|
199
|
+
|
|
200
|
+
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
|
|
201
|
+
|
|
202
|
+
## v6.0.0-alpha.8
|
|
203
|
+
|
|
204
|
+
<!-- generated comparing v6.0.0-alpha.7..next -->
|
|
205
|
+
|
|
206
|
+
_May 21, 2024_
|
|
207
|
+
|
|
208
|
+
A big thanks to the 7 contributors who made this release possible.
|
|
209
|
+
This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
|
|
210
|
+
|
|
211
|
+
### `@mui/material@6.0.0-alpha.7`
|
|
212
|
+
|
|
213
|
+
- ​<!-- 04 -->[material-ui] Filter only valid theme palette for generating styles (#42147) @siriwatknp
|
|
214
|
+
- ​<!-- 03 -->[material-ui] Remove UMD bundle (#42172) @ZeeshanTamboli
|
|
215
|
+
- ​<!-- 02 -->[material-ui][TextField] Deprecate `*Props` props (#42062) @DiegoAndai
|
|
216
|
+
|
|
217
|
+
### Docs
|
|
218
|
+
|
|
219
|
+
- ​<!-- 08 -->[docs] Remove Base UI from the README (#42307) @danilo-leal
|
|
220
|
+
- ​<!-- 07 -->[docs][material-ui] Fix typo in style interoperability with Tailwind CSS docs (#42279) @ZeeshanTamboli
|
|
221
|
+
- ​<!-- 06 -->[docs][material-ui] Add supported browsers section to migration guide (#42194) @DiegoAndai
|
|
222
|
+
- ​<!-- 05 -->[docs][material-ui][Pagination] Clarify pagination `page` prop API (#42220) @Mandar-Pandya
|
|
223
|
+
|
|
224
|
+
### Core
|
|
225
|
+
|
|
226
|
+
- ​<!-- 12 -->[blog] Update blog post OG image (#42270) @danilo-leal
|
|
227
|
+
- ​<!-- 11 -->[blog] Update Pigment CSS post (#42266) @danilo-leal
|
|
228
|
+
- ​<!-- 10 -->[docs] Remove LocalMonero (#42224) @oliviertassinari
|
|
229
|
+
- ​<!-- 08 -->[docs-infra] Fix keyboard navigation on page tabs (#42152) @danilo-leal
|
|
230
|
+
- ​<!-- 10 -->[code-infra] Remove raw-loader (#42275) @Janpot
|
|
231
|
+
- ​<!-- 09 -->[core] Remove outdated Babel plugins (#42140) @ZeeshanTamboli
|
|
232
|
+
- ​<!-- 12 -->[core] Fix a few more key spread issues (#42168) @oliviertassinari
|
|
233
|
+
- ​<!-- 01 -->[website] Avoid duplicate simple vs. rich (#42100) @oliviertassinari
|
|
234
|
+
|
|
235
|
+
All contributors of this release in alphabetical order: @danilo-leal, @DiegoAndai, @Janpot, @Mandar-Pandya, @oliviertassinari, @siriwatknp, @ZeeshanTamboli
|
|
236
|
+
|
|
3
237
|
## v6.0.0-alpha.7
|
|
4
238
|
|
|
5
239
|
<!-- generated comparing v6.0.0-alpha.6..next -->
|
|
@@ -53,7 +287,7 @@ All contributors of this release in alphabetical order: @aarongarciah, @alexfauq
|
|
|
53
287
|
|
|
54
288
|
_May 8, 2024_
|
|
55
289
|
|
|
56
|
-
A big thanks to the 10 contributors who made this release possible.
|
|
290
|
+
A big thanks to the 10 contributors who made this release possible.
|
|
57
291
|
|
|
58
292
|
### `@mui/material@6.0.0-alpha.6`
|
|
59
293
|
|
|
@@ -101,7 +335,7 @@ All contributors of this release in alphabetical order: @aarongarciah, @danilo-l
|
|
|
101
335
|
|
|
102
336
|
_May 1, 2024_
|
|
103
337
|
|
|
104
|
-
A big thanks to the 9 contributors who made this release possible.
|
|
338
|
+
A big thanks to the 9 contributors who made this release possible.
|
|
105
339
|
|
|
106
340
|
### `@mui/material@6.0.0-alpha.5`
|
|
107
341
|
|
|
@@ -8695,7 +8929,7 @@ A big thanks to the 15 contributors who made this release possible. Here are som
|
|
|
8695
8929
|
|
|
8696
8930
|
- ​<!-- 27 -->[core] Rename mui/core to mui/base (#29585) @michaldudak
|
|
8697
8931
|
|
|
8698
|
-
Based on the results of the [poll](https://
|
|
8932
|
+
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
8933
|
|
|
8700
8934
|
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
8935
|
|
|
@@ -13112,7 +13346,7 @@ A big thanks to the 34 contributors who made this release possible. Here are som
|
|
|
13112
13346
|
```
|
|
13113
13347
|
|
|
13114
13348
|
- [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://
|
|
13349
|
+
There are a couple of simpler alternatives: `open={true}`, Chrome devtools ["Emulate focused"](https://x.com/sulco/status/1305841873945272321), or React devtools props.
|
|
13116
13350
|
|
|
13117
13351
|
#### Changes
|
|
13118
13352
|
|
|
@@ -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.11",
|
|
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": "^6.0.0-alpha.
|
|
35
|
+
"@mui/material": "^6.0.0-alpha.11"
|
|
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
|
}
|