1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-12 06:23:38 +00:00

feat(billing): improves premium org upgrade dialog

Adds a close button to the premium organization upgrade dialog.

Updates the success toast message after upgrading to teams.

Hides the formatted amount for credit discounts.

Sets the change detection strategy to OnPush for improved performance.
This commit is contained in:
Stephon Brown
2026-01-28 17:49:43 -05:00
parent 28e63d564a
commit 2eaff7a8fa
5 changed files with 36 additions and 6 deletions

View File

@@ -4,7 +4,7 @@ import { ButtonType } from "@bitwarden/components";
export type SubscriptionPricingCardDetails = {
title: string;
tagline: string;
price?: { amount: number; cadence: SubscriptionCadence };
price?: { amount: number; cadence: SubscriptionCadence; showPerUser?: boolean };
button: { text: string; type: ButtonType; icon?: { type: string; position: "before" | "after" } };
features: string[];
};