Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

v8.0.0

Compare
Choose a tag to compare
@5app-Machine 5app-Machine released this 02 Mar 12:11
· 706 commits to master since this release

8.0.0 (2020-03-02)

Bug Fixes

  • Box: Add missing base CSS rules for flexbox (ba5dff4)
  • Flex: Fix flex-wrap bug (fd2cf81)
  • utils: Fix getLength for string values (57cbc95)

Features

  • Box: Add new size styleProps (width, height) (4ab2bc4)
  • Box: More supported flex props (6646640)
  • Flex: Rebuild Flex on top of Box (fcaa327)
  • InlineList: Support additional styleProps (5f455ab)
  • styleProps: Allow functions as styleProp values (ebba463)
  • styleProps: Allow ommitting properties array (119a16b)
  • styleProps: Moved border & shadow styles to theme (05a1e53)
  • styleProps: New style props for theming (ac8ae31)
  • Text: Support sizing styleProps (eede232)
  • utils: getLength now converts fractions to % (0978082)
  • utils: New fractionToPercent converter (349563f)
  • utils: New getLength CSS utility (efcb177)

Performance Improvements

  • styleProps: Reduce function calls in Box/Text (56b6e7a)

BREAKING CHANGES

  • styleProps: The API for the border style prop has changed.
    Instead of e.g. border="top", use borderTop="thin"
    ('thin' being the name of the border definition from
    the theme configuration).
  • Flex: When using the column prop on Flex, 100% height
    is not automatically applied anymore.
    Migration: Apply the new style prop height="100%"
    to any instances of Flex that have the column prop