From 9d82279b367e635cd109beb604823e2e7d88058e Mon Sep 17 00:00:00 2001 From: Victoria Sloan Date: Thu, 3 Sep 2020 08:44:08 +0100 Subject: [PATCH] remove Modal.svelte and update ConfirmDialog modal to use bbui modal --- .../components/common/ConfirmDialog.svelte | 57 +++++++++--------- .../src/components/common/Modal.svelte | 59 ------------------- .../src/components/settings/Link.svelte | 1 - .../EventsEditor/EventEditorModal.svelte | 1 - 4 files changed, 29 insertions(+), 89 deletions(-) delete mode 100644 packages/builder/src/components/common/Modal.svelte diff --git a/packages/builder/src/components/common/ConfirmDialog.svelte b/packages/builder/src/components/common/ConfirmDialog.svelte index f9a4e7ec57..a65b6edb97 100644 --- a/packages/builder/src/components/common/ConfirmDialog.svelte +++ b/packages/builder/src/components/common/ConfirmDialog.svelte @@ -1,8 +1,6 @@ -
-
-
+ + + + diff --git a/packages/builder/src/components/common/Modal.svelte b/packages/builder/src/components/common/Modal.svelte deleted file mode 100644 index c91c30827e..0000000000 --- a/packages/builder/src/components/common/Modal.svelte +++ /dev/null @@ -1,59 +0,0 @@ - - -
- {#if isOpen} -
- {#if title} -
-

{title}

-
- {/if} -
- {#if onClosed} -
- -
- {/if} -
- - diff --git a/packages/builder/src/components/settings/Link.svelte b/packages/builder/src/components/settings/Link.svelte index 9d669bc7b2..697a1609e4 100644 --- a/packages/builder/src/components/settings/Link.svelte +++ b/packages/builder/src/components/settings/Link.svelte @@ -1,5 +1,4 @@