@budibase/bbui 3.10.2 → 3.10.4
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/dist/bbui.mjs +3 -3
- package/package.json +2 -2
- package/src/Form/Search.svelte +8 -8
package/dist/bbui.mjs
CHANGED
|
@@ -35126,7 +35126,7 @@ function create_fragment$1b(f) {
|
|
|
35126
35126
|
};
|
|
35127
35127
|
}
|
|
35128
35128
|
function instance$1a(f, u, p) {
|
|
35129
|
-
let { value: m =
|
|
35129
|
+
let { value: m = void 0 } = u, { label: v = void 0 } = u, { labelPosition: y = "above" } = u, { placeholder: k = void 0 } = u, { disabled: S = !1 } = u, { updateOnChange: T = !0 } = u, { quiet: R = !1 } = u, { inputRef: L = void 0 } = u, { helpText: M = void 0 } = u;
|
|
35130
35130
|
const D = createEventDispatcher(), N = (ee) => {
|
|
35131
35131
|
p(0, m = ee.detail), D("change", ee.detail);
|
|
35132
35132
|
};
|
|
@@ -63894,9 +63894,9 @@ var rng_1 = Object.defineProperty({ default: _default }, "__esModule", { value:
|
|
|
63894
63894
|
function M(D) {
|
|
63895
63895
|
return D && D.__esModule ? D : { default: D };
|
|
63896
63896
|
}
|
|
63897
|
-
}),
|
|
63897
|
+
}), uuid_1 = createCommonjsModule(function(f) {
|
|
63898
63898
|
f.exports.uuid = function() {
|
|
63899
|
-
return
|
|
63899
|
+
return commonjsBrowser.v4();
|
|
63900
63900
|
};
|
|
63901
63901
|
}), lib = { array: array$1, code, collection, comparison: comparison$1, html: html_1, i18n, inflection, match, math: math$1, misc, number: number$1, object: object$1, path: path_1, regex: regex$2, string: string$1, url: url_1, uuid: uuid_1 }, handlebarsHelpers = createCommonjsModule(function(f) {
|
|
63902
63902
|
f.exports = function(u, p) {
|
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": "3.10.
|
|
4
|
+
"version": "3.10.4",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"svelte": "src/index.ts",
|
|
7
7
|
"module": "dist/bbui.mjs",
|
|
@@ -99,5 +99,5 @@
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
},
|
|
102
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "a4a5b553543fe58973af1899d5a8806061b74399"
|
|
103
103
|
}
|
package/src/Form/Search.svelte
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
<script>
|
|
1
|
+
<script lang="ts">
|
|
2
2
|
import Field from "./Field.svelte"
|
|
3
3
|
import Search from "./Core/Search.svelte"
|
|
4
4
|
import { createEventDispatcher } from "svelte"
|
|
5
5
|
|
|
6
|
-
export let value =
|
|
7
|
-
export let label =
|
|
8
|
-
export let labelPosition = "above"
|
|
9
|
-
export let placeholder =
|
|
6
|
+
export let value: string | undefined = undefined
|
|
7
|
+
export let label: string | undefined = undefined
|
|
8
|
+
export let labelPosition: "above" | "below" = "above"
|
|
9
|
+
export let placeholder: string | undefined = undefined
|
|
10
10
|
export let disabled = false
|
|
11
11
|
export let updateOnChange = true
|
|
12
12
|
export let quiet = false
|
|
13
|
-
export let inputRef = undefined
|
|
14
|
-
export let helpText =
|
|
13
|
+
export let inputRef: HTMLInputElement | undefined = undefined
|
|
14
|
+
export let helpText: string | undefined = undefined
|
|
15
15
|
|
|
16
16
|
const dispatch = createEventDispatcher()
|
|
17
|
-
const onChange = e => {
|
|
17
|
+
const onChange = (e: CustomEvent<string>) => {
|
|
18
18
|
value = e.detail
|
|
19
19
|
dispatch("change", e.detail)
|
|
20
20
|
}
|