@zohodesk/dot 1.0.0-temp-71 → 1.0.0-temp-74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/README.md +4 -0
  2. package/assets/Appearance/dark/mode/dotDarkMode.module.css +10 -0
  3. package/assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +6 -0
  4. package/assets/Appearance/dark/themes/green/greenDarkDotTheme.module.css +6 -0
  5. package/assets/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +6 -0
  6. package/assets/Appearance/dark/themes/red/redDarkDotTheme.module.css +6 -0
  7. package/assets/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +6 -0
  8. package/assets/Appearance/default/mode/dotDefaultMode.module.css +10 -0
  9. package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +6 -0
  10. package/assets/Appearance/default/themes/green/greenDefaultDotTheme.module.css +6 -0
  11. package/assets/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +6 -0
  12. package/assets/Appearance/default/themes/red/redDefaultDotTheme.module.css +6 -0
  13. package/assets/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +6 -0
  14. package/es/ActionButton/ActionButton.module.css +9 -25
  15. package/es/AlphabeticList/AlphabeticList.module.css +4 -7
  16. package/es/Attachment/Attachment.module.css +9 -20
  17. package/es/AttachmentViewer/Attachment.js +17 -0
  18. package/es/AttachmentViewer/AttachmentImage.js +85 -0
  19. package/es/AttachmentViewer/AttachmentViewer.js +562 -0
  20. package/es/AttachmentViewer/AttachmentViewer.module.css +291 -0
  21. package/es/AttachmentViewer/utils.js +107 -0
  22. package/es/ChannelIcon/ChannelIcon.module.css +21 -30
  23. package/es/Drawer/Drawer.module.css +11 -59
  24. package/es/FlipCard/FlipCard.module.css +5 -14
  25. package/es/FormAction/FormAction.module.css +9 -34
  26. package/es/FreezeLayer/FreezeLayer.module.css +2 -6
  27. package/es/IconButton/IconButton.module.css +1 -1
  28. package/es/ImportantNotes/ImportantNotes.js +3 -5
  29. package/es/ImportantNotes/ImportantNotes.module.css +2 -7
  30. package/es/Loader/Loader.module.css +4 -25
  31. package/es/Message/Message.module.css +9 -42
  32. package/es/MessageBanner/MessageBanner.module.css +4 -12
  33. package/es/NewStar/NewStar.module.css +5 -42
  34. package/es/ToastMessage/ToastMessage.module.css +25 -96
  35. package/es/Upload/Upload.module.css +8 -27
  36. package/es/alert/AlertHeader/AlertHeader.module.css +3 -21
  37. package/es/alert/AlertLookup/AlertLookup.module.css +2 -6
  38. package/es/avatar/AvatarClose/AvatarClose.module.css +3 -9
  39. package/es/avatar/AvatarCollision/AvatarCollision.module.css +4 -18
  40. package/es/avatar/AvatarIcon/AvatarIcon.module.css +4 -3
  41. package/es/avatar/AvatarStatus/AvatarStatus.module.css +9 -59
  42. package/es/avatar/AvatarThread/AvatarThread.module.css +5 -55
  43. package/es/avatar/AvatarUser/AvatarUser.module.css +10 -81
  44. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +3 -10
  45. package/es/common/dot_animation.module.css +14 -0
  46. package/es/common/dot_common.module.css +4 -0
  47. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +3 -11
  48. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +6 -19
  49. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +4 -12
  50. package/es/emptystate/EditionPage/EditionPage.css +3 -9
  51. package/es/errorstate/EmptyStates.module.css +10 -13
  52. package/es/errorstate/Inconvenience/Inconvenience.module.css +0 -3
  53. package/es/errorstate/LinkText/LinkText.module.css +1 -1
  54. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +2 -2
  55. package/es/errorstate/WillBack/WillBack.module.css +3 -1
  56. package/es/form/fields/Fields.module.css +14 -49
  57. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +7 -19
  58. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +1 -4
  59. package/es/form/fields/TextEditor/TextEditor.js +4 -1
  60. package/es/form/fields/TextEditor/TextEditor.module.css +72 -149
  61. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +2 -13
  62. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +4 -9
  63. package/es/form/layout/Field/Field.js +1 -1
  64. package/es/form/layout/Section/Section.js +3 -7
  65. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +16 -52
  66. package/es/layout/SubtabLayout/SubtabLayout.module.css +29 -55
  67. package/es/list/BluePrintStatus/BluePrintStatus.module.css +1 -4
  68. package/es/list/Comment/Comment.module.css +0 -5
  69. package/es/list/DotNew/DotNew.module.css +3 -3
  70. package/es/list/GridStencils/GridStencils.module.css +16 -70
  71. package/es/list/Icons/Icons.module.css +1 -1
  72. package/es/list/ListLayout/ListLayout.module.css +14 -22
  73. package/es/list/ListStencils/ListStencils.module.css +6 -11
  74. package/es/list/SecondaryText/SecondaryText.module.css +3 -13
  75. package/es/list/SentimentStatus/SentimentStatus.module.css +1 -4
  76. package/es/list/TagNew/TagNew.module.css +7 -14
  77. package/es/list/Thread/Thread.module.css +1 -13
  78. package/es/list/UserTime/UserTime.module.css +0 -6
  79. package/es/list/listCommon.module.css +1 -9
  80. package/es/list/status/StatusDropdown/StatusDropdown.module.css +6 -19
  81. package/es/list/status/StatusListItem/StatusListItem.module.css +15 -38
  82. package/es/lookup/Lookup/Lookup.module.css +2 -2
  83. package/es/lookup/Section/LookupSection.module.css +2 -2
  84. package/es/lookup/header/Close/LookupClose.module.css +4 -4
  85. package/es/lookup/header/ModuleHeader/ModuleHeader.js +3 -8
  86. package/es/lookup/header/Search/LookupSearch.module.css +12 -21
  87. package/es/lookup/header/TicketHeader/TicketHeader.js +4 -7
  88. package/es/lookup/header/TicketHeader/TicketHeader.module.css +2 -5
  89. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +3 -8
  90. package/es/lookup/header/lookupHeaderCommon.module.css +5 -21
  91. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +3 -12
  92. package/es/setup/header/Button/HeaderButton.module.css +1 -3
  93. package/es/setup/header/Link/HeaderLink.module.css +1 -7
  94. package/es/setup/header/Search/Search.module.css +8 -19
  95. package/es/setup/header/Views/Views.module.css +5 -15
  96. package/es/setup/helptips/Link/HelpTipsLink.module.css +0 -1
  97. package/es/setup/helptips/ListGroup/ListGroup.module.css +1 -6
  98. package/es/setup/table/TableData/SetupTableData.module.css +3 -11
  99. package/es/setup/table/TableHead/SetupTableHead.module.css +0 -4
  100. package/es/setup/table/TableRow/SetupTableRow.module.css +2 -6
  101. package/es/version2/AlertClose/AlertClose.module.css +1 -1
  102. package/es/version2/GlobalNotification/GlobalNotification.module.css +9 -44
  103. package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +2 -25
  104. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +3 -7
  105. package/es/version2/lookup/alertLookupCommonNew.module.css +1 -8
  106. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +10 -26
  107. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +10 -47
  108. package/images/audio_thumbnail.png +0 -0
  109. package/lib/ActionButton/ActionButton.module.css +1 -0
  110. package/lib/FreezeLayer/FreezeLayer.js +4 -31
  111. package/lib/ImportantNotes/ImportantNotes.js +3 -5
  112. package/lib/form/fields/CheckBoxField/CheckBoxField.js +1 -1
  113. package/lib/form/fields/CurrencyField/CurrencyField.js +8 -9
  114. package/lib/form/fields/DateField/DateField.js +1 -1
  115. package/lib/form/fields/MultiSelectField/MultiSelectField.js +1 -1
  116. package/lib/form/fields/PhoneField/PhoneField.js +1 -1
  117. package/lib/form/fields/RadioField/RadioField.js +1 -1
  118. package/lib/form/fields/SelectField/SelectField.js +1 -1
  119. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +4 -7
  120. package/lib/form/fields/TextBoxField/TextBoxField.js +1 -1
  121. package/lib/form/fields/TextEditor/TextEditor.module.css +2 -13
  122. package/lib/form/fields/TextareaField/TextareaField.js +1 -1
  123. package/lib/form/layout/Field/Field.js +1 -1
  124. package/lib/form/layout/Section/Section.js +3 -7
  125. package/lib/list/status/StatusDropdown/StatusDropdown.js +37 -44
  126. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +3 -8
  127. package/lib/lookup/header/TicketHeader/TicketHeader.js +4 -7
  128. package/lib/lookup/header/lookupHeaderCommon.module.css +2 -8
  129. package/lib/setup/header/Views/Views.js +2 -2
  130. package/lib/utils/General.js +24 -0
  131. package/package.json +7 -7
  132. package/lib/Provider/Config.js +0 -21
  133. package/lib/deprecated/utils/General.js +0 -29
