feat: add search input type with icon support and update styles

This commit is contained in:
2026-06-26 09:56:09 -03:00
parent a0c35c76a7
commit 455b7c8506
5 changed files with 27 additions and 1 deletions

View File

@@ -32,6 +32,12 @@
[attr.accept]="type() === 'file' ? accept() : null"
/>
@if (type() === 'search') {
<span class="input-search-icon" aria-hidden="true">
<i class="fa-solid fa-magnifying-glass"></i>
</span>
}
@if (type() === 'file') {
<span class="input-file-name" [class.input-file-name-empty]="!resolvedFileName()">
{{ resolvedFileName() || 'Sin archivo...' }}