UNPKG

@senka-ai/ui

Version:

A modern, type-safe Svelte 5 UI component library with full theme support, accessibility standards, and robust state management patterns

27 lines 1.05 kB
import type { BaseProps, SizedComponent, ChangeHandler, InteractiveHandlers } from '../../type/component'; export interface StepItem { /** Unique identifier for the step */ id: string; /** Display title for the step */ title: string; /** Whether this step is disabled/non-interactive */ disabled?: boolean; } interface Props extends BaseProps, SizedComponent, ChangeHandler<number>, InteractiveHandlers { /** Array of step definitions */ steps: StepItem[]; /** Current active step index (0-based) */ currentStep?: number; /** Whether steps can be clicked for navigation */ interactive?: boolean; /** Whether to show step titles below indicators */ showTitles?: boolean; /** Whether to show connector lines between steps */ showConnectors?: boolean; /** Layout orientation */ orientation?: 'horizontal'; } declare const Stepper: import("svelte").Component<Props, {}, "">; type Stepper = ReturnType<typeof Stepper>; export default Stepper; //# sourceMappingURL=Stepper.svelte.d.ts.map