@ethlete/core 1.2.0 → 1.3.0

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.
@@ -2,6 +2,18 @@ import { Observable } from 'rxjs';
2
2
  export declare const nextFrame: (cb: () => void) => void;
3
3
  export declare const fromNextFrame: () => Observable<void>;
4
4
  export declare const forceReflow: (element?: HTMLElement) => number;
5
+ export declare const createFlipAnimationGroup: (config: {
6
+ elements: HTMLElement[];
7
+ duration?: number;
8
+ easing?: string;
9
+ }) => {
10
+ updateInit: () => void;
11
+ play: () => void;
12
+ cancel: () => void;
13
+ onStart$: Observable<void[]>;
14
+ onFinish$: Observable<void[]>;
15
+ onCancel$: Observable<void[]>;
16
+ };
5
17
  export declare const createFlipAnimation: (config: {
6
18
  element: HTMLElement;
7
19
  duration?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethlete/core",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "dependencies": {
5
5
  "tslib": "2.5.0"
6
6
  },