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

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