@budibase/bbui 2.22.17 → 2.23.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,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.22.17",
4
+ "version": "2.23.0",
5
5
  "license": "MPL-2.0",
6
6
  "svelte": "src/index.js",
7
7
  "module": "dist/bbui.es.js",
@@ -35,8 +35,8 @@
35
35
  ],
36
36
  "dependencies": {
37
37
  "@adobe/spectrum-css-workflow-icons": "1.2.1",
38
- "@budibase/shared-core": "2.22.17",
39
- "@budibase/string-templates": "2.22.17",
38
+ "@budibase/shared-core": "2.23.0",
39
+ "@budibase/string-templates": "2.23.0",
40
40
  "@spectrum-css/accordion": "3.0.24",
41
41
  "@spectrum-css/actionbutton": "1.0.1",
42
42
  "@spectrum-css/actiongroup": "1.0.1",
@@ -103,5 +103,5 @@
103
103
  }
104
104
  }
105
105
  },
106
- "gitHead": "49af7cfeb796003e470adf1126aefcfec3f3135f"
106
+ "gitHead": "2c4277877da1c0053f7e41ea7156758a1ef844a4"
107
107
  }
@@ -37,6 +37,7 @@
37
37
  "svg",
38
38
  "bmp",
39
39
  "jfif",
40
+ "webp",
40
41
  ]
41
42
 
42
43
  const fieldId = id || uuid()
@@ -67,7 +68,7 @@
67
68
  }
68
69
 
69
70
  $: showDropzone =
70
- (!maximum || (maximum && value?.length < maximum)) && !disabled
71
+ (!maximum || (maximum && (value?.length || 0) < maximum)) && !disabled
71
72
 
72
73
  async function processFileList(fileList) {
73
74
  if (