class([
'relative w-full cursor-pointer pointer-events-none',
'my-auto p-4' => ! $slideOver,
]) }}
>
$darkMode,
'relative' => $width !== 'screen',
'h-screen overflow-y-auto ml-auto mr-0 rtl:mr-auto rtl:ml-0' => $slideOver,
'rounded-xl mx-auto' => ! ($slideOver || ($width === 'screen')),
'hidden' => ! $visible,
'max-w-xs' => $width === 'xs',
'max-w-sm' => $width === 'sm',
'max-w-md' => $width === 'md',
'max-w-lg' => $width === 'lg',
'max-w-xl' => $width === 'xl',
'max-w-2xl' => $width === '2xl',
'max-w-3xl' => $width === '3xl',
'max-w-4xl' => $width === '4xl',
'max-w-5xl' => $width === '5xl',
'max-w-6xl' => $width === '6xl',
'max-w-7xl' => $width === '7xl',
'fixed inset-0' => $width === 'screen',
])
>
@if ($closeButton)
@endif
($width === 'screen') || $slideOver,
])
>
@if ($header)
@endif
@if ($header && ($actions || $heading || $slot->isNotEmpty() || $subheading))
@endif
($width === 'screen') || $slideOver,
])
>
@if ($heading || $subheading)
! $slideOver,
'dark:text-white' => $darkMode,
])>
@if ($heading)
{{ $heading }}
@endif
@if ($subheading)
{{ $subheading }}
@endif
@endif
@if ($slot->isNotEmpty())
{{ $slot }}
@endif
{{ $actions }}
@if ($footer && ($actions || $heading || $slot->isNotEmpty() || $subheading))
@endif
@if ($footer)
@endif