fix issues with other buttons in screenshots

This commit is contained in:
Dan Harrin
2025-04-29 11:03:25 +01:00
parent 9a37489af5
commit 77c5298d40
19 changed files with 115 additions and 105 deletions
@@ -5,136 +5,146 @@
@endphp
<div class="min-h-screen">
@if (! count($this->mountedActions))
<div id="buttonAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->buttonAction }}
</div>
<div id="buttonAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->buttonAction }}
</div>
<div id="linkAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->linkAction }}
</div>
<div id="linkAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->linkAction }}
</div>
<div id="iconButtonAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->iconButtonAction }}
</div>
<div id="iconButtonAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->iconButtonAction }}
</div>
<div id="badgeAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->badgeAction }}
</div>
<div id="badgeAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->badgeAction }}
</div>
<div id="dangerAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->dangerAction }}
</div>
<div id="dangerAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->dangerAction }}
</div>
<div id="largeAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->largeAction }}
</div>
<div id="largeAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->largeAction }}
</div>
<div id="iconAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->iconAction }}
</div>
<div id="iconAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->iconAction }}
</div>
<div id="iconAfterAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->iconAfterAction }}
</div>
<div id="iconAfterAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->iconAfterAction }}
</div>
<div id="badgedAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->badgedAction }}
</div>
<div id="badgedAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->badgedAction }}
</div>
<div id="successBadgedAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->successBadgedAction }}
</div>
<div id="successBadgedAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->successBadgedAction }}
</div>
<div id="outlinedAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->outlinedAction }}
</div>
<div id="outlinedAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->outlinedAction }}
</div>
<div id="confirmationModalAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->confirmationModalAction }}
</div>
<div id="confirmationModalAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->confirmationModalAction }}
</div>
<div id="confirmationModalCustomTextAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->confirmationModalCustomTextAction }}
</div>
<div id="confirmationModalCustomTextAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->confirmationModalCustomTextAction }}
</div>
<div id="modalIconAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->modalIconAction }}
</div>
<div id="modalIconAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->modalIconAction }}
</div>
<div id="modalFormAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->modalFormAction }}
</div>
<div id="modalFormAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->modalFormAction }}
</div>
<div id="wizardAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->wizardAction }}
</div>
<div id="wizardAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->wizardAction }}
</div>
<div id="slideOverAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->slideOverAction }}
</div>
<div id="slideOverAction" class="p-16 flex items-center justify-center max-w-xl">
{{ $this->slideOverAction }}
</div>
<div id="actionGroup" class="pr-40 pt-8 pb-40 flex items-center justify-center max-w-xl">
<x-filament-actions::group :actions="[
<div id="actionGroup" class="pr-40 pt-8 pb-40 flex items-center justify-center max-w-xl">
<x-filament-actions::group :actions="[
Action::make('view'),
Action::make('edit'),
Action::make('delete'),
]"/>
</div>
<div id="customizedActionGroup" class="pr-24 pt-8 pb-40 flex items-center justify-center max-w-xl">
<x-filament-actions::group
:actions="[
Action::make('view'),
Action::make('edit'),
Action::make('delete'),
]"/>
</div>
]"
label="More actions"
:icon="Heroicon::EllipsisVertical"
size="sm"
color="primary"
button
/>
</div>
<div id="customizedActionGroup" class="pr-24 pt-8 pb-40 flex items-center justify-center max-w-xl">
<x-filament-actions::group
:actions="[
<div id="actionButtonGroup" class="p-16 flex items-center justify-center max-w-xl">
{{ ActionGroup::make([
Action::make('edit')
->color('gray')
->icon(Heroicon::PencilSquare)
->hiddenLabel(),
Action::make('delete')
->color('gray')
->icon(Heroicon::Trash)
->hiddenLabel(),
])->buttonGroup() }}
</div>
<div id="actionGroupPlacement" class="pr-40 pb-8 pt-40 flex items-center justify-center max-w-xl">
<x-filament-actions::group
:actions="[
Action::make('view'),
Action::make('edit'),
Action::make('delete'),
]"
dropdown-placement="top-start"
/>
</div>
<div id="nestedActionGroups" class="pr-40 pt-8 pb-40 flex items-center justify-center max-w-xl">
<x-filament-actions::group
:actions="[
ActionGroup::make([
Action::make('view'),
Action::make('edit'),
Action::make('delete'),
]"
label="More actions"
:icon="Heroicon::EllipsisVertical"
size="sm"
color="primary"
button
/>
</div>
<div id="actionButtonGroup" class="p-16 flex items-center justify-center max-w-xl">
{{ ActionGroup::make([
Action::make('edit')
->color('gray')
->icon(Heroicon::PencilSquare)
->hiddenLabel(),
Action::make('delete')
->color('gray')
->icon(Heroicon::Trash)
->hiddenLabel(),
])->buttonGroup() }}
</div>
<div id="actionGroupPlacement" class="pr-40 pb-8 pt-40 flex items-center justify-center max-w-xl">
<x-filament-actions::group
:actions="[
Action::make('view'),
Action::make('edit'),
Action::make('delete'),
]"
dropdown-placement="top-start"
/>
</div>
<div id="nestedActionGroups" class="pr-40 pt-8 pb-40 flex items-center justify-center max-w-xl">
<x-filament-actions::group
:actions="[
ActionGroup::make([
Action::make('view'),
Action::make('edit'),
])->dropdown(false),
Action::make('delete'),
]"
/>
</div>
@endif
])->dropdown(false),
Action::make('delete'),
]"
/>
</div>
<div id="modal">
<x-filament-actions::modals/>
</div>
<style>
.fi-modal-close-overlay {
background-color: rgb(129, 129, 129);
}
@media (prefers-color-scheme: dark) {
.fi-modal-close-overlay {
background-color: rgb(9, 9, 11);
}
}
</style>
</div>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.9 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.9 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB