Skip to content

Commit 0f64533

Browse files
committed
chore: update stories
1 parent fb86964 commit 0f64533

File tree

1 file changed

+8
-26
lines changed

1 file changed

+8
-26
lines changed

site/src/components/FeatureStageBadge/FeatureStageBadge.stories.tsx

Lines changed: 8 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5,52 +5,34 @@ const meta: Meta<typeof FeatureStageBadge> = {
55
title: "components/FeatureStageBadge",
66
component: FeatureStageBadge,
77
args: {
8-
type: "beta",
8+
contentType: "beta",
99
},
1010
};
1111

1212
export default meta;
1313
type Story = StoryObj<typeof FeatureStageBadge>;
1414

15-
export const SmallInteractiveBeta: Story = {
15+
export const MediumBeta: Story = {
1616
args: {
17-
type: "beta",
18-
size: "sm",
19-
variant: "interactive",
17+
size: "md",
2018
},
2119
};
2220

23-
export const SmallInteractiveExperimental: Story = {
21+
export const SmallBeta: Story = {
2422
args: {
25-
type: "experimental",
2623
size: "sm",
27-
variant: "interactive",
28-
},
29-
};
30-
31-
export const LargeInteractiveBeta: Story = {
32-
args: {
33-
type: "beta",
34-
size: "lg",
35-
variant: "interactive",
3624
},
3725
};
3826

39-
export const LargeStaticBeta: Story = {
27+
export const LargeBeta: Story = {
4028
args: {
41-
type: "beta",
4229
size: "lg",
43-
variant: "static",
4430
},
4531
};
4632

47-
// While it's possible, we shouldn't use the xs size with the interactive
48-
// variant, because then the badge might be too small for users with motor
49-
// control issues to get their hand to hover over the target reliably
50-
export const ExtraSmallStaticBeta: Story = {
33+
export const MediumExperimental: Story = {
5134
args: {
52-
type: "beta",
53-
size: "xs",
54-
variant: "static",
35+
size: "md",
36+
contentType: "experimental",
5537
},
5638
};

0 commit comments

Comments
 (0)