@mui/styled-engine-sc 9.1.1 → 9.4.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 CHANGED
@@ -1,5 +1,233 @@
1
1
  # [Versions](https://mui.com/material-ui/getting-started/versions/)
2
2
 
3
+ ## 9.4.0
4
+
5
+ <!-- generated comparing v9.3.1..master -->
6
+
7
+ _Aug 27, 2026_
8
+
9
+ A big thanks to the 19 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - ♿️ Opt in to a consistent [keyboard focus ring](https://mui.com/material-ui/customization/focus-visible/) across components with the new `theme.focusVisible`.
12
+ - ♿️ The [Tooltip](https://mui.com/material-ui/react-tooltip/) now supports disabled button triggers without an extra wrapper element.
13
+
14
+ ### `@mui/material@9.4.0`
15
+
16
+ - [theme] Add `theme.focusVisible` opt-in keyboard focus ring (#48743) @siriwatknp
17
+ - [buttongroup] Prevent sticky hover border on touch devices (#48993) @petr-kratochvil
18
+ - [l10n] Complete Traditional Chinese localization (#48946) @nrps9909
19
+ - [menulist] Preserve custom list padding when adjusting for the scrollbar (#48707) @creazyfrog
20
+ - [pagination] Manage focus whenever first / last / next / previous buttons become disabled (#48877) @silviuaavram
21
+ - [tooltip] Improve support for disabled button triggers (#48622) @mayank99
22
+
23
+ ### `@mui/utils@9.4.0`
24
+
25
+ - Fix resolveProps to correctly merge slotProps defined as functions (#48955) @mnajdova
26
+ - Replace deprecated `clip` CSS property with `clip-path` (#48966) @ZeeshanTamboli
27
+
28
+ ### `@mui/styled-engine-sc@9.4.0`
29
+
30
+ - Fix types for components extended with styled (#45988) @megos
31
+
32
+ ### Docs
33
+
34
+ - Bump @docsearch/react to ^4.7.0 (#48886) @LukasTy
35
+ - Fix broken links reported by Ahrefs (#48949) @brijeshb42
36
+ - Manage focus on Open in Chat button click (#48942) @silviuaavram
37
+ - Move focus to the main content with the skip link (#48944) @lazerg
38
+ - Use relative link for LICENSE in README (#49040) @loulanyue
39
+ - [autocomplete] Remove the "aria-owns" reference (#48958) @silviuaavram
40
+ - [table] Fix wrong number of rows reported to screen readers (#47653) @seomsoo
41
+ - [table] Reference DataGrid link in the row header section (#48988) @silviuaavram
42
+ - [table] Use and document the row header cells (#48965) @silviuaavram
43
+ - [tabs] Make tab panel focusable and show keep mounted examples (#48939) @silviuaavram
44
+ - [templates] Remove focusable links from hidden carousel slides (#49003) @gonzoblasco
45
+
46
+ ### Core
47
+
48
+ - [code-infra] Fix team sync review requests (#48914) @brijeshb42
49
+ - [code-infra] Import the test globals from vitest (#49033) @JCQuintas
50
+ - [code-infra] Point the support validator link at frontend-public (#49041) @Janpot
51
+ - [code-infra] Update CircleCI orb (#49030) @Janpot
52
+ - [code-infra] Use ESM current directory syntax for Vitest config (#49032) @ZeeshanTamboli
53
+ - [core] Use @typescript/typescript6 for the docs tooling (#49025) @Janpot
54
+ - [core-docs] Remove the `globalSelector` stylis middleware (#49029) @Janpot
55
+ - [test] Add an `assertions` mode to the axe regression harness (#48915) @michelengelen
56
+ - [test] Automate the CSS-dependent WCAG criteria (#48936) @michelengelen
57
+ - [test] Fail the regression run when a webfont does not load (#48948) @LukasTy
58
+ - [test] Fix typo 'overriden' -> 'overridden' in Alert test comment (#48987) @FirmaSpring
59
+ - [test] Replace webfontloader with the CSS Font Loading API (#48995) @LukasTy
60
+ - [test] Skip the CrudDashboard VRT on React 18 (#49027) @Janpot
61
+ - [test] Use the shared loadFonts from @mui/internal-test-utils (#49007) @LukasTy
62
+ - [test] Use the Vitest global expect instead of importing chai (#48996) @JCQuintas
63
+ - [test][tooltip] Keep the disabled trigger away from the real pointer (#48947) @LukasTy
64
+
65
+ All contributors of this release in alphabetical order: @brijeshb42, @creazyfrog, @FirmaSpring, @gonzoblasco, @Janpot, @JCQuintas, @lazerg, @loulanyue, @LukasTy, @mayank99, @megos, @michelengelen, @mnajdova, @nrps9909, @petr-kratochvil, @seomsoo, @silviuaavram, @siriwatknp, @ZeeshanTamboli
66
+
67
+ ## 9.3.1
68
+
69
+ <!-- generated comparing v9.3.0..master -->
70
+
71
+ _Aug 6, 2026_
72
+
73
+ A big thanks to the 4 contributors who made this release possible.
74
+
75
+ ### `@mui/material@9.3.1`
76
+
77
+ - [transitions] Prevent exit transitions from getting stuck (#48881) @ZeeshanTamboli
78
+
79
+ ### `@mui/codemod@9.3.1`
80
+
81
+ - Include transforms in published package (#48934) @brijeshb42
82
+
83
+ ### Core
84
+
85
+ - [blog] Clarify early bird renewal discount scope (#48906) @DanailH
86
+ - [test][pagination] Add more unit tests (#48927) @silviuaavram
87
+
88
+ All contributors of this release in alphabetical order: @brijeshb42, @DanailH, @silviuaavram, @ZeeshanTamboli
89
+
90
+ ## 9.3.0
91
+
92
+ <!-- generated comparing v9.2.0..master -->
93
+
94
+ _Aug 4, 2026_
95
+
96
+ A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
97
+
98
+ - ♿️ Keyboard navigation in the [Toggle Button Group](https://mui.com/material-ui/react-toggle-button/) now follows the roving tabindex pattern.
99
+ - ♿️ The [Autocomplete](https://mui.com/material-ui/react-autocomplete/) announces its loading and no options messages through a new `status` slot.
100
+
101
+ ### `@mui/material@9.3.0`
102
+
103
+ - [autocomplete] Wrap the no results and loading messages in an aria live region (#48690) @silviuaavram
104
+ - [buttongroup] Respect global disableRipple / disableFocusRipple in grouped buttons (#48762) @siriwatknp
105
+ - [checkbox][radio] Respect global disableRipple from MuiButtonBase defaultProps (#48795) @siriwatknp
106
+ - [formcontrollabel] Add missing `labelPlacementEnd` class (#48843) @siriwatknp
107
+ - [listitembutton] Fix typos in component code (#48868) @ZeeshanTamboli
108
+ - [menuitem] Add `aria-checked` for checkbox and radio menu items (#48651) @siriwatknp
109
+ - [modal] Replace custom findIndexOf with findIndex (#48827) @ZeeshanTamboli
110
+ - [modal][dialog] Fix scrollbar compensation in Shadow DOM (#48826) @ZeeshanTamboli
111
+ - [select] Fix endAdornment overlapping the open indicator (#48723) @siriwatknp
112
+ - [tablepagination] Add focus style to default InputBase used in Select (#48871) @silviuaavram
113
+ - [togglebuttongroup] Add roving tabindex keyboard navigation (#48849) @silviuaavram
114
+
115
+ ### `@mui/system@9.3.0`
116
+
117
+ - Prevent prototype pollution in cssVarsParser (#48822) @Janpot
118
+
119
+ ### `@mui/codemod@9.3.0`
120
+
121
+ - Don't leak state between files in v5.0.0/path-imports (#48797) @manbearwiz
122
+ - Remove use of eval() (#48701) @oliviertassinari
123
+ - Transform all style exports in `v5.0.0/path-imports` codemod (#48800) @manbearwiz
124
+
125
+ ### Docs
126
+
127
+ - Clarify `container` prop inheritance for Shadow DOM (#48670) @Juan-C-Ceballos
128
+ - Clarify third-party script risk in CSP unsafe-inline note (#48787) @Janpot
129
+ - Document `box-sx-prop` codemod (#48888) @SR0725
130
+ - Document Grid direction column removal in v9 upgrade guide (#48880) @kalayciburak
131
+ - Fix color contrast in GitHub labels example (#48844) @silviuaavram
132
+ - Fix per-page canonical URL and stale SEO link (#48789) @brijeshb42
133
+ - Fix redirect loop on the Design Kits page (#48869) @Janpot
134
+ - Fix typo 'overriden' -> 'overridden' in CHANGELOG (#48785) @ZhouYinLong-lab
135
+ - Improve TransferList examples (#48845) @silviuaavram
136
+ - Link a new theme generator tool (#48847) @mansourcodes
137
+ - Remove broken learning resource links (#48598) @morning-verlu
138
+ - Update the 9.2.0 changelog (#48763) @silviuaavram
139
+ - [autocomplete] Clarify how to render custom start and end adornments (#48883) @DebadityaHait
140
+ - [drawer] Clarify clipped AppBar spacing (#48887) @rushijagani-dev
141
+ - [menu] Fix stale `selected` prop reference in Selected menu section (#48879) @LukasTy
142
+ - [skeleton] Document preserving typography sizing with custom border radius (#48596) @meaqua9420
143
+
144
+ ### Core
145
+
146
+ - [blog] Fix caret annotation broken by Prettier wrapping (#48884) @bernardobelchior
147
+ - [code-infra] Automate team sync on about page (#48794) @brijeshb42
148
+ - [code-infra] Bump @mui/internal-code-infra to 0.0.4-canary.101 (#48878) @Janpot
149
+ - [code-infra] Fix Dependabot alerts (#48756) @Janpot
150
+ - [code-infra] Fix team sync PR creation (#48911) @brijeshb42
151
+ - [code-infra] Pin node version in publish CI (#48799) @brijeshb42
152
+ - [core-docs] Tighten service worker host check (#48581) @Janpot
153
+ - [docs-infra] Change branch name to the allowed one (#48910) @brijeshb42
154
+
155
+ All contributors of this release in alphabetical order: @bernardobelchior, @brijeshb42, @DebadityaHait, @Janpot, @Juan-C-Ceballos, @kalayciburak, @LukasTy, @manbearwiz, @mansourcodes, @meaqua9420, @morning-verlu, @oliviertassinari, @rushijagani-dev, @silviuaavram, @siriwatknp, @SR0725, @ZeeshanTamboli, @ZhouYinLong-lab
156
+
157
+ ## 9.2.0
158
+
159
+ <!-- generated comparing v9.1.2..master -->
160
+
161
+ _Jul 3, 2026_
162
+
163
+ A big thanks to the 9 contributors who made this release possible.
164
+
165
+ - ⚙️ Add support for [`data-*` attributes on `slotProps`](https://mui.com/material-ui/guides/typescript/#allowing-data-attributes-on-slotprops).
166
+
167
+ ### `@mui/material@9.2.0`
168
+
169
+ - [l10n] Add missing MuiPagination localization to zh-CN locale (#48741) @greymoth-jp
170
+ - [select] Guard display ref during mouse down (#48744) @michelengelen
171
+
172
+ ### `@mui/utils@9.2.0`
173
+
174
+ - [utils] Add opt-in `DataAttributesOverrides` augmentation for slot props (#48554) @LukasTy
175
+
176
+ ### Docs
177
+
178
+ - [docs] Improve Icon Dialog responsiveness on small screens (#48639) @Prakash1185
179
+ - [docs] Fix invalid UTF-8 in skill references (#48739) @mturac
180
+
181
+ ### Core
182
+
183
+ - [code-infra] Resolve Renovate dashboard warnings (#48700) @Sushantplive
184
+ - [code-infra] Validate npm publishing through dry run (#48691) @brijeshb42
185
+ - [code-infra] Run prettier after renovate update (#48754) @Janpot
186
+ - [code-infra] Fix 'A11y results committed?' check on react-pinned nightly jobs (#48740) @Janpot
187
+ - [core] Remove leftover Joy UI references (#48719) @siriwatknp
188
+ - [code-infra] Bump react-router to 7.15.1 (#48725) @Janpot
189
+ - [docs-infra] Drive docs analytics IDs via ANALYTICS_ENV (#48694) @Janpot
190
+ - [docs-infra] Pre-render API page descriptions (#48693) @brijeshb42
191
+ - [code-infra][icons-material] Build lib/package.json with code-infra --no-expand (#48689) @Janpot
192
+ - [code-infra] Fix react@18/next nightly workflow (#48635) @Janpot
193
+
194
+ All contributors of this release in alphabetical order: @brijeshb42, @greymoth-jp, @Janpot, @LukasTy, @michelengelen, @mturac, @Prakash1185, @siriwatknp, @Sushantplive
195
+
196
+ ## 9.1.2
197
+
198
+ <!-- generated comparing v9.1.1..master -->
199
+
200
+ _Jun 23, 2026_
201
+
202
+ A big thanks to the 5 contributors who made this release possible.
203
+
204
+ ### `@mui/material@9.1.2`
205
+
206
+ - [autocomplete] Don't submit forms when committing `freeSolo` value with Enter key (#48679) @mj12albert
207
+ - [transitions] Fix RTG import in ESM (#48645) @mj12albert
208
+
209
+ ### `@mui/system@9.1.2`
210
+
211
+ - [InitColorSchemeScript] Fix script tag warning in Next.js 16 dev mode (#48671) @siriwatknp
212
+
213
+ ### Docs
214
+
215
+ - Fix typos in release instructions (#48687) @brijeshb42
216
+ - Update @mui/x-\* packages to latest (#48661) @Janpot
217
+
218
+ ### Core
219
+
220
+ - [code-infra] Convert leaf @mui/system .js+.d.ts pairs to TypeScript (part 1) (#48578) @Janpot
221
+ - [code-infra] Bump to latest code-infra packages (#48672) @brijeshb42
222
+ - [code-infra] Resolve remaining minimatch advisory (#48662) @Janpot
223
+ - [code-infra] Bump nx to resolve minimatch advisory (#48658) @Janpot
224
+ - [core] Drop @babel/\* pnpm overrides (#48710) @Janpot
225
+ - [docs-infra] Revert "Pin StackBlitz demo vite to v7 and plugin-react to v5" (#48709) @Janpot
226
+ - [docs-infra] Fix code-block copy button broken on direct page load (#48653) @brijeshb42
227
+ - [test] Stabilize Data Grid demo data in Argos screenshots (#48654) @LukasTy
228
+
229
+ All contributors of this release in alphabetical order: @brijeshb42, @Janpot, @LukasTy, @mj12albert, @siriwatknp
230
+
3
231
  ## 9.1.1
4
232
 
5
233
  <!-- generated comparing v9.1.0..master -->
package/index.d.mts CHANGED
@@ -71,13 +71,13 @@ type StyledComponentPropsWithAs<C extends string | React.ComponentType<any>, T e
71
71
  as?: AsC | undefined;
72
72
  forwardedAs?: FAsC | undefined;
73
73
  };
74
- export type StyledComponent<C extends keyof React.JSX.IntrinsicElements | React.ComponentType<any>, T extends object = {}, O extends object = {}, A extends keyof any = never> =
75
- // the "string" allows this to be used as an object key
76
- string & StyledComponentBase<C, T, O, A> & hoistNonReactStatics.NonReactStatics<C extends React.ComponentType<any> ? C : never>;
77
- export type AnyStyledComponent = StyledComponent<any, any, any, any> | StyledComponent<any, any, any> | React.FunctionComponent<any> | React.ComponentType<any>;
74
+ export type StyledComponent<C extends keyof React.JSX.IntrinsicElements | React.ComponentType<any>, T extends object = {}, O extends object = {}, A extends keyof any = never> = string & StyledComponentBase<C, T, O, A> & hoistNonReactStatics.NonReactStatics<C extends React.ComponentType<any> ? C : never>;
75
+ export type AnyStyledComponent = StyledComponentInstance | React.FunctionComponent<any> | React.ComponentType<any>;
76
+ type StyledComponentInstance = StyledComponent<any, any, any, any> | StyledComponent<any, any, any>;
78
77
  export type StyledComponentInnerComponent<C extends AnyStyledComponent> = C extends StyledComponent<infer I, any, any, any> ? I : C extends StyledComponent<infer I, any, any> ? I : C;
79
78
  export type StyledComponentInnerOtherProps<C extends AnyStyledComponent> = C extends StyledComponent<any, any, infer O, any> ? O : C extends StyledComponent<any, any, infer O> ? O : never;
80
79
  export type StyledComponentInnerAttrs<C extends AnyStyledComponent> = C extends StyledComponent<any, any, any, infer A> ? A : never;
80
+ export type StyledComponentInnerProps<C extends StyledComponentInstance, T extends object> = StyledComponentProps<StyledComponentInnerComponent<C>, T, StyledComponentInnerOtherProps<C>, StyledComponentInnerAttrs<C>>;
81
81
  export interface StyledComponentBase<C extends string | React.ComponentType<any>, T extends object, O extends object = {}, A extends keyof any = never> extends ForwardRefExoticBase<StyledComponentProps<C, T, O, A>> {
82
82
  (props: StyledComponentProps<C, T, O, A> & {
83
83
  as?: never | undefined;
@@ -97,7 +97,7 @@ export interface ThemedStyledFunctionBase<C extends keyof React.JSX.IntrinsicEle
97
97
  <U extends object>(first: TemplateStringsArray | CSSObject | InterpolationFunction<ThemedStyledProps<StyledComponentPropsWithRef<C> & O & U, T>>, ...other: Array<Interpolation<ThemedStyledProps<StyledComponentPropsWithRef<C> & O & U, T>>>): StyledComponent<C, T, O & U, A>;
98
98
  }
99
99
  export interface ThemedStyledFunction<C extends keyof React.JSX.IntrinsicElements | React.ComponentType<any>, T extends object, O extends object = {}, A extends keyof any = never> extends ThemedStyledFunctionBase<C, T, O, A> {}
100
- export type CreateStyledComponent<ComponentProps extends {}, SpecificComponentProps extends {} = {}, JSXProps extends {} = {}, T extends object = {}> = ThemedStyledFunction<React.ComponentType<ComponentProps>, T, SpecificComponentProps & JSXProps>;
100
+ export type CreateStyledComponent<ComponentProps extends {}, SpecificComponentProps extends {} = {}, JSXProps extends {} = {}, T extends object = {}, A extends keyof any = never> = ThemedStyledFunction<React.ComponentType<ComponentProps>, T, SpecificComponentProps & JSXProps, A>;
101
101
  export interface StyledConfig<O extends object = {}> {
102
102
  componentId?: string | undefined;
103
103
  displayName?: string | undefined;
@@ -114,6 +114,8 @@ export interface FilteringStyledOptions<Props, ForwardedProps extends keyof Prop
114
114
  target?: string | undefined;
115
115
  }
116
116
  export interface ThemedBaseStyledInterface<MUIStyledCommonProps extends object, MuiStyledOptions extends object, Theme extends object> extends ThemedStyledComponentFactories<Theme> {
117
+ <C extends StyledComponentInstance, ForwardedProps extends keyof StyledComponentInnerProps<C, Theme> = keyof StyledComponentInnerProps<C, Theme>>(component: C, options: FilteringStyledOptions<StyledComponentInnerProps<C, Theme>, ForwardedProps> & MuiStyledOptions): CreateStyledComponent<Pick<StyledComponentInnerProps<C, Theme>, ForwardedProps> & MUIStyledCommonProps, StyledComponentInnerOtherProps<C>, {}, Theme, StyledComponentInnerAttrs<C>>;
118
+ <C extends StyledComponentInstance>(component: C, options?: StyledConfig<StyledComponentInnerProps<C, Theme> & MUIStyledCommonProps> & MuiStyledOptions): CreateStyledComponent<StyledComponentInnerProps<C, Theme> & MUIStyledCommonProps, StyledComponentInnerOtherProps<C>, {}, Theme, StyledComponentInnerAttrs<C>>;
117
119
  <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, {}, {
118
120
  ref?: React.Ref<InstanceType<C>> | undefined;
119
121
  }, Theme>;
package/index.d.ts CHANGED
@@ -71,13 +71,13 @@ type StyledComponentPropsWithAs<C extends string | React.ComponentType<any>, T e
71
71
  as?: AsC | undefined;
72
72
  forwardedAs?: FAsC | undefined;
73
73
  };
74
- export type StyledComponent<C extends keyof React.JSX.IntrinsicElements | React.ComponentType<any>, T extends object = {}, O extends object = {}, A extends keyof any = never> =
75
- // the "string" allows this to be used as an object key
76
- string & StyledComponentBase<C, T, O, A> & hoistNonReactStatics.NonReactStatics<C extends React.ComponentType<any> ? C : never>;
77
- export type AnyStyledComponent = StyledComponent<any, any, any, any> | StyledComponent<any, any, any> | React.FunctionComponent<any> | React.ComponentType<any>;
74
+ export type StyledComponent<C extends keyof React.JSX.IntrinsicElements | React.ComponentType<any>, T extends object = {}, O extends object = {}, A extends keyof any = never> = string & StyledComponentBase<C, T, O, A> & hoistNonReactStatics.NonReactStatics<C extends React.ComponentType<any> ? C : never>;
75
+ export type AnyStyledComponent = StyledComponentInstance | React.FunctionComponent<any> | React.ComponentType<any>;
76
+ type StyledComponentInstance = StyledComponent<any, any, any, any> | StyledComponent<any, any, any>;
78
77
  export type StyledComponentInnerComponent<C extends AnyStyledComponent> = C extends StyledComponent<infer I, any, any, any> ? I : C extends StyledComponent<infer I, any, any> ? I : C;
79
78
  export type StyledComponentInnerOtherProps<C extends AnyStyledComponent> = C extends StyledComponent<any, any, infer O, any> ? O : C extends StyledComponent<any, any, infer O> ? O : never;
80
79
  export type StyledComponentInnerAttrs<C extends AnyStyledComponent> = C extends StyledComponent<any, any, any, infer A> ? A : never;
80
+ export type StyledComponentInnerProps<C extends StyledComponentInstance, T extends object> = StyledComponentProps<StyledComponentInnerComponent<C>, T, StyledComponentInnerOtherProps<C>, StyledComponentInnerAttrs<C>>;
81
81
  export interface StyledComponentBase<C extends string | React.ComponentType<any>, T extends object, O extends object = {}, A extends keyof any = never> extends ForwardRefExoticBase<StyledComponentProps<C, T, O, A>> {
82
82
  (props: StyledComponentProps<C, T, O, A> & {
83
83
  as?: never | undefined;
@@ -97,7 +97,7 @@ export interface ThemedStyledFunctionBase<C extends keyof React.JSX.IntrinsicEle
97
97
  <U extends object>(first: TemplateStringsArray | CSSObject | InterpolationFunction<ThemedStyledProps<StyledComponentPropsWithRef<C> & O & U, T>>, ...other: Array<Interpolation<ThemedStyledProps<StyledComponentPropsWithRef<C> & O & U, T>>>): StyledComponent<C, T, O & U, A>;
98
98
  }
99
99
  export interface ThemedStyledFunction<C extends keyof React.JSX.IntrinsicElements | React.ComponentType<any>, T extends object, O extends object = {}, A extends keyof any = never> extends ThemedStyledFunctionBase<C, T, O, A> {}
100
- export type CreateStyledComponent<ComponentProps extends {}, SpecificComponentProps extends {} = {}, JSXProps extends {} = {}, T extends object = {}> = ThemedStyledFunction<React.ComponentType<ComponentProps>, T, SpecificComponentProps & JSXProps>;
100
+ export type CreateStyledComponent<ComponentProps extends {}, SpecificComponentProps extends {} = {}, JSXProps extends {} = {}, T extends object = {}, A extends keyof any = never> = ThemedStyledFunction<React.ComponentType<ComponentProps>, T, SpecificComponentProps & JSXProps, A>;
101
101
  export interface StyledConfig<O extends object = {}> {
102
102
  componentId?: string | undefined;
103
103
  displayName?: string | undefined;
@@ -114,6 +114,8 @@ export interface FilteringStyledOptions<Props, ForwardedProps extends keyof Prop
114
114
  target?: string | undefined;
115
115
  }
116
116
  export interface ThemedBaseStyledInterface<MUIStyledCommonProps extends object, MuiStyledOptions extends object, Theme extends object> extends ThemedStyledComponentFactories<Theme> {
117
+ <C extends StyledComponentInstance, ForwardedProps extends keyof StyledComponentInnerProps<C, Theme> = keyof StyledComponentInnerProps<C, Theme>>(component: C, options: FilteringStyledOptions<StyledComponentInnerProps<C, Theme>, ForwardedProps> & MuiStyledOptions): CreateStyledComponent<Pick<StyledComponentInnerProps<C, Theme>, ForwardedProps> & MUIStyledCommonProps, StyledComponentInnerOtherProps<C>, {}, Theme, StyledComponentInnerAttrs<C>>;
118
+ <C extends StyledComponentInstance>(component: C, options?: StyledConfig<StyledComponentInnerProps<C, Theme> & MUIStyledCommonProps> & MuiStyledOptions): CreateStyledComponent<StyledComponentInnerProps<C, Theme> & MUIStyledCommonProps, StyledComponentInnerOtherProps<C>, {}, Theme, StyledComponentInnerAttrs<C>>;
117
119
  <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, {}, {
118
120
  ref?: React.Ref<InstanceType<C>> | undefined;
119
121
  }, Theme>;
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/styled-engine-sc v9.1.1
2
+ * @mui/styled-engine-sc v9.4.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/styled-engine-sc v9.1.1
2
+ * @mui/styled-engine-sc v9.4.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/styled-engine-sc",
3
- "version": "9.1.1",
3
+ "version": "9.4.0",
4
4
  "author": "MUI Team",
5
5
  "description": "styled() API wrapper package for styled-components.",
6
6
  "license": "MIT",
@@ -24,7 +24,7 @@
24
24
  "url": "https://opencollective.com/mui-org"
25
25
  },
26
26
  "dependencies": {
27
- "@babel/runtime": "^7.29.2",
27
+ "@babel/runtime": "^7.29.7",
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",