From 9d39529d9f3c8b85ce22d337aefa0cb8275c278b Mon Sep 17 00:00:00 2001 From: Andrey Platov Date: Tue, 31 Aug 2021 19:07:28 +0200 Subject: [PATCH] create stack of popups. fixes: #112 Signed-off-by: Andrey Platov --- packages/ui/src/components/Popup.svelte | 68 +++------------- .../ui/src/components/PopupInstance.svelte | 81 +++++++++++++++++++ packages/ui/src/index.ts | 16 ++-- 3 files changed, 100 insertions(+), 65 deletions(-) create mode 100644 packages/ui/src/components/PopupInstance.svelte diff --git a/packages/ui/src/components/Popup.svelte b/packages/ui/src/components/Popup.svelte index 4fc8c02884..e145ec0dff 100644 --- a/packages/ui/src/components/Popup.svelte +++ b/packages/ui/src/components/Popup.svelte @@ -14,71 +14,23 @@ --> -{#if $modal.is} - -