@stokr/components-library 0.5.4 → 0.5.6

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 (434) hide show
  1. package/build/asset-manifest.json +9 -0
  2. package/build/favicon.ico +0 -0
  3. package/build/index.html +1 -0
  4. package/build/logo192.png +0 -0
  5. package/build/logo512.png +0 -0
  6. package/build/manifest.json +25 -0
  7. package/build/robots.txt +3 -0
  8. package/build/static/js/main.31d6cfe0.js +0 -0
  9. package/dist/AccountBalance/AccountBalance.js +43 -0
  10. package/dist/AccountBalance/AccountBalance.stories.js +75 -0
  11. package/dist/AccountBalance/AccountBalance.styles.js +38 -0
  12. package/dist/AdminDashboard/Table/Table.js +120 -0
  13. package/dist/AdminDashboard/Table/Table.styles.js +111 -0
  14. package/dist/AgreementItem/AgreementItem.js +38 -0
  15. package/dist/AgreementItem/AgreementItem.stories.js +98 -0
  16. package/dist/AgreementItem/AgreementItem.styles.js +31 -0
  17. package/dist/AnalyticGraphs/Analytic.js +528 -0
  18. package/dist/AnalyticGraphs/Analytic.styles.js +49 -0
  19. package/dist/BackButton/BackButton.js +22 -0
  20. package/dist/BackButton/BackButton.stories.js +24 -0
  21. package/dist/BackButton/BackButton.styles.js +110 -0
  22. package/dist/Background/Background.js +34 -0
  23. package/dist/Background/Background.stories.js +50 -0
  24. package/dist/Background/Background.styles.js +113 -0
  25. package/dist/BarChart/BarChart.js +258 -0
  26. package/dist/BarChart/BarChart.stories.js +46 -0
  27. package/dist/BarChart/BarChart.styles.js +93 -0
  28. package/dist/BarChartLegend/BarChartLegend.js +74 -0
  29. package/dist/BarChartLegend/BarChartLegend.styles.js +26 -0
  30. package/dist/BasicTable/BasicTable.js +20 -0
  31. package/dist/BasicTable/BasicTable.stories.js +51 -0
  32. package/dist/BasicTable/BasicTable.styles.js +64 -0
  33. package/dist/Button/Button.stories.js +63 -0
  34. package/dist/Button/Button.styles.js +180 -0
  35. package/dist/ButtonContainer/ButtonContainer.styles.js +25 -0
  36. package/dist/CapitalRaisedSummary/CapitalRaisedSummery.stories.js +35 -0
  37. package/dist/CapitalRaisedSummary/CaptialRaisedSummary.js +23 -0
  38. package/dist/CapitalRaisedSummary/CaptialRaisedSummary.styles.js +36 -0
  39. package/dist/ChartBox/ChartBox.js +34 -0
  40. package/dist/ChartBox/ChartBox.stories.js +9 -0
  41. package/dist/ChartBox/ChartBox.styles.js +50 -0
  42. package/dist/ChartBox/ChartBoxDistribution.js +20 -0
  43. package/dist/ChartBox/ChartBoxDistribution.stories.js +10 -0
  44. package/dist/ChartLegend/ChartLegend.js +37 -0
  45. package/dist/ChartLegend/ChartLegend.stories.js +74 -0
  46. package/dist/ChartLegend/ChartLegend.styles.js +67 -0
  47. package/dist/Checkbox/Checkbox.js +108 -0
  48. package/dist/Checkbox/Checkbox.stories.js +82 -0
  49. package/dist/Checkbox/Checkbox.styles.js +123 -0
  50. package/dist/Checklist/UserChecklist.js +247 -0
  51. package/dist/Checklist/UserChecklist.stories.js +115 -0
  52. package/dist/ComponentScroll/ComponentScroll.js +99 -0
  53. package/dist/ComponentScroll/ComponentScroll.stories.js +92 -0
  54. package/dist/ComponentScroll/ComponentScroll.styles.js +104 -0
  55. package/dist/ComponentWrapper/ComponentWrapper.styles.js +128 -0
  56. package/dist/CryptoAddress/ComponentWrap.js +24 -0
  57. package/dist/CryptoAddress/CryptoAddress.js +124 -0
  58. package/dist/CryptoAddress/CryptoAddress.stories.js +163 -0
  59. package/dist/CryptoAddress/CryptoAddress.styles.js +399 -0
  60. package/dist/CryptoAddress/RadioWrap.js +36 -0
  61. package/dist/CryptoAddressDetails/CryptoAddressDetails.js +42 -0
  62. package/dist/CryptoAddressDetails/CryptoAddressDetails.stories.js +65 -0
  63. package/dist/CryptoAddressDetails/CryptoAddressDetails.styles.js +114 -0
  64. package/dist/CryptoAddressWrapper/CryptoAddressWrapper.js +30 -0
  65. package/dist/CryptoAddressWrapper/CryptoAddressWrapper.styles.js +98 -0
  66. package/dist/DonutChart/DonutChart.js +137 -0
  67. package/dist/DonutChart/DonutChart.stories.js +39 -0
  68. package/dist/DonutChart/DonutChart.styles.js +101 -0
  69. package/dist/DoubleButton/DoubleButton.styles.js +25 -0
  70. package/dist/ErrorMessage/ErrorMessage.styles.js +9 -0
  71. package/dist/FAQ/FAQ.js +40 -0
  72. package/dist/FAQ/FAQ.stories.js +63 -0
  73. package/dist/FAQ/FAQ.styles.js +69 -0
  74. package/dist/Footer/Footer.js +54 -0
  75. package/dist/Footer/Footer.stories.js +41 -0
  76. package/dist/Footer/Footer.styles.js +230 -0
  77. package/dist/Footer/FooterLayout.js +114 -0
  78. package/dist/Footer/FooterLayout.stories.js +20 -0
  79. package/dist/Footer/FooterMenu.js +83 -0
  80. package/dist/Footer/FooterMenu.stories.js +110 -0
  81. package/dist/Footer/FooterMenu.styles.js +274 -0
  82. package/dist/Footer/index.js +4 -0
  83. package/dist/{03f9f978feb2b015b6812ba10f689967.png → Footer/lemonway.png} +0 -0
  84. package/dist/Footer/sicos-logo.svg +1 -0
  85. package/dist/ForgotPasswordModal/ForgotPasswordModal.js +89 -0
  86. package/dist/ForgotPasswordModal/ForgotPasswordModal.stories.js +31 -0
  87. package/dist/Form/Form.js +38 -0
  88. package/dist/Form/Form.stories.js +23 -0
  89. package/dist/Form/Form.styles.js +66 -0
  90. package/dist/FullscreenCard/FullscreenCard.styles.js +36 -0
  91. package/dist/Grid/Grid.styles.js +109 -0
  92. package/dist/Header/Header.js +369 -0
  93. package/dist/Header/Header.stories.js +172 -0
  94. package/dist/Header/Header.styles.js +493 -0
  95. package/dist/Icon/Icon.style.js +75 -0
  96. package/dist/InfoIcon/InfoIcon.js +40 -0
  97. package/dist/InfoIcon/InfoIcon.stories.js +40 -0
  98. package/dist/InfoIcon/InfoIcon.styles.js +42 -0
  99. package/dist/InfoPanel/InfoPanel.js +115 -0
  100. package/dist/Input/DatePickerInput.js +64 -0
  101. package/dist/Input/DatePickerInput.stories.js +80 -0
  102. package/dist/Input/DatePickerInput.styles.js +67 -0
  103. package/dist/Input/Input.js +86 -0
  104. package/dist/Input/Input.stories.js +134 -0
  105. package/dist/Input/Input.styles.js +126 -0
  106. package/dist/Input/InputPassword.js +122 -0
  107. package/dist/Input/InputPassword.stories.js +72 -0
  108. package/dist/Input/InputPassword.styles.js +139 -0
  109. package/dist/Input/RangeInput.js +46 -0
  110. package/dist/Input/RangeInput.stories.js +48 -0
  111. package/dist/Input/RangeInput.styles.js +125 -0
  112. package/dist/Input/Select.js +130 -0
  113. package/dist/Input/Select.stories.js +129 -0
  114. package/dist/Input/Select.styles.js +143 -0
  115. package/dist/InvestCalculator/InvestCalculator.js +353 -0
  116. package/dist/InvestCalculator/InvestCalculator.stories.js +129 -0
  117. package/dist/InvestCalculator/InvestCalculator.styles.js +78 -0
  118. package/dist/InvestmentStat/InvestmentStat.js +33 -0
  119. package/dist/InvestmentStat/InvestmentStat.stories.js +44 -0
  120. package/dist/InvestmentStat/InvestmentStat.styles.js +53 -0
  121. package/dist/KYCFlow/BasicInfo.js +396 -0
  122. package/dist/KYCFlow/Confirmation.js +37 -0
  123. package/dist/KYCFlow/DocumentFileUpload.js +240 -0
  124. package/dist/KYCFlow/DocumentScan.js +66 -0
  125. package/dist/KYCFlow/DocumentScanUpload.js +228 -0
  126. package/dist/KYCFlow/DocumentSelect.js +101 -0
  127. package/dist/KYCFlow/DocumentSuccess.js +54 -0
  128. package/dist/KYCFlow/DocumentUpload.js +44 -0
  129. package/dist/KYCFlow/DocumentVerificationType.js +114 -0
  130. package/dist/KYCFlow/FaceScan.js +45 -0
  131. package/dist/KYCFlow/FaceScanRecognition.js +52 -0
  132. package/dist/KYCFlow/FaceScanSuccess.js +47 -0
  133. package/dist/KYCFlow/Terms.js +99 -0
  134. package/dist/KYCFlow/_styles.js +284 -0
  135. package/dist/KYCFlow/index.js +14 -0
  136. package/dist/KYCSelectBox/KYCSelectBox.styles.js +62 -0
  137. package/dist/LatestUpdate/LatestUpdate.js +35 -0
  138. package/dist/LatestUpdate/LatestUpdate.stories.js +51 -0
  139. package/dist/LatestUpdate/LatestUpdate.styles.js +77 -0
  140. package/dist/Layout/Layout-func-no-work.js +67 -0
  141. package/dist/Layout/Layout.js +68 -0
  142. package/dist/Layout/Layout.stories.js +55 -0
  143. package/dist/LearnMoreCarousel/LearnMoreCarousel.js +39 -0
  144. package/dist/LearnMoreCarousel/LearnMoreCarousel.stories.js +58 -0
  145. package/dist/LearnMoreCarousel/LearnMoreCarousel.styles.js +205 -0
  146. package/dist/LearnMorePage/LearnMore.js +199 -0
  147. package/dist/LearnMorePage/LearnMore.shared.styles.js +49 -0
  148. package/dist/LearnMorePage/LearnMore.stories.js +41 -0
  149. package/dist/LearnMorePage/LearnMore.styles.js +250 -0
  150. package/dist/LearnMorePage/LearnMoreExampleObject.js +102 -0
  151. package/dist/LearnMorePage/LearnMoreItem.js +73 -0
  152. package/dist/LearnMorePage/LearnMoreItem.stories.js +54 -0
  153. package/dist/LearnMorePage/LearnMoreItem.styles.js +218 -0
  154. package/dist/LearnMoreSection/LearnMore.js +158 -0
  155. package/dist/LearnMoreSection/LearnMore.stories.js +23 -0
  156. package/dist/LearnMoreSection/LearnMore.styles.js +134 -0
  157. package/dist/LearnMoreSection/LearnMoreItem.js +39 -0
  158. package/dist/LearnMoreSection/LearnMoreItem.stories.js +52 -0
  159. package/dist/LearnMoreSection/LearnMoreItem.styles.js +54 -0
  160. package/dist/LoginModal/LoginModal.js +125 -0
  161. package/dist/MainMenu/DynamicMainMenu.js +41 -0
  162. package/dist/MainMenu/MainMenu.js +207 -0
  163. package/dist/MainMenu/MainMenu.styles.js +361 -0
  164. package/dist/MatomoConnect/Matomo.js +221 -0
  165. package/dist/MatomoConnect/Matomo_fuckup.js +185 -0
  166. package/dist/MenuNav/MenuNav.styles.js +88 -0
  167. package/dist/Modal/Modal.js +71 -0
  168. package/dist/Modal/Modal.stories.js +67 -0
  169. package/dist/Modal/Modal.styles.js +407 -0
  170. package/dist/MultiProgressBar/MultiProgressBar.js +33 -0
  171. package/dist/MultiProgressBar/MultiProgressBar.stories.js +61 -0
  172. package/dist/MultiProgressBar/MultiProgressBar.styles.js +92 -0
  173. package/dist/Newsletter/Newsletter.js +106 -0
  174. package/dist/Newsletter/Newsletter.stories.js +8 -0
  175. package/dist/Newsletter/Newsletter.styles.js +173 -0
  176. package/dist/NotificationContext/NotificationContext.js +126 -0
  177. package/dist/NotificationContext/NotificationContext.stories.js +32 -0
  178. package/dist/NotificationCounter/NotificationCounter.styles.js +23 -0
  179. package/dist/Number/Number.js +25 -0
  180. package/dist/Number/Number.stories.js +18 -0
  181. package/dist/Number/Number.styles.js +21 -0
  182. package/dist/PageTransition/PageTransition.js +42 -0
  183. package/dist/Process/Process.stories.js +34 -0
  184. package/dist/Process/Process.styles.js +87 -0
  185. package/dist/ProfileBadge/ProfileBadge.js +46 -0
  186. package/dist/ProfileBadge/ProfileBadge.stories.js +37 -0
  187. package/dist/ProfileBadge/ProfileBadge.styles.js +47 -0
  188. package/dist/ProfileBox/ProfileBox.js +29 -0
  189. package/dist/ProfileBox/ProfileBox.stories.js +27 -0
  190. package/dist/ProfileBox/ProfileBox.styles.js +60 -0
  191. package/dist/ProfileHeader/ProfileHeader-CLb4.js +401 -0
  192. package/dist/ProfileHeader/ProfileHeader.js +268 -0
  193. package/dist/ProfileHeader/ProfileHeader.styles.js +114 -0
  194. package/dist/ProfileStat/ProfileStat.js +32 -0
  195. package/dist/ProfileStat/ProfileStat.stories.js +58 -0
  196. package/dist/ProfileStat/ProfileStat.styles.js +80 -0
  197. package/dist/ProofOfAddress/ProofOfAddress.styles.js +76 -0
  198. package/dist/ROI/ROI.js +261 -0
  199. package/dist/ROI/ROI.styles.js +71 -0
  200. package/dist/ROI/ROIChart.js +348 -0
  201. package/dist/ROI/ROIChart.styles.js +98 -0
  202. package/dist/ROI/ROIModal.js +74 -0
  203. package/dist/ROI/ROIScenarioBox.js +46 -0
  204. package/dist/ROI/ROIScenarioBox.styles.js +131 -0
  205. package/dist/Radio/Radio.js +58 -0
  206. package/dist/Radio/Radio.stories.js +65 -0
  207. package/dist/Radio/Radio.styles.js +93 -0
  208. package/dist/RefreshButton/RefreshButton.js +14 -0
  209. package/dist/RefreshButton/RefreshButton.stories.js +29 -0
  210. package/dist/RefreshButton/RefreshButton.styles.js +57 -0
  211. package/dist/RegisterAlgorand/AlgoAddressName.js +103 -0
  212. package/dist/RegisterAlgorand/AlgoAdressSelect.js +274 -0
  213. package/dist/RegisterAlgorand/AlgoConnectWallet.js +37 -0
  214. package/dist/RegisterAlgorand/AlgoSuccess.js +28 -0
  215. package/dist/RegisterAlgorand/Algorand.stories.js +61 -0
  216. package/dist/RegisterAlgorand/ChooseWallet.js +77 -0
  217. package/dist/RegisterAlgorand/SelectProject.js +77 -0
  218. package/dist/RegisterAlgorand/_styles.js +30 -0
  219. package/dist/RegisterAlgorand/flow.js +243 -0
  220. package/dist/RegisterAlgorand/flowWithMemo.js +244 -0
  221. package/dist/RegisterAlgorand/index.js +7 -0
  222. package/dist/RegisterConfirmModal/RegisterConfirmModal.js +30 -0
  223. package/dist/RegisterConfirmModal/RegisterConfirmModal.stories.js +22 -0
  224. package/dist/RegisterConfirmModal/RegisterConfirmModal.styles.js +19 -0
  225. package/dist/RegisterEthereum/EthAddressLedger.js +151 -0
  226. package/dist/RegisterEthereum/EthAddressMetamask.js +165 -0
  227. package/dist/RegisterEthereum/EthAddressName.js +101 -0
  228. package/dist/RegisterEthereum/EthConnectLedger.js +117 -0
  229. package/dist/RegisterEthereum/EthConnectMetamask.js +25 -0
  230. package/dist/RegisterEthereum/EthFinish.js +32 -0
  231. package/dist/RegisterEthereum/EthIntro.js +77 -0
  232. package/dist/RegisterEthereum/_styles.js +30 -0
  233. package/dist/RegisterEthereum/index.js +9 -0
  234. package/dist/RegisterLiquidSteps/RegisterLiquidSteps.js +75 -0
  235. package/dist/RegisterLiquidSteps/RegisterLiquidSteps.stories.js +65 -0
  236. package/dist/RegisterLiquidSteps/RegisterLiquidSteps.styles.js +69 -0
  237. package/dist/RegisterLiquidSteps/assets/nav_green.svg +31 -0
  238. package/dist/RegisterLiquidSteps/assets/video.mp4 +0 -0
  239. package/dist/RegisterLiquidSteps/assets/videothumbnail.jpg +0 -0
  240. package/dist/RegisterLiquidSteps/complete.js +29 -0
  241. package/dist/RegisterLiquidSteps/flow.js +141 -0
  242. package/dist/RegisterLiquidSteps/index.js +29 -0
  243. package/dist/RegisterLiquidSteps/register-liquid.js +197 -0
  244. package/dist/RegisterModal/RegisterModal.js +143 -0
  245. package/dist/RegisterModal/RegisterModal.stories.js +35 -0
  246. package/dist/RequestDataBox/RequestDataBox.js +21 -0
  247. package/dist/RequestDataBox/RequestDataBox.stories.js +29 -0
  248. package/dist/RequestDataBox/RequestDataBox.styles.js +40 -0
  249. package/dist/RiskQuestionnaire/RiskQuestionnaireContext.js +111 -0
  250. package/dist/RiskQuestionnaire/_styles.js +6 -0
  251. package/dist/SEO/SEO.js +63 -0
  252. package/dist/SEO/SEO.stories.js +53 -0
  253. package/dist/SectionTitle/SectionTitle.styles.js +23 -0
  254. package/dist/SideLine/SideLine.js +4 -0
  255. package/dist/SideLine/SideLine.stories.js +20 -0
  256. package/dist/SideLine/SideLine.styles.js +29 -0
  257. package/dist/SigningSubflow/SignSubAddressMetamask.js +105 -0
  258. package/dist/SigningSubflow/SignSubConnectLedger.js +114 -0
  259. package/dist/SigningSubflow/SignSubConnectMetamask.js +101 -0
  260. package/dist/SigningSubflow/SignSubIntro.js +45 -0
  261. package/dist/SigningSubflow/SignSubSendLedger.js +114 -0
  262. package/dist/SigningSubflow/SignSubSendMetamask.js +53 -0
  263. package/dist/SigningSubflow/SignSubTransactionLedger.js +125 -0
  264. package/dist/SigningSubflow/SignSubTransactionMetamask.js +130 -0
  265. package/dist/SigningSubflow/_styles.js +59 -0
  266. package/dist/SigningSubflow/index.js +9 -0
  267. package/dist/Slider/Slider.js +43 -0
  268. package/dist/Slider/Slider.stories.js +63 -0
  269. package/dist/Slider/Slider.styles.js +115 -0
  270. package/dist/SpanButton/SpanButton.styles.js +14 -0
  271. package/dist/StatusBadge/StatusBadge.styles.js +16 -0
  272. package/dist/StepController/StepController.js +73 -0
  273. package/dist/StepController/StepController.stories.js +52 -0
  274. package/dist/StepController/StepController.styles.js +27 -0
  275. package/dist/StepController/StepControllerContext.js +61 -0
  276. package/dist/StepController/StepControllerProgress.js +28 -0
  277. package/dist/StepController/StepControllerProgress.stories.js +41 -0
  278. package/dist/StepsProgress/StepsProgress.js +95 -0
  279. package/dist/StepsProgress/StepsProgress.stories.js +23 -0
  280. package/dist/StepsProgress/StepsProgress.styles.js +97 -0
  281. package/dist/StokrLoader/StokrLoader.js +60 -0
  282. package/dist/StokrLoader/media.js +22 -0
  283. package/dist/StokrLoader/stokr_loader_white_400x400.gif +0 -0
  284. package/dist/SvgIcons/AdminBadgeSvg.js +16 -0
  285. package/dist/SvgIcons/CameraSvg.js +26 -0
  286. package/dist/SvgIcons/CapsLockSvg.js +21 -0
  287. package/dist/SvgIcons/DocumentBackSvg.js +25 -0
  288. package/dist/SvgIcons/DocumentSmallSvg.js +51 -0
  289. package/dist/SvgIcons/DocumentSvg.js +28 -0
  290. package/dist/SvgIcons/Early.js +14 -0
  291. package/dist/SvgIcons/EthSvg.js +30 -0
  292. package/dist/SvgIcons/EurSvg.js +16 -0
  293. package/dist/SvgIcons/FaceScanIconSvg.js +21 -0
  294. package/dist/SvgIcons/FourSvg.js +11 -0
  295. package/dist/SvgIcons/Glassess.js +19 -0
  296. package/dist/SvgIcons/Icons_Badge.png +0 -0
  297. package/dist/SvgIcons/LogoSvg.js +14 -0
  298. package/dist/SvgIcons/OneSvg.js +13 -0
  299. package/dist/SvgIcons/PassportSvg.js +46 -0
  300. package/dist/SvgIcons/RefreshSvg.js +17 -0
  301. package/dist/SvgIcons/SocialFacebook.js +15 -0
  302. package/dist/SvgIcons/SocialInstagram.js +15 -0
  303. package/dist/SvgIcons/SocialLinkedIn.js +15 -0
  304. package/dist/SvgIcons/SocialMedium.js +15 -0
  305. package/dist/SvgIcons/SocialReddit.js +15 -0
  306. package/dist/SvgIcons/SocialTelegram.js +15 -0
  307. package/dist/SvgIcons/SocialTwitter.js +15 -0
  308. package/dist/SvgIcons/SocialYoutube.js +15 -0
  309. package/dist/SvgIcons/ThreeSvg.js +10 -0
  310. package/dist/SvgIcons/TwoSidedDocumentSvg.js +72 -0
  311. package/dist/SvgIcons/TwoSvg.js +13 -0
  312. package/dist/SvgIcons/UpdateDefaultSvg.js +19 -0
  313. package/dist/SvgIcons/UpdateHardSvg.js +15 -0
  314. package/dist/SvgIcons/UpdateSoftSvg.js +17 -0
  315. package/dist/SvgIcons/UploadSvg.js +24 -0
  316. package/dist/SvgIcons/VerifiedBadge.js +13 -0
  317. package/dist/SvgIcons/index.js +32 -0
  318. package/dist/Switch/Switch.js +45 -0
  319. package/dist/Switch/Switch.stories.js +73 -0
  320. package/dist/Switch/Switch.styles.js +105 -0
  321. package/dist/Tabs/Tabs.js +48 -0
  322. package/dist/Tabs/Tabs.stories.js +28 -0
  323. package/dist/Tabs/Tabs.styles.js +11 -0
  324. package/dist/TabsNav/TabNav.js +21 -0
  325. package/dist/TabsNav/TabNav.stories.js +32 -0
  326. package/dist/TabsNav/TabsNav.js +23 -0
  327. package/dist/TabsNav/TabsNav.stories.js +25 -0
  328. package/dist/TabsNav/TabsNav.styles.js +80 -0
  329. package/dist/TeamOverview/TeamOverview.js +69 -0
  330. package/dist/TeamOverview/TeamOverview.stories.js +68 -0
  331. package/dist/TeamOverview/TeamOverview.styles.js +152 -0
  332. package/dist/Text/Headline.js +34 -0
  333. package/dist/Text/Headline.stories.js +40 -0
  334. package/dist/Text/StyledText.js +30 -0
  335. package/dist/Text/Text.stories.js +59 -0
  336. package/dist/Text/Text.styles.js +166 -0
  337. package/dist/TextLink/TextLink.styles.js +50 -0
  338. package/dist/ToDoList/ToDoList.js +172 -0
  339. package/dist/ToDoList/ToDoList.stories.js +123 -0
  340. package/dist/ToDoList/ToDoList.styles.js +115 -0
  341. package/dist/ToDoList/ToDoListTask.js +96 -0
  342. package/dist/ToDoList/ToDoListTask.stories.js +60 -0
  343. package/dist/ToDoList/ToDoListTask.styles.js +104 -0
  344. package/dist/TransactionDetails/TransactionDetails.js +27 -0
  345. package/dist/TransactionDetails/TransactionDetails.stories.js +47 -0
  346. package/dist/TransactionDetails/TransactionDetails.styles.js +31 -0
  347. package/dist/TransactionInfo/TransactionInfo.js +48 -0
  348. package/dist/TransactionInfo/TransactionInfo.stories.js +53 -0
  349. package/dist/TransactionInfo/TransactionInfo.styles.js +64 -0
  350. package/dist/TwoFactorModal/TwoFactorModal.js +84 -0
  351. package/dist/breakdown/Breakdown.js +124 -0
  352. package/dist/breakdown/index.js +2 -0
  353. package/dist/context/Auth.js +133 -0
  354. package/dist/context/AuthContext.js +154 -0
  355. package/dist/icons/Arrow.js +62 -0
  356. package/dist/icons/Arrow.stories.js +37 -0
  357. package/dist/icons/ArrowSimple.js +51 -0
  358. package/dist/icons/ArrowSimple.stories.js +41 -0
  359. package/dist/icons/Check.js +29 -0
  360. package/dist/icons/Check.stories.js +14 -0
  361. package/dist/icons/Facebook.js +15 -0
  362. package/dist/icons/Facebook.stories.js +15 -0
  363. package/dist/icons/Info.js +41 -0
  364. package/dist/icons/Info.stories.js +8 -0
  365. package/dist/icons/Instagram.js +15 -0
  366. package/dist/icons/Instagram.stories.js +15 -0
  367. package/dist/icons/LinkIcon.js +23 -0
  368. package/dist/icons/LinkIcon.stories.js +15 -0
  369. package/dist/icons/LinkedIn.js +29 -0
  370. package/dist/icons/LinkedIn.stories.js +8 -0
  371. package/dist/icons/Medium.js +28 -0
  372. package/dist/icons/Medium.stories.js +8 -0
  373. package/dist/icons/Reddit.js +18 -0
  374. package/dist/icons/Reddit.stories.js +15 -0
  375. package/dist/icons/Share.js +48 -0
  376. package/dist/icons/Share.stories.js +8 -0
  377. package/dist/icons/Telegram.js +28 -0
  378. package/dist/icons/Telegram.stories.js +8 -0
  379. package/dist/icons/Twitter.js +15 -0
  380. package/dist/icons/Twitter.stories.js +15 -0
  381. package/dist/icons/X.js +15 -0
  382. package/dist/icons/X.stories.js +8 -0
  383. package/dist/icons/Youtube.js +15 -0
  384. package/dist/icons/Youtube.stories.js +15 -0
  385. package/dist/icons/index.js +15 -0
  386. package/dist/index.js +177 -1
  387. package/dist/renderToBody/index.js +2 -0
  388. package/dist/renderToBody/renderToBody.js +26 -0
  389. package/dist/taxId/TaxId.stories.js +29 -0
  390. package/dist/taxId/complete.js +21 -0
  391. package/dist/taxId/flow.js +31 -0
  392. package/dist/taxId/index.js +4 -0
  393. package/dist/taxId/register-taxid.js +156 -0
  394. package/dist/video/Video.js +274 -0
  395. package/dist/video/Video.stories.js +45 -0
  396. package/dist/video/img/play-btn.svg +1 -0
  397. package/dist/video/index.js +2 -0
  398. package/package.json +128 -133
  399. package/public/favicon.ico +0 -0
  400. package/public/index.html +43 -0
  401. package/public/logo192.png +0 -0
  402. package/public/logo512.png +0 -0
  403. package/public/manifest.json +25 -0
  404. package/public/robots.txt +3 -0
  405. package/react-scripts +0 -0
  406. package/dist/07233f511246c9825a0d58e5ab2641f3.svg +0 -47
  407. package/dist/08418fc6c324f51f7e56.svg +0 -1
  408. package/dist/14aa35d4e84aebef77cf00b421fc393a.gif +0 -0
  409. package/dist/179ef2df02cb0b68c9fd.woff2 +0 -0
  410. package/dist/21e493d43617de76dbc7.woff2 +0 -0
  411. package/dist/2640959b1f9381cde047.eot +0 -0
  412. package/dist/2ba2db4ff86a2663686a100e75b50ba9.png +0 -0
  413. package/dist/311956ded96d3fd2813d.woff2 +0 -0
  414. package/dist/39f5961b2d3eb4aa5bf5.woff +0 -0
  415. package/dist/3caa0d4f9b7d58668066.woff2 +0 -0
  416. package/dist/4a510354f2f82b59fced805a8e3fe2bf.svg +0 -1
  417. package/dist/4c3c428d0ce82f840710.woff +0 -0
  418. package/dist/4e528d6445ca1974c313.woff +0 -0
  419. package/dist/55053cc0a8e6482eca64.ttf +0 -0
  420. package/dist/643c37f102b41f7f90c3.woff2 +0 -0
  421. package/dist/76dd0ed9c3f137513fd4.svg +0 -1
  422. package/dist/81f3ef07b7952e249da1.woff +0 -0
  423. package/dist/98b7d3182f652f021bc3.ttf +0 -0
  424. package/dist/9bea22b57dc165ed4382.ttf +0 -0
  425. package/dist/9ec738fbb66068dc1ca7.woff +0 -0
  426. package/dist/a1d7666a48f976227722.ttf +0 -0
  427. package/dist/a750292d6a0b5a760679.woff +0 -0
  428. package/dist/b85a961d44cc55c58050cbf7c53dd505.png +0 -0
  429. package/dist/bcb6531cf820152b7538.ttf +0 -0
  430. package/dist/c6a4bc1bd034d6303053.woff +0 -0
  431. package/dist/cbfc24090ef8bacab132.woff2 +0 -0
  432. package/dist/d2b1865643b98c0e8b54.ttf +0 -0
  433. package/dist/d97d7385fe8771611848.ttf +0 -0
  434. package/dist/index.js.LICENSE.txt +0 -1
@@ -0,0 +1,52 @@
1
+ import React, { useEffect } from 'react';
2
+ import PropTypes from 'prop-types';
3
+ import { connect } from 'formik';
4
+ import { Row, Column } from 'components/Grid/Grid.styles';
5
+ import SectionTitle from 'components/SectionTitle/SectionTitle.styles';
6
+ import { RefreshSvg } from 'components/SvgIcons';
7
+ import { Wrapper, Header, Body, HeaderTitle, BodyTitle, RetakeButton, Mask, ColumnInner, DoneButton } from './_styles';
8
+ const FaceScanRecognition = ({
9
+ changeStep,
10
+ setPrevStep,
11
+ formik
12
+ }) => {
13
+ useEffect(() => {
14
+ setPrevStep('kycFaceScan');
15
+ }, []);
16
+ const {
17
+ setFieldValue
18
+ } = formik;
19
+ return /*#__PURE__*/React.createElement(Wrapper, null, /*#__PURE__*/React.createElement(Header, null, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(SectionTitle, null, "Face recognition"), /*#__PURE__*/React.createElement(HeaderTitle, {
20
+ withMargin: true
21
+ }, "Put your happy investor face on"))), /*#__PURE__*/React.createElement(Body, {
22
+ noHorizontalPadding: true
23
+ }, /*#__PURE__*/React.createElement(Row, {
24
+ center: true,
25
+ stretch: true
26
+ }, /*#__PURE__*/React.createElement(Column, {
27
+ part: 3
28
+ }, /*#__PURE__*/React.createElement(ColumnInner, {
29
+ verticalCenter: true
30
+ }, /*#__PURE__*/React.createElement(BodyTitle, {
31
+ faceScan: true
32
+ }, "RETAKE"), /*#__PURE__*/React.createElement(RetakeButton, null, /*#__PURE__*/React.createElement(RefreshSvg, null)))), /*#__PURE__*/React.createElement(Column, {
33
+ part: 10
34
+ }, /*#__PURE__*/React.createElement(Mask, null)), /*#__PURE__*/React.createElement(Column, {
35
+ part: 3
36
+ }, /*#__PURE__*/React.createElement(ColumnInner, {
37
+ verticalCenter: true
38
+ }, /*#__PURE__*/React.createElement(BodyTitle, {
39
+ faceScan: true
40
+ }, "DONE"), /*#__PURE__*/React.createElement(DoneButton, {
41
+ onClick: () => {
42
+ setFieldValue('facePicture', 'TODO: GET PHOTO FROM CAMERA');
43
+ changeStep('kycFaceScanSuccess');
44
+ }
45
+ }))))));
46
+ };
47
+ FaceScanRecognition.propTypes = {
48
+ changeStep: PropTypes.func.isRequired,
49
+ setPrevStep: PropTypes.func.isRequired,
50
+ formik: PropTypes.instanceOf(Object).isRequired
51
+ };
52
+ export default connect(FaceScanRecognition);
@@ -0,0 +1,47 @@
1
+ import React, { useEffect } from 'react';
2
+ import PropTypes from 'prop-types';
3
+ import { FaceScanIconSvg } from 'components/SvgIcons';
4
+ import Text from 'components/Text/Text.styles';
5
+ import Button from 'components/Button/Button.styles';
6
+ import { Row, Column } from 'components/Grid/Grid.styles';
7
+ import ComponentWrapper from 'components/ComponentWrapper/ComponentWrapper.styles';
8
+ import SectionTitle from 'components/SectionTitle/SectionTitle.styles';
9
+ import { Wrapper, Header, Body, HeaderTitle, BodyTitle, ColumnInner, SuccessMark } from './_styles';
10
+ const FaceScanSuccess = ({
11
+ changeStep,
12
+ setPrevStep
13
+ }) => {
14
+ useEffect(() => {
15
+ setPrevStep('kycFaceScanRecognition');
16
+ }, []);
17
+ return /*#__PURE__*/React.createElement(Wrapper, null, /*#__PURE__*/React.createElement(Header, null, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(SectionTitle, null, "Verify your identity"), /*#__PURE__*/React.createElement(HeaderTitle, {
18
+ withMargin: true
19
+ }, "Face verification"))), /*#__PURE__*/React.createElement(Body, null, /*#__PURE__*/React.createElement(Row, {
20
+ stretch: true
21
+ }, /*#__PURE__*/React.createElement(Column, {
22
+ part: 4
23
+ }), /*#__PURE__*/React.createElement(Column, {
24
+ part: 8
25
+ }, /*#__PURE__*/React.createElement(ColumnInner, {
26
+ verticalPadding: true
27
+ }, /*#__PURE__*/React.createElement(BodyTitle, null, "SCAN COMPLETED"), /*#__PURE__*/React.createElement(ComponentWrapper, {
28
+ center: true,
29
+ noPaddingBottom: true
30
+ }, /*#__PURE__*/React.createElement(FaceScanIconSvg, null)), /*#__PURE__*/React.createElement(ComponentWrapper, {
31
+ center: true
32
+ }, /*#__PURE__*/React.createElement(SuccessMark, null)), /*#__PURE__*/React.createElement(ComponentWrapper, {
33
+ noPaddingTop: true,
34
+ center: true
35
+ }, /*#__PURE__*/React.createElement(Text, null, /*#__PURE__*/React.createElement("p", null, "Great shot - thank you"))), /*#__PURE__*/React.createElement(ComponentWrapper, {
36
+ center: true
37
+ }, /*#__PURE__*/React.createElement(Button, {
38
+ onClick: () => changeStep('kycBasicInfo', 3, 2)
39
+ }, "Continue")))), /*#__PURE__*/React.createElement(Column, {
40
+ part: 4
41
+ }))));
42
+ };
43
+ FaceScanSuccess.propTypes = {
44
+ changeStep: PropTypes.func.isRequired,
45
+ setPrevStep: PropTypes.func.isRequired
46
+ };
47
+ export default FaceScanSuccess;
@@ -0,0 +1,99 @@
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+ import React, { PureComponent, Fragment } from 'react';
3
+ import PropTypes from 'prop-types';
4
+ import { connect, Field } from 'formik';
5
+ import { Tooltip } from 'react-tippy';
6
+ import Text from 'components/Text/Text.styles';
7
+ import Button from 'components/Button/Button.styles';
8
+ import Checkbox from 'components/Checkbox/Checkbox';
9
+ import { validate, FormField, FormError } from 'components/Form/Form';
10
+ import ComponentScroll from 'components/ComponentScroll/ComponentScroll';
11
+ import ComponentWrapper from 'components/ComponentWrapper/ComponentWrapper.styles';
12
+ import { Wrapper, Header, Body, HeaderButtonWrapper, BottomWrapper, HeaderTitle } from './_styles';
13
+ class KYCTerms extends PureComponent {
14
+ state = {
15
+ popupOpen: false
16
+ };
17
+ handlePopup = isOpen => {
18
+ const {
19
+ formik
20
+ } = this.props;
21
+ const {
22
+ validateField,
23
+ values
24
+ } = formik;
25
+ validateField('notUsResident');
26
+ validateField('termsAccepted');
27
+ const buttonDisabled = !values.termsAccepted || !values.notUsResident;
28
+ this.setState({
29
+ popupOpen: buttonDisabled ? isOpen : false
30
+ });
31
+ };
32
+ render() {
33
+ const {
34
+ changeStep,
35
+ formik
36
+ } = this.props;
37
+ const {
38
+ values,
39
+ errors
40
+ } = formik;
41
+ const {
42
+ popupOpen
43
+ } = this.state;
44
+ const buttonDisabled = !values.termsAccepted || !values.notUsResident;
45
+ return /*#__PURE__*/React.createElement(Wrapper, null, /*#__PURE__*/React.createElement(Header, null, /*#__PURE__*/React.createElement(HeaderTitle, null, "Terms and conditions"), /*#__PURE__*/React.createElement(HeaderButtonWrapper, null, /*#__PURE__*/React.createElement(Tooltip, {
46
+ open: popupOpen,
47
+ position: "bottom",
48
+ title: "Please correct all the required fields",
49
+ theme: "light",
50
+ arrow: true,
51
+ duration: 200
52
+ }, /*#__PURE__*/React.createElement("div", {
53
+ onMouseEnter: () => this.handlePopup(true),
54
+ onMouseLeave: () => this.handlePopup(false)
55
+ }, /*#__PURE__*/React.createElement(Button, {
56
+ onClick: () => changeStep('kycDocumentUpload', 1, 0),
57
+ disabled: buttonDisabled
58
+ }, "Next"))))), /*#__PURE__*/React.createElement(Body, {
59
+ noHorizontalPadding: true
60
+ }, /*#__PURE__*/React.createElement(ComponentScroll, null, /*#__PURE__*/React.createElement(ComponentWrapper, {
61
+ noPaddingVertical: true
62
+ }, /*#__PURE__*/React.createElement(Text, null, /*#__PURE__*/React.createElement("p", null, "Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus."), /*#__PURE__*/React.createElement("p", null, "Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."), /*#__PURE__*/React.createElement("p", null, "In ac dui quis mi consectetuer lacinia. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."), /*#__PURE__*/React.createElement("p", null, "Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus."), /*#__PURE__*/React.createElement("p", null, "Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."), /*#__PURE__*/React.createElement("p", null, "Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus."), /*#__PURE__*/React.createElement("p", null, "Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."), /*#__PURE__*/React.createElement("p", null, "In ac dui quis mi consectetuer lacinia. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."), /*#__PURE__*/React.createElement("p", null, "Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus."), /*#__PURE__*/React.createElement("p", null, "Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."), /*#__PURE__*/React.createElement("p", null, "Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus."), /*#__PURE__*/React.createElement("p", null, "Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."), /*#__PURE__*/React.createElement("p", null, "In ac dui quis mi consectetuer lacinia. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."), /*#__PURE__*/React.createElement("p", null, "Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus."), /*#__PURE__*/React.createElement("p", null, "Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."), /*#__PURE__*/React.createElement("p", null, "Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus."), /*#__PURE__*/React.createElement("p", null, "Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."), /*#__PURE__*/React.createElement("p", null, "In ac dui quis mi consectetuer lacinia. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."), /*#__PURE__*/React.createElement("p", null, "Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus."), /*#__PURE__*/React.createElement("p", null, "Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero.")))), /*#__PURE__*/React.createElement(ComponentWrapper, {
63
+ noPaddingBottom: true
64
+ }, /*#__PURE__*/React.createElement(BottomWrapper, null, /*#__PURE__*/React.createElement(FormField, null, /*#__PURE__*/React.createElement(Field, {
65
+ name: "termsAccepted",
66
+ validate: () => validate('termsAccepted', formik)
67
+ }, ({
68
+ field
69
+ }) => /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(Checkbox, _extends({
70
+ id: "terms-accepted",
71
+ text: "I accept the full Terms and Conditions",
72
+ checked: field.value,
73
+ error: !!errors[field.name]
74
+ }, field, {
75
+ value: "yes"
76
+ })), /*#__PURE__*/React.createElement(FormError, {
77
+ show: errors[field.name]
78
+ }, errors[field.name])))), /*#__PURE__*/React.createElement(FormField, null, /*#__PURE__*/React.createElement(Field, {
79
+ name: "notUsResident",
80
+ validate: () => validate('notUsResident', formik)
81
+ }, ({
82
+ field
83
+ }) => /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(Checkbox, _extends({
84
+ id: "not-us-resident",
85
+ text: "I am not a US resident",
86
+ checked: field.value,
87
+ error: !!errors[field.name]
88
+ }, field, {
89
+ value: "yes"
90
+ })), /*#__PURE__*/React.createElement(FormError, {
91
+ show: errors[field.name]
92
+ }, errors[field.name]))))))));
93
+ }
94
+ }
95
+ KYCTerms.propTypes = {
96
+ changeStep: PropTypes.func.isRequired,
97
+ formik: PropTypes.instanceOf(Object).isRequired
98
+ };
99
+ export default connect(KYCTerms);
@@ -0,0 +1,284 @@
1
+ import styled, { css } from 'styled-components/macro';
2
+ import rwd from 'styles/rwd';
3
+ import Button from 'components/Button/Button.styles';
4
+ import { FormField, FormError } from 'components/Form/Form';
5
+ import { Row } from 'components/Grid/Grid.styles';
6
+ import Text from 'components/Text/Text.styles';
7
+ import Icon, { iconsMap } from 'components/Icon/Icon.style';
8
+ import colors from 'styles/colors';
9
+ export const Wrapper = styled.div`
10
+ height: 100%;
11
+ display: flex;
12
+ flex-direction: column;
13
+ padding: 33px 0;
14
+
15
+ ${Text} {
16
+ p {
17
+ ${rwd.XLarge`
18
+ font-size: 16px;
19
+ `}
20
+ }
21
+ }
22
+ `;
23
+ export const Header = styled.div`
24
+ min-height: 82px;
25
+ display: flex;
26
+ flex-wrap: wrap;
27
+ padding: 12px 24px;
28
+ flex-shrink: 0;
29
+
30
+ ${rwd.Large`
31
+ padding: 21px 64px;
32
+ `}
33
+ `;
34
+ export const HeaderTitle = styled.div`
35
+ font-family: 'Open Sans';
36
+ font-weight: 800;
37
+ font-size: 22px;
38
+ line-height: 1.27em;
39
+ letter-spacing: 0.8px;
40
+ text-transform: uppercase;
41
+ ${props => props.withMargin && 'margin-top: 16px;'}
42
+ `;
43
+ export const HeaderButtonWrapper = styled.div`
44
+ margin: 0 auto;
45
+ padding: 8px 0;
46
+
47
+ & > * {
48
+ display: inline-block!important;
49
+ }
50
+
51
+ ${rwd.Large`
52
+ margin-right: 0;
53
+ `}
54
+
55
+ ${Button}${Button}${Button} {
56
+ margin-right: 16px;
57
+
58
+ &:last-child {
59
+ margin-right: 0;
60
+ }
61
+ }
62
+ `;
63
+ export const Body = styled.div`
64
+ padding: 21px 24px;
65
+ height: 100%;
66
+ display: flex;
67
+ flex-direction: column;
68
+ justify-content: center;
69
+ overflow-y: auto;
70
+
71
+ ${props => props.noVerticalPadding && `
72
+ padding-top: 0!important;
73
+ padding-bottom: 0!important;
74
+ `}
75
+
76
+ ${props => props.noHorizontalPadding && `
77
+ padding-left: 0;
78
+ padding-right: 0;
79
+ `}
80
+
81
+ ${props => props.form && css`
82
+ padding: 21px 48px;
83
+ justify-content: flex-start;
84
+
85
+ ${Row} {
86
+ flex-shrink: 0;
87
+ }
88
+ `}
89
+ `;
90
+ export const BottomWrapper = styled.div`
91
+ ${FormField} {
92
+ display: flex;
93
+ justify-content: space-between;
94
+ flex-direction: column;
95
+
96
+ ${rwd.Medium`
97
+ display: inline-block;
98
+ vertical-align: middle;
99
+ margin-right: 44px;
100
+ `}
101
+
102
+ + ${FormField} {
103
+ padding-top: 32px;
104
+
105
+ ${rwd.Medium`
106
+ padding-top: 0;
107
+ `}
108
+ }
109
+
110
+ ${FormError} {
111
+ white-space: nowrap;
112
+ padding-left: 28px;
113
+ }
114
+ }
115
+ `;
116
+ export const BodyTitle = styled.div`
117
+ text-align: center;
118
+ margin: 0 auto;
119
+ font-size: 11px;
120
+ font-weight: bold;
121
+ line-height: 1.82;
122
+ letter-spacing: 2px;
123
+
124
+ ${props => props.faceScan && `
125
+ margin-top: 20px;
126
+ `}
127
+ `;
128
+ export const ColumnInner = styled.div`
129
+ display: flex;
130
+ flex-direction: column;
131
+ align-items: center;
132
+ height: 100%;
133
+
134
+ ${props => props.verticalPadding && `
135
+ padding-top: 40px;
136
+ padding-bottom: 40px;
137
+ `}
138
+
139
+ ${props => props.horizontalPadding && `
140
+ padding-left: 36px;
141
+ padding-right: 36px;
142
+ `}
143
+
144
+ ${props => props.formInner && `
145
+ padding-left: 18px;
146
+ padding-right: 18px;
147
+ align-items: stretch;
148
+ `}
149
+
150
+ ${props => props.withSeparator && `
151
+ border-bottom: 1px solid ${colors.lightGrey};
152
+ `}
153
+
154
+ ${props => props.verticalCenter && `
155
+ justify-content: center;
156
+ `}
157
+
158
+ ${props => props.verticalSpaceAround && `
159
+ justify-content: space-around;
160
+ `}
161
+
162
+ ${rwd.Medium`
163
+ ${props => props.withSeparator && `
164
+ border-bottom: 0;
165
+ border-right: 1px solid ${colors.lightGrey};
166
+ `}
167
+ `}
168
+ `;
169
+ export const FileInput = styled.input.attrs(props => ({
170
+ type: 'file',
171
+ ...props
172
+ }))`
173
+ visibility: hidden;
174
+ position: absolute;
175
+ width: 0.1px;
176
+ height: 0.1px;
177
+ z-index: -1;
178
+ `;
179
+ export const FileInputWrapper = styled(Button).attrs({
180
+ as: 'label',
181
+ type: undefined
182
+ })`
183
+ position: relative;
184
+ word-break: break-all;
185
+ `;
186
+ export const FileInputRemove = styled(Icon).attrs({
187
+ icon: iconsMap.trash
188
+ })`
189
+ position: absolute;
190
+ top: 50%;
191
+ right: 0px;
192
+ transform: translateY(-50%);
193
+ font-size: 16px;
194
+ cursor: pointer;
195
+ transition: 0.3s color;
196
+ color: ${colors.orangishRed};
197
+ border-radius: 50%;
198
+ border: 1px solid ${colors.lightGrey};
199
+ padding: 10px;
200
+
201
+ &:hover {
202
+ color: ${colors.blue};
203
+ }
204
+ `;
205
+ export const SuccessMark = styled(Icon).attrs({
206
+ icon: iconsMap.check
207
+ })`
208
+ width: 40px;
209
+ height: 40px;
210
+ border-radius: 50%;
211
+ display: flex !important;
212
+ justify-content: center;
213
+ align-items: center;
214
+ color: ${colors.freshGreen};
215
+ margin: auto;
216
+ font-size: 18px;
217
+
218
+ ${props => props.isHidden && `
219
+ opacity: 0;
220
+ `}
221
+ `;
222
+ export const FileInputList = styled.ul`
223
+ list-style-type: none;
224
+ padding: 0;
225
+ font-size: 12px;
226
+ width: 100%;
227
+ `;
228
+ export const FileInputItem = styled.li`
229
+ padding: 0 46px 0 8px;
230
+ margin-right: 8px;
231
+ position: relative;
232
+ word-break: break-all;
233
+ `;
234
+ const DocumentScanButtonsStyle = css`
235
+ width: 40px;
236
+ height: 40px;
237
+ margin-top: 20px;
238
+ margin-bottom: 10px;
239
+ border-radius: 50%;
240
+ background: ${colors.blue};
241
+ color: ${colors.white};
242
+ display: flex !important;
243
+ justify-content: center;
244
+ align-items: center;
245
+ font-size: 18px;
246
+
247
+ & > svg {
248
+ fill: ${colors.white};
249
+ stroke: ${colors.white};
250
+ }
251
+ `;
252
+ export const RetakeButton = styled.button`
253
+ ${DocumentScanButtonsStyle};
254
+
255
+ & > svg {
256
+ width: 22px !important;
257
+ height: 23px !important;
258
+ }
259
+ `;
260
+ export const DoneButton = styled.button.attrs({
261
+ className: 'ion ion-md-checkmark'
262
+ })`
263
+ ${DocumentScanButtonsStyle};
264
+ `;
265
+ export const Mask = styled.div`
266
+ width: 100%;
267
+ height: 100%;
268
+ background: rgba(201, 255, 233, 0.6);
269
+ position: relative;
270
+ `;
271
+ export const FormBottomRow = styled(Row)`
272
+ padding-left: 18px;
273
+ padding-right: 18px;
274
+ padding-top: 64px;
275
+ `;
276
+ export const FormBottomButtonWrap = styled.div`
277
+ padding-top: 32px;
278
+ margin: auto;
279
+
280
+ ${rwd.Medium`
281
+ padding-top: 0;
282
+ margin-right: 0;
283
+ `}
284
+ `;
@@ -0,0 +1,14 @@
1
+ import Terms from './Terms';
2
+ import DocumentUpload from './DocumentUpload';
3
+ import DocumentSelect from './DocumentSelect';
4
+ import DocumentVerificationType from './DocumentVerificationType';
5
+ import DocumentFileUpload from './DocumentFileUpload';
6
+ import DocumentScan from './DocumentScan';
7
+ import DocumentScanUpload from './DocumentScanUpload';
8
+ import DocumentSuccess from './DocumentSuccess';
9
+ import FaceScan from './FaceScan';
10
+ import FaceScanRecognition from './FaceScanRecognition';
11
+ import FaceScanSuccess from './FaceScanSuccess';
12
+ import BasicInfo from './BasicInfo';
13
+ import Confirmation from './Confirmation';
14
+ export { Terms, DocumentUpload, DocumentSelect, DocumentVerificationType, DocumentFileUpload, DocumentScan, DocumentScanUpload, DocumentSuccess, FaceScan, FaceScanRecognition, FaceScanSuccess, BasicInfo, Confirmation };
@@ -0,0 +1,62 @@
1
+ import styled, { css } from 'styled-components/macro';
2
+ import PropTypes from 'prop-types';
3
+ import rwd from 'styles/rwd';
4
+ import colors from 'styles/colors';
5
+ import Button from 'components/Button/Button.styles';
6
+ import Text from 'components/Text/Text.styles';
7
+ export const KYCSelectBox = styled.div`
8
+ display: flex;
9
+ flex-direction: column;
10
+ align-items: center;
11
+ justify-content: space-around;
12
+ padding: 60px 0;
13
+ height: 100%;
14
+
15
+ svg,
16
+ ${Button},
17
+ ${Text} {
18
+ opacity: 1;
19
+ transition: .3s opacity;
20
+ }
21
+
22
+ ${props => props.withSeparator && `
23
+ border-bottom: 1px solid ${colors.grey};
24
+ `}
25
+
26
+ ${rwd.Medium`
27
+ ${props => props.withSeparator && `
28
+ border-bottom: 0;
29
+ border-right: 1px solid ${colors.grey};
30
+ `}
31
+ `}
32
+
33
+ ${props => props.selectedItem && props.selectedItem !== props.name && css`
34
+ svg,
35
+ ${Button}, ${Text} {
36
+ opacity: 0.2;
37
+ }
38
+
39
+ :hover {
40
+ svg,
41
+ ${Button}, ${Text} {
42
+ opacity: 1;
43
+ }
44
+ }
45
+ `}
46
+
47
+ ${props => props.isGreyedOut && css`
48
+ svg,
49
+ ${Button}, ${Text} {
50
+ opacity: 0.2;
51
+ }
52
+ `}
53
+ `;
54
+ KYCSelectBox.propTypes = {
55
+ name: PropTypes.string.isRequired,
56
+ selectedItem: PropTypes.string.isRequired,
57
+ isGreyedOut: PropTypes.bool
58
+ };
59
+ KYCSelectBox.defaultProps = {
60
+ isGreyedOut: false
61
+ };
62
+ export default KYCSelectBox;
@@ -0,0 +1,35 @@
1
+ import React from 'react';
2
+ import PropTypes from 'prop-types';
3
+ import { LatestUpdateWrapper, Container, ItemLink, ImageWrap, Image, Tag, Title, Text, ReadMore } from './LatestUpdate.styles';
4
+ export const LatestUpdate = ({
5
+ image,
6
+ tag,
7
+ title,
8
+ text,
9
+ url,
10
+ horizontalPadding
11
+ }) => /*#__PURE__*/React.createElement(Container, {
12
+ to: url,
13
+ horizontalPadding: horizontalPadding
14
+ }, /*#__PURE__*/React.createElement(ItemLink, {
15
+ to: url
16
+ }, image && /*#__PURE__*/React.createElement(ImageWrap, null, /*#__PURE__*/React.createElement(Image, {
17
+ src: image
18
+ })), tag && /*#__PURE__*/React.createElement(Tag, null, tag), /*#__PURE__*/React.createElement(Title, null, title), /*#__PURE__*/React.createElement(Text, null, text), /*#__PURE__*/React.createElement(ReadMore, {
19
+ as: "span"
20
+ }, "read more")));
21
+ LatestUpdate.propTypes = {
22
+ image: PropTypes.string,
23
+ tag: PropTypes.string,
24
+ title: PropTypes.string.isRequired,
25
+ text: PropTypes.string.isRequired,
26
+ url: PropTypes.string.isRequired,
27
+ horizontalPadding: PropTypes.bool
28
+ };
29
+ LatestUpdate.defaultProps = {
30
+ image: '',
31
+ tag: '',
32
+ horizontalPadding: false
33
+ };
34
+ export { LatestUpdateWrapper };
35
+ export default LatestUpdate;
@@ -0,0 +1,51 @@
1
+ import React from 'react';
2
+ import LatestUpdate from './LatestUpdate';
3
+ import { ComponentWrapper } from '../ComponentWrapper/ComponentWrapper.styles';
4
+ // import Avatar from 'static/images/avatar.png'
5
+ // import Shark from 'static/images/shark.jpg'
6
+
7
+ export default {
8
+ title: 'Components Library/Latest Update',
9
+ component: LatestUpdate,
10
+ argTypes: {
11
+ image: {
12
+ type: 'node',
13
+ defaultValue: {}
14
+ },
15
+ tag: {
16
+ type: 'string',
17
+ defaultValue: ''
18
+ },
19
+ title: {
20
+ type: 'string',
21
+ defaultValue: '',
22
+ required: true
23
+ },
24
+ text: {
25
+ type: 'string',
26
+ defaultValue: '',
27
+ required: true
28
+ },
29
+ url: {
30
+ type: 'string',
31
+ defaultValue: '',
32
+ required: true
33
+ },
34
+ horizontalPadding: {
35
+ type: 'boolean',
36
+ defaultValue: false
37
+ }
38
+ }
39
+ };
40
+ const Template = args => /*#__PURE__*/React.createElement(ComponentWrapper, null, /*#__PURE__*/React.createElement(LatestUpdate, args));
41
+ export const LatestUpdateDefault = Template.bind({});
42
+ LatestUpdateDefault.args = {};
43
+ export const LatestUpdateFull = Template.bind({});
44
+ LatestUpdateFull.args = {
45
+ image: 'https://www.cookingclassy.com/wp-content/uploads/2014/06/chocolate-chip-cookie-16.jpg',
46
+ tag: 'a tag',
47
+ title: 'A Title',
48
+ text: 'Some Text',
49
+ url: 'www.somelink.com',
50
+ horizontalPadding: true
51
+ };