@zohoim/chat-components 0.0.15 → 0.0.17

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 (144) hide show
  1. package/es/ActionIcon/ActionIcon.js +2 -0
  2. package/es/ActionIconWrapper/ActionIconWrapper.js +6 -2
  3. package/es/ActionIconWrapper/props/propTypes.js +1 -0
  4. package/es/AttachmentBubble/AttachmentBubble.js +24 -8
  5. package/es/AttachmentBubble/css/AttachmentBubble.module.css +15 -1
  6. package/es/AttachmentBubble/css/cssJSLogic.js +15 -0
  7. package/es/AttachmentBubble/props/propTypes.js +2 -1
  8. package/es/AttachmentBubbleInfo/AttachmentBubbleInfo.js +13 -2
  9. package/es/AttachmentBubbleInfo/css/AttachmentBubbleInfo.module.css +9 -0
  10. package/es/AttachmentBubbleInfo/css/cssJSLogic.js +13 -0
  11. package/es/AttachmentBubbleInfo/props/propTypes.js +2 -1
  12. package/es/AttachmentIcon/AttachmentIcon.js +3 -1
  13. package/es/AttachmentIcon/css/AttachmentIcon.module.css +2 -2
  14. package/es/AttachmentIcon/props/propTypes.js +6 -0
  15. package/es/AttachmentIcon/utils/getAttachmentIconComponent.js +4 -3
  16. package/es/AudioBubble/AudioBubble.js +5 -2
  17. package/es/AudioBubble/props/propTypes.js +2 -1
  18. package/es/ImageBubble/ImageBubble.js +13 -2
  19. package/es/ImageBubble/css/ImageBubble.module.css +8 -2
  20. package/es/ImageBubble/css/cssJSLogic.js +13 -0
  21. package/es/ImageBubble/props/propTypes.js +2 -1
  22. package/es/LocationBubble/LocationBubble.js +13 -2
  23. package/es/LocationBubble/css/LocationBubble.module.css +14 -1
  24. package/es/LocationBubble/css/cssJSLogic.js +13 -0
  25. package/es/LocationBubble/props/propTypes.js +2 -1
  26. package/es/MediaBubbleWrapper/MediaBubbleWrapper.js +5 -2
  27. package/es/MediaBubbleWrapper/props/propTypes.js +2 -1
  28. package/es/Message/Message.js +4 -2
  29. package/es/MessageAction/MessageAction.js +3 -0
  30. package/es/MessageAction/props/propTypes.js +1 -0
  31. package/es/MessageActions/MessageActions.js +14 -2
  32. package/es/MessageActions/props/propTypes.js +1 -0
  33. package/es/MessageBox/MessageBox.js +2 -2
  34. package/es/MessageBubble/MessageBubble.js +25 -19
  35. package/es/MessageBubble/css/MessageBubble.module.css +12 -2
  36. package/es/MessageBubble/css/cssJSLogic.js +4 -2
  37. package/es/MessageStatus/css/MessageStatus.module.css +0 -3
  38. package/es/MoreActionItem/MoreActionItem.js +8 -0
  39. package/es/MoreActionItem/props/propTypes.js +1 -0
  40. package/es/ReplyBubble/ReplyBubble.js +32 -13
  41. package/es/ReplyBubble/css/ReplyBubble.module.css +1 -1
  42. package/es/ReplyBubble/props/propTypes.js +8 -2
  43. package/es/ReplyBubbleContent/ReplyBubbleContent.js +11 -2
  44. package/es/ReplyBubbleContent/css/ReplyBubbleContent.module.css +21 -3
  45. package/es/ReplyBubbleContent/css/cssJSLogic.js +13 -0
  46. package/es/ReplyBubbleContent/props/propTypes.js +2 -1
  47. package/es/ReplyBubbleHeader/ReplyBubbleHeader.js +20 -5
  48. package/es/ReplyBubbleHeader/css/ReplyBubbleHeader.module.css +12 -0
  49. package/es/ReplyBubbleHeader/css/cssJSLogic.js +12 -0
  50. package/es/ReplyBubbleHeader/props/defaultProps.js +2 -1
  51. package/es/ReplyBubbleHeader/props/propTypes.js +6 -2
  52. package/es/TextBubble/TextBubble.js +15 -3
  53. package/es/TextBubble/css/TextBubble.module.css +13 -0
  54. package/es/TextBubble/css/cssJSLogic.js +18 -0
  55. package/es/TextBubble/props/propTypes.js +2 -1
  56. package/es/Theme/themeVariables/commonThemeColorVariable.js +1 -2
  57. package/es/Theme/themeVariables/dark/blueTheme.js +97 -40
  58. package/es/Theme/themeVariables/dark/commonColorVariable.js +7 -1
  59. package/es/Theme/themeVariables/dark/greenTheme.js +95 -38
  60. package/es/Theme/themeVariables/dark/orangeTheme.js +94 -37
  61. package/es/Theme/themeVariables/dark/redTheme.js +94 -46
  62. package/es/Theme/themeVariables/dark/yellowTheme.js +94 -37
  63. package/es/Theme/themeVariables/light/blueTheme.js +96 -36
  64. package/es/Theme/themeVariables/light/commonColorVariable.js +12 -1
  65. package/es/Theme/themeVariables/light/greenTheme.js +96 -36
  66. package/es/Theme/themeVariables/light/orangeTheme.js +96 -34
  67. package/es/Theme/themeVariables/light/redTheme.js +96 -34
  68. package/es/Theme/themeVariables/light/yellowTheme.js +96 -36
  69. package/es/Theme/themeVariables/pureDark/blueTheme.js +93 -37
  70. package/es/Theme/themeVariables/pureDark/commonColorVariable.js +7 -1
  71. package/es/Theme/themeVariables/pureDark/greenTheme.js +94 -37
  72. package/es/Theme/themeVariables/pureDark/orangeTheme.js +94 -37
  73. package/es/Theme/themeVariables/pureDark/redTheme.js +94 -37
  74. package/es/Theme/themeVariables/pureDark/yellowTheme.js +94 -37
  75. package/es/VideoBubble/VideoBubble.js +5 -2
  76. package/es/VideoBubble/props/propTypes.js +2 -1
  77. package/es/icons/iconSrc/attachments/Text.js +47 -0
  78. package/es/icons/iconSrc/attachments/index.js +1 -1
  79. package/es/im/ArticleBubble/ArticleBubble.js +16 -3
  80. package/es/im/ArticleBubble/css/ArticleBubble.module.css +25 -7
  81. package/es/im/ArticleBubble/css/cssJSLogic.js +12 -0
  82. package/es/im/ArticleBubble/props/propTypes.js +2 -1
  83. package/es/im/IMAutoMessageInfo/css/IMAutoMessageInfo.module.css +1 -0
  84. package/es/im/IMIntegrationIcon/css/IMIntegrationIcon.module.css +1 -6
  85. package/es/im/IMMessage/IMMessage.js +28 -4
  86. package/es/im/IMMessage/props/propTypes.js +25 -1
  87. package/es/im/IMMessageContent/IMMessageContent.js +39 -42
  88. package/es/im/IMMessageContent/css/IMMessageContent.module.css +6 -2
  89. package/es/im/IMMessageContent/props/propTypes.js +7 -2
  90. package/es/im/IMMessageMeta/IMMessageMeta.js +8 -8
  91. package/es/im/IMMessageMeta/css/IMMessageMeta.module.css +1 -1
  92. package/es/im/IMMessageMeta/props/defaultProps.js +1 -1
  93. package/es/im/IMPermaLink/css/IMPermaLink.module.css +1 -1
  94. package/es/im/IMReplyBubble/IMReplyBubble.js +10 -5
  95. package/es/im/IMReplyBubble/props/propTypes.js +7 -2
  96. package/es/im/IMTextBubble/IMTextBubble.js +5 -2
  97. package/es/im/IMTextBubble/props/propTypes.js +2 -1
  98. package/es/im/css/common.module.css +2 -2
  99. package/es/im/index.js +0 -1
  100. package/es/index.js +0 -1
  101. package/package.json +4 -21
  102. package/es/InfoBubble/InfoBubble.js +0 -34
  103. package/es/InfoBubble/css/InfoBubble.module.css +0 -0
  104. package/es/InfoBubble/css/cssJSLogic.js +0 -10
  105. package/es/InfoBubble/index.js +0 -1
  106. package/es/InfoBubble/props/defaultProps.js +0 -6
  107. package/es/InfoBubble/props/propTypes.js +0 -6
  108. package/es/Theme/crm/dark/blueFanTheme.js +0 -28
  109. package/es/Theme/crm/dark/blueTheme.js +0 -28
  110. package/es/Theme/crm/dark/commonColorVariable.js +0 -11
  111. package/es/Theme/crm/dark/darkBlueTheme.js +0 -28
  112. package/es/Theme/crm/dark/darkGreyTheme.js +0 -28
  113. package/es/Theme/crm/dark/greenTheme.js +0 -28
  114. package/es/Theme/crm/dark/orangeTheme.js +0 -28
  115. package/es/Theme/crm/dark/pinkTheme.js +0 -28
  116. package/es/Theme/crm/dark/tealTheme.js +0 -28
  117. package/es/Theme/crm/dark/whiteTheme.js +0 -28
  118. package/es/Theme/crm/light/blueFanTheme.js +0 -28
  119. package/es/Theme/crm/light/blueTheme.js +0 -31
  120. package/es/Theme/crm/light/commonColorVariable.js +0 -9
  121. package/es/Theme/crm/light/darkBlueTheme.js +0 -28
  122. package/es/Theme/crm/light/darkGreyTheme.js +0 -28
  123. package/es/Theme/crm/light/greenTheme.js +0 -28
  124. package/es/Theme/crm/light/orangeTheme.js +0 -28
  125. package/es/Theme/crm/light/pinkTheme.js +0 -28
  126. package/es/Theme/crm/light/tealTheme.js +0 -28
  127. package/es/Theme/crm/light/whiteTheme.js +0 -28
  128. package/es/Theme/crm/pureDark/blueFanTheme.js +0 -28
  129. package/es/Theme/crm/pureDark/blueTheme.js +0 -28
  130. package/es/Theme/crm/pureDark/commonColorVariable.js +0 -9
  131. package/es/Theme/crm/pureDark/darkBlueTheme.js +0 -28
  132. package/es/Theme/crm/pureDark/darkGreyTheme.js +0 -28
  133. package/es/Theme/crm/pureDark/greenTheme.js +0 -28
  134. package/es/Theme/crm/pureDark/orangeTheme.js +0 -28
  135. package/es/Theme/crm/pureDark/pinkTheme.js +0 -28
  136. package/es/Theme/crm/pureDark/tealTheme.js +0 -28
  137. package/es/Theme/crm/pureDark/whiteTheme.js +0 -28
  138. package/es/im/IMInfoBubble/IMInfoBubble.js +0 -34
  139. package/es/im/IMInfoBubble/css/IMInfoBubble.module.css +0 -0
  140. package/es/im/IMInfoBubble/css/cssJSLogic.js +0 -10
  141. package/es/im/IMInfoBubble/index.js +0 -1
  142. package/es/im/IMInfoBubble/props/defaultProps.js +0 -6
  143. package/es/im/IMInfoBubble/props/propTypes.js +0 -6
  144. /package/es/icons/factory/attachments/{txt.svg → text.svg} +0 -0
