@zohodesk/dot 1.0.0-temp-170 → 1.0.0-temp-171

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 (999) hide show
  1. package/.cli/PropLessFiles.html +1 -1
  2. package/.cli/PropUnificationExcludeFilesArray.js +344 -344
  3. package/.cli/PropValidationExcludeFilesArray.js +8 -8
  4. package/.cli/propValidation_report.html +1 -1
  5. package/README.md +1423 -1413
  6. package/coverage/ExternalLink/ExternalLink.js.html +1 -1
  7. package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
  8. package/coverage/ExternalLink/index.html +1 -1
  9. package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
  10. package/coverage/ExternalLink/props/index.html +1 -1
  11. package/coverage/ExternalLink/props/propTypes.js.html +1 -1
  12. package/coverage/IconButton/IconButton.js.html +1 -1
  13. package/coverage/IconButton/IconButton.module.css.html +1 -1
  14. package/coverage/IconButton/index.html +1 -1
  15. package/coverage/IconButton/props/defaultProps.js.html +1 -1
  16. package/coverage/IconButton/props/index.html +1 -1
  17. package/coverage/IconButton/props/propTypes.js.html +1 -1
  18. package/coverage/Image/Image.js.html +1 -1
  19. package/coverage/Image/Image.module.css.html +1 -1
  20. package/coverage/Image/index.html +1 -1
  21. package/coverage/Image/props/defaultProps.js.html +1 -1
  22. package/coverage/Image/props/index.html +1 -1
  23. package/coverage/Image/props/propTypes.js.html +1 -1
  24. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
  25. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
  26. package/coverage/avatar/AvatarWithTeam/index.html +1 -1
  27. package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
  28. package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
  29. package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
  30. package/coverage/coverage-final.json +16 -16
  31. package/coverage/coverage-summary.json +16 -16
  32. package/coverage/index.html +1 -1
  33. package/css_error.log +1 -1
  34. package/es/ActionButton/ActionButton.js +10 -1
  35. package/es/ActionButton/ActionButton.module.css +146 -146
  36. package/es/ActionButton/props/propTypes.js +2 -1
  37. package/es/AlphabeticList/AlphabeticList.module.css +59 -59
  38. package/es/Attachment/Attachment.module.css +165 -163
  39. package/es/AttachmentViewer/AttachmentViewer.module.css +354 -354
  40. package/es/ChannelIcon/ChannelIcon.module.css +221 -221
  41. package/es/Drawer/Drawer.js +3 -6
  42. package/es/Drawer/Drawer.module.css +190 -190
  43. package/es/ExternalLink/ExternalLink.js +0 -0
  44. package/es/ExternalLink/ExternalLink.module.css +3 -3
  45. package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  46. package/es/FlipCard/FlipCard.module.css +44 -44
  47. package/es/FormAction/FormAction.module.css +84 -84
  48. package/es/FreezeLayer/css/FreezeLayer.module.css +42 -42
  49. package/es/Hooks/Dragger/css/Dragger.module.css +2 -2
  50. package/es/IconButton/IconButton.module.css +23 -23
  51. package/es/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +316 -316
  52. package/es/Image/Image.module.css +11 -11
  53. package/es/Image/__tests__/__snapshots__/Image.spec.js.snap +74 -74
  54. package/es/ImportantNotes/ImportantNotes.module.css +24 -20
  55. package/es/Link/Link.js +1 -2
  56. package/es/Link/Link.module.css +3 -3
  57. package/es/Loader/Loader.module.css +47 -47
  58. package/es/Message/Message.module.css +102 -102
  59. package/es/MessageBanner/MessageBanner.module.css +46 -46
  60. package/es/NewStar/NewStar.module.css +183 -183
  61. package/es/PlusIcon/PlusIcon.js +0 -0
  62. package/es/PlusIcon/PlusIcon.module.css +18 -18
  63. package/es/Separator/Separator.module.css +34 -34
  64. package/es/TagWithIcon/TagWithIcon.module.css +69 -69
  65. package/es/ToastMessage/ToastMessage.js +0 -0
  66. package/es/ToastMessage/ToastMessage.module.css +329 -328
  67. package/es/Upload/Upload.module.css +125 -125
  68. package/es/alert/AlertHeader/AlertHeader.module.css +80 -80
  69. package/es/alert/AlertLookup/AlertLookup.module.css +26 -26
  70. package/es/avatar/AvatarClose/AvatarClose.module.css +37 -37
  71. package/es/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  72. package/es/avatar/AvatarIcon/AvatarIcon.module.css +64 -64
  73. package/es/avatar/AvatarStatus/AvatarStatus.js +0 -1
  74. package/es/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  75. package/es/avatar/AvatarThread/AvatarThread.module.css +166 -166
  76. package/es/avatar/AvatarUser/AvatarUser.js +0 -0
  77. package/es/avatar/AvatarUser/AvatarUser.module.css +171 -171
  78. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  79. package/es/common/dot_animation.module.css +26 -26
  80. package/es/common/dot_boxShadow.module.css +37 -37
  81. package/es/common/dot_common.module.css +3 -3
  82. package/es/deprecated/FreezeLayer/_FreezeLayer.module.css +42 -42
  83. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +59 -56
  84. package/es/deprecated/utils/KeyboardApi.js +25 -25
  85. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +100 -100
  86. package/es/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
  87. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +92 -89
  88. package/es/emptystate/EditionPage/EditionPage.css +43 -43
  89. package/es/errorstate/EmptyStates.module.css +87 -87
  90. package/es/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  91. package/es/errorstate/LinkText/LinkText.module.css +6 -6
  92. package/es/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  93. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  94. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  95. package/es/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  96. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  97. package/es/errorstate/WillBack/WillBack.module.css +34 -34
  98. package/es/form/fields/CheckBoxField/CheckBoxField.js +0 -0
  99. package/es/form/fields/Fields.module.css +183 -183
  100. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  101. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  102. package/es/form/fields/TextEditor/TextEditor.module.css +770 -770
  103. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +37 -37
  104. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +28 -28
  105. package/es/form/layout/Field/Field.js +0 -0
  106. package/es/form/layout/Field/Field.module.css +22 -22
  107. package/es/form/layout/Section/ModuleFormSection.module.css +3 -3
  108. package/es/form/layout/Section/Section.js +0 -0
  109. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  110. package/es/layout/SubtabLayout/SubtabLayout.module.css +166 -166
  111. package/es/list/AvatarFlip/AvatarFlip.module.css +3 -3
  112. package/es/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  113. package/es/list/Comment/Comment.module.css +30 -30
  114. package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  115. package/es/list/Dot/Dot.module.css +16 -16
  116. package/es/list/DotNew/DotNew.module.css +24 -24
  117. package/es/list/GridStencils/GridStencils.module.css +146 -146
  118. package/es/list/Icons/Icons.module.css +16 -16
  119. package/es/list/ListLayout/ListLayout.js +1 -1
  120. package/es/list/ListLayout/ListLayout.module.css +85 -85
  121. package/es/list/ListStencils/ListStencils.module.css +67 -67
  122. package/es/list/SecondaryText/SecondaryText.module.css +136 -136
  123. package/es/list/SecondaryText/Website.js +0 -0
  124. package/es/list/SecondryPanel/SecondryPanel.js +0 -0
  125. package/es/list/SecondryPanel/SecondryPanel.module.css +5 -5
  126. package/es/list/SentimentStatus/SentimentStatus.module.css +12 -12
  127. package/es/list/Subject/Subject.module.css +28 -28
  128. package/es/list/TagNew/TagNew.module.css +116 -116
  129. package/es/list/Thread/Thread.module.css +43 -43
  130. package/es/list/listCommon.module.css +78 -77
  131. package/es/list/status/StatusDropdown/StatusDropdown.js +6 -6
  132. package/es/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
  133. package/es/list/status/StatusListItem/StatusListItem.js +0 -0
  134. package/es/list/status/StatusListItem/StatusListItem.module.css +111 -111
  135. package/es/lookup/EmptyPage/EmptyPage.js +0 -0
  136. package/es/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  137. package/es/lookup/Lookup/Lookup.js +1 -1
  138. package/es/lookup/Lookup/Lookup.module.css +26 -26
  139. package/es/lookup/Section/LookupSection.module.css +7 -7
  140. package/es/lookup/header/Close/LookupClose.module.css +15 -15
  141. package/es/lookup/header/Search/LookupSearch.module.css +57 -57
  142. package/es/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  143. package/es/lookup/header/Title/LookupTitle.module.css +20 -20
  144. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  145. package/es/lookup/header/lookupHeaderCommon.module.css +41 -41
  146. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  147. package/es/setup/header/Button/HeaderButton.module.css +5 -5
  148. package/es/setup/header/Link/HeaderLink.module.css +21 -21
  149. package/es/setup/header/Search/Search.module.css +70 -69
  150. package/es/setup/header/Views/Views.module.css +38 -37
  151. package/es/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  152. package/es/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  153. package/es/setup/helptips/Link/Link.js +0 -0
  154. package/es/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  155. package/es/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  156. package/es/setup/helptips/Title/Title.js +0 -0
  157. package/es/setup/table/TableData/SetupTableData.module.css +44 -44
  158. package/es/setup/table/TableData/Tablehover.module.css +6 -6
  159. package/es/setup/table/TableHead/SetupTableHead.module.css +12 -12
  160. package/es/setup/table/TableRow/SetupTableRow.module.css +14 -14
  161. package/es/setup/table/Text/TableText.module.css +37 -37
  162. package/es/setup/table/Text/Text.js +0 -0
  163. package/es/svg/PlusIcon.js +1 -1
  164. package/es/svg/SnippetIcon.js +2 -2
  165. package/es/v1/ActionButton/ActionButton.js +9 -4
  166. package/es/v1/ActionButton/props/defaultProps.js +17 -0
  167. package/es/v1/ActionButton/props/propTypes.js +33 -0
  168. package/es/v1/AlphabeticList/AlphabeticList.js +2 -2
  169. package/es/v1/AlphabeticList/props/defaultProps.js +12 -0
  170. package/es/v1/AlphabeticList/props/propTypes.js +23 -0
  171. package/es/v1/Attachment/Attachment.js +2 -2
  172. package/es/v1/Attachment/props/defaultProps.js +7 -0
  173. package/es/v1/Attachment/props/propTypes.js +17 -0
  174. package/es/v1/AttachmentViewer/AttachmentImage.js +2 -2
  175. package/es/v1/AttachmentViewer/AttachmentViewer.js +2 -2
  176. package/es/v1/AttachmentViewer/props/defaultProps.js +10 -0
  177. package/es/v1/AttachmentViewer/props/propTypes.js +31 -0
  178. package/es/v1/ChannelIcon/ChannelIcon.js +3 -3
  179. package/es/v1/ChannelIcon/props/defaultProps.js +7 -0
  180. package/es/v1/ChannelIcon/props/propTypes.js +25 -0
  181. package/es/v1/Drawer/Drawer.js +4 -7
  182. package/es/v1/Drawer/props/defaultProps.js +22 -0
  183. package/es/v1/Drawer/props/propTypes.js +52 -0
  184. package/es/v1/ExternalLink/ExternalLink.js +2 -2
  185. package/es/v1/ExternalLink/props/defaultProps.js +5 -0
  186. package/es/v1/ExternalLink/props/propTypes.js +12 -0
  187. package/es/v1/FlipCard/FlipCard.js +2 -2
  188. package/es/v1/FlipCard/props/defaultProps.js +5 -0
  189. package/es/v1/FlipCard/props/propTypes.js +37 -0
  190. package/es/v1/FormAction/FormAction.js +2 -2
  191. package/es/v1/FormAction/props/defaultProps.js +5 -0
  192. package/es/v1/FormAction/props/propTypes.js +8 -0
  193. package/es/v1/FreezeLayer/FreezeLayer.js +2 -2
  194. package/es/v1/FreezeLayer/props/defaultProps.js +9 -0
  195. package/es/v1/FreezeLayer/props/propTypes.js +19 -0
  196. package/es/v1/GlobalNotification/GlobalNotification.js +2 -2
  197. package/es/v1/GlobalNotification/props/defaultProps.js +4 -0
  198. package/es/v1/GlobalNotification/props/propTypes.js +32 -0
  199. package/es/v1/IconButton/IconButton.js +2 -2
  200. package/es/v1/IconButton/props/defaultProps.js +17 -0
  201. package/es/v1/IconButton/props/propTypes.js +33 -0
  202. package/es/v1/Image/Image.js +2 -2
  203. package/es/v1/Image/props/defaultProps.js +4 -0
  204. package/es/v1/Image/props/propTypes.js +13 -0
  205. package/es/v1/ImportantNotes/ImportantNotes.js +2 -2
  206. package/es/v1/ImportantNotes/props/defaultProps.js +6 -0
  207. package/es/v1/ImportantNotes/props/propTypes.js +10 -0
  208. package/es/v1/Link/Link.js +3 -4
  209. package/es/v1/Link/props/defaultProps.js +5 -0
  210. package/es/v1/Link/props/propTypes.js +18 -0
  211. package/es/v1/Message/Message.js +2 -2
  212. package/es/v1/Message/props/defaultProps.js +4 -0
  213. package/es/v1/Message/props/propTypes.js +20 -0
  214. package/es/v1/MessageBanner/MessageBanner.js +2 -2
  215. package/es/v1/MessageBanner/props/defaultProps.js +7 -0
  216. package/es/v1/MessageBanner/props/propTypes.js +13 -0
  217. package/es/v1/NewStar/NewStar.js +2 -2
  218. package/es/v1/NewStar/props/defaultProps.js +4 -0
  219. package/es/v1/NewStar/props/propTypes.js +6 -0
  220. package/es/v1/PlusIcon/PlusIcon.js +2 -2
  221. package/es/v1/PlusIcon/props/defaultProps.js +8 -0
  222. package/es/v1/PlusIcon/props/propTypes.js +11 -0
  223. package/es/v1/Provider/Config.js +20 -0
  224. package/es/v1/Separator/Separator.js +2 -2
  225. package/es/v1/Separator/props/defaultProps.js +12 -0
  226. package/es/v1/Separator/props/propTypes.js +11 -0
  227. package/es/v1/TagWithIcon/TagWithIcon.js +2 -2
  228. package/es/v1/TagWithIcon/props/defaultProps.js +8 -0
  229. package/es/v1/TagWithIcon/props/propTypes.js +13 -0
  230. package/es/v1/ToastMessage/ToastMessage.js +2 -2
  231. package/es/v1/ToastMessage/props/defaultProps.js +18 -0
  232. package/es/v1/ToastMessage/props/propTypes.js +40 -0
  233. package/es/v1/Upload/Upload.js +2 -2
  234. package/es/v1/Upload/props/defaultProps.js +7 -0
  235. package/es/v1/Upload/props/propTypes.js +17 -0
  236. package/es/v1/actions/AutoClose.js +2 -2
  237. package/es/v1/actions/props/defaultProps.js +3 -0
  238. package/es/v1/actions/props/propTypes.js +8 -0
  239. package/es/v1/alert/AlertClose/AlertClose.js +1 -1
  240. package/es/v1/alert/AlertClose/props/propTypes.js +8 -0
  241. package/es/v1/alert/alertIcons/AlarmAlertIcon.js +2 -2
  242. package/es/v1/alert/alertIcons/AlertIcons.js +2 -2
  243. package/es/v1/alert/alertIcons/DangerAlertIcon.js +2 -2
  244. package/es/v1/alert/alertIcons/ErrorAlertIcon.js +2 -2
  245. package/es/v1/alert/alertIcons/InfoAlertIcon.js +2 -2
  246. package/es/v1/alert/alertIcons/NotificationAlertIcon.js +2 -2
  247. package/es/v1/alert/alertIcons/SuccessAlertIcon.js +2 -2
  248. package/es/v1/alert/alertIcons/WarningAlertIcon.js +2 -2
  249. package/es/v1/alert/alertIcons/props/defaultProps.js +27 -0
  250. package/es/v1/alert/alertIcons/props/propTypes.js +34 -0
  251. package/es/v1/avatar/AvatarClose/AvatarClose.js +2 -2
  252. package/es/v1/avatar/AvatarClose/props/defaultProps.js +6 -0
  253. package/es/v1/avatar/AvatarClose/props/propTypes.js +14 -0
  254. package/es/v1/avatar/AvatarCollision/AvatarCollision.js +2 -2
  255. package/es/v1/avatar/AvatarCollision/props/defaultProps.js +8 -0
  256. package/es/v1/avatar/AvatarCollision/props/propTypes.js +17 -0
  257. package/es/v1/avatar/AvatarIcon/AvatarIcon.js +2 -2
  258. package/es/v1/avatar/AvatarIcon/props/defaultProps.js +14 -0
  259. package/es/v1/avatar/AvatarIcon/props/propTypes.js +20 -0
  260. package/es/v1/avatar/AvatarStatus/AvatarStatus.js +2 -3
  261. package/es/v1/avatar/AvatarStatus/props/defaultProps.js +12 -0
  262. package/es/v1/avatar/AvatarStatus/props/propTypes.js +26 -0
  263. package/es/v1/avatar/AvatarThread/AvatarThread.js +2 -2
  264. package/es/v1/avatar/AvatarThread/props/defaultProps.js +9 -0
  265. package/es/v1/avatar/AvatarThread/props/propTypes.js +30 -0
  266. package/es/v1/avatar/AvatarUser/AvatarUser.js +2 -2
  267. package/es/v1/avatar/AvatarUser/props/defaultProps.js +8 -0
  268. package/es/v1/avatar/AvatarUser/props/propTypes.js +35 -0
  269. package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
  270. package/es/v1/avatar/AvatarWithTeam/props/defaultProps.js +9 -0
  271. package/es/v1/avatar/AvatarWithTeam/props/propTypes.js +25 -0
  272. package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +2 -2
  273. package/es/v1/dropdown/ToggleDropDown/props/defaultProps.js +27 -0
  274. package/es/v1/dropdown/ToggleDropDown/props/propTypes.js +79 -0
  275. package/es/v1/emptystate/CommonEmptyState/CommonEmptyState.js +2 -2
  276. package/es/v1/emptystate/CommonEmptyState/props/defaultProps.js +10 -0
  277. package/es/v1/emptystate/CommonEmptyState/props/propTypes.js +21 -0
  278. package/es/v1/emptystate/EditionPage/EditionPage.js +2 -2
  279. package/es/v1/emptystate/EditionPage/props/defaultProps.js +5 -0
  280. package/es/v1/emptystate/EditionPage/props/propTypes.js +11 -0
  281. package/es/v1/errorstate/Inconvenience/Inconvenience.js +2 -2
  282. package/es/v1/errorstate/Inconvenience/props/defaultProps.js +8 -0
  283. package/es/v1/errorstate/Inconvenience/props/propTypes.js +16 -0
  284. package/es/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +2 -2
  285. package/es/v1/errorstate/OopsSomethingMiss/props/defaultProps.js +8 -0
  286. package/es/v1/errorstate/OopsSomethingMiss/props/propTypes.js +16 -0
  287. package/es/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +2 -2
  288. package/es/v1/errorstate/UnableToProcessRequest/props/defaultProps.js +8 -0
  289. package/es/v1/errorstate/UnableToProcessRequest/props/propTypes.js +16 -0
  290. package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +2 -2
  291. package/es/v1/errorstate/UnauthorizedLogin/props/defaultProps.js +9 -0
  292. package/es/v1/errorstate/UnauthorizedLogin/props/propTypes.js +17 -0
  293. package/es/v1/errorstate/UrlNotFound/UrlNotFound.js +2 -2
  294. package/es/v1/errorstate/UrlNotFound/props/defaultProps.js +8 -0
  295. package/es/v1/errorstate/UrlNotFound/props/propTypes.js +16 -0
  296. package/es/v1/errorstate/WillBeRightBack/WillBeRightBack.js +2 -2
  297. package/es/v1/errorstate/WillBeRightBack/props/defaultProps.js +8 -0
  298. package/es/v1/errorstate/WillBeRightBack/props/propTypes.js +16 -0
  299. package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +2 -2
  300. package/es/v1/form/fields/CheckBoxField/props/defaultProps.js +12 -0
  301. package/es/v1/form/fields/CheckBoxField/props/propTypes.js +27 -0
  302. package/es/v1/form/fields/CurrencyField/CurrencyField.js +2 -2
  303. package/es/v1/form/fields/CurrencyField/props/defaultProps.js +17 -0
  304. package/es/v1/form/fields/CurrencyField/props/propTypes.js +39 -0
  305. package/es/v1/form/fields/DateField/DateField.js +2 -2
  306. package/es/v1/form/fields/DateField/props/defaultProps.js +19 -0
  307. package/es/v1/form/fields/DateField/props/propTypes.js +39 -0
  308. package/es/v1/form/fields/FieldContainer/FieldContainer.js +2 -2
  309. package/es/v1/form/fields/FieldContainer/props/defaultProps.js +6 -0
  310. package/es/v1/form/fields/FieldContainer/props/propTypes.js +25 -0
  311. package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +2 -2
  312. package/es/v1/form/fields/MultiSelectField/props/defaultProps.js +17 -0
  313. package/es/v1/form/fields/MultiSelectField/props/propTypes.js +50 -0
  314. package/es/v1/form/fields/PhoneField/PhoneField.js +2 -2
  315. package/es/v1/form/fields/PhoneField/props/defaultProps.js +16 -0
  316. package/es/v1/form/fields/PhoneField/props/propTypes.js +47 -0
  317. package/es/v1/form/fields/RadioField/RadioField.js +2 -2
  318. package/es/v1/form/fields/RadioField/props/defaultProps.js +12 -0
  319. package/es/v1/form/fields/RadioField/props/propTypes.js +30 -0
  320. package/es/v1/form/fields/SelectField/SelectField.js +2 -2
  321. package/es/v1/form/fields/SelectField/props/defaultProps.js +18 -0
  322. package/es/v1/form/fields/SelectField/props/propTypes.js +50 -0
  323. package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -2
  324. package/es/v1/form/fields/TagsMultiSelect/props/defaultProps.js +11 -0
  325. package/es/v1/form/fields/TagsMultiSelect/props/propTypes.js +44 -0
  326. package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
  327. package/es/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +19 -0
  328. package/es/v1/form/fields/TagsMultiSelectField/props/propTypes.js +63 -0
  329. package/es/v1/form/fields/TextBoxField/TextBoxField.js +2 -2
  330. package/es/v1/form/fields/TextBoxField/props/defaultProps.js +17 -0
  331. package/es/v1/form/fields/TextBoxField/props/propTypes.js +44 -0
  332. package/es/v1/form/fields/TextEditor/TextEditor.js +2 -2
  333. package/es/v1/form/fields/TextEditor/props/defaultProps.js +13 -0
  334. package/es/v1/form/fields/TextEditor/props/propTypes.js +46 -0
  335. package/es/v1/form/fields/TextEditorField/TextEditorField.js +2 -2
  336. package/es/v1/form/fields/TextEditorField/props/defaultProps.js +15 -0
  337. package/es/v1/form/fields/TextEditorField/props/propTypes.js +59 -0
  338. package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +2 -2
  339. package/es/v1/form/fields/TextEditorWrapper/props/defaultProps.js +9 -0
  340. package/es/v1/form/fields/TextEditorWrapper/props/propTypes.js +40 -0
  341. package/es/v1/form/fields/TextareaField/TextareaField.js +2 -2
  342. package/es/v1/form/fields/TextareaField/props/defaultProps.js +15 -0
  343. package/es/v1/form/fields/TextareaField/props/propTypes.js +34 -0
  344. package/es/v1/form/fields/ValidationMessage/ValidationMessage.js +2 -2
  345. package/es/v1/form/fields/ValidationMessage/props/defaultProps.js +7 -0
  346. package/es/v1/form/fields/ValidationMessage/props/propTypes.js +16 -0
  347. package/es/v1/form/fields/props/FieldCommonDefaultProps.js +10 -0
  348. package/es/v1/form/fields/props/FieldCommonPropTypes.js +17 -0
  349. package/es/v1/form/layout/Field/Field.js +2 -2
  350. package/es/v1/form/layout/Field/props/defaultProps.js +4 -0
  351. package/es/v1/form/layout/Field/props/propTypes.js +10 -0
  352. package/es/v1/form/layout/Section/Section.js +1 -1
  353. package/es/v1/form/layout/Section/props/propTypes.js +11 -0
  354. package/es/v1/layout/SetupDetailLayout/SetupDetailLayout.js +2 -2
  355. package/es/v1/layout/SetupDetailLayout/props/defaultProps.js +20 -0
  356. package/es/v1/layout/SetupDetailLayout/props/propTypes.js +40 -0
  357. package/es/v1/layout/SubtabLayout/SubtabLayout.js +2 -2
  358. package/es/v1/layout/SubtabLayout/props/defaultProps.js +25 -0
  359. package/es/v1/layout/SubtabLayout/props/propTypes.js +40 -0
  360. package/es/v1/list/AvatarFlip/AvatarFlip.js +2 -2
  361. package/es/v1/list/AvatarFlip/props/defaultProps.js +6 -0
  362. package/es/v1/list/AvatarFlip/props/propTypes.js +29 -0
  363. package/es/v1/list/BluePrintStatus/BluePrintStatus.js +1 -1
  364. package/es/v1/list/BluePrintStatus/props/propTypes.js +4 -0
  365. package/es/v1/list/Comment/Comment.js +2 -2
  366. package/es/v1/list/Comment/props/defaultProps.js +4 -0
  367. package/es/v1/list/Comment/props/propTypes.js +7 -0
  368. package/es/v1/list/DepartmentDropDown/DepartmentDropDown.js +2 -2
  369. package/es/v1/list/DepartmentDropDown/props/defaultProps.js +7 -0
  370. package/es/v1/list/DepartmentDropDown/props/propTypes.js +24 -0
  371. package/es/v1/list/Dot/Dot.js +2 -2
  372. package/es/v1/list/Dot/props/defaultProps.js +4 -0
  373. package/es/v1/list/Dot/props/propTypes.js +5 -0
  374. package/es/v1/list/DotNew/DotNew.js +2 -2
  375. package/es/v1/list/DotNew/props/defaultProps.js +3 -0
  376. package/es/v1/list/DotNew/props/propTypes.js +6 -0
  377. package/es/v1/list/GridStencils/GridStencils.js +1 -1
  378. package/es/v1/list/GridStencils/props/propTypes.js +8 -0
  379. package/es/v1/list/Icons/AddNewIcon.js +1 -1
  380. package/es/v1/list/Icons/CompleteIcon.js +1 -1
  381. package/es/v1/list/Icons/DeleteIcon.js +1 -1
  382. package/es/v1/list/Icons/EditIcon.js +1 -1
  383. package/es/v1/list/Icons/FloatingIcons.js +2 -2
  384. package/es/v1/list/Icons/ReadUnreadIcon.js +2 -2
  385. package/es/v1/list/Icons/SmartIcon.js +1 -1
  386. package/es/v1/list/Icons/props/defaultProps.js +6 -0
  387. package/es/v1/list/Icons/props/propTypes.js +53 -0
  388. package/es/v1/list/ListLayout/ListLayout.js +3 -3
  389. package/es/v1/list/ListLayout/props/defaultProps.js +11 -0
  390. package/es/v1/list/ListLayout/props/propTypes.js +28 -0
  391. package/es/v1/list/ListStencils/ListStencils.js +2 -2
  392. package/es/v1/list/ListStencils/props/defaultProps.js +3 -0
  393. package/es/v1/list/ListStencils/props/propTypes.js +4 -0
  394. package/es/v1/list/SecondaryText/AccountName.js +2 -2
  395. package/es/v1/list/SecondaryText/ContactName.js +2 -2
  396. package/es/v1/list/SecondaryText/DepartmentText.js +1 -1
  397. package/es/v1/list/SecondaryText/Email.js +2 -2
  398. package/es/v1/list/SecondaryText/HappinessRating.js +1 -1
  399. package/es/v1/list/SecondaryText/PhoneNumber.js +2 -2
  400. package/es/v1/list/SecondaryText/PriorityText.js +2 -2
  401. package/es/v1/list/SecondaryText/SecondaryText.js +2 -2
  402. package/es/v1/list/SecondaryText/StatusText.js +2 -2
  403. package/es/v1/list/SecondaryText/TicketId.js +2 -2
  404. package/es/v1/list/SecondaryText/Website.js +2 -2
  405. package/es/v1/list/SecondaryText/props/defaultProps.js +44 -0
  406. package/es/v1/list/SecondaryText/props/propTypes.js +142 -0
  407. package/es/v1/list/SecondryPanel/SecondryPanel.js +2 -2
  408. package/es/v1/list/SecondryPanel/props/defaultProps.js +18 -0
  409. package/es/v1/list/SecondryPanel/props/propTypes.js +27 -0
  410. package/es/v1/list/SentimentStatus/SentimentStatus.js +1 -1
  411. package/es/v1/list/SentimentStatus/props/propTypes.js +5 -0
  412. package/es/v1/list/Subject/Subject.js +2 -2
  413. package/es/v1/list/Subject/props/defaultProps.js +7 -0
  414. package/es/v1/list/Subject/props/propTypes.js +19 -0
  415. package/es/v1/list/TagNew/TagNew.js +2 -2
  416. package/es/v1/list/TagNew/props/defaultProps.js +4 -0
  417. package/es/v1/list/TagNew/props/propTypes.js +8 -0
  418. package/es/v1/list/Thread/Thread.js +2 -2
  419. package/es/v1/list/Thread/props/defaultProps.js +4 -0
  420. package/es/v1/list/Thread/props/propTypes.js +8 -0
  421. package/es/v1/list/status/StatusDropdown/StatusDropdown.js +8 -8
  422. package/es/v1/list/status/StatusDropdown/props/defaultProps.js +19 -0
  423. package/es/v1/list/status/StatusDropdown/props/propTypes.js +54 -0
  424. package/es/v1/list/status/StatusListItem/StatusListItem.js +2 -2
  425. package/es/v1/list/status/StatusListItem/props/defaultProps.js +15 -0
  426. package/es/v1/list/status/StatusListItem/props/propTypes.js +29 -0
  427. package/es/v1/lookup/EmptyPage/EmptyPage.js +2 -2
  428. package/es/v1/lookup/EmptyPage/props/defaultProps.js +4 -0
  429. package/es/v1/lookup/EmptyPage/props/propTypes.js +5 -0
  430. package/es/v1/lookup/Lookup/Lookup.js +3 -3
  431. package/es/v1/lookup/Lookup/props/defaultProps.js +8 -0
  432. package/es/v1/lookup/Lookup/props/propTypes.js +22 -0
  433. package/es/v1/lookup/Section/Section.js +1 -1
  434. package/es/v1/lookup/Section/props/propTypes.js +6 -0
  435. package/es/v1/lookup/header/Close/Close.js +2 -2
  436. package/es/v1/lookup/header/Close/props/defaultProps.js +3 -0
  437. package/es/v1/lookup/header/Close/props/propTypes.js +6 -0
  438. package/es/v1/lookup/header/ModuleHeader/ModuleHeader.js +2 -2
  439. package/es/v1/lookup/header/ModuleHeader/props/defaultProps.js +3 -0
  440. package/es/v1/lookup/header/ModuleHeader/props/propTypes.js +17 -0
  441. package/es/v1/lookup/header/Search/Search.js +2 -2
  442. package/es/v1/lookup/header/Search/props/defaultProps.js +5 -0
  443. package/es/v1/lookup/header/Search/props/propTypes.js +28 -0
  444. package/es/v1/lookup/header/TicketHeader/TicketHeader.js +2 -2
  445. package/es/v1/lookup/header/TicketHeader/props/defaultProps.js +4 -0
  446. package/es/v1/lookup/header/TicketHeader/props/propTypes.js +20 -0
  447. package/es/v1/lookup/header/Title/Title.js +2 -2
  448. package/es/v1/lookup/header/Title/props/defaultProps.js +3 -0
  449. package/es/v1/lookup/header/Title/props/propTypes.js +6 -0
  450. package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +2 -2
  451. package/es/v1/lookup/header/ViewDropDown/props/defaultProps.js +7 -0
  452. package/es/v1/lookup/header/ViewDropDown/props/propTypes.js +22 -0
  453. package/es/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
  454. package/es/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
  455. package/es/v1/setup/header/Button/Button.js +2 -2
  456. package/es/v1/setup/header/Button/props/defaultProps.js +4 -0
  457. package/es/v1/setup/header/Button/props/propTypes.js +7 -0
  458. package/es/v1/setup/header/Link/Link.js +2 -2
  459. package/es/v1/setup/header/Link/props/defaultProps.js +4 -0
  460. package/es/v1/setup/header/Link/props/propTypes.js +8 -0
  461. package/es/v1/setup/header/Search/Search.js +2 -2
  462. package/es/v1/setup/header/Search/props/defaultProps.js +5 -0
  463. package/es/v1/setup/header/Search/props/propTypes.js +11 -0
  464. package/es/v1/setup/header/Views/Views.js +2 -2
  465. package/es/v1/setup/header/Views/props/defaultProps.js +6 -0
  466. package/es/v1/setup/header/Views/props/propTypes.js +9 -0
  467. package/es/v1/setup/helptips/Description/Description.js +1 -1
  468. package/es/v1/setup/helptips/Description/props/propTypes.js +4 -0
  469. package/es/v1/setup/helptips/Link/Link.js +1 -1
  470. package/es/v1/setup/helptips/Link/props/propTypes.js +7 -0
  471. package/es/v1/setup/helptips/ListGroup/ListGroup.js +1 -1
  472. package/es/v1/setup/helptips/ListGroup/props/propTypes.js +5 -0
  473. package/es/v1/setup/helptips/Title/Title.js +1 -1
  474. package/es/v1/setup/helptips/Title/props/propTypes.js +4 -0
  475. package/es/v1/setup/table/Table/Table.js +2 -2
  476. package/es/v1/setup/table/Table/props/defaultProps.js +4 -0
  477. package/es/v1/setup/table/Table/props/propTypes.js +6 -0
  478. package/es/v1/setup/table/TableBody/TableBody.js +2 -2
  479. package/es/v1/setup/table/TableBody/props/defaultProps.js +3 -0
  480. package/es/v1/setup/table/TableBody/props/propTypes.js +7 -0
  481. package/es/v1/setup/table/TableData/TableData.js +2 -2
  482. package/es/v1/setup/table/TableData/props/defaultProps.js +5 -0
  483. package/es/v1/setup/table/TableData/props/propTypes.js +11 -0
  484. package/es/v1/setup/table/TableHead/TableHead.js +2 -2
  485. package/es/v1/setup/table/TableHead/props/defaultProps.js +4 -0
  486. package/es/v1/setup/table/TableHead/props/propTypes.js +8 -0
  487. package/es/v1/setup/table/TableRow/TableRow.js +2 -2
  488. package/es/v1/setup/table/TableRow/props/defaultProps.js +4 -0
  489. package/es/v1/setup/table/TableRow/props/propTypes.js +11 -0
  490. package/es/v1/setup/table/Text/Text.js +2 -2
  491. package/es/v1/setup/table/Text/props/defaultProps.js +7 -0
  492. package/es/v1/setup/table/Text/props/propTypes.js +13 -0
  493. package/es/v1/svg/PlusIcon.js +3 -3
  494. package/es/v1/svg/SnippetIcon.js +4 -4
  495. package/es/v1/svg/TemplateIcon.js +2 -2
  496. package/es/v1/svg/props/defaultProps.js +15 -0
  497. package/es/v1/svg/props/propTypes.js +16 -0
  498. package/es/v1/utils/ChannelIconMapping.js +129 -0
  499. package/es/v1/utils/General.js +45 -0
  500. package/es/v1/utils/editorUtils.js +193 -0
  501. package/es/version2/AlertClose/AlertClose.module.css +42 -42
  502. package/es/version2/GlobalNotification/GlobalNotification.js +33 -26
  503. package/es/version2/GlobalNotification/GlobalNotification.module.css +190 -130
  504. package/es/version2/GlobalNotification/props/propTypes.js +9 -4
  505. package/es/version2/alertIcons/AlertIcons.module.css +67 -67
  506. package/es/version2/errorstate/V2_ErrorStates.module.css +46 -46
  507. package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +88 -88
  508. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  509. package/es/version2/lookup/alertLookupCommonNew.module.css +32 -32
  510. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +133 -133
  511. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +1 -1
  512. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +134 -134
  513. package/install.md +12 -12
  514. package/lib/ActionButton/ActionButton.js +41 -32
  515. package/lib/ActionButton/ActionButton.module.css +146 -146
  516. package/lib/ActionButton/props/propTypes.js +2 -1
  517. package/lib/AlphabeticList/AlphabeticList.module.css +59 -59
  518. package/lib/Attachment/Attachment.module.css +165 -163
  519. package/lib/AttachmentViewer/AttachmentViewer.module.css +354 -354
  520. package/lib/ChannelIcon/ChannelIcon.module.css +221 -221
  521. package/lib/Drawer/Drawer.js +3 -6
  522. package/lib/Drawer/Drawer.module.css +190 -190
  523. package/lib/ExternalLink/ExternalLink.js +0 -0
  524. package/lib/ExternalLink/ExternalLink.module.css +3 -3
  525. package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  526. package/lib/FlipCard/FlipCard.module.css +44 -44
  527. package/lib/FormAction/FormAction.module.css +84 -84
  528. package/lib/FreezeLayer/css/FreezeLayer.module.css +42 -42
  529. package/lib/Hooks/Dragger/css/Dragger.module.css +2 -2
  530. package/lib/IconButton/IconButton.module.css +23 -23
  531. package/lib/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +316 -316
  532. package/lib/Image/Image.module.css +11 -11
  533. package/lib/Image/__tests__/__snapshots__/Image.spec.js.snap +74 -74
  534. package/lib/ImportantNotes/ImportantNotes.module.css +24 -20
  535. package/lib/Link/Link.js +1 -2
  536. package/lib/Link/Link.module.css +3 -3
  537. package/lib/Loader/Loader.module.css +47 -47
  538. package/lib/Message/Message.module.css +102 -102
  539. package/lib/MessageBanner/MessageBanner.module.css +46 -46
  540. package/lib/NewStar/NewStar.module.css +183 -183
  541. package/lib/PlusIcon/PlusIcon.js +0 -0
  542. package/lib/PlusIcon/PlusIcon.module.css +18 -18
  543. package/lib/Separator/Separator.module.css +34 -34
  544. package/lib/TagWithIcon/TagWithIcon.module.css +69 -69
  545. package/lib/ToastMessage/ToastMessage.js +0 -0
  546. package/lib/ToastMessage/ToastMessage.module.css +329 -328
  547. package/lib/Upload/Upload.module.css +125 -125
  548. package/lib/alert/AlertHeader/AlertHeader.module.css +80 -80
  549. package/lib/alert/AlertLookup/AlertLookup.module.css +26 -26
  550. package/lib/avatar/AvatarClose/AvatarClose.module.css +37 -37
  551. package/lib/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  552. package/lib/avatar/AvatarIcon/AvatarIcon.module.css +64 -64
  553. package/lib/avatar/AvatarStatus/AvatarStatus.js +0 -1
  554. package/lib/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  555. package/lib/avatar/AvatarThread/AvatarThread.module.css +166 -166
  556. package/lib/avatar/AvatarUser/AvatarUser.js +0 -0
  557. package/lib/avatar/AvatarUser/AvatarUser.module.css +171 -171
  558. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  559. package/lib/common/dot_animation.module.css +26 -26
  560. package/lib/common/dot_boxShadow.module.css +37 -37
  561. package/lib/common/dot_common.module.css +3 -3
  562. package/lib/deprecated/FreezeLayer/_FreezeLayer.module.css +42 -42
  563. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +59 -56
  564. package/lib/deprecated/utils/KeyboardApi.js +25 -25
  565. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +100 -100
  566. package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
  567. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +92 -89
  568. package/lib/emptystate/EditionPage/EditionPage.css +43 -43
  569. package/lib/errorstate/EmptyStates.module.css +87 -87
  570. package/lib/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  571. package/lib/errorstate/LinkText/LinkText.module.css +6 -6
  572. package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  573. package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  574. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  575. package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  576. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  577. package/lib/errorstate/WillBack/WillBack.module.css +34 -34
  578. package/lib/form/fields/CheckBoxField/CheckBoxField.js +0 -0
  579. package/lib/form/fields/Fields.module.css +183 -183
  580. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  581. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  582. package/lib/form/fields/TextEditor/TextEditor.module.css +770 -770
  583. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +37 -37
  584. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +28 -28
  585. package/lib/form/layout/Field/Field.js +0 -0
  586. package/lib/form/layout/Field/Field.module.css +22 -22
  587. package/lib/form/layout/Section/ModuleFormSection.module.css +3 -3
  588. package/lib/form/layout/Section/Section.js +0 -0
  589. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  590. package/lib/layout/SubtabLayout/SubtabLayout.module.css +166 -166
  591. package/lib/list/AvatarFlip/AvatarFlip.module.css +3 -3
  592. package/lib/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  593. package/lib/list/Comment/Comment.module.css +30 -30
  594. package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  595. package/lib/list/Dot/Dot.module.css +16 -16
  596. package/lib/list/DotNew/DotNew.module.css +24 -24
  597. package/lib/list/GridStencils/GridStencils.module.css +146 -146
  598. package/lib/list/Icons/Icons.module.css +16 -16
  599. package/lib/list/ListLayout/ListLayout.js +1 -1
  600. package/lib/list/ListLayout/ListLayout.module.css +85 -85
  601. package/lib/list/ListStencils/ListStencils.module.css +67 -67
  602. package/lib/list/SecondaryText/SecondaryText.module.css +136 -136
  603. package/lib/list/SecondaryText/Website.js +0 -0
  604. package/lib/list/SecondryPanel/SecondryPanel.js +0 -0
  605. package/lib/list/SecondryPanel/SecondryPanel.module.css +5 -5
  606. package/lib/list/SentimentStatus/SentimentStatus.module.css +12 -12
  607. package/lib/list/Subject/Subject.module.css +28 -28
  608. package/lib/list/TagNew/TagNew.module.css +116 -116
  609. package/lib/list/Thread/Thread.module.css +43 -43
  610. package/lib/list/listCommon.module.css +78 -77
  611. package/lib/list/status/StatusDropdown/StatusDropdown.js +6 -6
  612. package/lib/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
  613. package/lib/list/status/StatusListItem/StatusListItem.js +0 -0
  614. package/lib/list/status/StatusListItem/StatusListItem.module.css +111 -111
  615. package/lib/lookup/EmptyPage/EmptyPage.js +0 -0
  616. package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  617. package/lib/lookup/Lookup/Lookup.js +1 -1
  618. package/lib/lookup/Lookup/Lookup.module.css +26 -26
  619. package/lib/lookup/Section/LookupSection.module.css +7 -7
  620. package/lib/lookup/header/Close/LookupClose.module.css +15 -15
  621. package/lib/lookup/header/Search/LookupSearch.module.css +57 -57
  622. package/lib/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  623. package/lib/lookup/header/Title/LookupTitle.module.css +20 -20
  624. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  625. package/lib/lookup/header/lookupHeaderCommon.module.css +41 -41
  626. package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  627. package/lib/setup/header/Button/HeaderButton.module.css +5 -5
  628. package/lib/setup/header/Link/HeaderLink.module.css +21 -21
  629. package/lib/setup/header/Search/Search.module.css +70 -69
  630. package/lib/setup/header/Views/Views.module.css +38 -37
  631. package/lib/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  632. package/lib/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  633. package/lib/setup/helptips/Link/Link.js +0 -0
  634. package/lib/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  635. package/lib/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  636. package/lib/setup/helptips/Title/Title.js +0 -0
  637. package/lib/setup/table/TableData/SetupTableData.module.css +44 -44
  638. package/lib/setup/table/TableData/Tablehover.module.css +6 -6
  639. package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -12
  640. package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -14
  641. package/lib/setup/table/Text/TableText.module.css +37 -37
  642. package/lib/setup/table/Text/Text.js +0 -0
  643. package/lib/svg/PlusIcon.js +1 -1
  644. package/lib/svg/SnippetIcon.js +2 -2
  645. package/lib/v1/ActionButton/ActionButton.js +9 -4
  646. package/lib/v1/ActionButton/props/defaultProps.js +24 -0
  647. package/lib/v1/ActionButton/props/propTypes.js +44 -0
  648. package/lib/v1/AlphabeticList/AlphabeticList.js +2 -2
  649. package/lib/v1/AlphabeticList/props/defaultProps.js +20 -0
  650. package/lib/v1/AlphabeticList/props/propTypes.js +50 -0
  651. package/lib/v1/Attachment/Attachment.js +2 -2
  652. package/lib/v1/Attachment/props/defaultProps.js +14 -0
  653. package/lib/v1/Attachment/props/propTypes.js +28 -0
  654. package/lib/v1/AttachmentViewer/AttachmentImage.js +2 -2
  655. package/lib/v1/AttachmentViewer/AttachmentViewer.js +2 -2
  656. package/lib/v1/AttachmentViewer/props/defaultProps.js +18 -0
  657. package/lib/v1/AttachmentViewer/props/propTypes.js +43 -0
  658. package/lib/v1/ChannelIcon/ChannelIcon.js +3 -3
  659. package/lib/v1/ChannelIcon/props/defaultProps.js +14 -0
  660. package/lib/v1/ChannelIcon/props/propTypes.js +36 -0
  661. package/lib/v1/Drawer/Drawer.js +4 -7
  662. package/lib/v1/Drawer/props/defaultProps.js +31 -0
  663. package/lib/v1/Drawer/props/propTypes.js +66 -0
  664. package/lib/v1/ExternalLink/ExternalLink.js +2 -2
  665. package/lib/v1/ExternalLink/props/defaultProps.js +12 -0
  666. package/lib/v1/ExternalLink/props/propTypes.js +23 -0
  667. package/lib/v1/FlipCard/FlipCard.js +2 -2
  668. package/lib/v1/FlipCard/props/defaultProps.js +12 -0
  669. package/lib/v1/FlipCard/props/propTypes.js +48 -0
  670. package/lib/v1/FormAction/FormAction.js +2 -2
  671. package/lib/v1/FormAction/props/defaultProps.js +12 -0
  672. package/lib/v1/FormAction/props/propTypes.js +19 -0
  673. package/lib/v1/FreezeLayer/FreezeLayer.js +2 -2
  674. package/lib/v1/FreezeLayer/props/defaultProps.js +16 -0
  675. package/lib/v1/FreezeLayer/props/propTypes.js +31 -0
  676. package/lib/v1/GlobalNotification/GlobalNotification.js +2 -2
  677. package/lib/v1/GlobalNotification/props/defaultProps.js +11 -0
  678. package/lib/v1/GlobalNotification/props/propTypes.js +45 -0
  679. package/lib/v1/IconButton/IconButton.js +2 -2
  680. package/lib/v1/IconButton/props/defaultProps.js +24 -0
  681. package/lib/v1/IconButton/props/propTypes.js +43 -0
  682. package/lib/v1/Image/Image.js +2 -2
  683. package/lib/v1/Image/props/defaultProps.js +11 -0
  684. package/lib/v1/Image/props/propTypes.js +24 -0
  685. package/lib/v1/ImportantNotes/ImportantNotes.js +2 -2
  686. package/lib/v1/ImportantNotes/props/defaultProps.js +13 -0
  687. package/lib/v1/ImportantNotes/props/propTypes.js +21 -0
  688. package/lib/v1/Link/Link.js +3 -4
  689. package/lib/v1/Link/props/defaultProps.js +12 -0
  690. package/lib/v1/Link/props/propTypes.js +29 -0
  691. package/lib/v1/Message/Message.js +2 -2
  692. package/lib/v1/Message/props/defaultProps.js +11 -0
  693. package/lib/v1/Message/props/propTypes.js +41 -0
  694. package/lib/v1/MessageBanner/MessageBanner.js +2 -2
  695. package/lib/v1/MessageBanner/props/defaultProps.js +14 -0
  696. package/lib/v1/MessageBanner/props/propTypes.js +24 -0
  697. package/lib/v1/NewStar/NewStar.js +2 -2
  698. package/lib/v1/NewStar/props/defaultProps.js +11 -0
  699. package/lib/v1/NewStar/props/propTypes.js +17 -0
  700. package/lib/v1/PlusIcon/PlusIcon.js +2 -2
  701. package/lib/v1/PlusIcon/props/defaultProps.js +15 -0
  702. package/lib/v1/PlusIcon/props/propTypes.js +22 -0
  703. package/lib/v1/Provider/Config.js +29 -0
  704. package/lib/v1/Separator/Separator.js +2 -2
  705. package/lib/v1/Separator/props/defaultProps.js +19 -0
  706. package/lib/v1/Separator/props/propTypes.js +22 -0
  707. package/lib/v1/TagWithIcon/TagWithIcon.js +2 -2
  708. package/lib/v1/TagWithIcon/props/defaultProps.js +15 -0
  709. package/lib/v1/TagWithIcon/props/propTypes.js +24 -0
  710. package/lib/v1/ToastMessage/ToastMessage.js +2 -2
  711. package/lib/v1/ToastMessage/props/defaultProps.js +25 -0
  712. package/lib/v1/ToastMessage/props/propTypes.js +51 -0
  713. package/lib/v1/Upload/Upload.js +2 -2
  714. package/lib/v1/Upload/props/defaultProps.js +14 -0
  715. package/lib/v1/Upload/props/propTypes.js +28 -0
  716. package/lib/v1/actions/AutoClose.js +2 -2
  717. package/lib/v1/actions/props/defaultProps.js +10 -0
  718. package/lib/v1/actions/props/propTypes.js +19 -0
  719. package/lib/v1/alert/AlertClose/AlertClose.js +1 -1
  720. package/lib/v1/alert/AlertClose/props/propTypes.js +19 -0
  721. package/lib/v1/alert/alertIcons/AlarmAlertIcon.js +2 -2
  722. package/lib/v1/alert/alertIcons/AlertIcons.js +2 -2
  723. package/lib/v1/alert/alertIcons/DangerAlertIcon.js +2 -2
  724. package/lib/v1/alert/alertIcons/ErrorAlertIcon.js +2 -2
  725. package/lib/v1/alert/alertIcons/InfoAlertIcon.js +2 -2
  726. package/lib/v1/alert/alertIcons/NotificationAlertIcon.js +2 -2
  727. package/lib/v1/alert/alertIcons/SuccessAlertIcon.js +2 -2
  728. package/lib/v1/alert/alertIcons/WarningAlertIcon.js +2 -2
  729. package/lib/v1/alert/alertIcons/props/defaultProps.js +41 -0
  730. package/lib/v1/alert/alertIcons/props/propTypes.js +52 -0
  731. package/lib/v1/avatar/AvatarClose/AvatarClose.js +2 -2
  732. package/lib/v1/avatar/AvatarClose/props/defaultProps.js +13 -0
  733. package/lib/v1/avatar/AvatarClose/props/propTypes.js +25 -0
  734. package/lib/v1/avatar/AvatarCollision/AvatarCollision.js +2 -2
  735. package/lib/v1/avatar/AvatarCollision/props/defaultProps.js +15 -0
  736. package/lib/v1/avatar/AvatarCollision/props/propTypes.js +28 -0
  737. package/lib/v1/avatar/AvatarIcon/AvatarIcon.js +2 -2
  738. package/lib/v1/avatar/AvatarIcon/props/defaultProps.js +21 -0
  739. package/lib/v1/avatar/AvatarIcon/props/propTypes.js +31 -0
  740. package/lib/v1/avatar/AvatarStatus/AvatarStatus.js +2 -3
  741. package/lib/v1/avatar/AvatarStatus/props/defaultProps.js +19 -0
  742. package/lib/v1/avatar/AvatarStatus/props/propTypes.js +35 -0
  743. package/lib/v1/avatar/AvatarThread/AvatarThread.js +2 -2
  744. package/lib/v1/avatar/AvatarThread/props/defaultProps.js +16 -0
  745. package/lib/v1/avatar/AvatarThread/props/propTypes.js +41 -0
  746. package/lib/v1/avatar/AvatarUser/AvatarUser.js +2 -2
  747. package/lib/v1/avatar/AvatarUser/props/defaultProps.js +15 -0
  748. package/lib/v1/avatar/AvatarUser/props/propTypes.js +46 -0
  749. package/lib/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
  750. package/lib/v1/avatar/AvatarWithTeam/props/defaultProps.js +16 -0
  751. package/lib/v1/avatar/AvatarWithTeam/props/propTypes.js +36 -0
  752. package/lib/v1/dropdown/ToggleDropDown/ToggleDropDown.js +2 -2
  753. package/lib/v1/dropdown/ToggleDropDown/props/defaultProps.js +34 -0
  754. package/lib/v1/dropdown/ToggleDropDown/props/propTypes.js +90 -0
  755. package/lib/v1/emptystate/CommonEmptyState/CommonEmptyState.js +2 -2
  756. package/lib/v1/emptystate/CommonEmptyState/props/defaultProps.js +17 -0
  757. package/lib/v1/emptystate/CommonEmptyState/props/propTypes.js +32 -0
  758. package/lib/v1/emptystate/EditionPage/EditionPage.js +2 -2
  759. package/lib/v1/emptystate/EditionPage/props/defaultProps.js +12 -0
  760. package/lib/v1/emptystate/EditionPage/props/propTypes.js +22 -0
  761. package/lib/v1/errorstate/Inconvenience/Inconvenience.js +2 -2
  762. package/lib/v1/errorstate/Inconvenience/props/defaultProps.js +15 -0
  763. package/lib/v1/errorstate/Inconvenience/props/propTypes.js +27 -0
  764. package/lib/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +2 -2
  765. package/lib/v1/errorstate/OopsSomethingMiss/props/defaultProps.js +15 -0
  766. package/lib/v1/errorstate/OopsSomethingMiss/props/propTypes.js +27 -0
  767. package/lib/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +2 -2
  768. package/lib/v1/errorstate/UnableToProcessRequest/props/defaultProps.js +15 -0
  769. package/lib/v1/errorstate/UnableToProcessRequest/props/propTypes.js +27 -0
  770. package/lib/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +2 -2
  771. package/lib/v1/errorstate/UnauthorizedLogin/props/defaultProps.js +16 -0
  772. package/lib/v1/errorstate/UnauthorizedLogin/props/propTypes.js +28 -0
  773. package/lib/v1/errorstate/UrlNotFound/UrlNotFound.js +2 -2
  774. package/lib/v1/errorstate/UrlNotFound/props/defaultProps.js +15 -0
  775. package/lib/v1/errorstate/UrlNotFound/props/propTypes.js +27 -0
  776. package/lib/v1/errorstate/WillBeRightBack/WillBeRightBack.js +2 -2
  777. package/lib/v1/errorstate/WillBeRightBack/props/defaultProps.js +15 -0
  778. package/lib/v1/errorstate/WillBeRightBack/props/propTypes.js +27 -0
  779. package/lib/v1/form/fields/CheckBoxField/CheckBoxField.js +2 -2
  780. package/lib/v1/form/fields/CheckBoxField/props/defaultProps.js +27 -0
  781. package/lib/v1/form/fields/CheckBoxField/props/propTypes.js +45 -0
  782. package/lib/v1/form/fields/CurrencyField/CurrencyField.js +2 -2
  783. package/lib/v1/form/fields/CurrencyField/props/defaultProps.js +32 -0
  784. package/lib/v1/form/fields/CurrencyField/props/propTypes.js +57 -0
  785. package/lib/v1/form/fields/DateField/DateField.js +2 -2
  786. package/lib/v1/form/fields/DateField/props/defaultProps.js +34 -0
  787. package/lib/v1/form/fields/DateField/props/propTypes.js +57 -0
  788. package/lib/v1/form/fields/FieldContainer/FieldContainer.js +2 -2
  789. package/lib/v1/form/fields/FieldContainer/props/defaultProps.js +22 -0
  790. package/lib/v1/form/fields/FieldContainer/props/propTypes.js +35 -0
  791. package/lib/v1/form/fields/MultiSelectField/MultiSelectField.js +2 -2
  792. package/lib/v1/form/fields/MultiSelectField/props/defaultProps.js +32 -0
  793. package/lib/v1/form/fields/MultiSelectField/props/propTypes.js +68 -0
  794. package/lib/v1/form/fields/PhoneField/PhoneField.js +2 -2
  795. package/lib/v1/form/fields/PhoneField/props/defaultProps.js +23 -0
  796. package/lib/v1/form/fields/PhoneField/props/propTypes.js +58 -0
  797. package/lib/v1/form/fields/RadioField/RadioField.js +2 -2
  798. package/lib/v1/form/fields/RadioField/props/defaultProps.js +19 -0
  799. package/lib/v1/form/fields/RadioField/props/propTypes.js +41 -0
  800. package/lib/v1/form/fields/SelectField/SelectField.js +2 -2
  801. package/lib/v1/form/fields/SelectField/props/defaultProps.js +33 -0
  802. package/lib/v1/form/fields/SelectField/props/propTypes.js +68 -0
  803. package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -2
  804. package/lib/v1/form/fields/TagsMultiSelect/props/defaultProps.js +18 -0
  805. package/lib/v1/form/fields/TagsMultiSelect/props/propTypes.js +55 -0
  806. package/lib/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
  807. package/lib/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +34 -0
  808. package/lib/v1/form/fields/TagsMultiSelectField/props/propTypes.js +75 -0
  809. package/lib/v1/form/fields/TextBoxField/TextBoxField.js +2 -2
  810. package/lib/v1/form/fields/TextBoxField/props/defaultProps.js +32 -0
  811. package/lib/v1/form/fields/TextBoxField/props/propTypes.js +62 -0
  812. package/lib/v1/form/fields/TextEditor/TextEditor.js +2 -2
  813. package/lib/v1/form/fields/TextEditor/props/defaultProps.js +20 -0
  814. package/lib/v1/form/fields/TextEditor/props/propTypes.js +57 -0
  815. package/lib/v1/form/fields/TextEditorField/TextEditorField.js +2 -2
  816. package/lib/v1/form/fields/TextEditorField/props/defaultProps.js +30 -0
  817. package/lib/v1/form/fields/TextEditorField/props/propTypes.js +67 -0
  818. package/lib/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +2 -2
  819. package/lib/v1/form/fields/TextEditorWrapper/props/defaultProps.js +16 -0
  820. package/lib/v1/form/fields/TextEditorWrapper/props/propTypes.js +51 -0
  821. package/lib/v1/form/fields/TextareaField/TextareaField.js +2 -2
  822. package/lib/v1/form/fields/TextareaField/props/defaultProps.js +30 -0
  823. package/lib/v1/form/fields/TextareaField/props/propTypes.js +52 -0
  824. package/lib/v1/form/fields/ValidationMessage/ValidationMessage.js +2 -2
  825. package/lib/v1/form/fields/ValidationMessage/props/defaultProps.js +14 -0
  826. package/lib/v1/form/fields/ValidationMessage/props/propTypes.js +27 -0
  827. package/lib/v1/form/fields/props/FieldCommonDefaultProps.js +19 -0
  828. package/lib/v1/form/fields/props/FieldCommonPropTypes.js +28 -0
  829. package/lib/v1/form/layout/Field/Field.js +2 -2
  830. package/lib/v1/form/layout/Field/props/defaultProps.js +11 -0
  831. package/lib/v1/form/layout/Field/props/propTypes.js +21 -0
  832. package/lib/v1/form/layout/Section/Section.js +1 -1
  833. package/lib/v1/form/layout/Section/props/propTypes.js +22 -0
  834. package/lib/v1/layout/SetupDetailLayout/SetupDetailLayout.js +2 -2
  835. package/lib/v1/layout/SetupDetailLayout/props/defaultProps.js +30 -0
  836. package/lib/v1/layout/SetupDetailLayout/props/propTypes.js +54 -0
  837. package/lib/v1/layout/SubtabLayout/SubtabLayout.js +2 -2
  838. package/lib/v1/layout/SubtabLayout/props/defaultProps.js +35 -0
  839. package/lib/v1/layout/SubtabLayout/props/propTypes.js +54 -0
  840. package/lib/v1/list/AvatarFlip/AvatarFlip.js +2 -2
  841. package/lib/v1/list/AvatarFlip/props/defaultProps.js +13 -0
  842. package/lib/v1/list/AvatarFlip/props/propTypes.js +40 -0
  843. package/lib/v1/list/BluePrintStatus/BluePrintStatus.js +1 -1
  844. package/lib/v1/list/BluePrintStatus/props/propTypes.js +15 -0
  845. package/lib/v1/list/Comment/Comment.js +2 -2
  846. package/lib/v1/list/Comment/props/defaultProps.js +11 -0
  847. package/lib/v1/list/Comment/props/propTypes.js +18 -0
  848. package/lib/v1/list/DepartmentDropDown/DepartmentDropDown.js +2 -2
  849. package/lib/v1/list/DepartmentDropDown/props/defaultProps.js +14 -0
  850. package/lib/v1/list/DepartmentDropDown/props/propTypes.js +35 -0
  851. package/lib/v1/list/Dot/Dot.js +2 -2
  852. package/lib/v1/list/Dot/props/defaultProps.js +11 -0
  853. package/lib/v1/list/Dot/props/propTypes.js +16 -0
  854. package/lib/v1/list/DotNew/DotNew.js +2 -2
  855. package/lib/v1/list/DotNew/props/defaultProps.js +10 -0
  856. package/lib/v1/list/DotNew/props/propTypes.js +17 -0
  857. package/lib/v1/list/GridStencils/GridStencils.js +1 -1
  858. package/lib/v1/list/GridStencils/props/propTypes.js +19 -0
  859. package/lib/v1/list/Icons/AddNewIcon.js +1 -1
  860. package/lib/v1/list/Icons/CompleteIcon.js +1 -1
  861. package/lib/v1/list/Icons/DeleteIcon.js +1 -1
  862. package/lib/v1/list/Icons/EditIcon.js +1 -1
  863. package/lib/v1/list/Icons/FloatingIcons.js +2 -2
  864. package/lib/v1/list/Icons/ReadUnreadIcon.js +2 -2
  865. package/lib/v1/list/Icons/SmartIcon.js +1 -1
  866. package/lib/v1/list/Icons/props/defaultProps.js +14 -0
  867. package/lib/v1/list/Icons/props/propTypes.js +70 -0
  868. package/lib/v1/list/ListLayout/ListLayout.js +3 -3
  869. package/lib/v1/list/ListLayout/props/defaultProps.js +18 -0
  870. package/lib/v1/list/ListLayout/props/propTypes.js +41 -0
  871. package/lib/v1/list/ListStencils/ListStencils.js +2 -2
  872. package/lib/v1/list/ListStencils/props/defaultProps.js +10 -0
  873. package/lib/v1/list/ListStencils/props/propTypes.js +15 -0
  874. package/lib/v1/list/SecondaryText/AccountName.js +2 -2
  875. package/lib/v1/list/SecondaryText/ContactName.js +2 -2
  876. package/lib/v1/list/SecondaryText/DepartmentText.js +1 -1
  877. package/lib/v1/list/SecondaryText/Email.js +2 -2
  878. package/lib/v1/list/SecondaryText/HappinessRating.js +1 -1
  879. package/lib/v1/list/SecondaryText/PhoneNumber.js +2 -2
  880. package/lib/v1/list/SecondaryText/PriorityText.js +2 -2
  881. package/lib/v1/list/SecondaryText/SecondaryText.js +2 -2
  882. package/lib/v1/list/SecondaryText/StatusText.js +2 -2
  883. package/lib/v1/list/SecondaryText/TicketId.js +2 -2
  884. package/lib/v1/list/SecondaryText/Website.js +2 -2
  885. package/lib/v1/list/SecondaryText/props/defaultProps.js +59 -0
  886. package/lib/v1/list/SecondaryText/props/propTypes.js +163 -0
  887. package/lib/v1/list/SecondryPanel/SecondryPanel.js +2 -2
  888. package/lib/v1/list/SecondryPanel/props/defaultProps.js +28 -0
  889. package/lib/v1/list/SecondryPanel/props/propTypes.js +41 -0
  890. package/lib/v1/list/SentimentStatus/SentimentStatus.js +1 -1
  891. package/lib/v1/list/SentimentStatus/props/propTypes.js +16 -0
  892. package/lib/v1/list/Subject/Subject.js +2 -2
  893. package/lib/v1/list/Subject/props/defaultProps.js +14 -0
  894. package/lib/v1/list/Subject/props/propTypes.js +30 -0
  895. package/lib/v1/list/TagNew/TagNew.js +2 -2
  896. package/lib/v1/list/TagNew/props/defaultProps.js +11 -0
  897. package/lib/v1/list/TagNew/props/propTypes.js +19 -0
  898. package/lib/v1/list/Thread/Thread.js +2 -2
  899. package/lib/v1/list/Thread/props/defaultProps.js +11 -0
  900. package/lib/v1/list/Thread/props/propTypes.js +19 -0
  901. package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +8 -8
  902. package/lib/v1/list/status/StatusDropdown/props/defaultProps.js +26 -0
  903. package/lib/v1/list/status/StatusDropdown/props/propTypes.js +34 -0
  904. package/lib/v1/list/status/StatusListItem/StatusListItem.js +2 -2
  905. package/lib/v1/list/status/StatusListItem/props/defaultProps.js +22 -0
  906. package/lib/v1/list/status/StatusListItem/props/propTypes.js +40 -0
  907. package/lib/v1/lookup/EmptyPage/EmptyPage.js +2 -2
  908. package/lib/v1/lookup/EmptyPage/props/defaultProps.js +11 -0
  909. package/lib/v1/lookup/EmptyPage/props/propTypes.js +16 -0
  910. package/lib/v1/lookup/Lookup/Lookup.js +3 -3
  911. package/lib/v1/lookup/Lookup/props/defaultProps.js +15 -0
  912. package/lib/v1/lookup/Lookup/props/propTypes.js +33 -0
  913. package/lib/v1/lookup/Section/Section.js +1 -1
  914. package/lib/v1/lookup/Section/props/propTypes.js +17 -0
  915. package/lib/v1/lookup/header/Close/Close.js +2 -2
  916. package/lib/v1/lookup/header/Close/props/defaultProps.js +10 -0
  917. package/lib/v1/lookup/header/Close/props/propTypes.js +17 -0
  918. package/lib/v1/lookup/header/ModuleHeader/ModuleHeader.js +2 -2
  919. package/lib/v1/lookup/header/ModuleHeader/props/defaultProps.js +10 -0
  920. package/lib/v1/lookup/header/ModuleHeader/props/propTypes.js +28 -0
  921. package/lib/v1/lookup/header/Search/Search.js +2 -2
  922. package/lib/v1/lookup/header/Search/props/defaultProps.js +12 -0
  923. package/lib/v1/lookup/header/Search/props/propTypes.js +40 -0
  924. package/lib/v1/lookup/header/TicketHeader/TicketHeader.js +2 -2
  925. package/lib/v1/lookup/header/TicketHeader/props/defaultProps.js +11 -0
  926. package/lib/v1/lookup/header/TicketHeader/props/propTypes.js +31 -0
  927. package/lib/v1/lookup/header/Title/Title.js +2 -2
  928. package/lib/v1/lookup/header/Title/props/defaultProps.js +10 -0
  929. package/lib/v1/lookup/header/Title/props/propTypes.js +17 -0
  930. package/lib/v1/lookup/header/ViewDropDown/ViewDropDown.js +2 -2
  931. package/lib/v1/lookup/header/ViewDropDown/props/defaultProps.js +14 -0
  932. package/lib/v1/lookup/header/ViewDropDown/props/propTypes.js +33 -0
  933. package/lib/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
  934. package/lib/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
  935. package/lib/v1/setup/header/Button/Button.js +2 -2
  936. package/lib/v1/setup/header/Button/props/defaultProps.js +11 -0
  937. package/lib/v1/setup/header/Button/props/propTypes.js +18 -0
  938. package/lib/v1/setup/header/Link/Link.js +2 -2
  939. package/lib/v1/setup/header/Link/props/defaultProps.js +11 -0
  940. package/lib/v1/setup/header/Link/props/propTypes.js +19 -0
  941. package/lib/v1/setup/header/Search/Search.js +2 -2
  942. package/lib/v1/setup/header/Search/props/defaultProps.js +12 -0
  943. package/lib/v1/setup/header/Search/props/propTypes.js +22 -0
  944. package/lib/v1/setup/header/Views/Views.js +2 -2
  945. package/lib/v1/setup/header/Views/props/defaultProps.js +13 -0
  946. package/lib/v1/setup/header/Views/props/propTypes.js +20 -0
  947. package/lib/v1/setup/helptips/Description/Description.js +1 -1
  948. package/lib/v1/setup/helptips/Description/props/propTypes.js +15 -0
  949. package/lib/v1/setup/helptips/Link/Link.js +1 -1
  950. package/lib/v1/setup/helptips/Link/props/propTypes.js +18 -0
  951. package/lib/v1/setup/helptips/ListGroup/ListGroup.js +1 -1
  952. package/lib/v1/setup/helptips/ListGroup/props/propTypes.js +16 -0
  953. package/lib/v1/setup/helptips/Title/Title.js +1 -1
  954. package/lib/v1/setup/helptips/Title/props/propTypes.js +15 -0
  955. package/lib/v1/setup/table/Table/Table.js +2 -2
  956. package/lib/v1/setup/table/Table/props/defaultProps.js +11 -0
  957. package/lib/v1/setup/table/Table/props/propTypes.js +17 -0
  958. package/lib/v1/setup/table/TableBody/TableBody.js +2 -2
  959. package/lib/v1/setup/table/TableBody/props/defaultProps.js +10 -0
  960. package/lib/v1/setup/table/TableBody/props/propTypes.js +18 -0
  961. package/lib/v1/setup/table/TableData/TableData.js +2 -2
  962. package/lib/v1/setup/table/TableData/props/defaultProps.js +12 -0
  963. package/lib/v1/setup/table/TableData/props/propTypes.js +22 -0
  964. package/lib/v1/setup/table/TableHead/TableHead.js +2 -2
  965. package/lib/v1/setup/table/TableHead/props/defaultProps.js +11 -0
  966. package/lib/v1/setup/table/TableHead/props/propTypes.js +19 -0
  967. package/lib/v1/setup/table/TableRow/TableRow.js +2 -2
  968. package/lib/v1/setup/table/TableRow/props/defaultProps.js +11 -0
  969. package/lib/v1/setup/table/TableRow/props/propTypes.js +22 -0
  970. package/lib/v1/setup/table/Text/Text.js +2 -2
  971. package/lib/v1/setup/table/Text/props/defaultProps.js +14 -0
  972. package/lib/v1/setup/table/Text/props/propTypes.js +24 -0
  973. package/lib/v1/svg/PlusIcon.js +3 -3
  974. package/lib/v1/svg/SnippetIcon.js +4 -4
  975. package/lib/v1/svg/TemplateIcon.js +2 -2
  976. package/lib/v1/svg/props/defaultProps.js +24 -0
  977. package/lib/v1/svg/props/propTypes.js +29 -0
  978. package/lib/v1/utils/ChannelIconMapping.js +138 -0
  979. package/lib/v1/utils/General.js +58 -0
  980. package/lib/v1/utils/editorUtils.js +223 -0
  981. package/lib/version2/AlertClose/AlertClose.module.css +42 -42
  982. package/lib/version2/GlobalNotification/GlobalNotification.js +64 -36
  983. package/lib/version2/GlobalNotification/GlobalNotification.module.css +190 -130
  984. package/lib/version2/GlobalNotification/props/propTypes.js +9 -4
  985. package/lib/version2/alertIcons/AlertIcons.module.css +67 -67
  986. package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -46
  987. package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +88 -88
  988. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  989. package/lib/version2/lookup/alertLookupCommonNew.module.css +32 -32
  990. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +133 -133
  991. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +1 -1
  992. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +134 -134
  993. package/package.json +85 -83
  994. package/postPublish.js +8 -8
  995. package/prePublish.js +70 -70
  996. package/propValidationArg.json +7 -7
  997. package/react-cli.config.js +23 -23
  998. package/result.json +1 -1
  999. package/unittest/index.html +1 -1
