From 9515975e35360bbabeeaf00ce8b7084f1bd7f1f9 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 10 May 2016 22:21:28 -0400 Subject: [PATCH 1/3] update queries --- dashboard-ui/scripts/livetvcomponents.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dashboard-ui/scripts/livetvcomponents.js b/dashboard-ui/scripts/livetvcomponents.js index 3edbaf79e..4a562e705 100644 --- a/dashboard-ui/scripts/livetvcomponents.js +++ b/dashboard-ui/scripts/livetvcomponents.js @@ -4,6 +4,10 @@ return browserInfo.mobile && AppInfo.enableAppLayouts; } + function getSquareShape() { + return enableScrollX() ? 'overflowSquare' : 'square'; + } + function getTimersHtml(timers) { var items = timers.map(function (t) { @@ -68,7 +72,7 @@ html += LibraryBrowser.getPosterViewHtml({ items: group.items, - shape: "square", + shape: getSquareShape(), showTitle: true, showAirTime: true, showChannelName: true, From f7e2648d79b947bdb3c89d573f3eeb4471796754 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 10 May 2016 22:23:31 -0400 Subject: [PATCH 2/3] update components --- .../iron-a11y-keys-behavior/.bower.json | 6 +++--- .../bower_components/iron-behaviors/.bower.json | 8 ++++---- .../bower_components/iron-behaviors/bower.json | 2 +- .../iron-behaviors/iron-control-state.html | 16 +++++++++------- .../iron-flex-layout/.bower.json | 6 +++--- .../bower_components/iron-meta/.bower.json | 6 +++--- .../iron-resizable-behavior/.bower.json | 6 +++--- .../bower_components/paper-behaviors/.bower.json | 4 ++-- .../bower_components/paper-ripple/.bower.json | 6 +++--- 9 files changed, 31 insertions(+), 29 deletions(-) diff --git a/dashboard-ui/bower_components/iron-a11y-keys-behavior/.bower.json b/dashboard-ui/bower_components/iron-a11y-keys-behavior/.bower.json index f920799d2..9604c48b0 100644 --- a/dashboard-ui/bower_components/iron-a11y-keys-behavior/.bower.json +++ b/dashboard-ui/bower_components/iron-a11y-keys-behavior/.bower.json @@ -30,14 +30,14 @@ "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, "ignore": [], - "homepage": "https://github.com/polymerelements/iron-a11y-keys-behavior", + "homepage": "https://github.com/PolymerElements/iron-a11y-keys-behavior", "_release": "1.1.2", "_resolution": { "type": "version", "tag": "v1.1.2", "commit": "0c2330c229a6fd3d200e2b84147ec6f94f17c22d" }, - "_source": "git://github.com/polymerelements/iron-a11y-keys-behavior.git", + "_source": "git://github.com/PolymerElements/iron-a11y-keys-behavior.git", "_target": "^1.0.0", - "_originalSource": "polymerelements/iron-a11y-keys-behavior" + "_originalSource": "PolymerElements/iron-a11y-keys-behavior" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/iron-behaviors/.bower.json b/dashboard-ui/bower_components/iron-behaviors/.bower.json index fe0c6d195..9df3c3f1d 100644 --- a/dashboard-ui/bower_components/iron-behaviors/.bower.json +++ b/dashboard-ui/bower_components/iron-behaviors/.bower.json @@ -1,6 +1,6 @@ { "name": "iron-behaviors", - "version": "1.0.15", + "version": "1.0.16", "description": "Provides a set of behaviors for the iron elements", "private": true, "authors": [ @@ -30,11 +30,11 @@ }, "ignore": [], "homepage": "https://github.com/PolymerElements/iron-behaviors", - "_release": "1.0.15", + "_release": "1.0.16", "_resolution": { "type": "version", - "tag": "v1.0.15", - "commit": "f91583bfae24235401a21a1d67bde8cacce13030" + "tag": "v1.0.16", + "commit": "161e67233c4776e32a275a719a000865ed309393" }, "_source": "git://github.com/PolymerElements/iron-behaviors.git", "_target": "^1.0.0", diff --git a/dashboard-ui/bower_components/iron-behaviors/bower.json b/dashboard-ui/bower_components/iron-behaviors/bower.json index ba405d65d..89d24c051 100644 --- a/dashboard-ui/bower_components/iron-behaviors/bower.json +++ b/dashboard-ui/bower_components/iron-behaviors/bower.json @@ -1,6 +1,6 @@ { "name": "iron-behaviors", - "version": "1.0.15", + "version": "1.0.16", "description": "Provides a set of behaviors for the iron elements", "private": true, "authors": [ diff --git a/dashboard-ui/bower_components/iron-behaviors/iron-control-state.html b/dashboard-ui/bower_components/iron-behaviors/iron-control-state.html index ab5b432b3..f34d05799 100644 --- a/dashboard-ui/bower_components/iron-behaviors/iron-control-state.html +++ b/dashboard-ui/bower_components/iron-behaviors/iron-control-state.html @@ -73,13 +73,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN if (event.target === this) { this._setFocused(event.type === 'focus'); - } else if (!this.shadowRoot && - !this.isLightDescendant(Polymer.dom(event).localTarget)) { - this.fire(event.type, {sourceEvent: event}, { - node: this, - bubbles: event.bubbles, - cancelable: event.cancelable - }); + } else if (!this.shadowRoot) { + var target = /** @type {Node} */(Polymer.dom(event).localTarget); + if (!this.isLightDescendant(target)) { + this.fire(event.type, {sourceEvent: event}, { + node: this, + bubbles: event.bubbles, + cancelable: event.cancelable + }); + } } }, diff --git a/dashboard-ui/bower_components/iron-flex-layout/.bower.json b/dashboard-ui/bower_components/iron-flex-layout/.bower.json index c6c5c62b6..023b53e0e 100644 --- a/dashboard-ui/bower_components/iron-flex-layout/.bower.json +++ b/dashboard-ui/bower_components/iron-flex-layout/.bower.json @@ -28,14 +28,14 @@ "web-component-tester": "^4.0.0" }, "ignore": [], - "homepage": "https://github.com/PolymerElements/iron-flex-layout", + "homepage": "https://github.com/polymerelements/iron-flex-layout", "_release": "1.3.1", "_resolution": { "type": "version", "tag": "v1.3.1", "commit": "6d88f29f3a7181daa2a5c7f678de44f0a0e6a717" }, - "_source": "git://github.com/PolymerElements/iron-flex-layout.git", + "_source": "git://github.com/polymerelements/iron-flex-layout.git", "_target": "^1.0.0", - "_originalSource": "PolymerElements/iron-flex-layout" + "_originalSource": "polymerelements/iron-flex-layout" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/iron-meta/.bower.json b/dashboard-ui/bower_components/iron-meta/.bower.json index e1304d174..f4bfef4a7 100644 --- a/dashboard-ui/bower_components/iron-meta/.bower.json +++ b/dashboard-ui/bower_components/iron-meta/.bower.json @@ -26,14 +26,14 @@ "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, "main": "iron-meta.html", - "homepage": "https://github.com/PolymerElements/iron-meta", + "homepage": "https://github.com/polymerelements/iron-meta", "_release": "1.1.1", "_resolution": { "type": "version", "tag": "v1.1.1", "commit": "e171ee234b482219c9514e6f9551df48ef48bd9f" }, - "_source": "git://github.com/PolymerElements/iron-meta.git", + "_source": "git://github.com/polymerelements/iron-meta.git", "_target": "^1.0.0", - "_originalSource": "PolymerElements/iron-meta" + "_originalSource": "polymerelements/iron-meta" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/iron-resizable-behavior/.bower.json b/dashboard-ui/bower_components/iron-resizable-behavior/.bower.json index cca11d899..2e765b932 100644 --- a/dashboard-ui/bower_components/iron-resizable-behavior/.bower.json +++ b/dashboard-ui/bower_components/iron-resizable-behavior/.bower.json @@ -28,14 +28,14 @@ "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, "ignore": [], - "homepage": "https://github.com/polymerelements/iron-resizable-behavior", + "homepage": "https://github.com/PolymerElements/iron-resizable-behavior", "_release": "1.0.3", "_resolution": { "type": "version", "tag": "v1.0.3", "commit": "dda1df6aaf452aedf3e52ff0cf69e72439452216" }, - "_source": "git://github.com/polymerelements/iron-resizable-behavior.git", + "_source": "git://github.com/PolymerElements/iron-resizable-behavior.git", "_target": "^1.0.0", - "_originalSource": "polymerelements/iron-resizable-behavior" + "_originalSource": "PolymerElements/iron-resizable-behavior" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/paper-behaviors/.bower.json b/dashboard-ui/bower_components/paper-behaviors/.bower.json index 2b04bf9f8..a6b333d33 100644 --- a/dashboard-ui/bower_components/paper-behaviors/.bower.json +++ b/dashboard-ui/bower_components/paper-behaviors/.bower.json @@ -45,7 +45,7 @@ "tag": "v1.0.11", "commit": "e3c1ab0c72905b58fb4d9adc2921ea73b5c085a5" }, - "_source": "git://github.com/PolymerElements/paper-behaviors.git", + "_source": "git://github.com/polymerelements/paper-behaviors.git", "_target": "^1.0.0", - "_originalSource": "PolymerElements/paper-behaviors" + "_originalSource": "polymerelements/paper-behaviors" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/paper-ripple/.bower.json b/dashboard-ui/bower_components/paper-ripple/.bower.json index 157225ee7..2f654d71c 100644 --- a/dashboard-ui/bower_components/paper-ripple/.bower.json +++ b/dashboard-ui/bower_components/paper-ripple/.bower.json @@ -32,14 +32,14 @@ "iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0" }, "ignore": [], - "homepage": "https://github.com/PolymerElements/paper-ripple", + "homepage": "https://github.com/polymerelements/paper-ripple", "_release": "1.0.5", "_resolution": { "type": "version", "tag": "v1.0.5", "commit": "d72e7a9a8ab518b901ed18dde492df3b87a93be5" }, - "_source": "git://github.com/PolymerElements/paper-ripple.git", + "_source": "git://github.com/polymerelements/paper-ripple.git", "_target": "^1.0.0", - "_originalSource": "PolymerElements/paper-ripple" + "_originalSource": "polymerelements/paper-ripple" } \ No newline at end of file From 144e773ee47e126cda7d14cf209a77792656855c Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 11 May 2016 10:36:28 -0400 Subject: [PATCH 3/3] update user data queries --- .../iron-a11y-keys-behavior/.bower.json | 6 +-- .../iron-flex-layout/.bower.json | 6 +-- .../iron-resizable-behavior/.bower.json | 6 +-- .../neon-animation/.bower.json | 11 ++-- .../animations/cascaded-animation.html | 2 +- .../animations/hero-animation.html | 8 +-- .../animations/opaque-animation.html | 2 +- .../animations/reverse-ripple-animation.html | 7 +-- .../animations/ripple-animation.html | 7 +-- .../animations/scale-down-animation.html | 8 +-- .../animations/scale-up-animation.html | 8 +-- .../animations/slide-down-animation.html | 10 ++-- .../slide-from-bottom-animation.html | 10 ++-- .../animations/slide-from-left-animation.html | 10 ++-- .../slide-from-right-animation.html | 10 ++-- .../animations/slide-from-top-animation.html | 10 ++-- .../animations/slide-left-animation.html | 10 ++-- .../animations/slide-right-animation.html | 10 ++-- .../animations/slide-up-animation.html | 10 ++-- .../animations/transform-animation.html | 8 +-- .../neon-animation/bower.json | 2 +- .../neon-animation/demo/card/x-card.html | 3 -- .../neon-animatable-behavior.html | 20 ++------ .../neon-animation/neon-animated-pages.html | 10 ++-- .../neon-animation-runner-behavior.html | 39 +++++++------- ...eon-shared-element-animation-behavior.html | 6 +-- .../test/neon-animated-pages-lazy.html | 5 +- .../bower_components/polymer/.bower.json | 2 +- .../metadataeditor/metadataeditor.js | 29 +++++------ .../recordingcreator/recordingcreator.js | 16 +----- .../recordingcreator.template.html | 18 +++---- dashboard-ui/components/remotecontrol.js | 18 ++++--- dashboard-ui/nowplaying.html | 8 +-- dashboard-ui/scripts/librarybrowser.js | 37 +++++++++----- dashboard-ui/scripts/nowplayingbar.js | 8 +-- dashboard-ui/scripts/nowplayingpage.js | 51 +++++++------------ dashboard-ui/scripts/site.js | 3 +- 37 files changed, 196 insertions(+), 238 deletions(-) diff --git a/dashboard-ui/bower_components/iron-a11y-keys-behavior/.bower.json b/dashboard-ui/bower_components/iron-a11y-keys-behavior/.bower.json index 9604c48b0..f920799d2 100644 --- a/dashboard-ui/bower_components/iron-a11y-keys-behavior/.bower.json +++ b/dashboard-ui/bower_components/iron-a11y-keys-behavior/.bower.json @@ -30,14 +30,14 @@ "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, "ignore": [], - "homepage": "https://github.com/PolymerElements/iron-a11y-keys-behavior", + "homepage": "https://github.com/polymerelements/iron-a11y-keys-behavior", "_release": "1.1.2", "_resolution": { "type": "version", "tag": "v1.1.2", "commit": "0c2330c229a6fd3d200e2b84147ec6f94f17c22d" }, - "_source": "git://github.com/PolymerElements/iron-a11y-keys-behavior.git", + "_source": "git://github.com/polymerelements/iron-a11y-keys-behavior.git", "_target": "^1.0.0", - "_originalSource": "PolymerElements/iron-a11y-keys-behavior" + "_originalSource": "polymerelements/iron-a11y-keys-behavior" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/iron-flex-layout/.bower.json b/dashboard-ui/bower_components/iron-flex-layout/.bower.json index 023b53e0e..c6c5c62b6 100644 --- a/dashboard-ui/bower_components/iron-flex-layout/.bower.json +++ b/dashboard-ui/bower_components/iron-flex-layout/.bower.json @@ -28,14 +28,14 @@ "web-component-tester": "^4.0.0" }, "ignore": [], - "homepage": "https://github.com/polymerelements/iron-flex-layout", + "homepage": "https://github.com/PolymerElements/iron-flex-layout", "_release": "1.3.1", "_resolution": { "type": "version", "tag": "v1.3.1", "commit": "6d88f29f3a7181daa2a5c7f678de44f0a0e6a717" }, - "_source": "git://github.com/polymerelements/iron-flex-layout.git", + "_source": "git://github.com/PolymerElements/iron-flex-layout.git", "_target": "^1.0.0", - "_originalSource": "polymerelements/iron-flex-layout" + "_originalSource": "PolymerElements/iron-flex-layout" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/iron-resizable-behavior/.bower.json b/dashboard-ui/bower_components/iron-resizable-behavior/.bower.json index 2e765b932..cca11d899 100644 --- a/dashboard-ui/bower_components/iron-resizable-behavior/.bower.json +++ b/dashboard-ui/bower_components/iron-resizable-behavior/.bower.json @@ -28,14 +28,14 @@ "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, "ignore": [], - "homepage": "https://github.com/PolymerElements/iron-resizable-behavior", + "homepage": "https://github.com/polymerelements/iron-resizable-behavior", "_release": "1.0.3", "_resolution": { "type": "version", "tag": "v1.0.3", "commit": "dda1df6aaf452aedf3e52ff0cf69e72439452216" }, - "_source": "git://github.com/PolymerElements/iron-resizable-behavior.git", + "_source": "git://github.com/polymerelements/iron-resizable-behavior.git", "_target": "^1.0.0", - "_originalSource": "PolymerElements/iron-resizable-behavior" + "_originalSource": "polymerelements/iron-resizable-behavior" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/neon-animation/.bower.json b/dashboard-ui/bower_components/neon-animation/.bower.json index 0c7de829c..822971a86 100644 --- a/dashboard-ui/bower_components/neon-animation/.bower.json +++ b/dashboard-ui/bower_components/neon-animation/.bower.json @@ -1,7 +1,7 @@ { "name": "neon-animation", "description": "A system for animating Polymer-based web components", - "version": "1.2.2", + "version": "1.2.3", "authors": [ "The Polymer Authors" ], @@ -49,14 +49,13 @@ "iron-icons": "PolymerElements/iron-icons#^1.0.0", "paper-icon-button": "PolymerElements/paper-icon-button#^1.0.0" }, - "_release": "1.2.2", + "_release": "1.2.3", "_resolution": { "type": "version", - "tag": "v1.2.2", - "commit": "67b614a9261c84be12293f1105bafc158a2f443c" + "tag": "v1.2.3", + "commit": "c50d51e62825f4aa53f10e93f746796a174af232" }, "_source": "git://github.com/PolymerElements/neon-animation.git", "_target": "^1.2.2", - "_originalSource": "PolymerElements/neon-animation", - "_direct": true + "_originalSource": "PolymerElements/neon-animation" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/neon-animation/animations/cascaded-animation.html b/dashboard-ui/bower_components/neon-animation/animations/cascaded-animation.html index 97b045071..539975333 100644 --- a/dashboard-ui/bower_components/neon-animation/animations/cascaded-animation.html +++ b/dashboard-ui/bower_components/neon-animation/animations/cascaded-animation.html @@ -68,7 +68,7 @@ Configuration: this._animations.push(animation); effects.push(effect); } else { - Polymer.Base._warn(this.is + ':', config.animation, 'not found!'); + console.warn(this.is + ':', config.animation, 'not found!'); abortedConfigure = true; break; } diff --git a/dashboard-ui/bower_components/neon-animation/animations/hero-animation.html b/dashboard-ui/bower_components/neon-animation/animations/hero-animation.html index a9075e138..176bee789 100644 --- a/dashboard-ui/bower_components/neon-animation/animations/hero-animation.html +++ b/dashboard-ui/bower_components/neon-animation/animations/hero-animation.html @@ -57,15 +57,15 @@ Configuration: var deltaWidth = fromRect.width / toRect.width; var deltaHeight = fromRect.height / toRect.height; - this.setPrefixedProperty(shared.to, 'transformOrigin', '0 0'); - shared.to.style.zIndex = 10000; - shared.from.style.visibility = 'hidden'; - this._effect = new KeyframeEffect(shared.to, [ {'transform': 'translate(' + deltaLeft + 'px,' + deltaTop + 'px) scale(' + deltaWidth + ',' + deltaHeight + ')'}, {'transform': 'none'} ], this.timingFromConfig(config)); + this.setPrefixedProperty(shared.to, 'transformOrigin', '0 0'); + shared.to.style.zIndex = 10000; + shared.from.style.visibility = 'hidden'; + return this._effect; }, diff --git a/dashboard-ui/bower_components/neon-animation/animations/opaque-animation.html b/dashboard-ui/bower_components/neon-animation/animations/opaque-animation.html index f5b60a451..e3a007258 100644 --- a/dashboard-ui/bower_components/neon-animation/animations/opaque-animation.html +++ b/dashboard-ui/bower_components/neon-animation/animations/opaque-animation.html @@ -29,11 +29,11 @@ webkit/safari from drawing a frame before an animation for elements that animate configure: function(config) { var node = config.node; - node.style.opacity = '0'; this._effect = new KeyframeEffect(node, [ {'opacity': '1'}, {'opacity': '1'} ], this.timingFromConfig(config)); + node.style.opacity = '0'; return this._effect; }, diff --git a/dashboard-ui/bower_components/neon-animation/animations/reverse-ripple-animation.html b/dashboard-ui/bower_components/neon-animation/animations/reverse-ripple-animation.html index 7284e9bd4..f1f9de96f 100644 --- a/dashboard-ui/bower_components/neon-animation/animations/reverse-ripple-animation.html +++ b/dashboard-ui/bower_components/neon-animation/animations/reverse-ripple-animation.html @@ -66,13 +66,14 @@ Configuration: var scaleY = diameter / fromRect.height; var scale = 'scale(' + scaleX + ',' + scaleY + ')'; - 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)'} ], this.timingFromConfig(config)); + + this.setPrefixedProperty(shared.from, 'transformOrigin', '50% 50%'); + shared.from.style.borderRadius = '50%'; + return this._effect; }, diff --git a/dashboard-ui/bower_components/neon-animation/animations/ripple-animation.html b/dashboard-ui/bower_components/neon-animation/animations/ripple-animation.html index 1f5c736e3..d97186c37 100644 --- a/dashboard-ui/bower_components/neon-animation/animations/ripple-animation.html +++ b/dashboard-ui/bower_components/neon-animation/animations/ripple-animation.html @@ -70,13 +70,14 @@ Configuration: var scaleY = diameter / toRect.height; var scale = 'scale(' + scaleX + ',' + scaleY + ')'; - this.setPrefixedProperty(shared.to, 'transformOrigin', '50% 50%'); - shared.to.style.borderRadius = '50%'; - this._effect = new KeyframeEffect(shared.to, [ {'transform': translate + ' scale(0)'}, {'transform': translate + ' ' + scale} ], this.timingFromConfig(config)); + + this.setPrefixedProperty(shared.to, 'transformOrigin', '50% 50%'); + shared.to.style.borderRadius = '50%'; + return this._effect; }, diff --git a/dashboard-ui/bower_components/neon-animation/animations/scale-down-animation.html b/dashboard-ui/bower_components/neon-animation/animations/scale-down-animation.html index 6dc187b31..1dcb1713a 100644 --- a/dashboard-ui/bower_components/neon-animation/animations/scale-down-animation.html +++ b/dashboard-ui/bower_components/neon-animation/animations/scale-down-animation.html @@ -41,10 +41,6 @@ Configuration: configure: function(config) { var node = config.node; - if (config.transformOrigin) { - this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin); - } - var scaleProperty = 'scale(0, 0)'; if (config.axis === 'x') { scaleProperty = 'scale(0, 1)'; @@ -57,6 +53,10 @@ Configuration: {'transform': scaleProperty} ], this.timingFromConfig(config)); + if (config.transformOrigin) { + this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin); + } + return this._effect; } diff --git a/dashboard-ui/bower_components/neon-animation/animations/scale-up-animation.html b/dashboard-ui/bower_components/neon-animation/animations/scale-up-animation.html index b5164f7fe..42ec3f322 100644 --- a/dashboard-ui/bower_components/neon-animation/animations/scale-up-animation.html +++ b/dashboard-ui/bower_components/neon-animation/animations/scale-up-animation.html @@ -41,10 +41,6 @@ Configuration: configure: function(config) { var node = config.node; - if (config.transformOrigin) { - this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin); - } - var scaleProperty = 'scale(0)'; if (config.axis === 'x') { scaleProperty = 'scale(0, 1)'; @@ -57,6 +53,10 @@ Configuration: {'transform': 'scale(1, 1)'} ], this.timingFromConfig(config)); + if (config.transformOrigin) { + this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin); + } + return this._effect; } diff --git a/dashboard-ui/bower_components/neon-animation/animations/slide-down-animation.html b/dashboard-ui/bower_components/neon-animation/animations/slide-down-animation.html index c17141f25..9db28dd17 100644 --- a/dashboard-ui/bower_components/neon-animation/animations/slide-down-animation.html +++ b/dashboard-ui/bower_components/neon-animation/animations/slide-down-animation.html @@ -40,17 +40,17 @@ Configuration: configure: function(config) { var node = config.node; + this._effect = new KeyframeEffect(node, [ + {'transform': 'translateY(0%)'}, + {'transform': 'translateY(100%)'} + ], this.timingFromConfig(config)); + if (config.transformOrigin) { this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin); } else { this.setPrefixedProperty(node, 'transformOrigin', '50% 0'); } - this._effect = new KeyframeEffect(node, [ - {'transform': 'translateY(0%)'}, - {'transform': 'translateY(100%)'} - ], this.timingFromConfig(config)); - return this._effect; } diff --git a/dashboard-ui/bower_components/neon-animation/animations/slide-from-bottom-animation.html b/dashboard-ui/bower_components/neon-animation/animations/slide-from-bottom-animation.html index 18c40db26..d1156e935 100644 --- a/dashboard-ui/bower_components/neon-animation/animations/slide-from-bottom-animation.html +++ b/dashboard-ui/bower_components/neon-animation/animations/slide-from-bottom-animation.html @@ -40,17 +40,17 @@ Configuration: configure: function(config) { var node = config.node; + this._effect = new KeyframeEffect(node, [ + {'transform': 'translateY(100%)'}, + {'transform': 'translateY(0)'} + ], this.timingFromConfig(config)); + if (config.transformOrigin) { this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin); } else { this.setPrefixedProperty(node, 'transformOrigin', '50% 0'); } - this._effect = new KeyframeEffect(node, [ - {'transform': 'translateY(100%)'}, - {'transform': 'translateY(0)'} - ], this.timingFromConfig(config)); - return this._effect; } diff --git a/dashboard-ui/bower_components/neon-animation/animations/slide-from-left-animation.html b/dashboard-ui/bower_components/neon-animation/animations/slide-from-left-animation.html index d24817522..5386c9b04 100644 --- a/dashboard-ui/bower_components/neon-animation/animations/slide-from-left-animation.html +++ b/dashboard-ui/bower_components/neon-animation/animations/slide-from-left-animation.html @@ -41,17 +41,17 @@ Configuration: configure: function(config) { var node = config.node; + this._effect = new KeyframeEffect(node, [ + {'transform': 'translateX(-100%)'}, + {'transform': 'none'} + ], this.timingFromConfig(config)); + if (config.transformOrigin) { this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin); } else { this.setPrefixedProperty(node, 'transformOrigin', '0 50%'); } - this._effect = new KeyframeEffect(node, [ - {'transform': 'translateX(-100%)'}, - {'transform': 'none'} - ], this.timingFromConfig(config)); - return this._effect; } diff --git a/dashboard-ui/bower_components/neon-animation/animations/slide-from-right-animation.html b/dashboard-ui/bower_components/neon-animation/animations/slide-from-right-animation.html index 4ebbf11b8..2afb591f1 100644 --- a/dashboard-ui/bower_components/neon-animation/animations/slide-from-right-animation.html +++ b/dashboard-ui/bower_components/neon-animation/animations/slide-from-right-animation.html @@ -41,17 +41,17 @@ Configuration: configure: function(config) { var node = config.node; + this._effect = new KeyframeEffect(node, [ + {'transform': 'translateX(100%)'}, + {'transform': 'none'} + ], this.timingFromConfig(config)); + if (config.transformOrigin) { this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin); } else { this.setPrefixedProperty(node, 'transformOrigin', '0 50%'); } - this._effect = new KeyframeEffect(node, [ - {'transform': 'translateX(100%)'}, - {'transform': 'none'} - ], this.timingFromConfig(config)); - return this._effect; } diff --git a/dashboard-ui/bower_components/neon-animation/animations/slide-from-top-animation.html b/dashboard-ui/bower_components/neon-animation/animations/slide-from-top-animation.html index 32920f06b..c0a488112 100644 --- a/dashboard-ui/bower_components/neon-animation/animations/slide-from-top-animation.html +++ b/dashboard-ui/bower_components/neon-animation/animations/slide-from-top-animation.html @@ -40,17 +40,17 @@ Configuration: configure: function(config) { var node = config.node; + this._effect = new KeyframeEffect(node, [ + {'transform': 'translateY(-100%)'}, + {'transform': 'translateY(0%)'} + ], this.timingFromConfig(config)); + if (config.transformOrigin) { this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin); } else { this.setPrefixedProperty(node, 'transformOrigin', '50% 0'); } - this._effect = new KeyframeEffect(node, [ - {'transform': 'translateY(-100%)'}, - {'transform': 'translateY(0%)'} - ], this.timingFromConfig(config)); - return this._effect; } diff --git a/dashboard-ui/bower_components/neon-animation/animations/slide-left-animation.html b/dashboard-ui/bower_components/neon-animation/animations/slide-left-animation.html index 7fbc446bc..da80a6bd7 100644 --- a/dashboard-ui/bower_components/neon-animation/animations/slide-left-animation.html +++ b/dashboard-ui/bower_components/neon-animation/animations/slide-left-animation.html @@ -40,17 +40,17 @@ Configuration: configure: function(config) { var node = config.node; + this._effect = new KeyframeEffect(node, [ + {'transform': 'none'}, + {'transform': 'translateX(-100%)'} + ], this.timingFromConfig(config)); + if (config.transformOrigin) { this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin); } else { this.setPrefixedProperty(node, 'transformOrigin', '0 50%'); } - this._effect = new KeyframeEffect(node, [ - {'transform': 'none'}, - {'transform': 'translateX(-100%)'} - ], this.timingFromConfig(config)); - return this._effect; } diff --git a/dashboard-ui/bower_components/neon-animation/animations/slide-right-animation.html b/dashboard-ui/bower_components/neon-animation/animations/slide-right-animation.html index e6441c4f3..99b5794e4 100644 --- a/dashboard-ui/bower_components/neon-animation/animations/slide-right-animation.html +++ b/dashboard-ui/bower_components/neon-animation/animations/slide-right-animation.html @@ -40,17 +40,17 @@ Configuration: configure: function(config) { var node = config.node; + this._effect = new KeyframeEffect(node, [ + {'transform': 'none'}, + {'transform': 'translateX(100%)'} + ], this.timingFromConfig(config)); + if (config.transformOrigin) { this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin); } else { this.setPrefixedProperty(node, 'transformOrigin', '0 50%'); } - this._effect = new KeyframeEffect(node, [ - {'transform': 'none'}, - {'transform': 'translateX(100%)'} - ], this.timingFromConfig(config)); - return this._effect; } diff --git a/dashboard-ui/bower_components/neon-animation/animations/slide-up-animation.html b/dashboard-ui/bower_components/neon-animation/animations/slide-up-animation.html index fdf1186d1..6464e78ed 100644 --- a/dashboard-ui/bower_components/neon-animation/animations/slide-up-animation.html +++ b/dashboard-ui/bower_components/neon-animation/animations/slide-up-animation.html @@ -40,17 +40,17 @@ Configuration: configure: function(config) { var node = config.node; + this._effect = new KeyframeEffect(node, [ + {'transform': 'translate(0)'}, + {'transform': 'translateY(-100%)'} + ], this.timingFromConfig(config)); + if (config.transformOrigin) { this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin); } else { this.setPrefixedProperty(node, 'transformOrigin', '50% 0'); } - this._effect = new KeyframeEffect(node, [ - {'transform': 'translate(0)'}, - {'transform': 'translateY(-100%)'} - ], this.timingFromConfig(config)); - return this._effect; } diff --git a/dashboard-ui/bower_components/neon-animation/animations/transform-animation.html b/dashboard-ui/bower_components/neon-animation/animations/transform-animation.html index f5963ed05..2e5044422 100644 --- a/dashboard-ui/bower_components/neon-animation/animations/transform-animation.html +++ b/dashboard-ui/bower_components/neon-animation/animations/transform-animation.html @@ -53,15 +53,15 @@ Configuration: var transformFrom = config.transformFrom || 'none'; var transformTo = config.transformTo || 'none'; - if (config.transformOrigin) { - this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin); - } - this._effect = new KeyframeEffect(node, [ {'transform': transformFrom}, {'transform': transformTo} ], this.timingFromConfig(config)); + if (config.transformOrigin) { + this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin); + } + return this._effect; } diff --git a/dashboard-ui/bower_components/neon-animation/bower.json b/dashboard-ui/bower_components/neon-animation/bower.json index 192e7bef8..29499b822 100644 --- a/dashboard-ui/bower_components/neon-animation/bower.json +++ b/dashboard-ui/bower_components/neon-animation/bower.json @@ -1,7 +1,7 @@ { "name": "neon-animation", "description": "A system for animating Polymer-based web components", - "version": "1.2.2", + "version": "1.2.3", "authors": [ "The Polymer Authors" ], diff --git a/dashboard-ui/bower_components/neon-animation/demo/card/x-card.html b/dashboard-ui/bower_components/neon-animation/demo/card/x-card.html index 6a578fc48..92885d29c 100644 --- a/dashboard-ui/bower_components/neon-animation/demo/card/x-card.html +++ b/dashboard-ui/bower_components/neon-animation/demo/card/x-card.html @@ -66,9 +66,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN }], 'exit': [{ - name: 'opaque-animation', - node: this.$.placeholder - }, { name: 'fade-out-animation', node: this.$.container, timing: { diff --git a/dashboard-ui/bower_components/neon-animation/neon-animatable-behavior.html b/dashboard-ui/bower_components/neon-animation/neon-animatable-behavior.html index 734563f4c..dd58a6cfb 100644 --- a/dashboard-ui/bower_components/neon-animation/neon-animatable-behavior.html +++ b/dashboard-ui/bower_components/neon-animation/neon-animatable-behavior.html @@ -9,7 +9,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN --> -