From 8928a36394154e02a73d5e92a740d5f9ed8da709 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Sat, 27 Feb 2021 19:35:04 +0100 Subject: [PATCH] v5.0.0-alpha.26 --- CHANGELOG.md | 149 +++++++++++++++++- benchmark/package.json | 8 +- docs/package.json | 16 +- framer/package.json | 4 +- package.json | 2 +- packages/material-ui-docs/package.json | 4 +- packages/material-ui-icons/package.json | 2 +- packages/material-ui-lab/package.json | 6 +- packages/material-ui-styles/package.json | 4 +- packages/material-ui-system/package.json | 4 +- packages/material-ui-unstyled/package.json | 4 +- packages/material-ui-utils/package.json | 2 +- packages/material-ui/package.json | 10 +- packages/typescript-to-proptypes/package.json | 2 +- test/package.json | 2 +- 15 files changed, 183 insertions(+), 36 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c383bc727ba05d..81f008244054b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,153 @@ ### [Versions](https://material-ui.com/versions/) +## 5.0.0-alpha.26 + + + +_Feb 27, 2021_ + +Big thanks to the 26 contributors who made this release possible. Here are some highlights âœĻ: + +- ðŸ‘Đ‍ðŸŽĪ Convert 11 components to emotion (#24696, #24631, #24857, #25048, #24693, #24663, #25007, #24688, #24665, #24878, #24571) @praveenkuma @natac13 @xs9627 @povilass @m4theushw @natac13 @natac13 @DanailH @duganbrett @duganbrett @praveenkumar-kalidass @vinyldarkscratch. + 75% of the components have been migrated so far, thanks to the help of the community. +- ðŸĶī Convert 4 components to the unstyled pattern (#24985, #24857, #24890, #24957) @povilass. + This change doesn't introduce any breaking changes. Hence, most of the conversion effort will be done post v5-stable. +- 📚 Fix the generation of the API pages for the date pickers (#25101, #25100, #25086, #25089, #25085, #25084) @eps1lon. + This is a follow-up effort after we have merged `material-ui-pickers`. The components are written in TypeScript which required us to upgrade our infra. +- 👌 Improve the Slider thumb and track animation (#24968) @remyoudemans. + The thumb is now moving with a light transition between different values unless it's dragged. + +- 💅 Convert 5 components with custom colors support (#25099, #25088) @mngu. + This change makes it easier to leverage custom palettes +- And many more 🐛 bug fixes and 📚 improvements. + +### `@material-ui/core@5.0.0-alpha.26` + +- [AppBar][CircularProgress][LinearProgress] Support custom colors (#25099) @mngu +- [Autocomplete] Prevent closing on no-option text click (#25103) @silver-snoopy +- [Autocomplete] Fix ListboxComponent slot regression (#25102) @oliviertassinari +- [Autocomplete] Fix the return type of AutocompleteGetTagProps (#24950) @joemaffei +- [Autocomplete] Migrate to emotion (#24696) @natac13 +- [Button] Fix ripple stuck after displaying the context menu (#25004) @DanailH +- [Button] Fix forward classes to ButtonBase (#25072) @praveenkumar-kalidass +- [Chip] Normalize Material Design States (#24915) @oliviertassinari +- [Chip] Fix focus-visible regression (#24906) @oliviertassinari +- [CircularProgress] Make source easier to read (#24893) @oliviertassinari +- [Menu] Migrate MenuItem to emotion (#24631) @xs9627 +- [Paper] Fix type support of overridable component (#25059) @mngu +- [Skeleton] Fix global theme customization (#24983) @glocore +- [Slider] Improve thumb and track animation (#24968) @remyoudemans +- [Slider] Fix override of event.target when preparing change events (#24782) @praveenkumar-kalidass +- [Snackbar] Migrate SnackbarContent to emotion (#25048) @m4theushw +- [SwipeableDrawer] Fix detection of native scroll container (#24903) @oliviertassinari +- [Switch] Migrate to emotion (#24693) @natac13 +- [Switch] Update to follow current MD guidelines (#24954) @hxqlin +- [Table] Migrate TableCell to emotion (#24663) @natac13 +- [Tabs] Change the default indicatorColor and textColor prop values to "primary" (#25063) @Dripcoding +- [TextField] Support custom color and size (#25088) @mngu +- [TextField] Fix input adornment color (#25090) @manziEric +- [TextField] Fix FilledInput AA contrast issue (#25046) @Dripcoding +- [TextField] Migrate FormControlLabel to emotion (#25007) @DanailH +- [TextField] Fix label wrap, display an ellipsis instead (#25012) @NekoApocalypse +- [TextField] Migrate OutlinedInput to emotion (#24688) @duganbrett +- [TextField] Fix focused={true} disabled={true} infinite render (#24961) @oliviertassinari +- [TextField] Migrate FormLabel and InputLabel to emotion (#24665) @duganbrett +- [theme] Update theme.palette.text.secondary to match the spec (#25060) @Dripcoding +- [ToggleButton] Migrate ToggleButtonGroup to emotion (#24878) @praveenkumar-kalidass +- [Tooltip] Migrate to emotion (#24571) @vinyldarkscratch + +### `@material-ui/unstyled@5.0.0-alpha.26` + +- [Portal] Migrate to unstyled (#24890) @povilass +- [TrapFocus] Migrate to unstyled (#24957) @povilass +- [Backdrop] Migrate to unstyled (#24985) @povilass +- [Modal] Migrate to emotion + unstyled (#24857) @povilass + +### `@material-ui/lab@5.0.0-alpha.26` + +- [Pickers] Fix scroll-jump when opening with a selected value (#25010) @eps1lon +- [Pickers] Rework keyboard navigation implementation (#24315) @eps1lon +- [Pickers] Fix picker components not opening on click in React 17 (#24981) @eps1lon +- [Pickers] Fix outdated link to PickersDay (#24883) @oliviertassinari + +### `@material-ui/icons@5.0.0-alpha.26` + +- [icons] Synchronize icons (#25055) @eps1lon + + The icons were synchronized with https://material.io/resources/icons/. This change increases the number of supported icons from 1349 to 1781 per theme (we support 5 themes). + We are getting closer to the maximum number of icons our infrastructure can support. In the future, we might remove the least popular icons in favor of the most frequently used ones. + +### `@material-ui/system@5.0.0-alpha.26` + +- [system] Fix gap, rowGap, columnGap, borderRadius reponsive support (#24994) @oliviertassinari + +### `@material-ui/utils@5.0.0-alpha.26` + +- [utils] Fix isMuiElement types (#24936) @oliviertassinari + +### Docs + +- [docs] Add DateRangePickerDay, PickersDay, PickersCalendarSkeleton, MontherPicker API (#25101) @eps1lon +- [docs] Add DayPicker API (#25100) @eps1lon +- [docs] Improve description of builderbook (#25086) @klyburke +- [docs] Add API of ClockPicker (#25089) @eps1lon +- [docs] Add API of *DateRangePicker components (#25085) @eps1lon +- [docs] Add API of *DateTimePicker components (#25084) @eps1lon +- [docs] Add graphql-starter to Example Projects (#25068) @koistya +- [docs] Migrate Alert demos to emotion (#25074) @m4theushw +- [docs] Add codesandbox example for styled-components (#25050) @jony89 +- [docs] Wrong link @oliviertassinari +- [docs] Improve error message when GitHub API fail (#24976) @oliviertassinari +- [docs] Separate simple and nested modal demos (#24938) @ydubinskyi +- [docs] Remove under construction icons from DataGrid feature pages (#24946) @DanailH +- [docs] Fix prefers-color-scheme switch (#24902) @oliviertassinari +- [docs] Add yarn install step, safer @oliviertassinari +- [examples] Fix code sandbox link GitHub branch (#24996) @kevbarns + +### Core + +- [core] Prevent out-of-memory in test_types_next (#25079) @eps1lon +- [core] Pin playwright image to known working version (#25080) @eps1lon +- [core] Remove need to reinject backdrop (#25071) @oliviertassinari +- [core] Batch small changes (#25015) @oliviertassinari +- [core] More cleanup on Pickers code (#25020) @dborstelmann +- [core] Allow running full pipeline with various React versions (#25005) @eps1lon +- [core] Fix missing codecov report (#25006) @eps1lon +- [core] Fix release:tag pushing to first push remote (#24960) @eps1lon +- [core] Fix cache miss when using playwright docker images (#24942) @eps1lon +- [core] Prevent out-of-memory when type-checking in CI (#24933) @eps1lon +- [core] Disable page size tracking (#24932) @eps1lon +- [core] Extract linting into separate CI job (#24930) @eps1lon +- [core] Only clone props if needed (#24892) @oliviertassinari +- [core] listChangedFiles returns an empty list with no changed files (#24879) @eps1lon +- [core] Remove dead code in docs:dev (#24880) @oliviertassinari +- [core] Fix a few stylelint error (#24885) @oliviertassinari +- [core] Fix name of Safari target (#24881) @oliviertassinari +- [core] Prefer return over throw in chainPropTypes (#24882) @oliviertassinari +- [core] Support /r/issue-template back (#24870) @oliviertassinari +- [core] Simplify xxxClasses types (#24736) @oliviertassinari +- [test] Improve BrowserStack configuration (#25049) @oliviertassinari +- [test] Track bundle size of unstyled components (#25047) @oliviertassinari +- [test] Make `render` required with describeConformanceV5 (#25003) @oliviertassinari +- [test] Move a11y tree exclusion to appropriate document (#24998) @eps1lon +- [test] Test with ClickAwayListener mount on onClickCapture (#25001) @eps1lon +- [test] Improve various timer related issues (#24963) @eps1lon +- [test] Avoid Rate Limit Exceeded (#24931) @oliviertassinari +- [test] Remove internal icons smoke test (#24969) @eps1lon +- [test] Reduce compile time of test:karma in watchmode drastically (#24967) @eps1lon +- [test] Dedupe missing act warnings for HoC (#24949) @eps1lon +- [test] Consolidate on a single API (#24884) @oliviertassinari +- [test] Update react next patch (#24934) @eps1lon +- [test] Link CircleCI URL in BS (#24935) @oliviertassinari +- [test] Run more tests at the same time (#24886) @oliviertassinari +- [test] Dedupe missing act warnings by component name (#24871) @eps1lon +- [test] Enable type-unaware versions of disabled typed-aware lint rules (#24873) @eps1lon +- [test] Initial workspace definition (#24869) @eps1lon +- [test] Add current behavior of focus during mount in Popper (#24863) @eps1lon +- [test] Increase BrowserStack timeout to 6min (#24861) @oliviertassinari + +All contributors of this release in alphabetical order: @DanailH, @dborstelmann, @Dripcoding, @duganbrett, @eps1lon, @glocore, @hxqlin, @joemaffei, @jony89, @kevbarns, @klyburke, @koistya, @m4theushw, @manziEric, @mngu, @natac13, @NekoApocalypse, @oliviertassinari, @povilass, @praveenkumar-kalidass, @remyoudemans, @silver-snoopy, @vinyldarkscratch, @xs9627, @ydubinskyi + ## 5.0.0-alpha.25 @@ -308,7 +456,6 @@ Big thanks to the 15 contributors who made this release possible. Here are some We have reached a point where we feel confident that the new approach should make it to v5 stable. An issue has been created to track the progress with the migration to emotion: #24405. Your contribution to this effort and the ones from the community are welcome 🙌. - 📅 Various improvements on the date picker components (#24301, #24309, #24275, #24298, #24319) @m4theushw @eps1lon @huzaima @praveenkumar-kalidass - - And many more 🐛 bug fixes and 📚 improvements. ### `@material-ui/core@v5.0.0-alpha.23`/`@material-ui/unstyled@v5.0.0-alpha.23` diff --git a/benchmark/package.json b/benchmark/package.json index 0e7054a646e8f8..9de70d86545dc6 100644 --- a/benchmark/package.json +++ b/benchmark/package.json @@ -1,6 +1,6 @@ { "name": "benchmark", - "version": "5.0.0-alpha.25", + "version": "5.0.0-alpha.26", "private": "true", "scripts": { "browser": "yarn webpack --config browser/webpack.config.js && node browser/scripts/benchmark.js", @@ -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.25", - "@material-ui/styles": "5.0.0-alpha.25", - "@material-ui/system": "5.0.0-alpha.25", + "@material-ui/core": "5.0.0-alpha.26", + "@material-ui/styles": "5.0.0-alpha.26", + "@material-ui/system": "5.0.0-alpha.26", "@styled-system/css": "^5.1.5", "benchmark": "^2.1.4", "playwright": "^1.6.1", diff --git a/docs/package.json b/docs/package.json index 30795ee1f02d79..9d96dc6c38a197 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "docs", - "version": "5.0.0-alpha.25", + "version": "5.0.0-alpha.26", "private": true, "author": "Material-UI Team", "license": "MIT", @@ -29,17 +29,17 @@ "@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.25", + "@material-ui/core": "5.0.0-alpha.26", "@material-ui/data-grid": "^4.0.0-alpha.18", - "@material-ui/docs": "5.0.0-alpha.25", - "@material-ui/icons": "5.0.0-alpha.24", - "@material-ui/lab": "5.0.0-alpha.25", + "@material-ui/docs": "5.0.0-alpha.26", + "@material-ui/icons": "5.0.0-alpha.26", + "@material-ui/lab": "5.0.0-alpha.26", "@material-ui/styled-engine": "5.0.0-alpha.25", "@material-ui/styled-engine-sc": "5.0.0-alpha.25", - "@material-ui/styles": "5.0.0-alpha.25", - "@material-ui/system": "5.0.0-alpha.25", + "@material-ui/styles": "5.0.0-alpha.26", + "@material-ui/system": "5.0.0-alpha.26", "@material-ui/types": "5.1.7", - "@material-ui/unstyled": "5.0.0-alpha.25", + "@material-ui/unstyled": "5.0.0-alpha.26", "@trendmicro/react-interpolate": "^0.5.5", "@types/autosuggest-highlight": "^3.1.0", "@types/css-mediaquery": "^0.1.0", diff --git a/framer/package.json b/framer/package.json index 6abd1b448cafba..cfe1cca88df2f0 100644 --- a/framer/package.json +++ b/framer/package.json @@ -1,6 +1,6 @@ { "name": "framer", - "version": "1.0.7", + "version": "1.0.8", "description": "Builds Material-UI for Framer X", "repository": "https://github.com/mui-org/material-ui", "author": "Material-UI Team", @@ -11,7 +11,7 @@ "@types/react": "^17.0.0", "case": "1.6.3", "deepmerge": "^4.0.0", - "docs": "5.0.0-alpha.25", + "docs": "5.0.0-alpha.26", "framer": "^1.2.5", "framer-motion": "^3.1.1", "mustache": "^4.0.0", diff --git a/package.json b/package.json index f1cc94bd512aa0..0df3c1d5c80a4f 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "5.0.0-alpha.25", + "version": "5.0.0-alpha.26", "private": true, "scripts": { "proptypes": "cross-env BABEL_ENV=test babel-node --extensions \".tsx,.ts,.js\" ./scripts/generateProptypes.ts", diff --git a/packages/material-ui-docs/package.json b/packages/material-ui-docs/package.json index 73809c80ca6d04..3a4140972397ef 100644 --- a/packages/material-ui-docs/package.json +++ b/packages/material-ui-docs/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/docs", - "version": "5.0.0-alpha.25", + "version": "5.0.0-alpha.26", "private": false, "author": "Material-UI Team", "description": "Material-UI Docs - Documentation building blocks.", @@ -46,7 +46,7 @@ }, "dependencies": { "@babel/runtime": "^7.4.4", - "@material-ui/utils": "5.0.0-alpha.25", + "@material-ui/utils": "5.0.0-alpha.26", "nprogress": "^0.2.0" }, "publishConfig": { diff --git a/packages/material-ui-icons/package.json b/packages/material-ui-icons/package.json index 07732022faae20..57b1735ae1c19d 100644 --- a/packages/material-ui-icons/package.json +++ b/packages/material-ui-icons/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/icons", - "version": "5.0.0-alpha.24", + "version": "5.0.0-alpha.26", "private": false, "author": "Material-UI Team", "description": "Material Design icons distributed as SVG React components.", diff --git a/packages/material-ui-lab/package.json b/packages/material-ui-lab/package.json index 34684c21b65921..62296362ef29c5 100644 --- a/packages/material-ui-lab/package.json +++ b/packages/material-ui-lab/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/lab", - "version": "5.0.0-alpha.25", + "version": "5.0.0-alpha.26", "private": false, "author": "Material-UI Team", "description": "Laboratory for new Material-UI modules.", @@ -67,8 +67,8 @@ "@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.25", - "@material-ui/utils": "5.0.0-alpha.25", + "@material-ui/system": "5.0.0-alpha.26", + "@material-ui/utils": "5.0.0-alpha.26", "clsx": "^1.0.4", "prop-types": "^15.7.2", "react-is": "^16.8.0 || ^17.0.0", diff --git a/packages/material-ui-styles/package.json b/packages/material-ui-styles/package.json index a0d0d42f0f4d42..4c3a67bfbe0f7b 100644 --- a/packages/material-ui-styles/package.json +++ b/packages/material-ui-styles/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/styles", - "version": "5.0.0-alpha.25", + "version": "5.0.0-alpha.26", "private": false, "author": "Material-UI Team", "description": "Material-UI Styles - The styling solution of Material-UI.", @@ -50,7 +50,7 @@ "@babel/runtime": "^7.4.4", "@emotion/hash": "^0.8.0", "@material-ui/types": "5.1.7", - "@material-ui/utils": "5.0.0-alpha.25", + "@material-ui/utils": "5.0.0-alpha.26", "clsx": "^1.0.4", "csstype": "^3.0.2", "hoist-non-react-statics": "^3.3.2", diff --git a/packages/material-ui-system/package.json b/packages/material-ui-system/package.json index 25c1667dad6d02..c7d70caeff1128 100644 --- a/packages/material-ui-system/package.json +++ b/packages/material-ui-system/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/system", - "version": "5.0.0-alpha.25", + "version": "5.0.0-alpha.26", "private": false, "author": "Material-UI Team", "description": "CSS utilities for rapidly laying out custom designs.", @@ -49,7 +49,7 @@ }, "dependencies": { "@babel/runtime": "^7.4.4", - "@material-ui/utils": "5.0.0-alpha.25", + "@material-ui/utils": "5.0.0-alpha.26", "csstype": "^3.0.2", "prop-types": "^15.7.2" }, diff --git a/packages/material-ui-unstyled/package.json b/packages/material-ui-unstyled/package.json index 7c06e79104b100..24c6b7c97a707a 100644 --- a/packages/material-ui-unstyled/package.json +++ b/packages/material-ui-unstyled/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/unstyled", - "version": "5.0.0-alpha.25", + "version": "5.0.0-alpha.26", "private": false, "author": "Material-UI Team", "description": "Unstyled React components with which to implement custom design systems.", @@ -47,7 +47,7 @@ }, "dependencies": { "@babel/runtime": "^7.4.4", - "@material-ui/utils": "5.0.0-alpha.25", + "@material-ui/utils": "5.0.0-alpha.26", "clsx": "^1.0.4", "prop-types": "^15.7.2", "react-is": "^16.8.0 || ^17.0.0" diff --git a/packages/material-ui-utils/package.json b/packages/material-ui-utils/package.json index cebb74b16cc18c..2d9d703cbdf960 100644 --- a/packages/material-ui-utils/package.json +++ b/packages/material-ui-utils/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/utils", - "version": "5.0.0-alpha.25", + "version": "5.0.0-alpha.26", "private": false, "author": "Material-UI Team", "description": "Utility functions for React components.", diff --git a/packages/material-ui/package.json b/packages/material-ui/package.json index fad598de191712..4ef4f4ab920f20 100644 --- a/packages/material-ui/package.json +++ b/packages/material-ui/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/core", - "version": "5.0.0-alpha.25", + "version": "5.0.0-alpha.26", "private": false, "author": "Material-UI Team", "description": "Quickly build beautiful React apps. Material-UI is a simple and customizable component library to build faster, beautiful, and more accessible React applications. Follow your own design system, or start with Material Design.", @@ -62,11 +62,11 @@ "dependencies": { "@babel/runtime": "^7.4.4", "@material-ui/styled-engine": "5.0.0-alpha.25", - "@material-ui/styles": "5.0.0-alpha.25", - "@material-ui/system": "5.0.0-alpha.25", + "@material-ui/styles": "5.0.0-alpha.26", + "@material-ui/system": "5.0.0-alpha.26", "@material-ui/types": "5.1.7", - "@material-ui/unstyled": "5.0.0-alpha.25", - "@material-ui/utils": "5.0.0-alpha.25", + "@material-ui/unstyled": "5.0.0-alpha.26", + "@material-ui/utils": "5.0.0-alpha.26", "@popperjs/core": "^2.4.4", "@types/react-transition-group": "^4.2.0", "clsx": "^1.0.4", diff --git a/packages/typescript-to-proptypes/package.json b/packages/typescript-to-proptypes/package.json index 330d98d5703951..0215073add15a7 100644 --- a/packages/typescript-to-proptypes/package.json +++ b/packages/typescript-to-proptypes/package.json @@ -1,6 +1,6 @@ { "name": "typescript-to-proptypes", - "version": "5.0.0-alpha.25", + "version": "5.0.0-alpha.26", "private": true, "description": "Generate proptypes from TypeScript declarations", "engines": { diff --git a/test/package.json b/test/package.json index 75960b96fbe8d6..614a809be05c28 100644 --- a/test/package.json +++ b/test/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "test", - "version": "0.0.1", + "version": "5.0.0-alpha.26", "scripts": { "typescript": "tsc -p tsconfig.json" }