@@ -16,7 +16,8 @@ import useIMTextBubble from '@zohoim/chat-components-hooks/es/im/IMTextBubble/us
16
16
  export default function IMTextBubble(props) {
17
17
  const {
18
18
  moreText,
19
- customProps
19
+ customProps,
20
+ isFailed
20
21
  } = props;
21
22
  const {
22
23
  textBubbleProps = dummyObject
@@ -30,7 +31,9 @@ export default function IMTextBubble(props) {
30
31
  message: sanitizedDisplayMessage,
31
32
  moreText: isShowSeeMore ? moreText : '',
32
33
  onClickMore: onLoadFullMessage
33
- }, textBubbleProps));
34
+ }, textBubbleProps, {
35
+ isFailed: isFailed
36
+ }));
34
37
  }
35
38
  IMTextBubble.propTypes = imTextBubblePropTypes;
36
39
  IMTextBubble.defaultProps = imTextBubbleDefaultProps;
@@ -24,6 +24,7 @@ const imTextBubblePropTypes = {
24
24
  onLoadFullMessage: PropTypes.func,
25
25
  sessionDetails: PropTypes.shape({
26
26
  id: PropTypes.string
27
- })
27
+ }),
28
+ isFailed: PropTypes.bool
28
29
  };
29
30
  export default imTextBubblePropTypes;
