1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00

[PM-7902] Create V2 Note Component View (#10150)

* Rename <additional-information> component to <additional-options>

The Figma designs show and update to the Additional Information section. The heading changed to "Additional options". It probably makes sense to update the component name to match.

* Make view note header "note" lowercase.

* Add new translation messages for view header.

* Revert "Add new translation messages for view header."

This reverts commit 4e8877fe71.

* Make cipher headers lowercase via toLowerCase function

* Remove unused import.

* run npm ci && npm run prettier

* add back missing import
This commit is contained in:
Alec Rippberger
2024-07-29 16:24:35 -05:00
committed by GitHub
parent 0bbbe5e139
commit 3b54bbd168
5 changed files with 15 additions and 12 deletions

View File

@@ -0,0 +1,33 @@
import { CommonModule } from "@angular/common";
import { Component, Input } from "@angular/core";
import { JslibModule } from "@bitwarden/angular/jslib.module";
import {
IconButtonModule,
CardComponent,
InputModule,
SectionComponent,
SectionHeaderComponent,
TypographyModule,
FormFieldModule,
} from "@bitwarden/components";
@Component({
selector: "app-additional-options",
templateUrl: "additional-options.component.html",
standalone: true,
imports: [
CommonModule,
JslibModule,
CardComponent,
IconButtonModule,
InputModule,
SectionComponent,
SectionHeaderComponent,
TypographyModule,
FormFieldModule,
],
})
export class AdditionalOptionsComponent {
@Input() notes: string;
}