@interactjs/core
Advanced tools
Comparing version 1.8.0-rc.3 to 1.8.0
@@ -125,2 +125,3 @@ import * as utils from '@interactjs/utils/index'; | ||
coords: Interact.CoordsSet; | ||
readonly _id: number; | ||
/** */ | ||
@@ -127,0 +128,0 @@ constructor({ pointerType, scopeFire }: { |
@@ -28,2 +28,3 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
let idCounter = 0; | ||
export class Interaction { | ||
@@ -114,2 +115,4 @@ // current interactable being interacted with | ||
_defineProperty(this, "_id", idCounter++); | ||
this._scopeFire = scopeFire; | ||
@@ -116,0 +119,0 @@ this.pointerType = pointerType; |
{ | ||
"name": "@interactjs/core", | ||
"version": "1.8.0-rc.3", | ||
"version": "1.8.0", | ||
"license": "MIT", | ||
"peerDependencies": { | ||
"@interactjs/dev-tools": "1.8.0-rc.3", | ||
"@interactjs/utils": "1.8.0-rc.3" | ||
"@interactjs/dev-tools": "1.8.0", | ||
"@interactjs/utils": "1.8.0" | ||
}, | ||
"devDependencies": { | ||
"@interactjs/_dev": "1.8.0-rc.3", | ||
"@interactjs/actions": "1.8.0-rc.3", | ||
"@interactjs/auto-start": "1.8.0-rc.3" | ||
"@interactjs/_dev": "1.8.0", | ||
"@interactjs/actions": "1.8.0", | ||
"@interactjs/auto-start": "1.8.0" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
}, | ||
"gitHead": "96b50f75" | ||
} |
@@ -118,2 +118,16 @@ import * as utils from '@interactjs/utils/index'; | ||
readonly buttons: any; | ||
} & MouseEvent & import("@interactjs/pointer-events/PointerEvent").default<any>) | ({ | ||
coords: utils.pointer.MockCoords; | ||
readonly page: any; | ||
readonly client: any; | ||
readonly timeStamp: any; | ||
readonly pageX: any; | ||
readonly pageY: any; | ||
readonly clientX: any; | ||
readonly clientY: any; | ||
readonly pointerId: any; | ||
readonly target: any; | ||
readonly type: any; | ||
readonly pointerType: any; | ||
readonly buttons: any; | ||
} & MouseEvent & import("@interactjs/core/InteractEvent").InteractEvent<any, any>) | ({ | ||
@@ -175,2 +189,16 @@ coords: utils.pointer.MockCoords; | ||
readonly buttons: any; | ||
} & Touch & import("@interactjs/pointer-events/PointerEvent").default<any>) | ({ | ||
coords: utils.pointer.MockCoords; | ||
readonly page: any; | ||
readonly client: any; | ||
readonly timeStamp: any; | ||
readonly pageX: any; | ||
readonly pageY: any; | ||
readonly clientX: any; | ||
readonly clientY: any; | ||
readonly pointerId: any; | ||
readonly target: any; | ||
readonly type: any; | ||
readonly pointerType: any; | ||
readonly buttons: any; | ||
} & Touch & import("@interactjs/core/InteractEvent").InteractEvent<any, any>) | ({ | ||
@@ -232,2 +260,16 @@ coords: utils.pointer.MockCoords; | ||
readonly buttons: any; | ||
} & PointerEvent & import("@interactjs/pointer-events/PointerEvent").default<any>) | ({ | ||
coords: utils.pointer.MockCoords; | ||
readonly page: any; | ||
readonly client: any; | ||
readonly timeStamp: any; | ||
readonly pageX: any; | ||
readonly pageY: any; | ||
readonly clientX: any; | ||
readonly clientY: any; | ||
readonly pointerId: any; | ||
readonly target: any; | ||
readonly type: any; | ||
readonly pointerType: any; | ||
readonly buttons: any; | ||
} & PointerEvent & import("@interactjs/core/InteractEvent").InteractEvent<any, any>) | ({ | ||
@@ -261,2 +303,72 @@ coords: utils.pointer.MockCoords; | ||
readonly buttons: any; | ||
} & import("@interactjs/pointer-events/PointerEvent").default<any> & MouseEvent) | ({ | ||
coords: utils.pointer.MockCoords; | ||
readonly page: any; | ||
readonly client: any; | ||
readonly timeStamp: any; | ||
readonly pageX: any; | ||
readonly pageY: any; | ||
readonly clientX: any; | ||
readonly clientY: any; | ||
readonly pointerId: any; | ||
readonly target: any; | ||
readonly type: any; | ||
readonly pointerType: any; | ||
readonly buttons: any; | ||
} & import("@interactjs/pointer-events/PointerEvent").default<any> & PointerEvent) | ({ | ||
coords: utils.pointer.MockCoords; | ||
readonly page: any; | ||
readonly client: any; | ||
readonly timeStamp: any; | ||
readonly pageX: any; | ||
readonly pageY: any; | ||
readonly clientX: any; | ||
readonly clientY: any; | ||
readonly pointerId: any; | ||
readonly target: any; | ||
readonly type: any; | ||
readonly pointerType: any; | ||
readonly buttons: any; | ||
} & import("@interactjs/pointer-events/PointerEvent").default<any>) | ({ | ||
coords: utils.pointer.MockCoords; | ||
readonly page: any; | ||
readonly client: any; | ||
readonly timeStamp: any; | ||
readonly pageX: any; | ||
readonly pageY: any; | ||
readonly clientX: any; | ||
readonly clientY: any; | ||
readonly pointerId: any; | ||
readonly target: any; | ||
readonly type: any; | ||
readonly pointerType: any; | ||
readonly buttons: any; | ||
} & import("@interactjs/pointer-events/PointerEvent").default<any> & import("@interactjs/core/InteractEvent").InteractEvent<any, any>) | ({ | ||
coords: utils.pointer.MockCoords; | ||
readonly page: any; | ||
readonly client: any; | ||
readonly timeStamp: any; | ||
readonly pageX: any; | ||
readonly pageY: any; | ||
readonly clientX: any; | ||
readonly clientY: any; | ||
readonly pointerId: any; | ||
readonly target: any; | ||
readonly type: any; | ||
readonly pointerType: any; | ||
readonly buttons: any; | ||
} & import("@interactjs/pointer-events/PointerEvent").default<any> & TouchEvent) | ({ | ||
coords: utils.pointer.MockCoords; | ||
readonly page: any; | ||
readonly client: any; | ||
readonly timeStamp: any; | ||
readonly pageX: any; | ||
readonly pageY: any; | ||
readonly clientX: any; | ||
readonly clientY: any; | ||
readonly pointerId: any; | ||
readonly target: any; | ||
readonly type: any; | ||
readonly pointerType: any; | ||
readonly buttons: any; | ||
} & import("@interactjs/core/InteractEvent").InteractEvent<any, any> & MouseEvent) | ({ | ||
@@ -290,2 +402,16 @@ coords: utils.pointer.MockCoords; | ||
readonly buttons: any; | ||
} & import("@interactjs/core/InteractEvent").InteractEvent<any, any> & import("@interactjs/pointer-events/PointerEvent").default<any>) | ({ | ||
coords: utils.pointer.MockCoords; | ||
readonly page: any; | ||
readonly client: any; | ||
readonly timeStamp: any; | ||
readonly pageX: any; | ||
readonly pageY: any; | ||
readonly clientX: any; | ||
readonly clientY: any; | ||
readonly pointerId: any; | ||
readonly target: any; | ||
readonly type: any; | ||
readonly pointerType: any; | ||
readonly buttons: any; | ||
} & import("@interactjs/core/InteractEvent").InteractEvent<any, any>) | ({ | ||
@@ -292,0 +418,0 @@ coords: utils.pointer.MockCoords; |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
231301
2978
1
0