1
0
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:
Oscar Hinton
2024-08-16 09:28:29 +02:00
committed by GitHub
parent 92f87dad9a
commit 604e22334a
18 changed files with 3875 additions and 8220 deletions

View File

@@ -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)">