@@ -1,6 +1,6 @@
1
1
  .dotted {
2
- overflow: hidden;
2
+ /* overflow: hidden;
3
3
  white-space: nowrap;
4
4
  word-wrap: normal;
5
- text-overflow: ellipsis;
5
+ text-overflow: ellipsis; */
6
6
  }
package/es/im/index.js CHANGED
@@ -5,6 +5,5 @@ export * from './IMMessageMeta';
5
5
  export * from './IMAutoMessageInfo';
6
6
  export * from './IMMessageContent';
7
7
  export * from './IMTextBubble';
8
- export * from './IMInfoBubble';
9
8
  export * from './IMReplyBubble';
10
9
  export * from './ArticleBubble';
package/es/index.js CHANGED
@@ -17,7 +17,6 @@ export * from './VideoBubble';
17
17
  export * from './ImageBubble';
18
18
  export * from './TextBubble';
19
19
  export * from './LocationBubble';
20
- export * from './InfoBubble';
21
20
  export * from './AttachmentBubbleInfo';
22
21
  export * from './Audio';
23
22
  export * from './Video';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohoim/chat-components",
3
- "version": "0.0.15",
3
+ "version": "0.0.17",
4
4
  "description": "Chat Components",
5
5
  "main": "es/index.js",
6
6
  "module": "es/index.js",
