@zohodesk/dot 1.0.0-temp-138 → 1.0.0-temp.139

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.
Files changed (59) hide show
  1. package/README.md +6 -0
  2. package/assets/Appearance/dark/mode/dotDarkMode.module.css +66 -0
  3. package/assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +4 -0
  4. package/assets/Appearance/dark/themes/green/greenDarkDotTheme.module.css +4 -0
  5. package/assets/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +4 -0
  6. package/assets/Appearance/dark/themes/red/redDarkDotTheme.module.css +4 -0
  7. package/assets/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +4 -0
  8. package/assets/Appearance/default/mode/dotDefaultMode.module.css +66 -0
  9. package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +4 -0
  10. package/assets/Appearance/default/themes/green/greenDefaultDotTheme.module.css +4 -0
  11. package/assets/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +4 -0
  12. package/assets/Appearance/default/themes/red/redDefaultDotTheme.module.css +4 -0
  13. package/assets/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +4 -0
  14. package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +66 -0
  15. package/assets/Appearance/pureDark/themes/blue/bluePureDarkDotTheme.module.css +4 -0
  16. package/assets/Appearance/pureDark/themes/green/greenPureDarkDotTheme.module.css +4 -0
  17. package/assets/Appearance/pureDark/themes/orange/orangePureDarkDotTheme.module.css +4 -0
  18. package/assets/Appearance/pureDark/themes/red/redPureDarkDotTheme.module.css +4 -0
  19. package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkDotTheme.module.css +4 -0
  20. package/css_error.log +1 -0
  21. package/es/TagWithIcon/TagWithIcon.js +62 -0
  22. package/es/TagWithIcon/TagWithIcon.module.css +56 -0
  23. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +2 -2
  24. package/es/dropdown/ToggleDropDown/props/defaultProps.js +2 -1
  25. package/es/dropdown/ToggleDropDown/props/propTypes.js +5 -1
  26. package/es/layout/List/CommentsList/CommentListItemCommon.module.css +143 -0
  27. package/es/layout/List/CommentsList/CommentListItemFromTab.module.css +50 -0
  28. package/es/layout/List/CommentsList/CommentListItemFromTabUI.js +121 -0
  29. package/es/layout/List/CommentsList/CommentListItemWeb.module.css +45 -0
  30. package/es/layout/List/CommentsList/CommentListItemWebUI.js +107 -0
  31. package/es/layout/List/ThreadsList/ThreadListItemCommon.module.css +345 -0
  32. package/es/layout/List/ThreadsList/ThreadListItemFromTab.module.css +35 -0
  33. package/es/layout/List/ThreadsList/ThreadListItemFromTabUI.js +282 -0
  34. package/es/layout/List/ThreadsList/ThreadListItemWeb.module.css +35 -0
  35. package/es/layout/List/ThreadsList/ThreadListItemWebUI.js +270 -0
  36. package/es/layout/List/common/SubTabListItemTabCommon.module.css +59 -0
  37. package/es/layout/List/common/SubTabListItemWebCommon.module.css +99 -0
  38. package/es/layout/List/common/twoToneIconColor.module.css +26 -0
  39. package/es/list/status/StatusListItem/StatusListItem.module.css +7 -5
  40. package/lib/TagWithIcon/TagWithIcon.js +92 -0
  41. package/lib/TagWithIcon/TagWithIcon.module.css +56 -0
  42. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +4 -2
  43. package/lib/dropdown/ToggleDropDown/props/defaultProps.js +2 -1
  44. package/lib/dropdown/ToggleDropDown/props/propTypes.js +5 -1
  45. package/lib/layout/List/CommentsList/CommentListItemCommon.module.css +143 -0
  46. package/lib/layout/List/CommentsList/CommentListItemFromTab.module.css +50 -0
  47. package/lib/layout/List/CommentsList/CommentListItemFromTabUI.js +123 -0
  48. package/lib/layout/List/CommentsList/CommentListItemWeb.module.css +45 -0
  49. package/lib/layout/List/CommentsList/CommentListItemWebUI.js +109 -0
  50. package/lib/layout/List/ThreadsList/ThreadListItemCommon.module.css +345 -0
  51. package/lib/layout/List/ThreadsList/ThreadListItemFromTab.module.css +35 -0
  52. package/lib/layout/List/ThreadsList/ThreadListItemFromTabUI.js +283 -0
  53. package/lib/layout/List/ThreadsList/ThreadListItemWeb.module.css +35 -0
  54. package/lib/layout/List/ThreadsList/ThreadListItemWebUI.js +271 -0
  55. package/lib/layout/List/common/SubTabListItemTabCommon.module.css +59 -0
  56. package/lib/layout/List/common/SubTabListItemWebCommon.module.css +99 -0
  57. package/lib/layout/List/common/twoToneIconColor.module.css +26 -0
  58. package/lib/list/status/StatusListItem/StatusListItem.module.css +7 -5
  59. package/package.json +3 -3
