@props([ 'name' => '', 'label' => '', 'type' => 'date', 'placeholder' => 'Selecciona fecha', 'value' => null, 'variant' => 'primary', ]) @php $selected = old($name, $value); // Paleta por variante $palette = [ 'primary' => 'input-primary', 'secondary' => 'input-secondary', ][$variant] ?? ''; @endphp