@budibase/bbui 2.3.18-alpha.28 → 2.3.18-alpha.29
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.
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/bbui",
|
|
3
3
|
"description": "A UI solution used in the different Budibase projects.",
|
|
4
|
-
"version": "2.3.18-alpha.
|
|
4
|
+
"version": "2.3.18-alpha.29",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"svelte": "src/index.js",
|
|
7
7
|
"module": "dist/bbui.es.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@adobe/spectrum-css-workflow-icons": "1.2.1",
|
|
41
|
-
"@budibase/string-templates": "2.3.18-alpha.
|
|
41
|
+
"@budibase/string-templates": "2.3.18-alpha.29",
|
|
42
42
|
"@spectrum-css/accordion": "3.0.24",
|
|
43
43
|
"@spectrum-css/actionbutton": "1.0.1",
|
|
44
44
|
"@spectrum-css/actiongroup": "1.0.1",
|
|
@@ -89,5 +89,5 @@
|
|
|
89
89
|
"resolutions": {
|
|
90
90
|
"loader-utils": "1.4.1"
|
|
91
91
|
},
|
|
92
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "301db2206dafea52c84fa9f062b1e7bb00addbfc"
|
|
93
93
|
}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
export let sort = false
|
|
16
16
|
export let autoWidth = false
|
|
17
17
|
export let fetchTerm = null
|
|
18
|
+
export let useFetch = false
|
|
18
19
|
export let customPopoverHeight
|
|
19
20
|
|
|
20
21
|
const dispatch = createEventDispatcher()
|
|
@@ -86,6 +87,7 @@
|
|
|
86
87
|
isPlaceholder={!value?.length}
|
|
87
88
|
{autocomplete}
|
|
88
89
|
bind:fetchTerm
|
|
90
|
+
{useFetch}
|
|
89
91
|
{isOptionSelected}
|
|
90
92
|
{getOptionLabel}
|
|
91
93
|
{getOptionValue}
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
export let autocomplete = false
|
|
34
34
|
export let sort = false
|
|
35
35
|
export let fetchTerm = null
|
|
36
|
+
export let useFetch = false
|
|
36
37
|
export let customPopoverHeight
|
|
37
38
|
export let align = "left"
|
|
38
39
|
export let footer = null
|
|
@@ -150,9 +151,9 @@
|
|
|
150
151
|
>
|
|
151
152
|
{#if autocomplete}
|
|
152
153
|
<Search
|
|
153
|
-
value={
|
|
154
|
+
value={useFetch ? fetchTerm : searchTerm}
|
|
154
155
|
on:change={event =>
|
|
155
|
-
|
|
156
|
+
useFetch ? (fetchTerm = event.detail) : (searchTerm = event.detail)}
|
|
156
157
|
{disabled}
|
|
157
158
|
placeholder="Search"
|
|
158
159
|
/>
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
export let autoWidth = false
|
|
18
18
|
export let autocomplete = false
|
|
19
19
|
export let fetchTerm = null
|
|
20
|
+
export let useFetch = false
|
|
20
21
|
export let customPopoverHeight
|
|
21
22
|
|
|
22
23
|
const dispatch = createEventDispatcher()
|
|
@@ -41,6 +42,7 @@
|
|
|
41
42
|
{autocomplete}
|
|
42
43
|
{customPopoverHeight}
|
|
43
44
|
bind:fetchTerm
|
|
45
|
+
{useFetch}
|
|
44
46
|
on:change={onChange}
|
|
45
47
|
on:click
|
|
46
48
|
/>
|