@mui/private-theming 5.15.20 → 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 CHANGED
@@ -1,192 +1,704 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
- ## v5.15.20
3
+ ## v6.0.0-alpha.11
4
4
 
5
- <!-- generated comparing v5.15.19..master -->
5
+ <!-- generated comparing v6.0.0-alpha.10..next -->
6
6
 
7
- _Jun 12, 2024_
7
+ _Jun 11, 2024_
8
8
 
9
- A big thanks to the 9 contributors who made this release possible.
9
+ A big thanks to the 18 contributors who made this release possible.
10
+
11
+ ### `@mui/material@6.0.0-alpha.11`
12
+
13
+ - &#8203;<!-- 38 -->[Autocomplete] Shouldn't resize when hovering (#42452) @ZeeshanTamboli
14
+ - &#8203;<!-- 37 -->[Chip] Fix focus issue related with the Escape event (#41578) @shrilsharma
15
+ - &#8203;<!-- 12 -->[Grid] Fix support for CSS variables (#42574) @oliviertassinari
16
+ - &#8203;<!-- 11 -->[InputBase] Use `globalCss` for Pigment integration (#42431) @siriwatknp
17
+ - &#8203;<!-- 10 -->Change React.ReactElement type from `any` to `unknown` (#42473) @sai6855
18
+ - &#8203;<!-- 09 -->Integrate `extendSxProp` adapter (#42543) @siriwatknp
19
+ - &#8203;<!-- 08 -->[Tab] Fix applying `iconWrapper` styles from theme and update its description (#42549) @sai6855
20
+ - &#8203;<!-- 08 -->[pigment-css] Add `stringifyTheme` for Pigment CSS integration (#42476) @siriwatknp
21
+
22
+ ### `@mui/system@6.0.0-alpha.11`
23
+
24
+ - &#8203;<!-- 11 -->[Grid] Remove `disableEqualOverflow` by using `gap` (#42526) @DiegoAndai
25
+ - &#8203;<!-- 07 -->[useMediaQuery] Drop Safari < 14 support (#42464) @aarongarciah
26
+
27
+ ### `@mui/utils@6.0.0-alpha.11`
28
+
29
+ - &#8203;<!-- 04 -->Allow passing `NaN` as `defaultValue` to `useControlled` (#41559) @iammminzzy
30
+
31
+ ### `@mui/codemod@6.0.0-alpha.11`
32
+
33
+ - &#8203;<!-- 39 -->Improve styled and sx prop transformation (#42598) @siriwatknp
34
+ - &#8203;<!-- 36 -->Support more cases for sx-prop transformation (#42527) @siriwatknp
35
+
36
+ ### `@mui/private-theming@6.0.0-alpha.11`
37
+
38
+ - &#8203;<!-- 09 -->Fix issues reported by react compiler in `mui-private-theming` components (#42619) @sai6855
39
+
40
+ ### Docs
41
+
42
+ - &#8203;<!-- 31 -->Add `theme.applyStyles` and migrate docs (#42498) @siriwatknp
43
+ - &#8203;<!-- 29 -->Fix dashboard template console error (#42594) @oliviertassinari
44
+ - &#8203;<!-- 28 -->Migrate system props to `sx` prop (#42475) @siriwatknp
45
+ - &#8203;<!-- 27 -->[material-ui]Fix duplicated sentence (#42521) @alexfauquette
46
+ - &#8203;<!-- 22 -->[Grid] Fix docs spacing (#42573) @oliviertassinari
47
+ - &#8203;<!-- 21 -->[joy-ui] Add Next.js App Router instructions on how to prevent flickering (#42514) @devnyxie
48
+ - &#8203;<!-- 20 -->[joy-ui] Fix HTML tag without preformatting (#42525) @jacobmoshipco
49
+ - &#8203;<!-- 19 -->[material-ui] Add docs for complementary stepper components (#41900) @anle9650
50
+ - &#8203;<!-- 18 -->[material-ui] Fix typo on Sign-in/Sign-up templates (#42605) @zanivan
51
+ - &#8203;<!-- 17 -->[material-ui] Add container queries docs (#42434) @siriwatknp
52
+ - &#8203;<!-- 16 -->[material-ui] Fix ESLint error in Stepper demo (#42559) @aarongarciah
53
+ - &#8203;<!-- 15 -->[material-ui] Shorten useMediaQuery subheading (#42561) @aarongarciah
54
+ - &#8203;<!-- 14 -->[material-ui] Add a Refine example project (#42461) @necatiozmen
55
+
56
+ ### Core
57
+
58
+ - &#8203;<!-- 39 -->[website] Move the `React Engineer - X` role to future roles (#42532) @DanailH
59
+ - &#8203;<!-- 35 -->[core] Allow `for..of` loops (#42600) @michaldudak
60
+ - &#8203;<!-- 34 -->[core] Add comment about Object.js @oliviertassinari
61
+ - &#8203;<!-- 33 -->[core] Disable eslint-plugin-react-compiler for Base (#42563) @aarongarciah
62
+ - &#8203;<!-- 33 -->[core] Group Pigment CSS dependencies (#42174) @siriwatknp
63
+ - &#8203;<!-- 32 -->[core] Configure eslint-plugin-react-compiler (#42555) @aarongarciah
64
+ - &#8203;<!-- 31 -->[core] Skip charts animation for visual regression test (#42530) @alexfauquette
65
+ - &#8203;<!-- 26 -->[docs-infra] Simplify click header (#42593) @oliviertassinari
66
+ - &#8203;<!-- 25 -->[docs-infra] Add configurable jsdoc host variable (#42472) @tonygravell
67
+ - &#8203;<!-- 25 -->[docs-infra] Add the Base UI logo with copy functionality (#42446) @danilo-leal
68
+ - &#8203;<!-- 24 -->[docs-infra] Prevent link anchor when selecting text (#41994) @alexfauquette
69
+ - &#8203;<!-- 23 -->[docs-infra] Add the Base UI logo with copy functionality (#42446) @danilo-leal
70
+ - &#8203;<!-- 13 -->[examples] Remove Pigment CSS examples (#42471) @sai6855
71
+ - &#8203;<!-- 06 -->[test] Restore pnpm tc command (#42572) @oliviertassinari
72
+ - &#8203;<!-- 05 -->[test] Restore testing internal packages (#42519) @michaldudak
73
+ - &#8203;<!-- 03 -->[website] Close Developer Advocate / Content Engineer role @oliviertassinari
74
+ - &#8203;<!-- 02 -->[website] Remove blank line @oliviertassinari
75
+ - &#8203;<!-- 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 -->
10
82
 
11
- ### `@mui/material@5.15.20`
83
+ _Jun 4, 2024_
12
84
 
13
- - &#8203;<!-- 17 -->[Autocomplete] Shouldn't resize when hovering (@ZeeshanTamboli) (#42535) @ZeeshanTamboli
14
- - &#8203;<!-- 07 -->[Tab] Fix applying `iconWrapper` styles from theme and update its description (@sai6855) (#42570) @sai6855
85
+ A big thanks to the 7 contributors who made this release possible.
15
86
 
16
- ### `@mui/utils@5.15.15`
87
+ ### `@mui/material@6.0.0-alpha.10`
17
88
 
18
- - &#8203;<!-- 06 -->Allow passing `NaN` as `defaultValue` to `useControlled` (@iammminzzy) (#42571) @iammminzzy
19
- - &#8203;<!-- 17 -->Fix GitHub-reported prototype pollution vulnerability in `deepmerge` (#41652) (#42608) @DiegoAndai
89
+ - &#8203;<!-- 26 -->[Backdrop] Deprecate `components` and `componentsProps` (#42468) @DiegoAndai
90
+ - &#8203;<!-- 25 -->[Collapse] Bound max transition time (#42390) @oliviertassinari
91
+ - &#8203;<!-- 12 -->[FilledInput] Remove unapplied classes from filledInputClasses interface and add missing classes to root (#42082) @sai6855
92
+ - &#8203;<!-- 11 -->[InputBase] Deprecate components and componentProps props for v6 (#42093) @ChronicusUA
93
+ - &#8203;<!-- 10 -->Remove remaining IE11 code (#42283) @DiegoAndai
94
+ - &#8203;<!-- 09 -->[Modal] Deprecate `components` and `componentsProps` (#42469) @DiegoAndai
95
+ - &#8203;<!-- 08 -->[Popover] Migrate useSlotProps to useSlot (#42369) @sai6855
96
+ - &#8203;<!-- 07 -->[useMediaQuery] Remove unused useMediaQueryTheme (#42367) @aarongarciah
97
+
98
+ ### `@mui/system@6.0.0-alpha.10`
99
+
100
+ - &#8203;<!-- 06 -->Remove IE11 code (#42436) @DiegoAndai
20
101
 
21
102
  ### Docs
22
103
 
