Releases: TeamWertarbyte/material-ui-image
Releases · TeamWertarbyte/material-ui-image
v3.3.2
Thanks to the 2 contributors who made this release possible. 🎉
Changed
v3.3.1
Thanks to the 1 contributor who made this release possible. 🎉
Fixed
v3.3.0
Thanks to the 2 contributors who made this release possible. 🎉
Added
- Add a
cover
prop to make the image's object fit cover #60 @Cubxity
Fixed
- Fix error when loading SVGs from cache in Firefox #61 @grmlin
v3.2.4
Changed
- Include the event object in the onLoad and onError callbacks #46
- Fix incorrect inheritance of the loading prop in the typescript definition #55
- Fix image not being shown if it loaded before the component rendered for the first time (e.g. in SSR environments) #43 #51
v3.2.3
Thanks to the 2 contributors who made this release possible. 🎉
Changed
- Fix peer dependency warnings #40
- Update types to inherit
img
attributes #40
- Add
iconContainerStyle
prop to types #42 @mestevens
- Fix
onClick
, onLoad
and onError
types #38 #41 @iJimmyWei
v3.2.2
Changed
- Drop (implicit) babel-runtime dependency #37
v3.2.1
Thanks to the 1 contributor who made this release possible. 🎉
Changed
- Replace the deprecated
componentWillReceiveProps
lifecycle method with getDerivedStateFromProps
#35 #36 @ahmad-reza619
v3.2.0
Thanks to the 1 contributor who made this release possible. 🎉
Added
- Add
onLoad
and onError
props for callbacks that are invoked when the image was loaded or when loading the image failed #32 #33 @rizzlesauce
- Add
iconContainerStyle
prop to allow customizing the style of the icon/loading spinner container #31
v3.1.0
Added
- Add a
animationDuration
property to customize the fading speed (default is 3000 ms) #27
Fixed
- Fix the animation timings (they actually didn't match the Material Design specification previously)
- Fix clicking on the image not working #28
v3.0.3
Thanks to the 1 contributor who made this release possible. 🎉
Changed