You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Big thanks to the 30 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+
- 👩🎤 Convert 32 components to emotion. Around 64% of the components have been migrated so far, thanks to the help of the community. We aim to migrate them all before the end of Q1 2021.
12
+
The podium of the most active community members in the migration 🏆:
13
+
14
+
1. @natac13 x17
15
+
2. @vicasas x5
16
+
3. @kodai3 x4
17
+
18
+
- 📐 Add a subset of the system as flattened props on `Typography` (#24496) @mnajdova.
19
+
Now, you can do:
20
+
21
+
```jsx
22
+
<Typography padding={2} color="text.secondary" />
23
+
```
24
+
25
+
- 📅 Focus on the date pickers, 5 fixes and 3 docs improvements.
26
+
- 💅 Provide a new [`darkScrollbar()`](https://next.material-ui.com/components/css-baseline/#scrollbars) CSS utility to improve the native scrollbar in dark mode. The documentation uses it.
27
+
28
+
### `@material-ui/core@5.0.0-alpha.25`
29
+
30
+
#### Breaking changes
31
+
32
+
- Increase the minimum version of TypeScript supported from v3.2 to v3.5. (#24795) @petyosi
33
+
34
+
We try to align with types released from [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped) (i.e. packages published on npm under the `@types` namespace).
35
+
We will not change the minimum supported version in a major version of Material-UI.
36
+
However, we generally recommend to not use a TypeScript version older than the [lowest supported version of DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped#older-versions-of-typescript-33-and-earlier).
37
+
38
+
#### Changes
39
+
40
+
- <!-- 03 --> [ImageList] Migrate to emotion (#24615) @kodai3
- <!-- 92 --> [Skeleton] Migrate to emotion (#24652) @kodai3
84
+
85
+
### `@material-ui/system@5.0.0-alpha.25`
86
+
87
+
#### Breaking changes
88
+
89
+
- <!-- 78 --> [system] Use spacing unit in `gap`, `rowGap`, and `columnGap` (#24794) @ruppysuppy
90
+
91
+
If you were using a number previously, you need to provide the value in `px` to bypass the new transformation with `theme.spacing`. The change was done for consistency with the Grid spacing prop and the other system spacing properties, e.g. `<Box padding={2}>`.
92
+
93
+
```diff
94
+
<Box
95
+
- gap={2}
96
+
+ gap="2px"
97
+
>
98
+
```
99
+
100
+
### `@material-ui/styled-engine@5.0.0-alpha.25`
101
+
102
+
- <!-- 34 --> [styled-engine] Fix GlobalStyles not to throw when no theme is available (#24671) @mnajdova
103
+
104
+
### `@material-ui/types@5.0.0-alpha.25`
105
+
106
+
#### Breaking changes
107
+
108
+
- <!-- 91 --> [types] Rename the exported `Omit` type in `@material-ui/types`. (#24795) @petyosi
109
+
The module is now called `DistributiveOmit`. The change removes the confusion with the built-in `Omit` helper introduced in TypeScript v3.5. The built-in `Omit`, while similar, is non-distributive. This leads to differences when applied to union types. [See this StackOverflow answer for further details](https://stackoverflow.com/a/57103940/1009797).
110
+
111
+
```diff
112
+
-import { Omit } from '@material-ui/types';
113
+
+import { DistributiveOmit } from '@material-ui/types';
114
+
```
115
+
116
+
#### Changes
117
+
118
+
- <!-- 61 --> [types] Remove implicit children from PropInjector (#24746) @eps1lon
119
+
120
+
### `@material-ui/lab@5.0.0-alpha.25`
121
+
122
+
- <!-- 02 --> [Pickers] Fix role attribute (#24621) @EkaterinaMozheiko
123
+
- <!-- 35 --> [Pickers] Fix `showTodayButton` not returning the current time (#24650) @anthonyraymond
124
+
- <!-- 44 --> [Pickers] Ensure components have a display name in DEV (#24676) @eps1lon
125
+
- <!-- 49 --> [Pickers] Fix more name inconsistencies (#24734) @oliviertassinari
126
+
- <!-- 54 --> [Pickers] Dismiss on clickaway when using the desktop variant (#24653) @eps1lon
127
+
- <!-- 69 --> [Pickers] Add missing periods at end of some descriptions (#24791) @fulin426
0 commit comments