@mui/private-theming 6.0.0-beta.6 → 6.0.0-rc.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 +73 -0
- package/index.js +1 -1
- package/modern/index.js +1 -1
- package/node/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,78 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 6.0.0-rc.0
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v6.0.0-beta.6..next -->
|
|
6
|
+
|
|
7
|
+
_Aug 22, 2024_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
|
|
11
|
+
- ⚡ Rendering performance improvements
|
|
12
|
+
|
|
13
|
+
### `@mui/material@6.0.0-rc.0`
|
|
14
|
+
|
|
15
|
+
#### Breaking changes
|
|
16
|
+
|
|
17
|
+
- [Box] Remove `component` from `BoxOwnProps` (#43384) @DiegoAndai
|
|
18
|
+
|
|
19
|
+
The `component` prop has been removed from the `BoxOwnProps` as it is already included in the `Box` type.
|
|
20
|
+
This might affect your code if you are using the `styled` function with the `Box` component.
|
|
21
|
+
If this is the case, use a `div` element instead of `Box`:
|
|
22
|
+
|
|
23
|
+
```diff
|
|
24
|
+
-const StyledBox = styled(Box)`
|
|
25
|
+
+const StyledDiv = styled('div')`
|
|
26
|
+
color: white;
|
|
27
|
+
`;
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
This yields the same end result.
|
|
31
|
+
If this doesn't work for you, you can also cast the `styled` returned value to `typeof Box`:
|
|
32
|
+
|
|
33
|
+
```diff
|
|
34
|
+
const StyledBox = styled(Box)`
|
|
35
|
+
color: white;
|
|
36
|
+
-`;
|
|
37
|
+
+` as typeof Box;
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
#### Changes
|
|
41
|
+
|
|
42
|
+
- [ListItem] Remove unnecessary TypeScript test (#43359) @sai6855
|
|
43
|
+
- Skip generating CSS variables for a custom spacing function (#43389) @siriwatknp
|
|
44
|
+
- Revert visual regressions from #42283 (#43364) @ZeeshanTamboli
|
|
45
|
+
|
|
46
|
+
### `@mui/codemod@6.0.0-rc.0`
|
|
47
|
+
|
|
48
|
+
- Add Grid2 to removeSystemProps codemod (#43302) @DiegoAndai
|
|
49
|
+
|
|
50
|
+
### Docs
|
|
51
|
+
|
|
52
|
+
- [blog] Add video to the Pigment CSS blog post (#42500) @oliviertassinari
|
|
53
|
+
- Fix broken link to milestones (#43379) @oliviertassinari
|
|
54
|
+
- Update CSS theme variables related content (#43130) @siriwatknp
|
|
55
|
+
- Fix link to createTheme source (#43332) @oliviertassinari
|
|
56
|
+
- Add cache to avoid unnecessary jsx dynamic import and theme getting (#43139) @Vxee
|
|
57
|
+
- Fix broken link to Next.js docs @oliviertassinari
|
|
58
|
+
- [material-ui] Revamp `Composition` guide (#43266) @ZeeshanTamboli
|
|
59
|
+
- [material-ui][Menu] Replace `PaperProps` with `slotProps.paper` in demos (#43354) @sai6855
|
|
60
|
+
|
|
61
|
+
### Core
|
|
62
|
+
|
|
63
|
+
- [code-infra] Change docs:start script to serve the exports folder (#43375) @Janpot
|
|
64
|
+
- [core] Fix typescript-next CI workflow (#43394) @aarongarciah
|
|
65
|
+
- [core] Run `@mui/system` TypeScript module augmentation tests in CI (#43386) @ZeeshanTamboli
|
|
66
|
+
- [core] Enable manage-package-manager-versions pnpm flag (#43366) @aarongarciah
|
|
67
|
+
- [core] Replace `indexOf` with `includes` (#42883) @k-rajat19
|
|
68
|
+
- [docs-infra] Add GitHub source link to components (#43228) @Jay-Karia
|
|
69
|
+
- [docs-infra] Fix copy shortcut (#43361) @oliviertassinari
|
|
70
|
+
- [perf] Remove theme/styling allocations (#43372) @romgrk
|
|
71
|
+
- [perf] Improve `composeClasses` (#43363) @romgrk
|
|
72
|
+
- [perf] Remove system allocations (#43306) @romgrk
|
|
73
|
+
|
|
74
|
+
All contributors of this release in alphabetical order: @aarongarciah, @DiegoAndai, @Janpot, @Jay-Karia, @k-rajat19, @oliviertassinari, @rluzists1, @romgrk, @sai6855, @siriwatknp, @Vxee, @ZeeshanTamboli
|
|
75
|
+
|
|
3
76
|
## 6.0.0-beta.6
|
|
4
77
|
|
|
5
78
|
<!-- generated comparing v6.0.0-beta.5..next -->
|
package/index.js
CHANGED
package/modern/index.js
CHANGED
package/node/index.js
CHANGED
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-rc.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`.",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@babel/runtime": "^7.25.0",
|
|
30
30
|
"prop-types": "^15.8.1",
|
|
31
|
-
"@mui/utils": "6.0.0-
|
|
31
|
+
"@mui/utils": "6.0.0-rc.0"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|