+ Currently, this component does not support items as slots.
+
+ items
+ must be an array of objects; mandatory fields are `id` and `text`.
+
+
+ {'items = Array<{ id: string; text: string; }>'}
+
+
+
+
+
+
+
+
+
diff --git a/src/components/ComboBox/ComboBox.stories.js b/src/components/ComboBox/ComboBox.stories.js
new file mode 100644
index 00000000..acfc0a76
--- /dev/null
+++ b/src/components/ComboBox/ComboBox.stories.js
@@ -0,0 +1,24 @@
+import { withKnobs, select, boolean, text } from '@storybook/addon-knobs';
+import Component from './ComboBox.Story.svelte';
+
+export default { title: 'ComboBox', decorators: [withKnobs] };
+
+const sizes = {
+ 'Extra large size (xl)': 'xl',
+ 'Regular size (lg)': '',
+ 'Small size (sm)': 'sm'
+};
+
+export const Default = () => ({
+ Component,
+ props: {
+ size: select('Field size (size)', sizes, ''),
+ placeholder: text('Placeholder text (placeholder)', 'Filter...'),
+ titleText: text('Title (titleText)', 'Combobox title'),
+ helperText: text('Helper text (helperText)', 'Optional helper text here'),
+ light: boolean('Light (light)', false),
+ disabled: boolean('Disabled (disabled)', false),
+ invalid: boolean('Invalid (invalid)', false),
+ invalidText: text('Invalid text (invalidText)', 'A valid value is required')
+ }
+});
diff --git a/src/components/ComboBox/ComboBox.svelte b/src/components/ComboBox/ComboBox.svelte
new file mode 100644
index 00000000..f487980b
--- /dev/null
+++ b/src/components/ComboBox/ComboBox.svelte
@@ -0,0 +1,188 @@
+
+
+