@zohoim/chat-components 0.0.18 → 0.0.20
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/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 -13
- package/es/LocationBubble/css/LocationBubble.module.css +11 -10
- 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 +1 -1
- package/es/MessageActionsWrapper/MessageActionsWrapper.js +2 -1
- package/es/MessageBox/css/MessageBox.module.css +0 -3
- package/es/MessageBubble/MessageBubble.js +14 -8
- package/es/MessageBubble/css/MessageBubble.module.css +33 -23
- package/es/MessageBubble/css/cssJSLogic.js +7 -1
- 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 +1 -1
- package/es/TextBubble/css/TextBubble.module.css +8 -6
- package/es/Theme/themeVariables/commonThemeColorVariable.js +4 -0
- package/es/Theme/themeVariables/dark/blueTheme.js +19 -8
- package/es/Theme/themeVariables/dark/greenTheme.js +19 -8
- package/es/Theme/themeVariables/dark/orangeTheme.js +19 -8
- package/es/Theme/themeVariables/dark/redTheme.js +19 -8
- package/es/Theme/themeVariables/dark/yellowTheme.js +19 -8
- package/es/Theme/themeVariables/light/blueTheme.js +19 -8
- package/es/Theme/themeVariables/light/commonColorVariable.js +6 -2
- package/es/Theme/themeVariables/light/greenTheme.js +19 -8
- package/es/Theme/themeVariables/light/orangeTheme.js +19 -8
- package/es/Theme/themeVariables/light/redTheme.js +19 -8
- package/es/Theme/themeVariables/light/yellowTheme.js +19 -8
- package/es/Theme/themeVariables/pureDark/blueTheme.js +19 -8
- package/es/Theme/themeVariables/pureDark/greenTheme.js +19 -8
- package/es/Theme/themeVariables/pureDark/orangeTheme.js +19 -8
- package/es/Theme/themeVariables/pureDark/redTheme.js +19 -8
- package/es/Theme/themeVariables/pureDark/yellowTheme.js +19 -8
- 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/im/ArticleBubble/css/ArticleBubble.module.css +2 -2
- package/es/im/IMIntegrationIcon/IMIntegrationIcon.js +17 -31
- package/es/im/IMIntegrationIcon/css/IMIntegrationIcon.module.css +10 -2
- package/es/im/IMMessage/IMMessage.js +24 -13
- 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 +5 -4
|
@@ -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;
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
.replyText,
|
|
30
30
|
.time{
|
|
31
31
|
composes: dotted from "../../css/common.module.css";
|
|
32
|
+
max-width: max-content;
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
.time{
|
|
35
|
-
max-width: 40% ;
|
|
36
36
|
font-size: var(--zd_font_size11) ;
|
|
37
37
|
letter-spacing: .4px;
|
|
38
38
|
color: var(--imlib_chat_components_replyBubbleHeader_time_color);
|
|
@@ -3,18 +3,20 @@
|
|
|
3
3
|
color: var(--imlib_chat_components_textBubble_text_color);
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
.failedTextBubble{
|
|
6
|
+
.failedTextBubble {
|
|
7
7
|
color: var(--imlib_chat_components_textBubble_text_color_failed);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.moreText {
|
|
11
|
-
text-transform: uppercase;
|
|
12
|
-
font-size: var(--zd_font_size11) ;
|
|
13
11
|
color: var(--imlib_chat_components_textBubble_see_more_color);
|
|
14
12
|
cursor: pointer;
|
|
15
13
|
}
|
|
16
14
|
|
|
17
|
-
.
|
|
15
|
+
.moreText:hover {
|
|
16
|
+
text-decoration: underline;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.failedMoreText {
|
|
18
20
|
color: var(--imlib_chat_components_textBubble_see_more_color_failed);
|
|
19
21
|
}
|
|
20
22
|
|
|
@@ -28,6 +30,6 @@
|
|
|
28
30
|
/* !important for Desk css overwrite */
|
|
29
31
|
}
|
|
30
32
|
|
|
31
|
-
.failedTextBubble a{
|
|
33
|
+
.failedTextBubble a {
|
|
32
34
|
color: var(--imlib_chat_components_textBubble_url_color_failed);
|
|
33
|
-
}
|
|
35
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
2
|
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryBlue, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor } from './commonColorVariable';
|
|
3
|
-
import { imIntegrationIcon, messagetextColor } from '../commonThemeColorVariable';
|
|
3
|
+
import { imIntegrationIcon, imTtIcon, messagetextColor } from '../commonThemeColorVariable';
|
|
4
4
|
export default {
|
|
5
5
|
library: 'chat_components',
|
|
6
6
|
variables: {
|
|
@@ -20,7 +20,7 @@ export default {
|
|
|
20
20
|
fileName_color: '#e2e4e6',
|
|
21
21
|
fileName_color_failed: failedColor,
|
|
22
22
|
fileSize_color: '#788190',
|
|
23
|
-
fileSize_color_failed:
|
|
23
|
+
fileSize_color_failed: '#788190'
|
|
24
24
|
},
|
|
25
25
|
// AttachmentIcon: {},
|
|
26
26
|
// Audio: {},
|
|
@@ -40,8 +40,11 @@ export default {
|
|
|
40
40
|
},
|
|
41
41
|
// IMInfoBubble: {},
|
|
42
42
|
imIntegrationIcon,
|
|
43
|
+
imTtIcon,
|
|
43
44
|
// IMMessage: {},
|
|
44
|
-
|
|
45
|
+
imMessageContent: {
|
|
46
|
+
text_color: '#a8b0bd'
|
|
47
|
+
},
|
|
45
48
|
imMessageMeta: {
|
|
46
49
|
time_color: '#a8b0bd'
|
|
47
50
|
},
|
|
@@ -54,7 +57,9 @@ export default {
|
|
|
54
57
|
bg_color: '#232b38',
|
|
55
58
|
bg_color_failed: failedBg,
|
|
56
59
|
alt_text_color: '#e2e4e6',
|
|
57
|
-
alt_text_color_failed: failedColor
|
|
60
|
+
alt_text_color_failed: failedColor,
|
|
61
|
+
border_color: '#2d3748',
|
|
62
|
+
border_color_failed: failedBdr
|
|
58
63
|
},
|
|
59
64
|
// IMReplyBubble: {},
|
|
60
65
|
// InfoBubble: {},
|
|
@@ -92,7 +97,10 @@ export default {
|
|
|
92
97
|
failed_color: messageStatusFailedColor
|
|
93
98
|
},
|
|
94
99
|
// MoreActionItem: {},
|
|
95
|
-
|
|
100
|
+
replyBubble: {
|
|
101
|
+
border_color: '#2d3748',
|
|
102
|
+
border_color_failed: failedBdr
|
|
103
|
+
},
|
|
96
104
|
replyBubbleContent: {
|
|
97
105
|
bg_color: '#232b38',
|
|
98
106
|
bg_color_failed: failedBg,
|
|
@@ -118,8 +126,11 @@ export default {
|
|
|
118
126
|
see_more_color_failed: failedUrlColor,
|
|
119
127
|
url_color: primaryBlue,
|
|
120
128
|
url_color_failed: failedUrlColor
|
|
121
|
-
}
|
|
122
|
-
//
|
|
123
|
-
|
|
129
|
+
},
|
|
130
|
+
// Video: {},
|
|
131
|
+
videoBubble: {
|
|
132
|
+
border_color: '#2d3748',
|
|
133
|
+
border_color_failed: failedBdr
|
|
134
|
+
}
|
|
124
135
|
}
|
|
125
136
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
2
|
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryGreen, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor } from './commonColorVariable';
|
|
3
|
-
import { imIntegrationIcon, messagetextColor } from '../commonThemeColorVariable';
|
|
3
|
+
import { imIntegrationIcon, imTtIcon, messagetextColor } from '../commonThemeColorVariable';
|
|
4
4
|
export default {
|
|
5
5
|
library: 'chat_components',
|
|
6
6
|
variables: {
|
|
@@ -20,7 +20,7 @@ export default {
|
|
|
20
20
|
fileName_color: '#e2e4e6',
|
|
21
21
|
fileName_color_failed: failedColor,
|
|
22
22
|
fileSize_color: '#788190',
|
|
23
|
-
fileSize_color_failed:
|
|
23
|
+
fileSize_color_failed: '#788190'
|
|
24
24
|
},
|
|
25
25
|
// AttachmentIcon: {},
|
|
26
26
|
// Audio: {},
|
|
@@ -40,8 +40,11 @@ export default {
|
|
|
40
40
|
},
|
|
41
41
|
// IMInfoBubble: {},
|
|
42
42
|
imIntegrationIcon,
|
|
43
|
+
imTtIcon,
|
|
43
44
|
// IMMessage: {},
|
|
44
|
-
|
|
45
|
+
imMessageContent: {
|
|
46
|
+
text_color: '#a8b0bd'
|
|
47
|
+
},
|
|
45
48
|
imMessageMeta: {
|
|
46
49
|
time_color: '#a8b0bd'
|
|
47
50
|
},
|
|
@@ -54,7 +57,9 @@ export default {
|
|
|
54
57
|
bg_color: '#232b38',
|
|
55
58
|
bg_color_failed: failedBg,
|
|
56
59
|
alt_text_color: '#e2e4e6',
|
|
57
|
-
alt_text_color_failed: failedColor
|
|
60
|
+
alt_text_color_failed: failedColor,
|
|
61
|
+
border_color: '#2d3748',
|
|
62
|
+
border_color_failed: failedBdr
|
|
58
63
|
},
|
|
59
64
|
// IMReplyBubble: {},
|
|
60
65
|
// InfoBubble: {},
|
|
@@ -91,7 +96,10 @@ export default {
|
|
|
91
96
|
failed_color: messageStatusFailedColor
|
|
92
97
|
},
|
|
93
98
|
// MoreActionItem: {},
|
|
94
|
-
|
|
99
|
+
replyBubble: {
|
|
100
|
+
border_color: '#2d3748',
|
|
101
|
+
border_color_failed: failedBdr
|
|
102
|
+
},
|
|
95
103
|
replyBubbleContent: {
|
|
96
104
|
bg_color: 'hsl(191.43deg 21.65% 13.02%)',
|
|
97
105
|
bg_color_failed: failedBg,
|
|
@@ -117,8 +125,11 @@ export default {
|
|
|
117
125
|
see_more_color_failed: failedUrlColor,
|
|
118
126
|
url_color: primaryGreen,
|
|
119
127
|
url_color_failed: failedUrlColor
|
|
120
|
-
}
|
|
121
|
-
//
|
|
122
|
-
|
|
128
|
+
},
|
|
129
|
+
// Video: {},
|
|
130
|
+
videoBubble: {
|
|
131
|
+
border_color: '#2d3748',
|
|
132
|
+
border_color_failed: failedBdr
|
|
133
|
+
}
|
|
123
134
|
}
|
|
124
135
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
2
|
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryOrange, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor } from './commonColorVariable';
|
|
3
|
-
import { imIntegrationIcon, messagetextColor } from '../commonThemeColorVariable';
|
|
3
|
+
import { imIntegrationIcon, imTtIcon, messagetextColor } from '../commonThemeColorVariable';
|
|
4
4
|
export default {
|
|
5
5
|
library: 'chat_components',
|
|
6
6
|
variables: {
|
|
@@ -20,7 +20,7 @@ export default {
|
|
|
20
20
|
fileName_color: '#e2e4e6',
|
|
21
21
|
fileName_color_failed: failedColor,
|
|
22
22
|
fileSize_color: '#788190',
|
|
23
|
-
fileSize_color_failed:
|
|
23
|
+
fileSize_color_failed: '#788190'
|
|
24
24
|
},
|
|
25
25
|
// AttachmentIcon: {},
|
|
26
26
|
// Audio: {},
|
|
@@ -40,8 +40,11 @@ export default {
|
|
|
40
40
|
},
|
|
41
41
|
// IMInfoBubble: {},
|
|
42
42
|
imIntegrationIcon,
|
|
43
|
+
imTtIcon,
|
|
43
44
|
// IMMessage: {},
|
|
44
|
-
|
|
45
|
+
imMessageContent: {
|
|
46
|
+
text_color: '#a8b0bd'
|
|
47
|
+
},
|
|
45
48
|
imMessageMeta: {
|
|
46
49
|
time_color: '#a8b0bd'
|
|
47
50
|
},
|
|
@@ -54,7 +57,9 @@ export default {
|
|
|
54
57
|
bg_color: '#232b38',
|
|
55
58
|
bg_color_failed: failedBg,
|
|
56
59
|
alt_text_color: '#e2e4e6',
|
|
57
|
-
alt_text_color_failed: failedColor
|
|
60
|
+
alt_text_color_failed: failedColor,
|
|
61
|
+
border_color: '#2d3748',
|
|
62
|
+
border_color_failed: failedBdr
|
|
58
63
|
},
|
|
59
64
|
// IMReplyBubble: {},
|
|
60
65
|
// InfoBubble: {},
|
|
@@ -91,7 +96,10 @@ export default {
|
|
|
91
96
|
failed_color: messageStatusFailedColor
|
|
92
97
|
},
|
|
93
98
|
// MoreActionItem: {},
|
|
94
|
-
|
|
99
|
+
replyBubble: {
|
|
100
|
+
border_color: '#2d3748',
|
|
101
|
+
border_color_failed: failedBdr
|
|
102
|
+
},
|
|
95
103
|
replyBubbleContent: {
|
|
96
104
|
bg_color: '#232b38',
|
|
97
105
|
bg_color_failed: failedBg,
|
|
@@ -117,8 +125,11 @@ export default {
|
|
|
117
125
|
see_more_color_failed: failedUrlColor,
|
|
118
126
|
url_color: primaryOrange,
|
|
119
127
|
url_color_failed: failedUrlColor
|
|
120
|
-
}
|
|
121
|
-
//
|
|
122
|
-
|
|
128
|
+
},
|
|
129
|
+
// Video: {},
|
|
130
|
+
videoBubble: {
|
|
131
|
+
border_color: '#2d3748',
|
|
132
|
+
border_color_failed: failedBdr
|
|
133
|
+
}
|
|
123
134
|
}
|
|
124
135
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
2
|
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryRed, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor } from './commonColorVariable';
|
|
3
|
-
import { imIntegrationIcon, messagetextColor } from '../commonThemeColorVariable';
|
|
3
|
+
import { imIntegrationIcon, imTtIcon, messagetextColor } from '../commonThemeColorVariable';
|
|
4
4
|
export default {
|
|
5
5
|
library: 'chat_components',
|
|
6
6
|
variables: {
|
|
@@ -20,7 +20,7 @@ export default {
|
|
|
20
20
|
fileName_color: '#e2e4e6',
|
|
21
21
|
fileName_color_failed: failedColor,
|
|
22
22
|
fileSize_color: '#788190',
|
|
23
|
-
fileSize_color_failed:
|
|
23
|
+
fileSize_color_failed: '#788190'
|
|
24
24
|
},
|
|
25
25
|
// AttachmentIcon: {},
|
|
26
26
|
// Audio: {},
|
|
@@ -40,8 +40,11 @@ export default {
|
|
|
40
40
|
},
|
|
41
41
|
// IMInfoBubble: {},
|
|
42
42
|
imIntegrationIcon,
|
|
43
|
+
imTtIcon,
|
|
43
44
|
// IMMessage: {},
|
|
44
|
-
|
|
45
|
+
imMessageContent: {
|
|
46
|
+
text_color: '#a8b0bd'
|
|
47
|
+
},
|
|
45
48
|
imMessageMeta: {
|
|
46
49
|
time_color: '#a8b0bd'
|
|
47
50
|
},
|
|
@@ -54,7 +57,9 @@ export default {
|
|
|
54
57
|
bg_color: 'hsl(258.46deg 12.62% 16.2%)',
|
|
55
58
|
bg_color_failed: failedBg,
|
|
56
59
|
alt_text_color: '#e2e4e6',
|
|
57
|
-
alt_text_color_failed: failedColor
|
|
60
|
+
alt_text_color_failed: failedColor,
|
|
61
|
+
border_color: 'hsl(258.46deg 12.62% 23.2%)',
|
|
62
|
+
border_color_failed: failedBdr
|
|
58
63
|
},
|
|
59
64
|
// IMReplyBubble: {},
|
|
60
65
|
// InfoBubble: {},
|
|
@@ -91,7 +96,10 @@ export default {
|
|
|
91
96
|
failed_color: messageStatusFailedColor
|
|
92
97
|
},
|
|
93
98
|
// MoreActionItem: {},
|
|
94
|
-
|
|
99
|
+
replyBubble: {
|
|
100
|
+
border_color: 'hsl(258.46deg 12.62% 23.2%)',
|
|
101
|
+
border_color_failed: failedBdr
|
|
102
|
+
},
|
|
95
103
|
replyBubbleContent: {
|
|
96
104
|
bg_color: 'hsl(258.46deg 12.62% 16.2%)',
|
|
97
105
|
bg_color_failed: failedBg,
|
|
@@ -117,8 +125,11 @@ export default {
|
|
|
117
125
|
see_more_color_failed: failedUrlColor,
|
|
118
126
|
url_color: primaryRed,
|
|
119
127
|
url_color_failed: failedUrlColor
|
|
120
|
-
}
|
|
121
|
-
//
|
|
122
|
-
|
|
128
|
+
},
|
|
129
|
+
// Video: {},
|
|
130
|
+
videoBubble: {
|
|
131
|
+
border_color: 'hsl(258.46deg 12.62% 23.2%)',
|
|
132
|
+
border_color_failed: failedBdr
|
|
133
|
+
}
|
|
123
134
|
}
|
|
124
135
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
2
|
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryYellow, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor } from './commonColorVariable';
|
|
3
|
-
import { imIntegrationIcon, messagetextColor } from '../commonThemeColorVariable';
|
|
3
|
+
import { imIntegrationIcon, imTtIcon, messagetextColor } from '../commonThemeColorVariable';
|
|
4
4
|
export default {
|
|
5
5
|
library: 'chat_components',
|
|
6
6
|
variables: {
|
|
@@ -20,7 +20,7 @@ export default {
|
|
|
20
20
|
fileName_color: '#e2e4e6',
|
|
21
21
|
fileName_color_failed: failedColor,
|
|
22
22
|
fileSize_color: '#788190',
|
|
23
|
-
fileSize_color_failed:
|
|
23
|
+
fileSize_color_failed: '#788190'
|
|
24
24
|
},
|
|
25
25
|
// AttachmentIcon: {},
|
|
26
26
|
// Audio: {},
|
|
@@ -40,8 +40,11 @@ export default {
|
|
|
40
40
|
},
|
|
41
41
|
// IMInfoBubble: {},
|
|
42
42
|
imIntegrationIcon,
|
|
43
|
+
imTtIcon,
|
|
43
44
|
// IMMessage: {},
|
|
44
|
-
|
|
45
|
+
imMessageContent: {
|
|
46
|
+
text_color: '#a8b0bd'
|
|
47
|
+
},
|
|
45
48
|
imMessageMeta: {
|
|
46
49
|
time_color: '#a8b0bd'
|
|
47
50
|
},
|
|
@@ -54,7 +57,9 @@ export default {
|
|
|
54
57
|
bg_color: '#232b38',
|
|
55
58
|
bg_color_failed: failedBg,
|
|
56
59
|
alt_text_color: '#e2e4e6',
|
|
57
|
-
alt_text_color_failed: failedColor
|
|
60
|
+
alt_text_color_failed: failedColor,
|
|
61
|
+
border_color: '#2d3748',
|
|
62
|
+
border_color_failed: failedBdr
|
|
58
63
|
},
|
|
59
64
|
// IMReplyBubble: {},
|
|
60
65
|
// InfoBubble: {},
|
|
@@ -91,7 +96,10 @@ export default {
|
|
|
91
96
|
failed_color: messageStatusFailedColor
|
|
92
97
|
},
|
|
93
98
|
// MoreActionItem: {},
|
|
94
|
-
|
|
99
|
+
replyBubble: {
|
|
100
|
+
border_color: '#2d3748',
|
|
101
|
+
border_color_failed: failedBdr
|
|
102
|
+
},
|
|
95
103
|
replyBubbleContent: {
|
|
96
104
|
bg_color: '#232b38',
|
|
97
105
|
bg_color_failed: failedBg,
|
|
@@ -117,8 +125,11 @@ export default {
|
|
|
117
125
|
see_more_color_failed: failedUrlColor,
|
|
118
126
|
url_color: primaryYellow,
|
|
119
127
|
url_color_failed: failedUrlColor
|
|
120
|
-
}
|
|
121
|
-
//
|
|
122
|
-
|
|
128
|
+
},
|
|
129
|
+
// Video: {},
|
|
130
|
+
videoBubble: {
|
|
131
|
+
border_color: '#2d3748',
|
|
132
|
+
border_color_failed: failedBdr
|
|
133
|
+
}
|
|
123
134
|
}
|
|
124
135
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messagetextColor, primaryBlue, white, black, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, imIntegrationIcon } from './commonColorVariable';
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messagetextColor, primaryBlue, white, black, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, imIntegrationIcon, imTtIcon } from './commonColorVariable';
|
|
3
3
|
export default {
|
|
4
4
|
library: 'chat_components',
|
|
5
5
|
variables: {
|
|
@@ -19,7 +19,7 @@ export default {
|
|
|
19
19
|
fileName_color: black,
|
|
20
20
|
fileName_color_failed: failedColor,
|
|
21
21
|
fileSize_color: '#5a616f',
|
|
22
|
-
fileSize_color_failed:
|
|
22
|
+
fileSize_color_failed: '#788190'
|
|
23
23
|
},
|
|
24
24
|
// AttachmentIcon: {},
|
|
25
25
|
// Audio: {},
|
|
@@ -39,8 +39,11 @@ export default {
|
|
|
39
39
|
},
|
|
40
40
|
// IMInfoBubble: {},
|
|
41
41
|
imIntegrationIcon,
|
|
42
|
+
imTtIcon,
|
|
42
43
|
// IMMessage: {},
|
|
43
|
-
|
|
44
|
+
imMessageContent: {
|
|
45
|
+
text_color: '#5a616f'
|
|
46
|
+
},
|
|
44
47
|
imMessageMeta: {
|
|
45
48
|
time_color: '#5a616f'
|
|
46
49
|
},
|
|
@@ -53,7 +56,9 @@ export default {
|
|
|
53
56
|
bg_color: white,
|
|
54
57
|
bg_color_failed: failedBg,
|
|
55
58
|
alt_text_color: black,
|
|
56
|
-
alt_text_color_failed: failedColor
|
|
59
|
+
alt_text_color_failed: failedColor,
|
|
60
|
+
border_color: '#ebf0f5',
|
|
61
|
+
border_color_failed: failedBdr
|
|
57
62
|
},
|
|
58
63
|
// IMReplyBubble: {},
|
|
59
64
|
// InfoBubble: {},
|
|
@@ -90,7 +95,10 @@ export default {
|
|
|
90
95
|
failed_color: messageStatusFailedColor
|
|
91
96
|
},
|
|
92
97
|
// MoreActionItem: {},
|
|
93
|
-
|
|
98
|
+
replyBubble: {
|
|
99
|
+
border_color: '#ebf0f5',
|
|
100
|
+
border_color_failed: failedBdr
|
|
101
|
+
},
|
|
94
102
|
replyBubbleContent: {
|
|
95
103
|
bg_color: white,
|
|
96
104
|
bg_color_failed: failedBg,
|
|
@@ -116,8 +124,11 @@ export default {
|
|
|
116
124
|
see_more_color_failed: failedUrlColor,
|
|
117
125
|
url_color: primaryBlue,
|
|
118
126
|
url_color_failed: failedUrlColor
|
|
119
|
-
}
|
|
120
|
-
//
|
|
121
|
-
|
|
127
|
+
},
|
|
128
|
+
// Video: {},
|
|
129
|
+
videoBubble: {
|
|
130
|
+
border_color: '#ebf0f5',
|
|
131
|
+
border_color_failed: failedBdr
|
|
132
|
+
}
|
|
122
133
|
}
|
|
123
134
|
};
|
|
@@ -18,8 +18,8 @@ export const failedLine = '#ffd6d6';
|
|
|
18
18
|
export const failedColor = '#000';
|
|
19
19
|
export const failedUrlColor = '#0a73eb';
|
|
20
20
|
export const imIntegrationIcon = {
|
|
21
|
-
path0_color: '
|
|
22
|
-
path1_color: '#
|
|
21
|
+
path0_color: '#ffffff40',
|
|
22
|
+
path1_color: '#fff',
|
|
23
23
|
whatsapp_color: '#24d366',
|
|
24
24
|
telegram_color: '#4fa7d8',
|
|
25
25
|
wechat_color: '#2dc100',
|
|
@@ -27,4 +27,8 @@ export const imIntegrationIcon = {
|
|
|
27
27
|
twillio_color: '#f22f46',
|
|
28
28
|
instagram_color: 'red',
|
|
29
29
|
asap_color: '#0a73eb'
|
|
30
|
+
};
|
|
31
|
+
export const imTtIcon = {
|
|
32
|
+
path0_color: 'rgba(200,203,220,0.7)',
|
|
33
|
+
path1_color: '#000'
|
|
30
34
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messagetextColor, primaryGreen, white, black, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, imIntegrationIcon } from './commonColorVariable';
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messagetextColor, primaryGreen, white, black, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, imIntegrationIcon, imTtIcon } from './commonColorVariable';
|
|
3
3
|
export default {
|
|
4
4
|
library: 'chat_components',
|
|
5
5
|
variables: {
|
|
@@ -19,7 +19,7 @@ export default {
|
|
|
19
19
|
fileName_color: black,
|
|
20
20
|
fileName_color_failed: failedColor,
|
|
21
21
|
fileSize_color: '#5a616f',
|
|
22
|
-
fileSize_color_failed:
|
|
22
|
+
fileSize_color_failed: '#788190'
|
|
23
23
|
},
|
|
24
24
|
// AttachmentIcon: {},
|
|
25
25
|
// Audio: {},
|
|
@@ -39,8 +39,11 @@ export default {
|
|
|
39
39
|
},
|
|
40
40
|
// IMInfoBubble: {},
|
|
41
41
|
imIntegrationIcon,
|
|
42
|
+
imTtIcon,
|
|
42
43
|
// IMMessage: {},
|
|
43
|
-
|
|
44
|
+
imMessageContent: {
|
|
45
|
+
text_color: '#5a616f'
|
|
46
|
+
},
|
|
44
47
|
imMessageMeta: {
|
|
45
48
|
time_color: '#5a616f'
|
|
46
49
|
},
|
|
@@ -53,7 +56,9 @@ export default {
|
|
|
53
56
|
bg_color: white,
|
|
54
57
|
bg_color_failed: failedBg,
|
|
55
58
|
alt_text_color: black,
|
|
56
|
-
alt_text_color_failed: failedColor
|
|
59
|
+
alt_text_color_failed: failedColor,
|
|
60
|
+
border_color: '#ebf0f5',
|
|
61
|
+
border_color_failed: failedBdr
|
|
57
62
|
},
|
|
58
63
|
// IMReplyBubble: {},
|
|
59
64
|
// InfoBubble: {},
|
|
@@ -90,7 +95,10 @@ export default {
|
|
|
90
95
|
failed_color: messageStatusFailedColor
|
|
91
96
|
},
|
|
92
97
|
// MoreActionItem: {},
|
|
93
|
-
|
|
98
|
+
replyBubble: {
|
|
99
|
+
border_color: '#ebf0f5',
|
|
100
|
+
border_color_failed: failedBdr
|
|
101
|
+
},
|
|
94
102
|
replyBubbleContent: {
|
|
95
103
|
bg_color: white,
|
|
96
104
|
bg_color_failed: failedBg,
|
|
@@ -116,8 +124,11 @@ export default {
|
|
|
116
124
|
see_more_color_failed: failedUrlColor,
|
|
117
125
|
url_color: primaryGreen,
|
|
118
126
|
url_color_failed: failedUrlColor
|
|
119
|
-
}
|
|
120
|
-
//
|
|
121
|
-
|
|
127
|
+
},
|
|
128
|
+
// Video: {},
|
|
129
|
+
videoBubble: {
|
|
130
|
+
border_color: '#ebf0f5',
|
|
131
|
+
border_color_failed: failedBdr
|
|
132
|
+
}
|
|
122
133
|
}
|
|
123
134
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messagetextColor, primaryOrange, white, black, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, imIntegrationIcon } from './commonColorVariable';
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messagetextColor, primaryOrange, white, black, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, imIntegrationIcon, imTtIcon } from './commonColorVariable';
|
|
3
3
|
export default {
|
|
4
4
|
library: 'chat_components',
|
|
5
5
|
variables: {
|
|
@@ -19,7 +19,7 @@ export default {
|
|
|
19
19
|
fileName_color: black,
|
|
20
20
|
fileName_color_failed: failedColor,
|
|
21
21
|
fileSize_color: '#5a616f',
|
|
22
|
-
fileSize_color_failed:
|
|
22
|
+
fileSize_color_failed: '#788190'
|
|
23
23
|
},
|
|
24
24
|
// AttachmentIcon: {},
|
|
25
25
|
// Audio: {},
|
|
@@ -39,8 +39,11 @@ export default {
|
|
|
39
39
|
},
|
|
40
40
|
// IMInfoBubble: {},
|
|
41
41
|
imIntegrationIcon,
|
|
42
|
+
imTtIcon,
|
|
42
43
|
// IMMessage: {},
|
|
43
|
-
|
|
44
|
+
imMessageContent: {
|
|
45
|
+
text_color: '#5a616f'
|
|
46
|
+
},
|
|
44
47
|
imMessageMeta: {
|
|
45
48
|
time_color: '#5a616f'
|
|
46
49
|
},
|
|
@@ -53,7 +56,9 @@ export default {
|
|
|
53
56
|
bg_color: white,
|
|
54
57
|
bg_color_failed: failedBg,
|
|
55
58
|
alt_text_color: black,
|
|
56
|
-
alt_text_color_failed: failedColor
|
|
59
|
+
alt_text_color_failed: failedColor,
|
|
60
|
+
border_color: '#ebf0f5',
|
|
61
|
+
border_color_failed: failedBdr
|
|
57
62
|
},
|
|
58
63
|
// IMReplyBubble: {},
|
|
59
64
|
// InfoBubble: {},
|
|
@@ -90,7 +95,10 @@ export default {
|
|
|
90
95
|
failed_color: messageStatusFailedColor
|
|
91
96
|
},
|
|
92
97
|
// MoreActionItem: {},
|
|
93
|
-
|
|
98
|
+
replyBubble: {
|
|
99
|
+
border_color: '#ebf0f5',
|
|
100
|
+
border_color_failed: failedBdr
|
|
101
|
+
},
|
|
94
102
|
replyBubbleContent: {
|
|
95
103
|
bg_color: white,
|
|
96
104
|
bg_color_failed: failedBg,
|
|
@@ -116,8 +124,11 @@ export default {
|
|
|
116
124
|
see_more_color_failed: failedUrlColor,
|
|
117
125
|
url_color: primaryOrange,
|
|
118
126
|
url_color_failed: failedUrlColor
|
|
119
|
-
}
|
|
120
|
-
//
|
|
121
|
-
|
|
127
|
+
},
|
|
128
|
+
// Video: {},
|
|
129
|
+
videoBubble: {
|
|
130
|
+
border_color: '#ebf0f5',
|
|
131
|
+
border_color_failed: failedBdr
|
|
132
|
+
}
|
|
122
133
|
}
|
|
123
134
|
};
|