v5.0.0
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
primaryColortobackgroundColorandsecondaryColorto
foregroundColor. -
feat(api): updates uniqueKey
-
Renamed prop key
uniquekeytouniqueKey -
fix(svg): removes unnecessary keys
-
fix(web svg): adds display name
-
feat(a11y): improves attrs
-
Shift
ariaLabeltotitleprop, 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