@mui/styled-engine 5.15.8 → 5.15.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,40 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## v5.15.9<!-- generated comparing v5.15.8..master -->
4
+
5
+ _Feb 8, 2024_
6
+
7
+ A big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
8
+
9
+ - 🐛 A critical fix to remove non-published library usage in `@mui/material` peerDependencies.
10
+
11
+ ### `@mui/material@5.15.9`
12
+
13
+ - &#8203;<!-- 11 -->[autocomplete] Avoid spread operator (#40968) @oliviertassinari
14
+ - &#8203;<!-- 05 -->[material] Remove zero-runtime from peer dep (#41003) @brijeshb42
15
+
16
+ ### `@mui/base@5.0.0-beta.36`
17
+
18
+ - &#8203;<!-- 10 -->[base-ui] Update props using Array to ReadonlyArray type (#40754) @RaghavenderSingh
19
+
20
+ ### `@mui/system@5.15.9`
21
+
22
+ - &#8203;<!-- 02 -->[system] use `ReadonlyArray` for CSS related types (#40972) @siriwatknp
23
+ - &#8203;<!-- 01 -->[zero] Migrate to use wyw-in-js instead of linaria (#40866) @brijeshb42
24
+
25
+ ### Docs
26
+
27
+ - &#8203;<!-- 06 -->[docs] Polish codemod git diff format @oliviertassinari
28
+ - &#8203;<!-- 05 -->[material-ui][docs] Migrating from deprecated apis follow up (#40981) @DiegoAndai
29
+
30
+ ### Core
31
+
32
+ - &#8203;<!-- 09 -->[code-infra] Move next config to ESM (#40869) @Janpot
33
+ - &#8203;<!-- 08 -->[code-infra] Update prettier (#40772) @Janpot
34
+ - &#8203;<!-- 07 -->[code-infra] Add codemod for `light` prop removal (#40947) @sai6855
35
+
36
+ All contributors of this release in alphabetical order: @brijeshb42, @DiegoAndai, @Janpot, @oliviertassinari, @RaghavenderSingh, @sai6855, @siriwatknp
37
+
3
38
  ## v5.15.8<!-- generated comparing v5.15.7..master -->
4
39
 
5
40
  _Feb 6, 2024_
package/index.d.ts CHANGED
@@ -35,7 +35,7 @@ export interface SerializedStyles {
35
35
 
36
36
  export type CSSProperties = CSS.PropertiesFallback<number | string>;
37
37
  export type CSSPropertiesWithMultiValues = {
38
- [K in keyof CSSProperties]: CSSProperties[K] | Array<Extract<CSSProperties[K], string>>;
38
+ [K in keyof CSSProperties]: CSSProperties[K] | ReadonlyArray<Extract<CSSProperties[K], string>>;
39
39
  };
40
40
 
41
41
  // TODO v6 - check if we can drop the unknown, as it breaks the autocomplete
@@ -49,7 +49,7 @@ export interface CSSOthersObject {
49
49
  }
50
50
  export type CSSPseudosForCSSObject = { [K in CSS.Pseudos]?: CSSObject };
51
51
 
52
- export interface ArrayCSSInterpolation extends Array<CSSInterpolation> {}
52
+ export interface ArrayCSSInterpolation extends ReadonlyArray<CSSInterpolation> {}
53
53
 
54
54
  export interface CSSOthersObjectForCSSObject {
55
55
  [propertiesName: string]: CSSInterpolation;
@@ -98,7 +98,7 @@ export interface FunctionInterpolation<Props> {
98
98
  (props: Props): Interpolation<Props>;
99
99
  }
100
100
 
101
- export interface ArrayInterpolation<Props> extends Array<Interpolation<Props>> {}
101
+ export interface ArrayInterpolation<Props> extends ReadonlyArray<Interpolation<Props>> {}
102
102
 
103
103
  export type Interpolation<Props> =
104
104
  | InterpolationPrimitive
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/styled-engine v5.15.8
2
+ * @mui/styled-engine v5.15.9
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/styled-engine v5.15.8
2
+ * @mui/styled-engine v5.15.9
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/styled-engine v5.15.8
2
+ * @mui/styled-engine v5.15.9
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/styled-engine v5.15.8
2
+ * @mui/styled-engine v5.15.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": "5.15.8",
3
+ "version": "5.15.9",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "styled() API wrapper package for emotion.",
@@ -28,7 +28,7 @@
28
28
  "dependencies": {
29
29
  "@babel/runtime": "^7.23.9",
30
30
  "@emotion/cache": "^11.11.0",
31
- "csstype": "^3.1.2",
31
+ "csstype": "^3.1.3",
32
32
  "prop-types": "^15.8.1"
33
33
  },
34
34
  "peerDependencies": {