@zohoim/chat-components 0.0.20 → 0.0.24
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 -1
- package/es/AttachmentBubble/AttachmentBubble.js +3 -1
- package/es/AttachmentBubble/css/AttachmentBubble.module.css +17 -7
- package/es/AttachmentBubble/css/cssJSLogic.js +4 -2
- package/es/AttachmentBubble/props/propTypes.js +1 -0
- package/es/LocationBubble/LocationBubble.js +2 -1
- package/es/LocationBubble/css/LocationBubble.module.css +8 -2
- package/es/MessageActionsMore/MessageActionsMore.js +2 -0
- package/es/MessageAvatar/css/MessageAvatar.module.css +2 -0
- package/es/MessageBubble/css/MessageBubble.module.css +8 -1
- package/es/ReplyBubbleHeader/css/ReplyBubbleHeader.module.css +8 -7
- package/es/Theme/ThemeAssets.js +56 -35
- package/es/Theme/props/defaultProps.js +0 -2
- package/es/Theme/themeVariables/dark/blueTheme.js +0 -20
- package/es/Theme/themeVariables/dark/greenTheme.js +0 -20
- package/es/Theme/themeVariables/dark/orangeTheme.js +0 -20
- package/es/Theme/themeVariables/dark/redTheme.js +0 -20
- package/es/Theme/themeVariables/dark/yellowTheme.js +0 -20
- package/es/Theme/themeVariables/light/blueTheme.js +0 -20
- package/es/Theme/themeVariables/light/greenTheme.js +0 -20
- package/es/Theme/themeVariables/light/orangeTheme.js +0 -20
- package/es/Theme/themeVariables/light/redTheme.js +0 -20
- package/es/Theme/themeVariables/light/yellowTheme.js +0 -20
- package/es/Theme/themeVariables/pureDark/blueTheme.js +0 -20
- package/es/Theme/themeVariables/pureDark/greenTheme.js +0 -20
- package/es/Theme/themeVariables/pureDark/orangeTheme.js +0 -20
- package/es/Theme/themeVariables/pureDark/redTheme.js +0 -20
- package/es/Theme/themeVariables/pureDark/yellowTheme.js +0 -20
- package/es/Theme/utils/getThemeConfigurations.js +1 -1
- package/es/Theme/utils/getWrapperDivProps.js +7 -3
- package/es/Video/css/Video.module.css +1 -1
- package/es/icons/factory/common/reply.svg +6 -0
- package/es/icons/iconSrc/common/Reply.js +13 -0
- package/es/icons/iconSrc/common/index.js +2 -1
- package/es/im/IMIntegrationIcon/IMIntegrationIcon.js +2 -2
- package/es/im/IMIntegrationIcon/css/IMIntegrationIcon.module.css +0 -30
- package/es/im/IMIntegrationIcon/css/cssJSLogic.js +3 -3
- package/es/im/IMMessageContent/IMMessageContent.js +1 -0
- package/package.json +5 -5
- package/es/icons/factory/integrations/chInstagram.svg +0 -4
- package/es/icons/factory/integrations/chWhatsApp.svg +0 -4
- package/es/icons/factory/integrations/ttASAP.svg +0 -6
- package/es/icons/factory/integrations/ttLine.svg +0 -8
- package/es/icons/factory/integrations/ttTelegram.svg +0 -4
- package/es/icons/factory/integrations/ttTwillio.svg +0 -8
- package/es/icons/factory/integrations/ttWechat.svg +0 -9
- package/es/icons/iconSrc/integrations/ChInstagram.js +0 -17
- package/es/icons/iconSrc/integrations/ChWhatsApp.js +0 -19
- package/es/icons/iconSrc/integrations/TtASAP.js +0 -28
- package/es/icons/iconSrc/integrations/TtLine.js +0 -37
- package/es/icons/iconSrc/integrations/TtTelegram.js +0 -18
- package/es/icons/iconSrc/integrations/TtTwillio.js +0 -32
- package/es/icons/iconSrc/integrations/TtWechat.js +0 -41
- package/es/icons/iconSrc/integrations/index.js +0 -7
|
@@ -6,13 +6,14 @@ import React, { useCallback, useMemo } from 'react';
|
|
|
6
6
|
|
|
7
7
|
import ActionIconWrapper from '../ActionIconWrapper/ActionIconWrapper';
|
|
8
8
|
/** ** Icons *** */
|
|
9
|
+
// import ReplyIcon from '@zohodesk/icon/es/general/Reply';
|
|
9
10
|
|
|
10
|
-
import ReplyIcon from '@zohodesk/icon/es/general/Reply';
|
|
11
11
|
import ReloadIcon from '@zohodesk/icon/es/general/Reload';
|
|
12
12
|
import CopyIcon from '@zohodesk/icon/es/general/Copy';
|
|
13
13
|
import DownloadIcon from '@zohodesk/icon/es/general/Cloud';
|
|
14
14
|
import DeleteIcon from '@zohodesk/icon/es/general/Delete';
|
|
15
15
|
import ForwardIcon from '@zohodesk/icon/es/channels/EmailForward';
|
|
16
|
+
import ReplyIcon from '../icons/iconSrc/common/Reply';
|
|
16
17
|
/** ** Hooks *** */
|
|
17
18
|
|
|
18
19
|
import useMergeStyle from '@zohodesk/hooks/es/utils/useMergeStyle';
|
|
@@ -27,6 +27,7 @@ export default function AttachmentBubble(props) {
|
|
|
27
27
|
customProps,
|
|
28
28
|
attachmentDetails,
|
|
29
29
|
isFailed,
|
|
30
|
+
isSending,
|
|
30
31
|
onClick: propOnClick
|
|
31
32
|
} = props;
|
|
32
33
|
const {
|
|
@@ -51,7 +52,8 @@ export default function AttachmentBubble(props) {
|
|
|
51
52
|
const {
|
|
52
53
|
attachmentBubbleClass
|
|
53
54
|
} = cssJSLogic({
|
|
54
|
-
isFailed
|
|
55
|
+
isFailed,
|
|
56
|
+
isSending
|
|
55
57
|
}, newStyle);
|
|
56
58
|
return /*#__PURE__*/React.createElement(Container, {
|
|
57
59
|
alignBox: "row",
|
|
@@ -5,9 +5,18 @@
|
|
|
5
5
|
border: 1px solid var(--imlib_chat_components_attachmentBubble_border_color);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.failedAttachmentBubble{
|
|
9
|
-
background-color: var(
|
|
10
|
-
|
|
8
|
+
.failedAttachmentBubble {
|
|
9
|
+
background-color: var(
|
|
10
|
+
--imlib_chat_components_attachmentBubble_bg_color_failed
|
|
11
|
+
);
|
|
12
|
+
border-color: var(
|
|
13
|
+
--imlib_chat_components_attachmentBubble_border_color_failed
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.sendingdAttachmentBubble {
|
|
18
|
+
opacity: 0.1;
|
|
19
|
+
cursor: default;
|
|
11
20
|
}
|
|
12
21
|
|
|
13
22
|
.attachmentBubbleCursor {
|
|
@@ -30,11 +39,12 @@
|
|
|
30
39
|
border-left: 1px solid var(--imlib_chat_components_attachmentBubble_border_color);
|
|
31
40
|
}
|
|
32
41
|
|
|
33
|
-
.failedAttachmentBubble .attachmentBubbleIcon{
|
|
34
|
-
border-color: var(
|
|
42
|
+
.failedAttachmentBubble .attachmentBubbleIcon {
|
|
43
|
+
border-color: var(
|
|
44
|
+
--imlib_chat_components_attachmentBubble_border_color_failed
|
|
45
|
+
);
|
|
35
46
|
}
|
|
36
47
|
|
|
37
|
-
|
|
38
48
|
.attachmentBubbleIcon, .attachmentBubbleContent {
|
|
39
49
|
padding: var(--zd_size10) ;
|
|
40
|
-
}
|
|
50
|
+
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { compileClassNames } from '@zohodesk/utils';
|
|
2
2
|
export default function cssJSLogic(props, style) {
|
|
3
3
|
const {
|
|
4
|
-
isFailed
|
|
4
|
+
isFailed,
|
|
5
|
+
isSending
|
|
5
6
|
} = props;
|
|
6
7
|
const attachmentBubbleClass = compileClassNames({
|
|
7
8
|
[style.attachmentBubble]: true,
|
|
8
9
|
[style.failedAttachmentBubble]: isFailed,
|
|
9
|
-
[style.attachmentBubbleCursor]:
|
|
10
|
+
[style.attachmentBubbleCursor]: !isSending,
|
|
11
|
+
[style.sendingdAttachmentBubble]: isSending
|
|
10
12
|
});
|
|
11
13
|
return {
|
|
12
14
|
attachmentBubbleClass
|
|
@@ -53,7 +53,8 @@ export default function LocationBubble(props) {
|
|
|
53
53
|
className: newStyle.textWrapper,
|
|
54
54
|
flexible: true
|
|
55
55
|
}, /*#__PURE__*/React.createElement("a", {
|
|
56
|
-
className: newStyle.textLink
|
|
56
|
+
className: newStyle.textLink,
|
|
57
|
+
"data-title": locationUrl
|
|
57
58
|
}, locationUrl))));
|
|
58
59
|
}
|
|
59
60
|
LocationBubble.propTypes = locationBubblePropTypes;
|
|
@@ -32,9 +32,15 @@
|
|
|
32
32
|
|
|
33
33
|
.textLink {
|
|
34
34
|
display: block;
|
|
35
|
-
composes: dotted from "../../css/common.module.css";
|
|
36
35
|
color: var(--imlib_chat_components_locationBubble_url_color);
|
|
37
|
-
|
|
36
|
+
word-break: break-word;
|
|
37
|
+
word-wrap: break-word;
|
|
38
|
+
display: -webkit-box;
|
|
39
|
+
-webkit-line-clamp: 2;
|
|
40
|
+
-webkit-box-orient: vertical;
|
|
41
|
+
overflow: hidden;
|
|
42
|
+
line-height: 1.4;
|
|
43
|
+
white-space: normal;
|
|
38
44
|
}
|
|
39
45
|
|
|
40
46
|
.failedLocationBubble .textLink{
|
|
@@ -9,6 +9,7 @@ import DropBox from '@zohodesk/components/lib/DropBox/DropBox';
|
|
|
9
9
|
import messageActionsMoreDefaultProps from './props/defaultProps';
|
|
10
10
|
import messageActionsMorePropTypes from './props/propTypes';
|
|
11
11
|
import { MSG_ACTION_POPUP_PORTAL } from '../constants';
|
|
12
|
+
import { dummyObject } from '@zohoim/chat-components-utils/es/constants/emptyConstants';
|
|
12
13
|
/** ** Methods *** */
|
|
13
14
|
|
|
14
15
|
import renderHandler from '@zohoim/chat-components-utils/es/common/renderHandler';
|
|
@@ -75,6 +76,7 @@ function MessageActionsMoreComp(props) {
|
|
|
75
76
|
}, moreIcon) : null, isRenderPopup ? /*#__PURE__*/React.createElement(DropBox, {
|
|
76
77
|
boxPosition: position,
|
|
77
78
|
customClass: popupClass,
|
|
79
|
+
customStyle: dummyObject,
|
|
78
80
|
getRef: getContainerRef,
|
|
79
81
|
isAbsolutePositioningNeeded: isAbsolutePositioningNeeded,
|
|
80
82
|
isActive: isPopupReady,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
--messageBubble-message_owner_gap: 13px;
|
|
4
4
|
--messageBox-max_width: 410px;
|
|
5
5
|
--messageBox-footer_fontSize: var(--zd_font_size11);
|
|
6
|
-
--messageBox-owner_width: var(--
|
|
6
|
+
--messageBox-owner_width: var(--zd_size32);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.messageBubble {
|
|
@@ -39,6 +39,13 @@
|
|
|
39
39
|
flex-direction: column;
|
|
40
40
|
position: absolute;
|
|
41
41
|
top:0 ;
|
|
42
|
+
visibility: hidden;
|
|
43
|
+
opacity: 0;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.messageBubble:hover .messageActionWrapper{
|
|
47
|
+
visibility: visible;
|
|
48
|
+
opacity: 1;
|
|
42
49
|
}
|
|
43
50
|
|
|
44
51
|
.messageActionWrapperEnd {
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
flex-shrink: 0;
|
|
4
4
|
width: var(--zd_size20) !important;
|
|
5
5
|
height: var(--zd_size20) !important;
|
|
6
|
+
cursor: default;
|
|
6
7
|
}[dir=ltr] .replyIcon {
|
|
7
8
|
margin-right: var(--zd_size5) ;
|
|
8
9
|
}[dir=rtl] .replyIcon {
|
|
@@ -22,22 +23,22 @@
|
|
|
22
23
|
margin-left: var(--zd_size5) ;
|
|
23
24
|
}
|
|
24
25
|
|
|
25
|
-
.failedReplyBubbleHeader .replyText{
|
|
26
|
+
.failedReplyBubbleHeader .replyText {
|
|
26
27
|
color: var(--imlib_chat_components_replyBubbleHeader_text_color_failed);
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
.replyText,
|
|
30
|
-
.time{
|
|
31
|
-
composes: dotted from
|
|
31
|
+
.time {
|
|
32
|
+
composes: dotted from '../../css/common.module.css';
|
|
32
33
|
max-width: max-content;
|
|
33
34
|
}
|
|
34
35
|
|
|
35
|
-
.time{
|
|
36
|
+
.time {
|
|
36
37
|
font-size: var(--zd_font_size11) ;
|
|
37
|
-
letter-spacing: .4px;
|
|
38
|
+
letter-spacing: 0.4px;
|
|
38
39
|
color: var(--imlib_chat_components_replyBubbleHeader_time_color);
|
|
39
40
|
}
|
|
40
41
|
|
|
41
|
-
.failedReplyBubbleHeader .time{
|
|
42
|
+
.failedReplyBubbleHeader .time {
|
|
42
43
|
color: var(--imlib_chat_components_replyBubbleHeader_time_color_failed);
|
|
43
|
-
}
|
|
44
|
+
}
|
package/es/Theme/ThemeAssets.js
CHANGED
|
@@ -1,42 +1,63 @@
|
|
|
1
1
|
/** ** Libraries *** */
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import '@zohodesk/components/lib/common/boxShadow.module.css';
|
|
4
|
+
/* component pkg - default mode, themes */
|
|
3
5
|
|
|
4
|
-
import '@zohodesk/components/assets/Appearance/
|
|
5
|
-
import '@zohodesk/components/assets/Appearance/
|
|
6
|
-
import '@zohodesk/components/assets/Appearance/
|
|
7
|
-
import '@zohodesk/components/assets/Appearance/
|
|
8
|
-
import '@zohodesk/components/assets/Appearance/
|
|
9
|
-
import '@zohodesk/components/assets/Appearance/
|
|
10
|
-
import '@zohodesk/components/assets/Appearance/
|
|
11
|
-
import '@zohodesk/components/assets/Appearance/
|
|
12
|
-
import '@zohodesk/components/assets/Appearance/
|
|
13
|
-
import '@zohodesk/components/assets/Appearance/
|
|
14
|
-
import '@zohodesk/components/assets/Appearance/
|
|
6
|
+
import '@zohodesk/components/assets/Appearance/light/themes/blue/blue_CTA_LightTheme.module.css';
|
|
7
|
+
import '@zohodesk/components/assets/Appearance/light/themes/blue/blue_CTA_LightModifyCategory.module.css';
|
|
8
|
+
import '@zohodesk/components/assets/Appearance/light/themes/green/green_CTA_LightTheme.module.css';
|
|
9
|
+
import '@zohodesk/components/assets/Appearance/light/themes/green/green_CTA_LightModifyCategory.module.css';
|
|
10
|
+
import '@zohodesk/components/assets/Appearance/light/themes/orange/orange_CTA_LightTheme.module.css';
|
|
11
|
+
import '@zohodesk/components/assets/Appearance/light/themes/orange/orange_CTA_LightModifyCategory.module.css';
|
|
12
|
+
import '@zohodesk/components/assets/Appearance/light/themes/red/red_CTA_LightTheme.module.css';
|
|
13
|
+
import '@zohodesk/components/assets/Appearance/light/themes/red/red_CTA_LightModifyCategory.module.css';
|
|
14
|
+
import '@zohodesk/components/assets/Appearance/light/themes/yellow/yellow_CTA_LightTheme.module.css';
|
|
15
|
+
import '@zohodesk/components/assets/Appearance/light/themes/yellow/yellow_CTA_LightModifyCategory.module.css';
|
|
16
|
+
import '@zohodesk/components/assets/Appearance/light/themes/blue/blue_ComponentTheme_LightTheme.module.css';
|
|
17
|
+
import '@zohodesk/components/assets/Appearance/light/themes/green/green_ComponentTheme_LightTheme.module.css';
|
|
18
|
+
import '@zohodesk/components/assets/Appearance/light/themes/orange/orange_ComponentTheme_LightTheme.module.css';
|
|
19
|
+
import '@zohodesk/components/assets/Appearance/light/themes/red/red_ComponentTheme_LightTheme.module.css';
|
|
20
|
+
import '@zohodesk/components/assets/Appearance/light/themes/yellow/yellow_ComponentTheme_LightTheme.module.css';
|
|
21
|
+
import '@zohodesk/components/assets/Appearance/light/mode/Component_LightMode.module.css';
|
|
22
|
+
import '@zohodesk/components/assets/Contrast/lightContrastLightness.module.css';
|
|
23
|
+
/* component pkg - dark mode, themes */
|
|
15
24
|
|
|
16
|
-
import '@zohodesk/components/assets/Appearance/dark/themes/blue/
|
|
17
|
-
import '@zohodesk/components/assets/Appearance/dark/themes/
|
|
18
|
-
import '@zohodesk/components/assets/Appearance/dark/themes/
|
|
19
|
-
import '@zohodesk/components/assets/Appearance/dark/themes/
|
|
20
|
-
import '@zohodesk/components/assets/Appearance/dark/themes/
|
|
21
|
-
import '@zohodesk/components/assets/Appearance/dark/themes/
|
|
22
|
-
import '@zohodesk/components/assets/Appearance/dark/themes/
|
|
23
|
-
import '@zohodesk/components/assets/Appearance/dark/themes/
|
|
24
|
-
import '@zohodesk/components/assets/Appearance/dark/themes/
|
|
25
|
-
import '@zohodesk/components/assets/Appearance/dark/themes/yellow/
|
|
26
|
-
import '@zohodesk/components/assets/Appearance/dark/
|
|
27
|
-
|
|
25
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/blue/blue_CTA_DarkTheme.module.css';
|
|
26
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/blue/blue_CTA_DarkModifyCategory.module.css';
|
|
27
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/green/green_CTA_DarkTheme.module.css';
|
|
28
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/green/green_CTA_DarkModifyCategory.module.css';
|
|
29
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/orange/orange_CTA_DarkTheme.module.css';
|
|
30
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/orange/orange_CTA_DarkModifyCategory.module.css';
|
|
31
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/red/red_CTA_DarkTheme.module.css';
|
|
32
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/red/red_CTA_DarkModifyCategory.module.css';
|
|
33
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/yellow/yellow_CTA_DarkTheme.module.css';
|
|
34
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/yellow/yellow_CTA_DarkModifyCategory.module.css';
|
|
35
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/blue/blue_ComponentTheme_DarkTheme.module.css';
|
|
36
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/green/green_ComponentTheme_DarkTheme.module.css';
|
|
37
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/orange/orange_ComponentTheme_DarkTheme.module.css';
|
|
38
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/red/red_ComponentTheme_DarkTheme.module.css';
|
|
39
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/yellow/yellow_ComponentTheme_DarkTheme.module.css';
|
|
40
|
+
import '@zohodesk/components/assets/Appearance/dark/mode/Component_DarkMode.module.css';
|
|
41
|
+
import '@zohodesk/components/assets/Contrast/darkContrastLightness.module.css';
|
|
42
|
+
/* component pkg - pure dark mode, themes */
|
|
28
43
|
|
|
29
|
-
import '@zohodesk/components/assets/Appearance/pureDark/themes/blue/
|
|
30
|
-
import '@zohodesk/components/assets/Appearance/pureDark/themes/
|
|
31
|
-
import '@zohodesk/components/assets/Appearance/pureDark/themes/
|
|
32
|
-
import '@zohodesk/components/assets/Appearance/pureDark/themes/
|
|
33
|
-
import '@zohodesk/components/assets/Appearance/pureDark/themes/
|
|
34
|
-
import '@zohodesk/components/assets/Appearance/pureDark/themes/
|
|
35
|
-
import '@zohodesk/components/assets/Appearance/pureDark/themes/
|
|
36
|
-
import '@zohodesk/components/assets/Appearance/pureDark/themes/
|
|
37
|
-
import '@zohodesk/components/assets/Appearance/pureDark/themes/
|
|
38
|
-
import '@zohodesk/components/assets/Appearance/pureDark/themes/yellow/
|
|
39
|
-
import '@zohodesk/components/assets/Appearance/pureDark/
|
|
44
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/blue/blue_CTA_PureDarkTheme.module.css';
|
|
45
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/blue/blue_CTA_PureDarkModifyCategory.module.css';
|
|
46
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/green/green_CTA_PureDarkTheme.module.css';
|
|
47
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/green/green_CTA_PureDarkModifyCategory.module.css';
|
|
48
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/orange/orange_CTA_PureDarkTheme.module.css';
|
|
49
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/orange/orange_CTA_PureDarkModifyCategory.module.css';
|
|
50
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/red/red_CTA_PureDarkTheme.module.css';
|
|
51
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/red/red_CTA_PureDarkModifyCategory.module.css';
|
|
52
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/yellow/yellow_CTA_PureDarkTheme.module.css';
|
|
53
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/yellow/yellow_CTA_PureDarkModifyCategory.module.css';
|
|
54
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/blue/blue_ComponentTheme_PureDarkTheme.module.css';
|
|
55
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/green/green_ComponentTheme_PureDarkTheme.module.css';
|
|
56
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/orange/orange_ComponentTheme_PureDarkTheme.module.css';
|
|
57
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/red/red_ComponentTheme_PureDarkTheme.module.css';
|
|
58
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/yellow/yellow_ComponentTheme_PureDarkTheme.module.css';
|
|
59
|
+
import '@zohodesk/components/assets/Appearance/pureDark/mode/Component_PureDarkMode.module.css';
|
|
60
|
+
import '@zohodesk/components/assets/Contrast/pureDarkContrastLightness.module.css';
|
|
40
61
|
/** ** Desk Components Assets *** */
|
|
41
62
|
|
|
42
63
|
import '@zohodesk/variables/assets/colorVariables.module.css';
|
|
@@ -4,7 +4,6 @@ import { imIntegrationIcon, imTtIcon, messagetextColor } from '../commonThemeCol
|
|
|
4
4
|
export default {
|
|
5
5
|
library: 'chat_components',
|
|
6
6
|
variables: {
|
|
7
|
-
// ActionIcon: {},
|
|
8
7
|
actionIconWrapper: {
|
|
9
8
|
color: actionIconWrapperColor,
|
|
10
9
|
bg_color: '#2c3b4d',
|
|
@@ -22,9 +21,6 @@ export default {
|
|
|
22
21
|
fileSize_color: '#788190',
|
|
23
22
|
fileSize_color_failed: '#788190'
|
|
24
23
|
},
|
|
25
|
-
// AttachmentIcon: {},
|
|
26
|
-
// Audio: {},
|
|
27
|
-
// AudioBubble: {},
|
|
28
24
|
articleBubble: {
|
|
29
25
|
bg_color: '#232b38',
|
|
30
26
|
bg_color_failed: failedBg,
|
|
@@ -38,10 +34,8 @@ export default {
|
|
|
38
34
|
imAutoMessageInfo: {
|
|
39
35
|
text_color: '#828994'
|
|
40
36
|
},
|
|
41
|
-
// IMInfoBubble: {},
|
|
42
37
|
imIntegrationIcon,
|
|
43
38
|
imTtIcon,
|
|
44
|
-
// IMMessage: {},
|
|
45
39
|
imMessageContent: {
|
|
46
40
|
text_color: '#a8b0bd'
|
|
47
41
|
},
|
|
@@ -51,8 +45,6 @@ export default {
|
|
|
51
45
|
imPermaLink: {
|
|
52
46
|
url_color: '#479dff'
|
|
53
47
|
},
|
|
54
|
-
// IMReplyBubble: {},
|
|
55
|
-
// IMTextBubble: {},
|
|
56
48
|
imageBubble: {
|
|
57
49
|
bg_color: '#232b38',
|
|
58
50
|
bg_color_failed: failedBg,
|
|
@@ -61,9 +53,6 @@ export default {
|
|
|
61
53
|
border_color: '#2d3748',
|
|
62
54
|
border_color_failed: failedBdr
|
|
63
55
|
},
|
|
64
|
-
// IMReplyBubble: {},
|
|
65
|
-
// InfoBubble: {},
|
|
66
|
-
// LazyLoadImage: {},
|
|
67
56
|
locationBubble: {
|
|
68
57
|
bg_color: '#232b38',
|
|
69
58
|
bg_color_failed: failedBg,
|
|
@@ -72,13 +61,6 @@ export default {
|
|
|
72
61
|
url_color: primaryBlue,
|
|
73
62
|
url_color_failed: failedUrlColor
|
|
74
63
|
},
|
|
75
|
-
// MediaBubbleWrapper: {},
|
|
76
|
-
// Message: {},
|
|
77
|
-
// MessageAction: {},
|
|
78
|
-
// MessageActions: {},
|
|
79
|
-
// MessageActionsMore: {},
|
|
80
|
-
// MessageActionsWrapper: {},
|
|
81
|
-
// MessageAvatar: {},
|
|
82
64
|
messageBox: {
|
|
83
65
|
incoming_bg_color: incomingBubbleBgColor,
|
|
84
66
|
outgoing_bg_color: '#2c3b4d',
|
|
@@ -96,7 +78,6 @@ export default {
|
|
|
96
78
|
read_color: '#479dff',
|
|
97
79
|
failed_color: messageStatusFailedColor
|
|
98
80
|
},
|
|
99
|
-
// MoreActionItem: {},
|
|
100
81
|
replyBubble: {
|
|
101
82
|
border_color: '#2d3748',
|
|
102
83
|
border_color_failed: failedBdr
|
|
@@ -127,7 +108,6 @@ export default {
|
|
|
127
108
|
url_color: primaryBlue,
|
|
128
109
|
url_color_failed: failedUrlColor
|
|
129
110
|
},
|
|
130
|
-
// Video: {},
|
|
131
111
|
videoBubble: {
|
|
132
112
|
border_color: '#2d3748',
|
|
133
113
|
border_color_failed: failedBdr
|
|
@@ -4,7 +4,6 @@ import { imIntegrationIcon, imTtIcon, messagetextColor } from '../commonThemeCol
|
|
|
4
4
|
export default {
|
|
5
5
|
library: 'chat_components',
|
|
6
6
|
variables: {
|
|
7
|
-
// ActionIcon: {},
|
|
8
7
|
actionIconWrapper: {
|
|
9
8
|
color: actionIconWrapperColor,
|
|
10
9
|
bg_color: '#26373b',
|
|
@@ -22,9 +21,6 @@ export default {
|
|
|
22
21
|
fileSize_color: '#788190',
|
|
23
22
|
fileSize_color_failed: '#788190'
|
|
24
23
|
},
|
|
25
|
-
// AttachmentIcon: {},
|
|
26
|
-
// Audio: {},
|
|
27
|
-
// AudioBubble: {},
|
|
28
24
|
articleBubble: {
|
|
29
25
|
bg_color: '#232b38',
|
|
30
26
|
bg_color_failed: failedBg,
|
|
@@ -38,10 +34,8 @@ export default {
|
|
|
38
34
|
imAutoMessageInfo: {
|
|
39
35
|
text_color: '#828994'
|
|
40
36
|
},
|
|
41
|
-
// IMInfoBubble: {},
|
|
42
37
|
imIntegrationIcon,
|
|
43
38
|
imTtIcon,
|
|
44
|
-
// IMMessage: {},
|
|
45
39
|
imMessageContent: {
|
|
46
40
|
text_color: '#a8b0bd'
|
|
47
41
|
},
|
|
@@ -51,8 +45,6 @@ export default {
|
|
|
51
45
|
imPermaLink: {
|
|
52
46
|
url_color: '#45a159'
|
|
53
47
|
},
|
|
54
|
-
// IMReplyBubble: {},
|
|
55
|
-
// IMTextBubble: {},
|
|
56
48
|
imageBubble: {
|
|
57
49
|
bg_color: '#232b38',
|
|
58
50
|
bg_color_failed: failedBg,
|
|
@@ -61,9 +53,6 @@ export default {
|
|
|
61
53
|
border_color: '#2d3748',
|
|
62
54
|
border_color_failed: failedBdr
|
|
63
55
|
},
|
|
64
|
-
// IMReplyBubble: {},
|
|
65
|
-
// InfoBubble: {},
|
|
66
|
-
// LazyLoadImage: {},
|
|
67
56
|
locationBubble: {
|
|
68
57
|
bg_color: '#232b38',
|
|
69
58
|
bg_color_failed: failedBg,
|
|
@@ -72,13 +61,6 @@ export default {
|
|
|
72
61
|
url_color: primaryGreen,
|
|
73
62
|
url_color_failed: failedUrlColor
|
|
74
63
|
},
|
|
75
|
-
// MediaBubbleWrapper: {},
|
|
76
|
-
// Message: {},
|
|
77
|
-
// MessageAction: {},
|
|
78
|
-
// MessageActions: {},
|
|
79
|
-
// MessageActionsMore: {},
|
|
80
|
-
// MessageActionsWrapper: {},
|
|
81
|
-
// MessageAvatar: {},
|
|
82
64
|
messageBox: {
|
|
83
65
|
incoming_bg_color: incomingBubbleBgColor,
|
|
84
66
|
outgoing_bg_color: '#26373b',
|
|
@@ -95,7 +77,6 @@ export default {
|
|
|
95
77
|
read_color: '#45a159',
|
|
96
78
|
failed_color: messageStatusFailedColor
|
|
97
79
|
},
|
|
98
|
-
// MoreActionItem: {},
|
|
99
80
|
replyBubble: {
|
|
100
81
|
border_color: '#2d3748',
|
|
101
82
|
border_color_failed: failedBdr
|
|
@@ -126,7 +107,6 @@ export default {
|
|
|
126
107
|
url_color: primaryGreen,
|
|
127
108
|
url_color_failed: failedUrlColor
|
|
128
109
|
},
|
|
129
|
-
// Video: {},
|
|
130
110
|
videoBubble: {
|
|
131
111
|
border_color: '#2d3748',
|
|
132
112
|
border_color_failed: failedBdr
|
|
@@ -4,7 +4,6 @@ import { imIntegrationIcon, imTtIcon, messagetextColor } from '../commonThemeCol
|
|
|
4
4
|
export default {
|
|
5
5
|
library: 'chat_components',
|
|
6
6
|
variables: {
|
|
7
|
-
// ActionIcon: {},
|
|
8
7
|
actionIconWrapper: {
|
|
9
8
|
color: actionIconWrapperColor,
|
|
10
9
|
bg_color: '#323136',
|
|
@@ -22,9 +21,6 @@ export default {
|
|
|
22
21
|
fileSize_color: '#788190',
|
|
23
22
|
fileSize_color_failed: '#788190'
|
|
24
23
|
},
|
|
25
|
-
// AttachmentIcon: {},
|
|
26
|
-
// Audio: {},
|
|
27
|
-
// AudioBubble: {},
|
|
28
24
|
articleBubble: {
|
|
29
25
|
bg_color: '#232b38',
|
|
30
26
|
bg_color_failed: failedBg,
|
|
@@ -38,10 +34,8 @@ export default {
|
|
|
38
34
|
imAutoMessageInfo: {
|
|
39
35
|
text_color: '#828994'
|
|
40
36
|
},
|
|
41
|
-
// IMInfoBubble: {},
|
|
42
37
|
imIntegrationIcon,
|
|
43
38
|
imTtIcon,
|
|
44
|
-
// IMMessage: {},
|
|
45
39
|
imMessageContent: {
|
|
46
40
|
text_color: '#a8b0bd'
|
|
47
41
|
},
|
|
@@ -51,8 +45,6 @@ export default {
|
|
|
51
45
|
imPermaLink: {
|
|
52
46
|
url_color: '#ff801f'
|
|
53
47
|
},
|
|
54
|
-
// IMReplyBubble: {},
|
|
55
|
-
// IMTextBubble: {},
|
|
56
48
|
imageBubble: {
|
|
57
49
|
bg_color: '#232b38',
|
|
58
50
|
bg_color_failed: failedBg,
|
|
@@ -61,9 +53,6 @@ export default {
|
|
|
61
53
|
border_color: '#2d3748',
|
|
62
54
|
border_color_failed: failedBdr
|
|
63
55
|
},
|
|
64
|
-
// IMReplyBubble: {},
|
|
65
|
-
// InfoBubble: {},
|
|
66
|
-
// LazyLoadImage: {},
|
|
67
56
|
locationBubble: {
|
|
68
57
|
bg_color: '#232b38',
|
|
69
58
|
bg_color_failed: failedBg,
|
|
@@ -72,13 +61,6 @@ export default {
|
|
|
72
61
|
url_color: primaryOrange,
|
|
73
62
|
url_color_failed: failedUrlColor
|
|
74
63
|
},
|
|
75
|
-
// MediaBubbleWrapper: {},
|
|
76
|
-
// Message: {},
|
|
77
|
-
// MessageAction: {},
|
|
78
|
-
// MessageActions: {},
|
|
79
|
-
// MessageActionsMore: {},
|
|
80
|
-
// MessageActionsWrapper: {},
|
|
81
|
-
// MessageAvatar: {},
|
|
82
64
|
messageBox: {
|
|
83
65
|
incoming_bg_color: incomingBubbleBgColor,
|
|
84
66
|
outgoing_bg_color: '#323136',
|
|
@@ -95,7 +77,6 @@ export default {
|
|
|
95
77
|
read_color: '#ff801f',
|
|
96
78
|
failed_color: messageStatusFailedColor
|
|
97
79
|
},
|
|
98
|
-
// MoreActionItem: {},
|
|
99
80
|
replyBubble: {
|
|
100
81
|
border_color: '#2d3748',
|
|
101
82
|
border_color_failed: failedBdr
|
|
@@ -126,7 +107,6 @@ export default {
|
|
|
126
107
|
url_color: primaryOrange,
|
|
127
108
|
url_color_failed: failedUrlColor
|
|
128
109
|
},
|
|
129
|
-
// Video: {},
|
|
130
110
|
videoBubble: {
|
|
131
111
|
border_color: '#2d3748',
|
|
132
112
|
border_color_failed: failedBdr
|
|
@@ -4,7 +4,6 @@ import { imIntegrationIcon, imTtIcon, messagetextColor } from '../commonThemeCol
|
|
|
4
4
|
export default {
|
|
5
5
|
library: 'chat_components',
|
|
6
6
|
variables: {
|
|
7
|
-
// ActionIcon: {},
|
|
8
7
|
actionIconWrapper: {
|
|
9
8
|
color: actionIconWrapperColor,
|
|
10
9
|
bg_color: '#312d3a',
|
|
@@ -22,9 +21,6 @@ export default {
|
|
|
22
21
|
fileSize_color: '#788190',
|
|
23
22
|
fileSize_color_failed: '#788190'
|
|
24
23
|
},
|
|
25
|
-
// AttachmentIcon: {},
|
|
26
|
-
// Audio: {},
|
|
27
|
-
// AudioBubble: {},
|
|
28
24
|
articleBubble: {
|
|
29
25
|
bg_color: 'hsl(258.46deg 12.62% 16.2%)',
|
|
30
26
|
bg_color_failed: failedBg,
|
|
@@ -38,10 +34,8 @@ export default {
|
|
|
38
34
|
imAutoMessageInfo: {
|
|
39
35
|
text_color: '#828994'
|
|
40
36
|
},
|
|
41
|
-
// IMInfoBubble: {},
|
|
42
37
|
imIntegrationIcon,
|
|
43
38
|
imTtIcon,
|
|
44
|
-
// IMMessage: {},
|
|
45
39
|
imMessageContent: {
|
|
46
40
|
text_color: '#a8b0bd'
|
|
47
41
|
},
|
|
@@ -51,8 +45,6 @@ export default {
|
|
|
51
45
|
imPermaLink: {
|
|
52
46
|
url_color: '#e94f4f'
|
|
53
47
|
},
|
|
54
|
-
// IMReplyBubble: {},
|
|
55
|
-
// IMTextBubble: {},
|
|
56
48
|
imageBubble: {
|
|
57
49
|
bg_color: 'hsl(258.46deg 12.62% 16.2%)',
|
|
58
50
|
bg_color_failed: failedBg,
|
|
@@ -61,9 +53,6 @@ export default {
|
|
|
61
53
|
border_color: 'hsl(258.46deg 12.62% 23.2%)',
|
|
62
54
|
border_color_failed: failedBdr
|
|
63
55
|
},
|
|
64
|
-
// IMReplyBubble: {},
|
|
65
|
-
// InfoBubble: {},
|
|
66
|
-
// LazyLoadImage: {},
|
|
67
56
|
locationBubble: {
|
|
68
57
|
bg_color: 'hsl(258.46deg 12.62% 16.2%)',
|
|
69
58
|
bg_color_failed: failedBg,
|
|
@@ -72,13 +61,6 @@ export default {
|
|
|
72
61
|
url_color: primaryRed,
|
|
73
62
|
url_color_failed: failedUrlColor
|
|
74
63
|
},
|
|
75
|
-
// MediaBubbleWrapper: {},
|
|
76
|
-
// Message: {},
|
|
77
|
-
// MessageAction: {},
|
|
78
|
-
// MessageActions: {},
|
|
79
|
-
// MessageActionsMore: {},
|
|
80
|
-
// MessageActionsWrapper: {},
|
|
81
|
-
// MessageAvatar: {},
|
|
82
64
|
messageBox: {
|
|
83
65
|
incoming_bg_color: incomingBubbleBgColor,
|
|
84
66
|
outgoing_bg_color: '#312d3a',
|
|
@@ -95,7 +77,6 @@ export default {
|
|
|
95
77
|
read_color: '#e94f4f',
|
|
96
78
|
failed_color: messageStatusFailedColor
|
|
97
79
|
},
|
|
98
|
-
// MoreActionItem: {},
|
|
99
80
|
replyBubble: {
|
|
100
81
|
border_color: 'hsl(258.46deg 12.62% 23.2%)',
|
|
101
82
|
border_color_failed: failedBdr
|
|
@@ -126,7 +107,6 @@ export default {
|
|
|
126
107
|
url_color: primaryRed,
|
|
127
108
|
url_color_failed: failedUrlColor
|
|
128
109
|
},
|
|
129
|
-
// Video: {},
|
|
130
110
|
videoBubble: {
|
|
131
111
|
border_color: 'hsl(258.46deg 12.62% 23.2%)',
|
|
132
112
|
border_color_failed: failedBdr
|