From 642849327db63231922558b580e985e27beddfc1 Mon Sep 17 00:00:00 2001 From: Kartik Visweswaran Date: Thu, 23 Sep 2021 21:02:41 +0530 Subject: [PATCH] Updates to release v5.2.6 --- CHANGE.md | 2 +- README.md | 20 ++++----- bower.json | 76 +++++++++++++++++----------------- examples/index-bs3.html | 12 +++++- examples/index-bs4.html | 12 +++++- examples/index-bs5.html | 12 +++++- package.json | 92 ++++++++++++++++++++--------------------- 7 files changed, 125 insertions(+), 101 deletions(-) diff --git a/CHANGE.md b/CHANGE.md index c032b10d..7a99491c 100755 --- a/CHANGE.md +++ b/CHANGE.md @@ -3,7 +3,7 @@ Change Log: `bootstrap-fileinput` ## version 5.2.6 -**Date**: _under development_ +**Date**: 23-Sep-2021 - (bug #1758): Correct bootstrap module parser. - (enh #1756): Replace `getLoadingUrl` to a new `$h.getZoomPlaceholder` method. diff --git a/README.md b/README.md index 8b200110..7e5140fa 100755 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ Step 1: Load the following assets on your page in the order mentioned. ```html - + @@ -93,40 +93,40 @@ Step 1: Load the following assets on your page in the order mentioned. - + - + - + - + - + - + - + - + ``` With v5.2.1, the plugin is able to automatically detect the bootstrap library version and deliver the relevant bootstrap specific functionality (if you have loaded the bootstrap.min.js before fileinput.min.js). In case of any issues - you can explicitly set the bootstrap version by setting the following variable before the plugin initialization script. ```js // set this before initializing the fileinput plugin -$.fn.fileinputBsVersion = '3.3.7'; // for example if using bootstrap css 3.3.7 version +$.fn.fileinputBsVersion = '3.4.1'; // for example if using bootstrap css 3.4.1 version ``` If you noticed, you need to load the `jquery.min.js` and `bootstrap.min.css` in addition to the `fileinput.min.css` and `fileinput.min.js`. The theme file `themes/fa/theme.js` can be optionally included for the font awesome icons styling. The locale file `.js` can be optionally included for translating for your language if needed. diff --git a/bower.json b/bower.json index 1f92dccd..5d5bbf90 100755 --- a/bower.json +++ b/bower.json @@ -1,40 +1,40 @@ { - "name": "bootstrap-fileinput", - "version": "5.2.6", - "homepage": "https://github.com/kartik-v/bootstrap-fileinput", - "authors": [ - "Kartik Visweswaran " - ], - "description": "An enhanced HTML 5 file input for Bootstrap 5.x, 4.x, and 3.x with file preview, multiple selection, ajax uploads, and more features.", - "main": [ - "./css/fileinput.min.css", - "./js/fileinput.min.js" - ], - "keywords": [ - "bootstrap", - "file", - "input", - "preview", - "image", - "upload", - "ajax", - "multiple", - "delete", - "progress", - "gallery" - ], - "dependencies": { - "jquery": ">= 1.9.0", - "bootstrap": ">= 3.4.1" - }, - "license": "BSD-3-Clause", - "ignore": [ - "**/.*", - "node_modules", - "composer.json", - "examples", - "bower_components", - "test", - "tests" - ] + "name": "bootstrap-fileinput", + "version": "5.2.6", + "homepage": "https://github.com/kartik-v/bootstrap-fileinput", + "authors": [ + "Kartik Visweswaran " + ], + "description": "An enhanced HTML 5 file input for Bootstrap 5.x, 4.x, and 3.x with file preview, multiple selection, ajax uploads, and more features.", + "main": [ + "./css/fileinput.min.css", + "./js/fileinput.min.js" + ], + "keywords": [ + "bootstrap", + "file", + "input", + "preview", + "image", + "upload", + "ajax", + "multiple", + "delete", + "progress", + "gallery" + ], + "dependencies": { + "jquery": ">= 1.9.0", + "bootstrap": ">= 3.4.1" + }, + "license": "BSD-3-Clause", + "ignore": [ + "**/.*", + "node_modules", + "composer.json", + "examples", + "bower_components", + "test", + "tests" + ] } diff --git a/examples/index-bs3.html b/examples/index-bs3.html index 1929d7b2..5616426b 100644 --- a/examples/index-bs3.html +++ b/examples/index-bs3.html @@ -1,6 +1,14 @@ + - - diff --git a/examples/index-bs4.html b/examples/index-bs4.html index 24d24b1e..fae25b67 100644 --- a/examples/index-bs4.html +++ b/examples/index-bs4.html @@ -1,6 +1,14 @@ + - - diff --git a/examples/index-bs5.html b/examples/index-bs5.html index 8b408928..baa86471 100644 --- a/examples/index-bs5.html +++ b/examples/index-bs5.html @@ -1,6 +1,14 @@ + - - diff --git a/package.json b/package.json index c080b77a..e97ee697 100755 --- a/package.json +++ b/package.json @@ -1,48 +1,48 @@ { - "name": "bootstrap-fileinput", - "version": "5.2.6", - "homepage": "https://github.com/kartik-v/bootstrap-fileinput", - "authors": [ - "Kartik Visweswaran " - ], - "description": "An enhanced HTML 5 file input for Bootstrap 5.x, 4.x, and 3.x with file preview, multiple selection, ajax uploads, and more features.", - "repository": { - "type": "git", - "url": "https://github.com/kartik-v/bootstrap-fileinput.git" - }, - "bugs": { - "url": "https://github.com/kartik-v/bootstrap-fileinput/issues" - }, - "keywords": [ - "file", - "input", - "preview", - "image", - "upload", - "ajax", - "multiple", - "delete", - "progress", - "gallery" - ], - "dependencies": { - "bootstrap": ">= 3.4.1", - "jquery": ">= 1.9.0", - "opencollective-postinstall": "^2.0.2" - }, - "main": "./js/fileinput.js", - "style": "./css/fileinput.css", - "sass": "scss/fileinput.scss", - "peerDependencies": { - "jquery": ">= 1.9.0", - "bootstrap": ">= 3.0.0" - }, - "license": "BSD-3-Clause", - "collective": { - "type": "opencollective", - "url": "https://opencollective.com/bootstrap-fileinput" - }, - "scripts": { - "postinstall": "opencollective-postinstall || true" - } + "name": "bootstrap-fileinput", + "version": "5.2.6", + "homepage": "https://github.com/kartik-v/bootstrap-fileinput", + "authors": [ + "Kartik Visweswaran " + ], + "description": "An enhanced HTML 5 file input for Bootstrap 5.x, 4.x, and 3.x with file preview, multiple selection, ajax uploads, and more features.", + "repository": { + "type": "git", + "url": "https://github.com/kartik-v/bootstrap-fileinput.git" + }, + "bugs": { + "url": "https://github.com/kartik-v/bootstrap-fileinput/issues" + }, + "keywords": [ + "file", + "input", + "preview", + "image", + "upload", + "ajax", + "multiple", + "delete", + "progress", + "gallery" + ], + "dependencies": { + "bootstrap": ">= 3.4.1", + "jquery": ">= 1.9.0", + "opencollective-postinstall": "^2.0.2" + }, + "main": "./js/fileinput.js", + "style": "./css/fileinput.css", + "sass": "scss/fileinput.scss", + "peerDependencies": { + "jquery": ">= 1.9.0", + "bootstrap": ">= 3.0.0" + }, + "license": "BSD-3-Clause", + "collective": { + "type": "opencollective", + "url": "https://opencollective.com/bootstrap-fileinput" + }, + "scripts": { + "postinstall": "opencollective-postinstall || true" + } } \ No newline at end of file