diff --git a/docs/src/pages/components/ComboBox.svx b/docs/src/pages/components/ComboBox.svx index e8c689f9..42936b24 100644 --- a/docs/src/pages/components/ComboBox.svx +++ b/docs/src/pages/components/ComboBox.svx @@ -22,6 +22,10 @@ items={[ {id: "2", text: "Fax"} ]} /> +### Multiple combo boxes + + + ### Filterable diff --git a/docs/src/pages/components/Dropdown.svx b/docs/src/pages/components/Dropdown.svx index 31c7d45f..0aff004d 100644 --- a/docs/src/pages/components/Dropdown.svx +++ b/docs/src/pages/components/Dropdown.svx @@ -23,6 +23,10 @@ Use the `itemToString` prop to format the display of individual items. {id: "1", text: "Email"}, {id: "2", text: "Fax"}]}" /> +### Multiple dropdowns + + + ### Light variant +### Multiple multi-select dropdowns + ### Format item display text diff --git a/docs/src/pages/framed/ComboBox/MultipleComboBox.svelte b/docs/src/pages/framed/ComboBox/MultipleComboBox.svelte new file mode 100644 index 00000000..1bdd7a3b --- /dev/null +++ b/docs/src/pages/framed/ComboBox/MultipleComboBox.svelte @@ -0,0 +1,41 @@ + + + + + + +
Primary: {primary}
+ + + +
Secondary: {secondary}
diff --git a/docs/src/pages/framed/Dropdown/MultipleDropdown.svelte b/docs/src/pages/framed/Dropdown/MultipleDropdown.svelte new file mode 100644 index 00000000..3f42d959 --- /dev/null +++ b/docs/src/pages/framed/Dropdown/MultipleDropdown.svelte @@ -0,0 +1,41 @@ + + + + + + +
Primary: {primary}
+ + + +
Secondary: {secondary}
diff --git a/docs/src/pages/framed/MultiSelect/MultipleMultiSelect.svelte b/docs/src/pages/framed/MultiSelect/MultipleMultiSelect.svelte new file mode 100644 index 00000000..e98ce84a --- /dev/null +++ b/docs/src/pages/framed/MultiSelect/MultipleMultiSelect.svelte @@ -0,0 +1,44 @@ + + + + + + +
Primary: {primary}
+ + + +
Secondary: {secondary}
diff --git a/src/ListBox/ListBox.svelte b/src/ListBox/ListBox.svelte index 9e3298e9..558eb41e 100644 --- a/src/ListBox/ListBox.svelte +++ b/src/ListBox/ListBox.svelte @@ -45,7 +45,7 @@ e.stopPropagation(); } }}" - on:click|preventDefault|stopPropagation + on:click|preventDefault >