diff --git a/storybook/config/preview.tsx b/storybook/config/preview.tsx index 94947023972..cb11d064be2 100644 --- a/storybook/config/preview.tsx +++ b/storybook/config/preview.tsx @@ -18,6 +18,12 @@ export const argTypes = { children: { table: { disable: true }, }, + className: { + table: { disable: true }, + }, + style: { + table: { disable: true }, + }, } // Wrap in Page, set language to Dutch for Canvas and Stories diff --git a/storybook/src/components/Card/Card.stories.tsx b/storybook/src/components/Card/Card.stories.tsx index dd3ff1bddd5..7f047d94b97 100644 --- a/storybook/src/components/Card/Card.stories.tsx +++ b/storybook/src/components/Card/Card.stories.tsx @@ -19,11 +19,6 @@ const meta = { args: { style: { maxWidth: '24rem' }, }, - argTypes: { - style: { - table: { disable: true }, - }, - }, } satisfies Meta export default meta diff --git a/storybook/src/components/Column/Column.stories.tsx b/storybook/src/components/Column/Column.stories.tsx index 29b19186229..a91e14ef1bb 100644 --- a/storybook/src/components/Column/Column.stories.tsx +++ b/storybook/src/components/Column/Column.stories.tsx @@ -38,9 +38,6 @@ const meta = { }, options: [undefined, ...crossAlignOptionsForColumn], }, - className: { - table: { disable: true }, - }, gap: { control: { labels: { undefined: 'medium' }, diff --git a/storybook/src/components/Grid/Grid.stories.tsx b/storybook/src/components/Grid/Grid.stories.tsx index d69b4e14c8a..fb45c2982a5 100644 --- a/storybook/src/components/Grid/Grid.stories.tsx +++ b/storybook/src/components/Grid/Grid.stories.tsx @@ -16,12 +16,7 @@ const meta = { args: { paddingVertical: 'x-large', }, - argTypes: { - className: { - table: { disable: true }, - }, - ...gridGapAndPaddingArgTypes, - }, + argTypes: gridGapAndPaddingArgTypes, parameters: { layout: 'fullscreen', }, diff --git a/storybook/src/components/OrderedList/OrderedList.stories.tsx b/storybook/src/components/OrderedList/OrderedList.stories.tsx index d715ad5122f..54e306b3e7f 100644 --- a/storybook/src/components/OrderedList/OrderedList.stories.tsx +++ b/storybook/src/components/OrderedList/OrderedList.stories.tsx @@ -144,11 +144,6 @@ export const WithoutMarkers: Story = { markers: false, style: { maxInlineSize: '32rem' }, }, - argTypes: { - style: { - table: { disable: true }, - }, - }, } export const InverseColor: Story = { diff --git a/storybook/src/components/Page/Page.stories.tsx b/storybook/src/components/Page/Page.stories.tsx index 3b31c4c5e8a..a2ceaf8b9df 100644 --- a/storybook/src/components/Page/Page.stories.tsx +++ b/storybook/src/components/Page/Page.stories.tsx @@ -16,9 +16,6 @@ const meta = { lang: 'nl', // Mimic what we do in preview.tsx, where the decorator doesn’t render a Page for stories of Page. }, argTypes: { - className: { - table: { disable: true }, - }, lang: { table: { disable: true }, // It’s best practice to set this attribute on the `html` element, so let’s not highlight it here. }, diff --git a/storybook/src/components/Row/Row.stories.tsx b/storybook/src/components/Row/Row.stories.tsx index 96bbf5b1039..6a6a755d668 100644 --- a/storybook/src/components/Row/Row.stories.tsx +++ b/storybook/src/components/Row/Row.stories.tsx @@ -39,9 +39,6 @@ const meta = { }, options: [undefined, ...crossAlignOptions], }, - className: { - table: { disable: true }, - }, gap: { control: { labels: { undefined: 'medium' }, diff --git a/storybook/src/components/SkipLink/SkipLink.stories.tsx b/storybook/src/components/SkipLink/SkipLink.stories.tsx index 925eeb6595c..a3b1cc3f378 100644 --- a/storybook/src/components/SkipLink/SkipLink.stories.tsx +++ b/storybook/src/components/SkipLink/SkipLink.stories.tsx @@ -23,9 +23,6 @@ const meta = { href: { description: 'The url for the link. References an anchor on the current page.', }, - style: { - table: { disable: true }, - }, }, } satisfies Meta diff --git a/storybook/src/components/UnorderedList/UnorderedList.stories.tsx b/storybook/src/components/UnorderedList/UnorderedList.stories.tsx index 6f5314b91c3..c0b8f55c16f 100644 --- a/storybook/src/components/UnorderedList/UnorderedList.stories.tsx +++ b/storybook/src/components/UnorderedList/UnorderedList.stories.tsx @@ -106,11 +106,6 @@ export const WithoutMarkers: Story = { markers: false, style: { maxInlineSize: '32rem' }, }, - argTypes: { - style: { - table: { disable: true }, - }, - }, } export const InverseColor: Story = {