@melt-ui/svelte
Advanced tools
Comparing version 0.55.0 to 0.55.1
@@ -1,2 +0,2 @@ | ||
import { addEventListener, builder, createElHelpers, executeCallbacks, } from '../../internal/helpers'; | ||
import { addMeltEventListener, builder, createElHelpers, executeCallbacks, } from '../../internal/helpers'; | ||
import { onMount } from 'svelte'; | ||
@@ -236,3 +236,3 @@ import { get, writable } from 'svelte/store'; | ||
const id = node.getAttribute('data-id'); | ||
const unsub = executeCallbacks(addEventListener(node, 'click', (e) => { | ||
const unsub = executeCallbacks(addMeltEventListener(node, 'click', (e) => { | ||
e.preventDefault(); | ||
@@ -239,0 +239,0 @@ if (scrollFn) { |
@@ -17,4 +17,3 @@ /** | ||
export function melt(node, params) { | ||
// @ts-expect-error calls the action for debugging purposes | ||
return params.action(node); | ||
throw new Error("[MELTUI ERROR]: The `use:melt` action cannot be used without MeltUI's Preprocessor. See: https://www.melt-ui.com/docs/preprocessor"); | ||
} |
{ | ||
"name": "@melt-ui/svelte", | ||
"version": "0.55.0", | ||
"version": "0.55.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": "github:melt-ui/melt-ui", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
611384
362
14009