mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
[PM-7162] Cipher Form - Item Details (#9758)
* [PM-7162] Fix weird angular error regarding disabled component bit-select * [PM-7162] Introduce CipherFormConfigService and related types * [PM-7162] Introduce CipherFormService * [PM-7162] Introduce the Item Details section component and the CipherFormContainer interface * [PM-7162] Introduce the CipherForm component * [PM-7162] Add strongly typed QueryParams to the add-edit-v2.component * [PM-7162] Export CipherForm from Vault Lib * [PM-7162] Use the CipherForm in Browser AddEditV2 * [PM-7162] Introduce CipherForm storybook * [PM-7162] Remove VaultPopupListFilterService dependency from NewItemDropDownV2 component * [PM-7162] Add support for content projection of attachment button * [PM-7162] Fix typo * [PM-7162] Cipher form service cleanup * [PM-7162] Move readonly collection notice to bit-hint * [PM-7162] Refactor CipherFormConfig type to enforce required properties with Typescript * [PM-7162] Fix storybook after config changes * [PM-7162] Use new add-edit component for clone route
This commit is contained in:
17
libs/vault/src/cipher-form/cipher-form.mdx
Normal file
17
libs/vault/src/cipher-form/cipher-form.mdx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { Controls, Meta, Primary } from "@storybook/addon-docs";
|
||||
|
||||
import * as stories from "./cipher-form.stories";
|
||||
|
||||
<Meta of={stories} />
|
||||
|
||||
# Cipher Form
|
||||
|
||||
The cipher form is a re-usable form component that can be used to create, update, and clone ciphers.
|
||||
It is configured via a `CipherFormConfig` object that is passed to the component as a prop. The
|
||||
`CipherFormConfig` object can be created manually, or a `CipherFormConfigService` can be used to
|
||||
create it. A default implementation of the `CipherFormConfigService` exists in the
|
||||
`@bitwarden/vault` library.
|
||||
|
||||
<Primary />
|
||||
|
||||
<Controls include={["config", "submitBtn"]} />
|
||||
Reference in New Issue
Block a user