@zohoim/chat-components 0.0.20 → 0.0.24

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 (54) hide show
  1. package/es/ActionIcon/ActionIcon.js +2 -1
  2. package/es/AttachmentBubble/AttachmentBubble.js +3 -1
  3. package/es/AttachmentBubble/css/AttachmentBubble.module.css +17 -7
  4. package/es/AttachmentBubble/css/cssJSLogic.js +4 -2
  5. package/es/AttachmentBubble/props/propTypes.js +1 -0
  6. package/es/LocationBubble/LocationBubble.js +2 -1
  7. package/es/LocationBubble/css/LocationBubble.module.css +8 -2
  8. package/es/MessageActionsMore/MessageActionsMore.js +2 -0
  9. package/es/MessageAvatar/css/MessageAvatar.module.css +2 -0
  10. package/es/MessageBubble/css/MessageBubble.module.css +8 -1
  11. package/es/ReplyBubbleHeader/css/ReplyBubbleHeader.module.css +8 -7
  12. package/es/Theme/ThemeAssets.js +56 -35
  13. package/es/Theme/props/defaultProps.js +0 -2
  14. package/es/Theme/themeVariables/dark/blueTheme.js +0 -20
  15. package/es/Theme/themeVariables/dark/greenTheme.js +0 -20
  16. package/es/Theme/themeVariables/dark/orangeTheme.js +0 -20
  17. package/es/Theme/themeVariables/dark/redTheme.js +0 -20
  18. package/es/Theme/themeVariables/dark/yellowTheme.js +0 -20
  19. package/es/Theme/themeVariables/light/blueTheme.js +0 -20
  20. package/es/Theme/themeVariables/light/greenTheme.js +0 -20
  21. package/es/Theme/themeVariables/light/orangeTheme.js +0 -20
  22. package/es/Theme/themeVariables/light/redTheme.js +0 -20
  23. package/es/Theme/themeVariables/light/yellowTheme.js +0 -20
  24. package/es/Theme/themeVariables/pureDark/blueTheme.js +0 -20
  25. package/es/Theme/themeVariables/pureDark/greenTheme.js +0 -20
  26. package/es/Theme/themeVariables/pureDark/orangeTheme.js +0 -20
  27. package/es/Theme/themeVariables/pureDark/redTheme.js +0 -20
  28. package/es/Theme/themeVariables/pureDark/yellowTheme.js +0 -20
  29. package/es/Theme/utils/getThemeConfigurations.js +1 -1
  30. package/es/Theme/utils/getWrapperDivProps.js +7 -3
  31. package/es/Video/css/Video.module.css +1 -1
  32. package/es/icons/factory/common/reply.svg +6 -0
  33. package/es/icons/iconSrc/common/Reply.js +13 -0
  34. package/es/icons/iconSrc/common/index.js +2 -1
  35. package/es/im/IMIntegrationIcon/IMIntegrationIcon.js +2 -2
  36. package/es/im/IMIntegrationIcon/css/IMIntegrationIcon.module.css +0 -30
  37. package/es/im/IMIntegrationIcon/css/cssJSLogic.js +3 -3
  38. package/es/im/IMMessageContent/IMMessageContent.js +1 -0
  39. package/package.json +5 -5
  40. package/es/icons/factory/integrations/chInstagram.svg +0 -4
  41. package/es/icons/factory/integrations/chWhatsApp.svg +0 -4
  42. package/es/icons/factory/integrations/ttASAP.svg +0 -6
  43. package/es/icons/factory/integrations/ttLine.svg +0 -8
  44. package/es/icons/factory/integrations/ttTelegram.svg +0 -4
  45. package/es/icons/factory/integrations/ttTwillio.svg +0 -8
  46. package/es/icons/factory/integrations/ttWechat.svg +0 -9
  47. package/es/icons/iconSrc/integrations/ChInstagram.js +0 -17
  48. package/es/icons/iconSrc/integrations/ChWhatsApp.js +0 -19
  49. package/es/icons/iconSrc/integrations/TtASAP.js +0 -28
  50. package/es/icons/iconSrc/integrations/TtLine.js +0 -37
  51. package/es/icons/iconSrc/integrations/TtTelegram.js +0 -18
  52. package/es/icons/iconSrc/integrations/TtTwillio.js +0 -32
  53. package/es/icons/iconSrc/integrations/TtWechat.js +0 -41
  54. package/es/icons/iconSrc/integrations/index.js +0 -7
@@ -6,13 +6,14 @@ import React, { useCallback, useMemo } from 'react';
6
6
 
7
7
  import ActionIconWrapper from '../ActionIconWrapper/ActionIconWrapper';
8
8
  /** ** Icons *** */
