react-spring-lightbox
Advanced tools
Comparing version 1.5.0-beta.4 to 1.5.0-beta.98999b8
@@ -48,5 +48,4 @@ import React from 'react'; | ||
* @see https://github.com/react-spring/react-spring | ||
* @see https://github.com/styled-components/styled-components | ||
*/ | ||
declare const Lightbox: ({ isOpen, onClose, images, currentIndex, onPrev, onNext, renderHeader, renderFooter, renderPrevButton, renderNextButton, renderImageOverlay, className, singleClickToZoom, style, pageTransitionConfig, }: ILightboxProps) => JSX.Element; | ||
export default Lightbox; |
/// <reference types="react" /> | ||
export declare type ImagesListItem = Omit<React.HTMLProps<HTMLImageElement>, 'draggable' | 'onClick' | 'onDragStart' | 'ref'> & { | ||
alt: string; | ||
loading?: 'auto' | 'eager' | 'lazy'; | ||
src: string; | ||
}; | ||
export declare type ImagesList = ImagesListItem[]; |
{ | ||
"name": "react-spring-lightbox", | ||
"version": "1.5.0-beta.4", | ||
"version": "1.5.0-beta.98999b8", | ||
"description": "A flexible image gallery lightbox with native-feeling touch gestures and buttery smooth animations, built with react-spring.", | ||
@@ -26,3 +26,2 @@ "author": "Tim Ellenberger <timellenberger@gmail.com>", | ||
"jsnext:main": "dist/index.es.js", | ||
"types": "dist/index.d.ts", | ||
"engines": { | ||
@@ -76,4 +75,4 @@ "node": ">=8", | ||
"@rollup/plugin-commonjs": "^17.1.0", | ||
"@rollup/plugin-node-resolve": "^11.2.0", | ||
"@rollup/plugin-typescript": "^8.2.0", | ||
"@rollup/plugin-node-resolve": "^11.1.1", | ||
"@rollup/plugin-typescript": "^8.1.1", | ||
"@testing-library/jest-dom": "^5.5.0", | ||
@@ -85,4 +84,4 @@ "@testing-library/react": "^11.2.5", | ||
"@types/styled-components": "^5.1.7", | ||
"@typescript-eslint/eslint-plugin": "^4.15.1", | ||
"@typescript-eslint/parser": "^4.15.1", | ||
"@typescript-eslint/eslint-plugin": "^4.15.0", | ||
"@typescript-eslint/parser": "^4.15.0", | ||
"babel-eslint": "10.1.0", | ||
@@ -94,3 +93,3 @@ "babel-plugin-styled-components": "1.12.0", | ||
"eslint-config-prettier": "^7.2.0", | ||
"eslint-import-resolver-typescript": "^2.4.0", | ||
"eslint-import-resolver-typescript": "^2.3.0", | ||
"eslint-plugin-import": "^2.20.2", | ||
@@ -122,4 +121,4 @@ "eslint-plugin-jsx-a11y": "^6.2.3", | ||
"@react-spring/web": "npm:@tim-soft/react-spring-web@9.0.0-beta.36", | ||
"react-use-gesture": "9.0.4" | ||
"react-use-gesture": "9.0.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
73792
333
+ Addedreact-use-gesture@9.0.2(transitive)
- Removedreact-use-gesture@9.0.4(transitive)
Updatedreact-use-gesture@9.0.2