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

refactor(email-verification-feature-flag): [PM-7882] Email Verification

Lots of fixes and removal of the register route for signup in a lot of places.
This commit is contained in:
Patrick Pimentel
2024-12-27 16:05:33 -05:00
parent 1d874b447e
commit 5eb4cbbf5f
25 changed files with 162 additions and 249 deletions

View File

@@ -45,7 +45,7 @@ export class ToastComponent {
message: string | string[];
/** An optional title to display over the message. */
@Input() title: string;
@Input() title: string | null;
/**
* The percent width of the progress bar, from 0-100

View File

@@ -20,6 +20,15 @@ export type ToastOptions = {
export class ToastService {
constructor(private toastrService: ToastrService) {}
/**
* This will present the toast to a user.
*
* Note: The toast will be displayed for a minimum of 5 seconds if no timeout is provided in
* the options.
*
* @param options Options for toasts. If no timeout is specified an appropriate duration will be
* calculated on the size of the message being displayed.
*/
showToast(options: ToastOptions): void {
const toastrConfig: Partial<IndividualConfig> = {
payload: {