@zohodesk/dot 1.0.0-temp-215 → 1.0.0-temp-216

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 (319) hide show
  1. package/README.md +23 -0
  2. package/assets/Appearance/dark/mode/Dot_DarkMode.module.css +17 -7
  3. package/assets/Appearance/light/mode/Dot_LightMode.module.css +23 -13
  4. package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +15 -5
  5. package/es/ActionButton/ActionButton.js +6 -6
  6. package/es/AlphabeticList/AlphabeticList.js +1 -1
  7. package/es/Attachment/Attachment.js +7 -4
  8. package/es/Attachment/__tests__/Attachment.spec.js +24 -0
  9. package/es/Attachment/__tests__/__snapshots__/Attachment.spec.js.snap +105 -0
  10. package/es/AttachmentViewer/AttachmentViewer.js +5 -5
  11. package/es/AttachmentViewer/AttachmentViewer.module.css +1 -1
  12. package/es/AudioPlayer/AudioPlayer.js +580 -0
  13. package/es/AudioPlayer/AudioPlayer.module.css +146 -0
  14. package/es/AudioPlayer/Timer/Timer.js +67 -0
  15. package/es/AudioPlayer/Timer/Timer.module.css +5 -0
  16. package/es/AudioPlayer/Timer/__tests__/Timer.spec.js +20 -0
  17. package/es/AudioPlayer/Timer/__tests__/__snapshots__/Timer.spec.js.snap +14 -0
  18. package/es/AudioPlayer/Timer/propTypes/defaultProps.js +4 -0
  19. package/es/AudioPlayer/Timer/propTypes/propTypes.js +11 -0
  20. package/es/AudioPlayer/__tests__/AudioPlayer.spec.js +44 -0
  21. package/es/AudioPlayer/__tests__/__snapshots__/AudioPlayer.spec.js.snap +145 -0
  22. package/es/AudioPlayer/propTypes/defaultProps.js +14 -0
  23. package/es/AudioPlayer/propTypes/propTypes.js +33 -0
  24. package/es/AudioPlayer/utils/utils.js +24 -0
  25. package/es/ChannelIcon/ChannelIcon.js +1 -1
  26. package/es/Drawer/Drawer.js +6 -6
  27. package/es/FlipCard/FlipCard.js +3 -3
  28. package/es/FormAction/FormAction.js +1 -1
  29. package/es/FreezeLayer/FreezeLayer.js +3 -3
  30. package/es/Hooks/Dragger/useDragger.js +52 -33
  31. package/es/IconButton/IconButton.js +3 -3
  32. package/es/ImportantNotes/ImportantNotes.js +1 -1
  33. package/es/Loader/Loader.js +1 -1
  34. package/es/MessageBanner/MessageBanner.js +1 -1
  35. package/es/NewStar/NewStar.js +1 -1
  36. package/es/Onboarding/Onboarding.js +3 -3
  37. package/es/Separator/Separator.js +1 -1
  38. package/es/ToastMessage/ToastMessage.js +4 -4
  39. package/es/Upload/Upload.js +1 -1
  40. package/es/VideoLookup/VideoLookup.js +1 -1
  41. package/es/alert/AlertHeader/AlertHeader.js +1 -1
  42. package/es/alert/AlertLookup/AlertLookup.js +1 -1
  43. package/es/avatar/AvatarClose/AvatarClose.js +1 -1
  44. package/es/avatar/AvatarCollision/AvatarCollision.js +1 -1
  45. package/es/avatar/AvatarIcon/AvatarIcon.js +2 -2
  46. package/es/avatar/AvatarStatus/AvatarStatus.js +1 -1
  47. package/es/avatar/AvatarThread/AvatarThread.js +1 -1
  48. package/es/avatar/AvatarUser/AvatarUser.js +1 -1
  49. package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
  50. package/es/deprecated/FreezeLayer/FreezeLayer.js +3 -3
  51. package/es/deprecated/SelectDropdown/SelectDropdown.js +7 -7
  52. package/es/dot_layer.module.css +1 -0
  53. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +14 -14
  54. package/es/emptystate/EditionPage/EditionPage.js +1 -1
  55. package/es/errorstate/Inconvenience/Inconvenience.js +3 -3
  56. package/es/errorstate/NoRequestFound/NoRequestFound.js +3 -3
  57. package/es/errorstate/PermissionPlay/PermissionPlay.js +3 -3
  58. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +3 -3
  59. package/es/errorstate/UnableToProcess/UnableToProcess.js +3 -3
  60. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
  61. package/es/errorstate/WillBack/WillBack.js +3 -3
  62. package/es/form/fields/CheckBoxField/CheckBoxField.js +3 -3
  63. package/es/form/fields/CurrencyField/CurrencyField.js +3 -3
  64. package/es/form/fields/DateField/DateField.js +3 -3
  65. package/es/form/fields/FieldContainer/FieldContainer.js +1 -1
  66. package/es/form/fields/Fields.module.css +4 -0
  67. package/es/form/fields/MultiSelectField/MultiSelectField.js +3 -3
  68. package/es/form/fields/PhoneField/PhoneField.js +3 -2
  69. package/es/form/fields/PhoneField/__tests__/__snapshots__/PhoneField.spec.js.snap +1 -1
  70. package/es/form/fields/RadioField/RadioField.js +2 -2
  71. package/es/form/fields/SelectField/SelectField.js +3 -3
  72. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +11 -11
  73. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +3 -3
  74. package/es/form/fields/TextBoxField/TextBoxField.js +3 -3
  75. package/es/form/fields/TextEditor/TextEditor.js +1 -1
  76. package/es/form/fields/TextEditorField/TextEditorField.js +1 -1
  77. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +2 -2
  78. package/es/form/fields/TextareaField/TextareaField.js +3 -3
  79. package/es/form/fields/ValidationMessage/ValidationMessage.js +2 -2
  80. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +1 -0
  81. package/es/layout/SetupDetailLayout/SetupDetailLayout.js +1 -1
  82. package/es/layout/SubtabLayout/SubtabLayout.js +2 -2
  83. package/es/list/Comment/Comment.js +1 -1
  84. package/es/list/Icons/AddNewIcon.js +1 -1
  85. package/es/list/Icons/CompleteIcon.js +1 -1
  86. package/es/list/Icons/DeleteIcon.js +1 -1
  87. package/es/list/Icons/EditIcon.js +1 -1
  88. package/es/list/Icons/ReadUnreadIcon.js +1 -1
  89. package/es/list/Icons/SmartIcon.js +1 -1
  90. package/es/list/ListLayout/ListLayout.js +1 -1
  91. package/es/list/ListStencils/ListStencils.js +1 -1
  92. package/es/list/SecondaryText/AccountName.js +1 -1
  93. package/es/list/SecondaryText/ContactName.js +1 -1
  94. package/es/list/SecondryPanel/SecondryPanel.js +2 -2
  95. package/es/list/Thread/Thread.js +1 -1
  96. package/es/list/status/StatusDropdown/StatusDropdown.js +10 -10
  97. package/es/list/status/StatusListItem/StatusListItem.js +2 -2
  98. package/es/lookup/EmptyPage/EmptyPage.js +4 -4
  99. package/es/lookup/Lookup/Lookup.js +1 -1
  100. package/es/lookup/Section/Section.js +1 -1
  101. package/es/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
  102. package/es/lookup/header/Search/Search.js +3 -3
  103. package/es/lookup/header/TicketHeader/TicketHeader.js +1 -1
  104. package/es/lookup/header/ViewDropDown/ViewDropDown.js +9 -9
  105. package/es/setup/header/Button/Button.js +1 -1
  106. package/es/setup/header/Link/Link.js +1 -1
  107. package/es/setup/header/Search/Search.js +1 -1
  108. package/es/setup/table/Table/Table.js +1 -1
  109. package/es/setup/table/TableBody/TableBody.js +1 -1
  110. package/es/setup/table/TableData/TableData.js +1 -1
  111. package/es/setup/table/TableHead/TableHead.js +1 -1
  112. package/es/setup/table/TableRow/TableRow.js +1 -1
  113. package/es/svg/PlusIcon.js +1 -1
  114. package/es/svg/SnippetIcon.js +1 -1
  115. package/es/svg/TemplateIcon.js +1 -1
  116. package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +2 -2
  117. package/es/v1/emptystate/EditionPage/EditionPage.js +1 -1
  118. package/es/v1/errorstate/Inconvenience/Inconvenience.js +1 -1
  119. package/es/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +1 -1
  120. package/es/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +1 -1
  121. package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -1
  122. package/es/v1/errorstate/UrlNotFound/UrlNotFound.js +1 -1
  123. package/es/v1/errorstate/WillBeRightBack/WillBeRightBack.js +1 -1
  124. package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -2
  125. package/es/v1/list/status/StatusDropdown/StatusDropdown.js +2 -2
  126. package/es/v1/lookup/EmptyPage/EmptyPage.js +4 -4
  127. package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
  128. package/es/v1/notification/DesktopNotification/DesktopNotification.js +1 -1
  129. package/es/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +1 -1
  130. package/es/v1/svg/PlusIcon.js +1 -1
  131. package/es/v1/svg/SnippetIcon.js +1 -1
  132. package/es/v1/svg/TemplateIcon.js +1 -1
  133. package/es/version2/AlertClose/AlertClose.js +1 -1
  134. package/es/version2/GlobalNotification/GlobalNotification.js +1 -1
  135. package/es/version2/errorstate/Inconvenience/Inconvenience.js +3 -3
  136. package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +3 -3
  137. package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +3 -3
  138. package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
  139. package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +3 -3
  140. package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +3 -3
  141. package/es/version2/lookup/AlertHeader/AlertHeader.js +1 -1
  142. package/es/version2/lookup/AlertLookup/AlertLookup.js +3 -3
  143. package/es/version2/notification/DesktopNotification/DesktopNotification.js +4 -4
  144. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +2 -2
  145. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +1 -0
  146. package/lib/ActionButton/ActionButton.js +6 -6
  147. package/lib/AlphabeticList/AlphabeticList.js +1 -1
  148. package/lib/Attachment/Attachment.js +7 -4
  149. package/lib/Attachment/__tests__/Attachment.spec.js +24 -0
  150. package/lib/Attachment/__tests__/__snapshots__/Attachment.spec.js.snap +105 -0
  151. package/lib/AttachmentViewer/AttachmentViewer.js +5 -5
  152. package/lib/AttachmentViewer/AttachmentViewer.module.css +1 -1
  153. package/lib/AudioPlayer/AudioPlayer.js +662 -0
  154. package/lib/AudioPlayer/AudioPlayer.module.css +146 -0
  155. package/lib/AudioPlayer/Timer/Timer.js +117 -0
  156. package/lib/AudioPlayer/Timer/Timer.module.css +5 -0
  157. package/lib/AudioPlayer/Timer/__tests__/Timer.spec.js +26 -0
  158. package/lib/AudioPlayer/Timer/__tests__/__snapshots__/Timer.spec.js.snap +14 -0
  159. package/lib/AudioPlayer/Timer/propTypes/defaultProps.js +11 -0
  160. package/lib/AudioPlayer/Timer/propTypes/propTypes.js +22 -0
  161. package/lib/AudioPlayer/__tests__/AudioPlayer.spec.js +50 -0
  162. package/lib/AudioPlayer/__tests__/__snapshots__/AudioPlayer.spec.js.snap +145 -0
  163. package/lib/AudioPlayer/propTypes/defaultProps.js +24 -0
  164. package/lib/AudioPlayer/propTypes/propTypes.js +44 -0
  165. package/lib/AudioPlayer/utils/utils.js +33 -0
  166. package/lib/ChannelIcon/ChannelIcon.js +1 -1
  167. package/lib/Drawer/Drawer.js +6 -6
  168. package/lib/FlipCard/FlipCard.js +3 -3
  169. package/lib/FormAction/FormAction.js +1 -1
  170. package/lib/FreezeLayer/FreezeLayer.js +3 -3
  171. package/lib/Hooks/Dragger/useDragger.js +51 -28
  172. package/lib/IconButton/IconButton.js +3 -3
  173. package/lib/ImportantNotes/ImportantNotes.js +1 -1
  174. package/lib/Loader/Loader.js +1 -1
  175. package/lib/MessageBanner/MessageBanner.js +1 -1
  176. package/lib/NewStar/NewStar.js +1 -1
  177. package/lib/Onboarding/Onboarding.js +3 -3
  178. package/lib/Separator/Separator.js +1 -1
  179. package/lib/ToastMessage/ToastMessage.js +4 -4
  180. package/lib/Upload/Upload.js +1 -1
  181. package/lib/VideoLookup/VideoLookup.js +1 -1
  182. package/lib/alert/AlertHeader/AlertHeader.js +1 -1
  183. package/lib/alert/AlertLookup/AlertLookup.js +1 -1
  184. package/lib/avatar/AvatarClose/AvatarClose.js +1 -1
  185. package/lib/avatar/AvatarCollision/AvatarCollision.js +1 -1
  186. package/lib/avatar/AvatarIcon/AvatarIcon.js +2 -2
  187. package/lib/avatar/AvatarStatus/AvatarStatus.js +1 -1
  188. package/lib/avatar/AvatarThread/AvatarThread.js +1 -1
  189. package/lib/avatar/AvatarUser/AvatarUser.js +1 -1
  190. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
  191. package/lib/deprecated/FreezeLayer/FreezeLayer.js +3 -3
  192. package/lib/deprecated/SelectDropdown/SelectDropdown.js +7 -7
  193. package/lib/dot_layer.module.css +1 -0
  194. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +14 -14
  195. package/lib/emptystate/EditionPage/EditionPage.js +1 -1
  196. package/lib/errorstate/Inconvenience/Inconvenience.js +3 -3
  197. package/lib/errorstate/NoRequestFound/NoRequestFound.js +3 -3
  198. package/lib/errorstate/PermissionPlay/PermissionPlay.js +3 -3
  199. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +3 -3
  200. package/lib/errorstate/UnableToProcess/UnableToProcess.js +3 -3
  201. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
  202. package/lib/errorstate/WillBack/WillBack.js +3 -3
  203. package/lib/form/fields/CheckBoxField/CheckBoxField.js +3 -3
  204. package/lib/form/fields/CurrencyField/CurrencyField.js +3 -3
  205. package/lib/form/fields/DateField/DateField.js +3 -3
  206. package/lib/form/fields/FieldContainer/FieldContainer.js +1 -1
  207. package/lib/form/fields/Fields.module.css +4 -0
  208. package/lib/form/fields/MultiSelectField/MultiSelectField.js +3 -3
  209. package/lib/form/fields/PhoneField/PhoneField.js +3 -2
  210. package/lib/form/fields/PhoneField/__tests__/__snapshots__/PhoneField.spec.js.snap +1 -1
  211. package/lib/form/fields/RadioField/RadioField.js +2 -2
  212. package/lib/form/fields/SelectField/SelectField.js +3 -3
  213. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +11 -11
  214. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +3 -3
  215. package/lib/form/fields/TextBoxField/TextBoxField.js +3 -3
  216. package/lib/form/fields/TextEditor/TextEditor.js +1 -1
  217. package/lib/form/fields/TextEditorField/TextEditorField.js +1 -1
  218. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +2 -2
  219. package/lib/form/fields/TextareaField/TextareaField.js +3 -3
  220. package/lib/form/fields/ValidationMessage/ValidationMessage.js +2 -2
  221. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +1 -0
  222. package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +1 -1
  223. package/lib/layout/SubtabLayout/SubtabLayout.js +2 -2
  224. package/lib/list/Comment/Comment.js +1 -1
  225. package/lib/list/Icons/AddNewIcon.js +1 -1
  226. package/lib/list/Icons/CompleteIcon.js +1 -1
  227. package/lib/list/Icons/DeleteIcon.js +1 -1
  228. package/lib/list/Icons/EditIcon.js +1 -1
  229. package/lib/list/Icons/ReadUnreadIcon.js +1 -1
  230. package/lib/list/Icons/SmartIcon.js +1 -1
  231. package/lib/list/ListLayout/ListLayout.js +1 -1
  232. package/lib/list/ListStencils/ListStencils.js +1 -1
  233. package/lib/list/SecondaryText/AccountName.js +1 -1
  234. package/lib/list/SecondaryText/ContactName.js +1 -1
  235. package/lib/list/SecondryPanel/SecondryPanel.js +2 -2
  236. package/lib/list/Thread/Thread.js +1 -1
  237. package/lib/list/status/StatusDropdown/StatusDropdown.js +10 -10
  238. package/lib/list/status/StatusListItem/StatusListItem.js +2 -2
  239. package/lib/lookup/EmptyPage/EmptyPage.js +4 -4
  240. package/lib/lookup/Lookup/Lookup.js +1 -1
  241. package/lib/lookup/Section/Section.js +1 -1
  242. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
  243. package/lib/lookup/header/Search/Search.js +3 -3
  244. package/lib/lookup/header/TicketHeader/TicketHeader.js +1 -1
  245. package/lib/lookup/header/ViewDropDown/ViewDropDown.js +9 -9
  246. package/lib/setup/header/Button/Button.js +1 -1
  247. package/lib/setup/header/Link/Link.js +1 -1
  248. package/lib/setup/header/Search/Search.js +1 -1
  249. package/lib/setup/table/Table/Table.js +1 -1
  250. package/lib/setup/table/TableBody/TableBody.js +1 -1
  251. package/lib/setup/table/TableData/TableData.js +1 -1
  252. package/lib/setup/table/TableHead/TableHead.js +1 -1
  253. package/lib/setup/table/TableRow/TableRow.js +1 -1
  254. package/lib/svg/PlusIcon.js +1 -1
  255. package/lib/svg/SnippetIcon.js +1 -1
  256. package/lib/svg/TemplateIcon.js +1 -1
  257. package/lib/v1/dropdown/ToggleDropDown/ToggleDropDown.js +2 -2
  258. package/lib/v1/emptystate/EditionPage/EditionPage.js +1 -1
  259. package/lib/v1/errorstate/Inconvenience/Inconvenience.js +1 -1
  260. package/lib/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +1 -1
  261. package/lib/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +1 -1
  262. package/lib/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -1
  263. package/lib/v1/errorstate/UrlNotFound/UrlNotFound.js +1 -1
  264. package/lib/v1/errorstate/WillBeRightBack/WillBeRightBack.js +1 -1
  265. package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -2
  266. package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +2 -2
  267. package/lib/v1/lookup/EmptyPage/EmptyPage.js +4 -4
  268. package/lib/v1/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
  269. package/lib/v1/notification/DesktopNotification/DesktopNotification.js +1 -1
  270. package/lib/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +1 -1
  271. package/lib/v1/svg/PlusIcon.js +1 -1
  272. package/lib/v1/svg/SnippetIcon.js +1 -1
  273. package/lib/v1/svg/TemplateIcon.js +1 -1
  274. package/lib/version2/AlertClose/AlertClose.js +1 -1
  275. package/lib/version2/GlobalNotification/GlobalNotification.js +1 -1
  276. package/lib/version2/errorstate/Inconvenience/Inconvenience.js +3 -3
  277. package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +3 -3
  278. package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +3 -3
  279. package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
  280. package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +3 -3
  281. package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +3 -3
  282. package/lib/version2/lookup/AlertHeader/AlertHeader.js +1 -1
  283. package/lib/version2/lookup/AlertLookup/AlertLookup.js +3 -3
  284. package/lib/version2/notification/DesktopNotification/DesktopNotification.js +4 -4
  285. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +2 -2
  286. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +1 -0
  287. package/package.json +28 -13
  288. package/.cli/MissedPropType_Keys.html +0 -101
  289. package/.cli/PropLessFiles.html +0 -101
  290. package/.cli/PropUnificationExcludeFilesArray.js +0 -345
  291. package/.cli/PropValidationExcludeFilesArray.js +0 -8
  292. package/.cli/ThemeValidationExcludeFiles.js +0 -1
  293. package/.cli/UnValidatedFiles.html +0 -101
  294. package/.cli/propValidation_report.html +0 -182
  295. package/.cli/stringContains.js +0 -1
  296. package/assets/Appearance/dark/themes/blue/blue_DotCTA_DarkModifyCategory.module.css +0 -13
  297. package/assets/Appearance/dark/themes/green/green_DotCTA_DarkModifyCategory.module.css +0 -13
  298. package/assets/Appearance/dark/themes/orange/orange_DotCTA_DarkModifyCategory.module.css +0 -13
  299. package/assets/Appearance/dark/themes/red/red_DotCTA_DarkModifyCategory.module.css +0 -13
  300. package/assets/Appearance/dark/themes/yellow/yellow_DotCTA_DarkModifyCategory.module.css +0 -13
  301. package/assets/Appearance/light/themes/blue/blue_DotCTA_LightModifyCategory.module.css +0 -13
  302. package/assets/Appearance/light/themes/green/green_DotCTA_LightModifyCategory.module.css +0 -13
  303. package/assets/Appearance/light/themes/orange/orange_DotCTA_LightModifyCategory.module.css +0 -13
  304. package/assets/Appearance/light/themes/red/red_DotCTA_LightModifyCategory.module.css +0 -13
  305. package/assets/Appearance/light/themes/yellow/yellow_DotCTA_LightModifyCategory.module.css +0 -13
  306. package/assets/Appearance/pureDark/themes/blue/blue_DotCTA_PureDarkModifyCategory.module.css +0 -13
  307. package/assets/Appearance/pureDark/themes/green/green_DotCTA_PureDarkModifyCategory.module.css +0 -13
  308. package/assets/Appearance/pureDark/themes/orange/orange_DotCTA_PureDarkModifyCategory.module.css +0 -13
  309. package/assets/Appearance/pureDark/themes/red/red_DotCTA_PureDarkModifyCategory.module.css +0 -13
  310. package/assets/Appearance/pureDark/themes/yellow/yellow_DotCTA_PureDarkModifyCategory.module.css +0 -13
  311. package/css_error.log +0 -1
  312. package/images/audio_thumbnail.png +0 -0
  313. package/install.md +0 -12
  314. package/postPublish.js +0 -8
  315. package/prePublish.js +0 -70
  316. package/propValidationArg.json +0 -12
  317. package/react-cli.config.js +0 -24
  318. package/result.json +0 -1
  319. package/unittest/index.html +0 -45
