@zohodesk/dot 1.0.0-beta.24 → 1.0.0-beta.241

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 (1480) hide show
  1. package/README.md +1070 -11
  2. package/assets/Appearance/dark/mode/dotDarkMode.module.css +536 -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 +536 -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 +536 -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/{__testUtils__/globals.js → css_error.log} +0 -0
  21. package/dubFinder.js +7 -4
  22. package/es/ActionButton/ActionButton.js +135 -0
  23. package/es/ActionButton/ActionButton.module.css +136 -0
  24. package/es/ActionButton/props/defaultProps.js +17 -0
  25. package/es/ActionButton/props/propTypes.js +31 -0
  26. package/es/AlphabeticList/AlphabeticList.js +101 -0
  27. package/es/AlphabeticList/AlphabeticList.module.css +57 -0
  28. package/es/AlphabeticList/props/defaultProps.js +11 -0
  29. package/es/AlphabeticList/props/propTypes.js +22 -0
  30. package/es/Attachment/Attachment.js +85 -0
  31. package/es/Attachment/Attachment.module.css +158 -0
  32. package/es/Attachment/props/defaultProps.js +6 -0
  33. package/es/Attachment/props/propTypes.js +15 -0
  34. package/es/AttachmentViewer/Attachment.js +16 -0
  35. package/es/AttachmentViewer/AttachmentImage.js +72 -0
  36. package/es/AttachmentViewer/AttachmentViewer.js +506 -0
  37. package/es/AttachmentViewer/AttachmentViewer.module.css +354 -0
  38. package/es/AttachmentViewer/props/defaultProps.js +10 -0
  39. package/es/AttachmentViewer/props/propTypes.js +31 -0
  40. package/es/AttachmentViewer/utils.js +90 -0
  41. package/es/ChannelIcon/ChannelIcon.js +82 -105
  42. package/es/ChannelIcon/ChannelIcon.module.css +68 -59
  43. package/es/ChannelIcon/props/defaultProps.js +6 -0
  44. package/es/ChannelIcon/props/propTypes.js +24 -0
  45. package/es/Drawer/Drawer.js +252 -329
  46. package/es/Drawer/Drawer.module.css +71 -123
  47. package/es/Drawer/props/defaultProps.js +21 -0
  48. package/es/Drawer/props/propTypes.js +50 -0
  49. package/es/ExternalLink/ExternalLink.js +36 -74
  50. package/es/ExternalLink/ExternalLink.module.css +3 -3
  51. package/es/ExternalLink/__tests__/ExternalLink.spec.js +17 -26
  52. package/es/ExternalLink/props/defaultProps.js +5 -0
  53. package/es/ExternalLink/props/propTypes.js +12 -0
  54. package/es/FlipCard/FlipCard.js +122 -163
  55. package/es/FlipCard/FlipCard.module.css +15 -6
  56. package/es/FlipCard/props/defaultProps.js +5 -0
  57. package/es/FlipCard/props/propTypes.js +37 -0
  58. package/es/FormAction/FormAction.js +63 -117
  59. package/es/FormAction/FormAction.module.css +9 -4
  60. package/es/FormAction/props/defaultProps.js +4 -0
  61. package/es/FormAction/props/propTypes.js +7 -0
  62. package/es/FreezeLayer/FreezeLayer.js +114 -131
  63. package/es/FreezeLayer/FreezeLayer.module.css +7 -6
  64. package/es/FreezeLayer/props/defaultProps.js +8 -0
  65. package/es/FreezeLayer/props/propTypes.js +17 -0
  66. package/es/IconButton/IconButton.js +132 -81
  67. package/es/IconButton/IconButton.module.css +13 -28
  68. package/es/IconButton/props/defaultProps.js +15 -0
  69. package/es/IconButton/props/propTypes.js +31 -0
  70. package/es/Image/Image.js +30 -58
  71. package/es/Image/props/defaultProps.js +4 -0
  72. package/es/Image/props/propTypes.js +13 -0
  73. package/es/ImportantNotes/ImportantNotes.js +47 -0
  74. package/es/ImportantNotes/ImportantNotes.module.css +20 -0
  75. package/es/ImportantNotes/props/defaultProps.js +6 -0
  76. package/es/ImportantNotes/props/propTypes.js +10 -0
  77. package/es/Link/Link.js +80 -121
  78. package/es/Link/LinkContext.js +2 -4
  79. package/es/Link/props/defaultProps.js +5 -0
  80. package/es/Link/props/propTypes.js +14 -0
  81. package/es/Loader/Loader.js +24 -0
  82. package/es/Loader/Loader.module.css +46 -0
  83. package/es/Message/Message.js +103 -0
  84. package/es/Message/Message.module.css +103 -0
  85. package/es/Message/props/defaultProps.js +3 -0
  86. package/es/Message/props/propTypes.js +12 -0
  87. package/es/MessageBanner/MessageBanner.js +59 -0
  88. package/es/MessageBanner/MessageBanner.module.css +46 -0
  89. package/es/MessageBanner/props/defaultProps.js +6 -0
  90. package/es/MessageBanner/props/propTypes.js +12 -0
  91. package/es/NewStar/NewStar.js +67 -0
  92. package/es/NewStar/NewStar.module.css +110 -0
  93. package/es/NewStar/props/defaultProps.js +4 -0
  94. package/es/NewStar/props/propTypes.js +6 -0
  95. package/es/PlusIcon/PlusIcon.js +32 -75
  96. package/es/PlusIcon/PlusIcon.module.css +11 -2
  97. package/es/PlusIcon/props/defaultProps.js +8 -0
  98. package/es/PlusIcon/props/propTypes.js +11 -0
  99. package/es/Provider/Config.js +12 -0
  100. package/es/ToastMessage/ToastMessage.js +189 -333
  101. package/es/ToastMessage/ToastMessage.module.css +57 -62
  102. package/es/ToastMessage/props/defaultProps.js +17 -0
  103. package/es/ToastMessage/props/propTypes.js +38 -0
  104. package/es/Upload/Upload.js +72 -0
  105. package/es/Upload/Upload.module.css +125 -0
  106. package/es/Upload/props/defaultProps.js +6 -0
  107. package/es/Upload/props/propTypes.js +16 -0
  108. package/es/actions/AutoClose.js +42 -0
  109. package/es/actions/index.js +12 -10
  110. package/es/actions/props/defaultProps.js +3 -0
  111. package/es/actions/props/propTypes.js +7 -0
  112. package/es/alert/AlertHeader/AlertHeader.js +60 -120
  113. package/es/alert/AlertHeader/AlertHeader.module.css +14 -13
  114. package/es/alert/AlertHeader/props/defaultProps.js +8 -0
  115. package/es/alert/AlertHeader/props/propTypes.js +15 -0
  116. package/es/alert/AlertLookup/AlertLookup.js +87 -178
  117. package/es/alert/AlertLookup/AlertLookup.module.css +7 -3
  118. package/es/alert/AlertLookup/props/defaultProps.js +14 -0
  119. package/es/alert/AlertLookup/props/propTypes.js +36 -0
  120. package/es/avatar/AvatarClose/AvatarClose.js +39 -60
  121. package/es/avatar/AvatarClose/AvatarClose.module.css +4 -4
  122. package/es/avatar/AvatarClose/props/defaultProps.js +5 -0
  123. package/es/avatar/AvatarClose/props/propTypes.js +13 -0
  124. package/es/avatar/AvatarCollision/AvatarCollision.js +47 -80
  125. package/es/avatar/AvatarCollision/AvatarCollision.module.css +9 -9
  126. package/es/avatar/AvatarCollision/props/defaultProps.js +7 -0
  127. package/es/avatar/AvatarCollision/props/propTypes.js +16 -0
  128. package/es/avatar/AvatarIcon/AvatarIcon.js +46 -82
  129. package/es/avatar/AvatarIcon/AvatarIcon.module.css +32 -10
  130. package/es/avatar/AvatarIcon/props/defaultProps.js +13 -0
  131. package/es/avatar/AvatarIcon/props/propTypes.js +19 -0
  132. package/es/avatar/AvatarStatus/AvatarStatus.js +57 -68
  133. package/es/avatar/AvatarStatus/AvatarStatus.module.css +87 -34
  134. package/es/avatar/AvatarStatus/props/defaultProps.js +9 -0
  135. package/es/avatar/AvatarStatus/props/propTypes.js +23 -0
  136. package/es/avatar/AvatarThread/AvatarThread.js +65 -97
  137. package/es/avatar/AvatarThread/AvatarThread.module.css +119 -17
  138. package/es/avatar/AvatarThread/props/defaultProps.js +8 -0
  139. package/es/avatar/AvatarThread/props/propTypes.js +29 -0
  140. package/es/avatar/AvatarUser/AvatarUser.js +93 -108
  141. package/es/avatar/AvatarUser/AvatarUser.module.css +95 -25
  142. package/es/avatar/AvatarUser/props/defaultProps.js +7 -0
  143. package/es/avatar/AvatarUser/props/propTypes.js +34 -0
  144. package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +82 -71
  145. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +5 -5
  146. package/es/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +43 -44
  147. package/es/avatar/AvatarWithTeam/props/defaultProps.js +7 -0
  148. package/es/avatar/AvatarWithTeam/props/propTypes.js +23 -0
  149. package/es/common/dot_animation.module.css +27 -0
  150. package/es/common/dot_common.module.css +4 -0
  151. package/es/deprecated/SelectDropdown/SelectDropdown.js +144 -0
  152. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +56 -0
  153. package/es/deprecated/utils/General.js +17 -0
  154. package/es/deprecated/utils/KeyboardApi.js +253 -0
  155. package/es/docs/formDocs.js +30 -0
  156. package/es/docs/generalDocs.js +107 -56
  157. package/es/docs/lookupDocs.js +31 -12
  158. package/es/docs/setupDocs.js +11 -13
  159. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +771 -532
  160. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +40 -13
  161. package/es/dropdown/ToggleDropDown/props/defaultProps.js +24 -0
  162. package/es/dropdown/ToggleDropDown/props/propTypes.js +70 -0
  163. package/es/emptystate/CommonEmptyState/CommonEmptyState.js +56 -120
  164. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +66 -15
  165. package/es/emptystate/CommonEmptyState/props/defaultProps.js +10 -0
  166. package/es/emptystate/CommonEmptyState/props/propTypes.js +21 -0
  167. package/es/emptystate/EditionPage/EditionPage.css +5 -5
  168. package/es/emptystate/EditionPage/EditionPage.js +46 -92
  169. package/es/emptystate/EditionPage/props/defaultProps.js +5 -0
  170. package/es/emptystate/EditionPage/props/propTypes.js +7 -0
  171. package/es/errorstate/EmptyStates.module.css +56 -13
  172. package/es/errorstate/Inconvenience/Inconvenience.js +71 -76
  173. package/es/errorstate/Inconvenience/Inconvenience.module.css +0 -2
  174. package/es/errorstate/Inconvenience/props/defaultProps.js +4 -0
  175. package/es/errorstate/Inconvenience/props/propTypes.js +11 -0
  176. package/es/errorstate/LinkText/LinkText.js +20 -45
  177. package/es/errorstate/LinkText/LinkText.module.css +2 -2
  178. package/es/errorstate/LinkText/props/defaultProps.js +4 -0
  179. package/es/errorstate/LinkText/props/propTypes.js +8 -0
  180. package/es/errorstate/NoRequestFound/NoRequestFound.js +71 -76
  181. package/es/errorstate/NoRequestFound/NoRequestFound.module.css +0 -2
  182. package/es/errorstate/NoRequestFound/props/defaultProps.js +4 -0
  183. package/es/errorstate/NoRequestFound/props/propTypes.js +11 -0
  184. package/es/errorstate/PermissionPlay/PermissionPlay.js +70 -84
  185. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +10 -9
  186. package/es/errorstate/PermissionPlay/props/defaultProps.js +4 -0
  187. package/es/errorstate/PermissionPlay/props/propTypes.js +11 -0
  188. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +71 -76
  189. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +0 -2
  190. package/es/errorstate/RequestUrlNotFound/props/defaultProps.js +4 -0
  191. package/es/errorstate/RequestUrlNotFound/props/propTypes.js +11 -0
  192. package/es/errorstate/UnableToProcess/UnableToProcess.js +71 -76
  193. package/es/errorstate/UnableToProcess/UnableToProcess.module.css +0 -15
  194. package/es/errorstate/UnableToProcess/props/defaultProps.js +4 -0
  195. package/es/errorstate/UnableToProcess/props/propTypes.js +11 -0
  196. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +71 -76
  197. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +0 -15
  198. package/es/errorstate/UnauthorizedLogin/props/defaultProps.js +4 -0
  199. package/es/errorstate/UnauthorizedLogin/props/propTypes.js +11 -0
  200. package/es/errorstate/WillBack/WillBack.js +63 -69
  201. package/es/errorstate/WillBack/WillBack.module.css +23 -10
  202. package/es/errorstate/WillBack/props/defaultProps.js +4 -0
  203. package/es/errorstate/WillBack/props/propTypes.js +5 -0
  204. package/es/form/fields/CheckBoxField/CheckBoxField.js +134 -0
  205. package/es/form/fields/CheckBoxField/props/defaultProps.js +11 -0
  206. package/es/form/fields/CheckBoxField/props/propTypes.js +27 -0
  207. package/es/form/fields/CurrencyField/CurrencyField.js +173 -0
  208. package/es/form/fields/CurrencyField/props/defaultProps.js +16 -0
  209. package/es/form/fields/CurrencyField/props/propTypes.js +36 -0
  210. package/es/form/fields/DateField/DateField.js +182 -0
  211. package/es/form/fields/DateField/props/defaultProps.js +18 -0
  212. package/es/form/fields/DateField/props/propTypes.js +39 -0
  213. package/es/form/fields/FieldContainer/FieldContainer.js +65 -0
  214. package/es/form/fields/FieldContainer/props/defaultProps.js +6 -0
  215. package/es/form/fields/FieldContainer/props/propTypes.js +12 -0
  216. package/es/form/fields/Fields.module.css +183 -0
  217. package/es/form/fields/MultiSelectField/MultiSelectField.js +207 -0
  218. package/es/form/fields/MultiSelectField/props/defaultProps.js +16 -0
  219. package/es/form/fields/MultiSelectField/props/propTypes.js +50 -0
  220. package/es/form/fields/PhoneField/PhoneField.js +178 -0
  221. package/es/form/fields/PhoneField/props/defaultProps.js +15 -0
  222. package/es/form/fields/PhoneField/props/propTypes.js +40 -0
  223. package/es/form/fields/RadioField/RadioField.js +111 -0
  224. package/es/form/fields/RadioField/props/defaultProps.js +11 -0
  225. package/es/form/fields/RadioField/props/propTypes.js +30 -0
  226. package/es/form/fields/SelectField/SelectField.js +180 -0
  227. package/es/form/fields/SelectField/props/defaultProps.js +17 -0
  228. package/es/form/fields/SelectField/props/propTypes.js +50 -0
  229. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +277 -0
  230. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -0
  231. package/es/form/fields/TagsMultiSelect/props/defaultProps.js +10 -0
  232. package/es/form/fields/TagsMultiSelect/props/propTypes.js +43 -0
  233. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +237 -0
  234. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -0
  235. package/es/form/fields/TagsMultiSelectField/props/defaultProps.js +18 -0
  236. package/es/form/fields/TagsMultiSelectField/props/propTypes.js +52 -0
  237. package/es/form/fields/TextBoxField/TextBoxField.js +160 -0
  238. package/es/form/fields/TextBoxField/props/defaultProps.js +16 -0
  239. package/es/form/fields/TextBoxField/props/propTypes.js +37 -0
  240. package/es/form/fields/TextEditor/TextEditor.js +364 -0
  241. package/es/form/fields/TextEditor/TextEditor.module.css +666 -0
  242. package/es/form/fields/TextEditor/props/defaultProps.js +12 -0
  243. package/es/form/fields/TextEditor/props/propTypes.js +40 -0
  244. package/es/form/fields/TextEditorField/TextEditorField.js +169 -0
  245. package/es/form/fields/TextEditorField/props/defaultProps.js +14 -0
  246. package/es/form/fields/TextEditorField/props/propTypes.js +47 -0
  247. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +193 -0
  248. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +37 -0
  249. package/es/form/fields/TextEditorWrapper/props/defaultProps.js +8 -0
  250. package/es/form/fields/TextEditorWrapper/props/propTypes.js +39 -0
  251. package/es/form/fields/TextareaField/TextareaField.js +157 -0
  252. package/es/form/fields/TextareaField/props/defaultProps.js +14 -0
  253. package/es/form/fields/TextareaField/props/propTypes.js +34 -0
  254. package/es/form/fields/ValidationMessage/ValidationMessage.js +55 -0
  255. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -0
  256. package/es/form/fields/ValidationMessage/props/defaultProps.js +6 -0
  257. package/es/form/fields/ValidationMessage/props/propTypes.js +14 -0
  258. package/es/form/fields/props/FieldCommonDefaultProps.js +10 -0
  259. package/es/form/fields/props/FieldCommonPropTypes.js +22 -0
  260. package/es/form/layout/Field/Field.js +32 -0
  261. package/es/form/layout/Field/Field.module.css +22 -0
  262. package/es/form/layout/Field/props/defaultProps.js +4 -0
  263. package/es/form/layout/Field/props/propTypes.js +10 -0
  264. package/es/form/layout/Section/ModuleFormSection.module.css +3 -0
  265. package/es/form/layout/Section/Section.js +34 -0
  266. package/es/form/layout/Section/props/propTypes.js +9 -0
  267. package/es/index.js +5 -12
  268. package/es/layout/SetupDetailLayout/SetupDetailLayout.js +178 -316
  269. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +20 -20
  270. package/es/layout/SetupDetailLayout/props/defaultProps.js +18 -0
  271. package/es/layout/SetupDetailLayout/props/propTypes.js +33 -0
  272. package/es/layout/SubtabLayout/SubtabLayout.js +129 -216
  273. package/es/layout/SubtabLayout/SubtabLayout.module.css +72 -16
  274. package/es/layout/SubtabLayout/index.js +2 -1
  275. package/es/layout/SubtabLayout/props/defaultProps.js +25 -0
  276. package/es/layout/SubtabLayout/props/propTypes.js +40 -0
  277. package/es/list/AvatarFlip/AvatarFlip.js +64 -99
  278. package/es/list/AvatarFlip/AvatarFlip.module.css +1 -13
  279. package/es/list/AvatarFlip/props/defaultProps.js +5 -0
  280. package/es/list/AvatarFlip/props/propTypes.js +28 -0
  281. package/es/list/BluePrintStatus/BluePrintStatus.js +19 -42
  282. package/es/list/BluePrintStatus/BluePrintStatus.module.css +8 -6
  283. package/es/list/BluePrintStatus/props/propTypes.js +4 -0
  284. package/es/list/Comment/Comment.js +33 -70
  285. package/es/list/Comment/Comment.module.css +12 -5
  286. package/es/list/Comment/props/defaultProps.js +3 -0
  287. package/es/list/Comment/props/propTypes.js +9 -0
  288. package/es/list/DepartmentDropDown/DepartmentDropDown.js +81 -90
  289. package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +6 -80
  290. package/es/list/DepartmentDropDown/props/defaultProps.js +7 -0
  291. package/es/list/DepartmentDropDown/props/propTypes.js +24 -0
  292. package/es/list/Dot/Dot.js +17 -44
  293. package/es/list/Dot/Dot.module.css +7 -5
  294. package/es/list/Dot/props/defaultProps.js +4 -0
  295. package/es/list/Dot/props/propTypes.js +5 -0
  296. package/es/list/DotNew/DotNew.js +19 -32
  297. package/es/list/DotNew/DotNew.module.css +14 -11
  298. package/es/list/DotNew/props/defaultProps.js +3 -0
  299. package/es/list/DotNew/props/propTypes.js +6 -0
  300. package/es/list/GridStencils/GridStencils.js +25 -56
  301. package/es/list/GridStencils/GridStencils.module.css +23 -68
  302. package/es/list/GridStencils/props/propTypes.js +7 -0
  303. package/es/list/Icons/AddNewIcon.js +22 -66
  304. package/es/list/Icons/CompleteIcon.js +23 -55
  305. package/es/list/Icons/DeleteIcon.js +23 -74
  306. package/es/list/Icons/EditIcon.js +22 -73
  307. package/es/list/Icons/FloatingIcons.js +20 -49
  308. package/es/list/Icons/Icons.module.css +5 -4
  309. package/es/list/Icons/ReadUnreadIcon.js +31 -0
  310. package/es/list/Icons/SmartIcon.js +22 -44
  311. package/es/list/Icons/props/defaultProps.js +6 -0
  312. package/es/list/Icons/props/propTypes.js +55 -0
  313. package/es/list/ListLayout/ListLayout.js +66 -129
  314. package/es/list/ListLayout/ListLayout.module.css +38 -7
  315. package/es/list/ListLayout/props/defaultProps.js +11 -0
  316. package/es/list/ListLayout/props/propTypes.js +28 -0
  317. package/es/list/ListStencils/ListStencils.js +32 -49
  318. package/es/list/ListStencils/ListStencils.module.css +48 -8
  319. package/es/list/ListStencils/props/defaultProps.js +3 -0
  320. package/es/list/ListStencils/props/propTypes.js +4 -0
  321. package/es/list/SecondaryText/AccountName.js +66 -85
  322. package/es/list/SecondaryText/ContactName.js +71 -115
  323. package/es/list/SecondaryText/DepartmentText.js +19 -45
  324. package/es/list/SecondaryText/Email.js +37 -74
  325. package/es/list/SecondaryText/HappinessRating.js +19 -52
  326. package/es/list/SecondaryText/PhoneNumber.js +41 -77
  327. package/es/list/SecondaryText/PriorityText.js +22 -53
  328. package/es/list/SecondaryText/SecondaryText.js +28 -51
  329. package/es/list/SecondaryText/SecondaryText.module.css +53 -21
  330. package/es/list/SecondaryText/StatusText.js +23 -56
  331. package/es/list/SecondaryText/TicketId.js +40 -66
  332. package/es/list/SecondaryText/Website.js +26 -71
  333. package/es/list/SecondaryText/props/defaultProps.js +44 -0
  334. package/es/list/SecondaryText/props/propTypes.js +143 -0
  335. package/es/list/SecondryPanel/SecondryPanel.js +86 -181
  336. package/es/list/SecondryPanel/SecondryPanel.module.css +1 -22
  337. package/es/list/SecondryPanel/props/defaultProps.js +18 -0
  338. package/es/list/SecondryPanel/props/propTypes.js +27 -0
  339. package/es/list/SentimentStatus/SentimentStatus.js +24 -44
  340. package/es/list/SentimentStatus/SentimentStatus.module.css +1 -1
  341. package/es/list/SentimentStatus/props/propTypes.js +5 -0
  342. package/es/list/Subject/Subject.js +44 -79
  343. package/es/list/Subject/Subject.module.css +21 -3
  344. package/es/list/Subject/props/defaultProps.js +7 -0
  345. package/es/list/Subject/props/propTypes.js +19 -0
  346. package/es/list/TagNew/TagNew.js +22 -49
  347. package/es/list/TagNew/TagNew.module.css +5 -5
  348. package/es/list/TagNew/props/defaultProps.js +4 -0
  349. package/es/list/TagNew/props/propTypes.js +8 -0
  350. package/es/list/Thread/Thread.js +32 -53
  351. package/es/list/Thread/Thread.module.css +30 -7
  352. package/es/list/Thread/props/defaultProps.js +4 -0
  353. package/es/list/Thread/props/propTypes.js +8 -0
  354. package/es/list/UserTime/UserTime.js +69 -100
  355. package/es/list/UserTime/UserTime.module.css +23 -14
  356. package/es/list/UserTime/props/defaultProps.js +3 -0
  357. package/es/list/UserTime/props/propTypes.js +14 -0
  358. package/es/list/listCommon.module.css +19 -51
  359. package/es/list/status/StatusDropdown/StatusDropdown.js +422 -0
  360. package/es/list/status/StatusDropdown/StatusDropdown.module.css +92 -0
  361. package/es/list/status/StatusDropdown/props/defaultProps.js +18 -0
  362. package/es/list/status/StatusDropdown/props/propTypes.js +50 -0
  363. package/es/list/status/StatusListItem/StatusListItem.js +112 -0
  364. package/es/list/status/StatusListItem/StatusListItem.module.css +104 -0
  365. package/es/list/status/StatusListItem/props/defaultProps.js +14 -0
  366. package/es/list/status/StatusListItem/props/propTypes.js +28 -0
  367. package/es/lookup/EmptyPage/EmptyPage.js +46 -78
  368. package/es/lookup/EmptyPage/LookupEmptyPage.module.css +1 -1
  369. package/es/lookup/EmptyPage/props/defaultProps.js +4 -0
  370. package/es/lookup/EmptyPage/props/propTypes.js +5 -0
  371. package/es/lookup/Lookup/Lookup.js +81 -82
  372. package/es/lookup/Lookup/Lookup.module.css +12 -8
  373. package/es/lookup/Lookup/props/defaultProps.js +7 -0
  374. package/es/lookup/Lookup/props/propTypes.js +18 -0
  375. package/es/lookup/Section/LookupSection.module.css +3 -2
  376. package/es/lookup/Section/Section.js +18 -48
  377. package/es/lookup/Section/props/propTypes.js +6 -0
  378. package/es/lookup/header/Close/Close.js +19 -48
  379. package/es/lookup/header/Close/LookupClose.module.css +5 -5
  380. package/es/lookup/header/Close/props/defaultProps.js +3 -0
  381. package/es/lookup/header/Close/props/propTypes.js +6 -0
  382. package/es/lookup/header/ModuleHeader/ModuleHeader.js +57 -86
  383. package/es/lookup/header/ModuleHeader/props/defaultProps.js +3 -0
  384. package/es/lookup/header/ModuleHeader/props/propTypes.js +17 -0
  385. package/es/lookup/header/Search/LookupSearch.module.css +52 -9
  386. package/es/lookup/header/Search/Search.js +204 -124
  387. package/es/lookup/header/Search/props/defaultProps.js +5 -0
  388. package/es/lookup/header/Search/props/propTypes.js +28 -0
  389. package/es/lookup/header/TicketHeader/TicketHeader.js +75 -111
  390. package/es/lookup/header/TicketHeader/TicketHeader.module.css +3 -2
  391. package/es/lookup/header/TicketHeader/props/defaultProps.js +4 -0
  392. package/es/lookup/header/TicketHeader/props/propTypes.js +20 -0
  393. package/es/lookup/header/Title/LookupTitle.module.css +4 -4
  394. package/es/lookup/header/Title/Title.js +16 -49
  395. package/es/lookup/header/Title/props/defaultProps.js +3 -0
  396. package/es/lookup/header/Title/props/propTypes.js +6 -0
  397. package/es/lookup/header/ViewDropDown/ViewDropDown.js +144 -191
  398. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +9 -11
  399. package/es/lookup/header/ViewDropDown/props/defaultProps.js +7 -0
  400. package/es/lookup/header/ViewDropDown/props/propTypes.js +26 -0
  401. package/es/lookup/header/lookupHeaderCommon.module.css +13 -5
  402. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +1 -1
  403. package/es/setup/header/Button/Button.js +25 -53
  404. package/es/setup/header/Button/props/defaultProps.js +4 -0
  405. package/es/setup/header/Button/props/propTypes.js +7 -0
  406. package/es/setup/header/Link/HeaderLink.module.css +4 -5
  407. package/es/setup/header/Link/Link.js +31 -63
  408. package/es/setup/header/Link/props/defaultProps.js +4 -0
  409. package/es/setup/header/Link/props/propTypes.js +8 -0
  410. package/es/setup/header/Search/Search.js +64 -90
  411. package/es/setup/header/Search/Search.module.css +13 -12
  412. package/es/setup/header/Search/props/defaultProps.js +5 -0
  413. package/es/setup/header/Search/props/propTypes.js +11 -0
  414. package/es/setup/header/Views/Views.js +35 -70
  415. package/es/setup/header/Views/Views.module.css +4 -4
  416. package/es/setup/header/Views/props/defaultProps.js +6 -0
  417. package/es/setup/header/Views/props/propTypes.js +9 -0
  418. package/es/setup/helptips/Description/Description.js +14 -36
  419. package/es/setup/helptips/Description/HelpTipsDescription.module.css +2 -2
  420. package/es/setup/helptips/Description/props/propTypes.js +4 -0
  421. package/es/setup/helptips/Link/HelpTipsLink.module.css +2 -2
  422. package/es/setup/helptips/Link/Link.js +27 -51
  423. package/es/setup/helptips/Link/props/propTypes.js +7 -0
  424. package/es/setup/helptips/ListGroup/ListGroup.js +26 -57
  425. package/es/setup/helptips/ListGroup/ListGroup.module.css +2 -2
  426. package/es/setup/helptips/ListGroup/props/propTypes.js +5 -0
  427. package/es/setup/helptips/Title/HelpTipsTitle.module.css +2 -2
  428. package/es/setup/helptips/Title/Title.js +14 -36
  429. package/es/setup/helptips/Title/props/propTypes.js +4 -0
  430. package/es/setup/table/Table/Table.js +16 -44
  431. package/es/setup/table/Table/props/defaultProps.js +4 -0
  432. package/es/setup/table/Table/props/propTypes.js +6 -0
  433. package/es/setup/table/TableBody/TableBody.js +20 -44
  434. package/es/setup/table/TableBody/props/defaultProps.js +3 -0
  435. package/es/setup/table/TableBody/props/propTypes.js +7 -0
  436. package/es/setup/table/TableData/{TableData.css → SetupTableData.module.css} +0 -0
  437. package/es/setup/table/TableData/TableData.js +26 -59
  438. package/es/setup/table/TableData/{hover.css → Tablehover.module.css} +0 -0
  439. package/es/setup/table/TableData/props/defaultProps.js +5 -0
  440. package/es/setup/table/TableData/props/propTypes.js +10 -0
  441. package/es/setup/table/TableHead/SetupTableHead.module.css +12 -0
  442. package/es/setup/table/TableHead/TableHead.js +28 -63
  443. package/es/setup/table/TableHead/props/defaultProps.js +4 -0
  444. package/es/setup/table/TableHead/props/propTypes.js +7 -0
  445. package/es/setup/table/TableRow/SetupTableRow.module.css +14 -0
  446. package/es/setup/table/TableRow/TableRow.js +33 -69
  447. package/es/setup/table/TableRow/props/defaultProps.js +4 -0
  448. package/es/setup/table/TableRow/props/propTypes.js +11 -0
  449. package/es/setup/table/Text/TableText.module.css +37 -0
  450. package/es/setup/table/Text/Text.js +41 -94
  451. package/es/setup/table/Text/props/defaultProps.js +7 -0
  452. package/es/setup/table/Text/props/propTypes.js +13 -0
  453. package/es/svg/PlusIcon.js +25 -61
  454. package/es/svg/SnippetIcon.js +27 -64
  455. package/es/svg/TemplateIcon.js +28 -59
  456. package/es/svg/props/defaultProps.js +15 -0
  457. package/es/svg/props/propTypes.js +16 -0
  458. package/es/utils/ChannelIconMapping.js +101 -84
  459. package/es/utils/General.js +25 -6
  460. package/es/utils/editorUtils.js +169 -0
  461. package/es/version2/AlertClose/AlertClose.js +39 -0
  462. package/es/version2/AlertClose/AlertClose.module.css +43 -0
  463. package/es/version2/AlertClose/props/propTypes.js +8 -0
  464. package/es/version2/GlobalNotification/GlobalNotification.js +128 -0
  465. package/es/version2/GlobalNotification/GlobalNotification.module.css +125 -0
  466. package/es/version2/GlobalNotification/props/defaultProps.js +3 -0
  467. package/es/version2/GlobalNotification/props/propTypes.js +13 -0
  468. package/es/version2/alertIcons/AlarmAlertIcon.js +67 -0
  469. package/es/version2/alertIcons/AlertIcons.js +58 -0
  470. package/es/version2/alertIcons/AlertIcons.module.css +67 -0
  471. package/es/version2/alertIcons/DangerAlertIcon.js +67 -0
  472. package/es/version2/alertIcons/ErrorAlertIcon.js +72 -0
  473. package/es/version2/alertIcons/InfoAlertIcon.js +76 -0
  474. package/es/version2/alertIcons/NotificationAlertIcon.js +72 -0
  475. package/es/version2/alertIcons/SuccessAlertIcon.js +67 -0
  476. package/es/version2/alertIcons/WarningAlertIcon.js +67 -0
  477. package/es/version2/alertIcons/props/defaultProps.js +26 -0
  478. package/es/version2/alertIcons/props/propTypes.js +33 -0
  479. package/es/version2/errorstate/Inconvenience/Inconvenience.js +69 -0
  480. package/es/version2/errorstate/Inconvenience/props/defaultProps.js +8 -0
  481. package/es/version2/errorstate/Inconvenience/props/propTypes.js +16 -0
  482. package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +70 -0
  483. package/es/version2/errorstate/OopsSomethingMiss/props/defaultProps.js +8 -0
  484. package/es/version2/errorstate/OopsSomethingMiss/props/propTypes.js +16 -0
  485. package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +69 -0
  486. package/es/version2/errorstate/UnableToProcessRequest/props/defaultProps.js +8 -0
  487. package/es/version2/errorstate/UnableToProcessRequest/props/propTypes.js +16 -0
  488. package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +71 -0
  489. package/es/version2/errorstate/UnauthorizedLogin/props/defaultProps.js +9 -0
  490. package/es/version2/errorstate/UnauthorizedLogin/props/propTypes.js +17 -0
  491. package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +69 -0
  492. package/es/version2/errorstate/UrlNotFound/props/defaultProps.js +8 -0
  493. package/es/version2/errorstate/UrlNotFound/props/propTypes.js +16 -0
  494. package/es/version2/errorstate/V2_ErrorStates.module.css +46 -0
  495. package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +69 -0
  496. package/es/version2/errorstate/WillBeRightBack/props/defaultProps.js +8 -0
  497. package/es/version2/errorstate/WillBeRightBack/props/propTypes.js +16 -0
  498. package/es/version2/lookup/AlertHeader/AlertHeader.js +62 -0
  499. package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +87 -0
  500. package/es/version2/lookup/AlertHeader/props/defaultProps.js +6 -0
  501. package/es/version2/lookup/AlertHeader/props/propTypes.js +12 -0
  502. package/es/version2/lookup/AlertLookup/AlertLookup.js +196 -0
  503. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +44 -0
  504. package/es/version2/lookup/AlertLookup/props/defaultProps.js +13 -0
  505. package/es/version2/lookup/AlertLookup/props/propTypes.js +36 -0
  506. package/es/version2/lookup/alertLookupCommonNew.module.css +33 -0
  507. package/es/version2/notification/DesktopNotification/DesktopNotification.js +158 -0
  508. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -0
  509. package/es/version2/notification/DesktopNotification/props/defaultProps.js +14 -0
  510. package/es/version2/notification/DesktopNotification/props/propTypes.js +36 -0
  511. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +60 -0
  512. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +137 -0
  513. package/es/version2/notification/DesktopNotificationHeader/props/defaultProps.js +5 -0
  514. package/es/version2/notification/DesktopNotificationHeader/props/propTypes.js +11 -0
  515. package/images/audio_thumbnail.png +0 -0
  516. package/lib/ActionButton/ActionButton.js +164 -0
  517. package/lib/ActionButton/ActionButton.module.css +136 -0
  518. package/lib/ActionButton/props/defaultProps.js +24 -0
  519. package/lib/ActionButton/props/propTypes.js +39 -0
  520. package/lib/AlphabeticList/AlphabeticList.js +140 -0
  521. package/lib/AlphabeticList/AlphabeticList.module.css +57 -0
  522. package/lib/AlphabeticList/props/defaultProps.js +19 -0
  523. package/lib/AlphabeticList/props/propTypes.js +40 -0
  524. package/lib/Attachment/Attachment.js +112 -0
  525. package/lib/Attachment/Attachment.module.css +158 -0
  526. package/lib/Attachment/props/defaultProps.js +13 -0
  527. package/lib/Attachment/props/propTypes.js +23 -0
  528. package/lib/AttachmentViewer/Attachment.js +24 -0
  529. package/lib/AttachmentViewer/AttachmentImage.js +95 -0
  530. package/lib/AttachmentViewer/AttachmentViewer.js +556 -0
  531. package/lib/AttachmentViewer/AttachmentViewer.module.css +354 -0
  532. package/lib/AttachmentViewer/props/defaultProps.js +18 -0
  533. package/lib/AttachmentViewer/props/propTypes.js +40 -0
  534. package/lib/AttachmentViewer/utils.js +110 -0
  535. package/lib/ChannelIcon/ChannelIcon.js +96 -121
  536. package/lib/ChannelIcon/ChannelIcon.module.css +68 -59
  537. package/lib/ChannelIcon/props/defaultProps.js +13 -0
  538. package/lib/ChannelIcon/props/propTypes.js +32 -0
  539. package/lib/Drawer/Drawer.js +271 -331
  540. package/lib/Drawer/Drawer.module.css +71 -123
  541. package/lib/Drawer/props/defaultProps.js +30 -0
  542. package/lib/Drawer/props/propTypes.js +61 -0
  543. package/lib/ExternalLink/ExternalLink.js +51 -82
  544. package/lib/ExternalLink/ExternalLink.module.css +3 -3
  545. package/lib/ExternalLink/__tests__/ExternalLink.spec.js +13 -31
  546. package/lib/ExternalLink/props/defaultProps.js +12 -0
  547. package/lib/ExternalLink/props/propTypes.js +20 -0
  548. package/lib/FlipCard/FlipCard.js +132 -178
  549. package/lib/FlipCard/FlipCard.module.css +15 -6
  550. package/lib/FlipCard/props/defaultProps.js +12 -0
  551. package/lib/FlipCard/props/propTypes.js +45 -0
  552. package/lib/FormAction/FormAction.js +71 -114
  553. package/lib/FormAction/FormAction.module.css +9 -4
  554. package/lib/FormAction/props/defaultProps.js +11 -0
  555. package/lib/FormAction/props/propTypes.js +15 -0
  556. package/lib/FreezeLayer/FreezeLayer.js +129 -137
  557. package/lib/FreezeLayer/FreezeLayer.module.css +7 -6
  558. package/lib/FreezeLayer/props/defaultProps.js +15 -0
  559. package/lib/FreezeLayer/props/propTypes.js +25 -0
  560. package/lib/IconButton/IconButton.js +153 -98
  561. package/lib/IconButton/IconButton.module.css +13 -28
  562. package/lib/IconButton/props/defaultProps.js +22 -0
  563. package/lib/IconButton/props/propTypes.js +37 -0
  564. package/lib/Image/Image.js +44 -63
  565. package/lib/Image/props/defaultProps.js +11 -0
  566. package/lib/Image/props/propTypes.js +21 -0
  567. package/lib/ImportantNotes/ImportantNotes.js +72 -0
  568. package/lib/ImportantNotes/ImportantNotes.module.css +20 -0
  569. package/lib/ImportantNotes/props/defaultProps.js +13 -0
  570. package/lib/ImportantNotes/props/propTypes.js +18 -0
  571. package/lib/Link/Link.js +70 -103
  572. package/lib/Link/LinkContext.js +7 -10
  573. package/lib/Link/props/defaultProps.js +12 -0
  574. package/lib/Link/props/propTypes.js +22 -0
  575. package/lib/Loader/Loader.js +52 -0
  576. package/lib/Loader/Loader.module.css +46 -0
  577. package/lib/Message/Message.js +130 -0
  578. package/lib/Message/Message.module.css +103 -0
  579. package/lib/Message/props/defaultProps.js +10 -0
  580. package/lib/Message/props/propTypes.js +20 -0
  581. package/lib/MessageBanner/MessageBanner.js +87 -0
  582. package/lib/MessageBanner/MessageBanner.module.css +46 -0
  583. package/lib/MessageBanner/props/defaultProps.js +13 -0
  584. package/lib/MessageBanner/props/propTypes.js +20 -0
  585. package/lib/NewStar/NewStar.js +95 -0
  586. package/lib/NewStar/NewStar.module.css +110 -0
  587. package/lib/NewStar/props/defaultProps.js +11 -0
  588. package/lib/NewStar/props/propTypes.js +14 -0
  589. package/lib/PlusIcon/PlusIcon.js +47 -87
  590. package/lib/PlusIcon/PlusIcon.module.css +11 -2
  591. package/lib/PlusIcon/props/defaultProps.js +15 -0
  592. package/lib/PlusIcon/props/propTypes.js +19 -0
  593. package/lib/Provider/Config.js +19 -0
  594. package/lib/ToastMessage/ToastMessage.js +206 -356
  595. package/lib/ToastMessage/ToastMessage.module.css +57 -62
  596. package/lib/ToastMessage/props/defaultProps.js +24 -0
  597. package/lib/ToastMessage/props/propTypes.js +46 -0
  598. package/lib/Upload/Upload.js +99 -0
  599. package/lib/Upload/Upload.module.css +125 -0
  600. package/lib/Upload/props/defaultProps.js +13 -0
  601. package/lib/Upload/props/propTypes.js +24 -0
  602. package/lib/actions/AutoClose.js +58 -0
  603. package/lib/actions/index.js +8 -3
  604. package/lib/actions/props/defaultProps.js +10 -0
  605. package/lib/actions/props/propTypes.js +15 -0
  606. package/lib/alert/AlertHeader/AlertHeader.js +77 -136
  607. package/lib/alert/AlertHeader/AlertHeader.module.css +14 -13
  608. package/lib/alert/AlertHeader/props/defaultProps.js +15 -0
  609. package/lib/alert/AlertHeader/props/propTypes.js +23 -0
  610. package/lib/alert/AlertLookup/AlertLookup.js +113 -213
  611. package/lib/alert/AlertLookup/AlertLookup.module.css +7 -3
  612. package/lib/alert/AlertLookup/props/defaultProps.js +21 -0
  613. package/lib/alert/AlertLookup/props/propTypes.js +44 -0
  614. package/lib/avatar/AvatarClose/AvatarClose.js +55 -76
  615. package/lib/avatar/AvatarClose/AvatarClose.module.css +4 -4
  616. package/lib/avatar/AvatarClose/props/defaultProps.js +12 -0
  617. package/lib/avatar/AvatarClose/props/propTypes.js +21 -0
  618. package/lib/avatar/AvatarCollision/AvatarCollision.js +63 -97
  619. package/lib/avatar/AvatarCollision/AvatarCollision.module.css +9 -9
  620. package/lib/avatar/AvatarCollision/props/defaultProps.js +14 -0
  621. package/lib/avatar/AvatarCollision/props/propTypes.js +24 -0
  622. package/lib/avatar/AvatarIcon/AvatarIcon.js +64 -97
  623. package/lib/avatar/AvatarIcon/AvatarIcon.module.css +32 -10
  624. package/lib/avatar/AvatarIcon/props/defaultProps.js +20 -0
  625. package/lib/avatar/AvatarIcon/props/propTypes.js +27 -0
  626. package/lib/avatar/AvatarStatus/AvatarStatus.js +72 -80
  627. package/lib/avatar/AvatarStatus/AvatarStatus.module.css +87 -34
  628. package/lib/avatar/AvatarStatus/props/defaultProps.js +16 -0
  629. package/lib/avatar/AvatarStatus/props/propTypes.js +31 -0
  630. package/lib/avatar/AvatarThread/AvatarThread.js +83 -113
  631. package/lib/avatar/AvatarThread/AvatarThread.module.css +119 -17
  632. package/lib/avatar/AvatarThread/props/defaultProps.js +15 -0
  633. package/lib/avatar/AvatarThread/props/propTypes.js +37 -0
  634. package/lib/avatar/AvatarUser/AvatarUser.js +114 -131
  635. package/lib/avatar/AvatarUser/AvatarUser.module.css +95 -25
  636. package/lib/avatar/AvatarUser/props/defaultProps.js +14 -0
  637. package/lib/avatar/AvatarUser/props/propTypes.js +42 -0
  638. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +105 -87
  639. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +5 -5
  640. package/lib/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +42 -51
  641. package/lib/avatar/AvatarWithTeam/props/defaultProps.js +14 -0
  642. package/lib/avatar/AvatarWithTeam/props/propTypes.js +31 -0
  643. package/lib/common/dot_animation.module.css +27 -0
  644. package/lib/common/dot_common.module.css +4 -0
  645. package/lib/deprecated/SelectDropdown/SelectDropdown.js +173 -0
  646. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +56 -0
  647. package/lib/deprecated/utils/General.js +24 -0
  648. package/lib/deprecated/utils/KeyboardApi.js +255 -0
  649. package/lib/docs/formDocs.js +111 -0
  650. package/lib/docs/generalDocs.js +179 -631
  651. package/lib/docs/lookupDocs.js +50 -128
  652. package/lib/docs/setupDocs.js +35 -175
  653. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +778 -550
  654. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +40 -13
  655. package/lib/dropdown/ToggleDropDown/props/defaultProps.js +31 -0
  656. package/lib/dropdown/ToggleDropDown/props/propTypes.js +78 -0
  657. package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +75 -135
  658. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +66 -15
  659. package/lib/emptystate/CommonEmptyState/props/defaultProps.js +17 -0
  660. package/lib/emptystate/CommonEmptyState/props/propTypes.js +29 -0
  661. package/lib/emptystate/EditionPage/EditionPage.css +5 -5
  662. package/lib/emptystate/EditionPage/EditionPage.js +61 -100
  663. package/lib/emptystate/EditionPage/props/defaultProps.js +12 -0
  664. package/lib/emptystate/EditionPage/props/propTypes.js +15 -0
  665. package/lib/errorstate/EmptyStates.module.css +56 -13
  666. package/lib/errorstate/Inconvenience/Inconvenience.js +89 -98
  667. package/lib/errorstate/Inconvenience/Inconvenience.module.css +0 -2
  668. package/lib/errorstate/Inconvenience/props/defaultProps.js +11 -0
  669. package/lib/errorstate/Inconvenience/props/propTypes.js +19 -0
  670. package/lib/errorstate/LinkText/LinkText.js +38 -57
  671. package/lib/errorstate/LinkText/LinkText.module.css +2 -2
  672. package/lib/errorstate/LinkText/props/defaultProps.js +11 -0
  673. package/lib/errorstate/LinkText/props/propTypes.js +16 -0
  674. package/lib/errorstate/NoRequestFound/NoRequestFound.js +89 -98
  675. package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +0 -2
  676. package/lib/errorstate/NoRequestFound/props/defaultProps.js +11 -0
  677. package/lib/errorstate/NoRequestFound/props/propTypes.js +19 -0
  678. package/lib/errorstate/PermissionPlay/PermissionPlay.js +88 -106
  679. package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +10 -9
  680. package/lib/errorstate/PermissionPlay/props/defaultProps.js +11 -0
  681. package/lib/errorstate/PermissionPlay/props/propTypes.js +19 -0
  682. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +89 -98
  683. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +0 -2
  684. package/lib/errorstate/RequestUrlNotFound/props/defaultProps.js +11 -0
  685. package/lib/errorstate/RequestUrlNotFound/props/propTypes.js +19 -0
  686. package/lib/errorstate/UnableToProcess/UnableToProcess.js +89 -98
  687. package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +0 -15
  688. package/lib/errorstate/UnableToProcess/props/defaultProps.js +11 -0
  689. package/lib/errorstate/UnableToProcess/props/propTypes.js +19 -0
  690. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +89 -98
  691. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +0 -15
  692. package/lib/errorstate/UnauthorizedLogin/props/defaultProps.js +11 -0
  693. package/lib/errorstate/UnauthorizedLogin/props/propTypes.js +19 -0
  694. package/lib/errorstate/WillBack/WillBack.js +80 -87
  695. package/lib/errorstate/WillBack/WillBack.module.css +23 -10
  696. package/lib/errorstate/WillBack/props/defaultProps.js +11 -0
  697. package/lib/errorstate/WillBack/props/propTypes.js +13 -0
  698. package/lib/form/fields/CheckBoxField/CheckBoxField.js +162 -0
  699. package/lib/form/fields/CheckBoxField/props/defaultProps.js +20 -0
  700. package/lib/form/fields/CheckBoxField/props/propTypes.js +37 -0
  701. package/lib/form/fields/CurrencyField/CurrencyField.js +199 -0
  702. package/lib/form/fields/CurrencyField/props/defaultProps.js +25 -0
  703. package/lib/form/fields/CurrencyField/props/propTypes.js +46 -0
  704. package/lib/form/fields/DateField/DateField.js +211 -0
  705. package/lib/form/fields/DateField/props/defaultProps.js +27 -0
  706. package/lib/form/fields/DateField/props/propTypes.js +49 -0
  707. package/lib/form/fields/FieldContainer/FieldContainer.js +89 -0
  708. package/lib/form/fields/FieldContainer/props/defaultProps.js +15 -0
  709. package/lib/form/fields/FieldContainer/props/propTypes.js +22 -0
  710. package/lib/form/fields/Fields.module.css +183 -0
  711. package/lib/form/fields/MultiSelectField/MultiSelectField.js +237 -0
  712. package/lib/form/fields/MultiSelectField/props/defaultProps.js +25 -0
  713. package/lib/form/fields/MultiSelectField/props/propTypes.js +60 -0
  714. package/lib/form/fields/PhoneField/PhoneField.js +201 -0
  715. package/lib/form/fields/PhoneField/props/defaultProps.js +22 -0
  716. package/lib/form/fields/PhoneField/props/propTypes.js +48 -0
  717. package/lib/form/fields/RadioField/RadioField.js +137 -0
  718. package/lib/form/fields/RadioField/props/defaultProps.js +18 -0
  719. package/lib/form/fields/RadioField/props/propTypes.js +38 -0
  720. package/lib/form/fields/SelectField/SelectField.js +205 -0
  721. package/lib/form/fields/SelectField/props/defaultProps.js +26 -0
  722. package/lib/form/fields/SelectField/props/propTypes.js +60 -0
  723. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +303 -0
  724. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -0
  725. package/lib/form/fields/TagsMultiSelect/props/defaultProps.js +17 -0
  726. package/lib/form/fields/TagsMultiSelect/props/propTypes.js +51 -0
  727. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +253 -0
  728. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -0
  729. package/lib/form/fields/TagsMultiSelectField/props/defaultProps.js +27 -0
  730. package/lib/form/fields/TagsMultiSelectField/props/propTypes.js +62 -0
  731. package/lib/form/fields/TextBoxField/TextBoxField.js +187 -0
  732. package/lib/form/fields/TextBoxField/props/defaultProps.js +25 -0
  733. package/lib/form/fields/TextBoxField/props/propTypes.js +47 -0
  734. package/lib/form/fields/TextEditor/TextEditor.js +395 -0
  735. package/lib/form/fields/TextEditor/TextEditor.module.css +666 -0
  736. package/lib/form/fields/TextEditor/props/defaultProps.js +19 -0
  737. package/lib/form/fields/TextEditor/props/propTypes.js +48 -0
  738. package/lib/form/fields/TextEditorField/TextEditorField.js +197 -0
  739. package/lib/form/fields/TextEditorField/props/defaultProps.js +23 -0
  740. package/lib/form/fields/TextEditorField/props/propTypes.js +57 -0
  741. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +219 -0
  742. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +37 -0
  743. package/lib/form/fields/TextEditorWrapper/props/defaultProps.js +15 -0
  744. package/lib/form/fields/TextEditorWrapper/props/propTypes.js +47 -0
  745. package/lib/form/fields/TextareaField/TextareaField.js +184 -0
  746. package/lib/form/fields/TextareaField/props/defaultProps.js +23 -0
  747. package/lib/form/fields/TextareaField/props/propTypes.js +44 -0
  748. package/lib/form/fields/ValidationMessage/ValidationMessage.js +82 -0
  749. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -0
  750. package/lib/form/fields/ValidationMessage/props/defaultProps.js +13 -0
  751. package/lib/form/fields/ValidationMessage/props/propTypes.js +22 -0
  752. package/lib/form/fields/props/FieldCommonDefaultProps.js +17 -0
  753. package/lib/form/fields/props/FieldCommonPropTypes.js +30 -0
  754. package/lib/form/layout/Field/Field.js +62 -0
  755. package/lib/form/layout/Field/Field.module.css +22 -0
  756. package/lib/form/layout/Field/props/defaultProps.js +11 -0
  757. package/lib/form/layout/Field/props/propTypes.js +18 -0
  758. package/lib/form/layout/Section/ModuleFormSection.module.css +3 -0
  759. package/lib/form/layout/Section/Section.js +61 -0
  760. package/lib/form/layout/Section/props/propTypes.js +17 -0
  761. package/lib/index.js +18 -56
  762. package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +184 -300
  763. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +20 -20
  764. package/lib/layout/SetupDetailLayout/index.js +12 -13
  765. package/lib/layout/SetupDetailLayout/props/defaultProps.js +28 -0
  766. package/lib/layout/SetupDetailLayout/props/propTypes.js +44 -0
  767. package/lib/layout/SubtabLayout/SubtabLayout.js +165 -222
  768. package/lib/layout/SubtabLayout/SubtabLayout.module.css +72 -16
  769. package/lib/layout/SubtabLayout/index.js +16 -11
  770. package/lib/layout/SubtabLayout/props/defaultProps.js +35 -0
  771. package/lib/layout/SubtabLayout/props/propTypes.js +51 -0
  772. package/lib/list/AvatarFlip/AvatarFlip.js +63 -90
  773. package/lib/list/AvatarFlip/AvatarFlip.module.css +1 -13
  774. package/lib/list/AvatarFlip/props/defaultProps.js +12 -0
  775. package/lib/list/AvatarFlip/props/propTypes.js +36 -0
  776. package/lib/list/BluePrintStatus/BluePrintStatus.js +33 -54
  777. package/lib/list/BluePrintStatus/BluePrintStatus.module.css +8 -6
  778. package/lib/list/BluePrintStatus/props/propTypes.js +12 -0
  779. package/lib/list/Comment/Comment.js +48 -80
  780. package/lib/list/Comment/Comment.module.css +12 -5
  781. package/lib/list/Comment/props/defaultProps.js +10 -0
  782. package/lib/list/Comment/props/propTypes.js +17 -0
  783. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +87 -84
  784. package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +6 -80
  785. package/lib/list/DepartmentDropDown/props/defaultProps.js +14 -0
  786. package/lib/list/DepartmentDropDown/props/propTypes.js +30 -0
  787. package/lib/list/Dot/Dot.js +32 -51
  788. package/lib/list/Dot/Dot.module.css +7 -5
  789. package/lib/list/Dot/props/defaultProps.js +11 -0
  790. package/lib/list/Dot/props/propTypes.js +13 -0
  791. package/lib/list/DotNew/DotNew.js +34 -39
  792. package/lib/list/DotNew/DotNew.module.css +14 -11
  793. package/lib/list/DotNew/props/defaultProps.js +10 -0
  794. package/lib/list/DotNew/props/propTypes.js +14 -0
  795. package/lib/list/GridStencils/GridStencils.js +42 -64
  796. package/lib/list/GridStencils/GridStencils.module.css +23 -68
  797. package/lib/list/GridStencils/props/propTypes.js +15 -0
  798. package/lib/list/Icons/AddNewIcon.js +44 -83
  799. package/lib/list/Icons/CompleteIcon.js +50 -75
  800. package/lib/list/Icons/DeleteIcon.js +42 -89
  801. package/lib/list/Icons/EditIcon.js +46 -93
  802. package/lib/list/Icons/FloatingIcons.js +38 -54
  803. package/lib/list/Icons/Icons.module.css +5 -4
  804. package/lib/list/Icons/ReadUnreadIcon.js +59 -0
  805. package/lib/list/Icons/SmartIcon.js +51 -63
  806. package/lib/list/Icons/props/defaultProps.js +14 -0
  807. package/lib/list/Icons/props/propTypes.js +69 -0
  808. package/lib/list/ListLayout/ListLayout.js +79 -132
  809. package/lib/list/ListLayout/ListLayout.module.css +38 -7
  810. package/lib/list/ListLayout/props/defaultProps.js +18 -0
  811. package/lib/list/ListLayout/props/propTypes.js +36 -0
  812. package/lib/list/ListStencils/ListStencils.js +50 -63
  813. package/lib/list/ListStencils/ListStencils.module.css +48 -8
  814. package/lib/list/ListStencils/props/defaultProps.js +10 -0
  815. package/lib/list/ListStencils/props/propTypes.js +12 -0
  816. package/lib/list/SecondaryText/AccountName.js +88 -106
  817. package/lib/list/SecondaryText/ContactName.js +94 -136
  818. package/lib/list/SecondaryText/DepartmentText.js +34 -52
  819. package/lib/list/SecondaryText/Email.js +56 -93
  820. package/lib/list/SecondaryText/HappinessRating.js +37 -63
  821. package/lib/list/SecondaryText/PhoneNumber.js +60 -96
  822. package/lib/list/SecondaryText/PriorityText.js +37 -60
  823. package/lib/list/SecondaryText/SecondaryText.js +41 -58
  824. package/lib/list/SecondaryText/SecondaryText.module.css +53 -21
  825. package/lib/list/SecondaryText/StatusText.js +38 -63
  826. package/lib/list/SecondaryText/TicketId.js +56 -77
  827. package/lib/list/SecondaryText/Website.js +45 -90
  828. package/lib/list/SecondaryText/index.js +35 -58
  829. package/lib/list/SecondaryText/props/defaultProps.js +59 -0
  830. package/lib/list/SecondaryText/props/propTypes.js +161 -0
  831. package/lib/list/SecondryPanel/SecondryPanel.js +108 -176
  832. package/lib/list/SecondryPanel/SecondryPanel.module.css +1 -22
  833. package/lib/list/SecondryPanel/props/defaultProps.js +28 -0
  834. package/lib/list/SecondryPanel/props/propTypes.js +38 -0
  835. package/lib/list/SentimentStatus/SentimentStatus.js +34 -51
  836. package/lib/list/SentimentStatus/SentimentStatus.module.css +1 -1
  837. package/lib/list/SentimentStatus/props/propTypes.js +13 -0
  838. package/lib/list/Subject/Subject.js +60 -89
  839. package/lib/list/Subject/Subject.module.css +21 -3
  840. package/lib/list/Subject/props/defaultProps.js +14 -0
  841. package/lib/list/Subject/props/propTypes.js +27 -0
  842. package/lib/list/TagNew/TagNew.js +37 -56
  843. package/lib/list/TagNew/TagNew.module.css +5 -5
  844. package/lib/list/TagNew/props/defaultProps.js +11 -0
  845. package/lib/list/TagNew/props/propTypes.js +16 -0
  846. package/lib/list/Thread/Thread.js +47 -63
  847. package/lib/list/Thread/Thread.module.css +30 -7
  848. package/lib/list/Thread/props/defaultProps.js +11 -0
  849. package/lib/list/Thread/props/propTypes.js +16 -0
  850. package/lib/list/UserTime/UserTime.js +87 -114
  851. package/lib/list/UserTime/UserTime.module.css +23 -14
  852. package/lib/list/UserTime/props/defaultProps.js +10 -0
  853. package/lib/list/UserTime/props/propTypes.js +22 -0
  854. package/lib/list/listCommon.module.css +19 -51
  855. package/lib/list/status/StatusDropdown/StatusDropdown.js +472 -0
  856. package/lib/list/status/StatusDropdown/StatusDropdown.module.css +92 -0
  857. package/lib/list/status/StatusDropdown/props/defaultProps.js +25 -0
  858. package/lib/list/status/StatusDropdown/props/propTypes.js +29 -0
  859. package/lib/list/status/StatusListItem/StatusListItem.js +138 -0
  860. package/lib/list/status/StatusListItem/StatusListItem.module.css +104 -0
  861. package/lib/list/status/StatusListItem/props/defaultProps.js +21 -0
  862. package/lib/list/status/StatusListItem/props/propTypes.js +36 -0
  863. package/lib/lookup/EmptyPage/EmptyPage.js +53 -87
  864. package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +1 -1
  865. package/lib/lookup/EmptyPage/props/defaultProps.js +11 -0
  866. package/lib/lookup/EmptyPage/props/propTypes.js +13 -0
  867. package/lib/lookup/Lookup/Lookup.js +104 -107
  868. package/lib/lookup/Lookup/Lookup.module.css +12 -8
  869. package/lib/lookup/Lookup/props/defaultProps.js +14 -0
  870. package/lib/lookup/Lookup/props/propTypes.js +26 -0
  871. package/lib/lookup/Section/LookupSection.module.css +3 -2
  872. package/lib/lookup/Section/Section.js +34 -57
  873. package/lib/lookup/Section/props/propTypes.js +14 -0
  874. package/lib/lookup/header/Close/Close.js +34 -56
  875. package/lib/lookup/header/Close/LookupClose.module.css +5 -5
  876. package/lib/lookup/header/Close/props/defaultProps.js +10 -0
  877. package/lib/lookup/header/Close/props/propTypes.js +14 -0
  878. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +84 -122
  879. package/lib/lookup/header/ModuleHeader/props/defaultProps.js +10 -0
  880. package/lib/lookup/header/ModuleHeader/props/propTypes.js +25 -0
  881. package/lib/lookup/header/Search/LookupSearch.module.css +52 -9
  882. package/lib/lookup/header/Search/Search.js +205 -115
  883. package/lib/lookup/header/Search/props/defaultProps.js +12 -0
  884. package/lib/lookup/header/Search/props/propTypes.js +37 -0
  885. package/lib/lookup/header/TicketHeader/TicketHeader.js +99 -155
  886. package/lib/lookup/header/TicketHeader/TicketHeader.module.css +3 -2
  887. package/lib/lookup/header/TicketHeader/props/defaultProps.js +11 -0
  888. package/lib/lookup/header/TicketHeader/props/propTypes.js +28 -0
  889. package/lib/lookup/header/Title/LookupTitle.module.css +4 -4
  890. package/lib/lookup/header/Title/Title.js +34 -60
  891. package/lib/lookup/header/Title/props/defaultProps.js +10 -0
  892. package/lib/lookup/header/Title/props/propTypes.js +14 -0
  893. package/lib/lookup/header/ViewDropDown/ViewDropDown.js +161 -235
  894. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +9 -11
  895. package/lib/lookup/header/ViewDropDown/props/defaultProps.js +14 -0
  896. package/lib/lookup/header/ViewDropDown/props/propTypes.js +34 -0
  897. package/lib/lookup/header/lookupHeaderCommon.module.css +13 -5
  898. package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +1 -1
  899. package/lib/setup/header/Button/Button.js +40 -65
  900. package/lib/setup/header/Button/props/defaultProps.js +11 -0
  901. package/lib/setup/header/Button/props/propTypes.js +15 -0
  902. package/lib/setup/header/Link/HeaderLink.module.css +4 -5
  903. package/lib/setup/header/Link/Link.js +48 -81
  904. package/lib/setup/header/Link/props/defaultProps.js +11 -0
  905. package/lib/setup/header/Link/props/propTypes.js +16 -0
  906. package/lib/setup/header/Search/Search.js +64 -92
  907. package/lib/setup/header/Search/Search.module.css +13 -12
  908. package/lib/setup/header/Search/props/defaultProps.js +12 -0
  909. package/lib/setup/header/Search/props/propTypes.js +19 -0
  910. package/lib/setup/header/Views/Views.js +50 -82
  911. package/lib/setup/header/Views/Views.module.css +4 -4
  912. package/lib/setup/header/Views/props/defaultProps.js +13 -0
  913. package/lib/setup/header/Views/props/propTypes.js +17 -0
  914. package/lib/setup/helptips/Description/Description.js +26 -43
  915. package/lib/setup/helptips/Description/HelpTipsDescription.module.css +2 -2
  916. package/lib/setup/helptips/Description/props/propTypes.js +12 -0
  917. package/lib/setup/helptips/Link/HelpTipsLink.module.css +2 -2
  918. package/lib/setup/helptips/Link/Link.js +40 -61
  919. package/lib/setup/helptips/Link/props/propTypes.js +15 -0
  920. package/lib/setup/helptips/ListGroup/ListGroup.js +43 -64
  921. package/lib/setup/helptips/ListGroup/ListGroup.module.css +2 -2
  922. package/lib/setup/helptips/ListGroup/props/propTypes.js +13 -0
  923. package/lib/setup/helptips/Title/HelpTipsTitle.module.css +2 -2
  924. package/lib/setup/helptips/Title/Title.js +26 -43
  925. package/lib/setup/helptips/Title/props/propTypes.js +12 -0
  926. package/lib/setup/table/Table/Table.js +33 -50
  927. package/lib/setup/table/Table/props/defaultProps.js +11 -0
  928. package/lib/setup/table/Table/props/propTypes.js +14 -0
  929. package/lib/setup/table/TableBody/TableBody.js +38 -50
  930. package/lib/setup/table/TableBody/props/defaultProps.js +10 -0
  931. package/lib/setup/table/TableBody/props/propTypes.js +15 -0
  932. package/lib/setup/table/TableData/{TableData.css → SetupTableData.module.css} +0 -0
  933. package/lib/setup/table/TableData/TableData.js +40 -68
  934. package/lib/setup/table/TableData/{hover.css → Tablehover.module.css} +0 -0
  935. package/lib/setup/table/TableData/props/defaultProps.js +12 -0
  936. package/lib/setup/table/TableData/props/propTypes.js +18 -0
  937. package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -0
  938. package/lib/setup/table/TableHead/TableHead.js +42 -72
  939. package/lib/setup/table/TableHead/props/defaultProps.js +11 -0
  940. package/lib/setup/table/TableHead/props/propTypes.js +15 -0
  941. package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -0
  942. package/lib/setup/table/TableRow/TableRow.js +47 -78
  943. package/lib/setup/table/TableRow/props/defaultProps.js +11 -0
  944. package/lib/setup/table/TableRow/props/propTypes.js +19 -0
  945. package/lib/setup/table/Text/TableText.module.css +37 -0
  946. package/lib/setup/table/Text/Text.js +53 -99
  947. package/lib/setup/table/Text/props/defaultProps.js +14 -0
  948. package/lib/setup/table/Text/props/propTypes.js +21 -0
  949. package/lib/svg/PlusIcon.js +40 -67
  950. package/lib/svg/SnippetIcon.js +42 -70
  951. package/lib/svg/TemplateIcon.js +44 -66
  952. package/lib/svg/props/defaultProps.js +24 -0
  953. package/lib/svg/props/propTypes.js +26 -0
  954. package/lib/utils/ChannelIconMapping.js +103 -85
  955. package/lib/utils/General.js +26 -5
  956. package/lib/utils/editorUtils.js +188 -0
  957. package/lib/version2/AlertClose/AlertClose.js +68 -0
  958. package/lib/version2/AlertClose/AlertClose.module.css +43 -0
  959. package/lib/version2/AlertClose/props/propTypes.js +16 -0
  960. package/lib/version2/GlobalNotification/GlobalNotification.js +157 -0
  961. package/lib/version2/GlobalNotification/GlobalNotification.module.css +125 -0
  962. package/lib/version2/GlobalNotification/props/defaultProps.js +10 -0
  963. package/lib/version2/GlobalNotification/props/propTypes.js +21 -0
  964. package/lib/version2/alertIcons/AlarmAlertIcon.js +97 -0
  965. package/lib/version2/alertIcons/AlertIcons.js +88 -0
  966. package/lib/version2/alertIcons/AlertIcons.module.css +67 -0
  967. package/lib/version2/alertIcons/DangerAlertIcon.js +97 -0
  968. package/lib/version2/alertIcons/ErrorAlertIcon.js +102 -0
  969. package/lib/version2/alertIcons/InfoAlertIcon.js +106 -0
  970. package/lib/version2/alertIcons/NotificationAlertIcon.js +102 -0
  971. package/lib/version2/alertIcons/SuccessAlertIcon.js +97 -0
  972. package/lib/version2/alertIcons/WarningAlertIcon.js +97 -0
  973. package/lib/version2/alertIcons/props/defaultProps.js +40 -0
  974. package/lib/version2/alertIcons/props/propTypes.js +48 -0
  975. package/lib/version2/errorstate/Inconvenience/Inconvenience.js +98 -0
  976. package/lib/version2/errorstate/Inconvenience/props/defaultProps.js +15 -0
  977. package/lib/version2/errorstate/Inconvenience/props/propTypes.js +24 -0
  978. package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +99 -0
  979. package/lib/version2/errorstate/OopsSomethingMiss/props/defaultProps.js +15 -0
  980. package/lib/version2/errorstate/OopsSomethingMiss/props/propTypes.js +24 -0
  981. package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +98 -0
  982. package/lib/version2/errorstate/UnableToProcessRequest/props/defaultProps.js +15 -0
  983. package/lib/version2/errorstate/UnableToProcessRequest/props/propTypes.js +24 -0
  984. package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +100 -0
  985. package/lib/version2/errorstate/UnauthorizedLogin/props/defaultProps.js +16 -0
  986. package/lib/version2/errorstate/UnauthorizedLogin/props/propTypes.js +25 -0
  987. package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +98 -0
  988. package/lib/version2/errorstate/UrlNotFound/props/defaultProps.js +15 -0
  989. package/lib/version2/errorstate/UrlNotFound/props/propTypes.js +24 -0
  990. package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -0
  991. package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +98 -0
  992. package/lib/version2/errorstate/WillBeRightBack/props/defaultProps.js +15 -0
  993. package/lib/version2/errorstate/WillBeRightBack/props/propTypes.js +24 -0
  994. package/lib/version2/lookup/AlertHeader/AlertHeader.js +92 -0
  995. package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +87 -0
  996. package/lib/version2/lookup/AlertHeader/props/defaultProps.js +13 -0
  997. package/lib/version2/lookup/AlertHeader/props/propTypes.js +20 -0
  998. package/lib/version2/lookup/AlertLookup/AlertLookup.js +223 -0
  999. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +44 -0
  1000. package/lib/version2/lookup/AlertLookup/props/defaultProps.js +20 -0
  1001. package/lib/version2/lookup/AlertLookup/props/propTypes.js +44 -0
  1002. package/lib/version2/lookup/alertLookupCommonNew.module.css +33 -0
  1003. package/lib/version2/notification/DesktopNotification/DesktopNotification.js +166 -0
  1004. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -0
  1005. package/lib/version2/notification/DesktopNotification/props/defaultProps.js +21 -0
  1006. package/lib/version2/notification/DesktopNotification/props/propTypes.js +44 -0
  1007. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +88 -0
  1008. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +137 -0
  1009. package/lib/version2/notification/DesktopNotificationHeader/props/defaultProps.js +12 -0
  1010. package/lib/version2/notification/DesktopNotificationHeader/props/propTypes.js +19 -0
  1011. package/package.json +61 -17
  1012. package/.DS_Store +0 -0
  1013. package/es/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -97
  1014. package/es/Drawer/docs/Drawer__default.docs.js +0 -73
  1015. package/es/Drawer/docs/Drawer__noFreeze.docs.js +0 -43
  1016. package/es/ExternalLink/docs/ExternalLink__default.docs.js +0 -40
  1017. package/es/FlipCard/docs/FlipCard__default.docs.js +0 -105
  1018. package/es/FormAction/docs/FormAction__default.docs.js +0 -199
  1019. package/es/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -77
  1020. package/es/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -76
  1021. package/es/IconButton/docs/IconButton__default.docs.js +0 -81
  1022. package/es/Image/docs/Image__default.docs.js +0 -40
  1023. package/es/Link/docs/Link__default.docs.js +0 -64
  1024. package/es/PlusIcon/docs/PlusIcon__default.docs.js +0 -40
  1025. package/es/ToastMessage/docs/ToastMessage__custom.docs.js +0 -132
  1026. package/es/ToastMessage/docs/ToastMessage__information.docs.js +0 -80
  1027. package/es/ToastMessage/docs/ToastMessage__primary.docs.js +0 -172
  1028. package/es/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -64
  1029. package/es/ToastMessage/docs/ToastMessage__success.docs.js +0 -94
  1030. package/es/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -91
  1031. package/es/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -170
  1032. package/es/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -44
  1033. package/es/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -58
  1034. package/es/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -54
  1035. package/es/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -49
  1036. package/es/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -52
  1037. package/es/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -75
  1038. package/es/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -69
  1039. package/es/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -146
  1040. package/es/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -45
  1041. package/es/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -78
  1042. package/es/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -85
  1043. package/es/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -42
  1044. package/es/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -39
  1045. package/es/errorstate/LinkText/docs/LinkText__default.docs.js +0 -35
  1046. package/es/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -39
  1047. package/es/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -40
  1048. package/es/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -39
  1049. package/es/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -39
  1050. package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -40
  1051. package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -39
  1052. package/es/errorstate/WillBack/docs/WillBack__default.docs.js +0 -41
  1053. package/es/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -79
  1054. package/es/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -191
  1055. package/es/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -308
  1056. package/es/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -36
  1057. package/es/list/Comment/docs/Comment__default.docs.js +0 -40
  1058. package/es/list/DotNew/docs/DotNew__default.docs.js +0 -36
  1059. package/es/list/GridStencils/docs/GridStencils__default.docs.js +0 -50
  1060. package/es/list/Icons/docs/FloatingIcons__default.docs.js +0 -56
  1061. package/es/list/ListLayout/docs/ListLayout__default.docs.js +0 -131
  1062. package/es/list/ListStencils/docs/ListStencils__default.docs.js +0 -36
  1063. package/es/list/SecondaryText/docs/ContactName__default.docs.js +0 -36
  1064. package/es/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -41
  1065. package/es/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -131
  1066. package/es/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -36
  1067. package/es/list/StatusDropdown/StatusDropdown.js +0 -205
  1068. package/es/list/StatusDropdown/StatusDropdown.module.css +0 -65
  1069. package/es/list/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -76
  1070. package/es/list/Subject/docs/Subject__default.docs.js +0 -49
  1071. package/es/list/TagNew/docs/TagNew__default.docs.js +0 -36
  1072. package/es/list/Thread/docs/Thread__default.docs.js +0 -36
  1073. package/es/list/TimeInfo/TimeInfo.js +0 -171
  1074. package/es/list/TimeInfo/docs/TimeInfo__default.docs.js +0 -49
  1075. package/es/list/UserTime/docs/UserTime__default.docs.js +0 -172
  1076. package/es/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -38
  1077. package/es/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -38
  1078. package/es/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -37
  1079. package/es/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -38
  1080. package/es/lookup/Lookup/docs/Lookup__contact.docs.js +0 -212
  1081. package/es/lookup/Lookup/docs/Lookup__default.docs.js +0 -90
  1082. package/es/lookup/header/Close/docs/Close__default.docs.js +0 -35
  1083. package/es/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -58
  1084. package/es/lookup/header/Search/docs/Search__default.docs.js +0 -62
  1085. package/es/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -74
  1086. package/es/lookup/header/Title/docs/Title__default.docs.js +0 -35
  1087. package/es/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -64
  1088. package/es/setup/header/Button/docs/Button__default.docs.js +0 -37
  1089. package/es/setup/header/Link/docs/Link__default.docs.js +0 -36
  1090. package/es/setup/header/Search/docs/Search__default.docs.js +0 -54
  1091. package/es/setup/header/SelectDropdown/SelectDropdown.js +0 -162
  1092. package/es/setup/header/SelectDropdown/SelectDropdown.module.css +0 -43
  1093. package/es/setup/header/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -44
  1094. package/es/setup/header/Views/docs/Views__default.docs.js +0 -40
  1095. package/es/setup/helptips/Description/docs/Description__default.docs.js +0 -42
  1096. package/es/setup/helptips/Link/docs/Link__default.docs.js +0 -43
  1097. package/es/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -46
  1098. package/es/setup/helptips/Title/docs/Title__default.docs.js +0 -40
  1099. package/es/setup/table/Table/docs/Table__default.docs.js +0 -193
  1100. package/es/setup/table/TableHead/TableHead.css +0 -12
  1101. package/es/setup/table/TableRow/TableRow.css +0 -14
  1102. package/es/setup/table/Text/Text.css +0 -37
  1103. package/es/setup/table/Text/docs/Text__default.docs.js +0 -69
  1104. package/es/svg/docs/SVG__default.docs.js +0 -87
  1105. package/es/utils/KeyboardApi.js +0 -254
  1106. package/es/utils/Ticket.js +0 -3
  1107. package/lib/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -114
  1108. package/lib/Drawer/docs/Drawer__default.docs.js +0 -95
  1109. package/lib/Drawer/docs/Drawer__noFreeze.docs.js +0 -59
  1110. package/lib/ExternalLink/docs/ExternalLink__default.docs.js +0 -56
  1111. package/lib/FlipCard/docs/FlipCard__default.docs.js +0 -124
  1112. package/lib/FormAction/docs/FormAction__default.docs.js +0 -221
  1113. package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -96
  1114. package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -95
  1115. package/lib/IconButton/docs/IconButton__default.docs.js +0 -97
  1116. package/lib/Image/docs/Image__default.docs.js +0 -59
  1117. package/lib/Link/docs/Link__default.docs.js +0 -80
  1118. package/lib/PlusIcon/docs/PlusIcon__default.docs.js +0 -59
  1119. package/lib/ToastMessage/docs/ToastMessage__custom.docs.js +0 -157
  1120. package/lib/ToastMessage/docs/ToastMessage__information.docs.js +0 -99
  1121. package/lib/ToastMessage/docs/ToastMessage__primary.docs.js +0 -191
  1122. package/lib/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -83
  1123. package/lib/ToastMessage/docs/ToastMessage__success.docs.js +0 -113
  1124. package/lib/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -107
  1125. package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -189
  1126. package/lib/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -63
  1127. package/lib/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -77
  1128. package/lib/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -76
  1129. package/lib/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -71
  1130. package/lib/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -74
  1131. package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -97
  1132. package/lib/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -91
  1133. package/lib/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -168
  1134. package/lib/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -64
  1135. package/lib/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -94
  1136. package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -110
  1137. package/lib/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -58
  1138. package/lib/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -58
  1139. package/lib/errorstate/LinkText/docs/LinkText__default.docs.js +0 -54
  1140. package/lib/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -55
  1141. package/lib/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -59
  1142. package/lib/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -58
  1143. package/lib/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -58
  1144. package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -59
  1145. package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -58
  1146. package/lib/errorstate/WillBack/docs/WillBack__default.docs.js +0 -60
  1147. package/lib/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -99
  1148. package/lib/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -205
  1149. package/lib/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -327
  1150. package/lib/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -54
  1151. package/lib/list/Comment/docs/Comment__default.docs.js +0 -59
  1152. package/lib/list/DotNew/docs/DotNew__default.docs.js +0 -55
  1153. package/lib/list/GridStencils/docs/GridStencils__default.docs.js +0 -72
  1154. package/lib/list/Icons/docs/FloatingIcons__default.docs.js +0 -81
  1155. package/lib/list/ListLayout/docs/ListLayout__default.docs.js +0 -150
  1156. package/lib/list/ListStencils/docs/ListStencils__default.docs.js +0 -55
  1157. package/lib/list/SecondaryText/docs/ContactName__default.docs.js +0 -55
  1158. package/lib/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -41
  1159. package/lib/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -152
  1160. package/lib/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -54
  1161. package/lib/list/StatusDropdown/StatusDropdown.js +0 -243
  1162. package/lib/list/StatusDropdown/StatusDropdown.module.css +0 -65
  1163. package/lib/list/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -96
  1164. package/lib/list/Subject/docs/Subject__default.docs.js +0 -68
  1165. package/lib/list/TagNew/docs/TagNew__default.docs.js +0 -55
  1166. package/lib/list/Thread/docs/Thread__default.docs.js +0 -55
  1167. package/lib/list/TimeInfo/TimeInfo.js +0 -191
  1168. package/lib/list/TimeInfo/docs/TimeInfo__default.docs.js +0 -69
  1169. package/lib/list/UserTime/docs/UserTime__default.docs.js +0 -192
  1170. package/lib/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -55
  1171. package/lib/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -55
  1172. package/lib/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -54
  1173. package/lib/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -55
  1174. package/lib/lookup/Lookup/docs/Lookup__contact.docs.js +0 -234
  1175. package/lib/lookup/Lookup/docs/Lookup__default.docs.js +0 -113
  1176. package/lib/lookup/header/Close/docs/Close__default.docs.js +0 -54
  1177. package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -75
  1178. package/lib/lookup/header/Search/docs/Search__default.docs.js +0 -79
  1179. package/lib/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -91
  1180. package/lib/lookup/header/Title/docs/Title__default.docs.js +0 -54
  1181. package/lib/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -81
  1182. package/lib/setup/header/Button/docs/Button__default.docs.js +0 -55
  1183. package/lib/setup/header/Link/docs/Link__default.docs.js +0 -55
  1184. package/lib/setup/header/Search/docs/Search__default.docs.js +0 -73
  1185. package/lib/setup/header/SelectDropdown/SelectDropdown.js +0 -200
  1186. package/lib/setup/header/SelectDropdown/SelectDropdown.module.css +0 -43
  1187. package/lib/setup/header/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -63
  1188. package/lib/setup/header/Views/docs/Views__default.docs.js +0 -59
  1189. package/lib/setup/helptips/Description/docs/Description__default.docs.js +0 -61
  1190. package/lib/setup/helptips/Link/docs/Link__default.docs.js +0 -62
  1191. package/lib/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -65
  1192. package/lib/setup/helptips/Title/docs/Title__default.docs.js +0 -59
  1193. package/lib/setup/table/Table/docs/Table__default.docs.js +0 -228
  1194. package/lib/setup/table/TableHead/TableHead.css +0 -12
  1195. package/lib/setup/table/TableRow/TableRow.css +0 -14
  1196. package/lib/setup/table/Text/Text.css +0 -37
  1197. package/lib/setup/table/Text/docs/Text__default.docs.js +0 -85
  1198. package/lib/svg/docs/SVG__default.docs.js +0 -110
  1199. package/lib/utils/KeyboardApi.js +0 -262
  1200. package/lib/utils/Ticket.js +0 -8
  1201. package/postpublish.js +0 -100
  1202. package/result.json +0 -1
  1203. package/src/.DS_Store +0 -0
  1204. package/src/ChannelIcon/ChannelIcon.js +0 -120
  1205. package/src/ChannelIcon/ChannelIcon.module.css +0 -187
  1206. package/src/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -63
  1207. package/src/Drawer/Drawer.js +0 -271
  1208. package/src/Drawer/Drawer.module.css +0 -140
  1209. package/src/Drawer/docs/Drawer__default.docs.js +0 -45
  1210. package/src/Drawer/docs/Drawer__noFreeze.docs.js +0 -21
  1211. package/src/ExternalLink/ExternalLink.js +0 -57
  1212. package/src/ExternalLink/ExternalLink.module.css +0 -4
  1213. package/src/ExternalLink/__tests__/ExternalLink.spec.js +0 -28
  1214. package/src/ExternalLink/docs/ExternalLink__default.docs.js +0 -24
  1215. package/src/FlipCard/FlipCard.js +0 -159
  1216. package/src/FlipCard/FlipCard.module.css +0 -35
  1217. package/src/FlipCard/docs/FlipCard__default.docs.js +0 -76
  1218. package/src/FormAction/FormAction.js +0 -120
  1219. package/src/FormAction/FormAction.module.css +0 -52
  1220. package/src/FormAction/docs/FormAction__default.docs.js +0 -94
  1221. package/src/FreezeLayer/FreezeLayer.js +0 -130
  1222. package/src/FreezeLayer/FreezeLayer.module.css +0 -37
  1223. package/src/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -53
  1224. package/src/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -51
  1225. package/src/IconButton/IconButton.js +0 -70
  1226. package/src/IconButton/IconButton.module.css +0 -38
  1227. package/src/IconButton/docs/IconButton__default.docs.js +0 -49
  1228. package/src/Image/Image.js +0 -41
  1229. package/src/Image/Image.module.css +0 -11
  1230. package/src/Image/docs/Image__default.docs.js +0 -18
  1231. package/src/Link/Link.js +0 -115
  1232. package/src/Link/Link.module.css +0 -4
  1233. package/src/Link/LinkContext.js +0 -9
  1234. package/src/Link/docs/Link__default.docs.js +0 -91
  1235. package/src/PlusIcon/PlusIcon.js +0 -68
  1236. package/src/PlusIcon/PlusIcon.module.css +0 -7
  1237. package/src/PlusIcon/docs/PlusIcon__default.docs.js +0 -18
  1238. package/src/ToastMessage/ToastMessage.js +0 -289
  1239. package/src/ToastMessage/ToastMessage.module.css +0 -260
  1240. package/src/ToastMessage/docs/ToastMessage__custom.docs.js +0 -97
  1241. package/src/ToastMessage/docs/ToastMessage__information.docs.js +0 -55
  1242. package/src/ToastMessage/docs/ToastMessage__primary.docs.js +0 -135
  1243. package/src/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -40
  1244. package/src/ToastMessage/docs/ToastMessage__success.docs.js +0 -68
  1245. package/src/actions/index.js +0 -22
  1246. package/src/alert/AlertHeader/AlertHeader.js +0 -115
  1247. package/src/alert/AlertHeader/AlertHeader.module.css +0 -62
  1248. package/src/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -72
  1249. package/src/alert/AlertLookup/AlertLookup.js +0 -174
  1250. package/src/alert/AlertLookup/AlertLookup.module.css +0 -20
  1251. package/src/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -123
  1252. package/src/avatar/AvatarClose/AvatarClose.js +0 -43
  1253. package/src/avatar/AvatarClose/AvatarClose.module.css +0 -31
  1254. package/src/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -26
  1255. package/src/avatar/AvatarCollision/AvatarCollision.js +0 -72
  1256. package/src/avatar/AvatarCollision/AvatarCollision.module.css +0 -55
  1257. package/src/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -40
  1258. package/src/avatar/AvatarIcon/AvatarIcon.js +0 -83
  1259. package/src/avatar/AvatarIcon/AvatarIcon.module.css +0 -36
  1260. package/src/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -35
  1261. package/src/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -36
  1262. package/src/avatar/AvatarStatus/AvatarStatus.js +0 -50
  1263. package/src/avatar/AvatarStatus/AvatarStatus.module.css +0 -64
  1264. package/src/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -34
  1265. package/src/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -63
  1266. package/src/avatar/AvatarThread/AvatarThread.js +0 -88
  1267. package/src/avatar/AvatarThread/AvatarThread.module.css +0 -58
  1268. package/src/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -45
  1269. package/src/avatar/AvatarUser/AvatarUser.js +0 -103
  1270. package/src/avatar/AvatarUser/AvatarUser.module.css +0 -61
  1271. package/src/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -111
  1272. package/src/avatar/AvatarWithTeam/AvatarWithTeam.js +0 -57
  1273. package/src/avatar/AvatarWithTeam/AvatarWithTeam.module.css +0 -16
  1274. package/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +0 -50
  1275. package/src/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -28
  1276. package/src/docs/generalDocs.js +0 -118
  1277. package/src/docs/lookupDocs.js +0 -33
  1278. package/src/docs/setupDocs.js +0 -27
  1279. package/src/dropdown/ToggleDropDown/ToggleDropDown.js +0 -598
  1280. package/src/dropdown/ToggleDropDown/ToggleDropDown.module.css +0 -65
  1281. package/src/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -75
  1282. package/src/emptystate/.DS_Store +0 -0
  1283. package/src/emptystate/CommonEmptyState/.DS_Store +0 -0
  1284. package/src/emptystate/CommonEmptyState/CommonEmptyState.js +0 -117
  1285. package/src/emptystate/CommonEmptyState/CommonEmptyState.module.css +0 -31
  1286. package/src/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -53
  1287. package/src/emptystate/EditionPage/EditionPage.css +0 -37
  1288. package/src/emptystate/EditionPage/EditionPage.js +0 -69
  1289. package/src/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -23
  1290. package/src/errorstate/EmptyStates.module.css +0 -40
  1291. package/src/errorstate/Inconvenience/Inconvenience.js +0 -42
  1292. package/src/errorstate/Inconvenience/Inconvenience.module.css +0 -6
  1293. package/src/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -19
  1294. package/src/errorstate/LinkText/LinkText.js +0 -28
  1295. package/src/errorstate/LinkText/LinkText.module.css +0 -6
  1296. package/src/errorstate/LinkText/docs/LinkText__default.docs.js +0 -13
  1297. package/src/errorstate/NoRequestFound/NoRequestFound.js +0 -42
  1298. package/src/errorstate/NoRequestFound/NoRequestFound.module.css +0 -5
  1299. package/src/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -19
  1300. package/src/errorstate/PermissionPlay/PermissionPlay.js +0 -46
  1301. package/src/errorstate/PermissionPlay/PermissionPlay.module.css +0 -33
  1302. package/src/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -20
  1303. package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -42
  1304. package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +0 -5
  1305. package/src/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -19
  1306. package/src/errorstate/UnableToProcess/UnableToProcess.js +0 -42
  1307. package/src/errorstate/UnableToProcess/UnableToProcess.module.css +0 -14
  1308. package/src/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -19
  1309. package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -42
  1310. package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +0 -14
  1311. package/src/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -20
  1312. package/src/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -19
  1313. package/src/errorstate/WillBack/WillBack.js +0 -40
  1314. package/src/errorstate/WillBack/WillBack.module.css +0 -21
  1315. package/src/errorstate/WillBack/docs/WillBack__default.docs.js +0 -21
  1316. package/src/index.js +0 -14
  1317. package/src/layout/SetupDetailLayout/SetupDetailLayout.js +0 -248
  1318. package/src/layout/SetupDetailLayout/SetupDetailLayout.module.css +0 -116
  1319. package/src/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -35
  1320. package/src/layout/SetupDetailLayout/index.js +0 -4
  1321. package/src/layout/SubtabLayout/SubtabLayout.js +0 -166
  1322. package/src/layout/SubtabLayout/SubtabLayout.module.css +0 -66
  1323. package/src/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -72
  1324. package/src/layout/SubtabLayout/index.js +0 -3
  1325. package/src/list/AvatarFlip/AvatarFlip.js +0 -89
  1326. package/src/list/AvatarFlip/AvatarFlip.module.css +0 -15
  1327. package/src/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -207
  1328. package/src/list/BluePrintStatus/BluePrintStatus.js +0 -31
  1329. package/src/list/BluePrintStatus/BluePrintStatus.module.css +0 -13
  1330. package/src/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -20
  1331. package/src/list/Comment/Comment.js +0 -54
  1332. package/src/list/Comment/Comment.module.css +0 -17
  1333. package/src/list/Comment/docs/Comment__default.docs.js +0 -22
  1334. package/src/list/DepartmentDropDown/DepartmentDropDown.js +0 -78
  1335. package/src/list/DepartmentDropDown/DepartmentDropDown.module.css +0 -62
  1336. package/src/list/Dot/Dot.js +0 -28
  1337. package/src/list/Dot/Dot.module.css +0 -13
  1338. package/src/list/DotNew/DotNew.js +0 -24
  1339. package/src/list/DotNew/DotNew.module.css +0 -16
  1340. package/src/list/DotNew/docs/DotNew__default.docs.js +0 -18
  1341. package/src/list/GridStencils/GridStencils.js +0 -46
  1342. package/src/list/GridStencils/GridStencils.module.css +0 -131
  1343. package/src/list/GridStencils/docs/GridStencils__default.docs.js +0 -30
  1344. package/src/list/Icons/AddNewIcon.js +0 -53
  1345. package/src/list/Icons/CompleteIcon.js +0 -54
  1346. package/src/list/Icons/DeleteIcon.js +0 -61
  1347. package/src/list/Icons/EditIcon.js +0 -61
  1348. package/src/list/Icons/FloatingIcons.js +0 -32
  1349. package/src/list/Icons/Icons.module.css +0 -15
  1350. package/src/list/Icons/SmartIcon.js +0 -40
  1351. package/src/list/Icons/docs/FloatingIcons__default.docs.js +0 -37
  1352. package/src/list/ListLayout/ListLayout.js +0 -105
  1353. package/src/list/ListLayout/ListLayout.module.css +0 -30
  1354. package/src/list/ListLayout/docs/ListLayout__default.docs.js +0 -54
  1355. package/src/list/ListStencils/ListStencils.js +0 -34
  1356. package/src/list/ListStencils/ListStencils.module.css +0 -24
  1357. package/src/list/ListStencils/docs/ListStencils__default.docs.js +0 -18
  1358. package/src/list/SecondaryText/AccountName.js +0 -80
  1359. package/src/list/SecondaryText/ContactName.js +0 -107
  1360. package/src/list/SecondaryText/DepartmentText.js +0 -32
  1361. package/src/list/SecondaryText/Email.js +0 -69
  1362. package/src/list/SecondaryText/HappinessRating.js +0 -37
  1363. package/src/list/SecondaryText/PhoneNumber.js +0 -72
  1364. package/src/list/SecondaryText/PriorityText.js +0 -40
  1365. package/src/list/SecondaryText/SecondaryText.js +0 -36
  1366. package/src/list/SecondaryText/SecondaryText.module.css +0 -94
  1367. package/src/list/SecondaryText/StatusText.js +0 -49
  1368. package/src/list/SecondaryText/TicketId.js +0 -53
  1369. package/src/list/SecondaryText/Website.js +0 -58
  1370. package/src/list/SecondaryText/docs/ContactName__default.docs.js +0 -18
  1371. package/src/list/SecondaryText/index.js +0 -11
  1372. package/src/list/SecondryPanel/SecondryPanel.js +0 -120
  1373. package/src/list/SecondryPanel/SecondryPanel.module.css +0 -27
  1374. package/src/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -41
  1375. package/src/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -66
  1376. package/src/list/SentimentStatus/SentimentStatus.js +0 -32
  1377. package/src/list/SentimentStatus/SentimentStatus.module.css +0 -9
  1378. package/src/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -20
  1379. package/src/list/StatusDropdown/StatusDropdown.js +0 -174
  1380. package/src/list/StatusDropdown/StatusDropdown.module.css +0 -51
  1381. package/src/list/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -72
  1382. package/src/list/Subject/Subject.js +0 -71
  1383. package/src/list/Subject/Subject.module.css +0 -9
  1384. package/src/list/Subject/docs/Subject__default.docs.js +0 -27
  1385. package/src/list/TagNew/TagNew.js +0 -37
  1386. package/src/list/TagNew/TagNew.module.css +0 -108
  1387. package/src/list/TagNew/docs/TagNew__default.docs.js +0 -18
  1388. package/src/list/Thread/Thread.js +0 -36
  1389. package/src/list/Thread/Thread.module.css +0 -15
  1390. package/src/list/Thread/docs/Thread__default.docs.js +0 -18
  1391. package/src/list/TimeInfo/TimeInfo.js +0 -156
  1392. package/src/list/TimeInfo/docs/TimeInfo__default.docs.js +0 -26
  1393. package/src/list/UserTime/UserTime.js +0 -130
  1394. package/src/list/UserTime/UserTime.module.css +0 -42
  1395. package/src/list/UserTime/docs/UserTime__default.docs.js +0 -122
  1396. package/src/list/listCommon.module.css +0 -84
  1397. package/src/lookup/.DS_Store +0 -0
  1398. package/src/lookup/EmptyPage/EmptyPage.js +0 -62
  1399. package/src/lookup/EmptyPage/LookupEmptyPage.module.css +0 -12
  1400. package/src/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -17
  1401. package/src/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -17
  1402. package/src/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -16
  1403. package/src/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -17
  1404. package/src/lookup/Lookup/Lookup.js +0 -80
  1405. package/src/lookup/Lookup/Lookup.module.css +0 -22
  1406. package/src/lookup/Lookup/docs/Lookup__contact.docs.js +0 -189
  1407. package/src/lookup/Lookup/docs/Lookup__default.docs.js +0 -59
  1408. package/src/lookup/Section/LookupSection.module.css +0 -7
  1409. package/src/lookup/Section/Section.js +0 -27
  1410. package/src/lookup/header/.DS_Store +0 -0
  1411. package/src/lookup/header/Close/Close.js +0 -36
  1412. package/src/lookup/header/Close/LookupClose.module.css +0 -15
  1413. package/src/lookup/header/Close/docs/Close__default.docs.js +0 -17
  1414. package/src/lookup/header/ModuleHeader/ModuleHeader.js +0 -76
  1415. package/src/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -39
  1416. package/src/lookup/header/Search/LookupSearch.module.css +0 -14
  1417. package/src/lookup/header/Search/Search.js +0 -104
  1418. package/src/lookup/header/Search/docs/Search__default.docs.js +0 -41
  1419. package/src/lookup/header/TicketHeader/TicketHeader.js +0 -105
  1420. package/src/lookup/header/TicketHeader/TicketHeader.module.css +0 -19
  1421. package/src/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -63
  1422. package/src/lookup/header/Title/LookupTitle.module.css +0 -20
  1423. package/src/lookup/header/Title/Title.js +0 -37
  1424. package/src/lookup/header/Title/docs/Title__default.docs.js +0 -17
  1425. package/src/lookup/header/ViewDropDown/ViewDropDown.js +0 -185
  1426. package/src/lookup/header/ViewDropDown/ViewDropDown.module.css +0 -50
  1427. package/src/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -54
  1428. package/src/lookup/header/lookupHeaderCommon.module.css +0 -21
  1429. package/src/lookup/header/lookupHeaderCommonResponsive.module.css +0 -15
  1430. package/src/setup/header/Button/Button.js +0 -40
  1431. package/src/setup/header/Button/HeaderButton.module.css +0 -3
  1432. package/src/setup/header/Button/docs/Button__default.docs.js +0 -21
  1433. package/src/setup/header/Link/HeaderLink.module.css +0 -16
  1434. package/src/setup/header/Link/Link.js +0 -48
  1435. package/src/setup/header/Link/docs/Link__default.docs.js +0 -20
  1436. package/src/setup/header/Search/Search.js +0 -74
  1437. package/src/setup/header/Search/Search.module.css +0 -56
  1438. package/src/setup/header/Search/docs/Search__default.docs.js +0 -32
  1439. package/src/setup/header/SelectDropdown/SelectDropdown.js +0 -122
  1440. package/src/setup/header/SelectDropdown/SelectDropdown.module.css +0 -35
  1441. package/src/setup/header/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -31
  1442. package/src/setup/header/Views/Views.js +0 -62
  1443. package/src/setup/header/Views/Views.module.css +0 -27
  1444. package/src/setup/header/Views/docs/Views__default.docs.js +0 -20
  1445. package/src/setup/helptips/Description/Description.js +0 -22
  1446. package/src/setup/helptips/Description/HelpTipsDescription.module.css +0 -6
  1447. package/src/setup/helptips/Description/docs/Description__default.docs.js +0 -24
  1448. package/src/setup/helptips/Link/HelpTipsLink.module.css +0 -6
  1449. package/src/setup/helptips/Link/Link.js +0 -40
  1450. package/src/setup/helptips/Link/docs/Link__default.docs.js +0 -27
  1451. package/src/setup/helptips/ListGroup/ListGroup.js +0 -42
  1452. package/src/setup/helptips/ListGroup/ListGroup.module.css +0 -17
  1453. package/src/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -37
  1454. package/src/setup/helptips/Title/HelpTipsTitle.module.css +0 -5
  1455. package/src/setup/helptips/Title/Title.js +0 -22
  1456. package/src/setup/helptips/Title/docs/Title__default.docs.js +0 -22
  1457. package/src/setup/table/Table/Table.js +0 -25
  1458. package/src/setup/table/Table/docs/Table__default.docs.js +0 -115
  1459. package/src/setup/table/TableBody/TableBody.js +0 -27
  1460. package/src/setup/table/TableData/TableData.css +0 -36
  1461. package/src/setup/table/TableData/TableData.js +0 -45
  1462. package/src/setup/table/TableData/hover.css +0 -6
  1463. package/src/setup/table/TableHead/TableHead.css +0 -8
  1464. package/src/setup/table/TableHead/TableHead.js +0 -53
  1465. package/src/setup/table/TableRow/TableRow.css +0 -10
  1466. package/src/setup/table/TableRow/TableRow.js +0 -60
  1467. package/src/setup/table/Text/Text.css +0 -37
  1468. package/src/setup/table/Text/Text.js +0 -81
  1469. package/src/setup/table/Text/docs/Text__default.docs.js +0 -38
  1470. package/src/svg/.DS_Store +0 -0
  1471. package/src/svg/PlusIcon.js +0 -43
  1472. package/src/svg/SnippetIcon.js +0 -50
  1473. package/src/svg/TemplateIcon.js +0 -46
  1474. package/src/svg/docs/SVG__default.docs.js +0 -46
  1475. package/src/svg/images/.DS_Store +0 -0
  1476. package/src/utils/ChannelIconMapping.js +0 -112
  1477. package/src/utils/General.js +0 -18
  1478. package/src/utils/KeyboardApi.js +0 -280
  1479. package/src/utils/Ticket.js +0 -10
  1480. package/unittest/index.html +0 -37
