@mui/material-nextjs 6.4.3 → 6.4.12

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
@@ -1,5 +1,275 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 6.4.12
4
+
5
+ <!-- generated comparing v6.4.11..v6.x -->
6
+
7
+ _May 30, 2025_
8
+
9
+ A big thanks to the 7 contributors who made this release possible.
10
+
11
+ ### `@mui/material@6.4.12`
12
+
13
+ - [Badge] Replace useSlotProps with useSlot hook (#45876) @sai6855
14
+ - [BottomNavigationAction] Add slots and slotProps (#45875) @sai6855
15
+ - [CardActionArea] Add slots and slotProps (#45877) @sai6855
16
+ - [OutlinedInput] Add missing `notchedOutline` slot (#45938) @siriwatknp
17
+ - [useMediaQuery] Add warning and docs for using `useMediaQuery('print')` (#45886) @good-jinu
18
+ - Fix theme object changes between renders (#45874) @siriwatknp
19
+
20
+ ### `@mui/material-nextjs@6.4.12`
21
+
22
+ - Do not wrap `@layer` order rules in App Router (#45870) @Nayeem-XTREME
23
+
24
+ ### `@mui/system@6.4.12`
25
+
26
+ - Skip styled component from being transformed (#46184) @siriwatknp
27
+
28
+ ### Docs
29
+
30
+ - [Dialog] Remove deprecated props usage in demos (#45928) @sai6855
31
+ - [Grid] Update grid migration guide (#46153) @sai6855
32
+ - [Menu] Update `paper` slot JSDoc default from `Paper` to `PopoverPaper` (@andreachiera) (#45865) @andreachiera
33
+ - Update CSS variable usage in migration guide for Pigment CSS (#46038) @sai6855
34
+ - Remove outdated StackOverflow tag (9b9f96b) @oliviertassinari
35
+ - Update `@mui/icons-material` install command to use 6.x version (#45810) @Nickknack
36
+ - Add AccordionSummary to the breaking change migration (#45973) @siriwatknp
37
+
38
+ All contributors of this release in alphabetical order: @andreachiera, @good-jinu, @Nayeem-XTREME, @Nickknack, @oliviertassinari, @sai6855, @siriwatknp
39
+
40
+ ## 6.4.11
41
+
42
+ _Apr 9, 2025_
43
+
44
+ A big thanks to the 3 contributors who made this release possible.
45
+
46
+ ### `@mui/material@6.4.11`
47
+
48
+ - [AvatarGroup] Fix `spacing` prop ignoring value `0` (#45845) @Kartik-Murthy
49
+ - [Dialog] Deprecate composed classes (#45814) @sai6855
50
+
51
+ ### `@mui/styled-engine@6.4.11`
52
+
53
+ - Add caching to improve performance for running tests with Jest (#45855) @siriwatknp
54
+
55
+ ### Docs
56
+
57
+ - Add missing v7 docs banner (#45842) @DiegoAndai
58
+ - Add v7 is here banner (#45838) @DiegoAndai
59
+ - Fix lab version install instructions (#45770) @DiegoAndai
60
+
61
+ All contributors of this release in alphabetical order: @DiegoAndai, @Kartik-Murthy, @sai6855
62
+
63
+ ## 6.4.10
64
+
65
+ <!-- generated comparing v6.4.9..v6.x -->
66
+
67
+ _Mar 31, 2025_
68
+
69
+ A big thanks to the 4 contributors who made this release possible.
70
+
71
+ ### `@mui/material@6.4.10`
72
+
73
+ - [Autocomplete] Prevent shrink animation in controlled Autocomplete when initial `value` is provided (#45735) @imadx
74
+ - [Popover] Allow `null` in `anchorEl` function return type (#45723) @eduter
75
+
76
+ ### Docs
77
+
78
+ - Fix new React project link, CRA deprecated (#45669) @oliviertassinari
79
+
80
+ ### Core
81
+
82
+ - [utils] Support cleanup callbacks in useForkRef (#45733) @DiegoAndai
83
+
84
+ All contributors of this release in alphabetical order: @DiegoAndai, @eduter, @imadx, @oliviertassinari
85
+
86
+ ## 6.4.9
87
+
88
+ <!-- generated comparing v6.4.8..v6.x -->
89
+
90
+ _Mar 25, 2025_
91
+
92
+ A big thanks to the 7 contributors who made this release possible.
93
+
94
+ ### `@mui/material@6.4.9`
95
+
96
+ - [Autocomplete] Fix when `onHighlightChange` is called (@ZeeshanTamboli) (#45635) @ZeeshanTamboli
97
+ - [StepLabel] Add missing root slot (#45607) @sai6855
98
+ - [Switch] Add slots and slotProps (#45628) @siriwatknp
99
+ - [TextField] Add `root` slot (#45616) @sai6855
100
+ - [Tabs] Fix modifier keys + Left/Right Arrow key from being consumed by tab navigation (#45620) @mushfiqbh
101
+
102
+ ### `@mui/codemon@6.4.9`
103
+
104
+ - Add missing deprecations in deprecations-all file (#45508) @sai6855
105
+
106
+ ### Docs
107
+
108
+ - [docs] Fix grammatical errors in support.md (#45636) @letianpailove
109
+ - [docs] Restore utility component docs from MUI Base to Material UI (#45240) @mapache-salvaje
110
+
111
+ ### Core
112
+
113
+ - [core] Prepare v6 branch for v7 stable release (#45668) @DiegoAndai
114
+
115
+ All contributors of this release in alphabetical order: @DiegoAndai, @letianpailove, @mapache-salvaje, @mushfiqbh, @sai6855, @siriwatknp, @ZeeshanTamboli
116
+
117
+ ## 6.4.8
118
+
119
+ <!-- generated comparing v6.4.7..v6.x -->
120
+
121
+ _Mar 14, 2025_
122
+
123
+ A big thanks to the 9 contributors who made this release possible.
124
+
125
+ ### `@mui/material@6.4.8`
126
+
127
+ - [ListItemText] Add missing `root` slot (#45552) @sai6855
128
+ - [SpeedDial] Add missing `root` slot (#45551) @sai6855
129
+ - [Tooltip] Allow auto placement on tooltip (#45536) @Jtaks
130
+ - [useScrollTrigger] Do nothing if target is null (#45553) @vipierozan99
131
+ - [Accordion] Add missing `root` slot (#45534) @sai6855
132
+ - [AccordionSummary] Add slots and slotProps (#45560) @sai6855
133
+ - [TextareaAutosize] Fix ResizeObserver causing infinite `selectionchange` loop (#45351) (#45498) @mj12albert
134
+
135
+ ### `@mui/styled-engine@6.4.8`
136
+
137
+ - Add `enableCssLayer` prop to StyledEngineProvider (#45563) @siriwatknp
138
+
139
+ ### `@mui/system@6.4.8`
140
+
141
+ - [system] Prevent nested non-vars theme inheritance (#45564) @siriwatknp
142
+
143
+ ### `@mui/utils@6.4.8`
144
+
145
+ - Use correct iri-reference homepage format (#45511) @dahiro
146
+
147
+ ### Core
148
+
149
+ - [test] Fix React 18 tests (#45161) (#45496) @DiegoAndai
150
+
151
+ ### Docs
152
+
153
+ - [Backdrop] Fix component name in migration guide (#45507) @sai6855
154
+ - Fix broken links to MUI X docs (cherry-pick of #45145) (#45481) @mapache-salvaje
155
+ - [examples] Fix the invalid argument to extract examples (#45493) @ovtn
156
+ - Add `overriding-component-structure` doc to Material UI (#45570) @siriwatknp
157
+
158
+ All contributors of this release in alphabetical order: @dahiro, @DiegoAndai, @Jtaks, @mapache-salvaje, @mj12albert, @ovtn, @sai6855, @siriwatknp, @vipierozan99
159
+
160
+ ## 6.4.7
161
+
162
+ <!-- generated comparing v6.4.6..v6.x -->
163
+
164
+ _Mar 5, 2025_
165
+
166
+ A big thanks to the 3 contributors who made this release possible.
167
+
168
+ ### `@mui/material@6.4.7`
169
+
170
+ - [ThemeProvider] Add `storageManager` prop to `ThemeProvider` (@siriwatknp) (#45437) @siriwatknp
171
+ - [Rating] Deprecate \*Props and complete slots, slotProps (#45295) (#45398) @DiegoAndai
172
+ - [Radio] Fix `inputProps` not forwarded (@siriwatknp) (#45475) @siriwatknp
173
+
174
+ ### Core
175
+
176
+ - [blog] React 19 migration for MUI X (#45440) @arminmeh
177
+
178
+ All contributors of this release in alphabetical order: @arminmeh, @DiegoAndai, @siriwatknp
179
+
180
+ ## 6.4.6
181
+
182
+ <!-- generated comparing v6.4.5..v6.x -->
183
+
184
+ _Feb 26, 2025_
185
+
186
+ A big thanks to the 4 contributors who made this release possible.
187
+
188
+ ### `@mui/material@6.4.6`
189
+
190
+ - [Checkbox] Add slots and slotProps (#45361) @siriwatknp
191
+ - [Drawer] Deprecate \*Props and complete `slots`, `slotProps` (#45377) @siriwatknp
192
+ - [Grid] Improve Grid2 upgrade experience (#45372) @DiegoAndai
193
+ - [InputBase] Deprecate composed classes (#45366) @siriwatknp
194
+ - Fix `slotProps.transition` types (#45367) @siriwatknp
195
+ - Allow nested theme creation with `vars` (#45368) @siriwatknp
196
+ - Fix wrong slotProps of DetailsHTMLAttributes types (#45356) @siriwatknp
197
+ - [Popover] Deprecate \*Props and complete `slots`, `slotProps` (#45337) @siriwatknp
198
+ - [Radio] Add slots and slotProps (#45364) @siriwatknp
199
+ - [Slider] Fix css class selector in migration guide (#45409) @sai6855
200
+ - [Slider] Fix spacings in .md files (#45393) @sai6855
201
+ - [Snackbar] Add Slots and SlotProps (#45103) (#45352) @siriwatknp
202
+ - [SpeedDialAction] Add slots and slotProps (#45365) @siriwatknp
203
+ - [SwitchBase] Deprecate `inputProps` and complete slots, slotProps (#45338) @siriwatknp
204
+ - [Tabs] Deprecate \*Props and complete slots, slotProps (#45012) (#45355) @siriwatknp
205
+ - [Menu] Deprecate \*Props and complete `slots`, `slotProps` (#45369) @siriwatknp
206
+
207
+ ### Docs
208
+
209
+ - [Autocomplete] Remove unnecessary renderTags prop from Sizes demo (#45403) @ZeeshanTamboli
210
+ - Fix typo in slider docs (#45392) @sai6855
211
+
212
+ ### Core
213
+
214
+ - [test] Remove unused renderTags prop and fix key warning in Autocomplete regression test (#45412) @ZeeshanTamboli
215
+
216
+ All contributors of this release in alphabetical order: @DiegoAndai, @sai6855, @siriwatknp, @ZeeshanTamboli
217
+
218
+ ## 6.4.5
219
+
220
+ <!-- generated comparing v6.4.4..v6.x -->
221
+
222
+ _Feb 18, 2025_
223
+
224
+ A big thanks to the 5 contributors who made this release possible.
225
+
226
+ ### `@mui/material@6.4.5`
227
+
228
+ - [Autocomplete] Remove legacy `aria-owns` attribute for combobox (#45303) @ZeeshanTamboli
229
+ - [Button] Apply id only if loading indicator is present (#45339) @aarongarciah
230
+
231
+ ### Docs
232
+
233
+ - [icons] Fix typo in material-icons.md (#45336) @a-s-russo
234
+ - [Menu] Add Grouped Menu demo (#45292) @noobDev31
235
+
236
+ ### Core
237
+
238
+ - [blog] Consistent Base UI terminology (#45342) @aarongarciah
239
+ - Fix double redirection to Base UI (#45146) @oliviertassinari
240
+
241
+ All contributors of this release in alphabetical order: @a-s-russo, @aarongarciah, @noobDev31, @oliviertassinari, @ZeeshanTamboli
242
+
243
+ ## 6.4.4
244
+
245
+ <!-- generated comparing v6.4.3..v6.x -->
246
+
247
+ _Feb 11, 2025_
248
+
249
+ A big thanks to the 3 contributors who made this release possible.
250
+
251
+ ### `@mui/material@6.4.4`
252
+
253
+ - [MobileStepper] deprecate `LinearProgressProps` and complete `slots`, `slotProps` (@siriwatknp) (#45242) @siriwatknp
254
+ - [Slider] Deprecate composed classes (@sai6855) (#45223) @sai6855
255
+ - [utils] Merge `sx` instead of override when using `mergeSlotProps` (#45129) @siriwatknp
256
+
257
+ ### Docs
258
+
259
+ - [Autocomplete] Improve Google Maps search example (#44708) @oliviertassinari
260
+ - [Dialog] Removes deprecated PaperProps from docs (#45217) @sai6855
261
+ - A quick first step to update docs for Tailwind v4 (#45221) @oliviertassinari
262
+
263
+ ### Core
264
+
265
+ - Fix missing store contributor renaming (527222d) @oliviertassinari
266
+ - Fix MUI Base vale rule (#45140) @oliviertassinari
267
+ - Fix 404 errors (#45137) @oliviertassinari
268
+ - [docs] Sync active sponsors (#45204) @oliviertassinari
269
+ - [docs-infra] Move Ukraine banner to the bottom (#45135) @oliviertassinari
270
+
271
+ All contributors of this release in alphabetical order: @oliviertassinari, @sai6855, @siriwatknp
272
+
3
273
  ## 6.4.3
4
274
 
5
275
  <!-- generated comparing v6.4.2..v6.x -->
@@ -26,7 +26,7 @@ export default function AppRouterCacheProvider(props) {
26
26
  let inserted = [];
27
27
  // Override the insert method to support streaming SSR with flush().
28
28
  cache.insert = (...args) => {
29
- if (options?.enableCssLayer) {
29
+ if (options?.enableCssLayer && !args[1].styles.startsWith('@layer')) {
30
30
  args[1].styles = `@layer mui {${args[1].styles}}`;
31
31
  }
32
32
  const [selector, serialized] = args;
@@ -33,7 +33,7 @@ function AppRouterCacheProvider(props) {
33
33
  let inserted = [];
34
34
  // Override the insert method to support streaming SSR with flush().
35
35
  cache.insert = (...args) => {
36
- if (options?.enableCssLayer) {
36
+ if (options?.enableCssLayer && !args[1].styles.startsWith('@layer')) {
37
37
  args[1].styles = `@layer mui {${args[1].styles}}`;
38
38
  }
39
39
  const [selector, serialized] = args;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/material-nextjs",
3
- "version": "6.4.3",
3
+ "version": "6.4.12",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "Collection of utilities for integration between Material UI and Next.js.",
@@ -26,7 +26,7 @@ export default function AppRouterCacheProvider(props) {
26
26
  let inserted = [];
27
27
  // Override the insert method to support streaming SSR with flush().
28
28
  cache.insert = (...args) => {
29
- if (options?.enableCssLayer) {
29
+ if (options?.enableCssLayer && !args[1].styles.startsWith('@layer')) {
30
30
  args[1].styles = `@layer mui {${args[1].styles}}`;
31
31
  }
32
32
  const [selector, serialized] = args;