@zohodesk/dot 1.4.2 → 1.4.3

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 (788) hide show
  1. package/.cli/PropLessFiles.html +1 -1
  2. package/.cli/propValidation_report.html +1 -1
  3. package/.cli/stringContains.js +1 -0
  4. package/README.md +7 -0
  5. package/coverage/ExternalLink/ExternalLink.js.html +1 -1
  6. package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
  7. package/coverage/ExternalLink/index.html +1 -1
  8. package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
  9. package/coverage/ExternalLink/props/index.html +1 -1
  10. package/coverage/ExternalLink/props/propTypes.js.html +1 -1
  11. package/coverage/IconButton/IconButton.js.html +1 -1
  12. package/coverage/IconButton/IconButton.module.css.html +1 -1
  13. package/coverage/IconButton/index.html +1 -1
  14. package/coverage/IconButton/props/defaultProps.js.html +1 -1
  15. package/coverage/IconButton/props/index.html +1 -1
  16. package/coverage/IconButton/props/propTypes.js.html +1 -1
  17. package/coverage/Image/Image.js.html +1 -1
  18. package/coverage/Image/Image.module.css.html +1 -1
  19. package/coverage/Image/index.html +1 -1
  20. package/coverage/Image/props/defaultProps.js.html +1 -1
  21. package/coverage/Image/props/index.html +1 -1
  22. package/coverage/Image/props/propTypes.js.html +1 -1
  23. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
  24. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
  25. package/coverage/avatar/AvatarWithTeam/index.html +1 -1
  26. package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
  27. package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
  28. package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
  29. package/coverage/coverage-final.json +16 -16
  30. package/coverage/coverage-summary.json +16 -16
  31. package/coverage/index.html +1 -1
  32. package/es/Attachment/Attachment.module.css +4 -2
  33. package/es/AttachmentViewer/AttachmentViewer.module.css +1 -1
  34. package/es/Drawer/Drawer.js +1 -1
  35. package/es/Hooks/Dragger/useDragger.js +2 -2
  36. package/es/ImportantNotes/ImportantNotes.module.css +6 -2
  37. package/es/ToastMessage/ToastMessage.module.css +3 -2
  38. package/es/Upload/Upload.module.css +1 -1
  39. package/es/alert/AlertLookup/AlertLookup.module.css +1 -1
  40. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +5 -2
  41. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +5 -2
  42. package/es/errorstate/EmptyStates.module.css +3 -3
  43. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +1 -1
  44. package/es/form/fields/Fields.module.css +1 -1
  45. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +4 -4
  46. package/es/list/listCommon.module.css +1 -0
  47. package/es/list/status/StatusListItem/StatusListItem.module.css +1 -1
  48. package/es/lookup/Lookup/Lookup.js +9 -2
  49. package/es/lookup/Lookup/Lookup.module.css +5 -0
  50. package/es/lookup/Lookup/props/defaultProps.js +2 -1
  51. package/es/lookup/Lookup/props/propTypes.js +2 -1
  52. package/es/lookup/Section/LookupSection.module.css +5 -4
  53. package/es/lookup/Section/Section.js +0 -1
  54. package/es/lookup/header/Close/LookupClose.module.css +1 -1
  55. package/es/lookup/header/ModuleHeader/ModuleHeader.js +73 -59
  56. package/es/lookup/header/ModuleHeader/props/defaultProps.js +7 -1
  57. package/es/lookup/header/ModuleHeader/props/propTypes.js +4 -1
  58. package/es/lookup/header/Title/LookupTitle.module.css +1 -0
  59. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +1 -1
  60. package/es/lookup/header/lookupHeaderCommon.module.css +6 -11
  61. package/es/setup/header/Search/Search.module.css +1 -1
  62. package/es/setup/header/Views/Views.module.css +1 -0
  63. package/es/setup/helptips/Description/HelpTipsDescription.module.css +1 -1
  64. package/es/v1/ActionButton/ActionButton.js +2 -2
  65. package/es/v1/ActionButton/props/defaultProps.js +17 -0
  66. package/es/v1/ActionButton/props/propTypes.js +33 -0
  67. package/es/v1/AlphabeticList/AlphabeticList.js +2 -2
  68. package/es/v1/AlphabeticList/props/defaultProps.js +12 -0
  69. package/es/v1/AlphabeticList/props/propTypes.js +23 -0
  70. package/es/v1/Attachment/Attachment.js +2 -2
  71. package/es/v1/Attachment/props/defaultProps.js +7 -0
  72. package/es/v1/Attachment/props/propTypes.js +17 -0
  73. package/es/v1/AttachmentViewer/AttachmentImage.js +2 -2
  74. package/es/v1/AttachmentViewer/AttachmentViewer.js +2 -2
  75. package/es/v1/AttachmentViewer/props/defaultProps.js +10 -0
  76. package/es/v1/AttachmentViewer/props/propTypes.js +31 -0
  77. package/es/v1/ChannelIcon/ChannelIcon.js +3 -3
  78. package/es/v1/ChannelIcon/props/defaultProps.js +7 -0
  79. package/es/v1/ChannelIcon/props/propTypes.js +25 -0
  80. package/es/v1/Drawer/Drawer.js +2 -2
  81. package/es/v1/Drawer/props/defaultProps.js +22 -0
  82. package/es/v1/Drawer/props/propTypes.js +52 -0
  83. package/es/v1/ExternalLink/ExternalLink.js +2 -2
  84. package/es/v1/ExternalLink/props/defaultProps.js +5 -0
  85. package/es/v1/ExternalLink/props/propTypes.js +12 -0
  86. package/es/v1/FlipCard/FlipCard.js +2 -2
  87. package/es/v1/FlipCard/props/defaultProps.js +5 -0
  88. package/es/v1/FlipCard/props/propTypes.js +37 -0
  89. package/es/v1/FormAction/FormAction.js +2 -2
  90. package/es/v1/FormAction/props/defaultProps.js +5 -0
  91. package/es/v1/FormAction/props/propTypes.js +8 -0
  92. package/es/v1/FreezeLayer/FreezeLayer.js +2 -2
  93. package/es/v1/FreezeLayer/props/defaultProps.js +9 -0
  94. package/es/v1/FreezeLayer/props/propTypes.js +19 -0
  95. package/es/v1/GlobalNotification/GlobalNotification.js +2 -2
  96. package/es/v1/GlobalNotification/props/defaultProps.js +4 -0
  97. package/es/v1/GlobalNotification/props/propTypes.js +32 -0
  98. package/es/v1/IconButton/IconButton.js +2 -2
  99. package/es/v1/IconButton/props/defaultProps.js +17 -0
  100. package/es/v1/IconButton/props/propTypes.js +33 -0
  101. package/es/v1/Image/Image.js +2 -2
  102. package/es/v1/Image/props/defaultProps.js +4 -0
  103. package/es/v1/Image/props/propTypes.js +13 -0
  104. package/es/v1/ImportantNotes/ImportantNotes.js +2 -2
  105. package/es/v1/ImportantNotes/props/defaultProps.js +6 -0
  106. package/es/v1/ImportantNotes/props/propTypes.js +10 -0
  107. package/es/v1/Link/Link.js +2 -2
  108. package/es/v1/Link/props/defaultProps.js +5 -0
  109. package/es/v1/Link/props/propTypes.js +18 -0
  110. package/es/v1/Message/Message.js +2 -2
  111. package/es/v1/Message/props/defaultProps.js +4 -0
  112. package/es/v1/Message/props/propTypes.js +20 -0
  113. package/es/v1/MessageBanner/MessageBanner.js +2 -2
  114. package/es/v1/MessageBanner/props/defaultProps.js +7 -0
  115. package/es/v1/MessageBanner/props/propTypes.js +13 -0
  116. package/es/v1/NewStar/NewStar.js +2 -2
  117. package/es/v1/NewStar/props/defaultProps.js +4 -0
  118. package/es/v1/NewStar/props/propTypes.js +6 -0
  119. package/es/v1/PlusIcon/PlusIcon.js +2 -2
  120. package/es/v1/PlusIcon/props/defaultProps.js +8 -0
  121. package/es/v1/PlusIcon/props/propTypes.js +11 -0
  122. package/es/v1/Provider/Config.js +20 -0
  123. package/es/v1/Separator/Separator.js +2 -2
  124. package/es/v1/Separator/props/defaultProps.js +12 -0
  125. package/es/v1/Separator/props/propTypes.js +11 -0
  126. package/es/v1/TagWithIcon/TagWithIcon.js +2 -2
  127. package/es/v1/TagWithIcon/props/defaultProps.js +8 -0
  128. package/es/v1/TagWithIcon/props/propTypes.js +13 -0
  129. package/es/v1/ToastMessage/ToastMessage.js +2 -2
  130. package/es/v1/ToastMessage/props/defaultProps.js +18 -0
  131. package/es/v1/ToastMessage/props/propTypes.js +40 -0
  132. package/es/v1/Upload/Upload.js +2 -2
  133. package/es/v1/Upload/props/defaultProps.js +7 -0
  134. package/es/v1/Upload/props/propTypes.js +17 -0
  135. package/es/v1/actions/AutoClose.js +2 -2
  136. package/es/v1/actions/props/defaultProps.js +3 -0
  137. package/es/v1/actions/props/propTypes.js +8 -0
  138. package/es/v1/alert/AlertClose/AlertClose.js +1 -1
  139. package/es/v1/alert/AlertClose/props/propTypes.js +8 -0
  140. package/es/v1/alert/AlertLookup/AlertLookup.js +2 -1
  141. package/es/v1/alert/alertIcons/AlarmAlertIcon.js +2 -2
  142. package/es/v1/alert/alertIcons/AlertIcons.js +2 -2
  143. package/es/v1/alert/alertIcons/DangerAlertIcon.js +2 -2
  144. package/es/v1/alert/alertIcons/ErrorAlertIcon.js +2 -2
  145. package/es/v1/alert/alertIcons/InfoAlertIcon.js +2 -2
  146. package/es/v1/alert/alertIcons/NotificationAlertIcon.js +2 -2
  147. package/es/v1/alert/alertIcons/SuccessAlertIcon.js +2 -2
  148. package/es/v1/alert/alertIcons/WarningAlertIcon.js +2 -2
  149. package/es/v1/alert/alertIcons/props/defaultProps.js +27 -0
  150. package/es/v1/alert/alertIcons/props/propTypes.js +34 -0
  151. package/es/v1/avatar/AvatarClose/AvatarClose.js +2 -2
  152. package/es/v1/avatar/AvatarClose/props/defaultProps.js +6 -0
  153. package/es/v1/avatar/AvatarClose/props/propTypes.js +14 -0
  154. package/es/v1/avatar/AvatarCollision/AvatarCollision.js +2 -2
  155. package/es/v1/avatar/AvatarCollision/props/defaultProps.js +8 -0
  156. package/es/v1/avatar/AvatarCollision/props/propTypes.js +17 -0
  157. package/es/v1/avatar/AvatarIcon/AvatarIcon.js +2 -2
  158. package/es/v1/avatar/AvatarIcon/props/defaultProps.js +14 -0
  159. package/es/v1/avatar/AvatarIcon/props/propTypes.js +20 -0
  160. package/es/v1/avatar/AvatarStatus/AvatarStatus.js +2 -2
  161. package/es/v1/avatar/AvatarStatus/props/defaultProps.js +12 -0
  162. package/es/v1/avatar/AvatarStatus/props/propTypes.js +26 -0
  163. package/es/v1/avatar/AvatarThread/AvatarThread.js +2 -2
  164. package/es/v1/avatar/AvatarThread/props/defaultProps.js +9 -0
  165. package/es/v1/avatar/AvatarThread/props/propTypes.js +30 -0
  166. package/es/v1/avatar/AvatarUser/AvatarUser.js +2 -2
  167. package/es/v1/avatar/AvatarUser/props/defaultProps.js +8 -0
  168. package/es/v1/avatar/AvatarUser/props/propTypes.js +35 -0
  169. package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
  170. package/es/v1/avatar/AvatarWithTeam/props/defaultProps.js +9 -0
  171. package/es/v1/avatar/AvatarWithTeam/props/propTypes.js +25 -0
  172. package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +2 -2
  173. package/es/v1/dropdown/ToggleDropDown/props/defaultProps.js +27 -0
  174. package/es/v1/dropdown/ToggleDropDown/props/propTypes.js +79 -0
  175. package/es/v1/emptystate/CommonEmptyState/CommonEmptyState.js +2 -2
  176. package/es/v1/emptystate/CommonEmptyState/props/defaultProps.js +10 -0
  177. package/es/v1/emptystate/CommonEmptyState/props/propTypes.js +21 -0
  178. package/es/v1/emptystate/EditionPage/EditionPage.js +2 -2
  179. package/es/v1/emptystate/EditionPage/props/defaultProps.js +5 -0
  180. package/es/v1/emptystate/EditionPage/props/propTypes.js +11 -0
  181. package/es/v1/errorstate/Inconvenience/Inconvenience.js +2 -2
  182. package/es/v1/errorstate/Inconvenience/props/defaultProps.js +8 -0
  183. package/es/v1/errorstate/Inconvenience/props/propTypes.js +16 -0
  184. package/es/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +2 -2
  185. package/es/v1/errorstate/OopsSomethingMiss/props/defaultProps.js +8 -0
  186. package/es/v1/errorstate/OopsSomethingMiss/props/propTypes.js +16 -0
  187. package/es/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +2 -2
  188. package/es/v1/errorstate/UnableToProcessRequest/props/defaultProps.js +8 -0
  189. package/es/v1/errorstate/UnableToProcessRequest/props/propTypes.js +16 -0
  190. package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +2 -2
  191. package/es/v1/errorstate/UnauthorizedLogin/props/defaultProps.js +9 -0
  192. package/es/v1/errorstate/UnauthorizedLogin/props/propTypes.js +17 -0
  193. package/es/v1/errorstate/UrlNotFound/UrlNotFound.js +2 -2
  194. package/es/v1/errorstate/UrlNotFound/props/defaultProps.js +8 -0
  195. package/es/v1/errorstate/UrlNotFound/props/propTypes.js +16 -0
  196. package/es/v1/errorstate/WillBeRightBack/WillBeRightBack.js +2 -2
  197. package/es/v1/errorstate/WillBeRightBack/props/defaultProps.js +8 -0
  198. package/es/v1/errorstate/WillBeRightBack/props/propTypes.js +16 -0
  199. package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +2 -2
  200. package/es/v1/form/fields/CheckBoxField/props/defaultProps.js +12 -0
  201. package/es/v1/form/fields/CheckBoxField/props/propTypes.js +27 -0
  202. package/es/v1/form/fields/CurrencyField/CurrencyField.js +2 -2
  203. package/es/v1/form/fields/CurrencyField/props/defaultProps.js +17 -0
  204. package/es/v1/form/fields/CurrencyField/props/propTypes.js +39 -0
  205. package/es/v1/form/fields/DateField/DateField.js +2 -2
  206. package/es/v1/form/fields/DateField/props/defaultProps.js +19 -0
  207. package/es/v1/form/fields/DateField/props/propTypes.js +39 -0
  208. package/es/v1/form/fields/FieldContainer/FieldContainer.js +2 -2
  209. package/es/v1/form/fields/FieldContainer/props/defaultProps.js +6 -0
  210. package/es/v1/form/fields/FieldContainer/props/propTypes.js +25 -0
  211. package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +2 -2
  212. package/es/v1/form/fields/MultiSelectField/props/defaultProps.js +17 -0
  213. package/es/v1/form/fields/MultiSelectField/props/propTypes.js +50 -0
  214. package/es/v1/form/fields/PhoneField/PhoneField.js +2 -2
  215. package/es/v1/form/fields/PhoneField/props/defaultProps.js +16 -0
  216. package/es/v1/form/fields/PhoneField/props/propTypes.js +47 -0
  217. package/es/v1/form/fields/RadioField/RadioField.js +2 -2
  218. package/es/v1/form/fields/RadioField/props/defaultProps.js +12 -0
  219. package/es/v1/form/fields/RadioField/props/propTypes.js +30 -0
  220. package/es/v1/form/fields/SelectField/SelectField.js +2 -2
  221. package/es/v1/form/fields/SelectField/props/defaultProps.js +18 -0
  222. package/es/v1/form/fields/SelectField/props/propTypes.js +50 -0
  223. package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -2
  224. package/es/v1/form/fields/TagsMultiSelect/props/defaultProps.js +11 -0
  225. package/es/v1/form/fields/TagsMultiSelect/props/propTypes.js +44 -0
  226. package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
  227. package/es/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +19 -0
  228. package/es/v1/form/fields/TagsMultiSelectField/props/propTypes.js +63 -0
  229. package/es/v1/form/fields/TextBoxField/TextBoxField.js +2 -2
  230. package/es/v1/form/fields/TextBoxField/props/defaultProps.js +17 -0
  231. package/es/v1/form/fields/TextBoxField/props/propTypes.js +44 -0
  232. package/es/v1/form/fields/TextEditor/TextEditor.js +2 -2
  233. package/es/v1/form/fields/TextEditor/props/defaultProps.js +13 -0
  234. package/es/v1/form/fields/TextEditor/props/propTypes.js +46 -0
  235. package/es/v1/form/fields/TextEditorField/TextEditorField.js +2 -2
  236. package/es/v1/form/fields/TextEditorField/props/defaultProps.js +15 -0
  237. package/es/v1/form/fields/TextEditorField/props/propTypes.js +59 -0
  238. package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +2 -2
  239. package/es/v1/form/fields/TextEditorWrapper/props/defaultProps.js +9 -0
  240. package/es/v1/form/fields/TextEditorWrapper/props/propTypes.js +40 -0
  241. package/es/v1/form/fields/TextareaField/TextareaField.js +2 -2
  242. package/es/v1/form/fields/TextareaField/props/defaultProps.js +15 -0
  243. package/es/v1/form/fields/TextareaField/props/propTypes.js +34 -0
  244. package/es/v1/form/fields/ValidationMessage/ValidationMessage.js +2 -2
  245. package/es/v1/form/fields/ValidationMessage/props/defaultProps.js +7 -0
  246. package/es/v1/form/fields/ValidationMessage/props/propTypes.js +16 -0
  247. package/es/v1/form/fields/props/FieldCommonDefaultProps.js +10 -0
  248. package/es/v1/form/fields/props/FieldCommonPropTypes.js +17 -0
  249. package/es/v1/form/layout/Field/Field.js +2 -2
  250. package/es/v1/form/layout/Field/props/defaultProps.js +4 -0
  251. package/es/v1/form/layout/Field/props/propTypes.js +10 -0
  252. package/es/v1/form/layout/Section/Section.js +1 -1
  253. package/es/v1/form/layout/Section/props/propTypes.js +11 -0
  254. package/es/v1/layout/SetupDetailLayout/SetupDetailLayout.js +2 -2
  255. package/es/v1/layout/SetupDetailLayout/props/defaultProps.js +20 -0
  256. package/es/v1/layout/SetupDetailLayout/props/propTypes.js +40 -0
  257. package/es/v1/layout/SubtabLayout/SubtabLayout.js +2 -2
  258. package/es/v1/layout/SubtabLayout/props/defaultProps.js +25 -0
  259. package/es/v1/layout/SubtabLayout/props/propTypes.js +40 -0
  260. package/es/v1/list/AvatarFlip/AvatarFlip.js +2 -2
  261. package/es/v1/list/AvatarFlip/props/defaultProps.js +6 -0
  262. package/es/v1/list/AvatarFlip/props/propTypes.js +29 -0
  263. package/es/v1/list/BluePrintStatus/BluePrintStatus.js +1 -1
  264. package/es/v1/list/BluePrintStatus/props/propTypes.js +4 -0
  265. package/es/v1/list/Comment/Comment.js +2 -2
  266. package/es/v1/list/Comment/props/defaultProps.js +4 -0
  267. package/es/v1/list/Comment/props/propTypes.js +7 -0
  268. package/es/v1/list/DepartmentDropDown/DepartmentDropDown.js +2 -2
  269. package/es/v1/list/DepartmentDropDown/props/defaultProps.js +7 -0
  270. package/es/v1/list/DepartmentDropDown/props/propTypes.js +24 -0
  271. package/es/v1/list/Dot/Dot.js +2 -2
  272. package/es/v1/list/Dot/props/defaultProps.js +4 -0
  273. package/es/v1/list/Dot/props/propTypes.js +5 -0
  274. package/es/v1/list/DotNew/DotNew.js +2 -2
  275. package/es/v1/list/DotNew/props/defaultProps.js +3 -0
  276. package/es/v1/list/DotNew/props/propTypes.js +6 -0
  277. package/es/v1/list/GridStencils/GridStencils.js +1 -1
  278. package/es/v1/list/GridStencils/props/propTypes.js +8 -0
  279. package/es/v1/list/Icons/AddNewIcon.js +1 -1
  280. package/es/v1/list/Icons/CompleteIcon.js +1 -1
  281. package/es/v1/list/Icons/DeleteIcon.js +1 -1
  282. package/es/v1/list/Icons/EditIcon.js +1 -1
  283. package/es/v1/list/Icons/FloatingIcons.js +2 -2
  284. package/es/v1/list/Icons/ReadUnreadIcon.js +2 -2
  285. package/es/v1/list/Icons/SmartIcon.js +1 -1
  286. package/es/v1/list/Icons/props/defaultProps.js +6 -0
  287. package/es/v1/list/Icons/props/propTypes.js +53 -0
  288. package/es/v1/list/ListLayout/ListLayout.js +2 -2
  289. package/es/v1/list/ListLayout/props/defaultProps.js +11 -0
  290. package/es/v1/list/ListLayout/props/propTypes.js +28 -0
  291. package/es/v1/list/ListStencils/ListStencils.js +2 -2
  292. package/es/v1/list/ListStencils/props/defaultProps.js +3 -0
  293. package/es/v1/list/ListStencils/props/propTypes.js +4 -0
  294. package/es/v1/list/SecondaryText/AccountName.js +2 -2
  295. package/es/v1/list/SecondaryText/ContactName.js +2 -2
  296. package/es/v1/list/SecondaryText/DepartmentText.js +1 -1
  297. package/es/v1/list/SecondaryText/Email.js +2 -2
  298. package/es/v1/list/SecondaryText/HappinessRating.js +1 -1
  299. package/es/v1/list/SecondaryText/PhoneNumber.js +2 -2
  300. package/es/v1/list/SecondaryText/PriorityText.js +2 -2
  301. package/es/v1/list/SecondaryText/SecondaryText.js +2 -2
  302. package/es/v1/list/SecondaryText/StatusText.js +2 -2
  303. package/es/v1/list/SecondaryText/TicketId.js +2 -2
  304. package/es/v1/list/SecondaryText/Website.js +2 -2
  305. package/es/v1/list/SecondaryText/props/defaultProps.js +44 -0
  306. package/es/v1/list/SecondaryText/props/propTypes.js +142 -0
  307. package/es/v1/list/SecondryPanel/SecondryPanel.js +2 -2
  308. package/es/v1/list/SecondryPanel/props/defaultProps.js +18 -0
  309. package/es/v1/list/SecondryPanel/props/propTypes.js +27 -0
  310. package/es/v1/list/SentimentStatus/SentimentStatus.js +1 -1
  311. package/es/v1/list/SentimentStatus/props/propTypes.js +5 -0
  312. package/es/v1/list/Subject/Subject.js +2 -2
  313. package/es/v1/list/Subject/props/defaultProps.js +7 -0
  314. package/es/v1/list/Subject/props/propTypes.js +19 -0
  315. package/es/v1/list/TagNew/TagNew.js +2 -2
  316. package/es/v1/list/TagNew/props/defaultProps.js +4 -0
  317. package/es/v1/list/TagNew/props/propTypes.js +8 -0
  318. package/es/v1/list/Thread/Thread.js +2 -2
  319. package/es/v1/list/Thread/props/defaultProps.js +4 -0
  320. package/es/v1/list/Thread/props/propTypes.js +8 -0
  321. package/es/v1/list/status/StatusDropdown/StatusDropdown.js +2 -2
  322. package/es/v1/list/status/StatusDropdown/props/defaultProps.js +19 -0
  323. package/es/v1/list/status/StatusDropdown/props/propTypes.js +54 -0
  324. package/es/v1/list/status/StatusListItem/StatusListItem.js +2 -2
  325. package/es/v1/list/status/StatusListItem/props/defaultProps.js +15 -0
  326. package/es/v1/list/status/StatusListItem/props/propTypes.js +29 -0
  327. package/es/v1/lookup/EmptyPage/EmptyPage.js +2 -2
  328. package/es/v1/lookup/EmptyPage/props/defaultProps.js +4 -0
  329. package/es/v1/lookup/EmptyPage/props/propTypes.js +5 -0
  330. package/es/v1/lookup/Lookup/Lookup.js +11 -4
  331. package/es/v1/lookup/Lookup/props/defaultProps.js +9 -0
  332. package/es/v1/lookup/Lookup/props/propTypes.js +23 -0
  333. package/es/v1/lookup/Section/Section.js +1 -2
  334. package/es/v1/lookup/Section/props/propTypes.js +6 -0
  335. package/es/v1/lookup/header/Close/Close.js +2 -2
  336. package/es/v1/lookup/header/Close/props/defaultProps.js +3 -0
  337. package/es/v1/lookup/header/Close/props/propTypes.js +6 -0
  338. package/es/v1/lookup/header/ModuleHeader/ModuleHeader.js +28 -14
  339. package/es/v1/lookup/header/ModuleHeader/props/defaultProps.js +9 -0
  340. package/es/v1/lookup/header/ModuleHeader/props/propTypes.js +20 -0
  341. package/es/v1/lookup/header/Search/Search.js +2 -2
  342. package/es/v1/lookup/header/Search/props/defaultProps.js +5 -0
  343. package/es/v1/lookup/header/Search/props/propTypes.js +28 -0
  344. package/es/v1/lookup/header/TicketHeader/TicketHeader.js +2 -2
  345. package/es/v1/lookup/header/TicketHeader/props/defaultProps.js +4 -0
  346. package/es/v1/lookup/header/TicketHeader/props/propTypes.js +20 -0
  347. package/es/v1/lookup/header/Title/Title.js +2 -2
  348. package/es/v1/lookup/header/Title/props/defaultProps.js +3 -0
  349. package/es/v1/lookup/header/Title/props/propTypes.js +6 -0
  350. package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +2 -2
  351. package/es/v1/lookup/header/ViewDropDown/props/defaultProps.js +7 -0
  352. package/es/v1/lookup/header/ViewDropDown/props/propTypes.js +22 -0
  353. package/es/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
  354. package/es/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
  355. package/es/v1/setup/header/Button/Button.js +2 -2
  356. package/es/v1/setup/header/Button/props/defaultProps.js +4 -0
  357. package/es/v1/setup/header/Button/props/propTypes.js +7 -0
  358. package/es/v1/setup/header/Link/Link.js +2 -2
  359. package/es/v1/setup/header/Link/props/defaultProps.js +4 -0
  360. package/es/v1/setup/header/Link/props/propTypes.js +8 -0
  361. package/es/v1/setup/header/Search/Search.js +2 -2
  362. package/es/v1/setup/header/Search/props/defaultProps.js +5 -0
  363. package/es/v1/setup/header/Search/props/propTypes.js +11 -0
  364. package/es/v1/setup/header/Views/Views.js +2 -2
  365. package/es/v1/setup/header/Views/props/defaultProps.js +6 -0
  366. package/es/v1/setup/header/Views/props/propTypes.js +9 -0
  367. package/es/v1/setup/helptips/Description/Description.js +1 -1
  368. package/es/v1/setup/helptips/Description/props/propTypes.js +4 -0
  369. package/es/v1/setup/helptips/Link/Link.js +1 -1
  370. package/es/v1/setup/helptips/Link/props/propTypes.js +7 -0
  371. package/es/v1/setup/helptips/ListGroup/ListGroup.js +1 -1
  372. package/es/v1/setup/helptips/ListGroup/props/propTypes.js +5 -0
  373. package/es/v1/setup/helptips/Title/Title.js +1 -1
  374. package/es/v1/setup/helptips/Title/props/propTypes.js +4 -0
  375. package/es/v1/setup/table/Table/Table.js +2 -2
  376. package/es/v1/setup/table/Table/props/defaultProps.js +4 -0
  377. package/es/v1/setup/table/Table/props/propTypes.js +6 -0
  378. package/es/v1/setup/table/TableBody/TableBody.js +2 -2
  379. package/es/v1/setup/table/TableBody/props/defaultProps.js +3 -0
  380. package/es/v1/setup/table/TableBody/props/propTypes.js +7 -0
  381. package/es/v1/setup/table/TableData/TableData.js +2 -2
  382. package/es/v1/setup/table/TableData/props/defaultProps.js +5 -0
  383. package/es/v1/setup/table/TableData/props/propTypes.js +11 -0
  384. package/es/v1/setup/table/TableHead/TableHead.js +2 -2
  385. package/es/v1/setup/table/TableHead/props/defaultProps.js +4 -0
  386. package/es/v1/setup/table/TableHead/props/propTypes.js +8 -0
  387. package/es/v1/setup/table/TableRow/TableRow.js +2 -2
  388. package/es/v1/setup/table/TableRow/props/defaultProps.js +4 -0
  389. package/es/v1/setup/table/TableRow/props/propTypes.js +11 -0
  390. package/es/v1/setup/table/Text/Text.js +2 -2
  391. package/es/v1/setup/table/Text/props/defaultProps.js +7 -0
  392. package/es/v1/setup/table/Text/props/propTypes.js +13 -0
  393. package/es/v1/svg/PlusIcon.js +2 -2
  394. package/es/v1/svg/SnippetIcon.js +2 -2
  395. package/es/v1/svg/TemplateIcon.js +2 -2
  396. package/es/v1/svg/props/defaultProps.js +15 -0
  397. package/es/v1/svg/props/propTypes.js +16 -0
  398. package/es/v1/utils/ChannelIconMapping.js +129 -0
  399. package/es/v1/utils/General.js +45 -0
  400. package/es/v1/utils/editorUtils.js +193 -0
  401. package/es/version2/GlobalNotification/GlobalNotification.module.css +1 -1
  402. package/es/version2/errorstate/V2_ErrorStates.module.css +1 -1
  403. package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +1 -1
  404. package/es/version2/lookup/AlertLookup/AlertLookup.js +2 -1
  405. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +1 -1
  406. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +2 -2
  407. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +1 -1
  408. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +2 -2
  409. package/lib/Attachment/Attachment.module.css +4 -2
  410. package/lib/AttachmentViewer/AttachmentViewer.module.css +1 -1
  411. package/lib/Drawer/Drawer.js +1 -1
  412. package/lib/Hooks/Dragger/useDragger.js +2 -2
  413. package/lib/ImportantNotes/ImportantNotes.module.css +6 -2
  414. package/lib/ToastMessage/ToastMessage.module.css +3 -2
  415. package/lib/Upload/Upload.module.css +1 -1
  416. package/lib/alert/AlertLookup/AlertLookup.module.css +1 -1
  417. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +5 -2
  418. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +5 -2
  419. package/lib/errorstate/EmptyStates.module.css +3 -3
  420. package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +1 -1
  421. package/lib/form/fields/Fields.module.css +1 -1
  422. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +4 -4
  423. package/lib/list/listCommon.module.css +1 -0
  424. package/lib/list/status/StatusListItem/StatusListItem.module.css +1 -1
  425. package/lib/lookup/Lookup/Lookup.js +9 -2
  426. package/lib/lookup/Lookup/Lookup.module.css +5 -0
  427. package/lib/lookup/Lookup/props/defaultProps.js +2 -1
  428. package/lib/lookup/Lookup/props/propTypes.js +2 -1
  429. package/lib/lookup/Section/LookupSection.module.css +5 -4
  430. package/lib/lookup/Section/Section.js +0 -1
  431. package/lib/lookup/header/Close/LookupClose.module.css +1 -1
  432. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +79 -94
  433. package/lib/lookup/header/ModuleHeader/props/defaultProps.js +7 -1
  434. package/lib/lookup/header/ModuleHeader/props/propTypes.js +4 -1
  435. package/lib/lookup/header/Title/LookupTitle.module.css +1 -0
  436. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +1 -1
  437. package/lib/lookup/header/lookupHeaderCommon.module.css +6 -11
  438. package/lib/setup/header/Search/Search.module.css +1 -1
  439. package/lib/setup/header/Views/Views.module.css +1 -0
  440. package/lib/setup/helptips/Description/HelpTipsDescription.module.css +1 -1
  441. package/lib/v1/ActionButton/ActionButton.js +2 -2
  442. package/lib/v1/ActionButton/props/defaultProps.js +24 -0
  443. package/lib/v1/ActionButton/props/propTypes.js +44 -0
  444. package/lib/v1/AlphabeticList/AlphabeticList.js +2 -2
  445. package/lib/v1/AlphabeticList/props/defaultProps.js +20 -0
  446. package/lib/v1/AlphabeticList/props/propTypes.js +50 -0
  447. package/lib/v1/Attachment/Attachment.js +2 -2
  448. package/lib/v1/Attachment/props/defaultProps.js +14 -0
  449. package/lib/v1/Attachment/props/propTypes.js +28 -0
  450. package/lib/v1/AttachmentViewer/AttachmentImage.js +2 -2
  451. package/lib/v1/AttachmentViewer/AttachmentViewer.js +2 -2
  452. package/lib/v1/AttachmentViewer/props/defaultProps.js +18 -0
  453. package/lib/v1/AttachmentViewer/props/propTypes.js +43 -0
  454. package/lib/v1/ChannelIcon/ChannelIcon.js +3 -3
  455. package/lib/v1/ChannelIcon/props/defaultProps.js +14 -0
  456. package/lib/v1/ChannelIcon/props/propTypes.js +36 -0
  457. package/lib/v1/Drawer/Drawer.js +2 -2
  458. package/lib/v1/Drawer/props/defaultProps.js +31 -0
  459. package/lib/v1/Drawer/props/propTypes.js +66 -0
  460. package/lib/v1/ExternalLink/ExternalLink.js +2 -2
  461. package/lib/v1/ExternalLink/props/defaultProps.js +12 -0
  462. package/lib/v1/ExternalLink/props/propTypes.js +23 -0
  463. package/lib/v1/FlipCard/FlipCard.js +2 -2
  464. package/lib/v1/FlipCard/props/defaultProps.js +12 -0
  465. package/lib/v1/FlipCard/props/propTypes.js +48 -0
  466. package/lib/v1/FormAction/FormAction.js +2 -2
  467. package/lib/v1/FormAction/props/defaultProps.js +12 -0
  468. package/lib/v1/FormAction/props/propTypes.js +19 -0
  469. package/lib/v1/FreezeLayer/FreezeLayer.js +2 -2
  470. package/lib/v1/FreezeLayer/props/defaultProps.js +16 -0
  471. package/lib/v1/FreezeLayer/props/propTypes.js +31 -0
  472. package/lib/v1/GlobalNotification/GlobalNotification.js +2 -2
  473. package/lib/v1/GlobalNotification/props/defaultProps.js +11 -0
  474. package/lib/v1/GlobalNotification/props/propTypes.js +45 -0
  475. package/lib/v1/IconButton/IconButton.js +2 -2
  476. package/lib/v1/IconButton/props/defaultProps.js +24 -0
  477. package/lib/v1/IconButton/props/propTypes.js +43 -0
  478. package/lib/v1/Image/Image.js +2 -2
  479. package/lib/v1/Image/props/defaultProps.js +11 -0
  480. package/lib/v1/Image/props/propTypes.js +24 -0
  481. package/lib/v1/ImportantNotes/ImportantNotes.js +2 -2
  482. package/lib/v1/ImportantNotes/props/defaultProps.js +13 -0
  483. package/lib/v1/ImportantNotes/props/propTypes.js +21 -0
  484. package/lib/v1/Link/Link.js +2 -2
  485. package/lib/v1/Link/props/defaultProps.js +12 -0
  486. package/lib/v1/Link/props/propTypes.js +29 -0
  487. package/lib/v1/Message/Message.js +2 -2
  488. package/lib/v1/Message/props/defaultProps.js +11 -0
  489. package/lib/v1/Message/props/propTypes.js +41 -0
  490. package/lib/v1/MessageBanner/MessageBanner.js +2 -2
  491. package/lib/v1/MessageBanner/props/defaultProps.js +14 -0
  492. package/lib/v1/MessageBanner/props/propTypes.js +24 -0
  493. package/lib/v1/NewStar/NewStar.js +2 -2
  494. package/lib/v1/NewStar/props/defaultProps.js +11 -0
  495. package/lib/v1/NewStar/props/propTypes.js +17 -0
  496. package/lib/v1/PlusIcon/PlusIcon.js +2 -2
  497. package/lib/v1/PlusIcon/props/defaultProps.js +15 -0
  498. package/lib/v1/PlusIcon/props/propTypes.js +22 -0
  499. package/lib/v1/Provider/Config.js +29 -0
  500. package/lib/v1/Separator/Separator.js +2 -2
  501. package/lib/v1/Separator/props/defaultProps.js +19 -0
  502. package/lib/v1/Separator/props/propTypes.js +22 -0
  503. package/lib/v1/TagWithIcon/TagWithIcon.js +2 -2
  504. package/lib/v1/TagWithIcon/props/defaultProps.js +15 -0
  505. package/lib/v1/TagWithIcon/props/propTypes.js +24 -0
  506. package/lib/v1/ToastMessage/ToastMessage.js +2 -2
  507. package/lib/v1/ToastMessage/props/defaultProps.js +25 -0
  508. package/lib/v1/ToastMessage/props/propTypes.js +51 -0
  509. package/lib/v1/Upload/Upload.js +2 -2
  510. package/lib/v1/Upload/props/defaultProps.js +14 -0
  511. package/lib/v1/Upload/props/propTypes.js +28 -0
  512. package/lib/v1/actions/AutoClose.js +2 -2
  513. package/lib/v1/actions/props/defaultProps.js +10 -0
  514. package/lib/v1/actions/props/propTypes.js +19 -0
  515. package/lib/v1/alert/AlertClose/AlertClose.js +1 -1
  516. package/lib/v1/alert/AlertClose/props/propTypes.js +19 -0
  517. package/lib/v1/alert/AlertLookup/AlertLookup.js +2 -1
  518. package/lib/v1/alert/alertIcons/AlarmAlertIcon.js +2 -2
  519. package/lib/v1/alert/alertIcons/AlertIcons.js +2 -2
  520. package/lib/v1/alert/alertIcons/DangerAlertIcon.js +2 -2
  521. package/lib/v1/alert/alertIcons/ErrorAlertIcon.js +2 -2
  522. package/lib/v1/alert/alertIcons/InfoAlertIcon.js +2 -2
  523. package/lib/v1/alert/alertIcons/NotificationAlertIcon.js +2 -2
  524. package/lib/v1/alert/alertIcons/SuccessAlertIcon.js +2 -2
  525. package/lib/v1/alert/alertIcons/WarningAlertIcon.js +2 -2
  526. package/lib/v1/alert/alertIcons/props/defaultProps.js +41 -0
  527. package/lib/v1/alert/alertIcons/props/propTypes.js +52 -0
  528. package/lib/v1/avatar/AvatarClose/AvatarClose.js +2 -2
  529. package/lib/v1/avatar/AvatarClose/props/defaultProps.js +13 -0
  530. package/lib/v1/avatar/AvatarClose/props/propTypes.js +25 -0
  531. package/lib/v1/avatar/AvatarCollision/AvatarCollision.js +2 -2
  532. package/lib/v1/avatar/AvatarCollision/props/defaultProps.js +15 -0
  533. package/lib/v1/avatar/AvatarCollision/props/propTypes.js +28 -0
  534. package/lib/v1/avatar/AvatarIcon/AvatarIcon.js +2 -2
  535. package/lib/v1/avatar/AvatarIcon/props/defaultProps.js +21 -0
  536. package/lib/v1/avatar/AvatarIcon/props/propTypes.js +31 -0
  537. package/lib/v1/avatar/AvatarStatus/AvatarStatus.js +2 -2
  538. package/lib/v1/avatar/AvatarStatus/props/defaultProps.js +19 -0
  539. package/lib/v1/avatar/AvatarStatus/props/propTypes.js +35 -0
  540. package/lib/v1/avatar/AvatarThread/AvatarThread.js +2 -2
  541. package/lib/v1/avatar/AvatarThread/props/defaultProps.js +16 -0
  542. package/lib/v1/avatar/AvatarThread/props/propTypes.js +41 -0
  543. package/lib/v1/avatar/AvatarUser/AvatarUser.js +2 -2
  544. package/lib/v1/avatar/AvatarUser/props/defaultProps.js +15 -0
  545. package/lib/v1/avatar/AvatarUser/props/propTypes.js +46 -0
  546. package/lib/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
  547. package/lib/v1/avatar/AvatarWithTeam/props/defaultProps.js +16 -0
  548. package/lib/v1/avatar/AvatarWithTeam/props/propTypes.js +36 -0
  549. package/lib/v1/dropdown/ToggleDropDown/ToggleDropDown.js +2 -2
  550. package/lib/v1/dropdown/ToggleDropDown/props/defaultProps.js +34 -0
  551. package/lib/v1/dropdown/ToggleDropDown/props/propTypes.js +90 -0
  552. package/lib/v1/emptystate/CommonEmptyState/CommonEmptyState.js +2 -2
  553. package/lib/v1/emptystate/CommonEmptyState/props/defaultProps.js +17 -0
  554. package/lib/v1/emptystate/CommonEmptyState/props/propTypes.js +32 -0
  555. package/lib/v1/emptystate/EditionPage/EditionPage.js +2 -2
  556. package/lib/v1/emptystate/EditionPage/props/defaultProps.js +12 -0
  557. package/lib/v1/emptystate/EditionPage/props/propTypes.js +22 -0
  558. package/lib/v1/errorstate/Inconvenience/Inconvenience.js +2 -2
  559. package/lib/v1/errorstate/Inconvenience/props/defaultProps.js +15 -0
  560. package/lib/v1/errorstate/Inconvenience/props/propTypes.js +27 -0
  561. package/lib/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +2 -2
  562. package/lib/v1/errorstate/OopsSomethingMiss/props/defaultProps.js +15 -0
  563. package/lib/v1/errorstate/OopsSomethingMiss/props/propTypes.js +27 -0
  564. package/lib/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +2 -2
  565. package/lib/v1/errorstate/UnableToProcessRequest/props/defaultProps.js +15 -0
  566. package/lib/v1/errorstate/UnableToProcessRequest/props/propTypes.js +27 -0
  567. package/lib/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +2 -2
  568. package/lib/v1/errorstate/UnauthorizedLogin/props/defaultProps.js +16 -0
  569. package/lib/v1/errorstate/UnauthorizedLogin/props/propTypes.js +28 -0
  570. package/lib/v1/errorstate/UrlNotFound/UrlNotFound.js +2 -2
  571. package/lib/v1/errorstate/UrlNotFound/props/defaultProps.js +15 -0
  572. package/lib/v1/errorstate/UrlNotFound/props/propTypes.js +27 -0
  573. package/lib/v1/errorstate/WillBeRightBack/WillBeRightBack.js +2 -2
  574. package/lib/v1/errorstate/WillBeRightBack/props/defaultProps.js +15 -0
  575. package/lib/v1/errorstate/WillBeRightBack/props/propTypes.js +27 -0
  576. package/lib/v1/form/fields/CheckBoxField/CheckBoxField.js +2 -2
  577. package/lib/v1/form/fields/CheckBoxField/props/defaultProps.js +27 -0
  578. package/lib/v1/form/fields/CheckBoxField/props/propTypes.js +45 -0
  579. package/lib/v1/form/fields/CurrencyField/CurrencyField.js +2 -2
  580. package/lib/v1/form/fields/CurrencyField/props/defaultProps.js +32 -0
  581. package/lib/v1/form/fields/CurrencyField/props/propTypes.js +57 -0
  582. package/lib/v1/form/fields/DateField/DateField.js +2 -2
  583. package/lib/v1/form/fields/DateField/props/defaultProps.js +34 -0
  584. package/lib/v1/form/fields/DateField/props/propTypes.js +57 -0
  585. package/lib/v1/form/fields/FieldContainer/FieldContainer.js +2 -2
  586. package/lib/v1/form/fields/FieldContainer/props/defaultProps.js +22 -0
  587. package/lib/v1/form/fields/FieldContainer/props/propTypes.js +35 -0
  588. package/lib/v1/form/fields/MultiSelectField/MultiSelectField.js +2 -2
  589. package/lib/v1/form/fields/MultiSelectField/props/defaultProps.js +32 -0
  590. package/lib/v1/form/fields/MultiSelectField/props/propTypes.js +68 -0
  591. package/lib/v1/form/fields/PhoneField/PhoneField.js +2 -2
  592. package/lib/v1/form/fields/PhoneField/props/defaultProps.js +23 -0
  593. package/lib/v1/form/fields/PhoneField/props/propTypes.js +58 -0
  594. package/lib/v1/form/fields/RadioField/RadioField.js +2 -2
  595. package/lib/v1/form/fields/RadioField/props/defaultProps.js +19 -0
  596. package/lib/v1/form/fields/RadioField/props/propTypes.js +41 -0
  597. package/lib/v1/form/fields/SelectField/SelectField.js +2 -2
  598. package/lib/v1/form/fields/SelectField/props/defaultProps.js +33 -0
  599. package/lib/v1/form/fields/SelectField/props/propTypes.js +68 -0
  600. package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -2
  601. package/lib/v1/form/fields/TagsMultiSelect/props/defaultProps.js +18 -0
  602. package/lib/v1/form/fields/TagsMultiSelect/props/propTypes.js +55 -0
  603. package/lib/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
  604. package/lib/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +34 -0
  605. package/lib/v1/form/fields/TagsMultiSelectField/props/propTypes.js +75 -0
  606. package/lib/v1/form/fields/TextBoxField/TextBoxField.js +2 -2
  607. package/lib/v1/form/fields/TextBoxField/props/defaultProps.js +32 -0
  608. package/lib/v1/form/fields/TextBoxField/props/propTypes.js +62 -0
  609. package/lib/v1/form/fields/TextEditor/TextEditor.js +2 -2
  610. package/lib/v1/form/fields/TextEditor/props/defaultProps.js +20 -0
  611. package/lib/v1/form/fields/TextEditor/props/propTypes.js +57 -0
  612. package/lib/v1/form/fields/TextEditorField/TextEditorField.js +2 -2
  613. package/lib/v1/form/fields/TextEditorField/props/defaultProps.js +30 -0
  614. package/lib/v1/form/fields/TextEditorField/props/propTypes.js +67 -0
  615. package/lib/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +2 -2
  616. package/lib/v1/form/fields/TextEditorWrapper/props/defaultProps.js +16 -0
  617. package/lib/v1/form/fields/TextEditorWrapper/props/propTypes.js +51 -0
  618. package/lib/v1/form/fields/TextareaField/TextareaField.js +2 -2
  619. package/lib/v1/form/fields/TextareaField/props/defaultProps.js +30 -0
  620. package/lib/v1/form/fields/TextareaField/props/propTypes.js +52 -0
  621. package/lib/v1/form/fields/ValidationMessage/ValidationMessage.js +2 -2
  622. package/lib/v1/form/fields/ValidationMessage/props/defaultProps.js +14 -0
  623. package/lib/v1/form/fields/ValidationMessage/props/propTypes.js +27 -0
  624. package/lib/v1/form/fields/props/FieldCommonDefaultProps.js +19 -0
  625. package/lib/v1/form/fields/props/FieldCommonPropTypes.js +28 -0
  626. package/lib/v1/form/layout/Field/Field.js +2 -2
  627. package/lib/v1/form/layout/Field/props/defaultProps.js +11 -0
  628. package/lib/v1/form/layout/Field/props/propTypes.js +21 -0
  629. package/lib/v1/form/layout/Section/Section.js +1 -1
  630. package/lib/v1/form/layout/Section/props/propTypes.js +22 -0
  631. package/lib/v1/layout/SetupDetailLayout/SetupDetailLayout.js +2 -2
  632. package/lib/v1/layout/SetupDetailLayout/props/defaultProps.js +30 -0
  633. package/lib/v1/layout/SetupDetailLayout/props/propTypes.js +54 -0
  634. package/lib/v1/layout/SubtabLayout/SubtabLayout.js +2 -2
  635. package/lib/v1/layout/SubtabLayout/props/defaultProps.js +35 -0
  636. package/lib/v1/layout/SubtabLayout/props/propTypes.js +54 -0
  637. package/lib/v1/list/AvatarFlip/AvatarFlip.js +2 -2
  638. package/lib/v1/list/AvatarFlip/props/defaultProps.js +13 -0
  639. package/lib/v1/list/AvatarFlip/props/propTypes.js +40 -0
  640. package/lib/v1/list/BluePrintStatus/BluePrintStatus.js +1 -1
  641. package/lib/v1/list/BluePrintStatus/props/propTypes.js +15 -0
  642. package/lib/v1/list/Comment/Comment.js +2 -2
  643. package/lib/v1/list/Comment/props/defaultProps.js +11 -0
  644. package/lib/v1/list/Comment/props/propTypes.js +18 -0
  645. package/lib/v1/list/DepartmentDropDown/DepartmentDropDown.js +2 -2
  646. package/lib/v1/list/DepartmentDropDown/props/defaultProps.js +14 -0
  647. package/lib/v1/list/DepartmentDropDown/props/propTypes.js +35 -0
  648. package/lib/v1/list/Dot/Dot.js +2 -2
  649. package/lib/v1/list/Dot/props/defaultProps.js +11 -0
  650. package/lib/v1/list/Dot/props/propTypes.js +16 -0
  651. package/lib/v1/list/DotNew/DotNew.js +2 -2
  652. package/lib/v1/list/DotNew/props/defaultProps.js +10 -0
  653. package/lib/v1/list/DotNew/props/propTypes.js +17 -0
  654. package/lib/v1/list/GridStencils/GridStencils.js +1 -1
  655. package/lib/v1/list/GridStencils/props/propTypes.js +19 -0
  656. package/lib/v1/list/Icons/AddNewIcon.js +1 -1
  657. package/lib/v1/list/Icons/CompleteIcon.js +1 -1
  658. package/lib/v1/list/Icons/DeleteIcon.js +1 -1
  659. package/lib/v1/list/Icons/EditIcon.js +1 -1
  660. package/lib/v1/list/Icons/FloatingIcons.js +2 -2
  661. package/lib/v1/list/Icons/ReadUnreadIcon.js +2 -2
  662. package/lib/v1/list/Icons/SmartIcon.js +1 -1
  663. package/lib/v1/list/Icons/props/defaultProps.js +14 -0
  664. package/lib/v1/list/Icons/props/propTypes.js +70 -0
  665. package/lib/v1/list/ListLayout/ListLayout.js +2 -2
  666. package/lib/v1/list/ListLayout/props/defaultProps.js +18 -0
  667. package/lib/v1/list/ListLayout/props/propTypes.js +41 -0
  668. package/lib/v1/list/ListStencils/ListStencils.js +2 -2
  669. package/lib/v1/list/ListStencils/props/defaultProps.js +10 -0
  670. package/lib/v1/list/ListStencils/props/propTypes.js +15 -0
  671. package/lib/v1/list/SecondaryText/AccountName.js +2 -2
  672. package/lib/v1/list/SecondaryText/ContactName.js +2 -2
  673. package/lib/v1/list/SecondaryText/DepartmentText.js +1 -1
  674. package/lib/v1/list/SecondaryText/Email.js +2 -2
  675. package/lib/v1/list/SecondaryText/HappinessRating.js +1 -1
  676. package/lib/v1/list/SecondaryText/PhoneNumber.js +2 -2
  677. package/lib/v1/list/SecondaryText/PriorityText.js +2 -2
  678. package/lib/v1/list/SecondaryText/SecondaryText.js +2 -2
  679. package/lib/v1/list/SecondaryText/StatusText.js +2 -2
  680. package/lib/v1/list/SecondaryText/TicketId.js +2 -2
  681. package/lib/v1/list/SecondaryText/Website.js +2 -2
  682. package/lib/v1/list/SecondaryText/props/defaultProps.js +59 -0
  683. package/lib/v1/list/SecondaryText/props/propTypes.js +163 -0
  684. package/lib/v1/list/SecondryPanel/SecondryPanel.js +2 -2
  685. package/lib/v1/list/SecondryPanel/props/defaultProps.js +28 -0
  686. package/lib/v1/list/SecondryPanel/props/propTypes.js +41 -0
  687. package/lib/v1/list/SentimentStatus/SentimentStatus.js +1 -1
  688. package/lib/v1/list/SentimentStatus/props/propTypes.js +16 -0
  689. package/lib/v1/list/Subject/Subject.js +2 -2
  690. package/lib/v1/list/Subject/props/defaultProps.js +14 -0
  691. package/lib/v1/list/Subject/props/propTypes.js +30 -0
  692. package/lib/v1/list/TagNew/TagNew.js +2 -2
  693. package/lib/v1/list/TagNew/props/defaultProps.js +11 -0
  694. package/lib/v1/list/TagNew/props/propTypes.js +19 -0
  695. package/lib/v1/list/Thread/Thread.js +2 -2
  696. package/lib/v1/list/Thread/props/defaultProps.js +11 -0
  697. package/lib/v1/list/Thread/props/propTypes.js +19 -0
  698. package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +2 -2
  699. package/lib/v1/list/status/StatusDropdown/props/defaultProps.js +26 -0
  700. package/lib/v1/list/status/StatusDropdown/props/propTypes.js +34 -0
  701. package/lib/v1/list/status/StatusListItem/StatusListItem.js +2 -2
  702. package/lib/v1/list/status/StatusListItem/props/defaultProps.js +22 -0
  703. package/lib/v1/list/status/StatusListItem/props/propTypes.js +40 -0
  704. package/lib/v1/lookup/EmptyPage/EmptyPage.js +2 -2
  705. package/lib/v1/lookup/EmptyPage/props/defaultProps.js +11 -0
  706. package/lib/v1/lookup/EmptyPage/props/propTypes.js +16 -0
  707. package/lib/v1/lookup/Lookup/Lookup.js +11 -4
  708. package/lib/v1/lookup/Lookup/props/defaultProps.js +16 -0
  709. package/lib/v1/lookup/Lookup/props/propTypes.js +34 -0
  710. package/lib/v1/lookup/Section/Section.js +1 -2
  711. package/lib/v1/lookup/Section/props/propTypes.js +17 -0
  712. package/lib/v1/lookup/header/Close/Close.js +2 -2
  713. package/lib/v1/lookup/header/Close/props/defaultProps.js +10 -0
  714. package/lib/v1/lookup/header/Close/props/propTypes.js +17 -0
  715. package/lib/v1/lookup/header/ModuleHeader/ModuleHeader.js +28 -13
  716. package/lib/v1/lookup/header/ModuleHeader/props/defaultProps.js +16 -0
  717. package/lib/v1/lookup/header/ModuleHeader/props/propTypes.js +31 -0
  718. package/lib/v1/lookup/header/Search/Search.js +2 -2
  719. package/lib/v1/lookup/header/Search/props/defaultProps.js +12 -0
  720. package/lib/v1/lookup/header/Search/props/propTypes.js +40 -0
  721. package/lib/v1/lookup/header/TicketHeader/TicketHeader.js +2 -2
  722. package/lib/v1/lookup/header/TicketHeader/props/defaultProps.js +11 -0
  723. package/lib/v1/lookup/header/TicketHeader/props/propTypes.js +31 -0
  724. package/lib/v1/lookup/header/Title/Title.js +2 -2
  725. package/lib/v1/lookup/header/Title/props/defaultProps.js +10 -0
  726. package/lib/v1/lookup/header/Title/props/propTypes.js +17 -0
  727. package/lib/v1/lookup/header/ViewDropDown/ViewDropDown.js +2 -2
  728. package/lib/v1/lookup/header/ViewDropDown/props/defaultProps.js +14 -0
  729. package/lib/v1/lookup/header/ViewDropDown/props/propTypes.js +33 -0
  730. package/lib/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
  731. package/lib/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
  732. package/lib/v1/setup/header/Button/Button.js +2 -2
  733. package/lib/v1/setup/header/Button/props/defaultProps.js +11 -0
  734. package/lib/v1/setup/header/Button/props/propTypes.js +18 -0
  735. package/lib/v1/setup/header/Link/Link.js +2 -2
  736. package/lib/v1/setup/header/Link/props/defaultProps.js +11 -0
  737. package/lib/v1/setup/header/Link/props/propTypes.js +19 -0
  738. package/lib/v1/setup/header/Search/Search.js +2 -2
  739. package/lib/v1/setup/header/Search/props/defaultProps.js +12 -0
  740. package/lib/v1/setup/header/Search/props/propTypes.js +22 -0
  741. package/lib/v1/setup/header/Views/Views.js +2 -2
  742. package/lib/v1/setup/header/Views/props/defaultProps.js +13 -0
  743. package/lib/v1/setup/header/Views/props/propTypes.js +20 -0
  744. package/lib/v1/setup/helptips/Description/Description.js +1 -1
  745. package/lib/v1/setup/helptips/Description/props/propTypes.js +15 -0
  746. package/lib/v1/setup/helptips/Link/Link.js +1 -1
  747. package/lib/v1/setup/helptips/Link/props/propTypes.js +18 -0
  748. package/lib/v1/setup/helptips/ListGroup/ListGroup.js +1 -1
  749. package/lib/v1/setup/helptips/ListGroup/props/propTypes.js +16 -0
  750. package/lib/v1/setup/helptips/Title/Title.js +1 -1
  751. package/lib/v1/setup/helptips/Title/props/propTypes.js +15 -0
  752. package/lib/v1/setup/table/Table/Table.js +2 -2
  753. package/lib/v1/setup/table/Table/props/defaultProps.js +11 -0
  754. package/lib/v1/setup/table/Table/props/propTypes.js +17 -0
  755. package/lib/v1/setup/table/TableBody/TableBody.js +2 -2
  756. package/lib/v1/setup/table/TableBody/props/defaultProps.js +10 -0
  757. package/lib/v1/setup/table/TableBody/props/propTypes.js +18 -0
  758. package/lib/v1/setup/table/TableData/TableData.js +2 -2
  759. package/lib/v1/setup/table/TableData/props/defaultProps.js +12 -0
  760. package/lib/v1/setup/table/TableData/props/propTypes.js +22 -0
  761. package/lib/v1/setup/table/TableHead/TableHead.js +2 -2
  762. package/lib/v1/setup/table/TableHead/props/defaultProps.js +11 -0
  763. package/lib/v1/setup/table/TableHead/props/propTypes.js +19 -0
  764. package/lib/v1/setup/table/TableRow/TableRow.js +2 -2
  765. package/lib/v1/setup/table/TableRow/props/defaultProps.js +11 -0
  766. package/lib/v1/setup/table/TableRow/props/propTypes.js +22 -0
  767. package/lib/v1/setup/table/Text/Text.js +2 -2
  768. package/lib/v1/setup/table/Text/props/defaultProps.js +14 -0
  769. package/lib/v1/setup/table/Text/props/propTypes.js +24 -0
  770. package/lib/v1/svg/PlusIcon.js +2 -2
  771. package/lib/v1/svg/SnippetIcon.js +2 -2
  772. package/lib/v1/svg/TemplateIcon.js +2 -2
  773. package/lib/v1/svg/props/defaultProps.js +24 -0
  774. package/lib/v1/svg/props/propTypes.js +29 -0
  775. package/lib/v1/utils/ChannelIconMapping.js +138 -0
  776. package/lib/v1/utils/General.js +58 -0
  777. package/lib/v1/utils/editorUtils.js +223 -0
  778. package/lib/version2/GlobalNotification/GlobalNotification.module.css +1 -1
  779. package/lib/version2/errorstate/V2_ErrorStates.module.css +1 -1
  780. package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +1 -1
  781. package/lib/version2/lookup/AlertLookup/AlertLookup.js +2 -1
  782. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +1 -1
  783. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +2 -2
  784. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +1 -1
  785. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +2 -2
  786. package/package.json +22 -19
  787. package/result.json +1 -1
  788. /package/.cli/{AppearanceThemeValidationExcludeFiles.js → ThemeValidationExcludeFiles.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { SnippetIcon_defaultProps } from '../../svg/props/defaultProps';
3
- import { SnippetIcon_propTypes } from '../../svg/props/propTypes';
2
+ import { SnippetIcon_defaultProps } from './props/defaultProps';
3
+ import { SnippetIcon_propTypes } from './props/propTypes';
4
4
  import SVG from '@zohodesk/svg/lib/v1/SVG/SVG';
5
5
  export default function SnippetIcon(props) {
6
6
  let {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { TemplateIcon_defaultProps } from '../../svg/props/defaultProps';
3
- import { TemplateIcon_propTypes } from '../../svg/props/propTypes';
2
+ import { TemplateIcon_defaultProps } from './props/defaultProps';
3
+ import { TemplateIcon_propTypes } from './props/propTypes';
4
4
  import SVG from '@zohodesk/svg/lib/v1/SVG/SVG';
5
5
  export default function TemplateIcon(props) {
6
6
  let {
@@ -0,0 +1,15 @@
1
+ export const PlusIcon_defaultProps = {
2
+ isRender: true,
3
+ isSymbol: false,
4
+ className: ''
5
+ };
6
+ export const SnippetIcon_defaultProps = {
7
+ isRender: true,
8
+ isSymbol: false,
9
+ className: ''
10
+ };
11
+ export const TemplateIcon_defaultProps = {
12
+ isRender: true,
13
+ isSymbol: false,
14
+ className: ''
15
+ };
@@ -0,0 +1,16 @@
1
+ import PropTypes from 'prop-types';
2
+ export const PlusIcon_propTypes = {
3
+ className: PropTypes.string,
4
+ isRender: PropTypes.bool,
5
+ isSymbol: PropTypes.bool
6
+ };
7
+ export const SnippetIcon_propTypes = {
8
+ className: PropTypes.string,
9
+ isRender: PropTypes.bool,
10
+ isSymbol: PropTypes.bool
11
+ };
12
+ export const TemplateIcon_propTypes = {
13
+ className: PropTypes.string,
14
+ isRender: PropTypes.bool,
15
+ isSymbol: PropTypes.bool
16
+ };
@@ -0,0 +1,129 @@
1
+ export function getChannelMappingObj() {
2
+ return {
3
+ EMAIL: {
4
+ default: 'ZD-CH-mail',
5
+ incoming: 'ZD-CH-mailIn',
6
+ outgoing: 'ZD-CH-mailOut',
7
+ draft: 'ZD-CH-draft',
8
+ forward: 'ZD-CH-emailForward',
9
+ forwardDraft: 'ZD-TK-forwardDraft',
10
+ missed: 'ZD-CH-mailMissed'
11
+ },
12
+ FACEBOOK: {
13
+ default: 'ZD-CH-facebook',
14
+ incoming: 'ZD-CH-facebookIn',
15
+ outgoing: 'ZD-CH-facebookOut',
16
+ draft: 'ZD-CH-draft',
17
+ forward: 'ZD-CH-emailForward',
18
+ forwardDraft: 'ZD-TK-forwardDraft',
19
+ missed: 'ZD-CH-facebookMissed'
20
+ },
21
+ FACEBOOK_DM: {
22
+ default: 'ZD-CH-directFacebook',
23
+ incoming: 'ZD-CH-directFacebookIn',
24
+ outgoing: 'ZD-CH-directFacebookOut',
25
+ draft: 'ZD-CH-draft',
26
+ forward: 'ZD-CH-emailForward',
27
+ forwardDraft: 'ZD-TK-forwardDraft',
28
+ missed: 'ZD-CH-directFacebookMissed'
29
+ },
30
+ TWITTER: {
31
+ default: 'ZD-CH-twitter',
32
+ incoming: 'ZD-CH-twitterIn',
33
+ outgoing: 'ZD-CH-twitterOut',
34
+ draft: 'ZD-CH-draft',
35
+ forward: 'ZD-CH-emailForward',
36
+ forwardDraft: 'ZD-TK-forwardDraft',
37
+ missed: 'ZD-CH-twitterMissed'
38
+ },
39
+ FORUMS: {
40
+ default: 'ZD-CH-forum',
41
+ incoming: 'ZD-CH-forumIn',
42
+ outgoing: 'ZD-CH-forumOut',
43
+ draft: 'ZD-CH-draft',
44
+ forward: 'ZD-CH-emailForward',
45
+ forwardDraft: 'ZD-TK-forwardDraft',
46
+ missed: 'ZD-CH-forumMissed'
47
+ },
48
+ CHAT: {
49
+ default: 'ZD-CH-chat',
50
+ incoming: 'ZD-CH-chatIn',
51
+ outgoing: 'ZD-CH-chatOut',
52
+ draft: 'ZD-CH-draft',
53
+ forward: 'ZD-CH-emailForward',
54
+ forwardDraft: 'ZD-TK-forwardDraft',
55
+ missed: 'ZD-CH-chatMissed'
56
+ },
57
+ OFFLINE_CHAT: {
58
+ default: 'ZD-CH-chat',
59
+ incoming: 'ZD-CH-chatIn',
60
+ outgoing: 'ZD-CH-chatOut',
61
+ draft: 'ZD-CH-draft',
62
+ forward: 'ZD-CH-emailForward',
63
+ forwardDraft: 'ZD-TK-forwardDraft',
64
+ missed: 'ZD-CH-chatMissed'
65
+ },
66
+ ONLINE_CHAT: {
67
+ default: 'ZD-CH-chat',
68
+ incoming: 'ZD-CH-chatIn',
69
+ outgoing: 'ZD-CH-chatOut',
70
+ draft: 'ZD-CH-draft',
71
+ forward: 'ZD-CH-emailForward',
72
+ forwardDraft: 'ZD-TK-forwardDraft',
73
+ missed: 'ZD-CH-chatMissed'
74
+ },
75
+ PHONE: {
76
+ default: 'ZD-CH-call',
77
+ incoming: 'ZD-CH-callIn',
78
+ outgoing: 'ZD-CH-callOut',
79
+ draft: 'ZD-CH-draft',
80
+ forward: 'ZD-CH-emailForward',
81
+ forwardDraft: 'ZD-TK-forwardDraft',
82
+ missed: 'ZD-CH-callMissed'
83
+ },
84
+ WEB: {
85
+ default: 'ZD-CH-web',
86
+ incoming: 'ZD-CH-webIn',
87
+ out: 'ZD-CH-webOut',
88
+ draft: 'ZD-CH-draft',
89
+ forward: 'ZD-CH-emailForward',
90
+ forwardDraft: 'ZD-TK-forwardDraft',
91
+ missed: 'ZD-CH-webMissed'
92
+ },
93
+ CUSTOMERPORTAL: {
94
+ default: 'ZD-CH-web',
95
+ incoming: 'ZD-CH-webIn',
96
+ out: 'ZD-CH-webOut',
97
+ draft: 'ZD-CH-draft',
98
+ forward: 'ZD-CH-emailForward',
99
+ forwardDraft: 'ZD-TK-forwardDraft',
100
+ missed: 'ZD-CH-webMissed'
101
+ },
102
+ FEEDBACK: {
103
+ default: 'ZD-CH-happiness',
104
+ incoming: 'ZD-CH-happinessIn',
105
+ out: 'ZD-CH-happinessOut',
106
+ draft: 'ZD-CH-draft',
107
+ forward: 'ZD-CH-emailForward',
108
+ forwardDraft: 'ZD-TK-forwardDraft',
109
+ missed: 'ZD-CH-happinessMissed'
110
+ },
111
+ 'FEEDBACK WIDGET': {
112
+ default: 'ZD-CH-feedbackWidget'
113
+ }
114
+ };
115
+ }
116
+ export function getActivitiesIconObj(name) {
117
+ let activitiesIcons = {
118
+ 'ZD-TK-task': '18',
119
+ 'ZD-SE-conversation': '21',
120
+ 'ZD-GN-phone': '21',
121
+ 'ZD-TK-remoteAssist': '18',
122
+ 'ZD-TK-event': '18',
123
+ 'ZD-CH-callIn': '21',
124
+ 'ZD-CH-callMissed': '21',
125
+ 'ZD-CH-callOut': '21',
126
+ 'ZD-CH-callOutBound': '21'
127
+ };
128
+ return activitiesIcons[name] ? activitiesIcons[name] : null;
129
+ }
@@ -0,0 +1,45 @@
1
+ export function stopBubbling(event) {
2
+ event.preventDefault();
3
+ event.stopPropagation && event.stopPropagation();
4
+ event.nativeEvent && event.nativeEvent.stopImmediatePropagation && event.nativeEvent.stopImmediatePropagation();
5
+ }
6
+ export function getFullName() {
7
+ let firstName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
8
+ let lastName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
9
+ let fullName = '';
10
+
11
+ if (firstName !== null && firstName !== '') {
12
+ fullName = firstName;
13
+ }
14
+
15
+ if (lastName !== null && lastName !== '') {
16
+ fullName = `${fullName}${lastName}`;
17
+ }
18
+
19
+ return fullName;
20
+ }
21
+ export function shallowDiff() {
22
+ let a = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
23
+ let b = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
24
+
25
+ for (let i in a) {
26
+ if (!(i in b)) {
27
+ return true;
28
+ }
29
+ }
30
+
31
+ for (let i in b) {
32
+ if (a[i] !== b[i]) {
33
+ return true;
34
+ }
35
+ }
36
+
37
+ return false;
38
+ }
39
+ export function formatPhoneUrl(phone) {
40
+ if (/^[0-9]{1,10}$/.test(phone)) {
41
+ return phone.length == 10 ? `(${phone.slice(0, 3)}) ${phone.slice(3, 6)}-${phone.slice(6, 10)}` : phone;
42
+ }
43
+
44
+ return phone;
45
+ }
@@ -0,0 +1,193 @@
1
+ const ATTACHMENT_FILE_NAME_SIZE_LIMIT = 200; // editorUtils
2
+
3
+ export function editorContentValidate(editorObj) {
4
+ let content = editorObj && editorObj.getContent && editorObj.getContent() || '';
5
+
6
+ if (content == '' || !content.length || content == '<div><br></div>' || editorObj.mode !== 'plaintext' && !editorObj.doc.body.innerText.trim().length && !editorObj.doc.getElementsByTagName('img').length && !editorObj.doc.getElementsByTagName('iframe').length && !isValidSpace(editorObj)) {
7
+ return false;
8
+ }
9
+
10
+ return true;
11
+ }
12
+
13
+ function isValidSpace(editorObj) {
14
+ let uTags = editorObj.doc.body.getElementsByTagName('u');
15
+ let isValidContent = false;
16
+
17
+ for (let i = 0; i < uTags.length; i++) {
18
+ let uTag = uTags[i];
19
+ let contentLength = uTag.innerText.length;
20
+
21
+ if (contentLength) {
22
+ isValidContent = true;
23
+ break;
24
+ }
25
+ }
26
+
27
+ return isValidContent;
28
+ }
29
+
30
+ export function fixEncoding(str) {
31
+ if (/&amp;lt;|&amp;gt;/g.test(str) == true) {
32
+ str = str.replace(/&amp;lt;/g, '&lt;');
33
+ str = str.replace(/&amp;gt;/g, '&gt;');
34
+ }
35
+
36
+ return str;
37
+ }
38
+ export function encodeForHtml(str) {
39
+ if (/<|>|&|"|'|\\/g.test(str) == true) {
40
+ str = str.replace(/&/g, '&amp;');
41
+ str = str.replace(/</g, '&lt;');
42
+ str = str.replace(/>/g, '&gt;');
43
+ str = str.replace(/"/g, '&quot;');
44
+ str = str.replace(/\\/g, '&#x5c;');
45
+ str = str.replace(/'/g, '&#39;');
46
+ }
47
+
48
+ return str;
49
+ } // attachment
50
+
51
+ export function isFileNameSizeInvalid(fileName) {
52
+ return fileName.length > ATTACHMENT_FILE_NAME_SIZE_LIMIT;
53
+ }
54
+ export function isImageFormat(fileName) {
55
+ let extension = getExtensionFromFileName(fileName);
56
+ return /jpeg|jpg|png|gif|bmp|ico/i.test(extension);
57
+ }
58
+ export function getExtensionFromFileName(fileName) {
59
+ if (fileName && fileName.indexOf('.') != -1) {
60
+ return fileName.substring(fileName.lastIndexOf('.') + 1, fileName.length).toLowerCase();
61
+ }
62
+
63
+ return '';
64
+ } // common
65
+
66
+ export function triggerKeyup(elem) {
67
+ let keyup = new KeyboardEvent('keyup');
68
+ elem && elem.dispatchEvent && elem.dispatchEvent(keyup);
69
+ } // editor
70
+
71
+ export function getRichEditorContent(key) {
72
+ let richTextEditor = global.editor[key];
73
+
74
+ if (richTextEditor != undefined) {
75
+ let content = richTextEditor.getContent();
76
+ content = content.trim();
77
+
78
+ if (content == '<br>') {
79
+ return '';
80
+ }
81
+
82
+ if (richTextEditor.mode == 'plaintext') {
83
+ content = replaceNewLineCharacter(content);
84
+ }
85
+
86
+ return content;
87
+ }
88
+
89
+ return '';
90
+ }
91
+
92
+ function replaceNewLineCharacter(content) {
93
+ if (typeof content !== 'undefined') {
94
+ content = encodeForHtml(content);
95
+ content = content.replace(/\n/g, '<br/>');
96
+ }
97
+
98
+ return content;
99
+ }
100
+
101
+ export const changeContent = (id, value) => {
102
+ let editorObj = global.editor && global.editor[id];
103
+
104
+ if (editorObj) {
105
+ let content = fixEncoding(value);
106
+
107
+ if (editorObj.mode === 'plaintext') {
108
+ editorObj.squireInstance.setHTML(content);
109
+ editorObj.plainText(editorObj.squireInstance.getHTML());
110
+ } else {
111
+ editorObj.setContent(content);
112
+ }
113
+ }
114
+ };
115
+ export function validateEditorContentOnInsertHtml(node) {
116
+ if (node.nodeName === 'IFRAME') {
117
+ let iframeSrcRegex = /^(https?:)?\/\/((www\.youtube\.com)|(www\.youtube-nocookie\.com)|(([a-z\-]+\.)?flowplayer\.org)|(www\.useloom\.com)|(player\.vimeo\.com)|(www\.dailymotion\.com)|(w\.soundcloud\.com)|(whatfix\.com)|([a-z\-]+\.zoho\.com)|([a-z\-]+\.google\.com)|([a-z\-]+\.efficientforms\.com)|([a-z0-9\-]+\.microsoftstream\.com)).*$/;
118
+
119
+ if (!node.getAttribute('src') || !iframeSrcRegex.test(node.getAttribute('src'))) {
120
+ node.parentNode.removeChild(node);
121
+ }
122
+ }
123
+ } // loadresource
124
+
125
+ /* use promise and remove callback*/
126
+
127
+ export function loadResource(url, type, id, callback) {
128
+ return new Promise(resolve => {
129
+ let css, script;
130
+
131
+ if (id && document.getElementById(id)) {
132
+ resolve();
133
+ return;
134
+ }
135
+
136
+ if (type === 'css') {
137
+ css = document.createElement('link');
138
+ css.type = 'text/css';
139
+ css.rel = 'stylesheet';
140
+ css.href = url;
141
+ css.id = id || '';
142
+
143
+ css.onload = function () {
144
+ resolve();
145
+ };
146
+
147
+ css.onerror = function () {
148
+ resolve();
149
+ };
150
+
151
+ document.getElementsByTagName('head')[0].appendChild(css);
152
+ } else if (type === 'js') {
153
+ script = document.createElement('script');
154
+ script.type = 'text/javascript';
155
+ script.src = url;
156
+ script.defer = true;
157
+
158
+ script.onload = function () {
159
+ resolve();
160
+
161
+ if (id) {
162
+ script.id = id;
163
+ }
164
+
165
+ if (typeof callback === 'function') {
166
+ callback();
167
+ }
168
+ };
169
+
170
+ script.onerror = function () {
171
+ resolve();
172
+ };
173
+
174
+ document.getElementsByTagName('head')[0].appendChild(script);
175
+ }
176
+ });
177
+ } // bind
178
+
179
+ export function bind() {
180
+ for (var _len = arguments.length, handlers = new Array(_len), _key = 0; _key < _len; _key++) {
181
+ handlers[_key] = arguments[_key];
182
+ }
183
+
184
+ handlers.forEach(handler => {
185
+ if (__DEVELOPMENT__) {
186
+ if (!this[handler]) {
187
+ console.log('Handler method not defined: ', handler);
188
+ }
189
+ }
190
+
191
+ this[handler] = this[handler].bind(this);
192
+ });
193
+ }
@@ -102,7 +102,7 @@
102
102
  font-size: var(--zd_font_size14) ;
103
103
  font-family: var(--zd_semibold);
104
104
  composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
105
- line-height: var(--zd_size20);
105
+ line-height: 1.4286;
106
106
  }
107
107
 
108
108
  [dir=ltr] .text {
@@ -8,7 +8,7 @@
8
8
  font-family: var(--zd_bold);
9
9
  }
10
10
  .desc {
11
- line-height: var(--zd_size22);
11
+ line-height: 1.5714;
12
12
  }
13
13
  .large .errorState {
14
14
  width: var(--zd_size450) ;
@@ -56,7 +56,7 @@
56
56
  .title {
57
57
  color: var(--zdt_alertlookupnew_text);
58
58
  font-size: var(--zd_font_size18) ;
59
- line-height: var(--zd_size22);
59
+ line-height: 1.2222;
60
60
  font-family: var(--zd_bold);
61
61
  composes: ftsmooth wbreak from '~@zohodesk/components/lib/common/common.module.css';
62
62
  vertical-align: middle;
@@ -133,7 +133,8 @@ export default class AlertLookup extends Component {
133
133
  onClick: onLookupClick,
134
134
  customClass: containerClass,
135
135
  a11y: a11y,
136
- childAnimationName: childAnimationName
136
+ childAnimationName: childAnimationName,
137
+ isFlexWrapper: false
137
138
  }, LookupProps), /*#__PURE__*/React.createElement(Container, {
138
139
  alignBox: "row",
139
140
  align: align,
@@ -5,7 +5,7 @@
5
5
  .innerSection {
6
6
  color: var(--zdt_alertlookupnew_text);
7
7
  font-size: var(--zd_font_size14) ;
8
- line-height: var(--zd_size20);
8
+ line-height: 1.428;
9
9
  composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
10
10
  padding: var(--zd_size17) var(--zd_size30) var(--zd_size30) ;
11
11
  }
@@ -108,7 +108,7 @@
108
108
 
109
109
  .subTitle {
110
110
  font-size: var(--zd_font_size15) ;
111
- line-height: var(--zd_size20);
111
+ line-height: 1.3333;
112
112
  font-family: var(--zd_semibold);
113
113
  composes: ftsmooth wbreak from '~@zohodesk/components/lib/common/common.module.css';
114
114
  }
@@ -119,7 +119,7 @@
119
119
 
120
120
  .infoText {
121
121
  font-size: var(--zd_font_size14) ;
122
- line-height: var(--zd_size18);
122
+ line-height: 1.2857;
123
123
  composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
124
124
  }
125
125
 
@@ -65,7 +65,7 @@ export default class DesktopNotificationHeader extends Component {
65
65
  $ui_className: style.title,
66
66
  $ui_tagName: "h1",
67
67
  $ui_size: uptoTablet ? '16' : '18',
68
- $ui_lineHeight: "20",
68
+ $ui_lineHeight: "1.2",
69
69
  $ui_weight: "bold",
70
70
  $flag_reset: true,
71
71
  $ui_wordBreak: "breakWord"
@@ -67,7 +67,7 @@
67
67
  }
68
68
 
69
69
  .primary .infoText {
70
- line-height: var(--zd_size18);
70
+ line-height: 1;
71
71
  }
72
72
 
73
73
  .primary .close {
@@ -96,7 +96,7 @@
96
96
  }
97
97
 
98
98
  .secondary .infoText {
99
- line-height: var(--zd_size20);
99
+ line-height: 1.4286;
100
100
  }
101
101
 
102
102
  .secondary .iconContainer {
@@ -82,12 +82,12 @@
82
82
 
83
83
  .medium .atatchName {
84
84
  font-size: var(--zd_font_size14) ;
85
- line-height: var(--zd_size20);
85
+ line-height: 1.4286;
86
86
  }
87
87
 
88
88
  .small .atatchName {
89
89
  font-size: var(--zd_font_size12) ;
90
- line-height: var(--zd_size15);
90
+ line-height: 1.25;
91
91
  }
92
92
 
93
93
  .attachSize {
@@ -123,12 +123,14 @@
123
123
  left: calc( var(--zd_size1) * -1 ) ;
124
124
  }
125
125
 
126
+ /* css:lineheight-validation:ignore */
126
127
  .medium .attachDownload {
127
128
  height: var(--zd_size25) ;
128
129
  width: var(--zd_size25) ;
129
130
  line-height: var(--zd_size23);
130
131
  }
131
132
 
133
+ /* css:lineheight-validation:ignore */
132
134
  .small .attachDownload {
133
135
  height: var(--zd_size20) ;
134
136
  width: var(--zd_size20) ;
@@ -79,7 +79,7 @@
79
79
  font-size: var(--zd_font_size22) ;
80
80
  height: var(--zd_size38) ;
81
81
  width: var(--zd_size38) ;
82
- line-height: var(--zd_size36);
82
+ line-height: 1.6364;
83
83
  border-radius: 50%;
84
84
  cursor: pointer;
85
85
  }
@@ -342,7 +342,7 @@ var Drawer = /*#__PURE__*/function (_React$Component4) {
342
342
  customClass = _this$props5.customClass,
343
343
  needAutoZindex = _this$props5.needAutoZindex,
344
344
  innerPortalName = _this$props5.innerPortalName;
345
- var zindexNumber = this.getNextIndex();
345
+ var zindexNumber = isActive ? this.getNextIndex() : '';
346
346
  return /*#__PURE__*/_react["default"].createElement(_CustomResponsive.ResponsiveReceiver, {
347
347
  query: this.responsiveFunc,
348
348
  responsiveId: responsiveId
@@ -78,8 +78,8 @@ function useDragger(_ref) {
78
78
  document.removeEventListener('mousemove', elementDrag);
79
79
  }, []);
80
80
  var dragMouseDown = (0, _react.useCallback)(function (e) {
81
- e = e || window.event;
82
- e.preventDefault();
81
+ e = e || window.event; // e.preventDefault();
82
+
83
83
  var draggableEleRect = draggableEle.current.getBoundingClientRect();
84
84
  var style = draggableEle.current.style;
85
85
  var width = draggableEleRect.width;
@@ -2,19 +2,23 @@
2
2
  background: var(--zdt_importantnotes_bg);
3
3
  padding: var(--zd_size5) var(--zd_size10) ;
4
4
  }
5
+
5
6
  .title {
6
7
  font-size: var(--zd_font_size13) ;
7
- line-height: var(--zd_font_size18);
8
+ line-height: 1.3846;
8
9
  color: var(--zdt_importantnotes_title_text);
9
10
  }
11
+
10
12
  .icon {
11
13
  color: var(--zdt_importantnotes_icon);
12
14
  font-size: 0 ;
13
15
  margin-top: var(--zd_size1) ;
14
16
  }
17
+
15
18
  [dir=ltr] .icon {
16
19
  margin-right: var(--zd_size5) ;
17
20
  }
21
+
18
22
  [dir=rtl] .icon {
19
23
  margin-left: var(--zd_size5) ;
20
- }
24
+ }
@@ -177,14 +177,14 @@
177
177
  .alertMessage {
178
178
  font-size: var(--zd_font_size12) ;
179
179
  composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
180
- line-height: var(--zd_size16);
180
+ line-height: 1.3333;
181
181
  color: var(--zdt_toastmessage_alert_text);
182
182
  margin-top: var(--zd_size5) ;
183
183
  }
184
184
 
185
185
  .buttonText {
186
186
  font-size: inherit ;
187
- line-height: var(--zd_size14);
187
+ line-height: normal;
188
188
  text-align: center;
189
189
  padding: 0 var(--zd_size7) ;
190
190
  cursor: pointer;
@@ -290,6 +290,7 @@
290
290
  background: var(--zdt_toastmessage_dropdown_bg);
291
291
  }
292
292
 
293
+ /* css:lineheight-validation:ignore */
293
294
  .fill {
294
295
  width: var(--zd_size29) ;
295
296
  height: var(--zd_size29) ;
@@ -88,7 +88,7 @@
88
88
  width: var(--zd_size12) ;
89
89
  top: 0 ;
90
90
  position: absolute;
91
- line-height: var(--zd_size10);
91
+ line-height: 0.8333;
92
92
  font-size: var(--zd_font_size12) ;
93
93
  text-align: center;
94
94
  }
@@ -3,7 +3,7 @@
3
3
  }
4
4
 
5
5
  .innerSection {
6
- line-height: var(--zd_size25);
6
+ line-height: 1.6667;
7
7
  color: var(--zdt_alertlookup_innersection_text);
8
8
  font-size: var(--zd_font_size15) ;
9
9
  word-break: break-word;
@@ -1,12 +1,15 @@
1
+ /* css:lineheight-validation:ignore */
1
2
  .container {
2
3
  position: relative;
3
4
  line-height: var(--zd_size18);
4
5
  composes: dInflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
5
6
  padding: var(--zd_size3) var(--zd_size15) ;
6
7
  cursor: pointer;
7
- }[dir=ltr] .container {
8
+ }
9
+ [dir=ltr] .container {
8
10
  margin-left: var(--zd_size15) ;
9
- }[dir=rtl] .container {
11
+ }
12
+ [dir=rtl] .container {
10
13
  margin-right: var(--zd_size15) ;
11
14
  }
12
15
  .container:hover {