@zohodesk/dot 1.0.0-beta.234 → 1.0.0-beta.236

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 (738) hide show
  1. package/README.md +10 -0
  2. package/es/ActionButton/ActionButton.js +10 -48
  3. package/es/ActionButton/props/defaultProps.js +17 -0
  4. package/es/ActionButton/props/propTypes.js +31 -0
  5. package/es/AlphabeticList/AlphabeticList.js +6 -33
  6. package/es/AlphabeticList/props/defaultProps.js +11 -0
  7. package/es/AlphabeticList/props/propTypes.js +22 -0
  8. package/es/Attachment/Attachment.js +4 -21
  9. package/es/Attachment/props/defaultProps.js +6 -0
  10. package/es/Attachment/props/propTypes.js +15 -0
  11. package/es/AttachmentViewer/AttachmentImage.js +4 -15
  12. package/es/AttachmentViewer/AttachmentViewer.js +4 -27
  13. package/es/AttachmentViewer/props/defaultProps.js +10 -0
  14. package/es/AttachmentViewer/props/propTypes.js +31 -0
  15. package/es/ChannelIcon/ChannelIcon.js +4 -30
  16. package/es/ChannelIcon/props/defaultProps.js +6 -0
  17. package/es/ChannelIcon/props/propTypes.js +24 -0
  18. package/es/Drawer/Drawer.js +9 -69
  19. package/es/Drawer/props/defaultProps.js +20 -0
  20. package/es/Drawer/props/propTypes.js +49 -0
  21. package/es/ExternalLink/ExternalLink.js +4 -17
  22. package/es/ExternalLink/props/defaultProps.js +5 -0
  23. package/es/ExternalLink/props/propTypes.js +12 -0
  24. package/es/FlipCard/FlipCard.js +4 -42
  25. package/es/FlipCard/props/defaultProps.js +5 -0
  26. package/es/FlipCard/props/propTypes.js +37 -0
  27. package/es/FormAction/FormAction.js +5 -12
  28. package/es/FormAction/props/defaultProps.js +4 -0
  29. package/es/FormAction/props/propTypes.js +7 -0
  30. package/es/FreezeLayer/FreezeLayer.js +4 -25
  31. package/es/FreezeLayer/props/defaultProps.js +8 -0
  32. package/es/FreezeLayer/props/propTypes.js +17 -0
  33. package/es/IconButton/IconButton.js +4 -46
  34. package/es/IconButton/props/defaultProps.js +15 -0
  35. package/es/IconButton/props/propTypes.js +31 -0
  36. package/es/Image/Image.js +4 -17
  37. package/es/Image/props/defaultProps.js +4 -0
  38. package/es/Image/props/propTypes.js +13 -0
  39. package/es/ImportantNotes/ImportantNotes.js +4 -16
  40. package/es/ImportantNotes/props/defaultProps.js +6 -0
  41. package/es/ImportantNotes/props/propTypes.js +10 -0
  42. package/es/Link/Link.js +4 -19
  43. package/es/Link/props/defaultProps.js +5 -0
  44. package/es/Link/props/propTypes.js +14 -0
  45. package/es/Message/Message.js +4 -15
  46. package/es/Message/props/defaultProps.js +3 -0
  47. package/es/Message/props/propTypes.js +12 -0
  48. package/es/MessageBanner/MessageBanner.js +4 -18
  49. package/es/MessageBanner/props/defaultProps.js +6 -0
  50. package/es/MessageBanner/props/propTypes.js +12 -0
  51. package/es/NewStar/NewStar.js +4 -10
  52. package/es/NewStar/props/defaultProps.js +4 -0
  53. package/es/NewStar/props/propTypes.js +6 -0
  54. package/es/PlusIcon/PlusIcon.js +4 -19
  55. package/es/PlusIcon/props/defaultProps.js +8 -0
  56. package/es/PlusIcon/props/propTypes.js +11 -0
  57. package/es/ToastMessage/ToastMessage.js +4 -55
  58. package/es/ToastMessage/props/defaultProps.js +17 -0
  59. package/es/ToastMessage/props/propTypes.js +38 -0
  60. package/es/Upload/Upload.js +4 -22
  61. package/es/Upload/props/defaultProps.js +6 -0
  62. package/es/Upload/props/propTypes.js +16 -0
  63. package/es/actions/AutoClose.js +4 -10
  64. package/es/actions/props/defaultProps.js +3 -0
  65. package/es/actions/props/propTypes.js +7 -0
  66. package/es/alert/AlertHeader/AlertHeader.js +4 -23
  67. package/es/alert/AlertHeader/props/defaultProps.js +8 -0
  68. package/es/alert/AlertHeader/props/propTypes.js +15 -0
  69. package/es/alert/AlertLookup/AlertLookup.js +14 -50
  70. package/es/alert/AlertLookup/props/defaultProps.js +14 -0
  71. package/es/alert/AlertLookup/props/propTypes.js +36 -0
  72. package/es/avatar/AvatarClose/AvatarClose.js +4 -18
  73. package/es/avatar/AvatarClose/props/defaultProps.js +5 -0
  74. package/es/avatar/AvatarClose/props/propTypes.js +13 -0
  75. package/es/avatar/AvatarCollision/AvatarCollision.js +4 -23
  76. package/es/avatar/AvatarCollision/props/defaultProps.js +7 -0
  77. package/es/avatar/AvatarCollision/props/propTypes.js +16 -0
  78. package/es/avatar/AvatarIcon/AvatarIcon.js +4 -32
  79. package/es/avatar/AvatarIcon/props/defaultProps.js +13 -0
  80. package/es/avatar/AvatarIcon/props/propTypes.js +19 -0
  81. package/es/avatar/AvatarStatus/AvatarStatus.js +4 -32
  82. package/es/avatar/AvatarStatus/props/defaultProps.js +9 -0
  83. package/es/avatar/AvatarStatus/props/propTypes.js +23 -0
  84. package/es/avatar/AvatarThread/AvatarThread.js +4 -37
  85. package/es/avatar/AvatarThread/props/defaultProps.js +8 -0
  86. package/es/avatar/AvatarThread/props/propTypes.js +29 -0
  87. package/es/avatar/AvatarUser/AvatarUser.js +4 -41
  88. package/es/avatar/AvatarUser/props/defaultProps.js +7 -0
  89. package/es/avatar/AvatarUser/props/propTypes.js +34 -0
  90. package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +4 -30
  91. package/es/avatar/AvatarWithTeam/props/defaultProps.js +7 -0
  92. package/es/avatar/AvatarWithTeam/props/propTypes.js +23 -0
  93. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +4 -94
  94. package/es/dropdown/ToggleDropDown/props/defaultProps.js +24 -0
  95. package/es/dropdown/ToggleDropDown/props/propTypes.js +70 -0
  96. package/es/emptystate/CommonEmptyState/CommonEmptyState.js +4 -31
  97. package/es/emptystate/CommonEmptyState/props/defaultProps.js +10 -0
  98. package/es/emptystate/CommonEmptyState/props/propTypes.js +21 -0
  99. package/es/emptystate/EditionPage/EditionPage.js +4 -12
  100. package/es/emptystate/EditionPage/props/defaultProps.js +5 -0
  101. package/es/emptystate/EditionPage/props/propTypes.js +7 -0
  102. package/es/errorstate/Inconvenience/Inconvenience.js +4 -15
  103. package/es/errorstate/Inconvenience/props/defaultProps.js +4 -0
  104. package/es/errorstate/Inconvenience/props/propTypes.js +11 -0
  105. package/es/errorstate/LinkText/LinkText.js +4 -12
  106. package/es/errorstate/LinkText/props/defaultProps.js +4 -0
  107. package/es/errorstate/LinkText/props/propTypes.js +8 -0
  108. package/es/errorstate/NoRequestFound/NoRequestFound.js +4 -15
  109. package/es/errorstate/NoRequestFound/props/defaultProps.js +4 -0
  110. package/es/errorstate/NoRequestFound/props/propTypes.js +11 -0
  111. package/es/errorstate/PermissionPlay/PermissionPlay.js +4 -15
  112. package/es/errorstate/PermissionPlay/props/defaultProps.js +4 -0
  113. package/es/errorstate/PermissionPlay/props/propTypes.js +11 -0
  114. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +4 -15
  115. package/es/errorstate/RequestUrlNotFound/props/defaultProps.js +4 -0
  116. package/es/errorstate/RequestUrlNotFound/props/propTypes.js +11 -0
  117. package/es/errorstate/UnableToProcess/UnableToProcess.js +4 -15
  118. package/es/errorstate/UnableToProcess/props/defaultProps.js +4 -0
  119. package/es/errorstate/UnableToProcess/props/propTypes.js +11 -0
  120. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +4 -15
  121. package/es/errorstate/UnauthorizedLogin/props/defaultProps.js +4 -0
  122. package/es/errorstate/UnauthorizedLogin/props/propTypes.js +11 -0
  123. package/es/errorstate/WillBack/WillBack.js +4 -9
  124. package/es/errorstate/WillBack/props/defaultProps.js +4 -0
  125. package/es/errorstate/WillBack/props/propTypes.js +5 -0
  126. package/es/form/fields/CheckBoxField/CheckBoxField.js +4 -40
  127. package/es/form/fields/CheckBoxField/props/defaultProps.js +11 -0
  128. package/es/form/fields/CheckBoxField/props/propTypes.js +27 -0
  129. package/es/form/fields/CurrencyField/CurrencyField.js +4 -54
  130. package/es/form/fields/CurrencyField/props/defaultProps.js +16 -0
  131. package/es/form/fields/CurrencyField/props/propTypes.js +36 -0
  132. package/es/form/fields/DateField/DateField.js +4 -59
  133. package/es/form/fields/DateField/props/defaultProps.js +18 -0
  134. package/es/form/fields/DateField/props/propTypes.js +39 -0
  135. package/es/form/fields/FieldContainer/FieldContainer.js +4 -16
  136. package/es/form/fields/FieldContainer/props/defaultProps.js +5 -0
  137. package/es/form/fields/FieldContainer/props/propTypes.js +11 -0
  138. package/es/form/fields/MultiSelectField/MultiSelectField.js +4 -68
  139. package/es/form/fields/MultiSelectField/props/defaultProps.js +16 -0
  140. package/es/form/fields/MultiSelectField/props/propTypes.js +50 -0
  141. package/es/form/fields/PhoneField/PhoneField.js +4 -55
  142. package/es/form/fields/PhoneField/props/defaultProps.js +15 -0
  143. package/es/form/fields/PhoneField/props/propTypes.js +40 -0
  144. package/es/form/fields/RadioField/RadioField.js +4 -41
  145. package/es/form/fields/RadioField/props/defaultProps.js +11 -0
  146. package/es/form/fields/RadioField/props/propTypes.js +30 -0
  147. package/es/form/fields/SelectField/SelectField.js +4 -67
  148. package/es/form/fields/SelectField/props/defaultProps.js +17 -0
  149. package/es/form/fields/SelectField/props/propTypes.js +50 -0
  150. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +4 -53
  151. package/es/form/fields/TagsMultiSelect/props/defaultProps.js +10 -0
  152. package/es/form/fields/TagsMultiSelect/props/propTypes.js +43 -0
  153. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +4 -72
  154. package/es/form/fields/TagsMultiSelectField/props/defaultProps.js +18 -0
  155. package/es/form/fields/TagsMultiSelectField/props/propTypes.js +52 -0
  156. package/es/form/fields/TextBoxField/TextBoxField.js +4 -55
  157. package/es/form/fields/TextBoxField/props/defaultProps.js +16 -0
  158. package/es/form/fields/TextBoxField/props/propTypes.js +37 -0
  159. package/es/form/fields/TextEditor/TextEditor.js +12 -56
  160. package/es/form/fields/TextEditor/props/defaultProps.js +12 -0
  161. package/es/form/fields/TextEditor/props/propTypes.js +40 -0
  162. package/es/form/fields/TextEditorField/TextEditorField.js +4 -63
  163. package/es/form/fields/TextEditorField/props/defaultProps.js +14 -0
  164. package/es/form/fields/TextEditorField/props/propTypes.js +47 -0
  165. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +4 -47
  166. package/es/form/fields/TextEditorWrapper/props/defaultProps.js +8 -0
  167. package/es/form/fields/TextEditorWrapper/props/propTypes.js +39 -0
  168. package/es/form/fields/TextareaField/TextareaField.js +4 -50
  169. package/es/form/fields/TextareaField/props/defaultProps.js +14 -0
  170. package/es/form/fields/TextareaField/props/propTypes.js +34 -0
  171. package/es/form/fields/ValidationMessage/ValidationMessage.js +4 -20
  172. package/es/form/fields/ValidationMessage/props/defaultProps.js +6 -0
  173. package/es/form/fields/ValidationMessage/props/propTypes.js +14 -0
  174. package/es/form/layout/Field/Field.js +4 -14
  175. package/es/form/layout/Field/props/defaultProps.js +4 -0
  176. package/es/form/layout/Field/props/propTypes.js +10 -0
  177. package/es/form/layout/Section/Section.js +2 -9
  178. package/es/form/layout/Section/props/propTypes.js +9 -0
  179. package/es/layout/SetupDetailLayout/SetupDetailLayout.js +10 -51
  180. package/es/layout/SetupDetailLayout/props/defaultProps.js +18 -0
  181. package/es/layout/SetupDetailLayout/props/propTypes.js +33 -0
  182. package/es/layout/SubtabLayout/SubtabLayout.js +10 -65
  183. package/es/layout/SubtabLayout/props/defaultProps.js +25 -0
  184. package/es/layout/SubtabLayout/props/propTypes.js +40 -0
  185. package/es/list/AvatarFlip/AvatarFlip.js +4 -33
  186. package/es/list/AvatarFlip/props/defaultProps.js +5 -0
  187. package/es/list/AvatarFlip/props/propTypes.js +28 -0
  188. package/es/list/BluePrintStatus/BluePrintStatus.js +2 -4
  189. package/es/list/BluePrintStatus/props/propTypes.js +4 -0
  190. package/es/list/Comment/Comment.js +4 -12
  191. package/es/list/Comment/props/defaultProps.js +3 -0
  192. package/es/list/Comment/props/propTypes.js +9 -0
  193. package/es/list/DepartmentDropDown/DepartmentDropDown.js +4 -31
  194. package/es/list/DepartmentDropDown/props/defaultProps.js +7 -0
  195. package/es/list/DepartmentDropDown/props/propTypes.js +24 -0
  196. package/es/list/Dot/Dot.js +4 -9
  197. package/es/list/Dot/props/defaultProps.js +4 -0
  198. package/es/list/Dot/props/propTypes.js +5 -0
  199. package/es/list/DotNew/DotNew.js +4 -9
  200. package/es/list/DotNew/props/defaultProps.js +3 -0
  201. package/es/list/DotNew/props/propTypes.js +6 -0
  202. package/es/list/GridStencils/GridStencils.js +2 -7
  203. package/es/list/GridStencils/props/propTypes.js +7 -0
  204. package/es/list/Icons/AddNewIcon.js +2 -8
  205. package/es/list/Icons/CompleteIcon.js +2 -9
  206. package/es/list/Icons/DeleteIcon.js +2 -9
  207. package/es/list/Icons/EditIcon.js +2 -9
  208. package/es/list/Icons/FloatingIcons.js +4 -8
  209. package/es/list/Icons/Icons.module.css +1 -1
  210. package/es/list/Icons/ReadUnreadIcon.js +4 -14
  211. package/es/list/Icons/SmartIcon.js +2 -10
  212. package/es/list/Icons/props/defaultProps.js +6 -0
  213. package/es/list/Icons/props/propTypes.js +55 -0
  214. package/es/list/ListLayout/ListLayout.js +5 -39
  215. package/es/list/ListLayout/props/defaultProps.js +11 -0
  216. package/es/list/ListLayout/props/propTypes.js +28 -0
  217. package/es/list/ListStencils/ListStencils.js +4 -7
  218. package/es/list/ListStencils/props/defaultProps.js +3 -0
  219. package/es/list/ListStencils/props/propTypes.js +4 -0
  220. package/es/list/SecondaryText/AccountName.js +4 -28
  221. package/es/list/SecondaryText/ContactName.js +4 -37
  222. package/es/list/SecondaryText/DepartmentText.js +2 -8
  223. package/es/list/SecondaryText/Email.js +4 -21
  224. package/es/list/SecondaryText/HappinessRating.js +2 -7
  225. package/es/list/SecondaryText/PhoneNumber.js +4 -24
  226. package/es/list/SecondaryText/PriorityText.js +4 -12
  227. package/es/list/SecondaryText/SecondaryText.js +4 -14
  228. package/es/list/SecondaryText/StatusText.js +4 -14
  229. package/es/list/SecondaryText/TicketId.js +4 -21
  230. package/es/list/SecondaryText/Website.js +4 -13
  231. package/es/list/SecondaryText/props/defaultProps.js +44 -0
  232. package/es/list/SecondaryText/props/propTypes.js +143 -0
  233. package/es/list/SecondryPanel/SecondryPanel.js +10 -45
  234. package/es/list/SecondryPanel/props/defaultProps.js +18 -0
  235. package/es/list/SecondryPanel/props/propTypes.js +27 -0
  236. package/es/list/SentimentStatus/SentimentStatus.js +2 -5
  237. package/es/list/SentimentStatus/props/propTypes.js +5 -0
  238. package/es/list/Subject/Subject.js +4 -26
  239. package/es/list/Subject/props/defaultProps.js +7 -0
  240. package/es/list/Subject/props/propTypes.js +19 -0
  241. package/es/list/TagNew/TagNew.js +4 -12
  242. package/es/list/TagNew/props/defaultProps.js +4 -0
  243. package/es/list/TagNew/props/propTypes.js +8 -0
  244. package/es/list/Thread/Thread.js +4 -12
  245. package/es/list/Thread/props/defaultProps.js +4 -0
  246. package/es/list/Thread/props/propTypes.js +8 -0
  247. package/es/list/UserTime/UserTime.js +4 -17
  248. package/es/list/UserTime/props/defaultProps.js +3 -0
  249. package/es/list/UserTime/props/propTypes.js +14 -0
  250. package/es/list/status/StatusDropdown/StatusDropdown.js +4 -68
  251. package/es/list/status/StatusDropdown/props/defaultProps.js +18 -0
  252. package/es/list/status/StatusDropdown/props/propTypes.js +50 -0
  253. package/es/list/status/StatusListItem/StatusListItem.js +4 -42
  254. package/es/list/status/StatusListItem/props/defaultProps.js +14 -0
  255. package/es/list/status/StatusListItem/props/propTypes.js +28 -0
  256. package/es/lookup/EmptyPage/EmptyPage.js +4 -9
  257. package/es/lookup/EmptyPage/props/defaultProps.js +4 -0
  258. package/es/lookup/EmptyPage/props/propTypes.js +5 -0
  259. package/es/lookup/Lookup/Lookup.js +4 -23
  260. package/es/lookup/Lookup/props/defaultProps.js +6 -0
  261. package/es/lookup/Lookup/props/propTypes.js +17 -0
  262. package/es/lookup/Section/Section.js +2 -7
  263. package/es/lookup/Section/props/propTypes.js +6 -0
  264. package/es/lookup/header/Close/Close.js +4 -9
  265. package/es/lookup/header/Close/props/defaultProps.js +3 -0
  266. package/es/lookup/header/Close/props/propTypes.js +6 -0
  267. package/es/lookup/header/ModuleHeader/ModuleHeader.js +4 -20
  268. package/es/lookup/header/ModuleHeader/props/defaultProps.js +3 -0
  269. package/es/lookup/header/ModuleHeader/props/propTypes.js +17 -0
  270. package/es/lookup/header/Search/Search.js +5 -33
  271. package/es/lookup/header/Search/props/defaultProps.js +5 -0
  272. package/es/lookup/header/Search/props/propTypes.js +28 -0
  273. package/es/lookup/header/TicketHeader/TicketHeader.js +4 -24
  274. package/es/lookup/header/TicketHeader/props/defaultProps.js +4 -0
  275. package/es/lookup/header/TicketHeader/props/propTypes.js +20 -0
  276. package/es/lookup/header/Title/Title.js +4 -9
  277. package/es/lookup/header/Title/props/defaultProps.js +3 -0
  278. package/es/lookup/header/Title/props/propTypes.js +6 -0
  279. package/es/lookup/header/ViewDropDown/ViewDropDown.js +4 -34
  280. package/es/lookup/header/ViewDropDown/props/defaultProps.js +7 -0
  281. package/es/lookup/header/ViewDropDown/props/propTypes.js +27 -0
  282. package/es/setup/header/Button/Button.js +4 -11
  283. package/es/setup/header/Button/props/defaultProps.js +4 -0
  284. package/es/setup/header/Button/props/propTypes.js +7 -0
  285. package/es/setup/header/Link/Link.js +4 -12
  286. package/es/setup/header/Link/props/defaultProps.js +4 -0
  287. package/es/setup/header/Link/props/propTypes.js +8 -0
  288. package/es/setup/header/Search/Search.js +4 -16
  289. package/es/setup/header/Search/props/defaultProps.js +5 -0
  290. package/es/setup/header/Search/props/propTypes.js +11 -0
  291. package/es/setup/header/Views/Views.js +4 -15
  292. package/es/setup/header/Views/props/defaultProps.js +6 -0
  293. package/es/setup/header/Views/props/propTypes.js +9 -0
  294. package/es/setup/helptips/Description/Description.js +2 -4
  295. package/es/setup/helptips/Description/props/propTypes.js +4 -0
  296. package/es/setup/helptips/Link/Link.js +2 -7
  297. package/es/setup/helptips/Link/props/propTypes.js +7 -0
  298. package/es/setup/helptips/ListGroup/ListGroup.js +2 -5
  299. package/es/setup/helptips/ListGroup/props/propTypes.js +5 -0
  300. package/es/setup/helptips/Title/Title.js +2 -4
  301. package/es/setup/helptips/Title/props/propTypes.js +4 -0
  302. package/es/setup/table/Table/Table.js +4 -10
  303. package/es/setup/table/Table/props/defaultProps.js +4 -0
  304. package/es/setup/table/Table/props/propTypes.js +6 -0
  305. package/es/setup/table/TableBody/TableBody.js +4 -10
  306. package/es/setup/table/TableBody/props/defaultProps.js +3 -0
  307. package/es/setup/table/TableBody/props/propTypes.js +7 -0
  308. package/es/setup/table/TableData/TableData.js +4 -15
  309. package/es/setup/table/TableData/props/defaultProps.js +5 -0
  310. package/es/setup/table/TableData/props/propTypes.js +10 -0
  311. package/es/setup/table/TableHead/TableHead.js +4 -11
  312. package/es/setup/table/TableHead/props/defaultProps.js +4 -0
  313. package/es/setup/table/TableHead/props/propTypes.js +7 -0
  314. package/es/setup/table/TableRow/TableRow.js +4 -15
  315. package/es/setup/table/TableRow/props/defaultProps.js +4 -0
  316. package/es/setup/table/TableRow/props/propTypes.js +11 -0
  317. package/es/setup/table/Text/Text.js +4 -20
  318. package/es/setup/table/Text/props/defaultProps.js +7 -0
  319. package/es/setup/table/Text/props/propTypes.js +13 -0
  320. package/es/svg/PlusIcon.js +4 -11
  321. package/es/svg/SnippetIcon.js +4 -11
  322. package/es/svg/TemplateIcon.js +4 -11
  323. package/es/svg/props/defaultProps.js +15 -0
  324. package/es/svg/props/propTypes.js +16 -0
  325. package/es/version2/AlertClose/AlertClose.js +2 -8
  326. package/es/version2/AlertClose/props/propTypes.js +8 -0
  327. package/es/version2/GlobalNotification/GlobalNotification.js +4 -16
  328. package/es/version2/GlobalNotification/props/defaultProps.js +3 -0
  329. package/es/version2/GlobalNotification/props/propTypes.js +13 -0
  330. package/es/version2/alertIcons/AlarmAlertIcon.js +4 -8
  331. package/es/version2/alertIcons/AlertIcons.js +4 -9
  332. package/es/version2/alertIcons/DangerAlertIcon.js +4 -9
  333. package/es/version2/alertIcons/ErrorAlertIcon.js +4 -8
  334. package/es/version2/alertIcons/InfoAlertIcon.js +4 -8
  335. package/es/version2/alertIcons/NotificationAlertIcon.js +4 -8
  336. package/es/version2/alertIcons/SuccessAlertIcon.js +4 -8
  337. package/es/version2/alertIcons/WarningAlertIcon.js +4 -8
  338. package/es/version2/alertIcons/props/defaultProps.js +26 -0
  339. package/es/version2/alertIcons/props/propTypes.js +33 -0
  340. package/es/version2/errorstate/Inconvenience/Inconvenience.js +4 -24
  341. package/es/version2/errorstate/Inconvenience/props/defaultProps.js +8 -0
  342. package/es/version2/errorstate/Inconvenience/props/propTypes.js +16 -0
  343. package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +4 -24
  344. package/es/version2/errorstate/OopsSomethingMiss/props/defaultProps.js +8 -0
  345. package/es/version2/errorstate/OopsSomethingMiss/props/propTypes.js +16 -0
  346. package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +4 -24
  347. package/es/version2/errorstate/UnableToProcessRequest/props/defaultProps.js +8 -0
  348. package/es/version2/errorstate/UnableToProcessRequest/props/propTypes.js +16 -0
  349. package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +4 -26
  350. package/es/version2/errorstate/UnauthorizedLogin/props/defaultProps.js +9 -0
  351. package/es/version2/errorstate/UnauthorizedLogin/props/propTypes.js +17 -0
  352. package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +4 -24
  353. package/es/version2/errorstate/UrlNotFound/props/defaultProps.js +8 -0
  354. package/es/version2/errorstate/UrlNotFound/props/propTypes.js +16 -0
  355. package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +4 -24
  356. package/es/version2/errorstate/WillBeRightBack/props/defaultProps.js +8 -0
  357. package/es/version2/errorstate/WillBeRightBack/props/propTypes.js +16 -0
  358. package/es/version2/lookup/AlertHeader/AlertHeader.js +4 -18
  359. package/es/version2/lookup/AlertHeader/props/defaultProps.js +6 -0
  360. package/es/version2/lookup/AlertHeader/props/propTypes.js +12 -0
  361. package/es/version2/lookup/AlertLookup/AlertLookup.js +14 -49
  362. package/es/version2/lookup/AlertLookup/props/defaultProps.js +13 -0
  363. package/es/version2/lookup/AlertLookup/props/propTypes.js +36 -0
  364. package/es/version2/notification/DesktopNotification/DesktopNotification.js +4 -50
  365. package/es/version2/notification/DesktopNotification/props/defaultProps.js +14 -0
  366. package/es/version2/notification/DesktopNotification/props/propTypes.js +36 -0
  367. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +4 -16
  368. package/es/version2/notification/DesktopNotificationHeader/props/defaultProps.js +5 -0
  369. package/es/version2/notification/DesktopNotificationHeader/props/propTypes.js +11 -0
  370. package/lib/ActionButton/ActionButton.js +11 -48
  371. package/lib/ActionButton/props/defaultProps.js +24 -0
  372. package/lib/ActionButton/props/propTypes.js +42 -0
  373. package/lib/AlphabeticList/AlphabeticList.js +8 -47
  374. package/lib/AlphabeticList/props/defaultProps.js +19 -0
  375. package/lib/AlphabeticList/props/propTypes.js +49 -0
  376. package/lib/Attachment/Attachment.js +5 -21
  377. package/lib/Attachment/props/defaultProps.js +13 -0
  378. package/lib/Attachment/props/propTypes.js +26 -0
  379. package/lib/AttachmentViewer/AttachmentImage.js +5 -15
  380. package/lib/AttachmentViewer/AttachmentViewer.js +5 -27
  381. package/lib/AttachmentViewer/props/defaultProps.js +18 -0
  382. package/lib/AttachmentViewer/props/propTypes.js +43 -0
  383. package/lib/ChannelIcon/ChannelIcon.js +5 -30
  384. package/lib/ChannelIcon/props/defaultProps.js +13 -0
  385. package/lib/ChannelIcon/props/propTypes.js +35 -0
  386. package/lib/Drawer/Drawer.js +10 -69
  387. package/lib/Drawer/props/defaultProps.js +29 -0
  388. package/lib/Drawer/props/propTypes.js +63 -0
  389. package/lib/ExternalLink/ExternalLink.js +5 -17
  390. package/lib/ExternalLink/props/defaultProps.js +12 -0
  391. package/lib/ExternalLink/props/propTypes.js +23 -0
  392. package/lib/FlipCard/FlipCard.js +5 -42
  393. package/lib/FlipCard/props/defaultProps.js +12 -0
  394. package/lib/FlipCard/props/propTypes.js +48 -0
  395. package/lib/FormAction/FormAction.js +6 -12
  396. package/lib/FormAction/props/defaultProps.js +11 -0
  397. package/lib/FormAction/props/propTypes.js +18 -0
  398. package/lib/FreezeLayer/FreezeLayer.js +5 -25
  399. package/lib/FreezeLayer/props/defaultProps.js +15 -0
  400. package/lib/FreezeLayer/props/propTypes.js +28 -0
  401. package/lib/IconButton/IconButton.js +5 -46
  402. package/lib/IconButton/props/defaultProps.js +22 -0
  403. package/lib/IconButton/props/propTypes.js +42 -0
  404. package/lib/Image/Image.js +5 -17
  405. package/lib/Image/props/defaultProps.js +11 -0
  406. package/lib/Image/props/propTypes.js +24 -0
  407. package/lib/ImportantNotes/ImportantNotes.js +5 -16
  408. package/lib/ImportantNotes/props/defaultProps.js +13 -0
  409. package/lib/ImportantNotes/props/propTypes.js +21 -0
  410. package/lib/Link/Link.js +5 -19
  411. package/lib/Link/props/defaultProps.js +12 -0
  412. package/lib/Link/props/propTypes.js +25 -0
  413. package/lib/Message/Message.js +5 -15
  414. package/lib/Message/props/defaultProps.js +10 -0
  415. package/lib/Message/props/propTypes.js +23 -0
  416. package/lib/MessageBanner/MessageBanner.js +5 -18
  417. package/lib/MessageBanner/props/defaultProps.js +13 -0
  418. package/lib/MessageBanner/props/propTypes.js +23 -0
  419. package/lib/NewStar/NewStar.js +5 -10
  420. package/lib/NewStar/props/defaultProps.js +11 -0
  421. package/lib/NewStar/props/propTypes.js +17 -0
  422. package/lib/PlusIcon/PlusIcon.js +5 -19
  423. package/lib/PlusIcon/props/defaultProps.js +15 -0
  424. package/lib/PlusIcon/props/propTypes.js +22 -0
  425. package/lib/ToastMessage/ToastMessage.js +5 -55
  426. package/lib/ToastMessage/props/defaultProps.js +24 -0
  427. package/lib/ToastMessage/props/propTypes.js +49 -0
  428. package/lib/Upload/Upload.js +5 -22
  429. package/lib/Upload/props/defaultProps.js +13 -0
  430. package/lib/Upload/props/propTypes.js +27 -0
  431. package/lib/actions/AutoClose.js +4 -11
  432. package/lib/actions/props/defaultProps.js +10 -0
  433. package/lib/actions/props/propTypes.js +18 -0
  434. package/lib/alert/AlertHeader/AlertHeader.js +5 -23
  435. package/lib/alert/AlertHeader/props/defaultProps.js +15 -0
  436. package/lib/alert/AlertHeader/props/propTypes.js +26 -0
  437. package/lib/alert/AlertLookup/AlertLookup.js +14 -50
  438. package/lib/alert/AlertLookup/props/defaultProps.js +21 -0
  439. package/lib/alert/AlertLookup/props/propTypes.js +47 -0
  440. package/lib/avatar/AvatarClose/AvatarClose.js +5 -18
  441. package/lib/avatar/AvatarClose/props/defaultProps.js +12 -0
  442. package/lib/avatar/AvatarClose/props/propTypes.js +24 -0
  443. package/lib/avatar/AvatarCollision/AvatarCollision.js +5 -23
  444. package/lib/avatar/AvatarCollision/props/defaultProps.js +14 -0
  445. package/lib/avatar/AvatarCollision/props/propTypes.js +27 -0
  446. package/lib/avatar/AvatarIcon/AvatarIcon.js +5 -32
  447. package/lib/avatar/AvatarIcon/props/defaultProps.js +20 -0
  448. package/lib/avatar/AvatarIcon/props/propTypes.js +30 -0
  449. package/lib/avatar/AvatarStatus/AvatarStatus.js +5 -32
  450. package/lib/avatar/AvatarStatus/props/defaultProps.js +16 -0
  451. package/lib/avatar/AvatarStatus/props/propTypes.js +34 -0
  452. package/lib/avatar/AvatarThread/AvatarThread.js +5 -37
  453. package/lib/avatar/AvatarThread/props/defaultProps.js +15 -0
  454. package/lib/avatar/AvatarThread/props/propTypes.js +40 -0
  455. package/lib/avatar/AvatarUser/AvatarUser.js +5 -41
  456. package/lib/avatar/AvatarUser/props/defaultProps.js +14 -0
  457. package/lib/avatar/AvatarUser/props/propTypes.js +45 -0
  458. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +5 -30
  459. package/lib/avatar/AvatarWithTeam/props/defaultProps.js +14 -0
  460. package/lib/avatar/AvatarWithTeam/props/propTypes.js +34 -0
  461. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +5 -94
  462. package/lib/dropdown/ToggleDropDown/props/defaultProps.js +31 -0
  463. package/lib/dropdown/ToggleDropDown/props/propTypes.js +81 -0
  464. package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +5 -31
  465. package/lib/emptystate/CommonEmptyState/props/defaultProps.js +17 -0
  466. package/lib/emptystate/CommonEmptyState/props/propTypes.js +32 -0
  467. package/lib/emptystate/EditionPage/EditionPage.js +5 -12
  468. package/lib/emptystate/EditionPage/props/defaultProps.js +12 -0
  469. package/lib/emptystate/EditionPage/props/propTypes.js +18 -0
  470. package/lib/errorstate/Inconvenience/Inconvenience.js +5 -15
  471. package/lib/errorstate/Inconvenience/props/defaultProps.js +11 -0
  472. package/lib/errorstate/Inconvenience/props/propTypes.js +22 -0
  473. package/lib/errorstate/LinkText/LinkText.js +5 -12
  474. package/lib/errorstate/LinkText/props/defaultProps.js +11 -0
  475. package/lib/errorstate/LinkText/props/propTypes.js +19 -0
  476. package/lib/errorstate/NoRequestFound/NoRequestFound.js +5 -15
  477. package/lib/errorstate/NoRequestFound/props/defaultProps.js +11 -0
  478. package/lib/errorstate/NoRequestFound/props/propTypes.js +22 -0
  479. package/lib/errorstate/PermissionPlay/PermissionPlay.js +5 -15
  480. package/lib/errorstate/PermissionPlay/props/defaultProps.js +11 -0
  481. package/lib/errorstate/PermissionPlay/props/propTypes.js +22 -0
  482. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +5 -15
  483. package/lib/errorstate/RequestUrlNotFound/props/defaultProps.js +11 -0
  484. package/lib/errorstate/RequestUrlNotFound/props/propTypes.js +22 -0
  485. package/lib/errorstate/UnableToProcess/UnableToProcess.js +5 -15
  486. package/lib/errorstate/UnableToProcess/props/defaultProps.js +11 -0
  487. package/lib/errorstate/UnableToProcess/props/propTypes.js +22 -0
  488. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +5 -15
  489. package/lib/errorstate/UnauthorizedLogin/props/defaultProps.js +11 -0
  490. package/lib/errorstate/UnauthorizedLogin/props/propTypes.js +22 -0
  491. package/lib/errorstate/WillBack/WillBack.js +5 -9
  492. package/lib/errorstate/WillBack/props/defaultProps.js +11 -0
  493. package/lib/errorstate/WillBack/props/propTypes.js +16 -0
  494. package/lib/form/fields/CheckBoxField/CheckBoxField.js +5 -44
  495. package/lib/form/fields/CheckBoxField/props/defaultProps.js +26 -0
  496. package/lib/form/fields/CheckBoxField/props/propTypes.js +45 -0
  497. package/lib/form/fields/CurrencyField/CurrencyField.js +5 -58
  498. package/lib/form/fields/CurrencyField/props/defaultProps.js +31 -0
  499. package/lib/form/fields/CurrencyField/props/propTypes.js +54 -0
  500. package/lib/form/fields/DateField/DateField.js +5 -63
  501. package/lib/form/fields/DateField/props/defaultProps.js +33 -0
  502. package/lib/form/fields/DateField/props/propTypes.js +57 -0
  503. package/lib/form/fields/FieldContainer/FieldContainer.js +4 -23
  504. package/lib/form/fields/FieldContainer/props/defaultProps.js +21 -0
  505. package/lib/form/fields/FieldContainer/props/propTypes.js +30 -0
  506. package/lib/form/fields/MultiSelectField/MultiSelectField.js +5 -72
  507. package/lib/form/fields/MultiSelectField/props/defaultProps.js +31 -0
  508. package/lib/form/fields/MultiSelectField/props/propTypes.js +68 -0
  509. package/lib/form/fields/PhoneField/PhoneField.js +5 -55
  510. package/lib/form/fields/PhoneField/props/defaultProps.js +22 -0
  511. package/lib/form/fields/PhoneField/props/propTypes.js +51 -0
  512. package/lib/form/fields/RadioField/RadioField.js +5 -41
  513. package/lib/form/fields/RadioField/props/defaultProps.js +18 -0
  514. package/lib/form/fields/RadioField/props/propTypes.js +41 -0
  515. package/lib/form/fields/SelectField/SelectField.js +5 -73
  516. package/lib/form/fields/SelectField/props/defaultProps.js +32 -0
  517. package/lib/form/fields/SelectField/props/propTypes.js +68 -0
  518. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -53
  519. package/lib/form/fields/TagsMultiSelect/props/defaultProps.js +17 -0
  520. package/lib/form/fields/TagsMultiSelect/props/propTypes.js +54 -0
  521. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +5 -76
  522. package/lib/form/fields/TagsMultiSelectField/props/defaultProps.js +33 -0
  523. package/lib/form/fields/TagsMultiSelectField/props/propTypes.js +70 -0
  524. package/lib/form/fields/TextBoxField/TextBoxField.js +5 -59
  525. package/lib/form/fields/TextBoxField/props/defaultProps.js +31 -0
  526. package/lib/form/fields/TextBoxField/props/propTypes.js +55 -0
  527. package/lib/form/fields/TextEditor/TextEditor.js +12 -56
  528. package/lib/form/fields/TextEditor/props/defaultProps.js +19 -0
  529. package/lib/form/fields/TextEditor/props/propTypes.js +51 -0
  530. package/lib/form/fields/TextEditorField/TextEditorField.js +5 -67
  531. package/lib/form/fields/TextEditorField/props/defaultProps.js +29 -0
  532. package/lib/form/fields/TextEditorField/props/propTypes.js +65 -0
  533. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +5 -47
  534. package/lib/form/fields/TextEditorWrapper/props/defaultProps.js +15 -0
  535. package/lib/form/fields/TextEditorWrapper/props/propTypes.js +50 -0
  536. package/lib/form/fields/TextareaField/TextareaField.js +5 -54
  537. package/lib/form/fields/TextareaField/props/defaultProps.js +29 -0
  538. package/lib/form/fields/TextareaField/props/propTypes.js +52 -0
  539. package/lib/form/fields/ValidationMessage/ValidationMessage.js +5 -20
  540. package/lib/form/fields/ValidationMessage/props/defaultProps.js +13 -0
  541. package/lib/form/fields/ValidationMessage/props/propTypes.js +25 -0
  542. package/lib/form/layout/Field/Field.js +5 -14
  543. package/lib/form/layout/Field/props/defaultProps.js +11 -0
  544. package/lib/form/layout/Field/props/propTypes.js +21 -0
  545. package/lib/form/layout/Section/Section.js +2 -9
  546. package/lib/form/layout/Section/props/propTypes.js +20 -0
  547. package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +11 -51
  548. package/lib/layout/SetupDetailLayout/props/defaultProps.js +28 -0
  549. package/lib/layout/SetupDetailLayout/props/propTypes.js +47 -0
  550. package/lib/layout/SubtabLayout/SubtabLayout.js +11 -65
  551. package/lib/layout/SubtabLayout/props/defaultProps.js +35 -0
  552. package/lib/layout/SubtabLayout/props/propTypes.js +54 -0
  553. package/lib/list/AvatarFlip/AvatarFlip.js +5 -33
  554. package/lib/list/AvatarFlip/props/defaultProps.js +12 -0
  555. package/lib/list/AvatarFlip/props/propTypes.js +39 -0
  556. package/lib/list/BluePrintStatus/BluePrintStatus.js +2 -4
  557. package/lib/list/BluePrintStatus/props/propTypes.js +15 -0
  558. package/lib/list/Comment/Comment.js +5 -12
  559. package/lib/list/Comment/props/defaultProps.js +10 -0
  560. package/lib/list/Comment/props/propTypes.js +20 -0
  561. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +5 -31
  562. package/lib/list/DepartmentDropDown/props/defaultProps.js +14 -0
  563. package/lib/list/DepartmentDropDown/props/propTypes.js +35 -0
  564. package/lib/list/Dot/Dot.js +5 -9
  565. package/lib/list/Dot/props/defaultProps.js +11 -0
  566. package/lib/list/Dot/props/propTypes.js +16 -0
  567. package/lib/list/DotNew/DotNew.js +5 -9
  568. package/lib/list/DotNew/props/defaultProps.js +10 -0
  569. package/lib/list/DotNew/props/propTypes.js +17 -0
  570. package/lib/list/GridStencils/GridStencils.js +2 -7
  571. package/lib/list/GridStencils/props/propTypes.js +18 -0
  572. package/lib/list/Icons/AddNewIcon.js +2 -8
  573. package/lib/list/Icons/CompleteIcon.js +2 -9
  574. package/lib/list/Icons/DeleteIcon.js +2 -9
  575. package/lib/list/Icons/EditIcon.js +2 -9
  576. package/lib/list/Icons/FloatingIcons.js +5 -8
  577. package/lib/list/Icons/Icons.module.css +1 -1
  578. package/lib/list/Icons/ReadUnreadIcon.js +5 -14
  579. package/lib/list/Icons/SmartIcon.js +2 -10
  580. package/lib/list/Icons/props/defaultProps.js +14 -0
  581. package/lib/list/Icons/props/propTypes.js +72 -0
  582. package/lib/list/ListLayout/ListLayout.js +6 -40
  583. package/lib/list/ListLayout/props/defaultProps.js +18 -0
  584. package/lib/list/ListLayout/props/propTypes.js +41 -0
  585. package/lib/list/ListStencils/ListStencils.js +5 -7
  586. package/lib/list/ListStencils/props/defaultProps.js +10 -0
  587. package/lib/list/ListStencils/props/propTypes.js +15 -0
  588. package/lib/list/SecondaryText/AccountName.js +5 -28
  589. package/lib/list/SecondaryText/ContactName.js +5 -37
  590. package/lib/list/SecondaryText/DepartmentText.js +2 -8
  591. package/lib/list/SecondaryText/Email.js +5 -21
  592. package/lib/list/SecondaryText/HappinessRating.js +2 -7
  593. package/lib/list/SecondaryText/PhoneNumber.js +5 -24
  594. package/lib/list/SecondaryText/PriorityText.js +5 -12
  595. package/lib/list/SecondaryText/SecondaryText.js +5 -14
  596. package/lib/list/SecondaryText/StatusText.js +5 -14
  597. package/lib/list/SecondaryText/TicketId.js +5 -21
  598. package/lib/list/SecondaryText/Website.js +5 -13
  599. package/lib/list/SecondaryText/props/defaultProps.js +59 -0
  600. package/lib/list/SecondaryText/props/propTypes.js +164 -0
  601. package/lib/list/SecondryPanel/SecondryPanel.js +11 -45
  602. package/lib/list/SecondryPanel/props/defaultProps.js +28 -0
  603. package/lib/list/SecondryPanel/props/propTypes.js +41 -0
  604. package/lib/list/SentimentStatus/SentimentStatus.js +2 -5
  605. package/lib/list/SentimentStatus/props/propTypes.js +16 -0
  606. package/lib/list/Subject/Subject.js +5 -26
  607. package/lib/list/Subject/props/defaultProps.js +14 -0
  608. package/lib/list/Subject/props/propTypes.js +30 -0
  609. package/lib/list/TagNew/TagNew.js +5 -12
  610. package/lib/list/TagNew/props/defaultProps.js +11 -0
  611. package/lib/list/TagNew/props/propTypes.js +19 -0
  612. package/lib/list/Thread/Thread.js +5 -12
  613. package/lib/list/Thread/props/defaultProps.js +11 -0
  614. package/lib/list/Thread/props/propTypes.js +19 -0
  615. package/lib/list/UserTime/UserTime.js +5 -17
  616. package/lib/list/UserTime/props/defaultProps.js +10 -0
  617. package/lib/list/UserTime/props/propTypes.js +25 -0
  618. package/lib/list/status/StatusDropdown/StatusDropdown.js +5 -41
  619. package/lib/list/status/StatusDropdown/props/defaultProps.js +25 -0
  620. package/lib/list/status/StatusDropdown/props/propTypes.js +34 -0
  621. package/lib/list/status/StatusListItem/StatusListItem.js +5 -42
  622. package/lib/list/status/StatusListItem/props/defaultProps.js +21 -0
  623. package/lib/list/status/StatusListItem/props/propTypes.js +39 -0
  624. package/lib/lookup/EmptyPage/EmptyPage.js +5 -9
  625. package/lib/lookup/EmptyPage/props/defaultProps.js +11 -0
  626. package/lib/lookup/EmptyPage/props/propTypes.js +16 -0
  627. package/lib/lookup/Lookup/Lookup.js +5 -23
  628. package/lib/lookup/Lookup/props/defaultProps.js +13 -0
  629. package/lib/lookup/Lookup/props/propTypes.js +28 -0
  630. package/lib/lookup/Section/Section.js +2 -7
  631. package/lib/lookup/Section/props/propTypes.js +17 -0
  632. package/lib/lookup/header/Close/Close.js +5 -9
  633. package/lib/lookup/header/Close/props/defaultProps.js +10 -0
  634. package/lib/lookup/header/Close/props/propTypes.js +17 -0
  635. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +5 -20
  636. package/lib/lookup/header/ModuleHeader/props/defaultProps.js +10 -0
  637. package/lib/lookup/header/ModuleHeader/props/propTypes.js +28 -0
  638. package/lib/lookup/header/Search/Search.js +6 -33
  639. package/lib/lookup/header/Search/props/defaultProps.js +12 -0
  640. package/lib/lookup/header/Search/props/propTypes.js +40 -0
  641. package/lib/lookup/header/TicketHeader/TicketHeader.js +5 -24
  642. package/lib/lookup/header/TicketHeader/props/defaultProps.js +11 -0
  643. package/lib/lookup/header/TicketHeader/props/propTypes.js +31 -0
  644. package/lib/lookup/header/Title/Title.js +5 -9
  645. package/lib/lookup/header/Title/props/defaultProps.js +10 -0
  646. package/lib/lookup/header/Title/props/propTypes.js +17 -0
  647. package/lib/lookup/header/ViewDropDown/ViewDropDown.js +5 -34
  648. package/lib/lookup/header/ViewDropDown/props/defaultProps.js +14 -0
  649. package/lib/lookup/header/ViewDropDown/props/propTypes.js +38 -0
  650. package/lib/setup/header/Button/Button.js +5 -11
  651. package/lib/setup/header/Button/props/defaultProps.js +11 -0
  652. package/lib/setup/header/Button/props/propTypes.js +18 -0
  653. package/lib/setup/header/Link/Link.js +5 -12
  654. package/lib/setup/header/Link/props/defaultProps.js +11 -0
  655. package/lib/setup/header/Link/props/propTypes.js +19 -0
  656. package/lib/setup/header/Search/Search.js +5 -16
  657. package/lib/setup/header/Search/props/defaultProps.js +12 -0
  658. package/lib/setup/header/Search/props/propTypes.js +22 -0
  659. package/lib/setup/header/Views/Views.js +5 -15
  660. package/lib/setup/header/Views/props/defaultProps.js +13 -0
  661. package/lib/setup/header/Views/props/propTypes.js +20 -0
  662. package/lib/setup/helptips/Description/Description.js +2 -4
  663. package/lib/setup/helptips/Description/props/propTypes.js +15 -0
  664. package/lib/setup/helptips/Link/Link.js +2 -7
  665. package/lib/setup/helptips/Link/props/propTypes.js +18 -0
  666. package/lib/setup/helptips/ListGroup/ListGroup.js +2 -5
  667. package/lib/setup/helptips/ListGroup/props/propTypes.js +16 -0
  668. package/lib/setup/helptips/Title/Title.js +2 -4
  669. package/lib/setup/helptips/Title/props/propTypes.js +15 -0
  670. package/lib/setup/table/Table/Table.js +5 -10
  671. package/lib/setup/table/Table/props/defaultProps.js +11 -0
  672. package/lib/setup/table/Table/props/propTypes.js +17 -0
  673. package/lib/setup/table/TableBody/TableBody.js +5 -10
  674. package/lib/setup/table/TableBody/props/defaultProps.js +10 -0
  675. package/lib/setup/table/TableBody/props/propTypes.js +18 -0
  676. package/lib/setup/table/TableData/TableData.js +5 -15
  677. package/lib/setup/table/TableData/props/defaultProps.js +12 -0
  678. package/lib/setup/table/TableData/props/propTypes.js +21 -0
  679. package/lib/setup/table/TableHead/TableHead.js +5 -11
  680. package/lib/setup/table/TableHead/props/defaultProps.js +11 -0
  681. package/lib/setup/table/TableHead/props/propTypes.js +18 -0
  682. package/lib/setup/table/TableRow/TableRow.js +5 -15
  683. package/lib/setup/table/TableRow/props/defaultProps.js +11 -0
  684. package/lib/setup/table/TableRow/props/propTypes.js +22 -0
  685. package/lib/setup/table/Text/Text.js +5 -20
  686. package/lib/setup/table/Text/props/defaultProps.js +14 -0
  687. package/lib/setup/table/Text/props/propTypes.js +24 -0
  688. package/lib/svg/PlusIcon.js +5 -11
  689. package/lib/svg/SnippetIcon.js +5 -11
  690. package/lib/svg/TemplateIcon.js +5 -11
  691. package/lib/svg/props/defaultProps.js +24 -0
  692. package/lib/svg/props/propTypes.js +29 -0
  693. package/lib/version2/AlertClose/AlertClose.js +2 -8
  694. package/lib/version2/AlertClose/props/propTypes.js +19 -0
  695. package/lib/version2/GlobalNotification/GlobalNotification.js +5 -16
  696. package/lib/version2/GlobalNotification/props/defaultProps.js +10 -0
  697. package/lib/version2/GlobalNotification/props/propTypes.js +24 -0
  698. package/lib/version2/alertIcons/AlarmAlertIcon.js +5 -8
  699. package/lib/version2/alertIcons/AlertIcons.js +5 -9
  700. package/lib/version2/alertIcons/DangerAlertIcon.js +5 -9
  701. package/lib/version2/alertIcons/ErrorAlertIcon.js +5 -8
  702. package/lib/version2/alertIcons/InfoAlertIcon.js +5 -8
  703. package/lib/version2/alertIcons/NotificationAlertIcon.js +5 -8
  704. package/lib/version2/alertIcons/SuccessAlertIcon.js +5 -8
  705. package/lib/version2/alertIcons/WarningAlertIcon.js +5 -8
  706. package/lib/version2/alertIcons/props/defaultProps.js +40 -0
  707. package/lib/version2/alertIcons/props/propTypes.js +51 -0
  708. package/lib/version2/errorstate/Inconvenience/Inconvenience.js +5 -24
  709. package/lib/version2/errorstate/Inconvenience/props/defaultProps.js +15 -0
  710. package/lib/version2/errorstate/Inconvenience/props/propTypes.js +27 -0
  711. package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +5 -24
  712. package/lib/version2/errorstate/OopsSomethingMiss/props/defaultProps.js +15 -0
  713. package/lib/version2/errorstate/OopsSomethingMiss/props/propTypes.js +27 -0
  714. package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +5 -24
  715. package/lib/version2/errorstate/UnableToProcessRequest/props/defaultProps.js +15 -0
  716. package/lib/version2/errorstate/UnableToProcessRequest/props/propTypes.js +27 -0
  717. package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +5 -26
  718. package/lib/version2/errorstate/UnauthorizedLogin/props/defaultProps.js +16 -0
  719. package/lib/version2/errorstate/UnauthorizedLogin/props/propTypes.js +28 -0
  720. package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +5 -24
  721. package/lib/version2/errorstate/UrlNotFound/props/defaultProps.js +15 -0
  722. package/lib/version2/errorstate/UrlNotFound/props/propTypes.js +27 -0
  723. package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +5 -24
  724. package/lib/version2/errorstate/WillBeRightBack/props/defaultProps.js +15 -0
  725. package/lib/version2/errorstate/WillBeRightBack/props/propTypes.js +27 -0
  726. package/lib/version2/lookup/AlertHeader/AlertHeader.js +5 -18
  727. package/lib/version2/lookup/AlertHeader/props/defaultProps.js +13 -0
  728. package/lib/version2/lookup/AlertHeader/props/propTypes.js +23 -0
  729. package/lib/version2/lookup/AlertLookup/AlertLookup.js +14 -49
  730. package/lib/version2/lookup/AlertLookup/props/defaultProps.js +20 -0
  731. package/lib/version2/lookup/AlertLookup/props/propTypes.js +47 -0
  732. package/lib/version2/notification/DesktopNotification/DesktopNotification.js +5 -50
  733. package/lib/version2/notification/DesktopNotification/props/defaultProps.js +21 -0
  734. package/lib/version2/notification/DesktopNotification/props/propTypes.js +47 -0
  735. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +5 -16
  736. package/lib/version2/notification/DesktopNotificationHeader/props/defaultProps.js +12 -0
  737. package/lib/version2/notification/DesktopNotificationHeader/props/propTypes.js +22 -0
  738. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import { propTypes } from './props/propTypes';
