update translations

This commit is contained in:
Luke Pulverenti 2015-07-08 20:20:01 -04:00
parent 8030454e19
commit 22586c7a8f
41 changed files with 17432 additions and 17417 deletions

View file

@ -1,6 +1,6 @@
{
"name": "neon-animation",
"version": "1.0.4",
"version": "1.0.5",
"authors": [
"The Polymer Authors"
],
@ -34,7 +34,7 @@
"iron-resizable-behavior": "PolymerElements/iron-resizable-behavior#^1.0.0",
"iron-selector": "PolymerElements/iron-selector#^1.0.0",
"paper-styles": "PolymerElements/paper-styles#^1.0.0",
"web-animations-js": "web-animations/web-animations-js#^2.0.0"
"web-animations-js": "web-animations/web-animations-js#2.1.0"
},
"devDependencies": {
"iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0",
@ -48,11 +48,11 @@
"iron-icons": "PolymerElements/iron-icons#^1.0.0",
"paper-icon-button": "PolymerElements/paper-icon-button#^1.0.0"
},
"_release": "1.0.4",
"_release": "1.0.5",
"_resolution": {
"type": "version",
"tag": "v1.0.4",
"commit": "8016c4f082250af41a08d30c2b8eae295c24f874"
"tag": "v1.0.5",
"commit": "d5305b9acc9924c5dd4fcb0098c21840d6ec5b7e"
},
"_source": "git://github.com/PolymerElements/neon-animation.git",
"_target": "^1.0.0",

View file

@ -66,6 +66,7 @@ Configuration:
return;
}
this._animations = [];
var nodes = config.nodes;
var effects = [];
var nodeDelay = config.nodeDelay || 50;
@ -81,12 +82,19 @@ Configuration:
var animation = new animationConstructor();
var effect = animation.configure(config);
this._animations.push(animation);
effects.push(effect);
}
config.timing.delay = oldDelay;
this._effect = new GroupEffect(effects);
return this._effect;
},
complete: function() {
for (var animation, index = 0; animation = this._animations[index]; index++) {
animation.complete(animation.config);
}
}
});

View file

@ -43,8 +43,8 @@ Configuration:
Polymer.NeonSharedElementAnimationBehavior
],
configure: function(config, fromPage, toPage) {
var shared = this.findSharedElements(config, fromPage, toPage);
configure: function(config) {
var shared = this.findSharedElements(config);
if (!shared) {
return null;
}
@ -69,7 +69,7 @@ Configuration:
this.setPrefixedProperty(shared.from, 'transformOrigin', '50% 50%');
shared.from.style.borderRadius = '50%';
this._effect = new KeyframeEffect(shared.from, [
{'transform': translate + ' ' + scale},
{'transform': translate + ' scale(0)'}

View file

@ -13,13 +13,13 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
<link rel="import" href="../web-animations.html">
<!--
`<slide-down-animation>` animates a custom transform on an element. Use this to animate multiple
`<transform-animation>` animates a custom transform on an element. Use this to animate multiple
transform properties, or to apply a custom transform value.
Configuration:
```
{
name: 'slide-down-animation',
name: 'transform-animation',
node: <node>,
transformOrigin: <transform-origin>,
transformFrom: <transform-from-string>,

View file

@ -34,7 +34,7 @@
"iron-resizable-behavior": "PolymerElements/iron-resizable-behavior#^1.0.0",
"iron-selector": "PolymerElements/iron-selector#^1.0.0",
"paper-styles": "PolymerElements/paper-styles#^1.0.0",
"web-animations-js": "web-animations/web-animations-js#^2.0.0"
"web-animations-js": "web-animations/web-animations-js#2.1.0"
},
"devDependencies": {
"iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0",

View file

@ -9,7 +9,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="../iron-resizable-behavior/iron-resizable-behavior.html">
<link rel="import" href="../iron-selector/iron-selectable.html">
<link rel="import" href="../paper-styles/paper-styles.html">
<link rel="import" href="neon-animation-runner-behavior.html">
<link rel="import" href="animations/opaque-animation.html">
@ -33,7 +32,11 @@ animations to be run when switching to or switching out of the page.
}
:host > ::content > * {
@apply(--layout-fit);
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
height: 100%;
}