@zohoim/chat-components 0.0.19 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/ActionIcon/ActionIcon.js +2 -1
- package/es/ActionIcon/css/ActionIcon.module.css +3 -4
- package/es/AttachmentBubble/AttachmentBubble.js +9 -6
- package/es/AttachmentBubble/css/cssJSLogic.js +2 -3
- package/es/AttachmentBubble/props/propTypes.js +2 -1
- package/es/AttachmentBubbleInfo/AttachmentBubbleInfo.js +2 -1
- package/es/AttachmentBubbleInfo/css/AttachmentBubbleInfo.module.css +1 -0
- package/es/ImageBubble/ImageBubble.js +11 -5
- package/es/ImageBubble/css/ImageBubble.module.css +8 -1
- package/es/ImageBubble/css/cssJSLogic.js +4 -2
- package/es/ImageBubble/props/propTypes.js +3 -1
- package/es/LocationBubble/LocationBubble.js +13 -12
- package/es/LocationBubble/css/LocationBubble.module.css +18 -11
- package/es/Message/Message.js +3 -2
- package/es/Message/props/propTypes.js +1 -0
- package/es/MessageActions/MessageActions.js +4 -6
- package/es/MessageActionsMore/MessageActionsMore.js +3 -1
- package/es/MessageAvatar/css/MessageAvatar.module.css +2 -0
- package/es/MessageBox/css/MessageBox.module.css +0 -3
- package/es/MessageBubble/MessageBubble.js +10 -5
- package/es/MessageBubble/css/MessageBubble.module.css +24 -23
- package/es/MessageStatus/MessageStatus.js +7 -2
- package/es/MessageStatus/css/MessageStatus.module.css +8 -3
- package/es/ReplyBubble/ReplyBubble.js +14 -5
- package/es/ReplyBubble/css/ReplyBubble.module.css +6 -0
- package/es/ReplyBubble/css/cssJSLogic.js +14 -0
- package/es/ReplyBubbleContent/ReplyBubbleContent.js +4 -2
- package/es/ReplyBubbleContent/props/propTypes.js +2 -1
- package/es/ReplyBubbleHeader/ReplyBubbleHeader.js +8 -2
- package/es/ReplyBubbleHeader/css/ReplyBubbleHeader.module.css +9 -8
- package/es/TextBubble/css/TextBubble.module.css +0 -2
- package/es/Theme/ThemeAssets.js +56 -35
- package/es/Theme/themeVariables/dark/blueTheme.js +16 -26
- package/es/Theme/themeVariables/dark/greenTheme.js +16 -26
- package/es/Theme/themeVariables/dark/orangeTheme.js +16 -26
- package/es/Theme/themeVariables/dark/redTheme.js +16 -26
- package/es/Theme/themeVariables/dark/yellowTheme.js +16 -26
- package/es/Theme/themeVariables/light/blueTheme.js +16 -26
- package/es/Theme/themeVariables/light/greenTheme.js +16 -26
- package/es/Theme/themeVariables/light/orangeTheme.js +16 -26
- package/es/Theme/themeVariables/light/redTheme.js +16 -26
- package/es/Theme/themeVariables/light/yellowTheme.js +16 -26
- package/es/Theme/themeVariables/pureDark/blueTheme.js +16 -26
- package/es/Theme/themeVariables/pureDark/greenTheme.js +16 -26
- package/es/Theme/themeVariables/pureDark/orangeTheme.js +16 -26
- package/es/Theme/themeVariables/pureDark/redTheme.js +16 -26
- package/es/Theme/themeVariables/pureDark/yellowTheme.js +16 -26
- package/es/Theme/utils/getThemeConfigurations.js +1 -1
- package/es/Video/css/Video.module.css +1 -0
- package/es/VideoBubble/VideoBubble.js +12 -2
- package/es/VideoBubble/css/VideoBubble.module.css +9 -1
- package/es/VideoBubble/css/cssJSLogic.js +14 -0
- package/es/icons/factory/common/reply.svg +6 -0
- package/es/icons/iconSrc/common/Reply.js +13 -0
- package/es/icons/iconSrc/common/index.js +2 -1
- package/es/im/IMIntegrationIcon/IMIntegrationIcon.js +18 -32
- package/es/im/IMIntegrationIcon/css/IMIntegrationIcon.module.css +8 -30
- package/es/im/IMIntegrationIcon/css/cssJSLogic.js +3 -3
- package/es/im/IMMessage/IMMessage.js +13 -6
- package/es/im/IMMessage/css/cssJSLogic.js +4 -12
- package/es/im/IMMessage/props/defaultProps.js +3 -1
- package/es/im/IMMessage/props/propTypes.js +2 -1
- package/es/im/IMMessageContent/IMMessageContent.js +14 -7
- package/es/im/IMMessageContent/css/IMMessageContent.module.css +1 -0
- package/es/im/IMMessageContent/props/defaultProps.js +2 -1
- package/es/im/IMMessageContent/props/propTypes.js +3 -1
- package/package.json +6 -5
- package/es/icons/factory/integrations/chInstagram.svg +0 -4
- package/es/icons/factory/integrations/chWhatsApp.svg +0 -4
- package/es/icons/factory/integrations/ttASAP.svg +0 -6
- package/es/icons/factory/integrations/ttLine.svg +0 -8
- package/es/icons/factory/integrations/ttTelegram.svg +0 -4
- package/es/icons/factory/integrations/ttTwillio.svg +0 -8
- package/es/icons/factory/integrations/ttWechat.svg +0 -9
- package/es/icons/iconSrc/integrations/ChInstagram.js +0 -17
- package/es/icons/iconSrc/integrations/ChWhatsApp.js +0 -19
- package/es/icons/iconSrc/integrations/TtASAP.js +0 -28
- package/es/icons/iconSrc/integrations/TtLine.js +0 -37
- package/es/icons/iconSrc/integrations/TtTelegram.js +0 -18
- package/es/icons/iconSrc/integrations/TtTwillio.js +0 -32
- package/es/icons/iconSrc/integrations/TtWechat.js +0 -41
- package/es/icons/iconSrc/integrations/index.js +0 -7
|
@@ -23,7 +23,8 @@ export default function ReplyBubbleContent(props) {
|
|
|
23
23
|
senderName,
|
|
24
24
|
renderIcon,
|
|
25
25
|
renderMessage,
|
|
26
|
-
isFailed
|
|
26
|
+
isFailed,
|
|
27
|
+
onClick
|
|
27
28
|
} = props;
|
|
28
29
|
/* External CSS Customization */
|
|
29
30
|
|
|
@@ -41,7 +42,8 @@ export default function ReplyBubbleContent(props) {
|
|
|
41
42
|
align: "vertical",
|
|
42
43
|
alignBox: "row",
|
|
43
44
|
className: replyBubbleContentClass,
|
|
44
|
-
isCover: false
|
|
45
|
+
isCover: false,
|
|
46
|
+
onClick: onClick
|
|
45
47
|
}, icon ? /*#__PURE__*/React.createElement(Box, {
|
|
46
48
|
className: newStyle.iconWrapper
|
|
47
49
|
}, /*#__PURE__*/React.createElement(Container, {
|
|
@@ -5,6 +5,7 @@ const replyBubbleContentPropTypes = {
|
|
|
5
5
|
renderMessage: PropTypes.func.isRequired,
|
|
6
6
|
senderName: PropTypes.string.isRequired,
|
|
7
7
|
customStyle: PropTypes.object,
|
|
8
|
-
isFailed: PropTypes.bool
|
|
8
|
+
isFailed: PropTypes.bool,
|
|
9
|
+
onClick: PropTypes.func
|
|
9
10
|
};
|
|
10
11
|
export default replyBubbleContentPropTypes;
|
|
@@ -56,12 +56,18 @@ export default function ReplyBubbleHeader(props) {
|
|
|
56
56
|
alignBox: "row",
|
|
57
57
|
className: replyBubbleHeaderClass
|
|
58
58
|
}, renderIcon(), /*#__PURE__*/React.createElement(Box, {
|
|
59
|
+
flexible: true
|
|
60
|
+
}, /*#__PURE__*/React.createElement(Container, {
|
|
61
|
+
align: "between",
|
|
62
|
+
alignBox: "row"
|
|
63
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
59
64
|
className: newStyle.replyText,
|
|
60
65
|
flexible: true
|
|
61
66
|
}, replyText), /*#__PURE__*/React.createElement(Box, {
|
|
62
67
|
className: newStyle.time,
|
|
63
|
-
"data-title": tooltip
|
|
64
|
-
|
|
68
|
+
"data-title": tooltip,
|
|
69
|
+
flexible: true
|
|
70
|
+
}, displayDateTime))));
|
|
65
71
|
}
|
|
66
72
|
ReplyBubbleHeader.propTypes = replyBubbleHeaderPropTypes;
|
|
67
73
|
ReplyBubbleHeader.defaultProps = replyBubbleHeaderDefaultProps;
|
|
@@ -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
|
|
31
|
+
.time {
|
|
32
|
+
composes: dotted from '../../css/common.module.css';
|
|
33
|
+
max-width: max-content;
|
|
32
34
|
}
|
|
33
35
|
|
|
34
|
-
.time{
|
|
35
|
-
max-width: 40% ;
|
|
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
|
+
}
|
package/es/Theme/ThemeAssets.js
CHANGED
|
@@ -1,42 +1,63 @@
|
|
|
1
1
|
/** ** Libraries *** */
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
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/
|
|
5
|
-
import '@zohodesk/components/assets/Appearance/
|
|
6
|
-
import '@zohodesk/components/assets/Appearance/
|
|
7
|
-
import '@zohodesk/components/assets/Appearance/
|
|
8
|
-
import '@zohodesk/components/assets/Appearance/
|
|
9
|
-
import '@zohodesk/components/assets/Appearance/
|
|
10
|
-
import '@zohodesk/components/assets/Appearance/
|
|
11
|
-
import '@zohodesk/components/assets/Appearance/
|
|
12
|
-
import '@zohodesk/components/assets/Appearance/
|
|
13
|
-
import '@zohodesk/components/assets/Appearance/
|
|
14
|
-
import '@zohodesk/components/assets/Appearance/
|
|
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/
|
|
17
|
-
import '@zohodesk/components/assets/Appearance/dark/themes/
|
|
18
|
-
import '@zohodesk/components/assets/Appearance/dark/themes/
|
|
19
|
-
import '@zohodesk/components/assets/Appearance/dark/themes/
|
|
20
|
-
import '@zohodesk/components/assets/Appearance/dark/themes/
|
|
21
|
-
import '@zohodesk/components/assets/Appearance/dark/themes/
|
|
22
|
-
import '@zohodesk/components/assets/Appearance/dark/themes/
|
|
23
|
-
import '@zohodesk/components/assets/Appearance/dark/themes/
|
|
24
|
-
import '@zohodesk/components/assets/Appearance/dark/themes/
|
|
25
|
-
import '@zohodesk/components/assets/Appearance/dark/themes/yellow/
|
|
26
|
-
import '@zohodesk/components/assets/Appearance/dark/
|
|
27
|
-
|
|
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/
|
|
30
|
-
import '@zohodesk/components/assets/Appearance/pureDark/themes/
|
|
31
|
-
import '@zohodesk/components/assets/Appearance/pureDark/themes/
|
|
32
|
-
import '@zohodesk/components/assets/Appearance/pureDark/themes/
|
|
33
|
-
import '@zohodesk/components/assets/Appearance/pureDark/themes/
|
|
34
|
-
import '@zohodesk/components/assets/Appearance/pureDark/themes/
|
|
35
|
-
import '@zohodesk/components/assets/Appearance/pureDark/themes/
|
|
36
|
-
import '@zohodesk/components/assets/Appearance/pureDark/themes/
|
|
37
|
-
import '@zohodesk/components/assets/Appearance/pureDark/themes/
|
|
38
|
-
import '@zohodesk/components/assets/Appearance/pureDark/themes/yellow/
|
|
39
|
-
import '@zohodesk/components/assets/Appearance/pureDark/
|
|
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';
|
|
@@ -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',
|
|
@@ -20,11 +19,8 @@ export default {
|
|
|
20
19
|
fileName_color: '#e2e4e6',
|
|
21
20
|
fileName_color_failed: failedColor,
|
|
22
21
|
fileSize_color: '#788190',
|
|
23
|
-
fileSize_color_failed:
|
|
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,28 +34,25 @@ export default {
|
|
|
38
34
|
imAutoMessageInfo: {
|
|
39
35
|
text_color: '#828994'
|
|
40
36
|
},
|
|
41
|
-
// IMInfoBubble: {},
|
|
42
37
|
imIntegrationIcon,
|
|
43
38
|
imTtIcon,
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
imMessageContent: {
|
|
40
|
+
text_color: '#a8b0bd'
|
|
41
|
+
},
|
|
46
42
|
imMessageMeta: {
|
|
47
43
|
time_color: '#a8b0bd'
|
|
48
44
|
},
|
|
49
45
|
imPermaLink: {
|
|
50
46
|
url_color: '#479dff'
|
|
51
47
|
},
|
|
52
|
-
// IMReplyBubble: {},
|
|
53
|
-
// IMTextBubble: {},
|
|
54
48
|
imageBubble: {
|
|
55
49
|
bg_color: '#232b38',
|
|
56
50
|
bg_color_failed: failedBg,
|
|
57
51
|
alt_text_color: '#e2e4e6',
|
|
58
|
-
alt_text_color_failed: failedColor
|
|
52
|
+
alt_text_color_failed: failedColor,
|
|
53
|
+
border_color: '#2d3748',
|
|
54
|
+
border_color_failed: failedBdr
|
|
59
55
|
},
|
|
60
|
-
// IMReplyBubble: {},
|
|
61
|
-
// InfoBubble: {},
|
|
62
|
-
// LazyLoadImage: {},
|
|
63
56
|
locationBubble: {
|
|
64
57
|
bg_color: '#232b38',
|
|
65
58
|
bg_color_failed: failedBg,
|
|
@@ -68,13 +61,6 @@ export default {
|
|
|
68
61
|
url_color: primaryBlue,
|
|
69
62
|
url_color_failed: failedUrlColor
|
|
70
63
|
},
|
|
71
|
-
// MediaBubbleWrapper: {},
|
|
72
|
-
// Message: {},
|
|
73
|
-
// MessageAction: {},
|
|
74
|
-
// MessageActions: {},
|
|
75
|
-
// MessageActionsMore: {},
|
|
76
|
-
// MessageActionsWrapper: {},
|
|
77
|
-
// MessageAvatar: {},
|
|
78
64
|
messageBox: {
|
|
79
65
|
incoming_bg_color: incomingBubbleBgColor,
|
|
80
66
|
outgoing_bg_color: '#2c3b4d',
|
|
@@ -92,8 +78,10 @@ export default {
|
|
|
92
78
|
read_color: '#479dff',
|
|
93
79
|
failed_color: messageStatusFailedColor
|
|
94
80
|
},
|
|
95
|
-
|
|
96
|
-
|
|
81
|
+
replyBubble: {
|
|
82
|
+
border_color: '#2d3748',
|
|
83
|
+
border_color_failed: failedBdr
|
|
84
|
+
},
|
|
97
85
|
replyBubbleContent: {
|
|
98
86
|
bg_color: '#232b38',
|
|
99
87
|
bg_color_failed: failedBg,
|
|
@@ -119,8 +107,10 @@ export default {
|
|
|
119
107
|
see_more_color_failed: failedUrlColor,
|
|
120
108
|
url_color: primaryBlue,
|
|
121
109
|
url_color_failed: failedUrlColor
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
|
|
110
|
+
},
|
|
111
|
+
videoBubble: {
|
|
112
|
+
border_color: '#2d3748',
|
|
113
|
+
border_color_failed: failedBdr
|
|
114
|
+
}
|
|
125
115
|
}
|
|
126
116
|
};
|
|
@@ -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',
|
|
@@ -20,11 +19,8 @@ export default {
|
|
|
20
19
|
fileName_color: '#e2e4e6',
|
|
21
20
|
fileName_color_failed: failedColor,
|
|
22
21
|
fileSize_color: '#788190',
|
|
23
|
-
fileSize_color_failed:
|
|
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,28 +34,25 @@ export default {
|
|
|
38
34
|
imAutoMessageInfo: {
|
|
39
35
|
text_color: '#828994'
|
|
40
36
|
},
|
|
41
|
-
// IMInfoBubble: {},
|
|
42
37
|
imIntegrationIcon,
|
|
43
38
|
imTtIcon,
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
imMessageContent: {
|
|
40
|
+
text_color: '#a8b0bd'
|
|
41
|
+
},
|
|
46
42
|
imMessageMeta: {
|
|
47
43
|
time_color: '#a8b0bd'
|
|
48
44
|
},
|
|
49
45
|
imPermaLink: {
|
|
50
46
|
url_color: '#45a159'
|
|
51
47
|
},
|
|
52
|
-
// IMReplyBubble: {},
|
|
53
|
-
// IMTextBubble: {},
|
|
54
48
|
imageBubble: {
|
|
55
49
|
bg_color: '#232b38',
|
|
56
50
|
bg_color_failed: failedBg,
|
|
57
51
|
alt_text_color: '#e2e4e6',
|
|
58
|
-
alt_text_color_failed: failedColor
|
|
52
|
+
alt_text_color_failed: failedColor,
|
|
53
|
+
border_color: '#2d3748',
|
|
54
|
+
border_color_failed: failedBdr
|
|
59
55
|
},
|
|
60
|
-
// IMReplyBubble: {},
|
|
61
|
-
// InfoBubble: {},
|
|
62
|
-
// LazyLoadImage: {},
|
|
63
56
|
locationBubble: {
|
|
64
57
|
bg_color: '#232b38',
|
|
65
58
|
bg_color_failed: failedBg,
|
|
@@ -68,13 +61,6 @@ export default {
|
|
|
68
61
|
url_color: primaryGreen,
|
|
69
62
|
url_color_failed: failedUrlColor
|
|
70
63
|
},
|
|
71
|
-
// MediaBubbleWrapper: {},
|
|
72
|
-
// Message: {},
|
|
73
|
-
// MessageAction: {},
|
|
74
|
-
// MessageActions: {},
|
|
75
|
-
// MessageActionsMore: {},
|
|
76
|
-
// MessageActionsWrapper: {},
|
|
77
|
-
// MessageAvatar: {},
|
|
78
64
|
messageBox: {
|
|
79
65
|
incoming_bg_color: incomingBubbleBgColor,
|
|
80
66
|
outgoing_bg_color: '#26373b',
|
|
@@ -91,8 +77,10 @@ export default {
|
|
|
91
77
|
read_color: '#45a159',
|
|
92
78
|
failed_color: messageStatusFailedColor
|
|
93
79
|
},
|
|
94
|
-
|
|
95
|
-
|
|
80
|
+
replyBubble: {
|
|
81
|
+
border_color: '#2d3748',
|
|
82
|
+
border_color_failed: failedBdr
|
|
83
|
+
},
|
|
96
84
|
replyBubbleContent: {
|
|
97
85
|
bg_color: 'hsl(191.43deg 21.65% 13.02%)',
|
|
98
86
|
bg_color_failed: failedBg,
|
|
@@ -118,8 +106,10 @@ export default {
|
|
|
118
106
|
see_more_color_failed: failedUrlColor,
|
|
119
107
|
url_color: primaryGreen,
|
|
120
108
|
url_color_failed: failedUrlColor
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
|
|
109
|
+
},
|
|
110
|
+
videoBubble: {
|
|
111
|
+
border_color: '#2d3748',
|
|
112
|
+
border_color_failed: failedBdr
|
|
113
|
+
}
|
|
124
114
|
}
|
|
125
115
|
};
|
|
@@ -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',
|
|
@@ -20,11 +19,8 @@ export default {
|
|
|
20
19
|
fileName_color: '#e2e4e6',
|
|
21
20
|
fileName_color_failed: failedColor,
|
|
22
21
|
fileSize_color: '#788190',
|
|
23
|
-
fileSize_color_failed:
|
|
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,28 +34,25 @@ export default {
|
|
|
38
34
|
imAutoMessageInfo: {
|
|
39
35
|
text_color: '#828994'
|
|
40
36
|
},
|
|
41
|
-
// IMInfoBubble: {},
|
|
42
37
|
imIntegrationIcon,
|
|
43
38
|
imTtIcon,
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
imMessageContent: {
|
|
40
|
+
text_color: '#a8b0bd'
|
|
41
|
+
},
|
|
46
42
|
imMessageMeta: {
|
|
47
43
|
time_color: '#a8b0bd'
|
|
48
44
|
},
|
|
49
45
|
imPermaLink: {
|
|
50
46
|
url_color: '#ff801f'
|
|
51
47
|
},
|
|
52
|
-
// IMReplyBubble: {},
|
|
53
|
-
// IMTextBubble: {},
|
|
54
48
|
imageBubble: {
|
|
55
49
|
bg_color: '#232b38',
|
|
56
50
|
bg_color_failed: failedBg,
|
|
57
51
|
alt_text_color: '#e2e4e6',
|
|
58
|
-
alt_text_color_failed: failedColor
|
|
52
|
+
alt_text_color_failed: failedColor,
|
|
53
|
+
border_color: '#2d3748',
|
|
54
|
+
border_color_failed: failedBdr
|
|
59
55
|
},
|
|
60
|
-
// IMReplyBubble: {},
|
|
61
|
-
// InfoBubble: {},
|
|
62
|
-
// LazyLoadImage: {},
|
|
63
56
|
locationBubble: {
|
|
64
57
|
bg_color: '#232b38',
|
|
65
58
|
bg_color_failed: failedBg,
|
|
@@ -68,13 +61,6 @@ export default {
|
|
|
68
61
|
url_color: primaryOrange,
|
|
69
62
|
url_color_failed: failedUrlColor
|
|
70
63
|
},
|
|
71
|
-
// MediaBubbleWrapper: {},
|
|
72
|
-
// Message: {},
|
|
73
|
-
// MessageAction: {},
|
|
74
|
-
// MessageActions: {},
|
|
75
|
-
// MessageActionsMore: {},
|
|
76
|
-
// MessageActionsWrapper: {},
|
|
77
|
-
// MessageAvatar: {},
|
|
78
64
|
messageBox: {
|
|
79
65
|
incoming_bg_color: incomingBubbleBgColor,
|
|
80
66
|
outgoing_bg_color: '#323136',
|
|
@@ -91,8 +77,10 @@ export default {
|
|
|
91
77
|
read_color: '#ff801f',
|
|
92
78
|
failed_color: messageStatusFailedColor
|
|
93
79
|
},
|
|
94
|
-
|
|
95
|
-
|
|
80
|
+
replyBubble: {
|
|
81
|
+
border_color: '#2d3748',
|
|
82
|
+
border_color_failed: failedBdr
|
|
83
|
+
},
|
|
96
84
|
replyBubbleContent: {
|
|
97
85
|
bg_color: '#232b38',
|
|
98
86
|
bg_color_failed: failedBg,
|
|
@@ -118,8 +106,10 @@ export default {
|
|
|
118
106
|
see_more_color_failed: failedUrlColor,
|
|
119
107
|
url_color: primaryOrange,
|
|
120
108
|
url_color_failed: failedUrlColor
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
|
|
109
|
+
},
|
|
110
|
+
videoBubble: {
|
|
111
|
+
border_color: '#2d3748',
|
|
112
|
+
border_color_failed: failedBdr
|
|
113
|
+
}
|
|
124
114
|
}
|
|
125
115
|
};
|
|
@@ -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',
|
|
@@ -20,11 +19,8 @@ export default {
|
|
|
20
19
|
fileName_color: '#e2e4e6',
|
|
21
20
|
fileName_color_failed: failedColor,
|
|
22
21
|
fileSize_color: '#788190',
|
|
23
|
-
fileSize_color_failed:
|
|
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,28 +34,25 @@ export default {
|
|
|
38
34
|
imAutoMessageInfo: {
|
|
39
35
|
text_color: '#828994'
|
|
40
36
|
},
|
|
41
|
-
// IMInfoBubble: {},
|
|
42
37
|
imIntegrationIcon,
|
|
43
38
|
imTtIcon,
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
imMessageContent: {
|
|
40
|
+
text_color: '#a8b0bd'
|
|
41
|
+
},
|
|
46
42
|
imMessageMeta: {
|
|
47
43
|
time_color: '#a8b0bd'
|
|
48
44
|
},
|
|
49
45
|
imPermaLink: {
|
|
50
46
|
url_color: '#e94f4f'
|
|
51
47
|
},
|
|
52
|
-
// IMReplyBubble: {},
|
|
53
|
-
// IMTextBubble: {},
|
|
54
48
|
imageBubble: {
|
|
55
49
|
bg_color: 'hsl(258.46deg 12.62% 16.2%)',
|
|
56
50
|
bg_color_failed: failedBg,
|
|
57
51
|
alt_text_color: '#e2e4e6',
|
|
58
|
-
alt_text_color_failed: failedColor
|
|
52
|
+
alt_text_color_failed: failedColor,
|
|
53
|
+
border_color: 'hsl(258.46deg 12.62% 23.2%)',
|
|
54
|
+
border_color_failed: failedBdr
|
|
59
55
|
},
|
|
60
|
-
// IMReplyBubble: {},
|
|
61
|
-
// InfoBubble: {},
|
|
62
|
-
// LazyLoadImage: {},
|
|
63
56
|
locationBubble: {
|
|
64
57
|
bg_color: 'hsl(258.46deg 12.62% 16.2%)',
|
|
65
58
|
bg_color_failed: failedBg,
|
|
@@ -68,13 +61,6 @@ export default {
|
|
|
68
61
|
url_color: primaryRed,
|
|
69
62
|
url_color_failed: failedUrlColor
|
|
70
63
|
},
|
|
71
|
-
// MediaBubbleWrapper: {},
|
|
72
|
-
// Message: {},
|
|
73
|
-
// MessageAction: {},
|
|
74
|
-
// MessageActions: {},
|
|
75
|
-
// MessageActionsMore: {},
|
|
76
|
-
// MessageActionsWrapper: {},
|
|
77
|
-
// MessageAvatar: {},
|
|
78
64
|
messageBox: {
|
|
79
65
|
incoming_bg_color: incomingBubbleBgColor,
|
|
80
66
|
outgoing_bg_color: '#312d3a',
|
|
@@ -91,8 +77,10 @@ export default {
|
|
|
91
77
|
read_color: '#e94f4f',
|
|
92
78
|
failed_color: messageStatusFailedColor
|
|
93
79
|
},
|
|
94
|
-
|
|
95
|
-
|
|
80
|
+
replyBubble: {
|
|
81
|
+
border_color: 'hsl(258.46deg 12.62% 23.2%)',
|
|
82
|
+
border_color_failed: failedBdr
|
|
83
|
+
},
|
|
96
84
|
replyBubbleContent: {
|
|
97
85
|
bg_color: 'hsl(258.46deg 12.62% 16.2%)',
|
|
98
86
|
bg_color_failed: failedBg,
|
|
@@ -118,8 +106,10 @@ export default {
|
|
|
118
106
|
see_more_color_failed: failedUrlColor,
|
|
119
107
|
url_color: primaryRed,
|
|
120
108
|
url_color_failed: failedUrlColor
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
|
|
109
|
+
},
|
|
110
|
+
videoBubble: {
|
|
111
|
+
border_color: 'hsl(258.46deg 12.62% 23.2%)',
|
|
112
|
+
border_color_failed: failedBdr
|
|
113
|
+
}
|
|
124
114
|
}
|
|
125
115
|
};
|