@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
@@ -1,12 +1,12 @@
1
1
  .container {
2
2
  border-bottom: 1px solid var(--zdt_setuptablehead_border);
3
3
  }[dir=ltr] .container {
4
- padding-right: 40px;
5
- padding-left: 40px;
4
+ padding-right: var(--zd_size40);
5
+ padding-left: var(--zd_size40);
6
6
  }[dir=rtl] .container {
7
- padding-left: 40px;
8
- padding-right: 40px;
7
+ padding-left: var(--zd_size40);
8
+ padding-right: var(--zd_size40);
9
9
  }
10
10
  .subContainer {
11
- height: 40px;
11
+ height: var(--zd_size40);
12
12
  }
@@ -1,13 +1,13 @@
1
1
  .container {
2
2
  position: relative;
3
- height: 52px;
3
+ height: var(--zd_size52);
4
4
  border-bottom: 1px solid var(--zdt_setuptablerow_border);
5
5
  }[dir=ltr] .container {
6
- margin-right: 40px;
7
- margin-left: 40px;
6
+ margin-right: var(--zd_size40);
7
+ margin-left: var(--zd_size40);
8
8
  }[dir=rtl] .container {
9
- margin-left: 40px;
10
- margin-right: 40px;
9
+ margin-left: var(--zd_size40);
10
+ margin-right: var(--zd_size40);
11
11
  }
12
12
  .container:hover {
13
13
  background-color: var( --zdt_setuptablerow_hover_bg);
@@ -17,12 +17,12 @@
17
17
  color: var(--zdt_tabletext_danger_text);
18
18
  }
19
19
  .small {
20
- font-size: 13px;
20
+ font-size: var(--zd_font_size13);
21
21
  max-width: 100%;
22
22
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
23
23
  }
24
24
  .medium {
25
- font-size: 14px;
25
+ font-size: var(--zd_font_size14);
26
26
  max-width: 100%;
27
27
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
28
28
  }
@@ -24,7 +24,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
24
24
  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); }
25
25
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
26
26
  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; } }
