@zohodesk/dot 1.0.0-temp-88 → 1.0.0-temp.777
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 +13 -0
- package/es/ActionButton/ActionButton.js +7 -4
- package/es/ActionButton/ActionButton.module.css +9 -25
- package/es/AlphabeticList/AlphabeticList.module.css +4 -7
- package/es/Attachment/Attachment.module.css +9 -20
- package/es/AttachmentViewer/AttachmentViewer.module.css +27 -89
- package/es/ChannelIcon/ChannelIcon.module.css +21 -30
- package/es/Drawer/Drawer.module.css +11 -59
- package/es/FlipCard/FlipCard.module.css +5 -14
- package/es/FormAction/FormAction.module.css +9 -34
- package/es/FreezeLayer/FreezeLayer.module.css +2 -6
- package/es/IconButton/IconButton.module.css +1 -1
- package/es/ImportantNotes/ImportantNotes.module.css +2 -7
- package/es/Loader/Loader.module.css +4 -25
- package/es/Message/Message.module.css +9 -42
- package/es/MessageBanner/MessageBanner.module.css +4 -12
- package/es/NewStar/NewStar.module.css +5 -42
- package/es/Provider.js +5 -105
- package/es/ToastMessage/ToastMessage.module.css +25 -96
- package/es/Upload/Upload.module.css +8 -27
- package/es/alert/AlertHeader/AlertHeader.module.css +3 -21
- package/es/alert/AlertLookup/AlertLookup.module.css +2 -6
- package/es/avatar/AvatarClose/AvatarClose.module.css +3 -9
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +4 -18
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +4 -3
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +9 -59
- package/es/avatar/AvatarThread/AvatarThread.module.css +5 -55
- package/es/avatar/AvatarUser/AvatarUser.module.css +10 -81
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +3 -10
- package/es/common/dot_animation.module.css +3 -16
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +3 -11
- package/es/docs/formDocs.js +5 -1
- package/es/docs/generalDocs.js +5 -2
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +9 -21
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +4 -12
- package/es/emptystate/EditionPage/EditionPage.css +3 -9
- package/es/errorstate/EmptyStates.module.css +10 -13
- package/es/errorstate/Inconvenience/Inconvenience.module.css +0 -3
- package/es/errorstate/LinkText/LinkText.module.css +1 -1
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +2 -2
- package/es/errorstate/WillBack/WillBack.module.css +3 -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/Fields.module.css +14 -49
- 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 +7 -4
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +7 -19
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +32 -28
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +1 -4
- 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/TextEditor/TextEditor.module.css +72 -149
- 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/TextEditorWrapper/TextEditorWrapper.module.css +2 -13
- 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/ValidationMessage/ValidationMessage.module.css +4 -9
- package/es/form/fields/props/FieldCommonDefaultProps.js +10 -0
- package/es/form/fields/props/FieldCommonPropTypes.js +22 -0
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +16 -52
- package/es/layout/SubtabLayout/SubtabLayout.module.css +29 -55
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +1 -4
- package/es/list/Comment/Comment.module.css +0 -5
- package/es/list/DotNew/DotNew.module.css +3 -3
- package/es/list/GridStencils/GridStencils.module.css +21 -82
- package/es/list/Icons/Icons.module.css +1 -1
- package/es/list/ListLayout/ListLayout.module.css +14 -22
- package/es/list/ListStencils/ListStencils.module.css +6 -11
- package/es/list/SecondaryText/AccountName.js +34 -38
- package/es/list/SecondaryText/ContactName.js +18 -13
- package/es/list/SecondaryText/SecondaryText.module.css +14 -39
- package/es/list/SecondaryText/docs/SecondaryText__default.docs.js +114 -0
- package/es/list/SecondryPanel/docs/SecondryPanelDocs.module.css +2 -2
- package/es/list/SentimentStatus/SentimentStatus.module.css +1 -4
- package/es/list/TagNew/TagNew.module.css +7 -14
- package/es/list/Thread/Thread.module.css +1 -13
- package/es/list/UserTime/UserTime.module.css +0 -6
- package/es/list/listCommon.module.css +1 -9
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +6 -19
- package/es/list/status/StatusListItem/StatusListItem.module.css +15 -38
- package/es/lookup/Lookup/Lookup.module.css +2 -2
- package/es/lookup/Section/LookupSection.module.css +2 -2
- package/es/lookup/header/Close/LookupClose.module.css +4 -4
- package/es/lookup/header/Search/LookupSearch.module.css +12 -21
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +2 -5
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +3 -8
- package/es/lookup/header/lookupHeaderCommon.module.css +5 -15
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +3 -12
- package/es/setup/header/Button/HeaderButton.module.css +1 -3
- package/es/setup/header/Link/HeaderLink.module.css +1 -7
- package/es/setup/header/Search/Search.module.css +8 -19
- package/es/setup/header/Views/Views.module.css +5 -15
- package/es/setup/helptips/Link/HelpTipsLink.module.css +0 -1
- package/es/setup/helptips/ListGroup/ListGroup.module.css +1 -6
- package/es/setup/table/TableData/SetupTableData.module.css +3 -11
- package/es/setup/table/TableHead/SetupTableHead.module.css +0 -4
- package/es/setup/table/TableRow/SetupTableRow.module.css +2 -6
- package/es/utils/KeyboardApi.js +294 -0
- package/es/version2/AlertClose/AlertClose.module.css +1 -1
- package/es/version2/GlobalNotification/GlobalNotification.module.css +9 -44
- package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +2 -25
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +3 -7
- package/es/version2/lookup/alertLookupCommonNew.module.css +1 -8
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +10 -26
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +10 -47
- package/lib/ActionButton/ActionButton.js +3 -7
- package/lib/ActionButton/ActionButton.module.css +1 -0
- package/lib/FreezeLayer/FreezeLayer.js +4 -29
- package/lib/ImportantNotes/ImportantNotes.js +3 -5
- package/lib/Provider.js +38 -115
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +38 -60
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +0 -1
- package/lib/docs/generalDocs.js +0 -16
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +161 -182
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +0 -3
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +1 -1
- package/lib/form/fields/CurrencyField/CurrencyField.js +8 -9
- package/lib/form/fields/DateField/DateField.js +1 -1
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +1 -1
- package/lib/form/fields/PhoneField/PhoneField.js +1 -1
- package/lib/form/fields/RadioField/RadioField.js +1 -1
- package/lib/form/fields/SelectField/SelectField.js +1 -1
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +73 -110
- package/lib/form/fields/TextBoxField/TextBoxField.js +1 -1
- package/lib/form/fields/TextEditor/TextEditor.js +1 -4
- package/lib/form/fields/TextEditor/TextEditor.module.css +2 -13
- package/lib/form/fields/TextareaField/TextareaField.js +1 -1
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +1 -1
- package/lib/list/GridStencils/GridStencils.module.css +1 -3
- package/lib/list/SecondaryText/AccountName.js +34 -38
- package/lib/list/SecondaryText/ContactName.js +18 -13
- package/lib/list/SecondaryText/SecondaryText.module.css +14 -29
- package/lib/list/status/StatusDropdown/StatusDropdown.js +118 -146
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +0 -3
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +3 -8
- package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +3 -13
- package/lib/lookup/header/TicketHeader/TicketHeader.js +4 -7
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +52 -75
- package/lib/lookup/header/lookupHeaderCommon.module.css +2 -8
- package/lib/setup/header/Views/Views.js +2 -2
- package/lib/utils/General.js +24 -0
- package/lib/{deprecated/utils → utils}/KeyboardApi.js +0 -0
- package/package.json +5 -5
- package/lib/AttachmentViewer/Attachment.js +0 -28
- package/lib/AttachmentViewer/AttachmentImage.js +0 -133
- package/lib/AttachmentViewer/AttachmentViewer.js +0 -646
- package/lib/AttachmentViewer/AttachmentViewer.module.css +0 -354
- package/lib/AttachmentViewer/docs/AttachmentViewer__default.docs.js +0 -123
- package/lib/AttachmentViewer/utils.js +0 -134
- package/lib/Provider/Config.js +0 -21
- package/lib/common/dot_animation.module.css +0 -27
- package/lib/common/dot_common.module.css +0 -4
- package/lib/deprecated/utils/General.js +0 -29
|
@@ -1,34 +1,24 @@
|
|
|
1
1
|
.stenLoading {
|
|
2
|
-
position: relative;
|
|
3
|
-
width: var(--zd_size265);
|
|
4
2
|
background-color: var(--zdt_gridstencils_default_bg);
|
|
5
3
|
border-bottom: 1px solid var(--zdt_gridstencils_default_border);
|
|
6
|
-
padding: var(--zd_size13) var(--
|
|
7
|
-
|
|
4
|
+
padding: var(--zd_size13) var(--zd_size15) var(--zd_size11) var(--zd_size15);
|
|
5
|
+
position: relative;
|
|
6
|
+
margin-bottom: var(--zd_size10) ;
|
|
8
7
|
border-radius: var(--zd_size5);
|
|
9
8
|
}
|
|
10
|
-
|
|
9
|
+
.stenLoadbody {
|
|
11
10
|
margin: var(--zd_size8) var(--zd_size20) var(--zd_size8) 0;
|
|
12
11
|
}
|
|
13
|
-
[dir=rtl] .stenLoadbody {
|
|
14
|
-
margin: var(--zd_size8) 0 var(--zd_size8) var(--zd_size20);
|
|
15
|
-
}
|
|
16
12
|
.stenLoadbody::after {
|
|
17
13
|
content: '';
|
|
18
14
|
height: var(--zd_size22);
|
|
19
15
|
width: var(--zd_size22);
|
|
16
|
+
right: var(--zd_size20);
|
|
20
17
|
top: var(--zd_size15);
|
|
21
|
-
position: absolute;
|
|
22
18
|
border-radius: 50%;
|
|
19
|
+
position: absolute;
|
|
23
20
|
background-color: var(--zdt_gridstencils_after_bg);
|
|
24
21
|
}
|
|
25
|
-
[dir=ltr] .stenLoadbody::after {
|
|
26
|
-
right: var(--zd_size20);
|
|
27
|
-
}
|
|
28
|
-
[dir=rtl] .stenLoadbody::after {
|
|
29
|
-
left: var(--zd_size20);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
22
|
.lineBar {
|
|
33
23
|
width: 90%;
|
|
34
24
|
}
|
|
@@ -43,48 +33,28 @@
|
|
|
43
33
|
.lineBar2,
|
|
44
34
|
.lineBar3 {
|
|
45
35
|
height: var(--zd_size5);
|
|
46
|
-
}
|
|
47
|
-
.lineBar, .lineBar2, .lineBar3 {
|
|
48
36
|
border-radius: var(--zd_size5);
|
|
49
37
|
}
|
|
50
38
|
.stenListBAr {
|
|
51
|
-
|
|
52
|
-
background: var(--zdt_gridstencils_listbar_bg);
|
|
53
|
-
background-image: var(--zdt_gridstencils_listbar_gradient_bg);
|
|
54
|
-
background-repeat: no-repeat;
|
|
55
|
-
}
|
|
56
|
-
[dir=ltr] .stenListBAr {
|
|
57
|
-
-webkit-animation-duration:var(--zd_transition10);
|
|
58
|
-
-webkit-animation-fill-mode: forwards;
|
|
59
|
-
-webkit-animation-iteration-count: infinite;
|
|
60
|
-
-webkit-animation-name: placeHolderShimmer;
|
|
61
|
-
-webkit-animation-timing-function: linear;
|
|
62
|
-
}
|
|
63
|
-
[dir=rtl] .stenListBAr {
|
|
64
|
-
-webkit-animation-duration:var(--zd_transition10);
|
|
39
|
+
-webkit-animation-duration: var(--zd_transition10);
|
|
65
40
|
-webkit-animation-fill-mode: forwards;
|
|
66
41
|
-webkit-animation-iteration-count: infinite;
|
|
67
42
|
-webkit-animation-name: placeHolderShimmer;
|
|
68
43
|
-webkit-animation-timing-function: linear;
|
|
69
|
-
}
|
|
70
|
-
.stenListBAr {
|
|
71
44
|
background: var(--zdt_gridstencils_listbar_bg);
|
|
72
45
|
background-image: var(--zdt_gridstencils_listbar_gradient_bg);
|
|
73
46
|
background-repeat: no-repeat;
|
|
47
|
+
position: relative;
|
|
74
48
|
}
|
|
75
|
-
|
|
76
|
-
-webkit-animation-duration: var(--zd_transition10);
|
|
77
|
-
-webkit-animation-fill-mode: forwards;
|
|
78
|
-
-webkit-animation-iteration-count: infinite;
|
|
79
|
-
-webkit-animation-name: placeHolderShimmer;
|
|
80
|
-
-webkit-animation-timing-function: linear;
|
|
81
|
-
}
|
|
82
|
-
[dir=rtl] .stenListBAr {
|
|
49
|
+
.stenListBAr {
|
|
83
50
|
-webkit-animation-duration: var(--zd_transition10);
|
|
84
51
|
-webkit-animation-fill-mode: forwards;
|
|
85
52
|
-webkit-animation-iteration-count: infinite;
|
|
86
53
|
-webkit-animation-name: placeHolderShimmer;
|
|
87
54
|
-webkit-animation-timing-function: linear;
|
|
55
|
+
background: var(--zdt_gridstencils_listbar_bg);
|
|
56
|
+
background-image: var(--zdt_gridstencils_listbar_gradient_bg);
|
|
57
|
+
background-repeat: no-repeat;
|
|
88
58
|
}
|
|
89
59
|
@keyframes placeHolderShimmer {
|
|
90
60
|
0% {
|
|
@@ -96,57 +66,26 @@
|
|
|
96
66
|
}
|
|
97
67
|
}
|
|
98
68
|
.threeLayout .stenLoadbody::before {
|
|
99
|
-
transform: scale(0.8);
|
|
100
|
-
}
|
|
101
|
-
[dir=ltr] .threeLayout .stenLoadbody::before {
|
|
102
69
|
left: var(--zd_size16);
|
|
70
|
+
transform: scale(0.8);
|
|
103
71
|
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
[dir=ltr] .threeLayout .stenLoadbody {
|
|
109
|
-
margin: var(--zd_size8) var(--zd_size20) var(--zd_size8) 0 ;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
[dir=rtl] .threeLayout .stenLoadbody {
|
|
113
|
-
margin: var(--zd_size8) 0 var(--zd_size8) var(--zd_size20) ;
|
|
72
|
+
.threeLayout .stenLoadbody {
|
|
73
|
+
margin: var(--zd_size8) var(--zd_size20) var(--zd_size8) 0;
|
|
114
74
|
}
|
|
115
75
|
.threeLayout .stenLoadbody::after {
|
|
116
|
-
top: var(--zd_size15);
|
|
117
|
-
transform: scale(0.8);
|
|
118
|
-
}
|
|
119
|
-
[dir=ltr] .threeLayout .stenLoadbody::after {
|
|
120
76
|
right: var(--zd_size20);
|
|
77
|
+
transform: scale(0.8);
|
|
78
|
+
top: var(--zd_size15);
|
|
121
79
|
}
|
|
122
|
-
|
|
123
|
-
left: var(--zd_size20);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
[dir=ltr] .leftCont .stenLoadbody::before {
|
|
80
|
+
.leftCont .stenLoadbody::before {
|
|
127
81
|
left: var(--zd_size33);
|
|
128
82
|
}
|
|
129
|
-
|
|
130
|
-
[dir=rtl] .leftCont .stenLoadbody::before {
|
|
131
|
-
right: var(--zd_size33);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
[dir=ltr] .leftCont .stenLoadbody {
|
|
83
|
+
.leftCont .stenLoadbody {
|
|
135
84
|
margin: var(--zd_size8) var(--zd_size20) var(--zd_size8) var(--zd_size46);
|
|
136
85
|
}
|
|
137
|
-
|
|
138
|
-
[dir=rtl] .leftCont .stenLoadbody {
|
|
139
|
-
margin: var(--zd_size8) var(--zd_size46) var(--zd_size8) var(--zd_size20);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
[dir=ltr] .leftCont .stenLoadbody::after {
|
|
86
|
+
.leftCont .stenLoadbody::after {
|
|
143
87
|
right: var(--zd_size40);
|
|
144
88
|
}
|
|
145
|
-
|
|
146
|
-
[dir=rtl] .leftCont .stenLoadbody::after {
|
|
147
|
-
left: var(--zd_size40);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
89
|
.leftCont .lineBar {
|
|
151
90
|
width: 80%;
|
|
152
91
|
}
|
|
@@ -155,4 +94,4 @@
|
|
|
155
94
|
}
|
|
156
95
|
.leftCont .lineBar3 {
|
|
157
96
|
width: 40%;
|
|
158
|
-
}
|
|
97
|
+
}
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
.listHover:hover, .hoveredStyle{
|
|
9
9
|
background-color: var(--zdt_listLayout_hover_bg);
|
|
10
10
|
}
|
|
11
|
-
.active,
|
|
11
|
+
.active,
|
|
12
|
+
.active:hover {
|
|
12
13
|
background-color: var(--zdt_listLayout_active_bg);
|
|
13
14
|
}
|
|
14
15
|
.cursorPointer{
|
|
@@ -16,43 +17,34 @@
|
|
|
16
17
|
}
|
|
17
18
|
/* View */
|
|
18
19
|
.classic .innerContainer {
|
|
19
|
-
min-height: var(--zd_size70);
|
|
20
20
|
padding: var(--zd_size13) 0;
|
|
21
|
+
min-height: var(--zd_size70);
|
|
21
22
|
}
|
|
22
23
|
.compact .innerContainer {
|
|
23
|
-
min-height: var(--zd_size41);
|
|
24
24
|
padding: var(--zd_size5) 0;
|
|
25
|
+
min-height: var(--zd_size41);
|
|
25
26
|
}
|
|
26
27
|
.superCompact .innerContainer {
|
|
27
|
-
min-height: var(--zd_size35);
|
|
28
28
|
padding: var(--zd_size2) 0;
|
|
29
|
+
min-height: var(--zd_size35);
|
|
29
30
|
}
|
|
30
|
-
.compact .innerContainer,
|
|
31
|
+
.compact .innerContainer,
|
|
32
|
+
.classic .innerContainer,
|
|
33
|
+
.superCompact .innerContainer {
|
|
31
34
|
border-bottom: 1px dotted var(--listBorder);
|
|
32
35
|
}
|
|
33
|
-
|
|
36
|
+
.compact,
|
|
37
|
+
.classic,
|
|
38
|
+
.superCompact {
|
|
34
39
|
border-left: var(--zd_size2) solid transparent;
|
|
35
40
|
}
|
|
36
|
-
|
|
37
|
-
border-right: var(--zd_size2) solid transparent;
|
|
38
|
-
}
|
|
39
|
-
[dir=ltr] .keyboardActive, [dir=ltr] .active{
|
|
41
|
+
.keyboardActive, .active{
|
|
40
42
|
border-top-left-radius: var(--zd_size5);
|
|
41
43
|
border-bottom-left-radius: var(--zd_size5);
|
|
42
44
|
}
|
|
43
|
-
|
|
44
|
-
border-top-right-radius: var(--zd_size5);
|
|
45
|
-
border-bottom-right-radius: var(--zd_size5);
|
|
46
|
-
}
|
|
47
|
-
[dir=ltr] .keyboardActive{
|
|
45
|
+
.keyboardActive{
|
|
48
46
|
border-left-color: var(--zdt_listLayout_keyboard_active_border);
|
|
49
47
|
}
|
|
50
|
-
|
|
51
|
-
border-right-color: var(--zdt_listLayout_keyboard_active_border);
|
|
52
|
-
}
|
|
53
|
-
[dir=ltr] .active{
|
|
48
|
+
.active{
|
|
54
49
|
border-left-color: var(--zdt_listLayout_active_border);
|
|
55
|
-
}
|
|
56
|
-
[dir=rtl] .active{
|
|
57
|
-
border-right-color: var(--zdt_listLayout_active_border);
|
|
58
50
|
}
|
|
@@ -10,12 +10,9 @@
|
|
|
10
10
|
.detailsInnerColumn {
|
|
11
11
|
composes: dflex from '~@zohodesk/components/lib/common/common.module.css';
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
.avatar {
|
|
14
14
|
margin-right: var(--zd_size25);
|
|
15
15
|
}
|
|
16
|
-
[dir=rtl] .avatar {
|
|
17
|
-
margin-left: var(--zd_size25);
|
|
18
|
-
}
|
|
19
16
|
.detailsColumn {
|
|
20
17
|
min-height: 0;
|
|
21
18
|
min-width: 0;
|
|
@@ -33,23 +30,21 @@
|
|
|
33
30
|
.classic .secondaryRow {
|
|
34
31
|
margin-top: var(--zd_size10);
|
|
35
32
|
}
|
|
36
|
-
|
|
33
|
+
.compact .secondaryRow,
|
|
34
|
+
.superCompact .secondaryRow {
|
|
37
35
|
margin-left: var(--zd_size30);
|
|
38
36
|
}
|
|
39
|
-
[dir=rtl] .compact .secondaryRow, [dir=rtl] .superCompact .secondaryRow {
|
|
40
|
-
margin-right: var(--zd_size30);
|
|
41
|
-
}
|
|
42
37
|
.classic .innerContainer {
|
|
43
|
-
height: var(--zd_size70);
|
|
44
38
|
padding: var(--zd_size13) 0;
|
|
39
|
+
height: var(--zd_size70);
|
|
45
40
|
}
|
|
46
41
|
.compact .innerContainer {
|
|
47
|
-
height: var(--zd_size41);
|
|
48
42
|
padding: var(--zd_size5) 0;
|
|
43
|
+
height: var(--zd_size41);
|
|
49
44
|
}
|
|
50
45
|
.superCompact .innerContainer {
|
|
51
|
-
height: var(--zd_size35);
|
|
52
46
|
padding: var(--zd_size2) 0;
|
|
47
|
+
height: var(--zd_size35);
|
|
53
48
|
}
|
|
54
49
|
.classic .detailsInnerColumn {
|
|
55
50
|
-webkit-box-orient: vertical;
|
|
@@ -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,10 @@
|
|
|
1
|
+
.paidUserIcon {
|
|
2
|
+
margin-right: var(--zd_size5);
|
|
3
|
+
vertical-align: middle;
|
|
4
|
+
bottom: var(--zd_size1);
|
|
5
|
+
position: relative;
|
|
6
|
+
font-size: var(--zd_font_size8);
|
|
7
|
+
}
|
|
1
8
|
.icon {
|
|
2
9
|
display: block;
|
|
3
10
|
}
|
|
@@ -35,28 +42,29 @@ display: block
|
|
|
35
42
|
.textStyle,
|
|
36
43
|
.secondaryText,
|
|
37
44
|
.phoneNumber {
|
|
45
|
+
cursor: pointer;
|
|
38
46
|
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
39
47
|
max-width: 100%;
|
|
40
48
|
display: block;
|
|
41
49
|
}
|
|
42
|
-
.textStyle, .secondaryText, .phoneNumber {
|
|
43
|
-
cursor: pointer;
|
|
44
|
-
}
|
|
45
50
|
.textStyle:hover,
|
|
46
51
|
.ticketIdLink,
|
|
47
52
|
.phoneNumber:hover,
|
|
48
53
|
.link:hover {
|
|
49
54
|
color: var(--zdt_secondaryText_blue_text);
|
|
50
55
|
}
|
|
51
|
-
.link:focus, .link:focus .textStyle, .link:focus .phoneNumber{
|
|
56
|
+
/* .link:focus, .link:focus .textStyle, .link:focus .phoneNumber{
|
|
52
57
|
color: var(--zdt_secondaryText_blue_text);
|
|
53
|
-
}
|
|
58
|
+
} */
|
|
54
59
|
.ticketIdLink {
|
|
55
60
|
cursor: pointer;
|
|
56
61
|
}
|
|
57
62
|
.ticketIdLink:hover, .ticketIdLink:focus {
|
|
58
63
|
color: var(--zdt_secondaryText_blue_hover_text);
|
|
59
64
|
}
|
|
65
|
+
.primaryAccountNameCnt {
|
|
66
|
+
max-width: 100%;
|
|
67
|
+
}
|
|
60
68
|
/* status */
|
|
61
69
|
.font_regular {
|
|
62
70
|
font-family: var(--zd_regular);
|
|
@@ -93,13 +101,8 @@ display: block
|
|
|
93
101
|
}
|
|
94
102
|
.happinessImg {
|
|
95
103
|
width: var(--zd_size13);
|
|
96
|
-
vertical-align: middle;
|
|
97
|
-
}
|
|
98
|
-
[dir=ltr] .happinessImg {
|
|
99
104
|
margin: 0 var(--zd_size4) 0 0;
|
|
100
|
-
|
|
101
|
-
[dir=rtl] .happinessImg {
|
|
102
|
-
margin: 0 0 0 var(--zd_size4);
|
|
105
|
+
vertical-align: middle;
|
|
103
106
|
}
|
|
104
107
|
|
|
105
108
|
/* colors */
|
|
@@ -121,31 +124,3 @@ display: block
|
|
|
121
124
|
.black {
|
|
122
125
|
color: var(--zdt_secondaryText_black_text);
|
|
123
126
|
}
|
|
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
|
+
}
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
}
|
|
16
16
|
.itemInner {
|
|
17
17
|
composes: dflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
|
|
18
|
-
max-width: var(--zd_size240);
|
|
19
|
-
font-size: 13px;
|
|
20
18
|
padding: 5px;
|
|
21
19
|
background: #fafafa;
|
|
20
|
+
max-width: var(--zd_size240);
|
|
21
|
+
font-size: 13px;
|
|
22
22
|
}
|
|
23
23
|
.itemText {
|
|
24
24
|
composes: flexgrow flexshrink flexbasis from '~@zohodesk/components/lib/common/common.module.css';
|