Skip to content

Commit

Permalink
fix: format fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Feb 21, 2025
1 parent 33e7dfa commit fe05563
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
24 changes: 12 additions & 12 deletions apps/showcase/doc/popover/basicdoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ import { Component } from '@angular/core';
<div>
<span class="font-medium text-surface-900 dark:text-surface-0 block mb-2">Team Members</span>
<ul class="list-none p-0 m-0 flex flex-col gap-4">
@for(member of members; track member) {
<li class="flex items-center gap-2">
<img [src]="'https://primefaces.org/cdn/primeng/images/demo/avatar/' + member.image" style="width: 32px" />
<div>
<span class="font-medium">{{ member.name }}</span>
<div class="text-sm text-muted-color">{{ member.email }}</div>
</div>
<div class="flex items-center gap-2 text-muted-color ml-auto text-sm">
<span>{{ member.role }}</span>
<i class="pi pi-angle-down"></i>
</div>
</li>
@for (member of members; track member) {
<li class="flex items-center gap-2">
<img [src]="'https://primefaces.org/cdn/primeng/images/demo/avatar/' + member.image" style="width: 32px" />
<div>
<span class="font-medium">{{ member.name }}</span>
<div class="text-sm text-muted-color">{{ member.email }}</div>
</div>
<div class="flex items-center gap-2 text-muted-color ml-auto text-sm">
<span>{{ member.role }}</span>
<i class="pi pi-angle-down"></i>
</div>
</li>
}
</ul>
</div>
Expand Down
4 changes: 1 addition & 3 deletions packages/primeng/src/dynamicdialog/dynamicdialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,7 @@ const hideAnimation = animation([animate('{{transition}}', style({ transform: '{
<ng-template *ngTemplateOutlet="minimizeIconTemplate"></ng-template>
</ng-container>
</p-button>
<p-button *ngIf="closable" [styleClass]="'p-dialog-close-button'"
[ariaLabel]="ddconfig.closeAriaLabel || defaultCloseAriaLabel" (onClick)="hide()"
(keydown.enter)="hide()" rounded text severity="secondary">
<p-button *ngIf="closable" [styleClass]="'p-dialog-close-button'" [ariaLabel]="ddconfig.closeAriaLabel || defaultCloseAriaLabel" (onClick)="hide()" (keydown.enter)="hide()" rounded text severity="secondary">
<ng-container *ngIf="!closeIconTemplate">
<TimesIcon />
</ng-container>
Expand Down

0 comments on commit fe05563

Please # to comment.