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.11.6 #35925

Merged
merged 4 commits into from
Jan 23, 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
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.11.6

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

_Jan 23, 2023_

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

- @ZeeshanTamboli improved the logic for handling the value label in the `SliderUnstyled` (#35805)
- many other 🐛 bug fixes and 📚 documentation improvements

### `@mui/[email protected]`

- &#8203;<!-- 15 -->[Box] Fix usage of not supported features in TypeScript 3.5 (#35877) @mnajdova
- &#8203;<!-- 14 -->[Button] Fix border color for secondary disabled button (#35866) @SaidMarar
- &#8203;<!-- 03 -->[SwipeableDrawer] Add callback to customise touchstart ignore for swipeable drawer (#30759) @tech-meppem

### `@mui/[email protected]`

#### Breaking changes
mnajdova marked this conversation as resolved.
Show resolved Hide resolved

- &#8203;<!-- 04 -->[SliderUnstyled] Improved logic for displaying the value label (#35805) @ZeeshanTamboli

- The `valueLabelDisplay` prop is removed from `SliderUnstyled`. The prop was not working as intended in `SliderUnstyled` (See #35398). You can instead provide a `valueLabel` slot with the `slots` prop API to show the value label:

```diff
- <SliderUnstyled valueLabelDisplay="on" />
+ <SliderUnstyled slots={{ valueLabel: SliderValueLabel }} />
```

The following demo shows how to show a value label when it is hovered over with the thumb: https://mui.com/base/react-slider/#value-label

- The following classes are removed from `sliderUnstyledClasses` since they are not needed for the value label:

```diff
- valueLabel
- valueLabelOpen
- valueLabelCircle
- valueLabelLabel
```

In the custom value label component, you can define your own classNames and target them with CSS.

- The `SliderValueLabelUnstyled` component is removed from SliderUnstyled. You should provide your own custom component for the value label.

- To avoid using `React.cloneElement` API in value label, the component hierarchy structure of the value label is changed. The value label is now inside the Thumb slot - `Thumb` -> `Input`, `ValueLabel`.

#### Changes

- &#8203;<!-- 05 -->[InputUnstyled] Fix externally provided `inputRef` is ignored (#35807) @sai6855

### `@mui/[email protected]`

- &#8203;<!-- 17 -->[Avatar][joy] Remove `imgProps` prop and add Codemod script for migration (#35859) @hbjORbj

### Docs

- &#8203;<!-- 16 -->[blog] Date and time pickers revamped (#35486) @joserodolfofreitas
- &#8203;<!-- 10 -->[docs] Fix incorrect breakpoint use (#34948) @rosita-dmello
- &#8203;<!-- 09 -->[docs] Replace react-virtualized with react-virtuoso in Table (#35700) @petyosi
- &#8203;<!-- 08 -->[docs] Fix account menu demo not closing with keyboard. (#35870) @mj12albert
- &#8203;<!-- 07 -->[docs] Fix typos in the docs of Joy UI (#35876) @HeVictor
- &#8203;<!-- 06 -->[docs] Fix wording in `Color` page (#35873) @oliv37

### Core

- &#8203;<!-- 13 -->[core] Fix release changelog to handle commits with empty author field (#35921) @mnajdova
- &#8203;<!-- 12 -->[core] Revert `docs-utilities` migration to TypeScript and fix type (#35881) @ZeeshanTamboli
- &#8203;<!-- 11 -->[core] Migrate internal `docs-utilities` package to TypeScript (#35846) @ZeeshanTamboli
- &#8203;<!-- 02 -->[website] Designer don't spend their time writing code @oliviertassinari
- &#8203;<!-- 01 -->[website] Emphasis the technical background need for this role @oliviertassinari

All contributors of this release in alphabetical order: @HeVictor, @hbjORbj, @joserodolfofreitas, @mj12albert, @mnajdova, @oliv37, @oliviertassinari, @petyosi, @rosita-dmello, @sai6855, @SaidMarar, @tech-meppem, @ZeeshanTamboli

## 5.11.5

<!-- generated comparing v5.11.4..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.5",
"@emotion/styled": "^11.10.5",
"@mdx-js/react": "^2.2.1",
"@mui/material": "^5.11.5",
"@mui/material": "^5.11.6",
"@mui/styles": "^5.11.2",
"@mui/system": "^5.11.5",
"@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.114",
"@mui/base": "5.0.0-alpha.115",
"@mui/docs": "^5.11.2",
"@mui/icons-material": "^5.11.0",
"@mui/joy": "5.0.0-alpha.63",
"@mui/lab": "5.0.0-alpha.116",
"@mui/joy": "5.0.0-alpha.64",
"@mui/lab": "5.0.0-alpha.117",
"@mui/markdown": "^5.0.0",
"@mui/material": "^5.11.5",
"@mui/material-next": "6.0.0-alpha.71",
"@mui/material": "^5.11.6",
"@mui/material-next": "6.0.0-alpha.72",
"@mui/styled-engine": "^5.11.0",
"@mui/styled-engine-sc": "^5.11.0",
"@mui/styles": "^5.11.2",
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.11.5",
"version": "5.11.6",
"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.114",
"version": "5.0.0-alpha.115",
"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.11.5",
"version": "5.11.6",
"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.11.5",
"version": "5.11.6",
"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.63",
"version": "5.0.0-alpha.64",
"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.20.7",
"@mui/base": "5.0.0-alpha.114",
"@mui/core-downloads-tracker": "^5.11.5",
"@mui/base": "5.0.0-alpha.115",
"@mui/core-downloads-tracker": "^5.11.6",
"@mui/system": "^5.11.5",
"@mui/types": "^7.2.3",
"@mui/utils": "^5.11.2",
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.116",
"version": "5.0.0-alpha.117",
"private": false,
"author": "MUI Team",
"description": "Laboratory for new MUI modules.",
Expand Down Expand Up @@ -61,7 +61,7 @@
},
"dependencies": {
"@babel/runtime": "^7.20.7",
"@mui/base": "5.0.0-alpha.114",
"@mui/base": "5.0.0-alpha.115",
"@mui/system": "^5.11.5",
"@mui/types": "^7.2.3",
"@mui/utils": "^5.11.2",
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.71",
"version": "6.0.0-alpha.72",
"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.20.7",
"@mui/base": "5.0.0-alpha.114",
"@mui/material": "^5.11.5",
"@mui/base": "5.0.0-alpha.115",
"@mui/material": "^5.11.6",
"@mui/system": "^5.11.5",
"@mui/types": "^7.2.3",
"@mui/utils": "^5.11.2",
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.11.5",
"version": "5.11.6",
"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.20.7",
"@mui/base": "5.0.0-alpha.114",
"@mui/core-downloads-tracker": "^5.11.5",
"@mui/base": "5.0.0-alpha.115",
"@mui/core-downloads-tracker": "^5.11.6",
"@mui/system": "^5.11.5",
"@mui/types": "^7.2.3",
"@mui/utils": "^5.11.2",
Expand Down