@zohodesk/dot 1.0.0-beta.265 → 1.0.0-beta.266

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 (204) hide show
  1. package/README.md +8 -0
  2. package/es/ActionButton/ActionButton.module.css +18 -18
  3. package/es/AlphabeticList/AlphabeticList.module.css +13 -13
  4. package/es/Attachment/Attachment.module.css +25 -25
  5. package/es/AttachmentViewer/AttachmentViewer.module.css +71 -71
  6. package/es/ChannelIcon/ChannelIcon.module.css +22 -22
  7. package/es/Drawer/Drawer.module.css +54 -54
  8. package/es/FlipCard/FlipCard.module.css +2 -2
  9. package/es/FormAction/FormAction.module.css +22 -22
  10. package/es/FreezeLayer/css/FreezeLayer.module.css +6 -6
  11. package/es/Hooks/Dragger/useDragger.js +12 -2
  12. package/es/IconButton/IconButton.module.css +2 -2
  13. package/es/Image/Image.module.css +4 -4
  14. package/es/ImportantNotes/ImportantNotes.module.css +6 -6
  15. package/es/Loader/Loader.module.css +6 -6
  16. package/es/Message/Message.module.css +18 -18
  17. package/es/MessageBanner/MessageBanner.module.css +8 -8
  18. package/es/NewStar/NewStar.module.css +46 -46
  19. package/es/Separator/Separator.module.css +6 -6
  20. package/es/TagWithIcon/TagWithIcon.module.css +7 -7
  21. package/es/ToastMessage/ToastMessage.module.css +37 -37
  22. package/es/Upload/Upload.module.css +29 -29
  23. package/es/alert/AlertHeader/AlertHeader.module.css +13 -13
  24. package/es/alert/AlertLookup/AlertLookup.module.css +7 -7
  25. package/es/avatar/AvatarClose/AvatarClose.module.css +6 -6
  26. package/es/avatar/AvatarCollision/AvatarCollision.module.css +13 -13
  27. package/es/avatar/AvatarStatus/AvatarStatus.module.css +36 -36
  28. package/es/avatar/AvatarThread/AvatarThread.module.css +30 -30
  29. package/es/avatar/AvatarUser/AvatarUser.module.css +51 -51
  30. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +5 -5
  31. package/es/deprecated/FreezeLayer/_FreezeLayer.module.css +6 -6
  32. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +11 -11
  33. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +23 -23
  34. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +15 -15
  35. package/es/emptystate/EditionPage/EditionPage.css +13 -13
  36. package/es/errorstate/EmptyStates.module.css +20 -20
  37. package/es/errorstate/Inconvenience/Inconvenience.module.css +3 -3
  38. package/es/errorstate/LinkText/LinkText.module.css +1 -1
  39. package/es/errorstate/NoRequestFound/NoRequestFound.module.css +1 -1
  40. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +11 -11
  41. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +1 -1
  42. package/es/errorstate/UnableToProcess/UnableToProcess.module.css +1 -1
  43. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +1 -1
  44. package/es/errorstate/WillBack/WillBack.module.css +10 -10
  45. package/es/form/fields/Fields.module.css +29 -29
  46. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +22 -22
  47. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +3 -3
  48. package/es/form/fields/TextEditor/TextEditor.module.css +147 -147
  49. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +7 -7
  50. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +7 -7
  51. package/es/form/layout/Field/Field.module.css +7 -7
  52. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +37 -37
  53. package/es/layout/SubtabLayout/SubtabLayout.module.css +33 -33
  54. package/es/list/BluePrintStatus/BluePrintStatus.module.css +3 -3
  55. package/es/list/Comment/Comment.module.css +6 -6
  56. package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +1 -1
  57. package/es/list/Dot/Dot.module.css +3 -3
  58. package/es/list/DotNew/DotNew.module.css +4 -4
  59. package/es/list/GridStencils/GridStencils.module.css +30 -30
  60. package/es/list/Icons/Icons.module.css +2 -2
  61. package/es/list/ListLayout/ListLayout.module.css +6 -6
  62. package/es/list/ListStencils/ListStencils.module.css +17 -17
  63. package/es/list/SecondaryText/SecondaryText.module.css +15 -15
  64. package/es/list/SecondryPanel/SecondryPanel.module.css +1 -1
  65. package/es/list/SentimentStatus/SentimentStatus.module.css +3 -3
  66. package/es/list/TagNew/TagNew.module.css +4 -4
  67. package/es/list/Thread/Thread.module.css +7 -7
  68. package/es/list/UserTime/UserTime.module.css +9 -9
  69. package/es/list/listCommon.module.css +4 -4
  70. package/es/list/status/StatusDropdown/StatusDropdown.module.css +22 -22
  71. package/es/list/status/StatusListItem/StatusListItem.module.css +16 -16
  72. package/es/lookup/EmptyPage/LookupEmptyPage.module.css +3 -3
  73. package/es/lookup/Lookup/Lookup.module.css +10 -10
  74. package/es/lookup/Section/LookupSection.module.css +3 -3
  75. package/es/lookup/header/Close/LookupClose.module.css +3 -3
  76. package/es/lookup/header/Search/LookupSearch.module.css +14 -14
  77. package/es/lookup/header/TicketHeader/TicketHeader.module.css +2 -2
  78. package/es/lookup/header/Title/LookupTitle.module.css +1 -1
  79. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +11 -11
  80. package/es/lookup/header/lookupHeaderCommon.module.css +9 -9
  81. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +3 -3
  82. package/es/setup/header/Button/HeaderButton.module.css +2 -2
  83. package/es/setup/header/Link/HeaderLink.module.css +5 -5
  84. package/es/setup/header/Search/Search.module.css +13 -13
  85. package/es/setup/header/Views/Views.module.css +4 -4
  86. package/es/setup/helptips/Description/HelpTipsDescription.module.css +2 -2
  87. package/es/setup/helptips/Link/HelpTipsLink.module.css +2 -2
  88. package/es/setup/helptips/ListGroup/ListGroup.module.css +5 -5
  89. package/es/setup/helptips/Title/HelpTipsTitle.module.css +1 -1
  90. package/es/setup/table/TableData/SetupTableData.module.css +6 -6
  91. package/es/setup/table/TableHead/SetupTableHead.module.css +5 -5
  92. package/es/setup/table/TableRow/SetupTableRow.module.css +5 -5
  93. package/es/setup/table/Text/TableText.module.css +4 -4
  94. package/es/version2/AlertClose/AlertClose.module.css +2 -2
  95. package/es/version2/GlobalNotification/GlobalNotification.module.css +23 -23
  96. package/es/version2/alertIcons/AlertIcons.module.css +2 -2
  97. package/es/version2/errorstate/V2_ErrorStates.module.css +17 -17
  98. package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +13 -13
  99. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +8 -8
  100. package/es/version2/lookup/alertLookupCommonNew.module.css +6 -6
  101. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +17 -17
  102. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +29 -29
  103. package/lib/ActionButton/ActionButton.module.css +18 -18
  104. package/lib/AlphabeticList/AlphabeticList.module.css +13 -13
  105. package/lib/Attachment/Attachment.module.css +25 -25
  106. package/lib/AttachmentViewer/AttachmentViewer.module.css +71 -71
  107. package/lib/ChannelIcon/ChannelIcon.module.css +22 -22
  108. package/lib/Drawer/Drawer.module.css +54 -54
  109. package/lib/FlipCard/FlipCard.module.css +2 -2
  110. package/lib/FormAction/FormAction.module.css +22 -22
  111. package/lib/FreezeLayer/css/FreezeLayer.module.css +6 -6
  112. package/lib/Hooks/Dragger/useDragger.js +11 -3
  113. package/lib/IconButton/IconButton.module.css +2 -2
  114. package/lib/Image/Image.module.css +4 -4
  115. package/lib/ImportantNotes/ImportantNotes.module.css +6 -6
  116. package/lib/Loader/Loader.module.css +6 -6
  117. package/lib/Message/Message.module.css +18 -18
  118. package/lib/MessageBanner/MessageBanner.module.css +8 -8
  119. package/lib/NewStar/NewStar.module.css +46 -46
  120. package/lib/Separator/Separator.module.css +6 -6
  121. package/lib/TagWithIcon/TagWithIcon.module.css +7 -7
  122. package/lib/ToastMessage/ToastMessage.module.css +37 -37
  123. package/lib/Upload/Upload.module.css +29 -29
  124. package/lib/alert/AlertHeader/AlertHeader.module.css +13 -13
  125. package/lib/alert/AlertLookup/AlertLookup.module.css +7 -7
  126. package/lib/avatar/AvatarClose/AvatarClose.module.css +6 -6
  127. package/lib/avatar/AvatarCollision/AvatarCollision.module.css +13 -13
  128. package/lib/avatar/AvatarStatus/AvatarStatus.module.css +36 -36
  129. package/lib/avatar/AvatarThread/AvatarThread.module.css +30 -30
  130. package/lib/avatar/AvatarUser/AvatarUser.module.css +51 -51
  131. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +5 -5
  132. package/lib/deprecated/FreezeLayer/_FreezeLayer.module.css +6 -6
  133. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +11 -11
  134. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +23 -23
  135. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +15 -15
  136. package/lib/emptystate/EditionPage/EditionPage.css +13 -13
  137. package/lib/errorstate/EmptyStates.module.css +20 -20
  138. package/lib/errorstate/Inconvenience/Inconvenience.module.css +3 -3
  139. package/lib/errorstate/LinkText/LinkText.module.css +1 -1
  140. package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +1 -1
  141. package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +11 -11
  142. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +1 -1
  143. package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +1 -1
  144. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +1 -1
  145. package/lib/errorstate/WillBack/WillBack.module.css +10 -10
  146. package/lib/form/fields/Fields.module.css +29 -29
  147. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +22 -22
  148. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +3 -3
  149. package/lib/form/fields/TextEditor/TextEditor.module.css +147 -147
  150. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +7 -7
  151. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +7 -7
  152. package/lib/form/layout/Field/Field.module.css +7 -7
  153. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +37 -37
  154. package/lib/layout/SubtabLayout/SubtabLayout.module.css +33 -33
  155. package/lib/list/BluePrintStatus/BluePrintStatus.module.css +3 -3
  156. package/lib/list/Comment/Comment.module.css +6 -6
  157. package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +1 -1
  158. package/lib/list/Dot/Dot.module.css +3 -3
  159. package/lib/list/DotNew/DotNew.module.css +4 -4
  160. package/lib/list/GridStencils/GridStencils.module.css +30 -30
  161. package/lib/list/Icons/Icons.module.css +2 -2
  162. package/lib/list/ListLayout/ListLayout.module.css +6 -6
  163. package/lib/list/ListStencils/ListStencils.module.css +17 -17
  164. package/lib/list/SecondaryText/SecondaryText.module.css +15 -15
  165. package/lib/list/SecondryPanel/SecondryPanel.module.css +1 -1
  166. package/lib/list/SentimentStatus/SentimentStatus.module.css +3 -3
  167. package/lib/list/TagNew/TagNew.module.css +4 -4
  168. package/lib/list/Thread/Thread.module.css +7 -7
  169. package/lib/list/UserTime/UserTime.module.css +9 -9
  170. package/lib/list/listCommon.module.css +4 -4
  171. package/lib/list/status/StatusDropdown/StatusDropdown.module.css +22 -22
  172. package/lib/list/status/StatusListItem/StatusListItem.module.css +16 -16
  173. package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +3 -3
  174. package/lib/lookup/Lookup/Lookup.module.css +10 -10
  175. package/lib/lookup/Section/LookupSection.module.css +3 -3
  176. package/lib/lookup/header/Close/LookupClose.module.css +3 -3
  177. package/lib/lookup/header/Search/LookupSearch.module.css +14 -14
  178. package/lib/lookup/header/TicketHeader/TicketHeader.module.css +2 -2
  179. package/lib/lookup/header/Title/LookupTitle.module.css +1 -1
  180. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +11 -11
  181. package/lib/lookup/header/lookupHeaderCommon.module.css +9 -9
  182. package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +3 -3
  183. package/lib/setup/header/Button/HeaderButton.module.css +2 -2
  184. package/lib/setup/header/Link/HeaderLink.module.css +5 -5
  185. package/lib/setup/header/Search/Search.module.css +13 -13
  186. package/lib/setup/header/Views/Views.module.css +4 -4
  187. package/lib/setup/helptips/Description/HelpTipsDescription.module.css +2 -2
  188. package/lib/setup/helptips/Link/HelpTipsLink.module.css +2 -2
  189. package/lib/setup/helptips/ListGroup/ListGroup.module.css +5 -5
  190. package/lib/setup/helptips/Title/HelpTipsTitle.module.css +1 -1
  191. package/lib/setup/table/TableData/SetupTableData.module.css +6 -6
  192. package/lib/setup/table/TableHead/SetupTableHead.module.css +5 -5
  193. package/lib/setup/table/TableRow/SetupTableRow.module.css +5 -5
  194. package/lib/setup/table/Text/TableText.module.css +4 -4
  195. package/lib/version2/AlertClose/AlertClose.module.css +2 -2
  196. package/lib/version2/GlobalNotification/GlobalNotification.module.css +23 -23
  197. package/lib/version2/alertIcons/AlertIcons.module.css +2 -2
  198. package/lib/version2/errorstate/V2_ErrorStates.module.css +17 -17
  199. package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +13 -13
  200. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +8 -8
  201. package/lib/version2/lookup/alertLookupCommonNew.module.css +6 -6
  202. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +17 -17
  203. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +29 -29
  204. package/package.json +11 -23
