@zohodesk/dot 1.0.0-temp-150 → 1.0.0-temp-151

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 (246) hide show
  1. package/README.md +0 -9
  2. package/assets/Appearance/dark/mode/dotDarkMode.module.css +1 -1
  3. package/assets/Appearance/default/mode/dotDefaultMode.module.css +1 -1
  4. package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +1 -1
  5. package/es/ActionButton/ActionButton.module.css +14 -14
  6. package/es/AlphabeticList/AlphabeticList.module.css +10 -10
  7. package/es/Attachment/Attachment.module.css +24 -26
  8. package/es/AttachmentViewer/AttachmentViewer.module.css +41 -41
  9. package/es/ChannelIcon/ChannelIcon.module.css +22 -22
  10. package/es/Drawer/Drawer.module.css +40 -41
  11. package/es/FormAction/FormAction.module.css +20 -20
  12. package/es/Hooks/Dragger/useDragger.js +2 -7
  13. package/es/IconButton/IconButton.module.css +2 -2
  14. package/es/Image/Image.module.css +0 -1
  15. package/es/ImportantNotes/ImportantNotes.module.css +5 -5
  16. package/es/Loader/Loader.module.css +0 -1
  17. package/es/Message/Message.module.css +9 -9
  18. package/es/MessageBanner/MessageBanner.module.css +7 -7
  19. package/es/NewStar/NewStar.module.css +10 -18
  20. package/es/Separator/Separator.module.css +6 -6
  21. package/es/TagWithIcon/TagWithIcon.module.css +6 -6
  22. package/es/ToastMessage/ToastMessage.module.css +23 -23
  23. package/es/Upload/Upload.module.css +15 -15
  24. package/es/alert/AlertHeader/AlertHeader.module.css +12 -12
  25. package/es/alert/AlertLookup/AlertLookup.module.css +6 -6
  26. package/es/avatar/AvatarClose/AvatarClose.module.css +1 -1
  27. package/es/avatar/AvatarCollision/AvatarCollision.module.css +7 -7
  28. package/es/avatar/AvatarStatus/AvatarStatus.module.css +32 -32
  29. package/es/avatar/AvatarThread/AvatarThread.module.css +24 -24
  30. package/es/avatar/AvatarUser/AvatarUser.module.css +40 -40
  31. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +4 -4
  32. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +11 -11
  33. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +13 -13
  34. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +11 -11
  35. package/es/emptystate/EditionPage/EditionPage.css +13 -13
  36. package/es/errorstate/EmptyStates.module.css +18 -18
  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 +8 -8
  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 +26 -26
  46. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +13 -13
  47. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +3 -3
  48. package/es/form/fields/TextEditor/TextEditor.js +11 -10
  49. package/es/form/fields/TextEditor/TextEditor.module.css +77 -84
  50. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +2 -3
  51. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +3 -3
  52. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +31 -31
  53. package/es/layout/SubtabLayout/SubtabLayout.module.css +32 -32
  54. package/es/list/BluePrintStatus/BluePrintStatus.module.css +3 -3
  55. package/es/list/Comment/Comment.module.css +4 -4
  56. package/es/list/Dot/Dot.module.css +3 -3
  57. package/es/list/DotNew/DotNew.module.css +4 -4
  58. package/es/list/GridStencils/GridStencils.module.css +24 -24
  59. package/es/list/Icons/AddNewIcon.js +3 -2
  60. package/es/list/Icons/CompleteIcon.js +2 -2
  61. package/es/list/Icons/DeleteIcon.js +4 -3
  62. package/es/list/Icons/EditIcon.js +5 -3
  63. package/es/list/Icons/Icons.module.css +2 -2
  64. package/es/list/Icons/ReadUnreadIcon.js +5 -3
  65. package/es/list/Icons/SmartIcon.js +5 -3
  66. package/es/list/ListLayout/ListLayout.module.css +30 -14
  67. package/es/list/ListStencils/ListStencils.module.css +12 -12
  68. package/es/list/SecondaryText/SecondaryText.module.css +11 -11
  69. package/es/list/SentimentStatus/SentimentStatus.module.css +3 -3
  70. package/es/list/TagNew/TagNew.module.css +4 -4
  71. package/es/list/Thread/Thread.module.css +7 -7
  72. package/es/list/UserTime/UserTime.module.css +8 -8
  73. package/es/list/listCommon.module.css +31 -9
  74. package/es/list/status/StatusDropdown/StatusDropdown.js +9 -2
  75. package/es/list/status/StatusDropdown/StatusDropdown.module.css +13 -13
  76. package/es/list/status/StatusListItem/StatusListItem.module.css +16 -16
  77. package/es/lookup/EmptyPage/LookupEmptyPage.module.css +3 -3
  78. package/es/lookup/Lookup/Lookup.module.css +5 -5
  79. package/es/lookup/Section/LookupSection.module.css +1 -1
  80. package/es/lookup/header/Close/LookupClose.module.css +3 -3
  81. package/es/lookup/header/Search/LookupSearch.module.css +14 -14
  82. package/es/lookup/header/TicketHeader/TicketHeader.module.css +2 -2
  83. package/es/lookup/header/Title/LookupTitle.module.css +1 -1
  84. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +11 -11
  85. package/es/lookup/header/lookupHeaderCommon.module.css +8 -8
  86. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +3 -3
  87. package/es/setup/header/Button/HeaderButton.module.css +2 -2
  88. package/es/setup/header/Link/HeaderLink.module.css +5 -5
  89. package/es/setup/header/Search/Search.module.css +8 -8
  90. package/es/setup/header/Views/Views.module.css +4 -4
  91. package/es/setup/helptips/Description/HelpTipsDescription.module.css +2 -2
  92. package/es/setup/helptips/Link/HelpTipsLink.module.css +2 -2
  93. package/es/setup/helptips/ListGroup/ListGroup.module.css +3 -3
  94. package/es/setup/helptips/Title/HelpTipsTitle.module.css +1 -1
  95. package/es/setup/table/TableData/SetupTableData.module.css +6 -6
  96. package/es/setup/table/TableHead/SetupTableHead.module.css +5 -5
  97. package/es/setup/table/TableRow/SetupTableRow.module.css +5 -5
  98. package/es/setup/table/Text/TableText.module.css +2 -2
  99. package/es/version2/AlertClose/AlertClose.module.css +2 -2
  100. package/es/version2/GlobalNotification/GlobalNotification.module.css +13 -13
  101. package/es/version2/errorstate/V2_ErrorStates.module.css +17 -17
  102. package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +13 -13
  103. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +6 -6
  104. package/es/version2/lookup/alertLookupCommonNew.module.css +5 -5
  105. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +14 -14
  106. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +23 -23
  107. package/lib/ActionButton/ActionButton.module.css +14 -14
  108. package/lib/AlphabeticList/AlphabeticList.js +1 -1
  109. package/lib/AlphabeticList/AlphabeticList.module.css +10 -10
  110. package/lib/Attachment/Attachment.module.css +24 -26
  111. package/lib/AttachmentViewer/AttachmentImage.js +1 -1
  112. package/lib/AttachmentViewer/AttachmentViewer.module.css +41 -41
  113. package/lib/ChannelIcon/ChannelIcon.module.css +22 -22
  114. package/lib/Drawer/Drawer.module.css +40 -41
  115. package/lib/ExternalLink/ExternalLink.js +1 -1
  116. package/lib/FormAction/FormAction.module.css +20 -20
  117. package/lib/Hooks/Dragger/useDragger.js +2 -7
  118. package/lib/IconButton/IconButton.module.css +2 -2
  119. package/lib/Image/Image.module.css +0 -1
  120. package/lib/ImportantNotes/ImportantNotes.module.css +5 -5
  121. package/lib/Loader/Loader.module.css +0 -1
  122. package/lib/Message/Message.module.css +9 -9
  123. package/lib/MessageBanner/MessageBanner.module.css +7 -7
  124. package/lib/NewStar/NewStar.module.css +10 -18
  125. package/lib/Separator/Separator.module.css +6 -6
  126. package/lib/TagWithIcon/TagWithIcon.module.css +6 -6
  127. package/lib/ToastMessage/ToastMessage.js +2 -1
  128. package/lib/ToastMessage/ToastMessage.module.css +23 -23
  129. package/lib/Upload/Upload.module.css +15 -15
  130. package/lib/alert/AlertHeader/AlertHeader.module.css +12 -12
  131. package/lib/alert/AlertLookup/AlertLookup.js +1 -1
  132. package/lib/alert/AlertLookup/AlertLookup.module.css +6 -6
  133. package/lib/avatar/AvatarClose/AvatarClose.module.css +1 -1
  134. package/lib/avatar/AvatarCollision/AvatarCollision.module.css +7 -7
  135. package/lib/avatar/AvatarStatus/AvatarStatus.module.css +32 -32
  136. package/lib/avatar/AvatarThread/AvatarThread.module.css +24 -24
  137. package/lib/avatar/AvatarUser/AvatarUser.js +1 -1
  138. package/lib/avatar/AvatarUser/AvatarUser.module.css +40 -40
  139. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +4 -4
  140. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +11 -11
  141. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +13 -13
  142. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +11 -11
  143. package/lib/emptystate/EditionPage/EditionPage.css +13 -13
  144. package/lib/errorstate/EmptyStates.module.css +18 -18
  145. package/lib/errorstate/Inconvenience/Inconvenience.module.css +3 -3
  146. package/lib/errorstate/LinkText/LinkText.module.css +1 -1
  147. package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +1 -1
  148. package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +8 -8
  149. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +1 -1
  150. package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +1 -1
  151. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +1 -1
  152. package/lib/errorstate/WillBack/WillBack.module.css +10 -10
  153. package/lib/form/fields/CheckBoxField/CheckBoxField.js +1 -1
  154. package/lib/form/fields/CurrencyField/CurrencyField.js +1 -1
  155. package/lib/form/fields/DateField/DateField.js +1 -1
  156. package/lib/form/fields/FieldContainer/FieldContainer.js +1 -1
  157. package/lib/form/fields/Fields.module.css +26 -26
  158. package/lib/form/fields/MultiSelectField/MultiSelectField.js +1 -1
  159. package/lib/form/fields/PhoneField/PhoneField.js +1 -1
  160. package/lib/form/fields/RadioField/RadioField.js +1 -1
  161. package/lib/form/fields/SelectField/SelectField.js +1 -1
  162. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +13 -13
  163. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +1 -1
  164. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +3 -3
  165. package/lib/form/fields/TextBoxField/TextBoxField.js +1 -1
  166. package/lib/form/fields/TextEditor/TextEditor.js +13 -11
  167. package/lib/form/fields/TextEditor/TextEditor.module.css +77 -84
  168. package/lib/form/fields/TextEditorField/TextEditorField.js +1 -1
  169. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +1 -1
  170. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +2 -3
  171. package/lib/form/fields/TextareaField/TextareaField.js +1 -1
  172. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +3 -3
  173. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +31 -31
  174. package/lib/layout/SubtabLayout/SubtabLayout.module.css +32 -32
  175. package/lib/list/BluePrintStatus/BluePrintStatus.module.css +3 -3
  176. package/lib/list/Comment/Comment.module.css +4 -4
  177. package/lib/list/Dot/Dot.module.css +3 -3
  178. package/lib/list/DotNew/DotNew.module.css +4 -4
  179. package/lib/list/GridStencils/GridStencils.module.css +24 -24
  180. package/lib/list/Icons/AddNewIcon.js +3 -2
  181. package/lib/list/Icons/CompleteIcon.js +2 -2
  182. package/lib/list/Icons/DeleteIcon.js +4 -3
  183. package/lib/list/Icons/EditIcon.js +5 -3
  184. package/lib/list/Icons/Icons.module.css +2 -2
  185. package/lib/list/Icons/ReadUnreadIcon.js +5 -3
  186. package/lib/list/Icons/SmartIcon.js +5 -3
  187. package/lib/list/ListLayout/ListLayout.module.css +30 -14
  188. package/lib/list/ListStencils/ListStencils.js +1 -1
  189. package/lib/list/ListStencils/ListStencils.module.css +12 -12
  190. package/lib/list/SecondaryText/AccountName.js +1 -1
  191. package/lib/list/SecondaryText/Email.js +1 -1
  192. package/lib/list/SecondaryText/HappinessRating.js +1 -1
  193. package/lib/list/SecondaryText/PhoneNumber.js +1 -1
  194. package/lib/list/SecondaryText/SecondaryText.module.css +11 -11
  195. package/lib/list/SecondaryText/Website.js +1 -1
  196. package/lib/list/SecondryPanel/SecondryPanel.js +1 -1
  197. package/lib/list/SentimentStatus/SentimentStatus.module.css +3 -3
  198. package/lib/list/TagNew/TagNew.module.css +4 -4
  199. package/lib/list/Thread/Thread.module.css +7 -7
  200. package/lib/list/UserTime/UserTime.module.css +8 -8
  201. package/lib/list/listCommon.module.css +31 -9
  202. package/lib/list/status/StatusDropdown/StatusDropdown.js +9 -2
  203. package/lib/list/status/StatusDropdown/StatusDropdown.module.css +13 -13
  204. package/lib/list/status/StatusListItem/StatusListItem.js +1 -1
  205. package/lib/list/status/StatusListItem/StatusListItem.module.css +16 -16
  206. package/lib/lookup/EmptyPage/EmptyPage.js +1 -1
  207. package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +3 -3
  208. package/lib/lookup/Lookup/Lookup.js +1 -1
  209. package/lib/lookup/Lookup/Lookup.module.css +5 -5
  210. package/lib/lookup/Section/LookupSection.module.css +1 -1
  211. package/lib/lookup/header/Close/Close.js +1 -1
  212. package/lib/lookup/header/Close/LookupClose.module.css +3 -3
  213. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
  214. package/lib/lookup/header/Search/LookupSearch.module.css +14 -14
  215. package/lib/lookup/header/Search/Search.js +1 -1
  216. package/lib/lookup/header/TicketHeader/TicketHeader.js +1 -1
  217. package/lib/lookup/header/TicketHeader/TicketHeader.module.css +2 -2
  218. package/lib/lookup/header/Title/LookupTitle.module.css +1 -1
  219. package/lib/lookup/header/Title/Title.js +1 -1
  220. package/lib/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
  221. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +11 -11
  222. package/lib/lookup/header/lookupHeaderCommon.module.css +8 -8
  223. package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +3 -3
  224. package/lib/setup/header/Button/HeaderButton.module.css +2 -2
  225. package/lib/setup/header/Link/HeaderLink.module.css +5 -5
  226. package/lib/setup/header/Search/Search.module.css +8 -8
  227. package/lib/setup/header/Views/Views.module.css +4 -4
  228. package/lib/setup/helptips/Description/HelpTipsDescription.module.css +2 -2
  229. package/lib/setup/helptips/Link/HelpTipsLink.module.css +2 -2
  230. package/lib/setup/helptips/ListGroup/ListGroup.module.css +3 -3
  231. package/lib/setup/helptips/Title/HelpTipsTitle.module.css +1 -1
  232. package/lib/setup/table/TableData/SetupTableData.module.css +6 -6
  233. package/lib/setup/table/TableHead/SetupTableHead.module.css +5 -5
  234. package/lib/setup/table/TableRow/SetupTableRow.module.css +5 -5
  235. package/lib/setup/table/Text/TableText.module.css +2 -2
  236. package/lib/version2/AlertClose/AlertClose.js +1 -1
  237. package/lib/version2/AlertClose/AlertClose.module.css +2 -2
  238. package/lib/version2/GlobalNotification/GlobalNotification.module.css +13 -13
  239. package/lib/version2/errorstate/V2_ErrorStates.module.css +17 -17
  240. package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +13 -13
  241. package/lib/version2/lookup/AlertLookup/AlertLookup.js +1 -1
  242. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +6 -6
  243. package/lib/version2/lookup/alertLookupCommonNew.module.css +5 -5
  244. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +14 -14
  245. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +23 -23
  246. package/package.json +9 -23
