@botonic/react
Version:
Build Chatbots using React
161 lines (160 loc) • 5.46 kB
TypeScript
export namespace COLORS {
let APPLE_GREEN: string;
let BLEACHED_CEDAR_PURPLE: string;
let BOTONIC_BLUE: string;
let CACTUS_GREEN: string;
let CONCRETE_WHITE: string;
let CURIOUS_BLUE: string;
let DAINTREE_BLUE: string;
let ERROR_RED: string;
let FRINGY_FLOWER_GREEN: string;
let GRAY: string;
let LIGHT_GRAY: string;
let MID_GRAY: string;
let PIGEON_POST_BLUE_ALPHA_0_5: string;
let RED_NOTIFICATIONS: string;
let SCORPION_GRAY: string;
let SEASHELL_WHITE: string;
let SILVER: string;
let SOLID_BLACK_ALPHA_0_2: string;
let SOLID_BLACK_ALPHA_0_5: string;
let SOLID_BLACK: string;
let SOLID_WHITE_ALPHA_0_2: string;
let SOLID_WHITE_ALPHA_0_8: string;
let SOLID_WHITE: string;
let TASMAN_GRAY: string;
let TRANSPARENT: string;
let WILD_SAND_WHITE: string;
let N50: string;
let N100: string;
let N200: string;
let N500: string;
let N700: string;
}
export namespace WEBCHAT {
namespace DEFAULTS {
export { BotonicLogo as LOGO };
export { UrlIcon as URL_ICON };
export let ELEMENT_WIDTH: number;
export let ELEMENT_MARGIN_RIGHT: number;
export let STORAGE_KEY: string;
export let HOST_ID: string;
export let ID: string;
}
namespace CUSTOM_PROPERTIES {
let enableAnimations: string;
let markdownStyle: string;
let imagePreviewer: string;
let mobileBreakpoint: string;
let mobileStyle: string;
let webviewHeaderStyle: string;
let webviewStyle: string;
let brandColor: string;
let brandImage: string;
let customHeader: string;
let headerImage: string;
let headerStyle: string;
let headerSubtitle: string;
let headerTitle: string;
let botMessageBackground: string;
let botMessageBlobTick: string;
let botMessageBlobTickStyle: string;
let botMessageBlobWidth: string;
let botMessageBorderColor: string;
let botMessageImage: string;
let botMessageImageStyle: string;
let botMessageStyle: string;
let agentMessageImage: string;
let customMessageTypes: string;
let messageStyle: string;
let userMessageBackground: string;
let userMessageBlobTick: string;
let userMessageBlobTickStyle: string;
let userMessageBorderColor: string;
let userMessageStyle: string;
let enableMessageTimestamps: string;
let messageTimestampsFormat: string;
let messageTimestampsStyle: string;
let messageTimestampsWithImage: string;
let customIntro: string;
let introImage: string;
let introStyle: string;
let buttonHoverBackground: string;
let buttonHoverTextColor: string;
let buttonMessageType: string;
let buttonStyle: string;
let buttonDisabledStyle: string;
let buttonAutoDisable: string;
let buttonStyleBackground: string;
let buttonStyleColor: string;
let customButton: string;
let urlIconImage: string;
let urlIconEnabled: string;
let alignReplies: string;
let customReply: string;
let replyStyle: string;
let wrapReplies: string;
let customTrigger: string;
let triggerButtonImage: string;
let triggerButtonStyle: string;
let notificationsEnabled: string;
let notificationsBannerEnabled: string;
let notificationsBannerCustom: string;
let notificationsBannerText: string;
let notificationsTriggerButtonEnabled: string;
let scrollButtonEnabled: string;
let scrollButtonCustom: string;
let blockInputs: string;
let documentDownload: string;
let customMenuButton: string;
let customPersistentMenu: string;
let customEmojiPicker: string;
let customAttachments: string;
let customSendButton: string;
let darkBackgroundMenu: string;
let enableAttachments: string;
let enableEmojiPicker: string;
let enableSendButton: string;
let enableUserInput: string;
let persistentMenu: string;
let textPlaceholder: string;
let userInputBoxStyle: string;
let userInputStyle: string;
let coverComponent: string;
let coverComponentProps: string;
let customCarouselLeftArrow: string;
let customCarouselRightArrow: string;
let enableCarouselArrows: string;
}
}
export namespace MIME_WHITELIST {
let audio: string[];
let document: string[];
let image: string[];
let video: string[];
}
export const MAX_ALLOWED_SIZE_MB: 10;
export namespace ROLES {
let ATTACHMENT_ICON: string;
let EMOJI_PICKER_ICON: string;
let EMOJI_PICKER: string;
let HEADER: string;
let MESSAGE_LIST: string;
let PERSISTENT_MENU_ICON: string;
let PERSISTENT_MENU: string;
let SEND_BUTTON_ICON: string;
let WEBCHAT: string;
let TRIGGER_BUTTON: string;
let TYPING_INDICATOR: string;
let TEXT_BOX: string;
let WEBVIEW: string;
let WEBVIEW_HEADER: string;
let MESSAGE: string;
let SYSTEM_MESSAGE: string;
let IMAGE_MESSAGE: string;
let AUDIO_MESSAGE: string;
let VIDEO_MESSAGE: string;
let DOCUMENT_MESSAGE: string;
let RAW_MESSAGE: string;
let SYSTEM_DEBUG_TRACE_MESSAGE: string;
}