@zohodesk/dot 1.0.0-temp-89 → 1.0.0-temp-90
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/GridStencils/GridStencils.module.css +7 -18
- package/es/list/SecondaryText/AccountName.js +34 -38
- package/es/list/SecondaryText/ContactName.js +18 -13
- package/es/list/SecondaryText/SecondaryText.module.css +15 -30
- package/es/list/SecondaryText/docs/SecondaryText__default.docs.js +114 -0
- 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/GridStencils/GridStencils.module.css +7 -18
- package/lib/list/SecondaryText/AccountName.js +34 -38
- package/lib/list/SecondaryText/ContactName.js +18 -13
- package/lib/list/SecondaryText/SecondaryText.module.css +15 -30
- package/lib/list/SecondaryText/docs/SecondaryText__default.docs.js +162 -0
- 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
|
+
}
|
|
@@ -36,44 +36,40 @@ export default class AccountName extends Component {
|
|
|
36
36
|
TextProps = {},
|
|
37
37
|
SecondaryTextProps = {}
|
|
38
38
|
} = 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
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}, SecondaryTextProps), secondaryAccountText))) // </Box>
|
|
74
|
-
// </Container>
|
|
75
|
-
|
|
76
|
-
);
|
|
39
|
+
return /*#__PURE__*/React.createElement(Container, {
|
|
40
|
+
alignBox: "row",
|
|
41
|
+
align: "baseline",
|
|
42
|
+
isCover: false,
|
|
43
|
+
"data-title": dataTitle,
|
|
44
|
+
dataId: dataId
|
|
45
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
46
|
+
flexible: true
|
|
47
|
+
}, /*#__PURE__*/React.createElement(Container, {
|
|
48
|
+
alignBox: "row",
|
|
49
|
+
align: "baseline",
|
|
50
|
+
isCover: false,
|
|
51
|
+
className: style.primaryAccountNameCnt
|
|
52
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
53
|
+
className: style.primaryAccountName,
|
|
54
|
+
shrink: true
|
|
55
|
+
}, isLink ? /*#__PURE__*/React.createElement(Link, _extends({
|
|
56
|
+
href: href,
|
|
57
|
+
urlName: urlName,
|
|
58
|
+
urlData: urlData,
|
|
59
|
+
onClick: onClick,
|
|
60
|
+
dataId: `${dataId}_link`,
|
|
61
|
+
className: style.link
|
|
62
|
+
}, LinkProps), /*#__PURE__*/React.createElement("div", {
|
|
63
|
+
className: `${style.textStyle} ${style[`font_${fontWeight}`]} ${className ? className : ''}`
|
|
64
|
+
}, text)) : /*#__PURE__*/React.createElement("div", _extends({
|
|
65
|
+
className: `${style.secondaryText} ${style[`font_${fontWeight}`]} ${className ? className : ''} ${notAccessible ? style.disable : ''}`
|
|
66
|
+
}, TextProps), text)), secondaryAccountText && /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Link, {
|
|
67
|
+
href: secondaryAccountHref,
|
|
68
|
+
onClick: secondaryAccountClick,
|
|
69
|
+
className: style.link
|
|
70
|
+
}, /*#__PURE__*/React.createElement("div", _extends({
|
|
71
|
+
className: `${style.textStyle} ${style[`font_${fontWeight}`]} ${className ? className : ''}`
|
|
72
|
+
}, SecondaryTextProps), secondaryAccountText))))));
|
|
77
73
|
}
|
|
78
74
|
|
|
79
75
|
}
|
|
@@ -39,30 +39,36 @@ export default class ContactName extends Component {
|
|
|
39
39
|
LinkProps = {},
|
|
40
40
|
TextProps = {}
|
|
41
41
|
} = customProps;
|
|
42
|
-
return /*#__PURE__*/React.createElement(
|
|
43
|
-
|
|
44
|
-
"
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
42
|
+
return /*#__PURE__*/React.createElement(Container, {
|
|
43
|
+
alignBox: "row",
|
|
44
|
+
align: "baseline",
|
|
45
|
+
isCover: false,
|
|
46
|
+
dataId: dataId
|
|
47
|
+
}, isPaidUser && /*#__PURE__*/React.createElement(Box, {
|
|
48
|
+
className: style.paidUserIcon,
|
|
48
49
|
title: paidTitle
|
|
49
|
-
}
|
|
50
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
51
|
+
name: "ZD-paiduser",
|
|
52
|
+
iconClass: style.icon
|
|
53
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
54
|
+
flexible: true
|
|
55
|
+
}, isLink ? /*#__PURE__*/React.createElement(Link, _extends({
|
|
50
56
|
urlName: urlName,
|
|
51
57
|
href: href,
|
|
52
58
|
urlData: urlData,
|
|
53
59
|
onClick: onClick,
|
|
54
60
|
title: dataTitle,
|
|
55
61
|
dataId: `${dataId}_link`,
|
|
56
|
-
className:
|
|
62
|
+
className: style.link
|
|
57
63
|
}, LinkProps), /*#__PURE__*/React.createElement("div", {
|
|
58
64
|
className: `${style.textStyle} ${style[`font_${fontWeight}`]} ${className ? className : ''}`
|
|
59
65
|
}, text)) : /*#__PURE__*/React.createElement("div", _extends({
|
|
60
|
-
className: `${style.
|
|
66
|
+
className: `${style.secondaryText} ${style[`font_${fontWeight}`]} ${className ? className : ''} ${notAccessible ? style.disable : ''}`,
|
|
61
67
|
"data-title": dataTitle
|
|
62
|
-
}, TextProps), text)), sentimentType && /*#__PURE__*/React.createElement(SentimentStatus, {
|
|
68
|
+
}, TextProps), text)), sentimentType && /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(SentimentStatus, {
|
|
63
69
|
type: sentimentType,
|
|
64
70
|
dataTitle: sentimentDataTitle
|
|
65
|
-
}));
|
|
71
|
+
})));
|
|
66
72
|
}
|
|
67
73
|
|
|
68
74
|
}
|
|
@@ -100,8 +106,7 @@ ContactName.defaultProps = {
|
|
|
100
106
|
dataId: 'contactName',
|
|
101
107
|
fontWeight: 'regular',
|
|
102
108
|
i18nKeys: {},
|
|
103
|
-
customProps: {}
|
|
104
|
-
sentimentType: 'positive'
|
|
109
|
+
customProps: {}
|
|
105
110
|
};
|
|
106
111
|
|
|
107
112
|
if (false) {
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
.paidUserIcon {
|
|
2
|
+
vertical-align: middle;
|
|
3
|
+
bottom: var(--zd_size1);
|
|
4
|
+
position: relative;
|
|
5
|
+
font-size: var(--zd_font_size8);
|
|
6
|
+
}[dir=ltr] .paidUserIcon {
|
|
7
|
+
margin-right: var(--zd_size5);
|
|
8
|
+
}[dir=rtl] .paidUserIcon {
|
|
9
|
+
margin-left: var(--zd_size5);
|
|
10
|
+
}
|
|
1
11
|
.icon {
|
|
2
12
|
display: block;
|
|
3
13
|
}
|
|
@@ -48,15 +58,18 @@ display: block
|
|
|
48
58
|
.link:hover {
|
|
49
59
|
color: var(--zdt_secondaryText_blue_text);
|
|
50
60
|
}
|
|
51
|
-
.link:focus, .link:focus .textStyle, .link:focus .phoneNumber{
|
|
61
|
+
/* .link:focus, .link:focus .textStyle, .link:focus .phoneNumber{
|
|
52
62
|
color: var(--zdt_secondaryText_blue_text);
|
|
53
|
-
}
|
|
63
|
+
} */
|
|
54
64
|
.ticketIdLink {
|
|
55
65
|
cursor: pointer;
|
|
56
66
|
}
|
|
57
67
|
.ticketIdLink:hover, .ticketIdLink:focus {
|
|
58
68
|
color: var(--zdt_secondaryText_blue_hover_text);
|
|
59
69
|
}
|
|
70
|
+
.primaryAccountNameCnt {
|
|
71
|
+
max-width: 100%;
|
|
72
|
+
}
|
|
60
73
|
/* status */
|
|
61
74
|
.font_regular {
|
|
62
75
|
font-family: var(--zd_regular);
|
|
@@ -121,31 +134,3 @@ display: block
|
|
|
121
134
|
.black {
|
|
122
135
|
color: var(--zdt_secondaryText_black_text);
|
|
123
136
|
}
|
|
124
|
-
/* Contact Name */
|
|
125
|
-
.contactNameCnt {
|
|
126
|
-
display: inline-grid;
|
|
127
|
-
grid-template-columns: minmax(auto,max-content) 1fr minmax(auto,max-content);
|
|
128
|
-
align-items: baseline;
|
|
129
|
-
}
|
|
130
|
-
.paidUserIcon {
|
|
131
|
-
vertical-align: middle;
|
|
132
|
-
bottom: var(--zd_size1);
|
|
133
|
-
position: relative;
|
|
134
|
-
font-size: var(--zd_font_size8);
|
|
135
|
-
}
|
|
136
|
-
[dir=ltr] .paidUserIcon {
|
|
137
|
-
margin-right: var(--zd_size5);
|
|
138
|
-
}
|
|
139
|
-
[dir=rtl] .paidUserIcon {
|
|
140
|
-
margin-left: var(--zd_size5);
|
|
141
|
-
}
|
|
142
|
-
.gridItem {
|
|
143
|
-
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
|
-
}
|
|
@@ -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
|
+
}
|
|
@@ -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
|
|
package/es/svg/PlusIcon.js
CHANGED
package/es/svg/SnippetIcon.js
CHANGED
package/es/svg/TemplateIcon.js
CHANGED
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
4
4
|
import CommonEmptyState from './../../../emptystate/CommonEmptyState/CommonEmptyState';
|
|
5
|
-
import ErrorInconvenience from '@zohodesk/svg/lib/
|
|
5
|
+
import ErrorInconvenience from '@zohodesk/svg/lib/errorstate/version3/ErrorInconvenience';
|
|
6
6
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
7
7
|
import style from './../V2_ErrorStates.module.css';
|
|
8
8
|
export default class Inconvenience extends React.Component {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
4
4
|
import CommonEmptyState from '../../../emptystate/CommonEmptyState/CommonEmptyState';
|
|
5
|
-
import ErrorOopsSomethingMiss from '@zohodesk/svg/lib/
|
|
5
|
+
import ErrorOopsSomethingMiss from '@zohodesk/svg/lib/errorstate/version3/ErrorOopsSomethingMiss';
|
|
6
6
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
7
7
|
import style from './../V2_ErrorStates.module.css';
|
|
8
8
|
export default class OopsSomethingMiss extends React.Component {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
4
4
|
import CommonEmptyState from '../../../emptystate/CommonEmptyState/CommonEmptyState';
|
|
5
|
-
import ErrorUnableToProcessRequest from '@zohodesk/svg/lib/
|
|
5
|
+
import ErrorUnableToProcessRequest from '@zohodesk/svg/lib/errorstate/version3/ErrorUnableToProcessRequest';
|
|
6
6
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
7
7
|
import style from './../V2_ErrorStates.module.css';
|
|
8
8
|
export default class UnableToProcessRequest extends React.Component {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
4
4
|
import CommonEmptyState from '../../../emptystate/CommonEmptyState/CommonEmptyState';
|
|
5
|
-
import ErrorUnauthorizedLogin from '@zohodesk/svg/lib/
|
|
5
|
+
import ErrorUnauthorizedLogin from '@zohodesk/svg/lib/errorstate/version3/ErrorUnauthorizedLogin';
|
|
6
6
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
7
7
|
import style from './../V2_ErrorStates.module.css';
|
|
8
8
|
export default class UnauthorizedLogin extends React.Component {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
4
4
|
import CommonEmptyState from '../../../emptystate/CommonEmptyState/CommonEmptyState';
|
|
5
|
-
import ErrorUrlNotFound from '@zohodesk/svg/lib/
|
|
5
|
+
import ErrorUrlNotFound from '@zohodesk/svg/lib/errorstate/version3/ErrorUrlNotFound';
|
|
6
6
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
7
7
|
import style from './../V2_ErrorStates.module.css';
|
|
8
8
|
export default class UrlNotFound extends React.Component {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
4
4
|
import CommonEmptyState from '../../../emptystate/CommonEmptyState/CommonEmptyState';
|
|
5
|
-
import ErrorWillBeRightBack from '@zohodesk/svg/lib/
|
|
5
|
+
import ErrorWillBeRightBack from '@zohodesk/svg/lib/errorstate/version3/ErrorWillBeRightBack';
|
|
6
6
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
7
7
|
import style from './../V2_ErrorStates.module.css';
|
|
8
8
|
export default class WillBeRightBack extends React.Component {
|