@@ -0,0 +1,50 @@
1
+ .listWrapper,
2
+ .mobileListWrapper {
3
+ letter-spacing: 0.2px;
4
+ transition: var(--zd_transition3)
5
+ }.listWrapper, .mobileListWrapper {
6
+ padding-top: var(--zd_size12);
7
+ padding-bottom: var(--zd_size12);
8
+ margin: var(--zd_size8);
9
+ border-radius: var(--zd_size4)
10
+ }
11
+ [dir=ltr] .mobileListWrapper {
12
+ padding-left: var(--zd_size16);
13
+ padding-right: var(--zd_size16);
14
+ }
15
+ [dir=rtl] .mobileListWrapper {
16
+ padding-right: var(--zd_size16);
17
+ padding-left: var(--zd_size16);
18
+ }
19
+ [dir=ltr] .listWrapper {
20
+ padding-left: var(--zd_size20);
21
+ padding-right: var(--zd_size12);
22
+ }
23
+ [dir=rtl] .listWrapper {
24
+ padding-right: var(--zd_size20);
25
+ padding-left: var(--zd_size12);
26
+ }
27
+ .lightAgentTxt {
28
+ font-size: var(--zd_font_size12);
29
+ color: var(--zdt_conversationList_secondaryText);
30
+ }
31
+ [dir=ltr] .lightAgentTxt {
32
+ margin-left: var(--zd_size4);
33
+ }
34
+ [dir=rtl] .lightAgentTxt {
35
+ margin-right: var(--zd_size4);
36
+ }
37
+ .attachIconWrapper {
38
+ composes: dflex alignVertical alignHorizontal from '~@zohodesk/components/lib/common/common.module.css';
39
+ }
40
+ [dir=ltr] .attachIconWrapper {
41
+ margin-right: var(--zd_size8);
42
+ margin-left: var(--zd_size8);
43
+ }
44
+ [dir=rtl] .attachIconWrapper {
45
+ margin-left: var(--zd_size8);
46
+ margin-right: var(--zd_size8);
47
+ }
48
+ .time {
49
+ font-size: var(--zd_size11)
50
+ }
@@ -0,0 +1,121 @@
1
+ import React from 'react';
2
+ import { Container, Box } from '@zohodesk/components/es/Layout';
3
+ import tabStyle from './CommentListItemFromTab.module.css';
4
+ import commonTabStyle from '../common/SubTabListItemTabCommon.module.css';
5
+ import commonCommentStyle from './CommentListItemCommon.module.css';
6
+ export default function CommentListItemFromTabUI(props) {
7
+ const {
8
+ isPeekView,
9
+ isPublic,
10
+ dataId,
11
+ getAvatar,
12
+ getName,
13
+ getLightAgent,
14
+ getTag,
15
+ getTime,
16
+ getEdit,
17
+ getAttachmentIcon,
18
+ getAttachment,
19
+ getMoreDropdown,
20
+ getContent,
21
+ from,
22
+ hasPrivacyMode,
23
+ hasEditHistoryPermission,
24
+ isPopupOpen,
25
+ isNightMode,
26
+ onContentWrapperClick,
27
+ contentWrapperRef,
28
+ key,
29
+ id,
30
+ customList,
31
+ isMobile,
32
+ ViewInLightDarkBg,
33
+ getTheme,
34
+ children
35
+ } = props;
36
+ return /*#__PURE__*/React.createElement("div", {
37
+ "data-desk-mode": ViewInLightDarkBg ? 'default' : '',
38
+ "data-desk-theme": ViewInLightDarkBg ? getTheme : '',
39
+ className: `${commonTabStyle.wrapper}
40
+ ${isMobile ? tabStyle.mobileListWrapper : tabStyle.listWrapper}
41
+ ${hasPrivacyMode ? isPublic ? commonCommentStyle.public : commonCommentStyle.private : commonCommentStyle.normal}
42
+ ${customList}`,
43
+ "data-id": dataId,
44
+ key: key,
45
+ id: id
46
+ }, children ? children : null, /*#__PURE__*/React.createElement(Container, {
47
+ alignBox: "row",
48
+ align: "vertical",
49
+ isCover: false,
50
+ className: getContent || getAttachment ? commonCommentStyle.contentWrapper : ''
51
+ }, getAvatar ? /*#__PURE__*/React.createElement(Box, {
52
+ shrink: true,
53
+ className: commonCommentStyle.avatarWrapper
54
+ }, getAvatar({
55
+ size: 'xsmall',
56
+ iconColor: hasPrivacyMode ? isPublic ? commonCommentStyle.publicIcon : commonCommentStyle.privateIcon : ''
57
+ })) : null, /*#__PURE__*/React.createElement(Box, {
58
+ flexible: true
59
+ }, /*#__PURE__*/React.createElement(Container, {
60
+ alignBox: "row",
61
+ align: "vertical",
62
+ isCover: false
63
+ }, /*#__PURE__*/React.createElement(Box, {
64
+ flexible: true
65
+ }, /*#__PURE__*/React.createElement(Container, {
66
+ alignBox: "row",
67
+ align: "vertical",
68
+ isCover: false,
69
+ "data-a11y-focus": true,
70
+ onClick: onContentWrapperClick
71
+ }, getName ? /*#__PURE__*/React.createElement(React.Fragment, null, getName({
72
+ 'is-dot': 'true',
73
+ className: `${commonCommentStyle.agentName} ${from != 'editHistory' ? commonCommentStyle.agentNameHover : ''} ${commonTabStyle.dotted}`
74
+ })) : null, getLightAgent ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Box, {
75
+ className: commonTabStyle.dot
76
+ }, "."), getLightAgent({
77
+ 'is-dot': 'true',
78
+ className: `${tabStyle.lightAgentTxt} ${commonTabStyle.dotted}`
79
+ })) : null)), getAttachmentIcon ? /*#__PURE__*/React.createElement(Box, null, getAttachmentIcon({
80
+ innerProps: {
81
+ className: commonCommentStyle.attachCount
82
+ },
83
+ wrapperProps: {
84
+ className: tabStyle.attachIconWrapper
85
+ }
86
+ })) : null, getMoreDropdown ? /*#__PURE__*/React.createElement(Box, {
87
+ className: `${commonTabStyle.posRel} ${!isPopupOpen ? commonTabStyle.floatingWrapper : ''}`
88
+ }, getMoreDropdown()) : null), /*#__PURE__*/React.createElement(Container, {
89
+ alignBox: "row",
90
+ align: "vertical",
91
+ isCover: false
92
+ }, getTag ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Box, {
93
+ className: commonTabStyle.dot
94
+ }, "."), /*#__PURE__*/React.createElement(Box, {
95
+ shrink: true,
96
+ "is-dot": "true"
97
+ }, getTag())) : null, getTime ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Box, {
98
+ className: commonTabStyle.dot
99
+ }, "."), /*#__PURE__*/React.createElement(Box, {
100
+ shrink: true,
101
+ "is-dot": "true",
102
+ className: commonTabStyle.dotted
103
+ }, getTime(isMobile ? {
104
+ textClass: tabStyle.time
105
+ } : ''))) : null, getEdit ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Box, {
106
+ className: commonTabStyle.dot
107
+ }, "."), getEdit({
108
+ 'is-dot': 'true',
109
+ className: `${commonCommentStyle.editTxt} ${hasEditHistoryPermission ? commonCommentStyle.editAccess : ''} ${commonTabStyle.dotted}`
110
+ })) : null))), /*#__PURE__*/React.createElement("div", {
111
+ onClick: onContentWrapperClick,
112
+ ref: contentWrapperRef
113
+ }, getContent ? getContent({
114
+ className: `${isNightMode ? ViewInLightDarkBg ? commonCommentStyle.whiteBg : commonCommentStyle.invert : ''} ${commonCommentStyle.thrdPlain}`
115
+ }) : null, getAttachment ? getAttachment({
116
+ customWrapperClass: {
117
+ className: commonCommentStyle.attachmentWrapper
118
+ },
119
+ size: 'small'
120
+ }) : null));
121
+ }
@@ -0,0 +1,45 @@
1
+ .listWrapper,
2
+ .peekListWrapper {
3
+ letter-spacing: 0.2px;
4
+ transition: var(--zd_transition3)
5
+ }.listWrapper, .peekListWrapper {
6
+ padding-top: var(--zd_size15);
7
+ padding-bottom: var(--zd_size9);
8
+ margin: var(--zd_size6);
9
+ border-radius: var(--zd_size4)
10
+ }
11
+ [dir=ltr] .peekListWrapper {
12
+ padding-left: var(--zd_size35);
13
+ padding-right: var(--zd_size23);
14
+ }
15
+ [dir=rtl] .peekListWrapper {
16
+ padding-right: var(--zd_size35);
17
+ padding-left: var(--zd_size23);
18
+ }
19
+ [dir=ltr] .listWrapper {
20
+ padding-left: var(--zd_size58);
21
+ padding-right: var(--zd_size23);
22
+ }
23
+ [dir=rtl] .listWrapper {
24
+ padding-right: var(--zd_size58);
25
+ padding-left: var(--zd_size23);
26
+ }
27
+ .lightAgentTxt {
28
+ font-size: var(--zd_font_size11);
29
+ color: var(--zdt_conversationList_secondaryText);
30
+ }
31
+ [dir=ltr] .lightAgentTxt {
32
+ margin-left: var(--zd_size4);
33
+ }
34
+ [dir=rtl] .lightAgentTxt {
35
+ margin-right: var(--zd_size4);
36
+ }
37
+ [dir=ltr] .icnBtnSpace {
38
+ margin-right: var(--zd_size8);
39
+ }
40
+ [dir=rtl] .icnBtnSpace {
41
+ margin-left: var(--zd_size8);
42
+ }
43
+ .attachIconWrapper {
44
+ composes: dflex alignVertical alignHorizontal from '~@zohodesk/components/lib/common/common.module.css';
45
+ }
@@ -0,0 +1,107 @@
1
+ import React from 'react';
2
+ import { Container, Box } from '@zohodesk/components/es/Layout';
3
+ import webStyle from './CommentListItemWeb.module.css';
4
+ import commonWebStyle from '../common/SubTabListItemWebCommon.module.css';
5
+ import commonCommentStyle from './CommentListItemCommon.module.css';
6
+ export default function CommentListItemWebUI(props) {
7
+ const {
8
+ isPeekView,
9
+ isPublic,
10
+ dataId,
11
+ getAvatar,
12
+ getName,
13
+ getLightAgent,
14
+ getTag,
15
+ getTime,
16
+ getEdit,
17
+ getAttachmentIcon,
18
+ getAttachment,
19
+ getMoreDropdown,
20
+ getContent,
21
+ from,
22
+ hasPrivacyMode,
23
+ hasEditHistoryPermission,
24
+ isPopupOpen,
25
+ isNightMode,
26
+ ViewInLightDarkBg,
27
+ onContentWrapperClick,
28
+ contentWrapperRef,
29
+ key,
30
+ id,
31
+ customList,
32
+ getTheme,
33
+ children
34
+ } = props;
35
+ return /*#__PURE__*/React.createElement("div", {
36
+ "data-desk-mode": ViewInLightDarkBg ? 'default' : '',
37
+ "data-desk-theme": ViewInLightDarkBg ? getTheme : '',
38
+ className: `${commonWebStyle.wrapper}
39
+ ${isPeekView ? webStyle.peekListWrapper : webStyle.listWrapper}
40
+ ${hasPrivacyMode ? isPublic ? commonCommentStyle.public : commonCommentStyle.private : commonCommentStyle.normal}
41
+ ${customList}`,
42
+ "data-id": dataId,
43
+ key: key,
44
+ id: id,
45
+ tabIndex: "0",
46
+ "aria-label": getContent
47
+ }, children ? children : null, /*#__PURE__*/React.createElement(Container, {
48
+ alignBox: "row",
49
+ align: "vertical",
50
+ isCover: false,
51
+ className: getContent || getAttachment ? commonCommentStyle.contentWrapper : ''
52
+ }, /*#__PURE__*/React.createElement(Box, {
53
+ flexible: true
54
+ }, /*#__PURE__*/React.createElement(Container, {
55
+ alignBox: "row",
56
+ align: "vertical",
57
+ isCover: false
58
+ }, getAvatar ? /*#__PURE__*/React.createElement(Box, {
59
+ className: commonCommentStyle.avatarWrapper
60
+ }, getAvatar({
61
+ size: 'xsmall',
62
+ iconColor: hasPrivacyMode ? isPublic ? commonCommentStyle.publicIcon : commonCommentStyle.privateIcon : ''
63
+ })) : null, getName ? /*#__PURE__*/React.createElement(React.Fragment, null, getName({
64
+ 'is-dot': 'true',
65
+ className: `${commonCommentStyle.agentName} ${from != 'editHistory' ? commonCommentStyle.agentNameHover : ''} ${commonWebStyle.dotted}`
66
+ })) : null, getLightAgent ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Box, {
67
+ className: commonWebStyle.dot
68
+ }, "."), getLightAgent({
69
+ 'is-dot': 'true',
70
+ className: `${webStyle.lightAgentTxt} ${commonWebStyle.dotted}`
71
+ })) : null, getTag ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Box, {
72
+ className: commonWebStyle.dot
73
+ }, "."), /*#__PURE__*/React.createElement(Box, {
74
+ shrink: true,
75
+ "is-dot": "true"
76
+ }, getTag())) : null, getTime ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Box, {
77
+ className: commonWebStyle.dot
78
+ }, "."), /*#__PURE__*/React.createElement(Box, {
79
+ shrink: true,
80
+ "is-dot": "true",
81
+ className: commonWebStyle.dotted
82
+ }, getTime())) : null, getEdit ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Box, {
83
+ className: commonWebStyle.dot
84
+ }, "."), getEdit({
85
+ 'is-dot': 'true',
86
+ className: `${commonCommentStyle.editTxt} ${hasEditHistoryPermission ? commonCommentStyle.editAccess : ''} ${commonWebStyle.dotted}`
87
+ })) : null)), getAttachmentIcon ? /*#__PURE__*/React.createElement(Box, null, getAttachmentIcon({
88
+ innerProps: {
89
+ className: commonCommentStyle.attachCount
90
+ },
91
+ wrapperProps: {
92
+ className: `${webStyle.attachIconWrapper} ${webStyle.icnBtnSpace}`
93
+ }
94
+ })) : null, getMoreDropdown ? /*#__PURE__*/React.createElement(Box, {
95
+ className: `${commonWebStyle.posRel} ${!isPopupOpen ? commonWebStyle.visibleOnHover : ''}`
96
+ }, getMoreDropdown()) : null), /*#__PURE__*/React.createElement("div", {
97
+ onClick: onContentWrapperClick,
98
+ ref: contentWrapperRef
99
+ }, getContent ? getContent({
100
+ className: `${isNightMode ? ViewInLightDarkBg ? commonCommentStyle.whiteBg : commonCommentStyle.invert : ''} ${commonCommentStyle.thrdPlain}`
101
+ }) : null, getAttachment ? getAttachment({
102
+ customWrapperClass: {
103
+ className: commonCommentStyle.attachmentWrapper
104
+ },
105
+ size: from == 'editHistory' || from === 'leftPanel' ? 'small' : 'medium'
106
+ }) : null));
107
+ }
@@ -0,0 +1,345 @@
1
+ .normal {
2
+ border: 1px solid var(--zdt_conversationList_border);
3
+ background-color: var(--zdt_thread_bg);
4
+ }
5
+
6
+ .threadShrink {
7
+ background-color: var(--zdt_subtabList_bg_hover);
8
+ }
9
+
10
+ [dir=ltr] .avatarWrapper {
11
+ margin-right: var(--zd_size15);
12
+ }
13
+
14
+ [dir=rtl] .avatarWrapper {
15
+ margin-left: var(--zd_size15);
16
+ }
17
+
18
+ .agentName {
19
+ font-size: var(--zd_font_size14);
20
+ composes: bold from '~@zohodesk/components/lib/common/common.module.css';
21
+ color: var(--zdt_conversationList_agentName_text);
22
+ }
23
+
24
+ .agentNameHover:hover,
25
+ .primaryText {
26
+ color: var(--zdt_conversationList_agent_text);
27
+ }
28
+
29
+ .agentNameHover:hover, .primaryText {
30
+ cursor: pointer;
31
+ }
32
+
33
+ .attachCount {
34
+ top: calc(var(--zd_size4) * -1);
35
+ color: var(--zdt_conversationList_attachCount_text);
36
+ position: relative;
37
+ font-size: var(--zd_font_size10);
38
+ }
39
+
40
+ .attachIconWrapper {
41
+ composes: dflex alignVertical alignHorizontal from '~@zohodesk/components/lib/common/common.module.css';
42
+ }
43
+
44
+ .attachmentWrapper {
45
+ margin-top: var(--zd_size5);
46
+ }
47
+
48
+ .thrdPlain {
49
+ font-size: var(--zd_font_size14);
50
+ word-break: break-word;
51
+ composes: oflowx from '~@zohodesk/components/lib/common/common.module.css';
52
+ color: var(--zdt_conversationList_thread_text);
53
+ }
54
+
55
+ .thrdPlain table {
56
+ word-break: initial;
57
+ }
58
+
59
+ .thrdPlainContent {
60
+ line-height: var(--zd_size20);
61
+ }
62
+
63
+ .thrdPlain a {
64
+ color: var(--zdt_conversationList_primary_text);
65
+ }
66
+
67
+ .thrdPlain a:hover {
68
+ color: var(--zdt_conversationList_primary_hover_text);
69
+ }
70
+
71
+ .thrdPlain img[src*='/ImageDisplay'], .thrdPlain img[src*='/inlineImages'], .thrdPlain img[src*='/ViewMailAttachment.do'] {
72
+ cursor: pointer;
73
+ }
74
+
75
+ [dir=ltr] .thrdPlain blockquote {
76
+ margin: 0 0 0 var(--zd_size4);
77
+ }
78
+
79
+ [dir=rtl] .thrdPlain blockquote {
80
+ margin: 0 var(--zd_size4) 0 0;
81
+ }
82
+
83
+ .thrdPlain img {
84
+ max-width: 100%;
85
+ }
86
+
87
+ .whiteBg.thrdPlain a,
88
+ .whiteBg .thrdPlain a {
89
+ color: var(--zdt_conversationList_agent_text);
90
+ }
91
+
92
+ .whiteBg.thrdPlain a:hover,
93
+ .whiteBg .thrdPlain a:hover {
94
+ color: var(--zdt_conversationList_agent_hover_text);
95
+ }
96
+
97
+ /* opposite colors applied in variables to show original theme colors for selection area in inverted threads */
98
+ .invert .thrdPlain ::selection,
99
+ .invert.thrdPlain ::selection,
100
+ .invert .thrdPlain::selection,
101
+ .invert.thrdPlain::selection {
102
+ color: var(--zdt_inverted_selection_text);
103
+ }
104
+ .invert .thrdPlain ::selection, .invert.thrdPlain ::selection, .invert .thrdPlain::selection, .invert.thrdPlain::selection {
105
+ background-color: var(--zdt_selection_bg);
106
+ }
107
+
108
+ .invert .thrdPlain ::-moz-selection,
109
+ .invert.thrdPlain ::-moz-selection,
110
+ .invert .thrdPlain::-moz-selection,
111
+ .invert.thrdPlain::-moz-selection {
112
+ color: var(--zdt_inverted_selection_text);
113
+ }
114
+
115
+ .invert .thrdPlain ::-moz-selection, .invert.thrdPlain ::-moz-selection, .invert .thrdPlain::-moz-selection, .invert.thrdPlain::-moz-selection {
116
+ background-color: var(--zdt_selection_bg);
117
+ }
118
+
119
+ .invert .thrdPlain,
120
+ .invert.thrdPlain {
121
+ filter: invert(1) hue-rotate(180deg);
122
+ }
123
+
124
+ /* <img> and <a> elements selection inverted again below. So, to avoid opposite colors in <img> & <a> area original colors variables used below */
125
+ .invert .thrdPlain img::selection,
126
+ .invert.thrdPlain img::selection {
127
+ color: var(--zdt_selection_text);
128
+ }
129
+ .invert .thrdPlain img::selection, .invert.thrdPlain img::selection {
130
+ background-color: var(--zdt_selection_bg);
131
+ }
132
+
133
+ .invert .thrdPlain img::-moz-selection,
134
+ .invert.thrdPlain img::-moz-selection {
135
+ color: var(--zdt_selection_text);
136
+ }
137
+
138
+ .invert .thrdPlain img::-moz-selection, .invert.thrdPlain img::-moz-selection {
139
+ background-color: var(--zdt_selection_bg);
140
+ }
141
+
142
+ .invert img,
143
+ .invert video {
144
+ filter: invert(1) hue-rotate(180deg);
145
+ }
146
+
147
+ .dotted {
148
+ composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
149
+ }
150
+
151
+
152
+
153
+ /* ----- */
154
+ .draftText,
155
+ .forumText,
156
+ .showVisitor,
157
+ .response,
158
+ .bestAns {
159
+ font-size: var(--zd_font_size12);
160
+ }
161
+
162
+ .draftText {
163
+ color: var(--zdt_threadList_Draft_text);
164
+ }
165
+
166
+ .forumText {
167
+ color: var(--zdt_conversationList_secondaryText);
168
+ }
169
+
170
+ .bestAns {
171
+ color: var(--zdt_threadList_BestAns_text);
172
+ }
173
+
174
+ .time {
175
+ font-size: var(--zd_font_size12);
176
+ color: var(--zdt_conversationList_time_text);
177
+ }
178
+
179
+ .recipientsCont {
180
+ line-height: 0;
181
+ color: var(--zdt_threadList_secondaryText);
182
+ border: 1px solid var(--zdt_threadList_recipient_border);
183
+ padding: var(--zd_size2);
184
+ border-radius: 1px;
185
+ cursor: pointer;
186
+ }
187
+
188
+ .recipientsCont:hover {
189
+ color: var(--zdt_threadList_secondaryText_hover);
190
+ border: 1px solid var(--zdt_threadList_recipient_border_hover);
191
+ }
192
+
193
+ [dir=ltr] .recipientsHide {
194
+ transform: rotate(-90deg);
195
+ }
196
+
197
+ [dir=rtl] .recipientsHide {
198
+ transform: rotate(90deg);
199
+ }
200
+
201
+ .ratingImage {
202
+ height: var(--zd_size15);
203
+ width: var(--zd_size15);
204
+ }
205
+
206
+ [dir=ltr] .icnBtnSpace {
207
+ margin-right: var(--zd_size8);
208
+ }
209
+
210
+ [dir=rtl] .icnBtnSpace {
211
+ margin-left: var(--zd_size8);
212
+ }
213
+
214
+ .cntntOvrLd {
215
+ margin-top: var(--zd_size30);
216
+ }
217
+
218
+ .cntntOvrLdSpn {
219
+ color: var(--zdt_threadList_secondaryText);
220
+ font-size: var(--zd_font_size14);
221
+ }
222
+
223
+ .cntOvrLdLnk {
224
+ color: var(--zdt_threadList_link_text);
225
+ vertical-align: middle;
226
+ font-size: var(--zd_font_size14);
227
+ }
228
+
229
+ [dir=ltr] .cntOvrLdLnk {
230
+ margin-left: var(--zd_size2);
231
+ }
232
+
233
+ [dir=rtl] .cntOvrLdLnk {
234
+ margin-right: var(--zd_size2);
235
+ }
236
+
237
+ .showVisitor,
238
+ .hideVisitor,
239
+ .response {
240
+ text-decoration: underline;
241
+ color: var(--zdt_threadList_secondaryText);
242
+ }
243
+
244
+ .showVisitor:hover,
245
+ .hideVisitor:hover,
246
+ .response:hover {
247
+ text-decoration: none;
248
+ color: var(--zdt_threadList_secondaryText_hover);
249
+ }
250
+
251
+ .quotedIcon {
252
+ color: var(--zdt_threadList_expand_icon);
253
+ cursor: pointer;
254
+ }
255
+
256
+ .quotedIcon:hover {
257
+ color: var(--zdt_threadList_secondaryText);
258
+ }
259
+
260
+ .quotedIcon.isOpened {
261
+ color: var(--zdt_threadList_expand_icon_active);
262
+ }
263
+
264
+ .quote {
265
+ margin: var(--zd_size15);
266
+ }
267
+
268
+ .visitorInfo {
269
+ margin: var(--zd_size20) 0;
270
+ }
271
+
272
+ .metaText {
273
+ composes: clamp from '~@zohodesk/components/lib/common/common.module.css';
274
+ cursor: pointer;
275
+ }
276
+
277
+ .subjectWrapper {
278
+ margin-top: var(--zd_size11);
279
+ }
280
+
281
+ .delivered, .readByAll, .read, .failed {
282
+ padding: 0 var(--zd_size2);
283
+ }
284
+
285
+ [dir=ltr] .delivered, [dir=ltr] .readByAll, [dir=ltr] .read, [dir=ltr] .failed {
286
+ margin-left: var(--zd_size4);
287
+ }
288
+
289
+ [dir=rtl] .delivered, [dir=rtl] .readByAll, [dir=rtl] .read, [dir=rtl] .failed {
290
+ margin-right: var(--zd_size4);
291
+ }
292
+
293
+ .delivered:hover {
294
+ background-color: var(--zdt_readReceipts_statusIcon_grey_bg);
295
+ }
296
+
297
+ .readByAll {
298
+ color: var(--zdt_readReceipts_statusIcon_green)
299
+ }
300
+
301
+ .readByAll:hover {
302
+ background-color: var(--zdt_readReceipts_statusIcon_green_bg);
303
+ }
304
+
305
+ .read {
306
+ color: var(--zdt_readReceipts_statusIcon_blue)
307
+ }
308
+
309
+ .read:hover {
310
+ background-color: var(--zdt_readReceipts_statusIcon_blue_bg);
311
+ }
312
+
313
+ .failed {
314
+ color: var(--zdt_readReceipts_statusIcon_red)
315
+ }
316
+
317
+ .failed:hover {
318
+ background-color: var(--zdt_readReceipts_statusIcon_red_bg);
319
+ }
320
+
321
+ .threadWrapper {
322
+ height: 100%;
323
+ }
324
+
325
+ .expanded {
326
+ height: calc(100% - calc(var(--threadListMargin) * 2));
327
+ }
328
+
329
+ .navigationArrow {
330
+ color: var(--zdt_threadList_recipient_border)
331
+ }
332
+
333
+ .navigationArrow:hover {
334
+ color: var(--zdt_threadList_recipient_border_hover)
335
+ }
336
+
337
+ [dir=ltr] .upArrow {
338
+ transform: rotate(180deg);
339
+ margin-right: var(--zd_size10);
340
+ }
341
+
342
+ [dir=rtl] .upArrow {
343
+ transform: rotate(-180deg);
344
+ margin-left: var(--zd_size10);
345
+ }
@@ -0,0 +1,35 @@
1
+ .listWrapper,
2
+ .mobileListWrapper {
3
+ letter-spacing: 0.2px;
4
+ transition: var(--zd_transition3)
5
+ }.listWrapper, .mobileListWrapper {
6
+ padding-top: var(--zd_size12);
7
+ padding-bottom: var(--zd_size12);
8
+ margin: var(--zd_size8);
9
+ border-radius: var(--zd_size4)
10
+ }
11
+ [dir=ltr] .mobileListWrapper {
12
+ padding-left: var(--zd_size16);
13
+ padding-right: var(--zd_size16);
14
+ }
15
+ [dir=rtl] .mobileListWrapper {
16
+ padding-right: var(--zd_size16);
17
+ padding-left: var(--zd_size16);
18
+ }
19
+ [dir=ltr] .listWrapper {
20
+ padding-left: var(--zd_size20);
21
+ padding-right: var(--zd_size16);
22
+ }
23
+ [dir=rtl] .listWrapper {
24
+ padding-right: var(--zd_size20);
25
+ padding-left: var(--zd_size16);
26
+ }
27
+ [dir=ltr] .chnlIcn {
28
+ margin-right: var(--zd_size14);
29
+ }
30
+ [dir=rtl] .chnlIcn {
31
+ margin-left: var(--zd_size14);
32
+ }
33
+ .lineSpace {
34
+ margin-top: var(--zd_size4)
35
+ }