@@ -27,7 +27,8 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
27
27
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
28
28
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
29
29
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
30
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
30
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /***** Libraries *****/ /***** Methods *****/ //import './ZohoDeskEditor_Init';
31
+ /***** components *****/
31
32
  /* eslint-disable camelcase */
32
33
  /* eslint-disable no-undef */
33
34
  /* eslint-disable react/no-deprecated */
@@ -215,16 +216,17 @@ var TextEditor = /*#__PURE__*/function (_Component) {
215
216
  if (!global.editor[id]) {
216
217
  global.editor[id] = editorObj;
217
218
  }
218
- var css = 'pre {white-space: pre-wrap}',
219
- head = editorObj.doc.head || editorObj.doc.getElementsByTagName('head')[0],
220
- style = document.createElement('style');
221
- style.type = 'text/css';
222
- if (style.styleSheet) {
223
- style.styleSheet.cssText = css;
224
- } else {
225
- style.appendChild(editorObj.doc.createTextNode(css));
226
- }
227
- head.appendChild(style);
219
+ // const css = 'blockquote {margin:0 0 0 4px; }',
220
+ // head = editorObj.doc.head || editorObj.doc.getElementsByTagName('head')[0],
221
+ // style = document.createElement('style');
222
+ // style.type = 'text/css';
223
+ // if (style.styleSheet) {
224
+ // style.styleSheet.cssText = css;
225
+ // } else {
226
+ // style.appendChild(editorObj.doc.createTextNode(css));
227
+ // }
228
+ // head.appendChild(style);
229
+
228
230
  editorCallback && editorCallback(editorObj);
229
231
  var iframe = (0, _selectn["default"])('iframe.contentDocument.body', editorObj) || null;
230
232
  var iframeHead = (0, _selectn["default"])('iframe.contentDocument.head', editorObj) || null;
@@ -3,18 +3,18 @@
3
3
  /* editor common css */
4
4
  .icon {
5
5
  position: relative;
6
- top: -1px;
6
+ top: calc(var(--zd_size1) * -1);
7
7
  display: inline-block;
8
8
  vertical-align: middle;
9
- width: 24px;
10
- height: 24px;
9
+ width: var(--zd_size24);
10
+ height: var(--zd_size24);
11
11
  color: inherit;
12
12
  fill: currentColor;
13
13
  }
14
14
 
15
15
  .small {
16
- width: 15px;
17
- height: 15px;
16
+ width: var(--zd_size15);
17
+ height: var(--zd_size15);
18
18
  }
19
19
 
20
20
  .threeDotIcon {
@@ -122,7 +122,7 @@
122
122
  }
123
123
 
124
124
  .large :global .KB_Editor {
125
- height: 270px;
125
+ height: var(--zd_size270);
126
126
  }
127
127
 
128
128
  .default :global .KB_Editor {
@@ -149,7 +149,7 @@
149
149
  }
150
150
 
151
151
  .large :global .KB_Editor_menus, .default :global .KB_Editor_menus {
152
- padding: 6px;
152
+ padding: var(--zd_size6);
153
153
  border-bottom: 0;
154
154
  }
155
155
 
@@ -192,24 +192,24 @@
192
192
 
193
193
  .large :global .KB_Editor_menus>ul>li>span>svg,
194
194
  .default :global .KB_Editor_menus>ul>li>span>svg {
195
- width: 28px;
196
- height: 28px;
195
+ width: var(--zd_size28);
196
+ height: var(--zd_size28);
197
197
  }
198
198
 
199
199
  .large :global .KB_Editor_menus>ul>li>span.KB_Editor_Bdr_div>svg,
200
200
  .default :global .KB_Editor_menus>ul>li>span.KB_Editor_Bdr_div>svg {
201
- width: 8px;
202
- height: 8px;
201
+ width: var(--zd_size8);
202
+ height: var(--zd_size8);
203
203
  }
204
204
 
205
205
  .large :global .KB_Editor_MultiTools .KBEditortools-Block-down-arrow svg,
206
206
  .default :global .KB_Editor_MultiTools .KBEditortools-Block-down-arrow svg {
207
- height: 10px;
208
- width: 17px;
207
+ height: var(--zd_size10);
208
+ width: var(--zd_size17);
209
209
  }
210
210
 
211
211
  .large :global .KB_Editor_MultiTools .KBEditortools-Block-down-arrow svg, .default :global .KB_Editor_MultiTools .KBEditortools-Block-down-arrow svg {
212
- padding: 7px 5px;
212
+ padding: var(--zd_size7) var(--zd_size5);
213
213
  }
214
214
 
215
215
  .large :global .KB_Editor_menus .KB_Editor_MultiTools .KB_Editor_Bdr_div,
@@ -224,13 +224,13 @@
224
224
  }
