From a760e6c1b5d64fe253d1001146ea67b3e91848b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Tue, 27 Apr 2021 15:34:17 +0200 Subject: [PATCH] Changes ActionMenu button slot to be called control --- .../bbui/src/ActionMenu/ActionMenu.svelte | 2 +- .../EditAutomationPopover.svelte | 2 +- .../popovers/EditDatasourcePopover.svelte | 2 +- .../popovers/EditQueryPopover.svelte | 6 +- .../popovers/EditTablePopover.svelte | 9 +-- .../AppPreview/ComponentSelectionList.svelte | 60 ++++++------------- .../ComponentDropdownMenu.svelte | 21 ++++--- .../LayoutDropdownMenu.svelte | 10 +--- .../ScreenDropdownMenu.svelte | 2 +- 9 files changed, 41 insertions(+), 73 deletions(-) diff --git a/packages/bbui/src/ActionMenu/ActionMenu.svelte b/packages/bbui/src/ActionMenu/ActionMenu.svelte index 01bf3f1dae..6cfc531738 100644 --- a/packages/bbui/src/ActionMenu/ActionMenu.svelte +++ b/packages/bbui/src/ActionMenu/ActionMenu.svelte @@ -29,7 +29,7 @@
- +
diff --git a/packages/builder/src/components/automation/AutomationPanel/EditAutomationPopover.svelte b/packages/builder/src/components/automation/AutomationPanel/EditAutomationPopover.svelte index 40cac7ddc7..2eefac0ea8 100644 --- a/packages/builder/src/components/automation/AutomationPanel/EditAutomationPopover.svelte +++ b/packages/builder/src/components/automation/AutomationPanel/EditAutomationPopover.svelte @@ -21,7 +21,7 @@ -
+
-
+
Delete diff --git a/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditQueryPopover.svelte b/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditQueryPopover.svelte index 5dd2ab1cb8..99fe974e84 100644 --- a/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditQueryPopover.svelte +++ b/packages/builder/src/components/backend/DatasourceNavigator/popovers/EditQueryPopover.svelte @@ -14,12 +14,10 @@ -
+
- Delete + Delete -
+
- Edit - Delete + Edit + Delete diff --git a/packages/builder/src/components/design/AppPreview/ComponentSelectionList.svelte b/packages/builder/src/components/design/AppPreview/ComponentSelectionList.svelte index 4163e87104..35775d0d18 100644 --- a/packages/builder/src/components/design/AppPreview/ComponentSelectionList.svelte +++ b/packages/builder/src/components/design/AppPreview/ComponentSelectionList.svelte @@ -1,15 +1,15 @@ -
+
- DeleteDelete + Move up - Move up - Move down - Duplicate - storeComponentForCopy(true)}>CutMove down + Duplicate + storeComponentForCopy(true)} + >Cut storeComponentForCopy(false)} >Copy -
+
- Edit - Delete + Edit + Delete -
+
Delete