UNPKG

claritykit-svelte

Version:

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

62 lines 1.45 kB
export { default as DashboardGrid } from './DashboardGrid.svelte'; export { default as WidgetLibrary } from './WidgetLibrary.svelte'; export { default as DashboardControls } from './DashboardControls.svelte'; export interface Widget { id: string; type: string; title: string; component?: any; props?: Record<string, any>; size: { w: number; h: number; }; position: { x: number; y: number; }; minSize?: { w: number; h: number; }; maxSize?: { w: number; h: number; }; resizable?: boolean; draggable?: boolean; removable?: boolean; className?: string; } export interface WidgetTemplate { id: string; type: string; title: string; description: string; category: string; icon: string; preview?: string; defaultSize: { w: number; h: number; }; defaultProps?: Record<string, any>; tags?: string[]; component?: any; difficulty?: 'beginner' | 'intermediate' | 'advanced'; adhdOptimized?: boolean; } export interface DashboardLayout { columns: number; rowHeight: number; margin: [number, number]; containerPadding: [number, number]; } export interface BreakReminder { enabled: boolean; interval: number; duration: number; lastBreak: Date | null; type: 'gentle' | 'firm' | 'urgent'; } //# sourceMappingURL=index.d.ts.map