laymur-animations 0.1.6 → 0.1.8

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.
@@ -49,14 +49,18 @@ export declare class Animator {
49
49
  gap?: number;
50
50
  totalDuration?: number;
51
51
  }): void;
52
- static stopPulse(targets: AnimatedElement | AnimatedElement[]): void;
52
+ static stopPulse(targets: AnimatedElement | AnimatedElement[], options?: {
53
+ duration?: number;
54
+ }): void;
53
55
  static shake(targets: AnimatedElement | AnimatedElement[], options?: {
54
56
  radius?: number;
55
57
  duration?: number;
56
58
  frequency?: number;
57
59
  totalDuration?: number;
58
60
  }): void;
59
- static stopShake(targets: AnimatedElement | AnimatedElement[]): void;
61
+ static stopShake(targets: AnimatedElement | AnimatedElement[], options?: {
62
+ duration?: number;
63
+ }): void;
60
64
  static callToClick(targets: AnimatedElement | AnimatedElement[], options?: {
61
65
  jumpHeight?: number;
62
66
  duration?: number;
@@ -65,7 +69,9 @@ export declare class Animator {
65
69
  gap?: number;
66
70
  totalDuration?: number;
67
71
  }): void;
68
- static stopCallToClick(targets: AnimatedElement | AnimatedElement[]): void;
72
+ static stopCallToClick(targets: AnimatedElement | AnimatedElement[], options?: {
73
+ duration?: number;
74
+ }): void;
69
75
  static callToClickSpin(targets: AnimatedElement | AnimatedElement[], options?: {
70
76
  degrees?: number;
71
77
  duration?: number;
@@ -76,5 +82,7 @@ export declare class Animator {
76
82
  anchorX?: number;
77
83
  anchorY?: number;
78
84
  }): void;
79
- static stopCallToClickSpin(targets: AnimatedElement | AnimatedElement[]): void;
85
+ static stopCallToClickSpin(targets: AnimatedElement | AnimatedElement[], options?: {
86
+ duration?: number;
87
+ }): void;
80
88
  }