yarn @mui/system 6.0.0-rc.0
v6.0.0-rc.0

latest releases: 6.1.6, 6.1.5, 6.1.4...
2 months ago

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

  • ⚡ Rendering performance improvements

@mui/material@6.0.0-rc.0

Breaking changes

  • [Box] Remove component from BoxOwnProps (#43384) @DiegoAndai

    The component prop has been removed from the BoxOwnProps as it is already included in the Box type.
    This might affect your code if you are using the styled function with the Box component.
    If this is the case, use a div element instead of Box:

    -const StyledBox = styled(Box)`
    +const StyledDiv = styled('div')`
       color: white;
     `;

    This yields the same end result.
    If this doesn't work for you, you can also cast the styled returned value to typeof Box:

     const StyledBox = styled(Box)`
       color: white;
    -`;
    +` as typeof Box;

Changes

@mui/codemod@6.0.0-rc.0

Docs

Core

All contributors of this release in alphabetical order: @aarongarciah, @DiegoAndai, @Janpot, @Jay-Karia, @k-rajat19, @oliviertassinari, @rluzists1, @romgrk, @sai6855, @siriwatknp, @Vxee, @ZeeshanTamboli

Don't miss a new system release

NewReleases is sending notifications on new releases.