diff --git a/packages/react-components/react-toolbar/stories/Toolbar/ToolbarLarge.stories.tsx b/packages/react-components/react-toolbar/stories/Toolbar/ToolbarLarge.stories.tsx index 9cb3391e3e277..bab387baae740 100644 --- a/packages/react-components/react-toolbar/stories/Toolbar/ToolbarLarge.stories.tsx +++ b/packages/react-components/react-toolbar/stories/Toolbar/ToolbarLarge.stories.tsx @@ -18,3 +18,11 @@ export const Large = (props: Partial) => ( } /> ); + +Large.parameters = { + docs: { + description: { + story: ['Height of the container is 48px'].join('\n'), + }, + }, +}; diff --git a/packages/react-components/react-toolbar/stories/Toolbar/ToolbarMedium.stories.tsx b/packages/react-components/react-toolbar/stories/Toolbar/ToolbarMedium.stories.tsx index 1f3e5ecba8312..e7bcfa6e9fa93 100644 --- a/packages/react-components/react-toolbar/stories/Toolbar/ToolbarMedium.stories.tsx +++ b/packages/react-components/react-toolbar/stories/Toolbar/ToolbarMedium.stories.tsx @@ -18,3 +18,11 @@ export const Medium = (props: Partial) => ( } /> ); + +Medium.parameters = { + docs: { + description: { + story: ['Height of the container is 40px'].join('\n'), + }, + }, +}; diff --git a/packages/react-components/react-toolbar/stories/Toolbar/ToolbarOverflow.stories.tsx b/packages/react-components/react-toolbar/stories/Toolbar/ToolbarOverflow.stories.tsx index 16cf494ba8940..47709dda29752 100644 --- a/packages/react-components/react-toolbar/stories/Toolbar/ToolbarOverflow.stories.tsx +++ b/packages/react-components/react-toolbar/stories/Toolbar/ToolbarOverflow.stories.tsx @@ -228,3 +228,15 @@ export const OverflowItems = (props: Partial) => ( ); + +OverflowItems.parameters = { + docs: { + description: { + story: [ + 'This example uses the', + 'Overflow component and utilities,', + 'Please refer to the documentation for achieve more complex scenarios.', + ].join('\n'), + }, + }, +}; diff --git a/packages/react-components/react-toolbar/stories/Toolbar/ToolbarSmall.stories.tsx b/packages/react-components/react-toolbar/stories/Toolbar/ToolbarSmall.stories.tsx index 98fa8f5d07817..23dc0be0c83ac 100644 --- a/packages/react-components/react-toolbar/stories/Toolbar/ToolbarSmall.stories.tsx +++ b/packages/react-components/react-toolbar/stories/Toolbar/ToolbarSmall.stories.tsx @@ -18,3 +18,11 @@ export const Small = (props: Partial) => ( } /> ); + +Small.parameters = { + docs: { + description: { + story: ['Height of the container is 32px'].join('\n'), + }, + }, +}; diff --git a/packages/react-components/react-toolbar/stories/Toolbar/ToolbarSubtle.stories.tsx b/packages/react-components/react-toolbar/stories/Toolbar/ToolbarSubtle.stories.tsx index cc1fa14770bbd..36945c21a9da1 100644 --- a/packages/react-components/react-toolbar/stories/Toolbar/ToolbarSubtle.stories.tsx +++ b/packages/react-components/react-toolbar/stories/Toolbar/ToolbarSubtle.stories.tsx @@ -5,9 +5,22 @@ import type { ToolbarProps } from '@fluentui/react-components'; export const Subtle = (props: Partial) => ( - } name="textOptions" value="bold" /> - } name="textOptions" value="italic" /> } + name="textOptions" + value="bold" + /> + } + name="textOptions" + value="italic" + /> + } name="textOptions" diff --git a/packages/react-components/react-toolbar/stories/Toolbar/ToolbarWithPopover.stories.tsx b/packages/react-components/react-toolbar/stories/Toolbar/ToolbarWithPopover.stories.tsx index e592ba53da9da..81bbc04a448ee 100644 --- a/packages/react-components/react-toolbar/stories/Toolbar/ToolbarWithPopover.stories.tsx +++ b/packages/react-components/react-toolbar/stories/Toolbar/ToolbarWithPopover.stories.tsx @@ -28,7 +28,6 @@ export const WithPopover = (props: Partial) => {

Insert Image

-
@@ -45,7 +44,6 @@ export const WithPopover = (props: Partial) => {

Insert Table

-
@@ -62,7 +60,6 @@ export const WithPopover = (props: Partial) => {

Insert Formula

-
@@ -80,7 +77,6 @@ export const WithPopover = (props: Partial) => {

Quick Actions

-
diff --git a/packages/react-components/react-toolbar/stories/Toolbar/index.stories.tsx b/packages/react-components/react-toolbar/stories/Toolbar/index.stories.tsx index e96c40394a7ca..7ae47c207d0c5 100644 --- a/packages/react-components/react-toolbar/stories/Toolbar/index.stories.tsx +++ b/packages/react-components/react-toolbar/stories/Toolbar/index.stories.tsx @@ -1,4 +1,12 @@ -import { Toolbar } from '@fluentui/react-components'; +import { + Toolbar, + ToolbarButton, + ToolbarDivider, + ToolbarGroup, + ToolbarRadioButton, + ToolbarRadioGroup, + ToolbarToggleButton, +} from '@fluentui/react-components'; import descriptionMd from './ToolbarDescription.md'; import bestPracticesMd from './ToolbarBestPractices.md'; @@ -21,6 +29,14 @@ export { FarGroup } from './ToolbarFarGroup.stories'; export default { title: 'Components/Toolbar', component: Toolbar, + subcomponents: { + ToolbarButton, + ToolbarDivider, + ToolbarGroup, + ToolbarRadioButton, + ToolbarRadioGroup, + ToolbarToggleButton, + }, parameters: { docs: { description: {