@zohodesk/dot 1.0.0-temp-212 → 1.0.0-temp-200.8

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 (645) hide show
  1. package/.cli/propValidation_report.html +1 -1
  2. package/README.md +39 -0
  3. package/es/ActionButton/ActionButton.js +3 -3
  4. package/es/ActionButton/__tests__/ActionButton.spec.js +9 -2
  5. package/es/AlphabeticList/AlphabeticList.js +3 -3
  6. package/es/AlphabeticList/__tests__/AlphabeticList.spec.js +1 -1
  7. package/es/Attachment/Attachment.js +4 -4
  8. package/es/Attachment/Attachment.module.css +7 -3
  9. package/es/Attachment/__tests__/Attachment.spec.js +1 -1
  10. package/es/AttachmentViewer/Attachment.js +50 -0
  11. package/es/AttachmentViewer/AttachmentImage.js +5 -5
  12. package/es/AttachmentViewer/AttachmentViewer.js +120 -34
  13. package/es/AttachmentViewer/AttachmentViewer.module.css +32 -9
  14. package/es/AttachmentViewer/__tests__/AttachmentImage.spec.js +1 -1
  15. package/es/AttachmentViewer/__tests__/AttachmentViewer.spec.js +9 -2
  16. package/es/AttachmentViewer/__tests__/__snapshots__/AttachmentViewer.spec.js.snap +3 -3
  17. package/es/AttachmentViewer/props/defaultProps.js +1 -1
  18. package/es/AttachmentViewer/props/propTypes.js +9 -1
  19. package/es/AttachmentViewer/utils.js +80 -13
  20. package/es/ChannelIcon/ChannelIcon.js +5 -5
  21. package/es/ChannelIcon/__tests__/ChannelIcon.spec.js +1 -1
  22. package/es/ChannelIcon/props/propTypes.js +1 -1
  23. package/es/DotProvider/DotProvider.js +2 -2
  24. package/es/DotProvider/__tests__/DotProvider.spec.js +51 -25
  25. package/es/DotProvider/__tests__/__snapshots__/DotProvider.spec.js.snap +170 -170
  26. package/es/DotProvider/hooks/useDotProvider.js +2 -2
  27. package/es/DotProvider/hooks/useDownloadAssetsAndSetAttr.js +4 -4
  28. package/es/DotProvider/libraryChunks/appearance/component/Dark_Component.js +1 -1
  29. package/es/DotProvider/libraryChunks/appearance/component/Light_Component.js +1 -1
  30. package/es/DotProvider/libraryChunks/appearance/component/PureDark_Component.js +1 -1
  31. package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +1 -1
  32. package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +1 -1
  33. package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +1 -1
  34. package/es/DotProvider/libraryChunks/themes/dot/green/Green_Dark_Dot.js +1 -1
  35. package/es/DotProvider/libraryChunks/themes/dot/green/Green_Light_Dot.js +1 -1
  36. package/es/DotProvider/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +1 -1
  37. package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +1 -1
  38. package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +1 -1
  39. package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +1 -1
  40. package/es/DotProvider/libraryChunks/themes/dot/red/Red_Dark_Dot.js +1 -1
  41. package/es/DotProvider/libraryChunks/themes/dot/red/Red_Light_Dot.js +1 -1
  42. package/es/DotProvider/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +1 -1
  43. package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +1 -1
  44. package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +1 -1
  45. package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +1 -1
  46. package/es/DotProvider/props/propTypes.js +1 -1
  47. package/es/DotProvider/utils/themeAppearanceAssetsConfig.js +7 -7
  48. package/es/DotProvider/utils/themeColorAssetsConfig.js +46 -46
  49. package/es/Drawer/Drawer.js +14 -8
  50. package/es/Drawer/__tests__/Content.spec.js +1 -1
  51. package/es/Drawer/__tests__/Drawer.spec.js +9 -2
  52. package/es/Drawer/__tests__/Footer.spec.js +1 -1
  53. package/es/Drawer/__tests__/Header.spec.js +1 -1
  54. package/es/Drawer/__tests__/__snapshots__/Header.spec.js.snap +4 -4
  55. package/es/Drawer/index.js +1 -1
  56. package/es/Drawer/props/propTypes.js +4 -1
  57. package/es/ExternalLink/ExternalLink.js +3 -3
  58. package/es/ExternalLink/__tests__/ExternalLink.spec.js +1 -1
  59. package/es/FlipCard/FlipCard.js +7 -7
  60. package/es/FlipCard/__tests__/FlipCard.spec.js +1 -1
  61. package/es/FlipCard/__tests__/__snapshots__/FlipCard.spec.js.snap +6 -6
  62. package/es/FormAction/FormAction.js +3 -3
  63. package/es/FormAction/__tests__/FormAction.spec.js +1 -1
  64. package/es/FreezeLayer/FreezeLayer.js +13 -7
  65. package/es/FreezeLayer/__tests__/FreezeLayer.spec.js +1 -1
  66. package/es/FreezeLayer/index.js +2 -2
  67. package/es/FreezeLayer/props/propTypes.js +4 -1
  68. package/es/Hooks/Dragger/useDragger.js +7 -5
  69. package/es/Hooks/useFreezeLayer.js +1 -1
  70. package/es/IconButton/IconButton.js +4 -4
  71. package/es/IconButton/IconButton.module.css +3 -0
  72. package/es/IconButton/__tests__/IconButton.spec.js +1 -1
  73. package/es/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +1 -1
  74. package/es/Image/Image.js +3 -3
  75. package/es/Image/__tests__/Image.spec.js +1 -1
  76. package/es/ImportantNotes/ImportantNotes.js +3 -3
  77. package/es/ImportantNotes/__tests__/ImportantNotes.spec.js +1 -1
  78. package/es/Link/Link.js +4 -4
  79. package/es/Link/__tests__/Link.spec.js +2 -2
  80. package/es/Loader/Loader.js +1 -1
  81. package/es/Loader/__tests__/Loader.spec.js +1 -1
  82. package/es/Message/Message.js +4 -4
  83. package/es/Message/__tests__/Message.spec.js +1 -1
  84. package/es/Message/props/propTypes.js +1 -1
  85. package/es/MessageBanner/MessageBanner.js +4 -4
  86. package/es/MessageBanner/__tests__/MessageBanner.spec.js +1 -1
  87. package/es/NewStar/NewStar.js +3 -3
  88. package/es/NewStar/__tests__/NewStar.spec.js +1 -1
  89. package/es/Onboarding/CarouselDots/CarouselDot/CarouselDot.js +3 -3
  90. package/es/Onboarding/CarouselDots/CarouselDot/__tests__/CarouselDot.spec.js +1 -1
  91. package/es/Onboarding/CarouselDots/CarouselDot/css/CarouselDot.module.css +5 -14
  92. package/es/Onboarding/CarouselDots/CarouselDots.js +4 -4
  93. package/es/Onboarding/CarouselDots/__tests__/CarouselDots.spec.js +1 -1
  94. package/es/Onboarding/Onboarding.js +49 -19
  95. package/es/Onboarding/__tests__/Onboarding.spec.js +53 -2
  96. package/es/Onboarding/__tests__/__snapshots__/Onboarding.spec.js.snap +597 -93
  97. package/es/Onboarding/css/Onboarding.module.css +20 -2
  98. package/es/Onboarding/hooks/useOnboarding.js +14 -1
  99. package/es/Onboarding/hooks/useOnboardingSlider.js +11 -4
  100. package/es/Onboarding/props/defaultProps.js +12 -1
  101. package/es/Onboarding/props/propTypes.js +13 -2
  102. package/es/PlusIcon/PlusIcon.js +4 -4
  103. package/es/PlusIcon/__tests__/PlusIcon.spec.js +1 -1
  104. package/es/PlusIcon/__tests__/__snapshots__/PlusIcon.spec.js.snap +13 -13
  105. package/es/PlusIcon/props/propTypes.js +1 -1
  106. package/es/Separator/Separator.js +3 -3
  107. package/es/Separator/__tests__/Separator.spec.js +1 -1
  108. package/es/TagWithIcon/TagWithIcon.js +3 -3
  109. package/es/TagWithIcon/__tests__/TagWithIcon.spec.js +1 -1
  110. package/es/ToastMessage/ToastMessage.js +4 -4
  111. package/es/ToastMessage/__tests__/ToastMessage.spec.js +1 -1
  112. package/es/Upload/Upload.js +4 -4
  113. package/es/Upload/__tests__/Upload.spec.js +1 -1
  114. package/es/VideoLookup/VideoLookup.js +4 -4
  115. package/es/VideoLookup/__tests__/VideoLookup.spec.js +9 -2
  116. package/es/actions/AutoClose.js +2 -2
  117. package/es/alert/AlertHeader/AlertHeader.js +5 -5
  118. package/es/alert/AlertHeader/__tests__/AlertHeader.spec.js +1 -1
  119. package/es/alert/AlertHeader/__tests__/__snapshots__/AlertHeader.spec.js.snap +1 -1
  120. package/es/alert/AlertLookup/AlertLookup.js +7 -7
  121. package/es/alert/AlertLookup/__tests__/AlertLookup.spec.js +1 -1
  122. package/es/alert/index.js +2 -2
  123. package/es/avatar/AvatarClose/AvatarClose.js +3 -3
  124. package/es/avatar/AvatarClose/__tests__/AvatarClose.spec.js +1 -1
  125. package/es/avatar/AvatarCollision/AvatarCollision.js +3 -3
  126. package/es/avatar/AvatarCollision/__tests__/AvatarCollision.spec.js +1 -1
  127. package/es/avatar/AvatarIcon/AvatarIcon.js +5 -5
  128. package/es/avatar/AvatarIcon/AvatarIcon.module.css +3 -0
  129. package/es/avatar/AvatarIcon/__tests__/AvatarIcon.spec.js +1 -1
  130. package/es/avatar/AvatarIcon/__tests__/__snapshots__/AvatarIcon.spec.js.snap +1 -1
  131. package/es/avatar/AvatarStatus/AvatarStatus.js +3 -3
  132. package/es/avatar/AvatarStatus/__tests__/AvatarStatus.spec.js +1 -1
  133. package/es/avatar/AvatarThread/AvatarThread.js +3 -3
  134. package/es/avatar/AvatarThread/__tests__/AvatarThread.spec.js +1 -1
  135. package/es/avatar/AvatarUser/AvatarUser.js +4 -4
  136. package/es/avatar/AvatarUser/__tests__/AvatarUser.spec.js +1 -1
  137. package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
  138. package/es/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +1 -1
  139. package/es/avatar/index.js +7 -7
  140. package/es/deprecated/FreezeLayer/FreezeLayer.js +4 -4
  141. package/es/deprecated/SelectDropdown/SelectDropdown.js +1 -1
  142. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +34 -11
  143. package/es/dropdown/ToggleDropDown/__tests__/ToggleDropDown.spec.js +1 -1
  144. package/es/dropdown/ToggleDropDown/props/defaultProps.js +2 -1
  145. package/es/dropdown/ToggleDropDown/props/propTypes.js +2 -1
  146. package/es/emptystate/CommonEmptyState/CommonEmptyState.js +4 -4
  147. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +4 -5
  148. package/es/emptystate/CommonEmptyState/__tests__/CommonEmptyState.spec.js +1 -1
  149. package/es/emptystate/EditionPage/EditionPage.js +3 -3
  150. package/es/emptystate/EditionPage/__tests__/EditionPage.spec.js +1 -1
  151. package/es/errorstate/Inconvenience/Inconvenience.js +5 -5
  152. package/es/errorstate/Inconvenience/__tests__/Inconvenience.spec.js +1 -1
  153. package/es/errorstate/LinkText/LinkText.js +4 -4
  154. package/es/errorstate/LinkText/__tests__/LinkText.spec.js +1 -1
  155. package/es/errorstate/NoRequestFound/NoRequestFound.js +5 -5
  156. package/es/errorstate/NoRequestFound/__tests__/NoRequestFound.spec.js +1 -1
  157. package/es/errorstate/PermissionPlay/PermissionPlay.js +5 -5
  158. package/es/errorstate/PermissionPlay/__tests__/PermissionPlay.spec.js +1 -1
  159. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +5 -5
  160. package/es/errorstate/RequestUrlNotFound/__tests__/RequestUrlNotFound.spec.js +1 -1
  161. package/es/errorstate/UnableToProcess/UnableToProcess.js +5 -5
  162. package/es/errorstate/UnableToProcess/__tests__/UnableToProcess.spec.js +1 -1
  163. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +5 -5
  164. package/es/errorstate/UnauthorizedLogin/__tests__/UnauthorizedLogin.spec.js +1 -1
  165. package/es/errorstate/WillBack/WillBack.js +4 -4
  166. package/es/errorstate/WillBack/__tests__/WillBack.spec.js +1 -1
  167. package/es/errorstate/index.js +8 -8
  168. package/es/form/fields/CheckBoxField/CheckBoxField.js +5 -5
  169. package/es/form/fields/CheckBoxField/__tests__/CheckBoxField.spec.js +1 -1
  170. package/es/form/fields/CheckBoxField/props/defaultProps.js +1 -1
  171. package/es/form/fields/CheckBoxField/props/propTypes.js +1 -1
  172. package/es/form/fields/CurrencyField/CurrencyField.js +5 -5
  173. package/es/form/fields/CurrencyField/__tests__/CurrencyField.spec.js +1 -1
  174. package/es/form/fields/CurrencyField/props/defaultProps.js +1 -1
  175. package/es/form/fields/CurrencyField/props/propTypes.js +1 -1
  176. package/es/form/fields/DateField/DateField.js +5 -5
  177. package/es/form/fields/DateField/__tests__/DateField.spec.js +1 -1
  178. package/es/form/fields/DateField/props/defaultProps.js +1 -1
  179. package/es/form/fields/DateField/props/propTypes.js +1 -1
  180. package/es/form/fields/FieldContainer/FieldContainer.js +3 -3
  181. package/es/form/fields/FieldContainer/__tests__/FieldContainer.spec.js +1 -1
  182. package/es/form/fields/FieldContainer/props/defaultProps.js +1 -1
  183. package/es/form/fields/MultiSelectField/MultiSelectField.js +5 -5
  184. package/es/form/fields/MultiSelectField/__tests__/MultiSelectField.spec.js +1 -1
  185. package/es/form/fields/MultiSelectField/props/defaultProps.js +1 -1
  186. package/es/form/fields/MultiSelectField/props/propTypes.js +1 -1
  187. package/es/form/fields/PhoneField/PhoneField.js +6 -6
  188. package/es/form/fields/PhoneField/__tests__/PhoneField.spec.js +1 -1
  189. package/es/form/fields/RadioField/RadioField.js +4 -4
  190. package/es/form/fields/RadioField/__tests__/RadioField.spec.js +1 -1
  191. package/es/form/fields/SelectField/SelectField.js +5 -5
  192. package/es/form/fields/SelectField/__tests__/SelectField.spec.js +1 -1
  193. package/es/form/fields/SelectField/props/defaultProps.js +1 -1
  194. package/es/form/fields/SelectField/props/propTypes.js +1 -1
  195. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -5
  196. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +4 -0
  197. package/es/form/fields/TagsMultiSelect/__tests__/TagsMultiSelect.spec.js +1 -1
  198. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +7 -7
  199. package/es/form/fields/TagsMultiSelectField/__tests__/TagsMultiSelectField.spec.js +1 -1
  200. package/es/form/fields/TagsMultiSelectField/props/defaultProps.js +1 -1
  201. package/es/form/fields/TagsMultiSelectField/props/propTypes.js +1 -1
  202. package/es/form/fields/TextBoxField/TextBoxField.js +5 -5
  203. package/es/form/fields/TextBoxField/__tests__/TextBoxField.spec.js +1 -1
  204. package/es/form/fields/TextBoxField/props/defaultProps.js +1 -1
  205. package/es/form/fields/TextBoxField/props/propTypes.js +1 -1
  206. package/es/form/fields/TextEditor/TextEditor.js +4 -4
  207. package/es/form/fields/TextEditor/__tests__/TextEditor.spec.js +1 -1
  208. package/es/form/fields/TextEditorField/TextEditorField.js +6 -6
  209. package/es/form/fields/TextEditorField/__tests__/TextEditorField.spec.js +1 -1
  210. package/es/form/fields/TextEditorField/props/defaultProps.js +1 -1
  211. package/es/form/fields/TextEditorField/props/propTypes.js +1 -1
  212. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +5 -5
  213. package/es/form/fields/TextEditorWrapper/__tests__/TextEditorWrapper.spec.js +1 -1
  214. package/es/form/fields/TextareaField/TextareaField.js +5 -5
  215. package/es/form/fields/TextareaField/__tests__/TextareaField.spec.js +1 -1
  216. package/es/form/fields/TextareaField/props/defaultProps.js +1 -1
  217. package/es/form/fields/TextareaField/props/propTypes.js +1 -1
  218. package/es/form/fields/ValidationMessage/ValidationMessage.js +3 -3
  219. package/es/form/fields/ValidationMessage/__tests__/ValidationMessage.spec.js +1 -1
  220. package/es/form/fields/index.js +16 -16
  221. package/es/form/layout/Field/Field.js +3 -3
  222. package/es/form/layout/Field/__tests__/Field.spec.js +1 -1
  223. package/es/form/layout/Section/Section.js +2 -2
  224. package/es/form/layout/Section/__tests__/Section.spec.js +1 -1
  225. package/es/form/layout/index.js +2 -2
  226. package/es/index.js +40 -40
  227. package/es/layout/SetupDetailLayout/SetupDetailLayout.js +3 -3
  228. package/es/layout/SetupDetailLayout/__tests__/SetupDetailLayout.spec.js +1 -1
  229. package/es/layout/SetupDetailLayout/index.js +4 -4
  230. package/es/layout/SubtabLayout/SubtabLayout.js +4 -4
  231. package/es/layout/SubtabLayout/__tests__/SubtabLayout.spec.js +1 -1
  232. package/es/layout/SubtabLayout/index.js +4 -4
  233. package/es/list/AvatarFlip/AvatarFlip.js +4 -4
  234. package/es/list/AvatarFlip/__tests__/AvatarFlip.spec.js +1 -1
  235. package/es/list/BluePrintStatus/BluePrintStatus.js +2 -2
  236. package/es/list/BluePrintStatus/__tests__/BluePrintStatus.spec.js +1 -1
  237. package/es/list/Comment/Comment.js +3 -3
  238. package/es/list/Comment/__tests__/Comment.spec.js +1 -1
  239. package/es/list/DepartmentDropDown/DepartmentDropDown.js +5 -5
  240. package/es/list/DepartmentDropDown/__tests__/DepartmentDropDown.spec.js +1 -1
  241. package/es/list/Dot/Dot.js +3 -3
  242. package/es/list/Dot/__tests__/Dot.spec.js +1 -1
  243. package/es/list/DotNew/DotNew.js +3 -3
  244. package/es/list/DotNew/__tests__/DotNew.spec.js +1 -1
  245. package/es/list/GridStencils/GridStencils.js +2 -2
  246. package/es/list/GridStencils/__tests__/GridStencils.spec.js +1 -1
  247. package/es/list/Icons/AddNewIcon.js +2 -2
  248. package/es/list/Icons/CompleteIcon.js +2 -2
  249. package/es/list/Icons/DeleteIcon.js +2 -2
  250. package/es/list/Icons/EditIcon.js +2 -2
  251. package/es/list/Icons/FloatingIcons.js +3 -3
  252. package/es/list/Icons/ReadUnreadIcon.js +3 -3
  253. package/es/list/Icons/SmartIcon.js +2 -2
  254. package/es/list/Icons/__tests__/AddNewIcon.spec.js +1 -1
  255. package/es/list/Icons/__tests__/CompleteIcon.spec.js +1 -1
  256. package/es/list/Icons/__tests__/DeleteIcon.spec.js +1 -1
  257. package/es/list/Icons/__tests__/EditIcon.spec.js +1 -1
  258. package/es/list/Icons/__tests__/FloatingIcons.spec.js +1 -1
  259. package/es/list/Icons/__tests__/ReadUnreadIcon.spec.js +1 -1
  260. package/es/list/Icons/__tests__/SmartIcon.spec.js +1 -1
  261. package/es/list/Icons/index.js +7 -7
  262. package/es/list/ListLayout/ListLayout.js +3 -3
  263. package/es/list/ListLayout/__tests__/ListLayout.spec.js +1 -1
  264. package/es/list/ListStencils/ListStencils.js +3 -3
  265. package/es/list/ListStencils/__tests__/ListStencils.spec.js +1 -1
  266. package/es/list/ListStencils/__tests__/__snapshots__/ListStencils.spec.js.snap +6 -6
  267. package/es/list/SecondaryText/AccountName.js +4 -4
  268. package/es/list/SecondaryText/ContactName.js +5 -5
  269. package/es/list/SecondaryText/DepartmentText.js +2 -2
  270. package/es/list/SecondaryText/Email.js +4 -4
  271. package/es/list/SecondaryText/HappinessRating.js +2 -2
  272. package/es/list/SecondaryText/PhoneNumber.js +4 -4
  273. package/es/list/SecondaryText/PriorityText.js +3 -3
  274. package/es/list/SecondaryText/SecondaryText.js +3 -3
  275. package/es/list/SecondaryText/StatusText.js +3 -3
  276. package/es/list/SecondaryText/TicketId.js +4 -4
  277. package/es/list/SecondaryText/Website.js +4 -4
  278. package/es/list/SecondaryText/__tests__/AccountName.spec.js +1 -1
  279. package/es/list/SecondaryText/__tests__/ContactName.spec.js +1 -1
  280. package/es/list/SecondaryText/__tests__/DepartmentText.spec.js +1 -1
  281. package/es/list/SecondaryText/__tests__/Email.spec.js +1 -1
  282. package/es/list/SecondaryText/__tests__/HappinessRating.spec.js +1 -1
  283. package/es/list/SecondaryText/__tests__/PhoneNumber.spec.js +1 -1
  284. package/es/list/SecondaryText/__tests__/PriorityText.spec.js +1 -1
  285. package/es/list/SecondaryText/__tests__/SecondaryText.spec.js +1 -1
  286. package/es/list/SecondaryText/__tests__/StatusText.spec.js +1 -1
  287. package/es/list/SecondaryText/__tests__/TicketId.spec.js +1 -1
  288. package/es/list/SecondaryText/__tests__/Website.spec.js +1 -1
  289. package/es/list/SecondaryText/index.js +11 -11
  290. package/es/list/SecondryPanel/SecondryPanel.js +4 -4
  291. package/es/list/SecondryPanel/__tests__/SecondryPanel.spec.js +1 -1
  292. package/es/list/SentimentStatus/SentimentStatus.js +2 -2
  293. package/es/list/SentimentStatus/__tests__/SentimentStatus.spec.js +1 -1
  294. package/es/list/Subject/Subject.js +4 -4
  295. package/es/list/Subject/__tests__/Subject.spec.js +1 -1
  296. package/es/list/TagNew/TagNew.js +3 -3
  297. package/es/list/TagNew/__tests__/TagNew.spec.js +1 -1
  298. package/es/list/Thread/Thread.js +3 -3
  299. package/es/list/Thread/__tests__/Thread.spec.js +1 -1
  300. package/es/list/index.js +16 -16
  301. package/es/list/status/StatusDropdown/StatusDropdown.js +5 -5
  302. package/es/list/status/StatusDropdown/__tests__/StatusDropdown.spec.js +1 -1
  303. package/es/list/status/StatusListItem/StatusListItem.js +3 -3
  304. package/es/list/status/StatusListItem/__tests__/StatusListItem.spec.js +1 -1
  305. package/es/list/status/index.js +2 -2
  306. package/es/lookup/EmptyPage/EmptyPage.js +3 -3
  307. package/es/lookup/EmptyPage/__tests__/EmptyPage.spec.js +1 -1
  308. package/es/lookup/Lookup/Lookup.js +4 -4
  309. package/es/lookup/Lookup/__tests__/Lookup.spec.js +1 -1
  310. package/es/lookup/Section/Section.js +2 -2
  311. package/es/lookup/Section/__tests__/Section.spec.js +1 -1
  312. package/es/lookup/header/Close/Close.js +3 -3
  313. package/es/lookup/header/Close/__tests__/Close.spec.js +1 -1
  314. package/es/lookup/header/Close/__tests__/__snapshots__/Close.spec.js.snap +1 -1
  315. package/es/lookup/header/ModuleHeader/ModuleHeader.js +8 -8
  316. package/es/lookup/header/ModuleHeader/__tests__/ModuleHeader.spec.js +1 -1
  317. package/es/lookup/header/Search/Search.js +4 -4
  318. package/es/lookup/header/Search/__tests__/Search.spec.js +1 -1
  319. package/es/lookup/header/TicketHeader/TicketHeader.js +10 -10
  320. package/es/lookup/header/TicketHeader/__tests__/TicketHeader.spec.js +1 -1
  321. package/es/lookup/header/TicketHeader/__tests__/__snapshots__/TicketHeader.spec.js.snap +1 -1
  322. package/es/lookup/header/Title/Title.js +3 -3
  323. package/es/lookup/header/Title/__tests__/Titles.spec.js +1 -1
  324. package/es/lookup/header/ViewDropDown/ViewDropDown.js +3 -3
  325. package/es/lookup/header/ViewDropDown/__test__/ViewDropDown.spec.js +1 -1
  326. package/es/lookup/header/index.js +5 -5
  327. package/es/lookup/index.js +4 -4
  328. package/es/setup/header/Button/Button.js +3 -3
  329. package/es/setup/header/Button/__tests__/Button.spec.js +1 -1
  330. package/es/setup/header/Link/Link.js +4 -4
  331. package/es/setup/header/Link/__tests__/Link.spec.js +1 -1
  332. package/es/setup/header/Search/Search.js +3 -3
  333. package/es/setup/header/Search/__tests__/Search.spec.js +1 -1
  334. package/es/setup/header/Views/Views.js +3 -3
  335. package/es/setup/header/Views/__tests__/Views.spec.js +1 -1
  336. package/es/setup/header/index.js +4 -4
  337. package/es/setup/helptips/Description/Description.js +2 -2
  338. package/es/setup/helptips/Description/__tests__/Description.spec.js +1 -1
  339. package/es/setup/helptips/Link/Link.js +3 -3
  340. package/es/setup/helptips/Link/__tests__/Link.spec.js +1 -1
  341. package/es/setup/helptips/ListGroup/ListGroup.js +2 -2
  342. package/es/setup/helptips/ListGroup/__tests__/ListGroup.spec.js +1 -1
  343. package/es/setup/helptips/Title/Title.js +2 -2
  344. package/es/setup/helptips/Title/__tests__/Title.spec.js +1 -1
  345. package/es/setup/helptips/index.js +4 -4
  346. package/es/setup/index.js +3 -3
  347. package/es/setup/table/Table/Table.js +2 -2
  348. package/es/setup/table/Table/__tests__/Table.spec.js +1 -1
  349. package/es/setup/table/TableBody/TableBody.js +2 -2
  350. package/es/setup/table/TableBody/__tests__/TableBody.spec.js +1 -1
  351. package/es/setup/table/TableData/TableData.js +3 -3
  352. package/es/setup/table/TableData/__tests__/TableData.spec.js +1 -1
  353. package/es/setup/table/TableHead/TableHead.js +3 -3
  354. package/es/setup/table/TableHead/__tests__/TableHead.spec.js +1 -1
  355. package/es/setup/table/TableRow/TableRow.js +3 -3
  356. package/es/setup/table/TableRow/__tests__/TableRow.spec.js +1 -1
  357. package/es/setup/table/Text/Text.js +4 -4
  358. package/es/setup/table/Text/__tests__/Text.spec.js +1 -1
  359. package/es/setup/table/index.js +5 -5
  360. package/es/svg/PlusIcon.js +2 -2
  361. package/es/svg/SnippetIcon.js +2 -2
  362. package/es/svg/TemplateIcon.js +2 -2
  363. package/es/svg/__tests__/PlusIcon.spec.js +1 -1
  364. package/es/svg/__tests__/SnippetIcon.spec.js +1 -1
  365. package/es/svg/__tests__/TemplateIcon.spec.js +1 -1
  366. package/es/svg/index.js +3 -3
  367. package/es/utils/General.js +23 -1
  368. package/es/v1/ActionButton/ActionButton.js +3 -3
  369. package/es/v1/AlphabeticList/AlphabeticList.js +3 -3
  370. package/es/v1/Attachment/Attachment.js +4 -4
  371. package/es/v1/AttachmentViewer/AttachmentImage.js +5 -5
  372. package/es/v1/AttachmentViewer/AttachmentViewer.js +11 -11
  373. package/es/v1/ChannelIcon/ChannelIcon.js +5 -5
  374. package/es/v1/Drawer/Drawer.js +6 -6
  375. package/es/v1/ExternalLink/ExternalLink.js +3 -3
  376. package/es/v1/FlipCard/FlipCard.js +7 -7
  377. package/es/v1/FormAction/FormAction.js +3 -3
  378. package/es/v1/FreezeLayer/FreezeLayer.js +5 -5
  379. package/es/v1/GlobalNotification/GlobalNotification.js +6 -6
  380. package/es/v1/IconButton/IconButton.js +3 -3
  381. package/es/v1/Image/Image.js +3 -3
  382. package/es/v1/ImportantNotes/ImportantNotes.js +3 -3
  383. package/es/v1/Link/Link.js +4 -4
  384. package/es/v1/Loader/Loader.js +1 -1
  385. package/es/v1/Message/Message.js +4 -4
  386. package/es/v1/Message/props/propTypes.js +1 -1
  387. package/es/v1/MessageBanner/MessageBanner.js +4 -4
  388. package/es/v1/NewStar/NewStar.js +3 -3
  389. package/es/v1/PlusIcon/PlusIcon.js +4 -4
  390. package/es/v1/Separator/Separator.js +3 -3
  391. package/es/v1/TagWithIcon/TagWithIcon.js +3 -3
  392. package/es/v1/ToastMessage/ToastMessage.js +4 -4
  393. package/es/v1/Upload/Upload.js +4 -4
  394. package/es/v1/actions/AutoClose.js +2 -2
  395. package/es/v1/alert/AlertClose/AlertClose.js +2 -2
  396. package/es/v1/alert/AlertHeader/AlertHeader.js +7 -7
  397. package/es/v1/alert/AlertLookup/AlertLookup.js +7 -7
  398. package/es/v1/alert/alertIcons/AlarmAlertIcon.js +3 -3
  399. package/es/v1/alert/alertIcons/AlertIcons.js +9 -9
  400. package/es/v1/alert/alertIcons/DangerAlertIcon.js +3 -3
  401. package/es/v1/alert/alertIcons/ErrorAlertIcon.js +3 -3
  402. package/es/v1/alert/alertIcons/InfoAlertIcon.js +3 -3
  403. package/es/v1/alert/alertIcons/NotificationAlertIcon.js +3 -3
  404. package/es/v1/alert/alertIcons/SuccessAlertIcon.js +3 -3
  405. package/es/v1/alert/alertIcons/WarningAlertIcon.js +3 -3
  406. package/es/v1/alert/alertIcons/index.js +8 -8
  407. package/es/v1/alert/index.js +2 -2
  408. package/es/v1/avatar/AvatarClose/AvatarClose.js +3 -3
  409. package/es/v1/avatar/AvatarCollision/AvatarCollision.js +3 -3
  410. package/es/v1/avatar/AvatarIcon/AvatarIcon.js +3 -3
  411. package/es/v1/avatar/AvatarStatus/AvatarStatus.js +3 -3
  412. package/es/v1/avatar/AvatarThread/AvatarThread.js +3 -3
  413. package/es/v1/avatar/AvatarUser/AvatarUser.js +4 -4
  414. package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
  415. package/es/v1/avatar/index.js +7 -7
  416. package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +4 -4
  417. package/es/v1/emptystate/CommonEmptyState/CommonEmptyState.js +4 -4
  418. package/es/v1/emptystate/EditionPage/EditionPage.js +3 -3
  419. package/es/v1/errorstate/Inconvenience/Inconvenience.js +4 -4
  420. package/es/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +4 -4
  421. package/es/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +4 -4
  422. package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +4 -4
  423. package/es/v1/errorstate/UrlNotFound/UrlNotFound.js +4 -4
  424. package/es/v1/errorstate/WillBeRightBack/WillBeRightBack.js +4 -4
  425. package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +5 -5
  426. package/es/v1/form/fields/CheckBoxField/props/defaultProps.js +1 -1
  427. package/es/v1/form/fields/CheckBoxField/props/propTypes.js +1 -1
  428. package/es/v1/form/fields/CurrencyField/CurrencyField.js +5 -5
  429. package/es/v1/form/fields/CurrencyField/props/defaultProps.js +1 -1
  430. package/es/v1/form/fields/CurrencyField/props/propTypes.js +1 -1
  431. package/es/v1/form/fields/DateField/DateField.js +5 -5
  432. package/es/v1/form/fields/DateField/props/defaultProps.js +1 -1
  433. package/es/v1/form/fields/DateField/props/propTypes.js +1 -1
  434. package/es/v1/form/fields/FieldContainer/FieldContainer.js +3 -3
  435. package/es/v1/form/fields/FieldContainer/props/defaultProps.js +1 -1
  436. package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +5 -5
  437. package/es/v1/form/fields/MultiSelectField/props/defaultProps.js +1 -1
  438. package/es/v1/form/fields/MultiSelectField/props/propTypes.js +1 -1
  439. package/es/v1/form/fields/PhoneField/PhoneField.js +6 -6
  440. package/es/v1/form/fields/RadioField/RadioField.js +5 -5
  441. package/es/v1/form/fields/SelectField/SelectField.js +5 -5
  442. package/es/v1/form/fields/SelectField/props/defaultProps.js +1 -1
  443. package/es/v1/form/fields/SelectField/props/propTypes.js +1 -1
  444. package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -5
  445. package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +7 -7
  446. package/es/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +1 -1
  447. package/es/v1/form/fields/TagsMultiSelectField/props/propTypes.js +1 -1
  448. package/es/v1/form/fields/TextBoxField/TextBoxField.js +5 -5
  449. package/es/v1/form/fields/TextBoxField/props/defaultProps.js +1 -1
  450. package/es/v1/form/fields/TextBoxField/props/propTypes.js +1 -1
  451. package/es/v1/form/fields/TextEditor/TextEditor.js +4 -4
  452. package/es/v1/form/fields/TextEditorField/TextEditorField.js +6 -6
  453. package/es/v1/form/fields/TextEditorField/props/defaultProps.js +1 -1
  454. package/es/v1/form/fields/TextEditorField/props/propTypes.js +1 -1
  455. package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +5 -5
  456. package/es/v1/form/fields/TextareaField/TextareaField.js +5 -5
  457. package/es/v1/form/fields/TextareaField/props/defaultProps.js +1 -1
  458. package/es/v1/form/fields/TextareaField/props/propTypes.js +1 -1
  459. package/es/v1/form/fields/ValidationMessage/ValidationMessage.js +3 -3
  460. package/es/v1/form/fields/index.js +16 -16
  461. package/es/v1/form/layout/Field/Field.js +3 -3
  462. package/es/v1/form/layout/Section/Section.js +2 -2
  463. package/es/v1/form/layout/index.js +2 -2
  464. package/es/v1/layout/SetupDetailLayout/SetupDetailLayout.js +3 -3
  465. package/es/v1/layout/SetupDetailLayout/index.js +4 -4
  466. package/es/v1/layout/SubtabLayout/SubtabLayout.js +4 -4
  467. package/es/v1/layout/SubtabLayout/index.js +4 -4
  468. package/es/v1/list/AvatarFlip/AvatarFlip.js +4 -4
  469. package/es/v1/list/BluePrintStatus/BluePrintStatus.js +2 -2
  470. package/es/v1/list/Comment/Comment.js +3 -3
  471. package/es/v1/list/DepartmentDropDown/DepartmentDropDown.js +5 -5
  472. package/es/v1/list/Dot/Dot.js +3 -3
  473. package/es/v1/list/DotNew/DotNew.js +3 -3
  474. package/es/v1/list/GridStencils/GridStencils.js +2 -2
  475. package/es/v1/list/Icons/AddNewIcon.js +2 -2
  476. package/es/v1/list/Icons/CompleteIcon.js +2 -2
  477. package/es/v1/list/Icons/DeleteIcon.js +2 -2
  478. package/es/v1/list/Icons/EditIcon.js +2 -2
  479. package/es/v1/list/Icons/FloatingIcons.js +3 -3
  480. package/es/v1/list/Icons/ReadUnreadIcon.js +3 -3
  481. package/es/v1/list/Icons/SmartIcon.js +2 -2
  482. package/es/v1/list/Icons/index.js +7 -7
  483. package/es/v1/list/ListLayout/ListLayout.js +3 -3
  484. package/es/v1/list/ListStencils/ListStencils.js +3 -3
  485. package/es/v1/list/SecondaryText/AccountName.js +4 -4
  486. package/es/v1/list/SecondaryText/ContactName.js +5 -5
  487. package/es/v1/list/SecondaryText/DepartmentText.js +2 -2
  488. package/es/v1/list/SecondaryText/Email.js +4 -4
  489. package/es/v1/list/SecondaryText/HappinessRating.js +2 -2
  490. package/es/v1/list/SecondaryText/PhoneNumber.js +4 -4
  491. package/es/v1/list/SecondaryText/PriorityText.js +3 -3
  492. package/es/v1/list/SecondaryText/SecondaryText.js +3 -3
  493. package/es/v1/list/SecondaryText/StatusText.js +3 -3
  494. package/es/v1/list/SecondaryText/TicketId.js +4 -4
  495. package/es/v1/list/SecondaryText/Website.js +4 -4
  496. package/es/v1/list/SecondaryText/index.js +11 -11
  497. package/es/v1/list/SecondryPanel/SecondryPanel.js +4 -4
  498. package/es/v1/list/SentimentStatus/SentimentStatus.js +2 -2
  499. package/es/v1/list/Subject/Subject.js +4 -4
  500. package/es/v1/list/TagNew/TagNew.js +3 -3
  501. package/es/v1/list/Thread/Thread.js +3 -3
  502. package/es/v1/list/index.js +16 -16
  503. package/es/v1/list/status/StatusDropdown/StatusDropdown.js +5 -5
  504. package/es/v1/list/status/StatusListItem/StatusListItem.js +3 -3
  505. package/es/v1/list/status/index.js +2 -2
  506. package/es/v1/lookup/EmptyPage/EmptyPage.js +3 -3
  507. package/es/v1/lookup/Lookup/Lookup.js +4 -4
  508. package/es/v1/lookup/Section/Section.js +2 -2
  509. package/es/v1/lookup/header/Close/Close.js +3 -3
  510. package/es/v1/lookup/header/ModuleHeader/ModuleHeader.js +8 -8
  511. package/es/v1/lookup/header/Search/Search.js +4 -4
  512. package/es/v1/lookup/header/TicketHeader/TicketHeader.js +10 -10
  513. package/es/v1/lookup/header/Title/Title.js +3 -3
  514. package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +3 -3
  515. package/es/v1/lookup/header/index.js +5 -5
  516. package/es/v1/notification/DesktopNotification/DesktopNotification.js +6 -6
  517. package/es/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
  518. package/es/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +5 -5
  519. package/es/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
  520. package/es/v1/setup/header/Button/Button.js +3 -3
  521. package/es/v1/setup/header/Link/Link.js +4 -4
  522. package/es/v1/setup/header/Search/Search.js +3 -3
  523. package/es/v1/setup/header/Views/Views.js +3 -3
  524. package/es/v1/setup/header/index.js +4 -4
  525. package/es/v1/setup/helptips/Description/Description.js +2 -2
  526. package/es/v1/setup/helptips/Link/Link.js +3 -3
  527. package/es/v1/setup/helptips/ListGroup/ListGroup.js +2 -2
  528. package/es/v1/setup/helptips/Title/Title.js +2 -2
  529. package/es/v1/setup/helptips/index.js +4 -4
  530. package/es/v1/setup/index.js +3 -3
  531. package/es/v1/setup/table/Table/Table.js +2 -2
  532. package/es/v1/setup/table/TableBody/TableBody.js +2 -2
  533. package/es/v1/setup/table/TableData/TableData.js +3 -3
  534. package/es/v1/setup/table/TableHead/TableHead.js +3 -3
  535. package/es/v1/setup/table/TableRow/TableRow.js +3 -3
  536. package/es/v1/setup/table/Text/Text.js +4 -4
  537. package/es/v1/setup/table/index.js +5 -5
  538. package/es/v1/svg/PlusIcon.js +2 -2
  539. package/es/v1/svg/SnippetIcon.js +2 -2
  540. package/es/v1/svg/TemplateIcon.js +2 -2
  541. package/es/v1/svg/index.js +3 -3
  542. package/es/version2/AlertClose/AlertClose.js +2 -2
  543. package/es/version2/AlertClose/__tests__/AlertClose.spec.js +1 -1
  544. package/es/version2/GlobalNotification/GlobalNotification.js +6 -6
  545. package/es/version2/GlobalNotification/__tests__/GlobalNotification.spec.js +1 -1
  546. package/es/version2/alertIcons/AlarmAlertIcon.js +3 -3
  547. package/es/version2/alertIcons/AlertIcons.js +9 -9
  548. package/es/version2/alertIcons/DangerAlertIcon.js +3 -3
  549. package/es/version2/alertIcons/ErrorAlertIcon.js +3 -3
  550. package/es/version2/alertIcons/InfoAlertIcon.js +3 -3
  551. package/es/version2/alertIcons/NotificationAlertIcon.js +3 -3
  552. package/es/version2/alertIcons/SuccessAlertIcon.js +3 -3
  553. package/es/version2/alertIcons/WarningAlertIcon.js +3 -3
  554. package/es/version2/alertIcons/__tests__/AlarmAlertIcon.spec.js +1 -1
  555. package/es/version2/alertIcons/__tests__/AlertIcons.spec.js +1 -1
  556. package/es/version2/alertIcons/__tests__/DangerAlertIcon.spec.js +1 -1
  557. package/es/version2/alertIcons/__tests__/ErrorAlertIcon.spec.js +1 -1
  558. package/es/version2/alertIcons/__tests__/InfoAlertIcon.spec.js +1 -1
  559. package/es/version2/alertIcons/__tests__/NotificationAlertIcon.spec.js +1 -1
  560. package/es/version2/alertIcons/__tests__/SuccessAlertIcon.spec.js +1 -1
  561. package/es/version2/alertIcons/__tests__/WarningAlertIcon.spec.js +1 -1
  562. package/es/version2/alertIcons/index.js +8 -8
  563. package/es/version2/errorstate/Inconvenience/Inconvenience.js +4 -4
  564. package/es/version2/errorstate/Inconvenience/__tests__/Inconvenience.spec.js +1 -1
  565. package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +4 -4
  566. package/es/version2/errorstate/OopsSomethingMiss/__tests__/OopsSomethingMiss.spec.js +1 -1
  567. package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +4 -4
  568. package/es/version2/errorstate/UnableToProcessRequest/__tests__/UnableToProcessRequest.spec.js +1 -1
  569. package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +4 -4
  570. package/es/version2/errorstate/UnauthorizedLogin/__tests__/UnauthorizedLogin.spec.js +1 -1
  571. package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +4 -4
  572. package/es/version2/errorstate/UrlNotFound/__tests__/UrlNotFound.spec.js +1 -1
  573. package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +4 -4
  574. package/es/version2/errorstate/WillBeRightBack/__tests__/WillBeRightBack.spec.js +1 -1
  575. package/es/version2/errorstate/index.js +6 -6
  576. package/es/version2/index.js +8 -8
  577. package/es/version2/lookup/AlertHeader/AlertHeader.js +7 -7
  578. package/es/version2/lookup/AlertHeader/__tests__/AlertHeader.spec.js +1 -1
  579. package/es/version2/lookup/AlertLookup/AlertLookup.js +7 -7
  580. package/es/version2/lookup/AlertLookup/__tests__/AlertLookup.spec.js +1 -1
  581. package/es/version2/lookup/index.js +2 -2
  582. package/es/version2/notification/DesktopNotification/DesktopNotification.js +6 -6
  583. package/es/version2/notification/DesktopNotification/__tests__/DesktopNotification.spec.js +1 -1
  584. package/es/version2/notification/DesktopNotification/props/defaultProps.js +1 -1
  585. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +5 -5
  586. package/es/version2/notification/DesktopNotificationHeader/__tests__/DesktopNotificationHeader.spec.js +1 -1
  587. package/es/version2/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
  588. package/es/version2/notification/index.js +3 -3
  589. package/lib/ActionButton/__tests__/ActionButton.spec.js +8 -0
  590. package/lib/Attachment/Attachment.module.css +7 -3
  591. package/lib/AttachmentViewer/Attachment.js +60 -0
  592. package/lib/AttachmentViewer/AttachmentViewer.js +125 -23
  593. package/lib/AttachmentViewer/AttachmentViewer.module.css +32 -9
  594. package/lib/AttachmentViewer/__tests__/AttachmentViewer.spec.js +8 -0
  595. package/lib/AttachmentViewer/__tests__/__snapshots__/AttachmentViewer.spec.js.snap +3 -3
  596. package/lib/AttachmentViewer/props/defaultProps.js +1 -1
  597. package/lib/AttachmentViewer/props/propTypes.js +9 -1
  598. package/lib/AttachmentViewer/utils.js +85 -8
  599. package/lib/DotProvider/__tests__/DotProvider.spec.js +91 -64
  600. package/lib/DotProvider/__tests__/__snapshots__/DotProvider.spec.js.snap +170 -170
  601. package/lib/DotProvider/libraryChunks/appearance/component/Dark_Component.js +1 -1
  602. package/lib/DotProvider/libraryChunks/appearance/component/Light_Component.js +1 -1
  603. package/lib/DotProvider/libraryChunks/appearance/component/PureDark_Component.js +1 -1
  604. package/lib/DotProvider/utils/themeAppearanceAssetsConfig.js +6 -6
  605. package/lib/DotProvider/utils/themeColorAssetsConfig.js +45 -45
  606. package/lib/Drawer/Drawer.js +8 -2
  607. package/lib/Drawer/__tests__/Drawer.spec.js +8 -0
  608. package/lib/Drawer/__tests__/__snapshots__/Header.spec.js.snap +4 -4
  609. package/lib/Drawer/props/propTypes.js +4 -1
  610. package/lib/FlipCard/__tests__/__snapshots__/FlipCard.spec.js.snap +6 -6
  611. package/lib/FreezeLayer/FreezeLayer.js +8 -2
  612. package/lib/FreezeLayer/props/propTypes.js +4 -1
  613. package/lib/Hooks/Dragger/useDragger.js +2 -0
  614. package/lib/IconButton/IconButton.js +1 -1
  615. package/lib/IconButton/IconButton.module.css +3 -0
  616. package/lib/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +1 -1
  617. package/lib/Onboarding/CarouselDots/CarouselDot/css/CarouselDot.module.css +5 -14
  618. package/lib/Onboarding/Onboarding.js +42 -13
  619. package/lib/Onboarding/__tests__/Onboarding.spec.js +52 -0
  620. package/lib/Onboarding/__tests__/__snapshots__/Onboarding.spec.js.snap +597 -93
  621. package/lib/Onboarding/css/Onboarding.module.css +20 -2
  622. package/lib/Onboarding/hooks/useOnboarding.js +15 -1
  623. package/lib/Onboarding/hooks/useOnboardingSlider.js +13 -4
  624. package/lib/Onboarding/props/defaultProps.js +12 -1
  625. package/lib/Onboarding/props/propTypes.js +11 -0
  626. package/lib/PlusIcon/__tests__/__snapshots__/PlusIcon.spec.js.snap +13 -13
  627. package/lib/VideoLookup/__tests__/VideoLookup.spec.js +8 -0
  628. package/lib/alert/AlertHeader/__tests__/__snapshots__/AlertHeader.spec.js.snap +1 -1
  629. package/lib/avatar/AvatarIcon/AvatarIcon.js +2 -2
  630. package/lib/avatar/AvatarIcon/AvatarIcon.module.css +3 -0
  631. package/lib/avatar/AvatarIcon/__tests__/__snapshots__/AvatarIcon.spec.js.snap +1 -1
  632. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +34 -11
  633. package/lib/dropdown/ToggleDropDown/props/defaultProps.js +2 -1
  634. package/lib/dropdown/ToggleDropDown/props/propTypes.js +2 -1
  635. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +4 -5
  636. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +4 -0
  637. package/lib/list/ListStencils/__tests__/__snapshots__/ListStencils.spec.js.snap +6 -6
  638. package/lib/lookup/header/Close/__tests__/__snapshots__/Close.spec.js.snap +1 -1
  639. package/lib/lookup/header/TicketHeader/__tests__/__snapshots__/TicketHeader.spec.js.snap +1 -1
  640. package/lib/utils/General.js +25 -1
  641. package/package.json +9 -9
  642. package/result.json +1 -0
  643. package/unittest/index.html +37 -0
  644. package/es/common/dot_common.module.css +0 -4
  645. package/lib/common/dot_common.module.css +0 -4
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
- import FormAction from '../FormAction';
3
+ import FormAction from "../FormAction";
4
4
  describe('FormAction', () => {
5
5
  test('rendering the defult props', () => {
6
6
  const {
@@ -1,13 +1,13 @@
1
1
  import React from 'react';
2
- import { defaultProps } from './props/defaultProps';
3
- import { propTypes } from './props/propTypes';
2
+ import { defaultProps } from "./props/defaultProps";
3
+ import { propTypes } from "./props/propTypes";
4
4
  import { Container } from '@zohodesk/components/lib/Layout';
5
5
  import { mergeStyle } from '@zohodesk/utils';
6
6
  import VelocityAnimationGroup from '@zohodesk/components/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup';
7
7
  import { useZIndex } from '@zohodesk/components/lib/Provider/ZindexProvider';
8
- import cssJSLogic from './css/cssJSLogic';
9
- import useFreezeLayer from '../Hooks/useFreezeLayer';
10
- import style from './css/FreezeLayer.module.css';
8
+ import cssJSLogic from "./css/cssJSLogic";
9
+ import useFreezeLayer from "../Hooks/useFreezeLayer";
10
+ import style from "./css/FreezeLayer.module.css";
11
11
  export default function FreezeLayer(props) {
12
12
  let {
13
13
  isActive: propsActive,
@@ -21,7 +21,10 @@ export default function FreezeLayer(props) {
21
21
  forwardRef,
22
22
  isSvgMask,
23
23
  needAutoZindex,
24
- customStyle
24
+ customStyle,
25
+ onAnimateEnter,
26
+ postAnimateStyles,
27
+ onAnimateExit
25
28
  } = props;
26
29
  const finalStyle = mergeStyle(style, customStyle);
27
30
  const {
@@ -58,7 +61,10 @@ export default function FreezeLayer(props) {
58
61
  component: Container,
59
62
  alignBox: "row",
60
63
  align: align,
61
- dataId: "reactFreezeLayer"
64
+ dataId: "reactFreezeLayer",
65
+ onEnterComplete: onAnimateEnter,
66
+ postEnterStyles: postAnimateStyles,
67
+ onExitComplete: onAnimateExit
62
68
  }, children) : isSvgMask ? /*#__PURE__*/React.createElement(React.Fragment, null, children) : /*#__PURE__*/React.createElement(Container, {
63
69
  alignBox: "row",
64
70
  align: align,
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
- import FreezeLayer from '../FreezeLayer';
3
+ import FreezeLayer from "../FreezeLayer";
4
4
  describe('FreezeLayer', () => {
5
5
  test('rendering the defult props', () => {
6
6
  const {
@@ -1,2 +1,2 @@
1
- export { default as FreezeLayer } from './FreezeLayer';
2
- export { default as FreezeLayerPropTypes } from './props/propTypes';
1
+ export { default as FreezeLayer } from "./FreezeLayer";
2
+ export { default as FreezeLayerPropTypes } from "./props/propTypes";
@@ -14,6 +14,9 @@ export const propTypes = {
14
14
  palette: PropTypes.oneOf(['dark', 'default', 'darkLight', 'plain', 'snow']),
15
15
  runOnMount: PropTypes.bool,
16
16
  customStyle: PropTypes.object,
17
- zIndex: PropTypes.oneOf(['3', '5', '7', '10'])
17
+ zIndex: PropTypes.oneOf(['3', '5', '7', '10']),
18
+ onAnimateEnter: PropTypes.func,
19
+ postAnimateStyles: PropTypes.object,
20
+ onAnimateExit: PropTypes.func
18
21
  };
19
22
  export default propTypes;
@@ -1,14 +1,14 @@
1
1
  //Hooks from React
2
2
  import { useEffect, useRef, useCallback } from 'react'; //CustomFunction
3
3
 
4
- import { DragPosCalc } from './utils/DraggerUtil'; //GlobalConfig
4
+ import { DragPosCalc } from "./utils/DraggerUtil"; //GlobalConfig
5
5
 
6
- import { getDotLibraryConfig } from '../../Provider/Config'; //Props
6
+ import { getDotLibraryConfig } from "../../Provider/Config"; //Props
7
7
 
8
- import defaultProps from './props/defaultProps';
9
- import propTypes from './props/propTypes'; //CSS
8
+ import defaultProps from "./props/defaultProps";
9
+ import propTypes from "./props/propTypes"; //CSS
10
10
 
11
- import style from './css/Dragger.module.css';
11
+ import style from "./css/Dragger.module.css";
12
12
  export default function useDragger(_ref) {
13
13
  let {
14
14
  isActive,
@@ -86,6 +86,8 @@ export default function useDragger(_ref) {
86
86
  style.top = `${top}px`;
87
87
  style.left = `${left}px`;
88
88
  style.width = `${width}px`;
89
+ style.bottom = 'initial';
90
+ style.right = 'initial';
89
91
  style.position = 'fixed';
90
92
  offset.current.x = draggableEle.current.offsetLeft - e.clientX;
91
93
  offset.current.y = draggableEle.current.offsetTop - e.clientY;
@@ -1,6 +1,6 @@
1
1
  import React, { useRef, useState, useEffect } from 'react';
2
2
  import { isTextSelected, cancelBubblingEffect } from '@zohodesk/components/es/utils/Common';
3
- import { getDotLibraryConfig } from '../Provider/Config';
3
+ import { getDotLibraryConfig } from "../Provider/Config";
4
4
  export default function useFreezeLayer(_ref) {
5
5
  let {
6
6
  isActive: propsActive,
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
- import { defaultProps } from './props/defaultProps';
3
- import { propTypes } from './props/propTypes';
2
+ import { defaultProps } from "./props/defaultProps";
3
+ import { propTypes } from "./props/propTypes";
4
4
  import { Icon } from '@zohodesk/icons';
5
5
  import { Container } from '@zohodesk/components/lib/Layout';
6
6
  import btnStyle from '@zohodesk/components/lib/semantic/Button/semanticButton.module.css';
7
7
  import RippleEffect from '@zohodesk/components/lib/RippleEffect/RippleEffect';
8
- import style from './IconButton.module.css';
8
+ import style from "./IconButton.module.css";
9
9
  export default class IconButton extends React.Component {
10
10
  constructor(props) {
11
11
  super(props);
@@ -136,7 +136,7 @@ export default class IconButton extends React.Component {
136
136
  isBold: isBold,
137
137
  size: iconSize,
138
138
  name: iconName,
139
- iconClass: iconClass
139
+ iconClass: `${iconClass} ${style.icon_button_center}`
140
140
  }) : null, children ? children : null));
141
141
  }
142
142
 
@@ -46,4 +46,7 @@
46
46
  .primaryFilled,
47
47
  .primaryFilled_active {
48
48
  --iconColor: var(--zdt_iconButton_icon_primaryActive);
49
+ }
50
+ .icon_button_center {
51
+ composes: tcenter from '~@zohodesk/components/lib/common/common.module.css';
49
52
  }
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
- import IconButton from '../IconButton.js';
3
+ import IconButton from "../IconButton.js";
4
4
  describe('IconButton', () => {
5
5
  test('rendering the defult props', () => {
6
6
  const {
@@ -94,7 +94,7 @@ exports[`IconButton rendering in Icon 1`] = `
94
94
  >
95
95
  <i
96
96
  aria-hidden="true"
97
- class="zd_font_icons basic icon-infoStroke fbold iconClass "
97
+ class="zd_font_icons basic icon-infoStroke fbold iconClass icon_button_center "
98
98
  data-id="fontIcon"
99
99
  data-selector-id="fontIcon"
100
100
  data-test-id="fontIcon"
package/es/Image/Image.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { defaultProps } from './props/defaultProps';
3
- import { propTypes } from './props/propTypes';
4
- import style from './Image.module.css';
2
+ import { defaultProps } from "./props/defaultProps";
3
+ import { propTypes } from "./props/propTypes";
4
+ import style from "./Image.module.css";
5
5
  export default class Image extends React.Component {
6
6
  render() {
7
7
  let {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render } from "@testing-library/react";
3
- import Image from '../Image.js';
3
+ import Image from "../Image.js";
4
4
  describe('Image - ', () => {
5
5
  test('rendering the default props', () => {
6
6
  const {
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
- import { defaultProps } from './props/defaultProps';
3
- import { propTypes } from './props/propTypes';
2
+ import { defaultProps } from "./props/defaultProps";
3
+ import { propTypes } from "./props/propTypes";
4
4
  import { Container, Box } from '@zohodesk/components/lib/Layout';
5
5
  import { Icon } from '@zohodesk/icons';
6
- import style from './ImportantNotes.module.css';
6
+ import style from "./ImportantNotes.module.css";
7
7
  export default class ImportantNotes extends React.Component {
8
8
  constructor(props) {
9
9
  super(props);
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
- import ImportantNotes from '../ImportantNotes';
3
+ import ImportantNotes from "../ImportantNotes";
4
4
  describe('ImportantNotes', () => {
5
5
  test('rendering the defult props', () => {
6
6
  const {
package/es/Link/Link.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
- import { defaultProps } from './props/defaultProps';
3
- import { propTypes } from './props/propTypes';
2
+ import { defaultProps } from "./props/defaultProps";
3
+ import { propTypes } from "./props/propTypes";
4
4
  import { cancelBubblingEffect } from '@zohodesk/components/es/utils/Common';
5
- import style from './Link.module.css';
6
- import LinkContext from './LinkContext';
5
+ import style from "./Link.module.css";
6
+ import LinkContext from "./LinkContext";
7
7
  export default class Link extends React.Component {
8
8
  constructor(props, context) {
9
9
  super(props, context);
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
- import Link from '../Link';
4
- import LinkContext from '../LinkContext';
3
+ import Link from "../Link";
4
+ import LinkContext from "../LinkContext";
5
5
  describe('Link Component Snapshot Tests', () => {
6
6
  const targetOptions = ['_blank', '_self'];
7
7
  const mockContextOptions = {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { getZIndex } from '@zohodesk/components/lib/Provider/ZindexProvider';
3
- import style from './Loader.module.css';
3
+ import style from "./Loader.module.css";
4
4
  export default class Loader extends React.Component {
5
5
  constructor(props) {
6
6
  super(props);
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
- import Loader from '../Loader';
3
+ import Loader from "../Loader";
4
4
  describe('Loader', () => {
5
5
  test('rendering the defult props', () => {
6
6
  const {
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
- import { defaultProps } from './props/defaultProps';
3
- import { propTypes, MessageUI_propTypes, MessageNew_propTypes } from './props/propTypes';
2
+ import { defaultProps } from "./props/defaultProps";
3
+ import { propTypes, MessageUI_propTypes, MessageNew_propTypes } from "./props/propTypes";
4
4
  import { Icon } from '@zohodesk/icons';
5
- import AutoClose from '../actions/AutoClose';
6
- import style from './Message.module.css';
5
+ import AutoClose from "../actions/AutoClose";
6
+ import style from "./Message.module.css";
7
7
  export default class Message extends React.Component {
8
8
  constructor(props) {
9
9
  super(props);
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
- import Message from '../Message';
3
+ import Message from "../Message";
4
4
  describe('Message', () => {
5
5
  test('rendering the defult props', () => {
6
6
  const {
@@ -1,5 +1,5 @@
1
1
  import PropTypes from 'prop-types';
2
- import { propTypes as AutoClose_PropTypes } from '../../actions/props/propTypes';
2
+ import { propTypes as AutoClose_PropTypes } from "../../actions/props/propTypes";
3
3
  export const propTypes = {
4
4
  hideMessage: PropTypes.func,
5
5
  showMessage: PropTypes.bool,
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
- import { defaultProps } from './props/defaultProps';
3
- import { propTypes } from './props/propTypes';
4
- import Link from '../Link/Link';
2
+ import { defaultProps } from "./props/defaultProps";
3
+ import { propTypes } from "./props/propTypes";
4
+ import Link from "../Link/Link";
5
5
  import { Icon } from '@zohodesk/icons';
6
6
  import { Container, Box } from '@zohodesk/components/lib/Layout';
7
- import style from './MessageBanner.module.css';
7
+ import style from "./MessageBanner.module.css";
8
8
  export default class MessageBanner extends React.Component {
9
9
  render() {
10
10
  let {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
- import MessageBanner from '../MessageBanner';
3
+ import MessageBanner from "../MessageBanner";
4
4
  describe('MessageBanner', () => {
5
5
  const PALETTE = ['default', 'blue', 'white'];
6
6
  const TYPE = ['primary', 'secondary'];
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
- import { defaultProps } from './props/defaultProps';
3
- import { propTypes } from './props/propTypes';
2
+ import { defaultProps } from "./props/defaultProps";
3
+ import { propTypes } from "./props/propTypes";
4
4
  import { Icon } from '@zohodesk/icons';
5
5
  import { Container } from '@zohodesk/components/lib/Layout';
6
- import style from './NewStar.module.css';
6
+ import style from "./NewStar.module.css";
7
7
  export default class NewStar extends React.Component {
8
8
  render() {
9
9
  let {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
- import NewStar from '../NewStar';
3
+ import NewStar from "../NewStar";
4
4
  describe('NewStar', () => {
5
5
  const PALETTE = ['green', 'blue', 'yellow'];
6
6
  const POSITION = ['topRight', 'topLeft', 'bottomRight', 'bottomLeft'];
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  /* Props */
3
3
 
4
- import { propTypes } from './props/propTypes.js';
5
- import { defaultProps } from './props/defaultProps.js';
4
+ import { propTypes } from "./props/propTypes.js";
5
+ import { defaultProps } from "./props/defaultProps.js";
6
6
  /* Style */
7
7
 
8
- import style from './css/CarouselDot.module.css';
8
+ import style from "./css/CarouselDot.module.css";
9
9
 
10
10
  function CarouselDot(props) {
11
11
  const {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
- import CarouselDot from '../CarouselDot';
3
+ import CarouselDot from "../CarouselDot";
4
4
  describe('CarouselDot', () => {
5
5
  test('rendering the defult props', () => {
6
6
  const {
@@ -52,11 +52,11 @@
52
52
  }
53
53
  [dir=ltr] .bulletActive::after {
54
54
  left:-100% ;
55
- animation: progressLoading-ltr 5s linear infinite;
55
+ animation: progressLoading 5s linear infinite;
56
56
  }
57
57
  [dir=rtl] .bulletActive::after {
58
58
  right:-100% ;
59
- animation: progressLoading-rtl 5s linear infinite;
59
+ animation: progressLoading 5s linear infinite;
60
60
  }
61
61
  [dir=ltr] .animationPaused::after {
62
62
  animation-play-state: paused;
@@ -64,20 +64,11 @@
64
64
  [dir=rtl] .animationPaused::after {
65
65
  animation-play-state: paused;
66
66
  }
67
- @keyframes progressLoading-ltr {
67
+ @keyframes progressLoading {
68
68
  0% {
69
- left: -100% ;
69
+ inset-inline-start: -100%;
70
70
  }
71
71
  100% {
72
- left: 0% ;
72
+ inset-inline-start: 0%;
73
73
  }
74
74
  }
75
- @keyframes progressLoading-rtl {
76
- 0% {
77
- left: -100% ;
78
- }
79
- 100% {
80
- left: 0% ;
81
- }
82
- }
83
-
@@ -1,9 +1,9 @@
1
1
  import React, { memo } from 'react';
2
2
  import { Flex } from '@zohodesk/layout';
3
- import { propTypes } from './props/propTypes';
4
- import { defaultProps } from './props/defaultProps';
5
- import CarouselDot from './CarouselDot/CarouselDot';
6
- import style from './css/CarouselDots.module.css';
3
+ import { propTypes } from "./props/propTypes";
4
+ import { defaultProps } from "./props/defaultProps";
5
+ import CarouselDot from "./CarouselDot/CarouselDot";
6
+ import style from "./css/CarouselDots.module.css";
7
7
 
8
8
  const CarouselDots = _ref => {
9
9
  let {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
- import CarouselDots from '../CarouselDots';
3
+ import CarouselDots from "../CarouselDots";
4
4
  describe('CarouselDots', () => {
5
5
  const sliderData = [{
6
6
  imageSource: "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ3Mu0NdfXXqvCExZ9YG_j93CKuU4DIdcIlEQ&s",
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  /**propTypes**/
3
3
 
4
- import { propTypes } from './props/propTypes';
5
- import { defaultProps } from './props/defaultProps';
4
+ import { propTypes } from "./props/propTypes";
5
+ import { defaultProps } from "./props/defaultProps";
6
6
  /**components**/
7
7
 
8
8
  import Icon from '@zohodesk/icons/lib/Icon';
@@ -12,23 +12,24 @@ import Modal from '@zohodesk/components/lib/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';
15
+ import { useZIndex } from '@zohodesk/components/es/Provider/ZindexProvider';
15
16
  /** local **/
16
17
 
17
- import VideoLookup from '../VideoLookup/VideoLookup';
18
- import Link from '../Link/Link';
19
- import CarouselDots from './CarouselDots/CarouselDots';
20
- import Image from '../Image/Image';
18
+ import VideoLookup from "../VideoLookup/VideoLookup";
19
+ import Link from "../Link/Link";
20
+ import CarouselDots from "./CarouselDots/CarouselDots";
21
+ import Image from "../Image/Image";
21
22
  /** hooks **/
22
23
 
23
- import useOnboardingSlider from './hooks/useOnboardingSlider';
24
+ import useOnboardingSlider from "./hooks/useOnboardingSlider";
24
25
  import useMergeStyle from '@zohodesk/hooks/es/utils/useMergeStyle';
25
- import useOnboarding from './hooks/useOnboarding';
26
+ import useOnboarding from "./hooks/useOnboarding";
26
27
  /** Constant **/
27
28
 
28
- import { DUMMY_OBJECT } from '../utils/General';
29
+ import { DUMMY_OBJECT } from "../utils/General";
29
30
  /** style **/
30
31
 
31
- import defaultStyle from './css/Onboarding.module.css';
32
+ import defaultStyle from "./css/Onboarding.module.css";
32
33
 
33
34
  const Onboarding = _ref => {
34
35
  let {
@@ -46,14 +47,25 @@ const Onboarding = _ref => {
46
47
  hasExpandedButton,
47
48
  onPrimaryButtonClick,
48
49
  onSecondaryButtonClick,
49
- customProps
50
+ customProps,
51
+ tagAttributes,
52
+ a11yAttributes,
53
+ closeIconTooltip,
54
+ dragBoundaryLimit,
55
+ isDraggable,
56
+ position
50
57
  } = _ref;
58
+ const getNextIndex = useZIndex();
51
59
  const style = useMergeStyle(defaultStyle, customStyle);
52
60
  const {
53
61
  state,
62
+ dragRef,
54
63
  openVideoLookup,
55
64
  closeVideoLookup
56
- } = useOnboarding();
65
+ } = useOnboarding({
66
+ dragBoundaryLimit,
67
+ isDraggable: isDraggable && sliderData.length > 0
68
+ });
57
69
  const {
58
70
  videoLookupLink,
59
71
  isVideoLookupOpen,
@@ -72,15 +84,18 @@ const Onboarding = _ref => {
72
84
  } = customProps;
73
85
  const {
74
86
  sliderIndex,
87
+ mainContainerEleRef,
75
88
  isAnimationPaused,
76
89
  translateMovementVal,
77
90
  handleMouseEnter,
78
91
  handleMouseLeave,
79
92
  handleSliderIndexChange,
80
- handleSliderNext
93
+ handleSliderNext,
94
+ handleAnimationEnd
81
95
  } = useOnboardingSlider({
82
96
  isAutoPlayAnimation: isAutoPlayAnimation,
83
- sliderData: sliderData
97
+ sliderData: sliderData,
98
+ animationClass: style.mainContainerAnimation
84
99
  });
85
100
 
86
101
  const renderMediaElement = (imageSource, videoSourceLink, videoSourceFormat) => imageSource ? /*#__PURE__*/React.createElement(Image, {
@@ -178,9 +193,17 @@ const Onboarding = _ref => {
178
193
  };
179
194
 
180
195
  return /*#__PURE__*/React.createElement("div", {
196
+ "data-drag-container": isDraggable ? 'true' : 'false',
197
+ style: position !== 'static' || isDraggable ? {
198
+ zIndex: getNextIndex()
199
+ } : null,
200
+ ref: mainContainerEleRef,
181
201
  "data-id": `${customId}_container`,
182
202
  "data-test-id": `${testId}_container`,
183
- className: `${style.mainContainer} ${hasBouncAnimationOnMount ? style.mainContainerAnimation : ""}`
203
+ className: `${style.mainContainer} ${position !== 'static' ? style[`positon_${position}`] : ''} ${hasBouncAnimationOnMount ? style.mainContainerAnimation : ""}`,
204
+ onAnimationEnd: hasBouncAnimationOnMount ? handleAnimationEnd : null,
205
+ ...tagAttributes,
206
+ ...a11yAttributes
184
207
  }, /*#__PURE__*/React.createElement("div", {
185
208
  className: style.mainWrapper,
186
209
  onMouseEnter: handleMouseEnter,
@@ -192,7 +215,9 @@ const Onboarding = _ref => {
192
215
  }), /*#__PURE__*/React.createElement("div", {
193
216
  className: `${style.circleBlur} ${style.circleBlurTwo}`
194
217
  })), Array.isArray(sliderData) && sliderData.length > 0 ? /*#__PURE__*/React.createElement("div", {
195
- className: style.carousel
218
+ className: style.carousel,
219
+ ref: isDraggable ? dragRef : null,
220
+ "data-drag-hook": isDraggable ? "true" : "false"
196
221
  }, /*#__PURE__*/React.createElement(Flex, {
197
222
  $ui_displayMode: "flex",
198
223
  $tagAttributes_container: {
@@ -217,6 +242,9 @@ const Onboarding = _ref => {
217
242
  const isEmbeddedvideoLookupSource = videoLookupSource && videoLookupSource.isEmbeddedLink ? videoLookupSource.isEmbeddedLink : null;
218
243
  const videoSourceLink = videoSource && videoSource.link ? videoSource.link : null;
219
244
  const videoSourceFormat = videoSource && videoSource.format ? videoSource.format : null;
245
+
246
+ const handleOpenVideoLookup = () => openVideoLookup(videoLookupSourceLink, isEmbeddedvideoLookupSource, videoLookupSourceFormat);
247
+
220
248
  return /*#__PURE__*/React.createElement(Flex, {
221
249
  $ui_displayMode: "flex",
222
250
  $ui_direction: "column",
@@ -224,7 +252,7 @@ const Onboarding = _ref => {
224
252
  $ui_className: style.carouselItem,
225
253
  key: tabName
226
254
  }, /*#__PURE__*/React.createElement(Flex, {
227
- $ui_className: style.header,
255
+ $ui_className: `${style.header}`,
228
256
  $ui_displayMode: "flex",
229
257
  $ui_justifyContent: "center",
230
258
  $ui_alignItems: "center",
@@ -244,7 +272,7 @@ const Onboarding = _ref => {
244
272
  customId: `${customId}_play_icon`,
245
273
  testId: `${testId}_play_icon`,
246
274
  $ui_className: `${style.playIcon} ${style.animate} ${btnStyle.buttonReset}`,
247
- $event_onClick: () => openVideoLookup(videoLookupSourceLink, isEmbeddedvideoLookupSource, videoLookupSourceFormat)
275
+ $event_onClick: videoLookupSourceLink ? handleOpenVideoLookup : null
248
276
  }, /*#__PURE__*/React.createElement(Icon, {
249
277
  name: "ZD-GN-arrowFill",
250
278
  iconClass: style.playIconInner
@@ -268,8 +296,10 @@ const Onboarding = _ref => {
268
296
  ...descriptionProps
269
297
  }, description)));
270
298
  }))) : null, renderFooter(sliderData, sliderIndex), hasCloseIcon ? /*#__PURE__*/React.createElement(Flex, {
271
- $flag_fullsize: true,
272
299
  $ui_tagName: "button",
300
+ $tagAttributes_container: {
301
+ 'data-title': closeIconTooltip
302
+ },
273
303
  $ui_displayMode: "flex",
274
304
  customId: `${customId}_close_icon`,
275
305
  testId: `${testId}_close_icon`,