@mui/styled-engine-sc 7.3.8 → 7.3.10
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 +86 -0
- package/GlobalStyles/GlobalStyles.d.ts +1 -1
- package/README.md +1 -1
- package/StyledEngineProvider/StyledEngineProvider.d.ts +1 -1
- package/esm/GlobalStyles/GlobalStyles.d.ts +1 -1
- package/esm/StyledEngineProvider/StyledEngineProvider.d.ts +1 -1
- package/esm/index.d.ts +11 -11
- package/esm/index.js +1 -1
- package/index.d.ts +11 -11
- package/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,91 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 7.3.10
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v7.3.9..v7.x -->
|
|
6
|
+
|
|
7
|
+
_Apr 8, 2026_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 15 contributors who made this release possible. A few highlights ✨:
|
|
10
|
+
|
|
11
|
+
- 📖 Added the Menubar component page to the docs.
|
|
12
|
+
|
|
13
|
+
### `@mui/material@7.3.10`
|
|
14
|
+
|
|
15
|
+
- [alert][dialog] Accessibility improvements (#48161) @silviuaavram
|
|
16
|
+
- [autocomplete] Add `root` slot (#47916) @GerardasB
|
|
17
|
+
- [autocomplete] Fix helper text focusing input when clicked (#48162) @mj12albert
|
|
18
|
+
- [autocomplete] Fix popup reopening on window focus regain with openOnFocus (#47914) @aman44444
|
|
19
|
+
- [autocomplete] Optimize selected option lookup (#48027) @anchmelev
|
|
20
|
+
- [autocomplete] Support full slots for clearIndicator and popupIndicator (#47913) @silviuaavram
|
|
21
|
+
- [button-base] Fix native button detection (#47994) @mj12albert
|
|
22
|
+
- [input] Fix high contrast cutoff on first character (#48160) @silviuaavram
|
|
23
|
+
- [list item text][card header] Revert cleanup of duplicated CSS rules (#47938) @sai6855
|
|
24
|
+
- [popper] Add missing classes export (#48033) @mj12albert
|
|
25
|
+
- [select] Fix focus visible always set on menu item (#48022) @silviuaavram
|
|
26
|
+
- [slider] Accept readonly array for the value prop (#47961) @pcorpet
|
|
27
|
+
- [switch] Add border to make it visible in high contrast mode (#48210) @silviuaavram
|
|
28
|
+
- [theme] Do not create channel tokens for custom colors when `nativeColor` is used (#48144) @ZeeshanTamboli
|
|
29
|
+
- [transitions] Performance improvements & misc fixes (#48217) @mj12albert
|
|
30
|
+
|
|
31
|
+
### Docs
|
|
32
|
+
|
|
33
|
+
- [codemod] Add v7 migration docs for deprecated Autocomplete APIs and Autocomplete codemod (#47954) @ZeeshanTamboli
|
|
34
|
+
- [menubar] Add Menubar component page (#47942) @siriwatknp
|
|
35
|
+
- [progress] Label all demo components (#48168) @mj12albert
|
|
36
|
+
- [system] Update `styled` API docs for easier understanding (#47969) @olivier-lxo
|
|
37
|
+
- Fix the dark mode footer row shadow for the Data Grid on the advanced components page (#48152) @arminmeh
|
|
38
|
+
- Fix MUI X redirects (#47917) @cherniavskii
|
|
39
|
+
- Use direct palette vars in Tailwind v4 snippet (#47955) @Ahmad-Alaziz
|
|
40
|
+
|
|
41
|
+
### Core
|
|
42
|
+
|
|
43
|
+
- [blog] Blogpost for upcoming price changes for MUI X (#47820) @DanailH
|
|
44
|
+
- [blog] Update the 2026 price changes blogpost (#47944) @DanailH
|
|
45
|
+
- [code-infra] Add pkg-pr-new as dev dependency (#48023) @silviuaavram
|
|
46
|
+
- [docs-infra] Update Release Instructions and Search Index v7 (#48109) @dav-is
|
|
47
|
+
|
|
48
|
+
All contributors of this release in alphabetical order: @Ahmad-Alaziz, @aman44444, @anchmelev, @arminmeh, @cherniavskii, @DanailH, @dav-is, @GerardasB, @mj12albert, @olivier-lxo, @pcorpet, @sai6855, @silviuaavram, @siriwatknp, @ZeeshanTamboli
|
|
49
|
+
|
|
50
|
+
## 7.3.9
|
|
51
|
+
|
|
52
|
+
<!-- generated comparing v7.3.8..v7.x -->
|
|
53
|
+
|
|
54
|
+
_Mar 5, 2026_
|
|
55
|
+
|
|
56
|
+
A big thanks to the 15 contributors who made this release possible.
|
|
57
|
+
|
|
58
|
+
### `@mui/material@7.3.9`
|
|
59
|
+
|
|
60
|
+
- Clean up duplicated CSS rules (#47893) @sai6855
|
|
61
|
+
- [theme] Generate `color-mix` value on top of default generated Material UI CSS variables (#47791) @ZeeshanTamboli
|
|
62
|
+
- [tooltip] Fix error is thrown when wrapping an input which is disabled while focused (#47841) @ZeeshanTamboli
|
|
63
|
+
- [table cell][theme] Apply `alpha` before color mixing to border bottom color when nativeColor + cssVariables is used (#47840) @ZeeshanTamboli
|
|
64
|
+
|
|
65
|
+
### Docs
|
|
66
|
+
|
|
67
|
+
- Fix small typo in NumberField page (#47888) @arthur-plazanet
|
|
68
|
+
- Fix Theme builder video (#47855) @oliviertassinari
|
|
69
|
+
- Add updated community theme resource (#47853) @PeterTYLiu
|
|
70
|
+
- Fix the keyboard navigation in GroupedMenu example (#47848) @silviuaavram
|
|
71
|
+
- Few copy fixes (#47810) @pavan-sh
|
|
72
|
+
- Fix JSX in Overriding component structure docs (#47805) @ZeeshanTamboli
|
|
73
|
+
- Fix SSR flicker sentence grammar (#47794) @pavan-sh
|
|
74
|
+
- [system] Update sizing docs to clarify `(0, 1]` behavior. (#47851) @matthias-ccri
|
|
75
|
+
- [theme] Fix `nativeColor` docs (#47759) (#47789) @ZeeshanTamboli
|
|
76
|
+
|
|
77
|
+
### Core
|
|
78
|
+
|
|
79
|
+
- point v7 subdomain to MUI X v7 docs (#113) @vmakhaev
|
|
80
|
+
- [blog] Blogpost for upcoming price changes for MUI X (#47748) (#47910) @DanailH
|
|
81
|
+
- [blog] Company Update: What we've been working on (and why) (alethomas) (#47626) (#47908) @alelthomas
|
|
82
|
+
- [core] Update releaseChangelog.mjs (#47862) @mnajdova
|
|
83
|
+
- [code-infra] Detect browser envs that don't support layout (#47813) (#47873) @Janpot
|
|
84
|
+
- [code-infra] Enable undefined addition to optional properties (#47815) @brijeshb42
|
|
85
|
+
- [docs-infra] Reapply Cookie Banner with Design Fixes (#47744) @dav-is
|
|
86
|
+
|
|
87
|
+
All contributors of this release in alphabetical order: @alelthomas, @arthur-plazanet, @brijeshb42, @DanailH, @dav-is, @Janpot, @matthias-ccri, @mnajdova, @oliviertassinari, @pavan-sh, @PeterTYLiu, @sai6855, @silviuaavram, @vmakhaev, @ZeeshanTamboli
|
|
88
|
+
|
|
3
89
|
## 7.3.8
|
|
4
90
|
|
|
5
91
|
<!-- generated comparing v7.3.7..master -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { CSSObject, StyleFunction } from 'styled-components';
|
|
3
3
|
export interface GlobalStylesProps<Theme extends object = {}> {
|
|
4
|
-
defaultTheme?: object;
|
|
4
|
+
defaultTheme?: object | undefined;
|
|
5
5
|
styles: string | CSSObject | StyleFunction<Theme>;
|
|
6
6
|
}
|
|
7
7
|
export default function Global<Theme extends object = {}>(props: GlobalStylesProps<Theme>): React.JSX.Element;
|
package/README.md
CHANGED
|
@@ -7,4 +7,4 @@ It's designed for developers who would like to use `styled-components` as the ma
|
|
|
7
7
|
|
|
8
8
|
<!-- #host-reference -->
|
|
9
9
|
|
|
10
|
-
Visit [https://mui.com/material-ui/integrations/styled-components/](https://mui.com/material-ui/integrations/styled-components/) to view the full documentation.
|
|
10
|
+
Visit [https://v7.mui.com/material-ui/integrations/styled-components/](https://v7.mui.com/material-ui/integrations/styled-components/) to view the full documentation.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface StyledEngineProviderProps {
|
|
3
3
|
children?: React.ReactNode;
|
|
4
|
-
injectFirst?: boolean;
|
|
4
|
+
injectFirst?: boolean | undefined;
|
|
5
5
|
}
|
|
6
6
|
export default function StyledEngineProvider(props: StyledEngineProviderProps): React.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { CSSObject, StyleFunction } from 'styled-components';
|
|
3
3
|
export interface GlobalStylesProps<Theme extends object = {}> {
|
|
4
|
-
defaultTheme?: object;
|
|
4
|
+
defaultTheme?: object | undefined;
|
|
5
5
|
styles: string | CSSObject | StyleFunction<Theme>;
|
|
6
6
|
}
|
|
7
7
|
export default function Global<Theme extends object = {}>(props: GlobalStylesProps<Theme>): React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface StyledEngineProviderProps {
|
|
3
3
|
children?: React.ReactNode;
|
|
4
|
-
injectFirst?: boolean;
|
|
4
|
+
injectFirst?: boolean | undefined;
|
|
5
5
|
}
|
|
6
6
|
export default function StyledEngineProvider(props: StyledEngineProviderProps): React.JSX.Element;
|
package/esm/index.d.ts
CHANGED
|
@@ -153,29 +153,29 @@ export type CreateStyledComponent<ComponentProps extends {}, SpecificComponentPr
|
|
|
153
153
|
// Config to be used with withConfig
|
|
154
154
|
export interface StyledConfig<O extends object = {}> {
|
|
155
155
|
// TODO: Add all types from the original StyledComponentWrapperProperties
|
|
156
|
-
componentId?: string;
|
|
157
|
-
displayName?: string;
|
|
158
|
-
label?: string;
|
|
159
|
-
target?: string;
|
|
156
|
+
componentId?: string | undefined;
|
|
157
|
+
displayName?: string | undefined;
|
|
158
|
+
label?: string | undefined;
|
|
159
|
+
target?: string | undefined;
|
|
160
160
|
shouldForwardProp?: ((prop: keyof O, defaultValidatorFn: (prop: keyof O) => boolean) => boolean) | undefined;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
/** Same as StyledConfig but shouldForwardProp must be a type guard */
|
|
164
164
|
export interface FilteringStyledOptions<Props, ForwardedProps extends keyof Props = keyof Props> {
|
|
165
|
-
componentId?: string;
|
|
166
|
-
displayName?: string;
|
|
167
|
-
label?: string;
|
|
165
|
+
componentId?: string | undefined;
|
|
166
|
+
displayName?: string | undefined;
|
|
167
|
+
label?: string | undefined;
|
|
168
168
|
shouldForwardProp?(propName: PropertyKey): propName is ForwardedProps;
|
|
169
|
-
target?: string;
|
|
169
|
+
target?: string | undefined;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
// same as ThemedBaseStyledInterface in styled-components, but with added options & common props for MUI components
|
|
173
173
|
export interface ThemedBaseStyledInterface<MUIStyledCommonProps extends object, MuiStyledOptions extends object, Theme extends object> extends ThemedStyledComponentFactories<Theme> {
|
|
174
174
|
<C extends React.ComponentClass<React.ComponentProps<C>>, ForwardedProps extends keyof React.ComponentProps<C> = keyof React.ComponentProps<C>>(component: C, options: FilteringStyledOptions<React.ComponentProps<C>, ForwardedProps> & MuiStyledOptions): CreateStyledComponent<Pick<PropsOf<C>, ForwardedProps> & MUIStyledCommonProps, {}, {
|
|
175
|
-
ref?: React.Ref<InstanceType<C
|
|
175
|
+
ref?: React.Ref<InstanceType<C>> | undefined;
|
|
176
176
|
}, Theme>;
|
|
177
177
|
<C extends React.ComponentClass<React.ComponentProps<C>>>(component: C, options?: StyledConfig<PropsOf<C> & MUIStyledCommonProps> & MuiStyledOptions): CreateStyledComponent<PropsOf<C> & MUIStyledCommonProps, {}, {
|
|
178
|
-
ref?: React.Ref<InstanceType<C
|
|
178
|
+
ref?: React.Ref<InstanceType<C>> | undefined;
|
|
179
179
|
}, Theme>;
|
|
180
180
|
<C extends React.JSXElementConstructor<React.ComponentProps<C>>, ForwardedProps extends keyof React.ComponentProps<C> = keyof React.ComponentProps<C>>(component: C, options: FilteringStyledOptions<React.ComponentProps<C>, ForwardedProps> & MuiStyledOptions): CreateStyledComponent<Pick<PropsOf<C>, ForwardedProps> & MUIStyledCommonProps, {}, {}, Theme>;
|
|
181
181
|
<C extends React.JSXElementConstructor<React.ComponentProps<C>>>(component: C, options?: StyledConfig<PropsOf<C> & MUIStyledCommonProps> & MuiStyledOptions): CreateStyledComponent<PropsOf<C> & MUIStyledCommonProps, {}, {}, Theme>;
|
|
@@ -186,7 +186,7 @@ export type CreateMUIStyled<MUIStyledCommonProps extends object = {}, MuiStyledO
|
|
|
186
186
|
export type PropsOf<C extends keyof React.JSX.IntrinsicElements | React.JSXElementConstructor<any>> = React.JSX.LibraryManagedAttributes<C, React.ComponentProps<C>>;
|
|
187
187
|
export interface MUIStyledComponent<ComponentProps extends {}, SpecificComponentProps extends {} = {}, JSXProps extends {} = {}> extends React.FC<ComponentProps & SpecificComponentProps & JSXProps> {
|
|
188
188
|
withComponent<C extends React.ComponentClass<React.ComponentProps<C>>>(component: C): MUIStyledComponent<ComponentProps & PropsOf<C>, {}, {
|
|
189
|
-
ref?: React.Ref<InstanceType<C
|
|
189
|
+
ref?: React.Ref<InstanceType<C>> | undefined;
|
|
190
190
|
}>;
|
|
191
191
|
withComponent<C extends React.ComponentType<React.ComponentProps<C>>>(component: C): MUIStyledComponent<ComponentProps & PropsOf<C>>;
|
|
192
192
|
withComponent<Tag extends keyof React.JSX.IntrinsicElements>(tag: Tag): MUIStyledComponent<ComponentProps, React.JSX.IntrinsicElements[Tag]>;
|
package/esm/index.js
CHANGED
package/index.d.ts
CHANGED
|
@@ -153,29 +153,29 @@ export type CreateStyledComponent<ComponentProps extends {}, SpecificComponentPr
|
|
|
153
153
|
// Config to be used with withConfig
|
|
154
154
|
export interface StyledConfig<O extends object = {}> {
|
|
155
155
|
// TODO: Add all types from the original StyledComponentWrapperProperties
|
|
156
|
-
componentId?: string;
|
|
157
|
-
displayName?: string;
|
|
158
|
-
label?: string;
|
|
159
|
-
target?: string;
|
|
156
|
+
componentId?: string | undefined;
|
|
157
|
+
displayName?: string | undefined;
|
|
158
|
+
label?: string | undefined;
|
|
159
|
+
target?: string | undefined;
|
|
160
160
|
shouldForwardProp?: ((prop: keyof O, defaultValidatorFn: (prop: keyof O) => boolean) => boolean) | undefined;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
/** Same as StyledConfig but shouldForwardProp must be a type guard */
|
|
164
164
|
export interface FilteringStyledOptions<Props, ForwardedProps extends keyof Props = keyof Props> {
|
|
165
|
-
componentId?: string;
|
|
166
|
-
displayName?: string;
|
|
167
|
-
label?: string;
|
|
165
|
+
componentId?: string | undefined;
|
|
166
|
+
displayName?: string | undefined;
|
|
167
|
+
label?: string | undefined;
|
|
168
168
|
shouldForwardProp?(propName: PropertyKey): propName is ForwardedProps;
|
|
169
|
-
target?: string;
|
|
169
|
+
target?: string | undefined;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
// same as ThemedBaseStyledInterface in styled-components, but with added options & common props for MUI components
|
|
173
173
|
export interface ThemedBaseStyledInterface<MUIStyledCommonProps extends object, MuiStyledOptions extends object, Theme extends object> extends ThemedStyledComponentFactories<Theme> {
|
|
174
174
|
<C extends React.ComponentClass<React.ComponentProps<C>>, ForwardedProps extends keyof React.ComponentProps<C> = keyof React.ComponentProps<C>>(component: C, options: FilteringStyledOptions<React.ComponentProps<C>, ForwardedProps> & MuiStyledOptions): CreateStyledComponent<Pick<PropsOf<C>, ForwardedProps> & MUIStyledCommonProps, {}, {
|
|
175
|
-
ref?: React.Ref<InstanceType<C
|
|
175
|
+
ref?: React.Ref<InstanceType<C>> | undefined;
|
|
176
176
|
}, Theme>;
|
|
177
177
|
<C extends React.ComponentClass<React.ComponentProps<C>>>(component: C, options?: StyledConfig<PropsOf<C> & MUIStyledCommonProps> & MuiStyledOptions): CreateStyledComponent<PropsOf<C> & MUIStyledCommonProps, {}, {
|
|
178
|
-
ref?: React.Ref<InstanceType<C
|
|
178
|
+
ref?: React.Ref<InstanceType<C>> | undefined;
|
|
179
179
|
}, Theme>;
|
|
180
180
|
<C extends React.JSXElementConstructor<React.ComponentProps<C>>, ForwardedProps extends keyof React.ComponentProps<C> = keyof React.ComponentProps<C>>(component: C, options: FilteringStyledOptions<React.ComponentProps<C>, ForwardedProps> & MuiStyledOptions): CreateStyledComponent<Pick<PropsOf<C>, ForwardedProps> & MUIStyledCommonProps, {}, {}, Theme>;
|
|
181
181
|
<C extends React.JSXElementConstructor<React.ComponentProps<C>>>(component: C, options?: StyledConfig<PropsOf<C> & MUIStyledCommonProps> & MuiStyledOptions): CreateStyledComponent<PropsOf<C> & MUIStyledCommonProps, {}, {}, Theme>;
|
|
@@ -186,7 +186,7 @@ export type CreateMUIStyled<MUIStyledCommonProps extends object = {}, MuiStyledO
|
|
|
186
186
|
export type PropsOf<C extends keyof React.JSX.IntrinsicElements | React.JSXElementConstructor<any>> = React.JSX.LibraryManagedAttributes<C, React.ComponentProps<C>>;
|
|
187
187
|
export interface MUIStyledComponent<ComponentProps extends {}, SpecificComponentProps extends {} = {}, JSXProps extends {} = {}> extends React.FC<ComponentProps & SpecificComponentProps & JSXProps> {
|
|
188
188
|
withComponent<C extends React.ComponentClass<React.ComponentProps<C>>>(component: C): MUIStyledComponent<ComponentProps & PropsOf<C>, {}, {
|
|
189
|
-
ref?: React.Ref<InstanceType<C
|
|
189
|
+
ref?: React.Ref<InstanceType<C>> | undefined;
|
|
190
190
|
}>;
|
|
191
191
|
withComponent<C extends React.ComponentType<React.ComponentProps<C>>>(component: C): MUIStyledComponent<ComponentProps & PropsOf<C>>;
|
|
192
192
|
withComponent<Tag extends keyof React.JSX.IntrinsicElements>(tag: Tag): MUIStyledComponent<ComponentProps, React.JSX.IntrinsicElements[Tag]>;
|
package/index.js
CHANGED