From e7d38878f52812684242f54d6cf4dbc004749996 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Wed, 24 Feb 2021 10:33:54 +0100 Subject: [PATCH] Revert "work on converting popover to drawer" This reverts commit fb1eb55ba2f485f4be02f570a0b0a9433b286f7a. --- .../SetupPanel/AutomationBindingPanel.svelte | 203 ------------------ .../SetupPanel/AutomationBlockSetup.svelte | 22 +- .../SetupPanel/GenericBindingPopover.svelte | 5 +- .../automation/SetupPanel/RowSelector.svelte | 9 +- .../components/common/BindableInput.svelte | 76 +++---- .../common/DrawerBindableInput.svelte | 6 +- 6 files changed, 47 insertions(+), 274 deletions(-) delete mode 100644 packages/builder/src/components/automation/SetupPanel/AutomationBindingPanel.svelte diff --git a/packages/builder/src/components/automation/SetupPanel/AutomationBindingPanel.svelte b/packages/builder/src/components/automation/SetupPanel/AutomationBindingPanel.svelte deleted file mode 100644 index 12f4efc110..0000000000 --- a/packages/builder/src/components/automation/SetupPanel/AutomationBindingPanel.svelte +++ /dev/null @@ -1,203 +0,0 @@ - - -
-
- Available bindings - - - - {#each categories as [categoryName, bindings]} - {categoryName} - - {#each bindings.filter(binding => - binding.label.match(searchRgx) - ) as binding} -
addToText(binding)}> - {binding.label} - {binding.type} -
-
- {binding.description || ''} -
-
- {/each} - {/each} - Helpers - - {#each helpers.filter(helper => helper.label.match(searchRgx) || helper.description.match(searchRgx)) as helper} -
addToText(helper)}> - {helper.label} -
-
- {@html helper.description || ''} -
-
{helper.example || ''}
-
- {/each} -
-
-