Skip to content

Commit

Permalink
updated dropzone
Browse files Browse the repository at this point in the history
  • Loading branch information
perminder-klair committed Nov 9, 2015
1 parent 36de5a4 commit 4478b40
Show file tree
Hide file tree
Showing 21 changed files with 846 additions and 1,458 deletions.
4 changes: 2 additions & 2 deletions assets/DropZoneAsset.php
Expand Up @@ -13,11 +13,11 @@ class DropZoneAsset extends AssetBundle
public $sourcePath = '@dropzone/bower_components';

public $js = [
"dropzone/downloads/dropzone.js"
"dropzone/dist/min/dropzone.min.js"
];

public $css = [
"dropzone/downloads/css/dropzone.css"
"dropzone/dist/min/dropzone.min.css"
];

/**
Expand Down
4 changes: 2 additions & 2 deletions bower.json
@@ -1,7 +1,7 @@
{
"name": "yii2-dropzone",
"version": "0.0.1",
"version": "1.0.1",
"dependencies": {
"dropzone": "enyo/dropzone#~3.10.2"
"dropzone": "enyo/dropzone#4.2.0"
}
}
18 changes: 9 additions & 9 deletions bower_components/dropzone/.bower.json
@@ -1,25 +1,25 @@
{
"name": "dropzone",
"location": "enyo/dropzone",
"version": "3.10.2",
"version": "4.2.0",
"description": "Dropzone is an easy to use drag'n'drop library. It supports image previews and shows nice progress bars.",
"homepage": "http://www.dropzonejs.com",
"main": [
"downloads/css/dropzone.css",
"downloads/dropzone.min.js"
"dist/min/dropzone.min.css",
"dist/min/dropzone.min.js"
],
"ignore": [
"*",
"!downloads",
"!downloads/**/*"
"!dist",
"!dist/**/*"
],
"_release": "3.10.2",
"_release": "4.2.0",
"_resolution": {
"type": "version",
"tag": "v3.10.2",
"commit": "f2939e3b9504c0a4676e3532fa828652ec8bae3b"
"tag": "v4.2.0",
"commit": "1482ed0a9016e27396b0e23f72b82dbb2904b085"
},
"_source": "git://github.com/enyo/dropzone.git",
"_target": "~3.10.2",
"_target": "4.2.0",
"_originalSource": "enyo/dropzone"
}
16 changes: 16 additions & 0 deletions bower_components/dropzone/bower.json
@@ -0,0 +1,16 @@
{
"name": "dropzone",
"location": "enyo/dropzone",
"version": "4.2.0",
"description": "Dropzone is an easy to use drag'n'drop library. It supports image previews and shows nice progress bars.",
"homepage": "http://www.dropzonejs.com",
"main": [
"dist/min/dropzone.min.css",
"dist/min/dropzone.min.js"
],
"ignore": [
"*",
"!dist",
"!dist/**/*"
]
}
39 changes: 39 additions & 0 deletions bower_components/dropzone/dist/basic.css
@@ -0,0 +1,39 @@
/*
* The MIT License
* Copyright (c) 2012 Matias Meno <m@tias.me>
*/
.dropzone, .dropzone * {
box-sizing: border-box; }

.dropzone {
position: relative; }
.dropzone .dz-preview {
position: relative;
display: inline-block;
width: 120px;
margin: 0.5em; }
.dropzone .dz-preview .dz-progress {
display: block;
height: 15px;
border: 1px solid #aaa; }
.dropzone .dz-preview .dz-progress .dz-upload {
display: block;
height: 100%;
width: 0;
background: green; }
.dropzone .dz-preview .dz-error-message {
color: red;
display: none; }
.dropzone .dz-preview.dz-error .dz-error-message, .dropzone .dz-preview.dz-error .dz-error-mark {
display: block; }
.dropzone .dz-preview.dz-success .dz-success-mark {
display: block; }
.dropzone .dz-preview .dz-error-mark, .dropzone .dz-preview .dz-success-mark {
position: absolute;
display: none;
left: 30px;
top: 30px;
width: 54px;
height: 58px;
left: 50%;
margin-left: -27px; }

0 comments on commit 4478b40

Please sign in to comment.