@zohoim/chat-components 1.0.9-alpha.0 → 1.0.9-beta.2
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/README.md +2 -2
- package/es/ActionIcon/ActionIcon.js +3 -1
- package/es/ActionIcon/props/propTypes.js +2 -1
- package/es/ActionIconWrapper/ActionIconWrapper.js +6 -3
- package/es/ActionIconWrapper/css/ActionIconWrapper.module.css +1 -1
- package/es/ActionIconWrapper/css/cssJSLogic.js +4 -2
- package/es/ActionIconWrapper/props/propTypes.js +2 -1
- package/es/AttachmentHandler/AttachmentHandler.js +84 -0
- package/es/AttachmentHandler/css/AttachmentHandler.module.css +17 -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 +113 -0
- package/es/AttachmentPreview/css/AttachmentPreview.module.css +30 -0
- package/es/AttachmentPreview/index.js +1 -0
- package/es/AttachmentPreview/props/defaultProps.js +7 -0
- package/es/AttachmentPreview/props/propTypes.js +31 -0
- package/es/AttachmentPreviewBody/AttachmentPreviewBody.js +81 -0
- package/es/AttachmentPreviewBody/css/AttachmentPreviewBody.module.css +68 -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 +47 -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 +50 -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 +81 -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 +133 -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/MessageAction/MessageAction.js +2 -0
- package/es/MessageAction/props/propTypes.js +2 -1
- package/es/MessageActions/MessageActions.js +2 -1
- package/es/MessageActionsMore/MessageActionsMore.js +6 -4
- package/es/MessageActionsMore/css/MessageActionsMore.module.css +1 -0
- package/es/MessageActionsMore/props/propTypes.js +5 -2
- package/es/MessageActionsWrapper/MessageActionsWrapper.js +2 -1
- package/es/MessageActionsWrapper/css/MessageActionsWrapper.module.css +4 -0
- package/es/Theme/ThemeAssets.js +2 -20
- package/es/Theme/ThemeWrapper.js +23 -14
- 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/commonThemeColorVariable.js +17 -0
- package/es/Theme/themeVariables/dark/blueTheme.js +130 -0
- package/es/Theme/themeVariables/dark/commonColorVariable.js +35 -0
- package/es/Theme/themeVariables/dark/greenTheme.js +129 -0
- package/es/Theme/themeVariables/dark/orangeTheme.js +129 -0
- package/es/Theme/themeVariables/dark/redTheme.js +129 -0
- package/es/Theme/themeVariables/dark/yellowTheme.js +129 -0
- package/es/Theme/themeVariables/light/blueTheme.js +132 -0
- package/es/Theme/themeVariables/light/commonColorVariable.js +54 -0
- package/es/Theme/themeVariables/light/greenTheme.js +127 -0
- package/es/Theme/themeVariables/light/orangeTheme.js +127 -0
- package/es/Theme/themeVariables/light/redTheme.js +127 -0
- package/es/Theme/themeVariables/light/yellowTheme.js +127 -0
- package/es/Theme/themeVariables/pureDark/blueTheme.js +129 -0
- package/es/Theme/themeVariables/pureDark/commonColorVariable.js +37 -0
- package/es/Theme/themeVariables/pureDark/greenTheme.js +129 -0
- package/es/Theme/themeVariables/pureDark/orangeTheme.js +129 -0
- package/es/Theme/themeVariables/pureDark/redTheme.js +129 -0
- package/es/Theme/themeVariables/pureDark/yellowTheme.js +129 -0
- package/es/Theme/utils/getThemeConfigurations.js +56 -2
- 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/IMIntegrationIcon/css/IMIntegrationIcon.module.css +2 -2
- 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 +5 -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 +38 -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 +87 -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 +20 -0
- package/es/im/ReplyEditorSuggestionsPopup/ReplyEditorSuggestionsPopup.js +90 -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 +19 -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 +13 -20
- package/assets/Appearance/dark/mode/General_DarkMode.module.css +0 -71
- package/assets/Appearance/dark/themes/blue/blue_General_DarkTheme.module.css +0 -35
- package/assets/Appearance/dark/themes/green/green_General_DarkTheme.module.css +0 -35
- package/assets/Appearance/dark/themes/orange/orange_General_DarkTheme.module.css +0 -35
- package/assets/Appearance/dark/themes/red/red_General_DarkTheme.module.css +0 -35
- package/assets/Appearance/dark/themes/yellow/yellow_General_DarkTheme.module.css +0 -35
- package/assets/Appearance/light/mode/General_LightMode.module.css +0 -71
- package/assets/Appearance/light/themes/blue/blue_General_LightTheme.module.css +0 -35
- package/assets/Appearance/light/themes/green/green_General_LightTheme.module.css +0 -35
- package/assets/Appearance/light/themes/orange/orange_General_LightTheme.module.css +0 -35
- package/assets/Appearance/light/themes/red/red_General_LightTheme.module.css +0 -35
- package/assets/Appearance/light/themes/yellow/yellow_General_LightTheme.module.css +0 -35
- package/assets/Appearance/pureDark/mode/General_PureDarkMode.module.css +0 -71
- package/assets/Appearance/pureDark/themes/blue/blue_General_PureDarkTheme.module.css +0 -35
- package/assets/Appearance/pureDark/themes/green/green_General_PureDarkTheme.module.css +0 -35
- package/assets/Appearance/pureDark/themes/orange/orange_General_PureDarkTheme.module.css +0 -35
- package/assets/Appearance/pureDark/themes/red/red_General_PureDarkTheme.module.css +0 -35
- package/assets/Appearance/pureDark/themes/yellow/yellow_General_PureDarkTheme.module.css +0 -35
- package/es/Theme/constants/index.js +0 -41
- package/lib/index.js +0 -382
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
/** ** Libraries *** */
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
+
/** ** Constants *** */
|
|
4
|
+
|
|
5
|
+
import { popupPosition, popupSize } from "../../constants/propConstants/popupPropConstants";
|
|
3
6
|
const messageActionsMorePropTypes = {
|
|
4
7
|
actions: PropTypes.arrayOf(PropTypes.shape({
|
|
5
8
|
id: PropTypes.string.isRequired,
|
|
@@ -7,7 +10,7 @@ const messageActionsMorePropTypes = {
|
|
|
7
10
|
})).isRequired,
|
|
8
11
|
renderMoreIcon: PropTypes.func.isRequired,
|
|
9
12
|
customStyle: PropTypes.object,
|
|
10
|
-
popupSize: PropTypes.oneOf(
|
|
11
|
-
defaultPopupPosition: PropTypes.oneOf(
|
|
13
|
+
popupSize: PropTypes.oneOf(popupSize),
|
|
14
|
+
defaultPopupPosition: PropTypes.oneOf(popupPosition)
|
|
12
15
|
};
|
|
13
16
|
export default messageActionsMorePropTypes;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React, { useCallback } from 'react';
|
|
3
3
|
/** ** Components *** */
|
|
4
4
|
|
|
5
|
-
import { Container } from '@zohodesk/components/
|
|
5
|
+
import { Container } from '@zohodesk/components/es/Layout';
|
|
6
6
|
import MessageActionsMore from "../MessageActionsMore/MessageActionsMore";
|
|
7
7
|
/** ** Hooks *** */
|
|
8
8
|
|
|
@@ -56,6 +56,7 @@ export default function MessageActionsWrapper(props) {
|
|
|
56
56
|
}), [moreActions, renderMoreIcon, messageActionsMoreProps]);
|
|
57
57
|
const renderRow = useCallback(() => /*#__PURE__*/React.createElement(Container, {
|
|
58
58
|
alignBox: "row",
|
|
59
|
+
className: newStyle.row,
|
|
59
60
|
isCover: false
|
|
60
61
|
}, renderDefaultActions(), isShowMoreIcon ? renderMoreActions() : null), [renderDefaultActions, renderMoreActions, isShowMoreIcon]);
|
|
61
62
|
return /*#__PURE__*/React.createElement("div", {
|
package/es/Theme/ThemeAssets.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** ** Libraries *** */
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import '@zohodesk/components/
|
|
3
|
+
import '@zohodesk/components/es/common/boxShadow.module.css';
|
|
4
4
|
/* component pkg - default mode, themes */
|
|
5
5
|
|
|
6
6
|
import '@zohodesk/components/assets/Appearance/light/themes/blue/blue_CTA_LightTheme.module.css';
|
|
@@ -64,27 +64,9 @@ import '@zohodesk/variables/assets/colorVariables.module.css';
|
|
|
64
64
|
import '@zohodesk/variables/assets/dotVariables.module.css';
|
|
65
65
|
import '@zohodesk/variables/assets/sizeVariables.module.css';
|
|
66
66
|
import '@zohodesk/variables/assets/fontsizeVariables.module.css';
|
|
67
|
-
import '@zohodesk/variables/
|
|
67
|
+
import '@zohodesk/variables/es/fontFamilyVariables.module.css';
|
|
68
68
|
import '@zohodesk/variables/assets/transitionVariables.module.css';
|
|
69
69
|
import '@zohodesk/variables/assets/no_transitionVariables.module.css';
|
|
70
|
-
import "../../assets/Appearance/dark/mode/General_DarkMode.module.css";
|
|
71
|
-
import "../../assets/Appearance/dark/themes/blue/blue_General_DarkTheme.module.css";
|
|
72
|
-
import "../../assets/Appearance/dark/themes/green/green_General_DarkTheme.module.css";
|
|
73
|
-
import "../../assets/Appearance/dark/themes/orange/orange_General_DarkTheme.module.css";
|
|
74
|
-
import "../../assets/Appearance/dark/themes/red/red_General_DarkTheme.module.css";
|
|
75
|
-
import "../../assets/Appearance/dark/themes/yellow/yellow_General_DarkTheme.module.css";
|
|
76
|
-
import "../../assets/Appearance/light/mode/General_LightMode.module.css";
|
|
77
|
-
import "../../assets/Appearance/light/themes/blue/blue_General_LightTheme.module.css";
|
|
78
|
-
import "../../assets/Appearance/light/themes/green/green_General_LightTheme.module.css";
|
|
79
|
-
import "../../assets/Appearance/light/themes/orange/orange_General_LightTheme.module.css";
|
|
80
|
-
import "../../assets/Appearance/light/themes/red/red_General_LightTheme.module.css";
|
|
81
|
-
import "../../assets/Appearance/light/themes/yellow/yellow_General_LightTheme.module.css";
|
|
82
|
-
import "../../assets/Appearance/pureDark/mode/General_PureDarkMode.module.css";
|
|
83
|
-
import "../../assets/Appearance/pureDark/themes/blue/blue_General_PureDarkTheme.module.css";
|
|
84
|
-
import "../../assets/Appearance/pureDark/themes/green/green_General_PureDarkTheme.module.css";
|
|
85
|
-
import "../../assets/Appearance/pureDark/themes/orange/orange_General_PureDarkTheme.module.css";
|
|
86
|
-
import "../../assets/Appearance/pureDark/themes/red/red_General_PureDarkTheme.module.css";
|
|
87
|
-
import "../../assets/Appearance/pureDark/themes/yellow/yellow_General_PureDarkTheme.module.css";
|
|
88
70
|
export default function DeskAssets(props) {
|
|
89
71
|
const {
|
|
90
72
|
children
|
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
|
|
|
@@ -38,22 +42,20 @@ export default function ThemeWrapper(props) {
|
|
|
38
42
|
/** ** ThemeConfigurations Handling *** */
|
|
39
43
|
|
|
40
44
|
const {
|
|
45
|
+
themeConfigurations,
|
|
41
46
|
mode,
|
|
42
47
|
theme
|
|
43
48
|
} = getThemeConfigurations({
|
|
44
49
|
mode: propMode,
|
|
45
50
|
theme: propTheme
|
|
46
51
|
});
|
|
47
|
-
const configurations = propThemeConfigurations;
|
|
52
|
+
const configurations = propThemeConfigurations || themeConfigurations;
|
|
48
53
|
/** ** Style Handling *** */
|
|
49
54
|
|
|
50
55
|
const selector = `#${styleTagId}`;
|
|
51
56
|
const prefix = '--imlib_';
|
|
52
57
|
const configuration = useMemo(() => [configurations], [configurations]);
|
|
53
|
-
const customizedVariables = useMemo(() =>
|
|
54
|
-
const cssVariables = propThemeConfigurations ? getCustomizedCssVariables(configuration, prefix) : null;
|
|
55
|
-
return cssVariables;
|
|
56
|
-
}, [configuration, prefix, propThemeConfigurations]);
|
|
58
|
+
const customizedVariables = useMemo(() => getCustomizedCssVariables(configuration, prefix), [configuration, prefix]);
|
|
57
59
|
const wrapperDivProps = getWrapperDivProps({
|
|
58
60
|
modeKey,
|
|
59
61
|
themeKey,
|
|
@@ -62,18 +64,25 @@ export default function ThemeWrapper(props) {
|
|
|
62
64
|
});
|
|
63
65
|
/** ** Children Render Functions *** */
|
|
64
66
|
|
|
65
|
-
const renderPortal = useCallback(() => /*#__PURE__*/React.createElement("div", {
|
|
67
|
+
const renderPortal = useCallback(() => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
66
68
|
"data-portal": MSG_ACTION_POPUP_PORTAL
|
|
67
|
-
}),
|
|
68
|
-
|
|
69
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
70
|
+
"data-portal": EDITOR_POPUP_PORTAL
|
|
71
|
+
})), []);
|
|
72
|
+
const renderStyle = useCallback(() => /*#__PURE__*/React.createElement("style", {
|
|
69
73
|
id: "zoho-im-variables"
|
|
70
|
-
}, `${selector}{${customizedVariables}}`)
|
|
74
|
+
}, `${selector}{${customizedVariables}}`), [selector, customizedVariables]);
|
|
71
75
|
const renderAssets = useCallback(() => /*#__PURE__*/React.createElement(React.Fragment, null, needThemeAssets ? /*#__PURE__*/React.createElement(ThemeAssets, null) : null, needTooltip ? /*#__PURE__*/React.createElement(TooltipWrapper, {
|
|
72
76
|
containerRef: containerRef.current,
|
|
73
77
|
customStyle: tooltipCustomStyle,
|
|
74
78
|
getContainerRef: getContainerRef
|
|
75
79
|
}) : null), [getContainerRef, needTooltip, needThemeAssets, tooltipCustomStyle]);
|
|
76
|
-
return /*#__PURE__*/React.createElement(
|
|
80
|
+
return /*#__PURE__*/React.createElement(ThemeContext.Provider, {
|
|
81
|
+
value: {
|
|
82
|
+
mode: propMode,
|
|
83
|
+
direction
|
|
84
|
+
}
|
|
85
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
77
86
|
id: styleTagId,
|
|
78
87
|
...wrapperDivProps,
|
|
79
88
|
style: {
|
|
@@ -82,7 +91,7 @@ export default function ThemeWrapper(props) {
|
|
|
82
91
|
}
|
|
83
92
|
}, renderStyle(), /*#__PURE__*/React.createElement(Container, {
|
|
84
93
|
eleRef: containerRef
|
|
85
|
-
}, children), renderPortal(), renderAssets());
|
|
94
|
+
}, children), renderPortal(), renderAssets()));
|
|
86
95
|
}
|
|
87
96
|
ThemeWrapper.propTypes = themeWrapperPropTypes;
|
|
88
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;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export const imIntegrationIcon = {
|
|
2
|
+
path0_color: '#ffffff40',
|
|
3
|
+
path1_color: '#fff',
|
|
4
|
+
whatsapp_color: '#24d366',
|
|
5
|
+
telegram_color: '#4fa7d8',
|
|
6
|
+
wechat_color: '#2dc100',
|
|
7
|
+
line_color: '#01b901',
|
|
8
|
+
twillio_color: '#f22f46',
|
|
9
|
+
instagram_color: 'linear-gradient(221.05deg,#933ab9 11.59%,#d12f8c 50.45%,#fdbb59 85.46%)',
|
|
10
|
+
asap_color: 'linear-gradient(180deg, #A375FF 0%, #7732FF 100%)',
|
|
11
|
+
fb_color: '#006aff'
|
|
12
|
+
};
|
|
13
|
+
export const imTtIcon = {
|
|
14
|
+
path0_color: '#ffffff40',
|
|
15
|
+
path1_color: '#fff'
|
|
16
|
+
};
|
|
17
|
+
export const messagetextColor = '#e2e4e6';
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/* eslint-disable camelcase */
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryBlue, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, replyEditor, emojiPopup, emojisHeader, attachmentPreviewHeader } from "./commonColorVariable";
|
|
3
|
+
import { imIntegrationIcon, imTtIcon, messagetextColor } from "../commonThemeColorVariable";
|
|
4
|
+
export default {
|
|
5
|
+
library: 'chat_components',
|
|
6
|
+
variables: {
|
|
7
|
+
actionIconWrapper: {
|
|
8
|
+
color: actionIconWrapperColor,
|
|
9
|
+
bg_color: '#2c3b4d',
|
|
10
|
+
border_color: '#3f536b'
|
|
11
|
+
},
|
|
12
|
+
attachmentBubble: {
|
|
13
|
+
bg_color: '#232b38',
|
|
14
|
+
bg_color_failed: failedBg,
|
|
15
|
+
border_color: '#2d3748',
|
|
16
|
+
border_color_failed: failedBdr
|
|
17
|
+
},
|
|
18
|
+
attachmentBubbleInfo: {
|
|
19
|
+
fileName_color: '#e2e4e6',
|
|
20
|
+
fileName_color_failed: failedColor,
|
|
21
|
+
fileSize_color: '#788190',
|
|
22
|
+
fileSize_color_failed: '#788190'
|
|
23
|
+
},
|
|
24
|
+
articleBubble: {
|
|
25
|
+
bg_color: '#232b38',
|
|
26
|
+
bg_color_failed: failedBg,
|
|
27
|
+
border_color: '#2d3748',
|
|
28
|
+
border_color_failed: failedBdr,
|
|
29
|
+
title_color: '#e2e4e6',
|
|
30
|
+
title_color_failed: failedColor,
|
|
31
|
+
summary_color: '#e2e4e6',
|
|
32
|
+
summary_color_failed: failedColor
|
|
33
|
+
},
|
|
34
|
+
imAutoMessageInfo: {
|
|
35
|
+
text_color: '#828994'
|
|
36
|
+
},
|
|
37
|
+
imIntegrationIcon,
|
|
38
|
+
imTtIcon,
|
|
39
|
+
imMessageContent: {
|
|
40
|
+
text_color: '#a8b0bd'
|
|
41
|
+
},
|
|
42
|
+
imMessageMeta: {
|
|
43
|
+
time_color: '#a8b0bd'
|
|
44
|
+
},
|
|
45
|
+
imPermaLink: {
|
|
46
|
+
url_color: '#479dff'
|
|
47
|
+
},
|
|
48
|
+
imageBubble: {
|
|
49
|
+
bg_color: '#232b38',
|
|
50
|
+
bg_color_failed: failedBg,
|
|
51
|
+
alt_text_color: '#e2e4e6',
|
|
52
|
+
alt_text_color_failed: failedColor,
|
|
53
|
+
border_color: '#2d3748',
|
|
54
|
+
border_color_failed: failedBdr
|
|
55
|
+
},
|
|
56
|
+
locationBubble: {
|
|
57
|
+
bg_color: '#232b38',
|
|
58
|
+
bg_color_failed: failedBg,
|
|
59
|
+
border_color: '#2d3748',
|
|
60
|
+
border_color_failed: failedBdr,
|
|
61
|
+
url_color: primaryBlue,
|
|
62
|
+
url_color_failed: failedUrlColor
|
|
63
|
+
},
|
|
64
|
+
messageBox: {
|
|
65
|
+
incoming_bg_color: incomingBubbleBgColor,
|
|
66
|
+
outgoing_bg_color: '#2c3b4d',
|
|
67
|
+
bg_color: '#f1f7fe',
|
|
68
|
+
failed_bg_color: failedBgWrapper,
|
|
69
|
+
text_color: messagetextColor,
|
|
70
|
+
failed_text_color: '#000'
|
|
71
|
+
},
|
|
72
|
+
messageBubble: {
|
|
73
|
+
active_bg_color: bubbleActiveBgColor,
|
|
74
|
+
messageBox_footer_text_color: '#5a616f'
|
|
75
|
+
},
|
|
76
|
+
messageStatus: {
|
|
77
|
+
send_color: messageStatusSendColor,
|
|
78
|
+
read_color: '#479dff',
|
|
79
|
+
failed_color: messageStatusFailedColor
|
|
80
|
+
},
|
|
81
|
+
replyBubble: {
|
|
82
|
+
border_color: '#2d3748',
|
|
83
|
+
border_color_failed: failedBdr
|
|
84
|
+
},
|
|
85
|
+
replyBubbleContent: {
|
|
86
|
+
bg_color: '#232b38',
|
|
87
|
+
bg_color_failed: failedBg,
|
|
88
|
+
border_color: '#2d3748',
|
|
89
|
+
border_color_failed: failedBdr,
|
|
90
|
+
line_color: '#cddbf2',
|
|
91
|
+
line_color_failed: failedLine,
|
|
92
|
+
sender_color: '#e2e4e6',
|
|
93
|
+
sender_color_failed: failedColor,
|
|
94
|
+
content_color: '#e2e4e6',
|
|
95
|
+
content_color_failed: failedColor
|
|
96
|
+
},
|
|
97
|
+
replyBubbleHeader: {
|
|
98
|
+
text_color: '#e2e4e6',
|
|
99
|
+
text_color_failed: failedColor,
|
|
100
|
+
time_color: '#828994',
|
|
101
|
+
time_color_failed: failedColor
|
|
102
|
+
},
|
|
103
|
+
textBubble: {
|
|
104
|
+
text_color: '#e2e4e6',
|
|
105
|
+
text_color_failed: failedColor,
|
|
106
|
+
see_more_color: primaryBlue,
|
|
107
|
+
see_more_color_failed: failedUrlColor,
|
|
108
|
+
url_color: primaryBlue,
|
|
109
|
+
url_color_failed: failedUrlColor
|
|
110
|
+
},
|
|
111
|
+
videoBubble: {
|
|
112
|
+
border_color: '#2d3748',
|
|
113
|
+
border_color_failed: failedBdr
|
|
114
|
+
},
|
|
115
|
+
emojiFooter: {
|
|
116
|
+
tabLine: primaryBlue,
|
|
117
|
+
border_color: '#2d3748'
|
|
118
|
+
},
|
|
119
|
+
replyEditor,
|
|
120
|
+
emojiPopup,
|
|
121
|
+
emojisHeader,
|
|
122
|
+
attachmentPreviewHeader,
|
|
123
|
+
attachmentPreviewBody: {
|
|
124
|
+
bg_color: '#262f3d',
|
|
125
|
+
editor_border_color: '#3e4d63',
|
|
126
|
+
editor_border_hover_color: '#828994',
|
|
127
|
+
editor_border_active_color: '#479dff'
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export const incomingBubbleBgColor = '#232b38';
|
|
2
|
+
export const bubbleActiveBgColor = '#1b2e33';
|
|
3
|
+
export const actionIconWrapperColor = '#e2e4e6';
|
|
4
|
+
export const messageStatusSendColor = '#61667a';
|
|
5
|
+
export const messageStatusFailedColor = '#de3535';
|
|
6
|
+
export const primaryBlue = '#479dff';
|
|
7
|
+
export const primaryGreen = '#45a159';
|
|
8
|
+
export const primaryOrange = '#ff801f';
|
|
9
|
+
export const primaryRed = '#e94f4f';
|
|
10
|
+
export const primaryYellow = '#d79835';
|
|
11
|
+
export const failedBgWrapper = '#f4b5bc';
|
|
12
|
+
export const failedBg = '#f6dcdf';
|
|
13
|
+
export const failedBdr = '#eb9ea7';
|
|
14
|
+
export const failedLine = '#eb9ea7';
|
|
15
|
+
export const failedColor = '#000';
|
|
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
|
+
};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/* eslint-disable camelcase */
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryGreen, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, emojiPopup, replyEditor, emojisHeader, attachmentPreviewHeader } from "./commonColorVariable";
|
|
3
|
+
import { imIntegrationIcon, imTtIcon, messagetextColor } from "../commonThemeColorVariable";
|
|
4
|
+
export default {
|
|
5
|
+
library: 'chat_components',
|
|
6
|
+
variables: {
|
|
7
|
+
actionIconWrapper: {
|
|
8
|
+
color: actionIconWrapperColor,
|
|
9
|
+
bg_color: '#26373b',
|
|
10
|
+
border_color: '#2d4e42'
|
|
11
|
+
},
|
|
12
|
+
attachmentBubble: {
|
|
13
|
+
bg_color: '#232b38',
|
|
14
|
+
bg_color_failed: failedBg,
|
|
15
|
+
border_color: '#2d3748',
|
|
16
|
+
border_color_failed: failedBdr
|
|
17
|
+
},
|
|
18
|
+
attachmentBubbleInfo: {
|
|
19
|
+
fileName_color: '#e2e4e6',
|
|
20
|
+
fileName_color_failed: failedColor,
|
|
21
|
+
fileSize_color: '#788190',
|
|
22
|
+
fileSize_color_failed: '#788190'
|
|
23
|
+
},
|
|
24
|
+
articleBubble: {
|
|
25
|
+
bg_color: '#232b38',
|
|
26
|
+
bg_color_failed: failedBg,
|
|
27
|
+
border_color: '#2d3748',
|
|
28
|
+
border_color_failed: failedBdr,
|
|
29
|
+
title_color: '#e2e4e6',
|
|
30
|
+
title_color_failed: failedColor,
|
|
31
|
+
summary_color: '#e2e4e6',
|
|
32
|
+
summary_color_failed: failedColor
|
|
33
|
+
},
|
|
34
|
+
imAutoMessageInfo: {
|
|
35
|
+
text_color: '#828994'
|
|
36
|
+
},
|
|
37
|
+
imIntegrationIcon,
|
|
38
|
+
imTtIcon,
|
|
39
|
+
imMessageContent: {
|
|
40
|
+
text_color: '#a8b0bd'
|
|
41
|
+
},
|
|
42
|
+
imMessageMeta: {
|
|
43
|
+
time_color: '#a8b0bd'
|
|
44
|
+
},
|
|
45
|
+
imPermaLink: {
|
|
46
|
+
url_color: '#45a159'
|
|
47
|
+
},
|
|
48
|
+
imageBubble: {
|
|
49
|
+
bg_color: '#232b38',
|
|
50
|
+
bg_color_failed: failedBg,
|
|
51
|
+
alt_text_color: '#e2e4e6',
|
|
52
|
+
alt_text_color_failed: failedColor,
|
|
53
|
+
border_color: '#2d3748',
|
|
54
|
+
border_color_failed: failedBdr
|
|
55
|
+
},
|
|
56
|
+
locationBubble: {
|
|
57
|
+
bg_color: '#232b38',
|
|
58
|
+
bg_color_failed: failedBg,
|
|
59
|
+
border_color: '#2d3748',
|
|
60
|
+
border_color_failed: failedBdr,
|
|
61
|
+
url_color: primaryGreen,
|
|
62
|
+
url_color_failed: failedUrlColor
|
|
63
|
+
},
|
|
64
|
+
messageBox: {
|
|
65
|
+
incoming_bg_color: incomingBubbleBgColor,
|
|
66
|
+
outgoing_bg_color: '#26373b',
|
|
67
|
+
bg_color: '#f1f7fe',
|
|
68
|
+
failed_bg_color: failedBgWrapper,
|
|
69
|
+
text_color: messagetextColor
|
|
70
|
+
},
|
|
71
|
+
messageBubble: {
|
|
72
|
+
active_bg_color: bubbleActiveBgColor,
|
|
73
|
+
messageBox_footer_text_color: '#5a616f'
|
|
74
|
+
},
|
|
75
|
+
messageStatus: {
|
|
76
|
+
send_color: messageStatusSendColor,
|
|
77
|
+
read_color: '#45a159',
|
|
78
|
+
failed_color: messageStatusFailedColor
|
|
79
|
+
},
|
|
80
|
+
replyBubble: {
|
|
81
|
+
border_color: '#2d3748',
|
|
82
|
+
border_color_failed: failedBdr
|
|
83
|
+
},
|
|
84
|
+
replyBubbleContent: {
|
|
85
|
+
bg_color: 'hsl(191.43deg 21.65% 13.02%)',
|
|
86
|
+
bg_color_failed: failedBg,
|
|
87
|
+
border_color: '#2d3748',
|
|
88
|
+
border_color_failed: failedBdr,
|
|
89
|
+
line_color: '#cddbf2',
|
|
90
|
+
line_color_failed: failedLine,
|
|
91
|
+
sender_color: '#e2e4e6',
|
|
92
|
+
sender_color_failed: failedColor,
|
|
93
|
+
content_color: '#e2e4e6',
|
|
94
|
+
content_color_failed: failedColor
|
|
95
|
+
},
|
|
96
|
+
replyBubbleHeader: {
|
|
97
|
+
text_color: '#e2e4e6',
|
|
98
|
+
text_color_failed: failedColor,
|
|
99
|
+
time_color: '#828994',
|
|
100
|
+
time_color_failed: failedColor
|
|
101
|
+
},
|
|
102
|
+
textBubble: {
|
|
103
|
+
text_color: '#e2e4e6',
|
|
104
|
+
text_color_failed: failedColor,
|
|
105
|
+
see_more_color: primaryGreen,
|
|
106
|
+
see_more_color_failed: failedUrlColor,
|
|
107
|
+
url_color: primaryGreen,
|
|
108
|
+
url_color_failed: failedUrlColor
|
|
109
|
+
},
|
|
110
|
+
videoBubble: {
|
|
111
|
+
border_color: '#2d3748',
|
|
112
|
+
border_color_failed: failedBdr
|
|
113
|
+
},
|
|
114
|
+
emojiFooter: {
|
|
115
|
+
tabLine: primaryGreen,
|
|
116
|
+
border_color: '#2d3748'
|
|
117
|
+
},
|
|
118
|
+
emojiPopup,
|
|
119
|
+
replyEditor,
|
|
120
|
+
emojisHeader,
|
|
121
|
+
attachmentPreviewHeader,
|
|
122
|
+
attachmentPreviewBody: {
|
|
123
|
+
bg_color: '#262f3d',
|
|
124
|
+
editor_border_color: '#3e4d63',
|
|
125
|
+
editor_border_hover_color: '#828994',
|
|
126
|
+
editor_border_active_color: '#45a159'
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/* eslint-disable camelcase */
|
|
2
|
+
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryOrange, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, emojiPopup, replyEditor, emojisHeader, attachmentPreviewHeader } from "./commonColorVariable";
|
|
3
|
+
import { imIntegrationIcon, imTtIcon, messagetextColor } from "../commonThemeColorVariable";
|
|
4
|
+
export default {
|
|
5
|
+
library: 'chat_components',
|
|
6
|
+
variables: {
|
|
7
|
+
actionIconWrapper: {
|
|
8
|
+
color: actionIconWrapperColor,
|
|
9
|
+
bg_color: '#323136',
|
|
10
|
+
border_color: '#4f3c33'
|
|
11
|
+
},
|
|
12
|
+
attachmentBubble: {
|
|
13
|
+
bg_color: '#232b38',
|
|
14
|
+
bg_color_failed: failedBg,
|
|
15
|
+
border_color: '#2d3748',
|
|
16
|
+
border_color_failed: failedBdr
|
|
17
|
+
},
|
|
18
|
+
attachmentBubbleInfo: {
|
|
19
|
+
fileName_color: '#e2e4e6',
|
|
20
|
+
fileName_color_failed: failedColor,
|
|
21
|
+
fileSize_color: '#788190',
|
|
22
|
+
fileSize_color_failed: '#788190'
|
|
23
|
+
},
|
|
24
|
+
articleBubble: {
|
|
25
|
+
bg_color: '#232b38',
|
|
26
|
+
bg_color_failed: failedBg,
|
|
27
|
+
border_color: '#2d3748',
|
|
28
|
+
border_color_failed: failedBdr,
|
|
29
|
+
title_color: '#e2e4e6',
|
|
30
|
+
title_color_failed: failedColor,
|
|
31
|
+
summary_color: '#e2e4e6',
|
|
32
|
+
summary_color_failed: failedColor
|
|
33
|
+
},
|
|
34
|
+
imAutoMessageInfo: {
|
|
35
|
+
text_color: '#828994'
|
|
36
|
+
},
|
|
37
|
+
imIntegrationIcon,
|
|
38
|
+
imTtIcon,
|
|
39
|
+
imMessageContent: {
|
|
40
|
+
text_color: '#a8b0bd'
|
|
41
|
+
},
|
|
42
|
+
imMessageMeta: {
|
|
43
|
+
time_color: '#a8b0bd'
|
|
44
|
+
},
|
|
45
|
+
imPermaLink: {
|
|
46
|
+
url_color: '#ff801f'
|
|
47
|
+
},
|
|
48
|
+
imageBubble: {
|
|
49
|
+
bg_color: '#232b38',
|
|
50
|
+
bg_color_failed: failedBg,
|
|
51
|
+
alt_text_color: '#e2e4e6',
|
|
52
|
+
alt_text_color_failed: failedColor,
|
|
53
|
+
border_color: '#2d3748',
|
|
54
|
+
border_color_failed: failedBdr
|
|
55
|
+
},
|
|
56
|
+
locationBubble: {
|
|
57
|
+
bg_color: '#232b38',
|
|
58
|
+
bg_color_failed: failedBg,
|
|
59
|
+
border_color: '#2d3748',
|
|
60
|
+
border_color_failed: failedBdr,
|
|
61
|
+
url_color: primaryOrange,
|
|
62
|
+
url_color_failed: failedUrlColor
|
|
63
|
+
},
|
|
64
|
+
messageBox: {
|
|
65
|
+
incoming_bg_color: incomingBubbleBgColor,
|
|
66
|
+
outgoing_bg_color: '#323136',
|
|
67
|
+
bg_color: '#f1f7fe',
|
|
68
|
+
failed_bg_color: failedBgWrapper,
|
|
69
|
+
text_color: messagetextColor
|
|
70
|
+
},
|
|
71
|
+
messageBubble: {
|
|
72
|
+
active_bg_color: bubbleActiveBgColor,
|
|
73
|
+
messageBox_footer_text_color: '#5a616f'
|
|
74
|
+
},
|
|
75
|
+
messageStatus: {
|
|
76
|
+
send_color: messageStatusSendColor,
|
|
77
|
+
read_color: '#ff801f',
|
|
78
|
+
failed_color: messageStatusFailedColor
|
|
79
|
+
},
|
|
80
|
+
replyBubble: {
|
|
81
|
+
border_color: '#2d3748',
|
|
82
|
+
border_color_failed: failedBdr
|
|
83
|
+
},
|
|
84
|
+
replyBubbleContent: {
|
|
85
|
+
bg_color: '#232b38',
|
|
86
|
+
bg_color_failed: failedBg,
|
|
87
|
+
border_color: '#2d3748',
|
|
88
|
+
border_color_failed: failedBdr,
|
|
89
|
+
line_color: '#cddbf2',
|
|
90
|
+
line_color_failed: failedLine,
|
|
91
|
+
sender_color: '#e2e4e6',
|
|
92
|
+
sender_color_failed: failedColor,
|
|
93
|
+
content_color: '#e2e4e6',
|
|
94
|
+
content_color_failed: failedColor
|
|
95
|
+
},
|
|
96
|
+
replyBubbleHeader: {
|
|
97
|
+
text_color: '#e2e4e6',
|
|
98
|
+
text_color_failed: failedColor,
|
|
99
|
+
time_color: '#828994',
|
|
100
|
+
time_color_failed: failedColor
|
|
101
|
+
},
|
|
102
|
+
textBubble: {
|
|
103
|
+
text_color: '#e2e4e6',
|
|
104
|
+
text_color_failed: failedColor,
|
|
105
|
+
see_more_color: primaryOrange,
|
|
106
|
+
see_more_color_failed: failedUrlColor,
|
|
107
|
+
url_color: primaryOrange,
|
|
108
|
+
url_color_failed: failedUrlColor
|
|
109
|
+
},
|
|
110
|
+
videoBubble: {
|
|
111
|
+
border_color: '#2d3748',
|
|
112
|
+
border_color_failed: failedBdr
|
|
113
|
+
},
|
|
114
|
+
emojiFooter: {
|
|
115
|
+
tabLine: primaryOrange,
|
|
116
|
+
border_color: '#2d3748'
|
|
117
|
+
},
|
|
118
|
+
emojiPopup,
|
|
119
|
+
replyEditor,
|
|
120
|
+
emojisHeader,
|
|
121
|
+
attachmentPreviewHeader,
|
|
122
|
+
attachmentPreviewBody: {
|
|
123
|
+
bg_color: '#262f3d',
|
|
124
|
+
editor_border_color: '#3e4d63',
|
|
125
|
+
editor_border_hover_color: '#828994',
|
|
126
|
+
editor_border_active_color: '#ff801f'
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
};
|