@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,256 @@
|
|
|
1
|
+
import styled, { css } from "styled-components";
|
|
2
|
+
import grid from "../../styles/grid.js";
|
|
3
|
+
import rwd from "../../styles/rwd.js";
|
|
4
|
+
import { colors } from "../../styles/colors.js";
|
|
5
|
+
const StyledFooter = styled.footer.withConfig({
|
|
6
|
+
shouldForwardProp: (props) => !["color", "hasSidebar", "isSidebarExpanded"].includes(props)
|
|
7
|
+
})`
|
|
8
|
+
z-index: 15;
|
|
9
|
+
position: relative;
|
|
10
|
+
|
|
11
|
+
${(props) => props.color === "primary" && css`
|
|
12
|
+
color: ${colors.white};
|
|
13
|
+
background-color: ${colors.blue};
|
|
14
|
+
|
|
15
|
+
${rwd.Medium`
|
|
16
|
+
box-shadow: inset 0 1px 0 0 ${colors.blueDark};
|
|
17
|
+
`}
|
|
18
|
+
`}
|
|
19
|
+
|
|
20
|
+
${(props) => props.color === "red" && css`
|
|
21
|
+
color: ${colors.white};
|
|
22
|
+
background-color: ${colors.rustyRed};
|
|
23
|
+
|
|
24
|
+
${rwd.Medium`
|
|
25
|
+
box-shadow: inset 0 1px 0 0 ${colors.rustyRed};
|
|
26
|
+
padding: 0 65px;
|
|
27
|
+
`}
|
|
28
|
+
`}
|
|
29
|
+
|
|
30
|
+
${rwd.Medium`
|
|
31
|
+
width: 100%;
|
|
32
|
+
height: 65px;
|
|
33
|
+
`}
|
|
34
|
+
|
|
35
|
+
@media screen and (max-width: 991px) {
|
|
36
|
+
height: auto;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
${(props) => props.hasSidebar && `
|
|
40
|
+
padding: 0px !important;
|
|
41
|
+
transition: 0.3s padding;
|
|
42
|
+
`}
|
|
43
|
+
|
|
44
|
+
${(props) => props.isSidebarExpanded && `
|
|
45
|
+
padding-left:200px !important;
|
|
46
|
+
`}
|
|
47
|
+
`;
|
|
48
|
+
const FooterInner = styled.div.withConfig({
|
|
49
|
+
shouldForwardProp: (props) => !["hasSidebar"].includes(props)
|
|
50
|
+
})`
|
|
51
|
+
padding: 24px 0;
|
|
52
|
+
justify-content: space-between;
|
|
53
|
+
|
|
54
|
+
${(props) => props.hasSidebar && `
|
|
55
|
+
padding: 24px ${grid(1)};
|
|
56
|
+
`}
|
|
57
|
+
|
|
58
|
+
${rwd.Medium`
|
|
59
|
+
padding: 20px 0;
|
|
60
|
+
display: flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
height: 100%;
|
|
63
|
+
|
|
64
|
+
${(props) => props.hasSidebar && `
|
|
65
|
+
padding: 20px ${grid(1)};
|
|
66
|
+
`}
|
|
67
|
+
`}
|
|
68
|
+
|
|
69
|
+
@media screen and (max-width: 991px) {
|
|
70
|
+
flex-direction: column;
|
|
71
|
+
padding: 56px 32px;
|
|
72
|
+
}
|
|
73
|
+
`;
|
|
74
|
+
const LogoWrap = styled.div`
|
|
75
|
+
margin-bottom: 25px;
|
|
76
|
+
text-align: center;
|
|
77
|
+
|
|
78
|
+
${rwd.MLarge`
|
|
79
|
+
margin-bottom:0px;
|
|
80
|
+
`}
|
|
81
|
+
`;
|
|
82
|
+
styled.div`
|
|
83
|
+
text-align: center;
|
|
84
|
+
|
|
85
|
+
${rwd.Medium`
|
|
86
|
+
flex: 2;
|
|
87
|
+
`}
|
|
88
|
+
`;
|
|
89
|
+
const PartnerWrap = styled.div`
|
|
90
|
+
text-align: center;
|
|
91
|
+
|
|
92
|
+
${rwd.Medium`
|
|
93
|
+
// flex: 2;
|
|
94
|
+
text-align: left;
|
|
95
|
+
`}
|
|
96
|
+
|
|
97
|
+
@media screen and (max-width: 991px) {
|
|
98
|
+
text-align: center;
|
|
99
|
+
margin-bottom: 25px;
|
|
100
|
+
}
|
|
101
|
+
`;
|
|
102
|
+
const PoweredWrap = styled.div`
|
|
103
|
+
text-align: center;
|
|
104
|
+
|
|
105
|
+
text-transform: uppercase;
|
|
106
|
+
letter-spacing: 2.1px;
|
|
107
|
+
line-height: 1.8;
|
|
108
|
+
font-weight: 400;
|
|
109
|
+
font-size: 10px;
|
|
110
|
+
|
|
111
|
+
${rwd.Medium`
|
|
112
|
+
text-align: left;
|
|
113
|
+
//margin-top: 10px;
|
|
114
|
+
`}
|
|
115
|
+
|
|
116
|
+
@media screen and (max-width: 991px) {
|
|
117
|
+
text-align: center;
|
|
118
|
+
|
|
119
|
+
div {
|
|
120
|
+
margin-top: 10px;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
`;
|
|
124
|
+
styled.nav`
|
|
125
|
+
display: block;
|
|
126
|
+
font-size: 0;
|
|
127
|
+
padding-top: 6px;
|
|
128
|
+
padding-bottom: 30px;
|
|
129
|
+
|
|
130
|
+
${rwd.Medium`
|
|
131
|
+
padding-top: 0;
|
|
132
|
+
padding-bottom: 0;
|
|
133
|
+
`}
|
|
134
|
+
|
|
135
|
+
ul {
|
|
136
|
+
display: block;
|
|
137
|
+
margin: 0;
|
|
138
|
+
padding: 0;
|
|
139
|
+
margin-left: -32px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
li {
|
|
143
|
+
display: inline-block;
|
|
144
|
+
vertical-align: middle;
|
|
145
|
+
margin-left: 32px;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
a {
|
|
149
|
+
position: relative;
|
|
150
|
+
display: block;
|
|
151
|
+
font-size: 12px;
|
|
152
|
+
line-height: 16px;
|
|
153
|
+
letter-spacing: 2px;
|
|
154
|
+
text-transform: uppercase;
|
|
155
|
+
padding: 2px 0;
|
|
156
|
+
|
|
157
|
+
&:before {
|
|
158
|
+
content: '';
|
|
159
|
+
display: block;
|
|
160
|
+
height: 2px;
|
|
161
|
+
width: 100%;
|
|
162
|
+
position: absolute;
|
|
163
|
+
top: 100%;
|
|
164
|
+
left: 0;
|
|
165
|
+
background-color: ${colors.white};
|
|
166
|
+
opacity: 0;
|
|
167
|
+
transform: translateY(8px);
|
|
168
|
+
transition:
|
|
169
|
+
opacity 0.2s,
|
|
170
|
+
transform 0.2s;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
&:hover {
|
|
174
|
+
&:before {
|
|
175
|
+
opacity: 1;
|
|
176
|
+
transform: translateY(0);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
${rwd.Medium`
|
|
181
|
+
font-size: 9px;
|
|
182
|
+
line-height: 16px;
|
|
183
|
+
`}
|
|
184
|
+
}
|
|
185
|
+
`;
|
|
186
|
+
const Partner = styled.span`
|
|
187
|
+
text-transform: uppercase;
|
|
188
|
+
|
|
189
|
+
font-size: 10px;
|
|
190
|
+
font-weight: 400;
|
|
191
|
+
line-height: 1.8;
|
|
192
|
+
letter-spacing: 2.1px;
|
|
193
|
+
|
|
194
|
+
img {
|
|
195
|
+
margin-bottom: 4px;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
@media screen and (max-width: 560px) {
|
|
199
|
+
line-height: 20px;
|
|
200
|
+
}
|
|
201
|
+
`;
|
|
202
|
+
const Copyright = styled.span`
|
|
203
|
+
img {
|
|
204
|
+
margin-bottom: 4px;
|
|
205
|
+
}
|
|
206
|
+
`;
|
|
207
|
+
styled.div`
|
|
208
|
+
display: flex;
|
|
209
|
+
flex-direction: column;
|
|
210
|
+
align-items: self-start;
|
|
211
|
+
|
|
212
|
+
span {
|
|
213
|
+
vertical-align: middle;
|
|
214
|
+
text-transform: uppercase;
|
|
215
|
+
-webkit-letter-spacing: 2.1px;
|
|
216
|
+
-moz-letter-spacing: 2.1px;
|
|
217
|
+
-ms-letter-spacing: 2.1px;
|
|
218
|
+
letter-spacing: 2.1px;
|
|
219
|
+
line-height: 10x;
|
|
220
|
+
white-space: nowrap;
|
|
221
|
+
color: inherit;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
a {
|
|
225
|
+
display: inline-block;
|
|
226
|
+
vertical-align: middle;
|
|
227
|
+
margin-left: 4px;
|
|
228
|
+
transition: opacity 0.2s;
|
|
229
|
+
|
|
230
|
+
&:hover {
|
|
231
|
+
opacity: 0.5;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
img {
|
|
236
|
+
/* display: block;
|
|
237
|
+
max-height: 12px;
|
|
238
|
+
width: auto; */
|
|
239
|
+
/* margin-left: 6px; */
|
|
240
|
+
position: relative;
|
|
241
|
+
//width: 42px;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
@media screen and (max-width: 991px) {
|
|
245
|
+
align-items: center;
|
|
246
|
+
}
|
|
247
|
+
`;
|
|
248
|
+
export {
|
|
249
|
+
Copyright,
|
|
250
|
+
FooterInner,
|
|
251
|
+
LogoWrap,
|
|
252
|
+
Partner,
|
|
253
|
+
PartnerWrap,
|
|
254
|
+
PoweredWrap,
|
|
255
|
+
StyledFooter
|
|
256
|
+
};
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import PropTypes from "prop-types";
|
|
4
|
+
import stdin_default$1 from "./FooterMenu.js";
|
|
5
|
+
import stdin_default$2 from "../Newsletter/Newsletter.js";
|
|
6
|
+
import stdin_default$3 from "./Footer.js";
|
|
7
|
+
import { platformURL } from "../../constants/globalVariables.js";
|
|
8
|
+
const footerGroups = [
|
|
9
|
+
{
|
|
10
|
+
name: "New to STOKR",
|
|
11
|
+
collapse: true,
|
|
12
|
+
items: [
|
|
13
|
+
{
|
|
14
|
+
name: "Solutions",
|
|
15
|
+
url: `${platformURL}/solutions`
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
name: "101s",
|
|
19
|
+
url: `${platformURL}/101`
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
name: "Support",
|
|
23
|
+
url: "https://support.stokr.io/",
|
|
24
|
+
external: true
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: "STOKE POST",
|
|
28
|
+
url: `${platformURL}/stoke-post`
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: "About us",
|
|
34
|
+
collapse: true,
|
|
35
|
+
items: [
|
|
36
|
+
{
|
|
37
|
+
name: "Team",
|
|
38
|
+
url: `${platformURL}/team`
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: "Careers",
|
|
42
|
+
url: `${platformURL}/careers`,
|
|
43
|
+
showNumber: true
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: "Memberships",
|
|
47
|
+
url: `${platformURL}/memberships`
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
name: "Press Releases",
|
|
51
|
+
url: `${platformURL}/press-releases`
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
name: "General",
|
|
57
|
+
collapse: true,
|
|
58
|
+
items: [
|
|
59
|
+
{
|
|
60
|
+
name: "Legal",
|
|
61
|
+
url: `${platformURL}/legal`
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: "Privacy Terms",
|
|
65
|
+
url: `${platformURL}/privacy`
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
name: "Cookie policy",
|
|
69
|
+
url: `${platformURL}/cookie-policy`
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: "Let’s connect",
|
|
75
|
+
social: true,
|
|
76
|
+
items: [
|
|
77
|
+
{
|
|
78
|
+
name: "linkedin",
|
|
79
|
+
url: "https://www.linkedin.com/company/stokr/"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
name: "twitter",
|
|
83
|
+
url: "https://twitter.com/stokr_io"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: "telegram",
|
|
87
|
+
url: "https://t.me/joinchat/G2o5yBCe7FiYvv1YiZhNZg"
|
|
88
|
+
},
|
|
89
|
+
// {
|
|
90
|
+
// name: 'medium',
|
|
91
|
+
// url: 'https://medium.com/sicos-publication',
|
|
92
|
+
// },
|
|
93
|
+
{
|
|
94
|
+
name: "youtube",
|
|
95
|
+
url: "https://www.youtube.com/channel/UCUuQtRhbcFcU4xeTrDl3iQQ"
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
];
|
|
100
|
+
function FooterLayout({
|
|
101
|
+
withNewsLetter = true,
|
|
102
|
+
withFooterMenu = true,
|
|
103
|
+
color = "red",
|
|
104
|
+
jobOpeningsNumber = 0,
|
|
105
|
+
lemonWayLogo,
|
|
106
|
+
dropdownCollapsed,
|
|
107
|
+
footnotes,
|
|
108
|
+
footnotesTitle,
|
|
109
|
+
...props
|
|
110
|
+
}) {
|
|
111
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
112
|
+
withFooterMenu && /* @__PURE__ */ jsx(
|
|
113
|
+
stdin_default$1,
|
|
114
|
+
{
|
|
115
|
+
groups: footerGroups,
|
|
116
|
+
jobOpeningsNumber,
|
|
117
|
+
dropdownCollapsed,
|
|
118
|
+
footnotes,
|
|
119
|
+
footnotesTitle
|
|
120
|
+
}
|
|
121
|
+
),
|
|
122
|
+
withNewsLetter && /* @__PURE__ */ jsx(stdin_default$2, {}),
|
|
123
|
+
/* @__PURE__ */ jsx(stdin_default$3, { color, lemonwayLogo: lemonWayLogo, ...props })
|
|
124
|
+
] });
|
|
125
|
+
}
|
|
126
|
+
FooterLayout.propTypes = {
|
|
127
|
+
withNewsLetter: PropTypes.bool,
|
|
128
|
+
withFooterMenu: PropTypes.bool,
|
|
129
|
+
color: PropTypes.oneOf(["primary", "red"]),
|
|
130
|
+
jobOpeningsNumber: PropTypes.number,
|
|
131
|
+
lemonwayLogo: PropTypes.string,
|
|
132
|
+
dropdownCollapsed: PropTypes.bool,
|
|
133
|
+
footnotesTitle: PropTypes.string,
|
|
134
|
+
footnotes: PropTypes.arrayOf(
|
|
135
|
+
PropTypes.shape({
|
|
136
|
+
number: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
137
|
+
description: PropTypes.string
|
|
138
|
+
})
|
|
139
|
+
)
|
|
140
|
+
};
|
|
141
|
+
var stdin_default = FooterLayout;
|
|
142
|
+
export {
|
|
143
|
+
stdin_default as default,
|
|
144
|
+
footerGroups
|
|
145
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import React__default, { useEffect, Fragment } from "react";
|
|
3
|
+
import PropTypes from "prop-types";
|
|
4
|
+
import { Collapse } from "react-collapse";
|
|
5
|
+
import stdin_default$2 from "../SvgIcons/SocialInstagram.js";
|
|
6
|
+
import stdin_default$1 from "../SvgIcons/SocialReddit.js";
|
|
7
|
+
import { Container, Groups, Group, TitleContainer, Title, ArrowDown, Items, Item, SocialLink, Link, HiringTotalNumber, Footnotes, FootnotesText, FootnotesItem } from "./FooterMenu.styles.js";
|
|
8
|
+
import { useMobileView } from "../../utils/customHooks.js";
|
|
9
|
+
import { sizes } from "../../styles/rwd.js";
|
|
10
|
+
import FbLogo from "../../static/images/social/Facebook_Logo.png.js";
|
|
11
|
+
import LILogo from "../../static/images/social/LI-In-Bug.png.js";
|
|
12
|
+
import XLogo from "../../static/images/social/X-logo-black.png.js";
|
|
13
|
+
import YtLogo from "../../static/images/social/youtube_social_circle_red.png.js";
|
|
14
|
+
import TelegramLogo from "../../static/images/social/Telegram-Logo.png.js";
|
|
15
|
+
import { SocialLinksContainer } from "../Header/Header.styles.js";
|
|
16
|
+
const CollapseWrapper = ({ children, collapse = false, isOpened = false }) => collapse ? /* @__PURE__ */ jsx(Collapse, { isOpened, children }) : /* @__PURE__ */ jsx(Fragment, { children });
|
|
17
|
+
CollapseWrapper.propTypes = {
|
|
18
|
+
children: PropTypes.node.isRequired,
|
|
19
|
+
collapse: PropTypes.bool,
|
|
20
|
+
isOpened: PropTypes.bool
|
|
21
|
+
};
|
|
22
|
+
const socialSvg = {
|
|
23
|
+
linkedin: /* @__PURE__ */ jsx("img", { src: LILogo, alt: "Linkedin Logo", loading: "lazy", style: { padding: 1 } }),
|
|
24
|
+
instagram: /* @__PURE__ */ jsx(stdin_default$2, {}),
|
|
25
|
+
twitter: /* @__PURE__ */ jsx("img", { src: XLogo, alt: "X Logo", loading: "lazy", style: { padding: 4 } }),
|
|
26
|
+
facebook: /* @__PURE__ */ jsx("img", { src: FbLogo, alt: "Facebook Logo", loading: "lazy" }),
|
|
27
|
+
telegram: /* @__PURE__ */ jsx("img", { src: TelegramLogo, alt: "Telegram Logo", loading: "lazy" }),
|
|
28
|
+
//medium: <SocialMedium />,
|
|
29
|
+
youtube: /* @__PURE__ */ jsx("img", { src: YtLogo, alt: "Youtube Logo", loading: "lazy" }),
|
|
30
|
+
reddit: /* @__PURE__ */ jsx(stdin_default$1, {})
|
|
31
|
+
};
|
|
32
|
+
const FooterMenu = ({
|
|
33
|
+
groups,
|
|
34
|
+
jobOpeningsNumber = 0,
|
|
35
|
+
dropdownCollapsed,
|
|
36
|
+
footnotes,
|
|
37
|
+
footnotesTitle = "Disclosures"
|
|
38
|
+
}) => {
|
|
39
|
+
const isMobile = useMobileView(sizes.MLarge);
|
|
40
|
+
const hasFootnotes = Array.isArray(footnotes) && footnotes.length > 0;
|
|
41
|
+
const [activeGroups, setactiveGroups] = React__default.useState(() => {
|
|
42
|
+
return groups.map((group, _index) => {
|
|
43
|
+
if (isMobile) {
|
|
44
|
+
return group.name === "New to STOKR";
|
|
45
|
+
}
|
|
46
|
+
return !dropdownCollapsed;
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
const toggleGroup = (key) => {
|
|
50
|
+
const activeGroupsCopy = [...activeGroups];
|
|
51
|
+
activeGroupsCopy[key] = !activeGroupsCopy[key];
|
|
52
|
+
setactiveGroups(activeGroupsCopy);
|
|
53
|
+
};
|
|
54
|
+
useEffect(() => {
|
|
55
|
+
setactiveGroups(
|
|
56
|
+
groups.map((group, _index) => {
|
|
57
|
+
if (isMobile) {
|
|
58
|
+
return group.name === "New to STOKR";
|
|
59
|
+
}
|
|
60
|
+
return !dropdownCollapsed;
|
|
61
|
+
})
|
|
62
|
+
);
|
|
63
|
+
}, [isMobile, groups, dropdownCollapsed]);
|
|
64
|
+
return /* @__PURE__ */ jsxs(Container, { children: [
|
|
65
|
+
/* @__PURE__ */ jsx(Groups, { children: groups.map((group, groupKey) => /* @__PURE__ */ jsxs(Group, { onClick: () => toggleGroup(groupKey), children: [
|
|
66
|
+
/* @__PURE__ */ jsxs(TitleContainer, { children: [
|
|
67
|
+
/* @__PURE__ */ jsx(Title, { collapse: group.collapse, children: group.name }),
|
|
68
|
+
isMobile && !group.social && /* @__PURE__ */ jsx(ArrowDown, { isOpened: activeGroups[groupKey] })
|
|
69
|
+
] }),
|
|
70
|
+
/* @__PURE__ */ jsx(CollapseWrapper, { collapse: isMobile && group.collapse, isOpened: activeGroups[groupKey], children: /* @__PURE__ */ jsx(Items, { social: group.social, children: group.social ? /* @__PURE__ */ jsx(SocialLinksContainer, { children: group.items.map((item) => /* @__PURE__ */ jsx(Item, { social: true, children: /* @__PURE__ */ jsx(SocialLink, { href: item.url, alt: item.name, target: "_blank", rel: "noopener noreferrer", children: socialSvg[item.name] }) }, item.name)) }) : group.items.map((item) => /* @__PURE__ */ jsx(Item, { children: /* @__PURE__ */ jsxs(Link, { target: item.external ? "_blank" : "", href: item.url, rel: "noopener noreferrer", children: [
|
|
71
|
+
item.name,
|
|
72
|
+
item.showNumber && jobOpeningsNumber > 0 && /* @__PURE__ */ jsx(HiringTotalNumber, { style: { marginLeft: "4px" }, children: jobOpeningsNumber })
|
|
73
|
+
] }) }, item.name)) }) })
|
|
74
|
+
] }, group.name)) }),
|
|
75
|
+
hasFootnotes && /* @__PURE__ */ jsxs(Footnotes, { children: [
|
|
76
|
+
/* @__PURE__ */ jsx(FootnotesText, { children: footnotesTitle }),
|
|
77
|
+
footnotes.map((note, index) => /* @__PURE__ */ jsxs(FootnotesItem, { children: [
|
|
78
|
+
/* @__PURE__ */ jsx(FootnotesText, { isNumber: true, children: note.number ?? index + 1 }),
|
|
79
|
+
/* @__PURE__ */ jsx(FootnotesText, { children: note.description })
|
|
80
|
+
] }, `${note.number || index}-${note.description || "note"}`))
|
|
81
|
+
] })
|
|
82
|
+
] });
|
|
83
|
+
};
|
|
84
|
+
FooterMenu.propTypes = {
|
|
85
|
+
groups: PropTypes.arrayOf(Object).isRequired,
|
|
86
|
+
jobOpeningsNumber: PropTypes.number,
|
|
87
|
+
dropdownCollapsed: PropTypes.bool,
|
|
88
|
+
footnotesTitle: PropTypes.string,
|
|
89
|
+
footnotes: PropTypes.arrayOf(
|
|
90
|
+
PropTypes.shape({
|
|
91
|
+
number: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
92
|
+
description: PropTypes.string
|
|
93
|
+
})
|
|
94
|
+
)
|
|
95
|
+
};
|
|
96
|
+
var stdin_default = FooterMenu;
|
|
97
|
+
export {
|
|
98
|
+
stdin_default as default,
|
|
99
|
+
socialSvg
|
|
100
|
+
};
|