Convert AutomationBindingPanel to new DrawerContent panel

This commit is contained in:
Keviin Åberg Kultalahti 2021-04-28 14:55:53 +02:00
parent 016a780322
commit a1220cf048
1 changed files with 10 additions and 11 deletions

View File

@ -1,6 +1,12 @@
<script>
import groupBy from "lodash/fp/groupBy"
import { Input, TextArea, Heading, Layout } from "@budibase/bbui"
import {
Input,
TextArea,
Heading,
Layout,
DrawerContent,
} from "@budibase/bbui"
import { createEventDispatcher } from "svelte"
import { isValid } from "@budibase/string-templates"
import { handlebarsCompletions } from "constants/completions"
@ -44,8 +50,8 @@
}
</script>
<div class="container">
<div class="list">
<DrawerContent>
<div slot="sidebar" class="list">
<Layout>
<div class="section">
<Heading s h3>Available bindings</Heading>
@ -98,16 +104,9 @@
</p>
{/if}
</div>
</div>
</DrawerContent>
<style>
.container {
height: 40vh;
overflow-y: auto;
display: grid;
grid-template-columns: 290px 1fr;
}
.list {
grid-gap: var(--spacing-s);
border-right: var(--border-light);