Learn more
@@ -128,7 +128,7 @@ export const RightArrow = () => Publish to Chromatic
Publish your Storybook to review and collaborate with your entire team.
Learn more
@@ -144,7 +144,7 @@ export const RightArrow = () => Embed your stories into Figma to cross-reference the design and live
implementation in one place.
Learn more
@@ -160,7 +160,7 @@ export const RightArrow = () => Use stories to test a component in all its variations, no matter how
complex.
Learn more
@@ -175,7 +175,7 @@ export const RightArrow = () => Accessibility
Automatically test your components for a11y issues as you develop.
Theme Storybook's UI to personalize it to your project.
Learn more
diff --git a/code/frameworks/nextjs/template/cli/js/Header.stories.js b/code/frameworks/nextjs/template/cli/js/Header.stories.js
index 704a8c699534..a1d32b3ad65e 100644
--- a/code/frameworks/nextjs/template/cli/js/Header.stories.js
+++ b/code/frameworks/nextjs/template/cli/js/Header.stories.js
@@ -3,10 +3,10 @@ import { Header } from './Header';
export default {
title: 'Example/Header',
component: Header,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/react/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
};
diff --git a/code/frameworks/nextjs/template/cli/js/Page.stories.js b/code/frameworks/nextjs/template/cli/js/Page.stories.js
index f339fa246d39..53362f140e61 100644
--- a/code/frameworks/nextjs/template/cli/js/Page.stories.js
+++ b/code/frameworks/nextjs/template/cli/js/Page.stories.js
@@ -5,14 +5,14 @@ export default {
title: 'Example/Page',
component: Page,
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/react/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
};
export const LoggedOut = {};
-// More on interaction testing: https://storybook.js.org/docs/react/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/writing-tests/interaction-testing
export const LoggedIn = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/frameworks/nextjs/template/cli/ts-3-8/Button.stories.ts b/code/frameworks/nextjs/template/cli/ts-3-8/Button.stories.ts
index 7d049116d13f..c8d595982b78 100644
--- a/code/frameworks/nextjs/template/cli/ts-3-8/Button.stories.ts
+++ b/code/frameworks/nextjs/template/cli/ts-3-8/Button.stories.ts
@@ -2,17 +2,17 @@ import type { Meta, StoryObj } from '@storybook/react';
import { Button } from './Button';
-// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
+// More on how to set up stories at: https://storybook.js.org/docs/writing-stories/introduction#default-export
const meta: Meta = {
title: 'Example/Button',
component: Button,
parameters: {
- // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/react/configure/story-layout
+ // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/configure/story-layout
layout: 'centered',
},
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
- // More on argTypes: https://storybook.js.org/docs/react/api/argtypes
+ // More on argTypes: https://storybook.js.org/docs/api/argtypes
argTypes: {
backgroundColor: { control: 'color' },
},
@@ -21,7 +21,7 @@ const meta: Meta = {
export default meta;
type Story = StoryObj;
-// More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/writing-stories/args
export const Primary: Story = {
args: {
primary: true,
diff --git a/code/frameworks/nextjs/template/cli/ts-3-8/Configure.mdx b/code/frameworks/nextjs/template/cli/ts-3-8/Configure.mdx
index e05f151edf74..a0e938f053b7 100644
--- a/code/frameworks/nextjs/template/cli/ts-3-8/Configure.mdx
+++ b/code/frameworks/nextjs/template/cli/ts-3-8/Configure.mdx
@@ -52,7 +52,7 @@ export const RightArrow = () => Add styling and CSS
Like with web applications, there are many ways to include CSS within Storybook. Learn more about setting up styling within Storybook.
Learn more
@@ -67,7 +67,7 @@ export const RightArrow = () => Provide context and mocking
Often when a story doesn't render, it's because your component is expecting a specific environment or context (like a theme provider) to be available.
Learn more
@@ -85,7 +85,7 @@ export const RightArrow = () => Learn more
@@ -113,7 +113,7 @@ export const RightArrow = () => Auto-generate living,
interactive reference documentation from your components and stories.
Learn more
@@ -128,7 +128,7 @@ export const RightArrow = () => Publish to Chromatic
Publish your Storybook to review and collaborate with your entire team.
Learn more
@@ -144,7 +144,7 @@ export const RightArrow = () => Embed your stories into Figma to cross-reference the design and live
implementation in one place.
Learn more
@@ -160,7 +160,7 @@ export const RightArrow = () => Use stories to test a component in all its variations, no matter how
complex.
Learn more
@@ -175,7 +175,7 @@ export const RightArrow = () => Accessibility
Automatically test your components for a11y issues as you develop.
Theme Storybook's UI to personalize it to your project.
Learn more
diff --git a/code/frameworks/nextjs/template/cli/ts-3-8/Header.stories.ts b/code/frameworks/nextjs/template/cli/ts-3-8/Header.stories.ts
index 448685eab0eb..82a109720879 100644
--- a/code/frameworks/nextjs/template/cli/ts-3-8/Header.stories.ts
+++ b/code/frameworks/nextjs/template/cli/ts-3-8/Header.stories.ts
@@ -4,10 +4,10 @@ import { Header } from './Header';
const meta: Meta = {
title: 'Example/Header',
component: Header,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/react/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
};
diff --git a/code/frameworks/nextjs/template/cli/ts-3-8/Page.stories.ts b/code/frameworks/nextjs/template/cli/ts-3-8/Page.stories.ts
index c072a1cc43ed..4bcf593cafa7 100644
--- a/code/frameworks/nextjs/template/cli/ts-3-8/Page.stories.ts
+++ b/code/frameworks/nextjs/template/cli/ts-3-8/Page.stories.ts
@@ -7,7 +7,7 @@ const meta: Meta = {
title: 'Example/Page',
component: Page,
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/react/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
};
@@ -17,7 +17,7 @@ type Story = StoryObj;
export const LoggedOut: Story = {};
-// More on interaction testing: https://storybook.js.org/docs/react/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/writing-tests/interaction-testing
export const LoggedIn: Story = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/frameworks/nextjs/template/cli/ts-4-9/Button.stories.ts b/code/frameworks/nextjs/template/cli/ts-4-9/Button.stories.ts
index 7a68cbfec557..e1fcc8c553b5 100644
--- a/code/frameworks/nextjs/template/cli/ts-4-9/Button.stories.ts
+++ b/code/frameworks/nextjs/template/cli/ts-4-9/Button.stories.ts
@@ -2,17 +2,17 @@ import type { Meta, StoryObj } from '@storybook/react';
import { Button } from './Button';
-// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
+// More on how to set up stories at: https://storybook.js.org/docs/writing-stories/introduction#default-export
const meta = {
title: 'Example/Button',
component: Button,
parameters: {
- // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/react/configure/story-layout
+ // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/configure/story-layout
layout: 'centered',
},
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
- // More on argTypes: https://storybook.js.org/docs/react/api/argtypes
+ // More on argTypes: https://storybook.js.org/docs/api/argtypes
argTypes: {
backgroundColor: { control: 'color' },
},
@@ -21,7 +21,7 @@ const meta = {
export default meta;
type Story = StoryObj;
-// More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/writing-stories/args
export const Primary: Story = {
args: {
primary: true,
diff --git a/code/frameworks/nextjs/template/cli/ts-4-9/Configure.mdx b/code/frameworks/nextjs/template/cli/ts-4-9/Configure.mdx
index e05f151edf74..a0e938f053b7 100644
--- a/code/frameworks/nextjs/template/cli/ts-4-9/Configure.mdx
+++ b/code/frameworks/nextjs/template/cli/ts-4-9/Configure.mdx
@@ -52,7 +52,7 @@ export const RightArrow = () => Add styling and CSS
Like with web applications, there are many ways to include CSS within Storybook. Learn more about setting up styling within Storybook.
Learn more
@@ -67,7 +67,7 @@ export const RightArrow = () => Provide context and mocking
Often when a story doesn't render, it's because your component is expecting a specific environment or context (like a theme provider) to be available.
Learn more
@@ -85,7 +85,7 @@ export const RightArrow = () => Learn more
@@ -113,7 +113,7 @@ export const RightArrow = () => Auto-generate living,
interactive reference documentation from your components and stories.
Learn more
@@ -128,7 +128,7 @@ export const RightArrow = () => Publish to Chromatic
Publish your Storybook to review and collaborate with your entire team.
Learn more
@@ -144,7 +144,7 @@ export const RightArrow = () => Embed your stories into Figma to cross-reference the design and live
implementation in one place.
Learn more
@@ -160,7 +160,7 @@ export const RightArrow = () => Use stories to test a component in all its variations, no matter how
complex.
Learn more
@@ -175,7 +175,7 @@ export const RightArrow = () => Accessibility
Automatically test your components for a11y issues as you develop.
Theme Storybook's UI to personalize it to your project.
Learn more
diff --git a/code/frameworks/nextjs/template/cli/ts-4-9/Header.stories.ts b/code/frameworks/nextjs/template/cli/ts-4-9/Header.stories.ts
index b0766a5a4839..046982e62673 100644
--- a/code/frameworks/nextjs/template/cli/ts-4-9/Header.stories.ts
+++ b/code/frameworks/nextjs/template/cli/ts-4-9/Header.stories.ts
@@ -4,10 +4,10 @@ import { Header } from './Header';
const meta = {
title: 'Example/Header',
component: Header,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/react/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
} satisfies Meta;
diff --git a/code/frameworks/nextjs/template/cli/ts-4-9/Page.stories.ts b/code/frameworks/nextjs/template/cli/ts-4-9/Page.stories.ts
index 622858e72e7f..f7a06817f85a 100644
--- a/code/frameworks/nextjs/template/cli/ts-4-9/Page.stories.ts
+++ b/code/frameworks/nextjs/template/cli/ts-4-9/Page.stories.ts
@@ -7,7 +7,7 @@ const meta = {
title: 'Example/Page',
component: Page,
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/react/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
} satisfies Meta;
@@ -17,7 +17,7 @@ type Story = StoryObj;
export const LoggedOut: Story = {};
-// More on interaction testing: https://storybook.js.org/docs/react/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/writing-tests/interaction-testing
export const LoggedIn: Story = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/html/template/cli/js/Button.stories.js b/code/renderers/html/template/cli/js/Button.stories.js
index 62c96643b7ed..2fdaee940f1d 100644
--- a/code/renderers/html/template/cli/js/Button.stories.js
+++ b/code/renderers/html/template/cli/js/Button.stories.js
@@ -1,6 +1,6 @@
import { createButton } from './Button';
-// More on how to set up stories at: https://storybook.js.org/docs/html/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/writing-stories/introduction
export default {
title: 'Example/Button',
tags: ['autodocs'],
@@ -21,7 +21,7 @@ export default {
},
};
-// More on writing stories with args: https://storybook.js.org/docs/html/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/writing-stories/args
export const Primary = {
args: {
primary: true,
diff --git a/code/renderers/html/template/cli/js/Header.stories.js b/code/renderers/html/template/cli/js/Header.stories.js
index e593d18c3c90..44fa3cbbff46 100644
--- a/code/renderers/html/template/cli/js/Header.stories.js
+++ b/code/renderers/html/template/cli/js/Header.stories.js
@@ -2,14 +2,14 @@ import { createHeader } from './Header';
export default {
title: 'Example/Header',
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/html/writing-docs/autodocs
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
render: (args) => createHeader(args),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/html/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
- // More on argTypes: https://storybook.js.org/docs/html/api/argtypes
+ // More on argTypes: https://storybook.js.org/docs/api/argtypes
argTypes: {
onLogin: { action: 'onLogin' },
onLogout: { action: 'onLogout' },
diff --git a/code/renderers/html/template/cli/js/Page.stories.js b/code/renderers/html/template/cli/js/Page.stories.js
index fcab88181bee..38e8331ec791 100644
--- a/code/renderers/html/template/cli/js/Page.stories.js
+++ b/code/renderers/html/template/cli/js/Page.stories.js
@@ -5,14 +5,14 @@ export default {
title: 'Example/Page',
render: () => createPage(),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/html/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
};
export const LoggedOut = {};
-// More on interaction testing: https://storybook.js.org/docs/html/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/writing-tests/interaction-testing
export const LoggedIn = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/html/template/cli/ts-3-8/Button.stories.ts b/code/renderers/html/template/cli/ts-3-8/Button.stories.ts
index cd13a8c0c50c..94acb8bad142 100644
--- a/code/renderers/html/template/cli/ts-3-8/Button.stories.ts
+++ b/code/renderers/html/template/cli/ts-3-8/Button.stories.ts
@@ -2,7 +2,7 @@ import type { StoryObj, Meta } from '@storybook/html';
import type { ButtonProps } from './Button';
import { createButton } from './Button';
-// More on how to set up stories at: https://storybook.js.org/docs/html/writing-stories/introduction#default-export
+// More on how to set up stories at: https://storybook.js.org/docs/writing-stories/introduction#default-export
const meta: Meta = {
title: 'Example/Button',
tags: ['autodocs'],
@@ -26,7 +26,7 @@ const meta: Meta = {
export default meta;
type Story = StoryObj;
-// More on writing stories with args: https://storybook.js.org/docs/html/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/writing-stories/args
export const Primary: Story = {
args: {
primary: true,
diff --git a/code/renderers/html/template/cli/ts-3-8/Header.stories.ts b/code/renderers/html/template/cli/ts-3-8/Header.stories.ts
index d5391bb4a2a9..0bc5d9ce3aba 100644
--- a/code/renderers/html/template/cli/ts-3-8/Header.stories.ts
+++ b/code/renderers/html/template/cli/ts-3-8/Header.stories.ts
@@ -4,14 +4,14 @@ import { createHeader } from './Header';
const meta: Meta = {
title: 'Example/Header',
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/html/writing-docs/autodocs
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
render: (args) => createHeader(args),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/html/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
- // More on argTypes: https://storybook.js.org/docs/html/api/argtypes
+ // More on argTypes: https://storybook.js.org/docs/api/argtypes
argTypes: {
onLogin: { action: 'onLogin' },
onLogout: { action: 'onLogout' },
diff --git a/code/renderers/html/template/cli/ts-3-8/Page.stories.ts b/code/renderers/html/template/cli/ts-3-8/Page.stories.ts
index 0c2e79e8e907..ae132d98862d 100644
--- a/code/renderers/html/template/cli/ts-3-8/Page.stories.ts
+++ b/code/renderers/html/template/cli/ts-3-8/Page.stories.ts
@@ -6,7 +6,7 @@ const meta: Meta = {
title: 'Example/Page',
render: () => createPage(),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/html/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
};
@@ -15,7 +15,7 @@ export default meta;
export const LoggedOut: StoryObj = {};
-// More on interaction testing: https://storybook.js.org/docs/html/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/writing-tests/interaction-testing
export const LoggedIn: StoryObj = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/html/template/cli/ts-4-9/Button.stories.ts b/code/renderers/html/template/cli/ts-4-9/Button.stories.ts
index d9bb7c93b473..35be60e2e0a7 100644
--- a/code/renderers/html/template/cli/ts-4-9/Button.stories.ts
+++ b/code/renderers/html/template/cli/ts-4-9/Button.stories.ts
@@ -2,7 +2,7 @@ import type { StoryObj, Meta } from '@storybook/html';
import type { ButtonProps } from './Button';
import { createButton } from './Button';
-// More on how to set up stories at: https://storybook.js.org/docs/html/writing-stories/introduction#default-export
+// More on how to set up stories at: https://storybook.js.org/docs/writing-stories/introduction#default-export
const meta = {
title: 'Example/Button',
tags: ['autodocs'],
@@ -26,7 +26,7 @@ const meta = {
export default meta;
type Story = StoryObj;
-// More on writing stories with args: https://storybook.js.org/docs/html/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/writing-stories/args
export const Primary: Story = {
args: {
primary: true,
diff --git a/code/renderers/html/template/cli/ts-4-9/Header.stories.ts b/code/renderers/html/template/cli/ts-4-9/Header.stories.ts
index 930fc0ea2e7c..7570a625a869 100644
--- a/code/renderers/html/template/cli/ts-4-9/Header.stories.ts
+++ b/code/renderers/html/template/cli/ts-4-9/Header.stories.ts
@@ -4,14 +4,14 @@ import { createHeader } from './Header';
const meta = {
title: 'Example/Header',
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/html/writing-docs/autodocs
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
render: (args) => createHeader(args),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/html/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
- // More on argTypes: https://storybook.js.org/docs/html/api/argtypes
+ // More on argTypes: https://storybook.js.org/docs/api/argtypes
argTypes: {
onLogin: { action: 'onLogin' },
onLogout: { action: 'onLogout' },
diff --git a/code/renderers/html/template/cli/ts-4-9/Page.stories.ts b/code/renderers/html/template/cli/ts-4-9/Page.stories.ts
index c64a88fbb84f..4108dbc0d9c5 100644
--- a/code/renderers/html/template/cli/ts-4-9/Page.stories.ts
+++ b/code/renderers/html/template/cli/ts-4-9/Page.stories.ts
@@ -6,7 +6,7 @@ const meta = {
title: 'Example/Page',
render: () => createPage(),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/html/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
} satisfies Meta;
@@ -15,7 +15,7 @@ export default meta;
export const LoggedOut: StoryObj = {};
-// More on interaction testing: https://storybook.js.org/docs/html/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/writing-tests/interaction-testing
export const LoggedIn: StoryObj = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/preact/template/cli/Button.stories.jsx b/code/renderers/preact/template/cli/Button.stories.jsx
index f1e083a02030..528bd68d63fa 100644
--- a/code/renderers/preact/template/cli/Button.stories.jsx
+++ b/code/renderers/preact/template/cli/Button.stories.jsx
@@ -1,6 +1,6 @@
import { Button } from './Button';
-// More on how to set up stories at: https://storybook.js.org/docs/preact/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/writing-stories/introduction
export default {
title: 'Example/Button',
component: Button,
@@ -11,7 +11,7 @@ export default {
},
};
-// More on writing stories with args: https://storybook.js.org/docs/preact/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/writing-stories/args
export const Primary = {
args: {
primary: true,
diff --git a/code/renderers/preact/template/cli/Header.stories.jsx b/code/renderers/preact/template/cli/Header.stories.jsx
index 0fb4c57ada40..58b353a57db2 100644
--- a/code/renderers/preact/template/cli/Header.stories.jsx
+++ b/code/renderers/preact/template/cli/Header.stories.jsx
@@ -3,10 +3,10 @@ import { Header } from './Header';
export default {
title: 'Example/Header',
component: Header,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/preact/writing-docs/autodocs
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/preact/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
argTypes: {
diff --git a/code/renderers/preact/template/cli/Page.stories.jsx b/code/renderers/preact/template/cli/Page.stories.jsx
index 46669ac1c89d..67e60e684395 100644
--- a/code/renderers/preact/template/cli/Page.stories.jsx
+++ b/code/renderers/preact/template/cli/Page.stories.jsx
@@ -6,14 +6,14 @@ export default {
title: 'Example/Page',
component: Page,
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/preact/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
};
export const LoggedOut = {};
-// More on interaction testing: https://storybook.js.org/docs/preact/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/writing-tests/interaction-testing
export const LoggedIn = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/react/template/cli/js/Button.stories.js b/code/renderers/react/template/cli/js/Button.stories.js
index e085f9ed312f..91c2e07ebf62 100644
--- a/code/renderers/react/template/cli/js/Button.stories.js
+++ b/code/renderers/react/template/cli/js/Button.stories.js
@@ -1,22 +1,22 @@
import { Button } from './Button';
-// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
+// More on how to set up stories at: https://storybook.js.org/docs/writing-stories/introduction#default-export
export default {
title: 'Example/Button',
component: Button,
parameters: {
- // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/react/configure/story-layout
+ // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/configure/story-layout
layout: 'centered',
},
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
- // More on argTypes: https://storybook.js.org/docs/react/api/argtypes
+ // More on argTypes: https://storybook.js.org/docs/api/argtypes
argTypes: {
backgroundColor: { control: 'color' },
},
};
-// More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/writing-stories/args
export const Primary = {
args: {
primary: true,
diff --git a/code/renderers/react/template/cli/js/Header.stories.js b/code/renderers/react/template/cli/js/Header.stories.js
index 917384a22b58..16920e1be754 100644
--- a/code/renderers/react/template/cli/js/Header.stories.js
+++ b/code/renderers/react/template/cli/js/Header.stories.js
@@ -3,10 +3,10 @@ import { Header } from './Header';
export default {
title: 'Example/Header',
component: Header,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/react/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
};
diff --git a/code/renderers/react/template/cli/js/Page.stories.js b/code/renderers/react/template/cli/js/Page.stories.js
index 204189f6d21d..9be87c4ae2e0 100644
--- a/code/renderers/react/template/cli/js/Page.stories.js
+++ b/code/renderers/react/template/cli/js/Page.stories.js
@@ -6,14 +6,14 @@ export default {
title: 'Example/Page',
component: Page,
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/react/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
};
export const LoggedOut = {};
-// More on interaction testing: https://storybook.js.org/docs/react/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/writing-tests/interaction-testing
export const LoggedIn = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/react/template/cli/ts-3-8/Button.stories.ts b/code/renderers/react/template/cli/ts-3-8/Button.stories.ts
index 7d049116d13f..c8d595982b78 100644
--- a/code/renderers/react/template/cli/ts-3-8/Button.stories.ts
+++ b/code/renderers/react/template/cli/ts-3-8/Button.stories.ts
@@ -2,17 +2,17 @@ import type { Meta, StoryObj } from '@storybook/react';
import { Button } from './Button';
-// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
+// More on how to set up stories at: https://storybook.js.org/docs/writing-stories/introduction#default-export
const meta: Meta = {
title: 'Example/Button',
component: Button,
parameters: {
- // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/react/configure/story-layout
+ // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/configure/story-layout
layout: 'centered',
},
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
- // More on argTypes: https://storybook.js.org/docs/react/api/argtypes
+ // More on argTypes: https://storybook.js.org/docs/api/argtypes
argTypes: {
backgroundColor: { control: 'color' },
},
@@ -21,7 +21,7 @@ const meta: Meta = {
export default meta;
type Story = StoryObj;
-// More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/writing-stories/args
export const Primary: Story = {
args: {
primary: true,
diff --git a/code/renderers/react/template/cli/ts-3-8/Header.stories.ts b/code/renderers/react/template/cli/ts-3-8/Header.stories.ts
index d317636cab13..19e5e2c0f667 100644
--- a/code/renderers/react/template/cli/ts-3-8/Header.stories.ts
+++ b/code/renderers/react/template/cli/ts-3-8/Header.stories.ts
@@ -5,10 +5,10 @@ import { Header } from './Header';
const meta: Meta = {
title: 'Example/Header',
component: Header,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
parameters: {
- // More on Story layout: https://storybook.js.org/docs/react/configure/story-layout
+ // More on Story layout: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
};
diff --git a/code/renderers/react/template/cli/ts-3-8/Page.stories.ts b/code/renderers/react/template/cli/ts-3-8/Page.stories.ts
index adbab5d615f2..a3e9d76d90ec 100644
--- a/code/renderers/react/template/cli/ts-3-8/Page.stories.ts
+++ b/code/renderers/react/template/cli/ts-3-8/Page.stories.ts
@@ -7,7 +7,7 @@ const meta: Meta = {
title: 'Example/Page',
component: Page,
parameters: {
- // More on Story layout: https://storybook.js.org/docs/react/configure/story-layout
+ // More on Story layout: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
};
@@ -17,7 +17,7 @@ type Story = StoryObj;
export const LoggedOut: Story = {};
-// More on interaction testing: https://storybook.js.org/docs/react/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/writing-tests/interaction-testing
export const LoggedIn: Story = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/react/template/cli/ts-4-9/Button.stories.ts b/code/renderers/react/template/cli/ts-4-9/Button.stories.ts
index 7a68cbfec557..e1fcc8c553b5 100644
--- a/code/renderers/react/template/cli/ts-4-9/Button.stories.ts
+++ b/code/renderers/react/template/cli/ts-4-9/Button.stories.ts
@@ -2,17 +2,17 @@ import type { Meta, StoryObj } from '@storybook/react';
import { Button } from './Button';
-// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
+// More on how to set up stories at: https://storybook.js.org/docs/writing-stories/introduction#default-export
const meta = {
title: 'Example/Button',
component: Button,
parameters: {
- // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/react/configure/story-layout
+ // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/configure/story-layout
layout: 'centered',
},
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
- // More on argTypes: https://storybook.js.org/docs/react/api/argtypes
+ // More on argTypes: https://storybook.js.org/docs/api/argtypes
argTypes: {
backgroundColor: { control: 'color' },
},
@@ -21,7 +21,7 @@ const meta = {
export default meta;
type Story = StoryObj;
-// More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/writing-stories/args
export const Primary: Story = {
args: {
primary: true,
diff --git a/code/renderers/react/template/cli/ts-4-9/Header.stories.ts b/code/renderers/react/template/cli/ts-4-9/Header.stories.ts
index 458391a3501e..61cf98aa0c4e 100644
--- a/code/renderers/react/template/cli/ts-4-9/Header.stories.ts
+++ b/code/renderers/react/template/cli/ts-4-9/Header.stories.ts
@@ -5,10 +5,10 @@ import { Header } from './Header';
const meta = {
title: 'Example/Header',
component: Header,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/react/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
} satisfies Meta;
diff --git a/code/renderers/react/template/cli/ts-4-9/Page.stories.ts b/code/renderers/react/template/cli/ts-4-9/Page.stories.ts
index 622858e72e7f..f7a06817f85a 100644
--- a/code/renderers/react/template/cli/ts-4-9/Page.stories.ts
+++ b/code/renderers/react/template/cli/ts-4-9/Page.stories.ts
@@ -7,7 +7,7 @@ const meta = {
title: 'Example/Page',
component: Page,
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/react/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
} satisfies Meta;
@@ -17,7 +17,7 @@ type Story = StoryObj;
export const LoggedOut: Story = {};
-// More on interaction testing: https://storybook.js.org/docs/react/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/writing-tests/interaction-testing
export const LoggedIn: Story = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/svelte/template/cli/js/Button.stories.js b/code/renderers/svelte/template/cli/js/Button.stories.js
index cf6c2e371295..ab4c1d27f701 100644
--- a/code/renderers/svelte/template/cli/js/Button.stories.js
+++ b/code/renderers/svelte/template/cli/js/Button.stories.js
@@ -1,6 +1,6 @@
import Button from './Button.svelte';
-// More on how to set up stories at: https://storybook.js.org/docs/svelte/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/writing-stories/introduction
export default {
title: 'Example/Button',
component: Button,
@@ -14,7 +14,7 @@ export default {
},
};
-// More on writing stories with args: https://storybook.js.org/docs/svelte/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/writing-stories/args
export const Primary = {
args: {
primary: true,
diff --git a/code/renderers/svelte/template/cli/js/Header.stories.js b/code/renderers/svelte/template/cli/js/Header.stories.js
index 6d6caeb1e7ab..e2856c0e035c 100644
--- a/code/renderers/svelte/template/cli/js/Header.stories.js
+++ b/code/renderers/svelte/template/cli/js/Header.stories.js
@@ -3,10 +3,10 @@ import Header from './Header.svelte';
export default {
title: 'Example/Header',
component: Header,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/svelte/writing-docs/autodocs
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/svelte/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
};
diff --git a/code/renderers/svelte/template/cli/js/Page.stories.js b/code/renderers/svelte/template/cli/js/Page.stories.js
index a4492ae66631..b46831695fb9 100644
--- a/code/renderers/svelte/template/cli/js/Page.stories.js
+++ b/code/renderers/svelte/template/cli/js/Page.stories.js
@@ -6,14 +6,14 @@ export default {
title: 'Example/Page',
component: Page,
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/svelte/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
};
export const LoggedOut = {};
-// More on interaction testing: https://storybook.js.org/docs/svelte/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/writing-tests/interaction-testing
export const LoggedIn = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/svelte/template/cli/ts-3-8/Button.stories.ts b/code/renderers/svelte/template/cli/ts-3-8/Button.stories.ts
index 5e73d1be9006..2778f1779168 100644
--- a/code/renderers/svelte/template/cli/ts-3-8/Button.stories.ts
+++ b/code/renderers/svelte/template/cli/ts-3-8/Button.stories.ts
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/svelte';
import Button from './Button.svelte';
-// More on how to set up stories at: https://storybook.js.org/docs/svelte/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/writing-stories/introduction
const meta: Meta = {
title: 'Example/Button',
component: Button,
@@ -19,7 +19,7 @@ const meta: Meta = {
export default meta;
type Story = StoryObj;
-// More on writing stories with args: https://storybook.js.org/docs/svelte/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/writing-stories/args
export const Primary: Story = {
args: {
primary: true,
diff --git a/code/renderers/svelte/template/cli/ts-3-8/Header.stories.ts b/code/renderers/svelte/template/cli/ts-3-8/Header.stories.ts
index 9ea90ce8495e..d5978315ebde 100644
--- a/code/renderers/svelte/template/cli/ts-3-8/Header.stories.ts
+++ b/code/renderers/svelte/template/cli/ts-3-8/Header.stories.ts
@@ -4,10 +4,10 @@ import Header from './Header.svelte';
const meta: Meta = {
title: 'Example/Header',
component: Header,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/svelte/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
};
diff --git a/code/renderers/svelte/template/cli/ts-3-8/Page.stories.ts b/code/renderers/svelte/template/cli/ts-3-8/Page.stories.ts
index 82e49cd3be09..2283c6c74abe 100644
--- a/code/renderers/svelte/template/cli/ts-3-8/Page.stories.ts
+++ b/code/renderers/svelte/template/cli/ts-3-8/Page.stories.ts
@@ -7,7 +7,7 @@ const meta: Meta = {
title: 'Example/Page',
component: Page,
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/svelte/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
};
@@ -17,7 +17,7 @@ type Story = StoryObj;
export const LoggedOut: Story = {};
-// More on interaction testing: https://storybook.js.org/docs/svelte/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/writing-tests/interaction-testing
export const LoggedIn: Story = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/svelte/template/cli/ts-4-9/Button.stories.ts b/code/renderers/svelte/template/cli/ts-4-9/Button.stories.ts
index 93e3fc8c0aba..0ca1472281db 100644
--- a/code/renderers/svelte/template/cli/ts-4-9/Button.stories.ts
+++ b/code/renderers/svelte/template/cli/ts-4-9/Button.stories.ts
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/svelte';
import Button from './Button.svelte';
-// More on how to set up stories at: https://storybook.js.org/docs/svelte/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/writing-stories/introduction
const meta = {
title: 'Example/Button',
component: Button,
@@ -19,7 +19,7 @@ const meta = {
export default meta;
type Story = StoryObj;
-// More on writing stories with args: https://storybook.js.org/docs/svelte/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/writing-stories/args
export const Primary: Story = {
args: {
primary: true,
diff --git a/code/renderers/svelte/template/cli/ts-4-9/Header.stories.ts b/code/renderers/svelte/template/cli/ts-4-9/Header.stories.ts
index c77812ca13ee..a7ffe757d164 100644
--- a/code/renderers/svelte/template/cli/ts-4-9/Header.stories.ts
+++ b/code/renderers/svelte/template/cli/ts-4-9/Header.stories.ts
@@ -4,10 +4,10 @@ import Header from './Header.svelte';
const meta = {
title: 'Example/Header',
component: Header,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/svelte/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
} satisfies Meta;
diff --git a/code/renderers/svelte/template/cli/ts-4-9/Page.stories.ts b/code/renderers/svelte/template/cli/ts-4-9/Page.stories.ts
index d7e97628ea24..ace35ddb275d 100644
--- a/code/renderers/svelte/template/cli/ts-4-9/Page.stories.ts
+++ b/code/renderers/svelte/template/cli/ts-4-9/Page.stories.ts
@@ -7,7 +7,7 @@ const meta = {
title: 'Example/Page',
component: Page,
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/svelte/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
} satisfies Meta;
@@ -17,7 +17,7 @@ type Story = StoryObj;
export const LoggedOut: Story = {};
-// More on interaction testing: https://storybook.js.org/docs/svelte/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/writing-tests/interaction-testing
export const LoggedIn: Story = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/vue/template/cli/Button.stories.js b/code/renderers/vue/template/cli/Button.stories.js
index 8863978b1215..c11632fe1ffe 100644
--- a/code/renderers/vue/template/cli/Button.stories.js
+++ b/code/renderers/vue/template/cli/Button.stories.js
@@ -1,6 +1,6 @@
import MyButton from './Button.vue';
-// More on how to set up stories at: https://storybook.js.org/docs/vue/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/writing-stories/introduction
export default {
title: 'Example/Button',
component: MyButton,
@@ -19,7 +19,7 @@ export default {
},
};
-// More on writing stories with args: https://storybook.js.org/docs/vue/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/writing-stories/args
export const Primary = {
args: {
primary: true,
diff --git a/code/renderers/vue/template/cli/Header.stories.js b/code/renderers/vue/template/cli/Header.stories.js
index 428f0b087ab9..553cd469b48b 100644
--- a/code/renderers/vue/template/cli/Header.stories.js
+++ b/code/renderers/vue/template/cli/Header.stories.js
@@ -3,7 +3,7 @@ import MyHeader from './Header.vue';
export default {
title: 'Example/Header',
component: MyHeader,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/vue/writing-docs/autodocs
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
render: (args, { argTypes }) => ({
props: Object.keys(argTypes),
@@ -14,7 +14,7 @@ export default {
'',
}),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/vue/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
};
diff --git a/code/renderers/vue/template/cli/Page.stories.js b/code/renderers/vue/template/cli/Page.stories.js
index 5e9b6ffa7318..e0b3309c2512 100644
--- a/code/renderers/vue/template/cli/Page.stories.js
+++ b/code/renderers/vue/template/cli/Page.stories.js
@@ -9,13 +9,13 @@ export default {
template: '',
}),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/vue/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
};
export const LoggedOut = {};
-// More on interaction testing: https://storybook.js.org/docs/vue/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/writing-tests/interaction-testing
export const LoggedIn = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/vue3/template/cli/js/Button.stories.js b/code/renderers/vue3/template/cli/js/Button.stories.js
index 9f43ad58ce83..efb4987fc23a 100644
--- a/code/renderers/vue3/template/cli/js/Button.stories.js
+++ b/code/renderers/vue3/template/cli/js/Button.stories.js
@@ -1,6 +1,6 @@
import MyButton from './Button.vue';
-// More on how to set up stories at: https://storybook.js.org/docs/vue/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/writing-stories/introduction
export default {
title: 'Example/Button',
component: MyButton,
@@ -19,7 +19,7 @@ export default {
},
};
-// More on writing stories with args: https://storybook.js.org/docs/vue/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/writing-stories/args
export const Primary = {
args: {
primary: true,
diff --git a/code/renderers/vue3/template/cli/js/Header.stories.js b/code/renderers/vue3/template/cli/js/Header.stories.js
index 61e6906ea988..380492e24b24 100644
--- a/code/renderers/vue3/template/cli/js/Header.stories.js
+++ b/code/renderers/vue3/template/cli/js/Header.stories.js
@@ -3,7 +3,7 @@ import MyHeader from './Header.vue';
export default {
title: 'Example/Header',
component: MyHeader,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/vue/writing-docs/autodocs
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
render: (args) => ({
// Components used in your story `template` are defined in the `components` object
@@ -21,7 +21,7 @@ export default {
template: '',
}),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/vue/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
};
diff --git a/code/renderers/vue3/template/cli/js/Page.stories.js b/code/renderers/vue3/template/cli/js/Page.stories.js
index 3c4ce9312539..beee806852fe 100644
--- a/code/renderers/vue3/template/cli/js/Page.stories.js
+++ b/code/renderers/vue3/template/cli/js/Page.stories.js
@@ -5,14 +5,14 @@ export default {
title: 'Example/Page',
component: MyPage,
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/vue/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
};
export const LoggedOut = {};
-// More on interaction testing: https://storybook.js.org/docs/vue/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/writing-tests/interaction-testing
export const LoggedIn = {
render: () => ({
components: {
diff --git a/code/renderers/vue3/template/cli/ts-3-8/Button.stories.ts b/code/renderers/vue3/template/cli/ts-3-8/Button.stories.ts
index f80cb01045db..d9b2bd808fbb 100644
--- a/code/renderers/vue3/template/cli/ts-3-8/Button.stories.ts
+++ b/code/renderers/vue3/template/cli/ts-3-8/Button.stories.ts
@@ -2,11 +2,11 @@ import type { Meta, StoryObj } from '@storybook/vue3';
import Button from './Button.vue';
-// More on how to set up stories at: https://storybook.js.org/docs/vue/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/writing-stories/introduction
const meta: Meta = {
title: 'Example/Button',
component: Button,
- // This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/vue/writing-docs/autodocs
+ // This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
argTypes: {
size: { control: 'select', options: ['small', 'medium', 'large'] },
@@ -20,7 +20,7 @@ export default meta;
type Story = StoryObj;
/*
*👇 Render functions are a framework specific feature to allow you control on how the component renders.
- * See https://storybook.js.org/docs/vue/api/csf
+ * See https://storybook.js.org/docs/api/csf
* to learn how to use render functions.
*/
export const Primary: Story = {
diff --git a/code/renderers/vue3/template/cli/ts-3-8/Header.stories.ts b/code/renderers/vue3/template/cli/ts-3-8/Header.stories.ts
index 17f2ca4ff6e6..7a04abea44ae 100644
--- a/code/renderers/vue3/template/cli/ts-3-8/Header.stories.ts
+++ b/code/renderers/vue3/template/cli/ts-3-8/Header.stories.ts
@@ -4,7 +4,7 @@ import MyHeader from './Header.vue';
const meta: Meta = {
/* 👇 The title prop is optional.
- * See https://storybook.js.org/docs/vue/configure/overview#configure-story-loading
+ * See https://storybook.js.org/docs/configure/overview#configure-story-loading
* to learn how to generate automatic titles
*/
title: 'Example/Header',
@@ -17,10 +17,10 @@ const meta: Meta = {
template: '',
}),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/react/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
- // This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/vue/writing-docs/autodocs
+ // This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
};
diff --git a/code/renderers/vue3/template/cli/ts-3-8/Page.stories.ts b/code/renderers/vue3/template/cli/ts-3-8/Page.stories.ts
index c26e06d2d0de..c8997dd8dbe9 100644
--- a/code/renderers/vue3/template/cli/ts-3-8/Page.stories.ts
+++ b/code/renderers/vue3/template/cli/ts-3-8/Page.stories.ts
@@ -10,17 +10,17 @@ const meta: Meta = {
template: '',
}),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/vue/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
- // This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/vue/writing-docs/autodocs
+ // This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
};
export default meta;
type Story = StoryObj;
-// More on interaction testing: https://storybook.js.org/docs/vue/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/writing-tests/interaction-testing
export const LoggedIn: Story = {
play: async ({ canvasElement }: any) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/vue3/template/cli/ts-4-9/Button.stories.ts b/code/renderers/vue3/template/cli/ts-4-9/Button.stories.ts
index c414d4a7b0a6..4740451f0cdf 100644
--- a/code/renderers/vue3/template/cli/ts-4-9/Button.stories.ts
+++ b/code/renderers/vue3/template/cli/ts-4-9/Button.stories.ts
@@ -2,11 +2,11 @@ import type { Meta, StoryObj } from '@storybook/vue3';
import Button from './Button.vue';
-// More on how to set up stories at: https://storybook.js.org/docs/vue/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/writing-stories/introduction
const meta = {
title: 'Example/Button',
component: Button,
- // This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/vue/writing-docs/autodocs
+ // This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
argTypes: {
size: { control: 'select', options: ['small', 'medium', 'large'] },
@@ -20,7 +20,7 @@ export default meta;
type Story = StoryObj;
/*
*👇 Render functions are a framework specific feature to allow you control on how the component renders.
- * See https://storybook.js.org/docs/vue/api/csf
+ * See https://storybook.js.org/docs/api/csf
* to learn how to use render functions.
*/
export const Primary: Story = {
diff --git a/code/renderers/vue3/template/cli/ts-4-9/Header.stories.ts b/code/renderers/vue3/template/cli/ts-4-9/Header.stories.ts
index 8626c1f529bf..69a0f02df272 100644
--- a/code/renderers/vue3/template/cli/ts-4-9/Header.stories.ts
+++ b/code/renderers/vue3/template/cli/ts-4-9/Header.stories.ts
@@ -4,7 +4,7 @@ import MyHeader from './Header.vue';
const meta = {
/* 👇 The title prop is optional.
- * See https://storybook.js.org/docs/vue/configure/overview#configure-story-loading
+ * See https://storybook.js.org/docs/configure/overview#configure-story-loading
* to learn how to generate automatic titles
*/
title: 'Example/Header',
@@ -17,10 +17,10 @@ const meta = {
template: '',
}),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/react/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
- // This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/vue/writing-docs/autodocs
+ // This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
} satisfies Meta;
diff --git a/code/renderers/vue3/template/cli/ts-4-9/Page.stories.ts b/code/renderers/vue3/template/cli/ts-4-9/Page.stories.ts
index 2bf745b21f21..96b7b67285e7 100644
--- a/code/renderers/vue3/template/cli/ts-4-9/Page.stories.ts
+++ b/code/renderers/vue3/template/cli/ts-4-9/Page.stories.ts
@@ -10,17 +10,17 @@ const meta = {
template: '',
}),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/vue/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
- // This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/vue/writing-docs/autodocs
+ // This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
} satisfies Meta;
export default meta;
type Story = StoryObj;
-// More on interaction testing: https://storybook.js.org/docs/vue/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/writing-tests/interaction-testing
export const LoggedIn: Story = {
play: async ({ canvasElement }: any) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/web-components/template/cli/js/Button.stories.js b/code/renderers/web-components/template/cli/js/Button.stories.js
index 7ee384b7ce4c..f163c31c0093 100644
--- a/code/renderers/web-components/template/cli/js/Button.stories.js
+++ b/code/renderers/web-components/template/cli/js/Button.stories.js
@@ -1,6 +1,6 @@
import { Button } from './Button';
-// More on how to set up stories at: https://storybook.js.org/docs/web-components/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/writing-stories/introduction
export default {
title: 'Example/Button',
tags: ['autodocs'],
@@ -15,7 +15,7 @@ export default {
},
};
-// More on writing stories with args: https://storybook.js.org/docs/web-components/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/writing-stories/args
export const Primary = {
args: {
primary: true,
diff --git a/code/renderers/web-components/template/cli/js/Page.stories.js b/code/renderers/web-components/template/cli/js/Page.stories.js
index 91cc0239c73e..584f8434fa13 100644
--- a/code/renderers/web-components/template/cli/js/Page.stories.js
+++ b/code/renderers/web-components/template/cli/js/Page.stories.js
@@ -8,7 +8,7 @@ export default {
export const LoggedIn = {
args: {
- // More on composing args: https://storybook.js.org/docs/web-components/writing-stories/args#args-composition
+ // More on composing args: https://storybook.js.org/docs/writing-stories/args#args-composition
...HeaderStories.LoggedIn.args,
},
};
diff --git a/code/renderers/web-components/template/cli/ts-3-8/Button.stories.ts b/code/renderers/web-components/template/cli/ts-3-8/Button.stories.ts
index 1308c5384b88..61725216cdf7 100644
--- a/code/renderers/web-components/template/cli/ts-3-8/Button.stories.ts
+++ b/code/renderers/web-components/template/cli/ts-3-8/Button.stories.ts
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/web-components';
import type { ButtonProps } from './Button';
import { Button } from './Button';
-// More on how to set up stories at: https://storybook.js.org/docs/web-components/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/writing-stories/introduction
const meta: Meta = {
title: 'Example/Button',
tags: ['autodocs'],
@@ -20,7 +20,7 @@ const meta: Meta = {
export default meta;
type Story = StoryObj;
-// More on writing stories with args: https://storybook.js.org/docs/web-components/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/writing-stories/args
export const Primary: Story = {
args: {
primary: true,
diff --git a/code/renderers/web-components/template/cli/ts-3-8/Header.stories.ts b/code/renderers/web-components/template/cli/ts-3-8/Header.stories.ts
index 441a70d4ed41..aab89ba6a4b3 100644
--- a/code/renderers/web-components/template/cli/ts-3-8/Header.stories.ts
+++ b/code/renderers/web-components/template/cli/ts-3-8/Header.stories.ts
@@ -4,7 +4,7 @@ import { Header } from './Header';
const meta: Meta = {
title: 'Example/Header',
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/web-components/writing-docs/autodocs
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
render: (args: HeaderProps) => Header(args),
};
diff --git a/code/renderers/web-components/template/cli/ts-3-8/Page.stories.ts b/code/renderers/web-components/template/cli/ts-3-8/Page.stories.ts
index 43ecfdccf450..2efe2204703e 100644
--- a/code/renderers/web-components/template/cli/ts-3-8/Page.stories.ts
+++ b/code/renderers/web-components/template/cli/ts-3-8/Page.stories.ts
@@ -14,7 +14,7 @@ type Story = StoryObj;
export const LoggedIn: Story = {
args: {
- // More on composing args: https://storybook.js.org/docs/web-components/writing-stories/args#args-composition
+ // More on composing args: https://storybook.js.org/docs/writing-stories/args#args-composition
...HeaderStories.LoggedIn.args,
},
};
diff --git a/code/renderers/web-components/template/cli/ts-4-9/Button.stories.ts b/code/renderers/web-components/template/cli/ts-4-9/Button.stories.ts
index 985def53f1b2..ccc8fe31785a 100644
--- a/code/renderers/web-components/template/cli/ts-4-9/Button.stories.ts
+++ b/code/renderers/web-components/template/cli/ts-4-9/Button.stories.ts
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/web-components';
import type { ButtonProps } from './Button';
import { Button } from './Button';
-// More on how to set up stories at: https://storybook.js.org/docs/web-components/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/writing-stories/introduction
const meta = {
title: 'Example/Button',
tags: ['autodocs'],
@@ -20,7 +20,7 @@ const meta = {
export default meta;
type Story = StoryObj;
-// More on writing stories with args: https://storybook.js.org/docs/web-components/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/writing-stories/args
export const Primary: Story = {
args: {
primary: true,
diff --git a/code/renderers/web-components/template/cli/ts-4-9/Header.stories.ts b/code/renderers/web-components/template/cli/ts-4-9/Header.stories.ts
index 066b097f56dc..628e199db1f4 100644
--- a/code/renderers/web-components/template/cli/ts-4-9/Header.stories.ts
+++ b/code/renderers/web-components/template/cli/ts-4-9/Header.stories.ts
@@ -4,7 +4,7 @@ import { Header } from './Header';
const meta = {
title: 'Example/Header',
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/web-components/writing-docs/autodocs
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
render: (args: HeaderProps) => Header(args),
} satisfies Meta;
diff --git a/code/renderers/web-components/template/cli/ts-4-9/Page.stories.ts b/code/renderers/web-components/template/cli/ts-4-9/Page.stories.ts
index aa29295eeb28..bf9fef3fce58 100644
--- a/code/renderers/web-components/template/cli/ts-4-9/Page.stories.ts
+++ b/code/renderers/web-components/template/cli/ts-4-9/Page.stories.ts
@@ -14,7 +14,7 @@ type Story = StoryObj;
export const LoggedIn: Story = {
args: {
- // More on composing args: https://storybook.js.org/docs/web-components/writing-stories/args#args-composition
+ // More on composing args: https://storybook.js.org/docs/writing-stories/args#args-composition
...HeaderStories.LoggedIn.args,
},
};