@zohoim/chat-components 0.0.11 → 0.0.13

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.
Files changed (210) hide show
  1. package/es/ActionIcon/ActionIcon.js +2 -2
  2. package/es/ArticleBubble/ArticleBubble.js +17 -15
  3. package/es/ArticleBubble/css/ArticleBubble.module.css +37 -29
  4. package/es/AttachmentBubble/AttachmentBubble.js +14 -12
  5. package/es/AttachmentBubble/css/AttachmentBubble.module.css +4 -4
  6. package/es/AttachmentBubble/css/cssJSLogic.js +1 -1
  7. package/es/AttachmentBubbleInfo/AttachmentBubbleInfo.js +0 -1
  8. package/es/AttachmentBubbleInfo/css/AttachmentBubbleInfo.module.css +1 -0
  9. package/es/AttachmentBubbleInfo/css/cssJSLogic.js +1 -1
  10. package/es/Audio/Audio.js +23 -23
  11. package/es/AudioBubble/AudioBubble.js +2 -3
  12. package/es/AudioBubble/css/cssJSLogic.js +2 -2
  13. package/es/ImageBubble/ImageBubble.js +7 -6
  14. package/es/InfoBubble/InfoBubble.js +0 -1
  15. package/es/LazyLoadImage/LazyLoadImage.js +5 -6
  16. package/es/LocationBubble/LocationBubble.js +20 -21
  17. package/es/LocationBubble/css/LocationBubble.module.css +9 -7
  18. package/es/MediaControls/MediaControls.js +0 -1
  19. package/es/Message/Message.js +58 -93
  20. package/es/Message/props/defaultProps.js +2 -34
  21. package/es/Message/props/propTypes.js +19 -57
  22. package/es/MessageAction/MessageAction.js +5 -5
  23. package/es/MessageActions/MessageActions.js +120 -45
  24. package/es/MessageActions/css/MessageActions.module.css +30 -2
  25. package/es/MessageActions/css/cssJSLogic.js +13 -3
  26. package/es/MessageActions/props/defaultProps.js +5 -3
  27. package/es/MessageActions/props/propTypes.js +22 -4
  28. package/es/MessageActionsMore/MessageActionsMore.js +5 -5
  29. package/es/MessageActionsWrapper/MessageActionsWrapper.js +75 -0
  30. package/es/MessageActionsWrapper/css/MessageActionsWrapper.module.css +3 -0
  31. package/es/MessageActionsWrapper/css/cssJSLogic.js +10 -0
  32. package/es/MessageActionsWrapper/index.js +1 -0
  33. package/es/MessageActionsWrapper/props/defaultProps.js +10 -0
  34. package/es/MessageActionsWrapper/props/propTypes.js +12 -0
  35. package/es/MessageAvatar/MessageAvatar.js +7 -6
  36. package/es/MessageAvatar/props/defaultProps.js +3 -3
  37. package/es/MessageBubble/MessageBubble.js +1 -1
  38. package/es/MessageBubble/props/defaultProps.js +2 -2
  39. package/es/MessageBubble/props/propConstants.js +1 -1
  40. package/es/MessageBubble/props/propTypes.js +2 -2
  41. package/es/{im/IMMessageStatus/IMMessageStatus.js → MessageStatus/MessageStatus.js} +18 -15
  42. package/es/{im/IMMessageStatus → MessageStatus}/css/cssJSLogic.js +3 -3
  43. package/es/MessageStatus/index.js +1 -0
  44. package/es/{im/IMMessageStatus → MessageStatus}/props/defaultProps.js +2 -2
  45. package/es/{im/IMMessageStatus → MessageStatus}/props/propTypes.js +4 -3
  46. package/es/MoreActionItem/MoreActionItem.js +7 -7
  47. package/es/MoreActionItem/css/cssJSLogic.js +1 -1
  48. package/es/ReplyBubble/ReplyBubble.js +4 -3
  49. package/es/ReplyBubbleContent/ReplyBubbleContent.js +16 -12
  50. package/es/ReplyBubbleContent/css/ReplyBubbleContent.module.css +26 -16
  51. package/es/ReplyBubbleHeader/ReplyBubbleHeader.js +11 -9
  52. package/es/ReplyBubbleHeader/css/ReplyBubbleHeader.module.css +15 -4
  53. package/es/ReplyBubbleHeader/css/cssJSLogic.js +9 -1
  54. package/es/ReplyBubbleHeader/props/defaultProps.js +1 -2
  55. package/es/ReplyBubbleHeader/props/propTypes.js +1 -2
  56. package/es/TextBubble/TextBubble.js +8 -9
  57. package/es/TextBubble/css/TextBubble.module.css +11 -2
  58. package/es/Theme/ThemeWrapper.js +32 -29
  59. package/es/Theme/crm/dark/blueFanTheme.js +1 -1
  60. package/es/Theme/crm/dark/blueTheme.js +1 -1
  61. package/es/Theme/crm/dark/darkBlueTheme.js +1 -1
  62. package/es/Theme/crm/dark/darkGreyTheme.js +1 -1
  63. package/es/Theme/crm/dark/greenTheme.js +1 -1
  64. package/es/Theme/crm/dark/orangeTheme.js +1 -1
  65. package/es/Theme/crm/dark/pinkTheme.js +1 -1
  66. package/es/Theme/crm/dark/tealTheme.js +1 -1
  67. package/es/Theme/crm/dark/whiteTheme.js +1 -1
  68. package/es/Theme/crm/light/blueFanTheme.js +1 -1
  69. package/es/Theme/crm/light/blueTheme.js +1 -1
  70. package/es/Theme/crm/light/darkBlueTheme.js +1 -1
  71. package/es/Theme/crm/light/darkGreyTheme.js +1 -1
  72. package/es/Theme/crm/light/greenTheme.js +1 -1
  73. package/es/Theme/crm/light/orangeTheme.js +1 -1
  74. package/es/Theme/crm/light/pinkTheme.js +1 -1
  75. package/es/Theme/crm/light/tealTheme.js +1 -1
  76. package/es/Theme/crm/light/whiteTheme.js +1 -1
  77. package/es/Theme/crm/pureDark/blueFanTheme.js +1 -1
  78. package/es/Theme/crm/pureDark/blueTheme.js +1 -1
  79. package/es/Theme/crm/pureDark/darkBlueTheme.js +1 -1
  80. package/es/Theme/crm/pureDark/darkGreyTheme.js +1 -1
  81. package/es/Theme/crm/pureDark/greenTheme.js +1 -1
  82. package/es/Theme/crm/pureDark/orangeTheme.js +1 -1
  83. package/es/Theme/crm/pureDark/pinkTheme.js +1 -1
  84. package/es/Theme/crm/pureDark/tealTheme.js +1 -1
  85. package/es/Theme/crm/pureDark/whiteTheme.js +1 -1
  86. package/es/Theme/desk/commonDeskColorVariable.js +10 -10
  87. package/es/Theme/desk/dark/blueTheme.js +42 -16
  88. package/es/Theme/desk/dark/commonColorVariable.js +10 -5
  89. package/es/Theme/desk/dark/greenTheme.js +41 -15
  90. package/es/Theme/desk/dark/orangeTheme.js +34 -8
  91. package/es/Theme/desk/dark/redTheme.js +50 -15
  92. package/es/Theme/desk/dark/yellowTheme.js +41 -15
  93. package/es/Theme/desk/light/blueTheme.js +35 -18
  94. package/es/Theme/desk/light/commonColorVariable.js +7 -1
  95. package/es/Theme/desk/light/greenTheme.js +39 -13
  96. package/es/Theme/desk/light/orangeTheme.js +38 -13
  97. package/es/Theme/desk/light/redTheme.js +38 -13
  98. package/es/Theme/desk/light/yellowTheme.js +39 -13
  99. package/es/Theme/desk/pureDark/blueTheme.js +41 -14
  100. package/es/Theme/desk/pureDark/commonColorVariable.js +6 -1
  101. package/es/Theme/desk/pureDark/greenTheme.js +40 -14
  102. package/es/Theme/desk/pureDark/orangeTheme.js +40 -14
  103. package/es/Theme/desk/pureDark/redTheme.js +40 -14
  104. package/es/Theme/desk/pureDark/yellowTheme.js +40 -14
  105. package/es/Theme/utils/getThemeConfigurations.js +5 -5
  106. package/es/Video/Video.js +13 -12
  107. package/es/VideoBubble/VideoBubble.js +2 -3
  108. package/es/icons/create-icon-components.js +1 -0
  109. package/es/icons/icon.template.js +2 -2
  110. package/es/icons/iconSrc/actions/ConvertTicket.js +1 -0
  111. package/es/icons/iconSrc/actions/index.js +1 -1
  112. package/es/icons/iconSrc/attachments/Audio.js +1 -0
  113. package/es/icons/iconSrc/attachments/Code.js +1 -0
  114. package/es/icons/iconSrc/attachments/Image.js +1 -0
  115. package/es/icons/iconSrc/attachments/Pdf.js +1 -0
  116. package/es/icons/iconSrc/attachments/Txt.js +1 -0
  117. package/es/icons/iconSrc/attachments/Unknown.js +1 -0
  118. package/es/icons/iconSrc/attachments/Video.js +1 -0
  119. package/es/icons/iconSrc/attachments/Zip.js +1 -0
  120. package/es/icons/iconSrc/attachments/index.js +8 -8
  121. package/es/icons/iconSrc/common/Article.js +1 -0
  122. package/es/icons/iconSrc/common/Quote.js +1 -0
  123. package/es/icons/iconSrc/common/index.js +2 -2
  124. package/es/icons/iconSrc/integrations/ChInstagram.js +1 -0
  125. package/es/icons/iconSrc/integrations/ChWhatsApp.js +1 -0
  126. package/es/icons/iconSrc/integrations/TtASAP.js +1 -0
  127. package/es/icons/iconSrc/integrations/TtTelegram.js +1 -0
  128. package/es/icons/iconSrc/integrations/TtTwillio.js +1 -0
  129. package/es/icons/iconSrc/integrations/TtTwitter.js +1 -0
  130. package/es/icons/iconSrc/integrations/TtWechat.js +1 -0
  131. package/es/icons/iconSrc/integrations/index.js +7 -7
  132. package/es/icons/iconSrc/messageStatus/Clock.js +1 -0
  133. package/es/icons/iconSrc/messageStatus/DoubleTick.js +1 -0
  134. package/es/icons/iconSrc/messageStatus/Failed.js +1 -0
  135. package/es/icons/iconSrc/messageStatus/Tick.js +1 -0
  136. package/es/icons/iconSrc/messageStatus/index.js +4 -4
  137. package/es/im/IMArticleBubble/IMArticleBubble.js +3 -4
  138. package/es/im/IMAttachmentBubble/IMAttachmentBubble.js +4 -5
  139. package/es/im/IMAttachmentIcon/IMAttachmentIcon.js +8 -9
  140. package/es/im/IMAudioBubble/IMAudioBubble.js +3 -4
  141. package/es/im/IMAudioBubble/css/cssJSLogic.js +2 -2
  142. package/es/im/IMAutoMessageInfo/IMAutoMessageInfo.js +0 -1
  143. package/es/im/IMDateTime/IMDateTime.js +0 -1
  144. package/es/im/IMDateTime/css/IMDateTime.module.css +6 -1
  145. package/es/im/IMImageBubble/IMImageBubble.js +6 -5
  146. package/es/im/IMInfoBubble/IMInfoBubble.js +0 -1
  147. package/es/im/IMLocationBubble/IMLocationBubble.js +6 -5
  148. package/es/im/IMMessage/IMMessage.js +57 -103
  149. package/es/im/IMMessage/props/defaultProps.js +1 -19
  150. package/es/im/IMMessage/props/propTypes.js +17 -30
  151. package/es/im/IMMessageAvatar/IMMessageAvatar.js +7 -7
  152. package/es/im/IMMessageAvatar/props/defaultProps.js +4 -4
  153. package/es/im/IMMessageAvatar/props/propTypes.js +25 -0
  154. package/es/im/IMMessageContent/IMMessageContent.js +44 -28
  155. package/es/im/IMMessageContent/css/IMMessageContent.module.css +3 -0
  156. package/es/im/IMMessageMeta/IMMessageMeta.js +3 -4
  157. package/es/im/IMReplyBubble/IMReplyBubble.js +9 -10
  158. package/es/im/IMReplyBubble/css/IMReplyBubble.module.css +7 -13
  159. package/es/im/IMTextBubble/IMTextBubble.js +3 -4
  160. package/es/im/IMTicketLink/IMTicketLink.js +1 -3
  161. package/es/im/IMVideoBubble/IMVideoBubble.js +3 -4
  162. package/es/im/index.js +0 -2
  163. package/es/index.js +28 -30
  164. package/es/{MessageWrapper → unused/MessageWrapper}/MessageWrapper.js +0 -1
  165. package/es/{TextMessage → unused/TextMessage}/DefaultActions.js +4 -4
  166. package/es/{TextMessage → unused/TextMessage}/TextMessage.js +14 -14
  167. package/es/{TextMessage → unused/TextMessage}/TextMessage1.js +18 -21
  168. package/package.json +4 -4
  169. package/es/im/IMMessage/renderChild/renderMessage.js +0 -8
  170. package/es/im/IMMessage/renderChild/renderMessageActions.js +0 -8
  171. package/es/im/IMMessage/renderChild/renderMessageBox.js +0 -15
  172. package/es/im/IMMessage/renderChild/renderMessageBoxFooter.js +0 -8
  173. package/es/im/IMMessage/renderChild/renderMessageFooter.js +0 -8
  174. package/es/im/IMMessage/renderChild/renderMessageHeader.js +0 -8
  175. package/es/im/IMMessage/renderChild/renderMessageOwner.js +0 -8
  176. package/es/im/IMMessage/renderChild/renderMessageStatus.js +0 -8
  177. package/es/im/IMMessageActions/IMMessageActions.js +0 -150
  178. package/es/im/IMMessageActions/css/IMMessageActions.module.css +0 -31
  179. package/es/im/IMMessageActions/css/cssJSLogic.js +0 -20
  180. package/es/im/IMMessageActions/index.js +0 -1
  181. package/es/im/IMMessageActions/props/defaultProps.js +0 -12
  182. package/es/im/IMMessageActions/props/propTypes.js +0 -30
  183. package/es/im/IMMessageStatus/index.js +0 -1
  184. /package/es/{MessageActions → MessageActionsWrapper}/props/propConstants.js +0 -0
  185. /package/es/{im/IMMessageStatus/css/IMMessageStatus.module.css → MessageStatus/css/MessageStatus.module.css} +0 -0
  186. /package/es/{MessageBoxFooter → unused/MessageBoxFooter}/MessageBoxFooter.js +0 -0
  187. /package/es/{MessageBoxFooter → unused/MessageBoxFooter}/css/MessageBoxFooter.module.css +0 -0
  188. /package/es/{MessageBoxFooter → unused/MessageBoxFooter}/css/cssJSLogic.js +0 -0
  189. /package/es/{MessageBoxFooter → unused/MessageBoxFooter}/index.js +0 -0
  190. /package/es/{MessageBoxFooter → unused/MessageBoxFooter}/props/defaultProps.js +0 -0
  191. /package/es/{MessageBoxFooter → unused/MessageBoxFooter}/props/propTypes.js +0 -0
  192. /package/es/{MessageBoxHeader → unused/MessageBoxHeader}/MessageBoxHeader.js +0 -0
  193. /package/es/{MessageBoxHeader → unused/MessageBoxHeader}/css/MessageBoxHeader.module.css +0 -0
  194. /package/es/{MessageBoxHeader → unused/MessageBoxHeader}/css/cssJsLogic.js +0 -0
  195. /package/es/{MessageBoxHeader → unused/MessageBoxHeader}/index.js +0 -0
  196. /package/es/{MessageBoxHeader → unused/MessageBoxHeader}/props/defaultProps.js +0 -0
  197. /package/es/{MessageBoxHeader → unused/MessageBoxHeader}/props/propTypes.js +0 -0
  198. /package/es/{MessageWrapper → unused/MessageWrapper}/css/MessageWrapper.module.css +0 -0
  199. /package/es/{MessageWrapper → unused/MessageWrapper}/css/cssJSLogic.js +0 -0
  200. /package/es/{MessageWrapper → unused/MessageWrapper}/index.js +0 -0
  201. /package/es/{MessageWrapper → unused/MessageWrapper}/props/defaultProps.js +0 -0
  202. /package/es/{MessageWrapper → unused/MessageWrapper}/props/propTypes.js +0 -0
  203. /package/es/{TextMessage → unused/TextMessage}/css/TextMessage.module.css +0 -0
  204. /package/es/{TextMessage → unused/TextMessage}/css/cssJSLogic.js +0 -0
  205. /package/es/{TextMessage → unused/TextMessage}/index.js +0 -0
  206. /package/es/{TextMessage → unused/TextMessage}/props/defaultProps.js +0 -0
  207. /package/es/{TextMessage → unused/TextMessage}/props/propConstants.js +0 -0
  208. /package/es/{TextMessage → unused/TextMessage}/props/propTypes.js +0 -0
  209. /package/es/{Theme → unused}/darkTheme.js +0 -0
  210. /package/es/{Theme → unused}/defaultTheme.js +0 -0
