@zohodesk/dot 1.0.0-temp-68 → 1.0.0-temp-71
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 +9 -0
- package/es/ActionButton/ActionButton.module.css +25 -9
- package/es/AlphabeticList/AlphabeticList.module.css +7 -4
- package/es/Attachment/Attachment.module.css +20 -9
- package/es/ChannelIcon/ChannelIcon.module.css +30 -21
- package/es/Drawer/Drawer.module.css +59 -11
- package/es/FlipCard/FlipCard.module.css +14 -5
- package/es/FormAction/FormAction.module.css +34 -9
- package/es/FreezeLayer/FreezeLayer.module.css +6 -2
- package/es/IconButton/IconButton.module.css +1 -1
- package/es/ImportantNotes/ImportantNotes.js +5 -3
- package/es/ImportantNotes/ImportantNotes.module.css +7 -2
- package/es/Loader/Loader.module.css +25 -4
- package/es/Message/Message.module.css +42 -9
- package/es/MessageBanner/MessageBanner.module.css +12 -4
- package/es/NewStar/NewStar.module.css +42 -5
- package/es/ToastMessage/ToastMessage.module.css +96 -25
- package/es/Upload/Upload.module.css +27 -8
- package/es/alert/AlertHeader/AlertHeader.module.css +21 -3
- package/es/alert/AlertLookup/AlertLookup.module.css +6 -2
- package/es/avatar/AvatarClose/AvatarClose.module.css +9 -3
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +18 -4
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +3 -4
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +59 -9
- package/es/avatar/AvatarThread/AvatarThread.module.css +55 -5
- package/es/avatar/AvatarUser/AvatarUser.module.css +81 -10
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +10 -3
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +11 -3
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +19 -6
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +12 -4
- package/es/emptystate/EditionPage/EditionPage.css +9 -3
- package/es/errorstate/EmptyStates.module.css +13 -10
- package/es/errorstate/Inconvenience/Inconvenience.module.css +3 -0
- 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 +1 -3
- package/es/form/fields/CurrencyField/CurrencyField.js +1 -1
- package/es/form/fields/Fields.module.css +49 -14
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +7 -4
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +19 -7
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +4 -1
- package/es/form/fields/TextEditor/TextEditor.module.css +150 -73
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +13 -2
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +9 -4
- package/es/form/layout/Field/Field.js +1 -1
- package/es/form/layout/Section/Section.js +7 -3
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +52 -16
- package/es/layout/SubtabLayout/SubtabLayout.module.css +55 -29
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +4 -1
- package/es/list/Comment/Comment.module.css +5 -0
- package/es/list/DotNew/DotNew.module.css +3 -3
- package/es/list/GridStencils/GridStencils.module.css +70 -16
- package/es/list/Icons/Icons.module.css +1 -1
- package/es/list/ListLayout/ListLayout.module.css +22 -14
- package/es/list/ListStencils/ListStencils.module.css +11 -6
- package/es/list/SecondaryText/SecondaryText.module.css +13 -3
- package/es/list/SentimentStatus/SentimentStatus.module.css +4 -1
- package/es/list/TagNew/TagNew.module.css +14 -7
- package/es/list/Thread/Thread.module.css +13 -1
- package/es/list/UserTime/UserTime.module.css +6 -0
- package/es/list/listCommon.module.css +9 -1
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +19 -6
- package/es/list/status/StatusListItem/StatusListItem.module.css +38 -15
- 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/ModuleHeader/ModuleHeader.js +8 -3
- package/es/lookup/header/Search/LookupSearch.module.css +21 -12
- package/es/lookup/header/TicketHeader/TicketHeader.js +7 -4
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +5 -2
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +8 -3
- package/es/lookup/header/lookupHeaderCommon.module.css +21 -5
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +12 -3
- package/es/setup/header/Button/HeaderButton.module.css +3 -1
- package/es/setup/header/Link/HeaderLink.module.css +7 -1
- package/es/setup/header/Search/Search.module.css +19 -8
- package/es/setup/header/Views/Views.module.css +15 -5
- package/es/setup/helptips/Link/HelpTipsLink.module.css +1 -0
- package/es/setup/helptips/ListGroup/ListGroup.module.css +6 -1
- package/es/setup/table/TableData/SetupTableData.module.css +11 -3
- package/es/setup/table/TableHead/SetupTableHead.module.css +4 -0
- package/es/setup/table/TableRow/SetupTableRow.module.css +6 -2
- package/es/version2/AlertClose/AlertClose.module.css +1 -1
- package/es/version2/GlobalNotification/GlobalNotification.module.css +44 -9
- package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +25 -2
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +7 -3
- package/es/version2/lookup/alertLookupCommonNew.module.css +8 -1
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +26 -10
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +47 -10
- package/lib/ActionButton/ActionButton.module.css +0 -1
- package/lib/FreezeLayer/FreezeLayer.js +31 -4
- package/lib/ImportantNotes/ImportantNotes.js +5 -3
- package/lib/Provider/Config.js +21 -0
- package/lib/deprecated/utils/General.js +29 -0
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +1 -1
- package/lib/form/fields/CurrencyField/CurrencyField.js +9 -8
- 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 +7 -4
- package/lib/form/fields/TextBoxField/TextBoxField.js +1 -1
- package/lib/form/fields/TextEditor/TextEditor.module.css +13 -2
- package/lib/form/fields/TextareaField/TextareaField.js +1 -1
- package/lib/form/layout/Field/Field.js +1 -1
- package/lib/form/layout/Section/Section.js +7 -3
- package/lib/list/status/StatusDropdown/StatusDropdown.js +44 -37
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +8 -3
- package/lib/lookup/header/TicketHeader/TicketHeader.js +7 -4
- package/lib/lookup/header/lookupHeaderCommon.module.css +8 -2
- package/lib/setup/header/Views/Views.js +2 -2
- package/lib/utils/General.js +0 -24
- package/package.json +14 -12
|
@@ -16,9 +16,7 @@
|
|
|
16
16
|
.header {
|
|
17
17
|
min-width: var(--zd_size450);
|
|
18
18
|
}
|
|
19
|
-
.imageContainer,
|
|
20
|
-
.tabletImageContainer,
|
|
21
|
-
.mobileImageContainer {
|
|
19
|
+
.imageContainer, .tabletImageContainer, .mobileImageContainer {
|
|
22
20
|
margin-top: calc(var(--zd_size70) * -1);
|
|
23
21
|
margin-bottom: var(--zd_size30);
|
|
24
22
|
}
|
|
@@ -112,7 +112,7 @@ export default class CurrencyField extends PureComponent {
|
|
|
112
112
|
} = this.state;
|
|
113
113
|
let formatValue = value;
|
|
114
114
|
|
|
115
|
-
if (!isActive
|
|
115
|
+
if (!isActive) {
|
|
116
116
|
formatValue = formatCurrency(value, userCurrencyType);
|
|
117
117
|
} else {
|
|
118
118
|
formatValue = value;
|
|
@@ -34,15 +34,19 @@
|
|
|
34
34
|
-webkit-line-clamp: 2;
|
|
35
35
|
}
|
|
36
36
|
.checkboxText {
|
|
37
|
-
padding-left: var(--zd_size6);
|
|
38
37
|
composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
|
|
39
38
|
line-height: normal;
|
|
40
39
|
}
|
|
40
|
+
[dir=ltr] .checkboxText {
|
|
41
|
+
padding-left: var(--zd_size6);
|
|
42
|
+
}
|
|
43
|
+
[dir=rtl] .checkboxText {
|
|
44
|
+
padding-right: var(--zd_size6);
|
|
45
|
+
}
|
|
41
46
|
.cbTextPointer {
|
|
42
47
|
cursor: pointer;
|
|
43
48
|
}
|
|
44
|
-
.disabled,
|
|
45
|
-
.readonly {
|
|
49
|
+
.disabled, .readonly {
|
|
46
50
|
cursor: not-allowed;
|
|
47
51
|
}
|
|
48
52
|
.cbTextReadonly,
|
|
@@ -50,12 +54,18 @@
|
|
|
50
54
|
.readonly .fieldLabel {
|
|
51
55
|
--label_cursor: not-allowed;
|
|
52
56
|
}
|
|
53
|
-
.radio {
|
|
57
|
+
[dir=ltr] .radio {
|
|
54
58
|
margin: var(--zd_size5) var(--zd_size32) var(--zd_size5) 0;
|
|
55
59
|
}
|
|
56
|
-
.
|
|
60
|
+
[dir=rtl] .radio {
|
|
61
|
+
margin: var(--zd_size5) 0 var(--zd_size5) var(--zd_size32);
|
|
62
|
+
}
|
|
63
|
+
[dir=ltr] .duration {
|
|
57
64
|
margin-right: var(--zd_size15);
|
|
58
65
|
}
|
|
66
|
+
[dir=rtl] .duration {
|
|
67
|
+
margin-left: var(--zd_size15);
|
|
68
|
+
}
|
|
59
69
|
.durationWidth {
|
|
60
70
|
width: var(--zd_size94);
|
|
61
71
|
}
|
|
@@ -69,8 +79,8 @@
|
|
|
69
79
|
}
|
|
70
80
|
.phoneIcon {
|
|
71
81
|
color: var(--zdt_fields_phoneicon_icon);
|
|
72
|
-
margin: var(--zd_size15) var(--zd_size10) 0 var(--zd_size10);
|
|
73
82
|
display: inline-block;
|
|
83
|
+
margin: var(--zd_size15) var(--zd_size10) 0 var(--zd_size10);
|
|
74
84
|
cursor: pointer;
|
|
75
85
|
}
|
|
76
86
|
.phoneIcon:hover {
|
|
@@ -89,9 +99,14 @@
|
|
|
89
99
|
.lockIcon,
|
|
90
100
|
.infoIcon {
|
|
91
101
|
color: var(--zdt_fields_lockicon_icon);
|
|
92
|
-
margin-left: var(--zd_size5);
|
|
93
102
|
composes: dInflex from '~@zohodesk/components/lib/common/common.module.css';
|
|
94
103
|
}
|
|
104
|
+
[dir=ltr] .lockIcon, [dir=ltr] .infoIcon {
|
|
105
|
+
margin-left: var(--zd_size5);
|
|
106
|
+
}
|
|
107
|
+
[dir=rtl] .lockIcon, [dir=rtl] .infoIcon {
|
|
108
|
+
margin-right: var(--zd_size5);
|
|
109
|
+
}
|
|
95
110
|
/* .infoIcon {
|
|
96
111
|
opacity: 0;
|
|
97
112
|
visibility: hidden;
|
|
@@ -108,15 +123,25 @@
|
|
|
108
123
|
}
|
|
109
124
|
.timeFormat {
|
|
110
125
|
font-size: var(--zd_font_size11);
|
|
111
|
-
margin-left: var(--zd_size4);
|
|
112
126
|
color: var(--zdt_fields_lockicon_icon);
|
|
113
127
|
}
|
|
128
|
+
[dir=ltr] .timeFormat {
|
|
129
|
+
margin-left: var(--zd_size4);
|
|
130
|
+
}
|
|
131
|
+
[dir=rtl] .timeFormat {
|
|
132
|
+
margin-right: var(--zd_size4);
|
|
133
|
+
}
|
|
114
134
|
.newTab {
|
|
115
|
-
margin-left: var(--zd_size6);
|
|
116
|
-
cursor: pointer;
|
|
117
135
|
color: var(--zdt_fields_lockicon_icon);
|
|
118
136
|
font-size: 0;
|
|
119
137
|
display: none;
|
|
138
|
+
cursor: pointer;
|
|
139
|
+
}
|
|
140
|
+
[dir=ltr] .newTab {
|
|
141
|
+
margin-left: var(--zd_size6);
|
|
142
|
+
}
|
|
143
|
+
[dir=rtl] .newTab {
|
|
144
|
+
margin-right: var(--zd_size6);
|
|
120
145
|
}
|
|
121
146
|
.newTab:hover {
|
|
122
147
|
color: var(--zdt_fields_phoneicon_icon);
|
|
@@ -131,18 +156,28 @@
|
|
|
131
156
|
}
|
|
132
157
|
.labelMandatory:after {
|
|
133
158
|
content: '*';
|
|
134
|
-
padding-left: var(--zd_size2);
|
|
135
159
|
color: var(--zdt_fields_lockicon_hover_icon);
|
|
136
160
|
}
|
|
161
|
+
[dir=ltr] .labelMandatory:after {
|
|
162
|
+
padding-left: var(--zd_size2);
|
|
163
|
+
}
|
|
164
|
+
[dir=rtl] .labelMandatory:after {
|
|
165
|
+
padding-right: var(--zd_size2);
|
|
166
|
+
}
|
|
137
167
|
.ePhiTag {
|
|
138
168
|
composes: flexshrink from '~@zohodesk/components/lib/common/common.module.css';
|
|
139
169
|
color: var(--zdt_fields_phitag_text);
|
|
170
|
+
font-size: var(--zd_font_size12);
|
|
171
|
+
height: var(--zd_size18);
|
|
172
|
+
line-height: var(--zd_size18);
|
|
140
173
|
background-color: var(--zdt_fields_phitag_bg);
|
|
141
174
|
border: 1px solid var(--zdt_fields_phitag_border);
|
|
142
|
-
font-size: var(--zd_font_size12);
|
|
143
175
|
padding: 0 var(--zd_size5);
|
|
144
176
|
border-radius: var(--zd_size3);
|
|
177
|
+
}
|
|
178
|
+
[dir=ltr] .ePhiTag {
|
|
145
179
|
margin-left: var(--zd_size8);
|
|
146
|
-
|
|
147
|
-
|
|
180
|
+
}
|
|
181
|
+
[dir=rtl] .ePhiTag {
|
|
182
|
+
margin-right: var(--zd_size8);
|
|
148
183
|
}
|
|
@@ -117,7 +117,8 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
117
117
|
needBorder,
|
|
118
118
|
borderColor,
|
|
119
119
|
getTextBoxChildren,
|
|
120
|
-
htmlId
|
|
120
|
+
htmlId,
|
|
121
|
+
boxSize
|
|
121
122
|
} = this.props;
|
|
122
123
|
let {
|
|
123
124
|
showAll
|
|
@@ -185,7 +186,7 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
185
186
|
isArrow: false,
|
|
186
187
|
getRef: getContainerRef,
|
|
187
188
|
isBoxPaddingNeed: true,
|
|
188
|
-
size:
|
|
189
|
+
size: boxSize,
|
|
189
190
|
boxPosition: boxPosition,
|
|
190
191
|
isPadding: false,
|
|
191
192
|
customClass: {
|
|
@@ -279,7 +280,8 @@ TagsMultiSelect.propTypes = {
|
|
|
279
280
|
borderColor: PropTypes.oneOf(['transparent', 'default', 'dark']),
|
|
280
281
|
needBorder: PropTypes.bool,
|
|
281
282
|
getTextBoxChildren: PropTypes.func,
|
|
282
|
-
htmlId: PropTypes.string
|
|
283
|
+
htmlId: PropTypes.string,
|
|
284
|
+
boxSize: PropTypes.string
|
|
283
285
|
};
|
|
284
286
|
TagsMultiSelect.defaultProps = {
|
|
285
287
|
className: '',
|
|
@@ -287,7 +289,8 @@ TagsMultiSelect.defaultProps = {
|
|
|
287
289
|
chipNeedToShow: '5',
|
|
288
290
|
borderColor: 'default',
|
|
289
291
|
needBorder: true,
|
|
290
|
-
dataId: ''
|
|
292
|
+
dataId: '',
|
|
293
|
+
boxSize: 'default'
|
|
291
294
|
};
|
|
292
295
|
|
|
293
296
|
if (false) {
|
|
@@ -1,26 +1,28 @@
|
|
|
1
1
|
.tag {
|
|
2
2
|
max-width: 100%;
|
|
3
3
|
}
|
|
4
|
-
.moreLess,
|
|
5
|
-
.tag {
|
|
4
|
+
[dir=ltr] .moreLess, [dir=ltr] .tag {
|
|
6
5
|
margin: 0 var(--zd_size6) var(--zd_size6) 0;
|
|
7
6
|
}
|
|
7
|
+
[dir=rtl] .moreLess, [dir=rtl] .tag {
|
|
8
|
+
margin: 0 0 var(--zd_size6) var(--zd_size6);
|
|
9
|
+
}
|
|
8
10
|
.input {
|
|
9
11
|
height: var(--zd_size20);
|
|
10
|
-
margin-bottom: var(--zd_size4);
|
|
11
12
|
width: 100%;
|
|
13
|
+
margin-bottom: var(--zd_size4);
|
|
12
14
|
}
|
|
13
15
|
.viewpopNew {
|
|
14
16
|
max-height: var(--zd_size250);
|
|
15
17
|
}
|
|
16
18
|
.tagDiv {
|
|
17
|
-
margin-top: var(--zd_size5);
|
|
18
19
|
max-height: var(--zd_size160);
|
|
20
|
+
margin-top: var(--zd_size5);
|
|
19
21
|
}
|
|
20
22
|
.hasBorder {
|
|
23
|
+
transition: border var(--zd_transition2) linear 0s;
|
|
21
24
|
border-bottom-style: solid;
|
|
22
25
|
border-bottom-width: 1px;
|
|
23
|
-
transition: border var(--zd_transition2) linear 0s;
|
|
24
26
|
}
|
|
25
27
|
.borderColor_transparent {
|
|
26
28
|
border-bottom-color: var(--zdt_tagsmultiselect_transparent_border);
|
|
@@ -64,10 +66,15 @@
|
|
|
64
66
|
font-size: 0;
|
|
65
67
|
}
|
|
66
68
|
.newTagLabel {
|
|
67
|
-
margin-right: var(--zd_size5);
|
|
68
69
|
color: var(--zdt_tagsmultiselect_labelt_text);
|
|
69
70
|
composes: semibold from '~@zohodesk/components/lib/common/common.module.css';
|
|
70
71
|
}
|
|
72
|
+
[dir=ltr] .newTagLabel {
|
|
73
|
+
margin-right: var(--zd_size5);
|
|
74
|
+
}
|
|
75
|
+
[dir=rtl] .newTagLabel {
|
|
76
|
+
margin-left: var(--zd_size5);
|
|
77
|
+
}
|
|
71
78
|
.dotted {
|
|
72
79
|
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
73
80
|
}
|
|
@@ -87,9 +94,14 @@
|
|
|
87
94
|
.custmInp {
|
|
88
95
|
position: absolute;
|
|
89
96
|
top: 0;
|
|
90
|
-
left: 0;
|
|
91
97
|
width: 100%;
|
|
92
98
|
}
|
|
99
|
+
[dir=ltr] .custmInp {
|
|
100
|
+
left: 0;
|
|
101
|
+
}
|
|
102
|
+
[dir=rtl] .custmInp {
|
|
103
|
+
right: 0;
|
|
104
|
+
}
|
|
93
105
|
.newTagText {
|
|
94
106
|
color: var(--zdt_tagsmultiselect_more_text);
|
|
95
107
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
.count {
|
|
2
2
|
color: var(--zdt_tagsmultiselectField_count_text);
|
|
3
3
|
font-size: var(--zd_font_size12);
|
|
4
|
-
margin-left: var(--zd_size4);
|
|
5
4
|
word-break: break-word;
|
|
5
|
+
}[dir=ltr] .count {
|
|
6
|
+
margin-left: var(--zd_size4);
|
|
7
|
+
}[dir=rtl] .count {
|
|
8
|
+
margin-right: var(--zd_size4);
|
|
6
9
|
}
|