225
225
 
226
226
  .large :global .KB_Editor_menus .KB_Editor_MultiTools .KB_Editor_Bdr_div, .large :global .KB_Editor_MultiTools .KB_Editor_Bdr_div.Insert_Type, .large :global .KB_Editor_menus .KB_Editor_MultiTools .KB_Editor_PlainText, .large :global .KB_Editor_menus .KB_Editor_MultiTools .KB_Editor_Richtext, .default :global .KB_Editor_menus .KB_Editor_MultiTools .KB_Editor_Bdr_div, .default :global .KB_Editor_MultiTools .KB_Editor_Bdr_div.Insert_Type, .default :global .KB_Editor_menus .KB_Editor_MultiTools .KB_Editor_PlainText, .default :global .KB_Editor_menus .KB_Editor_MultiTools .KB_Editor_Richtext {
227
- padding: 3px 6px;
227
+ padding: var(--zd_size3) var(--zd_size6);
228
228
  }
229
229
 
230
230
  .large :global .KB_Editor_menus .ze_spell,
231
231
  .default :global .KB_Editor_menus .ze_spell {
232
232
  top: initial;
233
- bottom: -32px;
233
+ bottom: calc(var(--zd_size32) * -1);
234
234
  }
235
235
 
236
236
  [dir=ltr] .large :global .KB_Editor_menus .ze_spell, [dir=ltr] .default :global .KB_Editor_menus .ze_spell {
@@ -242,11 +242,11 @@
242
242
  }
