Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ const config: StorybookConfig = {
reactDocgenTypescriptOptions: {
tsconfigPath: fileURLToPath(new URL('../tsconfig.json', import.meta.url)),
shouldExtractLiteralValuesFromEnum: true,
shouldExtractValuesFromUnion: true,
shouldRemoveUndefinedFromOptional: true,
},
},
Expand Down
6 changes: 6 additions & 0 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ const preview: Preview = {
ref: {
table: { disable: true },
},
dataset: {
control: { disable: true },
},
ChartPlaceholder: {
control: { disable: true },
},
},
decorators: [
(Story, { globals, viewMode }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ const meta = {
component: BarChart,
tags: ['package:@ui5/webcomponents-react-charts'],
argTypes: {
dataset: {
control: { disable: true },
},
children: {
control: { disable: true },
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ const meta = {
component: BulletChart,
tags: ['package:@ui5/webcomponents-react-charts'],
argTypes: {
dataset: {
control: { disable: true },
},
children: {
control: { disable: true },
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ const meta = {
component: ColumnChart,
tags: ['package:@ui5/webcomponents-react-charts'],
argTypes: {
dataset: {
control: { disable: true },
},
children: {
control: { disable: true },
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ const meta = {
component: ComposedChart,
tags: ['package:@ui5/webcomponents-react-charts'],
argTypes: {
dataset: {
control: { disable: true },
},
children: {
control: { disable: true },
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ const meta = {
component: DonutChart,
tags: ['package:@ui5/webcomponents-react-charts'],
argTypes: {
dataset: {
control: { disable: true },
},
children: {
control: { disable: true },
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ const meta = {
],
dataset: complexDataSet,
},
argTypes: {
dataset: {
control: { disable: true },
},
},
} satisfies Meta<typeof LineChart>;

export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ const meta = {
},
dataset: simpleDataSet,
},
argTypes: {
dataset: {
control: { disable: true },
},
},
} satisfies Meta<typeof PieChart>;

export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ const meta = {
],
dataset: complexDataSet,
},
argTypes: {
dataset: {
control: { disable: true },
},
},
} satisfies Meta<typeof RadarChart>;

export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ const meta = {
title: 'TimelineChart',
component: TimelineChart,
tags: ['package:@ui5/webcomponents-react-charts', 'experimental', 'deprecated'],
argTypes: {
dataset: {
control: { disable: true },
},
},
args: { dataset: dummyDiscreteDataSet },
} satisfies Meta<typeof TimelineChart>;

Expand Down
Loading