From 44a2282748bb7a7a25f80053aa026dc6317bb62c Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 18 Nov 2020 21:13:13 +0000 Subject: [PATCH] Remove deprecated components and fix card styling --- packages/standard-components/src/Card.svelte | 1 + .../src/CardHorizontal.svelte | 1 + .../standard-components/src/Checkbox.svelte | 11 --------- .../standard-components/src/Option.svelte | 13 ----------- .../src/Radiobutton.svelte | 11 --------- .../standard-components/src/Select.svelte | 23 ------------------- 6 files changed, 2 insertions(+), 58 deletions(-) delete mode 100644 packages/standard-components/src/Checkbox.svelte delete mode 100644 packages/standard-components/src/Option.svelte delete mode 100644 packages/standard-components/src/Radiobutton.svelte delete mode 100644 packages/standard-components/src/Select.svelte diff --git a/packages/standard-components/src/Card.svelte b/packages/standard-components/src/Card.svelte index 01d14da07c..b6f0d3ae44 100644 --- a/packages/standard-components/src/Card.svelte +++ b/packages/standard-components/src/Card.svelte @@ -14,6 +14,7 @@ export let linkHoverColor export let imageHeight export let cardWidth + export let styles $: cssVariables = { color, diff --git a/packages/standard-components/src/CardHorizontal.svelte b/packages/standard-components/src/CardHorizontal.svelte index 53292f149e..df10a243cd 100644 --- a/packages/standard-components/src/CardHorizontal.svelte +++ b/packages/standard-components/src/CardHorizontal.svelte @@ -16,6 +16,7 @@ export let cardWidth export let imageWidth export let imageHeight + export let styles $: cssVariables = { color, diff --git a/packages/standard-components/src/Checkbox.svelte b/packages/standard-components/src/Checkbox.svelte deleted file mode 100644 index 75e41bb897..0000000000 --- a/packages/standard-components/src/Checkbox.svelte +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/packages/standard-components/src/Option.svelte b/packages/standard-components/src/Option.svelte deleted file mode 100644 index 34e7d2e4bf..0000000000 --- a/packages/standard-components/src/Option.svelte +++ /dev/null @@ -1,13 +0,0 @@ - - - diff --git a/packages/standard-components/src/Radiobutton.svelte b/packages/standard-components/src/Radiobutton.svelte deleted file mode 100644 index 213d0d79ba..0000000000 --- a/packages/standard-components/src/Radiobutton.svelte +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/packages/standard-components/src/Select.svelte b/packages/standard-components/src/Select.svelte deleted file mode 100644 index 4dab98c3e7..0000000000 --- a/packages/standard-components/src/Select.svelte +++ /dev/null @@ -1,23 +0,0 @@ - - -