243
243
 
244
244
  [dir=ltr] .large :global .KB_Editor_menus .KB_Editor_MultiTools>li, [dir=ltr] .default :global .KB_Editor_menus .KB_Editor_MultiTools>li {
245
- margin-right: 2px;
245
+ margin-right: var(--zd_size2);
246
246
  }
247
247
 
248
248
  [dir=rtl] .large :global .KB_Editor_menus .KB_Editor_MultiTools>li, [dir=rtl] .default :global .KB_Editor_menus .KB_Editor_MultiTools>li {
249
- margin-left: 2px;
249
+ margin-left: var(--zd_size2);
250
250
  }
251
251
 
252
252
  /* xlarge type editor - reply area, blue print cases - full height hover style */
@@ -280,7 +280,6 @@
280
280
  }
281
281
 
282
282
  .xlarge :global .KB_Editor_menus {
283
- /* Variable:Ignore */
284
283
  min-height: 37px;
285
284
  /* check point 1 */
286
285
  flex: 0 0 auto;
@@ -321,28 +320,27 @@
321
320
  }
322
321
 
323
322
  .xlarge :global .KB_Editor_menus .KB_Editor_MultiTools .KB_Editor_Bdr_div, .xlarge :global .KB_Editor_menus .KB_Editor_MultiTools .KB_Editor_PlainText, .xlarge :global .KB_Editor_menus .KB_Editor_MultiTools .KB_Editor_Richtext {
324
- padding: 6px;
323
+ padding: var(--zd_size6);
325
324
  }
