diff --git a/packages/materialdesign-components/components.json b/packages/materialdesign-components/components.json index c0e79c511c..e62d30f5ef 100644 --- a/packages/materialdesign-components/components.json +++ b/packages/materialdesign-components/components.json @@ -24,6 +24,7 @@ }, "Button": { "name": "Button", + "children": false, "description": "A Material Design button with different variations. It renders as an anchor if href is passed to it.", "props": { "onClick": "event", diff --git a/packages/standard-components/components.json b/packages/standard-components/components.json index d5e8320b93..3a50ed2470 100644 --- a/packages/standard-components/components.json +++ b/packages/standard-components/components.json @@ -142,7 +142,11 @@ "props": { "url": "string", "openInNewTab": "bool", - "text": "string" + "text": "string", + "color": "string", + "hoverColor": "string", + "underline": "bool", + "fontSize": "string" } }, "image": { @@ -179,7 +183,27 @@ "summary" ], "default": "div" + }, + "backgroundColor": "string", + "color": "string", + "borderWidth": "string", + "borderColor": "string", + "borderStyle": { + "type":"options", + "options": [ + "none", + "solid", + "dotted", + "dashed", + "double", + "groove", + "ridge", + "inset", + "outset" + ], + "default": "none" } + }, "container": true, "tags": ["div", "container", "layout"] diff --git a/packages/standard-components/src/Container.svelte b/packages/standard-components/src/Container.svelte index 0951a03d65..9b9d47d3c0 100644 --- a/packages/standard-components/src/Container.svelte +++ b/packages/standard-components/src/Container.svelte @@ -1,49 +1,88 @@ {#if type === "div"} -
+
{:else if type === "header"} -
+
{:else if type === "main"} -
+
{:else if type === "footer"} -