CIA Compliance Manager API Documentation - v1.1.6
    Preparing search index...

    Variable WIDGET_STYLESConst

    WIDGET_STYLES: {
        badge: (
            variant?:
                | "success"
                | "info"
                | "warning"
                | "error"
                | "neutral"
                | "primary",
        ) => string;
        card: () => string;
        container: () => string;
        content: () => string;
        header: () => string;
        section: () => string;
        subtitle: () => string;
        title: () => string;
    } = ...

    Widget-specific styling utilities These helpers generate consistent className strings for common widget patterns

    NOTE: These utilities are provided for convenience and future use. While all widgets have been refactored to use design tokens via inline Tailwind classes, these helpers can be adopted in future refactoring to further reduce code duplication and improve maintainability. They are kept for forward compatibility and as reference patterns.

    Type Declaration

    • Readonlybadge: (
          variant?:
              | "success"
              | "info"
              | "warning"
              | "error"
              | "neutral"
              | "primary",
      ) => string

      Get badge classes

    • Readonlycard: () => string

      Get card classes for nested content

    • Readonlycontainer: () => string

      Get widget container classes

    • Readonlycontent: () => string

      Get widget content classes

    • Get widget header classes

    • Readonlysection: () => string

      Get widget section classes

    • Readonlysubtitle: () => string

      Get widget subtitle classes

    • Readonlytitle: () => string

      Get widget title classes