From e5a4b3813f2f297d37dc860ad0b444bed48e3c45 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 5 May 2016 14:29:30 -0400 Subject: [PATCH] update components --- .../emby-webcomponents/.bower.json | 8 +- .../iron-behaviors/.bower.json | 8 +- .../iron-behaviors/bower.json | 2 +- .../iron-behaviors/iron-control-state.html | 3 +- .../iron-behaviors/test/focused-state.html | 19 +++- .../iron-fit-behavior/.bower.json | 8 +- .../iron-fit-behavior/bower.json | 2 +- .../iron-fit-behavior/iron-fit-behavior.html | 107 ++++++++++-------- .../test/iron-fit-behavior.html | 60 ++++++++++ .../iron-overlay-behavior/.bower.json | 8 +- .../iron-overlay-behavior/bower.json | 2 +- .../iron-overlay-backdrop.html | 8 +- .../iron-selector/.bower.json | 4 +- .../paper-icon-button/.bower.json | 13 ++- .../.github/ISSUE_TEMPLATE.md | 33 ++++++ .../paper-icon-button/.travis.yml | 6 +- .../paper-icon-button/bower.json | 7 +- .../demo/paper-icon-button-light.html | 57 ++++++++++ .../paper-icon-button-light.html | 82 ++++++++++++++ .../bower_components/paper-input/.bower.json | 6 +- .../paper-material/.bower.json | 4 +- 21 files changed, 360 insertions(+), 87 deletions(-) create mode 100644 dashboard-ui/bower_components/paper-icon-button/.github/ISSUE_TEMPLATE.md create mode 100644 dashboard-ui/bower_components/paper-icon-button/demo/paper-icon-button-light.html create mode 100644 dashboard-ui/bower_components/paper-icon-button/paper-icon-button-light.html diff --git a/dashboard-ui/bower_components/emby-webcomponents/.bower.json b/dashboard-ui/bower_components/emby-webcomponents/.bower.json index 53eace5a3..7dcce3fce 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/.bower.json +++ b/dashboard-ui/bower_components/emby-webcomponents/.bower.json @@ -16,12 +16,12 @@ }, "devDependencies": {}, "ignore": [], - "version": "1.2.58", - "_release": "1.2.58", + "version": "1.2.59", + "_release": "1.2.59", "_resolution": { "type": "version", - "tag": "1.2.58", - "commit": "523cb074208c7350bb68554c6fcde613142117f4" + "tag": "1.2.59", + "commit": "2089ec993031b303b5c2163fbc5aff5b37056d1f" }, "_source": "https://github.com/MediaBrowser/emby-webcomponents.git", "_target": "^1.2.0", diff --git a/dashboard-ui/bower_components/iron-behaviors/.bower.json b/dashboard-ui/bower_components/iron-behaviors/.bower.json index 26a892a0b..fe0c6d195 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.14", + "version": "1.0.15", "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.14", + "_release": "1.0.15", "_resolution": { "type": "version", - "tag": "v1.0.14", - "commit": "c1d38a26219cf2e83b31a71a2bd8ae35ebee7ed7" + "tag": "v1.0.15", + "commit": "f91583bfae24235401a21a1d67bde8cacce13030" }, "_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 460ccc800..ba405d65d 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.14", + "version": "1.0.15", "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 4b7c615c8..ab5b432b3 100644 --- a/dashboard-ui/bower_components/iron-behaviors/iron-control-state.html +++ b/dashboard-ui/bower_components/iron-behaviors/iron-control-state.html @@ -73,7 +73,8 @@ 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(event.target)) { + } else if (!this.shadowRoot && + !this.isLightDescendant(Polymer.dom(event).localTarget)) { this.fire(event.type, {sourceEvent: event}, { node: this, bubbles: event.bubbles, diff --git a/dashboard-ui/bower_components/iron-behaviors/test/focused-state.html b/dashboard-ui/bower_components/iron-behaviors/test/focused-state.html index e34a55c12..3b75c704e 100644 --- a/dashboard-ui/bower_components/iron-behaviors/test/focused-state.html +++ b/dashboard-ui/bower_components/iron-behaviors/test/focused-state.html @@ -31,10 +31,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN - + @@ -119,11 +120,13 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN suite('elements in the light dom', function() { - var lightDOM, input; + var lightDOM, input, lightDescendantShadowInput; setup(function() { lightDOM = fixture('LightDOM'); input = document.querySelector('#input'); + lightDescendantShadowInput = Polymer.dom(lightDOM) + .querySelector('nested-focusable').$.input; }); test('should not fire the focus event', function() { @@ -138,6 +141,18 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN expect(nFocusEvents).to.be.equal(0); }); + test('should not fire the focus event from shadow descendants', function() { + var nFocusEvents = 0; + + lightDOM.addEventListener('focus', function() { + nFocusEvents += 1; + }); + + MockInteractions.focus(lightDescendantShadowInput); + + expect(nFocusEvents).to.be.equal(0); + }); + }); diff --git a/dashboard-ui/bower_components/iron-fit-behavior/.bower.json b/dashboard-ui/bower_components/iron-fit-behavior/.bower.json index 0b62f4dbf..885d2d5a7 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.1.0", + "version": "1.1.1", "license": "http://polymer.github.io/LICENSE.txt", "description": "Fits an element inside another element", "private": true, @@ -29,11 +29,11 @@ }, "ignore": [], "homepage": "https://github.com/PolymerElements/iron-fit-behavior", - "_release": "1.1.0", + "_release": "1.1.1", "_resolution": { "type": "version", - "tag": "v1.1.0", - "commit": "6602a102f425f5ccc9e05e9cc15139a3ad259081" + "tag": "v1.1.1", + "commit": "c87fd44553b9ce2c60f695146d667932a7be2f8f" }, "_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 c4eb1fe91..531d810ed 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.1.0", + "version": "1.1.1", "license": "http://polymer.github.io/LICENSE.txt", "description": "Fits an element inside another element", "private": true, 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 c5387fc05..8e7b26a07 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 @@ -105,18 +105,8 @@ Use `noOverlap` to position the element around another element without overlappi }, /** - * A pixel value that will be added to the position calculated for the - * given `horizontalAlign`, in the direction of alignment. You can think - * of it as increasing or decreasing the distance to the side of the - * screen given by `horizontalAlign`. - * - * If `horizontalAlign` is "left", this offset will increase or decrease - * the distance to the left side of the screen: a negative offset will - * move the element to the left; a positive one, to the right. - * - * Conversely if `horizontalAlign` is "right", this offset will increase - * or decrease the distance to the right side of the screen: a negative - * offset will move the element to the right; a positive one, to the left. + * The same as setting margin-left and margin-right css properties. + * @deprecated */ horizontalOffset: { type: Number, @@ -125,18 +115,8 @@ Use `noOverlap` to position the element around another element without overlappi }, /** - * A pixel value that will be added to the position calculated for the - * given `verticalAlign`, in the direction of alignment. You can think - * of it as increasing or decreasing the distance to the side of the - * screen given by `verticalAlign`. - * - * If `verticalAlign` is "top", this offset will increase or decrease - * the distance to the top side of the screen: a negative offset will - * move the element upwards; a positive one, downwards. - * - * Conversely if `verticalAlign` is "bottom", this offset will increase - * or decrease the distance to the bottom side of the screen: a negative - * offset will move the element downwards; a positive one, upwards. + * The same as setting margin-top and margin-bottom css properties. + * @deprecated */ verticalOffset: { type: Number, @@ -205,7 +185,7 @@ Use `noOverlap` to position the element around another element without overlappi get _defaultPositionTarget() { var parent = Polymer.dom(this).parentNode; - if (parent.nodeType === Node.DOCUMENT_FRAGMENT_NODE) { + if (parent && parent.nodeType === Node.DOCUMENT_FRAGMENT_NODE) { parent = parent.host; } @@ -262,6 +242,7 @@ Use `noOverlap` to position the element around another element without overlappi } var target = window.getComputedStyle(this); var sizer = window.getComputedStyle(this.sizingTarget); + this._fitInfo = { inlineStyle: { top: this.style.top || '', @@ -292,6 +273,20 @@ Use `noOverlap` to position the element around another element without overlappi left: parseInt(target.marginLeft, 10) || 0 } }; + + // Support these properties until they are removed. + if (this.verticalOffset) { + this._fitInfo.margin.top = this._fitInfo.margin.bottom = this.verticalOffset; + this._fitInfo.inlineStyle.marginTop = this.style.marginTop || ''; + this._fitInfo.inlineStyle.marginBottom = this.style.marginBottom || ''; + this.style.marginTop = this.style.marginBottom = this.verticalOffset + 'px'; + } + if (this.horizontalOffset) { + this._fitInfo.margin.left = this._fitInfo.margin.right = this.horizontalOffset; + this._fitInfo.inlineStyle.marginLeft = this.style.marginLeft || ''; + this._fitInfo.inlineStyle.marginRight = this.style.marginRight || ''; + this.style.marginLeft = this.style.marginRight = this.horizontalOffset + 'px'; + } }, /** @@ -340,11 +335,15 @@ Use `noOverlap` to position the element around another element without overlappi var positionRect = this.__getNormalizedRect(this.positionTarget); var fitRect = this.__getNormalizedRect(this.fitInto); - var alignRight = this.__isAlignRight(this._localeHorizontalAlign, rect, positionRect, fitRect); - var alignBottom = this.__isAlignBottom(this.verticalAlign, rect, positionRect, fitRect); + // Consider the margin as part of the size for position calculations. + var width = rect.width + this._fitInfo.margin.left + this._fitInfo.margin.right; + var height = rect.height + this._fitInfo.margin.top + this._fitInfo.margin.bottom; - var top = alignBottom ? positionRect.bottom - rect.height - this.verticalOffset : positionRect.top + this.verticalOffset; - var left = alignRight ? positionRect.right - rect.width - this.horizontalOffset : positionRect.left + this.horizontalOffset; + var alignRight = this.__isAlignRight(this._localeHorizontalAlign, width, positionRect, fitRect); + var alignBottom = this.__isAlignBottom(this.verticalAlign, height, positionRect, fitRect); + + var top = alignBottom ? positionRect.bottom - height : positionRect.top; + var left = alignRight ? positionRect.right - width : positionRect.left; if (this.noOverlap) { // We can overlap one of the dimensions, choose the one that minimizes the cropped area. @@ -353,30 +352,34 @@ Use `noOverlap` to position the element around another element without overlappi var areaOverlapLeft = this.__getCroppedArea({ top: noOverlapTop, left: left, - width: rect.width, - height: rect.height + width: width, + height: height }, fitRect); var areaOverlapTop = this.__getCroppedArea({ top: top, left: noOverlapLeft, - width: rect.width, - height: rect.height + width: width, + height: height }, fitRect); - if (areaOverlapLeft < areaOverlapTop) { + if (areaOverlapLeft >= areaOverlapTop) { left = noOverlapLeft; } else { top = noOverlapTop; } } + left += this._fitInfo.margin.left; + top += this._fitInfo.margin.top; + + // Use original size (without margin) var right = left + rect.width; var bottom = top + rect.height; - left = Math.max(left, 0); - top = Math.max(top, 0); + left = Math.max(left, this._fitInfo.margin.left); + top = Math.max(top, this._fitInfo.margin.top); - var maxWidth = Math.min(fitRect.right, right) - left; - var maxHeight = Math.min(fitRect.bottom, bottom) - top; + var maxWidth = Math.min(fitRect.right - this._fitInfo.margin.right, right) - left; + var maxHeight = Math.min(fitRect.bottom - this._fitInfo.margin.bottom, bottom) - top; var minWidth = this._fitInfo.sizedBy.minWidth; var minHeight = this._fitInfo.sizedBy.minHeight; @@ -503,24 +506,38 @@ Use `noOverlap` to position the element around another element without overlappi return target.getBoundingClientRect(); }, - __isAlignRight: function(hAlign, rect, positionRect, fitRect) { + __isAlignRight: function(hAlign, size, positionRect, fitRect) { if (hAlign === 'right') { return true; } if (hAlign === 'auto') { - return positionRect.left + positionRect.width/2 > fitRect.left + fitRect.width/2 || - (!this.noOverlap && positionRect.left < 0 && positionRect.right - rect.width > positionRect.left); + // We should align on the right if positionTarget is on the right of fitInto, + // or if we can overlap and aligning on the left would cause more cropping + // than aligning on the right. + var positionTargetCenter = positionRect.left + positionRect.width/2; + var fitIntoCenter = fitRect.left + fitRect.width/2; + var croppedLeft = Math.abs(Math.min(0, positionRect.left)); + var croppedRight = Math.abs(Math.min(0, positionRect.right - size)); + return positionTargetCenter > fitIntoCenter || + (!this.noOverlap && croppedLeft > croppedRight); } return false; }, - __isAlignBottom: function(vAlign, rect, positionRect, fitRect) { + __isAlignBottom: function(vAlign, size, positionRect, fitRect) { if (vAlign === 'bottom') { return true; } if (vAlign === 'auto') { - return positionRect.top + positionRect.height/2 > fitRect.top + fitRect.height/2 || - (!this.noOverlap && positionRect.top < 0 && positionRect.bottom - rect.height > positionRect.top); + // We should align on the bottom if positionTarget is on the bottom of fitInto, + // or if we can overlap and aligning on the top would cause more cropping + // than aligning on the bottom. + var positionTargetCenter = positionRect.top + positionRect.height/2; + var fitIntoCenter = fitRect.top + fitRect.height/2; + var croppedTop = Math.abs(Math.min(0, positionRect.top)); + var croppedBottom = Math.abs(Math.min(0, positionRect.bottom - size)); + return positionTargetCenter > fitIntoCenter || + (!this.noOverlap && croppedTop > croppedBottom); } return false; }, @@ -528,7 +545,7 @@ Use `noOverlap` to position the element around another element without overlappi __getCroppedArea: function(rect, fitRect) { var verticalCrop = Math.min(0, rect.top) + Math.min(0, fitRect.bottom - (rect.top + rect.height)); var horizontalCrop = Math.min(0, rect.left) + Math.min(0, fitRect.right - (rect.left + rect.width)); - return verticalCrop * rect.width + horizontalCrop * rect.height; + return Math.abs(verticalCrop) * rect.width + Math.abs(horizontalCrop) * rect.height; } }; 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 b03fefdbe..f249fb3fa 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 @@ -453,6 +453,21 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN assert.equal(rect.height, elRect.height, 'no cropping'); }); + test('element margin is considered as offset', function() { + el.verticalAlign = 'top'; + el.style.marginTop = '10px'; + el.refit(); + var rect = el.getBoundingClientRect(); + assert.equal(rect.top, parentRect.top + 10, 'top ok'); + assert.equal(rect.height, elRect.height, 'no cropping'); + + el.style.marginTop = '-10px'; + el.refit(); + rect = el.getBoundingClientRect(); + assert.equal(rect.top, parentRect.top - 10, 'top ok'); + assert.equal(rect.height, elRect.height, 'no cropping'); + }); + test('verticalOffset is applied', function() { el.verticalAlign = 'top'; el.verticalOffset = 10; @@ -499,6 +514,21 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN assert.equal(rect.height, elRect.height, 'no cropping'); }); + test('element margin is considered as offset', function() { + el.verticalAlign = 'bottom'; + el.style.marginBottom = '10px'; + el.refit(); + var rect = el.getBoundingClientRect(); + assert.equal(rect.bottom, parentRect.bottom - 10, 'bottom ok'); + assert.equal(rect.height, elRect.height, 'no cropping'); + + el.style.marginBottom = '-10px'; + el.refit(); + rect = el.getBoundingClientRect(); + assert.equal(rect.bottom, parentRect.bottom + 10, 'bottom ok'); + assert.equal(rect.height, elRect.height, 'no cropping'); + }); + test('verticalOffset is applied', function() { el.verticalAlign = 'bottom'; el.verticalOffset = 10; @@ -596,6 +626,21 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN assert.equal(rect.width, elRect.width, 'no cropping'); }); + test('element margin is considered as offset', function() { + el.horizontalAlign = 'left'; + el.style.marginLeft = '10px'; + el.refit(); + var rect = el.getBoundingClientRect(); + assert.equal(rect.left, parentRect.left + 10, 'left ok'); + assert.equal(rect.width, elRect.width, 'no cropping'); + + el.style.marginLeft = '-10px'; + el.refit(); + rect = el.getBoundingClientRect(); + assert.equal(rect.left, parentRect.left - 10, 'left ok'); + assert.equal(rect.width, elRect.width, 'no cropping'); + }); + test('horizontalOffset is applied', function() { el.horizontalAlign = 'left'; el.horizontalOffset = 10; @@ -645,6 +690,21 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN assert.equal(rect.width, elRect.width, 'no cropping'); }); + test('element margin is considered as offset', function() { + el.horizontalAlign = 'right'; + el.style.marginRight = '10px'; + el.refit(); + var rect = el.getBoundingClientRect(); + assert.equal(rect.right, parentRect.right - 10, 'right ok'); + assert.equal(rect.width, elRect.width, 'no cropping'); + + el.style.marginRight = '-10px'; + el.refit(); + rect = el.getBoundingClientRect(); + assert.equal(rect.right, parentRect.right + 10, 'right ok'); + assert.equal(rect.width, elRect.width, 'no cropping'); + }); + test('horizontalOffset is applied', function() { el.horizontalAlign = 'right'; el.horizontalOffset = 10; diff --git a/dashboard-ui/bower_components/iron-overlay-behavior/.bower.json b/dashboard-ui/bower_components/iron-overlay-behavior/.bower.json index 4536dd6f6..d9e785fdb 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.7.0", + "version": "1.7.1", "license": "http://polymer.github.io/LICENSE.txt", "description": "Provides a behavior for making an element an overlay", "private": true, @@ -35,11 +35,11 @@ }, "ignore": [], "homepage": "https://github.com/polymerelements/iron-overlay-behavior", - "_release": "1.7.0", + "_release": "1.7.1", "_resolution": { "type": "version", - "tag": "v1.7.0", - "commit": "d61575162a40904914fa3528ba20bb531d098001" + "tag": "v1.7.1", + "commit": "4655445cb91e19ef3cdae247ded2ffc9f50b46a8" }, "_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 2765daa8c..5f6ed2179 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.7.0", + "version": "1.7.1", "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-backdrop.html b/dashboard-ui/bower_components/iron-overlay-behavior/iron-overlay-backdrop.html index afa5c638f..d2c85396e 100644 --- a/dashboard-ui/bower_components/iron-overlay-behavior/iron-overlay-backdrop.html +++ b/dashboard-ui/bower_components/iron-overlay-behavior/iron-overlay-backdrop.html @@ -128,8 +128,12 @@ Custom property | Description | Default } }, - _openedChanged: function() { - if (this.opened) { + /** + * @param {boolean} opened + * @private + */ + _openedChanged: function(opened) { + if (opened) { // Auto-attach. this.prepare(); } else { diff --git a/dashboard-ui/bower_components/iron-selector/.bower.json b/dashboard-ui/bower_components/iron-selector/.bower.json index adb996b83..bda2eca14 100644 --- a/dashboard-ui/bower_components/iron-selector/.bower.json +++ b/dashboard-ui/bower_components/iron-selector/.bower.json @@ -36,7 +36,7 @@ "tag": "v1.5.0", "commit": "c7402274efa2e3b2a905ffa25d70c2ff3309dc59" }, - "_source": "git://github.com/PolymerElements/iron-selector.git", + "_source": "git://github.com/polymerelements/iron-selector.git", "_target": "^1.0.0", - "_originalSource": "PolymerElements/iron-selector" + "_originalSource": "polymerelements/iron-selector" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/paper-icon-button/.bower.json b/dashboard-ui/bower_components/paper-icon-button/.bower.json index 5962b4669..bdd597d40 100644 --- a/dashboard-ui/bower_components/paper-icon-button/.bower.json +++ b/dashboard-ui/bower_components/paper-icon-button/.bower.json @@ -1,10 +1,13 @@ { "name": "paper-icon-button", "private": true, - "version": "1.0.7", + "version": "1.1.0", "license": "http://polymer.github.io/LICENSE.txt", "description": "A material design icon button", - "main": "paper-icon-button.html", + "main": [ + "paper-icon-button.html", + "paper-icon-button-light.html" + ], "author": [ "The Polymer Authors" ], @@ -35,11 +38,11 @@ }, "ignore": [], "homepage": "https://github.com/PolymerElements/paper-icon-button", - "_release": "1.0.7", + "_release": "1.1.0", "_resolution": { "type": "version", - "tag": "v1.0.7", - "commit": "7623d73efeb6e2e88e2abdb5e4d00641d39e400f" + "tag": "v1.1.0", + "commit": "1d57e0d3a76d001674cb0b86ed14244551577e7a" }, "_source": "git://github.com/PolymerElements/paper-icon-button.git", "_target": "^1.0.0", diff --git a/dashboard-ui/bower_components/paper-icon-button/.github/ISSUE_TEMPLATE.md b/dashboard-ui/bower_components/paper-icon-button/.github/ISSUE_TEMPLATE.md new file mode 100644 index 000000000..c80193d9f --- /dev/null +++ b/dashboard-ui/bower_components/paper-icon-button/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,33 @@ + +### Description + + +### Expected outcome + + + +### Actual outcome + + + +### Live Demo + + +### Steps to reproduce + + + +### Browsers Affected + +- [ ] Chrome +- [ ] Firefox +- [ ] Safari 9 +- [ ] Safari 8 +- [ ] Safari 7 +- [ ] Edge +- [ ] IE 11 +- [ ] IE 10 diff --git a/dashboard-ui/bower_components/paper-icon-button/.travis.yml b/dashboard-ui/bower_components/paper-icon-button/.travis.yml index 7b433ea5d..302779e70 100644 --- a/dashboard-ui/bower_components/paper-icon-button/.travis.yml +++ b/dashboard-ui/bower_components/paper-icon-button/.travis.yml @@ -1,5 +1,5 @@ language: node_js -sudo: false +sudo: required before_script: - npm install -g bower polylint web-component-tester - bower install @@ -8,18 +8,16 @@ env: global: - secure: A+iEL5FUMQWkkaOduE26bo0jW49LYKxDwWGZOty9H9fCDpBNQSADOhIvLzScGtjE7Rr3jVmowVsDN0XfVSRpJneEIvj7+tHAXUFoVey8vDVklOmhlR25IH2OczEmCkOS+sAKRiSF54aptdPeJhmpbMH0FyZfuX+jJfhdonJ+YQg= - secure: Ps1Hy0fzmYRYF/ur2Myg7ol43HpzpooCoDvqzpMbIBWkXjXcN0KlPoNc6lEFlhjSpjddMFavdajKYIO0j9adAjZA7HYlf+BglhxV45lz13o04+QlNbDSADNyAlKJLrIvFacn9DE3VXlvBwBu83m+ndHUN/uMyHyZo0VE1/ad9Iw= - - CXX=g++-4.8 node_js: stable addons: firefox: latest apt: sources: - google-chrome - - ubuntu-toolchain-r-test packages: - google-chrome-stable - - g++-4.8 sauce_connect: true script: - xvfb-run wct - "if [ \"${TRAVIS_PULL_REQUEST}\" = \"false\" ]; then wct -s 'default'; fi" +dist: trusty diff --git a/dashboard-ui/bower_components/paper-icon-button/bower.json b/dashboard-ui/bower_components/paper-icon-button/bower.json index aed79fc9b..3bc283268 100644 --- a/dashboard-ui/bower_components/paper-icon-button/bower.json +++ b/dashboard-ui/bower_components/paper-icon-button/bower.json @@ -1,10 +1,13 @@ { "name": "paper-icon-button", "private": true, - "version": "1.0.7", + "version": "1.1.0", "license": "http://polymer.github.io/LICENSE.txt", "description": "A material design icon button", - "main": "paper-icon-button.html", + "main": [ + "paper-icon-button.html", + "paper-icon-button-light.html" + ], "author": [ "The Polymer Authors" ], diff --git a/dashboard-ui/bower_components/paper-icon-button/demo/paper-icon-button-light.html b/dashboard-ui/bower_components/paper-icon-button/demo/paper-icon-button-light.html new file mode 100644 index 000000000..6bae8e372 --- /dev/null +++ b/dashboard-ui/bower_components/paper-icon-button/demo/paper-icon-button-light.html @@ -0,0 +1,57 @@ + + + + + paper-icon-button-light demo + + + + + + + + + + + + +
+

paper-icon-button-light can contain iron-icons or external images and can be disabled

+ + + +
+ + diff --git a/dashboard-ui/bower_components/paper-icon-button/paper-icon-button-light.html b/dashboard-ui/bower_components/paper-icon-button/paper-icon-button-light.html new file mode 100644 index 000000000..d45a69d3b --- /dev/null +++ b/dashboard-ui/bower_components/paper-icon-button/paper-icon-button-light.html @@ -0,0 +1,82 @@ + + + + + + + + + + diff --git a/dashboard-ui/bower_components/paper-input/.bower.json b/dashboard-ui/bower_components/paper-input/.bower.json index d0d6e203a..dc6a378a1 100644 --- a/dashboard-ui/bower_components/paper-input/.bower.json +++ b/dashboard-ui/bower_components/paper-input/.bower.json @@ -54,7 +54,7 @@ "tag": "v1.1.11", "commit": "8cfe5c5bf8c2e40d243443d046a94b6fe371983c" }, - "_source": "git://github.com/PolymerElements/paper-input.git", - "_target": "^1.0.0", - "_originalSource": "PolymerElements/paper-input" + "_source": "git://github.com/polymerelements/paper-input.git", + "_target": "^1.0.9", + "_originalSource": "polymerelements/paper-input" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/paper-material/.bower.json b/dashboard-ui/bower_components/paper-material/.bower.json index 76995ae72..d08896777 100644 --- a/dashboard-ui/bower_components/paper-material/.bower.json +++ b/dashboard-ui/bower_components/paper-material/.bower.json @@ -38,7 +38,7 @@ "tag": "v1.0.6", "commit": "6aef0896fcbc25f9f5bd1dd55f7679e6ab7f92ad" }, - "_source": "git://github.com/PolymerElements/paper-material.git", + "_source": "git://github.com/polymerelements/paper-material.git", "_target": "^1.0.0", - "_originalSource": "PolymerElements/paper-material" + "_originalSource": "polymerelements/paper-material" } \ No newline at end of file