@budibase/bbui 3.12.7 → 3.12.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/dist/bbui.mjs +3208 -3182
- package/package.json +2 -2
- package/src/Form/Core/Dropzone.svelte +6 -3
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.12.
|
|
4
|
+
"version": "3.12.8",
|
|
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": "0094d288594dc6e48d3afc9f33fc14f3771652ac"
|
|
103
103
|
}
|
|
@@ -26,6 +26,9 @@
|
|
|
26
26
|
export let fileTags = []
|
|
27
27
|
export let maximum = null
|
|
28
28
|
export let extensions = "*"
|
|
29
|
+
export let titleText = null
|
|
30
|
+
export let clickText = null
|
|
31
|
+
export let addText = null
|
|
29
32
|
|
|
30
33
|
const dispatch = createEventDispatcher()
|
|
31
34
|
const imageExtensions = [
|
|
@@ -317,7 +320,7 @@
|
|
|
317
320
|
<h2
|
|
318
321
|
class="spectrum-Heading spectrum-Heading--sizeL spectrum-Heading--light spectrum-IllustratedMessage-heading"
|
|
319
322
|
>
|
|
320
|
-
Drag and drop your file
|
|
323
|
+
{titleText || "Drag and drop your file"}
|
|
321
324
|
</h2>
|
|
322
325
|
{/if}
|
|
323
326
|
{#if !disabled}
|
|
@@ -325,11 +328,11 @@
|
|
|
325
328
|
class="spectrum-Body spectrum-Body--sizeS spectrum-IllustratedMessage-description"
|
|
326
329
|
>
|
|
327
330
|
<label for={fieldId} class="spectrum-Link">
|
|
328
|
-
|
|
331
|
+
{clickText || "Click to select a file"}
|
|
329
332
|
</label>
|
|
330
333
|
{#if !compact}
|
|
331
334
|
<br />
|
|
332
|
-
|
|
335
|
+
{addText || "or drop it here"}
|
|
333
336
|
{/if}
|
|
334
337
|
</p>
|
|
335
338
|
{#if fileTags.length}
|