|
15 | 15 | 'w-full mb-4 md:mb-0 md:w-2/4 md:flex space-y-4 md:space-y-0 md:space-x-2' => $component->isTailwind(), |
16 | 16 | ]) |
17 | 17 | > |
18 | | - <div x-cloak x-show="!currentlyReorderingStatus"> |
19 | | - @if ($component->hasConfigurableAreaFor('toolbar-left-start')) |
| 18 | + @if ($component->hasConfigurableAreaFor('toolbar-left-start')) |
| 19 | + <div x-cloak x-show="!currentlyReorderingStatus" @class([ |
| 20 | + 'mb-3 mb-md-0 input-group' => $component->isBootstrap(), |
| 21 | + 'flex rounded-md shadow-sm' => $component->isTailwind(), |
| 22 | + ])> |
20 | 23 | @include($component->getConfigurableAreaFor('toolbar-left-start'), $component->getParametersForConfigurableArea('toolbar-left-start')) |
21 | | - @endif |
22 | | - </div> |
23 | | - |
| 24 | + </div> |
| 25 | + @endif |
| 26 | + |
24 | 27 | @if ($component->reorderIsEnabled()) |
25 | 28 | <x-livewire-tables::tools.toolbar.items.reorder-buttons /> |
26 | 29 | @endif |
27 | | - |
| 30 | + |
28 | 31 | @if ($component->searchIsEnabled() && $component->searchVisibilityIsEnabled()) |
29 | 32 | <x-livewire-tables::tools.toolbar.items.search-field /> |
30 | 33 | @endif |
|
34 | 37 | @endif |
35 | 38 |
|
36 | 39 | @if ($component->hasConfigurableAreaFor('toolbar-left-end')) |
37 | | - <div x-cloak x-show="!currentlyReorderingStatus"> |
| 40 | + <div x-cloak x-show="!currentlyReorderingStatus" @class([ |
| 41 | + 'mb-3 mb-md-0 input-group' => $component->isBootstrap(), |
| 42 | + 'flex rounded-md shadow-sm' => $component->isTailwind(), |
| 43 | + ])> |
38 | 44 | @include($component->getConfigurableAreaFor('toolbar-left-end'), $component->getParametersForConfigurableArea('toolbar-left-end')) |
39 | 45 | </div> |
40 | 46 | @endif |
41 | 47 | </div> |
42 | 48 |
|
43 | | - <div x-cloak x-show="!currentlyReorderingStatus" |
| 49 | + <div x-cloak x-show="!currentlyReorderingStatus" |
44 | 50 | @class([ |
45 | 51 | 'd-md-flex' => $component->isBootstrap(), |
46 | 52 | 'md:flex md:items-center space-y-4 md:space-y-0 md:space-x-2' => $component->isTailwind(), |
|
53 | 59 | @if ($component->showBulkActionsDropdownAlpine()) |
54 | 60 | <x-livewire-tables::tools.toolbar.items.bulk-actions /> |
55 | 61 | @endif |
56 | | - |
| 62 | + |
57 | 63 | @if ($component->columnSelectIsEnabled()) |
58 | | - <x-livewire-tables::tools.toolbar.items.column-select /> |
| 64 | + <x-livewire-tables::tools.toolbar.items.column-select /> |
59 | 65 | @endif |
60 | 66 |
|
61 | 67 | @if ($component->paginationIsEnabled() && $component->perPageVisibilityIsEnabled()) |
62 | | - <x-livewire-tables::tools.toolbar.items.pagination-dropdown /> |
| 68 | + <x-livewire-tables::tools.toolbar.items.pagination-dropdown /> |
63 | 69 | @endif |
64 | 70 |
|
65 | 71 | @if ($component->hasConfigurableAreaFor('toolbar-right-end')) |
|
0 commit comments