diff --git a/code/addons/docs/template/stories/docspage/basic.stories.ts b/code/addons/docs/template/stories/docspage/basic.stories.ts index 46d78074ecf..58a24a2eb47 100644 --- a/code/addons/docs/template/stories/docspage/basic.stories.ts +++ b/code/addons/docs/template/stories/docspage/basic.stories.ts @@ -7,15 +7,24 @@ export default { parameters: { chromatic: { disable: true } }, }; +/** + * A basic button + */ export const Basic = { args: { label: 'Basic' }, }; +/** + * Won't show up in DocsPage + */ export const Disabled = { args: { label: 'Disabled in DocsPage' }, parameters: { docs: { disable: true } }, }; +/** + * Another button, just to show multiple stories + */ export const Another = { args: { label: 'Another' }, }; diff --git a/code/ui/blocks/src/controls/Boolean.stories.tsx b/code/ui/blocks/src/controls/Boolean.stories.tsx index 2e1288bde82..b88cd3def47 100644 --- a/code/ui/blocks/src/controls/Boolean.stories.tsx +++ b/code/ui/blocks/src/controls/Boolean.stories.tsx @@ -4,6 +4,7 @@ import { BooleanControl } from './Boolean'; export default { title: 'Controls/Boolean', component: BooleanControl, + tags: ['docsPage'], }; const Template = (initialValue?: boolean) => { @@ -20,4 +21,7 @@ export const True = () => Template(true); export const False = () => Template(false); +/** + * When no value is set on the control + */ export const Undefined = () => Template(undefined); diff --git a/code/yarn.lock b/code/yarn.lock index bb449b90aa3..7fb324ed3ad 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -2119,7 +2119,7 @@ __metadata: languageName: node linkType: hard -"@babel/template@npm:^7.12.11, @babel/template@npm:^7.16.7, @babel/template@npm:^7.18.10, @babel/template@npm:^7.3.3, @babel/template@npm:^7.4.0, @babel/template@npm:^7.7.0, @babel/template@npm:^7.8.6": +"@babel/template@npm:^7.16.7, @babel/template@npm:^7.18.10, @babel/template@npm:^7.3.3, @babel/template@npm:^7.4.0, @babel/template@npm:^7.7.0, @babel/template@npm:^7.8.6": version: 7.18.10 resolution: "@babel/template@npm:7.18.10" dependencies: @@ -6644,7 +6644,6 @@ __metadata: dependencies: "@babel/generator": ^7.12.11 "@babel/parser": ^7.12.11 - "@babel/template": ^7.12.11 "@babel/traverse": ^7.12.11 "@babel/types": ^7.12.11 "@storybook/csf": next