@stokr/components-library 3.0.16 → 3.0.17
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 +187 -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/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 +89 -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 +224 -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/index.js +628 -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/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 +56 -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 +146 -146
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import React__default, { Component } from "react";
|
|
3
|
+
import PropTypes from "prop-types";
|
|
4
|
+
const StepControllerContext = React__default.createContext();
|
|
5
|
+
class StepControllerProvider extends Component {
|
|
6
|
+
state = {
|
|
7
|
+
currentStep: "",
|
|
8
|
+
prevStep: "",
|
|
9
|
+
prevStepIndex: null,
|
|
10
|
+
activeStepIndex: 0,
|
|
11
|
+
doneStepsIndexes: [],
|
|
12
|
+
touchedStepsIndexes: []
|
|
13
|
+
};
|
|
14
|
+
changeStep = (stepName, activeStep = null, doneStep = null) => {
|
|
15
|
+
const { activeStepIndex, doneStepsIndexes, touchedStepsIndexes } = this.state;
|
|
16
|
+
const nextActiveStep = activeStep === null ? activeStepIndex : activeStep;
|
|
17
|
+
const nextDoneStepIndexes = doneStepsIndexes.slice();
|
|
18
|
+
const nextTouchedStepsIndexes = touchedStepsIndexes.slice();
|
|
19
|
+
let emptyDoneStep;
|
|
20
|
+
if (doneStep !== null && !nextDoneStepIndexes.includes(doneStep)) {
|
|
21
|
+
nextDoneStepIndexes.push(doneStep);
|
|
22
|
+
}
|
|
23
|
+
if (!nextTouchedStepsIndexes.includes(nextActiveStep)) {
|
|
24
|
+
nextTouchedStepsIndexes.push(nextActiveStep);
|
|
25
|
+
}
|
|
26
|
+
if (Array.isArray(doneStep) && doneStep.length === 0) {
|
|
27
|
+
emptyDoneStep = [];
|
|
28
|
+
}
|
|
29
|
+
this.setState(() => ({
|
|
30
|
+
currentStep: stepName,
|
|
31
|
+
activeStepIndex: nextActiveStep,
|
|
32
|
+
doneStepsIndexes: emptyDoneStep || nextDoneStepIndexes,
|
|
33
|
+
touchedStepsIndexes: nextTouchedStepsIndexes
|
|
34
|
+
}));
|
|
35
|
+
};
|
|
36
|
+
setPrevStep = (prevStep, prevStepIndex = null) => {
|
|
37
|
+
this.setState({
|
|
38
|
+
prevStep,
|
|
39
|
+
prevStepIndex
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
render() {
|
|
43
|
+
const { children } = this.props;
|
|
44
|
+
return /* @__PURE__ */ jsx(
|
|
45
|
+
StepControllerContext.Provider,
|
|
46
|
+
{
|
|
47
|
+
value: {
|
|
48
|
+
...this.state,
|
|
49
|
+
changeStep: this.changeStep,
|
|
50
|
+
setPrevStep: this.setPrevStep
|
|
51
|
+
},
|
|
52
|
+
children
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
StepControllerProvider.propTypes = {
|
|
58
|
+
children: PropTypes.node.isRequired
|
|
59
|
+
};
|
|
60
|
+
const StepControllerConsumer = StepControllerContext.Consumer;
|
|
61
|
+
export {
|
|
62
|
+
StepControllerConsumer,
|
|
63
|
+
StepControllerContext,
|
|
64
|
+
StepControllerProvider
|
|
65
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import PropTypes from "prop-types";
|
|
4
|
+
import { Container, Wrap, Items, Item } from "../StepsProgress/StepsProgress.styles.js";
|
|
5
|
+
const StepControllerProgress = ({
|
|
6
|
+
touchedStepsIndexes,
|
|
7
|
+
doneStepsIndexes,
|
|
8
|
+
activeStepIndex,
|
|
9
|
+
stepsProgressList
|
|
10
|
+
}) => {
|
|
11
|
+
const handleItemClick = (item, key) => {
|
|
12
|
+
if (touchedStepsIndexes.includes(key)) {
|
|
13
|
+
item.handleClick(item.id);
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
const timestamp = (/* @__PURE__ */ new Date()).getTime();
|
|
17
|
+
return /* @__PURE__ */ jsx(Container, { children: /* @__PURE__ */ jsx(Wrap, { children: /* @__PURE__ */ jsx(Items, { children: stepsProgressList.map((item, key) => /* @__PURE__ */ jsx(
|
|
18
|
+
Item,
|
|
19
|
+
{
|
|
20
|
+
isDone: doneStepsIndexes.includes(key),
|
|
21
|
+
isActive: key === activeStepIndex,
|
|
22
|
+
onClick: () => handleItemClick(item, key)
|
|
23
|
+
},
|
|
24
|
+
`${timestamp}-${key.toString()}`
|
|
25
|
+
)) }) }) });
|
|
26
|
+
};
|
|
27
|
+
StepControllerProgress.propTypes = {
|
|
28
|
+
touchedStepsIndexes: PropTypes.arrayOf(PropTypes.number).isRequired,
|
|
29
|
+
doneStepsIndexes: PropTypes.arrayOf(PropTypes.number).isRequired,
|
|
30
|
+
activeStepIndex: PropTypes.number.isRequired,
|
|
31
|
+
stepsProgressList: PropTypes.instanceOf(Array).isRequired
|
|
32
|
+
};
|
|
33
|
+
var stdin_default = StepControllerProgress;
|
|
34
|
+
export {
|
|
35
|
+
StepControllerProgress,
|
|
36
|
+
stdin_default as default
|
|
37
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import React__default from "react";
|
|
3
|
+
import PropTypes from "prop-types";
|
|
4
|
+
import { StepIndicatorContainer, StepItem, StepCircle, StepLabel, StepConnector } from "./StepIndicator.styles.js";
|
|
5
|
+
import SvgCheckIcon from "../../static/images/check-icon.svg.js";
|
|
6
|
+
const StepIndicator = ({ steps, currentStep, onStepClick = null, showLabels = true, marginBottom = "32px" }) => {
|
|
7
|
+
return /* @__PURE__ */ jsx(StepIndicatorContainer, { marginBottom, children: steps.map((step, index) => {
|
|
8
|
+
const isCompleted = index < currentStep;
|
|
9
|
+
const isActive = index === currentStep;
|
|
10
|
+
return /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
|
|
11
|
+
/* @__PURE__ */ jsxs(
|
|
12
|
+
StepItem,
|
|
13
|
+
{
|
|
14
|
+
onClick: () => onStepClick && onStepClick(index),
|
|
15
|
+
style: { cursor: onStepClick ? "pointer" : "default" },
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ jsx(StepCircle, { isCompleted, isActive, children: isCompleted ? /* @__PURE__ */ jsx(SvgCheckIcon, { width: 14, height: 11 }) : index + 1 }),
|
|
18
|
+
showLabels && /* @__PURE__ */ jsx(StepLabel, { children: step.label })
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
),
|
|
22
|
+
index < steps.length - 1 && /* @__PURE__ */ jsx(StepConnector, { isCompleted })
|
|
23
|
+
] }, step.id);
|
|
24
|
+
}) });
|
|
25
|
+
};
|
|
26
|
+
StepIndicator.propTypes = {
|
|
27
|
+
steps: PropTypes.arrayOf(
|
|
28
|
+
PropTypes.shape({
|
|
29
|
+
id: PropTypes.string.isRequired,
|
|
30
|
+
label: PropTypes.string.isRequired
|
|
31
|
+
})
|
|
32
|
+
).isRequired,
|
|
33
|
+
currentStep: PropTypes.number.isRequired,
|
|
34
|
+
onStepClick: PropTypes.func,
|
|
35
|
+
showLabels: PropTypes.bool,
|
|
36
|
+
marginBottom: PropTypes.string
|
|
37
|
+
};
|
|
38
|
+
export {
|
|
39
|
+
StepIndicator
|
|
40
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import styled, { css } from "styled-components";
|
|
2
|
+
import { colors } from "../../styles/colors.js";
|
|
3
|
+
const StepIndicatorContainer = styled.div.withConfig({
|
|
4
|
+
shouldForwardProp: (props) => !["marginBottom"].includes(props)
|
|
5
|
+
})`
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
gap: 16px;
|
|
9
|
+
margin-bottom: ${(props) => props.marginBottom || "32px"};
|
|
10
|
+
`;
|
|
11
|
+
const StepItem = styled.div`
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
gap: 12px;
|
|
15
|
+
`;
|
|
16
|
+
const StepCircle = styled.div.withConfig({
|
|
17
|
+
shouldForwardProp: (props) => !["isCompleted", "isActive"].includes(props)
|
|
18
|
+
})`
|
|
19
|
+
width: 32px;
|
|
20
|
+
height: 32px;
|
|
21
|
+
border-radius: 50%;
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
font-size: 16px;
|
|
26
|
+
font-weight: 600;
|
|
27
|
+
transition: all 0.2s ease;
|
|
28
|
+
|
|
29
|
+
${(props) => props.isCompleted && css`
|
|
30
|
+
background-color: ${colors.progressGreen};
|
|
31
|
+
color: ${colors.white};
|
|
32
|
+
|
|
33
|
+
svg path {
|
|
34
|
+
stroke: ${colors.white};
|
|
35
|
+
}
|
|
36
|
+
`}
|
|
37
|
+
|
|
38
|
+
${(props) => props.isActive && !props.isCompleted && css`
|
|
39
|
+
background-color: ${colors.black};
|
|
40
|
+
color: ${colors.white};
|
|
41
|
+
`}
|
|
42
|
+
|
|
43
|
+
${(props) => !props.isActive && !props.isCompleted && css`
|
|
44
|
+
background-color: ${colors.grey};
|
|
45
|
+
color: ${colors.black};
|
|
46
|
+
`}
|
|
47
|
+
`;
|
|
48
|
+
const StepLabel = styled.span`
|
|
49
|
+
font-size: 16px;
|
|
50
|
+
font-weight: 600;
|
|
51
|
+
line-height: 24px;
|
|
52
|
+
letter-spacing: 0.6px;
|
|
53
|
+
word-wrap: break-word;
|
|
54
|
+
`;
|
|
55
|
+
const StepConnector = styled.div.withConfig({
|
|
56
|
+
shouldForwardProp: (props) => !["isCompleted"].includes(props)
|
|
57
|
+
})`
|
|
58
|
+
flex: 1;
|
|
59
|
+
height: 2px;
|
|
60
|
+
max-width: 80px;
|
|
61
|
+
background-color: ${(props) => props.isCompleted ? colors.progressGreen : colors.grey};
|
|
62
|
+
`;
|
|
63
|
+
export {
|
|
64
|
+
StepCircle,
|
|
65
|
+
StepConnector,
|
|
66
|
+
StepIndicatorContainer,
|
|
67
|
+
StepItem,
|
|
68
|
+
StepLabel
|
|
69
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { useNavigate } from "react-router-dom";
|
|
4
|
+
import { Container, Wrap, Items, Item } from "./StepsProgress.styles.js";
|
|
5
|
+
import { walletTypes } from "../../constants/globalVariables.js";
|
|
6
|
+
const StepsProgressSignup = (props) => {
|
|
7
|
+
let navigate = useNavigate();
|
|
8
|
+
const { user = {} } = props;
|
|
9
|
+
const { country, kyc_status, taxId, wallets = [] } = user;
|
|
10
|
+
const KYCNotDone = !kyc_status || kyc_status === "Reaply" || kyc_status === "Cancelled" || kyc_status === "Draft";
|
|
11
|
+
const hasLiquidWallet = wallets?.filter((wallet) => wallet.type === walletTypes.LIQUID).length > 0;
|
|
12
|
+
const isActiveStep = (path) => window.location.pathname.includes(path);
|
|
13
|
+
const items = [
|
|
14
|
+
{
|
|
15
|
+
id: "country",
|
|
16
|
+
handleClick: () => navigate("/country-of-residence"),
|
|
17
|
+
isDone: !!country,
|
|
18
|
+
isActive: isActiveStep("/country-of-residence")
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
id: "verify",
|
|
22
|
+
handleClick: () => navigate("/verify-identity"),
|
|
23
|
+
isDone: !KYCNotDone,
|
|
24
|
+
isActive: isActiveStep("/verify-identity")
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
id: "taxId",
|
|
28
|
+
handleClick: () => navigate("/taxid"),
|
|
29
|
+
isDone: !!taxId,
|
|
30
|
+
isActive: isActiveStep("/taxid")
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
id: "ampID",
|
|
34
|
+
handleClick: () => navigate("/register-liquid-securities"),
|
|
35
|
+
isDone: hasLiquidWallet,
|
|
36
|
+
isActive: isActiveStep("/register-liquid-securities")
|
|
37
|
+
}
|
|
38
|
+
];
|
|
39
|
+
return /* @__PURE__ */ jsx(Container, { children: /* @__PURE__ */ jsx(Wrap, { children: /* @__PURE__ */ jsx(Items, { children: items.map((item) => /* @__PURE__ */ jsx(
|
|
40
|
+
Item,
|
|
41
|
+
{
|
|
42
|
+
isDone: item.isDone,
|
|
43
|
+
isActive: item.isActive,
|
|
44
|
+
onClick: () => {
|
|
45
|
+
if (item.handleClick) {
|
|
46
|
+
item.handleClick(item.id);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
item.id
|
|
51
|
+
)) }) }) });
|
|
52
|
+
};
|
|
53
|
+
const StepsProgressHeader = ({ items, doneIndex, activeIndex }) => /* @__PURE__ */ jsx(Container, { children: /* @__PURE__ */ jsx(Wrap, { children: /* @__PURE__ */ jsx(Items, { children: items?.map((item, key) => /* @__PURE__ */ jsx(
|
|
54
|
+
Item,
|
|
55
|
+
{
|
|
56
|
+
isDone: key <= doneIndex,
|
|
57
|
+
isActive: key === activeIndex,
|
|
58
|
+
onClick: () => {
|
|
59
|
+
item.handleClick?.(item.id);
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
item.id
|
|
63
|
+
)) }) }) });
|
|
64
|
+
export {
|
|
65
|
+
StepsProgressHeader,
|
|
66
|
+
StepsProgressSignup
|
|
67
|
+
};
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import styled from "styled-components";
|
|
2
|
+
import rwd from "../../styles/rwd.js";
|
|
3
|
+
import { colors } from "../../styles/colors.js";
|
|
4
|
+
const Container = styled.div`
|
|
5
|
+
display: block;
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: 100%;
|
|
8
|
+
`;
|
|
9
|
+
const Wrap = styled.div`
|
|
10
|
+
display: block;
|
|
11
|
+
margin: 0 auto;
|
|
12
|
+
`;
|
|
13
|
+
const Items = styled.div`
|
|
14
|
+
display: flex;
|
|
15
|
+
height: 100%;
|
|
16
|
+
font-size: 0;
|
|
17
|
+
flex-direction: row;
|
|
18
|
+
flex-wrap: nowrap;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
margin: 0 -6px;
|
|
21
|
+
text-align: center;
|
|
22
|
+
|
|
23
|
+
${rwd.Medium`
|
|
24
|
+
display: block;
|
|
25
|
+
`}
|
|
26
|
+
`;
|
|
27
|
+
const Item = styled.div.withConfig({
|
|
28
|
+
shouldForwardProp: (props) => !["isDone", "isActive"].includes(props)
|
|
29
|
+
})`
|
|
30
|
+
position: relative;
|
|
31
|
+
display: inline-block;
|
|
32
|
+
vertical-align: middle;
|
|
33
|
+
padding: 0;
|
|
34
|
+
flex: 1;
|
|
35
|
+
margin: 0 4px;
|
|
36
|
+
height: 32px;
|
|
37
|
+
max-width: 32px;
|
|
38
|
+
cursor: pointer;
|
|
39
|
+
|
|
40
|
+
&:before {
|
|
41
|
+
z-index: 0;
|
|
42
|
+
content: '';
|
|
43
|
+
display: block;
|
|
44
|
+
width: 100%;
|
|
45
|
+
height: 4px;
|
|
46
|
+
position: absolute;
|
|
47
|
+
top: 14px;
|
|
48
|
+
left: 0;
|
|
49
|
+
border-radius: 3px;
|
|
50
|
+
box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.05);
|
|
51
|
+
background-color: ${colors.lightGrey};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&:after {
|
|
55
|
+
z-index: 1;
|
|
56
|
+
content: '';
|
|
57
|
+
display: block;
|
|
58
|
+
width: 100%;
|
|
59
|
+
height: 4px;
|
|
60
|
+
position: absolute;
|
|
61
|
+
top: 14px;
|
|
62
|
+
left: 0;
|
|
63
|
+
border-radius: 3px;
|
|
64
|
+
background-color: transparent;
|
|
65
|
+
transition: background-color 0.2s;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&:focus {
|
|
69
|
+
outline: none;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&:hover:after {
|
|
73
|
+
background-color: ${colors.black};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
${(props) => props.isDone && `
|
|
77
|
+
&:after {
|
|
78
|
+
background-color: ${colors.progressGreen};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&:hover:after {
|
|
82
|
+
background-color: ${colors.black};
|
|
83
|
+
}
|
|
84
|
+
`}
|
|
85
|
+
|
|
86
|
+
${(props) => props.isActive && `
|
|
87
|
+
&:after {
|
|
88
|
+
background-color: ${colors.grey2};
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&:hover:after {
|
|
92
|
+
background-color: ${colors.black};
|
|
93
|
+
}
|
|
94
|
+
`}
|
|
95
|
+
|
|
96
|
+
${rwd.Medium`
|
|
97
|
+
width: 32px;
|
|
98
|
+
`}
|
|
99
|
+
`;
|
|
100
|
+
export {
|
|
101
|
+
Container,
|
|
102
|
+
Item,
|
|
103
|
+
Items,
|
|
104
|
+
Wrap
|
|
105
|
+
};
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import styled, { keyframes } from "styled-components";
|
|
4
|
+
import media from "./media.js";
|
|
5
|
+
const loaderGif = `https://res.cloudinary.com/stokr/image/upload/f_auto,q_auto/v1575035788/Static/stokr_loader_white_400x400_egnhgb.gif?a=${Math.random()}`;
|
|
6
|
+
const CenterFullWidth = styled.div`
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100%;
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
`;
|
|
13
|
+
const fadeIn = keyframes`
|
|
14
|
+
0% {
|
|
15
|
+
opacity: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
60% {
|
|
19
|
+
opacity: 1;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
100% {
|
|
23
|
+
opacity: 1;
|
|
24
|
+
}
|
|
25
|
+
`;
|
|
26
|
+
const StyledStokrLoader = styled.div.withConfig({
|
|
27
|
+
shouldForwardProp: (props) => !["noFullscreen"].includes(props)
|
|
28
|
+
})`
|
|
29
|
+
align-items: center;
|
|
30
|
+
animation: ${fadeIn} 1.8s ease-in-out forwards;
|
|
31
|
+
background: rgb(254, 254, 254);
|
|
32
|
+
display: flex;
|
|
33
|
+
height: 100vh;
|
|
34
|
+
justify-content: center;
|
|
35
|
+
left: 0;
|
|
36
|
+
position: fixed;
|
|
37
|
+
top: 0;
|
|
38
|
+
width: 100vw;
|
|
39
|
+
z-index: 1000;
|
|
40
|
+
|
|
41
|
+
${({ noFullscreen }) => noFullscreen && `
|
|
42
|
+
height: calc(100vh - 97px);
|
|
43
|
+
bottom: 0;
|
|
44
|
+
top: unset;
|
|
45
|
+
`}
|
|
46
|
+
|
|
47
|
+
${media.mobileS`
|
|
48
|
+
img {
|
|
49
|
+
height: 15rem;
|
|
50
|
+
width: 15rem;
|
|
51
|
+
}
|
|
52
|
+
`};
|
|
53
|
+
|
|
54
|
+
${media.mobile`
|
|
55
|
+
img {
|
|
56
|
+
height: 18rem;
|
|
57
|
+
width: 18rem;
|
|
58
|
+
}
|
|
59
|
+
`};
|
|
60
|
+
|
|
61
|
+
${media.tablet`
|
|
62
|
+
img {
|
|
63
|
+
height: 30rem;
|
|
64
|
+
width: 30rem;
|
|
65
|
+
}
|
|
66
|
+
`};
|
|
67
|
+
`;
|
|
68
|
+
function StokrLoader() {
|
|
69
|
+
return /* @__PURE__ */ jsx(StyledStokrLoader, { children: /* @__PURE__ */ jsx("img", { src: loaderGif, alt: " " }) });
|
|
70
|
+
}
|
|
71
|
+
const StokrLoaderBox = ({ noFullscreen }) => {
|
|
72
|
+
return /* @__PURE__ */ jsx(CenterFullWidth, { noFullscreen, children: /* @__PURE__ */ jsx("img", { src: loaderGif, alt: " " }) });
|
|
73
|
+
};
|
|
74
|
+
const fadeInOut = keyframes`
|
|
75
|
+
50% {
|
|
76
|
+
color: transparent;
|
|
77
|
+
}
|
|
78
|
+
`;
|
|
79
|
+
const AnimatedSpan = styled.div.withConfig({
|
|
80
|
+
shouldForwardProp: (props) => !["fontSize"].includes(props)
|
|
81
|
+
})`
|
|
82
|
+
margin: 0;
|
|
83
|
+
display: inline-block;
|
|
84
|
+
|
|
85
|
+
span {
|
|
86
|
+
animation: ${fadeInOut} 1s infinite;
|
|
87
|
+
font-size: ${(props) => props.fontSize || 20}px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
span[data-order='1'] {
|
|
91
|
+
animation-delay: 250ms;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
span[data-order='2'] {
|
|
95
|
+
animation-delay: 500ms;
|
|
96
|
+
}
|
|
97
|
+
`;
|
|
98
|
+
const LoadingDots = (props) => {
|
|
99
|
+
return /* @__PURE__ */ jsxs(AnimatedSpan, { ...props, children: [
|
|
100
|
+
/* @__PURE__ */ jsx("span", { "data-order": "0", children: "." }),
|
|
101
|
+
/* @__PURE__ */ jsx("span", { "data-order": "1", children: "." }),
|
|
102
|
+
/* @__PURE__ */ jsx("span", { "data-order": "2", children: "." })
|
|
103
|
+
] });
|
|
104
|
+
};
|
|
105
|
+
export {
|
|
106
|
+
AnimatedSpan,
|
|
107
|
+
LoadingDots,
|
|
108
|
+
StokrLoader,
|
|
109
|
+
StokrLoaderBox,
|
|
110
|
+
loaderGif
|
|
111
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { css } from "styled-components";
|
|
2
|
+
const sizes = {
|
|
3
|
+
widescreen: 1920,
|
|
4
|
+
default: 1440,
|
|
5
|
+
large: 1200,
|
|
6
|
+
desktop: 992,
|
|
7
|
+
tablet: 768,
|
|
8
|
+
mobile: 375,
|
|
9
|
+
mobileS: 320
|
|
10
|
+
};
|
|
11
|
+
const media = Object.keys(sizes).reduce((accumulator, label) => {
|
|
12
|
+
const emSize = sizes[label] / 16;
|
|
13
|
+
accumulator[label] = (...args) => css`
|
|
14
|
+
@media (min-width: ${emSize}em) {
|
|
15
|
+
${css(...args)};
|
|
16
|
+
}
|
|
17
|
+
`;
|
|
18
|
+
return accumulator;
|
|
19
|
+
}, {});
|
|
20
|
+
export {
|
|
21
|
+
media as default,
|
|
22
|
+
sizes
|
|
23
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
const AdminBadgeSvg = () => /* @__PURE__ */ jsx(
|
|
4
|
+
"svg",
|
|
5
|
+
{
|
|
6
|
+
version: "1.1",
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
viewBox: "0 0 15.475 19.243",
|
|
9
|
+
width: "15.475",
|
|
10
|
+
height: "19.243",
|
|
11
|
+
style: {
|
|
12
|
+
width: "16px",
|
|
13
|
+
height: "20px"
|
|
14
|
+
},
|
|
15
|
+
children: /* @__PURE__ */ jsx(
|
|
16
|
+
"path",
|
|
17
|
+
{
|
|
18
|
+
transform: "translate(-27 -21.8)",
|
|
19
|
+
d: "M34.737,21.8A12.061,12.061,0,0,1,27,24.895V35.021a10.318,10.318,0,0,0,6.627,5.719l1.11.3,1.11-.336a10.139,10.139,0,0,0,6.627-5.719V24.895A12.242,12.242,0,0,1,34.737,21.8Zm2.489,13.288-2.489-1.312-2.489,1.312.471-2.792L30.7,30.311l2.792-.4,1.245-2.523,1.245,2.523,2.792.4L36.756,32.3Z"
|
|
20
|
+
}
|
|
21
|
+
)
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
var stdin_default = AdminBadgeSvg;
|
|
25
|
+
export {
|
|
26
|
+
stdin_default as default
|
|
27
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
const CameraSvg = () => /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "52", height: "52", children: /* @__PURE__ */ jsxs("g", { "data-name": "Group 5", children: [
|
|
4
|
+
/* @__PURE__ */ jsx(
|
|
5
|
+
"path",
|
|
6
|
+
{
|
|
7
|
+
"data-name": "Stroke 1",
|
|
8
|
+
d: "M50 26A24 24 0 1 1 26 2a24 24 0 0 1 24 24z",
|
|
9
|
+
fill: "none",
|
|
10
|
+
stroke: "#9b9b9b",
|
|
11
|
+
strokeMiterlimit: "10",
|
|
12
|
+
strokeWidth: "4"
|
|
13
|
+
}
|
|
14
|
+
),
|
|
15
|
+
/* @__PURE__ */ jsx(
|
|
16
|
+
"path",
|
|
17
|
+
{
|
|
18
|
+
"data-name": "Stroke 3",
|
|
19
|
+
d: "M35 26a9 9 0 1 1-9-9 9 9 0 0 1 9 9z",
|
|
20
|
+
fill: "none",
|
|
21
|
+
stroke: "#9b9b9b",
|
|
22
|
+
strokeMiterlimit: "10",
|
|
23
|
+
strokeWidth: "4"
|
|
24
|
+
}
|
|
25
|
+
),
|
|
26
|
+
/* @__PURE__ */ jsx("path", { fill: "#fff", d: "M14 12h12v13H14z" })
|
|
27
|
+
] }) });
|
|
28
|
+
var stdin_default = CameraSvg;
|
|
29
|
+
export {
|
|
30
|
+
stdin_default as default
|
|
31
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
const CapsLockSvg = () => /* @__PURE__ */ jsx(
|
|
4
|
+
"svg",
|
|
5
|
+
{
|
|
6
|
+
version: "1.1",
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: "6.843",
|
|
9
|
+
height: "8.904",
|
|
10
|
+
viewBox: "0 0 6.843 8.904",
|
|
11
|
+
style: {
|
|
12
|
+
width: "7px",
|
|
13
|
+
height: "9px"
|
|
14
|
+
},
|
|
15
|
+
children: /* @__PURE__ */ jsxs("g", { transform: "translate(-.081 -.087)", children: [
|
|
16
|
+
/* @__PURE__ */ jsx(
|
|
17
|
+
"path",
|
|
18
|
+
{
|
|
19
|
+
transform: "translate(1.778 7.699)",
|
|
20
|
+
d: "M3.159,0H.286A.288.288,0,0,0,0,.276v.74a.289.289,0,0,0,.286.276H3.159a.288.288,0,0,0,.286-.276V.276A.288.288,0,0,0,3.159,0Z"
|
|
21
|
+
}
|
|
22
|
+
),
|
|
23
|
+
/* @__PURE__ */ jsx(
|
|
24
|
+
"path",
|
|
25
|
+
{
|
|
26
|
+
transform: "translate(.081 .087)",
|
|
27
|
+
d: "M6.79,3.549,3.649.1a.315.315,0,0,0-.461,0L.048,3.549a.221.221,0,0,0,.175.356H1.7V6.222a.289.289,0,0,0,.286.276H4.855a.288.288,0,0,0,.286-.276V3.905H6.615A.216.216,0,0,0,6.79,3.549Z"
|
|
28
|
+
}
|
|
29
|
+
)
|
|
30
|
+
] })
|
|
31
|
+
}
|
|
32
|
+
);
|
|
33
|
+
var stdin_default = CapsLockSvg;
|
|
34
|
+
export {
|
|
35
|
+
stdin_default as default
|
|
36
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
const DocumentBackSvg = () => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "102.307", height: "62.607", children: [
|
|
4
|
+
/* @__PURE__ */ jsxs("g", { "data-name": "Card Illustration", fill: "none", stroke: "#9b9b9b", strokeMiterlimit: "10", strokeWidth: "3", children: [
|
|
5
|
+
/* @__PURE__ */ jsx(
|
|
6
|
+
"path",
|
|
7
|
+
{
|
|
8
|
+
"data-name": "Stroke 7",
|
|
9
|
+
d: "M89.346 61.107H12.074A10.547 10.547 0 0 1 1.5 50.589V12.018A10.547 10.547 0 0 1 12.074 1.5h77.272a10.547 10.547 0 0 1 10.575 10.518v38.571a10.547 10.547 0 0 1-10.575 10.518z"
|
|
10
|
+
}
|
|
11
|
+
),
|
|
12
|
+
/* @__PURE__ */ jsx("path", { "data-name": "Stroke 13", d: "M10.51 42.74h77.628" }),
|
|
13
|
+
/* @__PURE__ */ jsx("path", { "data-name": "Stroke 15", d: "M10.51 49.671h77.628" })
|
|
14
|
+
] }),
|
|
15
|
+
/* @__PURE__ */ jsx("path", { fill: "#fff", d: "M96.762 13.976h5.545v13.169h-5.545z" })
|
|
16
|
+
] });
|
|
17
|
+
var stdin_default = DocumentBackSvg;
|
|
18
|
+
export {
|
|
19
|
+
stdin_default as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
const DocumentSmallSvg = () => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "102.307", height: "62.607", children: [
|
|
4
|
+
/* @__PURE__ */ jsxs("g", { "data-name": "Card Illustration", stroke: "#9b9b9b", strokeMiterlimit: "10", strokeWidth: "3", children: [
|
|
5
|
+
/* @__PURE__ */ jsx(
|
|
6
|
+
"path",
|
|
7
|
+
{
|
|
8
|
+
"data-name": "Stroke 7",
|
|
9
|
+
d: "M89.346 61.107H12.074A10.547 10.547 0 0 1 1.5 50.589V12.018A10.547 10.547 0 0 1 12.074 1.5h77.272a10.547 10.547 0 0 1 10.575 10.518v38.571a10.547 10.547 0 0 1-10.575 10.518z",
|
|
10
|
+
fill: "#fff"
|
|
11
|
+
}
|
|
12
|
+
),
|
|
13
|
+
/* @__PURE__ */ jsx(
|
|
14
|
+
"path",
|
|
15
|
+
{
|
|
16
|
+
"data-name": "Stroke 1",
|
|
17
|
+
d: "M14.669 31.997a8.821 8.821 0 0 1 7.97-4.852 8.822 8.822 0 0 1 7.971 4.852",
|
|
18
|
+
fill: "none"
|
|
19
|
+
}
|
|
20
|
+
),
|
|
21
|
+
/* @__PURE__ */ jsx(
|
|
22
|
+
"path",
|
|
23
|
+
{
|
|
24
|
+
"data-name": "Stroke 3",
|
|
25
|
+
d: "M34.076 23.333a11.613 11.613 0 0 1-11.784 11.436A11.613 11.613 0 0 1 10.51 23.333a11.613 11.613 0 0 1 11.782-11.436 11.613 11.613 0 0 1 11.784 11.436z",
|
|
26
|
+
fill: "none"
|
|
27
|
+
}
|
|
28
|
+
),
|
|
29
|
+
/* @__PURE__ */ jsx("path", { "data-name": "Stroke 5", d: "M25.759 20.214a3.466 3.466 0 1 1-3.465-3.466", fill: "none" }),
|
|
30
|
+
/* @__PURE__ */ jsx("path", { "data-name": "Stroke 9", d: "M47.245 12.244h40.893", fill: "none" }),
|
|
31
|
+
/* @__PURE__ */ jsx("path", { "data-name": "Stroke 11", d: "M47.245 28.185h40.893", fill: "none" }),
|
|
32
|
+
/* @__PURE__ */ jsx("path", { "data-name": "Stroke 13", d: "M10.51 42.74h77.628", fill: "none" }),
|
|
33
|
+
/* @__PURE__ */ jsx("path", { "data-name": "Stroke 15", d: "M10.51 49.671h77.628", fill: "none" }),
|
|
34
|
+
/* @__PURE__ */ jsx("path", { "data-name": "Stroke 17", d: "M47.245 35.116h40.893", fill: "none" })
|
|
35
|
+
] }),
|
|
36
|
+
/* @__PURE__ */ jsx("path", { fill: "#fff", d: "M96.762 13.976h5.545v13.169h-5.545z" })
|
|
37
|
+
] });
|
|
38
|
+
var stdin_default = DocumentSmallSvg;
|
|
39
|
+
export {
|
|
40
|
+
stdin_default as default
|
|
41
|
+
};
|