@zohodesk/dot 1.0.0-beta.27 → 1.0.0-beta.271

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