UNPKG

@trimble-oss/moduswebcomponents

Version:

Modus Web Components is a modern, accessible UI library built with Stencil JS that provides reusable web components following Trimble's Modus design system. This updated version focuses on improved flexibility, enhanced theming options, comprehensive cust

30 lines (29 loc) 938 B
import { Orientation } from '../types'; export interface IStepperItem { /** The color theme of the step */ color?: 'primary' | 'secondary' | 'accent' | 'info' | 'success' | 'warning' | 'error' | 'neutral'; /** Custom content to display in the step indicator */ content?: string; /** Custom CSS class to apply to the step */ customClass?: string; /** Text label for the step */ label?: string; } /** * Used to show a list of steps in a process. */ export declare class ModusWcStepper { private inheritedAttributes; /** Reference to the host element */ el: HTMLElement; /** Custom CSS class to apply to the steps element. */ customClass?: string; /** The orientation of the steps. */ orientation?: Orientation; /** The steps to display. */ steps: IStepperItem[]; componentWillLoad(): void; private getClasses; private getClassesForStep; render(): any; }