@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.
- package/es/ActionIcon/ActionIcon.js +2 -0
- package/es/ActionIconWrapper/ActionIconWrapper.js +6 -2
- package/es/ActionIconWrapper/props/propTypes.js +1 -0
- package/es/AttachmentBubble/AttachmentBubble.js +24 -8
- package/es/AttachmentBubble/css/AttachmentBubble.module.css +15 -1
- package/es/AttachmentBubble/css/cssJSLogic.js +15 -0
- package/es/AttachmentBubble/props/propTypes.js +2 -1
- package/es/AttachmentBubbleInfo/AttachmentBubbleInfo.js +13 -2
- package/es/AttachmentBubbleInfo/css/AttachmentBubbleInfo.module.css +9 -0
- package/es/AttachmentBubbleInfo/css/cssJSLogic.js +13 -0
- package/es/AttachmentBubbleInfo/props/propTypes.js +2 -1
- package/es/AttachmentIcon/AttachmentIcon.js +3 -1
- package/es/AttachmentIcon/css/AttachmentIcon.module.css +2 -2
- package/es/AttachmentIcon/props/propTypes.js +6 -0
- package/es/AttachmentIcon/utils/getAttachmentIconComponent.js +4 -3
- package/es/AudioBubble/AudioBubble.js +5 -2
- package/es/AudioBubble/props/propTypes.js +2 -1
- package/es/ImageBubble/ImageBubble.js +13 -2
- package/es/ImageBubble/css/ImageBubble.module.css +8 -2
- package/es/ImageBubble/css/cssJSLogic.js +13 -0
- package/es/ImageBubble/props/propTypes.js +2 -1
- package/es/LocationBubble/LocationBubble.js +13 -2
- package/es/LocationBubble/css/LocationBubble.module.css +14 -1
- package/es/LocationBubble/css/cssJSLogic.js +13 -0
- package/es/LocationBubble/props/propTypes.js +2 -1
- package/es/MediaBubbleWrapper/MediaBubbleWrapper.js +5 -2
- package/es/MediaBubbleWrapper/props/propTypes.js +2 -1
- package/es/Message/Message.js +4 -2
- package/es/MessageAction/MessageAction.js +3 -0
- package/es/MessageAction/props/propTypes.js +1 -0
- package/es/MessageActions/MessageActions.js +14 -2
- package/es/MessageActions/props/propTypes.js +1 -0
- package/es/MessageBox/MessageBox.js +2 -2
- package/es/MessageBubble/MessageBubble.js +25 -19
- package/es/MessageBubble/css/MessageBubble.module.css +12 -2
- package/es/MessageBubble/css/cssJSLogic.js +4 -2
- package/es/MessageStatus/css/MessageStatus.module.css +0 -3
- package/es/MoreActionItem/MoreActionItem.js +8 -0
- package/es/MoreActionItem/props/propTypes.js +1 -0
- package/es/ReplyBubble/ReplyBubble.js +32 -13
- package/es/ReplyBubble/css/ReplyBubble.module.css +1 -1
- package/es/ReplyBubble/props/propTypes.js +8 -2
- package/es/ReplyBubbleContent/ReplyBubbleContent.js +11 -2
- package/es/ReplyBubbleContent/css/ReplyBubbleContent.module.css +21 -3
- package/es/ReplyBubbleContent/css/cssJSLogic.js +13 -0
- package/es/ReplyBubbleContent/props/propTypes.js +2 -1
- package/es/ReplyBubbleHeader/ReplyBubbleHeader.js +20 -5
- package/es/ReplyBubbleHeader/css/ReplyBubbleHeader.module.css +12 -0
- package/es/ReplyBubbleHeader/css/cssJSLogic.js +12 -0
- package/es/ReplyBubbleHeader/props/defaultProps.js +2 -1
- package/es/ReplyBubbleHeader/props/propTypes.js +6 -2
- package/es/TextBubble/TextBubble.js +15 -3
- package/es/TextBubble/css/TextBubble.module.css +13 -0
- package/es/TextBubble/css/cssJSLogic.js +18 -0
- package/es/TextBubble/props/propTypes.js +2 -1
- package/es/Theme/themeVariables/commonThemeColorVariable.js +1 -2
- package/es/Theme/themeVariables/dark/blueTheme.js +97 -40
- package/es/Theme/themeVariables/dark/commonColorVariable.js +7 -1
- package/es/Theme/themeVariables/dark/greenTheme.js +95 -38
- package/es/Theme/themeVariables/dark/orangeTheme.js +94 -37
- package/es/Theme/themeVariables/dark/redTheme.js +94 -46
- package/es/Theme/themeVariables/dark/yellowTheme.js +94 -37
- package/es/Theme/themeVariables/light/blueTheme.js +96 -36
- package/es/Theme/themeVariables/light/commonColorVariable.js +12 -1
- package/es/Theme/themeVariables/light/greenTheme.js +96 -36
- package/es/Theme/themeVariables/light/orangeTheme.js +96 -34
- package/es/Theme/themeVariables/light/redTheme.js +96 -34
- package/es/Theme/themeVariables/light/yellowTheme.js +96 -36
- package/es/Theme/themeVariables/pureDark/blueTheme.js +93 -37
- package/es/Theme/themeVariables/pureDark/commonColorVariable.js +7 -1
- package/es/Theme/themeVariables/pureDark/greenTheme.js +94 -37
- package/es/Theme/themeVariables/pureDark/orangeTheme.js +94 -37
- package/es/Theme/themeVariables/pureDark/redTheme.js +94 -37
- package/es/Theme/themeVariables/pureDark/yellowTheme.js +94 -37
- package/es/VideoBubble/VideoBubble.js +5 -2
- package/es/VideoBubble/props/propTypes.js +2 -1
- package/es/icons/iconSrc/attachments/Text.js +47 -0
- package/es/icons/iconSrc/attachments/index.js +1 -1
- package/es/im/ArticleBubble/ArticleBubble.js +16 -3
- package/es/im/ArticleBubble/css/ArticleBubble.module.css +25 -7
- package/es/im/ArticleBubble/css/cssJSLogic.js +12 -0
- package/es/im/ArticleBubble/props/propTypes.js +2 -1
- package/es/im/IMAutoMessageInfo/css/IMAutoMessageInfo.module.css +1 -0
- package/es/im/IMIntegrationIcon/css/IMIntegrationIcon.module.css +1 -6
- package/es/im/IMMessage/IMMessage.js +28 -4
- package/es/im/IMMessage/props/propTypes.js +25 -1
- package/es/im/IMMessageContent/IMMessageContent.js +39 -42
- package/es/im/IMMessageContent/css/IMMessageContent.module.css +6 -2
- package/es/im/IMMessageContent/props/propTypes.js +7 -2
- package/es/im/IMMessageMeta/IMMessageMeta.js +8 -8
- package/es/im/IMMessageMeta/css/IMMessageMeta.module.css +1 -1
- package/es/im/IMMessageMeta/props/defaultProps.js +1 -1
- package/es/im/IMPermaLink/css/IMPermaLink.module.css +1 -1
- package/es/im/IMReplyBubble/IMReplyBubble.js +10 -5
- package/es/im/IMReplyBubble/props/propTypes.js +7 -2
- package/es/im/IMTextBubble/IMTextBubble.js +5 -2
- package/es/im/IMTextBubble/props/propTypes.js +2 -1
- package/es/im/css/common.module.css +2 -2
- package/es/im/index.js +0 -1
- package/es/index.js +0 -1
- package/package.json +4 -21
- package/es/InfoBubble/InfoBubble.js +0 -34
- package/es/InfoBubble/css/InfoBubble.module.css +0 -0
- package/es/InfoBubble/css/cssJSLogic.js +0 -10
- package/es/InfoBubble/index.js +0 -1
- package/es/InfoBubble/props/defaultProps.js +0 -6
- package/es/InfoBubble/props/propTypes.js +0 -6
- package/es/Theme/crm/dark/blueFanTheme.js +0 -28
- package/es/Theme/crm/dark/blueTheme.js +0 -28
- package/es/Theme/crm/dark/commonColorVariable.js +0 -11
- package/es/Theme/crm/dark/darkBlueTheme.js +0 -28
- package/es/Theme/crm/dark/darkGreyTheme.js +0 -28
- package/es/Theme/crm/dark/greenTheme.js +0 -28
- package/es/Theme/crm/dark/orangeTheme.js +0 -28
- package/es/Theme/crm/dark/pinkTheme.js +0 -28
- package/es/Theme/crm/dark/tealTheme.js +0 -28
- package/es/Theme/crm/dark/whiteTheme.js +0 -28
- package/es/Theme/crm/light/blueFanTheme.js +0 -28
- package/es/Theme/crm/light/blueTheme.js +0 -31
- package/es/Theme/crm/light/commonColorVariable.js +0 -9
- package/es/Theme/crm/light/darkBlueTheme.js +0 -28
- package/es/Theme/crm/light/darkGreyTheme.js +0 -28
- package/es/Theme/crm/light/greenTheme.js +0 -28
- package/es/Theme/crm/light/orangeTheme.js +0 -28
- package/es/Theme/crm/light/pinkTheme.js +0 -28
- package/es/Theme/crm/light/tealTheme.js +0 -28
- package/es/Theme/crm/light/whiteTheme.js +0 -28
- package/es/Theme/crm/pureDark/blueFanTheme.js +0 -28
- package/es/Theme/crm/pureDark/blueTheme.js +0 -28
- package/es/Theme/crm/pureDark/commonColorVariable.js +0 -9
- package/es/Theme/crm/pureDark/darkBlueTheme.js +0 -28
- package/es/Theme/crm/pureDark/darkGreyTheme.js +0 -28
- package/es/Theme/crm/pureDark/greenTheme.js +0 -28
- package/es/Theme/crm/pureDark/orangeTheme.js +0 -28
- package/es/Theme/crm/pureDark/pinkTheme.js +0 -28
- package/es/Theme/crm/pureDark/tealTheme.js +0 -28
- package/es/Theme/crm/pureDark/whiteTheme.js +0 -28
- package/es/im/IMInfoBubble/IMInfoBubble.js +0 -34
- package/es/im/IMInfoBubble/css/IMInfoBubble.module.css +0 -0
- package/es/im/IMInfoBubble/css/cssJSLogic.js +0 -10
- package/es/im/IMInfoBubble/index.js +0 -1
- package/es/im/IMInfoBubble/props/defaultProps.js +0 -6
- package/es/im/IMInfoBubble/props/propTypes.js +0 -6
- /package/es/icons/factory/attachments/{txt.svg → text.svg} +0 -0
|
@@ -1,61 +1,123 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messagetextColor, primaryOrange, white } from './commonColorVariable';
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messagetextColor, primaryOrange, white, black, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, imIntegrationIcon } from './commonColorVariable';
|
|
3
3
|
export default {
|
|
4
4
|
library: 'chat_components',
|
|
5
5
|
variables: {
|
|
6
|
-
|
|
7
|
-
active_bg_color: bubbleActiveBgColor,
|
|
8
|
-
messageBox_footer_text_color: '#5a616f'
|
|
9
|
-
},
|
|
10
|
-
messageBox: {
|
|
11
|
-
incoming_bg_color: incomingBubbleBgColor,
|
|
12
|
-
outgoing_bg_color: '#fdf5ef',
|
|
13
|
-
bg_color: '#f1f7fe',
|
|
14
|
-
failed_bg_color: '#fcebeb',
|
|
15
|
-
text_color: messagetextColor
|
|
16
|
-
},
|
|
6
|
+
// ActionIcon: {},
|
|
17
7
|
actionIconWrapper: {
|
|
18
8
|
color: actionIconWrapperColor,
|
|
19
9
|
bg_color: '#fdf5ef',
|
|
20
10
|
border_color: '#f7d6b9'
|
|
21
11
|
},
|
|
22
|
-
messageStatus: {
|
|
23
|
-
send_color: messageStatusSendColor,
|
|
24
|
-
read_color: '#e57717',
|
|
25
|
-
failed_color: messageStatusFailedColor
|
|
26
|
-
},
|
|
27
12
|
attachmentBubble: {
|
|
28
13
|
bg_color: white,
|
|
29
|
-
|
|
14
|
+
bg_color_failed: failedBg,
|
|
15
|
+
border_color: '#ebf0f5',
|
|
16
|
+
border_color_failed: failedBdr
|
|
30
17
|
},
|
|
31
|
-
|
|
18
|
+
attachmentBubbleInfo: {
|
|
19
|
+
fileName_color: black,
|
|
20
|
+
fileName_color_failed: failedColor,
|
|
21
|
+
fileSize_color: '#5a616f',
|
|
22
|
+
fileSize_color_failed: failedColor
|
|
23
|
+
},
|
|
24
|
+
// AttachmentIcon: {},
|
|
25
|
+
// Audio: {},
|
|
26
|
+
// AudioBubble: {},
|
|
27
|
+
articleBubble: {
|
|
32
28
|
bg_color: white,
|
|
33
|
-
|
|
29
|
+
bg_color_failed: failedBg,
|
|
34
30
|
border_color: '#ebf0f5',
|
|
35
|
-
|
|
31
|
+
border_color_failed: failedBdr,
|
|
32
|
+
title_color: black,
|
|
33
|
+
title_color_failed: failedColor,
|
|
34
|
+
summary_color: black,
|
|
35
|
+
summary_color_failed: failedColor
|
|
36
|
+
},
|
|
37
|
+
imAutoMessageInfo: {
|
|
38
|
+
text_color: '#737376'
|
|
39
|
+
},
|
|
40
|
+
// IMInfoBubble: {},
|
|
41
|
+
imIntegrationIcon,
|
|
42
|
+
// IMMessage: {},
|
|
43
|
+
// IMMessageContent: {},
|
|
44
|
+
imMessageMeta: {
|
|
45
|
+
time_color: '#5a616f'
|
|
46
|
+
},
|
|
47
|
+
imPermaLink: {
|
|
48
|
+
url_color: primaryOrange
|
|
36
49
|
},
|
|
50
|
+
// IMReplyBubble: {},
|
|
51
|
+
// IMTextBubble: {},
|
|
37
52
|
imageBubble: {
|
|
38
|
-
bg_color: white
|
|
53
|
+
bg_color: white,
|
|
54
|
+
bg_color_failed: failedBg,
|
|
55
|
+
alt_text_color: black,
|
|
56
|
+
alt_text_color_failed: failedColor
|
|
39
57
|
},
|
|
58
|
+
// IMReplyBubble: {},
|
|
59
|
+
// InfoBubble: {},
|
|
60
|
+
// LazyLoadImage: {},
|
|
40
61
|
locationBubble: {
|
|
41
62
|
bg_color: white,
|
|
42
|
-
|
|
43
|
-
border_color: '#ebf0f5'
|
|
63
|
+
bg_color_failed: failedBg,
|
|
64
|
+
border_color: '#ebf0f5',
|
|
65
|
+
border_color_failed: failedBdr,
|
|
66
|
+
url_color: primaryOrange,
|
|
67
|
+
url_color_failed: failedUrlColor
|
|
44
68
|
},
|
|
45
|
-
|
|
69
|
+
// MediaBubbleWrapper: {},
|
|
70
|
+
// Message: {},
|
|
71
|
+
// MessageAction: {},
|
|
72
|
+
// MessageActions: {},
|
|
73
|
+
// MessageActionsMore: {},
|
|
74
|
+
// MessageActionsWrapper: {},
|
|
75
|
+
// MessageAvatar: {},
|
|
76
|
+
messageBox: {
|
|
77
|
+
incoming_bg_color: incomingBubbleBgColor,
|
|
78
|
+
outgoing_bg_color: '#fdf5ef',
|
|
79
|
+
bg_color: '#f1f7fe',
|
|
80
|
+
failed_bg_color: failedBgWrapper,
|
|
81
|
+
text_color: messagetextColor
|
|
82
|
+
},
|
|
83
|
+
messageBubble: {
|
|
84
|
+
active_bg_color: bubbleActiveBgColor,
|
|
85
|
+
messageBox_footer_text_color: '#5a616f'
|
|
86
|
+
},
|
|
87
|
+
messageStatus: {
|
|
88
|
+
send_color: messageStatusSendColor,
|
|
89
|
+
read_color: '#e57717',
|
|
90
|
+
failed_color: messageStatusFailedColor
|
|
91
|
+
},
|
|
92
|
+
// MoreActionItem: {},
|
|
93
|
+
// ReplyBubble: {},
|
|
94
|
+
replyBubbleContent: {
|
|
46
95
|
bg_color: white,
|
|
47
|
-
|
|
48
|
-
border_color: '#ebf0f5'
|
|
96
|
+
bg_color_failed: failedBg,
|
|
97
|
+
border_color: '#ebf0f5',
|
|
98
|
+
border_color_failed: failedBdr,
|
|
99
|
+
line_color: '#cddbf2',
|
|
100
|
+
line_color_failed: failedLine,
|
|
101
|
+
sender_color: black,
|
|
102
|
+
sender_color_failed: failedColor,
|
|
103
|
+
content_color: '#5a616f',
|
|
104
|
+
content_color_failed: failedColor
|
|
49
105
|
},
|
|
50
|
-
|
|
51
|
-
|
|
106
|
+
replyBubbleHeader: {
|
|
107
|
+
text_color: black,
|
|
108
|
+
text_color_failed: failedColor,
|
|
109
|
+
time_color: '#61667a',
|
|
110
|
+
time_color_failed: failedColor
|
|
52
111
|
},
|
|
53
112
|
textBubble: {
|
|
113
|
+
text_color: black,
|
|
114
|
+
text_color_failed: failedColor,
|
|
54
115
|
see_more_color: primaryOrange,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
116
|
+
see_more_color_failed: failedUrlColor,
|
|
117
|
+
url_color: primaryOrange,
|
|
118
|
+
url_color_failed: failedUrlColor
|
|
119
|
+
} // Video: {},
|
|
120
|
+
// VideoBubble: {}
|
|
121
|
+
|
|
60
122
|
}
|
|
61
123
|
};
|
|
@@ -1,61 +1,123 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messagetextColor, primaryRed, white } from './commonColorVariable';
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messagetextColor, primaryRed, white, black, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, imIntegrationIcon } from './commonColorVariable';
|
|
3
3
|
export default {
|
|
4
4
|
library: 'chat_components',
|
|
5
5
|
variables: {
|
|
6
|
-
|
|
7
|
-
active_bg_color: bubbleActiveBgColor,
|
|
8
|
-
messageBox_footer_text_color: '#5a616f'
|
|
9
|
-
},
|
|
10
|
-
messageBox: {
|
|
11
|
-
incoming_bg_color: incomingBubbleBgColor,
|
|
12
|
-
outgoing_bg_color: '#fdf3f3',
|
|
13
|
-
bg_color: '#f1f7fe',
|
|
14
|
-
failed_bg_color: '#fcebeb',
|
|
15
|
-
text_color: messagetextColor
|
|
16
|
-
},
|
|
6
|
+
// ActionIcon: {},
|
|
17
7
|
actionIconWrapper: {
|
|
18
8
|
color: actionIconWrapperColor,
|
|
19
9
|
bg_color: '#fdf3f3',
|
|
20
10
|
border_color: '#f8d7d7'
|
|
21
11
|
},
|
|
22
|
-
messageStatus: {
|
|
23
|
-
send_color: messageStatusSendColor,
|
|
24
|
-
read_color: '#de3535',
|
|
25
|
-
failed_color: messageStatusFailedColor
|
|
26
|
-
},
|
|
27
12
|
attachmentBubble: {
|
|
28
13
|
bg_color: white,
|
|
29
|
-
|
|
14
|
+
bg_color_failed: failedBg,
|
|
15
|
+
border_color: '#ebf0f5',
|
|
16
|
+
border_color_failed: failedBdr
|
|
30
17
|
},
|
|
31
|
-
|
|
18
|
+
attachmentBubbleInfo: {
|
|
19
|
+
fileName_color: black,
|
|
20
|
+
fileName_color_failed: failedColor,
|
|
21
|
+
fileSize_color: '#5a616f',
|
|
22
|
+
fileSize_color_failed: failedColor
|
|
23
|
+
},
|
|
24
|
+
// AttachmentIcon: {},
|
|
25
|
+
// Audio: {},
|
|
26
|
+
// AudioBubble: {},
|
|
27
|
+
articleBubble: {
|
|
32
28
|
bg_color: white,
|
|
33
|
-
|
|
29
|
+
bg_color_failed: failedBg,
|
|
34
30
|
border_color: '#ebf0f5',
|
|
35
|
-
|
|
31
|
+
border_color_failed: failedBdr,
|
|
32
|
+
title_color: black,
|
|
33
|
+
title_color_failed: failedColor,
|
|
34
|
+
summary_color: black,
|
|
35
|
+
summary_color_failed: failedColor
|
|
36
|
+
},
|
|
37
|
+
imAutoMessageInfo: {
|
|
38
|
+
text_color: '#737376'
|
|
39
|
+
},
|
|
40
|
+
// IMInfoBubble: {},
|
|
41
|
+
imIntegrationIcon,
|
|
42
|
+
// IMMessage: {},
|
|
43
|
+
// IMMessageContent: {},
|
|
44
|
+
imMessageMeta: {
|
|
45
|
+
time_color: '#5a616f'
|
|
46
|
+
},
|
|
47
|
+
imPermaLink: {
|
|
48
|
+
url_color: primaryRed
|
|
36
49
|
},
|
|
50
|
+
// IMReplyBubble: {},
|
|
51
|
+
// IMTextBubble: {},
|
|
37
52
|
imageBubble: {
|
|
38
|
-
bg_color: white
|
|
53
|
+
bg_color: white,
|
|
54
|
+
bg_color_failed: failedBg,
|
|
55
|
+
alt_text_color: black,
|
|
56
|
+
alt_text_color_failed: failedColor
|
|
39
57
|
},
|
|
58
|
+
// IMReplyBubble: {},
|
|
59
|
+
// InfoBubble: {},
|
|
60
|
+
// LazyLoadImage: {},
|
|
40
61
|
locationBubble: {
|
|
41
62
|
bg_color: white,
|
|
42
|
-
|
|
43
|
-
border_color: '#ebf0f5'
|
|
63
|
+
bg_color_failed: failedBg,
|
|
64
|
+
border_color: '#ebf0f5',
|
|
65
|
+
border_color_failed: failedBdr,
|
|
66
|
+
url_color: primaryRed,
|
|
67
|
+
url_color_failed: failedUrlColor
|
|
44
68
|
},
|
|
45
|
-
|
|
69
|
+
// MediaBubbleWrapper: {},
|
|
70
|
+
// Message: {},
|
|
71
|
+
// MessageAction: {},
|
|
72
|
+
// MessageActions: {},
|
|
73
|
+
// MessageActionsMore: {},
|
|
74
|
+
// MessageActionsWrapper: {},
|
|
75
|
+
// MessageAvatar: {},
|
|
76
|
+
messageBox: {
|
|
77
|
+
incoming_bg_color: incomingBubbleBgColor,
|
|
78
|
+
outgoing_bg_color: '#fdf3f3',
|
|
79
|
+
bg_color: '#f1f7fe',
|
|
80
|
+
failed_bg_color: failedBgWrapper,
|
|
81
|
+
text_color: messagetextColor
|
|
82
|
+
},
|
|
83
|
+
messageBubble: {
|
|
84
|
+
active_bg_color: bubbleActiveBgColor,
|
|
85
|
+
messageBox_footer_text_color: '#5a616f'
|
|
86
|
+
},
|
|
87
|
+
messageStatus: {
|
|
88
|
+
send_color: messageStatusSendColor,
|
|
89
|
+
read_color: '#de3535',
|
|
90
|
+
failed_color: messageStatusFailedColor
|
|
91
|
+
},
|
|
92
|
+
// MoreActionItem: {},
|
|
93
|
+
// ReplyBubble: {},
|
|
94
|
+
replyBubbleContent: {
|
|
46
95
|
bg_color: white,
|
|
47
|
-
|
|
48
|
-
border_color: '#ebf0f5'
|
|
96
|
+
bg_color_failed: failedBg,
|
|
97
|
+
border_color: '#ebf0f5',
|
|
98
|
+
border_color_failed: failedBdr,
|
|
99
|
+
line_color: '#cddbf2',
|
|
100
|
+
line_color_failed: failedLine,
|
|
101
|
+
sender_color: black,
|
|
102
|
+
sender_color_failed: failedColor,
|
|
103
|
+
content_color: '#5a616f',
|
|
104
|
+
content_color_failed: failedColor
|
|
49
105
|
},
|
|
50
|
-
|
|
51
|
-
|
|
106
|
+
replyBubbleHeader: {
|
|
107
|
+
text_color: black,
|
|
108
|
+
text_color_failed: failedColor,
|
|
109
|
+
time_color: '#61667a',
|
|
110
|
+
time_color_failed: failedColor
|
|
52
111
|
},
|
|
53
112
|
textBubble: {
|
|
113
|
+
text_color: black,
|
|
114
|
+
text_color_failed: failedColor,
|
|
54
115
|
see_more_color: primaryRed,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
116
|
+
see_more_color_failed: failedUrlColor,
|
|
117
|
+
url_color: primaryRed,
|
|
118
|
+
url_color_failed: failedUrlColor
|
|
119
|
+
} // Video: {},
|
|
120
|
+
// VideoBubble: {}
|
|
121
|
+
|
|
60
122
|
}
|
|
61
123
|
};
|
|
@@ -1,63 +1,123 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messagetextColor, primaryYellow, white } from './commonColorVariable';
|
|
3
|
-
import { imIntegrationIcon } from '../commonThemeColorVariable';
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messagetextColor, primaryYellow, white, black, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, imIntegrationIcon } from './commonColorVariable';
|
|
4
3
|
export default {
|
|
5
4
|
library: 'chat_components',
|
|
6
5
|
variables: {
|
|
7
|
-
|
|
8
|
-
active_bg_color: bubbleActiveBgColor,
|
|
9
|
-
messageBox_footer_text_color: '#5a616f'
|
|
10
|
-
},
|
|
11
|
-
messageBox: {
|
|
12
|
-
incoming_bg_color: incomingBubbleBgColor,
|
|
13
|
-
outgoing_bg_color: '#fdf8e9',
|
|
14
|
-
bg_color: '#f1f7fe',
|
|
15
|
-
failed_bg_color: '#fcebeb',
|
|
16
|
-
text_color: messagetextColor
|
|
17
|
-
},
|
|
6
|
+
// ActionIcon: {},
|
|
18
7
|
actionIconWrapper: {
|
|
19
8
|
color: actionIconWrapperColor,
|
|
20
9
|
bg_color: '#fdf8e9',
|
|
21
10
|
border_color: '#f6e3a7'
|
|
22
11
|
},
|
|
23
|
-
imIntegrationIcon,
|
|
24
|
-
messageStatus: {
|
|
25
|
-
send_color: messageStatusSendColor,
|
|
26
|
-
read_color: '#b68c07',
|
|
27
|
-
failed_color: messageStatusFailedColor
|
|
28
|
-
},
|
|
29
12
|
attachmentBubble: {
|
|
30
13
|
bg_color: white,
|
|
31
|
-
|
|
14
|
+
bg_color_failed: failedBg,
|
|
15
|
+
border_color: '#ebf0f5',
|
|
16
|
+
border_color_failed: failedBdr
|
|
32
17
|
},
|
|
33
|
-
|
|
18
|
+
attachmentBubbleInfo: {
|
|
19
|
+
fileName_color: black,
|
|
20
|
+
fileName_color_failed: failedColor,
|
|
21
|
+
fileSize_color: '#5a616f',
|
|
22
|
+
fileSize_color_failed: failedColor
|
|
23
|
+
},
|
|
24
|
+
// AttachmentIcon: {},
|
|
25
|
+
// Audio: {},
|
|
26
|
+
// AudioBubble: {},
|
|
27
|
+
articleBubble: {
|
|
34
28
|
bg_color: white,
|
|
35
|
-
|
|
29
|
+
bg_color_failed: failedBg,
|
|
36
30
|
border_color: '#ebf0f5',
|
|
37
|
-
|
|
31
|
+
border_color_failed: failedBdr,
|
|
32
|
+
title_color: black,
|
|
33
|
+
title_color_failed: failedColor,
|
|
34
|
+
summary_color: black,
|
|
35
|
+
summary_color_failed: failedColor
|
|
38
36
|
},
|
|
37
|
+
imAutoMessageInfo: {
|
|
38
|
+
text_color: '#737376'
|
|
39
|
+
},
|
|
40
|
+
// IMInfoBubble: {},
|
|
41
|
+
imIntegrationIcon,
|
|
42
|
+
// IMMessage: {},
|
|
43
|
+
// IMMessageContent: {},
|
|
44
|
+
imMessageMeta: {
|
|
45
|
+
time_color: '#5a616f'
|
|
46
|
+
},
|
|
47
|
+
imPermaLink: {
|
|
48
|
+
url_color: primaryYellow
|
|
49
|
+
},
|
|
50
|
+
// IMReplyBubble: {},
|
|
51
|
+
// IMTextBubble: {},
|
|
39
52
|
imageBubble: {
|
|
40
|
-
bg_color: white
|
|
53
|
+
bg_color: white,
|
|
54
|
+
bg_color_failed: failedBg,
|
|
55
|
+
alt_text_color: black,
|
|
56
|
+
alt_text_color_failed: failedColor
|
|
41
57
|
},
|
|
58
|
+
// IMReplyBubble: {},
|
|
59
|
+
// InfoBubble: {},
|
|
60
|
+
// LazyLoadImage: {},
|
|
42
61
|
locationBubble: {
|
|
43
62
|
bg_color: white,
|
|
44
|
-
|
|
45
|
-
border_color: '#ebf0f5'
|
|
63
|
+
bg_color_failed: failedBg,
|
|
64
|
+
border_color: '#ebf0f5',
|
|
65
|
+
border_color_failed: failedBdr,
|
|
66
|
+
url_color: primaryYellow,
|
|
67
|
+
url_color_failed: failedUrlColor
|
|
46
68
|
},
|
|
47
|
-
|
|
69
|
+
// MediaBubbleWrapper: {},
|
|
70
|
+
// Message: {},
|
|
71
|
+
// MessageAction: {},
|
|
72
|
+
// MessageActions: {},
|
|
73
|
+
// MessageActionsMore: {},
|
|
74
|
+
// MessageActionsWrapper: {},
|
|
75
|
+
// MessageAvatar: {},
|
|
76
|
+
messageBox: {
|
|
77
|
+
incoming_bg_color: incomingBubbleBgColor,
|
|
78
|
+
outgoing_bg_color: '#fdf8e9',
|
|
79
|
+
bg_color: '#f1f7fe',
|
|
80
|
+
failed_bg_color: failedBgWrapper,
|
|
81
|
+
text_color: messagetextColor
|
|
82
|
+
},
|
|
83
|
+
messageBubble: {
|
|
84
|
+
active_bg_color: bubbleActiveBgColor,
|
|
85
|
+
messageBox_footer_text_color: '#5a616f'
|
|
86
|
+
},
|
|
87
|
+
messageStatus: {
|
|
88
|
+
send_color: messageStatusSendColor,
|
|
89
|
+
read_color: '#b68c07',
|
|
90
|
+
failed_color: messageStatusFailedColor
|
|
91
|
+
},
|
|
92
|
+
// MoreActionItem: {},
|
|
93
|
+
// ReplyBubble: {},
|
|
94
|
+
replyBubbleContent: {
|
|
48
95
|
bg_color: white,
|
|
49
|
-
|
|
50
|
-
border_color: '#ebf0f5'
|
|
96
|
+
bg_color_failed: failedBg,
|
|
97
|
+
border_color: '#ebf0f5',
|
|
98
|
+
border_color_failed: failedBdr,
|
|
99
|
+
line_color: '#cddbf2',
|
|
100
|
+
line_color_failed: failedLine,
|
|
101
|
+
sender_color: black,
|
|
102
|
+
sender_color_failed: failedColor,
|
|
103
|
+
content_color: '#5a616f',
|
|
104
|
+
content_color_failed: failedColor
|
|
51
105
|
},
|
|
52
|
-
|
|
53
|
-
|
|
106
|
+
replyBubbleHeader: {
|
|
107
|
+
text_color: black,
|
|
108
|
+
text_color_failed: failedColor,
|
|
109
|
+
time_color: '#61667a',
|
|
110
|
+
time_color_failed: failedColor
|
|
54
111
|
},
|
|
55
112
|
textBubble: {
|
|
113
|
+
text_color: black,
|
|
114
|
+
text_color_failed: failedColor,
|
|
56
115
|
see_more_color: primaryYellow,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
116
|
+
see_more_color_failed: failedUrlColor,
|
|
117
|
+
url_color: primaryYellow,
|
|
118
|
+
url_color_failed: failedUrlColor
|
|
119
|
+
} // Video: {},
|
|
120
|
+
// VideoBubble: {}
|
|
121
|
+
|
|
62
122
|
}
|
|
63
123
|
};
|
|
@@ -1,68 +1,124 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryBlue } from './commonColorVariable';
|
|
2
|
+
import { incomingBubbleBgColor, outgoingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryBlue, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor } from './commonColorVariable';
|
|
3
3
|
import { imIntegrationIcon, messagetextColor } from '../commonThemeColorVariable';
|
|
4
4
|
export default {
|
|
5
5
|
library: 'chat_components',
|
|
6
6
|
variables: {
|
|
7
|
-
|
|
8
|
-
active_bg_color: bubbleActiveBgColor,
|
|
9
|
-
messageBox_footer_text_color: '#5a616f'
|
|
10
|
-
},
|
|
11
|
-
messageBox: {
|
|
12
|
-
incoming_bg_color: incomingBubbleBgColor,
|
|
13
|
-
outgoing_bg_color: outgoingBubbleBgColor,
|
|
14
|
-
bg_color: '#f1f7fe',
|
|
15
|
-
failed_bg_color: '#fcebeb',
|
|
16
|
-
text_color: messagetextColor
|
|
17
|
-
},
|
|
7
|
+
// ActionIcon: {},
|
|
18
8
|
actionIconWrapper: {
|
|
19
9
|
color: actionIconWrapperColor,
|
|
20
10
|
bg_color: '#252d37',
|
|
21
11
|
border_color: '#2c4664'
|
|
22
12
|
},
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
13
|
+
attachmentBubble: {
|
|
14
|
+
bg_color: '#212121',
|
|
15
|
+
bg_color_failed: failedBg,
|
|
16
|
+
border_color: '#161515',
|
|
17
|
+
border_color_failed: failedBdr
|
|
28
18
|
},
|
|
29
19
|
attachmentBubbleInfo: {
|
|
30
20
|
fileName_color: '#e2e4e6',
|
|
31
|
-
|
|
21
|
+
fileName_color_failed: failedColor,
|
|
22
|
+
fileSize_color: '#999',
|
|
23
|
+
fileSize_color_failed: failedColor
|
|
32
24
|
},
|
|
33
|
-
|
|
25
|
+
// AttachmentIcon: {},
|
|
26
|
+
// Audio: {},
|
|
27
|
+
// AudioBubble: {},
|
|
28
|
+
articleBubble: {
|
|
34
29
|
bg_color: '#212121',
|
|
35
|
-
|
|
30
|
+
bg_color_failed: failedBg,
|
|
31
|
+
border_color: '#161515',
|
|
32
|
+
border_color_failed: failedBdr,
|
|
33
|
+
title_color: '#e2e4e6',
|
|
34
|
+
title_color_failed: failedColor,
|
|
35
|
+
summary_color: '#e2e4e6',
|
|
36
|
+
summary_color_failed: failedColor
|
|
36
37
|
},
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
imAutoMessageInfo: {
|
|
39
|
+
text_color: '#999'
|
|
39
40
|
},
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
// IMInfoBubble: {},
|
|
42
|
+
imIntegrationIcon,
|
|
43
|
+
// IMMessage: {},
|
|
44
|
+
// IMMessageContent: {},
|
|
45
|
+
imMessageMeta: {
|
|
46
|
+
time_color: '#999'
|
|
47
|
+
},
|
|
48
|
+
imPermaLink: {
|
|
49
|
+
url_color: '#479dff'
|
|
45
50
|
},
|
|
51
|
+
// IMReplyBubble: {},
|
|
52
|
+
// IMTextBubble: {},
|
|
46
53
|
imageBubble: {
|
|
47
54
|
bg_color: '#212121',
|
|
48
|
-
|
|
55
|
+
bg_color_failed: failedBg,
|
|
56
|
+
alt_text_color: '#e2e4e6',
|
|
57
|
+
alt_text_color_failed: failedColor
|
|
49
58
|
},
|
|
59
|
+
// IMReplyBubble: {},
|
|
60
|
+
// InfoBubble: {},
|
|
61
|
+
// LazyLoadImage: {},
|
|
50
62
|
locationBubble: {
|
|
51
63
|
bg_color: '#212121',
|
|
52
|
-
|
|
53
|
-
border_color: '#161515'
|
|
64
|
+
bg_color_failed: failedBg,
|
|
65
|
+
border_color: '#161515',
|
|
66
|
+
border_color_failed: failedBdr,
|
|
67
|
+
url_color: primaryBlue,
|
|
68
|
+
url_color_failed: failedUrlColor
|
|
54
69
|
},
|
|
55
|
-
|
|
70
|
+
// MediaBubbleWrapper: {},
|
|
71
|
+
// Message: {},
|
|
72
|
+
// MessageAction: {},
|
|
73
|
+
// MessageActions: {},
|
|
74
|
+
// MessageActionsMore: {},
|
|
75
|
+
// MessageActionsWrapper: {},
|
|
76
|
+
// MessageAvatar: {},
|
|
77
|
+
messageBox: {
|
|
78
|
+
incoming_bg_color: incomingBubbleBgColor,
|
|
79
|
+
outgoing_bg_color: outgoingBubbleBgColor,
|
|
80
|
+
bg_color: '#f1f7fe',
|
|
81
|
+
failed_bg_color: failedBgWrapper,
|
|
82
|
+
text_color: messagetextColor
|
|
83
|
+
},
|
|
84
|
+
messageBubble: {
|
|
85
|
+
active_bg_color: bubbleActiveBgColor,
|
|
86
|
+
messageBox_footer_text_color: '#5a616f'
|
|
87
|
+
},
|
|
88
|
+
messageStatus: {
|
|
89
|
+
send_color: messageStatusSendColor,
|
|
90
|
+
read_color: '#479dff',
|
|
91
|
+
failed_color: messageStatusFailedColor
|
|
92
|
+
},
|
|
93
|
+
// MoreActionItem: {},
|
|
94
|
+
// ReplyBubble: {},
|
|
95
|
+
replyBubbleContent: {
|
|
56
96
|
bg_color: '#212121',
|
|
57
|
-
|
|
58
|
-
border_color: '#161515'
|
|
97
|
+
bg_color_failed: failedBg,
|
|
98
|
+
border_color: '#161515',
|
|
99
|
+
border_color_failed: failedBdr,
|
|
100
|
+
line_color: '#cddbf2',
|
|
101
|
+
line_color_failed: failedLine,
|
|
102
|
+
sender_color: '#e2e4e6',
|
|
103
|
+
sender_color_failed: failedColor,
|
|
104
|
+
content_color: '#e2e4e6',
|
|
105
|
+
content_color_failed: failedColor
|
|
59
106
|
},
|
|
60
|
-
|
|
61
|
-
|
|
107
|
+
replyBubbleHeader: {
|
|
108
|
+
text_color: '#e2e4e6',
|
|
109
|
+
text_color_failed: failedColor,
|
|
110
|
+
time_color: '#828994',
|
|
111
|
+
time_color_failed: failedColor
|
|
62
112
|
},
|
|
63
113
|
textBubble: {
|
|
114
|
+
text_color: '#e2e4e6',
|
|
115
|
+
text_color_failed: failedColor,
|
|
64
116
|
see_more_color: primaryBlue,
|
|
65
|
-
|
|
66
|
-
|
|
117
|
+
see_more_color_failed: failedUrlColor,
|
|
118
|
+
url_color: primaryBlue,
|
|
119
|
+
url_color_failed: failedUrlColor
|
|
120
|
+
} // Video: {},
|
|
121
|
+
// VideoBubble: {}
|
|
122
|
+
|
|
67
123
|
}
|
|
68
124
|
};
|
|
@@ -9,4 +9,10 @@ export const primaryBlue = '#479dff';
|
|
|
9
9
|
export const primaryGreen = '#45a159';
|
|
10
10
|
export const primaryOrange = '#ff801f';
|
|
11
11
|
export const primaryRed = '#e94f4f';
|
|
12
|
-
export const primaryYellow = '#d79835';
|
|
12
|
+
export const primaryYellow = '#d79835';
|
|
13
|
+
export const failedBgWrapper = '#6b323f';
|
|
14
|
+
export const failedBg = '#362530';
|
|
15
|
+
export const failedBdr = '#290000';
|
|
16
|
+
export const failedLine = '#290000';
|
|
17
|
+
export const failedColor = '#e2e4e6';
|
|
18
|
+
export const failedUrlColor = '#479dff';
|