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 f88ccb951..eb2f7804d 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
@@ -95,11 +95,12 @@ export class PoButtonBaseComponent {
* @description
* Ícone exibido ao lado esquerdo do label do botão.
*
- * É possível usar qualquer um dos ícones da [Biblioteca de ícones](https://po-ui.io/icons). conforme exemplo abaixo:
+ * É possível usar qualquer um dos ícones da [Biblioteca de ícones](https://po-ui.io/icons), conforme exemplo:
* ```
*
* ```
- * Também é possível utilizar outras fontes de ícones, por exemplo a biblioteca *Font Awesome*, da seguinte forma:
+ * Também é possível utilizar outras fontes de ícones, por exemplo a biblioteca *Font Awesome*, desde que a biblioteca
+ * esteja carregada no projeto:
* ```
*
* ```
diff --git a/projects/ui/src/lib/components/po-icon/po-icon-dictionary.ts b/projects/ui/src/lib/components/po-icon/po-icon-dictionary.ts
index d4998e983..f5e103618 100644
--- a/projects/ui/src/lib/components/po-icon/po-icon-dictionary.ts
+++ b/projects/ui/src/lib/components/po-icon/po-icon-dictionary.ts
@@ -187,10 +187,13 @@ export const AnimaliaIconDictionary: { [key: string]: string } = {
ICON_ALIGN_JUSTIFY: 'an an-text-align-justify',
ICON_ALIGN_LEFT: 'an an-text-align-left',
ICON_ALIGN_RIGHT: 'an an-text-align-right',
+ ICON_ARROW_ARC_LEFT: 'an an-arrow-arc-left',
ICON_ARROW_DOWN: 'an an-caret-down',
+ ICON_OTHER_ARROW_DOWN: 'an an-arrow-down',
ICON_ARROW_LEFT: 'an an-caret-left',
ICON_ARROW_RIGHT: 'an an-caret-right',
ICON_ARROW_UP: 'an an-caret-up',
+ ICON_OTHER_ARROW_UP: 'an an-arrow-up',
ICON_CALENDAR: 'an an-calendar-blank',
ICON_CLEAR_CONTENT: 'an an-x-circle',
ICON_CLOCK: 'an an-clock',
@@ -204,6 +207,7 @@ export const AnimaliaIconDictionary: { [key: string]: string } = {
ICON_EYE: 'an an-eye',
ICON_EYE_OFF: 'an an-eye-closed',
ICON_FILTER: 'an an-funnel',
+ ICON_FUNNEL: 'an an-funnel-simple',
ICON_HELP: 'an an-question',
ICON_INFO: 'an an-info',
ICON_LAST_PAGE: 'an an-caret-double-right',
@@ -223,14 +227,16 @@ export const AnimaliaIconDictionary: { [key: string]: string } = {
ICON_PARAMETERS: 'an an-sliders-horizontal',
ICON_PICTURE: 'an an-image',
ICON_PICTURE_BROKEN: 'an an-image-broken',
+ ICON_PLUS: 'an an-plus',
+ ICON_PROHIBIT: 'an an-prohibit',
ICON_PUSH_PIN: 'an an-push-pin',
ICON_PUSH_PIN_SLASH: 'an an-push-pin-slash',
ICON_REFRESH: 'an an-arrow-clockwise',
ICON_SEARCH: 'an an-magnifying-glass',
ICON_SETTINGS: 'an an-gear-six',
- ICON_SORT: 'an an-caret-up-down ',
- ICON_SORT_ASC: 'an an-caret-up',
- ICON_SORT_DESC: 'an an-caret-down',
+ ICON_SORT: 'an an-arrows-down-up',
+ ICON_SORT_ASC: 'an an-arrow-up',
+ ICON_SORT_DESC: 'an an-arrow-down',
ICON_STAR: 'an an-star',
ICON_TELEPHONE: 'an an-phone',
ICON_TEXT_BOLD: 'an an-text-b',
diff --git a/projects/ui/src/lib/components/po-icon/po-icon.component.html b/projects/ui/src/lib/components/po-icon/po-icon.component.html
index b73f048dc..085f16067 100644
--- a/projects/ui/src/lib/components/po-icon/po-icon.component.html
+++ b/projects/ui/src/lib/components/po-icon/po-icon.component.html
@@ -1,5 +1,5 @@
@if (class) {
-
+
} @else {
diff --git a/projects/ui/src/lib/components/po-icon/po-icon.component.ts b/projects/ui/src/lib/components/po-icon/po-icon.component.ts
index 35ec59955..54b9b7521 100644
--- a/projects/ui/src/lib/components/po-icon/po-icon.component.ts
+++ b/projects/ui/src/lib/components/po-icon/po-icon.component.ts
@@ -1,4 +1,13 @@
-import { ChangeDetectionStrategy, Component, Inject, Input, Optional, TemplateRef } from '@angular/core';
+import {
+ ChangeDetectionStrategy,
+ Component,
+ ElementRef,
+ Inject,
+ Input,
+ Optional,
+ TemplateRef,
+ ViewChild
+} from '@angular/core';
import { ICONS_DICTIONARY, AnimaliaIconDictionary } from './po-icon-dictionary';
/**
* @docsPrivate
@@ -16,6 +25,7 @@ import { ICONS_DICTIONARY, AnimaliaIconDictionary } from './po-icon-dictionary';
standalone: false
})
export class PoIconComponent {
+ @ViewChild('iconElement', { static: false }) iconElement: ElementRef;
class: string;
private _icon: string | TemplateRef;
private _iconToken: { [key: string]: string };
diff --git a/projects/ui/src/lib/components/po-listbox/po-item-list/po-item-list-base.component.ts b/projects/ui/src/lib/components/po-listbox/po-item-list/po-item-list-base.component.ts
index f98f84454..f94d37481 100644
--- a/projects/ui/src/lib/components/po-listbox/po-item-list/po-item-list-base.component.ts
+++ b/projects/ui/src/lib/components/po-listbox/po-item-list/po-item-list-base.component.ts
@@ -120,6 +120,15 @@ export class PoItemListBaseComponent {
*/
@Input('p-icon') icon: string | TemplateRef;
+ /**
+ * @optional
+ *
+ * @description
+ *
+ * Define se deve ser exibido o ícone indicando subnível.
+ */
+ @Input('p-icon-arrow-right') iconArrowRight: string;
+
// Define a posição do ícone: 'left' (padrão) ou 'right'.
@Input('p-icon-position') iconPosition: 'left' | 'right' = 'left';
diff --git a/projects/ui/src/lib/components/po-listbox/po-item-list/po-item-list.component.html b/projects/ui/src/lib/components/po-listbox/po-item-list/po-item-list.component.html
index b78bfb54b..3c51513be 100644
--- a/projects/ui/src/lib/components/po-listbox/po-item-list/po-item-list.component.html
+++ b/projects/ui/src/lib/components/po-listbox/po-item-list/po-item-list.component.html
@@ -12,7 +12,7 @@
[class.po-item-list__danger]="danger"
class="po-item-list po-item-list__action"
>
- @if (icon && iconPosition === 'left') {
+ @if (icon) {