diff --git a/dashboard-ui/bower_components/iron-input/.bower.json b/dashboard-ui/bower_components/iron-input/.bower.json index 8dfdf4911..de24c32bc 100644 --- a/dashboard-ui/bower_components/iron-input/.bower.json +++ b/dashboard-ui/bower_components/iron-input/.bower.json @@ -1,6 +1,6 @@ { "name": "iron-input", - "version": "1.0.4", + "version": "1.0.5", "description": "An input element with data binding", "authors": [ "The Polymer Authors" @@ -33,11 +33,11 @@ "web-component-tester": "*", "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, - "_release": "1.0.4", + "_release": "1.0.5", "_resolution": { "type": "version", - "tag": "v1.0.4", - "commit": "eebeeb1642ab3e9b1abd5012c1df038250741184" + "tag": "v1.0.5", + "commit": "3ae9ec75f2252402bd62ed879052b54a9c49f60f" }, "_source": "git://github.com/PolymerElements/iron-input.git", "_target": "^1.0.0", diff --git a/dashboard-ui/bower_components/iron-input/bower.json b/dashboard-ui/bower_components/iron-input/bower.json index eb02ed76e..024e9a785 100644 --- a/dashboard-ui/bower_components/iron-input/bower.json +++ b/dashboard-ui/bower_components/iron-input/bower.json @@ -1,6 +1,6 @@ { "name": "iron-input", - "version": "1.0.4", + "version": "1.0.5", "description": "An input element with data binding", "authors": [ "The Polymer Authors" diff --git a/dashboard-ui/bower_components/iron-input/iron-input.html b/dashboard-ui/bower_components/iron-input/iron-input.html index da3088231..949721579 100644 --- a/dashboard-ui/bower_components/iron-input/iron-input.html +++ b/dashboard-ui/bower_components/iron-input/iron-input.html @@ -122,7 +122,7 @@ is separate from validation, and `allowed-pattern` does not affect how the input _bindValueChanged: function() { if (this.value !== this.bindValue) { - this.value = !this.bindValue ? '' : this.bindValue; + this.value = !(this.bindValue || this.bindValue === 0) ? '' : this.bindValue; } // manually notify because we don't want to notify until after setting value this.fire('bind-value-changed', {value: this.bindValue}); @@ -157,6 +157,7 @@ is separate from validation, and `allowed-pattern` does not affect how the input // For these keys, ASCII code == browser keycode. var anyNonPrintable = (event.keyCode == 8) || // backspace + (event.keyCode == 9) || // tab (event.keyCode == 13) || // enter (event.keyCode == 27); // escape diff --git a/dashboard-ui/bower_components/iron-meta/.bower.json b/dashboard-ui/bower_components/iron-meta/.bower.json index 8119ebcf4..9e650790b 100644 --- a/dashboard-ui/bower_components/iron-meta/.bower.json +++ b/dashboard-ui/bower_components/iron-meta/.bower.json @@ -25,14 +25,14 @@ "web-component-tester": "*", "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, - "homepage": "https://github.com/polymerelements/iron-meta", + "homepage": "https://github.com/PolymerElements/iron-meta", "_release": "1.0.3", "_resolution": { "type": "version", "tag": "v1.0.3", "commit": "91529259262b0d8f33fed44bc3fd47aedf35cb04" }, - "_source": "git://github.com/polymerelements/iron-meta.git", + "_source": "git://github.com/PolymerElements/iron-meta.git", "_target": "^1.0.0", - "_originalSource": "polymerelements/iron-meta" + "_originalSource": "PolymerElements/iron-meta" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/paper-input/.bower.json b/dashboard-ui/bower_components/paper-input/.bower.json index 99963c668..a2d6f42c5 100644 --- a/dashboard-ui/bower_components/paper-input/.bower.json +++ b/dashboard-ui/bower_components/paper-input/.bower.json @@ -1,6 +1,6 @@ { "name": "paper-input", - "version": "1.0.10", + "version": "1.0.11", "description": "Material design text fields", "authors": [ "The Polymer Authors" @@ -44,11 +44,11 @@ "iron-icon": "PolymerElements/iron-icon#^1.0.0", "paper-icon-button": "PolymerElements/paper-icon-button#^1.0.0" }, - "_release": "1.0.10", + "_release": "1.0.11", "_resolution": { "type": "version", - "tag": "v1.0.10", - "commit": "902279329e0259de5487d6f1fa1f438be0e0802e" + "tag": "v1.0.11", + "commit": "a7af749e55fff7599d2ad9da47c86b286e9e2d6f" }, "_source": "git://github.com/PolymerElements/paper-input.git", "_target": "^1.0.0", diff --git a/dashboard-ui/bower_components/paper-input/bower.json b/dashboard-ui/bower_components/paper-input/bower.json index 71a0849d0..352ba97bf 100644 --- a/dashboard-ui/bower_components/paper-input/bower.json +++ b/dashboard-ui/bower_components/paper-input/bower.json @@ -1,6 +1,6 @@ { "name": "paper-input", - "version": "1.0.10", + "version": "1.0.11", "description": "Material design text fields", "authors": [ "The Polymer Authors" diff --git a/dashboard-ui/bower_components/paper-input/paper-input-container.html b/dashboard-ui/bower_components/paper-input/paper-input-container.html index c9458ae95..28fcc341f 100644 --- a/dashboard-ui/bower_components/paper-input/paper-input-container.html +++ b/dashboard-ui/bower_components/paper-input/paper-input-container.html @@ -72,12 +72,13 @@ Custom property | Description | Default ----------------|-------------|---------- `--paper-input-container-color` | Label and underline color when the input is not focused | `--secondary-text-color` `--paper-input-container-focus-color` | Label and underline color when the input is focused | `--default-primary-color` -`--paper-input-container-invalid-color` | Label and underline color when the input is focused | `--google-red-500` +`--paper-input-container-invalid-color` | Label and underline color when the input is is invalid | `--google-red-500` `--paper-input-container-input-color` | Input foreground color | `--primary-text-color` `--paper-input-container` | Mixin applied to the container | `{}` `--paper-input-container-label` | Mixin applied to the label | `{}` `--paper-input-container-label-focus` | Mixin applied to the label when the input is focused | `{}` `--paper-input-container-input` | Mixin applied to the input | `{}` +`--paper-input-container-input-disabled` | Mixin applied to the input when it's disabled | `{}` `--paper-input-container-prefix` | Mixin applied to the input prefix | `{}` `--paper-input-container-suffix` | Mixin applied to the input suffix | `{}` `--paper-input-container-underline` | Mixin applied to the underline | `{}` @@ -105,6 +106,8 @@ This element is `display:block` by default, but you can set the `inline` attribu :host([disabled]) { pointer-events: none; opacity: 0.33; + + @apply(--paper-input-container-disabled); } .floated-label-placeholder { @@ -474,7 +477,7 @@ This element is `display:block` by default, but you can set the `inline` attribu } // type="number" hack needed because this.value is empty until it's valid - if (value || (inputElement.type === 'number' && !inputElement.checkValidity())) { + if (value || value === 0 || (inputElement.type === 'number' && !inputElement.checkValidity())) { this._inputHasContent = true; } else { this._inputHasContent = false; @@ -521,7 +524,8 @@ This element is `display:block` by default, but you can set the `inline` attribu } // The label might have a horizontal offset if a prefix element exists // which needs to be undone when displayed as a floating label. - if (this.$.prefix && label && label.offsetParent) { + if (this.$.prefix && label && label.offsetParent && + Polymer.dom(this.$.prefix).getDistributedNodes().length > 0) { label.style.left = -label.offsetParent.offsetLeft + 'px'; } } else { diff --git a/dashboard-ui/vulcanize-out.html b/dashboard-ui/vulcanize-out.html index 69af14e38..f9185606d 100644 --- a/dashboard-ui/vulcanize-out.html +++ b/dashboard-ui/vulcanize-out.html @@ -11973,7 +11973,7 @@ is separate from validation, and `allowed-pattern` does not affect how the input _bindValueChanged: function() { if (this.value !== this.bindValue) { - this.value = !this.bindValue ? '' : this.bindValue; + this.value = !(this.bindValue || this.bindValue === 0) ? '' : this.bindValue; } // manually notify because we don't want to notify until after setting value this.fire('bind-value-changed', {value: this.bindValue}); @@ -12008,6 +12008,7 @@ is separate from validation, and `allowed-pattern` does not affect how the input // For these keys, ASCII code == browser keycode. var anyNonPrintable = (event.keyCode == 8) || // backspace + (event.keyCode == 9) || // tab (event.keyCode == 13) || // enter (event.keyCode == 27); // escape @@ -16364,6 +16365,8 @@ iron-selector:not(.narrow-layout) #main ::content [paper-drawer-toggle] { :host([disabled]) { pointer-events: none; opacity: 0.33; + + @apply(--paper-input-container-disabled); } .floated-label-placeholder { @@ -16733,7 +16736,7 @@ iron-selector:not(.narrow-layout) #main ::content [paper-drawer-toggle] { } // type="number" hack needed because this.value is empty until it's valid - if (value || (inputElement.type === 'number' && !inputElement.checkValidity())) { + if (value || value === 0 || (inputElement.type === 'number' && !inputElement.checkValidity())) { this._inputHasContent = true; } else { this._inputHasContent = false; @@ -16780,7 +16783,8 @@ iron-selector:not(.narrow-layout) #main ::content [paper-drawer-toggle] { } // The label might have a horizontal offset if a prefix element exists // which needs to be undone when displayed as a floating label. - if (this.$.prefix && label && label.offsetParent) { + if (this.$.prefix && label && label.offsetParent && + Polymer.dom(this.$.prefix).getDistributedNodes().length > 0) { label.style.left = -label.offsetParent.offsetLeft + 'px'; } } else {