Skip to content

Commit

Permalink
bumped version to 3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
craftpip committed Nov 8, 2016
1 parent 9d67150 commit 9e58451
Show file tree
Hide file tree
Showing 11 changed files with 49 additions and 20 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### ![jquery-confirm](https://raw.githubusercontent.com/craftpip/jquery-confirm/master/jquery-confirm.png "jquery-confirm")
*alerts, confirms and dialogs in* ***one.***

v3.0.0
v3.0.1

A multipurpose plugin for alert, confirm & dialog, with Super powers.

Expand Down Expand Up @@ -62,6 +62,13 @@ The `$.alert()` , `$.confirm()` & `$.dialog()` are alias of `jconfirm();`.
Checkout the [documentation](http://craftpip.github.io/jquery-confirm) for further information.

## Version changes

(new in 3.0.1)
* Removed bootstrap as dependency
* Added dialog type to identify success, failure, etc.
* Animate scroll to previous focused element
* titleClass option added

(New in 3.0.0) **no backwards compatible with v2.**
* Define multiple buttons
* Define keyboard keys for individual buttons
Expand Down
5 changes: 4 additions & 1 deletion animations.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<link rel="stylesheet"
href="demo/demo.css">
<script>
var version = '3.0.0';
var version = '3.0.1';
</script>
<!-- Add the minified version of files from the /dist/ folder. -->
<!-- jquery-confirm files -->
Expand Down Expand Up @@ -110,6 +110,9 @@
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li>
<a href="http://craftpip.github.io/jquery-confirm/v3.0.0">v3.0.0</a>
</li>
<li>
<a href="http://craftpip.github.io/jquery-confirm/v2.5.1">v2.5.1</a>
</li>
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery-confirm2",
"version": "3.0.0",
"version": "3.0.1",
"homepage": "https://github.com/craftpip/jquery-confirm",
"authors": [
"boniface pereira <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion css/jquery-confirm.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jquery-confirm v3.0.0 (http://craftpip.github.io/jquery-confirm/)
* jquery-confirm v3.0.1 (http://craftpip.github.io/jquery-confirm/)
* Author: boniface pereira
* Website: www.craftpip.com
* Contact: [email protected]
Expand Down
2 changes: 1 addition & 1 deletion css/jquery-confirm.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jquery-confirm v3.0.0 (http://craftpip.github.io/jquery-confirm/)
* jquery-confirm v3.0.1 (http://craftpip.github.io/jquery-confirm/)
* Author: boniface pereira
* Website: www.craftpip.com
* Contact: [email protected]
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery-confirm.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/jquery-confirm.min.js

Large diffs are not rendered by default.

34 changes: 25 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<link rel="stylesheet"
href="demo/demo.css">
<script>
var version = '3.0.0';
var version = '3.0.1';
</script>
<!-- Add the minified version of files from the /dist/ folder. -->
<!-- jquery-confirm files -->
Expand Down Expand Up @@ -112,6 +112,9 @@
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li>
<a href="http://craftpip.github.io/jquery-confirm/v3.0.0">v3.0.0</a>
</li>
<li>
<a href="http://craftpip.github.io/jquery-confirm/v2.5.1">v2.5.1</a>
</li>
Expand Down Expand Up @@ -204,8 +207,8 @@
<div class="row download-btns">
<div class="col-md-12">
<div style="height: 15px;"></div>
<a href="https://github.com/craftpip/jquery-confirm/releases/download/v3.0.0/jquery-confirm-v3.0.0.zip"
class="btn btn-lg">Download v3
<a href="https://github.com/craftpip/jquery-confirm/releases/download/v3.0.1/jquery-confirm-v3.0.1.zip"
class="btn btn-lg">Download v3.0.1
</a>
<a href="https://github.com/craftpip/jquery-confirm"
class="btn btn-lg"><i class="fa fa-github"></i> View on GitHub
Expand Down Expand Up @@ -463,16 +466,20 @@ <h2>Features</h2>
<button class="btn btn-primary btn-block example-p-2">Confirmation</button>
<p class="text-success">Stacked Confirmations</p>
</div>
<div class="col-md-3">
<button class="btn btn-primary btn-block example-p-70-type">Alert types</button>
<p class="text-success">Success, error, warning</p>
</div>
<div class="col-md-3">
<button class="btn btn-primary btn-block example-p-7-1">Prompt</button>
<p class="text-success">Need input?</p>
</div>
</div>
<div class="row">
<div class="col-md-3">
<button class="btn btn-primary btn-block example-p-4">Dialogs</button>
<p class="text-success">Its also a Dialog.</p>
</div>
</div>
<div class="row">
<div class="col-md-3">
<button class="btn btn-primary btn-block example-p-3">Background dismiss</button>
<p class="text-success">Not so important modal</p>
Expand All @@ -485,12 +492,12 @@ <h2>Features</h2>
<button class="btn btn-primary btn-block example-p-6">Auto-close</button>
<p class="text-success">Some actions maybe critical</p>
</div>
</div>
<div class="row">
<div class="col-md-3">
<button class="btn btn-primary btn-block example-p-7">Keystrokes</button>
<p class="text-success">Responds to keystrokes</p>
</div>
</div>
<div class="row">
<div class="col-md-3">
<button class="btn btn-primary btn-block example-pc-1">Alignment</button>
<p class="text-success">Automatically centered</p>
Expand Down Expand Up @@ -597,6 +604,15 @@ <h2>Features</h2>
});
});

// alert types
$('.example-p-70-type').on('click', function () {
$.alert({
title: 'Oh no',
type: 'red',
content: 'Something bad, bad happened.',
});
});

// background dismiss
$('.example-p-3').on('click', function () {
$.alert({
Expand Down Expand Up @@ -767,7 +783,6 @@ <h2>Features</h2>
});

// animations
// todo: im here
$(' .example-pc-3').on('click', function () {
$.alert({
title: 'Animations',
Expand Down Expand Up @@ -800,7 +815,8 @@ <h2>Features</h2>
<h2>Whats new <span style="color: #aaa">in v3.0.1</span></h2>
<ul>
<li>Support for namespaced bootstrap classes</li>
<li>Using bootstrap is an option now</li>
<li>Jconfirm can be used without bootstrap</li>
<li>Added type for modals (green/success, red/failure, orange/warning, etc)</li>
</ul>
</section>

Expand Down
2 changes: 1 addition & 1 deletion js/jquery-confirm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jquery-confirm v3.0.0 (http://craftpip.github.io/jquery-confirm/)
* jquery-confirm v3.0.1 (http://craftpip.github.io/jquery-confirm/)
* Author: Boniface Pereira
* Website: www.craftpip.com
* Contact: [email protected]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery-confirm",
"version": "3.0.0",
"version": "3.0.1",
"title": "jquery-confirm.js | A multipurpose alert and confirm plugin",
"description": "A jQuery plugin that provides great set of features like, Auto-close, Ajax-loading, background-dismiss, themes and more.",
"homepage": "http://craftpip.github.io/jquery-confirm/",
Expand Down
3 changes: 3 additions & 0 deletions themes.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li>
<a href="http://craftpip.github.io/jquery-confirm/v3.0.0">v3.0.0</a>
</li>
<li>
<a href="http://craftpip.github.io/jquery-confirm/v2.5.1">v2.5.1</a>
</li>
Expand Down

0 comments on commit 9e58451

Please sign in to comment.