@@ -0,0 +1,291 @@
1
+ .header {
2
+ background-color: var(--zdt_attachmentviewer_header_bg);
3
+ height: var(--zd_size40);
4
+ position: relative;
5
+ z-index: 1;
6
+ padding: 0 var(--zd_size15);
7
+ composes: alignVertical from '~@zohodesk/components/lib/common/common.module.css';
8
+ border-bottom: 1px solid var(--zdt_attachmentviewer_header_border);
9
+ }
10
+
11
+ .title {
12
+ padding-right: var(--zd_size15);
13
+ max-width: 50%;
14
+ composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
15
+ }
16
+
17
+ .count {
18
+ padding: 0 var(--zd_size10);
19
+ position: absolute;
20
+ composes: xMiddle from '~@zohodesk/components/lib/common/common.module.css';
21
+ }
22
+
23
+ .title,
24
+ .count {
25
+ color: var(--zdt_attachmentviewer_title_text);
26
+ font-size: var(--zd_font_size15);
27
+ }
28
+
29
+ .menuBar {
30
+ padding-left: var(--zd_size5);
31
+ }
32
+
33
+ .mbleMenuBar {
34
+ margin-top: var(--zd_size8);
35
+ align-self: baseline;
36
+ }
37
+
38
+ .menu+.menu {
39
+ margin-left: var(--zd_size22);
40
+ }
41
+
42
+ .mobileMenu+.mobileMenu {
43
+ margin-bottom: var(--zd_size22);
44
+ }
45
+
46
+ .menuIcon {
47
+ --iconColor: var(--zdt_attachmentviewer_title_text);
48
+ }
49
+
50
+ .nrmlArrowBox {
51
+ width: var(--zd_size80);
52
+ }
53
+
54
+ .mbleArrowBox {
55
+ width: var(--zd_size50);
56
+ }
57
+
58
+ .arrowBox:hover {
59
+ background-color: var(--zdt_attachmentviewer_arrow_bg_hover);
60
+ }
61
+
62
+ .arrow {
63
+ color: var(--zdt_attachmentviewer_title_text);
64
+ font-size: var(--zd_font_size22);
65
+ border-radius: 50%;
66
+ cursor: pointer;
67
+ height: var(--zd_size38);
68
+ width: var(--zd_size38);
69
+ line-height: var(--zd_size36);
70
+ }
71
+
72
+ .preview {
73
+ text-align: center;
74
+ margin: var(--zd_size20) 0;
75
+ composes: posrel from '~@zohodesk/components/lib/common/common.module.css';
76
+ }
77
+
78
+ .zoomIn {
79
+ max-height: 100%;
80
+ max-width: 90%;
81
+ position: absolute;
82
+ composes: middleBoth from '~@zohodesk/components/lib/common/common.module.css';
83
+ }
84
+
85
+ .zoomOut {
86
+ cursor: zoom-out;
87
+ }
88
+
89
+ .button {
90
+ position: absolute;
91
+ bottom: var(--zd_size23);
92
+ right: var(--zd_size20);
93
+ z-index: 3;
94
+ border: 1px solid var(--zdt_attachmentviewer_button_border);
95
+ }
96
+
97
+ .visible {
98
+ visibility: visible;
99
+ }
100
+
101
+ .hidden {
102
+ visibility: hidden;
103
+ }
104
+
105
+ .footer {
106
+ background-color: var(--zdt_attachmentviewer_footer_bg);
107
+ width: 100%;
108
+ overflow: hidden;
109
+ transition: height var(--zd_transition3);
110
+ }
111
+
112
+ .footerHeight {
113
+ height: var(--zd_size75);
114
+ }
115
+
116
+ .footerHide {
117
+ height: 0;
118
+ }
119
+
120
+ .listContainer {
121
+ padding: 0 var(--zd_size18);
122
+ }
123
+
124
+ .imgItem {
125
+ height: var(--zd_size60);
126
+ min-width: var(--zd_size40);
127
+ border-width: 2px;
128
+ border-style: solid;
129
+ border-color: var(--dot_mirror);
130
+ border-radius: 3px;
131
+ position: relative;
132
+ transition: border var(--zd_transition3);
133
+ padding: var(--zd_size2);
134
+ }
135
+
136
+ .imgItem:hover {
137
+ border-color: var(--zdt_attachmentviewer_hover_border);
138
+ }
139
+
140
+ .imgItem+.imgItem {
141
+ margin-left: var(--zd_size12);
142
+ }
143
+
144
+ .image {
145
+ cursor: pointer;
146
+ }
147
+
148
+ .selected,
149
+ .selected:hover {
150
+ border-color: var(--zdt_attachmentviewer_selected_border);
151
+ }
152
+
153
+ .selected::after {
154
+ content: '';
155
+ position: absolute;
156
+ top: 0;
157
+ left: 0;
158
+ width: 100%;
159
+ height: 100%;
160
+ background-color: var(--zdt_attachmentviewer_selected_after_bg);
161
+ opacity: 0.3;
162
+ box-shadow: 0 0 4px 2px var(--zdt_attachmentviewer_selected_box_shadow) inset;
163
+ }
164
+
165
+ .zoomIcon {
166
+ font-size: var(--zd_font_size15);
167
+ }
168
+
169
+ .newTabIcon {
170
+ font-size: var(--zd_font_size12);
171
+ }
172
+
173
+ .appIcon {
174
+ font-size: var(--zd_font_size9);
175
+ }
176
+
177
+ .thumpIcon {
178
+ color: var(--zdt_attachmentviewer_title_text);
179
+ transition: transform var(--zd_transition3);
180
+ transform: rotateX(180deg);
181
+ }
182
+
183
+ .thumpIconActive {
184
+ transform: rotateX(0deg);
185
+ }
186
+
187
+ .isAudio {
188
+ composes: audioImage from '../common/dot_common.module.css';
189
+ background-size: 100% 100%;
190
+ width: var(--zd_size100);
191
+ }
192
+
193
+ .isAudio .image {
194
+ opacity: 0;
195
+ }
196
+
197
+ .video {
198
+ margin: auto;
199
+ position: absolute;
200
+ top: 0;
201
+ left: 0;
202
+ right: 0;
203
+ bottom: 0;
204
+ }
205
+
206
+ .imgBox {
207
+ position: absolute;
208
+ transition: var(--zd_transition3) ease-in-out;
209
+ opacity: 0;
210
+ overflow: auto;
211
+ }
212
+
213
+ .imgBox>img {
214
+ object-fit: contain;
215
+ }
216
+
217
+ .imgRef {
218
+ width: 100%;
219
+ height: 100%;
220
+ max-width: 100%;
221
+ max-height: 100%;
222
+ composes: dflex from '~@zohodesk/components/lib/common/common.module.css';
223
+ }
224
+
225
+ .img {
226
+ transition: var(--zd_transition3) ease-in-out;
227
+ margin: auto;
228
+ cursor: zoom-in;
229
+ }
230
+
231
+ .imgRef .normalImg {
232
+ max-width: inherit;
233
+ max-height: inherit;
234
+ cursor: zoom-in;
235
+ }
236
+
237
+ .imgRef .zoomedImg {
238
+ max-width: initial;
239
+ max-height: initial;
240
+ cursor: zoom-out;
241
+ }
242
+
243
+ .previewBox {
244
+ position: relative;
245
+ overflow: hidden;
246
+ }
247
+
248
+ .spinLoad {
249
+ position: absolute;
250
+ composes: middleBoth from '~@zohodesk/components/lib/common/common.module.css';
251
+ height: var(--zd_font_size18);
252
+ width: var(--zd_font_size18);
253
+ }
254
+
255
+ .loader {
256
+ height: 100%;
257
+ width: 100%;
258
+ animation-duration: var(--zd_transition8);
259
+ animation-timing-function: linear;
260
+ composes: rotate from '../common/dot_animation.module.css';
261
+ composes: infinite from '~@zohodesk/components/lib/common/animation.module.css';
262
+ border: 2px solid var(--zdt_attachmentviewer_loader_border);
263
+ border-top-color: var(--zdt_attachmentviewer_loader_border_top);
264
+ border-radius: 50%;
265
+ }
266
+
267
+ .hide {
268
+ opacity: 0;
269
+ visibility: hidden;
270
+ }
271
+
272
+ .author {
273
+ max-width: var(--zd_size200);
274
+ padding-left: var(--zd_size15);
275
+ }
276
+
277
+ .authorName {
278
+ margin: 0 var(--zd_size10);
279
+ font-size: var(--zd_font_size15);
280
+ color: var(--zdt_attachmentviewer_title_text);
281
+ composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
282
+ }
283
+
284
+ .btn {
285
+ background-color: var(--dot_mirror);
286
+ border: 0;
287
+ height: 100%;
288
+ width: 100%;
289
+ cursor: pointer;
290
+ }
291
+
@@ -0,0 +1,107 @@
1
+ export class Zoom {
2
+ constructor() {
3
+ const matrix = [1, 0, 0, 1, 0, 0]; // current view transform
4
+
5
+ this.m = matrix; // alias
6
+
7
+ this.scale = 1; // current scale
8
+
9
+ this.pos = {
10
+ x: 0,
11
+ y: 0
12
+ }; // current position of origin
13
+
14
+ this.dirty = true;
15
+ }
16
+
17
+ applyTo(el) {
18
+ const {
19
+ dirty,
20
+ m
21
+ } = this;
22
+
23
+ if (dirty) {
24
+ this.update();
25
+ }
26
+
27
+ el.style.transform = `matrix(${m[0]},${m[1]},${m[2]},${m[3]},${m[4]},${m[5]})`;
28
+ el.style.transformOrigin = '0 0';
29
+ }
30
+
31
+ update() {
32
+ // m[4], m[5] - need to set transforms based on positions. Currently set to 0 to zoom based on center
33
+ const {
34
+ m,
35
+ scale,
36
+ pos
37
+ } = this;
38
+ this.dirty = false;
39
+ m[3] = m[0] = scale;
40
+ m[2] = m[1] = 0;
41
+ m[4] = pos.x;
42
+ m[5] = pos.y;
43
+ }
44
+
45
+ pan(amount) {
46
+ if (this.dirty) {
47
+ this.update();
48
+ }
49
+
50
+ this.pos.x += amount.x;
51
+ this.pos.y += amount.y;
52
+ this.dirty = true;
53
+ }
54
+
55
+ scaleAt(at, amount) {
56
+ // at in screen coords
57
+ const {
58
+ dirty,
59
+ pos
60
+ } = this;
61
+
62
+ if (dirty) {
63
+ this.update();
64
+ }
65
+
66
+ this.scale *= amount;
67
+ this.pos.x = at.x - (at.x - pos.x) * amount;
68
+ this.pos.y = at.y - (at.y - pos.y) * amount;
69
+ this.dirty = true;
70
+ }
71
+
72
+ }
73
+ ;
74
+ export class ZoomEvent {
75
+ constructor() {
76
+ this.pos = [];
77
+ }
78
+
79
+ on(dir, ele, zoom, event) {
80
+ if (dir === 'in') {
81
+ const x = event.pageX - ele.width / 2;
82
+ const y = event.pageY - ele.height / 2;
83
+ this.pos.push({
84
+ x,
85
+ y
86
+ });
87
+ zoom.scaleAt({
88
+ x,
89
+ y
90
+ }, 1.6);
91
+ zoom.applyTo(ele);
92
+ } else if (this.pos.length) {
93
+ const {
94
+ x,
95
+ y
96
+ } = this.pos.pop();
97
+ zoom.scaleAt({
98
+ x,
99
+ y
100
+ }, 1 / 1.6);
101
+ zoom.applyTo(ele);
102
+ }
103
+
104
+ event.preventDefault();
105
+ }
106
+
107
+ }
@@ -14,16 +14,11 @@
14
14
  composes: dflex alignVertical alignHorizontal rounded from '~@zohodesk/components/lib/common/common.module.css';
