- Custom controls thanks to robintail
- dependency fix for
react-addons-transition-group
thanks to fend25
- General cleanup
- Added
imageCountSeparator
prop to replace " of " in the image count
- Account for scrollbar width when opening/closing the lightbox
- Remove required flag on
onClickNext
andonClickPrev
- may only render a single image - Increase dialog z-index to
2001
thanks to newsiberian
- Resolve peer-dependency issues thanks to jedwatson
- Update dependencies
- Update peer dependencies
- Bump all applicable dependencies
- Remove peer dependencies
- Updated website with more info + new design
- Introduction of
onClickImage
prop thanks to pradel - Documentation for
showImageCount
thanks to neptunian
- Fix backdropClosesModal behaviour
- Update defaults: backdropClosesModal
false
, showCloseButtontrue
- Updated react dependencies
- Better handling of lightbox positioning
- Update to use ES6
- Update to use JSS
- Layout refactor:
- Moved away from CSS transforms for centering
- Improved responsiveness, performance
- Update example images to Gratisography
- Optional captions below images thanks to @ko
- Optional count below images e.g. "3 of 12"
- Move close button top right of frame, and replace with × icon
- Fix bug in examples with
goto
functions
- Make the component stateless, now uses functions
onClickPrev
/onClickNext
- Support for
srcset
thanks to @neptunian