@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,93 +0,0 @@
1
- import React, { Component } from 'react';
2
- import { Icon } from '@zohodesk/icons';
3
- import Avatar from '@zohodesk/components/es/v1/Avatar/Avatar';
4
- import AvatarIcon from "../avatar/AvatarIcon/AvatarIcon";
5
- import { defaultProps } from "./props/defaultProps";
6
- import { propTypes } from "./props/propTypes";
7
- import { getChannelMappingObj } from "../utils/ChannelIconMapping";
8
- import style from "../../ChannelIcon/ChannelIcon.module.css";
9
-
10
- const ChannelIcon = props => {
11
- let {
12
- name,
13
- action,
14
- iconSize,
15
- iconTitle,
16
- size,
17
- topicIcon,
18
- topicIconTitle,
19
- topicIconSize,
20
- topicIconColor,
21
- iconClass,
22
- dataId,
23
- className,
24
- palette,
25
- textPalette,
26
- customTextClass,
27
- iconColor,
28
- needTopicBorder,
29
- topicClass,
30
- renderIconOnly,
31
- iconName,
32
- title,
33
- dataSelectorId
34
- } = props;
35
- let defaultChannelObj = name && !iconName && getChannelMappingObj()[name.toUpperCase()];
36
- let customizedChannelName = null;
37
-
38
- if (!defaultChannelObj) {
39
- customizedChannelName = name;
40
- } else {
41
- iconName = defaultChannelObj[action];
42
- }
43
-
44
- return /*#__PURE__*/React.createElement("span", {
45
- className: style.container,
46
- "data-selector-id": dataSelectorId
47
- }, customizedChannelName ? /*#__PURE__*/React.createElement(Avatar, {
48
- name: customizedChannelName,
49
- size: size,
50
- palette: palette,
51
- textPalette: textPalette,
52
- customClass: customTextClass,
53
- dataId: dataId,
54
- needTitle: title,
55
- title: title
56
- }) : !renderIconOnly ? iconName ? /*#__PURE__*/React.createElement(AvatarIcon, {
57
- name: iconName,
58
- iconSize: iconSize,
59
- size: size,
60
- iconClass: `${style.iconStyle} ${name && action ? style[`${name.toLowerCase()}_${action.toLowerCase()}`] : ''} ${iconClass ? iconClass : ''} `,
61
- dataId: dataId,
62
- className: className,
63
- iconColor: iconColor,
64
- title: iconTitle
65
- }) : /*#__PURE__*/React.createElement(Avatar, {
66
- name: name,
67
- size: size,
68
- palette: palette,
69
- textPalette: textPalette,
70
- customClass: customTextClass,
71
- dataId: dataId,
72
- needTitle: title,
73
- title: title
74
- }) : /*#__PURE__*/React.createElement(Icon, {
75
- name: iconName,
76
- size: iconSize,
77
- iconClass: `${iconClass ? iconClass : ''} ${style.iconStyle} ${name && action ? style[`${name.toLowerCase()}_${action.toLowerCase()}`] : ''}`,
78
- title: iconTitle,
79
- dataId: dataId
80
- }), topicIcon ? /*#__PURE__*/React.createElement("span", {
81
- className: `${style.thread} ${needTopicBorder ? style.threadBorder : ''} ${topicClass ? topicClass : ''}`,
82
- "data-title": topicIconTitle
83
- }, /*#__PURE__*/React.createElement(Icon, {
84
- name: topicIcon,
85
- size: topicIconSize,
86
- iconClass: style[`topic_${topicIconColor}`] ? `${style.topicIcon} ${style[`topic_${topicIconColor}`]}` : '',
87
- dataId: dataId
88
- })) : null);
89
- };
90
-
91
- ChannelIcon.defaultProps = defaultProps;
92
- ChannelIcon.propTypes = propTypes;
93
- export default ChannelIcon;
@@ -1,7 +0,0 @@
1
- export const defaultProps = {
2
- iconSize: '21',
3
- name: 'phone',
4
- needTopicBorder: true,
5
- renderIconOnly: false,
6
- dataSelectorId: 'channelIcon'
7
- };
@@ -1,25 +0,0 @@
1
- import PropTypes from 'prop-types';
2
- export const propTypes = {
3
- action: PropTypes.string,
4
- className: PropTypes.string,
5
- customTextClass: PropTypes.string,
6
- dataId: PropTypes.string,
7
- iconClass: PropTypes.string,
8
- iconColor: PropTypes.string,
9
- iconName: PropTypes.string,
10
- iconSize: PropTypes.string,
11
- iconTitle: PropTypes.string,
12
- name: PropTypes.string,
13
- needTopicBorder: PropTypes.bool,
14
- palette: PropTypes.oneOf(['primary', 'secondary', 'info', 'default']),
15
- renderIconOnly: PropTypes.bool,
16
- size: PropTypes.string,
17
- textPalette: PropTypes.oneOf(['white', 'black']),
18
- title: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
19
- topicClass: PropTypes.string,
20
- topicIcon: PropTypes.string,
21
- topicIconColor: PropTypes.string,
22
- topicIconSize: PropTypes.string,
23
- topicIconTitle: PropTypes.string,
24
- dataSelectorId: PropTypes.string
25
- };
@@ -1,270 +0,0 @@
1
- import React, { useRef } from 'react';
2
- import { Header_defaultProps, Footer_defaultProps, Drawer_defaultProps } from "./props/defaultProps";
3
- import { Header_propTypes, Content_propTypes, Footer_propTypes, Drawer_propTypes } from "./props/propTypes";
4
- import { Container, Box } from '@zohodesk/components/es/v1/Layout';
5
- import { Card, CardHeader, CardContent } from '@zohodesk/components/es/v1/Card';
6
- import VelocityAnimationGroup from '@zohodesk/components/es/v1/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup';
7
- import { ResponsiveSender, ResponsiveReceiver } from '@zohodesk/components/es/Responsive/CustomResponsive';
8
- import { Icon } from '@zohodesk/icons';
9
- import { useZIndex } from '@zohodesk/components/es/Provider/ZindexProvider';
10
- import FocusScope from '@zohodesk/a11y/es/FocusScope/FocusScope';
11
- import Heading from '@zohodesk/components/es/v1/Heading/Heading';
12
- import FreezeLayer from "../FreezeLayer/FreezeLayer";
13
- import FormAction from "../FormAction/FormAction";
14
- import IconButton from "../IconButton/IconButton";
15
- import style from "../../Drawer/Drawer.module.css";
16
- export function Header(props) {
17
- let {
18
- title,
19
- onClose,
20
- children,
21
- className,
22
- paddingSize,
23
- closeTitle,
24
- iconName,
25
- iconSize,
26
- onIconClick,
27
- isIconBold,
28
- dataId,
29
- flexible,
30
- getChildren,
31
- iconTitle,
32
- isBoxIcon,
33
- getTitleChildren
34
- } = props;
35
- return /*#__PURE__*/React.createElement(CardHeader, {
36
- customClass: `${style.header} ${style[`${paddingSize}HeaderPadding`]} ${className ? className : ''}`,
37
- dataId: dataId
38
- }, /*#__PURE__*/React.createElement(Container, {
39
- alignBox: "row",
40
- align: "vertical",
41
- isCover: false,
42
- className: style.subheader
43
- }, /*#__PURE__*/React.createElement(Box, {
44
- flexible: true,
45
- shrink: true
46
- }, /*#__PURE__*/React.createElement(Container, {
47
- alignBox: "row",
48
- isCover: false,
49
- align: "vertical"
50
- }, iconName ? /*#__PURE__*/React.createElement(Box, {
51
- className: style.iconWrapper
52
- }, isBoxIcon ? /*#__PURE__*/React.createElement(IconButton, {
53
- iconName: iconName,
54
- iconSize: iconSize,
55
- onClick: onIconClick,
56
- hoverType: "border",
57
- isBold: isIconBold,
58
- title: iconTitle
59
- }) : /*#__PURE__*/React.createElement(Icon, {
60
- name: iconName,
61
- size: iconSize,
62
- onClick: onIconClick,
63
- title: iconTitle
64
- })) : null, title || getTitleChildren ? /*#__PURE__*/React.createElement(Box, {
65
- flexible: flexible,
66
- shrink: true
67
- }, /*#__PURE__*/React.createElement(Container, {
68
- alignBox: "row",
69
- align: "vertical"
70
- }, title ? /*#__PURE__*/React.createElement(Box, {
71
- "data-title": title,
72
- shrink: true
73
- }, /*#__PURE__*/React.createElement(Heading, {
74
- title: title,
75
- className: style.title
76
- })) : null, getTitleChildren ? /*#__PURE__*/React.createElement(Box, null, getTitleChildren()) : null)) : null, children ? /*#__PURE__*/React.createElement(Box, null, children) : null)), onClose ? /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(IconButton, {
77
- onClick: onClose,
78
- dataId: "closeButton",
79
- title: closeTitle,
80
- iconName: "ZD-cross",
81
- iconSize: "11",
82
- a11y: {
83
- ariaLabel: 'Close'
84
- }
85
- })) : null), getChildren ? /*#__PURE__*/React.createElement(Container, {
86
- isCover: false
87
- }, /*#__PURE__*/React.createElement(Box, {
88
- flexible: true
89
- }, getChildren())) : null);
90
- }
91
- Header.propTypes = Header_propTypes;
92
- Header.defaultProps = Header_defaultProps;
93
- export function Content(props) {
94
- let {
95
- children,
96
- className,
97
- paddingSize,
98
- eleRef
99
- } = props;
100
- return /*#__PURE__*/React.createElement(CardContent, {
101
- scroll: "vertical",
102
- isScrollAttribute: true,
103
- customClass: `${className ? className : ''} ${paddingSize ? style[`${paddingSize}ContentPadding`] : ''}`,
104
- eleRef: eleRef
105
- }, children);
106
- }
107
- Content.propTypes = Content_propTypes;
108
- export function Footer(props) {
109
- let {
110
- paddingLeftSize,
111
- paddingRightClass,
112
- children,
113
- size
114
- } = props;
115
- return /*#__PURE__*/React.createElement(FormAction, {
116
- size: size,
117
- paddingLeftSize: paddingLeftSize,
118
- paddingRightClass: paddingRightClass
119
- }, children);
120
- }
121
- Footer.propTypes = Footer_propTypes;
122
- Footer.defaultProps = Footer_defaultProps;
123
- export default function Drawer(props) {
124
- const contentRef = useRef(null);
125
- const getNextIndex = useZIndex();
126
-
127
- function drawers(uptoTablet, styleByResolutions) {
128
- let {
129
- children,
130
- size,
131
- paddingSize,
132
- subDrawerActive,
133
- subDrawerChildren,
134
- onBodyClick,
135
- onClose,
136
- needFocusScope,
137
- customProps,
138
- a11y
139
- } = props;
140
- const {
141
- focusScopeProps = {}
142
- } = customProps;
143
- const {
144
- needAutoFocus = true,
145
- needRestoreFocus = true,
146
- needListNavigation = false,
147
- needFocusLoop = true,
148
- needEnterAction = true
149
- } = focusScopeProps;
150
- let childrenWithProps = React.Children.map(children, child => {
151
- if (child.type === Header || child.type === Footer || child.type === Content) {
152
- let {
153
- paddingSize: childPaddingSize
154
- } = child.props || {};
155
- return paddingSize || childPaddingSize ? /*#__PURE__*/React.cloneElement(child, {
156
- paddingSize: childPaddingSize ? childPaddingSize : paddingSize
157
- }) : child;
158
- }
159
-
160
- return child;
161
- });
162
- let content = /*#__PURE__*/React.createElement(Box, {
163
- className: `${style.container} ${style.columns} ${style.drawerModal} ${uptoTablet ? style.mbleSize : style[size]}`,
164
- "data-a11y-need-focus-style": "false",
165
- tabindex: -1,
166
- eleRef: contentRef,
167
- ...a11y
168
- }, /*#__PURE__*/React.createElement(Card, {
169
- onClick: e => {
170
- e && e.stopPropagation && e.stopPropagation();
171
- onBodyClick(e);
172
- }
173
- }, childrenWithProps));
174
- return /*#__PURE__*/React.createElement(React.Fragment, null, subDrawerChildren ? /*#__PURE__*/React.createElement(Box, {
175
- className: style.columns
176
- }, /*#__PURE__*/React.createElement(VelocityAnimationGroup, {
177
- name: "slideRight",
178
- isActive: subDrawerActive
179
- }, /*#__PURE__*/React.createElement(ResponsiveSender, null, /*#__PURE__*/React.createElement(Container, {
180
- className: styleByResolutions,
181
- onClick: e => {
182
- e && e.stopPropagation && e.stopPropagation();
183
- }
184
- }, /*#__PURE__*/React.createElement(Box, {
185
- flexible: true
186
- }, subDrawerChildren))))) : null, needFocusScope ? /*#__PURE__*/React.createElement(FocusScope, {
187
- elementRef: contentRef,
188
- needAutoFocus: needAutoFocus,
189
- needFocusLoop: needFocusLoop,
190
- needRestoreFocus: needRestoreFocus,
191
- needListNavigation: needListNavigation,
192
- onClose: onClose,
193
- needEnterAction: needEnterAction
194
- }, content) : content);
195
- }
196
-
197
- function responsiveFunc(_ref) {
198
- let {
199
- mediaQueryOR
200
- } = _ref;
201
- return {
202
- uptoTablet: mediaQueryOR([{
203
- maxWidth: 768
204
- }])
205
- };
206
- }
207
-
208
- let {
209
- needFreeze,
210
- palette,
211
- isActive,
212
- onClose,
213
- forwardRef,
214
- responsiveId,
215
- subDrawerSize,
216
- subDrawerClass,
217
- subDrawerActive,
218
- customClass,
219
- needAutoZindex,
220
- innerPortalName
221
- } = props;
222
- return /*#__PURE__*/React.createElement(ResponsiveReceiver, {
223
- query: responsiveFunc,
224
- responsiveId: responsiveId
225
- }, _ref2 => {
226
- let {
227
- uptoTablet
228
- } = _ref2;
229
- let styleByResolutions = `${subDrawerClass} ${style.secondDrawer} ${uptoTablet ? `${style.secondMobDrawer} ${style.mbleSize}` : `${style[subDrawerSize]}`} `;
230
- return needFreeze ? /*#__PURE__*/React.createElement(FreezeLayer, {
231
- onClick: onClose,
232
- isActive: isActive,
233
- animationName: "fade",
234
- childAnimationName: "slideRight",
235
- palette: palette,
236
- forwardRef: forwardRef,
237
- customClass: customClass,
238
- needAutoZindex: needAutoZindex
239
- }, /*#__PURE__*/React.createElement(Box, {
240
- flexible: true
241
- }, /*#__PURE__*/React.createElement(Container, {
242
- alignBox: "row"
243
- }, /*#__PURE__*/React.createElement(React.Fragment, null, uptoTablet ? /*#__PURE__*/React.createElement(Box, {
244
- flexible: true
245
- }) : null, /*#__PURE__*/React.createElement(ResponsiveSender, null, /*#__PURE__*/React.createElement(Box, {
246
- flexible: true,
247
- className: uptoTablet ? style.mobModal : style.drawerModal
248
- }, !subDrawerActive && innerPortalName ? /*#__PURE__*/React.createElement("div", {
249
- "data-portal": innerPortalName
250
- }) : null)), drawers(uptoTablet, styleByResolutions))))) : /*#__PURE__*/React.createElement(VelocityAnimationGroup, {
251
- isActive: isActive,
252
- name: "slideRight"
253
- }, /*#__PURE__*/React.createElement(Container, {
254
- align: "right",
255
- alignBox: "row",
256
- scroll: "none",
257
- eleRef: forwardRef,
258
- className: `${style.isOverlay} ${customClass}`,
259
- style: isActive && needAutoZindex ? {
260
- zIndex: `${getNextIndex()}`
261
- } : {}
262
- }, drawers(uptoTablet, styleByResolutions)));
263
- });
264
- }
265
- Drawer.propTypes = Drawer_propTypes;
266
- Drawer.defaultProps = Drawer_defaultProps; // if (__DOCS__) {
267
- // Drawer.docs = {
268
- // componentGroup: 'Template'
269
- // };
270
- // }
@@ -1,23 +0,0 @@
1
- export const Header_defaultProps = {
2
- flexible: false,
3
- paddingSize: 'small',
4
- isBoxIcon: true
5
- };
6
- export const Footer_defaultProps = {
7
- size: 'small'
8
- };
9
- export const Drawer_defaultProps = {
10
- isActive: false,
11
- palette: 'default',
12
- responsiveId: 'Helmet',
13
- size: 'small',
14
- subDrawerSize: 'small',
15
- subDrawerActive: false,
16
- subDrawerClass: '',
17
- customClass: '',
18
- needAutoZindex: true,
19
- onBodyClick: () => {},
20
- needFocusScope: false,
21
- customProps: {},
22
- a11y: {}
23
- };
@@ -1,53 +0,0 @@
1
- import PropTypes from 'prop-types';
2
- export const Header_propTypes = {
3
- children: PropTypes.node,
4
- className: PropTypes.string,
5
- closeTitle: PropTypes.string,
6
- dataId: PropTypes.string,
7
- flexible: PropTypes.bool,
8
- getChildren: PropTypes.func,
9
- iconName: PropTypes.string,
10
- iconSize: PropTypes.string,
11
- iconTitle: PropTypes.string,
12
- isIconBold: PropTypes.bool,
13
- onClose: PropTypes.func,
14
- onIconClick: PropTypes.func,
15
- paddingSize: PropTypes.oneOf(['small', 'medium', 'large']),
16
- title: PropTypes.string,
17
- isBoxIcon: PropTypes.bool,
18
- getTitleChildren: PropTypes.func
19
- };
20
- export const Content_propTypes = {
21
- children: PropTypes.node,
22
- className: PropTypes.string,
23
- eleRef: PropTypes.func,
24
- paddingSize: PropTypes.oneOf(['small', 'medium', 'large'])
25
- };
26
- export const Footer_propTypes = {
27
- children: PropTypes.node,
28
- paddingLeftSize: PropTypes.string,
29
- paddingRightClass: PropTypes.string,
30
- size: PropTypes.string
31
- };
32
- export const Drawer_propTypes = {
33
- children: PropTypes.node,
34
- customClass: PropTypes.string,
35
- forwardRef: PropTypes.object,
36
- isActive: PropTypes.bool,
37
- needAutoZindex: PropTypes.bool,
38
- needFreeze: PropTypes.bool,
39
- onBodyClick: PropTypes.func,
40
- onClose: PropTypes.func,
41
- paddingSize: PropTypes.oneOf(['small', 'medium', 'large']),
42
- palette: PropTypes.oneOf(['dark', 'default', 'darkLight', 'plain']),
43
- responsiveId: PropTypes.string,
44
- size: PropTypes.oneOf(['small', 'xsmall', 'medium', 'xmedium', 'large', 'xlarge', 'xxlarge', 'default']),
45
- subDrawerActive: PropTypes.bool,
46
- subDrawerChildren: PropTypes.func,
47
- subDrawerClass: PropTypes.string,
48
- subDrawerSize: PropTypes.oneOf(['xsmall', 'small', 'medium']),
49
- needFocusScope: PropTypes.bool,
50
- customProps: PropTypes.object,
51
- innerPortalName: PropTypes.string,
52
- a11y: PropTypes.object
53
- };
@@ -1,48 +0,0 @@
1
- /**** Libraries ****/
2
- import React from 'react';
3
- import { defaultProps } from "./props/defaultProps";
4
- import { propTypes } from "./props/propTypes";
5
- /**** CSS ****/
6
-
7
- import style from "../../ExternalLink/ExternalLink.module.css";
8
-
9
- const ExternalLink = props => {
10
- const {
11
- href,
12
- title,
13
- target,
14
- className,
15
- children,
16
- rel,
17
- dataId,
18
- onClick,
19
- customProps
20
- } = props;
21
-
22
- let addHttp = url => {
23
- let regEx = new RegExp(/(^(ftp|https|mailto|tel|http|simplehelp|dynamicsnav?):)/i);
24
-
25
- if (!regEx.test(url)) {
26
- return `http://${url}`;
27
- }
28
-
29
- return url;
30
- };
31
-
32
- let urlOutput = href && typeof href !== 'boolean' ? addHttp(String(href)) : 'javascript:void(0);';
33
- return /*#__PURE__*/React.createElement("a", {
34
- href: urlOutput,
35
- target: target,
36
- className: `${style.link} ${className ? className : ''}`,
37
- "data-title": title,
38
- rel: rel,
39
- "data-id": dataId,
40
- "data-test-id": dataId,
41
- onClick: onClick,
42
- ...customProps
43
- }, children);
44
- };
45
-
46
- ExternalLink.defaultProps = defaultProps;
47
- ExternalLink.propTypes = propTypes;
48
- export default ExternalLink;
@@ -1,5 +0,0 @@
1
- export const defaultProps = {
2
- rel: 'noopener noreferrer',
3
- target: '_blank',
4
- customProps: {}
5
- };
@@ -1,12 +0,0 @@
1
- import PropTypes from 'prop-types';
2
- export const propTypes = {
3
- children: PropTypes.node,
4
- className: PropTypes.string,
5
- dataId: PropTypes.string,
6
- href: PropTypes.string,
7
- rel: PropTypes.string,
8
- target: PropTypes.oneOf(['_blank', '_self']),
9
- title: PropTypes.string,
10
- onClick: PropTypes.func,
11
- customProps: PropTypes.object
12
- };
@@ -1,132 +0,0 @@
1
- import React from 'react';
2
- import { defaultProps } from "./props/defaultProps";
3
- import { propTypes } from "./props/propTypes";
4
- import CheckBox from '@zohodesk/components/es/v1/CheckBox/CheckBox';
5
- import { Container } from '@zohodesk/components/es/v1/Layout';
6
- import AvatarSize from '@zohodesk/components/es/Provider/AvatarSize';
7
- import ChannelIcon from "../ChannelIcon/ChannelIcon";
8
- import AvatarIcon from "../avatar/AvatarIcon/AvatarIcon";
9
- import AvatarUser from "../avatar/AvatarUser/AvatarUser";
10
- import { stopBubbling } from "../../utils/General";
11
- import style from "../../FlipCard/FlipCard.module.css";
12
- export default function FlipCard(props) {
13
- let {
14
- id,
15
- action,
16
- name,
17
- initial,
18
- isChecked,
19
- noNeedFlip,
20
- size,
21
- channel,
22
- isPaidUser,
23
- isPortalUser,
24
- src,
25
- icon,
26
- iconSize,
27
- iconClass,
28
- ticListContainer,
29
- ticList,
30
- dataId,
31
- className,
32
- palette,
33
- textPalette,
34
- customTextClass,
35
- frontClass,
36
- needTitle,
37
- iconColor,
38
- tourId,
39
- isFilledCheckbox,
40
- channelTitle,
41
- customProps
42
- } = props;
43
- const {
44
- CheckBoxProps = {},
45
- ChannelIconProps = {},
46
- AvatarIconProps = {},
47
- AvatarUserProps = {}
48
- } = customProps;
49
-
50
- const onClick = e => {
51
- if (!noNeedFlip) {
52
- stopBubbling(e);
53
- }
54
- };
55
-
56
- const onChange = (isChecked, e) => {
57
- let {
58
- onChange
59
- } = props;
60
- stopBubbling(e);
61
- onChange(id, isChecked, e);
62
- };
63
-
64
- return /*#__PURE__*/React.createElement("div", {
65
- className: `${AvatarSize(size)} ${noNeedFlip ? style.flipNone : isChecked ? style.notFlip : style.flip}`,
66
- onClick: onClick,
67
- "data-id": ticListContainer,
68
- "data-test-id": ticListContainer,
69
- "data-tour": tourId
70
- }, /*#__PURE__*/React.createElement("div", {
71
- className: style.container,
72
- "data-id": ticList,
73
- "data-test-id": ticList
74
- }, !noNeedFlip ? /*#__PURE__*/React.createElement(Container, {
75
- align: "both",
76
- className: `${style.front} ${frontClass ? frontClass : ''}`
77
- }, /*#__PURE__*/React.createElement(CheckBox, {
78
- isFilled: isFilledCheckbox,
79
- checked: isChecked,
80
- onChange: onChange,
81
- id: `checkbox_${id}`,
82
- dataId: `listViewCheckBox_${id}`,
83
- ...CheckBoxProps
84
- })) : null, /*#__PURE__*/React.createElement(Container, {
85
- align: "both",
86
- className: style.back
87
- }, channel && action ? /*#__PURE__*/React.createElement(ChannelIcon, {
88
- name: channel,
89
- action: action,
90
- size: size,
91
- iconSize: iconSize,
92
- iconClass: iconClass,
93
- dataId: channel,
94
- className: className,
95
- palette: palette,
96
- textPalette: textPalette,
97
- customTextClass: customTextClass,
98
- iconColor: iconColor,
99
- title: channelTitle,
100
- iconTitle: channelTitle,
101
- ...ChannelIconProps
102
- }) : icon ? /*#__PURE__*/React.createElement(AvatarIcon, {
103
- name: icon,
104
- iconSize: iconSize,
105
- size: size,
106
- iconClass: iconClass,
107
- dataId: icon,
108
- className: className,
109
- iconColor: iconColor,
110
- title: needTitle ? name : '',
111
- ...AvatarIconProps
112
- }) : /*#__PURE__*/React.createElement(AvatarUser, {
113
- name: name,
114
- initial: initial,
115
- size: size,
116
- isPaid: isPaidUser,
117
- isPortal: isPortalUser,
118
- src: src,
119
- dataId: dataId,
120
- needTitle: needTitle,
121
- palette: palette,
122
- textPalette: textPalette,
123
- customTextClass: customTextClass,
124
- ...AvatarUserProps
125
- }))));
126
- }
127
- FlipCard.propTypes = propTypes;
128
- FlipCard.defaultProps = defaultProps; // if (__DOCS__) {
129
- // FlipCard.docs = {
130
- // componentGroup: 'Molecule'
131
- // };
132
- // }
@@ -1,5 +0,0 @@
1
- export const defaultProps = {
2
- size: 'medium',
3
- needTitle: true,
4
- customProps: {}
5
- };