UNPKG

claritykit-svelte

Version:

A comprehensive Svelte component library focused on accessibility, ADHD-optimized design, developer experience, and full SSR compatibility

47 lines 1.71 kB
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> { new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & { $$bindings?: Bindings; } & Exports; (internal: unknown, props: Props & { $$events?: Events; $$slots?: Slots; }): Exports & { $set?: any; $on?: any; }; z_$$bindings?: Bindings; } /** * CalendarView * * A calendar view component for displaying data in a monthly calendar format. * Designed to work with PostgreSQL materialized views and integrate with other ClarityKit view types. * * @prop {CalendarEvent[]} events - Array of events to display * @prop {Date} [currentDate] - Current date for the calendar view * @prop {boolean} [loading] - Loading state * @prop {string} [error] - Error message * @prop {boolean} [editable] - Whether events can be edited/created * @prop {CalendarViewConfig} [config] - View configuration */ declare const CalendarView: $$__sveltets_2_IsomorphicComponent<{ events?: any[]; currentDate?: any; loading?: boolean; error?: string; editable?: boolean; config?: Record<string, any>; class?: string; onEventClick: any; onEventCreate: any; onEventUpdate: any; onDateClick: any; onViewChange: any; }, { eventClick: CustomEvent<any>; } & { [evt: string]: CustomEvent<any>; }, {}, {}, "">; type CalendarView = InstanceType<typeof CalendarView>; export default CalendarView; //# sourceMappingURL=CalendarView.svelte.d.ts.map