Skip to content

Commit ee0ef58

Browse files
authored
Update button.examples.meta.ts
1 parent c6dad55 commit ee0ef58

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

packages/components/src/components/button/examples/button.examples.meta.ts

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
export type ButtonExampleIdentifier =
22
| 'density'
3+
| 'variant'
34
| 'disabled'
4-
| 'multi-line-text'
5-
| 'no-text'
5+
| 'size'
66
| 'show-icon-leading'
77
| 'show-icon-trailing'
8-
| 'size'
9-
| 'variant'
10-
| 'width';
8+
| 'no-text'
9+
| 'width'
10+
| 'multi-line-text';
1111

1212
export type ButtonExampleGroup =
1313
| 'Content'
@@ -42,23 +42,23 @@ export const buttonExamplesMeta: ButtonExampleMeta[] = [
4242
group: 'Density',
4343
storybookNames: ['Density']
4444
},
45+
{
46+
id: 'variant',
47+
exampleName: 'Variant',
48+
group: 'Variants',
49+
storybookNames: ['Outlined', 'Filled', 'Ghost', 'Brand']
50+
},
4551
{
4652
id: 'disabled',
4753
exampleName: 'Disabled',
4854
group: 'State',
4955
storybookNames: ['Disabled']
5056
},
5157
{
52-
id: 'multi-line-text',
53-
exampleName: 'Multi-line Text With Line Breaks',
54-
group: 'Content',
55-
storybookNames: ['Multi-line Text']
56-
},
57-
{
58-
id: 'no-text',
59-
exampleName: 'No Text',
60-
group: 'Content',
61-
storybookNames: ['Icon Only']
58+
id: 'size',
59+
exampleName: 'Size',
60+
group: 'Size',
61+
storybookNames: ['Size']
6262
},
6363
{
6464
id: 'show-icon-leading',
@@ -73,21 +73,21 @@ export const buttonExamplesMeta: ButtonExampleMeta[] = [
7373
storybookNames: ['Show Icon Trailing']
7474
},
7575
{
76-
id: 'size',
77-
exampleName: 'Size',
78-
group: 'Size',
79-
storybookNames: ['Size']
80-
},
81-
{
82-
id: 'variant',
83-
exampleName: 'Variant',
84-
group: 'Variants',
85-
storybookNames: ['Outlined', 'Filled', 'Ghost', 'Brand']
76+
id: 'no-text',
77+
exampleName: 'No Text',
78+
group: 'Content',
79+
storybookNames: ['Icon Only']
8680
},
8781
{
8882
id: 'width',
8983
exampleName: 'Width',
9084
group: 'Layout',
9185
storybookNames: ['Width']
86+
},
87+
{
88+
id: 'multi-line-text',
89+
exampleName: 'Multi-line Text With Line Breaks',
90+
group: 'Content',
91+
storybookNames: ['Multi-line Text']
9292
}
9393
];

0 commit comments

Comments
 (0)