diff --git a/projects/portal/docs/processors/helpers/file-writer.js b/projects/portal/docs/processors/helpers/file-writer.js index 0945c89bc..7366f6c87 100644 --- a/projects/portal/docs/processors/helpers/file-writer.js +++ b/projects/portal/docs/processors/helpers/file-writer.js @@ -119,12 +119,12 @@ import { Component } from '@angular/core'; export class Sample{{component}}ViewComponent { hideSampleCodeTabs = true; sampleCodeButtonLabel = 'Talk is cheap, show me the code!'; - sampleCodeButtonIcon = 'ph ph-plus'; + sampleCodeButtonIcon = 'an an-plus'; toggleSampleCodeTabs() { this.hideSampleCodeTabs = !this.hideSampleCodeTabs; this.sampleCodeButtonLabel = this.hideSampleCodeTabs ? 'Talk is cheap, show me the code!' : 'Okay, hide the code'; - this.sampleCodeButtonIcon = this.hideSampleCodeTabs ? 'ph ph-plus' : 'ph ph-minus'; + this.sampleCodeButtonIcon = this.hideSampleCodeTabs ? 'an an-plus' : 'an an-minus'; } } `; @@ -206,7 +206,7 @@ export class Doc{{component}}Component implements OnInit, OnDestroy { activeTab = 'doc'; actions: Array<{}> = [ - { label: 'Documentação', action: this.goBack.bind(this), icon: 'ph ph-file-text' }, + { label: 'Documentação', action: this.goBack.bind(this), icon: 'an an-file-text' }, { label: 'Colabore', action: this.improveDocs.bind(this) }, ]; diff --git a/projects/portal/src/app/app.component.ts b/projects/portal/src/app/app.component.ts index ed1377b42..c43ba0f40 100644 --- a/projects/portal/src/app/app.component.ts +++ b/projects/portal/src/app/app.component.ts @@ -91,11 +91,11 @@ export class AppComponent implements OnInit, OnDestroy { get actions() { return [ - { icon: 'ph ph-github-logo', link: 'https://github.com/po-ui', label: 'Github' }, - { icon: 'ph ph-x-logo', link: 'https://twitter.com/@pouidev', label: 'Twitter' }, - { icon: 'ph ph-instagram-logo', link: 'https://www.instagram.com/pouidev/', label: 'Instagram' }, + { icon: 'an an-github-logo', link: 'https://github.com/po-ui', label: 'Github' }, + { icon: 'an an-x-logo', link: 'https://twitter.com/@pouidev', label: 'Twitter' }, + { icon: 'an an-instagram-logo', link: 'https://www.instagram.com/pouidev/', label: 'Instagram' }, { - icon: `${this.themeStorage === 'po-theme-dark' ? 'ph ph-sun' : 'ph ph-moon'}`, + icon: `${this.themeStorage === 'po-theme-dark' ? 'an an-sun' : 'an an-moon'}`, label: 'tema', action: this.changeTheme.bind(this) } diff --git a/projects/portal/src/app/icons/icons.component.html b/projects/portal/src/app/icons/icons.component.html index 3c264cdbc..3ace7b7f4 100644 --- a/projects/portal/src/app/icons/icons.component.html +++ b/projects/portal/src/app/icons/icons.component.html @@ -60,14 +60,14 @@

Como Usar?

-
<po-input p-icon="ph ph-user" p-label="PO input"></po-input>
+
<po-input p-icon="an an-user" p-label="PO input"></po-input>

Outra opção seria a customização do ícone através do TemplateRef, conforme exemplo abaixo:

<po-input [p-icon]="template" p-label="input template"></po-input>\n
 ...
 <ng-template #template>
-  <i class="ph ph-arrow-fat-line-down"></i>
+  <i class="an an-arrow-fat-line-down"></i>
 </ng-template>
@@ -99,7 +99,7 @@

Como Usar?

-
+
diff --git a/projects/portal/src/app/icons/icons.component.ts b/projects/portal/src/app/icons/icons.component.ts index f5203447f..4714c584c 100644 --- a/projects/portal/src/app/icons/icons.component.ts +++ b/projects/portal/src/app/icons/icons.component.ts @@ -51,7 +51,7 @@ export class IconsComponent { return { value: _iconName, tags: _iconTags, - code: `ph${isFill ? '-fill' : ''} ph-${_iconName}` + code: `an${isFill ? '-fill' : ''} an-${_iconName}` }; }); diff --git a/projects/templates/src/lib/components/po-page-change-password/po-page-change-password.component.spec.ts b/projects/templates/src/lib/components/po-page-change-password/po-page-change-password.component.spec.ts index 5c225e5bf..3619f7282 100644 --- a/projects/templates/src/lib/components/po-page-change-password/po-page-change-password.component.spec.ts +++ b/projects/templates/src/lib/components/po-page-change-password/po-page-change-password.component.spec.ts @@ -659,8 +659,8 @@ describe('PoPageChangePasswordComponent:', () => { component.requirements = requirements; fixture.detectChanges(); - expect(nativeElement.querySelector('.ph-check.po-page-change-password-required-ok')).toBeTruthy(); - expect(nativeElement.querySelector('.ph-minus po-page-change-password-required-minus')).toBeFalsy(); + expect(nativeElement.querySelector('.an-check.po-page-change-password-required-ok')).toBeTruthy(); + expect(nativeElement.querySelector('.an-minus po-page-change-password-required-minus')).toBeFalsy(); }); it('should add a `po-icon-minus` for a requirement with false status', () => { @@ -668,8 +668,8 @@ describe('PoPageChangePasswordComponent:', () => { component.requirements = requirements; fixture.detectChanges(); - expect(nativeElement.querySelector('.ph-minus.po-page-change-password-required-minus')).toBeTruthy(); - expect(nativeElement.querySelector('.ph-check.po-page-change-password-required-ok')).toBeFalsy(); + expect(nativeElement.querySelector('.an-minus.po-page-change-password-required-minus')).toBeTruthy(); + expect(nativeElement.querySelector('.an-check.po-page-change-password-required-ok')).toBeFalsy(); }); it('should add requirement text', () => { diff --git a/projects/templates/src/lib/components/po-page-dynamic-search/samples/sample-po-page-dynamic-search-hiring-processes/sample-po-page-dynamic-search-hiring-processes.component.ts b/projects/templates/src/lib/components/po-page-dynamic-search/samples/sample-po-page-dynamic-search-hiring-processes/sample-po-page-dynamic-search-hiring-processes.component.ts index cfafc4186..61a33e21c 100644 --- a/projects/templates/src/lib/components/po-page-dynamic-search/samples/sample-po-page-dynamic-search-hiring-processes/sample-po-page-dynamic-search-hiring-processes.component.ts +++ b/projects/templates/src/lib/components/po-page-dynamic-search/samples/sample-po-page-dynamic-search-hiring-processes/sample-po-page-dynamic-search-hiring-processes.component.ts @@ -34,25 +34,25 @@ export class SamplePoPageDynamicSearchHiringProcessesComponent implements OnInit label: 'Hide Remove All Disclaimer', action: this.onClickRemoveAllDisclaimer.bind(this), visible: this.isVisibleRemoveAllDisclaimer.bind(this), - icon: 'ph ph-eye-closed' + icon: 'an an-eye-closed' }, { label: 'Show Remove All Disclaimer', action: this.onClickRemoveAllDisclaimer.bind(this), visible: this.isHideRemoveAllDisclaimer.bind(this), - icon: 'ph ph-eye-on' + icon: 'an an-eye-on' }, { label: 'Hide Close City Disclaimer', action: this.onClickCloseCityDisclaimer.bind(this), visible: this.isVisibleCloseCityDisclaimer.bind(this), - icon: 'ph ph-eye-closed' + icon: 'an an-eye-closed' }, { label: 'Show Close City Disclaimer', action: this.onClickCloseCityDisclaimer.bind(this), visible: this.isHideCloseCityDisclaimer.bind(this), - icon: 'ph ph-eye-on' + icon: 'an an-eye-on' } ]; diff --git a/projects/templates/src/lib/components/po-page-dynamic-table/interfaces/po-page-dynamic-table-custom-action.interface.ts b/projects/templates/src/lib/components/po-page-dynamic-table/interfaces/po-page-dynamic-table-custom-action.interface.ts index 4f685dcf6..ab295ca43 100644 --- a/projects/templates/src/lib/components/po-page-dynamic-table/interfaces/po-page-dynamic-table-custom-action.interface.ts +++ b/projects/templates/src/lib/components/po-page-dynamic-table/interfaces/po-page-dynamic-table-custom-action.interface.ts @@ -51,7 +51,7 @@ export interface PoPageDynamicTableCustomAction { * É possível usar qualquer um dos ícones da [Biblioteca de ícones](https://po-ui.io/icons). conforme exemplo abaixo: * ``` * + * [p-property]="[{ label: 'PHOSPHOR ICON', icon: 'an an-newspaper' }]"> * * ``` * diff --git a/projects/templates/src/lib/components/po-page-dynamic-table/interfaces/po-page-dynamic-table-custom-table-action.interface.ts b/projects/templates/src/lib/components/po-page-dynamic-table/interfaces/po-page-dynamic-table-custom-table-action.interface.ts index f809b21a6..b8060d8a6 100644 --- a/projects/templates/src/lib/components/po-page-dynamic-table/interfaces/po-page-dynamic-table-custom-table-action.interface.ts +++ b/projects/templates/src/lib/components/po-page-dynamic-table/interfaces/po-page-dynamic-table-custom-table-action.interface.ts @@ -60,7 +60,7 @@ export interface PoPageDynamicTableCustomTableAction { * É possível usar qualquer um dos ícones da [Biblioteca de ícones](https://po-ui.io/icons). conforme exemplo abaixo: * ``` * + * [p-property]="[{ label: 'PHOSPHOR ICON', icon: 'an an-newspaper' }]"> * * ``` * diff --git a/projects/templates/src/lib/components/po-page-dynamic-table/po-page-dynamic-table.component.ts b/projects/templates/src/lib/components/po-page-dynamic-table/po-page-dynamic-table.component.ts index 6c13e0d6d..190e4c2ae 100644 --- a/projects/templates/src/lib/components/po-page-dynamic-table/po-page-dynamic-table.component.ts +++ b/projects/templates/src/lib/components/po-page-dynamic-table/po-page-dynamic-table.component.ts @@ -727,7 +727,7 @@ export class PoPageDynamicTableComponent extends PoPageDynamicListBaseComponent * { * label: 'Update', * action: this.updateTable.bind(this), - * icon: 'ph-arrows-clockwise' + * icon: 'an-arrows-clockwise' * }] * * updateTable() { diff --git a/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-hotels/sample-po-page-dynamic-table-hotels.component.ts b/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-hotels/sample-po-page-dynamic-table-hotels.component.ts index 055080434..7729c75f0 100644 --- a/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-hotels/sample-po-page-dynamic-table-hotels.component.ts +++ b/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-hotels/sample-po-page-dynamic-table-hotels.component.ts @@ -95,25 +95,25 @@ export class SamplePoPageDynamicTableHotelsComponent { label: 'Hide Remove All Disclaimer', action: this.onClickRemoveAllDisclaimer.bind(this), visible: this.isVisibleRemoveAllDisclaimer.bind(this), - icon: 'ph ph-eye-closed' + icon: 'an an-eye-closed' }, { label: 'Show Remove All Disclaimer', action: this.onClickRemoveAllDisclaimer.bind(this), visible: this.isHideRemoveAllDisclaimer.bind(this), - icon: 'ph ph-eye' + icon: 'an an-eye' }, { label: 'Hide Close City Disclaimer', action: this.onClickCloseCityDisclaimer.bind(this), visible: this.isVisibleCloseCityDisclaimer.bind(this), - icon: 'ph ph-eye-closed' + icon: 'an an-eye-closed' }, { label: 'Show Close City Disclaimer', action: this.onClickCloseCityDisclaimer.bind(this), visible: this.isHideCloseCityDisclaimer.bind(this), - icon: 'ph ph-eye' + icon: 'an an-eye' } ]; @@ -121,7 +121,7 @@ export class SamplePoPageDynamicTableHotelsComponent { { label: 'Details', action: this.onClickHotelDetail.bind(this), - icon: 'ph ph-user' + icon: 'an an-user' } ]; diff --git a/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-users/sample-po-page-dynamic-table-users.component.ts b/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-users/sample-po-page-dynamic-table-users.component.ts index 15e9e8d4f..644808e12 100644 --- a/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-users/sample-po-page-dynamic-table-users.component.ts +++ b/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-users/sample-po-page-dynamic-table-users.component.ts @@ -81,27 +81,27 @@ export class SamplePoPageDynamicTableUsersComponent implements OnInit { label: 'Actions Right', action: this.onClickActionsSide.bind(this), visible: this.isVisibleActionsRight.bind(this), - icon: 'ph ph-caret-right' + icon: 'an an-caret-right' }, { label: 'Actions Left', action: this.onClickActionsSide.bind(this), visible: this.isVisibleActionsLeft.bind(this), - icon: 'ph ph-caret-left' + icon: 'an an-caret-left' }, { label: 'Fixed Filter', action: this.onClickFixedFilter.bind(this), visible: this.isVisibleFixedFilter.bind(this), - icon: 'ph ph-lock' + icon: 'an an-lock' }, { label: 'Not Fixed Filter', action: this.onClickFixedFilter.bind(this), visible: this.isVisibleNotFixedFilter.bind(this), - icon: 'ph ph-lock-open' + icon: 'an an-lock-open' }, - { label: 'Print', action: this.printPage.bind(this), icon: 'ph ph-printer' } + { label: 'Print', action: this.printPage.bind(this), icon: 'an an-printer' } ]; tableCustomActions: Array = [ @@ -109,13 +109,13 @@ export class SamplePoPageDynamicTableUsersComponent implements OnInit { label: 'Details', action: this.onClickUserDetail.bind(this), disabled: this.isUserInactive.bind(this), - icon: 'ph ph-user' + icon: 'an an-user' }, { label: 'Dependents', action: this.onClickDependents.bind(this), visible: this.hasDependents.bind(this), - icon: 'ph ph-user' + icon: 'an an-user' } ]; @@ -127,7 +127,7 @@ export class SamplePoPageDynamicTableUsersComponent implements OnInit { { label: 'Download .csv', action: this.usersService.downloadCsv.bind(this.usersService, this.serviceApi), - icon: 'ph ph-download-simple' + icon: 'an an-download-simple' } ]; } diff --git a/projects/ui/src/lib/components/po-badge/po-badge-base.component.ts b/projects/ui/src/lib/components/po-badge/po-badge-base.component.ts index e420e1438..656d96898 100644 --- a/projects/ui/src/lib/components/po-badge/po-badge-base.component.ts +++ b/projects/ui/src/lib/components/po-badge/po-badge-base.component.ts @@ -90,7 +90,7 @@ export class PoBadgeBaseComponent { * ``` * É possível usar qualquer um dos ícones da [Biblioteca de ícones](https://po-ui.io/icons). conforme exemplo abaixo: * ``` - * + * * ``` * Também é possível utilizar outras fontes de ícones, por exemplo a biblioteca *Font Awesome*, da seguinte forma: * ``` diff --git a/projects/ui/src/lib/components/po-badge/samples/sample-po-badge-labs/sample-po-badge-labs.component.ts b/projects/ui/src/lib/components/po-badge/samples/sample-po-badge-labs/sample-po-badge-labs.component.ts index 1401752d6..d71a88ac8 100644 --- a/projects/ui/src/lib/components/po-badge/samples/sample-po-badge-labs/sample-po-badge-labs.component.ts +++ b/projects/ui/src/lib/components/po-badge/samples/sample-po-badge-labs/sample-po-badge-labs.component.ts @@ -18,9 +18,9 @@ export class SamplePoBadgeLabsComponent implements OnInit { propertiesOptions: Array = [{ value: 'showBorder', label: 'Show Border' }]; iconsOptions: Array = [ - { label: 'ph-check', value: 'ph ph-check' }, - { label: 'ph-check-circle', value: 'ph ph-check-circle' }, - { label: 'ph ph-check', value: 'ph ph-check' }, + { label: 'an-check', value: 'an an-check' }, + { label: 'an-check-circle', value: 'an an-check-circle' }, + { label: 'an an-check', value: 'an an-check' }, { label: 'fa-minus', value: 'fa fa-minus' }, { label: 'true (Enabled when status is settled)', value: 'true', disabled: true }, { label: 'None', value: 'false' } diff --git a/projects/ui/src/lib/components/po-button-group/po-button-group-item.interface.ts b/projects/ui/src/lib/components/po-button-group/po-button-group-item.interface.ts index bd80634bb..4f6f214cc 100644 --- a/projects/ui/src/lib/components/po-button-group/po-button-group-item.interface.ts +++ b/projects/ui/src/lib/components/po-button-group/po-button-group-item.interface.ts @@ -25,7 +25,7 @@ export interface PoButtonGroupItem { * É possível usar qualquer um dos ícones da [Biblioteca de ícones](https://po-ui.io/icons). conforme exemplo abaixo: * ``` * buttons: Array = [ - * { label: 'Button 1', action: this.action.bind(this), icon: 'ph ph-user' }, + * { label: 'Button 1', action: this.action.bind(this), icon: 'an an-user' }, * ]; * ``` * Também é possível utilizar outras fontes de ícones, por exemplo a biblioteca *Font Awesome*, da seguinte forma: diff --git a/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-attendance/sample-po-button-group-attendance.component.ts b/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-attendance/sample-po-button-group-attendance.component.ts index c33d16abb..8bfcd2cc9 100644 --- a/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-attendance/sample-po-button-group-attendance.component.ts +++ b/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-attendance/sample-po-button-group-attendance.component.ts @@ -9,9 +9,9 @@ import { PoButtonGroupItem, PoNotificationService } from '@po-ui/ng-components'; }) export class SamplePoButtonGroupAttendanceComponent { attendances: Array = [ - { label: 'Appointment', icon: 'ph ph-calendar-dots', action: this.getPassword.bind(this) }, - { label: 'Emergency', icon: 'ph ph-syringe', action: this.getPassword.bind(this) }, - { label: 'Exams', icon: 'ph ph-flask', action: this.getPassword.bind(this) } + { label: 'Appointment', icon: 'an an-calendar-dots', action: this.getPassword.bind(this) }, + { label: 'Emergency', icon: 'an an-syringe', action: this.getPassword.bind(this) }, + { label: 'Exams', icon: 'an an-flask', action: this.getPassword.bind(this) } ]; constructor(private poNotification: PoNotificationService) {} diff --git a/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-labs/sample-po-button-group-labs.component.ts b/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-labs/sample-po-button-group-labs.component.ts index 89572e9f4..6f2638c8b 100644 --- a/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-labs/sample-po-button-group-labs.component.ts +++ b/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-labs/sample-po-button-group-labs.component.ts @@ -19,8 +19,8 @@ export class SamplePoButtonGroupLabsComponent implements OnInit { toggle: PoButtonGroupToggle; iconsOptions: Array = [ - { label: 'ph ph-newspaper', value: 'ph ph-newspaper' }, - { label: 'ph ph-calendar-dots', value: 'ph ph-calendar-dots' }, + { label: 'an an-newspaper', value: 'an an-newspaper' }, + { label: 'an an-calendar-dots', value: 'an an-calendar-dots' }, { label: 'fa fa-podcast', value: 'fa fa-podcast' }, { label: 'fa fa-calculator', value: 'fa fa-calculator' } ]; diff --git a/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-post/sample-po-button-group-post.component.ts b/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-post/sample-po-button-group-post.component.ts index 8e3aa718b..ab1d8bc2c 100644 --- a/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-post/sample-po-button-group-post.component.ts +++ b/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-post/sample-po-button-group-post.component.ts @@ -15,20 +15,20 @@ export class SamplePoButtonGroupPostComponent { textArea: string = '"Luck is a thing that comes in many forms and who can recognize her?" - Ernest Hemingway'; fontStyle: Array = [ - { icon: 'ph ph-text-b', action: () => (this.setBold = !this.setBold), tooltip: 'Bold' }, - { icon: 'ph ph-text-italic', action: () => (this.setItalic = !this.setItalic), tooltip: 'Italic' }, - { icon: 'ph ph-text-underline', action: () => (this.setUnderline = !this.setUnderline), tooltip: 'Underline' } + { icon: 'an an-text-b', action: () => (this.setBold = !this.setBold), tooltip: 'Bold' }, + { icon: 'an an-text-italic', action: () => (this.setItalic = !this.setItalic), tooltip: 'Italic' }, + { icon: 'an an-text-underline', action: () => (this.setUnderline = !this.setUnderline), tooltip: 'Underline' } ]; textAlign: Array = [ { - icon: 'ph ph-text-align-left', + icon: 'an an-text-align-left', selected: true, action: () => (this.setTextAlignment = 'left'), tooltip: 'Left align' }, - { icon: 'ph ph-text-align-center', action: () => (this.setTextAlignment = 'center'), tooltip: 'Center align' }, - { icon: 'ph ph-text-align-right', action: () => (this.setTextAlignment = 'right'), tooltip: 'Right align' }, - { icon: 'ph ph-text-align-justify', action: () => (this.setTextAlignment = 'justify'), tooltip: 'Justify' } + { icon: 'an an-text-align-center', action: () => (this.setTextAlignment = 'center'), tooltip: 'Center align' }, + { icon: 'an an-text-align-right', action: () => (this.setTextAlignment = 'right'), tooltip: 'Right align' }, + { icon: 'an an-text-align-justify', action: () => (this.setTextAlignment = 'justify'), tooltip: 'Justify' } ]; } diff --git a/projects/ui/src/lib/components/po-button/po-button-base.component.ts b/projects/ui/src/lib/components/po-button/po-button-base.component.ts index 2510e85e6..f5a1aaafb 100644 --- a/projects/ui/src/lib/components/po-button/po-button-base.component.ts +++ b/projects/ui/src/lib/components/po-button/po-button-base.component.ts @@ -89,7 +89,7 @@ export class PoButtonBaseComponent { * * É possível usar qualquer um dos ícones da [Biblioteca de ícones](https://po-ui.io/icons). conforme exemplo abaixo: * ``` - * + * * ``` * Também é possível utilizar outras fontes de ícones, por exemplo a biblioteca *Font Awesome*, da seguinte forma: * ``` diff --git a/projects/ui/src/lib/components/po-button/samples/sample-po-button-labs/sample-po-button-labs.component.e2e-spec.ts b/projects/ui/src/lib/components/po-button/samples/sample-po-button-labs/sample-po-button-labs.component.e2e-spec.ts index 3467923f2..6f3d8a613 100644 --- a/projects/ui/src/lib/components/po-button/samples/sample-po-button-labs/sample-po-button-labs.component.e2e-spec.ts +++ b/projects/ui/src/lib/components/po-button/samples/sample-po-button-labs/sample-po-button-labs.component.e2e-spec.ts @@ -19,10 +19,10 @@ describe('SamplePoButtonLabs E2E', () => { expect(button.poModal.isPresent()).toBeFalsy(); }); - it('Check `po-button` show icon `ph ph-newspaper` after select icon `ph ph-newspaper`', () => { + it('Check `po-button` show icon `an an-newspaper` after select icon `an an-newspaper`', () => { button.poRadioLogoPO.click(); - expect(button.poButtonIcon.getAttribute('class')).toContain('ph ph-newspaper'); + expect(button.poButtonIcon.getAttribute('class')).toContain('an an-newspaper'); }); it('Check `po-button` show icon `po-icon-user` after select icon `po-icon-user`', () => { diff --git a/projects/ui/src/lib/components/po-button/samples/sample-po-button-labs/sample-po-button-labs.component.po.ts b/projects/ui/src/lib/components/po-button/samples/sample-po-button-labs/sample-po-button-labs.component.po.ts index 9a4507f5c..d46618791 100644 --- a/projects/ui/src/lib/components/po-button/samples/sample-po-button-labs/sample-po-button-labs.component.po.ts +++ b/projects/ui/src/lib/components/po-button/samples/sample-po-button-labs/sample-po-button-labs.component.po.ts @@ -28,15 +28,15 @@ export class SamplePoButtonLabsComponentPO { } get poRadioLogoPO() { - return this.getPoButtonIcon('ph ph-newspaper'); + return this.getPoButtonIcon('an an-newspaper'); } get poRadioCalendar() { - return this.getPoButtonIcon('ph ph-calendar-dots'); + return this.getPoButtonIcon('an an-calendar-dots'); } get poRadioUser() { - return this.getPoButtonIcon('ph ph-user'); + return this.getPoButtonIcon('an an-user'); } get poRadioNone() { return this.getPoButtonIcon('undefined'); diff --git a/projects/ui/src/lib/components/po-button/samples/sample-po-button-labs/sample-po-button-labs.component.ts b/projects/ui/src/lib/components/po-button/samples/sample-po-button-labs/sample-po-button-labs.component.ts index 84c38cbde..f810f11a4 100644 --- a/projects/ui/src/lib/components/po-button/samples/sample-po-button-labs/sample-po-button-labs.component.ts +++ b/projects/ui/src/lib/components/po-button/samples/sample-po-button-labs/sample-po-button-labs.component.ts @@ -22,9 +22,9 @@ export class SamplePoButtonLabsComponent implements OnInit { ]; iconsOptions: Array = [ - { label: 'ph ph-newspaper', value: 'ph ph-newspaper' }, - { label: 'ph ph-calendar-dots', value: 'ph ph-calendar-dots' }, - { label: 'ph ph-user', value: 'ph ph-user' }, + { label: 'an an-newspaper', value: 'an an-newspaper' }, + { label: 'an an-calendar-dots', value: 'an an-calendar-dots' }, + { label: 'an an-user', value: 'an an-user' }, { label: 'fa fa-podcast', value: 'fa fa-podcast' } ]; diff --git a/projects/ui/src/lib/components/po-container/samples/sample-po-container-dashboard/sample-po-container-dashboard.component.ts b/projects/ui/src/lib/components/po-container/samples/sample-po-container-dashboard/sample-po-container-dashboard.component.ts index 9e2811c48..974876f19 100644 --- a/projects/ui/src/lib/components/po-container/samples/sample-po-container-dashboard/sample-po-container-dashboard.component.ts +++ b/projects/ui/src/lib/components/po-container/samples/sample-po-container-dashboard/sample-po-container-dashboard.component.ts @@ -37,10 +37,10 @@ export class SamplePoContainerDashboardComponent implements AfterContentChecked, items: Array; public readonly actions: Array = [ - { label: 'Share', action: this.modalOpen.bind(this), icon: 'ph ph-share' }, + { label: 'Share', action: this.modalOpen.bind(this), icon: 'an an-share' }, { label: 'Disable notification', - icon: 'ph ph-bell', + icon: 'an an-bell', action: this.disableNotification.bind(this), disabled: () => this.isSubscribed } diff --git a/projects/ui/src/lib/components/po-dropdown/samples/sample-po-dropdown-labs/sample-po-dropdown-labs.component.ts b/projects/ui/src/lib/components/po-dropdown/samples/sample-po-dropdown-labs/sample-po-dropdown-labs.component.ts index 265c94c40..713ab07db 100644 --- a/projects/ui/src/lib/components/po-dropdown/samples/sample-po-dropdown-labs/sample-po-dropdown-labs.component.ts +++ b/projects/ui/src/lib/components/po-dropdown/samples/sample-po-dropdown-labs/sample-po-dropdown-labs.component.ts @@ -21,9 +21,9 @@ export class SamplePoDropdownLabsComponent implements OnInit { ]; public readonly iconOptions: Array = [ - { value: 'ph ph-newspaper', label: 'ph ph-newspaper' }, - { value: 'ph ph-magnifying-glass', label: 'ph ph-magnifying-glass' }, - { value: 'ph ph-globe', label: 'ph ph-globe' }, + { value: 'an an-newspaper', label: 'an an-newspaper' }, + { value: 'an an-magnifying-glass', label: 'an an-magnifying-glass' }, + { value: 'an an-globe', label: 'an an-globe' }, { value: 'fa fa-podcast', label: 'fa fa-podcast' } ]; diff --git a/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/samples/sample-po-dynamic-form-container/sample-po-dynamic-form-container.component.ts b/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/samples/sample-po-dynamic-form-container/sample-po-dynamic-form-container.component.ts index 0bd02682f..62aed512a 100644 --- a/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/samples/sample-po-dynamic-form-container/sample-po-dynamic-form-container.component.ts +++ b/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/samples/sample-po-dynamic-form-container/sample-po-dynamic-form-container.component.ts @@ -80,7 +80,7 @@ export class SamplePoDynamicFormContainerComponent implements OnInit { booleanFalse: 'Inactive', formatModel: true }, - { property: 'email', container: 'CONTACTS', gridColumns: 6, icon: 'ph ph-envelope' }, + { property: 'email', container: 'CONTACTS', gridColumns: 6, icon: 'an an-envelope' }, { property: 'phone', mask: '(99) 99999-9999', gridColumns: 6 }, { property: 'address', gridColumns: 6 }, { @@ -127,7 +127,7 @@ export class SamplePoDynamicFormContainerComponent implements OnInit { gridSmColumns: 12, decimalsLength: 2, thousandMaxlength: 7, - icon: 'ph ph-currency-circle-dollar' + icon: 'an an-currency-circle-dollar' }, { property: 'hobbies', diff --git a/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/samples/sample-po-dynamic-form-register/sample-po-dynamic-form-register.component.ts b/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/samples/sample-po-dynamic-form-register/sample-po-dynamic-form-register.component.ts index 834a14c1a..76f815f54 100644 --- a/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/samples/sample-po-dynamic-form-register/sample-po-dynamic-form-register.component.ts +++ b/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/samples/sample-po-dynamic-form-register/sample-po-dynamic-form-register.component.ts @@ -80,7 +80,7 @@ export class SamplePoDynamicFormRegisterComponent implements OnInit { booleanFalse: 'Inactive', formatModel: true }, - { property: 'email', divider: 'CONTACTS', gridColumns: 6, icon: 'ph ph-envelope' }, + { property: 'email', divider: 'CONTACTS', gridColumns: 6, icon: 'an an-envelope' }, { property: 'phone', mask: '(99) 99999-9999', gridColumns: 6 }, { property: 'address', gridColumns: 6 }, { @@ -127,7 +127,7 @@ export class SamplePoDynamicFormRegisterComponent implements OnInit { gridSmColumns: 12, decimalsLength: 2, thousandMaxlength: 7, - icon: 'ph ph-currency-circle-dollar' + icon: 'an an-currency-circle-dollar' }, { property: 'hobbies', diff --git a/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-container/sample-po-dynamic-view-container.component.ts b/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-container/sample-po-dynamic-view-container.component.ts index 1c7d2642e..877527f1f 100644 --- a/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-container/sample-po-dynamic-view-container.component.ts +++ b/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-container/sample-po-dynamic-view-container.component.ts @@ -15,11 +15,11 @@ export class SamplePoDynamicViewContainerComponent { { property: 'rg', label: 'RG', gridColumns: 4, order: 3 }, { property: 'graduation', label: 'Graduation', gridColumns: 4 }, { property: 'company', label: 'Company', container: 'Work Data' }, - { property: 'job', tag: true, icon: 'ph ph-copy' }, + { property: 'job', tag: true, icon: 'an an-copy' }, { property: 'admissionDate', label: 'Admission date', type: 'date' }, { property: 'hoursPerDay', label: 'Hours per day', type: 'time' }, { property: 'wage', label: 'Wage', type: 'currency' }, - { property: 'availability', tag: true, color: '#C596E7', icon: 'ph ph-check' }, + { property: 'availability', tag: true, color: '#C596E7', icon: 'an an-check' }, { property: 'city', label: 'City', container: 'Address' }, { property: 'addressStreet', label: 'Street' }, { property: 'addressNumber', label: 'Number' }, diff --git a/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-employee-on-load/sample-po-dynamic-view-employee-on-load.component.ts b/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-employee-on-load/sample-po-dynamic-view-employee-on-load.component.ts index e3d1314f1..37b44fdcc 100644 --- a/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-employee-on-load/sample-po-dynamic-view-employee-on-load.component.ts +++ b/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-employee-on-load/sample-po-dynamic-view-employee-on-load.component.ts @@ -55,11 +55,11 @@ export class SamplePoDynamicViewEmployeeOnLoadComponent implements OnInit { { property: 'rg', label: 'RG', gridColumns: 4, order: 3 }, { property: 'graduation', label: 'Graduation', gridColumns: 4 }, { property: 'company', label: 'Company', divider: 'Work Data' }, - { property: 'job', tag: true, icon: 'ph ph-copy' }, + { property: 'job', tag: true, icon: 'an an-copy' }, { property: 'admissionDate', label: 'Admission date', type: 'date' }, { property: 'hoursPerDay', label: 'Hours per day', type: 'time' }, { property: 'wage', label: 'Wage', type: 'currency' }, - { property: 'availability', tag: true, color: '#C596E7', icon: 'ph ph-check' }, + { property: 'availability', tag: true, color: '#C596E7', icon: 'an an-check' }, { property: 'cities', isArrayOrObject: true, fieldLabel: 'city', fieldValue: 'id', concatLabelValue: true }, { property: 'city', label: 'City', divider: 'Address' }, { property: 'addressStreet', label: 'Street' }, diff --git a/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-employee/sample-po-dynamic-view-employee.component.ts b/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-employee/sample-po-dynamic-view-employee.component.ts index 9e3f16b49..54a75f9ec 100644 --- a/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-employee/sample-po-dynamic-view-employee.component.ts +++ b/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-employee/sample-po-dynamic-view-employee.component.ts @@ -16,11 +16,11 @@ export class SamplePoDynamicViewEmployeeComponent { { property: 'rg', label: 'RG', gridColumns: 4, order: 3 }, { property: 'graduation', label: 'Graduation', gridColumns: 4 }, { property: 'company', label: 'Company', divider: 'Work Data' }, - { property: 'job', tag: true, icon: 'ph ph-copy' }, + { property: 'job', tag: true, icon: 'an an-copy' }, { property: 'admissionDate', label: 'Admission date', type: 'date' }, { property: 'hoursPerDay', label: 'Hours per day', type: 'time' }, { property: 'wage', label: 'Wage', type: 'currency' }, - { property: 'availability', tag: true, color: '#C596E7', icon: 'ph ph-check' }, + { property: 'availability', tag: true, color: '#C596E7', icon: 'an an-check' }, { property: 'city', label: 'City', divider: 'Address' }, { property: 'addressStreet', label: 'Street' }, { property: 'addressNumber', label: 'Number' }, diff --git a/projects/ui/src/lib/components/po-field/po-checkbox/po-checkbox.component.html b/projects/ui/src/lib/components/po-field/po-checkbox/po-checkbox.component.html index 0d8ab133f..aebbfe07a 100644 --- a/projects/ui/src/lib/components/po-field/po-checkbox/po-checkbox.component.html +++ b/projects/ui/src/lib/components/po-field/po-checkbox/po-checkbox.component.html @@ -17,7 +17,7 @@ aria-label=" " [id]="id" class="po-checkbox" - [ngClass]="iconNameLib === 'PhosphorIcon' ? 'po-checkbox-phosphor' : 'po-checkbox-poicon'" + [ngClass]="iconNameLib === 'AnimaliaIcon' ? 'po-checkbox-phosphor' : 'po-checkbox-poicon'" [attr.aria-disabled]="disabled" [attr.required]="checkBoxRequired" > diff --git a/projects/ui/src/lib/components/po-field/po-checkbox/po-checkbox.component.ts b/projects/ui/src/lib/components/po-field/po-checkbox/po-checkbox.component.ts index ee2b8ebdd..769f6d5fb 100644 --- a/projects/ui/src/lib/components/po-field/po-checkbox/po-checkbox.component.ts +++ b/projects/ui/src/lib/components/po-field/po-checkbox/po-checkbox.component.ts @@ -11,7 +11,7 @@ import { } from '@angular/core'; import { NG_VALUE_ACCESSOR } from '@angular/forms'; -import { ICONS_DICTIONARY, PhosphorIconDictionary } from '../../po-icon'; +import { ICONS_DICTIONARY, AnimaliaIconDictionary } from '../../po-icon'; import { PoKeyCodeEnum } from './../../../enums/po-key-code.enum'; import { PoCheckboxBaseComponent } from './po-checkbox-base.component'; @@ -60,7 +60,7 @@ export class PoCheckboxComponent extends PoCheckboxBaseComponent implements Afte ) { super(); - this._iconToken = value ?? PhosphorIconDictionary; + this._iconToken = value ?? AnimaliaIconDictionary; } /** diff --git a/projects/ui/src/lib/components/po-field/po-combo/po-combo-base.component.ts b/projects/ui/src/lib/components/po-field/po-combo/po-combo-base.component.ts index df2fe1f28..ca97b86fd 100644 --- a/projects/ui/src/lib/components/po-field/po-combo/po-combo-base.component.ts +++ b/projects/ui/src/lib/components/po-field/po-combo/po-combo-base.component.ts @@ -167,7 +167,7 @@ export abstract class PoComboBaseComponent implements ControlValueAccessor, OnIn * * É possível usar qualquer um dos ícones da [Biblioteca de ícones](https://po-ui.io/icons). conforme exemplo abaixo: * ``` - * + * * ``` * Também é possível utilizar outras fontes de ícones, por exemplo a biblioteca *Font Awesome*, da seguinte forma: * ``` diff --git a/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-hotels/sample-po-combo-hotels.component.html b/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-hotels/sample-po-combo-hotels.component.html index 47cf09f4c..8c9c85600 100644 --- a/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-hotels/sample-po-combo-hotels.component.html +++ b/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-hotels/sample-po-combo-hotels.component.html @@ -57,7 +57,7 @@ p-debounce-time="500" p-disabled-init-filter p-filter-minlength="1" - p-icon="ph ph-magnifying-glass" + p-icon="an an-magnifying-glass" p-required p-field-label="name" p-field-value="value" diff --git a/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-labs/sample-po-combo-labs.component.ts b/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-labs/sample-po-combo-labs.component.ts index 20bfc647d..606d5ffc0 100644 --- a/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-labs/sample-po-combo-labs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-labs/sample-po-combo-labs.component.ts @@ -48,8 +48,8 @@ export class SamplePoComboLabsComponent implements OnInit { ]; public readonly iconsOptions: Array = [ - { label: 'ph ph-building-apartment', value: 'ph ph-building-apartment' }, - { label: 'ph ph-gas-pump', value: 'ph ph-gas-pump' }, + { label: 'an an-building-apartment', value: 'an an-building-apartment' }, + { label: 'an an-gas-pump', value: 'an an-gas-pump' }, { label: 'fa fa-calculator', value: 'fa fa-calculator' } ]; diff --git a/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-scheduling/sample-po-combo-scheduling.component.html b/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-scheduling/sample-po-combo-scheduling.component.html index d0769e462..e1efbdd04 100644 --- a/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-scheduling/sample-po-combo-scheduling.component.html +++ b/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-scheduling/sample-po-combo-scheduling.component.html @@ -48,7 +48,7 @@ class="po-lg-6" name="city" [(ngModel)]="city" - p-icon="ph ph-map-trifold" + p-icon="an an-map-trifold" p-label="Select a location" p-placeholder="Select a location" p-required @@ -90,7 +90,7 @@ class="po-lg-6" name="medicalSpecialty" [(ngModel)]="medicalSpecialty" - p-icon="ph ph-flask" + p-icon="an an-flask" p-label="Medical Specialty/Exam" p-required p-sort diff --git a/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-transfer/sample-po-combo-transfer.component.html b/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-transfer/sample-po-combo-transfer.component.html index e4516742f..a97ad8839 100644 --- a/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-transfer/sample-po-combo-transfer.component.html +++ b/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-transfer/sample-po-combo-transfer.component.html @@ -21,7 +21,7 @@ p-field-value="id" p-field-label="name" p-filter-service="https://po-sample-api.onrender.com/v1/people" - p-icon="ph ph-user" + p-icon="an an-user" p-label="To contact" p-placeholder="Select a contact" p-required diff --git a/projects/ui/src/lib/components/po-field/po-datepicker/samples/sample-po-datepicker-basic/sample-po-datepicker-basic.component.po.ts b/projects/ui/src/lib/components/po-field/po-datepicker/samples/sample-po-datepicker-basic/sample-po-datepicker-basic.component.po.ts index c9aee1578..0401c4484 100644 --- a/projects/ui/src/lib/components/po-field/po-datepicker/samples/sample-po-datepicker-basic/sample-po-datepicker-basic.component.po.ts +++ b/projects/ui/src/lib/components/po-field/po-datepicker/samples/sample-po-datepicker-basic/sample-po-datepicker-basic.component.po.ts @@ -12,6 +12,6 @@ export class SamplePoDatepickerBasicComponentPO { } get poDatepickerIcon() { - return element(by.css(`${this.sampleDatepicker} po-field-container .po-field-icon, .ph ph-calendar-dots`)); + return element(by.css(`${this.sampleDatepicker} po-field-container .po-field-icon, .an an-calendar-dots`)); } } diff --git a/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-hourly-wage-reactive-form/sample-po-decimal-hourly-wage-reactive-form.component.html b/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-hourly-wage-reactive-form/sample-po-decimal-hourly-wage-reactive-form.component.html index 9ad518637..fe714989f 100644 --- a/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-hourly-wage-reactive-form/sample-po-decimal-hourly-wage-reactive-form.component.html +++ b/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-hourly-wage-reactive-form/sample-po-decimal-hourly-wage-reactive-form.component.html @@ -16,7 +16,7 @@ class="po-md-6" formControlName="salary" p-decimals-length="2" - p-icon="ph ph-currency-circle-dollar" + p-icon="an an-currency-circle-dollar" p-label="Salary" p-thousand-maxlength="13" (p-change)="calculate()" @@ -30,7 +30,7 @@ formControlName="hourlyWage" p-decimals-length="2" p-disabled - p-icon="ph ph-currency-dollar-simple" + p-icon="an an-currency-dollar-simple" p-label="Hourly Wage" p-thousand-maxlength="13" > diff --git a/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-hourly-wage/sample-po-decimal-hourly-wage.component.html b/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-hourly-wage/sample-po-decimal-hourly-wage.component.html index 9a2c30b7a..cbd3ea9fa 100644 --- a/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-hourly-wage/sample-po-decimal-hourly-wage.component.html +++ b/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-hourly-wage/sample-po-decimal-hourly-wage.component.html @@ -31,7 +31,7 @@ name="salary" [(ngModel)]="salary" p-decimals-length="2" - p-icon="ph ph-currency-circle-dollar" + p-icon="an an-currency-circle-dollar" p-label="Salary" p-required p-thousand-maxlength="13" @@ -47,7 +47,7 @@ [(ngModel)]="hourlyWage" p-decimals-length="2" p-disabled - p-icon="ph ph-currency-dollar-simple" + p-icon="an an-currency-dollar-simple" p-label="Hourly Wage" p-required p-thousand-maxlength="13" diff --git a/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-labs/sample-po-decimal-labs.component.ts b/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-labs/sample-po-decimal-labs.component.ts index c74b70749..d66836b46 100644 --- a/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-labs/sample-po-decimal-labs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-labs/sample-po-decimal-labs.component.ts @@ -30,8 +30,8 @@ export class SamplePoDecimalLabsComponent implements OnInit { ]; public readonly iconOptions: Array = [ - { value: 'ph ph-shopping-cart-simple', label: 'ph ph-shopping-cart-simple' }, - { value: 'ph ph-currency-dollar-simple', label: 'ph ph-currency-dollar-simple' }, + { value: 'an an-shopping-cart-simple', label: 'an an-shopping-cart-simple' }, + { value: 'an an-currency-dollar-simple', label: 'an an-currency-dollar-simple' }, { value: 'fa fa-calculator', label: 'fa fa-calculator' } ]; diff --git a/projects/ui/src/lib/components/po-field/po-email/po-email.component.spec.ts b/projects/ui/src/lib/components/po-field/po-email/po-email.component.spec.ts index e139eb95c..2806d7187 100644 --- a/projects/ui/src/lib/components/po-field/po-email/po-email.component.spec.ts +++ b/projects/ui/src/lib/components/po-field/po-email/po-email.component.spec.ts @@ -108,7 +108,7 @@ describe('PoEmailComponent:', () => { it('should have `mail` icon', () => { fixture.detectChanges(); - expect(fixture.debugElement.nativeElement.querySelector('.ph-envelope-simple')).toBeTruthy(); + expect(fixture.debugElement.nativeElement.querySelector('.an-envelope-simple')).toBeTruthy(); }); it('should call `getScreenValue` and `verifyPattern` on input keyup', fakeAsync(() => { diff --git a/projects/ui/src/lib/components/po-field/po-field-container/po-field-container-bottom/po-field-container-bottom.component.html b/projects/ui/src/lib/components/po-field/po-field-container/po-field-container-bottom/po-field-container-bottom.component.html index d38d07188..474ef6237 100644 --- a/projects/ui/src/lib/components/po-field/po-field-container/po-field-container-bottom/po-field-container-bottom.component.html +++ b/projects/ui/src/lib/components/po-field/po-field-container/po-field-container-bottom/po-field-container-bottom.component.html @@ -1,6 +1,6 @@
- + {{ errorPattern }}
diff --git a/projects/ui/src/lib/components/po-field/po-input/po-input-base.component.ts b/projects/ui/src/lib/components/po-field/po-input/po-input-base.component.ts index 0cf302b3e..2cbe0007e 100644 --- a/projects/ui/src/lib/components/po-field/po-input/po-input-base.component.ts +++ b/projects/ui/src/lib/components/po-field/po-input/po-input-base.component.ts @@ -78,7 +78,7 @@ export abstract class PoInputBaseComponent implements ControlValueAccessor, Vali * * É possível usar qualquer um dos ícones da [Biblioteca de ícones](https://po-ui.io/icons). conforme exemplo abaixo: * ``` - * + * * ``` * Também é possível utilizar outras fontes de ícones, por exemplo a biblioteca *Font Awesome*, da seguinte forma: * ``` diff --git a/projects/ui/src/lib/components/po-field/po-input/samples/sample-po-input-labs/sample-po-input-labs.component.ts b/projects/ui/src/lib/components/po-field/po-input/samples/sample-po-input-labs/sample-po-input-labs.component.ts index ff49e7f66..7393be3bc 100644 --- a/projects/ui/src/lib/components/po-field/po-input/samples/sample-po-input-labs/sample-po-input-labs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-input/samples/sample-po-input-labs/sample-po-input-labs.component.ts @@ -22,8 +22,8 @@ export class SamplePoInputLabsComponent implements OnInit { properties: Array; public readonly iconOptions: Array = [ - { value: 'ph ph-newspaper', label: 'ph ph-newspaper' }, - { value: 'ph ph-magnifying-glass', label: 'ph ph-magnifying-glass' }, + { value: 'an an-newspaper', label: 'an an-newspaper' }, + { value: 'an an-magnifying-glass', label: 'an an-magnifying-glass' }, { value: 'fa fa-calculator', label: 'fa fa-calculator' } ]; diff --git a/projects/ui/src/lib/components/po-field/po-input/samples/sample-po-input-reactive-form/sample-po-input-reactive-form.component.html b/projects/ui/src/lib/components/po-field/po-input/samples/sample-po-input-reactive-form/sample-po-input-reactive-form.component.html index f7e624872..0413ac397 100644 --- a/projects/ui/src/lib/components/po-field/po-input/samples/sample-po-input-reactive-form/sample-po-input-reactive-form.component.html +++ b/projects/ui/src/lib/components/po-field/po-input/samples/sample-po-input-reactive-form/sample-po-input-reactive-form.component.html @@ -1,10 +1,10 @@
- +
- +
diff --git a/projects/ui/src/lib/components/po-field/po-number/samples/sample-po-number-labs/sample-po-number-labs.component.ts b/projects/ui/src/lib/components/po-field/po-number/samples/sample-po-number-labs/sample-po-number-labs.component.ts index ce8569df8..8e35abb3d 100644 --- a/projects/ui/src/lib/components/po-field/po-number/samples/sample-po-number-labs/sample-po-number-labs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-number/samples/sample-po-number-labs/sample-po-number-labs.component.ts @@ -23,8 +23,8 @@ export class SamplePoNumberLabsComponent implements OnInit { step: string; public readonly iconOptions: Array = [ - { value: 'ph ph-currency-circle-dollar', label: 'ph ph-currency-circle-dollar' }, - { value: 'ph ph-currency-btc', label: 'ph ph-currency-btc' }, + { value: 'an an-currency-circle-dollar', label: 'an an-currency-circle-dollar' }, + { value: 'an an-currency-btc', label: 'an an-currency-btc' }, { value: 'fa fa-calculator', label: 'fa fa-calculator' } ]; diff --git a/projects/ui/src/lib/components/po-field/po-password/po-password.component.spec.ts b/projects/ui/src/lib/components/po-field/po-password/po-password.component.spec.ts index ef746ca2c..94e1b90c4 100644 --- a/projects/ui/src/lib/components/po-field/po-password/po-password.component.spec.ts +++ b/projects/ui/src/lib/components/po-field/po-password/po-password.component.spec.ts @@ -208,23 +208,23 @@ describe('PoNumberComponent:', () => { expect(nativeElement.querySelector('.po-input-icon-right')).toBeFalsy(); }); - it('should have the icon `ph-eye-closed`.', () => { + it('should have the icon `an-eye-closed`.', () => { component.hidePasswordPeek = false; component.visiblePassword = false; fixture.detectChanges(); - expect(nativeElement.querySelector('.ph-eye')).toBeNull(); - expect(nativeElement.querySelector('.ph-eye-closed')).toBeTruthy(); + expect(nativeElement.querySelector('.an-eye')).toBeNull(); + expect(nativeElement.querySelector('.an-eye-closed')).toBeTruthy(); expect(nativeElement.querySelector('.po-field-icon-disabled')).toBeTruthy(); }); - it('should have the icon `ph-eye`.', () => { + it('should have the icon `an-eye`.', () => { component.hidePasswordPeek = false; component.visiblePassword = true; fixture.detectChanges(); - expect(nativeElement.querySelector('.ph-eye')).toBeTruthy(); - expect(nativeElement.querySelector('.ph-eye-closed')).toBeNull(); + expect(nativeElement.querySelector('.an-eye')).toBeTruthy(); + expect(nativeElement.querySelector('.an-eye-closed')).toBeNull(); expect(nativeElement.querySelector('.po-field-icon-disabled')).toBeNull(); }); diff --git a/projects/ui/src/lib/components/po-field/po-select/po-select.component.html b/projects/ui/src/lib/components/po-field/po-select/po-select.component.html index 647096897..da4706bc5 100644 --- a/projects/ui/src/lib/components/po-field/po-select/po-select.component.html +++ b/projects/ui/src/lib/components/po-field/po-select/po-select.component.html @@ -10,7 +10,7 @@