mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-01-28 07:43:18 +00:00
🎨 Add new Flux icons: implement multiple reusable icon components (e.g., hand-raised, hand-thumb-up, heart, hashtag, home) with variant support for improved UI consistency.
This commit is contained in:
21
resources/views/flux/otp/input.blade.php
Normal file
21
resources/views/flux/otp/input.blade.php
Normal file
@@ -0,0 +1,21 @@
|
||||
@aware(['mode' => 'numeric', 'private' => false])
|
||||
|
||||
@php
|
||||
$attributes = $attributes
|
||||
->merge([
|
||||
'class' => 'w-8! grow-0 has-focus-within:z-10',
|
||||
'class:input' => 'px-0! py-3 text-center disabled:opacity-75 disabled:shadow-xs! dark:disabled:shadow-none!',
|
||||
])
|
||||
->merge(['data-flux-otp-input' => ''])
|
||||
;
|
||||
|
||||
if ($mode == 'numeric') {
|
||||
$attributes = $attributes->merge(['inputmode' => 'numeric']);
|
||||
}
|
||||
|
||||
if ($private) {
|
||||
$attributes = $attributes->merge(['type' => 'password']);
|
||||
}
|
||||
@endphp
|
||||
|
||||
<flux:input {{ $attributes }} />
|
||||
Reference in New Issue
Block a user