diff --git a/dashboard-ui/bower_components/iron-flex-layout/.bower.json b/dashboard-ui/bower_components/iron-flex-layout/.bower.json index 3f08ced4f5..ffb51f3ad2 100644 --- a/dashboard-ui/bower_components/iron-flex-layout/.bower.json +++ b/dashboard-ui/bower_components/iron-flex-layout/.bower.json @@ -27,14 +27,14 @@ "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0", "iron-component-page": "polymerelements/iron-component-page#^1.0.0" }, - "homepage": "https://github.com/polymerelements/iron-flex-layout", + "homepage": "https://github.com/PolymerElements/iron-flex-layout", "_release": "1.2.0", "_resolution": { "type": "version", "tag": "v1.2.0", "commit": "4bf53ba623140d0d2663a404e91ee45b96299118" }, - "_source": "git://github.com/polymerelements/iron-flex-layout.git", + "_source": "git://github.com/PolymerElements/iron-flex-layout.git", "_target": "^1.0.0", - "_originalSource": "polymerelements/iron-flex-layout" + "_originalSource": "PolymerElements/iron-flex-layout" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/paper-drawer-panel/.bower.json b/dashboard-ui/bower_components/paper-drawer-panel/.bower.json index 8d510d3d7d..3bc18660b7 100644 --- a/dashboard-ui/bower_components/paper-drawer-panel/.bower.json +++ b/dashboard-ui/bower_components/paper-drawer-panel/.bower.json @@ -1,6 +1,6 @@ { "name": "paper-drawer-panel", - "version": "1.0.4", + "version": "1.0.5", "description": "A responsive drawer panel", "authors": [ "The Polymer Authors" @@ -33,11 +33,12 @@ "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, "main": "paper-drawer-panel.html", - "_release": "1.0.4", + "ignore": [], + "_release": "1.0.5", "_resolution": { "type": "version", - "tag": "v1.0.4", - "commit": "9d4a4c737d8e2e5d23baee39128625e476f2b051" + "tag": "v1.0.5", + "commit": "5f13426a7176610025afc401718f304e4dcee5e4" }, "_source": "git://github.com/PolymerElements/paper-drawer-panel.git", "_target": "~1.0.2", diff --git a/dashboard-ui/bower_components/paper-drawer-panel/.travis.yml b/dashboard-ui/bower_components/paper-drawer-panel/.travis.yml new file mode 100644 index 0000000000..4b042acb72 --- /dev/null +++ b/dashboard-ui/bower_components/paper-drawer-panel/.travis.yml @@ -0,0 +1,22 @@ +language: node_js +sudo: false +before_script: + - npm install web-component-tester + - npm install bower + - 'export PATH=$PWD/node_modules/.bin:$PATH' + - bower install +env: + global: + - secure: PLe0gvvFLKijrgyroIeymIP14SikK6RobNUOqHyUiLDCh9S2/vSBJUp8U5TYkVmpxMr+rcKXpfIhYt/bne97bARTnMjRQUa+rlraek6EPXyFILDsyaTosYD7rmY2f8ViiW+CM3eUA+ym0P8tvYONdTx+CEdO7S6esotfq3LHrLw= + - secure: U4i/ZSfd87xQ+0YZCKxk3knQQk23V/2IxtSrvY42OnaGi10uz04Cad5XMuBcB1kCyRkAP/e9flQyp4iLaDpG+edm2fxJNPqXepWjtMr0rVFr2LoQ7dPAQCFkzO25dSiO+Wj4ffDO//hwgF5Xl/BXnyRBfSEjURZXr4EP+NjoMWU= +node_js: 4 +addons: + firefox: latest + apt: + sources: + - google-chrome + packages: + - google-chrome-stable +script: + - xvfb-run wct + - "if [ \"${TRAVIS_PULL_REQUEST}\" = \"false\" ]; then wct -s 'default'; fi" diff --git a/dashboard-ui/bower_components/paper-drawer-panel/CONTRIBUTING.md b/dashboard-ui/bower_components/paper-drawer-panel/CONTRIBUTING.md new file mode 100644 index 0000000000..7b10141565 --- /dev/null +++ b/dashboard-ui/bower_components/paper-drawer-panel/CONTRIBUTING.md @@ -0,0 +1,72 @@ + + +# Polymer Elements +## Guide for Contributors + +Polymer Elements are built in the open, and the Polymer authors eagerly encourage any and all forms of community contribution. When contributing, please follow these guidelines: + +### Filing Issues + +**If you are filing an issue to request a feature**, please provide a clear description of the feature. It can be helpful to describe answers to the following questions: + + 1. **Who will use the feature?** _“As someone filling out a form…”_ + 2. **When will they use the feature?** _“When I enter an invalid value…”_ + 3. **What is the user’s goal?** _“I want to be visually notified that the value needs to be corrected…”_ + +**If you are filing an issue to report a bug**, please provide: + + 1. **A clear description of the bug and related expectations.** Consider using the following example template for reporting a bug: + + ```markdown + The `paper-foo` element causes the page to turn pink when clicked. + + ## Expected outcome + + The page stays the same color. + + ## Actual outcome + + The page turns pink. + + ## Steps to reproduce + + 1. Put a `paper-foo` element in the page. + 2. Open the page in a web browser. + 3. Click the `paper-foo` element. + ``` + + 2. **A reduced test case that demonstrates the problem.** If possible, please include the test case as a JSBin. Start with this template to easily import and use relevant Polymer Elements: [http://jsbin.com/cagaye](http://jsbin.com/cagaye/edit?html,output). + + 3. **A list of browsers where the problem occurs.** This can be skipped if the problem is the same across all browsers. + +### Submitting Pull Requests + +**Before creating a pull request**, please ensure that an issue exists for the corresponding change in the pull request that you intend to make. **If an issue does not exist, please create one per the guidelines above**. The goal is to discuss the design and necessity of the proposed change with Polymer authors and community before diving into a pull request. + +When submitting pull requests, please provide: + + 1. **A reference to the corresponding issue** or issues that will be closed by the pull request. Please refer to these issues using the following syntax: + + ```markdown + (For a single issue) + Fixes #20 + + (For multiple issues) + Fixes #32, #40 + ``` + + 2. **A succinct description of the design** used to fix any related issues. For example: + + ```markdown + This fixes #20 by removing styles that leaked which would cause the page to turn pink whenever `paper-foo` is clicked. + ``` + + 3. **At least one test for each bug fixed or feature added** as part of the pull request. Pull requests that fix bugs or add features without accompanying tests will not be considered. + +If a proposed change contains multiple commits, please [squash commits](https://www.google.com/url?q=http://blog.steveklabnik.com/posts/2012-11-08-how-to-squash-commits-in-a-github-pull-request) to as few as is necessary to succinctly express the change. A Polymer author can help you squash commits, so don’t be afraid to ask us if you need help with that! diff --git a/dashboard-ui/bower_components/paper-drawer-panel/bower.json b/dashboard-ui/bower_components/paper-drawer-panel/bower.json index dbfded02ce..66a3f6fed4 100644 --- a/dashboard-ui/bower_components/paper-drawer-panel/bower.json +++ b/dashboard-ui/bower_components/paper-drawer-panel/bower.json @@ -1,6 +1,6 @@ { "name": "paper-drawer-panel", - "version": "1.0.4", + "version": "1.0.5", "description": "A responsive drawer panel", "authors": [ "The Polymer Authors" @@ -32,5 +32,6 @@ "web-component-tester": "*", "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, - "main": "paper-drawer-panel.html" + "main": "paper-drawer-panel.html", + "ignore": [] } diff --git a/dashboard-ui/bower_components/paper-drawer-panel/paper-drawer-panel.html b/dashboard-ui/bower_components/paper-drawer-panel/paper-drawer-panel.html index 2ca5616de7..8dc8b1e37b 100644 --- a/dashboard-ui/bower_components/paper-drawer-panel/paper-drawer-panel.html +++ b/dashboard-ui/bower_components/paper-drawer-panel/paper-drawer-panel.html @@ -285,7 +285,7 @@ Custom property | Description | Default @@ -495,7 +495,7 @@ Custom property | Description | Default /** * Whether the transition is enabled. */ - transition: { + _transition: { type: Boolean, value: false }, @@ -547,7 +547,7 @@ Custom property | Description | Default ready: function() { // Avoid transition at the beginning e.g. page loads and enable // transitions only after the element is rendered and ready. - this.transition = true; + this._transition = true; }, _onMainTransitionEnd: function (e) { @@ -698,7 +698,7 @@ Custom property | Description | Default if (this.dragging) { this.width = this.$.drawer.offsetWidth; - this.transition = false; + this._transition = false; } } }, @@ -725,12 +725,6 @@ Custom property | Description | Default this._setPeeking(false); } - var dy = event.detail.dy; - var absDy = Math.abs(dy); - if (absDy >= 70) { - // Ignore trackx until we move past the edge peek. - return; - } this._moveDrawer(this._translateXForDeltaX(dx)); } }, @@ -740,17 +734,14 @@ Custom property | Description | Default var xDirection = event.detail.dx > 0; this._setDragging(false); - this.transition = true; + this._transition = true; sharedPanel = null; this._moveDrawer(null); - var dx = event.detail.dx; - var dy = event.detail.dy; - var absDy = Math.abs(dy); if (this.rightDrawer) { - this[xDirection ? 'closeDrawer' : 'openDrawer'](); + this[xDirection ? 'closeDrawer' : 'openDrawer'](); } else { - this[xDirection || dx > -80 || absDy >= 70 ? 'openDrawer' : 'closeDrawer'](); + this[xDirection ? 'openDrawer' : 'closeDrawer'](); } } },