From 25b71c4e862539e99daef8c91ac59171eacacfdb Mon Sep 17 00:00:00 2001 From: Joe <49767913+joebudi@users.noreply.github.com> Date: Thu, 13 Aug 2020 09:05:22 +0100 Subject: [PATCH] Formatting and Linting --- .../userInterface/ComponentsHierarchy.svelte | 15 ++++++-------- .../userInterface/temporaryPanelStructure.js | 20 +++++++++++++------ 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte b/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte index 7de9670b0e..6997b146eb 100644 --- a/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte +++ b/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte @@ -16,15 +16,12 @@ const joinPath = join("/") const normalizedName = name => - pipe( - name, - [ - trimCharsStart("./"), - trimCharsStart("~/"), - trimCharsStart("../"), - trimChars(" "), - ] - ) + pipe(name, [ + trimCharsStart("./"), + trimCharsStart("~/"), + trimCharsStart("../"), + trimChars(" "), + ]) const changeScreen = screen => { store.setCurrentScreen(screen.props._instanceName) diff --git a/packages/builder/src/components/userInterface/temporaryPanelStructure.js b/packages/builder/src/components/userInterface/temporaryPanelStructure.js index f9cd2740dd..51e228a643 100644 --- a/packages/builder/src/components/userInterface/temporaryPanelStructure.js +++ b/packages/builder/src/components/userInterface/temporaryPanelStructure.js @@ -380,7 +380,7 @@ export default { label: "Card Width", key: "cardWidth", control: OptionSelect, - options: [ "16rem", "20rem", "24rem"], + options: ["16rem", "20rem", "24rem"], placeholder: "Card Width", }, ], @@ -448,29 +448,37 @@ export default { label: "Card Width", key: "cardWidth", control: OptionSelect, - options: [ "24rem", "28rem", "32rem", "40rem", "48rem", "60rem", "100%"], + options: [ + "24rem", + "28rem", + "32rem", + "40rem", + "48rem", + "60rem", + "100%", + ], placeholder: "Card Height", }, { label: "Image Width", key: "imageWidth", control: OptionSelect, - options: [ "8rem", "12rem", "16rem"], + options: ["8rem", "12rem", "16rem"], placeholder: "Image Width", }, { label: "Image Height", key: "imageHeight", control: OptionSelect, - options: [ "8rem", "12rem", "16rem", "auto"], + options: ["8rem", "12rem", "16rem", "auto"], placeholder: "Image Height", }, ], }, }, - ] + ], }, - + { _component: "@budibase/materialdesign-components/BasicCard", name: "Card",