Themes: improve note theme, fix #2088

This commit is contained in:
Pieter Vander Vennet 2024-09-13 02:25:06 +02:00
parent 70117ac687
commit e8099b9081
5 changed files with 266 additions and 189 deletions

View file

@ -23,9 +23,9 @@
export let type: ValidatorType
export let value: UIEventSource<string | object>
export let feature: Feature
export let feature: Feature = undefined
export let args: (string | number | boolean)[] = undefined
export let state: SpecialVisualizationState
export let state: SpecialVisualizationState = undefined
</script>
{#if type === "translation"}
@ -51,4 +51,6 @@
<SlopeInput {value} {feature} {state} />
{:else if type === "wikidata"}
<WikidataInputHelper {value} {feature} {state} {args} />
{:else}
<slot name="fallback" />
{/if}