From 40f4b275022f03e48cf4809cd53d0d0dabb40424 Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Tue, 8 Aug 2023 11:36:11 +0200 Subject: [PATCH] [release] v5.14.4 (#38364) --- CHANGELOG.md | 98 +++++++++++++++++++ benchmark/package.json | 6 +- docs/package.json | 16 +-- package.json | 2 +- packages/mui-base/package.json | 4 +- packages/mui-codemod/package.json | 2 +- .../mui-core-downloads-tracker/package.json | 2 +- packages/mui-docs/package.json | 4 +- packages/mui-joy/package.json | 10 +- packages/mui-lab/package.json | 8 +- packages/mui-material-next/package.json | 10 +- packages/mui-material/package.json | 10 +- packages/mui-private-theming/package.json | 4 +- packages/mui-styles/package.json | 6 +- packages/mui-system/package.json | 6 +- packages/mui-utils/package.json | 2 +- 16 files changed, 144 insertions(+), 46 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f410147fd27e8..0a5802f8cf6ac8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,103 @@ # [Versions](https://mui.com/versions/) +## 5.14.4 + + + +_Aug 8, 2023_ + +A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨: + +- 🎉 Added [Number input](https://mui.com/base-ui/react-number-input) component & [useNumberInput](https://mui.com/base-ui/react-number-input#hook) hook in [Base UI](https://mui.com/base-ui/getting-started/) @mj12albert + +### `@mui/material@5.14.4` + +- ​[Checkbox][material] Add size classes (#38182) @michaldudak +- ​[Typography] Improve inherit variant logic (#38123) @ZeeshanTamboli + +### `@mui/system@5.14.4` + +- ​Revert "[Box] Remove `component` from TypeMap (#38168)" (#38356) @michaldudak + +### `@mui/base@5.0.0-beta.10` + +#### Breaking changes + +- ​[base] Ban default exports (#38200) @michaldudak + + Base UI default exports were changed to named ones. Previously we had a mix of default and named ones. + This was changed to improve consistency and avoid problems some bundlers have with default exports. + See https://github.com/mui/material-ui/issues/21862 for more context. + + ```diff + - import Button, { buttonClasses } from '@mui/base/Button'; + + import { Button, buttonClasses } from '@mui/base/Button'; + - import BaseMenu from '@mui/base/Menu'; + + import { Menu as BaseMenu } from '@mui/base/Menu'; + ``` + + Additionally, the `ClassNameGenerator` has been moved to the directory matching its name: + + ```diff + - import ClassNameGenerator from '@mui/base/className'; + + import { ClassNameGenerator } from '@mui/base/ClassNameGenerator'; + ``` + + A codemod is provided to help with the migration: + + ```bash + npx @mui/codemod v5.0.0/base-use-named-imports + ``` + +#### Changes + +- ​[base] Create useNumberInput and NumberInput (#36119) @mj12albert +- ​[Select][base] Fix flicker on click of controlled Select button (#37855) @VishruthR +- ​[Dropdown] Fix imports of types (#38296) @yash-thakur + +### `@mui/joy@5.0.0-beta.1` + +- ​[joy-ui][MenuButton] Fix disable of `MenuButton` (#38342) @sai6855 + +### Docs + +- ​[docs][AppBar] Fix `ResponsiveAppBar` demo logo href (#38346) @iownthegame +- ​[docs][base] Add Tailwind CSS + plain CSS demo on the Button page (#38240) @alisasanib +- ​[docs][Menu][base] Remove `Unstyled` prefix from demos' function names (#38270) @sai6855 +- ​[docs] Add themeable component guide (#37908) @siriwatknp +- ​[docs] Fix Joy UI demo background color (#38307) @oliviertassinari +- ​[docs] Update API docs for Number Input component (#38301) @ZeeshanTamboli +- ​[docs][joy-ui] Revise the theme typography page (#38285) @danilo-leal +- ​[docs][joy-ui] Add TS demo for Menu Bar (#38308) @sai6855 +- ​[docs][joy-ui] Updated Typography callout at getting started (#38289) @zanivan +- ​[docs][joy-ui] Fix the Inter font installation instructions (#38284) @danilo-leal +- ​[docs][material] Add note to Autocomplete about ref forwarding (#38305) @samuelsycamore +- ​[docs][Skeleton] Make the demos feel more realistic (#38212) @oliviertassinari + +- ​[examples] Swap Next.js examples between App Router and Pages Router; update naming convention (#38204) @samuelsycamore +- ​[examples][material-ui] Add Material UI + Next.js (App Router) example in JS (#38323) @samuelsycamore +- ​[blog] Discord announcement blog (#38258) @richbustos +- ​[blog] Fix 301 links to Toolpad @oliviertassinari +- ​[website] Updating Charts demo with real charts usage for MUI X marketing page (#38317) @richbustos +- ​[website] Adjust styles of the Product section on the homepage (#38366) @danilo-leal +- ​[website] Add Nora teamMember card to 'About' (#38358) @noraleonte +- ​[website] Fix image layout shift (#38326) @oliviertassinari + +### Core + +- ​[core] Fix docs demo export function consistency (#38191) @oliviertassinari +- ​[core] Fix the link-check script on Windows (#38276) @michaldudak +- ​[core] Use @testing-library/user-event direct API (#38325) @mj12albert +- ​[core] Port GitHub workflow for ensuring triage label is present (#38312) @DanailH +- ​[docs-infra] Consider files ending with .types.ts as props files (#37533) @mnajdova +- ​[docs-infra] Fix skip to content design (#38304) @oliviertassinari +- ​[docs-infra] Add a general round of polish to the API content display (#38282) @danilo-leal +- ​[docs-infra] Make the side nav collapse animation snappier (#38259) @danilo-leal +- ​[docs-infra] New Component API design followup (#38183) @cherniavskii +- ​[test] Remove unnecessary `async` keyword from test (#38373) @ZeeshanTamboli + +All contributors of this release in alphabetical order: @alisasanib, @cherniavskii, @DanailH, @danilo-leal, @iownthegame, @michaldudak, @mj12albert, @mnajdova, @noraleonte, @oliviertassinari, @richbustos, @sai6855, @samuelsycamore, @siriwatknp, @VishruthR, @yash-thakur, @zanivan, @ZeeshanTamboli + ## 5.14.3 diff --git a/benchmark/package.json b/benchmark/package.json index 6a6b93e4d8eded..f639c0c1e78c2e 100644 --- a/benchmark/package.json +++ b/benchmark/package.json @@ -15,9 +15,9 @@ "@emotion/react": "^11.11.1", "@emotion/styled": "^11.11.0", "@mdx-js/react": "^2.3.0", - "@mui/material": "^5.14.3", - "@mui/styles": "^5.14.3", - "@mui/system": "^5.14.3", + "@mui/material": "^5.14.4", + "@mui/styles": "^5.14.4", + "@mui/system": "^5.14.4", "@styled-system/css": "^5.1.5", "benchmark": "^2.1.4", "playwright": "^1.36.2", diff --git a/docs/package.json b/docs/package.json index 132a9d3bc8f9e5..e23b6e4fbc3735 100644 --- a/docs/package.json +++ b/docs/package.json @@ -31,18 +31,18 @@ "@fortawesome/fontawesome-svg-core": "^6.4.0", "@fortawesome/free-solid-svg-icons": "^6.4.0", "@fortawesome/react-fontawesome": "^0.2.0", - "@mui/base": "5.0.0-beta.9", - "@mui/docs": "^5.14.3", + "@mui/base": "5.0.0-beta.10", + "@mui/docs": "^5.14.4", "@mui/icons-material": "^5.14.3", - "@mui/joy": "5.0.0-beta.0", - "@mui/lab": "5.0.0-alpha.138", + "@mui/joy": "5.0.0-beta.1", + "@mui/lab": "5.0.0-alpha.139", "@mui/markdown": "^5.0.0", - "@mui/material": "^5.14.3", - "@mui/material-next": "6.0.0-alpha.95", + "@mui/material": "^5.14.4", + "@mui/material-next": "6.0.0-alpha.96", "@mui/styled-engine": "^5.13.2", "@mui/styled-engine-sc": "^5.12.0", - "@mui/styles": "^5.14.3", - "@mui/system": "^5.14.3", + "@mui/styles": "^5.14.4", + "@mui/system": "^5.14.4", "@mui/types": "^7.2.4", "@mui/x-charts": "^6.0.0-alpha.6", "@mui/x-data-grid": "6.10.2", diff --git a/package.json b/package.json index 728f0121e3c8e3..a852f9cbc5ff34 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mui/monorepo", - "version": "5.14.3", + "version": "5.14.4", "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 fbf67f7347a93a..a213f0b7c55019 100644 --- a/packages/mui-base/package.json +++ b/packages/mui-base/package.json @@ -1,6 +1,6 @@ { "name": "@mui/base", - "version": "5.0.0-beta.9", + "version": "5.0.0-beta.10", "private": false, "author": "MUI Team", "description": "A library of headless ('unstyled') React UI components and low-level hooks.", @@ -54,7 +54,7 @@ "@babel/runtime": "^7.22.6", "@emotion/is-prop-valid": "^1.2.1", "@mui/types": "^7.2.4", - "@mui/utils": "^5.14.3", + "@mui/utils": "^5.14.4", "@popperjs/core": "^2.11.8", "clsx": "^2.0.0", "prop-types": "^15.8.1", diff --git a/packages/mui-codemod/package.json b/packages/mui-codemod/package.json index 3bfe7e3c428bd6..1ead4a5cecacf2 100644 --- a/packages/mui-codemod/package.json +++ b/packages/mui-codemod/package.json @@ -1,6 +1,6 @@ { "name": "@mui/codemod", - "version": "5.14.1", + "version": "5.14.4", "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 f0808badc0257f..9101951337b750 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.14.3", + "version": "5.14.4", "private": false, "author": "MUI Team", "description": "Internal package to track number of downloads of our design system libraries", diff --git a/packages/mui-docs/package.json b/packages/mui-docs/package.json index 66896c75b275ee..d1413889dc1c6f 100644 --- a/packages/mui-docs/package.json +++ b/packages/mui-docs/package.json @@ -1,6 +1,6 @@ { "name": "@mui/docs", - "version": "5.14.3", + "version": "5.14.4", "private": false, "author": "MUI Team", "description": "MUI Docs - Documentation building blocks.", @@ -45,7 +45,7 @@ }, "dependencies": { "@babel/runtime": "^7.22.6", - "@mui/utils": "^5.14.3", + "@mui/utils": "^5.14.4", "nprogress": "^0.2.0" }, "publishConfig": { diff --git a/packages/mui-joy/package.json b/packages/mui-joy/package.json index 66612667a25333..ce5f2fe4746f9f 100644 --- a/packages/mui-joy/package.json +++ b/packages/mui-joy/package.json @@ -1,6 +1,6 @@ { "name": "@mui/joy", - "version": "5.0.0-beta.0", + "version": "5.0.0-beta.1", "private": false, "author": "MUI Team", "description": "A library of beautifully designed React UI components.", @@ -57,11 +57,11 @@ }, "dependencies": { "@babel/runtime": "^7.22.6", - "@mui/base": "5.0.0-beta.9", - "@mui/core-downloads-tracker": "^5.14.3", - "@mui/system": "^5.14.3", + "@mui/base": "5.0.0-beta.10", + "@mui/core-downloads-tracker": "^5.14.4", + "@mui/system": "^5.14.4", "@mui/types": "^7.2.4", - "@mui/utils": "^5.14.3", + "@mui/utils": "^5.14.4", "clsx": "^2.0.0", "csstype": "^3.1.2", "prop-types": "^15.8.1", diff --git a/packages/mui-lab/package.json b/packages/mui-lab/package.json index a45ab2daac005f..fc636ae24274fc 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.138", + "version": "5.0.0-alpha.139", "private": false, "author": "MUI Team", "description": "Laboratory for new MUI modules.", @@ -61,10 +61,10 @@ }, "dependencies": { "@babel/runtime": "^7.22.6", - "@mui/base": "5.0.0-beta.9", - "@mui/system": "^5.14.3", + "@mui/base": "5.0.0-beta.10", + "@mui/system": "^5.14.4", "@mui/types": "^7.2.4", - "@mui/utils": "^5.14.3", + "@mui/utils": "^5.14.4", "clsx": "^2.0.0", "prop-types": "^15.8.1", "react-is": "^18.2.0" diff --git a/packages/mui-material-next/package.json b/packages/mui-material-next/package.json index f889119e3b0b80..3213fcab377c7a 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.95", + "version": "6.0.0-alpha.96", "private": false, "author": "MUI Team", "description": "v6-alpha: React components that implement Google's Material Design", @@ -59,11 +59,11 @@ }, "dependencies": { "@babel/runtime": "^7.22.6", - "@mui/base": "5.0.0-beta.9", - "@mui/material": "^5.14.3", - "@mui/system": "^5.14.3", + "@mui/base": "5.0.0-beta.10", + "@mui/material": "^5.14.4", + "@mui/system": "^5.14.4", "@mui/types": "^7.2.4", - "@mui/utils": "^5.14.3", + "@mui/utils": "^5.14.4", "@popperjs/core": "^2.11.8", "@types/react-transition-group": "^4.4.6", "clsx": "^2.0.0", diff --git a/packages/mui-material/package.json b/packages/mui-material/package.json index 9120008490109e..77d0c62f165e86 100644 --- a/packages/mui-material/package.json +++ b/packages/mui-material/package.json @@ -1,6 +1,6 @@ { "name": "@mui/material", - "version": "5.14.3", + "version": "5.14.4", "private": false, "author": "MUI Team", "description": "React components that implement Google's Material Design.", @@ -61,11 +61,11 @@ }, "dependencies": { "@babel/runtime": "^7.22.6", - "@mui/base": "5.0.0-beta.9", - "@mui/core-downloads-tracker": "^5.14.3", - "@mui/system": "^5.14.3", + "@mui/base": "5.0.0-beta.10", + "@mui/core-downloads-tracker": "^5.14.4", + "@mui/system": "^5.14.4", "@mui/types": "^7.2.4", - "@mui/utils": "^5.14.3", + "@mui/utils": "^5.14.4", "@types/react-transition-group": "^4.4.6", "clsx": "^2.0.0", "csstype": "^3.1.2", diff --git a/packages/mui-private-theming/package.json b/packages/mui-private-theming/package.json index f50073c210702b..61d5b6b0bf4c1e 100644 --- a/packages/mui-private-theming/package.json +++ b/packages/mui-private-theming/package.json @@ -1,6 +1,6 @@ { "name": "@mui/private-theming", - "version": "5.13.7", + "version": "5.14.4", "private": false, "author": "MUI Team", "description": "Private - The React theme context to be shared between `@mui/styles` and `@mui/material`.", @@ -48,7 +48,7 @@ }, "dependencies": { "@babel/runtime": "^7.22.6", - "@mui/utils": "^5.14.3", + "@mui/utils": "^5.14.4", "prop-types": "^15.8.1" }, "sideEffects": false, diff --git a/packages/mui-styles/package.json b/packages/mui-styles/package.json index af6aa861fe14da..9046dc5d6cb63a 100644 --- a/packages/mui-styles/package.json +++ b/packages/mui-styles/package.json @@ -1,6 +1,6 @@ { "name": "@mui/styles", - "version": "5.14.3", + "version": "5.14.4", "private": false, "author": "MUI Team", "description": "MUI Styles - The legacy JSS-based styling solution of Material UI.", @@ -49,9 +49,9 @@ "dependencies": { "@babel/runtime": "^7.22.6", "@emotion/hash": "^0.9.1", - "@mui/private-theming": "^5.13.7", + "@mui/private-theming": "^5.14.4", "@mui/types": "^7.2.4", - "@mui/utils": "^5.14.3", + "@mui/utils": "^5.14.4", "clsx": "^2.0.0", "csstype": "^3.1.2", "hoist-non-react-statics": "^3.3.2", diff --git a/packages/mui-system/package.json b/packages/mui-system/package.json index 085ad5da49f5bf..c18783c893e4c3 100644 --- a/packages/mui-system/package.json +++ b/packages/mui-system/package.json @@ -1,6 +1,6 @@ { "name": "@mui/system", - "version": "5.14.3", + "version": "5.14.4", "private": false, "author": "MUI Team", "description": "CSS utilities for rapidly laying out custom designs.", @@ -58,10 +58,10 @@ }, "dependencies": { "@babel/runtime": "^7.22.6", - "@mui/private-theming": "^5.13.7", + "@mui/private-theming": "^5.14.4", "@mui/styled-engine": "^5.13.2", "@mui/types": "^7.2.4", - "@mui/utils": "^5.14.3", + "@mui/utils": "^5.14.4", "clsx": "^2.0.0", "csstype": "^3.1.2", "prop-types": "^15.8.1" diff --git a/packages/mui-utils/package.json b/packages/mui-utils/package.json index 3a43c6f8949d0b..e507d59b6148a0 100644 --- a/packages/mui-utils/package.json +++ b/packages/mui-utils/package.json @@ -1,6 +1,6 @@ { "name": "@mui/utils", - "version": "5.14.3", + "version": "5.14.4", "private": false, "author": "MUI Team", "description": "Utility functions for React components.",