@zohodesk/dot 1.9.2 → 1.9.3

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 (885) hide show
  1. package/README.md +15 -0
  2. package/_react-cli.config.js +27 -0
  3. package/assets/Appearance/dark/mode/Dot_DarkMode.module.css +425 -422
  4. package/assets/Appearance/dark/themes/blue/blue_DotTheme_DarkTheme.module.css +16 -16
  5. package/assets/Appearance/dark/themes/green/green_DotTheme_DarkTheme.module.css +16 -16
  6. package/assets/Appearance/dark/themes/orange/orange_DotTheme_DarkTheme.module.css +16 -16
  7. package/assets/Appearance/dark/themes/red/red_DotTheme_DarkTheme.module.css +16 -16
  8. package/assets/Appearance/dark/themes/yellow/yellow_DotTheme_DarkTheme.module.css +16 -16
  9. package/assets/Appearance/light/mode/Dot_LightMode.module.css +425 -422
  10. package/assets/Appearance/light/themes/blue/blue_DotTheme_LightTheme.module.css +16 -16
  11. package/assets/Appearance/light/themes/green/green_DotTheme_LightTheme.module.css +16 -16
  12. package/assets/Appearance/light/themes/orange/orange_DotTheme_LightTheme.module.css +16 -16
  13. package/assets/Appearance/light/themes/red/red_DotTheme_LightTheme.module.css +16 -16
  14. package/assets/Appearance/light/themes/yellow/yellow_DotTheme_LightTheme.module.css +16 -16
  15. package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +425 -422
  16. package/assets/Appearance/pureDark/themes/blue/blue_DotTheme_PureDarkTheme.module.css +16 -16
  17. package/assets/Appearance/pureDark/themes/green/green_DotTheme_PureDarkTheme.module.css +16 -16
  18. package/assets/Appearance/pureDark/themes/orange/orange_DotTheme_PureDarkTheme.module.css +16 -16
  19. package/assets/Appearance/pureDark/themes/red/red_DotTheme_PureDarkTheme.module.css +16 -16
  20. package/assets/Appearance/pureDark/themes/yellow/yellow_DotTheme_PureDarkTheme.module.css +16 -16
  21. package/cbt.config.js +41 -0
  22. package/es/AlphabeticList/AlphabeticList.module.css +0 -0
  23. package/es/AttachmentViewer/AttachmentViewer.js +20 -24
  24. package/es/AudioPlayer/Timer/__tests__/Timer.spec.js +1 -2
  25. package/es/AudioPlayer/__tests__/AudioPlayer.spec.js +39 -38
  26. package/es/ChannelIcon/ChannelIcon.js +11 -13
  27. package/es/DotProvider/DotProvider.js +4 -2
  28. package/es/Drawer/Drawer.js +5 -4
  29. package/es/ExternalLink/ExternalLink.js +5 -4
  30. package/es/ExternalLink/ExternalLink.module.css +0 -0
  31. package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  32. package/es/FlipCard/FlipCard.js +12 -14
  33. package/es/IconButton/IconButton.js +5 -4
  34. package/es/Link/Link.js +10 -8
  35. package/es/Message/Message.js +5 -4
  36. package/es/Onboarding/Onboarding.js +25 -33
  37. package/es/PlusIcon/PlusIcon.js +0 -0
  38. package/es/Separator/Separator.module.css +5 -5
  39. package/es/TagWithIcon/TagWithIcon.module.css +2 -2
  40. package/es/ToastMessage/ToastMessage.js +4 -2
  41. package/es/ToastMessage/ToastMessage.module.css +0 -0
  42. package/es/actions/AutoClose.js +1 -2
  43. package/es/alert/AlertLookup/AlertLookup.js +12 -14
  44. package/es/avatar/AvatarClose/AvatarClose.js +7 -7
  45. package/es/avatar/AvatarCollision/AvatarCollision.js +7 -7
  46. package/es/avatar/AvatarIcon/AvatarIcon.js +5 -4
  47. package/es/avatar/AvatarStatus/AvatarStatus.js +8 -7
  48. package/es/avatar/AvatarThread/AvatarThread.js +7 -7
  49. package/es/avatar/AvatarUser/AvatarUser.js +9 -10
  50. package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +14 -17
  51. package/es/dot_layer.module.css +1 -1
  52. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +24 -28
  53. package/es/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
  54. package/es/errorstate/Inconvenience/Inconvenience.js +1 -1
  55. package/es/errorstate/UnableToProcess/UnableToProcess.js +1 -1
  56. package/es/form/fields/CheckBoxField/CheckBoxField.js +13 -15
  57. package/es/form/fields/CurrencyField/CurrencyField.js +12 -14
  58. package/es/form/fields/DateField/DateField.js +13 -14
  59. package/es/form/fields/Fields.module.css +4 -1
  60. package/es/form/fields/MultiSelectField/MultiSelectField.js +12 -13
  61. package/es/form/fields/PhoneField/PhoneField.js +7 -7
  62. package/es/form/fields/RadioField/RadioField.js +17 -19
  63. package/es/form/fields/SelectField/SelectField.js +13 -14
  64. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +20 -20
  65. package/es/form/fields/TagsMultiSelect/props/propTypes.js +2 -1
  66. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
  67. package/es/form/fields/TextBoxField/TextBoxField.js +13 -14
  68. package/es/form/fields/TextEditor/TextEditor.module.css +0 -0
  69. package/es/form/fields/TextEditorField/TextEditorField.js +10 -11
  70. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +10 -11
  71. package/es/form/fields/TextareaField/TextareaField.js +14 -15
  72. package/es/form/fields/ValidationMessage/ValidationMessage.js +4 -2
  73. package/es/form/layout/Field/Field.js +0 -0
  74. package/es/form/layout/Section/Section.js +0 -0
  75. package/es/layout/SubtabLayout/SubtabLayout.js +6 -4
  76. package/es/list/DepartmentDropDown/DepartmentDropDown.js +17 -10
  77. package/es/list/DepartmentDropDown/props/defaultProps.js +2 -1
  78. package/es/list/DepartmentDropDown/props/propTypes.js +3 -0
  79. package/es/list/GridStencils/GridStencils.module.css +14 -5
  80. package/es/list/ListLayout/ListLayout.js +5 -4
  81. package/es/list/SecondaryText/AccountName.js +6 -4
  82. package/es/list/SecondaryText/ContactName.js +6 -4
  83. package/es/list/SecondaryText/Email.js +5 -4
  84. package/es/list/SecondaryText/PhoneNumber.js +5 -4
  85. package/es/list/SecondaryText/TicketId.js +7 -7
  86. package/es/list/SecondaryText/Website.js +0 -0
  87. package/es/list/SecondryPanel/SecondryPanel.js +0 -0
  88. package/es/list/Subject/Subject.js +5 -4
  89. package/es/list/status/StatusDropdown/StatusDropdown.js +7 -2
  90. package/es/list/status/StatusDropdown/props/defaultProps.js +2 -1
  91. package/es/list/status/StatusDropdown/props/propTypes.js +4 -1
  92. package/es/list/status/StatusListItem/StatusListItem.js +11 -7
  93. package/es/list/status/StatusListItem/StatusListItem.module.css +38 -17
  94. package/es/list/status/StatusListItem/__tests__/__snapshots__/StatusListItem.spec.js.snap +30 -23
  95. package/es/list/status/StatusListItem/props/defaultProps.js +2 -1
  96. package/es/list/status/StatusListItem/props/propTypes.js +2 -1
  97. package/es/lookup/EmptyPage/EmptyPage.js +0 -0
  98. package/es/lookup/Lookup/Lookup.js +5 -4
  99. package/es/lookup/Lookup/Lookup.module.css +0 -0
  100. package/es/lookup/header/Search/Search.js +3 -5
  101. package/es/lookup/header/TicketHeader/TicketHeader.module.css +0 -0
  102. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +0 -0
  103. package/es/setup/helptips/Link/Link.js +0 -0
  104. package/es/setup/helptips/Title/Title.js +0 -0
  105. package/es/setup/table/Text/TableText.module.css +0 -0
  106. package/es/setup/table/Text/Text.js +0 -0
  107. package/es/version2/GlobalNotification/GlobalNotification.js +9 -8
  108. package/es/version2/lookup/AlertLookup/AlertLookup.js +15 -15
  109. package/es/version2/notification/DesktopNotification/DesktopNotification.js +7 -6
  110. package/lib/AlphabeticList/AlphabeticList.module.css +0 -0
  111. package/lib/Drawer/Drawer.js +0 -0
  112. package/lib/ExternalLink/ExternalLink.js +0 -0
  113. package/lib/ExternalLink/ExternalLink.module.css +0 -0
  114. package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  115. package/lib/Link/Link.js +0 -0
  116. package/lib/PlusIcon/PlusIcon.js +0 -0
  117. package/lib/Separator/Separator.module.css +5 -5
  118. package/lib/TagWithIcon/TagWithIcon.module.css +2 -2
  119. package/lib/ToastMessage/ToastMessage.js +0 -0
  120. package/lib/ToastMessage/ToastMessage.module.css +0 -0
  121. package/lib/avatar/AvatarStatus/AvatarStatus.js +0 -0
  122. package/lib/avatar/AvatarUser/AvatarUser.js +0 -0
  123. package/lib/dot_layer.module.css +1 -1
  124. package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
  125. package/lib/errorstate/Inconvenience/Inconvenience.js +1 -1
  126. package/lib/errorstate/UnableToProcess/UnableToProcess.js +1 -1
  127. package/lib/form/fields/CheckBoxField/CheckBoxField.js +0 -0
  128. package/lib/form/fields/Fields.module.css +4 -1
  129. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +12 -7
  130. package/lib/form/fields/TagsMultiSelect/props/propTypes.js +2 -1
  131. package/lib/form/fields/TextEditor/TextEditor.module.css +0 -0
  132. package/lib/form/layout/Field/Field.js +0 -0
  133. package/lib/form/layout/Section/Section.js +0 -0
  134. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +16 -10
  135. package/lib/list/DepartmentDropDown/props/defaultProps.js +2 -1
  136. package/lib/list/DepartmentDropDown/props/propTypes.js +2 -0
  137. package/lib/list/GridStencils/GridStencils.module.css +14 -5
  138. package/lib/list/SecondaryText/Website.js +0 -0
  139. package/lib/list/SecondryPanel/SecondryPanel.js +0 -0
  140. package/lib/list/status/StatusDropdown/StatusDropdown.js +6 -2
  141. package/lib/list/status/StatusDropdown/props/defaultProps.js +2 -1
  142. package/lib/list/status/StatusDropdown/props/propTypes.js +3 -1
  143. package/lib/list/status/StatusListItem/StatusListItem.js +7 -3
  144. package/lib/list/status/StatusListItem/StatusListItem.module.css +38 -17
  145. package/lib/list/status/StatusListItem/__tests__/__snapshots__/StatusListItem.spec.js.snap +30 -23
  146. package/lib/list/status/StatusListItem/props/defaultProps.js +2 -1
  147. package/lib/list/status/StatusListItem/props/propTypes.js +2 -1
  148. package/lib/lookup/EmptyPage/EmptyPage.js +0 -0
  149. package/lib/lookup/Lookup/Lookup.js +0 -0
  150. package/lib/lookup/Lookup/Lookup.module.css +0 -0
  151. package/lib/lookup/header/TicketHeader/TicketHeader.module.css +0 -0
  152. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +0 -0
  153. package/lib/setup/helptips/Link/Link.js +0 -0
  154. package/lib/setup/helptips/Title/Title.js +0 -0
  155. package/lib/setup/table/Text/TableText.module.css +0 -0
  156. package/lib/setup/table/Text/Text.js +0 -0
  157. package/package.json +16 -20
  158. package/es/v1/ActionButton/ActionButton.js +0 -155
  159. package/es/v1/ActionButton/props/defaultProps.js +0 -19
  160. package/es/v1/ActionButton/props/propTypes.js +0 -37
  161. package/es/v1/AlphabeticList/AlphabeticList.js +0 -94
  162. package/es/v1/AlphabeticList/props/defaultProps.js +0 -12
  163. package/es/v1/AlphabeticList/props/propTypes.js +0 -23
  164. package/es/v1/Attachment/Attachment.js +0 -96
  165. package/es/v1/Attachment/props/defaultProps.js +0 -8
  166. package/es/v1/Attachment/props/propTypes.js +0 -18
  167. package/es/v1/AttachmentViewer/AttachmentImage.js +0 -81
  168. package/es/v1/AttachmentViewer/AttachmentViewer.js +0 -626
  169. package/es/v1/AttachmentViewer/props/defaultProps.js +0 -11
  170. package/es/v1/AttachmentViewer/props/propTypes.js +0 -36
  171. package/es/v1/ChannelIcon/ChannelIcon.js +0 -93
  172. package/es/v1/ChannelIcon/props/defaultProps.js +0 -7
  173. package/es/v1/ChannelIcon/props/propTypes.js +0 -25
  174. package/es/v1/Drawer/Drawer.js +0 -270
  175. package/es/v1/Drawer/props/defaultProps.js +0 -23
  176. package/es/v1/Drawer/props/propTypes.js +0 -53
  177. package/es/v1/ExternalLink/ExternalLink.js +0 -48
  178. package/es/v1/ExternalLink/props/defaultProps.js +0 -5
  179. package/es/v1/ExternalLink/props/propTypes.js +0 -12
  180. package/es/v1/FlipCard/FlipCard.js +0 -132
  181. package/es/v1/FlipCard/props/defaultProps.js +0 -5
  182. package/es/v1/FlipCard/props/propTypes.js +0 -37
  183. package/es/v1/FormAction/FormAction.js +0 -75
  184. package/es/v1/FormAction/props/defaultProps.js +0 -5
  185. package/es/v1/FormAction/props/propTypes.js +0 -8
  186. package/es/v1/FreezeLayer/FreezeLayer.js +0 -74
  187. package/es/v1/FreezeLayer/props/defaultProps.js +0 -9
  188. package/es/v1/FreezeLayer/props/propTypes.js +0 -19
  189. package/es/v1/GlobalNotification/GlobalNotification.js +0 -144
  190. package/es/v1/GlobalNotification/props/defaultProps.js +0 -6
  191. package/es/v1/GlobalNotification/props/propTypes.js +0 -42
  192. package/es/v1/IconButton/IconButton.js +0 -112
  193. package/es/v1/IconButton/props/defaultProps.js +0 -17
  194. package/es/v1/IconButton/props/propTypes.js +0 -33
  195. package/es/v1/Image/Image.js +0 -36
  196. package/es/v1/Image/props/defaultProps.js +0 -4
  197. package/es/v1/Image/props/propTypes.js +0 -15
  198. package/es/v1/ImportantNotes/ImportantNotes.js +0 -41
  199. package/es/v1/ImportantNotes/props/defaultProps.js +0 -6
  200. package/es/v1/ImportantNotes/props/propTypes.js +0 -10
  201. package/es/v1/Link/Link.js +0 -93
  202. package/es/v1/Link/props/defaultProps.js +0 -5
  203. package/es/v1/Link/props/propTypes.js +0 -18
  204. package/es/v1/Loader/Loader.js +0 -15
  205. package/es/v1/Message/Message.js +0 -91
  206. package/es/v1/Message/props/defaultProps.js +0 -4
  207. package/es/v1/Message/props/propTypes.js +0 -20
  208. package/es/v1/MessageBanner/MessageBanner.js +0 -60
  209. package/es/v1/MessageBanner/props/defaultProps.js +0 -7
  210. package/es/v1/MessageBanner/props/propTypes.js +0 -13
  211. package/es/v1/NewStar/NewStar.js +0 -61
  212. package/es/v1/NewStar/props/defaultProps.js +0 -4
  213. package/es/v1/NewStar/props/propTypes.js +0 -6
  214. package/es/v1/PlusIcon/PlusIcon.js +0 -32
  215. package/es/v1/PlusIcon/props/defaultProps.js +0 -8
  216. package/es/v1/PlusIcon/props/propTypes.js +0 -11
  217. package/es/v1/Separator/Separator.js +0 -53
  218. package/es/v1/Separator/props/defaultProps.js +0 -12
  219. package/es/v1/Separator/props/propTypes.js +0 -11
  220. package/es/v1/TagWithIcon/TagWithIcon.js +0 -39
  221. package/es/v1/TagWithIcon/props/defaultProps.js +0 -8
  222. package/es/v1/TagWithIcon/props/propTypes.js +0 -13
  223. package/es/v1/ToastMessage/ToastMessage.js +0 -201
  224. package/es/v1/ToastMessage/props/defaultProps.js +0 -18
  225. package/es/v1/ToastMessage/props/propTypes.js +0 -40
  226. package/es/v1/Upload/Upload.js +0 -69
  227. package/es/v1/Upload/props/defaultProps.js +0 -7
  228. package/es/v1/Upload/props/propTypes.js +0 -17
  229. package/es/v1/actions/AutoClose.js +0 -44
  230. package/es/v1/actions/props/defaultProps.js +0 -3
  231. package/es/v1/actions/props/propTypes.js +0 -8
  232. package/es/v1/alert/AlertClose/AlertClose.js +0 -43
  233. package/es/v1/alert/AlertClose/props/propTypes.js +0 -8
  234. package/es/v1/alert/AlertHeader/AlertHeader.js +0 -82
  235. package/es/v1/alert/AlertHeader/props/defaultProps.js +0 -12
  236. package/es/v1/alert/AlertHeader/props/propTypes.js +0 -20
  237. package/es/v1/alert/AlertLookup/AlertLookup.js +0 -166
  238. package/es/v1/alert/AlertLookup/props/defaultProps.js +0 -13
  239. package/es/v1/alert/AlertLookup/props/propTypes.js +0 -36
  240. package/es/v1/alert/alertIcons/AlarmAlertIcon.js +0 -65
  241. package/es/v1/alert/alertIcons/AlertIcons.js +0 -57
  242. package/es/v1/alert/alertIcons/DangerAlertIcon.js +0 -65
  243. package/es/v1/alert/alertIcons/ErrorAlertIcon.js +0 -70
  244. package/es/v1/alert/alertIcons/InfoAlertIcon.js +0 -74
  245. package/es/v1/alert/alertIcons/NotificationAlertIcon.js +0 -70
  246. package/es/v1/alert/alertIcons/SuccessAlertIcon.js +0 -65
  247. package/es/v1/alert/alertIcons/WarningAlertIcon.js +0 -65
  248. package/es/v1/alert/alertIcons/index.js +0 -8
  249. package/es/v1/alert/alertIcons/props/defaultProps.js +0 -27
  250. package/es/v1/alert/alertIcons/props/propTypes.js +0 -34
  251. package/es/v1/alert/index.js +0 -2
  252. package/es/v1/avatar/AvatarClose/AvatarClose.js +0 -47
  253. package/es/v1/avatar/AvatarClose/props/defaultProps.js +0 -7
  254. package/es/v1/avatar/AvatarClose/props/propTypes.js +0 -15
  255. package/es/v1/avatar/AvatarCollision/AvatarCollision.js +0 -51
  256. package/es/v1/avatar/AvatarCollision/props/defaultProps.js +0 -8
  257. package/es/v1/avatar/AvatarCollision/props/propTypes.js +0 -17
  258. package/es/v1/avatar/AvatarIcon/AvatarIcon.js +0 -48
  259. package/es/v1/avatar/AvatarIcon/props/defaultProps.js +0 -14
  260. package/es/v1/avatar/AvatarIcon/props/propTypes.js +0 -20
  261. package/es/v1/avatar/AvatarStatus/AvatarStatus.js +0 -59
  262. package/es/v1/avatar/AvatarStatus/props/defaultProps.js +0 -12
  263. package/es/v1/avatar/AvatarStatus/props/propTypes.js +0 -26
  264. package/es/v1/avatar/AvatarThread/AvatarThread.js +0 -72
  265. package/es/v1/avatar/AvatarThread/props/defaultProps.js +0 -9
  266. package/es/v1/avatar/AvatarThread/props/propTypes.js +0 -30
  267. package/es/v1/avatar/AvatarUser/AvatarUser.js +0 -110
  268. package/es/v1/avatar/AvatarUser/props/defaultProps.js +0 -8
  269. package/es/v1/avatar/AvatarUser/props/propTypes.js +0 -35
  270. package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +0 -94
  271. package/es/v1/avatar/AvatarWithTeam/props/defaultProps.js +0 -9
  272. package/es/v1/avatar/AvatarWithTeam/props/propTypes.js +0 -25
  273. package/es/v1/avatar/index.js +0 -7
  274. package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +0 -880
  275. package/es/v1/dropdown/ToggleDropDown/props/defaultProps.js +0 -29
  276. package/es/v1/dropdown/ToggleDropDown/props/propTypes.js +0 -83
  277. package/es/v1/emptystate/CommonEmptyState/CommonEmptyState.js +0 -64
  278. package/es/v1/emptystate/CommonEmptyState/props/defaultProps.js +0 -10
  279. package/es/v1/emptystate/CommonEmptyState/props/propTypes.js +0 -21
  280. package/es/v1/emptystate/EditionPage/EditionPage.js +0 -51
  281. package/es/v1/emptystate/EditionPage/props/defaultProps.js +0 -5
  282. package/es/v1/emptystate/EditionPage/props/propTypes.js +0 -11
  283. package/es/v1/errorstate/Inconvenience/Inconvenience.js +0 -60
  284. package/es/v1/errorstate/Inconvenience/props/defaultProps.js +0 -8
  285. package/es/v1/errorstate/Inconvenience/props/propTypes.js +0 -16
  286. package/es/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +0 -64
  287. package/es/v1/errorstate/OopsSomethingMiss/props/defaultProps.js +0 -8
  288. package/es/v1/errorstate/OopsSomethingMiss/props/propTypes.js +0 -16
  289. package/es/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +0 -64
  290. package/es/v1/errorstate/UnableToProcessRequest/props/defaultProps.js +0 -8
  291. package/es/v1/errorstate/UnableToProcessRequest/props/propTypes.js +0 -16
  292. package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -65
  293. package/es/v1/errorstate/UnauthorizedLogin/props/defaultProps.js +0 -9
  294. package/es/v1/errorstate/UnauthorizedLogin/props/propTypes.js +0 -17
  295. package/es/v1/errorstate/UrlNotFound/UrlNotFound.js +0 -64
  296. package/es/v1/errorstate/UrlNotFound/props/defaultProps.js +0 -8
  297. package/es/v1/errorstate/UrlNotFound/props/propTypes.js +0 -16
  298. package/es/v1/errorstate/WillBeRightBack/WillBeRightBack.js +0 -64
  299. package/es/v1/errorstate/WillBeRightBack/props/defaultProps.js +0 -8
  300. package/es/v1/errorstate/WillBeRightBack/props/propTypes.js +0 -16
  301. package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +0 -130
  302. package/es/v1/form/fields/CheckBoxField/props/defaultProps.js +0 -12
  303. package/es/v1/form/fields/CheckBoxField/props/propTypes.js +0 -29
  304. package/es/v1/form/fields/CurrencyField/CurrencyField.js +0 -160
  305. package/es/v1/form/fields/CurrencyField/props/defaultProps.js +0 -17
  306. package/es/v1/form/fields/CurrencyField/props/propTypes.js +0 -39
  307. package/es/v1/form/fields/DateField/DateField.js +0 -164
  308. package/es/v1/form/fields/DateField/props/defaultProps.js +0 -19
  309. package/es/v1/form/fields/DateField/props/propTypes.js +0 -39
  310. package/es/v1/form/fields/FieldContainer/FieldContainer.js +0 -66
  311. package/es/v1/form/fields/FieldContainer/props/defaultProps.js +0 -6
  312. package/es/v1/form/fields/FieldContainer/props/propTypes.js +0 -24
  313. package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +0 -190
  314. package/es/v1/form/fields/MultiSelectField/props/defaultProps.js +0 -17
  315. package/es/v1/form/fields/MultiSelectField/props/propTypes.js +0 -50
  316. package/es/v1/form/fields/PhoneField/PhoneField.js +0 -161
  317. package/es/v1/form/fields/PhoneField/props/defaultProps.js +0 -16
  318. package/es/v1/form/fields/PhoneField/props/propTypes.js +0 -47
  319. package/es/v1/form/fields/RadioField/RadioField.js +0 -144
  320. package/es/v1/form/fields/RadioField/props/defaultProps.js +0 -13
  321. package/es/v1/form/fields/RadioField/props/propTypes.js +0 -33
  322. package/es/v1/form/fields/RadioField/useRadio.js +0 -44
  323. package/es/v1/form/fields/SelectField/SelectField.js +0 -160
  324. package/es/v1/form/fields/SelectField/props/defaultProps.js +0 -18
  325. package/es/v1/form/fields/SelectField/props/propTypes.js +0 -50
  326. package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +0 -333
  327. package/es/v1/form/fields/TagsMultiSelect/props/defaultProps.js +0 -16
  328. package/es/v1/form/fields/TagsMultiSelect/props/propTypes.js +0 -57
  329. package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +0 -276
  330. package/es/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +0 -23
  331. package/es/v1/form/fields/TagsMultiSelectField/props/propTypes.js +0 -71
  332. package/es/v1/form/fields/TextBoxField/TextBoxField.js +0 -144
  333. package/es/v1/form/fields/TextBoxField/props/defaultProps.js +0 -17
  334. package/es/v1/form/fields/TextBoxField/props/propTypes.js +0 -44
  335. package/es/v1/form/fields/TextEditor/TextEditor.js +0 -418
  336. package/es/v1/form/fields/TextEditor/props/defaultProps.js +0 -16
  337. package/es/v1/form/fields/TextEditor/props/propTypes.js +0 -53
  338. package/es/v1/form/fields/TextEditorField/TextEditorField.js +0 -159
  339. package/es/v1/form/fields/TextEditorField/props/defaultProps.js +0 -15
  340. package/es/v1/form/fields/TextEditorField/props/propTypes.js +0 -59
  341. package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +0 -163
  342. package/es/v1/form/fields/TextEditorWrapper/props/defaultProps.js +0 -9
  343. package/es/v1/form/fields/TextEditorWrapper/props/propTypes.js +0 -40
  344. package/es/v1/form/fields/TextareaField/TextareaField.js +0 -140
  345. package/es/v1/form/fields/TextareaField/props/defaultProps.js +0 -15
  346. package/es/v1/form/fields/TextareaField/props/propTypes.js +0 -35
  347. package/es/v1/form/fields/ValidationMessage/ValidationMessage.js +0 -58
  348. package/es/v1/form/fields/ValidationMessage/props/defaultProps.js +0 -7
  349. package/es/v1/form/fields/ValidationMessage/props/propTypes.js +0 -16
  350. package/es/v1/form/fields/index.js +0 -16
  351. package/es/v1/form/fields/props/FieldCommonDefaultProps.js +0 -10
  352. package/es/v1/form/fields/props/FieldCommonPropTypes.js +0 -17
  353. package/es/v1/form/layout/Field/Field.js +0 -29
  354. package/es/v1/form/layout/Field/props/defaultProps.js +0 -4
  355. package/es/v1/form/layout/Field/props/propTypes.js +0 -10
  356. package/es/v1/form/layout/Section/Section.js +0 -30
  357. package/es/v1/form/layout/Section/props/propTypes.js +0 -11
  358. package/es/v1/form/layout/index.js +0 -2
  359. package/es/v1/layout/SetupDetailLayout/SetupDetailLayout.js +0 -174
  360. package/es/v1/layout/SetupDetailLayout/index.js +0 -4
  361. package/es/v1/layout/SetupDetailLayout/props/defaultProps.js +0 -20
  362. package/es/v1/layout/SetupDetailLayout/props/propTypes.js +0 -40
  363. package/es/v1/layout/SubtabLayout/SubtabLayout.js +0 -126
  364. package/es/v1/layout/SubtabLayout/index.js +0 -4
  365. package/es/v1/layout/SubtabLayout/props/defaultProps.js +0 -25
  366. package/es/v1/layout/SubtabLayout/props/propTypes.js +0 -40
  367. package/es/v1/list/AvatarFlip/AvatarFlip.js +0 -73
  368. package/es/v1/list/AvatarFlip/props/defaultProps.js +0 -6
  369. package/es/v1/list/AvatarFlip/props/propTypes.js +0 -29
  370. package/es/v1/list/BluePrintStatus/BluePrintStatus.js +0 -21
  371. package/es/v1/list/BluePrintStatus/props/propTypes.js +0 -4
  372. package/es/v1/list/Comment/Comment.js +0 -35
  373. package/es/v1/list/Comment/props/defaultProps.js +0 -4
  374. package/es/v1/list/Comment/props/propTypes.js +0 -7
  375. package/es/v1/list/DepartmentDropDown/DepartmentDropDown.js +0 -85
  376. package/es/v1/list/DepartmentDropDown/props/defaultProps.js +0 -7
  377. package/es/v1/list/DepartmentDropDown/props/propTypes.js +0 -24
  378. package/es/v1/list/Dot/Dot.js +0 -15
  379. package/es/v1/list/Dot/props/defaultProps.js +0 -4
  380. package/es/v1/list/Dot/props/propTypes.js +0 -5
  381. package/es/v1/list/DotNew/DotNew.js +0 -22
  382. package/es/v1/list/DotNew/props/defaultProps.js +0 -3
  383. package/es/v1/list/DotNew/props/propTypes.js +0 -6
  384. package/es/v1/list/GridStencils/GridStencils.js +0 -31
  385. package/es/v1/list/GridStencils/props/propTypes.js +0 -8
  386. package/es/v1/list/Icons/AddNewIcon.js +0 -25
  387. package/es/v1/list/Icons/CompleteIcon.js +0 -27
  388. package/es/v1/list/Icons/DeleteIcon.js +0 -28
  389. package/es/v1/list/Icons/EditIcon.js +0 -28
  390. package/es/v1/list/Icons/FloatingIcons.js +0 -23
  391. package/es/v1/list/Icons/ReadUnreadIcon.js +0 -32
  392. package/es/v1/list/Icons/SmartIcon.js +0 -25
  393. package/es/v1/list/Icons/index.js +0 -7
  394. package/es/v1/list/Icons/props/defaultProps.js +0 -6
  395. package/es/v1/list/Icons/props/propTypes.js +0 -53
  396. package/es/v1/list/ListLayout/ListLayout.js +0 -68
  397. package/es/v1/list/ListLayout/props/defaultProps.js +0 -11
  398. package/es/v1/list/ListLayout/props/propTypes.js +0 -27
  399. package/es/v1/list/ListStencils/ListStencils.js +0 -44
  400. package/es/v1/list/ListStencils/props/defaultProps.js +0 -3
  401. package/es/v1/list/ListStencils/props/propTypes.js +0 -4
  402. package/es/v1/list/SecondaryText/AccountName.js +0 -77
  403. package/es/v1/list/SecondaryText/ContactName.js +0 -76
  404. package/es/v1/list/SecondaryText/DepartmentText.js +0 -18
  405. package/es/v1/list/SecondaryText/Email.js +0 -47
  406. package/es/v1/list/SecondaryText/HappinessRating.js +0 -23
  407. package/es/v1/list/SecondaryText/PhoneNumber.js +0 -51
  408. package/es/v1/list/SecondaryText/PriorityText.js +0 -21
  409. package/es/v1/list/SecondaryText/SecondaryText.js +0 -27
  410. package/es/v1/list/SecondaryText/StatusText.js +0 -22
  411. package/es/v1/list/SecondaryText/TicketId.js +0 -41
  412. package/es/v1/list/SecondaryText/Website.js +0 -35
  413. package/es/v1/list/SecondaryText/index.js +0 -11
  414. package/es/v1/list/SecondaryText/props/defaultProps.js +0 -44
  415. package/es/v1/list/SecondaryText/props/propTypes.js +0 -142
  416. package/es/v1/list/SecondryPanel/SecondryPanel.js +0 -87
  417. package/es/v1/list/SecondryPanel/props/defaultProps.js +0 -18
  418. package/es/v1/list/SecondryPanel/props/propTypes.js +0 -27
  419. package/es/v1/list/SentimentStatus/SentimentStatus.js +0 -23
  420. package/es/v1/list/SentimentStatus/props/propTypes.js +0 -5
  421. package/es/v1/list/Subject/Subject.js +0 -52
  422. package/es/v1/list/Subject/props/defaultProps.js +0 -8
  423. package/es/v1/list/Subject/props/propTypes.js +0 -20
  424. package/es/v1/list/TagNew/TagNew.js +0 -24
  425. package/es/v1/list/TagNew/props/defaultProps.js +0 -4
  426. package/es/v1/list/TagNew/props/propTypes.js +0 -8
  427. package/es/v1/list/Thread/Thread.js +0 -33
  428. package/es/v1/list/Thread/props/defaultProps.js +0 -4
  429. package/es/v1/list/Thread/props/propTypes.js +0 -8
  430. package/es/v1/list/index.js +0 -16
  431. package/es/v1/list/status/StatusDropdown/StatusDropdown.js +0 -307
  432. package/es/v1/list/status/StatusDropdown/props/defaultProps.js +0 -22
  433. package/es/v1/list/status/StatusDropdown/props/propTypes.js +0 -60
  434. package/es/v1/list/status/StatusListItem/StatusListItem.js +0 -108
  435. package/es/v1/list/status/StatusListItem/props/defaultProps.js +0 -16
  436. package/es/v1/list/status/StatusListItem/props/propTypes.js +0 -31
  437. package/es/v1/list/status/index.js +0 -2
  438. package/es/v1/lookup/EmptyPage/EmptyPage.js +0 -54
  439. package/es/v1/lookup/EmptyPage/props/defaultProps.js +0 -4
  440. package/es/v1/lookup/EmptyPage/props/propTypes.js +0 -5
  441. package/es/v1/lookup/Lookup/Lookup.js +0 -116
  442. package/es/v1/lookup/Lookup/props/defaultProps.js +0 -9
  443. package/es/v1/lookup/Lookup/props/propTypes.js +0 -24
  444. package/es/v1/lookup/Section/Section.js +0 -18
  445. package/es/v1/lookup/Section/props/propTypes.js +0 -6
  446. package/es/v1/lookup/header/Close/Close.js +0 -30
  447. package/es/v1/lookup/header/Close/props/defaultProps.js +0 -3
  448. package/es/v1/lookup/header/Close/props/propTypes.js +0 -6
  449. package/es/v1/lookup/header/ModuleHeader/ModuleHeader.js +0 -89
  450. package/es/v1/lookup/header/ModuleHeader/props/defaultProps.js +0 -9
  451. package/es/v1/lookup/header/ModuleHeader/props/propTypes.js +0 -20
  452. package/es/v1/lookup/header/Search/Search.js +0 -179
  453. package/es/v1/lookup/header/Search/props/defaultProps.js +0 -5
  454. package/es/v1/lookup/header/Search/props/propTypes.js +0 -28
  455. package/es/v1/lookup/header/TicketHeader/TicketHeader.js +0 -108
  456. package/es/v1/lookup/header/TicketHeader/props/defaultProps.js +0 -10
  457. package/es/v1/lookup/header/TicketHeader/props/propTypes.js +0 -21
  458. package/es/v1/lookup/header/Title/Title.js +0 -27
  459. package/es/v1/lookup/header/Title/props/defaultProps.js +0 -3
  460. package/es/v1/lookup/header/Title/props/propTypes.js +0 -6
  461. package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +0 -194
  462. package/es/v1/lookup/header/ViewDropDown/props/defaultProps.js +0 -10
  463. package/es/v1/lookup/header/ViewDropDown/props/propTypes.js +0 -27
  464. package/es/v1/lookup/header/index.js +0 -5
  465. package/es/v1/notification/DesktopNotification/DesktopNotification.js +0 -190
  466. package/es/v1/notification/DesktopNotification/props/defaultProps.js +0 -17
  467. package/es/v1/notification/DesktopNotification/props/propTypes.js +0 -43
  468. package/es/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +0 -91
  469. package/es/v1/notification/DesktopNotificationHeader/props/defaultProps.js +0 -7
  470. package/es/v1/notification/DesktopNotificationHeader/props/propTypes.js +0 -13
  471. package/es/v1/setup/header/Button/Button.js +0 -24
  472. package/es/v1/setup/header/Button/props/defaultProps.js +0 -4
  473. package/es/v1/setup/header/Button/props/propTypes.js +0 -7
  474. package/es/v1/setup/header/Link/Link.js +0 -32
  475. package/es/v1/setup/header/Link/props/defaultProps.js +0 -4
  476. package/es/v1/setup/header/Link/props/propTypes.js +0 -8
  477. package/es/v1/setup/header/Search/Search.js +0 -60
  478. package/es/v1/setup/header/Search/props/defaultProps.js +0 -6
  479. package/es/v1/setup/header/Search/props/propTypes.js +0 -12
  480. package/es/v1/setup/header/Views/Views.js +0 -34
  481. package/es/v1/setup/header/Views/props/defaultProps.js +0 -6
  482. package/es/v1/setup/header/Views/props/propTypes.js +0 -9
  483. package/es/v1/setup/header/index.js +0 -4
  484. package/es/v1/setup/helptips/Description/Description.js +0 -12
  485. package/es/v1/setup/helptips/Description/props/propTypes.js +0 -4
  486. package/es/v1/setup/helptips/Link/Link.js +0 -29
  487. package/es/v1/setup/helptips/Link/props/propTypes.js +0 -7
  488. package/es/v1/setup/helptips/ListGroup/ListGroup.js +0 -27
  489. package/es/v1/setup/helptips/ListGroup/props/propTypes.js +0 -5
  490. package/es/v1/setup/helptips/Title/Title.js +0 -12
  491. package/es/v1/setup/helptips/Title/props/propTypes.js +0 -4
  492. package/es/v1/setup/helptips/index.js +0 -4
  493. package/es/v1/setup/index.js +0 -6
  494. package/es/v1/setup/table/Table/Table.js +0 -22
  495. package/es/v1/setup/table/Table/props/defaultProps.js +0 -4
  496. package/es/v1/setup/table/Table/props/propTypes.js +0 -6
  497. package/es/v1/setup/table/TableBody/TableBody.js +0 -26
  498. package/es/v1/setup/table/TableBody/props/defaultProps.js +0 -3
  499. package/es/v1/setup/table/TableBody/props/propTypes.js +0 -7
  500. package/es/v1/setup/table/TableData/TableData.js +0 -31
  501. package/es/v1/setup/table/TableData/props/defaultProps.js +0 -5
  502. package/es/v1/setup/table/TableData/props/propTypes.js +0 -11
  503. package/es/v1/setup/table/TableHead/TableHead.js +0 -31
  504. package/es/v1/setup/table/TableHead/props/defaultProps.js +0 -4
  505. package/es/v1/setup/table/TableHead/props/propTypes.js +0 -8
  506. package/es/v1/setup/table/TableRow/TableRow.js +0 -36
  507. package/es/v1/setup/table/TableRow/props/defaultProps.js +0 -4
  508. package/es/v1/setup/table/TableRow/props/propTypes.js +0 -11
  509. package/es/v1/setup/table/Text/Text.js +0 -50
  510. package/es/v1/setup/table/Text/props/defaultProps.js +0 -7
  511. package/es/v1/setup/table/Text/props/propTypes.js +0 -13
  512. package/es/v1/setup/table/index.js +0 -5
  513. package/es/v1/svg/PlusIcon.js +0 -25
  514. package/es/v1/svg/SnippetIcon.js +0 -27
  515. package/es/v1/svg/TemplateIcon.js +0 -28
  516. package/es/v1/svg/index.js +0 -3
  517. package/es/v1/svg/props/defaultProps.js +0 -15
  518. package/es/v1/svg/props/propTypes.js +0 -16
  519. package/es/v1/utils/ChannelIconMapping.js +0 -129
  520. package/es/v1/utils/General.js +0 -45
  521. package/es/v1/utils/editorUtils.js +0 -193
  522. package/lib/v1/ActionButton/ActionButton.js +0 -173
  523. package/lib/v1/ActionButton/props/defaultProps.js +0 -26
  524. package/lib/v1/ActionButton/props/propTypes.js +0 -48
  525. package/lib/v1/AlphabeticList/AlphabeticList.js +0 -113
  526. package/lib/v1/AlphabeticList/props/defaultProps.js +0 -20
  527. package/lib/v1/AlphabeticList/props/propTypes.js +0 -50
  528. package/lib/v1/Attachment/Attachment.js +0 -110
  529. package/lib/v1/Attachment/props/defaultProps.js +0 -15
  530. package/lib/v1/Attachment/props/propTypes.js +0 -29
  531. package/lib/v1/AttachmentViewer/AttachmentImage.js +0 -117
  532. package/lib/v1/AttachmentViewer/AttachmentViewer.js +0 -713
  533. package/lib/v1/AttachmentViewer/props/defaultProps.js +0 -19
  534. package/lib/v1/AttachmentViewer/props/propTypes.js +0 -48
  535. package/lib/v1/ChannelIcon/ChannelIcon.js +0 -114
  536. package/lib/v1/ChannelIcon/props/defaultProps.js +0 -14
  537. package/lib/v1/ChannelIcon/props/propTypes.js +0 -36
  538. package/lib/v1/Drawer/Drawer.js +0 -302
  539. package/lib/v1/Drawer/props/defaultProps.js +0 -32
  540. package/lib/v1/Drawer/props/propTypes.js +0 -67
  541. package/lib/v1/ExternalLink/ExternalLink.js +0 -57
  542. package/lib/v1/ExternalLink/props/defaultProps.js +0 -12
  543. package/lib/v1/ExternalLink/props/propTypes.js +0 -23
  544. package/lib/v1/FlipCard/FlipCard.js +0 -149
  545. package/lib/v1/FlipCard/props/defaultProps.js +0 -12
  546. package/lib/v1/FlipCard/props/propTypes.js +0 -48
  547. package/lib/v1/FormAction/FormAction.js +0 -102
  548. package/lib/v1/FormAction/props/defaultProps.js +0 -12
  549. package/lib/v1/FormAction/props/propTypes.js +0 -19
  550. package/lib/v1/FreezeLayer/FreezeLayer.js +0 -94
  551. package/lib/v1/FreezeLayer/props/defaultProps.js +0 -16
  552. package/lib/v1/FreezeLayer/props/propTypes.js +0 -31
  553. package/lib/v1/GlobalNotification/GlobalNotification.js +0 -187
  554. package/lib/v1/GlobalNotification/props/defaultProps.js +0 -13
  555. package/lib/v1/GlobalNotification/props/propTypes.js +0 -58
  556. package/lib/v1/IconButton/IconButton.js +0 -149
  557. package/lib/v1/IconButton/props/defaultProps.js +0 -24
  558. package/lib/v1/IconButton/props/propTypes.js +0 -43
  559. package/lib/v1/Image/Image.js +0 -48
  560. package/lib/v1/Image/props/defaultProps.js +0 -11
  561. package/lib/v1/Image/props/propTypes.js +0 -26
  562. package/lib/v1/ImportantNotes/ImportantNotes.js +0 -55
  563. package/lib/v1/ImportantNotes/props/defaultProps.js +0 -13
  564. package/lib/v1/ImportantNotes/props/propTypes.js +0 -21
  565. package/lib/v1/Link/Link.js +0 -116
  566. package/lib/v1/Link/props/defaultProps.js +0 -12
  567. package/lib/v1/Link/props/propTypes.js +0 -29
  568. package/lib/v1/Loader/Loader.js +0 -27
  569. package/lib/v1/Message/Message.js +0 -113
  570. package/lib/v1/Message/props/defaultProps.js +0 -11
  571. package/lib/v1/Message/props/propTypes.js +0 -41
  572. package/lib/v1/MessageBanner/MessageBanner.js +0 -75
  573. package/lib/v1/MessageBanner/props/defaultProps.js +0 -14
  574. package/lib/v1/MessageBanner/props/propTypes.js +0 -24
  575. package/lib/v1/NewStar/NewStar.js +0 -74
  576. package/lib/v1/NewStar/props/defaultProps.js +0 -11
  577. package/lib/v1/NewStar/props/propTypes.js +0 -17
  578. package/lib/v1/PlusIcon/PlusIcon.js +0 -45
  579. package/lib/v1/PlusIcon/props/defaultProps.js +0 -15
  580. package/lib/v1/PlusIcon/props/propTypes.js +0 -22
  581. package/lib/v1/Separator/Separator.js +0 -66
  582. package/lib/v1/Separator/props/defaultProps.js +0 -19
  583. package/lib/v1/Separator/props/propTypes.js +0 -22
  584. package/lib/v1/TagWithIcon/TagWithIcon.js +0 -53
  585. package/lib/v1/TagWithIcon/props/defaultProps.js +0 -15
  586. package/lib/v1/TagWithIcon/props/propTypes.js +0 -24
  587. package/lib/v1/ToastMessage/ToastMessage.js +0 -246
  588. package/lib/v1/ToastMessage/props/defaultProps.js +0 -25
  589. package/lib/v1/ToastMessage/props/propTypes.js +0 -51
  590. package/lib/v1/Upload/Upload.js +0 -83
  591. package/lib/v1/Upload/props/defaultProps.js +0 -14
  592. package/lib/v1/Upload/props/propTypes.js +0 -28
  593. package/lib/v1/actions/AutoClose.js +0 -75
  594. package/lib/v1/actions/props/defaultProps.js +0 -10
  595. package/lib/v1/actions/props/propTypes.js +0 -19
  596. package/lib/v1/alert/AlertClose/AlertClose.js +0 -62
  597. package/lib/v1/alert/AlertClose/props/propTypes.js +0 -19
  598. package/lib/v1/alert/AlertHeader/AlertHeader.js +0 -107
  599. package/lib/v1/alert/AlertHeader/props/defaultProps.js +0 -19
  600. package/lib/v1/alert/AlertHeader/props/propTypes.js +0 -31
  601. package/lib/v1/alert/AlertLookup/AlertLookup.js +0 -187
  602. package/lib/v1/alert/AlertLookup/props/defaultProps.js +0 -20
  603. package/lib/v1/alert/AlertLookup/props/propTypes.js +0 -47
  604. package/lib/v1/alert/alertIcons/AlarmAlertIcon.js +0 -77
  605. package/lib/v1/alert/alertIcons/AlertIcons.js +0 -78
  606. package/lib/v1/alert/alertIcons/DangerAlertIcon.js +0 -77
  607. package/lib/v1/alert/alertIcons/ErrorAlertIcon.js +0 -82
  608. package/lib/v1/alert/alertIcons/InfoAlertIcon.js +0 -86
  609. package/lib/v1/alert/alertIcons/NotificationAlertIcon.js +0 -82
  610. package/lib/v1/alert/alertIcons/SuccessAlertIcon.js +0 -77
  611. package/lib/v1/alert/alertIcons/WarningAlertIcon.js +0 -77
  612. package/lib/v1/alert/alertIcons/index.js +0 -71
  613. package/lib/v1/alert/alertIcons/props/defaultProps.js +0 -41
  614. package/lib/v1/alert/alertIcons/props/propTypes.js +0 -52
  615. package/lib/v1/alert/index.js +0 -23
  616. package/lib/v1/avatar/AvatarClose/AvatarClose.js +0 -61
  617. package/lib/v1/avatar/AvatarClose/props/defaultProps.js +0 -14
  618. package/lib/v1/avatar/AvatarClose/props/propTypes.js +0 -26
  619. package/lib/v1/avatar/AvatarCollision/AvatarCollision.js +0 -65
  620. package/lib/v1/avatar/AvatarCollision/props/defaultProps.js +0 -15
  621. package/lib/v1/avatar/AvatarCollision/props/propTypes.js +0 -28
  622. package/lib/v1/avatar/AvatarIcon/AvatarIcon.js +0 -63
  623. package/lib/v1/avatar/AvatarIcon/props/defaultProps.js +0 -21
  624. package/lib/v1/avatar/AvatarIcon/props/propTypes.js +0 -31
  625. package/lib/v1/avatar/AvatarStatus/AvatarStatus.js +0 -73
  626. package/lib/v1/avatar/AvatarStatus/props/defaultProps.js +0 -19
  627. package/lib/v1/avatar/AvatarStatus/props/propTypes.js +0 -35
  628. package/lib/v1/avatar/AvatarThread/AvatarThread.js +0 -85
  629. package/lib/v1/avatar/AvatarThread/props/defaultProps.js +0 -16
  630. package/lib/v1/avatar/AvatarThread/props/propTypes.js +0 -41
  631. package/lib/v1/avatar/AvatarUser/AvatarUser.js +0 -122
  632. package/lib/v1/avatar/AvatarUser/props/defaultProps.js +0 -15
  633. package/lib/v1/avatar/AvatarUser/props/propTypes.js +0 -46
  634. package/lib/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +0 -109
  635. package/lib/v1/avatar/AvatarWithTeam/props/defaultProps.js +0 -16
  636. package/lib/v1/avatar/AvatarWithTeam/props/propTypes.js +0 -36
  637. package/lib/v1/avatar/index.js +0 -63
  638. package/lib/v1/dropdown/ToggleDropDown/ToggleDropDown.js +0 -946
  639. package/lib/v1/dropdown/ToggleDropDown/props/defaultProps.js +0 -36
  640. package/lib/v1/dropdown/ToggleDropDown/props/propTypes.js +0 -94
  641. package/lib/v1/emptystate/CommonEmptyState/CommonEmptyState.js +0 -77
  642. package/lib/v1/emptystate/CommonEmptyState/props/defaultProps.js +0 -17
  643. package/lib/v1/emptystate/CommonEmptyState/props/propTypes.js +0 -32
  644. package/lib/v1/emptystate/EditionPage/EditionPage.js +0 -64
  645. package/lib/v1/emptystate/EditionPage/props/defaultProps.js +0 -12
  646. package/lib/v1/emptystate/EditionPage/props/propTypes.js +0 -22
  647. package/lib/v1/errorstate/Inconvenience/Inconvenience.js +0 -76
  648. package/lib/v1/errorstate/Inconvenience/props/defaultProps.js +0 -15
  649. package/lib/v1/errorstate/Inconvenience/props/propTypes.js +0 -27
  650. package/lib/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +0 -80
  651. package/lib/v1/errorstate/OopsSomethingMiss/props/defaultProps.js +0 -15
  652. package/lib/v1/errorstate/OopsSomethingMiss/props/propTypes.js +0 -27
  653. package/lib/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +0 -80
  654. package/lib/v1/errorstate/UnableToProcessRequest/props/defaultProps.js +0 -15
  655. package/lib/v1/errorstate/UnableToProcessRequest/props/propTypes.js +0 -27
  656. package/lib/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -81
  657. package/lib/v1/errorstate/UnauthorizedLogin/props/defaultProps.js +0 -16
  658. package/lib/v1/errorstate/UnauthorizedLogin/props/propTypes.js +0 -28
  659. package/lib/v1/errorstate/UrlNotFound/UrlNotFound.js +0 -80
  660. package/lib/v1/errorstate/UrlNotFound/props/defaultProps.js +0 -15
  661. package/lib/v1/errorstate/UrlNotFound/props/propTypes.js +0 -27
  662. package/lib/v1/errorstate/WillBeRightBack/WillBeRightBack.js +0 -80
  663. package/lib/v1/errorstate/WillBeRightBack/props/defaultProps.js +0 -15
  664. package/lib/v1/errorstate/WillBeRightBack/props/propTypes.js +0 -27
  665. package/lib/v1/form/fields/CheckBoxField/CheckBoxField.js +0 -148
  666. package/lib/v1/form/fields/CheckBoxField/props/defaultProps.js +0 -27
  667. package/lib/v1/form/fields/CheckBoxField/props/propTypes.js +0 -47
  668. package/lib/v1/form/fields/CurrencyField/CurrencyField.js +0 -194
  669. package/lib/v1/form/fields/CurrencyField/props/defaultProps.js +0 -32
  670. package/lib/v1/form/fields/CurrencyField/props/propTypes.js +0 -57
  671. package/lib/v1/form/fields/DateField/DateField.js +0 -183
  672. package/lib/v1/form/fields/DateField/props/defaultProps.js +0 -34
  673. package/lib/v1/form/fields/DateField/props/propTypes.js +0 -57
  674. package/lib/v1/form/fields/FieldContainer/FieldContainer.js +0 -87
  675. package/lib/v1/form/fields/FieldContainer/props/defaultProps.js +0 -22
  676. package/lib/v1/form/fields/FieldContainer/props/propTypes.js +0 -35
  677. package/lib/v1/form/fields/MultiSelectField/MultiSelectField.js +0 -208
  678. package/lib/v1/form/fields/MultiSelectField/props/defaultProps.js +0 -32
  679. package/lib/v1/form/fields/MultiSelectField/props/propTypes.js +0 -68
  680. package/lib/v1/form/fields/PhoneField/PhoneField.js +0 -193
  681. package/lib/v1/form/fields/PhoneField/props/defaultProps.js +0 -23
  682. package/lib/v1/form/fields/PhoneField/props/propTypes.js +0 -58
  683. package/lib/v1/form/fields/RadioField/RadioField.js +0 -164
  684. package/lib/v1/form/fields/RadioField/props/defaultProps.js +0 -20
  685. package/lib/v1/form/fields/RadioField/props/propTypes.js +0 -44
  686. package/lib/v1/form/fields/RadioField/useRadio.js +0 -50
  687. package/lib/v1/form/fields/SelectField/SelectField.js +0 -179
  688. package/lib/v1/form/fields/SelectField/props/defaultProps.js +0 -33
  689. package/lib/v1/form/fields/SelectField/props/propTypes.js +0 -68
  690. package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +0 -387
  691. package/lib/v1/form/fields/TagsMultiSelect/props/defaultProps.js +0 -23
  692. package/lib/v1/form/fields/TagsMultiSelect/props/propTypes.js +0 -68
  693. package/lib/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +0 -317
  694. package/lib/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +0 -38
  695. package/lib/v1/form/fields/TagsMultiSelectField/props/propTypes.js +0 -83
  696. package/lib/v1/form/fields/TextBoxField/TextBoxField.js +0 -163
  697. package/lib/v1/form/fields/TextBoxField/props/defaultProps.js +0 -32
  698. package/lib/v1/form/fields/TextBoxField/props/propTypes.js +0 -62
  699. package/lib/v1/form/fields/TextEditor/TextEditor.js +0 -462
  700. package/lib/v1/form/fields/TextEditor/props/defaultProps.js +0 -23
  701. package/lib/v1/form/fields/TextEditor/props/propTypes.js +0 -64
  702. package/lib/v1/form/fields/TextEditorField/TextEditorField.js +0 -175
  703. package/lib/v1/form/fields/TextEditorField/props/defaultProps.js +0 -30
  704. package/lib/v1/form/fields/TextEditorField/props/propTypes.js +0 -67
  705. package/lib/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +0 -204
  706. package/lib/v1/form/fields/TextEditorWrapper/props/defaultProps.js +0 -16
  707. package/lib/v1/form/fields/TextEditorWrapper/props/propTypes.js +0 -51
  708. package/lib/v1/form/fields/TextareaField/TextareaField.js +0 -157
  709. package/lib/v1/form/fields/TextareaField/props/defaultProps.js +0 -30
  710. package/lib/v1/form/fields/TextareaField/props/propTypes.js +0 -53
  711. package/lib/v1/form/fields/ValidationMessage/ValidationMessage.js +0 -71
  712. package/lib/v1/form/fields/ValidationMessage/props/defaultProps.js +0 -14
  713. package/lib/v1/form/fields/ValidationMessage/props/propTypes.js +0 -27
  714. package/lib/v1/form/fields/index.js +0 -135
  715. package/lib/v1/form/fields/props/FieldCommonDefaultProps.js +0 -19
  716. package/lib/v1/form/fields/props/FieldCommonPropTypes.js +0 -28
  717. package/lib/v1/form/layout/Field/Field.js +0 -40
  718. package/lib/v1/form/layout/Field/props/defaultProps.js +0 -11
  719. package/lib/v1/form/layout/Field/props/propTypes.js +0 -21
  720. package/lib/v1/form/layout/Section/Section.js +0 -40
  721. package/lib/v1/form/layout/Section/props/propTypes.js +0 -22
  722. package/lib/v1/form/layout/index.js +0 -23
  723. package/lib/v1/layout/SetupDetailLayout/SetupDetailLayout.js +0 -212
  724. package/lib/v1/layout/SetupDetailLayout/index.js +0 -37
  725. package/lib/v1/layout/SetupDetailLayout/props/defaultProps.js +0 -30
  726. package/lib/v1/layout/SetupDetailLayout/props/propTypes.js +0 -54
  727. package/lib/v1/layout/SubtabLayout/SubtabLayout.js +0 -146
  728. package/lib/v1/layout/SubtabLayout/index.js +0 -37
  729. package/lib/v1/layout/SubtabLayout/props/defaultProps.js +0 -35
  730. package/lib/v1/layout/SubtabLayout/props/propTypes.js +0 -54
  731. package/lib/v1/list/AvatarFlip/AvatarFlip.js +0 -86
  732. package/lib/v1/list/AvatarFlip/props/defaultProps.js +0 -13
  733. package/lib/v1/list/AvatarFlip/props/propTypes.js +0 -40
  734. package/lib/v1/list/BluePrintStatus/BluePrintStatus.js +0 -33
  735. package/lib/v1/list/BluePrintStatus/props/propTypes.js +0 -15
  736. package/lib/v1/list/Comment/Comment.js +0 -49
  737. package/lib/v1/list/Comment/props/defaultProps.js +0 -11
  738. package/lib/v1/list/Comment/props/propTypes.js +0 -18
  739. package/lib/v1/list/DepartmentDropDown/DepartmentDropDown.js +0 -102
  740. package/lib/v1/list/DepartmentDropDown/props/defaultProps.js +0 -14
  741. package/lib/v1/list/DepartmentDropDown/props/propTypes.js +0 -35
  742. package/lib/v1/list/Dot/Dot.js +0 -27
  743. package/lib/v1/list/Dot/props/defaultProps.js +0 -11
  744. package/lib/v1/list/Dot/props/propTypes.js +0 -16
  745. package/lib/v1/list/DotNew/DotNew.js +0 -34
  746. package/lib/v1/list/DotNew/props/defaultProps.js +0 -10
  747. package/lib/v1/list/DotNew/props/propTypes.js +0 -17
  748. package/lib/v1/list/GridStencils/GridStencils.js +0 -42
  749. package/lib/v1/list/GridStencils/props/propTypes.js +0 -19
  750. package/lib/v1/list/Icons/AddNewIcon.js +0 -38
  751. package/lib/v1/list/Icons/CompleteIcon.js +0 -40
  752. package/lib/v1/list/Icons/DeleteIcon.js +0 -41
  753. package/lib/v1/list/Icons/EditIcon.js +0 -41
  754. package/lib/v1/list/Icons/FloatingIcons.js +0 -42
  755. package/lib/v1/list/Icons/ReadUnreadIcon.js +0 -46
  756. package/lib/v1/list/Icons/SmartIcon.js +0 -38
  757. package/lib/v1/list/Icons/index.js +0 -63
  758. package/lib/v1/list/Icons/props/defaultProps.js +0 -14
  759. package/lib/v1/list/Icons/props/propTypes.js +0 -70
  760. package/lib/v1/list/ListLayout/ListLayout.js +0 -82
  761. package/lib/v1/list/ListLayout/props/defaultProps.js +0 -18
  762. package/lib/v1/list/ListLayout/props/propTypes.js +0 -39
  763. package/lib/v1/list/ListStencils/ListStencils.js +0 -57
  764. package/lib/v1/list/ListStencils/props/defaultProps.js +0 -10
  765. package/lib/v1/list/ListStencils/props/propTypes.js +0 -15
  766. package/lib/v1/list/SecondaryText/AccountName.js +0 -86
  767. package/lib/v1/list/SecondaryText/ContactName.js +0 -94
  768. package/lib/v1/list/SecondaryText/DepartmentText.js +0 -29
  769. package/lib/v1/list/SecondaryText/Email.js +0 -53
  770. package/lib/v1/list/SecondaryText/HappinessRating.js +0 -34
  771. package/lib/v1/list/SecondaryText/PhoneNumber.js +0 -57
  772. package/lib/v1/list/SecondaryText/PriorityText.js +0 -33
  773. package/lib/v1/list/SecondaryText/SecondaryText.js +0 -38
  774. package/lib/v1/list/SecondaryText/StatusText.js +0 -34
  775. package/lib/v1/list/SecondaryText/TicketId.js +0 -54
  776. package/lib/v1/list/SecondaryText/Website.js +0 -48
  777. package/lib/v1/list/SecondaryText/index.js +0 -95
  778. package/lib/v1/list/SecondaryText/props/defaultProps.js +0 -59
  779. package/lib/v1/list/SecondaryText/props/propTypes.js +0 -163
  780. package/lib/v1/list/SecondryPanel/SecondryPanel.js +0 -104
  781. package/lib/v1/list/SecondryPanel/props/defaultProps.js +0 -28
  782. package/lib/v1/list/SecondryPanel/props/propTypes.js +0 -41
  783. package/lib/v1/list/SentimentStatus/SentimentStatus.js +0 -35
  784. package/lib/v1/list/SentimentStatus/props/propTypes.js +0 -16
  785. package/lib/v1/list/Subject/Subject.js +0 -65
  786. package/lib/v1/list/Subject/props/defaultProps.js +0 -15
  787. package/lib/v1/list/Subject/props/propTypes.js +0 -31
  788. package/lib/v1/list/TagNew/TagNew.js +0 -35
  789. package/lib/v1/list/TagNew/props/defaultProps.js +0 -11
  790. package/lib/v1/list/TagNew/props/propTypes.js +0 -19
  791. package/lib/v1/list/Thread/Thread.js +0 -46
  792. package/lib/v1/list/Thread/props/defaultProps.js +0 -11
  793. package/lib/v1/list/Thread/props/propTypes.js +0 -19
  794. package/lib/v1/list/index.js +0 -165
  795. package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +0 -363
  796. package/lib/v1/list/status/StatusDropdown/props/defaultProps.js +0 -29
  797. package/lib/v1/list/status/StatusDropdown/props/propTypes.js +0 -34
  798. package/lib/v1/list/status/StatusListItem/StatusListItem.js +0 -124
  799. package/lib/v1/list/status/StatusListItem/props/defaultProps.js +0 -23
  800. package/lib/v1/list/status/StatusListItem/props/propTypes.js +0 -42
  801. package/lib/v1/list/status/index.js +0 -23
  802. package/lib/v1/lookup/EmptyPage/EmptyPage.js +0 -70
  803. package/lib/v1/lookup/EmptyPage/props/defaultProps.js +0 -11
  804. package/lib/v1/lookup/EmptyPage/props/propTypes.js +0 -16
  805. package/lib/v1/lookup/Lookup/Lookup.js +0 -145
  806. package/lib/v1/lookup/Lookup/props/defaultProps.js +0 -16
  807. package/lib/v1/lookup/Lookup/props/propTypes.js +0 -35
  808. package/lib/v1/lookup/Section/Section.js +0 -30
  809. package/lib/v1/lookup/Section/props/propTypes.js +0 -17
  810. package/lib/v1/lookup/header/Close/Close.js +0 -47
  811. package/lib/v1/lookup/header/Close/props/defaultProps.js +0 -10
  812. package/lib/v1/lookup/header/Close/props/propTypes.js +0 -17
  813. package/lib/v1/lookup/header/ModuleHeader/ModuleHeader.js +0 -116
  814. package/lib/v1/lookup/header/ModuleHeader/props/defaultProps.js +0 -16
  815. package/lib/v1/lookup/header/ModuleHeader/props/propTypes.js +0 -31
  816. package/lib/v1/lookup/header/Search/Search.js +0 -208
  817. package/lib/v1/lookup/header/Search/props/defaultProps.js +0 -12
  818. package/lib/v1/lookup/header/Search/props/propTypes.js +0 -40
  819. package/lib/v1/lookup/header/TicketHeader/TicketHeader.js +0 -133
  820. package/lib/v1/lookup/header/TicketHeader/props/defaultProps.js +0 -17
  821. package/lib/v1/lookup/header/TicketHeader/props/propTypes.js +0 -32
  822. package/lib/v1/lookup/header/Title/Title.js +0 -44
  823. package/lib/v1/lookup/header/Title/props/defaultProps.js +0 -10
  824. package/lib/v1/lookup/header/Title/props/propTypes.js +0 -17
  825. package/lib/v1/lookup/header/ViewDropDown/ViewDropDown.js +0 -239
  826. package/lib/v1/lookup/header/ViewDropDown/props/defaultProps.js +0 -17
  827. package/lib/v1/lookup/header/ViewDropDown/props/propTypes.js +0 -38
  828. package/lib/v1/lookup/header/index.js +0 -47
  829. package/lib/v1/notification/DesktopNotification/DesktopNotification.js +0 -209
  830. package/lib/v1/notification/DesktopNotification/props/defaultProps.js +0 -26
  831. package/lib/v1/notification/DesktopNotification/props/propTypes.js +0 -55
  832. package/lib/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +0 -105
  833. package/lib/v1/notification/DesktopNotificationHeader/props/defaultProps.js +0 -16
  834. package/lib/v1/notification/DesktopNotificationHeader/props/propTypes.js +0 -24
  835. package/lib/v1/setup/header/Button/Button.js +0 -37
  836. package/lib/v1/setup/header/Button/props/defaultProps.js +0 -11
  837. package/lib/v1/setup/header/Button/props/propTypes.js +0 -18
  838. package/lib/v1/setup/header/Link/Link.js +0 -47
  839. package/lib/v1/setup/header/Link/props/defaultProps.js +0 -11
  840. package/lib/v1/setup/header/Link/props/propTypes.js +0 -19
  841. package/lib/v1/setup/header/Search/Search.js +0 -99
  842. package/lib/v1/setup/header/Search/props/defaultProps.js +0 -13
  843. package/lib/v1/setup/header/Search/props/propTypes.js +0 -23
  844. package/lib/v1/setup/header/Views/Views.js +0 -47
  845. package/lib/v1/setup/header/Views/props/defaultProps.js +0 -13
  846. package/lib/v1/setup/header/Views/props/propTypes.js +0 -20
  847. package/lib/v1/setup/header/index.js +0 -39
  848. package/lib/v1/setup/helptips/Description/Description.js +0 -23
  849. package/lib/v1/setup/helptips/Description/props/propTypes.js +0 -15
  850. package/lib/v1/setup/helptips/Link/Link.js +0 -42
  851. package/lib/v1/setup/helptips/Link/props/propTypes.js +0 -18
  852. package/lib/v1/setup/helptips/ListGroup/ListGroup.js +0 -42
  853. package/lib/v1/setup/helptips/ListGroup/props/propTypes.js +0 -16
  854. package/lib/v1/setup/helptips/Title/Title.js +0 -23
  855. package/lib/v1/setup/helptips/Title/props/propTypes.js +0 -15
  856. package/lib/v1/setup/helptips/index.js +0 -39
  857. package/lib/v1/setup/index.js +0 -24
  858. package/lib/v1/setup/table/Table/Table.js +0 -34
  859. package/lib/v1/setup/table/Table/props/defaultProps.js +0 -11
  860. package/lib/v1/setup/table/Table/props/propTypes.js +0 -17
  861. package/lib/v1/setup/table/TableBody/TableBody.js +0 -39
  862. package/lib/v1/setup/table/TableBody/props/defaultProps.js +0 -10
  863. package/lib/v1/setup/table/TableBody/props/propTypes.js +0 -18
  864. package/lib/v1/setup/table/TableData/TableData.js +0 -44
  865. package/lib/v1/setup/table/TableData/props/defaultProps.js +0 -12
  866. package/lib/v1/setup/table/TableData/props/propTypes.js +0 -22
  867. package/lib/v1/setup/table/TableHead/TableHead.js +0 -44
  868. package/lib/v1/setup/table/TableHead/props/defaultProps.js +0 -11
  869. package/lib/v1/setup/table/TableHead/props/propTypes.js +0 -19
  870. package/lib/v1/setup/table/TableRow/TableRow.js +0 -49
  871. package/lib/v1/setup/table/TableRow/props/defaultProps.js +0 -11
  872. package/lib/v1/setup/table/TableRow/props/propTypes.js +0 -22
  873. package/lib/v1/setup/table/Text/Text.js +0 -64
  874. package/lib/v1/setup/table/Text/props/defaultProps.js +0 -14
  875. package/lib/v1/setup/table/Text/props/propTypes.js +0 -24
  876. package/lib/v1/setup/table/index.js +0 -47
  877. package/lib/v1/svg/PlusIcon.js +0 -37
  878. package/lib/v1/svg/SnippetIcon.js +0 -39
  879. package/lib/v1/svg/TemplateIcon.js +0 -40
  880. package/lib/v1/svg/index.js +0 -31
  881. package/lib/v1/svg/props/defaultProps.js +0 -24
  882. package/lib/v1/svg/props/propTypes.js +0 -29
  883. package/lib/v1/utils/ChannelIconMapping.js +0 -138
  884. package/lib/v1/utils/General.js +0 -58
  885. package/lib/v1/utils/editorUtils.js +0 -224
