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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1495) hide show
  1. package/README.md +1118 -11
  2. package/assets/Appearance/dark/mode/dotDarkMode.module.css +541 -0
  3. package/assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +16 -0
  4. package/assets/Appearance/dark/themes/green/greenDarkDotTheme.module.css +16 -0
  5. package/assets/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +16 -0
  6. package/assets/Appearance/dark/themes/red/redDarkDotTheme.module.css +16 -0
  7. package/assets/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +16 -0
  8. package/assets/Appearance/default/mode/dotDefaultMode.module.css +541 -0
  9. package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +16 -0
  10. package/assets/Appearance/default/themes/green/greenDefaultDotTheme.module.css +16 -0
  11. package/assets/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +16 -0
  12. package/assets/Appearance/default/themes/red/redDefaultDotTheme.module.css +16 -0
  13. package/assets/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +16 -0
  14. package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +541 -0
  15. package/assets/Appearance/pureDark/themes/blue/bluePureDarkDotTheme.module.css +16 -0
  16. package/assets/Appearance/pureDark/themes/green/greenPureDarkDotTheme.module.css +16 -0
  17. package/assets/Appearance/pureDark/themes/orange/orangePureDarkDotTheme.module.css +16 -0
  18. package/assets/Appearance/pureDark/themes/red/redPureDarkDotTheme.module.css +16 -0
  19. package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkDotTheme.module.css +16 -0
  20. package/dubFinder.js +7 -4
  21. package/es/ActionButton/ActionButton.js +141 -0
  22. package/es/ActionButton/ActionButton.module.css +139 -0
  23. package/es/ActionButton/props/defaultProps.js +17 -0
  24. package/es/ActionButton/props/propTypes.js +31 -0
  25. package/es/AlphabeticList/AlphabeticList.js +103 -0
  26. package/es/AlphabeticList/AlphabeticList.module.css +57 -0
  27. package/es/AlphabeticList/props/defaultProps.js +12 -0
  28. package/es/AlphabeticList/props/propTypes.js +23 -0
  29. package/es/Attachment/Attachment.js +88 -0
  30. package/es/Attachment/Attachment.module.css +158 -0
  31. package/es/Attachment/props/defaultProps.js +7 -0
  32. package/es/Attachment/props/propTypes.js +16 -0
  33. package/es/AttachmentViewer/Attachment.js +16 -0
  34. package/es/AttachmentViewer/AttachmentImage.js +72 -0
  35. package/es/AttachmentViewer/AttachmentViewer.js +507 -0
  36. package/es/AttachmentViewer/AttachmentViewer.module.css +354 -0
  37. package/es/AttachmentViewer/props/defaultProps.js +10 -0
  38. package/es/AttachmentViewer/props/propTypes.js +31 -0
  39. package/es/AttachmentViewer/utils.js +90 -0
  40. package/es/ChannelIcon/ChannelIcon.js +90 -111
  41. package/es/ChannelIcon/ChannelIcon.module.css +68 -59
  42. package/es/ChannelIcon/props/defaultProps.js +7 -0
  43. package/es/ChannelIcon/props/propTypes.js +25 -0
  44. package/es/Drawer/Drawer.js +257 -333
  45. package/es/Drawer/Drawer.module.css +71 -123
  46. package/es/Drawer/props/defaultProps.js +21 -0
  47. package/es/Drawer/props/propTypes.js +50 -0
  48. package/es/ExternalLink/ExternalLink.js +42 -79
  49. package/es/ExternalLink/ExternalLink.module.css +3 -3
  50. package/es/ExternalLink/__tests__/ExternalLink.spec.js +17 -26
  51. package/es/ExternalLink/props/defaultProps.js +5 -0
  52. package/es/ExternalLink/props/propTypes.js +12 -0
  53. package/es/FlipCard/FlipCard.js +127 -168
  54. package/es/FlipCard/FlipCard.module.css +15 -6
  55. package/es/FlipCard/props/defaultProps.js +5 -0
  56. package/es/FlipCard/props/propTypes.js +37 -0
  57. package/es/FormAction/FormAction.js +67 -116
  58. package/es/FormAction/FormAction.module.css +9 -4
  59. package/es/FormAction/props/defaultProps.js +5 -0
  60. package/es/FormAction/props/propTypes.js +8 -0
  61. package/es/FreezeLayer/FreezeLayer.js +72 -141
  62. package/es/FreezeLayer/css/FreezeLayer.module.css +42 -0
  63. package/es/FreezeLayer/css/cssJSLogic.js +23 -0
  64. package/es/FreezeLayer/index.js +2 -0
  65. package/es/FreezeLayer/props/defaultProps.js +9 -0
  66. package/es/FreezeLayer/props/propTypes.js +18 -0
  67. package/es/FreezeLayer/useFreezeLayer.js +50 -0
  68. package/es/IconButton/IconButton.js +137 -81
  69. package/es/IconButton/IconButton.module.css +13 -28
  70. package/es/IconButton/props/defaultProps.js +17 -0
  71. package/es/IconButton/props/propTypes.js +33 -0
  72. package/es/Image/Image.js +35 -63
  73. package/es/Image/props/defaultProps.js +4 -0
  74. package/es/Image/props/propTypes.js +13 -0
  75. package/es/ImportantNotes/ImportantNotes.js +48 -0
  76. package/es/ImportantNotes/ImportantNotes.module.css +20 -0
  77. package/es/ImportantNotes/props/defaultProps.js +6 -0
  78. package/es/ImportantNotes/props/propTypes.js +10 -0
  79. package/es/Link/Link.js +86 -126
  80. package/es/Link/LinkContext.js +2 -4
  81. package/es/Link/props/defaultProps.js +5 -0
  82. package/es/Link/props/propTypes.js +14 -0
  83. package/es/Loader/Loader.js +25 -0
  84. package/es/Loader/Loader.module.css +46 -0
  85. package/es/Message/Message.js +107 -0
  86. package/es/Message/Message.module.css +103 -0
  87. package/es/Message/props/defaultProps.js +4 -0
  88. package/es/Message/props/propTypes.js +13 -0
  89. package/es/MessageBanner/MessageBanner.js +62 -0
  90. package/es/MessageBanner/MessageBanner.module.css +46 -0
  91. package/es/MessageBanner/props/defaultProps.js +7 -0
  92. package/es/MessageBanner/props/propTypes.js +13 -0
  93. package/es/NewStar/NewStar.js +70 -0
  94. package/es/NewStar/NewStar.module.css +175 -0
  95. package/es/NewStar/props/defaultProps.js +4 -0
  96. package/es/NewStar/props/propTypes.js +6 -0
  97. package/es/PlusIcon/PlusIcon.js +39 -81
  98. package/es/PlusIcon/PlusIcon.module.css +11 -2
  99. package/es/PlusIcon/props/defaultProps.js +8 -0
  100. package/es/PlusIcon/props/propTypes.js +11 -0
  101. package/es/Provider/Config.js +12 -0
  102. package/es/Separator/Separator.js +57 -0
  103. package/es/Separator/Separator.module.css +34 -0
  104. package/es/Separator/props/defaultProps.js +12 -0
  105. package/es/Separator/props/propTypes.js +11 -0
  106. package/es/ToastMessage/ToastMessage.js +197 -338
  107. package/es/ToastMessage/ToastMessage.module.css +57 -62
  108. package/es/ToastMessage/props/defaultProps.js +18 -0
  109. package/es/ToastMessage/props/propTypes.js +39 -0
  110. package/es/Upload/Upload.js +75 -0
  111. package/es/Upload/Upload.module.css +125 -0
  112. package/es/Upload/props/defaultProps.js +7 -0
  113. package/es/Upload/props/propTypes.js +17 -0
  114. package/es/actions/AutoClose.js +42 -0
  115. package/es/actions/index.js +12 -10
  116. package/es/actions/props/defaultProps.js +3 -0
  117. package/es/actions/props/propTypes.js +7 -0
  118. package/es/alert/AlertHeader/AlertHeader.js +67 -126
  119. package/es/alert/AlertHeader/AlertHeader.module.css +14 -13
  120. package/es/alert/AlertHeader/props/defaultProps.js +8 -0
  121. package/es/alert/AlertHeader/props/propTypes.js +15 -0
  122. package/es/alert/AlertLookup/AlertLookup.js +94 -184
  123. package/es/alert/AlertLookup/AlertLookup.module.css +7 -3
  124. package/es/alert/AlertLookup/props/defaultProps.js +14 -0
  125. package/es/alert/AlertLookup/props/propTypes.js +36 -0
  126. package/es/avatar/AvatarClose/AvatarClose.js +47 -66
  127. package/es/avatar/AvatarClose/AvatarClose.module.css +4 -4
  128. package/es/avatar/AvatarClose/props/defaultProps.js +6 -0
  129. package/es/avatar/AvatarClose/props/propTypes.js +14 -0
  130. package/es/avatar/AvatarCollision/AvatarCollision.js +55 -86
  131. package/es/avatar/AvatarCollision/AvatarCollision.module.css +9 -9
  132. package/es/avatar/AvatarCollision/props/defaultProps.js +8 -0
  133. package/es/avatar/AvatarCollision/props/propTypes.js +17 -0
  134. package/es/avatar/AvatarIcon/AvatarIcon.js +49 -85
  135. package/es/avatar/AvatarIcon/AvatarIcon.module.css +32 -10
  136. package/es/avatar/AvatarIcon/props/defaultProps.js +14 -0
  137. package/es/avatar/AvatarIcon/props/propTypes.js +20 -0
  138. package/es/avatar/AvatarStatus/AvatarStatus.js +66 -72
  139. package/es/avatar/AvatarStatus/AvatarStatus.module.css +87 -34
  140. package/es/avatar/AvatarStatus/props/defaultProps.js +12 -0
  141. package/es/avatar/AvatarStatus/props/propTypes.js +26 -0
  142. package/es/avatar/AvatarThread/AvatarThread.js +73 -102
  143. package/es/avatar/AvatarThread/AvatarThread.module.css +119 -17
  144. package/es/avatar/AvatarThread/props/defaultProps.js +9 -0
  145. package/es/avatar/AvatarThread/props/propTypes.js +30 -0
  146. package/es/avatar/AvatarUser/AvatarUser.js +101 -113
  147. package/es/avatar/AvatarUser/AvatarUser.module.css +95 -25
  148. package/es/avatar/AvatarUser/props/defaultProps.js +8 -0
  149. package/es/avatar/AvatarUser/props/propTypes.js +35 -0
  150. package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +90 -75
  151. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +5 -5
  152. package/es/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +43 -44
  153. package/es/avatar/AvatarWithTeam/props/defaultProps.js +9 -0
  154. package/es/avatar/AvatarWithTeam/props/propTypes.js +25 -0
  155. package/es/common/dot_animation.module.css +27 -0
  156. package/es/common/dot_common.module.css +4 -0
  157. package/es/deprecated/FreezeLayer/FreezeLayer.js +128 -0
  158. package/es/deprecated/FreezeLayer/FreezeLayer.module.css +42 -0
  159. package/es/deprecated/FreezeLayer/props/defaultProps.js +8 -0
  160. package/es/deprecated/FreezeLayer/props/propTypes.js +17 -0
  161. package/es/deprecated/SelectDropdown/SelectDropdown.js +145 -0
  162. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +56 -0
  163. package/es/deprecated/utils/General.js +17 -0
  164. package/es/deprecated/utils/KeyboardApi.js +253 -0
  165. package/es/docs/formDocs.js +15 -0
  166. package/es/docs/generalDocs.js +22 -77
  167. package/es/docs/lookupDocs.js +9 -24
  168. package/es/docs/setupDocs.js +1 -17
  169. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +782 -536
  170. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +40 -13
  171. package/es/dropdown/ToggleDropDown/props/defaultProps.js +25 -0
  172. package/es/dropdown/ToggleDropDown/props/propTypes.js +71 -0
  173. package/es/emptystate/CommonEmptyState/CommonEmptyState.js +61 -124
  174. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +66 -15
  175. package/es/emptystate/CommonEmptyState/props/defaultProps.js +10 -0
  176. package/es/emptystate/CommonEmptyState/props/propTypes.js +21 -0
  177. package/es/emptystate/EditionPage/EditionPage.css +5 -5
  178. package/es/emptystate/EditionPage/EditionPage.js +52 -97
  179. package/es/emptystate/EditionPage/props/defaultProps.js +5 -0
  180. package/es/emptystate/EditionPage/props/propTypes.js +7 -0
  181. package/es/errorstate/EmptyStates.module.css +56 -13
  182. package/es/errorstate/Inconvenience/Inconvenience.js +71 -76
  183. package/es/errorstate/Inconvenience/Inconvenience.module.css +0 -2
  184. package/es/errorstate/Inconvenience/props/defaultProps.js +4 -0
  185. package/es/errorstate/Inconvenience/props/propTypes.js +11 -0
  186. package/es/errorstate/LinkText/LinkText.js +25 -50
  187. package/es/errorstate/LinkText/LinkText.module.css +2 -2
  188. package/es/errorstate/LinkText/props/defaultProps.js +4 -0
  189. package/es/errorstate/LinkText/props/propTypes.js +8 -0
  190. package/es/errorstate/NoRequestFound/NoRequestFound.js +76 -81
  191. package/es/errorstate/NoRequestFound/NoRequestFound.module.css +0 -2
  192. package/es/errorstate/NoRequestFound/props/defaultProps.js +4 -0
  193. package/es/errorstate/NoRequestFound/props/propTypes.js +11 -0
  194. package/es/errorstate/PermissionPlay/PermissionPlay.js +75 -89
  195. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +10 -9
  196. package/es/errorstate/PermissionPlay/props/defaultProps.js +4 -0
  197. package/es/errorstate/PermissionPlay/props/propTypes.js +11 -0
  198. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +76 -81
  199. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +0 -2
  200. package/es/errorstate/RequestUrlNotFound/props/defaultProps.js +4 -0
  201. package/es/errorstate/RequestUrlNotFound/props/propTypes.js +11 -0
  202. package/es/errorstate/UnableToProcess/UnableToProcess.js +71 -76
  203. package/es/errorstate/UnableToProcess/UnableToProcess.module.css +0 -15
  204. package/es/errorstate/UnableToProcess/props/defaultProps.js +4 -0
  205. package/es/errorstate/UnableToProcess/props/propTypes.js +11 -0
  206. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +76 -81
  207. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +0 -15
  208. package/es/errorstate/UnauthorizedLogin/props/defaultProps.js +4 -0
  209. package/es/errorstate/UnauthorizedLogin/props/propTypes.js +11 -0
  210. package/es/errorstate/WillBack/WillBack.js +68 -74
  211. package/es/errorstate/WillBack/WillBack.module.css +23 -10
  212. package/es/errorstate/WillBack/props/defaultProps.js +4 -0
  213. package/es/errorstate/WillBack/props/propTypes.js +5 -0
  214. package/es/form/fields/CheckBoxField/CheckBoxField.js +137 -0
  215. package/es/form/fields/CheckBoxField/props/defaultProps.js +12 -0
  216. package/es/form/fields/CheckBoxField/props/propTypes.js +27 -0
  217. package/es/form/fields/CurrencyField/CurrencyField.js +176 -0
  218. package/es/form/fields/CurrencyField/props/defaultProps.js +17 -0
  219. package/es/form/fields/CurrencyField/props/propTypes.js +36 -0
  220. package/es/form/fields/DateField/DateField.js +185 -0
  221. package/es/form/fields/DateField/props/defaultProps.js +19 -0
  222. package/es/form/fields/DateField/props/propTypes.js +39 -0
  223. package/es/form/fields/FieldContainer/FieldContainer.js +68 -0
  224. package/es/form/fields/FieldContainer/props/defaultProps.js +7 -0
  225. package/es/form/fields/FieldContainer/props/propTypes.js +12 -0
  226. package/es/form/fields/Fields.module.css +183 -0
  227. package/es/form/fields/MultiSelectField/MultiSelectField.js +210 -0
  228. package/es/form/fields/MultiSelectField/props/defaultProps.js +17 -0
  229. package/es/form/fields/MultiSelectField/props/propTypes.js +50 -0
  230. package/es/form/fields/PhoneField/PhoneField.js +181 -0
  231. package/es/form/fields/PhoneField/props/defaultProps.js +16 -0
  232. package/es/form/fields/PhoneField/props/propTypes.js +40 -0
  233. package/es/form/fields/RadioField/RadioField.js +113 -0
  234. package/es/form/fields/RadioField/props/defaultProps.js +12 -0
  235. package/es/form/fields/RadioField/props/propTypes.js +30 -0
  236. package/es/form/fields/SelectField/SelectField.js +183 -0
  237. package/es/form/fields/SelectField/props/defaultProps.js +18 -0
  238. package/es/form/fields/SelectField/props/propTypes.js +50 -0
  239. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +280 -0
  240. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -0
  241. package/es/form/fields/TagsMultiSelect/props/defaultProps.js +11 -0
  242. package/es/form/fields/TagsMultiSelect/props/propTypes.js +43 -0
  243. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +242 -0
  244. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -0
  245. package/es/form/fields/TagsMultiSelectField/props/defaultProps.js +19 -0
  246. package/es/form/fields/TagsMultiSelectField/props/propTypes.js +52 -0
  247. package/es/form/fields/TextBoxField/TextBoxField.js +163 -0
  248. package/es/form/fields/TextBoxField/props/defaultProps.js +17 -0
  249. package/es/form/fields/TextBoxField/props/propTypes.js +37 -0
  250. package/es/form/fields/TextEditor/TextEditor.js +366 -0
  251. package/es/form/fields/TextEditor/TextEditor.module.css +666 -0
  252. package/es/form/fields/TextEditor/props/defaultProps.js +13 -0
  253. package/es/form/fields/TextEditor/props/propTypes.js +40 -0
  254. package/es/form/fields/TextEditorField/TextEditorField.js +172 -0
  255. package/es/form/fields/TextEditorField/props/defaultProps.js +15 -0
  256. package/es/form/fields/TextEditorField/props/propTypes.js +47 -0
  257. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +195 -0
  258. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +37 -0
  259. package/es/form/fields/TextEditorWrapper/props/defaultProps.js +9 -0
  260. package/es/form/fields/TextEditorWrapper/props/propTypes.js +39 -0
  261. package/es/form/fields/TextareaField/TextareaField.js +160 -0
  262. package/es/form/fields/TextareaField/props/defaultProps.js +15 -0
  263. package/es/form/fields/TextareaField/props/propTypes.js +34 -0
  264. package/es/form/fields/ValidationMessage/ValidationMessage.js +58 -0
  265. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -0
  266. package/es/form/fields/ValidationMessage/props/defaultProps.js +7 -0
  267. package/es/form/fields/ValidationMessage/props/propTypes.js +14 -0
  268. package/es/form/fields/props/FieldCommonDefaultProps.js +10 -0
  269. package/es/form/fields/props/FieldCommonPropTypes.js +23 -0
  270. package/es/form/layout/Field/Field.js +33 -0
  271. package/es/form/layout/Field/Field.module.css +22 -0
  272. package/es/form/layout/Field/props/defaultProps.js +4 -0
  273. package/es/form/layout/Field/props/propTypes.js +10 -0
  274. package/es/form/layout/Section/ModuleFormSection.module.css +3 -0
  275. package/es/form/layout/Section/Section.js +34 -0
  276. package/es/form/layout/Section/props/propTypes.js +9 -0
  277. package/es/index.js +2 -12
  278. package/es/layout/SetupDetailLayout/SetupDetailLayout.js +184 -320
  279. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +20 -20
  280. package/es/layout/SetupDetailLayout/props/defaultProps.js +18 -0
  281. package/es/layout/SetupDetailLayout/props/propTypes.js +33 -0
  282. package/es/layout/SubtabLayout/SubtabLayout.js +132 -218
  283. package/es/layout/SubtabLayout/SubtabLayout.module.css +72 -16
  284. package/es/layout/SubtabLayout/index.js +2 -1
  285. package/es/layout/SubtabLayout/props/defaultProps.js +25 -0
  286. package/es/layout/SubtabLayout/props/propTypes.js +40 -0
  287. package/es/list/AvatarFlip/AvatarFlip.js +72 -104
  288. package/es/list/AvatarFlip/AvatarFlip.module.css +1 -13
  289. package/es/list/AvatarFlip/props/defaultProps.js +6 -0
  290. package/es/list/AvatarFlip/props/propTypes.js +29 -0
  291. package/es/list/BluePrintStatus/BluePrintStatus.js +25 -47
  292. package/es/list/BluePrintStatus/BluePrintStatus.module.css +8 -6
  293. package/es/list/BluePrintStatus/props/propTypes.js +4 -0
  294. package/es/list/Comment/Comment.js +41 -77
  295. package/es/list/Comment/Comment.module.css +12 -5
  296. package/es/list/Comment/props/defaultProps.js +3 -0
  297. package/es/list/Comment/props/propTypes.js +9 -0
  298. package/es/list/DepartmentDropDown/DepartmentDropDown.js +87 -96
  299. package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +6 -80
  300. package/es/list/DepartmentDropDown/props/defaultProps.js +7 -0
  301. package/es/list/DepartmentDropDown/props/propTypes.js +24 -0
  302. package/es/list/Dot/Dot.js +17 -44
  303. package/es/list/Dot/Dot.module.css +7 -5
  304. package/es/list/Dot/props/defaultProps.js +4 -0
  305. package/es/list/Dot/props/propTypes.js +5 -0
  306. package/es/list/DotNew/DotNew.js +26 -38
  307. package/es/list/DotNew/DotNew.module.css +14 -11
  308. package/es/list/DotNew/props/defaultProps.js +3 -0
  309. package/es/list/DotNew/props/propTypes.js +6 -0
  310. package/es/list/GridStencils/GridStencils.js +32 -62
  311. package/es/list/GridStencils/GridStencils.module.css +23 -68
  312. package/es/list/GridStencils/props/propTypes.js +7 -0
  313. package/es/list/Icons/AddNewIcon.js +22 -66
  314. package/es/list/Icons/CompleteIcon.js +23 -55
  315. package/es/list/Icons/DeleteIcon.js +24 -75
  316. package/es/list/Icons/EditIcon.js +23 -74
  317. package/es/list/Icons/FloatingIcons.js +27 -55
  318. package/es/list/Icons/Icons.module.css +5 -4
  319. package/es/list/Icons/ReadUnreadIcon.js +31 -0
  320. package/es/list/Icons/SmartIcon.js +23 -45
  321. package/es/list/Icons/props/defaultProps.js +6 -0
  322. package/es/list/Icons/props/propTypes.js +55 -0
  323. package/es/list/ListLayout/ListLayout.js +73 -134
  324. package/es/list/ListLayout/ListLayout.module.css +38 -7
  325. package/es/list/ListLayout/props/defaultProps.js +11 -0
  326. package/es/list/ListLayout/props/propTypes.js +28 -0
  327. package/es/list/ListStencils/ListStencils.js +39 -55
  328. package/es/list/ListStencils/ListStencils.module.css +48 -8
  329. package/es/list/ListStencils/props/defaultProps.js +3 -0
  330. package/es/list/ListStencils/props/propTypes.js +4 -0
  331. package/es/list/SecondaryText/AccountName.js +72 -90
  332. package/es/list/SecondaryText/ContactName.js +78 -121
  333. package/es/list/SecondaryText/DepartmentText.js +26 -51
  334. package/es/list/SecondaryText/Email.js +44 -80
  335. package/es/list/SecondaryText/HappinessRating.js +26 -58
  336. package/es/list/SecondaryText/PhoneNumber.js +48 -83
  337. package/es/list/SecondaryText/PriorityText.js +29 -59
  338. package/es/list/SecondaryText/SecondaryText.js +35 -57
  339. package/es/list/SecondaryText/SecondaryText.module.css +53 -21
  340. package/es/list/SecondaryText/StatusText.js +30 -62
  341. package/es/list/SecondaryText/TicketId.js +47 -72
  342. package/es/list/SecondaryText/Website.js +33 -77
  343. package/es/list/SecondaryText/props/defaultProps.js +44 -0
  344. package/es/list/SecondaryText/props/propTypes.js +143 -0
  345. package/es/list/SecondryPanel/SecondryPanel.js +93 -187
  346. package/es/list/SecondryPanel/SecondryPanel.module.css +1 -22
  347. package/es/list/SecondryPanel/props/defaultProps.js +18 -0
  348. package/es/list/SecondryPanel/props/propTypes.js +27 -0
  349. package/es/list/SentimentStatus/SentimentStatus.js +31 -50
  350. package/es/list/SentimentStatus/SentimentStatus.module.css +1 -1
  351. package/es/list/SentimentStatus/props/propTypes.js +5 -0
  352. package/es/list/Subject/Subject.js +51 -85
  353. package/es/list/Subject/Subject.module.css +21 -3
  354. package/es/list/Subject/props/defaultProps.js +7 -0
  355. package/es/list/Subject/props/propTypes.js +19 -0
  356. package/es/list/TagNew/TagNew.js +29 -55
  357. package/es/list/TagNew/TagNew.module.css +5 -5
  358. package/es/list/TagNew/props/defaultProps.js +4 -0
  359. package/es/list/TagNew/props/propTypes.js +8 -0
  360. package/es/list/Thread/Thread.js +40 -60
  361. package/es/list/Thread/Thread.module.css +30 -7
  362. package/es/list/Thread/props/defaultProps.js +4 -0
  363. package/es/list/Thread/props/propTypes.js +8 -0
  364. package/es/list/UserTime/UserTime.js +76 -106
  365. package/es/list/UserTime/UserTime.module.css +23 -14
  366. package/es/list/UserTime/props/defaultProps.js +3 -0
  367. package/es/list/UserTime/props/propTypes.js +14 -0
  368. package/es/list/listCommon.module.css +19 -51
  369. package/es/list/status/StatusDropdown/StatusDropdown.js +423 -0
  370. package/es/list/status/StatusDropdown/StatusDropdown.module.css +92 -0
  371. package/es/list/status/StatusDropdown/props/defaultProps.js +18 -0
  372. package/es/list/status/StatusDropdown/props/propTypes.js +50 -0
  373. package/es/list/status/StatusListItem/StatusListItem.js +113 -0
  374. package/es/list/status/StatusListItem/StatusListItem.module.css +104 -0
  375. package/es/list/status/StatusListItem/props/defaultProps.js +14 -0
  376. package/es/list/status/StatusListItem/props/propTypes.js +28 -0
  377. package/es/lookup/EmptyPage/EmptyPage.js +52 -83
  378. package/es/lookup/EmptyPage/LookupEmptyPage.module.css +1 -1
  379. package/es/lookup/EmptyPage/props/defaultProps.js +4 -0
  380. package/es/lookup/EmptyPage/props/propTypes.js +5 -0
  381. package/es/lookup/Lookup/Lookup.js +86 -86
  382. package/es/lookup/Lookup/Lookup.module.css +12 -8
  383. package/es/lookup/Lookup/props/defaultProps.js +7 -0
  384. package/es/lookup/Lookup/props/propTypes.js +18 -0
  385. package/es/lookup/Section/LookupSection.module.css +3 -2
  386. package/es/lookup/Section/Section.js +18 -48
  387. package/es/lookup/Section/props/propTypes.js +6 -0
  388. package/es/lookup/header/Close/Close.js +25 -53
  389. package/es/lookup/header/Close/LookupClose.module.css +5 -5
  390. package/es/lookup/header/Close/props/defaultProps.js +3 -0
  391. package/es/lookup/header/Close/props/propTypes.js +6 -0
  392. package/es/lookup/header/ModuleHeader/ModuleHeader.js +62 -90
  393. package/es/lookup/header/ModuleHeader/props/defaultProps.js +3 -0
  394. package/es/lookup/header/ModuleHeader/props/propTypes.js +17 -0
  395. package/es/lookup/header/Search/LookupSearch.module.css +52 -9
  396. package/es/lookup/header/Search/Search.js +210 -129
  397. package/es/lookup/header/Search/props/defaultProps.js +5 -0
  398. package/es/lookup/header/Search/props/propTypes.js +28 -0
  399. package/es/lookup/header/TicketHeader/TicketHeader.js +80 -115
  400. package/es/lookup/header/TicketHeader/TicketHeader.module.css +3 -2
  401. package/es/lookup/header/TicketHeader/props/defaultProps.js +4 -0
  402. package/es/lookup/header/TicketHeader/props/propTypes.js +20 -0
  403. package/es/lookup/header/Title/LookupTitle.module.css +4 -4
  404. package/es/lookup/header/Title/Title.js +22 -54
  405. package/es/lookup/header/Title/props/defaultProps.js +3 -0
  406. package/es/lookup/header/Title/props/propTypes.js +6 -0
  407. package/es/lookup/header/ViewDropDown/ViewDropDown.js +149 -195
  408. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +9 -11
  409. package/es/lookup/header/ViewDropDown/props/defaultProps.js +7 -0
  410. package/es/lookup/header/ViewDropDown/props/propTypes.js +26 -0
  411. package/es/lookup/header/lookupHeaderCommon.module.css +13 -5
  412. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +1 -1
  413. package/es/setup/header/Button/Button.js +32 -59
  414. package/es/setup/header/Button/props/defaultProps.js +4 -0
  415. package/es/setup/header/Button/props/propTypes.js +7 -0
  416. package/es/setup/header/Link/HeaderLink.module.css +4 -5
  417. package/es/setup/header/Link/Link.js +39 -70
  418. package/es/setup/header/Link/props/defaultProps.js +4 -0
  419. package/es/setup/header/Link/props/propTypes.js +8 -0
  420. package/es/setup/header/Search/Search.js +71 -96
  421. package/es/setup/header/Search/Search.module.css +13 -12
  422. package/es/setup/header/Search/props/defaultProps.js +5 -0
  423. package/es/setup/header/Search/props/propTypes.js +11 -0
  424. package/es/setup/header/Views/Views.js +43 -77
  425. package/es/setup/header/Views/Views.module.css +4 -4
  426. package/es/setup/header/Views/props/defaultProps.js +6 -0
  427. package/es/setup/header/Views/props/propTypes.js +9 -0
  428. package/es/setup/helptips/Description/Description.js +21 -42
  429. package/es/setup/helptips/Description/HelpTipsDescription.module.css +2 -2
  430. package/es/setup/helptips/Description/props/propTypes.js +4 -0
  431. package/es/setup/helptips/Link/HelpTipsLink.module.css +2 -2
  432. package/es/setup/helptips/Link/Link.js +34 -57
  433. package/es/setup/helptips/Link/props/propTypes.js +7 -0
  434. package/es/setup/helptips/ListGroup/ListGroup.js +33 -63
  435. package/es/setup/helptips/ListGroup/ListGroup.module.css +2 -2
  436. package/es/setup/helptips/ListGroup/props/propTypes.js +5 -0
  437. package/es/setup/helptips/Title/HelpTipsTitle.module.css +2 -2
  438. package/es/setup/helptips/Title/Title.js +21 -42
  439. package/es/setup/helptips/Title/props/propTypes.js +4 -0
  440. package/es/setup/table/Table/Table.js +23 -50
  441. package/es/setup/table/Table/props/defaultProps.js +4 -0
  442. package/es/setup/table/Table/props/propTypes.js +6 -0
  443. package/es/setup/table/TableBody/TableBody.js +27 -50
  444. package/es/setup/table/TableBody/props/defaultProps.js +3 -0
  445. package/es/setup/table/TableBody/props/propTypes.js +7 -0
  446. package/es/setup/table/TableData/TableData.js +33 -65
  447. package/es/setup/table/TableData/props/defaultProps.js +5 -0
  448. package/es/setup/table/TableData/props/propTypes.js +10 -0
  449. package/es/setup/table/TableHead/SetupTableHead.module.css +12 -0
  450. package/es/setup/table/TableHead/TableHead.js +35 -69
  451. package/es/setup/table/TableHead/props/defaultProps.js +4 -0
  452. package/es/setup/table/TableHead/props/propTypes.js +7 -0
  453. package/es/setup/table/TableRow/SetupTableRow.module.css +14 -0
  454. package/es/setup/table/TableRow/TableRow.js +40 -75
  455. package/es/setup/table/TableRow/props/defaultProps.js +4 -0
  456. package/es/setup/table/TableRow/props/propTypes.js +11 -0
  457. package/es/setup/table/Text/TableText.module.css +37 -0
  458. package/es/setup/table/Text/Text.js +48 -100
  459. package/es/setup/table/Text/props/defaultProps.js +7 -0
  460. package/es/setup/table/Text/props/propTypes.js +13 -0
  461. package/es/svg/PlusIcon.js +31 -66
  462. package/es/svg/SnippetIcon.js +33 -69
  463. package/es/svg/TemplateIcon.js +34 -64
  464. package/es/svg/props/defaultProps.js +15 -0
  465. package/es/svg/props/propTypes.js +16 -0
  466. package/es/utils/ChannelIconMapping.js +101 -84
  467. package/es/utils/General.js +25 -6
  468. package/es/utils/editorUtils.js +169 -0
  469. package/es/version2/AlertClose/AlertClose.js +40 -0
  470. package/es/version2/AlertClose/AlertClose.module.css +43 -0
  471. package/es/version2/AlertClose/props/propTypes.js +8 -0
  472. package/es/version2/GlobalNotification/GlobalNotification.js +134 -0
  473. package/es/version2/GlobalNotification/GlobalNotification.module.css +125 -0
  474. package/es/version2/GlobalNotification/props/defaultProps.js +4 -0
  475. package/es/version2/GlobalNotification/props/propTypes.js +14 -0
  476. package/es/version2/alertIcons/AlarmAlertIcon.js +67 -0
  477. package/es/version2/alertIcons/AlertIcons.js +61 -0
  478. package/es/version2/alertIcons/AlertIcons.module.css +67 -0
  479. package/es/version2/alertIcons/DangerAlertIcon.js +67 -0
  480. package/es/version2/alertIcons/ErrorAlertIcon.js +72 -0
  481. package/es/version2/alertIcons/InfoAlertIcon.js +76 -0
  482. package/es/version2/alertIcons/NotificationAlertIcon.js +72 -0
  483. package/es/version2/alertIcons/SuccessAlertIcon.js +67 -0
  484. package/es/version2/alertIcons/WarningAlertIcon.js +67 -0
  485. package/es/version2/alertIcons/props/defaultProps.js +27 -0
  486. package/es/version2/alertIcons/props/propTypes.js +34 -0
  487. package/es/version2/errorstate/Inconvenience/Inconvenience.js +70 -0
  488. package/es/version2/errorstate/Inconvenience/props/defaultProps.js +8 -0
  489. package/es/version2/errorstate/Inconvenience/props/propTypes.js +16 -0
  490. package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +71 -0
  491. package/es/version2/errorstate/OopsSomethingMiss/props/defaultProps.js +8 -0
  492. package/es/version2/errorstate/OopsSomethingMiss/props/propTypes.js +16 -0
  493. package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +70 -0
  494. package/es/version2/errorstate/UnableToProcessRequest/props/defaultProps.js +8 -0
  495. package/es/version2/errorstate/UnableToProcessRequest/props/propTypes.js +16 -0
  496. package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +72 -0
  497. package/es/version2/errorstate/UnauthorizedLogin/props/defaultProps.js +9 -0
  498. package/es/version2/errorstate/UnauthorizedLogin/props/propTypes.js +17 -0
  499. package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +70 -0
  500. package/es/version2/errorstate/UrlNotFound/props/defaultProps.js +8 -0
  501. package/es/version2/errorstate/UrlNotFound/props/propTypes.js +16 -0
  502. package/es/version2/errorstate/V2_ErrorStates.module.css +46 -0
  503. package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +70 -0
  504. package/es/version2/errorstate/WillBeRightBack/props/defaultProps.js +8 -0
  505. package/es/version2/errorstate/WillBeRightBack/props/propTypes.js +16 -0
  506. package/es/version2/lookup/AlertHeader/AlertHeader.js +63 -0
  507. package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +87 -0
  508. package/es/version2/lookup/AlertHeader/props/defaultProps.js +6 -0
  509. package/es/version2/lookup/AlertHeader/props/propTypes.js +12 -0
  510. package/es/version2/lookup/AlertLookup/AlertLookup.js +197 -0
  511. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +44 -0
  512. package/es/version2/lookup/AlertLookup/props/defaultProps.js +13 -0
  513. package/es/version2/lookup/AlertLookup/props/propTypes.js +36 -0
  514. package/es/version2/lookup/alertLookupCommonNew.module.css +33 -0
  515. package/es/version2/notification/DesktopNotification/DesktopNotification.js +161 -0
  516. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -0
  517. package/es/version2/notification/DesktopNotification/props/defaultProps.js +15 -0
  518. package/es/version2/notification/DesktopNotification/props/propTypes.js +37 -0
  519. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +61 -0
  520. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +137 -0
  521. package/es/version2/notification/DesktopNotificationHeader/props/defaultProps.js +5 -0
  522. package/es/version2/notification/DesktopNotificationHeader/props/propTypes.js +11 -0
  523. package/images/audio_thumbnail.png +0 -0
  524. package/install.md +12 -0
  525. package/lib/ActionButton/ActionButton.js +172 -0
  526. package/lib/ActionButton/ActionButton.module.css +139 -0
  527. package/lib/ActionButton/props/defaultProps.js +24 -0
  528. package/lib/ActionButton/props/propTypes.js +39 -0
  529. package/lib/AlphabeticList/AlphabeticList.js +144 -0
  530. package/lib/AlphabeticList/AlphabeticList.module.css +57 -0
  531. package/lib/AlphabeticList/props/defaultProps.js +20 -0
  532. package/lib/AlphabeticList/props/propTypes.js +41 -0
  533. package/lib/Attachment/Attachment.js +117 -0
  534. package/lib/Attachment/Attachment.module.css +158 -0
  535. package/lib/Attachment/props/defaultProps.js +14 -0
  536. package/lib/Attachment/props/propTypes.js +24 -0
  537. package/lib/AttachmentViewer/Attachment.js +24 -0
  538. package/lib/AttachmentViewer/AttachmentImage.js +97 -0
  539. package/lib/AttachmentViewer/AttachmentViewer.js +559 -0
  540. package/lib/AttachmentViewer/AttachmentViewer.module.css +354 -0
  541. package/lib/AttachmentViewer/props/defaultProps.js +18 -0
  542. package/lib/AttachmentViewer/props/propTypes.js +40 -0
  543. package/lib/AttachmentViewer/utils.js +113 -0
  544. package/lib/ChannelIcon/ChannelIcon.js +105 -126
  545. package/lib/ChannelIcon/ChannelIcon.module.css +68 -59
  546. package/lib/ChannelIcon/props/defaultProps.js +14 -0
  547. package/lib/ChannelIcon/props/propTypes.js +33 -0
  548. package/lib/Drawer/Drawer.js +278 -335
  549. package/lib/Drawer/Drawer.module.css +71 -123
  550. package/lib/Drawer/props/defaultProps.js +30 -0
  551. package/lib/Drawer/props/propTypes.js +61 -0
  552. package/lib/ExternalLink/ExternalLink.js +59 -87
  553. package/lib/ExternalLink/ExternalLink.module.css +3 -3
  554. package/lib/ExternalLink/__tests__/ExternalLink.spec.js +13 -31
  555. package/lib/ExternalLink/props/defaultProps.js +12 -0
  556. package/lib/ExternalLink/props/propTypes.js +20 -0
  557. package/lib/FlipCard/FlipCard.js +139 -183
  558. package/lib/FlipCard/FlipCard.module.css +15 -6
  559. package/lib/FlipCard/props/defaultProps.js +12 -0
  560. package/lib/FlipCard/props/propTypes.js +45 -0
  561. package/lib/FormAction/FormAction.js +78 -114
  562. package/lib/FormAction/FormAction.module.css +9 -4
  563. package/lib/FormAction/props/defaultProps.js +12 -0
  564. package/lib/FormAction/props/propTypes.js +16 -0
  565. package/lib/FreezeLayer/FreezeLayer.js +74 -164
  566. package/lib/FreezeLayer/css/FreezeLayer.module.css +42 -0
  567. package/lib/FreezeLayer/css/cssJSLogic.js +25 -0
  568. package/lib/FreezeLayer/index.js +20 -0
  569. package/lib/FreezeLayer/props/defaultProps.js +16 -0
  570. package/lib/FreezeLayer/props/propTypes.js +26 -0
  571. package/lib/FreezeLayer/useFreezeLayer.js +73 -0
  572. package/lib/IconButton/IconButton.js +160 -98
  573. package/lib/IconButton/IconButton.module.css +13 -28
  574. package/lib/IconButton/props/defaultProps.js +24 -0
  575. package/lib/IconButton/props/propTypes.js +41 -0
  576. package/lib/Image/Image.js +51 -68
  577. package/lib/Image/props/defaultProps.js +11 -0
  578. package/lib/Image/props/propTypes.js +21 -0
  579. package/lib/ImportantNotes/ImportantNotes.js +75 -0
  580. package/lib/ImportantNotes/ImportantNotes.module.css +20 -0
  581. package/lib/ImportantNotes/props/defaultProps.js +13 -0
  582. package/lib/ImportantNotes/props/propTypes.js +18 -0
  583. package/lib/Link/Link.js +78 -108
  584. package/lib/Link/LinkContext.js +7 -10
  585. package/lib/Link/props/defaultProps.js +12 -0
  586. package/lib/Link/props/propTypes.js +22 -0
  587. package/lib/Loader/Loader.js +53 -0
  588. package/lib/Loader/Loader.module.css +46 -0
  589. package/lib/Message/Message.js +136 -0
  590. package/lib/Message/Message.module.css +103 -0
  591. package/lib/Message/props/defaultProps.js +11 -0
  592. package/lib/Message/props/propTypes.js +21 -0
  593. package/lib/MessageBanner/MessageBanner.js +92 -0
  594. package/lib/MessageBanner/MessageBanner.module.css +46 -0
  595. package/lib/MessageBanner/props/defaultProps.js +14 -0
  596. package/lib/MessageBanner/props/propTypes.js +21 -0
  597. package/lib/NewStar/NewStar.js +100 -0
  598. package/lib/NewStar/NewStar.module.css +175 -0
  599. package/lib/NewStar/props/defaultProps.js +11 -0
  600. package/lib/NewStar/props/propTypes.js +14 -0
  601. package/lib/PlusIcon/PlusIcon.js +56 -93
  602. package/lib/PlusIcon/PlusIcon.module.css +11 -2
  603. package/lib/PlusIcon/props/defaultProps.js +15 -0
  604. package/lib/PlusIcon/props/propTypes.js +19 -0
  605. package/lib/Provider/Config.js +19 -0
  606. package/lib/Separator/Separator.js +84 -0
  607. package/lib/Separator/Separator.module.css +34 -0
  608. package/lib/Separator/props/defaultProps.js +19 -0
  609. package/lib/Separator/props/propTypes.js +19 -0
  610. package/lib/ToastMessage/ToastMessage.js +213 -360
  611. package/lib/ToastMessage/ToastMessage.module.css +57 -62
  612. package/lib/ToastMessage/props/defaultProps.js +25 -0
  613. package/lib/ToastMessage/props/propTypes.js +47 -0
  614. package/lib/Upload/Upload.js +104 -0
  615. package/lib/Upload/Upload.module.css +125 -0
  616. package/lib/Upload/props/defaultProps.js +14 -0
  617. package/lib/Upload/props/propTypes.js +25 -0
  618. package/lib/actions/AutoClose.js +58 -0
  619. package/lib/actions/index.js +8 -3
  620. package/lib/actions/props/defaultProps.js +10 -0
  621. package/lib/actions/props/propTypes.js +15 -0
  622. package/lib/alert/AlertHeader/AlertHeader.js +86 -142
  623. package/lib/alert/AlertHeader/AlertHeader.module.css +14 -13
  624. package/lib/alert/AlertHeader/props/defaultProps.js +15 -0
  625. package/lib/alert/AlertHeader/props/propTypes.js +23 -0
  626. package/lib/alert/AlertLookup/AlertLookup.js +122 -219
  627. package/lib/alert/AlertLookup/AlertLookup.module.css +7 -3
  628. package/lib/alert/AlertLookup/props/defaultProps.js +21 -0
  629. package/lib/alert/AlertLookup/props/propTypes.js +44 -0
  630. package/lib/avatar/AvatarClose/AvatarClose.js +64 -81
  631. package/lib/avatar/AvatarClose/AvatarClose.module.css +4 -4
  632. package/lib/avatar/AvatarClose/props/defaultProps.js +13 -0
  633. package/lib/avatar/AvatarClose/props/propTypes.js +22 -0
  634. package/lib/avatar/AvatarCollision/AvatarCollision.js +72 -102
  635. package/lib/avatar/AvatarCollision/AvatarCollision.module.css +9 -9
  636. package/lib/avatar/AvatarCollision/props/defaultProps.js +15 -0
  637. package/lib/avatar/AvatarCollision/props/propTypes.js +25 -0
  638. package/lib/avatar/AvatarIcon/AvatarIcon.js +68 -99
  639. package/lib/avatar/AvatarIcon/AvatarIcon.module.css +32 -10
  640. package/lib/avatar/AvatarIcon/props/defaultProps.js +21 -0
  641. package/lib/avatar/AvatarIcon/props/propTypes.js +28 -0
  642. package/lib/avatar/AvatarStatus/AvatarStatus.js +84 -85
  643. package/lib/avatar/AvatarStatus/AvatarStatus.module.css +87 -34
  644. package/lib/avatar/AvatarStatus/props/defaultProps.js +19 -0
  645. package/lib/avatar/AvatarStatus/props/propTypes.js +33 -0
  646. package/lib/avatar/AvatarThread/AvatarThread.js +93 -118
  647. package/lib/avatar/AvatarThread/AvatarThread.module.css +119 -17
  648. package/lib/avatar/AvatarThread/props/defaultProps.js +16 -0
  649. package/lib/avatar/AvatarThread/props/propTypes.js +38 -0
  650. package/lib/avatar/AvatarUser/AvatarUser.js +124 -135
  651. package/lib/avatar/AvatarUser/AvatarUser.module.css +95 -25
  652. package/lib/avatar/AvatarUser/props/defaultProps.js +15 -0
  653. package/lib/avatar/AvatarUser/props/propTypes.js +43 -0
  654. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +116 -92
  655. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +5 -5
  656. package/lib/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +42 -51
  657. package/lib/avatar/AvatarWithTeam/props/defaultProps.js +16 -0
  658. package/lib/avatar/AvatarWithTeam/props/propTypes.js +33 -0
  659. package/lib/common/dot_animation.module.css +27 -0
  660. package/lib/common/dot_common.module.css +4 -0
  661. package/lib/deprecated/FreezeLayer/FreezeLayer.js +163 -0
  662. package/lib/deprecated/FreezeLayer/FreezeLayer.module.css +42 -0
  663. package/lib/deprecated/FreezeLayer/props/defaultProps.js +15 -0
  664. package/lib/deprecated/FreezeLayer/props/propTypes.js +25 -0
  665. package/lib/deprecated/SelectDropdown/SelectDropdown.js +175 -0
  666. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +56 -0
  667. package/lib/deprecated/utils/General.js +24 -0
  668. package/lib/deprecated/utils/KeyboardApi.js +258 -0
  669. package/lib/docs/formDocs.js +111 -0
  670. package/lib/docs/generalDocs.js +179 -631
  671. package/lib/docs/lookupDocs.js +50 -128
  672. package/lib/docs/setupDocs.js +35 -175
  673. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +793 -556
  674. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +40 -13
  675. package/lib/dropdown/ToggleDropDown/props/defaultProps.js +32 -0
  676. package/lib/dropdown/ToggleDropDown/props/propTypes.js +79 -0
  677. package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +83 -140
  678. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +66 -15
  679. package/lib/emptystate/CommonEmptyState/props/defaultProps.js +17 -0
  680. package/lib/emptystate/CommonEmptyState/props/propTypes.js +29 -0
  681. package/lib/emptystate/EditionPage/EditionPage.css +5 -5
  682. package/lib/emptystate/EditionPage/EditionPage.js +69 -105
  683. package/lib/emptystate/EditionPage/props/defaultProps.js +12 -0
  684. package/lib/emptystate/EditionPage/props/propTypes.js +15 -0
  685. package/lib/errorstate/EmptyStates.module.css +56 -13
  686. package/lib/errorstate/Inconvenience/Inconvenience.js +91 -98
  687. package/lib/errorstate/Inconvenience/Inconvenience.module.css +0 -2
  688. package/lib/errorstate/Inconvenience/props/defaultProps.js +11 -0
  689. package/lib/errorstate/Inconvenience/props/propTypes.js +19 -0
  690. package/lib/errorstate/LinkText/LinkText.js +45 -62
  691. package/lib/errorstate/LinkText/LinkText.module.css +2 -2
  692. package/lib/errorstate/LinkText/props/defaultProps.js +11 -0
  693. package/lib/errorstate/LinkText/props/propTypes.js +16 -0
  694. package/lib/errorstate/NoRequestFound/NoRequestFound.js +96 -103
  695. package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +0 -2
  696. package/lib/errorstate/NoRequestFound/props/defaultProps.js +11 -0
  697. package/lib/errorstate/NoRequestFound/props/propTypes.js +19 -0
  698. package/lib/errorstate/PermissionPlay/PermissionPlay.js +95 -111
  699. package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +10 -9
  700. package/lib/errorstate/PermissionPlay/props/defaultProps.js +11 -0
  701. package/lib/errorstate/PermissionPlay/props/propTypes.js +19 -0
  702. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +96 -103
  703. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +0 -2
  704. package/lib/errorstate/RequestUrlNotFound/props/defaultProps.js +11 -0
  705. package/lib/errorstate/RequestUrlNotFound/props/propTypes.js +19 -0
  706. package/lib/errorstate/UnableToProcess/UnableToProcess.js +91 -98
  707. package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +0 -15
  708. package/lib/errorstate/UnableToProcess/props/defaultProps.js +11 -0
  709. package/lib/errorstate/UnableToProcess/props/propTypes.js +19 -0
  710. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +96 -103
  711. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +0 -15
  712. package/lib/errorstate/UnauthorizedLogin/props/defaultProps.js +11 -0
  713. package/lib/errorstate/UnauthorizedLogin/props/propTypes.js +19 -0
  714. package/lib/errorstate/WillBack/WillBack.js +87 -92
  715. package/lib/errorstate/WillBack/WillBack.module.css +23 -10
  716. package/lib/errorstate/WillBack/props/defaultProps.js +11 -0
  717. package/lib/errorstate/WillBack/props/propTypes.js +13 -0
  718. package/lib/form/fields/CheckBoxField/CheckBoxField.js +167 -0
  719. package/lib/form/fields/CheckBoxField/props/defaultProps.js +24 -0
  720. package/lib/form/fields/CheckBoxField/props/propTypes.js +40 -0
  721. package/lib/form/fields/CurrencyField/CurrencyField.js +204 -0
  722. package/lib/form/fields/CurrencyField/props/defaultProps.js +29 -0
  723. package/lib/form/fields/CurrencyField/props/propTypes.js +49 -0
  724. package/lib/form/fields/DateField/DateField.js +216 -0
  725. package/lib/form/fields/DateField/props/defaultProps.js +31 -0
  726. package/lib/form/fields/DateField/props/propTypes.js +52 -0
  727. package/lib/form/fields/FieldContainer/FieldContainer.js +94 -0
  728. package/lib/form/fields/FieldContainer/props/defaultProps.js +19 -0
  729. package/lib/form/fields/FieldContainer/props/propTypes.js +25 -0
  730. package/lib/form/fields/Fields.module.css +183 -0
  731. package/lib/form/fields/MultiSelectField/MultiSelectField.js +242 -0
  732. package/lib/form/fields/MultiSelectField/props/defaultProps.js +29 -0
  733. package/lib/form/fields/MultiSelectField/props/propTypes.js +63 -0
  734. package/lib/form/fields/PhoneField/PhoneField.js +206 -0
  735. package/lib/form/fields/PhoneField/props/defaultProps.js +23 -0
  736. package/lib/form/fields/PhoneField/props/propTypes.js +48 -0
  737. package/lib/form/fields/RadioField/RadioField.js +141 -0
  738. package/lib/form/fields/RadioField/props/defaultProps.js +19 -0
  739. package/lib/form/fields/RadioField/props/propTypes.js +38 -0
  740. package/lib/form/fields/SelectField/SelectField.js +210 -0
  741. package/lib/form/fields/SelectField/props/defaultProps.js +30 -0
  742. package/lib/form/fields/SelectField/props/propTypes.js +63 -0
  743. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +308 -0
  744. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -0
  745. package/lib/form/fields/TagsMultiSelect/props/defaultProps.js +18 -0
  746. package/lib/form/fields/TagsMultiSelect/props/propTypes.js +51 -0
  747. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +258 -0
  748. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -0
  749. package/lib/form/fields/TagsMultiSelectField/props/defaultProps.js +31 -0
  750. package/lib/form/fields/TagsMultiSelectField/props/propTypes.js +65 -0
  751. package/lib/form/fields/TextBoxField/TextBoxField.js +192 -0
  752. package/lib/form/fields/TextBoxField/props/defaultProps.js +29 -0
  753. package/lib/form/fields/TextBoxField/props/propTypes.js +50 -0
  754. package/lib/form/fields/TextEditor/TextEditor.js +399 -0
  755. package/lib/form/fields/TextEditor/TextEditor.module.css +666 -0
  756. package/lib/form/fields/TextEditor/props/defaultProps.js +20 -0
  757. package/lib/form/fields/TextEditor/props/propTypes.js +48 -0
  758. package/lib/form/fields/TextEditorField/TextEditorField.js +202 -0
  759. package/lib/form/fields/TextEditorField/props/defaultProps.js +27 -0
  760. package/lib/form/fields/TextEditorField/props/propTypes.js +60 -0
  761. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +224 -0
  762. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +37 -0
  763. package/lib/form/fields/TextEditorWrapper/props/defaultProps.js +16 -0
  764. package/lib/form/fields/TextEditorWrapper/props/propTypes.js +47 -0
  765. package/lib/form/fields/TextareaField/TextareaField.js +189 -0
  766. package/lib/form/fields/TextareaField/props/defaultProps.js +27 -0
  767. package/lib/form/fields/TextareaField/props/propTypes.js +47 -0
  768. package/lib/form/fields/ValidationMessage/ValidationMessage.js +87 -0
  769. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -0
  770. package/lib/form/fields/ValidationMessage/props/defaultProps.js +14 -0
  771. package/lib/form/fields/ValidationMessage/props/propTypes.js +22 -0
  772. package/lib/form/fields/props/FieldCommonDefaultProps.js +17 -0
  773. package/lib/form/fields/props/FieldCommonPropTypes.js +31 -0
  774. package/lib/form/layout/Field/Field.js +65 -0
  775. package/lib/form/layout/Field/Field.module.css +22 -0
  776. package/lib/form/layout/Field/props/defaultProps.js +11 -0
  777. package/lib/form/layout/Field/props/propTypes.js +18 -0
  778. package/lib/form/layout/Section/ModuleFormSection.module.css +3 -0
  779. package/lib/form/layout/Section/Section.js +63 -0
  780. package/lib/form/layout/Section/props/propTypes.js +17 -0
  781. package/lib/index.js +18 -56
  782. package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +191 -304
  783. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +20 -20
  784. package/lib/layout/SetupDetailLayout/index.js +12 -13
  785. package/lib/layout/SetupDetailLayout/props/defaultProps.js +28 -0
  786. package/lib/layout/SetupDetailLayout/props/propTypes.js +44 -0
  787. package/lib/layout/SubtabLayout/SubtabLayout.js +171 -225
  788. package/lib/layout/SubtabLayout/SubtabLayout.module.css +72 -16
  789. package/lib/layout/SubtabLayout/index.js +16 -11
  790. package/lib/layout/SubtabLayout/props/defaultProps.js +35 -0
  791. package/lib/layout/SubtabLayout/props/propTypes.js +51 -0
  792. package/lib/list/AvatarFlip/AvatarFlip.js +74 -96
  793. package/lib/list/AvatarFlip/AvatarFlip.module.css +1 -13
  794. package/lib/list/AvatarFlip/props/defaultProps.js +13 -0
  795. package/lib/list/AvatarFlip/props/propTypes.js +37 -0
  796. package/lib/list/BluePrintStatus/BluePrintStatus.js +40 -58
  797. package/lib/list/BluePrintStatus/BluePrintStatus.module.css +8 -6
  798. package/lib/list/BluePrintStatus/props/propTypes.js +12 -0
  799. package/lib/list/Comment/Comment.js +57 -86
  800. package/lib/list/Comment/Comment.module.css +12 -5
  801. package/lib/list/Comment/props/defaultProps.js +10 -0
  802. package/lib/list/Comment/props/propTypes.js +17 -0
  803. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +94 -90
  804. package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +6 -80
  805. package/lib/list/DepartmentDropDown/props/defaultProps.js +14 -0
  806. package/lib/list/DepartmentDropDown/props/propTypes.js +33 -0
  807. package/lib/list/Dot/Dot.js +34 -51
  808. package/lib/list/Dot/Dot.module.css +7 -5
  809. package/lib/list/Dot/props/defaultProps.js +11 -0
  810. package/lib/list/Dot/props/propTypes.js +13 -0
  811. package/lib/list/DotNew/DotNew.js +43 -45
  812. package/lib/list/DotNew/DotNew.module.css +14 -11
  813. package/lib/list/DotNew/props/defaultProps.js +10 -0
  814. package/lib/list/DotNew/props/propTypes.js +14 -0
  815. package/lib/list/GridStencils/GridStencils.js +51 -70
  816. package/lib/list/GridStencils/GridStencils.module.css +23 -68
  817. package/lib/list/GridStencils/props/propTypes.js +15 -0
  818. package/lib/list/Icons/AddNewIcon.js +46 -83
  819. package/lib/list/Icons/CompleteIcon.js +52 -75
  820. package/lib/list/Icons/DeleteIcon.js +44 -89
  821. package/lib/list/Icons/EditIcon.js +48 -93
  822. package/lib/list/Icons/FloatingIcons.js +47 -60
  823. package/lib/list/Icons/Icons.module.css +5 -4
  824. package/lib/list/Icons/ReadUnreadIcon.js +61 -0
  825. package/lib/list/Icons/SmartIcon.js +53 -63
  826. package/lib/list/Icons/props/defaultProps.js +14 -0
  827. package/lib/list/Icons/props/propTypes.js +69 -0
  828. package/lib/list/ListLayout/ListLayout.js +89 -138
  829. package/lib/list/ListLayout/ListLayout.module.css +38 -7
  830. package/lib/list/ListLayout/props/defaultProps.js +18 -0
  831. package/lib/list/ListLayout/props/propTypes.js +39 -0
  832. package/lib/list/ListStencils/ListStencils.js +59 -69
  833. package/lib/list/ListStencils/ListStencils.module.css +48 -8
  834. package/lib/list/ListStencils/props/defaultProps.js +10 -0
  835. package/lib/list/ListStencils/props/propTypes.js +12 -0
  836. package/lib/list/SecondaryText/AccountName.js +97 -112
  837. package/lib/list/SecondaryText/ContactName.js +103 -142
  838. package/lib/list/SecondaryText/DepartmentText.js +43 -58
  839. package/lib/list/SecondaryText/Email.js +65 -99
  840. package/lib/list/SecondaryText/HappinessRating.js +46 -69
  841. package/lib/list/SecondaryText/PhoneNumber.js +69 -102
  842. package/lib/list/SecondaryText/PriorityText.js +46 -66
  843. package/lib/list/SecondaryText/SecondaryText.js +50 -64
  844. package/lib/list/SecondaryText/SecondaryText.module.css +53 -21
  845. package/lib/list/SecondaryText/StatusText.js +47 -69
  846. package/lib/list/SecondaryText/TicketId.js +65 -83
  847. package/lib/list/SecondaryText/Website.js +54 -96
  848. package/lib/list/SecondaryText/index.js +35 -58
  849. package/lib/list/SecondaryText/props/defaultProps.js +59 -0
  850. package/lib/list/SecondaryText/props/propTypes.js +161 -0
  851. package/lib/list/SecondryPanel/SecondryPanel.js +117 -182
  852. package/lib/list/SecondryPanel/SecondryPanel.module.css +1 -22
  853. package/lib/list/SecondryPanel/props/defaultProps.js +28 -0
  854. package/lib/list/SecondryPanel/props/propTypes.js +38 -0
  855. package/lib/list/SentimentStatus/SentimentStatus.js +42 -56
  856. package/lib/list/SentimentStatus/SentimentStatus.module.css +1 -1
  857. package/lib/list/SentimentStatus/props/propTypes.js +13 -0
  858. package/lib/list/Subject/Subject.js +69 -95
  859. package/lib/list/Subject/Subject.module.css +21 -3
  860. package/lib/list/Subject/props/defaultProps.js +14 -0
  861. package/lib/list/Subject/props/propTypes.js +27 -0
  862. package/lib/list/TagNew/TagNew.js +46 -62
  863. package/lib/list/TagNew/TagNew.module.css +5 -5
  864. package/lib/list/TagNew/props/defaultProps.js +11 -0
  865. package/lib/list/TagNew/props/propTypes.js +16 -0
  866. package/lib/list/Thread/Thread.js +56 -69
  867. package/lib/list/Thread/Thread.module.css +30 -7
  868. package/lib/list/Thread/props/defaultProps.js +11 -0
  869. package/lib/list/Thread/props/propTypes.js +16 -0
  870. package/lib/list/UserTime/UserTime.js +96 -120
  871. package/lib/list/UserTime/UserTime.module.css +23 -14
  872. package/lib/list/UserTime/props/defaultProps.js +10 -0
  873. package/lib/list/UserTime/props/propTypes.js +22 -0
  874. package/lib/list/listCommon.module.css +19 -51
  875. package/lib/list/status/StatusDropdown/StatusDropdown.js +473 -0
  876. package/lib/list/status/StatusDropdown/StatusDropdown.module.css +92 -0
  877. package/lib/list/status/StatusDropdown/props/defaultProps.js +25 -0
  878. package/lib/list/status/StatusDropdown/props/propTypes.js +32 -0
  879. package/lib/list/status/StatusListItem/StatusListItem.js +141 -0
  880. package/lib/list/status/StatusListItem/StatusListItem.module.css +104 -0
  881. package/lib/list/status/StatusListItem/props/defaultProps.js +21 -0
  882. package/lib/list/status/StatusListItem/props/propTypes.js +36 -0
  883. package/lib/lookup/EmptyPage/EmptyPage.js +61 -92
  884. package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +1 -1
  885. package/lib/lookup/EmptyPage/props/defaultProps.js +11 -0
  886. package/lib/lookup/EmptyPage/props/propTypes.js +13 -0
  887. package/lib/lookup/Lookup/Lookup.js +112 -111
  888. package/lib/lookup/Lookup/Lookup.module.css +12 -8
  889. package/lib/lookup/Lookup/props/defaultProps.js +14 -0
  890. package/lib/lookup/Lookup/props/propTypes.js +26 -0
  891. package/lib/lookup/Section/LookupSection.module.css +3 -2
  892. package/lib/lookup/Section/Section.js +36 -57
  893. package/lib/lookup/Section/props/propTypes.js +14 -0
  894. package/lib/lookup/header/Close/Close.js +42 -61
  895. package/lib/lookup/header/Close/LookupClose.module.css +5 -5
  896. package/lib/lookup/header/Close/props/defaultProps.js +10 -0
  897. package/lib/lookup/header/Close/props/propTypes.js +14 -0
  898. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +92 -126
  899. package/lib/lookup/header/ModuleHeader/props/defaultProps.js +10 -0
  900. package/lib/lookup/header/ModuleHeader/props/propTypes.js +25 -0
  901. package/lib/lookup/header/Search/LookupSearch.module.css +52 -9
  902. package/lib/lookup/header/Search/Search.js +213 -120
  903. package/lib/lookup/header/Search/props/defaultProps.js +12 -0
  904. package/lib/lookup/header/Search/props/propTypes.js +37 -0
  905. package/lib/lookup/header/TicketHeader/TicketHeader.js +107 -159
  906. package/lib/lookup/header/TicketHeader/TicketHeader.module.css +3 -2
  907. package/lib/lookup/header/TicketHeader/props/defaultProps.js +11 -0
  908. package/lib/lookup/header/TicketHeader/props/propTypes.js +28 -0
  909. package/lib/lookup/header/Title/LookupTitle.module.css +4 -4
  910. package/lib/lookup/header/Title/Title.js +42 -65
  911. package/lib/lookup/header/Title/props/defaultProps.js +10 -0
  912. package/lib/lookup/header/Title/props/propTypes.js +14 -0
  913. package/lib/lookup/header/ViewDropDown/ViewDropDown.js +168 -239
  914. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +9 -11
  915. package/lib/lookup/header/ViewDropDown/props/defaultProps.js +14 -0
  916. package/lib/lookup/header/ViewDropDown/props/propTypes.js +34 -0
  917. package/lib/lookup/header/lookupHeaderCommon.module.css +13 -5
  918. package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +1 -1
  919. package/lib/setup/header/Button/Button.js +49 -71
  920. package/lib/setup/header/Button/props/defaultProps.js +11 -0
  921. package/lib/setup/header/Button/props/propTypes.js +15 -0
  922. package/lib/setup/header/Link/HeaderLink.module.css +4 -5
  923. package/lib/setup/header/Link/Link.js +57 -87
  924. package/lib/setup/header/Link/props/defaultProps.js +11 -0
  925. package/lib/setup/header/Link/props/propTypes.js +16 -0
  926. package/lib/setup/header/Search/Search.js +73 -98
  927. package/lib/setup/header/Search/Search.module.css +13 -12
  928. package/lib/setup/header/Search/props/defaultProps.js +12 -0
  929. package/lib/setup/header/Search/props/propTypes.js +19 -0
  930. package/lib/setup/header/Views/Views.js +59 -88
  931. package/lib/setup/header/Views/Views.module.css +4 -4
  932. package/lib/setup/header/Views/props/defaultProps.js +13 -0
  933. package/lib/setup/header/Views/props/propTypes.js +17 -0
  934. package/lib/setup/helptips/Description/Description.js +35 -49
  935. package/lib/setup/helptips/Description/HelpTipsDescription.module.css +2 -2
  936. package/lib/setup/helptips/Description/props/propTypes.js +12 -0
  937. package/lib/setup/helptips/Link/HelpTipsLink.module.css +2 -2
  938. package/lib/setup/helptips/Link/Link.js +49 -67
  939. package/lib/setup/helptips/Link/props/propTypes.js +15 -0
  940. package/lib/setup/helptips/ListGroup/ListGroup.js +52 -70
  941. package/lib/setup/helptips/ListGroup/ListGroup.module.css +2 -2
  942. package/lib/setup/helptips/ListGroup/props/propTypes.js +13 -0
  943. package/lib/setup/helptips/Title/HelpTipsTitle.module.css +2 -2
  944. package/lib/setup/helptips/Title/Title.js +35 -49
  945. package/lib/setup/helptips/Title/props/propTypes.js +12 -0
  946. package/lib/setup/table/Table/Table.js +42 -56
  947. package/lib/setup/table/Table/props/defaultProps.js +11 -0
  948. package/lib/setup/table/Table/props/propTypes.js +14 -0
  949. package/lib/setup/table/TableBody/TableBody.js +47 -56
  950. package/lib/setup/table/TableBody/props/defaultProps.js +10 -0
  951. package/lib/setup/table/TableBody/props/propTypes.js +15 -0
  952. package/lib/setup/table/TableData/TableData.js +49 -74
  953. package/lib/setup/table/TableData/props/defaultProps.js +12 -0
  954. package/lib/setup/table/TableData/props/propTypes.js +18 -0
  955. package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -0
  956. package/lib/setup/table/TableHead/TableHead.js +51 -78
  957. package/lib/setup/table/TableHead/props/defaultProps.js +11 -0
  958. package/lib/setup/table/TableHead/props/propTypes.js +15 -0
  959. package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -0
  960. package/lib/setup/table/TableRow/TableRow.js +56 -84
  961. package/lib/setup/table/TableRow/props/defaultProps.js +11 -0
  962. package/lib/setup/table/TableRow/props/propTypes.js +19 -0
  963. package/lib/setup/table/Text/TableText.module.css +37 -0
  964. package/lib/setup/table/Text/Text.js +62 -105
  965. package/lib/setup/table/Text/props/defaultProps.js +14 -0
  966. package/lib/setup/table/Text/props/propTypes.js +21 -0
  967. package/lib/svg/PlusIcon.js +48 -72
  968. package/lib/svg/SnippetIcon.js +50 -75
  969. package/lib/svg/TemplateIcon.js +52 -71
  970. package/lib/svg/props/defaultProps.js +24 -0
  971. package/lib/svg/props/propTypes.js +26 -0
  972. package/lib/utils/ChannelIconMapping.js +103 -85
  973. package/lib/utils/General.js +26 -5
  974. package/lib/utils/editorUtils.js +188 -0
  975. package/lib/version2/AlertClose/AlertClose.js +71 -0
  976. package/lib/version2/AlertClose/AlertClose.module.css +43 -0
  977. package/lib/version2/AlertClose/props/propTypes.js +16 -0
  978. package/lib/version2/GlobalNotification/GlobalNotification.js +165 -0
  979. package/lib/version2/GlobalNotification/GlobalNotification.module.css +125 -0
  980. package/lib/version2/GlobalNotification/props/defaultProps.js +11 -0
  981. package/lib/version2/GlobalNotification/props/propTypes.js +22 -0
  982. package/lib/version2/alertIcons/AlarmAlertIcon.js +99 -0
  983. package/lib/version2/alertIcons/AlertIcons.js +93 -0
  984. package/lib/version2/alertIcons/AlertIcons.module.css +67 -0
  985. package/lib/version2/alertIcons/DangerAlertIcon.js +99 -0
  986. package/lib/version2/alertIcons/ErrorAlertIcon.js +104 -0
  987. package/lib/version2/alertIcons/InfoAlertIcon.js +108 -0
  988. package/lib/version2/alertIcons/NotificationAlertIcon.js +104 -0
  989. package/lib/version2/alertIcons/SuccessAlertIcon.js +99 -0
  990. package/lib/version2/alertIcons/WarningAlertIcon.js +99 -0
  991. package/lib/version2/alertIcons/props/defaultProps.js +41 -0
  992. package/lib/version2/alertIcons/props/propTypes.js +49 -0
  993. package/lib/version2/errorstate/Inconvenience/Inconvenience.js +101 -0
  994. package/lib/version2/errorstate/Inconvenience/props/defaultProps.js +15 -0
  995. package/lib/version2/errorstate/Inconvenience/props/propTypes.js +24 -0
  996. package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +102 -0
  997. package/lib/version2/errorstate/OopsSomethingMiss/props/defaultProps.js +15 -0
  998. package/lib/version2/errorstate/OopsSomethingMiss/props/propTypes.js +24 -0
  999. package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +101 -0
  1000. package/lib/version2/errorstate/UnableToProcessRequest/props/defaultProps.js +15 -0
  1001. package/lib/version2/errorstate/UnableToProcessRequest/props/propTypes.js +24 -0
  1002. package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +103 -0
  1003. package/lib/version2/errorstate/UnauthorizedLogin/props/defaultProps.js +16 -0
  1004. package/lib/version2/errorstate/UnauthorizedLogin/props/propTypes.js +25 -0
  1005. package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +101 -0
  1006. package/lib/version2/errorstate/UrlNotFound/props/defaultProps.js +15 -0
  1007. package/lib/version2/errorstate/UrlNotFound/props/propTypes.js +24 -0
  1008. package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -0
  1009. package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +101 -0
  1010. package/lib/version2/errorstate/WillBeRightBack/props/defaultProps.js +15 -0
  1011. package/lib/version2/errorstate/WillBeRightBack/props/propTypes.js +24 -0
  1012. package/lib/version2/lookup/AlertHeader/AlertHeader.js +95 -0
  1013. package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +87 -0
  1014. package/lib/version2/lookup/AlertHeader/props/defaultProps.js +13 -0
  1015. package/lib/version2/lookup/AlertHeader/props/propTypes.js +20 -0
  1016. package/lib/version2/lookup/AlertLookup/AlertLookup.js +226 -0
  1017. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +44 -0
  1018. package/lib/version2/lookup/AlertLookup/props/defaultProps.js +20 -0
  1019. package/lib/version2/lookup/AlertLookup/props/propTypes.js +44 -0
  1020. package/lib/version2/lookup/alertLookupCommonNew.module.css +33 -0
  1021. package/lib/version2/notification/DesktopNotification/DesktopNotification.js +169 -0
  1022. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -0
  1023. package/lib/version2/notification/DesktopNotification/props/defaultProps.js +22 -0
  1024. package/lib/version2/notification/DesktopNotification/props/propTypes.js +45 -0
  1025. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +91 -0
  1026. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +137 -0
  1027. package/lib/version2/notification/DesktopNotificationHeader/props/defaultProps.js +12 -0
  1028. package/lib/version2/notification/DesktopNotificationHeader/props/propTypes.js +19 -0
  1029. package/package.json +79 -23
  1030. package/__testUtils__/globals.js +0 -0
  1031. package/es/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -97
  1032. package/es/Drawer/docs/Drawer__default.docs.js +0 -73
  1033. package/es/Drawer/docs/Drawer__noFreeze.docs.js +0 -43
  1034. package/es/ExternalLink/docs/ExternalLink__default.docs.js +0 -40
  1035. package/es/FlipCard/docs/FlipCard__default.docs.js +0 -105
  1036. package/es/FormAction/docs/FormAction__default.docs.js +0 -199
  1037. package/es/FreezeLayer/FreezeLayer.module.css +0 -41
  1038. package/es/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -77
  1039. package/es/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -76
  1040. package/es/IconButton/docs/IconButton__default.docs.js +0 -81
  1041. package/es/Image/docs/Image__default.docs.js +0 -40
  1042. package/es/Link/docs/Link__default.docs.js +0 -64
  1043. package/es/PlusIcon/docs/PlusIcon__default.docs.js +0 -40
  1044. package/es/ToastMessage/docs/ToastMessage__custom.docs.js +0 -132
  1045. package/es/ToastMessage/docs/ToastMessage__information.docs.js +0 -80
  1046. package/es/ToastMessage/docs/ToastMessage__primary.docs.js +0 -172
  1047. package/es/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -64
  1048. package/es/ToastMessage/docs/ToastMessage__success.docs.js +0 -94
  1049. package/es/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -91
  1050. package/es/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -170
  1051. package/es/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -44
  1052. package/es/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -58
  1053. package/es/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -54
  1054. package/es/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -49
  1055. package/es/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -52
  1056. package/es/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -75
  1057. package/es/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -69
  1058. package/es/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -146
  1059. package/es/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -45
  1060. package/es/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -78
  1061. package/es/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -85
  1062. package/es/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -42
  1063. package/es/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -39
  1064. package/es/errorstate/LinkText/docs/LinkText__default.docs.js +0 -35
  1065. package/es/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -39
  1066. package/es/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -40
  1067. package/es/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -39
  1068. package/es/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -39
  1069. package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -40
  1070. package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -39
  1071. package/es/errorstate/WillBack/docs/WillBack__default.docs.js +0 -41
  1072. package/es/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -79
  1073. package/es/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -191
  1074. package/es/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -308
  1075. package/es/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -36
  1076. package/es/list/Comment/docs/Comment__default.docs.js +0 -40
  1077. package/es/list/DotNew/docs/DotNew__default.docs.js +0 -36
  1078. package/es/list/GridStencils/docs/GridStencils__default.docs.js +0 -50
  1079. package/es/list/Icons/docs/FloatingIcons__default.docs.js +0 -56
  1080. package/es/list/ListLayout/docs/ListLayout__default.docs.js +0 -131
  1081. package/es/list/ListStencils/docs/ListStencils__default.docs.js +0 -36
  1082. package/es/list/SecondaryText/docs/ContactName__default.docs.js +0 -36
  1083. package/es/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -41
  1084. package/es/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -131
  1085. package/es/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -36
  1086. package/es/list/StatusDropdown/StatusDropdown.js +0 -205
  1087. package/es/list/StatusDropdown/StatusDropdown.module.css +0 -65
  1088. package/es/list/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -76
  1089. package/es/list/Subject/docs/Subject__default.docs.js +0 -49
  1090. package/es/list/TagNew/docs/TagNew__default.docs.js +0 -36
  1091. package/es/list/Thread/docs/Thread__default.docs.js +0 -36
  1092. package/es/list/TimeInfo/TimeInfo.js +0 -171
  1093. package/es/list/TimeInfo/docs/TimeInfo__default.docs.js +0 -49
  1094. package/es/list/UserTime/docs/UserTime__default.docs.js +0 -172
  1095. package/es/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -38
  1096. package/es/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -38
  1097. package/es/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -37
  1098. package/es/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -38
  1099. package/es/lookup/Lookup/docs/Lookup__contact.docs.js +0 -212
  1100. package/es/lookup/Lookup/docs/Lookup__default.docs.js +0 -90
  1101. package/es/lookup/header/Close/docs/Close__default.docs.js +0 -35
  1102. package/es/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -58
  1103. package/es/lookup/header/Search/docs/Search__default.docs.js +0 -62
  1104. package/es/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -74
  1105. package/es/lookup/header/Title/docs/Title__default.docs.js +0 -35
  1106. package/es/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -64
  1107. package/es/setup/header/Button/docs/Button__default.docs.js +0 -37
  1108. package/es/setup/header/Link/docs/Link__default.docs.js +0 -36
  1109. package/es/setup/header/Search/docs/Search__default.docs.js +0 -54
  1110. package/es/setup/header/SelectDropdown/SelectDropdown.js +0 -162
  1111. package/es/setup/header/SelectDropdown/SelectDropdown.module.css +0 -43
  1112. package/es/setup/header/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -44
  1113. package/es/setup/header/Views/docs/Views__default.docs.js +0 -40
  1114. package/es/setup/helptips/Description/docs/Description__default.docs.js +0 -42
  1115. package/es/setup/helptips/Link/docs/Link__default.docs.js +0 -43
  1116. package/es/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -46
  1117. package/es/setup/helptips/Title/docs/Title__default.docs.js +0 -40
  1118. package/es/setup/table/Table/docs/Table__default.docs.js +0 -193
  1119. package/es/setup/table/TableHead/TableHead.css +0 -12
  1120. package/es/setup/table/TableRow/TableRow.css +0 -14
  1121. package/es/setup/table/Text/Text.css +0 -37
  1122. package/es/setup/table/Text/docs/Text__default.docs.js +0 -69
  1123. package/es/svg/docs/SVG__default.docs.js +0 -87
  1124. package/es/utils/KeyboardApi.js +0 -254
  1125. package/es/utils/Ticket.js +0 -3
  1126. package/lib/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -114
  1127. package/lib/Drawer/docs/Drawer__default.docs.js +0 -95
  1128. package/lib/Drawer/docs/Drawer__noFreeze.docs.js +0 -59
  1129. package/lib/ExternalLink/docs/ExternalLink__default.docs.js +0 -56
  1130. package/lib/FlipCard/docs/FlipCard__default.docs.js +0 -124
  1131. package/lib/FormAction/docs/FormAction__default.docs.js +0 -221
  1132. package/lib/FreezeLayer/FreezeLayer.module.css +0 -41
  1133. package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -96
  1134. package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -95
  1135. package/lib/IconButton/docs/IconButton__default.docs.js +0 -97
  1136. package/lib/Image/docs/Image__default.docs.js +0 -59
  1137. package/lib/Link/docs/Link__default.docs.js +0 -80
  1138. package/lib/PlusIcon/docs/PlusIcon__default.docs.js +0 -59
  1139. package/lib/ToastMessage/docs/ToastMessage__custom.docs.js +0 -157
  1140. package/lib/ToastMessage/docs/ToastMessage__information.docs.js +0 -99
  1141. package/lib/ToastMessage/docs/ToastMessage__primary.docs.js +0 -191
  1142. package/lib/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -83
  1143. package/lib/ToastMessage/docs/ToastMessage__success.docs.js +0 -113
  1144. package/lib/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -107
  1145. package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -189
  1146. package/lib/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -63
  1147. package/lib/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -77
  1148. package/lib/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -76
  1149. package/lib/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -71
  1150. package/lib/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -74
  1151. package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -97
  1152. package/lib/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -91
  1153. package/lib/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -168
  1154. package/lib/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -64
  1155. package/lib/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -94
  1156. package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -110
  1157. package/lib/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -58
  1158. package/lib/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -58
  1159. package/lib/errorstate/LinkText/docs/LinkText__default.docs.js +0 -54
  1160. package/lib/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -55
  1161. package/lib/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -59
  1162. package/lib/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -58
  1163. package/lib/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -58
  1164. package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -59
  1165. package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -58
  1166. package/lib/errorstate/WillBack/docs/WillBack__default.docs.js +0 -60
  1167. package/lib/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -99
  1168. package/lib/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -205
  1169. package/lib/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -327
  1170. package/lib/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -54
  1171. package/lib/list/Comment/docs/Comment__default.docs.js +0 -59
  1172. package/lib/list/DotNew/docs/DotNew__default.docs.js +0 -55
  1173. package/lib/list/GridStencils/docs/GridStencils__default.docs.js +0 -72
  1174. package/lib/list/Icons/docs/FloatingIcons__default.docs.js +0 -81
  1175. package/lib/list/ListLayout/docs/ListLayout__default.docs.js +0 -150
  1176. package/lib/list/ListStencils/docs/ListStencils__default.docs.js +0 -55
  1177. package/lib/list/SecondaryText/docs/ContactName__default.docs.js +0 -55
  1178. package/lib/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -41
  1179. package/lib/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -152
  1180. package/lib/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -54
  1181. package/lib/list/StatusDropdown/StatusDropdown.js +0 -243
  1182. package/lib/list/StatusDropdown/StatusDropdown.module.css +0 -65
  1183. package/lib/list/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -96
  1184. package/lib/list/Subject/docs/Subject__default.docs.js +0 -68
  1185. package/lib/list/TagNew/docs/TagNew__default.docs.js +0 -55
  1186. package/lib/list/Thread/docs/Thread__default.docs.js +0 -55
  1187. package/lib/list/TimeInfo/TimeInfo.js +0 -191
  1188. package/lib/list/TimeInfo/docs/TimeInfo__default.docs.js +0 -69
  1189. package/lib/list/UserTime/docs/UserTime__default.docs.js +0 -192
  1190. package/lib/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -55
  1191. package/lib/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -55
  1192. package/lib/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -54
  1193. package/lib/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -55
  1194. package/lib/lookup/Lookup/docs/Lookup__contact.docs.js +0 -234
  1195. package/lib/lookup/Lookup/docs/Lookup__default.docs.js +0 -113
  1196. package/lib/lookup/header/Close/docs/Close__default.docs.js +0 -54
  1197. package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -75
  1198. package/lib/lookup/header/Search/docs/Search__default.docs.js +0 -79
  1199. package/lib/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -91
  1200. package/lib/lookup/header/Title/docs/Title__default.docs.js +0 -54
  1201. package/lib/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -81
  1202. package/lib/setup/header/Button/docs/Button__default.docs.js +0 -55
  1203. package/lib/setup/header/Link/docs/Link__default.docs.js +0 -55
  1204. package/lib/setup/header/Search/docs/Search__default.docs.js +0 -73
  1205. package/lib/setup/header/SelectDropdown/SelectDropdown.js +0 -200
  1206. package/lib/setup/header/SelectDropdown/SelectDropdown.module.css +0 -43
  1207. package/lib/setup/header/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -63
  1208. package/lib/setup/header/Views/docs/Views__default.docs.js +0 -59
  1209. package/lib/setup/helptips/Description/docs/Description__default.docs.js +0 -61
  1210. package/lib/setup/helptips/Link/docs/Link__default.docs.js +0 -62
  1211. package/lib/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -65
  1212. package/lib/setup/helptips/Title/docs/Title__default.docs.js +0 -59
  1213. package/lib/setup/table/Table/docs/Table__default.docs.js +0 -228
  1214. package/lib/setup/table/TableHead/TableHead.css +0 -12
  1215. package/lib/setup/table/TableRow/TableRow.css +0 -14
  1216. package/lib/setup/table/Text/Text.css +0 -37
  1217. package/lib/setup/table/Text/docs/Text__default.docs.js +0 -85
  1218. package/lib/svg/docs/SVG__default.docs.js +0 -110
  1219. package/lib/utils/KeyboardApi.js +0 -262
  1220. package/lib/utils/Ticket.js +0 -8
  1221. package/postpublish.js +0 -100
  1222. package/src/ChannelIcon/ChannelIcon.js +0 -120
  1223. package/src/ChannelIcon/ChannelIcon.module.css +0 -187
  1224. package/src/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -63
  1225. package/src/Drawer/Drawer.js +0 -271
  1226. package/src/Drawer/Drawer.module.css +0 -140
  1227. package/src/Drawer/docs/Drawer__default.docs.js +0 -45
  1228. package/src/Drawer/docs/Drawer__noFreeze.docs.js +0 -21
  1229. package/src/ExternalLink/ExternalLink.js +0 -57
  1230. package/src/ExternalLink/ExternalLink.module.css +0 -4
  1231. package/src/ExternalLink/__tests__/ExternalLink.spec.js +0 -28
  1232. package/src/ExternalLink/docs/ExternalLink__default.docs.js +0 -24
  1233. package/src/FlipCard/FlipCard.js +0 -159
  1234. package/src/FlipCard/FlipCard.module.css +0 -35
  1235. package/src/FlipCard/docs/FlipCard__default.docs.js +0 -76
  1236. package/src/FormAction/FormAction.js +0 -120
  1237. package/src/FormAction/FormAction.module.css +0 -52
  1238. package/src/FormAction/docs/FormAction__default.docs.js +0 -94
  1239. package/src/FreezeLayer/FreezeLayer.js +0 -130
  1240. package/src/FreezeLayer/FreezeLayer.module.css +0 -37
  1241. package/src/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -53
  1242. package/src/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -51
  1243. package/src/IconButton/IconButton.js +0 -70
  1244. package/src/IconButton/IconButton.module.css +0 -38
  1245. package/src/IconButton/docs/IconButton__default.docs.js +0 -49
  1246. package/src/Image/Image.js +0 -41
  1247. package/src/Image/Image.module.css +0 -11
  1248. package/src/Image/docs/Image__default.docs.js +0 -18
  1249. package/src/Link/Link.js +0 -115
  1250. package/src/Link/Link.module.css +0 -4
  1251. package/src/Link/LinkContext.js +0 -9
  1252. package/src/Link/docs/Link__default.docs.js +0 -91
  1253. package/src/PlusIcon/PlusIcon.js +0 -68
  1254. package/src/PlusIcon/PlusIcon.module.css +0 -7
  1255. package/src/PlusIcon/docs/PlusIcon__default.docs.js +0 -18
  1256. package/src/ToastMessage/ToastMessage.js +0 -289
  1257. package/src/ToastMessage/ToastMessage.module.css +0 -260
  1258. package/src/ToastMessage/docs/ToastMessage__custom.docs.js +0 -97
  1259. package/src/ToastMessage/docs/ToastMessage__information.docs.js +0 -55
  1260. package/src/ToastMessage/docs/ToastMessage__primary.docs.js +0 -135
  1261. package/src/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -40
  1262. package/src/ToastMessage/docs/ToastMessage__success.docs.js +0 -68
  1263. package/src/actions/index.js +0 -22
  1264. package/src/alert/AlertHeader/AlertHeader.js +0 -115
  1265. package/src/alert/AlertHeader/AlertHeader.module.css +0 -62
  1266. package/src/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -72
  1267. package/src/alert/AlertLookup/AlertLookup.js +0 -174
  1268. package/src/alert/AlertLookup/AlertLookup.module.css +0 -20
  1269. package/src/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -123
  1270. package/src/avatar/AvatarClose/AvatarClose.js +0 -43
  1271. package/src/avatar/AvatarClose/AvatarClose.module.css +0 -31
  1272. package/src/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -26
  1273. package/src/avatar/AvatarCollision/AvatarCollision.js +0 -72
  1274. package/src/avatar/AvatarCollision/AvatarCollision.module.css +0 -55
  1275. package/src/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -40
  1276. package/src/avatar/AvatarIcon/AvatarIcon.js +0 -83
  1277. package/src/avatar/AvatarIcon/AvatarIcon.module.css +0 -36
  1278. package/src/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -35
  1279. package/src/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -36
  1280. package/src/avatar/AvatarStatus/AvatarStatus.js +0 -50
  1281. package/src/avatar/AvatarStatus/AvatarStatus.module.css +0 -64
  1282. package/src/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -34
  1283. package/src/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -63
  1284. package/src/avatar/AvatarThread/AvatarThread.js +0 -88
  1285. package/src/avatar/AvatarThread/AvatarThread.module.css +0 -58
  1286. package/src/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -45
  1287. package/src/avatar/AvatarUser/AvatarUser.js +0 -103
  1288. package/src/avatar/AvatarUser/AvatarUser.module.css +0 -61
  1289. package/src/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -111
  1290. package/src/avatar/AvatarWithTeam/AvatarWithTeam.js +0 -57
  1291. package/src/avatar/AvatarWithTeam/AvatarWithTeam.module.css +0 -16
  1292. package/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +0 -50
  1293. package/src/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -28
  1294. package/src/docs/generalDocs.js +0 -118
  1295. package/src/docs/lookupDocs.js +0 -33
  1296. package/src/docs/setupDocs.js +0 -27
  1297. package/src/dropdown/ToggleDropDown/ToggleDropDown.js +0 -598
  1298. package/src/dropdown/ToggleDropDown/ToggleDropDown.module.css +0 -65
  1299. package/src/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -75
  1300. package/src/emptystate/CommonEmptyState/CommonEmptyState.js +0 -117
  1301. package/src/emptystate/CommonEmptyState/CommonEmptyState.module.css +0 -31
  1302. package/src/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -53
  1303. package/src/emptystate/EditionPage/EditionPage.css +0 -37
  1304. package/src/emptystate/EditionPage/EditionPage.js +0 -69
  1305. package/src/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -23
  1306. package/src/errorstate/EmptyStates.module.css +0 -40
  1307. package/src/errorstate/Inconvenience/Inconvenience.js +0 -42
  1308. package/src/errorstate/Inconvenience/Inconvenience.module.css +0 -6
  1309. package/src/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -19
  1310. package/src/errorstate/LinkText/LinkText.js +0 -28
  1311. package/src/errorstate/LinkText/LinkText.module.css +0 -6
  1312. package/src/errorstate/LinkText/docs/LinkText__default.docs.js +0 -13
  1313. package/src/errorstate/NoRequestFound/NoRequestFound.js +0 -42
  1314. package/src/errorstate/NoRequestFound/NoRequestFound.module.css +0 -5
  1315. package/src/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -19
  1316. package/src/errorstate/PermissionPlay/PermissionPlay.js +0 -46
  1317. package/src/errorstate/PermissionPlay/PermissionPlay.module.css +0 -33
  1318. package/src/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -20
  1319. package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -42
  1320. package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +0 -5
  1321. package/src/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -19
  1322. package/src/errorstate/UnableToProcess/UnableToProcess.js +0 -42
  1323. package/src/errorstate/UnableToProcess/UnableToProcess.module.css +0 -14
  1324. package/src/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -19
  1325. package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -42
  1326. package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +0 -14
  1327. package/src/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -20
  1328. package/src/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -19
  1329. package/src/errorstate/WillBack/WillBack.js +0 -40
  1330. package/src/errorstate/WillBack/WillBack.module.css +0 -21
  1331. package/src/errorstate/WillBack/docs/WillBack__default.docs.js +0 -21
  1332. package/src/index.js +0 -14
  1333. package/src/layout/SetupDetailLayout/SetupDetailLayout.js +0 -248
  1334. package/src/layout/SetupDetailLayout/SetupDetailLayout.module.css +0 -116
  1335. package/src/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -35
  1336. package/src/layout/SetupDetailLayout/index.js +0 -4
  1337. package/src/layout/SubtabLayout/SubtabLayout.js +0 -166
  1338. package/src/layout/SubtabLayout/SubtabLayout.module.css +0 -66
  1339. package/src/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -72
  1340. package/src/layout/SubtabLayout/index.js +0 -3
  1341. package/src/list/AvatarFlip/AvatarFlip.js +0 -89
  1342. package/src/list/AvatarFlip/AvatarFlip.module.css +0 -15
  1343. package/src/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -207
  1344. package/src/list/BluePrintStatus/BluePrintStatus.js +0 -31
  1345. package/src/list/BluePrintStatus/BluePrintStatus.module.css +0 -13
  1346. package/src/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -20
  1347. package/src/list/Comment/Comment.js +0 -54
  1348. package/src/list/Comment/Comment.module.css +0 -17
  1349. package/src/list/Comment/docs/Comment__default.docs.js +0 -22
  1350. package/src/list/DepartmentDropDown/DepartmentDropDown.js +0 -78
  1351. package/src/list/DepartmentDropDown/DepartmentDropDown.module.css +0 -62
  1352. package/src/list/Dot/Dot.js +0 -28
  1353. package/src/list/Dot/Dot.module.css +0 -13
  1354. package/src/list/DotNew/DotNew.js +0 -24
  1355. package/src/list/DotNew/DotNew.module.css +0 -16
  1356. package/src/list/DotNew/docs/DotNew__default.docs.js +0 -18
  1357. package/src/list/GridStencils/GridStencils.js +0 -46
  1358. package/src/list/GridStencils/GridStencils.module.css +0 -131
  1359. package/src/list/GridStencils/docs/GridStencils__default.docs.js +0 -30
  1360. package/src/list/Icons/AddNewIcon.js +0 -53
  1361. package/src/list/Icons/CompleteIcon.js +0 -54
  1362. package/src/list/Icons/DeleteIcon.js +0 -61
  1363. package/src/list/Icons/EditIcon.js +0 -61
  1364. package/src/list/Icons/FloatingIcons.js +0 -32
  1365. package/src/list/Icons/Icons.module.css +0 -15
  1366. package/src/list/Icons/SmartIcon.js +0 -40
  1367. package/src/list/Icons/docs/FloatingIcons__default.docs.js +0 -37
  1368. package/src/list/ListLayout/ListLayout.js +0 -105
  1369. package/src/list/ListLayout/ListLayout.module.css +0 -30
  1370. package/src/list/ListLayout/docs/ListLayout__default.docs.js +0 -54
  1371. package/src/list/ListStencils/ListStencils.js +0 -34
  1372. package/src/list/ListStencils/ListStencils.module.css +0 -24
  1373. package/src/list/ListStencils/docs/ListStencils__default.docs.js +0 -18
  1374. package/src/list/SecondaryText/AccountName.js +0 -80
  1375. package/src/list/SecondaryText/ContactName.js +0 -107
  1376. package/src/list/SecondaryText/DepartmentText.js +0 -32
  1377. package/src/list/SecondaryText/Email.js +0 -69
  1378. package/src/list/SecondaryText/HappinessRating.js +0 -37
  1379. package/src/list/SecondaryText/PhoneNumber.js +0 -72
  1380. package/src/list/SecondaryText/PriorityText.js +0 -40
  1381. package/src/list/SecondaryText/SecondaryText.js +0 -36
  1382. package/src/list/SecondaryText/SecondaryText.module.css +0 -94
  1383. package/src/list/SecondaryText/StatusText.js +0 -49
  1384. package/src/list/SecondaryText/TicketId.js +0 -53
  1385. package/src/list/SecondaryText/Website.js +0 -58
  1386. package/src/list/SecondaryText/docs/ContactName__default.docs.js +0 -18
  1387. package/src/list/SecondaryText/index.js +0 -11
  1388. package/src/list/SecondryPanel/SecondryPanel.js +0 -120
  1389. package/src/list/SecondryPanel/SecondryPanel.module.css +0 -27
  1390. package/src/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -41
  1391. package/src/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -66
  1392. package/src/list/SentimentStatus/SentimentStatus.js +0 -32
  1393. package/src/list/SentimentStatus/SentimentStatus.module.css +0 -9
  1394. package/src/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -20
  1395. package/src/list/StatusDropdown/StatusDropdown.js +0 -174
  1396. package/src/list/StatusDropdown/StatusDropdown.module.css +0 -51
  1397. package/src/list/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -72
  1398. package/src/list/Subject/Subject.js +0 -71
  1399. package/src/list/Subject/Subject.module.css +0 -9
  1400. package/src/list/Subject/docs/Subject__default.docs.js +0 -27
  1401. package/src/list/TagNew/TagNew.js +0 -37
  1402. package/src/list/TagNew/TagNew.module.css +0 -108
  1403. package/src/list/TagNew/docs/TagNew__default.docs.js +0 -18
  1404. package/src/list/Thread/Thread.js +0 -36
  1405. package/src/list/Thread/Thread.module.css +0 -15
  1406. package/src/list/Thread/docs/Thread__default.docs.js +0 -18
  1407. package/src/list/TimeInfo/TimeInfo.js +0 -156
  1408. package/src/list/TimeInfo/docs/TimeInfo__default.docs.js +0 -26
  1409. package/src/list/UserTime/UserTime.js +0 -130
  1410. package/src/list/UserTime/UserTime.module.css +0 -42
  1411. package/src/list/UserTime/docs/UserTime__default.docs.js +0 -122
  1412. package/src/list/listCommon.module.css +0 -84
  1413. package/src/lookup/EmptyPage/EmptyPage.js +0 -62
  1414. package/src/lookup/EmptyPage/LookupEmptyPage.module.css +0 -12
  1415. package/src/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -17
  1416. package/src/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -17
  1417. package/src/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -16
  1418. package/src/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -17
  1419. package/src/lookup/Lookup/Lookup.js +0 -80
  1420. package/src/lookup/Lookup/Lookup.module.css +0 -22
  1421. package/src/lookup/Lookup/docs/Lookup__contact.docs.js +0 -189
  1422. package/src/lookup/Lookup/docs/Lookup__default.docs.js +0 -59
  1423. package/src/lookup/Section/LookupSection.module.css +0 -7
  1424. package/src/lookup/Section/Section.js +0 -27
  1425. package/src/lookup/header/Close/Close.js +0 -36
  1426. package/src/lookup/header/Close/LookupClose.module.css +0 -15
  1427. package/src/lookup/header/Close/docs/Close__default.docs.js +0 -17
  1428. package/src/lookup/header/ModuleHeader/ModuleHeader.js +0 -76
  1429. package/src/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -39
  1430. package/src/lookup/header/Search/LookupSearch.module.css +0 -14
  1431. package/src/lookup/header/Search/Search.js +0 -104
  1432. package/src/lookup/header/Search/docs/Search__default.docs.js +0 -41
  1433. package/src/lookup/header/TicketHeader/TicketHeader.js +0 -105
  1434. package/src/lookup/header/TicketHeader/TicketHeader.module.css +0 -19
  1435. package/src/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -63
  1436. package/src/lookup/header/Title/LookupTitle.module.css +0 -20
  1437. package/src/lookup/header/Title/Title.js +0 -37
  1438. package/src/lookup/header/Title/docs/Title__default.docs.js +0 -17
  1439. package/src/lookup/header/ViewDropDown/ViewDropDown.js +0 -185
  1440. package/src/lookup/header/ViewDropDown/ViewDropDown.module.css +0 -50
  1441. package/src/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -54
  1442. package/src/lookup/header/lookupHeaderCommon.module.css +0 -21
  1443. package/src/lookup/header/lookupHeaderCommonResponsive.module.css +0 -15
  1444. package/src/setup/header/Button/Button.js +0 -40
  1445. package/src/setup/header/Button/HeaderButton.module.css +0 -3
  1446. package/src/setup/header/Button/docs/Button__default.docs.js +0 -21
  1447. package/src/setup/header/Link/HeaderLink.module.css +0 -16
  1448. package/src/setup/header/Link/Link.js +0 -48
  1449. package/src/setup/header/Link/docs/Link__default.docs.js +0 -20
  1450. package/src/setup/header/Search/Search.js +0 -74
  1451. package/src/setup/header/Search/Search.module.css +0 -56
  1452. package/src/setup/header/Search/docs/Search__default.docs.js +0 -32
  1453. package/src/setup/header/SelectDropdown/SelectDropdown.js +0 -122
  1454. package/src/setup/header/SelectDropdown/SelectDropdown.module.css +0 -35
  1455. package/src/setup/header/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -31
  1456. package/src/setup/header/Views/Views.js +0 -62
  1457. package/src/setup/header/Views/Views.module.css +0 -27
  1458. package/src/setup/header/Views/docs/Views__default.docs.js +0 -20
  1459. package/src/setup/helptips/Description/Description.js +0 -22
  1460. package/src/setup/helptips/Description/HelpTipsDescription.module.css +0 -6
  1461. package/src/setup/helptips/Description/docs/Description__default.docs.js +0 -24
  1462. package/src/setup/helptips/Link/HelpTipsLink.module.css +0 -6
  1463. package/src/setup/helptips/Link/Link.js +0 -40
  1464. package/src/setup/helptips/Link/docs/Link__default.docs.js +0 -27
  1465. package/src/setup/helptips/ListGroup/ListGroup.js +0 -42
  1466. package/src/setup/helptips/ListGroup/ListGroup.module.css +0 -17
  1467. package/src/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -37
  1468. package/src/setup/helptips/Title/HelpTipsTitle.module.css +0 -5
  1469. package/src/setup/helptips/Title/Title.js +0 -22
  1470. package/src/setup/helptips/Title/docs/Title__default.docs.js +0 -22
  1471. package/src/setup/table/Table/Table.js +0 -25
  1472. package/src/setup/table/Table/docs/Table__default.docs.js +0 -115
  1473. package/src/setup/table/TableBody/TableBody.js +0 -27
  1474. package/src/setup/table/TableData/TableData.css +0 -36
  1475. package/src/setup/table/TableData/TableData.js +0 -45
  1476. package/src/setup/table/TableData/hover.css +0 -6
  1477. package/src/setup/table/TableHead/TableHead.css +0 -8
  1478. package/src/setup/table/TableHead/TableHead.js +0 -53
  1479. package/src/setup/table/TableRow/TableRow.css +0 -10
  1480. package/src/setup/table/TableRow/TableRow.js +0 -60
  1481. package/src/setup/table/Text/Text.css +0 -37
  1482. package/src/setup/table/Text/Text.js +0 -81
  1483. package/src/setup/table/Text/docs/Text__default.docs.js +0 -38
  1484. package/src/svg/PlusIcon.js +0 -43
  1485. package/src/svg/SnippetIcon.js +0 -50
  1486. package/src/svg/TemplateIcon.js +0 -46
  1487. package/src/svg/docs/SVG__default.docs.js +0 -46
  1488. package/src/utils/ChannelIconMapping.js +0 -112
  1489. package/src/utils/General.js +0 -18
  1490. package/src/utils/KeyboardApi.js +0 -280
  1491. package/src/utils/Ticket.js +0 -10
  1492. /package/es/setup/table/TableData/{TableData.css → SetupTableData.module.css} +0 -0
  1493. /package/es/setup/table/TableData/{hover.css → Tablehover.module.css} +0 -0
  1494. /package/lib/setup/table/TableData/{TableData.css → SetupTableData.module.css} +0 -0
  1495. /package/lib/setup/table/TableData/{hover.css → Tablehover.module.css} +0 -0
