Skip to content

Releases: dromru/react-photoswipe-gallery

v2.2.3

31 Jan 09:12
Compare
Choose a tag to compare

2.2.3 (2023-01-31)

Bug Fixes

  • fix browser back/forward navigation with enabled hash navigation (31d815b)
  • ci: fix various GH Actions issues (047b3fb)
  • test: add jest-environment-jsdom; fix config (3404d90)

v2.2.2

26 Sep 01:16
Compare
Choose a tag to compare

2.2.2 (2022-09-26)

Bug Fixes

  • package: Add exports to package.json (#928) (000c936)
  • test: resolve act warning (ffd7e1a)

v2.2.1

14 May 02:47
Compare
Choose a tag to compare

2.2.1 (2022-05-14)

Bug Fixes

  • custom-content: reset portal if slideData has no content, and on close (#837) (031dfcf)
  • storybook: adjust color scheme (68ab0ac)

v2.2.0

10 May 21:27
Compare
Choose a tag to compare

2.2.0 (2022-05-10)

Features

  • types: use vendor photoswipe types (6faed81)

Bug Fixes

  • prop-types: add missing prop (6af1e8c)

v2.1.0

26 Apr 07:16
Compare
Choose a tag to compare

2.1.0 (2022-04-26)

Features

  • add content prop for the Item component (docs)
  • add uiElements prop for the Gallery component (docs)

v2.0.4

16 Apr 14:59
Compare
Choose a tag to compare

2.0.4 (2022-04-16)

Bug Fixes

  • esm: patch import statements in tsc output (067a032)

v2.0.3

16 Apr 13:33
Compare
Choose a tag to compare

2.0.3 (2022-04-16)

Bug Fixes

  • package: set type: 'module' (7f74c25)

Chore

  • ci: set node version to v16 for workflows (b50be06)

v2.0.2

16 Apr 12:42
Compare
Choose a tag to compare

2.0.2 (2022-04-16)

Bug Fixes

  • build: set TSC target to ES6 to match PhotoSwipe v5 (30909b7)

v2.0.1

15 Apr 10:36
Compare
Choose a tag to compare

2.0.1 (2022-04-15)

Bug Fixes

  • package: exclude src/storybook from build (0a3068e)

v2.0.0

15 Apr 09:20
Compare
Choose a tag to compare

2.0.0 (2022-04-15)

⚠ BREAKING CHANGES

  • drop PhotoSwipe v4 support (#592)
  • remove prop title (Item component) (#592)
  • remove BaseGallery, CustomGallery, DefaultLayout (#592)

Features

  • add PhotoSwipe v5 support (#592)
  • add new props for Item component: originalSrcset, alt, caption, cropped (#592)
  • add new props for Gallery component: onBeforeOpen, withCaption, withDownloadButton, plugins (#592)
  • add PhotoSwipe plugins support (#592)
  • implement hash navigation (there is no built-in hash navigation in photoswipe v5) (#592)

Bug Fixes

  • types: declare gallery's children explicitly; add type for ref; add event type (cc940bb)