import { Color } from '@ionic/core'; /** * Timeline item configuration. */ export interface TimelineItemMetadata { /** Item title */ title: string; /** Item content/description */ content?: string; /** Date or time label */ date?: string; /** Item icon */ icon?: string; /** Item color */ color?: Color; /** Whether item is active/current */ active?: boolean; /** Unique token identifier */ token?: string; } /** * Metadata for the timeline component. */ export interface TimelineMetadata { /** Timeline items */ items: TimelineItemMetadata[]; /** Timeline orientation */ orientation?: 'vertical' | 'horizontal'; /** Alternate items on both sides (vertical only) */ alternate?: boolean; /** Show connector lines */ showConnectors?: boolean; /** Default color for all items */ color?: Color; /** Connector style */ connectorStyle?: 'solid' | 'dashed'; /** Unique token identifier */ token?: string; }