mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
[BEEEP] [PM-10132] Upgrade storybook to v8 (#10288)
Upgrade storybook to version v8 which is a major upgrade. Storybook provides an upgrade wizard which did most of the work. - Ran npx storybook upgrade. - Manually updated `remark-gfm` since the newer mdx requires v 4. - Migrated all old stories still using `Story` to `StoryObj`.
This commit is contained in:
@@ -48,7 +48,7 @@ export const Premium: Story = {
|
||||
args: {
|
||||
bannerType: "premium",
|
||||
},
|
||||
render: (args: BannerComponent) => ({
|
||||
render: (args) => ({
|
||||
props: args,
|
||||
template: `
|
||||
<bit-banner [bannerType]="bannerType" (onClose)="onClose($event)" [showClose]=showClose>
|
||||
@@ -93,7 +93,7 @@ export const HideClose: Story = {
|
||||
|
||||
export const Stacked: Story = {
|
||||
args: {},
|
||||
render: (args: BannerComponent) => ({
|
||||
render: (args) => ({
|
||||
props: args,
|
||||
template: `
|
||||
<bit-banner bannerType="premium" (onClose)="onClose($event)">
|
||||
|
||||
Reference in New Issue
Block a user