From 144e773ee47e126cda7d14cf209a77792656855c Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 11 May 2016 10:36:28 -0400 Subject: [PATCH] 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 9604c48b0b..f920799d20 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 023b53e0e5..c6c5c62b6b 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 2e765b9324..cca11d8994 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 0c7de829c6..822971a867 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 97b045071e..539975333d 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 a9075e138f..176bee789e 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 f5b60a4514..e3a007258c 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 7284e9bd42..f1f9de96f8 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 1f5c736e3b..d97186c377 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 6dc187b317..1dcb1713ae 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 b5164f7fe1..42ec3f3228 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 c17141f25e..9db28dd17e 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 18c40db26b..d1156e9353 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 d248175221..5386c9b04f 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 4ebbf11b86..2afb591f15 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 32920f06b8..c0a4881128 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 7fbc446bcc..da80a6bd7d 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 e6441c4f38..99b5794e49 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 fdf1186d16..6464e78ed3 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 f5963ed05f..2e5044422e 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 192e7bef81..29499b822e 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 6a578fc489..92885d29c8 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 734563f4cf..dd58a6cfba 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 --> -