RED-3800: Moved color-picker icon to common-ui

This commit is contained in:
Adina Țeudan 2024-04-07 21:33:03 +03:00
parent 6e5eb1d91a
commit 80fe8e50aa
8 changed files with 7 additions and 23 deletions

View File

@ -21,7 +21,7 @@
>
<mat-icon
*ngIf="!form.get('color').value || form.get('color').value?.length === 0"
svgIcon="red:color-picker"
svgIcon="iqser:color-picker"
></mat-icon>
</div>
</div>

View File

@ -1,5 +1,5 @@
<section class="dialog">
<div [innerHTML]="'add-edit-dossier-state.title' | translate : titleTranslateParams" class="dialog-header heading-l"></div>
<div [innerHTML]="'add-edit-dossier-state.title' | translate: titleTranslateParams" class="dialog-header heading-l"></div>
<form [formGroup]="form">
<div class="dialog-content">
@ -37,7 +37,7 @@
>
<mat-icon
*ngIf="!form.get('color').value || form.get('color').value?.length === 0"
svgIcon="red:color-picker"
svgIcon="iqser:color-picker"
></mat-icon>
</div>
</div>

View File

@ -121,7 +121,7 @@
>
<mat-icon
*ngIf="!form.controls.hexColor?.value || form.controls.hexColor.value?.length === 0"
svgIcon="red:color-picker"
svgIcon="iqser:color-picker"
></mat-icon>
</div>
</div>

View File

@ -33,7 +33,6 @@ export class IconsModule {
'assign-me',
'attribute',
'case-sensitive',
'color-picker',
'comment',
'comment-fill',
'convert',

View File

@ -30,7 +30,7 @@
[style.cursor]="cpDisabled(color) ? 'default' : 'pointer'"
class="input-icon"
>
<mat-icon *ngIf="color.hasColor$ | async" svgIcon="red:color-picker"></mat-icon>
<mat-icon *ngIf="color.hasColor$ | async" svgIcon="iqser:color-picker"></mat-icon>
</div>
</div>
</div>

View File

@ -42,7 +42,7 @@
>
<mat-icon
*ngIf="!form.controls.redactionPreviewColor.value || form.controls.redactionPreviewColor.value?.length === 0"
svgIcon="red:color-picker"
svgIcon="iqser:color-picker"
></mat-icon>
</div>
</div>

View File

@ -1,15 +0,0 @@
<svg id="Capa_1" style="enable-background:new 0 0 464.736 464.736;" viewBox="0 0 464.736 464.736"
x="0px"
xml:space="preserve" xmlns="http://www.w3.org/2000/svg" y="0px">
<g>
<path d="M446.598,18.143c-24.183-24.184-63.393-24.191-87.592-0.008l-16.717,16.717c-8.98-8.979-23.525-8.979-32.504,0
c-8.981,8.972-8.981,23.533,0,32.505l5.416,5.419L134.613,253.377h-0.016l-62.685,62.691c-4.982,4.982-7.919,11.646-8.235,18.684
l-0.15,3.344c0,0.016,0,0.03,0,0.046l-2.529,56.704c-0.104,2.633,0.883,5.185,2.739,7.048c1.751,1.759,4.145,2.738,6.63,2.738
c0.135,0,0.269,0,0.42-0.008l30.064-1.331h0.016l18.318-0.815l8.318-0.366c9.203-0.412,17.944-4.259,24.469-10.776l240.898-240.891
l4.506,4.505c4.49,4.488,10.372,6.733,16.252,6.733c5.881,0,11.764-2.245,16.253-6.733c8.98-8.973,8.98-23.534,0-32.505
l16.716-16.718C470.782,81.544,470.782,42.334,446.598,18.143z M272.639,227.33l-84.6,15.96l137.998-138.004l34.332,34.316
L272.639,227.33z" fill="currentColor" />
<path d="M64.5,423.872c-35.617,0-64.5,9.145-64.5,20.435c0,11.284,28.883,20.428,64.5,20.428s64.486-9.143,64.486-20.428
C128.986,433.016,100.117,423.872,64.5,423.872z" fill="currentColor" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

@ -1 +1 @@
Subproject commit c12b6f4d35d646c7b9b6e9b8ef6559457f05be15
Subproject commit 8a2033740ec93fd8c91e80f94d67e1b662bff121