@functionalcms/svelte-components 4.8.7 → 4.8.9
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.
|
@@ -254,15 +254,15 @@
|
|
|
254
254
|
resetState();
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
-
|
|
257
|
+
let composeHandler = (fn: any) => (disabled ? null : fn);
|
|
258
258
|
|
|
259
|
-
|
|
259
|
+
let composeKeyboardHandler = (fn: any) => (noKeyboard ? null : composeHandler(fn));
|
|
260
260
|
|
|
261
|
-
|
|
261
|
+
let composeDragHandler = (fn: any) => (noDrag ? null : composeHandler(fn));
|
|
262
262
|
|
|
263
|
-
|
|
263
|
+
let defaultPlaceholderString = $derived(multiple
|
|
264
264
|
? "Drag 'n' drop some files here, or click to select files"
|
|
265
|
-
: "Drag 'n' drop a file here, or click to select a file";
|
|
265
|
+
: "Drag 'n' drop a file here, or click to select a file");
|
|
266
266
|
|
|
267
267
|
function stopPropagation(event) {
|
|
268
268
|
if (noDragEventsBubbling) {
|
|
@@ -60,9 +60,16 @@
|
|
|
60
60
|
</dialog>
|
|
61
61
|
|
|
62
62
|
<style>
|
|
63
|
-
|
|
63
|
+
h2 {
|
|
64
|
+
margin: 0 30px 0px 0px;
|
|
65
|
+
padding: 0;
|
|
66
|
+
font-size: 1.5em;
|
|
67
|
+
}
|
|
68
|
+
:global(.closeModal){
|
|
64
69
|
position: absolute;
|
|
65
70
|
top: 5px;
|
|
66
71
|
right: 5px;
|
|
72
|
+
border: none !important;
|
|
73
|
+
background: transparent !important;
|
|
67
74
|
}
|
|
68
75
|
</style>
|