- Fix: keydown listeners thanks to aknuds1 archr
- Fix: thumbnail click propagation thanks to GregoryPotdevin
- Update: use abstracted ScrollLock component
- Feature: Support theming with aphrodite classes
- Examples: Update options with new new prop details
- Feature: Added a thumbnail preview beneath the lightbox thanks to GregoryPotdevin
- Feature: Re-implemented the layout using
flexbox
- Examples: Replaced local images with hot-linked Unsplash photographs
- Feature: Pre-load the next image based on user intention, uses new prop
preloadNextImage
- Fix: bug with
enableKeyboardInput
where images fail to render thanks to benhowell - Bump dev dependencies for
react
andreact-dom
to15.3.0
- Increase the default max-width of the Lightbox to
1024px
- Fix react PropTypes warning. See fixing-the-false-positive
- Simplify fade transition using
react-css-addons-transition-group
- Resolve react "no-unused-prop" warnings benhowell
- 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