/** * Tabs - Tab navigation component * refactored for Material 3 * * Provides tabbed navigation with optional counts and content slots. * * Accessibility: * - Supports keyboard navigation with Arrow keys * - Proper ARIA roles: tablist, tab, tabpanel * - aria-selected indicates active tab * - aria-controls links tab to panel */ import type { Snippet } from 'svelte'; import type { Tab } from './types.js'; export interface Props { /** Available tabs */ tabs: Tab[]; /** Currently active tab id */ active: string; /** Called when tab changes */ onchange?: (id: string) => void; /** Size variant */ size?: 'sm' | 'md' | 'lg'; /** Visual variant */ variant?: 'primary' | 'secondary'; /** Tab content slot */ children?: Snippet; /** Accessible label for the tablist */ 'aria-label'?: string; } declare const Tabs: import("svelte").Component; type Tabs = ReturnType; export default Tabs; //# sourceMappingURL=Tabs.svelte.d.ts.map