diff --git a/dashboard-ui/bower_components/emby-webcomponents/.bower.json b/dashboard-ui/bower_components/emby-webcomponents/.bower.json index e81163fce7..62ee1901c1 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.31", - "_release": "1.2.31", + "version": "1.2.32", + "_release": "1.2.32", "_resolution": { "type": "version", - "tag": "1.2.31", - "commit": "87a2ef738364e9c40e0b97326f5861b6edfc5b3e" + "tag": "1.2.32", + "commit": "9bff9052db50ba040d098af3f3c47688b5b31e30" }, "_source": "https://github.com/MediaBrowser/emby-webcomponents.git", "_target": "^1.2.0", diff --git a/dashboard-ui/bower_components/multi-download/browser.js b/dashboard-ui/bower_components/emby-webcomponents/multidownload.js similarity index 100% rename from dashboard-ui/bower_components/multi-download/browser.js rename to dashboard-ui/bower_components/emby-webcomponents/multidownload.js diff --git a/dashboard-ui/bower_components/iron-menu-behavior/.bower.json b/dashboard-ui/bower_components/iron-menu-behavior/.bower.json index e87911621a..a7d43ca161 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.5", + "version": "1.1.6", "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.5", + "_release": "1.1.6", "_resolution": { "type": "version", - "tag": "v1.1.5", - "commit": "e17b3bdb124e42202d50e7c60b0cf02d9bcb201d" + "tag": "v1.1.6", + "commit": "940c2769c7d6fefd5685e0200c3dfd0742c2a52f" }, "_source": "git://github.com/polymerelements/iron-menu-behavior.git", "_target": "^1.0.0", diff --git a/dashboard-ui/bower_components/iron-menu-behavior/.travis.yml b/dashboard-ui/bower_components/iron-menu-behavior/.travis.yml index 2c7e5513fa..a6517a39ba 100644 --- a/dashboard-ui/bower_components/iron-menu-behavior/.travis.yml +++ b/dashboard-ui/bower_components/iron-menu-behavior/.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: QxZD8yzz7s3F6b7h87ztWYiEbD2TrQp1Z1mib5u1wL7EAwsrQVkFhIEo4cJPAsTGS98qgeZAITg0ifwp/jOKVC2QKoPnC1qjm4L0AjlhXBTRbqyS5G8jvfJ8M4DgkQXADh4e+lw9ba3h2AxceJELKTYaQVq/cpTrpPg0/RH7H4o= - secure: i76J23Bpwj6qJ4ybCCsQpGCTT+5s1PA+x0Avjbl1JTS4OsJLDFfvVl0YIWZ5xMIKJtdPC/mGDoZ2LNrh9hz82DBqDnzBlSnNjFbjnU1Aqy5CUmRWzyAF5NOjJGotISZcDYDGZd6gjsOfN0r+rICyRUiOadeyPf0Nm+6HSVQMjfM= - - 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/iron-menu-behavior/bower.json b/dashboard-ui/bower_components/iron-menu-behavior/bower.json index a2fa025690..e303ad205a 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.5", + "version": "1.1.6", "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 e7b1fa4b6a..59fd714142 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 @@ -128,7 +128,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN var attr = this.attrForItemTitle || 'textContent'; var title = item[attr] || item.getAttribute(attr); - if (title && title.trim().charAt(0).toLowerCase() === String.fromCharCode(event.keyCode).toLowerCase()) { + if (!item.hasAttribute('disabled') && title && + title.trim().charAt(0).toLowerCase() === String.fromCharCode(event.keyCode).toLowerCase()) { this._setFocusedItem(item); break; } @@ -137,21 +138,34 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN /** * Focuses the previous item (relative to the currently focused item) in the - * menu. + * menu, disabled items will be skipped. */ _focusPrevious: function() { var length = this.items.length; - var index = (Number(this.indexOf(this.focusedItem)) - 1 + length) % length; - this._setFocusedItem(this.items[index]); + var curFocusIndex = Number(this.indexOf(this.focusedItem)); + for (var i = 1; i < length; i++) { + var item = this.items[(curFocusIndex - i + length) % length]; + if (!item.hasAttribute('disabled')) { + this._setFocusedItem(item); + return; + } + } }, /** * Focuses the next item (relative to the currently focused item) in the - * menu. + * menu, disabled items will be skipped. */ _focusNext: function() { - var index = (Number(this.indexOf(this.focusedItem)) + 1) % this.items.length; - this._setFocusedItem(this.items[index]); + var length = this.items.length; + var curFocusIndex = Number(this.indexOf(this.focusedItem)); + for (var i = 1; i < length; i++) { + var item = this.items[(curFocusIndex + i) % length]; + if (!item.hasAttribute('disabled')) { + this._setFocusedItem(item); + return; + } + } }, /** @@ -260,7 +274,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN if (selectedItem) { this._setFocusedItem(selectedItem); } else if (this.items[0]) { - this._setFocusedItem(this.items[0]); + // We find the first none-disabled item (if one exists) + this._focusNext(); } }); }, 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 025b9df63a..3b6b291038 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 @@ -36,6 +36,25 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN + + + + + + + +