yet-another-react-lightbox
Advanced tools
Comparing version 3.15.6 to 3.16.0
@@ -205,7 +205,7 @@ import * as React from 'react'; | ||
SWIPE = 1, | ||
PULL_DOWN = 2, | ||
PULL = 2, | ||
ANIMATION = 3 | ||
} | ||
declare function usePointerSwipe<T extends Element = Element>(subscribeSensors: UseSensors<T>["subscribeSensors"], isSwipeValid: (offset: number) => boolean, containerWidth: number, swipeAnimationDuration: number, onSwipeStart: () => void, onSwipeProgress: (offset: number) => void, onSwipeFinish: (offset: number, duration: number) => void, onSwipeCancel: (offset: number) => void, pullDownEnabled: boolean, onPullDownStart: () => void, onPullDownProgress: (offset: number) => void, onPullDownFinish: (offset: number, duration: number) => void, onPullDownCancel: (offset: number) => void): void; | ||
declare function usePointerSwipe<T extends Element = Element>(subscribeSensors: UseSensors<T>["subscribeSensors"], isSwipeValid: (offset: number) => boolean, containerWidth: number, swipeAnimationDuration: number, onSwipeStart: () => void, onSwipeProgress: (offset: number) => void, onSwipeFinish: (offset: number, duration: number) => void, onSwipeCancel: (offset: number) => void, pullUpEnabled: boolean, pullDownEnabled: boolean, onPullStart: () => void, onPullProgress: (offset: number) => void, onPullFinish: (offset: number, duration: number) => void, onPullCancel: (offset: number) => void): void; | ||
@@ -212,0 +212,0 @@ /** prevent browser back/forward navigation on touchpad left/right swipe (especially noticeable in Safari) |
@@ -232,2 +232,4 @@ import * as React from 'react'; | ||
aria: boolean; | ||
/** if `true`, close the lightbox on pull-up gesture */ | ||
closeOnPullUp: boolean; | ||
/** if `true`, close the lightbox on pull-down gesture */ | ||
@@ -234,0 +236,0 @@ closeOnPullDown: boolean; |
{ | ||
"name": "yet-another-react-lightbox", | ||
"version": "3.15.6", | ||
"version": "3.16.0", | ||
"description": "Modern React lightbox component", | ||
@@ -5,0 +5,0 @@ "author": "Igor Danchenko", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
217728
4072