@@ -3,7 +3,6 @@ import { dummyObject } from '@zohoim/chat-components-utils/es/constants';
3
3
  const replyBubbleHeaderDefaultProps = {
4
4
  customStyle: dummyObject,
5
5
  replyText: '',
6
- time: '',
7
- timeCustomStyle: dummyObject
6
+ time: ''
8
7
  };
9
8
  export default replyBubbleHeaderDefaultProps;
@@ -3,7 +3,6 @@ import PropTypes from 'prop-types';
3
3
  const replyBubbleHeaderPropTypes = {
4
4
  customStyle: PropTypes.object,
5
5
  replyText: PropTypes.string,
6
- time: PropTypes.string,
7
- timeCustomStyle: PropTypes.object
6
+ time: PropTypes.string
8
7
  };
9
8
  export default replyBubbleHeaderPropTypes;
@@ -2,22 +2,21 @@
2
2
  /* eslint-disable max-len */
3
3
 
4
4
  /** ** Libraries *** */
5
- import React from "react";
5
+ import React from 'react';
6
6
 
7
7
  /** ** Hooks *** */
8
- import useMergeStyle from "@zohodesk/hooks/es/utils/useMergeStyle";
9
- import useTextBubble from "@zohoim/chat-components-hooks/es/TextBubble/useTextBubble";
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 "./props/defaultProps";
13
- import textBubblePropTypes from "./props/propTypes";
12
+ import textBubbleDefaultProps from './props/defaultProps';
13
+ import textBubblePropTypes from './props/propTypes';
14
14
 
