Skip to content

v5.0.0-alpha.25

Pre-release
Pre-release
Compare
Choose a tag to compare
@oliviertassinari oliviertassinari released this 11 Feb 12:56
688db35

Feb 11, 2021

Big thanks to the 30 contributors who made this release possible. Here are some highlights ✨:

  • 👩‍🎤 Convert 32 components to emotion. Around 64% of the components have been migrated so far, thanks to the help of the community. We aim to migrate them all before the end of Q1 2021.
    The podium of the most active community members in the migration 🏆:

    1. @natac13 x17
    2. @vicasas x5
    3. @kodai3 x4
  • 📐 Add a subset of the system as flattened props on Typography (#24496) @mnajdova.
    Now, you can do:

    <Typography padding={2} color="text.secondary" />
  • 📅 Focus on the date pickers, 5 fixes and 3 docs improvements.

  • 💅 Provide a new darkScrollbar() CSS utility to improve the native scrollbar in dark mode. The documentation uses it.

@material-ui/[email protected]

Breaking changes

  • Increase the minimum version of TypeScript supported from v3.2 to v3.5. (#24795) @petyosi

    We try to align with types released from DefinitelyTyped (i.e. packages published on npm under the @types namespace).
    We will not change the minimum supported version in a major version of Material-UI.
    However, we generally recommend to not use a TypeScript version older than the lowest supported version of DefinitelyTyped.

Changes

@material-ui/[email protected]

Breaking changes

  • [system] Use spacing unit in `gap`, `rowGap`, and `columnGap` (#24794) @ruppysuppy

    If you were using a number previously, you need to provide the value in px to bypass the new transformation with theme.spacing. The change was done for consistency with the Grid spacing prop and the other system spacing properties, e.g. <Box padding={2}>.

    <Box
    - gap={2}
    + gap="2px"
    >

@material-ui/[email protected]

  • [styled-engine] Fix GlobalStyles not to throw when no theme is available (#24671) @mnajdova

@material-ui/[email protected]

Breaking changes

  • [types] Rename the exported `Omit` type in `@material-ui/types`. (#24795) @petyosi The module is now called DistributiveOmit. The change removes the confusion with the built-in Omit helper introduced in TypeScript v3.5. The built-in Omit, while similar, is non-distributive. This leads to differences when applied to union types. See this StackOverflow answer for further details.
-import { Omit } from '@material-ui/types';
+import { DistributiveOmit } from '@material-ui/types';

Changes

  • [types] Remove implicit children from PropInjector (#24746) @eps1lon

@material-ui/[email protected]

Docs

Core

All contributors of this release in alphabetical order: @anthonyraymond, @ArnaultNouvel, @DanailH, @dborstelmann, @dtassone, @duganbrett, @EkaterinaMozheiko, @eps1lon, @fulin426, @hallzac2, @idanrozin, @KarimOurrai, @kodai3, @Lagicrus, @mbrookes, @mirefly, @mnajdova, @natac13, @oliviertassinari, @petyosi, @plug-n-play, @praveenkumar-kalidass, @ruppysuppy, @SCollinA, @silviot, @sumarlidason, @Tejaswiangotu123, @vicasas, @xiaoyu-tamu, @ydubinskyi