diff --git a/.storybook/recipes/CardWithNotification/CardWithNotification.stories.tsx b/.storybook/recipes/CardWithNotification/CardWithNotification.stories.tsx index 3a6109e95..e664b39da 100644 --- a/.storybook/recipes/CardWithNotification/CardWithNotification.stories.tsx +++ b/.storybook/recipes/CardWithNotification/CardWithNotification.stories.tsx @@ -18,6 +18,13 @@ export default { ), ], + argTypes: { + children: { + control: { + type: null, + }, + }, + }, } as Meta; type Args = React.ComponentProps; diff --git a/src/components/Accordion/Accordion.stories.tsx b/src/components/Accordion/Accordion.stories.tsx index 14037f4ce..83da57afe 100644 --- a/src/components/Accordion/Accordion.stories.tsx +++ b/src/components/Accordion/Accordion.stories.tsx @@ -31,6 +31,13 @@ export default { ), }, + argTypes: { + children: { + control: { + type: null, + }, + }, + }, decorators: [ (Story) => (
diff --git a/src/components/Badge/Badge.stories.tsx b/src/components/Badge/Badge.stories.tsx index 232f26fa0..e63f7326d 100644 --- a/src/components/Badge/Badge.stories.tsx +++ b/src/components/Badge/Badge.stories.tsx @@ -16,6 +16,13 @@ export default { layout: 'centered', badges: ['1.2', BADGE.BETA], }, + argTypes: { + children: { + control: { + type: null, + }, + }, + }, } as Meta; type Args = React.ComponentProps; diff --git a/src/components/Breadcrumbs/Breadcrumbs.stories.tsx b/src/components/Breadcrumbs/Breadcrumbs.stories.tsx index 77a219bfc..f0e6ff1b7 100644 --- a/src/components/Breadcrumbs/Breadcrumbs.stories.tsx +++ b/src/components/Breadcrumbs/Breadcrumbs.stories.tsx @@ -18,6 +18,13 @@ export default { ), }, + argTypes: { + children: { + control: { + type: null, + }, + }, + }, parameters: { badges: ['1.0'], }, diff --git a/src/components/ButtonDropdown/ButtonDropdown.stories.tsx b/src/components/ButtonDropdown/ButtonDropdown.stories.tsx index e30f7508c..bb11f1916 100644 --- a/src/components/ButtonDropdown/ButtonDropdown.stories.tsx +++ b/src/components/ButtonDropdown/ButtonDropdown.stories.tsx @@ -40,6 +40,18 @@ export default { ), }, + argTypes: { + children: { + control: { + type: null, + }, + }, + dropdownMenuTrigger: { + control: { + type: null, + }, + }, + }, } as Meta; type Args = React.ComponentProps; diff --git a/src/components/ButtonGroup/ButtonGroup.stories.tsx b/src/components/ButtonGroup/ButtonGroup.stories.tsx index 8aa8afa6f..00e070782 100644 --- a/src/components/ButtonGroup/ButtonGroup.stories.tsx +++ b/src/components/ButtonGroup/ButtonGroup.stories.tsx @@ -16,6 +16,13 @@ export default { ), }, + argTypes: { + children: { + control: { + type: null, + }, + }, + }, parameters: { badges: ['1.0'], }, diff --git a/src/components/DragDrop/DragDrop.stories.tsx b/src/components/DragDrop/DragDrop.stories.tsx index e6dffb0e7..49e64565e 100644 --- a/src/components/DragDrop/DragDrop.stories.tsx +++ b/src/components/DragDrop/DragDrop.stories.tsx @@ -20,6 +20,13 @@ export default { parameters: { badges: ['1.0'], }, + argTypes: { + children: { + control: { + type: null, + }, + }, + }, decorators: [ (Story) => (
; type Args = React.ComponentProps; diff --git a/src/components/Fieldset/Fieldset.stories.tsx b/src/components/Fieldset/Fieldset.stories.tsx index a71e69d4f..001a4b3da 100644 --- a/src/components/Fieldset/Fieldset.stories.tsx +++ b/src/components/Fieldset/Fieldset.stories.tsx @@ -13,6 +13,13 @@ export default { badges: ['1.0'], }, subcomponents: { FieldsetLegend, FieldsetItems }, + argTypes: { + children: { + control: { + type: null, + }, + }, + }, } as Meta; type Args = React.ComponentProps; diff --git a/src/components/FiltersDrawer/FiltersDrawer.stories.tsx b/src/components/FiltersDrawer/FiltersDrawer.stories.tsx index 1e9f2425c..4983d0e43 100644 --- a/src/components/FiltersDrawer/FiltersDrawer.stories.tsx +++ b/src/components/FiltersDrawer/FiltersDrawer.stories.tsx @@ -26,6 +26,13 @@ export default { ), }, + argTypes: { + children: { + control: { + type: null, + }, + }, + }, decorators: [ (Story) => (
diff --git a/src/components/FiltersPopover/FiltersPopover.stories.tsx b/src/components/FiltersPopover/FiltersPopover.stories.tsx index d02d62d87..6c1db2673 100644 --- a/src/components/FiltersPopover/FiltersPopover.stories.tsx +++ b/src/components/FiltersPopover/FiltersPopover.stories.tsx @@ -29,6 +29,13 @@ export default { ), placement: 'bottom-start', }, + argTypes: { + children: { + control: { + type: null, + }, + }, + }, decorators: [ (Story) => (
diff --git a/src/components/Grid/Grid.stories.tsx b/src/components/Grid/Grid.stories.tsx index 3d707425a..fa7db452c 100644 --- a/src/components/Grid/Grid.stories.tsx +++ b/src/components/Grid/Grid.stories.tsx @@ -30,6 +30,13 @@ export default { ), }, + argTypes: { + children: { + control: { + type: null, + }, + }, + }, parameters: { badges: ['1.0'], }, diff --git a/src/components/Layout/Layout.stories.tsx b/src/components/Layout/Layout.stories.tsx index cca8afe82..559eda25a 100644 --- a/src/components/Layout/Layout.stories.tsx +++ b/src/components/Layout/Layout.stories.tsx @@ -22,6 +22,13 @@ export default { ), }, + argTypes: { + children: { + control: { + type: null, + }, + }, + }, } as Meta; type Args = React.ComponentProps; diff --git a/src/components/LayoutContainer/LayoutContainer.stories.tsx b/src/components/LayoutContainer/LayoutContainer.stories.tsx index 568e39cb8..2e21ad8e1 100644 --- a/src/components/LayoutContainer/LayoutContainer.stories.tsx +++ b/src/components/LayoutContainer/LayoutContainer.stories.tsx @@ -15,6 +15,13 @@ export default { args: { children:
Layout container
, }, + argTypes: { + children: { + control: { + type: null, + }, + }, + }, } as Meta; type Args = React.ComponentProps; diff --git a/src/components/LayoutLinelengthContainer/LayoutLinelengthContainer.stories.tsx b/src/components/LayoutLinelengthContainer/LayoutLinelengthContainer.stories.tsx index 716c5cfe2..5ba13f1e4 100644 --- a/src/components/LayoutLinelengthContainer/LayoutLinelengthContainer.stories.tsx +++ b/src/components/LayoutLinelengthContainer/LayoutLinelengthContainer.stories.tsx @@ -25,6 +25,13 @@ export default { ), }, + argTypes: { + children: { + control: { + type: null, + }, + }, + }, } as Meta; type Args = React.ComponentProps; diff --git a/src/components/Menu/Menu.stories.tsx b/src/components/Menu/Menu.stories.tsx index 8d302a96f..ebd823385 100644 --- a/src/components/Menu/Menu.stories.tsx +++ b/src/components/Menu/Menu.stories.tsx @@ -16,6 +16,13 @@ export default { badges: ['1.2'], layout: 'centered', }, + argTypes: { + children: { + control: { + type: null, + }, + }, + }, } as Meta; export const Default: StoryObj = { diff --git a/src/components/Modal/Modal.stories.tsx b/src/components/Modal/Modal.stories.tsx index eacca021f..e82c80825 100644 --- a/src/components/Modal/Modal.stories.tsx +++ b/src/components/Modal/Modal.stories.tsx @@ -18,6 +18,13 @@ export default { chromatic: { disableSnapshot: true }, badges: ['1.0'], }, + argTypes: { + children: { + control: { + type: null, + }, + }, + }, } as Meta; type Args = React.ComponentProps; diff --git a/src/components/PageLevelBanner/PageLevelBanner.stories.tsx b/src/components/PageLevelBanner/PageLevelBanner.stories.tsx index 3b8bb0646..39a9151ae 100644 --- a/src/components/PageLevelBanner/PageLevelBanner.stories.tsx +++ b/src/components/PageLevelBanner/PageLevelBanner.stories.tsx @@ -27,6 +27,13 @@ export default { ), }, + argTypes: { + description: { + control: { + type: 'text', + }, + }, + }, } as Meta; type Args = React.ComponentProps; diff --git a/src/components/Popover/Popover.stories.tsx b/src/components/Popover/Popover.stories.tsx index a126ba456..05adc0994 100644 --- a/src/components/Popover/Popover.stories.tsx +++ b/src/components/Popover/Popover.stories.tsx @@ -36,6 +36,13 @@ export default { ), }, + argTypes: { + children: { + control: { + type: null, + }, + }, + }, } as Meta; export const Default: StoryObj = { diff --git a/src/components/SearchBar/SearchBar.stories.tsx b/src/components/SearchBar/SearchBar.stories.tsx index aa6aefb73..df10edebc 100644 --- a/src/components/SearchBar/SearchBar.stories.tsx +++ b/src/components/SearchBar/SearchBar.stories.tsx @@ -17,6 +17,13 @@ export default {
), ], + argTypes: { + children: { + control: { + type: null, + }, + }, + }, } as Meta; type Args = React.ComponentProps; diff --git a/src/components/Table/Table.stories.tsx b/src/components/Table/Table.stories.tsx index 5fcd5a39f..b8db304bf 100644 --- a/src/components/Table/Table.stories.tsx +++ b/src/components/Table/Table.stories.tsx @@ -16,6 +16,13 @@ export default { parameters: { badges: ['1.1'], }, + argTypes: { + children: { + control: { + type: null, + }, + }, + }, decorators: [ (Story) => (
), }, + argTypes: { + children: { + control: { + type: null, + }, + }, + }, } as Meta; type Args = React.ComponentProps; diff --git a/src/components/TimelineNav/TimelineNav.stories.tsx b/src/components/TimelineNav/TimelineNav.stories.tsx index 29cb48183..219d49640 100644 --- a/src/components/TimelineNav/TimelineNav.stories.tsx +++ b/src/components/TimelineNav/TimelineNav.stories.tsx @@ -168,6 +168,13 @@ export default { ), }, + argTypes: { + children: { + control: { + type: null, + }, + }, + }, } as Meta; type Args = React.ComponentProps; diff --git a/src/components/Toolbar/Toolbar.stories.tsx b/src/components/Toolbar/Toolbar.stories.tsx index 365db03b5..fd859e6f5 100644 --- a/src/components/Toolbar/Toolbar.stories.tsx +++ b/src/components/Toolbar/Toolbar.stories.tsx @@ -32,6 +32,13 @@ export default { ), }, + argTypes: { + children: { + control: { + type: null, + }, + }, + }, } as Meta; type Args = React.ComponentProps; diff --git a/src/components/Tooltip/Tooltip.stories.tsx b/src/components/Tooltip/Tooltip.stories.tsx index cb65581b1..b3dbd9977 100644 --- a/src/components/Tooltip/Tooltip.stories.tsx +++ b/src/components/Tooltip/Tooltip.stories.tsx @@ -30,6 +30,18 @@ export default { title: 'Components/Tooltip', component: Tooltip, args: defaultArgs, + argTypes: { + text: { + control: { + type: 'text', + }, + }, + children: { + control: { + type: null, + }, + }, + }, parameters: { badges: ['1.0'], chromatic: {