326
325
 
327
326
  .xlarge :global .KB_Editor_menus>ul>li>span>svg {
328
- width: 22px;
329
- height: 22px;
327
+ width: var(--zd_size22);
328
+ height: var(--zd_size22);
330
329
  }
331
330
 
332
331
  .xlarge :global .KB_Editor_menus>ul>li>span.KB_Editor_Bdr_div>svg {
333
- width: 8px;
334
- height: 8px;
332
+ width: var(--zd_size8);
333
+ height: var(--zd_size8);
335
334
  }
336
335
 
337
336
  .xlarge :global .KB_Editor_MultiTools .KBEditortools-Block-down-arrow svg {
338
- height: 9px;
339
- width: 17px;
340
- padding: 7px 5px;
337
+ height: var(--zd_size9);
338
+ width: var(--zd_size17);
339
+ padding: var(--zd_size7) var(--zd_size5);
341
340
  }
342
341
 
343
342
  .xlarge :global .KB_Editor_menus .ze_spell {
344
343
  top: initial;
345
- /* Variable:Ignore */
346
344
  bottom: -32px;
347
345
  }
348
346
 
@@ -355,15 +353,15 @@
355
353
  }
356
354
 
357
355
  .xlarge :global .KB_Editor_menus>ul>li>span.SnippetIcon svg {
358
- width: 17px;
359
- height: 21px;
360
- padding: 0 7px;
356
+ width: var(--zd_size17);
357
+ height: var(--zd_size21);
358
+ padding: 0 var(--zd_size7);
361
359
  }