@@ -13,16 +13,16 @@
13
13
  .thread {
14
14
  composes: dflex alignVertical alignHorizontal rounded from '~@zohodesk/components/lib/common/common.module.css';
15
15
  position: absolute;
16
- top: -4px;
17
- height: 15px;
18
- width: 15px;
16
+ top: calc( var(--zd_size4) * -1 ) ;
17
+ height: var(--zd_size15) ;
18
+ width: var(--zd_size15) ;
19
19
  background-color: var(--topIconBg);
20
20
  }
21
21
  [dir=ltr] .thread {
22
- right: -1px;
22
+ right: calc( var(--zd_size1) * -1 ) ;
23
23
  }
24
24
  [dir=rtl] .thread {
25
- left: -1px;
25
+ left: calc( var(--zd_size1) * -1 ) ;
26
26
  }
27
27
  .threadBorder {
28
28
  border: 1px solid var(--topIconBorderColor);
@@ -103,22 +103,22 @@
103
103
  .email_incoming,
104
104
  .email_missed,
105
105
  .email_outgoing {
106
- bottom: 2px;
106
+ bottom: var(--zd_size2) ;
107
107
  }
108
108
 
109
109
  /* twitter */
110
110
  .twitter_incoming,
111
111
  .twitter_outgoing,
112
112
  .twitter_missed {
113
- bottom: 1px;
113
+ bottom: var(--zd_size1) ;
114
114
  }
115
115
 
116
116
  /* facebook */
117
117
  [dir=ltr] .facebook_incoming, [dir=ltr] .facebook_missed, [dir=ltr] .facebook_outgoing {
118
- right: 2px;
118
+ right: var(--zd_size2) ;
119
119
  }
120
120
  [dir=rtl] .facebook_incoming, [dir=rtl] .facebook_missed, [dir=rtl] .facebook_outgoing {
121
- left: 2px;
121
+ left: var(--zd_size2) ;
122
122
  }
123
123
 
124
124
  /* chat */
@@ -131,33 +131,33 @@
131
131
  .chat_outgoing,
132
132
  .offline_chat_outgoing,
133
133
  .online_chat_outgoing {
134
- bottom: 1px;
134
+ bottom: var(--zd_size1) ;
135
135
  }
136
136
 
137
137
  /* forums */
138
138
  .forums_default {
139
- top: 1px;
139
+ top: var(--zd_size1) ;
140
140
  }
141
141
 
142
142
  /* feedback */
143
143
  .feedback_incoming,
144
144
  .feedback_missed,
145
145
  .feedback_out {
146
- top: 1px;
146
+ top: var(--zd_size1) ;
147
147
  }
148
148
  [dir=ltr] .feedback_incoming, [dir=ltr] .feedback_missed, [dir=ltr] .feedback_out {
149
- right: 1px;
149
+ right: var(--zd_size1) ;
150
150
  }
151
151
  [dir=rtl] .feedback_incoming, [dir=rtl] .feedback_missed, [dir=rtl] .feedback_out {
152
- left: 1px;
152
+ left: var(--zd_size1) ;
153
153
  }
154
154
 
155
155
  /* draft */
156
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 {
157
- left: 1px;
157
+ left: var(--zd_size1) ;
158
158
  }
159
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: 1px;
160
+ right: var(--zd_size1) ;
161
161
  }
