From 17bf73706a862a9aea1468533f2f6cd1cbcd50d0 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 26 Apr 2021 16:14:16 +0100 Subject: [PATCH] Update filter popover to modal --- packages/bbui/src/Styleguide/Label.svelte | 2 +- .../DataTable/buttons/FilterButton.svelte | 27 ++++++++------- .../CalculateModal.svelte} | 34 ++++--------------- 3 files changed, 22 insertions(+), 41 deletions(-) rename packages/builder/src/components/backend/DataTable/{popovers/CalculatePopover.svelte => modals/CalculateModal.svelte} (71%) diff --git a/packages/bbui/src/Styleguide/Label.svelte b/packages/bbui/src/Styleguide/Label.svelte index 4fe9458a35..5ca8b52672 100644 --- a/packages/bbui/src/Styleguide/Label.svelte +++ b/packages/bbui/src/Styleguide/Label.svelte @@ -3,7 +3,7 @@ diff --git a/packages/builder/src/components/backend/DataTable/buttons/FilterButton.svelte b/packages/builder/src/components/backend/DataTable/buttons/FilterButton.svelte index 889b9bdcf7..50730abcda 100644 --- a/packages/builder/src/components/backend/DataTable/buttons/FilterButton.svelte +++ b/packages/builder/src/components/backend/DataTable/buttons/FilterButton.svelte @@ -1,20 +1,21 @@ -
- -
- - - + + + + diff --git a/packages/builder/src/components/backend/DataTable/popovers/CalculatePopover.svelte b/packages/builder/src/components/backend/DataTable/modals/CalculateModal.svelte similarity index 71% rename from packages/builder/src/components/backend/DataTable/popovers/CalculatePopover.svelte rename to packages/builder/src/components/backend/DataTable/modals/CalculateModal.svelte index fb882a5dc0..3eec950edb 100644 --- a/packages/builder/src/components/backend/DataTable/popovers/CalculatePopover.svelte +++ b/packages/builder/src/components/backend/DataTable/modals/CalculateModal.svelte @@ -1,5 +1,5 @@ -
-
Calculate
+