react-zoom-pan-pinch
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -31,3 +31,2 @@ export declare const initialState: { | ||
disabled: boolean; | ||
panPaddingShiftTime: number; | ||
panAnimationType: string; | ||
@@ -46,2 +45,3 @@ lockAxisX: boolean; | ||
paddingSize: number; | ||
panPaddingShiftTime: number; | ||
panReturnAnimationTime: number; | ||
@@ -48,0 +48,0 @@ panReturnAnimationType: string; |
@@ -33,3 +33,2 @@ export interface PropsList { | ||
velocity: boolean; | ||
panPaddingShiftTime: number; | ||
panAnimationType: string; | ||
@@ -36,0 +35,0 @@ velocityEqualToMove: boolean; |
@@ -40,3 +40,2 @@ import React, { Component } from "react"; | ||
disabled: boolean; | ||
panPaddingShiftTime: number; | ||
panAnimationType: string; | ||
@@ -55,2 +54,3 @@ lockAxisX: boolean; | ||
paddingSize: number; | ||
panPaddingShiftTime: number; | ||
panReturnAnimationTime: number; | ||
@@ -57,0 +57,0 @@ panReturnAnimationType: string; |
@@ -88,4 +88,3 @@ /** | ||
export declare const mergeProps: (initialState: any, dynamicProps: any) => {}; | ||
export declare const additionalAnimationDelay = 45; | ||
export declare function getWindowScaleY(wrapper: any): number; | ||
export declare function getWindowScaleX(wrapper: any): number; |
@@ -7,9 +7,2 @@ export declare function handleCalculateBounds(newScale: any, limitToWrapper: any): { | ||
}; | ||
export declare function handleCalculatePositions(mouseX: any, mouseY: any, newScale: any, bounds: any, limitToBounds: any): void | { | ||
x: number; | ||
y: number; | ||
} | { | ||
newPositionX: any; | ||
newPositionY: any; | ||
}; | ||
/** | ||
@@ -16,0 +9,0 @@ * Wheel zoom event |
export declare function checkZoomBounds(zoom: any, minScale: any, maxScale: any, zoomPadding: any, enablePadding: any): any; | ||
export declare function checkPositionBounds(positionX: any, positionY: any, bounds: any, limitToBounds: any, paddingValue: any): { | ||
export declare function checkPositionBounds(positionX: any, positionY: any, bounds: any, limitToBounds: any, paddingValue: any, wrapperComponent: any): { | ||
x: number; | ||
@@ -19,1 +19,8 @@ y: number; | ||
}; | ||
export declare function handleCalculatePositions(mouseX: any, mouseY: any, newScale: any, bounds: any, limitToBounds: any): void | { | ||
x: number; | ||
y: number; | ||
} | { | ||
newPositionX: any; | ||
newPositionY: any; | ||
}; |
{ | ||
"name": "react-zoom-pan-pinch", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "Zoom and pan html elements in easy way", | ||
@@ -32,36 +32,36 @@ "author": "prc5", | ||
"devDependencies": { | ||
"@babel/core": "^7.7.5", | ||
"@babel/runtime": "^7.7.6", | ||
"@svgr/rollup": "^4.3.3", | ||
"@testing-library/react": "^9.4.0", | ||
"@types/jest": "^24.0.23", | ||
"@types/react": "^16.9.16", | ||
"@babel/core": "^7.0.0", | ||
"@babel/runtime": "^7.0.0", | ||
"@svgr/rollup": "^2.4.1", | ||
"@testing-library/react": "^9.3.2", | ||
"@types/jest": "^23.1.5", | ||
"@types/react": "^16.8.0", | ||
"@types/react-dom": "^16.8.0", | ||
"@typescript-eslint/parser": "^2.11.0", | ||
"all-contributors-cli": "^6.11.2", | ||
"babel-eslint": "10.0.3", | ||
"cross-env": "^6.0.3", | ||
"eslint": "6.7.2", | ||
"eslint-config-airbnb": "18.0.1", | ||
"eslint-config-prettier": "^6.7.0", | ||
"eslint-plugin-flowtype": "^4.5.2", | ||
"eslint-plugin-import": "^2.19.1", | ||
"@typescript-eslint/parser": "^2.6.1", | ||
"all-contributors-cli": "^6.9.3", | ||
"babel-eslint": "9.0.0", | ||
"cross-env": "^5.1.4", | ||
"eslint": "5.12.0", | ||
"eslint-config-airbnb": "17.1.1", | ||
"eslint-config-prettier": "^6.0.0", | ||
"eslint-plugin-flowtype": "^3.12.1", | ||
"eslint-plugin-import": "^2.18.0", | ||
"eslint-plugin-jsx-a11y": "^6.2.3", | ||
"eslint-plugin-prettier": "^3.1.2", | ||
"eslint-plugin-react": "^7.17.0", | ||
"gh-pages": "^2.1.1", | ||
"react": "^16.12.0", | ||
"react-dom": "^16.12.0", | ||
"react-scripts": "^3.3.0", | ||
"rollup": "^1.27.13", | ||
"eslint-plugin-prettier": "^3.1.0", | ||
"eslint-plugin-react": "^7.14.2", | ||
"gh-pages": "^1.2.0", | ||
"react": "^16.11.0", | ||
"react-dom": "^16.11.0", | ||
"react-scripts": "^2.1.0", | ||
"rollup": "^1.26.3", | ||
"rollup-plugin-babel": "^4.3.3", | ||
"rollup-plugin-commonjs": "^10.1.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-commonjs": "^9.1.3", | ||
"rollup-plugin-node-resolve": "^3.3.0", | ||
"rollup-plugin-peer-deps-external": "^2.2.0", | ||
"rollup-plugin-postcss": "^2.0.3", | ||
"rollup-plugin-typescript2": "^0.25.3", | ||
"rollup-plugin-url": "^3.0.1", | ||
"rollup-plugin-postcss": "^1.6.2", | ||
"rollup-plugin-typescript2": "^0.17.0", | ||
"rollup-plugin-url": "^1.4.0", | ||
"source-map-loader": "^0.2.4", | ||
"ts-loader": "^6.2.1", | ||
"typescript": "^3.7.3", | ||
"typescript": "^3.3.0", | ||
"webpack-cli": "^3.3.10" | ||
@@ -68,0 +68,0 @@ }, |
@@ -166,3 +166,2 @@ # react-zoom-pan-pinch | ||
| lockAxisY | false | boolean | | ||
| panPaddingShiftTime | 50 | number | | ||
| velocity | false | boolean | | ||
@@ -169,0 +168,0 @@ | velocityEqualToMove | false | boolean | |
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 too big to display
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
407730
3434
294