@@ -0,0 +1,67 @@
1
+ import React from 'react';
2
+ import { Timer_propTypes } from "./propTypes/propTypes";
3
+ import { Timer_defaultProps } from "./propTypes/defaultProps";
4
+ import { Container } from '@zohodesk/components/lib/Layout';
5
+ import { addLeadingZeros } from "../utils/utils";
6
+ import style from "./Timer.module.css";
7
+ export default class Timer extends React.Component {
8
+ constructor(props) {
9
+ super(props);
10
+ this.constructTimer = this.constructTimer.bind(this);
11
+ }
12
+
13
+ constructTimer() {
14
+ let {
15
+ hour,
16
+ minute,
17
+ second,
18
+ amPm,
19
+ separator,
20
+ timerFormat,
21
+ needCharacter
22
+ } = this.props;
23
+ const timeSeparator = separator == 'space' ? ' ' : ':';
24
+ let timerValue = '';
25
+ const format = timerFormat.toLowerCase().split(':');
26
+ hour = addLeadingZeros(hour);
27
+ minute = addLeadingZeros(minute);
28
+ second = addLeadingZeros(second);
29
+
30
+ if (needCharacter) {
31
+ hour = `${hour}h`;
32
+ minute = `${minute}m`;
33
+ second = `${second}s`;
34
+ }
35
+
36
+ format.map(type => {
37
+ if (type == 'hh') {
38
+ timerValue += hour;
39
+ } else if (type == 'mm') {
40
+ timerValue += minute;
41
+ } else if (type == 'ss') {
42
+ timerValue += second;
43
+ }
44
+
45
+ timerValue += timeSeparator;
46
+ });
47
+ timerValue = timerValue.slice(0, -1);
48
+ amPm && (timerValue = `${timerValue} ${amPm}`);
49
+ return timerValue;
50
+ }
51
+
52
+ render() {
53
+ const {
54
+ dataId
55
+ } = this.props;
56
+ const timerValue = this.constructTimer();
57
+ return /*#__PURE__*/React.createElement(Container, {
58
+ dataId: dataId,
59
+ alignBox: "row",
60
+ className: style.container,
61
+ flexible: true
62
+ }, timerValue);
63
+ }
64
+
65
+ }
66
+ Timer.defaultProps = Timer_defaultProps;
67
+ Timer.propTypes = Timer_propTypes;
@@ -0,0 +1,5 @@
1
+ .container {
2
+ font-size: var(--zd_font_size11) ;
3
+ color: var(--zdt_timer_default_text);
4
+ text-align: center;
5
+ }
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { render } from '@testing-library/react';
3
+ import Timer from "../Timer";
4
+ const defaultProps = {
5
+ dataId: 'CBTimer'
6
+ };
7
+ describe('Timer test Cases', () => {
8
+ // const {props,renderedDOM} = setup(Timer,Object.assign({},defaultProps))
9
+ // it('Should render Component',()=>{
10
+ // const component = TestUtils.scryRenderedComponentsWithTestid(renderedDOM,'CBTimer');
11
+ // expect(component.length).toBe(1);
12
+ // })
13
+ test('rendering the defult props', () => {
14
+ const {
15
+ asFragment
16
+ } = render( /*#__PURE__*/React.createElement(Timer, { ...defaultProps
17
+ }));
18
+ expect(asFragment()).toMatchSnapshot();
19
+ });
20
+ });
@@ -0,0 +1,14 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`Timer test Cases rendering the defult props 1`] = `
4
+ <DocumentFragment>
5
+ <div
6
+ class="container flex cover rowdir"
7
+ data-id="CBTimer"
8
+ data-selector-id="container"
9
+ data-test-id="CBTimer"
10
+ >
11
+ undefined:undefined
12
+ </div>
13
+ </DocumentFragment>
14
+ `;
@@ -0,0 +1,4 @@
1
+ export const Timer_defaultProps = {
2
+ separator: 'colon',
3
+ timerFormat: 'mm:ss'
4
+ };
@@ -0,0 +1,11 @@
1
+ import PropTypes from 'prop-types';
2
+ export const Timer_propTypes = {
3
+ dataId: PropTypes.string,
4
+ amPm: PropTypes.string,
5
+ hour: PropTypes.string,
6
+ minute: PropTypes.string,
7
+ needCharacter: PropTypes.bool,
8
+ second: PropTypes.string,
9
+ separator: PropTypes.oneOf(['space', 'colon']),
10
+ timerFormat: PropTypes.string
11
+ };
@@ -0,0 +1,44 @@
1
+ import React from 'react';
2
+ import { render } from '@testing-library/react';
3
+ import AudioPlayer from "../AudioPlayer"; // import TestUtils from 'react-dom/test-utils';
4
+
5
+ const defaultProps = {
6
+ togglePlayer: jest.fn(),
7
+ downloadFile: jest.fn(),
8
+ minute: '02',
9
+ second: '03',
10
+ durationInSec: '203',
11
+ src: "https://ypvnxx00-a.akamaihd.net/downloads/ringtones/files/mp3/yuvanringtone-44640.mp3"
12
+ };
13
+ describe('AudioPlayer Test Cases', () => {
14
+ // const { props,renderedDOM } = setup(
15
+ // AudioPlayer,Object.assign({},defaultProps));
16
+ test('rendering the defult props', () => {
17
+ const {
18
+ asFragment
19
+ } = render( /*#__PURE__*/React.createElement(AudioPlayer, { ...defaultProps
20
+ }));
21
+ expect(asFragment()).toMatchSnapshot();
22
+ }); // it('should render component', () => {
23
+ // let component = TestUtils.scryRenderedComponentsWithTestid(
24
+ // renderedDOM,
25
+ // 'AudioPlayer');
26
+ // expect(component.length).toBe(1);
27
+ // })
28
+ // it('should close player onclicking close',()=>{
29
+ // let component = TestUtils.scryRenderedComponentsWithTestid(
30
+ // renderedDOM,
31
+ // 'audioPlayerClose'
32
+ // )[0];
33
+ // TestUtils.Simulate.click(component);
34
+ // expect(props.togglePlayer).toHaveBeenCalled();
35
+ // })
36
+ // it('should download audio onclicking download',()=>{
37
+ // let component = TestUtils.scryRenderedComponentsWithTestid(
38
+ // renderedDOM,
39
+ // 'audioDownload'
40
+ // )[0];
41
+ // TestUtils.Simulate.click(component);
42
+ // expect(props.downloadFile).toHaveBeenCalled();
43
+ // })
44
+ });
@@ -0,0 +1,145 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`AudioPlayer Test Cases rendering the defult props 1`] = `
4
+ <DocumentFragment>
5
+ <div
6
+ class="flex coldir"
7
+ data-id="AudioRange"
8
+ data-selector-id="container"
9
+ data-test-id="AudioRange"
10
+ tabindex="0"
11
+ >
12
+ <div
13
+ class="container flex rowdir vCenter"
14
+ data-id="containerComponent"
15
+ data-selector-id="container"
16
+ data-test-id="containerComponent"
17
+ >
18
+ <audio
19
+ class="audioHid"
20
+ controls=""
21
+ preload="auto"
22
+ >
23
+ <source
24
+ src="https://ypvnxx00-a.akamaihd.net/downloads/ringtones/files/mp3/yuvanringtone-44640.mp3"
25
+ type="audio/mpeg"
26
+ />
27
+ </audio>
28
+ <div
29
+ class="rightBox downloadBox boxLeftRadius shrinkOff"
30
+ data-id="boxComponent"
31
+ data-selector-id="box"
32
+ data-test-id="boxComponent"
33
+ >
34
+ <div
35
+ class="disable flex cover coldir both"
36
+ data-id="AudioRange_playpause"
37
+ data-selector-id="container"
38
+ data-test-id="AudioRange_playpause"
39
+ data-title="Play"
40
+ >
41
+ <i
42
+ aria-hidden="true"
43
+ class="zd_font_icons basic icon-bcarr downloadIcon iconColor "
44
+ data-id="fontIcon"
45
+ data-selector-id="fontIcon"
46
+ data-test-id="fontIcon"
47
+ />
48
+ </div>
49
+ </div>
50
+ <div
51
+ class="timerBox shrinkOff"
52
+ data-id="boxComponent"
53
+ data-selector-id="box"
54
+ data-test-id="boxComponent"
55
+ >
56
+ <div
57
+ class="flex cover rowdir vCenter"
58
+ data-id="containerComponent"
59
+ data-selector-id="container"
60
+ data-test-id="containerComponent"
61
+ >
62
+ <div
63
+ class="container flex cover rowdir"
64
+ data-id="containerComponent"
65
+ data-selector-id="container"
66
+ data-test-id="containerComponent"
67
+ >
68
+ 00:00:00
69
+ </div>
70
+ </div>
71
+ </div>
72
+ <div
73
+ class="dragtag disable grow basis shrinkOff"
74
+ data-id="boxComponent"
75
+ data-selector-id="box"
76
+ data-test-id="boxComponent"
77
+ >
78
+ <div
79
+ class="audioRangeContainer flex cover coldir"
80
+ data-id="containerComponent"
81
+ data-selector-id="container"
82
+ data-test-id="containerComponent"
83
+ >
84
+ <span
85
+ class="loading"
86
+ />
87
+ <input
88
+ class="input"
89
+ data-id="AudioRange"
90
+ max="0"
91
+ min="0"
92
+ step="1"
93
+ type="range"
94
+ value="0"
95
+ />
96
+ </div>
97
+ </div>
98
+ <div
99
+ class="rightBox downloadBox shrinkOff"
100
+ data-id="boxComponent"
101
+ data-selector-id="box"
102
+ data-test-id="boxComponent"
103
+ >
104
+ <div
105
+ class="disable flex cover coldir both"
106
+ data-id="AudioRange_download"
107
+ data-selector-id="container"
108
+ data-test-id="AudioRange_download"
109
+ data-title="Download"
110
+ >
111
+ <i
112
+ aria-hidden="true"
113
+ class="zd_font_icons basic icon-download-new downloadIcon iconColor "
114
+ data-id="fontIcon"
115
+ data-selector-id="fontIcon"
116
+ data-test-id="fontIcon"
117
+ />
118
+ </div>
119
+ </div>
120
+ <div
121
+ class="closeBox boxRightRadius shrinkOff"
122
+ data-id="boxComponent"
123
+ data-selector-id="box"
124
+ data-test-id="boxComponent"
125
+ >
126
+ <div
127
+ class="disable flex cover coldir both"
128
+ data-id="AudioRange_close"
129
+ data-selector-id="container"
130
+ data-test-id="AudioRange_close"
131
+ data-title="Close"
132
+ >
133
+ <i
134
+ aria-hidden="true"
135
+ class="zd_font_icons basic icon-cross pauseIcon iconColor "
136
+ data-id="fontIcon"
137
+ data-selector-id="fontIcon"
138
+ data-test-id="fontIcon"
139
+ />
140
+ </div>
141
+ </div>
142
+ </div>
143
+ </div>
144
+ </DocumentFragment>
145
+ `;
@@ -0,0 +1,14 @@
1
+ export const AudioPlayer_defaultProps = {
2
+ isPlay: false,
3
+ timerFormat: 'mm:ss',
4
+ forwardStepInSec: 5,
5
+ backwardStepInSec: 5,
6
+ needClose: true,
7
+ needDownload: true,
8
+ needMuteIcon: false,
9
+ i18nKeys: {},
10
+ dataId: 'AudioPlayer',
11
+ customClass: '',
12
+ range: 0,
13
+ dataId: 'AudioRange'
14
+ };
@@ -0,0 +1,33 @@
1
+ import PropTypes from 'prop-types';
2
+ export const AudioPlayer_propTypes = {
3
+ backwardStepInSec: PropTypes.string,
4
+ forwardStepInSec: PropTypes.string,
5
+ getAudioDuration: PropTypes.func,
6
+ duration: PropTypes.string,
7
+ id: PropTypes.string,
8
+ isPlay: PropTypes.bool,
9
+ needClose: PropTypes.bool,
10
+ needDownload: PropTypes.bool,
11
+ needMuteIcon: PropTypes.bool,
12
+ onAudioLoading: PropTypes.func,
13
+ onAudioSeeking: PropTypes.func,
14
+ onClose: PropTypes.func,
15
+ onDownloading: PropTypes.func,
16
+ onError: PropTypes.func,
17
+ onMuteUnmute: PropTypes.func,
18
+ onPause: PropTypes.func,
19
+ onPlay: PropTypes.func,
20
+ src: PropTypes.string,
21
+ timerFormat: PropTypes.string,
22
+ i18nKeys: PropTypes.shape({
23
+ playTitle: PropTypes.string,
24
+ pauseTitle: PropTypes.string,
25
+ downloadTitle: PropTypes.string,
26
+ closeTitle: PropTypes.string,
27
+ muteTitle: PropTypes.string,
28
+ unmuteTitle: PropTypes.string
29
+ }),
30
+ dataId: PropTypes.string,
31
+ customClass: PropTypes.string,
32
+ range: PropTypes.number
33
+ };
@@ -0,0 +1,24 @@
1
+ export function openInNewTabWithNoopener(url) {
2
+ let targetnName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '_blank';
3
+ const aTag = document.createElement('a');
4
+ aTag.rel = 'noopener noreferrer';
5
+ aTag.target = targetnName;
6
+ aTag.href = url;
7
+ aTag.click();
8
+ }
9
+ export function addLeadingZeros(number) {
10
+ let desiredLength = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '2';
11
+
12
+ if (typeof number !== 'undefined') {
13
+ number = `${number}`;
14
+ desiredLength = Number(desiredLength);
15
+
16
+ if (number.length < desiredLength) {
17
+ for (let i = desiredLength - number.length; i > 0; i--) {
18
+ number = `0${number}`;
19
+ }
20
+ }
21
+
22
+ return number;
23
+ }
24
+ }
@@ -2,7 +2,7 @@ import React, { Component } from 'react';
2
2
  import { defaultProps } from "./props/defaultProps";
