From d640f90e7b2cdb9533262ba4819b262dfabbc55c Mon Sep 17 00:00:00 2001 From: kevmodrome Date: Tue, 9 Jun 2020 11:00:50 +0200 Subject: [PATCH] feat: move DetailSummary component in properties pane to bbui --- packages/builder/package.json | 2 +- .../userInterface/PropertyGroup.svelte | 85 +++---------------- 2 files changed, 13 insertions(+), 74 deletions(-) diff --git a/packages/builder/package.json b/packages/builder/package.json index d2d9cdb11b..8fe9ffd494 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -39,7 +39,7 @@ }, "dependencies": { "@beyonk/svelte-notifications": "^2.0.3", - "@budibase/bbui": "^0.3.7", + "@budibase/bbui": "^1.1.1", "@budibase/client": "^0.0.32", "@nx-js/compiler-util": "^2.0.0", "codemirror": "^5.51.0", diff --git a/packages/builder/src/components/userInterface/PropertyGroup.svelte b/packages/builder/src/components/userInterface/PropertyGroup.svelte index a51607833a..b181b406a7 100644 --- a/packages/builder/src/components/userInterface/PropertyGroup.svelte +++ b/packages/builder/src/components/userInterface/PropertyGroup.svelte @@ -1,6 +1,7 @@ -
-
(show = !show)}> -
- -
-
{capitalize(name)}
-
-
- - {#each properties as props} - onStyleChanged(styleCategory, key, value)} - props={{ ...excludeProps(props, ['control', 'label']) }} /> - {/each} -
-
- - + + {#each properties as props} + onStyleChanged(styleCategory, key, value)} + props={{ ...excludeProps(props, ['control', 'label']) }} /> + {/each} +