@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
|
@@ -16,7 +16,8 @@ import useIMTextBubble from '@zohoim/chat-components-hooks/es/im/IMTextBubble/us
|
|
|
16
16
|
export default function IMTextBubble(props) {
|
|
17
17
|
const {
|
|
18
18
|
moreText,
|
|
19
|
-
customProps
|
|
19
|
+
customProps,
|
|
20
|
+
isFailed
|
|
20
21
|
} = props;
|
|
21
22
|
const {
|
|
22
23
|
textBubbleProps = dummyObject
|
|
@@ -30,7 +31,9 @@ export default function IMTextBubble(props) {
|
|
|
30
31
|
message: sanitizedDisplayMessage,
|
|
31
32
|
moreText: isShowSeeMore ? moreText : '',
|
|
32
33
|
onClickMore: onLoadFullMessage
|
|
33
|
-
}, textBubbleProps
|
|
34
|
+
}, textBubbleProps, {
|
|
35
|
+
isFailed: isFailed
|
|
36
|
+
}));
|
|
34
37
|
}
|
|
35
38
|
IMTextBubble.propTypes = imTextBubblePropTypes;
|
|
36
39
|
IMTextBubble.defaultProps = imTextBubbleDefaultProps;
|
package/es/im/index.js
CHANGED
package/es/index.js
CHANGED
|
@@ -17,7 +17,6 @@ export * from './VideoBubble';
|
|
|
17
17
|
export * from './ImageBubble';
|
|
18
18
|
export * from './TextBubble';
|
|
19
19
|
export * from './LocationBubble';
|
|
20
|
-
export * from './InfoBubble';
|
|
21
20
|
export * from './AttachmentBubbleInfo';
|
|
22
21
|
export * from './Audio';
|
|
23
22
|
export * from './Video';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohoim/chat-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.17",
|
|
4
4
|
"description": "Chat Components",
|
|
5
5
|
"main": "es/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"@zohodesk/utils": "1.3.9",
|
|
36
36
|
"@zohodesk/variables": "1.0.0-beta.30",
|
|
37
37
|
"@zohodesk/virtualizer": "1.0.13",
|
|
38
|
-
"@zohoim/chat-components-hooks": "^0.0.
|
|
39
|
-
"@zohoim/chat-components-utils": "^0.0.
|
|
38
|
+
"@zohoim/chat-components-hooks": "^0.0.15",
|
|
39
|
+
"@zohoim/chat-components-utils": "^0.0.14"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@zohodesk-private/css-variable-migrator": "1.0.1",
|
|
@@ -44,22 +44,5 @@
|
|
|
44
44
|
"jsdom": "22.1.0",
|
|
45
45
|
"react-to-jsx": "1.3.2"
|
|
46
46
|
},
|
|
47
|
-
"
|
|
48
|
-
"css": {
|
|
49
|
-
"plugins": {
|
|
50
|
-
"hasRTL": true,
|
|
51
|
-
"cssVariableReplacement": true
|
|
52
|
-
},
|
|
53
|
-
"patterns": {
|
|
54
|
-
"cssVariableReplacement": [
|
|
55
|
-
"**/src/**",
|
|
56
|
-
"**/lib/**",
|
|
57
|
-
"**/es/**",
|
|
58
|
-
"!**/node_modules/**"
|
|
59
|
-
]
|
|
60
|
-
},
|
|
61
|
-
"cssVariableReplacementConfig": "../../node_modules/@zohodesk-private/css-variable-migrator/es/config/cssVariableReplacementOptions.json"
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"gitHead": "0b3fa05803c74cad58e84613fc54c979493192c0"
|
|
47
|
+
"gitHead": "bb60818da98f0ee842e489c6bfb3a83a22a7485b"
|
|
65
48
|
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/** ** Libraries *** */
|
|
2
|
-
import React from 'react';
|
|
3
|
-
/** ** Hooks *** */
|
|
4
|
-
|
|
5
|
-
import useMergeStyle from '@zohodesk/hooks/es/utils/useMergeStyle';
|
|
6
|
-
/** ** Constants *** */
|
|
7
|
-
|
|
8
|
-
import infoBubbleDefaultProps from './props/defaultProps';
|
|
9
|
-
import infoBubblePropTypes from './props/propTypes';
|
|
10
|
-
/** ** Methods *** */
|
|
11
|
-
|
|
12
|
-
import cssJSLogic from './css/cssJSLogic';
|
|
13
|
-
/** ** Styles *** */
|
|
14
|
-
|
|
15
|
-
import style from './css/InfoBubble.module.css';
|
|
16
|
-
export default function InfoBubble(props) {
|
|
17
|
-
const {
|
|
18
|
-
customStyle
|
|
19
|
-
} = props;
|
|
20
|
-
/* External CSS Customization */
|
|
21
|
-
|
|
22
|
-
const newStyle = useMergeStyle(style, customStyle);
|
|
23
|
-
/* CSS classnames added based on logic */
|
|
24
|
-
|
|
25
|
-
const {
|
|
26
|
-
infoBubbleClass
|
|
27
|
-
} = cssJSLogic(props, newStyle);
|
|
28
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
29
|
-
className: infoBubbleClass
|
|
30
|
-
}, "Working On this...");
|
|
31
|
-
}
|
|
32
|
-
InfoBubble.propTypes = infoBubblePropTypes;
|
|
33
|
-
InfoBubble.defaultProps = infoBubbleDefaultProps;
|
|
34
|
-
InfoBubble.displayName = 'InfoBubble';
|
|
File without changes
|
package/es/InfoBubble/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as InfoBubble } from './InfoBubble';
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
|
|
3
|
-
export default {
|
|
4
|
-
library: 'chat_components',
|
|
5
|
-
variables: {
|
|
6
|
-
messageBubble: {
|
|
7
|
-
active_bg_color: bubbleActiveBgColor,
|
|
8
|
-
messageBox_footer_text_color: '#5a616f'
|
|
9
|
-
},
|
|
10
|
-
messageBox: {
|
|
11
|
-
incoming_bg_color: incomingBubbleBgColor,
|
|
12
|
-
outgoing_bg_color: outgoingBubbleBgColor,
|
|
13
|
-
bg_color: '#f1f7fe',
|
|
14
|
-
failed_bg_color: '#fcebeb',
|
|
15
|
-
text_color: '#000'
|
|
16
|
-
},
|
|
17
|
-
actionIconWrapper: {
|
|
18
|
-
color: actionIconWrapperColor,
|
|
19
|
-
bg_color: actionIconWrapperBgColor,
|
|
20
|
-
border_color: actionIconWrapperBorderColor
|
|
21
|
-
},
|
|
22
|
-
messageStatus: {
|
|
23
|
-
send_color: messageStatusSendColor,
|
|
24
|
-
read_color: messageStatusReadColor,
|
|
25
|
-
failed_color: messageStatusFailedColor
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
|
|
3
|
-
export default {
|
|
4
|
-
library: 'chat_components',
|
|
5
|
-
variables: {
|
|
6
|
-
messageBubble: {
|
|
7
|
-
active_bg_color: bubbleActiveBgColor,
|
|
8
|
-
messageBox_footer_text_color: '#5a616f'
|
|
9
|
-
},
|
|
10
|
-
messageBox: {
|
|
11
|
-
incoming_bg_color: incomingBubbleBgColor,
|
|
12
|
-
outgoing_bg_color: outgoingBubbleBgColor,
|
|
13
|
-
bg_color: '#f1f7fe',
|
|
14
|
-
failed_bg_color: '#fcebeb',
|
|
15
|
-
text_color: '#000'
|
|
16
|
-
},
|
|
17
|
-
actionIconWrapper: {
|
|
18
|
-
color: actionIconWrapperColor,
|
|
19
|
-
bg_color: actionIconWrapperBgColor,
|
|
20
|
-
border_color: actionIconWrapperBorderColor
|
|
21
|
-
},
|
|
22
|
-
messageStatus: {
|
|
23
|
-
send_color: messageStatusSendColor,
|
|
24
|
-
read_color: '#4a91d9',
|
|
25
|
-
failed_color: messageStatusFailedColor
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export const incomingBubbleBgColor = '#232b38';
|
|
2
|
-
export const outgoingBubbleBgColor = '#2c3b4d'; // greenTheme, tealTheme
|
|
3
|
-
|
|
4
|
-
export const outgoingBubbleBgColor2 = '#26373b';
|
|
5
|
-
export const actionIconWrapperColor = '#e2e4e6';
|
|
6
|
-
export const actionIconWrapperBgColor = '#2c3b4d';
|
|
7
|
-
export const actionIconWrapperBorderColor = '#3f536b';
|
|
8
|
-
export const bubbleActiveBgColor = '#1b2e33';
|
|
9
|
-
export const messageStatusSendColor = '#61667a';
|
|
10
|
-
export const messageStatusFailedColor = '#de3535';
|
|
11
|
-
export const messageStatusReadColor = '#479dff';
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
|
|
3
|
-
export default {
|
|
4
|
-
library: 'chat_components',
|
|
5
|
-
variables: {
|
|
6
|
-
messageBubble: {
|
|
7
|
-
active_bg_color: bubbleActiveBgColor,
|
|
8
|
-
messageBox_footer_text_color: '#5a616f'
|
|
9
|
-
},
|
|
10
|
-
messageBox: {
|
|
11
|
-
incoming_bg_color: incomingBubbleBgColor,
|
|
12
|
-
outgoing_bg_color: outgoingBubbleBgColor,
|
|
13
|
-
bg_color: '#f1f7fe',
|
|
14
|
-
failed_bg_color: '#fcebeb',
|
|
15
|
-
text_color: '#000'
|
|
16
|
-
},
|
|
17
|
-
actionIconWrapper: {
|
|
18
|
-
color: actionIconWrapperColor,
|
|
19
|
-
bg_color: actionIconWrapperBgColor,
|
|
20
|
-
border_color: actionIconWrapperBorderColor
|
|
21
|
-
},
|
|
22
|
-
messageStatus: {
|
|
23
|
-
send_color: messageStatusSendColor,
|
|
24
|
-
read_color: messageStatusReadColor,
|
|
25
|
-
failed_color: messageStatusFailedColor
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
|
|
3
|
-
export default {
|
|
4
|
-
library: 'chat_components',
|
|
5
|
-
variables: {
|
|
6
|
-
messageBubble: {
|
|
7
|
-
active_bg_color: bubbleActiveBgColor,
|
|
8
|
-
messageBox_footer_text_color: '#5a616f'
|
|
9
|
-
},
|
|
10
|
-
messageBox: {
|
|
11
|
-
incoming_bg_color: incomingBubbleBgColor,
|
|
12
|
-
outgoing_bg_color: outgoingBubbleBgColor,
|
|
13
|
-
bg_color: '#f1f7fe',
|
|
14
|
-
failed_bg_color: '#fcebeb',
|
|
15
|
-
text_color: '#000'
|
|
16
|
-
},
|
|
17
|
-
actionIconWrapper: {
|
|
18
|
-
color: actionIconWrapperColor,
|
|
19
|
-
bg_color: actionIconWrapperBgColor,
|
|
20
|
-
border_color: actionIconWrapperBorderColor
|
|
21
|
-
},
|
|
22
|
-
messageStatus: {
|
|
23
|
-
send_color: messageStatusSendColor,
|
|
24
|
-
read_color: messageStatusReadColor,
|
|
25
|
-
failed_color: messageStatusFailedColor
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor2, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
|
|
3
|
-
export default {
|
|
4
|
-
library: 'chat_components',
|
|
5
|
-
variables: {
|
|
6
|
-
messageBubble: {
|
|
7
|
-
active_bg_color: bubbleActiveBgColor,
|
|
8
|
-
messageBox_footer_text_color: '#5a616f'
|
|
9
|
-
},
|
|
10
|
-
messageBox: {
|
|
11
|
-
incoming_bg_color: incomingBubbleBgColor,
|
|
12
|
-
outgoing_bg_color: outgoingBubbleBgColor2,
|
|
13
|
-
bg_color: '#f1f7fe',
|
|
14
|
-
failed_bg_color: '#fcebeb',
|
|
15
|
-
text_color: '#000'
|
|
16
|
-
},
|
|
17
|
-
actionIconWrapper: {
|
|
18
|
-
color: actionIconWrapperColor,
|
|
19
|
-
bg_color: actionIconWrapperBgColor,
|
|
20
|
-
border_color: actionIconWrapperBorderColor
|
|
21
|
-
},
|
|
22
|
-
messageStatus: {
|
|
23
|
-
send_color: messageStatusSendColor,
|
|
24
|
-
read_color: '#5cab8b',
|
|
25
|
-
failed_color: messageStatusFailedColor
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
|
|
3
|
-
export default {
|
|
4
|
-
library: 'chat_components',
|
|
5
|
-
variables: {
|
|
6
|
-
messageBubble: {
|
|
7
|
-
active_bg_color: bubbleActiveBgColor,
|
|
8
|
-
messageBox_footer_text_color: '#5a616f'
|
|
9
|
-
},
|
|
10
|
-
messageBox: {
|
|
11
|
-
incoming_bg_color: incomingBubbleBgColor,
|
|
12
|
-
outgoing_bg_color: '#323136',
|
|
13
|
-
bg_color: '#f1f7fe',
|
|
14
|
-
failed_bg_color: '#fcebeb',
|
|
15
|
-
text_color: '#000'
|
|
16
|
-
},
|
|
17
|
-
actionIconWrapper: {
|
|
18
|
-
color: actionIconWrapperColor,
|
|
19
|
-
bg_color: actionIconWrapperBgColor,
|
|
20
|
-
border_color: actionIconWrapperBorderColor
|
|
21
|
-
},
|
|
22
|
-
messageStatus: {
|
|
23
|
-
send_color: messageStatusSendColor,
|
|
24
|
-
read_color: '#f07b61',
|
|
25
|
-
failed_color: messageStatusFailedColor
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
|
|
3
|
-
export default {
|
|
4
|
-
library: 'chat_components',
|
|
5
|
-
variables: {
|
|
6
|
-
messageBubble: {
|
|
7
|
-
active_bg_color: bubbleActiveBgColor,
|
|
8
|
-
messageBox_footer_text_color: '#5a616f'
|
|
9
|
-
},
|
|
10
|
-
messageBox: {
|
|
11
|
-
incoming_bg_color: incomingBubbleBgColor,
|
|
12
|
-
outgoing_bg_color: '#312d3a',
|
|
13
|
-
bg_color: '#f1f7fe',
|
|
14
|
-
failed_bg_color: '#fcebeb',
|
|
15
|
-
text_color: '#000'
|
|
16
|
-
},
|
|
17
|
-
actionIconWrapper: {
|
|
18
|
-
color: actionIconWrapperColor,
|
|
19
|
-
bg_color: actionIconWrapperBgColor,
|
|
20
|
-
border_color: actionIconWrapperBorderColor
|
|
21
|
-
},
|
|
22
|
-
messageStatus: {
|
|
23
|
-
send_color: messageStatusSendColor,
|
|
24
|
-
read_color: '#ff69b4',
|
|
25
|
-
failed_color: messageStatusFailedColor
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor2, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
|
|
3
|
-
export default {
|
|
4
|
-
library: 'chat_components',
|
|
5
|
-
variables: {
|
|
6
|
-
messageBubble: {
|
|
7
|
-
active_bg_color: bubbleActiveBgColor,
|
|
8
|
-
messageBox_footer_text_color: '#5a616f'
|
|
9
|
-
},
|
|
10
|
-
messageBox: {
|
|
11
|
-
incoming_bg_color: incomingBubbleBgColor,
|
|
12
|
-
outgoing_bg_color: outgoingBubbleBgColor2,
|
|
13
|
-
bg_color: '#f1f7fe',
|
|
14
|
-
failed_bg_color: '#fcebeb',
|
|
15
|
-
text_color: '#000'
|
|
16
|
-
},
|
|
17
|
-
actionIconWrapper: {
|
|
18
|
-
color: actionIconWrapperColor,
|
|
19
|
-
bg_color: actionIconWrapperBgColor,
|
|
20
|
-
border_color: actionIconWrapperBorderColor
|
|
21
|
-
},
|
|
22
|
-
messageStatus: {
|
|
23
|
-
send_color: messageStatusSendColor,
|
|
24
|
-
read_color: '#37a5a5',
|
|
25
|
-
failed_color: messageStatusFailedColor
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
|
|
3
|
-
export default {
|
|
4
|
-
library: 'chat_components',
|
|
5
|
-
variables: {
|
|
6
|
-
messageBubble: {
|
|
7
|
-
active_bg_color: bubbleActiveBgColor,
|
|
8
|
-
messageBox_footer_text_color: '#5a616f'
|
|
9
|
-
},
|
|
10
|
-
messageBox: {
|
|
11
|
-
incoming_bg_color: incomingBubbleBgColor,
|
|
12
|
-
outgoing_bg_color: outgoingBubbleBgColor,
|
|
13
|
-
bg_color: '#f1f7fe',
|
|
14
|
-
failed_bg_color: '#fcebeb',
|
|
15
|
-
text_color: '#000'
|
|
16
|
-
},
|
|
17
|
-
actionIconWrapper: {
|
|
18
|
-
color: actionIconWrapperColor,
|
|
19
|
-
bg_color: actionIconWrapperBgColor,
|
|
20
|
-
border_color: actionIconWrapperBorderColor
|
|
21
|
-
},
|
|
22
|
-
messageStatus: {
|
|
23
|
-
send_color: messageStatusSendColor,
|
|
24
|
-
read_color: messageStatusReadColor,
|
|
25
|
-
failed_color: messageStatusFailedColor
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
|
|
3
|
-
export default {
|
|
4
|
-
library: 'chat_components',
|
|
5
|
-
variables: {
|
|
6
|
-
messageBubble: {
|
|
7
|
-
active_bg_color: bubbleActiveBgColor,
|
|
8
|
-
messageBox_footer_text_color: '#5a616f'
|
|
9
|
-
},
|
|
10
|
-
messageBox: {
|
|
11
|
-
incoming_bg_color: incomingBubbleBgColor,
|
|
12
|
-
outgoing_bg_color: outgoingBubbleBgColor,
|
|
13
|
-
bg_color: '#f1f7fe',
|
|
14
|
-
failed_bg_color: '#fcebeb',
|
|
15
|
-
text_color: '#000'
|
|
16
|
-
},
|
|
17
|
-
actionIconWrapper: {
|
|
18
|
-
color: actionIconWrapperColor,
|
|
19
|
-
bg_color: actionIconWrapperBgColor,
|
|
20
|
-
border_color: actionIconWrapperBorderColor
|
|
21
|
-
},
|
|
22
|
-
messageStatus: {
|
|
23
|
-
send_color: messageStatusSendColor,
|
|
24
|
-
read_color: messageStatusReadColor,
|
|
25
|
-
failed_color: messageStatusFailedColor
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
|
|
3
|
-
export default {
|
|
4
|
-
library: 'chat_components',
|
|
5
|
-
variables: {
|
|
6
|
-
messageBubble: {
|
|
7
|
-
active_bg_color: bubbleActiveBgColor,
|
|
8
|
-
messageBox_footer_text_color: '#5a616f'
|
|
9
|
-
},
|
|
10
|
-
messageBox: {
|
|
11
|
-
incoming_bg_color: incomingBubbleBgColor,
|
|
12
|
-
outgoing_bg_color: '#f1f7fe',
|
|
13
|
-
bg_color: '#f1f7fe',
|
|
14
|
-
failed_bg_color: '#fcebeb',
|
|
15
|
-
text_color: '#000'
|
|
16
|
-
},
|
|
17
|
-
actionIconWrapper: {
|
|
18
|
-
color: actionIconWrapperColor,
|
|
19
|
-
bg_color: '#eff4fb',
|
|
20
|
-
border_color: '#cedef2'
|
|
21
|
-
},
|
|
22
|
-
messageStatus: {
|
|
23
|
-
send_color: messageStatusSendColor,
|
|
24
|
-
read_color: '#4a91d9',
|
|
25
|
-
failed_color: messageStatusFailedColor
|
|
26
|
-
},
|
|
27
|
-
imageBubble: {
|
|
28
|
-
bg_color: '#fff'
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export const incomingBubbleBgColor = '#f1f4f9';
|
|
2
|
-
export const outgoingBubbleBgColor = '#f1f7fe';
|
|
3
|
-
export const actionIconWrapperColor = '#000';
|
|
4
|
-
export const actionIconWrapperBgColor = '#f1f7fe';
|
|
5
|
-
export const actionIconWrapperBorderColor = '#b7d1f0';
|
|
6
|
-
export const bubbleActiveBgColor = '#fdffe3';
|
|
7
|
-
export const messageStatusSendColor = '#61667a';
|
|
8
|
-
export const messageStatusFailedColor = '#de3535';
|
|
9
|
-
export const messageStatusReadColor = '#0a73eb';
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
|
|
3
|
-
export default {
|
|
4
|
-
library: 'chat_components',
|
|
5
|
-
variables: {
|
|
6
|
-
messageBubble: {
|
|
7
|
-
active_bg_color: bubbleActiveBgColor,
|
|
8
|
-
messageBox_footer_text_color: '#5a616f'
|
|
9
|
-
},
|
|
10
|
-
messageBox: {
|
|
11
|
-
incoming_bg_color: incomingBubbleBgColor,
|
|
12
|
-
outgoing_bg_color: outgoingBubbleBgColor,
|
|
13
|
-
bg_color: '#f1f7fe',
|
|
14
|
-
failed_bg_color: '#fcebeb',
|
|
15
|
-
text_color: '#000'
|
|
16
|
-
},
|
|
17
|
-
actionIconWrapper: {
|
|
18
|
-
color: actionIconWrapperColor,
|
|
19
|
-
bg_color: actionIconWrapperBgColor,
|
|
20
|
-
border_color: actionIconWrapperBorderColor
|
|
21
|
-
},
|
|
22
|
-
messageStatus: {
|
|
23
|
-
send_color: messageStatusSendColor,
|
|
24
|
-
read_color: messageStatusReadColor,
|
|
25
|
-
failed_color: messageStatusFailedColor
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor, actionIconWrapperBgColor, actionIconWrapperBorderColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messageStatusReadColor } from './commonColorVariable';
|
|
3
|
-
export default {
|
|
4
|
-
library: 'chat_components',
|
|
5
|
-
variables: {
|
|
6
|
-
messageBubble: {
|
|
7
|
-
active_bg_color: bubbleActiveBgColor,
|
|
8
|
-
messageBox_footer_text_color: '#5a616f'
|
|
9
|
-
},
|
|
10
|
-
messageBox: {
|
|
11
|
-
incoming_bg_color: incomingBubbleBgColor,
|
|
12
|
-
outgoing_bg_color: outgoingBubbleBgColor,
|
|
13
|
-
bg_color: '#f1f7fe',
|
|
14
|
-
failed_bg_color: '#fcebeb',
|
|
15
|
-
text_color: '#000'
|
|
16
|
-
},
|
|
17
|
-
actionIconWrapper: {
|
|
18
|
-
color: actionIconWrapperColor,
|
|
19
|
-
bg_color: actionIconWrapperBgColor,
|
|
20
|
-
border_color: actionIconWrapperBorderColor
|
|
21
|
-
},
|
|
22
|
-
messageStatus: {
|
|
23
|
-
send_color: messageStatusSendColor,
|
|
24
|
-
read_color: messageStatusReadColor,
|
|
25
|
-
failed_color: messageStatusFailedColor
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
|
|
3
|
-
export default {
|
|
4
|
-
library: 'chat_components',
|
|
5
|
-
variables: {
|
|
6
|
-
messageBubble: {
|
|
7
|
-
active_bg_color: bubbleActiveBgColor,
|
|
8
|
-
messageBox_footer_text_color: '#5a616f'
|
|
9
|
-
},
|
|
10
|
-
messageBox: {
|
|
11
|
-
incoming_bg_color: incomingBubbleBgColor,
|
|
12
|
-
outgoing_bg_color: '#f1f7fe',
|
|
13
|
-
bg_color: '#f1f7fe',
|
|
14
|
-
failed_bg_color: '#fcebeb',
|
|
15
|
-
text_color: '#000'
|
|
16
|
-
},
|
|
17
|
-
actionIconWrapper: {
|
|
18
|
-
color: actionIconWrapperColor,
|
|
19
|
-
bg_color: '#f1f6f4',
|
|
20
|
-
border_color: '#d4e5dd'
|
|
21
|
-
},
|
|
22
|
-
messageStatus: {
|
|
23
|
-
send_color: messageStatusSendColor,
|
|
24
|
-
read_color: '#5cab8b',
|
|
25
|
-
failed_color: messageStatusFailedColor
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
|
|
3
|
-
export default {
|
|
4
|
-
library: 'chat_components',
|
|
5
|
-
variables: {
|
|
6
|
-
messageBubble: {
|
|
7
|
-
active_bg_color: bubbleActiveBgColor,
|
|
8
|
-
messageBox_footer_text_color: '#5a616f'
|
|
9
|
-
},
|
|
10
|
-
messageBox: {
|
|
11
|
-
incoming_bg_color: incomingBubbleBgColor,
|
|
12
|
-
outgoing_bg_color: '#f1f7fe',
|
|
13
|
-
bg_color: '#f1f7fe',
|
|
14
|
-
failed_bg_color: '#fcebeb',
|
|
15
|
-
text_color: '#000'
|
|
16
|
-
},
|
|
17
|
-
actionIconWrapper: {
|
|
18
|
-
color: actionIconWrapperColor,
|
|
19
|
-
bg_color: '#fcf2f0',
|
|
20
|
-
border_color: '#f6d9d2'
|
|
21
|
-
},
|
|
22
|
-
messageStatus: {
|
|
23
|
-
send_color: messageStatusSendColor,
|
|
24
|
-
read_color: '#f07b61',
|
|
25
|
-
failed_color: messageStatusFailedColor
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor } from './commonColorVariable';
|
|
3
|
-
export default {
|
|
4
|
-
library: 'chat_components',
|
|
5
|
-
variables: {
|
|
6
|
-
messageBubble: {
|
|
7
|
-
active_bg_color: bubbleActiveBgColor,
|
|
8
|
-
messageBox_footer_text_color: '#5a616f'
|
|
9
|
-
},
|
|
10
|
-
messageBox: {
|
|
11
|
-
incoming_bg_color: incomingBubbleBgColor,
|
|
12
|
-
outgoing_bg_color: '#f1f7fe',
|
|
13
|
-
bg_color: '#f1f7fe',
|
|
14
|
-
failed_bg_color: '#fcebeb',
|
|
15
|
-
text_color: '#000'
|
|
16
|
-
},
|
|
17
|
-
actionIconWrapper: {
|
|
18
|
-
color: actionIconWrapperColor,
|
|
19
|
-
bg_color: '#fdf1f7',
|
|
20
|
-
border_color: '#fad5e8'
|
|
21
|
-
},
|
|
22
|
-
messageStatus: {
|
|
23
|
-
send_color: messageStatusSendColor,
|
|
24
|
-
read_color: '#ff69b4',
|
|
25
|
-
failed_color: messageStatusFailedColor
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
};
|