UNPKG

claritykit-svelte

Version:

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

48 lines 1.1 kB
/** * TypeScript types for UserProfileCard component */ export interface UserProfile { id: string; name: string; avatar?: string; status: 'online' | 'away' | 'busy' | 'offline' | 'typing'; role?: string; title?: string; department?: string; location?: string; timezone?: string; lastSeen?: string; isCurrentUser?: boolean; customFields?: Array<{ label: string; value: string; type: 'text' | 'link' | 'email'; }>; } export interface UserProfileCardEvents { 'user-message': { user: UserProfile; }; 'user-call': { user: UserProfile; }; 'user-profile': { user: UserProfile; }; 'user-block': { user: UserProfile; }; 'user-report': { user: UserProfile; }; } export interface UserProfileCardProps { user: UserProfile; variant?: 'default' | 'compact' | 'minimal'; size?: 'sm' | 'md' | 'lg'; showActions?: boolean; showPresence?: boolean; showCustomFields?: boolean; class?: string; } //# sourceMappingURL=types.d.ts.map