Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v5.0.0-alpha.24 #24614

Merged
merged 21 commits into from
Jan 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
steps:
- run: echo "${{ github.actor }}"
- uses: actions/checkout@v2
with:
# fetch all tags which are required for `yarn release:changelog`
fetch-depth: 0
- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
Expand All @@ -23,3 +26,6 @@ jobs:
# Don't need playwright in this job
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
- run: yarn release:build
- run: yarn release:changelog
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
125 changes: 125 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,130 @@
### [Versions](https://material-ui.com/versions/)

## 5.0.0-alpha.24

<!-- generated comparing v5.0.0-alpha.23..next -->

_Jan 26, 2021_

Big thanks to the 23 contributors who made this release possible. Here are some highlights ✨:

- 👩‍🎤 Convert 31 components to emotion. Around 40% of the components have been migrated so far thanks to the help of the community.
- 🐛 Fix two long-standing issues with the Grid. Solve the horizontal scrollbar as well as dimensions when nesting (#24332) @greguintow.
- 📚 Fix various display issues on API documentation pages (#24526, #24503, #24504. #24517, #24417).
- 📐 Add a subset of the system as flatten props on the CSS utility components (`Grid` and `Box` so far, `Typography` and `Stack` coming later) (#24485, #24499) @mnajdova.

```jsx
<Box m={2}>
```

### `@material-ui/[email protected]`

- <!-- 85 --> [Dialog] Migrate DialogActions to emotion (#24613) @vicasas
- <!-- 84 --> [Toolbar] Migrate to emotion (#24567) @natac13
- <!-- 83 --> [Hidden] Fix unsupported props warning when sx prop is used (#24624) @mnajdova
- <!-- 82 --> [List] Migrate ListItemText to emotion (#24602) @natac13
- <!-- 80 --> [List] Migrate ListItemSecondaryAction to emotion (#24593) @xs9627
- <!-- 79 --> [BottomNavigation] Migrate to emotion (#24556) @vinyldarkscratch
- <!-- 77 --> [CardActions] Fix wrong classes export name (#24609) @mnajdova
- <!-- 76 --> [Card] Migrate CardContent to emotion (#24600) @vicasas
- <!-- 75 --> [Card] Migrate to emotion (#24597) @povilass
- <!-- 74 --> [TextField] Migrate InputBase to emotion (#24555) @duganbrett
- <!-- 73 --> [Accordion] Allow to disable gutter/spacing (#24532) @TimonPllkrn
- <!-- 72 --> [List] Migrate to emotion (#24560) @vinyldarkscratch
- <!-- 71 --> [Card] Migrate CardActions to emotion (#24604) @vicasas
- <!-- 69 --> [List] Migrate ListSubheader to emotion (#24561) @vinyldarkscratch
- <!-- 68 --> [Breadcrumbs] Migrate to emotion (#24522) @vinyldarkscratch
- <!-- 67 --> [Divider] Migrate to emotion (#24558) @vinyldarkscratch
- <!-- 66 --> [Switch] Migrate SwitchBase to emotion (#24552) @vinyldarkscratch
- <!-- 65 --> [Hidden] Migrate to emotion (#24544) @vinyldarkscratch
- <!-- 64 --> [List] Migrate ListItem to emotion (#24543) @xs9627
- <!-- 62 --> [TextField] Fix Google Translate zero-width space issue (#24563) @d3mp
- <!-- 61 --> [Table] Separate classes for different labels (#24568) @tonysepia
- <!-- 58 --> [Accordion] Migrate AccordionSummary to emotion (#24540) @vinyldarkscratch
- <!-- 57 --> [IconButton] Migrate to emotion (#24542) @vinyldarkscratch
- <!-- 54 --> [Accordion] Migrate AccordionActions to emotion (#24538) @vinyldarkscratch
- <!-- 53 --> [Accordion] Migrate AccordionDetails to emotion (#24539) @vinyldarkscratch
- <!-- 50 --> [Link] Migrate to emotion (#24529) @praveenkumar-kalidass
- <!-- 49 --> [Accordion] Migrate to emotion (#24518) @vinyldarkscratch
- <!-- 46 --> [Backdrop] Migrate to emotion (#24523) @vinyldarkscratch
- <!-- 39 --> [Grid] Add system props (#24499) @mnajdova
- <!-- 38 --> [Icon] Migrate to emotion (#24516) @vinyldarkscratch
- <!-- 36 --> [Collapse] Migrate to emotion (#24501) @vinyldarkscratch
- <!-- 33 --> [SvgIcon] Migrate to emotion (#24506) @oliviertassinari
- <!-- 32 --> [Avatar] Migrate AvatarGroup to emotion (#24452) @praveenkumar-kalidass
- <!-- 31 --> [Box] Add back system props (#24485) @mnajdova
- <!-- 30 --> [Alert] Migrate AlertTitle to emotion (#24448) @povilass
- <!-- 26 --> [Alert] Migrate to emotion (#24442) @kutnickclose
- <!-- 21 --> [l10n] Improve Hebrew translation (#24449) @eladmotola
- <!-- 19 --> [Checkbox][Switch] Document defaultChecked (#24446) @praveenkumar-kalidass
- <!-- 18 --> [AppBar] Migrate to emotion (#24439) @povilass
- <!-- 16 --> [l10n] Improve German translation (#24436) @lukaselmer
- <!-- 15 --> [Button][Badge] Support custom colors and sizes (#24408) @mnajdova
- <!-- 10 --> [Grid] Fix horizontal scrollbar and nested dimensions (#24332) @greguintow
- <!-- 07 --> [Grid] Migrate to emotion (#24395) @mnajdova
- <!-- 06 --> [Badge] Fix TS custom variants (#24407) @mnajdova

### `@material-ui/[email protected]`

- <!-- 48 --> [DatePicker] Remove unnecessary wrapping dom node (#24533) @mxsph
- <!-- 12 --> [DateRangePicker] Remove variant prop override for Textfield (#24433) @praveenkumar-kalidass
- <!-- 03 --> [lab] Reflect draft pattern of picker value in implementation (#24367) @eps1lon

### `@material-ui/[email protected]`

- <!-- 13 --> [styled-engine] Rename StylesProvider to StyledEngineProvider (#24429) @mnajdova

### `@material-ui/[email protected]`

- <!-- 44 --> [system] Fix handling of null-ish values (#24530) @oliviertassinari

### `@material-ui/[email protected]`

- <!-- 08 --> [unstyled] Convert composeClasses to TypeScript (#24396) @eps1lon

### `@material-ui/[email protected]`

- <!-- 60 --> [utils] `useEventCallback` `args` defaults to `unknown[]` (#24564) @eps1lon
- <!-- 11 --> [utils] Fix requirePropFactory to merge validators (#24423) @mnajdova

### docs
eps1lon marked this conversation as resolved.
Show resolved Hide resolved

- <!-- 86 --> [examples] Patch preact example not working (#24616)
- <!-- 78 --> [docs] Add missing newline in component JSDOC (#24610) @eps1lon
- <!-- 70 --> [docs] Add API of picker components (#24497) @eps1lon
- <!-- 63 --> [examples] Add `locale` prop to the Nextjs Link component (#24596) @CyanoFresh
- <!-- 52 --> [docs] List required props first in /api/* (#24526) @eps1lon
- <!-- 45 --> [docs] Mention the system props when available in the API pages (#24503) @mnajdova
- <!-- 43 --> [docs] Improve system properties page (#24524) @mnajdova
- <!-- 42 --> [docs] Fix malformed component API description (#24504) @eps1lon
- <!-- 41 --> [docs] Fix ToC "Component name" fragment link on /api/* (#24517) @eps1lon
- <!-- 40 --> [docs] Fix ToC on /api pages linking to api-docs (#24515) @eps1lon
- <!-- 37 --> [docs] Add comment explaining specificity bump on Select (#24509) @KarimMokhtar
- <!-- 28 --> [docs] Compute spreadable from tests (#24490) @eps1lon
- <!-- 27 --> [docs] Fix label bug in stepper vertical demo (#24491) @artola
- <!-- 20 --> [docs] Update Divjoy URL (#24447) @mbrookes
- <!-- 17 --> [docs] Improve packages description (#24330) @oliviertassinari
- <!-- 14 --> [docs] Fix content-layout-shift (#24418) @oliviertassinari
- <!-- 09 --> [docs] Document default values of external props (#24417) @eps1lon
- <!-- 02 --> [docs] Update in-house ads (#24410) @mbrookes @ewldev

### core

- <!-- 87 --> [core] Skip downloading browser binaries in codesandbox/ci (#24628) @eps1lon
- <!-- 81 --> [core] Batch small changes (#24599) @oliviertassinari
- <!-- 59 --> [test] Simplify DatePicker tests (#24545) @eps1lon
- <!-- 51 --> [core] Improve pseudo classes overrides error (#24535) @mnajdova
- <!-- 35 --> [core] Fix styleProps to always contain all props (#24505) @mnajdova
- <!-- 34 --> [test] Fix AvatarGroup failing test (#24512) @mnajdova
- <!-- 29 --> [pickers] Sort tests (#24481) @eps1lon
- <!-- 25 --> [test] Split tests in describeConformanceV5 to isolate them (#24479) @mnajdova
- <!-- 24 --> [core] Do not forward classes prop by default in experimentalStyled (#24451) @mnajdova
- <!-- 23 --> [core] Pass styleProps on all slots in the styled() components (#24454) @mnajdova
- <!-- 22 --> [core] Batch small changes (#24445) @oliviertassinari
- <!-- 01 --> [core] Normalize generating declaration files (#24411) @eps1lon

All contributors of this release in alphabetical order: @artola, @CyanoFresh, @d3mp, @duganbrett, @eladmotola, @eps1lon, @ewldev, @greguintow, @KarimMokhtar, @kutnickclose, @lukaselmer, @mbrookes, @mnajdova, @mxsph, @natac13, @oliviertassinari, @povilass, @praveenkumar-kalidass, @TimonPllkrn, @tonysepia, @vicasas, @vinyldarkscratch, @xs9627

## 5.0.0-alpha.23

###### _Jan 14, 2021_
Expand Down
8 changes: 4 additions & 4 deletions benchmark/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "benchmark",
"version": "5.0.0-alpha.23",
"version": "5.0.0-alpha.24",
"private": "true",
"scripts": {
"browser": "yarn webpack --config browser/webpack.config.js && node browser/scripts/benchmark.js",
Expand All @@ -14,9 +14,9 @@
"@chakra-ui/system": "^1.0.0",
"@emotion/react": "^11.0.0",
"@emotion/styled": "^11.0.0",
"@material-ui/core": "5.0.0-alpha.23",
"@material-ui/styles": "5.0.0-alpha.23",
"@material-ui/system": "5.0.0-alpha.23",
"@material-ui/core": "5.0.0-alpha.24",
"@material-ui/styles": "5.0.0-alpha.24",
"@material-ui/system": "5.0.0-alpha.24",
"@styled-system/css": "^5.1.5",
"benchmark": "^2.1.4",
"playwright": "^1.6.1",
Expand Down
24 changes: 12 additions & 12 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docs",
"version": "5.0.0-alpha.23",
"version": "5.0.0-alpha.24",
"private": true,
"author": "Material-UI Team",
"license": "MIT",
Expand Down Expand Up @@ -29,16 +29,16 @@
"@fortawesome/fontawesome-svg-core": "^1.2.30",
"@fortawesome/free-solid-svg-icons": "^5.14.0",
"@fortawesome/react-fontawesome": "^0.1.11",
"@material-ui/core": "5.0.0-alpha.23",
"@material-ui/docs": "5.0.0-alpha.23",
"@material-ui/icons": "5.0.0-alpha.23",
"@material-ui/lab": "5.0.0-alpha.23",
"@material-ui/styled-engine": "5.0.0-alpha.23",
"@material-ui/styled-engine-sc": "5.0.0-alpha.23",
"@material-ui/styles": "5.0.0-alpha.23",
"@material-ui/system": "5.0.0-alpha.23",
"@material-ui/types": "5.1.5",
"@material-ui/unstyled": "5.0.0-alpha.23",
"@material-ui/core": "5.0.0-alpha.24",
"@material-ui/docs": "5.0.0-alpha.24",
"@material-ui/icons": "5.0.0-alpha.24",
"@material-ui/lab": "5.0.0-alpha.24",
"@material-ui/styled-engine": "5.0.0-alpha.24",
"@material-ui/styled-engine-sc": "5.0.0-alpha.24",
"@material-ui/styles": "5.0.0-alpha.24",
"@material-ui/system": "5.0.0-alpha.24",
"@material-ui/types": "5.1.6",
"@material-ui/unstyled": "5.0.0-alpha.24",
"@trendmicro/react-interpolate": "^0.5.5",
"@types/autosuggest-highlight": "^3.1.0",
"@types/css-mediaquery": "^0.1.0",
Expand Down Expand Up @@ -125,7 +125,7 @@
"@babel/preset-typescript": "^7.7.4",
"@types/marked": "^1.2.1",
"@types/recharts": "^1.8.14",
"babel-plugin-unwrap-createstyles": "5.0.0-alpha.23",
"babel-plugin-unwrap-createstyles": "5.0.0-alpha.24",
"cross-fetch": "^3.0.5",
"gm": "^1.23.0"
}
Expand Down
2 changes: 1 addition & 1 deletion docs/packages/feedback/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "feedback",
"version": "5.0.0-alpha.23",
"version": "5.0.0-alpha.24",
"description": "Store and retrieve page ratings and comments",
"main": "./index.js",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions framer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "framer",
"version": "1.0.5",
"version": "1.0.6",
"description": "Builds Material-UI for Framer X",
"repository": "https://github.com/mui-org/material-ui",
"author": "Material-UI Team",
Expand All @@ -11,7 +11,7 @@
"@types/react": "^17.0.0",
"case": "1.6.3",
"deepmerge": "^4.0.0",
"docs": "5.0.0-alpha.23",
"docs": "5.0.0-alpha.24",
"framer": "^1.2.5",
"framer-motion": "^3.1.1",
"mustache": "^4.0.0",
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.0.0-alpha.23",
"version": "5.0.0-alpha.24",
"private": true,
"scripts": {
"proptypes": "cross-env BABEL_ENV=test babel-node --extensions \".tsx,.ts,.js\" ./scripts/generateProptypes.ts",
Expand All @@ -8,8 +8,10 @@
"build:codesandbox": "lerna run --parallel --scope \"@material-ui/*\" build",
"release:version": "lerna version --exact --no-changelog --no-push --no-git-tag-version",
"release:build": "lerna run --parallel --scope \"@material-ui/*\" build",
"release:changelog": "node scripts/releaseChangelog",
"release:publish": "lerna publish from-package --dist-tag next --contents build",
"release:publish:dry-run": "lerna publish from-package --dist-tag next --contents build --registry=\"http://localhost:4873/\"",
"release:tag": "node scripts/releaseTag",
"docs:api": "rimraf ./docs/pages/api-docs && yarn docs:api:build",
"docs:api:build": "cross-env BABEL_ENV=test __NEXT_EXPORT_TRAILING_SLASH=true babel-node --extensions \".tsx,.ts,.js\" ./docs/scripts/buildApi.ts ./docs/pages/api-docs ./packages/material-ui-unstyled/src ./packages/material-ui/src ./packages/material-ui-lab/src",
"docs:build": "yarn workspace docs build",
Expand Down Expand Up @@ -70,6 +72,7 @@
"@babel/register": "^7.10.1",
"@emotion/react": "^11.0.0",
"@emotion/styled": "^11.0.0",
"@octokit/rest": "^18.0.14",
"@rollup/plugin-replace": "^2.3.1",
"@testing-library/dom": "^7.22.1",
"@testing-library/react": "^11.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-unwrap-createstyles/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "babel-plugin-unwrap-createstyles",
"private": true,
"version": "5.0.0-alpha.23",
"version": "5.0.0-alpha.24",
"description": "unwraps createStyles call",
"main": "src/index.js",
"author": "Material-UI Team",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-material-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-material-ui",
"version": "5.0.0-alpha.23",
"version": "5.0.0-alpha.24",
"private": true,
"description": "Custom eslint rules for Material-UI.",
"main": "src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-codemod/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@material-ui/codemod",
"version": "5.0.0-alpha.23",
"version": "5.0.0-alpha.24",
"private": false,
"author": "Material-UI Team",
"description": "Codemod scripts for Material-UI.",
Expand Down
4 changes: 2 additions & 2 deletions packages/material-ui-docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@material-ui/docs",
"version": "5.0.0-alpha.23",
"version": "5.0.0-alpha.24",
"private": false,
"author": "Material-UI Team",
"description": "Material-UI Docs - Documentation building blocks.",
Expand Down Expand Up @@ -46,7 +46,7 @@
},
"dependencies": {
"@babel/runtime": "^7.4.4",
"@material-ui/utils": "5.0.0-alpha.23",
"@material-ui/utils": "5.0.0-alpha.24",
"nprogress": "^0.2.0"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-envinfo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"license": "MIT",
"description": "Logs infos about the environment relevant to @material-ui/*",
"version": "1.1.5",
"version": "1.1.6",
"bin": "./envinfo.js",
"dependencies": {
"envinfo": "^7.7.3"
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@material-ui/icons",
"version": "5.0.0-alpha.23",
"version": "5.0.0-alpha.24",
"private": false,
"author": "Material-UI Team",
"description": "Material Design icons distributed as SVG React components.",
Expand Down
8 changes: 4 additions & 4 deletions packages/material-ui-lab/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@material-ui/lab",
"version": "5.0.0-alpha.23",
"version": "5.0.0-alpha.24",
"private": false,
"author": "Material-UI Team",
"description": "Laboratory for new Material-UI modules.",
Expand Down Expand Up @@ -67,16 +67,16 @@
"@date-io/dayjs": "^2.10.6",
"@date-io/luxon": "^2.10.6",
"@date-io/moment": "^2.10.6",
"@material-ui/system": "5.0.0-alpha.23",
"@material-ui/utils": "5.0.0-alpha.23",
"@material-ui/system": "5.0.0-alpha.24",
"@material-ui/utils": "5.0.0-alpha.24",
"clsx": "^1.0.4",
"prop-types": "^15.7.2",
"react-is": "^16.8.0 || ^17.0.0",
"react-transition-group": "^4.4.1",
"rifm": "^0.12.0"
},
"devDependencies": {
"@material-ui/types": "5.1.5",
"@material-ui/types": "5.1.6",
"@types/luxon": "^1.25.0",
"date-fns": "^2.0.0",
"dayjs": "^1.8.17",
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-styled-engine-sc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@material-ui/styled-engine-sc",
"version": "5.0.0-alpha.23",
"version": "5.0.0-alpha.24",
"private": false,
"author": "Material-UI Team",
"description": "styled() API wrapper package for styled-components.",
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-styled-engine/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@material-ui/styled-engine",
"version": "5.0.0-alpha.23",
"version": "5.0.0-alpha.24",
"private": false,
"author": "Material-UI Team",
"description": "styled() API wrapper package for emotion.",
Expand Down
6 changes: 3 additions & 3 deletions packages/material-ui-styles/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@material-ui/styles",
"version": "5.0.0-alpha.23",
"version": "5.0.0-alpha.24",
"private": false,
"author": "Material-UI Team",
"description": "Material-UI Styles - The styling solution of Material-UI.",
Expand Down Expand Up @@ -49,8 +49,8 @@
"dependencies": {
"@babel/runtime": "^7.4.4",
"@emotion/hash": "^0.8.0",
"@material-ui/types": "5.1.5",
"@material-ui/utils": "5.0.0-alpha.23",
"@material-ui/types": "5.1.6",
"@material-ui/utils": "5.0.0-alpha.24",
"clsx": "^1.0.4",
"csstype": "^3.0.2",
"hoist-non-react-statics": "^3.3.2",
Expand Down
Loading