@stigg/react-sdk - v7.4.2

    Interface StiggContextValue

    interface StiggContextValue {
        customerPortalUpdatedAt?: Date;
        isInitialized: boolean;
        locale: string;
        refreshData: () => Promise<void>;
        stigg: StiggClient;
        theme?: {
            border?: { radius?: string };
            customCss?: string;
            layout?: {
                ctaAlignment?: HorizontalAlignment;
                descriptionAlignment?: TextAlignment;
                descriptionMinHeight?: string;
                headerAlignment?: HorizontalAlignment;
                planMargin?: string;
                planMaxWidth?: string;
                planMinWidth?: string;
                planPadding?: string;
                switchBottomSpacing?: string;
            };
            palette?: {
                backgroundButton?: string;
                backgroundHighlight?: string;
                backgroundPaper?: string;
                backgroundSection?: string;
                error?: string;
                errorDark?: string;
                outlinedBorder?: string;
                outlinedHoverBackground?: string;
                outlinedRestingBorder?: string;
                primary?: string;
                primaryDark?: string;
                primaryLight?: string;
                progress?: {
                    background?: string;
                    high?: string;
                    low?: string;
                    medium?: string;
                };
                statusChips?: {
                    error?: { background?: string; border?: string; text?: string };
                    info?: { background?: string; border?: string; text?: string };
                    neutral?: { background?: string; border?: string; text?: string };
                    success?: { background?: string; border?: string; text?: string };
                    warning?: { background?: string; border?: string; text?: string };
                };
                success?: string;
                successDark?: string;
                switchBorder?: string;
                switchFill?: string;
                switchHandle?: string;
                text?: {
                    disabled?: string;
                    primary?: string;
                    secondary?: string;
                    tertiary?: string;
                };
                warning?: string;
                white?: string;
            };
            shadows?: { light?: string; popover?: string };
            typography?: {
                body?: {
                    fontSize?: string;
                    fontWeight?: "bold" | "normal";
                    semanticElement?:
                        | "h1"
                        | "h2"
                        | "h3"
                        | "h4"
                        | "h5"
                        | "h6"
                        | "p"
                        | "span"
                        | "div";
                };
                caption?: {
                    fontSize?: string;
                    fontWeight?: "bold"
                    | "normal";
                    semanticElement?:
                        | "h1"
                        | "h2"
                        | "h3"
                        | "h4"
                        | "h5"
                        | "h6"
                        | "p"
                        | "span"
                        | "div";
                };
                fontFamily?: string;
                fontFamilyUrl?: string;
                h1?: {
                    fontSize?: string;
                    fontWeight?: "bold"
                    | "normal";
                    semanticElement?:
                        | "h1"
                        | "h2"
                        | "h3"
                        | "h4"
                        | "h5"
                        | "h6"
                        | "p"
                        | "span"
                        | "div";
                };
                h2?: {
                    fontSize?: string;
                    fontWeight?: "bold"
                    | "normal";
                    semanticElement?:
                        | "h1"
                        | "h2"
                        | "h3"
                        | "h4"
                        | "h5"
                        | "h6"
                        | "p"
                        | "span"
                        | "div";
                };
                h3?: {
                    fontSize?: string;
                    fontWeight?: "bold"
                    | "normal";
                    semanticElement?:
                        | "h1"
                        | "h2"
                        | "h3"
                        | "h4"
                        | "h5"
                        | "h6"
                        | "p"
                        | "span"
                        | "div";
                };
            };
        };
        updatedAt?: Date;
    }
    Index

    Properties

    customerPortalUpdatedAt?: Date
    isInitialized: boolean
    locale: string
    refreshData: () => Promise<void>
    stigg: StiggClient
    theme?: {
        border?: { radius?: string };
        customCss?: string;
        layout?: {
            ctaAlignment?: HorizontalAlignment;
            descriptionAlignment?: TextAlignment;
            descriptionMinHeight?: string;
            headerAlignment?: HorizontalAlignment;
            planMargin?: string;
            planMaxWidth?: string;
            planMinWidth?: string;
            planPadding?: string;
            switchBottomSpacing?: string;
        };
        palette?: {
            backgroundButton?: string;
            backgroundHighlight?: string;
            backgroundPaper?: string;
            backgroundSection?: string;
            error?: string;
            errorDark?: string;
            outlinedBorder?: string;
            outlinedHoverBackground?: string;
            outlinedRestingBorder?: string;
            primary?: string;
            primaryDark?: string;
            primaryLight?: string;
            progress?: {
                background?: string;
                high?: string;
                low?: string;
                medium?: string;
            };
            statusChips?: {
                error?: { background?: string; border?: string; text?: string };
                info?: { background?: string; border?: string; text?: string };
                neutral?: { background?: string; border?: string; text?: string };
                success?: { background?: string; border?: string; text?: string };
                warning?: { background?: string; border?: string; text?: string };
            };
            success?: string;
            successDark?: string;
            switchBorder?: string;
            switchFill?: string;
            switchHandle?: string;
            text?: {
                disabled?: string;
                primary?: string;
                secondary?: string;
                tertiary?: string;
            };
            warning?: string;
            white?: string;
        };
        shadows?: { light?: string; popover?: string };
        typography?: {
            body?: {
                fontSize?: string;
                fontWeight?: "bold" | "normal";
                semanticElement?:
                    | "h1"
                    | "h2"
                    | "h3"
                    | "h4"
                    | "h5"
                    | "h6"
                    | "p"
                    | "span"
                    | "div";
            };
            caption?: {
                fontSize?: string;
                fontWeight?: "bold"
                | "normal";
                semanticElement?:
                    | "h1"
                    | "h2"
                    | "h3"
                    | "h4"
                    | "h5"
                    | "h6"
                    | "p"
                    | "span"
                    | "div";
            };
            fontFamily?: string;
            fontFamilyUrl?: string;
            h1?: {
                fontSize?: string;
                fontWeight?: "bold"
                | "normal";
                semanticElement?:
                    | "h1"
                    | "h2"
                    | "h3"
                    | "h4"
                    | "h5"
                    | "h6"
                    | "p"
                    | "span"
                    | "div";
            };
            h2?: {
                fontSize?: string;
                fontWeight?: "bold"
                | "normal";
                semanticElement?:
                    | "h1"
                    | "h2"
                    | "h3"
                    | "h4"
                    | "h5"
                    | "h6"
                    | "p"
                    | "span"
                    | "div";
            };
            h3?: {
                fontSize?: string;
                fontWeight?: "bold"
                | "normal";
                semanticElement?:
                    | "h1"
                    | "h2"
                    | "h3"
                    | "h4"
                    | "h5"
                    | "h6"
                    | "p"
                    | "span"
                    | "div";
            };
        };
    }
    updatedAt?: Date
    MMNEPVFCICPMFPCPTTAAATR