From 46a29b5d27b8d9f7ea38c1063fc081ed5933db5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81d=C3=A1m=20Kov=C3=A1cs?= <43071496+adam-kov@users.noreply.github.com> Date: Thu, 20 Apr 2023 16:35:45 +0200 Subject: [PATCH] fix(frontend): Update flow viewer styling (#1441) * fix(frontend): Update flow viewer styling * update --- .../src/lib/components/FlowGraphViewer.svelte | 147 +++++++++++------- frontend/src/lib/components/FlowViewer.svelte | 19 ++- .../components/InputTransformsViewer.svelte | 34 ++-- .../src/lib/components/SchemaViewer.svelte | 106 ++++++------- .../graph/svelvet/container/models/index.ts | 6 + .../svelvet/container/views/Svelvet.svelte | 10 +- .../propertyPicker/ObjectViewer.svelte | 4 +- 7 files changed, 200 insertions(+), 126 deletions(-) create mode 100644 frontend/src/lib/components/graph/svelvet/container/models/index.ts diff --git a/frontend/src/lib/components/FlowGraphViewer.svelte b/frontend/src/lib/components/FlowGraphViewer.svelte index 4b8fc60b08..6deec5375f 100644 --- a/frontend/src/lib/components/FlowGraphViewer.svelte +++ b/frontend/src/lib/components/FlowGraphViewer.svelte @@ -5,7 +5,7 @@ import IconedPath from './IconedPath.svelte' import { scriptPathToHref } from '../utils' import type { FlowModule, FlowValue } from '$lib/gen' - import { Drawer, DrawerContent } from './common' + import { Badge, Button, Drawer, DrawerContent } from './common' import { Highlight } from 'svelte-highlight' import ObjectViewer from './propertyPicker/ObjectViewer.svelte' import typescript from 'svelte-highlight/languages/typescript' @@ -46,7 +46,7 @@ {#if stepDetail.value.path.startsWith('hub/')}