Remove deprecated components and fix card styling
This commit is contained in:
parent
cdb8ff3563
commit
d220fe8fc0
|
@ -14,6 +14,7 @@
|
|||
export let linkHoverColor
|
||||
export let imageHeight
|
||||
export let cardWidth
|
||||
export let styles
|
||||
|
||||
$: cssVariables = {
|
||||
color,
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
export let cardWidth
|
||||
export let imageWidth
|
||||
export let imageHeight
|
||||
export let styles
|
||||
|
||||
$: cssVariables = {
|
||||
color,
|
||||
|
|
|
@ -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} />
|
|
@ -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>
|
|
@ -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} />
|
|
@ -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} />
|
Loading…
Reference in New Issue