Skip to content

Commit

Permalink
[release] v5.12.1 (#36915)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnajdova committed Apr 17, 2023
1 parent 7310533 commit d14d288
Show file tree
Hide file tree
Showing 11 changed files with 101 additions and 27 deletions.
74 changes: 74 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,79 @@
# [Versions](https://mui.com/versions/)

## 5.12.1

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

_Apr 17, 2023_

A big thanks to the 16 contributors who made this release possible. This release was mostly about 🐛 bug fixes and 📚 documentation improvements.

### `@mui/material@5.12.1`

- &#8203;<!-- 24 -->[Autocomplete] Fix autocomplete left padding (#36649) @mj12albert
- &#8203;<!-- 17 -->[Button] Fix contained with inherit prop not adapting on dark mode (#34508) @jesrodri
- &#8203;<!-- 07 -->[FormControlLabel] Add `required` prop (#34207) @emlai
- &#8203;<!-- 04 -->[Tabs] Fix null reference in ScrollbarSize after unmounting (#36485) @rkdrnf
- &#8203;<!-- 03 -->[TextField] Fix type error when using `inputTypeSearch` class for `outlined` and `filled` inputs (#36740) @sai6855
- &#8203;<!-- 02 -->[ThemeProvider] Fix theme proptypes (#36852) @siriwatknp

### `@mui/system@5.12.1`

#### Breaking changes

- &#8203;<!-- 06 -->[Grid2] Replace context with `cloneElement` (#36399) @siriwatknp

`Grid2` now uses `React.cloneElement` instead of React context for passing the spacing and columns to the next container. The change is close to how CSS flexbox behaves.

#### Changes

- &#8203;<!-- 14 -->[CssVarsProvider] Always generate new `css` object (#36853) @siriwatknp

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

#### Breaking changes

- &#8203;<!-- 23 -->[base] Refactor the compound components building blocks (#36400) @michaldudak
Components affected by the changes are:
- Menu
- `MenuUnstyledContext` is replaced by `MenuProvider`. The value to pass to the provider is returned by the `useMenu` hook.
- MenuUnstyled's `onClose` prop is replaced by `onOpenChange`. It has the `open` parameter and is called when a menu is opened or closed
- Select
- `SelectUnstyledContext` is replaced by `SelectProvider`. The value to pass to the provider is returned by the `useSelect` hook.
- `SelectUnstyled`'s popup is permanently mounted.
- The `defaultOpen` prop was added to the SelectUnstyled. The open/close state can now be controlled or uncontrolled, as a `value`.
- Tabs
- `TabsContext` is replaced by `TabsProvider`. The value to pass to the provider is returned by the `useTabs` hook.
- To deselect all tabs, pass in `null` to Tabs' `value` prop, instead of `false`. This is consistent with how Select works.
- The `value` prop is still technically not mandatory on TabUnstyled and TabPanel, but when omitted, the contents of the selected tab panel will not be rendered during SSR.

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

- &#8203;<!-- 05 -->[Table][Joy] Replace uses of css selector `*-child` to `*-of-type` (#36839) @keyvanm

### Docs

- &#8203;<!-- 25 --> [docs][base] Move styles to the bottom of demos code for `BadgeUnstyled` (#36723) @varunmulay22
- &#8203;<!-- 22 -->[docs][base] Mention that the hook does not accept any parameters in the `Parameters` section of the API docs (#36773) @ZeeshanTamboli
- &#8203;<!-- 21 -->[docs][base] Move styles to the bottom of demos code for `ModalUnstyled` (#36580) @gitstart
- &#8203;<!-- 20 -->[docs][base] Move styles to the bottom of demos code for `Tabs` (#36577) @gitstart
- &#8203;<!-- 19 -->[docs][base] Move styles to the bottom of demos code for `Popper` (#36578) @gitstart
- &#8203;<!-- 18 -->[docs][base] Move styles to the bottom of demos code for `TablePagination` (#36593) @gitstart
- &#8203;<!-- 13 -->[docs] Remove the incorrect info about useButton's ref parameter (#36883) @michaldudak
- &#8203;<!-- 12 -->[docs] Sync <Stack> between projects (#36785) @oliviertassinari
- &#8203;<!-- 11 -->[docs] Add guides to overriding component structure in Base UI and Joy UI docs (#34990) @samuelsycamore
- &#8203;<!-- 10 -->[docs] Content changed from 'row' to 'orientation=horizontal' (#36858) @navedqb
- &#8203;<!-- 09 -->[docs][Joy] `component`, `slots`, `slotProps` must be visible in Prop table in API docs (#36666) @hbjORbj
- &#8203;<!-- 08 -->[docs][Select] Fix duplicate ID in small size Select demo (#36792) @sai6855

### Core

- &#8203;<!-- 16 -->[core] Use glob to find the test files in parseTest (#36305) @flaviendelangle
- &#8203;<!-- 15 -->[core] Fix minor SEO issues @oliviertassinari
- &#8203;<!-- 01 -->[website] Fix visual bug appbar (#36875) @oliviertassinari

All contributors of this release in alphabetical order: @emlai, @flaviendelangle, @gitstart, @hbjORbj, @jesrodri, @keyvanm, @michaldudak, @mj12albert, @navedqb, @oliviertassinari, @rkdrnf, @sai6855, @samuelsycamore, @siriwatknp, @varunmulay22, @ZeeshanTamboli

## 5.12.0

<!-- generated comparing v5.11.16..master -->
Expand Down
4 changes: 2 additions & 2 deletions benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6",
"@mdx-js/react": "^2.3.0",
"@mui/material": "^5.12.0",
"@mui/material": "^5.12.1",
"@mui/styles": "^5.12.0",
"@mui/system": "^5.12.0",
"@mui/system": "^5.12.1",
"@styled-system/css": "^5.1.5",
"benchmark": "^2.1.4",
"playwright": "^1.31.2",
Expand Down
12 changes: 6 additions & 6 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@
"@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.125",
"@mui/base": "5.0.0-alpha.126",
"@mui/docs": "^5.12.0",
"@mui/icons-material": "^5.11.16",
"@mui/joy": "5.0.0-alpha.75",
"@mui/lab": "5.0.0-alpha.126",
"@mui/joy": "5.0.0-alpha.76",
"@mui/lab": "5.0.0-alpha.127",
"@mui/markdown": "^5.0.0",
"@mui/material": "^5.12.0",
"@mui/material-next": "6.0.0-alpha.81",
"@mui/material": "^5.12.1",
"@mui/material-next": "6.0.0-alpha.82",
"@mui/styled-engine": "^5.12.0",
"@mui/styled-engine-sc": "^5.12.0",
"@mui/styles": "^5.12.0",
"@mui/system": "^5.12.0",
"@mui/system": "^5.12.1",
"@mui/types": "^7.2.4",
"@mui/x-data-grid": "6.0.0-alpha.14",
"@mui/x-data-grid-generator": "6.0.0-alpha.14",
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.0",
"version": "5.12.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/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.125",
"version": "5.0.0-alpha.126",
"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-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.0",
"version": "5.12.1",
"private": false,
"author": "MUI Team",
"description": "Internal package to track number of downloads of our design system libraries",
Expand Down
8 changes: 4 additions & 4 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.75",
"version": "5.0.0-alpha.76",
"private": false,
"author": "MUI Team",
"description": "A library of beautifully designed React UI components.",
Expand Down Expand Up @@ -57,9 +57,9 @@
},
"dependencies": {
"@babel/runtime": "^7.21.0",
"@mui/base": "5.0.0-alpha.125",
"@mui/core-downloads-tracker": "^5.12.0",
"@mui/system": "^5.12.0",
"@mui/base": "5.0.0-alpha.126",
"@mui/core-downloads-tracker": "^5.12.1",
"@mui/system": "^5.12.1",
"@mui/types": "^7.2.4",
"@mui/utils": "^5.12.0",
"clsx": "^1.2.1",
Expand Down
6 changes: 3 additions & 3 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.126",
"version": "5.0.0-alpha.127",
"private": false,
"author": "MUI Team",
"description": "Laboratory for new MUI modules.",
Expand Down Expand Up @@ -61,8 +61,8 @@
},
"dependencies": {
"@babel/runtime": "^7.21.0",
"@mui/base": "5.0.0-alpha.125",
"@mui/system": "^5.12.0",
"@mui/base": "5.0.0-alpha.126",
"@mui/system": "^5.12.1",
"@mui/types": "^7.2.4",
"@mui/utils": "^5.12.0",
"clsx": "^1.2.1",
Expand Down
8 changes: 4 additions & 4 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.81",
"version": "6.0.0-alpha.82",
"private": false,
"author": "MUI Team",
"description": "v6-alpha: React components that implement Google's Material Design",
Expand Down Expand Up @@ -59,9 +59,9 @@
},
"dependencies": {
"@babel/runtime": "^7.21.0",
"@mui/base": "5.0.0-alpha.125",
"@mui/material": "^5.12.0",
"@mui/system": "^5.12.0",
"@mui/base": "5.0.0-alpha.126",
"@mui/material": "^5.12.1",
"@mui/system": "^5.12.1",
"@mui/types": "^7.2.4",
"@mui/utils": "^5.12.0",
"@popperjs/core": "^2.11.7",
Expand Down
8 changes: 4 additions & 4 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.0",
"version": "5.12.1",
"private": false,
"author": "MUI Team",
"description": "React components that implement Google's Material Design.",
Expand Down Expand Up @@ -61,9 +61,9 @@
},
"dependencies": {
"@babel/runtime": "^7.21.0",
"@mui/base": "5.0.0-alpha.125",
"@mui/core-downloads-tracker": "^5.12.0",
"@mui/system": "^5.12.0",
"@mui/base": "5.0.0-alpha.126",
"@mui/core-downloads-tracker": "^5.12.1",
"@mui/system": "^5.12.1",
"@mui/types": "^7.2.4",
"@mui/utils": "^5.12.0",
"@types/react-transition-group": "^4.4.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-system/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/system",
"version": "5.12.0",
"version": "5.12.1",
"private": false,
"author": "MUI Team",
"description": "CSS utilities for rapidly laying out custom designs.",
Expand Down

0 comments on commit d14d288

Please sign in to comment.