15
15
  position: absolute;
16
16
  top: calc(var(--zd_size4) * -1);
17
+ right: calc(var(--zd_size1) * -1);
17
18
  height: var(--zd_size15);
18
19
  width: var(--zd_size15);
19
20
  background-color: var(--topIconBg);
20
21
  }
21
- [dir=ltr] .thread {
22
- right: calc(var(--zd_size1) * -1);
23
- }
24
- [dir=rtl] .thread {
25
- left: calc(var(--zd_size1) * -1);
26
- }
27
22
  .threadBorder {
28
23
  border: 1px solid var(--topIconBorderColor);
29
24
  }
@@ -114,12 +109,11 @@
114
109
  }
115
110
 
116
111
  /* facebook */
117
- [dir=ltr] .facebook_incoming, [dir=ltr] .facebook_missed, [dir=ltr] .facebook_outgoing {
112
+ .facebook_incoming,
113
+ .facebook_missed,
114
+ .facebook_outgoing {
118
115
  right: var(--zd_size2);
119
116
  }
120
- [dir=rtl] .facebook_incoming, [dir=rtl] .facebook_missed, [dir=rtl] .facebook_outgoing {
121
- left: var(--zd_size2);
122
- }
123
117
 
124
118
  /* chat */
125
119
  .chat_incoming,
@@ -143,22 +137,24 @@
143
137
  .feedback_incoming,
144
138
  .feedback_missed,
145
139
  .feedback_out {
146
- top: var(--zd_size1);
147
- }
148
- [dir=ltr] .feedback_incoming, [dir=ltr] .feedback_missed, [dir=ltr] .feedback_out {
149
140
  right: var(--zd_size1);
150
- }
151
- [dir=rtl] .feedback_incoming, [dir=rtl] .feedback_missed, [dir=rtl] .feedback_out {
152
- left: var(--zd_size1);
141
+ top: var(--zd_size1);
153
142
  }
154
143
 
155
144
  /* draft */
156
- [dir=ltr] .email_draft, [dir=ltr] .facebook_draft, [dir=ltr] .twitter_draft, [dir=ltr] .forums_draft, [dir=ltr] .chat_draft, [dir=ltr] .offline_chat_draft, [dir=ltr] .online_chat_draft, [dir=ltr] .phone_draft, [dir=ltr] .web_draft, [dir=ltr] .customerportal_draft, [dir=ltr] .feedback_draft {
145
+ .email_draft,
146
+ .facebook_draft,
147
+ .twitter_draft,
148
+ .forums_draft,
149
+ .chat_draft,
150
+ .offline_chat_draft,
151
+ .online_chat_draft,
152
+ .phone_draft,
153
+ .web_draft,
154
+ .customerportal_draft,
155
+ .feedback_draft {
157
156
  left: var(--zd_size1);
158
157
  }
159
- [dir=rtl] .email_draft, [dir=rtl] .facebook_draft, [dir=rtl] .twitter_draft, [dir=rtl] .forums_draft, [dir=rtl] .chat_draft, [dir=rtl] .offline_chat_draft, [dir=rtl] .online_chat_draft, [dir=rtl] .phone_draft, [dir=rtl] .web_draft, [dir=rtl] .customerportal_draft, [dir=rtl] .feedback_draft {
160
- right: var(--zd_size1);
161
- }
162
158
 
163
159
  /* forward */
164
160
  .email_forward,
@@ -188,22 +184,17 @@
188
184
  .web_forwarddraft,
189
185
  .customerportal_forwarddraft,
190
186
  .feedback_forwarddraft {
191
- bottom: var(--zd_size1);
192
- }
193
- [dir=ltr] .email_forwarddraft, [dir=ltr] .facebook_forwarddraft, [dir=ltr] .twitter_forwarddraft, [dir=ltr] .forums_forwarddraft, [dir=ltr] .chat_forwarddraft, [dir=ltr] .offline_chat_forwarddraft, [dir=ltr] .online_chat_forwarddraft, [dir=ltr] .phone_forwarddraft, [dir=ltr] .web_forwarddraft, [dir=ltr] .customerportal_forwarddraft, [dir=ltr] .feedback_forwarddraft {
194
187
  left: var(--zd_size1);
195
- }
196
- [dir=rtl] .email_forwarddraft, [dir=rtl] .facebook_forwarddraft, [dir=rtl] .twitter_forwarddraft, [dir=rtl] .forums_forwarddraft, [dir=rtl] .chat_forwarddraft, [dir=rtl] .offline_chat_forwarddraft, [dir=rtl] .online_chat_forwarddraft, [dir=rtl] .phone_forwarddraft, [dir=rtl] .web_forwarddraft, [dir=rtl] .customerportal_forwarddraft, [dir=rtl] .feedback_forwarddraft {
197
- right: var(--zd_size1);
188
+ bottom: var(--zd_size1);
198
189
  }
199
190
 
200
191
  /* facebook_dm */
201
- [dir=ltr] .facebook_dm_default, [dir=ltr] .facebook_dm_incoming, [dir=ltr] .facebook_dm_outgoing, [dir=ltr] .facebook_dm_missed {
192
+ .facebook_dm_default,
193
+ .facebook_dm_incoming,
194
+ .facebook_dm_outgoing,
195
+ .facebook_dm_missed {
202
196
  right: var(--zd_size2);
203
197
  }
204
- [dir=rtl] .facebook_dm_default, [dir=rtl] .facebook_dm_incoming, [dir=rtl] .facebook_dm_outgoing, [dir=rtl] .facebook_dm_missed {
205
- left: var(--zd_size2);
206
- }
207
198
 
208
199
  /*Topic Icon colors*/
209
200
  .topic_olive {
@@ -1,20 +1,15 @@
1
1
  .container {
2
- transition: width var(--zd_transition3);
3
2
  box-shadow: 0 6px 12px var(--zdt_drawer_default_box_shadow);
4
3
  background-color: var(--zdt_drawer_default_bg);
4
+ transition: width var(--zd_transition3);
5
5
  }
6
6
  .isOverlay {
7
+ right: 0;
7
8
  top: 0;
8
9
  bottom: 0;
9
10
  position: absolute;
10
11
  pointer-events: none;
11
12
  }
12
- [dir=ltr] .isOverlay {
13
- right: 0;
14
- }
15
- [dir=rtl] .isOverlay {
16
- left: 0;
17
- }
18
13
  .columns {
19
14
  pointer-events: initial;
20
15
  }
@@ -26,29 +21,18 @@
26
21
  box-shadow: 0 6px 12px var(--zdt_drawer_default_box_shadow);
27
22
  }
28
23
  .secondMobDrawer {
24
+ right: 0;
29
25
  position: absolute;
30
26
  top: 0;
31
27
  z-index: 1;
32
28
  }
33
- [dir=ltr] .secondMobDrawer {
34
- right: 0;
35
- }
36
- [dir=rtl] .secondMobDrawer {
37
- left: 0;
38
- }
39
29
  .mobModal {
40
30
  position: absolute;
41
31
  top: 0;
42
- bottom: 0;
43
- }
44
- [dir=ltr] .mobModal {
45
32
  right: 0;
33
+ bottom: 0;
46
34
  left: 0;
47
35
  }
48
- [dir=rtl] .mobModal {
49
- left: 0;
50
- right: 0;
51
- }
52
36
  .xsmall {
53
37
  width: var(--zd_size360);
54
38
  }
@@ -88,64 +72,32 @@
88
72
  color: var( --zdt_drawer_title_text);
89
73
  font: var(--zd_font_size16) var(--zd_semibold);
90
74
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
91
- }
92
- [dir=ltr] .title {
93
75
  padding: 0 var(--zd_size10) 0 0;
94
76
  }
95
- [dir=rtl] .title {
96
- padding: 0 0 0 var(--zd_size10);
97
- }
98
- [dir=ltr] .smallHeaderPadding {
77
+ .smallHeaderPadding {
99
78
  padding-right: var(--zd_size11);
100
79
  padding-left: var(--zd_size30);
101
80
  }
102
- [dir=rtl] .smallHeaderPadding {
103
- padding-left: var(--zd_size11);
104
- padding-right: var(--zd_size30);
105
- }
106
- [dir=ltr] .smallContentPadding {
81
+ .smallContentPadding {
107
82
  padding-left: var(--zd_size30);
108
83
  padding-right: var(--zd_size30);
109
84
  }
110
- [dir=rtl] .smallContentPadding {
111
- padding-right: var(--zd_size30);
112
- padding-left: var(--zd_size30);
113
- }
114
- [dir=ltr] .mediumHeaderPadding {
85
+ .mediumHeaderPadding {
115
86
  padding-right: var(--zd_size15);
116
87
  padding-left: var(--zd_size30);
117
88
  }
118
- [dir=rtl] .mediumHeaderPadding {
119
- padding-left: var(--zd_size15);
120
- padding-right: var(--zd_size30);
121
- }
122
- [dir=ltr] .mediumContentPadding {
89
+ .mediumContentPadding {
123
90
  padding-left: var(--zd_size30);
124
91
  padding-right: var(--zd_size30);
125
92
  }
126
- [dir=rtl] .mediumContentPadding {
127
- padding-right: var(--zd_size30);
128
- padding-left: var(--zd_size30);
129
- }
130
- [dir=ltr] .largeHeaderPadding {
93
+ .largeHeaderPadding {
131
94
  padding-right: var(--zd_size15);
132
95
  padding-left: var(--zd_size50);
133
96
  }
134
- [dir=rtl] .largeHeaderPadding {
135
- padding-left: var(--zd_size15);
136
- padding-right: var(--zd_size50);
137
- }
138
- [dir=ltr] .largeContentPadding {
97
+ .largeContentPadding {
139
98
  padding-left: var(--zd_size50);
140
99
  padding-right: var(--zd_size50);
141
100
  }
142
- [dir=rtl] .largeContentPadding {
143
- padding-right: var(--zd_size50);
144
- padding-left: var(--zd_size50);
145
- }
146
- [dir=ltr] .iconWrapper {
101
+ .iconWrapper {
147
102
  margin-right: var(--zd_size10);
148
103
  }
149
- [dir=rtl] .iconWrapper {
150
- margin-left: var(--zd_size10);
151
- }
@@ -1,8 +1,7 @@
1
1
  .flip,
2
2
  .flipNone {
3
- color: var(--zdt_flipcard_default_text);
4
- }.flip, .flipNone {
5
3
  background-color: var(--zdt_flipcard_default_bg);
4
+ color: var(--zdt_flipcard_default_text);
6
5
  }
7
6
  .container {
8
7
  position: relative;
@@ -21,24 +20,16 @@
21
20
  backface-visibility: hidden;
22
21
  -webkit-backface-visibility: hidden;
23
22
  }
24
- [dir=ltr] .front {
23
+ .front {
25
24
  transform: rotateY(180deg) perspective(1px);
26
25
  }
27
- [dir=rtl] .front {
28
- transform: rotateY(-180deg) perspective(1px);
29
- }
30
26
  .back {
31
27
  transform: rotateY(0deg) perspective(1px);
32
28
  }
33
- [dir=ltr] .notFlip .container {
29
+ .notFlip .container {
34
30
  transform: rotateY(180deg);
35
31
  }
36
- [dir=rtl] .notFlip .container {
37
- transform: rotateY(-180deg);
38
- }
39
- [dir=ltr] .flip:hover .container, [dir=ltr] .hoverContainer:hover .container {
32
+ .flip:hover .container,
33
+ .hoverContainer:hover .container {
40
34
  transform: rotateY(180deg);
41
35
  }
42
- [dir=rtl] .flip:hover .container, [dir=rtl] .hoverContainer:hover .container {
43
- transform: rotateY(-180deg);
44
- }