@@ -35,8 +35,8 @@
35
35
  "@zohodesk/utils": "1.3.9",
36
36
  "@zohodesk/variables": "1.0.0-beta.30",
37
37
  "@zohodesk/virtualizer": "1.0.13",
38
- "@zohoim/chat-components-hooks": "^0.0.13",
39
- "@zohoim/chat-components-utils": "^0.0.12"
38
+ "@zohoim/chat-components-hooks": "^0.0.15",
39
+ "@zohoim/chat-components-utils": "^0.0.14"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@zohodesk-private/css-variable-migrator": "1.0.1",
@@ -44,22 +44,5 @@
44
44
  "jsdom": "22.1.0",
45
45
  "react-to-jsx": "1.3.2"
46
46
  },
47
- "react-cli": {
48
- "css": {
49
- "plugins": {
50
- "hasRTL": true,
51
- "cssVariableReplacement": true
52
- },
53
- "patterns": {
54
- "cssVariableReplacement": [
55
- "**/src/**",
56
- "**/lib/**",
57
- "**/es/**",
58
- "!**/node_modules/**"
59
- ]
60
- },
61
- "cssVariableReplacementConfig": "../../node_modules/@zohodesk-private/css-variable-migrator/es/config/cssVariableReplacementOptions.json"
62
- }
63
- },
64
- "gitHead": "0b3fa05803c74cad58e84613fc54c979493192c0"
47
+ "gitHead": "bb60818da98f0ee842e489c6bfb3a83a22a7485b"
65
48
  }
