@melt-ui/svelte
Advanced tools
Comparing version 0.43.0 to 0.44.0
@@ -29,1 +29,2 @@ export * from './accordion/index.js'; | ||
export * from './tooltip/index.js'; | ||
export * from './tree/index.js'; |
@@ -29,1 +29,2 @@ export * from './accordion/index.js'; | ||
export * from './tooltip/index.js'; | ||
export * from './tree/index.js'; |
import { usePopper } from '../../internal/actions/index.js'; | ||
import { addMeltEventListener, builder, createElHelpers, derivedVisible, effect, executeCallbacks, generateId, getPortalDestination, getTabbableNodes, isBrowser, isElement, isFocusVisible, isHTMLElement, isTouch, noop, overridable, sleep, styleToString, toWritableStores, } from '../../internal/helpers/index.js'; | ||
import { onMount, tick } from 'svelte'; | ||
import { onMount } from 'svelte'; | ||
import { derived, get, writable } from 'svelte/store'; | ||
@@ -5,0 +5,0 @@ const { name } = createElHelpers('hover-card'); |
@@ -106,3 +106,3 @@ import { addEventListener, builder, createElHelpers, executeCallbacks, } from '../../internal/helpers'; | ||
headingsList, | ||
elementsList | ||
elementsList, | ||
}; | ||
@@ -294,9 +294,9 @@ } | ||
elements: { | ||
item | ||
item, | ||
}, | ||
states: { | ||
activeHeadingIdxs, | ||
headingsTree | ||
} | ||
headingsTree, | ||
}, | ||
}; | ||
} |
export declare const isBrowser: boolean; | ||
export declare const isFunction: (v: unknown) => v is Function; | ||
export declare const isLetter: (key: string) => boolean; | ||
export declare function isElement(element: unknown): element is Element; | ||
@@ -4,0 +5,0 @@ export declare function isHTMLElement(element: unknown): element is HTMLElement; |
export const isBrowser = typeof document !== 'undefined'; | ||
// eslint-disable-next-line @typescript-eslint/ban-types | ||
export const isFunction = (v) => typeof v === 'function'; | ||
export const isLetter = (key) => /^[a-z]$/i.test(key); | ||
export function isElement(element) { | ||
@@ -5,0 +6,0 @@ return element instanceof Element; |
@@ -39,2 +39,3 @@ /** | ||
CTRL: string; | ||
ASTERISK: string; | ||
}; | ||
@@ -41,0 +42,0 @@ /** Key sets for navigation within lists, such as select, menu, and combobox. */ |
@@ -39,2 +39,3 @@ /** | ||
CTRL: 'Control', | ||
ASTERISK: '*', | ||
}; | ||
@@ -41,0 +42,0 @@ /** Key sets for navigation within lists, such as select, menu, and combobox. */ |
{ | ||
"name": "@melt-ui/svelte", | ||
"version": "0.43.0", | ||
"version": "0.44.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "exports": { |
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
613272
350
14252