362
360
 
363
361
  .xlarge :global .KB_Editor_menus>ul>li>span.TemplateIcon svg {
364
- width: 16px;
365
- height: 16px;
366
- padding: 0 9px;
362
+ width: var(--zd_size16);
363
+ height: var(--zd_size16);
364
+ padding: 0 var(--zd_size9);
367
365
  }
368
366
 
369
367
  .xlarge :global .KB_Editor_menus .KB_Editor_MultiTools .SnippetIcon {
@@ -374,7 +372,7 @@
374
372
  content: '';
375
373
  position: absolute;
376
374
  height: 100%;
377
- width: 1px;
375
+ width: var(--zd_size1);
378
376
  top: 0;
379
377
  }
380
378
 
@@ -390,38 +388,38 @@
390
388
 
391
389
  .xlarge :global .KB_Editor_MultiTools li .Kbeditor_more_icon {
392
390
  top: initial;
393
- padding: 0 7px;
391
+ padding: 0 var(--zd_size7);
394
392
  }
395
393
 
396
394
  .xlarge :global .KB_Editor_MultiTools li .Kbeditor_more_icon>svg {
397
- width: 12px;
398
- height: 12px;
395
+ width: var(--zd_size12);
396
+ height: var(--zd_size12);
399
397
  }
400
398
 
401
399
  .xlarge :global .KB_Editor_menus>ul>li>span:not(.KB_Editor_Bdr_div):not(.KBEditortools-Block-down-arrow):not(.Kbeditor_more_icon):not(.SnippetIcon):not(.TemplateIcon):not(.KB_Editor_Richtext):not(.KB_Editor_PlainText) {
402
- height: 21px;
400
+ height: var(--zd_size21);
403
401
  }
404
402
 
405
403
  .xlarge :global .KB_Editor_menus>ul>li>span:not(.KB_Editor_Bdr_div):not(.KBEditortools-Block-down-arrow):not(.Kbeditor_more_icon):not(.SnippetIcon):not(.TemplateIcon)>svg {
406
- width: 21px;
407
- height: 21px;
408
- padding: 0 4px;
404
+ width: var(--zd_size21);
405
+ height: var(--zd_size21);
406
+ padding: 0 var(--zd_size4);
409
407
  }
410
408
 
411
409
  [dir=ltr] .xlarge :global .KB_Editor_menus .KB_Editor_MultiTools .KB_Editor_PlainText {
412
- padding: 8px 8px 7px 4px;
410
+ padding: var(--zd_size8) var(--zd_size8) var(--zd_size7) var(--zd_size4);
413
411
  }
414
412
 
415
413
  [dir=rtl] .xlarge :global .KB_Editor_menus .KB_Editor_MultiTools .KB_Editor_PlainText {
416
- padding: 8px 4px 7px 8px;
414
+ padding: var(--zd_size8) var(--zd_size4) var(--zd_size7) var(--zd_size8);
417
415
  }
418
416
 
419
417
  [dir=ltr] .xlarge :global .KB_Editor_menus .KB_Editor_MultiTools .KB_Editor_Richtext {
420
- padding: 8px 4px 7px 8px;
418
+ padding: var(--zd_size8) var(--zd_size4) var(--zd_size7) var(--zd_size8);
421
419
  }
422
420
 
423
421
  [dir=rtl] .xlarge :global .KB_Editor_menus .KB_Editor_MultiTools .KB_Editor_Richtext {
424
- padding: 8px 8px 7px 4px;
422
+ padding: var(--zd_size8) var(--zd_size8) var(--zd_size7) var(--zd_size4);
425
423
  }
426
424
 
427
425
  /* medium type editor - snippet, bug tracker cases */
@@ -473,7 +471,7 @@
473
471
  -webkit-box-align: center;
474
472
  -ms-flex-align: center;
475
473
  align-items: center;
476
- padding: 3px 1px;
474
+ padding: var(--zd_size3) var(--zd_size1);
477
475
  float: unset;
478
476
  }
479
477
 
@@ -482,27 +480,27 @@
482
480
  }
483
481
 
484
482
  .medium :global .KB_Editor_menus>ul>li>span>svg {
485
- width: 22px;
486
- height: 22px;
483
+ width: var(--zd_size22);
484
+ height: var(--zd_size22);
487
485
  }
488
486
 
