From 3ccc3b6e949138ed5e7a1677f265339abef486cb Mon Sep 17 00:00:00 2001 From: rr-bw <102181210+rr-bw@users.noreply.github.com> Date: Tue, 13 May 2025 17:04:28 -0700 Subject: [PATCH] [PM-18721] update storybook docs --- .../emergency-access-takeover-dialog.component.ts | 1 + .../src/angular/input-password/input-password.mdx | 11 +++++------ .../angular/input-password/input-password.stories.ts | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/web/src/app/auth/settings/emergency-access/takeover/emergency-access-takeover-dialog.component.ts b/apps/web/src/app/auth/settings/emergency-access/takeover/emergency-access-takeover-dialog.component.ts index d7fd52d938f..d6df320564a 100644 --- a/apps/web/src/app/auth/settings/emergency-access/takeover/emergency-access-takeover-dialog.component.ts +++ b/apps/web/src/app/auth/settings/emergency-access/takeover/emergency-access-takeover-dialog.component.ts @@ -34,6 +34,7 @@ type EmergencyAccessTakeoverDialogData = { emergencyAccessId: string; }; +// eslint-disable-next-line @bitwarden/platform/no-enums export enum EmergencyAccessTakeoverDialogResultType { Done = "done", } diff --git a/libs/auth/src/angular/input-password/input-password.mdx b/libs/auth/src/angular/input-password/input-password.mdx index 588fe7f7d10..e272044a215 100644 --- a/libs/auth/src/angular/input-password/input-password.mdx +++ b/libs/auth/src/angular/input-password/input-password.mdx @@ -15,12 +15,11 @@ Specifically, it does the following: `newServerMasterKeyHash`, etc.) 4. Emits the generated properties to the parent component -The `InputPasswordComponent` is central to our set/change password flows. It allows us to keep our -form UI and validation logic consistent across our many set/change password flows. - -The component is intended for re-use in different set/change password scenarios throughout the -application. Therefore it is mostly presentational and simply emits values rather than acting on -them itself. It is the job of the parent component to act on those values as needed. +The `InputPasswordComponent` is central to our set/change password flows, allowing us to keep our +form UI and validation logic consistent. As such, it is intended for re-use in different set/change +password scenarios throughout the Bitwarden application. It is mostly presentational and simply +emits values rather than acting on them itself. It is the job of the parent component to act on +those values as needed.
diff --git a/libs/auth/src/angular/input-password/input-password.stories.ts b/libs/auth/src/angular/input-password/input-password.stories.ts index 0f14bcdde25..5dca26f4a9b 100644 --- a/libs/auth/src/angular/input-password/input-password.stories.ts +++ b/libs/auth/src/angular/input-password/input-password.stories.ts @@ -130,13 +130,13 @@ export default { ], args: { InputPasswordFlow: { - ChangePasswordDelegation: InputPasswordFlow.ChangePasswordDelegation, SetInitialPasswordAccountRegistration: InputPasswordFlow.SetInitialPasswordAccountRegistration, SetInitialPasswordAuthedUser: InputPasswordFlow.SetInitialPasswordAuthedUser, ChangePassword: InputPasswordFlow.ChangePassword, ChangePasswordWithOptionalUserKeyRotation: InputPasswordFlow.ChangePasswordWithOptionalUserKeyRotation, + ChangePasswordDelegation: InputPasswordFlow.ChangePasswordDelegation, }, userId: "1" as UserId, email: "user@email.com",