@mui/styled-engine 5.1.0 โ†’ 5.2.5

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,466 @@
1
1
  ### [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.2.5
4
+
5
+ <!-- generated comparing v5.2.4..master -->
6
+
7
+ _Dec 20, 2021_
8
+
9
+ A big thanks to the 16 contributors who made this release possible. Here are some highlights โœจ:
10
+
11
+ - ๐Ÿ›  This release mostly improves what's behind the scenes: infrastructure and tests
12
+ - ๐Ÿ““ Danish (da-DK) locale was added (#29485) @mikk5829
13
+ - ๐Ÿ–Œ Polished the design of Base components (#30149) and the docs in general (#29994) @danilo-leal
14
+ - ๐Ÿ“š Many additions and improvements to the documentation were made
15
+
16
+ ### `@mui/material@5.2.5`
17
+
18
+ - [l10n] Add Danish (da-DK) locale (#29485) @mikk5829
19
+ - [LoadingButton] Label progressbar by the LoadingButton (#30002) @eps1lon
20
+ - [Tabs] Remove unnecessary `Partial<>` type around TabIndicatorProps type (#30254) @ZeeshanTamboli
21
+
22
+ ### `@mui/system@5.2.5`
23
+
24
+ - [system] Use `useEnhancedEffect` to prevent flicker (#30216) @hbjORbj
25
+
26
+ ### `@mui/lab@5.0.0-alpha.61`
27
+
28
+ - [pickers] Fix the wrong MuiClockPicker's ArrowSwitcher slot name (#30226) @rejetto
29
+
30
+ ### Docs
31
+
32
+ - [docs] Run JS compiler on markdown output (#29732) @Janpot
33
+ - [Badge] Add tests for `anchorOrigin` prop (#30147) @daniel-sachs
34
+ - [docs] Add cssmodule injection order comments to Nextjs example (#30213) @ShuPink
35
+ - [docs] Remove extra word in Select component code example comments (#30281) @KThompso
36
+ - [docs] Improve the description of the Accordion (#30253) @jamesmelzer
37
+ - [docs] Heading capitalization convention @oliviertassinari
38
+ - [docs] Rename remaining 'unstyled' references to 'base' (#30206) @michaldudak
39
+ - [docs] Add to migration doc about ref type specificity (#30114) @hbjORbj
40
+ - [docs] Add script to clone pages (#30107) @siriwatknp
41
+ - [docs] Correct colors in breakpoints documentation (#30219) @michaldudak
42
+ - [docs] Sync icon search UI state with the url (#30075) @Janpot
43
+ - [docs] Base components demos design polish (#30149) @danilo-leal
44
+ - [docs] General documentation polish (#29994) @danilo-leal
45
+ - [examples] Fix typo in the remix example's README (#30289) @lemol
46
+ - [website] Remove expired gold sponsor (#30222) @oliviertassinari
47
+ - [website] Remove broken showcase links (#30217) @mnajdova
48
+
49
+ ### Core
50
+
51
+ - [test] Reduce bundle size comparison memory consumption (#30195) @Janpot
52
+ - [core] make snapshot comparison more resilient (#30183) @Janpot
53
+ - [core] update formatted ts demo to support new structure (#30248) @siriwatknp
54
+ - [core] cache dependencies in github actions (#30211) @siriwatknp
55
+ - [core] fix root package version (#30204) @siriwatknp
56
+ - [core] Fail the build when the dangerjs script errors (#30186) @Janpot
57
+ - [test] Add E2E website tests (#30128) @siriwatknp
58
+
59
+ All contributors of this release in alphabetical order: @daniel-sachs, @danilo-leal, @eps1lon, @hbjORbj, @jamesmelzer, @Janpot, @KThompso, @lemol, @michaldudak, @mikk5829, @mnajdova, @oliviertassinari, @rejetto, @ShuPink, @siriwatknp, @ZeeshanTamboli
60
+
61
+ ## 5.2.4
62
+
63
+ <!-- generated comparing v5.2.3..master -->
64
+
65
+ _Dec 14, 2021_
66
+
67
+ A big thanks to the 16 contributors who made this release possible. Here are some highlights โœจ:
68
+
69
+ - โœจ Add `not` operator to `theme.breakpoints` (#29311) @Philipp000
70
+
71
+ ```js
72
+ const styles = (theme) => ({
73
+ root: {
74
+ backgroundColor: 'blue',
75
+ // Match [xs, md) and [md + 1, โˆž)
76
+ // [xs, md) and [lg, โˆž)
77
+ // [0px, 900px) and [1200px, โˆž)
78
+ [theme.breakpoints.not('md')]: {
79
+ backgroundColor: 'red',
80
+ },
81
+ },
82
+ });
83
+ ```
84
+
85
+ - And many more ๐Ÿ› bug fixes and ๐Ÿ“š improvements.
86
+
87
+ ### `@mui/material@5.2.4`
88
+
89
+ - &#8203;<!-- 14 -->[esm] Correct a styles imports (#29976) @Janpot
90
+ - &#8203;<!-- 12 -->[GlobalStyles] Fix `theme` type (#30072) @mnajdova
91
+ - &#8203;<!-- 11 -->[Grid] Fix grid items to respond to the container's responsive columns (#29715) @kkorach
92
+ - &#8203;<!-- 04 -->[TextField] Fix missing space before asterisk in `OutlinedInput`'s label (#29630) @alisasanib
93
+ - &#8203;<!-- 03 -->[Transition] Allow any valid HTML attribute to be passed (#29888) @Janpot
94
+ - &#8203;<!-- 02 -->[types] Fix discrepancy between core and system `ThemeOptions` (#30095) @fmeum
95
+ - &#8203;<!-- 09 -->[InputBase] Add prop for disabling global styles (#29213) @bryan-hunter
96
+ - &#8203;<!-- 08 -->[Select] Improve multiple logic (#30135) @ladygo93
97
+
98
+ ### `@mui/system@5.2.4`
99
+
100
+ - &#8203;<!-- 06 -->[system] Don't transition when re-appearing (#30108) @eps1lon
101
+ - &#8203;<!-- 05 -->[system] Add `not` operator to `breakpoints` (#29311) @Philipp000
102
+
103
+ ### `@mui/base@5.0.0-alpha.60`
104
+
105
+ - &#8203;<!-- 25 -->[BadgeUnstyled] Make it conformant with other base components (#30141) @mnajdova
106
+
107
+ ### `@mui/icons-material@5.2.4`
108
+
109
+ - &#8203;<!-- 10 -->[icons] Correct location of icon download folder (#29839) @yaboi
110
+
111
+ ### Docs
112
+
113
+ - &#8203;<!-- 22 -->[docs] Explain the use of Select's label in FormControl (#30189) @michaldudak
114
+ - &#8203;<!-- 21 -->[docs] Don't run nprogress on shallow routing (#30087) @Janpot
115
+ - &#8203;<!-- 20 -->[docs] Add Data Driven Forms to related projects (#30078) @rvsia
116
+ - &#8203;<!-- 19 -->[docs] Sync translations with Crowdin (#30067) @l10nbot
117
+ - &#8203;<!-- 18 -->[docs] Fix link on "Custom variables" section in the Theming page #30100 @danilo-leal
118
+ - &#8203;<!-- 17 -->[docs] Fix justifyContent option in the Grid interactive demo (#30117) @danilo-leal
119
+ - &#8203;<!-- 16 -->[docs] Add tip to help access the docs of a previous version when finding answers in StackOverflow (#30101) @danilo-leal
120
+ - &#8203;<!-- 15 -->[docs] Fix import example inside Unstyled Backdrop section (#30098) @TheodosiouTh
121
+ - &#8203;<!-- 01 -->[website] Column pinning and Tree data are out (#30136) @oliviertassinari
122
+ - &#8203;<!-- 07 -->[survey] Remove survey promotion items (#30122) @danilo-leal
123
+
124
+ ### Core
125
+
126
+ - &#8203;<!-- 23 -->[core] Fix link to Open Collective @oliviertassinari
127
+ - &#8203;<!-- 26 -->[core] Update snapshots and s3 fallback (#30134) @Janpot
128
+ - &#8203;<!-- 24 -->[ci] Update CI bucket (#30080) @Janpot
129
+ - &#8203;<!-- 13 -->[fix] size:snapshot for mui-material-next and mui-joy components (#30106) @Janpot
130
+
131
+ 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
132
+
133
+ ## 5.2.3
134
+
135
+ <!-- generated comparing v5.2.2..master -->
136
+
137
+ _Dec 6, 2021_
138
+
139
+ A big thanks to the 25 contributors who made this release possible. Here are some highlights โœจ:
140
+
141
+ - โœจ We have introduced a new unstyled component in `@mui/base`: `TablePagination` (#29759) @mnajdova
142
+
143
+ <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>
144
+
145
+ You can follow our progress with unstyled components at https://github.com/mui-org/material-ui/issues/27170.
146
+
147
+ - ๐ŸŽ‰ We have added an example of how to use MUI with [Remix](https://remix.run/) (#29952) @mnajdova
148
+
149
+ - And many more ๐Ÿ› bug fixes and ๐Ÿ“š improvements.
150
+
151
+ ### `@mui/material@5.2.3`
152
+
153
+ - &#8203;<!-- 33 -->[Accordion] Add a test for handling `square` prop (#29972) @daniel-sachs
154
+ - &#8203;<!-- 32 -->[Alert] Fix `square` Paper prop (#30027) @ZeeshanTamboli
155
+ - &#8203;<!-- 31 -->[AvatarGroup] Allow specifying total number of avatars (#29898) @eduardomcv
156
+ - &#8203;<!-- 29 -->[Button] Fix regression from context API (#29982) @siriwatknp
157
+ - &#8203;<!-- 13 -->[Grid] Fix generated classes for `spacing` prop when the value is object (#29880) @jayeclark
158
+ - &#8203;<!-- 10 -->[Select] Should not crash when an empty array is passed with `multiple` enabled (#29957) @Domino987
159
+
160
+ ### `@mui/system@5.2.3`
161
+
162
+ - &#8203;<!-- 06 -->[system] Fix return type of `createBox` (#29989) @mnajdova
163
+ - &#8203;<!-- 05 -->[system] Support boolean values in typescript for the `sx` prop when used as array (#29911) @tasugi
164
+
165
+ ### `@mui/utils@5.2.3`
166
+
167
+ - &#8203;<!-- 03 -->[utils] Add typings for `@mui-material/styles/cssUtils` (#29621) @Semigradsky
168
+
169
+ ### `@mui/icons-material@5.2.1`
170
+
171
+ - &#8203;<!-- 12 -->[icons] Consolidate ignored icons into one list (#29843) @chao813
172
+
173
+ ### `@mui/base@5.0.0-alpha.59`
174
+
175
+ - &#8203;<!-- 30 -->[base] Fix missing ClickAwayListener barrel index export (#30000) @oliviertassinari
176
+ - &#8203;<!-- 04 -->[TablePaginationUnstyled] Introduce new component (#29759) @mnajdova
177
+
178
+ ### `@mui/lab@5.0.0-alpha.59`
179
+
180
+ - &#8203;<!-- 27 -->[DateRangePicker] Fix `DateRangePickerDayProps` interface (#29067) @jonathanrtuck
181
+ - &#8203;<!-- 10 -->[Pickers] Remove propagation of custom props to the `MonthPicker` component's DOM element (#30021) @ZeeshanTamboli
182
+ - &#8203;<!-- 08 -->[StaticDatePicker] Add className and slot to PickerStaticWrapper (#29619) @kkorach
183
+
184
+ ### `@mui/joy@5.0.0-alpha.5`
185
+
186
+ - &#8203;<!-- 11 -->[Joy] Theme setup (#29846) @siriwatknp
187
+
188
+ ### Docs
189
+
190
+ - &#8203;<!-- 34 -->[docs] Fix link in TypeScript doc page (#30044) @genzyy
191
+ - &#8203;<!-- 26 -->[docs] Remove the 'WIP' icon from the 'Group & Pivot' page title (#30077) @flaviendelangle
192
+ - &#8203;<!-- 25 -->[docs] Add warning that `@mui/styled-engine-sc` does not work in SSR (#30026) @mnajdova
193
+ - &#8203;<!-- 24 -->[docs] Add section for CSS specificity in the migration guide (#30008) @hbjORbj
194
+ - &#8203;<!-- 28 -->[docs] Clarify comment in migration doc (#30076) @hbjORbj
195
+ - &#8203;<!-- 23 -->[docs] Sync translations with Crowdin (#30041) @l10nbot
196
+ - &#8203;<!-- 22 -->[docs] Explain how Paper changes shade in dark mode (#30003) @michaldudak
197
+ - &#8203;<!-- 21 -->[docs] Update nextjs-typescript-example (#29974) @huydhoang
198
+ - &#8203;<!-- 20 -->[docs] Add missing global state classes to API docs generator (#29945) @michaldudak
199
+ - &#8203;<!-- 19 -->[docs] Fix benchmarks folder link (#29981) @fourjr
200
+ - &#8203;<!-- 18 -->[docs] Improve wording in StackOverflow section of support page (#29956) @ronwarner
201
+ - &#8203;<!-- 17 -->[docs] Remove Black Friday sale notification (#29936) @mbrookes
202
+ - &#8203;<!-- 16 -->[examples] Fix typos in the Remix example (#30071) @MichaelDeBoey
203
+ - &#8203;<!-- 15 -->[examples] Add Remix example (#29952) @mnajdova
204
+ - &#8203;<!-- 14 -->[examples] Fix lint issue for displayName missing in the Next.js examples (#29985) @ZeeshanTamboli
205
+ - &#8203;<!-- 09 -->[Stack] Document system props in Stack API (#30069) @ThewBear
206
+ - &#8203;<!-- 07 -->[survey] Add a banner and card for promoting the 2021 survey (#29950) @danilo-leal
207
+ - &#8203;<!-- 02 -->[website] Correct the Careers page description (#30073) @michaldudak
208
+ - &#8203;<!-- 01 -->[website] Fix 301 links (#30040) @oliviertassinari
209
+
210
+ ### Core
211
+
212
+ - &#8203;<!-- 31 -->[core] Batch small changes (#30042) @oliviertassinari
213
+ - &#8203;<!-- 28 -->[core] Transition to a new StackOverflow tag (#29967) @oliviertassinari
214
+
215
+ 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
216
+
217
+ ## 5.2.2
218
+
219
+ <!-- generated comparing v5.2.1..master -->
220
+
221
+ _Nov 29, 2021_
222
+
223
+ A big thanks to the 9 contributors who made this release possible. Here are some highlights โœจ:
224
+
225
+ - โ™ฟ๏ธ Improved accessibility of `Snackbar` and `TextField` in `@mui/material` (#29782) (#29850) (#29852) @eps1lon.
226
+ - ๐ŸŽ‰ Added support for `sx` syntax inside `styled()` utility (#29833) @mnajdova.
227
+ - ๐ŸŽ‰ Added support for more options for `createCssVarsProvider` in `@mui/system` (#29845) (#29857) @hbjORbj.
228
+ - And many more ๐Ÿ› bug fixes and ๐Ÿ“š improvements.
229
+
230
+ ### `@mui/material@5.2.2`
231
+
232
+ - &#8203;<!-- 14 -->[MenuList] Add component prop (#29882) @Harshikerfuffle
233
+ - &#8203;<!-- 13 -->[Snackbar] Interrupt auto-hide on keyboard interaction (#29852) @eps1lon
234
+ - &#8203;<!-- 12 -->[Snackbar] Dismiss on Escape press (#29850) @eps1lon
235
+ - &#8203;<!-- 06 -->[TextField] Associate accessible name and description by default (#29782) @eps1lon
236
+
237
+ ### `@mui/joy@5.0.0-alpha.4`
238
+
239
+ - &#8203;<!-- 15 -->[Joy] Add `Button` - 1st iteration (#29464) @siriwatknp
240
+
241
+ ### `@mui/codemod@5.2.1`
242
+
243
+ - &#8203;<!-- 28 -->[codemod] Fix alias import for box-sx-prop (#29902) @siriwatknp
244
+
245
+ ### `@mui/system@5.2.2`
246
+
247
+ - &#8203;<!-- 11 -->[system] CSSVarsProvider cleans up `html[style]` when unmounting (#29946) @eps1lon
248
+ - &#8203;<!-- 10 -->[system] Add support for `disableTransitionOnChange` in `createCssVarsProvider` (#29857) @hbjORbj
249
+ - &#8203;<!-- 09 -->[system] Add support for `enableColorScheme` in `createCssVarsProvider` (#29845) @hbjORbj
250
+
251
+ ### `@mui/utils@5.2.2`
252
+
253
+ - &#8203;<!-- 05 -->[useId] Trade random collisions for collisions on overflow (#29781) @eps1lon
254
+ - &#8203;<!-- 04 -->[useIsFocusVisible] Convert to TypeScript (#29779) @eps1lon
255
+
256
+ ### Docs
257
+
258
+ - &#8203;<!-- 24 -->[docs] Fix v5-beta confusing example description (#29932) @oliviertassinari
259
+ - &#8203;<!-- 23 -->[docs] Apply the z-index on the right DOM element (#29934) @oliviertassinari
260
+ - &#8203;<!-- 22 -->[docs] Improve git diff format (#29935) @oliviertassinari
261
+ - &#8203;<!-- 21 -->[docs] Fix typo (#29866) @sinclairity
262
+ - &#8203;<!-- 20 -->[docs] Fix key display (#29933) @oliviertassinari
263
+ - &#8203;<!-- 19 -->[docs] Fix outdated link to next/link docs (#29937) @radlinskii
264
+ - &#8203;<!-- 18 -->[docs] Add how to pass `sx` prop (#29905) @siriwatknp
265
+ - &#8203;<!-- 17 -->[docs] Fix typo in notifications @mbrookes
266
+ - &#8203;<!-- 16 -->[docs] Black Friday sale notification @mbrookes
267
+ - &#8203;<!-- 03 -->[website] Fix canonical links (#29938) @oliviertassinari
268
+ - &#8203;<!-- 02 -->[website] Fix SEO issues (#29939) @oliviertassinari
269
+ - &#8203;<!-- 01 -->[website] Improvements to the /x product page (#28964) @danilo-leal
270
+
271
+ ### Core
272
+
273
+ - &#8203;<!-- 27 -->[core] Remove dead code (#29940) @oliviertassinari
274
+ - &#8203;<!-- 26 -->[core] Move benchmark CI job from AZP to CircleCI (#29894) @eps1lon
275
+ - &#8203;<!-- 25 -->[core] Fix PR detection pattern in test_bundle_size_monitor (#29895) @eps1lon
276
+ - &#8203;<!-- 08 -->[test] Fix browser tests (#29929) @eps1lon
277
+ - &#8203;<!-- 07 -->[test] Reject shorthand properties in style matchers (#29893) @eps1lon
278
+
279
+ All contributors of this release in alphabetical order: @danilo-leal, @eps1lon, @Harshikerfuffle, @hbjORbj, @mbrookes, @oliviertassinari, @radlinskii, @sinclairity, @siriwatknp
280
+
281
+ ## 5.2.1
282
+
283
+ <!-- generated comparing v5.2.0..master -->
284
+
285
+ _Nov 25, 2021_
286
+
287
+ A big thanks to the 7 contributors who made this release possible. Here are some highlights โœจ:
288
+
289
+ This is an early release to fix `export 'useId' (imported as 'React') was not found in 'react'` when bundling code depending on MUI Core.
290
+
291
+ - &#8203;<!-- 10 -->[AppBar][docs] Add a fully responsive demo to docs (#29829) @karakib2k18
292
+ - &#8203;<!-- 9 -->[core] Fix PR run detection in test_bundle_size_monitor (#29879) @eps1lon
293
+ - &#8203;<!-- 8 -->[core] Move bundle size monitoring to CircleCI (#29876) @eps1lon
294
+ - &#8203;<!-- 7 -->[docs] Add keys to Responsive AppBar demo (#29884) @mbrookes
295
+ - &#8203;<!-- 6 -->[docs] MUI's 2021 Developer survey (#29765) @newguy-123
296
+ - &#8203;<!-- 5 -->[docs] Smoother image loading UX (#29858) @oliviertassinari
297
+ - &#8203;<!-- 4 -->[Select] Fix select display value with React Nodes (#29836) @kegi
298
+ - &#8203;<!-- 3 -->[system] Add `experimental_sx` utility (#29833) @mnajdova
299
+ - &#8203;<!-- 2 -->[test] Ignore "detected multiple renderers" warning for now (#29854) @eps1lon
300
+ - &#8203;<!-- 1 -->[useMediaQuery][utils] Remove usage of React 18 APIs (#29870) @eps1lon
301
+
302
+ All contributors of this release in alphabetical order: @eps1lon, @karakib2k18, @kegi, @mbrookes, @mnajdova, @newguy-123, @oliviertassinari
303
+
304
+ ## 5.2.0
305
+
306
+ <!-- generated comparing v5.1.1..master -->
307
+
308
+ _Nov 23, 2021_
309
+
310
+ A big thanks to the 18 contributors who made this release possible. Here are some highlights โœจ:
311
+
312
+ - ๐Ÿงช Created another unstyled component: [TabsUnstyled](https://mui.com/components/tabs/#unstyled) (#29597) @mnajdova.
313
+ - ๐ŸŽ‰ Updated the Material Icons set with the latest changes from Google (#29328) @michaldudak / (#29818) @chao813.
314
+ This update adds 200 new icons and tweaks the appearance of many more.
315
+ With it, we're getting close to having 2000 icons in our set.
316
+ - ๐Ÿ› Fixed bugs and improved the infrastructure and documentation ๐Ÿ“š.
317
+
318
+ ### `@mui/material@5.2.0`
319
+
320
+ - [IconButton] Remove on hover effect when `disableRipple` is set (#29298) @adamfitzgibbon
321
+ - [i18n] Add the amharic language (#29153) @NatiG100
322
+ - [material] Fix types for `variants.style` to accept callbacks (#29610) @mnajdova
323
+ - [Popper] Simplify prop types (#29680) @michaldudak
324
+ - [Select] Include aria-selected=false when option not selected (#29695) @michaldudak
325
+ - [useMediaQuery] Fix crash in Safari < 14 and IE 11 (#29776) @eps1lon
326
+ - [useMediaQuery] Ensure no tearing in React 18 (#28491) @eps1lon
327
+
328
+ ### `@mui/codemod@5.2.0`
329
+
330
+ - [codemod] Fix `jss-to-styled` to support multiple withStyles (#29824) @siriwatknp
331
+
332
+ ### `@mui/icons-material@5.2.0`
333
+
334
+ - [icons] Sync new Google Material Icons (#29818) @chao813
335
+ - [icons] Sync recent Material Icons from Google (#29328) @michaldudak
336
+
337
+ ### `@mui/system@5.2.0`
338
+
339
+ - [Box] Fix `sx` prop runtime issue when used as function (#29830) @mnajdova
340
+ - [system] Fix `sx` throw error when value is `null` or `undefined` (#29756) @siriwatknp
341
+ - [system] Fix minor CssVars issues (#29747) @siriwatknp
342
+
343
+ ### `@mui/styled-engine@5.2.0`
344
+
345
+ - [styled-engine] Fix props inference in styled-engine (#29739) @Janpot
346
+
347
+ ### `@mui/base@5.0.0-alpha.56`
348
+
349
+ - [FormControlUnstyled] `focused` is always false unless explicitly set to `true` @mwilkins91
350
+ - [TabsUnstyled] Introduce new component (#29597) @mnajdova
351
+
352
+ ### `@mui/lab@5.0.0-alpha.56`
353
+
354
+ - [DatePicker][timepicker] Add missing component declarations (#29517) @longzheng
355
+ - [Masonry] exports from root package (#29754) @abhinav-22-tech
356
+ - [pickers] Widen accepted `luxon` version range (#29761) @eps1lon
357
+
358
+ ### Docs
359
+
360
+ - [blog] MUI X v5 blog post (#29590) @DanailH
361
+ - [blog] Polish the Benny Joo joins MUI post (#29697) @oliviertassinari
362
+ - [CHANGELOG] Explain why we do breaking changes @oliviertassinari
363
+ - [core] Update latest issue template for codesandbox CI (#29783) @eps1lon
364
+ - [core] Ensure `@mui/core` is an alias for `@mui/base` (#29762) @eps1lon
365
+ - [docs] Fix broken Next and Previous links (#29711) @scallaway
366
+ - [docs] Add a note that ToggleButton exclusive does not enforce selection (#29812) @mmacu
367
+ - [docs] Update the list of supported locales (#29831) @michaldudak
368
+ - [docs] Update tooltip doc to better define touch action (#29717) @gnowland
369
+ - [website] Standardize the background color from the MUI team photos (#29738) @danilo-leal
370
+ - [website] Add Bharat to the About Us Page (#29714) @bharatkashyap
371
+ - [website] Add about page entry for jan (#29701) @Janpot
372
+ - [website] Adding Prakhar to the about page (#29737) @danilo-leal
373
+
374
+ ### Core
375
+
376
+ - [test] Allow debugging with Chrome and VSCode inspector (#29777) @eps1lon
377
+ - [test] Use renderer clock instead of custom useFakeTimers call (#29778) @eps1lon
378
+ - [test] Only mock Date in regression tests (#29763) @eps1lon
379
+ - [test] Disable nightly integration tests on `next` branch (#29748) @eps1lon
380
+ - [test] Allow configuring clock directly from `createRenderer` (#29684) @eps1lon
381
+ - [test] Accept backslashes as path separators in test CLI (#29694) @michaldudak
382
+ - [utils] Use built-in hook when available for useId (#26489) @eps1lon
383
+
384
+ 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
385
+
386
+ ## 5.1.1
387
+
388
+ <!-- generated comparing v5.1.0..master -->
389
+
390
+ _Nov 16, 2021_
391
+
392
+ A big thanks to the 15 contributors who made this release possible. Here are some highlights โœจ:
393
+
394
+ - ๐Ÿ›  Renamed `@mui/core` to `@mui/base` (#29585) @michaldudak.
395
+ - And many more ๐Ÿ› bug fixes and ๐Ÿ“š improvements.
396
+
397
+ ### `@mui/material@5.1.1`
398
+
399
+ - &#8203;<!-- 34 -->[Breadcrumbs][divider] Replace decimal spacing values with integers and css calc (#29526) @anikcreative
400
+ - &#8203;<!-- 10 -->[Select][nativeselect] Add `multiple` class (#29566) @aaronholla
401
+ - &#8203;<!-- 09 -->[Popper] Split into PopperUnstyled and Popper (#29488) @michaldudak
402
+ - &#8203;<!-- 08 -->[Select] Make it clear that `Select` is not a root component (#29593) @hbjORbj
403
+ - &#8203;<!-- 13 -->[l10n] Improved Dutch (nl-NL) locale (#29592) @flipvrijn
404
+ - &#8203;<!-- 10 -->[Table] Improve pagination range, use "en dash" over "hyphen" (#29579) @narekmal
405
+
406
+ ### `@mui/base@5.0.0-alpha.55`
407
+
408
+ #### Breaking changes
409
+
410
+ - &#8203;<!-- 27 -->[core] Rename mui/core to mui/base (#29585) @michaldudak
411
+
412
+ 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.
413
+
414
+ 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.
415
+
416
+ ```diff
417
+ -importย { useSwitch } from '@mui/core/SwitchUnstyled';
418
+ +importย { useSwitch } from '@mui/base/SwitchUnstyled';
419
+ ```
420
+
421
+ ### `@mui/lab@5.0.0-alpha.55`
422
+
423
+ - &#8203;<!-- 12 -->[LoadingButton] Text variant spacing fixed for both start and end (#29194) @joshua-lawrence
424
+ - &#8203;<!-- 11 -->[Masonry] Check if container or child exists to prevent error (#29452) @hbjORbj
425
+
426
+ ### Docs
427
+
428
+ - &#8203;<!-- 25 -->[docs] Correct bundler configuration for using legacy MUI build (#29146) @petermikitsh
429
+ - &#8203;<!-- 24 -->[docs] Fix typo on autocomplete.md (#29570) @netizer
430
+ - &#8203;<!-- 23 -->[docs] Fix dark mode on branding pages (#29611) @alexfauquette
431
+ - &#8203;<!-- 22 -->[docs] Do not render CSS section in API docs navbar if there are no CSS classes (#29622) @ZeeshanTamboli
432
+ - &#8203;<!-- 21 -->[docs] Fix link locale handling (#29624) @oliviertassinari
433
+ - &#8203;<!-- 20 -->[docs] Fix Search navigation (#29623) @oliviertassinari
434
+ - &#8203;<!-- 19 -->[docs] Fix broken link & update MUI packages explanation (#29583) @siriwatknp
435
+ - &#8203;<!-- 18 -->[docs] Do not repeat language snippet in url in Algolia search (#29483) @hbjORbj
436
+ - &#8203;<!-- 17 -->[docs] Update `ThemeProvider` API link (#29573) @siriwatknp
437
+ - &#8203;<!-- 16 -->[docs] Remove svg logos from the Support page (#29431) @oliviertassinari
438
+ - &#8203;<!-- 15 -->[docs] Link UXPin integration (#29422) @oliviertassinari
439
+ - &#8203;<!-- 14 -->[docs] Link to the new public roadmap for the design kits (#29433) @oliviertassinari
440
+ - &#8203;<!-- 28 -->[docs] correct bundler configuration for using legacy MUI build (#29146) @petermikitsh
441
+ - &#8203;<!-- 01 -->[website] Fix premium plan release date (#29430) @oliviertassinari
442
+ - &#8203;<!-- 02 -->[website] Add GitHub icon button to the navbar (#29640) @danilo-leal
443
+ - &#8203;<!-- 39 -->[blog] Support many authors in markdown pages (#29633) @m4theushw
444
+
445
+ ### Core
446
+
447
+ - &#8203;<!-- 33 -->[core] Add `experiments` index page (#29582) @siriwatknp
448
+ - &#8203;<!-- 32 -->[core] Move s3 bucket ownership to mui-org (#29609) @eps1lon
449
+ - &#8203;<!-- 31 -->[core] Improve support request message (#29614) @mnajdova
450
+ - &#8203;<!-- 30 -->[core] Use support request Github Action (#29594) @mnajdova
451
+ - &#8203;<!-- 29 -->[core] Remove unused `getJsxPreview` util (#29586) @ZeeshanTamboli
452
+ - &#8203;<!-- 28 -->[core] Use GitHub issue forms (#28038) @oliviertassinari
453
+ - &#8203;<!-- 26 -->[core] Add playground (#29423) @oliviertassinari
454
+ - &#8203;<!-- 07 -->[test] Correctly identify what the `raf` helper is for (#29683) @eps1lon
455
+ - &#8203;<!-- 06 -->[test] Verify a quilted ImageList is created as test title suggests (#29565) @daniel-sachs
456
+ - &#8203;<!-- 05 -->[test] Replace `createServerRender` with `createRenderer` (#29503) @eps1lon
457
+ - &#8203;<!-- 04 -->[test] Always ignore "useLayoutEffect has no effect on the server"-warning (#29502) @eps1lon
458
+ - &#8203;<!-- 03 -->[test] Restore StrictMode by default (#29589) @eps1lon
459
+ - &#8203;<!-- 02 -->[test] createPickerRender -> createPickerRenderer (#29575) @eps1lon
460
+ - &#8203;<!-- 09 -->[test] Allow experimental CLI to run exact test (#29685) @eps1lon
461
+
462
+ 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
463
+
3
464
  ## 5.1.0
4
465
 
5
466
  <!-- generated comparing v5.0.6..master -->
@@ -142,16 +603,16 @@ _Oct 26, 2021_
142
603
  A big thanks to the 19 contributors who made this release possible. Here are some highlights โœจ:
143
604
 
144
605
  - ๐Ÿ”ง Implement `Masonry` using Flexbox by @hbjORbj.
145
- - ๐Ÿงช Add three components to `@mui/core` by @rebeccahongsf and @hbjORbj.
606
+ - ๐Ÿงช Add three components to `@mui/base` by @rebeccahongsf and @hbjORbj.
146
607
 
147
608
  ### `@mui/codemod@5.0.5`
148
609
 
149
610
  - &#8203;<!-- 38 -->[codemod] Support new package name in `link-underline-hover` transformer (#29214) @siriwatknp
150
611
 
151
- ### `@mui/core@5.0.0-alpha.52`
612
+ ### `@mui/base@5.0.0-alpha.52`
152
613
 
153
614
  - &#8203;<!-- 39 -->[ClickAwayListener] Move to the core package (#29186) @hbjORbj
154
- - &#8203;<!-- 13 -->[Popper] Move from mui-material to mui-core (#28923) @rebeccahongsf
615
+ - &#8203;<!-- 13 -->[Popper] Move from mui-material to mui-base (#28923) @rebeccahongsf
155
616
  - &#8203;<!-- 04 -->[TextareaAutosize] Move to the core package (#29148) @hbjORbj
156
617
 
157
618
  ### `@mui/lab@5.0.0-alpha.52`
@@ -220,7 +681,7 @@ _Oct 14, 2021_
220
681
 
221
682
  A big thanks to the 17 contributors who made this release possible. Here are some highlights โœจ:
222
683
 
223
- - ๐Ÿงช Added `UnstyledInput` and `useInput` hook in the the first component in @mui/core package @michaldudak (#28053)
684
+ - ๐Ÿงช Added `UnstyledInput` and `useInput` hook in the the first component in @mui/base package @michaldudak (#28053)
224
685
  - ๐Ÿ› Fixed many bugs and improved the documentation ๐Ÿ“š.
225
686
 
226
687
  ### `@mui/material@5.0.4`
@@ -235,7 +696,7 @@ A big thanks to the 17 contributors who made this release possible. Here are som
235
696
 
236
697
  - &#8203;<!-- 05 -->[system] Update typing for `style` function (#28744) @hbjORbj
237
698
 
238
- ### `@mui/core@5.0.0-alpha.51`
699
+ ### `@mui/base@5.0.0-alpha.51`
239
700
 
240
701
  - &#8203;<!-- 07 -->[InputUnstyled] Create unstyled input and useInput hook (#28053) @michaldudak
241
702
 
@@ -304,7 +765,7 @@ A big thanks to the 19 contributors who made this release possible. Here are som
304
765
 
305
766
  - &#8203;<!-- 42 -->Don't allow styled-components APIs on mui styled function (#28807) @hbjORbj
306
767
 
307
- ### `@mui/core@5.0.0-alpha.50`
768
+ ### `@mui/base@5.0.0-alpha.50`
308
769
 
309
770
  - &#8203;<!-- 38 -->[ButtonUnstyled] Don't set redundant role=button (#28488) @michaldudak
310
771
  - &#8203;<!-- 43 -->[SliderUnstyled] Prevent unknown-prop error when using marks prop (#28868) @hbjORbj
@@ -683,10 +1144,10 @@ A big thanks to the 18 contributors who made this release possible. Here are som
683
1144
  ```
684
1145
  @material-ui/core => @mui/material // represents Material Design components.
685
1146
  @material-ui/icons => @mui/icons-material // represents Material Design icons.
686
- @material-ui/unstyled => @mui/core // fully functional components with minimum styles.
1147
+ @material-ui/unstyled => @mui/base // fully functional components with minimum styles.
687
1148
  ```
688
1149
 
689
- > **Note**: `@mui/core` (previously `@material-ui/unstyled`) is not the same as `@material-ui/core`.
1150
+ > **Note**: `@mui/base` (previously `@material-ui/unstyled`) is not the same as `@material-ui/core`.
690
1151
 
691
1152
  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.
692
1153
 
@@ -701,7 +1162,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
701
1162
  - &#8203;<!-- 05 -->[ToggleButtonGroup] Add "disabled" prop (#27998) @chetas411
702
1163
  - &#8203;<!-- 34 -->[core] Export types for module augmentation (#28078) @m4theushw
703
1164
 
704
- ### `@mui/core@5.0.0-alpha.45`
1165
+ ### `@mui/base@5.0.0-alpha.45`
705
1166
 
706
1167
  - &#8203;<!-- 38 -->[Button] Create ButtonUnstyled and useButton (#27600) @michaldudak
707
1168
 
@@ -1821,7 +2282,7 @@ _May 31, 2021_
1821
2282
  A big thanks to the 14 contributors who made this release possible. Here are some highlights โœจ:
1822
2283
 
1823
2284
  - ๐Ÿ‘ฉโ€๐ŸŽค We have completed the migration to emotion of all the components (`@material-ui/core` and `@material-ui/lab`) @siriwatknp, @mnajdova.
1824
- - ๐Ÿ“ฆ 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.
2285
+ - ๐Ÿ“ฆ 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.
1825
2286
  - โš’๏ธ 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.
1826
2287
  - And many more ๐Ÿ› bug fixes and ๐Ÿ“š improvements.
1827
2288
 
@@ -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/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.1.0
1
+ /** @license MUI v5.2.5
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.1.0
1
+ /** @license MUI v5.2.5
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.1.0
1
+ /** @license MUI v5.2.5
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.1.0
1
+ /** @license MUI v5.2.5
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.1.0",
3
+ "version": "5.2.5",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "styled() API wrapper package for emotion.",
@@ -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.16.0",
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": {