UNPKG

claritykit-svelte

Version:

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

53 lines 1.87 kB
import type { WorkspaceSelectorProps, Workspace } from './types.js'; 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; } /** * WorkspaceSelector * * Multi-workspace dropdown selector with search functionality, keyboard shortcuts, * favorites management, and notification badges. Includes comprehensive accessibility * support and ADHD-friendly design patterns. * * Features: * - Multi-workspace dropdown with search * - Workspace avatars and status indicators * - Recent workspace history and favorites * - Keyboard shortcuts (Cmd+1, Cmd+2, etc.) * - Workspace creation and management * - Loading states and notifications * - Full accessibility support */ declare const WorkspaceSelector: $$__sveltets_2_IsomorphicComponent<WorkspaceSelectorProps, { select: CustomEvent<{ workspace: Workspace; }>; create: CustomEvent<{}>; manage: CustomEvent<{ workspace: Workspace; }>; 'toggle-favorite': CustomEvent<{ workspaceId: string; isFavorite: boolean; }>; search: CustomEvent<{ query: string; }>; open: CustomEvent<{}>; close: CustomEvent<{}>; } & { [evt: string]: CustomEvent<any>; }, {}, {}, "">; type WorkspaceSelector = InstanceType<typeof WorkspaceSelector>; export default WorkspaceSelector; //# sourceMappingURL=WorkspaceSelector.svelte.d.ts.map