@mui/styled-engine-sc 7.3.7 → 7.3.9
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 +101 -0
- package/GlobalStyles/GlobalStyles.d.ts +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 +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,106 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 7.3.9
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v7.3.8..v7.x -->
|
|
6
|
+
|
|
7
|
+
_Mar 5, 2026_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 15 contributors who made this release possible.
|
|
10
|
+
|
|
11
|
+
### `@mui/material@7.3.9`
|
|
12
|
+
|
|
13
|
+
- Clean up duplicated CSS rules (#47893) @sai6855
|
|
14
|
+
- [theme] Generate `color-mix` value on top of default generated Material UI CSS variables (#47791) @ZeeshanTamboli
|
|
15
|
+
- [tooltip] Fix error is thrown when wrapping an input which is disabled while focused (#47841) @ZeeshanTamboli
|
|
16
|
+
- [table cell][theme] Apply `alpha` before color mixing to border bottom color when nativeColor + cssVariables is used (#47840) @ZeeshanTamboli
|
|
17
|
+
|
|
18
|
+
### Docs
|
|
19
|
+
|
|
20
|
+
- Fix small typo in NumberField page (#47888) @arthur-plazanet
|
|
21
|
+
- Fix Theme builder video (#47855) @oliviertassinari
|
|
22
|
+
- Add updated community theme resource (#47853) @PeterTYLiu
|
|
23
|
+
- Fix the keyboard navigation in GroupedMenu example (#47848) @silviuaavram
|
|
24
|
+
- Few copy fixes (#47810) @pavan-sh
|
|
25
|
+
- Fix JSX in Overriding component structure docs (#47805) @ZeeshanTamboli
|
|
26
|
+
- Fix SSR flicker sentence grammar (#47794) @pavan-sh
|
|
27
|
+
- [system] Update sizing docs to clarify `(0, 1]` behavior. (#47851) @matthias-ccri
|
|
28
|
+
- [theme] Fix `nativeColor` docs (#47759) (#47789) @ZeeshanTamboli
|
|
29
|
+
|
|
30
|
+
### Core
|
|
31
|
+
|
|
32
|
+
- point v7 subdomain to MUI X v7 docs (#113) @vmakhaev
|
|
33
|
+
- [blog] Blogpost for upcoming price changes for MUI X (#47748) (#47910) @DanailH
|
|
34
|
+
- [blog] Company Update: What we've been working on (and why) (alethomas) (#47626) (#47908) @alelthomas
|
|
35
|
+
- [core] Update releaseChangelog.mjs (#47862) @mnajdova
|
|
36
|
+
- [code-infra] Detect browser envs that don't support layout (#47813) (#47873) @Janpot
|
|
37
|
+
- [code-infra] Enable undefined addition to optional properties (#47815) @brijeshb42
|
|
38
|
+
- [docs-infra] Reapply Cookie Banner with Design Fixes (#47744) @dav-is
|
|
39
|
+
|
|
40
|
+
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
|
|
41
|
+
|
|
42
|
+
## 7.3.8
|
|
43
|
+
|
|
44
|
+
<!-- generated comparing v7.3.7..master -->
|
|
45
|
+
|
|
46
|
+
_Feb 12, 2026_
|
|
47
|
+
|
|
48
|
+
A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
|
|
49
|
+
|
|
50
|
+
### `@mui/material@7.3.8`
|
|
51
|
+
|
|
52
|
+
- [alert] Revert removing default icon mapping fallback (#47629) @ZeeshanTamboli
|
|
53
|
+
- [app-bar] Fix optional chaining in joinVars function (#47739) @sai6855
|
|
54
|
+
- [autocomplete] Fix scroll position resetting on reopen with `disableCloseOnSelect` (#47248) @ZeeshanTamboli
|
|
55
|
+
- [autocomplete] Pass fullWidth prop to input, with default as true (#47663) @silviuaavram
|
|
56
|
+
- [badge] Refactor variant styles generation (#47742) @sai6855
|
|
57
|
+
- [chip] Remove unnecessary `onDelete` check (#47753) @ZeeshanTamboli
|
|
58
|
+
- [switch][checkbox][radio] Remove `aria-disabled` from root span (#46318) @KirankumarAmbati
|
|
59
|
+
- [collapse] Remove unnecessary string concatenation (#47745) @sai6855
|
|
60
|
+
- [drawer] `persistent` and `permanent` variant Drawers should not override the styles via theme using `modal` class (#47581) @ZeeshanTamboli
|
|
61
|
+
- [tabs] Add ability to extend Tabs variant (#47590) @aditya1906
|
|
62
|
+
- [useAutocomplete] Add aria-multiselectable to listbox props when multiple is true (#47632) @silviuaavram
|
|
63
|
+
- [useAutocomplete] Use `React.Key` instead of `any` for `key` prop (#47619) @sonixx02
|
|
64
|
+
|
|
65
|
+
#### Core
|
|
66
|
+
|
|
67
|
+
- Revert "[docs-infra] Add Cookie Banner and Analytics Provider (#47445)" (868d23e) @dav-is
|
|
68
|
+
- Revert "[docs-infra] Update Cookie Consent Dialog styling and content (#47718)" (ae29d03) @dav-is
|
|
69
|
+
- [api-docs-builder] Validate slots prop and Slots interface export consistency (#47623) @Janpot
|
|
70
|
+
- [code-infra] Remove `window.muiDocConfig` (#47737) @Janpot
|
|
71
|
+
- [code-infra] Fix flaky Select test on Webkit (#47728) @Janpot
|
|
72
|
+
- [code-infra] Remove usage of NODE_ENV=test (#47692) @Janpot
|
|
73
|
+
- [code-infra] Prepare eslint rule rename (#47702) @Janpot
|
|
74
|
+
- [code-infra] Next.js 15.5.11 (security update) (#47697) @Janpot
|
|
75
|
+
- [code-infra] Fix Tooltip tests flakyness (#47669) @Janpot
|
|
76
|
+
- [code-infra] Improve instructions for error messages (#47668) @Janpot
|
|
77
|
+
- [code-infra] Add initial agent instructions (#47655) @Janpot
|
|
78
|
+
- [code-infra] Update broken links checker (#47633) @Janpot
|
|
79
|
+
- [code-infra] Improve Tooltip leaveDelay test (#47624) @Janpot
|
|
80
|
+
- [code-infra] Fix internal broken links (#47607) @Janpot
|
|
81
|
+
- [docs-infra] Resolve a few 301s in our docs (#47746) @Janpot
|
|
82
|
+
- [docs-infra] Update Cookie Consent Dialog styling and content (#47718) @dav-is
|
|
83
|
+
- [docs-infra] Add Cookie Banner and Analytics Provider (#47445) @dav-is
|
|
84
|
+
- [docs-infra] Make sure /customers page has a h1 (#47615) @Janpot
|
|
85
|
+
- [docs-infra] Fix privacy link (#47614) @Janpot
|
|
86
|
+
- [docs-infra] Resolve a few 301s (#47579) @Janpot
|
|
87
|
+
- [internal] Remove unused sponsor files (#47741) @oliviertassinari
|
|
88
|
+
- [markdown] Fix some broken hash links (#47609) @Janpot
|
|
89
|
+
- [test] Cleanup Table tests TODOs (#47656) @Ocheretovich
|
|
90
|
+
|
|
91
|
+
### Docs
|
|
92
|
+
|
|
93
|
+
- [website] unclickable banner in the pricing page (#47634) @aemartos
|
|
94
|
+
- [blog] Company Update: What we've been working on (and why) (#47626) @alelthomas
|
|
95
|
+
- [docs] Remove outdated notifications (#47743) @bernardobelchior
|
|
96
|
+
- [docs] Make Demo component product-agnostic (#47635) @Janpot
|
|
97
|
+
- [docs] Copyedit the Number Field doc (#47469) @mapache-salvaje
|
|
98
|
+
- [docs] Fix Roboto font not loading in iframe demos (#47660) @Janpot
|
|
99
|
+
- [docs] Replace Checkbox with Icons in Combobox examples (#47654) @silviuaavram
|
|
100
|
+
- [docs] Fix punctuation in TypeScript guide description (#47617) @nodirbekprogrammer
|
|
101
|
+
|
|
102
|
+
All contributors of this release in alphabetical order: @aditya1906, @aemartos, @alelthomas, @bernardobelchior, @dav-is, @Janpot, @KirankumarAmbati, @mapache-salvaje, @nodirbekprogrammer, @Ocheretovich, @oliviertassinari, @sai6855, @silviuaavram, @sonixx02, @ZeeshanTamboli
|
|
103
|
+
|
|
3
104
|
## 7.3.7
|
|
4
105
|
|
|
5
106
|
<!-- generated comparing v7.3.6..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;
|
|
@@ -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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/styled-engine-sc",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.9",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "styled() API wrapper package for styled-components.",
|
|
6
6
|
"keywords": [
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"url": "https://opencollective.com/mui-org"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@babel/runtime": "^7.28.
|
|
27
|
+
"@babel/runtime": "^7.28.6",
|
|
28
28
|
"@types/hoist-non-react-statics": "^3.3.7",
|
|
29
29
|
"csstype": "^3.2.3",
|
|
30
30
|
"hoist-non-react-statics": "^3.3.2",
|