9
+ // import ReplyIcon from '@zohodesk/icon/es/general/Reply';
9
10
 
10
- import ReplyIcon from '@zohodesk/icon/es/general/Reply';
11
11
  import ReloadIcon from '@zohodesk/icon/es/general/Reload';
12
12
  import CopyIcon from '@zohodesk/icon/es/general/Copy';
13
13
  import DownloadIcon from '@zohodesk/icon/es/general/Cloud';
14
14
  import DeleteIcon from '@zohodesk/icon/es/general/Delete';
15
15
  import ForwardIcon from '@zohodesk/icon/es/channels/EmailForward';
16
+ import ReplyIcon from '../icons/iconSrc/common/Reply';
16
17
  /** ** Hooks *** */
17
18
 
18
19
  import useMergeStyle from '@zohodesk/hooks/es/utils/useMergeStyle';
@@ -27,6 +27,7 @@ export default function AttachmentBubble(props) {
27
27
  customProps,
28
28
  attachmentDetails,
29
29
  isFailed,
30
+ isSending,
30
31
  onClick: propOnClick
31
32
  } = props;
32
33
  const {
@@ -51,7 +52,8 @@ export default function AttachmentBubble(props) {
51
52
  const {
52
53
  attachmentBubbleClass
53
54
  } = cssJSLogic({
54
- isFailed
55
+ isFailed,
56
+ isSending
55
57
  }, newStyle);
56
58
  return /*#__PURE__*/React.createElement(Container, {
57
59
  alignBox: "row",
@@ -5,9 +5,18 @@
5
5
  border: 1px solid var(--imlib_chat_components_attachmentBubble_border_color);
6
6
  }
7
7
 
8
- .failedAttachmentBubble{
9
- background-color: var(--imlib_chat_components_attachmentBubble_bg_color_failed);
10
- border-color: var(--imlib_chat_components_attachmentBubble_border_color_failed);
8
+ .failedAttachmentBubble {
9
+ background-color: var(
10
+ --imlib_chat_components_attachmentBubble_bg_color_failed
11
+ );
12
+ border-color: var(
13
+ --imlib_chat_components_attachmentBubble_border_color_failed
14
+ );
15
+ }
16
+
17
+ .sendingdAttachmentBubble {
18
+ opacity: 0.1;
19
+ cursor: default;
11
20
  }
12
21
 
13
22
  .attachmentBubbleCursor {
@@ -30,11 +39,12 @@
30
39
  border-left: 1px solid var(--imlib_chat_components_attachmentBubble_border_color);
31
40
  }
32
41
 
33
- .failedAttachmentBubble .attachmentBubbleIcon{
34
- border-color: var(--imlib_chat_components_attachmentBubble_border_color_failed);
42
+ .failedAttachmentBubble .attachmentBubbleIcon {
43
+ border-color: var(
44
+ --imlib_chat_components_attachmentBubble_border_color_failed
45
+ );
35
46
  }
36
47
 
37
-
38
48
  .attachmentBubbleIcon, .attachmentBubbleContent {
39
49
  padding: var(--zd_size10) ;
40
- }
50
+ }
@@ -1,12 +1,14 @@
1
1
  import { compileClassNames } from '@zohodesk/utils';
2
2
  export default function cssJSLogic(props, style) {
3
3
  const {
4
- isFailed
4
+ isFailed,
5
+ isSending
5
6
  } = props;
6
7
  const attachmentBubbleClass = compileClassNames({
7
8
  [style.attachmentBubble]: true,
8
9
  [style.failedAttachmentBubble]: isFailed,
9
- [style.attachmentBubbleCursor]: true
10
+ [style.attachmentBubbleCursor]: !isSending,
11
+ [style.sendingdAttachmentBubble]: isSending
10
12
  });
11
13
  return {
12
14
  attachmentBubbleClass
@@ -12,6 +12,7 @@ const attachmentBubblePropTypes = {
12
12
  }),
13
13
  customStyle: PropTypes.object,
14
14
  isFailed: PropTypes.bool,
15
+ isSending: PropTypes.bool,
15
16
  onClick: PropTypes.func
16
17
  };
17
18
  export default attachmentBubblePropTypes;
@@ -53,7 +53,8 @@ export default function LocationBubble(props) {
53
53
  className: newStyle.textWrapper,
54
54
  flexible: true
55
55
  }, /*#__PURE__*/React.createElement("a", {
56
- className: newStyle.textLink
56
+ className: newStyle.textLink,
57
+ "data-title": locationUrl
57
58
  }, locationUrl))));
58
59
  }
59
60
  LocationBubble.propTypes = locationBubblePropTypes;
@@ -32,9 +32,15 @@
32
32
 
33
33
  .textLink {
34
34
  display: block;
35
- composes: dotted from "../../css/common.module.css";
36
35
  color: var(--imlib_chat_components_locationBubble_url_color);
37
- font-family: var(--zd_semibold);
36
+ word-break: break-word;
37
+ word-wrap: break-word;
38
+ display: -webkit-box;
39
+ -webkit-line-clamp: 2;
40
+ -webkit-box-orient: vertical;
41
+ overflow: hidden;
42
+ line-height: 1.4;
43
+ white-space: normal;
38
44
  }
39
45
 
40
46
  .failedLocationBubble .textLink{
@@ -9,6 +9,7 @@ import DropBox from '@zohodesk/components/lib/DropBox/DropBox';
9
9
  import messageActionsMoreDefaultProps from './props/defaultProps';
10
10
  import messageActionsMorePropTypes from './props/propTypes';
11
11
  import { MSG_ACTION_POPUP_PORTAL } from '../constants';
12
+ import { dummyObject } from '@zohoim/chat-components-utils/es/constants/emptyConstants';
12
13
  /** ** Methods *** */
13
14
 
14
15
  import renderHandler from '@zohoim/chat-components-utils/es/common/renderHandler';
@@ -75,6 +76,7 @@ function MessageActionsMoreComp(props) {
75
76
  }, moreIcon) : null, isRenderPopup ? /*#__PURE__*/React.createElement(DropBox, {
76
77
  boxPosition: position,
77
78
  customClass: popupClass,
79
+ customStyle: dummyObject,
78
80
  getRef: getContainerRef,
79
81
  isAbsolutePositioningNeeded: isAbsolutePositioningNeeded,
80
82
  isActive: isPopupReady,
@@ -18,4 +18,6 @@
18
18
 
19
19
  .avatar {
20
20
  /* Use this class name for external customization */
21
+ width: var(--zd_size32) ;
22
+ height: var(--zd_size32) ;
21
23
  }
@@ -3,7 +3,7 @@
3
3
  --messageBubble-message_owner_gap: 13px;
4
4
  --messageBox-max_width: 410px;
5
5
  --messageBox-footer_fontSize: var(--zd_font_size11);
6
- --messageBox-owner_width: var(--zd_size34);
6
+ --messageBox-owner_width: var(--zd_size32);
7
7
  }
8
8
 
9
9
  .messageBubble {
@@ -39,6 +39,13 @@
39
39
  flex-direction: column;
40
40
  position: absolute;
41
41
  top:0 ;
42
+ visibility: hidden;
43
+ opacity: 0;
44
+ }
45
+
46
+ .messageBubble:hover .messageActionWrapper{
47
+ visibility: visible;
48
+ opacity: 1;
42
49
  }
43
50
 
44
51
  .messageActionWrapperEnd {
@@ -3,6 +3,7 @@
3
3
  flex-shrink: 0;
4
4
  width: var(--zd_size20) !important;
5
5
  height: var(--zd_size20) !important;
6
+ cursor: default;
6
7
  }[dir=ltr] .replyIcon {
7
8
  margin-right: var(--zd_size5) ;
8
9
  }[dir=rtl] .replyIcon {
@@ -22,22 +23,22 @@
22
23
  margin-left: var(--zd_size5) ;
23
24
  }
24
25
 
25
- .failedReplyBubbleHeader .replyText{
26
+ .failedReplyBubbleHeader .replyText {
26
27
  color: var(--imlib_chat_components_replyBubbleHeader_text_color_failed);
27
28
  }
28
29
 
29
30
  .replyText,
30
- .time{
31
- composes: dotted from "../../css/common.module.css";
31
+ .time {
32
+ composes: dotted from '../../css/common.module.css';
32
33
  max-width: max-content;
33
34
  }
34
35
 
35
- .time{
36
+ .time {
36
37
  font-size: var(--zd_font_size11) ;
37
- letter-spacing: .4px;
38
+ letter-spacing: 0.4px;
38
39
  color: var(--imlib_chat_components_replyBubbleHeader_time_color);
39
40
  }
40
41
 
41
- .failedReplyBubbleHeader .time{
42
+ .failedReplyBubbleHeader .time {
42
43
  color: var(--imlib_chat_components_replyBubbleHeader_time_color_failed);
43
- }
44
+ }
@@ -1,42 +1,63 @@
1
1
  /** ** Libraries *** */
2
- import PropTypes from 'prop-types'; // Component Package default mode & themes
2
+ import PropTypes from 'prop-types';
3
+ import '@zohodesk/components/lib/common/boxShadow.module.css';
4
+ /* component pkg - default mode, themes */
3
5
 
4
- import '@zohodesk/components/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css';
5
- import '@zohodesk/components/assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css';
6
- import '@zohodesk/components/assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css';
7
- import '@zohodesk/components/assets/Appearance/default/themes/red/redDefaultCTATheme.module.css';
8
- import '@zohodesk/components/assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css';
9
- import '@zohodesk/components/assets/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css';
10
- import '@zohodesk/components/assets/Appearance/default/themes/green/greenDefaultComponentTheme.module.css';
11
- import '@zohodesk/components/assets/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css';
12
- import '@zohodesk/components/assets/Appearance/default/themes/red/redDefaultComponentTheme.module.css';
13
- import '@zohodesk/components/assets/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css';
14
- import '@zohodesk/components/assets/Appearance/default/mode/defaultMode.module.css'; // Component Package dark mode & themes
6
+ import '@zohodesk/components/assets/Appearance/light/themes/blue/blue_CTA_LightTheme.module.css';
7
+ import '@zohodesk/components/assets/Appearance/light/themes/blue/blue_CTA_LightModifyCategory.module.css';
8
+ import '@zohodesk/components/assets/Appearance/light/themes/green/green_CTA_LightTheme.module.css';
9
+ import '@zohodesk/components/assets/Appearance/light/themes/green/green_CTA_LightModifyCategory.module.css';
10
+ import '@zohodesk/components/assets/Appearance/light/themes/orange/orange_CTA_LightTheme.module.css';
11
+ import '@zohodesk/components/assets/Appearance/light/themes/orange/orange_CTA_LightModifyCategory.module.css';
12
+ import '@zohodesk/components/assets/Appearance/light/themes/red/red_CTA_LightTheme.module.css';
13
+ import '@zohodesk/components/assets/Appearance/light/themes/red/red_CTA_LightModifyCategory.module.css';
14
+ import '@zohodesk/components/assets/Appearance/light/themes/yellow/yellow_CTA_LightTheme.module.css';
15
+ import '@zohodesk/components/assets/Appearance/light/themes/yellow/yellow_CTA_LightModifyCategory.module.css';
16
+ import '@zohodesk/components/assets/Appearance/light/themes/blue/blue_ComponentTheme_LightTheme.module.css';
17
+ import '@zohodesk/components/assets/Appearance/light/themes/green/green_ComponentTheme_LightTheme.module.css';
18
+ import '@zohodesk/components/assets/Appearance/light/themes/orange/orange_ComponentTheme_LightTheme.module.css';
19
+ import '@zohodesk/components/assets/Appearance/light/themes/red/red_ComponentTheme_LightTheme.module.css';
20
+ import '@zohodesk/components/assets/Appearance/light/themes/yellow/yellow_ComponentTheme_LightTheme.module.css';
21
+ import '@zohodesk/components/assets/Appearance/light/mode/Component_LightMode.module.css';
22
+ import '@zohodesk/components/assets/Contrast/lightContrastLightness.module.css';
23
+ /* component pkg - dark mode, themes */
15
24
 
16
- import '@zohodesk/components/assets/Appearance/dark/themes/blue/blueDarkCTATheme.module.css';
17
- import '@zohodesk/components/assets/Appearance/dark/themes/green/greenDarkCTATheme.module.css';
18
- import '@zohodesk/components/assets/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css';
19
- import '@zohodesk/components/assets/Appearance/dark/themes/red/redDarkCTATheme.module.css';
20
- import '@zohodesk/components/assets/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css';
21
- import '@zohodesk/components/assets/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css';
22
- import '@zohodesk/components/assets/Appearance/dark/themes/green/greenDarkComponentTheme.module.css';
23
- import '@zohodesk/components/assets/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css';
24
- import '@zohodesk/components/assets/Appearance/dark/themes/red/redDarkComponentTheme.module.css';
25
- import '@zohodesk/components/assets/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css';
26
- import '@zohodesk/components/assets/Appearance/dark/mode/darkMode.module.css';
27
- /* pure dark mode & theme css */
25
+ import '@zohodesk/components/assets/Appearance/dark/themes/blue/blue_CTA_DarkTheme.module.css';
26
+ import '@zohodesk/components/assets/Appearance/dark/themes/blue/blue_CTA_DarkModifyCategory.module.css';
27
+ import '@zohodesk/components/assets/Appearance/dark/themes/green/green_CTA_DarkTheme.module.css';
28
+ import '@zohodesk/components/assets/Appearance/dark/themes/green/green_CTA_DarkModifyCategory.module.css';
29
+ import '@zohodesk/components/assets/Appearance/dark/themes/orange/orange_CTA_DarkTheme.module.css';
30
+ import '@zohodesk/components/assets/Appearance/dark/themes/orange/orange_CTA_DarkModifyCategory.module.css';
31
+ import '@zohodesk/components/assets/Appearance/dark/themes/red/red_CTA_DarkTheme.module.css';
32
+ import '@zohodesk/components/assets/Appearance/dark/themes/red/red_CTA_DarkModifyCategory.module.css';
33
+ import '@zohodesk/components/assets/Appearance/dark/themes/yellow/yellow_CTA_DarkTheme.module.css';
34
+ import '@zohodesk/components/assets/Appearance/dark/themes/yellow/yellow_CTA_DarkModifyCategory.module.css';
35
+ import '@zohodesk/components/assets/Appearance/dark/themes/blue/blue_ComponentTheme_DarkTheme.module.css';
36
+ import '@zohodesk/components/assets/Appearance/dark/themes/green/green_ComponentTheme_DarkTheme.module.css';
37
+ import '@zohodesk/components/assets/Appearance/dark/themes/orange/orange_ComponentTheme_DarkTheme.module.css';
38
+ import '@zohodesk/components/assets/Appearance/dark/themes/red/red_ComponentTheme_DarkTheme.module.css';
39
+ import '@zohodesk/components/assets/Appearance/dark/themes/yellow/yellow_ComponentTheme_DarkTheme.module.css';
40
+ import '@zohodesk/components/assets/Appearance/dark/mode/Component_DarkMode.module.css';
41
+ import '@zohodesk/components/assets/Contrast/darkContrastLightness.module.css';
42
+ /* component pkg - pure dark mode, themes */
28
43
 
29
- import '@zohodesk/components/assets/Appearance/pureDark/themes/blue/bluePureDarkCTATheme.module.css';
30
- import '@zohodesk/components/assets/Appearance/pureDark/themes/green/greenPureDarkCTATheme.module.css';
31
- import '@zohodesk/components/assets/Appearance/pureDark/themes/orange/orangePureDarkCTATheme.module.css';
32
- import '@zohodesk/components/assets/Appearance/pureDark/themes/red/redPureDarkCTATheme.module.css';
33
- import '@zohodesk/components/assets/Appearance/pureDark/themes/yellow/yellowPureDarkCTATheme.module.css';
34
- import '@zohodesk/components/assets/Appearance/pureDark/themes/blue/bluePureDarkComponentTheme.module.css';
35
- import '@zohodesk/components/assets/Appearance/pureDark/themes/green/greenPureDarkComponentTheme.module.css';
36
- import '@zohodesk/components/assets/Appearance/pureDark/themes/orange/orangePureDarkComponentTheme.module.css';
37
- import '@zohodesk/components/assets/Appearance/pureDark/themes/red/redPureDarkComponentTheme.module.css';
38
- import '@zohodesk/components/assets/Appearance/pureDark/themes/yellow/yellowPureDarkComponentTheme.module.css';
39
- import '@zohodesk/components/assets/Appearance/pureDark/mode/pureDarkMode.module.css';
44
+ import '@zohodesk/components/assets/Appearance/pureDark/themes/blue/blue_CTA_PureDarkTheme.module.css';
45
+ import '@zohodesk/components/assets/Appearance/pureDark/themes/blue/blue_CTA_PureDarkModifyCategory.module.css';
46
+ import '@zohodesk/components/assets/Appearance/pureDark/themes/green/green_CTA_PureDarkTheme.module.css';
47
+ import '@zohodesk/components/assets/Appearance/pureDark/themes/green/green_CTA_PureDarkModifyCategory.module.css';
48
+ import '@zohodesk/components/assets/Appearance/pureDark/themes/orange/orange_CTA_PureDarkTheme.module.css';
49
+ import '@zohodesk/components/assets/Appearance/pureDark/themes/orange/orange_CTA_PureDarkModifyCategory.module.css';
50
+ import '@zohodesk/components/assets/Appearance/pureDark/themes/red/red_CTA_PureDarkTheme.module.css';
51
+ import '@zohodesk/components/assets/Appearance/pureDark/themes/red/red_CTA_PureDarkModifyCategory.module.css';
52
+ import '@zohodesk/components/assets/Appearance/pureDark/themes/yellow/yellow_CTA_PureDarkTheme.module.css';
53
+ import '@zohodesk/components/assets/Appearance/pureDark/themes/yellow/yellow_CTA_PureDarkModifyCategory.module.css';
54
+ import '@zohodesk/components/assets/Appearance/pureDark/themes/blue/blue_ComponentTheme_PureDarkTheme.module.css';
55
+ import '@zohodesk/components/assets/Appearance/pureDark/themes/green/green_ComponentTheme_PureDarkTheme.module.css';
56
+ import '@zohodesk/components/assets/Appearance/pureDark/themes/orange/orange_ComponentTheme_PureDarkTheme.module.css';
57
+ import '@zohodesk/components/assets/Appearance/pureDark/themes/red/red_ComponentTheme_PureDarkTheme.module.css';
58
+ import '@zohodesk/components/assets/Appearance/pureDark/themes/yellow/yellow_ComponentTheme_PureDarkTheme.module.css';
59
+ import '@zohodesk/components/assets/Appearance/pureDark/mode/Component_PureDarkMode.module.css';
60
+ import '@zohodesk/components/assets/Contrast/pureDarkContrastLightness.module.css';
40
61
  /** ** Desk Components Assets *** */
41
62
 
42
63
  import '@zohodesk/variables/assets/colorVariables.module.css';
@@ -5,8 +5,6 @@ const themeWrapperDefaultProps = {
5
5
  mode: 'LIGHT',
6
6
  theme: 'BLUE',
7
7
  needTooltip: true,
8
- modeKey: 'data-mode',
9
- themeKey: 'data-theme',
10
8
  tooltipCustomStyle: dummyObject
11
9
  };
12
10
  export default themeWrapperDefaultProps;
@@ -4,7 +4,6 @@ import { imIntegrationIcon, imTtIcon, messagetextColor } from '../commonThemeCol
4
4
  export default {
5
5
  library: 'chat_components',
6
6
  variables: {
7
- // ActionIcon: {},
8
7
  actionIconWrapper: {
9
8
  color: actionIconWrapperColor,
10
9
  bg_color: '#2c3b4d',
@@ -22,9 +21,6 @@ export default {
22
21
  fileSize_color: '#788190',
23
22
  fileSize_color_failed: '#788190'
24
23
  },
25
- // AttachmentIcon: {},
26
- // Audio: {},
27
- // AudioBubble: {},
28
24
  articleBubble: {
29
25
  bg_color: '#232b38',
30
26
  bg_color_failed: failedBg,
@@ -38,10 +34,8 @@ export default {
38
34
  imAutoMessageInfo: {
39
35
  text_color: '#828994'
40
36
  },
41
- // IMInfoBubble: {},
42
37
  imIntegrationIcon,
43
38
  imTtIcon,
44
- // IMMessage: {},
45
39
  imMessageContent: {
46
40
  text_color: '#a8b0bd'
47
41
  },
@@ -51,8 +45,6 @@ export default {
51
45
  imPermaLink: {
52
46
  url_color: '#479dff'
53
47
  },
54
- // IMReplyBubble: {},
55
- // IMTextBubble: {},
56
48
  imageBubble: {
57
49
  bg_color: '#232b38',
58
50
  bg_color_failed: failedBg,
@@ -61,9 +53,6 @@ export default {
61
53
  border_color: '#2d3748',
62
54
  border_color_failed: failedBdr
63
55
  },
64
- // IMReplyBubble: {},
65
- // InfoBubble: {},
66
- // LazyLoadImage: {},
67
56
  locationBubble: {
68
57
  bg_color: '#232b38',
69
58
  bg_color_failed: failedBg,
@@ -72,13 +61,6 @@ export default {
72
61
  url_color: primaryBlue,
73
62
  url_color_failed: failedUrlColor
74
63
  },
75
- // MediaBubbleWrapper: {},
76
- // Message: {},
77
- // MessageAction: {},
78
- // MessageActions: {},
79
- // MessageActionsMore: {},
80
- // MessageActionsWrapper: {},
81
- // MessageAvatar: {},
82
64
  messageBox: {
83
65
  incoming_bg_color: incomingBubbleBgColor,
84
66
  outgoing_bg_color: '#2c3b4d',
@@ -96,7 +78,6 @@ export default {
96
78
  read_color: '#479dff',
97
79
  failed_color: messageStatusFailedColor
98
80
  },
99
- // MoreActionItem: {},
100
81
  replyBubble: {
101
82
  border_color: '#2d3748',
102
83
  border_color_failed: failedBdr
@@ -127,7 +108,6 @@ export default {
127
108
  url_color: primaryBlue,
128
109
  url_color_failed: failedUrlColor
129
110
  },
130
- // Video: {},
131
111
  videoBubble: {
132
112
  border_color: '#2d3748',
133
113
  border_color_failed: failedBdr
@@ -4,7 +4,6 @@ import { imIntegrationIcon, imTtIcon, messagetextColor } from '../commonThemeCol
4
4
  export default {
5
5
  library: 'chat_components',
6
6
  variables: {
7
- // ActionIcon: {},
8
7
  actionIconWrapper: {
9
8
  color: actionIconWrapperColor,
10
9
  bg_color: '#26373b',
@@ -22,9 +21,6 @@ export default {
22
21
  fileSize_color: '#788190',
23
22
  fileSize_color_failed: '#788190'
24
23
  },
25
- // AttachmentIcon: {},
26
- // Audio: {},
27
- // AudioBubble: {},
28
24
  articleBubble: {
29
25
  bg_color: '#232b38',
30
26
  bg_color_failed: failedBg,
@@ -38,10 +34,8 @@ export default {
38
34
  imAutoMessageInfo: {
39
35
  text_color: '#828994'
40
36
  },
41
- // IMInfoBubble: {},
42
37
  imIntegrationIcon,
43
38
  imTtIcon,
44
- // IMMessage: {},
45
39
  imMessageContent: {
46
40
  text_color: '#a8b0bd'
47
41
  },
@@ -51,8 +45,6 @@ export default {
51
45
  imPermaLink: {
52
46
  url_color: '#45a159'
53
47
  },
54
- // IMReplyBubble: {},
55
- // IMTextBubble: {},
56
48
  imageBubble: {
57
49
  bg_color: '#232b38',
58
50
  bg_color_failed: failedBg,
@@ -61,9 +53,6 @@ export default {
61
53
  border_color: '#2d3748',
62
54
  border_color_failed: failedBdr
63
55
  },
64
- // IMReplyBubble: {},
65
- // InfoBubble: {},
66
- // LazyLoadImage: {},
67
56
  locationBubble: {
68
57
  bg_color: '#232b38',
69
58
  bg_color_failed: failedBg,
@@ -72,13 +61,6 @@ export default {
72
61
  url_color: primaryGreen,
73
62
  url_color_failed: failedUrlColor
74
63
  },
75
- // MediaBubbleWrapper: {},
76
- // Message: {},
77
- // MessageAction: {},
78
- // MessageActions: {},
79
- // MessageActionsMore: {},
80
- // MessageActionsWrapper: {},
81
- // MessageAvatar: {},
82
64
  messageBox: {
83
65
  incoming_bg_color: incomingBubbleBgColor,
84
66
  outgoing_bg_color: '#26373b',
@@ -95,7 +77,6 @@ export default {
95
77
  read_color: '#45a159',
96
78
  failed_color: messageStatusFailedColor
97
79
  },
98
- // MoreActionItem: {},
99
80
  replyBubble: {
100
81
  border_color: '#2d3748',
101
82
  border_color_failed: failedBdr
@@ -126,7 +107,6 @@ export default {
126
107
  url_color: primaryGreen,
127
108
  url_color_failed: failedUrlColor
128
109
  },
129
- // Video: {},
130
110
  videoBubble: {
131
111
  border_color: '#2d3748',
132
112
  border_color_failed: failedBdr
@@ -4,7 +4,6 @@ import { imIntegrationIcon, imTtIcon, messagetextColor } from '../commonThemeCol
4
4
  export default {
5
5
  library: 'chat_components',
6
6
  variables: {
7
- // ActionIcon: {},
8
7
  actionIconWrapper: {
9
8
  color: actionIconWrapperColor,
10
9
  bg_color: '#323136',
@@ -22,9 +21,6 @@ export default {
22
21
  fileSize_color: '#788190',
23
22
  fileSize_color_failed: '#788190'
24
23
  },
25
- // AttachmentIcon: {},
26
- // Audio: {},
27
- // AudioBubble: {},
28
24
  articleBubble: {
29
25
  bg_color: '#232b38',
30
26
  bg_color_failed: failedBg,
@@ -38,10 +34,8 @@ export default {
38
34
  imAutoMessageInfo: {
39
35
  text_color: '#828994'
40
36
  },
41
- // IMInfoBubble: {},
42
37
  imIntegrationIcon,
43
38
  imTtIcon,
44
- // IMMessage: {},
45
39
  imMessageContent: {
46
40
  text_color: '#a8b0bd'
47
41
  },
@@ -51,8 +45,6 @@ export default {
51
45
  imPermaLink: {
52
46
  url_color: '#ff801f'
53
47
  },
54
- // IMReplyBubble: {},
55
- // IMTextBubble: {},
56
48
  imageBubble: {
57
49
  bg_color: '#232b38',
58
50
  bg_color_failed: failedBg,
@@ -61,9 +53,6 @@ export default {
61
53
  border_color: '#2d3748',
62
54
  border_color_failed: failedBdr
63
55
  },
64
- // IMReplyBubble: {},
65
- // InfoBubble: {},
66
- // LazyLoadImage: {},
67
56
  locationBubble: {
68
57
  bg_color: '#232b38',
69
58
  bg_color_failed: failedBg,
@@ -72,13 +61,6 @@ export default {
72
61
  url_color: primaryOrange,
73
62
  url_color_failed: failedUrlColor
74
63
  },
75
- // MediaBubbleWrapper: {},
76
- // Message: {},
77
- // MessageAction: {},
78
- // MessageActions: {},
79
- // MessageActionsMore: {},
80
- // MessageActionsWrapper: {},
81
- // MessageAvatar: {},
82
64
  messageBox: {
83
65
  incoming_bg_color: incomingBubbleBgColor,
84
66
  outgoing_bg_color: '#323136',
@@ -95,7 +77,6 @@ export default {
95
77
  read_color: '#ff801f',
96
78
  failed_color: messageStatusFailedColor
97
79
  },
98
- // MoreActionItem: {},
99
80
  replyBubble: {
100
81
  border_color: '#2d3748',
101
82
  border_color_failed: failedBdr
@@ -126,7 +107,6 @@ export default {
126
107
  url_color: primaryOrange,
127
108
  url_color_failed: failedUrlColor
128
109
  },
129
- // Video: {},
130
110
  videoBubble: {
131
111
  border_color: '#2d3748',
132
112
  border_color_failed: failedBdr
@@ -4,7 +4,6 @@ import { imIntegrationIcon, imTtIcon, messagetextColor } from '../commonThemeCol
4
4
  export default {
5
5
  library: 'chat_components',
6
6
  variables: {
7
- // ActionIcon: {},
8
7
  actionIconWrapper: {
9
8
  color: actionIconWrapperColor,
10
9
  bg_color: '#312d3a',
@@ -22,9 +21,6 @@ export default {
22
21
  fileSize_color: '#788190',
23
22
  fileSize_color_failed: '#788190'
24
23
  },
25
- // AttachmentIcon: {},
26
- // Audio: {},
27
- // AudioBubble: {},
28
24
  articleBubble: {
29
25
  bg_color: 'hsl(258.46deg 12.62% 16.2%)',
30
26
  bg_color_failed: failedBg,
@@ -38,10 +34,8 @@ export default {
38
34
  imAutoMessageInfo: {
39
35
  text_color: '#828994'
40
36
  },
41
- // IMInfoBubble: {},
42
37
  imIntegrationIcon,
43
38
  imTtIcon,
44
- // IMMessage: {},
45
39
  imMessageContent: {
46
40
  text_color: '#a8b0bd'
47
41
  },
@@ -51,8 +45,6 @@ export default {
51
45
  imPermaLink: {
52
46
  url_color: '#e94f4f'
53
47
  },
54
- // IMReplyBubble: {},
55
- // IMTextBubble: {},
56
48
  imageBubble: {
57
49
  bg_color: 'hsl(258.46deg 12.62% 16.2%)',
58
50
  bg_color_failed: failedBg,
@@ -61,9 +53,6 @@ export default {
61
53
  border_color: 'hsl(258.46deg 12.62% 23.2%)',
62
54
  border_color_failed: failedBdr
63
55
  },
64
- // IMReplyBubble: {},
65
- // InfoBubble: {},
66
- // LazyLoadImage: {},
67
56
  locationBubble: {
68
57
  bg_color: 'hsl(258.46deg 12.62% 16.2%)',
69
58
  bg_color_failed: failedBg,
@@ -72,13 +61,6 @@ export default {
72
61
  url_color: primaryRed,
73
62
  url_color_failed: failedUrlColor
74
63
  },
75
- // MediaBubbleWrapper: {},
76
- // Message: {},
77
- // MessageAction: {},
78
- // MessageActions: {},
79
- // MessageActionsMore: {},
80
- // MessageActionsWrapper: {},
81
- // MessageAvatar: {},
82
64
  messageBox: {
83
65
  incoming_bg_color: incomingBubbleBgColor,
84
66
  outgoing_bg_color: '#312d3a',
@@ -95,7 +77,6 @@ export default {
95
77
  read_color: '#e94f4f',
96
78
  failed_color: messageStatusFailedColor
97
79
  },
98
- // MoreActionItem: {},
99
80
  replyBubble: {
100
81
  border_color: 'hsl(258.46deg 12.62% 23.2%)',
101
82
  border_color_failed: failedBdr
@@ -126,7 +107,6 @@ export default {
126
107
  url_color: primaryRed,
127
108
  url_color_failed: failedUrlColor
128
109
  },
129
- // Video: {},
130
110
  videoBubble: {
131
111
  border_color: 'hsl(258.46deg 12.62% 23.2%)',
132
112
  border_color_failed: failedBdr