v5.14.4
Aug 8, 2023
A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
- 🎉 Added Number Input component & useNumberInput hook in Base UI @mj12albert
@mui/[email protected]
- [Checkbox][material] Add size classes (#38182) @michaldudak
- [Typography] Improve inherit variant logic (#38123) @ZeeshanTamboli
@mui/[email protected]
- Revert "[Box] Remove
component
from TypeMap (#38168)" (#38356) @michaldudak
@mui/[email protected]
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 #21862 for more context.- 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:- import ClassNameGenerator from '@mui/base/className'; + import { ClassNameGenerator } from '@mui/base/ClassNameGenerator';
A codemod is provided to help with the migration:
npx @mui/codemod v5.0.0/base-use-named-imports <path>
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/[email protected]
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