This is the initial beta, offering support for Livewire 3.
N.B - This is a preview/beta, and is not suitable for production use.
For more information on the beta please see the discussion here, or join us on Discord
Potential breaking changes
- Introduction of multiple relations to a single table
- SetSearchLazy removed
Key Notes
- The package uses an injection approach to inject required JS and CSS, in the same method as Livewire itself. The behaviour is customisable.
Non-Breaking Changes
General
- Added support for multiple relations on a single table (e.g. user has a "mother user" and a "father user")
- Bootstrap striping is now working as standard
- Uses HeroIcons instead of hard-coded SVGs for icons
- Optimisation of Blade/View Components
Columns
- Label Columns (without a field) are sortable using a callback
- Preview Livewire Component Column - Caution - potential high memory/CPU usage
Filters
- Added Numeric Range filter
- Added Date Range filter
- DateFilter & DateTimeFilter have customisable Pills Date Format
- DateFilter & DateTimeFilter support setFilterDefaultValue to set a Default Value
- MultiSelectFilter & MultiSelectDropdownFilter both support setFirstOption() to set a value for "All"
Pagination
- Added support for cursor pagination ($this->setPaginationMethod('cursor'))
- Cursor & Simple pagination both include a "Total Item Count" stored in $paginationTotalItemCount, which is displayed in the table foot
Search
- Search Placeholder is customisable ($this->setSearchPlaceholder('Finder'))
- Added setSearchBlur()
- Added setSearchThrottle(int $milliseconds)
Other
- Optimisation of codebase overall
- Introduction of typehinting for parameters and return values across majority of codebase
- Increased test coverage