diff options
Diffstat (limited to 'vid-webpack-master/src/app/shared/components/customModal')
3 files changed, 7 insertions, 7 deletions
diff --git a/vid-webpack-master/src/app/shared/components/customModal/components/modalButton/modal-button.component.html b/vid-webpack-master/src/app/shared/components/customModal/components/modalButton/modal-button.component.html index 753a3923b..a50522a67 100644 --- a/vid-webpack-master/src/app/shared/components/customModal/components/modalButton/modal-button.component.html +++ b/vid-webpack-master/src/app/shared/components/customModal/components/modalButton/modal-button.component.html @@ -2,15 +2,15 @@ <button class="custom-button sdc-button__{{ type }} btn-{{ size }} {{ iconPositionClass }}" [disabled]="disabled || show_spinner" [attr.data-tests-id]="testId"> - <svg-icon + <custom-icon *ngIf="icon_name" [name]="icon_name" [mode]="icon_mode" [size]="'medium'" > - </svg-icon> + </custom-icon> {{text}} </button> - <svg-icon *ngIf="show_spinner" name="spinner" [size]="'medium'" class="sdc-button__spinner" - [ngClass]="{left: spinner_position === placement.right}"></svg-icon> + <custom-icon *ngIf="show_spinner" name="spinner" [size]="'medium'" class="sdc-button__spinner" + [ngClass]="{left: spinner_position === placement.right}"></custom-icon> </div> diff --git a/vid-webpack-master/src/app/shared/components/customModal/components/modalCloseButton/modal-close-button.component.ts b/vid-webpack-master/src/app/shared/components/customModal/components/modalCloseButton/modal-close-button.component.ts index a3e741a32..9528f778d 100644 --- a/vid-webpack-master/src/app/shared/components/customModal/components/modalCloseButton/modal-close-button.component.ts +++ b/vid-webpack-master/src/app/shared/components/customModal/components/modalCloseButton/modal-close-button.component.ts @@ -14,7 +14,7 @@ import {RippleAnimationAction} from "../../directives/ripple-click.animation.dir [attr.data-tests-id]="testId" (click)="!disabled && closeModal('close')" > - <svg-icon name="close" [mode]="disabled? 'secondary' : 'info'" size="small"></svg-icon> + <custom-icon name="close" [mode]="disabled? 'secondary' : 'info'" size="small"></custom-icon> </div> ` }) diff --git a/vid-webpack-master/src/app/shared/components/customModal/modal.component.html b/vid-webpack-master/src/app/shared/components/customModal/modal.component.html index 11455bc32..059eb8a3f 100644 --- a/vid-webpack-master/src/app/shared/components/customModal/modal.component.html +++ b/vid-webpack-master/src/app/shared/components/customModal/modal.component.html @@ -8,12 +8,12 @@ <div *ngIf="title" class="title" > {{ title }} - <svg-icon + <custom-icon *ngIf="titleIcon" [name]="titleIcon.iconName" [mode]="titleIcon.iconMode" [size]="titleIcon.iconSize"> - </svg-icon> + </custom-icon> </div> <sdc-modal-close-button #modalCloseButton [testId]="'close' | calculateTestId : testId" [modalInstanceRef]="instanceRef"></sdc-modal-close-button> </div> |