23
- - &#8203;<!-- 16 -->[docs] Add Pigment CSS and Base UI logos SVGs (#42513) @danilo-leal
24
- - &#8203;<!-- 15 -->[docs] Update twitter.com to x.com @oliviertassinari
25
- - &#8203;<!-- 14 -->[docs] Simplify Example projects page @oliviertassinari
26
- - &#8203;<!-- 13 -->[material-ui] Add docs for complementary stepper components (@anle9650) (#42613) @anle9650
27
- - &#8203;<!-- 12 -->[docs] Add changelog section to the design kits page (@danilo-leal) (#42463) @danilo-leal
28
- - &#8203;<!-- 11 -->[material-ui] Fix sentence in the All components page (@danilo-leal) (#42462) @danilo-leal
29
- - &#8203;<!-- 10 -->[material-ui] Update Figma design kit doc redirect link (@danilo-leal) (#42456) @danilo-leal
30
- - &#8203;<!-- 09 -->[system] Add "dynamic values" section to sx prop page (@aarongarciah) (#42453) @aarongarciah
104
+ - &#8203;<!-- 23 -->Reflect Base UI and MUI System in a different repository @oliviertassinari
105
+ - &#8203;<!-- 22 -->Update twitter.com to x.com @oliviertassinari
106
+ - &#8203;<!-- 21 -->Simplify Example projects page @oliviertassinari
107
+ - &#8203;<!-- 17 -->[icons] Update README and docs page (#41938) @danilo-leal
108
+ - &#8203;<!-- 16 -->[material-ui] Add changelog section to the design kits page (#42449) @danilo-leal
109
+ - &#8203;<!-- 15 -->[material-ui] Fix sentence in the All components page (#42336) @danilo-leal
110
+ - &#8203;<!-- 14 -->[material-ui] Update Figma design kit doc redirect link (#42448) @danilo-leal
111
+ - &#8203;<!-- 13 -->[system] Add "dynamic values" section to sx prop page (#42239) @aarongarciah
31
112
 
32
113
  ### Core
33
114
 
34
- - &#8203;<!-- 18 -->[website] Move the `React Engineer - X` role to future roles (#42532) @DanailH
35
- - &#8203;<!-- 08 -->[examples] Remove Pigment CSS examples (#42538) @sai6855
36
- - &#8203;<!-- 05 -->[website] Close Developer Advocate / Content Engineer role @oliviertassinari
37
- - &#8203;<!-- 04 -->[website] Update DoiT description and link in Sponsors section (@erezstmn-doit) (#42511) @erezstmn-doit
38
- - &#8203;<!-- 03 -->[website] Clean up the docs-infra job ad (@danilo-leal) (#42509) @danilo-leal
39
- - &#8203;<!-- 02 -->[website] Open the Docs-infra engineer role (@danilo-leal) (#42496) @danilo-leal
115
+ - &#8203;<!-- 20 -->[docs-infra] Update the OG card image design (#42470) @danilo-leal
116
+ - &#8203;<!-- 19 -->[docs-infra] Add small design polish (#42455) @danilo-leal
117
+ - &#8203;<!-- 18 -->[docs-infra] Update the Material logo + add copy functionality (#42435) @danilo-leal
118
+ - &#8203;<!-- 05 -->[website] Update DoiT description and link in Sponsors section (#42505) @erezstmn-doit
119
+ - &#8203;<!-- 04 -->[website] Clean up the docs-infra job ad (#42504) @danilo-leal
120
+ - &#8203;<!-- 03 -->[website] Fix FlashCode position (#42139) @oliviertassinari
121
+ - &#8203;<!-- 02 -->[website] Open Docs-infra engineer role (#42101) @danilo-leal
40
122
  - &#8203;<!-- 01 -->[website] Fix locationCountry in about page @oliviertassinari
41
123
 
42
- All contributors of this release in alphabetical order: @aarongarciah, @anle9650, @DanailH, @danilo-leal, @erezstmn-doit, @iammminzzy, @oliviertassinari, @sai6855, @ZeeshanTamboli
124
+ All contributors of this release in alphabetical order: @aarongarciah, @ChronicusUA, @danilo-leal, @DiegoAndai, @erezstmn-doit, @oliviertassinari, @sai6855
43
125
 
44
- ## v5.15.19
126
+ ## v6.0.0-alpha.9
45
127
 
46
- <!-- generated comparing v5.15.18..master -->
128
+ <!-- generated comparing v6.0.0-alpha.8..next -->
47
129
 
48
130
  _May 29, 2024_
49
131
 
50
- A big thanks to the 12 contributors who made this release possible.
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
+ - &#8203;<!-- 49 -->[AlertTitle] Enable extending Typography props (#42269) @lucasgmelo
139
+ - &#8203;<!-- 48 -->[AvatarGroup] deprecate `componentsProps` for v6 (#42122) @lhilgert9
140
+ - &#8203;<!-- 15 -->[Grid] Deprecate `wrap` prop (#42363) @fedirjh
141
+ - &#8203;<!-- 14 -->[ListItem] Document `*Component` and `*Props` props deprecations (#42263) @aarongarciah
142
+ - &#8203;<!-- 13 -->[ListItem] Deprecate ListItem's components and componentsProps (#42219) @aarongarciah
143
+ - &#8203;<!-- 12 -->[ListItemSecondaryAction] Deprecate component (#42251) @aarongarciah
144
+ - &#8203;<!-- 11 -->Stabilize `CssVarsProvider` and `extendTheme` (#42246) @siriwatknp
145
+ - &#8203;<!-- 10 -->[Popper] Deprecate components and componentProps props for v6 (#42111) @ChronicusUA
146
+ - &#8203;<!-- 09 -->[responsiveFontSizes] Handled undefined variants (#42412) @brijeshb42
147
+ - &#8203;<!-- 08 -->[Slider] Fix wrong CSS value (#42370) @mnajdova
148
+ - &#8203;<!-- 07 -->[Tooltip] Deprecate components and componentProps props for v6 (#42107) @ChronicusUA
149
+
150
+ ### `@mui/system@6.0.0-alpha.9`
151
+
152
+ - &#8203;<!-- 34 -->[createStyled] Intercept `ownerState` coming from `props` and `ownerState` (#42358) @DiegoAndai
153
+
154
+ ### `@mui/codemod@6.0.0-alpha.9`
155
+
156
+ - &#8203;<!-- 41 -->Add `sx` prop for v6 migration (#42153) @siriwatknp
157
+ - &#8203;<!-- 40 -->Add codemod for removing system props (#42282) @siriwatknp
158
+
159
+ ### Docs
160
+
161
+ - &#8203;<!-- 33 -->Remove unused images (#42324) @danilo-leal
162
+ - &#8203;<!-- 32 -->Add Pigment CSS and Base UI logos SVGs (#42322) @danilo-leal
163
+ - &#8203;<!-- 22 -->[joy-ui] Fix template responsiveness (#42422) @j4marcos
164
+ - &#8203;<!-- 21 -->[material-ui] Add the Pashto locale (#42244) @sayoubiaf
165
+ - &#8203;<!-- 20 -->[material-ui] Remove duplicate Design Kits page (#42338) @danilo-leal
166
+ - &#8203;<!-- 19 -->[material-ui] Document callback to access theme in GlobalStyles (#42257) @aarongarciah
167
+ - &#8203;<!-- 18 -->[material-ui] Add minor modifications to the Vertical stepper demo (#42342) @mihilt
168
+ - &#8203;<!-- 17 -->[material-ui][Tabs] Improve the Basic Tabs demo (#42374) @MatheusEli
169
+ - &#8203;<!-- 16 -->[pigment-css] Polish redirection mention @oliviertassinari
170
+
171
+ ### Core
172
+
173
+ - &#8203;<!-- 47 -->[blog] Add fixes and clean ups to the Blog page (#42311) @danilo-leal
174
+ - &#8203;<!-- 46 -->[blog] Add the "Product" tag to the Pigment CSS post (#42365) @danilo-leal
175
+ - &#8203;<!-- 45 -->[code-infra] Simplify .stylelintrc.js @oliviertassinari
176
+ - &#8203;<!-- 44 -->[code-infra] Fix stylelint locally (#42411) @oliviertassinari
177
+ - &#8203;<!-- 43 -->[code-infra] Run corepack enable on all CI jobs (#42331) @Janpot
178
+ - &#8203;<!-- 42 -->[code-infra] Create examples eslint rule (#42170) @oliviertassinari
179
+ - &#8203;<!-- 39 -->[core] Apply React 19 type changes that don't require upcoming `@types/` packages (#42346) @DiegoAndai
180
+ - &#8203;<!-- 38 -->[core] Remove `react-swipeable-views-utils` package from docs (#42378) @ZeeshanTamboli
181
+ - &#8203;<!-- 37 -->[core] Update `@testing-library/react` and `@testing-library/dom` packages (#42349) @ZeeshanTamboli
182
+ - &#8203;<!-- 36 -->[core] Remove `@types/prettier` package (#42339) @ZeeshanTamboli
183
+ - &#8203;<!-- 35 -->[core] Remove `WyW-in-JS` from Renovate config (#42335) @ZeeshanTamboli
184
+ - &#8203;<!-- 31 -->[docs-infra] Split feedback channels per product (#42413) @alexfauquette
185
+ - &#8203;<!-- 30 -->[docs-infra] Avoid cryptic errors when tests don't exist (#42356) @Janpot
186
+ - &#8203;<!-- 29 -->[docs-infra] Make menu styles consistent (#42387) @danilo-leal
187
+ - &#8203;<!-- 28 -->[docs-infra] Display deprecation messages in API pages (#42352) @aarongarciah
188
+ - &#8203;<!-- 27 -->[docs-infra] Standardize API pages Alert styles (#42386) @danilo-leal
189
+ - &#8203;<!-- 26 -->[docs-infra] Fix Toolpad Core API links (#42362) @apedroferreira
190
+ - &#8203;<!-- 25 -->[docs-infra] Tigthen up the header design (#42180) @danilo-leal
191
+ - &#8203;<!-- 24 -->[docs-infra] Add Toolpad to muiNpmOrgs for codesandbox demos (#42316) @Janpot
192
+ - &#8203;<!-- 23 -->[docs-infra] Allow JSDoc tags (#42337) @aarongarciah
193
+ - &#8203;<!-- 06 -->[test] Remove `userAgent` override in `jsdom` env (#42344) @cherniavskii
194
+ - &#8203;<!-- 05 -->[utils] Fix GitHub-reported prototype pollution vulnerability in `deepmerge` (#41652) @tjcouch-sil
195
+ - &#8203;<!-- 04 -->[website] Add Nikita to the about page (#42418) @nikitaa24
196
+ - &#8203;<!-- 03 -->[website] Fix hero spacing changes applying at the wrong breakpoint (#42341) @KenanYusuf
197
+ - &#8203;<!-- 02 -->[website] Adds Kenan Yusuf to about page (#42317) @KenanYusuf
198
+ - &#8203;<!-- 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.
51
209
  This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
