Repository navigation
UmbraUI v0.2 π
Pre-releaseUmbraUI v0.2 π
β¨ New Features
- Toast Notifications - Complete notification system with multiple integration patterns
- Table Component - Full-featured data tables with head, body, rows, and empty states
- Dropdown Component - Interactive dropdowns with items, separators, and submenus
- Badge Component - Status indicators and labels
- Avatar Component - User profile images and placeholders
π§ Toast Usage Options
- Direct Toast API:
use Ihxnnxs\UmbraUI\Facades\Toast;
Toast::success('Profile updated successfully!', 'Success');
Toast::error('Something went wrong', 'Error');
Toast::warning('Session expires in 5 minutes');
Toast::info('New features available');
Toast::message('Custom notification', 'custom', 'Title');
-
Laravel Flash Messages:
// Simple flash messages
return redirect()->with('success', 'User created!');
return redirect()->with('error', 'Validation failed');
return redirect()->with('warning', 'Please verify email');
return redirect()->with('info', 'Check your inbox'); -
Structured Toast Messages:
// With titles
session()->flash('toast_success', 'Operation completed');
session()->flash('toast_success_title', 'Success');
session()->flash('toast_error', 'Failed to save');
session()->flash('toast_error_title', 'Database Error');
- Display in Blade:
@umbraToasts
π Improvements
- Fixed PHP 8.4 deprecation warnings
- Cleaner API design
- Multiple integration patterns for flexibility
- Better component organization
Full Changelog: V0.1...V0.2