@@ -1,144 +1,75 @@
1
- import _Object$getPrototypeOf from 'babel-runtime/core-js/object/get-prototype-of';
2
- import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
3
- import _createClass from 'babel-runtime/helpers/createClass';
4
- import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
5
- import _inherits from 'babel-runtime/helpers/inherits';
6
- import React, { Component } from 'react';
7
- import PropTypes from 'prop-types';
1
+ import React from 'react';
2
+ import { defaultProps } from './props/defaultProps';
3
+ import { propTypes } from './props/propTypes';
8
4
  import { Container } from '@zohodesk/components/lib/Layout';
5
+ import { mergeStyle } from '@zohodesk/components/es/utils/';
9
6
  import VelocityAnimationGroup from '@zohodesk/components/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup';
10
- import style from './FreezeLayer.module.css';
11
- import { Shortcut } from '../utils/KeyboardApi';
7
+ import { useZIndex } from '@zohodesk/components/lib/Provider/ZindexProvider';
8
+ import cssJSLogic from './css/cssJSLogic';
9
+ import useFreezeLayer from './useFreezeLayer';
10
+ import style from './css/FreezeLayer.module.css';
11
+ export default function FreezeLayer(props) {
12
+ let {
13
+ isActive: propsActive,
14
+ children,
15
+ align,
16
+ childAnimationName,
17
+ palette,
18
+ onClick,
19
+ animationName,
20
+ runOnMount,
21
+ forwardRef,
22
+ isSvgMask,
23
+ needAutoZindex,
24
+ customStyle
25
+ } = props;
26
+ const finalStyle = mergeStyle(style, customStyle);
27
+ const {
28
+ freezeClass
29
+ } = cssJSLogic({
30
+ props,
31
+ style: finalStyle
32
+ });
33
+ const getNextIndex = useZIndex();
34
+ const {
35
+ isActive,
36
+ isChildActive,
37
+ handleClick
38
+ } = useFreezeLayer({
39
+ isActive: propsActive,
40
+ onClick
41
+ });
42
+ return /*#__PURE__*/React.createElement(VelocityAnimationGroup, {
43
+ name: animationName && animationName,
44
+ isActive: isActive,
45
+ runOnMount: runOnMount
46
+ }, /*#__PURE__*/React.createElement("div", {
47
+ style: isActive && needAutoZindex ? {
48
+ zIndex: `${getNextIndex()}`
49
+ } : {},
50
+ className: freezeClass,
51
+ onClick: handleClick,
52
+ ref: forwardRef
53
+ }, children && /*#__PURE__*/React.createElement(React.Fragment, null, childAnimationName ? /*#__PURE__*/React.createElement(VelocityAnimationGroup, {
54
+ name: childAnimationName,
55
+ isActive: isChildActive,
56
+ enterDelay: palette === 'plain' ? 0 : 300,
57
+ component: Container,
58
+ alignBox: "row",
59
+ align: align,
60
+ dataId: "reactFreezeLayer"
61
+ }, children) : isSvgMask ? /*#__PURE__*/React.createElement(React.Fragment, null, children) : /*#__PURE__*/React.createElement(Container, {
62
+ alignBox: "row",
63
+ align: align,
64
+ dataId: "reactFreezeLayer"
65
+ }, children))));
66
+ }
67
+ FreezeLayer.propTypes = propTypes;
68
+ FreezeLayer.defaultProps = defaultProps;
12
69
 