27
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
27
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /*** Libraries ***/
28
28
  var AlertClose = /*#__PURE__*/function (_PureComponent) {
29
29
  _inherits(AlertClose, _PureComponent);
30
30
  var _super = _createSuper(AlertClose);
@@ -1,6 +1,6 @@
1
1
  .close {
2
- width: 25px;
3
- height: 25px;
2
+ width: var(--zd_size25);
3
+ height: var(--zd_size25);
4
4
  color: var(--zdt_commonalert_close_icon);
5
5
  border-radius: var(--zd_size4);
6
6
  cursor: pointer;
@@ -30,7 +30,7 @@
30
30
  position: relative;
31
31
  pointer-events: initial;
32
32
  color: var(--globalnotification_text_color);
33
- max-width: 490px;
33
+ max-width: var(--zd_size490);
34
34
  composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
35
35
  box-shadow: var(--zd_bs_globalnotification_container);
36
36
  border-radius: 0 0 var(--zd_size10) var(--zd_size10);
@@ -41,16 +41,16 @@
41
41
  }
42
42
 
43
43
  [dir=ltr] .container {
44
- padding: 18px 70px 19px 75px;
44
+ padding: var(--zd_size18) var(--zd_size70) var(--zd_size19) var(--zd_size75);
45
45
  }
46
46
 
47
47
  [dir=rtl] .container {
48
- padding: 18px 75px 19px 70px;
48
+ padding: var(--zd_size18) var(--zd_size75) var(--zd_size19) var(--zd_size70);
49
49
  }
50
50
 
51
51
  .icon {
52
- width: 44px;
53
- height: 44px;
52
+ width: var(--zd_size44);
53
+ height: var(--zd_size44);
54
54
  position: absolute;
55
55
  top: 0;
56
56
  bottom: 0;
@@ -58,11 +58,11 @@
58
58
  }
59
59
 
60
60
  [dir=ltr] .icon {
61
- left: 18px;
61
+ left: var(--zd_size18);
62
62
  }
63
63
 
64
64
  [dir=rtl] .icon {
65
- right: 18px;
65
+ right: var(--zd_size18);
66
66
  }
67
67
 
68
68
  .success {
@@ -96,7 +96,7 @@
96
96
  }
97
97
 
98
98
  .text {
99
- font-size: 14px;
99
+ font-size: var(--zd_font_size14);
100
100
  font-family: var(--zd_semibold);
101
101
  composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
102
102
  line-height: var(--zd_size20);
@@ -114,15 +114,15 @@
114
114
  position: absolute;
115
115
  top: 0;
116
116
  bottom: 0;
117
- height: 25px;
117
+ height: var(--zd_size25);
118
118
  }
119
119
 
120
120
  [dir=ltr] .close {
121
- right: 12px;
122
- margin: auto 0 auto 25px;
121
+ right: var(--zd_size12);
122
+ margin: auto 0 auto var(--zd_size25);
123
123
  }
124
124
 
125
125
  [dir=rtl] .close {
126
- left: 12px;
127
- margin: auto 25px auto 0;
126
+ left: var(--zd_size12);
127
+ margin: auto var(--zd_size25) auto 0;
128
128
  }
@@ -1,8 +1,8 @@
1
1
  .container {
2
- padding-bottom: 30px;
2
+ padding-bottom: var(--zd_size30);
3
3
  }
4
4
  .errorBtn {
5
- margin-top: 15px;
5
+ margin-top: var(--zd_size15);
6
6
  }
7
7
  .title {
8
8
  font-family: var(--zd_bold);
@@ -11,36 +11,36 @@
11
11
  line-height: var(--zd_size22);
12
12
  }
13
13
  .large .errorState {
14
- width: 450px;
15
- margin-top: 40px;
14
+ width: var(--zd_size450);
15
+ margin-top: var(--zd_size40);
16
16
  }
17
17
  .large .errorSvg {
18
- width: 350px;
19
- height: 350px;
18
+ width: var(--zd_size350);
19
+ height: var(--zd_size350);
20
20
  }
21
21
  .medium .errorState {
22
- width: 350px;
23
- margin-top: 30px;
22
+ width: var(--zd_size350);
23
+ margin-top: var(--zd_size30);
24
24
  }
25
25
  .medium .errorSvg {
26
- width: 250px;
27
- height: 250px;
26
+ width: var(--zd_size250);
27
+ height: var(--zd_size250);
28
28
  }
29
29
  .medium .title {
30
- font-size: 18px;
30
+ font-size: var(--zd_font_size18);
31
31
  }
32
32
  .medium .desc,
33
33
  .small .desc {
34
- font-size: 13px
34
+ font-size: var(--zd_font_size13)
35
35
  }
36
36
  .small .errorState {
37
- width: 230px;
38
- margin-top: 20px;
37
+ width: var(--zd_size230);
38
+ margin-top: var(--zd_size20);
39
39
  }
40
40
  .small .errorSvg {
41
- width: 220px;
42
- height: 220px;
41
+ width: var(--zd_size220);
42
+ height: var(--zd_size220);
43
43
  }
44
44
  .small .title {
45
- font-size: 16px;
45
+ font-size: var(--zd_font_size16);
46
46
  }
@@ -10,13 +10,13 @@
10
10
  border-width: 2px 0 0 0;
11
11
  }
12
12
  .headerLayout {
13
- min-height: 54px;
13
+ min-height: var(--zd_size54);
14
14
  }
15
15
  [dir=ltr] .headerLayout {
16
- padding: 15px 45px 0 20px;
16
+ padding: var(--zd_size15) var(--zd_size45) 0 var(--zd_size20);
17
17
  }
18
18
  [dir=rtl] .headerLayout {
19
- padding: 15px 20px 0 45px;
19
+ padding: var(--zd_size15) var(--zd_size20) 0 var(--zd_size45);
20
20
  }
21
21
 
22
22
  .success {
@@ -40,21 +40,21 @@
40
40
  }
41
41
 
42
42
  [dir=ltr] .extraSmall {
43
- padding: 12px 45px 12px 16px;
43
+ padding: var(--zd_size12) var(--zd_size45) var(--zd_size12) var(--zd_size16);
44
44
  }
45
45
 
