Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-grid-gallery

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-grid-gallery - npm Package Versions

1235

0.3.0

Diff

Changelog

Source

v0.3.0 / 2017-01-14

  • Fixed bug where lightboxWidth does not exceed 1024px

  • Bumped react-images to 0.5.2

benhowell
published 0.2.10 •

Changelog

Source

v0.2.10 / 2017-01-13

  • Fixed bug in passing lightboxWidth prop
benhowell
published 0.2.9 •

Changelog

Source

v0.2.9 / 2016-12-21

  • Added prop to set maximum width of lightbox. Defaults to 1024px.
benhowell
published 0.2.8 •

Changelog

Source

v0.2.8 / 2016-12-10

  • Updated documentation including correction of onSelectImage prop documentation.

  • More descriptive package keywords.

  • Grammatical tweaks.

benhowell
published 0.2.7 •

Changelog

Source

v0.2.7 / 2016-11-04

Breaking Changes

  • Consistent naming scheme implemented both internally and externally. External breaking change to the onImageSelected prop which has been renamed onSelectImage. All internal instances of Func refactored to Fn. handleClickImage refactored to onClickImage. handleResize refactored to onResize.

The following changes in v0.2.7 allow react-grid-gallery to be used in an (optionally) stateless way.

  • Added optional prop onClickImage. This prop takes a function and is triggered when a lightbox displayed image is clicked. Supplying this prop will override the default onClickImage function.

  • Added optional prop onClickPrev. This prop takes a function and is triggered when the left arrow in lightbox is clicked. Supplying this prop will override the default onClickPrev function.

  • Added optional prop onClickNext. This prop takes a function and is triggered when the right arrow in lightbox is clicked. Supplying this prop will override the default onClickNext function.

  • Added explicit closeLightbox function to the lightbox onClose prop.

benhowell
published 0.2.6 •

Changelog

Source

v0.2.6 / 2016-10-25

benhowell
published 0.2.5 •

Changelog

Source

v0.2.5 / 2016-09-26

  • Added image tagging functionality. Optional tags prop takes an array of objects containing tag attributes. value prop is the text shown on the tag and title prop is the text shown when hovering over the tag. e.g. tags: [{value: "Ocean", title: "Ocean"}, {value: "People", title: "People"}]
benhowell
published 0.2.4-1 •

benhowell
published 0.2.4 •

Changelog

Source

v0.2.4 / 2016-09-17

  • onImageSelected prop function now takes two optional args, index (index of selected image in images array) and image (the selected image object).
benhowell
published 0.2.3 •

Changelog

Source

v0.2.3 / 2016-09-16

Breaking changes

  • Image selection state now handled within image object by optional boolean prop isSelected. This greatly reduces complexity both within and outside the component as the image itself carries it's selected state. Therefore selectedImages prop has been removed.

  • onSelectedImagesChange prop removed due to the changes outlined above.

  • Optional onImageSelected prop added. This prop takes a function and an optional image object as a parameter.

  • isSelected removed as first class prop on Image (now a prop on the image item passed in)

  • Image onToggleSelected renamed to onImageSelected.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc