v3.0.0
Breaking changes:
- Removes
css
prop fromPicture
andpictureCSS
prop fromFullsizePicture
component. Styling is now done exclusively throughclassName
prop. className
prop inFullsizePicture
is assigned to the innerPicture
component to keep API consistency between components. It was previously calledpictureClassName
.- New
wrapperClassName
prop to style wrapper component inFullsizePicture
. It was previously calledclassName
FullsizePicture
default behaviour now mimicsbackground-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 addscxs
for styling - Updates all dependencies to latest versions