UNPKG

bits-ui

Version:

The headless components for Svelte.

41 lines (40 loc) 1.87 kB
import { SvelteComponent } from "svelte"; import type { DayEvents, DayProps } from "../index.js"; declare const __propDef: { props: DayProps; slots: { default: { builder: { readonly role: "button"; readonly 'aria-label': string; readonly 'aria-selected': true | undefined; readonly 'aria-disabled': true | undefined; readonly 'data-selected': true | undefined; readonly 'data-selection-start': true | undefined; readonly 'data-selection-end': true | undefined; readonly 'data-value': string; readonly 'data-disabled': "" | undefined; readonly 'data-unavailable': "" | undefined; readonly 'data-today': "" | undefined; readonly 'data-outside-month': "" | undefined; readonly 'data-outside-visible-months': "" | undefined; readonly 'data-focused': "" | undefined; readonly 'data-highlighted': "" | undefined; readonly tabindex: 0 | -1 | undefined; } & { [x: `data-melt-${string}`]: ""; } & { action: (node: HTMLElement) => import("@melt-ui/svelte/internal/types").MeltActionReturn<import("@melt-ui/svelte/dist/builders/range-calendar/events.js").RangeCalendarEvents["cell"]>; }; disabled: boolean; unavailable: boolean; }; }; events: DayEvents; }; export type RangeCalendarDayProps = typeof __propDef.props; export type RangeCalendarDayEvents = typeof __propDef.events; export type RangeCalendarDaySlots = typeof __propDef.slots; export default class RangeCalendarDay extends SvelteComponent<RangeCalendarDayProps, RangeCalendarDayEvents, RangeCalendarDaySlots> { } export {};