@mui/private-theming 6.0.0-alpha.8 → 6.0.0-beta.0
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 +407 -3
- package/ThemeProvider/ThemeProvider.js +3 -1
- package/index.js +1 -1
- package/modern/ThemeProvider/ThemeProvider.js +3 -1
- package/modern/index.js +1 -1
- package/modern/useTheme/useTheme.js +2 -1
- package/node/ThemeProvider/ThemeProvider.js +3 -1
- package/node/index.js +1 -1
- package/node/useTheme/useTheme.js +2 -1
- package/package.json +3 -3
- package/useTheme/useTheme.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,409 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## v6.0.0-beta.0
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v6.0.0-alpha.14..next -->
|
|
6
|
+
|
|
7
|
+
_Jul 11, 2024_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
|
|
11
|
+
- 🎉 This is the first v6 beta release! A huge thanks to everyone who helped to make this happen! The target date for a stable release is the 28th of July. The next month will be used to polish v6, and ease the migration from v5. You can follow the [v6 stable milestone](https://github.com/mui/material-ui/milestone/42) for more details.
|
|
12
|
+
- 🚀 All planned breaking changes are completed.
|
|
13
|
+
|
|
14
|
+
### `@mui/material@v6.0.0-beta.0`
|
|
15
|
+
|
|
16
|
+
- Revert deprecation warnings for `*Components` and `*Props` for v6 (#42466) @lhilgert9
|
|
17
|
+
- Performance: lazy Ripple (#41061) @romgrk
|
|
18
|
+
- [AppBar] Fix inherit color is inconsistent between ThemeProvider and CssVarsProvider (#42714) @ZeeshanTamboli
|
|
19
|
+
- [Autocomplete] Add new AutocompleteInputChangeReason (#37301) @binh1298
|
|
20
|
+
|
|
21
|
+
### `@mui/material-pigment-css@v6.0.0-beta.0`
|
|
22
|
+
|
|
23
|
+
- Create a wrapper package over Pigment CSS (#42819) @brijeshb42
|
|
24
|
+
|
|
25
|
+
### `@mui/base@5.0.0-beta.53`
|
|
26
|
+
|
|
27
|
+
- [Autocomplete] Add new AutocompleteInputChangeReason (#37301) @binh1298
|
|
28
|
+
|
|
29
|
+
### Docs
|
|
30
|
+
|
|
31
|
+
- Replace v6 "alpha" mentions with "beta" (#42895) @DiegoAndai
|
|
32
|
+
- Fix typos (#42862) @omahs
|
|
33
|
+
- Fix issues reported by react compiler in docs folder (#42881) @sai6855
|
|
34
|
+
- Fix 301 @oliviertassinari
|
|
35
|
+
- [LinearProgress] Fix buffer demo (#42858) @mbrookes
|
|
36
|
+
- Adjust site to add Toolpad on the homepage (#38604) @bharatkashyap
|
|
37
|
+
|
|
38
|
+
### Core
|
|
39
|
+
|
|
40
|
+
- Fix imports in `Demo` component (#42857) @LukasTy
|
|
41
|
+
- Use @mui/docs/HighlightedCodeWithTabs in markdown (#42841) @Janpot
|
|
42
|
+
- Simpler pnpm dedupe error message to act on @oliviertassinari
|
|
43
|
+
- Fix split infinitive use in tests @oliviertassinari
|
|
44
|
+
- [lab] Fix issues reported by react-compiler in mui-lab (#42880) @sai6855
|
|
45
|
+
|
|
46
|
+
All contributors of this release in alphabetical order: @bharatkashyap, @brijeshb42, @DiegoAndai, @Janpot, @lhilgert9, @LukasTy, @mbrookes, @oliviertassinari, @omahs, @romgrk, @sai6855, @ZeeshanTamboli
|
|
47
|
+
|
|
48
|
+
## v6.0.0-alpha.14
|
|
49
|
+
|
|
50
|
+
<!-- generated comparing v6.0.0-alpha.13..next -->
|
|
51
|
+
|
|
52
|
+
_Jul 3, 2024_
|
|
53
|
+
|
|
54
|
+
A big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
|
|
55
|
+
|
|
56
|
+
- ✨ Updated Grid v2 to match PigmentGrid (#42742) @DiegoAndai
|
|
57
|
+
|
|
58
|
+
### `@mui/material@v6.0.0-alpha.14`
|
|
59
|
+
|
|
60
|
+
#### BREAKING CHANGES
|
|
61
|
+
|
|
62
|
+
- [Grid] Update Grid props to match PigmentGrid (#42742) @DiegoAndai
|
|
63
|
+
|
|
64
|
+
Use the codemod below to migrate the props:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
npx @mui/codemod@next v6.0.0/grid-v2-props /path/to/folder
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
#### Changes
|
|
71
|
+
|
|
72
|
+
- [Alert] Add ability to override slot props (#42787) @alexey-kozlenkov
|
|
73
|
+
- [Dialog] Revert incorrect textAlign style removal (#42778) @DiegoAndai
|
|
74
|
+
- [theme] Support `CssVarsTheme` in `responsiveFontSizes` return type (#42786) @jxdp
|
|
75
|
+
|
|
76
|
+
### Docs
|
|
77
|
+
|
|
78
|
+
- [material-ui] Add some writing tweaks to v6 migration page (#42623) @danilo-leal
|
|
79
|
+
- [material-ui] Fix issues reported by react-compiler in docs folder (#42830) @sai6855
|
|
80
|
+
- [material-ui] Add some writing tweaks to v6 migration page (#42623) @danilo-leal
|
|
81
|
+
- [base-ui] Fix wrong description for `UseTabParameters.onChange` (#42749) @ohgree
|
|
82
|
+
- Fix 301 MDN redirections @oliviertassinari
|
|
83
|
+
|
|
84
|
+
### Core
|
|
85
|
+
|
|
86
|
+
- [core] Bump React to 18.3.1 (#42047) @renovate[bot]
|
|
87
|
+
- [core] Revert lint for `useThemeProps` (#42817) @siriwatknp
|
|
88
|
+
- [core] Remove useIsFocusVisible util (#42467) @DiegoAndai
|
|
89
|
+
- [core] Remove react-test-renderer (#42784) @aarongarciah
|
|
90
|
+
- [core][mui-utils] Remove remaining IE11 references (#42777) @DiegoAndai
|
|
91
|
+
- [code-infra] Move `HighlightedCode` test into `@mui/docs` package (#42835) @LukasTy
|
|
92
|
+
- [code-infra] Cleanup `@mui/docs` usage and legacy re-exports (#42833) @LukasTy
|
|
93
|
+
- [docs-infra] Fix React Compiler ESLint issues in website components (#42566) @aarongarciah
|
|
94
|
+
- [docs-infra] Add batch of design polish (#42823) @danilo-leal
|
|
95
|
+
- [test][mui-utils] Remove usages of deprecated react-dom APIs (#42780) @aarongarciah
|
|
96
|
+
- [test][joy-ui][Autocomplete] Fix spread key error in test (#42775) @aarongarciah
|
|
97
|
+
|
|
98
|
+
All contributors of this release in alphabetical order: @aarongarciah, @alexey-kozlenkov, @danilo-leal, @DiegoAndai, @Janpot, @jxdp, @LukasTy, @ohgree, @oliviertassinari, @renovate[bot], @sai6855, @siriwatknp
|
|
99
|
+
|
|
100
|
+
## v6.0.0-alpha.13
|
|
101
|
+
|
|
102
|
+
<!-- generated comparing v6.0.0-alpha.12..next -->
|
|
103
|
+
|
|
104
|
+
_Jun 27, 2024_
|
|
105
|
+
|
|
106
|
+
A big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
|
|
107
|
+
|
|
108
|
+
- 🚀 Added layout components for Pigment CSS integration (#42693) @siriwatknp
|
|
109
|
+
|
|
110
|
+
### `@mui/material@6.0.0-alpha.13`
|
|
111
|
+
|
|
112
|
+
- [Autocomplete] Fix more React 18.3 key spread warnings in demos (#42639) @wbt
|
|
113
|
+
- [Container][Grid][Stack][Hidden] Export Pigment CSS layout components (#42693) @siriwatknp
|
|
114
|
+
- [Text Field] when click password visibility button, text caret position change to very front. (#42595) @appleSimple
|
|
115
|
+
- [Modal] migrate useSlotProps to useSLot (#42150) @sai6855
|
|
116
|
+
|
|
117
|
+
### `@mui/styles@6.0.0-alpha.13`
|
|
118
|
+
|
|
119
|
+
- [withStyles] Expect React defaultProps warning in test (#42752) @aarongarciah
|
|
120
|
+
|
|
121
|
+
### Docs
|
|
122
|
+
|
|
123
|
+
- Fix link in CONTRIBUTING.md (#42755) @Janpot
|
|
124
|
+
- Add documentation on migrating JSS's alternative, array-based syntax to syntax supported by Emotion (#42053) @cjl750
|
|
125
|
+
- Fix type error in virtualized table demo (#42757) @aarongarciah
|
|
126
|
+
- Add first batch of v6 migration (#42242) @siriwatknp
|
|
127
|
+
- Fix quotes on font-family dedeclaration in the Landing Page template theme (#42748) @joetats
|
|
128
|
+
|
|
129
|
+
### Core
|
|
130
|
+
|
|
131
|
+
- [code-infra] Refactor eslint `import/no-cycle` rule (#42705) @LukasTy
|
|
132
|
+
- [core] Target direct version for prerelease (#42768) @siriwatknp
|
|
133
|
+
- [test] Remove enzyme (#42706) @aarongarciah
|
|
134
|
+
- [test] Remove createMount test util (#42703) @aarongarciah
|
|
135
|
+
- [website] Add Ale to team (#42764) @alelthomas
|
|
136
|
+
|
|
137
|
+
All contributors of this release in alphabetical order: @aarongarciah, @alelthomas, @appleSimple, @cjl750, @Janpot, @joetats, @LukasTy, @sai6855, @siriwatknp, @wbt
|
|
138
|
+
|
|
139
|
+
## v6.0.0-alpha.12
|
|
140
|
+
|
|
141
|
+
<!-- generated comparing v6.0.0-alpha.11..next -->
|
|
142
|
+
|
|
143
|
+
_Jun 24, 2024_
|
|
144
|
+
|
|
145
|
+
A big thanks to the 17 contributors who made this release possible.
|
|
146
|
+
|
|
147
|
+
### `@mui/material@6.0.0-alpha.12`
|
|
148
|
+
|
|
149
|
+
- Add `InitColorSchemeScript` for Next.js App Router (#42247) @siriwatknp
|
|
150
|
+
- [Autocomplete] Fix renderOption props type (#42689) @DiegoAndai
|
|
151
|
+
- [Autocomplete] Fix React 18.3 key spread warnings in Autocomplete demos (#42691) @aarongarciah
|
|
152
|
+
- Support Pigment CSS for `CssBaseline`, `ScopedCssBaseline` and `Popper` (#42640) @siriwatknp
|
|
153
|
+
- Add `DefaultPropsProvider` for Pigment CSS integration (#42638) @siriwatknp
|
|
154
|
+
- [Stepper] Generate class for nonLinear prop (#42620) @alexismo
|
|
155
|
+
- [Tab] Fix failing test (#42686) @aarongarciah
|
|
156
|
+
- [Tab] Deprecate iconWrapper class for icon class (#42647) @sai6855
|
|
157
|
+
- [TableSortLabel] Deprecate composed classes (#42281) @sai6855
|
|
158
|
+
- [usePagination] Update pagination `siblingsEnd` calculation logic (#42667) @Mini-ghost
|
|
159
|
+
|
|
160
|
+
### `@mui/codemod@6.0.0-alpha.12`
|
|
161
|
+
|
|
162
|
+
- Support dynamic props styled transformation (#42683) @siriwatknp
|
|
163
|
+
|
|
164
|
+
### `@mui/system@6.0.0-alpha.12`
|
|
165
|
+
|
|
166
|
+
- Fix issues reported by react compiler in `mui-system` package (#42637) @sai6855
|
|
167
|
+
- [useMediaQuery] Remove deprecated types (#42560) @aarongarciah
|
|
168
|
+
|
|
169
|
+
### `@mui/joy@5.0.0-beta.45`
|
|
170
|
+
|
|
171
|
+
- Fix issues reported by the React Compiler (#42671) @anuujj
|
|
172
|
+
- [Autocomplete] Fix React spread key warning (#42741) @aarongarciah
|
|
173
|
+
|
|
174
|
+
### `@mui/lab@6.0.0-alpha.12`
|
|
175
|
+
|
|
176
|
+
- [LoadingButton] Apply wrapping element to prevent React crash on Google page translation (#35198) @BartJanvanAssen
|
|
177
|
+
|
|
178
|
+
### Docs
|
|
179
|
+
|
|
180
|
+
- Fix git diff format in migration to v6 (#42711) @oliviertassinari
|
|
181
|
+
- Use new email for sponsoring @oliviertassinari
|
|
182
|
+
- Fix 301 links (#42697) @alexfauquette
|
|
183
|
+
- Normalize the capitalization of Design Kit @oliviertassinari
|
|
184
|
+
- Recommend setting HTML attribute instead of DOM property for RTL (#42599) @aarongarciah
|
|
185
|
+
- [material-ui][Select] Fix the `SelectAutoWidth` demo menu item value (#42648) @Danielkhakbaz
|
|
186
|
+
|
|
187
|
+
### Core
|
|
188
|
+
|
|
189
|
+
- [code-infra] Try disabling animations when taking screenshots (#42537) @Janpot
|
|
190
|
+
- [code-infra] Fix benchmark package (#42553) @Janpot
|
|
191
|
+
- [core] Replace enzyme in describeConformance (#42447) @DiegoAndai
|
|
192
|
+
- [docs-infra] Fix layout shift demo toolbar (#42743) @oliviertassinari
|
|
193
|
+
- [docs-infra] Fix visual look of in-house ad (#42735) @oliviertassinari
|
|
194
|
+
- [docs-infra] Add stray design polish (#42646) @danilo-leal
|
|
195
|
+
- [docs-infra] Fix wrong migration (#42675) @siriwatknp
|
|
196
|
+
- [docs-infra] Fine tune markdown elements design (#42643) @danilo-leal
|
|
197
|
+
- [docs-infra] Revamp the product switcher design (#42603) @danilo-leal
|
|
198
|
+
- [docs-infra] Allow Link component to receive the `role` attribute (#42629) @danilo-leal
|
|
199
|
+
- [infra] Add support donation button (#42499) @oliviertassinari
|
|
200
|
+
- [infra] Raise `tsconfig`/`tsc` target to `es2022` (#42645) @LukasTy
|
|
201
|
+
- [test] Fix tests on CI (#42670) @michaldudak
|
|
202
|
+
- [test] Fix issues reported by react-compiler in test packages (#42626) @sai6855
|
|
203
|
+
- [website] Add Armin to the team members (#42679) @arminmeh
|
|
204
|
+
- [website] Open Staff Engineer role for Pigment CSS (#42531) @mnajdova
|
|
205
|
+
|
|
206
|
+
All contributors of this release in alphabetical order: @aarongarciah, @alexfauquette, @alexismo, @anuujj, @arminmeh, @BartJanvanAssen, @Danielkhakbaz, @danilo-leal, @DiegoAndai, @Janpot, @LukasTy, @michaldudak, @Mini-ghost, @mnajdova, @oliviertassinari, @sai6855, @siriwatknp
|
|
207
|
+
|
|
208
|
+
## v6.0.0-alpha.11
|
|
209
|
+
|
|
210
|
+
<!-- generated comparing v6.0.0-alpha.10..next -->
|
|
211
|
+
|
|
212
|
+
_Jun 11, 2024_
|
|
213
|
+
|
|
214
|
+
A big thanks to the 18 contributors who made this release possible.
|
|
215
|
+
|
|
216
|
+
### `@mui/material@6.0.0-alpha.11`
|
|
217
|
+
|
|
218
|
+
- ​<!-- 38 -->[Autocomplete] Shouldn't resize when hovering (#42452) @ZeeshanTamboli
|
|
219
|
+
- ​<!-- 37 -->[Chip] Fix focus issue related with the Escape event (#41578) @shrilsharma
|
|
220
|
+
- ​<!-- 12 -->[Grid] Fix support for CSS variables (#42574) @oliviertassinari
|
|
221
|
+
- ​<!-- 11 -->[InputBase] Use `globalCss` for Pigment integration (#42431) @siriwatknp
|
|
222
|
+
- ​<!-- 10 -->Change React.ReactElement type from `any` to `unknown` (#42473) @sai6855
|
|
223
|
+
- ​<!-- 09 -->Integrate `extendSxProp` adapter (#42543) @siriwatknp
|
|
224
|
+
- ​<!-- 08 -->[Tab] Fix applying `iconWrapper` styles from theme and update its description (#42549) @sai6855
|
|
225
|
+
- ​<!-- 08 -->[pigment-css] Add `stringifyTheme` for Pigment CSS integration (#42476) @siriwatknp
|
|
226
|
+
|
|
227
|
+
### `@mui/system@6.0.0-alpha.11`
|
|
228
|
+
|
|
229
|
+
- ​<!-- 11 -->[Grid] Remove `disableEqualOverflow` by using `gap` (#42526) @DiegoAndai
|
|
230
|
+
- ​<!-- 07 -->[useMediaQuery] Drop Safari < 14 support (#42464) @aarongarciah
|
|
231
|
+
|
|
232
|
+
### `@mui/utils@6.0.0-alpha.11`
|
|
233
|
+
|
|
234
|
+
- ​<!-- 04 -->Allow passing `NaN` as `defaultValue` to `useControlled` (#41559) @iammminzzy
|
|
235
|
+
|
|
236
|
+
### `@mui/codemod@6.0.0-alpha.11`
|
|
237
|
+
|
|
238
|
+
- ​<!-- 39 -->Improve styled and sx prop transformation (#42598) @siriwatknp
|
|
239
|
+
- ​<!-- 36 -->Support more cases for sx-prop transformation (#42527) @siriwatknp
|
|
240
|
+
|
|
241
|
+
### `@mui/private-theming@6.0.0-alpha.11`
|
|
242
|
+
|
|
243
|
+
- ​<!-- 09 -->Fix issues reported by react compiler in `mui-private-theming` components (#42619) @sai6855
|
|
244
|
+
|
|
245
|
+
### Docs
|
|
246
|
+
|
|
247
|
+
- ​<!-- 31 -->Add `theme.applyStyles` and migrate docs (#42498) @siriwatknp
|
|
248
|
+
- ​<!-- 29 -->Fix dashboard template console error (#42594) @oliviertassinari
|
|
249
|
+
- ​<!-- 28 -->Migrate system props to `sx` prop (#42475) @siriwatknp
|
|
250
|
+
- ​<!-- 27 -->[material-ui]Fix duplicated sentence (#42521) @alexfauquette
|
|
251
|
+
- ​<!-- 22 -->[Grid] Fix docs spacing (#42573) @oliviertassinari
|
|
252
|
+
- ​<!-- 21 -->[joy-ui] Add Next.js App Router instructions on how to prevent flickering (#42514) @devnyxie
|
|
253
|
+
- ​<!-- 20 -->[joy-ui] Fix HTML tag without preformatting (#42525) @jacobmoshipco
|
|
254
|
+
- ​<!-- 19 -->[material-ui] Add docs for complementary stepper components (#41900) @anle9650
|
|
255
|
+
- ​<!-- 18 -->[material-ui] Fix typo on Sign-in/Sign-up templates (#42605) @zanivan
|
|
256
|
+
- ​<!-- 17 -->[material-ui] Add container queries docs (#42434) @siriwatknp
|
|
257
|
+
- ​<!-- 16 -->[material-ui] Fix ESLint error in Stepper demo (#42559) @aarongarciah
|
|
258
|
+
- ​<!-- 15 -->[material-ui] Shorten useMediaQuery subheading (#42561) @aarongarciah
|
|
259
|
+
- ​<!-- 14 -->[material-ui] Add a Refine example project (#42461) @necatiozmen
|
|
260
|
+
|
|
261
|
+
### Core
|
|
262
|
+
|
|
263
|
+
- ​<!-- 39 -->[website] Move the `React Engineer - X` role to future roles (#42532) @DanailH
|
|
264
|
+
- ​<!-- 35 -->[core] Allow `for..of` loops (#42600) @michaldudak
|
|
265
|
+
- ​<!-- 34 -->[core] Add comment about Object.js @oliviertassinari
|
|
266
|
+
- ​<!-- 33 -->[core] Disable eslint-plugin-react-compiler for Base (#42563) @aarongarciah
|
|
267
|
+
- ​<!-- 33 -->[core] Group Pigment CSS dependencies (#42174) @siriwatknp
|
|
268
|
+
- ​<!-- 32 -->[core] Configure eslint-plugin-react-compiler (#42555) @aarongarciah
|
|
269
|
+
- ​<!-- 31 -->[core] Skip charts animation for visual regression test (#42530) @alexfauquette
|
|
270
|
+
- ​<!-- 26 -->[docs-infra] Simplify click header (#42593) @oliviertassinari
|
|
271
|
+
- ​<!-- 25 -->[docs-infra] Add configurable jsdoc host variable (#42472) @tonygravell
|
|
272
|
+
- ​<!-- 25 -->[docs-infra] Add the Base UI logo with copy functionality (#42446) @danilo-leal
|
|
273
|
+
- ​<!-- 24 -->[docs-infra] Prevent link anchor when selecting text (#41994) @alexfauquette
|
|
274
|
+
- ​<!-- 23 -->[docs-infra] Add the Base UI logo with copy functionality (#42446) @danilo-leal
|
|
275
|
+
- ​<!-- 13 -->[examples] Remove Pigment CSS examples (#42471) @sai6855
|
|
276
|
+
- ​<!-- 06 -->[test] Restore pnpm tc command (#42572) @oliviertassinari
|
|
277
|
+
- ​<!-- 05 -->[test] Restore testing internal packages (#42519) @michaldudak
|
|
278
|
+
- ​<!-- 03 -->[website] Close Developer Advocate / Content Engineer role @oliviertassinari
|
|
279
|
+
- ​<!-- 02 -->[website] Remove blank line @oliviertassinari
|
|
280
|
+
- ​<!-- 01 -->[website] Fix mobile layout shift @oliviertassinari
|
|
281
|
+
|
|
282
|
+
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
|
|
283
|
+
|
|
284
|
+
## v6.0.0-alpha.10
|
|
285
|
+
|
|
286
|
+
<!-- generated comparing v6.0.0-alpha.9..next -->
|
|
287
|
+
|
|
288
|
+
_Jun 4, 2024_
|
|
289
|
+
|
|
290
|
+
A big thanks to the 7 contributors who made this release possible.
|
|
291
|
+
|
|
292
|
+
### `@mui/material@6.0.0-alpha.10`
|
|
293
|
+
|
|
294
|
+
- ​<!-- 26 -->[Backdrop] Deprecate `components` and `componentsProps` (#42468) @DiegoAndai
|
|
295
|
+
- ​<!-- 25 -->[Collapse] Bound max transition time (#42390) @oliviertassinari
|
|
296
|
+
- ​<!-- 12 -->[FilledInput] Remove unapplied classes from filledInputClasses interface and add missing classes to root (#42082) @sai6855
|
|
297
|
+
- ​<!-- 11 -->[InputBase] Deprecate components and componentProps props for v6 (#42093) @ChronicusUA
|
|
298
|
+
- ​<!-- 10 -->Remove remaining IE11 code (#42283) @DiegoAndai
|
|
299
|
+
- ​<!-- 09 -->[Modal] Deprecate `components` and `componentsProps` (#42469) @DiegoAndai
|
|
300
|
+
- ​<!-- 08 -->[Popover] Migrate useSlotProps to useSlot (#42369) @sai6855
|
|
301
|
+
- ​<!-- 07 -->[useMediaQuery] Remove unused useMediaQueryTheme (#42367) @aarongarciah
|
|
302
|
+
|
|
303
|
+
### `@mui/system@6.0.0-alpha.10`
|
|
304
|
+
|
|
305
|
+
- ​<!-- 06 -->Remove IE11 code (#42436) @DiegoAndai
|
|
306
|
+
|
|
307
|
+
### Docs
|
|
308
|
+
|
|
309
|
+
- ​<!-- 23 -->Reflect Base UI and MUI System in a different repository @oliviertassinari
|
|
310
|
+
- ​<!-- 22 -->Update twitter.com to x.com @oliviertassinari
|
|
311
|
+
- ​<!-- 21 -->Simplify Example projects page @oliviertassinari
|
|
312
|
+
- ​<!-- 17 -->[icons] Update README and docs page (#41938) @danilo-leal
|
|
313
|
+
- ​<!-- 16 -->[material-ui] Add changelog section to the design kits page (#42449) @danilo-leal
|
|
314
|
+
- ​<!-- 15 -->[material-ui] Fix sentence in the All components page (#42336) @danilo-leal
|
|
315
|
+
- ​<!-- 14 -->[material-ui] Update Figma design kit doc redirect link (#42448) @danilo-leal
|
|
316
|
+
- ​<!-- 13 -->[system] Add "dynamic values" section to sx prop page (#42239) @aarongarciah
|
|
317
|
+
|
|
318
|
+
### Core
|
|
319
|
+
|
|
320
|
+
- ​<!-- 20 -->[docs-infra] Update the OG card image design (#42470) @danilo-leal
|
|
321
|
+
- ​<!-- 19 -->[docs-infra] Add small design polish (#42455) @danilo-leal
|
|
322
|
+
- ​<!-- 18 -->[docs-infra] Update the Material logo + add copy functionality (#42435) @danilo-leal
|
|
323
|
+
- ​<!-- 05 -->[website] Update DoiT description and link in Sponsors section (#42505) @erezstmn-doit
|
|
324
|
+
- ​<!-- 04 -->[website] Clean up the docs-infra job ad (#42504) @danilo-leal
|
|
325
|
+
- ​<!-- 03 -->[website] Fix FlashCode position (#42139) @oliviertassinari
|
|
326
|
+
- ​<!-- 02 -->[website] Open Docs-infra engineer role (#42101) @danilo-leal
|
|
327
|
+
- ​<!-- 01 -->[website] Fix locationCountry in about page @oliviertassinari
|
|
328
|
+
|
|
329
|
+
All contributors of this release in alphabetical order: @aarongarciah, @ChronicusUA, @danilo-leal, @DiegoAndai, @erezstmn-doit, @oliviertassinari, @sai6855
|
|
330
|
+
|
|
331
|
+
## v6.0.0-alpha.9
|
|
332
|
+
|
|
333
|
+
<!-- generated comparing v6.0.0-alpha.8..next -->
|
|
334
|
+
|
|
335
|
+
_May 29, 2024_
|
|
336
|
+
|
|
337
|
+
A big thanks to the 23 contributors who made this release possible. Here are some highlights ✨:
|
|
338
|
+
|
|
339
|
+
- 🚀 `CssVarsProvider` and `extendTheme` are now stable (#42246) @siriwatknp
|
|
340
|
+
|
|
341
|
+
### `@mui/material@6.0.0-alpha.9`
|
|
342
|
+
|
|
343
|
+
- ​<!-- 49 -->[AlertTitle] Enable extending Typography props (#42269) @lucasgmelo
|
|
344
|
+
- ​<!-- 48 -->[AvatarGroup] deprecate `componentsProps` for v6 (#42122) @lhilgert9
|
|
345
|
+
- ​<!-- 15 -->[Grid] Deprecate `wrap` prop (#42363) @fedirjh
|
|
346
|
+
- ​<!-- 14 -->[ListItem] Document `*Component` and `*Props` props deprecations (#42263) @aarongarciah
|
|
347
|
+
- ​<!-- 13 -->[ListItem] Deprecate ListItem's components and componentsProps (#42219) @aarongarciah
|
|
348
|
+
- ​<!-- 12 -->[ListItemSecondaryAction] Deprecate component (#42251) @aarongarciah
|
|
349
|
+
- ​<!-- 11 -->Stabilize `CssVarsProvider` and `extendTheme` (#42246) @siriwatknp
|
|
350
|
+
- ​<!-- 10 -->[Popper] Deprecate components and componentProps props for v6 (#42111) @ChronicusUA
|
|
351
|
+
- ​<!-- 09 -->[responsiveFontSizes] Handled undefined variants (#42412) @brijeshb42
|
|
352
|
+
- ​<!-- 08 -->[Slider] Fix wrong CSS value (#42370) @mnajdova
|
|
353
|
+
- ​<!-- 07 -->[Tooltip] Deprecate components and componentProps props for v6 (#42107) @ChronicusUA
|
|
354
|
+
|
|
355
|
+
### `@mui/system@6.0.0-alpha.9`
|
|
356
|
+
|
|
357
|
+
- ​<!-- 34 -->[createStyled] Intercept `ownerState` coming from `props` and `ownerState` (#42358) @DiegoAndai
|
|
358
|
+
|
|
359
|
+
### `@mui/codemod@6.0.0-alpha.9`
|
|
360
|
+
|
|
361
|
+
- ​<!-- 41 -->Add `sx` prop for v6 migration (#42153) @siriwatknp
|
|
362
|
+
- ​<!-- 40 -->Add codemod for removing system props (#42282) @siriwatknp
|
|
363
|
+
|
|
364
|
+
### Docs
|
|
365
|
+
|
|
366
|
+
- ​<!-- 33 -->Remove unused images (#42324) @danilo-leal
|
|
367
|
+
- ​<!-- 32 -->Add Pigment CSS and Base UI logos SVGs (#42322) @danilo-leal
|
|
368
|
+
- ​<!-- 22 -->[joy-ui] Fix template responsiveness (#42422) @j4marcos
|
|
369
|
+
- ​<!-- 21 -->[material-ui] Add the Pashto locale (#42244) @sayoubiaf
|
|
370
|
+
- ​<!-- 20 -->[material-ui] Remove duplicate Design Kits page (#42338) @danilo-leal
|
|
371
|
+
- ​<!-- 19 -->[material-ui] Document callback to access theme in GlobalStyles (#42257) @aarongarciah
|
|
372
|
+
- ​<!-- 18 -->[material-ui] Add minor modifications to the Vertical stepper demo (#42342) @mihilt
|
|
373
|
+
- ​<!-- 17 -->[material-ui][Tabs] Improve the Basic Tabs demo (#42374) @MatheusEli
|
|
374
|
+
- ​<!-- 16 -->[pigment-css] Polish redirection mention @oliviertassinari
|
|
375
|
+
|
|
376
|
+
### Core
|
|
377
|
+
|
|
378
|
+
- ​<!-- 47 -->[blog] Add fixes and clean ups to the Blog page (#42311) @danilo-leal
|
|
379
|
+
- ​<!-- 46 -->[blog] Add the "Product" tag to the Pigment CSS post (#42365) @danilo-leal
|
|
380
|
+
- ​<!-- 45 -->[code-infra] Simplify .stylelintrc.js @oliviertassinari
|
|
381
|
+
- ​<!-- 44 -->[code-infra] Fix stylelint locally (#42411) @oliviertassinari
|
|
382
|
+
- ​<!-- 43 -->[code-infra] Run corepack enable on all CI jobs (#42331) @Janpot
|
|
383
|
+
- ​<!-- 42 -->[code-infra] Create examples eslint rule (#42170) @oliviertassinari
|
|
384
|
+
- ​<!-- 39 -->[core] Apply React 19 type changes that don't require upcoming `@types/` packages (#42346) @DiegoAndai
|
|
385
|
+
- ​<!-- 38 -->[core] Remove `react-swipeable-views-utils` package from docs (#42378) @ZeeshanTamboli
|
|
386
|
+
- ​<!-- 37 -->[core] Update `@testing-library/react` and `@testing-library/dom` packages (#42349) @ZeeshanTamboli
|
|
387
|
+
- ​<!-- 36 -->[core] Remove `@types/prettier` package (#42339) @ZeeshanTamboli
|
|
388
|
+
- ​<!-- 35 -->[core] Remove `WyW-in-JS` from Renovate config (#42335) @ZeeshanTamboli
|
|
389
|
+
- ​<!-- 31 -->[docs-infra] Split feedback channels per product (#42413) @alexfauquette
|
|
390
|
+
- ​<!-- 30 -->[docs-infra] Avoid cryptic errors when tests don't exist (#42356) @Janpot
|
|
391
|
+
- ​<!-- 29 -->[docs-infra] Make menu styles consistent (#42387) @danilo-leal
|
|
392
|
+
- ​<!-- 28 -->[docs-infra] Display deprecation messages in API pages (#42352) @aarongarciah
|
|
393
|
+
- ​<!-- 27 -->[docs-infra] Standardize API pages Alert styles (#42386) @danilo-leal
|
|
394
|
+
- ​<!-- 26 -->[docs-infra] Fix Toolpad Core API links (#42362) @apedroferreira
|
|
395
|
+
- ​<!-- 25 -->[docs-infra] Tigthen up the header design (#42180) @danilo-leal
|
|
396
|
+
- ​<!-- 24 -->[docs-infra] Add Toolpad to muiNpmOrgs for codesandbox demos (#42316) @Janpot
|
|
397
|
+
- ​<!-- 23 -->[docs-infra] Allow JSDoc tags (#42337) @aarongarciah
|
|
398
|
+
- ​<!-- 06 -->[test] Remove `userAgent` override in `jsdom` env (#42344) @cherniavskii
|
|
399
|
+
- ​<!-- 05 -->[utils] Fix GitHub-reported prototype pollution vulnerability in `deepmerge` (#41652) @tjcouch-sil
|
|
400
|
+
- ​<!-- 04 -->[website] Add Nikita to the about page (#42418) @nikitaa24
|
|
401
|
+
- ​<!-- 03 -->[website] Fix hero spacing changes applying at the wrong breakpoint (#42341) @KenanYusuf
|
|
402
|
+
- ​<!-- 02 -->[website] Adds Kenan Yusuf to about page (#42317) @KenanYusuf
|
|
403
|
+
- ​<!-- 01 -->[website] Improve about page @oliviertassinari
|
|
404
|
+
|
|
405
|
+
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
|
|
406
|
+
|
|
3
407
|
## v6.0.0-alpha.8
|
|
4
408
|
|
|
5
409
|
<!-- generated comparing v6.0.0-alpha.7..next -->
|
|
@@ -18,7 +422,7 @@ This release was mostly about 🐛 bug fixes and 📚 documentation improvements
|
|
|
18
422
|
### Docs
|
|
19
423
|
|
|
20
424
|
- ​<!-- 08 -->[docs] Remove Base UI from the README (#42307) @danilo-leal
|
|
21
|
-
- ​<!-- 07 -->[docs][material-ui] Fix typo in style interoperability with Tailwind
|
|
425
|
+
- ​<!-- 07 -->[docs][material-ui] Fix typo in style interoperability with Tailwind CSS docs (#42279) @ZeeshanTamboli
|
|
22
426
|
- ​<!-- 06 -->[docs][material-ui] Add supported browsers section to migration guide (#42194) @DiegoAndai
|
|
23
427
|
- ​<!-- 05 -->[docs][material-ui][Pagination] Clarify pagination `page` prop API (#42220) @Mandar-Pandya
|
|
24
428
|
|
|
@@ -8730,7 +9134,7 @@ A big thanks to the 15 contributors who made this release possible. Here are som
|
|
|
8730
9134
|
|
|
8731
9135
|
- ​<!-- 27 -->[core] Rename mui/core to mui/base (#29585) @michaldudak
|
|
8732
9136
|
|
|
8733
|
-
Based on the results of the [poll](https://
|
|
9137
|
+
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.
|
|
8734
9138
|
|
|
8735
9139
|
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.
|
|
8736
9140
|
|
|
@@ -13147,7 +13551,7 @@ A big thanks to the 34 contributors who made this release possible. Here are som
|
|
|
13147
13551
|
```
|
|
13148
13552
|
|
|
13149
13553
|
- [Autocomplete] Remove `debug` in favor of `open` and dev tools (#23377) @eps1lon
|
|
13150
|
-
There are a couple of simpler alternatives: `open={true}`, Chrome devtools ["Emulate focused"](https://
|
|
13554
|
+
There are a couple of simpler alternatives: `open={true}`, Chrome devtools ["Emulate focused"](https://x.com/sulco/status/1305841873945272321), or React devtools props.
|
|
13151
13555
|
|
|
13152
13556
|
#### Changes
|
|
13153
13557
|
|
|
@@ -40,7 +40,9 @@ function ThemeProvider(props) {
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
const theme = React.useMemo(() => {
|
|
43
|
-
const output = outerTheme === null ?
|
|
43
|
+
const output = outerTheme === null ? {
|
|
44
|
+
...localTheme
|
|
45
|
+
} : mergeOuterLocalTheme(outerTheme, localTheme);
|
|
44
46
|
if (output != null) {
|
|
45
47
|
output[nested] = outerTheme !== null;
|
|
46
48
|
}
|
package/index.js
CHANGED
|
@@ -40,7 +40,9 @@ function ThemeProvider(props) {
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
const theme = React.useMemo(() => {
|
|
43
|
-
const output = outerTheme === null ?
|
|
43
|
+
const output = outerTheme === null ? {
|
|
44
|
+
...localTheme
|
|
45
|
+
} : mergeOuterLocalTheme(outerTheme, localTheme);
|
|
44
46
|
if (output != null) {
|
|
45
47
|
output[nested] = outerTheme !== null;
|
|
46
48
|
}
|
package/modern/index.js
CHANGED
|
@@ -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-
|
|
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;
|
|
@@ -48,7 +48,9 @@ function ThemeProvider(props) {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
const theme = React.useMemo(() => {
|
|
51
|
-
const output = outerTheme === null ?
|
|
51
|
+
const output = outerTheme === null ? {
|
|
52
|
+
...localTheme
|
|
53
|
+
} : mergeOuterLocalTheme(outerTheme, localTheme);
|
|
52
54
|
if (output != null) {
|
|
53
55
|
output[_nested.default] = outerTheme !== null;
|
|
54
56
|
}
|
package/node/index.js
CHANGED
|
@@ -12,7 +12,8 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
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-
|
|
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": "6.0.0-
|
|
3
|
+
"version": "6.0.0-beta.0",
|
|
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.24.
|
|
29
|
+
"@babel/runtime": "^7.24.7",
|
|
30
30
|
"prop-types": "^15.8.1",
|
|
31
|
-
"@mui/utils": "
|
|
31
|
+
"@mui/utils": "6.0.0-beta.0"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"@types/react": "^17.0.0 || ^18.0.0",
|
package/useTheme/useTheme.js
CHANGED
|
@@ -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-
|
|
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;
|