@stokr/components-library 2.3.58-beta.6 → 2.3.58-beta.7
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/dist/api/StokrWeb3.js +3 -3
- package/dist/api/auth.js +16 -53
- package/dist/api/fetchData.js +26 -66
- package/dist/api/fetchDataPublic.js +20 -57
- package/dist/components/2FA/Connect2FA.js +10 -11
- package/dist/components/2FA/EnterCode.js +32 -30
- package/dist/components/2FA/EnterCode.stories.js +4 -8
- package/dist/components/2FA/InstallAuthApp.js +8 -9
- package/dist/components/2FA/ResetCode.js +11 -12
- package/dist/components/2FA/Sucess2FA.js +12 -16
- package/dist/components/2FA/disable-2fa-flow.js +53 -104
- package/dist/components/2FA/disable-2fa-flow.stories.js +4 -8
- package/dist/components/2FA/enable-2fa-flow.js +73 -144
- package/dist/components/2FA/enable-2fa-flow.stories.js +4 -8
- package/dist/components/2FA/index.js +9 -9
- package/dist/components/2FA/login-with-otp-flow.js +126 -206
- package/dist/components/2FA/login-with-otp-flow.stories.js +4 -8
- package/dist/components/2FA/main-flow.js +70 -144
- package/dist/components/2FA/main-flow.stories.js +4 -8
- package/dist/components/AccountBalance/AccountBalance.js +14 -13
- package/dist/components/AccountBalance/AccountBalance.stories.js +6 -12
- package/dist/components/AccountBalance/AccountBalance.styles.js +9 -17
- package/dist/components/AdminDashboard/Table/ReactTable.js +77 -84
- package/dist/components/AdminDashboard/Table/ReactTable.stories.js +87 -63
- package/dist/components/AdminDashboard/Table/ReactTableWrapper.js +24 -30
- package/dist/components/AdminDashboard/Table/Table.js +88 -123
- package/dist/components/AdminDashboard/Table/Table.styles.js +28 -90
- package/dist/components/AgreementItem/AgreementItem.js +10 -11
- package/dist/components/AgreementItem/AgreementItem.stories.js +5 -10
- package/dist/components/AgreementItem/AgreementItem.styles.js +8 -12
- package/dist/components/AnalyticGraphs/Analytic.js +504 -743
- package/dist/components/AnalyticGraphs/Analytic.styles.js +14 -26
- package/dist/components/BackButton/BackButton.js +9 -10
- package/dist/components/BackButton/BackButton.stories.js +4 -8
- package/dist/components/BackButton/BackButton.styles.js +13 -51
- package/dist/components/Background/Background.js +12 -11
- package/dist/components/Background/Background.stories.js +8 -14
- package/dist/components/Background/Background.styles.js +17 -33
- package/dist/components/BarChart/BarChart.js +138 -181
- package/dist/components/BarChart/BarChart.stories.js +5 -10
- package/dist/components/BarChart/BarChart.styles.js +8 -15
- package/dist/components/BarChartLegend/BarChartLegend.js +40 -67
- package/dist/components/BarChartLegend/BarChartLegend.styles.js +5 -10
- package/dist/components/BasicTable/BasicTable.js +12 -13
- package/dist/components/BasicTable/BasicTable.stories.js +5 -10
- package/dist/components/BasicTable/BasicTable.styles.js +11 -27
- package/dist/components/BlogPost/BlogPost.js +34 -53
- package/dist/components/BlogPost/BlogPost.stories.js +33 -46
- package/dist/components/BlogPost/BlogPost.styles.js +67 -59
- package/dist/components/Button/Button-stoDetails.js +150 -129
- package/dist/components/Button/Button.stories.js +27 -44
- package/dist/components/Button/Button.styles.js +24 -62
- package/dist/components/Button/GlareButton.js +61 -89
- package/dist/components/Button/GlareButton.stories.js +19 -29
- package/dist/components/ButtonContainer/ButtonContainer.styles.js +5 -10
- package/dist/components/CapitalRaisedSummary/CapitalRaisedSummery.stories.js +4 -8
- package/dist/components/CapitalRaisedSummary/CaptialRaisedSummary.js +9 -10
- package/dist/components/CapitalRaisedSummary/CaptialRaisedSummary.styles.js +8 -17
- package/dist/components/Card/Card.styles.js +14 -41
- package/dist/components/ChartBox/ChartBox.js +5 -8
- package/dist/components/ChartBox/ChartBox.stories.js +3 -6
- package/dist/components/ChartBox/ChartBox.styles.js +8 -14
- package/dist/components/ChartBox/ChartBoxDistribution.js +5 -8
- package/dist/components/ChartBox/ChartBoxDistribution.stories.js +3 -6
- package/dist/components/ChartLegend/ChartLegend.js +30 -46
- package/dist/components/ChartLegend/ChartLegend.stories.js +22 -28
- package/dist/components/ChartLegend/ChartLegend.styles.js +16 -41
- package/dist/components/Checkbox/Checkbox.js +32 -32
- package/dist/components/Checkbox/Checkbox.stories.js +5 -10
- package/dist/components/Checkbox/Checkbox.styles.js +10 -23
- package/dist/components/Checklist/ChecklistCard.js +33 -35
- package/dist/components/Checklist/ChecklistCard.stories.js +77 -100
- package/dist/components/Checklist/ChecklistCard.styles.js +12 -15
- package/dist/components/Chips/Chip.js +14 -13
- package/dist/components/Chips/Chip.stories.js +10 -19
- package/dist/components/Chips/Chip.styles.js +14 -14
- package/dist/components/Chips/ChipWrapper.js +23 -41
- package/dist/components/Chips/ChipsWrapper.stories.js +9 -17
- package/dist/components/ComponentScroll/ComponentScroll.js +25 -34
- package/dist/components/ComponentScroll/ComponentScroll.stories.js +16 -23
- package/dist/components/ComponentScroll/ComponentScroll.styles.js +22 -47
- package/dist/components/ComponentWrapper/ComponentWrapper.styles.js +7 -61
- package/dist/components/CryptoAddress/ComponentWrap.js +10 -11
- package/dist/components/CryptoAddress/CryptoAddress.js +51 -68
- package/dist/components/CryptoAddress/CryptoAddress.stories.js +7 -13
- package/dist/components/CryptoAddress/CryptoAddress.styles.js +55 -124
- package/dist/components/CryptoAddress/RadioWrap.js +9 -10
- package/dist/components/CryptoAddressDetails/CryptoAddressDetails.js +24 -25
- package/dist/components/CryptoAddressDetails/CryptoAddressDetails.stories.js +5 -10
- package/dist/components/CryptoAddressDetails/CryptoAddressDetails.styles.js +12 -42
- package/dist/components/CryptoAddressWrapper/CryptoAddressWrapper.js +10 -9
- package/dist/components/CryptoAddressWrapper/CryptoAddressWrapper.styles.js +16 -27
- package/dist/components/DonutChart/DonutChart.js +101 -130
- package/dist/components/DonutChart/DonutChart.stories.js +4 -8
- package/dist/components/DonutChart/DonutChart.styles.js +15 -27
- package/dist/components/DoubleButton/DoubleButton.styles.js +8 -8
- package/dist/components/ErrorMessage/ErrorMessage.styles.js +3 -5
- package/dist/components/FAQ/FAQ.js +29 -45
- package/dist/components/FAQ/FAQ.stories.js +4 -9
- package/dist/components/FAQ/FAQ.styles.js +23 -39
- package/dist/components/Footer/Footer.js +9 -10
- package/dist/components/Footer/Footer.stories.js +6 -12
- package/dist/components/Footer/Footer.styles.js +22 -46
- package/dist/components/Footer/FooterLayout.js +16 -20
- package/dist/components/Footer/FooterLayout.stories.js +4 -8
- package/dist/components/Footer/FooterMenu.js +61 -83
- package/dist/components/Footer/FooterMenu.stories.js +4 -8
- package/dist/components/Footer/FooterMenu.styles.js +16 -39
- package/dist/components/Footer/index.js +4 -4
- package/dist/components/ForgotPasswordModal/ForgotPasswordModal.js +92 -114
- package/dist/components/ForgotPasswordModal/ForgotPasswordModal.stories.js +4 -8
- package/dist/components/Form/Form.js +15 -14
- package/dist/components/Form/Form.stories.js +4 -8
- package/dist/components/Form/Form.styles.js +16 -36
- package/dist/components/FullscreenCard/FullscreenCard.styles.js +7 -12
- package/dist/components/Grid/Grid.styles.js +17 -68
- package/dist/components/Header/Header.js +98 -163
- package/dist/components/Header/Header.stories.js +17 -28
- package/dist/components/Header/Header.styles.js +61 -124
- package/dist/components/HeroBlock/HeroVideoBlock.js +20 -25
- package/dist/components/Icon/Icon.style.js +10 -22
- package/dist/components/Icon/Icon2.js +11 -13
- package/dist/components/InfoIcon/InfoIcon.js +18 -17
- package/dist/components/InfoIcon/InfoIcon.stories.js +5 -10
- package/dist/components/InfoIcon/InfoIcon.styles.js +5 -21
- package/dist/components/InfoPanel/InfoPanel.js +26 -48
- package/dist/components/Input/DatePickerInput.js +21 -33
- package/dist/components/Input/DatePickerInput.stories.js +5 -10
- package/dist/components/Input/DatePickerInput.styles.js +5 -19
- package/dist/components/Input/Input.js +43 -51
- package/dist/components/Input/Input.stories.js +9 -16
- package/dist/components/Input/Input.styles.js +8 -43
- package/dist/components/Input/InputPassword.js +30 -50
- package/dist/components/Input/InputPassword.stories.js +6 -12
- package/dist/components/Input/InputPassword.styles.js +30 -57
- package/dist/components/Input/InputUsername.js +83 -102
- package/dist/components/Input/InputWithButton.js +20 -19
- package/dist/components/Input/InputWithButton.stories.js +5 -9
- package/dist/components/Input/InputWithButton.styles.js +7 -19
- package/dist/components/Input/OtpInput.js +27 -42
- package/dist/components/Input/OtpInput.stories.js +5 -11
- package/dist/components/Input/RangeInput.js +29 -25
- package/dist/components/Input/RangeInput.stories.js +4 -8
- package/dist/components/Input/RangeInput.styles.js +15 -42
- package/dist/components/Input/Select.js +68 -89
- package/dist/components/Input/Select.stories.js +6 -12
- package/dist/components/Input/Select.styles.js +12 -32
- package/dist/components/InvestCalculator/InvestCalculator.js +245 -243
- package/dist/components/InvestCalculator/InvestCalculator.stories.js +18 -21
- package/dist/components/InvestCalculator/InvestCalculator.styles.js +14 -33
- package/dist/components/InvestmentStat/InvestmentStat.js +11 -10
- package/dist/components/InvestmentStat/InvestmentStat.stories.js +5 -10
- package/dist/components/InvestmentStat/InvestmentStat.styles.js +12 -24
- package/dist/components/KYCFlow/BasicInfo.js +419 -460
- package/dist/components/KYCFlow/Confirmation.js +12 -17
- package/dist/components/KYCFlow/DocumentFileUpload.js +214 -227
- package/dist/components/KYCFlow/DocumentScan.js +16 -15
- package/dist/components/KYCFlow/DocumentScanUpload.js +203 -210
- package/dist/components/KYCFlow/DocumentSelect.js +87 -117
- package/dist/components/KYCFlow/DocumentSuccess.js +14 -15
- package/dist/components/KYCFlow/DocumentUpload.js +10 -11
- package/dist/components/KYCFlow/DocumentVerificationType.js +98 -128
- package/dist/components/KYCFlow/FaceScan.js +10 -11
- package/dist/components/KYCFlow/FaceScanRecognition.js +14 -13
- package/dist/components/KYCFlow/FaceScanSuccess.js +10 -13
- package/dist/components/KYCFlow/Terms.js +90 -113
- package/dist/components/KYCFlow/_styles.js +37 -86
- package/dist/components/KYCFlow/index.js +14 -14
- package/dist/components/KYCSelectBox/KYCSelectBox.styles.js +7 -19
- package/dist/components/LatestUpdate/LatestUpdate.js +12 -11
- package/dist/components/LatestUpdate/LatestUpdate.stories.js +5 -10
- package/dist/components/LatestUpdate/LatestUpdate.styles.js +15 -28
- package/dist/components/Layout/Layout-func-no-work.js +24 -24
- package/dist/components/Layout/Layout.js +47 -68
- package/dist/components/Layout/Layout.stories.js +5 -12
- package/dist/components/LearnMoreCarousel/LearnMoreCarousel.js +13 -12
- package/dist/components/LearnMoreCarousel/LearnMoreCarousel.stories.js +5 -10
- package/dist/components/LearnMoreCarousel/LearnMoreCarousel.styles.js +10 -22
- package/dist/components/LearnMorePage/LearnMore.js +134 -174
- package/dist/components/LearnMorePage/LearnMore.shared.styles.js +7 -22
- package/dist/components/LearnMorePage/LearnMore.stories.js +4 -8
- package/dist/components/LearnMorePage/LearnMore.styles.js +24 -74
- package/dist/components/LearnMorePage/LearnMoreExampleObject.js +3 -5
- package/dist/components/LearnMorePage/LearnMoreItem.js +11 -16
- package/dist/components/LearnMorePage/LearnMoreItem.stories.js +4 -8
- package/dist/components/LearnMorePage/LearnMoreItem.styles.js +18 -54
- package/dist/components/LearnMoreSection/LearnMore.js +119 -158
- package/dist/components/LearnMoreSection/LearnMore.stories.js +4 -8
- package/dist/components/LearnMoreSection/LearnMore.styles.js +15 -41
- package/dist/components/LearnMoreSection/LearnMoreItem.js +14 -15
- package/dist/components/LearnMoreSection/LearnMoreItem.stories.js +4 -8
- package/dist/components/LearnMoreSection/LearnMoreItem.styles.js +9 -23
- package/dist/components/LoginModal/LoginModal.js +35 -41
- package/dist/components/LoginModal/LoginModal.stories.js +8 -12
- package/dist/components/MainMenu/DynamicMainMenu.js +11 -14
- package/dist/components/MainMenu/MainMenu.js +157 -190
- package/dist/components/MainMenu/MainMenu.styles.js +48 -89
- package/dist/components/MatomoConnect/Matomo.js +201 -463
- package/dist/components/MenuNav/MenuNav.styles.js +5 -9
- package/dist/components/Modal/Modal.js +46 -48
- package/dist/components/Modal/Modal.stories.js +8 -16
- package/dist/components/Modal/Modal.styles.js +34 -96
- package/dist/components/Modal/NewVentureModal/NewVentureModal.js +69 -95
- package/dist/components/Modal/NewVentureModal/NewVentureModal.stories.js +22 -43
- package/dist/components/Modal/PaymentModal.js +43 -54
- package/dist/components/Modal/PaymentModal.stories.js +4 -8
- package/dist/components/MultiProgressBar/MultiProgressBar.js +19 -23
- package/dist/components/MultiProgressBar/MultiProgressBar.stories.js +6 -12
- package/dist/components/MultiProgressBar/MultiProgressBar.styles.js +9 -22
- package/dist/components/Newsletter/Newsletter.js +65 -100
- package/dist/components/Newsletter/Newsletter.stories.js +4 -8
- package/dist/components/Newsletter/Newsletter.styles.js +47 -44
- package/dist/components/NotificationContext/NotificationContext.js +93 -125
- package/dist/components/NotificationCounter/NotificationCounter.styles.js +4 -16
- package/dist/components/Number/Number.js +13 -10
- package/dist/components/Number/Number.stories.js +23 -41
- package/dist/components/Number/Number.styles.js +4 -10
- package/dist/components/PageTransition/PageTransition.js +16 -19
- package/dist/components/Pagination/Pagination.js +22 -25
- package/dist/components/Pagination/Pagination.stories.js +29 -36
- package/dist/components/Pagination/Pagination.styles.js +8 -15
- package/dist/components/Pagination/PaginationControls.js +32 -36
- package/dist/components/Pagination/PaginationControls.stories.js +33 -62
- package/dist/components/Pagination/usePagination.js +29 -37
- package/dist/components/Process/Process.stories.js +6 -12
- package/dist/components/Process/Process.styles.js +6 -16
- package/dist/components/ProfileBadge/ProfileBadge.js +12 -11
- package/dist/components/ProfileBadge/ProfileBadge.stories.js +5 -9
- package/dist/components/ProfileBadge/ProfileBadge.styles.js +13 -19
- package/dist/components/ProfileBox/ProfileBox.js +15 -17
- package/dist/components/ProfileBox/ProfileBox.stories.js +5 -9
- package/dist/components/ProfileBox/ProfileBox.styles.js +9 -21
- package/dist/components/ProfileHeader/ProfileHeader.js +163 -199
- package/dist/components/ProfileHeader/ProfileHeader.styles.js +24 -46
- package/dist/components/ProfileStat/ProfileStat.js +12 -11
- package/dist/components/ProfileStat/ProfileStat.stories.js +6 -12
- package/dist/components/ProfileStat/ProfileStat.styles.js +9 -23
- package/dist/components/ProofOfAddress/ProofOfAddress.styles.js +20 -36
- package/dist/components/QRCode/QRCode.js +30 -30
- package/dist/components/QRCode/QRCode.stories.js +14 -26
- package/dist/components/ROI/ROI.js +225 -261
- package/dist/components/ROI/ROI.styles.js +13 -25
- package/dist/components/ROI/ROIChart.js +196 -303
- package/dist/components/ROI/ROIChart.styles.js +7 -11
- package/dist/components/ROI/ROIModal.js +13 -20
- package/dist/components/ROI/ROIParkingo.js +208 -244
- package/dist/components/ROI/ROIPixelmatic.js +209 -245
- package/dist/components/ROI/ROIScenarioBox.js +9 -8
- package/dist/components/ROI/ROIScenarioBox.styles.js +10 -33
- package/dist/components/Radio/Radio.js +19 -18
- package/dist/components/Radio/Radio.stories.js +4 -8
- package/dist/components/Radio/Radio.styles.js +5 -14
- package/dist/components/RefreshButton/RefreshButton.js +6 -5
- package/dist/components/RefreshButton/RefreshButton.stories.js +5 -10
- package/dist/components/RefreshButton/RefreshButton.styles.js +9 -24
- package/dist/components/RegisterConfirmModal/RegisterConfirmModal.js +17 -18
- package/dist/components/RegisterConfirmModal/RegisterConfirmModal.stories.js +5 -9
- package/dist/components/RegisterConfirmModal/RegisterConfirmModal.styles.js +3 -4
- package/dist/components/RegisterLiquidSteps/RegisterLiquidSteps.js +46 -70
- package/dist/components/RegisterLiquidSteps/RegisterLiquidSteps.styles.js +10 -22
- package/dist/components/RegisterLiquidSteps/complete.js +4 -5
- package/dist/components/RegisterLiquidSteps/flow.js +53 -99
- package/dist/components/RegisterLiquidSteps/index.js +7 -22
- package/dist/components/RegisterLiquidSteps/register-liquid.js +62 -102
- package/dist/components/RegisterModal/RegisterModal.js +82 -118
- package/dist/components/RegisterModal/RegisterModal.stories.js +5 -9
- package/dist/components/RequestDataBox/RequestDataBox.js +9 -8
- package/dist/components/RequestDataBox/RequestDataBox.stories.js +4 -8
- package/dist/components/RequestDataBox/RequestDataBox.styles.js +7 -12
- package/dist/components/ResetConfirmModal/ResetConfirmModal.js +10 -11
- package/dist/components/ResetConfirmModal/ResetConfirmModal.styles.js +3 -4
- package/dist/components/ResetPasswordModal/ResetPasswordModal.js +29 -28
- package/dist/components/SEO/SEO.js +11 -10
- package/dist/components/SEO/SEO.stories.js +4 -8
- package/dist/components/SectionTitle/SectionTitle.styles.js +3 -5
- package/dist/components/ShareButton/ShareButton.js +132 -145
- package/dist/components/SideLine/SideLine.js +3 -6
- package/dist/components/SideLine/SideLine.stories.js +3 -6
- package/dist/components/SideLine/SideLine.styles.js +6 -12
- package/dist/components/SigningSubflow/SignSubIntro.js +9 -8
- package/dist/components/SigningSubflow/_styles.js +9 -20
- package/dist/components/SigningSubflow/index.js +5 -5
- package/dist/components/Slider/Slider.js +16 -16
- package/dist/components/Slider/Slider.stories.js +5 -10
- package/dist/components/Slider/Slider.styles.js +5 -8
- package/dist/components/SpanButton/SpanButton.styles.js +3 -6
- package/dist/components/StatusBadge/StatusBadge.styles.js +4 -10
- package/dist/components/StepController/StepController.js +49 -74
- package/dist/components/StepController/StepController.stories.js +4 -8
- package/dist/components/StepController/StepController.styles.js +6 -12
- package/dist/components/StepController/StepControllerContext.js +46 -68
- package/dist/components/StepController/StepControllerProgress.js +16 -19
- package/dist/components/StepController/StepControllerProgress.stories.js +4 -8
- package/dist/components/StepsProgress/StepsProgress.js +44 -58
- package/dist/components/StepsProgress/StepsProgress.stories.js +33 -35
- package/dist/components/StepsProgress/StepsProgress.styles.js +7 -15
- package/dist/components/StokrLoader/StokrLoader.js +20 -23
- package/dist/components/StokrLoader/media.js +5 -7
- package/dist/components/SvgIcons/AdminBadgeSvg.js +16 -19
- package/dist/components/SvgIcons/CameraSvg.js +26 -29
- package/dist/components/SvgIcons/CapsLockSvg.js +21 -24
- package/dist/components/SvgIcons/DocumentBackSvg.js +25 -28
- package/dist/components/SvgIcons/DocumentSmallSvg.js +51 -54
- package/dist/components/SvgIcons/DocumentSvg.js +28 -31
- package/dist/components/SvgIcons/Early.js +14 -17
- package/dist/components/SvgIcons/EthSvg.js +30 -33
- package/dist/components/SvgIcons/EurSvg.js +16 -19
- package/dist/components/SvgIcons/FaceScanIconSvg.js +21 -24
- package/dist/components/SvgIcons/FourSvg.js +11 -14
- package/dist/components/SvgIcons/Glassess.js +19 -22
- package/dist/components/SvgIcons/LogoSvg.js +14 -17
- package/dist/components/SvgIcons/OneSvg.js +13 -16
- package/dist/components/SvgIcons/PassportSvg.js +46 -49
- package/dist/components/SvgIcons/RefreshSvg.js +17 -20
- package/dist/components/SvgIcons/SocialFacebook.js +20 -23
- package/dist/components/SvgIcons/SocialInstagram.js +11 -14
- package/dist/components/SvgIcons/SocialLinkedIn.js +25 -28
- package/dist/components/SvgIcons/SocialMedium.js +15 -18
- package/dist/components/SvgIcons/SocialReddit.js +15 -18
- package/dist/components/SvgIcons/SocialTelegram.js +49 -52
- package/dist/components/SvgIcons/SocialTwitter.js +44 -47
- package/dist/components/SvgIcons/SocialYoutube.js +15 -18
- package/dist/components/SvgIcons/ThreeSvg.js +10 -13
- package/dist/components/SvgIcons/TwoSidedDocumentSvg.js +72 -75
- package/dist/components/SvgIcons/TwoSvg.js +13 -16
- package/dist/components/SvgIcons/UpdateDefaultSvg.js +19 -22
- package/dist/components/SvgIcons/UpdateHardSvg.js +15 -18
- package/dist/components/SvgIcons/UpdateSoftSvg.js +17 -20
- package/dist/components/SvgIcons/UploadSvg.js +24 -27
- package/dist/components/SvgIcons/VerifiedBadge.js +13 -16
- package/dist/components/SvgIcons/index.js +32 -32
- package/dist/components/Switch/Switch.js +23 -37
- package/dist/components/Switch/Switch.stories.js +8 -14
- package/dist/components/Switch/Switch.styles.js +8 -33
- package/dist/components/Tabs/Tabs.js +19 -21
- package/dist/components/Tabs/Tabs.stories.js +4 -8
- package/dist/components/Tabs/Tabs.styles.js +4 -6
- package/dist/components/TabsNav/TabNav.js +14 -13
- package/dist/components/TabsNav/TabNav.stories.js +5 -10
- package/dist/components/TabsNav/TabsNav.js +14 -14
- package/dist/components/TabsNav/TabsNav.stories.js +4 -8
- package/dist/components/TabsNav/TabsNav.styles.js +10 -25
- package/dist/components/TeamOverview/TeamOverview.js +38 -84
- package/dist/components/TeamOverview/TeamOverview.stories.js +5 -10
- package/dist/components/TeamOverview/TeamOverview.styles.js +18 -35
- package/dist/components/TermsModal/TermsModal.js +49 -79
- package/dist/components/TermsModal/TermsModal.stories.js +4 -8
- package/dist/components/TermsModal/_styles.js +35 -100
- package/dist/components/Text/Headline.js +15 -14
- package/dist/components/Text/Headline.stories.js +4 -8
- package/dist/components/Text/StyledText.js +5 -8
- package/dist/components/Text/Text.stories.js +5 -10
- package/dist/components/Text/Text.styles.js +15 -37
- package/dist/components/TextLink/TextLink.styles.js +6 -17
- package/dist/components/ToDoList/ToDoList.js +76 -85
- package/dist/components/ToDoList/ToDoList.stories.js +7 -14
- package/dist/components/ToDoList/ToDoList.styles.js +34 -43
- package/dist/components/ToDoList/ToDoListTask.js +22 -35
- package/dist/components/ToDoList/ToDoListTask.stories.js +5 -10
- package/dist/components/ToDoList/ToDoListTask.styles.js +13 -40
- package/dist/components/TransactionDetails/TransactionDetails.js +9 -19
- package/dist/components/TransactionDetails/TransactionDetails.stories.js +5 -10
- package/dist/components/TransactionDetails/TransactionDetails.styles.js +6 -15
- package/dist/components/TransactionInfo/TransactionInfo.js +18 -17
- package/dist/components/TransactionInfo/TransactionInfo.stories.js +4 -8
- package/dist/components/TransactionInfo/TransactionInfo.styles.js +10 -31
- package/dist/components/TwoFactorModal/TwoFactorModal.js +72 -94
- package/dist/components/VerifyEmailModal/VerifyEmailModal.js +49 -48
- package/dist/components/VerifyEmailModal/VerifyEmailModal.stories.js +6 -11
- package/dist/components/breakdown/Breakdown.js +38 -36
- package/dist/components/breakdown/index.js +3 -5
- package/dist/components/headerHo/HeaderHo.js +585 -769
- package/dist/components/headerHo/HeaderHo.stories.js +9 -13
- package/dist/components/headerHo/index.js +3 -5
- package/dist/components/icons/Arrow.js +43 -46
- package/dist/components/icons/Arrow.stories.js +7 -14
- package/dist/components/icons/ArrowSimple.js +32 -35
- package/dist/components/icons/ArrowSimple.stories.js +7 -14
- package/dist/components/icons/Check.js +28 -31
- package/dist/components/icons/Check.stories.js +3 -6
- package/dist/components/icons/Facebook.js +11 -14
- package/dist/components/icons/Facebook.stories.js +3 -6
- package/dist/components/icons/Info.js +40 -43
- package/dist/components/icons/Info.stories.js +3 -6
- package/dist/components/icons/Instagram.js +11 -14
- package/dist/components/icons/Instagram.stories.js +3 -6
- package/dist/components/icons/LinkIcon.js +19 -22
- package/dist/components/icons/LinkIcon.stories.js +3 -6
- package/dist/components/icons/LinkedIn.js +28 -31
- package/dist/components/icons/LinkedIn.stories.js +3 -6
- package/dist/components/icons/Medium.js +27 -30
- package/dist/components/icons/Medium.stories.js +3 -6
- package/dist/components/icons/Reddit.js +17 -20
- package/dist/components/icons/Reddit.stories.js +3 -6
- package/dist/components/icons/Share.js +47 -50
- package/dist/components/icons/Share.stories.js +3 -6
- package/dist/components/icons/Telegram.js +27 -30
- package/dist/components/icons/Telegram.stories.js +3 -6
- package/dist/components/icons/Twitter.js +11 -14
- package/dist/components/icons/Twitter.stories.js +3 -6
- package/dist/components/icons/X.js +11 -14
- package/dist/components/icons/X.stories.js +3 -6
- package/dist/components/icons/Youtube.js +11 -14
- package/dist/components/icons/Youtube.stories.js +3 -6
- package/dist/components/icons/index.js +15 -15
- package/dist/components/landing-page/List.js +3 -5
- package/dist/components/landing-page/PageContent.js +5 -7
- package/dist/components/landing-page/PageText.js +12 -16
- package/dist/components/landing-page/PageTitle.js +16 -47
- package/dist/components/logo/Logo.js +49 -71
- package/dist/components/logo/index.js +3 -5
- package/dist/components/renderToBody/index.js +3 -5
- package/dist/components/renderToBody/renderToBody.js +39 -60
- package/dist/components/taxId/TaxId.stories.js +11 -16
- package/dist/components/taxId/complete.js +9 -11
- package/dist/components/taxId/flow.js +22 -34
- package/dist/components/taxId/index.js +4 -4
- package/dist/components/taxId/register-taxid.js +54 -92
- package/dist/components/video/Video.js +69 -84
- package/dist/components/video/Video.stories.js +5 -9
- package/dist/components/video/index.js +3 -5
- package/dist/constants/globalVariables.js +10 -20
- package/dist/constants/style.js +23 -46
- package/dist/context/Auth.js +247 -340
- package/dist/context/AuthContext.js +545 -1023
- package/dist/context/Checkbox/CheckboxContext.js +65 -117
- package/dist/firebase-config.js +4 -6
- package/dist/hooks/useNewVentureForm.js +128 -193
- package/dist/hooks/useTimer.js +29 -51
- package/dist/index.js +134 -134
- package/dist/model/axios.js +4 -5
- package/dist/model/axiosPublic.js +4 -5
- package/dist/services/TimerService.js +70 -89
- package/dist/static/images/copy_icon.svg +4 -0
- package/dist/styles/colors.js +2 -4
- package/dist/styles/fonts.js +3 -4
- package/dist/styles/global.js +3 -4
- package/dist/styles/grid.js +4 -5
- package/dist/styles/reactTippy.js +3 -4
- package/dist/styles/rwd.js +12 -26
- package/dist/styles/semanticUi.js +3 -4
- package/dist/styles/spacing.js +2 -3
- package/dist/styles/theme.js +6 -9
- package/dist/utils/allowed-countries-list.js +2 -3
- package/dist/utils/analytics.js +32 -48
- package/dist/utils/check-sale-time-left.js +37 -39
- package/dist/utils/check-todo-status.js +3 -4
- package/dist/utils/checklistGenerator.js +46 -46
- package/dist/utils/copyToClipboard.js +65 -131
- package/dist/utils/countries-list.js +2 -3
- package/dist/utils/customHooks.js +40 -67
- package/dist/utils/delete-redirect-cookie-and-navigate.js +3 -3
- package/dist/utils/fix-decimals.js +4 -5
- package/dist/utils/formatCurrencyValue.js +41 -52
- package/dist/utils/get-cookie-domain.js +3 -4
- package/dist/utils/get-short-address.js +1 -3
- package/dist/utils/isUSInvestor.js +2 -4
- package/dist/utils/km_ify.js +3 -3
- package/dist/utils/lock-body.js +3 -5
- package/dist/utils/moment.js +10 -12
- package/dist/utils/redirect-url.js +2 -3
- package/dist/utils/saveAs.js +5 -5
- package/dist/utils/scrollUtils.js +33 -36
- package/dist/utils/set-redirect-cookie.js +6 -7
- package/dist/utils/withRouter.js +6 -6
- package/package.json +134 -141
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -9,80 +8,68 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
9
8
|
var _reactRouterDom = require("react-router-dom");
|
|
10
9
|
var _StepsProgress = require("./StepsProgress.styles");
|
|
11
10
|
var _globalVariables = require("../../constants/globalVariables");
|
|
12
|
-
function
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
};
|
|
29
|
-
var items = [{
|
|
11
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
12
|
+
const StepsProgressSignup = props => {
|
|
13
|
+
let navigate = (0, _reactRouterDom.useNavigate)();
|
|
14
|
+
const {
|
|
15
|
+
user
|
|
16
|
+
} = props;
|
|
17
|
+
const {
|
|
18
|
+
country,
|
|
19
|
+
kyc_status,
|
|
20
|
+
taxId,
|
|
21
|
+
wallets = []
|
|
22
|
+
} = user;
|
|
23
|
+
const KYCNotDone = !kyc_status || kyc_status === 'Reaply' || kyc_status === 'Cancelled' || kyc_status === 'Draft';
|
|
24
|
+
const hasLiquidWallet = (wallets === null || wallets === void 0 ? void 0 : wallets.filter(wallet => wallet.type === _globalVariables.walletTypes.LIQUID).length) > 0;
|
|
25
|
+
const isActiveStep = path => window.location.pathname.includes(path);
|
|
26
|
+
const items = [{
|
|
30
27
|
id: 'country',
|
|
31
|
-
handleClick:
|
|
32
|
-
return navigate('/country-of-residence');
|
|
33
|
-
},
|
|
28
|
+
handleClick: () => navigate('/country-of-residence'),
|
|
34
29
|
isDone: !!country,
|
|
35
30
|
isActive: isActiveStep('/country-of-residence')
|
|
36
31
|
}, {
|
|
37
32
|
id: 'verify',
|
|
38
|
-
handleClick:
|
|
39
|
-
return navigate('/verify-identity');
|
|
40
|
-
},
|
|
33
|
+
handleClick: () => navigate('/verify-identity'),
|
|
41
34
|
isDone: !KYCNotDone,
|
|
42
35
|
isActive: isActiveStep('/verify-identity')
|
|
43
36
|
}, {
|
|
44
37
|
id: 'taxId',
|
|
45
|
-
handleClick:
|
|
46
|
-
return navigate('/taxid');
|
|
47
|
-
},
|
|
38
|
+
handleClick: () => navigate('/taxid'),
|
|
48
39
|
isDone: !!taxId,
|
|
49
40
|
isActive: isActiveStep('/taxid')
|
|
50
41
|
}, {
|
|
51
42
|
id: 'ampID',
|
|
52
|
-
handleClick:
|
|
53
|
-
return navigate('/register-liquid-securities');
|
|
54
|
-
},
|
|
43
|
+
handleClick: () => navigate('/register-liquid-securities'),
|
|
55
44
|
isDone: hasLiquidWallet,
|
|
56
45
|
isActive: isActiveStep('/register-liquid-securities')
|
|
57
46
|
}];
|
|
58
|
-
return /*#__PURE__*/_react.default.createElement(_StepsProgress.Container, null, /*#__PURE__*/_react.default.createElement(_StepsProgress.Wrap, null, /*#__PURE__*/_react.default.createElement(_StepsProgress.Items, null, items.map(
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
item.handleClick(item.id);
|
|
66
|
-
}
|
|
47
|
+
return /*#__PURE__*/_react.default.createElement(_StepsProgress.Container, null, /*#__PURE__*/_react.default.createElement(_StepsProgress.Wrap, null, /*#__PURE__*/_react.default.createElement(_StepsProgress.Items, null, items.map((item, key) => /*#__PURE__*/_react.default.createElement(_StepsProgress.Item, {
|
|
48
|
+
key: item.id,
|
|
49
|
+
isDone: item.isDone,
|
|
50
|
+
isActive: item.isActive,
|
|
51
|
+
onClick: () => {
|
|
52
|
+
if (item.handleClick) {
|
|
53
|
+
item.handleClick(item.id);
|
|
67
54
|
}
|
|
68
|
-
}
|
|
69
|
-
}))));
|
|
55
|
+
}
|
|
56
|
+
})))));
|
|
70
57
|
};
|
|
71
58
|
exports.StepsProgressSignup = StepsProgressSignup;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
85
|
-
}))));
|
|
59
|
+
const StepsProgressHeader = _ref => {
|
|
60
|
+
let {
|
|
61
|
+
items,
|
|
62
|
+
doneIndex,
|
|
63
|
+
activeIndex
|
|
64
|
+
} = _ref;
|
|
65
|
+
return /*#__PURE__*/_react.default.createElement(_StepsProgress.Container, null, /*#__PURE__*/_react.default.createElement(_StepsProgress.Wrap, null, /*#__PURE__*/_react.default.createElement(_StepsProgress.Items, null, items === null || items === void 0 ? void 0 : items.map((item, key) => /*#__PURE__*/_react.default.createElement(_StepsProgress.Item, {
|
|
66
|
+
key: item.id,
|
|
67
|
+
isDone: key <= doneIndex,
|
|
68
|
+
isActive: key === activeIndex,
|
|
69
|
+
onClick: () => {
|
|
70
|
+
item.handleClick && item.handleClick(item.id);
|
|
71
|
+
}
|
|
72
|
+
})))));
|
|
86
73
|
};
|
|
87
74
|
|
|
88
75
|
// StepsProgress.propTypes = {
|
|
@@ -92,5 +79,4 @@ exports.StepsProgressHeader = StepsProgressHeader;
|
|
|
92
79
|
StepsProgressSignup.defaultProps = {
|
|
93
80
|
user: {}
|
|
94
81
|
};
|
|
95
|
-
var _default = StepsProgressSignup;
|
|
96
|
-
exports.default = _default;
|
|
82
|
+
var _default = exports.default = StepsProgressSignup;
|
|
@@ -8,44 +8,42 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
8
8
|
var _StepsProgress = require("./StepsProgress");
|
|
9
9
|
var _AuthContext = require("../../context/AuthContext");
|
|
10
10
|
var _reactRouterDom = require("react-router-dom");
|
|
11
|
-
function _interopRequireDefault(
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
12
|
//import { withKnobs, select, boolean, array } from '@storybook/addon-knobs'
|
|
13
|
-
var _default = {
|
|
13
|
+
var _default = exports.default = {
|
|
14
14
|
title: 'Components Library/Steps Progress',
|
|
15
15
|
component: _StepsProgress.StepsProgress
|
|
16
16
|
//decorators: [withKnobs],
|
|
17
17
|
}; //maybe change to args
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
})));
|
|
50
|
-
};
|
|
18
|
+
|
|
19
|
+
const stepsProgress = () => /*#__PURE__*/_react.default.createElement(_reactRouterDom.BrowserRouter, null, /*#__PURE__*/_react.default.createElement(_AuthContext.AuthProvider, null, /*#__PURE__*/_react.default.createElement(_StepsProgress.StepsProgress, {
|
|
20
|
+
user: {
|
|
21
|
+
//country: select('country', ['', 'Austria', 'Brazil']),
|
|
22
|
+
// kyc_status: select('kyc_status', [
|
|
23
|
+
// '',
|
|
24
|
+
// 'Draft',
|
|
25
|
+
// 'Pending',
|
|
26
|
+
// 'Approved',
|
|
27
|
+
// 'Accepted',
|
|
28
|
+
// 'Rejected',
|
|
29
|
+
// 'Denied',
|
|
30
|
+
// 'Escalated',
|
|
31
|
+
// 'In progress',
|
|
32
|
+
// 'Reapply',
|
|
33
|
+
// ]),
|
|
34
|
+
// KYCDocuments: {
|
|
35
|
+
// status: select('KYCDocuments', [
|
|
36
|
+
// '',
|
|
37
|
+
// 'Pending',
|
|
38
|
+
// 'Approved',
|
|
39
|
+
// 'Rejected',
|
|
40
|
+
// ]),
|
|
41
|
+
// },
|
|
42
|
+
// entity_name: select('entity_name', ['', 'Some entity name']),
|
|
43
|
+
// investor_eth_addresses: array('investor_eth_addresses', []),
|
|
44
|
+
// is_risk_questionnaire_finished: boolean(
|
|
45
|
+
// 'is_risk_questionnaire_finished',
|
|
46
|
+
// ),
|
|
47
|
+
}
|
|
48
|
+
})));
|
|
51
49
|
exports.stepsProgress = stepsProgress;
|
|
@@ -8,29 +8,21 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
|
8
8
|
var _rwd = _interopRequireDefault(require("../../styles/rwd"));
|
|
9
9
|
var _colors = _interopRequireDefault(require("../../styles/colors"));
|
|
10
10
|
var _templateObject, _templateObject2;
|
|
11
|
-
function _interopRequireDefault(
|
|
12
|
-
function _taggedTemplateLiteral(
|
|
13
|
-
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
13
|
+
const Container = exports.Container = _styledComponents.default.div.withConfig({
|
|
14
14
|
displayName: "StepsProgressstyles__Container",
|
|
15
15
|
componentId: "sc-1gnllve-0"
|
|
16
16
|
})(["display:block;width:100%;height:100%;"]);
|
|
17
|
-
exports.
|
|
18
|
-
var Wrap = _styledComponents.default.div.withConfig({
|
|
17
|
+
const Wrap = exports.Wrap = _styledComponents.default.div.withConfig({
|
|
19
18
|
displayName: "StepsProgressstyles__Wrap",
|
|
20
19
|
componentId: "sc-1gnllve-1"
|
|
21
20
|
})(["display:block;margin:0 auto;"]);
|
|
22
|
-
exports.
|
|
23
|
-
var Items = _styledComponents.default.div.withConfig({
|
|
21
|
+
const Items = exports.Items = _styledComponents.default.div.withConfig({
|
|
24
22
|
displayName: "StepsProgressstyles__Items",
|
|
25
23
|
componentId: "sc-1gnllve-2"
|
|
26
24
|
})(["display:flex;height:100%;font-size:0;flex-direction:row;flex-wrap:nowrap;justify-content:center;margin:0 -6px;text-align:center;", ""], _rwd.default.Medium(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: block;\n "]))));
|
|
27
|
-
exports.
|
|
28
|
-
var Item = _styledComponents.default.button.withConfig({
|
|
25
|
+
const Item = exports.Item = _styledComponents.default.button.withConfig({
|
|
29
26
|
displayName: "StepsProgressstyles__Item",
|
|
30
27
|
componentId: "sc-1gnllve-3"
|
|
31
|
-
})(["position:relative;display:inline-block;vertical-align:middle;padding:0;flex:1;margin:0 4px;height:32px;max-width:32px;cursor:pointer;&:before{z-index:0;content:'';display:block;width:100%;height:4px;position:absolute;top:14px;left:0;border-radius:3px;box-shadow:inset 0 1px 3px 0 rgba(0,0,0,0.05);background-color:", ";}&:after{z-index:1;content:'';display:block;width:100%;height:4px;position:absolute;top:14px;left:0;border-radius:3px;background-color:transparent;transition:background-color 0.2s;}&:focus{outline:none;}&:hover:after{background-color:", ";}", " ", " ", ""], _colors.default.lightGrey, _colors.default.black,
|
|
32
|
-
return props.isDone && "\n &:after {\n background-color: ".concat(_colors.default.progressGreen, ";\n }\n\n &:hover:after {\n background-color: ").concat(_colors.default.black, ";\n }\n ");
|
|
33
|
-
}, function (props) {
|
|
34
|
-
return props.isActive && "\n &:after {\n background-color: ".concat(_colors.default.grey2, ";\n }\n\n &:hover:after {\n background-color: ").concat(_colors.default.black, ";\n }\n ");
|
|
35
|
-
}, _rwd.default.Medium(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n width: 32px;\n "]))));
|
|
36
|
-
exports.Item = Item;
|
|
28
|
+
})(["position:relative;display:inline-block;vertical-align:middle;padding:0;flex:1;margin:0 4px;height:32px;max-width:32px;cursor:pointer;&:before{z-index:0;content:'';display:block;width:100%;height:4px;position:absolute;top:14px;left:0;border-radius:3px;box-shadow:inset 0 1px 3px 0 rgba(0,0,0,0.05);background-color:", ";}&:after{z-index:1;content:'';display:block;width:100%;height:4px;position:absolute;top:14px;left:0;border-radius:3px;background-color:transparent;transition:background-color 0.2s;}&:focus{outline:none;}&:hover:after{background-color:", ";}", " ", " ", ""], _colors.default.lightGrey, _colors.default.black, props => props.isDone && "\n &:after {\n background-color: ".concat(_colors.default.progressGreen, ";\n }\n\n &:hover:after {\n background-color: ").concat(_colors.default.black, ";\n }\n "), props => props.isActive && "\n &:after {\n background-color: ".concat(_colors.default.grey2, ";\n }\n\n &:hover:after {\n background-color: ").concat(_colors.default.black, ";\n }\n "), _rwd.default.Medium(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n width: 32px;\n "]))));
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -11,24 +10,24 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
11
10
|
var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
12
11
|
var _media = _interopRequireDefault(require("./media"));
|
|
13
12
|
var _templateObject, _templateObject2, _templateObject3;
|
|
14
|
-
function
|
|
15
|
-
function
|
|
16
|
-
function
|
|
17
|
-
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
13
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
14
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
18
16
|
// Render a new image everytime, avoiding jump on the spinning
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
var CenterFullWidth = _styledComponents.default.div.withConfig({
|
|
17
|
+
const loaderGif = exports.loaderGif = "https://res.cloudinary.com/stokr/image/upload/f_auto,q_auto/v1575035788/Static/stokr_loader_white_400x400_egnhgb.gif?a=".concat(Math.random());
|
|
18
|
+
const CenterFullWidth = _styledComponents.default.div.withConfig({
|
|
22
19
|
displayName: "StokrLoader__CenterFullWidth",
|
|
23
20
|
componentId: "sc-1chowhw-0"
|
|
24
21
|
})(["width:100%;height:100%;display:flex;align-items:center;justify-content:center;"]);
|
|
25
22
|
function StokrLoader() {
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
const fadeIn = (0, _styledComponents.keyframes)(["0%{opacity:0;}60%{opacity:1;}100%{opacity:1;}"]);
|
|
24
|
+
const StyledStokrLoader = _styledComponents.default.div.withConfig({
|
|
28
25
|
displayName: "StokrLoader__StyledStokrLoader",
|
|
29
26
|
componentId: "sc-1chowhw-1"
|
|
30
|
-
})(["align-items:center;animation:", " 1.8s ease-in-out forwards;background:rgb(254,254,254);display:flex;height:100vh;justify-content:center;left:0;position:fixed;top:0;width:100vw;z-index:1000;", " ", ";", ";", ";"], fadeIn,
|
|
31
|
-
|
|
27
|
+
})(["align-items:center;animation:", " 1.8s ease-in-out forwards;background:rgb(254,254,254);display:flex;height:100vh;justify-content:center;left:0;position:fixed;top:0;width:100vw;z-index:1000;", " ", ";", ";", ";"], fadeIn, _ref => {
|
|
28
|
+
let {
|
|
29
|
+
noFullscreen
|
|
30
|
+
} = _ref;
|
|
32
31
|
return noFullscreen && "\n height: calc(100vh - 97px);\n bottom: 0;\n top: unset;\n ";
|
|
33
32
|
}, _media.default.mobileS(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n img {\n height: 15rem;\n width: 15rem;\n }\n "]))), _media.default.mobile(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n img {\n height: 18rem;\n width: 18rem;\n }\n "]))), _media.default.tablet(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n img {\n height: 30rem;\n width: 30rem;\n }\n "]))));
|
|
34
33
|
return /*#__PURE__*/_react.default.createElement(StyledStokrLoader, null, /*#__PURE__*/_react.default.createElement("img", {
|
|
@@ -36,8 +35,10 @@ function StokrLoader() {
|
|
|
36
35
|
alt: "\xA0"
|
|
37
36
|
}));
|
|
38
37
|
}
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
const StokrLoaderBox = _ref2 => {
|
|
39
|
+
let {
|
|
40
|
+
noFullscreen
|
|
41
|
+
} = _ref2;
|
|
41
42
|
return /*#__PURE__*/_react.default.createElement(CenterFullWidth, {
|
|
42
43
|
noFullscreen: noFullscreen
|
|
43
44
|
}, /*#__PURE__*/_react.default.createElement("img", {
|
|
@@ -46,15 +47,12 @@ var StokrLoaderBox = function StokrLoaderBox(_ref2) {
|
|
|
46
47
|
}));
|
|
47
48
|
};
|
|
48
49
|
exports.StokrLoaderBox = StokrLoaderBox;
|
|
49
|
-
|
|
50
|
-
|
|
50
|
+
const fadeInOut = (0, _styledComponents.keyframes)(["50%{color:transparent;}"]);
|
|
51
|
+
const AnimatedSpan = exports.AnimatedSpan = _styledComponents.default.div.withConfig({
|
|
51
52
|
displayName: "StokrLoader__AnimatedSpan",
|
|
52
53
|
componentId: "sc-1chowhw-2"
|
|
53
|
-
})(["margin:0;display:inline-block;span{animation:", " 1s infinite;font-size:", "px;}span[data-order='1']{animation-delay:250ms;}span[data-order='2']{animation-delay:500ms;}"], fadeInOut,
|
|
54
|
-
|
|
55
|
-
});
|
|
56
|
-
exports.AnimatedSpan = AnimatedSpan;
|
|
57
|
-
var LoadingDots = function LoadingDots(props) {
|
|
54
|
+
})(["margin:0;display:inline-block;span{animation:", " 1s infinite;font-size:", "px;}span[data-order='1']{animation-delay:250ms;}span[data-order='2']{animation-delay:500ms;}"], fadeInOut, props => props.fontSize || 20);
|
|
55
|
+
const LoadingDots = props => {
|
|
58
56
|
return /*#__PURE__*/_react.default.createElement(AnimatedSpan, props, /*#__PURE__*/_react.default.createElement("span", {
|
|
59
57
|
"data-order": "0"
|
|
60
58
|
}, "."), /*#__PURE__*/_react.default.createElement("span", {
|
|
@@ -64,5 +62,4 @@ var LoadingDots = function LoadingDots(props) {
|
|
|
64
62
|
}, "."));
|
|
65
63
|
};
|
|
66
64
|
exports.LoadingDots = LoadingDots;
|
|
67
|
-
var _default = StokrLoader;
|
|
68
|
-
exports.default = _default;
|
|
65
|
+
var _default = exports.default = StokrLoader;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.sizes = exports.default = void 0;
|
|
7
7
|
var _styledComponents = require("styled-components");
|
|
8
8
|
// https://github.com/Semantic-Org/Semantic-UI/blob/master/src/themes/default/globals/site.variables
|
|
9
|
-
|
|
9
|
+
const sizes = exports.sizes = {
|
|
10
10
|
widescreen: 1920,
|
|
11
11
|
default: 1440,
|
|
12
12
|
large: 1200,
|
|
@@ -15,13 +15,11 @@ var sizes = {
|
|
|
15
15
|
mobile: 375,
|
|
16
16
|
mobileS: 320
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
var emSize = sizes[label] / 16;
|
|
18
|
+
const media = Object.keys(sizes).reduce((accumulator, label) => {
|
|
19
|
+
const emSize = sizes[label] / 16;
|
|
21
20
|
accumulator[label] = function () {
|
|
22
|
-
return (0, _styledComponents.css)(["@media (min-width:", "em){", ";}"], emSize, _styledComponents.css
|
|
21
|
+
return (0, _styledComponents.css)(["@media (min-width:", "em){", ";}"], emSize, (0, _styledComponents.css)(...arguments));
|
|
23
22
|
};
|
|
24
23
|
return accumulator;
|
|
25
24
|
}, {});
|
|
26
|
-
var _default = media;
|
|
27
|
-
exports.default = _default;
|
|
25
|
+
var _default = exports.default = media;
|
|
@@ -5,22 +5,19 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
function _interopRequireDefault(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
25
|
-
var _default = AdminBadgeSvg;
|
|
26
|
-
exports.default = _default;
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
+
const AdminBadgeSvg = () => /*#__PURE__*/_react.default.createElement("svg", {
|
|
10
|
+
version: "1.1",
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
viewBox: "0 0 15.475 19.243",
|
|
13
|
+
width: "15.475",
|
|
14
|
+
height: "19.243",
|
|
15
|
+
style: {
|
|
16
|
+
width: '16px',
|
|
17
|
+
height: '20px'
|
|
18
|
+
}
|
|
19
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
20
|
+
transform: "translate(-27 -21.8)",
|
|
21
|
+
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"
|
|
22
|
+
}));
|
|
23
|
+
var _default = exports.default = AdminBadgeSvg;
|
|
@@ -5,32 +5,29 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
function _interopRequireDefault(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
};
|
|
35
|
-
var _default = CameraSvg;
|
|
36
|
-
exports.default = _default;
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
+
const CameraSvg = () => /*#__PURE__*/_react.default.createElement("svg", {
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
width: "52",
|
|
12
|
+
height: "52"
|
|
13
|
+
}, /*#__PURE__*/_react.default.createElement("g", {
|
|
14
|
+
"data-name": "Group 5"
|
|
15
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
16
|
+
"data-name": "Stroke 1",
|
|
17
|
+
d: "M50 26A24 24 0 1 1 26 2a24 24 0 0 1 24 24z",
|
|
18
|
+
fill: "none",
|
|
19
|
+
stroke: "#9b9b9b",
|
|
20
|
+
strokeMiterlimit: "10",
|
|
21
|
+
strokeWidth: "4"
|
|
22
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
23
|
+
"data-name": "Stroke 3",
|
|
24
|
+
d: "M35 26a9 9 0 1 1-9-9 9 9 0 0 1 9 9z",
|
|
25
|
+
fill: "none",
|
|
26
|
+
stroke: "#9b9b9b",
|
|
27
|
+
strokeMiterlimit: "10",
|
|
28
|
+
strokeWidth: "4"
|
|
29
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
30
|
+
fill: "#fff",
|
|
31
|
+
d: "M14 12h12v13H14z"
|
|
32
|
+
})));
|
|
33
|
+
var _default = exports.default = CameraSvg;
|
|
@@ -5,27 +5,24 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
function _interopRequireDefault(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
};
|
|
30
|
-
var _default = CapsLockSvg;
|
|
31
|
-
exports.default = _default;
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
+
const CapsLockSvg = () => /*#__PURE__*/_react.default.createElement("svg", {
|
|
10
|
+
version: "1.1",
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
width: "6.843",
|
|
13
|
+
height: "8.904",
|
|
14
|
+
viewBox: "0 0 6.843 8.904",
|
|
15
|
+
style: {
|
|
16
|
+
width: '7px',
|
|
17
|
+
height: '9px'
|
|
18
|
+
}
|
|
19
|
+
}, /*#__PURE__*/_react.default.createElement("g", {
|
|
20
|
+
transform: "translate(-.081 -.087)"
|
|
21
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
+
transform: "translate(1.778 7.699)",
|
|
23
|
+
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"
|
|
24
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
25
|
+
transform: "translate(.081 .087)",
|
|
26
|
+
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"
|
|
27
|
+
})));
|
|
28
|
+
var _default = exports.default = CapsLockSvg;
|
|
@@ -5,31 +5,28 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
function _interopRequireDefault(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
};
|
|
34
|
-
var _default = DocumentBackSvg;
|
|
35
|
-
exports.default = _default;
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
+
const DocumentBackSvg = () => /*#__PURE__*/_react.default.createElement("svg", {
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
width: "102.307",
|
|
12
|
+
height: "62.607"
|
|
13
|
+
}, /*#__PURE__*/_react.default.createElement("g", {
|
|
14
|
+
"data-name": "Card Illustration",
|
|
15
|
+
fill: "none",
|
|
16
|
+
stroke: "#9b9b9b",
|
|
17
|
+
strokeMiterlimit: "10",
|
|
18
|
+
strokeWidth: "3"
|
|
19
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
20
|
+
"data-name": "Stroke 7",
|
|
21
|
+
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"
|
|
22
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
23
|
+
"data-name": "Stroke 13",
|
|
24
|
+
d: "M10.51 42.74h77.628"
|
|
25
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
26
|
+
"data-name": "Stroke 15",
|
|
27
|
+
d: "M10.51 49.671h77.628"
|
|
28
|
+
})), /*#__PURE__*/_react.default.createElement("path", {
|
|
29
|
+
fill: "#fff",
|
|
30
|
+
d: "M96.762 13.976h5.545v13.169h-5.545z"
|
|
31
|
+
}));
|
|
32
|
+
var _default = exports.default = DocumentBackSvg;
|