Skip to content

Releases: TeamWertarbyte/material-ui-image

v3.3.2

24 Apr 22:45
Compare
Choose a tag to compare

Thanks to the 2 contributors who made this release possible. 🎉

Changed

v3.3.1

10 Dec 17:40
Compare
Choose a tag to compare

Thanks to the 1 contributor who made this release possible. 🎉

Fixed

v3.3.0

07 Oct 15:20
Compare
Choose a tag to compare

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

20 Sep 22:05
Compare
Choose a tag to compare

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

13 Feb 22:57
Compare
Choose a tag to compare

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

05 Oct 21:22
Compare
Choose a tag to compare

Changed

  • Drop (implicit) babel-runtime dependency #37

v3.2.1

18 Aug 21:08
Compare
Choose a tag to compare

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

02 May 12:50
Compare
Choose a tag to compare

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

20 Jan 14:24
Compare
Choose a tag to compare

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

05 Nov 11:12
Compare
Choose a tag to compare

Thanks to the 1 contributor who made this release possible. 🎉

Changed