diff --git a/dashboard-ui/bower_components/iron-menu-behavior/.bower.json b/dashboard-ui/bower_components/iron-menu-behavior/.bower.json
index 3ab5b6c0fd..affa4a3cf1 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.0.7",
+ "version": "1.1.0",
"description": "Provides accessible menu behavior",
"authors": "The Polymer Authors",
"keywords": [
@@ -23,7 +23,7 @@
"ignore": [],
"dependencies": {
"iron-selector": "PolymerElements/iron-selector#^1.0.0",
- "polymer": "Polymer/polymer#^1.0.0",
+ "polymer": "Polymer/polymer#^1.2.4",
"iron-a11y-keys-behavior": "polymerelements/iron-a11y-keys-behavior#^1.0.0"
},
"devDependencies": {
@@ -31,14 +31,14 @@
"iron-component-page": "PolymerElements/iron-component-page#^1.0.0",
"iron-test-helpers": "polymerelements/iron-test-helpers#^1.0.0",
"test-fixture": "PolymerElements/test-fixture#^1.0.0",
- "web-component-tester": "polymer/web-component-tester#^3.4.0",
+ "web-component-tester": "^4.0.0",
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
},
- "_release": "1.0.7",
+ "_release": "1.1.0",
"_resolution": {
"type": "version",
- "tag": "v1.0.7",
- "commit": "e5ca054bbe1c24fbc43adb78217ccc50d9223601"
+ "tag": "v1.1.0",
+ "commit": "b18d5478f1d4d6befb15533716d60d5772f8e812"
},
"_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 c7455761ed..2c7e5513fa 100644
--- a/dashboard-ui/bower_components/iron-menu-behavior/.travis.yml
+++ b/dashboard-ui/bower_components/iron-menu-behavior/.travis.yml
@@ -1,22 +1,25 @@
language: node_js
sudo: false
before_script:
- - npm install web-component-tester
- - npm install bower
- - 'export PATH=$PWD/node_modules/.bin:$PATH'
+ - npm install -g bower polylint web-component-tester
- bower install
+ - polylint
env:
global:
- secure: QxZD8yzz7s3F6b7h87ztWYiEbD2TrQp1Z1mib5u1wL7EAwsrQVkFhIEo4cJPAsTGS98qgeZAITg0ifwp/jOKVC2QKoPnC1qjm4L0AjlhXBTRbqyS5G8jvfJ8M4DgkQXADh4e+lw9ba3h2AxceJELKTYaQVq/cpTrpPg0/RH7H4o=
- secure: i76J23Bpwj6qJ4ybCCsQpGCTT+5s1PA+x0Avjbl1JTS4OsJLDFfvVl0YIWZ5xMIKJtdPC/mGDoZ2LNrh9hz82DBqDnzBlSnNjFbjnU1Aqy5CUmRWzyAF5NOjJGotISZcDYDGZd6gjsOfN0r+rICyRUiOadeyPf0Nm+6HSVQMjfM=
-node_js: 4
+ - 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"
diff --git a/dashboard-ui/bower_components/iron-menu-behavior/bower.json b/dashboard-ui/bower_components/iron-menu-behavior/bower.json
index e3de70bfaa..515df8175b 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.0.7",
+ "version": "1.1.0",
"description": "Provides accessible menu behavior",
"authors": "The Polymer Authors",
"keywords": [
@@ -23,7 +23,7 @@
"ignore": [],
"dependencies": {
"iron-selector": "PolymerElements/iron-selector#^1.0.0",
- "polymer": "Polymer/polymer#^1.0.0",
+ "polymer": "Polymer/polymer#^1.2.4",
"iron-a11y-keys-behavior": "polymerelements/iron-a11y-keys-behavior#^1.0.0"
},
"devDependencies": {
@@ -31,7 +31,7 @@
"iron-component-page": "PolymerElements/iron-component-page#^1.0.0",
"iron-test-helpers": "polymerelements/iron-test-helpers#^1.0.0",
"test-fixture": "PolymerElements/test-fixture#^1.0.0",
- "web-component-tester": "polymer/web-component-tester#^3.4.0",
+ "web-component-tester": "^4.0.0",
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
}
}
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 b970061147..82da111de5 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
@@ -74,7 +74,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
* Selects the given value. If the `multi` property is true, then the selected state of the
* `value` will be toggled; otherwise the `value` will be selected.
*
- * @param {string} value the value to select.
+ * @param {string|number} value the value to select.
*/
select: function(value) {
if (this._defaultFocusAsync) {
diff --git a/dashboard-ui/bower_components/iron-menu-behavior/iron-menubar-behavior.html b/dashboard-ui/bower_components/iron-menu-behavior/iron-menubar-behavior.html
index dc707a7053..ae93511ea4 100644
--- a/dashboard-ui/bower_components/iron-menu-behavior/iron-menubar-behavior.html
+++ b/dashboard-ui/bower_components/iron-menu-behavior/iron-menubar-behavior.html
@@ -39,12 +39,24 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
event.detail.keyboardEvent.preventDefault();
},
+ get _isRTL() {
+ return window.getComputedStyle(this)['direction'] === 'rtl';
+ },
+
_onLeftKey: function() {
- this._focusPrevious();
+ if (this._isRTL) {
+ this._focusNext();
+ } else {
+ this._focusPrevious();
+ }
},
_onRightKey: function() {
- this._focusNext();
+ if (this._isRTL) {
+ this._focusPrevious();
+ } else {
+ this._focusNext();
+ }
},
_onKeydown: function(event) {
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 92ffc44fe7..32fb203f10 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
@@ -70,7 +70,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
test('first item gets focus when menu is focused', function(done) {
var menu = fixture('basic');
- menu.focus();
+ MockInteractions.focus(menu);
setTimeout(function() {
assert.equal(document.activeElement, menu.firstElementChild, 'document.activeElement is first item')
done();
@@ -81,7 +81,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
test('selected item gets focus when menu is focused', function(done) {
var menu = fixture('basic');
menu.selected = 1;
- menu.focus();
+ MockInteractions.focus(menu);
setTimeout(function() {
assert.equal(document.activeElement, menu.selectedItem, 'document.activeElement is selected item');
done();
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 020739dc30..2be806b860 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
@@ -19,6 +19,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
+
@@ -44,6 +45,18 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
+
+
+
+
+ item 1
+ item 2
+ item 3
+
+
+
+
+
diff --git a/dashboard-ui/bower_components/iron-selector/.bower.json b/dashboard-ui/bower_components/iron-selector/.bower.json
index 483a2b608c..d875e3cb00 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.2.0",
"commit": "17a94bd1555d3321f4ecefd472f0c470d48e9e94"
},
- "_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/polymer/.bower.json b/dashboard-ui/bower_components/polymer/.bower.json
index a14227c689..01365c0ce5 100644
--- a/dashboard-ui/bower_components/polymer/.bower.json
+++ b/dashboard-ui/bower_components/polymer/.bower.json
@@ -34,6 +34,6 @@
"commit": "284332a905ddd60eab11901a82ac037976175cf8"
},
"_source": "git://github.com/Polymer/polymer.git",
- "_target": "^1.2.0",
+ "_target": "^1.0.0",
"_originalSource": "Polymer/polymer"
}
\ No newline at end of file