@@ -1,34 +0,0 @@
1
- /** ** Libraries *** */
2
- import React from 'react';
3
- /** ** Hooks *** */
4
-
5
- import useMergeStyle from '@zohodesk/hooks/es/utils/useMergeStyle';
6
- /** ** Constants *** */
7
-
8
- import infoBubbleDefaultProps from './props/defaultProps';
9
- import infoBubblePropTypes from './props/propTypes';
10
- /** ** Methods *** */
11
-
12
- import cssJSLogic from './css/cssJSLogic';
13
- /** ** Styles *** */
14
-
15
- import style from './css/InfoBubble.module.css';
16
- export default function InfoBubble(props) {
17
- const {
18
- customStyle
19
- } = props;
20
- /* External CSS Customization */
21
-
22
- const newStyle = useMergeStyle(style, customStyle);
23
- /* CSS classnames added based on logic */
24
-
25
- const {
26
- infoBubbleClass
27
- } = cssJSLogic(props, newStyle);
28
- return /*#__PURE__*/React.createElement("div", {
29
- className: infoBubbleClass
30
- }, "Working On this...");
31
- }
32
- InfoBubble.propTypes = infoBubblePropTypes;
33
- InfoBubble.defaultProps = infoBubbleDefaultProps;
34
- InfoBubble.displayName = 'InfoBubble';
File without changes
@@ -1,10 +0,0 @@
1
- /** ** Methods *** */
2
- import { compileClassNames } from '@zohodesk/utils';
3
- export default function cssJSLogic(props, style) {
4
- const infoBubbleClass = compileClassNames({
5
- [style.infoBubble]: true
6
- });
7
- return {
8
- infoBubbleClass
9
- };
10
- }
@@ -1 +0,0 @@
1
- export { default as InfoBubble } from './InfoBubble';
@@ -1,6 +0,0 @@
1
- /** ** Constants *** */
2
- import { dummyObject } from '@zohoim/chat-components-utils/es/constants/emptyConstants';
3
- const infoBubbleDefaultProps = {
4
- customStyle: dummyObject
5
- };
6
- export default infoBubbleDefaultProps;
@@ -1,6 +0,0 @@
1
- /** ** Libraries *** */
2
- import PropTypes from 'prop-types';
3
- const infoBubblePropTypes = {
4
- customStyle: PropTypes.object
5
- };
6
- export default infoBubblePropTypes;
@@ -1,28 +0,0 @@
1
- /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
3
- export default {
4
- library: 'chat_components',
5
- variables: {
6
- messageBubble: {
7
- active_bg_color: bubbleActiveBgColor,
8
- messageBox_footer_text_color: '#5a616f'
9
- },
10
- messageBox: {
11
- incoming_bg_color: incomingBubbleBgColor,
12
- outgoing_bg_color: outgoingBubbleBgColor,
13
- bg_color: '#f1f7fe',
14
- failed_bg_color: '#fcebeb',
15
- text_color: '#000'
16
- },
17
- actionIconWrapper: {
18
- color: actionIconWrapperColor,
19
- bg_color: actionIconWrapperBgColor,
20
- border_color: actionIconWrapperBorderColor
21
- },
22
- messageStatus: {
23
- send_color: messageStatusSendColor,
24
- read_color: messageStatusReadColor,
25
- failed_color: messageStatusFailedColor
26
- }
27
- }
28
- };
@@ -1,28 +0,0 @@
1
- /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
3
- export default {
4
- library: 'chat_components',
5
- variables: {
6
- messageBubble: {
7
- active_bg_color: bubbleActiveBgColor,
8
- messageBox_footer_text_color: '#5a616f'
9
- },
10
- messageBox: {
11
- incoming_bg_color: incomingBubbleBgColor,
12
- outgoing_bg_color: outgoingBubbleBgColor,
13
- bg_color: '#f1f7fe',
14
- failed_bg_color: '#fcebeb',
15
- text_color: '#000'
16
- },
17
- actionIconWrapper: {
18
- color: actionIconWrapperColor,
19
- bg_color: actionIconWrapperBgColor,
20
- border_color: actionIconWrapperBorderColor
21
- },
22
- messageStatus: {
23
- send_color: messageStatusSendColor,
24
- read_color: '#4a91d9',
25
- failed_color: messageStatusFailedColor
26
- }
27
- }
28
- };
@@ -1,11 +0,0 @@
1
- export const incomingBubbleBgColor = '#232b38';
2
- export const outgoingBubbleBgColor = '#2c3b4d'; // greenTheme, tealTheme
3
-
4
- export const outgoingBubbleBgColor2 = '#26373b';
5
- export const actionIconWrapperColor = '#e2e4e6';
6
- export const actionIconWrapperBgColor = '#2c3b4d';
7
- export const actionIconWrapperBorderColor = '#3f536b';
8
- export const bubbleActiveBgColor = '#1b2e33';
9
- export const messageStatusSendColor = '#61667a';
10
- export const messageStatusFailedColor = '#de3535';
11
- export const messageStatusReadColor = '#479dff';
@@ -1,28 +0,0 @@
1
- /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
3
- export default {
4
- library: 'chat_components',
5
- variables: {
6
- messageBubble: {
7
- active_bg_color: bubbleActiveBgColor,
8
- messageBox_footer_text_color: '#5a616f'
9
- },
10
- messageBox: {
11
- incoming_bg_color: incomingBubbleBgColor,
12
- outgoing_bg_color: outgoingBubbleBgColor,
13
- bg_color: '#f1f7fe',
14
- failed_bg_color: '#fcebeb',
15
- text_color: '#000'
16
- },
17
- actionIconWrapper: {
18
- color: actionIconWrapperColor,
19
- bg_color: actionIconWrapperBgColor,
20
- border_color: actionIconWrapperBorderColor
21
- },
22
- messageStatus: {
23
- send_color: messageStatusSendColor,
24
- read_color: messageStatusReadColor,
25
- failed_color: messageStatusFailedColor
26
- }
27
- }
28
- };
@@ -1,28 +0,0 @@
1
- /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
3
- export default {
4
- library: 'chat_components',
5
- variables: {
6
- messageBubble: {
7
- active_bg_color: bubbleActiveBgColor,
8
- messageBox_footer_text_color: '#5a616f'
9
- },
10
- messageBox: {
11
- incoming_bg_color: incomingBubbleBgColor,
12
- outgoing_bg_color: outgoingBubbleBgColor,
13
- bg_color: '#f1f7fe',
14
- failed_bg_color: '#fcebeb',
15
- text_color: '#000'
16
- },
17
- actionIconWrapper: {
18
- color: actionIconWrapperColor,
19
- bg_color: actionIconWrapperBgColor,
20
- border_color: actionIconWrapperBorderColor
21
- },
22
- messageStatus: {
23
- send_color: messageStatusSendColor,
24
- read_color: messageStatusReadColor,
25
- failed_color: messageStatusFailedColor
26
- }
27
- }
28
- };
@@ -1,28 +0,0 @@
1
- /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor2, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
3
- export default {
4
- library: 'chat_components',
5
- variables: {
6
- messageBubble: {
7
- active_bg_color: bubbleActiveBgColor,
8
- messageBox_footer_text_color: '#5a616f'
9
- },
10
- messageBox: {
11
- incoming_bg_color: incomingBubbleBgColor,
12
- outgoing_bg_color: outgoingBubbleBgColor2,
13
- bg_color: '#f1f7fe',
14
- failed_bg_color: '#fcebeb',
15
- text_color: '#000'
16
- },
17
- actionIconWrapper: {
18
- color: actionIconWrapperColor,
19
- bg_color: actionIconWrapperBgColor,
20
- border_color: actionIconWrapperBorderColor
21
- },
22
- messageStatus: {
23
- send_color: messageStatusSendColor,
24
- read_color: '#5cab8b',
25
- failed_color: messageStatusFailedColor
26
- }
27
- }
28
- };
@@ -1,28 +0,0 @@
1
- /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
3
- export default {
4
- library: 'chat_components',
5
- variables: {
6
- messageBubble: {
7
- active_bg_color: bubbleActiveBgColor,
8
- messageBox_footer_text_color: '#5a616f'
9
- },
10
- messageBox: {
11
- incoming_bg_color: incomingBubbleBgColor,
12
- outgoing_bg_color: '#323136',
13
- bg_color: '#f1f7fe',
14
- failed_bg_color: '#fcebeb',
15
- text_color: '#000'
16
- },
17
- actionIconWrapper: {
18
- color: actionIconWrapperColor,
19
- bg_color: actionIconWrapperBgColor,
20
- border_color: actionIconWrapperBorderColor
21
- },
22
- messageStatus: {
23
- send_color: messageStatusSendColor,
24
- read_color: '#f07b61',
25
- failed_color: messageStatusFailedColor
26
- }
27
- }
28
- };
@@ -1,28 +0,0 @@
1
- /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
3
- export default {
4
- library: 'chat_components',
5
- variables: {
6
- messageBubble: {
7
- active_bg_color: bubbleActiveBgColor,
8
- messageBox_footer_text_color: '#5a616f'
9
- },
10
- messageBox: {
11
- incoming_bg_color: incomingBubbleBgColor,
12
- outgoing_bg_color: '#312d3a',
13
- bg_color: '#f1f7fe',
14
- failed_bg_color: '#fcebeb',
15
- text_color: '#000'
16
- },
17
- actionIconWrapper: {
18
- color: actionIconWrapperColor,
19
- bg_color: actionIconWrapperBgColor,
20
- border_color: actionIconWrapperBorderColor
21
- },
22
- messageStatus: {
23
- send_color: messageStatusSendColor,
24
- read_color: '#ff69b4',
25
- failed_color: messageStatusFailedColor
26
- }
27
- }
28
- };
@@ -1,28 +0,0 @@
1
- /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor2, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
3
- export default {
4
- library: 'chat_components',
5
- variables: {
6
- messageBubble: {
7
- active_bg_color: bubbleActiveBgColor,
8
- messageBox_footer_text_color: '#5a616f'
9
- },
10
- messageBox: {
11
- incoming_bg_color: incomingBubbleBgColor,
12
- outgoing_bg_color: outgoingBubbleBgColor2,
13
- bg_color: '#f1f7fe',
14
- failed_bg_color: '#fcebeb',
15
- text_color: '#000'
16
- },
17
- actionIconWrapper: {
18
- color: actionIconWrapperColor,
19
- bg_color: actionIconWrapperBgColor,
20
- border_color: actionIconWrapperBorderColor
21
- },
22
- messageStatus: {
23
- send_color: messageStatusSendColor,
24
- read_color: '#37a5a5',
25
- failed_color: messageStatusFailedColor
26
- }
27
- }
28
- };
@@ -1,28 +0,0 @@
1
- /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
3
- export default {
4
- library: 'chat_components',
5
- variables: {
6
- messageBubble: {
7
- active_bg_color: bubbleActiveBgColor,
8
- messageBox_footer_text_color: '#5a616f'
9
- },
10
- messageBox: {
11
- incoming_bg_color: incomingBubbleBgColor,
12
- outgoing_bg_color: outgoingBubbleBgColor,
13
- bg_color: '#f1f7fe',
14
- failed_bg_color: '#fcebeb',
15
- text_color: '#000'
16
- },
17
- actionIconWrapper: {
18
- color: actionIconWrapperColor,
19
- bg_color: actionIconWrapperBgColor,
20
- border_color: actionIconWrapperBorderColor
21
- },
22
- messageStatus: {
23
- send_color: messageStatusSendColor,
24
- read_color: messageStatusReadColor,
25
- failed_color: messageStatusFailedColor
26
- }
27
- }
28
- };
@@ -1,28 +0,0 @@
1
- /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
3
- export default {
4
- library: 'chat_components',
5
- variables: {
6
- messageBubble: {
7
- active_bg_color: bubbleActiveBgColor,
8
- messageBox_footer_text_color: '#5a616f'
9
- },
10
- messageBox: {
11
- incoming_bg_color: incomingBubbleBgColor,
12
- outgoing_bg_color: outgoingBubbleBgColor,
13
- bg_color: '#f1f7fe',
14
- failed_bg_color: '#fcebeb',
15
- text_color: '#000'
16
- },
17
- actionIconWrapper: {
18
- color: actionIconWrapperColor,
19
- bg_color: actionIconWrapperBgColor,
20
- border_color: actionIconWrapperBorderColor
21
- },
22
- messageStatus: {
23
- send_color: messageStatusSendColor,
24
- read_color: messageStatusReadColor,
25
- failed_color: messageStatusFailedColor
26
- }
27
- }
28
- };
@@ -1,31 +0,0 @@
1
- /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
3
- export default {
4
- library: 'chat_components',
5
- variables: {
6
- messageBubble: {
7
- active_bg_color: bubbleActiveBgColor,
8
- messageBox_footer_text_color: '#5a616f'
9
- },
10
- messageBox: {
11
- incoming_bg_color: incomingBubbleBgColor,
12
- outgoing_bg_color: '#f1f7fe',
13
- bg_color: '#f1f7fe',
14
- failed_bg_color: '#fcebeb',
15
- text_color: '#000'
16
- },
17
- actionIconWrapper: {
18
- color: actionIconWrapperColor,
19
- bg_color: '#eff4fb',
20
- border_color: '#cedef2'
21
- },
22
- messageStatus: {
23
- send_color: messageStatusSendColor,
24
- read_color: '#4a91d9',
25
- failed_color: messageStatusFailedColor
26
- },
27
- imageBubble: {
28
- bg_color: '#fff'
29
- }
30
- }
31
- };
@@ -1,9 +0,0 @@
1
- export const incomingBubbleBgColor = '#f1f4f9';
2
- export const outgoingBubbleBgColor = '#f1f7fe';
3
- export const actionIconWrapperColor = '#000';
4
- export const actionIconWrapperBgColor = '#f1f7fe';
5
- export const actionIconWrapperBorderColor = '#b7d1f0';
6
- export const bubbleActiveBgColor = '#fdffe3';
7
- export const messageStatusSendColor = '#61667a';
8
- export const messageStatusFailedColor = '#de3535';
9
- export const messageStatusReadColor = '#0a73eb';
@@ -1,28 +0,0 @@
1
- /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
3
- export default {
4
- library: 'chat_components',
5
- variables: {
6
- messageBubble: {
7
- active_bg_color: bubbleActiveBgColor,
8
- messageBox_footer_text_color: '#5a616f'
9
- },
10
- messageBox: {
11
- incoming_bg_color: incomingBubbleBgColor,
12
- outgoing_bg_color: outgoingBubbleBgColor,
13
- bg_color: '#f1f7fe',
14
- failed_bg_color: '#fcebeb',
15
- text_color: '#000'
16
- },
17
- actionIconWrapper: {
18
- color: actionIconWrapperColor,
19
- bg_color: actionIconWrapperBgColor,
20
- border_color: actionIconWrapperBorderColor
21
- },
22
- messageStatus: {
23
- send_color: messageStatusSendColor,
24
- read_color: messageStatusReadColor,
25
- failed_color: messageStatusFailedColor
26
- }
27
- }
28
- };
@@ -1,28 +0,0 @@
1
- /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
3
- export default {
4
- library: 'chat_components',
5
- variables: {
6
- messageBubble: {
7
- active_bg_color: bubbleActiveBgColor,
8
- messageBox_footer_text_color: '#5a616f'
9
- },
10
- messageBox: {
11
- incoming_bg_color: incomingBubbleBgColor,
12
- outgoing_bg_color: outgoingBubbleBgColor,
13
- bg_color: '#f1f7fe',
14
- failed_bg_color: '#fcebeb',
15
- text_color: '#000'
16
- },
17
- actionIconWrapper: {
18
- color: actionIconWrapperColor,
19
- bg_color: actionIconWrapperBgColor,
20
- border_color: actionIconWrapperBorderColor
21
- },
22
- messageStatus: {
23
- send_color: messageStatusSendColor,
24
- read_color: messageStatusReadColor,
25
- failed_color: messageStatusFailedColor
26
- }
27
- }
28
- };
@@ -1,28 +0,0 @@
1
- /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
3
- export default {
4
- library: 'chat_components',
5
- variables: {
6
- messageBubble: {
7
- active_bg_color: bubbleActiveBgColor,
8
- messageBox_footer_text_color: '#5a616f'
9
- },
10
- messageBox: {
11
- incoming_bg_color: incomingBubbleBgColor,
12
- outgoing_bg_color: '#f1f7fe',
13
- bg_color: '#f1f7fe',
14
- failed_bg_color: '#fcebeb',
15
- text_color: '#000'
16
- },
17
- actionIconWrapper: {
18
- color: actionIconWrapperColor,
19
- bg_color: '#f1f6f4',
20
- border_color: '#d4e5dd'
21
- },
22
- messageStatus: {
23
- send_color: messageStatusSendColor,
24
- read_color: '#5cab8b',
25
- failed_color: messageStatusFailedColor
26
- }
27
- }
28
- };
@@ -1,28 +0,0 @@
1
- /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
3
- export default {
4
- library: 'chat_components',
5
- variables: {
6
- messageBubble: {
7
- active_bg_color: bubbleActiveBgColor,
8
- messageBox_footer_text_color: '#5a616f'
9
- },
10
- messageBox: {
11
- incoming_bg_color: incomingBubbleBgColor,
12
- outgoing_bg_color: '#f1f7fe',
13
- bg_color: '#f1f7fe',
14
- failed_bg_color: '#fcebeb',
15
- text_color: '#000'
16
- },
17
- actionIconWrapper: {
18
- color: actionIconWrapperColor,
19
- bg_color: '#fcf2f0',
20
- border_color: '#f6d9d2'
21
- },
22
- messageStatus: {
23
- send_color: messageStatusSendColor,
24
- read_color: '#f07b61',
25
- failed_color: messageStatusFailedColor
26
- }
27
- }
28
- };
@@ -1,28 +0,0 @@
1
- /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
3
- export default {
4
- library: 'chat_components',
5
- variables: {
6
- messageBubble: {
7
- active_bg_color: bubbleActiveBgColor,
8
- messageBox_footer_text_color: '#5a616f'
9
- },
10
- messageBox: {
11
- incoming_bg_color: incomingBubbleBgColor,
12
- outgoing_bg_color: '#f1f7fe',
13
- bg_color: '#f1f7fe',
14
- failed_bg_color: '#fcebeb',
15
- text_color: '#000'
16
- },
17
- actionIconWrapper: {
18
- color: actionIconWrapperColor,
19
- bg_color: '#fdf1f7',
20
- border_color: '#fad5e8'
21
- },
22
- messageStatus: {
23
- send_color: messageStatusSendColor,
24
- read_color: '#ff69b4',
25
- failed_color: messageStatusFailedColor
26
- }
27
- }
28
- };