@mui/styled-engine-sc 5.14.12 → 6.0.0-alpha.2

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,143 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.14.14
4
+
5
+ <!-- generated comparing v5.14.13..master -->
6
+
7
+ _Oct 17, 2023_
8
+
9
+ A big thanks to the 24 contributors who made this release possible. Here are some highlights ✨:
10
+ This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
11
+
12
+ ### `@mui/material@5.14.14`
13
+
14
+ - &#8203;<!-- 29 -->[material-ui][AppBar] Support all default palette colors in TypeScript (#39389) @BreakBB
15
+ - &#8203;<!-- 28 -->[material-ui][AvatarGroup] Add `renderSurplus` prop (#39283) @uuxxx
16
+ - &#8203;<!-- 25 -->[material-ui][Box] Fix system properties has incorrect `Theme` interface when applied directly (#39404) @Semigradsky
17
+ - &#8203;<!-- 04 -->[material-ui][Pagination] Update `type` parameter of `getItemAriaLabel` prop (#39390) @Simer13
18
+ - &#8203;<!-- 06 -->[material][tab] Show/hide scroll buttons for dynamically added children (#39415) @brijeshb42
19
+
20
+ ### `@mui/base@5.0.0-beta.20`
21
+
22
+ - &#8203;<!-- 26 -->[base-ui][Menu] Do not reopen the menu after clicking on a trigger in Safari (#39393) @michaldudak
23
+
24
+ ### `@mui/material-next@6.0.0-alpha.106`
25
+
26
+ - &#8203;<!-- 23 -->[Divider][material-next] Add Divider component (#39179) @Best-Sardar
27
+
28
+ ### `@mui/joy@5.0.0-beta.11`
29
+
30
+ - &#8203;<!-- 08 -->[joy-ui][List] Add the `marker` prop (#39313) @siriwatknp
31
+ - &#8203;<!-- 07 -->[joy-ui][Skeleton] Fix semi-transparent scenario when with surface components and color inversion (#39400) @TheNatkat
32
+ - &#8203;<!-- 06 -->[joy-ui][Textarea] Fix focus ring for error state (#39391) @vineetjk
33
+
34
+ ### `@mui/icons-material@5.14.14`
35
+
36
+ - &#8203;<!-- 09 -->[icons] Fix VoiceChatOutlined showing the wrong icon (#39418) @devuser200
37
+
38
+ ### `@mui/system@5.14.14`
39
+
40
+ - &#8203;<!-- 03 -->[mui-system][style] bug fix for style value check color in nullable object (#39457) @DarhkVoyd
41
+
42
+ ### `@mui/styled-engine-sc@6.0.0-alpha.2`
43
+
44
+ - &#8203;<!-- 05 -->[styled-engine-sc] Fix TS issues because of missing types (#39395) @mnajdova
45
+
46
+ ### Docs
47
+
48
+ - &#8203;<!-- 27 -->[docs][base-ui] Renaming demos to BaseXxx (#39104) @christophermorin
49
+ - &#8203;<!-- 26 -->[docs] Accessibility in Base UI (#39264) @michaldudak
50
+ - &#8203;<!-- 22 -->[docs] Fix 301 redirection @oliviertassinari
51
+ - &#8203;<!-- 21 -->[docs] Improve Base UI table of contents for APIs (#39412) @ZeeshanTamboli
52
+ - &#8203;<!-- 20 -->[docs] Adjust design kits-related content (#39367) @danilo-leal
53
+ - &#8203;<!-- 19 -->[docs] Revise the Contributing Guide (#39190) @samuelsycamore
54
+ - &#8203;<!-- 12 -->[docs][joy-ui] Fix row hover prop name in the Table page (#39431) @adrienbrault
55
+ - &#8203;<!-- 11 -->[docs][joy-ui] Fix color inversion demos (#39403) @danilo-leal
56
+ - &#8203;<!-- 10 -->[docs][material-ui] Remove irrelevant TODO from Snackbar demo (#39396) @ZeeshanTamboli
57
+ - &#8203;<!-- 06 -->[docs][material-ui][Table] Bug in "Sorting & Selecting" demo (#39426) @codewithrabeeh
58
+ - &#8203;<!-- 05 -->[docs][joy-ui][typography] Update docs after lineHeight changes (#39366) @zanivan
59
+
60
+ ### Core
61
+
62
+ - &#8203;<!-- 24 -->[core] Fix multiple typos across the repo (#39422) @parikshitadhikari
63
+ - &#8203;<!-- 18 -->[docs-infra] Add refinements to the API content design (#39425) @danilo-leal
64
+ - &#8203;<!-- 17 -->[docs-infra] Add a min height to the layout component (#39416) @danilo-leal
65
+ - &#8203;<!-- 16 -->[docs-infra] Prevent horizontal scroll in the TOC (#39417) @danilo-leal
66
+ - &#8203;<!-- 15 -->[docs-infra] Add a collapsible list & table views to the API content display (#38265) @alexfauquette
67
+ - &#8203;<!-- 14 -->[docs-infra] Adjust the `kbd` tag styles (#39397) @danilo-leal
68
+ - &#8203;<!-- 13 -->[docs-infra] Fix strong style regression (#39384) @oliviertassinari
69
+ - &#8203;<!-- 04 -->[website] Add the LinkedIn profile to the contributors section on the About page (#39455) @chhawinder
70
+ - &#8203;<!-- 03 -->[website] Update new role template (#39386) @oliviertassinari
71
+ - &#8203;<!-- 02 -->[website] Add stray design fine-tunning to the Pricing page (#39472) @danilo-leal
72
+ - &#8203;<!-- 01 -->[website] Fix career anchor link to perks & benefits @oliviertassinari
73
+
74
+ All contributors of this release in alphabetical order: @adrienbrault, @alexfauquette, @Best-Sardar, @BreakBB, @brijeshb42, @chhawinder, @christophermorin, @codewithrabeeh, @danilo-leal, @DarhkVoyd, @devuser200, @michaldudak, @mnajdova, @oliviertassinari, @parikshitadhikari, @samuelsycamore, @Semigradsky, @Simer13, @siriwatknp, @TheNatkat, @uuxxx, @vineetjk, @zanivan, @ZeeshanTamboli
75
+
76
+ ## 5.14.13
77
+
78
+ <!-- generated comparing v5.14.12..master -->
79
+
80
+ _Oct 10, 2023_
81
+
82
+ A big thanks to the 22 contributors who made this release possible. Here are some highlights ✨:
83
+
84
+ - 🚀 Added support for `styled-components` v6 (#39042) @mnajdova
85
+
86
+ ### `@mui/material@5.14.13`
87
+
88
+ - [Checkbox] Fix checkbox hover bg with extendTheme (#39319) @brijeshb42
89
+ - [Chip] Outlined Chip variant is wider than the Filled counterpart (#39342) @chirag3003
90
+ - [Select] Add notice about select's a11y improvement on v5.14.12 changelog (#39310) @DiegoAndai
91
+ - [Typography] Color prop check for primitive type (#39071) @DarhkVoyd
92
+ - [Pagination] Fix background color on hover and keyboard focus when using CSS theme variables (#39220) @ValkonX33
93
+ - [Popper] Add missing `styleOverrides` Popper type in theme (#39154) @axelbostrom
94
+ - [Slider] Support all default palette colors in TypeScript (#39058) @gugudwt
95
+
96
+ ### `@mui/base@5.0.0-beta.19`
97
+
98
+ - [Menu] Add the anchor prop (#39297) @michaldudak
99
+
100
+ ### `@mui/material-next@6.0.0-alpha.105`
101
+
102
+ - [Menu] Copy v5 Menu components (#39301) @mnajdova
103
+
104
+ ### `@mui/joy@5.0.0-beta.10`
105
+
106
+ - [Autocomplete] Add `type=button` to clear button (#39263) @brijeshb42
107
+ - [Button] Fix the text wrap issue (#38696) @atharva3333
108
+ - [Drawer] Apply color inversion to content slot instead (#39312) @siriwatknp
109
+ - [Switch] Fix missing class name (#39327) @Bestwebdesign
110
+
111
+ ### `@mui/styled-engine-sc@6.0.0-alpha.1`
112
+
113
+ - &#8203;<!-- 03 -->[system] Add support for `styled-components` v6 (#39042) @mnajdova
114
+
115
+ ### Docs
116
+
117
+ - [joy-ui] Adjust the templates page card design (#39369) @danilo-leal
118
+ - Rename the Data Grid "Quick filter" to "Search" (#37724) @alexfauquette
119
+ - Remove obsolete translations (#39221) @mbrookes
120
+ - Update link to add custom color in palette (#39359) @ZeeshanTamboli
121
+ - Denser code demo @oliviertassinari
122
+ - Set up MD3 experiments pages (#39323) @mj12albert
123
+ - [Drawer] Fix right anchored persistent drawer intercepts click when it is closed (#39318) @ZeeshanTamboli
124
+ - [joy-ui] Revise the Color Inversion page (#39306) @danilo-leal
125
+ - [joy-ui] Remove redundant `error` prop from input validation demo (#39280) @sai6855
126
+ - [material-ui] Rename themed components doc, fix typos (#39368) @samuelsycamore
127
+ - [material-ui] Adjust the Material You Chip section (#39325) @danilo-leal
128
+ - [system] Add documentation on how to augment custom theme types for the `sx` prop callback (#39259) @3xp10it3r
129
+ - [joy-ui][Input] Add debounce input demo (#39300) @sai6855
130
+
131
+ ### Core
132
+
133
+ - [docs-infra] Improve the open diamond sponsor spot callout (#39332) @danilo-leal
134
+ - [docs-infra] Fix Code Sandbox download issue (#39317) @ARJ2160
135
+ - [docs-infra] Remove overflow: hidden for demo gradient bg (#39225) @oliviertassinari
136
+ - [website] Fix footer responsiveness (#39355) @danilo-leal
137
+ - [website] Host Figma redirections in the store for now @oliviertassinari
138
+
139
+ All contributors of this release in alphabetical order: @3xp10it3r, @alexfauquette, @ARJ2160, @atharva3333, @axelbostrom, @Bestwebdesign, @brijeshb42, @chirag3003, @danilo-leal, @DarhkVoyd, @DiegoAndai, @gugudwt, @mbrookes, @michaldudak, @mj12albert, @mnajdova, @oliviertassinari, @sai6855, @samuelsycamore, @siriwatknp, @ValkonX33, @ZeeshanTamboli
140
+
3
141
  ## 5.14.12
4
142
 
5
143
  <!-- generated comparing v5.14.11..master -->
@@ -10,6 +148,7 @@ A big thanks to the 17 contributors who made this release possible. Here are som
10
148
 
11
149
  - 🎨 Introduced color inversion utilities to Joy UI (#38916) @siriwatknp
12
150
  - 🚀 Added Chip and related TextField components to Material You @DiegoAndai, @mj12albert
151
+ - 🏗️ Improve the Select's component a11y by adding the combobox role and aria-controls attribute (#38785) @xulingzhihou. If your tests require selecting the trigger element by the "button" role, then you'll have to change it to use the "combobox" role instead
13
152
 
14
153
  ### `@mui/material@5.14.12`
15
154
 
@@ -1,9 +1,11 @@
1
1
  import * as React from 'react';
2
- import { CSSObject, InterpolationFunction } from 'styled-components';
2
+ import { CSSObject, StyleFunction } from 'styled-components';
3
3
 
4
- export interface GlobalStylesProps<Theme = {}> {
4
+ export interface GlobalStylesProps<Theme extends object = {}> {
5
5
  defaultTheme?: object;
6
- styles: string | CSSObject | InterpolationFunction<Theme>;
6
+ styles: string | CSSObject | StyleFunction<Theme>;
7
7
  }
8
8
 
9
- export default function Global<Theme = {}>(props: GlobalStylesProps<Theme>): React.ReactElement;
9
+ export default function Global<Theme extends object = {}>(
10
+ props: GlobalStylesProps<Theme>,
11
+ ): React.ReactElement;
package/index.d.ts CHANGED
@@ -1,17 +1,68 @@
1
1
  import * as React from 'react';
2
2
  import * as CSS from 'csstype';
3
- import {
4
- AnyStyledComponent,
5
- StyledConfig,
6
- StyledComponent,
7
- StyledComponentPropsWithRef,
8
- StyledComponentInnerComponent,
9
- StyledComponentInnerOtherProps,
10
- StyledComponentInnerAttrs,
11
- ThemedStyledProps,
12
- StyledComponentBase,
13
- Keyframes,
14
- } from 'styled-components';
3
+ import * as hoistNonReactStatics from 'hoist-non-react-statics';
4
+
5
+ type WithOptionalTheme<P extends { theme?: T | undefined }, T> = OmitU<P, 'theme'> & {
6
+ theme?: T | undefined;
7
+ };
8
+
9
+ // Helper type operators
10
+ // Pick that distributes over union types
11
+ export type PickU<T, K extends keyof T> = T extends any ? { [P in K]: T[P] } : never;
12
+ export type OmitU<T, K extends keyof T> = T extends any ? PickU<T, Exclude<keyof T, K>> : never;
13
+
14
+ // Any prop that has a default prop becomes optional, but its type is unchanged
15
+ // Undeclared default props are augmented into the resulting allowable attributes
16
+ // If declared props have indexed properties, ignore default props entirely as keyof gets widened
17
+ // Wrap in an outer-level conditional type to allow distribution over props that are unions
18
+ type Defaultize<P, D> = P extends any
19
+ ? string extends keyof P
20
+ ? P
21
+ : PickU<P, Exclude<keyof P, keyof D>> &
22
+ Partial<PickU<P, Extract<keyof P, keyof D>>> &
23
+ Partial<PickU<D, Exclude<keyof D, keyof P>>>
24
+ : never;
25
+
26
+ export type IntrinsicElementsKeys = keyof JSX.IntrinsicElements;
27
+ type ReactDefaultizedProps<C, P> = C extends { defaultProps: infer D } ? Defaultize<P, D> : P;
28
+
29
+ type MakeAttrsOptional<
30
+ C extends string | React.ComponentType<any>,
31
+ O extends object,
32
+ A extends keyof P,
33
+ P = React.ComponentPropsWithRef<
34
+ C extends IntrinsicElementsKeys | React.ComponentType<any> ? C : never
35
+ >,
36
+ > =
37
+ // Distribute unions early to avoid quadratic expansion
38
+ P extends any ? OmitU<ReactDefaultizedProps<C, P> & O, A> & Partial<PickU<P & O, A>> : never;
39
+
40
+ export type StyledComponentProps<
41
+ // The Component from whose props are derived
42
+ C extends string | React.ComponentType<any>,
43
+ // The Theme from the current context
44
+ T extends object,
45
+ // The other props added by the template
46
+ O extends object,
47
+ // The props that are made optional by .attrs
48
+ A extends keyof any,
49
+ // The Component passed with "forwardedAs" prop
50
+ FAsC extends string | React.ComponentType<any> = C,
51
+ > =
52
+ // Distribute O if O is a union type
53
+ O extends object
54
+ ? WithOptionalTheme<MakeAttrsOptional<C, O, A> & MakeAttrsOptional<FAsC, O, A>, T>
55
+ : never;
56
+
57
+ export interface ThemeProps<T> {
58
+ theme: T;
59
+ }
60
+
61
+ export type ThemedStyledProps<P, T> = P & ThemeProps<T>;
62
+
63
+ export interface Keyframes {
64
+ getName(): string;
65
+ }
15
66
 
16
67
  export * from 'styled-components';
17
68
  export { default } from 'styled-components';
@@ -83,6 +134,101 @@ export type FlattenSimpleInterpolation = ReadonlyArray<SimpleInterpolation>;
83
134
 
84
135
  export type InterpolationFunction<P> = (props: P) => Interpolation<P>;
85
136
 
137
+ // abuse Pick to strip the call signature from ForwardRefExoticComponent
138
+ type ForwardRefExoticBase<P> = PickU<
139
+ React.ForwardRefExoticComponent<P>,
140
+ keyof React.ForwardRefExoticComponent<any>
141
+ >;
142
+
143
+ type StyledComponentPropsWithAs<
144
+ C extends string | React.ComponentType<any>,
145
+ T extends object,
146
+ O extends object,
147
+ A extends keyof any,
148
+ AsC extends string | React.ComponentType<any> = C,
149
+ FAsC extends string | React.ComponentType<any> = C,
150
+ > = StyledComponentProps<C, T, O, A, FAsC> & {
151
+ as?: AsC | undefined;
152
+ forwardedAs?: FAsC | undefined;
153
+ };
154
+
155
+ export type StyledComponent<
156
+ C extends keyof JSX.IntrinsicElements | React.ComponentType<any>,
157
+ T extends object = {},
158
+ O extends object = {},
159
+ A extends keyof any = never,
160
+ > = // the "string" allows this to be used as an object key
161
+ // I really want to avoid this if possible but it's the only way to use nesting with object styles...
162
+ string &
163
+ StyledComponentBase<C, T, O, A> &
164
+ hoistNonReactStatics.NonReactStatics<C extends React.ComponentType<any> ? C : never>;
165
+
166
+ // any doesn't count as assignable to never in the extends clause, and we default A to never
167
+ export type AnyStyledComponent =
168
+ | StyledComponent<any, any, any, any>
169
+ | StyledComponent<any, any, any>
170
+ | React.FunctionComponent<any>
171
+ | React.ComponentType<any>;
172
+
173
+ export type StyledComponentInnerComponent<C extends AnyStyledComponent> = C extends StyledComponent<
174
+ infer I,
175
+ any,
176
+ any,
177
+ any
178
+ >
179
+ ? I
180
+ : C extends StyledComponent<infer I, any, any>
181
+ ? I
182
+ : C;
183
+
184
+ export type StyledComponentInnerOtherProps<C extends AnyStyledComponent> =
185
+ C extends StyledComponent<any, any, infer O, any>
186
+ ? O
187
+ : C extends StyledComponent<any, any, infer O>
188
+ ? O
189
+ : never;
190
+ export type StyledComponentInnerAttrs<C extends AnyStyledComponent> = C extends StyledComponent<
191
+ any,
192
+ any,
193
+ any,
194
+ infer A
195
+ >
196
+ ? A
197
+ : never;
198
+
199
+ export interface StyledComponentBase<
200
+ C extends string | React.ComponentType<any>,
201
+ T extends object,
202
+ O extends object = {},
203
+ A extends keyof any = never,
204
+ > extends ForwardRefExoticBase<StyledComponentProps<C, T, O, A>> {
205
+ // add our own fake call signature to implement the polymorphic 'as' prop
206
+ (
207
+ props: StyledComponentProps<C, T, O, A> & {
208
+ as?: never | undefined;
209
+ forwardedAs?: never | undefined;
210
+ },
211
+ ): React.ReactElement<StyledComponentProps<C, T, O, A>>;
212
+ <
213
+ AsC extends string | React.ComponentType<any> = C,
214
+ FAsC extends string | React.ComponentType<any> = AsC,
215
+ >(
216
+ props: StyledComponentPropsWithAs<AsC, T, O, A, AsC, FAsC>,
217
+ ): React.ReactElement<StyledComponentPropsWithAs<AsC, T, O, A, AsC, FAsC>>;
218
+
219
+ withComponent<WithC extends AnyStyledComponent>(
220
+ component: WithC,
221
+ ): StyledComponent<
222
+ StyledComponentInnerComponent<WithC>,
223
+ T,
224
+ O & StyledComponentInnerOtherProps<WithC>,
225
+ A | StyledComponentInnerAttrs<WithC>
226
+ >;
227
+ withComponent<WithC extends keyof JSX.IntrinsicElements | React.ComponentType<any>>(
228
+ component: WithC,
229
+ ): StyledComponent<WithC, T, O, A>;
230
+ }
231
+
86
232
  // remove the call signature from StyledComponent so Interpolation can still infer InterpolationFunction
87
233
  type StyledComponentInterpolation =
88
234
  | Pick<StyledComponentBase<any, any, any, any>, keyof StyledComponentBase<any, any>>
@@ -96,6 +242,12 @@ type ThemedStyledComponentFactories<T extends object> = {
96
242
  [TTag in keyof JSX.IntrinsicElements]: ThemedStyledFunctionBase<TTag, T>;
97
243
  };
98
244
 
245
+ export type StyledComponentPropsWithRef<
246
+ C extends keyof JSX.IntrinsicElements | React.ComponentType<any>,
247
+ > = C extends AnyStyledComponent
248
+ ? React.ComponentPropsWithRef<StyledComponentInnerComponent<C>>
249
+ : React.ComponentPropsWithRef<C>;
250
+
99
251
  // Same as in styled-components, but copied here so that it would use the Interpolation & CSS typings from above
100
252
  export interface ThemedStyledFunctionBase<
101
253
  C extends keyof JSX.IntrinsicElements | React.ComponentType<any>,
@@ -128,6 +280,23 @@ export interface ThemedStyledFunction<
128
280
  A extends keyof any = never,
129
281
  > extends ThemedStyledFunctionBase<C, T, O, A> {}
130
282
 
283
+ export type CreateStyledComponent<
284
+ ComponentProps extends {},
285
+ SpecificComponentProps extends {} = {},
286
+ JSXProps extends {} = {},
287
+ T extends object = {},
288
+ > = ThemedStyledFunction<React.ComponentType<ComponentProps>, T, SpecificComponentProps & JSXProps>;
289
+
290
+ // Config to be used with withConfig
291
+ export interface StyledConfig<O extends object = {}> {
292
+ // TODO: Add all types from the original StyledComponentWrapperProperties
293
+ componentId?: string;
294
+ displayName?: string;
295
+ shouldForwardProp?:
296
+ | ((prop: keyof O, defaultValidatorFn: (prop: keyof O) => boolean) => boolean)
297
+ | undefined;
298
+ }
299
+
131
300
  // same as ThemedBaseStyledInterface in styled-components, but with added options & common props for MUI components
132
301
  export interface ThemedBaseStyledInterface<
133
302
  MUIStyledCommonProps extends object,
@@ -156,3 +325,22 @@ export type CreateMUIStyled<
156
325
  MuiStyledOptions extends object = {},
157
326
  T extends object = {},
158
327
  > = ThemedBaseStyledInterface<MUIStyledCommonProps, MuiStyledOptions, AnyIfEmpty<T>>;
328
+
329
+ export type PropsOf<C extends keyof JSX.IntrinsicElements | React.JSXElementConstructor<any>> =
330
+ JSX.LibraryManagedAttributes<C, React.ComponentProps<C>>;
331
+
332
+ export interface MUIStyledComponent<
333
+ ComponentProps extends {},
334
+ SpecificComponentProps extends {} = {},
335
+ JSXProps extends {} = {},
336
+ > extends React.FC<ComponentProps & SpecificComponentProps & JSXProps> {
337
+ withComponent<C extends React.ComponentClass<React.ComponentProps<C>>>(
338
+ component: C,
339
+ ): MUIStyledComponent<ComponentProps & PropsOf<C>, {}, { ref?: React.Ref<InstanceType<C>> }>;
340
+ withComponent<C extends React.ComponentType<React.ComponentProps<C>>>(
341
+ component: C,
342
+ ): MUIStyledComponent<ComponentProps & PropsOf<C>>;
343
+ withComponent<Tag extends keyof JSX.IntrinsicElements>(
344
+ tag: Tag,
345
+ ): MUIStyledComponent<ComponentProps, JSX.IntrinsicElements[Tag]>;
346
+ }
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/styled-engine-sc v5.14.12
2
+ * @mui/styled-engine-sc v6.0.0-alpha.2
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-sc v5.14.12
2
+ * @mui/styled-engine-sc v6.0.0-alpha.2
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-sc v5.14.12
2
+ * @mui/styled-engine-sc v6.0.0-alpha.2
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-sc v5.14.12
2
+ * @mui/styled-engine-sc v6.0.0-alpha.2
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": "5.14.12",
3
+ "version": "6.0.0-alpha.2",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "styled() API wrapper package for styled-components.",
@@ -28,16 +28,11 @@
28
28
  "dependencies": {
29
29
  "@babel/runtime": "^7.23.1",
30
30
  "csstype": "^3.1.2",
31
+ "hoist-non-react-statics": "^3.3.2",
31
32
  "prop-types": "^15.8.1"
32
33
  },
33
34
  "peerDependencies": {
34
- "@types/styled-components": "^5.1.14",
35
- "styled-components": "^5.3.1"
36
- },
37
- "peerDependenciesMeta": {
38
- "@types/styled-components": {
39
- "optional": true
40
- }
35
+ "styled-components": "^6.0.0"
41
36
  },
42
37
  "sideEffects": false,
43
38
  "publishConfig": {