@ue-too/board 0.17.3 → 0.17.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -161,7 +161,6 @@ export declare class CanvasProxy implements Canvas, Observable<[CanvasDimensions
|
|
|
161
161
|
setCursor(style: 'grab' | 'default' | 'grabbing'): void;
|
|
162
162
|
tearDown(): void;
|
|
163
163
|
attach(canvas: HTMLCanvasElement): void;
|
|
164
|
-
logCanvasTrueSize(): void;
|
|
165
164
|
}
|
|
166
165
|
export declare class SvgProxy implements Canvas, Observable<[CanvasDimensions]> {
|
|
167
166
|
private _width;
|
|
@@ -195,7 +194,6 @@ export declare class SvgProxy implements Canvas, Observable<[CanvasDimensions]>
|
|
|
195
194
|
setCursor(style: 'grab' | 'default' | 'grabbing'): void;
|
|
196
195
|
tearDown(): void;
|
|
197
196
|
attach(svg: SVGSVGElement): void;
|
|
198
|
-
logCanvasTrueSize(): void;
|
|
199
197
|
}
|
|
200
198
|
/**
|
|
201
199
|
* @description A proxy for the canvas that is used to communicate with the web worker.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { EventResult } from '@ue-too/being';
|
|
1
|
+
import type { EventArgs, EventResult } from '@ue-too/being';
|
|
2
|
+
import type { KmtInputEventMapping } from '../../input-interpretation/input-state-machine';
|
|
2
3
|
import type { InputOrchestrator } from '../input-orchestrator';
|
|
3
4
|
/**
|
|
4
5
|
* Interface for KMT (Keyboard/Mouse/Trackpad) event parsers.
|
|
@@ -156,7 +157,7 @@ export declare class VanillaKMTEventParser implements KMTEventParser {
|
|
|
156
157
|
private _orchestrator;
|
|
157
158
|
private _keyfirstPressed;
|
|
158
159
|
private _abortController;
|
|
159
|
-
|
|
160
|
+
protected _canvas?: HTMLCanvasElement | SVGSVGElement;
|
|
160
161
|
constructor(kmtInputStateMachine: StateMachine, orchestrator: InputOrchestrator, canvas?: HTMLCanvasElement | SVGSVGElement);
|
|
161
162
|
get disabled(): boolean;
|
|
162
163
|
disable(): void;
|
|
@@ -165,7 +166,7 @@ export declare class VanillaKMTEventParser implements KMTEventParser {
|
|
|
165
166
|
setUp(): void;
|
|
166
167
|
tearDown(): void;
|
|
167
168
|
bindFunctions(): void;
|
|
168
|
-
|
|
169
|
+
protected processEvent<K extends keyof KmtInputEventMapping>(...args: EventArgs<KmtInputEventMapping, K>): void;
|
|
169
170
|
pointerDownHandler(e: PointerEvent): void;
|
|
170
171
|
pointerUpHandler(e: PointerEvent): void;
|
|
171
172
|
pointerMoveHandler(e: PointerEvent): void;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ue-too/board",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.17.
|
|
4
|
+
"version": "0.17.5",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./index.d.ts",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"types": "./index.d.ts",
|
|
15
15
|
"module": "./index.js",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@ue-too/being": "^0.17.
|
|
18
|
-
"@ue-too/math": "^0.17.
|
|
17
|
+
"@ue-too/being": "^0.17.5",
|
|
18
|
+
"@ue-too/math": "^0.17.5"
|
|
19
19
|
},
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|