pianello-api/resources/views/components/base/menu/items.blade.php
Ale Gallo 96c0bfb8ce Committing laravel (part 5)
committing blade templating files and components that might come in handy
2023-11-10 16:41:20 +01:00

17 lines
767 B
PHP

<x-base.transition
class="dropdown-menu absolute z-[9999] hidden"
selector=".show"
enter="transition-all ease-linear duration-150"
enterFrom="absolute !mt-5 invisible opacity-0 translate-y-1"
enterTo="!mt-1 visible opacity-100 translate-y-0"
leave="transition-all ease-linear duration-150"
leaveFrom="!mt-1 visible opacity-100 translate-y-0"
leaveTo="absolute !mt-5 invisible opacity-0 translate-y-1"
>
<div
data-tw-merge
{{ $attributes->class(['dropdown-content rounded-md border-transparent bg-white p-2 shadow-[0px_3px_10px_#00000017] dark:border-transparent dark:bg-darkmode-600'])->merge($attributes->whereDoesntStartWith('class')->getAttributes()) }}
>
{{ $slot }}
</div>
</x-base.transition>