@@ -0,0 +1,556 @@
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 _Layout = require("@zohodesk/components/lib/Layout");
12
+ var _Icon = _interopRequireDefault(require("@zohodesk/icons/lib/Icon"));
13
+ var _Avatar = _interopRequireDefault(require("@zohodesk/components/lib/Avatar/Avatar"));
14
+ var _CustomResponsive = require("@zohodesk/components/lib/Responsive/CustomResponsive");
15
+ var _IdProvider = require("@zohodesk/components/lib/Provider/IdProvider");
16
+ var _AttachmentImage = _interopRequireDefault(require("./AttachmentImage"));
17
+ var _Link = _interopRequireDefault(require("../Link/Link"));
18
+ var _IconButton = _interopRequireDefault(require("../IconButton/IconButton"));
19
+ var _FreezeLayer = _interopRequireDefault(require("../FreezeLayer/FreezeLayer"));
20
+ var _Attachment = require("./Attachment");
21
+ var _General = require("../utils/General");
22
+ var _AttachmentViewerModule = _interopRequireDefault(require("./AttachmentViewer.module.css"));
23
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
24
+ 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); }
25
+ 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; }
26
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
27
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
28
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
29
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
30
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
31
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
32
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
33
+ 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, descriptor.key, descriptor); } }
34
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
35
+ 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); }
36
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
37
+ 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); }; }
38
+ 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); }
39
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
40
+ 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; } }
41
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
42
+ var AttachmentViewer = /*#__PURE__*/function (_Component) {
43
+ _inherits(AttachmentViewer, _Component);
44
+ var _super = _createSuper(AttachmentViewer);
45
+ function AttachmentViewer(props) {
46
+ var _this;
47
+ _classCallCheck(this, AttachmentViewer);
48
+ _this = _super.call(this, props);
49
+ _this.state = {
50
+ isPViewListOpen: !!(_this.props.previewObj && _this.props.previewObj.previewData),
51
+ selectedIndex: _this.props.previewObj.selectedIndex,
52
+ isZoomed: false,
53
+ data: _this.props.previewObj ? _this.props.previewObj.previewData : [],
54
+ dataList: _this.getUpdateDataList({
55
+ index: _this.props.previewObj.selectedIndex,
56
+ data: _this.props.previewObj ? _this.props.previewObj.previewData : [],
57
+ dataList: []
58
+ })
59
+ };
60
+ _this.togglePViewList = _this.togglePViewList.bind(_assertThisInitialized(_this));
61
+ _this.changeSelectedIndex = _this.changeSelectedIndex.bind(_assertThisInitialized(_this));
62
+ _this.closeAttachmentViewer = _this.closeAttachmentViewer.bind(_assertThisInitialized(_this));
63
+ _this.responsiveFunc = _this.responsiveFunc.bind(_assertThisInitialized(_this));
64
+ _this.zoomIn = _this.zoomIn.bind(_assertThisInitialized(_this));
65
+ _this.zoomOut = _this.zoomOut.bind(_assertThisInitialized(_this));
66
+ _this.imgPreviewView = _this.imgPreviewView.bind(_assertThisInitialized(_this));
67
+ _this.getNextId = (0, _IdProvider.getUniqueId)(_assertThisInitialized(_this));
68
+ _this.getUpdateDataList = _this.getUpdateDataList.bind(_assertThisInitialized(_this));
69
+ _this.zoomMaintain = _this.zoomMaintain.bind(_assertThisInitialized(_this));
70
+ return _this;
71
+ }
72
+ _createClass(AttachmentViewer, [{
73
+ key: "componentDidUpdate",
74
+ value: function componentDidUpdate(prevProps) {
75
+ var previewObj = this.props.previewObj;
76
+ var indexChanged = previewObj.selectedIndex != prevProps.previewObj.selectedIndex;
77
+ if (previewObj.previewData.length != prevProps.previewObj.previewData.length || indexChanged) {
78
+ var objChanged = previewObj.previewData.some(function (value, index) {
79
+ return (0, _General.shallowDiff)(value, prevProps.previewObj[index]);
80
+ });
81
+ if (objChanged || indexChanged) {
82
+ this.setState({
83
+ selectedIndex: previewObj.selectedIndex,
84
+ data: previewObj ? previewObj.previewData : [],
85
+ dataList: this.getUpdateDataList({
86
+ index: previewObj.selectedIndex,
87
+ data: previewObj ? previewObj.previewData : [],
88
+ dataList: []
89
+ }),
90
+ isPViewListOpen: !!(this.props.previewObj && this.props.previewObj.previewData)
91
+ });
92
+ }
93
+ }
94
+ }
95
+ }, {
96
+ key: "togglePViewList",
97
+ value: function togglePViewList() {
98
+ var _this2 = this;
99
+ this.setState(function (prevState) {
100
+ return {
101
+ isPViewListOpen: !prevState.isPViewListOpen
102
+ };
103
+ }, function () {
104
+ _this2.focusSelectedImg(_this2.state.selectedIndex);
105
+ });
106
+ }
107
+ }, {
108
+ key: "zoomOut",
109
+ value: function zoomOut(ele) {
110
+ this.setState({
111
+ isZoomed: false
112
+ });
113
+ var img = document.getElementById("img".concat(ele));
114
+ if (img) {
115
+ img.classList.remove(_AttachmentViewerModule["default"].zoomedImg);
116
+ img.classList.add(_AttachmentViewerModule["default"].normalImg);
117
+ }
118
+ }
119
+ }, {
120
+ key: "zoomIn",
121
+ value: function zoomIn(event, ele) {
122
+ var moveToPosition = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
123
+ this.setState({
124
+ isZoomed: true
125
+ });
126
+ var img = document.getElementById("img".concat(ele));
127
+ var ratio = 95;
128
+ var imgContainer, imgUnits, imgSize, imgRatio, imgContainerUnits, imgContainerPosition;
129
+ if (moveToPosition) {
130
+ imgContainer = document.getElementById("imgBox".concat(ele));
131
+ imgUnits = img.getBoundingClientRect();
132
+ imgSize = {
133
+ height: img.naturalHeight,
134
+ width: img.naturalWidth
135
+ };
136
+ imgRatio = {
137
+ height: Math.floor(imgSize.height / imgUnits.height / 100 * ratio),
138
+ width: Math.floor(imgSize.width / imgUnits.width / 100 * ratio)
139
+ };
140
+ imgContainerUnits = imgContainer.getBoundingClientRect();
141
+ imgContainerPosition = imgContainer ? {
142
+ top: imgContainerUnits.top,
143
+ left: imgContainerUnits.left
144
+ } : {
145
+ top: 0,
146
+ left: 0
147
+ };
148
+ }
149
+ if (img) {
150
+ img.classList.remove(_AttachmentViewerModule["default"].normalImg);
151
+ img.classList.add(_AttachmentViewerModule["default"].zoomedImg);
152
+ }
153
+ if (moveToPosition) {
154
+ imgContainer.scrollLeft = (event.pageX - imgContainerPosition.left - imgUnits.left) * imgRatio.width;
155
+ imgContainer.scrollTop = (event.pageY - imgContainerPosition.top - imgUnits.top) * imgRatio.height;
156
+ }
157
+ }
158
+ }, {
159
+ key: "zoomMaintain",
160
+ value: function zoomMaintain(selectedIndex) {
161
+ var isZoomed = this.state.isZoomed;
162
+ isZoomed ? this.zoomIn({}, selectedIndex) : this.zoomOut(selectedIndex);
163
+ }
164
+ }, {
165
+ key: "getUpdateDataList",
166
+ value: function getUpdateDataList(_ref) {
167
+ var index = _ref.index,
168
+ data = _ref.data,
169
+ dataList = _ref.dataList;
170
+ data = data || this.state.data;
171
+ dataList = dataList || this.state.dataList;
172
+ var finalDataList = _toConsumableArray(dataList);
173
+ if (index >= finalDataList.length) {
174
+ for (var i = dataList.length; i <= index; i++) {
175
+ finalDataList.push(data.slice(i)[0]);
176
+ }
177
+ } else if (index + 1 === finalDataList.length && index + 1 < data.length) {
178
+ finalDataList.push(data.slice(index + 1)[0]);
179
+ }
180
+ return finalDataList;
181
+ }
182
+ }, {
183
+ key: "updateDataList",
184
+ value: function updateDataList(index) {
185
+ this.setState({
186
+ dataList: this.getUpdateDataList({
187
+ index: index
188
+ })
189
+ });
190
+ }
191
+ }, {
192
+ key: "changeSelectedIndex",
193
+ value: function changeSelectedIndex(index) {
194
+ var _this3 = this;
195
+ var _this$state = this.state,
196
+ data = _this$state.data,
197
+ selectedIndex = _this$state.selectedIndex;
198
+ var maintainZoom = this.props.maintainZoom;
199
+ maintainZoom ? this.zoomMaintain(index) : this.zoomOut(selectedIndex);
200
+ if (index <= data.length - 1) {
201
+ this.updateDataList(index);
202
+ }
203
+ this.setState({
204
+ selectedIndex: index
205
+ }, function () {
206
+ _this3.focusSelectedImg(index);
207
+ });
208
+ }
209
+ }, {
210
+ key: "focusSelectedImg",
211
+ value: function focusSelectedImg(index) {
212
+ var ele = this["img_".concat(index)];
213
+ if (ele) {
214
+ var cont = this.imgListCont;
215
+ cont.scrollLeft = ele.offsetLeft;
216
+ }
217
+ }
218
+ }, {
219
+ key: "closeAttachmentViewer",
220
+ value: function closeAttachmentViewer() {
221
+ this.setState({
222
+ isPViewListOpen: false,
223
+ isZoomed: false
224
+ });
225
+ this.props.hideAttachmentViewer();
226
+ }
227
+ }, {
228
+ key: "responsiveFunc",
229
+ value: function responsiveFunc(_ref2) {
230
+ var mediaQueryOR = _ref2.mediaQueryOR;
231
+ return {
232
+ uptoTablet: mediaQueryOR([{
233
+ maxWidth: 768
234
+ }])
235
+ };
236
+ }
237
+ }, {
238
+ key: "imgPreviewView",
239
+ value: function imgPreviewView() {
240
+ var _this4 = this;
241
+ var _this$state2 = this.state,
242
+ dataList = _this$state2.dataList,
243
+ selectedIndex = _this$state2.selectedIndex,
244
+ isZoomed = _this$state2.isZoomed;
245
+ var maintainZoom = this.props.maintainZoom;
246
+ var getImgStyle = function getImgStyle(i) {
247
+ var position;
248
+ if (selectedIndex < i) {
249
+ position = (i - selectedIndex) * 100;
250
+ return {
251
+ transform: "translateX(".concat(parseInt(position), "%)"),
252
+ opacity: "0"
253
+ };
254
+ }
255
+ if (i === selectedIndex) {
256
+ return {
257
+ transform: "translateX(0%)",
258
+ opacity: "1"
259
+ };
260
+ }
261
+ position = (selectedIndex - i) * 100 * -1;
262
+ return {
263
+ transform: "translateX(".concat(parseInt(position), "%)"),
264
+ opacity: "0"
265
+ };
266
+ };
267
+ return dataList.length && dataList.map(function () {
268
+ var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
269
+ var i = arguments.length > 1 ? arguments[1] : undefined;
270
+ var selectedImgUrl = data.viewUrl;
271
+ return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
272
+ className: _AttachmentViewerModule["default"].imgBox,
273
+ id: "imgBox".concat(i),
274
+ key: i,
275
+ alignBox: "row",
276
+ align: "both",
277
+ style: getImgStyle(i)
278
+ }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
279
+ className: _AttachmentViewerModule["default"].imgRef,
280
+ id: "imgPreviewRef".concat(i)
281
+ }, (0, _Attachment.isAudioFile)(data.name) ? selectedIndex == i ? /*#__PURE__*/_react["default"].createElement("video", {
282
+ autoPlay: true,
283
+ controls: true,
284
+ className: _AttachmentViewerModule["default"].zoomIn
285
+ }, /*#__PURE__*/_react["default"].createElement("source", {
286
+ src: data.viewUrl,
287
+ type: "audio/".concat((0, _Attachment.getExtensionFromFileName)(data.name))
288
+ })) : null : /*#__PURE__*/_react["default"].createElement(_AttachmentImage["default"], {
289
+ className: "".concat(_AttachmentViewerModule["default"].img, " ").concat(selectedIndex == i && maintainZoom ? isZoomed ? _AttachmentViewerModule["default"].zoomedImg : _AttachmentViewerModule["default"].normalImg : ""),
290
+ src: selectedImgUrl,
291
+ onClick: isZoomed ? _this4.zoomOut.bind(_this4, i) : function (e) {
292
+ _this4.zoomIn(e, i, true);
293
+ },
294
+ alt: "Preview",
295
+ dataId: "attachViewer",
296
+ id: "img".concat(i),
297
+ isImage: true,
298
+ isCover: false
299
+ })));
300
+ });
301
+ }
302
+ }, {
303
+ key: "render",
304
+ value: function render() {
305
+ var _this5 = this;
306
+ var _this$state3 = this.state,
307
+ isPViewListOpen = _this$state3.isPViewListOpen,
308
+ selectedIndex = _this$state3.selectedIndex,
309
+ data = _this$state3.data,
310
+ isZoomed = _this$state3.isZoomed;
311
+ var _this$props = this.props,
312
+ responsiveId = _this$props.responsiveId,
313
+ needDownload = _this$props.needDownload,
314
+ i18nKeys = _this$props.i18nKeys,
315
+ isActive = _this$props.isActive;
316
+ var totalLen = data.length;
317
+ var selectedAttachment = data[selectedIndex] || {};
318
+ var selectedImgUrl = selectedAttachment.viewUrl;
319
+ var downloadUrl = selectedAttachment.downloadUrl;
320
+ var authorHref;
321
+ var authorName;
322
+ var _ref3 = data[selectedIndex] ? data[selectedIndex] : {},
323
+ author = _ref3.author;
324
+ if (author) {
325
+ authorHref = author.href;
326
+ authorName = author.name;
327
+ }
328
+ var ariaId = this.getNextId();
329
+ return /*#__PURE__*/_react["default"].createElement(_FreezeLayer["default"], {
330
+ isActive: isActive && totalLen >= 1,
331
+ palette: "dark",
332
+ animationName: "expand"
333
+ }, /*#__PURE__*/_react["default"].createElement(_CustomResponsive.ResponsiveReceiver, {
334
+ responsiveId: responsiveId,
335
+ query: this.responsiveFunc
336
+ }, function (_ref4) {
337
+ var uptoTablet = _ref4.uptoTablet;
338
+ return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
339
+ scroll: "none",
340
+ "data-scroll-palette": "dark"
341
+ }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
342
+ alignBox: "row",
343
+ className: _AttachmentViewerModule["default"].header,
344
+ align: "between",
345
+ tabindex: "0"
346
+ }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
347
+ shrink: true,
348
+ className: _AttachmentViewerModule["default"].title,
349
+ "data-title": selectedAttachment.name,
350
+ dataId: "attachName",
351
+ id: ariaId
352
+ }, selectedAttachment.name), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
353
+ flexible: true,
354
+ className: _AttachmentViewerModule["default"].count,
355
+ dataId: "attachCountContainer"
356
+ }, selectedIndex + 1, "/", totalLen), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
357
+ className: uptoTablet ? _AttachmentViewerModule["default"].mbleMenuBar : _AttachmentViewerModule["default"].menuBar
358
+ }, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
359
+ isInline: true,
360
+ alignBox: uptoTablet ? "column-reverse" : "row",
361
+ align: uptoTablet ? "bottom" : "center",
362
+ wrap: "wrap",
363
+ isCover: false
364
+ }, isZoomed ? /*#__PURE__*/_react["default"].createElement("div", {
365
+ className: uptoTablet ? _AttachmentViewerModule["default"].mobileMenu : _AttachmentViewerModule["default"].menu,
366
+ onClick: _this5.zoomOut.bind(_this5, selectedIndex),
367
+ "data-id": "zoomOut",
368
+ "data-title": i18nKeys.zoomOutText
369
+ }, /*#__PURE__*/_react["default"].createElement(_IconButton["default"], {
370
+ iconName: "ZD-GN-zoomOut",
371
+ className: _AttachmentViewerModule["default"].menuIcon,
372
+ iconSize: "16",
373
+ hoverType: "border",
374
+ a11y: {
375
+ ariaLabel: i18nKeys.zoomOutText
376
+ }
377
+ })) : /*#__PURE__*/_react["default"].createElement("div", {
378
+ className: uptoTablet ? _AttachmentViewerModule["default"].mobileMenu : _AttachmentViewerModule["default"].menu,
379
+ onClick: function onClick(e) {
380
+ return _this5.zoomIn(e, selectedIndex);
381
+ },
382
+ "data-id": "zoomIn",
383
+ "data-title": i18nKeys.zoomInText
384
+ }, /*#__PURE__*/_react["default"].createElement(_IconButton["default"], {
385
+ iconName: "ZD-GN-zoomIn",
386
+ className: _AttachmentViewerModule["default"].menuIcon,
387
+ iconSize: "16",
388
+ hoverType: "border",
389
+ a11y: {
390
+ ariaLabel: i18nKeys.zoomInText
391
+ }
392
+ })), /*#__PURE__*/_react["default"].createElement("div", {
393
+ className: uptoTablet ? _AttachmentViewerModule["default"].mobileMenu : _AttachmentViewerModule["default"].menu
394
+ }, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
395
+ href: selectedImgUrl,
396
+ target: "_blank",
397
+ dataId: "newTabAttach",
398
+ title: i18nKeys.newTabText
399
+ }, /*#__PURE__*/_react["default"].createElement(_IconButton["default"], {
400
+ iconName: "ZD-GN-newLink",
401
+ className: _AttachmentViewerModule["default"].menuIcon,
402
+ iconSize: "16",
403
+ hoverType: "border",
404
+ needButtonTag: false,
405
+ a11y: {
406
+ ariaLabel: i18nKeys.newTabText
407
+ }
408
+ }))), needDownload ? /*#__PURE__*/_react["default"].createElement("div", {
409
+ className: uptoTablet ? _AttachmentViewerModule["default"].mobileMenu : _AttachmentViewerModule["default"].menu
410
+ }, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
411
+ href: downloadUrl,
412
+ target: "_parent",
413
+ hasReload: true,
414
+ download: true,
415
+ title: i18nKeys.downloadText
416
+ }, /*#__PURE__*/_react["default"].createElement(_IconButton["default"], {
417
+ iconName: "ZD-GN-download",
418
+ className: _AttachmentViewerModule["default"].menuIcon,
419
+ iconSize: "16",
420
+ hoverType: "border",
421
+ needButtonTag: false,
422
+ a11y: {
423
+ ariaLabel: i18nKeys.downloadText
424
+ }
425
+ }))) : null, /*#__PURE__*/_react["default"].createElement("div", {
426
+ className: uptoTablet ? _AttachmentViewerModule["default"].mobileMenu : _AttachmentViewerModule["default"].menu,
427
+ onClick: _this5.closeAttachmentViewer,
428
+ "data-id": "closeAttach",
429
+ "data-title": i18nKeys.closeText
430
+ }, /*#__PURE__*/_react["default"].createElement(_IconButton["default"], {
431
+ iconName: "ZD-cross",
432
+ iconSize: "15",
433
+ hoverType: "border",
434
+ className: _AttachmentViewerModule["default"].menuIcon,
435
+ a11y: {
436
+ ariaLabel: i18nKeys.closeText
437
+ },
438
+ title: i18nKeys.closeText
439
+ })))))), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
440
+ flexible: true,
441
+ role: "toolbar",
442
+ tabindex: "0"
443
+ }, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
444
+ alignBox: "row"
445
+ }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
446
+ className: "".concat(_AttachmentViewerModule["default"].arrowBox, " ").concat(uptoTablet ? _AttachmentViewerModule["default"].mbleArrowBox : _AttachmentViewerModule["default"].nrmlArrowBox, " ").concat(selectedIndex === 0 ? _AttachmentViewerModule["default"].hidden : ""),
447
+ onClick: _this5.changeSelectedIndex.bind(_this5, selectedIndex - 1),
448
+ "data-title": i18nKeys.previousText,
449
+ "data-title-position": "left"
450
+ }, /*#__PURE__*/_react["default"].createElement("button", {
451
+ className: _AttachmentViewerModule["default"].btn,
452
+ "aria-label": i18nKeys.previousText
453
+ }, /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
454
+ name: "ZD-arrowLeft3",
455
+ iconClass: _AttachmentViewerModule["default"].arrow,
456
+ dataId: "leftAttachNav",
457
+ isBold: true
458
+ }))), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
459
+ className: _AttachmentViewerModule["default"].previewBox,
460
+ role: "option",
461
+ tabindex: "0",
462
+ "aria-describedby": ariaId,
463
+ isShrink: false,
464
+ eleRef: _this5.setImgBoxRef,
465
+ scroll: "both",
466
+ flexible: true
467
+ }, _this5.imgPreviewView()), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
468
+ className: "".concat(_AttachmentViewerModule["default"].arrowBox, " ").concat(uptoTablet ? _AttachmentViewerModule["default"].mbleArrowBox : _AttachmentViewerModule["default"].nrmlArrowBox, " ").concat(totalLen === selectedIndex + 1 ? _AttachmentViewerModule["default"].hidden : ""),
469
+ onClick: _this5.changeSelectedIndex.bind(_this5, selectedIndex + 1),
470
+ "data-title": i18nKeys.nextText,
471
+ "data-title-position": "right"
472
+ }, /*#__PURE__*/_react["default"].createElement("button", {
473
+ className: _AttachmentViewerModule["default"].btn,
474
+ "aria-label": i18nKeys.nextText
475
+ }, /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
476
+ name: "ZD-arrowRight3",
477
+ iconClass: _AttachmentViewerModule["default"].arrow,
478
+ dataId: "rightAttachNav",
479
+ isBold: true
480
+ }))))), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
481
+ className: "".concat(_AttachmentViewerModule["default"].footer, " ").concat(isPViewListOpen && totalLen !== 1 ? _AttachmentViewerModule["default"].footerHeight : _AttachmentViewerModule["default"].footerHide, " ")
482
+ }, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
483
+ align: "vertical",
484
+ alignBox: "row",
485
+ className: _AttachmentViewerModule["default"].footerHeight
486
+ }, author && /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
487
+ className: _AttachmentViewerModule["default"].author
488
+ }, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
489
+ alignBox: "row",
490
+ align: "both"
491
+ }, /*#__PURE__*/_react["default"].createElement(_Avatar["default"], {
492
+ name: authorName,
493
+ size: "xmedium",
494
+ src: authorHref,
495
+ palette: "info"
496
+ }), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
497
+ flexible: true,
498
+ className: _AttachmentViewerModule["default"].authorName,
499
+ "data-title": authorName
500
+ }, authorName))), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
501
+ flexible: true
502
+ }, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
503
+ align: "vertical",
504
+ alignBox: "row",
505
+ scroll: "horizontal",
506
+ eleRef: function eleRef(el) {
507
+ return _this5.imgListCont = el;
508
+ },
509
+ className: _AttachmentViewerModule["default"].listContainer
510
+ }, data.map(function (item, index) {
511
+ var name = item.name,
512
+ viewUrl = item.viewUrl;
513
+ var isAudio = (0, _Attachment.isAudioFile)(name);
514
+ return /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
515
+ className: "".concat(_AttachmentViewerModule["default"].imgItem, " ").concat(index === selectedIndex ? _AttachmentViewerModule["default"].selected : "", " ").concat(isAudio ? _AttachmentViewerModule["default"].isAudio : ""),
516
+ key: index,
517
+ onClick: _this5.changeSelectedIndex.bind(_this5, index),
518
+ eleRef: function eleRef(el) {
519
+ return _this5["img_".concat(index)] = el;
520
+ },
521
+ dataId: "attachPreviewList",
522
+ "data-title": name
523
+ }, /*#__PURE__*/_react["default"].createElement(_AttachmentImage["default"], {
524
+ src: viewUrl,
525
+ size: "small",
526
+ alt: name,
527
+ className: _AttachmentViewerModule["default"].image,
528
+ isImage: !isAudio,
529
+ dataId: "AttachmentImage"
530
+ }));
531
+ }))))), totalLen !== 1 && /*#__PURE__*/_react["default"].createElement(_IconButton["default"], {
532
+ dataId: "attachToggle",
533
+ onClick: _this5.togglePViewList,
534
+ iconName: "ZD-GN-hideTab",
535
+ iconSize: "14",
536
+ hoverType: "border",
537
+ iconClass: "".concat(_AttachmentViewerModule["default"].thumpIcon, " ").concat(isPViewListOpen ? _AttachmentViewerModule["default"].thumpIconActive : ""),
538
+ className: _AttachmentViewerModule["default"].button,
539
+ a11y: {
540
+ ariaLabel: i18nKeys.hideText
541
+ },
542
+ title: isPViewListOpen ? i18nKeys.hideText : i18nKeys.showText
543
+ }));
544
+ }));
545
+ }
546
+ }]);
547
+ return AttachmentViewer;
548
+ }(_react.Component);
549
+ exports["default"] = AttachmentViewer;
550
+ AttachmentViewer.propTypes = _propTypes.AttachmentViewer_propTypes;
551
+ AttachmentViewer.defaultProps = _defaultProps.AttachmentViewer_defaultProps;
552
+ if (false) {
553
+ AttachmentViewer.docs = {
554
+ componentGroup: "Molecule"
555
+ };
556
+ }