diff --git a/packages/bbui/src/Drawer/DrawerContentWithSidebar.svelte b/packages/bbui/src/Drawer/DrawerContent.svelte similarity index 67% rename from packages/bbui/src/Drawer/DrawerContentWithSidebar.svelte rename to packages/bbui/src/Drawer/DrawerContent.svelte index f400caa5f5..33c3de1f62 100644 --- a/packages/bbui/src/Drawer/DrawerContentWithSidebar.svelte +++ b/packages/bbui/src/Drawer/DrawerContent.svelte @@ -1,8 +1,14 @@
-
- +
+ {#if $$slots.sidebar} + + {/if}
@@ -19,6 +25,9 @@ display: grid; grid-template-columns: 290px 1fr; } + .no-sidebar { + grid-template-columns: 1fr; + } .sidebar { border-right: var(--border-light); overflow: auto; diff --git a/packages/bbui/src/index.js b/packages/bbui/src/index.js index 6413493580..615982bb1b 100644 --- a/packages/bbui/src/index.js +++ b/packages/bbui/src/index.js @@ -10,7 +10,7 @@ export { default as Select } from "./Form/Select.svelte" export { default as Combobox } from "./Form/Combobox.svelte" export { default as Dropzone } from "./Form/Dropzone.svelte" export { default as Drawer } from "./Drawer/Drawer.svelte" -export { default as DrawerContentWithSidebar } from "./Drawer/DrawerContentWithSidebar.svelte" +export { default as DrawerContent } from "./Drawer/DrawerContent.svelte" export { default as Avatar } from "./Avatar/Avatar.svelte" export { default as ActionButton } from "./ActionButton/ActionButton.svelte" export { default as ActionGroup } from "./ActionGroup/ActionGroup.svelte" diff --git a/packages/builder/src/components/design/PropertiesPanel/BindingPanel.svelte b/packages/builder/src/components/design/PropertiesPanel/BindingPanel.svelte index 16cc8409d5..eff76a4608 100644 --- a/packages/builder/src/components/design/PropertiesPanel/BindingPanel.svelte +++ b/packages/builder/src/components/design/PropertiesPanel/BindingPanel.svelte @@ -1,6 +1,6 @@ - + @@ -121,7 +121,7 @@

{/if}
- +