v3.3.0
Release Notes
Enhanced Button and Table Components with Icon Type Support
This release introduces improved support for icon types within the BladeWind components library. The following enhancements and changes have been made:
Improvements
- Table Component
- Added support for specifying icon types (
solidoroutline) on action buttons in data tables. button_outlineallows you to opt either for outlined or filled action buttons.- The action icons are now defined as an array instead of strings separated by pipes. The pipes approach will be supported till v4.0
- Added support for specifying icon types (
Before...
$action_icons = [
"icon:chat | tip:send message | color:green | click:sendMessage('{first_name}')",
"icon:pencil | click:redirect('/user/{id}')",
"icon:trash | color:red | click:deleteUser({id}, '{first_name}')",
];Now...
$action_icons = [
[
'icon' => 'chat',
'icon_type' => 'solid',
'tip' => 'send message',
'color' => 'green',
'click' => "sendMessage('{first_name}')",
],
[
'icon' => 'pencil',
'click' => "redirect('/user/{id}')",
],
[
'icon' => 'trash',
'color' => 'red',
'click' => "deleteUser({id}, '{first_name}')",
],
];- Card and Statistics Component
- Both components have been refactored to support
radiusto change how rounded the components look.
- Both components have been refactored to support