mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
add webln test page
This commit is contained in:
38
resources/views/vendor/wireui/components/dropdown.blade.php
vendored
Normal file
38
resources/views/vendor/wireui/components/dropdown.blade.php
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
<div class="relative inline-block text-left"
|
||||
x-data="wireui_dropdown"
|
||||
x-on:click.outside="close"
|
||||
x-on:keydown.escape.window="close"
|
||||
{{ $attributes->only('wire:key') }}>
|
||||
<div class="cursor-pointer focus:outline-none" x-on:click="toggle">
|
||||
@if (isset($trigger))
|
||||
{{ $trigger }}
|
||||
@else
|
||||
<x-dynamic-component
|
||||
:component="WireUi::component('icon')"
|
||||
class="w-4 h-4 text-secondary-500 hover:text-secondary-700
|
||||
dark:hover:text-secondary-600 transition duration-150 ease-in-out"
|
||||
name="dots-vertical"
|
||||
/>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div x-show="status"
|
||||
x-transition:enter="transition ease-out duration-200"
|
||||
x-transition:enter-start="opacity-0 scale-95"
|
||||
x-transition:enter-end="opacity-100 scale-100"
|
||||
x-transition:leave="transition ease-in duration-75"
|
||||
x-transition:leave-start="opacity-100 scale-100"
|
||||
x-transition:leave-end="opacity-0 scale-95"
|
||||
{{ $attributes->except('wire:key')->class([
|
||||
$getAlign(),
|
||||
$width,
|
||||
'z-30 absolute mt-2 whitespace-nowrap'
|
||||
]) }}
|
||||
style="display: none;"
|
||||
@unless($persistent) x-on:click="close" @endunless>
|
||||
<div class="relative {{ $height }} soft-scrollbar overflow-auto border border-secondary-200
|
||||
rounded-lg shadow-lg p-1 bg-white dark:bg-secondary-800 dark:border-secondary-600">
|
||||
{{ $slot }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user