diff --git a/dashboard-ui/bower_components/iron-menu-behavior/.bower.json b/dashboard-ui/bower_components/iron-menu-behavior/.bower.json index 67faff1dd..e87911621 100644 --- a/dashboard-ui/bower_components/iron-menu-behavior/.bower.json +++ b/dashboard-ui/bower_components/iron-menu-behavior/.bower.json @@ -1,6 +1,6 @@ { "name": "iron-menu-behavior", - "version": "1.1.4", + "version": "1.1.5", "description": "Provides accessible menu behavior", "authors": "The Polymer Authors", "keywords": [ @@ -34,11 +34,11 @@ "web-component-tester": "^4.0.0", "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, - "_release": "1.1.4", + "_release": "1.1.5", "_resolution": { "type": "version", - "tag": "v1.1.4", - "commit": "637c4ae4654b53d4ca29ba97239c1ffba13cfc93" + "tag": "v1.1.5", + "commit": "e17b3bdb124e42202d50e7c60b0cf02d9bcb201d" }, "_source": "git://github.com/polymerelements/iron-menu-behavior.git", "_target": "^1.0.0", diff --git a/dashboard-ui/bower_components/iron-menu-behavior/.github/ISSUE_TEMPLATE.md b/dashboard-ui/bower_components/iron-menu-behavior/.github/ISSUE_TEMPLATE.md new file mode 100644 index 000000000..da2172d01 --- /dev/null +++ b/dashboard-ui/bower_components/iron-menu-behavior/.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/iron-menu-behavior/bower.json b/dashboard-ui/bower_components/iron-menu-behavior/bower.json index 2e82f8958..a2fa02569 100644 --- a/dashboard-ui/bower_components/iron-menu-behavior/bower.json +++ b/dashboard-ui/bower_components/iron-menu-behavior/bower.json @@ -1,6 +1,6 @@ { "name": "iron-menu-behavior", - "version": "1.1.4", + "version": "1.1.5", "description": "Provides accessible menu behavior", "authors": "The Polymer Authors", "keywords": [ diff --git a/dashboard-ui/bower_components/iron-menu-behavior/iron-menu-behavior.html b/dashboard-ui/bower_components/iron-menu-behavior/iron-menu-behavior.html index b39241cfa..e7b1fa4b6 100644 --- a/dashboard-ui/bower_components/iron-menu-behavior/iron-menu-behavior.html +++ b/dashboard-ui/bower_components/iron-menu-behavior/iron-menu-behavior.html @@ -77,6 +77,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN * @param {string|number} value the value to select. */ select: function(value) { + // Cancel automatically focusing a default item if the menu received focus + // through a user action selecting a particular item. if (this._defaultFocusAsync) { this.cancelAsync(this._defaultFocusAsync); this._defaultFocusAsync = null; @@ -247,8 +249,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN return; } - this.blur(); - // clear the cached focus item this._defaultFocusAsync = this.async(function() { // focus the selected item when the menu receives focus, or the first item @@ -259,11 +259,10 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN if (selectedItem) { this._setFocusedItem(selectedItem); - } else { + } else if (this.items[0]) { this._setFocusedItem(this.items[0]); } - // async 1ms to wait for `select` to get called from `_itemActivate` - }, 1); + }); }, /** diff --git a/dashboard-ui/bower_components/iron-menu-behavior/test/iron-menu-behavior.html b/dashboard-ui/bower_components/iron-menu-behavior/test/iron-menu-behavior.html index d7bb21614..025b9df63 100644 --- a/dashboard-ui/bower_components/iron-menu-behavior/test/iron-menu-behavior.html +++ b/dashboard-ui/bower_components/iron-menu-behavior/test/iron-menu-behavior.html @@ -46,8 +46,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN - - + + + + + - diff --git a/dashboard-ui/bower_components/iron-menu-behavior/test/iron-menubar-behavior.html b/dashboard-ui/bower_components/iron-menu-behavior/test/iron-menubar-behavior.html index dac9e9b68..78af4ea41 100644 --- a/dashboard-ui/bower_components/iron-menu-behavior/test/iron-menubar-behavior.html +++ b/dashboard-ui/bower_components/iron-menu-behavior/test/iron-menubar-behavior.html @@ -69,57 +69,52 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN test('first item gets focus when menubar is focused', function(done) { var menubar = fixture('basic'); MockInteractions.focus(menubar); - setTimeout(function() { + Polymer.Base.async(function() { assert.equal(Polymer.dom(document).activeElement, menubar.firstElementChild, 'document.activeElement is first item') done(); - // wait for async in _onFocus - }, 200); + }); }); test('selected item gets focus when menubar is focused', function(done) { var menubar = fixture('basic'); menubar.selected = 1; MockInteractions.focus(menubar); - setTimeout(function() { + Polymer.Base.async(function() { assert.equal(Polymer.dom(document).activeElement, menubar.selectedItem, 'document.activeElement is selected item'); done(); - // wait for async in _onFocus - }, 200); + }); }); test('focusing non-item content does not auto-focus an item', function(done) { var menubar = fixture('basic'); menubar.extraContent.focus(); - setTimeout(function() { + Polymer.Base.async(function() { var ownerRoot = Polymer.dom(menubar.extraContent).getOwnerRoot() || document; var activeElement = Polymer.dom(ownerRoot).activeElement; assert.equal(activeElement, menubar.extraContent, 'menubar.extraContent is focused'); assert.equal(Polymer.dom(document).activeElement, menubar, 'menubar is document.activeElement'); done(); - // wait for async in _onFocus - }, 200); + }); }); test('last activated item in a multi select menubar is focused', function(done) { var menubar = fixture('multi'); menubar.selected = 0; menubar.items[1].click(); - setTimeout(function() { + Polymer.Base.async(function() { assert.equal(Polymer.dom(document).activeElement, menubar.items[1], 'document.activeElement is last activated item'); done(); - // wait for async in _onFocus - }, 200); + }); }); test('deselection in a multi select menubar focuses deselected item', function(done) { var menubar = fixture('multi'); menubar.selected = 0; menubar.items[0].click(); - setTimeout(function() { + Polymer.Base.async(function() { assert.equal(Polymer.dom(document).activeElement, menubar.items[0], 'document.activeElement is last activated item'); done(); - // wait for async in _onFocus - }, 200); + }); }); suite('left / right keys are reversed when the menubar has RTL directionality', function() { diff --git a/dashboard-ui/bower_components/iron-overlay-behavior/.bower.json b/dashboard-ui/bower_components/iron-overlay-behavior/.bower.json index e119efc7f..c0a387652 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.5.2", + "version": "1.5.3", "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.5.2", + "_release": "1.5.3", "_resolution": { "type": "version", - "tag": "v1.5.2", - "commit": "740705930a3d30c8381e75f379aeea5eae89847b" + "tag": "v1.5.3", + "commit": "49d4c3fb1525aa14911cbda46f0997641c93bbe0" }, "_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 f0915e8b1..3c424e425 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.5.2", + "version": "1.5.3", "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 e9295ac4a..ceddfcca1 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 @@ -329,7 +329,7 @@ context. You should place this element as a child of `` whenever possible. this._renderClosed(); } this._openChangedAsync = null; - }, 1); + }); }, _canceledChanged: function() { diff --git a/dashboard-ui/bower_components/paper-input/.bower.json b/dashboard-ui/bower_components/paper-input/.bower.json index 416633ba7..536b8d1c2 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.10", "commit": "d8e201099b4b2987bea1dbcf5804c0383544bbfd" }, - "_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/thirdparty/paper-button-style.css b/dashboard-ui/thirdparty/paper-button-style.css index 20134f542..c441b16b1 100644 --- a/dashboard-ui/thirdparty/paper-button-style.css +++ b/dashboard-ui/thirdparty/paper-button-style.css @@ -490,8 +490,8 @@ paper-dropdown-menu { display: block; } -paper-dialog paper-radio-group paper-radio-button { - padding: 6px 12px; +paper-radio-group > * { + padding: .5em; } .likePaperText { diff --git a/dashboard-ui/useredit.html b/dashboard-ui/useredit.html index 9f85a1ea9..30231a069 100644 --- a/dashboard-ui/useredit.html +++ b/dashboard-ui/useredit.html @@ -9,7 +9,7 @@ ${TabParentalControl} ${TabPassword} -

+

${ButtonEditOtherUserPreferences}