From 30fa749fd528b77f1613b78581c99abe97c2f724 Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Mon, 23 Jan 2023 17:00:54 +0100 Subject: [PATCH 1/4] [release] v5.11.6 --- CHANGELOG.md | 58 +++++++++++++++++++ benchmark/package.json | 2 +- docs/package.json | 10 ++-- package.json | 2 +- packages/mui-base/package.json | 2 +- packages/mui-codemod/package.json | 2 +- .../mui-core-downloads-tracker/package.json | 2 +- packages/mui-joy/package.json | 6 +- packages/mui-lab/package.json | 4 +- packages/mui-material-next/package.json | 6 +- packages/mui-material/package.json | 6 +- 11 files changed, 79 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 48328d04b9145c..b36ae98ba4b4fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,63 @@ # [Versions](https://mui.com/versions/) +## 5.11.6 + + + +_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/material@5.11.6` + +- ​[Box] Fix usage of not supported features in TypeScript 3.5 (#35877) @mnajdova +- ​[Button] Fix border color for secondary disabled button (#35866) @SaidMarar +- ​[SwipeableDrawer] Add callback to customise touchstart ignore for swipeable drawer (#30759) @tech-meppem + +### `@mui/base@5.0.0-alpha.115` + +#### Breaking changes + +- ​[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 + - + + + ``` + +#### Changes + +- ​[InputUnstyled] Fix externally provided `inputRef` is ignored (#35807) @sai6855 + +### `@mui/joy@5.0.0-alpha.64` + +- ​[Avatar][joy] Remove `imgProps` prop and add Codemod script for migration (#35859) @hbjORbj + +### Docs + +- ​[blog] Date and time pickers revamped (#35486) @joserodolfofreitas +- ​[docs] Fix incorrect breakpoint use (#34948) @rosita-dmello +- ​[docs] Replace react-virtualized with react-virtuoso in Table (#35700) @petyosi +- ​[docs] Fix account menu demo not closing with keyboard. (#35870) @mj12albert +- ​[docs] Fix typos in the docs of Joy UI (#35876) @HeVictor +- ​[docs] Fix wording in `Color` page (#35873) @oliv37 + +### Core + +- ​[core] Fix release changelog to handle commits with empty author field (#35921) @mnajdova +- ​[core] Revert `docs-utilities` migration to TypeScript and fix type (#35881) @ZeeshanTamboli +- ​[core] Migrate internal `docs-utilities` package to TypeScript (#35846) @ZeeshanTamboli +- ​[website] Designer don't spend their time writing code @oliviertassinari +- ​[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 + +Done in 2.16s. + ## 5.11.5 diff --git a/benchmark/package.json b/benchmark/package.json index cfbc98d91110ce..bcaf2c9c0a47cf 100644 --- a/benchmark/package.json +++ b/benchmark/package.json @@ -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", diff --git a/docs/package.json b/docs/package.json index 4de51d77402704..15f613ac5aa036 100644 --- a/docs/package.json +++ b/docs/package.json @@ -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", diff --git a/package.json b/package.json index 3e6979872338c9..ee367ff2b11de2 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/packages/mui-base/package.json b/packages/mui-base/package.json index 7f22cbab635555..93d03e846347a0 100644 --- a/packages/mui-base/package.json +++ b/packages/mui-base/package.json @@ -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.", diff --git a/packages/mui-codemod/package.json b/packages/mui-codemod/package.json index 103a3824c74cfc..af0846d3ab21d0 100644 --- a/packages/mui-codemod/package.json +++ b/packages/mui-codemod/package.json @@ -1,6 +1,6 @@ { "name": "@mui/codemod", - "version": "5.11.5", + "version": "5.11.6", "bin": "./codemod.js", "private": false, "author": "MUI Team", diff --git a/packages/mui-core-downloads-tracker/package.json b/packages/mui-core-downloads-tracker/package.json index 77afad9b319bba..366b698077a370 100644 --- a/packages/mui-core-downloads-tracker/package.json +++ b/packages/mui-core-downloads-tracker/package.json @@ -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", diff --git a/packages/mui-joy/package.json b/packages/mui-joy/package.json index 2038d9c4dfcc65..98f452d6980e7a 100644 --- a/packages/mui-joy/package.json +++ b/packages/mui-joy/package.json @@ -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.", @@ -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", diff --git a/packages/mui-lab/package.json b/packages/mui-lab/package.json index f444be659001a8..0a8878bc96d0d0 100644 --- a/packages/mui-lab/package.json +++ b/packages/mui-lab/package.json @@ -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.", @@ -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", diff --git a/packages/mui-material-next/package.json b/packages/mui-material-next/package.json index de582357e3d2f6..38b54e42ed28b4 100644 --- a/packages/mui-material-next/package.json +++ b/packages/mui-material-next/package.json @@ -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", @@ -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", diff --git a/packages/mui-material/package.json b/packages/mui-material/package.json index ea747a34bc98ef..cabefd03cdf15c 100644 --- a/packages/mui-material/package.json +++ b/packages/mui-material/package.json @@ -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.", @@ -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", From 9e9bfe33191f0a3887c987d82811200b4f1d2a45 Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Mon, 23 Jan 2023 17:28:03 +0100 Subject: [PATCH 2/4] Add all breaking changes --- CHANGELOG.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b36ae98ba4b4fe..bc3185df8d9172 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,13 +22,31 @@ A big thanks to the 13 contributors who made this release possible. Here are som #### Breaking changes - ​[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: + + - 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 - + ``` + 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 - ​[InputUnstyled] Fix externally provided `inputRef` is ignored (#35807) @sai6855 From 938339faa3e3279ee439840c264c79b9ba0ffccb Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Mon, 23 Jan 2023 17:38:43 +0100 Subject: [PATCH 3/4] Update CHANGELOG.md Co-authored-by: Zeeshan Tamboli Signed-off-by: Marija Najdova --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc3185df8d9172..5351f032080208 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -74,7 +74,6 @@ A big thanks to the 13 contributors who made this release possible. Here are som All contributors of this release in alphabetical order: @HeVictor, @hbjORbj, @joserodolfofreitas, @mj12albert, @mnajdova, @oliv37, @oliviertassinari, @petyosi, @rosita-dmello, @sai6855, @SaidMarar, @tech-meppem, @ZeeshanTamboli -Done in 2.16s. ## 5.11.5 From 34f7cc31321a18d847cbf941742f93b577596bae Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Mon, 23 Jan 2023 18:13:27 +0100 Subject: [PATCH 4/4] fix lint --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5351f032080208..425746e0d6a3c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -74,7 +74,6 @@ A big thanks to the 13 contributors who made this release possible. Here are som 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