@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
@@ -0,0 +1,70 @@
1
+ import PropTypes from 'prop-types';
2
+ export const propTypes = {
3
+ activeStyle: PropTypes.string,
4
+ arrowIconPosition: PropTypes.oneOf(['default', 'overlay']),
5
+ bottom: PropTypes.number,
6
+ boxPosition: PropTypes.oneOf(['bottomRight', 'bottomLeft', 'bottomCenter', 'topRight', 'topLeft', 'topCenter', 'rightTop', 'rightBottom', 'rightCenter', 'leftTop', 'leftBottom', 'leftCenter']),
7
+ boxSize: PropTypes.oneOf(['xsmall', 'small', 'medium', 'mlarge', 'large']),
8
+ children: PropTypes.node,
9
+ className: PropTypes.string,
10
+ dataId: PropTypes.string,
11
+ dataTitle: PropTypes.string,
12
+ getContainerRef: PropTypes.func,
13
+ getNextOptions: PropTypes.func,
14
+ getTargetRef: PropTypes.func,
15
+ groupNameKey: PropTypes.string,
16
+ groupOptionsKey: PropTypes.string,
17
+ hoverStyle: PropTypes.string,
18
+ hoverType: PropTypes.oneOf(['default', 'border', 'bg']),
19
+ iconName: PropTypes.string,
20
+ iconSize: PropTypes.string,
21
+ idName: PropTypes.string,
22
+ isArrow: PropTypes.bool,
23
+ isDataLoaded: PropTypes.bool,
24
+ isDisabled: PropTypes.bool,
25
+ isEditable: PropTypes.bool,
26
+ isGroupDropDown: PropTypes.bool,
27
+ isNeedEffect: PropTypes.bool,
28
+ isNextOptions: PropTypes.bool,
29
+ isPadding: PropTypes.bool,
30
+ isPopupActive: PropTypes.bool,
31
+ isPopupOpen: PropTypes.bool,
32
+ isPopupReady: PropTypes.bool,
33
+ isReadOnly: PropTypes.bool,
34
+ isSearch: PropTypes.bool,
35
+ isToggleStateNeeded: PropTypes.bool,
36
+ keyName: PropTypes.string,
37
+ left: PropTypes.number,
38
+ needExternalPopupState: PropTypes.bool,
39
+ needResponsive: PropTypes.bool,
40
+ needSearchFetching: PropTypes.bool,
41
+ needTick: PropTypes.bool,
42
+ onClick: PropTypes.func,
43
+ onSearch: PropTypes.func,
44
+ options: PropTypes.array.isRequired,
45
+ palette: PropTypes.oneOf(['dark']),
46
+ placeHolderText: PropTypes.string,
47
+ position: PropTypes.string,
48
+ removeClose: PropTypes.func,
49
+ right: PropTypes.number,
50
+ searchBoxSize: PropTypes.oneOf(['small', 'medium', 'xmedium']),
51
+ searchEmptyHint: PropTypes.string,
52
+ searchErrorText: PropTypes.string,
53
+ selectedId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
54
+ showIconOnHover: PropTypes.bool,
55
+ showOnHover: PropTypes.bool,
56
+ title: PropTypes.string,
57
+ togglePopup: PropTypes.func,
58
+ value: PropTypes.node,
59
+ onDropDownOpen: PropTypes.func,
60
+ onDropDownClose: PropTypes.func,
61
+ getFooter: PropTypes.func,
62
+ customProps: PropTypes.shape({
63
+ ToggleDropDownProps: PropTypes.object,
64
+ DropBoxProps: PropTypes.object,
65
+ TextBoxIconProps: PropTypes.object,
66
+ ListItemWithIconProps: PropTypes.object,
67
+ ListItemProps: PropTypes.object
68
+ }),
69
+ preventPopupClose: PropTypes.bool
70
+ };
@@ -1,5 +1,6 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import { defaultProps } from './props/defaultProps';
3
+ import { propTypes } from './props/propTypes';
3
4
  import Link from '../../Link/Link';
4
5
  import style from './CommonEmptyState.module.css';
5
6
  export default class CommonEmptyState extends Component {
@@ -56,36 +57,8 @@ export default class CommonEmptyState extends Component {
56
57
  }
57
58
 
58
59
  }
