mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
[CL-712] Update icon button, components using it, and affected virtual scroll heights (#15683)
This commit is contained in:
@@ -49,13 +49,6 @@ export const Primary: Story = {
|
||||
},
|
||||
};
|
||||
|
||||
export const Secondary: Story = {
|
||||
...Default,
|
||||
args: {
|
||||
buttonType: "secondary",
|
||||
},
|
||||
};
|
||||
|
||||
export const Danger: Story = {
|
||||
...Default,
|
||||
args: {
|
||||
@@ -77,18 +70,18 @@ export const Muted: Story = {
|
||||
},
|
||||
};
|
||||
|
||||
export const Light: Story = {
|
||||
export const NavContrast: Story = {
|
||||
render: (args) => ({
|
||||
props: args,
|
||||
template: /*html*/ `
|
||||
<div class="tw-bg-background-alt2 tw-p-6 tw-w-full tw-inline-block">
|
||||
<div class="tw-bg-background-alt3 tw-p-6 tw-w-full tw-inline-block">
|
||||
<!-- <div> used only to provide dark background color -->
|
||||
<button ${formatArgsForCodeSnippet<BitIconButtonComponent>(args)}>Button</button>
|
||||
</div>
|
||||
`,
|
||||
}),
|
||||
args: {
|
||||
buttonType: "light",
|
||||
buttonType: "nav-contrast",
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user