Skip to content

v3.0.0

Compare
Choose a tag to compare
@braposo braposo released this 13 Nov 23:29
· 16 commits to master since this release

Breaking changes:

  • Removes css prop from Picture and pictureCSS prop from FullsizePicture component. Styling is now done exclusively through className prop.
  • className prop in FullsizePicture is assigned to the inner Picture component to keep API consistency between components. It was previously called pictureClassName.
  • New wrapperClassName prop to style wrapper component in FullsizePicture. It was previously called className
  • FullsizePicture default behaviour now mimics background-size: cover behaviour for full-width images

Other changes:

  • Update to README and CONTRIBUTING docs
  • Adds examples to be used in Codesandbox
  • Removes glamorous and adds cxs for styling
  • Updates all dependencies to latest versions