Skip to content

Commit 163f430

Browse files
chore(all): prepare release 1.0.2
1 parent de66cf0 commit 163f430

File tree

11 files changed

+360
-800
lines changed

11 files changed

+360
-800
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aurelia-animator-css",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "An implementation of the abstract Animator interface from templating which enables css-based animations.",
55
"keywords": [
66
"aurelia",

dist/amd/aurelia-animator-css.js

Lines changed: 62 additions & 136 deletions
Large diffs are not rendered by default.

dist/aurelia-animator-css.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
} from 'aurelia-pal';
88
export declare interface CssAnimation {
99
className: string;
10-
element: HTMLElement;
10+
element: Element;
1111
}
1212

1313
/**
@@ -31,7 +31,7 @@ export declare class CssAnimator {
3131
* @param options options for the animation (duration, easing, ...)
3232
* @returns Resolved when the animation is done
3333
*/
34-
animate(element: HTMLElement | Array<HTMLElement>, className: string): Promise<boolean>;
34+
animate(element: Element | Array<Element>, className: string): Promise<boolean>;
3535

3636
/**
3737
* Run a sequence of animations one after the other.
@@ -45,14 +45,14 @@ export declare class CssAnimator {
4545
* @param element Element to animate
4646
* @returns Resolved when the animation is done
4747
*/
48-
enter(element: HTMLElement): Promise<boolean>;
48+
enter(element: Element): Promise<boolean>;
4949

5050
/**
5151
* Execute a 'leave' animation on an element
5252
* @param element Element to animate
5353
* @returns Resolved when the animation is done
5454
*/
55-
leave(element: HTMLElement): Promise<boolean>;
55+
leave(element: Element): Promise<boolean>;
5656

5757
/**
5858
* Add a class to an element to trigger an animation.
@@ -61,7 +61,7 @@ export declare class CssAnimator {
6161
* @param suppressEvents Indicates whether or not to suppress animation events.
6262
* @returns Resolved when the animation is done
6363
*/
64-
removeClass(element: HTMLElement, className: string, suppressEvents?: boolean): Promise<boolean>;
64+
removeClass(element: Element, className: string, suppressEvents?: boolean): Promise<boolean>;
6565

6666
/**
6767
* Add a class to an element to trigger an animation.
@@ -70,7 +70,7 @@ export declare class CssAnimator {
7070
* @param suppressEvents Indicates whether or not to suppress animation events.
7171
* @returns Resolved when the animation is done
7272
*/
73-
addClass(element: HTMLElement, className: string, suppressEvents?: boolean): Promise<boolean>;
73+
addClass(element: Element, className: string, suppressEvents?: boolean): Promise<boolean>;
7474
}
7575

7676
/* Public API End */

0 commit comments

Comments
 (0)