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

    Interface StackData

    Stateful layout and theme data accepted by stack.

    interface StackData {
        capabilities?: Pick<TerminalCapabilities, "colorLevel">;
        backgroundTone?: keyof ThemeColors;
        borderTone?: keyof ThemeColors;
        foregroundTone?: keyof ThemeColors;
        theme?: Theme;
        align?: StackAlign;
        direction?: StackDirection;
        gap?: number;
    }

    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.

    align?: StackAlign

    Cross-axis child alignment.

    'stretch'

    direction?: StackDirection

    Main-axis flow direction.

    'vertical'

    gap?: number

    Empty cells or rows between direct children.

    0