3
3
  import { propTypes } from "./props/propTypes";
4
4
  import { Icon } from '@zohodesk/icons';
5
- import Avatar from '@zohodesk/components/lib/Avatar/Avatar';
5
+ import Avatar from '@zohodesk/components/es/Avatar/Avatar';
6
6
  import AvatarIcon from "../avatar/AvatarIcon/AvatarIcon";
7
7
  import { getChannelMappingObj } from "../utils/ChannelIconMapping";
8
8
  import style from "./ChannelIcon.module.css";
@@ -2,15 +2,15 @@ import React from 'react';
2
2
  import { Header_defaultProps, Footer_defaultProps, Drawer_defaultProps } from "./props/defaultProps";
3
3
  import { Header_propTypes, Content_propTypes, Footer_propTypes, Drawer_propTypes } from "./props/propTypes";
4
4
  import FreezeLayer from "../FreezeLayer/FreezeLayer";
5
- import { Container, Box } from '@zohodesk/components/lib/Layout';
6
- import { Card, CardHeader, CardContent } from '@zohodesk/components/lib/Card';
5
+ import { Container, Box } from '@zohodesk/components/es/Layout';
6
+ import { Card, CardHeader, CardContent } from '@zohodesk/components/es/Card';
7
7
  import FormAction from "../FormAction/FormAction";
