@zohoim/chat-components 0.0.8 → 0.0.11
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/ArticleBubble/ArticleBubble.js +19 -11
- package/es/ArticleBubble/css/ArticleBubble.module.css +39 -0
- package/es/AttachmentBubble/AttachmentBubble.js +12 -11
- package/es/AttachmentBubble/css/AttachmentBubble.module.css +12 -5
- package/es/AttachmentBubbleInfo/css/AttachmentBubbleInfo.module.css +9 -2
- package/es/Audio/css/Audio.module.css +4 -0
- package/es/AudioBubble/css/AudioBubble.module.css +1 -1
- package/es/Fonts/puviFont.module.css +61 -0
- package/es/LocationBubble/LocationBubble.js +17 -12
- package/es/LocationBubble/css/LocationBubble.module.css +33 -0
- package/es/Message/Message.js +3 -3
- package/es/MessageActionsMore/css/MessageActionsMore.module.css +1 -0
- package/es/MessageAvatar/css/MessageAvatar.module.css +3 -3
- package/es/MessageBox/css/MessageBox.module.css +5 -2
- package/es/MoreActionItem/MoreActionItem.js +1 -0
- package/es/MoreActionItem/css/MoreActionItem.module.css +4 -0
- package/es/ReplyBubble/ReplyBubble.js +18 -2
- package/es/ReplyBubble/props/defaultProps.js +4 -1
- package/es/ReplyBubble/props/propTypes.js +9 -1
- package/es/ReplyBubbleContent/ReplyBubbleContent.js +56 -0
- package/es/ReplyBubbleContent/css/ReplyBubbleContent.module.css +50 -0
- package/es/ReplyBubbleContent/css/cssJSLogic.js +22 -0
- package/es/ReplyBubbleContent/index.js +1 -0
- package/es/ReplyBubbleContent/props/defaultProps.js +6 -0
- package/es/ReplyBubbleContent/props/propTypes.js +9 -0
- package/es/ReplyBubbleHeader/ReplyBubbleHeader.js +6 -2
- package/es/ReplyBubbleHeader/css/ReplyBubbleHeader.module.css +4 -0
- package/es/ReplyBubbleHeader/props/defaultProps.js +1 -1
- package/es/TextBubble/TextBubble.js +10 -10
- package/es/TextBubble/css/TextBubble.module.css +5 -1
- package/es/Theme/ThemeWrapper.js +25 -19
- package/es/Theme/desk/commonDeskColorVariable.js +3 -1
- package/es/Theme/desk/dark/blueTheme.js +23 -11
- package/es/Theme/desk/dark/commonColorVariable.js +5 -5
- package/es/Theme/desk/dark/greenTheme.js +22 -11
- package/es/Theme/desk/dark/orangeTheme.js +13 -2
- package/es/Theme/desk/dark/redTheme.js +22 -11
- package/es/Theme/desk/dark/yellowTheme.js +22 -11
- package/es/Theme/desk/light/blueTheme.js +25 -12
- package/es/Theme/desk/light/commonColorVariable.js +2 -1
- package/es/Theme/desk/light/greenTheme.js +9 -2
- package/es/Theme/desk/light/orangeTheme.js +17 -10
- package/es/Theme/desk/light/redTheme.js +17 -10
- package/es/Theme/desk/light/yellowTheme.js +17 -10
- package/es/Theme/desk/pureDark/blueTheme.js +21 -10
- package/es/Theme/desk/pureDark/commonColorVariable.js +2 -1
- package/es/Theme/desk/pureDark/greenTheme.js +21 -10
- package/es/Theme/desk/pureDark/orangeTheme.js +21 -10
- package/es/Theme/desk/pureDark/redTheme.js +21 -10
- package/es/Theme/desk/pureDark/yellowTheme.js +21 -10
- package/es/VideoBubble/css/VideoBubble.module.css +1 -1
- package/es/icons/factory/common/article.svg +4 -0
- package/es/icons/factory/common/quote.svg +1 -0
- package/es/icons/iconSrc/common/Article.js +17 -0
- package/es/icons/iconSrc/common/Quote.js +16 -0
- package/es/icons/iconSrc/common/index.js +2 -0
- package/es/{IMArticleBubble → im/IMArticleBubble}/IMArticleBubble.js +2 -2
- package/es/{IMAttachmentBubble → im/IMAttachmentBubble}/IMAttachmentBubble.js +2 -2
- package/es/{IMAttachmentIcon → im/IMAttachmentIcon}/IMAttachmentIcon.js +17 -17
- package/es/{IMAudioBubble → im/IMAudioBubble}/IMAudioBubble.js +2 -2
- package/es/im/IMAudioBubble/css/IMAudioBubble.module.css +8 -0
- package/es/{IMAutoMessageInfo → im/IMAutoMessageInfo}/IMAutoMessageInfo.js +1 -1
- package/es/{IMDateTime → im/IMDateTime}/IMDateTime.js +1 -1
- package/es/im/IMDateTime/css/IMDateTime.module.css +5 -0
- package/es/{IMImageBubble → im/IMImageBubble}/IMImageBubble.js +2 -2
- package/es/{IMIntegrationIcon → im/IMIntegrationIcon}/IMIntegrationIcon.js +7 -7
- package/es/{IMLocationBubble → im/IMLocationBubble}/IMLocationBubble.js +2 -2
- package/es/{IMMessage → im/IMMessage}/IMMessage.js +18 -12
- package/es/{IMMessage → im/IMMessage}/props/propTypes.js +9 -6
- package/es/{IMMessageActions → im/IMMessageActions}/IMMessageActions.js +5 -5
- package/es/{IMMessageActions → im/IMMessageActions}/css/IMMessageActions.module.css +8 -0
- package/es/{IMMessageAvatar → im/IMMessageAvatar}/IMMessageAvatar.js +1 -1
- package/es/{IMMessageContent → im/IMMessageContent}/IMMessageContent.js +27 -22
- package/es/{IMMessageContent → im/IMMessageContent}/props/propTypes.js +3 -1
- package/es/{IMMessageStatus → im/IMMessageStatus}/IMMessageStatus.js +4 -4
- package/es/im/IMReplyBubble/IMReplyBubble.js +87 -0
- package/es/im/IMReplyBubble/css/IMReplyBubble.module.css +24 -0
- package/es/im/IMReplyBubble/props/defaultProps.js +9 -0
- package/es/im/IMReplyBubble/props/propTypes.js +22 -0
- package/es/{IMTextBubble → im/IMTextBubble}/IMTextBubble.js +4 -3
- package/es/{IMTicketLink → im/IMTicketLink}/IMTicketLink.js +1 -1
- package/es/{IMTicketLink → im/IMTicketLink}/css/IMTicketLink.module.css +4 -1
- package/es/{IMVideoBubble → im/IMVideoBubble}/IMVideoBubble.js +2 -2
- package/es/im/index.js +20 -0
- package/es/index.js +31 -49
- package/package.json +4 -4
- package/es/IMAudioBubble/css/IMAudioBubble.module.css +0 -8
- package/es/IMDateTime/css/IMDateTime.module.css +0 -5
- package/es/IMReplyBubble/IMReplyBubble.js +0 -37
- package/es/IMReplyBubble/css/IMReplyBubble.module.css +0 -0
- package/es/IMReplyBubble/props/defaultProps.js +0 -6
- package/es/IMReplyBubble/props/propTypes.js +0 -6
- /package/es/{IMArticleBubble → im/IMArticleBubble}/css/IMArticleBubble.module.css +0 -0
- /package/es/{IMArticleBubble → im/IMArticleBubble}/css/cssJSLogic.js +0 -0
- /package/es/{IMArticleBubble → im/IMArticleBubble}/index.js +0 -0
- /package/es/{IMArticleBubble → im/IMArticleBubble}/props/defaultProps.js +0 -0
- /package/es/{IMArticleBubble → im/IMArticleBubble}/props/propTypes.js +0 -0
- /package/es/{IMAttachmentBubble → im/IMAttachmentBubble}/css/IMAttachmentBubble.module.css +0 -0
- /package/es/{IMAttachmentBubble → im/IMAttachmentBubble}/css/cssJSLogic.js +0 -0
- /package/es/{IMAttachmentBubble → im/IMAttachmentBubble}/index.js +0 -0
- /package/es/{IMAttachmentBubble → im/IMAttachmentBubble}/props/defaultProps.js +0 -0
- /package/es/{IMAttachmentBubble → im/IMAttachmentBubble}/props/propTypes.js +0 -0
- /package/es/{IMAttachmentIcon → im/IMAttachmentIcon}/css/IMAttachmentIcon.module.css +0 -0
- /package/es/{IMAttachmentIcon → im/IMAttachmentIcon}/css/cssJSLogic.js +0 -0
- /package/es/{IMAttachmentIcon → im/IMAttachmentIcon}/index.js +0 -0
- /package/es/{IMAttachmentIcon → im/IMAttachmentIcon}/props/defaultProps.js +0 -0
- /package/es/{IMAttachmentIcon → im/IMAttachmentIcon}/props/propTypes.js +0 -0
- /package/es/{IMAudioBubble → im/IMAudioBubble}/css/cssJSLogic.js +0 -0
- /package/es/{IMAudioBubble → im/IMAudioBubble}/index.js +0 -0
- /package/es/{IMAudioBubble → im/IMAudioBubble}/props/defaultProps.js +0 -0
- /package/es/{IMAudioBubble → im/IMAudioBubble}/props/propTypes.js +0 -0
- /package/es/{IMAutoMessageInfo → im/IMAutoMessageInfo}/css/IMAutoMessageInfo.module.css +0 -0
- /package/es/{IMAutoMessageInfo → im/IMAutoMessageInfo}/css/cssJSLogic.js +0 -0
- /package/es/{IMAutoMessageInfo → im/IMAutoMessageInfo}/index.js +0 -0
- /package/es/{IMAutoMessageInfo → im/IMAutoMessageInfo}/props/defaultProps.js +0 -0
- /package/es/{IMAutoMessageInfo → im/IMAutoMessageInfo}/props/propTypes.js +0 -0
- /package/es/{IMDateTime → im/IMDateTime}/css/cssJSLogic.js +0 -0
- /package/es/{IMDateTime → im/IMDateTime}/index.js +0 -0
- /package/es/{IMDateTime → im/IMDateTime}/props/defaultProps.js +0 -0
- /package/es/{IMDateTime → im/IMDateTime}/props/propTypes.js +0 -0
- /package/es/{IMImageBubble → im/IMImageBubble}/css/IMImageBubble.module.css +0 -0
- /package/es/{IMImageBubble → im/IMImageBubble}/css/cssJSLogic.js +0 -0
- /package/es/{IMImageBubble → im/IMImageBubble}/index.js +0 -0
- /package/es/{IMImageBubble → im/IMImageBubble}/props/defaultProps.js +0 -0
- /package/es/{IMImageBubble → im/IMImageBubble}/props/propTypes.js +0 -0
- /package/es/{IMInfoBubble → im/IMInfoBubble}/IMInfoBubble.js +0 -0
- /package/es/{IMInfoBubble → im/IMInfoBubble}/css/IMInfoBubble.module.css +0 -0
- /package/es/{IMInfoBubble → im/IMInfoBubble}/css/cssJSLogic.js +0 -0
- /package/es/{IMInfoBubble → im/IMInfoBubble}/index.js +0 -0
- /package/es/{IMInfoBubble → im/IMInfoBubble}/props/defaultProps.js +0 -0
- /package/es/{IMInfoBubble → im/IMInfoBubble}/props/propTypes.js +0 -0
- /package/es/{IMIntegrationIcon → im/IMIntegrationIcon}/css/IMIntegrationIcon.module.css +0 -0
- /package/es/{IMIntegrationIcon → im/IMIntegrationIcon}/css/cssJSLogic.js +0 -0
- /package/es/{IMIntegrationIcon → im/IMIntegrationIcon}/index.js +0 -0
- /package/es/{IMIntegrationIcon → im/IMIntegrationIcon}/props/defaultProps.js +0 -0
- /package/es/{IMIntegrationIcon → im/IMIntegrationIcon}/props/propConstants.js +0 -0
- /package/es/{IMIntegrationIcon → im/IMIntegrationIcon}/props/propTypes.js +0 -0
- /package/es/{IMLocationBubble → im/IMLocationBubble}/css/IMLocationBubble.module.css +0 -0
- /package/es/{IMLocationBubble → im/IMLocationBubble}/css/cssJSLogic.js +0 -0
- /package/es/{IMLocationBubble → im/IMLocationBubble}/index.js +0 -0
- /package/es/{IMLocationBubble → im/IMLocationBubble}/props/defaultProps.js +0 -0
- /package/es/{IMLocationBubble → im/IMLocationBubble}/props/propTypes.js +0 -0
- /package/es/{IMMessage → im/IMMessage}/css/IMMessage.module.css +0 -0
- /package/es/{IMMessage → im/IMMessage}/css/cssJSLogic.js +0 -0
- /package/es/{IMMessage → im/IMMessage}/index.js +0 -0
- /package/es/{IMMessage → im/IMMessage}/props/defaultProps.js +0 -0
- /package/es/{IMMessage → im/IMMessage}/renderChild/renderMessage.js +0 -0
- /package/es/{IMMessage → im/IMMessage}/renderChild/renderMessageActions.js +0 -0
- /package/es/{IMMessage → im/IMMessage}/renderChild/renderMessageBox.js +0 -0
- /package/es/{IMMessage → im/IMMessage}/renderChild/renderMessageBoxFooter.js +0 -0
- /package/es/{IMMessage → im/IMMessage}/renderChild/renderMessageFooter.js +0 -0
- /package/es/{IMMessage → im/IMMessage}/renderChild/renderMessageHeader.js +0 -0
- /package/es/{IMMessage → im/IMMessage}/renderChild/renderMessageOwner.js +0 -0
- /package/es/{IMMessage → im/IMMessage}/renderChild/renderMessageStatus.js +0 -0
- /package/es/{IMMessageActions → im/IMMessageActions}/css/cssJSLogic.js +0 -0
- /package/es/{IMMessageActions → im/IMMessageActions}/index.js +0 -0
- /package/es/{IMMessageActions → im/IMMessageActions}/props/defaultProps.js +0 -0
- /package/es/{IMMessageActions → im/IMMessageActions}/props/propTypes.js +0 -0
- /package/es/{IMMessageAvatar → im/IMMessageAvatar}/css/IMMessageAvatar.module.css +0 -0
- /package/es/{IMMessageAvatar → im/IMMessageAvatar}/css/cssJSLogic.js +0 -0
- /package/es/{IMMessageAvatar → im/IMMessageAvatar}/index.js +0 -0
- /package/es/{IMMessageAvatar → im/IMMessageAvatar}/props/defaultProps.js +0 -0
- /package/es/{IMMessageAvatar → im/IMMessageAvatar}/props/propTypes.js +0 -0
- /package/es/{IMMessageContent → im/IMMessageContent}/css/IMMessageContent.module.css +0 -0
- /package/es/{IMMessageContent → im/IMMessageContent}/css/cssJSLogic.js +0 -0
- /package/es/{IMMessageContent → im/IMMessageContent}/index.js +0 -0
- /package/es/{IMMessageContent → im/IMMessageContent}/props/defaultProps.js +0 -0
- /package/es/{IMMessageMeta → im/IMMessageMeta}/IMMessageMeta.js +0 -0
- /package/es/{IMMessageMeta → im/IMMessageMeta}/css/IMMessageMeta.module.css +0 -0
- /package/es/{IMMessageMeta → im/IMMessageMeta}/css/cssJSLogic.js +0 -0
- /package/es/{IMMessageMeta → im/IMMessageMeta}/index.js +0 -0
- /package/es/{IMMessageMeta → im/IMMessageMeta}/props/defaultProps.js +0 -0
- /package/es/{IMMessageMeta → im/IMMessageMeta}/props/propTypes.js +0 -0
- /package/es/{IMMessageStatus → im/IMMessageStatus}/css/IMMessageStatus.module.css +0 -0
- /package/es/{IMMessageStatus → im/IMMessageStatus}/css/cssJSLogic.js +0 -0
- /package/es/{IMMessageStatus → im/IMMessageStatus}/index.js +0 -0
- /package/es/{IMMessageStatus → im/IMMessageStatus}/props/defaultProps.js +0 -0
- /package/es/{IMMessageStatus → im/IMMessageStatus}/props/propTypes.js +0 -0
- /package/es/{IMReplyBubble → im/IMReplyBubble}/css/cssJSLogic.js +0 -0
- /package/es/{IMReplyBubble → im/IMReplyBubble}/index.js +0 -0
- /package/es/{IMTextBubble → im/IMTextBubble}/css/IMTextBubble.module.css +0 -0
- /package/es/{IMTextBubble → im/IMTextBubble}/css/cssJSLogic.js +0 -0
- /package/es/{IMTextBubble → im/IMTextBubble}/index.js +0 -0
- /package/es/{IMTextBubble → im/IMTextBubble}/props/defaultProps.js +0 -0
- /package/es/{IMTextBubble → im/IMTextBubble}/props/propTypes.js +0 -0
- /package/es/{IMTicketLink → im/IMTicketLink}/css/cssJSLogic.js +0 -0
- /package/es/{IMTicketLink → im/IMTicketLink}/index.js +0 -0
- /package/es/{IMTicketLink → im/IMTicketLink}/props/defaultProps.js +0 -0
- /package/es/{IMTicketLink → im/IMTicketLink}/props/propTypes.js +0 -0
- /package/es/{IMVideoBubble → im/IMVideoBubble}/css/IMVideoBubble.module.css +0 -0
- /package/es/{IMVideoBubble → im/IMVideoBubble}/css/cssJSLogic.js +0 -0
- /package/es/{IMVideoBubble → im/IMVideoBubble}/index.js +0 -0
- /package/es/{IMVideoBubble → im/IMVideoBubble}/props/defaultProps.js +0 -0
- /package/es/{IMVideoBubble → im/IMVideoBubble}/props/propTypes.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ReplyBubbleContent } from './ReplyBubbleContent';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** ** Libraries *** */
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
const replyBubbleContentPropTypes = {
|
|
4
|
+
customStyle: PropTypes.object,
|
|
5
|
+
senderName: PropTypes.string,
|
|
6
|
+
renderIcon: PropTypes.func,
|
|
7
|
+
renderMessage: PropTypes.func
|
|
8
|
+
};
|
|
9
|
+
export default replyBubbleContentPropTypes;
|
|
@@ -21,7 +21,7 @@ import style from './css/ReplyBubbleHeader.module.css';
|
|
|
21
21
|
/** ** Components *** */
|
|
22
22
|
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
23
23
|
import ReplyIcon from '@zohodesk/icon/es/general/Reply';
|
|
24
|
-
import IMDateTime from '../IMDateTime/IMDateTime';
|
|
24
|
+
import IMDateTime from '../im/IMDateTime/IMDateTime';
|
|
25
25
|
export default function ReplyBubbleHeader(props) {
|
|
26
26
|
const {
|
|
27
27
|
customStyle,
|
|
@@ -43,7 +43,11 @@ export default function ReplyBubbleHeader(props) {
|
|
|
43
43
|
flexible: true
|
|
44
44
|
}, /*#__PURE__*/React.createElement(Container, {
|
|
45
45
|
alignBox: "row"
|
|
46
|
-
}, /*#__PURE__*/React.createElement(ReplyIcon,
|
|
46
|
+
}, /*#__PURE__*/React.createElement(ReplyIcon, {
|
|
47
|
+
customStyle: {
|
|
48
|
+
base: newStyle.replyIcon
|
|
49
|
+
}
|
|
50
|
+
}), /*#__PURE__*/React.createElement(Box, null, replyText))), /*#__PURE__*/React.createElement(IMDateTime, {
|
|
47
51
|
customStyle: timeCustomStyle,
|
|
48
52
|
value: time
|
|
49
53
|
}));
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
/* eslint-disable max-len */
|
|
3
3
|
|
|
4
4
|
/** ** Libraries *** */
|
|
5
|
-
import React from
|
|
5
|
+
import React from "react";
|
|
6
6
|
|
|
7
7
|
/** ** Hooks *** */
|
|
8
|
-
import useMergeStyle from
|
|
9
|
-
import useTextBubble from
|
|
8
|
+
import useMergeStyle from "@zohodesk/hooks/es/utils/useMergeStyle";
|
|
9
|
+
import useTextBubble from "@zohoim/chat-components-hooks/es/TextBubble/useTextBubble";
|
|
10
10
|
|
|
11
11
|
/** ** Constants *** */
|
|
12
|
-
import textBubbleDefaultProps from
|
|
13
|
-
import textBubblePropTypes from
|
|
12
|
+
import textBubbleDefaultProps from "./props/defaultProps";
|
|
13
|
+
import textBubblePropTypes from "./props/propTypes";
|
|
14
14
|
|
|
15
15
|
/** ** Methods *** */
|
|
16
|
-
import renderHandler from
|
|
17
|
-
import cssJSLogic from
|
|
16
|
+
import renderHandler from "@zohoim/chat-components-utils/es/common/renderHandler";
|
|
17
|
+
import cssJSLogic from "./css/cssJSLogic";
|
|
18
18
|
|
|
19
19
|
/** ** Styles *** */
|
|
20
|
-
import style from
|
|
20
|
+
import style from "./css/TextBubble.module.css";
|
|
21
21
|
export default function TextBubble(props) {
|
|
22
22
|
const {
|
|
23
23
|
customStyle
|
|
@@ -36,7 +36,7 @@ export default function TextBubble(props) {
|
|
|
36
36
|
moreTextClass,
|
|
37
37
|
textBubbleWrapperClass
|
|
38
38
|
} = cssJSLogic(props, newStyle);
|
|
39
|
-
return /*#__PURE__*/React.createElement("
|
|
39
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
40
40
|
className: textBubbleWrapperClass
|
|
41
41
|
}, /*#__PURE__*/React.createElement("span", {
|
|
42
42
|
className: textBubbleClass
|
|
@@ -53,4 +53,4 @@ export default function TextBubble(props) {
|
|
|
53
53
|
}
|
|
54
54
|
TextBubble.propTypes = textBubblePropTypes;
|
|
55
55
|
TextBubble.defaultProps = textBubbleDefaultProps;
|
|
56
|
-
TextBubble.displayName =
|
|
56
|
+
TextBubble.displayName = "TextBubble";
|
package/es/Theme/ThemeWrapper.js
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
/* eslint-disable react/jsx-no-bind */
|
|
3
3
|
/** ** Libraries *** */
|
|
4
|
-
import React from
|
|
5
|
-
import ThemeProvider from
|
|
6
|
-
import sizeVariable from
|
|
7
|
-
import fontSizeVariable from
|
|
8
|
-
import fontVariable from
|
|
9
|
-
import { transitionVariable, motionTransitionVariable } from
|
|
10
|
-
import chatDefaultTheme from
|
|
11
|
-
import chatDarkTheme from
|
|
12
|
-
import { MSG_ACTION_POPUP_PORTAL } from
|
|
13
|
-
import { baseUnitLimit } from
|
|
14
|
-
import DeskAssets from
|
|
15
|
-
import TooltipWrapper from
|
|
16
|
-
import { Container } from
|
|
17
|
-
import themeWrapperPropTypes from
|
|
18
|
-
import themeWrapperDefaultProps from
|
|
19
|
-
import getThemeConfigurations from
|
|
20
|
-
import { I18NProvider } from
|
|
21
|
-
import datetime from
|
|
4
|
+
import React from "react";
|
|
5
|
+
import ThemeProvider from "@zohodesk/theme/es/ThemeProvider";
|
|
6
|
+
import sizeVariable from "@zohodesk/theme-defaults/es/sizeVariable";
|
|
7
|
+
import fontSizeVariable from "@zohodesk/theme-defaults/es/fontSizeVariable";
|
|
8
|
+
import fontVariable from "@zohodesk/theme-defaults/es/fontVariable";
|
|
9
|
+
import { transitionVariable, motionTransitionVariable } from "@zohodesk/theme-defaults/es/transitionVariable";
|
|
10
|
+
import chatDefaultTheme from "./defaultTheme";
|
|
11
|
+
import chatDarkTheme from "./darkTheme";
|
|
12
|
+
import { MSG_ACTION_POPUP_PORTAL } from "../constants";
|
|
13
|
+
import { baseUnitLimit } from "./constants";
|
|
14
|
+
import DeskAssets from "./DeskAssets";
|
|
15
|
+
import TooltipWrapper from "./ToolttipWrapper";
|
|
16
|
+
import { Container } from "@zohodesk/components/es/Layout";
|
|
17
|
+
import themeWrapperPropTypes from "./props/propTypes";
|
|
18
|
+
import themeWrapperDefaultProps from "./props/defaultProps";
|
|
19
|
+
import getThemeConfigurations from "./utils/getThemeConfigurations";
|
|
20
|
+
import { I18NProvider } from "@zohodesk/i18n";
|
|
21
|
+
import datetime from "@zohodesk/datetimejs";
|
|
22
|
+
import "../Fonts/puviFont.module.css";
|
|
22
23
|
export default function ThemeWrapper(props) {
|
|
23
24
|
const {
|
|
24
25
|
children,
|
|
@@ -52,7 +53,12 @@ export default function ThemeWrapper(props) {
|
|
|
52
53
|
};
|
|
53
54
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
54
55
|
id: "chat-components"
|
|
55
|
-
}, wrapperDivProps
|
|
56
|
+
}, wrapperDivProps, {
|
|
57
|
+
style: {
|
|
58
|
+
width: "100%",
|
|
59
|
+
height: "100%"
|
|
60
|
+
}
|
|
61
|
+
}), /*#__PURE__*/React.createElement(I18NProvider
|
|
56
62
|
// i18n={i18n}
|
|
57
63
|
, {
|
|
58
64
|
timeZone: "Asia/Kolkata",
|
|
@@ -1,30 +1,42 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from
|
|
3
|
-
import { imIntegrationIcon } from "../commonDeskColorVariable.js";
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from "./commonColorVariable.js";
|
|
3
|
+
import { imIntegrationIcon, messagetextColor } from "../commonDeskColorVariable.js";
|
|
4
4
|
export default {
|
|
5
|
-
library:
|
|
5
|
+
library: "chat_components",
|
|
6
6
|
variables: {
|
|
7
7
|
messageBubble: {
|
|
8
8
|
active_bg_color: bubbleActiveBgColor,
|
|
9
|
-
messageBox_footer_text_color:
|
|
9
|
+
messageBox_footer_text_color: "#5a616f"
|
|
10
10
|
},
|
|
11
11
|
messageBox: {
|
|
12
12
|
incoming_bg_color: incomingBubbleBgColor,
|
|
13
|
-
outgoing_bg_color:
|
|
14
|
-
bg_color:
|
|
15
|
-
failed_bg_color:
|
|
16
|
-
text_color:
|
|
13
|
+
outgoing_bg_color: "#2c3b4d",
|
|
14
|
+
bg_color: "#f1f7fe",
|
|
15
|
+
failed_bg_color: "#fcebeb",
|
|
16
|
+
text_color: messagetextColor,
|
|
17
|
+
failed_text_color: "#000"
|
|
17
18
|
},
|
|
18
19
|
actionIcon: {
|
|
19
20
|
color: actionIconColor,
|
|
20
|
-
bg_color:
|
|
21
|
-
border_color:
|
|
21
|
+
bg_color: "#2c3b4d",
|
|
22
|
+
border_color: "#3f536b"
|
|
22
23
|
},
|
|
23
24
|
imIntegrationIcon,
|
|
24
25
|
messageStatus: {
|
|
25
26
|
send_color: messageStatusSendColor,
|
|
26
|
-
read_color:
|
|
27
|
+
read_color: "#479dff",
|
|
27
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
|
+
imTicketLink: {
|
|
39
|
+
color: "#479dff"
|
|
28
40
|
}
|
|
29
41
|
}
|
|
30
42
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export const incomingBubbleBgColor =
|
|
2
|
-
export const bubbleActiveBgColor =
|
|
3
|
-
export const actionIconColor =
|
|
4
|
-
export const messageStatusSendColor =
|
|
5
|
-
export const messageStatusFailedColor =
|
|
1
|
+
export const incomingBubbleBgColor = "#232b38";
|
|
2
|
+
export const bubbleActiveBgColor = "#1b2e33";
|
|
3
|
+
export const actionIconColor = "#e2e4e6";
|
|
4
|
+
export const messageStatusSendColor = "#61667a";
|
|
5
|
+
export const messageStatusFailedColor = "#de3535";
|
|
@@ -1,30 +1,41 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from
|
|
3
|
-
import { imIntegrationIcon } from "../commonDeskColorVariable.js";
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from "./commonColorVariable.js";
|
|
3
|
+
import { imIntegrationIcon, messagetextColor } from "../commonDeskColorVariable.js";
|
|
4
4
|
export default {
|
|
5
|
-
library:
|
|
5
|
+
library: "chat_components",
|
|
6
6
|
variables: {
|
|
7
7
|
messageBubble: {
|
|
8
8
|
active_bg_color: bubbleActiveBgColor,
|
|
9
|
-
messageBox_footer_text_color:
|
|
9
|
+
messageBox_footer_text_color: "#5a616f"
|
|
10
10
|
},
|
|
11
11
|
messageBox: {
|
|
12
12
|
incoming_bg_color: incomingBubbleBgColor,
|
|
13
|
-
outgoing_bg_color:
|
|
14
|
-
bg_color:
|
|
15
|
-
failed_bg_color:
|
|
16
|
-
text_color:
|
|
13
|
+
outgoing_bg_color: "#26373b",
|
|
14
|
+
bg_color: "#f1f7fe",
|
|
15
|
+
failed_bg_color: "#fcebeb",
|
|
16
|
+
text_color: messagetextColor
|
|
17
17
|
},
|
|
18
18
|
actionIcon: {
|
|
19
19
|
color: actionIconColor,
|
|
20
|
-
bg_color:
|
|
21
|
-
border_color:
|
|
20
|
+
bg_color: "#26373b",
|
|
21
|
+
border_color: "#2d4e42"
|
|
22
22
|
},
|
|
23
23
|
imIntegrationIcon,
|
|
24
24
|
messageStatus: {
|
|
25
25
|
send_color: messageStatusSendColor,
|
|
26
|
-
read_color:
|
|
26
|
+
read_color: "#45a159",
|
|
27
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"
|
|
28
39
|
}
|
|
29
40
|
}
|
|
30
41
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
2
|
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable.js';
|
|
3
|
-
import { imIntegrationIcon } from "../commonDeskColorVariable.js";
|
|
3
|
+
import { imIntegrationIcon, messagetextColor } from "../commonDeskColorVariable.js";
|
|
4
4
|
export default {
|
|
5
5
|
library: 'chat_components',
|
|
6
6
|
variables: {
|
|
@@ -13,7 +13,7 @@ export default {
|
|
|
13
13
|
outgoing_bg_color: '#323136',
|
|
14
14
|
bg_color: '#f1f7fe',
|
|
15
15
|
failed_bg_color: '#fcebeb',
|
|
16
|
-
text_color:
|
|
16
|
+
text_color: messagetextColor
|
|
17
17
|
},
|
|
18
18
|
actionIcon: {
|
|
19
19
|
color: actionIconColor,
|
|
@@ -25,6 +25,17 @@ export default {
|
|
|
25
25
|
send_color: messageStatusSendColor,
|
|
26
26
|
read_color: '#ff801f',
|
|
27
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"
|
|
28
39
|
}
|
|
29
40
|
}
|
|
30
41
|
};
|
|
@@ -1,30 +1,41 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from
|
|
3
|
-
import { imIntegrationIcon } from "../commonDeskColorVariable.js";
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from "./commonColorVariable.js";
|
|
3
|
+
import { imIntegrationIcon, messagetextColor } from "../commonDeskColorVariable.js";
|
|
4
4
|
export default {
|
|
5
|
-
library:
|
|
5
|
+
library: "chat_components",
|
|
6
6
|
variables: {
|
|
7
7
|
messageBubble: {
|
|
8
8
|
active_bg_color: bubbleActiveBgColor,
|
|
9
|
-
messageBox_footer_text_color:
|
|
9
|
+
messageBox_footer_text_color: "#5a616f"
|
|
10
10
|
},
|
|
11
11
|
messageBox: {
|
|
12
12
|
incoming_bg_color: incomingBubbleBgColor,
|
|
13
|
-
outgoing_bg_color:
|
|
14
|
-
bg_color:
|
|
15
|
-
failed_bg_color:
|
|
16
|
-
text_color:
|
|
13
|
+
outgoing_bg_color: "#312d3a",
|
|
14
|
+
bg_color: "#f1f7fe",
|
|
15
|
+
failed_bg_color: "#fcebeb",
|
|
16
|
+
text_color: messagetextColor
|
|
17
17
|
},
|
|
18
18
|
actionIcon: {
|
|
19
19
|
color: actionIconColor,
|
|
20
|
-
bg_color:
|
|
21
|
-
border_color:
|
|
20
|
+
bg_color: "#312d3a",
|
|
21
|
+
border_color: "#4b323d"
|
|
22
22
|
},
|
|
23
23
|
imIntegrationIcon,
|
|
24
24
|
messageStatus: {
|
|
25
25
|
send_color: messageStatusSendColor,
|
|
26
|
-
read_color:
|
|
26
|
+
read_color: "#e94f4f",
|
|
27
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: "#e94f4f"
|
|
28
39
|
}
|
|
29
40
|
}
|
|
30
41
|
};
|
|
@@ -1,30 +1,41 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from
|
|
3
|
-
import { imIntegrationIcon } from "../commonDeskColorVariable.js";
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from "./commonColorVariable.js";
|
|
3
|
+
import { imIntegrationIcon, messagetextColor } from "../commonDeskColorVariable.js";
|
|
4
4
|
export default {
|
|
5
|
-
library:
|
|
5
|
+
library: "chat_components",
|
|
6
6
|
variables: {
|
|
7
7
|
messageBubble: {
|
|
8
8
|
active_bg_color: bubbleActiveBgColor,
|
|
9
|
-
messageBox_footer_text_color:
|
|
9
|
+
messageBox_footer_text_color: "#5a616f"
|
|
10
10
|
},
|
|
11
11
|
messageBox: {
|
|
12
12
|
incoming_bg_color: incomingBubbleBgColor,
|
|
13
|
-
outgoing_bg_color:
|
|
14
|
-
bg_color:
|
|
15
|
-
failed_bg_color:
|
|
16
|
-
text_color:
|
|
13
|
+
outgoing_bg_color: "#303338",
|
|
14
|
+
bg_color: "#f1f7fe",
|
|
15
|
+
failed_bg_color: "#fcebeb",
|
|
16
|
+
text_color: messagetextColor
|
|
17
17
|
},
|
|
18
18
|
actionIcon: {
|
|
19
19
|
color: actionIconColor,
|
|
20
|
-
bg_color:
|
|
21
|
-
border_color:
|
|
20
|
+
bg_color: "#303338",
|
|
21
|
+
border_color: "#474137"
|
|
22
22
|
},
|
|
23
23
|
imIntegrationIcon,
|
|
24
24
|
messageStatus: {
|
|
25
25
|
send_color: messageStatusSendColor,
|
|
26
|
-
read_color:
|
|
26
|
+
read_color: "#d79835",
|
|
27
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"
|
|
28
39
|
}
|
|
29
40
|
}
|
|
30
41
|
};
|
|
@@ -1,33 +1,46 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from
|
|
3
|
-
import { imIntegrationIcon } from
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messagetextColor } from "./commonColorVariable.js";
|
|
3
|
+
import { imIntegrationIcon } from "../commonDeskColorVariable.js";
|
|
4
4
|
export default {
|
|
5
|
-
library:
|
|
5
|
+
library: "chat_components",
|
|
6
6
|
variables: {
|
|
7
7
|
messageBubble: {
|
|
8
8
|
active_bg_color: bubbleActiveBgColor,
|
|
9
|
-
messageBox_footer_text_color:
|
|
9
|
+
messageBox_footer_text_color: "#5a616f"
|
|
10
10
|
},
|
|
11
11
|
messageBox: {
|
|
12
12
|
incoming_bg_color: incomingBubbleBgColor,
|
|
13
|
-
outgoing_bg_color:
|
|
14
|
-
bg_color:
|
|
15
|
-
failed_bg_color:
|
|
16
|
-
text_color:
|
|
13
|
+
outgoing_bg_color: "#f1f7fe",
|
|
14
|
+
bg_color: "#f1f7fe",
|
|
15
|
+
failed_bg_color: "#fcebeb",
|
|
16
|
+
text_color: messagetextColor
|
|
17
17
|
},
|
|
18
18
|
actionIcon: {
|
|
19
19
|
color: actionIconColor,
|
|
20
|
-
bg_color:
|
|
21
|
-
border_color:
|
|
20
|
+
bg_color: "#f1f7fe",
|
|
21
|
+
border_color: "#b7d1f0"
|
|
22
22
|
},
|
|
23
23
|
imIntegrationIcon,
|
|
24
24
|
messageStatus: {
|
|
25
25
|
send_color: messageStatusSendColor,
|
|
26
|
-
read_color:
|
|
26
|
+
read_color: "#0a73eb",
|
|
27
27
|
failed_color: messageStatusFailedColor
|
|
28
28
|
},
|
|
29
29
|
imTicketLink: {
|
|
30
|
-
color:
|
|
30
|
+
color: "#0a73eb"
|
|
31
|
+
},
|
|
32
|
+
attachmentBubble: {
|
|
33
|
+
bg_color: "#fff",
|
|
34
|
+
border_color: "#ebf0f5"
|
|
35
|
+
},
|
|
36
|
+
imageBubble: {
|
|
37
|
+
bg_color: "#fff"
|
|
38
|
+
},
|
|
39
|
+
locationBubble: {
|
|
40
|
+
bg_color: "#fff"
|
|
41
|
+
},
|
|
42
|
+
articleBubble: {
|
|
43
|
+
bg_color: "#fff"
|
|
31
44
|
}
|
|
32
45
|
}
|
|
33
46
|
};
|
|
@@ -2,4 +2,5 @@ export const incomingBubbleBgColor = '#f1f4f9';
|
|
|
2
2
|
export const bubbleActiveBgColor = '#fdffe3';
|
|
3
3
|
export const actionIconColor = '#000';
|
|
4
4
|
export const messageStatusSendColor = '#61667a';
|
|
5
|
-
export const messageStatusFailedColor = '#de3535';
|
|
5
|
+
export const messageStatusFailedColor = '#de3535';
|
|
6
|
+
export const messagetextColor = "#000";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from "./commonColorVariable.js";
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messagetextColor } from "./commonColorVariable.js";
|
|
3
3
|
import { imIntegrationIcon } from "../commonDeskColorVariable.js";
|
|
4
4
|
export default {
|
|
5
5
|
library: "chat_components",
|
|
@@ -13,7 +13,7 @@ export default {
|
|
|
13
13
|
outgoing_bg_color: "#f2faf5",
|
|
14
14
|
bg_color: "#f1f7fe",
|
|
15
15
|
failed_bg_color: "#fcebeb",
|
|
16
|
-
text_color:
|
|
16
|
+
text_color: messagetextColor
|
|
17
17
|
},
|
|
18
18
|
actionIcon: {
|
|
19
19
|
color: actionIconColor,
|
|
@@ -25,6 +25,13 @@ export default {
|
|
|
25
25
|
send_color: messageStatusSendColor,
|
|
26
26
|
read_color: "#26a942",
|
|
27
27
|
failed_color: messageStatusFailedColor
|
|
28
|
+
},
|
|
29
|
+
attachmentBubble: {
|
|
30
|
+
bg_color: "#fff",
|
|
31
|
+
border_color: "#ebf0f5"
|
|
32
|
+
},
|
|
33
|
+
imTicketLink: {
|
|
34
|
+
color: "#26a942"
|
|
28
35
|
}
|
|
29
36
|
}
|
|
30
37
|
};
|
|
@@ -1,29 +1,36 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messagetextColor } from "./commonColorVariable.js";
|
|
3
3
|
import { imIntegrationIcon } from "../commonDeskColorVariable.js";
|
|
4
4
|
export default {
|
|
5
|
-
library:
|
|
5
|
+
library: "chat_components",
|
|
6
6
|
variables: {
|
|
7
7
|
messageBubble: {
|
|
8
8
|
active_bg_color: bubbleActiveBgColor,
|
|
9
|
-
messageBox_footer_text_color:
|
|
9
|
+
messageBox_footer_text_color: "#5a616f"
|
|
10
10
|
},
|
|
11
11
|
messageBox: {
|
|
12
12
|
incoming_bg_color: incomingBubbleBgColor,
|
|
13
|
-
outgoing_bg_color:
|
|
14
|
-
bg_color:
|
|
15
|
-
failed_bg_color:
|
|
16
|
-
text_color:
|
|
13
|
+
outgoing_bg_color: "#fdf5ef",
|
|
14
|
+
bg_color: "#f1f7fe",
|
|
15
|
+
failed_bg_color: "#fcebeb",
|
|
16
|
+
text_color: messagetextColor
|
|
17
17
|
},
|
|
18
18
|
actionIcon: {
|
|
19
19
|
color: actionIconColor,
|
|
20
|
-
bg_color:
|
|
21
|
-
border_color:
|
|
20
|
+
bg_color: "#fdf5ef",
|
|
21
|
+
border_color: "#f7d6b9"
|
|
22
22
|
},
|
|
23
23
|
messageStatus: {
|
|
24
24
|
send_color: messageStatusSendColor,
|
|
25
|
-
read_color:
|
|
25
|
+
read_color: "#e57717",
|
|
26
26
|
failed_color: messageStatusFailedColor
|
|
27
|
+
},
|
|
28
|
+
attachmentBubble: {
|
|
29
|
+
bg_color: "#fff",
|
|
30
|
+
border_color: "#ebf0f5"
|
|
31
|
+
},
|
|
32
|
+
imTicketLink: {
|
|
33
|
+
color: "#e57717"
|
|
27
34
|
}
|
|
28
35
|
}
|
|
29
36
|
};
|
|
@@ -1,29 +1,36 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messagetextColor } from "./commonColorVariable.js";
|
|
3
3
|
import { imIntegrationIcon } from "../commonDeskColorVariable.js";
|
|
4
4
|
export default {
|
|
5
|
-
library:
|
|
5
|
+
library: "chat_components",
|
|
6
6
|
variables: {
|
|
7
7
|
messageBubble: {
|
|
8
8
|
active_bg_color: bubbleActiveBgColor,
|
|
9
|
-
messageBox_footer_text_color:
|
|
9
|
+
messageBox_footer_text_color: "#5a616f"
|
|
10
10
|
},
|
|
11
11
|
messageBox: {
|
|
12
12
|
incoming_bg_color: incomingBubbleBgColor,
|
|
13
|
-
outgoing_bg_color:
|
|
14
|
-
bg_color:
|
|
15
|
-
failed_bg_color:
|
|
16
|
-
text_color:
|
|
13
|
+
outgoing_bg_color: "#fdf3f3",
|
|
14
|
+
bg_color: "#f1f7fe",
|
|
15
|
+
failed_bg_color: "#fcebeb",
|
|
16
|
+
text_color: messagetextColor
|
|
17
17
|
},
|
|
18
18
|
actionIcon: {
|
|
19
19
|
color: actionIconColor,
|
|
20
|
-
bg_color:
|
|
21
|
-
border_color:
|
|
20
|
+
bg_color: "#fdf3f3",
|
|
21
|
+
border_color: "#f8d7d7"
|
|
22
22
|
},
|
|
23
23
|
messageStatus: {
|
|
24
24
|
send_color: messageStatusSendColor,
|
|
25
|
-
read_color:
|
|
25
|
+
read_color: "#de3535",
|
|
26
26
|
failed_color: messageStatusFailedColor
|
|
27
|
+
},
|
|
28
|
+
attachmentBubble: {
|
|
29
|
+
bg_color: "#fff",
|
|
30
|
+
border_color: "#ebf0f5"
|
|
31
|
+
},
|
|
32
|
+
imTicketLink: {
|
|
33
|
+
color: "#de3535"
|
|
27
34
|
}
|
|
28
35
|
}
|
|
29
36
|
};
|