Skip to content

Releases: marekdedic/imagelightbox

Version 2.1.0

28 Mar 10:03
2.1.0
9097ef9
Compare
Choose a tag to compare

What's Changed

  • Fixed typings for imageLightbox and startImageLightbox incorrectly having their params required
  • Bumped minimum browser support to mostly follow browserslist recommendations
  • Removed references to the (previously unused) options id, selector and offsetY
  • Renamed most classes and IDs, all have the ilb- prefix now
  • Fixed an issue with history for lightboxes without IDs
  • Made video sizes optional
  • Refactored the whole codebase, making the package smaller, enabling rapid navigation and making the code more maintainable

Full Changelog: 2.0.0...2.1.0

Version 2.0.0

26 Feb 13:26
2.0.0
72ff044
Compare
Choose a tag to compare

Changed

  • BREAKING Providing ESM and UMD bundles together with source maps. This may be a breaking change as the output bundles are renamed. (@marekdedic)
  • Fixed package.json exports (@marekdedic)

Full Changelog: 1.2.0...2.0.0

Version 1.2.0

09 Aug 12:14
c3f3f46
Compare
Choose a tag to compare

Added

  • Added TypeScript type declarations for imagelightbox (@marekdedic)
  • Added unminified output to dist in addition to the minified files (@marekdedic)

Changed

  • Clicking in the center of the image navigates to the next one (@marekdedic)
  • The lightbox buttons are plain <div>s now (@marekdedic)

Fixed

  • Fixed an issue where rapidly navigating would get the lightbox in a broken state (@marekdedic)

Version 1.1.0

13 Jun 19:26
Compare
Choose a tag to compare

Added

  • Added the option to explicitly specify video dimensions (@marekdedic)

Version 1.0.2

26 Jun 14:27
Compare
Choose a tag to compare

Fixed

  • .git included in the NPM package causing it to break installations (@marekdedic)

Version 1.0.1

19 Jun 16:04
Compare
Choose a tag to compare

Changed

  • Redirected everything from rejas to marekdedic

Fixed

  • Fixed #201, a bug with videos not being preloaded if they were added to an already initialized lightbox (@marekdedic)

Version 1.0.0

03 Jun 21:19
Compare
Choose a tag to compare

Changed

  • Don't display caption "bar" if there is no caption for the image #191 (@marekdedic)
  • Do no use real image size to determine if prev or next #194 (@marekdedic)
  • Adding onclick swipe to next only if not a video #195 (@marekdedic)
  • Moved to pupeteer for testing (@rejas)

Updated

  • Update fullscreen code #190 (@rejas)
  • Update dependencies

Version 0.14.0

19 Dec 09:13
Compare
Choose a tag to compare

Changed

Version 0.13.0

27 Nov 14:29
Compare
Choose a tag to compare

Added

Fixed

Version 0.12.0

12 Oct 11:26
Compare
Choose a tag to compare

Fixed

Changed