diff --git a/packages/carbon-web-components/src/components/combo-box/combo-box.stories.ts b/packages/carbon-web-components/src/components/combo-box/combo-box.stories.ts
index 8862273943c..00590bc0620 100644
--- a/packages/carbon-web-components/src/components/combo-box/combo-box.stories.ts
+++ b/packages/carbon-web-components/src/components/combo-box/combo-box.stories.ts
@@ -65,8 +65,8 @@ const defaultArgs = {
titleText: 'This is an example title',
value: '',
warn: false,
- warnText: 'please notice the warning',
-}
+ warnText: 'please notice the warning',
+};
const controls = {
disabled: {
@@ -74,8 +74,9 @@ const controls = {
description: `Specify if the dropdown should be disabled, or not.`,
},
direction: {
- control: 'select', options: directionOptions,
- description: `Dropdown direction`
+ control: 'select',
+ options: directionOptions,
+ description: `Dropdown direction`,
},
hideLabel: {
control: 'boolean',
@@ -102,8 +103,9 @@ const controls = {
description: `Specify if the dropdown should be read only, or not.`,
},
size: {
- control: 'select', options: sizes,
- description: `Dropdown size.`
+ control: 'select',
+ options: sizes,
+ description: `Dropdown size.`,
},
titleText: {
control: 'text',
@@ -136,7 +138,7 @@ export const Default = {
`
)}
- `
+ `,
};
export const WithLayer = {
@@ -159,7 +161,7 @@ export const WithLayer = {
- `
+ `,
};
export const Playground = {
@@ -204,8 +206,8 @@ export const Playground = {
`
)}
- `
-}
+ `,
+};
const meta = {
title: 'Components/Combo box',
diff --git a/packages/carbon-web-components/src/components/dropdown/dropdown.stories.ts b/packages/carbon-web-components/src/components/dropdown/dropdown.stories.ts
index 049ce8e9d0b..2f230d10902 100644
--- a/packages/carbon-web-components/src/components/dropdown/dropdown.stories.ts
+++ b/packages/carbon-web-components/src/components/dropdown/dropdown.stories.ts
@@ -73,8 +73,8 @@ const defaultArgs = {
type: null,
value: '',
warn: false,
- warnText: 'please notice the warning',
-}
+ warnText: 'please notice the warning',
+};
const controls = {
disabled: {
@@ -82,8 +82,9 @@ const controls = {
description: `Specify if the dropdown should be disabled, or not.`,
},
direction: {
- control: 'select', options: directionOptions,
- description: `Dropdown direction.`
+ control: 'select',
+ options: directionOptions,
+ description: `Dropdown direction.`,
},
hideLabel: {
control: 'boolean',
@@ -114,16 +115,18 @@ const controls = {
description: `Specify if the dropdown should be read only, or not.`,
},
size: {
- control: 'select', options: sizes,
- description: `Dropdown size.`
+ control: 'select',
+ options: sizes,
+ description: `Dropdown size.`,
},
titleText: {
control: 'text',
description: `Text that will be read by a screen reader when visiting this control.`,
},
type: {
- control: 'select', options: types,
- description: `Dropdown size.`
+ control: 'select',
+ options: types,
+ description: `Dropdown size.`,
},
value: {
control: 'text',
@@ -153,7 +156,7 @@ export const Default = {
`
)}
- `
+ `,
};
export const Inline = {
@@ -170,7 +173,7 @@ export const Inline = {
`
)}
- `
+ `,
};
export const InlineWithLayer = {
@@ -193,7 +196,7 @@ export const InlineWithLayer = {
- `
+ `,
};
export const WithLayer = {
@@ -216,7 +219,7 @@ export const WithLayer = {
- `
+ `,
};
export const Playground = {
@@ -239,32 +242,32 @@ export const Playground = {
warn,
warnText,
}) =>
- html`
-
defaultOpen
prop
+ Toggletip label -- using open
prop
Lorem ipsum dolor sit amet, di os consectetur adipiscing elit, sed
@@ -83,7 +83,7 @@ export const Playground = {
args: defaultArgs,
render: ({ alignment, open }) => html`
Lorem ipsum dolor sit amet, di os consectetur adipiscing elit, sed do
open
prop