Files
iptvnator/libs/ui/components/src/lib/detail-ui/detail-primary-button.component.html
T
4grayandClaude Fable 5.1 3fd65c935c feat(ui): shared cinematic detail pieces (chip, light primary, icon button, more menu, cast row, trailer dialog)
Adds the building blocks of the redesigned VOD details and dashboard hero:
a pill meta chip, the light primary button with a two-line label, a 44px
ghost icon button with tooltip, the right-aligned "…" dropdown menu that
flips upward and hosts the alternative-sources panel, hero credits plus a
Cast & crew row, a horizontal rail with prev/next arrows, a Similar rail
and the trailer modal. Shared detail utilities (season suffix, remaining
time, duration, short country names) move to portal/shared/util, with the
new CTA and rating theme tokens and the i18n keys for all locales.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-02 07:58:06 +02:00

20 lines
655 B
HTML

<button
type="button"
class="play-btn"
[class.play-btn--launching]="state() === 'launching'"
[class.play-btn--stop]="state() === 'stop'"
[class.play-btn--two-line]="!!meta()"
[disabled]="disabled()"
[attr.data-testid]="testId()"
[attr.aria-busy]="state() === 'launching' ? 'true' : null"
(click)="pressed.emit()"
>
<mat-icon class="play-btn__icon" aria-hidden="true">{{ icon() }}</mat-icon>
<span class="play-btn__copy">
<span class="play-btn__label">{{ label() }}</span>
@if (meta(); as metaLine) {
<span class="play-btn__meta">{{ metaLine }}</span>
}
</span>
</button>