From 481853212db980eb4b8701fdd5b02c86cb85e670 Mon Sep 17 00:00:00 2001 From: Alexander Platov Date: Mon, 30 Aug 2021 19:27:54 +0300 Subject: [PATCH] Bring old Dialog back (#96) Signed-off-by: Alexander Platov --- packages/ui/src/components/Dialog copy.svelte | 113 ----------------- packages/ui/src/components/Dialog.svelte | 117 ++++++++++-------- 2 files changed, 68 insertions(+), 162 deletions(-) delete mode 100644 packages/ui/src/components/Dialog copy.svelte diff --git a/packages/ui/src/components/Dialog copy.svelte b/packages/ui/src/components/Dialog copy.svelte deleted file mode 100644 index e2bd87c7b9..0000000000 --- a/packages/ui/src/components/Dialog copy.svelte +++ /dev/null @@ -1,113 +0,0 @@ - - - - -
-
{ okAction(); dispatch('close') }}> -
-
-
{ dispatch('close') }}>
-
-
- -
- -
-
- - \ No newline at end of file diff --git a/packages/ui/src/components/Dialog.svelte b/packages/ui/src/components/Dialog.svelte index 161001f27d..75bf18d697 100644 --- a/packages/ui/src/components/Dialog.svelte +++ b/packages/ui/src/components/Dialog.svelte @@ -31,64 +31,83 @@ const dispatch = createEventDispatcher() -
{ okAction(); dispatch('close') }}> -
- -
- -
+
+
{ okAction(); dispatch('close') }}> +
+
+
{ dispatch('close') }}>
+
+
+ +
+ +
+
\ No newline at end of file