@budibase/bbui 1.0.46-alpha.1 → 1.0.46-alpha.5
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.es.js +1 -1
- package/dist/bbui.es.js.map +1 -1
- package/package.json +2 -2
- package/src/Form/Core/Dropzone.svelte +6 -1
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.0.46-alpha.
|
|
4
|
+
"version": "1.0.46-alpha.5",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"svelte": "src/index.js",
|
|
7
7
|
"module": "dist/bbui.es.js",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"svelte-flatpickr": "^3.2.3",
|
|
83
83
|
"svelte-portal": "^1.0.0"
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "cbfb0f8a13790f223580d3fee84e334eeda5b56e"
|
|
86
86
|
}
|
|
@@ -147,7 +147,9 @@
|
|
|
147
147
|
<img alt="preview" src={selectedUrl} />
|
|
148
148
|
{:else}
|
|
149
149
|
<div class="placeholder">
|
|
150
|
-
<div class="extension">
|
|
150
|
+
<div class="extension">
|
|
151
|
+
{selectedImage.name || "Unknown file"}
|
|
152
|
+
</div>
|
|
151
153
|
<div>Preview not supported</div>
|
|
152
154
|
</div>
|
|
153
155
|
{/if}
|
|
@@ -359,18 +361,21 @@
|
|
|
359
361
|
white-space: nowrap;
|
|
360
362
|
width: 0;
|
|
361
363
|
margin-right: 10px;
|
|
364
|
+
user-select: all;
|
|
362
365
|
}
|
|
363
366
|
.placeholder {
|
|
364
367
|
display: flex;
|
|
365
368
|
flex-direction: column;
|
|
366
369
|
justify-content: center;
|
|
367
370
|
align-items: center;
|
|
371
|
+
text-align: center;
|
|
368
372
|
}
|
|
369
373
|
.extension {
|
|
370
374
|
color: var(--spectrum-global-color-gray-600);
|
|
371
375
|
text-transform: uppercase;
|
|
372
376
|
font-weight: 600;
|
|
373
377
|
margin-bottom: 5px;
|
|
378
|
+
user-select: all;
|
|
374
379
|
}
|
|
375
380
|
|
|
376
381
|
.nav {
|