162
162
 
163
163
  /* forward */
@@ -173,7 +173,7 @@
173
173
  .web_forward,
174
174
  .customerportal_forward,
175
175
  .feedback_forward {
176
- bottom: 1px;
176
+ bottom: var(--zd_size1) ;
177
177
  }
178
178
 
179
179
  /* forwarddraft */
@@ -188,21 +188,21 @@
188
188
  .web_forwarddraft,
189
189
  .customerportal_forwarddraft,
190
190
  .feedback_forwarddraft {
191
- bottom: 1px;
191
+ bottom: var(--zd_size1) ;
192
192
  }
193
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
- left: 1px;
194
+ left: var(--zd_size1) ;
195
195
  }
196
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: 1px;
197
+ right: var(--zd_size1) ;
198
198
  }
199
199
 
200
200
  /* facebook_dm */
201
201
  [dir=ltr] .facebook_dm_default, [dir=ltr] .facebook_dm_incoming, [dir=ltr] .facebook_dm_outgoing, [dir=ltr] .facebook_dm_missed {
202
- right: 2px;
202
+ right: var(--zd_size2) ;
203
203
  }
204
204
  [dir=rtl] .facebook_dm_default, [dir=rtl] .facebook_dm_incoming, [dir=rtl] .facebook_dm_outgoing, [dir=rtl] .facebook_dm_missed {
205
- left: 2px;
205
+ left: var(--zd_size2) ;
206
206
  }
