diff --git a/packages/storybook/.storybook/preview.ts b/packages/storybook/.storybook/preview.ts index 232c06de0f..60a41447c1 100644 --- a/packages/storybook/.storybook/preview.ts +++ b/packages/storybook/.storybook/preview.ts @@ -31,7 +31,9 @@ import { defineCustomElement as defineSelect } from '@ovhcloud/ods-components/di import { defineCustomElement as defineSkeleton } from '@ovhcloud/ods-components/dist/components/ods-skeleton'; import { defineCustomElement as defineSpinner } from '@ovhcloud/ods-components/dist/components/ods-spinner'; import { defineCustomElement as defineSwitch } from '@ovhcloud/ods-components/dist/components/ods-switch'; +import { defineCustomElement as defineSwitchItem } from '@ovhcloud/ods-components/dist/components/ods-switch-item'; import { defineCustomElement as defineTable } from '@ovhcloud/ods-components/dist/components/ods-table'; +import { defineCustomElement as defineTab } from '@ovhcloud/ods-components/dist/components/ods-tab'; import { defineCustomElement as defineTabs } from '@ovhcloud/ods-components/dist/components/ods-tabs'; import { defineCustomElement as defineTag } from '@ovhcloud/ods-components/dist/components/ods-tag'; import { defineCustomElement as defineText } from '@ovhcloud/ods-components/dist/components/ods-text'; @@ -77,7 +79,9 @@ const preview: Preview = { defineSkeleton(); defineSpinner(); defineSwitch(); + defineSwitchItem(); defineTable(); + defineTab(); defineTabs(); defineTag(); defineText(); diff --git a/packages/storybook/stories/components/table/1_specifications.stories.mdx b/packages/storybook/stories/components/table/1_specifications.stories.mdx deleted file mode 100644 index 798b3edf22..0000000000 --- a/packages/storybook/stories/components/table/1_specifications.stories.mdx +++ /dev/null @@ -1,17 +0,0 @@ -import { Meta } from '@storybook/addon-docs'; -import SpecificationsTable from '@ovhcloud/ods-components/src/table/documentation/specifications/specifications-table.mdx'; - - - -# Table - Design Specifications ----- - -Table is a wrapper for displaying tables: -
Person | \n' + - 'Most interest in | \n' + - 'Age | \n' + - '
---|---|---|
Chris | \n' + - 'HTML tables | \n' + - '22 | \n' + - '
Dennis | \n' + - 'Web accessibility | \n' + - '45 | \n' + - '
Sarah | \n' + - 'JavaScript frameworks | \n' + - '29 | \n' + - '
Karen | \n' + - 'Web performance | \n' + - '36 | \n' + - '