15
15
  /** ** Methods *** */
16
- import renderHandler from "@zohoim/chat-components-utils/es/common/renderHandler";
17
- import cssJSLogic from "./css/cssJSLogic";
16
+ import cssJSLogic from './css/cssJSLogic';
18
17
 
19
18
  /** ** Styles *** */
20
- import style from "./css/TextBubble.module.css";
19
+ import style from './css/TextBubble.module.css';
21
20
  export default function TextBubble(props) {
22
21
  const {
23
22
  customStyle
@@ -53,4 +52,4 @@ export default function TextBubble(props) {
53
52
  }
54
53
  TextBubble.propTypes = textBubblePropTypes;
55
54
  TextBubble.defaultProps = textBubbleDefaultProps;
56
- TextBubble.displayName = "TextBubble";
55
+ TextBubble.displayName = 'TextBubble';
@@ -1,5 +1,14 @@
1
1
  .moreText {
2
2
  text-transform: uppercase;
3
- color: #0a73eb;
4
- font-size: 11px;
3
+ font-size: var(--imlib_size_11);
4
+ color: var(--imlib_chat_components_textBubble_see_more_color);
5
+ cursor: pointer;
5
6
  }
7
+
8
+ .textBubble a{
9
+ color:var(--imlib_chat_components_textBubble_url_color);
10
+ }
11
+
12
+ .textBubble a:hover{
13
+ text-decoration: underline;
14
+ }
@@ -1,25 +1,27 @@
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 "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";
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
+
11
+ // import chatDefaultTheme from './defaultTheme';
12
+ // import chatDarkTheme from './darkTheme';
13
+ import { MSG_ACTION_POPUP_PORTAL } from '../constants';
14
+ import { baseUnitLimit } from './constants';
15
+ import DeskAssets from './DeskAssets';
16
+ import TooltipWrapper from './ToolttipWrapper';
17
+ import { Container } from '@zohodesk/components/es/Layout';
18
+ import themeWrapperPropTypes from './props/propTypes';
19
+ import themeWrapperDefaultProps from './props/defaultProps';
20
+ import getThemeConfigurations from './utils/getThemeConfigurations';
21
+ import { I18NProvider } from '@zohodesk/i18n';
22
+ // import datetime from '@zohodesk/datetimejs';
23
+
24
+ import '../Fonts/puviFont.module.css';
23
25
  export default function ThemeWrapper(props) {
24
26
  const {
25
27
  children,
@@ -43,7 +45,7 @@ export default function ThemeWrapper(props) {
43
45
  mode,
44
46
  theme
45
47
  });
46
- const configurations = propThemeConfigurations ? propThemeConfigurations : themeConfigurations;
48
+ const configurations = propThemeConfigurations || themeConfigurations;
47
49
  function getContainerRef() {
48
50
  return containerRef.current;
49
51
  }
@@ -55,33 +57,34 @@ export default function ThemeWrapper(props) {
55
57
  id: "chat-components"
56
58
  }, wrapperDivProps, {
57
59
  style: {
58
- width: "100%",
59
- height: "100%"
60
+ width: '100%',
61
+ height: '100%'
60
62
  }
61
63
  }), /*#__PURE__*/React.createElement(I18NProvider
62
64
  // i18n={i18n}
63
65
  , {
64
- timeZone: "Asia/Kolkata",
65
66
  datePattern: "DD/MM/YYYY",
66
67
  isEnabledCurrentYear: true,
67
- timeFormat: "hh:mm"
68
+ timeFormat: "hh:mm",
69
+ timeZone: "Asia/Kolkata"
68
70
  // tzdata should already have been fetched and set as default
69
71
  // tzData={datetime.tz.data()}
70
72
  }, /*#__PURE__*/React.createElement(ThemeProvider, {
71
- selector: "#chat-components",
72
- prefix: "--imlib_",
73
73
  configuration: [sizeVariable(baseUnitLimit.size), fontSizeVariable(baseUnitLimit.fontSize), fontVariable, transitionVariable(baseUnitLimit.transition), motionTransitionVariable(baseUnitLimit.motionTransition), configurations
74
74
  // themeConfigration
75
75
  // chatDarkTheme
76
- ]
76
+ ],
77
+
78
+ prefix: "--imlib_",
79
+ selector: "#chat-components"
77
80
  }, /*#__PURE__*/React.createElement(Container, {
78
81
  eleRef: containerRef
79
82
  }, children), /*#__PURE__*/React.createElement("div", {
80
83
  "data-portal": MSG_ACTION_POPUP_PORTAL
81
84
  }), needDeskAssets ? /*#__PURE__*/React.createElement(DeskAssets, null) : null, needTooltip ? /*#__PURE__*/React.createElement(TooltipWrapper, {
82
85
  containerRef: containerRef.current,
83
- getContainerRef: getContainerRef,
84
- customStyle: tooltipCustomStyle
86
+ customStyle: tooltipCustomStyle,
87
+ getContainerRef: getContainerRef
85
88
  }) : null)));
