@functionalcms/svelte-components 4.8.7 → 4.8.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.
@@ -254,15 +254,15 @@
254
254
  resetState();
255
255
  }
256
256
 
257
- $: composeHandler = (fn) => (disabled ? null : fn);
257
+ let composeHandler = (fn: any) => (disabled ? null : fn);
258
258
 
259
- $: composeKeyboardHandler = (fn) => (noKeyboard ? null : composeHandler(fn));
259
+ let composeKeyboardHandler = (fn: any) => (noKeyboard ? null : composeHandler(fn));
260
260
 
261
- $: composeDragHandler = (fn) => (noDrag ? null : composeHandler(fn));
261
+ let composeDragHandler = (fn: any) => (noDrag ? null : composeHandler(fn));
262
262
 
263
- $: defaultPlaceholderString = multiple
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,11 @@
60
60
  </dialog>
61
61
 
62
62
  <style>
63
- .closeModal{
63
+ :global(.closeModal){
64
64
  position: absolute;
65
65
  top: 5px;
66
66
  right: 5px;
67
+ border: none;
68
+ background: transparent;
67
69
  }
68
70
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@functionalcms/svelte-components",
3
- "version": "4.8.7",
3
+ "version": "4.8.8",
4
4
  "watch": {
5
5
  "build": {
6
6
  "patterns": [