pixi-viewport
Advanced tools
Comparing version 5.0.0 to 5.0.1
import type { FederatedEvent } from '@pixi/events'; | ||
import type { Point } from '@pixi/math'; | ||
import type { Viewport } from './Viewport'; | ||
export declare type DragEvent = { | ||
export type DragEvent = { | ||
event: FederatedEvent; | ||
@@ -10,4 +10,4 @@ screen: Point; | ||
}; | ||
export declare type ClickedEvent = DragEvent; | ||
export declare type MovedEvent = { | ||
export type ClickedEvent = DragEvent; | ||
export type MovedEvent = { | ||
viewport: Viewport; | ||
@@ -17,3 +17,3 @@ type: 'wheel' | 'pinch' | 'animate' | 'ensureVisible' | 'snap' | 'mouse-edges' | 'follow' | 'drag' | 'decelerate' | 'clamp-x' | 'clamp-y' | 'bounce-x' | 'bounce-y'; | ||
}; | ||
export declare type ZoomedEvent = { | ||
export type ZoomedEvent = { | ||
viewport: Viewport; | ||
@@ -24,7 +24,7 @@ type: 'wheel' | 'pinch' | 'animate' | 'ensureVisible' | 'clamp-zoom'; | ||
}; | ||
export declare type WheelStartEvent = { | ||
export type WheelStartEvent = { | ||
event: WheelEvent; | ||
viewport: Viewport; | ||
}; | ||
export declare type Events = { | ||
export type Events = { | ||
wheel: [ | ||
@@ -31,0 +31,0 @@ { |
@@ -16,2 +16,3 @@ import { Container } from '@pixi/display'; | ||
stopPropagation?: boolean; | ||
allowPreserveDragOutside?: boolean; | ||
forceHitArea?: Rectangle | null; | ||
@@ -18,0 +19,0 @@ noTicker?: boolean; |
{ | ||
"name": "pixi-viewport", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "A highly configurable viewport/2D camera designed to work with pixi.js. Features include dragging, pinch-to-zoom, mouse wheel zooming, decelerated dragging, follow target, snap to point, snap to zoom, clamping, bouncing on edges, and move on mouse edges.", | ||
@@ -51,10 +51,9 @@ "main": "./dist/pixi_viewport.umd.cjs", | ||
"homepage": "https://github.com/davidfig/pixi-viewport#readme", | ||
"peerDependencies": {}, | ||
"devDependencies": { | ||
"@pixi/core": "^7.0.4", | ||
"@pixi/display": "^7.0.4", | ||
"@pixi/core": "^7.1.1", | ||
"@pixi/display": "^7.1.1", | ||
"@pixi/eslint-config": "^4.0.1", | ||
"@pixi/events": "^7.0.4", | ||
"@pixi/math": "^7.0.4", | ||
"@pixi/ticker": "^7.0.4", | ||
"@pixi/events": "^7.1.1", | ||
"@pixi/math": "^7.1.1", | ||
"@pixi/ticker": "^7.1.1", | ||
"@typescript-eslint/parser": "^5.5.0", | ||
@@ -72,3 +71,3 @@ "chai": "^4.3.4", | ||
"pixi-ease": "^3.0.7", | ||
"pixi.js": "^7.0.5", | ||
"pixi.js": "^7.1.1", | ||
"raf": "^3.4.1", | ||
@@ -75,0 +74,0 @@ "typescript": "^4.5.2", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
153950
2519
0