207
207
 
208
208
  /*Topic Icon colors*/
@@ -5,18 +5,18 @@
5
5
  }
6
6
 
7
7
  .isOverlay {
8
- top: 0;
9
- bottom: 0;
8
+ top: 0 ;
9
+ bottom: 0 ;
10
10
  position: absolute;
11
11
  pointer-events: none;
12
12
  }
13
13
 
14
14
  [dir=ltr] .isOverlay {
15
- right: 0;
15
+ right: 0 ;
16
16
  }
17
17
 
18
18
  [dir=rtl] .isOverlay {
19
- left: 0;
19
+ left: 0 ;
20
20
  }
21
21
 
22
22
  .columns {
@@ -34,158 +34,158 @@
34
34
 
35
35
  .secondMobDrawer {
36
36
  position: absolute;
37
- top: 0;
37
+ top: 0 ;
38
38
  z-index: 1;
39
39
  }
40
40
 
41
41
  [dir=ltr] .secondMobDrawer {
42
- right: 0;
42
+ right: 0 ;
43
43
  }
44
44
 
45
45
  [dir=rtl] .secondMobDrawer {
46
- left: 0;
46
+ left: 0 ;
47
47
  }
48
48
 
49
49
  .mobModal {
50
50
  position: absolute;
51
- top: 0;
52
- bottom: 0;
51
+ top: 0 ;
52
+ bottom: 0 ;
53
53
  }
54
54
 
55
55
  [dir=ltr] .mobModal {
56
- right: 0;
57
- left: 0;
56
+ right: 0 ;
57
+ left: 0 ;
58
58
  }
59
59
 
60
60
  [dir=rtl] .mobModal {
61
- left: 0;
62
- right: 0;
61
+ left: 0 ;
62
+ right: 0 ;
63
63
  }
64
64
 
65
65
  .xsmall {
66
- width: 360px;
66
+ width: var(--zd_size360) ;
67
67
  }
68
68
 
69
69
  .small {
70
- width: 410px;
70
+ width: var(--zd_size410) ;
71
71
  }
72
72
 
73
73
  .medium {
74
- width: 660px;
74
+ width: var(--zd_size660) ;
75
75
  }
76
76
 
77
77
  .xmedium {
78
- width: 730px;
78
+ width: var(--zd_size730) ;
79
79
  }
80
80
 
81
81
  .large {
82
- width: 936px;
82
+ width: var(--zd_size936) ;
83
83
  }
84
84
 
85
85
  .xlarge {
86
- width: 840px;
86
+ width: var(--zd_size840) ;
87
87
  }
88
88
 
89
89
  .xxlarge {
90
- width: 1142px;
90
+ width: var(--zd_size1142) ;
91
91
  }
92
92
 
93
93
  .mbleSize,
94
94
  .default {
95
- width: 100%;
95
+ width: 100% ;
96
96
  }
97
97
 
98
98
  .header {
99
- min-height: 50px;
99
+ min-height: var(--zd_size50) ;
100
100
  background-color: var(--zdt_drawer_header_bg);
101
101
  border-bottom: solid 1px var(--zdt_drawer_header_border);
102
- padding-top: 10px;
103
- padding-bottom: 10px;
102
+ padding-top: var(--zd_size10) ;
103
+ padding-bottom: var(--zd_size10) ;
104
104
  }
105
105
 
106
106
  .subheader {
107
- min-height: 28px;
107
+ min-height: var(--zd_size28) ;
108
108
  }
109
109
 
110
110
  .title {
111
111
  color: var(--zdt_drawer_title_text);
112
112
  font-family: var(--zd_semibold);
113
113
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
114
- font-size: 16px;
114
+ font-size: var(--zd_font_size16) ;
115
115
  }
116
116
 
117
117
  [dir=ltr] .title {
118
- padding: 0 10px 0 0;
118
+ padding: 0 var(--zd_size10) 0 0 ;
119
119
  }
120
120
 
121
121
  [dir=rtl] .title {
122
- padding: 0 0 0 10px;
122
+ padding: 0 0 0 var(--zd_size10) ;
123
123
  }
124
124
 
125
125
  [dir=ltr] .smallHeaderPadding {
126
- padding-right: 11px;
127
- padding-left: 30px;
126
+ padding-right: var(--zd_size11) ;
127
+ padding-left: var(--zd_size30) ;
128
128
  }
129
129
 
130
130
  [dir=rtl] .smallHeaderPadding {
131
- padding-left: 11px;
132
- padding-right: 30px;
131
+ padding-left: var(--zd_size11) ;
132
+ padding-right: var(--zd_size30) ;
133
133
  }
134
134
 
135
135
  [dir=ltr] .smallContentPadding {
136
- padding-left: 30px;
137
- padding-right: 30px;
136
+ padding-left: var(--zd_size30) ;
137
+ padding-right: var(--zd_size30) ;
138
138
  }
139
139
 
140
140
  [dir=rtl] .smallContentPadding {
141
- padding-right: 30px;
142
- padding-left: 30px;
141
+ padding-right: var(--zd_size30) ;
142
+ padding-left: var(--zd_size30) ;
143
143
  }
144
144
 
145
145
  [dir=ltr] .mediumHeaderPadding {
146
- padding-right: 15px;
147
- padding-left: 30px;
146
+ padding-right: var(--zd_size15) ;
147
+ padding-left: var(--zd_size30) ;
148
148
  }
149
149
 
150
150
  [dir=rtl] .mediumHeaderPadding {
151
- padding-left: 15px;
152
- padding-right: 30px;
151
+ padding-left: var(--zd_size15) ;
152
+ padding-right: var(--zd_size30) ;
153
153
  }
154
154
 
155
155
  [dir=ltr] .mediumContentPadding {
156
- padding-left: 30px;
157
- padding-right: 30px;
156
+ padding-left: var(--zd_size30) ;
157
+ padding-right: var(--zd_size30) ;
158
158
  }
159
159
 
160
160
  [dir=rtl] .mediumContentPadding {
161
- padding-right: 30px;
162
- padding-left: 30px;
161
+ padding-right: var(--zd_size30) ;
162
+ padding-left: var(--zd_size30) ;
163
163
  }
164
164
 
165
165
  [dir=ltr] .largeHeaderPadding {
166
- padding-right: 15px;
167
- padding-left: 50px;
166
+ padding-right: var(--zd_size15) ;
167
+ padding-left: var(--zd_size50) ;
168
168
  }
169
169
 
170
170
  [dir=rtl] .largeHeaderPadding {
171
- padding-left: 15px;
172
- padding-right: 50px;
171
+ padding-left: var(--zd_size15) ;
172
+ padding-right: var(--zd_size50) ;
173
173
  }
174
174
 
175
175
  [dir=ltr] .largeContentPadding {
176
- padding-left: 50px;
177
- padding-right: 50px;
176
+ padding-left: var(--zd_size50) ;
177
+ padding-right: var(--zd_size50) ;
178
178
  }
179
179
 
180
180
  [dir=rtl] .largeContentPadding {
181
- padding-right: 50px;
182
- padding-left: 50px;
181
+ padding-right: var(--zd_size50) ;
182
+ padding-left: var(--zd_size50) ;
183
183
  }
184
184
 
185
185
  [dir=ltr] .iconWrapper {
186
- margin-right: 10px;
186
+ margin-right: var(--zd_size10) ;
187
187
  }
188
188
 
189
189
  [dir=rtl] .iconWrapper {
190
- margin-left: 10px;
190
+ margin-left: var(--zd_size10) ;
191
191
  }
@@ -12,8 +12,8 @@
12
12
  .container,
13
13
  .front,
14
14
  .back {
15
- width: inherit;
16
- height: inherit;
15
+ width: inherit ;
16
+ height: inherit ;
17
17
  }
18
18
  .front,
19
19
  .back {
@@ -13,70 +13,70 @@
13
13
  border-top: solid 1px var(--footerBorder);
14
14
  }
15
15
  .largeFooter {
16
- padding-top: 24px;
17
- padding-bottom: 24px;
16
+ padding-top: var(--zd_size24) ;
17
+ padding-bottom: var(--zd_size24) ;
18
18
  }
19
19
  .mediumFooter {
20
- padding-top: 20px;
21
- padding-bottom: 20px;
20
+ padding-top: var(--zd_size20) ;
21
+ padding-bottom: var(--zd_size20) ;
22
22
  }
23
23
  .smallFooter {
24
- padding-top: 10px;
25
- padding-bottom: 10px;
24
+ padding-top: var(--zd_size10) ;
25
+ padding-bottom: var(--zd_size10) ;
26
26
  }
27
27
 
28
28
  [dir=ltr] .largePadding {
29
- padding-left: 60px;
29
+ padding-left: var(--zd_size60) ;
30
30
  }
31
31
 
32
32
  [dir=rtl] .largePadding {
33
- padding-right: 60px;
33
+ padding-right: var(--zd_size60) ;
34
34
  }
35
35
  [dir=ltr] .mediumPadding {
36
- padding-left: 50px;
36
+ padding-left: var(--zd_size50) ;
37
37
  }
38
38
  [dir=rtl] .mediumPadding {
39
- padding-right: 50px;
39
+ padding-right: var(--zd_size50) ;
40
40
  }
41
41
  [dir=ltr] .xmediumPadding {
42
- padding-left: 30px;
42
+ padding-left: var(--zd_size30) ;
43
43
  }
44
44
  [dir=rtl] .xmediumPadding {
45
- padding-right: 30px;
45
+ padding-right: var(--zd_size30) ;
46
46
  }
47
47
  [dir=ltr] .smallPadding {
48
- padding-left: 25px;
48
+ padding-left: var(--zd_size25) ;
49
49
  }
50
50
  [dir=rtl] .smallPadding {
51
- padding-right: 25px;
51
+ padding-right: var(--zd_size25) ;
52
52
  }
53
53
  [dir=ltr] .xsmallPadding {
54
- padding-left: 20px;
54
+ padding-left: var(--zd_size20) ;
55
55
  }
56
56
  [dir=rtl] .xsmallPadding {
57
- padding-right: 20px;
57
+ padding-right: var(--zd_size20) ;
58
58
  }
59
59
 
60
60
  .marginRight {
61
61
  composes: dinblk from '~@zohodesk/components/lib/common/common.module.css';
62
62
  }
63
63
  [dir=ltr] .largeFooter .marginRight, [dir=ltr] .mediumFooter .marginRight {
64
- margin-right: 15px;
64
+ margin-right: var(--zd_size15) ;
65
65
  }
66
66
  [dir=rtl] .largeFooter .marginRight, [dir=rtl] .mediumFooter .marginRight {
67
- margin-left: 15px;
67
+ margin-left: var(--zd_size15) ;
68
68
  }
69
69
  [dir=ltr] .smallFooter .marginRight {
70
- margin-right: 12px;
70
+ margin-right: var(--zd_size12) ;
71
71
  }
72
72
  [dir=rtl] .smallFooter .marginRight {
73
- margin-left: 12px;
73
+ margin-left: var(--zd_size12) ;
74
74
  }
75
75
 
76
76
  [dir=ltr] .marginRight:last-child {
77
- margin-right: 0;
77
+ margin-right: 0 ;
78
78
  }
79
79
 
80
80
  [dir=rtl] .marginRight:last-child {
81
- margin-left: 0;
81
+ margin-left: 0 ;
82
82
  }
@@ -1,14 +1,14 @@
1
1
  .container {
2
- top: 0;
3
- bottom: 0;
2
+ top: 0 ;
3
+ bottom: 0 ;
4
4
  position: absolute;
5
5
  overflow: hidden;
6
6
  }[dir=ltr] .container {
7
- left: 0;
8
- right: 0;
7
+ left: 0 ;
8
+ right: 0 ;
9
9
  }[dir=rtl] .container {
10
- right: 0;
11
- left: 0;
10
+ right: 0 ;
11
+ left: 0 ;
12
12
  }
13
13
  .default {
14
14
  background-color: var(--zdt_freezelayer_default_bg);
@@ -68,10 +68,20 @@ export default function useDragger(_ref) {
68
68
  const draggableEleRect = draggableEle.current.getBoundingClientRect();
69
69
  const style = draggableEle.current.style;
70
70
  const {
71
- top,
72
- left,
73
71
  width
74
72
  } = draggableEleRect;
73
+ const parentEleRect = parentEle ? parentEle.current.getBoundingClientRect() : {
74
+ left: 0,
75
+ top: 0
76
+ };
77
+ const relativeRect = {
78
+ left: draggableEleRect.left - parentEleRect.left,
79
+ top: draggableEleRect.top - parentEleRect.top
80
+ };
81
+ const {
82
+ top,
83
+ left
84
+ } = relativeRect;
75
85
  style.top = `${top}px`;
76
86
  style.left = `${left}px`;
77
87
  style.width = `${width}px`;
@@ -2,8 +2,8 @@
2
2
  --iconColor: var(--zdt_iconButton_icon_black);
3
3
  }
4
4
  .wrapper {
5
- height: 28px;
6
- width: 28px;
5
+ height: var(--zd_size28) ;
6
+ width: var(--zd_size28) ;
7
7
  composes: offSelection from '~@zohodesk/components/lib/common/common.module.css';
8
8
  composes: varClass;
9
9
  color: var(--iconColor);
@@ -1,10 +1,10 @@
1
1
  .imgFullSize{
2
- height:100%;
3
- width:100%
2
+ height:100% ;
3
+ width:100%
4
4
  }
5
5
  .imgMaxFullSize{
6
- max-height:100%;
7
- max-width:100%
6
+ max-height:100% ;
7
+ max-width:100%
8
8
  }
9
9
  .imgFullSize, .imgMaxFullSize{
10
10
  /* Variable:Ignore */
@@ -1,20 +1,20 @@
1
1
  .section {
2
2
  background: var(--zdt_importantnotes_bg);
3
- padding: 5px 10px;
3
+ padding: var(--zd_size5) var(--zd_size10) ;
4
4
  }
5
5
  .title {
6
- font-size: 13px;
6
+ font-size: var(--zd_font_size13) ;
7
7
  line-height: var(--zd_font_size18);
8
8
  color: var(--zdt_importantnotes_title_text);
9
9
  }
10
10
  .icon {
11
11
  color: var(--zdt_importantnotes_icon);
12
- font-size: 0;
13
- margin-top: 1px;
12
+ font-size: 0 ;
13
+ margin-top: var(--zd_size1) ;
14
14
  }
15
15
  [dir=ltr] .icon {
16
- margin-right: 5px;
16
+ margin-right: var(--zd_size5) ;
17
17
  }
18
18
  [dir=rtl] .icon {
19
- margin-left: 5px;
19
+ margin-left: var(--zd_size5) ;
20
20
  }
@@ -1,15 +1,15 @@
1
1
  .ajaxLoader {
2
2
  position: absolute;
3
- top: 0;
3
+ top: 0 ;
4
4
  }[dir=ltr] .ajaxLoader {
5
- left: 0;
6
- right: 0;
5
+ left: 0 ;
6
+ right: 0 ;
7
7
  }[dir=rtl] .ajaxLoader {
8
- right: 0;
9
- left: 0;
8
+ right: 0 ;
9
+ left: 0 ;
10
10
  }
11
11
  .loader {
12
- width: 100%;
12
+ width: 100% ;
13
13
  /* Variable:Ignore */
14
14
  height: 3px;
15
15
  background-image: var(--zdt_loader_gradient_bg);
@@ -1,16 +1,16 @@
1
1
  .message {
2
2
  position: absolute;
3
- top: 0;
3
+ top: 0 ;
4
4
  z-index: 1000;
5
5
  /*Hook for editor alert*/
6
6
  pointer-events: none;
7
7
  text-align: center;
8
8
  }[dir=ltr] .message {
9
- right: 0;
10
- left: 0;
9
+ right: 0 ;
10
+ left: 0 ;
11
11
  }[dir=rtl] .message {
12
- left: 0;
13
- right: 0;
12
+ left: 0 ;
13
+ right: 0 ;
14
14
  }
15
15
 
16
16
  .container {
@@ -23,18 +23,18 @@
23
23
  }
24
24
 
25
25
  [dir=ltr] .container {
26
- padding: 13px 10px 13px 50px;
26
+ padding: var(--zd_size13) var(--zd_size10) var(--zd_size13) var(--zd_size50) ;
27
27
  }
28
28
 
29
29
  [dir=rtl] .container {
30
- padding: 13px 50px 13px 10px;
30
+ padding: var(--zd_size13) var(--zd_size50) var(--zd_size13) var(--zd_size10) ;
31
31
  }
32
32
 
33
33
  .text {
34
- max-width: 480px;
34
+ max-width: var(--zd_size480) ;
35
35
  display: inline-block;
36
36
  word-break: break-word;
37
- font-size: 14px;
37
+ font-size: var(--zd_font_size14) ;
38
38
  vertical-align: middle;
39
39
  }
40
40
 
@@ -48,19 +48,19 @@
48
48
 
49
49
  .icon {
50
50
  position: absolute;
51
- top: 0;
52
- width: 40px;
51
+ top: 0 ;
52
+ width: var(--zd_size40) ;
53
53
  display: inline-block;
54
- height: 100%;
54
+ height: 100% ;
55
55
  }
56
56
 
57
57
  [dir=ltr] .icon {
58
- left: 0;
58
+ left: 0 ;
59
59
  border-bottom-left-radius: 5px;
60
60
  }
61
61
 
62
62
  [dir=rtl] .icon {
63
- right: 0;
63
+ right: 0 ;
64
64
  border-bottom-right-radius: 5px;
65
65
  }
66
66
 
@@ -81,23 +81,23 @@
81
81
 
82
82
  .tickIcn {
83
83
  color: var(--zdt_message_tickicon);
84
- font-size: 16px;
84
+ font-size: var(--zd_font_size16) ;
85
85
  position: absolute;
86
86
  composes: middleBoth from '~@zohodesk/components/lib/common/common.module.css';
87
87
  }
88
88
 
89
89
  .close {
90
90
  color: var(--zdt_message_close_text);
91
- font-size: 16px;
91
+ font-size: var(--zd_font_size16) ;
92
92
  display: inline-block;
93
93
  vertical-align: middle;
94
94
  cursor: pointer;
95
95
  }
96
96
 
97
97
  [dir=ltr] .close {
98
- margin-left: 10px;
98
+ margin-left: var(--zd_size10) ;
99
99
  }
100
100
 
101
101
  [dir=rtl] .close {
102
- margin-right: 10px;
102
+ margin-right: var(--zd_size10) ;
103
103
  }