[Library | Trunk]: Add new icons on preview

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60720 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2021-03-24 13:11:27 +00:00
parent 7db2889aaa
commit e741323577
3 changed files with 9 additions and 5 deletions

View File

@ -106,6 +106,10 @@ import {Component} from "@angular/core";
<icon name="photo"></icon>
<div class="uk-text-bold uk-margin-small-top">photo</div>
</div>
<div class="uk-text-center">
<icon name="check_circle_outlined"></icon>
<div class="uk-text-bold uk-margin-small-top">check_circle_outlined</div>
</div>
</div>
<div class="uk-margin-medium-top">
<h4 class="uk-text-bold">Usage</h4>

View File

@ -10,7 +10,7 @@ import {
arrow_left,
arrow_right,
arrow_up,
book, bullet, close, cloud_upload,
book, bullet, check_circle_outlined, close, cloud_upload,
cog,
database, done,
earth,
@ -30,7 +30,7 @@ export class IconsPreviewModule {
constructor(private iconsService: IconsService) {
this.iconsService.registerIcons([arrow_left, arrow_right, arrow_up, arrow_down, book, database, cog, earth, edit,
remove, preview, bullet, remove_circle, remove_circle_outline, person_add, cloud_upload, add, group, lock, search,
refresh, close, done, mail, photo
refresh, close, done, mail, photo, check_circle_outlined
])
}
}

View File

@ -128,8 +128,8 @@ export const photo = {
}
export const check_circle_outlined = {
name: 'check_circle_outlined',
data: '<svg xmlns="http://www.w3.org/2000/svg" height="20" viewBox="0 0 24 24" width="20"><path d="M0 0h24v24H0V0zm0 0h24v24H0V0z" fill="none"/><path d="M16.59 7.58L10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/></svg>'
}
name: 'check_circle_outlined',
data: '<svg xmlns="http://www.w3.org/2000/svg" height="20" viewBox="0 0 24 24" width="20"><path d="M0 0h24v24H0V0zm0 0h24v24H0V0z" fill="none"/><path d="M16.59 7.58L10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/></svg>'
}
/** Add new icon under this line to be sure that it will be added on preview */