@mui/styled-engine-sc 6.0.0-alpha.15 → 6.0.0-alpha.16
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 +35 -0
- package/index.d.ts +10 -20
- package/index.js +1 -1
- package/legacy/index.js +1 -1
- package/modern/index.js +1 -1
- package/node/index.js +1 -1
- package/package.json +2 -2
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
|
+
- ​<!-- 11 -->[autocomplete] Avoid spread operator (#40968) @oliviertassinari
|
|
14
|
+
- ​<!-- 05 -->[material] Remove zero-runtime from peer dep (#41003) @brijeshb42
|
|
15
|
+
|
|
16
|
+
### `@mui/base@5.0.0-beta.36`
|
|
17
|
+
|
|
18
|
+
- ​<!-- 10 -->[base-ui] Update props using Array to ReadonlyArray type (#40754) @RaghavenderSingh
|
|
19
|
+
|
|
20
|
+
### `@mui/system@5.15.9`
|
|
21
|
+
|
|
22
|
+
- ​<!-- 02 -->[system] use `ReadonlyArray` for CSS related types (#40972) @siriwatknp
|
|
23
|
+
- ​<!-- 01 -->[zero] Migrate to use wyw-in-js instead of linaria (#40866) @brijeshb42
|
|
24
|
+
|
|
25
|
+
### Docs
|
|
26
|
+
|
|
27
|
+
- ​<!-- 06 -->[docs] Polish codemod git diff format @oliviertassinari
|
|
28
|
+
- ​<!-- 05 -->[material-ui][docs] Migrating from deprecated apis follow up (#40981) @DiegoAndai
|
|
29
|
+
|
|
30
|
+
### Core
|
|
31
|
+
|
|
32
|
+
- ​<!-- 09 -->[code-infra] Move next config to ESM (#40869) @Janpot
|
|
33
|
+
- ​<!-- 08 -->[code-infra] Update prettier (#40772) @Janpot
|
|
34
|
+
- ​<!-- 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
|
@@ -173,31 +173,21 @@ export type AnyStyledComponent =
|
|
|
173
173
|
| React.FunctionComponent<any>
|
|
174
174
|
| React.ComponentType<any>;
|
|
175
175
|
|
|
176
|
-
export type StyledComponentInnerComponent<C extends AnyStyledComponent> =
|
|
177
|
-
infer I,
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
? I
|
|
183
|
-
: C extends StyledComponent<infer I, any, any>
|
|
184
|
-
? I
|
|
185
|
-
: C;
|
|
176
|
+
export type StyledComponentInnerComponent<C extends AnyStyledComponent> =
|
|
177
|
+
C extends StyledComponent<infer I, any, any, any>
|
|
178
|
+
? I
|
|
179
|
+
: C extends StyledComponent<infer I, any, any>
|
|
180
|
+
? I
|
|
181
|
+
: C;
|
|
186
182
|
|
|
187
183
|
export type StyledComponentInnerOtherProps<C extends AnyStyledComponent> =
|
|
188
184
|
C extends StyledComponent<any, any, infer O, any>
|
|
189
185
|
? O
|
|
190
186
|
: C extends StyledComponent<any, any, infer O>
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
export type StyledComponentInnerAttrs<C extends AnyStyledComponent> =
|
|
194
|
-
any,
|
|
195
|
-
any,
|
|
196
|
-
any,
|
|
197
|
-
infer A
|
|
198
|
-
>
|
|
199
|
-
? A
|
|
200
|
-
: never;
|
|
187
|
+
? O
|
|
188
|
+
: never;
|
|
189
|
+
export type StyledComponentInnerAttrs<C extends AnyStyledComponent> =
|
|
190
|
+
C extends StyledComponent<any, any, any, infer A> ? A : never;
|
|
201
191
|
|
|
202
192
|
export interface StyledComponentBase<
|
|
203
193
|
C extends string | React.ComponentType<any>,
|
package/index.js
CHANGED
package/legacy/index.js
CHANGED
package/modern/index.js
CHANGED
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/styled-engine-sc",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.16",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "styled() API wrapper package for styled-components.",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@babel/runtime": "^7.23.9",
|
|
30
|
-
"csstype": "^3.1.
|
|
30
|
+
"csstype": "^3.1.3",
|
|
31
31
|
"hoist-non-react-statics": "^3.3.2",
|
|
32
32
|
"prop-types": "^15.8.1"
|
|
33
33
|
},
|