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-beta.1 #27230

Merged
merged 4 commits into from
Jul 14, 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
111 changes: 111 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,116 @@
### [Versions](https://material-ui.com/versions/)

## 5.0.0-beta.1

<!-- generated comparing v5.0.0-beta.0..next -->

_Jul 14, 2021_

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

- ✨ We have introduced a new unstyled component: the Switch (#26688) @michaldudak
You can find two new versions of the Switch. A component without any styles: [`SwitchUnstyled`](https://next.material-ui.com/components/switches/#unstyled-switches), and a hook: [`useSwitch`](https://next.material-ui.com/components/switches/#useswitch-hook).

<a href="https://next.material-ui.com/components/switches/#unstyled-switches"><img width="832" alt="switch" src="https://user-images.githubusercontent.com/3165635/125192249-236f8a80-e247-11eb-9df9-17d476379a32.png"></a>

You can follow our progress at https://github.com/mui-org/material-ui/issues/27170.
oliviertassinari marked this conversation as resolved.
Show resolved Hide resolved

- 💄 We have updated the default `info` `success` `warning` color to be more accessible (#26817) @siriwatknp.
You can find the new [default values](https://next.material-ui.com/customization/palette/#default-values) in the documentation.

<a href="https://next.material-ui.com/customization/palette/#default-values"><img width="780" alt="colors" src="https://user-images.githubusercontent.com/3165635/125192657-4864fd00-e249-11eb-9dc1-44857b25b3b8.png"></a>

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

#### Breaking changes

- [Fab] Remove no longer necessary span wrapper (#27112) @siriwatknp
- [ToggleButton] Remove no longer necessary span wrapper (#27111) @siriwatknp

#### Changes

- [Autocomplete] Add componentsProps (#27183) @michal-perlakowski
- [Avatar] Fix support for crossOrigin (#27013) @ShirasawaSama
- [ButtonBase] Correct `disableRipple` API description (#27187) @michaldudak
- [ButtonGroup] Add color palette types (#27215) @ShirasawaSama
- [SwitchBase] Bring back `checked` and mark as deprecated (#27047) @siriwatknp
- [TextField] Remove redundant useFormControl implementation (#27197) @michaldudak
- [theme] Add missing MuiRating types to components.d.ts (#27086) @rajzik
- [theme] Remove `createV4Spacing` from `adaptV4Theme` (#27072) @siriwatknp
- [theme] Update default `info` `success` `warning` color (#26817) @siriwatknp
- [ToggleButton] Add color palette types (#27046) @ShirasawaSama
- [ToggleButton] Fix the api page (#27164) @oliviertassinari

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

- [Switch] Create SwitchUnstyled and useSwitch (#26688) @michaldudak

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

- [codemod] Add v5 important migration (#27032) @siriwatknp
- [codemod] Fix v5 codemods on Windows (#27254) @michaldudak

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

- [Box] Add breakpoint value support to maxWidth prop (#26984) @ansh-saini

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

- [CalendarPicker] Fix slide transition regression (#27273) @eps1lon
- [CalendarPicker] Use transition components from core instead of a custom implementation (#27043) @eps1lon
- [pickers] Fix default value of text keys (#26990) @oliviertassinari
- [TimePicker] Change default minutes and seconds to zero (#27037) @michal-perlakowski

### Docs

- [blog] Q2 2021 Update (#27089) @oliviertassinari
- [docs] Add information that the label prop in FormControlLabel is now @michal-perlakowski
- [docs] Don't crash page if an Ad crashes (#27178) @eps1lon
- [docs] Fix alt description of movavi backer @oliviertassinari
- [docs] Fix import source of hidden component (#27116) @vimutti77
- [docs] Fix layout regression (#27272) @oliviertassinari
- [docs] Fix syntax error in /styles/api markdown (#27176) @sahil-blulabs
- [docs] Fix the link for the sx props page (#27202) @mnajdova
- [docs] Fix theme context example code (#27053) @moshfeu
- [docs] Fix typo in CONTRIBUTING.md (#27218) Ayush Dubey
- [docs] Fix typos (#27074) @michaldudak
- [docs] Improve nav semantics (#27138) @eps1lon
- [docs] Migrate Ad\* components to emotion (#27159) @mnajdova
- [docs] Migrate rest of the docs to emotion (#27184) @mnajdova
- [docs] Move versions from \_app PageContext to page-specific context (#27078) @eps1lon
- [docs] Only bundle one version of the demos in production (#27020) @eps1lon
- [docs] Reduce layout shift on landing page (#27251) @eps1lon
- [docs] Remove Ethical Ads (#27173) @mbrookes
- [docs] Remove unused fs polyfill (#27069) @eps1lon
- [docs] Remove usage of `url` package (#27151) @eps1lon
- [docs] Replace react-text-mask with react-imask in integration example (#27071) @michal-perlakowski
- [docs] Sort the size in a more logical order (#27186) @oliviertassinari
- [docs] Use actual link to paperbase (#27063) @eps1lon
- [docs] Use custom markdown loader for landing page (#27065) @eps1lon
- [docs] Use webpack 5 (#27077) @eps1lon
- [examples] Fix CDN warning (#27229) @oliviertassinari
- [examples] Remove `StyledEngineProvider` as JSS is not used (#27133) @mnajdova
- [examples] Remove forgotten StyledEngineProvider (#27163) @oliviertassinari

### Core

- [core] Batch small changes (#26970) @oliviertassinari
- [core] Configure Renovate (#27003) @renovate[bot]
- [core] Migrate remaining mentions of Dependabot to Renovate (#27118) @eps1lon
- [core] Run yarn deduplicate on Renovate updates (#27115) @eps1lon
- [test] Document broken React 18 behavior of Autocomplete (#27242) @eps1lon
- [test] Increase BS timeout to 6min (#27179) @oliviertassinari
- [test] Migrate regressions to emotion (#27010) @vicasas
- [test] Narrow down React 18 compat issues (#27134) @eps1lon
- [test] Remove StyledEngineProvider usage from regressions and e2e test @mnajdova
- [test] Run React 18 integration tests with new createRoot API (#26672) @eps1lon
- [test] Update tests with latest state of StrictMode compatibility (#27042) @eps1lon
- [test] Use DOM events instead of mocked, partial events (#27198) @eps1lon
- [website] Open 4 new roles (#27123) @oliviertassinari
- [blog] Danilo Leal joins Material-UI (#27231) @oliviertassinari

All contributors of this release in alphabetical order: @eps1lon, @mbrookes, @michal-perlakowski, @michaldudak, @mnajdova, @moshfeu, @oliviertassinari, @rajzik, @renovate[bot], @sahil-blulabs, @ShirasawaSama, @siriwatknp, @vimutti77

## 5.0.0-beta.0

<!-- generated comparing v5.0.0-alpha.38..next -->
Expand Down
10 changes: 5 additions & 5 deletions benchmark/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "benchmark",
"version": "5.0.0-beta.0",
"private": "true",
"version": "5.0.0",
"private": true,
"scripts": {
"browser": "yarn webpack --config browser/webpack.config.js && node browser/scripts/benchmark.js",
"server:core": "cd ../ && cross-env NODE_ENV=production BABEL_ENV=benchmark babel-node benchmark/server/scenarios/core.js --inspect=0.0.0.0:9229 --extensions \".tsx,.ts,.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-beta.0",
"@material-ui/styles": "5.0.0-beta.0",
"@material-ui/system": "5.0.0-beta.0",
"@material-ui/core": "5.0.0-beta.1",
"@material-ui/styles": "5.0.0-beta.1",
"@material-ui/system": "5.0.0-beta.1",
"@styled-system/css": "^5.1.5",
"benchmark": "^2.1.4",
"playwright": "^1.6.1",
Expand Down
20 changes: 10 additions & 10 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docs",
"version": "5.0.0-beta.0",
"version": "5.0.0",
"private": true,
"author": "Material-UI Team",
"license": "MIT",
Expand Down Expand Up @@ -30,17 +30,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-beta.0",
"@material-ui/core": "5.0.0-beta.1",
"@material-ui/data-grid": "^4.0.0-alpha.29",
"@material-ui/docs": "5.0.0-beta.0",
"@material-ui/icons": "5.0.0-beta.0",
"@material-ui/lab": "5.0.0-alpha.39",
"@material-ui/styled-engine": "5.0.0-beta.0",
"@material-ui/styled-engine-sc": "5.0.0-beta.0",
"@material-ui/styles": "5.0.0-beta.0",
"@material-ui/system": "5.0.0-beta.0",
"@material-ui/docs": "5.0.0-beta.1",
"@material-ui/icons": "5.0.0-beta.1",
"@material-ui/lab": "5.0.0-alpha.40",
"@material-ui/styled-engine": "5.0.0-beta.1",
"@material-ui/styled-engine-sc": "5.0.0-beta.1",
"@material-ui/styles": "5.0.0-beta.1",
"@material-ui/system": "5.0.0-beta.1",
"@material-ui/types": "6.0.1",
"@material-ui/unstyled": "5.0.0-alpha.39",
"@material-ui/unstyled": "5.0.0-alpha.40",
"@trendmicro/react-interpolate": "^0.5.5",
"@types/autosuggest-highlight": "^3.1.0",
"@types/css-mediaquery": "^0.1.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.24",
"version": "5.0.0",
"description": "Store and retrieve page ratings and comments",
"main": "./index.js",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion docs/packages/markdown/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@material-ui/markdown",
"version": "0.1.1",
"version": "5.0.0",
"private": true,
"type": "commonjs",
"main": "./index.js",
Expand Down
2 changes: 1 addition & 1 deletion examples/create-react-app-with-typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-react-app-with-typescript",
"version": "4.0.0",
"version": "5.0.0",
"private": true,
"dependencies": {
"@emotion/react": "latest",
Expand Down
2 changes: 1 addition & 1 deletion examples/ssr/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ssr",
"version": "4.0.0",
"version": "5.0.0",
"private": true,
"dependencies": {
"@babel/core": "latest",
Expand Down
2 changes: 1 addition & 1 deletion framer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@types/react": "^17.0.0",
"case": "1.6.3",
"deepmerge": "^4.0.0",
"docs": "5.0.0-beta.0",
"docs": "5.0.0",
"framer": "^1.2.5",
"framer-motion": "^4.0.0",
"mustache": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.0.0-beta.0",
"version": "5.0.0-beta.1",
"private": true,
"scripts": {
"proptypes": "cross-env BABEL_ENV=development babel-node --extensions \".tsx,.ts,.js\" ./scripts/generateProptypes.ts",
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.35",
"version": "5.0.0",
"private": true,
"description": "Custom eslint rules for Material-UI.",
"main": "src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion 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-beta.0",
"version": "5.0.0-beta.1",
"private": false,
"author": "Material-UI Team",
"description": "Material-UI Docs - Documentation building blocks.",
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-beta.0",
"version": "5.0.0-beta.1",
"private": false,
"author": "Material-UI Team",
"description": "Material Design icons distributed as SVG React components.",
Expand Down
6 changes: 3 additions & 3 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.39",
"version": "5.0.0-alpha.40",
"private": false,
"author": "Material-UI Team",
"description": "Laboratory for new Material-UI modules.",
Expand Down Expand Up @@ -68,8 +68,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-beta.0",
"@material-ui/unstyled": "5.0.0-alpha.39",
"@material-ui/system": "5.0.0-beta.1",
"@material-ui/unstyled": "5.0.0-alpha.40",
"@material-ui/utils": "5.0.0-beta.0",
"clsx": "^1.0.4",
"prop-types": "^15.7.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-private-theming/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@material-ui/private-theming",
"version": "5.0.0-beta.0",
"version": "5.0.0-beta.1",
"private": false,
"author": "Material-UI Team",
"description": "Material-UI Theming - The React theme context to be shared between `@material-ui/styles` and `@material-ui/core`.",
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-beta.0",
"version": "5.0.0-beta.1",
"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-beta.0",
"version": "5.0.0-beta.1",
"private": false,
"author": "Material-UI Team",
"description": "styled() API wrapper package for emotion.",
Expand Down
4 changes: 2 additions & 2 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-beta.0",
"version": "5.0.0-beta.1",
"private": false,
"author": "Material-UI Team",
"description": "Material-UI Styles - The styling solution of Material-UI.",
Expand Down Expand Up @@ -49,7 +49,7 @@
"dependencies": {
"@babel/runtime": "^7.4.4",
"@emotion/hash": "^0.8.0",
"@material-ui/private-theming": "5.0.0-beta.0",
"@material-ui/private-theming": "5.0.0-beta.1",
"@material-ui/types": "6.0.1",
"@material-ui/utils": "5.0.0-beta.0",
"clsx": "^1.0.4",
Expand Down
6 changes: 3 additions & 3 deletions packages/material-ui-system/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@material-ui/system",
"version": "5.0.0-beta.0",
"version": "5.0.0-beta.1",
"private": false,
"author": "Material-UI Team",
"description": "CSS utilities for rapidly laying out custom designs.",
Expand Down Expand Up @@ -56,8 +56,8 @@
},
"dependencies": {
"@babel/runtime": "^7.4.4",
"@material-ui/private-theming": "5.0.0-beta.0",
"@material-ui/styled-engine": "5.0.0-beta.0",
"@material-ui/private-theming": "5.0.0-beta.1",
"@material-ui/styled-engine": "5.0.0-beta.1",
"@material-ui/types": "6.0.1",
"@material-ui/utils": "5.0.0-beta.0",
"clsx": "^1.0.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-unstyled/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@material-ui/unstyled",
"version": "5.0.0-alpha.39",
"version": "5.0.0-alpha.40",
"private": false,
"author": "Material-UI Team",
"description": "Unstyled React components with which to implement custom design systems.",
Expand Down
6 changes: 3 additions & 3 deletions packages/material-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@material-ui/core",
"version": "5.0.0-beta.0",
"version": "5.0.0-beta.1",
"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.",
Expand Down Expand Up @@ -60,9 +60,9 @@
},
"dependencies": {
"@babel/runtime": "^7.4.4",
"@material-ui/system": "5.0.0-beta.0",
"@material-ui/system": "5.0.0-beta.1",
"@material-ui/types": "6.0.1",
"@material-ui/unstyled": "5.0.0-alpha.39",
"@material-ui/unstyled": "5.0.0-alpha.40",
"@material-ui/utils": "5.0.0-beta.0",
"@popperjs/core": "^2.4.4",
"@types/react-transition-group": "^4.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-plugin-cache-docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "netlify-plugin-cache-docs",
"version": "5.0.0-alpha.34",
"version": "5.0.0",
"private": true,
"author": "Material-UI Team",
"description": "Alternative to netlify-plugin-cache-nextjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript-to-proptypes/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typescript-to-proptypes",
"version": "5.0.0-beta.0",
"version": "5.0.0",
"private": true,
"description": "Generate proptypes from TypeScript declarations",
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions test/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "test",
"version": "5.0.0-beta.0",
"version": "5.0.0",
"private": true,
"scripts": {
"typescript": "tsc -p tsconfig.json"
}
Expand Down