import { Color } from '@ionic/core'; /** * FAB action item configuration. */ export interface FabActionMetadata { /** Action icon */ icon: string; /** Action label (tooltip) */ label?: string; /** Action color */ color?: Color; /** Action identifier */ token?: string; /** Whether action is disabled */ disabled?: boolean; } /** * Metadata for the FAB component. */ export interface FabMetadata { /** Main FAB icon */ icon: string; /** Icon when FAB is activated (optional) */ iconActivated?: string; /** FAB color */ color?: Color; /** FAB position */ position?: 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'center-start' | 'center-end'; /** FAB size */ size?: 'small' | 'default'; /** FAB actions (mini buttons) */ actions?: FabActionMetadata[]; /** Actions list side */ side?: 'start' | 'end' | 'top' | 'bottom'; /** Whether FAB is disabled */ disabled?: boolean; /** Translucent background */ translucent?: boolean; /** Show labels on actions */ showLabels?: boolean; /** Close on action click */ closeOnAction?: boolean; /** Unique token identifier */ token?: string; }