Skip to content

Commit

Permalink
chore(all): prepare release 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Apr 5, 2017
1 parent de66cf0 commit 163f430
Show file tree
Hide file tree
Showing 11 changed files with 360 additions and 800 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-animator-css",
"version": "1.0.1",
"version": "1.0.2",
"description": "An implementation of the abstract Animator interface from templating which enables css-based animations.",
"keywords": [
"aurelia",
Expand Down
198 changes: 62 additions & 136 deletions dist/amd/aurelia-animator-css.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dist/aurelia-animator-css.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
} from 'aurelia-pal';
export declare interface CssAnimation {
className: string;
element: HTMLElement;
element: Element;
}

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

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

/**
* Execute a 'leave' animation on an element
* @param element Element to animate
* @returns Resolved when the animation is done
*/
leave(element: HTMLElement): Promise<boolean>;
leave(element: Element): Promise<boolean>;

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

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

/* Public API End */
Expand Down
Loading

0 comments on commit 163f430

Please sign in to comment.