1
0
Fork 0
mirror of synced 2024-07-09 00:06:05 +12:00

embed component, rename main and login to public and private

This commit is contained in:
Martin McKeaveney 2020-06-11 20:18:59 +01:00
parent dd206338c2
commit 9830725ac1
5 changed files with 27 additions and 2 deletions

View file

@ -9,11 +9,11 @@
const pages = [ const pages = [
{ {
title: "Main", title: "Private",
id: "main", id: "main",
}, },
{ {
title: "Login", title: "Public",
id: "unauthenticated", id: "unauthenticated",
}, },
] ]

View file

@ -11,6 +11,18 @@ export default {
name: "Basic", name: "Basic",
isCategory: true, isCategory: true,
children: [ children: [
{
_component: "@budibase/standard-components/embed",
icon: "ri-code-line",
name: "Embed",
description: "Embed content from 3rd party sources",
properties: {
design: {
...all,
},
settings: [{ label: "Embed", key: "embed", control: Input }],
},
},
{ {
_component: "@budibase/standard-components/container", _component: "@budibase/standard-components/container",
name: "Container", name: "Container",

View file

@ -6,6 +6,13 @@
"component": "button" "component": "button"
} }
}, },
"embed": {
"name": "Embed",
"description": "Embed stuff",
"props": {
"embed": "string"
}
},
"Navigation": { "Navigation": {
"name": "Navigation", "name": "Navigation",
"description": "A basic header navigation component", "description": "A basic header navigation component",

View file

@ -0,0 +1,5 @@
<script>
export let embed
</script>
{@html embed}

View file

@ -21,3 +21,4 @@ export { default as datalist } from "./DataList.svelte"
export { default as list } from "./List.svelte" export { default as list } from "./List.svelte"
export { default as datasearch } from "./DataSearch.svelte" export { default as datasearch } from "./DataSearch.svelte"
export { default as datamap } from "./DataMap.svelte" export { default as datamap } from "./DataMap.svelte"
export { default as embed } from "./Embed.svelte"