diff --git a/.github/workflows/generate-repros-next.yml b/.github/workflows/generate-repros-next.yml
index 272671f4c666..ece05518d10b 100644
--- a/.github/workflows/generate-repros-next.yml
+++ b/.github/workflows/generate-repros-next.yml
@@ -8,7 +8,6 @@ on:
push:
branches:
- vite-frameworks-xyz
- - norbert/sb-565-javascript
jobs:
generate:
@@ -27,7 +26,7 @@ jobs:
- name: Install dependencies
run: node ./scripts/check-dependencies.js
- name: Bootstrap Storybook libraries
- run: yarn task --task compile --start-from=auto --no-link
+ run: yarn task --task publish --start-from=auto --no-link
- name: Generate repros
run: yarn generate-repros-next --local-registry
working-directory: ./code
diff --git a/code/addons/actions/template/stories/argtype.stories.ts b/code/addons/actions/template/stories/argtype.stories.ts
index bc1311bafdfe..1f04316f7dff 100644
--- a/code/addons/actions/template/stories/argtype.stories.ts
+++ b/code/addons/actions/template/stories/argtype.stories.ts
@@ -3,7 +3,7 @@ import globalThis from 'global';
export default {
component: globalThis.Components.Button,
args: {
- children: 'Click Me!',
+ label: 'Click Me!',
},
argTypes: {
onClick: {},
diff --git a/code/addons/actions/template/stories/basics.stories.ts b/code/addons/actions/template/stories/basics.stories.ts
index 08e2fa743072..86523878728e 100644
--- a/code/addons/actions/template/stories/basics.stories.ts
+++ b/code/addons/actions/template/stories/basics.stories.ts
@@ -5,7 +5,7 @@ import { action } from '@storybook/addon-actions';
export default {
component: globalThis.Components.Button,
args: {
- children: 'Click Me!',
+ label: 'Click Me!',
},
parameters: {
chromatic: { disable: true },
diff --git a/code/addons/actions/template/stories/configs.stories.ts b/code/addons/actions/template/stories/configs.stories.ts
index b9ae404d4d34..51ccac3b0084 100644
--- a/code/addons/actions/template/stories/configs.stories.ts
+++ b/code/addons/actions/template/stories/configs.stories.ts
@@ -7,7 +7,7 @@ const configs = actions('actionA', 'actionB', 'actionC');
export default {
component: globalThis.Components.Button,
args: {
- children: 'Click Me!',
+ label: 'Click Me!',
},
parameters: {
chromatic: { disable: true },
diff --git a/code/addons/actions/template/stories/parameters.stories.ts b/code/addons/actions/template/stories/parameters.stories.ts
index 8ec8cb371865..abe30ad3960c 100644
--- a/code/addons/actions/template/stories/parameters.stories.ts
+++ b/code/addons/actions/template/stories/parameters.stories.ts
@@ -3,7 +3,7 @@ import globalThis from 'global';
export default {
component: globalThis.Components.Button,
args: {
- children: 'Click Me!',
+ label: 'Click Me!',
},
parameters: {
chromatic: { disable: true },
diff --git a/code/addons/backgrounds/template/stories/grid.stories.ts b/code/addons/backgrounds/template/stories/grid.stories.ts
index f69be73bbfd7..e6a75a1dba76 100644
--- a/code/addons/backgrounds/template/stories/grid.stories.ts
+++ b/code/addons/backgrounds/template/stories/grid.stories.ts
@@ -3,7 +3,7 @@ import globalThis from 'global';
export default {
component: globalThis.Components.Button,
args: {
- children: 'Click Me!',
+ label: 'Click Me!',
},
parameters: {
backgrounds: {
diff --git a/code/addons/backgrounds/template/stories/parameters.stories.ts b/code/addons/backgrounds/template/stories/parameters.stories.ts
index 06af6455ff28..1d57ea959143 100644
--- a/code/addons/backgrounds/template/stories/parameters.stories.ts
+++ b/code/addons/backgrounds/template/stories/parameters.stories.ts
@@ -12,7 +12,7 @@ const COLORS = [
export default {
component: globalThis.Components.Button,
args: {
- children: 'Click Me!',
+ label: 'Click Me!',
},
parameters: {
backgrounds: {
diff --git a/code/addons/docs/template/stories/docs2/button.stories.ts b/code/addons/docs/template/stories/docs2/button.stories.ts
index 2c2de80caa51..5119c70b7e61 100644
--- a/code/addons/docs/template/stories/docs2/button.stories.ts
+++ b/code/addons/docs/template/stories/docs2/button.stories.ts
@@ -9,13 +9,13 @@ export default {
};
export const Basic = {
- args: { children: 'Basic' },
+ args: { label: 'Basic' },
};
export const One = {
- args: { children: 'One' },
+ args: { label: 'One' },
};
export const Two = {
- args: { children: 'Two' },
+ args: { label: 'Two' },
};
diff --git a/code/addons/docs/template/stories/docspage/basic.stories.ts b/code/addons/docs/template/stories/docspage/basic.stories.ts
index 03bf9371aedd..36f2ca2ca7a4 100644
--- a/code/addons/docs/template/stories/docspage/basic.stories.ts
+++ b/code/addons/docs/template/stories/docspage/basic.stories.ts
@@ -2,19 +2,19 @@ import globalThis from 'global';
export default {
component: globalThis.Components.Button,
- args: { children: 'Click Me!' },
+ args: { label: 'Click Me!' },
parameters: { chromatic: { disable: true } },
};
export const Basic = {
- args: { children: 'Basic' },
+ args: { label: 'Basic' },
};
export const Disabled = {
- args: { children: 'Disabled in DocsPage' },
+ args: { label: 'Disabled in DocsPage' },
parameters: { docs: { disable: true } },
};
export const Another = {
- args: { children: 'Another' },
+ args: { label: 'Another' },
};
diff --git a/code/addons/docs/template/stories/docspage/description.stories.ts b/code/addons/docs/template/stories/docspage/description.stories.ts
index 46918806038e..5e9dae4ab56a 100644
--- a/code/addons/docs/template/stories/docspage/description.stories.ts
+++ b/code/addons/docs/template/stories/docspage/description.stories.ts
@@ -6,7 +6,7 @@ export default {
subcomponents: {
Pre: globalThis.Components.Pre,
},
- args: { children: 'Click Me!' },
+ args: { label: 'Click Me!' },
parameters: {
docs: {
description: {
diff --git a/code/addons/docs/template/stories/docspage/extract-description.stories.ts b/code/addons/docs/template/stories/docspage/extract-description.stories.ts
index 068c60a2cc71..89bc6355f089 100644
--- a/code/addons/docs/template/stories/docspage/extract-description.stories.ts
+++ b/code/addons/docs/template/stories/docspage/extract-description.stories.ts
@@ -2,7 +2,7 @@ import globalThis from 'global';
export default {
component: globalThis.Components.Button,
- args: { children: 'Click Me!' },
+ args: { label: 'Click Me!' },
parameters: {
docs: {
// FIXME: this is typically provided by the renderer preset to extract
diff --git a/code/addons/docs/template/stories/docspage/iframe.stories.ts b/code/addons/docs/template/stories/docspage/iframe.stories.ts
index e1fb4bb43524..8cd7caa65a67 100644
--- a/code/addons/docs/template/stories/docspage/iframe.stories.ts
+++ b/code/addons/docs/template/stories/docspage/iframe.stories.ts
@@ -2,7 +2,7 @@ import globalThis from 'global';
export default {
component: globalThis.Components.Button,
- args: { children: 'Rendered in iframe' },
+ args: { label: 'Rendered in iframe' },
parameters: {
chromatic: { disable: true },
docs: { iframeHeight: 120, inlineStories: true },
diff --git a/code/addons/docs/template/stories/docspage/override.stories.ts b/code/addons/docs/template/stories/docspage/override.stories.ts
index fd044c11ead7..9b33668b8840 100644
--- a/code/addons/docs/template/stories/docspage/override.stories.ts
+++ b/code/addons/docs/template/stories/docspage/override.stories.ts
@@ -15,7 +15,7 @@ const Override = () => 'overridden';
export default {
component: globalThis.Components.Button,
- args: { children: 'Click Me!' },
+ args: { label: 'Click Me!' },
parameters: {
chromatic: { disable: true },
docs: { page: Override },
diff --git a/code/addons/docs/template/stories/docspage/source.stories.ts b/code/addons/docs/template/stories/docspage/source.stories.ts
index eabfd2555c1d..93260bc1ceb8 100644
--- a/code/addons/docs/template/stories/docspage/source.stories.ts
+++ b/code/addons/docs/template/stories/docspage/source.stories.ts
@@ -2,7 +2,7 @@ import globalThis from 'global';
export default {
component: globalThis.Components.Button,
- args: { children: 'Click Me!' },
+ args: { label: 'Click Me!' },
parameters: { chromatic: { disable: true } },
};
diff --git a/code/addons/docs/template/stories/stories-mdx/basic.stories.mdx b/code/addons/docs/template/stories/stories-mdx/basic.stories.mdx
index 27236621aeb9..55ab7cbb650f 100644
--- a/code/addons/docs/template/stories/stories-mdx/basic.stories.mdx
+++ b/code/addons/docs/template/stories/stories-mdx/basic.stories.mdx
@@ -10,9 +10,7 @@ This file demonstrates defining stories inside MDX.
@@ -21,8 +19,6 @@ This file demonstrates defining stories inside MDX.
diff --git a/code/addons/docs/template/stories/stories-mdx/csf-in-mdx.stories.js b/code/addons/docs/template/stories/stories-mdx/csf-in-mdx.stories.js
index 52e186f186c3..6e6ff8f58ed8 100644
--- a/code/addons/docs/template/stories/stories-mdx/csf-in-mdx.stories.js
+++ b/code/addons/docs/template/stories/stories-mdx/csf-in-mdx.stories.js
@@ -8,13 +8,13 @@
// };
export const Primary = {
- args: { children: 'Primary' },
+ args: { label: 'Primary' },
};
export const Secondary = {
- args: { children: 'Secondary' },
+ args: { label: 'Secondary' },
};
export const ImplicitName = {
- args: { children: 'Implicit Name' },
+ args: { label: 'Implicit Name' },
};
diff --git a/code/addons/docs/template/stories/stories-mdx/play-functions.stories.mdx b/code/addons/docs/template/stories/stories-mdx/play-functions.stories.mdx
index ac65c995420f..7f1ca5cbdfbf 100644
--- a/code/addons/docs/template/stories/stories-mdx/play-functions.stories.mdx
+++ b/code/addons/docs/template/stories/stories-mdx/play-functions.stories.mdx
@@ -15,18 +15,14 @@ This file demonstrates defining stories inside MDX.
diff --git a/code/addons/links/template/stories/linkto.stories.ts b/code/addons/links/template/stories/linkto.stories.ts
index d5b80d102446..09066ccfc86a 100644
--- a/code/addons/links/template/stories/linkto.stories.ts
+++ b/code/addons/links/template/stories/linkto.stories.ts
@@ -4,7 +4,7 @@ import { linkTo } from '@storybook/addon-links';
export default {
component: globalThis.Components.Button,
args: {
- children: 'Click Me!',
+ label: 'Click Me!',
},
parameters: {
chromatic: { disable: true },
diff --git a/code/addons/viewport/template/stories/parameters.stories.ts b/code/addons/viewport/template/stories/parameters.stories.ts
index 9eb982f1ef74..03b2b9e264c9 100644
--- a/code/addons/viewport/template/stories/parameters.stories.ts
+++ b/code/addons/viewport/template/stories/parameters.stories.ts
@@ -4,7 +4,7 @@ import { MINIMAL_VIEWPORTS } from '@storybook/addon-viewport';
export default {
component: globalThis.Components.Button,
args: {
- children: 'Click Me!',
+ label: 'Click Me!',
},
parameters: {
viewport: {
diff --git a/code/frameworks/angular/template/stories/angular-mdx.stories.mdx b/code/frameworks/angular/template/stories/angular-mdx.stories.mdx
index d21169828d37..29b008efd4ba 100644
--- a/code/frameworks/angular/template/stories/angular-mdx.stories.mdx
+++ b/code/frameworks/angular/template/stories/angular-mdx.stories.mdx
@@ -15,9 +15,9 @@ export const Button = globalThis.Components.Button;