@makolabs/ripple 0.0.1-dev.77 → 0.0.1-dev.78

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.
@@ -38,7 +38,7 @@
38
38
  } = $derived(
39
39
  modal({
40
40
  open,
41
- position,
41
+ position
42
42
  })
43
43
  );
44
44
 
@@ -60,9 +60,9 @@
60
60
  function handleEscapeKey(e: KeyboardEvent) {
61
61
  if (e.key === 'Escape' && open) {
62
62
  onClose();
63
+ e.preventDefault();
64
+ e.stopPropagation();
63
65
  }
64
- e.preventDefault();
65
- e.stopPropagation();
66
66
  }
67
67
 
68
68
  function handleCloseClick() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@makolabs/ripple",
3
- "version": "0.0.1-dev.77",
3
+ "version": "0.0.1-dev.78",
4
4
  "description": "Simple Svelte 5 powered component library ✨",
5
5
  "repository": {
6
6
  "type": "git",