blessed-components - v1.20.0
    Preparing search index...

    Interface DetailsPanelData

    Shared semantic style data accepted by themed Blessed adapters.

    interface DetailsPanelData {
        capabilities?: Pick<TerminalCapabilities, "colorLevel">;
        backgroundTone?: keyof ThemeColors;
        borderTone?: keyof ThemeColors;
        foregroundTone?: keyof ThemeColors;
        theme?: Theme;
        collapseBelow?: number;
        detailContent?: string;
        gap?: number;
        masterContent?: string;
        masterWidth?: number;
        onBack?: () => void;
        selectedId?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    capabilities?: Pick<TerminalCapabilities, "colorLevel">

    Explicit color capability used for deterministic rendering.

    backgroundTone?: keyof ThemeColors

    Semantic background token.

    'background'

    borderTone?: keyof ThemeColors

    Semantic border token.

    'border'

    foregroundTone?: keyof ThemeColors

    Semantic foreground token.

    'foreground'

    theme?: Theme

    Semantic terminal theme.

    collapseBelow?: number
    detailContent?: string
    gap?: number
    masterContent?: string
    masterWidth?: number
    onBack?: () => void

    Called when the narrow detail view requests a return to the master.

    selectedId?: string

    Stable selected item id; absence displays the narrow master view.