UNPKG

claritykit-svelte

Version:

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

39 lines 1.25 kB
interface BreakConfig { interval: number; duration: number; type: 'gentle' | 'firm' | 'urgent'; autoStart: boolean; showCountdown: boolean; playSound: boolean; suggestions: string[]; } interface BreakSession { startTime: Date; endTime: Date | null; type: 'micro' | 'short' | 'long'; completed: boolean; } interface Props { config?: Partial<BreakConfig>; enabled?: boolean; onBreak?: (session: BreakSession) => void; onComplete?: (session: BreakSession) => void; onConfigChange?: (config: BreakConfig) => void; class?: string; 'data-testid'?: string; } /** * BreakReminder * * ADHD-optimized break reminder system with customizable intervals and gentle notifications. * * @prop {Object} [config] - Break reminder configuration * @prop {boolean} [enabled] - Enable break reminders * @prop {Function} [onBreak] - Break started callback * @prop {Function} [onComplete] - Break completed callback * @prop {Function} [onConfigChange] - Configuration change callback */ declare const BreakReminder: import("svelte").Component<Props, {}, "">; type BreakReminder = ReturnType<typeof BreakReminder>; export default BreakReminder; //# sourceMappingURL=BreakReminder.svelte.d.ts.map