@zohoim/chat-components 0.0.11 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/ActionIcon/ActionIcon.js +56 -34
- package/es/ActionIcon/css/ActionIcon.module.css +4 -23
- package/es/ActionIcon/props/defaultProps.js +4 -2
- package/es/ActionIcon/props/propTypes.js +10 -3
- package/es/ActionIconWrapper/ActionIconWrapper.js +49 -0
- package/es/ActionIconWrapper/css/ActionIconWrapper.module.css +27 -0
- package/es/ActionIconWrapper/index.js +1 -0
- package/es/{MessageWrapper → ActionIconWrapper}/props/defaultProps.js +3 -3
- package/es/ActionIconWrapper/props/propTypes.js +11 -0
- package/es/AttachmentBubble/AttachmentBubble.js +36 -34
- package/es/AttachmentBubble/css/AttachmentBubble.module.css +16 -15
- package/es/AttachmentBubble/props/defaultProps.js +2 -2
- package/es/AttachmentBubble/props/propTypes.js +10 -5
- package/es/AttachmentBubbleInfo/AttachmentBubbleInfo.js +7 -20
- package/es/AttachmentBubbleInfo/css/AttachmentBubbleInfo.module.css +20 -15
- package/es/AttachmentBubbleInfo/props/defaultProps.js +1 -1
- package/es/AttachmentBubbleInfo/props/propTypes.js +3 -3
- package/es/AttachmentIcon/AttachmentIcon.js +47 -0
- package/es/AttachmentIcon/css/AttachmentIcon.module.css +4 -0
- package/es/AttachmentIcon/index.js +1 -0
- package/es/{MediaControls → AttachmentIcon}/props/defaultProps.js +3 -3
- package/es/AttachmentIcon/props/propTypes.js +11 -0
- package/es/AttachmentIcon/utils/getAttachmentIconComponent.js +55 -0
- package/es/Audio/Audio.js +12 -34
- package/es/Audio/css/Audio.module.css +3 -3
- package/es/Audio/props/defaultProps.js +2 -3
- package/es/Audio/props/propTypes.js +3 -4
- package/es/AudioBubble/AudioBubble.js +25 -43
- package/es/AudioBubble/props/defaultProps.js +2 -4
- package/es/AudioBubble/props/propTypes.js +10 -7
- package/es/Fonts/puviFont.module.css +55 -54
- package/es/ImageBubble/ImageBubble.js +26 -25
- package/es/ImageBubble/css/ImageBubble.module.css +8 -11
- package/es/ImageBubble/props/defaultProps.js +1 -1
- package/es/ImageBubble/props/propTypes.js +5 -3
- package/es/InfoBubble/InfoBubble.js +6 -9
- package/es/InfoBubble/props/defaultProps.js +1 -1
- package/es/LazyLoadImage/LazyLoadImage.js +8 -19
- package/es/LazyLoadImage/css/LazyLoadImage.module.css +1 -0
- package/es/LazyLoadImage/props/defaultProps.js +1 -1
- package/es/LazyLoadImage/props/propTypes.js +3 -3
- package/es/LocationBubble/LocationBubble.js +25 -44
- package/es/LocationBubble/css/LocationBubble.module.css +11 -9
- package/es/LocationBubble/props/defaultProps.js +1 -1
- package/es/LocationBubble/props/propTypes.js +2 -2
- package/es/MediaBubbleWrapper/MediaBubbleWrapper.js +59 -0
- package/es/MediaBubbleWrapper/css/MediaBubbleWrapper.module.css +3 -0
- package/es/MediaBubbleWrapper/index.js +1 -0
- package/es/MediaBubbleWrapper/props/defaultProps.js +7 -0
- package/es/MediaBubbleWrapper/props/propTypes.js +16 -0
- package/es/Message/Message.js +91 -104
- package/es/Message/props/defaultProps.js +3 -35
- package/es/Message/props/propTypes.js +26 -85
- package/es/MessageAction/MessageAction.js +32 -19
- package/es/MessageAction/props/defaultProps.js +4 -4
- package/es/MessageAction/props/propTypes.js +11 -8
- package/es/MessageActions/MessageActions.js +86 -53
- package/es/MessageActions/css/MessageActions.module.css +23 -2
- package/es/MessageActions/props/defaultProps.js +5 -5
- package/es/MessageActions/props/propTypes.js +15 -3
- package/es/MessageActionsMore/MessageActionsMore.js +45 -37
- package/es/MessageActionsMore/css/MessageActionsMore.module.css +8 -5
- package/es/MessageActionsMore/props/defaultProps.js +3 -2
- package/es/MessageActionsMore/props/propTypes.js +3 -2
- package/es/MessageActionsWrapper/MessageActionsWrapper.js +67 -0
- package/es/MessageActionsWrapper/css/MessageActionsWrapper.module.css +3 -0
- package/es/MessageActionsWrapper/index.js +1 -0
- package/es/MessageActionsWrapper/props/defaultProps.js +9 -0
- package/es/MessageActionsWrapper/props/propTypes.js +15 -0
- package/es/MessageAvatar/MessageAvatar.js +15 -22
- package/es/MessageAvatar/css/MessageAvatar.module.css +3 -3
- package/es/MessageAvatar/props/defaultProps.js +2 -6
- package/es/MessageAvatar/props/propTypes.js +5 -5
- package/es/MessageBox/MessageBox.js +24 -25
- package/es/MessageBox/css/MessageBox.module.css +12 -14
- package/es/MessageBox/css/cssJSLogic.js +1 -21
- package/es/MessageBox/props/defaultProps.js +1 -3
- package/es/MessageBox/props/propTypes.js +8 -7
- package/es/MessageBubble/MessageBubble.js +61 -38
- package/es/MessageBubble/css/MessageBubble.module.css +11 -8
- package/es/MessageBubble/css/cssJSLogic.js +10 -26
- package/es/MessageBubble/props/defaultProps.js +2 -2
- package/es/MessageBubble/props/propTypes.js +9 -9
- package/es/MessageStatus/MessageStatus.js +72 -0
- package/es/{im/IMMessageStatus/css/IMMessageStatus.module.css → MessageStatus/css/MessageStatus.module.css} +1 -1
- package/es/MessageStatus/css/cssJSLogic.js +26 -0
- package/es/MessageStatus/index.js +1 -0
- package/es/{im/IMAttachmentIcon → MessageStatus}/props/defaultProps.js +3 -3
- package/es/MessageStatus/props/propTypes.js +12 -0
- package/es/MoreActionItem/MoreActionItem.js +25 -37
- package/es/MoreActionItem/css/MoreActionItem.module.css +5 -11
- package/es/MoreActionItem/props/defaultProps.js +1 -5
- package/es/MoreActionItem/props/propTypes.js +6 -5
- package/es/ReplyBubble/ReplyBubble.js +62 -30
- package/es/ReplyBubble/css/ReplyBubble.module.css +17 -0
- package/es/ReplyBubble/props/defaultProps.js +3 -4
- package/es/ReplyBubble/props/propTypes.js +15 -8
- package/es/ReplyBubbleContent/ReplyBubbleContent.js +21 -28
- package/es/ReplyBubbleContent/css/ReplyBubbleContent.module.css +44 -34
- package/es/ReplyBubbleContent/props/defaultProps.js +1 -1
- package/es/ReplyBubbleContent/props/propTypes.js +4 -4
- package/es/ReplyBubbleHeader/ReplyBubbleHeader.js +25 -29
- package/es/ReplyBubbleHeader/css/ReplyBubbleHeader.module.css +12 -4
- package/es/ReplyBubbleHeader/props/defaultProps.js +2 -5
- package/es/ReplyBubbleHeader/props/propTypes.js +2 -2
- package/es/TextBubble/TextBubble.js +15 -34
- package/es/TextBubble/css/TextBubble.module.css +16 -3
- package/es/TextBubble/props/defaultProps.js +2 -5
- package/es/TextBubble/props/propTypes.js +3 -4
- package/es/Theme/{DeskAssets.js → ThemeAssets.js} +10 -6
- package/es/Theme/ThemeWrapper.js +62 -62
- package/es/Theme/{ToolttipWrapper.js → TooltipWrapper.js} +29 -25
- package/es/Theme/constants/index.js +1 -4
- package/es/Theme/crm/dark/blueFanTheme.js +5 -5
- package/es/Theme/crm/dark/blueTheme.js +5 -5
- package/es/Theme/crm/dark/commonColorVariable.js +5 -5
- package/es/Theme/crm/dark/darkBlueTheme.js +5 -5
- package/es/Theme/crm/dark/darkGreyTheme.js +5 -5
- package/es/Theme/crm/dark/greenTheme.js +5 -5
- package/es/Theme/crm/dark/orangeTheme.js +5 -5
- package/es/Theme/crm/dark/pinkTheme.js +5 -5
- package/es/Theme/crm/dark/tealTheme.js +5 -5
- package/es/Theme/crm/dark/whiteTheme.js +5 -5
- package/es/Theme/crm/light/blueFanTheme.js +5 -5
- package/es/Theme/crm/light/blueTheme.js +3 -3
- package/es/Theme/crm/light/commonColorVariable.js +3 -3
- package/es/Theme/crm/light/darkBlueTheme.js +5 -5
- package/es/Theme/crm/light/darkGreyTheme.js +5 -5
- package/es/Theme/crm/light/greenTheme.js +3 -3
- package/es/Theme/crm/light/orangeTheme.js +3 -3
- package/es/Theme/crm/light/pinkTheme.js +3 -3
- package/es/Theme/crm/light/tealTheme.js +3 -3
- package/es/Theme/crm/light/whiteTheme.js +5 -5
- package/es/Theme/crm/pureDark/blueFanTheme.js +5 -5
- package/es/Theme/crm/pureDark/blueTheme.js +5 -5
- package/es/Theme/crm/pureDark/commonColorVariable.js +3 -3
- package/es/Theme/crm/pureDark/darkBlueTheme.js +5 -5
- package/es/Theme/crm/pureDark/darkGreyTheme.js +5 -5
- package/es/Theme/crm/pureDark/greenTheme.js +5 -5
- package/es/Theme/crm/pureDark/orangeTheme.js +5 -5
- package/es/Theme/crm/pureDark/pinkTheme.js +5 -5
- package/es/Theme/crm/pureDark/tealTheme.js +5 -5
- package/es/Theme/crm/pureDark/whiteTheme.js +5 -5
- package/es/Theme/css/TooltipWrapper.module.css +2 -2
- package/es/Theme/props/defaultProps.js +2 -3
- package/es/Theme/props/propTypes.js +5 -6
- package/es/Theme/themeVariables/commonThemeColorVariable.js +13 -0
- package/es/Theme/themeVariables/dark/blueTheme.js +68 -0
- package/es/Theme/themeVariables/dark/commonColorVariable.js +10 -0
- package/es/Theme/themeVariables/dark/greenTheme.js +67 -0
- package/es/Theme/themeVariables/dark/orangeTheme.js +67 -0
- package/es/Theme/themeVariables/dark/redTheme.js +76 -0
- package/es/Theme/themeVariables/dark/yellowTheme.js +67 -0
- package/es/Theme/themeVariables/light/blueTheme.js +63 -0
- package/es/Theme/themeVariables/light/commonColorVariable.js +12 -0
- package/es/Theme/themeVariables/light/greenTheme.js +63 -0
- package/es/Theme/themeVariables/light/orangeTheme.js +61 -0
- package/es/Theme/themeVariables/light/redTheme.js +61 -0
- package/es/Theme/themeVariables/light/yellowTheme.js +63 -0
- package/es/Theme/themeVariables/pureDark/blueTheme.js +68 -0
- package/es/Theme/themeVariables/pureDark/commonColorVariable.js +12 -0
- package/es/Theme/themeVariables/pureDark/greenTheme.js +67 -0
- package/es/Theme/themeVariables/pureDark/orangeTheme.js +67 -0
- package/es/Theme/themeVariables/pureDark/redTheme.js +67 -0
- package/es/Theme/themeVariables/pureDark/yellowTheme.js +67 -0
- package/es/Theme/utils/combineConfigurations.js +17 -0
- package/es/Theme/utils/flatVariables.js +12 -0
- package/es/Theme/utils/getCustomizedCssVariables.js +19 -0
- package/es/Theme/utils/getThemeConfigurations.js +47 -175
- package/es/Theme/utils/getWrapperDivProps.js +12 -0
- package/es/Video/Video.js +14 -45
- package/es/Video/css/Video.module.css +2 -7
- package/es/Video/props/defaultProps.js +2 -3
- package/es/Video/props/propTypes.js +3 -4
- package/es/VideoBubble/VideoBubble.js +31 -36
- package/es/VideoBubble/css/VideoBubble.module.css +4 -4
- package/es/VideoBubble/props/defaultProps.js +2 -3
- package/es/VideoBubble/props/propTypes.js +11 -7
- package/es/icons/create-icon-components.js +31 -0
- package/es/icons/icon.template.js +10 -9
- package/es/icons/iconSrc/attachments/Audio.js +1 -0
- package/es/icons/iconSrc/attachments/Code.js +1 -0
- package/es/icons/iconSrc/attachments/Image.js +1 -0
- package/es/icons/iconSrc/attachments/Pdf.js +1 -0
- package/es/icons/iconSrc/attachments/Txt.js +1 -0
- package/es/icons/iconSrc/attachments/Unknown.js +1 -0
- package/es/icons/iconSrc/attachments/Video.js +1 -0
- package/es/icons/iconSrc/attachments/Zip.js +1 -0
- package/es/icons/iconSrc/attachments/index.js +8 -8
- package/es/icons/iconSrc/common/Article.js +1 -0
- package/es/icons/iconSrc/common/index.js +1 -2
- package/es/icons/iconSrc/integrations/ChInstagram.js +1 -0
- package/es/icons/iconSrc/integrations/ChWhatsApp.js +1 -0
- package/es/icons/iconSrc/integrations/TtASAP.js +1 -0
- package/es/icons/iconSrc/integrations/TtTelegram.js +1 -0
- package/es/icons/iconSrc/integrations/TtTwillio.js +1 -0
- package/es/icons/iconSrc/integrations/TtTwitter.js +1 -0
- package/es/icons/iconSrc/integrations/TtWechat.js +1 -0
- package/es/icons/iconSrc/integrations/index.js +7 -7
- package/es/icons/iconSrc/messageStatus/Clock.js +1 -0
- package/es/icons/iconSrc/messageStatus/DoubleTick.js +1 -0
- package/es/icons/iconSrc/messageStatus/Failed.js +1 -0
- package/es/icons/iconSrc/messageStatus/Tick.js +1 -0
- package/es/icons/iconSrc/messageStatus/index.js +4 -4
- package/es/im/ArticleBubble/ArticleBubble.js +66 -0
- package/es/im/ArticleBubble/css/ArticleBubble.module.css +47 -0
- package/es/{ArticleBubble → im/ArticleBubble}/props/defaultProps.js +1 -1
- package/es/im/ArticleBubble/props/propTypes.js +13 -0
- package/es/im/IMAutoMessageInfo/IMAutoMessageInfo.js +10 -21
- package/es/im/IMAutoMessageInfo/css/IMAutoMessageInfo.module.css +2 -3
- package/es/im/IMAutoMessageInfo/props/defaultProps.js +1 -1
- package/es/im/IMAutoMessageInfo/props/propTypes.js +11 -9
- package/es/im/IMInfoBubble/IMInfoBubble.js +6 -9
- package/es/im/IMInfoBubble/props/defaultProps.js +1 -1
- package/es/im/IMIntegrationIcon/IMIntegrationIcon.js +31 -38
- package/es/im/IMIntegrationIcon/css/IMIntegrationIcon.module.css +5 -8
- package/es/im/IMIntegrationIcon/css/cssJSLogic.js +9 -13
- package/es/im/IMIntegrationIcon/index.js +1 -2
- package/es/im/IMIntegrationIcon/props/defaultProps.js +6 -4
- package/es/im/IMIntegrationIcon/props/propTypes.js +6 -17
- package/es/im/IMMessage/IMMessage.js +95 -156
- package/es/im/IMMessage/props/defaultProps.js +2 -29
- package/es/im/IMMessage/props/propTypes.js +57 -117
- package/es/im/IMMessageContent/IMMessageContent.js +80 -55
- package/es/im/IMMessageContent/css/IMMessageContent.module.css +3 -0
- package/es/im/IMMessageContent/props/defaultProps.js +2 -3
- package/es/im/IMMessageContent/props/propTypes.js +28 -23
- package/es/im/IMMessageMeta/IMMessageMeta.js +28 -24
- package/es/im/IMMessageMeta/css/IMMessageMeta.module.css +15 -4
- package/es/im/IMMessageMeta/css/cssJSLogic.js +11 -3
- package/es/im/IMMessageMeta/props/defaultProps.js +1 -1
- package/es/im/IMMessageMeta/props/propTypes.js +17 -12
- package/es/im/IMReplyBubble/IMReplyBubble.js +21 -61
- package/es/im/IMReplyBubble/props/defaultProps.js +2 -4
- package/es/im/IMReplyBubble/props/propTypes.js +16 -14
- package/es/im/IMTextBubble/IMTextBubble.js +16 -33
- package/es/im/IMTextBubble/props/defaultProps.js +3 -9
- package/es/im/IMTextBubble/props/propTypes.js +22 -8
- package/es/im/IMTicketLink/IMTicketLink.js +13 -13
- package/es/im/IMTicketLink/css/IMTicketLink.module.css +3 -4
- package/es/im/IMTicketLink/props/defaultProps.js +1 -1
- package/es/im/IMTicketLink/props/propTypes.js +4 -3
- package/es/im/index.js +1 -11
- package/es/index.js +30 -34
- package/package.json +32 -14
- package/es/ActionIcon/css/cssJSLogic.js +0 -10
- package/es/ArticleBubble/ArticleBubble.js +0 -68
- package/es/ArticleBubble/css/ArticleBubble.module.css +0 -40
- package/es/ArticleBubble/css/cssJSLogic.js +0 -34
- package/es/ArticleBubble/props/propTypes.js +0 -10
- package/es/AttachmentBubble/css/cssJSLogic.js +0 -18
- package/es/AttachmentBubbleInfo/css/cssJSLogic.js +0 -18
- package/es/Audio/css/cssJSLogic.js +0 -14
- package/es/AudioBubble/css/AudioBubble.module.css +0 -3
- package/es/AudioBubble/css/cssJSLogic.js +0 -20
- package/es/ImageBubble/css/cssJSLogic.js +0 -22
- package/es/LazyLoadImage/css/cssJSLogic.js +0 -10
- package/es/LocationBubble/css/cssJSLogic.js +0 -30
- package/es/MediaControls/MediaControls.js +0 -60
- package/es/MediaControls/css/MediaControls.module.css +0 -1
- package/es/MediaControls/css/cssJSLogic.js +0 -22
- package/es/MediaControls/index.js +0 -1
- package/es/MediaControls/props/propTypes.js +0 -11
- package/es/Message/css/Message.module.css +0 -0
- package/es/Message/css/cssJSLogic.js +0 -10
- package/es/MessageAction/css/MessageAction.module.css +0 -0
- package/es/MessageAction/css/cssJSLogic.js +0 -0
- package/es/MessageActions/css/cssJSLogic.js +0 -10
- package/es/MessageActions/props/propConstants.js +0 -7
- package/es/MessageActionsMore/css/cssJSLogic.js +0 -28
- package/es/MessageAvatar/css/cssJSLogic.js +0 -18
- package/es/MessageBoxFooter/MessageBoxFooter.js +0 -39
- package/es/MessageBoxFooter/css/MessageBoxFooter.module.css +0 -3
- package/es/MessageBoxFooter/css/cssJSLogic.js +0 -10
- package/es/MessageBoxFooter/index.js +0 -1
- package/es/MessageBoxFooter/props/defaultProps.js +0 -5
- package/es/MessageBoxFooter/props/propTypes.js +0 -6
- package/es/MessageBoxHeader/MessageBoxHeader.js +0 -7
- package/es/MessageBoxHeader/css/MessageBoxHeader.module.css +0 -0
- package/es/MessageBoxHeader/css/cssJsLogic.js +0 -0
- package/es/MessageBoxHeader/index.js +0 -2
- package/es/MessageBoxHeader/props/defaultProps.js +0 -0
- package/es/MessageBoxHeader/props/propTypes.js +0 -0
- package/es/MessageBubble/props/propConstants.js +0 -6
- package/es/MessageWrapper/MessageWrapper.js +0 -37
- package/es/MessageWrapper/css/MessageWrapper.module.css +0 -0
- package/es/MessageWrapper/css/cssJSLogic.js +0 -10
- package/es/MessageWrapper/index.js +0 -1
- package/es/MessageWrapper/props/propTypes.js +0 -6
- package/es/MoreActionItem/css/cssJSLogic.js +0 -27
- package/es/ReplyBubble/css/cssJSLogic.js +0 -10
- package/es/ReplyBubbleContent/css/cssJSLogic.js +0 -22
- package/es/ReplyBubbleHeader/css/cssJSLogic.js +0 -10
- package/es/TextBubble/css/cssJSLogic.js +0 -18
- package/es/TextMessage/DefaultActions.js +0 -60
- package/es/TextMessage/TextMessage.js +0 -67
- package/es/TextMessage/TextMessage1.js +0 -69
- package/es/TextMessage/css/TextMessage.module.css +0 -5
- package/es/TextMessage/css/cssJSLogic.js +0 -0
- package/es/TextMessage/index.js +0 -1
- package/es/TextMessage/props/defaultProps.js +0 -4
- package/es/TextMessage/props/propConstants.js +0 -3
- package/es/TextMessage/props/propTypes.js +0 -17
- package/es/Theme/css/cssJSLogic.js +0 -14
- package/es/Theme/darkTheme.js +0 -9
- package/es/Theme/defaultTheme.js +0 -33
- package/es/Theme/desk/commonDeskColorVariable.js +0 -14
- package/es/Theme/desk/dark/blueTheme.js +0 -42
- package/es/Theme/desk/dark/commonColorVariable.js +0 -5
- package/es/Theme/desk/dark/greenTheme.js +0 -41
- package/es/Theme/desk/dark/orangeTheme.js +0 -41
- package/es/Theme/desk/dark/redTheme.js +0 -41
- package/es/Theme/desk/dark/yellowTheme.js +0 -41
- package/es/Theme/desk/light/blueTheme.js +0 -46
- package/es/Theme/desk/light/commonColorVariable.js +0 -6
- package/es/Theme/desk/light/greenTheme.js +0 -37
- package/es/Theme/desk/light/orangeTheme.js +0 -36
- package/es/Theme/desk/light/redTheme.js +0 -36
- package/es/Theme/desk/light/yellowTheme.js +0 -37
- package/es/Theme/desk/pureDark/blueTheme.js +0 -41
- package/es/Theme/desk/pureDark/commonColorVariable.js +0 -7
- package/es/Theme/desk/pureDark/greenTheme.js +0 -41
- package/es/Theme/desk/pureDark/orangeTheme.js +0 -41
- package/es/Theme/desk/pureDark/redTheme.js +0 -41
- package/es/Theme/desk/pureDark/yellowTheme.js +0 -41
- package/es/Video/css/cssJSLogic.js +0 -14
- package/es/VideoBubble/css/cssJSLogic.js +0 -10
- package/es/icons/factory/actions/convertTicket.svg +0 -21
- package/es/icons/factory/common/quote.svg +0 -1
- package/es/icons/iconSrc/actions/ConvertTicket.js +0 -24
- package/es/icons/iconSrc/actions/index.js +0 -1
- package/es/icons/iconSrc/common/Quote.js +0 -16
- package/es/im/IMArticleBubble/IMArticleBubble.js +0 -55
- package/es/im/IMArticleBubble/css/IMArticleBubble.module.css +0 -0
- package/es/im/IMArticleBubble/css/cssJSLogic.js +0 -10
- package/es/im/IMArticleBubble/index.js +0 -1
- package/es/im/IMArticleBubble/props/defaultProps.js +0 -8
- package/es/im/IMArticleBubble/props/propTypes.js +0 -14
- package/es/im/IMAttachmentBubble/IMAttachmentBubble.js +0 -63
- package/es/im/IMAttachmentBubble/css/IMAttachmentBubble.module.css +0 -1
- package/es/im/IMAttachmentBubble/css/cssJSLogic.js +0 -10
- package/es/im/IMAttachmentBubble/index.js +0 -1
- package/es/im/IMAttachmentBubble/props/defaultProps.js +0 -10
- package/es/im/IMAttachmentBubble/props/propTypes.js +0 -16
- package/es/im/IMAttachmentIcon/IMAttachmentIcon.js +0 -86
- package/es/im/IMAttachmentIcon/css/IMAttachmentIcon.module.css +0 -4
- package/es/im/IMAttachmentIcon/css/cssJSLogic.js +0 -16
- package/es/im/IMAttachmentIcon/index.js +0 -1
- package/es/im/IMAttachmentIcon/props/propTypes.js +0 -26
- package/es/im/IMAudioBubble/IMAudioBubble.js +0 -63
- package/es/im/IMAudioBubble/css/IMAudioBubble.module.css +0 -8
- package/es/im/IMAudioBubble/css/cssJSLogic.js +0 -20
- package/es/im/IMAudioBubble/index.js +0 -1
- package/es/im/IMAudioBubble/props/defaultProps.js +0 -11
- package/es/im/IMAudioBubble/props/propTypes.js +0 -17
- package/es/im/IMAutoMessageInfo/css/cssJSLogic.js +0 -10
- package/es/im/IMDateTime/IMDateTime.js +0 -41
- package/es/im/IMDateTime/css/IMDateTime.module.css +0 -5
- package/es/im/IMDateTime/css/cssJSLogic.js +0 -10
- package/es/im/IMDateTime/index.js +0 -1
- package/es/im/IMDateTime/props/defaultProps.js +0 -6
- package/es/im/IMDateTime/props/propTypes.js +0 -6
- package/es/im/IMImageBubble/IMImageBubble.js +0 -49
- package/es/im/IMImageBubble/css/IMImageBubble.module.css +0 -0
- package/es/im/IMImageBubble/css/cssJSLogic.js +0 -10
- package/es/im/IMImageBubble/index.js +0 -1
- package/es/im/IMImageBubble/props/defaultProps.js +0 -7
- package/es/im/IMImageBubble/props/propTypes.js +0 -13
- package/es/im/IMIntegrationIcon/props/propConstants.js +0 -8
- package/es/im/IMLocationBubble/IMLocationBubble.js +0 -49
- package/es/im/IMLocationBubble/css/IMLocationBubble.module.css +0 -0
- package/es/im/IMLocationBubble/css/cssJSLogic.js +0 -10
- package/es/im/IMLocationBubble/index.js +0 -1
- package/es/im/IMLocationBubble/props/defaultProps.js +0 -8
- package/es/im/IMLocationBubble/props/propTypes.js +0 -11
- package/es/im/IMMessage/css/IMMessage.module.css +0 -0
- package/es/im/IMMessage/css/cssJSLogic.js +0 -10
- package/es/im/IMMessage/renderChild/renderMessage.js +0 -8
- package/es/im/IMMessage/renderChild/renderMessageActions.js +0 -8
- package/es/im/IMMessage/renderChild/renderMessageBox.js +0 -15
- package/es/im/IMMessage/renderChild/renderMessageBoxFooter.js +0 -8
- package/es/im/IMMessage/renderChild/renderMessageFooter.js +0 -8
- package/es/im/IMMessage/renderChild/renderMessageHeader.js +0 -8
- package/es/im/IMMessage/renderChild/renderMessageOwner.js +0 -8
- package/es/im/IMMessage/renderChild/renderMessageStatus.js +0 -8
- package/es/im/IMMessageActions/IMMessageActions.js +0 -150
- package/es/im/IMMessageActions/css/IMMessageActions.module.css +0 -31
- package/es/im/IMMessageActions/css/cssJSLogic.js +0 -20
- package/es/im/IMMessageActions/index.js +0 -1
- package/es/im/IMMessageActions/props/defaultProps.js +0 -12
- package/es/im/IMMessageActions/props/propTypes.js +0 -30
- package/es/im/IMMessageAvatar/IMMessageAvatar.js +0 -45
- package/es/im/IMMessageAvatar/css/IMMessageAvatar.module.css +0 -0
- package/es/im/IMMessageAvatar/css/cssJSLogic.js +0 -0
- package/es/im/IMMessageAvatar/index.js +0 -1
- package/es/im/IMMessageAvatar/props/defaultProps.js +0 -12
- package/es/im/IMMessageAvatar/props/propTypes.js +0 -28
- package/es/im/IMMessageContent/css/cssJSLogic.js +0 -10
- package/es/im/IMMessageStatus/IMMessageStatus.js +0 -69
- package/es/im/IMMessageStatus/css/cssJSLogic.js +0 -22
- package/es/im/IMMessageStatus/index.js +0 -1
- package/es/im/IMMessageStatus/props/defaultProps.js +0 -6
- package/es/im/IMMessageStatus/props/propTypes.js +0 -21
- package/es/im/IMReplyBubble/css/IMReplyBubble.module.css +0 -24
- package/es/im/IMReplyBubble/css/cssJSLogic.js +0 -10
- package/es/im/IMTextBubble/css/IMTextBubble.module.css +0 -1
- package/es/im/IMTextBubble/css/cssJSLogic.js +0 -10
- package/es/im/IMVideoBubble/IMVideoBubble.js +0 -62
- package/es/im/IMVideoBubble/css/IMVideoBubble.module.css +0 -1
- package/es/im/IMVideoBubble/css/cssJSLogic.js +0 -10
- package/es/im/IMVideoBubble/index.js +0 -1
- package/es/im/IMVideoBubble/props/defaultProps.js +0 -11
- package/es/im/IMVideoBubble/props/propTypes.js +0 -17
- package/es/unused/AvatarSpace/AvatarSpace.js +0 -40
- package/es/unused/AvatarSpace/css/AvatarSpace.module.css +0 -1
- package/es/unused/AvatarSpace/css/cssJSLogic.js +0 -15
- package/es/unused/AvatarSpace/index.js +0 -1
- package/es/unused/AvatarSpace/props/defaultProps.js +0 -10
- package/es/unused/AvatarSpace/props/propConstants.js +0 -7
- package/es/unused/AvatarSpace/props/propTypes.js +0 -8
- /package/es/{ArticleBubble → im/ArticleBubble}/index.js +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor,
|
|
2
|
+
import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
|
|
3
3
|
export default {
|
|
4
4
|
library: 'chat_components',
|
|
5
5
|
variables: {
|
|
@@ -14,10 +14,10 @@ export default {
|
|
|
14
14
|
failed_bg_color: '#fcebeb',
|
|
15
15
|
text_color: '#000'
|
|
16
16
|
},
|
|
17
|
-
|
|
18
|
-
color:
|
|
19
|
-
bg_color:
|
|
20
|
-
border_color:
|
|
17
|
+
actionIconWrapper: {
|
|
18
|
+
color: actionIconWrapperColor,
|
|
19
|
+
bg_color: actionIconWrapperBgColor,
|
|
20
|
+
border_color: actionIconWrapperBorderColor
|
|
21
21
|
},
|
|
22
22
|
messageStatus: {
|
|
23
23
|
send_color: messageStatusSendColor,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor,
|
|
2
|
+
import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
|
|
3
3
|
export default {
|
|
4
4
|
library: 'chat_components',
|
|
5
5
|
variables: {
|
|
@@ -14,10 +14,10 @@ export default {
|
|
|
14
14
|
failed_bg_color: '#fcebeb',
|
|
15
15
|
text_color: '#000'
|
|
16
16
|
},
|
|
17
|
-
|
|
18
|
-
color:
|
|
19
|
-
bg_color:
|
|
20
|
-
border_color:
|
|
17
|
+
actionIconWrapper: {
|
|
18
|
+
color: actionIconWrapperColor,
|
|
19
|
+
bg_color: actionIconWrapperBgColor,
|
|
20
|
+
border_color: actionIconWrapperBorderColor
|
|
21
21
|
},
|
|
22
22
|
messageStatus: {
|
|
23
23
|
send_color: messageStatusSendColor,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor,
|
|
2
|
+
import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
|
|
3
3
|
export default {
|
|
4
4
|
library: 'chat_components',
|
|
5
5
|
variables: {
|
|
@@ -14,10 +14,10 @@ export default {
|
|
|
14
14
|
failed_bg_color: '#fcebeb',
|
|
15
15
|
text_color: '#000'
|
|
16
16
|
},
|
|
17
|
-
|
|
18
|
-
color:
|
|
19
|
-
bg_color:
|
|
20
|
-
border_color:
|
|
17
|
+
actionIconWrapper: {
|
|
18
|
+
color: actionIconWrapperColor,
|
|
19
|
+
bg_color: actionIconWrapperBgColor,
|
|
20
|
+
border_color: actionIconWrapperBorderColor
|
|
21
21
|
},
|
|
22
22
|
messageStatus: {
|
|
23
23
|
send_color: messageStatusSendColor,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor,
|
|
2
|
+
import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
|
|
3
3
|
export default {
|
|
4
4
|
library: 'chat_components',
|
|
5
5
|
variables: {
|
|
@@ -14,10 +14,10 @@ export default {
|
|
|
14
14
|
failed_bg_color: '#fcebeb',
|
|
15
15
|
text_color: '#000'
|
|
16
16
|
},
|
|
17
|
-
|
|
18
|
-
color:
|
|
19
|
-
bg_color:
|
|
20
|
-
border_color:
|
|
17
|
+
actionIconWrapper: {
|
|
18
|
+
color: actionIconWrapperColor,
|
|
19
|
+
bg_color: actionIconWrapperBgColor,
|
|
20
|
+
border_color: actionIconWrapperBorderColor
|
|
21
21
|
},
|
|
22
22
|
messageStatus: {
|
|
23
23
|
send_color: messageStatusSendColor,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor,
|
|
2
|
+
import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
|
|
3
3
|
export default {
|
|
4
4
|
library: 'chat_components',
|
|
5
5
|
variables: {
|
|
@@ -14,10 +14,10 @@ export default {
|
|
|
14
14
|
failed_bg_color: '#fcebeb',
|
|
15
15
|
text_color: '#000'
|
|
16
16
|
},
|
|
17
|
-
|
|
18
|
-
color:
|
|
19
|
-
bg_color:
|
|
20
|
-
border_color:
|
|
17
|
+
actionIconWrapper: {
|
|
18
|
+
color: actionIconWrapperColor,
|
|
19
|
+
bg_color: actionIconWrapperBgColor,
|
|
20
|
+
border_color: actionIconWrapperBorderColor
|
|
21
21
|
},
|
|
22
22
|
messageStatus: {
|
|
23
23
|
send_color: messageStatusSendColor,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor,
|
|
2
|
+
import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
|
|
3
3
|
export default {
|
|
4
4
|
library: 'chat_components',
|
|
5
5
|
variables: {
|
|
@@ -14,10 +14,10 @@ export default {
|
|
|
14
14
|
failed_bg_color: '#fcebeb',
|
|
15
15
|
text_color: '#000'
|
|
16
16
|
},
|
|
17
|
-
|
|
18
|
-
color:
|
|
19
|
-
bg_color:
|
|
20
|
-
border_color:
|
|
17
|
+
actionIconWrapper: {
|
|
18
|
+
color: actionIconWrapperColor,
|
|
19
|
+
bg_color: actionIconWrapperBgColor,
|
|
20
|
+
border_color: actionIconWrapperBorderColor
|
|
21
21
|
},
|
|
22
22
|
messageStatus: {
|
|
23
23
|
send_color: messageStatusSendColor,
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
/** ** Constants *** */
|
|
2
|
-
import { dummyObject } from '@zohoim/chat-components-utils/es/constants';
|
|
2
|
+
import { dummyObject } from '@zohoim/chat-components-utils/es/constants/emptyConstants';
|
|
3
3
|
const themeWrapperDefaultProps = {
|
|
4
|
-
|
|
4
|
+
needThemeAssets: true,
|
|
5
5
|
mode: 'LIGHT',
|
|
6
6
|
theme: 'BLUE',
|
|
7
7
|
needTooltip: true,
|
|
8
8
|
modeKey: 'data-mode',
|
|
9
9
|
themeKey: 'data-theme',
|
|
10
|
-
app: 'DESK',
|
|
11
10
|
tooltipCustomStyle: dummyObject
|
|
12
11
|
};
|
|
13
12
|
export default themeWrapperDefaultProps;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
/** ** Libraries *** */
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
const themeWrapperPropTypes = {
|
|
4
|
-
children: PropTypes.node,
|
|
5
|
-
|
|
4
|
+
children: PropTypes.node.isRequired,
|
|
5
|
+
mode: PropTypes.string.isRequired,
|
|
6
|
+
theme: PropTypes.string.isRequired,
|
|
7
|
+
modeKey: PropTypes.string,
|
|
8
|
+
needThemeAssets: PropTypes.bool,
|
|
6
9
|
needTooltip: PropTypes.bool,
|
|
7
10
|
themeConfigurations: PropTypes.object,
|
|
8
|
-
mode: PropTypes.string,
|
|
9
|
-
theme: PropTypes.string,
|
|
10
|
-
app: PropTypes.string,
|
|
11
|
-
modeKey: PropTypes.string,
|
|
12
11
|
themeKey: PropTypes.string,
|
|
13
12
|
tooltipCustomStyle: PropTypes.object
|
|
14
13
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export const imIntegrationIcon = {
|
|
2
|
+
path0_color: '#ffffff40',
|
|
3
|
+
path1_color: '#fff',
|
|
4
|
+
whatsapp_color: '#24d366',
|
|
5
|
+
telegram_color: '#4fa7d8',
|
|
6
|
+
wechat_color: '#2dc100',
|
|
7
|
+
line_color: '#01b901',
|
|
8
|
+
twillio_color: '#f22f46',
|
|
9
|
+
instagram_color: 'red',
|
|
10
|
+
asap_color: '#0a73eb' // twitter_color: 'red'
|
|
11
|
+
|
|
12
|
+
};
|
|
13
|
+
export const messagetextColor = '#e2e4e6';
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/* eslint-disable camelcase */
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryBlue } from './commonColorVariable';
|
|
3
|
+
import { imIntegrationIcon, messagetextColor } from '../commonThemeColorVariable';
|
|
4
|
+
export default {
|
|
5
|
+
library: 'chat_components',
|
|
6
|
+
variables: {
|
|
7
|
+
messageBubble: {
|
|
8
|
+
active_bg_color: bubbleActiveBgColor,
|
|
9
|
+
messageBox_footer_text_color: '#5a616f'
|
|
10
|
+
},
|
|
11
|
+
messageBox: {
|
|
12
|
+
incoming_bg_color: incomingBubbleBgColor,
|
|
13
|
+
outgoing_bg_color: '#2c3b4d',
|
|
14
|
+
bg_color: '#f1f7fe',
|
|
15
|
+
failed_bg_color: '#362734',
|
|
16
|
+
text_color: messagetextColor,
|
|
17
|
+
failed_text_color: '#000'
|
|
18
|
+
},
|
|
19
|
+
actionIconWrapper: {
|
|
20
|
+
color: actionIconWrapperColor,
|
|
21
|
+
bg_color: '#2c3b4d',
|
|
22
|
+
border_color: '#3f536b'
|
|
23
|
+
},
|
|
24
|
+
imIntegrationIcon,
|
|
25
|
+
messageStatus: {
|
|
26
|
+
send_color: messageStatusSendColor,
|
|
27
|
+
read_color: '#479dff',
|
|
28
|
+
failed_color: messageStatusFailedColor
|
|
29
|
+
},
|
|
30
|
+
attachmentBubbleInfo: {
|
|
31
|
+
fileName_color: '#e2e4e6',
|
|
32
|
+
fileSize_color: '#788190'
|
|
33
|
+
},
|
|
34
|
+
attachmentBubble: {
|
|
35
|
+
bg_color: '#232b38',
|
|
36
|
+
border_color: '#2d3748'
|
|
37
|
+
},
|
|
38
|
+
replyBubbleContent: {
|
|
39
|
+
bg_color: '#232b38',
|
|
40
|
+
color: '#e2e4e6',
|
|
41
|
+
border_color: '#2d3748',
|
|
42
|
+
line_color: '#cddbf2'
|
|
43
|
+
},
|
|
44
|
+
imageBubble: {
|
|
45
|
+
bg_color: '#232b38'
|
|
46
|
+
},
|
|
47
|
+
locationBubble: {
|
|
48
|
+
bg_color: '#232b38',
|
|
49
|
+
color: primaryBlue,
|
|
50
|
+
border_color: '#2d3748'
|
|
51
|
+
},
|
|
52
|
+
articleBubble: {
|
|
53
|
+
bg_color: '#232b38',
|
|
54
|
+
color: '#e2e4e6',
|
|
55
|
+
border_color: '#2d3748'
|
|
56
|
+
},
|
|
57
|
+
textBubble: {
|
|
58
|
+
see_more_color: primaryBlue,
|
|
59
|
+
url_color: primaryBlue
|
|
60
|
+
},
|
|
61
|
+
imTicketLink: {
|
|
62
|
+
color: '#479dff'
|
|
63
|
+
},
|
|
64
|
+
imMessageMeta: {
|
|
65
|
+
timeColor: '#a8b0bd'
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const incomingBubbleBgColor = '#232b38';
|
|
2
|
+
export const bubbleActiveBgColor = '#1b2e33';
|
|
3
|
+
export const actionIconWrapperColor = '#e2e4e6';
|
|
4
|
+
export const messageStatusSendColor = '#61667a';
|
|
5
|
+
export const messageStatusFailedColor = '#de3535';
|
|
6
|
+
export const primaryBlue = '#479dff';
|
|
7
|
+
export const primaryGreen = '#45a159';
|
|
8
|
+
export const primaryOrange = '#ff801f';
|
|
9
|
+
export const primaryRed = '#e94f4f';
|
|
10
|
+
export const primaryYellow = '#d79835';
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* eslint-disable camelcase */
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryGreen } from './commonColorVariable';
|
|
3
|
+
import { imIntegrationIcon, messagetextColor } from '../commonThemeColorVariable';
|
|
4
|
+
export default {
|
|
5
|
+
library: 'chat_components',
|
|
6
|
+
variables: {
|
|
7
|
+
messageBubble: {
|
|
8
|
+
active_bg_color: bubbleActiveBgColor,
|
|
9
|
+
messageBox_footer_text_color: '#5a616f'
|
|
10
|
+
},
|
|
11
|
+
messageBox: {
|
|
12
|
+
incoming_bg_color: incomingBubbleBgColor,
|
|
13
|
+
outgoing_bg_color: '#26373b',
|
|
14
|
+
bg_color: '#f1f7fe',
|
|
15
|
+
failed_bg_color: '#362734',
|
|
16
|
+
text_color: messagetextColor
|
|
17
|
+
},
|
|
18
|
+
actionIconWrapper: {
|
|
19
|
+
color: actionIconWrapperColor,
|
|
20
|
+
bg_color: '#26373b',
|
|
21
|
+
border_color: '#2d4e42'
|
|
22
|
+
},
|
|
23
|
+
imIntegrationIcon,
|
|
24
|
+
messageStatus: {
|
|
25
|
+
send_color: messageStatusSendColor,
|
|
26
|
+
read_color: '#45a159',
|
|
27
|
+
failed_color: messageStatusFailedColor
|
|
28
|
+
},
|
|
29
|
+
attachmentBubbleInfo: {
|
|
30
|
+
fileName_color: '#e2e4e6',
|
|
31
|
+
fileSize_color: '#788190'
|
|
32
|
+
},
|
|
33
|
+
attachmentBubble: {
|
|
34
|
+
bg_color: '#232b38',
|
|
35
|
+
border_color: '#2d3748'
|
|
36
|
+
},
|
|
37
|
+
imTicketLink: {
|
|
38
|
+
color: '#45a159'
|
|
39
|
+
},
|
|
40
|
+
replyBubbleContent: {
|
|
41
|
+
bg_color: 'hsl(191.43deg 21.65% 13.02%)',
|
|
42
|
+
color: '#e2e4e6',
|
|
43
|
+
border_color: '#2d3748',
|
|
44
|
+
line_color: '#cddbf2'
|
|
45
|
+
},
|
|
46
|
+
imageBubble: {
|
|
47
|
+
bg_color: '#232b38'
|
|
48
|
+
},
|
|
49
|
+
locationBubble: {
|
|
50
|
+
bg_color: '#232b38',
|
|
51
|
+
color: primaryGreen,
|
|
52
|
+
border_color: '#2d3748'
|
|
53
|
+
},
|
|
54
|
+
articleBubble: {
|
|
55
|
+
bg_color: '#232b38',
|
|
56
|
+
color: '#e2e4e6',
|
|
57
|
+
border_color: '#2d3748'
|
|
58
|
+
},
|
|
59
|
+
imMessageMeta: {
|
|
60
|
+
timeColor: '#a8b0bd'
|
|
61
|
+
},
|
|
62
|
+
textBubble: {
|
|
63
|
+
see_more_color: primaryGreen,
|
|
64
|
+
url_color: primaryGreen
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* eslint-disable camelcase */
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryOrange } from './commonColorVariable';
|
|
3
|
+
import { imIntegrationIcon, messagetextColor } from '../commonThemeColorVariable';
|
|
4
|
+
export default {
|
|
5
|
+
library: 'chat_components',
|
|
6
|
+
variables: {
|
|
7
|
+
messageBubble: {
|
|
8
|
+
active_bg_color: bubbleActiveBgColor,
|
|
9
|
+
messageBox_footer_text_color: '#5a616f'
|
|
10
|
+
},
|
|
11
|
+
messageBox: {
|
|
12
|
+
incoming_bg_color: incomingBubbleBgColor,
|
|
13
|
+
outgoing_bg_color: '#323136',
|
|
14
|
+
bg_color: '#f1f7fe',
|
|
15
|
+
failed_bg_color: '#362734',
|
|
16
|
+
text_color: messagetextColor
|
|
17
|
+
},
|
|
18
|
+
actionIconWrapper: {
|
|
19
|
+
color: actionIconWrapperColor,
|
|
20
|
+
bg_color: '#323136',
|
|
21
|
+
border_color: '#4f3c33'
|
|
22
|
+
},
|
|
23
|
+
imIntegrationIcon,
|
|
24
|
+
messageStatus: {
|
|
25
|
+
send_color: messageStatusSendColor,
|
|
26
|
+
read_color: '#ff801f',
|
|
27
|
+
failed_color: messageStatusFailedColor
|
|
28
|
+
},
|
|
29
|
+
attachmentBubbleInfo: {
|
|
30
|
+
fileName_color: '#e2e4e6',
|
|
31
|
+
fileSize_color: '#788190'
|
|
32
|
+
},
|
|
33
|
+
attachmentBubble: {
|
|
34
|
+
bg_color: '#232b38',
|
|
35
|
+
border_color: '#2d3748'
|
|
36
|
+
},
|
|
37
|
+
imTicketLink: {
|
|
38
|
+
color: '#ff801f'
|
|
39
|
+
},
|
|
40
|
+
replyBubbleContent: {
|
|
41
|
+
bg_color: '#232b38',
|
|
42
|
+
color: '#e2e4e6',
|
|
43
|
+
border_color: '#2d3748',
|
|
44
|
+
line_color: '#cddbf2'
|
|
45
|
+
},
|
|
46
|
+
imageBubble: {
|
|
47
|
+
bg_color: '#232b38'
|
|
48
|
+
},
|
|
49
|
+
locationBubble: {
|
|
50
|
+
bg_color: '#232b38',
|
|
51
|
+
color: primaryOrange,
|
|
52
|
+
border_color: '#2d3748'
|
|
53
|
+
},
|
|
54
|
+
articleBubble: {
|
|
55
|
+
bg_color: '#232b38',
|
|
56
|
+
color: '#e2e4e6',
|
|
57
|
+
border_color: '#2d3748'
|
|
58
|
+
},
|
|
59
|
+
imMessageMeta: {
|
|
60
|
+
timeColor: '#a8b0bd'
|
|
61
|
+
},
|
|
62
|
+
textBubble: {
|
|
63
|
+
see_more_color: primaryOrange,
|
|
64
|
+
url_color: primaryOrange
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/* eslint-disable camelcase */
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryRed } from './commonColorVariable';
|
|
3
|
+
import { imIntegrationIcon, messagetextColor } from '../commonThemeColorVariable';
|
|
4
|
+
export default {
|
|
5
|
+
library: 'chat_components',
|
|
6
|
+
variables: {
|
|
7
|
+
messageBubble: {
|
|
8
|
+
active_bg_color: bubbleActiveBgColor,
|
|
9
|
+
messageBox_footer_text_color: '#5a616f'
|
|
10
|
+
},
|
|
11
|
+
messageBox: {
|
|
12
|
+
incoming_bg_color: incomingBubbleBgColor,
|
|
13
|
+
outgoing_bg_color: '#312d3a',
|
|
14
|
+
bg_color: '#f1f7fe',
|
|
15
|
+
failed_bg_color: '#362734',
|
|
16
|
+
text_color: messagetextColor
|
|
17
|
+
},
|
|
18
|
+
actionIconWrapper: {
|
|
19
|
+
color: actionIconWrapperColor,
|
|
20
|
+
bg_color: '#312d3a',
|
|
21
|
+
border_color: '#4b323d'
|
|
22
|
+
},
|
|
23
|
+
imIntegrationIcon,
|
|
24
|
+
messageStatus: {
|
|
25
|
+
send_color: messageStatusSendColor,
|
|
26
|
+
read_color: '#e94f4f',
|
|
27
|
+
failed_color: messageStatusFailedColor
|
|
28
|
+
},
|
|
29
|
+
attachmentBubbleInfo: {
|
|
30
|
+
fileName_color: '#e2e4e6',
|
|
31
|
+
fileSize_color: '#788190'
|
|
32
|
+
},
|
|
33
|
+
attachmentBubble: {
|
|
34
|
+
// bg_color: "#232b38",
|
|
35
|
+
bg_color: 'hsl(258.46deg 12.62% 16.2%)',
|
|
36
|
+
// border_color: "#2d3748",
|
|
37
|
+
border_color: 'hsl(258.46deg 12.62% 23.2%)'
|
|
38
|
+
},
|
|
39
|
+
imTicketLink: {
|
|
40
|
+
color: '#e94f4f'
|
|
41
|
+
},
|
|
42
|
+
replyBubbleContent: {
|
|
43
|
+
// bg_color: "#232b38",
|
|
44
|
+
bg_color: 'hsl(258.46deg 12.62% 16.2%)',
|
|
45
|
+
color: '#e2e4e6',
|
|
46
|
+
// border_color: "#2d3748",
|
|
47
|
+
border_color: 'hsl(258.46deg 12.62% 23.2%)',
|
|
48
|
+
line_color: '#cddbf2'
|
|
49
|
+
},
|
|
50
|
+
imageBubble: {
|
|
51
|
+
// bg_color: "#232b38",
|
|
52
|
+
bg_color: 'hsl(258.46deg 12.62% 16.2%)'
|
|
53
|
+
},
|
|
54
|
+
locationBubble: {
|
|
55
|
+
// bg_color: "#232b38",
|
|
56
|
+
bg_color: 'hsl(258.46deg 12.62% 16.2%)',
|
|
57
|
+
color: primaryRed,
|
|
58
|
+
// border_color: '#2d3748',
|
|
59
|
+
border_color: 'hsl(258.46deg 12.62% 23.2%)'
|
|
60
|
+
},
|
|
61
|
+
articleBubble: {
|
|
62
|
+
// bg_color: "#232b38",
|
|
63
|
+
bg_color: 'hsl(258.46deg 12.62% 16.2%)',
|
|
64
|
+
color: '#e2e4e6',
|
|
65
|
+
// border_color: "#2d3748",
|
|
66
|
+
border_color: 'hsl(258.46deg 12.62% 23.2%)'
|
|
67
|
+
},
|
|
68
|
+
imMessageMeta: {
|
|
69
|
+
timeColor: '#a8b0bd'
|
|
70
|
+
},
|
|
71
|
+
textBubble: {
|
|
72
|
+
see_more_color: primaryRed,
|
|
73
|
+
url_color: primaryRed
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* eslint-disable camelcase */
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryYellow } from './commonColorVariable';
|
|
3
|
+
import { imIntegrationIcon, messagetextColor } from '../commonThemeColorVariable';
|
|
4
|
+
export default {
|
|
5
|
+
library: 'chat_components',
|
|
6
|
+
variables: {
|
|
7
|
+
messageBubble: {
|
|
8
|
+
active_bg_color: bubbleActiveBgColor,
|
|
9
|
+
messageBox_footer_text_color: '#5a616f'
|
|
10
|
+
},
|
|
11
|
+
messageBox: {
|
|
12
|
+
incoming_bg_color: incomingBubbleBgColor,
|
|
13
|
+
outgoing_bg_color: '#303338',
|
|
14
|
+
bg_color: '#f1f7fe',
|
|
15
|
+
failed_bg_color: '#362734',
|
|
16
|
+
text_color: messagetextColor
|
|
17
|
+
},
|
|
18
|
+
actionIconWrapper: {
|
|
19
|
+
color: actionIconWrapperColor,
|
|
20
|
+
bg_color: '#303338',
|
|
21
|
+
border_color: '#474137'
|
|
22
|
+
},
|
|
23
|
+
imIntegrationIcon,
|
|
24
|
+
messageStatus: {
|
|
25
|
+
send_color: messageStatusSendColor,
|
|
26
|
+
read_color: '#d79835',
|
|
27
|
+
failed_color: messageStatusFailedColor
|
|
28
|
+
},
|
|
29
|
+
attachmentBubbleInfo: {
|
|
30
|
+
fileName_color: '#e2e4e6',
|
|
31
|
+
fileSize_color: '#788190'
|
|
32
|
+
},
|
|
33
|
+
attachmentBubble: {
|
|
34
|
+
bg_color: '#232b38',
|
|
35
|
+
border_color: '#2d3748'
|
|
36
|
+
},
|
|
37
|
+
imTicketLink: {
|
|
38
|
+
color: '#d79835'
|
|
39
|
+
},
|
|
40
|
+
replyBubbleContent: {
|
|
41
|
+
bg_color: '#232b38',
|
|
42
|
+
color: '#e2e4e6',
|
|
43
|
+
border_color: '#2d3748',
|
|
44
|
+
line_color: '#cddbf2'
|
|
45
|
+
},
|
|
46
|
+
imageBubble: {
|
|
47
|
+
bg_color: '#232b38'
|
|
48
|
+
},
|
|
49
|
+
locationBubble: {
|
|
50
|
+
bg_color: '#232b38',
|
|
51
|
+
color: primaryYellow,
|
|
52
|
+
border_color: '#2d3748'
|
|
53
|
+
},
|
|
54
|
+
articleBubble: {
|
|
55
|
+
bg_color: '#232b38',
|
|
56
|
+
color: '#e2e4e6',
|
|
57
|
+
border_color: '#2d3748'
|
|
58
|
+
},
|
|
59
|
+
imMessageMeta: {
|
|
60
|
+
timeColor: '#a8b0bd'
|
|
61
|
+
},
|
|
62
|
+
textBubble: {
|
|
63
|
+
see_more_color: primaryYellow,
|
|
64
|
+
url_color: primaryYellow
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/* eslint-disable camelcase */
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messagetextColor, primaryBlue, white } from './commonColorVariable';
|
|
3
|
+
import { imIntegrationIcon } from '../commonThemeColorVariable';
|
|
4
|
+
export default {
|
|
5
|
+
library: 'chat_components',
|
|
6
|
+
variables: {
|
|
7
|
+
messageBubble: {
|
|
8
|
+
active_bg_color: bubbleActiveBgColor,
|
|
9
|
+
messageBox_footer_text_color: '#5a616f'
|
|
10
|
+
},
|
|
11
|
+
messageBox: {
|
|
12
|
+
incoming_bg_color: incomingBubbleBgColor,
|
|
13
|
+
outgoing_bg_color: '#f1f7fe',
|
|
14
|
+
bg_color: '#f1f7fe',
|
|
15
|
+
failed_bg_color: '#fcebeb',
|
|
16
|
+
text_color: messagetextColor
|
|
17
|
+
},
|
|
18
|
+
actionIconWrapper: {
|
|
19
|
+
color: actionIconWrapperColor,
|
|
20
|
+
bg_color: '#f1f7fe',
|
|
21
|
+
border_color: '#b7d1f0'
|
|
22
|
+
},
|
|
23
|
+
imIntegrationIcon,
|
|
24
|
+
messageStatus: {
|
|
25
|
+
send_color: messageStatusSendColor,
|
|
26
|
+
read_color: primaryBlue,
|
|
27
|
+
failed_color: messageStatusFailedColor
|
|
28
|
+
},
|
|
29
|
+
attachmentBubble: {
|
|
30
|
+
bg_color: white,
|
|
31
|
+
border_color: '#ebf0f5'
|
|
32
|
+
},
|
|
33
|
+
replyBubbleContent: {
|
|
34
|
+
bg_color: white,
|
|
35
|
+
color: '#000',
|
|
36
|
+
border_color: '#ebf0f5',
|
|
37
|
+
line_color: '#cddbf2'
|
|
38
|
+
},
|
|
39
|
+
imageBubble: {
|
|
40
|
+
bg_color: white
|
|
41
|
+
},
|
|
42
|
+
locationBubble: {
|
|
43
|
+
bg_color: white,
|
|
44
|
+
color: primaryBlue,
|
|
45
|
+
border_color: '#ebf0f5'
|
|
46
|
+
},
|
|
47
|
+
articleBubble: {
|
|
48
|
+
bg_color: white,
|
|
49
|
+
color: '#000',
|
|
50
|
+
border_color: '#ebf0f5'
|
|
51
|
+
},
|
|
52
|
+
imTicketLink: {
|
|
53
|
+
color: primaryBlue
|
|
54
|
+
},
|
|
55
|
+
textBubble: {
|
|
56
|
+
see_more_color: primaryBlue,
|
|
57
|
+
url_color: primaryBlue
|
|
58
|
+
},
|
|
59
|
+
imMessageMeta: {
|
|
60
|
+
timeColor: '#5a616f'
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export const incomingBubbleBgColor = '#f1f4f9';
|
|
2
|
+
export const bubbleActiveBgColor = '#fdffe3';
|
|
3
|
+
export const actionIconWrapperColor = '#000';
|
|
4
|
+
export const messageStatusSendColor = '#61667a';
|
|
5
|
+
export const messageStatusFailedColor = '#de3535';
|
|
6
|
+
export const messagetextColor = '#000';
|
|
7
|
+
export const white = '#fff';
|
|
8
|
+
export const primaryBlue = '#0a73eb';
|
|
9
|
+
export const primaryGreen = '#26a942';
|
|
10
|
+
export const primaryOrange = '#e57717';
|
|
11
|
+
export const primaryRed = '#de3535';
|
|
12
|
+
export const primaryYellow = '#b68c07';
|