Remove deprecated components and fix card styling

This commit is contained in:
Andrew Kingston 2020-11-18 21:13:13 +00:00
parent 1bd2fac9b2
commit 44a2282748
6 changed files with 2 additions and 58 deletions

View File

@ -14,6 +14,7 @@
export let linkHoverColor export let linkHoverColor
export let imageHeight export let imageHeight
export let cardWidth export let cardWidth
export let styles
$: cssVariables = { $: cssVariables = {
color, color,

View File

@ -16,6 +16,7 @@
export let cardWidth export let cardWidth
export let imageWidth export let imageWidth
export let imageHeight export let imageHeight
export let styles
$: cssVariables = { $: cssVariables = {
color, color,

View File

@ -1,11 +0,0 @@
<script>
import Input from "./Input.svelte"
export let _bb
export let label = ""
export let checked = false
export let value = ""
export let onchange = () => {}
</script>
<Input type="checkbox" {_bb} {checked} {label} {value} {onchange} />

View File

@ -1,13 +0,0 @@
<script>
export let value = ""
export let text = ""
export let _bb
let actualValue
let actualText
$: actualValue = value || text || ""
$: actualText = text || value || ""
</script>
<option value={actualValue}>{actualText}</option>

View File

@ -1,11 +0,0 @@
<script>
import Input from "./Input.svelte"
export let _bb
export let label = ""
export let checked = false
export let value = ""
export let onchange = () => {}
</script>
<Input type="radio" {_bb} {checked} {label} {value} {onchange} />

View File

@ -1,23 +0,0 @@
<script>
export let value = ""
export let className = ""
export let _bb
let actualValue = ""
let selectElement
$: selectElement && _bb.attachChildren(selectElement)
const onchange = ev => {
if (_bb) {
_bb.setBinding("value", ev.target.value)
}
}
</script>
<select
class={className}
{value}
on:change={onchange}
bind:this={selectElement} />