Skip to content

v4.0.0

Choose a tag to compare

@github-actions github-actions released this 04 May 12:57
· 41 commits to main since this release
2d2bc2c

4.0.0 (2026-05-04)

⚠ BREAKING CHANGES

  • Rename imagesInfoArray to imagesData
  • Remove customStyles prop
  • Make stylesheet available as a public asset

♻️ Refactoring

  • Change .jsx extension to .tsx (bd663f5)
  • Configure Jest to strip extensions from import statements (2c147dd)
  • Modularize helper logic (561f6df)
  • Remove customStyles prop (82fb8f3)
  • Rename imageInfo to imageData (03e834d)
  • Rename ImageInfoType to ImageDataType (ec97850)
  • Rename imagesInfoArray to imagesData (ad644aa)
  • Use a single function to update caption opacity on mouse enter and leave (454494d)
  • Use esm exporting syntax (4d65166)

✨ Features

  • Allow adding a cta link to each image's caption in the lightbox (7d398b0)
  • Let the customizeImageClickAction function provide access to the clicked image's data (a615939)
  • Make image's onclick action customizable (892fb00)

🎨 Code Style

  • Make stylesheet available as a public asset (a5a06dd)
  • Prefix classes with cs-rigg- (dbed480)
  • Remove ImageGalleryStylesType interface (b8d017e)

🐛 Bug Fixes

  • Prevent caption overflowing out of its container (66f965a)

📚 Documentation

  • Document the predefined stylesheet's usage (dc5f457)