52
210
 
53
- ### `@mui/material@5.15.19`
211
+ ### `@mui/material@6.0.0-alpha.7`
54
212
 
55
- - &#8203;<!-- 19 -->[AlertTitle] Enable extending Typography props (@lucasgmelo) (#42334) @github-actions[bot]
56
- - &#8203;<!-- 06 -->[responsiveFontSizes] Handled undefined variants (@brijeshb42) (#42419) @github-actions[bot]
57
- - &#8203;<!-- 05 -->[Slider] Fix wrong CSS value (@mnajdova) (#42373) @github-actions[bot]
213
+ - &#8203;<!-- 04 -->[material-ui] Filter only valid theme palette for generating styles (#42147) @siriwatknp
214
+ - &#8203;<!-- 03 -->[material-ui] Remove UMD bundle (#42172) @ZeeshanTamboli
215
+ - &#8203;<!-- 02 -->[material-ui][TextField] Deprecate `*Props` props (#42062) @DiegoAndai
58
216
 
59
217
  ### Docs
60
218
 
61
- - &#8203;<!-- 13 -->Link to pnpm installation docs (#42420) @aarongarciah
62
- - &#8203;<!-- 12 -->Remove LocalMonero (@oliviertassinari) (#42315) @github-actions[bot]
63
- - &#8203;<!-- 10 -->[material-ui] Fix typo in style interoperability with Tailwind CSS docs (@ZeeshanTamboli) (#42312) @github-actions[bot]
64
- - &#8203;<!-- 09 -->[material-ui][Pagination] Clarify pagination `page` prop API (@Mandar-Pandya) (#42265) @github-actions[bot]
65
- - &#8203;<!-- 08 -->[material-ui][Tabs] Improve the Basic Tabs demo (@MatheusEli) (#42426) @github-actions[bot]
66
- - &#8203;<!-- 07 -->[pigment-css] Fix duplication of content (#42410) @oliviertassinari
219
+ - &#8203;<!-- 08 -->[docs] Remove Base UI from the README (#42307) @danilo-leal
220
+ - &#8203;<!-- 07 -->[docs][material-ui] Fix typo in style interoperability with Tailwind CSS docs (#42279) @ZeeshanTamboli
221
+ - &#8203;<!-- 06 -->[docs][material-ui] Add supported browsers section to migration guide (#42194) @DiegoAndai
222
+ - &#8203;<!-- 05 -->[docs][material-ui][Pagination] Clarify pagination `page` prop API (#42220) @Mandar-Pandya
67
223
 
68
224
  ### Core
69
225
 
70
- - &#8203;<!-- 18 -->[blog] Add the "Product" tag to the Pigment CSS post (@danilo-leal) (#42366) @github-actions[bot]
71
- - &#8203;<!-- 17 -->[blog] Update blog post OG image (@danilo-leal) (#42306) @github-actions[bot]
72
- - &#8203;<!-- 16 -->[blog] Update Pigment CSS post (@danilo-leal) (#42267) @github-actions[bot]
73
- - &#8203;<!-- 15 -->[core] Fix React 18.3 warnings about spreading keys in the Material UI `Autocomplete` component (#42099) (#42241) @DiegoAndai
74
- - &#8203;<!-- 14 -->[core] Fix a few more key spread issues (@oliviertassinari) (#42318) @github-actions[bot]
75
- - &#8203;<!-- 11 -->[docs-infra] Allow JSDoc tags (#42327) @aarongarciah
76
- - &#8203;<!-- 04 -->[website] Add Nikita to the about page (@nikitaa24) (#42421) @github-actions[bot]
77
- - &#8203;<!-- 03 -->[website] Fix hero spacing changes applying at the wrong breakpoint (@KenanYusuf) (#42357) @github-actions[bot]
78
- - &#8203;<!-- 02 -->[website] Adds Kenan Yusuf to about page (@KenanYusuf) (#42330) @github-actions[bot]
79
- - &#8203;<!-- 01 -->[website] Improve about page @oliviertassinari
226
+ - &#8203;<!-- 12 -->[blog] Update blog post OG image (#42270) @danilo-leal
227
+ - &#8203;<!-- 11 -->[blog] Update Pigment CSS post (#42266) @danilo-leal
228
+ - &#8203;<!-- 10 -->[docs] Remove LocalMonero (#42224) @oliviertassinari
229
+ - &#8203;<!-- 08 -->[docs-infra] Fix keyboard navigation on page tabs (#42152) @danilo-leal
230
+ - &#8203;<!-- 10 -->[code-infra] Remove raw-loader (#42275) @Janpot
231
+ - &#8203;<!-- 09 -->[core] Remove outdated Babel plugins (#42140) @ZeeshanTamboli
232
+ - &#8203;<!-- 12 -->[core] Fix a few more key spread issues (#42168) @oliviertassinari
233
+ - &#8203;<!-- 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
80
236
 
81
- All contributors of this release in alphabetical order: @aarongarciah, @brijeshb42, @danilo-leal, @DiegoAndai, @KenanYusuf, @lucasgmelo, @Mandar-Pandya, @MatheusEli, @mnajdova, @nikitaa24, @oliviertassinari, @ZeeshanTamboli
237
+ ## v6.0.0-alpha.7
82
238
 
83
- ## v5.15.18
239
+ <!-- generated comparing v6.0.0-alpha.6..next -->
84
240
 
85
- <!-- generated comparing v5.15.17..master -->
241
+ _May 16, 2024_
86
242
 
87
- _May 14, 2024_
243
+ A big thanks to the 14 contributors who made this release possible.
88
244
 
89
- A big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
245
+ ### `@mui/material@6.0.0-alpha.7`
90
246
 
91
- ### `@mui/material@5.15.18`
247
+ - &#8203;<!-- 23 -->[Autocomplete] Deprecate `componentsProps` props (#42179) @lhilgert9
248
+ - &#8203;<!-- 22 -->[Autocomplete] Improve design when there's a start adornment for small autocomplete (#41781) @TahaRhidouani
249
+ - &#8203;<!-- 21 -->[Autocomplete] deprecate `*Component` and `*Props` for v6 (#41875) @lhilgert9
250
+ - &#8203;<!-- 19 -->[CircularProgress] Deprecate composed classes (#42076) @sai6855
251
+ - &#8203;<!-- 05 -->[ToggleButtonGroup] Add missing `selected` class in ToggleButtonGroupClasses type (#42243) @tarunrajput
92
252
 
93
- - &#8203;<!-- 6 -->[Autocomplete] Improve design when there's a start adornment for small autocomplete (@TahaRhidouani) (#42176) @github-actions[bot]
94
- - &#8203;<!-- 3 -->[ToggleButtonGroup] Add missing `selected` class in ToggleButtonGroupClasses type (@tarunrajput) (#42250) @github-actions[bot]
253
+ ### `@mui/codemod@6.0.0-alpha.6`
254
+
255
+ - &#8203;<!-- 18 -->[Divider] Only apply codemod if light prop is present (#42098) @DiegoAndai
95
256
 
96
257
  ### Docs
97
258
 
98
- - &#8203;<!-- 4 -->[docs] Fix 301 to Figma @oliviertassinari
259
+ - &#8203;<!-- 13 -->Fix 301 to Figma @oliviertassinari
260
+ - &#8203;<!-- 12 -->Fix use of deprecated React API (#42118) @oliviertassinari
261
+ - &#8203;<!-- 11 -->Remove the Base notification (#42191) @danilo-leal
262
+ - &#8203;<!-- 07 -->[material-ui] Improve descriptions for deprecated props (#42221) @aarongarciah
263
+ - &#8203;<!-- 06 -->[material-ui] Fix typo in composition docs (#42195) @aarongarciah
99
264
 
100
265
  ### Core
101
266
 
102
- - &#8203;<!-- 5 -->[blog] Introducing Pigment CSS blog post (#42198) (#42255) @samuelsycamore
103
- - &#8203;<!-- 2 -->[website] Add redirection for talk @oliviertassinari
104
- - &#8203;<!-- 1 -->[website] Adds Arthur Balduini team info (@arthurbalduini) (#42226) @github-actions[bot]
267
+ - &#8203;<!-- 20 -->[blog] Introducing Pigment CSS blog post (#42198) @samuelsycamore
268
+ - &#8203;<!-- 17 -->[core] Remove confusing comment @oliviertassinari
269
+ - &#8203;<!-- 16 -->[core] Match other repositories and convention @oliviertassinari
270
+ - &#8203;<!-- 15 -->[core] Fix React 18.3 warnings about spreading keys in the Material UI `Autocomplete` component (#42099) @heath-freenome
271
+ - &#8203;<!-- 14 -->[core] Remove unecessary quotes @oliviertassinari
272
+ - &#8203;<!-- 10 -->[docs-infra] Share code for section title (#42236) @alexfauquette
273
+ - &#8203;<!-- 09 -->[docs-infra] Limit the copy button to the visible code block (#42115) @danilo-leal
274
+ - &#8203;<!-- 08 -->[docs-infra] Make select components with two capital letters (#42004) @alexfauquette
275
+ - &#8203;<!-- 08 -->[docs-infra][toolpad] Fix Page title and SERP title mismatch (#41919) @bharatkashyap
276
+ - &#8203;<!-- 05 -->[website] Add redirection for talk @oliviertassinari
277
+ - &#8203;<!-- 04 -->[website] Adds Arthur Balduini team info (#42193) @arthurbalduini
278
+ - &#8203;<!-- 03 -->[website] Update the role template file (#42192) @danilo-leal
279
+ - &#8203;<!-- 02 -->[website] Update MUI X deps and migrate TreeView demos to v7 API (#42149) @noraleonte
280
+ - &#8203;<!-- 01 -->[website] Fix pricing casing (#42178) @aarongarciah
105
281
 
106
- All contributors of this release in alphabetical order: @arthurbalduini, @oliviertassinari, @samuelsycamore, @TahaRhidouani, @tarunrajput
282
+ All contributors of this release in alphabetical order: @aarongarciah, @alexfauquette, @arthurbalduini, @bharatkashyap, @danilo-leal, @DiegoAndai, @heath-freenome, @lhilgert9, @noraleonte, @oliviertassinari, @sai6855, @samuelsycamore, @TahaRhidouani, @tarunrajput
107
283
 
108
- ## v5.15.17
284
+ ## v6.0.0-alpha.6
109
285
 
110
- <!-- generated comparing v5.15.16..master -->
286
+ <!-- generated comparing v6.0.0-alpha.5..next -->
111
287
 
112
288
  _May 8, 2024_
113
289
 
114
- A big thanks to the 4 contributors who made this release possible.
115
- This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
290
+ A big thanks to the 10 contributors who made this release possible.
116
291
 
117
- ### `@mui/material@5.15.17`
292
+ ### `@mui/material@6.0.0-alpha.6`
118
293
 
