Releases: jantinnerezo/livewire-alert
Releases · jantinnerezo/livewire-alert
2.2.0
2.1.9
What's new
- Added
LivewireAlert
trait - A way to retrieve alert input value. #50, #39 and #49
- You can now pass event listener when the alert is dismissed.
- Bundled and minified script with Laravel Mix
- Publishable script file
- Separate script component for flash when you go with the path of publishable script file
- Added test cases
Breaking changes
Livewire Macroable is no longer used for directly calling alert
due to it being automatically registered on Livewire components that are not using alert methods.
Instead, you can import the Jantinnerezo\LivewireAlert\LivewireAlert
trait and use it in your Livewire components that are utilizing alerts.
2.1.8
2.1.7 Release
2.1.6 Release
2.1.5 Release
2.1.5
✅ Fixed flash null config issue #28
2.1.4 Release
2.1.4
✅ Fixed unable to install livewire alert in laravel 8.20.1
🎉 Thanks to @moneya for submitting the issue.
2.1.3 Release
2.1.3 Release
⚡️ Optimize blade component script code to utilize config
➕ Added more default config to livewire-alert.php
2.1.2 release
Added publishable config
Run this command to your terminal.
php artisan vendor:publish --provider="Jantinnerezo\LivewireAlert\LivewireAlertServiceProvider" --tag="config"
Huge thanks to @hantrick for submitting a PR for the config support.
2.1.1 release
Separate config array for alert and confirm
return [
'alert' => [
'position' => 'top-end',
'timer' => 3000,
'toast' => true,
'text' => null,
'showCancelButton' => true,
'showConfirmButton' => false,
],
'confirm' => [
'position' => 'center',
'toast' => false,
'timer' => null,
'showConfirmButton' => true,
'cancelButtonText' => 'No'
]
];