From 65d6216d33d9e74d3105848cdf43a488ab2323e8 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 10 Jun 2021 18:42:41 +0100 Subject: [PATCH] Refactor client component structure, fix select bar z index, add titles to container bar settings --- .../client/src/components/ClientApp.svelte | 6 ++-- .../{ => preview}/HoverIndicator.svelte | 2 +- .../components/{ => preview}/Indicator.svelte | 0 .../{ => preview}/IndicatorSet.svelte | 2 +- .../{ => preview}/SelectionIndicator.svelte | 2 +- .../{ => preview}/SettingsBar.svelte | 6 ++-- .../{ => preview}/SettingsButton.svelte | 2 +- packages/standard-components/manifest.json | 36 ++++++++++++------- 8 files changed, 34 insertions(+), 22 deletions(-) rename packages/client/src/components/{ => preview}/HoverIndicator.svelte (94%) rename packages/client/src/components/{ => preview}/Indicator.svelte (100%) rename packages/client/src/components/{ => preview}/IndicatorSet.svelte (97%) rename packages/client/src/components/{ => preview}/SelectionIndicator.svelte (81%) rename packages/client/src/components/{ => preview}/SettingsBar.svelte (96%) rename packages/client/src/components/{ => preview}/SettingsButton.svelte (95%) diff --git a/packages/client/src/components/ClientApp.svelte b/packages/client/src/components/ClientApp.svelte index 7bdab63102..a8a5c1515c 100644 --- a/packages/client/src/components/ClientApp.svelte +++ b/packages/client/src/components/ClientApp.svelte @@ -14,9 +14,9 @@ builderStore, } from "../store" import { TableNames, ActionTypes } from "../constants" - import SettingsBar from "./SettingsBar.svelte" - import SelectionIndicator from "./SelectionIndicator.svelte" - import HoverIndicator from "./HoverIndicator.svelte" + import SettingsBar from "./preview/SettingsBar.svelte" + import SelectionIndicator from "./preview/SelectionIndicator.svelte" + import HoverIndicator from "./preview/HoverIndicator.svelte" // Provide contexts setContext("sdk", SDK) diff --git a/packages/client/src/components/HoverIndicator.svelte b/packages/client/src/components/preview/HoverIndicator.svelte similarity index 94% rename from packages/client/src/components/HoverIndicator.svelte rename to packages/client/src/components/preview/HoverIndicator.svelte index 55e6876190..7dd1c78dae 100644 --- a/packages/client/src/components/HoverIndicator.svelte +++ b/packages/client/src/components/preview/HoverIndicator.svelte @@ -1,7 +1,7 @@ diff --git a/packages/client/src/components/SettingsBar.svelte b/packages/client/src/components/preview/SettingsBar.svelte similarity index 96% rename from packages/client/src/components/SettingsBar.svelte rename to packages/client/src/components/preview/SettingsBar.svelte index 1c72e2a951..76cdd8fe8b 100644 --- a/packages/client/src/components/SettingsBar.svelte +++ b/packages/client/src/components/preview/SettingsBar.svelte @@ -1,8 +1,8 @@