summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/components/customModal
diff options
context:
space:
mode:
authorYoav Schneiderman <yoav.schneiderman@intl.att.com>2020-01-15 15:32:10 +0200
committerEylon Malin <eylon.malin@intl.att.com>2020-01-20 13:16:47 +0000
commit3279721d72b3e5adadf5431c58383e71f6b080d7 (patch)
tree3b5fa47ab6a959dc66db1309d7a7308ab147a6b5 /vid-webpack-master/src/app/shared/components/customModal
parentdfcca5853eacb0e0d3bdd6370c724503c34194be (diff)
Move onap UI loader and icons to VID
Issue-ID: VID-748 Change-Id: If79180e55651ad29bd2771a35855209419d1a0f5 Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com>
Diffstat (limited to 'vid-webpack-master/src/app/shared/components/customModal')
-rw-r--r--vid-webpack-master/src/app/shared/components/customModal/components/modalButton/modal-button.component.html8
-rw-r--r--vid-webpack-master/src/app/shared/components/customModal/components/modalCloseButton/modal-close-button.component.ts2
-rw-r--r--vid-webpack-master/src/app/shared/components/customModal/modal.component.html4
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>