59
- CommonEmptyState.propTypes = {
60
- children: PropTypes.node,
61
- className: PropTypes.string,
62
- dataId: PropTypes.string,
63
- description: PropTypes.string,
64
- getEmptyState: PropTypes.func,
65
- isFluid: PropTypes.bool,
66
- linkDescription: PropTypes.string,
67
- linkTarget: PropTypes.oneOf(['_blank', '_self']),
68
- linkText: PropTypes.string,
69
- linkUrl: PropTypes.string,
70
- onUrlClick: PropTypes.func,
71
- size: PropTypes.oneOf(['small', 'medium']),
72
- title: PropTypes.string,
73
- palette: PropTypes.oneOf(['default', 'dark']),
74
- customClass: PropTypes.shape({
75
- titleClass: PropTypes.string,
76
- descriptionClass: PropTypes.string
77
- })
78
- };
79
- CommonEmptyState.defaultProps = {
80
- linkTarget: '_self',
81
- className: '',
82
- linkUrl: '#',
83
- dataId: 'emptyState',
84
- isFluid: false,
85
- size: 'medium',
86
- palette: 'default',
87
- customClass: {}
88
- };
60
+ CommonEmptyState.propTypes = propTypes;
61
+ CommonEmptyState.defaultProps = defaultProps;
89
62
 
