@mui/styled-engine 5.2.0 → 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,248 @@
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
+
3
246
  ## 5.2.0
4
247
 
5
248
  <!-- generated comparing v5.1.1..master -->
@@ -1981,7 +2224,7 @@ _May 31, 2021_
1981
2224
  A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
1982
2225
 
1983
2226
  - 👩‍🎤 We have completed the migration to emotion of all the components (`@material-ui/core` and `@material-ui/lab`) @siriwatknp, @mnajdova.
1984
- - 📦 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.
1985
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.
1986
2229
  - And many more 🐛 bug fixes and 📚 improvements.
1987
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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.2.0
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.2.0
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.2.0
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.2.0
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.2.0",
3
+ "version": "5.2.4",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "styled() API wrapper package for emotion.",
@@ -23,7 +23,7 @@
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
29
  "@babel/runtime": "^7.16.3",