@@ -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
+ }
@@ -1,43 +1,43 @@
1
- .close {
2
- width: var(--zd_size25) ;
3
- height: var(--zd_size25) ;
4
- color: var(--zdt_commonalert_close_icon);
5
- border-radius: var(--zd_size4);
6
- cursor: pointer;
7
- }
8
-
9
- .closeIcon {
10
- display: block;
11
- }
12
-
13
- .light {
14
- color: var(--zdt_commonalert_close_light_icon);
15
- }
16
-
17
- .close:hover {
18
- background-color: var(--zdt_commonalert_close_hover_bg);
19
- }
20
-
21
- .light:hover {
22
- background-color: var(--zdt_commonalert_light_hover_bg);
23
- }
24
-
25
- .success:hover {
26
- background-color: var(--zdt_commonalert_success_hover_bg);
27
- }
28
-
29
- .info:hover {
30
- background-color:var(--zdt_commonalert_info_hover_bg);
31
- }
32
-
33
- .warning:hover {
34
- background-color: var(--zdt_commonalert_warning_hover_bg);
35
- }
36
-
37
- .danger:hover {
38
- background-color: var(--zdt_commonalert_danger_hover_bg);
39
- }
40
-
41
- .error:hover {
42
- background-color: var(--zdt_commonalert_error_hover_bg);
1
+ .close {
2
+ width: var(--zd_size25) ;
3
+ height: var(--zd_size25) ;
4
+ color: var(--zdt_commonalert_close_icon);
5
+ border-radius: var(--zd_size4);
6
+ cursor: pointer;
7
+ }
8
+
9
+ .closeIcon {
10
+ display: block;
11
+ }
12
+
13
+ .light {
14
+ color: var(--zdt_commonalert_close_light_icon);
15
+ }
16
+
17
+ .close:hover {
18
+ background-color: var(--zdt_commonalert_close_hover_bg);
19
+ }
20
+
21
+ .light:hover {
22
+ background-color: var(--zdt_commonalert_light_hover_bg);
23
+ }
24
+
25
+ .success:hover {
26
+ background-color: var(--zdt_commonalert_success_hover_bg);
27
+ }
28
+
29
+ .info:hover {
30
+ background-color:var(--zdt_commonalert_info_hover_bg);
31
+ }
32
+
33
+ .warning:hover {
34
+ background-color: var(--zdt_commonalert_warning_hover_bg);
35
+ }
36
+
37
+ .danger:hover {
38
+ background-color: var(--zdt_commonalert_danger_hover_bg);
39
+ }
40
+
41
+ .error:hover {
42
+ background-color: var(--zdt_commonalert_error_hover_bg);
43
43
  }
@@ -1,6 +1,6 @@
1
1
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
- import React from 'react';
3
+ import React, { useState } from 'react';
4
4
  import { defaultProps } from './props/defaultProps';
5
5
  import { propTypes, UI_propTypes, new_propTypes } from './props/propTypes';
6
6
  import AutoClose from '../../actions/AutoClose';
@@ -8,40 +8,34 @@ import AlertIcons from '../alertIcons/AlertIcons';
8
8
  import AlertClose from '../AlertClose/AlertClose';
9
9
  import style from './GlobalNotification.module.css';
10
10
  import { Container, Box } from '@zohodesk/components/lib/Layout';
11
+ import { cancelBubblingEffect } from '@zohodesk/components/es/utils/Common';
11
12
  export default class GlobalNotification extends React.Component {
12
13
  constructor(props) {
13
14
  super(props);
14
15
  this.state = {
15
16
  hideMessage: false
16
17
  };
18
+ this.setTimeoutId = null;
17
19
  }
18
20
 
19
- UNSAFE_componentWillReceiveProps(nextProps) {
21
+ componentDidMount() {
20
22
  let {
21
- showMessage,
22
23
  hideMessage,
23
- type
24
+ hideTime,
25
+ id,
26
+ needAutoClose
24
27
  } = this.props;
25
28
 
26
- if (showMessage !== nextProps.showMessage || type !== nextProps.type) {
27
- if (!['danger', 'error', 'warning'].includes(nextProps.type)) {
28
- setTimeout(() => {
29
- hideMessage();
30
- }, 3000);
31
- }
29
+ if (needAutoClose) {
30
+ this.setTimoutId = setTimeout(() => {
31
+ hideMessage(id);
32
+ }, hideTime);
32
33
  }
33
34
  }
34
35
 
35
- componentDidMount() {
36
- let {
37
- type,
38
- hideMessage
39
- } = this.props;
40
-
41
- if (!['danger', 'error', 'warning'].includes(type)) {
42
- setTimeout(() => {
43
- hideMessage();
44
- }, 3000);
36
+ componentWillUnmount() {
37
+ if (this.setTimeoutId) {
38
+ clearTimeout(this.setTimeoutId);
45
39
  }
46
40
  }
47
41
 
@@ -53,7 +47,10 @@ export default class GlobalNotification extends React.Component {
53
47
  onClick,
54
48
  i18nKeys = {},
55
49
  customProps,
56
- dataSelectorId
50
+ dataSelectorId,
51
+ id,
52
+ needNotificationExpandUI,
53
+ notificationCount
57
54
  } = this.props;
58
55
  let {
59
56
  closeTitle = 'Close'
@@ -65,7 +62,10 @@ export default class GlobalNotification extends React.Component {
65
62
  onClick: onClick,
66
63
  closeTitle: closeTitle,
67
64
  customProps: customProps,
68
- dataSelectorId: dataSelectorId
65
+ dataSelectorId: dataSelectorId,
66
+ id: id,
67
+ needNotificationExpandUI: needNotificationExpandUI,
68
+ notificationCount: notificationCount
69
69
  });
70
70
  }
71
71
 
@@ -79,12 +79,17 @@ GlobalNotification.defaultProps = defaultProps; // if (__DOCS__) {
79
79
  // }
80
80
 
81
81
  export function GlobalNotificationUI(props) {
82
+ const [shadowClose, setshadowClose] = useState(true);
83
+
82
84
  function onClose(e) {
85
+ setshadowClose(false);
83
86
  let {
84
87
  hideMessage,
85
- onClose
88
+ onClose,
89
+ id
86
90
  } = props;
87
- hideMessage && hideMessage(e);
91
+ cancelBubblingEffect(e);
92
+ hideMessage && hideMessage(id);
88
93
  onClose && onClose(e);
89
94
  }
90
95
 
@@ -94,13 +99,15 @@ export function GlobalNotificationUI(props) {
94
99
  onClick,
95
100
  closeTitle = '',
96
101
  customProps = {},
97
- dataSelectorId
102
+ dataSelectorId,
103
+ needNotificationExpandUI,
104
+ notificationCount
98
105
  } = props;
99
106
  let {
100
107
  ExtraProps = {}
101
108
  } = customProps;
102
109
  return /*#__PURE__*/React.createElement("div", _extends({
103
- className: `${style.message} ${type ? style[type] : ''}`,
110
+ className: `${style.message} ${!needNotificationExpandUI && notificationCount > 1 && shadowClose ? style.stackShadowOne : ''} ${!needNotificationExpandUI && notificationCount > 2 && shadowClose ? style.stackShadowTwo : ''} ${type ? style[type] : ''}`,
104
111
  "data-id": `show_${type}_message`,
105
112
  "data-test-id": `show_${type}_message`,
106
113
  tabIndex: 0,