diff --git a/dashboard-ui/bower_components/font-roboto/.bower.json b/dashboard-ui/bower_components/font-roboto/.bower.json new file mode 100644 index 000000000..432744c59 --- /dev/null +++ b/dashboard-ui/bower_components/font-roboto/.bower.json @@ -0,0 +1,31 @@ +{ + "name": "font-roboto", + "version": "1.0.0", + "description": "An HTML import for Roboto", + "authors": [ + "The Polymer Authors" + ], + "keywords": [ + "font", + "roboto" + ], + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/font-roboto.git" + }, + "main": "roboto.html", + "license": "http://polymer.github.io/LICENSE.txt", + "homepage": "https://github.com/PolymerElements/font-roboto/", + "ignore": [ + "/.*" + ], + "_release": "1.0.0", + "_resolution": { + "type": "version", + "tag": "1.0.0", + "commit": "b85b217e5f4b31f9c03b588e25c977b8104a40cd" + }, + "_source": "git://github.com/PolymerElements/font-roboto.git", + "_target": "^1.0.0", + "_originalSource": "PolymerElements/font-roboto" +} \ No newline at end of file diff --git a/dashboard-ui/bower_components/font-roboto/bower.json b/dashboard-ui/bower_components/font-roboto/bower.json new file mode 100644 index 000000000..0962916be --- /dev/null +++ b/dashboard-ui/bower_components/font-roboto/bower.json @@ -0,0 +1,22 @@ +{ + "name": "font-roboto", + "version": "1.0.0", + "description": "An HTML import for Roboto", + "authors": [ + "The Polymer Authors" + ], + "keywords": [ + "font", + "roboto" + ], + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/font-roboto.git" + }, + "main": "roboto.html", + "license": "http://polymer.github.io/LICENSE.txt", + "homepage": "https://github.com/PolymerElements/font-roboto/", + "ignore": [ + "/.*" + ] +} diff --git a/dashboard-ui/bower_components/font-roboto/roboto.html b/dashboard-ui/bower_components/font-roboto/roboto.html new file mode 100644 index 000000000..848d1da7d --- /dev/null +++ b/dashboard-ui/bower_components/font-roboto/roboto.html @@ -0,0 +1,10 @@ + + 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 a89dba3ec..f0a9c76d5 100644 --- a/dashboard-ui/bower_components/iron-a11y-keys-behavior/.bower.json +++ b/dashboard-ui/bower_components/iron-a11y-keys-behavior/.bower.json @@ -1,6 +1,6 @@ { "name": "iron-a11y-keys-behavior", - "version": "1.0.3", + "version": "1.0.5", "description": "A behavior that enables keybindings for greater a11y.", "keywords": [ "web-components", @@ -14,7 +14,7 @@ ], "repository": { "type": "git", - "url": "git://github.com/PolymerElements/iron-a11y-behavior.git" + "url": "git://github.com/PolymerElements/iron-a11y-keys-behavior.git" }, "main": "iron-a11y-keys-behavior.html", "license": "http://polymer.github.io/LICENSE.txt", @@ -30,11 +30,11 @@ "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, "homepage": "https://github.com/polymerelements/iron-a11y-keys-behavior", - "_release": "1.0.3", + "_release": "1.0.5", "_resolution": { "type": "version", - "tag": "v1.0.3", - "commit": "85609bfee93654cfe7be0bcf4cde169411ba535f" + "tag": "v1.0.5", + "commit": "cf833eab5c55a26c5aa92e56d3fcb079120ce66a" }, "_source": "git://github.com/polymerelements/iron-a11y-keys-behavior.git", "_target": "^1.0.0", 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 fa1428985..aa527189c 100644 --- a/dashboard-ui/bower_components/iron-a11y-keys-behavior/bower.json +++ b/dashboard-ui/bower_components/iron-a11y-keys-behavior/bower.json @@ -1,6 +1,6 @@ { "name": "iron-a11y-keys-behavior", - "version": "1.0.3", + "version": "1.0.5", "description": "A behavior that enables keybindings for greater a11y.", "keywords": [ "web-components", @@ -14,7 +14,7 @@ ], "repository": { "type": "git", - "url": "git://github.com/PolymerElements/iron-a11y-behavior.git" + "url": "git://github.com/PolymerElements/iron-a11y-keys-behavior.git" }, "main": "iron-a11y-keys-behavior.html", "license": "http://polymer.github.io/LICENSE.txt", diff --git a/dashboard-ui/bower_components/iron-a11y-keys-behavior/iron-a11y-keys-behavior.html b/dashboard-ui/bower_components/iron-a11y-keys-behavior/iron-a11y-keys-behavior.html index 47b7ee635..e95a29803 100644 --- a/dashboard-ui/bower_components/iron-a11y-keys-behavior/iron-a11y-keys-behavior.html +++ b/dashboard-ui/bower_components/iron-a11y-keys-behavior/iron-a11y-keys-behavior.html @@ -94,10 +94,10 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN * in a KeyboardEvent instance. */ var MODIFIER_KEYS = { - shift: 'shiftKey', - ctrl: 'ctrlKey', - alt: 'altKey', - meta: 'metaKey' + 'shift': 'shiftKey', + 'ctrl': 'ctrlKey', + 'alt': 'altKey', + 'meta': 'metaKey' }; /** diff --git a/dashboard-ui/bower_components/iron-behaviors/.bower.json b/dashboard-ui/bower_components/iron-behaviors/.bower.json index bf8b6cf30..aaeba48e4 100644 --- a/dashboard-ui/bower_components/iron-behaviors/.bower.json +++ b/dashboard-ui/bower_components/iron-behaviors/.bower.json @@ -27,14 +27,14 @@ "web-component-tester": "*", "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, - "homepage": "https://github.com/PolymerElements/iron-behaviors", + "homepage": "https://github.com/polymerelements/iron-behaviors", "_release": "1.0.4", "_resolution": { "type": "version", "tag": "v1.0.4", "commit": "8792edd457de697a74f398c09b67df30adf7d866" }, - "_source": "git://github.com/PolymerElements/iron-behaviors.git", + "_source": "git://github.com/polymerelements/iron-behaviors.git", "_target": "^1.0.0", - "_originalSource": "PolymerElements/iron-behaviors" + "_originalSource": "polymerelements/iron-behaviors" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/iron-fit-behavior/.bower.json b/dashboard-ui/bower_components/iron-fit-behavior/.bower.json index 2ab1f9359..37233913a 100644 --- a/dashboard-ui/bower_components/iron-fit-behavior/.bower.json +++ b/dashboard-ui/bower_components/iron-fit-behavior/.bower.json @@ -1,6 +1,6 @@ { "name": "iron-fit-behavior", - "version": "1.0.0", + "version": "1.0.3", "license": "http://polymer.github.io/LICENSE.txt", "description": "Fits an element inside another element", "private": true, @@ -23,17 +23,18 @@ "polymer": "Polymer/polymer#^1.0.0" }, "devDependencies": { + "paper-styles": "polymerelements/paper-styles#^1.0.2", "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", "test-fixture": "PolymerElements/test-fixture#^1.0.0", "web-component-tester": "*", "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, "homepage": "https://github.com/PolymerElements/iron-fit-behavior", - "_release": "1.0.0", + "_release": "1.0.3", "_resolution": { "type": "version", - "tag": "v1.0.0", - "commit": "971104a539e356fc9f8d5c640fced7f1af653c15" + "tag": "v1.0.3", + "commit": "df9fd83577ea6ebd98f5cad8333daa73dd0f34ba" }, "_source": "git://github.com/PolymerElements/iron-fit-behavior.git", "_target": "^1.0.0", diff --git a/dashboard-ui/bower_components/iron-fit-behavior/bower.json b/dashboard-ui/bower_components/iron-fit-behavior/bower.json index c8f7dc895..3878165f6 100644 --- a/dashboard-ui/bower_components/iron-fit-behavior/bower.json +++ b/dashboard-ui/bower_components/iron-fit-behavior/bower.json @@ -1,6 +1,6 @@ { "name": "iron-fit-behavior", - "version": "1.0.0", + "version": "1.0.3", "license": "http://polymer.github.io/LICENSE.txt", "description": "Fits an element inside another element", "private": true, @@ -23,6 +23,7 @@ "polymer": "Polymer/polymer#^1.0.0" }, "devDependencies": { + "paper-styles": "polymerelements/paper-styles#^1.0.2", "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", "test-fixture": "PolymerElements/test-fixture#^1.0.0", "web-component-tester": "*", diff --git a/dashboard-ui/bower_components/iron-fit-behavior/demo/index.html b/dashboard-ui/bower_components/iron-fit-behavior/demo/index.html index 2caeebe9d..b841deff6 100644 --- a/dashboard-ui/bower_components/iron-fit-behavior/demo/index.html +++ b/dashboard-ui/bower_components/iron-fit-behavior/demo/index.html @@ -18,7 +18,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN - + - + 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 @@ -139,7 +139,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN