@php use Filament\Support\Facades\FilamentView; $isDisabled = $isDisabled(); $isLiveOnBlur = $isLiveOnBlur(); $isLiveDebounced = $isLiveDebounced(); $isPrefixInline = $isPrefixInline(); $isSuffixInline = $isSuffixInline(); $prefixActions = $getPrefixActions(); $prefixIcon = $getPrefixIcon(); $prefixLabel = $getPrefixLabel(); $suffixActions = $getSuffixActions(); $suffixIcon = $getSuffixIcon(); $suffixLabel = $getSuffixLabel(); $statePath = $getStatePath(); @endphp
class(['flex']) }} >
@php $tag = match ($getFormat()) { 'hsl' => 'hsl-string', 'rgb' => 'rgb-string', 'rgba' => 'rgba-string', default => 'hex', } . '-color-picker'; @endphp <{{ $tag }} color="{{ $getState() }}" />