@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,274 @@
|
|
|
1
|
+
import styled from 'styled-components/macro';
|
|
2
|
+
import colors from 'styles/colors';
|
|
3
|
+
import rwd from 'styles/rwd';
|
|
4
|
+
import theme from 'styles/theme';
|
|
5
|
+
export const Container = styled.div`
|
|
6
|
+
z-index: 2;
|
|
7
|
+
position: relative;
|
|
8
|
+
display: block;
|
|
9
|
+
width: 100%;
|
|
10
|
+
padding: 0;
|
|
11
|
+
`;
|
|
12
|
+
export const Groups = styled.ul`
|
|
13
|
+
display: block;
|
|
14
|
+
list-style: none;
|
|
15
|
+
margin: 0;
|
|
16
|
+
padding: 0;
|
|
17
|
+
|
|
18
|
+
@media screen and (min-width: 992px) {
|
|
19
|
+
display: flex;
|
|
20
|
+
}
|
|
21
|
+
`;
|
|
22
|
+
export const Group = styled.li`
|
|
23
|
+
display: block;
|
|
24
|
+
border-top: 1px solid ${colors.lightGrey};
|
|
25
|
+
|
|
26
|
+
@media screen and (min-width: 992px) {
|
|
27
|
+
display: inline-block;
|
|
28
|
+
// padding: 12px;
|
|
29
|
+
padding: 64px 65px 68px;
|
|
30
|
+
flex-grow: 1;
|
|
31
|
+
// flex-basis: 25%;
|
|
32
|
+
/* border-top: 0; */
|
|
33
|
+
width: 25%;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@media screen and (max-width: 1270px) {
|
|
37
|
+
padding: 64px 3% 68px;
|
|
38
|
+
|
|
39
|
+
&:first-child {
|
|
40
|
+
padding-left: 65px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&:last-child {
|
|
44
|
+
padding-right: 45px;
|
|
45
|
+
padding-top: 59px;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@media screen and (max-width: 992px) {
|
|
50
|
+
padding: 32px 48px;
|
|
51
|
+
&:first-child {
|
|
52
|
+
padding-left: 48px;
|
|
53
|
+
}
|
|
54
|
+
&:last-child {
|
|
55
|
+
padding: 32px 48px;
|
|
56
|
+
margin-bottom: 6px;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&:last-child {
|
|
61
|
+
@media screen and (min-width: 980px) {
|
|
62
|
+
// flex-basis: 30%;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@media screen and (min-width: 1150px) {
|
|
66
|
+
// flex-basis: 30%;
|
|
67
|
+
padding: 59px 65px 68px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@media screen and (min-width: 1360px) {
|
|
71
|
+
// flex-basis: 25%;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@media screen and (min-width: 992px) and (max-width: 1270px) {
|
|
76
|
+
&:first-child {
|
|
77
|
+
width: 25%;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&:nth-child(2) {
|
|
81
|
+
width: 20%;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&:nth-child(3) {
|
|
85
|
+
width: 25%;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&:last-child {
|
|
89
|
+
width: 30%;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
`;
|
|
93
|
+
export const Title = styled.button`
|
|
94
|
+
position: relative;
|
|
95
|
+
display: block;
|
|
96
|
+
width: 100%;
|
|
97
|
+
font-family: 'Open Sans';
|
|
98
|
+
font-weight: normal;
|
|
99
|
+
font-size: 11px;
|
|
100
|
+
line-height: 2.18;
|
|
101
|
+
letter-spacing: 2.1px;
|
|
102
|
+
text-transform: uppercase;
|
|
103
|
+
border: 0;
|
|
104
|
+
margin: 0;
|
|
105
|
+
margin-bottom: 20px;
|
|
106
|
+
padding: 24px 32px;
|
|
107
|
+
outline: 0;
|
|
108
|
+
text-align: left;
|
|
109
|
+
color: ${theme.cBlack};
|
|
110
|
+
transition: color 0.2s;
|
|
111
|
+
cursor: default;
|
|
112
|
+
background-color: inherit;
|
|
113
|
+
|
|
114
|
+
${props => props.collapse && `
|
|
115
|
+
padding-right: 48px;
|
|
116
|
+
cursor: pointer;
|
|
117
|
+
|
|
118
|
+
&:focus ,
|
|
119
|
+
&:hover {
|
|
120
|
+
// color: ${theme.cPrimary};
|
|
121
|
+
color: initial;
|
|
122
|
+
}
|
|
123
|
+
`}
|
|
124
|
+
|
|
125
|
+
${props => props.social && `
|
|
126
|
+
margin-top: 14px;
|
|
127
|
+
`}
|
|
128
|
+
|
|
129
|
+
@media screen and (min-width: 992px) {
|
|
130
|
+
padding: 0;
|
|
131
|
+
cursor: default;
|
|
132
|
+
|
|
133
|
+
&:focus,
|
|
134
|
+
&:hover {
|
|
135
|
+
color: ${theme.cBlack};
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
@media screen and (max-width: 992px) {
|
|
140
|
+
padding: 0;
|
|
141
|
+
margin: 0;
|
|
142
|
+
}
|
|
143
|
+
`;
|
|
144
|
+
export const Items = styled.ul`
|
|
145
|
+
display: block;
|
|
146
|
+
list-style: none;
|
|
147
|
+
padding: 0 24px;
|
|
148
|
+
padding-bottom: 24px;
|
|
149
|
+
|
|
150
|
+
@media screen and (min-width: 992px) {
|
|
151
|
+
padding: 0;
|
|
152
|
+
margin-top: 22px;
|
|
153
|
+
margin: 0 -8px;
|
|
154
|
+
width: 224px;
|
|
155
|
+
|
|
156
|
+
${props => props.social && `
|
|
157
|
+
margin-top: 14px;
|
|
158
|
+
`}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
@media screen and (max-width: 992px) {
|
|
162
|
+
padding-top: 15px;
|
|
163
|
+
padding-left: 0;
|
|
164
|
+
padding-bottom: 0;
|
|
165
|
+
}
|
|
166
|
+
`;
|
|
167
|
+
export const Item = styled.li`
|
|
168
|
+
display: block;
|
|
169
|
+
padding: 7px 8px;
|
|
170
|
+
|
|
171
|
+
${props => props.social && `
|
|
172
|
+
display: inline-block;
|
|
173
|
+
`};
|
|
174
|
+
|
|
175
|
+
@media screen and (max-width: 992px) {
|
|
176
|
+
&:first-of-type {
|
|
177
|
+
}
|
|
178
|
+
padding-left: 0;
|
|
179
|
+
padding-right: 16px;
|
|
180
|
+
}
|
|
181
|
+
`;
|
|
182
|
+
export const Link = styled.a`
|
|
183
|
+
display: inline-block;
|
|
184
|
+
font-family: 'Open Sans';
|
|
185
|
+
font-weight: bold;
|
|
186
|
+
font-size: 11px;
|
|
187
|
+
line-height: 2.18;
|
|
188
|
+
letter-spacing: 2.1px;
|
|
189
|
+
text-transform: uppercase;
|
|
190
|
+
color: ${theme.cBlack};
|
|
191
|
+
transition: color 0.2s;
|
|
192
|
+
|
|
193
|
+
&:focus,
|
|
194
|
+
&:hover {
|
|
195
|
+
//color: ${theme.cPrimary};
|
|
196
|
+
opacity:0.6;
|
|
197
|
+
}
|
|
198
|
+
`;
|
|
199
|
+
export const SocialLink = styled.a`
|
|
200
|
+
position: relative;
|
|
201
|
+
display: inline-block;
|
|
202
|
+
width: 40px;
|
|
203
|
+
height: 40px;
|
|
204
|
+
border-radius: 20px;
|
|
205
|
+
background-color: ${theme.cPrimary};
|
|
206
|
+
transition: background-color 0.2s;
|
|
207
|
+
|
|
208
|
+
& > svg {
|
|
209
|
+
display: block;
|
|
210
|
+
width: 12px;
|
|
211
|
+
height: 12px;
|
|
212
|
+
position: absolute;
|
|
213
|
+
top: 50%;
|
|
214
|
+
left: 50%;
|
|
215
|
+
margin-top: -6px;
|
|
216
|
+
margin-left: -6px;
|
|
217
|
+
fill: ${theme.cWhite};
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
&:focus,
|
|
221
|
+
&:hover {
|
|
222
|
+
background-color: ${theme.cPrimaryDark};
|
|
223
|
+
opacity: 1;
|
|
224
|
+
}
|
|
225
|
+
`;
|
|
226
|
+
export const HiringTotalNumber = styled.span`
|
|
227
|
+
background: #88fa51;
|
|
228
|
+
color: #000;
|
|
229
|
+
border-radius: 100px;
|
|
230
|
+
display: inline-flex;
|
|
231
|
+
width: 15px;
|
|
232
|
+
height: 15px;
|
|
233
|
+
margin-left: 0px;
|
|
234
|
+
text-align: center;
|
|
235
|
+
font-weight: 600;
|
|
236
|
+
align-items: center;
|
|
237
|
+
justify-content: center;
|
|
238
|
+
padding: 8px 0;
|
|
239
|
+
font-size: 11px;
|
|
240
|
+
font-weight: 700;
|
|
241
|
+
padding-right: 0;
|
|
242
|
+
padding-top: 6px;
|
|
243
|
+
`;
|
|
244
|
+
export const TitleContainer = styled.div`
|
|
245
|
+
@media screen and (max-width: 990px) {
|
|
246
|
+
align-items: center;
|
|
247
|
+
display: flex;
|
|
248
|
+
justify-content: space-between;
|
|
249
|
+
}
|
|
250
|
+
`;
|
|
251
|
+
export const ArrowDown = styled.i.attrs({
|
|
252
|
+
className: 'ion ion-ios-arrow-down'
|
|
253
|
+
})`
|
|
254
|
+
&&& {
|
|
255
|
+
top: 50%;
|
|
256
|
+
right: 0;
|
|
257
|
+
transition: 0.3s transform;
|
|
258
|
+
transform: rotate(0);
|
|
259
|
+
text-align: center;
|
|
260
|
+
font-size: 16px;
|
|
261
|
+
line-height: 16px;
|
|
262
|
+
height: 16px;
|
|
263
|
+
margin-top: -8px;
|
|
264
|
+
|
|
265
|
+
${props => props.isOpened && `
|
|
266
|
+
transform: rotate(180deg);
|
|
267
|
+
`}
|
|
268
|
+
}
|
|
269
|
+
${props => !props.displayAlways && `
|
|
270
|
+
@media screen and (min-width: 992px) {
|
|
271
|
+
display: none;
|
|
272
|
+
}
|
|
273
|
+
`}
|
|
274
|
+
`;
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg id="color_logo" data-name="color logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 297"><defs><style>.cls-1{fill:#216378;}.cls-2{fill:#3194b4;}.cls-3{fill:#42c5f1;}.cls-4{fill:#7198a4;}</style></defs><title>sicos-logo-svg</title><g id="shield-o"><path style="fill:#fff; background-color:#fff;" class="cls-1" d="M683.1,280.49a149.32,149.32,0,0,0,40.52-8.72,124.86,124.86,0,0,0,43.19-26.59,120.61,120.61,0,0,0,28.37-41.94q10.17-24.62,10.17-55t-10.17-55A126.89,126.89,0,0,0,783.95,72c.05.31.09,1,.11,1h0c.42,6,.94,11.12.62,16.73-1.83,32.44-10.29,62-22.32,89.82-2.87,6.65-6,13.06-9.52,19.35C735.17,231.16,713.55,259.74,683.1,280.49Z"/><path style="fill:#fff; background-color:#fff;" class="cls-2" d="M655.28,280.49a149.32,149.32,0,0,1-40.52-8.72,124.86,124.86,0,0,1-43.19-26.59,120.61,120.61,0,0,1-28.37-41.94Q533,178.62,533,148.28t10.17-55A126.89,126.89,0,0,1,554.43,72c-.05.31-.09,1-.11,1h0c-.42,6-.94,11.12-.62,16.73,1.83,32.44,10.29,62,22.32,89.82,2.87,6.65,6,13.06,9.52,19.35C603.21,231.16,624.82,259.74,655.28,280.49Z"/><path style="fill:#fff; background-color:#fff;" class="cls-3" d="M774.88,59.48l-.16-.08C741,46.59,707.44,41.28,669.62,41.28A314.61,314.61,0,0,0,564.35,58.89q3.44-3.91,7.21-7.51a125.09,125.09,0,0,1,43.19-26.59q25-9.29,54.6-9.29T724,24.79a125.06,125.06,0,0,1,43.18,26.59Q771.22,55.25,774.88,59.48Z"/></g><path style="fill:#fff; background-color:#fff;" class="cls-4" d="M135.3,88.47a36.84,36.84,0,0,0-17.06-11.76A61.24,61.24,0,0,0,97.86,72.9a53.59,53.59,0,0,0-11.6,1.33A44.59,44.59,0,0,0,75,78.36a24.54,24.54,0,0,0-8.61,7.45,18.87,18.87,0,0,0-3.31,11.26q0,10.61,8,16.23a75.13,75.13,0,0,0,20,9.61q12.09,4,26,8a107.36,107.36,0,0,1,26,11.26,61.64,61.64,0,0,1,20,19.55q8,12.26,8,32.8,0,19.55-7.29,34.12a69.22,69.22,0,0,1-19.71,24.18A83.78,83.78,0,0,1,115.25,267a126.72,126.72,0,0,1-34.62,4.64,125.57,125.57,0,0,1-42.4-7A106.18,106.18,0,0,1,1.79,242.18l36.77-40.42a53.58,53.58,0,0,0,20,16.4,57.19,57.19,0,0,0,25,5.8,56.61,56.61,0,0,0,12.75-1.49A41.61,41.61,0,0,0,108,218a25,25,0,0,0,8.28-7.62,19,19,0,0,0,3.15-10.93q0-10.6-8.12-16.73A75,75,0,0,0,90.9,172.28q-12.26-4.3-26.5-8.61a118.66,118.66,0,0,1-26.5-11.59,63.8,63.8,0,0,1-20.37-19.21Q9.4,120.93,9.41,101.39q0-18.88,7.45-33.13A71.94,71.94,0,0,1,36.74,44.41,86.46,86.46,0,0,1,65.4,30a117.39,117.39,0,0,1,33.46-4.8,131.63,131.63,0,0,1,38.43,5.63,88.73,88.73,0,0,1,33.46,18.88Z"/><path style="fill:#fff; background-color:#fff;" class="cls-4" d="M208.84,31.16h51.68V265.7H208.84Z"/><path style="fill:#fff; background-color:#fff;" class="cls-4" d="M460.94,92.11a50.76,50.76,0,0,0-18.72-14.25q-11.1-5-25.67-5A64.24,64.24,0,0,0,368,94.27a73.3,73.3,0,0,0-14.25,24,86.35,86.35,0,0,0-5.13,30.15,85.92,85.92,0,0,0,5.13,30.31,75.27,75.27,0,0,0,14.08,23.85,63.71,63.71,0,0,0,21,15.74,60.78,60.78,0,0,0,26,5.63q15.9,0,28.16-6.63a56.06,56.06,0,0,0,20.21-18.55l43.07,32.13a89.68,89.68,0,0,1-37.77,30.81,116.86,116.86,0,0,1-47,9.94q-27.5,0-50.69-8.61a115.94,115.94,0,0,1-40.08-24.68,111.88,111.88,0,0,1-26.34-38.93q-9.44-22.86-9.44-51t9.44-51a111.93,111.93,0,0,1,26.34-38.93,116.09,116.09,0,0,1,40.08-24.68Q394,25.2,421.52,25.19A124.52,124.52,0,0,1,442.22,27a112.09,112.09,0,0,1,21.2,5.8,94.64,94.64,0,0,1,20,10.6,80,80,0,0,1,17.23,16.23Z"/><path style="fill:#fff; background-color:#fff;" class="cls-4" d="M962.43,88.47a36.84,36.84,0,0,0-17.06-11.76A61.24,61.24,0,0,0,925,72.9a53.59,53.59,0,0,0-11.59,1.33,44.59,44.59,0,0,0-11.26,4.14,24.54,24.54,0,0,0-8.61,7.45,18.87,18.87,0,0,0-3.31,11.26q0,10.61,8,16.23a75.15,75.15,0,0,0,20,9.61q12.09,4,26,8a107.34,107.34,0,0,1,26,11.26,61.62,61.62,0,0,1,20,19.55q8,12.26,8,32.8,0,19.55-7.29,34.12a69.21,69.21,0,0,1-19.71,24.18A83.77,83.77,0,0,1,942.39,267a132.16,132.16,0,0,1-77-2.32,106.18,106.18,0,0,1-36.44-22.53l36.77-40.42a53.57,53.57,0,0,0,20,16.4,57.19,57.19,0,0,0,25,5.8,56.61,56.61,0,0,0,12.75-1.49A41.61,41.61,0,0,0,935.1,218a25,25,0,0,0,8.28-7.62,19,19,0,0,0,3.15-10.93q0-10.6-8.12-16.73A75,75,0,0,0,918,172.28q-12.26-4.3-26.5-8.61A118.66,118.66,0,0,1,865,152.07a63.8,63.8,0,0,1-20.37-19.21q-8.12-11.93-8.12-31.47,0-18.88,7.45-33.13a72,72,0,0,1,19.88-23.85A86.46,86.46,0,0,1,892.53,30,117.39,117.39,0,0,1,926,25.19a131.62,131.62,0,0,1,38.43,5.63,88.73,88.73,0,0,1,33.46,18.88Z"/></svg>
|
|
@@ -0,0 +1,89 @@
|
|
|
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 { Modal, ModalInner, ModalLinkWrap, ModalLink } from 'components/Modal/Modal';
|
|
6
|
+
import Form, { FormField, FormError } from 'components/Form/Form';
|
|
7
|
+
import Text from 'components/Text/Text.styles';
|
|
8
|
+
import Input from 'components/Input/Input';
|
|
9
|
+
import Button from 'components/Button/Button.styles';
|
|
10
|
+
import { Row, Column } from 'components/Grid/Grid.styles';
|
|
11
|
+
import ComponentWrapper from 'components/ComponentWrapper/ComponentWrapper.styles';
|
|
12
|
+
export class ForgotPasswordModal extends PureComponent {
|
|
13
|
+
initialValues = {
|
|
14
|
+
email: ''
|
|
15
|
+
};
|
|
16
|
+
validationSchema = Yup.object().shape({
|
|
17
|
+
email: Yup.string().email('Email is not valid').required('Email is required')
|
|
18
|
+
});
|
|
19
|
+
render() {
|
|
20
|
+
const {
|
|
21
|
+
isModalOpen,
|
|
22
|
+
onModalClose,
|
|
23
|
+
onFormSend,
|
|
24
|
+
onModalSwitch
|
|
25
|
+
} = this.props;
|
|
26
|
+
return /*#__PURE__*/React.createElement(Modal, {
|
|
27
|
+
isOpen: isModalOpen,
|
|
28
|
+
onClose: onModalClose
|
|
29
|
+
}, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Column, {
|
|
30
|
+
part: 8
|
|
31
|
+
}, /*#__PURE__*/React.createElement(ModalInner, {
|
|
32
|
+
modalTop: true
|
|
33
|
+
}, /*#__PURE__*/React.createElement(Text, null, /*#__PURE__*/React.createElement("h3", null, "Forgot password"), /*#__PURE__*/React.createElement("p", null, 'Please log in to engage in our community & invest in exciting opportunities.'))), /*#__PURE__*/React.createElement(ModalInner, {
|
|
34
|
+
modalBot: true
|
|
35
|
+
}, /*#__PURE__*/React.createElement(ModalLinkWrap, null, 'Remember your password? ', /*#__PURE__*/React.createElement(ModalLink, {
|
|
36
|
+
as: "button",
|
|
37
|
+
onClick: onModalSwitch
|
|
38
|
+
}, "Sign up")))), /*#__PURE__*/React.createElement(Column, {
|
|
39
|
+
part: 8
|
|
40
|
+
}, /*#__PURE__*/React.createElement(ModalInner, null, /*#__PURE__*/React.createElement(Formik, {
|
|
41
|
+
initialValues: this.initialValues,
|
|
42
|
+
validationSchema: this.validationSchema,
|
|
43
|
+
onSubmit: onFormSend
|
|
44
|
+
}, ({
|
|
45
|
+
values,
|
|
46
|
+
errors,
|
|
47
|
+
touched,
|
|
48
|
+
handleBlur,
|
|
49
|
+
setFieldValue,
|
|
50
|
+
setFieldTouched
|
|
51
|
+
}) => {
|
|
52
|
+
const onChangeWithTouch = e => {
|
|
53
|
+
const field = e.target;
|
|
54
|
+
setFieldValue(field.name, field.value, false);
|
|
55
|
+
setFieldTouched(field.name);
|
|
56
|
+
};
|
|
57
|
+
const submitDisabled = !touched.email || !!errors.email;
|
|
58
|
+
return /*#__PURE__*/React.createElement(Form, null, /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
59
|
+
noPadding: true
|
|
60
|
+
}, /*#__PURE__*/React.createElement(FormField, null, /*#__PURE__*/React.createElement(Input, {
|
|
61
|
+
id: "forgot-email",
|
|
62
|
+
name: "email",
|
|
63
|
+
type: "email",
|
|
64
|
+
label: "Your email",
|
|
65
|
+
value: values.email,
|
|
66
|
+
onChange: onChangeWithTouch,
|
|
67
|
+
onBlur: handleBlur,
|
|
68
|
+
error: !!errors.email,
|
|
69
|
+
touched: !!touched.email
|
|
70
|
+
}), /*#__PURE__*/React.createElement(FormError, {
|
|
71
|
+
show: errors.email && touched.email
|
|
72
|
+
}, errors.email))), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
73
|
+
noPaddingBottom: true,
|
|
74
|
+
noPaddingHorizontal: true
|
|
75
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
76
|
+
type: "submit",
|
|
77
|
+
fluid: true,
|
|
78
|
+
disabled: submitDisabled
|
|
79
|
+
}, "Remind")));
|
|
80
|
+
})))));
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
ForgotPasswordModal.propTypes = {
|
|
84
|
+
isModalOpen: PropTypes.bool.isRequired,
|
|
85
|
+
onModalClose: PropTypes.func.isRequired,
|
|
86
|
+
onFormSend: PropTypes.func.isRequired,
|
|
87
|
+
onModalSwitch: PropTypes.func.isRequired
|
|
88
|
+
};
|
|
89
|
+
export default ForgotPasswordModal;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import ForgotPasswordModal from './ForgotPasswordModal';
|
|
3
|
+
import { ComponentWrapper } from '../ComponentWrapper/ComponentWrapper.styles';
|
|
4
|
+
export default {
|
|
5
|
+
title: 'Components Library/Forgot Password Modal',
|
|
6
|
+
component: ForgotPasswordModal,
|
|
7
|
+
argTypes: {
|
|
8
|
+
isModalOpen: {
|
|
9
|
+
type: 'boolean',
|
|
10
|
+
defaultValue: true
|
|
11
|
+
},
|
|
12
|
+
onModalClose: {
|
|
13
|
+
type: 'function',
|
|
14
|
+
action: 'onModalClose',
|
|
15
|
+
required: true
|
|
16
|
+
},
|
|
17
|
+
onFormSend: {
|
|
18
|
+
type: 'function',
|
|
19
|
+
action: 'onFormSend',
|
|
20
|
+
required: true
|
|
21
|
+
},
|
|
22
|
+
onModalSwitch: {
|
|
23
|
+
type: 'function',
|
|
24
|
+
action: 'onModalSwitch',
|
|
25
|
+
required: true
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
const Template = args => /*#__PURE__*/React.createElement(ComponentWrapper, null, /*#__PURE__*/React.createElement(ForgotPasswordModal, args));
|
|
30
|
+
export const ForgotPasswordModalOverview = Template.bind({});
|
|
31
|
+
ForgotPasswordModalOverview.args = {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import * as Yup from 'yup';
|
|
4
|
+
import { FormContainer, FormField, FormInfo, FormError } from './Form.styles';
|
|
5
|
+
export { FormField, FormInfo, FormError };
|
|
6
|
+
export const Form = ({
|
|
7
|
+
children
|
|
8
|
+
}) => /*#__PURE__*/React.createElement(FormContainer, {
|
|
9
|
+
autoComplete: "off",
|
|
10
|
+
noValidate: true
|
|
11
|
+
}, children);
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @function validate
|
|
15
|
+
* @description Generic function to perform field-level validation
|
|
16
|
+
* @param {string} fieldName
|
|
17
|
+
* @param {Object} formik
|
|
18
|
+
*
|
|
19
|
+
* @returns {(undefined|string)} returns error message if error exists, else return undefined
|
|
20
|
+
*/
|
|
21
|
+
export function validate(fieldName, formik) {
|
|
22
|
+
const {
|
|
23
|
+
values,
|
|
24
|
+
validationSchema
|
|
25
|
+
} = formik;
|
|
26
|
+
try {
|
|
27
|
+
Yup.reach(validationSchema, fieldName).validateSync(values[fieldName], {
|
|
28
|
+
abortEarly: false
|
|
29
|
+
});
|
|
30
|
+
return undefined;
|
|
31
|
+
} catch (validateError) {
|
|
32
|
+
return validateError.inner[0].errors[0];
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
Form.propTypes = {
|
|
36
|
+
children: PropTypes.node.isRequired
|
|
37
|
+
};
|
|
38
|
+
export default Form;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Form from './Form';
|
|
3
|
+
// import { FormField, FormInfo, FormError } from './Form'
|
|
4
|
+
import { ComponentWrapper } from '../ComponentWrapper/ComponentWrapper.styles';
|
|
5
|
+
import { withFormik } from 'formik';
|
|
6
|
+
export default {
|
|
7
|
+
title: 'Components Library/Form',
|
|
8
|
+
component: Form,
|
|
9
|
+
argTypes: {
|
|
10
|
+
children: {
|
|
11
|
+
type: 'node',
|
|
12
|
+
defaultValue: [],
|
|
13
|
+
required: true
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
Form.decorators = [withFormik];
|
|
18
|
+
const Template = args => /*#__PURE__*/React.createElement(ComponentWrapper, null, /*#__PURE__*/React.createElement(Form, args));
|
|
19
|
+
export const FormOverview = Template.bind({});
|
|
20
|
+
FormOverview.args = {};
|
|
21
|
+
|
|
22
|
+
//doublecheck:
|
|
23
|
+
//not working - formik..
|
|
24
|
+
//_useFormikContext is undefined
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import styled from 'styled-components/macro';
|
|
2
|
+
import { Form } from 'formik';
|
|
3
|
+
import rwd from 'styles/rwd';
|
|
4
|
+
import theme from 'styles/theme';
|
|
5
|
+
export const FormContainer = styled(Form)`
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
flex-grow: 1;
|
|
9
|
+
`;
|
|
10
|
+
export const FormField = styled.div`
|
|
11
|
+
position: relative;
|
|
12
|
+
`;
|
|
13
|
+
export const FormInfo = styled.div`
|
|
14
|
+
font-family: 'Open Sans';
|
|
15
|
+
font-weight: ${props => props.styleID ? `400` : `300`};
|
|
16
|
+
// All font-weight: 300;
|
|
17
|
+
// ID font-weight: 400;
|
|
18
|
+
font-size: 9px;
|
|
19
|
+
line-height: 1.78em;
|
|
20
|
+
letter-spacing: 0.4px;
|
|
21
|
+
color: ${props => theme.cBlack};
|
|
22
|
+
opacity: ${props => props.styleID ? `1` : `0.5`};
|
|
23
|
+
// All opacity: 0.5;
|
|
24
|
+
// ID opacity: 1;
|
|
25
|
+
${props => props.center && 'text-align: center;'}
|
|
26
|
+
${props => props.marginTop && 'margin-top: 18px;'}
|
|
27
|
+
// from ID:
|
|
28
|
+
${props => props.marginBottom && 'margin-bottom: 18px;'}
|
|
29
|
+
${rwd.Large`
|
|
30
|
+
font-size: 12px;
|
|
31
|
+
`}
|
|
32
|
+
|
|
33
|
+
a {
|
|
34
|
+
text-decoration: underline;
|
|
35
|
+
transition: color .2s;
|
|
36
|
+
|
|
37
|
+
&:hover {
|
|
38
|
+
color: ${props => theme.cPrimary};
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
`;
|
|
42
|
+
export const FormError = styled.div`
|
|
43
|
+
display: none;
|
|
44
|
+
font-family: 'Open Sans';
|
|
45
|
+
font-weight: 300;
|
|
46
|
+
font-size: 11px;
|
|
47
|
+
line-height: 12px;
|
|
48
|
+
margin: 0;
|
|
49
|
+
position: relative;
|
|
50
|
+
left: 0;
|
|
51
|
+
top: ${props => props.styleSUF ? `10px` : `2px`};
|
|
52
|
+
// SUF top: 10px;
|
|
53
|
+
// ID, IIS & VD top: 2px;
|
|
54
|
+
margin-bottom: -12px;
|
|
55
|
+
letter-spacing: 0.4px;
|
|
56
|
+
color: ${props => theme.cWarning};
|
|
57
|
+
|
|
58
|
+
${props => props.show && 'display: block;'}
|
|
59
|
+
//from SUF
|
|
60
|
+
${({
|
|
61
|
+
withMarginLeft
|
|
62
|
+
}) => withMarginLeft && 'margin-left: 28px;'}
|
|
63
|
+
${({
|
|
64
|
+
withTopSpacing
|
|
65
|
+
}) => withTopSpacing && 'top: 10px;'}
|
|
66
|
+
`;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import styled from 'styled-components/macro';
|
|
2
|
+
import { Card } from 'semantic-ui-react';
|
|
3
|
+
import theme from 'styles/theme';
|
|
4
|
+
import rwd from 'styles/rwd';
|
|
5
|
+
export const FullscreenCardContainer = styled.div`
|
|
6
|
+
display: flex;
|
|
7
|
+
min-height: 100vh;
|
|
8
|
+
padding: 0;
|
|
9
|
+
background: ${props => theme.cGrey};
|
|
10
|
+
|
|
11
|
+
${rwd.Medium`
|
|
12
|
+
padding: 120px 0;
|
|
13
|
+
`}
|
|
14
|
+
`;
|
|
15
|
+
export const FullscreenCard = styled(Card)`
|
|
16
|
+
&&& {
|
|
17
|
+
box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
|
|
18
|
+
width: 100%;
|
|
19
|
+
|
|
20
|
+
${rwd.Medium`
|
|
21
|
+
width: 480px;
|
|
22
|
+
padding: 0;
|
|
23
|
+
margin: auto;
|
|
24
|
+
`}
|
|
25
|
+
}
|
|
26
|
+
`;
|
|
27
|
+
export const FullscreenCardContent = styled(Card.Content)`
|
|
28
|
+
&&& {
|
|
29
|
+
padding: 48px 32px 55px;
|
|
30
|
+
${rwd.Medium`
|
|
31
|
+
padding: 66px 60px 56px;
|
|
32
|
+
`}
|
|
33
|
+
}
|
|
34
|
+
`;
|
|
35
|
+
|
|
36
|
+
// unused component
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import styled from 'styled-components/macro';
|
|
2
|
+
import grid from 'styles/grid';
|
|
3
|
+
import rwd from 'styles/rwd';
|
|
4
|
+
import theme from 'styles/theme';
|
|
5
|
+
import spacing from 'styles/spacing';
|
|
6
|
+
export const Wrapper = styled.div`
|
|
7
|
+
height: 100%;
|
|
8
|
+
|
|
9
|
+
${props => props.flex && `
|
|
10
|
+
display:flex;
|
|
11
|
+
`}
|
|
12
|
+
`;
|
|
13
|
+
export const Row = styled.div`
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-wrap: wrap;
|
|
16
|
+
text-align: left;
|
|
17
|
+
|
|
18
|
+
${props => props.center && `
|
|
19
|
+
justify-content: center;
|
|
20
|
+
`}
|
|
21
|
+
|
|
22
|
+
${props => props.right && `
|
|
23
|
+
justify-content: right;
|
|
24
|
+
`}
|
|
25
|
+
|
|
26
|
+
${props => props.spaceBetween && `
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
`}
|
|
29
|
+
|
|
30
|
+
${props => props.stretch && `
|
|
31
|
+
height: 100%;
|
|
32
|
+
align-items: stretch;
|
|
33
|
+
`}
|
|
34
|
+
|
|
35
|
+
${props => props.dashboard && `
|
|
36
|
+
margin: -16px;
|
|
37
|
+
`}
|
|
38
|
+
|
|
39
|
+
${props => props.nowrap && `
|
|
40
|
+
flex-wrap: nowrap;
|
|
41
|
+
`}
|
|
42
|
+
|
|
43
|
+
${rwd.Medium`
|
|
44
|
+
${props => props.main && `
|
|
45
|
+
z-index: 0;
|
|
46
|
+
min-height: calc(100vh - ${spacing.footerHeight}px);
|
|
47
|
+
padding-top: ${spacing.headerHeight}px;
|
|
48
|
+
`}
|
|
49
|
+
`}
|
|
50
|
+
`; // ID has padding-top as 85px instead of headerHeight (which is set to 96px)
|
|
51
|
+
|
|
52
|
+
export const Column = styled.div`
|
|
53
|
+
display: flex;
|
|
54
|
+
flex-direction: column;
|
|
55
|
+
width: 100%;
|
|
56
|
+
|
|
57
|
+
${props => props.center && `
|
|
58
|
+
justify-content: center;
|
|
59
|
+
`}
|
|
60
|
+
|
|
61
|
+
${props => props.alignCenter && `
|
|
62
|
+
align-items: center;
|
|
63
|
+
`}
|
|
64
|
+
|
|
65
|
+
${props => props.spaceBetween && `
|
|
66
|
+
justify-content: space-between;
|
|
67
|
+
`}
|
|
68
|
+
|
|
69
|
+
${props => props.flexEnd && `
|
|
70
|
+
justify-content: flex-end;
|
|
71
|
+
`}
|
|
72
|
+
|
|
73
|
+
${props => props.mainRelative && `
|
|
74
|
+
padding: 18px 0 28px;
|
|
75
|
+
`}
|
|
76
|
+
|
|
77
|
+
${rwd.Medium`
|
|
78
|
+
${props => props.part && `
|
|
79
|
+
width: ${grid(props.part, props.full)};
|
|
80
|
+
`}
|
|
81
|
+
|
|
82
|
+
${props => props.mainFixed && `
|
|
83
|
+
position: fixed;
|
|
84
|
+
top: ${spacing.headerHeight}px;
|
|
85
|
+
left: 0;
|
|
86
|
+
height: calc(100% - ${spacing.headerHeight}px);
|
|
87
|
+
`}
|
|
88
|
+
|
|
89
|
+
${props => props.mainRelative && `
|
|
90
|
+
position: relative;
|
|
91
|
+
margin-left: ${grid((props.full || 16) - props.part, props.full)};
|
|
92
|
+
border-left: 1px solid ${theme.cLightGrey};
|
|
93
|
+
padding: 54px 0 42px;
|
|
94
|
+
`}
|
|
95
|
+
|
|
96
|
+
${props => props.withBorder && `
|
|
97
|
+
border-left: 1px solid ${theme.cLightGrey};
|
|
98
|
+
`}
|
|
99
|
+
`}
|
|
100
|
+
`;
|
|
101
|
+
export const PageWrapper = styled.div`
|
|
102
|
+
min-height: 100vh;
|
|
103
|
+
display: flex;
|
|
104
|
+
flex-direction: column;
|
|
105
|
+
|
|
106
|
+
${Row} {
|
|
107
|
+
flex-grow: 1;
|
|
108
|
+
}
|
|
109
|
+
`;
|