@humanmark/sdk-js
Version:
Browser-native JavaScript SDK for Humanmark human verification challenges
49 lines • 1.46 kB
TypeScript
/**
* UI Template functions for creating consistent UI components
* Separates structure from logic for better maintainability
*/
/**
* Creates the Humanmark icon SVG element
*/
export declare function createHumanmarkIcon(): SVGElement;
/**
* Creates the modal header with title and close button
*/
export declare function createModalHeader(): HTMLDivElement;
/**
* Creates the progress bar container
*/
export declare function createProgressBar(): HTMLDivElement;
/**
* Creates the title element with Humanmark branding
*/
export declare function createBrandedTitle(text?: string): HTMLHeadingElement;
/**
* Creates the subtitle element
*/
export declare function createSubtitle(text: string): HTMLParagraphElement;
/**
* Creates the success content
*/
export declare function createSuccessContent(): HTMLDivElement;
/**
* Creates the QR code container structure
*/
export declare function createQRCodeContainer(): HTMLDivElement;
/**
* Creates the mobile container structure
*/
export declare function createMobileContainer(): HTMLDivElement;
/**
* Creates the modal body wrapper
*/
export declare function createModalBody(): HTMLDivElement;
/**
* Creates a screen reader announcement element
*/
export declare function createScreenReaderAnnouncement(message: string): HTMLDivElement;
/**
* Creates the "What is this?" link
*/
export declare function createWhatIsThisLink(): HTMLAnchorElement;
//# sourceMappingURL=templates.d.ts.map