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

[release] v5.12.2 #37014

Merged
merged 4 commits into from
Apr 25, 2023
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
68 changes: 68 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,73 @@
# [Versions](https://mui.com/versions/)

## 5.12.2

<!-- generated comparing v5.12.1..master -->

_Apr 25, 2023_

A big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:

- ⚠️ **[BREAKING CHANGE]** The `Unstyled` suffix has been removed from Base UI component names, including names of types and other related identifiers – a codemod script is provided to assist with the change.
- 🐛 bug fixes and 📚 documentation improvements.

### `@mui/material@5.12.2`

- &#8203;<!-- 10 -->[FormControl] Fix `filled` when value is set through `inputProps` (#36741) @sai6855
- &#8203;<!-- 07 -->[Slider] `onChange` handler should be called only when value has changed (#36706) @gitstart
- &#8203;<!-- 06 -->[Table] Fix `Sorting & Selecting` tables (#36898) @oliviertassinari

### `@mui/base@5.0.0-alpha.127`

#### Breaking changes

- &#8203;<!-- 27 -->[base] Remove unstyled suffix from Base components + Codemod script (#36873) @hbjORbj

The `Unstyled` suffix has been removed from all Base UI component names, including names of types and other related identifiers.

You can use this [codemod](https://github.com/mui/material-ui/blob/master/packages/mui-codemod/src/v5.0.0/base-remove-unstyled-suffix.js) to help with the migration:

```sh
npx @mui/codemod v5.0.0/base-remove-unstyled-suffix <path>
```

#### Changes

- &#8203;<!-- 26 -->[codemod][base] Improve the removal of `component` prop codemod script (#36952) @hbjORbj
- &#8203;<!-- 25 -->[codemod][base] Write a migration script for removal of `component` prop from components (#36831) @hbjORbj
- &#8203;<!-- 24 -->[Base][useButton] Allow useButton params to be completely optional (#36922) @mj12albert

### `@mui/joy@5.0.0-alpha.77`

- &#8203;<!-- 23 -->[Joy][Chip] Chip button not showing up in Firefox browser (#36930) @TakhyunKim
- &#8203;<!-- 09 -->[Joy] Add `invertedColors` to Menu and Alert (#36975) @siriwatknp
- &#8203;<!-- 08 -->[joy][Select] Set focus visible on select options when navigating with arrow keys (#36689) @gitstart

### Docs

- &#8203;<!-- 21 -->[docs] Fix console error introduced by #36408 (#36980) @alexfauquette
- &#8203;<!-- 20 -->[docs] Add stray Joy UI documentation improvements (#36921) @danilo-leal
- &#8203;<!-- 19 -->[docs] Add Joy profile dashboard template (#36931) @siriwatknp
- &#8203;<!-- 18 -->[docs] Fix 404 links (#36969) @oliviertassinari
- &#8203;<!-- 17 -->[docs] Clarify when bundle size optimization is needed (#36823) @oliviertassinari
- &#8203;<!-- 16 -->[docs] Fix Chakra UI theme scoping typo (#36950) @mj12albert
- &#8203;<!-- 15 -->[docs] Add snackbar example using sonner (#36926) @PupoSDC
- &#8203;<!-- 14 -->[docs] Adjust the Material Icons page design and formatting (#36937) @danilo-leal
- &#8203;<!-- 13 -->[docs] Allows to customize menu with any icon (#36408) @alexfauquette
- &#8203;<!-- 12 -->[docs] Add info about passing ref to input element (#36913) @tomaskebrle
- &#8203;<!-- 11 -->[docs][material] Tabs API section cleanup (#36942) @mnajdova

### Core

- &#8203;<!-- 22 -->[core] Fix CI failure on `master` (#37016) @hbjORbj
- &#8203;<!-- 05 -->[typescript] Add the missing explicit component return types (#36924) @michaldudak
- &#8203;<!-- 04 -->[website] Update main data grid demo on X landing page (#37001) @cherniavskii
- &#8203;<!-- 03 -->[website] Design role updates (#36997) @danilo-leal
- &#8203;<!-- 02 -->[website] X component section improvements (#36598) @danilo-leal
- &#8203;<!-- 01 -->[website] Developer Advocate role filled @oliviertassinari

All contributors of this release in alphabetical order: @alexfauquette, @cherniavskii, @danilo-leal, @gitstart, @hbjORbj, @michaldudak, @mj12albert, @mnajdova, @oliviertassinari, @PupoSDC, @sai6855, @siriwatknp, @TakhyunKim, @tomaskebrle

## 5.12.1

<!-- generated comparing v5.12.0..master -->
Expand Down
2 changes: 1 addition & 1 deletion benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6",
"@mdx-js/react": "^2.3.0",
"@mui/material": "^5.12.1",
"@mui/material": "^5.12.2",
"@mui/styles": "^5.12.0",
"@mui/system": "^5.12.1",
"@styled-system/css": "^5.1.5",
Expand Down
10 changes: 5 additions & 5 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
"@fortawesome/fontawesome-svg-core": "^6.2.1",
"@fortawesome/free-solid-svg-icons": "^6.2.1",
"@fortawesome/react-fontawesome": "^0.2.0",
"@mui/base": "5.0.0-alpha.126",
"@mui/base": "5.0.0-alpha.127",
"@mui/docs": "^5.12.0",
"@mui/icons-material": "^5.11.16",
"@mui/joy": "5.0.0-alpha.76",
"@mui/lab": "5.0.0-alpha.127",
"@mui/joy": "5.0.0-alpha.77",
"@mui/lab": "5.0.0-alpha.128",
"@mui/markdown": "^5.0.0",
"@mui/material": "^5.12.1",
"@mui/material-next": "6.0.0-alpha.82",
"@mui/material": "^5.12.2",
"@mui/material-next": "6.0.0-alpha.83",
"@mui/styled-engine": "^5.12.0",
"@mui/styled-engine-sc": "^5.12.0",
"@mui/styles": "^5.12.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/monorepo",
"version": "5.12.1",
"version": "5.12.2",
"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/api-docs-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"dependencies": {
"@babel/core": "^7.21.3",
"@mui-internal/docs-utilities": "*",
"@mui-internal/docs-utilities": "^1.0.0",
"@mui/markdown": "^5.0.0",
"ast-types": "^0.14.2",
"doctrine": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/base",
"version": "5.0.0-alpha.126",
"version": "5.0.0-alpha.127",
"private": false,
"author": "MUI Team",
"description": "A library of headless ('unstyled') React UI components and low-level hooks.",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-codemod/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/codemod",
"version": "5.12.0",
"version": "5.12.2",
"bin": "./codemod.js",
"private": false,
"author": "MUI Team",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-core-downloads-tracker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/core-downloads-tracker",
"version": "5.12.1",
"version": "5.12.2",
"private": false,
"author": "MUI Team",
"description": "Internal package to track number of downloads of our design system libraries",
Expand Down
6 changes: 3 additions & 3 deletions packages/mui-joy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/joy",
"version": "5.0.0-alpha.76",
"version": "5.0.0-alpha.77",
"private": false,
"author": "MUI Team",
"description": "A library of beautifully designed React UI components.",
Expand Down Expand Up @@ -57,8 +57,8 @@
},
"dependencies": {
"@babel/runtime": "^7.21.0",
"@mui/base": "5.0.0-alpha.126",
"@mui/core-downloads-tracker": "^5.12.1",
"@mui/base": "5.0.0-alpha.127",
"@mui/core-downloads-tracker": "^5.12.2",
"@mui/system": "^5.12.1",
"@mui/types": "^7.2.4",
"@mui/utils": "^5.12.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/mui-lab/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/lab",
"version": "5.0.0-alpha.127",
"version": "5.0.0-alpha.128",
"private": false,
"author": "MUI Team",
"description": "Laboratory for new MUI modules.",
Expand Down Expand Up @@ -61,7 +61,7 @@
},
"dependencies": {
"@babel/runtime": "^7.21.0",
"@mui/base": "5.0.0-alpha.126",
"@mui/base": "5.0.0-alpha.127",
"@mui/system": "^5.12.1",
"@mui/types": "^7.2.4",
"@mui/utils": "^5.12.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/mui-material-next/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/material-next",
"version": "6.0.0-alpha.82",
"version": "6.0.0-alpha.83",
"private": false,
"author": "MUI Team",
"description": "v6-alpha: React components that implement Google's Material Design",
Expand Down Expand Up @@ -59,8 +59,8 @@
},
"dependencies": {
"@babel/runtime": "^7.21.0",
"@mui/base": "5.0.0-alpha.126",
"@mui/material": "^5.12.1",
"@mui/base": "5.0.0-alpha.127",
"@mui/material": "^5.12.2",
"@mui/system": "^5.12.1",
"@mui/types": "^7.2.4",
"@mui/utils": "^5.12.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/mui-material/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/material",
"version": "5.12.1",
"version": "5.12.2",
"private": false,
"author": "MUI Team",
"description": "React components that implement Google's Material Design.",
Expand Down Expand Up @@ -61,8 +61,8 @@
},
"dependencies": {
"@babel/runtime": "^7.21.0",
"@mui/base": "5.0.0-alpha.126",
"@mui/core-downloads-tracker": "^5.12.1",
"@mui/base": "5.0.0-alpha.127",
"@mui/core-downloads-tracker": "^5.12.2",
"@mui/system": "^5.12.1",
"@mui/types": "^7.2.4",
"@mui/utils": "^5.12.0",
Expand Down