Releases: dromru/react-photoswipe-gallery
Releases Β· dromru/react-photoswipe-gallery
v2.2.3
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
2.2.2 (2022-09-26)
Bug Fixes
v2.2.1
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
2.2.0 (2022-05-10)
Features
- types: use vendor photoswipe types (6faed81)
Bug Fixes
- prop-types: add missing prop (6af1e8c)
v2.1.0
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
2.0.4 (2022-04-16)
Bug Fixes
- esm: patch import statements in tsc output (067a032)
v2.0.3
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
2.0.2 (2022-04-16)
Bug Fixes
- build: set TSC target to
ES6
to match PhotoSwipe v5 (30909b7)
v2.0.1
2.0.1 (2022-04-15)
Bug Fixes
- package: exclude
src/storybook
from build (0a3068e)
v2.0.0
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)