@mui/styled-engine-sc 7.3.8 → 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 CHANGED
@@ -1,5 +1,44 @@
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
+
3
42
  ## 7.3.8
4
43
 
5
44
  <!-- 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;
@@ -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
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/styled-engine-sc v7.3.8
2
+ * @mui/styled-engine-sc v7.3.9
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
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
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/styled-engine-sc v7.3.8
2
+ * @mui/styled-engine-sc v7.3.9
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": "7.3.8",
3
+ "version": "7.3.9",
4
4
  "author": "MUI Team",
5
5
  "description": "styled() API wrapper package for styled-components.",
6
6
  "keywords": [