86
89
  }
87
90
  ThemeWrapper.propTypes = themeWrapperPropTypes;
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable.js';
2
+ import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable.js';
2
+ import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable.js';
2
+ import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable.js';
2
+ import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor2, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable.js';
2
+ import { incomingBubbleBgColor, outgoingBubbleBgColor2, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable.js';
2
+ import { incomingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable.js';
2
+ import { incomingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor2, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable.js';
2
+ import { incomingBubbleBgColor, outgoingBubbleBgColor2, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable.js';
2
+ import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable.js';
2
+ import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -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 } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable.js';
2
+ import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable.js';
2
+ import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -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 } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -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 } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -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 } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -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 } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable.js';
2
+ import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable.js';
2
+ import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable.js';
2
+ import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable.js';
2
+ import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable.js';
2
+ import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable.js';
2
+ import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable.js';
2
+ import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable.js';
2
+ import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable.js';
2
+ import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable.js';
2
+ import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconBgColor, actionIconBorderColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
3
3
  export default {
4
4
  library: 'chat_components',
5
5
  variables: {
@@ -1,14 +1,14 @@
1
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"
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'
11
11
  // twitter_color: 'red'
12
12
  };
13
13
 
14
- export const messagetextColor = "#e2e4e6";
14
+ export const messagetextColor = '#e2e4e6';
@@ -1,42 +1,68 @@
1
1
  /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from "./commonColorVariable.js";
3
- import { imIntegrationIcon, messagetextColor } from "../commonDeskColorVariable.js";
2
+ import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, primaryBlue } from './commonColorVariable';
3
+ import { imIntegrationIcon, messagetextColor } from '../commonDeskColorVariable';
4
4
  export default {
5
- library: "chat_components",
5
+ library: 'chat_components',
6
6
  variables: {
7
7
  messageBubble: {
8
8
  active_bg_color: bubbleActiveBgColor,
9
- messageBox_footer_text_color: "#5a616f"
9
+ messageBox_footer_text_color: '#5a616f'
10
10
  },
11
11
  messageBox: {
12
12
  incoming_bg_color: incomingBubbleBgColor,
13
- outgoing_bg_color: "#2c3b4d",
14
- bg_color: "#f1f7fe",
15
- failed_bg_color: "#fcebeb",
13
+ outgoing_bg_color: '#2c3b4d',
14
+ bg_color: '#f1f7fe',
15
+ failed_bg_color: '#362734',
16
16
  text_color: messagetextColor,
17
- failed_text_color: "#000"
17
+ failed_text_color: '#000'
18
18
  },
19
19
  actionIcon: {
20
20
  color: actionIconColor,
21
- bg_color: "#2c3b4d",
22
- border_color: "#3f536b"
21
+ bg_color: '#2c3b4d',
22
+ border_color: '#3f536b'
23
23
  },
24
24
  imIntegrationIcon,
25
25
  messageStatus: {
26
26
  send_color: messageStatusSendColor,
27
- read_color: "#479dff",
27
+ read_color: '#479dff',
28
28
  failed_color: messageStatusFailedColor
29
29
  },
30
30
  attachmentBubbleInfo: {
31
- fileName_color: "#e2e4e6",
32
- fileSize_color: "#788190"
31
+ fileName_color: '#e2e4e6',
32
+ fileSize_color: '#788190'
33
33
  },
34
34
  attachmentBubble: {
35
- bg_color: "#232b38",
36
- border_color: "#2d3748"
35
+ bg_color: '#232b38',
36
+ border_color: '#2d3748'
37
37
  },
38
38
  imTicketLink: {
39
- color: "#479dff"
39
+ color: '#479dff'
40
+ },
41
+ ReplyBubbleContent: {
42
+ bg_color: '#232b38',
43
+ color: '#e2e4e6',
44
+ border_color: '#2d3748',
45
+ line_color: '#cddbf2'
46
+ },
47
+ imageBubble: {
48
+ bg_color: '#232b38'
49
+ },
50
+ locationBubble: {
51
+ bg_color: '#232b38',
52
+ color: primaryBlue,
53
+ border_color: '#2d3748'
54
+ },
55
+ articleBubble: {
56
+ bg_color: '#232b38',
57
+ color: '#e2e4e6',
58
+ border_color: '#2d3748'
59
+ },
60
+ iMDateTime: {
61
+ color: '#a8b0bd'
62
+ },
63
+ textBubble: {
64
+ see_more_color: primaryBlue,
65
+ url_color: primaryBlue
40
66
  }
41
67
  }
42
68
  };
