@melt-ui/svelte
Advanced tools
Comparing version 0.49.0 to 0.49.1
@@ -228,2 +228,3 @@ import { useEscapeKeydown, usePopper } from '../../internal/actions/index.js'; | ||
if (e.key === kbd.ENTER) { | ||
e.preventDefault(); | ||
const $highlightedItem = get(highlightedItem); | ||
@@ -230,0 +231,0 @@ if ($highlightedItem) { |
@@ -183,3 +183,5 @@ import { addEventListener, addMeltEventListener, builder, createElHelpers, derivedVisible, effect, executeCallbacks, generateId, getPortalDestination, isBrowser, isTouch, kbd, makeHullFromElements, noop, omit, overridable, pointInPolygon, styleToString, toWritableStores, } from '../../internal/helpers/index.js'; | ||
return; | ||
const polygonElements = get(disableHoverableContent) ? [$activeTrigger] : [$activeTrigger, contentEl]; | ||
const polygonElements = get(disableHoverableContent) | ||
? [$activeTrigger] | ||
: [$activeTrigger, contentEl]; | ||
const polygon = makeHullFromElements(polygonElements); | ||
@@ -186,0 +188,0 @@ isMouseInTooltipArea = pointInPolygon({ |
@@ -203,3 +203,3 @@ import { addMeltEventListener, builder, createElHelpers, executeCallbacks, generateId, getElementByMeltId, isHTMLElement, isHidden, isLetter, kbd, last, overridable, styleToString, } from '../../internal/helpers'; | ||
} | ||
}), addMeltEventListener(node, 'click', async (e) => { | ||
}), addMeltEventListener(node, 'click', async () => { | ||
updateSelectedElement(node); | ||
@@ -206,0 +206,0 @@ setFocusedItem(node); |
{ | ||
"name": "@melt-ui/svelte", | ||
"version": "0.49.0", | ||
"version": "0.49.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
610350
14157