@aware(['component', 'tableName'])
$component->isBootstrap(), 'w-full md:w-auto mb-4 md:mb-0' => $component->isTailwind(), ]) >
$component->isBootstrap(), 'relative inline-block text-left z-10 w-full md:w-auto' => $component->isTailwind(), ]) > @if($component->isTailwind())
merge($this->getBulkActionsMenuAttributes) ->class([ 'bg-white dark:bg-gray-700 dark:text-white' => $component->isTailwind() && $this->getBulkActionsMenuAttributes['default-colors'] ?? true, 'rounded-md shadow-xs' => $component->isTailwind() && $this->getBulkActionsMenuAttributes['default-styling'] ?? true, ]) ->except('default') }} >
@else
merge($this->getBulkActionsMenuAttributes) ->class([ 'dropdown-menu dropdown-menu-right w-100' => $component->isBootstrap4() && $this->getBulkActionsMenuAttributes['default-styling'] ?? true, 'dropdown-menu dropdown-menu-end w-100' => $component->isBootstrap5() && $this->getBulkActionsMenuAttributes['default-styling'] ?? true, ]) ->except('default') }} aria-labelledby="{{ $tableName }}-bulkActionsDropdown" > @foreach ($component->getBulkActions() as $action => $title) hasConfirmationMessage($action)) wire:confirm="{{ $component->getBulkActionConfirmMessage($action) }}" @endif wire:click="{{ $action }}" wire:key="{{ $tableName }}-bulk-action-{{ $action }}" {{ $attributes->merge($this->getBulkActionsMenuItemAttributes) ->class([ 'dropdown-item' => $component->isBootstrap() && $this->getBulkActionsMenuItemAttributes['default-styling'] ?? true, ]) ->except('default') }} > {{ $title }} @endforeach
@endif