90
63
  if (false) {
91
64
  CommonEmptyState.docs = {
@@ -0,0 +1,10 @@
1
+ export const defaultProps = {
2
+ linkTarget: '_self',
3
+ className: '',
4
+ linkUrl: '#',
5
+ dataId: 'emptyState',
6
+ isFluid: false,
7
+ size: 'medium',
8
+ palette: 'default',
9
+ customClass: {}
10
+ };
@@ -0,0 +1,21 @@
1
+ import PropTypes from 'prop-types';
2
+ export const propTypes = {
3
+ children: PropTypes.node,
4
+ className: PropTypes.string,
5
+ dataId: PropTypes.string,
6
+ description: PropTypes.string,
7
+ getEmptyState: PropTypes.func,
8
+ isFluid: PropTypes.bool,
9
+ linkDescription: PropTypes.string,
10
+ linkTarget: PropTypes.oneOf(['_blank', '_self']),
11
+ linkText: PropTypes.string,
12
+ linkUrl: PropTypes.string,
13
+ onUrlClick: PropTypes.func,
14
+ size: PropTypes.oneOf(['small', 'medium']),
15
+ title: PropTypes.string,
16
+ palette: PropTypes.oneOf(['default', 'dark']),
17
+ customClass: PropTypes.shape({
18
+ titleClass: PropTypes.string,
19
+ descriptionClass: PropTypes.string
20
+ })
21
+ };
@@ -1,5 +1,6 @@
1
1
  import React, { Component } from 'react';
2
- import { PropTypes } from 'prop-types';
2
+ import { defaultProps } from './props/defaultProps';
3
+ import { propTypes } from './props/propTypes';
3
4
  import EmptyCrmPotential from '@zohodesk/svg/lib/emptystate/version3/EmptyCrmPotential';
4
5
  import style from './EditionPage.css';
5
6
  export default class EditionPage extends Component {
@@ -46,17 +47,8 @@ export default class EditionPage extends Component {
46
47
  }
47
48
 
48
49
  }
49
- EditionPage.defaultProps = {
50
- title: '',
51
- subtitle: '',
52
- dataId: 'edition'
53
- };
54
- EditionPage.propTypes = {
55
- dataId: PropTypes.string,
56
- footerText: PropTypes.string,
57
- subTitle: PropTypes.string,
58
- title: PropTypes.string
59
- };
50
+ EditionPage.defaultProps = defaultProps;
51
+ EditionPage.propTypes = propTypes;
60
52
 
61
53
  if (false) {
62
54
  EditionPage.docs = {
@@ -0,0 +1,5 @@
1
+ export const defaultProps = {
2
+ title: '',
3
+ subtitle: '',
4
+ dataId: 'edition'
5
+ };
@@ -0,0 +1,7 @@
1
+ import PropTypes from 'prop-types';
2
+ export const propTypes = {
3
+ dataId: PropTypes.string,
4
+ footerText: PropTypes.string,
5
+ subTitle: PropTypes.string,
6
+ title: PropTypes.string
7
+ };
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import { defaultProps } from './props/defaultProps';
3
+ import { propTypes } from './props/propTypes';
3
4
  import { Container, Box } from '@zohodesk/components/lib/Layout';
4
5
  import LinkText from '../LinkText/LinkText';
5
6
  import InconvenienceSVG from '@zohodesk/svg/lib/errorstate/version1/EmptyInconvenience';
@@ -75,20 +76,8 @@ export default class Inconvenience extends React.Component {
75
76
  }
76
77
 
77
78
  }
78
- Inconvenience.propTypes = {
79
- customClass: PropTypes.string,
80
- dataId: PropTypes.string,
81
- description: PropTypes.string,
82
- onClick: PropTypes.func,
83
- subtitle: PropTypes.string,
84
- title: PropTypes.string,
85
- url: PropTypes.string,
86
- urlText: PropTypes.string
87
- };
88
- Inconvenience.defaultProps = {
89
- dataId: 'inconvenience',
90
- customClass: ''
91
- };
79
+ Inconvenience.propTypes = propTypes;
80
+ Inconvenience.defaultProps = defaultProps;
92
81
 
93
82
  if (false) {
94
83
  Inconvenience.docs = {
@@ -0,0 +1,4 @@
1
+ export const defaultProps = {
2
+ dataId: 'inconvenience',
3
+ customClass: ''
4
+ };
@@ -0,0 +1,11 @@
1
+ import PropTypes from 'prop-types';
2
+ export const propTypes = {
3
+ customClass: PropTypes.string,
4
+ dataId: PropTypes.string,
5
+ description: PropTypes.string,
6
+ onClick: PropTypes.func,
7
+ subtitle: PropTypes.string,
8
+ title: PropTypes.string,
9
+ url: PropTypes.string,
10
+ urlText: PropTypes.string
11
+ };
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import { defaultProps } from './props/defaultProps';
3
+ import { propTypes } from './props/propTypes';
3
4
  import Link from '../../Link/Link';
4
5
  import style from './LinkText.module.css';
5
6
  export default class LinkText extends React.Component {
@@ -20,17 +21,8 @@ export default class LinkText extends React.Component {
20
21
  }
21
22
 
22
23
  }
23
- LinkText.propTypes = {
24
- dataId: PropTypes.string,
25
- href: PropTypes.string,
26
- onClick: PropTypes.func,
27
- text: PropTypes.string,
28
- customClass: PropTypes.string
29
- };
30
- LinkText.defaultProps = {
31
- dataId: 'LinkText',
32
- customClass: ''
33
- };
24
+ LinkText.propTypes = propTypes;
25
+ LinkText.defaultProps = defaultProps;
34
26
 
35
27
  if (false) {
36
28
  LinkText.docs = {
@@ -0,0 +1,4 @@
1
+ export const defaultProps = {
2
+ dataId: 'LinkText',
3
+ customClass: ''
4
+ };
@@ -0,0 +1,8 @@
1
+ import PropTypes from 'prop-types';
2
+ export const propTypes = {
3
+ dataId: PropTypes.string,
4
+ href: PropTypes.string,
5
+ onClick: PropTypes.func,
6
+ text: PropTypes.string,
7
+ customClass: PropTypes.string
8
+ };
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import { defaultProps } from './props/defaultProps';
3
+ import { propTypes } from './props/propTypes';
3
4
  import commonStyle from '../EmptyStates.module.css';
4
5
  import NoRequestFoundSVG from '@zohodesk/svg/lib/errorstate/version1/NoRequestFound';
5
6
  import { Container, Box } from '@zohodesk/components/lib/Layout';
@@ -75,20 +76,8 @@ export default class NoRequestFound extends React.Component {
75
76
  }
76
77
 
77
78
  }
78
- NoRequestFound.propTypes = {
79
- customClass: PropTypes.string,
80
- dataId: PropTypes.string,
81
- description: PropTypes.string,
82
- onClick: PropTypes.func,
83
- subtitle: PropTypes.string,
84
- title: PropTypes.string,
85
- url: PropTypes.string,
86
- urlText: PropTypes.string
87
- };
88
- NoRequestFound.defaultProps = {
89
- dataId: 'noRequestFound',
90
- customClass: ''
91
- };
79
+ NoRequestFound.propTypes = propTypes;
80
+ NoRequestFound.defaultProps = defaultProps;
92
81
 
93
82
  if (false) {
94
83
  NoRequestFound.docs = {
@@ -0,0 +1,4 @@
1
+ export const defaultProps = {
2
+ dataId: 'noRequestFound',
3
+ customClass: ''
4
+ };
@@ -0,0 +1,11 @@
1
+ import PropTypes from 'prop-types';
2
+ export const propTypes = {
3
+ customClass: PropTypes.string,
4
+ dataId: PropTypes.string,
5
+ description: PropTypes.string,
6
+ onClick: PropTypes.func,
7
+ subtitle: PropTypes.string,
8
+ title: PropTypes.string,
9
+ url: PropTypes.string,
10
+ urlText: PropTypes.string
11
+ };
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import { defaultProps } from './props/defaultProps';
3
+ import { propTypes } from './props/propTypes';
3
4
  import { Container, Box } from '@zohodesk/components/lib/Layout';
4
5
  import LinkText from '../LinkText/LinkText';
5
6
  import UnauthorizedLoginSVG from '@zohodesk/svg/lib/errorstate/version1/UnauthorizedLogin';
@@ -74,20 +75,8 @@ export default class PermissionPlay extends React.Component {
74
75
  }
75
76
 
76
77
  }
77
- PermissionPlay.propTypes = {
78
- customClass: PropTypes.string,
79
- dataId: PropTypes.string,
80
- description: PropTypes.string,
81
- onClick: PropTypes.func,
82
- subtitle: PropTypes.string,
83
- title: PropTypes.string,
84
- url: PropTypes.string,
85
- urlText: PropTypes.string
86
- };
87
- PermissionPlay.defaultProps = {
88
- dataId: 'permissionPlay',
89
- customClass: ''
90
- };
78
+ PermissionPlay.propTypes = propTypes;
79
+ PermissionPlay.defaultProps = defaultProps;
91
80
 
92
81
  if (false) {
93
82
  PermissionPlay.docs = {
@@ -0,0 +1,4 @@
1
+ export const defaultProps = {
2
+ dataId: 'permissionPlay',
3
+ customClass: ''
4
+ };
@@ -0,0 +1,11 @@
1
+ import PropTypes from 'prop-types';
2
+ export const propTypes = {
3
+ customClass: PropTypes.string,
4
+ dataId: PropTypes.string,
5
+ description: PropTypes.string,
6
+ onClick: PropTypes.func,
7
+ subtitle: PropTypes.string,
8
+ title: PropTypes.string,
9
+ url: PropTypes.string,
10
+ urlText: PropTypes.string
11
+ };
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import { defaultProps } from './props/defaultProps';
3
+ import { propTypes } from './props/propTypes';
3
4
  import { Container, Box } from '@zohodesk/components/lib/Layout';
4
5
  import UrlNotFound from '@zohodesk/svg/lib/errorstate/version1/UrlNotFound';
5
6
  import LinkText from '../LinkText/LinkText';
@@ -75,20 +76,8 @@ export default class RequestUrlNotFound extends React.Component {
75
76
  }
76
77
 
77
78
  }
78
- RequestUrlNotFound.propTypes = {
79
- customClass: PropTypes.string,
80
- dataId: PropTypes.string,
81
- description: PropTypes.string,
82
- onClick: PropTypes.func,
83
- subtitle: PropTypes.string,
84
- title: PropTypes.string,
85
- url: PropTypes.string,
86
- urlText: PropTypes.string
87
- };
88
- RequestUrlNotFound.defaultProps = {
89
- dataId: 'requestUrlNotFound',
90
- customClass: ''
91
- };
79
+ RequestUrlNotFound.propTypes = propTypes;
80
+ RequestUrlNotFound.defaultProps = defaultProps;
92
81
 
93
82
  if (false) {
94
83
  RequestUrlNotFound.docs = {
@@ -0,0 +1,4 @@
1
+ export const defaultProps = {
2
+ dataId: 'requestUrlNotFound',
3
+ customClass: ''
4
+ };
@@ -0,0 +1,11 @@
1
+ import PropTypes from 'prop-types';
2
+ export const propTypes = {
3
+ customClass: PropTypes.string,
4
+ dataId: PropTypes.string,
5
+ description: PropTypes.string,
6
+ onClick: PropTypes.func,
7
+ subtitle: PropTypes.string,
8
+ title: PropTypes.string,
9
+ url: PropTypes.string,
10
+ urlText: PropTypes.string
11
+ };
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import { defaultProps } from './props/defaultProps';
3
+ import { propTypes } from './props/propTypes';
3
4
  import { Container, Box } from '@zohodesk/components/lib/Layout';
4
5
  import LinkText from '../LinkText/LinkText';
5
6
  import UnableToProcessRequest from '@zohodesk/svg/lib/errorstate/version1/UnableToProcessRequest';
@@ -75,20 +76,8 @@ export default class UnableToProcess extends React.Component {
75
76
  }
76
77
 
77
78
  }
78
- UnableToProcess.propTypes = {
79
- customClass: PropTypes.string,
80
- dataId: PropTypes.string,
81
- description: PropTypes.string,
82
- onClick: PropTypes.func,
83
- subtitle: PropTypes.string,
84
- title: PropTypes.string,
85
- url: PropTypes.string,
86
- urlText: PropTypes.string
87
- };
88
- UnableToProcess.defaultProps = {
89
- dataId: 'unableToProcess',
90
- customClass: ''
91
- };
79
+ UnableToProcess.propTypes = propTypes;
80
+ UnableToProcess.defaultProps = defaultProps;
92
81
 
93
82
  if (false) {
94
83
  UnableToProcess.docs = {
@@ -0,0 +1,4 @@
1
+ export const defaultProps = {
2
+ dataId: 'unableToProcess',
3
+ customClass: ''
4
+ };
@@ -0,0 +1,11 @@
1
+ import PropTypes from 'prop-types';
2
+ export const propTypes = {
3
+ customClass: PropTypes.string,
4
+ dataId: PropTypes.string,
5
+ description: PropTypes.string,
6
+ onClick: PropTypes.func,
7
+ subtitle: PropTypes.string,
8
+ title: PropTypes.string,
9
+ url: PropTypes.string,
10
+ urlText: PropTypes.string
11
+ };
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import { defaultProps } from './props/defaultProps';
3
+ import { propTypes } from './props/propTypes';
3
4
  import { Container, Box } from '@zohodesk/components/lib/Layout';
4
5
  import LinkText from '../LinkText/LinkText';
5
6
  import UnauthorizedLoginSVG from '@zohodesk/svg/lib/errorstate/version1/UnauthorizedLogin';
@@ -75,20 +76,8 @@ export default class UnauthorizedLogin extends React.Component {
75
76
  }
76
77
 
77
78
  }
78
- UnauthorizedLogin.propTypes = {
79
- customClass: PropTypes.string,
80
- dataId: PropTypes.string,
81
- description: PropTypes.string,
82
- onClick: PropTypes.func,
83
- subtitle: PropTypes.string,
84
- title: PropTypes.string,
85
- url: PropTypes.string,
86
- urlText: PropTypes.string
87
- };
88
- UnauthorizedLogin.defaultProps = {
89
- dataId: 'unauthorizedLogin',
90
- customClass: ''
91
- };
79
+ UnauthorizedLogin.propTypes = propTypes;
80
+ UnauthorizedLogin.defaultProps = defaultProps;
92
81
 
93
82
  if (false) {
94
83
  UnauthorizedLogin.docs = {
@@ -0,0 +1,4 @@
1
+ export const defaultProps = {
2
+ dataId: 'unauthorizedLogin',
3
+ customClass: ''
4
+ };
@@ -0,0 +1,11 @@
1
+ import PropTypes from 'prop-types';
2
+ export const propTypes = {
3
+ customClass: PropTypes.string,
4
+ dataId: PropTypes.string,
5
+ description: PropTypes.string,
6
+ onClick: PropTypes.func,
7
+ subtitle: PropTypes.string,
8
+ title: PropTypes.string,
9
+ url: PropTypes.string,
10
+ urlText: PropTypes.string
11
+ };
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import { defaultProps } from './props/defaultProps';
3
+ import { propTypes } from './props/propTypes';
3
4
  import { Container, Box } from '@zohodesk/components/lib/Layout';
4
5
  import WillBeRightBack from '@zohodesk/svg/lib/errorstate/version1/WillBeRightBack';
5
6
  import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
@@ -66,14 +67,8 @@ export default class WillBack extends React.Component {
66
67
  }
67
68
 
68
69
  }
69
- WillBack.propTypes = {
70
- customClass: PropTypes.string,
71
- dataId: PropTypes.string
72
- };
73
- WillBack.defaultProps = {
74
- dataId: 'willBack',
75
- customClass: ''
76
- };
70
+ WillBack.propTypes = propTypes;
71
+ WillBack.defaultProps = defaultProps;
77
72
 
78
73
  if (false) {
79
74
  WillBack.docs = {
@@ -0,0 +1,4 @@
1
+ export const defaultProps = {
2
+ dataId: 'willBack',
3
+ customClass: ''
4
+ };
@@ -0,0 +1,5 @@
1
+ import PropTypes from 'prop-types';
2
+ export const propTypes = {
3
+ customClass: PropTypes.string,
4
+ dataId: PropTypes.string
5
+ };
@@ -2,7 +2,8 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
2
2
 
3
3
  /**** Libraries ****/
4
4
  import React, { PureComponent } from 'react';
5
- import PropTypes from 'prop-types';
5
+ import { defaultProps } from './props/defaultProps';
6
+ import { propTypes } from './props/propTypes';
6
7
  /**** Components ****/
7
8
 
8
9
  import Label from '@zohodesk/components/lib/Label/Label';
@@ -10,10 +11,6 @@ import CheckBox from '@zohodesk/components/lib/CheckBox/CheckBox';
10
11
  import ValidationMessage from '../ValidationMessage/ValidationMessage';
11
12
  import { Container, Box } from '@zohodesk/components/lib/Layout';
12
13
  import FieldContainer from '../FieldContainer/FieldContainer';
13
- /**** props ****/
14
-
15
- import { FieldCommonDefaultProps } from '../props/FieldCommonDefaultProps';
16
- import { FieldCommonPropTypes } from '../props/FieldCommonPropTypes';
17
14
  /**** CSS ****/
18
15
 
19
16
  import style from '../Fields.module.css';
@@ -133,41 +130,8 @@ export default class CheckBoxField extends PureComponent {
133
130
  }
134
131
 
135
132
  }
136
- CheckBoxField.propTypes = {
137
- checked: PropTypes.bool,
138
- direction: PropTypes.oneOf(['row', 'column']),
139
- errorType: PropTypes.oneOf(['primary', 'secondary']),
140
- fieldSize: PropTypes.oneOf(['small', 'medium']),
141
- getRef: PropTypes.func,
142
- id: PropTypes.string.isRequired,
143
- labelCustomClass: PropTypes.string,
144
- labelName: PropTypes.string,
145
- labelPalette: PropTypes.string,
146
- lineClamp: PropTypes.oneOf(['one', 'two']),
147
- onChange: PropTypes.func,
148
- title: PropTypes.string,
149
- validationMessage: PropTypes.string,
150
- validationPalette: PropTypes.string,
151
- validationRuleMessage: PropTypes.string,
152
- validationRulePalette: PropTypes.string,
153
- customProps: PropTypes.shape({
154
- LabelProps: PropTypes.object,
155
- CheckBoxProps: PropTypes.object,
156
- ValidationMessageProps1: PropTypes.object,
157
- ValidationMessageProps2: PropTypes.object
158
- }),
159
- ...FieldCommonPropTypes()
160
- };
161
- CheckBoxField.defaultProps = {
162
- errorType: 'primary',
163
- fieldSize: 'medium',
164
- labelPalette: 'default',
165
- labelCustomClass: '',
166
- direction: 'row',
167
- lineClamp: '',
168
- customProps: {},
169
- ...FieldCommonDefaultProps()
170
- };
133
+ CheckBoxField.propTypes = propTypes;
134
+ CheckBoxField.defaultProps = defaultProps;
171
135
 
172
136
  if (false) {
173
137
  CheckBoxField.docs = {
@@ -0,0 +1,11 @@
1
+ import { FieldCommonDefaultProps } from '../../props/FieldCommonDefaultProps';
2
+ export const defaultProps = {
3
+ errorType: 'primary',
4
+ fieldSize: 'medium',
5
+ labelPalette: 'default',
6
+ labelCustomClass: '',
7
+ direction: 'row',
8
+ lineClamp: '',
9
+ customProps: {},
10
+ ...FieldCommonDefaultProps()
11
+ };