@zohodesk/dot 1.0.0-beta.25 → 1.0.0-beta.250

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 (1495) hide show
  1. package/README.md +1118 -11
  2. package/assets/Appearance/dark/mode/dotDarkMode.module.css +541 -0
  3. package/assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +16 -0
  4. package/assets/Appearance/dark/themes/green/greenDarkDotTheme.module.css +16 -0
  5. package/assets/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +16 -0
  6. package/assets/Appearance/dark/themes/red/redDarkDotTheme.module.css +16 -0
  7. package/assets/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +16 -0
  8. package/assets/Appearance/default/mode/dotDefaultMode.module.css +541 -0
  9. package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +16 -0
  10. package/assets/Appearance/default/themes/green/greenDefaultDotTheme.module.css +16 -0
  11. package/assets/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +16 -0
  12. package/assets/Appearance/default/themes/red/redDefaultDotTheme.module.css +16 -0
  13. package/assets/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +16 -0
  14. package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +541 -0
  15. package/assets/Appearance/pureDark/themes/blue/bluePureDarkDotTheme.module.css +16 -0
  16. package/assets/Appearance/pureDark/themes/green/greenPureDarkDotTheme.module.css +16 -0
  17. package/assets/Appearance/pureDark/themes/orange/orangePureDarkDotTheme.module.css +16 -0
  18. package/assets/Appearance/pureDark/themes/red/redPureDarkDotTheme.module.css +16 -0
  19. package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkDotTheme.module.css +16 -0
  20. package/dubFinder.js +7 -4
  21. package/es/ActionButton/ActionButton.js +141 -0
  22. package/es/ActionButton/ActionButton.module.css +139 -0
  23. package/es/ActionButton/props/defaultProps.js +17 -0
  24. package/es/ActionButton/props/propTypes.js +31 -0
  25. package/es/AlphabeticList/AlphabeticList.js +103 -0
  26. package/es/AlphabeticList/AlphabeticList.module.css +57 -0
  27. package/es/AlphabeticList/props/defaultProps.js +12 -0
  28. package/es/AlphabeticList/props/propTypes.js +23 -0
  29. package/es/Attachment/Attachment.js +88 -0
  30. package/es/Attachment/Attachment.module.css +158 -0
  31. package/es/Attachment/props/defaultProps.js +7 -0
  32. package/es/Attachment/props/propTypes.js +16 -0
  33. package/es/AttachmentViewer/Attachment.js +16 -0
  34. package/es/AttachmentViewer/AttachmentImage.js +72 -0
  35. package/es/AttachmentViewer/AttachmentViewer.js +507 -0
  36. package/es/AttachmentViewer/AttachmentViewer.module.css +354 -0
  37. package/es/AttachmentViewer/props/defaultProps.js +10 -0
  38. package/es/AttachmentViewer/props/propTypes.js +31 -0
  39. package/es/AttachmentViewer/utils.js +90 -0
  40. package/es/ChannelIcon/ChannelIcon.js +90 -111
  41. package/es/ChannelIcon/ChannelIcon.module.css +68 -59
  42. package/es/ChannelIcon/props/defaultProps.js +7 -0
  43. package/es/ChannelIcon/props/propTypes.js +25 -0
  44. package/es/Drawer/Drawer.js +257 -333
  45. package/es/Drawer/Drawer.module.css +71 -123
  46. package/es/Drawer/props/defaultProps.js +21 -0
  47. package/es/Drawer/props/propTypes.js +50 -0
  48. package/es/ExternalLink/ExternalLink.js +42 -79
  49. package/es/ExternalLink/ExternalLink.module.css +3 -3
  50. package/es/ExternalLink/__tests__/ExternalLink.spec.js +17 -26
  51. package/es/ExternalLink/props/defaultProps.js +5 -0
  52. package/es/ExternalLink/props/propTypes.js +12 -0
  53. package/es/FlipCard/FlipCard.js +127 -168
  54. package/es/FlipCard/FlipCard.module.css +15 -6
  55. package/es/FlipCard/props/defaultProps.js +5 -0
  56. package/es/FlipCard/props/propTypes.js +37 -0
  57. package/es/FormAction/FormAction.js +67 -116
  58. package/es/FormAction/FormAction.module.css +9 -4
  59. package/es/FormAction/props/defaultProps.js +5 -0
  60. package/es/FormAction/props/propTypes.js +8 -0
  61. package/es/FreezeLayer/FreezeLayer.js +72 -141
  62. package/es/FreezeLayer/css/FreezeLayer.module.css +42 -0
  63. package/es/FreezeLayer/css/cssJSLogic.js +23 -0
  64. package/es/FreezeLayer/index.js +2 -0
  65. package/es/FreezeLayer/props/defaultProps.js +9 -0
  66. package/es/FreezeLayer/props/propTypes.js +18 -0
  67. package/es/FreezeLayer/useFreezeLayer.js +50 -0
  68. package/es/IconButton/IconButton.js +137 -81
  69. package/es/IconButton/IconButton.module.css +13 -28
  70. package/es/IconButton/props/defaultProps.js +17 -0
  71. package/es/IconButton/props/propTypes.js +33 -0
  72. package/es/Image/Image.js +35 -63
  73. package/es/Image/props/defaultProps.js +4 -0
  74. package/es/Image/props/propTypes.js +13 -0
  75. package/es/ImportantNotes/ImportantNotes.js +48 -0
  76. package/es/ImportantNotes/ImportantNotes.module.css +20 -0
  77. package/es/ImportantNotes/props/defaultProps.js +6 -0
  78. package/es/ImportantNotes/props/propTypes.js +10 -0
  79. package/es/Link/Link.js +86 -126
  80. package/es/Link/LinkContext.js +2 -4
  81. package/es/Link/props/defaultProps.js +5 -0
  82. package/es/Link/props/propTypes.js +14 -0
  83. package/es/Loader/Loader.js +25 -0
  84. package/es/Loader/Loader.module.css +46 -0
  85. package/es/Message/Message.js +107 -0
  86. package/es/Message/Message.module.css +103 -0
  87. package/es/Message/props/defaultProps.js +4 -0
  88. package/es/Message/props/propTypes.js +13 -0
  89. package/es/MessageBanner/MessageBanner.js +62 -0
  90. package/es/MessageBanner/MessageBanner.module.css +46 -0
  91. package/es/MessageBanner/props/defaultProps.js +7 -0
  92. package/es/MessageBanner/props/propTypes.js +13 -0
  93. package/es/NewStar/NewStar.js +70 -0
  94. package/es/NewStar/NewStar.module.css +175 -0
  95. package/es/NewStar/props/defaultProps.js +4 -0
  96. package/es/NewStar/props/propTypes.js +6 -0
  97. package/es/PlusIcon/PlusIcon.js +39 -81
  98. package/es/PlusIcon/PlusIcon.module.css +11 -2
  99. package/es/PlusIcon/props/defaultProps.js +8 -0
  100. package/es/PlusIcon/props/propTypes.js +11 -0
  101. package/es/Provider/Config.js +12 -0
  102. package/es/Separator/Separator.js +57 -0
  103. package/es/Separator/Separator.module.css +34 -0
  104. package/es/Separator/props/defaultProps.js +12 -0
  105. package/es/Separator/props/propTypes.js +11 -0
  106. package/es/ToastMessage/ToastMessage.js +197 -338
  107. package/es/ToastMessage/ToastMessage.module.css +57 -62
  108. package/es/ToastMessage/props/defaultProps.js +18 -0
  109. package/es/ToastMessage/props/propTypes.js +39 -0
  110. package/es/Upload/Upload.js +75 -0
  111. package/es/Upload/Upload.module.css +125 -0
  112. package/es/Upload/props/defaultProps.js +7 -0
  113. package/es/Upload/props/propTypes.js +17 -0
  114. package/es/actions/AutoClose.js +42 -0
  115. package/es/actions/index.js +12 -10
  116. package/es/actions/props/defaultProps.js +3 -0
  117. package/es/actions/props/propTypes.js +7 -0
  118. package/es/alert/AlertHeader/AlertHeader.js +67 -126
  119. package/es/alert/AlertHeader/AlertHeader.module.css +14 -13
  120. package/es/alert/AlertHeader/props/defaultProps.js +8 -0
  121. package/es/alert/AlertHeader/props/propTypes.js +15 -0
  122. package/es/alert/AlertLookup/AlertLookup.js +94 -184
  123. package/es/alert/AlertLookup/AlertLookup.module.css +7 -3
  124. package/es/alert/AlertLookup/props/defaultProps.js +14 -0
  125. package/es/alert/AlertLookup/props/propTypes.js +36 -0
  126. package/es/avatar/AvatarClose/AvatarClose.js +47 -66
  127. package/es/avatar/AvatarClose/AvatarClose.module.css +4 -4
  128. package/es/avatar/AvatarClose/props/defaultProps.js +6 -0
  129. package/es/avatar/AvatarClose/props/propTypes.js +14 -0
  130. package/es/avatar/AvatarCollision/AvatarCollision.js +55 -86
  131. package/es/avatar/AvatarCollision/AvatarCollision.module.css +9 -9
  132. package/es/avatar/AvatarCollision/props/defaultProps.js +8 -0
  133. package/es/avatar/AvatarCollision/props/propTypes.js +17 -0
  134. package/es/avatar/AvatarIcon/AvatarIcon.js +49 -85
  135. package/es/avatar/AvatarIcon/AvatarIcon.module.css +32 -10
  136. package/es/avatar/AvatarIcon/props/defaultProps.js +14 -0
  137. package/es/avatar/AvatarIcon/props/propTypes.js +20 -0
  138. package/es/avatar/AvatarStatus/AvatarStatus.js +66 -72
  139. package/es/avatar/AvatarStatus/AvatarStatus.module.css +87 -34
  140. package/es/avatar/AvatarStatus/props/defaultProps.js +12 -0
  141. package/es/avatar/AvatarStatus/props/propTypes.js +26 -0
  142. package/es/avatar/AvatarThread/AvatarThread.js +73 -102
  143. package/es/avatar/AvatarThread/AvatarThread.module.css +119 -17
  144. package/es/avatar/AvatarThread/props/defaultProps.js +9 -0
  145. package/es/avatar/AvatarThread/props/propTypes.js +30 -0
  146. package/es/avatar/AvatarUser/AvatarUser.js +101 -113
  147. package/es/avatar/AvatarUser/AvatarUser.module.css +95 -25
  148. package/es/avatar/AvatarUser/props/defaultProps.js +8 -0
  149. package/es/avatar/AvatarUser/props/propTypes.js +35 -0
  150. package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +90 -75
  151. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +5 -5
  152. package/es/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +43 -44
  153. package/es/avatar/AvatarWithTeam/props/defaultProps.js +9 -0
  154. package/es/avatar/AvatarWithTeam/props/propTypes.js +25 -0
  155. package/es/common/dot_animation.module.css +27 -0
  156. package/es/common/dot_common.module.css +4 -0
  157. package/es/deprecated/FreezeLayer/FreezeLayer.js +128 -0
  158. package/es/deprecated/FreezeLayer/FreezeLayer.module.css +42 -0
  159. package/es/deprecated/FreezeLayer/props/defaultProps.js +8 -0
  160. package/es/deprecated/FreezeLayer/props/propTypes.js +17 -0
  161. package/es/deprecated/SelectDropdown/SelectDropdown.js +145 -0
  162. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +56 -0
  163. package/es/deprecated/utils/General.js +17 -0
  164. package/es/deprecated/utils/KeyboardApi.js +253 -0
  165. package/es/docs/formDocs.js +15 -0
  166. package/es/docs/generalDocs.js +22 -77
  167. package/es/docs/lookupDocs.js +9 -24
  168. package/es/docs/setupDocs.js +1 -17
  169. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +782 -536
  170. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +40 -13
  171. package/es/dropdown/ToggleDropDown/props/defaultProps.js +25 -0
  172. package/es/dropdown/ToggleDropDown/props/propTypes.js +71 -0
  173. package/es/emptystate/CommonEmptyState/CommonEmptyState.js +61 -124
  174. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +66 -15
  175. package/es/emptystate/CommonEmptyState/props/defaultProps.js +10 -0
  176. package/es/emptystate/CommonEmptyState/props/propTypes.js +21 -0
  177. package/es/emptystate/EditionPage/EditionPage.css +5 -5
  178. package/es/emptystate/EditionPage/EditionPage.js +52 -97
  179. package/es/emptystate/EditionPage/props/defaultProps.js +5 -0
  180. package/es/emptystate/EditionPage/props/propTypes.js +7 -0
  181. package/es/errorstate/EmptyStates.module.css +56 -13
  182. package/es/errorstate/Inconvenience/Inconvenience.js +71 -76
  183. package/es/errorstate/Inconvenience/Inconvenience.module.css +0 -2
  184. package/es/errorstate/Inconvenience/props/defaultProps.js +4 -0
  185. package/es/errorstate/Inconvenience/props/propTypes.js +11 -0
  186. package/es/errorstate/LinkText/LinkText.js +25 -50
  187. package/es/errorstate/LinkText/LinkText.module.css +2 -2
  188. package/es/errorstate/LinkText/props/defaultProps.js +4 -0
  189. package/es/errorstate/LinkText/props/propTypes.js +8 -0
  190. package/es/errorstate/NoRequestFound/NoRequestFound.js +76 -81
  191. package/es/errorstate/NoRequestFound/NoRequestFound.module.css +0 -2
  192. package/es/errorstate/NoRequestFound/props/defaultProps.js +4 -0
  193. package/es/errorstate/NoRequestFound/props/propTypes.js +11 -0
  194. package/es/errorstate/PermissionPlay/PermissionPlay.js +75 -89
  195. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +10 -9
  196. package/es/errorstate/PermissionPlay/props/defaultProps.js +4 -0
  197. package/es/errorstate/PermissionPlay/props/propTypes.js +11 -0
  198. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +76 -81
  199. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +0 -2
  200. package/es/errorstate/RequestUrlNotFound/props/defaultProps.js +4 -0
  201. package/es/errorstate/RequestUrlNotFound/props/propTypes.js +11 -0
  202. package/es/errorstate/UnableToProcess/UnableToProcess.js +71 -76
  203. package/es/errorstate/UnableToProcess/UnableToProcess.module.css +0 -15
  204. package/es/errorstate/UnableToProcess/props/defaultProps.js +4 -0
  205. package/es/errorstate/UnableToProcess/props/propTypes.js +11 -0
  206. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +76 -81
  207. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +0 -15
  208. package/es/errorstate/UnauthorizedLogin/props/defaultProps.js +4 -0
  209. package/es/errorstate/UnauthorizedLogin/props/propTypes.js +11 -0
  210. package/es/errorstate/WillBack/WillBack.js +68 -74
  211. package/es/errorstate/WillBack/WillBack.module.css +23 -10
  212. package/es/errorstate/WillBack/props/defaultProps.js +4 -0
  213. package/es/errorstate/WillBack/props/propTypes.js +5 -0
  214. package/es/form/fields/CheckBoxField/CheckBoxField.js +137 -0
  215. package/es/form/fields/CheckBoxField/props/defaultProps.js +12 -0
  216. package/es/form/fields/CheckBoxField/props/propTypes.js +27 -0
  217. package/es/form/fields/CurrencyField/CurrencyField.js +176 -0
  218. package/es/form/fields/CurrencyField/props/defaultProps.js +17 -0
  219. package/es/form/fields/CurrencyField/props/propTypes.js +36 -0
  220. package/es/form/fields/DateField/DateField.js +185 -0
  221. package/es/form/fields/DateField/props/defaultProps.js +19 -0
  222. package/es/form/fields/DateField/props/propTypes.js +39 -0
  223. package/es/form/fields/FieldContainer/FieldContainer.js +68 -0
  224. package/es/form/fields/FieldContainer/props/defaultProps.js +7 -0
  225. package/es/form/fields/FieldContainer/props/propTypes.js +12 -0
  226. package/es/form/fields/Fields.module.css +183 -0
  227. package/es/form/fields/MultiSelectField/MultiSelectField.js +210 -0
  228. package/es/form/fields/MultiSelectField/props/defaultProps.js +17 -0
  229. package/es/form/fields/MultiSelectField/props/propTypes.js +50 -0
  230. package/es/form/fields/PhoneField/PhoneField.js +181 -0
  231. package/es/form/fields/PhoneField/props/defaultProps.js +16 -0
  232. package/es/form/fields/PhoneField/props/propTypes.js +40 -0
  233. package/es/form/fields/RadioField/RadioField.js +113 -0
  234. package/es/form/fields/RadioField/props/defaultProps.js +12 -0
  235. package/es/form/fields/RadioField/props/propTypes.js +30 -0
  236. package/es/form/fields/SelectField/SelectField.js +183 -0
  237. package/es/form/fields/SelectField/props/defaultProps.js +18 -0
  238. package/es/form/fields/SelectField/props/propTypes.js +50 -0
  239. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +280 -0
  240. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -0
  241. package/es/form/fields/TagsMultiSelect/props/defaultProps.js +11 -0
  242. package/es/form/fields/TagsMultiSelect/props/propTypes.js +43 -0
  243. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +242 -0
  244. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -0
  245. package/es/form/fields/TagsMultiSelectField/props/defaultProps.js +19 -0
  246. package/es/form/fields/TagsMultiSelectField/props/propTypes.js +52 -0
  247. package/es/form/fields/TextBoxField/TextBoxField.js +163 -0
  248. package/es/form/fields/TextBoxField/props/defaultProps.js +17 -0
  249. package/es/form/fields/TextBoxField/props/propTypes.js +37 -0
  250. package/es/form/fields/TextEditor/TextEditor.js +366 -0
  251. package/es/form/fields/TextEditor/TextEditor.module.css +666 -0
  252. package/es/form/fields/TextEditor/props/defaultProps.js +13 -0
  253. package/es/form/fields/TextEditor/props/propTypes.js +40 -0
  254. package/es/form/fields/TextEditorField/TextEditorField.js +172 -0
  255. package/es/form/fields/TextEditorField/props/defaultProps.js +15 -0
  256. package/es/form/fields/TextEditorField/props/propTypes.js +47 -0
  257. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +195 -0
  258. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +37 -0
  259. package/es/form/fields/TextEditorWrapper/props/defaultProps.js +9 -0
  260. package/es/form/fields/TextEditorWrapper/props/propTypes.js +39 -0
  261. package/es/form/fields/TextareaField/TextareaField.js +160 -0
  262. package/es/form/fields/TextareaField/props/defaultProps.js +15 -0
  263. package/es/form/fields/TextareaField/props/propTypes.js +34 -0
  264. package/es/form/fields/ValidationMessage/ValidationMessage.js +58 -0
  265. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -0
  266. package/es/form/fields/ValidationMessage/props/defaultProps.js +7 -0
  267. package/es/form/fields/ValidationMessage/props/propTypes.js +14 -0
  268. package/es/form/fields/props/FieldCommonDefaultProps.js +10 -0
  269. package/es/form/fields/props/FieldCommonPropTypes.js +23 -0
  270. package/es/form/layout/Field/Field.js +33 -0
  271. package/es/form/layout/Field/Field.module.css +22 -0
  272. package/es/form/layout/Field/props/defaultProps.js +4 -0
  273. package/es/form/layout/Field/props/propTypes.js +10 -0
  274. package/es/form/layout/Section/ModuleFormSection.module.css +3 -0
  275. package/es/form/layout/Section/Section.js +34 -0
  276. package/es/form/layout/Section/props/propTypes.js +9 -0
  277. package/es/index.js +2 -12
  278. package/es/layout/SetupDetailLayout/SetupDetailLayout.js +184 -320
  279. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +20 -20
  280. package/es/layout/SetupDetailLayout/props/defaultProps.js +18 -0
  281. package/es/layout/SetupDetailLayout/props/propTypes.js +33 -0
  282. package/es/layout/SubtabLayout/SubtabLayout.js +132 -218
  283. package/es/layout/SubtabLayout/SubtabLayout.module.css +72 -16
  284. package/es/layout/SubtabLayout/index.js +2 -1
  285. package/es/layout/SubtabLayout/props/defaultProps.js +25 -0
  286. package/es/layout/SubtabLayout/props/propTypes.js +40 -0
  287. package/es/list/AvatarFlip/AvatarFlip.js +72 -104
  288. package/es/list/AvatarFlip/AvatarFlip.module.css +1 -13
  289. package/es/list/AvatarFlip/props/defaultProps.js +6 -0
  290. package/es/list/AvatarFlip/props/propTypes.js +29 -0
  291. package/es/list/BluePrintStatus/BluePrintStatus.js +25 -47
  292. package/es/list/BluePrintStatus/BluePrintStatus.module.css +8 -6
  293. package/es/list/BluePrintStatus/props/propTypes.js +4 -0
  294. package/es/list/Comment/Comment.js +41 -77
  295. package/es/list/Comment/Comment.module.css +12 -5
  296. package/es/list/Comment/props/defaultProps.js +3 -0
  297. package/es/list/Comment/props/propTypes.js +9 -0
  298. package/es/list/DepartmentDropDown/DepartmentDropDown.js +87 -96
  299. package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +6 -80
  300. package/es/list/DepartmentDropDown/props/defaultProps.js +7 -0
  301. package/es/list/DepartmentDropDown/props/propTypes.js +24 -0
  302. package/es/list/Dot/Dot.js +17 -44
  303. package/es/list/Dot/Dot.module.css +7 -5
  304. package/es/list/Dot/props/defaultProps.js +4 -0
  305. package/es/list/Dot/props/propTypes.js +5 -0
  306. package/es/list/DotNew/DotNew.js +26 -38
  307. package/es/list/DotNew/DotNew.module.css +14 -11
  308. package/es/list/DotNew/props/defaultProps.js +3 -0
  309. package/es/list/DotNew/props/propTypes.js +6 -0
  310. package/es/list/GridStencils/GridStencils.js +32 -62
  311. package/es/list/GridStencils/GridStencils.module.css +23 -68
  312. package/es/list/GridStencils/props/propTypes.js +7 -0
  313. package/es/list/Icons/AddNewIcon.js +22 -66
  314. package/es/list/Icons/CompleteIcon.js +23 -55
  315. package/es/list/Icons/DeleteIcon.js +24 -75
  316. package/es/list/Icons/EditIcon.js +23 -74
  317. package/es/list/Icons/FloatingIcons.js +27 -55
  318. package/es/list/Icons/Icons.module.css +5 -4
  319. package/es/list/Icons/ReadUnreadIcon.js +31 -0
  320. package/es/list/Icons/SmartIcon.js +23 -45
  321. package/es/list/Icons/props/defaultProps.js +6 -0
  322. package/es/list/Icons/props/propTypes.js +55 -0
  323. package/es/list/ListLayout/ListLayout.js +73 -134
  324. package/es/list/ListLayout/ListLayout.module.css +38 -7
  325. package/es/list/ListLayout/props/defaultProps.js +11 -0
  326. package/es/list/ListLayout/props/propTypes.js +28 -0
  327. package/es/list/ListStencils/ListStencils.js +39 -55
  328. package/es/list/ListStencils/ListStencils.module.css +48 -8
  329. package/es/list/ListStencils/props/defaultProps.js +3 -0
  330. package/es/list/ListStencils/props/propTypes.js +4 -0
  331. package/es/list/SecondaryText/AccountName.js +72 -90
  332. package/es/list/SecondaryText/ContactName.js +78 -121
  333. package/es/list/SecondaryText/DepartmentText.js +26 -51
  334. package/es/list/SecondaryText/Email.js +44 -80
  335. package/es/list/SecondaryText/HappinessRating.js +26 -58
  336. package/es/list/SecondaryText/PhoneNumber.js +48 -83
  337. package/es/list/SecondaryText/PriorityText.js +29 -59
  338. package/es/list/SecondaryText/SecondaryText.js +35 -57
  339. package/es/list/SecondaryText/SecondaryText.module.css +53 -21
  340. package/es/list/SecondaryText/StatusText.js +30 -62
  341. package/es/list/SecondaryText/TicketId.js +47 -72
  342. package/es/list/SecondaryText/Website.js +33 -77
  343. package/es/list/SecondaryText/props/defaultProps.js +44 -0
  344. package/es/list/SecondaryText/props/propTypes.js +143 -0
  345. package/es/list/SecondryPanel/SecondryPanel.js +93 -187
  346. package/es/list/SecondryPanel/SecondryPanel.module.css +1 -22
  347. package/es/list/SecondryPanel/props/defaultProps.js +18 -0
  348. package/es/list/SecondryPanel/props/propTypes.js +27 -0
  349. package/es/list/SentimentStatus/SentimentStatus.js +31 -50
  350. package/es/list/SentimentStatus/SentimentStatus.module.css +1 -1
  351. package/es/list/SentimentStatus/props/propTypes.js +5 -0
  352. package/es/list/Subject/Subject.js +51 -85
  353. package/es/list/Subject/Subject.module.css +21 -3
  354. package/es/list/Subject/props/defaultProps.js +7 -0
  355. package/es/list/Subject/props/propTypes.js +19 -0
  356. package/es/list/TagNew/TagNew.js +29 -55
  357. package/es/list/TagNew/TagNew.module.css +5 -5
  358. package/es/list/TagNew/props/defaultProps.js +4 -0
  359. package/es/list/TagNew/props/propTypes.js +8 -0
  360. package/es/list/Thread/Thread.js +40 -60
  361. package/es/list/Thread/Thread.module.css +30 -7
  362. package/es/list/Thread/props/defaultProps.js +4 -0
  363. package/es/list/Thread/props/propTypes.js +8 -0
  364. package/es/list/UserTime/UserTime.js +76 -106
  365. package/es/list/UserTime/UserTime.module.css +23 -14
  366. package/es/list/UserTime/props/defaultProps.js +3 -0
  367. package/es/list/UserTime/props/propTypes.js +14 -0
  368. package/es/list/listCommon.module.css +19 -51
  369. package/es/list/status/StatusDropdown/StatusDropdown.js +423 -0
  370. package/es/list/status/StatusDropdown/StatusDropdown.module.css +92 -0
  371. package/es/list/status/StatusDropdown/props/defaultProps.js +18 -0
  372. package/es/list/status/StatusDropdown/props/propTypes.js +50 -0
  373. package/es/list/status/StatusListItem/StatusListItem.js +113 -0
  374. package/es/list/status/StatusListItem/StatusListItem.module.css +104 -0
  375. package/es/list/status/StatusListItem/props/defaultProps.js +14 -0
  376. package/es/list/status/StatusListItem/props/propTypes.js +28 -0
  377. package/es/lookup/EmptyPage/EmptyPage.js +52 -83
  378. package/es/lookup/EmptyPage/LookupEmptyPage.module.css +1 -1
  379. package/es/lookup/EmptyPage/props/defaultProps.js +4 -0
  380. package/es/lookup/EmptyPage/props/propTypes.js +5 -0
  381. package/es/lookup/Lookup/Lookup.js +86 -86
  382. package/es/lookup/Lookup/Lookup.module.css +12 -8
  383. package/es/lookup/Lookup/props/defaultProps.js +7 -0
  384. package/es/lookup/Lookup/props/propTypes.js +18 -0
  385. package/es/lookup/Section/LookupSection.module.css +3 -2
  386. package/es/lookup/Section/Section.js +18 -48
  387. package/es/lookup/Section/props/propTypes.js +6 -0
  388. package/es/lookup/header/Close/Close.js +25 -53
  389. package/es/lookup/header/Close/LookupClose.module.css +5 -5
  390. package/es/lookup/header/Close/props/defaultProps.js +3 -0
  391. package/es/lookup/header/Close/props/propTypes.js +6 -0
  392. package/es/lookup/header/ModuleHeader/ModuleHeader.js +62 -90
  393. package/es/lookup/header/ModuleHeader/props/defaultProps.js +3 -0
  394. package/es/lookup/header/ModuleHeader/props/propTypes.js +17 -0
  395. package/es/lookup/header/Search/LookupSearch.module.css +52 -9
  396. package/es/lookup/header/Search/Search.js +210 -129
  397. package/es/lookup/header/Search/props/defaultProps.js +5 -0
  398. package/es/lookup/header/Search/props/propTypes.js +28 -0
  399. package/es/lookup/header/TicketHeader/TicketHeader.js +80 -115
  400. package/es/lookup/header/TicketHeader/TicketHeader.module.css +3 -2
  401. package/es/lookup/header/TicketHeader/props/defaultProps.js +4 -0
  402. package/es/lookup/header/TicketHeader/props/propTypes.js +20 -0
  403. package/es/lookup/header/Title/LookupTitle.module.css +4 -4
  404. package/es/lookup/header/Title/Title.js +22 -54
  405. package/es/lookup/header/Title/props/defaultProps.js +3 -0
  406. package/es/lookup/header/Title/props/propTypes.js +6 -0
  407. package/es/lookup/header/ViewDropDown/ViewDropDown.js +149 -195
  408. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +9 -11
  409. package/es/lookup/header/ViewDropDown/props/defaultProps.js +7 -0
  410. package/es/lookup/header/ViewDropDown/props/propTypes.js +26 -0
  411. package/es/lookup/header/lookupHeaderCommon.module.css +13 -5
  412. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +1 -1
  413. package/es/setup/header/Button/Button.js +32 -59
  414. package/es/setup/header/Button/props/defaultProps.js +4 -0
  415. package/es/setup/header/Button/props/propTypes.js +7 -0
  416. package/es/setup/header/Link/HeaderLink.module.css +4 -5
  417. package/es/setup/header/Link/Link.js +39 -70
  418. package/es/setup/header/Link/props/defaultProps.js +4 -0
  419. package/es/setup/header/Link/props/propTypes.js +8 -0
  420. package/es/setup/header/Search/Search.js +71 -96
  421. package/es/setup/header/Search/Search.module.css +13 -12
  422. package/es/setup/header/Search/props/defaultProps.js +5 -0
  423. package/es/setup/header/Search/props/propTypes.js +11 -0
  424. package/es/setup/header/Views/Views.js +43 -77
  425. package/es/setup/header/Views/Views.module.css +4 -4
  426. package/es/setup/header/Views/props/defaultProps.js +6 -0
  427. package/es/setup/header/Views/props/propTypes.js +9 -0
  428. package/es/setup/helptips/Description/Description.js +21 -42
  429. package/es/setup/helptips/Description/HelpTipsDescription.module.css +2 -2
  430. package/es/setup/helptips/Description/props/propTypes.js +4 -0
  431. package/es/setup/helptips/Link/HelpTipsLink.module.css +2 -2
  432. package/es/setup/helptips/Link/Link.js +34 -57
  433. package/es/setup/helptips/Link/props/propTypes.js +7 -0
  434. package/es/setup/helptips/ListGroup/ListGroup.js +33 -63
  435. package/es/setup/helptips/ListGroup/ListGroup.module.css +2 -2
  436. package/es/setup/helptips/ListGroup/props/propTypes.js +5 -0
  437. package/es/setup/helptips/Title/HelpTipsTitle.module.css +2 -2
  438. package/es/setup/helptips/Title/Title.js +21 -42
  439. package/es/setup/helptips/Title/props/propTypes.js +4 -0
  440. package/es/setup/table/Table/Table.js +23 -50
  441. package/es/setup/table/Table/props/defaultProps.js +4 -0
  442. package/es/setup/table/Table/props/propTypes.js +6 -0
  443. package/es/setup/table/TableBody/TableBody.js +27 -50
  444. package/es/setup/table/TableBody/props/defaultProps.js +3 -0
  445. package/es/setup/table/TableBody/props/propTypes.js +7 -0
  446. package/es/setup/table/TableData/TableData.js +33 -65
  447. package/es/setup/table/TableData/props/defaultProps.js +5 -0
  448. package/es/setup/table/TableData/props/propTypes.js +10 -0
  449. package/es/setup/table/TableHead/SetupTableHead.module.css +12 -0
  450. package/es/setup/table/TableHead/TableHead.js +35 -69
  451. package/es/setup/table/TableHead/props/defaultProps.js +4 -0
  452. package/es/setup/table/TableHead/props/propTypes.js +7 -0
  453. package/es/setup/table/TableRow/SetupTableRow.module.css +14 -0
  454. package/es/setup/table/TableRow/TableRow.js +40 -75
  455. package/es/setup/table/TableRow/props/defaultProps.js +4 -0
  456. package/es/setup/table/TableRow/props/propTypes.js +11 -0
  457. package/es/setup/table/Text/TableText.module.css +37 -0
  458. package/es/setup/table/Text/Text.js +48 -100
  459. package/es/setup/table/Text/props/defaultProps.js +7 -0
  460. package/es/setup/table/Text/props/propTypes.js +13 -0
  461. package/es/svg/PlusIcon.js +31 -66
  462. package/es/svg/SnippetIcon.js +33 -69
  463. package/es/svg/TemplateIcon.js +34 -64
  464. package/es/svg/props/defaultProps.js +15 -0
  465. package/es/svg/props/propTypes.js +16 -0
  466. package/es/utils/ChannelIconMapping.js +101 -84
  467. package/es/utils/General.js +25 -6
  468. package/es/utils/editorUtils.js +169 -0
  469. package/es/version2/AlertClose/AlertClose.js +40 -0
  470. package/es/version2/AlertClose/AlertClose.module.css +43 -0
  471. package/es/version2/AlertClose/props/propTypes.js +8 -0
  472. package/es/version2/GlobalNotification/GlobalNotification.js +134 -0
  473. package/es/version2/GlobalNotification/GlobalNotification.module.css +125 -0
  474. package/es/version2/GlobalNotification/props/defaultProps.js +4 -0
  475. package/es/version2/GlobalNotification/props/propTypes.js +14 -0
  476. package/es/version2/alertIcons/AlarmAlertIcon.js +67 -0
  477. package/es/version2/alertIcons/AlertIcons.js +61 -0
  478. package/es/version2/alertIcons/AlertIcons.module.css +67 -0
  479. package/es/version2/alertIcons/DangerAlertIcon.js +67 -0
  480. package/es/version2/alertIcons/ErrorAlertIcon.js +72 -0
  481. package/es/version2/alertIcons/InfoAlertIcon.js +76 -0
  482. package/es/version2/alertIcons/NotificationAlertIcon.js +72 -0
  483. package/es/version2/alertIcons/SuccessAlertIcon.js +67 -0
  484. package/es/version2/alertIcons/WarningAlertIcon.js +67 -0
  485. package/es/version2/alertIcons/props/defaultProps.js +27 -0
  486. package/es/version2/alertIcons/props/propTypes.js +34 -0
  487. package/es/version2/errorstate/Inconvenience/Inconvenience.js +70 -0
  488. package/es/version2/errorstate/Inconvenience/props/defaultProps.js +8 -0
  489. package/es/version2/errorstate/Inconvenience/props/propTypes.js +16 -0
  490. package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +71 -0
  491. package/es/version2/errorstate/OopsSomethingMiss/props/defaultProps.js +8 -0
  492. package/es/version2/errorstate/OopsSomethingMiss/props/propTypes.js +16 -0
  493. package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +70 -0
  494. package/es/version2/errorstate/UnableToProcessRequest/props/defaultProps.js +8 -0
  495. package/es/version2/errorstate/UnableToProcessRequest/props/propTypes.js +16 -0
  496. package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +72 -0
  497. package/es/version2/errorstate/UnauthorizedLogin/props/defaultProps.js +9 -0
  498. package/es/version2/errorstate/UnauthorizedLogin/props/propTypes.js +17 -0
  499. package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +70 -0
  500. package/es/version2/errorstate/UrlNotFound/props/defaultProps.js +8 -0
  501. package/es/version2/errorstate/UrlNotFound/props/propTypes.js +16 -0
  502. package/es/version2/errorstate/V2_ErrorStates.module.css +46 -0
  503. package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +70 -0
  504. package/es/version2/errorstate/WillBeRightBack/props/defaultProps.js +8 -0
  505. package/es/version2/errorstate/WillBeRightBack/props/propTypes.js +16 -0
  506. package/es/version2/lookup/AlertHeader/AlertHeader.js +63 -0
  507. package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +87 -0
  508. package/es/version2/lookup/AlertHeader/props/defaultProps.js +6 -0
  509. package/es/version2/lookup/AlertHeader/props/propTypes.js +12 -0
  510. package/es/version2/lookup/AlertLookup/AlertLookup.js +197 -0
  511. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +44 -0
  512. package/es/version2/lookup/AlertLookup/props/defaultProps.js +13 -0
  513. package/es/version2/lookup/AlertLookup/props/propTypes.js +36 -0
  514. package/es/version2/lookup/alertLookupCommonNew.module.css +33 -0
  515. package/es/version2/notification/DesktopNotification/DesktopNotification.js +161 -0
  516. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -0
  517. package/es/version2/notification/DesktopNotification/props/defaultProps.js +15 -0
  518. package/es/version2/notification/DesktopNotification/props/propTypes.js +37 -0
  519. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +61 -0
  520. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +137 -0
  521. package/es/version2/notification/DesktopNotificationHeader/props/defaultProps.js +5 -0
  522. package/es/version2/notification/DesktopNotificationHeader/props/propTypes.js +11 -0
  523. package/images/audio_thumbnail.png +0 -0
  524. package/install.md +12 -0
  525. package/lib/ActionButton/ActionButton.js +172 -0
  526. package/lib/ActionButton/ActionButton.module.css +139 -0
  527. package/lib/ActionButton/props/defaultProps.js +24 -0
  528. package/lib/ActionButton/props/propTypes.js +39 -0
  529. package/lib/AlphabeticList/AlphabeticList.js +144 -0
  530. package/lib/AlphabeticList/AlphabeticList.module.css +57 -0
  531. package/lib/AlphabeticList/props/defaultProps.js +20 -0
  532. package/lib/AlphabeticList/props/propTypes.js +41 -0
  533. package/lib/Attachment/Attachment.js +117 -0
  534. package/lib/Attachment/Attachment.module.css +158 -0
  535. package/lib/Attachment/props/defaultProps.js +14 -0
  536. package/lib/Attachment/props/propTypes.js +24 -0
  537. package/lib/AttachmentViewer/Attachment.js +24 -0
  538. package/lib/AttachmentViewer/AttachmentImage.js +97 -0
  539. package/lib/AttachmentViewer/AttachmentViewer.js +559 -0
  540. package/lib/AttachmentViewer/AttachmentViewer.module.css +354 -0
  541. package/lib/AttachmentViewer/props/defaultProps.js +18 -0
  542. package/lib/AttachmentViewer/props/propTypes.js +40 -0
  543. package/lib/AttachmentViewer/utils.js +113 -0
  544. package/lib/ChannelIcon/ChannelIcon.js +105 -126
  545. package/lib/ChannelIcon/ChannelIcon.module.css +68 -59
  546. package/lib/ChannelIcon/props/defaultProps.js +14 -0
  547. package/lib/ChannelIcon/props/propTypes.js +33 -0
  548. package/lib/Drawer/Drawer.js +278 -335
  549. package/lib/Drawer/Drawer.module.css +71 -123
  550. package/lib/Drawer/props/defaultProps.js +30 -0
  551. package/lib/Drawer/props/propTypes.js +61 -0
  552. package/lib/ExternalLink/ExternalLink.js +59 -87
  553. package/lib/ExternalLink/ExternalLink.module.css +3 -3
  554. package/lib/ExternalLink/__tests__/ExternalLink.spec.js +13 -31
  555. package/lib/ExternalLink/props/defaultProps.js +12 -0
  556. package/lib/ExternalLink/props/propTypes.js +20 -0
  557. package/lib/FlipCard/FlipCard.js +139 -183
  558. package/lib/FlipCard/FlipCard.module.css +15 -6
  559. package/lib/FlipCard/props/defaultProps.js +12 -0
  560. package/lib/FlipCard/props/propTypes.js +45 -0
  561. package/lib/FormAction/FormAction.js +78 -114
  562. package/lib/FormAction/FormAction.module.css +9 -4
  563. package/lib/FormAction/props/defaultProps.js +12 -0
  564. package/lib/FormAction/props/propTypes.js +16 -0
  565. package/lib/FreezeLayer/FreezeLayer.js +74 -164
  566. package/lib/FreezeLayer/css/FreezeLayer.module.css +42 -0
  567. package/lib/FreezeLayer/css/cssJSLogic.js +25 -0
  568. package/lib/FreezeLayer/index.js +20 -0
  569. package/lib/FreezeLayer/props/defaultProps.js +16 -0
  570. package/lib/FreezeLayer/props/propTypes.js +26 -0
  571. package/lib/FreezeLayer/useFreezeLayer.js +73 -0
  572. package/lib/IconButton/IconButton.js +160 -98
  573. package/lib/IconButton/IconButton.module.css +13 -28
  574. package/lib/IconButton/props/defaultProps.js +24 -0
  575. package/lib/IconButton/props/propTypes.js +41 -0
  576. package/lib/Image/Image.js +51 -68
  577. package/lib/Image/props/defaultProps.js +11 -0
  578. package/lib/Image/props/propTypes.js +21 -0
  579. package/lib/ImportantNotes/ImportantNotes.js +75 -0
  580. package/lib/ImportantNotes/ImportantNotes.module.css +20 -0
  581. package/lib/ImportantNotes/props/defaultProps.js +13 -0
  582. package/lib/ImportantNotes/props/propTypes.js +18 -0
  583. package/lib/Link/Link.js +78 -108
  584. package/lib/Link/LinkContext.js +7 -10
  585. package/lib/Link/props/defaultProps.js +12 -0
  586. package/lib/Link/props/propTypes.js +22 -0
  587. package/lib/Loader/Loader.js +53 -0
  588. package/lib/Loader/Loader.module.css +46 -0
  589. package/lib/Message/Message.js +136 -0
  590. package/lib/Message/Message.module.css +103 -0
  591. package/lib/Message/props/defaultProps.js +11 -0
  592. package/lib/Message/props/propTypes.js +21 -0
  593. package/lib/MessageBanner/MessageBanner.js +92 -0
  594. package/lib/MessageBanner/MessageBanner.module.css +46 -0
  595. package/lib/MessageBanner/props/defaultProps.js +14 -0
  596. package/lib/MessageBanner/props/propTypes.js +21 -0
  597. package/lib/NewStar/NewStar.js +100 -0
  598. package/lib/NewStar/NewStar.module.css +175 -0
  599. package/lib/NewStar/props/defaultProps.js +11 -0
  600. package/lib/NewStar/props/propTypes.js +14 -0
  601. package/lib/PlusIcon/PlusIcon.js +56 -93
  602. package/lib/PlusIcon/PlusIcon.module.css +11 -2
  603. package/lib/PlusIcon/props/defaultProps.js +15 -0
  604. package/lib/PlusIcon/props/propTypes.js +19 -0
  605. package/lib/Provider/Config.js +19 -0
  606. package/lib/Separator/Separator.js +84 -0
  607. package/lib/Separator/Separator.module.css +34 -0
  608. package/lib/Separator/props/defaultProps.js +19 -0
  609. package/lib/Separator/props/propTypes.js +19 -0
  610. package/lib/ToastMessage/ToastMessage.js +213 -360
  611. package/lib/ToastMessage/ToastMessage.module.css +57 -62
  612. package/lib/ToastMessage/props/defaultProps.js +25 -0
  613. package/lib/ToastMessage/props/propTypes.js +47 -0
  614. package/lib/Upload/Upload.js +104 -0
  615. package/lib/Upload/Upload.module.css +125 -0
  616. package/lib/Upload/props/defaultProps.js +14 -0
  617. package/lib/Upload/props/propTypes.js +25 -0
  618. package/lib/actions/AutoClose.js +58 -0
  619. package/lib/actions/index.js +8 -3
  620. package/lib/actions/props/defaultProps.js +10 -0
  621. package/lib/actions/props/propTypes.js +15 -0
  622. package/lib/alert/AlertHeader/AlertHeader.js +86 -142
  623. package/lib/alert/AlertHeader/AlertHeader.module.css +14 -13
  624. package/lib/alert/AlertHeader/props/defaultProps.js +15 -0
  625. package/lib/alert/AlertHeader/props/propTypes.js +23 -0
  626. package/lib/alert/AlertLookup/AlertLookup.js +122 -219
  627. package/lib/alert/AlertLookup/AlertLookup.module.css +7 -3
  628. package/lib/alert/AlertLookup/props/defaultProps.js +21 -0
  629. package/lib/alert/AlertLookup/props/propTypes.js +44 -0
  630. package/lib/avatar/AvatarClose/AvatarClose.js +64 -81
  631. package/lib/avatar/AvatarClose/AvatarClose.module.css +4 -4
  632. package/lib/avatar/AvatarClose/props/defaultProps.js +13 -0
  633. package/lib/avatar/AvatarClose/props/propTypes.js +22 -0
  634. package/lib/avatar/AvatarCollision/AvatarCollision.js +72 -102
  635. package/lib/avatar/AvatarCollision/AvatarCollision.module.css +9 -9
  636. package/lib/avatar/AvatarCollision/props/defaultProps.js +15 -0
  637. package/lib/avatar/AvatarCollision/props/propTypes.js +25 -0
  638. package/lib/avatar/AvatarIcon/AvatarIcon.js +68 -99
  639. package/lib/avatar/AvatarIcon/AvatarIcon.module.css +32 -10
  640. package/lib/avatar/AvatarIcon/props/defaultProps.js +21 -0
  641. package/lib/avatar/AvatarIcon/props/propTypes.js +28 -0
  642. package/lib/avatar/AvatarStatus/AvatarStatus.js +84 -85
  643. package/lib/avatar/AvatarStatus/AvatarStatus.module.css +87 -34
  644. package/lib/avatar/AvatarStatus/props/defaultProps.js +19 -0
  645. package/lib/avatar/AvatarStatus/props/propTypes.js +33 -0
  646. package/lib/avatar/AvatarThread/AvatarThread.js +93 -118
  647. package/lib/avatar/AvatarThread/AvatarThread.module.css +119 -17
  648. package/lib/avatar/AvatarThread/props/defaultProps.js +16 -0
  649. package/lib/avatar/AvatarThread/props/propTypes.js +38 -0
  650. package/lib/avatar/AvatarUser/AvatarUser.js +124 -135
  651. package/lib/avatar/AvatarUser/AvatarUser.module.css +95 -25
  652. package/lib/avatar/AvatarUser/props/defaultProps.js +15 -0
  653. package/lib/avatar/AvatarUser/props/propTypes.js +43 -0
  654. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +116 -92
  655. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +5 -5
  656. package/lib/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +42 -51
  657. package/lib/avatar/AvatarWithTeam/props/defaultProps.js +16 -0
  658. package/lib/avatar/AvatarWithTeam/props/propTypes.js +33 -0
  659. package/lib/common/dot_animation.module.css +27 -0
  660. package/lib/common/dot_common.module.css +4 -0
  661. package/lib/deprecated/FreezeLayer/FreezeLayer.js +163 -0
  662. package/lib/deprecated/FreezeLayer/FreezeLayer.module.css +42 -0
  663. package/lib/deprecated/FreezeLayer/props/defaultProps.js +15 -0
  664. package/lib/deprecated/FreezeLayer/props/propTypes.js +25 -0
  665. package/lib/deprecated/SelectDropdown/SelectDropdown.js +175 -0
  666. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +56 -0
  667. package/lib/deprecated/utils/General.js +24 -0
  668. package/lib/deprecated/utils/KeyboardApi.js +258 -0
  669. package/lib/docs/formDocs.js +111 -0
  670. package/lib/docs/generalDocs.js +179 -631
  671. package/lib/docs/lookupDocs.js +50 -128
  672. package/lib/docs/setupDocs.js +35 -175
  673. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +793 -556
  674. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +40 -13
  675. package/lib/dropdown/ToggleDropDown/props/defaultProps.js +32 -0
  676. package/lib/dropdown/ToggleDropDown/props/propTypes.js +79 -0
  677. package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +83 -140
  678. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +66 -15
  679. package/lib/emptystate/CommonEmptyState/props/defaultProps.js +17 -0
  680. package/lib/emptystate/CommonEmptyState/props/propTypes.js +29 -0
  681. package/lib/emptystate/EditionPage/EditionPage.css +5 -5
  682. package/lib/emptystate/EditionPage/EditionPage.js +69 -105
  683. package/lib/emptystate/EditionPage/props/defaultProps.js +12 -0
  684. package/lib/emptystate/EditionPage/props/propTypes.js +15 -0
  685. package/lib/errorstate/EmptyStates.module.css +56 -13
  686. package/lib/errorstate/Inconvenience/Inconvenience.js +91 -98
  687. package/lib/errorstate/Inconvenience/Inconvenience.module.css +0 -2
  688. package/lib/errorstate/Inconvenience/props/defaultProps.js +11 -0
  689. package/lib/errorstate/Inconvenience/props/propTypes.js +19 -0
  690. package/lib/errorstate/LinkText/LinkText.js +45 -62
  691. package/lib/errorstate/LinkText/LinkText.module.css +2 -2
  692. package/lib/errorstate/LinkText/props/defaultProps.js +11 -0
  693. package/lib/errorstate/LinkText/props/propTypes.js +16 -0
  694. package/lib/errorstate/NoRequestFound/NoRequestFound.js +96 -103
  695. package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +0 -2
  696. package/lib/errorstate/NoRequestFound/props/defaultProps.js +11 -0
  697. package/lib/errorstate/NoRequestFound/props/propTypes.js +19 -0
  698. package/lib/errorstate/PermissionPlay/PermissionPlay.js +95 -111
  699. package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +10 -9
  700. package/lib/errorstate/PermissionPlay/props/defaultProps.js +11 -0
  701. package/lib/errorstate/PermissionPlay/props/propTypes.js +19 -0
  702. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +96 -103
  703. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +0 -2
  704. package/lib/errorstate/RequestUrlNotFound/props/defaultProps.js +11 -0
  705. package/lib/errorstate/RequestUrlNotFound/props/propTypes.js +19 -0
  706. package/lib/errorstate/UnableToProcess/UnableToProcess.js +91 -98
  707. package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +0 -15
  708. package/lib/errorstate/UnableToProcess/props/defaultProps.js +11 -0
  709. package/lib/errorstate/UnableToProcess/props/propTypes.js +19 -0
  710. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +96 -103
  711. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +0 -15
  712. package/lib/errorstate/UnauthorizedLogin/props/defaultProps.js +11 -0
  713. package/lib/errorstate/UnauthorizedLogin/props/propTypes.js +19 -0
  714. package/lib/errorstate/WillBack/WillBack.js +87 -92
  715. package/lib/errorstate/WillBack/WillBack.module.css +23 -10
  716. package/lib/errorstate/WillBack/props/defaultProps.js +11 -0
  717. package/lib/errorstate/WillBack/props/propTypes.js +13 -0
  718. package/lib/form/fields/CheckBoxField/CheckBoxField.js +167 -0
  719. package/lib/form/fields/CheckBoxField/props/defaultProps.js +24 -0
  720. package/lib/form/fields/CheckBoxField/props/propTypes.js +40 -0
  721. package/lib/form/fields/CurrencyField/CurrencyField.js +204 -0
  722. package/lib/form/fields/CurrencyField/props/defaultProps.js +29 -0
  723. package/lib/form/fields/CurrencyField/props/propTypes.js +49 -0
  724. package/lib/form/fields/DateField/DateField.js +216 -0
  725. package/lib/form/fields/DateField/props/defaultProps.js +31 -0
  726. package/lib/form/fields/DateField/props/propTypes.js +52 -0
  727. package/lib/form/fields/FieldContainer/FieldContainer.js +94 -0
  728. package/lib/form/fields/FieldContainer/props/defaultProps.js +19 -0
  729. package/lib/form/fields/FieldContainer/props/propTypes.js +25 -0
  730. package/lib/form/fields/Fields.module.css +183 -0
  731. package/lib/form/fields/MultiSelectField/MultiSelectField.js +242 -0
  732. package/lib/form/fields/MultiSelectField/props/defaultProps.js +29 -0
  733. package/lib/form/fields/MultiSelectField/props/propTypes.js +63 -0
  734. package/lib/form/fields/PhoneField/PhoneField.js +206 -0
  735. package/lib/form/fields/PhoneField/props/defaultProps.js +23 -0
  736. package/lib/form/fields/PhoneField/props/propTypes.js +48 -0
  737. package/lib/form/fields/RadioField/RadioField.js +141 -0
  738. package/lib/form/fields/RadioField/props/defaultProps.js +19 -0
  739. package/lib/form/fields/RadioField/props/propTypes.js +38 -0
  740. package/lib/form/fields/SelectField/SelectField.js +210 -0
  741. package/lib/form/fields/SelectField/props/defaultProps.js +30 -0
  742. package/lib/form/fields/SelectField/props/propTypes.js +63 -0
  743. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +308 -0
  744. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -0
  745. package/lib/form/fields/TagsMultiSelect/props/defaultProps.js +18 -0
  746. package/lib/form/fields/TagsMultiSelect/props/propTypes.js +51 -0
  747. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +258 -0
  748. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -0
  749. package/lib/form/fields/TagsMultiSelectField/props/defaultProps.js +31 -0
  750. package/lib/form/fields/TagsMultiSelectField/props/propTypes.js +65 -0
  751. package/lib/form/fields/TextBoxField/TextBoxField.js +192 -0
  752. package/lib/form/fields/TextBoxField/props/defaultProps.js +29 -0
  753. package/lib/form/fields/TextBoxField/props/propTypes.js +50 -0
  754. package/lib/form/fields/TextEditor/TextEditor.js +399 -0
  755. package/lib/form/fields/TextEditor/TextEditor.module.css +666 -0
  756. package/lib/form/fields/TextEditor/props/defaultProps.js +20 -0
  757. package/lib/form/fields/TextEditor/props/propTypes.js +48 -0
  758. package/lib/form/fields/TextEditorField/TextEditorField.js +202 -0
  759. package/lib/form/fields/TextEditorField/props/defaultProps.js +27 -0
  760. package/lib/form/fields/TextEditorField/props/propTypes.js +60 -0
  761. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +224 -0
  762. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +37 -0
  763. package/lib/form/fields/TextEditorWrapper/props/defaultProps.js +16 -0
  764. package/lib/form/fields/TextEditorWrapper/props/propTypes.js +47 -0
  765. package/lib/form/fields/TextareaField/TextareaField.js +189 -0
  766. package/lib/form/fields/TextareaField/props/defaultProps.js +27 -0
  767. package/lib/form/fields/TextareaField/props/propTypes.js +47 -0
  768. package/lib/form/fields/ValidationMessage/ValidationMessage.js +87 -0
  769. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -0
  770. package/lib/form/fields/ValidationMessage/props/defaultProps.js +14 -0
  771. package/lib/form/fields/ValidationMessage/props/propTypes.js +22 -0
  772. package/lib/form/fields/props/FieldCommonDefaultProps.js +17 -0
  773. package/lib/form/fields/props/FieldCommonPropTypes.js +31 -0
  774. package/lib/form/layout/Field/Field.js +65 -0
  775. package/lib/form/layout/Field/Field.module.css +22 -0
  776. package/lib/form/layout/Field/props/defaultProps.js +11 -0
  777. package/lib/form/layout/Field/props/propTypes.js +18 -0
  778. package/lib/form/layout/Section/ModuleFormSection.module.css +3 -0
  779. package/lib/form/layout/Section/Section.js +63 -0
  780. package/lib/form/layout/Section/props/propTypes.js +17 -0
  781. package/lib/index.js +18 -56
  782. package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +191 -304
  783. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +20 -20
  784. package/lib/layout/SetupDetailLayout/index.js +12 -13
  785. package/lib/layout/SetupDetailLayout/props/defaultProps.js +28 -0
  786. package/lib/layout/SetupDetailLayout/props/propTypes.js +44 -0
  787. package/lib/layout/SubtabLayout/SubtabLayout.js +171 -225
  788. package/lib/layout/SubtabLayout/SubtabLayout.module.css +72 -16
  789. package/lib/layout/SubtabLayout/index.js +16 -11
  790. package/lib/layout/SubtabLayout/props/defaultProps.js +35 -0
  791. package/lib/layout/SubtabLayout/props/propTypes.js +51 -0
  792. package/lib/list/AvatarFlip/AvatarFlip.js +74 -96
  793. package/lib/list/AvatarFlip/AvatarFlip.module.css +1 -13
  794. package/lib/list/AvatarFlip/props/defaultProps.js +13 -0
  795. package/lib/list/AvatarFlip/props/propTypes.js +37 -0
  796. package/lib/list/BluePrintStatus/BluePrintStatus.js +40 -58
  797. package/lib/list/BluePrintStatus/BluePrintStatus.module.css +8 -6
  798. package/lib/list/BluePrintStatus/props/propTypes.js +12 -0
  799. package/lib/list/Comment/Comment.js +57 -86
  800. package/lib/list/Comment/Comment.module.css +12 -5
  801. package/lib/list/Comment/props/defaultProps.js +10 -0
  802. package/lib/list/Comment/props/propTypes.js +17 -0
  803. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +94 -90
  804. package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +6 -80
  805. package/lib/list/DepartmentDropDown/props/defaultProps.js +14 -0
  806. package/lib/list/DepartmentDropDown/props/propTypes.js +33 -0
  807. package/lib/list/Dot/Dot.js +34 -51
  808. package/lib/list/Dot/Dot.module.css +7 -5
  809. package/lib/list/Dot/props/defaultProps.js +11 -0
  810. package/lib/list/Dot/props/propTypes.js +13 -0
  811. package/lib/list/DotNew/DotNew.js +43 -45
  812. package/lib/list/DotNew/DotNew.module.css +14 -11
  813. package/lib/list/DotNew/props/defaultProps.js +10 -0
  814. package/lib/list/DotNew/props/propTypes.js +14 -0
  815. package/lib/list/GridStencils/GridStencils.js +51 -70
  816. package/lib/list/GridStencils/GridStencils.module.css +23 -68
  817. package/lib/list/GridStencils/props/propTypes.js +15 -0
  818. package/lib/list/Icons/AddNewIcon.js +46 -83
  819. package/lib/list/Icons/CompleteIcon.js +52 -75
  820. package/lib/list/Icons/DeleteIcon.js +44 -89
  821. package/lib/list/Icons/EditIcon.js +48 -93
  822. package/lib/list/Icons/FloatingIcons.js +47 -60
  823. package/lib/list/Icons/Icons.module.css +5 -4
  824. package/lib/list/Icons/ReadUnreadIcon.js +61 -0
  825. package/lib/list/Icons/SmartIcon.js +53 -63
  826. package/lib/list/Icons/props/defaultProps.js +14 -0
  827. package/lib/list/Icons/props/propTypes.js +69 -0
  828. package/lib/list/ListLayout/ListLayout.js +89 -138
  829. package/lib/list/ListLayout/ListLayout.module.css +38 -7
  830. package/lib/list/ListLayout/props/defaultProps.js +18 -0
  831. package/lib/list/ListLayout/props/propTypes.js +39 -0
  832. package/lib/list/ListStencils/ListStencils.js +59 -69
  833. package/lib/list/ListStencils/ListStencils.module.css +48 -8
  834. package/lib/list/ListStencils/props/defaultProps.js +10 -0
  835. package/lib/list/ListStencils/props/propTypes.js +12 -0
  836. package/lib/list/SecondaryText/AccountName.js +97 -112
  837. package/lib/list/SecondaryText/ContactName.js +103 -142
  838. package/lib/list/SecondaryText/DepartmentText.js +43 -58
  839. package/lib/list/SecondaryText/Email.js +65 -99
  840. package/lib/list/SecondaryText/HappinessRating.js +46 -69
  841. package/lib/list/SecondaryText/PhoneNumber.js +69 -102
  842. package/lib/list/SecondaryText/PriorityText.js +46 -66
  843. package/lib/list/SecondaryText/SecondaryText.js +50 -64
  844. package/lib/list/SecondaryText/SecondaryText.module.css +53 -21
  845. package/lib/list/SecondaryText/StatusText.js +47 -69
  846. package/lib/list/SecondaryText/TicketId.js +65 -83
  847. package/lib/list/SecondaryText/Website.js +54 -96
  848. package/lib/list/SecondaryText/index.js +35 -58
  849. package/lib/list/SecondaryText/props/defaultProps.js +59 -0
  850. package/lib/list/SecondaryText/props/propTypes.js +161 -0
  851. package/lib/list/SecondryPanel/SecondryPanel.js +117 -182
  852. package/lib/list/SecondryPanel/SecondryPanel.module.css +1 -22
  853. package/lib/list/SecondryPanel/props/defaultProps.js +28 -0
  854. package/lib/list/SecondryPanel/props/propTypes.js +38 -0
  855. package/lib/list/SentimentStatus/SentimentStatus.js +42 -56
  856. package/lib/list/SentimentStatus/SentimentStatus.module.css +1 -1
  857. package/lib/list/SentimentStatus/props/propTypes.js +13 -0
  858. package/lib/list/Subject/Subject.js +69 -95
  859. package/lib/list/Subject/Subject.module.css +21 -3
  860. package/lib/list/Subject/props/defaultProps.js +14 -0
  861. package/lib/list/Subject/props/propTypes.js +27 -0
  862. package/lib/list/TagNew/TagNew.js +46 -62
  863. package/lib/list/TagNew/TagNew.module.css +5 -5
  864. package/lib/list/TagNew/props/defaultProps.js +11 -0
  865. package/lib/list/TagNew/props/propTypes.js +16 -0
  866. package/lib/list/Thread/Thread.js +56 -69
  867. package/lib/list/Thread/Thread.module.css +30 -7
  868. package/lib/list/Thread/props/defaultProps.js +11 -0
  869. package/lib/list/Thread/props/propTypes.js +16 -0
  870. package/lib/list/UserTime/UserTime.js +96 -120
  871. package/lib/list/UserTime/UserTime.module.css +23 -14
  872. package/lib/list/UserTime/props/defaultProps.js +10 -0
  873. package/lib/list/UserTime/props/propTypes.js +22 -0
  874. package/lib/list/listCommon.module.css +19 -51
  875. package/lib/list/status/StatusDropdown/StatusDropdown.js +473 -0
  876. package/lib/list/status/StatusDropdown/StatusDropdown.module.css +92 -0
  877. package/lib/list/status/StatusDropdown/props/defaultProps.js +25 -0
  878. package/lib/list/status/StatusDropdown/props/propTypes.js +32 -0
  879. package/lib/list/status/StatusListItem/StatusListItem.js +141 -0
  880. package/lib/list/status/StatusListItem/StatusListItem.module.css +104 -0
  881. package/lib/list/status/StatusListItem/props/defaultProps.js +21 -0
  882. package/lib/list/status/StatusListItem/props/propTypes.js +36 -0
  883. package/lib/lookup/EmptyPage/EmptyPage.js +61 -92
  884. package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +1 -1
  885. package/lib/lookup/EmptyPage/props/defaultProps.js +11 -0
  886. package/lib/lookup/EmptyPage/props/propTypes.js +13 -0
  887. package/lib/lookup/Lookup/Lookup.js +112 -111
  888. package/lib/lookup/Lookup/Lookup.module.css +12 -8
  889. package/lib/lookup/Lookup/props/defaultProps.js +14 -0
  890. package/lib/lookup/Lookup/props/propTypes.js +26 -0
  891. package/lib/lookup/Section/LookupSection.module.css +3 -2
  892. package/lib/lookup/Section/Section.js +36 -57
  893. package/lib/lookup/Section/props/propTypes.js +14 -0
  894. package/lib/lookup/header/Close/Close.js +42 -61
  895. package/lib/lookup/header/Close/LookupClose.module.css +5 -5
  896. package/lib/lookup/header/Close/props/defaultProps.js +10 -0
  897. package/lib/lookup/header/Close/props/propTypes.js +14 -0
  898. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +92 -126
  899. package/lib/lookup/header/ModuleHeader/props/defaultProps.js +10 -0
  900. package/lib/lookup/header/ModuleHeader/props/propTypes.js +25 -0
  901. package/lib/lookup/header/Search/LookupSearch.module.css +52 -9
  902. package/lib/lookup/header/Search/Search.js +213 -120
  903. package/lib/lookup/header/Search/props/defaultProps.js +12 -0
  904. package/lib/lookup/header/Search/props/propTypes.js +37 -0
  905. package/lib/lookup/header/TicketHeader/TicketHeader.js +107 -159
  906. package/lib/lookup/header/TicketHeader/TicketHeader.module.css +3 -2
  907. package/lib/lookup/header/TicketHeader/props/defaultProps.js +11 -0
  908. package/lib/lookup/header/TicketHeader/props/propTypes.js +28 -0
  909. package/lib/lookup/header/Title/LookupTitle.module.css +4 -4
  910. package/lib/lookup/header/Title/Title.js +42 -65
  911. package/lib/lookup/header/Title/props/defaultProps.js +10 -0
  912. package/lib/lookup/header/Title/props/propTypes.js +14 -0
  913. package/lib/lookup/header/ViewDropDown/ViewDropDown.js +168 -239
  914. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +9 -11
  915. package/lib/lookup/header/ViewDropDown/props/defaultProps.js +14 -0
  916. package/lib/lookup/header/ViewDropDown/props/propTypes.js +34 -0
  917. package/lib/lookup/header/lookupHeaderCommon.module.css +13 -5
  918. package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +1 -1
  919. package/lib/setup/header/Button/Button.js +49 -71
  920. package/lib/setup/header/Button/props/defaultProps.js +11 -0
  921. package/lib/setup/header/Button/props/propTypes.js +15 -0
  922. package/lib/setup/header/Link/HeaderLink.module.css +4 -5
  923. package/lib/setup/header/Link/Link.js +57 -87
  924. package/lib/setup/header/Link/props/defaultProps.js +11 -0
  925. package/lib/setup/header/Link/props/propTypes.js +16 -0
  926. package/lib/setup/header/Search/Search.js +73 -98
  927. package/lib/setup/header/Search/Search.module.css +13 -12
  928. package/lib/setup/header/Search/props/defaultProps.js +12 -0
  929. package/lib/setup/header/Search/props/propTypes.js +19 -0
  930. package/lib/setup/header/Views/Views.js +59 -88
  931. package/lib/setup/header/Views/Views.module.css +4 -4
  932. package/lib/setup/header/Views/props/defaultProps.js +13 -0
  933. package/lib/setup/header/Views/props/propTypes.js +17 -0
  934. package/lib/setup/helptips/Description/Description.js +35 -49
  935. package/lib/setup/helptips/Description/HelpTipsDescription.module.css +2 -2
  936. package/lib/setup/helptips/Description/props/propTypes.js +12 -0
  937. package/lib/setup/helptips/Link/HelpTipsLink.module.css +2 -2
  938. package/lib/setup/helptips/Link/Link.js +49 -67
  939. package/lib/setup/helptips/Link/props/propTypes.js +15 -0
  940. package/lib/setup/helptips/ListGroup/ListGroup.js +52 -70
  941. package/lib/setup/helptips/ListGroup/ListGroup.module.css +2 -2
  942. package/lib/setup/helptips/ListGroup/props/propTypes.js +13 -0
  943. package/lib/setup/helptips/Title/HelpTipsTitle.module.css +2 -2
  944. package/lib/setup/helptips/Title/Title.js +35 -49
  945. package/lib/setup/helptips/Title/props/propTypes.js +12 -0
  946. package/lib/setup/table/Table/Table.js +42 -56
  947. package/lib/setup/table/Table/props/defaultProps.js +11 -0
  948. package/lib/setup/table/Table/props/propTypes.js +14 -0
  949. package/lib/setup/table/TableBody/TableBody.js +47 -56
  950. package/lib/setup/table/TableBody/props/defaultProps.js +10 -0
  951. package/lib/setup/table/TableBody/props/propTypes.js +15 -0
  952. package/lib/setup/table/TableData/TableData.js +49 -74
  953. package/lib/setup/table/TableData/props/defaultProps.js +12 -0
  954. package/lib/setup/table/TableData/props/propTypes.js +18 -0
  955. package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -0
  956. package/lib/setup/table/TableHead/TableHead.js +51 -78
  957. package/lib/setup/table/TableHead/props/defaultProps.js +11 -0
  958. package/lib/setup/table/TableHead/props/propTypes.js +15 -0
  959. package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -0
  960. package/lib/setup/table/TableRow/TableRow.js +56 -84
  961. package/lib/setup/table/TableRow/props/defaultProps.js +11 -0
  962. package/lib/setup/table/TableRow/props/propTypes.js +19 -0
  963. package/lib/setup/table/Text/TableText.module.css +37 -0
  964. package/lib/setup/table/Text/Text.js +62 -105
  965. package/lib/setup/table/Text/props/defaultProps.js +14 -0
  966. package/lib/setup/table/Text/props/propTypes.js +21 -0
  967. package/lib/svg/PlusIcon.js +48 -72
  968. package/lib/svg/SnippetIcon.js +50 -75
  969. package/lib/svg/TemplateIcon.js +52 -71
  970. package/lib/svg/props/defaultProps.js +24 -0
  971. package/lib/svg/props/propTypes.js +26 -0
  972. package/lib/utils/ChannelIconMapping.js +103 -85
  973. package/lib/utils/General.js +26 -5
  974. package/lib/utils/editorUtils.js +188 -0
  975. package/lib/version2/AlertClose/AlertClose.js +71 -0
  976. package/lib/version2/AlertClose/AlertClose.module.css +43 -0
  977. package/lib/version2/AlertClose/props/propTypes.js +16 -0
  978. package/lib/version2/GlobalNotification/GlobalNotification.js +165 -0
  979. package/lib/version2/GlobalNotification/GlobalNotification.module.css +125 -0
  980. package/lib/version2/GlobalNotification/props/defaultProps.js +11 -0
  981. package/lib/version2/GlobalNotification/props/propTypes.js +22 -0
  982. package/lib/version2/alertIcons/AlarmAlertIcon.js +99 -0
  983. package/lib/version2/alertIcons/AlertIcons.js +93 -0
  984. package/lib/version2/alertIcons/AlertIcons.module.css +67 -0
  985. package/lib/version2/alertIcons/DangerAlertIcon.js +99 -0
  986. package/lib/version2/alertIcons/ErrorAlertIcon.js +104 -0
  987. package/lib/version2/alertIcons/InfoAlertIcon.js +108 -0
  988. package/lib/version2/alertIcons/NotificationAlertIcon.js +104 -0
  989. package/lib/version2/alertIcons/SuccessAlertIcon.js +99 -0
  990. package/lib/version2/alertIcons/WarningAlertIcon.js +99 -0
  991. package/lib/version2/alertIcons/props/defaultProps.js +41 -0
  992. package/lib/version2/alertIcons/props/propTypes.js +49 -0
  993. package/lib/version2/errorstate/Inconvenience/Inconvenience.js +101 -0
  994. package/lib/version2/errorstate/Inconvenience/props/defaultProps.js +15 -0
  995. package/lib/version2/errorstate/Inconvenience/props/propTypes.js +24 -0
  996. package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +102 -0
  997. package/lib/version2/errorstate/OopsSomethingMiss/props/defaultProps.js +15 -0
  998. package/lib/version2/errorstate/OopsSomethingMiss/props/propTypes.js +24 -0
  999. package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +101 -0
  1000. package/lib/version2/errorstate/UnableToProcessRequest/props/defaultProps.js +15 -0
  1001. package/lib/version2/errorstate/UnableToProcessRequest/props/propTypes.js +24 -0
  1002. package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +103 -0
  1003. package/lib/version2/errorstate/UnauthorizedLogin/props/defaultProps.js +16 -0
  1004. package/lib/version2/errorstate/UnauthorizedLogin/props/propTypes.js +25 -0
  1005. package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +101 -0
  1006. package/lib/version2/errorstate/UrlNotFound/props/defaultProps.js +15 -0
  1007. package/lib/version2/errorstate/UrlNotFound/props/propTypes.js +24 -0
  1008. package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -0
  1009. package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +101 -0
  1010. package/lib/version2/errorstate/WillBeRightBack/props/defaultProps.js +15 -0
  1011. package/lib/version2/errorstate/WillBeRightBack/props/propTypes.js +24 -0
  1012. package/lib/version2/lookup/AlertHeader/AlertHeader.js +95 -0
  1013. package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +87 -0
  1014. package/lib/version2/lookup/AlertHeader/props/defaultProps.js +13 -0
  1015. package/lib/version2/lookup/AlertHeader/props/propTypes.js +20 -0
  1016. package/lib/version2/lookup/AlertLookup/AlertLookup.js +226 -0
  1017. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +44 -0
  1018. package/lib/version2/lookup/AlertLookup/props/defaultProps.js +20 -0
  1019. package/lib/version2/lookup/AlertLookup/props/propTypes.js +44 -0
  1020. package/lib/version2/lookup/alertLookupCommonNew.module.css +33 -0
  1021. package/lib/version2/notification/DesktopNotification/DesktopNotification.js +169 -0
  1022. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -0
  1023. package/lib/version2/notification/DesktopNotification/props/defaultProps.js +22 -0
  1024. package/lib/version2/notification/DesktopNotification/props/propTypes.js +45 -0
  1025. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +91 -0
  1026. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +137 -0
  1027. package/lib/version2/notification/DesktopNotificationHeader/props/defaultProps.js +12 -0
  1028. package/lib/version2/notification/DesktopNotificationHeader/props/propTypes.js +19 -0
  1029. package/package.json +79 -23
  1030. package/__testUtils__/globals.js +0 -0
  1031. package/es/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -97
  1032. package/es/Drawer/docs/Drawer__default.docs.js +0 -73
  1033. package/es/Drawer/docs/Drawer__noFreeze.docs.js +0 -43
  1034. package/es/ExternalLink/docs/ExternalLink__default.docs.js +0 -40
  1035. package/es/FlipCard/docs/FlipCard__default.docs.js +0 -105
  1036. package/es/FormAction/docs/FormAction__default.docs.js +0 -199
  1037. package/es/FreezeLayer/FreezeLayer.module.css +0 -41
  1038. package/es/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -77
  1039. package/es/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -76
  1040. package/es/IconButton/docs/IconButton__default.docs.js +0 -81
  1041. package/es/Image/docs/Image__default.docs.js +0 -40
  1042. package/es/Link/docs/Link__default.docs.js +0 -64
  1043. package/es/PlusIcon/docs/PlusIcon__default.docs.js +0 -40
  1044. package/es/ToastMessage/docs/ToastMessage__custom.docs.js +0 -132
  1045. package/es/ToastMessage/docs/ToastMessage__information.docs.js +0 -80
  1046. package/es/ToastMessage/docs/ToastMessage__primary.docs.js +0 -172
  1047. package/es/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -64
  1048. package/es/ToastMessage/docs/ToastMessage__success.docs.js +0 -94
  1049. package/es/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -91
  1050. package/es/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -170
  1051. package/es/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -44
  1052. package/es/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -58
  1053. package/es/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -54
  1054. package/es/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -49
  1055. package/es/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -52
  1056. package/es/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -75
  1057. package/es/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -69
  1058. package/es/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -146
  1059. package/es/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -45
  1060. package/es/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -78
  1061. package/es/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -85
  1062. package/es/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -42
  1063. package/es/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -39
  1064. package/es/errorstate/LinkText/docs/LinkText__default.docs.js +0 -35
  1065. package/es/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -39
  1066. package/es/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -40
  1067. package/es/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -39
  1068. package/es/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -39
  1069. package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -40
  1070. package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -39
  1071. package/es/errorstate/WillBack/docs/WillBack__default.docs.js +0 -41
  1072. package/es/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -79
  1073. package/es/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -191
  1074. package/es/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -308
  1075. package/es/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -36
  1076. package/es/list/Comment/docs/Comment__default.docs.js +0 -40
  1077. package/es/list/DotNew/docs/DotNew__default.docs.js +0 -36
  1078. package/es/list/GridStencils/docs/GridStencils__default.docs.js +0 -50
  1079. package/es/list/Icons/docs/FloatingIcons__default.docs.js +0 -56
  1080. package/es/list/ListLayout/docs/ListLayout__default.docs.js +0 -131
  1081. package/es/list/ListStencils/docs/ListStencils__default.docs.js +0 -36
  1082. package/es/list/SecondaryText/docs/ContactName__default.docs.js +0 -36
  1083. package/es/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -41
  1084. package/es/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -131
  1085. package/es/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -36
  1086. package/es/list/StatusDropdown/StatusDropdown.js +0 -205
  1087. package/es/list/StatusDropdown/StatusDropdown.module.css +0 -65
  1088. package/es/list/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -76
  1089. package/es/list/Subject/docs/Subject__default.docs.js +0 -49
  1090. package/es/list/TagNew/docs/TagNew__default.docs.js +0 -36
  1091. package/es/list/Thread/docs/Thread__default.docs.js +0 -36
  1092. package/es/list/TimeInfo/TimeInfo.js +0 -171
  1093. package/es/list/TimeInfo/docs/TimeInfo__default.docs.js +0 -49
  1094. package/es/list/UserTime/docs/UserTime__default.docs.js +0 -172
  1095. package/es/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -38
  1096. package/es/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -38
  1097. package/es/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -37
  1098. package/es/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -38
  1099. package/es/lookup/Lookup/docs/Lookup__contact.docs.js +0 -212
  1100. package/es/lookup/Lookup/docs/Lookup__default.docs.js +0 -90
  1101. package/es/lookup/header/Close/docs/Close__default.docs.js +0 -35
  1102. package/es/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -58
  1103. package/es/lookup/header/Search/docs/Search__default.docs.js +0 -62
  1104. package/es/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -74
  1105. package/es/lookup/header/Title/docs/Title__default.docs.js +0 -35
  1106. package/es/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -64
  1107. package/es/setup/header/Button/docs/Button__default.docs.js +0 -37
  1108. package/es/setup/header/Link/docs/Link__default.docs.js +0 -36
  1109. package/es/setup/header/Search/docs/Search__default.docs.js +0 -54
  1110. package/es/setup/header/SelectDropdown/SelectDropdown.js +0 -162
  1111. package/es/setup/header/SelectDropdown/SelectDropdown.module.css +0 -43
  1112. package/es/setup/header/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -44
  1113. package/es/setup/header/Views/docs/Views__default.docs.js +0 -40
  1114. package/es/setup/helptips/Description/docs/Description__default.docs.js +0 -42
  1115. package/es/setup/helptips/Link/docs/Link__default.docs.js +0 -43
  1116. package/es/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -46
  1117. package/es/setup/helptips/Title/docs/Title__default.docs.js +0 -40
  1118. package/es/setup/table/Table/docs/Table__default.docs.js +0 -193
  1119. package/es/setup/table/TableHead/TableHead.css +0 -12
  1120. package/es/setup/table/TableRow/TableRow.css +0 -14
  1121. package/es/setup/table/Text/Text.css +0 -37
  1122. package/es/setup/table/Text/docs/Text__default.docs.js +0 -69
  1123. package/es/svg/docs/SVG__default.docs.js +0 -87
  1124. package/es/utils/KeyboardApi.js +0 -254
  1125. package/es/utils/Ticket.js +0 -3
  1126. package/lib/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -114
  1127. package/lib/Drawer/docs/Drawer__default.docs.js +0 -95
  1128. package/lib/Drawer/docs/Drawer__noFreeze.docs.js +0 -59
  1129. package/lib/ExternalLink/docs/ExternalLink__default.docs.js +0 -56
  1130. package/lib/FlipCard/docs/FlipCard__default.docs.js +0 -124
  1131. package/lib/FormAction/docs/FormAction__default.docs.js +0 -221
  1132. package/lib/FreezeLayer/FreezeLayer.module.css +0 -41
  1133. package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -96
  1134. package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -95
  1135. package/lib/IconButton/docs/IconButton__default.docs.js +0 -97
  1136. package/lib/Image/docs/Image__default.docs.js +0 -59
  1137. package/lib/Link/docs/Link__default.docs.js +0 -80
  1138. package/lib/PlusIcon/docs/PlusIcon__default.docs.js +0 -59
  1139. package/lib/ToastMessage/docs/ToastMessage__custom.docs.js +0 -157
  1140. package/lib/ToastMessage/docs/ToastMessage__information.docs.js +0 -99
  1141. package/lib/ToastMessage/docs/ToastMessage__primary.docs.js +0 -191
  1142. package/lib/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -83
  1143. package/lib/ToastMessage/docs/ToastMessage__success.docs.js +0 -113
  1144. package/lib/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -107
  1145. package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -189
  1146. package/lib/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -63
  1147. package/lib/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -77
  1148. package/lib/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -76
  1149. package/lib/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -71
  1150. package/lib/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -74
  1151. package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -97
  1152. package/lib/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -91
  1153. package/lib/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -168
  1154. package/lib/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -64
  1155. package/lib/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -94
  1156. package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -110
  1157. package/lib/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -58
  1158. package/lib/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -58
  1159. package/lib/errorstate/LinkText/docs/LinkText__default.docs.js +0 -54
  1160. package/lib/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -55
  1161. package/lib/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -59
  1162. package/lib/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -58
  1163. package/lib/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -58
  1164. package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -59
  1165. package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -58
  1166. package/lib/errorstate/WillBack/docs/WillBack__default.docs.js +0 -60
  1167. package/lib/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -99
  1168. package/lib/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -205
  1169. package/lib/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -327
  1170. package/lib/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -54
  1171. package/lib/list/Comment/docs/Comment__default.docs.js +0 -59
  1172. package/lib/list/DotNew/docs/DotNew__default.docs.js +0 -55
  1173. package/lib/list/GridStencils/docs/GridStencils__default.docs.js +0 -72
  1174. package/lib/list/Icons/docs/FloatingIcons__default.docs.js +0 -81
  1175. package/lib/list/ListLayout/docs/ListLayout__default.docs.js +0 -150
  1176. package/lib/list/ListStencils/docs/ListStencils__default.docs.js +0 -55
  1177. package/lib/list/SecondaryText/docs/ContactName__default.docs.js +0 -55
  1178. package/lib/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -41
  1179. package/lib/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -152
  1180. package/lib/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -54
  1181. package/lib/list/StatusDropdown/StatusDropdown.js +0 -243
  1182. package/lib/list/StatusDropdown/StatusDropdown.module.css +0 -65
  1183. package/lib/list/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -96
  1184. package/lib/list/Subject/docs/Subject__default.docs.js +0 -68
  1185. package/lib/list/TagNew/docs/TagNew__default.docs.js +0 -55
  1186. package/lib/list/Thread/docs/Thread__default.docs.js +0 -55
  1187. package/lib/list/TimeInfo/TimeInfo.js +0 -191
  1188. package/lib/list/TimeInfo/docs/TimeInfo__default.docs.js +0 -69
  1189. package/lib/list/UserTime/docs/UserTime__default.docs.js +0 -192
  1190. package/lib/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -55
  1191. package/lib/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -55
  1192. package/lib/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -54
  1193. package/lib/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -55
  1194. package/lib/lookup/Lookup/docs/Lookup__contact.docs.js +0 -234
  1195. package/lib/lookup/Lookup/docs/Lookup__default.docs.js +0 -113
  1196. package/lib/lookup/header/Close/docs/Close__default.docs.js +0 -54
  1197. package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -75
  1198. package/lib/lookup/header/Search/docs/Search__default.docs.js +0 -79
  1199. package/lib/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -91
  1200. package/lib/lookup/header/Title/docs/Title__default.docs.js +0 -54
  1201. package/lib/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -81
  1202. package/lib/setup/header/Button/docs/Button__default.docs.js +0 -55
  1203. package/lib/setup/header/Link/docs/Link__default.docs.js +0 -55
  1204. package/lib/setup/header/Search/docs/Search__default.docs.js +0 -73
  1205. package/lib/setup/header/SelectDropdown/SelectDropdown.js +0 -200
  1206. package/lib/setup/header/SelectDropdown/SelectDropdown.module.css +0 -43
  1207. package/lib/setup/header/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -63
  1208. package/lib/setup/header/Views/docs/Views__default.docs.js +0 -59
  1209. package/lib/setup/helptips/Description/docs/Description__default.docs.js +0 -61
  1210. package/lib/setup/helptips/Link/docs/Link__default.docs.js +0 -62
  1211. package/lib/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -65
  1212. package/lib/setup/helptips/Title/docs/Title__default.docs.js +0 -59
  1213. package/lib/setup/table/Table/docs/Table__default.docs.js +0 -228
  1214. package/lib/setup/table/TableHead/TableHead.css +0 -12
  1215. package/lib/setup/table/TableRow/TableRow.css +0 -14
  1216. package/lib/setup/table/Text/Text.css +0 -37
  1217. package/lib/setup/table/Text/docs/Text__default.docs.js +0 -85
  1218. package/lib/svg/docs/SVG__default.docs.js +0 -110
  1219. package/lib/utils/KeyboardApi.js +0 -262
  1220. package/lib/utils/Ticket.js +0 -8
  1221. package/postpublish.js +0 -100
  1222. package/src/ChannelIcon/ChannelIcon.js +0 -120
  1223. package/src/ChannelIcon/ChannelIcon.module.css +0 -187
  1224. package/src/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -63
  1225. package/src/Drawer/Drawer.js +0 -271
  1226. package/src/Drawer/Drawer.module.css +0 -140
  1227. package/src/Drawer/docs/Drawer__default.docs.js +0 -45
  1228. package/src/Drawer/docs/Drawer__noFreeze.docs.js +0 -21
  1229. package/src/ExternalLink/ExternalLink.js +0 -57
  1230. package/src/ExternalLink/ExternalLink.module.css +0 -4
  1231. package/src/ExternalLink/__tests__/ExternalLink.spec.js +0 -28
  1232. package/src/ExternalLink/docs/ExternalLink__default.docs.js +0 -24
  1233. package/src/FlipCard/FlipCard.js +0 -159
  1234. package/src/FlipCard/FlipCard.module.css +0 -35
  1235. package/src/FlipCard/docs/FlipCard__default.docs.js +0 -76
  1236. package/src/FormAction/FormAction.js +0 -120
  1237. package/src/FormAction/FormAction.module.css +0 -52
  1238. package/src/FormAction/docs/FormAction__default.docs.js +0 -94
  1239. package/src/FreezeLayer/FreezeLayer.js +0 -130
  1240. package/src/FreezeLayer/FreezeLayer.module.css +0 -37
  1241. package/src/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -53
  1242. package/src/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -51
  1243. package/src/IconButton/IconButton.js +0 -70
  1244. package/src/IconButton/IconButton.module.css +0 -38
  1245. package/src/IconButton/docs/IconButton__default.docs.js +0 -49
  1246. package/src/Image/Image.js +0 -41
  1247. package/src/Image/Image.module.css +0 -11
  1248. package/src/Image/docs/Image__default.docs.js +0 -18
  1249. package/src/Link/Link.js +0 -115
  1250. package/src/Link/Link.module.css +0 -4
  1251. package/src/Link/LinkContext.js +0 -9
  1252. package/src/Link/docs/Link__default.docs.js +0 -91
  1253. package/src/PlusIcon/PlusIcon.js +0 -68
  1254. package/src/PlusIcon/PlusIcon.module.css +0 -7
  1255. package/src/PlusIcon/docs/PlusIcon__default.docs.js +0 -18
  1256. package/src/ToastMessage/ToastMessage.js +0 -289
  1257. package/src/ToastMessage/ToastMessage.module.css +0 -260
  1258. package/src/ToastMessage/docs/ToastMessage__custom.docs.js +0 -97
  1259. package/src/ToastMessage/docs/ToastMessage__information.docs.js +0 -55
  1260. package/src/ToastMessage/docs/ToastMessage__primary.docs.js +0 -135
  1261. package/src/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -40
  1262. package/src/ToastMessage/docs/ToastMessage__success.docs.js +0 -68
  1263. package/src/actions/index.js +0 -22
  1264. package/src/alert/AlertHeader/AlertHeader.js +0 -115
  1265. package/src/alert/AlertHeader/AlertHeader.module.css +0 -62
  1266. package/src/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -72
  1267. package/src/alert/AlertLookup/AlertLookup.js +0 -174
  1268. package/src/alert/AlertLookup/AlertLookup.module.css +0 -20
  1269. package/src/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -123
  1270. package/src/avatar/AvatarClose/AvatarClose.js +0 -43
  1271. package/src/avatar/AvatarClose/AvatarClose.module.css +0 -31
  1272. package/src/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -26
  1273. package/src/avatar/AvatarCollision/AvatarCollision.js +0 -72
  1274. package/src/avatar/AvatarCollision/AvatarCollision.module.css +0 -55
  1275. package/src/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -40
  1276. package/src/avatar/AvatarIcon/AvatarIcon.js +0 -83
  1277. package/src/avatar/AvatarIcon/AvatarIcon.module.css +0 -36
  1278. package/src/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -35
  1279. package/src/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -36
  1280. package/src/avatar/AvatarStatus/AvatarStatus.js +0 -50
  1281. package/src/avatar/AvatarStatus/AvatarStatus.module.css +0 -64
  1282. package/src/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -34
  1283. package/src/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -63
  1284. package/src/avatar/AvatarThread/AvatarThread.js +0 -88
  1285. package/src/avatar/AvatarThread/AvatarThread.module.css +0 -58
  1286. package/src/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -45
  1287. package/src/avatar/AvatarUser/AvatarUser.js +0 -103
  1288. package/src/avatar/AvatarUser/AvatarUser.module.css +0 -61
  1289. package/src/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -111
  1290. package/src/avatar/AvatarWithTeam/AvatarWithTeam.js +0 -57
  1291. package/src/avatar/AvatarWithTeam/AvatarWithTeam.module.css +0 -16
  1292. package/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +0 -50
  1293. package/src/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -28
  1294. package/src/docs/generalDocs.js +0 -118
  1295. package/src/docs/lookupDocs.js +0 -33
  1296. package/src/docs/setupDocs.js +0 -27
  1297. package/src/dropdown/ToggleDropDown/ToggleDropDown.js +0 -598
  1298. package/src/dropdown/ToggleDropDown/ToggleDropDown.module.css +0 -65
  1299. package/src/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -75
  1300. package/src/emptystate/CommonEmptyState/CommonEmptyState.js +0 -117
  1301. package/src/emptystate/CommonEmptyState/CommonEmptyState.module.css +0 -31
  1302. package/src/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -53
  1303. package/src/emptystate/EditionPage/EditionPage.css +0 -37
  1304. package/src/emptystate/EditionPage/EditionPage.js +0 -69
  1305. package/src/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -23
  1306. package/src/errorstate/EmptyStates.module.css +0 -40
  1307. package/src/errorstate/Inconvenience/Inconvenience.js +0 -42
  1308. package/src/errorstate/Inconvenience/Inconvenience.module.css +0 -6
  1309. package/src/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -19
  1310. package/src/errorstate/LinkText/LinkText.js +0 -28
  1311. package/src/errorstate/LinkText/LinkText.module.css +0 -6
  1312. package/src/errorstate/LinkText/docs/LinkText__default.docs.js +0 -13
  1313. package/src/errorstate/NoRequestFound/NoRequestFound.js +0 -42
  1314. package/src/errorstate/NoRequestFound/NoRequestFound.module.css +0 -5
  1315. package/src/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -19
  1316. package/src/errorstate/PermissionPlay/PermissionPlay.js +0 -46
  1317. package/src/errorstate/PermissionPlay/PermissionPlay.module.css +0 -33
  1318. package/src/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -20
  1319. package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -42
  1320. package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +0 -5
  1321. package/src/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -19
  1322. package/src/errorstate/UnableToProcess/UnableToProcess.js +0 -42
  1323. package/src/errorstate/UnableToProcess/UnableToProcess.module.css +0 -14
  1324. package/src/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -19
  1325. package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -42
  1326. package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +0 -14
  1327. package/src/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -20
  1328. package/src/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -19
  1329. package/src/errorstate/WillBack/WillBack.js +0 -40
  1330. package/src/errorstate/WillBack/WillBack.module.css +0 -21
  1331. package/src/errorstate/WillBack/docs/WillBack__default.docs.js +0 -21
  1332. package/src/index.js +0 -14
  1333. package/src/layout/SetupDetailLayout/SetupDetailLayout.js +0 -248
  1334. package/src/layout/SetupDetailLayout/SetupDetailLayout.module.css +0 -116
  1335. package/src/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -35
  1336. package/src/layout/SetupDetailLayout/index.js +0 -4
  1337. package/src/layout/SubtabLayout/SubtabLayout.js +0 -166
  1338. package/src/layout/SubtabLayout/SubtabLayout.module.css +0 -66
  1339. package/src/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -72
  1340. package/src/layout/SubtabLayout/index.js +0 -3
  1341. package/src/list/AvatarFlip/AvatarFlip.js +0 -89
  1342. package/src/list/AvatarFlip/AvatarFlip.module.css +0 -15
  1343. package/src/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -207
  1344. package/src/list/BluePrintStatus/BluePrintStatus.js +0 -31
  1345. package/src/list/BluePrintStatus/BluePrintStatus.module.css +0 -13
  1346. package/src/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -20
  1347. package/src/list/Comment/Comment.js +0 -54
  1348. package/src/list/Comment/Comment.module.css +0 -17
  1349. package/src/list/Comment/docs/Comment__default.docs.js +0 -22
  1350. package/src/list/DepartmentDropDown/DepartmentDropDown.js +0 -78
  1351. package/src/list/DepartmentDropDown/DepartmentDropDown.module.css +0 -62
  1352. package/src/list/Dot/Dot.js +0 -28
  1353. package/src/list/Dot/Dot.module.css +0 -13
  1354. package/src/list/DotNew/DotNew.js +0 -24
  1355. package/src/list/DotNew/DotNew.module.css +0 -16
  1356. package/src/list/DotNew/docs/DotNew__default.docs.js +0 -18
  1357. package/src/list/GridStencils/GridStencils.js +0 -46
  1358. package/src/list/GridStencils/GridStencils.module.css +0 -131
  1359. package/src/list/GridStencils/docs/GridStencils__default.docs.js +0 -30
  1360. package/src/list/Icons/AddNewIcon.js +0 -53
  1361. package/src/list/Icons/CompleteIcon.js +0 -54
  1362. package/src/list/Icons/DeleteIcon.js +0 -61
  1363. package/src/list/Icons/EditIcon.js +0 -61
  1364. package/src/list/Icons/FloatingIcons.js +0 -32
  1365. package/src/list/Icons/Icons.module.css +0 -15
  1366. package/src/list/Icons/SmartIcon.js +0 -40
  1367. package/src/list/Icons/docs/FloatingIcons__default.docs.js +0 -37
  1368. package/src/list/ListLayout/ListLayout.js +0 -105
  1369. package/src/list/ListLayout/ListLayout.module.css +0 -30
  1370. package/src/list/ListLayout/docs/ListLayout__default.docs.js +0 -54
  1371. package/src/list/ListStencils/ListStencils.js +0 -34
  1372. package/src/list/ListStencils/ListStencils.module.css +0 -24
  1373. package/src/list/ListStencils/docs/ListStencils__default.docs.js +0 -18
  1374. package/src/list/SecondaryText/AccountName.js +0 -80
  1375. package/src/list/SecondaryText/ContactName.js +0 -107
  1376. package/src/list/SecondaryText/DepartmentText.js +0 -32
  1377. package/src/list/SecondaryText/Email.js +0 -69
  1378. package/src/list/SecondaryText/HappinessRating.js +0 -37
  1379. package/src/list/SecondaryText/PhoneNumber.js +0 -72
  1380. package/src/list/SecondaryText/PriorityText.js +0 -40
  1381. package/src/list/SecondaryText/SecondaryText.js +0 -36
  1382. package/src/list/SecondaryText/SecondaryText.module.css +0 -94
  1383. package/src/list/SecondaryText/StatusText.js +0 -49
  1384. package/src/list/SecondaryText/TicketId.js +0 -53
  1385. package/src/list/SecondaryText/Website.js +0 -58
  1386. package/src/list/SecondaryText/docs/ContactName__default.docs.js +0 -18
  1387. package/src/list/SecondaryText/index.js +0 -11
  1388. package/src/list/SecondryPanel/SecondryPanel.js +0 -120
  1389. package/src/list/SecondryPanel/SecondryPanel.module.css +0 -27
  1390. package/src/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -41
  1391. package/src/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -66
  1392. package/src/list/SentimentStatus/SentimentStatus.js +0 -32
  1393. package/src/list/SentimentStatus/SentimentStatus.module.css +0 -9
  1394. package/src/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -20
  1395. package/src/list/StatusDropdown/StatusDropdown.js +0 -174
  1396. package/src/list/StatusDropdown/StatusDropdown.module.css +0 -51
  1397. package/src/list/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -72
  1398. package/src/list/Subject/Subject.js +0 -71
  1399. package/src/list/Subject/Subject.module.css +0 -9
  1400. package/src/list/Subject/docs/Subject__default.docs.js +0 -27
  1401. package/src/list/TagNew/TagNew.js +0 -37
  1402. package/src/list/TagNew/TagNew.module.css +0 -108
  1403. package/src/list/TagNew/docs/TagNew__default.docs.js +0 -18
  1404. package/src/list/Thread/Thread.js +0 -36
  1405. package/src/list/Thread/Thread.module.css +0 -15
  1406. package/src/list/Thread/docs/Thread__default.docs.js +0 -18
  1407. package/src/list/TimeInfo/TimeInfo.js +0 -156
  1408. package/src/list/TimeInfo/docs/TimeInfo__default.docs.js +0 -26
  1409. package/src/list/UserTime/UserTime.js +0 -130
  1410. package/src/list/UserTime/UserTime.module.css +0 -42
  1411. package/src/list/UserTime/docs/UserTime__default.docs.js +0 -122
  1412. package/src/list/listCommon.module.css +0 -84
  1413. package/src/lookup/EmptyPage/EmptyPage.js +0 -62
  1414. package/src/lookup/EmptyPage/LookupEmptyPage.module.css +0 -12
  1415. package/src/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -17
  1416. package/src/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -17
  1417. package/src/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -16
  1418. package/src/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -17
  1419. package/src/lookup/Lookup/Lookup.js +0 -80
  1420. package/src/lookup/Lookup/Lookup.module.css +0 -22
  1421. package/src/lookup/Lookup/docs/Lookup__contact.docs.js +0 -189
  1422. package/src/lookup/Lookup/docs/Lookup__default.docs.js +0 -59
  1423. package/src/lookup/Section/LookupSection.module.css +0 -7
  1424. package/src/lookup/Section/Section.js +0 -27
  1425. package/src/lookup/header/Close/Close.js +0 -36
  1426. package/src/lookup/header/Close/LookupClose.module.css +0 -15
  1427. package/src/lookup/header/Close/docs/Close__default.docs.js +0 -17
  1428. package/src/lookup/header/ModuleHeader/ModuleHeader.js +0 -76
  1429. package/src/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -39
  1430. package/src/lookup/header/Search/LookupSearch.module.css +0 -14
  1431. package/src/lookup/header/Search/Search.js +0 -104
  1432. package/src/lookup/header/Search/docs/Search__default.docs.js +0 -41
  1433. package/src/lookup/header/TicketHeader/TicketHeader.js +0 -105
  1434. package/src/lookup/header/TicketHeader/TicketHeader.module.css +0 -19
  1435. package/src/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -63
  1436. package/src/lookup/header/Title/LookupTitle.module.css +0 -20
  1437. package/src/lookup/header/Title/Title.js +0 -37
  1438. package/src/lookup/header/Title/docs/Title__default.docs.js +0 -17
  1439. package/src/lookup/header/ViewDropDown/ViewDropDown.js +0 -185
  1440. package/src/lookup/header/ViewDropDown/ViewDropDown.module.css +0 -50
  1441. package/src/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -54
  1442. package/src/lookup/header/lookupHeaderCommon.module.css +0 -21
  1443. package/src/lookup/header/lookupHeaderCommonResponsive.module.css +0 -15
  1444. package/src/setup/header/Button/Button.js +0 -40
  1445. package/src/setup/header/Button/HeaderButton.module.css +0 -3
  1446. package/src/setup/header/Button/docs/Button__default.docs.js +0 -21
  1447. package/src/setup/header/Link/HeaderLink.module.css +0 -16
  1448. package/src/setup/header/Link/Link.js +0 -48
  1449. package/src/setup/header/Link/docs/Link__default.docs.js +0 -20
  1450. package/src/setup/header/Search/Search.js +0 -74
  1451. package/src/setup/header/Search/Search.module.css +0 -56
  1452. package/src/setup/header/Search/docs/Search__default.docs.js +0 -32
  1453. package/src/setup/header/SelectDropdown/SelectDropdown.js +0 -122
  1454. package/src/setup/header/SelectDropdown/SelectDropdown.module.css +0 -35
  1455. package/src/setup/header/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -31
  1456. package/src/setup/header/Views/Views.js +0 -62
  1457. package/src/setup/header/Views/Views.module.css +0 -27
  1458. package/src/setup/header/Views/docs/Views__default.docs.js +0 -20
  1459. package/src/setup/helptips/Description/Description.js +0 -22
  1460. package/src/setup/helptips/Description/HelpTipsDescription.module.css +0 -6
  1461. package/src/setup/helptips/Description/docs/Description__default.docs.js +0 -24
  1462. package/src/setup/helptips/Link/HelpTipsLink.module.css +0 -6
  1463. package/src/setup/helptips/Link/Link.js +0 -40
  1464. package/src/setup/helptips/Link/docs/Link__default.docs.js +0 -27
  1465. package/src/setup/helptips/ListGroup/ListGroup.js +0 -42
  1466. package/src/setup/helptips/ListGroup/ListGroup.module.css +0 -17
  1467. package/src/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -37
  1468. package/src/setup/helptips/Title/HelpTipsTitle.module.css +0 -5
  1469. package/src/setup/helptips/Title/Title.js +0 -22
  1470. package/src/setup/helptips/Title/docs/Title__default.docs.js +0 -22
  1471. package/src/setup/table/Table/Table.js +0 -25
  1472. package/src/setup/table/Table/docs/Table__default.docs.js +0 -115
  1473. package/src/setup/table/TableBody/TableBody.js +0 -27
  1474. package/src/setup/table/TableData/TableData.css +0 -36
  1475. package/src/setup/table/TableData/TableData.js +0 -45
  1476. package/src/setup/table/TableData/hover.css +0 -6
  1477. package/src/setup/table/TableHead/TableHead.css +0 -8
  1478. package/src/setup/table/TableHead/TableHead.js +0 -53
  1479. package/src/setup/table/TableRow/TableRow.css +0 -10
  1480. package/src/setup/table/TableRow/TableRow.js +0 -60
  1481. package/src/setup/table/Text/Text.css +0 -37
  1482. package/src/setup/table/Text/Text.js +0 -81
  1483. package/src/setup/table/Text/docs/Text__default.docs.js +0 -38
  1484. package/src/svg/PlusIcon.js +0 -43
  1485. package/src/svg/SnippetIcon.js +0 -50
  1486. package/src/svg/TemplateIcon.js +0 -46
  1487. package/src/svg/docs/SVG__default.docs.js +0 -46
  1488. package/src/utils/ChannelIconMapping.js +0 -112
  1489. package/src/utils/General.js +0 -18
  1490. package/src/utils/KeyboardApi.js +0 -280
  1491. package/src/utils/Ticket.js +0 -10
  1492. /package/es/setup/table/TableData/{TableData.css → SetupTableData.module.css} +0 -0
  1493. /package/es/setup/table/TableData/{hover.css → Tablehover.module.css} +0 -0
  1494. /package/lib/setup/table/TableData/{TableData.css → SetupTableData.module.css} +0 -0
  1495. /package/lib/setup/table/TableData/{hover.css → Tablehover.module.css} +0 -0
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.propTypes = void 0;
7
+ var _propTypes = _interopRequireDefault(require("prop-types"));
8
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9
+ var propTypes = {
10
+ dataId: _propTypes["default"].string,
11
+ getRef: _propTypes["default"].func,
12
+ id: _propTypes["default"].string,
13
+ isDisabled: _propTypes["default"].bool,
14
+ isReadOnly: _propTypes["default"].bool,
15
+ needEditor: _propTypes["default"].bool,
16
+ onAttachmentUpload: _propTypes["default"].func,
17
+ onChange: _propTypes["default"].func,
18
+ textBoxSize: _propTypes["default"].oneOf(['xsmall', 'small', 'xmedium', 'medium', 'large']),
19
+ textBoxVariant: _propTypes["default"].string,
20
+ value: _propTypes["default"].string,
21
+ editorMode: _propTypes["default"].string,
22
+ editorSize: _propTypes["default"].string,
23
+ editorBorder: _propTypes["default"].string,
24
+ EDITORURL: _propTypes["default"].string,
25
+ isCustomScroll: _propTypes["default"].bool,
26
+ initCallback: _propTypes["default"].func,
27
+ loadingComponent: _propTypes["default"].node,
28
+ handleAlertMessage: _propTypes["default"].func,
29
+ editorCallback: _propTypes["default"].func,
30
+ i18nKeys: _propTypes["default"].object,
31
+ ImgLazyLoad: _propTypes["default"].node,
32
+ editorBlurCallback: _propTypes["default"].func,
33
+ editorOptions: _propTypes["default"].object,
34
+ isEditorDefaultOpen: _propTypes["default"].bool,
35
+ changeEditorContent: _propTypes["default"].bool,
36
+ shouldEditorUpdateContent: _propTypes["default"].bool,
37
+ setInlineAttachmentInProgress: _propTypes["default"].func,
38
+ handleEditorDropUpload: _propTypes["default"].func,
39
+ onFocus: _propTypes["default"].func,
40
+ needInlineAttachment: _propTypes["default"].bool,
41
+ customProps: _propTypes["default"].shape({
42
+ Textarea1Props: _propTypes["default"].object,
43
+ TextEditorProps: _propTypes["default"].object,
44
+ Textarea2Props: _propTypes["default"].object
45
+ })
46
+ };
47
+ exports.propTypes = propTypes;
@@ -0,0 +1,189 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ var _defaultProps = require("./props/defaultProps");
10
+ var _propTypes = require("./props/propTypes");
11
+ var _Label = _interopRequireDefault(require("@zohodesk/components/lib/Label/Label"));
12
+ var _Textarea = _interopRequireDefault(require("@zohodesk/components/lib/Textarea/Textarea"));
13
+ var _ValidationMessage = _interopRequireDefault(require("../ValidationMessage/ValidationMessage"));
14
+ var _IdProvider = require("@zohodesk/components/lib/Provider/IdProvider");
15
+ var _FieldContainer = _interopRequireDefault(require("../FieldContainer/FieldContainer"));
16
+ var _FieldsModule = _interopRequireDefault(require("../Fields.module.css"));
17
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
18
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
19
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
20
+ 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); }
21
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
22
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
23
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
24
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
25
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
28
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
29
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
30
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
31
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
32
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
33
+ var TextareaField = /*#__PURE__*/function (_PureComponent) {
34
+ _inherits(TextareaField, _PureComponent);
35
+ var _super = _createSuper(TextareaField);
36
+ function TextareaField(props) {
37
+ var _this;
38
+ _classCallCheck(this, TextareaField);
39
+ _this = _super.call(this, props);
40
+ _this.handleChange = _this.handleChange.bind(_assertThisInitialized(_this));
41
+ _this.handleBlur = _this.handleBlur.bind(_assertThisInitialized(_this));
42
+ _this.handleGetRef = _this.handleGetRef.bind(_assertThisInitialized(_this));
43
+ // this.handleLabelClick = this.handleLabelClick.bind(this);
44
+ _this.getNextId = (0, _IdProvider.getUniqueId)(_assertThisInitialized(_this));
45
+ return _this;
46
+ }
47
+ _createClass(TextareaField, [{
48
+ key: "handleChange",
49
+ value: function handleChange(value) {
50
+ var _this$props = this.props,
51
+ id = _this$props.id,
52
+ onChange = _this$props.onChange;
53
+ onChange && onChange(id, value);
54
+ }
55
+ }, {
56
+ key: "handleBlur",
57
+ value: function handleBlur(value) {
58
+ var _this$props2 = this.props,
59
+ id = _this$props2.id,
60
+ onBlur = _this$props2.onBlur;
61
+ onBlur && onBlur(id, value);
62
+ }
63
+ }, {
64
+ key: "handleGetRef",
65
+ value: function handleGetRef(el) {
66
+ var _this$props3 = this.props,
67
+ getRef = _this$props3.getRef,
68
+ id = _this$props3.id;
69
+ this.textarea = el;
70
+ getRef && getRef(el, id);
71
+ }
72
+
73
+ // handleLabelClick() {
74
+ // let { isFocusOnLabelClick } = this.props;
75
+ // if (isFocusOnLabelClick && this.textarea && this.textarea.focus) {
76
+ // this.textarea.focus();
77
+ // }
78
+ // }
79
+ }, {
80
+ key: "render",
81
+ value: function render() {
82
+ var _this$props4 = this.props,
83
+ labelName = _this$props4.labelName,
84
+ id = _this$props4.id,
85
+ isMandatory = _this$props4.isMandatory,
86
+ textBoxSize = _this$props4.textBoxSize,
87
+ animated = _this$props4.animated,
88
+ textBoxVariant = _this$props4.textBoxVariant,
89
+ isReadOnly = _this$props4.isReadOnly,
90
+ validationMessage = _this$props4.validationMessage,
91
+ validationPalette = _this$props4.validationPalette,
92
+ maxLength = _this$props4.maxLength,
93
+ value = _this$props4.value,
94
+ errorType = _this$props4.errorType,
95
+ isDisabled = _this$props4.isDisabled,
96
+ title = _this$props4.title,
97
+ placeHolder = _this$props4.placeHolder,
98
+ dataId = _this$props4.dataId,
99
+ dataSelectorId = _this$props4.dataSelectorId,
100
+ validationRuleMessage = _this$props4.validationRuleMessage,
101
+ validationRulePalette = _this$props4.validationRulePalette,
102
+ infoText = _this$props4.infoText,
103
+ borderColor = _this$props4.borderColor,
104
+ fieldSize = _this$props4.fieldSize,
105
+ labelPalette = _this$props4.labelPalette,
106
+ labelCustomClass = _this$props4.labelCustomClass,
107
+ htmlId = _this$props4.htmlId,
108
+ lockedInfoText = _this$props4.lockedInfoText,
109
+ isLocked = _this$props4.isLocked,
110
+ customProps = _this$props4.customProps,
111
+ renderLabelProps = _this$props4.renderLabelProps;
112
+ var _customProps$LabelPro = customProps.LabelProps,
113
+ LabelProps = _customProps$LabelPro === void 0 ? {} : _customProps$LabelPro,
114
+ _customProps$Textarea = customProps.TextareaProps,
115
+ TextareaProps = _customProps$Textarea === void 0 ? {} : _customProps$Textarea,
116
+ _customProps$Validati = customProps.ValidationMessageProps1,
117
+ ValidationMessageProps1 = _customProps$Validati === void 0 ? {} : _customProps$Validati,
118
+ _customProps$Validati2 = customProps.ValidationMessageProps2,
119
+ ValidationMessageProps2 = _customProps$Validati2 === void 0 ? {} : _customProps$Validati2;
120
+ var uniqueId = htmlId ? htmlId : this.getNextId();
121
+ return /*#__PURE__*/_react["default"].createElement("div", {
122
+ className: "".concat(_FieldsModule["default"].container, " ").concat(isDisabled ? _FieldsModule["default"].disabled : isReadOnly ? _FieldsModule["default"].readonly : ''),
123
+ "data-title": isDisabled ? title : null,
124
+ "data-selector-id": dataSelectorId
125
+ }, labelName && /*#__PURE__*/_react["default"].createElement(_FieldContainer["default"], {
126
+ infoText: infoText,
127
+ isLocked: isLocked,
128
+ lockedInfoText: lockedInfoText,
129
+ renderProps: renderLabelProps
130
+ }, /*#__PURE__*/_react["default"].createElement(_Label["default"], _extends({
131
+ text: labelName,
132
+ id: id,
133
+ size: fieldSize === 'small' ? 'small' : 'medium',
134
+ palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
135
+ customClass: "".concat(_FieldsModule["default"].fieldLabel, " ").concat(labelCustomClass, " ").concat(isMandatory ? _FieldsModule["default"].labelMandatory : ''),
136
+ htmlFor: uniqueId,
137
+ dataId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
138
+ }, LabelProps))), /*#__PURE__*/_react["default"].createElement("div", {
139
+ className: "".concat(_FieldsModule["default"].fieldContainer, " ").concat(labelName ? _FieldsModule["default"]["fieldMargin_".concat(fieldSize)] : '')
140
+ }, /*#__PURE__*/_react["default"].createElement(_Textarea["default"], _extends({
141
+ onChange: this.handleChange,
142
+ animated: animated,
143
+ size: fieldSize === 'medium' ? textBoxSize : 'xmedium',
144
+ variant: textBoxVariant,
145
+ isReadOnly: isReadOnly,
146
+ isDisabled: isDisabled,
147
+ getRef: this.handleGetRef,
148
+ maxLength: maxLength,
149
+ text: value,
150
+ placeHolder: placeHolder,
151
+ dataId: "property(".concat(dataId, ")"),
152
+ onBlur: this.handleBlur,
153
+ borderColor: borderColor,
154
+ needEffect: isReadOnly || isDisabled ? false : true,
155
+ resize: "vertical"
156
+ // onKeyDown={onKeyDown}
157
+ ,
158
+ htmlId: uniqueId
159
+ }, TextareaProps, {
160
+ a11y: {
161
+ ariaLabelledby: labelName
162
+ }
163
+ })), validationMessage && /*#__PURE__*/_react["default"].createElement(_ValidationMessage["default"], _extends({
164
+ text: validationMessage,
165
+ palette: validationPalette,
166
+ type: errorType,
167
+ htmlFor: uniqueId,
168
+ dataId: "".concat(dataId, "_ValidationMessage")
169
+ }, ValidationMessageProps1)), validationRuleMessage && /*#__PURE__*/_react["default"].createElement(_ValidationMessage["default"], _extends({
170
+ text: validationRuleMessage,
171
+ palette: validationRulePalette,
172
+ type: errorType,
173
+ htmlFor: uniqueId,
174
+ dataId: "".concat(dataId, "_ValidationRuleMessage")
175
+ }, ValidationMessageProps2))));
176
+ }
177
+ }]);
178
+ return TextareaField;
179
+ }(_react.PureComponent);
180
+ exports["default"] = TextareaField;
181
+ TextareaField.propTypes = _propTypes.propTypes;
182
+ TextareaField.defaultProps = _defaultProps.defaultProps;
183
+
184
+ // if (__DOCS__) {
185
+ // TextareaField.docs = {
186
+ // componentGroup: 'Form Fields',
187
+ // folderName: 'General'
188
+ // };
189
+ // }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.defaultProps = void 0;
7
+ var _FieldCommonDefaultProps = require("../../props/FieldCommonDefaultProps");
8
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
9
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
10
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
11
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
12
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
13
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
14
+ var defaultProps = _objectSpread({
15
+ textBoxSize: 'xsmall',
16
+ textBoxVariant: 'primary',
17
+ animated: true,
18
+ errorType: 'primary',
19
+ borderColor: 'default',
20
+ fieldSize: 'medium',
21
+ // isFocusOnLabelClick: true,
22
+ labelPalette: 'default',
23
+ labelCustomClass: '',
24
+ customProps: {},
25
+ dataSelectorId: 'textareaField'
26
+ }, (0, _FieldCommonDefaultProps.FieldCommonDefaultProps)());
27
+ exports.defaultProps = defaultProps;
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.propTypes = void 0;
7
+ var _propTypes = _interopRequireDefault(require("prop-types"));
8
+ var _FieldCommonPropTypes = require("../../props/FieldCommonPropTypes");
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
11
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
12
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
13
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
15
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
16
+ var propTypes = _objectSpread({
17
+ animated: _propTypes["default"].bool,
18
+ borderColor: _propTypes["default"].oneOf(['transparent', 'default']),
19
+ errorType: _propTypes["default"].oneOf(['primary', 'secondary']),
20
+ fieldSize: _propTypes["default"].oneOf(['small', 'medium']),
21
+ getRef: _propTypes["default"].func,
22
+ id: _propTypes["default"].string,
23
+ // isFocusOnLabelClick: PropTypes.bool,
24
+ labelCustomClass: _propTypes["default"].string,
25
+ labelName: _propTypes["default"].string,
26
+ labelPalette: _propTypes["default"].string,
27
+ maxLength: _propTypes["default"].number,
28
+ onBlur: _propTypes["default"].func,
29
+ onChange: _propTypes["default"].func,
30
+ onKeyDown: _propTypes["default"].func,
31
+ placeHolder: _propTypes["default"].string,
32
+ textBoxSize: _propTypes["default"].string,
33
+ textBoxVariant: _propTypes["default"].string,
34
+ title: _propTypes["default"].string,
35
+ validationMessage: _propTypes["default"].string,
36
+ validationPalette: _propTypes["default"].string,
37
+ validationRuleMessage: _propTypes["default"].string,
38
+ validationRulePalette: _propTypes["default"].string,
39
+ value: _propTypes["default"].string,
40
+ customProps: _propTypes["default"].shape({
41
+ LabelProps: _propTypes["default"].object,
42
+ TextareaProps: _propTypes["default"].object,
43
+ ValidationMessageProps1: _propTypes["default"].object,
44
+ ValidationMessageProps2: _propTypes["default"].object
45
+ })
46
+ }, (0, _FieldCommonPropTypes.FieldCommonPropTypes)());
47
+ exports.propTypes = propTypes;
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _defaultProps = require("./props/defaultProps");
10
+ var _propTypes = require("./props/propTypes");
11
+ var _Label = _interopRequireDefault(require("@zohodesk/components/lib/Label/Label"));
12
+ var _LabelColorsModule = _interopRequireDefault(require("@zohodesk/components/lib/Label/LabelColors.module.css"));
13
+ var _ValidationMessageModule = _interopRequireDefault(require("./ValidationMessage.module.css"));
14
+ var _icons = require("@zohodesk/icons");
15
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
16
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
17
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
18
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
20
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
21
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
22
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
23
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
24
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
25
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
26
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
27
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
28
+ var ValidationMessage = /*#__PURE__*/function (_React$Component) {
29
+ _inherits(ValidationMessage, _React$Component);
30
+ var _super = _createSuper(ValidationMessage);
31
+ function ValidationMessage() {
32
+ _classCallCheck(this, ValidationMessage);
33
+ return _super.apply(this, arguments);
34
+ }
35
+ _createClass(ValidationMessage, [{
36
+ key: "render",
37
+ value: function render() {
38
+ var _this$props = this.props,
39
+ palette = _this$props.palette,
40
+ text = _this$props.text,
41
+ htmlFor = _this$props.htmlFor,
42
+ onClick = _this$props.onClick,
43
+ type = _this$props.type,
44
+ size = _this$props.size,
45
+ dataId = _this$props.dataId,
46
+ clipped = _this$props.clipped,
47
+ a11y = _this$props.a11y,
48
+ tooltip = _this$props.tooltip,
49
+ dataSelectorId = _this$props.dataSelectorId;
50
+ var _a11y$role = a11y.role,
51
+ role = _a11y$role === void 0 ? 'alert' : _a11y$role;
52
+ return /*#__PURE__*/_react["default"].createElement("div", {
53
+ role: role,
54
+ onClick: onClick,
55
+ className: "".concat(type === 'primary' ? _ValidationMessageModule["default"].primary : _ValidationMessageModule["default"].secondary),
56
+ "data-id": "errorMsgContainer",
57
+ "data-selector-id": dataSelectorId
58
+ }, /*#__PURE__*/_react["default"].createElement(_Label["default"], {
59
+ text: text,
60
+ htmlFor: htmlFor,
61
+ palette: palette,
62
+ size: size,
63
+ dataId: dataId,
64
+ clipped: clipped,
65
+ title: clipped ? text : '',
66
+ customClass: _ValidationMessageModule["default"].lable
67
+ }), tooltip ? /*#__PURE__*/_react["default"].createElement("span", {
68
+ className: "".concat(_ValidationMessageModule["default"].icon, " ").concat(_LabelColorsModule["default"][palette]),
69
+ "data-title": tooltip
70
+ }, /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
71
+ name: "ZD-information57",
72
+ size: "14"
73
+ })) : null);
74
+ }
75
+ }]);
76
+ return ValidationMessage;
77
+ }(_react["default"].Component);
78
+ exports["default"] = ValidationMessage;
79
+ ValidationMessage.propTypes = _propTypes.propTypes;
80
+ ValidationMessage.defaultProps = _defaultProps.defaultProps;
81
+
82
+ // if (__DOCS__) {
83
+ // ValidationMessage.docs = {
84
+ // componentGroup: 'Form Fields',
85
+ // folderName: 'Style Guide'
86
+ // };
87
+ // }
@@ -0,0 +1,27 @@
1
+ .basic{
2
+ font-size: 0;
3
+ }
4
+ .lable{
5
+ display: inline;
6
+ }
7
+ .icon{
8
+ color:var(--label_text_color);
9
+ display: inline-block;
10
+ margin: 0 var(--zd_size5);
11
+ }
12
+ .primary {
13
+ position: absolute;
14
+ top: 100%;
15
+ composes:basic;
16
+ margin-top: var(--zd_size5);
17
+ }
18
+ [dir=ltr] .primary {
19
+ left: 0;
20
+ }
21
+ [dir=rtl] .primary {
22
+ right: 0;
23
+ }
24
+ .secondary {
25
+ composes:basic;
26
+ margin-top: var(--zd_size5);
27
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.defaultProps = void 0;
7
+ var defaultProps = {
8
+ palette: 'mandatory',
9
+ size: 'xsmall',
10
+ type: 'primary',
11
+ a11y: {},
12
+ dataSelectorId: 'validationMessage'
13
+ };
14
+ exports.defaultProps = defaultProps;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.propTypes = void 0;
7
+ var _propTypes = _interopRequireDefault(require("prop-types"));
8
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9
+ var propTypes = {
10
+ clipped: _propTypes["default"].bool,
11
+ id: _propTypes["default"].string,
12
+ onClick: _propTypes["default"].func,
13
+ palette: _propTypes["default"].oneOf(['primary', 'mandatory', 'danger']),
14
+ size: _propTypes["default"].oneOf(['xsmall', 'small', 'medium', 'large']),
15
+ text: _propTypes["default"].string,
16
+ type: _propTypes["default"].oneOf(['primary', 'secondary']),
17
+ a11y: _propTypes["default"].shape({
18
+ role: _propTypes["default"].string
19
+ }),
20
+ tooltip: _propTypes["default"].string
21
+ };
22
+ exports.propTypes = propTypes;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.FieldCommonDefaultProps = void 0;
7
+ var FieldCommonDefaultProps = function FieldCommonDefaultProps() {
8
+ return {
9
+ ePhiData: {},
10
+ isLocked: false,
11
+ isMandatory: false,
12
+ isDisabled: false,
13
+ isReadOnly: false,
14
+ renderLabelProps: {}
15
+ };
16
+ };
17
+ exports.FieldCommonDefaultProps = FieldCommonDefaultProps;
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.FieldCommonPropTypes = void 0;
7
+ var _propTypes = _interopRequireDefault(require("prop-types"));
8
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9
+ var FieldCommonPropTypes = function FieldCommonPropTypes() {
10
+ return {
11
+ ePhiData: _propTypes["default"].shape({
12
+ ePhiTitle: _propTypes["default"].string,
13
+ ePhiText: _propTypes["default"].string,
14
+ ePhiStatus: _propTypes["default"].bool
15
+ }),
16
+ dataId: _propTypes["default"].string,
17
+ infoText: _propTypes["default"].string,
18
+ lockedInfoText: _propTypes["default"].string,
19
+ isLocked: _propTypes["default"].bool,
20
+ isDisabled: _propTypes["default"].bool,
21
+ isReadOnly: _propTypes["default"].bool,
22
+ isMandatory: _propTypes["default"].bool,
23
+ renderLabelProps: _propTypes["default"].shape({
24
+ start: _propTypes["default"].func,
25
+ middle: _propTypes["default"].func,
26
+ end: _propTypes["default"].func
27
+ }),
28
+ dataSelectorId: _propTypes["default"].bool
29
+ };
30
+ };
31
+ exports.FieldCommonPropTypes = FieldCommonPropTypes;
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ var _defaultProps = require("./props/defaultProps");
10
+ var _propTypes = require("./props/propTypes");
11
+ var _FieldModule = _interopRequireDefault(require("./Field.module.css"));
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
14
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
15
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
16
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
17
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
18
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
19
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
20
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
21
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
22
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
23
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
24
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
25
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
26
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
27
+ var Field = /*#__PURE__*/function (_Component) {
28
+ _inherits(Field, _Component);
29
+ var _super = _createSuper(Field);
30
+ function Field() {
31
+ _classCallCheck(this, Field);
32
+ return _super.apply(this, arguments);
33
+ }
34
+ _createClass(Field, [{
35
+ key: "render",
36
+ value: function render() {
37
+ var _this$props = this.props,
38
+ width = _this$props.width,
39
+ children = _this$props.children,
40
+ rowBreak = _this$props.rowBreak,
41
+ column = _this$props.column,
42
+ className = _this$props.className,
43
+ containerClass = _this$props.containerClass,
44
+ dataId = _this$props.dataId;
45
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
46
+ className: "".concat(containerClass ? containerClass : '', " ").concat(column == 'single' ? "".concat(_FieldModule["default"].singleColumn) : "".concat(_FieldModule["default"][width], " ")),
47
+ "data-id": dataId
48
+ }, /*#__PURE__*/_react["default"].createElement("div", {
49
+ className: "".concat(className ? className : '', " ", "fieldWidth_".concat(width))
50
+ }, children)), rowBreak && /*#__PURE__*/_react["default"].createElement("div", {
51
+ className: _FieldModule["default"].rowBreak
52
+ }));
53
+ }
54
+ }]);
55
+ return Field;
56
+ }(_react.Component);
57
+ exports["default"] = Field;
58
+ Field.propTypes = _propTypes.propTypes;
59
+ Field.defaultProps = _defaultProps.defaultProps;
60
+
61
+ // if (__DOCS__) {
62
+ // Field.docs = {
63
+ // componentGroup: 'ModuleAddForm'
64
+ // };
65
+ // }
@@ -0,0 +1,22 @@
1
+ .container {
2
+ min-width: 0;
3
+ }
4
+ .half {
5
+ flex: 1 1 50%;
6
+ max-width: 50%;
7
+ }
8
+ .full {
9
+ flex: 1 1 100%;
10
+ }
11
+ .fieldContaier {
12
+ display: inline-block;
13
+ width: 100%;
14
+ vertical-align: middle;
15
+ }
16
+ .rowBreak {
17
+ display: block;
18
+ width: 100%;
19
+ }
20
+ .singleColumn {
21
+ width: 100%;
22
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.defaultProps = void 0;
7
+ var defaultProps = {
8
+ width: 'half',
9
+ rowBreak: false
10
+ };
11
+ exports.defaultProps = defaultProps;