13
- var FreezeLayer = function (_Component) {
14
- _inherits(FreezeLayer, _Component);
15
-
16
- function FreezeLayer(props) {
17
- _classCallCheck(this, FreezeLayer);
18
-
19
- var _this = _possibleConstructorReturn(this, (FreezeLayer.__proto__ || _Object$getPrototypeOf(FreezeLayer)).call(this, props));
20
-
21
- _this.state = { isActive: props.isActive, isChildActive: false };
22
- return _this;
23
- }
24
-
25
- // componentDidMount(){
26
- // Shortcut && Shortcut.setState(false);
27
- // }
28
- //
29
- // componentWillUnmount(){
30
- // Shortcut && Shortcut.setState(true);
31
- // }
32
-
33
- _createClass(FreezeLayer, [{
34
- key: 'componentDidUpdate',
35
- value: function componentDidUpdate(prevProps) {
36
- var isActive = this.props.isActive;
37
-
38
- if (isActive != prevProps.isActive) {
39
- if (isActive) {
40
- Shortcut && Shortcut.setState(false);
41
- } else {
42
- Shortcut && Shortcut.setState(true);
43
- }
44
- }
45
- }
46
- }, {
47
- key: 'render',
48
- value: function render() {
49
- var _props = this.props,
50
- children = _props.children,
51
- align = _props.align,
52
- childAnimationName = _props.childAnimationName,
53
- palette = _props.palette,
54
- onClick = _props.onClick,
55
- animationName = _props.animationName,
56
- zIndex = _props.zIndex,
57
- isActive = _props.isActive,
58
- runOnMount = _props.runOnMount,
59
- forwardRef = _props.forwardRef,
60
- isSvgMask = _props.isSvgMask;
61
-
62
- return React.createElement(
63
- VelocityAnimationGroup,
64
- {
65
- name: animationName && animationName,
66
- isActive: isActive,
67
- runOnMount: runOnMount
68
- },
69
- React.createElement(
70
- 'div',
71
- {
72
- className: '\n ' + style.container + ' ' + style['index' + zIndex] + ' ' + (!isSvgMask ? style[palette] : '') + '\n ',
73
- onClick: onClick ? onClick : null,
74
- ref: forwardRef
75
- },
76
- children && React.createElement(
77
- React.Fragment,
78
- null,
79
- childAnimationName ? React.createElement(
80
- VelocityAnimationGroup,
81
- {
82
- name: childAnimationName,
83
- isActive: true,
84
- runOnMount: true,
85
- enterDelay: palette === 'plain' ? 0 : 300,
86
- component: Container,
87
- alignBox: 'row',
88
- align: align,
89
- dataId: 'reactFreezeLayer'
90
- },
91
- children
92
- ) : isSvgMask ? React.createElement(
93
- React.Fragment,
94
- null,
95
- children
96
- ) : React.createElement(
97
- Container,
98
- {
99
- alignBox: 'row',
100
- align: align,
101
- dataId: 'reactFreezeLayer'
102
- },
103
- children
104
- )
105
- )
106
- )
107
- );
108
- }
109
- }]);
110
-
111
- return FreezeLayer;
112
- }(Component);
113
-
114
- export default FreezeLayer;
115
-
116
-
117
- var animationValues = ['fade', 'shrink', 'expand', 'slideRight', 'slideDown', 'flyDown'];
118
-
119
- FreezeLayer.propTypes = {
120
- align: PropTypes.oneOf(['horizontal', 'vertical', 'both']),
121
- animationName: PropTypes.oneOf(animationValues),
122
- childAnimationName: PropTypes.oneOf(animationValues),
123
- children: PropTypes.node,
124
- forwardRef: PropTypes.object,
125
- isActive: PropTypes.bool,
126
- onClick: PropTypes.oneOfType([PropTypes.func, PropTypes.bool]),
127
- palette: PropTypes.oneOf(['dark', 'default', 'darkLight', 'plain', 'snow']),
128
- runOnMount: PropTypes.bool,
129
- zIndex: PropTypes.oneOf(['3', '5', '7', '10']),
130
- isSvgMask: PropTypes.bool
131
- };
132
- FreezeLayer.defaultProps = {
133
- isActive: false,
134
- palette: 'default',
135
- zIndex: '5',
136
- isSvgMask: false
137
- };
138
-
139
- if (false) {
140
- FreezeLayer.docs = {
141
- componentGroup: 'Atom',
142
- folderName: 'General'
143
- };
144
- }
70
+ // if (__DOCS__) {
71
+ // FreezeLayer.docs = {
72
+ // componentGroup: 'Atom',
73
+ // folderName: 'General'
74
+ // };
75
+ // }
@@ -0,0 +1,42 @@
1
+ .container {
2
+ top: 0;
3
+ bottom: 0;
4
+ position: absolute;
5
+ overflow: hidden;
6
+ }[dir=ltr] .container {
7
+ left: 0;
8
+ right: 0;
9
+ }[dir=rtl] .container {
10
+ right: 0;
11
+ left: 0;
12
+ }
13
+ .default {
14
+ background-color: var(--zdt_freezelayer_default_bg);
15
+ }
16
+ .dark {
17
+ background-color: var(--zdt_freezelayer_dark_bg);
18
+ }
19
+ .darkLight {
20
+ background-color: var(--zdt_freezelayer_darklight_bg);
21
+ }
22
+ .plain {
23
+ background-color: var(--zdt_freezelayer_plain_bg);
24
+ }
25
+ .snow {
26
+ background-color: var(--zdt_freezelayer_snow_bg);
27
+ }
28
+ .index3 {
29
+ z-index: 3;
30
+ }
31
+ .index5 {
32
+ z-index: 5;
33
+ }
34
+ .index7 {
35
+ z-index: 7;
36
+ }
37
+ .index10 {
38
+ z-index: 10;
39
+ }
40
+ .delay {
41
+ transition-delay: var(--zd_transition2);
42
+ }
@@ -0,0 +1,23 @@
1
+ import { compileClassNames } from '@zohodesk/components/es/utils';
2
+ export default function cssJSLogic(_ref) {
3
+ let {
4
+ props,
5
+ style
6
+ } = _ref;
7
+ let {
8
+ zIndex,
9
+ palette,
10
+ isSvgMask,
11
+ customClass
12
+ } = props;
13
+ let zIndexClass = `index${zIndex}`;
14
+ let freezeClass = compileClassNames({
15
+ [style.container]: true,
16
+ [customClass]: !!customClass,
17
+ [style[zIndexClass]]: !!zIndex,
18
+ [style[palette]]: !isSvgMask && !!palette
19
+ });
20
+ return {
21
+ freezeClass
22
+ };
23
+ }
@@ -0,0 +1,2 @@
1
+ export { default as FreezeLayer } from './FreezeLayer';
2
+ export { default as FreezeLayerPropTypes } from './props/propTypes';
@@ -0,0 +1,9 @@
1
+ export const defaultProps = {
2
+ isActive: false,
3
+ palette: 'default',
4
+ zIndex: '5',
5
+ isSvgMask: false,
6
+ customClass: '',
7
+ customStyle: {},
8
+ needAutoZindex: true
9
+ };
@@ -0,0 +1,18 @@
1
+ import PropTypes from 'prop-types';
2
+ let animationValues = ['fade', 'shrink', 'expand', 'slideRight', 'slideDown', 'flyDown'];
3
+ export const propTypes = {
4
+ align: PropTypes.oneOf(['horizontal', 'vertical', 'both']),
5
+ animationName: PropTypes.oneOf(animationValues),
6
+ childAnimationName: PropTypes.oneOf(animationValues),
7
+ children: PropTypes.node,
8
+ customClass: PropTypes.string,
9
+ forwardRef: PropTypes.object,
10
+ isActive: PropTypes.bool,
11
+ isSvgMask: PropTypes.bool,
12
+ needAutoZindex: PropTypes.bool,
13
+ onClick: PropTypes.oneOfType([PropTypes.func, PropTypes.bool]),
14
+ palette: PropTypes.oneOf(['dark', 'default', 'darkLight', 'plain', 'snow']),
15
+ runOnMount: PropTypes.bool,
16
+ customStyle: PropTypes.object,
17
+ zIndex: PropTypes.oneOf(['3', '5', '7', '10'])
18
+ };
@@ -0,0 +1,50 @@
1
+ import React, { useRef, useState, useEffect } from 'react';
2
+ import { isTextSelected } from '@zohodesk/components/es/utils/Common';
3
+ import { getDotLibraryConfig } from '../Provider/Config';
4
+ export default function useFreezeLayer(_ref) {
5
+ let {
6
+ isActive: propsActive,
7
+ onClick
8
+ } = _ref;
9
+ const [isActive, setActive] = useState(propsActive);
10
+ const [isChildActive, setChildActive] = useState(false);
11
+ let isFreezeLayerEnabled = useRef(false);
12
+ function handleClick() {
13
+ if (onClick && !isTextSelected()) {
14
+ onClick();
15
+ }
16
+ }
17
+ function enableFreeze() {
18
+ if (!isFreezeLayerEnabled.current) {
19
+ isFreezeLayerEnabled.current = true;
20
+ const freezeLayerEnable = (getDotLibraryConfig('freezeLayer') || {}).enable;
21
+ freezeLayerEnable && freezeLayerEnable();
22
+ }
23
+ }
24
+ function disableFreeze() {
25
+ if (isFreezeLayerEnabled.current) {
26
+ isFreezeLayerEnabled.current = false;
27
+ const freezeLayerDisable = (getDotLibraryConfig('freezeLayer') || {}).disable;
28
+ freezeLayerDisable && freezeLayerDisable();
29
+ }
30
+ }
31
+ useEffect(() => {
32
+ if (propsActive) {
33
+ enableFreeze();
34
+ setActive(true);
35
+ setTimeout(() => setChildActive(true));
36
+ } else {
37
+ disableFreeze();
38
+ setChildActive(false);
39
+ setTimeout(() => setActive(false));
40
+ }
41
+ return () => {
42
+ disableFreeze();
43
+ };
44
+ }, [propsActive]);
45
+ return {
46
+ isActive,
47
+ isChildActive,
48
+ handleClick
49
+ };
50
+ }
@@ -1,87 +1,143 @@
1
- import _Object$getPrototypeOf from 'babel-runtime/core-js/object/get-prototype-of';
2
- import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
3
- import _createClass from 'babel-runtime/helpers/createClass';
4
- import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
5
- import _inherits from 'babel-runtime/helpers/inherits';
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); }
6
2
  import React from 'react';
