import { ButtonVariantProps } from '@sixbell-telco/sdk/components/button'; /** * Configuration for a single table action. */ export interface TableActionConfig { /** Unique identifier for the action. */ id: string; /** SVG icon string (from ng-icons). */ icon?: string; /** Display label (supports i18n translation keys). */ label?: string; /** Tooltip text for inline mode (supports i18n translation keys). */ tooltip?: string; /** Button variant style. */ variant?: ButtonVariantProps; /** Whether the action is disabled. */ disabled?: boolean; } /** * Rendering mode for table actions. * - `inline`: Renders action buttons in a row (default). * - `dropdown`: Renders a kebab menu (3-dot) that opens a dropdown with action items. */ export type TableActionsMode = 'inline' | 'dropdown'; /** * Size options for table actions. */ export type TableActionsSizeProps = 'xs' | 'sm' | 'md' | 'lg' | 'xl';