From e1d75fd9c23aeecb38a8e4876c1873aed07c23aa Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 21 Apr 2016 14:00:32 -0400 Subject: [PATCH] add scroll threshold --- .../iron-scroll-threshold/.bower.json | 39 +++ .../iron-scroll-threshold/.gitignore | 1 + .../iron-scroll-threshold/CONTRIBUTING.md | 72 ++++++ .../iron-scroll-threshold/bower.json | 29 +++ .../iron-scroll-threshold/demo/document.html | 103 ++++++++ .../demo/sample-content.html | 105 ++++++++ .../demo/scrolling-region-decoupled.html | 107 ++++++++ .../demo/scrolling-region.html | 102 ++++++++ .../iron-scroll-threshold/index.html | 28 +++ .../iron-scroll-threshold.html | 236 ++++++++++++++++++ .../iron-scroll-threshold/test/basic.html | 223 +++++++++++++++++ .../iron-scroll-threshold/test/index.html | 29 +++ 12 files changed, 1074 insertions(+) create mode 100644 dashboard-ui/bower_components/iron-scroll-threshold/.bower.json create mode 100644 dashboard-ui/bower_components/iron-scroll-threshold/.gitignore create mode 100644 dashboard-ui/bower_components/iron-scroll-threshold/CONTRIBUTING.md create mode 100644 dashboard-ui/bower_components/iron-scroll-threshold/bower.json create mode 100644 dashboard-ui/bower_components/iron-scroll-threshold/demo/document.html create mode 100644 dashboard-ui/bower_components/iron-scroll-threshold/demo/sample-content.html create mode 100644 dashboard-ui/bower_components/iron-scroll-threshold/demo/scrolling-region-decoupled.html create mode 100644 dashboard-ui/bower_components/iron-scroll-threshold/demo/scrolling-region.html create mode 100644 dashboard-ui/bower_components/iron-scroll-threshold/index.html create mode 100644 dashboard-ui/bower_components/iron-scroll-threshold/iron-scroll-threshold.html create mode 100644 dashboard-ui/bower_components/iron-scroll-threshold/test/basic.html create mode 100644 dashboard-ui/bower_components/iron-scroll-threshold/test/index.html diff --git a/dashboard-ui/bower_components/iron-scroll-threshold/.bower.json b/dashboard-ui/bower_components/iron-scroll-threshold/.bower.json new file mode 100644 index 0000000000..1e698c49f0 --- /dev/null +++ b/dashboard-ui/bower_components/iron-scroll-threshold/.bower.json @@ -0,0 +1,39 @@ +{ + "name": "iron-scroll-threshold", + "description": "Triggers an event when nearing the beginning or end of a scrollable element ", + "keywords": [ + "web-components", + "polymer" + ], + "version": "1.0.1", + "homepage": "https://github.com/PolymerElements/iron-scroll-threshold", + "authors": [ + "The Polymer Authors" + ], + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/iron-scroll-threshold" + }, + "main": "iron-scroll-threshold.html", + "license": "http://polymer.github.io/LICENSE.txt", + "ignore": [], + "dependencies": { + "polymer": "Polymer/polymer#^1.1.0", + "iron-scroll-target-behavior": "PolymerElements/iron-scroll-target-behavior#^1.0.0" + }, + "devDependencies": { + "iron-component-page": "polymerelements/iron-component-page#^1.0.0", + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.2", + "web-component-tester": "^4.0.0" + }, + "_release": "1.0.1", + "_resolution": { + "type": "version", + "tag": "v1.0.1", + "commit": "d09176cbef2e4cebb6c44754f7a2582b30f5ecf4" + }, + "_source": "git://github.com/PolymerElements/iron-scroll-threshold.git", + "_target": "^1.0.1", + "_originalSource": "PolymerElements/iron-scroll-threshold", + "_direct": true +} \ No newline at end of file diff --git a/dashboard-ui/bower_components/iron-scroll-threshold/.gitignore b/dashboard-ui/bower_components/iron-scroll-threshold/.gitignore new file mode 100644 index 0000000000..fbe05fc93b --- /dev/null +++ b/dashboard-ui/bower_components/iron-scroll-threshold/.gitignore @@ -0,0 +1 @@ +bower_components/ diff --git a/dashboard-ui/bower_components/iron-scroll-threshold/CONTRIBUTING.md b/dashboard-ui/bower_components/iron-scroll-threshold/CONTRIBUTING.md new file mode 100644 index 0000000000..7b10141565 --- /dev/null +++ b/dashboard-ui/bower_components/iron-scroll-threshold/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/iron-scroll-threshold/bower.json b/dashboard-ui/bower_components/iron-scroll-threshold/bower.json new file mode 100644 index 0000000000..26bfceb982 --- /dev/null +++ b/dashboard-ui/bower_components/iron-scroll-threshold/bower.json @@ -0,0 +1,29 @@ +{ + "name": "iron-scroll-threshold", + "description": "Triggers an event when nearing the beginning or end of a scrollable element ", + "keywords": [ + "web-components", + "polymer" + ], + "version": "1.0.1", + "homepage": "https://github.com/PolymerElements/iron-scroll-threshold", + "authors": [ + "The Polymer Authors" + ], + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/iron-scroll-threshold" + }, + "main": "iron-scroll-threshold.html", + "license": "http://polymer.github.io/LICENSE.txt", + "ignore": [], + "dependencies": { + "polymer": "Polymer/polymer#^1.1.0", + "iron-scroll-target-behavior": "PolymerElements/iron-scroll-target-behavior#^1.0.0" + }, + "devDependencies": { + "iron-component-page": "polymerelements/iron-component-page#^1.0.0", + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.2", + "web-component-tester": "^4.0.0" + } +} diff --git a/dashboard-ui/bower_components/iron-scroll-threshold/demo/document.html b/dashboard-ui/bower_components/iron-scroll-threshold/demo/document.html new file mode 100644 index 0000000000..9670615a24 --- /dev/null +++ b/dashboard-ui/bower_components/iron-scroll-threshold/demo/document.html @@ -0,0 +1,103 @@ + + + + + + + iron-scroll-threshold using the document scroll + + + + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/iron-scroll-threshold/demo/sample-content.html b/dashboard-ui/bower_components/iron-scroll-threshold/demo/sample-content.html new file mode 100644 index 0000000000..092b3de0c4 --- /dev/null +++ b/dashboard-ui/bower_components/iron-scroll-threshold/demo/sample-content.html @@ -0,0 +1,105 @@ + + + + + + + + + diff --git a/dashboard-ui/bower_components/iron-scroll-threshold/demo/scrolling-region-decoupled.html b/dashboard-ui/bower_components/iron-scroll-threshold/demo/scrolling-region-decoupled.html new file mode 100644 index 0000000000..1e40415126 --- /dev/null +++ b/dashboard-ui/bower_components/iron-scroll-threshold/demo/scrolling-region-decoupled.html @@ -0,0 +1,107 @@ + + + + + + + iron-scroll-threshold using a scrolling region + + + + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/iron-scroll-threshold/demo/scrolling-region.html b/dashboard-ui/bower_components/iron-scroll-threshold/demo/scrolling-region.html new file mode 100644 index 0000000000..4435c0662f --- /dev/null +++ b/dashboard-ui/bower_components/iron-scroll-threshold/demo/scrolling-region.html @@ -0,0 +1,102 @@ + + + + + + + iron-scroll-threshold using a scrolling region + + + + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/iron-scroll-threshold/index.html b/dashboard-ui/bower_components/iron-scroll-threshold/index.html new file mode 100644 index 0000000000..6b54b69505 --- /dev/null +++ b/dashboard-ui/bower_components/iron-scroll-threshold/index.html @@ -0,0 +1,28 @@ + + + + + + + iron-scroll-threshold + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/iron-scroll-threshold/iron-scroll-threshold.html b/dashboard-ui/bower_components/iron-scroll-threshold/iron-scroll-threshold.html new file mode 100644 index 0000000000..0fb43f1de8 --- /dev/null +++ b/dashboard-ui/bower_components/iron-scroll-threshold/iron-scroll-threshold.html @@ -0,0 +1,236 @@ + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/iron-scroll-threshold/test/basic.html b/dashboard-ui/bower_components/iron-scroll-threshold/test/basic.html new file mode 100644 index 0000000000..e893a73bd2 --- /dev/null +++ b/dashboard-ui/bower_components/iron-scroll-threshold/test/basic.html @@ -0,0 +1,223 @@ + + + + + + iron-scroll-threshold test + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/iron-scroll-threshold/test/index.html b/dashboard-ui/bower_components/iron-scroll-threshold/test/index.html new file mode 100644 index 0000000000..1a078cdad3 --- /dev/null +++ b/dashboard-ui/bower_components/iron-scroll-threshold/test/index.html @@ -0,0 +1,29 @@ + + + + + + + Tests + + + + + + + + +