+
centered in window
-
diff --git a/dashboard-ui/bower_components/iron-fit-behavior/demo/simple-fit.html b/dashboard-ui/bower_components/iron-fit-behavior/demo/simple-fit.html
index b7fddc808..950ee3fea 100644
--- a/dashboard-ui/bower_components/iron-fit-behavior/demo/simple-fit.html
+++ b/dashboard-ui/bower_components/iron-fit-behavior/demo/simple-fit.html
@@ -9,15 +9,23 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
-->
+
diff --git a/dashboard-ui/bower_components/iron-fit-behavior/iron-fit-behavior.html b/dashboard-ui/bower_components/iron-fit-behavior/iron-fit-behavior.html
index f072dcf40..aa776c7a2 100644
--- a/dashboard-ui/bower_components/iron-fit-behavior/iron-fit-behavior.html
+++ b/dashboard-ui/bower_components/iron-fit-behavior/iron-fit-behavior.html
@@ -39,6 +39,7 @@ CSS properties | Action
* The element that will receive a `max-height`/`width`. By default it is the same as `this`,
* but it can be set to a child element. This is useful, for example, for implementing a
* scrolling region inside the element.
+ * @type {!Element}
*/
sizingTarget: {
type: Object,
@@ -63,6 +64,7 @@ CSS properties | Action
value: false
},
+ /** @type {?Object} */
_fitInfo: {
type: Object
}
@@ -89,6 +91,26 @@ CSS properties | Action
return fitHeight;
},
+ get _fitLeft() {
+ var fitLeft;
+ if (this.fitInto === window) {
+ fitLeft = 0;
+ } else {
+ fitLeft = this.fitInto.getBoundingClientRect().left;
+ }
+ return fitLeft;
+ },
+
+ get _fitTop() {
+ var fitTop;
+ if (this.fitInto === window) {
+ fitTop = 0;
+ } else {
+ fitTop = this.fitInto.getBoundingClientRect().top;
+ }
+ return fitTop;
+ },
+
attached: function() {
if (this.autoFitOnAttach) {
if (window.getComputedStyle(this).display === 'none') {
@@ -120,6 +142,10 @@ CSS properties | Action
var target = window.getComputedStyle(this);
var sizer = window.getComputedStyle(this.sizingTarget);
this._fitInfo = {
+ inlineStyle: {
+ top: this.style.top || '',
+ left: this.style.left || ''
+ },
positionedBy: {
vertically: target.top !== 'auto' ? 'top' : (target.bottom !== 'auto' ?
'bottom' : null),
@@ -147,11 +173,11 @@ CSS properties | Action
resetFit: function() {
if (!this._fitInfo || !this._fitInfo.sizedBy.height) {
this.sizingTarget.style.maxHeight = '';
- this.style.top = '';
+ this.style.top = this._fitInfo ? this._fitInfo.inlineStyle.top : '';
}
if (!this._fitInfo || !this._fitInfo.sizedBy.width) {
this.sizingTarget.style.maxWidth = '';
- this.style.left = '';
+ this.style.left = this._fitInfo ? this._fitInfo.inlineStyle.left : '';
}
if (this._fitInfo) {
this.style.position = this._fitInfo.positionedBy.css;
@@ -214,12 +240,12 @@ CSS properties | Action
this.style.position = 'fixed';
}
if (!this._fitInfo.positionedBy.vertically) {
- var top = (this._fitHeight - this.offsetHeight) / 2;
+ var top = (this._fitHeight - this.offsetHeight) / 2 + this._fitTop;
top -= this._fitInfo.margin.top;
this.style.top = top + 'px';
}
if (!this._fitInfo.positionedBy.horizontally) {
- var left = (this._fitWidth - this.offsetWidth) / 2;
+ var left = (this._fitWidth - this.offsetWidth) / 2 + this._fitLeft;
left -= this._fitInfo.margin.left;
this.style.left = left + 'px';
}
diff --git a/dashboard-ui/bower_components/iron-fit-behavior/test/iron-fit-behavior.html b/dashboard-ui/bower_components/iron-fit-behavior/test/iron-fit-behavior.html
index 3f6bd1fe4..c4011bf48 100644
--- a/dashboard-ui/bower_components/iron-fit-behavior/test/iron-fit-behavior.html
+++ b/dashboard-ui/bower_components/iron-fit-behavior/test/iron-fit-behavior.html
@@ -120,7 +120,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
-
+
Sized (x/y), positioned/positioned
@@ -139,7 +139,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
-
+
Auto center/center to parent element
@@ -170,6 +170,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
var rect = el.getBoundingClientRect();
assert.equal(rect.top, 100, 'top is unset');
assert.equal(rect.left, 100, 'left is unset');
+
});
test('inline positioned element is not re-positioned', function() {
@@ -178,15 +179,21 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
// need to measure document.body here because mocha sets a min-width on html,body, and
// the element is positioned wrt to that by css
var bodyRect = document.body.getBoundingClientRect();
- assert.equal(rect.top, bodyRect.height - rect.height - 100, 'top is unset');
- assert.equal(rect.left, bodyRect.width - rect.width - 100, 'left is unset');
+ assert.equal(rect.top, 100, 'top is unset');
+ assert.equal(rect.left, 100, 'left is unset');
+
+ el.refit();
+
+ rect = el.getBoundingClientRect();
+ assert.equal(rect.top, 100, 'top is unset after refit');
+ assert.equal(rect.left, 100, 'left is unset after refit');
+
});
test('position property is preserved after', function() {
var el = fixture('absolute');
assert.equal(getComputedStyle(el).position, 'absolute', 'position:absolute is preserved');
- })
-
+ });
});
suite('fit to window', function() {
@@ -324,6 +331,18 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
assert.isTrue(rect.height <= crect.height, 'height is less than or equal to fitInto height');
});
+ test('element centers in another element', function() {
+ var constrain = fixture('constrain-target');
+ var el = Polymer.dom(constrain).querySelector('.el')
+ makeScrolling(el);
+ el.fitInto = constrain;
+ el.refit();
+ var rect = el.getBoundingClientRect();
+ var crect = constrain.getBoundingClientRect();
+ assert.closeTo(rect.left - crect.left - (crect.right - rect.right), 0, 5, 'centered horizontally in fitInto');
+ assert.closeTo(rect.top - crect.top - (crect.bottom - rect.bottom), 0, 5, 'centered vertically in fitInto');
+ });
+
});
diff --git a/dashboard-ui/bower_components/iron-icons/.bower.json b/dashboard-ui/bower_components/iron-icons/.bower.json
index 76b922029..dd11126a2 100644
--- a/dashboard-ui/bower_components/iron-icons/.bower.json
+++ b/dashboard-ui/bower_components/iron-icons/.bower.json
@@ -1,6 +1,6 @@
{
"name": "iron-icons",
- "version": "1.0.2",
+ "version": "1.0.3",
"description": "A set of icons for use with iron-icon",
"authors": [
"The Polymer Authors"
@@ -14,7 +14,7 @@
"private": true,
"repository": {
"type": "git",
- "url": "git://github.com/PolymerElements/paper-icons"
+ "url": "git://github.com/PolymerElements/iron-icons"
},
"license": "http://polymer.github.io/LICENSE.txt",
"homepage": "https://github.com/PolymerElements/paper-icons",
@@ -34,11 +34,11 @@
"util",
"update-icons.sh"
],
- "_release": "1.0.2",
+ "_release": "1.0.3",
"_resolution": {
"type": "version",
- "tag": "v1.0.2",
- "commit": "7340b4e26a0235ffdf2477299ccecd0c5d3d99e8"
+ "tag": "v1.0.3",
+ "commit": "036325be99c33c052ac807a705aacad70be1127f"
},
"_source": "git://github.com/polymerelements/iron-icons.git",
"_target": "^1.0.0",
diff --git a/dashboard-ui/bower_components/iron-icons/bower.json b/dashboard-ui/bower_components/iron-icons/bower.json
index 9ac5f25c8..8ec25db21 100644
--- a/dashboard-ui/bower_components/iron-icons/bower.json
+++ b/dashboard-ui/bower_components/iron-icons/bower.json
@@ -1,6 +1,6 @@
{
"name": "iron-icons",
- "version": "1.0.2",
+ "version": "1.0.3",
"description": "A set of icons for use with iron-icon",
"authors": [
"The Polymer Authors"
@@ -14,7 +14,7 @@
"private": true,
"repository": {
"type": "git",
- "url": "git://github.com/PolymerElements/paper-icons"
+ "url": "git://github.com/PolymerElements/iron-icons"
},
"license": "http://polymer.github.io/LICENSE.txt",
"homepage": "https://github.com/PolymerElements/paper-icons",
diff --git a/dashboard-ui/bower_components/iron-menu-behavior/.bower.json b/dashboard-ui/bower_components/iron-menu-behavior/.bower.json
index 7ca24d412..052cd1c2b 100644
--- a/dashboard-ui/bower_components/iron-menu-behavior/.bower.json
+++ b/dashboard-ui/bower_components/iron-menu-behavior/.bower.json
@@ -35,7 +35,7 @@
"tag": "v1.0.1",
"commit": "3809f0eb7461c8ca63640aaa238775b3a25aa578"
},
- "_source": "git://github.com/PolymerElements/iron-menu-behavior.git",
+ "_source": "git://github.com/polymerelements/iron-menu-behavior.git",
"_target": "^1.0.0",
- "_originalSource": "PolymerElements/iron-menu-behavior"
+ "_originalSource": "polymerelements/iron-menu-behavior"
}
\ 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 00a15700b..8119ebcf4 100644
--- a/dashboard-ui/bower_components/iron-meta/.bower.json
+++ b/dashboard-ui/bower_components/iron-meta/.bower.json
@@ -1,6 +1,6 @@
{
"name": "iron-meta",
- "version": "1.0.2",
+ "version": "1.0.3",
"keywords": [
"web-components",
"polymer"
@@ -26,11 +26,11 @@
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
},
"homepage": "https://github.com/polymerelements/iron-meta",
- "_release": "1.0.2",
+ "_release": "1.0.3",
"_resolution": {
"type": "version",
- "tag": "v1.0.2",
- "commit": "85d0258556a25a34dbe98657ce9f40d878d4c5bf"
+ "tag": "v1.0.3",
+ "commit": "91529259262b0d8f33fed44bc3fd47aedf35cb04"
},
"_source": "git://github.com/polymerelements/iron-meta.git",
"_target": "^1.0.0",
diff --git a/dashboard-ui/bower_components/iron-meta/bower.json b/dashboard-ui/bower_components/iron-meta/bower.json
index 6a98a88b5..65a1f8f41 100644
--- a/dashboard-ui/bower_components/iron-meta/bower.json
+++ b/dashboard-ui/bower_components/iron-meta/bower.json
@@ -1,6 +1,6 @@
{
"name": "iron-meta",
- "version": "1.0.2",
+ "version": "1.0.3",
"keywords": [
"web-components",
"polymer"
diff --git a/dashboard-ui/bower_components/iron-meta/iron-meta.html b/dashboard-ui/bower_components/iron-meta/iron-meta.html
index c9d16f9be..4b3431182 100644
--- a/dashboard-ui/bower_components/iron-meta/iron-meta.html
+++ b/dashboard-ui/bower_components/iron-meta/iron-meta.html
@@ -165,8 +165,8 @@ Or, in a Polymer element, you can include a meta in your template:
* Retrieves meta data value by key.
*
* @method byKey
- * @param {String} key The key of the meta-data to be returned.
- * @returns *
+ * @param {string} key The key of the meta-data to be returned.
+ * @return {*}
*/
byKey: function(key) {
return this._metaData && this._metaData[key];
@@ -304,6 +304,8 @@ Or, in a Polymer element, you can include a meta in your template:
/**
* Retrieves meta data value by key.
+ * @param {string} key The key of the meta-data to be returned.
+ * @return {*}
*/
byKey: function(key) {
return this._metaData && this._metaData[key];
diff --git a/dashboard-ui/bower_components/iron-overlay-behavior/.bower.json b/dashboard-ui/bower_components/iron-overlay-behavior/.bower.json
index 7a37c5732..861424dca 100644
--- a/dashboard-ui/bower_components/iron-overlay-behavior/.bower.json
+++ b/dashboard-ui/bower_components/iron-overlay-behavior/.bower.json
@@ -1,6 +1,6 @@
{
"name": "iron-overlay-behavior",
- "version": "1.0.2",
+ "version": "1.0.4",
"license": "http://polymer.github.io/LICENSE.txt",
"description": "Provides a behavior for making an element an overlay",
"private": true,
@@ -35,11 +35,11 @@
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
},
"homepage": "https://github.com/PolymerElements/iron-overlay-behavior",
- "_release": "1.0.2",
+ "_release": "1.0.4",
"_resolution": {
"type": "version",
- "tag": "v1.0.2",
- "commit": "e84965cddda459c9e4a24e8d442c56ba4d5823eb"
+ "tag": "v1.0.4",
+ "commit": "7939cabf4f23467a0d02b572094ef05d35ad0dcc"
},
"_source": "git://github.com/PolymerElements/iron-overlay-behavior.git",
"_target": "^1.0.0",
diff --git a/dashboard-ui/bower_components/iron-overlay-behavior/bower.json b/dashboard-ui/bower_components/iron-overlay-behavior/bower.json
index de2114bf3..3ee071c78 100644
--- a/dashboard-ui/bower_components/iron-overlay-behavior/bower.json
+++ b/dashboard-ui/bower_components/iron-overlay-behavior/bower.json
@@ -1,6 +1,6 @@
{
"name": "iron-overlay-behavior",
- "version": "1.0.2",
+ "version": "1.0.4",
"license": "http://polymer.github.io/LICENSE.txt",
"description": "Provides a behavior for making an element an overlay",
"private": true,
diff --git a/dashboard-ui/bower_components/iron-overlay-behavior/iron-overlay-behavior.html b/dashboard-ui/bower_components/iron-overlay-behavior/iron-overlay-behavior.html
index c4db37208..4bc044da7 100644
--- a/dashboard-ui/bower_components/iron-overlay-behavior/iron-overlay-behavior.html
+++ b/dashboard-ui/bower_components/iron-overlay-behavior/iron-overlay-behavior.html
@@ -61,7 +61,8 @@ context. You should place this element as a child of `` whenever possible.
opened: {
observer: '_openedChanged',
type: Boolean,
- value: false
+ value: false,
+ notify: true
},
/**
@@ -369,7 +370,7 @@ context. You should place this element as a child of `` whenever possible.
this.style.display = '';
},
- _finishPositioning: function(target) {
+ _finishPositioning: function() {
this.style.display = 'none';
this.style.transform = this.style.webkitTransform = '';
// force layout to avoid application of transform
diff --git a/dashboard-ui/bower_components/iron-resizable-behavior/.bower.json b/dashboard-ui/bower_components/iron-resizable-behavior/.bower.json
index 17f59dfe5..1f0548f3d 100644
--- a/dashboard-ui/bower_components/iron-resizable-behavior/.bower.json
+++ b/dashboard-ui/bower_components/iron-resizable-behavior/.bower.json
@@ -1,6 +1,6 @@
{
"name": "iron-resizable-behavior",
- "version": "1.0.1",
+ "version": "1.0.2",
"license": "http://polymer.github.io/LICENSE.txt",
"description": "Coordinates the flow of resizeable elements",
"private": true,
@@ -27,14 +27,14 @@
"web-component-tester": "*",
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
},
- "homepage": "https://github.com/PolymerElements/iron-resizable-behavior",
- "_release": "1.0.1",
+ "homepage": "https://github.com/polymerelements/iron-resizable-behavior",
+ "_release": "1.0.2",
"_resolution": {
"type": "version",
- "tag": "v1.0.1",
- "commit": "fd3e34efaadba638c4d28af16061e4089f298c3a"
+ "tag": "v1.0.2",
+ "commit": "85de8ba28be2bf17c81d6436ef1119022b003674"
},
- "_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/iron-resizable-behavior/bower.json b/dashboard-ui/bower_components/iron-resizable-behavior/bower.json
index ba1ce0bd3..d0591a3f4 100644
--- a/dashboard-ui/bower_components/iron-resizable-behavior/bower.json
+++ b/dashboard-ui/bower_components/iron-resizable-behavior/bower.json
@@ -1,6 +1,6 @@
{
"name": "iron-resizable-behavior",
- "version": "1.0.1",
+ "version": "1.0.2",
"license": "http://polymer.github.io/LICENSE.txt",
"description": "Coordinates the flow of resizeable elements",
"private": true,
diff --git a/dashboard-ui/bower_components/iron-resizable-behavior/iron-resizable-behavior.html b/dashboard-ui/bower_components/iron-resizable-behavior/iron-resizable-behavior.html
index 3529b4d0e..19b8c0225 100644
--- a/dashboard-ui/bower_components/iron-resizable-behavior/iron-resizable-behavior.html
+++ b/dashboard-ui/bower_components/iron-resizable-behavior/iron-resizable-behavior.html
@@ -29,9 +29,21 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
**/
Polymer.IronResizableBehavior = {
properties: {
+ /**
+ * The closest ancestor element that implements `IronResizableBehavior`.
+ */
_parentResizable: {
type: Object,
observer: '_parentResizableChanged'
+ },
+
+ /**
+ * True if this element is currently notifying its descedant elements of
+ * resize.
+ */
+ _notifyingDescendant: {
+ type: Boolean,
+ value: false
}
},
@@ -49,7 +61,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
attached: function() {
this.fire('iron-request-resize-notifications', null, {
node: this,
- bubbles: true
+ bubbles: true,
+ cancelable: true
});
if (!this._parentResizable) {
@@ -78,16 +91,12 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
}
this._interestedResizables.forEach(function(resizable) {
- // TODO(cdata): Currently behaviors cannot define "abstract" methods..
- if (!this.resizerShouldNotify || this.resizerShouldNotify(resizable)) {
- resizable.notifyResize();
+ if (this.resizerShouldNotify(resizable)) {
+ this._notifyDescendant(resizable);
}
}, this);
- this.fire('iron-resize', null, {
- node: this,
- bubbles: false
- });
+ this._fireResize();
},
/**
@@ -107,16 +116,40 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
if (index > -1) {
this._interestedResizables.splice(index, 1);
+ this.unlisten(target, 'iron-resize', '_onDescendantIronResize');
}
},
- // TODO(cdata): Currently behaviors cannot define "abstract" methods.
- // resizerShouldNotify: function(el) { return true; },
+ /**
+ * This method can be overridden to filter nested elements that should or
+ * should not be notified by the current element. Return true if an element
+ * should be notified, or false if it should not be notified.
+ *
+ * @param {HTMLElement} element A candidate descendant element that
+ * implements `IronResizableBehavior`.
+ * @return {boolean} True if the `element` should be notified of resize.
+ */
+ resizerShouldNotify: function(element) { return true; },
- _parentResizableChanged: function(parentResizable) {
- if (parentResizable) {
- window.removeEventListener('resize', this._boundNotifyResize);
+ _onDescendantIronResize: function(event) {
+ if (this._notifyingDescendant) {
+ event.stopPropagation();
+ return;
}
+
+ // NOTE(cdata): In ShadowDOM, event retargetting makes echoing of the
+ // otherwise non-bubbling event "just work." We do it manually here for
+ // the case where Polymer is not using shadow roots for whatever reason:
+ if (!Polymer.Settings.useShadow) {
+ this._fireResize();
+ }
+ },
+
+ _fireResize: function() {
+ this.fire('iron-resize', null, {
+ node: this,
+ bubbles: false
+ });
},
_onIronRequestResizeNotifications: function(event) {
@@ -128,11 +161,32 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
if (this._interestedResizables.indexOf(target) === -1) {
this._interestedResizables.push(target);
+ this.listen(target, 'iron-resize', '_onDescendantIronResize');
}
target.assignParentResizable(this);
+ this._notifyDescendant(target);
event.stopPropagation();
+ },
+
+ _parentResizableChanged: function(parentResizable) {
+ if (parentResizable) {
+ window.removeEventListener('resize', this._boundNotifyResize);
+ }
+ },
+
+ _notifyDescendant: function(descendant) {
+ // NOTE(cdata): In IE10, attached is fired on children first, so it's
+ // important not to notify them if the parent is not attached yet (or
+ // else they will get redundantly notified when the parent attaches).
+ if (!this.isAttached) {
+ return;
+ }
+
+ this._notifyingDescendant = true;
+ descendant.notifyResize();
+ this._notifyingDescendant = false;
}
};
diff --git a/dashboard-ui/bower_components/iron-resizable-behavior/test/index.html b/dashboard-ui/bower_components/iron-resizable-behavior/test/index.html
index 499f18bae..e1d3fcaee 100644
--- a/dashboard-ui/bower_components/iron-resizable-behavior/test/index.html
+++ b/dashboard-ui/bower_components/iron-resizable-behavior/test/index.html
@@ -22,7 +22,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
diff --git a/dashboard-ui/bower_components/iron-resizable-behavior/test/iron-resizable-behavior.html b/dashboard-ui/bower_components/iron-resizable-behavior/test/iron-resizable-behavior.html
new file mode 100644
index 000000000..695b9770f
--- /dev/null
+++ b/dashboard-ui/bower_components/iron-resizable-behavior/test/iron-resizable-behavior.html
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+ iron-resizable-behavior tests
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dashboard-ui/bower_components/iron-resizable-behavior/test/test-elements.html b/dashboard-ui/bower_components/iron-resizable-behavior/test/test-elements.html
index c4c9eac0f..d70561e17 100644
--- a/dashboard-ui/bower_components/iron-resizable-behavior/test/test-elements.html
+++ b/dashboard-ui/bower_components/iron-resizable-behavior/test/test-elements.html
@@ -141,3 +141,53 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
});
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dashboard-ui/bower_components/neon-animation/.bower.json b/dashboard-ui/bower_components/neon-animation/.bower.json
index 9d394ec45..cab5078d4 100644
--- a/dashboard-ui/bower_components/neon-animation/.bower.json
+++ b/dashboard-ui/bower_components/neon-animation/.bower.json
@@ -1,6 +1,6 @@
{
"name": "neon-animation",
- "version": "1.0.1",
+ "version": "1.0.4",
"authors": [
"The Polymer Authors"
],
@@ -11,12 +11,12 @@
"web-animations"
],
"main": [
+ "neon-animated-pages.html",
"neon-animatable-behavior.html",
"neon-animation-behavior.html",
"neon-animation-runner-behavior.html",
"neon-shared-element-animatable-behavior.html",
"neon-shared-element-animation-behavior.html",
- "neon-animated-pages.html",
"neon-animatable.html",
"neon-animations.html"
],
@@ -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.1",
+ "_release": "1.0.4",
"_resolution": {
"type": "version",
- "tag": "v1.0.1",
- "commit": "160f14c31b4692cc8073b67e8849e444b0695cde"
+ "tag": "v1.0.4",
+ "commit": "8016c4f082250af41a08d30c2b8eae295c24f874"
},
"_source": "git://github.com/PolymerElements/neon-animation.git",
"_target": "^1.0.0",
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 9e089e99b..892e2dd37 100644
--- a/dashboard-ui/bower_components/neon-animation/animations/cascaded-animation.html
+++ b/dashboard-ui/bower_components/neon-animation/animations/cascaded-animation.html
@@ -40,6 +40,7 @@ Configuration:
properties: {
+ /** @type {!Polymer.IronMeta} */
_animationMeta: {
type: Object,
value: function() {
@@ -49,8 +50,17 @@ Configuration:
},
+ /**
+ * @param {{
+ * animation: string,
+ * nodes: !Array,
+ * nodeDelay: (number|undefined),
+ * timing: (Object|undefined)
+ * }} config
+ */
configure: function(config) {
- var animationConstructor = this._animationMeta.byKey(config.animation);
+ var animationConstructor = /** @type {Function} */ (
+ this._animationMeta.byKey(config.animation));
if (!animationConstructor) {
console.warn(this.is + ':', 'constructor for', config.animation, 'not found!');
return;
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 689156168..a9075e138 100644
--- a/dashboard-ui/bower_components/neon-animation/animations/hero-animation.html
+++ b/dashboard-ui/bower_components/neon-animation/animations/hero-animation.html
@@ -46,7 +46,7 @@ Configuration:
configure: function(config) {
var shared = this.findSharedElements(config);
if (!shared) {
- return null;
+ return;
}
var fromRect = shared.from.getBoundingClientRect();
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
new file mode 100644
index 000000000..8f955084e
--- /dev/null
+++ b/dashboard-ui/bower_components/neon-animation/animations/reverse-ripple-animation.html
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+
+
+
+
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 afc61f63a..1f5c736e3 100644
--- a/dashboard-ui/bower_components/neon-animation/animations/ripple-animation.html
+++ b/dashboard-ui/bower_components/neon-animation/animations/ripple-animation.html
@@ -46,8 +46,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;
}
@@ -56,11 +56,11 @@ Configuration:
var toRect = shared.to.getBoundingClientRect();
if (config.gesture) {
translateX = config.gesture.x - (toRect.left + (toRect.width / 2));
- translateY = config.gesture.y - (toRect.left + (toRect.height / 2));
+ translateY = config.gesture.y - (toRect.top + (toRect.height / 2));
} else {
var fromRect = shared.from.getBoundingClientRect();
translateX = (fromRect.left + (fromRect.width / 2)) - (toRect.left + (toRect.width / 2));
- translateY = (fromRect.top + (fromRect.height / 2)) - (toRect.left + (toRect.height / 2));
+ translateY = (fromRect.top + (fromRect.height / 2)) - (toRect.top + (toRect.height / 2));
}
var translate = 'translate(' + translateX + 'px,' + translateY + 'px)';
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 43d3d4619..b5164f7fe 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
@@ -45,9 +45,16 @@ Configuration:
this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin);
}
+ var scaleProperty = 'scale(0)';
+ if (config.axis === 'x') {
+ scaleProperty = 'scale(0, 1)';
+ } else if (config.axis === 'y') {
+ scaleProperty = 'scale(1, 0)';
+ }
+
this._effect = new KeyframeEffect(node, [
- {'transform': 'scale(0)'},
- {'transform': 'scale(1)'}
+ {'transform': scaleProperty},
+ {'transform': 'scale(1, 1)'}
], 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 b0d7af511..e6236a49f 100644
--- a/dashboard-ui/bower_components/neon-animation/animations/transform-animation.html
+++ b/dashboard-ui/bower_components/neon-animation/animations/transform-animation.html
@@ -39,6 +39,15 @@ Configuration:
Polymer.NeonAnimationBehavior
],
+ /**
+ * @param {{
+ * node: !Element,
+ * transformOrigin: (string|undefined),
+ * transformFrom: (string|undefined),
+ * transformTo: (string|undefined),
+ * timing: (Object|undefined)
+ * }} config
+ */
configure: function(config) {
var node = config.node;
var transformFrom = config.transformFrom || 'none';
diff --git a/dashboard-ui/bower_components/neon-animation/bower.json b/dashboard-ui/bower_components/neon-animation/bower.json
index 4e687f677..c01ee3786 100644
--- a/dashboard-ui/bower_components/neon-animation/bower.json
+++ b/dashboard-ui/bower_components/neon-animation/bower.json
@@ -1,6 +1,6 @@
{
"name": "neon-animation",
- "version": "1.0.1",
+ "version": "1.0.4",
"authors": [
"The Polymer Authors"
],
@@ -11,12 +11,12 @@
"web-animations"
],
"main": [
+ "neon-animated-pages.html",
"neon-animatable-behavior.html",
"neon-animation-behavior.html",
"neon-animation-runner-behavior.html",
"neon-shared-element-animatable-behavior.html",
"neon-shared-element-animation-behavior.html",
- "neon-animated-pages.html",
"neon-animatable.html",
"neon-animations.html"
],
diff --git a/dashboard-ui/bower_components/neon-animation/demo/card/index.html b/dashboard-ui/bower_components/neon-animation/demo/card/index.html
new file mode 100644
index 000000000..9cac2f1be
--- /dev/null
+++ b/dashboard-ui/bower_components/neon-animation/demo/card/index.html
@@ -0,0 +1,166 @@
+
+
+
+
+ neon-animated-pages demo: card
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Choose a subject
+
+
+
+ POLYMER
+
+
+ ANGULAR
+
+
+
+
+
+
+
+
+
+
+
+
+ BACK
+
+
Polymer
+
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+
+
+
+
+
+
+
+
+
+
+ BACK
+
+
Angular
+
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+
+
+
+
+
+
diff --git a/dashboard-ui/bower_components/neon-animation/demo/index.html b/dashboard-ui/bower_components/neon-animation/demo/index.html
index 319842460..11261455a 100644
--- a/dashboard-ui/bower_components/neon-animation/demo/index.html
+++ b/dashboard-ui/bower_components/neon-animation/demo/index.html
@@ -4,3 +4,4 @@
list load tiles
+card
diff --git a/dashboard-ui/bower_components/neon-animation/neon-animated-pages.html b/dashboard-ui/bower_components/neon-animation/neon-animated-pages.html
index 3a5259d54..66693b542 100644
--- a/dashboard-ui/bower_components/neon-animation/neon-animated-pages.html
+++ b/dashboard-ui/bower_components/neon-animation/neon-animated-pages.html
@@ -160,14 +160,14 @@ animations to be run when switching to or switching out of the page.
// on first load, ensure we run animations only after element is attached.
if (!this.isAttached) {
this.async(function () {
- this.playAnimation(null, {
+ this.playAnimation(undefined, {
fromPage: null,
toPage: selectedPage
});
});
} else {
- this.playAnimation(null, {
+ this.playAnimation(undefined, {
fromPage: oldPage,
toPage: selectedPage
});
@@ -178,6 +178,10 @@ animations to be run when switching to or switching out of the page.
}
},
+ /**
+ * @param {Object=} oldPage
+ * @param {Object=} selectedPage
+ */
_completeSelectedChanged: function(oldPage, selectedPage) {
if (selectedPage) {
selectedPage.classList.remove('neon-animating');
@@ -191,7 +195,7 @@ animations to be run when switching to or switching out of the page.
node.classList && node.classList.remove('neon-animating');
}
}
- this.async(this.notifyResize);
+ this.async(this._notifyPageResize);
},
_onNeonAnimationFinish: function(event) {
@@ -200,6 +204,14 @@ animations to be run when switching to or switching out of the page.
return;
}
this._completeSelectedChanged(event.detail.fromPage, event.detail.toPage);
+ },
+
+ _notifyPageResize: function() {
+ var selectedPage = this.selectedItem;
+ this.resizerShouldNotify = function(element) {
+ return element == selectedPage;
+ }
+ this.notifyResize();
}
})
diff --git a/dashboard-ui/bower_components/neon-animation/neon-animation-behavior.html b/dashboard-ui/bower_components/neon-animation/neon-animation-behavior.html
index f3b9bc6a6..107d753a7 100644
--- a/dashboard-ui/bower_components/neon-animation/neon-animation-behavior.html
+++ b/dashboard-ui/bower_components/neon-animation/neon-animation-behavior.html
@@ -78,10 +78,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
/**
* Called when the animation finishes.
*/
- complete: function() {
- // FIXME not sure about non-bubbling event
- this.fire(this.animationEndEvent, null, {bubbles: false});
- }
+ complete: function() {}
};
diff --git a/dashboard-ui/bower_components/neon-animation/neon-animation-runner-behavior.html b/dashboard-ui/bower_components/neon-animation/neon-animation-runner-behavior.html
index ce1211e46..bed94fc8f 100644
--- a/dashboard-ui/bower_components/neon-animation/neon-animation-runner-behavior.html
+++ b/dashboard-ui/bower_components/neon-animation/neon-animation-runner-behavior.html
@@ -14,9 +14,10 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
/**
* `Polymer.NeonAnimationRunnerBehavior` adds a method to run animations.
- * @polymerBehavior
+ *
+ * @polymerBehavior Polymer.NeonAnimationRunnerBehavior
*/
- Polymer.NeonAnimationRunnerBehavior = [Polymer.NeonAnimatableBehavior, {
+ Polymer.NeonAnimationRunnerBehaviorImpl = {
properties: {
@@ -27,6 +28,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
}
},
+ /** @type {?Object} */
_player: {
type: Object
}
@@ -57,7 +59,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
},
_runAnimationEffects: function(allEffects) {
- return player = document.timeline.play(new GroupEffect(allEffects));
+ return document.timeline.play(new GroupEffect(allEffects));
},
_completeAnimations: function(allAnimations) {
@@ -68,6 +70,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
/**
* Plays an animation with an optional `type`.
+ * @param {string=} type
+ * @param {!Object=} cookie
*/
playAnimation: function(type, cookie) {
var allConfigs = this.getAnimationConfig(type);
@@ -105,6 +109,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
this._player.cancel();
}
}
+ };
- }];
+ /** @polymerBehavior Polymer.NeonAnimationRunnerBehavior */
+ Polymer.NeonAnimationRunnerBehavior = [
+ Polymer.NeonAnimatableBehavior,
+ Polymer.NeonAnimationRunnerBehaviorImpl
+ ];
diff --git a/dashboard-ui/bower_components/neon-animation/neon-animations.html b/dashboard-ui/bower_components/neon-animation/neon-animations.html
index f3bdf499e..9a34c9792 100644
--- a/dashboard-ui/bower_components/neon-animation/neon-animations.html
+++ b/dashboard-ui/bower_components/neon-animation/neon-animations.html
@@ -13,6 +13,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
+
diff --git a/dashboard-ui/bower_components/neon-animation/neon-shared-element-animatable-behavior.html b/dashboard-ui/bower_components/neon-animation/neon-shared-element-animatable-behavior.html
index 9d5f6e70d..e63173d36 100644
--- a/dashboard-ui/bower_components/neon-animation/neon-shared-element-animatable-behavior.html
+++ b/dashboard-ui/bower_components/neon-animation/neon-shared-element-animatable-behavior.html
@@ -16,9 +16,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
/**
* Use `Polymer.NeonSharedElementAnimatableBehavior` to implement elements containing shared element
* animations.
- * @polymerBehavior
+ * @polymerBehavior Polymer.NeonSharedElementAnimatableBehavior
*/
- Polymer.NeonSharedElementAnimatableBehavior = [Polymer.NeonAnimatableBehavior, {
+ Polymer.NeonSharedElementAnimatableBehaviorImpl = {
properties: {
@@ -32,6 +32,12 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
}
- }];
+ };
+
+ /** @polymerBehavior Polymer.NeonSharedElementAnimatableBehavior */
+ Polymer.NeonSharedElementAnimatableBehavior = [
+ Polymer.NeonAnimatableBehavior,
+ Polymer.NeonSharedElementAnimatableBehaviorImpl
+ ];
diff --git a/dashboard-ui/bower_components/neon-animation/neon-shared-element-animation-behavior.html b/dashboard-ui/bower_components/neon-animation/neon-shared-element-animation-behavior.html
index 88a9ccbc1..7787615b0 100644
--- a/dashboard-ui/bower_components/neon-animation/neon-shared-element-animation-behavior.html
+++ b/dashboard-ui/bower_components/neon-animation/neon-shared-element-animation-behavior.html
@@ -15,9 +15,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
/**
* Use `Polymer.NeonSharedElementAnimationBehavior` to implement shared element animations.
- * @polymerBehavior
+ * @polymerBehavior Polymer.NeonSharedElementAnimationBehavior
*/
- Polymer.NeonSharedElementAnimationBehavior = [Polymer.NeonAnimationBehavior, {
+ Polymer.NeonSharedElementAnimationBehaviorImpl = {
properties: {
@@ -61,6 +61,12 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
return this.sharedElements;
}
- }];
+ };
+
+ /** @polymerBehavior Polymer.NeonSharedElementAnimationBehavior */
+ Polymer.NeonSharedElementAnimationBehavior = [
+ Polymer.NeonAnimationBehavior,
+ Polymer.NeonSharedElementAnimationBehaviorImpl
+ ];
diff --git a/dashboard-ui/bower_components/neon-animation/test/index.html b/dashboard-ui/bower_components/neon-animation/test/index.html
new file mode 100644
index 000000000..5f0599631
--- /dev/null
+++ b/dashboard-ui/bower_components/neon-animation/test/index.html
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+ neon-animation tests
+
+
+
+
+
+
diff --git a/dashboard-ui/bower_components/neon-animation/test/neon-animated-pages.html b/dashboard-ui/bower_components/neon-animation/test/neon-animated-pages.html
new file mode 100644
index 000000000..5ecbf07cd
--- /dev/null
+++ b/dashboard-ui/bower_components/neon-animation/test/neon-animated-pages.html
@@ -0,0 +1,74 @@
+
+
+
+
+
+ neon-animated-pages tests
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dashboard-ui/bower_components/neon-animation/test/test-resizable-pages.html b/dashboard-ui/bower_components/neon-animation/test/test-resizable-pages.html
new file mode 100644
index 000000000..973a03a51
--- /dev/null
+++ b/dashboard-ui/bower_components/neon-animation/test/test-resizable-pages.html
@@ -0,0 +1,59 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dashboard-ui/bower_components/paper-dialog-behavior/.bower.json b/dashboard-ui/bower_components/paper-dialog-behavior/.bower.json
index 532e273a4..0a7138be2 100644
--- a/dashboard-ui/bower_components/paper-dialog-behavior/.bower.json
+++ b/dashboard-ui/bower_components/paper-dialog-behavior/.bower.json
@@ -1,6 +1,6 @@
{
"name": "paper-dialog-behavior",
- "version": "1.0.2",
+ "version": "1.0.4",
"description": "Implements a behavior used for material design dialogs",
"authors": "The Polymer Authors",
"keywords": [
@@ -34,11 +34,11 @@
"web-component-tester": "*",
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
},
- "_release": "1.0.2",
+ "_release": "1.0.4",
"_resolution": {
"type": "version",
- "tag": "v1.0.2",
- "commit": "156945a20318c11bb65d0bc83ef402262c3071ca"
+ "tag": "v1.0.4",
+ "commit": "09662387b0bc55651dd7b9ef8d38b3b8f55ecf3c"
},
"_source": "git://github.com/PolymerElements/paper-dialog-behavior.git",
"_target": "^1.0.0",
diff --git a/dashboard-ui/bower_components/paper-dialog-behavior/bower.json b/dashboard-ui/bower_components/paper-dialog-behavior/bower.json
index cdd57c6e6..9ff98a0c1 100644
--- a/dashboard-ui/bower_components/paper-dialog-behavior/bower.json
+++ b/dashboard-ui/bower_components/paper-dialog-behavior/bower.json
@@ -1,6 +1,6 @@
{
"name": "paper-dialog-behavior",
- "version": "1.0.2",
+ "version": "1.0.4",
"description": "Implements a behavior used for material design dialogs",
"authors": "The Polymer Authors",
"keywords": [
diff --git a/dashboard-ui/bower_components/paper-dialog-behavior/paper-dialog-behavior.html b/dashboard-ui/bower_components/paper-dialog-behavior/paper-dialog-behavior.html
index 227fb4dba..0afcb8b7f 100644
--- a/dashboard-ui/bower_components/paper-dialog-behavior/paper-dialog-behavior.html
+++ b/dashboard-ui/bower_components/paper-dialog-behavior/paper-dialog-behavior.html
@@ -52,7 +52,7 @@ Custom property | Description | Default
### Accessibility
This element has `role="dialog"` by default. Depending on the context, it may be more appropriate
-to override this attribute with `role="alertdialog"`. The header (a `
` element) will
+to override this attribute with `role="alertdialog"`.
If `modal` is set, the element will set `aria-modal` and prevent the focus from exiting the element.
It will also ensure that focus remains in the dialog.
@@ -173,15 +173,17 @@ The `aria-labelledby` attribute will be set to the header element, if one exists
_onDialogClick: function(event) {
var target = event.target;
- while (target !== this) {
- if (target.hasAttribute('dialog-dismiss')) {
- this._updateClosingReasonConfirmed(false);
- this.close();
- break;
- } else if (target.hasAttribute('dialog-confirm')) {
- this._updateClosingReasonConfirmed(true);
- this.close();
- break;
+ while (target && target !== this) {
+ if (target.hasAttribute) {
+ if (target.hasAttribute('dialog-dismiss')) {
+ this._updateClosingReasonConfirmed(false);
+ this.close();
+ break;
+ } else if (target.hasAttribute('dialog-confirm')) {
+ this._updateClosingReasonConfirmed(true);
+ this.close();
+ break;
+ }
}
target = target.parentNode;
}
diff --git a/dashboard-ui/bower_components/paper-dialog-behavior/paper-dialog-common.css b/dashboard-ui/bower_components/paper-dialog-behavior/paper-dialog-common.css
index 67bddb19c..542f6f365 100644
--- a/dashboard-ui/bower_components/paper-dialog-behavior/paper-dialog-common.css
+++ b/dashboard-ui/bower_components/paper-dialog-behavior/paper-dialog-common.css
@@ -28,7 +28,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
:host > ::content > .no-padding {
padding: 0;
-};
+}
:host > ::content > *:first-child {
margin-top: 24px;
diff --git a/dashboard-ui/bower_components/paper-dialog-behavior/test/paper-dialog-behavior.html b/dashboard-ui/bower_components/paper-dialog-behavior/test/paper-dialog-behavior.html
index 45680e71f..f34bd8358 100644
--- a/dashboard-ui/bower_components/paper-dialog-behavior/test/paper-dialog-behavior.html
+++ b/dashboard-ui/bower_components/paper-dialog-behavior/test/paper-dialog-behavior.html
@@ -33,6 +33,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
Dialog
+
@@ -164,6 +165,19 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
});
});
+ test('removing a child element on click does not cause an exception', function(done) {
+ var dialog = fixture('basic');
+ runAfterOpen(dialog, function() {
+ var button = Polymer.dom(dialog).querySelector('[extra]');
+ button.addEventListener('click', function(event) {
+ Polymer.dom(event.target.parentNode).removeChild(event.target);
+ // should not throw exception here
+ done();
+ });
+ button.click();
+ });
+ });
+
});
suite('a11y', function() {
diff --git a/dashboard-ui/bower_components/paper-styles/.bower.json b/dashboard-ui/bower_components/paper-styles/.bower.json
index e413e5899..f16c89e87 100644
--- a/dashboard-ui/bower_components/paper-styles/.bower.json
+++ b/dashboard-ui/bower_components/paper-styles/.bower.json
@@ -1,6 +1,6 @@
{
"name": "paper-styles",
- "version": "1.0.5",
+ "version": "1.0.7",
"description": "Common (global) styles for Material Design elements.",
"authors": [
"The Polymer Authors"
@@ -21,17 +21,18 @@
"/.*"
],
"dependencies": {
- "iron-flex-layout": "polymerelements/iron-flex-layout#^1.0.0",
+ "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0",
+ "font-roboto": "PolymerElements/font-roboto#^1.0.0",
"polymer": "Polymer/polymer#^1.0.0"
},
"devDependencies": {
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
},
- "_release": "1.0.5",
+ "_release": "1.0.7",
"_resolution": {
"type": "version",
- "tag": "v1.0.5",
- "commit": "4033dd288b9074febc4532b5ea11787422b9c378"
+ "tag": "v1.0.7",
+ "commit": "c65f5ce6b898bb756fca35cedaa53c3e8011abeb"
},
"_source": "git://github.com/polymerelements/paper-styles.git",
"_target": "^1.0.0",
diff --git a/dashboard-ui/bower_components/paper-styles/bower.json b/dashboard-ui/bower_components/paper-styles/bower.json
index ffbb3a489..576dc4ce4 100644
--- a/dashboard-ui/bower_components/paper-styles/bower.json
+++ b/dashboard-ui/bower_components/paper-styles/bower.json
@@ -1,6 +1,6 @@
{
"name": "paper-styles",
- "version": "1.0.5",
+ "version": "1.0.7",
"description": "Common (global) styles for Material Design elements.",
"authors": [
"The Polymer Authors"
@@ -21,7 +21,8 @@
"/.*"
],
"dependencies": {
- "iron-flex-layout": "polymerelements/iron-flex-layout#^1.0.0",
+ "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0",
+ "font-roboto": "PolymerElements/font-roboto#^1.0.0",
"polymer": "Polymer/polymer#^1.0.0"
},
"devDependencies": {
diff --git a/dashboard-ui/bower_components/paper-styles/classes/shadow.html b/dashboard-ui/bower_components/paper-styles/classes/shadow.html
index b4c340de6..4c40a147a 100644
--- a/dashboard-ui/bower_components/paper-styles/classes/shadow.html
+++ b/dashboard-ui/bower_components/paper-styles/classes/shadow.html
@@ -13,27 +13,40 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
-.shadow-elevation-1 {
- box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);
+.shadow-elevation-2dp {
+ box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
+ 0 1px 5px 0 rgba(0, 0, 0, 0.12),
+ 0 3px 1px -2px rgba(0, 0, 0, 0.2);
}
-.shadow-elevation-2 {
- box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2),
- 0 6px 10px 0 rgba(0, 0, 0, 0.3);
+.shadow-elevation-3dp {
+ box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.14),
+ 0 1px 8px 0 rgba(0, 0, 0, 0.12),
+ 0 3px 3px -2px rgba(0, 0, 0, 0.4);
}
-.shadow-elevation-3 {
- box-shadow: 0 11px 7px 0 rgba(0, 0, 0, 0.19),
- 0 13px 25px 0 rgba(0, 0, 0, 0.3);
+.shadow-elevation-4dp {
+ box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14),
+ 0 1px 10px 0 rgba(0, 0, 0, 0.12),
+ 0 2px 4px -1px rgba(0, 0, 0, 0.4);
}
-.shadow-elevation-4 {
- box-shadow: 0 14px 12px 0 rgba(0, 0, 0, 0.17),
- 0 20px 40px 0 rgba(0, 0, 0, 0.3);
+.shadow-elevation-6dp {
+ box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14),
+ 0 1px 18px 0 rgba(0, 0, 0, 0.12),
+ 0 3px 5px -1px rgba(0, 0, 0, 0.4);
}
-.shadow-elevation-5 {
- box-shadow: 0 17px 17px 0 rgba(0, 0, 0, 0.15),
- 0 27px 55px 0 rgba(0, 0, 0, 0.3);
+.shadow-elevation-8dp {
+ box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14),
+ 0 3px 14px 2px rgba(0, 0, 0, 0.12),
+ 0 5px 5px -3px rgba(0, 0, 0, 0.4);
}
+
+.shadow-elevation-16dp {
+ box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14),
+ 0 6px 30px 5px rgba(0, 0, 0, 0.12),
+ 0 8px 10px -5px rgba(0, 0, 0, 0.4);
+}
+
diff --git a/dashboard-ui/bower_components/paper-styles/shadow.html b/dashboard-ui/bower_components/paper-styles/shadow.html
index 7339d8e30..dfb7e8a06 100644
--- a/dashboard-ui/bower_components/paper-styles/shadow.html
+++ b/dashboard-ui/bower_components/paper-styles/shadow.html
@@ -18,6 +18,10 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
};
+ --shadow-none: {
+ box-shadow: none;
+ };
+
/* from http://codepen.io/shyndman/pen/c5394ddf2e8b2a5c9185904b57421cdb */
--shadow-elevation-2dp: {
diff --git a/dashboard-ui/bower_components/paper-styles/typography.html b/dashboard-ui/bower_components/paper-styles/typography.html
index ed99cd4ff..15ae1156a 100644
--- a/dashboard-ui/bower_components/paper-styles/typography.html
+++ b/dashboard-ui/bower_components/paper-styles/typography.html
@@ -7,10 +7,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
-
-
+