Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
@aware(['isTailwind','isBootstrap','isBootstrap4','isBootstrap5'])
@if ($isTailwind)
<button
wire:click.prevent="setFilterDefaults"
@class([
"focus:outline-none active:outline-none"
])>
<span @class([
"inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",
"bg-gray-100 text-gray-800 dark:bg-gray-200 dark:text-gray-900"
])>
{{ __('livewire-tables::core.Clear') }}
</span>
</button>
@else
<a
href="#"
wire:click.prevent="setFilterDefaults"
@class([
'badge badge-pill badge-light' => $isBootstrap4,
'badge rounded-pill bg-light text-dark text-decoration-none' => $isBootstrap5,
])>
{{ __('livewire-tables::core.Clear') }}
</a>
@endif
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"text-indigo-400 hover:bg-indigo-200 hover:text-indigo-500 focus:bg-indigo-500 focus:text-white",
])
>
<span class="sr-only">@lang('livewire-tables::Remove filter option')</span>
<span class="sr-only">{{ __('livewire-tables::core.Remove filter option') }}</span>
<x-heroicon-m-x-mark class="h-full" />
</button>
@else
Expand All @@ -23,9 +23,8 @@
<span @class([
'sr-only' => $isBootstrap4,
'visually-hidden' => $isBootstrap5,
])>
@lang('livewire-tables::Remove filter option')
</span>
])>{{ __('livewire-tables::core.Remove filter option') }}
</span>
<x-heroicon-m-x-mark class="laravel-livewire-tables-btn-tiny" />
</a>
@endif
Expand Down
Loading