@zohoim/chat-components 1.0.9-beta.4 → 1.0.9-beta.5
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/AttachmentHandler/AttachmentHandler.js +84 -0
- package/es/AttachmentHandler/css/AttachmentHandler.module.css +27 -0
- package/es/AttachmentHandler/index.js +1 -0
- package/es/AttachmentHandler/props/defaultProps.js +10 -0
- package/es/AttachmentHandler/props/propTypes.js +17 -0
- package/es/AttachmentPreview/AttachmentPreview.js +115 -0
- package/es/AttachmentPreview/css/AttachmentPreview.module.css +39 -0
- package/es/AttachmentPreview/index.js +1 -0
- package/es/AttachmentPreview/props/defaultProps.js +8 -0
- package/es/AttachmentPreview/props/propTypes.js +32 -0
- package/es/AttachmentPreviewBody/AttachmentPreviewBody.js +81 -0
- package/es/AttachmentPreviewBody/css/AttachmentPreviewBody.module.css +70 -0
- package/es/AttachmentPreviewBody/index.js +1 -0
- package/es/AttachmentPreviewBody/props/defaultProps.js +7 -0
- package/es/AttachmentPreviewBody/props/propTypes.js +20 -0
- package/es/AttachmentPreviewHeader/AttachmentPreviewHeader.js +84 -0
- package/es/AttachmentPreviewHeader/css/AttachmentPreviewHeader.module.css +47 -0
- package/es/AttachmentPreviewHeader/index.js +1 -0
- package/es/AttachmentPreviewHeader/props/defaultProps.js +7 -0
- package/es/AttachmentPreviewHeader/props/propTypes.js +16 -0
- package/es/Emoji/Emoji.js +72 -0
- package/es/Emoji/css/Emoji.module.css +48 -0
- package/es/Emoji/css/cssJSLogic.js +18 -0
- package/es/Emoji/index.js +1 -0
- package/es/Emoji/props/defaultProps.js +8 -0
- package/es/Emoji/props/propTypes.js +16 -0
- package/es/EmojiPopup/EmojiPopup.js +116 -0
- package/es/EmojiPopup/css/EmojiPopup.module.css +55 -0
- package/es/EmojiPopup/index.js +1 -0
- package/es/EmojiPopup/props/defaultProps.js +11 -0
- package/es/EmojiPopup/props/propTypes.js +21 -0
- package/es/Emojis/Emojis.js +79 -0
- package/es/Emojis/index.js +1 -0
- package/es/Emojis/props/defaultProps.js +10 -0
- package/es/Emojis/props/propTypes.js +19 -0
- package/es/EmojisEmptyState/EmojisEmptyState.js +50 -0
- package/es/EmojisEmptyState/css/EmojisEmptyState.module.css +18 -0
- package/es/EmojisEmptyState/index.js +1 -0
- package/es/EmojisEmptyState/props/defaultProps.js +9 -0
- package/es/EmojisEmptyState/props/propTypes.js +8 -0
- package/es/EmojisFooter/EmojisFooter.js +71 -0
- package/es/EmojisFooter/css/EmojisFooter.module.css +40 -0
- package/es/EmojisFooter/index.js +1 -0
- package/es/EmojisFooter/props/defaultProps.js +7 -0
- package/es/EmojisFooter/props/propTypes.js +12 -0
- package/es/EmojisHeader/EmojisHeader.js +65 -0
- package/es/EmojisHeader/css/EmojisHeader.module.css +36 -0
- package/es/EmojisHeader/index.js +1 -0
- package/es/EmojisHeader/props/defaultProps.js +8 -0
- package/es/EmojisHeader/props/propTypes.js +13 -0
- package/es/EmojisList/EmojisList.js +130 -0
- package/es/EmojisList/css/EmojisList.module.css +50 -0
- package/es/EmojisList/css/cssJSLogic.js +25 -0
- package/es/EmojisList/index.js +1 -0
- package/es/EmojisList/props/defaultProps.js +10 -0
- package/es/EmojisList/props/propTypes.js +20 -0
- package/es/Message/Message.js +2 -8
- package/es/MessageActions/MessageActions.js +0 -2
- package/es/MessageActions/props/propTypes.js +1 -2
- package/es/MessageActionsMore/MessageActionsMore.js +3 -5
- package/es/MessageActionsMore/props/propTypes.js +5 -3
- package/es/MessageActionsWrapper/MessageActionsWrapper.js +4 -7
- package/es/MessageActionsWrapper/props/propTypes.js +1 -2
- package/es/MessageBubble/css/MessageBubble.module.css +7 -0
- package/es/MessageBubble/props/defaultProps.js +1 -2
- package/es/MessageBubble/props/propTypes.js +1 -2
- package/es/Theme/ThemeAssets.js +2 -2
- package/es/Theme/ThemeWrapper.js +18 -7
- package/es/Theme/TooltipWrapper.js +1 -1
- package/es/Theme/props/defaultProps.js +2 -1
- package/es/Theme/props/propTypes.js +2 -1
- package/es/Theme/themeVariables/dark/blueTheme.js +18 -1
- package/es/Theme/themeVariables/dark/commonColorVariable.js +20 -1
- package/es/Theme/themeVariables/dark/greenTheme.js +18 -1
- package/es/Theme/themeVariables/dark/orangeTheme.js +18 -1
- package/es/Theme/themeVariables/dark/redTheme.js +18 -1
- package/es/Theme/themeVariables/dark/yellowTheme.js +18 -1
- package/es/Theme/themeVariables/light/blueTheme.js +22 -1
- package/es/Theme/themeVariables/light/commonColorVariable.js +19 -0
- package/es/Theme/themeVariables/light/greenTheme.js +18 -1
- package/es/Theme/themeVariables/light/orangeTheme.js +18 -1
- package/es/Theme/themeVariables/light/redTheme.js +18 -1
- package/es/Theme/themeVariables/light/yellowTheme.js +18 -1
- package/es/Theme/themeVariables/pureDark/blueTheme.js +18 -1
- package/es/Theme/themeVariables/pureDark/commonColorVariable.js +20 -1
- package/es/Theme/themeVariables/pureDark/greenTheme.js +18 -1
- package/es/Theme/themeVariables/pureDark/orangeTheme.js +18 -1
- package/es/Theme/themeVariables/pureDark/redTheme.js +18 -1
- package/es/Theme/themeVariables/pureDark/yellowTheme.js +18 -1
- package/es/Theme/utils/getThemeConfigurations.js +1 -1
- package/es/constants/index.js +7 -1
- package/es/constants/propConstants/editorPropConstants.js +3 -0
- package/es/constants/propConstants/popupPropConstants.js +2 -0
- package/es/im/IMAttachmentHandler/IMAttachmentHandler.js +50 -0
- package/es/im/IMAttachmentHandler/index.js +1 -0
- package/es/im/IMAttachmentHandler/props/defaultProps.js +10 -0
- package/es/im/IMAttachmentHandler/props/propTypes.js +28 -0
- package/es/im/ReplyComposer/ReplyComposer.js +137 -0
- package/es/im/ReplyComposer/css/ReplyComposer.module.css +5 -0
- package/es/im/ReplyComposer/index.js +1 -0
- package/es/im/ReplyComposer/props/defaultProps.js +7 -0
- package/es/im/ReplyComposer/props/propTypes.js +60 -0
- package/es/im/ReplyComposerFooter/ReplyComposerFooter.js +41 -0
- package/es/im/ReplyComposerFooter/css/ReplyComposerFooter.module.css +10 -0
- package/es/im/ReplyComposerFooter/index.js +1 -0
- package/es/im/ReplyComposerFooter/props/defaultProps.js +8 -0
- package/es/im/ReplyComposerFooter/props/propTypes.js +17 -0
- package/es/im/ReplyEditor/ReplyEditor.js +103 -0
- package/es/im/ReplyEditor/css/ReplyEditor.module.css +48 -0
- package/es/im/ReplyEditor/css/cssJSLogic.js +10 -0
- package/es/im/ReplyEditor/index.js +1 -0
- package/es/im/ReplyEditor/props/defaultProps.js +8 -0
- package/es/im/ReplyEditor/props/propTypes.js +27 -0
- package/es/im/ReplyEditorExtensions/ReplyEditorExtensions.js +149 -0
- package/es/im/ReplyEditorExtensions/css/ReplyEditorExtensions.module.css +5 -0
- package/es/im/ReplyEditorExtensions/index.js +1 -0
- package/es/im/ReplyEditorExtensions/props/defaultProps.js +6 -0
- package/es/im/ReplyEditorExtensions/props/propTypes.js +16 -0
- package/es/im/ReplyEditorSuggestions/ReplyEditorSuggestions.js +93 -0
- package/es/im/ReplyEditorSuggestions/css/ReplyEditorSuggestions.module.css +8 -0
- package/es/im/ReplyEditorSuggestions/index.js +1 -0
- package/es/im/ReplyEditorSuggestions/props/defaultProps.js +6 -0
- package/es/im/ReplyEditorSuggestions/props/propTypes.js +21 -0
- package/es/im/ReplyEditorSuggestionsPopup/ReplyEditorSuggestionsPopup.js +91 -0
- package/es/im/ReplyEditorSuggestionsPopup/css/ReplyEditorSuggestionsPopup.module.css +7 -0
- package/es/im/ReplyEditorSuggestionsPopup/index.js +1 -0
- package/es/im/ReplyEditorSuggestionsPopup/props/defaultProps.js +10 -0
- package/es/im/ReplyEditorSuggestionsPopup/props/propTypes.js +21 -0
- package/es/im/index.js +8 -1
- package/es/index.js +13 -2
- package/es/rte/Editor/Editor.js +80 -0
- package/es/rte/Editor/css/Editor.module.css +17 -0
- package/es/rte/Editor/index.js +1 -0
- package/es/rte/Editor/props/defaultProps.js +21 -0
- package/es/rte/Editor/props/propTypes.js +52 -0
- package/es/rte/index.js +1 -0
- package/package.json +7 -7
- package/es/Theme/constants/index.js +0 -41
package/es/Theme/ThemeWrapper.js
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
/** ** Libraries *** */
|
|
2
2
|
import React, { useMemo, useCallback } from 'react';
|
|
3
|
+
/** ** Providers *** */
|
|
4
|
+
|
|
5
|
+
import ThemeContext from '@zohoim/chat-components-hooks/es/Theme/ThemeContext';
|
|
3
6
|
/** ** Constants *** */
|
|
4
7
|
|
|
5
8
|
import themeWrapperPropTypes from "./props/propTypes";
|
|
6
9
|
import themeWrapperDefaultProps from "./props/defaultProps";
|
|
7
|
-
import { styleTagId } from
|
|
8
|
-
import { MSG_ACTION_POPUP_PORTAL } from "../constants";
|
|
10
|
+
import { styleTagId } from '@zohoim/chat-components-utils/es/constants/themeConstants';
|
|
11
|
+
import { MSG_ACTION_POPUP_PORTAL, EDITOR_POPUP_PORTAL } from "../constants";
|
|
9
12
|
/** ** Components *** */
|
|
10
13
|
|
|
11
14
|
import ThemeAssets from "./ThemeAssets";
|
|
@@ -29,7 +32,8 @@ export default function ThemeWrapper(props) {
|
|
|
29
32
|
theme: propTheme,
|
|
30
33
|
modeKey,
|
|
31
34
|
themeKey,
|
|
32
|
-
tooltipCustomStyle
|
|
35
|
+
tooltipCustomStyle,
|
|
36
|
+
direction
|
|
33
37
|
} = props;
|
|
34
38
|
/** ** containerRef for Tooltip *** */
|
|
35
39
|
|
|
@@ -60,9 +64,11 @@ export default function ThemeWrapper(props) {
|
|
|
60
64
|
});
|
|
61
65
|
/** ** Children Render Functions *** */
|
|
62
66
|
|
|
63
|
-
const renderPortal = useCallback(() => /*#__PURE__*/React.createElement("div", {
|
|
67
|
+
const renderPortal = useCallback(() => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
64
68
|
"data-portal": MSG_ACTION_POPUP_PORTAL
|
|
65
|
-
}),
|
|
69
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
70
|
+
"data-portal": EDITOR_POPUP_PORTAL
|
|
71
|
+
})), []);
|
|
66
72
|
const renderStyle = useCallback(() => /*#__PURE__*/React.createElement("style", {
|
|
67
73
|
id: "zoho-im-variables"
|
|
68
74
|
}, `${selector}{${customizedVariables}}`), [selector, customizedVariables]);
|
|
@@ -71,7 +77,12 @@ export default function ThemeWrapper(props) {
|
|
|
71
77
|
customStyle: tooltipCustomStyle,
|
|
72
78
|
getContainerRef: getContainerRef
|
|
73
79
|
}) : null), [getContainerRef, needTooltip, needThemeAssets, tooltipCustomStyle]);
|
|
74
|
-
return /*#__PURE__*/React.createElement(
|
|
80
|
+
return /*#__PURE__*/React.createElement(ThemeContext.Provider, {
|
|
81
|
+
value: {
|
|
82
|
+
mode: propMode,
|
|
83
|
+
direction
|
|
84
|
+
}
|
|
85
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
75
86
|
id: styleTagId,
|
|
76
87
|
...wrapperDivProps,
|
|
77
88
|
style: {
|
|
@@ -80,7 +91,7 @@ export default function ThemeWrapper(props) {
|
|
|
80
91
|
}
|
|
81
92
|
}, renderStyle(), /*#__PURE__*/React.createElement(Container, {
|
|
82
93
|
eleRef: containerRef
|
|
83
|
-
}, children), renderPortal(), renderAssets());
|
|
94
|
+
}, children), renderPortal(), renderAssets()));
|
|
84
95
|
}
|
|
85
96
|
ThemeWrapper.propTypes = themeWrapperPropTypes;
|
|
86
97
|
ThemeWrapper.defaultProps = themeWrapperDefaultProps;
|
|
@@ -9,7 +9,7 @@ import Tooltip from '@zohodesk/components/es/Tooltip/Tooltip';
|
|
|
9
9
|
import useMergeStyle from '@zohodesk/hooks/es/utils/useMergeStyle';
|
|
10
10
|
/** ** Methods *** */
|
|
11
11
|
|
|
12
|
-
import { setLibraryConfig, getLibraryConfig } from '@zohodesk/components/
|
|
12
|
+
import { setLibraryConfig, getLibraryConfig } from '@zohodesk/components/es/Provider/Config';
|
|
13
13
|
/** ** Constants *** */
|
|
14
14
|
|
|
15
15
|
import { dummyObject } from '@zohoim/chat-components-utils/es/constants/emptyConstants';
|
|
@@ -9,6 +9,7 @@ const themeWrapperPropTypes = {
|
|
|
9
9
|
needTooltip: PropTypes.bool,
|
|
10
10
|
themeConfigurations: PropTypes.object,
|
|
11
11
|
themeKey: PropTypes.string,
|
|
12
|
-
tooltipCustomStyle: PropTypes.object
|
|
12
|
+
tooltipCustomStyle: PropTypes.object,
|
|
13
|
+
direction: PropTypes.oneOf(['ltr', 'rtl'])
|
|
13
14
|
};
|
|
14
15
|
export default themeWrapperPropTypes;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryBlue, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor } from "./commonColorVariable";
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryBlue, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, replyEditor, emojiPopup, emojisHeader, attachmentPreviewHeader } from "./commonColorVariable";
|
|
3
3
|
import { imIntegrationIcon, imTtIcon, messagetextColor } from "../commonThemeColorVariable";
|
|
4
4
|
export default {
|
|
5
5
|
library: 'chat_components',
|
|
@@ -111,6 +111,23 @@ export default {
|
|
|
111
111
|
videoBubble: {
|
|
112
112
|
border_color: '#2d3748',
|
|
113
113
|
border_color_failed: failedBdr
|
|
114
|
+
},
|
|
115
|
+
emojiFooter: {
|
|
116
|
+
tabLine: primaryBlue,
|
|
117
|
+
border_color: '#2d3748'
|
|
118
|
+
},
|
|
119
|
+
replyEditor,
|
|
120
|
+
emojiPopup: { ...emojiPopup,
|
|
121
|
+
ttIcon_path1_color: '#5f6478',
|
|
122
|
+
ttIcon_path2_color: 'var(--dot_platinum)'
|
|
123
|
+
},
|
|
124
|
+
emojisHeader,
|
|
125
|
+
attachmentPreviewHeader,
|
|
126
|
+
attachmentPreviewBody: {
|
|
127
|
+
bg_color: '#262f3d',
|
|
128
|
+
editor_border_color: '#3e4d63',
|
|
129
|
+
editor_border_hover_color: '#828994',
|
|
130
|
+
editor_border_active_color: '#479dff'
|
|
114
131
|
}
|
|
115
132
|
}
|
|
116
133
|
};
|
|
@@ -13,4 +13,23 @@ export const failedBg = '#f6dcdf';
|
|
|
13
13
|
export const failedBdr = '#eb9ea7';
|
|
14
14
|
export const failedLine = '#eb9ea7';
|
|
15
15
|
export const failedColor = '#000';
|
|
16
|
-
export const failedUrlColor = '#0a73eb';
|
|
16
|
+
export const failedUrlColor = '#0a73eb';
|
|
17
|
+
export const emojiPopup = {
|
|
18
|
+
bg: '#f1f4f9',
|
|
19
|
+
border: '#f1f4f9',
|
|
20
|
+
titleColor: '#aaa'
|
|
21
|
+
};
|
|
22
|
+
export const replyEditor = {
|
|
23
|
+
bg: '#242b38',
|
|
24
|
+
color: '#e2e4e6',
|
|
25
|
+
placeholder: '#5a616f'
|
|
26
|
+
};
|
|
27
|
+
export const emojisHeader = {
|
|
28
|
+
bg_color: '#283442',
|
|
29
|
+
border_color: '#2d3748'
|
|
30
|
+
};
|
|
31
|
+
export const attachmentPreviewHeader = {
|
|
32
|
+
bg_color: '#232b38',
|
|
33
|
+
name_color: '#e2e4e6',
|
|
34
|
+
size_color: '#a8b0bd'
|
|
35
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryGreen, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor } from "./commonColorVariable";
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryGreen, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, emojiPopup, replyEditor, emojisHeader, attachmentPreviewHeader } from "./commonColorVariable";
|
|
3
3
|
import { imIntegrationIcon, imTtIcon, messagetextColor } from "../commonThemeColorVariable";
|
|
4
4
|
export default {
|
|
5
5
|
library: 'chat_components',
|
|
@@ -110,6 +110,23 @@ export default {
|
|
|
110
110
|
videoBubble: {
|
|
111
111
|
border_color: '#2d3748',
|
|
112
112
|
border_color_failed: failedBdr
|
|
113
|
+
},
|
|
114
|
+
emojiFooter: {
|
|
115
|
+
tabLine: primaryGreen,
|
|
116
|
+
border_color: '#2d3748'
|
|
117
|
+
},
|
|
118
|
+
emojiPopup: { ...emojiPopup,
|
|
119
|
+
ttIcon_path1_color: '#5f6478',
|
|
120
|
+
ttIcon_path2_color: 'var(--dot_platinum)'
|
|
121
|
+
},
|
|
122
|
+
replyEditor,
|
|
123
|
+
emojisHeader,
|
|
124
|
+
attachmentPreviewHeader,
|
|
125
|
+
attachmentPreviewBody: {
|
|
126
|
+
bg_color: '#262f3d',
|
|
127
|
+
editor_border_color: '#3e4d63',
|
|
128
|
+
editor_border_hover_color: '#828994',
|
|
129
|
+
editor_border_active_color: '#45a159'
|
|
113
130
|
}
|
|
114
131
|
}
|
|
115
132
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryOrange, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor } from "./commonColorVariable";
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryOrange, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, emojiPopup, replyEditor, emojisHeader, attachmentPreviewHeader } from "./commonColorVariable";
|
|
3
3
|
import { imIntegrationIcon, imTtIcon, messagetextColor } from "../commonThemeColorVariable";
|
|
4
4
|
export default {
|
|
5
5
|
library: 'chat_components',
|
|
@@ -110,6 +110,23 @@ export default {
|
|
|
110
110
|
videoBubble: {
|
|
111
111
|
border_color: '#2d3748',
|
|
112
112
|
border_color_failed: failedBdr
|
|
113
|
+
},
|
|
114
|
+
emojiFooter: {
|
|
115
|
+
tabLine: primaryOrange,
|
|
116
|
+
border_color: '#2d3748'
|
|
117
|
+
},
|
|
118
|
+
emojiPopup: { ...emojiPopup,
|
|
119
|
+
ttIcon_path1_color: '#5f6478',
|
|
120
|
+
ttIcon_path2_color: 'var(--dot_platinum)'
|
|
121
|
+
},
|
|
122
|
+
replyEditor,
|
|
123
|
+
emojisHeader,
|
|
124
|
+
attachmentPreviewHeader,
|
|
125
|
+
attachmentPreviewBody: {
|
|
126
|
+
bg_color: '#262f3d',
|
|
127
|
+
editor_border_color: '#3e4d63',
|
|
128
|
+
editor_border_hover_color: '#828994',
|
|
129
|
+
editor_border_active_color: '#ff801f'
|
|
113
130
|
}
|
|
114
131
|
}
|
|
115
132
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryRed, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor } from "./commonColorVariable";
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryRed, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, emojiPopup, replyEditor, emojisHeader, attachmentPreviewHeader } from "./commonColorVariable";
|
|
3
3
|
import { imIntegrationIcon, imTtIcon, messagetextColor } from "../commonThemeColorVariable";
|
|
4
4
|
export default {
|
|
5
5
|
library: 'chat_components',
|
|
@@ -110,6 +110,23 @@ export default {
|
|
|
110
110
|
videoBubble: {
|
|
111
111
|
border_color: 'hsl(258.46deg 12.62% 23.2%)',
|
|
112
112
|
border_color_failed: failedBdr
|
|
113
|
+
},
|
|
114
|
+
emojiFooter: {
|
|
115
|
+
tabLine: primaryRed,
|
|
116
|
+
border_color: 'hsl(258.46deg 12.62% 23.2%)'
|
|
117
|
+
},
|
|
118
|
+
emojiPopup: { ...emojiPopup,
|
|
119
|
+
ttIcon_path1_color: '#5f6478',
|
|
120
|
+
ttIcon_path2_color: 'var(--dot_platinum)'
|
|
121
|
+
},
|
|
122
|
+
replyEditor,
|
|
123
|
+
emojisHeader,
|
|
124
|
+
attachmentPreviewHeader,
|
|
125
|
+
attachmentPreviewBody: {
|
|
126
|
+
bg_color: '#262f3d',
|
|
127
|
+
editor_border_color: '#3e4d63',
|
|
128
|
+
editor_border_hover_color: '#828994',
|
|
129
|
+
editor_border_active_color: '#e94f4f'
|
|
113
130
|
}
|
|
114
131
|
}
|
|
115
132
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryYellow, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor } from "./commonColorVariable";
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryYellow, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, emojiPopup, replyEditor, emojisHeader, attachmentPreviewHeader } from "./commonColorVariable";
|
|
3
3
|
import { imIntegrationIcon, imTtIcon, messagetextColor } from "../commonThemeColorVariable";
|
|
4
4
|
export default {
|
|
5
5
|
library: 'chat_components',
|
|
@@ -110,6 +110,23 @@ export default {
|
|
|
110
110
|
videoBubble: {
|
|
111
111
|
border_color: '#2d3748',
|
|
112
112
|
border_color_failed: failedBdr
|
|
113
|
+
},
|
|
114
|
+
emojiFooter: {
|
|
115
|
+
tabLine: primaryYellow,
|
|
116
|
+
border_color: '#2d3748'
|
|
117
|
+
},
|
|
118
|
+
emojiPopup: { ...emojiPopup,
|
|
119
|
+
ttIcon_path1_color: '#5f6478',
|
|
120
|
+
ttIcon_path2_color: 'var(--dot_platinum)'
|
|
121
|
+
},
|
|
122
|
+
replyEditor,
|
|
123
|
+
emojisHeader,
|
|
124
|
+
attachmentPreviewHeader,
|
|
125
|
+
attachmentPreviewBody: {
|
|
126
|
+
bg_color: '#262f3d',
|
|
127
|
+
editor_border_color: '#3e4d63',
|
|
128
|
+
editor_border_hover_color: '#828994',
|
|
129
|
+
editor_border_active_color: '#d79835'
|
|
113
130
|
}
|
|
114
131
|
}
|
|
115
132
|
};
|
|
@@ -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, imTtIcon } from "./commonColorVariable";
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messagetextColor, primaryBlue, white, black, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, imIntegrationIcon, imTtIcon, replyEditor, emojiPopup, emojisHeader, attachmentPreviewHeader } from "./commonColorVariable";
|
|
3
3
|
export default {
|
|
4
4
|
library: 'chat_components',
|
|
5
5
|
variables: {
|
|
@@ -109,6 +109,27 @@ export default {
|
|
|
109
109
|
videoBubble: {
|
|
110
110
|
border_color: '#ebf0f5',
|
|
111
111
|
border_color_failed: failedBdr
|
|
112
|
+
},
|
|
113
|
+
emoji: {
|
|
114
|
+
active_bg_color: 'red',
|
|
115
|
+
hover_bg_color: 'green'
|
|
116
|
+
},
|
|
117
|
+
replyEditor,
|
|
118
|
+
emojiPopup: { ...emojiPopup,
|
|
119
|
+
ttIcon_path1_color: 'rgba(200, 203, 220, 0.7)',
|
|
120
|
+
ttIcon_path2_color: 'var(--dot_black)'
|
|
121
|
+
},
|
|
122
|
+
emojiFooter: {
|
|
123
|
+
tabLine: primaryBlue,
|
|
124
|
+
border_color: '#ebf0f5'
|
|
125
|
+
},
|
|
126
|
+
emojisHeader,
|
|
127
|
+
attachmentPreviewHeader,
|
|
128
|
+
attachmentPreviewBody: {
|
|
129
|
+
bg_color: '#f5f6f7',
|
|
130
|
+
editor_border_color: '#c8cbdc',
|
|
131
|
+
editor_border_hover_color: '#788190',
|
|
132
|
+
editor_border_active_color: '#0a73eb'
|
|
112
133
|
}
|
|
113
134
|
}
|
|
114
135
|
};
|
|
@@ -32,4 +32,23 @@ export const imIntegrationIcon = {
|
|
|
32
32
|
export const imTtIcon = {
|
|
33
33
|
path0_color: 'rgba(200,203,220,0.7)',
|
|
34
34
|
path1_color: '#000'
|
|
35
|
+
};
|
|
36
|
+
export const replyEditor = {
|
|
37
|
+
bg: '#fff',
|
|
38
|
+
color: '#000',
|
|
39
|
+
placeholder: '#c8cbdc'
|
|
40
|
+
};
|
|
41
|
+
export const emojiPopup = {
|
|
42
|
+
bg: '#f1f4f9',
|
|
43
|
+
border: '#f1f4f9',
|
|
44
|
+
titleColor: '#aaa'
|
|
45
|
+
};
|
|
46
|
+
export const emojisHeader = {
|
|
47
|
+
bg_color: '#fafafa',
|
|
48
|
+
border_color: '#ede8e8'
|
|
49
|
+
};
|
|
50
|
+
export const attachmentPreviewHeader = {
|
|
51
|
+
bg_color: '#fff',
|
|
52
|
+
name_color: '#000',
|
|
53
|
+
size_color: '#5a616f'
|
|
35
54
|
};
|
|
@@ -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, imTtIcon } from "./commonColorVariable";
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messagetextColor, primaryGreen, white, black, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, imIntegrationIcon, imTtIcon, replyEditor, emojisHeader, attachmentPreviewHeader, emojiPopup } from "./commonColorVariable";
|
|
3
3
|
export default {
|
|
4
4
|
library: 'chat_components',
|
|
5
5
|
variables: {
|
|
@@ -109,6 +109,23 @@ export default {
|
|
|
109
109
|
videoBubble: {
|
|
110
110
|
border_color: '#ebf0f5',
|
|
111
111
|
border_color_failed: failedBdr
|
|
112
|
+
},
|
|
113
|
+
emojiFooter: {
|
|
114
|
+
tabLine: primaryGreen,
|
|
115
|
+
border_color: '#ebf0f5'
|
|
116
|
+
},
|
|
117
|
+
replyEditor,
|
|
118
|
+
emojisHeader,
|
|
119
|
+
attachmentPreviewHeader,
|
|
120
|
+
attachmentPreviewBody: {
|
|
121
|
+
bg_color: '#f5f6f7',
|
|
122
|
+
editor_border_color: '#c5cdc7',
|
|
123
|
+
editor_border_hover_color: '#788190',
|
|
124
|
+
editor_border_active_color: '#26a942'
|
|
125
|
+
},
|
|
126
|
+
emojiPopup: { ...emojiPopup,
|
|
127
|
+
ttIcon_path1_color: 'rgba(197, 205, 199, 0.7)',
|
|
128
|
+
ttIcon_path2_color: 'var(--dot_black)'
|
|
112
129
|
}
|
|
113
130
|
}
|
|
114
131
|
};
|
|
@@ -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, imTtIcon } from "./commonColorVariable";
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messagetextColor, primaryOrange, white, black, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, imIntegrationIcon, imTtIcon, replyEditor, emojisHeader, attachmentPreviewHeader, emojiPopup } from "./commonColorVariable";
|
|
3
3
|
export default {
|
|
4
4
|
library: 'chat_components',
|
|
5
5
|
variables: {
|
|
@@ -109,6 +109,23 @@ export default {
|
|
|
109
109
|
videoBubble: {
|
|
110
110
|
border_color: '#ebf0f5',
|
|
111
111
|
border_color_failed: failedBdr
|
|
112
|
+
},
|
|
113
|
+
emojiFooter: {
|
|
114
|
+
tabLine: primaryOrange,
|
|
115
|
+
border_color: '#ebf0f5'
|
|
116
|
+
},
|
|
117
|
+
replyEditor,
|
|
118
|
+
emojisHeader,
|
|
119
|
+
attachmentPreviewHeader,
|
|
120
|
+
attachmentPreviewBody: {
|
|
121
|
+
bg_color: '#f5f6f7',
|
|
122
|
+
editor_border_color: '#d1cbc6',
|
|
123
|
+
editor_border_hover_color: '#788190',
|
|
124
|
+
editor_border_active_color: '#e57717'
|
|
125
|
+
},
|
|
126
|
+
emojiPopup: { ...emojiPopup,
|
|
127
|
+
ttIcon_path1_color: 'rgba(204, 201, 199, 0.7)',
|
|
128
|
+
ttIcon_path2_color: 'var(--dot_black)'
|
|
112
129
|
}
|
|
113
130
|
}
|
|
114
131
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messagetextColor, primaryRed, white, black, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, imIntegrationIcon, imTtIcon } from "./commonColorVariable";
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messagetextColor, primaryRed, white, black, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, imIntegrationIcon, imTtIcon, replyEditor, emojisHeader, attachmentPreviewHeader, emojiPopup } from "./commonColorVariable";
|
|
3
3
|
export default {
|
|
4
4
|
library: 'chat_components',
|
|
5
5
|
variables: {
|
|
@@ -109,6 +109,23 @@ export default {
|
|
|
109
109
|
videoBubble: {
|
|
110
110
|
border_color: '#ebf0f5',
|
|
111
111
|
border_color_failed: failedBdr
|
|
112
|
+
},
|
|
113
|
+
emojiFooter: {
|
|
114
|
+
tabLine: primaryRed,
|
|
115
|
+
border_color: '#ebf0f5'
|
|
116
|
+
},
|
|
117
|
+
replyEditor,
|
|
118
|
+
emojisHeader,
|
|
119
|
+
attachmentPreviewHeader,
|
|
120
|
+
attachmentPreviewBody: {
|
|
121
|
+
bg_color: '#f5f6f7',
|
|
122
|
+
editor_border_color: '#b9b2b4',
|
|
123
|
+
editor_border_hover_color: '#788190',
|
|
124
|
+
editor_border_active_color: '#de3535'
|
|
125
|
+
},
|
|
126
|
+
emojiPopup: { ...emojiPopup,
|
|
127
|
+
ttIcon_path1_color: 'rgba(204, 199, 201, 0.7)',
|
|
128
|
+
ttIcon_path2_color: 'var(--dot_black)'
|
|
112
129
|
}
|
|
113
130
|
}
|
|
114
131
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messagetextColor, primaryYellow, white, black, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, imIntegrationIcon, imTtIcon } from "./commonColorVariable";
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messagetextColor, primaryYellow, white, black, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, imIntegrationIcon, imTtIcon, replyEditor, emojisHeader, attachmentPreviewHeader, emojiPopup } from "./commonColorVariable";
|
|
3
3
|
export default {
|
|
4
4
|
library: 'chat_components',
|
|
5
5
|
variables: {
|
|
@@ -109,6 +109,23 @@ export default {
|
|
|
109
109
|
videoBubble: {
|
|
110
110
|
border_color: '#ebf0f5',
|
|
111
111
|
border_color_failed: failedBdr
|
|
112
|
+
},
|
|
113
|
+
emojiFooter: {
|
|
114
|
+
tabLine: primaryYellow,
|
|
115
|
+
border_color: '#ebf0f5'
|
|
116
|
+
},
|
|
117
|
+
replyEditor,
|
|
118
|
+
emojisHeader,
|
|
119
|
+
attachmentPreviewHeader,
|
|
120
|
+
attachmentPreviewBody: {
|
|
121
|
+
bg_color: '#f5f6f7',
|
|
122
|
+
editor_border_color: '#ccc2a4',
|
|
123
|
+
editor_border_hover_color: '#788190',
|
|
124
|
+
editor_border_active_color: '#e8b923'
|
|
125
|
+
},
|
|
126
|
+
emojiPopup: { ...emojiPopup,
|
|
127
|
+
ttIcon_path1_color: 'rgba(204, 203, 199, 0.7)',
|
|
128
|
+
ttIcon_path2_color: 'var(--dot_black)'
|
|
112
129
|
}
|
|
113
130
|
}
|
|
114
131
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryBlue, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor } from "./commonColorVariable";
|
|
2
|
+
import { incomingBubbleBgColor, outgoingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryBlue, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, replyEditor, emojiPopup, emojisHeader, attachmentPreviewHeader } from "./commonColorVariable";
|
|
3
3
|
import { imIntegrationIcon, imTtIcon, messagetextColor } from "../commonThemeColorVariable";
|
|
4
4
|
export default {
|
|
5
5
|
library: 'chat_components',
|
|
@@ -110,6 +110,23 @@ export default {
|
|
|
110
110
|
videoBubble: {
|
|
111
111
|
border_color: '#161515',
|
|
112
112
|
border_color_failed: failedBdr
|
|
113
|
+
},
|
|
114
|
+
emojiFooter: {
|
|
115
|
+
tabLine: primaryBlue,
|
|
116
|
+
border_color: '#161515'
|
|
117
|
+
},
|
|
118
|
+
replyEditor,
|
|
119
|
+
emojiPopup: { ...emojiPopup,
|
|
120
|
+
ttIcon_path1_color: 'rgba(255, 255, 255, 0.15)',
|
|
121
|
+
ttIcon_path2_color: 'var(--dot_platinum)'
|
|
122
|
+
},
|
|
123
|
+
emojisHeader,
|
|
124
|
+
attachmentPreviewHeader,
|
|
125
|
+
attachmentPreviewBody: {
|
|
126
|
+
bg_color: '#262626',
|
|
127
|
+
editor_border_color: '#585858',
|
|
128
|
+
editor_border_hover_color: '#828994',
|
|
129
|
+
editor_border_active_color: '#479dff'
|
|
113
130
|
}
|
|
114
131
|
}
|
|
115
132
|
};
|
|
@@ -15,4 +15,23 @@ export const failedBg = '#362530';
|
|
|
15
15
|
export const failedBdr = '#290000';
|
|
16
16
|
export const failedLine = '#290000';
|
|
17
17
|
export const failedColor = '#e2e4e6';
|
|
18
|
-
export const failedUrlColor = '#479dff';
|
|
18
|
+
export const failedUrlColor = '#479dff';
|
|
19
|
+
export const emojiPopup = {
|
|
20
|
+
bg: '#f1f4f9',
|
|
21
|
+
border: '#f1f4f9',
|
|
22
|
+
titleColor: '#aaa'
|
|
23
|
+
};
|
|
24
|
+
export const replyEditor = {
|
|
25
|
+
bg: '#212121',
|
|
26
|
+
color: '#e2e4e6',
|
|
27
|
+
placeholder: '#585858'
|
|
28
|
+
};
|
|
29
|
+
export const emojisHeader = {
|
|
30
|
+
bg_color: '#171717',
|
|
31
|
+
border_color: '#161515'
|
|
32
|
+
};
|
|
33
|
+
export const attachmentPreviewHeader = {
|
|
34
|
+
bg_color: '#212121',
|
|
35
|
+
name_color: '#e2e4e6',
|
|
36
|
+
size_color: '#a8b0bd'
|
|
37
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryGreen, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor } from "./commonColorVariable";
|
|
2
|
+
import { incomingBubbleBgColor, outgoingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryGreen, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, emojiPopup, replyEditor, emojisHeader, attachmentPreviewHeader } from "./commonColorVariable";
|
|
3
3
|
import { imIntegrationIcon, imTtIcon, messagetextColor } from "../commonThemeColorVariable";
|
|
4
4
|
export default {
|
|
5
5
|
library: 'chat_components',
|
|
@@ -110,6 +110,23 @@ export default {
|
|
|
110
110
|
videoBubble: {
|
|
111
111
|
border_color: '#161515',
|
|
112
112
|
border_color_failed: failedBdr
|
|
113
|
+
},
|
|
114
|
+
emojiFooter: {
|
|
115
|
+
tabLine: primaryGreen,
|
|
116
|
+
border_color: '#161515'
|
|
117
|
+
},
|
|
118
|
+
replyEditor,
|
|
119
|
+
emojiPopup: { ...emojiPopup,
|
|
120
|
+
ttIcon_path1_color: 'rgba(255, 255, 255, 0.15)',
|
|
121
|
+
ttIcon_path2_color: 'var(--dot_platinum)'
|
|
122
|
+
},
|
|
123
|
+
emojisHeader,
|
|
124
|
+
attachmentPreviewHeader,
|
|
125
|
+
attachmentPreviewBody: {
|
|
126
|
+
bg_color: '#262626',
|
|
127
|
+
editor_border_color: '#585858',
|
|
128
|
+
editor_border_hover_color: '#828994',
|
|
129
|
+
editor_border_active_color: '#45a159'
|
|
113
130
|
}
|
|
114
131
|
}
|
|
115
132
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryOrange, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor } from "./commonColorVariable";
|
|
2
|
+
import { incomingBubbleBgColor, outgoingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryOrange, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, emojiPopup, replyEditor, emojisHeader, attachmentPreviewHeader } from "./commonColorVariable";
|
|
3
3
|
import { imIntegrationIcon, imTtIcon, messagetextColor } from "../commonThemeColorVariable";
|
|
4
4
|
export default {
|
|
5
5
|
library: 'chat_components',
|
|
@@ -110,6 +110,23 @@ export default {
|
|
|
110
110
|
videoBubble: {
|
|
111
111
|
border_color: '#161515',
|
|
112
112
|
border_color_failed: failedBdr
|
|
113
|
+
},
|
|
114
|
+
emojiFooter: {
|
|
115
|
+
tabLine: primaryOrange,
|
|
116
|
+
border_color: '#161515'
|
|
117
|
+
},
|
|
118
|
+
emojiPopup: { ...emojiPopup,
|
|
119
|
+
ttIcon_path1_color: 'rgba(255, 255, 255, 0.15)',
|
|
120
|
+
ttIcon_path2_color: 'var(--dot_platinum)'
|
|
121
|
+
},
|
|
122
|
+
replyEditor,
|
|
123
|
+
emojisHeader,
|
|
124
|
+
attachmentPreviewHeader,
|
|
125
|
+
attachmentPreviewBody: {
|
|
126
|
+
bg_color: '#262626',
|
|
127
|
+
editor_border_color: '#585858',
|
|
128
|
+
editor_border_hover_color: '#828994',
|
|
129
|
+
editor_border_active_color: '#ff801f'
|
|
113
130
|
}
|
|
114
131
|
}
|
|
115
132
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryRed, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor } from "./commonColorVariable";
|
|
2
|
+
import { incomingBubbleBgColor, outgoingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryRed, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, emojiPopup, replyEditor, emojisHeader, attachmentPreviewHeader } from "./commonColorVariable";
|
|
3
3
|
import { imIntegrationIcon, imTtIcon, messagetextColor } from "../commonThemeColorVariable";
|
|
4
4
|
export default {
|
|
5
5
|
library: 'chat_components',
|
|
@@ -110,6 +110,23 @@ export default {
|
|
|
110
110
|
videoBubble: {
|
|
111
111
|
border_color: '#161515',
|
|
112
112
|
border_color_failed: failedBdr
|
|
113
|
+
},
|
|
114
|
+
emojiFooter: {
|
|
115
|
+
tabLine: primaryRed,
|
|
116
|
+
border_color: '#161515'
|
|
117
|
+
},
|
|
118
|
+
emojiPopup: { ...emojiPopup,
|
|
119
|
+
ttIcon_path1_color: 'rgba(255, 255, 255, 0.15)',
|
|
120
|
+
ttIcon_path2_color: 'var(--dot_platinum)'
|
|
121
|
+
},
|
|
122
|
+
replyEditor,
|
|
123
|
+
emojisHeader,
|
|
124
|
+
attachmentPreviewHeader,
|
|
125
|
+
attachmentPreviewBody: {
|
|
126
|
+
bg_color: '#262626',
|
|
127
|
+
editor_border_color: '#585858',
|
|
128
|
+
editor_border_hover_color: '#828994',
|
|
129
|
+
editor_border_active_color: '#e94f4f'
|
|
113
130
|
}
|
|
114
131
|
}
|
|
115
132
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor, bubbleActiveBgColor, messageStatusSendColor, messageStatusFailedColor, actionIconWrapperColor, primaryYellow, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor } from "./commonColorVariable";
|
|
2
|
+
import { incomingBubbleBgColor, outgoingBubbleBgColor, bubbleActiveBgColor, messageStatusSendColor, messageStatusFailedColor, actionIconWrapperColor, primaryYellow, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, emojiPopup, replyEditor, emojisHeader, attachmentPreviewHeader } from "./commonColorVariable";
|
|
3
3
|
import { imIntegrationIcon, imTtIcon, messagetextColor } from "../commonThemeColorVariable";
|
|
4
4
|
export default {
|
|
5
5
|
library: 'chat_components',
|
|
@@ -110,6 +110,23 @@ export default {
|
|
|
110
110
|
videoBubble: {
|
|
111
111
|
border_color: '#161515',
|
|
112
112
|
border_color_failed: failedBdr
|
|
113
|
+
},
|
|
114
|
+
emojiFooter: {
|
|
115
|
+
tabLine: primaryYellow,
|
|
116
|
+
border_color: '#161515'
|
|
117
|
+
},
|
|
118
|
+
emojiPopup: { ...emojiPopup,
|
|
119
|
+
ttIcon_path1_color: 'rgba(255, 255, 255, 0.15)',
|
|
120
|
+
ttIcon_path2_color: 'var(--dot_platinum)'
|
|
121
|
+
},
|
|
122
|
+
replyEditor,
|
|
123
|
+
emojisHeader,
|
|
124
|
+
attachmentPreviewHeader,
|
|
125
|
+
attachmentPreviewBody: {
|
|
126
|
+
bg_color: '#262626',
|
|
127
|
+
editor_border_color: '#585858',
|
|
128
|
+
editor_border_hover_color: '#828994',
|
|
129
|
+
editor_border_active_color: '#d79835'
|
|
113
130
|
}
|
|
114
131
|
}
|
|
115
132
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { modeConstants, themeConstants } from
|
|
1
|
+
import { modeConstants, themeConstants } from '@zohoim/chat-components-utils/es/constants/themeConstants';
|
|
2
2
|
import lightBlue from "../themeVariables/light/blueTheme";
|
|
3
3
|
import lightGreen from "../themeVariables/light/greenTheme";
|
|
4
4
|
import lightOrange from "../themeVariables/light/orangeTheme";
|