3
3
  import style from './GridStencils.module.css';
4
4
  export default class GridStencils extends React.Component {
5
5
  render() {
@@ -26,12 +26,7 @@ export default class GridStencils extends React.Component {
26
26
  }
27
27
 
28
28
  }
29
- GridStencils.propTypes = {
30
- from: PropTypes.string,
31
- isThreeLayout: PropTypes.bool,
32
- lineBar: PropTypes.string,
33
- styles: PropTypes.object
34
- };
29
+ GridStencils.propTypes = propTypes;
35
30
 
36
31
  if (false) {
37
32
  GridStencils.docs = {
@@ -0,0 +1,7 @@
1
+ import PropTypes from 'prop-types';
2
+ export const propTypes = {
3
+ from: PropTypes.string,
4
+ isThreeLayout: PropTypes.bool,
5
+ lineBar: PropTypes.string,
6
+ styles: PropTypes.object
7
+ };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import { AddNewIcon_propTypes } from './props/propTypes';
3
3
  import Icon from '@zohodesk/icons/lib/Icon';
4
4
  import style from './Icons.module.css';
5
5
  export default class AddNewIcon extends React.Component {
@@ -23,10 +23,4 @@ export default class AddNewIcon extends React.Component {
23
23
  }
24
24
 
25
25
  }
26
- AddNewIcon.propTypes = {
27
- className: PropTypes.string,
28
- dataId: PropTypes.string,
29
- dataTitle: PropTypes.string,
30
- iconClass: PropTypes.string,
31
- onClick: PropTypes.func
32
- };
26
+ AddNewIcon.propTypes = AddNewIcon_propTypes;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import { CompleteIcon_propTypes } from './props/propTypes';
3
3
  import Icon from '@zohodesk/icons/lib/Icon';
4
4
  import style from './Icons.module.css';
5
5
  export default class CompleteIcon extends React.Component {
@@ -25,11 +25,4 @@ export default class CompleteIcon extends React.Component {
25
25
  }
26
26
 
27
27
  }
28
- CompleteIcon.propTypes = {
29
- className: PropTypes.string,
30
- dataId: PropTypes.string,
31
- dataTitle: PropTypes.string,
32
- iconClass: PropTypes.string,
33
- iconSize: PropTypes.string,
34
- onClick: PropTypes.func
35
- };
28
+ CompleteIcon.propTypes = CompleteIcon_propTypes;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import { DeleteComponent_propTypes } from './props/propTypes';
3
3
  import style from './Icons.module.css';
4
4
  import Icon from '@zohodesk/icons/lib/Icon';
5
5
  export default class DeleteComponent extends React.Component {
@@ -25,11 +25,4 @@ export default class DeleteComponent extends React.Component {
25
25
  }
26
26
 
27
27
  }
28
- DeleteComponent.propTypes = {
29
- className: PropTypes.string,
30
- dataId: PropTypes.string,
31
- dataTitle: PropTypes.string,
32
- iconClass: PropTypes.string,
33
- iconSize: PropTypes.string,
34
- onClick: PropTypes.func
35
- };
28
+ DeleteComponent.propTypes = DeleteComponent_propTypes;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import { EditIcon_propTypes } from './props/propTypes';
3
3
  import style from './Icons.module.css';
4
4
  import Icon from '@zohodesk/icons/lib/Icon';
5
5
  export default class EditIcon extends React.Component {
@@ -25,11 +25,4 @@ export default class EditIcon extends React.Component {
25
25
  }
26
26
 
27
27
  }
28
- EditIcon.propTypes = {
29
- className: PropTypes.string,
30
- dataId: PropTypes.string,
31
- dataTitle: PropTypes.string,
32
- iconClass: PropTypes.string,
33
- iconSize: PropTypes.string,
34
- onClick: PropTypes.func
35
- };
28
+ EditIcon.propTypes = EditIcon_propTypes;
@@ -1,5 +1,6 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import { FloatingIcons_defaultProps } from './props/defaultProps';
3
+ import { FloatingIcons_propTypes } from './props/propTypes';
3
4
  import style from './Icons.module.css';
4
5
  export default class FloatingIcons extends Component {
5
6
  constructor(props) {
@@ -20,13 +21,8 @@ export default class FloatingIcons extends Component {
20
21
  }
21
22
 
22
23
  }
23
- FloatingIcons.propTypes = {
24
- children: PropTypes.arrayOf(PropTypes.element),
25
- iconClass: PropTypes.string
26
- };
27
- FloatingIcons.defaultProps = {
28
- size: 'medium'
29
- };
24
+ FloatingIcons.propTypes = FloatingIcons_propTypes;
25
+ FloatingIcons.defaultProps = FloatingIcons_defaultProps;
30
26
 
31
27
  if (false) {
32
28
  FloatingIcons.docs = {
@@ -13,4 +13,4 @@
13
13
  }
14
14
  .redHover:hover {
15
15
  color: var(--zdt_icons_hover_red);
16
- }
16
+ }
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import { ReadUnreadIcon_defaultProps } from './props/defaultProps';
3
+ import { ReadUnreadIcon_propTypes } from './props/propTypes';
3
4
  import Icon from '@zohodesk/icons/lib/Icon';
4
5
  import style from './Icons.module.css';
5
6
  export default class ReadUnreadIcon extends React.Component {
@@ -27,16 +28,5 @@ export default class ReadUnreadIcon extends React.Component {
27
28
  }
28
29
 
29
30
  }
30
- ReadUnreadIcon.defaultProps = {
31
- isRead: false
32
- };
33
- ReadUnreadIcon.propTypes = {
34
- className: PropTypes.string,
35
- dataId: PropTypes.string,
36
- dataTitle: PropTypes.string,
37
- iconClassName: PropTypes.string,
38
- iconClass: PropTypes.string,
39
- onClick: PropTypes.func,
40
- isRead: PropTypes.bool,
41
- iconSize: PropTypes.string
42
- };
31
+ ReadUnreadIcon.defaultProps = ReadUnreadIcon_defaultProps;
32
+ ReadUnreadIcon.propTypes = ReadUnreadIcon_propTypes;
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import { SmartIcon_propTypes } from './props/propTypes';
3
3
  import style from './Icons.module.css';
4
4
  import Icon from '@zohodesk/icons/lib/Icon';
5
5
  export default class SmartIcon extends Component {
@@ -23,12 +23,4 @@ export default class SmartIcon extends Component {
23
23
  }
24
24
 
25
25
  }
26
- SmartIcon.propTypes = {
27
- className: PropTypes.string,
28
- dataId: PropTypes.string,
29
- dataTitle: PropTypes.string,
30
- features: PropTypes.array,
31
- iconClass: PropTypes.string,
32
- module: PropTypes.string,
33
- onClick: PropTypes.func
34
- };
26
+ SmartIcon.propTypes = SmartIcon_propTypes;
@@ -0,0 +1,6 @@
1
+ export const FloatingIcons_defaultProps = {
2
+ size: 'medium'
3
+ };
4
+ export const ReadUnreadIcon_defaultProps = {
5
+ isRead: false
6
+ };
@@ -0,0 +1,55 @@
1
+ import PropTypes from 'prop-types';
2
+ export const AddNewIcon_propTypes = {
3
+ className: PropTypes.string,
4
+ dataId: PropTypes.string,
5
+ dataTitle: PropTypes.string,
6
+ iconClass: PropTypes.string,
7
+ onClick: PropTypes.func
8
+ };
9
+ export const CompleteIcon_propTypes = {
10
+ className: PropTypes.string,
11
+ dataId: PropTypes.string,
12
+ dataTitle: PropTypes.string,
13
+ iconClass: PropTypes.string,
14
+ iconSize: PropTypes.string,
15
+ onClick: PropTypes.func
16
+ };
17
+ export const DeleteComponent_propTypes = {
18
+ className: PropTypes.string,
19
+ dataId: PropTypes.string,
20
+ dataTitle: PropTypes.string,
21
+ iconClass: PropTypes.string,
22
+ iconSize: PropTypes.string,
23
+ onClick: PropTypes.func
24
+ };
25
+ export const EditIcon_propTypes = {
26
+ className: PropTypes.string,
27
+ dataId: PropTypes.string,
28
+ dataTitle: PropTypes.string,
29
+ iconClass: PropTypes.string,
30
+ iconSize: PropTypes.string,
31
+ onClick: PropTypes.func
32
+ };
33
+ export const FloatingIcons_propTypes = {
34
+ children: PropTypes.arrayOf(PropTypes.element),
35
+ iconClass: PropTypes.string
36
+ };
37
+ export const ReadUnreadIcon_propTypes = {
38
+ className: PropTypes.string,
39
+ dataId: PropTypes.string,
40
+ dataTitle: PropTypes.string,
41
+ iconClassName: PropTypes.string,
42
+ iconClass: PropTypes.string,
43
+ onClick: PropTypes.func,
44
+ isRead: PropTypes.bool,
45
+ iconSize: PropTypes.string
46
+ };
47
+ export const SmartIcon_propTypes = {
48
+ className: PropTypes.string,
49
+ dataId: PropTypes.string,
50
+ dataTitle: PropTypes.string,
51
+ features: PropTypes.array,
52
+ iconClass: PropTypes.string,
53
+ module: PropTypes.string,
54
+ onClick: PropTypes.func
55
+ };
@@ -1,7 +1,8 @@
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
3
  import React, { Component } from 'react';
4
- import PropTypes from 'prop-types';
4
+ import { ListLayout_defaultProps } from './props/defaultProps';
5
+ import { ListLayout_propTypes, Column_propTypes } from './props/propTypes';
5
6
  import { Container, Box } from '@zohodesk/components/lib/Layout';
6
7
  import style from './ListLayout.module.css';
7
8
  export default class ListLayout extends Component {
@@ -54,40 +55,8 @@ export default class ListLayout extends Component {
54
55
  }
55
56
 
56
57
  }
57
- ListLayout.propTypes = {
58
- align: PropTypes.string,
59
- children: PropTypes.node,
60
- className: PropTypes.string,
61
- containerClass: PropTypes.string,
62
- dataId: PropTypes.string,
63
- dataTitle: PropTypes.string,
64
- isActive: PropTypes.bool,
65
- needHover: PropTypes.bool,
66
- onClick: PropTypes.func,
67
- onMouseLeave: PropTypes.func,
68
- view: PropTypes.oneOf(['classic', 'compact', 'superCompact']),
69
- a11y: PropTypes.shape({
70
- role: PropTypes.string,
71
- ariaLabel: PropTypes.string,
72
- ariaPosinset: PropTypes.number,
73
- ariaSetsize: PropTypes.number
74
- }),
75
- onMouseEnter: PropTypes.func,
76
- view: PropTypes.oneOf(['classic', 'compact', 'superCompact']),
77
- needPointer: PropTypes.bool,
78
- isKeyboardActive: PropTypes.bool
79
- };
80
- ListLayout.defaultProps = {
81
- needHover: true,
82
- view: 'classic',
83
- isActive: false,
84
- dataId: 'ticketsListInPopup',
85
- a11y: {},
86
- isHovered: false,
87
- onMouseEnter: () => {},
88
- needPointer: true,
89
- isKeyboardActive: false
90
- };
58
+ ListLayout.propTypes = ListLayout_propTypes;
59
+ ListLayout.defaultProps = ListLayout_defaultProps;
91
60
  export class Column extends Component {
92
61
  constructor(props) {
93
62
  super(props);
@@ -104,10 +73,7 @@ export class Column extends Component {
104
73
  }
105
74
 
106
75
  }
107
- Column.propTypes = {
108
- children: PropTypes.node,
109
- className: PropTypes.string
110
- };
76
+ Column.propTypes = Column_propTypes;
111
77
 
112
78
  if (false) {
113
79
  ListLayout.docs = {
@@ -0,0 +1,11 @@
1
+ export const ListLayout_defaultProps = {
2
+ needHover: true,
3
+ view: 'classic',
4
+ isActive: false,
5
+ dataId: 'ticketsListInPopup',
6
+ a11y: {},
7
+ isHovered: false,
8
+ onMouseEnter: () => {},
9
+ needPointer: true,
10
+ isKeyboardActive: false
11
+ };
@@ -0,0 +1,28 @@
1
+ import PropTypes from 'prop-types';
2
+ export const ListLayout_propTypes = {
3
+ align: PropTypes.string,
4
+ children: PropTypes.node,
5
+ className: PropTypes.string,
6
+ containerClass: PropTypes.string,
7
+ dataId: PropTypes.string,
8
+ dataTitle: PropTypes.string,
9
+ isActive: PropTypes.bool,
10
+ needHover: PropTypes.bool,
11
+ onClick: PropTypes.func,
12
+ onMouseLeave: PropTypes.func,
13
+ view: PropTypes.oneOf(['classic', 'compact', 'superCompact']),
14
+ a11y: PropTypes.shape({
15
+ role: PropTypes.string,
16
+ ariaLabel: PropTypes.string,
17
+ ariaPosinset: PropTypes.number,
18
+ ariaSetsize: PropTypes.number
19
+ }),
20
+ onMouseEnter: PropTypes.func,
21
+ view: PropTypes.oneOf(['classic', 'compact', 'superCompact']),
22
+ needPointer: PropTypes.bool,
23
+ isKeyboardActive: PropTypes.bool
24
+ };
25
+ export const Column_propTypes = {
26
+ children: PropTypes.node,
27
+ className: PropTypes.string
28
+ };
@@ -1,6 +1,7 @@
1
1
  /*** Libraries ***/
2
2
  import React, { Component } from 'react';
3
- import PropTypes from 'prop-types';
3
+ import { defaultProps } from './props/defaultProps';
4
+ import { propTypes } from './props/propTypes';
4
5
  /*** Components ***/
5
6
 
6
7
  import Stencils from '@zohodesk/components/lib/Stencils/Stencils';
@@ -37,12 +38,8 @@ export default class ListStencils extends Component {
37
38
  }
38
39
 
39
40
  }
40
- ListStencils.propTypes = {
41
- listType: PropTypes.oneOf(['classic', 'compact', 'superCompact'])
42
- };
43
- ListStencils.defaultProps = {
44
- listType: 'classic'
45
- };
41
+ ListStencils.propTypes = propTypes;
42
+ ListStencils.defaultProps = defaultProps;
46
43
 
47
44
  if (false) {
48
45
  ListStencils.docs = {
@@ -0,0 +1,3 @@
1
+ export const defaultProps = {
2
+ listType: 'classic'
3
+ };
@@ -0,0 +1,4 @@
1
+ import PropTypes from 'prop-types';
2
+ export const propTypes = {
3
+ listType: PropTypes.oneOf(['classic', 'compact', 'superCompact'])
4
+ };
@@ -4,7 +4,8 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
4
4
 
5
5
  /**** Libraries ****/
6
6
  import React, { Component } from 'react';
7
- import PropTypes from 'prop-types';
7
+ import { AccountName_defaultProps } from './props/defaultProps';
8
+ import { AccountName_propTypes } from './props/propTypes';
8
9
  /**** Components ****/
9
10
 
10
11
  import { Container, Box } from '@zohodesk/components/lib/Layout';
@@ -73,33 +74,8 @@ export default class AccountName extends Component {
73
74
  }
74
75
 
75
76
  }
76
- AccountName.propTypes = {
77
- className: PropTypes.string,
78
- dataId: PropTypes.string,
79
- dataTitle: PropTypes.string,
80
- fontWeight: PropTypes.oneOf(['regular', 'semibold', 'bold']),
81
- href: PropTypes.string,
82
- isLink: PropTypes.bool,
83
- notAccessible: PropTypes.bool,
84
- onClick: PropTypes.func,
85
- text: PropTypes.string,
86
- urlData: PropTypes.object,
87
- urlName: PropTypes.string,
88
- secondaryAccountHref: PropTypes.string,
89
- secondaryAccountClick: PropTypes.func,
90
- secondaryAccountText: PropTypes.string,
91
- customProps: PropTypes.shape({
92
- LinkProps: PropTypes.object,
93
- TextProps: PropTypes.object,
94
- SecondaryTextProps: PropTypes.object
95
- })
96
- };
97
- AccountName.defaultProps = {
98
- isLink: true,
99
- dataId: 'accountName',
100
- fontWeight: 'regular',
101
- customProps: {}
102
- };
77
+ AccountName.propTypes = AccountName_propTypes;
78
+ AccountName.defaultProps = AccountName_defaultProps;
103
79
 
104
80
  if (false) {
105
81
  AccountName.docs = {
@@ -1,7 +1,8 @@
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
3
  import React, { Component } from 'react';
4
- import PropTypes from 'prop-types';
4
+ import { ContactName_defaultProps } from './props/defaultProps';
5
+ import { ContactName_propTypes } from './props/propTypes';
5
6
  import { Container, Box } from '@zohodesk/components/lib/Layout';
6
7
  import Link from '../../Link/Link';
7
8
  import SentimentStatus from '../SentimentStatus/SentimentStatus';
@@ -72,42 +73,8 @@ export default class ContactName extends Component {
72
73
  }
73
74
 
74
75
  }
75
- ContactName.propTypes = {
76
- className: PropTypes.string,
77
- dataId: PropTypes.string,
78
- dataTitle: PropTypes.string,
79
- fontWeight: PropTypes.oneOf(['regular', 'semibold', 'bold']),
80
- href: PropTypes.string,
81
- isLink: PropTypes.bool,
82
- isPaidUser: PropTypes.bool,
83
- notAccessible: PropTypes.bool,
84
- onClick: PropTypes.func,
85
- sentimentTitle: PropTypes.string,
86
- sentimentType: PropTypes.oneOf(['positive', 'negative', 'neutral']),
87
- text: PropTypes.string,
88
- urlData: PropTypes.object,
89
- urlName: PropTypes.string,
90
- i18nKeys: PropTypes.shape({
91
- sentimentTitles: PropTypes.shape({
92
- positive: PropTypes.string,
93
- negative: PropTypes.string,
94
- neutral: PropTypes.string
95
- }),
96
- paidTitle: PropTypes.string
97
- }),
98
- customProps: PropTypes.shape({
99
- LinkProps: PropTypes.object,
100
- TextProps: PropTypes.object
101
- })
102
- };
103
- ContactName.defaultProps = {
104
- isPaidUser: false,
105
- isLink: true,
106
- dataId: 'contactName',
107
- fontWeight: 'regular',
108
- i18nKeys: {},
109
- customProps: {}
110
- };
76
+ ContactName.propTypes = ContactName_propTypes;
77
+ ContactName.defaultProps = ContactName_defaultProps;
111
78
 
112
79
  if (false) {
113
80
  ContactName.docs = {
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import { DepartmentText_propTypes } from './props/propTypes';
3
3
  import style from './SecondaryText.module.css';
4
4
  export default class DepartmentText extends Component {
5
5
  constructor(props) {
@@ -21,13 +21,7 @@ export default class DepartmentText extends Component {
21
21
  }
22
22
 
23
23
  }
24
- DepartmentText.propTypes = {
25
- className: PropTypes.string,
26
- dataId: PropTypes.string,
27
- dataTitle: PropTypes.string,
28
- text: PropTypes.string
29
- };
30
- DepartmentText.defaultProps = {};
24
+ DepartmentText.propTypes = DepartmentText_propTypes;
31
25
 
32
26
  if (false) {
33
27
  DepartmentText.docs = {
@@ -4,7 +4,8 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
4
4
 
5
5
  /**** Libraries ****/
6
6
  import React, { Component } from 'react';
7
- import PropTypes from 'prop-types';
7
+ import { Email_defaultProps } from './props/defaultProps';
8
+ import { Email_propTypes } from './props/propTypes';
8
9
  /**** Components ****/
9
10
 
10
11
  import Link from '../../Link/Link';
@@ -45,26 +46,8 @@ export default class Email extends Component {
45
46
  }
46
47
 
47
48
  }
48
- Email.propTypes = {
49
- className: PropTypes.string,
50
- fontWeight: PropTypes.oneOf(['regular', 'semibold', 'bold']),
51
- href: PropTypes.string,
52
- isLink: PropTypes.bool,
53
- target: PropTypes.string,
54
- text: PropTypes.string,
55
- title: PropTypes.string,
56
- urlData: PropTypes.object,
57
- urlName: PropTypes.string,
58
- customProps: PropTypes.shape({
59
- LinkProps: PropTypes.object,
60
- TextProps: PropTypes.object
61
- })
62
- };
63
- Email.defaultProps = {
64
- isLink: true,
65
- fontWeight: 'regular',
66
- customProps: {}
67
- };
49
+ Email.propTypes = Email_propTypes;
50
+ Email.defaultProps = Email_defaultProps;
68
51
 
69
52
  if (false) {
70
53
  Email.docs = {
@@ -1,6 +1,6 @@
1
1
  /**** Libraries ****/
2
2
  import React, { Component } from 'react';
3
- import PropTypes from 'prop-types';
3
+ import { HappinessRating_propTypes } from './props/propTypes';
4
4
  /**** CSS ****/
5
5
 
6
6
  import style from './SecondaryText.module.css';
@@ -23,12 +23,7 @@ export default class HappinessRating extends Component {
23
23
  }
24
24
 
25
25
  }
26
- HappinessRating.propTypes = {
27
- className: PropTypes.string,
28
- src: PropTypes.string,
29
- text: PropTypes.string
30
- };
31
- HappinessRating.defaultProps = {};
26
+ HappinessRating.propTypes = HappinessRating_propTypes;
32
27
 
33
28
  if (false) {
34
29
  HappinessRating.docs = {
@@ -4,7 +4,8 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
4
4
 
5
5
  /**** Libraries ****/
6
6
  import React, { Component } from 'react';
7
- import PropTypes from 'prop-types';
7
+ import { PhoneNumber_defaultProps } from './props/defaultProps';
8
+ import { PhoneNumber_propTypes } from './props/propTypes';
8
9
  /**** Components ****/
9
10
 
10
11
  import Link from '../../Link/Link';
@@ -49,29 +50,8 @@ export default class PhoneNumber extends Component {
49
50
  }
50
51
 
51
52
  }
52
- PhoneNumber.propTypes = {
53
- className: PropTypes.string,
54
- dataId: PropTypes.string,
55
- fontWeight: PropTypes.oneOf(['regular', 'semibold', 'bold']),
56
- hasReload: PropTypes.bool,
57
- href: PropTypes.string,
58
- isLink: PropTypes.bool,
59
- target: PropTypes.string,
60
- text: PropTypes.string,
61
- title: PropTypes.string,
62
- urlData: PropTypes.object,
63
- urlName: PropTypes.string,
64
- customProps: PropTypes.shape({
65
- LinkProps: PropTypes.object,
66
- TextProps: PropTypes.object
67
- })
68
- };
69
- PhoneNumber.defaultProps = {
70
- isLink: true,
71
- hasReload: false,
72
- fontWeight: 'regular',
73
- customProps: {}
74
- };
53
+ PhoneNumber.propTypes = PhoneNumber_propTypes;
54
+ PhoneNumber.defaultProps = PhoneNumber_defaultProps;
75
55
 
76
56
  if (false) {
77
57
  PhoneNumber.docs = {
@@ -1,5 +1,6 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import { PriorityText_defaultProps } from './props/defaultProps';
3
+ import { PriorityText_propTypes } from './props/propTypes';
3
4
  import style from './SecondaryText.module.css';
4
5
  export default class PriorityText extends Component {
5
6
  constructor(props) {
@@ -22,17 +23,8 @@ export default class PriorityText extends Component {
22
23
  }
23
24
 
24
25
  }
25
- PriorityText.propTypes = {
26
- className: PropTypes.string,
27
- color: PropTypes.oneOf(['red', 'green', 'gray', 'orange']),
28
- dataId: PropTypes.string,
29
- dataTitle: PropTypes.string,
30
- text: PropTypes.string
31
- };
32
- PriorityText.defaultProps = {
33
- color: 'black',
34
- dataId: 'priority'
35
- };
26
+ PriorityText.propTypes = PriorityText_propTypes;
27
+ PriorityText.defaultProps = PriorityText_defaultProps;
36
28
 
37
29
  if (false) {
38
30
  PriorityText.docs = {