@budibase/bbui 1.4.8-alpha.0 → 1.4.8

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": "1.4.8-alpha.0",
4
+ "version": "1.4.8",
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": "1.4.8-alpha.0",
41
+ "@budibase/string-templates": "^1.4.8",
42
42
  "@spectrum-css/actionbutton": "^1.0.1",
43
43
  "@spectrum-css/actiongroup": "^1.0.1",
44
44
  "@spectrum-css/avatar": "^3.0.2",
@@ -85,5 +85,5 @@
85
85
  "svelte-flatpickr": "^3.2.3",
86
86
  "svelte-portal": "^1.0.0"
87
87
  },
88
- "gitHead": "b7667257eb2d6dd03b803a78cec7705a48847a5a"
88
+ "gitHead": "860d7e15d3641fc7bfc85b59c493991aaa7330f4"
89
89
  }
@@ -65,6 +65,9 @@
65
65
  }
66
66
  }
67
67
 
68
+ $: showDropzone =
69
+ (!maximum || (maximum && value?.length < maximum)) && !disabled
70
+
68
71
  async function processFileList(fileList) {
69
72
  if (
70
73
  handleFileTooLarge &&
@@ -211,7 +214,7 @@
211
214
  {/each}
212
215
  {/if}
213
216
  {/if}
214
- {#if !maximum || (maximum && value?.length < maximum)}
217
+ {#if showDropzone}
215
218
  <div
216
219
  class="spectrum-Dropzone"
217
220
  class:is-invalid={!!error}