@bikdotai/bik-widgets 1.0.0 → 1.0.1

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/dist-package/chunks/node_modules_lottie-web_build_player_lottie_light_js.927c24cd7bf65e593181.js +1 -0
  2. package/dist-package/chunks/src_components_UserDetailsV2_userDetailsV2_desktop_module_css.1efff8cddc83e0d3401c.js +1 -0
  3. package/dist-package/chunks/src_components_UserDetailsV2_userDetailsV2_mobile_module_css.dc9f2aa849ff133f141e.js +1 -0
  4. package/dist-package/chunks/src_components_UserDetailsV2_userDetailsV2_module_css.2a5fcc435fb3f37d0034.js +1 -0
  5. package/dist-package/chunks/src_components_checkbox_checkbox_module_css.be362d6b95515915d752.js +1 -0
  6. package/dist-package/chunks/src_components_countryCodePicker_countriesDropdown_module_css.a1c8409dacb9abf0dfce.js +1 -0
  7. package/dist-package/chunks/src_components_couponDetails_couponPreviewDesktop_module_css.ba5ab63e0394cc8a886f.js +1 -0
  8. package/dist-package/chunks/src_components_couponDetails_couponPreviewMobile_module_css.12642fbc4c56a68af36a.js +1 -0
  9. package/dist-package/chunks/src_components_couponDetails_coupon_module_css.828bdce7a75e349ebbb1.js +1 -0
  10. package/dist-package/chunks/src_components_inputComponents_Dropdown_module_css.7a0ce85538bef9add9d6.js +1 -0
  11. package/dist-package/chunks/src_components_selectedCountry_selectedCountryPreviewDesktop_module_css.7f3139377b37f12d921f.js +1 -0
  12. package/dist-package/chunks/src_components_selectedCountry_selectedCountryPreviewMobile_module_css.fed0a331046797ed5973.js +1 -0
  13. package/dist-package/chunks/src_components_selectedCountry_selectedCountry_module_css.630e2d9d9273a276f88c.js +1 -0
  14. package/dist-package/chunks/src_widgets_BottomDrawer_config_ts.c222c906d3920af1e1cb.js +1 -0
  15. package/dist-package/chunks/src_widgets_BottomDrawer_index_tsx.e9213fe49b5889e994e2.js +1 -0
  16. package/dist-package/chunks/src_widgets_CaptivateBanner_config_ts.9aaaf84faf2c9d249a49.js +1 -0
  17. package/dist-package/chunks/src_widgets_CaptivateBanner_index_tsx.af1c8798259dec2cb3fb.js +1 -0
  18. package/dist-package/chunks/src_widgets_CaptivateBanner_previewDesktop_module_css.934a120419e64fdcea21.js +1 -0
  19. package/dist-package/chunks/src_widgets_CaptivateBanner_previewMobile_module_css.ea372353d7adf8c386ed.js +1 -0
  20. package/dist-package/chunks/src_widgets_CaptivateBanner_style_module_css.ed1acad346401f481abc.js +1 -0
  21. package/dist-package/chunks/src_widgets_CentrallyAlignedPopup_config_ts.ddfca241b6f1a15049e3.js +1 -0
  22. package/dist-package/chunks/src_widgets_CentrallyAlignedPopup_index_tsx.d7599511d8519b775ec2.js +1 -0
  23. package/dist-package/chunks/src_widgets_DirectReward_config_ts.ec522622f042ce691399.js +1 -0
  24. package/dist-package/chunks/src_widgets_DirectReward_index_tsx.d56025f4ea5792718067.js +2 -0
  25. package/dist-package/chunks/src_widgets_DirectReward_previewStyles_thankYouPreviewDesktop_module_css.5a86965d82116b2d7b91.js +1 -0
  26. package/dist-package/chunks/src_widgets_DirectReward_previewStyles_thankYouPreviewMobile_module_css.c93d0e8be4e1f183bcfa.js +1 -0
  27. package/dist-package/chunks/src_widgets_DirectReward_previewStyles_userDetailsPreviewDesktop_module_css.d1d862bb3b3a826e6368.js +1 -0
  28. package/dist-package/chunks/src_widgets_DirectReward_previewStyles_userDetailsPreviewMobile_module_css.b6bed87791445adb8886.js +1 -0
  29. package/dist-package/chunks/src_widgets_DirectReward_style_module_css.8d53a303557c3ca8323a.js +1 -0
  30. package/dist-package/chunks/src_widgets_ExitIntentHook_tsx.36222875fcd0408c040e.js +1 -0
  31. package/dist-package/chunks/src_widgets_STW_config_ts.a12b07b7f62eb0ea6dc0.js +1 -0
  32. package/dist-package/chunks/src_widgets_STW_index_tsx.e6bce54b3f841b9f2113.js +2 -0
  33. package/dist-package/chunks/src_widgets_STW_previewStyles_thankyouPreviewDesktop_module_css.eda5e42e4f6cd9d87904.js +1 -0
  34. package/dist-package/chunks/src_widgets_STW_previewStyles_thankyouPreviewMobile_module_css.2da674c296feaef1b037.js +1 -0
  35. package/dist-package/chunks/src_widgets_STW_previewStyles_userInputsPreviewDesktop_module_css.ea588b3bebcbf4eccf95.js +1 -0
  36. package/dist-package/chunks/src_widgets_STW_previewStyles_userInputsPreviewMobile_module_css.dc4596a5b41427fae2e2.js +1 -0
  37. package/dist-package/chunks/src_widgets_STW_previewStyles_wheelPreviewDesktop_module_css.8b9735c97d5240afc20a.js +1 -0
  38. package/dist-package/chunks/src_widgets_STW_previewStyles_wheelPreviewMobile_module_css.66ddd61f1aedef0ecaa0.js +1 -0
  39. package/dist-package/chunks/src_widgets_STW_stw1_tsx.e62b308fba62beb29793.js +1 -0
  40. package/dist-package/chunks/src_widgets_STW_stw2Components_wheelDesign_tsx.925c7d3dd11bc361199d.js +2 -0
  41. package/dist-package/chunks/src_widgets_STW_stw2Pages_couponDetails_tsx.aa4f9803222126c1d645.js +2 -0
  42. package/dist-package/chunks/src_widgets_STW_stw2Pages_style_module_css.3a683c60c6678865aee1.js +1 -0
  43. package/dist-package/chunks/src_widgets_STW_stw2Pages_userDetails_tsx.da1c0b70a43507bcacd0.js +2 -0
  44. package/dist-package/chunks/src_widgets_STW_stw2Pages_wheel_tsx.a25f6eedaf43920b3f13.js +2 -0
  45. package/dist-package/chunks/src_widgets_STW_stw2PreviewStyles_thankyouPreviewDesktop_module_css.4d86be690aa2ac02d42d.js +1 -0
  46. package/dist-package/chunks/src_widgets_STW_stw2PreviewStyles_thankyouPreviewMobile_module_css.514e8bc036d20099217f.js +1 -0
  47. package/dist-package/chunks/src_widgets_STW_stw2PreviewStyles_userInputsPreviewDesktop_module_css.7dcb9e7b063e981a2730.js +1 -0
  48. package/dist-package/chunks/src_widgets_STW_stw2PreviewStyles_userInputsPreviewMobile_module_css.c2e5280360cd4298e0df.js +1 -0
  49. package/dist-package/chunks/src_widgets_STW_stw2PreviewStyles_wheelPreviewDesktop_module_css.7aaac3771035b1929dca.js +1 -0
  50. package/dist-package/chunks/src_widgets_STW_stw2PreviewStyles_wheelPreviewMobile_module_css.e8042369ff79890e7ff4.js +1 -0
  51. package/dist-package/chunks/src_widgets_STW_style_module_css.dd14839c719d8ae26778.js +1 -0
  52. package/dist-package/chunks/src_widgets_ScratchCard_config_ts.a49cbd81b255752007b2.js +1 -0
  53. package/dist-package/chunks/src_widgets_ScratchCard_globalStyle_module_css.1844fdb9f244f7eea6a3.js +1 -0
  54. package/dist-package/chunks/src_widgets_ScratchCard_index_tsx.8e6339dbbe8791e2bbea.js +2 -0
  55. package/dist-package/chunks/src_widgets_ScratchCard_previewStyles_userDetailsPreviewDesktop_module_css.bf4e3d52d37c4a2c8653.js +1 -0
  56. package/dist-package/chunks/src_widgets_ScratchCard_previewStyles_userDetailsPreviewMobile_module_css.68bd5853e5a6f0136f54.js +1 -0
  57. package/dist-package/chunks/src_widgets_ShopifyForm_config_ts.ae68d20563321b24c42f.js +1 -0
  58. package/dist-package/chunks/src_widgets_ShopifyForm_index_tsx.7f33a3f0fffbd88444c0.js +1 -0
  59. package/dist-package/chunks/src_widgets_ShopifyForm_previewDesktop_module_css.f5bb8a66eec449599342.js +1 -0
  60. package/dist-package/chunks/src_widgets_ShopifyForm_previewMobile_module_css.84fab56fb812decfa88b.js +1 -0
  61. package/dist-package/chunks/src_widgets_ShopifyForm_style_module_css.93e042eb60d4e7a9969e.js +1 -0
  62. package/dist-package/chunks/src_widgets_SingleButtonRedirection_config_ts.b34f37a93d9f21ca12d2.js +1 -0
  63. package/dist-package/chunks/src_widgets_WebStories_config_ts.347332569990592c9215.js +1 -0
  64. package/dist-package/chunks/src_widgets_WebStories_index_css.82d92057971ad51334f8.js +1 -0
  65. package/dist-package/chunks/src_widgets_WebStories_index_tsx.03f74c2c52432896cce9.js +1 -0
  66. package/dist-package/chunks/src_widgets_WebStories_style_module_css.acd37b9a11117cfb851a.js +1 -0
  67. package/dist-package/chunks/src_widgets_index_tsx.d0409ffd2e3c285e9dd3.js +1 -0
  68. package/dist-package/index.css +31 -0
  69. package/dist-package/index.js +2 -0
  70. package/dist-package/src_components_UserDetailsV2_userDetailsV2_desktop_module_css.index.css +1 -0
  71. package/dist-package/src_components_UserDetailsV2_userDetailsV2_mobile_module_css.index.css +1 -0
  72. package/dist-package/src_components_UserDetailsV2_userDetailsV2_module_css.index.css +1 -0
  73. package/dist-package/src_components_checkbox_checkbox_module_css.index.css +1 -0
  74. package/dist-package/src_components_countryCodePicker_countriesDropdown_module_css.index.css +1 -0
  75. package/dist-package/src_components_couponDetails_couponPreviewDesktop_module_css.index.css +1 -0
  76. package/dist-package/src_components_couponDetails_couponPreviewMobile_module_css.index.css +1 -0
  77. package/dist-package/src_components_couponDetails_coupon_module_css.index.css +1 -0
  78. package/dist-package/src_components_inputComponents_Dropdown_module_css.index.css +1 -0
  79. package/dist-package/src_components_selectedCountry_selectedCountryPreviewDesktop_module_css.index.css +1 -0
  80. package/dist-package/src_components_selectedCountry_selectedCountryPreviewMobile_module_css.index.css +1 -0
  81. package/dist-package/src_components_selectedCountry_selectedCountry_module_css.index.css +1 -0
  82. package/dist-package/src_widgets_CaptivateBanner_previewDesktop_module_css.index.css +1 -0
  83. package/dist-package/src_widgets_CaptivateBanner_previewMobile_module_css.index.css +1 -0
  84. package/dist-package/src_widgets_CaptivateBanner_style_module_css.index.css +1 -0
  85. package/dist-package/src_widgets_DirectReward_index_tsx.index.css +1 -0
  86. package/dist-package/src_widgets_DirectReward_previewStyles_thankYouPreviewDesktop_module_css.index.css +3 -0
  87. package/dist-package/src_widgets_DirectReward_previewStyles_thankYouPreviewMobile_module_css.index.css +3 -0
  88. package/dist-package/src_widgets_DirectReward_previewStyles_userDetailsPreviewDesktop_module_css.index.css +1 -0
  89. package/dist-package/src_widgets_DirectReward_previewStyles_userDetailsPreviewMobile_module_css.index.css +1 -0
  90. package/dist-package/src_widgets_DirectReward_style_module_css.index.css +1 -0
  91. package/dist-package/src_widgets_STW_index_tsx.index.css +2 -0
  92. package/dist-package/src_widgets_STW_previewStyles_thankyouPreviewDesktop_module_css.index.css +3 -0
  93. package/dist-package/src_widgets_STW_previewStyles_thankyouPreviewMobile_module_css.index.css +1 -0
  94. package/dist-package/src_widgets_STW_previewStyles_userInputsPreviewDesktop_module_css.index.css +3 -0
  95. package/dist-package/src_widgets_STW_previewStyles_userInputsPreviewMobile_module_css.index.css +1 -0
  96. package/dist-package/src_widgets_STW_previewStyles_wheelPreviewDesktop_module_css.index.css +3 -0
  97. package/dist-package/src_widgets_STW_previewStyles_wheelPreviewMobile_module_css.index.css +1 -0
  98. package/dist-package/src_widgets_STW_stw2Pages_style_module_css.index.css +1 -0
  99. package/dist-package/src_widgets_STW_stw2PreviewStyles_thankyouPreviewDesktop_module_css.index.css +3 -0
  100. package/dist-package/src_widgets_STW_stw2PreviewStyles_thankyouPreviewMobile_module_css.index.css +1 -0
  101. package/dist-package/src_widgets_STW_stw2PreviewStyles_userInputsPreviewDesktop_module_css.index.css +1 -0
  102. package/dist-package/src_widgets_STW_stw2PreviewStyles_userInputsPreviewMobile_module_css.index.css +1 -0
  103. package/dist-package/src_widgets_STW_stw2PreviewStyles_wheelPreviewDesktop_module_css.index.css +3 -0
  104. package/dist-package/src_widgets_STW_stw2PreviewStyles_wheelPreviewMobile_module_css.index.css +3 -0
  105. package/dist-package/src_widgets_STW_style_module_css.index.css +1 -0
  106. package/dist-package/src_widgets_ScratchCard_globalStyle_module_css.index.css +2 -0
  107. package/dist-package/src_widgets_ScratchCard_previewStyles_userDetailsPreviewDesktop_module_css.index.css +3 -0
  108. package/dist-package/src_widgets_ScratchCard_previewStyles_userDetailsPreviewMobile_module_css.index.css +3 -0
  109. package/dist-package/src_widgets_ShopifyForm_previewDesktop_module_css.index.css +1 -0
  110. package/dist-package/src_widgets_ShopifyForm_previewMobile_module_css.index.css +1 -0
  111. package/dist-package/src_widgets_ShopifyForm_style_module_css.index.css +1 -0
  112. package/dist-package/src_widgets_WebStories_index_css.index.css +1 -0
  113. package/dist-package/src_widgets_WebStories_index_tsx.index.css +3 -0
  114. package/dist-package/src_widgets_WebStories_style_module_css.index.css +1 -0
  115. package/package.json +17 -4
  116. package/.eslintrc +0 -22
  117. package/.eslintrc.js +0 -19
  118. package/.github/workflows/main.yml +0 -293
  119. package/.prettierignore +0 -13
  120. package/.prettierrc +0 -10
  121. package/cypress/apiHelper/endpoints.ts +0 -21
  122. package/cypress/apiHelper/executor.ts +0 -42
  123. package/cypress/e2e/bottomDrawer.cy.ts +0 -49
  124. package/cypress/e2e/directReward.cy.ts +0 -67
  125. package/cypress/e2e/scratchTheCard.cy.ts +0 -68
  126. package/cypress/e2e/stw.cy.ts +0 -82
  127. package/cypress/e2e/waRedirection.cy.ts +0 -46
  128. package/cypress/fixtures/payloads.ts +0 -330
  129. package/cypress/support/commands.ts +0 -37
  130. package/cypress/support/e2e.ts +0 -20
  131. package/cypress.staging.config.ts +0 -23
  132. package/jsconfig.json +0 -6
  133. package/localtest.sh +0 -10
  134. package/log-server.js +0 -86
  135. package/postcss.config.js +0 -8
  136. package/src/Globals.d.ts +0 -2
  137. package/src/assets/lottie/santa.json +0 -11722
  138. package/src/assets/svg/CalendarClockIcon.tsx +0 -30
  139. package/src/assets/svg/CalendarIcon.tsx +0 -24
  140. package/src/assets/svg/CheckIcon.tsx +0 -17
  141. package/src/assets/svg/ChevronIcon.tsx +0 -21
  142. package/src/assets/svg/Close.tsx +0 -39
  143. package/src/assets/svg/Confetti.tsx +0 -140
  144. package/src/assets/svg/Copy.tsx +0 -26
  145. package/src/assets/svg/DropdownCheckIcon.tsx +0 -35
  146. package/src/assets/svg/ErrorIcon.tsx +0 -27
  147. package/src/assets/svg/RadioIcon.tsx +0 -25
  148. package/src/assets/svg/UncheckedCheckboxIcon.tsx +0 -28
  149. package/src/assets/svg/UncheckedRadioIcon.tsx +0 -26
  150. package/src/assets/svg/info.tsx +0 -30
  151. package/src/assets/svg/qrcode.svg +0 -14
  152. package/src/bootstrap.tsx +0 -8
  153. package/src/components/CtaCard/index.tsx +0 -37
  154. package/src/components/CtaCard/preview.module.css +0 -32
  155. package/src/components/CtaCard/style.module.css +0 -32
  156. package/src/components/EmailInput/emailInputBox.tsx +0 -95
  157. package/src/components/Fab/index.tsx +0 -224
  158. package/src/components/Fab/preview.module.css +0 -28
  159. package/src/components/Fab/style.module.css +0 -37
  160. package/src/components/Icons/Call.tsx +0 -26
  161. package/src/components/Icons/Cross.tsx +0 -24
  162. package/src/components/Icons/Gmail.tsx +0 -61
  163. package/src/components/Icons/Instagram.tsx +0 -60
  164. package/src/components/Icons/LiveChat.tsx +0 -43
  165. package/src/components/Icons/Messenger.tsx +0 -57
  166. package/src/components/Icons/Send.tsx +0 -22
  167. package/src/components/Icons/Whatsapp.tsx +0 -24
  168. package/src/components/Shimmer/index.tsx +0 -12
  169. package/src/components/Shimmer/style.module.css +0 -37
  170. package/src/components/SmsInput/smsInputBox.tsx +0 -135
  171. package/src/components/UserDetailsV2/userDetailsV2.desktop.module.css +0 -52
  172. package/src/components/UserDetailsV2/userDetailsV2.mobile.module.css +0 -52
  173. package/src/components/UserDetailsV2/userDetailsV2.module.css +0 -81
  174. package/src/components/UserDetailsV2/userDetailsV2.tsx +0 -527
  175. package/src/components/WhatsappInput/Spinner.tsx +0 -26
  176. package/src/components/WhatsappInput/whatsappInput.module.css +0 -106
  177. package/src/components/WhatsappInput/whatsappInputBox.tsx +0 -155
  178. package/src/components/WhatsappInput/whatsappInputPreviewDesktop.module.css +0 -71
  179. package/src/components/WhatsappInput/whatsappInputPreviewMobile.module.css +0 -65
  180. package/src/components/checkbox/checkbox.module.css +0 -19
  181. package/src/components/checkbox/checkbox.tsx +0 -88
  182. package/src/components/countryCodePicker/countriesDropdown.module.css +0 -77
  183. package/src/components/countryCodePicker/countriesDropdown.tsx +0 -81
  184. package/src/components/couponDetails/coupon.module.css +0 -208
  185. package/src/components/couponDetails/coupon.tsx +0 -210
  186. package/src/components/couponDetails/couponPreviewDesktop.module.css +0 -158
  187. package/src/components/couponDetails/couponPreviewMobile.module.css +0 -164
  188. package/src/components/index.ts +0 -3
  189. package/src/components/inputComponents/Checkbox.module.css +0 -197
  190. package/src/components/inputComponents/Checkbox.tsx +0 -85
  191. package/src/components/inputComponents/DatePicker.module.css +0 -565
  192. package/src/components/inputComponents/DatePicker.tsx +0 -278
  193. package/src/components/inputComponents/Dropdown.module.css +0 -796
  194. package/src/components/inputComponents/Dropdown.tsx +0 -630
  195. package/src/components/inputComponents/InputBox.module.css +0 -401
  196. package/src/components/inputComponents/InputBox.tsx +0 -209
  197. package/src/components/selectedCountry/selectedCountry.module.css +0 -76
  198. package/src/components/selectedCountry/selectedCountry.tsx +0 -76
  199. package/src/components/selectedCountry/selectedCountryPreviewDesktop.module.css +0 -56
  200. package/src/components/selectedCountry/selectedCountryPreviewMobile.module.css +0 -57
  201. package/src/components/userDetailsForm/RenderCustomFields.tsx +0 -333
  202. package/src/components/userDetailsForm/userDetailsForm.tsx +0 -675
  203. package/src/hooks/index.ts +0 -4
  204. package/src/hooks/useExitIntent.ts +0 -452
  205. package/src/hooks/useIsMobile.tsx +0 -21
  206. package/src/hooks/useMessageEvent.ts +0 -8
  207. package/src/hooks/useTriggeredIntentDetails.ts +0 -43
  208. package/src/hooks/useUrlListerner.ts +0 -30
  209. package/src/hooks/useWebSocketLogger.ts +0 -59
  210. package/src/hooks/useWindowEvent.ts +0 -8
  211. package/src/icons/copyIcon.tsx +0 -26
  212. package/src/icons/crossIconDesktop.tsx +0 -20
  213. package/src/icons/crossIconMobile.tsx +0 -20
  214. package/src/index.html +0 -30
  215. package/src/index.ts +0 -32
  216. package/src/index.tsx +0 -1
  217. package/src/repo/widgetRepo.ts +0 -21
  218. package/src/types/customFields.ts +0 -73
  219. package/src/utilities/cookie.ts +0 -70
  220. package/src/utilities/customFieldTypeMapping.ts +0 -67
  221. package/src/utilities/customFieldValidation.ts +0 -201
  222. package/src/utilities/encryption.ts +0 -21
  223. package/src/utilities/exitIntentUtils.ts +0 -31
  224. package/src/utilities/global.css +0 -11
  225. package/src/utilities/languageUtilities.ts +0 -235
  226. package/src/utilities/localRunner.js +0 -26
  227. package/src/utilities/localRunner.ts +0 -27
  228. package/src/utilities/localStorage.ts +0 -40
  229. package/src/utilities/script.tsx +0 -15
  230. package/src/utilities/stringUtils.ts +0 -5
  231. package/src/utilities/styleUtils.ts +0 -134
  232. package/src/utilities/variables.ts +0 -11
  233. package/src/utilities/widgetUtils.js +0 -342
  234. package/src/utilities/widgetUtils.ts +0 -313
  235. package/src/widgets/BottomDrawer/config.ts +0 -41
  236. package/src/widgets/BottomDrawer/index.tsx +0 -116
  237. package/src/widgets/BottomDrawer/modal.tsx +0 -286
  238. package/src/widgets/BottomDrawer/preview.module.css +0 -122
  239. package/src/widgets/BottomDrawer/previewMobile.module.css +0 -124
  240. package/src/widgets/BottomDrawer/style.module.css +0 -279
  241. package/src/widgets/CaptivateBanner/captivateBanner.tsx +0 -200
  242. package/src/widgets/CaptivateBanner/config.ts +0 -72
  243. package/src/widgets/CaptivateBanner/index.tsx +0 -204
  244. package/src/widgets/CaptivateBanner/previewDesktop.module.css +0 -51
  245. package/src/widgets/CaptivateBanner/previewMobile.module.css +0 -51
  246. package/src/widgets/CaptivateBanner/style.module.css +0 -77
  247. package/src/widgets/CaptivateBanner/utils.ts +0 -104
  248. package/src/widgets/CentrallyAlignedPopup/config.ts +0 -42
  249. package/src/widgets/CentrallyAlignedPopup/index.tsx +0 -109
  250. package/src/widgets/CentrallyAlignedPopup/modal.tsx +0 -269
  251. package/src/widgets/CentrallyAlignedPopup/preview.module.css +0 -153
  252. package/src/widgets/CentrallyAlignedPopup/previewMobile.module.css +0 -153
  253. package/src/widgets/CentrallyAlignedPopup/style.module.css +0 -283
  254. package/src/widgets/DirectReward/components/couponDetails.tsx +0 -265
  255. package/src/widgets/DirectReward/components/userDetails.tsx +0 -117
  256. package/src/widgets/DirectReward/config.ts +0 -186
  257. package/src/widgets/DirectReward/directReward.tsx +0 -350
  258. package/src/widgets/DirectReward/index.tsx +0 -579
  259. package/src/widgets/DirectReward/previewStyles/thankYouPreviewDesktop.module.css +0 -276
  260. package/src/widgets/DirectReward/previewStyles/thankYouPreviewMobile.module.css +0 -303
  261. package/src/widgets/DirectReward/previewStyles/userDetailsPreviewDesktop.module.css +0 -511
  262. package/src/widgets/DirectReward/previewStyles/userDetailsPreviewMobile.module.css +0 -462
  263. package/src/widgets/DirectReward/style.module.css +0 -836
  264. package/src/widgets/ExitIntentHook.tsx +0 -28
  265. package/src/widgets/STW/api.ts +0 -70
  266. package/src/widgets/STW/components/svgFactory.tsx +0 -44
  267. package/src/widgets/STW/config.ts +0 -193
  268. package/src/widgets/STW/context.ts +0 -7
  269. package/src/widgets/STW/couponDetails.tsx +0 -121
  270. package/src/widgets/STW/index.tsx +0 -733
  271. package/src/widgets/STW/previewStyles/thankyouPreviewDesktop.module.css +0 -215
  272. package/src/widgets/STW/previewStyles/thankyouPreviewMobile.module.css +0 -205
  273. package/src/widgets/STW/previewStyles/userInputsPreviewDesktop.module.css +0 -732
  274. package/src/widgets/STW/previewStyles/userInputsPreviewMobile.module.css +0 -661
  275. package/src/widgets/STW/previewStyles/wheelPreviewDesktop.module.css +0 -498
  276. package/src/widgets/STW/previewStyles/wheelPreviewMobile.module.css +0 -497
  277. package/src/widgets/STW/stw1.tsx +0 -119
  278. package/src/widgets/STW/stw2Components/wheelDesign.tsx +0 -183
  279. package/src/widgets/STW/stw2Pages/couponDetails.tsx +0 -72
  280. package/src/widgets/STW/stw2Pages/stw2.tsx +0 -212
  281. package/src/widgets/STW/stw2Pages/style.module.css +0 -1226
  282. package/src/widgets/STW/stw2Pages/userDetails.tsx +0 -86
  283. package/src/widgets/STW/stw2Pages/wheel.tsx +0 -117
  284. package/src/widgets/STW/stw2PreviewStyles/thankyouPreviewDesktop.module.css +0 -835
  285. package/src/widgets/STW/stw2PreviewStyles/thankyouPreviewMobile.module.css +0 -787
  286. package/src/widgets/STW/stw2PreviewStyles/userInputsPreviewDesktop.module.css +0 -867
  287. package/src/widgets/STW/stw2PreviewStyles/userInputsPreviewMobile.module.css +0 -798
  288. package/src/widgets/STW/stw2PreviewStyles/wheelPreviewDesktop.module.css +0 -572
  289. package/src/widgets/STW/stw2PreviewStyles/wheelPreviewMobile.module.css +0 -559
  290. package/src/widgets/STW/style.module.css +0 -901
  291. package/src/widgets/STW/userDetails.tsx +0 -150
  292. package/src/widgets/STW/utility.ts +0 -664
  293. package/src/widgets/STW/wheel.tsx +0 -304
  294. package/src/widgets/ScratchCard/ScratchOff/scratchOff.tsx +0 -157
  295. package/src/widgets/ScratchCard/config.ts +0 -152
  296. package/src/widgets/ScratchCard/globalStyle.module.css +0 -931
  297. package/src/widgets/ScratchCard/index.tsx +0 -546
  298. package/src/widgets/ScratchCard/modal.tsx +0 -225
  299. package/src/widgets/ScratchCard/preview.module.css +0 -250
  300. package/src/widgets/ScratchCard/previewMobile.module.css +0 -247
  301. package/src/widgets/ScratchCard/previewStyles/userDetailsPreviewDesktop.module.css +0 -537
  302. package/src/widgets/ScratchCard/previewStyles/userDetailsPreviewMobile.module.css +0 -463
  303. package/src/widgets/ScratchCard/style.module.css +0 -220
  304. package/src/widgets/ShopifyForm/config.ts +0 -168
  305. package/src/widgets/ShopifyForm/index.tsx +0 -214
  306. package/src/widgets/ShopifyForm/previewDesktop.module.css +0 -117
  307. package/src/widgets/ShopifyForm/previewMobile.module.css +0 -131
  308. package/src/widgets/ShopifyForm/shopifyForm.tsx +0 -445
  309. package/src/widgets/ShopifyForm/style.module.css +0 -161
  310. package/src/widgets/SingleButtonRedirection/config.ts +0 -47
  311. package/src/widgets/SingleButtonRedirection/index.tsx +0 -121
  312. package/src/widgets/WebStories/config.ts +0 -105
  313. package/src/widgets/WebStories/index.css +0 -3
  314. package/src/widgets/WebStories/index.tsx +0 -282
  315. package/src/widgets/WebStories/style.module.css +0 -26
  316. package/src/widgets/index.tsx +0 -3
  317. package/src/widgets/utility.ts +0 -31
  318. package/tsconfig.json +0 -12
  319. package/webpack.config.js +0 -239