@@ -1,21 +0,0 @@
1
- import PropTypes from 'prop-types';
2
- export const propTypes = {
3
- allViews: PropTypes.array,
4
- getSearchBoxRef: PropTypes.func,
5
- needOnTypeSearch: PropTypes.bool,
6
- needSearch: PropTypes.bool,
7
- needViewsList: PropTypes.bool,
8
- onLookupClose: PropTypes.func,
9
- onSearch: PropTypes.func,
10
- onSearchChange: PropTypes.func,
11
- onSelectView: PropTypes.func,
12
- searchPlaceHolder: PropTypes.string,
13
- searchStr: PropTypes.string,
14
- selectedViewId: PropTypes.string,
15
- title: PropTypes.string,
16
- i18nKeys: PropTypes.shape({
17
- menuEmptyMessage: PropTypes.string
18
- }),
19
- palette: PropTypes.oneOf(['default', 'white']),
20
- dragBoundaryLimit: PropTypes.object
21
- };
@@ -1,27 +0,0 @@
1
- /*** Libraries ***/
2
- import React, { memo } from 'react';
3
- import { defaultProps } from "./props/defaultProps";
4
- import { propTypes } from "./props/propTypes";
5
- /*** CSS ***/
6
-
7
- import style from "../../../../lookup/header/Title/LookupTitle.module.css";
8
-
9
- function Title(props) {
10
- let {
11
- text,
12
- palette,
13
- isBold
14
- } = props;
15
- return /*#__PURE__*/React.createElement("span", {
16
- className: `${style.title} ${style[palette]} ${isBold ? style.bold : ''}`,
17
- "data-title": text
18
- }, text);
19
- }
20
-
21
- Title.propTypes = propTypes;
22
- Title.defaultProps = defaultProps;
23
- const MemoizedTitle = /*#__PURE__*/memo(Title);
24
- MemoizedTitle.propTypes = propTypes;
25
- MemoizedTitle.defaultProps = defaultProps;
26
- MemoizedTitle.displayName = 'Close';
27
- export default MemoizedTitle;
@@ -1,3 +0,0 @@
1
- export const defaultProps = {
2
- palette: 'default'
3
- };
@@ -1,6 +0,0 @@
1
- import PropTypes from 'prop-types';
2
- export const propTypes = {
3
- isBold: PropTypes.bool,
4
- palette: PropTypes.oneOf(['default', 'primary', 'danger']),
5
- text: PropTypes.string
6
- };
@@ -1,194 +0,0 @@
1
- /**** Libraries ****/
2
- import React from 'react';
3
- import { defaultProps } from "./props/defaultProps";
4
- import { propTypes } from "./props/propTypes";
5
- /**** Components ****/
6
-
7
- import { SelectComponent } from '@zohodesk/components/es/v1/Select/Select';
8
- import Popup from '@zohodesk/components/es/v1/Popup/Popup';
9
- import ListItem from '@zohodesk/components/es/v1/ListItem/ListItem';
10
- import DropDownSearch from '@zohodesk/components/es/v1/DropDown/DropDownSearch';
11
- import { Card, CardHeader, CardContent } from '@zohodesk/components/es/v1/Card';
12
- import ResponsiveDropBox from '@zohodesk/components/es/v1/ResponsiveDropBox/ResponsiveDropBox';
13
- import { ResponsiveReceiver } from '@zohodesk/components/es/Responsive/CustomResponsive';
14
- /**** Icons ****/
15
-
16
- import { Icon } from '@zohodesk/icons';
17
- import { Container, Box } from '@zohodesk/components/es/v1/Layout';
18
- import Loader from '@zohodesk/svg/es/Loader/Loader';
19
- import style from "../../../../lookup/header/ViewDropDown/ViewDropDown.module.css";
20
- /* eslint-disable react/forbid-component-props */
21
-
22
- /*eslint-disable react/sort-prop-types*/
23
-
24
- class DropDown extends SelectComponent {
25
- constructor(props) {
26
- super(props);
27
- this.onSearchKeyDown = this.onSearchKeyDown.bind(this);
28
- }
29
-
30
- onSearchKeyDown(e) {
31
- const {
32
- closePopupOnly
33
- } = this.props;
34
-
35
- if (e.keyCode === 27) {
36
- closePopupOnly && closePopupOnly(e);
37
- } else {
38
- this.handleKeyDown(e);
39
- }
40
- }
41
-
42
- responsiveFunc(_ref) {
43
- let {
44
- mediaQueryOR
45
- } = _ref;
46
- return {
47
- tabletMode: mediaQueryOR([{
48
- maxWidth: 700
49
- }])
50
- };
51
- }
52
-
53
- render() {
54
- var _this = this;
55
-
56
- const {
57
- needSearch,
58
- dropBoxSize,
59
- emptyMessage,
60
- searchEmptyMessage,
61
- position,
62
- defaultDropBoxPosition,
63
- getTargetRef,
64
- getContainerRef,
65
- isPopupOpen,
66
- removeClose,
67
- isPopupReady,
68
- animationStyle,
69
- searchBoxSize,
70
- searchBoxVariant,
71
- searchBoxPlaceHolder,
72
- maxLength,
73
- dataId,
74
- isAbsolutePositioningNeeded,
75
- isRestrictScroll,
76
- positionsOffset,
77
- targetOffset
78
- } = this.props;
79
- const {
80
- hoverIndex,
81
- selected,
82
- searchStr,
83
- isFetchingOptions,
84
- selectedId
85
- } = this.state;
86
- const suggestions = this.handleFilterSuggestions();
87
- return /*#__PURE__*/React.createElement("div", {
88
- className: style.container,
89
- "data-id": dataId,
90
- "data-test-id": dataId
91
- }, /*#__PURE__*/React.createElement("div", {
92
- onClick: this.togglePopup,
93
- ref: getTargetRef
94
- }, /*#__PURE__*/React.createElement("div", {
95
- className: `${style.labelCnt} ${isPopupOpen ? style.focused : ''}`
96
- }, /*#__PURE__*/React.createElement("span", {
97
- className: style.labelText,
98
- "data-title": selected,
99
- "data-id": `${dataId}_selectedValue`,
100
- "data-test-id": `${dataId}_selectedValue`
101
- }, selected), /*#__PURE__*/React.createElement(Icon, {
102
- name: "ZD-down",
103
- size: "7",
104
- iconClass: style.arrowIcon,
105
- dataId: `${dataId}_icon`
106
- }))), isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
107
- query: this.responsiveFunc,
108
- responsiveId: "Helmet"
109
- }, _ref2 => {
110
- let {
111
- tabletMode
112
- } = _ref2;
113
- return /*#__PURE__*/React.createElement(ResponsiveDropBox, {
114
- isAnimate: true,
115
- isArrow: false,
116
- isActive: isPopupReady,
117
- boxPosition: position || `${defaultDropBoxPosition}Center`,
118
- getRef: getContainerRef,
119
- onClick: removeClose,
120
- animationStyle: animationStyle,
121
- size: "large",
122
- alignBox: "row",
123
- isResponsivePadding: true,
124
- dataId: `${dataId}_dropbox`,
125
- isAbsolutePositioningNeeded: isAbsolutePositioningNeeded,
126
- isRestrictScroll: isRestrictScroll,
127
- positionsOffset: positionsOffset,
128
- targetOffset: targetOffset
129
- }, /*#__PURE__*/React.createElement(Box, {
130
- flexible: true
131
- }, /*#__PURE__*/React.createElement(Card, null, needSearch ? /*#__PURE__*/React.createElement(CardHeader, null, /*#__PURE__*/React.createElement(DropDownSearch, {
132
- value: searchStr,
133
- onChange: this.handleSearch,
134
- onKeyDown: this.onSearchKeyDown,
135
- getRef: this.searchInputRef,
136
- size: searchBoxSize,
137
- variant: searchBoxVariant,
138
- placeHolder: searchBoxPlaceHolder,
139
- maxLength: maxLength,
140
- dataId: `${dataId}_search`
141
- })) : null, /*#__PURE__*/React.createElement(CardContent, {
142
- shrink: true,
143
- eleRef: this.suggestionContainerRef,
144
- customClass: !tabletMode && dropBoxSize ? style[dropBoxSize] : ''
145
- }, suggestions.length ? /*#__PURE__*/React.createElement("div", {
146
- className: style.listItemContainer,
147
- "data-id": `${dataId}_Options`
148
- }, suggestions.map(function () {
149
- let option = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
150
- let index = arguments.length > 1 ? arguments[1] : undefined;
151
- const {
152
- id,
153
- value
154
- } = option;
155
- return /*#__PURE__*/React.createElement(ListItem, {
156
- active: id === selectedId,
157
- getRef: _this.suggestionItemRef,
158
- highlight: hoverIndex === index ? true : false,
159
- id: id,
160
- key: `${id}dropDown`,
161
- onClick: _this.handleChange,
162
- onMouseEnter: _this.handleMouseEnter,
163
- size: "medium",
164
- value: value,
165
- index: index,
166
- needTick: true,
167
- needBorder: false
168
- });
169
- })) : isFetchingOptions ? /*#__PURE__*/React.createElement(Container, {
170
- align: "both",
171
- className: style.loader
172
- }, /*#__PURE__*/React.createElement(Loader, null)) : searchStr ? /*#__PURE__*/React.createElement("div", {
173
- className: style.emptyState
174
- }, searchEmptyMessage || emptyMessage) : /*#__PURE__*/React.createElement("div", {
175
- className: style.emptyState
176
- }, emptyMessage)))));
177
- }) : null);
178
- }
179
-
180
- }
181
-
182
- DropDown.propTypes = propTypes;
183
- DropDown.defaultProps = defaultProps;
184
- const ViewDropDown = Popup(DropDown);
185
- ViewDropDown.defaultProps = DropDown.defaultProps;
186
- ViewDropDown.propTypes = DropDown.propTypes; // if (__DOCS__) {
187
- // DropDown.docs = {
188
- // componentGroup: 'Lookup'
189
- // };
190
- // // eslint-disable-next-line react/forbid-foreign-prop-types
191
- // ViewDropDown.propTypes = DropDown.propTypes;
192
- // }
193
-
194
- export default ViewDropDown;
@@ -1,10 +0,0 @@
1
- export const defaultProps = {
2
- dropBoxSize: 'small',
3
- needLocalSearch: true,
4
- needSearch: true,
5
- textField: 'text',
6
- valueField: 'id',
7
- dataId: 'ViewDropDown',
8
- isAbsolutePositioningNeeded: true,
9
- isRestrictScroll: false
10
- };
@@ -1,27 +0,0 @@
1
- import PropTypes from 'prop-types';
2
- export const propTypes = {
3
- emptyMessage: PropTypes.string,
4
- needSearch: PropTypes.bool,
5
- searchBoxPlaceHolder: PropTypes.string,
6
- searchEmptyMessage: PropTypes.string,
7
- dropBoxSize: PropTypes.oneOf(['small', 'medium', 'large']),
8
- dataId: PropTypes.string,
9
-
10
- /**** Popup props ****/
11
- isPopupOpen: PropTypes.bool,
12
- isPopupReady: PropTypes.bool,
13
- removeClose: PropTypes.func,
14
- closePopupOnly: PropTypes.func,
15
- position: PropTypes.string,
16
- getTargetRef: PropTypes.func,
17
- getContainerRef: PropTypes.func,
18
- defaultDropBoxPosition: PropTypes.string,
19
- animationStyle: PropTypes.string,
20
- searchBoxSize: PropTypes.string,
21
- searchBoxVariant: PropTypes.string,
22
- maxLength: PropTypes.string,
23
- isAbsolutePositioningNeeded: PropTypes.bool,
24
- isRestrictScroll: PropTypes.bool,
25
- positionsOffset: PropTypes.string,
26
- targetOffset: PropTypes.string
27
- };
@@ -1,5 +0,0 @@
1
- export { default as Close } from "./Close/Close";
2
- export { default as ModuleHeader } from "./ModuleHeader/ModuleHeader";
3
- export { default as Search } from "./Search/Search";
4
- export { default as TicketHeader } from "./TicketHeader/TicketHeader";
5
- export { default as ViewDropDown } from "./ViewDropDown/ViewDropDown";
@@ -1,190 +0,0 @@
1
- import React from 'react';
2
- import defaultProps from "./props/defaultProps";
3
- import { propTypes, DesktopNotificationUI_propTypes } from "./props/propTypes";
4
- import { Container, Box } from '@zohodesk/components/es/v1/Layout';
5
- import { useZIndex } from '@zohodesk/components/es/Provider/ZindexProvider';
6
- import AutoClose from "../../../actions/AutoClose";
7
- import Button from '@zohodesk/components/es/v1/Button/Button';
8
- import FormAction from "../../../FormAction/FormAction";
9
- import DesktopNotificationHeader from "../DesktopNotificationHeader/DesktopNotificationHeader";
10
- import { ResponsiveReceiver } from '@zohodesk/components/es/Responsive/CustomResponsive';
11
- import style from "../../../version2/notification/DesktopNotification/DesktopNotification.module.css";
12
- let buttonPaletteObject = {
13
- success: {
14
- buttonPalette: 'successFilled'
15
- },
16
- error: {
17
- buttonPalette: 'dangerFilled'
18
- },
19
- danger: {
20
- buttonPalette: 'dangerFilled'
21
- },
22
- warning: {
23
- buttonPalette: 'dangerFilled'
24
- },
25
- info: {
26
- buttonPalette: 'primaryFilled'
27
- },
28
- notification: {
29
- buttonPalette: 'primaryFilled'
30
- }
31
- };
32
- export function DesktopNotificationUI(props) {
33
- let {
34
- type = '',
35
- submitText,
36
- cancelText,
37
- submitType,
38
- isMore,
39
- message,
40
- isAnimate,
41
- getBottomContainer,
42
- getSubmitContainer,
43
- onSubmit,
44
- onCancel,
45
- dataId,
46
- dataSelectorId,
47
- isClose,
48
- needAutoZindex,
49
- title,
50
- subTitle,
51
- needIcon,
52
- info,
53
- secondaryInfo,
54
- titleVariant,
55
- getSectionContainer,
56
- isShrinkView,
57
- size,
58
- onClose,
59
- needClose,
60
- renderAlertIcon,
61
- customClass = {},
62
- i18nKeys = {},
63
- customProps,
64
- responsiveId
65
- } = props;
66
- let {
67
- closeTitle = 'Close'
68
- } = i18nKeys;
69
- let {
70
- containerClass
71
- } = customClass;
72
- let {
73
- buttonPalette = 'dangerFilled'
74
- } = buttonPaletteObject[type] || {};
75
- let {
76
- ExtraProps = {}
77
- } = customProps;
78
-
79
- function onClickSubmit(e) {
80
- onSubmit && onSubmit();
81
- }
82
-
83
- function onClickCancel(e) {
84
- onCancel && onCancel();
85
- }
86
-
87
- let animateClass = isClose ? style.rightanimate : style.leftanimate;
88
- let animateRemoveClass = isClose ? style.rightanimate : style.leftnoanimate;
89
- let getNextIndex = useZIndex();
90
- let Zindex = isAnimate ? getNextIndex() : null;
91
- let uiVariantOne = title && (info || secondaryInfo);
92
- let uiVariantTwo = title && !(info || secondaryInfo) && !getSectionContainer;
93
-
94
- function responsiveFunc(_ref) {
95
- let {
96
- mediaQueryOR
97
- } = _ref;
98
- return {
99
- uptoTablet: mediaQueryOR([{
100
- maxWidth: 760
101
- }])
102
- };
103
- }
104
-
105
- return /*#__PURE__*/React.createElement("div", {
106
- className: style.parentElement,
107
- style: needAutoZindex && isAnimate ? {
108
- zIndex: `${Zindex}`
109
- } : {},
110
- "data-selector-id": dataSelectorId
111
- }, /*#__PURE__*/React.createElement(ResponsiveReceiver, {
112
- query: responsiveFunc,
113
- responsiveId: responsiveId
114
- }, _ref2 => {
115
- let {
116
- uptoTablet
117
- } = _ref2;
118
- return /*#__PURE__*/React.createElement(Container, {
119
- className: `${style.container} ${isAnimate ? animateClass : animateRemoveClass}
120
- ${isShrinkView ? style.globalNotify : ''} ${containerClass}
121
- ${uptoTablet ? style.tapWidth : style[`${size}`]}`,
122
- isCover: false,
123
- dataId: dataId,
124
- isInline: uiVariantTwo,
125
- ...ExtraProps
126
- }, /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(DesktopNotificationHeader, {
127
- type: type,
128
- title: title,
129
- variant: titleVariant,
130
- needIcon: needIcon,
131
- onClose: onClose,
132
- closeTitle: closeTitle,
133
- renderAlertIcon: renderAlertIcon,
134
- dataId: `${dataId}_close`,
135
- needClose: needClose
136
- })), /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Container, {
137
- alignBox: "column"
138
- }, uiVariantOne && /*#__PURE__*/React.createElement(Box, {
139
- flexible: true
140
- }, /*#__PURE__*/React.createElement("div", {
141
- className: `${style.section} ${style.infoText}`
142
- }, subTitle && /*#__PURE__*/React.createElement("div", {
143
- className: `${style.subTitle} ${info || secondaryInfo ? style.subTitleMargin : ''}`
144
- }, subTitle), info && /*#__PURE__*/React.createElement("div", null, info), secondaryInfo && /*#__PURE__*/React.createElement("div", {
145
- className: `${info ? style.secondaryInfo : ''}`
146
- }, secondaryInfo))), getSectionContainer && /*#__PURE__*/React.createElement(Box, {
147
- flexible: true
148
- }, getSectionContainer()), submitText || cancelText ? /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement("div", {
149
- className: style.footer
150
- }, isMore ? /*#__PURE__*/React.createElement("div", {
151
- className: `${style.message}`
152
- }, message) : null, /*#__PURE__*/React.createElement(FormAction, {
153
- size: "small",
154
- paddingLeftSize: "xmedium"
155
- }, submitText ? /*#__PURE__*/React.createElement("div", {
156
- onClick: onClickSubmit,
157
- "data-id": `${dataId}_submitButton`,
158
- "data-test-id": `${dataId}_submitButton`
159
- }, /*#__PURE__*/React.createElement(Container, {
160
- align: "vertical",
161
- alignBox: "row"
162
- }, getSubmitContainer ? /*#__PURE__*/React.createElement(Box, {
163
- flexible: true
164
- }, getSubmitContainer()) : /*#__PURE__*/React.createElement(Box, {
165
- flexible: true
166
- }, /*#__PURE__*/React.createElement(Button, {
167
- text: submitText,
168
- palette: submitType ? submitType : buttonPalette
169
- })))) : null, cancelText ? /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Button, {
170
- text: cancelText,
171
- palette: "secondary",
172
- dataId: `${dataId}_cancelButton`,
173
- onClick: onClickCancel
174
- })) : null))) : null)), getBottomContainer ? /*#__PURE__*/React.createElement(Box, null, getBottomContainer()) : null);
175
- }));
176
- }
177
- DesktopNotificationUI.propTypes = DesktopNotificationUI_propTypes;
178
- DesktopNotificationUI.propTypes = defaultProps;
179
- export default function DesktopNotification(props) {
180
- return /*#__PURE__*/React.createElement(AutoClose, { ...props,
181
- Element: DesktopNotificationUI
182
- });
183
- }
184
- DesktopNotification.propTypes = propTypes;
185
- DesktopNotification.defaultProps = defaultProps; // if (__DOCS__) {
186
- // DesktopNotification.docs = {
187
- // componentGroup: 'DesktopNotification',
188
- // folderName: 'Alert'
189
- // };
190
- // }
@@ -1,17 +0,0 @@
1
- import { getDotLibraryConfig } from "../../../../Provider/Config";
2
- export default {
3
- isMore: false,
4
- isAnimate: true,
5
- isClose: false,
6
- autoClose: false,
7
- hideTime: '3000',
8
- dataId: 'toastMessage',
9
- needAutoZindex: true,
10
- needIcon: true,
11
- titleVariant: 'primary',
12
- isShrinkView: false,
13
- needClose: true,
14
- customProps: {},
15
- dataSelectorId: 'desktopNotification',
16
- responsiveId: getDotLibraryConfig('desktopNotificationResponsiveId')
17
- };
@@ -1,43 +0,0 @@
1
- import PropTypes from 'prop-types';
2
- export const propTypes = {
3
- isClose: PropTypes.bool,
4
- onPortalClose: PropTypes.func,
5
- autoClose: PropTypes.bool,
6
- hideTime: PropTypes.string,
7
- Element: PropTypes.element,
8
- responsiveId: PropTypes.string
9
- };
10
- export const DesktopNotificationUI_propTypes = {
11
- type: PropTypes.oneOf(['success', 'error', 'danger', 'warning', 'info', 'notification', 'alarm']),
12
- cancelText: PropTypes.string,
13
- submitText: PropTypes.string,
14
- submitType: PropTypes.oneOf(['primary', 'danger', 'success']),
15
- isMore: PropTypes.bool,
16
- customClass: PropTypes.object,
17
- dataId: PropTypes.string,
18
- getBottomContainer: PropTypes.func,
19
- getSectionContainer: PropTypes.func,
20
- getSubmitContainer: PropTypes.func,
21
- i18nKeys: PropTypes.object,
22
- dataSelectorId: PropTypes.string,
23
- info: PropTypes.string,
24
- isAnimate: PropTypes.bool,
25
- isShrinkView: PropTypes.bool,
26
- message: PropTypes.string,
27
- needAutoZindex: PropTypes.bool,
28
- needClose: PropTypes.bool,
29
- needIcon: PropTypes.bool,
30
- onCancel: PropTypes.func,
31
- onClose: PropTypes.func,
32
- onSubmit: PropTypes.func,
33
- secondaryInfo: PropTypes.string,
34
- size: PropTypes.oneOf(['medium', 'large']),
35
- subTitle: PropTypes.string,
36
- titleVariant: PropTypes.oneOf(['primary', 'secondary']),
37
- isClose: PropTypes.bool,
38
- renderAlertIcon: PropTypes.func,
39
- customProps: PropTypes.shape({
40
- ExtraProps: PropTypes.object
41
- }),
42
- title: PropTypes.string
43
- };
@@ -1,91 +0,0 @@
1
- import React from 'react';
2
- import defaultProps from "./props/defaultProps";
3
- import propTypes from "./props/propTypes";
4
- import { Container, Box } from '@zohodesk/components/es/v1/Layout';
5
- import AlertClose from "../../alert/AlertClose/AlertClose";
6
- import AlertIcons from "../../alert/alertIcons/AlertIcons";
7
- import { ResponsiveReceiver } from '@zohodesk/components/es/Responsive/CustomResponsive';
8
- import Typography from '@zohodesk/components/es/v1/Typography/Typography';
9
- import style from "../../../version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css";
10
- export default function DesktopNotificationHeader(props) {
11
- let {
12
- onClose,
13
- closeTitle,
14
- dataId,
15
- variant,
16
- type = '',
17
- needIcon,
18
- title,
19
- renderAlertIcon,
20
- needClose,
21
- responsiveId
22
- } = props;
23
-
24
- function responsiveFunc(_ref) {
25
- let {
26
- mediaQueryOR
27
- } = _ref;
28
- return {
29
- uptoTablet: mediaQueryOR([{
30
- maxWidth: 760
31
- }])
32
- };
33
- }
34
-
35
- return /*#__PURE__*/React.createElement(Container, {
36
- align: "vertical",
37
- alignBox: "row",
38
- className: `${style.container} ${style[variant + '_header']} ${style[type]}`,
39
- isCover: false,
40
- wrap: "wrap"
41
- }, /*#__PURE__*/React.createElement(ResponsiveReceiver, {
42
- query: responsiveFunc,
43
- responsiveId: responsiveId
44
- }, _ref2 => {
45
- let {
46
- uptoTablet
47
- } = _ref2;
48
- return /*#__PURE__*/React.createElement(React.Fragment, null, needIcon ? /*#__PURE__*/React.createElement("div", {
49
- className: style.iconContainer
50
- }, renderAlertIcon ? renderAlertIcon() : /*#__PURE__*/React.createElement(AlertIcons, {
51
- type: type
52
- })) : null, /*#__PURE__*/React.createElement(Box, {
53
- flexible: true
54
- }, /*#__PURE__*/React.createElement(Container, {
55
- alignBox: "row",
56
- align: "center"
57
- }, variant === 'primary' ? /*#__PURE__*/React.createElement(Box, {
58
- shrink: true
59
- }, /*#__PURE__*/React.createElement(Typography, {
60
- $i18n_dataTitle: title,
61
- $ui_className: style.title,
62
- $ui_tagName: "h1",
63
- $ui_size: uptoTablet ? '16' : '18',
64
- $ui_lineHeight: "20",
65
- $ui_weight: "bold",
66
- $flag_reset: true,
67
- $ui_wordBreak: "breakWord"
68
- }, title)) : /*#__PURE__*/React.createElement(Box, {
69
- className: `${style.infoText}`
70
- }, /*#__PURE__*/React.createElement(Typography, {
71
- $i18n_dataTitle: title,
72
- $ui_className: style.title,
73
- $ui_size: "14",
74
- $ui_wordBreak: "breakWord"
75
- }, title)))), needClose ? /*#__PURE__*/React.createElement(Box, {
76
- className: style.close
77
- }, /*#__PURE__*/React.createElement(AlertClose, {
78
- onClose: onClose,
79
- dataTitle: closeTitle,
80
- dataId: dataId,
81
- type: "light"
82
- })) : null);
83
- }));
84
- }
85
- DesktopNotificationHeader.propTypes = propTypes;
86
- DesktopNotificationHeader.defaultProps = defaultProps; // if (__DOCS__) {
87
- // DesktopNotificationHeader.docs = {
88
- // componentGroup: 'DesktopNotificationHeader',
89
- // folderName: 'Alert'
90
- // };
91
- // }
@@ -1,7 +0,0 @@
1
- import { getDotLibraryConfig } from "../../../../Provider/Config";
2
- export default {
3
- needIcon: true,
4
- variant: 'primary',
5
- needClose: true,
6
- responsiveId: getDotLibraryConfig('desktopNotificationResponsiveId')
7
- };
@@ -1,13 +0,0 @@
1
- import PropTypes from 'prop-types';
2
- export default {
3
- closeTitle: PropTypes.string,
4
- dataId: PropTypes.string,
5
- needClose: PropTypes.bool,
6
- needIcon: PropTypes.bool,
7
- onClose: PropTypes.func,
8
- title: PropTypes.string,
9
- renderAlertIcon: PropTypes.func,
10
- type: PropTypes.oneOf(['success', 'error', 'danger', 'warning', 'info', 'notification', 'alarm']),
11
- variant: PropTypes.oneOf(['primary', 'secondary']),
12
- responsiveId: PropTypes.string
13
- };