@budibase/frontend-core 2.24.2 → 2.25.0

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,18 +1,18 @@
1
1
  {
2
2
  "name": "@budibase/frontend-core",
3
- "version": "2.24.2",
3
+ "version": "2.25.0",
4
4
  "description": "Budibase frontend core libraries used in builder and client",
5
5
  "author": "Budibase",
6
6
  "license": "MPL-2.0",
7
7
  "svelte": "src/index.js",
8
8
  "dependencies": {
9
- "@budibase/bbui": "2.24.2",
10
- "@budibase/shared-core": "2.24.2",
11
- "@budibase/types": "2.24.2",
9
+ "@budibase/bbui": "2.25.0",
10
+ "@budibase/shared-core": "2.25.0",
11
+ "@budibase/types": "2.25.0",
12
12
  "dayjs": "^1.10.8",
13
13
  "lodash": "4.17.21",
14
14
  "shortid": "2.2.15",
15
15
  "socket.io-client": "^4.6.1"
16
16
  },
17
- "gitHead": "9c6e0823094ac5bbf514d628152050bf25faf98d"
17
+ "gitHead": "75d949ef66bf20519446d3999c3412e106ef561d"
18
18
  }
@@ -289,6 +289,7 @@
289
289
  OperatorOptions.ContainsAny.value,
290
290
  ].includes(filter.operator)}
291
291
  disabled={filter.noValue}
292
+ type={filter.valueType}
292
293
  />
293
294
  {:else}
294
295
  <Input disabled />
@@ -325,8 +326,6 @@
325
326
  <style>
326
327
  .container {
327
328
  width: 100%;
328
- max-width: 1000px;
329
- margin: 0 auto;
330
329
  }
331
330
  .fields {
332
331
  display: grid;
@@ -4,6 +4,7 @@
4
4
  import { createAPIClient } from "../api"
5
5
 
6
6
  export let API = createAPIClient()
7
+
7
8
  export let value = null
8
9
  export let disabled
9
10
  export let multiselect = false
@@ -23,12 +24,14 @@
23
24
  $: component = multiselect ? Multiselect : Select
24
25
  </script>
25
26
 
26
- <svelte:component
27
- this={component}
28
- bind:value
29
- autocomplete
30
- {options}
31
- getOptionLabel={option => option.email}
32
- getOptionValue={option => option._id}
33
- {disabled}
34
- />
27
+ <div class="user-control">
28
+ <svelte:component
29
+ this={component}
30
+ bind:value
31
+ autocomplete
32
+ {options}
33
+ getOptionLabel={option => option.email}
34
+ getOptionValue={option => option._id}
35
+ {disabled}
36
+ />
37
+ </div>