@php $affixLabelClasses = [ 'whitespace-nowrap group-focus-within:text-primary-500', 'text-gray-400' => ! $errors->has($getStatePath()), 'text-danger-400' => $errors->has($getStatePath()), 'dark:text-danger-400' => $errors->has($getStatePath()) && config('forms.dark_mode'), ]; @endphp
merge($getExtraAttributes()) ->class(['filament-forms-color-picker-component group flex items-center space-x-1 rtl:space-x-reverse']) }} > @if (($prefixAction = $getPrefixAction()) && (! $prefixAction->isHidden())) {{ $prefixAction }} @endif @if ($icon = $getPrefixIcon()) @endif @if (filled($label = $getPrefixLabel())) {{ $label }} @endif
class(['relative flex-1']) }} > class([ 'filament-forms-input block w-full rounded-lg text-gray-900 shadow-sm outline-none transition duration-75 focus:border-primary-500 focus:ring-1 focus:ring-inset focus:ring-primary-500 disabled:opacity-70', 'dark:bg-gray-700 dark:text-white dark:focus:border-primary-500' => config('forms.dark_mode'), 'border-gray-300' => ! $errors->has($getStatePath()), 'dark:border-gray-600' => (! $errors->has($getStatePath())) && config('forms.dark_mode'), 'border-danger-600 ring-danger-600' => $errors->has($getStatePath()), 'dark:border-danger-400 dark:ring-danger-400' => $errors->has($getStatePath()) && config('forms.dark_mode'), ]) }} />
@if (filled($label = $getSuffixLabel())) {{ $label }} @endif @if ($icon = $getSuffixIcon()) @endif @if (($suffixAction = $getSuffixAction()) && (! $suffixAction->isHidden())) {{ $suffixAction }} @endif