mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +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:
@@ -103,7 +103,7 @@ export const ContentTabs: Story = {
|
||||
};
|
||||
|
||||
export const NavigationTabs: Story = {
|
||||
render: (args: TabGroupComponent) => ({
|
||||
render: (args) => ({
|
||||
props: args,
|
||||
template: `
|
||||
<bit-tab-nav-bar label="Main">
|
||||
@@ -126,7 +126,7 @@ export const NavigationTabs: Story = {
|
||||
};
|
||||
|
||||
export const PreserveContentTabs: Story = {
|
||||
render: (args: any) => ({
|
||||
render: (args) => ({
|
||||
props: args,
|
||||
template: `
|
||||
<bit-tab-group label="Preserve Content Tabs" [preserveContent]="true" class="tw-text-main">
|
||||
@@ -147,7 +147,7 @@ export const PreserveContentTabs: Story = {
|
||||
};
|
||||
|
||||
export const KeyboardNavigation: Story = {
|
||||
render: (args: any) => ({
|
||||
render: (args) => ({
|
||||
props: args,
|
||||
template: `
|
||||
<bit-tab-group label="Keyboard Navigation Tabs" class="tw-text-main">
|
||||
|
||||
Reference in New Issue
Block a user