@zohodesk/dot 1.0.0-temp-89 → 1.0.0-temp-94
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 +26 -1
- package/es/Provider.js +5 -105
- package/es/alert/AlertLookup/AlertLookup.js +11 -4
- package/es/alert/AlertLookup/docs/AlertLookup__default.docs.js +4 -3
- package/es/docs/formDocs.js +5 -1
- package/es/docs/generalDocs.js +5 -2
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +3 -2
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +3 -2
- package/es/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +3 -3
- package/es/emptystate/EditionPage/EditionPage.js +1 -1
- package/es/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/es/errorstate/NoRequestFound/NoRequestFound.js +1 -1
- package/es/errorstate/PermissionPlay/PermissionPlay.js +1 -1
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +1 -1
- package/es/errorstate/UnableToProcess/UnableToProcess.js +1 -1
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -1
- package/es/errorstate/WillBack/WillBack.js +1 -1
- package/es/form/fields/CheckBoxField/CheckBoxField.js +16 -28
- package/es/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +8 -1
- package/es/form/fields/CurrencyField/CurrencyField.js +16 -29
- package/es/form/fields/CurrencyField/docs/CurrencyField__default.docs.js +36 -0
- package/es/form/fields/DateField/DateField.js +16 -28
- package/es/form/fields/DateField/docs/DateField__default.docs.js +8 -1
- package/es/form/fields/FieldContainer/FieldContainer.js +82 -0
- package/es/form/fields/FieldContainer/docs/FieldContainer__default.docs.js +49 -0
- package/es/form/fields/MultiSelectField/MultiSelectField.js +16 -28
- package/es/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +8 -1
- package/es/form/fields/SelectField/SelectField.js +16 -28
- package/es/form/fields/SelectField/docs/SelectField__default.docs.js +8 -1
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +9 -6
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +32 -28
- package/es/form/fields/TextBoxField/TextBoxField.js +18 -43
- package/es/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +28 -1
- package/es/form/fields/TextEditorField/TextEditorField.js +27 -44
- package/es/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +9 -2
- package/es/form/fields/TextareaField/TextareaField.js +16 -28
- package/es/form/fields/TextareaField/docs/TextareaField__default.docs.js +8 -1
- package/es/form/fields/props/FieldCommonDefaultProps.js +10 -0
- package/es/form/fields/props/FieldCommonPropTypes.js +22 -0
- package/es/list/BluePrintStatus/BluePrintStatus.js +2 -4
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +6 -8
- package/es/list/GridStencils/GridStencils.module.css +7 -18
- package/es/list/SecondaryText/AccountName.js +22 -39
- package/es/list/SecondaryText/ContactName.js +1 -3
- package/es/list/SecondaryText/SecondaryText.module.css +45 -15
- package/es/list/SecondaryText/docs/SecondaryText__default.docs.js +114 -0
- package/es/list/SentimentStatus/SentimentStatus.js +4 -6
- package/es/list/SentimentStatus/SentimentStatus.module.css +4 -9
- package/es/list/UserTime/UserTime.js +3 -5
- package/es/list/UserTime/UserTime.module.css +20 -3
- package/es/list/status/StatusDropdown/StatusDropdown.js +3 -2
- package/es/lookup/EmptyPage/EmptyPage.js +4 -4
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
- package/es/svg/PlusIcon.js +1 -1
- package/es/svg/SnippetIcon.js +1 -1
- package/es/svg/TemplateIcon.js +1 -1
- package/es/version2/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +1 -1
- package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +1 -1
- package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -1
- package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +1 -1
- package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +1 -1
- package/lib/Provider.js +6 -123
- package/lib/alert/AlertLookup/AlertLookup.js +11 -4
- package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +4 -3
- package/lib/docs/formDocs.js +32 -0
- package/lib/docs/generalDocs.js +8 -0
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +3 -2
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +3 -2
- package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +3 -3
- package/lib/emptystate/EditionPage/EditionPage.js +1 -1
- package/lib/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +1 -1
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +1 -1
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +1 -1
- package/lib/errorstate/UnableToProcess/UnableToProcess.js +1 -1
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -1
- package/lib/errorstate/WillBack/WillBack.js +1 -1
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +23 -29
- package/lib/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +8 -1
- package/lib/form/fields/CurrencyField/CurrencyField.js +23 -30
- package/lib/{list/SecondaryText/docs/ContactName__default.docs.js → form/fields/CurrencyField/docs/CurrencyField__default.docs.js} +29 -16
- package/lib/form/fields/DateField/DateField.js +23 -29
- package/lib/form/fields/DateField/docs/DateField__default.docs.js +8 -1
- package/lib/form/fields/FieldContainer/FieldContainer.js +136 -0
- package/lib/form/fields/FieldContainer/docs/FieldContainer__default.docs.js +104 -0
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +23 -29
- package/lib/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +8 -1
- package/lib/form/fields/SelectField/SelectField.js +23 -29
- package/lib/form/fields/SelectField/docs/SelectField__default.docs.js +8 -1
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +9 -6
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +36 -30
- package/lib/form/fields/TextBoxField/TextBoxField.js +25 -45
- package/lib/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +35 -2
- package/lib/form/fields/TextEditorField/TextEditorField.js +33 -47
- package/lib/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +9 -2
- package/lib/form/fields/TextareaField/TextareaField.js +23 -29
- package/lib/form/fields/TextareaField/docs/TextareaField__default.docs.js +8 -1
- package/lib/form/fields/props/FieldCommonDefaultProps.js +19 -0
- package/lib/form/fields/props/FieldCommonPropTypes.js +34 -0
- package/lib/list/BluePrintStatus/BluePrintStatus.js +2 -4
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +6 -8
- package/lib/list/GridStencils/GridStencils.module.css +7 -18
- package/lib/list/SecondaryText/AccountName.js +22 -40
- package/lib/list/SecondaryText/ContactName.js +1 -4
- package/lib/list/SecondaryText/SecondaryText.module.css +45 -15
- package/lib/list/SecondaryText/docs/SecondaryText__default.docs.js +162 -0
- package/lib/list/SentimentStatus/SentimentStatus.js +4 -6
- package/lib/list/SentimentStatus/SentimentStatus.module.css +4 -9
- package/lib/list/UserTime/UserTime.js +3 -5
- package/lib/list/UserTime/UserTime.module.css +20 -3
- package/lib/list/status/StatusDropdown/StatusDropdown.js +3 -2
- package/lib/lookup/EmptyPage/EmptyPage.js +4 -4
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
- package/lib/svg/PlusIcon.js +1 -1
- package/lib/svg/SnippetIcon.js +1 -1
- package/lib/svg/TemplateIcon.js +1 -1
- package/lib/version2/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +1 -1
- package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +1 -1
- package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -1
- package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +1 -1
- package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +1 -1
- package/package.json +10 -9
- package/es/list/SecondaryText/docs/ContactName__default.docs.js +0 -23
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
.stenLoading {
|
|
2
2
|
position: relative;
|
|
3
|
-
width: var(--zd_size265);
|
|
4
3
|
background-color: var(--zdt_gridstencils_default_bg);
|
|
5
4
|
border-bottom: 1px solid var(--zdt_gridstencils_default_border);
|
|
6
|
-
padding: var(--zd_size13) var(--
|
|
7
|
-
margin:
|
|
5
|
+
padding: var(--zd_size13) var(--zd_size15) var(--zd_size11) var(--zd_size15);
|
|
6
|
+
margin-bottom: var(--zd_size10) ;
|
|
8
7
|
border-radius: var(--zd_size5);
|
|
9
8
|
}
|
|
10
9
|
[dir=ltr] .stenLoadbody {
|
|
@@ -28,7 +27,6 @@
|
|
|
28
27
|
[dir=rtl] .stenLoadbody::after {
|
|
29
28
|
left: var(--zd_size20);
|
|
30
29
|
}
|
|
31
|
-
|
|
32
30
|
.lineBar {
|
|
33
31
|
width: 90%;
|
|
34
32
|
}
|
|
@@ -54,14 +52,14 @@
|
|
|
54
52
|
background-repeat: no-repeat;
|
|
55
53
|
}
|
|
56
54
|
[dir=ltr] .stenListBAr {
|
|
57
|
-
-webkit-animation-duration:var(--zd_transition10);
|
|
55
|
+
-webkit-animation-duration: var(--zd_transition10);
|
|
58
56
|
-webkit-animation-fill-mode: forwards;
|
|
59
57
|
-webkit-animation-iteration-count: infinite;
|
|
60
58
|
-webkit-animation-name: placeHolderShimmer;
|
|
61
59
|
-webkit-animation-timing-function: linear;
|
|
62
60
|
}
|
|
63
61
|
[dir=rtl] .stenListBAr {
|
|
64
|
-
-webkit-animation-duration:var(--zd_transition10);
|
|
62
|
+
-webkit-animation-duration: var(--zd_transition10);
|
|
65
63
|
-webkit-animation-fill-mode: forwards;
|
|
66
64
|
-webkit-animation-iteration-count: infinite;
|
|
67
65
|
-webkit-animation-name: placeHolderShimmer;
|
|
@@ -104,13 +102,11 @@
|
|
|
104
102
|
[dir=rtl] .threeLayout .stenLoadbody::before {
|
|
105
103
|
right: var(--zd_size16);
|
|
106
104
|
}
|
|
107
|
-
|
|
108
105
|
[dir=ltr] .threeLayout .stenLoadbody {
|
|
109
|
-
margin: var(--zd_size8) var(--zd_size20) var(--zd_size8) 0
|
|
106
|
+
margin: var(--zd_size8) var(--zd_size20) var(--zd_size8) 0;
|
|
110
107
|
}
|
|
111
|
-
|
|
112
108
|
[dir=rtl] .threeLayout .stenLoadbody {
|
|
113
|
-
margin: var(--zd_size8) 0 var(--zd_size8) var(--zd_size20)
|
|
109
|
+
margin: var(--zd_size8) 0 var(--zd_size8) var(--zd_size20);
|
|
114
110
|
}
|
|
115
111
|
.threeLayout .stenLoadbody::after {
|
|
116
112
|
top: var(--zd_size15);
|
|
@@ -122,31 +118,24 @@
|
|
|
122
118
|
[dir=rtl] .threeLayout .stenLoadbody::after {
|
|
123
119
|
left: var(--zd_size20);
|
|
124
120
|
}
|
|
125
|
-
|
|
126
121
|
[dir=ltr] .leftCont .stenLoadbody::before {
|
|
127
122
|
left: var(--zd_size33);
|
|
128
123
|
}
|
|
129
|
-
|
|
130
124
|
[dir=rtl] .leftCont .stenLoadbody::before {
|
|
131
125
|
right: var(--zd_size33);
|
|
132
126
|
}
|
|
133
|
-
|
|
134
127
|
[dir=ltr] .leftCont .stenLoadbody {
|
|
135
128
|
margin: var(--zd_size8) var(--zd_size20) var(--zd_size8) var(--zd_size46);
|
|
136
129
|
}
|
|
137
|
-
|
|
138
130
|
[dir=rtl] .leftCont .stenLoadbody {
|
|
139
131
|
margin: var(--zd_size8) var(--zd_size46) var(--zd_size8) var(--zd_size20);
|
|
140
132
|
}
|
|
141
|
-
|
|
142
133
|
[dir=ltr] .leftCont .stenLoadbody::after {
|
|
143
134
|
right: var(--zd_size40);
|
|
144
135
|
}
|
|
145
|
-
|
|
146
136
|
[dir=rtl] .leftCont .stenLoadbody::after {
|
|
147
137
|
left: var(--zd_size40);
|
|
148
138
|
}
|
|
149
|
-
|
|
150
139
|
.leftCont .lineBar {
|
|
151
140
|
width: 80%;
|
|
152
141
|
}
|
|
@@ -155,4 +144,4 @@
|
|
|
155
144
|
}
|
|
156
145
|
.leftCont .lineBar3 {
|
|
157
146
|
width: 40%;
|
|
158
|
-
}
|
|
147
|
+
}
|
|
@@ -7,7 +7,6 @@ import React, { Component } from 'react';
|
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
/**** Components ****/
|
|
9
9
|
|
|
10
|
-
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
11
10
|
import Link from '../../Link/Link';
|
|
12
11
|
/**** CSS ****/
|
|
13
12
|
|
|
@@ -36,44 +35,28 @@ export default class AccountName extends Component {
|
|
|
36
35
|
TextProps = {},
|
|
37
36
|
SecondaryTextProps = {}
|
|
38
37
|
} = customProps;
|
|
39
|
-
return (
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
dataId: `${dataId}_link`,
|
|
62
|
-
className: `${style.gridItem} ${style.link}`
|
|
63
|
-
}, LinkProps), /*#__PURE__*/React.createElement("div", {
|
|
64
|
-
className: `${style.textStyle} ${style[`font_${fontWeight}`]} ${className ? className : ''}`
|
|
65
|
-
}, text)) : /*#__PURE__*/React.createElement("div", _extends({
|
|
66
|
-
className: `${style.gridItem} ${style.secondaryText} ${style[`font_${fontWeight}`]} ${className ? className : ''} ${notAccessible ? style.disable : ''}`
|
|
67
|
-
}, TextProps), text)), secondaryAccountText && /*#__PURE__*/React.createElement(Link, {
|
|
68
|
-
href: secondaryAccountHref,
|
|
69
|
-
onClick: secondaryAccountClick,
|
|
70
|
-
className: `${style.gridItem} ${style.link}`
|
|
71
|
-
}, /*#__PURE__*/React.createElement("div", _extends({
|
|
72
|
-
className: `${style.textStyle} ${style[`font_${fontWeight}`]} ${className ? className : ''}`
|
|
73
|
-
}, SecondaryTextProps), secondaryAccountText))) // </Box>
|
|
74
|
-
// </Container>
|
|
75
|
-
|
|
76
|
-
);
|
|
38
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
39
|
+
className: style.primaryAccountNameCnt,
|
|
40
|
+
"data-title": dataTitle,
|
|
41
|
+
"data-id": dataId
|
|
42
|
+
}, /*#__PURE__*/React.createElement(React.Fragment, null, isLink ? /*#__PURE__*/React.createElement(Link, _extends({
|
|
43
|
+
href: href,
|
|
44
|
+
urlName: urlName,
|
|
45
|
+
urlData: urlData,
|
|
46
|
+
onClick: onClick,
|
|
47
|
+
dataId: `${dataId}_link`,
|
|
48
|
+
className: `${style.gridItem} ${style.link}`
|
|
49
|
+
}, LinkProps), /*#__PURE__*/React.createElement("div", {
|
|
50
|
+
className: `${style.textStyle} ${style[`font_${fontWeight}`]} ${className ? className : ''}`
|
|
51
|
+
}, text)) : /*#__PURE__*/React.createElement("div", _extends({
|
|
52
|
+
className: `${style.gridItem} ${style.secondaryText} ${style[`font_${fontWeight}`]} ${className ? className : ''} ${notAccessible ? style.disable : ''}`
|
|
53
|
+
}, TextProps), text)), secondaryAccountText && /*#__PURE__*/React.createElement(Link, {
|
|
54
|
+
href: secondaryAccountHref,
|
|
55
|
+
onClick: secondaryAccountClick,
|
|
56
|
+
className: `${style.gridItem} ${style.link}`
|
|
57
|
+
}, /*#__PURE__*/React.createElement("div", _extends({
|
|
58
|
+
className: `${style.textStyle} ${style[`font_${fontWeight}`]} ${className ? className : ''}`
|
|
59
|
+
}, SecondaryTextProps), secondaryAccountText)));
|
|
77
60
|
}
|
|
78
61
|
|
|
79
62
|
}
|
|
@@ -2,7 +2,6 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
2
2
|
|
|
3
3
|
import React, { Component } from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
|
-
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
6
5
|
import Link from '../../Link/Link';
|
|
7
6
|
import SentimentStatus from '../SentimentStatus/SentimentStatus';
|
|
8
7
|
import Icon from '@zohodesk/icons/lib/Icon';
|
|
@@ -100,8 +99,7 @@ ContactName.defaultProps = {
|
|
|
100
99
|
dataId: 'contactName',
|
|
101
100
|
fontWeight: 'regular',
|
|
102
101
|
i18nKeys: {},
|
|
103
|
-
customProps: {}
|
|
104
|
-
sentimentType: 'positive'
|
|
102
|
+
customProps: {}
|
|
105
103
|
};
|
|
106
104
|
|
|
107
105
|
if (false) {
|
|
@@ -1,20 +1,26 @@
|
|
|
1
1
|
.icon {
|
|
2
2
|
display: block;
|
|
3
3
|
}
|
|
4
|
+
|
|
4
5
|
.disable {
|
|
5
6
|
cursor: not-allowed;
|
|
6
7
|
}
|
|
8
|
+
|
|
7
9
|
.textBold {
|
|
8
10
|
font-family: var(--zd_bold);
|
|
9
11
|
color: var(--zdt_secondaryText_black_text);
|
|
10
12
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
+
|
|
14
|
+
.textStyle,
|
|
15
|
+
.link {
|
|
16
|
+
display: block
|
|
13
17
|
}
|
|
18
|
+
|
|
14
19
|
.textStyle.textBold {
|
|
15
20
|
font-family: var(--zd_bold);
|
|
16
21
|
color: var(--zdt_secondaryText_black_text);
|
|
17
22
|
}
|
|
23
|
+
|
|
18
24
|
.ticketId,
|
|
19
25
|
.link,
|
|
20
26
|
.textStyle,
|
|
@@ -23,15 +29,18 @@ display: block
|
|
|
23
29
|
.phoneNumber {
|
|
24
30
|
color: var(--zdt_secondaryText_secondaryText_text);
|
|
25
31
|
}
|
|
32
|
+
|
|
26
33
|
.textStyle,
|
|
27
34
|
.secondaryText {
|
|
28
35
|
font-size: var(--zd_font_size12);
|
|
29
36
|
}
|
|
37
|
+
|
|
30
38
|
.ticketId,
|
|
31
39
|
.phoneNumber,
|
|
32
40
|
.ratingText {
|
|
33
41
|
font-size: var(--zd_font_size12);
|
|
34
42
|
}
|
|
43
|
+
|
|
35
44
|
.textStyle,
|
|
36
45
|
.secondaryText,
|
|
37
46
|
.phoneNumber {
|
|
@@ -39,39 +48,49 @@ display: block
|
|
|
39
48
|
max-width: 100%;
|
|
40
49
|
display: block;
|
|
41
50
|
}
|
|
51
|
+
|
|
42
52
|
.textStyle, .secondaryText, .phoneNumber {
|
|
43
53
|
cursor: pointer;
|
|
44
54
|
}
|
|
55
|
+
|
|
45
56
|
.textStyle:hover,
|
|
46
57
|
.ticketIdLink,
|
|
47
58
|
.phoneNumber:hover,
|
|
48
59
|
.link:hover {
|
|
49
60
|
color: var(--zdt_secondaryText_blue_text);
|
|
50
61
|
}
|
|
51
|
-
|
|
62
|
+
|
|
63
|
+
/* .link:focus, .link:focus .textStyle, .link:focus .phoneNumber{
|
|
52
64
|
color: var(--zdt_secondaryText_blue_text);
|
|
53
|
-
}
|
|
65
|
+
} */
|
|
54
66
|
.ticketIdLink {
|
|
55
67
|
cursor: pointer;
|
|
56
68
|
}
|
|
57
|
-
|
|
69
|
+
|
|
70
|
+
.ticketIdLink:hover,
|
|
71
|
+
.ticketIdLink:focus {
|
|
58
72
|
color: var(--zdt_secondaryText_blue_hover_text);
|
|
59
73
|
}
|
|
74
|
+
|
|
60
75
|
/* status */
|
|
61
76
|
.font_regular {
|
|
62
77
|
font-family: var(--zd_regular);
|
|
63
78
|
}
|
|
79
|
+
|
|
64
80
|
.font_semibold {
|
|
65
81
|
font-family: var(--zd_semibold);
|
|
66
82
|
}
|
|
83
|
+
|
|
67
84
|
.font_bold {
|
|
68
85
|
font-family: var(--zd_bold);
|
|
69
86
|
}
|
|
87
|
+
|
|
70
88
|
.font_semibold,
|
|
71
89
|
.font_bold,
|
|
72
90
|
.textBold {
|
|
73
91
|
composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
|
|
74
92
|
}
|
|
93
|
+
|
|
75
94
|
.priorityText,
|
|
76
95
|
.statusText {
|
|
77
96
|
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
@@ -81,23 +100,28 @@ display: block
|
|
|
81
100
|
font-size: var(--zd_font_size12);
|
|
82
101
|
max-width: 100%;
|
|
83
102
|
}
|
|
103
|
+
|
|
84
104
|
.departmentText {
|
|
85
105
|
font-size: var(--zd_font_size12);
|
|
86
106
|
color: var(--zdt_secondaryText_secondaryText_text);
|
|
87
107
|
max-width: 100%;
|
|
88
108
|
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
89
109
|
}
|
|
110
|
+
|
|
90
111
|
/* HappinessRating Style */
|
|
91
112
|
.happinessContainer {
|
|
92
113
|
composes: inlineBlockMiddle from '../listCommon.module.css';
|
|
93
114
|
}
|
|
115
|
+
|
|
94
116
|
.happinessImg {
|
|
95
117
|
width: var(--zd_size13);
|
|
96
118
|
vertical-align: middle;
|
|
97
119
|
}
|
|
120
|
+
|
|
98
121
|
[dir=ltr] .happinessImg {
|
|
99
122
|
margin: 0 var(--zd_size4) 0 0;
|
|
100
123
|
}
|
|
124
|
+
|
|
101
125
|
[dir=rtl] .happinessImg {
|
|
102
126
|
margin: 0 0 0 var(--zd_size4);
|
|
103
127
|
}
|
|
@@ -106,46 +130,52 @@ display: block
|
|
|
106
130
|
.gray {
|
|
107
131
|
color: var(--zdt_secondaryText_gray_text);
|
|
108
132
|
}
|
|
133
|
+
|
|
109
134
|
.orange {
|
|
110
135
|
color: var(--zdt_secondaryText_orage_text);
|
|
111
136
|
}
|
|
137
|
+
|
|
112
138
|
.green {
|
|
113
139
|
color: var(--zdt_secondaryText_green_text);
|
|
114
140
|
}
|
|
141
|
+
|
|
115
142
|
.red {
|
|
116
143
|
color: var(--zdt_secondaryText_red_text);
|
|
117
144
|
}
|
|
145
|
+
|
|
118
146
|
.blue {
|
|
119
147
|
color: var(--zdt_secondaryText_blue_text);
|
|
120
148
|
}
|
|
149
|
+
|
|
121
150
|
.black {
|
|
122
151
|
color: var(--zdt_secondaryText_black_text);
|
|
123
152
|
}
|
|
153
|
+
|
|
124
154
|
/* Contact Name */
|
|
125
|
-
.contactNameCnt
|
|
155
|
+
.contactNameCnt,
|
|
156
|
+
.primaryAccountNameCnt {
|
|
126
157
|
display: inline-grid;
|
|
127
|
-
grid-template-columns: minmax(auto,max-content) 1fr minmax(auto,max-content);
|
|
128
158
|
align-items: baseline;
|
|
159
|
+
grid-auto-flow: column;
|
|
160
|
+
grid-auto-columns: minmax(0, max-content);
|
|
161
|
+
max-width: 100%;
|
|
129
162
|
}
|
|
163
|
+
|
|
130
164
|
.paidUserIcon {
|
|
131
165
|
vertical-align: middle;
|
|
132
166
|
bottom: var(--zd_size1);
|
|
133
167
|
position: relative;
|
|
134
168
|
font-size: var(--zd_font_size8);
|
|
135
169
|
}
|
|
170
|
+
|
|
136
171
|
[dir=ltr] .paidUserIcon {
|
|
137
172
|
margin-right: var(--zd_size5);
|
|
138
173
|
}
|
|
174
|
+
|
|
139
175
|
[dir=rtl] .paidUserIcon {
|
|
140
176
|
margin-left: var(--zd_size5);
|
|
141
177
|
}
|
|
178
|
+
|
|
142
179
|
.gridItem {
|
|
143
180
|
min-width: 0;
|
|
144
|
-
}
|
|
145
|
-
/* Account Name */
|
|
146
|
-
.primaryAccountNameCnt {
|
|
147
|
-
max-width: 100%;
|
|
148
|
-
display: grid;
|
|
149
|
-
grid-template-columns: 1fr minmax(auto,max-content);
|
|
150
|
-
align-items: baseline;
|
|
151
|
-
}
|
|
181
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
3
|
+
import { ContactName, AccountName, DepartmentText, Email, HappinessRating, PhoneNumber, PriorityText, SecondaryText, StatusText, TicketId, Website } from '../index';
|
|
4
|
+
export default class SecondaryText__default extends Component {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super(props);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
render() {
|
|
10
|
+
const boxStyle = {
|
|
11
|
+
padding: '10px',
|
|
12
|
+
border: '2px solid #000',
|
|
13
|
+
width: '30%',
|
|
14
|
+
margin: '5px'
|
|
15
|
+
};
|
|
16
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Container, {
|
|
17
|
+
alignBox: "column",
|
|
18
|
+
wrap: "wrap",
|
|
19
|
+
align: "both"
|
|
20
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
21
|
+
style: boxStyle
|
|
22
|
+
}, /*#__PURE__*/React.createElement("div", null, "ContactName"), /*#__PURE__*/React.createElement(ContactName, {
|
|
23
|
+
text: "Antro Contact",
|
|
24
|
+
isPaidUser: true,
|
|
25
|
+
sentimentType: "positive"
|
|
26
|
+
}), /*#__PURE__*/React.createElement(ContactName, {
|
|
27
|
+
text: "Antro Contact",
|
|
28
|
+
isPaidUser: true,
|
|
29
|
+
sentimentType: "negative"
|
|
30
|
+
}), /*#__PURE__*/React.createElement(ContactName, {
|
|
31
|
+
text: "Antro Contact",
|
|
32
|
+
isPaidUser: true,
|
|
33
|
+
sentimentType: "neutral"
|
|
34
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
35
|
+
style: boxStyle
|
|
36
|
+
}, /*#__PURE__*/React.createElement("div", null, "AccountName"), /*#__PURE__*/React.createElement(AccountName, {
|
|
37
|
+
text: "Antro Contact ",
|
|
38
|
+
secondaryAccountText: " secondaryAccountText",
|
|
39
|
+
fontWeight: "semibold"
|
|
40
|
+
}), /*#__PURE__*/React.createElement(AccountName, {
|
|
41
|
+
text: "Antro Contact ",
|
|
42
|
+
secondaryAccountText: " secondaryAccountText",
|
|
43
|
+
fontWeight: "bold"
|
|
44
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
45
|
+
style: boxStyle
|
|
46
|
+
}, /*#__PURE__*/React.createElement("div", null, "DepartmentText"), /*#__PURE__*/React.createElement(DepartmentText, {
|
|
47
|
+
text: "Antro Contact"
|
|
48
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
49
|
+
style: boxStyle
|
|
50
|
+
}, /*#__PURE__*/React.createElement("div", null, "Email"), /*#__PURE__*/React.createElement(Email, {
|
|
51
|
+
text: "Antro Contact"
|
|
52
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
53
|
+
style: boxStyle
|
|
54
|
+
}, /*#__PURE__*/React.createElement("div", null, "HappinessRating"), /*#__PURE__*/React.createElement(HappinessRating, {
|
|
55
|
+
text: "100",
|
|
56
|
+
src: "https://hjemly.dk/wp-content/uploads/2016/05/facebook-default-no-profile-pic.jpg"
|
|
57
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
58
|
+
style: boxStyle
|
|
59
|
+
}, /*#__PURE__*/React.createElement("div", null, "PhoneNumber"), /*#__PURE__*/React.createElement(PhoneNumber, {
|
|
60
|
+
text: "1243123434543"
|
|
61
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
62
|
+
style: boxStyle
|
|
63
|
+
}, /*#__PURE__*/React.createElement("div", null, "PriorityText"), /*#__PURE__*/React.createElement(PriorityText, {
|
|
64
|
+
text: "Antro Contact",
|
|
65
|
+
color: "red"
|
|
66
|
+
}), /*#__PURE__*/React.createElement(PriorityText, {
|
|
67
|
+
text: "Antro Contact",
|
|
68
|
+
color: "green"
|
|
69
|
+
}), /*#__PURE__*/React.createElement(PriorityText, {
|
|
70
|
+
text: "Antro Contact",
|
|
71
|
+
color: "gray"
|
|
72
|
+
}), /*#__PURE__*/React.createElement(PriorityText, {
|
|
73
|
+
text: "Antro Contact",
|
|
74
|
+
color: "orange"
|
|
75
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
76
|
+
style: boxStyle
|
|
77
|
+
}, /*#__PURE__*/React.createElement("div", null, "SecondaryText"), /*#__PURE__*/React.createElement(SecondaryText, {
|
|
78
|
+
text: "Antro Contact"
|
|
79
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
80
|
+
style: boxStyle
|
|
81
|
+
}, /*#__PURE__*/React.createElement("div", null, "StatusText"), /*#__PURE__*/React.createElement(StatusText, {
|
|
82
|
+
text: "Antro Contact",
|
|
83
|
+
color: "red"
|
|
84
|
+
}), /*#__PURE__*/React.createElement(StatusText, {
|
|
85
|
+
text: "Antro Contact",
|
|
86
|
+
color: "green"
|
|
87
|
+
}), /*#__PURE__*/React.createElement(StatusText, {
|
|
88
|
+
text: "Antro Contact",
|
|
89
|
+
color: "gray"
|
|
90
|
+
}), /*#__PURE__*/React.createElement(StatusText, {
|
|
91
|
+
text: "Antro Contact",
|
|
92
|
+
color: "orange"
|
|
93
|
+
}), /*#__PURE__*/React.createElement(StatusText, {
|
|
94
|
+
text: "Antro Contact",
|
|
95
|
+
color: "black"
|
|
96
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
97
|
+
style: boxStyle
|
|
98
|
+
}, /*#__PURE__*/React.createElement("div", null, "TicketId"), /*#__PURE__*/React.createElement(TicketId, {
|
|
99
|
+
text: "124213234"
|
|
100
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
101
|
+
style: boxStyle
|
|
102
|
+
}, /*#__PURE__*/React.createElement("div", null, "Website"), /*#__PURE__*/React.createElement(Website, {
|
|
103
|
+
text: "https://www.zoho.com/"
|
|
104
|
+
}))));
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
if (false) {
|
|
110
|
+
SecondaryText__default.docs = {
|
|
111
|
+
folderName: 'List',
|
|
112
|
+
componentGroup: 'SecondaryText'
|
|
113
|
+
};
|
|
114
|
+
}
|
|
@@ -17,13 +17,11 @@ export default class SentimentStatus extends React.Component {
|
|
|
17
17
|
negative: 'ZD-botNegative',
|
|
18
18
|
positive: 'ZD-botPositive'
|
|
19
19
|
};
|
|
20
|
-
return /*#__PURE__*/React.createElement(
|
|
21
|
-
className: style.container,
|
|
22
|
-
"data-title": dataTitle
|
|
23
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
20
|
+
return /*#__PURE__*/React.createElement(Icon, {
|
|
24
21
|
name: icons[type],
|
|
25
|
-
iconClass: style.sentimentIcon
|
|
26
|
-
|
|
22
|
+
iconClass: style.sentimentIcon,
|
|
23
|
+
title: dataTitle
|
|
24
|
+
});
|
|
27
25
|
}
|
|
28
26
|
|
|
29
27
|
}
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
.
|
|
2
|
-
vertical-align: middle;
|
|
1
|
+
.sentimentIcon {
|
|
3
2
|
font-size: var(--zd_font_size10);
|
|
4
|
-
}[dir=ltr] .
|
|
3
|
+
}[dir=ltr] .sentimentIcon {
|
|
5
4
|
margin: 0 0 0 var(--zd_size5);
|
|
6
|
-
}[dir=rtl] .
|
|
5
|
+
}[dir=rtl] .sentimentIcon {
|
|
7
6
|
margin: 0 var(--zd_size5) 0 0;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.sentimentIcon {
|
|
11
|
-
display: block;
|
|
12
|
-
}
|
|
7
|
+
}
|
|
@@ -31,7 +31,7 @@ export default class UserTime extends Component {
|
|
|
31
31
|
className: `${style.container} ${containerClass ? containerClass : ''}`,
|
|
32
32
|
"data-title": title,
|
|
33
33
|
"data-id": dataId
|
|
34
|
-
}, icon && /*#__PURE__*/React.createElement(
|
|
34
|
+
}, icon && /*#__PURE__*/React.createElement("span", {
|
|
35
35
|
className: `${style.iconColor} ${style[iconColor] ? style[iconColor] : ''}`
|
|
36
36
|
}, icon === 'closedTime' ? /*#__PURE__*/React.createElement(Icon, {
|
|
37
37
|
iconClass: `${style.iconStyle} ${style.closedTime} ${style.f8} ${iconClass ? iconClass : ''}`,
|
|
@@ -54,9 +54,7 @@ export default class UserTime extends Component {
|
|
|
54
54
|
}) : /*#__PURE__*/React.createElement(Icon, {
|
|
55
55
|
name: "ZD-dueTime",
|
|
56
56
|
iconClass: `${style.iconStyle} ${style.f8} ${iconClass ? iconClass : ''}`
|
|
57
|
-
})), /*#__PURE__*/React.createElement(
|
|
58
|
-
flexible: true
|
|
59
|
-
}, /*#__PURE__*/React.createElement(UserTimeDiffFormat, {
|
|
57
|
+
})), /*#__PURE__*/React.createElement(UserTimeDiffFormat, {
|
|
60
58
|
type: type,
|
|
61
59
|
page: page,
|
|
62
60
|
isNeedTime: isNeedTime,
|
|
@@ -66,7 +64,7 @@ export default class UserTime extends Component {
|
|
|
66
64
|
later: later,
|
|
67
65
|
to: to,
|
|
68
66
|
isOverdue: isOverdue
|
|
69
|
-
}))
|
|
67
|
+
}));
|
|
70
68
|
}
|
|
71
69
|
|
|
72
70
|
}
|
|
@@ -2,57 +2,74 @@
|
|
|
2
2
|
--text_color: var(--zdt_usertime_timeText);
|
|
3
3
|
--icon_color: var(--zdt_usertime_icon_gray);
|
|
4
4
|
}
|
|
5
|
+
|
|
5
6
|
.container {
|
|
6
|
-
composes: dInflex alignBaseline from '~@zohodesk/components/lib/common/common.module.css';
|
|
7
|
-
max-width: 100%;
|
|
8
7
|
composes: varClass;
|
|
8
|
+
display: inline-grid;
|
|
9
|
+
grid-template-columns: minmax(0, max-content) minmax(0, max-content);
|
|
10
|
+
align-items: baseline;
|
|
11
|
+
max-width: 100%;
|
|
9
12
|
}
|
|
13
|
+
|
|
10
14
|
.f8 {
|
|
11
15
|
font-size: var(--zd_font_size8);
|
|
12
16
|
}
|
|
17
|
+
|
|
13
18
|
.f9 {
|
|
14
19
|
font-size: var(--zd_font_size9);
|
|
15
20
|
}
|
|
21
|
+
|
|
16
22
|
.f10 {
|
|
17
23
|
font-size: var(--zd_font_size10);
|
|
18
24
|
}
|
|
25
|
+
|
|
19
26
|
.closedTime span:last-child:before,
|
|
20
27
|
.completedTask span:first-child:before {
|
|
21
28
|
color: inherit;
|
|
22
29
|
}
|
|
30
|
+
|
|
23
31
|
.closedTime span:first-child:before {
|
|
24
32
|
color: var(--zdt_usertime_icon_green);
|
|
25
33
|
}
|
|
34
|
+
|
|
26
35
|
.textStyle {
|
|
27
36
|
font-size: var(--zd_font_size12);
|
|
28
37
|
color: var(--text_color);
|
|
29
38
|
display: block;
|
|
30
39
|
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
31
40
|
}
|
|
41
|
+
|
|
32
42
|
.iconStyle {
|
|
33
43
|
display: block;
|
|
34
44
|
}
|
|
45
|
+
|
|
35
46
|
[dir=ltr] .iconStyle {
|
|
36
47
|
margin-right: var(--zd_size3);
|
|
37
48
|
margin-left: var(--zd_size1);
|
|
38
49
|
}
|
|
50
|
+
|
|
39
51
|
[dir=rtl] .iconStyle {
|
|
40
52
|
margin-left: var(--zd_size3);
|
|
41
53
|
margin-right: var(--zd_size1);
|
|
42
54
|
}
|
|
55
|
+
|
|
43
56
|
/* colors */
|
|
44
57
|
.iconColor {
|
|
45
58
|
color: var(--icon_color)
|
|
46
59
|
}
|
|
60
|
+
|
|
47
61
|
.red {
|
|
48
62
|
--icon_color: var(--zdt_usertime_icon_red);
|
|
49
63
|
}
|
|
64
|
+
|
|
50
65
|
.green {
|
|
51
66
|
--icon_color: var(--zdt_usertime_icon_green);
|
|
52
67
|
}
|
|
68
|
+
|
|
53
69
|
.orange {
|
|
54
70
|
--icon_color: var(--zdt_usertime_icon_orange);
|
|
55
71
|
}
|
|
72
|
+
|
|
56
73
|
.gray {
|
|
57
74
|
--icon_color: var(--zdt_usertime_icon_gray);
|
|
58
|
-
}
|
|
75
|
+
}
|
|
@@ -5,8 +5,8 @@ import Popup from '@zohodesk/components/lib/Popup/Popup';
|
|
|
5
5
|
import { Box, Container } from '@zohodesk/components/lib/Layout';
|
|
6
6
|
import DropDownHeading from '@zohodesk/components/lib/DropDown/DropDownHeading';
|
|
7
7
|
import TextBoxIcon from '@zohodesk/components/lib/TextBoxIcon/TextBoxIcon';
|
|
8
|
-
import Loader from '@zohodesk/svg/lib/
|
|
9
|
-
import EmptySearch from '@zohodesk/svg/lib/
|
|
8
|
+
import Loader from '@zohodesk/svg/lib/Loader/Loader';
|
|
9
|
+
import EmptySearch from '@zohodesk/svg/lib/emptystate/version3/EmptySearch';
|
|
10
10
|
import { scrollTo } from '@zohodesk/components/lib/utils/Common.js';
|
|
11
11
|
import TextBox from '@zohodesk/components/lib/TextBox/TextBox';
|
|
12
12
|
import CommonEmptyState from '../../../emptystate/CommonEmptyState/CommonEmptyState';
|
|
@@ -402,6 +402,7 @@ export class StatusDropdown extends React.Component {
|
|
|
402
402
|
flexible: true,
|
|
403
403
|
shrink: true,
|
|
404
404
|
dataId: `${dataId}_list`,
|
|
405
|
+
preventParentScroll: "vertical",
|
|
405
406
|
className: `${tabletMode ? style.responsivemaxHgt : style.maxHgt}`,
|
|
406
407
|
eleRef: this.scrollContentRef,
|
|
407
408
|
onScroll: this.handleScroll,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*** Libraries ***/
|
|
2
2
|
import React, { Component } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import EmptySearch from '@zohodesk/svg/lib/
|
|
5
|
-
import EmptyAccounts from '@zohodesk/svg/lib/
|
|
6
|
-
import EmptyContact from '@zohodesk/svg/lib/
|
|
7
|
-
import EmptyProducts from '@zohodesk/svg/lib/
|
|
4
|
+
import EmptySearch from '@zohodesk/svg/lib/emptystate/version3/EmptySearch';
|
|
5
|
+
import EmptyAccounts from '@zohodesk/svg/lib/emptystate/version3/EmptyAccounts';
|
|
6
|
+
import EmptyContact from '@zohodesk/svg/lib/emptystate/version3/EmptyContact';
|
|
7
|
+
import EmptyProducts from '@zohodesk/svg/lib/emptystate/version3/EmptyProducts';
|
|
8
8
|
/*** CSS ***/
|
|
9
9
|
|
|
10
10
|
import style from './LookupEmptyPage.module.css';
|
|
@@ -14,7 +14,7 @@ import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomRe
|
|
|
14
14
|
|
|
15
15
|
import Icon from '@zohodesk/icons/lib/Icon';
|
|
16
16
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
17
|
-
import Loader from '@zohodesk/svg/lib/
|
|
17
|
+
import Loader from '@zohodesk/svg/lib/Loader/Loader';
|
|
18
18
|
import style from './ViewDropDown.module.css';
|
|
19
19
|
/* eslint-disable react/forbid-component-props */
|
|
20
20
|
|