@stokr/components-library 0.5.3 → 0.5.5
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 +9 -0
- package/build/favicon.ico +0 -0
- package/build/index.html +1 -0
- package/build/logo192.png +0 -0
- package/build/logo512.png +0 -0
- package/build/manifest.json +25 -0
- package/build/robots.txt +3 -0
- package/build/static/js/main.31d6cfe0.js +0 -0
- package/dist/AccountBalance/AccountBalance.js +43 -0
- package/dist/AccountBalance/AccountBalance.stories.js +75 -0
- package/dist/AccountBalance/AccountBalance.styles.js +38 -0
- package/dist/AdminDashboard/Table/Table.js +120 -0
- package/dist/AdminDashboard/Table/Table.styles.js +111 -0
- package/dist/AgreementItem/AgreementItem.js +38 -0
- package/dist/AgreementItem/AgreementItem.stories.js +98 -0
- package/dist/AgreementItem/AgreementItem.styles.js +31 -0
- package/dist/AnalyticGraphs/Analytic.js +528 -0
- package/dist/AnalyticGraphs/Analytic.styles.js +49 -0
- package/dist/BackButton/BackButton.js +22 -0
- package/dist/BackButton/BackButton.stories.js +24 -0
- package/dist/BackButton/BackButton.styles.js +110 -0
- package/dist/Background/Background.js +34 -0
- package/dist/Background/Background.stories.js +50 -0
- package/dist/Background/Background.styles.js +113 -0
- package/dist/BarChart/BarChart.js +258 -0
- package/dist/BarChart/BarChart.stories.js +46 -0
- package/dist/BarChart/BarChart.styles.js +93 -0
- package/dist/BarChartLegend/BarChartLegend.js +74 -0
- package/dist/BarChartLegend/BarChartLegend.styles.js +26 -0
- package/dist/BasicTable/BasicTable.js +20 -0
- package/dist/BasicTable/BasicTable.stories.js +51 -0
- package/dist/BasicTable/BasicTable.styles.js +64 -0
- package/dist/Button/Button.stories.js +63 -0
- package/dist/Button/Button.styles.js +180 -0
- package/dist/ButtonContainer/ButtonContainer.styles.js +25 -0
- package/dist/CapitalRaisedSummary/CapitalRaisedSummery.stories.js +35 -0
- package/dist/CapitalRaisedSummary/CaptialRaisedSummary.js +23 -0
- package/dist/CapitalRaisedSummary/CaptialRaisedSummary.styles.js +36 -0
- package/dist/ChartBox/ChartBox.js +34 -0
- package/dist/ChartBox/ChartBox.stories.js +9 -0
- package/dist/ChartBox/ChartBox.styles.js +50 -0
- package/dist/ChartBox/ChartBoxDistribution.js +20 -0
- package/dist/ChartBox/ChartBoxDistribution.stories.js +10 -0
- package/dist/ChartLegend/ChartLegend.js +37 -0
- package/dist/ChartLegend/ChartLegend.stories.js +74 -0
- package/dist/ChartLegend/ChartLegend.styles.js +67 -0
- package/dist/Checkbox/Checkbox.js +108 -0
- package/dist/Checkbox/Checkbox.stories.js +82 -0
- package/dist/Checkbox/Checkbox.styles.js +123 -0
- package/dist/Checklist/UserChecklist.js +247 -0
- package/dist/Checklist/UserChecklist.stories.js +115 -0
- package/dist/ComponentScroll/ComponentScroll.js +99 -0
- package/dist/ComponentScroll/ComponentScroll.stories.js +92 -0
- package/dist/ComponentScroll/ComponentScroll.styles.js +104 -0
- package/dist/ComponentWrapper/ComponentWrapper.styles.js +128 -0
- package/dist/CryptoAddress/ComponentWrap.js +24 -0
- package/dist/CryptoAddress/CryptoAddress.js +124 -0
- package/dist/CryptoAddress/CryptoAddress.stories.js +163 -0
- package/dist/CryptoAddress/CryptoAddress.styles.js +399 -0
- package/dist/CryptoAddress/RadioWrap.js +36 -0
- package/dist/CryptoAddressDetails/CryptoAddressDetails.js +42 -0
- package/dist/CryptoAddressDetails/CryptoAddressDetails.stories.js +65 -0
- package/dist/CryptoAddressDetails/CryptoAddressDetails.styles.js +114 -0
- package/dist/CryptoAddressWrapper/CryptoAddressWrapper.js +30 -0
- package/dist/CryptoAddressWrapper/CryptoAddressWrapper.styles.js +98 -0
- package/dist/DonutChart/DonutChart.js +137 -0
- package/dist/DonutChart/DonutChart.stories.js +39 -0
- package/dist/DonutChart/DonutChart.styles.js +101 -0
- package/dist/DoubleButton/DoubleButton.styles.js +25 -0
- package/dist/ErrorMessage/ErrorMessage.styles.js +9 -0
- package/dist/FAQ/FAQ.js +40 -0
- package/dist/FAQ/FAQ.stories.js +63 -0
- package/dist/FAQ/FAQ.styles.js +69 -0
- package/dist/Footer/Footer.js +54 -0
- package/dist/Footer/Footer.stories.js +41 -0
- package/dist/Footer/Footer.styles.js +230 -0
- package/dist/Footer/FooterLayout.js +114 -0
- package/dist/Footer/FooterLayout.stories.js +20 -0
- package/dist/Footer/FooterMenu.js +83 -0
- package/dist/Footer/FooterMenu.stories.js +110 -0
- package/dist/Footer/FooterMenu.styles.js +274 -0
- package/dist/Footer/index.js +4 -0
- package/dist/{03f9f978feb2b015b6812ba10f689967.png → Footer/lemonway.png} +0 -0
- package/dist/Footer/sicos-logo.svg +1 -0
- package/dist/ForgotPasswordModal/ForgotPasswordModal.js +89 -0
- package/dist/ForgotPasswordModal/ForgotPasswordModal.stories.js +31 -0
- package/dist/Form/Form.js +38 -0
- package/dist/Form/Form.stories.js +24 -0
- package/dist/Form/Form.styles.js +66 -0
- package/dist/FullscreenCard/FullscreenCard.styles.js +36 -0
- package/dist/Grid/Grid.styles.js +109 -0
- package/dist/Header/Header.js +369 -0
- package/dist/Header/Header.stories.js +172 -0
- package/dist/Header/Header.styles.js +493 -0
- package/dist/Icon/Icon.style.js +75 -0
- package/dist/InfoIcon/InfoIcon.js +40 -0
- package/dist/InfoIcon/InfoIcon.stories.js +40 -0
- package/dist/InfoIcon/InfoIcon.styles.js +42 -0
- package/dist/InfoPanel/InfoPanel.js +115 -0
- package/dist/Input/DatePickerInput.js +64 -0
- package/dist/Input/DatePickerInput.stories.js +80 -0
- package/dist/Input/DatePickerInput.styles.js +67 -0
- package/dist/Input/Input.js +86 -0
- package/dist/Input/Input.stories.js +134 -0
- package/dist/Input/Input.styles.js +126 -0
- package/dist/Input/InputPassword.js +122 -0
- package/dist/Input/InputPassword.stories.js +72 -0
- package/dist/Input/InputPassword.styles.js +139 -0
- package/dist/Input/RangeInput.js +46 -0
- package/dist/Input/RangeInput.stories.js +48 -0
- package/dist/Input/RangeInput.styles.js +125 -0
- package/dist/Input/Select.js +130 -0
- package/dist/Input/Select.stories.js +129 -0
- package/dist/Input/Select.styles.js +143 -0
- package/dist/InvestCalculator/InvestCalculator.js +353 -0
- package/dist/InvestCalculator/InvestCalculator.stories.js +129 -0
- package/dist/InvestCalculator/InvestCalculator.styles.js +78 -0
- package/dist/InvestmentStat/InvestmentStat.js +33 -0
- package/dist/InvestmentStat/InvestmentStat.stories.js +44 -0
- package/dist/InvestmentStat/InvestmentStat.styles.js +53 -0
- package/dist/KYCFlow/BasicInfo.js +396 -0
- package/dist/KYCFlow/Confirmation.js +37 -0
- package/dist/KYCFlow/DocumentFileUpload.js +240 -0
- package/dist/KYCFlow/DocumentScan.js +66 -0
- package/dist/KYCFlow/DocumentScanUpload.js +228 -0
- package/dist/KYCFlow/DocumentSelect.js +101 -0
- package/dist/KYCFlow/DocumentSuccess.js +54 -0
- package/dist/KYCFlow/DocumentUpload.js +44 -0
- package/dist/KYCFlow/DocumentVerificationType.js +114 -0
- package/dist/KYCFlow/FaceScan.js +45 -0
- package/dist/KYCFlow/FaceScanRecognition.js +52 -0
- package/dist/KYCFlow/FaceScanSuccess.js +47 -0
- package/dist/KYCFlow/Terms.js +99 -0
- package/dist/KYCFlow/_styles.js +284 -0
- package/dist/KYCFlow/index.js +14 -0
- package/dist/KYCSelectBox/KYCSelectBox.styles.js +62 -0
- package/dist/LatestUpdate/LatestUpdate.js +35 -0
- package/dist/LatestUpdate/LatestUpdate.stories.js +51 -0
- package/dist/LatestUpdate/LatestUpdate.styles.js +77 -0
- package/dist/Layout/Layout-func-no-work.js +67 -0
- package/dist/Layout/Layout.js +68 -0
- package/dist/Layout/Layout.stories.js +55 -0
- package/dist/LearnMoreCarousel/LearnMoreCarousel.js +39 -0
- package/dist/LearnMoreCarousel/LearnMoreCarousel.stories.js +58 -0
- package/dist/LearnMoreCarousel/LearnMoreCarousel.styles.js +205 -0
- package/dist/LearnMorePage/LearnMore.js +199 -0
- package/dist/LearnMorePage/LearnMore.shared.styles.js +49 -0
- package/dist/LearnMorePage/LearnMore.stories.js +41 -0
- package/dist/LearnMorePage/LearnMore.styles.js +250 -0
- package/dist/LearnMorePage/LearnMoreExampleObject.js +102 -0
- package/dist/LearnMorePage/LearnMoreItem.js +59 -0
- package/dist/LearnMorePage/LearnMoreItem.stories.js +54 -0
- package/dist/LearnMorePage/LearnMoreItem.styles.js +218 -0
- package/dist/LearnMoreSection/LearnMore.js +144 -0
- package/dist/LearnMoreSection/LearnMore.stories.js +23 -0
- package/dist/LearnMoreSection/LearnMore.styles.js +134 -0
- package/dist/LearnMoreSection/LearnMoreItem.js +39 -0
- package/dist/LearnMoreSection/LearnMoreItem.stories.js +52 -0
- package/dist/LearnMoreSection/LearnMoreItem.styles.js +54 -0
- package/dist/LoginModal/LoginModal.js +125 -0
- package/dist/MainMenu/DynamicMainMenu.js +41 -0
- package/dist/MainMenu/MainMenu.js +207 -0
- package/dist/MainMenu/MainMenu.styles.js +361 -0
- package/dist/MatomoConnect/Matomo.js +221 -0
- package/dist/MatomoConnect/Matomo_fuckup.js +185 -0
- package/dist/MenuNav/MenuNav.styles.js +88 -0
- package/dist/Modal/Modal.js +71 -0
- package/dist/Modal/Modal.stories.js +67 -0
- package/dist/Modal/Modal.styles.js +407 -0
- package/dist/MultiProgressBar/MultiProgressBar.js +33 -0
- package/dist/MultiProgressBar/MultiProgressBar.stories.js +61 -0
- package/dist/MultiProgressBar/MultiProgressBar.styles.js +92 -0
- package/dist/Newsletter/Newsletter.js +106 -0
- package/dist/Newsletter/Newsletter.stories.js +8 -0
- package/dist/Newsletter/Newsletter.styles.js +173 -0
- package/dist/NotificationContext/NotificationContext.js +126 -0
- package/dist/NotificationContext/NotificationContext.stories.js +32 -0
- package/dist/NotificationCounter/NotificationCounter.styles.js +23 -0
- package/dist/Number/Number.js +25 -0
- package/dist/Number/Number.stories.js +18 -0
- package/dist/Number/Number.styles.js +21 -0
- package/dist/PageTransition/PageTransition.js +42 -0
- package/dist/Process/Process.stories.js +34 -0
- package/dist/Process/Process.styles.js +87 -0
- package/dist/ProfileBadge/ProfileBadge.js +46 -0
- package/dist/ProfileBadge/ProfileBadge.stories.js +37 -0
- package/dist/ProfileBadge/ProfileBadge.styles.js +47 -0
- package/dist/ProfileBox/ProfileBox.js +29 -0
- package/dist/ProfileBox/ProfileBox.stories.js +27 -0
- package/dist/ProfileBox/ProfileBox.styles.js +60 -0
- package/dist/ProfileHeader/ProfileHeader-CLb4.js +401 -0
- package/dist/ProfileHeader/ProfileHeader.js +268 -0
- package/dist/ProfileHeader/ProfileHeader.styles.js +114 -0
- package/dist/ProfileStat/ProfileStat.js +32 -0
- package/dist/ProfileStat/ProfileStat.stories.js +58 -0
- package/dist/ProfileStat/ProfileStat.styles.js +80 -0
- package/dist/ProofOfAddress/ProofOfAddress.styles.js +76 -0
- package/dist/ROI/ROI.js +261 -0
- package/dist/ROI/ROI.styles.js +71 -0
- package/dist/ROI/ROIChart.js +348 -0
- package/dist/ROI/ROIChart.styles.js +98 -0
- package/dist/ROI/ROIModal.js +74 -0
- package/dist/ROI/ROIScenarioBox.js +46 -0
- package/dist/ROI/ROIScenarioBox.styles.js +131 -0
- package/dist/Radio/Radio.js +58 -0
- package/dist/Radio/Radio.stories.js +65 -0
- package/dist/Radio/Radio.styles.js +93 -0
- package/dist/RefreshButton/RefreshButton.js +14 -0
- package/dist/RefreshButton/RefreshButton.stories.js +31 -0
- package/dist/RefreshButton/RefreshButton.styles.js +57 -0
- package/dist/RegisterAlgorand/AlgoAddressName.js +103 -0
- package/dist/RegisterAlgorand/AlgoAdressSelect.js +274 -0
- package/dist/RegisterAlgorand/AlgoConnectWallet.js +37 -0
- package/dist/RegisterAlgorand/AlgoSuccess.js +28 -0
- package/dist/RegisterAlgorand/Algorand.stories.js +63 -0
- package/dist/RegisterAlgorand/ChooseWallet.js +77 -0
- package/dist/RegisterAlgorand/SelectProject.js +77 -0
- package/dist/RegisterAlgorand/_styles.js +30 -0
- package/dist/RegisterAlgorand/flow.js +243 -0
- package/dist/RegisterAlgorand/flowWithMemo.js +244 -0
- package/dist/RegisterAlgorand/index.js +7 -0
- package/dist/RegisterConfirmModal/RegisterConfirmModal.js +30 -0
- package/dist/RegisterConfirmModal/RegisterConfirmModal.stories.js +22 -0
- package/dist/RegisterConfirmModal/RegisterConfirmModal.styles.js +19 -0
- package/dist/RegisterEthereum/EthAddressLedger.js +151 -0
- package/dist/RegisterEthereum/EthAddressMetamask.js +165 -0
- package/dist/RegisterEthereum/EthAddressName.js +101 -0
- package/dist/RegisterEthereum/EthConnectLedger.js +117 -0
- package/dist/RegisterEthereum/EthConnectMetamask.js +25 -0
- package/dist/RegisterEthereum/EthFinish.js +32 -0
- package/dist/RegisterEthereum/EthIntro.js +77 -0
- package/dist/RegisterEthereum/_styles.js +30 -0
- package/dist/RegisterEthereum/index.js +9 -0
- package/dist/RegisterLiquidSteps/RegisterLiquidSteps.js +75 -0
- package/dist/RegisterLiquidSteps/RegisterLiquidSteps.stories.js +65 -0
- package/dist/RegisterLiquidSteps/RegisterLiquidSteps.styles.js +69 -0
- package/dist/RegisterLiquidSteps/assets/nav_green.svg +31 -0
- package/dist/RegisterLiquidSteps/assets/video.mp4 +0 -0
- package/dist/RegisterLiquidSteps/assets/videothumbnail.jpg +0 -0
- package/dist/RegisterLiquidSteps/complete.js +29 -0
- package/dist/RegisterLiquidSteps/flow.js +141 -0
- package/dist/RegisterLiquidSteps/index.js +29 -0
- package/dist/RegisterLiquidSteps/register-liquid.js +197 -0
- package/dist/RegisterModal/RegisterModal.js +143 -0
- package/dist/RegisterModal/RegisterModal.stories.js +35 -0
- package/dist/RequestDataBox/RequestDataBox.js +21 -0
- package/dist/RequestDataBox/RequestDataBox.stories.js +29 -0
- package/dist/RequestDataBox/RequestDataBox.styles.js +40 -0
- package/dist/RiskQuestionnaire/RiskQuestionnaireContext.js +111 -0
- package/dist/RiskQuestionnaire/_styles.js +6 -0
- package/dist/SEO/SEO.js +63 -0
- package/dist/SEO/SEO.stories.js +53 -0
- package/dist/SectionTitle/SectionTitle.styles.js +23 -0
- package/dist/SideLine/SideLine.js +4 -0
- package/dist/SideLine/SideLine.stories.js +20 -0
- package/dist/SideLine/SideLine.styles.js +29 -0
- package/dist/SigningSubflow/SignSubAddressMetamask.js +105 -0
- package/dist/SigningSubflow/SignSubConnectLedger.js +114 -0
- package/dist/SigningSubflow/SignSubConnectMetamask.js +101 -0
- package/dist/SigningSubflow/SignSubIntro.js +45 -0
- package/dist/SigningSubflow/SignSubSendLedger.js +114 -0
- package/dist/SigningSubflow/SignSubSendMetamask.js +53 -0
- package/dist/SigningSubflow/SignSubTransactionLedger.js +125 -0
- package/dist/SigningSubflow/SignSubTransactionMetamask.js +130 -0
- package/dist/SigningSubflow/_styles.js +59 -0
- package/dist/SigningSubflow/index.js +9 -0
- package/dist/Slider/Slider.js +43 -0
- package/dist/Slider/Slider.stories.js +63 -0
- package/dist/Slider/Slider.styles.js +115 -0
- package/dist/SpanButton/SpanButton.styles.js +14 -0
- package/dist/StatusBadge/StatusBadge.styles.js +16 -0
- package/dist/StepController/StepController.js +73 -0
- package/dist/StepController/StepController.stories.js +52 -0
- package/dist/StepController/StepController.styles.js +27 -0
- package/dist/StepController/StepControllerContext.js +61 -0
- package/dist/StepController/StepControllerProgress.js +28 -0
- package/dist/StepController/StepControllerProgress.stories.js +41 -0
- package/dist/StepsProgress/StepsProgress.js +95 -0
- package/dist/StepsProgress/StepsProgress.stories.js +23 -0
- package/dist/StepsProgress/StepsProgress.styles.js +97 -0
- package/dist/StokrLoader/StokrLoader.js +60 -0
- package/dist/StokrLoader/media.js +22 -0
- package/dist/StokrLoader/stokr_loader_white_400x400.gif +0 -0
- package/dist/SvgIcons/AdminBadgeSvg.js +16 -0
- package/dist/SvgIcons/CameraSvg.js +26 -0
- package/dist/SvgIcons/CapsLockSvg.js +21 -0
- package/dist/SvgIcons/DocumentBackSvg.js +25 -0
- package/dist/SvgIcons/DocumentSmallSvg.js +51 -0
- package/dist/SvgIcons/DocumentSvg.js +28 -0
- package/dist/SvgIcons/Early.js +14 -0
- package/dist/SvgIcons/EthSvg.js +30 -0
- package/dist/SvgIcons/EurSvg.js +16 -0
- package/dist/SvgIcons/FaceScanIconSvg.js +21 -0
- package/dist/SvgIcons/FourSvg.js +11 -0
- package/dist/SvgIcons/Glassess.js +19 -0
- package/dist/SvgIcons/Icons_Badge.png +0 -0
- package/dist/SvgIcons/LogoSvg.js +14 -0
- package/dist/SvgIcons/OneSvg.js +13 -0
- package/dist/SvgIcons/PassportSvg.js +46 -0
- package/dist/SvgIcons/RefreshSvg.js +17 -0
- package/dist/SvgIcons/SocialFacebook.js +15 -0
- package/dist/SvgIcons/SocialInstagram.js +15 -0
- package/dist/SvgIcons/SocialLinkedIn.js +15 -0
- package/dist/SvgIcons/SocialMedium.js +15 -0
- package/dist/SvgIcons/SocialReddit.js +15 -0
- package/dist/SvgIcons/SocialTelegram.js +15 -0
- package/dist/SvgIcons/SocialTwitter.js +15 -0
- package/dist/SvgIcons/SocialYoutube.js +15 -0
- package/dist/SvgIcons/ThreeSvg.js +10 -0
- package/dist/SvgIcons/TwoSidedDocumentSvg.js +72 -0
- package/dist/SvgIcons/TwoSvg.js +13 -0
- package/dist/SvgIcons/UpdateDefaultSvg.js +19 -0
- package/dist/SvgIcons/UpdateHardSvg.js +15 -0
- package/dist/SvgIcons/UpdateSoftSvg.js +17 -0
- package/dist/SvgIcons/UploadSvg.js +24 -0
- package/dist/SvgIcons/VerifiedBadge.js +13 -0
- package/dist/SvgIcons/index.js +32 -0
- package/dist/Switch/Switch.js +45 -0
- package/dist/Switch/Switch.stories.js +73 -0
- package/dist/Switch/Switch.styles.js +105 -0
- package/dist/Tabs/Tabs.js +48 -0
- package/dist/Tabs/Tabs.stories.js +28 -0
- package/dist/Tabs/Tabs.styles.js +11 -0
- package/dist/TabsNav/TabNav.js +21 -0
- package/dist/TabsNav/TabNav.stories.js +32 -0
- package/dist/TabsNav/TabsNav.js +23 -0
- package/dist/TabsNav/TabsNav.stories.js +25 -0
- package/dist/TabsNav/TabsNav.styles.js +80 -0
- package/dist/TeamOverview/TeamOverview.js +69 -0
- package/dist/TeamOverview/TeamOverview.stories.js +68 -0
- package/dist/TeamOverview/TeamOverview.styles.js +152 -0
- package/dist/Text/Headline.js +34 -0
- package/dist/Text/Headline.stories.js +40 -0
- package/dist/Text/StyledText.js +30 -0
- package/dist/Text/Text.stories.js +59 -0
- package/dist/Text/Text.styles.js +166 -0
- package/dist/TextLink/TextLink.styles.js +50 -0
- package/dist/ToDoList/ToDoList.js +172 -0
- package/dist/ToDoList/ToDoList.stories.js +123 -0
- package/dist/ToDoList/ToDoList.styles.js +115 -0
- package/dist/ToDoList/ToDoListTask.js +96 -0
- package/dist/ToDoList/ToDoListTask.stories.js +60 -0
- package/dist/ToDoList/ToDoListTask.styles.js +104 -0
- package/dist/TransactionDetails/TransactionDetails.js +27 -0
- package/dist/TransactionDetails/TransactionDetails.stories.js +47 -0
- package/dist/TransactionDetails/TransactionDetails.styles.js +31 -0
- package/dist/TransactionInfo/TransactionInfo.js +48 -0
- package/dist/TransactionInfo/TransactionInfo.stories.js +53 -0
- package/dist/TransactionInfo/TransactionInfo.styles.js +64 -0
- package/dist/TwoFactorModal/TwoFactorModal.js +84 -0
- package/dist/breakdown/Breakdown.js +124 -0
- package/dist/breakdown/index.js +2 -0
- package/dist/context/Auth.js +133 -0
- package/dist/context/AuthContext.js +154 -0
- package/dist/icons/Arrow.js +62 -0
- package/dist/icons/Arrow.stories.js +37 -0
- package/dist/icons/ArrowSimple.js +51 -0
- package/dist/icons/ArrowSimple.stories.js +41 -0
- package/dist/icons/Check.js +29 -0
- package/dist/icons/Check.stories.js +14 -0
- package/dist/icons/Facebook.js +15 -0
- package/dist/icons/Facebook.stories.js +15 -0
- package/dist/icons/Info.js +41 -0
- package/dist/icons/Info.stories.js +8 -0
- package/dist/icons/Instagram.js +15 -0
- package/dist/icons/Instagram.stories.js +15 -0
- package/dist/icons/LinkIcon.js +23 -0
- package/dist/icons/LinkIcon.stories.js +15 -0
- package/dist/icons/LinkedIn.js +29 -0
- package/dist/icons/LinkedIn.stories.js +8 -0
- package/dist/icons/Medium.js +28 -0
- package/dist/icons/Medium.stories.js +8 -0
- package/dist/icons/Reddit.js +18 -0
- package/dist/icons/Reddit.stories.js +15 -0
- package/dist/icons/Share.js +48 -0
- package/dist/icons/Share.stories.js +8 -0
- package/dist/icons/Telegram.js +28 -0
- package/dist/icons/Telegram.stories.js +8 -0
- package/dist/icons/Twitter.js +15 -0
- package/dist/icons/Twitter.stories.js +15 -0
- package/dist/icons/X.js +15 -0
- package/dist/icons/X.stories.js +8 -0
- package/dist/icons/Youtube.js +15 -0
- package/dist/icons/Youtube.stories.js +15 -0
- package/dist/icons/index.js +15 -0
- package/dist/index.js +177 -1
- package/dist/renderToBody/index.js +2 -0
- package/dist/renderToBody/renderToBody.js +26 -0
- package/dist/taxId/TaxId.stories.js +31 -0
- package/dist/taxId/complete.js +21 -0
- package/dist/taxId/flow.js +31 -0
- package/dist/taxId/index.js +4 -0
- package/dist/taxId/register-taxid.js +156 -0
- package/dist/video/Video.js +274 -0
- package/dist/video/Video.stories.js +45 -0
- package/dist/video/img/play-btn.svg +1 -0
- package/dist/video/index.js +2 -0
- package/package.json +128 -133
- package/public/favicon.ico +0 -0
- package/public/index.html +43 -0
- package/public/logo192.png +0 -0
- package/public/logo512.png +0 -0
- package/public/manifest.json +25 -0
- package/public/robots.txt +3 -0
- package/dist/07233f511246c9825a0d58e5ab2641f3.svg +0 -47
- package/dist/08418fc6c324f51f7e56.svg +0 -1
- package/dist/14aa35d4e84aebef77cf00b421fc393a.gif +0 -0
- package/dist/179ef2df02cb0b68c9fd.woff2 +0 -0
- package/dist/21e493d43617de76dbc7.woff2 +0 -0
- package/dist/2640959b1f9381cde047.eot +0 -0
- package/dist/2ba2db4ff86a2663686a100e75b50ba9.png +0 -0
- package/dist/311956ded96d3fd2813d.woff2 +0 -0
- package/dist/39f5961b2d3eb4aa5bf5.woff +0 -0
- package/dist/3caa0d4f9b7d58668066.woff2 +0 -0
- package/dist/4a510354f2f82b59fced805a8e3fe2bf.svg +0 -1
- package/dist/4c3c428d0ce82f840710.woff +0 -0
- package/dist/4e528d6445ca1974c313.woff +0 -0
- package/dist/55053cc0a8e6482eca64.ttf +0 -0
- package/dist/643c37f102b41f7f90c3.woff2 +0 -0
- package/dist/76dd0ed9c3f137513fd4.svg +0 -1
- package/dist/81f3ef07b7952e249da1.woff +0 -0
- package/dist/98b7d3182f652f021bc3.ttf +0 -0
- package/dist/9bea22b57dc165ed4382.ttf +0 -0
- package/dist/9ec738fbb66068dc1ca7.woff +0 -0
- package/dist/a1d7666a48f976227722.ttf +0 -0
- package/dist/a750292d6a0b5a760679.woff +0 -0
- package/dist/b85a961d44cc55c58050cbf7c53dd505.png +0 -0
- package/dist/bcb6531cf820152b7538.ttf +0 -0
- package/dist/c6a4bc1bd034d6303053.woff +0 -0
- package/dist/cbfc24090ef8bacab132.woff2 +0 -0
- package/dist/d2b1865643b98c0e8b54.ttf +0 -0
- package/dist/d97d7385fe8771611848.ttf +0 -0
- package/dist/index.js.LICENSE.txt +0 -1
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import Button from 'components/Button/Button.styles';
|
|
4
|
+
import TransactionInfo from 'components/TransactionInfo/TransactionInfo';
|
|
5
|
+
import TransactionDetails from 'components/TransactionDetails/TransactionDetails';
|
|
6
|
+
import FAQ from 'components/FAQ/FAQ';
|
|
7
|
+
import SectionTitle from 'components/SectionTitle/SectionTitle.styles';
|
|
8
|
+
import ComponentWrapper from 'components/ComponentWrapper/ComponentWrapper.styles';
|
|
9
|
+
import ComponentScroll from 'components/ComponentScroll/ComponentScroll';
|
|
10
|
+
import { ModalWrapper } from 'components/Modal/Modal.styles';
|
|
11
|
+
import { SignSubText } from './_styles';
|
|
12
|
+
const SignSubSendMetamask = ({
|
|
13
|
+
changeStep
|
|
14
|
+
}) => /*#__PURE__*/React.createElement(ModalWrapper, null, /*#__PURE__*/React.createElement(ComponentWrapper, null, /*#__PURE__*/React.createElement(SectionTitle, null, "Invest in TYKN")), /*#__PURE__*/React.createElement(ComponentScroll, null, /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
15
|
+
noPaddingVertical: true
|
|
16
|
+
}, /*#__PURE__*/React.createElement(SignSubText, null, /*#__PURE__*/React.createElement("h3", null, "Unable to send transaction"), /*#__PURE__*/React.createElement("p", null, 'STOKR couldn’t send the transaction, please try again.'))), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
17
|
+
noPaddingBottom: true
|
|
18
|
+
}, /*#__PURE__*/React.createElement(TransactionInfo, {
|
|
19
|
+
value1: "1.00000000",
|
|
20
|
+
unit1: "ETH",
|
|
21
|
+
name1: "Ethereum01",
|
|
22
|
+
owner1: "(you)",
|
|
23
|
+
address1: "0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0",
|
|
24
|
+
value2: "150.000000",
|
|
25
|
+
unit2: "TYK",
|
|
26
|
+
name2: "TYKN",
|
|
27
|
+
owner2: "",
|
|
28
|
+
address2: "0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0"
|
|
29
|
+
}), /*#__PURE__*/React.createElement(TransactionDetails, {
|
|
30
|
+
data: [{
|
|
31
|
+
label: 'account balance',
|
|
32
|
+
value: '15.000000000 ETH',
|
|
33
|
+
valueInfo: '(before investment)'
|
|
34
|
+
}, {
|
|
35
|
+
label: 'gas limit',
|
|
36
|
+
value: '21000'
|
|
37
|
+
}, {
|
|
38
|
+
label: 'gas price',
|
|
39
|
+
value: '41 GWEI (0.0000000041 ETH)'
|
|
40
|
+
}, {
|
|
41
|
+
label: 'max tx fee',
|
|
42
|
+
value: '0.000861 ETH (861000 GWEI)'
|
|
43
|
+
}]
|
|
44
|
+
})), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
45
|
+
center: true
|
|
46
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
47
|
+
minWidth: "240px",
|
|
48
|
+
onClick: changeStep
|
|
49
|
+
}, "Try again"))));
|
|
50
|
+
SignSubSendMetamask.propTypes = {
|
|
51
|
+
changeStep: PropTypes.func.isRequired
|
|
52
|
+
};
|
|
53
|
+
export default SignSubSendMetamask;
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import React, { PureComponent } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import Button from 'components/Button/Button.styles';
|
|
4
|
+
import TransactionInfo from 'components/TransactionInfo/TransactionInfo';
|
|
5
|
+
import TransactionDetails from 'components/TransactionDetails/TransactionDetails';
|
|
6
|
+
import FAQ from 'components/FAQ/FAQ';
|
|
7
|
+
import SectionTitle from 'components/SectionTitle/SectionTitle.styles';
|
|
8
|
+
import ComponentWrapper from 'components/ComponentWrapper/ComponentWrapper.styles';
|
|
9
|
+
import ComponentScroll from 'components/ComponentScroll/ComponentScroll';
|
|
10
|
+
import Tabs, { Tab } from 'components/Tabs/Tabs';
|
|
11
|
+
import { ModalWrapper } from 'components/Modal/Modal.styles';
|
|
12
|
+
import hddIcon from 'static/images/hdd.png';
|
|
13
|
+
import { SignSubText } from './_styles';
|
|
14
|
+
class SignSubTransactionLedger extends PureComponent {
|
|
15
|
+
state = {
|
|
16
|
+
step: 1
|
|
17
|
+
};
|
|
18
|
+
onContinueClick = () => {
|
|
19
|
+
const {
|
|
20
|
+
changeStep
|
|
21
|
+
} = this.props;
|
|
22
|
+
changeStep && changeStep();
|
|
23
|
+
};
|
|
24
|
+
setStep = step => {
|
|
25
|
+
this.setState({
|
|
26
|
+
step
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
render() {
|
|
30
|
+
const {
|
|
31
|
+
step
|
|
32
|
+
} = this.state;
|
|
33
|
+
return /*#__PURE__*/React.createElement(ModalWrapper, null, /*#__PURE__*/React.createElement(ComponentWrapper, null, /*#__PURE__*/React.createElement(SectionTitle, null, "Invest in TYKN")), /*#__PURE__*/React.createElement(ComponentScroll, null, /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
34
|
+
noPaddingVertical: true
|
|
35
|
+
}, /*#__PURE__*/React.createElement(SignSubText, null, /*#__PURE__*/React.createElement("h3", null, "Review & sign transaction"))), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
36
|
+
noPaddingBottom: true,
|
|
37
|
+
center: true
|
|
38
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
39
|
+
src: hddIcon,
|
|
40
|
+
alt: "HDD"
|
|
41
|
+
})), /*#__PURE__*/React.createElement(Tabs, {
|
|
42
|
+
activeTab: step
|
|
43
|
+
}, /*#__PURE__*/React.createElement(Tab, {
|
|
44
|
+
tabId: 1
|
|
45
|
+
}, /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
46
|
+
noPaddingBottom: true
|
|
47
|
+
}, /*#__PURE__*/React.createElement(SignSubText, null, /*#__PURE__*/React.createElement("p", null, 'Please review your transaction details below. Then press sign transaction and follow the instructions on your Ledger device.'))), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
48
|
+
noPaddingBottom: true
|
|
49
|
+
}, /*#__PURE__*/React.createElement(TransactionInfo, {
|
|
50
|
+
value1: "1.00000000",
|
|
51
|
+
unit1: "ETH",
|
|
52
|
+
name1: "Ethereum01",
|
|
53
|
+
owner1: "(you)",
|
|
54
|
+
address1: "0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0",
|
|
55
|
+
value2: "150.000000",
|
|
56
|
+
unit2: "TYK",
|
|
57
|
+
name2: "TYKN",
|
|
58
|
+
owner2: "",
|
|
59
|
+
address2: "0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0"
|
|
60
|
+
}), /*#__PURE__*/React.createElement(TransactionDetails, {
|
|
61
|
+
data: [{
|
|
62
|
+
label: 'account balance',
|
|
63
|
+
value: '15.000000000 ETH',
|
|
64
|
+
valueInfo: '(before investment)'
|
|
65
|
+
}, {
|
|
66
|
+
label: 'gas limit',
|
|
67
|
+
value: '21000'
|
|
68
|
+
}, {
|
|
69
|
+
label: 'gas price',
|
|
70
|
+
value: '41 GWEI (0.0000000041 ETH)'
|
|
71
|
+
}, {
|
|
72
|
+
label: 'max tx fee',
|
|
73
|
+
value: '0.000861 ETH (861000 GWEI)'
|
|
74
|
+
}]
|
|
75
|
+
})), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
76
|
+
center: true
|
|
77
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
78
|
+
minWidth: "240px",
|
|
79
|
+
onClick: () => {
|
|
80
|
+
this.setStep(2);
|
|
81
|
+
}
|
|
82
|
+
}, "Sign transaction"))), /*#__PURE__*/React.createElement(Tab, {
|
|
83
|
+
tabId: 2
|
|
84
|
+
}, /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
85
|
+
noPaddingBottom: true
|
|
86
|
+
}, /*#__PURE__*/React.createElement(SignSubText, null, /*#__PURE__*/React.createElement("p", null, 'STOKR couldn’t sign the transaction, please try again.'))), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
87
|
+
noPaddingBottom: true
|
|
88
|
+
}, /*#__PURE__*/React.createElement(TransactionInfo, {
|
|
89
|
+
value1: "1.00000000",
|
|
90
|
+
unit1: "ETH",
|
|
91
|
+
name1: "Ethereum01",
|
|
92
|
+
owner1: "(you)",
|
|
93
|
+
address1: "0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0",
|
|
94
|
+
value2: "150.000000",
|
|
95
|
+
unit2: "TYK",
|
|
96
|
+
name2: "TYKN",
|
|
97
|
+
owner2: "",
|
|
98
|
+
address2: "0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0"
|
|
99
|
+
}), /*#__PURE__*/React.createElement(TransactionDetails, {
|
|
100
|
+
data: [{
|
|
101
|
+
label: 'account balance',
|
|
102
|
+
value: '15.000000000 ETH',
|
|
103
|
+
valueInfo: '(before investment)'
|
|
104
|
+
}, {
|
|
105
|
+
label: 'gas limit',
|
|
106
|
+
value: '21000'
|
|
107
|
+
}, {
|
|
108
|
+
label: 'gas price',
|
|
109
|
+
value: '41 GWEI (0.0000000041 ETH)'
|
|
110
|
+
}, {
|
|
111
|
+
label: 'max tx fee',
|
|
112
|
+
value: '0.000861 ETH (861000 GWEI)'
|
|
113
|
+
}]
|
|
114
|
+
})), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
115
|
+
center: true
|
|
116
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
117
|
+
minWidth: "240px",
|
|
118
|
+
onClick: this.onContinueClick
|
|
119
|
+
}, "Try again"))))));
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
SignSubTransactionLedger.propTypes = {
|
|
123
|
+
changeStep: PropTypes.func.isRequired
|
|
124
|
+
};
|
|
125
|
+
export default SignSubTransactionLedger;
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import React, { PureComponent } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { Formik } from 'formik';
|
|
4
|
+
import * as Yup from 'yup';
|
|
5
|
+
import Button from 'components/Button/Button.styles';
|
|
6
|
+
import TransactionInfo from 'components/TransactionInfo/TransactionInfo';
|
|
7
|
+
import TransactionDetails from 'components/TransactionDetails/TransactionDetails';
|
|
8
|
+
import Form from 'components/Form/Form';
|
|
9
|
+
import FAQ from 'components/FAQ/FAQ';
|
|
10
|
+
import SectionTitle from 'components/SectionTitle/SectionTitle.styles';
|
|
11
|
+
import ComponentWrapper from 'components/ComponentWrapper/ComponentWrapper.styles';
|
|
12
|
+
import ComponentScroll from 'components/ComponentScroll/ComponentScroll';
|
|
13
|
+
import AgreementItem from 'components/AgreementItem/AgreementItem';
|
|
14
|
+
import { ModalWrapper } from 'components/Modal/Modal.styles';
|
|
15
|
+
import { SignSubText } from './_styles';
|
|
16
|
+
class SignSubTransactionMetamask extends PureComponent {
|
|
17
|
+
initialValues = {
|
|
18
|
+
paying: false,
|
|
19
|
+
token: false,
|
|
20
|
+
send: false
|
|
21
|
+
};
|
|
22
|
+
validationSchema = Yup.object().shape({
|
|
23
|
+
paying: Yup.bool().oneOf([true], 'Agree is required'),
|
|
24
|
+
token: Yup.bool().oneOf([true], 'Agree is required'),
|
|
25
|
+
send: Yup.bool().oneOf([true], 'Agree is required')
|
|
26
|
+
});
|
|
27
|
+
onSubmit = () => {
|
|
28
|
+
const {
|
|
29
|
+
changeStep
|
|
30
|
+
} = this.props;
|
|
31
|
+
changeStep();
|
|
32
|
+
};
|
|
33
|
+
render() {
|
|
34
|
+
return /*#__PURE__*/React.createElement(ModalWrapper, null, /*#__PURE__*/React.createElement(ComponentWrapper, null, /*#__PURE__*/React.createElement(SectionTitle, null, "Invest in TYKN")), /*#__PURE__*/React.createElement(ComponentScroll, null, /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
35
|
+
noPaddingVertical: true
|
|
36
|
+
}, /*#__PURE__*/React.createElement(SignSubText, null, /*#__PURE__*/React.createElement("h3", null, "Confirm transaction"), /*#__PURE__*/React.createElement("p", null, 'To sign and send your transaction, please read and agree with all terms, then click ‘Confirm transaction’. After that you’re able to review the transaction details in Metamask and send the transaction to finalize the investment.'))), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
37
|
+
noPaddingBottom: true
|
|
38
|
+
}, /*#__PURE__*/React.createElement(TransactionInfo, {
|
|
39
|
+
value1: "1.00000000",
|
|
40
|
+
unit1: "ETH",
|
|
41
|
+
name1: "Ethereum01",
|
|
42
|
+
owner1: "(you)",
|
|
43
|
+
address1: "0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0",
|
|
44
|
+
value2: "150.000000",
|
|
45
|
+
unit2: "TYK",
|
|
46
|
+
name2: "TYKN",
|
|
47
|
+
owner2: "",
|
|
48
|
+
address2: "0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0"
|
|
49
|
+
}), /*#__PURE__*/React.createElement(TransactionDetails, {
|
|
50
|
+
data: [{
|
|
51
|
+
label: 'account balance',
|
|
52
|
+
value: '15.000000000 ETH',
|
|
53
|
+
valueInfo: '(before investment)'
|
|
54
|
+
}, {
|
|
55
|
+
label: 'gas limit',
|
|
56
|
+
value: '21000'
|
|
57
|
+
}, {
|
|
58
|
+
label: 'gas price',
|
|
59
|
+
value: '41 GWEI (0.0000000041 ETH)'
|
|
60
|
+
}, {
|
|
61
|
+
label: 'max tx fee',
|
|
62
|
+
value: '0.000861 ETH (861000 GWEI)'
|
|
63
|
+
}]
|
|
64
|
+
})), /*#__PURE__*/React.createElement(ComponentWrapper, null, /*#__PURE__*/React.createElement(SectionTitle, null, "Important")), /*#__PURE__*/React.createElement(Formik, {
|
|
65
|
+
initialValues: this.initialValues,
|
|
66
|
+
validationSchema: this.validationSchema,
|
|
67
|
+
onSubmit: this.onSubmit
|
|
68
|
+
}, ({
|
|
69
|
+
values,
|
|
70
|
+
handleChange,
|
|
71
|
+
handleBlur
|
|
72
|
+
}) => {
|
|
73
|
+
const submitDisabled = !values.paying || !values.token || !values.send;
|
|
74
|
+
return /*#__PURE__*/React.createElement(Form, null, /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
75
|
+
noPaddingTop: true
|
|
76
|
+
}, /*#__PURE__*/React.createElement(AgreementItem, {
|
|
77
|
+
text: "By clicking \u2018Confirm transaction\u2019 I agree with the <VentureName> token terms & STOKR terms.",
|
|
78
|
+
checkbox: {
|
|
79
|
+
id: 'token',
|
|
80
|
+
name: 'token',
|
|
81
|
+
text: 'I agree',
|
|
82
|
+
value: 'agree',
|
|
83
|
+
onChange: handleChange,
|
|
84
|
+
onBlur: handleBlur,
|
|
85
|
+
checked: values.token
|
|
86
|
+
},
|
|
87
|
+
info: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras in arcu sit amet justo suscipit convallis eu eu nibh. Morbi faucibus eros ut lacinia viverra. Cras volutpat molestie diam, non scelerisque tellus ultrices in. Etiam justo mauris, pretium eu scelerisque eu, interdum at orci. Ut mollis nisi sit amet dolor fringilla, a pretium est congue. Integer convallis id sem eu mattis. Aenean tellus odio, fringilla quis varius quis, auctor sit amet neque. Cras non felis mattis, imperdiet eros non, suscipit enim. Vestibulum luctus, dui vel bibendum ultrices, est turpis placerat est, non volutpat ante ligula vel lacus."
|
|
88
|
+
})), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
89
|
+
noPaddingTop: true
|
|
90
|
+
}, /*#__PURE__*/React.createElement(AgreementItem, {
|
|
91
|
+
text: "By clicking 'Confirm transaction\u2019 I agree with paying \u20AC 500,- for 1000 <VentureName> Tokens.",
|
|
92
|
+
checkbox: {
|
|
93
|
+
id: 'paying',
|
|
94
|
+
name: 'paying',
|
|
95
|
+
text: 'I agree',
|
|
96
|
+
value: 'agree',
|
|
97
|
+
onChange: handleChange,
|
|
98
|
+
onBlur: handleBlur,
|
|
99
|
+
checked: values.paying
|
|
100
|
+
},
|
|
101
|
+
info: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras in arcu sit amet justo suscipit convallis eu eu nibh. Morbi faucibus eros ut lacinia viverra. Cras volutpat molestie diam, non scelerisque tellus ultrices in. Etiam justo mauris, pretium eu scelerisque eu, interdum at orci. Ut mollis nisi sit amet dolor fringilla, a pretium est congue. Integer convallis id sem eu mattis. Aenean tellus odio, fringilla quis varius quis, auctor sit amet neque. Cras non felis mattis, imperdiet eros non, suscipit enim. Vestibulum luctus, dui vel bibendum ultrices, est turpis placerat est, non volutpat ante ligula vel lacus."
|
|
102
|
+
})), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
103
|
+
noPaddingTop: true
|
|
104
|
+
}, /*#__PURE__*/React.createElement(AgreementItem, {
|
|
105
|
+
text: "After clicking \u2018Confirm transaction\u2019 I\u2019ll click \u2018Confirm\u2019 in the MetaMask popup in order to send the transaction and finalize the investment.",
|
|
106
|
+
checkbox: {
|
|
107
|
+
id: 'send',
|
|
108
|
+
name: 'send',
|
|
109
|
+
text: 'I agree',
|
|
110
|
+
value: 'agree',
|
|
111
|
+
onChange: handleChange,
|
|
112
|
+
onBlur: handleBlur,
|
|
113
|
+
checked: values.send
|
|
114
|
+
},
|
|
115
|
+
info: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras in arcu sit amet justo suscipit convallis eu eu nibh. Morbi faucibus eros ut lacinia viverra. Cras volutpat molestie diam, non scelerisque tellus ultrices in. Etiam justo mauris, pretium eu scelerisque eu, interdum at orci. Ut mollis nisi sit amet dolor fringilla, a pretium est congue. Integer convallis id sem eu mattis. Aenean tellus odio, fringilla quis varius quis, auctor sit amet neque. Cras non felis mattis, imperdiet eros non, suscipit enim. Vestibulum luctus, dui vel bibendum ultrices, est turpis placerat est, non volutpat ante ligula vel lacus."
|
|
116
|
+
})), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
117
|
+
noPaddingTop: true,
|
|
118
|
+
center: true
|
|
119
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
120
|
+
type: "submit",
|
|
121
|
+
minWidth: "240px",
|
|
122
|
+
disabled: submitDisabled
|
|
123
|
+
}, "Confirm transaction")));
|
|
124
|
+
})));
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
SignSubTransactionMetamask.propTypes = {
|
|
128
|
+
changeStep: PropTypes.func.isRequired
|
|
129
|
+
};
|
|
130
|
+
export default SignSubTransactionMetamask;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import styled from 'styled-components/macro';
|
|
2
|
+
import grid from 'styles/grid';
|
|
3
|
+
import rwd from 'styles/rwd';
|
|
4
|
+
import Text from 'components/Text/Text.styles';
|
|
5
|
+
import theme from 'styles/theme';
|
|
6
|
+
export const SignSubStep = styled.div`
|
|
7
|
+
position: relative;
|
|
8
|
+
height: 100%;
|
|
9
|
+
`;
|
|
10
|
+
export const SignSubWrapper = styled.div`
|
|
11
|
+
position: relative;
|
|
12
|
+
padding: 40px ${grid(1)};
|
|
13
|
+
|
|
14
|
+
${rwd.Medium`
|
|
15
|
+
padding: 53px ${grid(0.5, 8)};
|
|
16
|
+
`}
|
|
17
|
+
|
|
18
|
+
${rwd.XLarge`
|
|
19
|
+
padding: 53px ${grid(0.5, 6)};
|
|
20
|
+
`}
|
|
21
|
+
`;
|
|
22
|
+
export const SignSubInfo = styled.div`
|
|
23
|
+
font-family: 'Open Sans';
|
|
24
|
+
font-weight: 300;
|
|
25
|
+
font-size: 9px;
|
|
26
|
+
line-height: 1.78em;
|
|
27
|
+
letter-spacing: 0.4px;
|
|
28
|
+
color: ${props => theme.cBlack};
|
|
29
|
+
opacity: 0.5;
|
|
30
|
+
${props => props.center && 'text-align: center;'}
|
|
31
|
+
|
|
32
|
+
${rwd.Large`
|
|
33
|
+
font-size: 12px;
|
|
34
|
+
`}
|
|
35
|
+
|
|
36
|
+
a {
|
|
37
|
+
text-decoration: underline;
|
|
38
|
+
transition: color 0.2s;
|
|
39
|
+
|
|
40
|
+
&:hover {
|
|
41
|
+
color: ${props => theme.cPrimary};
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
`;
|
|
45
|
+
export const NumberWithTitle = styled.div`
|
|
46
|
+
line-height: 24px;
|
|
47
|
+
font-size: 11px;
|
|
48
|
+
font-weight: 700;
|
|
49
|
+
letter-spacing: 2px;
|
|
50
|
+
text-transform: uppercase;
|
|
51
|
+
padding-bottom: 18px;
|
|
52
|
+
`;
|
|
53
|
+
export const SignSubText = styled(Text)`
|
|
54
|
+
p {
|
|
55
|
+
${rwd.Medium`
|
|
56
|
+
font-size: 16px;
|
|
57
|
+
`}
|
|
58
|
+
}
|
|
59
|
+
`;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import SignSubIntro from './SignSubIntro';
|
|
2
|
+
import SignSubConnectLedger from './SignSubConnectLedger';
|
|
3
|
+
import SignSubConnectMetamask from './SignSubConnectMetamask';
|
|
4
|
+
import SignSubTransactionLedger from './SignSubTransactionLedger';
|
|
5
|
+
import SignSubTransactionMetamask from './SignSubTransactionMetamask';
|
|
6
|
+
import SignSubSendLedger from './SignSubSendLedger';
|
|
7
|
+
import SignSubSendMetamask from './SignSubSendMetamask';
|
|
8
|
+
import { SignSubStep, SignSubWrapper, SignSubInfo } from './_styles';
|
|
9
|
+
export { SignSubIntro, SignSubConnectLedger, SignSubConnectMetamask, SignSubTransactionLedger, SignSubTransactionMetamask, SignSubSendLedger, SignSubSendMetamask, SignSubStep, SignSubWrapper, SignSubInfo };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import Slick from 'react-slick';
|
|
4
|
+
import 'slick-carousel/slick/slick.css';
|
|
5
|
+
import 'slick-carousel/slick/slick-theme.css';
|
|
6
|
+
import { Wrapper } from './Slider.styles';
|
|
7
|
+
export const Slider = ({
|
|
8
|
+
children,
|
|
9
|
+
autoplay,
|
|
10
|
+
dots,
|
|
11
|
+
arrows,
|
|
12
|
+
infinite,
|
|
13
|
+
rtl = false
|
|
14
|
+
}) => {
|
|
15
|
+
const settings = {
|
|
16
|
+
dots,
|
|
17
|
+
arrows,
|
|
18
|
+
infinite,
|
|
19
|
+
speed: 600,
|
|
20
|
+
autoplay: !!autoplay,
|
|
21
|
+
autoplaySpeed: autoplay,
|
|
22
|
+
slidesToShow: 1,
|
|
23
|
+
slidesToScroll: 1,
|
|
24
|
+
rtl
|
|
25
|
+
};
|
|
26
|
+
return /*#__PURE__*/React.createElement(Wrapper, null, /*#__PURE__*/React.createElement(Slick, settings, children));
|
|
27
|
+
};
|
|
28
|
+
Slider.propTypes = {
|
|
29
|
+
children: PropTypes.node.isRequired,
|
|
30
|
+
autoplay: PropTypes.number,
|
|
31
|
+
dots: PropTypes.bool,
|
|
32
|
+
arrows: PropTypes.bool,
|
|
33
|
+
infinite: PropTypes.bool
|
|
34
|
+
};
|
|
35
|
+
Slider.defaultProps = {
|
|
36
|
+
autoplay: 0,
|
|
37
|
+
dots: false,
|
|
38
|
+
arrows: false,
|
|
39
|
+
infinite: true
|
|
40
|
+
};
|
|
41
|
+
export default Slider;
|
|
42
|
+
|
|
43
|
+
//rtl is reverse motion direction
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Slider } from './Slider';
|
|
3
|
+
import { ComponentWrapper } from '../ComponentWrapper/ComponentWrapper.styles';
|
|
4
|
+
import { Number } from 'index';
|
|
5
|
+
export default {
|
|
6
|
+
title: 'Components Library/Slider',
|
|
7
|
+
component: Slider,
|
|
8
|
+
argTypes: {
|
|
9
|
+
children: {
|
|
10
|
+
type: 'node',
|
|
11
|
+
defaultValue: [],
|
|
12
|
+
required: true
|
|
13
|
+
},
|
|
14
|
+
autoplay: {
|
|
15
|
+
type: 'number',
|
|
16
|
+
defaultValue: 0
|
|
17
|
+
},
|
|
18
|
+
dots: {
|
|
19
|
+
type: 'boolean',
|
|
20
|
+
defaultValue: false
|
|
21
|
+
},
|
|
22
|
+
arrows: {
|
|
23
|
+
type: 'boolean',
|
|
24
|
+
defaultValue: false
|
|
25
|
+
},
|
|
26
|
+
infinite: {
|
|
27
|
+
type: 'boolean',
|
|
28
|
+
defaultValue: true
|
|
29
|
+
},
|
|
30
|
+
rtl: {
|
|
31
|
+
type: 'boolean',
|
|
32
|
+
defaultValue: false
|
|
33
|
+
},
|
|
34
|
+
settings: [{}]
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
// const Template = ({ numberOfChildren, args }) => (
|
|
39
|
+
// <Wrapper>
|
|
40
|
+
// <Slider {...args}>
|
|
41
|
+
// {[...Array(numberOfChildren).keys].map(n => ({ children }))}
|
|
42
|
+
// </Slider>
|
|
43
|
+
// </Wrapper>
|
|
44
|
+
// )
|
|
45
|
+
|
|
46
|
+
const Template = args => /*#__PURE__*/React.createElement(ComponentWrapper, null, /*#__PURE__*/React.createElement(Slider, args));
|
|
47
|
+
export const SliderActive = Template.bind({});
|
|
48
|
+
SliderActive.args = {
|
|
49
|
+
children: [/*#__PURE__*/React.createElement(Number, null), /*#__PURE__*/React.createElement(Number, null), /*#__PURE__*/React.createElement(Number, null)],
|
|
50
|
+
autoplay: 3,
|
|
51
|
+
dots: true,
|
|
52
|
+
arrows: true
|
|
53
|
+
};
|
|
54
|
+
export const SliderActiveRtl = Template.bind({});
|
|
55
|
+
SliderActiveRtl.args = {
|
|
56
|
+
children: [/*#__PURE__*/React.createElement(Number, null), /*#__PURE__*/React.createElement(Number, null), /*#__PURE__*/React.createElement(Number, null)],
|
|
57
|
+
autoplay: 3,
|
|
58
|
+
dots: true,
|
|
59
|
+
arrows: true,
|
|
60
|
+
rtl: true
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
//doublecheck:
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import styled from 'styled-components/macro';
|
|
2
|
+
export const Wrapper = styled.div`
|
|
3
|
+
height: 100%;
|
|
4
|
+
|
|
5
|
+
.slick-list {
|
|
6
|
+
z-index: 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.slick-arrow {
|
|
10
|
+
z-index: 1;
|
|
11
|
+
width: 24px;
|
|
12
|
+
height: 24px;
|
|
13
|
+
|
|
14
|
+
&.slick-prev,
|
|
15
|
+
&.slick-next {
|
|
16
|
+
&:before {
|
|
17
|
+
font-family: 'Ionicons';
|
|
18
|
+
speak: none;
|
|
19
|
+
font-style: normal;
|
|
20
|
+
font-weight: normal;
|
|
21
|
+
font-variant: normal;
|
|
22
|
+
text-transform: none;
|
|
23
|
+
text-rendering: auto;
|
|
24
|
+
-webkit-font-smoothing: antialiased;
|
|
25
|
+
-moz-osx-font-smoothing: grayscale;
|
|
26
|
+
font-size: 20px;
|
|
27
|
+
line-height: 24px;
|
|
28
|
+
text-align: center;
|
|
29
|
+
text-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
|
|
30
|
+
opacity: 1;
|
|
31
|
+
color: #fff;
|
|
32
|
+
transition: color 0.2s;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&:hover {
|
|
36
|
+
&:before {
|
|
37
|
+
color: #0050ca;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&.slick-prev {
|
|
43
|
+
left: 4px;
|
|
44
|
+
|
|
45
|
+
&:before {
|
|
46
|
+
content: '\f3cf';
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&.slick-next {
|
|
51
|
+
right: 4px;
|
|
52
|
+
|
|
53
|
+
&:before {
|
|
54
|
+
content: '\f3d1';
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.slick-dots {
|
|
60
|
+
z-index: 1;
|
|
61
|
+
height: auto;
|
|
62
|
+
bottom: 4px;
|
|
63
|
+
|
|
64
|
+
li {
|
|
65
|
+
display: inline-block;
|
|
66
|
+
width: 24px;
|
|
67
|
+
height: 24px;
|
|
68
|
+
margin: 0;
|
|
69
|
+
|
|
70
|
+
button {
|
|
71
|
+
display: block;
|
|
72
|
+
padding: 8px;
|
|
73
|
+
width: 24px;
|
|
74
|
+
height: 24px;
|
|
75
|
+
|
|
76
|
+
&:before {
|
|
77
|
+
position: relative;
|
|
78
|
+
content: '';
|
|
79
|
+
display: block;
|
|
80
|
+
width: 8px;
|
|
81
|
+
height: 8px;
|
|
82
|
+
border-radius: 4px;
|
|
83
|
+
background-color: #fff;
|
|
84
|
+
opacity: 1;
|
|
85
|
+
box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
|
|
86
|
+
transition: background-color 0.2s;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&:hover {
|
|
90
|
+
&:before {
|
|
91
|
+
background-color: #0050ca;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&.slick-active {
|
|
97
|
+
button {
|
|
98
|
+
&:before {
|
|
99
|
+
background-color: #ee220d;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
`;
|
|
106
|
+
export const ImageSlide = styled.img`
|
|
107
|
+
width: 100%;
|
|
108
|
+
height: 100%;
|
|
109
|
+
object-fit: cover;
|
|
110
|
+
object-position: center center;
|
|
111
|
+
`;
|
|
112
|
+
export const ImageSlideWrapper = styled.div`
|
|
113
|
+
height: 193px;
|
|
114
|
+
position: relative;
|
|
115
|
+
`;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import styled from 'styled-components/macro';
|
|
2
|
+
export const SpanButton = styled.span`
|
|
3
|
+
color: #0050ca;
|
|
4
|
+
cursor: pointer;
|
|
5
|
+
font-weight: 400;
|
|
6
|
+
|
|
7
|
+
${props => props.urlLink && `
|
|
8
|
+
text-decoration: underline;
|
|
9
|
+
`}
|
|
10
|
+
|
|
11
|
+
&:hover {
|
|
12
|
+
color: #202020;
|
|
13
|
+
}
|
|
14
|
+
`;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import styled from 'styled-components/macro';
|
|
2
|
+
import theme from 'styles/theme';
|
|
3
|
+
export const StatusBadge = styled.div`
|
|
4
|
+
display: inline-block;
|
|
5
|
+
vertical-align: top;
|
|
6
|
+
padding: 0px 16px;
|
|
7
|
+
background-color: ${props => theme.cBlack};
|
|
8
|
+
color: ${props => theme.cWhite};
|
|
9
|
+
font-weight: 600;
|
|
10
|
+
font-size: 8px;
|
|
11
|
+
letter-spacing: 1.78px;
|
|
12
|
+
line-height: 16px;
|
|
13
|
+
border-radius: 8px;
|
|
14
|
+
margin-left: 12px;
|
|
15
|
+
`;
|
|
16
|
+
export default StatusBadge;
|