@stokr/components-library 3.0.16 → 3.0.18
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/README.md +261 -262
- package/dist/analytics/index.js +180 -0
- package/dist/api/auth.js +15 -0
- package/dist/api/fetchData.js +27 -0
- package/dist/api/fetchDataPublic.js +19 -0
- package/dist/auth/index.js +32 -0
- package/dist/components/2FA/Connect2FA.js +55 -0
- package/dist/components/2FA/EnterCode.js +63 -0
- package/dist/components/2FA/InstallAuthApp.js +64 -0
- package/dist/components/2FA/ResetCode.js +33 -0
- package/dist/components/2FA/Sucess2FA.js +51 -0
- package/dist/components/2FA/disable-2fa-flow.js +91 -0
- package/dist/components/2FA/enable-2fa-flow.js +137 -0
- package/dist/components/2FA/login-with-otp-flow.js +206 -0
- package/dist/components/2FA/main-flow.js +217 -0
- package/dist/components/AccountBalance/AccountBalance.js +35 -0
- package/dist/components/AccountBalance/AccountBalance.styles.js +48 -0
- package/dist/components/AdminDashboard/Table/ReactTable.js +266 -0
- package/dist/components/AdminDashboard/Table/ReactTableWrapper.js +65 -0
- package/dist/components/AdminDashboard/Table/Table.js +123 -0
- package/dist/components/AdminDashboard/Table/Table.styles.js +263 -0
- package/dist/components/AgreementItem/AgreementItem.js +39 -0
- package/dist/components/AgreementItem/AgreementItem.styles.js +32 -0
- package/dist/components/BackButton/BackButton.js +34 -0
- package/dist/components/BackButton/BackButton.styles.js +123 -0
- package/dist/components/Background/Background.js +45 -0
- package/dist/components/Background/Background.styles.js +119 -0
- package/dist/components/BasicTable/BasicTable.js +25 -0
- package/dist/components/BasicTable/BasicTable.styles.js +76 -0
- package/dist/components/BlogPost/BlogPost.js +98 -0
- package/dist/components/BlogPost/BlogPost.styles.js +230 -0
- package/dist/components/Button/Button.styles.js +207 -0
- package/dist/components/ButtonContainer/ButtonContainer.styles.js +51 -0
- package/dist/components/CapitalRaisedSummary/CaptialRaisedSummary.js +18 -0
- package/dist/components/CapitalRaisedSummary/CaptialRaisedSummary.styles.js +41 -0
- package/dist/components/Card/Card.styles.js +97 -0
- package/dist/components/ChartLegend/ChartLegend.js +62 -0
- package/dist/components/ChartLegend/ChartLegend.styles.js +133 -0
- package/dist/components/Checkbox/Checkbox.js +80 -0
- package/dist/components/Checkbox/Checkbox.styles.js +133 -0
- package/dist/components/Checklist/ChecklistCard.js +71 -0
- package/dist/components/Checklist/ChecklistCard.styles.js +82 -0
- package/dist/components/Chips/Chip.js +23 -0
- package/dist/components/Chips/Chip.styles.js +72 -0
- package/dist/components/Chips/ChipWrapper.js +50 -0
- package/dist/components/ComponentScroll/ComponentScroll.js +70 -0
- package/dist/components/ComponentScroll/ComponentScroll.styles.js +127 -0
- package/dist/components/ComponentWrapper/ComponentWrapper.styles.js +165 -0
- package/dist/components/ConfirmModal/ConfirmModal.js +199 -0
- package/dist/components/ConfirmModal/ConfirmModal.styles.js +44 -0
- package/dist/components/CryptoAddress/ComponentWrap.js +16 -0
- package/dist/components/CryptoAddress/CryptoAddress.js +151 -0
- package/dist/components/CryptoAddress/CryptoAddress.styles.js +443 -0
- package/dist/components/CryptoAddress/RadioWrap.js +47 -0
- package/dist/components/CryptoAddressDetails/CryptoAddressDetails.js +34 -0
- package/dist/components/CryptoAddressDetails/CryptoAddressDetails.styles.js +125 -0
- package/dist/components/CryptoAddressWrapper/CryptoAddressWrapper.js +25 -0
- package/dist/components/CryptoAddressWrapper/CryptoAddressWrapper.styles.js +111 -0
- package/dist/components/DoubleButton/DoubleButton.styles.js +27 -0
- package/dist/components/ErrorMessage/ErrorMessage.styles.js +9 -0
- package/dist/components/FAQ/FAQ.js +73 -0
- package/dist/components/FAQ/FAQ.styles.js +128 -0
- package/dist/components/Footer/Footer.js +55 -0
- package/dist/components/Footer/Footer.styles.js +256 -0
- package/dist/components/Footer/FooterLayout.js +145 -0
- package/dist/components/Footer/FooterMenu.js +100 -0
- package/dist/components/Footer/FooterMenu.styles.js +321 -0
- package/dist/components/ForgotPasswordModal/ForgotPasswordModal.js +100 -0
- package/dist/components/Form/Form.js +21 -0
- package/dist/components/Form/Form.styles.js +72 -0
- package/dist/components/Grid/Grid.styles.js +212 -0
- package/dist/components/Header/Header.js +425 -0
- package/dist/components/Header/Header.styles.js +567 -0
- package/dist/components/HeroBlock/HeroVideoBlock.js +105 -0
- package/dist/components/Icon/Icon.style.js +92 -0
- package/dist/components/Icon/Icon2.js +12 -0
- package/dist/components/InfoBox/InfoBox.js +93 -0
- package/dist/components/InfoIcon/InfoIcon.js +62 -0
- package/dist/components/InfoIcon/InfoIcon.styles.js +64 -0
- package/dist/components/Input/DatePickerInput.js +139 -0
- package/dist/components/Input/DatePickerInput.styles.js +165 -0
- package/dist/components/Input/Input.js +108 -0
- package/dist/components/Input/Input.styles.js +154 -0
- package/dist/components/Input/InputPassword.js +122 -0
- package/dist/components/Input/InputPassword.styles.js +166 -0
- package/dist/components/Input/InputUsername.js +92 -0
- package/dist/components/Input/InputWithButton.js +53 -0
- package/dist/components/Input/InputWithButton.styles.js +57 -0
- package/dist/components/Input/MultiSelect.js +306 -0
- package/dist/components/Input/OtpInput.js +70 -0
- package/dist/components/Input/RangeInput.js +80 -0
- package/dist/components/Input/RangeInput.styles.js +129 -0
- package/dist/components/Input/SearchInput.js +68 -0
- package/dist/components/Input/SearchInput.styles.js +92 -0
- package/dist/components/Input/Select.js +151 -0
- package/dist/components/Input/Select.styles.js +148 -0
- package/dist/components/Input/TableFilterDropdown.js +247 -0
- package/dist/components/Input/Textarea.js +51 -0
- package/dist/components/Input/Textarea.styles.js +62 -0
- package/dist/components/InvestCalculator/InvestCalculator.js +283 -0
- package/dist/components/InvestCalculator/InvestCalculator.styles.js +94 -0
- package/dist/components/InvestmentStat/InvestmentStat.js +24 -0
- package/dist/components/InvestmentStat/InvestmentStat.styles.js +62 -0
- package/dist/components/LatestUpdate/LatestUpdate.js +24 -0
- package/dist/components/LatestUpdate/LatestUpdate.styles.js +90 -0
- package/dist/components/Layout/Layout.js +69 -0
- package/dist/components/LearnMoreCarousel/LearnMoreCarousel.js +32 -0
- package/dist/components/LearnMoreCarousel/LearnMoreCarousel.styles.js +208 -0
- package/dist/components/LearnMorePage/LearnMore.js +190 -0
- package/dist/components/LearnMorePage/LearnMore.propTypes.js +20 -0
- package/dist/components/LearnMorePage/LearnMore.shared.styles.js +56 -0
- package/dist/components/LearnMorePage/LearnMore.styles.js +276 -0
- package/dist/components/LearnMorePage/LearnMoreExampleObject.js +120 -0
- package/dist/components/LearnMorePage/LearnMoreItem.js +57 -0
- package/dist/components/LearnMorePage/LearnMoreItem.styles.js +234 -0
- package/dist/components/LearnMoreSection/LearnMore.js +138 -0
- package/dist/components/LearnMoreSection/LearnMore.styles.js +147 -0
- package/dist/components/LearnMoreSection/LearnMoreItem.js +33 -0
- package/dist/components/LearnMoreSection/LearnMoreItem.styles.js +60 -0
- package/dist/components/LoginModal/LoginModal.js +142 -0
- package/dist/components/MainMenu/DynamicMainMenu.js +38 -0
- package/dist/components/MainMenu/MainMenu.js +210 -0
- package/dist/components/MainMenu/MainMenu.styles.js +362 -0
- package/dist/components/MenuNav/MenuNav.styles.js +66 -0
- package/dist/components/Modal/Modal.js +119 -0
- package/dist/components/Modal/Modal.styles.js +450 -0
- package/dist/components/Modal/NewVentureModal/NewVentureModal.js +262 -0
- package/dist/components/Modal/PaymentModal.js +149 -0
- package/dist/components/Modal/SideModal.js +134 -0
- package/dist/components/Modal/SideModal.styles.js +55 -0
- package/dist/components/Modal/SuccessModal/SuccessModal.js +170 -0
- package/dist/components/Modal/SuccessModal/SuccessModal.styles.js +53 -0
- package/dist/components/MultiProgressBar/MultiProgressBar.js +30 -0
- package/dist/components/MultiProgressBar/MultiProgressBar.styles.js +105 -0
- package/dist/components/Newsletter/Newsletter.js +122 -0
- package/dist/components/Newsletter/Newsletter.styles.js +186 -0
- package/dist/components/NotificationCounter/NotificationCounter.styles.js +38 -0
- package/dist/components/Number/Number.js +50 -0
- package/dist/components/Number/Number.styles.js +23 -0
- package/dist/components/PageTransition/PageTransition.js +51 -0
- package/dist/components/Pagination/Pagination.js +58 -0
- package/dist/components/Pagination/Pagination.styles.js +59 -0
- package/dist/components/Pagination/PaginationControls.js +113 -0
- package/dist/components/Pagination/usePagination.js +40 -0
- package/dist/components/Payment/PaymentDetailsCard.js +359 -0
- package/dist/components/Payment/PaymentDisplay.js +199 -0
- package/dist/components/Payment/TimerComponent.js +92 -0
- package/dist/components/Process/Process.styles.js +84 -0
- package/dist/components/ProfileBadge/ProfileBadge.js +35 -0
- package/dist/components/ProfileBadge/ProfileBadge.styles.js +53 -0
- package/dist/components/ProfileBox/ProfileBox.js +27 -0
- package/dist/components/ProfileBox/ProfileBox.styles.js +67 -0
- package/dist/components/ProfileStat/ProfileStat.js +29 -0
- package/dist/components/ProfileStat/ProfileStat.styles.js +90 -0
- package/dist/components/QRCode/QRCode.js +51 -0
- package/dist/components/Radio/Radio.js +51 -0
- package/dist/components/Radio/Radio.styles.js +100 -0
- package/dist/components/RefreshButton/RefreshButton.js +21 -0
- package/dist/components/RefreshButton/RefreshButton.styles.js +64 -0
- package/dist/components/RegisterConfirmModal/RegisterConfirmModal.js +65 -0
- package/dist/components/RegisterConfirmModal/RegisterConfirmModal.styles.js +20 -0
- package/dist/components/RegisterModal/RegisterModal.js +248 -0
- package/dist/components/RequestDataBox/RequestDataBox.js +21 -0
- package/dist/components/RequestDataBox/RequestDataBox.styles.js +43 -0
- package/dist/components/ResetConfirmModal/ResetConfirmModal.js +44 -0
- package/dist/components/ResetConfirmModal/ResetConfirmModal.styles.js +41 -0
- package/dist/components/ResetPasswordModal/ResetPasswordModal.js +134 -0
- package/dist/components/SEO/SEO.js +66 -0
- package/dist/components/SectionTitle/SectionTitle.styles.js +26 -0
- package/dist/components/SideLine/SideLine.js +7 -0
- package/dist/components/SideLine/SideLine.styles.js +33 -0
- package/dist/components/Slider/Slider.js +31 -0
- package/dist/components/Slider/Slider.styles.js +120 -0
- package/dist/components/Snackbar/Snackbar.js +111 -0
- package/dist/components/Snackbar/Snackbar.styles.js +230 -0
- package/dist/components/Snackbar/SnackbarProvider.js +66 -0
- package/dist/components/Snackbar/useSnackbar.js +12 -0
- package/dist/components/SpanButton/SpanButton.styles.js +19 -0
- package/dist/components/StatusBadge/StatusBadge.styles.js +18 -0
- package/dist/components/StatusTag/StatusTag.js +105 -0
- package/dist/components/StatusTag/StatusTag.styles.js +88 -0
- package/dist/components/StepController/StepController.js +86 -0
- package/dist/components/StepController/StepController.styles.js +33 -0
- package/dist/components/StepController/StepControllerContext.js +65 -0
- package/dist/components/StepController/StepControllerProgress.js +37 -0
- package/dist/components/StepsProgress/StepIndicator.js +40 -0
- package/dist/components/StepsProgress/StepIndicator.styles.js +69 -0
- package/dist/components/StepsProgress/StepsProgress.js +67 -0
- package/dist/components/StepsProgress/StepsProgress.styles.js +105 -0
- package/dist/components/StokrLoader/StokrLoader.js +111 -0
- package/dist/components/StokrLoader/media.js +23 -0
- package/dist/components/SvgIcons/AdminBadgeSvg.js +27 -0
- package/dist/components/SvgIcons/CameraSvg.js +31 -0
- package/dist/components/SvgIcons/CapsLockSvg.js +36 -0
- package/dist/components/SvgIcons/DocumentBackSvg.js +20 -0
- package/dist/components/SvgIcons/DocumentSmallSvg.js +41 -0
- package/dist/components/SvgIcons/DocumentSvg.js +39 -0
- package/dist/components/SvgIcons/EthSvg.js +28 -0
- package/dist/components/SvgIcons/EurSvg.js +27 -0
- package/dist/components/SvgIcons/FaceScanIconSvg.js +17 -0
- package/dist/components/SvgIcons/FourSvg.js +7 -0
- package/dist/components/SvgIcons/Glassess.js +26 -0
- package/dist/components/SvgIcons/LogoSvg.js +17 -0
- package/dist/components/SvgIcons/OneSvg.js +10 -0
- package/dist/components/SvgIcons/PassportSvg.js +37 -0
- package/dist/components/SvgIcons/RefreshSvg.js +28 -0
- package/dist/components/SvgIcons/SocialFacebook.js +22 -0
- package/dist/components/SvgIcons/SocialInstagram.js +13 -0
- package/dist/components/SvgIcons/SocialLinkedIn.js +31 -0
- package/dist/components/SvgIcons/SocialMedium.js +21 -0
- package/dist/components/SvgIcons/SocialReddit.js +21 -0
- package/dist/components/SvgIcons/SocialTelegram.js +60 -0
- package/dist/components/SvgIcons/SocialTwitter.js +62 -0
- package/dist/components/SvgIcons/SocialYoutube.js +22 -0
- package/dist/components/SvgIcons/ThreeSvg.js +7 -0
- package/dist/components/SvgIcons/TwoSidedDocumentSvg.js +48 -0
- package/dist/components/SvgIcons/TwoSvg.js +10 -0
- package/dist/components/SvgIcons/UpdateDefaultSvg.js +12 -0
- package/dist/components/SvgIcons/UpdateHardSvg.js +10 -0
- package/dist/components/SvgIcons/UpdateSoftSvg.js +11 -0
- package/dist/components/SvgIcons/UploadSvg.js +12 -0
- package/dist/components/SvgIcons/VerifiedBadge.js +16 -0
- package/dist/components/Switch/Switch.js +63 -0
- package/dist/components/Switch/Switch.styles.js +126 -0
- package/dist/components/Tabs/Tabs.js +54 -0
- package/dist/components/Tabs/Tabs.styles.js +15 -0
- package/dist/components/TabsNav/TabNav.js +16 -0
- package/dist/components/TabsNav/TabsNav.js +30 -0
- package/dist/components/TabsNav/TabsNav.styles.js +103 -0
- package/dist/components/TeamOverview/TeamOverview.js +80 -0
- package/dist/components/TeamOverview/TeamOverview.styles.js +167 -0
- package/dist/components/TermsModal/TermsModal.js +145 -0
- package/dist/components/TermsModal/_styles.js +313 -0
- package/dist/components/Text/Text.styles.js +220 -0
- package/dist/components/TextLink/TextLink.styles.js +67 -0
- package/dist/components/Timeline/Timeline.js +44 -0
- package/dist/components/Timeline/Timeline.styles.js +147 -0
- package/dist/components/Timeline/TimelineStep.js +58 -0
- package/dist/components/ToDoList/ToDoList.js +172 -0
- package/dist/components/ToDoList/ToDoList.styles.js +122 -0
- package/dist/components/ToDoList/ToDoListTask.js +95 -0
- package/dist/components/ToDoList/ToDoListTask.styles.js +119 -0
- package/dist/components/TransactionDetails/TransactionDetails.js +27 -0
- package/dist/components/TransactionDetails/TransactionDetails.styles.js +38 -0
- package/dist/components/TransactionInfo/TransactionInfo.js +41 -0
- package/dist/components/TransactionInfo/TransactionInfo.styles.js +75 -0
- package/dist/components/VerifyEmailModal/VerifyEmailModal.js +122 -0
- package/dist/components/breakdown/Breakdown.js +126 -0
- package/dist/components/headerHo/HeaderHo.js +709 -0
- package/dist/components/icons/Arrow.js +38 -0
- package/dist/components/icons/ArrowSimple.js +34 -0
- package/dist/components/icons/Check.js +16 -0
- package/dist/components/icons/Facebook.js +10 -0
- package/dist/components/icons/Info.js +27 -0
- package/dist/components/icons/Instagram.js +10 -0
- package/dist/components/icons/LinkIcon.js +49 -0
- package/dist/components/icons/LinkedIn.js +13 -0
- package/dist/components/icons/Medium.js +13 -0
- package/dist/components/icons/Reddit.js +16 -0
- package/dist/components/icons/Share.js +31 -0
- package/dist/components/icons/Telegram.js +13 -0
- package/dist/components/icons/Twitter.js +10 -0
- package/dist/components/icons/X.js +10 -0
- package/dist/components/icons/Youtube.js +10 -0
- package/dist/components/icons/index.js +32 -0
- package/dist/components/landing-page/List.js +51 -0
- package/dist/components/landing-page/PageContent.js +65 -0
- package/dist/components/landing-page/PageText.js +171 -0
- package/dist/components/landing-page/PageTitle.js +259 -0
- package/dist/components/logo/Logo.js +57 -0
- package/dist/components/taxId/complete.js +24 -0
- package/dist/components/taxId/flow.js +53 -0
- package/dist/components/taxId/register-taxid.js +166 -0
- package/dist/config.js +44 -0
- package/dist/constants/globalVariables.js +87 -0
- package/dist/constants/style.js +48 -0
- package/dist/context/Auth.js +396 -0
- package/dist/context/AuthContext.js +781 -0
- package/dist/context/Checkbox/CheckboxContext.js +151 -0
- package/dist/firebase-config.js +73 -0
- package/dist/hooks/useNewVentureForm.js +262 -0
- package/dist/hooks/useTimer.js +89 -0
- package/dist/hooks/useTransactionPolling.js +100 -0
- package/dist/index.js +632 -25463
- package/dist/model/axios.js +10 -0
- package/dist/model/axiosPublic.js +9 -0
- package/dist/services/TimerService.js +80 -0
- package/dist/static/animations/checked.lottie.js +4 -0
- package/dist/static/animations/progress.lottie.js +4 -0
- package/dist/static/fonts/Ionicons/Ionicons.ttf.js +4 -0
- package/dist/static/fonts/Ionicons/Ionicons.woff.js +4 -0
- package/dist/static/fonts/Ionicons/Ionicons.woff2.js +4 -0
- package/dist/static/fonts/Ionicons/ionicons.min.css.js +4 -0
- package/dist/static/fonts/OpenSans/OpenSans-Bold.ttf.js +4 -0
- package/dist/static/fonts/OpenSans/OpenSans-Bold.woff.js +4 -0
- package/dist/static/fonts/OpenSans/OpenSans-Bold.woff2.js +4 -0
- package/dist/static/fonts/OpenSans/OpenSans-ExtraBold.ttf.js +4 -0
- package/dist/static/fonts/OpenSans/OpenSans-ExtraBold.woff.js +4 -0
- package/dist/static/fonts/OpenSans/OpenSans-ExtraBold.woff2.js +4 -0
- package/dist/static/fonts/OpenSans/OpenSans-Light.ttf.js +4 -0
- package/dist/static/fonts/OpenSans/OpenSans-Light.woff.js +4 -0
- package/dist/static/fonts/OpenSans/OpenSans-Light.woff2.js +4 -0
- package/dist/static/fonts/OpenSans/OpenSans-Regular.ttf.js +4 -0
- package/dist/static/fonts/OpenSans/OpenSans-Regular.woff.js +4 -0
- package/dist/static/fonts/OpenSans/OpenSans-Regular.woff2.js +4 -0
- package/dist/static/fonts/OpenSans/OpenSans-SemiBold.ttf.js +4 -0
- package/dist/static/fonts/OpenSans/OpenSans-SemiBold.woff.js +4 -0
- package/dist/static/fonts/OpenSans/OpenSans-SemiBold.woff2.js +4 -0
- package/dist/static/fonts/icomoon/icomoon.eot.js +4 -0
- package/dist/static/fonts/icomoon/icomoon.svg.js +4 -0
- package/dist/static/fonts/icomoon/icomoon.ttf.js +4 -0
- package/dist/static/fonts/icomoon/icomoon.woff.js +4 -0
- package/dist/static/images/add-folder-icon.svg.js +5 -0
- package/dist/static/images/address-refreshing.gif.js +4 -0
- package/dist/static/images/arrow-down-black.svg.js +4 -0
- package/dist/static/images/avatar-placeholder.png.js +4 -0
- package/dist/static/images/background3.png.js +4 -0
- package/dist/static/images/bitcoin-logo.svg.js +4 -0
- package/dist/static/images/bmn2-logo.svg.js +4 -0
- package/dist/static/images/check-icon.svg.js +5 -0
- package/dist/static/images/checkmark-circle-icon.svg.js +5 -0
- package/dist/static/images/close-circle-icon.svg.js +5 -0
- package/dist/static/images/copy_icon.svg.js +5 -0
- package/dist/static/images/cross-icon.svg.js +5 -0
- package/dist/static/images/early-adopter.png.js +4 -0
- package/dist/static/images/eth_logo.svg.js +4 -0
- package/dist/static/images/external-link-icon.svg +3 -0
- package/dist/static/images/external-link-icon.svg.js +4 -0
- package/dist/static/images/filter-icon.svg.js +5 -0
- package/dist/static/images/google_auth.png.js +4 -0
- package/dist/static/images/graduation.png.js +4 -0
- package/dist/static/images/mangopay.svg.js +4 -0
- package/dist/static/images/numbers/number_eight.svg.js +5 -0
- package/dist/static/images/numbers/number_five.svg.js +5 -0
- package/dist/static/images/numbers/number_four.svg.js +5 -0
- package/dist/static/images/numbers/number_nine.svg.js +5 -0
- package/dist/static/images/numbers/number_one.svg.js +5 -0
- package/dist/static/images/numbers/number_seven.svg.js +5 -0
- package/dist/static/images/numbers/number_six.svg.js +5 -0
- package/dist/static/images/numbers/number_three.svg.js +5 -0
- package/dist/static/images/numbers/number_two.svg.js +5 -0
- package/dist/static/images/numbers/number_zero.svg.js +5 -0
- package/dist/static/images/process-waiting.gif.js +4 -0
- package/dist/static/images/search-icon.svg.js +5 -0
- package/dist/static/images/social/Facebook_Logo.png.js +4 -0
- package/dist/static/images/social/LI-In-Bug.png.js +4 -0
- package/dist/static/images/social/Telegram-Logo.png.js +4 -0
- package/dist/static/images/social/X-logo-black.png.js +4 -0
- package/dist/static/images/social/youtube_social_circle_red.png.js +4 -0
- package/dist/static/images/transfer-icon.svg.js +5 -0
- package/dist/static/images/usdc-logo.svg.js +4 -0
- package/dist/static/images/usdq-logo.png.js +4 -0
- package/dist/static/images/warning-filled.svg.js +5 -0
- package/dist/styles/colors.js +57 -0
- package/dist/styles/fonts.js +100 -0
- package/dist/styles/global.js +74 -0
- package/dist/styles/grid.js +11 -0
- package/dist/styles/ioniconsStyles.js +31 -0
- package/dist/styles/reactTippy.js +40 -0
- package/dist/styles/rwd.js +56 -0
- package/dist/styles/semanticUi.js +84 -0
- package/dist/styles/spacing.js +8 -0
- package/dist/styles/theme.js +34 -0
- package/dist/utils/check-sale-time-left.js +85 -0
- package/dist/utils/check-todo-status.js +11 -0
- package/dist/utils/checklistGenerator.js +195 -0
- package/dist/utils/copyToClipboard.js +92 -0
- package/dist/utils/customHooks.js +126 -0
- package/dist/utils/delete-redirect-cookie-and-navigate.js +12 -0
- package/dist/utils/fix-decimals.js +5 -0
- package/dist/utils/formatCurrencyValue.js +95 -0
- package/dist/utils/get-cookie-domain.js +10 -0
- package/dist/utils/get-short-address.js +4 -0
- package/dist/utils/isUSInvestor.js +6 -0
- package/dist/utils/km_ify.js +33 -0
- package/dist/utils/moment.js +26 -0
- package/dist/utils/redirect-url.js +5 -0
- package/dist/utils/saveAs.js +17 -0
- package/dist/utils/scrollUtils.js +63 -0
- package/dist/utils/set-redirect-cookie.js +16 -0
- package/dist/utils/transition.js +101 -0
- package/dist/utils/withRouter.js +24 -0
- package/package.json +11 -11
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import PropTypes from "prop-types";
|
|
4
|
+
import { Button } from "../Button/Button.styles.js";
|
|
5
|
+
import { Container, Row, Column, Avatar, AvatarImg, Name } from "./CryptoAddressDetails.styles.js";
|
|
6
|
+
const CryptoAddressDetails = ({ data }) => /* @__PURE__ */ jsxs(Container, { children: [
|
|
7
|
+
/* @__PURE__ */ jsxs(Row, { head: true, children: [
|
|
8
|
+
/* @__PURE__ */ jsx(Column, { tokens: true, children: "Tokens" }),
|
|
9
|
+
/* @__PURE__ */ jsx(Column, { balance: true, children: "Balance" }),
|
|
10
|
+
/* @__PURE__ */ jsx(Column, { transfer: true })
|
|
11
|
+
] }),
|
|
12
|
+
data.map((datum, index) => /* @__PURE__ */ jsxs(Row, { children: [
|
|
13
|
+
/* @__PURE__ */ jsxs(Column, { tokens: true, nameBox: true, children: [
|
|
14
|
+
/* @__PURE__ */ jsx(Avatar, { children: /* @__PURE__ */ jsx(AvatarImg, { src: datum.avatar, alt: "avatar" }) }),
|
|
15
|
+
/* @__PURE__ */ jsx(Name, { children: datum.name })
|
|
16
|
+
] }),
|
|
17
|
+
/* @__PURE__ */ jsx(Column, { balance: true, balanceText: true, children: datum.balance }),
|
|
18
|
+
/* @__PURE__ */ jsx(Column, { transfer: true, children: /* @__PURE__ */ jsx(Button, { outline: true, fluid: true, onClick: datum.transferClick, children: "Transfer" }) })
|
|
19
|
+
] }, `${datum.id}-${index.toString()}`))
|
|
20
|
+
] });
|
|
21
|
+
CryptoAddressDetails.propTypes = {
|
|
22
|
+
data: PropTypes.arrayOf(
|
|
23
|
+
PropTypes.shape({
|
|
24
|
+
id: PropTypes.number,
|
|
25
|
+
avatar: PropTypes.string,
|
|
26
|
+
name: PropTypes.string,
|
|
27
|
+
balance: PropTypes.string,
|
|
28
|
+
transferClick: PropTypes.func
|
|
29
|
+
})
|
|
30
|
+
).isRequired
|
|
31
|
+
};
|
|
32
|
+
export {
|
|
33
|
+
CryptoAddressDetails
|
|
34
|
+
};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import styled from "styled-components";
|
|
2
|
+
import grid from "../../styles/grid.js";
|
|
3
|
+
import rwd from "../../styles/rwd.js";
|
|
4
|
+
import theme from "../../styles/theme.js";
|
|
5
|
+
const Container = styled.div`
|
|
6
|
+
position: relative;
|
|
7
|
+
`;
|
|
8
|
+
const Row = styled.div.withConfig({
|
|
9
|
+
shouldForwardProp: (props) => !["head"].includes(props)
|
|
10
|
+
})`
|
|
11
|
+
background-color: ${() => theme.cPrimaryDark};
|
|
12
|
+
color: ${() => theme.cWhite};
|
|
13
|
+
padding: 22px 32px;
|
|
14
|
+
|
|
15
|
+
${rwd.Medium`
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: row;
|
|
18
|
+
align-items: center;
|
|
19
|
+
padding: 22px ${grid(1.5)};
|
|
20
|
+
`}
|
|
21
|
+
|
|
22
|
+
${(props) => props.head && `
|
|
23
|
+
display: none;
|
|
24
|
+
background-color: ${theme.cPrimary};
|
|
25
|
+
color: #ffffff;
|
|
26
|
+
font-size: 11px;
|
|
27
|
+
line-height: 24px;
|
|
28
|
+
letter-spacing: 2.06px;
|
|
29
|
+
text-transform: uppercase;
|
|
30
|
+
min-height: 56px;
|
|
31
|
+
padding: 10px 32px;
|
|
32
|
+
|
|
33
|
+
${rwd.Medium`
|
|
34
|
+
display: flex;
|
|
35
|
+
padding: 10px ${grid(1.5)};
|
|
36
|
+
`}
|
|
37
|
+
`}
|
|
38
|
+
|
|
39
|
+
&:nth-child(n+3) {
|
|
40
|
+
border-top: 1px solid #003e9d;
|
|
41
|
+
}
|
|
42
|
+
`;
|
|
43
|
+
const Column = styled.div.withConfig({
|
|
44
|
+
shouldForwardProp: (props) => !["balance", "transfer", "tokens", "nameBox", "balanceText"].includes(props)
|
|
45
|
+
})`
|
|
46
|
+
${(props) => props.balance && `
|
|
47
|
+
margin-top: 20px;
|
|
48
|
+
`}
|
|
49
|
+
|
|
50
|
+
${(props) => props.transfer && `
|
|
51
|
+
margin-top: 20px;
|
|
52
|
+
`}
|
|
53
|
+
|
|
54
|
+
${rwd.Medium`
|
|
55
|
+
display: inline-block;
|
|
56
|
+
|
|
57
|
+
${(props) => props.tokens && `
|
|
58
|
+
width: 40%;
|
|
59
|
+
padding-right: 10px;
|
|
60
|
+
`}
|
|
61
|
+
|
|
62
|
+
${(props) => props.balance && `
|
|
63
|
+
width: 30%;
|
|
64
|
+
padding-right: 10px;
|
|
65
|
+
margin-top: 0;
|
|
66
|
+
`}
|
|
67
|
+
|
|
68
|
+
${(props) => props.transfer && `
|
|
69
|
+
width: 30%;
|
|
70
|
+
margin-top: 0;
|
|
71
|
+
`}
|
|
72
|
+
|
|
73
|
+
${(props) => props.nameBox && `
|
|
74
|
+
display: flex;
|
|
75
|
+
`}
|
|
76
|
+
`}
|
|
77
|
+
|
|
78
|
+
${(props) => props.balanceText && `
|
|
79
|
+
font-weight: 300;
|
|
80
|
+
font-size: 22px;
|
|
81
|
+
line-height: 28px;
|
|
82
|
+
letter-spacing: 0.8px;
|
|
83
|
+
text-transform: uppercase;
|
|
84
|
+
`}
|
|
85
|
+
|
|
86
|
+
${(props) => props.nameBox && `
|
|
87
|
+
display: flex;
|
|
88
|
+
flex-direction: row;
|
|
89
|
+
justify-content: flex-start;
|
|
90
|
+
align-items: center;
|
|
91
|
+
`}
|
|
92
|
+
`;
|
|
93
|
+
const Avatar = styled.div`
|
|
94
|
+
display: inline-block;
|
|
95
|
+
width: 48px;
|
|
96
|
+
height: 48px;
|
|
97
|
+
border-radius: 24px;
|
|
98
|
+
background-color: ${() => theme.cPrimary};
|
|
99
|
+
overflow: hidden;
|
|
100
|
+
box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.1);
|
|
101
|
+
`;
|
|
102
|
+
const AvatarImg = styled.img`
|
|
103
|
+
display: block;
|
|
104
|
+
width: 100%;
|
|
105
|
+
height: 100%;
|
|
106
|
+
object-fit: cover;
|
|
107
|
+
object-position: center center;
|
|
108
|
+
`;
|
|
109
|
+
const Name = styled.div`
|
|
110
|
+
display: inline-block;
|
|
111
|
+
margin-left: 26px;
|
|
112
|
+
font-weight: 600;
|
|
113
|
+
font-size: 16px;
|
|
114
|
+
line-height: 24px;
|
|
115
|
+
letter-spacing: 0.6px;
|
|
116
|
+
word-break: break-all;
|
|
117
|
+
`;
|
|
118
|
+
export {
|
|
119
|
+
Avatar,
|
|
120
|
+
AvatarImg,
|
|
121
|
+
Column,
|
|
122
|
+
Container,
|
|
123
|
+
Name,
|
|
124
|
+
Row
|
|
125
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import PropTypes from "prop-types";
|
|
4
|
+
import { Container, Address, InfoBoxWrapper, InfoBox, Loader, Text, FailedIcon } from "./CryptoAddressWrapper.styles.js";
|
|
5
|
+
const CryptoAddressWrapper = ({ children, refresh = "", failed = "", relative, noFailedIcon }) => /* @__PURE__ */ jsxs(Container, { children: [
|
|
6
|
+
children && /* @__PURE__ */ jsx(Address, { isHidden: refresh || failed, children }),
|
|
7
|
+
refresh && /* @__PURE__ */ jsx(InfoBoxWrapper, { relative, children: /* @__PURE__ */ jsxs(InfoBox, { refresh: true, children: [
|
|
8
|
+
/* @__PURE__ */ jsx(Loader, {}),
|
|
9
|
+
/* @__PURE__ */ jsx(Text, { children: refresh })
|
|
10
|
+
] }) }),
|
|
11
|
+
failed && /* @__PURE__ */ jsx(InfoBoxWrapper, { relative, children: /* @__PURE__ */ jsxs(InfoBox, { failed: true, children: [
|
|
12
|
+
!noFailedIcon && /* @__PURE__ */ jsx(FailedIcon, {}),
|
|
13
|
+
/* @__PURE__ */ jsx(Text, { children: failed })
|
|
14
|
+
] }) })
|
|
15
|
+
] });
|
|
16
|
+
CryptoAddressWrapper.propTypes = {
|
|
17
|
+
children: PropTypes.node.isRequired,
|
|
18
|
+
refresh: PropTypes.string,
|
|
19
|
+
failed: PropTypes.string
|
|
20
|
+
};
|
|
21
|
+
var stdin_default = CryptoAddressWrapper;
|
|
22
|
+
export {
|
|
23
|
+
CryptoAddressWrapper,
|
|
24
|
+
stdin_default as default
|
|
25
|
+
};
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import styled from "styled-components";
|
|
2
|
+
import rwd from "../../styles/rwd.js";
|
|
3
|
+
import loader from "../../static/images/address-refreshing.gif.js";
|
|
4
|
+
import theme from "../../styles/theme.js";
|
|
5
|
+
const Container = styled.div`
|
|
6
|
+
position: relative;
|
|
7
|
+
display: block;
|
|
8
|
+
`;
|
|
9
|
+
const Address = styled.div.withConfig({
|
|
10
|
+
shouldForwardProp: (props) => !["isHidden"].includes(props)
|
|
11
|
+
})`
|
|
12
|
+
position: relative;
|
|
13
|
+
visibility: visible;
|
|
14
|
+
opacity: 1;
|
|
15
|
+
|
|
16
|
+
${(props) => props.isHidden && `
|
|
17
|
+
visibility: hidden;
|
|
18
|
+
opacity: 0;
|
|
19
|
+
`}
|
|
20
|
+
`;
|
|
21
|
+
const InfoBoxWrapper = styled.div.withConfig({
|
|
22
|
+
shouldForwardProp: (props) => !["relative"].includes(props)
|
|
23
|
+
})`
|
|
24
|
+
z-index: 1;
|
|
25
|
+
position: absolute;
|
|
26
|
+
top: 0;
|
|
27
|
+
left: 0;
|
|
28
|
+
display: block;
|
|
29
|
+
width: 100%;
|
|
30
|
+
height: 100%;
|
|
31
|
+
font-size: 0;
|
|
32
|
+
|
|
33
|
+
&:after {
|
|
34
|
+
content: '';
|
|
35
|
+
display: inline-block;
|
|
36
|
+
vertical-align: middle;
|
|
37
|
+
width: 0;
|
|
38
|
+
height: 100%;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// concerning merge: relative is added from SUF
|
|
42
|
+
${({ relative }) => relative && `
|
|
43
|
+
position: relative;
|
|
44
|
+
`}
|
|
45
|
+
`;
|
|
46
|
+
const InfoBox = styled.div.withConfig({
|
|
47
|
+
shouldForwardProp: (props) => !["refresh", "failed"].includes(props)
|
|
48
|
+
})`
|
|
49
|
+
display: inline-block;
|
|
50
|
+
vertical-align: middle;
|
|
51
|
+
max-width: 100%;
|
|
52
|
+
|
|
53
|
+
${(props) => props.refresh && `
|
|
54
|
+
color: ${theme.cPrimary};
|
|
55
|
+
`};
|
|
56
|
+
|
|
57
|
+
${(props) => props.failed && `
|
|
58
|
+
color: ${theme.cWarning};
|
|
59
|
+
`};
|
|
60
|
+
`;
|
|
61
|
+
const Loader = styled.div`
|
|
62
|
+
display: inline-block;
|
|
63
|
+
vertical-align: middle;
|
|
64
|
+
width: 40px;
|
|
65
|
+
height: 40px;
|
|
66
|
+
margin: 0 auto;
|
|
67
|
+
margin-right: -40px;
|
|
68
|
+
background-repeat: no-repeat;
|
|
69
|
+
background-position: 50% 50%;
|
|
70
|
+
background-size: cover;
|
|
71
|
+
background-image: url(${loader});
|
|
72
|
+
`;
|
|
73
|
+
const FailedIcon = styled.i.attrs({
|
|
74
|
+
className: "ion ion-ios-close-circle"
|
|
75
|
+
})`
|
|
76
|
+
display: inline-block !important;
|
|
77
|
+
vertical-align: middle;
|
|
78
|
+
width: 40px;
|
|
79
|
+
height: 40px;
|
|
80
|
+
margin-right: -40px;
|
|
81
|
+
|
|
82
|
+
&:before {
|
|
83
|
+
display: block;
|
|
84
|
+
font-size: 48px;
|
|
85
|
+
line-height: 40px;
|
|
86
|
+
text-align: center;
|
|
87
|
+
}
|
|
88
|
+
`;
|
|
89
|
+
const Text = styled.div`
|
|
90
|
+
display: inline-block;
|
|
91
|
+
vertical-align: middle;
|
|
92
|
+
font-weight: 300;
|
|
93
|
+
font-size: 16px;
|
|
94
|
+
line-height: 1.5em;
|
|
95
|
+
letter-spacing: 0.6px;
|
|
96
|
+
padding-left: 60px;
|
|
97
|
+
max-width: 100%;
|
|
98
|
+
|
|
99
|
+
${rwd.XLarge`
|
|
100
|
+
font-size: 20px;
|
|
101
|
+
`}
|
|
102
|
+
`;
|
|
103
|
+
export {
|
|
104
|
+
Address,
|
|
105
|
+
Container,
|
|
106
|
+
FailedIcon,
|
|
107
|
+
InfoBox,
|
|
108
|
+
InfoBoxWrapper,
|
|
109
|
+
Loader,
|
|
110
|
+
Text
|
|
111
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import styled from "styled-components";
|
|
2
|
+
import rwd from "../../styles/rwd.js";
|
|
3
|
+
import { Button } from "../Button/Button.styles.js";
|
|
4
|
+
const DoubleButtons = styled.div.withConfig({
|
|
5
|
+
shouldForwardProp: (props) => !["column"].includes(props)
|
|
6
|
+
})`
|
|
7
|
+
margin: -12px;
|
|
8
|
+
|
|
9
|
+
${Button} {
|
|
10
|
+
width: 100%;
|
|
11
|
+
margin: 12px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
${rwd.Medium`
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: ${({ column }) => column ? "column" : "row"};
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
${Button} {
|
|
20
|
+
width: auto;
|
|
21
|
+
flex: 1;
|
|
22
|
+
}
|
|
23
|
+
`}
|
|
24
|
+
`;
|
|
25
|
+
export {
|
|
26
|
+
DoubleButtons
|
|
27
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
import { Text } from "../Text/Text.styles.js";
|
|
4
|
+
import { useState } from "react";
|
|
5
|
+
import scrollToElement from "scroll-to-element";
|
|
6
|
+
import { FaqItems, FaqItem, FaqTitle, FaqDropdownIcon, FaqContent, FaqText } from "./FAQ.styles.js";
|
|
7
|
+
const FAQ = (props) => {
|
|
8
|
+
const { items, noScroll, scrollRef, modalViewMore, withTextStyling } = props;
|
|
9
|
+
const [activeIndex, setActiveIndex] = useState(null);
|
|
10
|
+
const onTitleClick = (e, index) => {
|
|
11
|
+
e.persist();
|
|
12
|
+
const newActiveIndex = activeIndex === index ? null : index;
|
|
13
|
+
setActiveIndex(newActiveIndex);
|
|
14
|
+
if (!noScroll && newActiveIndex !== null) {
|
|
15
|
+
if (scrollRef?.current) {
|
|
16
|
+
setTimeout(() => {
|
|
17
|
+
scrollRef?.current.scrollToBottom();
|
|
18
|
+
}, 0);
|
|
19
|
+
} else {
|
|
20
|
+
scrollToElement?.(e.target.parentElement, {
|
|
21
|
+
duration: 300,
|
|
22
|
+
offset: 20
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
const textStyling = {
|
|
28
|
+
paddingLeft: "28px",
|
|
29
|
+
fontSize: "12px",
|
|
30
|
+
fontWeight: "300",
|
|
31
|
+
lineHeight: "16px"
|
|
32
|
+
};
|
|
33
|
+
return /* @__PURE__ */ jsx(FaqItems, { children: items.map((item, index) => (
|
|
34
|
+
// eslint-disable-next-line @eslint-react/no-array-index-key
|
|
35
|
+
/* @__PURE__ */ jsxs(FaqItem, { children: [
|
|
36
|
+
/* @__PURE__ */ jsxs(
|
|
37
|
+
FaqTitle,
|
|
38
|
+
{
|
|
39
|
+
isActive: activeIndex === index,
|
|
40
|
+
onClick: (e) => onTitleClick(e, index),
|
|
41
|
+
modalViewMore,
|
|
42
|
+
children: [
|
|
43
|
+
item.title,
|
|
44
|
+
/* @__PURE__ */ jsx(FaqDropdownIcon, {})
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
),
|
|
48
|
+
/* @__PURE__ */ jsx(FaqContent, { isOpened: activeIndex === index, children: !Array.isArray(item.content) ? /* @__PURE__ */ jsx(FaqText, { children: item.content }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
49
|
+
/* @__PURE__ */ jsx("br", {}),
|
|
50
|
+
/* @__PURE__ */ jsx(Text, { style: withTextStyling ? textStyling : {}, children: /* @__PURE__ */ jsx("ul", { children: item.content.map((answer) => /* @__PURE__ */ jsx("li", { children: answer }, answer)) }) })
|
|
51
|
+
] }) })
|
|
52
|
+
] }, index)
|
|
53
|
+
)) });
|
|
54
|
+
};
|
|
55
|
+
FAQ.propTypes = {
|
|
56
|
+
items: PropTypes.arrayOf(
|
|
57
|
+
PropTypes.shape({
|
|
58
|
+
title: PropTypes.node.isRequired,
|
|
59
|
+
content: PropTypes.oneOfType([PropTypes.string, PropTypes.array, PropTypes.node]).isRequired
|
|
60
|
+
})
|
|
61
|
+
).isRequired
|
|
62
|
+
};
|
|
63
|
+
var stdin_default = FAQ;
|
|
64
|
+
export {
|
|
65
|
+
FAQ,
|
|
66
|
+
FaqContent,
|
|
67
|
+
FaqDropdownIcon,
|
|
68
|
+
FaqItem,
|
|
69
|
+
FaqItems,
|
|
70
|
+
FaqText,
|
|
71
|
+
FaqTitle,
|
|
72
|
+
stdin_default as default
|
|
73
|
+
};
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import styled from "styled-components";
|
|
2
|
+
import { Collapse } from "react-collapse";
|
|
3
|
+
import theme from "../../styles/theme.js";
|
|
4
|
+
const FaqItems = styled.div`
|
|
5
|
+
position: relative;
|
|
6
|
+
`;
|
|
7
|
+
const FaqDropdownIcon = styled.i.attrs({
|
|
8
|
+
className: "ion ion-ios-arrow-down"
|
|
9
|
+
})`
|
|
10
|
+
width: 14px;
|
|
11
|
+
height: 20px;
|
|
12
|
+
font-size: 20px;
|
|
13
|
+
position: absolute;
|
|
14
|
+
top: 50%;
|
|
15
|
+
right: 0;
|
|
16
|
+
margin-top: -10px;
|
|
17
|
+
transform: rotate(0);
|
|
18
|
+
transition: 0.3s transform;
|
|
19
|
+
`;
|
|
20
|
+
const FaqItem = styled.div.withConfig({
|
|
21
|
+
shouldForwardProp: (props) => !["center", "customContainerStyle"].includes(props)
|
|
22
|
+
})`
|
|
23
|
+
& + & {
|
|
24
|
+
margin-top: 30px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
${(props) => props.center && `
|
|
28
|
+
text-align:center;
|
|
29
|
+
`}
|
|
30
|
+
|
|
31
|
+
${(props) => props.customContainerStyle}
|
|
32
|
+
`;
|
|
33
|
+
const FaqTitle = styled.button.withConfig({
|
|
34
|
+
shouldForwardProp: (props) => !["uppercase", "white", "center", "hideIcon", "isActive", "modalViewMore"].includes(props)
|
|
35
|
+
})`
|
|
36
|
+
display: block;
|
|
37
|
+
width: 100%;
|
|
38
|
+
position: relative;
|
|
39
|
+
font-family: 'Open Sans';
|
|
40
|
+
font-weight: 600;
|
|
41
|
+
font-size: 16px;
|
|
42
|
+
line-height: 24px;
|
|
43
|
+
letter-spacing: 0.4px;
|
|
44
|
+
color: ${() => theme.cBlack};
|
|
45
|
+
padding: 0;
|
|
46
|
+
margin: 0;
|
|
47
|
+
outline: 0;
|
|
48
|
+
border: none;
|
|
49
|
+
padding-right: 30px;
|
|
50
|
+
text-align: left;
|
|
51
|
+
transition: color 0.2s;
|
|
52
|
+
background: none;
|
|
53
|
+
|
|
54
|
+
&:hover {
|
|
55
|
+
color: inherit;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
${(props) => props.uppercase && `
|
|
59
|
+
text-transform:uppercase;
|
|
60
|
+
font-weight:700;
|
|
61
|
+
letter-spacing: 0.6px;
|
|
62
|
+
`}
|
|
63
|
+
|
|
64
|
+
${({ white }) => white && `
|
|
65
|
+
color:white;
|
|
66
|
+
`}
|
|
67
|
+
|
|
68
|
+
${({ center }) => center && `
|
|
69
|
+
text-align:center;
|
|
70
|
+
`}
|
|
71
|
+
|
|
72
|
+
${({ hideIcon }) => hideIcon && `
|
|
73
|
+
padding-right:0;
|
|
74
|
+
`}
|
|
75
|
+
|
|
76
|
+
${(props) => props.isActive && `
|
|
77
|
+
${FaqDropdownIcon} {
|
|
78
|
+
transform: rotate(180deg);
|
|
79
|
+
}
|
|
80
|
+
`}
|
|
81
|
+
|
|
82
|
+
${(props) => props.modalViewMore && `
|
|
83
|
+
font-size: 12px;
|
|
84
|
+
font-weight: 300;
|
|
85
|
+
line-height: 16px;
|
|
86
|
+
padding-left: 28px;
|
|
87
|
+
cursor: pointer;
|
|
88
|
+
text-decoration: underline;
|
|
89
|
+
|
|
90
|
+
&:hover {
|
|
91
|
+
color: initial;
|
|
92
|
+
}
|
|
93
|
+
`}
|
|
94
|
+
`;
|
|
95
|
+
const FaqContent = styled(Collapse).withConfig({
|
|
96
|
+
shouldForwardProp: (props) => !["largeSpacing"].includes(props)
|
|
97
|
+
})`
|
|
98
|
+
opacity: 0;
|
|
99
|
+
transition: opacity 0.2s;
|
|
100
|
+
|
|
101
|
+
${(props) => props.isOpened && `
|
|
102
|
+
opacity: 1;
|
|
103
|
+
`}
|
|
104
|
+
`;
|
|
105
|
+
const FaqText = styled.div.withConfig({
|
|
106
|
+
shouldForwardProp: (props) => !["largeSpacing"].includes(props)
|
|
107
|
+
})`
|
|
108
|
+
padding: 0;
|
|
109
|
+
padding-top: 30px;
|
|
110
|
+
padding-bottom: 10px;
|
|
111
|
+
font-weight: 300;
|
|
112
|
+
font-size: 16px;
|
|
113
|
+
line-height: 24px;
|
|
114
|
+
letter-spacing: 0.4px;
|
|
115
|
+
|
|
116
|
+
${(props) => props.largeSpacing && `
|
|
117
|
+
padding-bottom: 30px;
|
|
118
|
+
|
|
119
|
+
`}
|
|
120
|
+
`;
|
|
121
|
+
export {
|
|
122
|
+
FaqContent,
|
|
123
|
+
FaqDropdownIcon,
|
|
124
|
+
FaqItem,
|
|
125
|
+
FaqItems,
|
|
126
|
+
FaqText,
|
|
127
|
+
FaqTitle
|
|
128
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
import "react";
|
|
4
|
+
import { Wrapper } from "../Grid/Grid.styles.js";
|
|
5
|
+
import { StyledFooter, FooterInner, PartnerWrap, Partner, LogoWrap, PoweredWrap, Copyright } from "./Footer.styles.js";
|
|
6
|
+
import MangoPayLogo from "../../static/images/mangopay.svg.js";
|
|
7
|
+
const Footer = ({ color = "primary", hasSidebar = false, isSidebarExpanded }) => /* @__PURE__ */ jsx(StyledFooter, { color, isSidebarExpanded, hasSidebar, children: /* @__PURE__ */ jsx(Wrapper, { children: /* @__PURE__ */ jsxs(FooterInner, { hasSidebar, children: [
|
|
8
|
+
/* @__PURE__ */ jsx(PartnerWrap, { children: /* @__PURE__ */ jsxs(Partner, { children: [
|
|
9
|
+
"STOKR is a virtual asset service provider (VASP), ",
|
|
10
|
+
/* @__PURE__ */ jsx("br", {}),
|
|
11
|
+
" ",
|
|
12
|
+
/* @__PURE__ */ jsx(
|
|
13
|
+
"a",
|
|
14
|
+
{
|
|
15
|
+
href: "https://searchentities.apps.cssf.lu/search-entities/search?&st=advanced&entType=VAP&entDate=2020-08-01",
|
|
16
|
+
title: "registered",
|
|
17
|
+
target: "_blank",
|
|
18
|
+
rel: "noopener noreferrer",
|
|
19
|
+
style: { textDecoration: "underline", color: "white" },
|
|
20
|
+
children: "registered"
|
|
21
|
+
}
|
|
22
|
+
),
|
|
23
|
+
" ",
|
|
24
|
+
"with the Luxembourg regulator CSSF."
|
|
25
|
+
] }) }),
|
|
26
|
+
/* @__PURE__ */ jsx(LogoWrap, { children: /* @__PURE__ */ jsx(
|
|
27
|
+
"img",
|
|
28
|
+
{
|
|
29
|
+
style: {
|
|
30
|
+
verticalAlign: "middle",
|
|
31
|
+
minWidth: 44,
|
|
32
|
+
maxWidth: 120
|
|
33
|
+
},
|
|
34
|
+
loading: "lazy",
|
|
35
|
+
src: MangoPayLogo,
|
|
36
|
+
alt: "Mangopay logo"
|
|
37
|
+
}
|
|
38
|
+
) }),
|
|
39
|
+
/* @__PURE__ */ jsx(PoweredWrap, { children: /* @__PURE__ */ jsxs(Copyright, { children: [
|
|
40
|
+
"Copyright ",
|
|
41
|
+
(/* @__PURE__ */ new Date()).getFullYear(),
|
|
42
|
+
" STOKR. All rights reserved."
|
|
43
|
+
] }) })
|
|
44
|
+
] }) }) });
|
|
45
|
+
Footer.propTypes = {
|
|
46
|
+
color: PropTypes.oneOf(["primary", "red"]),
|
|
47
|
+
lemonwayLogo: PropTypes.string,
|
|
48
|
+
hasSidebar: PropTypes.bool,
|
|
49
|
+
isSidebarExpanded: PropTypes.bool
|
|
50
|
+
};
|
|
51
|
+
var stdin_default = Footer;
|
|
52
|
+
export {
|
|
53
|
+
Footer,
|
|
54
|
+
stdin_default as default
|
|
55
|
+
};
|