From 160d7706551a07efec9ef455a95de769766d2fca Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 26 Jul 2022 10:36:12 +0100 Subject: [PATCH] Update version icon to version status light --- .../bbui/src/StatusLight/StatusLight.svelte | 8 ++++++++ .../src/components/deploy/VersionModal.svelte | 17 +++++------------ .../builder/app/[application]/_layout.svelte | 8 +++++++- 3 files changed, 20 insertions(+), 13 deletions(-) diff --git a/packages/bbui/src/StatusLight/StatusLight.svelte b/packages/bbui/src/StatusLight/StatusLight.svelte index 6648b2b32b..d30bf96b05 100644 --- a/packages/bbui/src/StatusLight/StatusLight.svelte +++ b/packages/bbui/src/StatusLight/StatusLight.svelte @@ -19,12 +19,15 @@ export let active = false export let color = null export let square = false + export let hoverable = false
diff --git a/packages/builder/src/components/deploy/VersionModal.svelte b/packages/builder/src/components/deploy/VersionModal.svelte index f0f58d7cb0..b0f4655f1b 100644 --- a/packages/builder/src/components/deploy/VersionModal.svelte +++ b/packages/builder/src/components/deploy/VersionModal.svelte @@ -1,11 +1,11 @@ -{#if !hideIcon} -
- -
+{#if !hideIcon && updateAvailable} + + Update available + {/if}
- +
+ +
@@ -180,4 +182,8 @@ align-items: center; gap: var(--spacing-xl); } + + .version { + margin-right: var(--spacing-s); + }