7
- import PropTypes from 'prop-types';
8
- import Icon from '@zohodesk/icons/lib/Icon';
3
+ import { defaultProps } from './props/defaultProps';
4
+ import { propTypes } from './props/propTypes';
5
+ import { Icon } from '@zohodesk/icons';
9
6
  import { Container } from '@zohodesk/components/lib/Layout';
10
- import { CssProvider } from '@zohodesk/components/lib/CssProvider';
7
+ import btnStyle from '@zohodesk/components/lib/semantic/Button/semanticButton.module.css';
8
+ import RippleEffect from '@zohodesk/components/lib/RippleEffect/RippleEffect';
11
9
  import style from './IconButton.module.css';
12
-
13
- var IconButton = function (_React$Component) {
14
- _inherits(IconButton, _React$Component);
15
-
16
- function IconButton() {
17
- _classCallCheck(this, IconButton);
18
-
19
- return _possibleConstructorReturn(this, (IconButton.__proto__ || _Object$getPrototypeOf(IconButton)).apply(this, arguments));
10
+ export default class IconButton extends React.Component {
11
+ constructor(props) {
12
+ super(props);
13
+ this.state = {
14
+ isPressed: false
15
+ };
16
+ this.handleToggle = this.handleToggle.bind(this);
17
+ this.triggerClick = this.triggerClick.bind(this);
18
+ this.triggerMouseDown = this.triggerMouseDown.bind(this);
19
+ this.triggerMouseOver = this.triggerMouseOver.bind(this);
20
+ this.onBlur = this.onBlur.bind(this);
20
21
  }
21
-
22
- _createClass(IconButton, [{
23
- key: 'render',
24
- value: function render() {
25
- var _props = this.props,
26
- palette = _props.palette,
27
- iconSize = _props.iconSize,
28
- iconName = _props.iconName,
29
- className = _props.className,
30
- iconClass = _props.iconClass,
31
- dataId = _props.dataId,
32
- onClick = _props.onClick,
33
- dataTitle = _props.dataTitle,
34
- eleRef = _props.eleRef,
35
- isActive = _props.isActive,
36
- tourId = _props.tourId,
37
- isDisabled = _props.isDisabled;
38
-
39
- return React.createElement(
40
- Container,
41
- {
42
- isInline: true,
43
- tourId: tourId,
44
- align: 'both',
45
- isCover: false,
46
- className: ' ' + (isDisabled ? CssProvider('isDisabled') : style.enable) + ' ' + style.wrapper + ' ' + (isActive ? style[palette + '_active'] : style[palette]) + ' ' + className,
47
- dataId: dataId,
48
- onClick: !isDisabled && onClick,
49
- 'data-title': dataTitle,
50
- eleRef: eleRef
51
- },
52
- React.createElement(Icon, { size: iconSize, name: iconName, iconClass: iconClass })
53
- );
22
+ handleToggle(e) {
23
+ if (e.key === ' ' || e.key === 'Enter' || e.key === 'Spacebar') {
24
+ e.preventDefault();
25
+ this.triggerClick(e);
26
+ this.triggerMouseDown(e);
54
27
  }
55
- }]);
56
-
57
- return IconButton;
58
- }(React.Component);
59
-
60
- export default IconButton;
61
-
62
-
63
- IconButton.propTypes = {
64
- palette: PropTypes.oneOf('primary', 'primaryFilled', 'secondary'),
65
- iconSize: PropTypes.string,
66
- iconName: PropTypes.string,
67
- className: PropTypes.string,
68
- iconClass: PropTypes.string,
69
- dataId: PropTypes.string,
70
- onClick: PropTypes.func,
71
- dataTitle: PropTypes.string,
72
- eleRef: PropTypes.func,
73
- isActive: PropTypes.bool,
74
- tourId: PropTypes.string,
75
- isDisabled: PropTypes.bool
76
- };
28
+ }
29
+ triggerClick(e) {
30
+ let {
31
+ onClick,
32
+ isDisabled
33
+ } = this.props;
34
+ !isDisabled ? (onClick && onClick(e), this.setState({
35
+ isPressed: true
36
+ })) : null;
37
+ }
38
+ triggerMouseOver(e) {
39
+ let {
40
+ onMouseOver,
41
+ isDisabled
42
+ } = this.props;
43
+ !isDisabled ? (onMouseOver && onMouseOver(e), this.setState({
44
+ isPressed: true
45
+ })) : null;
46
+ }
47
+ triggerMouseDown(e) {
48
+ let {
49
+ onMouseDown,
50
+ isDisabled
51
+ } = this.props;
52
+ !isDisabled ? (onMouseDown && onMouseDown(e), this.setState({
53
+ isPressed: true
54
+ })) : null;
55
+ }
56
+ onBlur(e) {
57
+ let {
58
+ isDisabled
59
+ } = this.props;
60
+ !isDisabled ? this.setState({
61
+ isPressed: false
62
+ }) : null;
63
+ }
64
+ render() {
65
+ let {
66
+ palette,
67
+ iconSize,
68
+ iconName,
69
+ className,
70
+ iconClass,
71
+ dataId,
72
+ dataSelectorId,
73
+ eleRef,
74
+ isActive,
75
+ tourId,
76
+ isDisabled,
77
+ children,
78
+ hoverType,
79
+ title,
80
+ isBold,
81
+ isNeedEffect,
82
+ needButtonTag,
83
+ a11y,
84
+ dataIsHtml,
85
+ customProps
86
+ } = this.props;
87
+ let {
88
+ isPressed
89
+ } = this.state;
90
+ let {
91
+ ariaHaspopup,
92
+ ariaExpanded,
93
+ ariaLabel,
94
+ ariaControls,
95
+ ariaLabelledby
96
+ } = a11y;
97
+ return /*#__PURE__*/React.createElement(RippleEffect, {
98
+ palette: palette,
99
+ isActive: isActive,
100
+ hoverType: hoverType,
101
+ isDisabled: isDisabled,
102
+ isNeedEffect: isNeedEffect
103
+ }, /*#__PURE__*/React.createElement(Container, _extends({
104
+ "aria-label": ariaLabel,
105
+ "aria-haspopup": ariaHaspopup,
106
+ "aria-expanded": ariaExpanded,
107
+ "aria-controls": ariaControls,
108
+ "aria-labelledby": ariaLabelledby,
109
+ tagName: needButtonTag ? 'button' : 'div',
110
+ isInline: true,
111
+ tourId: tourId,
112
+ align: "both",
113
+ isCover: false,
114
+ className: `${needButtonTag && btnStyle.buttonReset} ${style.wrapper} ${className ? className : ''} ${isActive ? style[`${palette}_active`] : style[palette]}`,
115
+ dataId: dataId,
116
+ dataSelectorId: dataSelectorId,
117
+ onClick: this.triggerClick,
118
+ "data-title": title,
119
+ "data-ishtml": dataIsHtml,
120
+ eleRef: eleRef,
121
+ onMouseDown: this.triggerMouseDown,
122
+ onMouseEnter: this.triggerMouseOver,
123
+ "aria-pressed": isPressed,
124
+ onKeyDown: this.handleToggle,
125
+ onFocus: this.triggerMouseOver,
126
+ onBlur: this.onBlur,
127
+ disabled: isDisabled
128
+ }, customProps), iconName ? /*#__PURE__*/React.createElement(Icon, {
129
+ isBold: isBold,
130
+ size: iconSize,
131
+ name: iconName,
132
+ iconClass: iconClass
133
+ }) : null, children ? children : null));
134
+ }
135
+ }
136
+ IconButton.propTypes = propTypes;
137
+ IconButton.defaultProps = defaultProps;
77
138
 
78
- IconButton.defaultProps = {
79
- palette: 'secondary',
80
- iconSize: '13',
81
- className: '',
82
- iconClass: '',
83
- dataId: 'iconContainer',
84
- dataTitle: '',
85
- isActive: false,
86
- isDisabled: false
87
- };
139
+ // if (__DOCS__) {
140
+ // IconButton.docs = {
141
+ // componentGroup: 'Atom'
142
+ // };
143
+ // }
@@ -1,37 +1,22 @@
1
+ .varClass {
2
+ --iconColor: var(--zdt_iconButton_icon_black);
3
+ }
1
4
  .wrapper {
2
5
  height: var(--zd_size28);
3
- position: relative;
4
6
  width: var(--zd_size28);
7
+ composes: offSelection from '~@zohodesk/components/lib/common/common.module.css';
8
+ composes: varClass;
9
+ color: var(--iconColor);
5
10
  cursor: pointer;
6
- border-radius: var(--zd_size4);
7
- }
8
- .secondary {
9
- border: 1px solid var(--dot_border_paleBlue);
10
- }
11
- .enable.secondary:hover {
12
- border-color: var(--dot_border_slateGrey);
13
11
  }
14
12
  .primary {
15
- color: var(--dot_text_primary);
16
- border: 1px solid var(--dot_border_primary);
17
- }
18
- .enable.primary:hover {
19
- color: var(--dot_text_cobalt);
20
- border-color: var(--dot_border_cobalt);
21
- }
22
-
23
- .secondary_active {
24
- border: 1px solid var(--dot_border_tropicalBlue);
25
- background-color: var(--dot_bg_aliceBlue);
26
- }
27
- .primary_active {
28
- color: var(--dot_text_white);
29
- background-color: var(--dot_bg_primary);
13
+ --iconColor: var(--zdt_iconButton_icon_primary);
30
14
  }
31
- .primaryFilled {
32
- color: var(--dot_text_white);
33
- background-color: var(--dot_bg_primary);
15
+ .primary:hover {
16
+ --iconColor: var(--zdt_iconButton_icon_primaryHover);
34
17
  }
35
- .primaryFilled_active, .enable.primaryFilled:hover {
36
- background-color: var(--dot_bg_cobalt);
18
+ .primary_active,
19
+ .primaryFilled,
20
+ .primaryFilled_active {
21
+ --iconColor: var(--zdt_iconButton_icon_primaryActive);
37
22
  }
@@ -0,0 +1,17 @@
1
+ export const defaultProps = {
2
+ palette: 'default',
3
+ iconSize: '13',
4
+ className: '',
5
+ iconClass: '',
6
+ dataId: 'iconContainer',
7
+ isActive: false,
8
+ isDisabled: false,
9
+ hoverType: 'default',
10
+ isBold: false,
11
+ isNeedEffect: true,
12
+ needButtonTag: true,
13
+ a11y: {},
14
+ dataIsHtml: false,
15
+ customProps: {},
16
+ dataSelectorId: 'iconButton'
17
+ };