119
- - [Slider] Move palette styles to the bottom (#41676) @siriwatknp
294
+ - [Chip] Add colorDefault class to chipClasses (#42067) @sai6855
295
+ - Migrate components to support CSS extraction (#42001) @siriwatknp
296
+ - [SpeedDial] Deprecate TransitionComponent (#40698) @harry-whorlow
297
+
298
+ ### `@mui/codemod@6.0.0-alpha.6`
299
+
300
+ - Add `theme-v6` migration (#42056) @siriwatknp
301
+
302
+ ### `@mui/icons-material@6.0.0-alpha.6`
303
+
304
+ - Add the Emergency icon (#42080) @danilo-leal
120
305
 
121
306
  ### Docs
122
307
 
308
+ - [autocomplete] Fix duplicate autocomplete id (#42086) @oliviertassinari
123
309
  - Fix SEO redirection issues @oliviertassinari
124
- - [material-ui] Fix broken link (@aarongarciah) (#42143) @github-actions[bot]
125
- - [material-ui] Fix link on the Sync page (@danilo-leal) (#42089) @github-actions[bot]
310
+ - [material-ui] Fix broken link (#42142) @aarongarciah
311
+ - [material-ui][docs] Fix link on the Sync page (#42088) @danilo-leal
126
312
 
127
313
  ### Core
128
314
 
129
315
  - [blog] Shorten title to fit @oliviertassinari
130
- - [blog] Update Sync post OG image (@danilo-leal) (#42117) @github-actions[bot]
131
- - [blog] A few tweaks in introducing-sync-plugin (@oliviertassinari) (#42094) @github-actions[bot]
132
- - [docs-infra] Fix code block layout shift (#41917) @oliviertassinari
133
- - [website] Fix home page slider's track position (@aarongarciah) (#42144) @github-actions[bot]
316
+ - [blog] Update Sync post OG image (#42114) @danilo-leal
317
+ - [blog] A few tweaks in introducing-sync-plugin (#42092) @oliviertassinari
318
+ - [code-infra] Add canary release scripts (#41949) @michaldudak
319
+ - [code-infra] Move ComponentLinkHeader to @mui/docs (#42061) @Janpot
320
+ - [code-infra] Bump node image used by CI in docker (#42079) @LukasTy
321
+ - [core] Restrict import path with ESLint (#41970) @oliviertassinari
322
+ - [docs-infra] Add design and formatting improvements (#42063) @danilo-leal
323
+ - [docs-infra] Fix HTML structure violations (#42085) @oliviertassinari
324
+ - [website] Componentize a few Careers page sections (#42102) @danilo-leal
325
+ - [website] Refine the InfoCard design (#42116) @danilo-leal
326
+ - [website] Fix home page slider's track position (#42141) @aarongarciah
134
327
  - [website] Closing the survey @oliviertassinari
135
328
  - [website] Remove Survey banner from website and Core docs (#42104) @joserodolfofreitas
136
329
 
137
- All contributors of this release in alphabetical order: @github-actions[bot], @joserodolfofreitas, @oliviertassinari, @siriwatknp
330
+ All contributors of this release in alphabetical order: @aarongarciah, @danilo-leal, @harry-whorlow, @Janpot, @joserodolfofreitas, @LukasTy, @michaldudak, @oliviertassinari, @sai6855, @siriwatknp
138
331
 
139
- ## v5.15.16
332
+ ## v6.0.0-alpha.5
140
333
 
141
- <!-- generated comparing v5.15.15..master -->
334
+ <!-- generated comparing v6.0.0-alpha.4..next -->
142
335
 
143
336
  _May 1, 2024_
144
337
 
145
- A big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
146
- This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
338
+ A big thanks to the 9 contributors who made this release possible.
339
+
340
+ ### `@mui/material@6.0.0-alpha.5`
341
+
342
+ - [FormControlLabel] Deprecate `componentsProps` (#41767) @sai6855
343
+ - [PaginationItem] Deprecate components prop (#41777) @sai6855
344
+ - [SvgIcon] Convert to support CSS extraction (#41779) @aarongarciah
147
345
 
148
- ### `@mui/material@5.15.16`
346
+ ### `@mui/base@5.0.0-beta.43`
149
347
 
150
- - [material-ui][Dialog] Prevent onClick on the root element from being overwritten (@ryanburr) (#41914) @github-actions[bot]
151
- - [material-ui][Select] Fix `muiName` property TypeScript error (@EyaOuenniche) (#41786) @github-actions[bot]
152
- - —>[material-ui][l10n] Fix typo in is-IS locale (@magnimarels) (#41815) @github-actions[bot]
348
+ - [TextareaAutosize] Fix resizing instability (#41638) @ZeeshanTamboli
153
349
 
154
350
  ### Docs
155
351
 
156
352
  - Fix small SEO issues @oliviertassinari
157
- - Fix 301 Toolpad links @oliviertassinari
353
+ - [material-ui] Fix minor spelling error in the "About the lab" page (#42073) @ryanhartwig
354
+ - [material-ui] Update Figma plugin name (#41967) @danilo-leal
355
+ - [material-ui][templates] Fix input props attributes in Landing Page template (#42013) @5-tom
356
+ - [system] Update typo on the sx prop page (#42035) @bricker
357
+
358
+ ### Core
359
+
360
+ - [docs-infra] Clean up branding theme file and improve font-face readibility (#42023) @danilo-leal
361
+ - [docs-infra] Simplify docs demo (#42016) @oliviertassinari
362
+ - [website] Add content about the Sync plugin in the Material UI page (#40515) @danilo-leal
363
+ - [website] Sync career roles (#42058) @oliviertassinari
364
+ - [website] Add Nadja on the about page (#42021) @mnajdova
365
+ - [website] Fix code block design by changing the `MarkdownElement` import (#42022) @danilo-leal
366
+ - [wesbite] Remove duplicate MarkdownElement component (#42028) @danilo-leal
367
+
368
+ All contributors of this release in alphabetical order: @5-tom, @aarongarciah, @bricker, @danilo-leal, @mnajdova, @oliviertassinari, @ryanhartwig, @sai6855, @ZeeshanTamboli
369
+
370
+ ## v6.0.0-alpha.4
371
+
372
+ <!-- generated comparing v6.0.0-alpha.3..next -->
373
+
374
+ _Apr 24, 2024_
375
+
376
+ A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
377
+
378
+ - 🔥 Converted 3 more Material UI components to use Pigment CSS.
379
+ - ℹ️ Pigment CSS now lives in [its own repository](https://github.com/mui/pigment-css)! From now on, all future development will happen there.
380
+
381
+ ### `@mui/material@6.0.0-alpha.4`
382
+
383
+ - [Checkbox] Convert to support CSS extraction (#41957) @lhilgert9
384
+ - [IconButton] Convert to support CSS extraction (#41850) @gijsbotje
385
+ - [Radio] Convert to support CSS extraction (#41840) @lhilgert9
386
+ - [Typography] Fix ownerState prop placement (#41903) @sai6855
387
+ - Generate typography tokens (#41703) @siriwatknp
388
+ - Move typography CSS variables to `font` (#42003) @siriwatknp
389
+ - Fix getOverlayAlpha type (#41995) @oliviertassinari
390
+ - Support CSS Extraction using codemod (#41935) @siriwatknp
391
+
392
+ ### `@mui/icons-material@6.0.0-alpha.4`
393
+
394
+ - &#8203;<!-- 08 -->[icons] Update the icons package (#41937) @danilo-leal
395
+
396
+ ### Docs
397
+
398
+ - [material-ui] Remove react-swipeable-views from demos as it's no longer maintained (#41912) @soler1212
399
+ - [material-ui] Add dark theme thumbnails for templates (#41947) @zanivan
400
+ - [material-ui] Remove links and interdependencies from free templates (#41941) @zanivan
401
+ - [material-ui] Add missing backticks to HTML tag in the installation page (#41972) @Miguelrom
158
402
  - Fix 301 Toolpad links @oliviertassinari
159
403
  - Fix 301 image redirections @oliviertassinari
160
- - Fix small SEO issues @oliviertassinari
404
+
405
+ ### Core
406
+
407
+ - pnpm docs:zipRules && vale sync @oliviertassinari
408
+ - Remove @pigment-css/\* packages (#41965) @mnajdova
409
+ - [code-infra] Move the HighlightedCode component to @mui/docs (#41859) @Janpot
410
+ - [code-infra] Move the HighlightedCode component to @mui/docs (#41859) @Janpot
411
+ - [code-infra] Make Babel config path configurable in API docs builder (#41999) @michaldudak
412
+ - [docs-infra] Fix flex-shrink pro-plan (#41990) @oliviertassinari
413
+ - [docs-infra] Allow more value uses of MUI (#41706) @oliviertassinari
414
+ - [docs-infra] Move CPU to shared config (#41901) @oliviertassinari
415
+ - [docs-infra] Improve Twitter OG:image (#41860) @oliviertassinari
416
+ - [docs-infra] Adapt docs infra to Base UI docs needs (#41963) @michaldudak
417
+ - [docs-infra] Add demo container design refinements (#41948) @danilo-leal
418
+ - [docs-infra] Use the `getLayout` on the material demo pages (#41936) @alexfauquette
419
+ - [test] Update browser versions in karma config (#42008) @ZeeshanTamboli
420
+ - [website] Remove customer support agent role from website (#41969) @rluzists1
421
+ - [website] Fix grid usage and add stray improvements (#41930) @danilo-leal
422
+
423
+ All contributors of this release in alphabetical order: @alexfauquette, @danilo-leal, @gijsbotje, @Janpot, @lhilgert9, @michaldudak, @Miguelrom, @mnajdova, @oliviertassinari, @rluzists1, @sai6855, @siriwatknp, @soler1212, @zanivan, @ZeeshanTamboli
424
+
425
+ ## v6.0.0-alpha.3
426
+
427
+ <!-- generated comparing v6.0.0-alpha.2..next -->
428
+
429
+ _Apr 17, 2024_
430
+
431
+ A big thanks to the 24 contributors who made this release possible. Here are some highlights ✨:
432
+
433
+ - 🔥 Converted 5 more Material UI components to use Pigment CSS.
434
+ - 🚀 Added container queries utility to the `@mui/system` package (#41674) @siriwatknp.
435
+
436
+ ### `@mui/material@6.0.0-alpha.3`
437
+
438
+ - Convert `LinearProgress` to support Pigment CSS (#41816) @siriwatknp
439
+ - [Dialog] Prevent onClick on the root element from being overwritten (#41881) @ryanburr
440
+ - [FloatingActionButton] Convert to support CSS extraction (#41851) @gijsbotje
441
+ - Convert `CircularProgress` to support Pigment CSS (#41776) @siriwatknp
442
+ - [PaginationItem] Convert to support CSS extraction (#41848) @gijsbotje
443
+ - [StepConnector] deprecate composed classes (#41740) @sai6855
444
+ - [StepLabel] Deprecate `StepIconComponent`, `StepIconProps` (#41835) @sai6855
445
+ - [ToggleButton] Convert to support CSS extraction (#41782) @lhilgert9
446
+ - [ToggleButtonGroup] Deprecate composed classes (#41288) @sai6855
447
+ - [Typography] Fix Typography inherit variant styles (#41308) @kealjones-wk
448
+
449
+ ### `@mui/system@6.0.0-alpha.3`
450
+
451
+ - Add container queries utility (#41674) @siriwatknp
452
+
453
+ ### `@mui/codemod@6.0.0-alpha.3`
454
+
455
+ - Add styled v6 transformation (#41743) @siriwatknp
456
+
457
+ ### `@mui/joy@5.0.0-beta.36`
458
+
459
+ - [Button] Disable text highlighting (#41902) @mithun522
460
+
461
+ ### `@pigment-css/react@0.0.7`
462
+
463
+ - Patch WyW's WeakRef usage (#41909) @DiegoAndai
464
+ - Implement sx transform for system components (#41861) @brijeshb42
465
+
466
+ ### Docs
467
+
468
+ - [material-ui] Add Connect-related content (#40848) @danilo-leal
469
+ - [material-ui] Fix credit comment typo (#41872) @aarongarciah
470
+ - [material-ui] Remove Data Grid v7 beta callout (#41839) @cherniavskii
471
+ - [material-ui] Add stray design tweaks to free templates (#41696) @zanivan
472
+ - [material-ui] Simplify components styling on templates (#41845) @zanivan
473
+ - [material-ui][Button] Add `onChange` event handler to file upload example (#41863) @aarongarciah
474
+ - [material-ui] Fix import statement in migration guide (#41852) @sai6855
161
475
  - Fix 301 redirection @oliviertassinari
162
476
  - Fix format git diff regression (#41882) @oliviertassinari
163
- - Fix 301 links @oliviertassinari
164
- - [material-ui] Fix import statement in migration guide (@sai6855) (#41864) @github-actions[bot]
165
- - [material-ui] Update Figma plugin name (@danilo-leal) (#42057) @github-actions[bot]
166
- - [material-ui] Fix minor spelling error in the "About the lab" page (@ryanhartwig) (#42075) @github-actions[bot]
167
- - [material-ui] Add missing backticks to HTML tag in the installation page (@Miguelrom) (#42009) @github-actions[bot]
168
- - [material-ui] Add Connect-related content (@danilo-leal) (#41924) @DiegoAndai
169
- - [material-ui] Fix Material 3 message typo (@aarongarciah) (#41822) @github-actions[bot]
170
- - [material-ui] Remove Data Grid v7 beta callout (@cherniavskii) (#41842) @github-actions[bot]
171
- - [material-ui][templates] Fix input props attributes in Landing Page template (@5-tom) (#42034) @github-actions[bot]
172
- - [system] Update typo on the sx prop page (@bricker) (#42078) @github-actions[bot]
477
+ - Fix small SEO issues @oliviertassinari
478
+ - [pigment-css] Fix README typos (#41870) @MohammadShehadeh
173
479
 
174
480
  ### Core
175
481
 
176
- - [blog] Add post to introduce the Connect plugin (@danilo-leal) (#41929) @DiegoAndai
177
- - [core] Automate cherry-pick of PRs from `next` -> `master` (#41742) @aarongarciah
178
- - [docs-infra] Improve Twitter OG:image (#41860) @oliviertassinari
179
- - [docs-infra] Use edge function for card generation (#41188) @alexfauquette
180
- - [docs-infra] Fix drawer performances (#41807) (#41820) @alexfauquette
181
- - [docs-infra] Fix analytics about inline ads (#41474) @alexfauquette
182
- - [website] Sync career roles (@oliviertassinari) (#42059) @github-actions[bot]
183
- - [website] Add content about the Sync plugin in the Material UI page (@danilo-leal) (#42074) @github-actions[bot]
184
- - [website] Add Nadja on the about page (#42054) @mnajdova
185
- - [website] Close the `Design Engineer - X` role (#42014) @DanailH
186
- - [website] Remove customer support agent role from website (@rluzists1) (#41996) @github-actions[bot]
187
- - [website] Add Jose to About Us (#41759) @JCQuintas
188
-
189
- All contributors of this release in alphabetical order: @aarongarciah, @alexfauquette, @DanailH, @DiegoAndai, @github-actions[bot], @JCQuintas, @mnajdova, @oliviertassinari
482
+ - Begin removing IE 11-related code (#41709) @iammminzzy
483
+ - [blog] Add post to introduce the Connect plugin (#41763) @danilo-leal
484
+ - [code-infra] Fix require.context with aliases (#41682) @Janpot
485
+ - [code-infra] Allow customizing hooks imports in API docs generator (#41828) @michaldudak
486
+ - [codemod] Add utils for `*Component` and `*Props` props deprecations (#41685) @DiegoAndai
487
+ - Replace bundle size reporter filter (#38979) @Janpot
488
+ - [docs-infra] Make the whole header clickable (#39603) @MoazMirza-13
489
+ - [docs-infra] Improve demo container and related components design (#41827) @danilo-leal
490
+ - [docs-infra] Use edge function for card generation (#41188) (#41836) @alexfauquette
491
+ - [docs-infra] Fix code block layout shift (#41917) @oliviertassinari
492
+ - [docs-infra] Fine-tune the OG card image design (#41862) @danilo-leal
493
+ - [docs-infra] Fix markdown version for material (#41908) @alexfauquette
494
+ - [docs-infra] Support multiple tabs in demos (#40901) @bharatkashyap
495
+
496
+ All contributors of this release in alphabetical order: @aarongarciah, @alexfauquette, @bharatkashyap, @brijeshb42, @cherniavskii, @danilo-leal, @DiegoAndai, @EyaOuenniche, @gijsbotje, @iammminzzy, @Janpot, @kealjones-wk, @lhilgert9, @magnimarels, @michaldudak, @mithun522, @mnajdova, @MoazMirza-13, @MohammadShehadeh, @oliviertassinari, @ryanburr, @sai6855, @siriwatknp, @zanivan
497
+
498
+ ## v6.0.0-alpha.2
499
+
500
+ <!-- generated comparing v6.0.0-alpha.1..next -->
501
+
502
+ _Apr 9, 2024_
503
+
504
+ A big thanks to the 5 contributors who made this release possible.
505
+ This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
506
+
507
+ ### `@mui/material@6.0.0-alpha.2`
508
+
509
+ - &#8203;<!-- 03 -->[typescript][Select] Fix `muiName` property TypeScript error (#41726) @EyaOuenniche
510
+ - &#8203;<!-- 04 -->[l10n] Fix typo in is-IS locale (#41810) @magnimarels
511
+
512
+ ### `@pigment-css/react@0.0.6`
513
+
514
+ - &#8203;<!-- 12 -->[core] Remove `muiName` during eval phase (#41811) @brijeshb42
515
+
516
+ ### `@pigment-css/nextjs-plugin@0.0.6`
517
+
518
+ - &#8203;<!-- 02 -->[nextjs] Handle file references passed through imports (#41817) @brijeshb42
519
+ - &#8203;<!-- 01 -->[nextjs] Allow usage of url() CSS function (#41758) @brijeshb42
520
+
521
+ ### Docs
522
+
523
+ - &#8203;<!-- 11 -->[docs] Fix 301 links @oliviertassinari
524
+ - &#8203;<!-- 06 -->[pigment-css][docs] Fix README typo (#41808) @aarongarciah
525
+ - &#8203;<!-- 05 -->[pigment-css][docs] Fix output on dynamic styles example (#41805) @aarongarciah
526
+ - &#8203;<!-- 07 -->[material-ui][docs] Fix Material 3 message typo (#41821) @aarongarciah
527
+ - &#8203;<!-- 08 -->[material-ui][docs] Add stray design tweaks to free templates (#41696) @zanivan
528
+
529
+ ### Core
530
+
531
+ - &#8203;<!-- 13 -->[core] Remove unused files (#41818) @mnajdova
532
+ - &#8203;<!-- 10 -->[docs-infra] Fix analytics about inline ads (#41474) (#41819) @alexfauquette
533
+ - &#8203;<!-- 08 -->[docs-infra] Fix drawer performances (#41807) @alexfauquette
534
+
535
+ All contributors of this release in alphabetical order: @aarongarciah, @alexfauquette, @brijeshb42, @EyaOuenniche, @oliviertassinari
536
+
537
+ ## v6.0.0-alpha.1
538
+
539
+ <!-- generated comparing v6.0.0-alpha.0..next -->
540
+
541
+ _Apr 5, 2024_
542
+
543
+ A big thanks to the 19 contributors who made this release possible. Here are some highlights ✨:
544
+
545
+ - 🔥 Converted 3 more Material UI components to use Pigment CSS. Current progress is 36%!
546
+ - 🚀 Added a spacing CSS variable to the Material UI and Joy UI themes.
547
+ - 💫 Added 3 redesigned free Material UI templates: [Sign-in](https://next.mui.com/material-ui/getting-started/templates/sign-in/), [Sign-in side](https://next.mui.com/material-ui/getting-started/templates/sign-in-side/), and [Sign-up](https://next.mui.com/material-ui/getting-started/templates/sign-up/).
548
+
549
+ ### `@mui/material@6.0.0-alpha.1`
550
+
551
+ - [AppBar] Convert to support CSS extraction (#41247) @mnajdova
552
+ - [Badge] Deprecate components and componentsProps (#41655) @skmanoj322
553
+ - [Button] Convert to support CSS extraction (#41378) @siriwatknp
554
+ - [ButtonGroup] Convert to support CSS extraction (#41666) @zanivan
555
+ - [RadioGroup] Apply classnames (#41610) @ZeeshanTamboli
556
+ - [Slider] Move palette styles to the bottom (#41676) @siriwatknp
557
+ - Add the `spacing` theme token (#40224) @siriwatknp
558
+
559
+ ### `@mui/system@6.0.0-alpha.1`
560
+
561
+ - Add the `spacing` theme token to be used in `theme.spacing()` (#40224) @siriwatknp
562
+
563
+ ### `@mui/codemod@6.0.0-alpha.1`
564
+
565
+ - [codemod] Setup v6 codemod structure (#41668) @DiegoAndai
566
+
567
+ ### `@mui/lab@6.0.0-alpha.1`
568
+
569
+ - [TabPanel] Add keepMounted prop to match Joy UI (#41651) @ppaskaris-plooto
570
+
571
+ ### `@mui/joy@5.0.0-beta.34`
572
+
573
+ - Add `spacing` theme token (#40224) @siriwatknp
574
+
575
+ ### `@pigment-css/react@0.0.5`
576
+
577
+ - Improve sx prop support (#41589) @brijeshb42
578
+ - Fix Emotion styled error (#41699) @siriwatknp
579
+ - Fix propTypes removal during eval stage (#41695) @brijeshb42
580
+ - Fix props forwarding (#41688) @siriwatknp
581
+ - Fix sx prop transformation on Box (#41705) @brijeshb42
582
+
583
+ ### `@pigment-css/vite-plugin@0.0.5`
584
+
585
+ - Use constant filename for pigment styles (#41667) @brijeshb42
586
+
587
+ ### `@pigment-css/nextjs-plugin@0.0.5`
588
+
589
+ - Add missing RTL implementation (#41751) @brijeshb42
590
+
591
+ ### Docs
592
+
593
+ - [pigment-css] Update README.md installation to use the next tag (#41649) @mnajdova
594
+ - [pigment-css] Add "Building design system components" guide with Pigment CSS (#41635) @siriwatknp
595
+ - Continue migration of Base UI to sperate repository @oliviertassinari
596
+ - Stick to one way to write IE 11 @oliviertassinari
597
+ - Fix typo in CONTRIBUTING.md (#41670) @adriancuadrado
598
+ - Drop IE 11 official support (#41611) @iammminzzy
599
+ - [material-ui] Fix typo on the Accordion page (#41687) @connorshea
600
+ - [pigment-css] Add small edits on the README (#41646) @danilo-leal
601
+ - [pigment-css] Edit the example app's README files (#41639) @danilo-leal
602
+
603
+ ### Core
604
+
605
+ - [code-infra] Move BrandingProvider/brandingTheme/InfoCard to @mui/docs (#41206) @Janpot
606
+ - [core] Automate cherry-pick of PRs from `next` -> `master` (#41741) @aarongarciah
607
+ - [core] Update the prettier script to use the next branch (#41637) @mnajdova
608
+ - [docs-infra] Skip loading source for non-editable modules (#41588) @bharatkashyap
609
+ - [docs-infra] Vale rule for M3 (#41737) @oliviertassinari
610
+ - [docs-infra] Allows to remove edit button (#41702) @alexfauquette
611
+ - [pigment-css][examples] Add example project with Remix (#41700) @brijeshb42
612
+ - [examples] Update MUI's packages to the next version (#41701) @mnajdova
613
+ - [material-ui] Refine the Sign-in and Sign-up templates (#41192) @zanivan
614
+ - [test] Add test to display options provided to the options prop even if loading is true. (#41675) @ZeeshanTamboli
615
+ - [blog] Refresh the design slightly (#41697) @danilo-leal
616
+ - [website] Use en-US over en-UK for career link @oliviertassinari
617
+ - [website] Add Aarón to About Us (#41736) @aarongarciah
618
+ - [website] Refine button design and other details (#41686) @danilo-leal
619
+ - [website] Improve job og image (#41672) @oliviertassinari
620
+ - [website] Page <title> should have no dots @oliviertassinari
621
+
622
+ All contributors of this release in alphabetical order: @aarongarciah, @adriancuadrado, @alexfauquette, @bharatkashyap, @brijeshb42, @connorshea, @danilo-leal, @DiegoAndai, @iammminzzy, @Janpot, @JCQuintas, @levigunz, @mnajdova, @oliviertassinari, @ppaskaris-plooto, @siriwatknp, @skmanoj322, @zanivan, @ZeeshanTamboli
623
+
624
+ ## v6.0.0-alpha.0
625
+
626
+ <!-- generated comparing v5.15.14..next -->
627
+
628
+ _Mar 26, 2024_
629
+
630
+ A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
631
+
632
+ - 🔥 Converted 10+ Material UI components to support static CSS extraction
633
+ - ⬅️ Added RTL support in Pigment CSS (#41570) @brijeshb42
634
+
635
+ ### `@mui/material@6.0.0-alpha.0`
636
+
637
+ - [BottomNavigation] Convert to support CSS extraction (#41612) @aacevski
638
+ - [AvatarGroup] Convert to support CSS extraction (#41485) @zanivan
639
+ - [Backdrop] Convert to support CSS extraction (#41581) @aacevski
640
+ - [Breadcrumbs] Convert to support CSS extraction (#41496) @aacevski
641
+ - [Card] Convert to support CSS extraction (#41580) @aacevski
642
+ - [Divider] Convert to support CSS extraction (#41366) @sai6855
643
+ - [FormControl] Convert to support CSS extraction (#41613) @aacevski
644
+ - [FormGroup] Convert to support CSS extraction (#41614) @aacevski
645
+ - [MobileStepper] Convert to support CSS extraction (#41533) @aacevski
646
+ - [Modal] Support CSS extraction (#41483) @sai6855
647
+ - [Popover] Convert to support CSS extraction (#41564) @aacevski
648
+ - [Stepper] Convert to support CSS extraction (#41546) @aacevski
649
+ - [Autocomplete] Display options provided to the `options` prop even if loading is true (#41634) @nekoya
650
+ - [Backdrop] Deprecate TransitionComponent (#40677) @harry-whorlow
651
+ - [ButtonGroup] Deprecate composed classes (#41259) @sai6855
652
+ - [StepLabel] Deprecate `componentProps` prop (#41321) @sai6855
653
+ - [Chip] Convert to support CSS extraction (#41592) @DiegoAndai
654
+
655
+ ### `@pigment-css/react@0.0.4`
656
+
657
+ - Fix evaluation of undefined variables (#41569) @siriwatknp
658
+ - Fix react-modal demos location (#41560) @sai6855
659
+ - [react] RTL Support (#41570) @brijeshb42
660
+
661
+ ### `@mui/system@6.0.0-alpha.0`
662
+
663
+ - [core] Standardize index pattern (#41574) @DiegoAndai
664
+ - Fix typo to avoid infinite recursion in function call (#41616) @michael-land
665
+ - Move stylesheet generator to `extendTheme` (#41446) @siriwatknp
666
+
667
+ ### Docs
668
+
669
+ - [joy-ui] Refresh the marketing example on the Color Inversion page (#41497) @cipherlogs
670
+ - [material-ui] Add v5 to v6 migration guide (#41561) @DiegoAndai
671
+ - [system] Add v5 to v6 migration guide (#41575) @DiegoAndai
672
+ - [material-ui][Slider] Remove `valueLabelFormat` from restricted values demo so that the tooltip thumb label displays the same as the value text (#41567) @StylesTrip
673
+ - [pigment-css] Update the RTL section on the readme (#41576) @danilo-leal
674
+
675
+ ### Core
676
+
677
+ - [blog] Update the callout (#41645) @cherniavskii
678
+ - [blog] Link to Romain's blog post in MUI X v7 announcement post (#41640) @cherniavskii
679
+ - [blog] Blog post with MUI X v7.0.0 annoucement (#41563) @joserodolfofreitas
680
+ - [blog] Add post about remote (#41565) @danilo-leal
681
+ - [core] Restore the pnpm-lock.yaml (#41643) @mnajdova
682
+ - [core] Fix failing CI steps (#41636) @mnajdova
683
+ - [core] Update browser support versions (#41568) @siriwatknp
684
+ - [core] Add instructions to deploying docs guide (#41582) @DiegoAndai
685
+ - [core] Add comment explaining the frequency of no-response action runs (#41555) @michaldudak
686
+ - [core] Init the next branch (#41552) @mnajdova
687
+ - [core] Lower the frequency of no-response action runs (#41553) @michaldudak
688
+ - [core] Update peerDependencies ranges to include v6 packages (#41662) @michaldudak
689
+ - [core] Run pnpm dedupe (#41658) @michaldudak
690
+ - [core] Fix dedupe check (#41657) @Janpot
691
+ - [pigment-css][demo] Add index page for material-ui (#41577) @brijeshb42
692
+ - [pigment-css][demo] Remove app specific pnpm workspace (#41393) @brijeshb42
693
+ - [docs] Add notification for MUI X v7 blog post (#41587) @cherniavskii
694
+ - [docs] MUI X v7 blog post annoucement followup (#41601) @joserodolfofreitas
695
+ - [docs] Update the installation guides to use the next tag (#41558) @mnajdova
696
+ - [docs][material-ui] Fix typo in CSS theme variables customization (#41632) @ZeeshanTamboli
697
+ - [material-ui][docs] Remove deleted page from the sidenav (#41594) @danilo-leal
698
+ - [website] Update pricing table (#41595) @cherniavskii
699
+ - [website] Add stray design adjustments throughout the site (#41547) @danilo-leal
700
+
701
+ All contributors of this release in alphabetical order: @aacevski, @brijeshb42, @cherniavskii, @cipherlogs, @danilo-leal, @DiegoAndai, @harry-whorlow, @Janpot, @joserodolfofreitas, @michael-land, @michaldudak, @mnajdova, @nekoya, @sai6855, @siriwatknp, @StylesTrip, @zanivan, @ZeeshanTamboli
190
702
 
191
703
  ## v5.15.15
192
704
 
@@ -237,7 +749,7 @@ _Mar 18, 2024_
237
749
  A big thanks to the 15 contributors who made this release possible.
238
750
  This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
239
751
 
240
- ### `@mui/material@5.15.13`
752
+ ### `@mui/material@5.15.14`
241
753
 
242
754
  - [Accordion] Convert to support CSS extraction (#41221) @mnajdova
243
755
  - &#8203;<!-- 24 -->[Autocomplete] Convert to support CSS extraction (#40330) @mnajdova
@@ -1042,7 +1554,7 @@ A big thanks to the 22 contributors who made this release possible. Here are som
1042
1554
  - [material-ui] Revise the Alert demo page (#34892) @samuelsycamore
1043
1555
  - [material-ui] Revise the Accordion page (#40284) @anle9650
1044
1556
  - [material-ui] Add docs for complementary Card components (#40346) @anle9650
1045
- - [material-ui] Add Material 3 components page (#40350) @DiegoAndai
1557
+ - [material-ui] Add Material Design 3 components page (#40350) @DiegoAndai
1046
1558
  - Fix strange italic style @oliviertassinari
1047
1559
  - Fix references to ESLint @oliviertassinari
1048
1560
  - Fix 301 redirections @oliviertassinari
@@ -13206,7 +13718,7 @@ Here are some highlights ✨:
13206
13718
 
13207
13719
  1. `stable` (default, formerly `esm`) which targets a snapshot (on release) of `> 0.5%, last 2 versions, Firefox ESR, not dead, not IE 11"`
13208
13720
  2. `node` (formerly default) which targets a snapshot (on release) of `maintained node versions`
13209
- 3. `legacy` (new) which is `stable` + IE11
13721
+ 3. `legacy` (new) which is `stable` + IE 11
13210
13722
  4. `modern` (formerly `es`) which targets the last 1 version of evergreen browsers and active node (currently that is 14
13211
13723
 
13212
13724
  The change yields a 6% reduction in bundle size 📦 (Babel only).
@@ -1,4 +1,3 @@
1
- import _extends from "@babel/runtime/helpers/esm/extends";
2
1
  import * as React from 'react';
3
2
  import PropTypes from 'prop-types';
4
3
  import { exactProp } from '@mui/utils';
@@ -18,7 +17,10 @@ function mergeOuterLocalTheme(outerTheme, localTheme) {
18
17
  }
19
18
  return mergedTheme;
20
19
  }
21
- return _extends({}, outerTheme, localTheme);
20
+ return {
21
+ ...outerTheme,
22
+ ...localTheme
23
+ };
22
24
  }
23
25
 
24
26
  /**
@@ -38,7 +40,9 @@ function ThemeProvider(props) {
38
40
  }
39
41
  }
40
42
  const theme = React.useMemo(() => {
41
- const output = outerTheme === null ? localTheme : mergeOuterLocalTheme(outerTheme, localTheme);
43
+ const output = outerTheme === null ? {
44
+ ...localTheme
45
+ } : mergeOuterLocalTheme(outerTheme, localTheme);
42
46
  if (output != null) {
43
47
  output[nested] = outerTheme !== null;
44
48
  }
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/private-theming v5.15.20
2
+ * @mui/private-theming v6.0.0-alpha.11
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -1,4 +1,3 @@
1
- import _extends from "@babel/runtime/helpers/esm/extends";
2
1
  import * as React from 'react';
3
2
  import PropTypes from 'prop-types';
4
3
  import { exactProp } from '@mui/utils';
@@ -18,7 +17,10 @@ function mergeOuterLocalTheme(outerTheme, localTheme) {
18
17
  }
19
18
  return mergedTheme;
20
19
  }
21
- return _extends({}, outerTheme, localTheme);
20
+ return {
21
+ ...outerTheme,
22
+ ...localTheme
23
+ };
22
24
  }
23
25
 
24
26
  /**
@@ -38,7 +40,9 @@ function ThemeProvider(props) {
38
40
  }
39
41
  }
40
42
  const theme = React.useMemo(() => {
41
- const output = outerTheme === null ? localTheme : mergeOuterLocalTheme(outerTheme, localTheme);
43
+ const output = outerTheme === null ? {
44
+ ...localTheme
45
+ } : mergeOuterLocalTheme(outerTheme, localTheme);
42
46
  if (output != null) {
43
47
  output[nested] = outerTheme !== null;
44
48
  }
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/private-theming v5.15.20
2
+ * @mui/private-theming v6.0.0-alpha.11
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -3,7 +3,8 @@ import ThemeContext from './ThemeContext';
3
3
  export default function useTheme() {
4
4
  const theme = React.useContext(ThemeContext);
5
5
  if (process.env.NODE_ENV !== 'production') {
6
- // eslint-disable-next-line react-hooks/rules-of-hooks
6
+ // TODO: uncomment once we enable eslint-plugin-react-compiler eslint-disable-next-line react-compiler/react-compiler
7
+ // eslint-disable-next-line react-hooks/rules-of-hooks -- It's not required to run React.useDebugValue in production
7
8
  React.useDebugValue(theme);
8
9
  }
9
10
  return theme;
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.default = void 0;
8
- var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
8
  var React = _interopRequireWildcard(require("react"));
10
9
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
10
  var _utils = require("@mui/utils");
@@ -14,7 +13,7 @@ var _useTheme = _interopRequireDefault(require("../useTheme"));
14
13
  var _nested = _interopRequireDefault(require("./nested"));
15
14
  var _jsxRuntime = require("react/jsx-runtime");
16
15
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
17
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
16
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
17
  // To support composition of theme.
19
18
  function mergeOuterLocalTheme(outerTheme, localTheme) {
20
19
  if (typeof localTheme === 'function') {
@@ -26,7 +25,10 @@ function mergeOuterLocalTheme(outerTheme, localTheme) {
26
25
  }
27
26
  return mergedTheme;
28
27
  }
29
- return (0, _extends2.default)({}, outerTheme, localTheme);
28
+ return {
29
+ ...outerTheme,
30
+ ...localTheme
31
+ };
30
32
  }
31
33
 
32
34
  /**
@@ -46,7 +48,9 @@ function ThemeProvider(props) {
46
48
  }
47
49
  }
48
50
  const theme = React.useMemo(() => {
49
- const output = outerTheme === null ? localTheme : mergeOuterLocalTheme(outerTheme, localTheme);
51
+ const output = outerTheme === null ? {
52
+ ...localTheme
53
+ } : mergeOuterLocalTheme(outerTheme, localTheme);
50
54
  if (output != null) {
51
55
  output[_nested.default] = outerTheme !== null;
52
56
  }
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/private-theming v5.15.20
2
+ * @mui/private-theming v6.0.0-alpha.11
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -41,4 +41,4 @@ Object.keys(_ThemeProvider).forEach(function (key) {
41
41
  });
42
42
  var _useTheme = _interopRequireDefault(require("./useTheme"));
43
43
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
44
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
44
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var React = _interopRequireWildcard(require("react"));
8
8
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
9
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
9
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
10
10
  const ThemeContext = /*#__PURE__*/React.createContext(null);
11
11
  if (process.env.NODE_ENV !== 'production') {
12
12
  ThemeContext.displayName = 'ThemeContext';
@@ -8,11 +8,12 @@ exports.default = useTheme;
8
8
  var React = _interopRequireWildcard(require("react"));
9
9
  var _ThemeContext = _interopRequireDefault(require("./ThemeContext"));
10
10
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
11
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
11
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
12
12
  function useTheme() {
13
13
  const theme = React.useContext(_ThemeContext.default);
14
14
  if (process.env.NODE_ENV !== 'production') {
15
- // eslint-disable-next-line react-hooks/rules-of-hooks
15
+ // TODO: uncomment once we enable eslint-plugin-react-compiler eslint-disable-next-line react-compiler/react-compiler
16
+ // eslint-disable-next-line react-hooks/rules-of-hooks -- It's not required to run React.useDebugValue in production
16
17
  React.useDebugValue(theme);
17
18
  }
18
19
  return theme;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/private-theming",
3
- "version": "5.15.20",
3
+ "version": "6.0.0-alpha.11",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "Private - The React theme context to be shared between `@mui/styles` and `@mui/material`.",
@@ -26,9 +26,9 @@
26
26
  "url": "https://opencollective.com/mui-org"
27
27
  },
28
28
  "dependencies": {
29
- "@babel/runtime": "^7.23.9",
29
+ "@babel/runtime": "^7.24.7",
30
30
  "prop-types": "^15.8.1",
31
- "@mui/utils": "^5.15.20"
31
+ "@mui/utils": "^6.0.0-alpha.11"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "@types/react": "^17.0.0 || ^18.0.0",
@@ -3,7 +3,8 @@ import ThemeContext from './ThemeContext';
3
3
  export default function useTheme() {
4
4
  const theme = React.useContext(ThemeContext);
5
5
  if (process.env.NODE_ENV !== 'production') {
6
- // eslint-disable-next-line react-hooks/rules-of-hooks
6
+ // TODO: uncomment once we enable eslint-plugin-react-compiler eslint-disable-next-line react-compiler/react-compiler
7
+ // eslint-disable-next-line react-hooks/rules-of-hooks -- It's not required to run React.useDebugValue in production
7
8
  React.useDebugValue(theme);
8
9
  }
9
10
  return theme;
@@ -1,63 +0,0 @@
1
- import _extends from "@babel/runtime/helpers/esm/extends";
2
- import * as React from 'react';
3
- import PropTypes from 'prop-types';
4
- import { exactProp } from '@mui/utils';
5
- import ThemeContext from '../useTheme/ThemeContext';
6
- import useTheme from '../useTheme';
7
- import nested from './nested';
8
-
9
- // To support composition of theme.
10
- import { jsx as _jsx } from "react/jsx-runtime";
11
- function mergeOuterLocalTheme(outerTheme, localTheme) {
12
- if (typeof localTheme === 'function') {
13
- var mergedTheme = localTheme(outerTheme);
14
- if (process.env.NODE_ENV !== 'production') {
15
- if (!mergedTheme) {
16
- console.error(['MUI: You should return an object from your theme function, i.e.', '<ThemeProvider theme={() => ({})} />'].join('\n'));
17
- }
18
- }
19
- return mergedTheme;
20
- }
21
- return _extends({}, outerTheme, localTheme);
22
- }
23
-
24
- /**
25
- * This component takes a `theme` prop.
26
- * It makes the `theme` available down the React tree thanks to React context.
27
- * This component should preferably be used at **the root of your component tree**.
28
- */
29
- function ThemeProvider(props) {
30
- var children = props.children,
31
- localTheme = props.theme;
32
- var outerTheme = useTheme();
33
- if (process.env.NODE_ENV !== 'production') {
34
- if (outerTheme === null && typeof localTheme === 'function') {
35
- console.error(['MUI: You are providing a theme function prop to the ThemeProvider component:', '<ThemeProvider theme={outerTheme => outerTheme} />', '', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\n'));
36
- }
37
- }
38
- var theme = React.useMemo(function () {
39
- var output = outerTheme === null ? localTheme : mergeOuterLocalTheme(outerTheme, localTheme);
40
- if (output != null) {
41
- output[nested] = outerTheme !== null;
42
- }
43
- return output;
44
- }, [localTheme, outerTheme]);
45
- return /*#__PURE__*/_jsx(ThemeContext.Provider, {
46
- value: theme,
47
- children: children
48
- });
49
- }
50
- process.env.NODE_ENV !== "production" ? ThemeProvider.propTypes = {
51
- /**
52
- * Your component tree.
53
- */
54
- children: PropTypes.node,
55
- /**
56
- * A theme object. You can provide a function to extend the outer theme.
57
- */
58
- theme: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired
59
- } : void 0;
60
- if (process.env.NODE_ENV !== 'production') {
61
- process.env.NODE_ENV !== "production" ? ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) : void 0;
62
- }
63
- export default ThemeProvider;
@@ -1,2 +0,0 @@
1
- export { default } from './ThemeProvider';
2
- export { default as unstable_nested } from './nested';
@@ -1,2 +0,0 @@
1
- var hasSymbol = typeof Symbol === 'function' && Symbol.for;
2
- export default hasSymbol ? Symbol.for('mui.nested') : '__THEME_NESTED__';
package/legacy/index.js DELETED
@@ -1,10 +0,0 @@
1
- /**
2
- * @mui/private-theming v5.15.20
3
- *
4
- * @license MIT
5
- * This source code is licensed under the MIT license found in the
6
- * LICENSE file in the root directory of this source tree.
7
- */
8
- export { default as ThemeProvider } from './ThemeProvider';
9
- export * from './ThemeProvider';
10
- export { default as useTheme } from './useTheme';
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- var ThemeContext = /*#__PURE__*/React.createContext(null);
3
- if (process.env.NODE_ENV !== 'production') {
4
- ThemeContext.displayName = 'ThemeContext';
5
- }
6
- export default ThemeContext;
@@ -1 +0,0 @@
1
- export { default } from './useTheme';
@@ -1,10 +0,0 @@
1
- import * as React from 'react';
2
- import ThemeContext from './ThemeContext';
3
- export default function useTheme() {
4
- var theme = React.useContext(ThemeContext);
5
- if (process.env.NODE_ENV !== 'production') {
6
- // eslint-disable-next-line react-hooks/rules-of-hooks
7
- React.useDebugValue(theme);
8
- }
9
- return theme;
10
- }