46
46
  [dir=rtl] .extraSmall {
47
- padding: 12px 16px 12px 45px;
47
+ padding: var(--zd_size12) var(--zd_size16) var(--zd_size12) var(--zd_size45);
48
48
  }
49
49
 
50
50
  .iconContainer {
51
- height: 51px;
52
- width: 51px;
51
+ height: var(--zd_size51);
52
+ width: var(--zd_size51);
53
53
  }
54
54
 
55
55
  .title {
56
56
  color: var(--zdt_alertlookupnew_text);
57
- font-size: 18px;
57
+ font-size: var(--zd_font_size18);
58
58
  line-height: var(--zd_size22);
59
59
  font-family: var(--zd_bold);
60
60
  composes: ftsmooth wbreak from '~@zohodesk/components/lib/common/common.module.css';
@@ -63,11 +63,11 @@
63
63
  }
64
64
 
65
65
  [dir=ltr] .title {
66
- margin: 0 5px 0 10px;
66
+ margin: 0 var(--zd_size5) 0 var(--zd_size10);
67
67
  }
68
68
 
69
69
  [dir=rtl] .title {
70
- margin: 0 10px 0 5px;
70
+ margin: 0 var(--zd_size10) 0 var(--zd_size5);
71
71
  }
72
72
 
73
73
  .iconStyle {
@@ -76,13 +76,13 @@
76
76
 
77
77
  .close {
78
78
  position: absolute;
79
- top: 12px;
79
+ top: var(--zd_size12);
80
80
  }
81
81
 
82
82
  [dir=ltr] .close {
83
- right: 12px;
83
+ right: var(--zd_size12);
84
84
  }
85
85
 
86
86
  [dir=rtl] .close {
87
- left: 12px;
87
+ left: var(--zd_size12);
88
88
  }
@@ -31,7 +31,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
31
31
  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); }
32
32
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
33
33
  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; } }
