Skip to content

v5.14.4

Compare
Choose a tag to compare
@mnajdova mnajdova released this 08 Aug 10:15
· 3642 commits to master since this release
40f4b27

Aug 8, 2023

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

@mui/[email protected]

@mui/[email protected]

@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

@mui/[email protected]

Docs

Core

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