[ACS-7973] [ACC] header layout (#9782)

This commit is contained in:
dominikiwanekhyland
2024-06-06 17:27:54 +02:00
committed by VitoAlbano
parent 671c750af0
commit 7aae8bcf87
4 changed files with 24 additions and 16 deletions

View File

@@ -11,6 +11,7 @@
<mat-icon [attr.aria-label]="'SEARCH.BUTTON.ARIA-LABEL' | translate">search</mat-icon>
</button>
<mat-form-field class="adf-input-form-field-divider" [hintLabel]="hintLabel">
<mat-label *ngIf='label'>{{label}}</mat-label>
<input matInput
#searchInput
[attr.aria-label]="'SEARCH.INPUT.ARIA-LABEL' | translate"

View File

@@ -99,6 +99,11 @@ export class SearchTextInputComponent implements OnInit, OnDestroy {
@Input()
placeholder: string = '';
/** Label text to show over the input field */
@Input()
label: string = '';
/** Hint label */
@Input()
hintLabel = '';

View File

@@ -1,6 +1,7 @@
$material-icons: '.material-icons';
$mat-icon: '.mat-icon';
$mat-icon-button: '.mat-mdc-icon-button';
$mat-icon-button-hover: '.mdc-icon-button__ripple';
$mat-accent: '.mat-accent';
$mat-focused: '.mat-focused';
$mat-line: '.mat-line';