CIA Compliance Manager API Documentation - v0.8.21

    Interface SecurityLevelSelectorProps

    Props for security level selector components

    These interactive controls allow users to adjust security levels, providing immediate feedback on the impact of their choices. 🎚️

    interface SecurityLevelSelectorProps {
        className?: string;
        compact?: boolean;
        component: "confidentiality" | "integrity" | "availability";
        disabled?: boolean;
        highlight?: boolean;
        mode?: "horizontal" | "vertical";
        onLevelChange: (level: SecurityLevel) => void;
        securityLevel?: SecurityLevel;
        selectedLevel: SecurityLevel;
        testId?: string;
    }

    Hierarchy (View Summary, Expand)

    Index

    Properties

    className?: string

    Optional CSS class name

    compact?: boolean

    Whether to use compact layout

    component: "confidentiality" | "integrity" | "availability"

    The CIA component this selector controls

    disabled?: boolean

    Whether the selector is disabled

    highlight?: boolean

    Whether to highlight the selector

    mode?: "horizontal" | "vertical"

    Layout orientation

    onLevelChange: (level: SecurityLevel) => void

    Callback when level changes

    securityLevel?: SecurityLevel

    Optional security level for widgets that only need one level

    selectedLevel: SecurityLevel

    Currently selected security level

    testId?: string

    Optional test ID for testing

    MMNEPVFCICPMFPCPTTAAATR