Skip to content

Commit 798a00a

Browse files
authored
Fix wrong select controls specification (#61)
1 parent cef3c82 commit 798a00a

File tree

25 files changed

+36
-40
lines changed

25 files changed

+36
-40
lines changed

packages/components/src/accordion-item/accordion-item.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default {
1414
disabled: true
1515
}
1616
}
17-
};
17+
} as Meta;
1818

1919
const Template: StoryFn = (args, context): string => {
2020
const {

packages/components/src/breadcrumb-item/breadcrumb-item.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default {
1515
disabled: true
1616
}
1717
}
18-
};
18+
} as Meta;
1919

2020
const Template: StoryFn = (args, context): string => {
2121
const {

packages/components/src/breadcrumb/breadcrumb.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default {
1616
disabled: true
1717
}
1818
}
19-
};
19+
} as Meta;
2020

2121
const Template: StoryFn = (args, context): string => {
2222
const {

packages/components/src/button/button.stories.ts

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,15 @@ export default {
99
argTypes: {
1010
label: { control: 'text' },
1111
appearance: {
12-
control: {
13-
type: 'select',
14-
options: [
15-
'Accent',
16-
'Error',
17-
'Lightweight',
18-
'Neutral',
19-
'Outline',
20-
'Stealth'
21-
]
22-
}
12+
control: 'select',
13+
options: [
14+
'Accent',
15+
'Error',
16+
'Lightweight',
17+
'Neutral',
18+
'Outline',
19+
'Stealth'
20+
]
2321
},
2422
isDisabled: { control: 'boolean' },
2523
isAutoFocused: { control: 'boolean' },
@@ -32,7 +30,7 @@ export default {
3230
}
3331
}
3432
}
35-
};
33+
} as Meta;
3634

3735
const Template: StoryFn = (args, context): HTMLElement => {
3836
const {

packages/components/src/checkbox/checkbox.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default {
1919
}
2020
}
2121
}
22-
};
22+
} as Meta;
2323

2424
const Template: StoryFn = (args, context): HTMLElement => {
2525
const {

packages/components/src/combobox/combobox.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default {
2525
}
2626
}
2727
}
28-
};
28+
} as Meta;
2929

3030
const nameList = [
3131
'William Hartnell',

packages/components/src/data-grid/data-grid.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default {
1515
disabled: true
1616
}
1717
}
18-
};
18+
} as Meta;
1919

2020
const Template: StoryFn = (args, context): string => {
2121
const {

packages/components/src/date-field/date-field.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default {
2323
}
2424
}
2525
}
26-
};
26+
} as Meta;
2727

2828
const Template: StoryFn = (args, context): HTMLElement => {
2929
const {

packages/components/src/menu-item/menu-item.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default {
2121
disabled: true
2222
}
2323
}
24-
};
24+
} as Meta;
2525

2626
const Template: StoryFn = (args, context): string => {
2727
const {

packages/components/src/menu/menu.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default {
1414
disabled: true
1515
}
1616
}
17-
};
17+
} as Meta;
1818

1919
const Template: StoryFn = (args, context): string => {
2020
const {

0 commit comments

Comments
 (0)