8
- import VelocityAnimationGroup from '@zohodesk/components/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup';
9
- import { ResponsiveSender, ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
10
- import Heading from '@zohodesk/components/lib/Heading/Heading';
8
+ import VelocityAnimationGroup from '@zohodesk/components/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup';
9
+ import { ResponsiveSender, ResponsiveReceiver } from '@zohodesk/components/es/Responsive/CustomResponsive';
10
+ import Heading from '@zohodesk/components/es/Heading/Heading';
11
11
  import IconButton from "../IconButton/IconButton";
12
12
  import { Icon } from '@zohodesk/icons';
13
- import { getZIndex } from '@zohodesk/components/lib/Provider/ZindexProvider';
13
+ import { getZIndex } from '@zohodesk/components/es/Provider/ZindexProvider';
14
14
  import style from "./Drawer.module.css";
15
15
  import FocusScope from '@zohodesk/a11y/es/FocusScope/FocusScope';
16
16
  export class Header extends React.Component {
@@ -3,10 +3,10 @@ import { defaultProps } from "./props/defaultProps";
3
3
  import { propTypes } from "./props/propTypes";
4
4
  import AvatarUser from "../avatar/AvatarUser/AvatarUser";
5
5
  import AvatarIcon from "../avatar/AvatarIcon/AvatarIcon";
6
- import CheckBox from '@zohodesk/components/lib/CheckBox/CheckBox';
7
- import { Container } from '@zohodesk/components/lib/Layout';
6
+ import CheckBox from '@zohodesk/components/es/CheckBox/CheckBox';
7
+ import { Container } from '@zohodesk/components/es/Layout';
8
8
  import ChannelIcon from "../ChannelIcon/ChannelIcon";
9
- import AvatarSize from '@zohodesk/components/lib/Provider/AvatarSize';
9
+ import AvatarSize from '@zohodesk/components/es/Provider/AvatarSize';
10
10
  import style from "./FlipCard.module.css";
11
11
  import { stopBubbling } from "../utils/General";
12
12
  export default class FlipCard extends Component {
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { defaultProps } from "./props/defaultProps";
3
3
  import { propTypes } from "./props/propTypes";
4
4
  import style from "./FormAction.module.css";
5
- import { Container, Box } from '@zohodesk/components/lib/Layout';
5
+ import { Container, Box } from '@zohodesk/components/es/Layout';
6
6
  export const LeftSide = props => {
7
7
  props.children;
8
8
  };
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import { defaultProps } from "./props/defaultProps";
3
3
  import { propTypes } from "./props/propTypes";
4
- import { Container } from '@zohodesk/components/lib/Layout';
4
+ import { Container } from '@zohodesk/components/es/Layout';
5
5
  import { mergeStyle } from '@zohodesk/utils';
6
- import VelocityAnimationGroup from '@zohodesk/components/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup';
7
- import { useZIndex } from '@zohodesk/components/lib/Provider/ZindexProvider';
6
+ import VelocityAnimationGroup from '@zohodesk/components/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup';
7
+ import { useZIndex } from '@zohodesk/components/es/Provider/ZindexProvider';
8
8
  import cssJSLogic from "./css/cssJSLogic";
9
9
  import useFreezeLayer from "../Hooks/useFreezeLayer";
10
10
  import style from "./css/FreezeLayer.module.css";
@@ -22,6 +22,12 @@ export default function useDragger(_ref) {
22
22
  y: 0
23
23
  });
24
24
  const draggable = useRef(false);
25
+ const dragStarted = useRef(false);
26
+ const initialMouse = useRef({
27
+ x: 0,
28
+ y: 0
29
+ });
30
+ const DRAG_DISTANCE_THRESHOLD = 4;
25
31
  useEffect(() => {
26
32
  if (isActive) {
27
33
  parentEle.current = ChildRef.current.closest('[data-drag-parent=true]') || getDotLibraryConfig('draggerBoundary') || document.body;
@@ -48,49 +54,62 @@ export default function useDragger(_ref) {
48
54
  e = e || window.event;
49
55
  e.preventDefault();
50
56
 
51
- if (draggable.current) {
52
- const left = offset.current.x + e.clientX;
53
- const top = offset.current.y + e.clientY;
54
- const {
55
- x,
56
- y
57
- } = calculateDragPosition(left, top);
58
- draggableEle.current.style.left = x + 'px';
59
- draggableEle.current.style.top = y + 'px';
57
+ if (!draggable.current) {
58
+ return;
59
+ }
60
+
61
+ if (!dragStarted.current) {
62
+ const dx = Math.abs(e.clientX - initialMouse.current.x);
63
+ const dy = Math.abs(e.clientY - initialMouse.current.y);
64
+
65
+ if (dx < DRAG_DISTANCE_THRESHOLD && dy < DRAG_DISTANCE_THRESHOLD) {
66
+ return;
67
+ }
68
+
69
+ const draggableEleRect = draggableEle.current.getBoundingClientRect();
70
+ const parentEleRect = parentEle ? parentEle.current.getBoundingClientRect() : {
71
+ left: 0,
72
+ top: 0
73
+ };
74
+ offset.current.x = draggableEleRect.left - e.clientX;
75
+ offset.current.y = draggableEleRect.top - e.clientY;
76
+ const relativeRect = {
77
+ left: draggableEleRect.left - parentEleRect.left,
78
+ top: draggableEleRect.top - parentEleRect.top
79
+ };
80
+ const styleRef = draggableEle.current.style;
81
+ styleRef.top = `${relativeRect.top}px`;
82
+ styleRef.left = `${relativeRect.left}px`;
83
+ styleRef.width = `${draggableEleRect.width}px`;
84
+ styleRef.position = "fixed";
85
+ styleRef.bottom = "initial";
86
+ styleRef.right = "initial";
87
+ dragStarted.current = true;
60
88
  }
89
+
90
+ const left = offset.current.x + e.clientX;
91
+ const top = offset.current.y + e.clientY;
92
+ const {
93
+ x,
94
+ y
95
+ } = calculateDragPosition(left, top);
96
+ draggableEle.current.style.left = `${x}px`;
97
+ draggableEle.current.style.top = `${y}px`;
61
98
  }, [calculateDragPosition]);
62
99
  const closeDragElement = useCallback(() => {
63
100
  document.removeEventListener('mouseup', closeDragElement);
64
101
  document.removeEventListener('mousemove', elementDrag);
102
+ dragStarted.current = false;
103
+ draggable.current = false;
65
104
  }, []);
66
105
  const dragMouseDown = useCallback(e => {
67
106
  e = e || window.event; // e.preventDefault();
68
107
 
69
- const draggableEleRect = draggableEle.current.getBoundingClientRect();
70
- const style = draggableEle.current.style;
71
- const {
72
- width
73
- } = draggableEleRect;
74
- const parentEleRect = parentEle ? parentEle.current.getBoundingClientRect() : {
75
- left: 0,
76
- top: 0
108
+ initialMouse.current = {
109
+ x: e.clientX,
110
+ y: e.clientY
77
111
  };
78
- const relativeRect = {
79
- left: draggableEleRect.left - parentEleRect.left,
80
- top: draggableEleRect.top - parentEleRect.top
81
- };
82
- const {
83
- top,
84
- left
85
- } = relativeRect;
86
- style.top = `${top}px`;
87
- style.left = `${left}px`;
88
- style.width = `${width}px`;
89
- style.bottom = 'initial';
90
- style.right = 'initial';
91
- style.position = 'fixed';
92
- offset.current.x = draggableEle.current.offsetLeft - e.clientX;
93
- offset.current.y = draggableEle.current.offsetTop - e.clientY;
112
+ dragStarted.current = false;
94
113
  draggable.current = true;
95
114
  document.addEventListener('mouseup', closeDragElement);
96
115
  document.addEventListener('mousemove', elementDrag);
@@ -2,9 +2,9 @@ import React from 'react';
2
2
  import { defaultProps } from "./props/defaultProps";
3
3
  import { propTypes } from "./props/propTypes";
4
4
  import { Icon } from '@zohodesk/icons';
5
- import { Container } from '@zohodesk/components/lib/Layout';
6
- import btnStyle from '@zohodesk/components/lib/semantic/Button/semanticButton.module.css';
7
- import RippleEffect from '@zohodesk/components/lib/RippleEffect/RippleEffect';
5
+ import { Container } from '@zohodesk/components/es/Layout';
6
+ import btnStyle from '@zohodesk/components/es/semantic/Button/semanticButton.module.css';
7
+ import RippleEffect from '@zohodesk/components/es/RippleEffect/RippleEffect';
8
8
  import style from "./IconButton.module.css";
9
9
  export default class IconButton extends React.Component {
10
10
  constructor(props) {
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { defaultProps } from "./props/defaultProps";
3
3
  import { propTypes } from "./props/propTypes";
4
- import { Container, Box } from '@zohodesk/components/lib/Layout';
4
+ import { Container, Box } from '@zohodesk/components/es/Layout';
5
5
  import { Icon } from '@zohodesk/icons';
6
6
  import style from "./ImportantNotes.module.css";
7
7
  export default class ImportantNotes extends React.Component {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { getZIndex } from '@zohodesk/components/lib/Provider/ZindexProvider';
2
+ import { getZIndex } from '@zohodesk/components/es/Provider/ZindexProvider';
3
3
  import style from "./Loader.module.css";
4
4
  export default class Loader extends React.Component {
5
5
  constructor(props) {
@@ -3,7 +3,7 @@ import { defaultProps } from "./props/defaultProps";
3
3
  import { propTypes } from "./props/propTypes";
4
4
  import Link from "../Link/Link";
5
5
  import { Icon } from '@zohodesk/icons';
6
- import { Container, Box } from '@zohodesk/components/lib/Layout';
6
+ import { Container, Box } from '@zohodesk/components/es/Layout';
7
7
  import style from "./MessageBanner.module.css";
8
8
  export default class MessageBanner extends React.Component {
9
9
  render() {
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { defaultProps } from "./props/defaultProps";
3
3
  import { propTypes } from "./props/propTypes";
4
4
  import { Icon } from '@zohodesk/icons';
5
- import { Container } from '@zohodesk/components/lib/Layout';
5
+ import { Container } from '@zohodesk/components/es/Layout';
6
6
  import style from "./NewStar.module.css";
7
7
  export default class NewStar extends React.Component {
8
8
  render() {
@@ -5,10 +5,10 @@ import { propTypes } from "./props/propTypes";
5
5
  import { defaultProps } from "./props/defaultProps";
6
6
  /**components**/
7
7
 
8
- import Icon from '@zohodesk/icons/lib/Icon';
8
+ import Icon from '@zohodesk/icons/es/Icon';
9
9
  import Flex from '@zohodesk/layout/es/Flex/Flex';
10
- import Button from '@zohodesk/components/lib/Button/Button';
11
- import Modal from '@zohodesk/components/lib/Modal/Modal';
10
+ import Button from '@zohodesk/components/es/Button/Button';
11
+ import Modal from '@zohodesk/components/es/Modal/Modal';
12
12
  import Ribbon from '@zohodesk/components/es/Ribbon/Ribbon';
13
13
  import Typography from '@zohodesk/components/es/Typography/Typography';
14
14
  import btnStyle from '@zohodesk/components/es/semantic/Button/semanticButton.module.css';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Container, Box } from '@zohodesk/components/lib/Layout';
2
+ import { Container, Box } from '@zohodesk/components/es/Layout';
3
3
  import { defaultProps } from "./props/defaultProps";
4
4
  import { propTypes } from "./props/propTypes";
5
5
  import style from "./Separator.module.css";