489
487
  .medium :global .KB_Editor_menus>ul>li>span.KB_Editor_Bdr_div>svg {
490
- width: 8px;
491
- height: 8px;
488
+ width: var(--zd_size8);
489
+ height: var(--zd_size8);
492
490
  }
493
491
 
494
492
  [dir=ltr] .medium :global .KB_Editor_menus>ul>li>span.KB_Editor_Bdr_div>svg {
495
- padding: 0 0 0 2px;
493
+ padding: 0 0 0 var(--zd_size2);
496
494
  }
497
495
 
498
496
  [dir=rtl] .medium :global .KB_Editor_menus>ul>li>span.KB_Editor_Bdr_div>svg {
499
- padding: 0 2px 0 0;
497
+ padding: 0 var(--zd_size2) 0 0;
500
498
  }
501
499
 
502
500
  .medium :global .KB_Editor_MultiTools .KBEditortools-Block-down-arrow svg {
503
- height: 10px;
504
- width: 17px;
505
- padding: 7px 2px;
501
+ height: var(--zd_size10);
502
+ width: var(--zd_size17);
503
+ padding: var(--zd_size7) var(--zd_size2);
506
504
  }
507
505
 
508
506
  .medium :global .KB_Editor_MultiTools .KB_Editor_Bdr_div,
@@ -511,12 +509,12 @@
511
509
  }
512
510
 
513
511
  .medium :global .KB_Editor_MultiTools .KB_Editor_Bdr_div, .medium :global .KB_Editor_MultiTools .KB_Editor_Bdr_div.Insert_Type {
514
- padding: 7px;
512
+ padding: var(--zd_size7);
515
513
  }
516
514
 
517
515
  .medium :global .KB_Editor_menus .ze_spell {
518
516
  top: initial;
519
- bottom: -32px;
517
+ bottom: calc(var(--zd_size32) * -1);
520
518
  }
521
519
 
