fuma 2.0.24 → 2.0.26
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.
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
export { klass as class }
|
|
37
37
|
export let classList = ''
|
|
38
38
|
export let inputElement: HTMLInputElement
|
|
39
|
+
export let dropdown: DropDown | undefined
|
|
39
40
|
|
|
40
41
|
let proposedItems: RelationItem[] = []
|
|
41
42
|
|
|
@@ -90,7 +91,7 @@
|
|
|
90
91
|
}
|
|
91
92
|
</script>
|
|
92
93
|
|
|
93
|
-
<DropDown {tippyProps} disable={flatMode} {...dropdownProps}>
|
|
94
|
+
<DropDown bind:this={dropdown} {tippyProps} disable={flatMode} {...dropdownProps}>
|
|
94
95
|
<div class="contents" slot="activator">
|
|
95
96
|
<FormControl {key} {label} {error} class={klass}>
|
|
96
97
|
{#snippet children({ key })}
|
|
@@ -27,6 +27,7 @@ declare class __sveltets_Render<RelationItem extends {
|
|
|
27
27
|
class?: string;
|
|
28
28
|
classList?: string;
|
|
29
29
|
inputElement: HTMLInputElement;
|
|
30
|
+
dropdown: DropDown | undefined;
|
|
30
31
|
clear?: (() => Promise<void>) | undefined;
|
|
31
32
|
select?: ((index?: number) => Promise<void>) | undefined;
|
|
32
33
|
focus?: (() => void) | undefined;
|