diff --git a/web-components/file-upload/.bower.json b/web-components/file-upload/.bower.json new file mode 100644 index 0000000000..5d24dd80e4 --- /dev/null +++ b/web-components/file-upload/.bower.json @@ -0,0 +1,43 @@ +{ + "name": "file-upload", + "version": "1.6.4", + "authors": [ + "Winston Howes " + ], + "description": "An element for using ajax to upload files.", + "keywords": [ + "web-component", + "web-components", + "polymer", + "file", + "ajax", + "upload" + ], + "main": "file-upload.html", + "license": "MIT", + "homepage": "https://github.com/winhowes/file-upload/", + "ignore": [ + "/.*", + "/test/", + "/demo/", + "/bower_components/" + ], + "dependencies": { + "polymer": "Polymer/polymer#^1.0.0", + "paper-progress": "PolymerElements/paper-progress#^1.0.0" + }, + "devDependencies": { + "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", + "web-component-tester": "*" + }, + "_release": "1.6.4", + "_resolution": { + "type": "version", + "tag": "v1.6.4", + "commit": "eeaa8d62ac0d7ae2f5adb9531c427bfba3952f1c" + }, + "_source": "git://github.com/winhowes/file-upload.git", + "_target": "~1.6.4", + "_originalSource": "file-upload", + "_direct": true +} \ No newline at end of file diff --git a/web-components/file-upload/LICENSE b/web-components/file-upload/LICENSE new file mode 100644 index 0000000000..f400d49829 --- /dev/null +++ b/web-components/file-upload/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2015 Winston Howes + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/web-components/file-upload/README.md b/web-components/file-upload/README.md new file mode 100755 index 0000000000..540032943e --- /dev/null +++ b/web-components/file-upload/README.md @@ -0,0 +1,10 @@ +# Introduction +This repository contains an element for file uploads using ajax. It supports multi-file selection as well as optional drop zones for drag-and-drop. The element is designed for use in Polymer 1.0. + +Check out the demo and docs here: https://winhowes.github.io/file-upload/components/file-upload/. + +# Installation +To install simply run: +``` +bower install --save file-upload +``` diff --git a/web-components/file-upload/file-upload.html b/web-components/file-upload/file-upload.html new file mode 100755 index 0000000000..34915076f2 --- /dev/null +++ b/web-components/file-upload/file-upload.html @@ -0,0 +1,509 @@ + + + + + + + + + + + + + + + + + + diff --git a/web-components/file-upload/index.html b/web-components/file-upload/index.html new file mode 100755 index 0000000000..0557d150fa --- /dev/null +++ b/web-components/file-upload/index.html @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + +