dromru/react-photoswipe-gallery
 Watch   
 Star   
 Fork   
2025-03-20 09:07:16
react-photoswipe-gallery

v3.1.1

3.1.1 (2025-03-20)

Bug Fixes

  • add missed string type to sourceId propType (851cd28)
2025-03-10 14:32:51
react-photoswipe-gallery

v3.1.0

3.1.0 (2025-03-10)

Features

  • add opportunity to pass data to photoswipe via dataSource prop (dba42e6)
  • provide close method for Item component and useGallery hook (9f15635)
2024-07-19 09:53:45
react-photoswipe-gallery

v3.0.2

Docs

  • docs: add more obvious info about photoswipe and react-photoswipe-gallery versions compatibility (9e73348)
2024-07-19 09:20:59
react-photoswipe-gallery

v1.3.11

Chore

  • docs: fix react-photoswipe-gallery version in readme (c8939b7)
2023-12-20 14:24:42
react-photoswipe-gallery

v3.0.1

2023-12-05 16:25:31
react-photoswipe-gallery

v3.0.0

This release mostly focused on refactoring and improvement to Item component.

  • ref type changed from ref object to ref callback. For most users there is nothing to do with passing ref to node, it works the same way (ref={ref}). But now you no longer need to cast ref manually, so you will have to remove manual casting if you have such.
  • Removed possibility to omit passing ref to node if there is only one Item. Now you always have to pass it.

Refactoring led to removing useLayoutEffect, so there is no more warning introduced in 2.2.7

2023-11-22 18:47:40
react-photoswipe-gallery
2023-04-03 19:22:01
react-photoswipe-gallery

v2.2.7

2.2.7 (2023-04-03)

Bug Fixes

  • change useEffect to useLayoutEffect in Item component (ed17490)
2023-02-13 07:03:17
react-photoswipe-gallery

v2.2.6

2.2.6 (2023-02-12)

Chore

  • remove useless null checks (af4ce1e)
2023-02-09 17:46:31
react-photoswipe-gallery

v2.2.5

2.2.5 (2023-02-09)

Bug Fixes

  • remove null from ItemRef type (fc40996)