@fiddle-digital/string-tune 1.1.30 → 1.1.31
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.
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +5 -10
- package/dist/index.d.ts +5 -10
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1437,31 +1437,26 @@ declare abstract class CursorReactiveModule extends StringModule {
|
|
|
1437
1437
|
protected useAllObjects: boolean;
|
|
1438
1438
|
protected maxDistanceMultiplier: number;
|
|
1439
1439
|
protected updateThreshold: number;
|
|
1440
|
-
|
|
1440
|
+
protected enabled: boolean;
|
|
1441
1441
|
constructor(context: StringContext);
|
|
1442
1442
|
onObjectConnected(object: StringObject): void;
|
|
1443
1443
|
removeObject(id: string): void;
|
|
1444
1444
|
onScroll(): void;
|
|
1445
1445
|
onMouseMoveMeasure(data: StringData): void;
|
|
1446
|
-
|
|
1447
|
-
protected getCursorTargets(): StringObject[];
|
|
1448
|
-
protected refreshPointerState(target?: StringObject): void;
|
|
1446
|
+
onScrollMeasure(data: StringData): void;
|
|
1447
|
+
protected getCursorTargets(allowFallback?: boolean): StringObject[];
|
|
1448
|
+
protected refreshPointerState(target?: StringObject, allowFallback?: boolean): void;
|
|
1449
1449
|
private scrollUpdateScheduled;
|
|
1450
1450
|
protected scheduleCursorUpdate(): void;
|
|
1451
1451
|
protected onCursorScrollUpdate(): void;
|
|
1452
1452
|
}
|
|
1453
1453
|
|
|
1454
1454
|
declare class StringSpotlight extends CursorReactiveModule {
|
|
1455
|
-
protected onCursorFrame(data: StringData, frame: number): void;
|
|
1456
|
-
private updateScheduledSpotlight;
|
|
1457
1455
|
constructor(context: any);
|
|
1458
1456
|
initializeObject(id: number, obj: StringObject, el: HTMLElement, attrs: Record<string, any>): void;
|
|
1459
|
-
protected onPointerDelta(obj: StringObject, dx: number, dy: number, dist: number): void;
|
|
1460
|
-
onMouseMoveMeasure(data: StringData): void;
|
|
1461
1457
|
onMutate(data: StringData): void;
|
|
1462
|
-
private ensurePointerState;
|
|
1463
|
-
private updateSpotlightState;
|
|
1464
1458
|
protected onCursorScrollUpdate(): void;
|
|
1459
|
+
private updateSpotlightState;
|
|
1465
1460
|
}
|
|
1466
1461
|
|
|
1467
1462
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1437,31 +1437,26 @@ declare abstract class CursorReactiveModule extends StringModule {
|
|
|
1437
1437
|
protected useAllObjects: boolean;
|
|
1438
1438
|
protected maxDistanceMultiplier: number;
|
|
1439
1439
|
protected updateThreshold: number;
|
|
1440
|
-
|
|
1440
|
+
protected enabled: boolean;
|
|
1441
1441
|
constructor(context: StringContext);
|
|
1442
1442
|
onObjectConnected(object: StringObject): void;
|
|
1443
1443
|
removeObject(id: string): void;
|
|
1444
1444
|
onScroll(): void;
|
|
1445
1445
|
onMouseMoveMeasure(data: StringData): void;
|
|
1446
|
-
|
|
1447
|
-
protected getCursorTargets(): StringObject[];
|
|
1448
|
-
protected refreshPointerState(target?: StringObject): void;
|
|
1446
|
+
onScrollMeasure(data: StringData): void;
|
|
1447
|
+
protected getCursorTargets(allowFallback?: boolean): StringObject[];
|
|
1448
|
+
protected refreshPointerState(target?: StringObject, allowFallback?: boolean): void;
|
|
1449
1449
|
private scrollUpdateScheduled;
|
|
1450
1450
|
protected scheduleCursorUpdate(): void;
|
|
1451
1451
|
protected onCursorScrollUpdate(): void;
|
|
1452
1452
|
}
|
|
1453
1453
|
|
|
1454
1454
|
declare class StringSpotlight extends CursorReactiveModule {
|
|
1455
|
-
protected onCursorFrame(data: StringData, frame: number): void;
|
|
1456
|
-
private updateScheduledSpotlight;
|
|
1457
1455
|
constructor(context: any);
|
|
1458
1456
|
initializeObject(id: number, obj: StringObject, el: HTMLElement, attrs: Record<string, any>): void;
|
|
1459
|
-
protected onPointerDelta(obj: StringObject, dx: number, dy: number, dist: number): void;
|
|
1460
|
-
onMouseMoveMeasure(data: StringData): void;
|
|
1461
1457
|
onMutate(data: StringData): void;
|
|
1462
|
-
private ensurePointerState;
|
|
1463
|
-
private updateSpotlightState;
|
|
1464
1458
|
protected onCursorScrollUpdate(): void;
|
|
1459
|
+
private updateSpotlightState;
|
|
1465
1460
|
}
|
|
1466
1461
|
|
|
1467
1462
|
/**
|