Skip to content

Releases: igordanchenko/yet-another-react-lightbox

v3.5.4

08 May 18:09
8bf3cd9
Compare
Choose a tag to compare

3.5.4 (2023-05-08)

Bug Fixes

  • stop navigation events propagation in the toolbar (8bf3cd9)

v3.5.3

26 Apr 00:12
Compare
Choose a tag to compare

3.5.3 (2023-04-26)

Bug Fixes

  • video: set maxWidth/maxHeight 100% to prevent overflow (1ee41d7)

v3.5.2

24 Apr 16:23
214b774
Compare
Choose a tag to compare

3.5.2 (2023-04-24)

Bug Fixes

  • add slideshow playback callbacks (214b774)

v3.5.1

24 Apr 11:36
5e43170
Compare
Choose a tag to compare

3.5.1 (2023-04-24)

Bug Fixes

  • add on.download callback (5e43170)

v3.5.0

20 Apr 16:02
265b3d2
Compare
Choose a tag to compare

3.5.0 (2023-04-20)

Features

  • add custom portal mount point (4de80d0)

v3.4.0

05 Apr 15:47
419019a
Compare
Choose a tag to compare

3.4.0 (2023-04-05)

Features

v3.3.0

31 Mar 16:35
fce79dd
Compare
Choose a tag to compare

3.3.0 (2023-03-31)

Features

  • streamline toolbar buttons configuration (8176c8a)

v3.2.0

27 Mar 16:02
443c436
Compare
Choose a tag to compare

3.2.0 (2023-03-27)

Features

  • add Captions button and ref (eac65ea)
  • add Thumbnails button and ref (443c436)

v3.1.0

24 Mar 20:57
36e7a70
Compare
Choose a tag to compare

3.1.0 (2023-03-24)

Features

v3.0.0

22 Mar 20:03
Compare
Choose a tag to compare

3.0.0 (2023-03-22)

Upgrading from v2?

Review the v3 Breaking Changes

Bug Fixes

  • fix captions flickering in iOS Safari (530fd9e)

Features

  • make index and slides props responsive (ec555dc)
  • add Controller ref (06e6daa)
  • add Fullscreen ref (cc3e653)
  • add Slideshow ref (b888ae2)
  • add Zoom ref (b3b4761)
  • streamline animation easing settings (4011639)
  • add render function for custom elements or controls (bc1a938)
  • add addModule plugin prop (14876c1)
  • add useLightboxProps hook and LightboxPropsContext (598b007)
  • streamline lightbox events (41583db)
  • refactor types (94ae012)

BREAKING CHANGES

  • index and slides props can now be updated
  • animation easing settings moved to animation.easing
  • slide render function props changed
  • slideHeader, slideFooter and slideContainer render functions props changed
  • view, click and zoom callbacks props changed
  • render.buttonFullscreen render function props changed
  • render.buttonSlideshow render function props changed
  • buttonZoomIn and buttonZoomOut custom render functions are replaced with buttonZoom
  • fullscreen prop is no longer a boolean
  • ControllerContext no longer provides getLightboxProps, use useLightboxProps hook instead
  • PluginMethods type was renamed to PluginProps
  • animationDuration prop is no longer available in the LightboxState
  • removed YARL_EVENT_BACKDROP_CLICK and YARL_EVENT_TOOLBAR_WIDTH events