Skip to content

Commit 688db35

Browse files
v5.0.0-alpha.25
mui#24859
1 parent 058e409 commit 688db35

File tree

18 files changed

+222
-51
lines changed

18 files changed

+222
-51
lines changed

CHANGELOG.md

Lines changed: 173 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,176 @@
11
### [Versions](https://material-ui.com/versions/)
22

3+
## 5.0.0-alpha.25
4+
5+
<!-- generated comparing v5.0.0-alpha.24..next -->
6+
7+
_Feb 11, 2021_
8+
9+
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
41+
- <!-- 04 --> [Dialog] Migrate DialogTitle to emotion (#24623) @vicasas
42+
- <!-- 05 --> [TextField] Prepare removal of labelWidth prop (#24595) @oliviertassinari
43+
- <!-- 08 --> [ImageList] Migrate ImageListItem to emotion (#24619) @kodai3
44+
- <!-- 09 --> [Card] Migrate CardMedia to emotion (#24625) @natac13
45+
- <!-- 10 --> [Card] Migrate CardHeader to emotion (#24626) @natac13
46+
- <!-- 11 --> [TextField] Migrate FilledInput to emotion (#24634) @mnajdova
47+
- <!-- 12 --> [Fab] Migrate to emotion (#24618) @natac13
48+
- <!-- 14 --> [ClickAwayListener] Fix `children` and `onClickAway` types (#24565) @eps1lon
49+
- <!-- 15 --> [List] Migrate ListItemIcon to emotion (#24630) @vicasas
50+
- <!-- 17 --> [Card] Migrate CardActionArea to emotion (#24636) @natac13
51+
- <!-- 18 --> [DataTable] Add example in docs for data table (#24428) @DanailH
52+
- <!-- 19 --> [CircularProgress] Migrate to emotion (#24622) @natac13
53+
- <!-- 20 --> [ImageList] Migrate ImageListItemBar to emotion (#24632) @kodai3
54+
- <!-- 21 --> [TextField] Migrate Input component to emotion (#24638) @duganbrett
55+
- <!-- 22 --> [Tab] Migrate to emotion (#24651) @natac13
56+
- <!-- 24 --> [Table] Migrate to emotion (#24657) @natac13
57+
- <!-- 25 --> [List] Migrate ListItemAvatar to emotion (#24656) @vicasas
58+
- <!-- 26 --> [TextField] Migrate FormControl to emotion (#24659) @duganbrett
59+
- <!-- 27 --> [Table] Migrate TableContainer to emotion (#24666) @natac13
60+
- <!-- 28 --> [Tab] Migrate TabScrollButton to emotion (#24654) @natac13
61+
- <!-- 29 --> [Card] Warn on raised + outlined (#24648) @sumarlidason
62+
- <!-- 32 --> [TextField] Migrate FormHelperText to emotion (#24661) @duganbrett
63+
- <!-- 33 --> [Dialog] Migrate DialogContent to emotion (#24670) @vicasas
64+
- <!-- 36 --> [Typography] Add system props (#24496) @mnajdova
65+
- <!-- 38 --> [Paper] Improve warning on invalid combinations of variant and elevation (#24667) @eps1lon
66+
- <!-- 39 --> [Chip] Migrate to emotion (#24649) @natac13
67+
- <!-- 41 --> [ToggleButton] Migrate to emotion (#24674) @natac13
68+
- <!-- 42 --> [Step] Migrate to emotion (#24678) @natac13
69+
- <!-- 45 --> [Link] Fix CSS prefix property casing with emotion (#24701) @idanrozin
70+
- <!-- 50 --> [Card] Use the default elevation (#24733) @oliviertassinari
71+
- <!-- 53 --> [Typography] Remove align inherit noise (#24717) @oliviertassinari
72+
- <!-- 56 --> [Dialog] Convert role `none presentation` to `presentation` (#24500) @hallzac2
73+
- <!-- 64 --> [TextField] Improve baseline alignment with start adornment (#24742) @praveenkumar-kalidass
74+
- <!-- 65 --> [Popper] Fix usage of ownerDocument with anchorEl (#24753) @ruppysuppy
75+
- <!-- 75 --> [Table] Migrate TableBody to emotion (#24703) @natac13
76+
- <!-- 76 --> [Table] Migrate TableRow to emotion (#24687) @natac13
77+
- <!-- 77 --> [TextField] Migrate FormGroup to emotion (#24685) @vicasas
78+
- <!-- 82 --> [CssBaseline] Make dark mode scrollbar overrides an optional function (#24780) @dborstelmann
79+
- <!-- 83 --> [ButtonGroup] Migrate ButtonGroup to emotion (#24775) @mirefly
80+
- <!-- 87 --> [Checkbox] Migrate to emotion (#24702) @natac13
81+
- <!-- 89 --> [Table] Migrate TableHead to emotion (#24686) @natac13
82+
- <!-- 90 --> [Table] Migrate TableFooter to emotion (#24684) @natac13
83+
- <!-- 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
128+
- <!-- 81 --> [Pickers] Enable YearPicker documentation (#24830) @oliviertassinari
129+
- <!-- 88 --> [Pickers] Fix useState related console warnings in examples (#24848) @ydubinskyi
130+
131+
### Docs
132+
133+
- <!-- 06 --> [docs] Add sorting section (#24637) @dtassone
134+
- <!-- 13 --> [docs] Include in docs directive to silence `eslint` erroneous warning (#24644) @silviot
135+
- <!-- 23 --> [docs] Clarifying the documentation about Chip behavior (#24645) @KarimOurrai
136+
- <!-- 30 --> [docs] Update Typography in migration guide (#24662) @mbrookes
137+
- <!-- 37 --> [examples] Update examples to use StyledEngineProvider (#24489) @mnajdova
138+
- <!-- 40 --> [docs] Add API documentation for *DatePicker components (#24655) @eps1lon
139+
- <!-- 47 --> [docs] Add HoodieBees to sponsors (#24735) @mbrookes
140+
- <!-- 48 --> [docs] Fix indent @oliviertassinari
141+
- <!-- 55 --> [docs] Make <main> responsive to font size (#24531) @eps1lon
142+
- <!-- 59 --> [docs] Follow similar demo pattern for date and time pickers (#24739) @eps1lon
143+
- <!-- 66 --> [docs] Add information about local dev environment (#24771) @plug-n-play
144+
- <!-- 67 --> [docs] Add tcespal to Showcase (#24793) @ArnaultNouvel
145+
- <!-- 68 --> [docs] Fix CssBaseline typography description (#24802) @xiaoyu-tamu
146+
- <!-- 70 --> [docs] Add 'playlist' synonym to 'menu' (#24754) @Lagicrus
147+
- <!-- 71 --> [docs] Add more similar icons (#24799) @oliviertassinari
148+
- <!-- 72 --> [docs] Fix typo in the error message generated by createMuiTheme (#24827) @mbrookes
149+
- <!-- 73 --> [examples] Align more with the v5 recommended approach (#24798) @Tejaswiangotu123
150+
- <!-- 74 --> [docs] Update ButtonGroup demos to match v5 (#24797) @SCollinA
151+
- <!-- 84 --> [docs] Fix formatting of `mask` prop description (#24842) @eps1lon
152+
- <!-- 92 --> [docs] Add read synonym to drafts (#24854) @Lagicrus
153+
154+
### Core
155+
156+
- <!-- 01 --> [core] Fix release:tag pushing to material-ui-docs (#24633) @eps1lon
157+
- <!-- 16 --> [core] Fix `next` using stale pages (#24635) @eps1lon
158+
- <!-- 31 --> [test] Skip JSDOM in style related conformance tests (#24668) @mnajdova
159+
- <!-- 43 --> [test] Conformance to handle wrapped elements (#24679) @natac13
160+
- <!-- 51 --> [core] Batch small changes (#24705) @oliviertassinari
161+
- <!-- 52 --> [test] Run more tests in Strict Mode (#24646) @oliviertassinari
162+
- <!-- 57 --> [test] Avoid visual flakiness (#24737) @oliviertassinari
163+
- <!-- 60 --> [core] Remove deprecated SimplifiedPropsOf/Simplify types (#24750) @petyosi
164+
- <!-- 62 --> [core] Disable type-checking of .propTypes (#24747) @eps1lon
165+
- <!-- 63 --> [test] Allow setting react-dist-tag via pipeline parameter (#24755) @eps1lon
166+
- <!-- 79 --> [test] Don't run dev CI for dependabot pushes (#24833) @eps1lon
167+
- <!-- 80 --> [test] Isolate Tooltip tests more (#24834) @eps1lon
168+
- <!-- 85 --> [test] Clear emotion cache between tests (#24837) @eps1lon
169+
- <!-- 86 --> [core] Save/restore actual yarn cache folder (#24844) @eps1lon
170+
- <!-- 91 --> [test] Increase timeout to 4000ms for screenshots (#24850) @oliviertassinari
171+
172+
All contributors of this release in alphabetical order: @anthonyraymond, @ArnaultNouvel, @DanailH, @dborstelmann, @dtassone, @duganbrett, @EkaterinaMozheiko, @eps1lon, @fulin426, @hallzac2, @idanrozin, @KarimOurrai, @kodai3, @Lagicrus, @mbrookes, @mirefly, @mnajdova, @natac13, @oliviertassinari, @petyosi, @plug-n-play, @praveenkumar-kalidass, @ruppysuppy, @SCollinA, @silviot, @sumarlidason, @Tejaswiangotu123, @vicasas, @xiaoyu-tamu, @ydubinskyi
173+
3174
## 5.0.0-alpha.24
4175

5176
<!-- generated comparing v5.0.0-alpha.23..next -->
@@ -87,7 +258,7 @@ Big thanks to the 23 contributors who made this release possible. Here are some
87258
- <!-- 60 --> [utils] `useEventCallback` `args` defaults to `unknown[]` (#24564) @eps1lon
88259
- <!-- 11 --> [utils] Fix requirePropFactory to merge validators (#24423) @mnajdova
89260

90-
### docs
261+
### Docs
91262

92263
- <!-- 86 --> [examples] Patch preact example not working (#24616)
93264
- <!-- 78 --> [docs] Add missing newline in component JSDOC (#24610) @eps1lon
@@ -108,7 +279,7 @@ Big thanks to the 23 contributors who made this release possible. Here are some
108279
- <!-- 09 --> [docs] Document default values of external props (#24417) @eps1lon
109280
- <!-- 02 --> [docs] Update in-house ads (#24410) @mbrookes @ewldev
110281

111-
### core
282+
### Core
112283

113284
- <!-- 87 --> [core] Skip downloading browser binaries in codesandbox/ci (#24628) @eps1lon
114285
- <!-- 81 --> [core] Batch small changes (#24599) @oliviertassinari

benchmark/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "benchmark",
3-
"version": "5.0.0-alpha.24",
3+
"version": "5.0.0-alpha.25",
44
"private": "true",
55
"scripts": {
66
"browser": "yarn webpack --config browser/webpack.config.js && node browser/scripts/benchmark.js",
@@ -14,9 +14,9 @@
1414
"@chakra-ui/system": "^1.0.0",
1515
"@emotion/react": "^11.0.0",
1616
"@emotion/styled": "^11.0.0",
17-
"@material-ui/core": "5.0.0-alpha.24",
18-
"@material-ui/styles": "5.0.0-alpha.24",
19-
"@material-ui/system": "5.0.0-alpha.24",
17+
"@material-ui/core": "5.0.0-alpha.25",
18+
"@material-ui/styles": "5.0.0-alpha.25",
19+
"@material-ui/system": "5.0.0-alpha.25",
2020
"@styled-system/css": "^5.1.5",
2121
"benchmark": "^2.1.4",
2222
"playwright": "^1.6.1",

docs/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "docs",
3-
"version": "5.0.0-alpha.24",
3+
"version": "5.0.0-alpha.25",
44
"private": true,
55
"author": "Material-UI Team",
66
"license": "MIT",
@@ -29,17 +29,17 @@
2929
"@fortawesome/fontawesome-svg-core": "^1.2.30",
3030
"@fortawesome/free-solid-svg-icons": "^5.14.0",
3131
"@fortawesome/react-fontawesome": "^0.1.11",
32-
"@material-ui/core": "5.0.0-alpha.24",
33-
"@material-ui/docs": "5.0.0-alpha.24",
34-
"@material-ui/icons": "5.0.0-alpha.24",
35-
"@material-ui/lab": "5.0.0-alpha.24",
36-
"@material-ui/styled-engine": "5.0.0-alpha.24",
37-
"@material-ui/styled-engine-sc": "5.0.0-alpha.24",
38-
"@material-ui/styles": "5.0.0-alpha.24",
39-
"@material-ui/system": "5.0.0-alpha.24",
40-
"@material-ui/types": "5.1.6",
41-
"@material-ui/unstyled": "5.0.0-alpha.24",
32+
"@material-ui/core": "5.0.0-alpha.25",
4233
"@material-ui/data-grid": "^4.0.0-alpha.18",
34+
"@material-ui/docs": "5.0.0-alpha.25",
35+
"@material-ui/icons": "5.0.0-alpha.24",
36+
"@material-ui/lab": "5.0.0-alpha.25",
37+
"@material-ui/styled-engine": "5.0.0-alpha.25",
38+
"@material-ui/styled-engine-sc": "5.0.0-alpha.25",
39+
"@material-ui/styles": "5.0.0-alpha.25",
40+
"@material-ui/system": "5.0.0-alpha.25",
41+
"@material-ui/types": "5.1.7",
42+
"@material-ui/unstyled": "5.0.0-alpha.25",
4343
"@trendmicro/react-interpolate": "^0.5.5",
4444
"@types/autosuggest-highlight": "^3.1.0",
4545
"@types/css-mediaquery": "^0.1.0",

framer/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "framer",
3-
"version": "1.0.6",
3+
"version": "1.0.7",
44
"description": "Builds Material-UI for Framer X",
55
"repository": "https://github.com/mui-org/material-ui",
66
"author": "Material-UI Team",
@@ -11,7 +11,7 @@
1111
"@types/react": "^17.0.0",
1212
"case": "1.6.3",
1313
"deepmerge": "^4.0.0",
14-
"docs": "5.0.0-alpha.24",
14+
"docs": "5.0.0-alpha.25",
1515
"framer": "^1.2.5",
1616
"framer-motion": "^3.1.1",
1717
"mustache": "^4.0.0",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "5.0.0-alpha.24",
2+
"version": "5.0.0-alpha.25",
33
"private": true,
44
"scripts": {
55
"proptypes": "cross-env BABEL_ENV=test babel-node --extensions \".tsx,.ts,.js\" ./scripts/generateProptypes.ts",

packages/material-ui-docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@material-ui/docs",
3-
"version": "5.0.0-alpha.24",
3+
"version": "5.0.0-alpha.25",
44
"private": false,
55
"author": "Material-UI Team",
66
"description": "Material-UI Docs - Documentation building blocks.",
@@ -46,7 +46,7 @@
4646
},
4747
"dependencies": {
4848
"@babel/runtime": "^7.4.4",
49-
"@material-ui/utils": "5.0.0-alpha.24",
49+
"@material-ui/utils": "5.0.0-alpha.25",
5050
"nprogress": "^0.2.0"
5151
},
5252
"publishConfig": {

packages/material-ui-lab/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@material-ui/lab",
3-
"version": "5.0.0-alpha.24",
3+
"version": "5.0.0-alpha.25",
44
"private": false,
55
"author": "Material-UI Team",
66
"description": "Laboratory for new Material-UI modules.",
@@ -67,16 +67,16 @@
6767
"@date-io/dayjs": "^2.10.6",
6868
"@date-io/luxon": "^2.10.6",
6969
"@date-io/moment": "^2.10.6",
70-
"@material-ui/system": "5.0.0-alpha.24",
71-
"@material-ui/utils": "5.0.0-alpha.24",
70+
"@material-ui/system": "5.0.0-alpha.25",
71+
"@material-ui/utils": "5.0.0-alpha.25",
7272
"clsx": "^1.0.4",
7373
"prop-types": "^15.7.2",
7474
"react-is": "^16.8.0 || ^17.0.0",
7575
"react-transition-group": "^4.4.1",
7676
"rifm": "^0.12.0"
7777
},
7878
"devDependencies": {
79-
"@material-ui/types": "5.1.6",
79+
"@material-ui/types": "5.1.7",
8080
"@types/luxon": "^1.25.0",
8181
"date-fns": "^2.0.0",
8282
"dayjs": "^1.8.17",

packages/material-ui-styled-engine-sc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@material-ui/styled-engine-sc",
3-
"version": "5.0.0-alpha.24",
3+
"version": "5.0.0-alpha.25",
44
"private": false,
55
"author": "Material-UI Team",
66
"description": "styled() API wrapper package for styled-components.",

packages/material-ui-styled-engine/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@material-ui/styled-engine",
3-
"version": "5.0.0-alpha.24",
3+
"version": "5.0.0-alpha.25",
44
"private": false,
55
"author": "Material-UI Team",
66
"description": "styled() API wrapper package for emotion.",

packages/material-ui-styles/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@material-ui/styles",
3-
"version": "5.0.0-alpha.24",
3+
"version": "5.0.0-alpha.25",
44
"private": false,
55
"author": "Material-UI Team",
66
"description": "Material-UI Styles - The styling solution of Material-UI.",
@@ -49,8 +49,8 @@
4949
"dependencies": {
5050
"@babel/runtime": "^7.4.4",
5151
"@emotion/hash": "^0.8.0",
52-
"@material-ui/types": "5.1.6",
53-
"@material-ui/utils": "5.0.0-alpha.24",
52+
"@material-ui/types": "5.1.7",
53+
"@material-ui/utils": "5.0.0-alpha.25",
5454
"clsx": "^1.0.4",
5555
"csstype": "^3.0.2",
5656
"hoist-non-react-statics": "^3.3.2",

packages/material-ui-system/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@material-ui/system",
3-
"version": "5.0.0-alpha.24",
3+
"version": "5.0.0-alpha.25",
44
"private": false,
55
"author": "Material-UI Team",
66
"description": "CSS utilities for rapidly laying out custom designs.",
@@ -49,7 +49,7 @@
4949
},
5050
"dependencies": {
5151
"@babel/runtime": "^7.4.4",
52-
"@material-ui/utils": "5.0.0-alpha.24",
52+
"@material-ui/utils": "5.0.0-alpha.25",
5353
"csstype": "^3.0.2",
5454
"prop-types": "^15.7.2"
5555
},

packages/material-ui-types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@material-ui/types",
3-
"version": "5.1.6",
3+
"version": "5.1.7",
44
"private": false,
55
"author": "Material-UI Team",
66
"description": "Utility types for Material-UI.",

0 commit comments

Comments
 (0)