40 lines
1.4 KiB
HTML
40 lines
1.4 KiB
HTML
|
|
<span class="mat-mdc-chip-focus-overlay"></span>
|
||
|
|
|
||
|
|
<span class="mdc-evolution-chip__cell mdc-evolution-chip__cell--primary">
|
||
|
|
<button
|
||
|
|
matChipAction
|
||
|
|
[_allowFocusWhenDisabled]="true"
|
||
|
|
[attr.aria-selected]="ariaSelected"
|
||
|
|
[attr.aria-label]="ariaLabel"
|
||
|
|
[attr.aria-describedby]="_ariaDescriptionId"
|
||
|
|
role="option">
|
||
|
|
@if (_hasLeadingGraphic()) {
|
||
|
|
<span class="mdc-evolution-chip__graphic mat-mdc-chip-graphic">
|
||
|
|
<ng-content select="mat-chip-avatar, [matChipAvatar]"></ng-content>
|
||
|
|
<span class="mdc-evolution-chip__checkmark">
|
||
|
|
<svg
|
||
|
|
class="mdc-evolution-chip__checkmark-svg"
|
||
|
|
viewBox="-2 -3 30 30"
|
||
|
|
focusable="false"
|
||
|
|
aria-hidden="true">
|
||
|
|
<path class="mdc-evolution-chip__checkmark-path"
|
||
|
|
fill="none" stroke="currentColor" d="M1.73,12.91 8.1,19.28 22.79,4.59" />
|
||
|
|
</svg>
|
||
|
|
</span>
|
||
|
|
</span>
|
||
|
|
}
|
||
|
|
<span class="mdc-evolution-chip__text-label mat-mdc-chip-action-label">
|
||
|
|
<ng-content></ng-content>
|
||
|
|
<span class="mat-mdc-chip-primary-focus-indicator mat-focus-indicator"></span>
|
||
|
|
</span>
|
||
|
|
</button>
|
||
|
|
</span>
|
||
|
|
|
||
|
|
@if (_hasTrailingIcon()) {
|
||
|
|
<span class="mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing">
|
||
|
|
<ng-content select="mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"></ng-content>
|
||
|
|
</span>
|
||
|
|
}
|
||
|
|
|
||
|
|
<span class="cdk-visually-hidden" [id]="_ariaDescriptionId">{{ariaDescription}}</span>
|