diff --git a/.all-contributorsrc b/.all-contributorsrc index 2ba708e1..fe41de26 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -796,6 +796,16 @@ "contributions": [ "code" ] + }, + { + "login": "tshmieldev", + "name": "Wojciech Rok", + "avatar_url": "https://avatars.githubusercontent.com/u/58606210?v=4", + "profile": "https://github.com/tshmieldev", + "contributions": [ + "code", + "ideas" + ] } ], "repoType": "github", diff --git a/CHANGELOG.md b/CHANGELOG.md index 111a10e5..c7a20c40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [5.2.0] - 2024-04-05 + +### Added + +* `canSwipeToUnzoom` and `swipeToUnzoomThreshold` props + (https://github.com/rpearce/react-medium-image-zoom/pull/472, https://github.com/rpearce/react-medium-image-zoom/pull/510) + ## [5.1.11] - 2024-03-26 ### Fixed diff --git a/README.md b/README.md index fded92af..cd1f5519 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # react-medium-image-zoom -[![npm version](https://img.shields.io/npm/v/react-medium-image-zoom.svg)](https://www.npmjs.com/package/react-medium-image-zoom) [![react-medium-image-zoom bundlejs badge](https://deno.bundlejs.com/?q=react-medium-image-zoom&badge=&config={%22esbuild%22:{%22external%22:[%22react%22,%22react-dom%22]}})](https://bundlejs.com/?q=react-medium-image-zoom) [![npm downloads](https://img.shields.io/npm/dm/react-medium-image-zoom.svg)](https://www.npmjs.com/package/react-medium-image-zoom) [![All Contributors](https://img.shields.io/badge/all_contributors-75-orange.svg)](#contributors-) +[![npm version](https://img.shields.io/npm/v/react-medium-image-zoom.svg)](https://www.npmjs.com/package/react-medium-image-zoom) [![react-medium-image-zoom bundlejs badge](https://deno.bundlejs.com/?q=react-medium-image-zoom&badge=&config={%22esbuild%22:{%22external%22:[%22react%22,%22react-dom%22]}})](https://bundlejs.com/?q=react-medium-image-zoom) [![npm downloads](https://img.shields.io/npm/dm/react-medium-image-zoom.svg)](https://www.npmjs.com/package/react-medium-image-zoom) [![All Contributors](https://img.shields.io/badge/all_contributors-81-orange.svg)](#contributors-) The original [medium.com-inspired image zooming](https://medium.design/image-zoom-on-medium-24d146fc0c20) library for [React](https://reactjs.org). @@ -446,6 +446,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d Kevin Wang
Kevin Wang

🤔 u3u
u3u

🤔 👀 Hong
Hong

💻 + Wojciech Rok
Wojciech Rok

💻 🤔 diff --git a/package-lock.json b/package-lock.json index e2834868..f694bc0f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "react-medium-image-zoom", - "version": "5.1.11", + "version": "5.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "react-medium-image-zoom", - "version": "5.1.11", + "version": "5.2.0", "funding": [ { "type": "github", diff --git a/package.json b/package.json index 778a8324..c7620141 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-medium-image-zoom", - "version": "5.1.11", + "version": "5.2.0", "license": "BSD-3-Clause", "description": "Accessible medium.com-style image zoom for React", "type": "module", @@ -33,7 +33,8 @@ "Youngrok Kim (https://rokoroku.github.io)", "Josh-Cena (https://joshcena.com)", "Yida Zhang ", - "eych" + "eych", + "tshmieldev" ], "funding": [ {