@mui/private-theming 7.0.0-alpha.1 → 7.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 +73 -0
- package/defaultTheme/index.js +5 -0
- package/esm/ThemeProvider/ThemeProvider.d.ts +6 -0
- package/esm/ThemeProvider/index.d.ts +2 -0
- package/esm/defaultTheme/index.d.ts +5 -0
- package/esm/defaultTheme/index.js +1 -0
- package/esm/index.d.ts +5 -0
- package/esm/index.js +1 -1
- package/esm/useTheme/index.d.ts +2 -0
- package/esm/useTheme/useTheme.d.ts +2 -0
- package/index.js +1 -1
- package/modern/defaultTheme/index.js +1 -0
- package/modern/index.js +1 -1
- package/package.json +6 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,78 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 7.0.0-beta.0
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v7.0.0-alpha.2..master -->
|
|
6
|
+
|
|
7
|
+
_Feb 26, 2025_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 8 contributors who made this release possible.
|
|
10
|
+
|
|
11
|
+
### `@mui/material@7.0.0-beta.0`
|
|
12
|
+
|
|
13
|
+
- [Modal][Dialog] Remove deprecated `onBackdropClick` (#45395) @DiegoAndai
|
|
14
|
+
- [Grid] Improve Grid2 upgrade experience (#45304) @DiegoAndai
|
|
15
|
+
- [Grid] Rename to GridLegacy (#45363) @DiegoAndai
|
|
16
|
+
- [Grid2] Rename to Grid (#45381) @DiegoAndai
|
|
17
|
+
- Remove SvgIcon data-testid in production (#45333) @Janpot
|
|
18
|
+
- Allow nested theme creation with `vars` (#45335) @siriwatknp
|
|
19
|
+
- [Rating] Deprecate \*Props and complete `slots`, `slotProps` (#45295) @harry-whorlow
|
|
20
|
+
- [Slider] Fix css class selector in migration guide (#45402) @sai6855
|
|
21
|
+
- [Slider] Fix spacings in .md files (#45388) @sai6855
|
|
22
|
+
- [styles] Remove deprecated exports (#45397) @DiegoAndai
|
|
23
|
+
- [Menu] Deprecate \*Props and complete `slots`, `slotProps` (#44913) @siriwatknp
|
|
24
|
+
- [StepButton] Remove StepIconButton type (#45396) @DiegoAndai
|
|
25
|
+
|
|
26
|
+
### Docs
|
|
27
|
+
|
|
28
|
+
- [Autocomplete] Remove unnecessary renderTags prop from Sizes demo (#45401) @ZeeshanTamboli
|
|
29
|
+
- Add `overriding-component-structure` doc to Material UI (#45186) @siriwatknp
|
|
30
|
+
- Fix typo in slider docs (#45390) @sai6855
|
|
31
|
+
- Fix Context Menu selection lost on Safari (#44903) @NooBat
|
|
32
|
+
|
|
33
|
+
### Core
|
|
34
|
+
|
|
35
|
+
- [code-infra] Fix types for @mui/styled-engine (#45413) @Janpot
|
|
36
|
+
- [docs-infra] Fix theme toggle call (#45400) @siriwatknp
|
|
37
|
+
- [docs-infra] Add `color-scheme` to document in iframe demos (#45406) @KenanYusuf
|
|
38
|
+
- [docs-infra] Revert to use deprecated `CssVarsProvider` for MUI X (#45371) @siriwatknp
|
|
39
|
+
- [docs-infra] Fix dark mode flicker for API pages (#45354) @siriwatknp
|
|
40
|
+
- [examples] Remove unnecessary comma in Material UI Vite JS example (#45370) @ZeeshanTamboli
|
|
41
|
+
- [test] Remove unused renderTags prop and fix key warning in Autocomplete regression test (#45410) @ZeeshanTamboli
|
|
42
|
+
|
|
43
|
+
All contributors of this release in alphabetical order: @DiegoAndai, @harry-whorlow, @Janpot, @KenanYusuf, @NooBat, @sai6855, @siriwatknp, @ZeeshanTamboli
|
|
44
|
+
|
|
45
|
+
## 7.0.0-alpha.2
|
|
46
|
+
|
|
47
|
+
<!-- generated comparing v7.0.0-alpha.1..master -->
|
|
48
|
+
|
|
49
|
+
_Feb 18, 2025_
|
|
50
|
+
|
|
51
|
+
A big thanks to the 9 contributors who made this release possible.
|
|
52
|
+
|
|
53
|
+
### `@mui/material@7.0.0-alpha.2`
|
|
54
|
+
|
|
55
|
+
- [Autocomplete] Remove legacy `aria-owns` attribute for combobox (#45302) @ZeeshanTamboli
|
|
56
|
+
- [Button] Apply id only if loading indicator is present (#45296) @aarongarciah
|
|
57
|
+
- [Hidden] Remove deprecated Hidden component (#45283) @DiegoAndai
|
|
58
|
+
- [InputBase] Deprecate composed classes (#45234) @sai6855
|
|
59
|
+
- [InputLabel] Changed size prop value from `normal` to `medium` (#45235) @perkrlsn
|
|
60
|
+
- Fix `slotProps.transition` types (#45214) @siriwatknp
|
|
61
|
+
|
|
62
|
+
### Docs
|
|
63
|
+
|
|
64
|
+
- Fix broken links to MUI X docs (#45145) @mapache-salvaje
|
|
65
|
+
- Add migration guide for package layout changes (#45222) @Janpot
|
|
66
|
+
- [icons] Fix typo in material-icons.md (#45334) @a-s-russo
|
|
67
|
+
|
|
68
|
+
### Core
|
|
69
|
+
|
|
70
|
+
- Disallow access to esm/modern barrel files (#45332) @Janpot
|
|
71
|
+
- [code-infra] Update `elliptic` (#45311) @Janpot
|
|
72
|
+
- Update release guide to specify package bumping rules (#45294) @DiegoAndai
|
|
73
|
+
|
|
74
|
+
All contributors of this release in alphabetical order: @a-s-russo, @aarongarciah, @DiegoAndai, @Janpot, @mapache-salvaje, @perkrlsn, @sai6855, @siriwatknp, @ZeeshanTamboli
|
|
75
|
+
|
|
3
76
|
## 7.0.0-alpha.1
|
|
4
77
|
|
|
5
78
|
<!-- generated comparing v7.0.0-alpha.0..master -->
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DefaultTheme } from "../defaultTheme/index.js";
|
|
2
|
+
export interface ThemeProviderProps<Theme = DefaultTheme> {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
theme: Partial<Theme> | ((outerTheme: Theme) => Theme);
|
|
5
|
+
}
|
|
6
|
+
export default function ThemeProvider<T = DefaultTheme>(props: ThemeProviderProps<T>): React.ReactElement<ThemeProviderProps<T>>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The default theme interface, augment this to avoid having to set the theme type everywhere.
|
|
3
|
+
* Our [TypeScript guide on theme customization](https://mui.com/material-ui/customization/theming/#custom-variables) explains in detail how you would add custom properties.
|
|
4
|
+
*/
|
|
5
|
+
export interface DefaultTheme {}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/esm/index.d.ts
ADDED
package/esm/index.js
CHANGED
package/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/modern/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/private-theming",
|
|
3
|
-
"version": "7.0.0-
|
|
3
|
+
"version": "7.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.26.
|
|
29
|
+
"@babel/runtime": "^7.26.9",
|
|
30
30
|
"prop-types": "^15.8.1",
|
|
31
|
-
"@mui/utils": "7.0.0-alpha.
|
|
31
|
+
"@mui/utils": "7.0.0-alpha.2"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
@@ -76,6 +76,8 @@
|
|
|
76
76
|
"types": "./modern/*/index.d.ts",
|
|
77
77
|
"default": "./modern/*/index.js"
|
|
78
78
|
}
|
|
79
|
-
}
|
|
79
|
+
},
|
|
80
|
+
"./esm": null,
|
|
81
|
+
"./modern": null
|
|
80
82
|
}
|
|
81
83
|
}
|