34
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
34
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Components ****/ /**** CSS ****/
35
35
  var buttonPaletteObject = {
36
36
  success: {
37
37
  buttonPalette: 'successFilled'
@@ -4,26 +4,26 @@
4
4
 
5
5
  .innerSection {
6
6
  color: var(--zdt_alertlookupnew_text);
7
- font-size: 14px;
7
+ font-size: var(--zd_font_size14);
8
8
  line-height: var(--zd_size18);
9
9
  composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
10
- padding: 17px 30px 30px;
10
+ padding: var(--zd_size17) var(--zd_size30) var(--zd_size30);
11
11
  }
12
12
 
13
13
  [dir=ltr] .buttonGap {
14
- margin: 0 0 0 12px;
14
+ margin: 0 0 0 var(--zd_size12);
15
15
  }
16
16
 
17
17
  [dir=rtl] .buttonGap {
18
- margin: 0 12px 0 0;
18
+ margin: 0 var(--zd_size12) 0 0;
19
19
  }
20
20
 
21
21
  .confirmMsgText {
22
- margin-top: 20px;
22
+ margin-top: var(--zd_size20);
23
23
  }
24
24
 
25
25
  .extraSmall .innerSection {
26
- padding: 30px 16px 46px;
26
+ padding: var(--zd_size30) var(--zd_size16) var(--zd_size46);
27
27
  }
28
28
 
29
29
  .footer {
@@ -1,7 +1,7 @@
1
1
  /* Notes */
2
2
 
3
3
  .noteContainer {
4
- padding: 4px 30px 0;
4
+ padding: var(--zd_size4) var(--zd_size30) 0;
5
5
  }
6
6
 
7
7
  [dir=ltr] .noteContainer {
@@ -13,21 +13,21 @@
13
13
  }
14
14
 
15
15
  .noteTitle {
16
- font-size: 13px;
16
+ font-size: var(--zd_font_size13);
17
17
  font-family: var(--zd_semibold);
18
18
  composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
19
19
  }
20
20
 
21
21
  .noteUl {
22
- padding: 14px 16px 0;
22
+ padding: var(--zd_size14) var(--zd_size16) 0;
23
23
  margin: 0;
24
24
  }
25
25
 
26
26
  .noteUl li {
27
- font-size: 12px;
27
+ font-size: var(--zd_font_size12);
28
28
  /* line-height: var(--zd_size14); */
29
29
  color: var(--zdt_alertlookuop_text);
30
30
  list-style-type: disc;
31
31
  line-height: initial;
32
- margin-bottom: 15px;
32
+ margin-bottom: var(--zd_size15);
33
33
  }
@@ -1,6 +1,6 @@
1
1
  .parentElement {
2
2
  position: relative;
3
- margin-bottom: 7px;
3
+ margin-bottom: var(--zd_size7);
4
4
  }
5
5
 
6
6
  .container {
@@ -23,17 +23,17 @@
23
23
  }
24
24
 
25
25
  .globalNotify {
26
- max-width: 490px;
27
- min-width: 394px;
26
+ max-width: var(--zd_size490);
27
+ min-width: var(--zd_size394);
28
28
  }
29
29
 
30
30
  /* Size */
31
31
  .medium {
32
- width: 452px;
32
+ width: var(--zd_size452);
33
33
  }
34
34
 
35
35
  .large {
36
- width: 580px;
36
+ width: var(--zd_size580);
37
37
  }
38
38
 
39
39
  /* Animation Style */
@@ -77,18 +77,18 @@
77
77
  .message {
78
78
  position: relative;
79
79
  color: var(--zd_smoke18);
80
- font-size: 11px;
80
+ font-size: var(--zd_font_size11);
81
81
  composes: dotted textCap from '~@zohodesk/components/lib/common/common.module.css';
82
- height: 33px;
82
+ height: var(--zd_size33);
83
83
  transition: padding var(--zd_transition3), height var(--zd_transition3);
84
84
  border-top: 1px solid var(--zd_smoke1);
85
85
  cursor: pointer;
86
86
  }
87
87
  [dir=ltr] .message {
88
- padding: 10px 20px 10px 76px;
88
+ padding: var(--zd_size10) var(--zd_size20) var(--zd_size10) var(--zd_size76);
89
89
  }
90
90
  [dir=rtl] .message {
91
- padding: 10px 76px 10px 20px;
91
+ padding: var(--zd_size10) var(--zd_size76) var(--zd_size10) var(--zd_size20);
92
92
  }
93
93
 
94
94
  .message:hover {
@@ -97,28 +97,28 @@
97
97
 
98
98
  /* Section */
99
99
  .section {
100
- padding: 15px 30px 30px;
100
+ padding: var(--zd_size15) var(--zd_size30) var(--zd_size30);
101
101
  }
102
102
 
103
103
  .subTitle {
104
- font-size: 15px;
104
+ font-size: var(--zd_font_size15);
105
105
  line-height: var(--zd_size20);
106
106
  font-family: var(--zd_semibold);
107
107
  composes: ftsmooth wbreak from '~@zohodesk/components/lib/common/common.module.css';
108
108
  }
109
109
 
110
110
  .subTitleMargin {
111
- margin-bottom: 17px;
111
+ margin-bottom: var(--zd_size17);
112
112
  }
113
113
 
114
114
  .infoText {
115
- font-size: 14px;
115
+ font-size: var(--zd_font_size14);
116
116
  line-height: var(--zd_size18);
117
117
  composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
118
118
  }
119
119
 
120
120
  .secondaryInfo {
121
- margin-top: 20px;
121
+ margin-top: var(--zd_size20);
122
122
  }
123
123
 
124
124
  .footer {
@@ -3,7 +3,7 @@
3
3
  }
4
4
  .container {
5
5
  composes: varClass;
6
- min-height: 54px;
6
+ min-height: var(--zd_size54);
7
7
  position: relative;
8
8
  color: var(--zdt_desktopnotification_text);
9
9
  background-color: var(--alert_lookup_bg_color);
@@ -13,22 +13,22 @@
13
13
  }
14
14
 
15
15
  .title {
16
- font-size: 18px;
16
+ font-size: var(--zd_font_size18);
17
17
  line-height: var(--zd_size22);
18
18
  font-family: var(--zd_bold);
19
19
  composes: ftsmooth wbreak from '~@zohodesk/components/lib/common/common.module.css';
20
20
  }
21
21
 
22
22
  [dir=ltr] .title {
23
- margin: 0 5px 0 10px;
23
+ margin: 0 var(--zd_size5) 0 var(--zd_size10);
24
24
  }
25
25
 
26
26
  [dir=rtl] .title {
27
- margin: 0 10px 0 5px;
27
+ margin: 0 var(--zd_size10) 0 var(--zd_size5);
28
28
  }
29
29
 
30
30
  .infoText {
31
- font-size: 14px;
31
+ font-size: var(--zd_font_size14);
32
32
  max-width: 100%;
33
33
  composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
34
34
  }
@@ -58,15 +58,15 @@
58
58
 
59
59
  /* Primary Header */
60
60
  [dir=ltr] .primary {
61
- padding: 15px 45px 0 20px;
61
+ padding: var(--zd_size15) var(--zd_size45) 0 var(--zd_size20);
62
62
  }
63
63
  [dir=rtl] .primary {
64
- padding: 15px 20px 0 45px;
64
+ padding: var(--zd_size15) var(--zd_size20) 0 var(--zd_size45);
65
65
  }
66
66
 
67
67
  .primary .iconContainer {
68
- height: 51px;
69
- width: 51px;
68
+ height: var(--zd_size51);
69
+ width: var(--zd_size51);
70
70
  }
71
71
 
72
72
  .primary .infoText {
@@ -75,15 +75,15 @@
75
75
 
76
76
  .primary .close {
77
77
  position: absolute;
78
- top: 12px;
78
+ top: var(--zd_size12);
79
79
  }
80
80
 
81
81
  [dir=ltr] .primary .close {
82
- right: 12px;
82
+ right: var(--zd_size12);
83
83
  }
84
84
 
85
85
  [dir=rtl] .primary .close {
86
- left: 12px;
86
+ left: var(--zd_size12);
87
87
  }
88
88
 
89
89
  /* Secondary Header */
@@ -92,10 +92,10 @@
92
92
  border-radius: 0 0 var(--zd_size10) var(--zd_size10);
93
93
  }
94
94
  [dir=ltr] .secondary {
95
- padding: 18px 70px 19px 75px;
95
+ padding: var(--zd_size18) var(--zd_size70) var(--zd_size19) var(--zd_size75);
96
96
  }
97
97
  [dir=rtl] .secondary {
98
- padding: 18px 75px 19px 70px;
98
+ padding: var(--zd_size18) var(--zd_size75) var(--zd_size19) var(--zd_size70);
99
99
  }
100
100
 
101
101
  .secondary .infoText {
@@ -103,8 +103,8 @@
103
103
  }
104
104
 
105
105
  .secondary .iconContainer {
106
- height: 44px;
107
- width: 44px;
106
+ height: var(--zd_size44);
107
+ width: var(--zd_size44);
108
108
  position: absolute;
109
109
  top: 0;
110
110
  bottom: 0;
@@ -112,26 +112,26 @@
112
112
  }
113
113
 
114
114
  [dir=ltr] .secondary .iconContainer {
115
- left: 18px;
115
+ left: var(--zd_size18);
116
116
  }
117
117
 
118
118
  [dir=rtl] .secondary .iconContainer {
119
- right: 18px;
119
+ right: var(--zd_size18);
120
120
  }
121
121
 
122
122
  .secondary .close {
123
123
  position: absolute;
124
124
  top: 0;
125
125
  bottom: 0;
126
- height: 25px;
126
+ height: var(--zd_size25);
127
127
  }
128
128
 
129
129
  [dir=ltr] .secondary .close {
130
- right: 12px;
131
- margin: auto 0 auto 25px;
130
+ right: var(--zd_size12);
131
+ margin: auto 0 auto var(--zd_size25);
132
132
  }
133
133
 
134
134
  [dir=rtl] .secondary .close {
135
- left: 12px;
136
- margin: auto 25px auto 0;
135
+ left: var(--zd_size12);
136
+ margin: auto var(--zd_size25) auto 0;
137
137
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/dot",
3
- "version": "1.0.0-temp-150",
3
+ "version": "1.0.0-temp-151",
4
4
  "main": "lib/index",
5
5
  "module": "es/index.js",
6
6
  "private": false,
@@ -19,14 +19,13 @@
19
19
  "scripts": {
20
20
  "clean": "react-cli clean lib es coverage assets && mkdir assets",
21
21
  "dubCheck": "node ./node_modules/@zohodesk-private/node-plugins/es/dublication_css_file_finder node_modules/@zohodesk/components/lib node_modules/@zohodesk/icons/lib node_modules/@zohodesk/variables/lib",
22
- "build:lib": "react-cli build:component:cmjs",
22
+ "build": "react-cli build:component:cmjs",
23
+ "buildlocal": " react-cli build:component:cmjs && npm run rtl",
23
24
  "build:es": "react-cli build:library:es",
24
- "build": "npm run build:lib && npm run build:es",
25
- "build:local": " npm run build && npm run cssVariableConvert && npm run rtl ",
26
- "build:watch": "npm run build:variables && npm run build && npm run build:es --module:mode=dev -- -w",
25
+ "build:dev": "npm run build:variables && npm run build && npm run build:es --module:mode=dev -- -w",
27
26
  "rtl:watch": "react-cli rtl ./src ./es -w",
28
27
  "rtl": "react-cli rtl ./src ./lib && react-cli rtl ./src ./es",
29
- "prepare": "npm run init && npm run build && npm run cssVariableConvert && npm run rtl",
28
+ "prepare": "npm run init && npm run build && npm run build:es && npm run rtl",
30
29
  "init": "npm run clean && npm run build:variables",
31
30
  "build:variables": "node ./preprocess/index",
32
31
  "lint": "react-cli lint",
@@ -37,13 +36,10 @@
37
36
  "common_package_build": "cd ../common && npm run build && cd ../dot",
38
37
  "docs": "npm run dubCheck && react-cli docs",
39
38
  "postpublish": "react-cli postpublish",
40
- "download": "react-cli clean ./node_modules ./package-lock.json && npm install",
41
- "expublish": "npm publish --tag experimental-version",
42
- "cssVariableConvert": "react-cli variableConverter ./src ./lib && react-cli variableConverter ./src ./es",
43
- "variable:addignore": "node ./node_modules/@zohodesk-private/css-variable-migrator/es/variableIgnore.js ./src",
44
- "variable:convert": "node ./node_modules/@zohodesk-private/css-variable-migrator/es/pxParserPostcss.js ./src",
45
- "variable:check": "node ./node_modules/@zohodesk-private/css-variable-migrator/es/variableErrorCheck.js ./src ./node_modules/@zohodesk-private/css-variable-migrator/es/config/cssVariableReplacementOptions.json"
39
+ "download": "rm package-lock.json && rm -rf node_modules/ && npm install",
40
+ "expublish": "npm publish --tag experimental-version"
46
41
  },
42
+ "dependencies": {},
47
43
  "devDependencies": {
48
44
  "@zohodesk-private/node-plugins": "^1.0.0",
49
45
  "velocity-react": "1.4.3",
@@ -54,8 +50,7 @@
54
50
  "@zohodesk/svg": "1.0.0-beta.56",
55
51
  "@zohodesk/virtualizer": "1.0.3",
56
52
  "react-sortable-hoc": "^0.8.3",
57
- "@zohodesk/a11y": "1.3.7",
58
- "@zohodesk-private/css-variable-migrator": "^1.0.1"
53
+ "@zohodesk/a11y": "1.3.7"
59
54
  },
60
55
  "peerDependencies": {
61
56
  "velocity-react": "1.4.3",
@@ -85,15 +80,6 @@
85
80
  ]
86
81
  }
87
82
  },
88
- "app": {
89
- "cssVariableReplacementConfig": "./node_modules/@zohodesk-private/css-variable-migrator/es/config/cssVariableReplacementOptions.json",
90
- "patterns": {
91
- "cssVariableReplacement": [
92
- "src",
93
- "!node_modules"
94
- ]
95
- }
96
- },
97
83
  "docs": {
98
84
  "disableES5Transpile": true,
99
85
  "componentFolder": "./src",