UNPKG

svelte-ux

Version:

A large collection of Svelte components, actions, stores and utils to simplify creating highly interactive and visual applications. Built using Tailwind with extensibility and customization in mind.

42 lines (41 loc) 1.44 kB
import { SvelteComponentTyped } from "svelte"; import type { TransitionConfig } from 'svelte/transition'; import type { Placement } from '@floating-ui/dom'; import type { TransitionParams } from '../types/index.js'; declare const __propDef: { props: { [x: string]: any; open?: boolean | undefined; offset?: number | undefined; matchWidth?: boolean | undefined; placement?: Placement | undefined; autoPlacement?: boolean | undefined; resize?: boolean | "width" | "height" | undefined; disableTransition?: boolean | undefined; transition?: ((node: HTMLElement, params: TransitionParams) => TransitionConfig) | undefined | undefined; transitionParams?: TransitionParams | undefined; explicitClose?: boolean | undefined; moveFocus?: boolean | undefined; classes?: { root?: string; menu?: string; } | undefined; menuItemsEl?: HTMLMenuElement | undefined; }; events: { close: CustomEvent<any>; } & { [evt: string]: CustomEvent<any>; }; slots: { default: { close: () => void; }; }; }; export type MenuProps = typeof __propDef.props; export type MenuEvents = typeof __propDef.events; export type MenuSlots = typeof __propDef.slots; export default class Menu extends SvelteComponentTyped<MenuProps, MenuEvents, MenuSlots> { } export {};