fuma 2.0.42 → 2.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
|
|
56
56
|
const dispatch = createEventDispatcher<{
|
|
57
57
|
input: { value: RelationItem | null }
|
|
58
|
+
blur: void
|
|
58
59
|
}>()
|
|
59
60
|
|
|
60
61
|
export async function clear() {
|
|
@@ -98,6 +99,7 @@
|
|
|
98
99
|
async function handleBlur() {
|
|
99
100
|
isFocus = false
|
|
100
101
|
searchValue = ''
|
|
102
|
+
dispatch('blur')
|
|
101
103
|
}
|
|
102
104
|
</script>
|
|
103
105
|
|
|
@@ -105,7 +107,7 @@
|
|
|
105
107
|
<div class="contents" slot="activator">
|
|
106
108
|
<FormControl {key} {label} {error} class={klass}>
|
|
107
109
|
{#snippet children({ key })}
|
|
108
|
-
<label class="input" class:hidden={item}>
|
|
110
|
+
<label class="input w-full" class:hidden={item}>
|
|
109
111
|
<svelte:component this={Icon} class="h-5 w-5 shrink-0 opacity-70" />
|
|
110
112
|
<input
|
|
111
113
|
type="text"
|