Skip to content

Commit fc3f7c5

Browse files
chore(all): prepare release 0.18.0
1 parent 2eac640 commit fc3f7c5

14 files changed

+54
-157
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": "0.17.0",
3+
"version": "0.18.0",
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.d.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
declare module 'aurelia-animator-css' {
2-
import { animationEvent, Animator } from 'aurelia-templating';
2+
import { animationEvent, TemplatingEngine } from 'aurelia-templating';
33
import { DOM } from 'aurelia-pal';
44
export interface CssAnimation {
55
className: string;
@@ -30,13 +30,6 @@ declare module 'aurelia-animator-css' {
3030
*/
3131
runSequence(animations: Array<CssAnimation>): Promise<boolean>;
3232

33-
/**
34-
* Stub of move interface method
35-
*
36-
* @returns
37-
*/
38-
move(): Promise<boolean>;
39-
4033
/**
4134
* Performs the enter animation for the given element, triggered by a [my-class]-enter-active css-class
4235
*

dist/amd/aurelia-animator-css.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,6 @@ define(['exports', 'aurelia-templating', 'aurelia-pal'], function (exports, _aur
112112
});
113113
};
114114

115-
CssAnimator.prototype.move = function move() {
116-
return Promise.resolve(false);
117-
};
118-
119115
CssAnimator.prototype.enter = function enter(element) {
120116
var _this4 = this;
121117

@@ -419,9 +415,7 @@ define(['exports', 'aurelia-templating', 'aurelia-pal'], function (exports, _aur
419415

420416
function configure(config, callback) {
421417
var animator = config.container.get(CssAnimator);
422-
423-
_aureliaTemplating.Animator.configureDefault(config.container, animator);
424-
418+
config.container.get(_aureliaTemplating.TemplatingEngine).configureAnimator(animator);
425419
if (typeof callback === 'function') {
426420
callback(animator);
427421
}

dist/aurelia-animator-css.d.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
declare module 'aurelia-animator-css' {
2-
import { animationEvent, Animator } from 'aurelia-templating';
2+
import { animationEvent, TemplatingEngine } from 'aurelia-templating';
33
import { DOM } from 'aurelia-pal';
44
export interface CssAnimation {
55
className: string;
@@ -30,13 +30,6 @@ declare module 'aurelia-animator-css' {
3030
*/
3131
runSequence(animations: Array<CssAnimation>): Promise<boolean>;
3232

33-
/**
34-
* Stub of move interface method
35-
*
36-
* @returns
37-
*/
38-
move(): Promise<boolean>;
39-
4033
/**
4134
* Performs the enter animation for the given element, triggered by a [my-class]-enter-active css-class
4235
*

dist/aurelia-animator-css.js

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {animationEvent,Animator} from 'aurelia-templating';
1+
import {animationEvent,TemplatingEngine} from 'aurelia-templating';
22
import {DOM} from 'aurelia-pal';
33

44
interface CssAnimation {
@@ -158,15 +158,6 @@ export class CssAnimator {
158158
});
159159
}
160160

161-
/**
162-
* Stub of move interface method
163-
*
164-
* @returns
165-
*/
166-
move(): Promise<boolean> {
167-
return Promise.resolve(false);
168-
}
169-
170161
/**
171162
* Performs the enter animation for the given element, triggered by a [my-class]-enter-active css-class
172163
*
@@ -558,10 +549,6 @@ export class CssAnimator {
558549

559550
export function configure(config: Object, callback?:(animator:CssAnimator) => void) {
560551
let animator = config.container.get(CssAnimator);
561-
562-
Animator.configureDefault(config.container, animator);
563-
564-
if (typeof callback === 'function') {
565-
callback(animator);
566-
}
552+
config.container.get(TemplatingEngine).configureAnimator(animator);
553+
if (typeof callback === 'function') { callback(animator); }
567554
}

dist/commonjs/aurelia-animator-css.d.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
declare module 'aurelia-animator-css' {
2-
import { animationEvent, Animator } from 'aurelia-templating';
2+
import { animationEvent, TemplatingEngine } from 'aurelia-templating';
33
import { DOM } from 'aurelia-pal';
44
export interface CssAnimation {
55
className: string;
@@ -30,13 +30,6 @@ declare module 'aurelia-animator-css' {
3030
*/
3131
runSequence(animations: Array<CssAnimation>): Promise<boolean>;
3232

33-
/**
34-
* Stub of move interface method
35-
*
36-
* @returns
37-
*/
38-
move(): Promise<boolean>;
39-
4033
/**
4134
* Performs the enter animation for the given element, triggered by a [my-class]-enter-active css-class
4235
*

dist/commonjs/aurelia-animator-css.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,6 @@ var CssAnimator = (function () {
115115
});
116116
};
117117

118-
CssAnimator.prototype.move = function move() {
119-
return Promise.resolve(false);
120-
};
121-
122118
CssAnimator.prototype.enter = function enter(element) {
123119
var _this4 = this;
124120

@@ -422,9 +418,7 @@ exports.CssAnimator = CssAnimator;
422418

423419
function configure(config, callback) {
424420
var animator = config.container.get(CssAnimator);
425-
426-
_aureliaTemplating.Animator.configureDefault(config.container, animator);
427-
421+
config.container.get(_aureliaTemplating.TemplatingEngine).configureAnimator(animator);
428422
if (typeof callback === 'function') {
429423
callback(animator);
430424
}

dist/es6/aurelia-animator-css.d.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
declare module 'aurelia-animator-css' {
2-
import { animationEvent, Animator } from 'aurelia-templating';
2+
import { animationEvent, TemplatingEngine } from 'aurelia-templating';
33
import { DOM } from 'aurelia-pal';
44
export interface CssAnimation {
55
className: string;
@@ -30,13 +30,6 @@ declare module 'aurelia-animator-css' {
3030
*/
3131
runSequence(animations: Array<CssAnimation>): Promise<boolean>;
3232

33-
/**
34-
* Stub of move interface method
35-
*
36-
* @returns
37-
*/
38-
move(): Promise<boolean>;
39-
4033
/**
4134
* Performs the enter animation for the given element, triggered by a [my-class]-enter-active css-class
4235
*

dist/es6/aurelia-animator-css.js

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {animationEvent,Animator} from 'aurelia-templating';
1+
import {animationEvent,TemplatingEngine} from 'aurelia-templating';
22
import {DOM} from 'aurelia-pal';
33

44
interface CssAnimation {
@@ -158,15 +158,6 @@ export class CssAnimator {
158158
});
159159
}
160160

161-
/**
162-
* Stub of move interface method
163-
*
164-
* @returns
165-
*/
166-
move(): Promise<boolean> {
167-
return Promise.resolve(false);
168-
}
169-
170161
/**
171162
* Performs the enter animation for the given element, triggered by a [my-class]-enter-active css-class
172163
*
@@ -558,10 +549,6 @@ export class CssAnimator {
558549

559550
export function configure(config: Object, callback?:(animator:CssAnimator) => void) {
560551
let animator = config.container.get(CssAnimator);
561-
562-
Animator.configureDefault(config.container, animator);
563-
564-
if (typeof callback === 'function') {
565-
callback(animator);
566-
}
552+
config.container.get(TemplatingEngine).configureAnimator(animator);
553+
if (typeof callback === 'function') { callback(animator); }
567554
}

dist/system/aurelia-animator-css.d.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
declare module 'aurelia-animator-css' {
2-
import { animationEvent, Animator } from 'aurelia-templating';
2+
import { animationEvent, TemplatingEngine } from 'aurelia-templating';
33
import { DOM } from 'aurelia-pal';
44
export interface CssAnimation {
55
className: string;
@@ -30,13 +30,6 @@ declare module 'aurelia-animator-css' {
3030
*/
3131
runSequence(animations: Array<CssAnimation>): Promise<boolean>;
3232

33-
/**
34-
* Stub of move interface method
35-
*
36-
* @returns
37-
*/
38-
move(): Promise<boolean>;
39-
4033
/**
4134
* Performs the enter animation for the given element, triggered by a [my-class]-enter-active css-class
4235
*

0 commit comments

Comments
 (0)