@mui/styled-engine 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 { Interpolation } from '@emotion/react';
3
3
  export interface GlobalStylesProps<Theme = {}> {
4
- defaultTheme?: object;
4
+ defaultTheme?: object | undefined;
5
5
  styles: Interpolation<Theme>;
6
6
  }
7
7
  export default function GlobalStyles<Theme = {}>(props: GlobalStylesProps<Theme>): React.JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  export interface StyledEngineProviderProps {
3
3
  children?: React.ReactNode;
4
- enableCssLayer?: boolean;
5
- injectFirst?: boolean;
4
+ enableCssLayer?: boolean | undefined;
5
+ injectFirst?: boolean | undefined;
6
6
  }
7
7
  export default function StyledEngineProvider(props: StyledEngineProviderProps): React.JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { Interpolation } from '@emotion/react';
3
3
  export interface GlobalStylesProps<Theme = {}> {
4
- defaultTheme?: object;
4
+ defaultTheme?: object | undefined;
5
5
  styles: Interpolation<Theme>;
6
6
  }
7
7
  export default function GlobalStyles<Theme = {}>(props: GlobalStylesProps<Theme>): React.JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  export interface StyledEngineProviderProps {
3
3
  children?: React.ReactNode;
4
- enableCssLayer?: boolean;
5
- injectFirst?: boolean;
4
+ enableCssLayer?: boolean | undefined;
5
+ injectFirst?: boolean | undefined;
6
6
  }
7
7
  export default function StyledEngineProvider(props: StyledEngineProviderProps): React.JSX.Element;
package/esm/index.d.ts CHANGED
@@ -20,8 +20,8 @@ export function internal_serializeStyles<P>(styles: Interpolation<P>): object;
20
20
  export interface SerializedStyles {
21
21
  name: string;
22
22
  styles: string;
23
- map?: string;
24
- next?: SerializedStyles;
23
+ map?: string | undefined;
24
+ next?: SerializedStyles | undefined;
25
25
  }
26
26
  export type CSSProperties = CSS.PropertiesFallback<number | string>;
27
27
  export type CSSPropertiesWithMultiValues = { [K in keyof CSSProperties]: CSSProperties[K] | ReadonlyArray<Extract<CSSProperties[K], string>> };
@@ -73,15 +73,15 @@ export type Interpolation<Props> = null | undefined | boolean | number | string
73
73
  } ? {
74
74
  theme: Props['theme'];
75
75
  } : any) => CSSObject);
76
- }>;
76
+ }> | undefined;
77
77
  }) | ArrayInterpolation<Props> | FunctionInterpolation<Props>;
78
78
  export function shouldForwardProp(propName: PropertyKey): boolean;
79
79
 
80
80
  /** Same as StyledOptions but shouldForwardProp must be a type guard */
81
81
  export interface FilteringStyledOptions<Props, ForwardedProps extends keyof Props = keyof Props> {
82
- label?: string;
82
+ label?: string | undefined;
83
83
  shouldForwardProp?(propName: PropertyKey): propName is ForwardedProps;
84
- target?: string;
84
+ target?: string | undefined;
85
85
  }
86
86
 
87
87
  /**
@@ -112,10 +112,10 @@ export interface CreateStyledComponent<ComponentProps extends {}, SpecificCompon
112
112
  }
113
113
  export interface CreateMUIStyled<MUIStyledCommonProps extends {}, MuiStyledOptions, Theme extends object> {
114
114
  <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, {}, {
115
- ref?: React.Ref<InstanceType<C>>;
115
+ ref?: React.Ref<InstanceType<C>> | undefined;
116
116
  }, Theme>;
117
117
  <C extends React.ComponentClass<React.ComponentProps<C>>>(component: C, options?: StyledOptions<PropsOf<C> & MUIStyledCommonProps> & MuiStyledOptions): CreateStyledComponent<PropsOf<C> & MUIStyledCommonProps, {}, {
118
- ref?: React.Ref<InstanceType<C>>;
118
+ ref?: React.Ref<InstanceType<C>> | undefined;
119
119
  }, Theme>;
120
120
  <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>;
121
121
  <C extends React.JSXElementConstructor<React.ComponentProps<C>>>(component: C, options?: StyledOptions<PropsOf<C> & MUIStyledCommonProps> & MuiStyledOptions): CreateStyledComponent<PropsOf<C> & MUIStyledCommonProps, {}, {}, Theme>;
package/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/styled-engine v7.3.8
2
+ * @mui/styled-engine 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
@@ -20,8 +20,8 @@ export function internal_serializeStyles<P>(styles: Interpolation<P>): object;
20
20
  export interface SerializedStyles {
21
21
  name: string;
22
22
  styles: string;
23
- map?: string;
24
- next?: SerializedStyles;
23
+ map?: string | undefined;
24
+ next?: SerializedStyles | undefined;
25
25
  }
26
26
  export type CSSProperties = CSS.PropertiesFallback<number | string>;
27
27
  export type CSSPropertiesWithMultiValues = { [K in keyof CSSProperties]: CSSProperties[K] | ReadonlyArray<Extract<CSSProperties[K], string>> };
@@ -73,15 +73,15 @@ export type Interpolation<Props> = null | undefined | boolean | number | string
73
73
  } ? {
74
74
  theme: Props['theme'];
75
75
  } : any) => CSSObject);
76
- }>;
76
+ }> | undefined;
77
77
  }) | ArrayInterpolation<Props> | FunctionInterpolation<Props>;
78
78
  export function shouldForwardProp(propName: PropertyKey): boolean;
79
79
 
80
80
  /** Same as StyledOptions but shouldForwardProp must be a type guard */
81
81
  export interface FilteringStyledOptions<Props, ForwardedProps extends keyof Props = keyof Props> {
82
- label?: string;
82
+ label?: string | undefined;
83
83
  shouldForwardProp?(propName: PropertyKey): propName is ForwardedProps;
84
- target?: string;
84
+ target?: string | undefined;
85
85
  }
86
86
 
87
87
  /**
@@ -112,10 +112,10 @@ export interface CreateStyledComponent<ComponentProps extends {}, SpecificCompon
112
112
  }
113
113
  export interface CreateMUIStyled<MUIStyledCommonProps extends {}, MuiStyledOptions, Theme extends object> {
114
114
  <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, {}, {
115
- ref?: React.Ref<InstanceType<C>>;
115
+ ref?: React.Ref<InstanceType<C>> | undefined;
116
116
  }, Theme>;
117
117
  <C extends React.ComponentClass<React.ComponentProps<C>>>(component: C, options?: StyledOptions<PropsOf<C> & MUIStyledCommonProps> & MuiStyledOptions): CreateStyledComponent<PropsOf<C> & MUIStyledCommonProps, {}, {
118
- ref?: React.Ref<InstanceType<C>>;
118
+ ref?: React.Ref<InstanceType<C>> | undefined;
119
119
  }, Theme>;
120
120
  <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>;
121
121
  <C extends React.JSXElementConstructor<React.ComponentProps<C>>>(component: C, options?: StyledOptions<PropsOf<C> & MUIStyledCommonProps> & MuiStyledOptions): CreateStyledComponent<PropsOf<C> & MUIStyledCommonProps, {}, {}, Theme>;
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/styled-engine v7.3.8
2
+ * @mui/styled-engine 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",
3
- "version": "7.3.8",
3
+ "version": "7.3.9",
4
4
  "author": "MUI Team",
5
5
  "description": "styled() API wrapper package for emotion.",
6
6
  "keywords": [