@mui/styled-engine 5.1.1 → 5.2.6
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 +452 -3
- package/GlobalStyles/GlobalStyles.d.ts +3 -3
- package/StyledEngineProvider/StyledEngineProvider.js +2 -1
- package/index.d.ts +5 -1
- package/index.js +1 -1
- package/legacy/StyledEngineProvider/StyledEngineProvider.js +2 -1
- package/legacy/index.js +1 -1
- package/modern/StyledEngineProvider/StyledEngineProvider.js +2 -1
- package/modern/index.js +1 -1
- package/node/StyledEngineProvider/StyledEngineProvider.js +2 -1
- package/node/index.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,445 @@
|
|
|
1
1
|
### [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.2.6
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.2.5..master -->
|
|
6
|
+
|
|
7
|
+
_Dec 27, 2021_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
|
|
11
|
+
- 📓 The Norwegian Bokmål (nb-NO) locale was added (#27520) @wogsland
|
|
12
|
+
- 🛠 Introduced a new `useBadge` hook in the `@mui/base` package (#30246) @mnajdova
|
|
13
|
+
- And more 🐛 bug fixes and 📚 documentation improvements.
|
|
14
|
+
|
|
15
|
+
### `@mui/material@5.2.6`
|
|
16
|
+
|
|
17
|
+
- ​<!-- 24 -->[ButtonGroup] Fix typo in ButtonGroupContext's interface (#30376) @kealjones-wk
|
|
18
|
+
- ​<!-- 03 -->[l10n] Add Norwegian Bokmål (nb-NO) locale (#27520) @wogsland
|
|
19
|
+
|
|
20
|
+
### `@mui/base@5.0.0-alpha.62`
|
|
21
|
+
|
|
22
|
+
- ​<!-- 26 -->[BadgeUnstyled] Add useBadge hook (#30246) @mnajdova
|
|
23
|
+
|
|
24
|
+
### `@mui/joy@5.0.0-alpha.8`
|
|
25
|
+
|
|
26
|
+
- ​<!-- 04 -->[Joy] Button API (#29962) @siriwatknp
|
|
27
|
+
|
|
28
|
+
### Docs
|
|
29
|
+
|
|
30
|
+
- ​<!-- 27 -->[docs] Fix color coercion (#30319) @Janpot
|
|
31
|
+
- ​<!-- 25 -->[blog] Fix file import conflict resolution (#30391) @oliviertassinari
|
|
32
|
+
- ​<!-- 21 -->[docs] Fix crash on Safari because of unsupported lookahead feature (#30345) @cherniavskii
|
|
33
|
+
- ​<!-- 20 -->[docs] Update to new website domain (#30396) @ryota-murakami
|
|
34
|
+
- ​<!-- 19 -->[docs] Fix text from material-ui to @mui to reflect v5 name changes (#30393) @pupudu
|
|
35
|
+
- ​<!-- 18 -->[docs] Fix a11y in Menu demos (#30378) @ZeeshanTamboli
|
|
36
|
+
- ​<!-- 17 -->[docs] Document how to unmount transition child (#30382) @oliviertassinari
|
|
37
|
+
- ​<!-- 16 -->[docs] The current standard for quotes is QUOTATION MARK @oliviertassinari
|
|
38
|
+
- ​<!-- 15 -->[docs] Fix 404 links (#30380) @oliviertassinari
|
|
39
|
+
- ​<!-- 14 -->[docs] Fix Breadcrumb description (#30307) @jamesmelzer
|
|
40
|
+
- ​<!-- 13 -->[docs] Modify injection order for Gatsby and SSR examples (#30358) @ShuPink
|
|
41
|
+
- ​<!-- 12 -->[docs] Improve the translation experience (#30373) @oliviertassinari
|
|
42
|
+
- ​<!-- 11 -->[docs] Sync translations with Crowdin (#30176) @l10nbot
|
|
43
|
+
- ​<!-- 10 -->[docs] Fix link to /size-snapshot (#30363) @oliviertassinari
|
|
44
|
+
- ​<!-- 09 -->[docs] Fix incorrect aria label in SpeedDial demo (#30354) @chwallen
|
|
45
|
+
- ​<!-- 08 -->[docs] Fix incorrect number of breakpoint helpers (#30353) @chwallen
|
|
46
|
+
- ​<!-- 07 -->[docs] Update outdated links (#30260) @oliviertassinari
|
|
47
|
+
- ​<!-- 06 -->[docs] Support redirects from old urls to /material/\* (#30286) @siriwatknp
|
|
48
|
+
- ​<!-- 05 -->[examples] Fix CSS modules integration (#30381) @oliviertassinari
|
|
49
|
+
- ​<!-- 02 -->[website] Fix SEO issues (#30372) @oliviertassinari
|
|
50
|
+
- ​<!-- 01 -->[website] Sync sponsors (#30259) @oliviertassinari
|
|
51
|
+
|
|
52
|
+
### Core
|
|
53
|
+
|
|
54
|
+
- ​<!-- 28 -->[core] Rename Material-UI to MUI (#30338) @ZeeshanTamboli
|
|
55
|
+
- ​<!-- 23 -->[core] Fix warning in dev mode (#30368) @oliviertassinari
|
|
56
|
+
- ​<!-- 22 -->[core] Update `buildApi` script to support new structure (#30245) @siriwatknp
|
|
57
|
+
|
|
58
|
+
All contributors of this release in alphabetical order: @cherniavskii, @chwallen, @jamesmelzer, @Janpot, @kealjones-wk, @l10nbot, @mnajdova, @oliviertassinari, @pupudu, @ryota-murakami, @ShuPink, @siriwatknp, @wogsland, @ZeeshanTamboli
|
|
59
|
+
|
|
60
|
+
## 5.2.5
|
|
61
|
+
|
|
62
|
+
<!-- generated comparing v5.2.4..master -->
|
|
63
|
+
|
|
64
|
+
_Dec 20, 2021_
|
|
65
|
+
|
|
66
|
+
A big thanks to the 16 contributors who made this release possible. Here are some highlights ✨:
|
|
67
|
+
|
|
68
|
+
- 🛠 This release mostly improves what's behind the scenes: infrastructure and tests
|
|
69
|
+
- 📓 Danish (da-DK) locale was added (#29485) @mikk5829
|
|
70
|
+
- 🖌 Polished the design of Base components (#30149) and the docs in general (#29994) @danilo-leal
|
|
71
|
+
- 📚 Many additions and improvements to the documentation were made
|
|
72
|
+
|
|
73
|
+
### `@mui/material@5.2.5`
|
|
74
|
+
|
|
75
|
+
- [l10n] Add Danish (da-DK) locale (#29485) @mikk5829
|
|
76
|
+
- [LoadingButton] Label progressbar by the LoadingButton (#30002) @eps1lon
|
|
77
|
+
- [Tabs] Remove unnecessary `Partial<>` type around TabIndicatorProps type (#30254) @ZeeshanTamboli
|
|
78
|
+
|
|
79
|
+
### `@mui/system@5.2.5`
|
|
80
|
+
|
|
81
|
+
- [system] Use `useEnhancedEffect` to prevent flicker (#30216) @hbjORbj
|
|
82
|
+
|
|
83
|
+
### `@mui/lab@5.0.0-alpha.61`
|
|
84
|
+
|
|
85
|
+
- [pickers] Fix the wrong MuiClockPicker's ArrowSwitcher slot name (#30226) @rejetto
|
|
86
|
+
|
|
87
|
+
### Docs
|
|
88
|
+
|
|
89
|
+
- [docs] Run JS compiler on markdown output (#29732) @Janpot
|
|
90
|
+
- [Badge] Add tests for `anchorOrigin` prop (#30147) @daniel-sachs
|
|
91
|
+
- [docs] Add cssmodule injection order comments to Nextjs example (#30213) @ShuPink
|
|
92
|
+
- [docs] Remove extra word in Select component code example comments (#30281) @KThompso
|
|
93
|
+
- [docs] Improve the description of the Accordion (#30253) @jamesmelzer
|
|
94
|
+
- [docs] Heading capitalization convention @oliviertassinari
|
|
95
|
+
- [docs] Rename remaining 'unstyled' references to 'base' (#30206) @michaldudak
|
|
96
|
+
- [docs] Add to migration doc about ref type specificity (#30114) @hbjORbj
|
|
97
|
+
- [docs] Add script to clone pages (#30107) @siriwatknp
|
|
98
|
+
- [docs] Correct colors in breakpoints documentation (#30219) @michaldudak
|
|
99
|
+
- [docs] Sync icon search UI state with the url (#30075) @Janpot
|
|
100
|
+
- [docs] Base components demos design polish (#30149) @danilo-leal
|
|
101
|
+
- [docs] General documentation polish (#29994) @danilo-leal
|
|
102
|
+
- [examples] Fix typo in the remix example's README (#30289) @lemol
|
|
103
|
+
- [website] Remove expired gold sponsor (#30222) @oliviertassinari
|
|
104
|
+
- [website] Remove broken showcase links (#30217) @mnajdova
|
|
105
|
+
|
|
106
|
+
### Core
|
|
107
|
+
|
|
108
|
+
- [test] Reduce bundle size comparison memory consumption (#30195) @Janpot
|
|
109
|
+
- [core] make snapshot comparison more resilient (#30183) @Janpot
|
|
110
|
+
- [core] update formatted ts demo to support new structure (#30248) @siriwatknp
|
|
111
|
+
- [core] cache dependencies in github actions (#30211) @siriwatknp
|
|
112
|
+
- [core] fix root package version (#30204) @siriwatknp
|
|
113
|
+
- [core] Fail the build when the dangerjs script errors (#30186) @Janpot
|
|
114
|
+
- [test] Add E2E website tests (#30128) @siriwatknp
|
|
115
|
+
|
|
116
|
+
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
|
|
117
|
+
|
|
118
|
+
## 5.2.4
|
|
119
|
+
|
|
120
|
+
<!-- generated comparing v5.2.3..master -->
|
|
121
|
+
|
|
122
|
+
_Dec 14, 2021_
|
|
123
|
+
|
|
124
|
+
A big thanks to the 16 contributors who made this release possible. Here are some highlights ✨:
|
|
125
|
+
|
|
126
|
+
- ✨ Add `not` operator to `theme.breakpoints` (#29311) @Philipp000
|
|
127
|
+
|
|
128
|
+
```js
|
|
129
|
+
const styles = (theme) => ({
|
|
130
|
+
root: {
|
|
131
|
+
backgroundColor: 'blue',
|
|
132
|
+
// Match [xs, md) and [md + 1, ∞)
|
|
133
|
+
// [xs, md) and [lg, ∞)
|
|
134
|
+
// [0px, 900px) and [1200px, ∞)
|
|
135
|
+
[theme.breakpoints.not('md')]: {
|
|
136
|
+
backgroundColor: 'red',
|
|
137
|
+
},
|
|
138
|
+
},
|
|
139
|
+
});
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
- And many more 🐛 bug fixes and 📚 improvements.
|
|
143
|
+
|
|
144
|
+
### `@mui/material@5.2.4`
|
|
145
|
+
|
|
146
|
+
- ​<!-- 14 -->[esm] Correct a styles imports (#29976) @Janpot
|
|
147
|
+
- ​<!-- 12 -->[GlobalStyles] Fix `theme` type (#30072) @mnajdova
|
|
148
|
+
- ​<!-- 11 -->[Grid] Fix grid items to respond to the container's responsive columns (#29715) @kkorach
|
|
149
|
+
- ​<!-- 04 -->[TextField] Fix missing space before asterisk in `OutlinedInput`'s label (#29630) @alisasanib
|
|
150
|
+
- ​<!-- 03 -->[Transition] Allow any valid HTML attribute to be passed (#29888) @Janpot
|
|
151
|
+
- ​<!-- 02 -->[types] Fix discrepancy between core and system `ThemeOptions` (#30095) @fmeum
|
|
152
|
+
- ​<!-- 09 -->[InputBase] Add prop for disabling global styles (#29213) @bryan-hunter
|
|
153
|
+
- ​<!-- 08 -->[Select] Improve multiple logic (#30135) @ladygo93
|
|
154
|
+
|
|
155
|
+
### `@mui/system@5.2.4`
|
|
156
|
+
|
|
157
|
+
- ​<!-- 06 -->[system] Don't transition when re-appearing (#30108) @eps1lon
|
|
158
|
+
- ​<!-- 05 -->[system] Add `not` operator to `breakpoints` (#29311) @Philipp000
|
|
159
|
+
|
|
160
|
+
### `@mui/base@5.0.0-alpha.60`
|
|
161
|
+
|
|
162
|
+
- ​<!-- 25 -->[BadgeUnstyled] Make it conformant with other base components (#30141) @mnajdova
|
|
163
|
+
|
|
164
|
+
### `@mui/icons-material@5.2.4`
|
|
165
|
+
|
|
166
|
+
- ​<!-- 10 -->[icons] Correct location of icon download folder (#29839) @yaboi
|
|
167
|
+
|
|
168
|
+
### Docs
|
|
169
|
+
|
|
170
|
+
- ​<!-- 22 -->[docs] Explain the use of Select's label in FormControl (#30189) @michaldudak
|
|
171
|
+
- ​<!-- 21 -->[docs] Don't run nprogress on shallow routing (#30087) @Janpot
|
|
172
|
+
- ​<!-- 20 -->[docs] Add Data Driven Forms to related projects (#30078) @rvsia
|
|
173
|
+
- ​<!-- 19 -->[docs] Sync translations with Crowdin (#30067) @l10nbot
|
|
174
|
+
- ​<!-- 18 -->[docs] Fix link on "Custom variables" section in the Theming page #30100 @danilo-leal
|
|
175
|
+
- ​<!-- 17 -->[docs] Fix justifyContent option in the Grid interactive demo (#30117) @danilo-leal
|
|
176
|
+
- ​<!-- 16 -->[docs] Add tip to help access the docs of a previous version when finding answers in StackOverflow (#30101) @danilo-leal
|
|
177
|
+
- ​<!-- 15 -->[docs] Fix import example inside Unstyled Backdrop section (#30098) @TheodosiouTh
|
|
178
|
+
- ​<!-- 01 -->[website] Column pinning and Tree data are out (#30136) @oliviertassinari
|
|
179
|
+
- ​<!-- 07 -->[survey] Remove survey promotion items (#30122) @danilo-leal
|
|
180
|
+
|
|
181
|
+
### Core
|
|
182
|
+
|
|
183
|
+
- ​<!-- 23 -->[core] Fix link to Open Collective @oliviertassinari
|
|
184
|
+
- ​<!-- 26 -->[core] Update snapshots and s3 fallback (#30134) @Janpot
|
|
185
|
+
- ​<!-- 24 -->[ci] Update CI bucket (#30080) @Janpot
|
|
186
|
+
- ​<!-- 13 -->[fix] size:snapshot for mui-material-next and mui-joy components (#30106) @Janpot
|
|
187
|
+
|
|
188
|
+
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
|
|
189
|
+
|
|
190
|
+
## 5.2.3
|
|
191
|
+
|
|
192
|
+
<!-- generated comparing v5.2.2..master -->
|
|
193
|
+
|
|
194
|
+
_Dec 6, 2021_
|
|
195
|
+
|
|
196
|
+
A big thanks to the 25 contributors who made this release possible. Here are some highlights ✨:
|
|
197
|
+
|
|
198
|
+
- ✨ We have introduced a new unstyled component in `@mui/base`: `TablePagination` (#29759) @mnajdova
|
|
199
|
+
|
|
200
|
+
<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>
|
|
201
|
+
|
|
202
|
+
You can follow our progress with unstyled components at https://github.com/mui-org/material-ui/issues/27170.
|
|
203
|
+
|
|
204
|
+
- 🎉 We have added an example of how to use MUI with [Remix](https://remix.run/) (#29952) @mnajdova
|
|
205
|
+
|
|
206
|
+
- And many more 🐛 bug fixes and 📚 improvements.
|
|
207
|
+
|
|
208
|
+
### `@mui/material@5.2.3`
|
|
209
|
+
|
|
210
|
+
- ​<!-- 33 -->[Accordion] Add a test for handling `square` prop (#29972) @daniel-sachs
|
|
211
|
+
- ​<!-- 32 -->[Alert] Fix `square` Paper prop (#30027) @ZeeshanTamboli
|
|
212
|
+
- ​<!-- 31 -->[AvatarGroup] Allow specifying total number of avatars (#29898) @eduardomcv
|
|
213
|
+
- ​<!-- 29 -->[Button] Fix regression from context API (#29982) @siriwatknp
|
|
214
|
+
- ​<!-- 13 -->[Grid] Fix generated classes for `spacing` prop when the value is object (#29880) @jayeclark
|
|
215
|
+
- ​<!-- 10 -->[Select] Should not crash when an empty array is passed with `multiple` enabled (#29957) @Domino987
|
|
216
|
+
|
|
217
|
+
### `@mui/system@5.2.3`
|
|
218
|
+
|
|
219
|
+
- ​<!-- 06 -->[system] Fix return type of `createBox` (#29989) @mnajdova
|
|
220
|
+
- ​<!-- 05 -->[system] Support boolean values in typescript for the `sx` prop when used as array (#29911) @tasugi
|
|
221
|
+
|
|
222
|
+
### `@mui/utils@5.2.3`
|
|
223
|
+
|
|
224
|
+
- ​<!-- 03 -->[utils] Add typings for `@mui-material/styles/cssUtils` (#29621) @Semigradsky
|
|
225
|
+
|
|
226
|
+
### `@mui/icons-material@5.2.1`
|
|
227
|
+
|
|
228
|
+
- ​<!-- 12 -->[icons] Consolidate ignored icons into one list (#29843) @chao813
|
|
229
|
+
|
|
230
|
+
### `@mui/base@5.0.0-alpha.59`
|
|
231
|
+
|
|
232
|
+
- ​<!-- 30 -->[base] Fix missing ClickAwayListener barrel index export (#30000) @oliviertassinari
|
|
233
|
+
- ​<!-- 04 -->[TablePaginationUnstyled] Introduce new component (#29759) @mnajdova
|
|
234
|
+
|
|
235
|
+
### `@mui/lab@5.0.0-alpha.59`
|
|
236
|
+
|
|
237
|
+
- ​<!-- 27 -->[DateRangePicker] Fix `DateRangePickerDayProps` interface (#29067) @jonathanrtuck
|
|
238
|
+
- ​<!-- 10 -->[Pickers] Remove propagation of custom props to the `MonthPicker` component's DOM element (#30021) @ZeeshanTamboli
|
|
239
|
+
- ​<!-- 08 -->[StaticDatePicker] Add className and slot to PickerStaticWrapper (#29619) @kkorach
|
|
240
|
+
|
|
241
|
+
### `@mui/joy@5.0.0-alpha.5`
|
|
242
|
+
|
|
243
|
+
- ​<!-- 11 -->[Joy] Theme setup (#29846) @siriwatknp
|
|
244
|
+
|
|
245
|
+
### Docs
|
|
246
|
+
|
|
247
|
+
- ​<!-- 34 -->[docs] Fix link in TypeScript doc page (#30044) @genzyy
|
|
248
|
+
- ​<!-- 26 -->[docs] Remove the 'WIP' icon from the 'Group & Pivot' page title (#30077) @flaviendelangle
|
|
249
|
+
- ​<!-- 25 -->[docs] Add warning that `@mui/styled-engine-sc` does not work in SSR (#30026) @mnajdova
|
|
250
|
+
- ​<!-- 24 -->[docs] Add section for CSS specificity in the migration guide (#30008) @hbjORbj
|
|
251
|
+
- ​<!-- 28 -->[docs] Clarify comment in migration doc (#30076) @hbjORbj
|
|
252
|
+
- ​<!-- 23 -->[docs] Sync translations with Crowdin (#30041) @l10nbot
|
|
253
|
+
- ​<!-- 22 -->[docs] Explain how Paper changes shade in dark mode (#30003) @michaldudak
|
|
254
|
+
- ​<!-- 21 -->[docs] Update nextjs-typescript-example (#29974) @huydhoang
|
|
255
|
+
- ​<!-- 20 -->[docs] Add missing global state classes to API docs generator (#29945) @michaldudak
|
|
256
|
+
- ​<!-- 19 -->[docs] Fix benchmarks folder link (#29981) @fourjr
|
|
257
|
+
- ​<!-- 18 -->[docs] Improve wording in StackOverflow section of support page (#29956) @ronwarner
|
|
258
|
+
- ​<!-- 17 -->[docs] Remove Black Friday sale notification (#29936) @mbrookes
|
|
259
|
+
- ​<!-- 16 -->[examples] Fix typos in the Remix example (#30071) @MichaelDeBoey
|
|
260
|
+
- ​<!-- 15 -->[examples] Add Remix example (#29952) @mnajdova
|
|
261
|
+
- ​<!-- 14 -->[examples] Fix lint issue for displayName missing in the Next.js examples (#29985) @ZeeshanTamboli
|
|
262
|
+
- ​<!-- 09 -->[Stack] Document system props in Stack API (#30069) @ThewBear
|
|
263
|
+
- ​<!-- 07 -->[survey] Add a banner and card for promoting the 2021 survey (#29950) @danilo-leal
|
|
264
|
+
- ​<!-- 02 -->[website] Correct the Careers page description (#30073) @michaldudak
|
|
265
|
+
- ​<!-- 01 -->[website] Fix 301 links (#30040) @oliviertassinari
|
|
266
|
+
|
|
267
|
+
### Core
|
|
268
|
+
|
|
269
|
+
- ​<!-- 31 -->[core] Batch small changes (#30042) @oliviertassinari
|
|
270
|
+
- ​<!-- 28 -->[core] Transition to a new StackOverflow tag (#29967) @oliviertassinari
|
|
271
|
+
|
|
272
|
+
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
|
|
273
|
+
|
|
274
|
+
## 5.2.2
|
|
275
|
+
|
|
276
|
+
<!-- generated comparing v5.2.1..master -->
|
|
277
|
+
|
|
278
|
+
_Nov 29, 2021_
|
|
279
|
+
|
|
280
|
+
A big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
|
|
281
|
+
|
|
282
|
+
- ♿️ Improved accessibility of `Snackbar` and `TextField` in `@mui/material` (#29782) (#29850) (#29852) @eps1lon.
|
|
283
|
+
- 🎉 Added support for `sx` syntax inside `styled()` utility (#29833) @mnajdova.
|
|
284
|
+
- 🎉 Added support for more options for `createCssVarsProvider` in `@mui/system` (#29845) (#29857) @hbjORbj.
|
|
285
|
+
- And many more 🐛 bug fixes and 📚 improvements.
|
|
286
|
+
|
|
287
|
+
### `@mui/material@5.2.2`
|
|
288
|
+
|
|
289
|
+
- ​<!-- 14 -->[MenuList] Add component prop (#29882) @Harshikerfuffle
|
|
290
|
+
- ​<!-- 13 -->[Snackbar] Interrupt auto-hide on keyboard interaction (#29852) @eps1lon
|
|
291
|
+
- ​<!-- 12 -->[Snackbar] Dismiss on Escape press (#29850) @eps1lon
|
|
292
|
+
- ​<!-- 06 -->[TextField] Associate accessible name and description by default (#29782) @eps1lon
|
|
293
|
+
|
|
294
|
+
### `@mui/joy@5.0.0-alpha.4`
|
|
295
|
+
|
|
296
|
+
- ​<!-- 15 -->[Joy] Add `Button` - 1st iteration (#29464) @siriwatknp
|
|
297
|
+
|
|
298
|
+
### `@mui/codemod@5.2.1`
|
|
299
|
+
|
|
300
|
+
- ​<!-- 28 -->[codemod] Fix alias import for box-sx-prop (#29902) @siriwatknp
|
|
301
|
+
|
|
302
|
+
### `@mui/system@5.2.2`
|
|
303
|
+
|
|
304
|
+
- ​<!-- 11 -->[system] CSSVarsProvider cleans up `html[style]` when unmounting (#29946) @eps1lon
|
|
305
|
+
- ​<!-- 10 -->[system] Add support for `disableTransitionOnChange` in `createCssVarsProvider` (#29857) @hbjORbj
|
|
306
|
+
- ​<!-- 09 -->[system] Add support for `enableColorScheme` in `createCssVarsProvider` (#29845) @hbjORbj
|
|
307
|
+
|
|
308
|
+
### `@mui/utils@5.2.2`
|
|
309
|
+
|
|
310
|
+
- ​<!-- 05 -->[useId] Trade random collisions for collisions on overflow (#29781) @eps1lon
|
|
311
|
+
- ​<!-- 04 -->[useIsFocusVisible] Convert to TypeScript (#29779) @eps1lon
|
|
312
|
+
|
|
313
|
+
### Docs
|
|
314
|
+
|
|
315
|
+
- ​<!-- 24 -->[docs] Fix v5-beta confusing example description (#29932) @oliviertassinari
|
|
316
|
+
- ​<!-- 23 -->[docs] Apply the z-index on the right DOM element (#29934) @oliviertassinari
|
|
317
|
+
- ​<!-- 22 -->[docs] Improve git diff format (#29935) @oliviertassinari
|
|
318
|
+
- ​<!-- 21 -->[docs] Fix typo (#29866) @sinclairity
|
|
319
|
+
- ​<!-- 20 -->[docs] Fix key display (#29933) @oliviertassinari
|
|
320
|
+
- ​<!-- 19 -->[docs] Fix outdated link to next/link docs (#29937) @radlinskii
|
|
321
|
+
- ​<!-- 18 -->[docs] Add how to pass `sx` prop (#29905) @siriwatknp
|
|
322
|
+
- ​<!-- 17 -->[docs] Fix typo in notifications @mbrookes
|
|
323
|
+
- ​<!-- 16 -->[docs] Black Friday sale notification @mbrookes
|
|
324
|
+
- ​<!-- 03 -->[website] Fix canonical links (#29938) @oliviertassinari
|
|
325
|
+
- ​<!-- 02 -->[website] Fix SEO issues (#29939) @oliviertassinari
|
|
326
|
+
- ​<!-- 01 -->[website] Improvements to the /x product page (#28964) @danilo-leal
|
|
327
|
+
|
|
328
|
+
### Core
|
|
329
|
+
|
|
330
|
+
- ​<!-- 27 -->[core] Remove dead code (#29940) @oliviertassinari
|
|
331
|
+
- ​<!-- 26 -->[core] Move benchmark CI job from AZP to CircleCI (#29894) @eps1lon
|
|
332
|
+
- ​<!-- 25 -->[core] Fix PR detection pattern in test_bundle_size_monitor (#29895) @eps1lon
|
|
333
|
+
- ​<!-- 08 -->[test] Fix browser tests (#29929) @eps1lon
|
|
334
|
+
- ​<!-- 07 -->[test] Reject shorthand properties in style matchers (#29893) @eps1lon
|
|
335
|
+
|
|
336
|
+
All contributors of this release in alphabetical order: @danilo-leal, @eps1lon, @Harshikerfuffle, @hbjORbj, @mbrookes, @oliviertassinari, @radlinskii, @sinclairity, @siriwatknp
|
|
337
|
+
|
|
338
|
+
## 5.2.1
|
|
339
|
+
|
|
340
|
+
<!-- generated comparing v5.2.0..master -->
|
|
341
|
+
|
|
342
|
+
_Nov 25, 2021_
|
|
343
|
+
|
|
344
|
+
A big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
|
|
345
|
+
|
|
346
|
+
This is an early release to fix `export 'useId' (imported as 'React') was not found in 'react'` when bundling code depending on MUI Core.
|
|
347
|
+
|
|
348
|
+
- ​<!-- 10 -->[AppBar][docs] Add a fully responsive demo to docs (#29829) @karakib2k18
|
|
349
|
+
- ​<!-- 9 -->[core] Fix PR run detection in test_bundle_size_monitor (#29879) @eps1lon
|
|
350
|
+
- ​<!-- 8 -->[core] Move bundle size monitoring to CircleCI (#29876) @eps1lon
|
|
351
|
+
- ​<!-- 7 -->[docs] Add keys to Responsive AppBar demo (#29884) @mbrookes
|
|
352
|
+
- ​<!-- 6 -->[docs] MUI's 2021 Developer survey (#29765) @newguy-123
|
|
353
|
+
- ​<!-- 5 -->[docs] Smoother image loading UX (#29858) @oliviertassinari
|
|
354
|
+
- ​<!-- 4 -->[Select] Fix select display value with React Nodes (#29836) @kegi
|
|
355
|
+
- ​<!-- 3 -->[system] Add `experimental_sx` utility (#29833) @mnajdova
|
|
356
|
+
- ​<!-- 2 -->[test] Ignore "detected multiple renderers" warning for now (#29854) @eps1lon
|
|
357
|
+
- ​<!-- 1 -->[useMediaQuery][utils] Remove usage of React 18 APIs (#29870) @eps1lon
|
|
358
|
+
|
|
359
|
+
All contributors of this release in alphabetical order: @eps1lon, @karakib2k18, @kegi, @mbrookes, @mnajdova, @newguy-123, @oliviertassinari
|
|
360
|
+
|
|
361
|
+
## 5.2.0
|
|
362
|
+
|
|
363
|
+
<!-- generated comparing v5.1.1..master -->
|
|
364
|
+
|
|
365
|
+
_Nov 23, 2021_
|
|
366
|
+
|
|
367
|
+
A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
|
|
368
|
+
|
|
369
|
+
- 🧪 Created another unstyled component: [TabsUnstyled](https://mui.com/components/tabs/#unstyled) (#29597) @mnajdova.
|
|
370
|
+
- 🎉 Updated the Material Icons set with the latest changes from Google (#29328) @michaldudak / (#29818) @chao813.
|
|
371
|
+
This update adds 200 new icons and tweaks the appearance of many more.
|
|
372
|
+
With it, we're getting close to having 2000 icons in our set.
|
|
373
|
+
- 🐛 Fixed bugs and improved the infrastructure and documentation 📚.
|
|
374
|
+
|
|
375
|
+
### `@mui/material@5.2.0`
|
|
376
|
+
|
|
377
|
+
- [IconButton] Remove on hover effect when `disableRipple` is set (#29298) @adamfitzgibbon
|
|
378
|
+
- [i18n] Add the amharic language (#29153) @NatiG100
|
|
379
|
+
- [material] Fix types for `variants.style` to accept callbacks (#29610) @mnajdova
|
|
380
|
+
- [Popper] Simplify prop types (#29680) @michaldudak
|
|
381
|
+
- [Select] Include aria-selected=false when option not selected (#29695) @michaldudak
|
|
382
|
+
- [useMediaQuery] Fix crash in Safari < 14 and IE 11 (#29776) @eps1lon
|
|
383
|
+
- [useMediaQuery] Ensure no tearing in React 18 (#28491) @eps1lon
|
|
384
|
+
|
|
385
|
+
### `@mui/codemod@5.2.0`
|
|
386
|
+
|
|
387
|
+
- [codemod] Fix `jss-to-styled` to support multiple withStyles (#29824) @siriwatknp
|
|
388
|
+
|
|
389
|
+
### `@mui/icons-material@5.2.0`
|
|
390
|
+
|
|
391
|
+
- [icons] Sync new Google Material Icons (#29818) @chao813
|
|
392
|
+
- [icons] Sync recent Material Icons from Google (#29328) @michaldudak
|
|
393
|
+
|
|
394
|
+
### `@mui/system@5.2.0`
|
|
395
|
+
|
|
396
|
+
- [Box] Fix `sx` prop runtime issue when used as function (#29830) @mnajdova
|
|
397
|
+
- [system] Fix `sx` throw error when value is `null` or `undefined` (#29756) @siriwatknp
|
|
398
|
+
- [system] Fix minor CssVars issues (#29747) @siriwatknp
|
|
399
|
+
|
|
400
|
+
### `@mui/styled-engine@5.2.0`
|
|
401
|
+
|
|
402
|
+
- [styled-engine] Fix props inference in styled-engine (#29739) @Janpot
|
|
403
|
+
|
|
404
|
+
### `@mui/base@5.0.0-alpha.56`
|
|
405
|
+
|
|
406
|
+
- [FormControlUnstyled] `focused` is always false unless explicitly set to `true` @mwilkins91
|
|
407
|
+
- [TabsUnstyled] Introduce new component (#29597) @mnajdova
|
|
408
|
+
|
|
409
|
+
### `@mui/lab@5.0.0-alpha.56`
|
|
410
|
+
|
|
411
|
+
- [DatePicker][timepicker] Add missing component declarations (#29517) @longzheng
|
|
412
|
+
- [Masonry] exports from root package (#29754) @abhinav-22-tech
|
|
413
|
+
- [pickers] Widen accepted `luxon` version range (#29761) @eps1lon
|
|
414
|
+
|
|
415
|
+
### Docs
|
|
416
|
+
|
|
417
|
+
- [blog] MUI X v5 blog post (#29590) @DanailH
|
|
418
|
+
- [blog] Polish the Benny Joo joins MUI post (#29697) @oliviertassinari
|
|
419
|
+
- [CHANGELOG] Explain why we do breaking changes @oliviertassinari
|
|
420
|
+
- [core] Update latest issue template for codesandbox CI (#29783) @eps1lon
|
|
421
|
+
- [core] Ensure `@mui/core` is an alias for `@mui/base` (#29762) @eps1lon
|
|
422
|
+
- [docs] Fix broken Next and Previous links (#29711) @scallaway
|
|
423
|
+
- [docs] Add a note that ToggleButton exclusive does not enforce selection (#29812) @mmacu
|
|
424
|
+
- [docs] Update the list of supported locales (#29831) @michaldudak
|
|
425
|
+
- [docs] Update tooltip doc to better define touch action (#29717) @gnowland
|
|
426
|
+
- [website] Standardize the background color from the MUI team photos (#29738) @danilo-leal
|
|
427
|
+
- [website] Add Bharat to the About Us Page (#29714) @bharatkashyap
|
|
428
|
+
- [website] Add about page entry for jan (#29701) @Janpot
|
|
429
|
+
- [website] Adding Prakhar to the about page (#29737) @danilo-leal
|
|
430
|
+
|
|
431
|
+
### Core
|
|
432
|
+
|
|
433
|
+
- [test] Allow debugging with Chrome and VSCode inspector (#29777) @eps1lon
|
|
434
|
+
- [test] Use renderer clock instead of custom useFakeTimers call (#29778) @eps1lon
|
|
435
|
+
- [test] Only mock Date in regression tests (#29763) @eps1lon
|
|
436
|
+
- [test] Disable nightly integration tests on `next` branch (#29748) @eps1lon
|
|
437
|
+
- [test] Allow configuring clock directly from `createRenderer` (#29684) @eps1lon
|
|
438
|
+
- [test] Accept backslashes as path separators in test CLI (#29694) @michaldudak
|
|
439
|
+
- [utils] Use built-in hook when available for useId (#26489) @eps1lon
|
|
440
|
+
|
|
441
|
+
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
|
|
442
|
+
|
|
3
443
|
## 5.1.1
|
|
4
444
|
|
|
5
445
|
<!-- generated comparing v5.1.0..master -->
|
|
@@ -8,7 +448,7 @@ _Nov 16, 2021_
|
|
|
8
448
|
|
|
9
449
|
A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
|
|
10
450
|
|
|
11
|
-
- 🛠
|
|
451
|
+
- 🛠 Renamed `@mui/core` to `@mui/base` (#29585) @michaldudak.
|
|
12
452
|
- And many more 🐛 bug fixes and 📚 improvements.
|
|
13
453
|
|
|
14
454
|
### `@mui/material@5.1.1`
|
|
@@ -22,10 +462,19 @@ A big thanks to the 15 contributors who made this release possible. Here are som
|
|
|
22
462
|
|
|
23
463
|
### `@mui/base@5.0.0-alpha.55`
|
|
24
464
|
|
|
25
|
-
####
|
|
465
|
+
#### Breaking changes
|
|
26
466
|
|
|
27
467
|
- ​<!-- 27 -->[core] Rename mui/core to mui/base (#29585) @michaldudak
|
|
28
468
|
|
|
469
|
+
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.
|
|
470
|
+
|
|
471
|
+
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.
|
|
472
|
+
|
|
473
|
+
```diff
|
|
474
|
+
-import { useSwitch } from '@mui/core/SwitchUnstyled';
|
|
475
|
+
+import { useSwitch } from '@mui/base/SwitchUnstyled';
|
|
476
|
+
```
|
|
477
|
+
|
|
29
478
|
### `@mui/lab@5.0.0-alpha.55`
|
|
30
479
|
|
|
31
480
|
- ​<!-- 12 -->[LoadingButton] Text variant spacing fixed for both start and end (#29194) @joshua-lawrence
|
|
@@ -1890,7 +2339,7 @@ _May 31, 2021_
|
|
|
1890
2339
|
A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
|
|
1891
2340
|
|
|
1892
2341
|
- 👩🎤 We have completed the migration to emotion of all the components (`@material-ui/core` and `@material-ui/lab`) @siriwatknp, @mnajdova.
|
|
1893
|
-
- 📦 Save [10 kB gzipped](https://bundlephobia.com/
|
|
2342
|
+
- 📦 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.
|
|
1894
2343
|
- ⚒️ 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.
|
|
1895
2344
|
- And many more 🐛 bug fixes and 📚 improvements.
|
|
1896
2345
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Interpolation } from '@emotion/react';
|
|
3
3
|
|
|
4
|
-
export interface GlobalStylesProps {
|
|
4
|
+
export interface GlobalStylesProps<Theme = {}> {
|
|
5
5
|
defaultTheme?: object;
|
|
6
|
-
styles:
|
|
6
|
+
styles: Interpolation<Theme>;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
export default function GlobalStyles(props: GlobalStylesProps): React.ReactElement;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { CacheProvider } from '@emotion/react';
|
|
4
|
-
import createCache from '@emotion/cache'; //
|
|
4
|
+
import createCache from '@emotion/cache'; // prepend: true moves MUI styles to the top of the <head> so they're loaded first.
|
|
5
|
+
// It allows developers to easily override MUI styles with other styling solutions, like CSS modules.
|
|
5
6
|
|
|
6
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
8
|
const cache = createCache({
|
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,7 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { CacheProvider } from '@emotion/react';
|
|
4
|
-
import createCache from '@emotion/cache'; //
|
|
4
|
+
import createCache from '@emotion/cache'; // prepend: true moves MUI styles to the top of the <head> so they're loaded first.
|
|
5
|
+
// It allows developers to easily override MUI styles with other styling solutions, like CSS modules.
|
|
5
6
|
|
|
6
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
8
|
var cache = createCache({
|
package/legacy/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { CacheProvider } from '@emotion/react';
|
|
4
|
-
import createCache from '@emotion/cache'; //
|
|
4
|
+
import createCache from '@emotion/cache'; // prepend: true moves MUI styles to the top of the <head> so they're loaded first.
|
|
5
|
+
// It allows developers to easily override MUI styles with other styling solutions, like CSS modules.
|
|
5
6
|
|
|
6
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
8
|
const cache = createCache({
|
package/modern/index.js
CHANGED
|
@@ -21,7 +21,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
21
21
|
|
|
22
22
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
23
23
|
|
|
24
|
-
//
|
|
24
|
+
// prepend: true moves MUI styles to the top of the <head> so they're loaded first.
|
|
25
|
+
// It allows developers to easily override MUI styles with other styling solutions, like CSS modules.
|
|
25
26
|
const cache = (0, _cache.default)({
|
|
26
27
|
key: 'css',
|
|
27
28
|
prepend: true
|
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/styled-engine",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.6",
|
|
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/
|
|
26
|
+
"url": "https://opencollective.com/mui"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@babel/runtime": "^7.16.3",
|
|
30
|
-
"@emotion/cache": "^11.
|
|
30
|
+
"@emotion/cache": "^11.7.1",
|
|
31
31
|
"prop-types": "^15.7.2"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|