1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-07 12:13:45 +00:00

[PM-18721] update storybook docs

This commit is contained in:
rr-bw
2025-05-13 17:04:28 -07:00
parent 053452c178
commit 3ccc3b6e94
3 changed files with 7 additions and 7 deletions

View File

@@ -34,6 +34,7 @@ type EmergencyAccessTakeoverDialogData = {
emergencyAccessId: string;
};
// eslint-disable-next-line @bitwarden/platform/no-enums
export enum EmergencyAccessTakeoverDialogResultType {
Done = "done",
}

View File

@@ -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.
<br />

View File

@@ -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",