File tree Expand file tree Collapse file tree 1 file changed +8
-26
lines changed
site/src/components/FeatureStageBadge Expand file tree Collapse file tree 1 file changed +8
-26
lines changed Original file line number Diff line number Diff line change @@ -5,52 +5,34 @@ const meta: Meta<typeof FeatureStageBadge> = {
5
5
title : "components/FeatureStageBadge" ,
6
6
component : FeatureStageBadge ,
7
7
args : {
8
- type : "beta" ,
8
+ contentType : "beta" ,
9
9
} ,
10
10
} ;
11
11
12
12
export default meta ;
13
13
type Story = StoryObj < typeof FeatureStageBadge > ;
14
14
15
- export const SmallInteractiveBeta : Story = {
15
+ export const MediumBeta : Story = {
16
16
args : {
17
- type : "beta" ,
18
- size : "sm" ,
19
- variant : "interactive" ,
17
+ size : "md" ,
20
18
} ,
21
19
} ;
22
20
23
- export const SmallInteractiveExperimental : Story = {
21
+ export const SmallBeta : Story = {
24
22
args : {
25
- type : "experimental" ,
26
23
size : "sm" ,
27
- variant : "interactive" ,
28
- } ,
29
- } ;
30
-
31
- export const LargeInteractiveBeta : Story = {
32
- args : {
33
- type : "beta" ,
34
- size : "lg" ,
35
- variant : "interactive" ,
36
24
} ,
37
25
} ;
38
26
39
- export const LargeStaticBeta : Story = {
27
+ export const LargeBeta : Story = {
40
28
args : {
41
- type : "beta" ,
42
29
size : "lg" ,
43
- variant : "static" ,
44
30
} ,
45
31
} ;
46
32
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 = {
51
34
args : {
52
- type : "beta" ,
53
- size : "xs" ,
54
- variant : "static" ,
35
+ size : "md" ,
36
+ contentType : "experimental" ,
55
37
} ,
56
38
} ;
You can’t perform that action at this time.
0 commit comments