From 748955e3d93b372f6a593fa270312049ebfc4b80 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 26 Oct 2020 14:03:07 +0000 Subject: [PATCH] Use common dropdown components in more places to reduce duplication --- .../common/Dropdowns/DropdownItem.svelte | 7 +- .../ComponentSelectionList.svelte | 15 +++- .../userInterface/ItemTab/Item.svelte | 47 ------------ .../userInterface/ItemTab/Tab.svelte | 64 ---------------- .../userInterface/ScreenDropdownMenu.svelte | 75 +++---------------- 5 files changed, 25 insertions(+), 183 deletions(-) delete mode 100644 packages/builder/src/components/userInterface/ItemTab/Item.svelte delete mode 100644 packages/builder/src/components/userInterface/ItemTab/Tab.svelte diff --git a/packages/builder/src/components/common/Dropdowns/DropdownItem.svelte b/packages/builder/src/components/common/Dropdowns/DropdownItem.svelte index a94cc66e12..e1b4cd4035 100644 --- a/packages/builder/src/components/common/Dropdowns/DropdownItem.svelte +++ b/packages/builder/src/components/common/Dropdowns/DropdownItem.svelte @@ -4,11 +4,11 @@ export let subtitle -