Skip to content

Commit

Permalink
fix: preselected removed from storybook table
Browse files Browse the repository at this point in the history
  • Loading branch information
tshimber committed Oct 28, 2024
1 parent 78ea95c commit b88c2fe
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
},
};
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
},
}}
/>

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit b88c2fe

Please sign in to comment.