Skip to content

v5.0.0

Compare
Choose a tag to compare
@danilowoz danilowoz released this 26 Jan 20:09
· 91 commits to master since this release
8ed714c

5.0.0 (2020-01-26)

V5

Migrations instructions:
From now the attribute viewBox is not generated automatically anymore, so it is necessary to use the package as a regular SVG, for example:

<ContentLoader width={width} height={height} viewBox={`0 0 ${width} ${height}`} />

BREAKING CHANGES

  • Rename primaryColor to backgroundColor and secondaryColor to
    foregroundColor.

  • feat(api): updates uniqueKey

  • Renamed prop key uniquekey to uniqueKey

  • fix(svg): removes unnecessary keys

  • fix(web svg): adds display name

  • feat(a11y): improves attrs

  • Shift ariaLabel to title prop, the value remains

  • refactor(codebase): reestructure

  • test(web native): updates with new structure

  • test(native): sets animate false on tests

  • fix(svg): removes viewBox, width and height from api

  • fix(presets): updates to new api and some design updates

  • feat(content loader): sets new default as facebook instead of a box

  • docs(readme storybook): updates to new api

  • test(web native): updates