@@ -1,5 +1,10 @@
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
+ export const incomingBubbleBgColor = '#232b38';
2
+ export const bubbleActiveBgColor = '#1b2e33';
3
+ export const actionIconColor = '#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';
@@ -1,41 +1,67 @@
1
1
  /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor } from "./commonColorVariable.js";
3
- import { imIntegrationIcon, messagetextColor } from "../commonDeskColorVariable.js";
2
+ import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconColor, messageStatusSendColor, messageStatusFailedColor, primaryGreen } from './commonColorVariable';
3
+ import { imIntegrationIcon, messagetextColor } from '../commonDeskColorVariable';
4
4
  export default {
5
- library: "chat_components",
5
+ library: 'chat_components',
6
6
  variables: {
7
7
  messageBubble: {
8
8
  active_bg_color: bubbleActiveBgColor,
9
- messageBox_footer_text_color: "#5a616f"
9
+ messageBox_footer_text_color: '#5a616f'
10
10
  },
11
11
  messageBox: {
12
12
  incoming_bg_color: incomingBubbleBgColor,
13
- outgoing_bg_color: "#26373b",
14
- bg_color: "#f1f7fe",
15
- failed_bg_color: "#fcebeb",
13
+ outgoing_bg_color: '#26373b',
14
+ bg_color: '#f1f7fe',
15
+ failed_bg_color: '#362734',
16
16
  text_color: messagetextColor
17
17
  },
18
18
  actionIcon: {
19
19
  color: actionIconColor,
20
- bg_color: "#26373b",
21
- border_color: "#2d4e42"
20
+ bg_color: '#26373b',
21
+ border_color: '#2d4e42'
22
22
  },
23
23
  imIntegrationIcon,
24
24
  messageStatus: {
25
25
  send_color: messageStatusSendColor,
26
- read_color: "#45a159",
26
+ read_color: '#45a159',
27
27
  failed_color: messageStatusFailedColor
28
28
  },
29
29
  attachmentBubbleInfo: {
30
- fileName_color: "#e2e4e6",
31
- fileSize_color: "#788190"
30
+ fileName_color: '#e2e4e6',
31
+ fileSize_color: '#788190'
32
32
  },
33
33
  attachmentBubble: {
34
- bg_color: "#232b38",
35
- border_color: "#2d3748"
34
+ bg_color: '#232b38',
35
+ border_color: '#2d3748'
36
36
  },
37
37
  imTicketLink: {
38
- color: "#45a159"
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
+ iMDateTime: {
60
+ color: '#a8b0bd'
61
+ },
62
+ textBubble: {
63
+ see_more_color: primaryGreen,
64
+ url_color: primaryGreen
39
65
  }
40
66
  }
41
67
  };