@@ -1,95 +0,0 @@
1
- import React, { useContext, useCallback, useMemo } from 'react';
2
- import { STWContext } from '../../widgets/STW/context';
3
- import useIsMobile from '../../hooks/useIsMobile';
4
- import { LanguageUtils } from '../../utilities/languageUtilities';
5
- import { LANGUAGE_VALUES } from '@bikdotai/bik-models/dm';
6
- import { InputBox } from '../inputComponents/InputBox';
7
-
8
- interface EmailInputBoxProps {
9
- onChangeHandle: (
10
- value: string,
11
- key: 'isWhatsapp' | 'isSms' | 'isEmail',
12
- ) => void;
13
- value: string;
14
- error: string;
15
- title?: string;
16
- id?: string;
17
- fontColour: string;
18
- onFocusColour?: string;
19
- widgetLanguage: LANGUAGE_VALUES;
20
- }
21
-
22
- const EmailInputBox: React.FC<EmailInputBoxProps> = ({
23
- onChangeHandle,
24
- value,
25
- title,
26
- error,
27
- id,
28
- fontColour,
29
- onFocusColour,
30
- widgetLanguage,
31
- }) => {
32
- const { preview, isMobile } = useContext(STWContext);
33
- const isMobileDevice = useIsMobile();
34
- const languageUtilities = useMemo(() => new LanguageUtils(), []);
35
-
36
- const handleChange = useCallback(
37
- (newValue: string) => {
38
- onChangeHandle(newValue, 'isEmail');
39
- },
40
- [onChangeHandle],
41
- );
42
-
43
- const labelText =
44
- title ?? languageUtilities.getEmailPlaceholder(widgetLanguage, true);
45
-
46
- const containerStyle = useMemo(() => {
47
- const fontSize = preview ? (isMobile ? '12px' : '10px') : '14px';
48
-
49
- return {
50
- fontFamily: 'inherit',
51
- color: fontColour,
52
- fontSize,
53
- marginTop: preview ? 4 : 12,
54
- } as React.CSSProperties;
55
- }, [preview, isMobile, fontColour]);
56
-
57
- const inputBoxStyle = useMemo(
58
- () =>
59
- ({
60
- '--bik-inputBox-text-color': fontColour,
61
- '--bik-inputBox-label-color': fontColour,
62
- '--bik-inputBox-border-color': error ? '#b92321' : '#e0e0e0',
63
- '--bik-inputBox-error-border-color': '#b92321',
64
- }) as React.CSSProperties & Record<string, string>,
65
- [fontColour, onFocusColour, error],
66
- );
67
-
68
- const inputHeight = useMemo(() => {
69
- if (preview) {
70
- return isMobile ? 22 : 18;
71
- }
72
- return isMobileDevice ? 48 : 56;
73
- }, [preview, isMobile, isMobileDevice]);
74
-
75
- return (
76
- <div style={containerStyle}>
77
- <div style={inputBoxStyle}>
78
- <InputBox
79
- id={id}
80
- value={value || ''}
81
- onChange={handleChange}
82
- inputType="email"
83
- labelText={labelText}
84
- errorMessage={error}
85
- isRequired={false}
86
- inputHeight={inputHeight}
87
- fontColour={fontColour}
88
- isPreview={preview}
89
- />
90
- </div>
91
- </div>
92
- );
93
- };
94
-
95
- export default EmailInputBox;
@@ -1,224 +0,0 @@
1
- import React, { useEffect, useState } from 'react';
2
- import 'utilities/global.css';
3
- import previewStyle from './preview.module.css';
4
- import style from './style.module.css';
5
- import SVG from 'react-inlinesvg';
6
- import {
7
- ANIMATION_RUN,
8
- IRedirectWidgetCustomisation,
9
- WidgetSchema,
10
- LANGUAGE_VALUES,
11
- LANGUAGE_ISO_CODES,
12
- } from '@bikdotai/bik-models/dm';
13
- import useIsMobile from '../../hooks/useIsMobile';
14
- import { LanguageUtils } from 'utilities/languageUtilities';
15
-
16
- export interface IFab extends WidgetSchema {
17
- icon: any;
18
- onClick: () => void;
19
- preview?: boolean;
20
- isMobile?: boolean;
21
- buttonStyle?: React.CSSProperties;
22
- id?: string;
23
- }
24
-
25
- const AnimationElement: React.FC<{
26
- item: string;
27
- animationRun: ANIMATION_RUN;
28
- lottieName: string;
29
- }> = ({ item, animationRun, lottieName }) => {
30
- const loopValue = {
31
- [ANIMATION_RUN.ONCE]: 0,
32
- [ANIMATION_RUN.THREE_TIMES]: 2,
33
- [ANIMATION_RUN.TEN_TIMES]: 9,
34
- [ANIMATION_RUN.IN_A_LOOP]: true,
35
- };
36
- useEffect(() => {
37
- if (item) {
38
- import('lottie-web/build/player/lottie_light').then(module => {
39
- const lottie = module.default;
40
- const containerDiv = document.getElementById(
41
- `lottie-container-${lottieName}`,
42
- );
43
- containerDiv.innerHTML = '';
44
- lottie.loadAnimation({
45
- container: containerDiv,
46
- path: item,
47
- renderer: 'svg',
48
- loop: loopValue[animationRun],
49
- autoplay: true,
50
- });
51
- });
52
- }
53
- }, [item, animationRun]);
54
- return <></>;
55
- };
56
-
57
- export const IconSvg: React.FC<{
58
- item: string;
59
- iconColor: string;
60
- size: number;
61
- }> = ({ item, iconColor, size }) => {
62
- return (
63
- <SVG
64
- key={iconColor}
65
- src={item}
66
- width={size}
67
- height={size}
68
- preProcessor={code => code.replace(/fill=".*?"/g, `fill="${iconColor}"`)}
69
- />
70
- );
71
- };
72
-
73
- const Fab = (props: IFab) => {
74
- const widgetCustomisation =
75
- props.widgetCustomisation as IRedirectWidgetCustomisation;
76
- const languageUtils = new LanguageUtils();
77
- const [widgetLanguage, setWidgetLanguage] = useState(LANGUAGE_VALUES.ENGLISH);
78
- const { top, bottom, left, right } = widgetCustomisation?.fabPositioner ?? {};
79
- const transform = widgetCustomisation?.fabTransform;
80
- const [fabText, setFabText] = useState(
81
- widgetCustomisation?.multiLingualConfigurations?.[widgetLanguage]
82
- ?.fabText ?? widgetCustomisation?.fabText,
83
- );
84
- const fabIconLink = widgetCustomisation.fabIconLink;
85
- const fabImage = widgetCustomisation.fabImage;
86
- const fabLottie = widgetCustomisation.fabLottie;
87
- const isMobile = props.isMobile || screen.width < 768;
88
- const fabSize = isMobile
89
- ? widgetCustomisation?.fabMobileSize
90
- : widgetCustomisation?.fabWebSize;
91
- const fSize = fabSize ?? 75;
92
- let currentStyle;
93
- if (props?.preview) {
94
- currentStyle = previewStyle;
95
- } else {
96
- currentStyle = style;
97
- }
98
-
99
- const getElementsByIdPrefix = prefix => {
100
- let elements = document.querySelectorAll("[id^='" + prefix + "']");
101
- return Array.from(elements);
102
- };
103
-
104
- useEffect(() => {
105
- const isBikURL =
106
- window.location.href?.includes('https://dashboard.bik.ai/') ||
107
- window.location.href?.includes('https://staging.dashboard.bik.ai/');
108
- const previewLanguage = props?.widgetCustomisation?.previewLanguage;
109
- const storeLanguage =
110
- (isBikURL ? previewLanguage : window?.Shopify?.locale) ??
111
- previewLanguage ??
112
- LANGUAGE_ISO_CODES.EN;
113
- setWidgetLanguage(languageUtils.getStoreLanguage(storeLanguage));
114
- }, [window.location.href, props?.widgetCustomisation?.previewLanguage]);
115
-
116
- let lottieName;
117
- if (fabLottie) {
118
- const indexOfLastSlash = fabLottie.lastIndexOf('/') + 1;
119
- const indexOfJson = fabLottie.lastIndexOf('.json');
120
- lottieName = fabLottie.slice(indexOfLastSlash, indexOfJson);
121
- }
122
-
123
- useEffect(() => {
124
- if (!fabLottie && !fabImage && !fabIconLink) {
125
- const elements = getElementsByIdPrefix('lottie-container-');
126
- elements.forEach(element => {
127
- element.innerHTML = '';
128
- });
129
- }
130
- }, [fabLottie, fabImage, fabIconLink]);
131
-
132
- useEffect(() => {
133
- setFabText(
134
- widgetCustomisation?.multiLingualConfigurations?.[widgetLanguage]
135
- ?.fabText ?? widgetCustomisation?.fabText,
136
- );
137
- }, [
138
- widgetCustomisation?.fabText,
139
- widgetCustomisation?.multiLingualConfigurations,
140
- widgetLanguage,
141
- ]);
142
- let buttonStyle;
143
- if (fabText) {
144
- buttonStyle = props.buttonStyle ?? {
145
- width: 'fit-content',
146
- height: 'fit-content',
147
- borderRadius: 20,
148
- };
149
- }
150
-
151
- return (
152
- <>
153
- <button
154
- id={props.id}
155
- disabled={props.preview}
156
- className={currentStyle.container}
157
- style={{
158
- zIndex: 2147483647,
159
- cursor: 'pointer',
160
- border: 'none',
161
- transform: transform,
162
- backgroundColor: fabImage?.length
163
- ? undefined
164
- : `${widgetCustomisation?.fabBackgroundColor}`,
165
- top,
166
- left,
167
- bottom,
168
- right,
169
- boxShadow: fabImage
170
- ? undefined
171
- : 'rgba(0, 0, 0, 0.15) 0px 14px 28px,rgba(0, 0, 0, 0.15) 0px 10px 10px',
172
- position: widgetCustomisation?.fabPositioner,
173
- height: fSize,
174
- width: fSize,
175
- borderRadius: '50%',
176
- ...buttonStyle,
177
- }}
178
- onClick={props.onClick}
179
- >
180
- <div
181
- className={currentStyle.bikFabWrapper}
182
- style={{
183
- display: 'flex',
184
- flexDirection: 'row',
185
- alignItems: 'center',
186
- justifyContent: 'center',
187
- padding: fabText ? 8 : undefined,
188
- }}
189
- >
190
- {fabIconLink && !fabImage && (
191
- <IconSvg
192
- item={fabIconLink}
193
- size={fSize - 30}
194
- iconColor={widgetCustomisation.iconColor}
195
- />
196
- )}
197
- {fabImage && (
198
- <img
199
- width={fSize}
200
- height={fSize}
201
- src={fabImage}
202
- alt={'Fab image'}
203
- />
204
- )}
205
- <div
206
- id={`lottie-container-${lottieName}`}
207
- style={{ display: fabLottie ? 'block' : 'none' }}
208
- >
209
- {fabLottie && (
210
- <AnimationElement
211
- item={fabLottie}
212
- animationRun={widgetCustomisation.fabAnimationRun}
213
- lottieName={lottieName}
214
- />
215
- )}
216
- </div>
217
- {fabText && <div className={currentStyle.fabText}>{fabText}</div>}
218
- </div>
219
- </button>
220
- </>
221
- );
222
- };
223
-
224
- export default Fab;
@@ -1,28 +0,0 @@
1
- @import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700&display=swap');
2
-
3
- .container {
4
- width: 50px;
5
- height: 50px;
6
- position: absolute;
7
- right: 30px;
8
- bottom: 30px;
9
- border-radius: 25px;
10
- display: flex;
11
- align-items: center;
12
- justify-content: center;
13
- background: none;
14
- }
15
-
16
- .fabText {
17
- color: #fff;
18
- margin: 0 0 0 8px !important;
19
- font-family: 'Inter';
20
- font-weight: 500;
21
- font-size: 12px;
22
- line-height: 16px;
23
- }
24
-
25
- .bikFabWrapper svg {
26
- margin: unset !important;
27
- padding: unset !important;
28
- }
@@ -1,37 +0,0 @@
1
- @import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700&display=swap');
2
-
3
- .container {
4
- width: 70px;
5
- height: 70px;
6
- position: fixed;
7
- right: 30px;
8
- bottom: 30px;
9
- border-radius: 35px;
10
- display: flex;
11
- align-items: center;
12
- justify-content: center;
13
- background: none;
14
- z-index: 2147483646;
15
- min-width: unset !important;
16
- margin: unset !important;
17
- padding: unset !important;
18
- box-shadow: none !important;
19
- }
20
-
21
- .fabText {
22
- color: #fff;
23
- margin: 0 0 0 8px !important;
24
- font-family: 'Inter';
25
- font-weight: 500;
26
- font-size: 12px;
27
- line-height: 16px;
28
- }
29
-
30
- .bikFabWrapper svg {
31
- margin: unset !important;
32
- padding: unset !important;
33
- fill: none !important;
34
- stroke: none !important;
35
- width: unset !important;
36
- height: unset !important;
37
- }
@@ -1,26 +0,0 @@
1
- import React from 'react';
2
-
3
- const Call: React.FC<{ height?: number; width?: number }> = ({
4
- height,
5
- width,
6
- }) => {
7
- return (
8
- <svg
9
- width={width}
10
- height={height}
11
- viewBox="0 0 24 24"
12
- fill="none"
13
- xmlns="http://www.w3.org/2000/svg"
14
- >
15
- <rect width="24" height="24" fill="#212121" rx="4" ry="4" />
16
- <path
17
- fill-rule="evenodd"
18
- clip-rule="evenodd"
19
- d="M5.42812 2.83309H7.92144C8.52647 2.82822 9.1128 3.04296 9.57163 3.43754C10.0316 3.83311 10.332 4.38244 10.4169 4.98313L10.418 4.99079C10.5153 5.72822 10.6956 6.4523 10.9555 7.14921C11.1234 7.59634 11.1597 8.0822 11.0601 8.5493C10.9604 9.01676 10.7287 9.44584 10.3927 9.7857L10.3894 9.78902L9.7918 10.3866C10.7717 11.9238 12.0761 13.2282 13.6133 14.2081L14.2109 13.6105L14.2142 13.6072C14.554 13.2711 14.9831 13.0395 15.4506 12.9398C15.9177 12.8402 16.4035 12.8765 16.8507 13.0443C17.5476 13.3043 18.2717 13.4846 19.0091 13.5819L19.0165 13.5829C19.6237 13.6686 20.1783 13.9744 20.5747 14.4423C20.9687 14.9073 21.1791 15.5 21.1668 16.1091V18.5821C21.1669 18.5868 21.167 18.5916 21.167 18.5964C21.1684 18.9445 21.0971 19.2891 20.9576 19.6081C20.8181 19.927 20.6136 20.2134 20.3571 20.4487C20.1005 20.684 19.7977 20.8632 19.4679 20.9747C19.1407 21.0854 18.794 21.1271 18.45 21.0971C18.4422 21.0965 18.4345 21.0957 18.4268 21.0949C15.7342 20.8023 13.1477 19.8825 10.8749 18.4093C8.76063 17.0652 6.96788 15.2724 5.62373 13.1581C4.14538 10.875 3.22535 8.27586 2.93812 5.57109C2.93687 5.55932 2.93587 5.54757 2.93512 5.53587C2.90758 5.1975 2.94924 4.85699 3.05765 4.53511C3.16843 4.20619 3.34649 3.90395 3.58048 3.64761C3.81448 3.39128 4.09928 3.18647 4.41676 3.04624C4.73425 2.906 5.07745 2.83341 5.42453 2.83308C5.42572 2.83308 5.42692 2.83308 5.42812 2.83309ZM7.93333 4.49971C8.13554 4.49772 8.33157 4.56933 8.48489 4.70119C8.63742 4.83236 8.73732 5.01426 8.76622 5.21328C8.88009 6.07407 9.09082 6.91925 9.39438 7.73276L9.39508 7.73464C9.45114 7.88377 9.46327 8.04585 9.43004 8.20167C9.39694 8.35688 9.32022 8.49939 9.2089 8.61247L8.15254 9.66883C7.88728 9.93409 7.83195 10.3439 8.01738 10.67C9.27782 12.8867 11.1132 14.7221 13.3299 15.9825C13.656 16.1679 14.0658 16.1126 14.331 15.8473L15.3874 14.791C15.5005 14.6797 15.643 14.6029 15.7982 14.5698C15.954 14.5366 16.1161 14.5487 16.2652 14.6048L16.2671 14.6055C17.0807 14.9091 17.9259 15.1198 18.7867 15.2337C18.9879 15.2628 19.1716 15.3645 19.3031 15.5197C19.4352 15.6757 19.5055 15.8747 19.5004 16.0791C19.5002 16.086 19.5001 16.0929 19.5001 16.0998V18.5998C19.5001 18.6051 19.5002 18.6103 19.5003 18.6156C19.4991 18.7274 19.4754 18.8378 19.4305 18.9404C19.384 19.0467 19.3159 19.1421 19.2304 19.2206C19.1448 19.299 19.0439 19.3588 18.934 19.3959C18.8257 19.4325 18.7112 19.4465 18.5973 19.4369C16.166 19.1712 13.8307 18.3397 11.7785 17.0089L11.7721 17.0047C9.86184 15.7909 8.2423 14.1714 7.02847 12.2612L7.02453 12.255C5.69044 10.1957 4.85904 7.85166 4.59728 5.41211C4.59717 5.41077 4.59705 5.40943 4.59693 5.40808C4.58652 5.29286 4.60021 5.17673 4.63714 5.06709C4.67406 4.95745 4.73342 4.8567 4.81141 4.77126C4.88941 4.68581 4.98435 4.61755 5.09017 4.5708C5.19539 4.52433 5.30908 4.50014 5.42408 4.49975C5.42443 4.49975 5.42478 4.49976 5.42513 4.49976H7.92513L7.93333 4.49971Z"
20
- fill="white"
21
- />
22
- </svg>
23
- );
24
- };
25
-
26
- export default Call;
@@ -1,24 +0,0 @@
1
- import React from 'react';
2
-
3
- const Cross: React.FC<{ color?: string; height?: number; width?: number }> = ({
4
- color,
5
- height,
6
- width,
7
- }) => {
8
- return (
9
- <svg
10
- width={width}
11
- height={height}
12
- viewBox="0 0 24 24"
13
- fill="none"
14
- xmlns="http://www.w3.org/2000/svg"
15
- >
16
- <path
17
- d="M18.7071 6.70711C19.0976 6.31658 19.0976 5.68342 18.7071 5.29289C18.3166 4.90237 17.6834 4.90237 17.2929 5.29289L12 10.5858L6.70711 5.29289C6.31658 4.90237 5.68342 4.90237 5.29289 5.29289C4.90237 5.68342 4.90237 6.31658 5.29289 6.70711L10.5858 12L5.29289 17.2929C4.90237 17.6834 4.90237 18.3166 5.29289 18.7071C5.68342 19.0976 6.31658 19.0976 6.70711 18.7071L12 13.4142L17.2929 18.7071C17.6834 19.0976 18.3166 19.0976 18.7071 18.7071C19.0976 18.3166 19.0976 17.6834 18.7071 17.2929L13.4142 12L18.7071 6.70711Z"
18
- fill={color ?? '#616161'}
19
- />
20
- </svg>
21
- );
22
- };
23
-
24
- export default Cross;
@@ -1,61 +0,0 @@
1
- import React from 'react';
2
-
3
- const Gmail: React.FC<{ height?: number; width?: number }> = ({
4
- height,
5
- width,
6
- }) => {
7
- return (
8
- <svg
9
- width={width}
10
- height={height}
11
- viewBox="0 0 24 24"
12
- fill="none"
13
- xmlns="http://www.w3.org/2000/svg"
14
- >
15
- <rect width="24" height="24" fill="#FFF" />
16
- <g clip-path="url(#clip0_206_14956)">
17
- <path d="M22 2H2V22H22V2Z" fill="#FFF" />
18
- <path
19
- d="M4.29171 18.875H19.7084C20.5138 18.875 21.1667 18.2221 21.1667 17.4167V6.58333C21.1667 5.77792 20.5138 5.125 19.7084 5.125H4.29171C3.48629 5.125 2.83337 5.77792 2.83337 6.58333V17.4167C2.83337 18.2221 3.48629 18.875 4.29171 18.875Z"
20
- fill="#E0E0E0"
21
- />
22
- <path
23
- d="M12.8334 18.875H19.7084C20.5138 18.875 21.1667 18.2221 21.1667 17.4167V6.58333C21.1667 5.77792 20.5138 5.125 19.7084 5.125H4.29171C3.48629 5.125 2.83337 5.77792 2.83337 6.58333L12.8334 18.875Z"
24
- fill="#D9D9D9"
25
- />
26
- <path
27
- d="M4.81042 18.8753H19.7083C20.5138 18.8753 21.1667 18.2224 21.1667 17.417V6.79199L4.81042 18.8753Z"
28
- fill="#EEEEEE"
29
- />
30
- <path
31
- d="M12.7272 18.8753H19.7085C20.5139 18.8753 21.1668 18.2224 21.1668 17.417V6.79199L9.82141 15.1737L12.7272 18.8753Z"
32
- fill="#E0E0E0"
33
- />
34
- <path
35
- d="M19.7084 5.95868H4.29171C3.48629 5.95868 2.83337 5.77826 2.83337 6.58366V17.417C2.83337 18.2224 3.48629 18.8753 4.29171 18.8753H4.91671V7.00032H19.0834V18.8753H19.7084C20.5138 18.8753 21.1667 18.2224 21.1667 17.417V6.58366C21.1667 5.77826 20.5138 5.95868 19.7084 5.95868Z"
36
- fill="#CA3737"
37
- />
38
- <path
39
- d="M19.7084 5.125H12H4.29171C3.48629 5.125 2.83337 5.765 2.83337 6.58333C2.83337 7.08583 3.46587 7.52417 3.46587 7.52417L12 13.565L20.5342 7.52458C20.5342 7.52458 21.1667 7.08583 21.1667 6.58375C21.1667 5.765 20.5138 5.125 19.7084 5.125Z"
40
- fill="#F5F5F5"
41
- />
42
- <path
43
- d="M20.0192 5.15918L12 10.75L3.98087 5.15918C3.32504 5.2996 2.83337 5.87376 2.83337 6.58333C2.83337 7.08583 3.46587 7.52417 3.46587 7.52417L12 13.565L20.5342 7.52458C20.5342 7.52458 21.1667 7.08583 21.1667 6.58375C21.1667 5.87376 20.675 5.2996 20.0192 5.15918Z"
44
- fill="#E84F4B"
45
- />
46
- </g>
47
- <defs>
48
- <clipPath id="clip0_206_14956">
49
- <rect
50
- width="20"
51
- height="20"
52
- fill="white"
53
- transform="translate(2 2)"
54
- />
55
- </clipPath>
56
- </defs>
57
- </svg>
58
- );
59
- };
60
-
61
- export default Gmail;
@@ -1,60 +0,0 @@
1
- import React from 'react';
2
-
3
- const Instagram: React.FC<{ height?: number; width?: number }> = ({
4
- height,
5
- width,
6
- }) => {
7
- return (
8
- <svg
9
- width={width}
10
- height={height}
11
- viewBox="0 0 24 24"
12
- fill="none"
13
- xmlns="http://www.w3.org/2000/svg"
14
- >
15
- <g clip-path="url(#clip0_206_14957)">
16
- <path
17
- d="M6.08588 23.9151C5.15758 23.9047 4.23801 23.7344 3.36753 23.4118C2.73187 23.1768 2.15676 22.8027 1.68424 22.3169C1.19712 21.8454 0.822514 21.2701 0.588235 20.6339C0.265824 19.7634 0.0958076 18.8439 0.0856471 17.9158C0.0143529 16.3727 0 15.9099 0 12C0 8.09012 0.0157647 7.62894 0.0849412 6.08471C0.0963347 5.15689 0.266561 4.23788 0.588235 3.36753C0.823654 2.73176 1.19773 2.15642 1.68329 1.68329C2.15523 1.19662 2.73061 0.822358 3.36682 0.588235C4.2373 0.265557 5.15687 0.0953008 6.08518 0.0849412C7.62871 0.0143529 8.09224 0 12 0C15.9078 0 16.3711 0.0157647 17.9153 0.0849412C18.8434 0.0962542 19.7626 0.266481 20.6332 0.588235C21.2691 0.822667 21.8443 1.1968 22.3165 1.68306C22.8029 2.15535 23.1772 2.73073 23.4118 3.36682C23.7345 4.23729 23.9049 5.15686 23.9153 6.08518C23.9859 7.62941 24.0002 8.09177 24.0002 12.0005C24.0002 15.9092 23.9859 16.3715 23.9153 17.9158C23.9041 18.8439 23.7338 19.7633 23.4118 20.6339C23.1682 21.2652 22.7951 21.8386 22.3166 22.317C21.838 22.7954 21.2646 23.1683 20.6332 23.4118C19.7627 23.7345 18.8431 23.9049 17.9148 23.9153C16.372 23.9859 15.9082 24.0002 11.9995 24.0002C8.09082 24.0002 7.62847 23.9866 6.08565 23.9153"
18
- fill="url(#paint0_radial_206_14957)"
19
- />
20
- <path
21
- d="M6.08588 23.9151C5.15758 23.9047 4.23801 23.7344 3.36753 23.4118C2.73187 23.1768 2.15676 22.8027 1.68424 22.3169C1.19712 21.8454 0.822514 21.2701 0.588235 20.6339C0.265824 19.7634 0.0958076 18.8439 0.0856471 17.9158C0.0143529 16.3727 0 15.9099 0 12C0 8.09012 0.0157647 7.62894 0.0849412 6.08471C0.0963347 5.15689 0.26656 4.23788 0.588235 3.36753C0.823654 2.73176 1.19773 2.15642 1.68329 1.68329C2.15523 1.19662 2.73061 0.822358 3.36682 0.588235C4.2373 0.265557 5.15687 0.0953008 6.08518 0.0849412C7.62871 0.0143529 8.09224 0 12 0C15.9078 0 16.3711 0.0157647 17.9153 0.0849412C18.8434 0.0962542 19.7626 0.266481 20.6332 0.588235C21.2691 0.822667 21.8443 1.1968 22.3165 1.68306C22.8029 2.15535 23.1772 2.73073 23.4118 3.36682C23.7345 4.23729 23.9049 5.15686 23.9153 6.08518C23.9859 7.62941 24.0002 8.09177 24.0002 12.0005C24.0002 15.9092 23.9859 16.3715 23.9153 17.9158C23.9041 18.8439 23.7338 19.7633 23.4118 20.6339C23.1682 21.2652 22.7951 21.8386 22.3166 22.317C21.838 22.7954 21.2646 23.1683 20.6332 23.4118C19.7627 23.7345 18.8431 23.9049 17.9148 23.9153C16.372 23.9859 15.9082 24.0002 11.9995 24.0002C8.09082 24.0002 7.62871 23.9864 6.08588 23.9151Z"
22
- fill="url(#paint1_radial_206_14957)"
23
- />
24
- <path
25
- d="M9.05336 12.0513C9.05341 11.4635 9.22776 10.8889 9.55438 10.4001C9.88099 9.91141 10.3452 9.53051 10.8883 9.30562C11.4314 9.08073 12.029 9.02194 12.6055 9.13668C13.182 9.25142 13.7115 9.53453 14.1271 9.95023C14.5427 10.3659 14.8257 10.8955 14.9403 11.4721C15.0549 12.0486 14.996 12.6462 14.771 13.1892C14.5459 13.7323 14.1649 14.1964 13.6761 14.5229C13.1873 14.8494 12.6127 15.0236 12.0249 15.0235C11.2367 15.0234 10.4808 14.7102 9.92358 14.1528C9.36632 13.5954 9.0533 12.8395 9.05336 12.0513M7.44653 12.0513C7.44653 12.9568 7.71505 13.842 8.21812 14.5949C8.7212 15.3478 9.43624 15.9346 10.2728 16.2811C11.1094 16.6276 12.03 16.7183 12.9181 16.5417C13.8062 16.365 14.622 15.9289 15.2623 15.2887C15.9026 14.6484 16.3386 13.8326 16.5153 12.9445C16.6919 12.0564 16.6013 11.1358 16.2547 10.2992C15.9082 9.46262 15.3214 8.74758 14.5685 8.24451C13.8156 7.74143 12.9304 7.47291 12.0249 7.47291C11.4236 7.47288 10.8283 7.59129 10.2728 7.82136C9.71731 8.05143 9.21258 8.38867 8.78743 8.81381C8.36229 9.23896 8.02505 9.74369 7.79498 10.2992C7.56491 10.8547 7.4465 11.45 7.44653 12.0513M15.7145 7.2915C15.7144 7.50311 15.7771 7.70999 15.8946 7.88598C16.0121 8.06197 16.1791 8.19917 16.3746 8.28024C16.57 8.3613 16.7851 8.38259 16.9927 8.34139C17.2002 8.3002 17.3909 8.19839 17.5406 8.04883C17.6903 7.89927 17.7923 7.70868 17.8336 7.50116C17.875 7.29364 17.8539 7.07852 17.773 6.88298C17.6921 6.68745 17.5551 6.5203 17.3792 6.40267C17.2033 6.28503 16.9965 6.22219 16.7849 6.2221V6.2221C16.5013 6.22222 16.2293 6.33492 16.0287 6.53543C15.8281 6.73594 15.7153 7.00787 15.715 7.2915M8.42324 19.3089C7.85786 19.3027 7.29776 19.1992 6.76747 19.003C6.3829 18.8548 6.03363 18.6277 5.74214 18.3363C5.45064 18.045 5.22339 17.6958 5.075 17.3113C4.87871 16.781 4.77524 16.2209 4.76912 15.6555C4.72583 14.7157 4.71736 14.4334 4.71736 12.0524C4.71736 9.67151 4.72677 9.38986 4.76912 8.44915C4.77598 7.88383 4.87943 7.32384 5.075 6.79339C5.22322 6.4087 5.45041 6.05934 5.74191 5.76783C6.03342 5.47632 6.38278 5.24913 6.76747 5.10092C7.29773 4.90463 7.85785 4.80116 8.42324 4.79504C9.363 4.75174 9.64535 4.74327 12.0254 4.74327C14.4054 4.74327 14.6879 4.75245 15.6286 4.79527C16.194 4.80213 16.754 4.90558 17.2844 5.10115C17.6691 5.24938 18.0185 5.47657 18.31 5.76808C18.6015 6.05959 18.8287 6.40894 18.9769 6.79362C19.1732 7.32389 19.2766 7.884 19.2828 8.44939C19.3261 9.39057 19.3345 9.67151 19.3345 12.0527C19.3345 14.4339 19.3258 14.7153 19.2828 15.656C19.2762 16.2213 19.1727 16.7814 18.9769 17.3117C18.8285 17.6962 18.6012 18.0454 18.3097 18.3368C18.0183 18.6282 17.669 18.8553 17.2844 19.0035C16.7542 19.1998 16.194 19.3033 15.6286 19.3094C14.6889 19.3527 14.4065 19.3612 12.0254 19.3612C9.64418 19.3612 9.36277 19.3524 8.42324 19.3094M8.34936 3.18963C7.60955 3.20417 6.87758 3.34419 6.18465 3.60374C5.5923 3.83277 5.05434 4.18305 4.60527 4.63212C4.15619 5.0812 3.80591 5.61915 3.57688 6.2115C3.31737 6.90445 3.17735 7.63641 3.16277 8.37621C3.11877 9.3268 3.10889 9.6308 3.10889 12.0522C3.10889 14.4736 3.11901 14.7774 3.16277 15.7282C3.17735 16.468 3.31737 17.2 3.57688 17.8929C3.80592 18.4853 4.15621 19.0232 4.60528 19.4723C5.05435 19.9214 5.5923 20.2716 6.18465 20.5007C6.87762 20.7601 7.60957 20.9001 8.34936 20.9148C9.30042 20.9581 9.60394 20.9687 12.0254 20.9687C14.4468 20.9687 14.7505 20.9586 15.7014 20.9148C16.4412 20.9002 17.1731 20.7602 17.8661 20.5007C18.4584 20.2716 18.9964 19.9214 19.4454 19.4723C19.8945 19.0232 20.2448 18.4853 20.4738 17.8929C20.7337 17.2001 20.8737 16.4681 20.8879 15.7282C20.9312 14.7769 20.9411 14.4736 20.9411 12.0522C20.9411 9.6308 20.931 9.32704 20.8879 8.37621C20.8734 7.63641 20.7334 6.90444 20.4738 6.2115C20.2448 5.61927 19.8946 5.08139 19.4457 4.63233C18.9967 4.18327 18.4589 3.83293 17.8668 3.60374C17.1739 3.34403 16.4419 3.204 15.7021 3.18963C14.7512 3.1461 14.4475 3.13574 12.0265 3.13574C9.60559 3.13574 9.30112 3.14586 8.34982 3.18963"
26
- fill="white"
27
- />
28
- </g>
29
- <defs>
30
- <radialGradient
31
- id="paint0_radial_206_14957"
32
- cx="0"
33
- cy="0"
34
- r="1"
35
- gradientUnits="userSpaceOnUse"
36
- gradientTransform="translate(1.55318 23.4744) scale(30.4711)"
37
- >
38
- <stop offset="0.09" stop-color="#FA8F21" />
39
- <stop offset="0.78" stop-color="#D82D7E" />
40
- </radialGradient>
41
- <radialGradient
42
- id="paint1_radial_206_14957"
43
- cx="0"
44
- cy="0"
45
- r="1"
46
- gradientUnits="userSpaceOnUse"
47
- gradientTransform="translate(16.624 22.7035) scale(26.8148)"
48
- >
49
- <stop offset="0.64" stop-color="#8C3AAA" stop-opacity="0" />
50
- <stop offset="1" stop-color="#8C3AAA" />
51
- </radialGradient>
52
- <clipPath id="clip0_206_14957">
53
- <rect width="24" height="24" fill="white" />
54
- </clipPath>
55
- </defs>
56
- </svg>
57
- );
58
- };
59
-
60
- export default Instagram;
@@ -1,43 +0,0 @@
1
- import React from 'react';
2
-
3
- const LiveChat: React.FC<{ height?: number; width?: number }> = ({
4
- height,
5
- width,
6
- }) => {
7
- return (
8
- <svg
9
- version="1.0"
10
- xmlns="http://www.w3.org/2000/svg"
11
- width={width}
12
- height={height}
13
- viewBox="0 0 344.000000 344.000000"
14
- preserveAspectRatio="xMidYMid meet"
15
- >
16
- <g
17
- transform="translate(0.000000,344.000000) scale(0.100000,-0.100000)"
18
- fill="#000000"
19
- stroke="none"
20
- >
21
- <path
22
- d="M730 3151 c-124 -38 -214 -140 -242 -272 l-12 -57 -45 -6 c-107 -14
23
- -212 -94 -260 -196 l-26 -55 0 -810 0 -810 26 -56 c34 -72 96 -134 168 -168
24
- 53 -25 66 -26 235 -29 l178 -3 -6 -72 c-13 -137 -47 -196 -169 -294 -33 -26
25
- -35 -65 -6 -94 20 -20 29 -21 113 -16 114 7 189 26 291 76 143 71 253 177 336
26
- 328 l40 72 677 3 c670 3 677 3 724 25 100 46 177 145 200 257 l10 54 54 10
27
- c112 23 211 100 257 200 22 47 22 48 22 862 l0 815 -25 50 c-36 74 -114 148
28
- -183 173 l-58 22 -1137 -1 c-625 0 -1148 -4 -1162 -8z m2327 -150 c24 -14 55
29
- -42 70 -64 l28 -40 2 -791 3 -791 -23 -40 c-27 -47 -88 -92 -139 -101 l-37 -6
30
- -3 693 -3 694 -27 57 c-35 75 -95 138 -165 174 l-58 29 -1042 3 -1043 2 0 23
31
- c1 66 72 150 147 174 28 9 316 11 1143 10 l1105 -2 42 -24z m-346 -344 c24
32
- -13 58 -43 74 -66 l30 -43 0 -793 0 -793 -30 -43 c-17 -24 -46 -52 -65 -64
33
- -34 -19 -52 -20 -737 -25 -800 -6 -720 5 -761 -98 -31 -78 -106 -185 -165
34
- -237 -52 -46 -166 -108 -221 -121 l-28 -7 26 45 c35 61 56 162 56 279 0 139
35
- 12 133 -264 139 l-223 5 -36 27 c-19 16 -46 43 -59 60 l-23 33 -3 788 c-2 759
36
- -2 788 17 825 22 42 52 72 96 95 27 15 149 16 1151 17 l1121 0 44 -23z"
37
- />
38
- </g>
39
- </svg>
40
- );
41
- };
42
-
43
- export default LiveChat;
@@ -1,57 +0,0 @@
1
- import React from 'react';
2
-
3
- const Messenger: React.FC<{ height?: number; width?: number }> = ({
4
- height,
5
- width,
6
- }) => {
7
- return (
8
- <svg
9
- width={width}
10
- height={height}
11
- viewBox="0 0 24 24"
12
- fill="none"
13
- xmlns="http://www.w3.org/2000/svg"
14
- >
15
- <rect width="24" height="24" fill="#FAFAFA" />
16
- <g clip-path="url(#clip0_206_14943)">
17
- <path
18
- fill-rule="evenodd"
19
- clip-rule="evenodd"
20
- d="M12 2C6.3675 2 2 6.1275 2 11.7C2 14.615 3.195 17.135 5.14 18.875C5.3025 19.02 5.4025 19.225 5.4075 19.445L5.4625 21.225C5.48 21.7925 6.065 22.1625 6.585 21.9325L8.57 21.0575C8.7375 20.9825 8.9275 20.97 9.105 21.0175C10.0175 21.2675 10.9875 21.4025 12 21.4025C17.6325 21.4025 22 17.275 22 11.7025C22 6.13 17.6325 2 12 2Z"
21
- fill="url(#paint0_radial_206_14943)"
22
- />
23
- <path
24
- fill-rule="evenodd"
25
- clip-rule="evenodd"
26
- d="M5.99495 14.5373L8.93245 9.87725C9.39995 9.13475 10.3999 8.95225 11.1024 9.47725L13.4399 11.2298C13.6549 11.3898 13.9499 11.3898 14.1624 11.2273L17.3174 8.83225C17.7374 8.51225 18.2874 9.01725 18.0074 9.46475L15.0674 14.1223C14.5999 14.8648 13.5999 15.0473 12.8974 14.5223L10.5599 12.7698C10.3449 12.6098 10.0499 12.6098 9.83745 12.7723L6.68245 15.1673C6.26245 15.4873 5.71245 14.9848 5.99495 14.5373Z"
27
- fill="white"
28
- />
29
- </g>
30
- <defs>
31
- <radialGradient
32
- id="paint0_radial_206_14943"
33
- cx="0"
34
- cy="0"
35
- r="1"
36
- gradientUnits="userSpaceOnUse"
37
- gradientTransform="translate(5.85 21.8911) scale(21.792 21.792)"
38
- >
39
- <stop stop-color="#0099FF" />
40
- <stop offset="0.6098" stop-color="#A033FF" />
41
- <stop offset="0.9348" stop-color="#FF5280" />
42
- <stop offset="1" stop-color="#FF7061" />
43
- </radialGradient>
44
- <clipPath id="clip0_206_14943">
45
- <rect
46
- width="20"
47
- height="20"
48
- fill="white"
49
- transform="translate(2 2)"
50
- />
51
- </clipPath>
52
- </defs>
53
- </svg>
54
- );
55
- };
56
-
57
- export default Messenger;