@zohodesk/dot 1.0.0-beta.26 → 1.0.0-beta.260

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