522
520
  [dir=ltr] .medium :global .KB_Editor_menus .ze_spell {
@@ -529,12 +527,12 @@
529
527
 
530
528
  .medium :global .KB_Editor_MultiTools li .Kbeditor_more_icon {
531
529
  top: initial;
532
- padding: 0 3px;
530
+ padding: 0 var(--zd_size3);
533
531
  }
534
532
 
535
533
  .medium :global .KB_Editor_MultiTools li .Kbeditor_more_icon>svg {
536
- width: 12px;
537
- height: 12px;
534
+ width: var(--zd_size12);
535
+ height: var(--zd_size12);
538
536
  }
539
537
 
540
538
  /* small, mini type - ticket detail view comment, feeds comment, blueprint comment */
@@ -548,9 +546,9 @@
548
546
 
549
547
  .small :global .KB_Editor_iframe,
550
548
  .mini :global .KB_Editor_iframe {
551
- max-height: 225px;
552
- min-height: 80px;
553
- height: 80px;
549
+ max-height: var(--zd_size225);
550
+ min-height: var(--zd_size80);
551
+ height: var(--zd_size80);
554
552
  }
555
553
 
556
554
  .small.borderNone :global .KB_Editor, .mini.borderNone :global .KB_Editor, .medium.borderNone :global .KB_Editor, .large.borderNone :global .KB_Editor, .xlarge.borderNone :global .KB_Editor, .default.borderNone :global .KB_Editor {
@@ -562,8 +560,8 @@
562
560
  bottom: 0;
563
561
  z-index: 1;
564
562
  min-height: auto;
565
- height: 40px;
566
- width: 406px;
563
+ height: var(--zd_size40);
564
+ width: var(--zd_size406);
567
565
  transition: opacity var(--zd_transition3);
568
566
  position: absolute;
569
567
  }
@@ -614,27 +612,27 @@
614
612
 
615
613
  .small :global .KB_Editor_menus>ul>li>span>svg,
616
614
  .mini :global .KB_Editor_menus>ul>li>span>svg {
617
- width: 25px;
618
- height: 25px;
615
+ width: var(--zd_size25);
616
+ height: var(--zd_size25);
619
617
  }
620
618
 
621
619
  .small :global .KB_Editor_menus>ul>li>span>svg, .mini :global .KB_Editor_menus>ul>li>span>svg {
622
- padding: 0 6px;
620
+ padding: 0 var(--zd_size6);
623
621
  }
624
622
 
625
623
  .mini :global .KB_Editor_menus:after {
626
624
  content: '';
627
625
  position: absolute;
628
- bottom: -5px;
629
- height: 10px;
630
- width: 10px;
626
+ bottom: calc(var(--zd_size5) * -1);
627
+ height: var(--zd_size10);
628
+ width: var(--zd_size10);
631
629
  z-index: -1;
632
630
  box-shadow: var(--zd_bs_texteditor_menu);
633
631
  background-color: var(--zdt_texteditor_menu_after_bg);
634
632
  }
635
633
 
636
634
  [dir=ltr] .mini :global .KB_Editor_menus:after {
637
- left: 95px;
635
+ left: var(--zd_size95);
638
636
  -webkit-transform: rotateZ(-45deg);
639
637
  -moz-transform: rotateZ(-45deg);
640
638
  -ms-transform: rotateZ(-45deg);
@@ -643,7 +641,7 @@
643
641
  }
644
642
 
645
643
  [dir=rtl] .mini :global .KB_Editor_menus:after {
646
- right: 95px;
644
+ right: var(--zd_size95);
647
645
  -webkit-transform: rotateZ(45deg);
648
646
  -moz-transform: rotateZ(45deg);
649
647
  -ms-transform: rotateZ(45deg);
@@ -661,15 +659,15 @@
661
659
 
662
660
  /* mini type - tdv left area comment */
663
661
  .mini :global .KB_Editor_menus {
664
- width: 205px;
662
+ width: var(--zd_size205);
665
663
  }
666
664
 
667
665
  [dir=ltr] .mini :global .KB_Editor_menus:after {
668
- left: 55px;
666
+ left: var(--zd_size55);
669
667
  }
670
668
 
671
669
  [dir=rtl] .mini :global .KB_Editor_menus:after {
672
- right: 55px;
670
+ right: var(--zd_size55);
673
671
  }
674
672
 
675
673
  :global .KB_Editor_UploadImage.hide,
@@ -683,13 +681,9 @@
683
681
  }
684
682
 
685
683
  .textEditor :global .KB_Editor_menus ul .KBEditortools-quote svg {
686
- /* Variable:Ignore */
687
684
  width: 15px;
688
- /* Variable:Ignore */
689
685
  height: 15px;
690
- /* Variable:Ignore */
691
686
  top: -5px;
692
- /* Variable:Ignore */
693
687
  }
694
688
 
695
689
  [dir=ltr] .textEditor :global .KB_Editor_menus ul .KBEditortools-quote svg {
@@ -705,7 +699,6 @@
705
699
  }
706
700
 
707
701
  .textEditor :global .KB_Editor_common_DropDown ul {
708
- /* Variable:Ignore */
709
702
  max-height: 210px;
710
703
  overflow: auto;
711
704
  box-shadow: var(--zd_bs_texteditor_ul);
@@ -718,8 +711,8 @@
718
711
 
719
712
  :global .KB_Editor textarea.ze_area {
720
713
  font-family: var(--zd_regular) !important;
721
- font-size: 14px !important;
722
- padding: 15px 20px !important;
714
+ font-size: var(--zd_size14) !important;
715
+ padding: var(--zd_size15) var(--zd_size20) !important;
723
716
  }
724
717
 
725
718
  .textEditor :global .KB_Editor li[editor-command='styletext'] {
@@ -28,7 +28,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
28
28
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
29
29
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
30
30
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
31
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
31
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Components ****/ /** Css */
32
32
  var TextEditorField = /*#__PURE__*/function (_PureComponent) {
33
33
  _inherits(TextEditorField, _PureComponent);
34
34
  var _super = _createSuper(TextEditorField);
@@ -28,7 +28,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
28
28
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
29
29
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
30
30
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
31
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
31
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Components ****/
32
32
  /* eslint-disable react/no-deprecated */
33
33
  var TextEditorWrapper = /*#__PURE__*/function (_Component) {
34
34
  _inherits(TextEditorWrapper, _Component);
@@ -1,9 +1,9 @@
1
1
  .container{
2
2
  position: relative;
3
- min-height: 28px;
3
+ min-height: var(--zd_size28);
4
4
  }
5
5
  .textBox {
6
- height: 28px;
6
+ height: var(--zd_size28);
7
7
  width: 100%;
8
8
  position: absolute;
9
9
  transition: border var(--zd_transition2) linear 0s;
@@ -20,7 +20,6 @@
20
20
  .textEditor {
21
21
  position: relative;
22
22
  z-index: 1;
23
- /* Variable:Ignore */
24
23
  }
25
24
  [dir=ltr] .textEditor {
26
25
  padding-right: 1px;
@@ -29,7 +29,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
29
29
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
30
30
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
31
31
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
32
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
32
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Components ****/ /**** CSS ****/
33
33
  var TextareaField = /*#__PURE__*/function (_PureComponent) {
34
34
  _inherits(TextareaField, _PureComponent);
35
35
  var _super = _createSuper(TextareaField);
@@ -7,13 +7,13 @@
7
7
  .icon{
8
8
  color:var(--label_text_color);
9
9
  display: inline-block;
10
- margin: 0 5px;
10
+ margin: 0 var(--zd_size5);
11
11
  }
12
12
  .primary {
13
13
  position: absolute;
14
14
  top: 100%;
15
15
  composes:basic;
16
- margin-top: 5px;
16
+ margin-top: var(--zd_size5);
17
17
  }
18
18
  [dir=ltr] .primary {
19
19
  left: 0;
@@ -23,5 +23,5 @@
23
23
  }
24
24
  .secondary {
25
25
  composes:basic;
26
- margin-top: 5px;
26
+ margin-top: var(--zd_size5);
27
27
  }