From b88c2fe6f2011cd618df6da3bf5d46bc06bcae02 Mon Sep 17 00:00:00 2001 From: tshimber Date: Mon, 28 Oct 2024 15:19:39 +0100 Subject: [PATCH] fix: preselected removed from storybook table --- .../components/tab-navigation/ScaleTabNav.vue | 1 + .../components/tab-navigation/TabNav.stories.mdx | 12 ++++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/packages/storybook-vue/stories/components/tab-navigation/ScaleTabNav.vue b/packages/storybook-vue/stories/components/tab-navigation/ScaleTabNav.vue index 426135a4ae..5313d2d49c 100644 --- a/packages/storybook-vue/stories/components/tab-navigation/ScaleTabNav.vue +++ b/packages/storybook-vue/stories/components/tab-navigation/ScaleTabNav.vue @@ -58,6 +58,7 @@ export default { preselected: { type: Boolean, default: false }, withIcon: { type: Boolean, default: true }, size: { type: String, default: 'small' }, + small: { type: Boolean, default: false }, }, }; diff --git a/packages/storybook-vue/stories/components/tab-navigation/TabNav.stories.mdx b/packages/storybook-vue/stories/components/tab-navigation/TabNav.stories.mdx index 15af90ad39..bc5660a73f 100644 --- a/packages/storybook-vue/stories/components/tab-navigation/TabNav.stories.mdx +++ b/packages/storybook-vue/stories/components/tab-navigation/TabNav.stories.mdx @@ -35,6 +35,13 @@ import TabPanel from './TabPanel.vue'; description: `(optional) DEPRECATED - size should replace small`, control: { type: null }, }, + preselected: { + table: { + disable: true, + }, + description: '', + control: { type: null }, + }, }} /> @@ -124,8 +131,9 @@ export const Template = (args, { argTypes }) => ({ --color-hover: var(--telekom-color-text-and-icon-primary-hovered); --color-active: var(--telekom-color-text-and-icon-primary-pressed); --color-selected: var(--telekom-color-text-and-icon-primary-standard); - --focus-outline: var(--telekom-line-weight-highlight) solid - var(--telekom-color-functional-focus-standard); + --focus-outline: var(--telekom-line-weight-highlight) solid var( + --telekom-color-functional-focus-standard + ); --spacing-right-slotted: var(--telekom-spacing-composition-space-04); --color-disabled: var(--telekom-color-text-and-icon-disabled); --radius: var(--telekom-radius-standard);