diff --git a/apps/browser/src/platform/popup/layout/popup-layout.mdx b/apps/browser/src/platform/popup/layout/popup-layout.mdx index b805805ad18..49f76501aea 100644 --- a/apps/browser/src/platform/popup/layout/popup-layout.mdx +++ b/apps/browser/src/platform/popup/layout/popup-layout.mdx @@ -41,6 +41,9 @@ page looks nice when the extension is popped out. - `footer` - Use the `popup-footer` component. - Not every page will have a footer. +- `above-scroll-area` + - When the page content overflows, this content will be "stuck" to the top of the page upon + scrolling. - default - Whatever content you want in `main`. diff --git a/apps/browser/src/platform/popup/layout/popup-layout.stories.ts b/apps/browser/src/platform/popup/layout/popup-layout.stories.ts index f2208a8b8f5..9857eeccc31 100644 --- a/apps/browser/src/platform/popup/layout/popup-layout.stories.ts +++ b/apps/browser/src/platform/popup/layout/popup-layout.stories.ts @@ -12,6 +12,7 @@ import { IconButtonModule, ItemModule, NoItemsModule, + SearchModule, } from "@bitwarden/components"; import { PopupFooterComponent } from "./popup-footer.component"; @@ -103,6 +104,18 @@ class MockPopoutButtonComponent {} }) class MockCurrentAccountComponent {} +@Component({ + selector: "mock-search", + template: ` +