diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 00000000..1e66ada7 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +github: [arm092] diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b9d8b92..fd895a6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ All notable changes to `livewire-datatables` will be documented in this file +## 3.2.4 ( 2026-09-26 ) + +### What's Changed + +- Reset select filter controls after applying a value, removing a value, or clearing all filters. +- Use the Apricode orange accent for the filter panel so active filter badges remain distinct. +- Restyle table actions as clear, icon-led outline buttons with inverted brand colors on hover. +- Add GitHub Sponsors discovery through the README and repository funding metadata. +- Keep the security regression suite compatible with the HTTP exception handling introduced in Livewire 4.4. + ## 3.2.3 ( 2026-08-11 ) ### What's Changed diff --git a/README.md b/README.md index f05451ee..9e055eea 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ Build searchable, sortable, filterable and editable admin tables with Laravel, Livewire and Tailwind CSS. +[![Sponsor arm092](https://img.shields.io/badge/Sponsor-arm092-ea4aaa?style=for-the-badge&logo=githubsponsors)](https://github.com/sponsors/arm092) + ![Livewire Datatables with the default Apricode theme](resources/images/screenshot.png) [![Latest Version](https://img.shields.io/packagist/v/arm092/livewire-datatables.svg?style=for-the-badge)](https://packagist.org/packages/arm092/livewire-datatables) diff --git a/resources/views/icons/columns.blade.php b/resources/views/icons/columns.blade.php new file mode 100644 index 00000000..9ce6b863 --- /dev/null +++ b/resources/views/icons/columns.blade.php @@ -0,0 +1,3 @@ +merge(['class' => 'h-5 w-5 stroke-current']) }} fill="none" viewBox="0 0 24 24" stroke="currentColor"> + + diff --git a/resources/views/livewire/datatables/datatable.blade.php b/resources/views/livewire/datatables/datatable.blade.php index 2daf0657..91fa2eb1 100644 --- a/resources/views/livewire/datatables/datatable.blade.php +++ b/resources/views/livewire/datatables/datatable.blade.php @@ -32,8 +32,9 @@ @if($this->activeFilters) - @endif @@ -67,8 +68,10 @@ class="ld-button ld-button--success flex items-center px-4 py-2 text-xs font-med
- +
@endif @@ -137,7 +140,7 @@ class="ld-button ld-button--success px-3 py-2 text-xs font-medium tracking-wider
@if($column['filterable']) @if( is_iterable($column['filterable']) ) -
+
@include('datatables::filters.select', ['index' => $index, 'name' => $column['label'], 'options' => $column['filterable']])
@else diff --git a/resources/views/livewire/datatables/filters/select.blade.php b/resources/views/livewire/datatables/filters/select.blade.php index b06b2a0a..181450f3 100644 --- a/resources/views/livewire/datatables/filters/select.blade.php +++ b/resources/views/livewire/datatables/filters/select.blade.php @@ -1,11 +1,9 @@ -
+