@mui/styled-engine 5.0.2 → 5.2.4

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,515 @@
1
1
  ### [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.2.4
4
+
5
+ <!-- generated comparing v5.2.3..master -->
6
+
7
+ _Dec 14, 2021_
8
+
9
+ A big thanks to the 16 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - ✨ Add `not` operator to `theme.breakpoints` (#29311) @Philipp000
12
+
13
+ ```js
14
+ const styles = (theme) => ({
15
+ root: {
16
+ backgroundColor: 'blue',
17
+ // Match [xs, md) and [md + 1, ∞)
18
+ // [xs, md) and [lg, ∞)
19
+ // [0px, 900px) and [1200px, ∞)
20
+ [theme.breakpoints.not('md')]: {
21
+ backgroundColor: 'red',
22
+ },
23
+ },
24
+ });
25
+ ```
26
+
27
+ - And many more 🐛 bug fixes and 📚 improvements.
28
+
29
+ ### `@mui/material@5.2.4`
30
+
31
+ - &#8203;<!-- 14 -->[esm] Correct a styles imports (#29976) @Janpot
32
+ - &#8203;<!-- 12 -->[GlobalStyles] Fix `theme` type (#30072) @mnajdova
33
+ - &#8203;<!-- 11 -->[Grid] Fix grid items to respond to the container's responsive columns (#29715) @kkorach
34
+ - &#8203;<!-- 04 -->[TextField] Fix missing space before asterisk in `OutlinedInput`'s label (#29630) @alisasanib
35
+ - &#8203;<!-- 03 -->[Transition] Allow any valid HTML attribute to be passed (#29888) @Janpot
36
+ - &#8203;<!-- 02 -->[types] Fix discrepancy between core and system `ThemeOptions` (#30095) @fmeum
37
+ - &#8203;<!-- 09 -->[InputBase] Add prop for disabling global styles (#29213) @bryan-hunter
38
+ - &#8203;<!-- 08 -->[Select] Improve multiple logic (#30135) @ladygo93
39
+
40
+ ### `@mui/system@5.2.4`
41
+
42
+ - &#8203;<!-- 06 -->[system] Don't transition when re-appearing (#30108) @eps1lon
43
+ - &#8203;<!-- 05 -->[system] Add `not` operator to `breakpoints` (#29311) @Philipp000
44
+
45
+ ### `@mui/base@5.0.0-alpha.60`
46
+
47
+ - &#8203;<!-- 25 -->[BadgeUnstyled] Make it conformant with other base components (#30141) @mnajdova
48
+
49
+ ### `@mui/icons-material@5.2.4`
50
+
51
+ - &#8203;<!-- 10 -->[icons] Correct location of icon download folder (#29839) @yaboi
52
+
53
+ ### Docs
54
+
55
+ - &#8203;<!-- 22 -->[docs] Explain the use of Select's label in FormControl (#30189) @michaldudak
56
+ - &#8203;<!-- 21 -->[docs] Don't run nprogress on shallow routing (#30087) @Janpot
57
+ - &#8203;<!-- 20 -->[docs] Add Data Driven Forms to related projects (#30078) @rvsia
58
+ - &#8203;<!-- 19 -->[docs] Sync translations with Crowdin (#30067) @l10nbot
59
+ - &#8203;<!-- 18 -->[docs] Fix link on "Custom variables" section in the Theming page #30100 @danilo-leal
60
+ - &#8203;<!-- 17 -->[docs] Fix justifyContent option in the Grid interactive demo (#30117) @danilo-leal
61
+ - &#8203;<!-- 16 -->[docs] Add tip to help access the docs of a previous version when finding answers in StackOverflow (#30101) @danilo-leal
62
+ - &#8203;<!-- 15 -->[docs] Fix import example inside Unstyled Backdrop section (#30098) @TheodosiouTh
63
+ - &#8203;<!-- 01 -->[website] Column pinning and Tree data are out (#30136) @oliviertassinari
64
+ - &#8203;<!-- 07 -->[survey] Remove survey promotion items (#30122) @danilo-leal
65
+
66
+ ### Core
67
+
68
+ - &#8203;<!-- 23 -->[core] Fix link to Open Collective @oliviertassinari
69
+ - &#8203;<!-- 26 -->[core] Update snapshots and s3 fallback (#30134) @Janpot
70
+ - &#8203;<!-- 24 -->[ci] Update CI bucket (#30080) @Janpot
71
+ - &#8203;<!-- 13 -->[fix] size:snapshot for mui-material-next and mui-joy components (#30106) @Janpot
72
+
73
+ All contributors of this release in alphabetical order: @alisasanib, @bryan-hunter, @danilo-leal, @eps1lon, @fmeum, @Janpot, @kkorach, @l10nbot, @ladygo93, @michaldudak, @mnajdova, @oliviertassinari, @Philipp000, @rvsia, @TheodosiouTh, @yaboi
74
+
75
+ ## 5.2.3
76
+
77
+ <!-- generated comparing v5.2.2..master -->
78
+
79
+ _Dec 6, 2021_
80
+
81
+ A big thanks to the 25 contributors who made this release possible. Here are some highlights ✨:
82
+
83
+ - ✨ We have introduced a new unstyled component in `@mui/base`: `TablePagination` (#29759) @mnajdova
84
+
85
+ <a href="https://mui.com/components/tables/#unstyled-table"><img width="800" alt="unstyled table" src="https://user-images.githubusercontent.com/4512430/144862194-584356ef-7d9d-462c-a631-186a7e716193.png"></a>
86
+
87
+ You can follow our progress with unstyled components at https://github.com/mui-org/material-ui/issues/27170.
88
+
89
+ - 🎉 We have added an example of how to use MUI with [Remix](https://remix.run/) (#29952) @mnajdova
90
+
91
+ - And many more 🐛 bug fixes and 📚 improvements.
92
+
93
+ ### `@mui/material@5.2.3`
94
+
95
+ - &#8203;<!-- 33 -->[Accordion] Add a test for handling `square` prop (#29972) @daniel-sachs
96
+ - &#8203;<!-- 32 -->[Alert] Fix `square` Paper prop (#30027) @ZeeshanTamboli
97
+ - &#8203;<!-- 31 -->[AvatarGroup] Allow specifying total number of avatars (#29898) @eduardomcv
98
+ - &#8203;<!-- 29 -->[Button] Fix regression from context API (#29982) @siriwatknp
99
+ - &#8203;<!-- 13 -->[Grid] Fix generated classes for `spacing` prop when the value is object (#29880) @jayeclark
100
+ - &#8203;<!-- 10 -->[Select] Should not crash when an empty array is passed with `multiple` enabled (#29957) @Domino987
101
+
102
+ ### `@mui/system@5.2.3`
103
+
104
+ - &#8203;<!-- 06 -->[system] Fix return type of `createBox` (#29989) @mnajdova
105
+ - &#8203;<!-- 05 -->[system] Support boolean values in typescript for the `sx` prop when used as array (#29911) @tasugi
106
+
107
+ ### `@mui/utils@5.2.3`
108
+
109
+ - &#8203;<!-- 03 -->[utils] Add typings for `@mui-material/styles/cssUtils` (#29621) @Semigradsky
110
+
111
+ ### `@mui/icons-material@5.2.1`
112
+
113
+ - &#8203;<!-- 12 -->[icons] Consolidate ignored icons into one list (#29843) @chao813
114
+
115
+ ### `@mui/base@5.0.0-alpha.59`
116
+
117
+ - &#8203;<!-- 30 -->[base] Fix missing ClickAwayListener barrel index export (#30000) @oliviertassinari
118
+ - &#8203;<!-- 04 -->[TablePaginationUnstyled] Introduce new component (#29759) @mnajdova
119
+
120
+ ### `@mui/lab@5.0.0-alpha.59`
121
+
122
+ - &#8203;<!-- 27 -->[DateRangePicker] Fix `DateRangePickerDayProps` interface (#29067) @jonathanrtuck
123
+ - &#8203;<!-- 10 -->[Pickers] Remove propagation of custom props to the `MonthPicker` component's DOM element (#30021) @ZeeshanTamboli
124
+ - &#8203;<!-- 08 -->[StaticDatePicker] Add className and slot to PickerStaticWrapper (#29619) @kkorach
125
+
126
+ ### `@mui/joy@5.0.0-alpha.5`
127
+
128
+ - &#8203;<!-- 11 -->[Joy] Theme setup (#29846) @siriwatknp
129
+
130
+ ### Docs
131
+
132
+ - &#8203;<!-- 34 -->[docs] Fix link in TypeScript doc page (#30044) @genzyy
133
+ - &#8203;<!-- 26 -->[docs] Remove the 'WIP' icon from the 'Group & Pivot' page title (#30077) @flaviendelangle
134
+ - &#8203;<!-- 25 -->[docs] Add warning that `@mui/styled-engine-sc` does not work in SSR (#30026) @mnajdova
135
+ - &#8203;<!-- 24 -->[docs] Add section for CSS specificity in the migration guide (#30008) @hbjORbj
136
+ - &#8203;<!-- 28 -->[docs] Clarify comment in migration doc (#30076) @hbjORbj
137
+ - &#8203;<!-- 23 -->[docs] Sync translations with Crowdin (#30041) @l10nbot
138
+ - &#8203;<!-- 22 -->[docs] Explain how Paper changes shade in dark mode (#30003) @michaldudak
139
+ - &#8203;<!-- 21 -->[docs] Update nextjs-typescript-example (#29974) @huydhoang
140
+ - &#8203;<!-- 20 -->[docs] Add missing global state classes to API docs generator (#29945) @michaldudak
141
+ - &#8203;<!-- 19 -->[docs] Fix benchmarks folder link (#29981) @fourjr
142
+ - &#8203;<!-- 18 -->[docs] Improve wording in StackOverflow section of support page (#29956) @ronwarner
143
+ - &#8203;<!-- 17 -->[docs] Remove Black Friday sale notification (#29936) @mbrookes
144
+ - &#8203;<!-- 16 -->[examples] Fix typos in the Remix example (#30071) @MichaelDeBoey
145
+ - &#8203;<!-- 15 -->[examples] Add Remix example (#29952) @mnajdova
146
+ - &#8203;<!-- 14 -->[examples] Fix lint issue for displayName missing in the Next.js examples (#29985) @ZeeshanTamboli
147
+ - &#8203;<!-- 09 -->[Stack] Document system props in Stack API (#30069) @ThewBear
148
+ - &#8203;<!-- 07 -->[survey] Add a banner and card for promoting the 2021 survey (#29950) @danilo-leal
149
+ - &#8203;<!-- 02 -->[website] Correct the Careers page description (#30073) @michaldudak
150
+ - &#8203;<!-- 01 -->[website] Fix 301 links (#30040) @oliviertassinari
151
+
152
+ ### Core
153
+
154
+ - &#8203;<!-- 31 -->[core] Batch small changes (#30042) @oliviertassinari
155
+ - &#8203;<!-- 28 -->[core] Transition to a new StackOverflow tag (#29967) @oliviertassinari
156
+
157
+ All contributors of this release in alphabetical order: @chao813, @daniel-sachs, @danilo-leal, @Domino987, @eduardomcv, @flaviendelangle, @fourjr, @genzyy, @hbjORbj, @huydhoang, @jayeclark, @jonathanrtuck, @kkorach, @l10nbot, @mbrookes, @MichaelDeBoey, @michaldudak, @mnajdova, @oliviertassinari, @ronwarner, @Semigradsky, @siriwatknp, @tasugi, @ThewBear, @ZeeshanTamboli
158
+
159
+ ## 5.2.2
160
+
161
+ <!-- generated comparing v5.2.1..master -->
162
+
163
+ _Nov 29, 2021_
164
+
165
+ A big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
166
+
167
+ - ♿️ Improved accessibility of `Snackbar` and `TextField` in `@mui/material` (#29782) (#29850) (#29852) @eps1lon.
168
+ - 🎉 Added support for `sx` syntax inside `styled()` utility (#29833) @mnajdova.
169
+ - 🎉 Added support for more options for `createCssVarsProvider` in `@mui/system` (#29845) (#29857) @hbjORbj.
170
+ - And many more 🐛 bug fixes and 📚 improvements.
171
+
172
+ ### `@mui/material@5.2.2`
173
+
174
+ - &#8203;<!-- 14 -->[MenuList] Add component prop (#29882) @Harshikerfuffle
175
+ - &#8203;<!-- 13 -->[Snackbar] Interrupt auto-hide on keyboard interaction (#29852) @eps1lon
176
+ - &#8203;<!-- 12 -->[Snackbar] Dismiss on Escape press (#29850) @eps1lon
177
+ - &#8203;<!-- 06 -->[TextField] Associate accessible name and description by default (#29782) @eps1lon
178
+
179
+ ### `@mui/joy@5.0.0-alpha.4`
180
+
181
+ - &#8203;<!-- 15 -->[Joy] Add `Button` - 1st iteration (#29464) @siriwatknp
182
+
183
+ ### `@mui/codemod@5.2.1`
184
+
185
+ - &#8203;<!-- 28 -->[codemod] Fix alias import for box-sx-prop (#29902) @siriwatknp
186
+
187
+ ### `@mui/system@5.2.2`
188
+
189
+ - &#8203;<!-- 11 -->[system] CSSVarsProvider cleans up `html[style]` when unmounting (#29946) @eps1lon
190
+ - &#8203;<!-- 10 -->[system] Add support for `disableTransitionOnChange` in `createCssVarsProvider` (#29857) @hbjORbj
191
+ - &#8203;<!-- 09 -->[system] Add support for `enableColorScheme` in `createCssVarsProvider` (#29845) @hbjORbj
192
+
193
+ ### `@mui/utils@5.2.2`
194
+
195
+ - &#8203;<!-- 05 -->[useId] Trade random collisions for collisions on overflow (#29781) @eps1lon
196
+ - &#8203;<!-- 04 -->[useIsFocusVisible] Convert to TypeScript (#29779) @eps1lon
197
+
198
+ ### Docs
199
+
200
+ - &#8203;<!-- 24 -->[docs] Fix v5-beta confusing example description (#29932) @oliviertassinari
201
+ - &#8203;<!-- 23 -->[docs] Apply the z-index on the right DOM element (#29934) @oliviertassinari
202
+ - &#8203;<!-- 22 -->[docs] Improve git diff format (#29935) @oliviertassinari
203
+ - &#8203;<!-- 21 -->[docs] Fix typo (#29866) @sinclairity
204
+ - &#8203;<!-- 20 -->[docs] Fix key display (#29933) @oliviertassinari
205
+ - &#8203;<!-- 19 -->[docs] Fix outdated link to next/link docs (#29937) @radlinskii
206
+ - &#8203;<!-- 18 -->[docs] Add how to pass `sx` prop (#29905) @siriwatknp
207
+ - &#8203;<!-- 17 -->[docs] Fix typo in notifications @mbrookes
208
+ - &#8203;<!-- 16 -->[docs] Black Friday sale notification @mbrookes
209
+ - &#8203;<!-- 03 -->[website] Fix canonical links (#29938) @oliviertassinari
210
+ - &#8203;<!-- 02 -->[website] Fix SEO issues (#29939) @oliviertassinari
211
+ - &#8203;<!-- 01 -->[website] Improvements to the /x product page (#28964) @danilo-leal
212
+
213
+ ### Core
214
+
215
+ - &#8203;<!-- 27 -->[core] Remove dead code (#29940) @oliviertassinari
216
+ - &#8203;<!-- 26 -->[core] Move benchmark CI job from AZP to CircleCI (#29894) @eps1lon
217
+ - &#8203;<!-- 25 -->[core] Fix PR detection pattern in test_bundle_size_monitor (#29895) @eps1lon
218
+ - &#8203;<!-- 08 -->[test] Fix browser tests (#29929) @eps1lon
219
+ - &#8203;<!-- 07 -->[test] Reject shorthand properties in style matchers (#29893) @eps1lon
220
+
221
+ All contributors of this release in alphabetical order: @danilo-leal, @eps1lon, @Harshikerfuffle, @hbjORbj, @mbrookes, @oliviertassinari, @radlinskii, @sinclairity, @siriwatknp
222
+
223
+ ## 5.2.1
224
+
225
+ <!-- generated comparing v5.2.0..master -->
226
+
227
+ _Nov 25, 2021_
228
+
229
+ A big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
230
+
231
+ This is an early release to fix `export 'useId' (imported as 'React') was not found in 'react'` when bundling code depending on MUI Core.
232
+
233
+ - &#8203;<!-- 10 -->[AppBar][docs] Add a fully responsive demo to docs (#29829) @karakib2k18
234
+ - &#8203;<!-- 9 -->[core] Fix PR run detection in test_bundle_size_monitor (#29879) @eps1lon
235
+ - &#8203;<!-- 8 -->[core] Move bundle size monitoring to CircleCI (#29876) @eps1lon
236
+ - &#8203;<!-- 7 -->[docs] Add keys to Responsive AppBar demo (#29884) @mbrookes
237
+ - &#8203;<!-- 6 -->[docs] MUI's 2021 Developer survey (#29765) @newguy-123
238
+ - &#8203;<!-- 5 -->[docs] Smoother image loading UX (#29858) @oliviertassinari
239
+ - &#8203;<!-- 4 -->[Select] Fix select display value with React Nodes (#29836) @kegi
240
+ - &#8203;<!-- 3 -->[system] Add `experimental_sx` utility (#29833) @mnajdova
241
+ - &#8203;<!-- 2 -->[test] Ignore "detected multiple renderers" warning for now (#29854) @eps1lon
242
+ - &#8203;<!-- 1 -->[useMediaQuery][utils] Remove usage of React 18 APIs (#29870) @eps1lon
243
+
244
+ All contributors of this release in alphabetical order: @eps1lon, @karakib2k18, @kegi, @mbrookes, @mnajdova, @newguy-123, @oliviertassinari
245
+
246
+ ## 5.2.0
247
+
248
+ <!-- generated comparing v5.1.1..master -->
249
+
250
+ _Nov 23, 2021_
251
+
252
+ A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
253
+
254
+ - 🧪 Created another unstyled component: [TabsUnstyled](https://mui.com/components/tabs/#unstyled) (#29597) @mnajdova.
255
+ - 🎉 Updated the Material Icons set with the latest changes from Google (#29328) @michaldudak / (#29818) @chao813.
256
+ This update adds 200 new icons and tweaks the appearance of many more.
257
+ With it, we're getting close to having 2000 icons in our set.
258
+ - 🐛 Fixed bugs and improved the infrastructure and documentation 📚.
259
+
260
+ ### `@mui/material@5.2.0`
261
+
262
+ - [IconButton] Remove on hover effect when `disableRipple` is set (#29298) @adamfitzgibbon
263
+ - [i18n] Add the amharic language (#29153) @NatiG100
264
+ - [material] Fix types for `variants.style` to accept callbacks (#29610) @mnajdova
265
+ - [Popper] Simplify prop types (#29680) @michaldudak
266
+ - [Select] Include aria-selected=false when option not selected (#29695) @michaldudak
267
+ - [useMediaQuery] Fix crash in Safari < 14 and IE 11 (#29776) @eps1lon
268
+ - [useMediaQuery] Ensure no tearing in React 18 (#28491) @eps1lon
269
+
270
+ ### `@mui/codemod@5.2.0`
271
+
272
+ - [codemod] Fix `jss-to-styled` to support multiple withStyles (#29824) @siriwatknp
273
+
274
+ ### `@mui/icons-material@5.2.0`
275
+
276
+ - [icons] Sync new Google Material Icons (#29818) @chao813
277
+ - [icons] Sync recent Material Icons from Google (#29328) @michaldudak
278
+
279
+ ### `@mui/system@5.2.0`
280
+
281
+ - [Box] Fix `sx` prop runtime issue when used as function (#29830) @mnajdova
282
+ - [system] Fix `sx` throw error when value is `null` or `undefined` (#29756) @siriwatknp
283
+ - [system] Fix minor CssVars issues (#29747) @siriwatknp
284
+
285
+ ### `@mui/styled-engine@5.2.0`
286
+
287
+ - [styled-engine] Fix props inference in styled-engine (#29739) @Janpot
288
+
289
+ ### `@mui/base@5.0.0-alpha.56`
290
+
291
+ - [FormControlUnstyled] `focused` is always false unless explicitly set to `true` @mwilkins91
292
+ - [TabsUnstyled] Introduce new component (#29597) @mnajdova
293
+
294
+ ### `@mui/lab@5.0.0-alpha.56`
295
+
296
+ - [DatePicker][timepicker] Add missing component declarations (#29517) @longzheng
297
+ - [Masonry] exports from root package (#29754) @abhinav-22-tech
298
+ - [pickers] Widen accepted `luxon` version range (#29761) @eps1lon
299
+
300
+ ### Docs
301
+
302
+ - [blog] MUI X v5 blog post (#29590) @DanailH
303
+ - [blog] Polish the Benny Joo joins MUI post (#29697) @oliviertassinari
304
+ - [CHANGELOG] Explain why we do breaking changes @oliviertassinari
305
+ - [core] Update latest issue template for codesandbox CI (#29783) @eps1lon
306
+ - [core] Ensure `@mui/core` is an alias for `@mui/base` (#29762) @eps1lon
307
+ - [docs] Fix broken Next and Previous links (#29711) @scallaway
308
+ - [docs] Add a note that ToggleButton exclusive does not enforce selection (#29812) @mmacu
309
+ - [docs] Update the list of supported locales (#29831) @michaldudak
310
+ - [docs] Update tooltip doc to better define touch action (#29717) @gnowland
311
+ - [website] Standardize the background color from the MUI team photos (#29738) @danilo-leal
312
+ - [website] Add Bharat to the About Us Page (#29714) @bharatkashyap
313
+ - [website] Add about page entry for jan (#29701) @Janpot
314
+ - [website] Adding Prakhar to the about page (#29737) @danilo-leal
315
+
316
+ ### Core
317
+
318
+ - [test] Allow debugging with Chrome and VSCode inspector (#29777) @eps1lon
319
+ - [test] Use renderer clock instead of custom useFakeTimers call (#29778) @eps1lon
320
+ - [test] Only mock Date in regression tests (#29763) @eps1lon
321
+ - [test] Disable nightly integration tests on `next` branch (#29748) @eps1lon
322
+ - [test] Allow configuring clock directly from `createRenderer` (#29684) @eps1lon
323
+ - [test] Accept backslashes as path separators in test CLI (#29694) @michaldudak
324
+ - [utils] Use built-in hook when available for useId (#26489) @eps1lon
325
+
326
+ All contributors of this release in alphabetical order: @abhinav-22-tech, @adamfitzgibbon, @bharatkashyap, @chao813, @DanailH, @danilo-leal, @eps1lon, @gnowland, @Janpot, @longzheng, @michaldudak, @mmacu, @mnajdova, @mwilkins91, @NatiG100, @oliviertassinari, @scallaway, @siriwatknp
327
+
328
+ ## 5.1.1
329
+
330
+ <!-- generated comparing v5.1.0..master -->
331
+
332
+ _Nov 16, 2021_
333
+
334
+ A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
335
+
336
+ - 🛠 Renamed `@mui/core` to `@mui/base` (#29585) @michaldudak.
337
+ - And many more 🐛 bug fixes and 📚 improvements.
338
+
339
+ ### `@mui/material@5.1.1`
340
+
341
+ - &#8203;<!-- 34 -->[Breadcrumbs][divider] Replace decimal spacing values with integers and css calc (#29526) @anikcreative
342
+ - &#8203;<!-- 10 -->[Select][nativeselect] Add `multiple` class (#29566) @aaronholla
343
+ - &#8203;<!-- 09 -->[Popper] Split into PopperUnstyled and Popper (#29488) @michaldudak
344
+ - &#8203;<!-- 08 -->[Select] Make it clear that `Select` is not a root component (#29593) @hbjORbj
345
+ - &#8203;<!-- 13 -->[l10n] Improved Dutch (nl-NL) locale (#29592) @flipvrijn
346
+ - &#8203;<!-- 10 -->[Table] Improve pagination range, use "en dash" over "hyphen" (#29579) @narekmal
347
+
348
+ ### `@mui/base@5.0.0-alpha.55`
349
+
350
+ #### Breaking changes
351
+
352
+ - &#8203;<!-- 27 -->[core] Rename mui/core to mui/base (#29585) @michaldudak
353
+
354
+ Based on the results of the [poll](https://twitter.com/michaldudak/status/1452630484706635779) and our internal discussions, we decided to rename the `@mui/core` package to `@mui/base`. The main rationale for this is the fact that we use the term "Core" to refer to the core components product family, the one that includes Material Design components, unstyled components, System utilities, etc. Therefore, @mui/core was effectively a subset of MUI Core. This was confusing.
355
+
356
+ The new name better reflects the purpose of the package: it contains unstyled components, hooks, and utilities that serve as a **base** to build on.
357
+
358
+ ```diff
359
+ -import { useSwitch } from '@mui/core/SwitchUnstyled';
360
+ +import { useSwitch } from '@mui/base/SwitchUnstyled';
361
+ ```
362
+
363
+ ### `@mui/lab@5.0.0-alpha.55`
364
+
365
+ - &#8203;<!-- 12 -->[LoadingButton] Text variant spacing fixed for both start and end (#29194) @joshua-lawrence
366
+ - &#8203;<!-- 11 -->[Masonry] Check if container or child exists to prevent error (#29452) @hbjORbj
367
+
368
+ ### Docs
369
+
370
+ - &#8203;<!-- 25 -->[docs] Correct bundler configuration for using legacy MUI build (#29146) @petermikitsh
371
+ - &#8203;<!-- 24 -->[docs] Fix typo on autocomplete.md (#29570) @netizer
372
+ - &#8203;<!-- 23 -->[docs] Fix dark mode on branding pages (#29611) @alexfauquette
373
+ - &#8203;<!-- 22 -->[docs] Do not render CSS section in API docs navbar if there are no CSS classes (#29622) @ZeeshanTamboli
374
+ - &#8203;<!-- 21 -->[docs] Fix link locale handling (#29624) @oliviertassinari
375
+ - &#8203;<!-- 20 -->[docs] Fix Search navigation (#29623) @oliviertassinari
376
+ - &#8203;<!-- 19 -->[docs] Fix broken link & update MUI packages explanation (#29583) @siriwatknp
377
+ - &#8203;<!-- 18 -->[docs] Do not repeat language snippet in url in Algolia search (#29483) @hbjORbj
378
+ - &#8203;<!-- 17 -->[docs] Update `ThemeProvider` API link (#29573) @siriwatknp
379
+ - &#8203;<!-- 16 -->[docs] Remove svg logos from the Support page (#29431) @oliviertassinari
380
+ - &#8203;<!-- 15 -->[docs] Link UXPin integration (#29422) @oliviertassinari
381
+ - &#8203;<!-- 14 -->[docs] Link to the new public roadmap for the design kits (#29433) @oliviertassinari
382
+ - &#8203;<!-- 28 -->[docs] correct bundler configuration for using legacy MUI build (#29146) @petermikitsh
383
+ - &#8203;<!-- 01 -->[website] Fix premium plan release date (#29430) @oliviertassinari
384
+ - &#8203;<!-- 02 -->[website] Add GitHub icon button to the navbar (#29640) @danilo-leal
385
+ - &#8203;<!-- 39 -->[blog] Support many authors in markdown pages (#29633) @m4theushw
386
+
387
+ ### Core
388
+
389
+ - &#8203;<!-- 33 -->[core] Add `experiments` index page (#29582) @siriwatknp
390
+ - &#8203;<!-- 32 -->[core] Move s3 bucket ownership to mui-org (#29609) @eps1lon
391
+ - &#8203;<!-- 31 -->[core] Improve support request message (#29614) @mnajdova
392
+ - &#8203;<!-- 30 -->[core] Use support request Github Action (#29594) @mnajdova
393
+ - &#8203;<!-- 29 -->[core] Remove unused `getJsxPreview` util (#29586) @ZeeshanTamboli
394
+ - &#8203;<!-- 28 -->[core] Use GitHub issue forms (#28038) @oliviertassinari
395
+ - &#8203;<!-- 26 -->[core] Add playground (#29423) @oliviertassinari
396
+ - &#8203;<!-- 07 -->[test] Correctly identify what the `raf` helper is for (#29683) @eps1lon
397
+ - &#8203;<!-- 06 -->[test] Verify a quilted ImageList is created as test title suggests (#29565) @daniel-sachs
398
+ - &#8203;<!-- 05 -->[test] Replace `createServerRender` with `createRenderer` (#29503) @eps1lon
399
+ - &#8203;<!-- 04 -->[test] Always ignore "useLayoutEffect has no effect on the server"-warning (#29502) @eps1lon
400
+ - &#8203;<!-- 03 -->[test] Restore StrictMode by default (#29589) @eps1lon
401
+ - &#8203;<!-- 02 -->[test] createPickerRender -> createPickerRenderer (#29575) @eps1lon
402
+ - &#8203;<!-- 09 -->[test] Allow experimental CLI to run exact test (#29685) @eps1lon
403
+
404
+ All contributors of this release in alphabetical order: @aaronholla, @alexfauquette, @anikcreative, @daniel-sachs, @eps1lon, @flipvrijn, @hbjORbj, @joshua-lawrence, @michaldudak, @mnajdova, @netizer, @oliviertassinari, @petermikitsh, @siriwatknp, @ZeeshanTamboli
405
+
406
+ ## 5.1.0
407
+
408
+ <!-- generated comparing v5.0.6..master -->
409
+
410
+ _Nov 8, 2021_
411
+
412
+ A big thanks to the 33 contributors who made this release possible. Here are some highlights ✨:
413
+
414
+ - 🎉 Support custom elements under `ButtonGroup` (#28645) @ZeeshanTamboli
415
+ - 🛠 Add support for arrays in the `sx` prop (#29297) @siriwatknp
416
+ - And many more 🐛 bug fixes and 📚 improvements.
417
+
418
+ ### `@mui/material@5.1.0`
419
+
420
+ - &#8203;<!-- 68 -->[Autocomplete] Fix `hiddenLabel` prop of `TextField variant={filled}` inside Autocomplete (#29234) @jatinsandilya
421
+ - &#8203;<!-- 67 -->[Box] Support generateClassName and defaultClassName (#29347) @siriwatknp
422
+ - &#8203;<!-- 66 -->[ButtonGroup] Fix variant outlined always has primary color borders on hover (#29487) @ZeeshanTamboli
423
+ - &#8203;<!-- 65 -->[ButtonGroup] Support different elements under ButtonGroup (#28645) @ZeeshanTamboli
424
+ - &#8203;<!-- 62 -->[CssBaseline] Add `enableColorScheme` prop so enable using `color-scheme` property to deal with dark mode (#29454) @alexfauquette
425
+ - &#8203;<!-- 29 -->[FormControlLabel] Narrow the label type (#29324) @michaldudak
426
+ - &#8203;<!-- 28 -->[Grid] Fix usage when columns > 12 (#29196) @tanay123456789
427
+ - &#8203;<!-- 27 -->[InputBase] Do not repeat the same classname (#29353) @hbjORbj
428
+ - &#8203;<!-- 30 -->[InputBase] Remove WebkitAppearance from search type (#29383) @nicbarajas
429
+ - &#8203;<!-- 25 -->[ListItem] Add missing exports (#29571) @robcaldecott
430
+ - &#8203;<!-- 22 -->[Pagination] Allow customization of icons (#29336) @mbeltramin
431
+ - &#8203;<!-- 11 -->[TextField] Fix bootstrap, normalize.css, sanitize.css conflicts (#28674) @ChrisClaude
432
+ - &#8203;<!-- 10 -->[TextField] Fix invisible wrap within notched inputs (#29088) @DASPRiD
433
+ - &#8203;<!-- 09 -->[Tooltip] `open` prop in `componentsProps.popper` can be optional (#29370) @ZeeshanTamboli
434
+ - &#8203;<!-- 08 -->[Tooltip] Fix `className` not getting applied from PopperProps (#29023) @ZeeshanTamboli
435
+ - &#8203;<!-- 07 -->[useRadioGroup] Convert to TypeScript (#29326) @eps1lon
436
+
437
+ ### `@mui/system@5.1.0`
438
+
439
+ - &#8203;<!-- 21 -->[system] Introduce `mode` to CssVarsProvider (#29418) @siriwatknp
440
+ - &#8203;<!-- 20 -->[system] Improve breakpoints resolver function (#29300) @hbjORbj
441
+ - &#8203;<!-- 19 -->[system] Add array support for `sx` prop (#29297) @siriwatknp
442
+
443
+ ### `@mui/codemod@5.1.0`
444
+
445
+ - &#8203;<!-- 64 -->[codemod] Add codemod parser flag (#29059) (#29229) @ElonVolo
446
+
447
+ ### `@mui/lab@5.0.0-alpha.54`
448
+
449
+ - &#8203;<!-- 52 -->[DatePicker] Fix disabled/readOnly for view components (#28815) @adamfitzgibbon
450
+ - &#8203;<!-- 24 -->[Masonry] Fix crash on unmount when using React 18 (#29358) @eps1lon
451
+ - &#8203;<!-- 23 -->[Masonry] Improve height computation and detect changes in `children` (#29351) @hbjORbj
452
+
453
+ ### `@mui/joy@5.0.0-alpha.0`
454
+
455
+ - &#8203;<!-- 28 -->[Joy] Update default theme (#29478) @siriwatknp
456
+ - &#8203;<!-- 26 -->[Joy] Export CssVarsProvider with default theme (#29150) @siriwatknp
457
+ - &#8203;<!-- 25 -->[Joy] Remove `private` to leverage CodeSandbox (#29280) @siriwatknp
458
+
459
+ ### Docs
460
+
461
+ - &#8203;<!-- 51 -->[docs] Add differences between styled and sx (#28685) @eric-burel
462
+ - &#8203;<!-- 50 -->[docs] Track usage of dark mode in Google Analytics (#29419) @oliviertassinari
463
+ - &#8203;<!-- 49 -->[docs] Remove create-mui-theme as it is no longer working (#29472) @IPJT
464
+ - &#8203;<!-- 48 -->[docs] Fix warnings in AppSearch (#29459) @eps1lon
465
+ - &#8203;<!-- 47 -->[docs] Add framework example for ClassNameGenerator (#29453) @siriwatknp
466
+ - &#8203;<!-- 46 -->[docs] Fix layout shift when scrolling (#29436) @oliviertassinari
467
+ - &#8203;<!-- 45 -->[docs] Fix layout-shift on id='main-content' (#29425) @oliviertassinari
468
+ - &#8203;<!-- 44 -->[docs] Remove usage of `process.browser` (#29438) @oliviertassinari
469
+ - &#8203;<!-- 43 -->[docs] Add instruction on how to use the child selector API with emotion (#29350) @mnajdova
470
+ - &#8203;<!-- 42 -->[docs] Fix small typos (#29424) @oliviertassinari
471
+ - &#8203;<!-- 41 -->[docs] Fix TOC highlighting logic (#29435) @oliviertassinari
472
+ - &#8203;<!-- 40 -->[docs] Fix about page flags (#29314) @mbrookes
473
+ - &#8203;<!-- 39 -->[docs] Fix Box JS docs (#29282) @Pablion
474
+ - &#8203;<!-- 38 -->[docs] Update storybook section in migration to v5 docs (#28800) @siriwatknp
475
+ - &#8203;<!-- 37 -->[docs] Document how to enable color on dark mode (#29340) @Wimukti
476
+ - &#8203;<!-- 36 -->[docs] Display search functionality in all viewports (#28819) @eps1lon
477
+ - &#8203;<!-- 35 -->[docs] Query heading for ToC on demand (#29204) @eps1lon
478
+ - &#8203;<!-- 34 -->[docs] Add next.js styled-component guide and update links to example (#29118) @Jareechang
479
+ - &#8203;<!-- 33 -->[docs] Fix overriding `MuiTextField`'s default props in the migration guide (#29174) @tm1000
480
+ - &#8203;<!-- 32 -->[docs] Fix "clickable" and "deletable" typos (#28702) @jacklaurencegaray
481
+ - &#8203;<!-- 31 -->[docs] Update migration-v4 docs for wrong import path (#29042) @busches
482
+ - &#8203;<!-- 30 -->[docs] Add GitHub icon change to "Migration from v4 to v5" guide (#29182) @dan-mba
483
+ - &#8203;<!-- 06 -->[website] Benny Joo joining MUI (#29499) @mnajdova
484
+ - &#8203;<!-- 05 -->[website] Update the `Print export` feature info on the pricing page (#29484) @DanailH
485
+ - &#8203;<!-- 04 -->[website] Improve the dev rel role description (#29477) @oliviertassinari
486
+ - &#8203;<!-- 03 -->[website] Add customers section on Design Kits and Templates marketing pages (#29168) @danilo-leal
487
+ - &#8203;<!-- 02 -->[website] Improvements to the /core product page @danilo-leal
488
+ - &#8203;<!-- 01 -->[website] Fix typo on the About Page (#29286) @gssakash
489
+
490
+ ### Core
491
+
492
+ - &#8203;<!-- 63 -->[core] Handle RecordType and FieldType in generatePropDescription.ts (#29467) @flaviendelangle
493
+ - &#8203;<!-- 61 -->[core] Convert a named color to lowercase (#29465) @ainatenhi
494
+ - &#8203;<!-- 60 -->[core] Allow to reuse functions from `docs:api` (#28828) @m4theushw
495
+ - &#8203;<!-- 59 -->[core] Commit new nextjs 12 tsconfig (#29458) @eps1lon
496
+ - &#8203;<!-- 58 -->[core] Settle on MUI X for the official name (#29420) @oliviertassinari
497
+ - &#8203;<!-- 57 -->[core] Add mui as a npm keyword (#29427) @oliviertassinari
498
+ - &#8203;<!-- 56 -->[core] Fix issue template redirection (#29432) @oliviertassinari
499
+ - &#8203;<!-- 55 -->[core] Remove unecessary destructuration (#29354) @oliviertassinari
500
+ - &#8203;<!-- 54 -->[core] Use cross-env to set env variables in material-icons scripts (#29327) @michaldudak
501
+ - &#8203;<!-- 53 -->[core] Don't bump peer dependency ranges on dependency updates (#29303) @eps1lon
502
+ - &#8203;<!-- 18 -->[test] Fix browser tests (#29505) @eps1lon
503
+ - &#8203;<!-- 69 -->[test] Fix missing act warnings in latest React 18 alpha (#29357) @eps1lon
504
+ - &#8203;<!-- 17 -->[test] Replace `createClientRender` with new `createRenderer` API (#29471) @eps1lon
505
+ - &#8203;<!-- 16 -->[test] Fix possible "missing act" warning (#29463) @eps1lon
506
+ - &#8203;<!-- 15 -->[test] Remove render#baseElement (#29462) @eps1lon
507
+ - &#8203;<!-- 14 -->[test] Expose `AbortController` on global (#29360) @eps1lon
508
+ - &#8203;<!-- 13 -->[test] Add internal test for uniqe `name` in `Rating` (#29329) @eps1lon
509
+ - &#8203;<!-- 12 -->[test] Fix browser tests (#29305) @eps1lon
510
+
511
+ All contributors of this release in alphabetical order: @adamfitzgibbon, @ainatenhi, @alexfauquette, @busches, @ChrisClaude, @dan-mba, @DanailH, @danilo-leal, @DASPRiD, @ElonVolo, @eps1lon, @eric-burel, @flaviendelangle, @gssakash, @hbjORbj, @IPJT, @jacklaurencegaray, @Jareechang, @jatinsandilya, @m4theushw, @mbeltramin, @mbrookes, @michaldudak, @mnajdova, @nicbarajas, @oliviertassinari, @Pablion, @robcaldecott, @siriwatknp, @tanay123456789, @tm1000, @Wimukti, @ZeeshanTamboli
512
+
3
513
  ## 5.0.6
4
514
 
5
515
  <!-- generated comparing v5.0.5..master -->
@@ -35,16 +545,16 @@ _Oct 26, 2021_
35
545
  A big thanks to the 19 contributors who made this release possible. Here are some highlights ✨:
36
546
 
37
547
  - 🔧 Implement `Masonry` using Flexbox by @hbjORbj.
38
- - 🧪 Add three components to `@mui/core` by @rebeccahongsf and @hbjORbj.
548
+ - 🧪 Add three components to `@mui/base` by @rebeccahongsf and @hbjORbj.
39
549
 
40
550
  ### `@mui/codemod@5.0.5`
41
551
 
42
552
  - &#8203;<!-- 38 -->[codemod] Support new package name in `link-underline-hover` transformer (#29214) @siriwatknp
43
553
 
44
- ### `@mui/core@5.0.0-alpha.52`
554
+ ### `@mui/base@5.0.0-alpha.52`
45
555
 
46
556
  - &#8203;<!-- 39 -->[ClickAwayListener] Move to the core package (#29186) @hbjORbj
47
- - &#8203;<!-- 13 -->[Popper] Move from mui-material to mui-core (#28923) @rebeccahongsf
557
+ - &#8203;<!-- 13 -->[Popper] Move from mui-material to mui-base (#28923) @rebeccahongsf
48
558
  - &#8203;<!-- 04 -->[TextareaAutosize] Move to the core package (#29148) @hbjORbj
49
559
 
50
560
  ### `@mui/lab@5.0.0-alpha.52`
@@ -113,7 +623,7 @@ _Oct 14, 2021_
113
623
 
114
624
  A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
115
625
 
116
- - 🧪 Added `UnstyledInput` and `useInput` hook in the the first component in @mui/core package @michaldudak (#28053)
626
+ - 🧪 Added `UnstyledInput` and `useInput` hook in the the first component in @mui/base package @michaldudak (#28053)
117
627
  - 🐛 Fixed many bugs and improved the documentation 📚.
118
628
 
119
629
  ### `@mui/material@5.0.4`
@@ -128,7 +638,7 @@ A big thanks to the 17 contributors who made this release possible. Here are som
128
638
 
129
639
  - &#8203;<!-- 05 -->[system] Update typing for `style` function (#28744) @hbjORbj
130
640
 
131
- ### `@mui/core@5.0.0-alpha.51`
641
+ ### `@mui/base@5.0.0-alpha.51`
132
642
 
133
643
  - &#8203;<!-- 07 -->[InputUnstyled] Create unstyled input and useInput hook (#28053) @michaldudak
134
644
 
@@ -197,7 +707,7 @@ A big thanks to the 19 contributors who made this release possible. Here are som
197
707
 
198
708
  - &#8203;<!-- 42 -->Don't allow styled-components APIs on mui styled function (#28807) @hbjORbj
199
709
 
200
- ### `@mui/core@5.0.0-alpha.50`
710
+ ### `@mui/base@5.0.0-alpha.50`
201
711
 
202
712
  - &#8203;<!-- 38 -->[ButtonUnstyled] Don't set redundant role=button (#28488) @michaldudak
203
713
  - &#8203;<!-- 43 -->[SliderUnstyled] Prevent unknown-prop error when using marks prop (#28868) @hbjORbj
@@ -576,10 +1086,10 @@ A big thanks to the 18 contributors who made this release possible. Here are som
576
1086
  ```
577
1087
  @material-ui/core => @mui/material // represents Material Design components.
578
1088
  @material-ui/icons => @mui/icons-material // represents Material Design icons.
579
- @material-ui/unstyled => @mui/core // fully functional components with minimum styles.
1089
+ @material-ui/unstyled => @mui/base // fully functional components with minimum styles.
580
1090
  ```
581
1091
 
582
- > **Note**: `@mui/core` (previously `@material-ui/unstyled`) is not the same as `@material-ui/core`.
1092
+ > **Note**: `@mui/base` (previously `@material-ui/unstyled`) is not the same as `@material-ui/core`.
583
1093
 
584
1094
  We encourage you to use the [codemod](https://github.com/mui-org/material-ui/blob/next/packages/mui-codemod/README.md#mui-replace) for smooth migration.
585
1095
 
@@ -594,7 +1104,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
594
1104
  - &#8203;<!-- 05 -->[ToggleButtonGroup] Add "disabled" prop (#27998) @chetas411
595
1105
  - &#8203;<!-- 34 -->[core] Export types for module augmentation (#28078) @m4theushw
596
1106
 
597
- ### `@mui/core@5.0.0-alpha.45`
1107
+ ### `@mui/base@5.0.0-alpha.45`
598
1108
 
599
1109
  - &#8203;<!-- 38 -->[Button] Create ButtonUnstyled and useButton (#27600) @michaldudak
600
1110
 
@@ -1714,7 +2224,7 @@ _May 31, 2021_
1714
2224
  A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
1715
2225
 
1716
2226
  - 👩‍🎤 We have completed the migration to emotion of all the components (`@material-ui/core` and `@material-ui/lab`) @siriwatknp, @mnajdova.
1717
- - 📦 Save [10 kB gzipped](https://bundlephobia.com/result?p=@material-ui/core@5.0.0-alpha.34) by removing the dependency on `@material-ui/styles` (JSS) from the core and the lab (#26377, #26382, #26376) @mnajdova.
2227
+ - 📦 Save [10 kB gzipped](https://bundlephobia.com/package/@material-ui/core@5.0.0-alpha.34) by removing the dependency on `@material-ui/styles` (JSS) from the core and the lab (#26377, #26382, #26376) @mnajdova.
1718
2228
  - ⚒️ Add many new [codemods](https://github.com/mui-org/material-ui/blob/HEAD/packages/mui-codemod/README.md) to automate the migration from v4 to v5 (#24867) @mbrookes.
1719
2229
  - And many more 🐛 bug fixes and 📚 improvements.
1720
2230
 
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
- import { GlobalProps } from '@emotion/react';
2
+ import { Interpolation } from '@emotion/react';
3
3
 
4
- export interface GlobalStylesProps {
4
+ export interface GlobalStylesProps<Theme = {}> {
5
5
  defaultTheme?: object;
6
- styles: GlobalProps['styles'];
6
+ styles: Interpolation<Theme>;
7
7
  }
8
8
 
9
9
  export default function GlobalStyles(props: GlobalStylesProps): React.ReactElement;
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2014 Call-Em-All
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2014 Call-Em-All
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/index.d.ts CHANGED
@@ -93,10 +93,14 @@ export interface CreateStyledComponent<
93
93
  JSXProps extends {} = {},
94
94
  T extends object = {},
95
95
  > {
96
+ (
97
+ ...styles: Array<Interpolation<ComponentProps & SpecificComponentProps & { theme: T }>>
98
+ ): StyledComponent<ComponentProps, SpecificComponentProps, JSXProps>;
99
+
96
100
  /**
97
101
  * @typeparam AdditionalProps Additional props to add to your styled component
98
102
  */
99
- <AdditionalProps extends {} = {}>(
103
+ <AdditionalProps extends {}>(
100
104
  ...styles: Array<
101
105
  Interpolation<ComponentProps & SpecificComponentProps & AdditionalProps & { theme: T }>
102
106
  >
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.0.2
1
+ /** @license MUI v5.2.4
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/legacy/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.0.2
1
+ /** @license MUI v5.2.4
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/modern/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.0.2
1
+ /** @license MUI v5.2.4
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.0.2
1
+ /** @license MUI v5.2.4
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/styled-engine",
3
- "version": "5.0.2",
3
+ "version": "5.2.4",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "styled() API wrapper package for emotion.",
@@ -8,7 +8,7 @@
8
8
  "keywords": [
9
9
  "react",
10
10
  "react-component",
11
- "material-ui",
11
+ "mui",
12
12
  "emotion"
13
13
  ],
14
14
  "repository": {
@@ -23,11 +23,11 @@
23
23
  "homepage": "https://mui.com/guides/styled-engine/",
24
24
  "funding": {
25
25
  "type": "opencollective",
26
- "url": "https://opencollective.com/material-ui"
26
+ "url": "https://opencollective.com/mui"
27
27
  },
28
28
  "dependencies": {
29
- "@babel/runtime": "^7.15.4",
30
- "@emotion/cache": "^11.5.0",
29
+ "@babel/runtime": "^7.16.3",
30
+ "@emotion/cache": "^11.6.0",
31
31
  "prop-types": "^15.7.2"
32
32
  },
33
33
  "peerDependencies": {