Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
realrashid committed Nov 6, 2021
1 parent 4923bb9 commit 7615c57
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to `sweet-alert` will be documented in this file.

## v4.1.0 - 2021-11-05
- Bug Fixes
- Upgraded SweetAlert2 to latest version
- Docs Updated

## v4.0.0 - 2021-06-14
- Bug Fixes
- Upgraded SweetAlert2 to latest version
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"require": {
"php": "^7.2|^8.0",
"laravel/framework": "^7.0|^8.0"
"laravel/framework": "^5.6|^6.0|^7.0|^8.0"
},
"require-dev": {
"symfony/thanks": "^1.0"
Expand Down
5 changes: 5 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to `sweet-alert` will be documented in this file.

## v4.1.0 - 2021-11-05
- Bug Fixes
- Upgraded SweetAlert2 to latest version
- Docs Updated

## v4.0.0 - 2021-06-14
- Bug Fixes
- Upgraded SweetAlert2 to latest version
Expand Down
4 changes: 2 additions & 2 deletions resources/js/sweetalert.all.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/Toaster.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ protected function setDefaultConfig()
'padding' => config('sweetalert.padding'),
'showConfirmButton' => config('sweetalert.show_confirm_button'),
'showCloseButton' => config('sweetalert.show_close_button'),
'timerProgressBar' => config('sweetalert.timer_progress_bar'),
'customClass' => [
'container' => config('sweetalert.customClass.container'),
'popup' => config('sweetalert.customClass.popup'),
Expand Down
11 changes: 11 additions & 0 deletions src/config/sweetalert.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,17 @@

'toast_position' => env('SWEET_ALERT_TOAST_POSITION', 'top-end'),

/*
|--------------------------------------------------------------------------
| Progress Bar
|--------------------------------------------------------------------------
| If set to true, a progress bar at the bottom of a popup will be shown.
| It can be useful with toasts.
|
*/

'timer_progress_bar' => env('SWEET_ALERT_TIMER_PROGRESS_BAR', false),

/*
|--------------------------------------------------------------------------
| Middleware
Expand Down

0 comments on commit 7615c57

Please sign in to comment.