@stokr/components-library 0.5.6 → 0.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/asset-manifest.json +39 -3
- package/build/index.html +1 -1
- package/build/static/css/main.e30a9d15.css +15 -0
- package/build/static/css/main.e30a9d15.css.map +1 -0
- package/build/static/js/main.8c250652.js +3 -0
- package/build/static/js/main.8c250652.js.LICENSE.txt +158 -0
- package/build/static/js/main.8c250652.js.map +1 -0
- package/build/static/media/Ionicons.4e528d6445ca1974c313.woff +0 -0
- package/build/static/media/Ionicons.643c37f102b41f7f90c3.woff2 +0 -0
- package/build/static/media/Ionicons.98b7d3182f652f021bc3.ttf +0 -0
- package/build/static/media/OpenSans-Bold.9bea22b57dc165ed4382.ttf +0 -0
- package/build/static/media/OpenSans-Bold.a750292d6a0b5a760679.woff +0 -0
- package/build/static/media/OpenSans-Bold.cbfc24090ef8bacab132.woff2 +0 -0
- package/build/static/media/OpenSans-ExtraBold.21e493d43617de76dbc7.woff2 +0 -0
- package/build/static/media/OpenSans-ExtraBold.81f3ef07b7952e249da1.woff +0 -0
- package/build/static/media/OpenSans-ExtraBold.bcb6531cf820152b7538.ttf +0 -0
- package/build/static/media/OpenSans-Light.179ef2df02cb0b68c9fd.woff2 +0 -0
- package/build/static/media/OpenSans-Light.55053cc0a8e6482eca64.ttf +0 -0
- package/build/static/media/OpenSans-Light.c6a4bc1bd034d6303053.woff +0 -0
- package/build/static/media/OpenSans-Regular.3caa0d4f9b7d58668066.woff2 +0 -0
- package/build/static/media/OpenSans-Regular.9ec738fbb66068dc1ca7.woff +0 -0
- package/build/static/media/OpenSans-Regular.d97d7385fe8771611848.ttf +0 -0
- package/build/static/media/OpenSans-SemiBold.311956ded96d3fd2813d.woff2 +0 -0
- package/build/static/media/OpenSans-SemiBold.39f5961b2d3eb4aa5bf5.woff +0 -0
- package/build/static/media/OpenSans-SemiBold.d2b1865643b98c0e8b54.ttf +0 -0
- package/build/static/media/address-refreshing.5fbb0cc56c384480118a.gif +0 -0
- package/build/static/media/arrow-down-black.fe92da3ac6ed16b45bf57713df82cea2.svg +21 -0
- package/build/static/media/avatar-placeholder.488a33b3f080a43e0d43.png +0 -0
- package/build/static/media/icomoon.2640959b1f9381cde047.eot +0 -0
- package/build/static/media/icomoon.35bce49b15feeae93572c36a08feecd9.svg +47 -0
- package/build/static/media/icomoon.4c3c428d0ce82f840710.woff +0 -0
- package/build/static/media/icomoon.a1d7666a48f976227722.ttf +0 -0
- package/{dist/Footer/lemonway.png → build/static/media/lemonway.33e88c3a49e7ac73e3a9.png} +0 -0
- package/{dist/Footer/sicos-logo.svg → build/static/media/sicos-logo.7fa3ac9d583b52c3987da529da67cb15.svg} +0 -0
- package/build/static/media/slick.2630a3e3eab21c607e21.svg +14 -0
- package/build/static/media/slick.295183786cd8a1389865.woff +0 -0
- package/build/static/media/slick.a4e97f5a2a64f0ab1323.eot +0 -0
- package/build/static/media/slick.c94f7671dcc99dce43e2.ttf +0 -0
- package/build/static/media/whales.7a1e9453670d08b8b76a.png +0 -0
- package/dist/api/StokrWeb3.js +184 -0
- package/dist/api/fetchData.js +76 -0
- package/dist/api/fetchDataPublic.js +65 -0
- package/dist/components/AccountBalance/AccountBalance.js +53 -0
- package/dist/components/AccountBalance/AccountBalance.stories.js +88 -0
- package/dist/components/AccountBalance/AccountBalance.styles.js +40 -0
- package/dist/components/AdminDashboard/Table/Table.js +170 -0
- package/dist/components/AdminDashboard/Table/Table.styles.js +79 -0
- package/dist/components/AgreementItem/AgreementItem.js +51 -0
- package/dist/components/AgreementItem/AgreementItem.stories.js +109 -0
- package/dist/components/AgreementItem/AgreementItem.styles.js +35 -0
- package/dist/components/AnalyticGraphs/Analytic.js +781 -0
- package/dist/components/AnalyticGraphs/Analytic.styles.js +37 -0
- package/dist/components/BackButton/BackButton.js +32 -0
- package/dist/components/BackButton/BackButton.stories.js +35 -0
- package/dist/components/BackButton/BackButton.styles.js +76 -0
- package/dist/components/Background/Background.js +41 -0
- package/dist/components/Background/Background.stories.js +62 -0
- package/dist/components/Background/Background.styles.js +69 -0
- package/dist/components/BarChart/BarChart.js +304 -0
- package/dist/components/BarChart/BarChart.stories.js +47 -0
- package/dist/components/BarChart/BarChart.styles.js +33 -0
- package/dist/components/BarChartLegend/BarChartLegend.js +106 -0
- package/dist/components/BarChartLegend/BarChartLegend.styles.js +26 -0
- package/dist/components/BasicTable/BasicTable.js +32 -0
- package/dist/components/BasicTable/BasicTable.stories.js +63 -0
- package/dist/components/BasicTable/BasicTable.styles.js +52 -0
- package/dist/components/Button/Button.stories.js +79 -0
- package/dist/components/Button/Button.styles.js +83 -0
- package/dist/components/ButtonContainer/ButtonContainer.styles.js +18 -0
- package/dist/components/CapitalRaisedSummary/CapitalRaisedSummery.stories.js +45 -0
- package/dist/components/CapitalRaisedSummary/CaptialRaisedSummary.js +34 -0
- package/dist/components/CapitalRaisedSummary/CaptialRaisedSummary.styles.js +34 -0
- package/dist/components/ChartBox/ChartBox.js +44 -0
- package/dist/components/ChartBox/ChartBox.stories.js +20 -0
- package/dist/components/ChartBox/ChartBox.styles.js +33 -0
- package/dist/components/ChartBox/ChartBoxDistribution.js +30 -0
- package/dist/components/ChartBox/ChartBoxDistribution.stories.js +21 -0
- package/dist/components/ChartLegend/ChartLegend.js +62 -0
- package/dist/components/ChartLegend/ChartLegend.stories.js +87 -0
- package/dist/components/ChartLegend/ChartLegend.styles.js +64 -0
- package/dist/components/Checkbox/Checkbox.js +116 -0
- package/dist/components/Checkbox/Checkbox.stories.js +92 -0
- package/dist/components/Checkbox/Checkbox.styles.js +45 -0
- package/dist/components/Checklist/UserChecklist.js +274 -0
- package/dist/components/Checklist/UserChecklist.stories.js +126 -0
- package/dist/components/ComponentScroll/ComponentScroll.js +138 -0
- package/dist/components/ComponentScroll/ComponentScroll.stories.js +102 -0
- package/dist/components/ComponentScroll/ComponentScroll.styles.js +66 -0
- package/dist/components/ComponentWrapper/ComponentWrapper.styles.js +68 -0
- package/dist/components/CryptoAddress/ComponentWrap.js +37 -0
- package/dist/components/CryptoAddress/CryptoAddress.js +145 -0
- package/dist/components/CryptoAddress/CryptoAddress.stories.js +173 -0
- package/dist/components/CryptoAddress/CryptoAddress.styles.js +186 -0
- package/dist/components/CryptoAddress/RadioWrap.js +49 -0
- package/dist/components/CryptoAddressDetails/CryptoAddressDetails.js +54 -0
- package/dist/components/CryptoAddressDetails/CryptoAddressDetails.stories.js +74 -0
- package/dist/components/CryptoAddressDetails/CryptoAddressDetails.styles.js +67 -0
- package/dist/components/CryptoAddressWrapper/CryptoAddressWrapper.js +40 -0
- package/dist/components/CryptoAddressWrapper/CryptoAddressWrapper.styles.js +59 -0
- package/dist/components/DonutChart/DonutChart.js +182 -0
- package/dist/components/DonutChart/DonutChart.stories.js +40 -0
- package/dist/components/DonutChart/DonutChart.styles.js +50 -0
- package/dist/components/DoubleButton/DoubleButton.styles.js +22 -0
- package/dist/components/ErrorMessage/ErrorMessage.styles.js +15 -0
- package/dist/components/FAQ/FAQ.js +65 -0
- package/dist/components/FAQ/FAQ.stories.js +74 -0
- package/dist/components/FAQ/FAQ.styles.js +48 -0
- package/dist/components/Footer/Footer.js +66 -0
- package/dist/components/Footer/Footer.stories.js +54 -0
- package/dist/components/Footer/Footer.styles.js +74 -0
- package/dist/components/Footer/FooterLayout.js +129 -0
- package/dist/components/Footer/FooterLayout.stories.js +31 -0
- package/dist/components/Footer/FooterMenu.js +117 -0
- package/dist/components/Footer/FooterMenu.stories.js +121 -0
- package/dist/components/Footer/FooterMenu.styles.js +80 -0
- package/dist/components/Footer/index.js +27 -0
- package/dist/components/ForgotPasswordModal/ForgotPasswordModal.js +127 -0
- package/dist/components/ForgotPasswordModal/ForgotPasswordModal.stories.js +42 -0
- package/dist/components/Form/Form.js +68 -0
- package/dist/components/Form/Form.stories.js +35 -0
- package/dist/components/Form/Form.styles.js +59 -0
- package/dist/components/FullscreenCard/FullscreenCard.styles.js +32 -0
- package/dist/components/Grid/Grid.styles.js +68 -0
- package/dist/components/Header/Header.js +452 -0
- package/dist/components/Header/Header.stories.js +188 -0
- package/dist/components/Header/Header.styles.js +180 -0
- package/dist/components/Icon/Icon.style.js +71 -0
- package/dist/components/InfoIcon/InfoIcon.js +50 -0
- package/dist/components/InfoIcon/InfoIcon.stories.js +52 -0
- package/dist/components/InfoIcon/InfoIcon.styles.js +31 -0
- package/dist/components/InfoPanel/InfoPanel.js +146 -0
- package/dist/components/Input/DatePickerInput.js +85 -0
- package/dist/components/Input/DatePickerInput.stories.js +91 -0
- package/dist/components/Input/DatePickerInput.styles.js +29 -0
- package/dist/components/Input/Input.js +108 -0
- package/dist/components/Input/Input.stories.js +148 -0
- package/dist/components/Input/Input.styles.js +53 -0
- package/dist/components/Input/InputPassword.js +151 -0
- package/dist/components/Input/InputPassword.stories.js +85 -0
- package/dist/components/Input/InputPassword.styles.js +80 -0
- package/dist/components/Input/RangeInput.js +60 -0
- package/dist/components/Input/RangeInput.stories.js +59 -0
- package/dist/components/Input/RangeInput.styles.js +53 -0
- package/dist/components/Input/Select.js +148 -0
- package/dist/components/Input/Select.stories.js +142 -0
- package/dist/components/Input/Select.styles.js +65 -0
- package/dist/components/InvestCalculator/InvestCalculator.js +367 -0
- package/dist/components/InvestCalculator/InvestCalculator.stories.js +137 -0
- package/dist/components/InvestCalculator/InvestCalculator.styles.js +66 -0
- package/dist/components/InvestmentStat/InvestmentStat.js +40 -0
- package/dist/components/InvestmentStat/InvestmentStat.stories.js +56 -0
- package/dist/components/InvestmentStat/InvestmentStat.styles.js +43 -0
- package/dist/components/KYCFlow/BasicInfo.js +489 -0
- package/dist/components/KYCFlow/Confirmation.js +51 -0
- package/dist/components/KYCFlow/DocumentFileUpload.js +276 -0
- package/dist/components/KYCFlow/DocumentScan.js +74 -0
- package/dist/components/KYCFlow/DocumentScanUpload.js +258 -0
- package/dist/components/KYCFlow/DocumentSelect.js +148 -0
- package/dist/components/KYCFlow/DocumentSuccess.js +64 -0
- package/dist/components/KYCFlow/DocumentUpload.js +54 -0
- package/dist/components/KYCFlow/DocumentVerificationType.js +161 -0
- package/dist/components/KYCFlow/FaceScan.js +55 -0
- package/dist/components/KYCFlow/FaceScanRecognition.js +60 -0
- package/dist/components/KYCFlow/FaceScanSuccess.js +59 -0
- package/dist/components/KYCFlow/Terms.js +142 -0
- package/dist/components/KYCFlow/_styles.js +160 -0
- package/dist/components/KYCFlow/index.js +97 -0
- package/dist/components/KYCSelectBox/KYCSelectBox.styles.js +41 -0
- package/dist/components/LatestUpdate/LatestUpdate.js +51 -0
- package/dist/components/LatestUpdate/LatestUpdate.stories.js +62 -0
- package/dist/components/LatestUpdate/LatestUpdate.styles.js +71 -0
- package/dist/components/Layout/Layout-func-no-work.js +78 -0
- package/dist/components/Layout/Layout.js +103 -0
- package/dist/components/Layout/Layout.stories.js +67 -0
- package/dist/components/LearnMoreCarousel/LearnMoreCarousel.js +47 -0
- package/dist/components/LearnMoreCarousel/LearnMoreCarousel.stories.js +70 -0
- package/dist/components/LearnMoreCarousel/LearnMoreCarousel.styles.js +43 -0
- package/dist/components/LearnMorePage/LearnMore.js +255 -0
- package/dist/components/LearnMorePage/LearnMore.shared.styles.js +40 -0
- package/dist/components/LearnMorePage/LearnMore.stories.js +51 -0
- package/dist/components/LearnMorePage/LearnMore.styles.js +120 -0
- package/dist/components/LearnMorePage/LearnMoreExampleObject.js +87 -0
- package/dist/components/LearnMorePage/LearnMoreItem.js +75 -0
- package/dist/components/LearnMorePage/LearnMoreItem.stories.js +65 -0
- package/dist/components/LearnMorePage/LearnMoreItem.styles.js +87 -0
- package/dist/components/LearnMoreSection/LearnMore.js +199 -0
- package/dist/components/LearnMoreSection/LearnMore.stories.js +33 -0
- package/dist/components/LearnMoreSection/LearnMore.styles.js +73 -0
- package/dist/components/LearnMoreSection/LearnMoreItem.js +52 -0
- package/dist/components/LearnMoreSection/LearnMoreItem.stories.js +62 -0
- package/dist/components/LearnMoreSection/LearnMoreItem.styles.js +50 -0
- package/dist/components/LoginModal/LoginModal.js +163 -0
- package/dist/components/MainMenu/DynamicMainMenu.js +50 -0
- package/dist/components/MainMenu/MainMenu.js +262 -0
- package/dist/components/MainMenu/MainMenu.styles.js +124 -0
- package/dist/components/MatomoConnect/Matomo.js +485 -0
- package/dist/components/MatomoConnect/Matomo_fuckup.js +383 -0
- package/dist/components/MenuNav/MenuNav.styles.js +42 -0
- package/dist/components/Modal/Modal.js +123 -0
- package/dist/components/Modal/Modal.stories.js +82 -0
- package/dist/components/Modal/Modal.styles.js +140 -0
- package/dist/components/MultiProgressBar/MultiProgressBar.js +48 -0
- package/dist/components/MultiProgressBar/MultiProgressBar.stories.js +72 -0
- package/dist/components/MultiProgressBar/MultiProgressBar.styles.js +41 -0
- package/dist/components/Newsletter/Newsletter.js +139 -0
- package/dist/components/Newsletter/Newsletter.stories.js +19 -0
- package/dist/components/Newsletter/Newsletter.styles.js +83 -0
- package/dist/components/NotificationContext/NotificationContext.js +173 -0
- package/dist/components/NotificationContext/NotificationContext.stories.js +33 -0
- package/dist/components/NotificationCounter/NotificationCounter.styles.js +22 -0
- package/dist/components/Number/Number.js +35 -0
- package/dist/components/Number/Number.stories.js +41 -0
- package/dist/components/Number/Number.styles.js +20 -0
- package/dist/components/PageTransition/PageTransition.js +57 -0
- package/dist/components/Process/Process.stories.js +47 -0
- package/dist/components/Process/Process.styles.js +33 -0
- package/dist/components/ProfileBadge/ProfileBadge.js +53 -0
- package/dist/components/ProfileBadge/ProfileBadge.stories.js +48 -0
- package/dist/components/ProfileBadge/ProfileBadge.styles.js +32 -0
- package/dist/components/ProfileBox/ProfileBox.js +39 -0
- package/dist/components/ProfileBox/ProfileBox.stories.js +38 -0
- package/dist/components/ProfileBox/ProfileBox.styles.js +49 -0
- package/dist/components/ProfileHeader/ProfileHeader-CLb4.js +477 -0
- package/dist/components/ProfileHeader/ProfileHeader.js +330 -0
- package/dist/components/ProfileHeader/ProfileHeader.styles.js +87 -0
- package/dist/components/ProfileStat/ProfileStat.js +42 -0
- package/dist/components/ProfileStat/ProfileStat.stories.js +71 -0
- package/dist/components/ProfileStat/ProfileStat.styles.js +42 -0
- package/dist/components/ProofOfAddress/ProofOfAddress.styles.js +69 -0
- package/dist/components/ROI/ROI.js +312 -0
- package/dist/components/ROI/ROI.styles.js +63 -0
- package/dist/components/ROI/ROIChart.js +469 -0
- package/dist/components/ROI/ROIChart.styles.js +33 -0
- package/dist/components/ROI/ROIModal.js +91 -0
- package/dist/components/ROI/ROIScenarioBox.js +55 -0
- package/dist/components/ROI/ROIScenarioBox.styles.js +52 -0
- package/dist/components/Radio/Radio.js +68 -0
- package/dist/components/Radio/Radio.stories.js +76 -0
- package/dist/components/Radio/Radio.styles.js +31 -0
- package/dist/components/RefreshButton/RefreshButton.js +21 -0
- package/dist/components/RefreshButton/RefreshButton.stories.js +41 -0
- package/dist/components/RefreshButton/RefreshButton.styles.js +39 -0
- package/dist/components/RegisterAlgorand/AlgoAddressName.js +138 -0
- package/dist/components/RegisterAlgorand/AlgoAdressSelect.js +444 -0
- package/dist/components/RegisterAlgorand/AlgoConnectWallet.js +47 -0
- package/dist/components/RegisterAlgorand/AlgoSuccess.js +38 -0
- package/dist/components/RegisterAlgorand/Algorand.stories.js +78 -0
- package/dist/components/RegisterAlgorand/ChooseWallet.js +97 -0
- package/dist/components/RegisterAlgorand/SelectProject.js +90 -0
- package/dist/components/RegisterAlgorand/_styles.js +28 -0
- package/dist/components/RegisterAlgorand/flow.js +409 -0
- package/dist/components/RegisterAlgorand/flowWithMemo.js +410 -0
- package/dist/components/RegisterAlgorand/index.js +48 -0
- package/dist/components/RegisterConfirmModal/RegisterConfirmModal.js +40 -0
- package/dist/components/RegisterConfirmModal/RegisterConfirmModal.stories.js +33 -0
- package/dist/components/RegisterConfirmModal/RegisterConfirmModal.styles.js +16 -0
- package/dist/components/RegisterEthereum/EthAddressLedger.js +215 -0
- package/dist/components/RegisterEthereum/EthAddressMetamask.js +205 -0
- package/dist/components/RegisterEthereum/EthAddressName.js +135 -0
- package/dist/components/RegisterEthereum/EthConnectLedger.js +194 -0
- package/dist/components/RegisterEthereum/EthConnectMetamask.js +35 -0
- package/dist/components/RegisterEthereum/EthFinish.js +41 -0
- package/dist/components/RegisterEthereum/EthIntro.js +95 -0
- package/dist/components/RegisterEthereum/_styles.js +28 -0
- package/dist/components/RegisterEthereum/index.js +68 -0
- package/dist/components/RegisterLiquidSteps/RegisterLiquidSteps.js +106 -0
- package/dist/components/RegisterLiquidSteps/RegisterLiquidSteps.stories.js +66 -0
- package/dist/components/RegisterLiquidSteps/RegisterLiquidSteps.styles.js +48 -0
- package/dist/components/RegisterLiquidSteps/complete.js +37 -0
- package/dist/components/RegisterLiquidSteps/flow.js +197 -0
- package/dist/components/RegisterLiquidSteps/index.js +52 -0
- package/dist/components/RegisterLiquidSteps/register-liquid.js +240 -0
- package/dist/components/RegisterModal/RegisterModal.js +180 -0
- package/dist/components/RegisterModal/RegisterModal.stories.js +46 -0
- package/dist/components/RequestDataBox/RequestDataBox.js +31 -0
- package/dist/components/RequestDataBox/RequestDataBox.stories.js +40 -0
- package/dist/components/RequestDataBox/RequestDataBox.styles.js +31 -0
- package/dist/components/RiskQuestionnaire/RiskQuestionnaireContext.js +185 -0
- package/dist/components/RiskQuestionnaire/_styles.js +15 -0
- package/dist/components/SEO/SEO.js +71 -0
- package/dist/components/SEO/SEO.stories.js +64 -0
- package/dist/components/SectionTitle/SectionTitle.styles.js +15 -0
- package/dist/components/SideLine/SideLine.js +15 -0
- package/dist/components/SideLine/SideLine.stories.js +31 -0
- package/dist/components/SideLine/SideLine.styles.js +26 -0
- package/dist/components/SigningSubflow/SignSubAddressMetamask.js +137 -0
- package/dist/components/SigningSubflow/SignSubConnectLedger.js +150 -0
- package/dist/components/SigningSubflow/SignSubConnectMetamask.js +137 -0
- package/dist/components/SigningSubflow/SignSubIntro.js +54 -0
- package/dist/components/SigningSubflow/SignSubSendLedger.js +150 -0
- package/dist/components/SigningSubflow/SignSubSendMetamask.js +62 -0
- package/dist/components/SigningSubflow/SignSubTransactionLedger.js +161 -0
- package/dist/components/SigningSubflow/SignSubTransactionMetamask.js +166 -0
- package/dist/components/SigningSubflow/_styles.js +45 -0
- package/dist/components/SigningSubflow/index.js +74 -0
- package/dist/components/Slider/Slider.js +50 -0
- package/dist/components/Slider/Slider.stories.js +72 -0
- package/dist/components/Slider/Slider.styles.js +23 -0
- package/dist/components/SpanButton/SpanButton.styles.js +15 -0
- package/dist/components/StatusBadge/StatusBadge.styles.js +20 -0
- package/dist/components/StepController/StepController.js +111 -0
- package/dist/components/StepController/StepController.stories.js +63 -0
- package/dist/components/StepController/StepController.styles.js +26 -0
- package/dist/components/StepController/StepControllerContext.js +104 -0
- package/dist/components/StepController/StepControllerProgress.js +40 -0
- package/dist/components/StepController/StepControllerProgress.stories.js +52 -0
- package/dist/components/StepsProgress/StepsProgress.js +127 -0
- package/dist/components/StepsProgress/StepsProgress.stories.js +50 -0
- package/dist/components/StepsProgress/StepsProgress.styles.js +36 -0
- package/dist/components/StokrLoader/StokrLoader.js +32 -0
- package/dist/components/StokrLoader/media.js +27 -0
- package/dist/components/SvgIcons/AdminBadgeSvg.js +26 -0
- package/dist/components/SvgIcons/CameraSvg.js +36 -0
- package/dist/components/SvgIcons/CapsLockSvg.js +31 -0
- package/dist/components/SvgIcons/DocumentBackSvg.js +35 -0
- package/dist/components/SvgIcons/DocumentSmallSvg.js +61 -0
- package/dist/components/SvgIcons/DocumentSvg.js +38 -0
- package/dist/components/SvgIcons/Early.js +24 -0
- package/dist/components/SvgIcons/EthSvg.js +40 -0
- package/dist/components/SvgIcons/EurSvg.js +26 -0
- package/dist/components/SvgIcons/FaceScanIconSvg.js +31 -0
- package/dist/components/SvgIcons/FourSvg.js +21 -0
- package/dist/components/SvgIcons/Glassess.js +29 -0
- package/dist/components/SvgIcons/LogoSvg.js +24 -0
- package/dist/components/SvgIcons/OneSvg.js +23 -0
- package/dist/components/SvgIcons/PassportSvg.js +56 -0
- package/dist/components/SvgIcons/RefreshSvg.js +27 -0
- package/dist/components/SvgIcons/SocialFacebook.js +25 -0
- package/dist/components/SvgIcons/SocialInstagram.js +26 -0
- package/dist/components/SvgIcons/SocialLinkedIn.js +25 -0
- package/dist/components/SvgIcons/SocialMedium.js +25 -0
- package/dist/components/SvgIcons/SocialReddit.js +25 -0
- package/dist/components/SvgIcons/SocialTelegram.js +25 -0
- package/dist/components/SvgIcons/SocialTwitter.js +25 -0
- package/dist/components/SvgIcons/SocialYoutube.js +25 -0
- package/dist/components/SvgIcons/ThreeSvg.js +20 -0
- package/dist/components/SvgIcons/TwoSidedDocumentSvg.js +82 -0
- package/dist/components/SvgIcons/TwoSvg.js +23 -0
- package/dist/components/SvgIcons/UpdateDefaultSvg.js +29 -0
- package/dist/components/SvgIcons/UpdateHardSvg.js +25 -0
- package/dist/components/SvgIcons/UpdateSoftSvg.js +27 -0
- package/dist/components/SvgIcons/UploadSvg.js +34 -0
- package/dist/components/SvgIcons/VerifiedBadge.js +23 -0
- package/dist/components/SvgIcons/index.js +223 -0
- package/dist/components/Switch/Switch.js +70 -0
- package/dist/components/Switch/Switch.stories.js +86 -0
- package/dist/components/Switch/Switch.styles.js +47 -0
- package/dist/components/Tabs/Tabs.js +70 -0
- package/dist/components/Tabs/Tabs.stories.js +29 -0
- package/dist/components/Tabs/Tabs.styles.js +18 -0
- package/dist/components/TabsNav/TabNav.js +31 -0
- package/dist/components/TabsNav/TabNav.stories.js +44 -0
- package/dist/components/TabsNav/TabsNav.js +43 -0
- package/dist/components/TabsNav/TabsNav.stories.js +26 -0
- package/dist/components/TabsNav/TabsNav.styles.js +43 -0
- package/dist/components/TeamOverview/TeamOverview.js +125 -0
- package/dist/components/TeamOverview/TeamOverview.stories.js +80 -0
- package/dist/components/TeamOverview/TeamOverview.styles.js +81 -0
- package/dist/components/Text/Headline.js +29 -0
- package/dist/components/Text/Headline.stories.js +51 -0
- package/dist/components/Text/StyledText.js +19 -0
- package/dist/components/Text/Text.stories.js +71 -0
- package/dist/components/Text/Text.styles.js +40 -0
- package/dist/components/TextLink/TextLink.styles.js +30 -0
- package/dist/components/ToDoList/ToDoList.js +184 -0
- package/dist/components/ToDoList/ToDoList.stories.js +137 -0
- package/dist/components/ToDoList/ToDoList.styles.js +83 -0
- package/dist/components/ToDoList/ToDoListTask.js +118 -0
- package/dist/components/ToDoList/ToDoListTask.stories.js +72 -0
- package/dist/components/ToDoList/ToDoListTask.styles.js +74 -0
- package/dist/components/TransactionDetails/TransactionDetails.js +46 -0
- package/dist/components/TransactionDetails/TransactionDetails.stories.js +59 -0
- package/dist/components/TransactionDetails/TransactionDetails.styles.js +31 -0
- package/dist/components/TransactionInfo/TransactionInfo.js +58 -0
- package/dist/components/TransactionInfo/TransactionInfo.stories.js +64 -0
- package/dist/components/TransactionInfo/TransactionInfo.styles.js +54 -0
- package/dist/components/TwoFactorModal/TwoFactorModal.js +122 -0
- package/dist/components/breakdown/Breakdown.js +56 -0
- package/dist/components/breakdown/index.js +27 -0
- package/dist/components/context/Auth.js +207 -0
- package/dist/components/context/AuthContext.js +335 -0
- package/dist/components/icons/Arrow.js +70 -0
- package/dist/components/icons/Arrow.stories.js +49 -0
- package/dist/components/icons/ArrowSimple.js +59 -0
- package/dist/components/icons/ArrowSimple.stories.js +55 -0
- package/dist/components/icons/Check.js +43 -0
- package/dist/components/icons/Check.stories.js +25 -0
- package/dist/components/icons/Facebook.js +26 -0
- package/dist/components/icons/Facebook.stories.js +24 -0
- package/dist/components/icons/Info.js +55 -0
- package/dist/components/icons/Info.stories.js +19 -0
- package/dist/components/icons/Instagram.js +26 -0
- package/dist/components/icons/Instagram.stories.js +24 -0
- package/dist/components/icons/LinkIcon.js +34 -0
- package/dist/components/icons/LinkIcon.stories.js +24 -0
- package/dist/components/icons/LinkedIn.js +43 -0
- package/dist/components/icons/LinkedIn.stories.js +19 -0
- package/dist/components/icons/Medium.js +42 -0
- package/dist/components/icons/Medium.stories.js +19 -0
- package/dist/components/icons/Reddit.js +32 -0
- package/dist/components/icons/Reddit.stories.js +24 -0
- package/dist/components/icons/Share.js +62 -0
- package/dist/components/icons/Share.stories.js +19 -0
- package/dist/components/icons/Telegram.js +42 -0
- package/dist/components/icons/Telegram.stories.js +19 -0
- package/dist/components/icons/Twitter.js +26 -0
- package/dist/components/icons/Twitter.stories.js +24 -0
- package/dist/components/icons/X.js +26 -0
- package/dist/components/icons/X.stories.js +19 -0
- package/dist/components/icons/Youtube.js +26 -0
- package/dist/components/icons/Youtube.stories.js +24 -0
- package/dist/components/icons/index.js +170 -0
- package/dist/components/renderToBody/index.js +27 -0
- package/dist/components/renderToBody/renderToBody.js +68 -0
- package/dist/components/taxId/TaxId.stories.js +42 -0
- package/dist/components/taxId/complete.js +32 -0
- package/dist/components/taxId/flow.js +52 -0
- package/dist/components/taxId/index.js +27 -0
- package/dist/components/taxId/register-taxid.js +186 -0
- package/dist/components/video/Video.js +174 -0
- package/dist/components/video/Video.stories.js +56 -0
- package/dist/components/video/index.js +27 -0
- package/dist/constants/style.js +52 -0
- package/dist/index.js +1 -177
- package/dist/model/axios.js +18 -0
- package/dist/model/axiosPublic.js +18 -0
- package/dist/styles/colors.js +55 -0
- package/dist/styles/fonts.js +34 -0
- package/dist/styles/global.js +19 -0
- package/dist/styles/grid.js +16 -0
- package/dist/styles/reactTippy.js +12 -0
- package/dist/styles/rwd.js +52 -0
- package/dist/styles/semanticUi.js +12 -0
- package/dist/styles/spacing.js +12 -0
- package/dist/styles/theme.js +43 -0
- package/dist/utils/allowed-countries-list.js +1375 -0
- package/dist/utils/breakpoint.js +19 -0
- package/dist/utils/countries-list.js +1008 -0
- package/dist/utils/customHooks.js +52 -0
- package/dist/utils/delete-redirect-cookie-and-navigate.js +20 -0
- package/dist/utils/fix-decimals.js +11 -0
- package/dist/utils/get-cookie-domain.js +16 -0
- package/dist/utils/get-short-address.js +10 -0
- package/dist/utils/lock-body.js +20 -0
- package/dist/utils/redirect-url.js +10 -0
- package/dist/utils/set-redirect-cookie.js +20 -0
- package/package.json +133 -128
- package/build/static/js/main.31d6cfe0.js +0 -0
- package/dist/AccountBalance/AccountBalance.js +0 -43
- package/dist/AccountBalance/AccountBalance.stories.js +0 -75
- package/dist/AccountBalance/AccountBalance.styles.js +0 -38
- package/dist/AdminDashboard/Table/Table.js +0 -120
- package/dist/AdminDashboard/Table/Table.styles.js +0 -111
- package/dist/AgreementItem/AgreementItem.js +0 -38
- package/dist/AgreementItem/AgreementItem.stories.js +0 -98
- package/dist/AgreementItem/AgreementItem.styles.js +0 -31
- package/dist/AnalyticGraphs/Analytic.js +0 -528
- package/dist/AnalyticGraphs/Analytic.styles.js +0 -49
- package/dist/BackButton/BackButton.js +0 -22
- package/dist/BackButton/BackButton.stories.js +0 -24
- package/dist/BackButton/BackButton.styles.js +0 -110
- package/dist/Background/Background.js +0 -34
- package/dist/Background/Background.stories.js +0 -50
- package/dist/Background/Background.styles.js +0 -113
- package/dist/BarChart/BarChart.js +0 -258
- package/dist/BarChart/BarChart.stories.js +0 -46
- package/dist/BarChart/BarChart.styles.js +0 -93
- package/dist/BarChartLegend/BarChartLegend.js +0 -74
- package/dist/BarChartLegend/BarChartLegend.styles.js +0 -26
- package/dist/BasicTable/BasicTable.js +0 -20
- package/dist/BasicTable/BasicTable.stories.js +0 -51
- package/dist/BasicTable/BasicTable.styles.js +0 -64
- package/dist/Button/Button.stories.js +0 -63
- package/dist/Button/Button.styles.js +0 -180
- package/dist/ButtonContainer/ButtonContainer.styles.js +0 -25
- package/dist/CapitalRaisedSummary/CapitalRaisedSummery.stories.js +0 -35
- package/dist/CapitalRaisedSummary/CaptialRaisedSummary.js +0 -23
- package/dist/CapitalRaisedSummary/CaptialRaisedSummary.styles.js +0 -36
- package/dist/ChartBox/ChartBox.js +0 -34
- package/dist/ChartBox/ChartBox.stories.js +0 -9
- package/dist/ChartBox/ChartBox.styles.js +0 -50
- package/dist/ChartBox/ChartBoxDistribution.js +0 -20
- package/dist/ChartBox/ChartBoxDistribution.stories.js +0 -10
- package/dist/ChartLegend/ChartLegend.js +0 -37
- package/dist/ChartLegend/ChartLegend.stories.js +0 -74
- package/dist/ChartLegend/ChartLegend.styles.js +0 -67
- package/dist/Checkbox/Checkbox.js +0 -108
- package/dist/Checkbox/Checkbox.stories.js +0 -82
- package/dist/Checkbox/Checkbox.styles.js +0 -123
- package/dist/Checklist/UserChecklist.js +0 -247
- package/dist/Checklist/UserChecklist.stories.js +0 -115
- package/dist/ComponentScroll/ComponentScroll.js +0 -99
- package/dist/ComponentScroll/ComponentScroll.stories.js +0 -92
- package/dist/ComponentScroll/ComponentScroll.styles.js +0 -104
- package/dist/ComponentWrapper/ComponentWrapper.styles.js +0 -128
- package/dist/CryptoAddress/ComponentWrap.js +0 -24
- package/dist/CryptoAddress/CryptoAddress.js +0 -124
- package/dist/CryptoAddress/CryptoAddress.stories.js +0 -163
- package/dist/CryptoAddress/CryptoAddress.styles.js +0 -399
- package/dist/CryptoAddress/RadioWrap.js +0 -36
- package/dist/CryptoAddressDetails/CryptoAddressDetails.js +0 -42
- package/dist/CryptoAddressDetails/CryptoAddressDetails.stories.js +0 -65
- package/dist/CryptoAddressDetails/CryptoAddressDetails.styles.js +0 -114
- package/dist/CryptoAddressWrapper/CryptoAddressWrapper.js +0 -30
- package/dist/CryptoAddressWrapper/CryptoAddressWrapper.styles.js +0 -98
- package/dist/DonutChart/DonutChart.js +0 -137
- package/dist/DonutChart/DonutChart.stories.js +0 -39
- package/dist/DonutChart/DonutChart.styles.js +0 -101
- package/dist/DoubleButton/DoubleButton.styles.js +0 -25
- package/dist/ErrorMessage/ErrorMessage.styles.js +0 -9
- package/dist/FAQ/FAQ.js +0 -40
- package/dist/FAQ/FAQ.stories.js +0 -63
- package/dist/FAQ/FAQ.styles.js +0 -69
- package/dist/Footer/Footer.js +0 -54
- package/dist/Footer/Footer.stories.js +0 -41
- package/dist/Footer/Footer.styles.js +0 -230
- package/dist/Footer/FooterLayout.js +0 -114
- package/dist/Footer/FooterLayout.stories.js +0 -20
- package/dist/Footer/FooterMenu.js +0 -83
- package/dist/Footer/FooterMenu.stories.js +0 -110
- package/dist/Footer/FooterMenu.styles.js +0 -274
- package/dist/Footer/index.js +0 -4
- package/dist/ForgotPasswordModal/ForgotPasswordModal.js +0 -89
- package/dist/ForgotPasswordModal/ForgotPasswordModal.stories.js +0 -31
- package/dist/Form/Form.js +0 -38
- package/dist/Form/Form.stories.js +0 -23
- package/dist/Form/Form.styles.js +0 -66
- package/dist/FullscreenCard/FullscreenCard.styles.js +0 -36
- package/dist/Grid/Grid.styles.js +0 -109
- package/dist/Header/Header.js +0 -369
- package/dist/Header/Header.stories.js +0 -172
- package/dist/Header/Header.styles.js +0 -493
- package/dist/Icon/Icon.style.js +0 -75
- package/dist/InfoIcon/InfoIcon.js +0 -40
- package/dist/InfoIcon/InfoIcon.stories.js +0 -40
- package/dist/InfoIcon/InfoIcon.styles.js +0 -42
- package/dist/InfoPanel/InfoPanel.js +0 -115
- package/dist/Input/DatePickerInput.js +0 -64
- package/dist/Input/DatePickerInput.stories.js +0 -80
- package/dist/Input/DatePickerInput.styles.js +0 -67
- package/dist/Input/Input.js +0 -86
- package/dist/Input/Input.stories.js +0 -134
- package/dist/Input/Input.styles.js +0 -126
- package/dist/Input/InputPassword.js +0 -122
- package/dist/Input/InputPassword.stories.js +0 -72
- package/dist/Input/InputPassword.styles.js +0 -139
- package/dist/Input/RangeInput.js +0 -46
- package/dist/Input/RangeInput.stories.js +0 -48
- package/dist/Input/RangeInput.styles.js +0 -125
- package/dist/Input/Select.js +0 -130
- package/dist/Input/Select.stories.js +0 -129
- package/dist/Input/Select.styles.js +0 -143
- package/dist/InvestCalculator/InvestCalculator.js +0 -353
- package/dist/InvestCalculator/InvestCalculator.stories.js +0 -129
- package/dist/InvestCalculator/InvestCalculator.styles.js +0 -78
- package/dist/InvestmentStat/InvestmentStat.js +0 -33
- package/dist/InvestmentStat/InvestmentStat.stories.js +0 -44
- package/dist/InvestmentStat/InvestmentStat.styles.js +0 -53
- package/dist/KYCFlow/BasicInfo.js +0 -396
- package/dist/KYCFlow/Confirmation.js +0 -37
- package/dist/KYCFlow/DocumentFileUpload.js +0 -240
- package/dist/KYCFlow/DocumentScan.js +0 -66
- package/dist/KYCFlow/DocumentScanUpload.js +0 -228
- package/dist/KYCFlow/DocumentSelect.js +0 -101
- package/dist/KYCFlow/DocumentSuccess.js +0 -54
- package/dist/KYCFlow/DocumentUpload.js +0 -44
- package/dist/KYCFlow/DocumentVerificationType.js +0 -114
- package/dist/KYCFlow/FaceScan.js +0 -45
- package/dist/KYCFlow/FaceScanRecognition.js +0 -52
- package/dist/KYCFlow/FaceScanSuccess.js +0 -47
- package/dist/KYCFlow/Terms.js +0 -99
- package/dist/KYCFlow/_styles.js +0 -284
- package/dist/KYCFlow/index.js +0 -14
- package/dist/KYCSelectBox/KYCSelectBox.styles.js +0 -62
- package/dist/LatestUpdate/LatestUpdate.js +0 -35
- package/dist/LatestUpdate/LatestUpdate.stories.js +0 -51
- package/dist/LatestUpdate/LatestUpdate.styles.js +0 -77
- package/dist/Layout/Layout-func-no-work.js +0 -67
- package/dist/Layout/Layout.js +0 -68
- package/dist/Layout/Layout.stories.js +0 -55
- package/dist/LearnMoreCarousel/LearnMoreCarousel.js +0 -39
- package/dist/LearnMoreCarousel/LearnMoreCarousel.stories.js +0 -58
- package/dist/LearnMoreCarousel/LearnMoreCarousel.styles.js +0 -205
- package/dist/LearnMorePage/LearnMore.js +0 -199
- package/dist/LearnMorePage/LearnMore.shared.styles.js +0 -49
- package/dist/LearnMorePage/LearnMore.stories.js +0 -41
- package/dist/LearnMorePage/LearnMore.styles.js +0 -250
- package/dist/LearnMorePage/LearnMoreExampleObject.js +0 -102
- package/dist/LearnMorePage/LearnMoreItem.js +0 -73
- package/dist/LearnMorePage/LearnMoreItem.stories.js +0 -54
- package/dist/LearnMorePage/LearnMoreItem.styles.js +0 -218
- package/dist/LearnMoreSection/LearnMore.js +0 -158
- package/dist/LearnMoreSection/LearnMore.stories.js +0 -23
- package/dist/LearnMoreSection/LearnMore.styles.js +0 -134
- package/dist/LearnMoreSection/LearnMoreItem.js +0 -39
- package/dist/LearnMoreSection/LearnMoreItem.stories.js +0 -52
- package/dist/LearnMoreSection/LearnMoreItem.styles.js +0 -54
- package/dist/LoginModal/LoginModal.js +0 -125
- package/dist/MainMenu/DynamicMainMenu.js +0 -41
- package/dist/MainMenu/MainMenu.js +0 -207
- package/dist/MainMenu/MainMenu.styles.js +0 -361
- package/dist/MatomoConnect/Matomo.js +0 -221
- package/dist/MatomoConnect/Matomo_fuckup.js +0 -185
- package/dist/MenuNav/MenuNav.styles.js +0 -88
- package/dist/Modal/Modal.js +0 -71
- package/dist/Modal/Modal.stories.js +0 -67
- package/dist/Modal/Modal.styles.js +0 -407
- package/dist/MultiProgressBar/MultiProgressBar.js +0 -33
- package/dist/MultiProgressBar/MultiProgressBar.stories.js +0 -61
- package/dist/MultiProgressBar/MultiProgressBar.styles.js +0 -92
- package/dist/Newsletter/Newsletter.js +0 -106
- package/dist/Newsletter/Newsletter.stories.js +0 -8
- package/dist/Newsletter/Newsletter.styles.js +0 -173
- package/dist/NotificationContext/NotificationContext.js +0 -126
- package/dist/NotificationContext/NotificationContext.stories.js +0 -32
- package/dist/NotificationCounter/NotificationCounter.styles.js +0 -23
- package/dist/Number/Number.js +0 -25
- package/dist/Number/Number.stories.js +0 -18
- package/dist/Number/Number.styles.js +0 -21
- package/dist/PageTransition/PageTransition.js +0 -42
- package/dist/Process/Process.stories.js +0 -34
- package/dist/Process/Process.styles.js +0 -87
- package/dist/ProfileBadge/ProfileBadge.js +0 -46
- package/dist/ProfileBadge/ProfileBadge.stories.js +0 -37
- package/dist/ProfileBadge/ProfileBadge.styles.js +0 -47
- package/dist/ProfileBox/ProfileBox.js +0 -29
- package/dist/ProfileBox/ProfileBox.stories.js +0 -27
- package/dist/ProfileBox/ProfileBox.styles.js +0 -60
- package/dist/ProfileHeader/ProfileHeader-CLb4.js +0 -401
- package/dist/ProfileHeader/ProfileHeader.js +0 -268
- package/dist/ProfileHeader/ProfileHeader.styles.js +0 -114
- package/dist/ProfileStat/ProfileStat.js +0 -32
- package/dist/ProfileStat/ProfileStat.stories.js +0 -58
- package/dist/ProfileStat/ProfileStat.styles.js +0 -80
- package/dist/ProofOfAddress/ProofOfAddress.styles.js +0 -76
- package/dist/ROI/ROI.js +0 -261
- package/dist/ROI/ROI.styles.js +0 -71
- package/dist/ROI/ROIChart.js +0 -348
- package/dist/ROI/ROIChart.styles.js +0 -98
- package/dist/ROI/ROIModal.js +0 -74
- package/dist/ROI/ROIScenarioBox.js +0 -46
- package/dist/ROI/ROIScenarioBox.styles.js +0 -131
- package/dist/Radio/Radio.js +0 -58
- package/dist/Radio/Radio.stories.js +0 -65
- package/dist/Radio/Radio.styles.js +0 -93
- package/dist/RefreshButton/RefreshButton.js +0 -14
- package/dist/RefreshButton/RefreshButton.stories.js +0 -29
- package/dist/RefreshButton/RefreshButton.styles.js +0 -57
- package/dist/RegisterAlgorand/AlgoAddressName.js +0 -103
- package/dist/RegisterAlgorand/AlgoAdressSelect.js +0 -274
- package/dist/RegisterAlgorand/AlgoConnectWallet.js +0 -37
- package/dist/RegisterAlgorand/AlgoSuccess.js +0 -28
- package/dist/RegisterAlgorand/Algorand.stories.js +0 -61
- package/dist/RegisterAlgorand/ChooseWallet.js +0 -77
- package/dist/RegisterAlgorand/SelectProject.js +0 -77
- package/dist/RegisterAlgorand/_styles.js +0 -30
- package/dist/RegisterAlgorand/flow.js +0 -243
- package/dist/RegisterAlgorand/flowWithMemo.js +0 -244
- package/dist/RegisterAlgorand/index.js +0 -7
- package/dist/RegisterConfirmModal/RegisterConfirmModal.js +0 -30
- package/dist/RegisterConfirmModal/RegisterConfirmModal.stories.js +0 -22
- package/dist/RegisterConfirmModal/RegisterConfirmModal.styles.js +0 -19
- package/dist/RegisterEthereum/EthAddressLedger.js +0 -151
- package/dist/RegisterEthereum/EthAddressMetamask.js +0 -165
- package/dist/RegisterEthereum/EthAddressName.js +0 -101
- package/dist/RegisterEthereum/EthConnectLedger.js +0 -117
- package/dist/RegisterEthereum/EthConnectMetamask.js +0 -25
- package/dist/RegisterEthereum/EthFinish.js +0 -32
- package/dist/RegisterEthereum/EthIntro.js +0 -77
- package/dist/RegisterEthereum/_styles.js +0 -30
- package/dist/RegisterEthereum/index.js +0 -9
- package/dist/RegisterLiquidSteps/RegisterLiquidSteps.js +0 -75
- package/dist/RegisterLiquidSteps/RegisterLiquidSteps.stories.js +0 -65
- package/dist/RegisterLiquidSteps/RegisterLiquidSteps.styles.js +0 -69
- package/dist/RegisterLiquidSteps/assets/nav_green.svg +0 -31
- package/dist/RegisterLiquidSteps/assets/video.mp4 +0 -0
- package/dist/RegisterLiquidSteps/assets/videothumbnail.jpg +0 -0
- package/dist/RegisterLiquidSteps/complete.js +0 -29
- package/dist/RegisterLiquidSteps/flow.js +0 -141
- package/dist/RegisterLiquidSteps/index.js +0 -29
- package/dist/RegisterLiquidSteps/register-liquid.js +0 -197
- package/dist/RegisterModal/RegisterModal.js +0 -143
- package/dist/RegisterModal/RegisterModal.stories.js +0 -35
- package/dist/RequestDataBox/RequestDataBox.js +0 -21
- package/dist/RequestDataBox/RequestDataBox.stories.js +0 -29
- package/dist/RequestDataBox/RequestDataBox.styles.js +0 -40
- package/dist/RiskQuestionnaire/RiskQuestionnaireContext.js +0 -111
- package/dist/RiskQuestionnaire/_styles.js +0 -6
- package/dist/SEO/SEO.js +0 -63
- package/dist/SEO/SEO.stories.js +0 -53
- package/dist/SectionTitle/SectionTitle.styles.js +0 -23
- package/dist/SideLine/SideLine.js +0 -4
- package/dist/SideLine/SideLine.stories.js +0 -20
- package/dist/SideLine/SideLine.styles.js +0 -29
- package/dist/SigningSubflow/SignSubAddressMetamask.js +0 -105
- package/dist/SigningSubflow/SignSubConnectLedger.js +0 -114
- package/dist/SigningSubflow/SignSubConnectMetamask.js +0 -101
- package/dist/SigningSubflow/SignSubIntro.js +0 -45
- package/dist/SigningSubflow/SignSubSendLedger.js +0 -114
- package/dist/SigningSubflow/SignSubSendMetamask.js +0 -53
- package/dist/SigningSubflow/SignSubTransactionLedger.js +0 -125
- package/dist/SigningSubflow/SignSubTransactionMetamask.js +0 -130
- package/dist/SigningSubflow/_styles.js +0 -59
- package/dist/SigningSubflow/index.js +0 -9
- package/dist/Slider/Slider.js +0 -43
- package/dist/Slider/Slider.stories.js +0 -63
- package/dist/Slider/Slider.styles.js +0 -115
- package/dist/SpanButton/SpanButton.styles.js +0 -14
- package/dist/StatusBadge/StatusBadge.styles.js +0 -16
- package/dist/StepController/StepController.js +0 -73
- package/dist/StepController/StepController.stories.js +0 -52
- package/dist/StepController/StepController.styles.js +0 -27
- package/dist/StepController/StepControllerContext.js +0 -61
- package/dist/StepController/StepControllerProgress.js +0 -28
- package/dist/StepController/StepControllerProgress.stories.js +0 -41
- package/dist/StepsProgress/StepsProgress.js +0 -95
- package/dist/StepsProgress/StepsProgress.stories.js +0 -23
- package/dist/StepsProgress/StepsProgress.styles.js +0 -97
- package/dist/StokrLoader/StokrLoader.js +0 -60
- package/dist/StokrLoader/media.js +0 -22
- package/dist/StokrLoader/stokr_loader_white_400x400.gif +0 -0
- package/dist/SvgIcons/AdminBadgeSvg.js +0 -16
- package/dist/SvgIcons/CameraSvg.js +0 -26
- package/dist/SvgIcons/CapsLockSvg.js +0 -21
- package/dist/SvgIcons/DocumentBackSvg.js +0 -25
- package/dist/SvgIcons/DocumentSmallSvg.js +0 -51
- package/dist/SvgIcons/DocumentSvg.js +0 -28
- package/dist/SvgIcons/Early.js +0 -14
- package/dist/SvgIcons/EthSvg.js +0 -30
- package/dist/SvgIcons/EurSvg.js +0 -16
- package/dist/SvgIcons/FaceScanIconSvg.js +0 -21
- package/dist/SvgIcons/FourSvg.js +0 -11
- package/dist/SvgIcons/Glassess.js +0 -19
- package/dist/SvgIcons/Icons_Badge.png +0 -0
- package/dist/SvgIcons/LogoSvg.js +0 -14
- package/dist/SvgIcons/OneSvg.js +0 -13
- package/dist/SvgIcons/PassportSvg.js +0 -46
- package/dist/SvgIcons/RefreshSvg.js +0 -17
- package/dist/SvgIcons/SocialFacebook.js +0 -15
- package/dist/SvgIcons/SocialInstagram.js +0 -15
- package/dist/SvgIcons/SocialLinkedIn.js +0 -15
- package/dist/SvgIcons/SocialMedium.js +0 -15
- package/dist/SvgIcons/SocialReddit.js +0 -15
- package/dist/SvgIcons/SocialTelegram.js +0 -15
- package/dist/SvgIcons/SocialTwitter.js +0 -15
- package/dist/SvgIcons/SocialYoutube.js +0 -15
- package/dist/SvgIcons/ThreeSvg.js +0 -10
- package/dist/SvgIcons/TwoSidedDocumentSvg.js +0 -72
- package/dist/SvgIcons/TwoSvg.js +0 -13
- package/dist/SvgIcons/UpdateDefaultSvg.js +0 -19
- package/dist/SvgIcons/UpdateHardSvg.js +0 -15
- package/dist/SvgIcons/UpdateSoftSvg.js +0 -17
- package/dist/SvgIcons/UploadSvg.js +0 -24
- package/dist/SvgIcons/VerifiedBadge.js +0 -13
- package/dist/SvgIcons/index.js +0 -32
- package/dist/Switch/Switch.js +0 -45
- package/dist/Switch/Switch.stories.js +0 -73
- package/dist/Switch/Switch.styles.js +0 -105
- package/dist/Tabs/Tabs.js +0 -48
- package/dist/Tabs/Tabs.stories.js +0 -28
- package/dist/Tabs/Tabs.styles.js +0 -11
- package/dist/TabsNav/TabNav.js +0 -21
- package/dist/TabsNav/TabNav.stories.js +0 -32
- package/dist/TabsNav/TabsNav.js +0 -23
- package/dist/TabsNav/TabsNav.stories.js +0 -25
- package/dist/TabsNav/TabsNav.styles.js +0 -80
- package/dist/TeamOverview/TeamOverview.js +0 -69
- package/dist/TeamOverview/TeamOverview.stories.js +0 -68
- package/dist/TeamOverview/TeamOverview.styles.js +0 -152
- package/dist/Text/Headline.js +0 -34
- package/dist/Text/Headline.stories.js +0 -40
- package/dist/Text/StyledText.js +0 -30
- package/dist/Text/Text.stories.js +0 -59
- package/dist/Text/Text.styles.js +0 -166
- package/dist/TextLink/TextLink.styles.js +0 -50
- package/dist/ToDoList/ToDoList.js +0 -172
- package/dist/ToDoList/ToDoList.stories.js +0 -123
- package/dist/ToDoList/ToDoList.styles.js +0 -115
- package/dist/ToDoList/ToDoListTask.js +0 -96
- package/dist/ToDoList/ToDoListTask.stories.js +0 -60
- package/dist/ToDoList/ToDoListTask.styles.js +0 -104
- package/dist/TransactionDetails/TransactionDetails.js +0 -27
- package/dist/TransactionDetails/TransactionDetails.stories.js +0 -47
- package/dist/TransactionDetails/TransactionDetails.styles.js +0 -31
- package/dist/TransactionInfo/TransactionInfo.js +0 -48
- package/dist/TransactionInfo/TransactionInfo.stories.js +0 -53
- package/dist/TransactionInfo/TransactionInfo.styles.js +0 -64
- package/dist/TwoFactorModal/TwoFactorModal.js +0 -84
- package/dist/breakdown/Breakdown.js +0 -124
- package/dist/breakdown/index.js +0 -2
- package/dist/context/Auth.js +0 -133
- package/dist/context/AuthContext.js +0 -154
- package/dist/icons/Arrow.js +0 -62
- package/dist/icons/Arrow.stories.js +0 -37
- package/dist/icons/ArrowSimple.js +0 -51
- package/dist/icons/ArrowSimple.stories.js +0 -41
- package/dist/icons/Check.js +0 -29
- package/dist/icons/Check.stories.js +0 -14
- package/dist/icons/Facebook.js +0 -15
- package/dist/icons/Facebook.stories.js +0 -15
- package/dist/icons/Info.js +0 -41
- package/dist/icons/Info.stories.js +0 -8
- package/dist/icons/Instagram.js +0 -15
- package/dist/icons/Instagram.stories.js +0 -15
- package/dist/icons/LinkIcon.js +0 -23
- package/dist/icons/LinkIcon.stories.js +0 -15
- package/dist/icons/LinkedIn.js +0 -29
- package/dist/icons/LinkedIn.stories.js +0 -8
- package/dist/icons/Medium.js +0 -28
- package/dist/icons/Medium.stories.js +0 -8
- package/dist/icons/Reddit.js +0 -18
- package/dist/icons/Reddit.stories.js +0 -15
- package/dist/icons/Share.js +0 -48
- package/dist/icons/Share.stories.js +0 -8
- package/dist/icons/Telegram.js +0 -28
- package/dist/icons/Telegram.stories.js +0 -8
- package/dist/icons/Twitter.js +0 -15
- package/dist/icons/Twitter.stories.js +0 -15
- package/dist/icons/X.js +0 -15
- package/dist/icons/X.stories.js +0 -8
- package/dist/icons/Youtube.js +0 -15
- package/dist/icons/Youtube.stories.js +0 -15
- package/dist/icons/index.js +0 -15
- package/dist/renderToBody/index.js +0 -2
- package/dist/renderToBody/renderToBody.js +0 -26
- package/dist/taxId/TaxId.stories.js +0 -29
- package/dist/taxId/complete.js +0 -21
- package/dist/taxId/flow.js +0 -31
- package/dist/taxId/index.js +0 -4
- package/dist/taxId/register-taxid.js +0 -156
- package/dist/video/Video.js +0 -274
- package/dist/video/Video.stories.js +0 -45
- package/dist/video/img/play-btn.svg +0 -1
- package/dist/video/index.js +0 -2
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -43
- package/public/logo192.png +0 -0
- package/public/logo512.png +0 -0
- package/public/manifest.json +0 -25
- package/public/robots.txt +0 -3
- package/react-scripts +0 -0
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
import React, { PureComponent, Fragment } from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import { navigate } from '@reach/router';
|
|
4
|
-
import { Collapse } from 'react-collapse';
|
|
5
|
-
import TabsNav from 'components/TabsNav/TabsNav';
|
|
6
|
-
import { Row } from 'components/Grid/Grid.styles';
|
|
7
|
-
import ComponentScroll from 'components/ComponentScroll/ComponentScroll';
|
|
8
|
-
import { getMedia } from 'styles/rwd';
|
|
9
|
-
import BackButton from 'components/BackButton/BackButton';
|
|
10
|
-
import LearnMoreItem from './LearnMoreItem';
|
|
11
|
-
import { TabNav, TabArrow, Container, TitleContainer, SubTabNav, SidebarColumn, SidebarHeading, SidebarTitle, ContentColumn, MobileMenuToggler } from './LearnMore.styles';
|
|
12
|
-
import { CompleteMarkTooltip, CompleteMark, CompleteMarkContainer } from './LearnMore.shared.styles';
|
|
13
|
-
export class LearnMore extends PureComponent {
|
|
14
|
-
state = {
|
|
15
|
-
openedTab: '',
|
|
16
|
-
isMobile: false,
|
|
17
|
-
isSidebarExpanded: false
|
|
18
|
-
};
|
|
19
|
-
componentDidMount() {
|
|
20
|
-
this.setDefaultActiveTab();
|
|
21
|
-
window.addEventListener('resize', this.onResize);
|
|
22
|
-
this.onResizeTimeout();
|
|
23
|
-
}
|
|
24
|
-
componentWillUnmount() {
|
|
25
|
-
window.removeEventListener('resize', this.onResize);
|
|
26
|
-
}
|
|
27
|
-
getActiveTab = tabId => {
|
|
28
|
-
const {
|
|
29
|
-
categories
|
|
30
|
-
} = this.props;
|
|
31
|
-
let activeTabObject = {};
|
|
32
|
-
categories.find(category => {
|
|
33
|
-
const {
|
|
34
|
-
subcategories
|
|
35
|
-
} = category;
|
|
36
|
-
if (subcategories.length) {
|
|
37
|
-
activeTabObject = subcategories.find(subcategory => subcategory.id === tabId);
|
|
38
|
-
if (activeTabObject) {
|
|
39
|
-
return true;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
if (category.id === tabId) {
|
|
43
|
-
activeTabObject = category;
|
|
44
|
-
return true;
|
|
45
|
-
}
|
|
46
|
-
return false;
|
|
47
|
-
});
|
|
48
|
-
return activeTabObject;
|
|
49
|
-
};
|
|
50
|
-
setDefaultActiveTab = () => {
|
|
51
|
-
const {
|
|
52
|
-
activeCategory
|
|
53
|
-
} = this.props;
|
|
54
|
-
this.toggleTab(activeCategory);
|
|
55
|
-
};
|
|
56
|
-
toggleTab = tabId => {
|
|
57
|
-
const {
|
|
58
|
-
openedTab
|
|
59
|
-
} = this.state;
|
|
60
|
-
if (openedTab === tabId) {
|
|
61
|
-
this.setState({
|
|
62
|
-
openedTab: ''
|
|
63
|
-
});
|
|
64
|
-
return;
|
|
65
|
-
}
|
|
66
|
-
this.setState({
|
|
67
|
-
openedTab: tabId
|
|
68
|
-
});
|
|
69
|
-
};
|
|
70
|
-
toggleSidebar = () => {
|
|
71
|
-
this.setState(prevState => ({
|
|
72
|
-
isSidebarExpanded: !prevState.isSidebarExpanded
|
|
73
|
-
}));
|
|
74
|
-
};
|
|
75
|
-
onResize = () => {
|
|
76
|
-
clearTimeout(this.timeout);
|
|
77
|
-
this.timeout = setTimeout(this.onResizeTimeout, 200);
|
|
78
|
-
};
|
|
79
|
-
onResizeTimeout = () => {
|
|
80
|
-
this.setState({
|
|
81
|
-
isMobile: this.checkIsMobile()
|
|
82
|
-
});
|
|
83
|
-
};
|
|
84
|
-
checkIsMobile = () => !window.matchMedia(getMedia('Medium')).matches;
|
|
85
|
-
navigateToSubcategory = subcategoryId => {
|
|
86
|
-
const {
|
|
87
|
-
categories,
|
|
88
|
-
items
|
|
89
|
-
} = this.props;
|
|
90
|
-
navigate(`/learn-more/${subcategoryId}`, {
|
|
91
|
-
state: {
|
|
92
|
-
learnMore: {
|
|
93
|
-
categories,
|
|
94
|
-
items
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
|
-
};
|
|
99
|
-
render() {
|
|
100
|
-
const {
|
|
101
|
-
activeItem,
|
|
102
|
-
items,
|
|
103
|
-
categories,
|
|
104
|
-
onMarkComplete
|
|
105
|
-
} = this.props;
|
|
106
|
-
const {
|
|
107
|
-
openedTab,
|
|
108
|
-
isMobile,
|
|
109
|
-
isSidebarExpanded
|
|
110
|
-
} = this.state;
|
|
111
|
-
const activeTabObject = this.getActiveTab(activeItem) || {};
|
|
112
|
-
const activeItemObject = items.find(post => post.id === activeItem);
|
|
113
|
-
return /*#__PURE__*/React.createElement(Container, null, /*#__PURE__*/React.createElement(Row, {
|
|
114
|
-
nowrap: true
|
|
115
|
-
}, isMobile && /*#__PURE__*/React.createElement(MobileMenuToggler, {
|
|
116
|
-
isActive: isSidebarExpanded,
|
|
117
|
-
onClick: this.toggleSidebar
|
|
118
|
-
}, /*#__PURE__*/React.createElement("span", null), /*#__PURE__*/React.createElement("span", null), /*#__PURE__*/React.createElement("span", null)), /*#__PURE__*/React.createElement(SidebarColumn, {
|
|
119
|
-
part: 6,
|
|
120
|
-
isExpanded: isSidebarExpanded
|
|
121
|
-
}, /*#__PURE__*/React.createElement(ComponentScroll, {
|
|
122
|
-
autoHeight: true,
|
|
123
|
-
autoHeightMin: "100vh",
|
|
124
|
-
autoHeightMax: "100vh"
|
|
125
|
-
}, /*#__PURE__*/React.createElement(TitleContainer, null, /*#__PURE__*/React.createElement(SidebarHeading, null, "INVESTING 101"), /*#__PURE__*/React.createElement(SidebarTitle, null, "LEARN MORE ABOUT INVESTING"), /*#__PURE__*/React.createElement(BackButton, {
|
|
126
|
-
to: "/"
|
|
127
|
-
}, "Back to previous page")), /*#__PURE__*/React.createElement(TabsNav, {
|
|
128
|
-
activeTab: activeItem
|
|
129
|
-
}, categories.map(category => /*#__PURE__*/React.createElement(Fragment, {
|
|
130
|
-
key: category.id
|
|
131
|
-
}, /*#__PURE__*/React.createElement(TabNav, {
|
|
132
|
-
borderTop: true,
|
|
133
|
-
tabId: category.id,
|
|
134
|
-
isActive: category.subcategories.some(subcategory => subcategory.id === activeItem),
|
|
135
|
-
complete: category.complete,
|
|
136
|
-
onClick: () => this.toggleTab(category.id)
|
|
137
|
-
}, /*#__PURE__*/React.createElement(TabArrow, {
|
|
138
|
-
isActive: openedTab === category.id
|
|
139
|
-
}), category.title, /*#__PURE__*/React.createElement(CompleteMarkTooltip, {
|
|
140
|
-
disabled: !category.tooltip,
|
|
141
|
-
position: "right center",
|
|
142
|
-
content: category.tooltip,
|
|
143
|
-
trigger: /*#__PURE__*/React.createElement(CompleteMarkContainer, {
|
|
144
|
-
inProgress: category.inProgress,
|
|
145
|
-
complete: category.complete
|
|
146
|
-
}, /*#__PURE__*/React.createElement(CompleteMark, null))
|
|
147
|
-
})), /*#__PURE__*/React.createElement(Collapse, {
|
|
148
|
-
isOpened: openedTab === category.id
|
|
149
|
-
}, category.subcategories.map(subcategory => /*#__PURE__*/React.createElement(SubTabNav, {
|
|
150
|
-
key: subcategory.id,
|
|
151
|
-
tabId: subcategory.id,
|
|
152
|
-
isActive: activeItem === subcategory.id,
|
|
153
|
-
onClick: () => this.navigateToSubcategory(subcategory.id)
|
|
154
|
-
}, subcategory.title, /*#__PURE__*/React.createElement(CompleteMarkTooltip, {
|
|
155
|
-
disabled: !subcategory.tooltip,
|
|
156
|
-
position: "right center",
|
|
157
|
-
content: subcategory.tooltip,
|
|
158
|
-
trigger: /*#__PURE__*/React.createElement(CompleteMarkContainer, {
|
|
159
|
-
inProgress: subcategory.inProgress,
|
|
160
|
-
complete: subcategory.complete
|
|
161
|
-
}, /*#__PURE__*/React.createElement(CompleteMark, null))
|
|
162
|
-
}))))))))), /*#__PURE__*/React.createElement(ContentColumn, {
|
|
163
|
-
part: 16
|
|
164
|
-
}, activeItemObject && /*#__PURE__*/React.createElement(LearnMoreItem, {
|
|
165
|
-
postItem: activeItemObject,
|
|
166
|
-
activeTabObject: activeTabObject,
|
|
167
|
-
onMarkComplete: onMarkComplete
|
|
168
|
-
}))));
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
export const learnMoreCategoryPropTypes = {
|
|
172
|
-
title: PropTypes.string.isRequired,
|
|
173
|
-
inProgress: PropTypes.bool,
|
|
174
|
-
complete: PropTypes.bool,
|
|
175
|
-
tooltip: PropTypes.node
|
|
176
|
-
};
|
|
177
|
-
export const learnMorePostPropTypes = {
|
|
178
|
-
id: PropTypes.string.isRequired,
|
|
179
|
-
title: PropTypes.string.isRequired,
|
|
180
|
-
excerpt: PropTypes.string.isRequired,
|
|
181
|
-
content: PropTypes.string.isRequired,
|
|
182
|
-
postType: PropTypes.oneOf(['video', 'text']),
|
|
183
|
-
cover: PropTypes.string,
|
|
184
|
-
videoSrc: PropTypes.string
|
|
185
|
-
};
|
|
186
|
-
LearnMore.propTypes = {
|
|
187
|
-
items: PropTypes.arrayOf(PropTypes.shape(learnMorePostPropTypes)).isRequired,
|
|
188
|
-
categories: PropTypes.arrayOf(PropTypes.shape({
|
|
189
|
-
...learnMoreCategoryPropTypes,
|
|
190
|
-
subcategories: PropTypes.arrayOf(PropTypes.shape(learnMoreCategoryPropTypes))
|
|
191
|
-
})).isRequired,
|
|
192
|
-
onMarkComplete: PropTypes.func,
|
|
193
|
-
activeCategory: PropTypes.string.isRequired,
|
|
194
|
-
activeItem: PropTypes.string.isRequired
|
|
195
|
-
};
|
|
196
|
-
LearnMore.defaultProps = {
|
|
197
|
-
onMarkComplete: () => {}
|
|
198
|
-
};
|
|
199
|
-
export default LearnMore;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import styled, { css } from 'styled-components/macro';
|
|
2
|
-
import { Popup } from 'semantic-ui-react';
|
|
3
|
-
import theme from 'styles/theme';
|
|
4
|
-
export const CompleteMark = styled.i.attrs({
|
|
5
|
-
className: 'ion ion-md-checkmark'
|
|
6
|
-
})`
|
|
7
|
-
margin: auto;
|
|
8
|
-
`;
|
|
9
|
-
export const CompleteMarkContainer = styled.div`
|
|
10
|
-
width: 20px;
|
|
11
|
-
height: 20px;
|
|
12
|
-
border-radius: 50%;
|
|
13
|
-
display: flex;
|
|
14
|
-
border: 1px dotted ${props => theme.cLightGrey};
|
|
15
|
-
margin-left: auto;
|
|
16
|
-
|
|
17
|
-
${CompleteMark} {
|
|
18
|
-
display: none;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
${props => props.inProgress && `
|
|
22
|
-
border-style: solid;
|
|
23
|
-
border-color: ${theme.cLighterGreen};
|
|
24
|
-
`}
|
|
25
|
-
|
|
26
|
-
${props => props.complete && css`
|
|
27
|
-
border-style: solid;
|
|
28
|
-
border-color: ${theme.cLighterGreen};
|
|
29
|
-
background: ${theme.cLighterGreen};
|
|
30
|
-
|
|
31
|
-
${CompleteMark} {
|
|
32
|
-
display: block;
|
|
33
|
-
color: ${theme.cDarkGreen};
|
|
34
|
-
}
|
|
35
|
-
`}
|
|
36
|
-
|
|
37
|
-
${props => props.large && css`
|
|
38
|
-
width: 40px;
|
|
39
|
-
height: 40px;
|
|
40
|
-
|
|
41
|
-
${CompleteMark} {
|
|
42
|
-
font-size: 2em;
|
|
43
|
-
}
|
|
44
|
-
`}
|
|
45
|
-
`;
|
|
46
|
-
export const CompleteMarkTooltip = styled(Popup)`
|
|
47
|
-
margin-left: auto;
|
|
48
|
-
padding-left: 8px;
|
|
49
|
-
`;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { LearnMore } from './LearnMore';
|
|
3
|
-
// import { ComponentWrapper } from '../ComponentWrapper/ComponentWrapper.styles'
|
|
4
|
-
|
|
5
|
-
export default {
|
|
6
|
-
title: 'Components Library/LearnMorePage/LearnMore',
|
|
7
|
-
component: LearnMore,
|
|
8
|
-
argTypes: {
|
|
9
|
-
items: {
|
|
10
|
-
type: 'array of shape',
|
|
11
|
-
defaultValue: [],
|
|
12
|
-
required: true
|
|
13
|
-
},
|
|
14
|
-
categories: {
|
|
15
|
-
type: 'array of shape',
|
|
16
|
-
defaultValue: [],
|
|
17
|
-
required: true
|
|
18
|
-
},
|
|
19
|
-
subcategories: {
|
|
20
|
-
type: 'array of shape',
|
|
21
|
-
defaultValue: [],
|
|
22
|
-
required: true
|
|
23
|
-
},
|
|
24
|
-
onMarkComplete: {
|
|
25
|
-
type: 'function'
|
|
26
|
-
},
|
|
27
|
-
activeCategory: {
|
|
28
|
-
type: 'string',
|
|
29
|
-
defaultValue: '',
|
|
30
|
-
required: true
|
|
31
|
-
},
|
|
32
|
-
activeItem: {
|
|
33
|
-
type: 'string',
|
|
34
|
-
defaultValue: '',
|
|
35
|
-
required: true
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
const Template = args => /*#__PURE__*/React.createElement(LearnMore, args);
|
|
40
|
-
export const LearnMoreDefault = Template.bind({});
|
|
41
|
-
LearnMoreDefault.args = {};
|
|
@@ -1,250 +0,0 @@
|
|
|
1
|
-
import styled, { css } from 'styled-components/macro';
|
|
2
|
-
import ComponentWrapper from 'components/ComponentWrapper/ComponentWrapper.styles';
|
|
3
|
-
import { TabsWrapper, StyledTabs } from 'components/TabsNav/TabsNav.styles';
|
|
4
|
-
import rwd from 'styles/rwd';
|
|
5
|
-
import { Column } from 'components/Grid/Grid.styles';
|
|
6
|
-
import { StyledBackButton, BackButtonIcon } from 'components/BackButton/BackButton.styles';
|
|
7
|
-
import theme from 'styles/theme';
|
|
8
|
-
import spacing from 'styles/spacing';
|
|
9
|
-
export const Container = styled.div`
|
|
10
|
-
width: 100%;
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
|
|
13
|
-
${TabsWrapper} {
|
|
14
|
-
padding: 0 !important;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
${StyledTabs} {
|
|
18
|
-
border-bottom: none;
|
|
19
|
-
}
|
|
20
|
-
`;
|
|
21
|
-
export const TabArrow = styled.i.attrs({
|
|
22
|
-
className: 'ion ion-ios-arrow-forward'
|
|
23
|
-
})`
|
|
24
|
-
color: ${props => theme.cWarning};
|
|
25
|
-
margin-right: 6px;
|
|
26
|
-
transition: 0.3s transform;
|
|
27
|
-
|
|
28
|
-
${props => props.isActive === true && `
|
|
29
|
-
transform: rotate(90deg);
|
|
30
|
-
`}
|
|
31
|
-
`;
|
|
32
|
-
export const TitleContainer = styled(ComponentWrapper)`
|
|
33
|
-
display: flex;
|
|
34
|
-
flex-direction: column;
|
|
35
|
-
|
|
36
|
-
${rwd.Medium`
|
|
37
|
-
padding: 64px;
|
|
38
|
-
`}
|
|
39
|
-
|
|
40
|
-
${rwd.Large`
|
|
41
|
-
padding-right: 96px;
|
|
42
|
-
`}
|
|
43
|
-
|
|
44
|
-
${StyledBackButton} {
|
|
45
|
-
color: ${props => theme.cPrimary};
|
|
46
|
-
text-transform: uppercase;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
${BackButtonIcon} {
|
|
50
|
-
color: ${props => theme.cPrimary};
|
|
51
|
-
}
|
|
52
|
-
`;
|
|
53
|
-
export const TabTitle = styled.div`
|
|
54
|
-
padding: 42px 36px;
|
|
55
|
-
display: flex;
|
|
56
|
-
justify-content: space-between;
|
|
57
|
-
font-weight: 700;
|
|
58
|
-
text-transform: uppercase;
|
|
59
|
-
position: relative;
|
|
60
|
-
font-size: 11px;
|
|
61
|
-
line-height: 20px;
|
|
62
|
-
letter-spacing: 0.6px;
|
|
63
|
-
`;
|
|
64
|
-
export const Arrow = styled.i.attrs({
|
|
65
|
-
className: 'ion ion-ios-arrow-right'
|
|
66
|
-
})`
|
|
67
|
-
&&& {
|
|
68
|
-
position: absolute;
|
|
69
|
-
top: 50%;
|
|
70
|
-
right: 32px;
|
|
71
|
-
transition: 0.3s transform;
|
|
72
|
-
transform: rotate(0);
|
|
73
|
-
text-align: center;
|
|
74
|
-
font-size: 16px;
|
|
75
|
-
line-height: 16px;
|
|
76
|
-
height: 16px;
|
|
77
|
-
margin-top: -8px;
|
|
78
|
-
|
|
79
|
-
${props => props.isOpened && `
|
|
80
|
-
transform: rotate(-90deg);
|
|
81
|
-
`}
|
|
82
|
-
}
|
|
83
|
-
`;
|
|
84
|
-
export const SubTabNav = styled(ComponentWrapper)`
|
|
85
|
-
display: flex;
|
|
86
|
-
align-items: center;
|
|
87
|
-
font-size: 10px;
|
|
88
|
-
cursor: pointer;
|
|
89
|
-
transition: 0.3s background;
|
|
90
|
-
background: ${props => theme.cWhite};
|
|
91
|
-
|
|
92
|
-
&::before {
|
|
93
|
-
content: '';
|
|
94
|
-
display: none;
|
|
95
|
-
position: absolute;
|
|
96
|
-
top: 52px;
|
|
97
|
-
bottom: -32px;
|
|
98
|
-
right: 42px;
|
|
99
|
-
z-index: 1;
|
|
100
|
-
width: 0;
|
|
101
|
-
border-left: 1px dotted ${props => theme.cLightGrey};
|
|
102
|
-
transform: translateX(50%);
|
|
103
|
-
|
|
104
|
-
${rwd.Medium`
|
|
105
|
-
display: block;
|
|
106
|
-
`}
|
|
107
|
-
|
|
108
|
-
${rwd.Large`
|
|
109
|
-
right: 74px;
|
|
110
|
-
`}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
&:last-child::before {
|
|
114
|
-
display: none;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
${props => props.isActive && css`
|
|
118
|
-
font-weight: 700;
|
|
119
|
-
background: ${theme.cGrey};
|
|
120
|
-
`}
|
|
121
|
-
`;
|
|
122
|
-
export const TabNav = styled(ComponentWrapper)`
|
|
123
|
-
display: flex;
|
|
124
|
-
align-items: center;
|
|
125
|
-
font-size: 12px;
|
|
126
|
-
font-weight: 700;
|
|
127
|
-
letter-spacing: 0.4px;
|
|
128
|
-
text-transform: uppercase;
|
|
129
|
-
cursor: pointer;
|
|
130
|
-
|
|
131
|
-
&:last-child {
|
|
132
|
-
border-bottom: 1px solid ${props => theme.cLightGrey};
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
${props => props.isActive && css`
|
|
136
|
-
&::before {
|
|
137
|
-
content: '';
|
|
138
|
-
width: 8px;
|
|
139
|
-
position: absolute;
|
|
140
|
-
left: 0;
|
|
141
|
-
top: 0;
|
|
142
|
-
bottom: 0;
|
|
143
|
-
background: ${theme.cWarning};
|
|
144
|
-
}
|
|
145
|
-
`}
|
|
146
|
-
|
|
147
|
-
+ div ${SubTabNav}::before {
|
|
148
|
-
${props => props.complete && css`
|
|
149
|
-
border-color: ${theme.cLighterGreen};
|
|
150
|
-
border-left-style: solid;
|
|
151
|
-
`}
|
|
152
|
-
}
|
|
153
|
-
`;
|
|
154
|
-
export const SidebarColumn = styled(Column)`
|
|
155
|
-
max-width: 300px;
|
|
156
|
-
position: fixed;
|
|
157
|
-
background: ${props => theme.cWhite};
|
|
158
|
-
z-index: 10000;
|
|
159
|
-
border-right: 1px solid ${props => theme.cLightGrey};
|
|
160
|
-
top: 0;
|
|
161
|
-
padding-top: 48px;
|
|
162
|
-
transition: 0.3s transform;
|
|
163
|
-
transform: translateX(-100%);
|
|
164
|
-
${props => props.isExpanded && 'transform: translateX(0);'}
|
|
165
|
-
|
|
166
|
-
${rwd.Medium`
|
|
167
|
-
transform: translateX(0);
|
|
168
|
-
max-width: 300px;
|
|
169
|
-
padding-top: ${props => spacing.headerHeight}px;
|
|
170
|
-
`}
|
|
171
|
-
|
|
172
|
-
${rwd.Large`
|
|
173
|
-
max-width: 400px;
|
|
174
|
-
`}
|
|
175
|
-
`;
|
|
176
|
-
export const ContentColumn = styled(Column)`
|
|
177
|
-
${rwd.Medium`
|
|
178
|
-
margin-left: 300px;
|
|
179
|
-
`}
|
|
180
|
-
|
|
181
|
-
${rwd.Large`
|
|
182
|
-
margin-left: 400px;
|
|
183
|
-
`}
|
|
184
|
-
`;
|
|
185
|
-
export const SidebarTitle = styled.h3`
|
|
186
|
-
font-family: 'Open Sans';
|
|
187
|
-
font-size: 20px;
|
|
188
|
-
line-height: 24px;
|
|
189
|
-
font-weight: 700;
|
|
190
|
-
margin-bottom: 20px;
|
|
191
|
-
`;
|
|
192
|
-
export const SidebarHeading = styled.div`
|
|
193
|
-
font-size: 12px;
|
|
194
|
-
letter-spacing: 0.4px;
|
|
195
|
-
font-weight: 600;
|
|
196
|
-
margin-bottom: 16px;
|
|
197
|
-
`;
|
|
198
|
-
export const MobileMenuToggler = styled.div`
|
|
199
|
-
display: block;
|
|
200
|
-
width: 48px;
|
|
201
|
-
height: 48px;
|
|
202
|
-
position: fixed;
|
|
203
|
-
top: 0;
|
|
204
|
-
left: 0;
|
|
205
|
-
background: ${props => theme.cWhite};
|
|
206
|
-
z-index: 10001;
|
|
207
|
-
|
|
208
|
-
${rwd.Medium`
|
|
209
|
-
display: none;
|
|
210
|
-
`}
|
|
211
|
-
|
|
212
|
-
span {
|
|
213
|
-
display: block;
|
|
214
|
-
width: 16px;
|
|
215
|
-
height: 2px;
|
|
216
|
-
position: absolute;
|
|
217
|
-
top: 50%;
|
|
218
|
-
left: 50%;
|
|
219
|
-
margin-top: -1px;
|
|
220
|
-
margin-left: -8px;
|
|
221
|
-
background-color: ${props => theme.cText};
|
|
222
|
-
transition: background-color 0.4s, transform 0.4s;
|
|
223
|
-
|
|
224
|
-
&:nth-child(1) {
|
|
225
|
-
transform: translateY(-6px);
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
&:nth-child(3) {
|
|
229
|
-
transform: translateY(6px);
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
${props => props.isActive && `
|
|
234
|
-
span {
|
|
235
|
-
background-color: ${theme.cPrimary};
|
|
236
|
-
|
|
237
|
-
&:nth-child(1) {
|
|
238
|
-
transform: translateY(0) rotate(135deg);
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
&:nth-child(2) {
|
|
242
|
-
transform: scaleX(0);
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
&:nth-child(3) {
|
|
246
|
-
transform: translateY(0) rotate(-135deg);
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
`}
|
|
250
|
-
`;
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import whalesImage from 'static/images/whales.png';
|
|
2
|
-
export const LearnMoreExampleObject = {
|
|
3
|
-
categories: [{
|
|
4
|
-
id: 'category1',
|
|
5
|
-
title: 'Category 1',
|
|
6
|
-
inProgress: false,
|
|
7
|
-
complete: false,
|
|
8
|
-
tooltip: 'Example tooltip',
|
|
9
|
-
subcategories: [{
|
|
10
|
-
id: 'category11',
|
|
11
|
-
title: 'Category 1.1',
|
|
12
|
-
inProgress: false,
|
|
13
|
-
complete: false,
|
|
14
|
-
tooltip: 'Reading time: 2min'
|
|
15
|
-
}]
|
|
16
|
-
}, {
|
|
17
|
-
id: 'category2',
|
|
18
|
-
title: 'Category 2',
|
|
19
|
-
inProgress: true,
|
|
20
|
-
complete: false,
|
|
21
|
-
subcategories: [{
|
|
22
|
-
id: 'category21',
|
|
23
|
-
title: 'Category 2.1',
|
|
24
|
-
inProgress: true,
|
|
25
|
-
complete: false,
|
|
26
|
-
tooltip: 'Reading time: 2min'
|
|
27
|
-
}, {
|
|
28
|
-
id: 'category22',
|
|
29
|
-
title: 'Category 2.2',
|
|
30
|
-
inProgress: false,
|
|
31
|
-
complete: true
|
|
32
|
-
}]
|
|
33
|
-
}, {
|
|
34
|
-
id: 'category3',
|
|
35
|
-
title: 'Category 3',
|
|
36
|
-
inProgress: false,
|
|
37
|
-
complete: false,
|
|
38
|
-
subcategories: [{
|
|
39
|
-
id: 'category31',
|
|
40
|
-
title: 'Category 3.1',
|
|
41
|
-
inProgress: false,
|
|
42
|
-
complete: false,
|
|
43
|
-
tooltip: 'Reading time: 2min'
|
|
44
|
-
}]
|
|
45
|
-
}],
|
|
46
|
-
items: [{
|
|
47
|
-
id: 'category11',
|
|
48
|
-
title: 'Making invisible people visible again!',
|
|
49
|
-
excerpt: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
50
|
-
content: '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>',
|
|
51
|
-
postType: 'video',
|
|
52
|
-
videoSrc: '',
|
|
53
|
-
cover: whalesImage
|
|
54
|
-
}, {
|
|
55
|
-
id: 'category21',
|
|
56
|
-
title: 'Get a 21 tast of token investing',
|
|
57
|
-
excerpt: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
58
|
-
content: '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p><h4>Lorem ipsum dolor</h4><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>',
|
|
59
|
-
postType: 'video',
|
|
60
|
-
videoSrc: '',
|
|
61
|
-
cover: whalesImage
|
|
62
|
-
}, {
|
|
63
|
-
id: 'category22',
|
|
64
|
-
title: 'Get a 22 tast of token investing',
|
|
65
|
-
excerpt: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
66
|
-
content: `
|
|
67
|
-
<h5>Our vision</h5>
|
|
68
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
|
69
|
-
<h5>Our vision list</h5>
|
|
70
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
|
71
|
-
<ul>
|
|
72
|
-
<li>List item 1</li>
|
|
73
|
-
<li>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et</li>
|
|
74
|
-
</ul>
|
|
75
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
|
76
|
-
<img src="${whalesImage}" alt="" />
|
|
77
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
|
78
|
-
`,
|
|
79
|
-
postType: 'text',
|
|
80
|
-
cover: whalesImage
|
|
81
|
-
}, {
|
|
82
|
-
id: 'category31',
|
|
83
|
-
title: 'Get a 3 tast of token investing',
|
|
84
|
-
excerpt: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
85
|
-
content: `
|
|
86
|
-
<h5>Our vision</h5>
|
|
87
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
|
88
|
-
<h5>Our vision list</h5>
|
|
89
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
|
90
|
-
<ul>
|
|
91
|
-
<li>List item 1</li>
|
|
92
|
-
<li>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et</li>
|
|
93
|
-
</ul>
|
|
94
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
|
95
|
-
<img src="${whalesImage}" alt="" />
|
|
96
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
|
97
|
-
`,
|
|
98
|
-
postType: 'text',
|
|
99
|
-
cover: whalesImage
|
|
100
|
-
}]
|
|
101
|
-
};
|
|
102
|
-
export default LearnMoreExampleObject;
|