@stokr/components-library 0.5.4 → 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/asset-manifest.json +9 -0
- package/build/favicon.ico +0 -0
- package/build/index.html +1 -0
- package/build/logo192.png +0 -0
- package/build/logo512.png +0 -0
- package/build/manifest.json +25 -0
- package/build/robots.txt +3 -0
- package/build/static/js/main.31d6cfe0.js +0 -0
- package/dist/AccountBalance/AccountBalance.js +43 -0
- package/dist/AccountBalance/AccountBalance.stories.js +75 -0
- package/dist/AccountBalance/AccountBalance.styles.js +38 -0
- package/dist/AdminDashboard/Table/Table.js +120 -0
- package/dist/AdminDashboard/Table/Table.styles.js +111 -0
- package/dist/AgreementItem/AgreementItem.js +38 -0
- package/dist/AgreementItem/AgreementItem.stories.js +98 -0
- package/dist/AgreementItem/AgreementItem.styles.js +31 -0
- package/dist/AnalyticGraphs/Analytic.js +528 -0
- package/dist/AnalyticGraphs/Analytic.styles.js +49 -0
- package/dist/BackButton/BackButton.js +22 -0
- package/dist/BackButton/BackButton.stories.js +24 -0
- package/dist/BackButton/BackButton.styles.js +110 -0
- package/dist/Background/Background.js +34 -0
- package/dist/Background/Background.stories.js +50 -0
- package/dist/Background/Background.styles.js +113 -0
- package/dist/BarChart/BarChart.js +258 -0
- package/dist/BarChart/BarChart.stories.js +46 -0
- package/dist/BarChart/BarChart.styles.js +93 -0
- package/dist/BarChartLegend/BarChartLegend.js +74 -0
- package/dist/BarChartLegend/BarChartLegend.styles.js +26 -0
- package/dist/BasicTable/BasicTable.js +20 -0
- package/dist/BasicTable/BasicTable.stories.js +51 -0
- package/dist/BasicTable/BasicTable.styles.js +64 -0
- package/dist/Button/Button.stories.js +63 -0
- package/dist/Button/Button.styles.js +180 -0
- package/dist/ButtonContainer/ButtonContainer.styles.js +25 -0
- package/dist/CapitalRaisedSummary/CapitalRaisedSummery.stories.js +35 -0
- package/dist/CapitalRaisedSummary/CaptialRaisedSummary.js +23 -0
- package/dist/CapitalRaisedSummary/CaptialRaisedSummary.styles.js +36 -0
- package/dist/ChartBox/ChartBox.js +34 -0
- package/dist/ChartBox/ChartBox.stories.js +9 -0
- package/dist/ChartBox/ChartBox.styles.js +50 -0
- package/dist/ChartBox/ChartBoxDistribution.js +20 -0
- package/dist/ChartBox/ChartBoxDistribution.stories.js +10 -0
- package/dist/ChartLegend/ChartLegend.js +37 -0
- package/dist/ChartLegend/ChartLegend.stories.js +74 -0
- package/dist/ChartLegend/ChartLegend.styles.js +67 -0
- package/dist/Checkbox/Checkbox.js +108 -0
- package/dist/Checkbox/Checkbox.stories.js +82 -0
- package/dist/Checkbox/Checkbox.styles.js +123 -0
- package/dist/Checklist/UserChecklist.js +247 -0
- package/dist/Checklist/UserChecklist.stories.js +115 -0
- package/dist/ComponentScroll/ComponentScroll.js +99 -0
- package/dist/ComponentScroll/ComponentScroll.stories.js +92 -0
- package/dist/ComponentScroll/ComponentScroll.styles.js +104 -0
- package/dist/ComponentWrapper/ComponentWrapper.styles.js +128 -0
- package/dist/CryptoAddress/ComponentWrap.js +24 -0
- package/dist/CryptoAddress/CryptoAddress.js +124 -0
- package/dist/CryptoAddress/CryptoAddress.stories.js +163 -0
- package/dist/CryptoAddress/CryptoAddress.styles.js +399 -0
- package/dist/CryptoAddress/RadioWrap.js +36 -0
- package/dist/CryptoAddressDetails/CryptoAddressDetails.js +42 -0
- package/dist/CryptoAddressDetails/CryptoAddressDetails.stories.js +65 -0
- package/dist/CryptoAddressDetails/CryptoAddressDetails.styles.js +114 -0
- package/dist/CryptoAddressWrapper/CryptoAddressWrapper.js +30 -0
- package/dist/CryptoAddressWrapper/CryptoAddressWrapper.styles.js +98 -0
- package/dist/DonutChart/DonutChart.js +137 -0
- package/dist/DonutChart/DonutChart.stories.js +39 -0
- package/dist/DonutChart/DonutChart.styles.js +101 -0
- package/dist/DoubleButton/DoubleButton.styles.js +25 -0
- package/dist/ErrorMessage/ErrorMessage.styles.js +9 -0
- package/dist/FAQ/FAQ.js +40 -0
- package/dist/FAQ/FAQ.stories.js +63 -0
- package/dist/FAQ/FAQ.styles.js +69 -0
- package/dist/Footer/Footer.js +54 -0
- package/dist/Footer/Footer.stories.js +41 -0
- package/dist/Footer/Footer.styles.js +230 -0
- package/dist/Footer/FooterLayout.js +114 -0
- package/dist/Footer/FooterLayout.stories.js +20 -0
- package/dist/Footer/FooterMenu.js +83 -0
- package/dist/Footer/FooterMenu.stories.js +110 -0
- package/dist/Footer/FooterMenu.styles.js +274 -0
- package/dist/Footer/index.js +4 -0
- package/dist/{03f9f978feb2b015b6812ba10f689967.png → Footer/lemonway.png} +0 -0
- package/dist/Footer/sicos-logo.svg +1 -0
- package/dist/ForgotPasswordModal/ForgotPasswordModal.js +89 -0
- package/dist/ForgotPasswordModal/ForgotPasswordModal.stories.js +31 -0
- package/dist/Form/Form.js +38 -0
- package/dist/Form/Form.stories.js +23 -0
- package/dist/Form/Form.styles.js +66 -0
- package/dist/FullscreenCard/FullscreenCard.styles.js +36 -0
- package/dist/Grid/Grid.styles.js +109 -0
- package/dist/Header/Header.js +369 -0
- package/dist/Header/Header.stories.js +172 -0
- package/dist/Header/Header.styles.js +493 -0
- package/dist/Icon/Icon.style.js +75 -0
- package/dist/InfoIcon/InfoIcon.js +40 -0
- package/dist/InfoIcon/InfoIcon.stories.js +40 -0
- package/dist/InfoIcon/InfoIcon.styles.js +42 -0
- package/dist/InfoPanel/InfoPanel.js +115 -0
- package/dist/Input/DatePickerInput.js +64 -0
- package/dist/Input/DatePickerInput.stories.js +80 -0
- package/dist/Input/DatePickerInput.styles.js +67 -0
- package/dist/Input/Input.js +86 -0
- package/dist/Input/Input.stories.js +134 -0
- package/dist/Input/Input.styles.js +126 -0
- package/dist/Input/InputPassword.js +122 -0
- package/dist/Input/InputPassword.stories.js +72 -0
- package/dist/Input/InputPassword.styles.js +139 -0
- package/dist/Input/RangeInput.js +46 -0
- package/dist/Input/RangeInput.stories.js +48 -0
- package/dist/Input/RangeInput.styles.js +125 -0
- package/dist/Input/Select.js +130 -0
- package/dist/Input/Select.stories.js +129 -0
- package/dist/Input/Select.styles.js +143 -0
- package/dist/InvestCalculator/InvestCalculator.js +353 -0
- package/dist/InvestCalculator/InvestCalculator.stories.js +129 -0
- package/dist/InvestCalculator/InvestCalculator.styles.js +78 -0
- package/dist/InvestmentStat/InvestmentStat.js +33 -0
- package/dist/InvestmentStat/InvestmentStat.stories.js +44 -0
- package/dist/InvestmentStat/InvestmentStat.styles.js +53 -0
- package/dist/KYCFlow/BasicInfo.js +396 -0
- package/dist/KYCFlow/Confirmation.js +37 -0
- package/dist/KYCFlow/DocumentFileUpload.js +240 -0
- package/dist/KYCFlow/DocumentScan.js +66 -0
- package/dist/KYCFlow/DocumentScanUpload.js +228 -0
- package/dist/KYCFlow/DocumentSelect.js +101 -0
- package/dist/KYCFlow/DocumentSuccess.js +54 -0
- package/dist/KYCFlow/DocumentUpload.js +44 -0
- package/dist/KYCFlow/DocumentVerificationType.js +114 -0
- package/dist/KYCFlow/FaceScan.js +45 -0
- package/dist/KYCFlow/FaceScanRecognition.js +52 -0
- package/dist/KYCFlow/FaceScanSuccess.js +47 -0
- package/dist/KYCFlow/Terms.js +99 -0
- package/dist/KYCFlow/_styles.js +284 -0
- package/dist/KYCFlow/index.js +14 -0
- package/dist/KYCSelectBox/KYCSelectBox.styles.js +62 -0
- package/dist/LatestUpdate/LatestUpdate.js +35 -0
- package/dist/LatestUpdate/LatestUpdate.stories.js +51 -0
- package/dist/LatestUpdate/LatestUpdate.styles.js +77 -0
- package/dist/Layout/Layout-func-no-work.js +67 -0
- package/dist/Layout/Layout.js +68 -0
- package/dist/Layout/Layout.stories.js +55 -0
- package/dist/LearnMoreCarousel/LearnMoreCarousel.js +39 -0
- package/dist/LearnMoreCarousel/LearnMoreCarousel.stories.js +58 -0
- package/dist/LearnMoreCarousel/LearnMoreCarousel.styles.js +205 -0
- package/dist/LearnMorePage/LearnMore.js +199 -0
- package/dist/LearnMorePage/LearnMore.shared.styles.js +49 -0
- package/dist/LearnMorePage/LearnMore.stories.js +41 -0
- package/dist/LearnMorePage/LearnMore.styles.js +250 -0
- package/dist/LearnMorePage/LearnMoreExampleObject.js +102 -0
- package/dist/LearnMorePage/LearnMoreItem.js +73 -0
- package/dist/LearnMorePage/LearnMoreItem.stories.js +54 -0
- package/dist/LearnMorePage/LearnMoreItem.styles.js +218 -0
- package/dist/LearnMoreSection/LearnMore.js +158 -0
- package/dist/LearnMoreSection/LearnMore.stories.js +23 -0
- package/dist/LearnMoreSection/LearnMore.styles.js +134 -0
- package/dist/LearnMoreSection/LearnMoreItem.js +39 -0
- package/dist/LearnMoreSection/LearnMoreItem.stories.js +52 -0
- package/dist/LearnMoreSection/LearnMoreItem.styles.js +54 -0
- package/dist/LoginModal/LoginModal.js +125 -0
- package/dist/MainMenu/DynamicMainMenu.js +41 -0
- package/dist/MainMenu/MainMenu.js +207 -0
- package/dist/MainMenu/MainMenu.styles.js +361 -0
- package/dist/MatomoConnect/Matomo.js +221 -0
- package/dist/MatomoConnect/Matomo_fuckup.js +185 -0
- package/dist/MenuNav/MenuNav.styles.js +88 -0
- package/dist/Modal/Modal.js +71 -0
- package/dist/Modal/Modal.stories.js +67 -0
- package/dist/Modal/Modal.styles.js +407 -0
- package/dist/MultiProgressBar/MultiProgressBar.js +33 -0
- package/dist/MultiProgressBar/MultiProgressBar.stories.js +61 -0
- package/dist/MultiProgressBar/MultiProgressBar.styles.js +92 -0
- package/dist/Newsletter/Newsletter.js +106 -0
- package/dist/Newsletter/Newsletter.stories.js +8 -0
- package/dist/Newsletter/Newsletter.styles.js +173 -0
- package/dist/NotificationContext/NotificationContext.js +126 -0
- package/dist/NotificationContext/NotificationContext.stories.js +32 -0
- package/dist/NotificationCounter/NotificationCounter.styles.js +23 -0
- package/dist/Number/Number.js +25 -0
- package/dist/Number/Number.stories.js +18 -0
- package/dist/Number/Number.styles.js +21 -0
- package/dist/PageTransition/PageTransition.js +42 -0
- package/dist/Process/Process.stories.js +34 -0
- package/dist/Process/Process.styles.js +87 -0
- package/dist/ProfileBadge/ProfileBadge.js +46 -0
- package/dist/ProfileBadge/ProfileBadge.stories.js +37 -0
- package/dist/ProfileBadge/ProfileBadge.styles.js +47 -0
- package/dist/ProfileBox/ProfileBox.js +29 -0
- package/dist/ProfileBox/ProfileBox.stories.js +27 -0
- package/dist/ProfileBox/ProfileBox.styles.js +60 -0
- package/dist/ProfileHeader/ProfileHeader-CLb4.js +401 -0
- package/dist/ProfileHeader/ProfileHeader.js +268 -0
- package/dist/ProfileHeader/ProfileHeader.styles.js +114 -0
- package/dist/ProfileStat/ProfileStat.js +32 -0
- package/dist/ProfileStat/ProfileStat.stories.js +58 -0
- package/dist/ProfileStat/ProfileStat.styles.js +80 -0
- package/dist/ProofOfAddress/ProofOfAddress.styles.js +76 -0
- package/dist/ROI/ROI.js +261 -0
- package/dist/ROI/ROI.styles.js +71 -0
- package/dist/ROI/ROIChart.js +348 -0
- package/dist/ROI/ROIChart.styles.js +98 -0
- package/dist/ROI/ROIModal.js +74 -0
- package/dist/ROI/ROIScenarioBox.js +46 -0
- package/dist/ROI/ROIScenarioBox.styles.js +131 -0
- package/dist/Radio/Radio.js +58 -0
- package/dist/Radio/Radio.stories.js +65 -0
- package/dist/Radio/Radio.styles.js +93 -0
- package/dist/RefreshButton/RefreshButton.js +14 -0
- package/dist/RefreshButton/RefreshButton.stories.js +29 -0
- package/dist/RefreshButton/RefreshButton.styles.js +57 -0
- package/dist/RegisterAlgorand/AlgoAddressName.js +103 -0
- package/dist/RegisterAlgorand/AlgoAdressSelect.js +274 -0
- package/dist/RegisterAlgorand/AlgoConnectWallet.js +37 -0
- package/dist/RegisterAlgorand/AlgoSuccess.js +28 -0
- package/dist/RegisterAlgorand/Algorand.stories.js +61 -0
- package/dist/RegisterAlgorand/ChooseWallet.js +77 -0
- package/dist/RegisterAlgorand/SelectProject.js +77 -0
- package/dist/RegisterAlgorand/_styles.js +30 -0
- package/dist/RegisterAlgorand/flow.js +243 -0
- package/dist/RegisterAlgorand/flowWithMemo.js +244 -0
- package/dist/RegisterAlgorand/index.js +7 -0
- package/dist/RegisterConfirmModal/RegisterConfirmModal.js +30 -0
- package/dist/RegisterConfirmModal/RegisterConfirmModal.stories.js +22 -0
- package/dist/RegisterConfirmModal/RegisterConfirmModal.styles.js +19 -0
- package/dist/RegisterEthereum/EthAddressLedger.js +151 -0
- package/dist/RegisterEthereum/EthAddressMetamask.js +165 -0
- package/dist/RegisterEthereum/EthAddressName.js +101 -0
- package/dist/RegisterEthereum/EthConnectLedger.js +117 -0
- package/dist/RegisterEthereum/EthConnectMetamask.js +25 -0
- package/dist/RegisterEthereum/EthFinish.js +32 -0
- package/dist/RegisterEthereum/EthIntro.js +77 -0
- package/dist/RegisterEthereum/_styles.js +30 -0
- package/dist/RegisterEthereum/index.js +9 -0
- package/dist/RegisterLiquidSteps/RegisterLiquidSteps.js +75 -0
- package/dist/RegisterLiquidSteps/RegisterLiquidSteps.stories.js +65 -0
- package/dist/RegisterLiquidSteps/RegisterLiquidSteps.styles.js +69 -0
- package/dist/RegisterLiquidSteps/assets/nav_green.svg +31 -0
- package/dist/RegisterLiquidSteps/assets/video.mp4 +0 -0
- package/dist/RegisterLiquidSteps/assets/videothumbnail.jpg +0 -0
- package/dist/RegisterLiquidSteps/complete.js +29 -0
- package/dist/RegisterLiquidSteps/flow.js +141 -0
- package/dist/RegisterLiquidSteps/index.js +29 -0
- package/dist/RegisterLiquidSteps/register-liquid.js +197 -0
- package/dist/RegisterModal/RegisterModal.js +143 -0
- package/dist/RegisterModal/RegisterModal.stories.js +35 -0
- package/dist/RequestDataBox/RequestDataBox.js +21 -0
- package/dist/RequestDataBox/RequestDataBox.stories.js +29 -0
- package/dist/RequestDataBox/RequestDataBox.styles.js +40 -0
- package/dist/RiskQuestionnaire/RiskQuestionnaireContext.js +111 -0
- package/dist/RiskQuestionnaire/_styles.js +6 -0
- package/dist/SEO/SEO.js +63 -0
- package/dist/SEO/SEO.stories.js +53 -0
- package/dist/SectionTitle/SectionTitle.styles.js +23 -0
- package/dist/SideLine/SideLine.js +4 -0
- package/dist/SideLine/SideLine.stories.js +20 -0
- package/dist/SideLine/SideLine.styles.js +29 -0
- package/dist/SigningSubflow/SignSubAddressMetamask.js +105 -0
- package/dist/SigningSubflow/SignSubConnectLedger.js +114 -0
- package/dist/SigningSubflow/SignSubConnectMetamask.js +101 -0
- package/dist/SigningSubflow/SignSubIntro.js +45 -0
- package/dist/SigningSubflow/SignSubSendLedger.js +114 -0
- package/dist/SigningSubflow/SignSubSendMetamask.js +53 -0
- package/dist/SigningSubflow/SignSubTransactionLedger.js +125 -0
- package/dist/SigningSubflow/SignSubTransactionMetamask.js +130 -0
- package/dist/SigningSubflow/_styles.js +59 -0
- package/dist/SigningSubflow/index.js +9 -0
- package/dist/Slider/Slider.js +43 -0
- package/dist/Slider/Slider.stories.js +63 -0
- package/dist/Slider/Slider.styles.js +115 -0
- package/dist/SpanButton/SpanButton.styles.js +14 -0
- package/dist/StatusBadge/StatusBadge.styles.js +16 -0
- package/dist/StepController/StepController.js +73 -0
- package/dist/StepController/StepController.stories.js +52 -0
- package/dist/StepController/StepController.styles.js +27 -0
- package/dist/StepController/StepControllerContext.js +61 -0
- package/dist/StepController/StepControllerProgress.js +28 -0
- package/dist/StepController/StepControllerProgress.stories.js +41 -0
- package/dist/StepsProgress/StepsProgress.js +95 -0
- package/dist/StepsProgress/StepsProgress.stories.js +23 -0
- package/dist/StepsProgress/StepsProgress.styles.js +97 -0
- package/dist/StokrLoader/StokrLoader.js +60 -0
- package/dist/StokrLoader/media.js +22 -0
- package/dist/StokrLoader/stokr_loader_white_400x400.gif +0 -0
- package/dist/SvgIcons/AdminBadgeSvg.js +16 -0
- package/dist/SvgIcons/CameraSvg.js +26 -0
- package/dist/SvgIcons/CapsLockSvg.js +21 -0
- package/dist/SvgIcons/DocumentBackSvg.js +25 -0
- package/dist/SvgIcons/DocumentSmallSvg.js +51 -0
- package/dist/SvgIcons/DocumentSvg.js +28 -0
- package/dist/SvgIcons/Early.js +14 -0
- package/dist/SvgIcons/EthSvg.js +30 -0
- package/dist/SvgIcons/EurSvg.js +16 -0
- package/dist/SvgIcons/FaceScanIconSvg.js +21 -0
- package/dist/SvgIcons/FourSvg.js +11 -0
- package/dist/SvgIcons/Glassess.js +19 -0
- package/dist/SvgIcons/Icons_Badge.png +0 -0
- package/dist/SvgIcons/LogoSvg.js +14 -0
- package/dist/SvgIcons/OneSvg.js +13 -0
- package/dist/SvgIcons/PassportSvg.js +46 -0
- package/dist/SvgIcons/RefreshSvg.js +17 -0
- package/dist/SvgIcons/SocialFacebook.js +15 -0
- package/dist/SvgIcons/SocialInstagram.js +15 -0
- package/dist/SvgIcons/SocialLinkedIn.js +15 -0
- package/dist/SvgIcons/SocialMedium.js +15 -0
- package/dist/SvgIcons/SocialReddit.js +15 -0
- package/dist/SvgIcons/SocialTelegram.js +15 -0
- package/dist/SvgIcons/SocialTwitter.js +15 -0
- package/dist/SvgIcons/SocialYoutube.js +15 -0
- package/dist/SvgIcons/ThreeSvg.js +10 -0
- package/dist/SvgIcons/TwoSidedDocumentSvg.js +72 -0
- package/dist/SvgIcons/TwoSvg.js +13 -0
- package/dist/SvgIcons/UpdateDefaultSvg.js +19 -0
- package/dist/SvgIcons/UpdateHardSvg.js +15 -0
- package/dist/SvgIcons/UpdateSoftSvg.js +17 -0
- package/dist/SvgIcons/UploadSvg.js +24 -0
- package/dist/SvgIcons/VerifiedBadge.js +13 -0
- package/dist/SvgIcons/index.js +32 -0
- package/dist/Switch/Switch.js +45 -0
- package/dist/Switch/Switch.stories.js +73 -0
- package/dist/Switch/Switch.styles.js +105 -0
- package/dist/Tabs/Tabs.js +48 -0
- package/dist/Tabs/Tabs.stories.js +28 -0
- package/dist/Tabs/Tabs.styles.js +11 -0
- package/dist/TabsNav/TabNav.js +21 -0
- package/dist/TabsNav/TabNav.stories.js +32 -0
- package/dist/TabsNav/TabsNav.js +23 -0
- package/dist/TabsNav/TabsNav.stories.js +25 -0
- package/dist/TabsNav/TabsNav.styles.js +80 -0
- package/dist/TeamOverview/TeamOverview.js +69 -0
- package/dist/TeamOverview/TeamOverview.stories.js +68 -0
- package/dist/TeamOverview/TeamOverview.styles.js +152 -0
- package/dist/Text/Headline.js +34 -0
- package/dist/Text/Headline.stories.js +40 -0
- package/dist/Text/StyledText.js +30 -0
- package/dist/Text/Text.stories.js +59 -0
- package/dist/Text/Text.styles.js +166 -0
- package/dist/TextLink/TextLink.styles.js +50 -0
- package/dist/ToDoList/ToDoList.js +172 -0
- package/dist/ToDoList/ToDoList.stories.js +123 -0
- package/dist/ToDoList/ToDoList.styles.js +115 -0
- package/dist/ToDoList/ToDoListTask.js +96 -0
- package/dist/ToDoList/ToDoListTask.stories.js +60 -0
- package/dist/ToDoList/ToDoListTask.styles.js +104 -0
- package/dist/TransactionDetails/TransactionDetails.js +27 -0
- package/dist/TransactionDetails/TransactionDetails.stories.js +47 -0
- package/dist/TransactionDetails/TransactionDetails.styles.js +31 -0
- package/dist/TransactionInfo/TransactionInfo.js +48 -0
- package/dist/TransactionInfo/TransactionInfo.stories.js +53 -0
- package/dist/TransactionInfo/TransactionInfo.styles.js +64 -0
- package/dist/TwoFactorModal/TwoFactorModal.js +84 -0
- package/dist/breakdown/Breakdown.js +124 -0
- package/dist/breakdown/index.js +2 -0
- package/dist/context/Auth.js +133 -0
- package/dist/context/AuthContext.js +154 -0
- package/dist/icons/Arrow.js +62 -0
- package/dist/icons/Arrow.stories.js +37 -0
- package/dist/icons/ArrowSimple.js +51 -0
- package/dist/icons/ArrowSimple.stories.js +41 -0
- package/dist/icons/Check.js +29 -0
- package/dist/icons/Check.stories.js +14 -0
- package/dist/icons/Facebook.js +15 -0
- package/dist/icons/Facebook.stories.js +15 -0
- package/dist/icons/Info.js +41 -0
- package/dist/icons/Info.stories.js +8 -0
- package/dist/icons/Instagram.js +15 -0
- package/dist/icons/Instagram.stories.js +15 -0
- package/dist/icons/LinkIcon.js +23 -0
- package/dist/icons/LinkIcon.stories.js +15 -0
- package/dist/icons/LinkedIn.js +29 -0
- package/dist/icons/LinkedIn.stories.js +8 -0
- package/dist/icons/Medium.js +28 -0
- package/dist/icons/Medium.stories.js +8 -0
- package/dist/icons/Reddit.js +18 -0
- package/dist/icons/Reddit.stories.js +15 -0
- package/dist/icons/Share.js +48 -0
- package/dist/icons/Share.stories.js +8 -0
- package/dist/icons/Telegram.js +28 -0
- package/dist/icons/Telegram.stories.js +8 -0
- package/dist/icons/Twitter.js +15 -0
- package/dist/icons/Twitter.stories.js +15 -0
- package/dist/icons/X.js +15 -0
- package/dist/icons/X.stories.js +8 -0
- package/dist/icons/Youtube.js +15 -0
- package/dist/icons/Youtube.stories.js +15 -0
- package/dist/icons/index.js +15 -0
- package/dist/index.js +177 -1
- package/dist/renderToBody/index.js +2 -0
- package/dist/renderToBody/renderToBody.js +26 -0
- package/dist/taxId/TaxId.stories.js +29 -0
- package/dist/taxId/complete.js +21 -0
- package/dist/taxId/flow.js +31 -0
- package/dist/taxId/index.js +4 -0
- package/dist/taxId/register-taxid.js +156 -0
- package/dist/video/Video.js +274 -0
- package/dist/video/Video.stories.js +45 -0
- package/dist/video/img/play-btn.svg +1 -0
- package/dist/video/index.js +2 -0
- package/package.json +128 -133
- package/public/favicon.ico +0 -0
- package/public/index.html +43 -0
- package/public/logo192.png +0 -0
- package/public/logo512.png +0 -0
- package/public/manifest.json +25 -0
- package/public/robots.txt +3 -0
- package/react-scripts +0 -0
- package/dist/07233f511246c9825a0d58e5ab2641f3.svg +0 -47
- package/dist/08418fc6c324f51f7e56.svg +0 -1
- package/dist/14aa35d4e84aebef77cf00b421fc393a.gif +0 -0
- package/dist/179ef2df02cb0b68c9fd.woff2 +0 -0
- package/dist/21e493d43617de76dbc7.woff2 +0 -0
- package/dist/2640959b1f9381cde047.eot +0 -0
- package/dist/2ba2db4ff86a2663686a100e75b50ba9.png +0 -0
- package/dist/311956ded96d3fd2813d.woff2 +0 -0
- package/dist/39f5961b2d3eb4aa5bf5.woff +0 -0
- package/dist/3caa0d4f9b7d58668066.woff2 +0 -0
- package/dist/4a510354f2f82b59fced805a8e3fe2bf.svg +0 -1
- package/dist/4c3c428d0ce82f840710.woff +0 -0
- package/dist/4e528d6445ca1974c313.woff +0 -0
- package/dist/55053cc0a8e6482eca64.ttf +0 -0
- package/dist/643c37f102b41f7f90c3.woff2 +0 -0
- package/dist/76dd0ed9c3f137513fd4.svg +0 -1
- package/dist/81f3ef07b7952e249da1.woff +0 -0
- package/dist/98b7d3182f652f021bc3.ttf +0 -0
- package/dist/9bea22b57dc165ed4382.ttf +0 -0
- package/dist/9ec738fbb66068dc1ca7.woff +0 -0
- package/dist/a1d7666a48f976227722.ttf +0 -0
- package/dist/a750292d6a0b5a760679.woff +0 -0
- package/dist/b85a961d44cc55c58050cbf7c53dd505.png +0 -0
- package/dist/bcb6531cf820152b7538.ttf +0 -0
- package/dist/c6a4bc1bd034d6303053.woff +0 -0
- package/dist/cbfc24090ef8bacab132.woff2 +0 -0
- package/dist/d2b1865643b98c0e8b54.ttf +0 -0
- package/dist/d97d7385fe8771611848.ttf +0 -0
- package/dist/index.js.LICENSE.txt +0 -1
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import styled, { css } from 'styled-components/macro';
|
|
2
|
+
import rwd from 'styles/rwd';
|
|
3
|
+
import theme from 'styles/theme';
|
|
4
|
+
export const ComponentWrapper = styled.div`
|
|
5
|
+
position: relative;
|
|
6
|
+
padding: 32px;
|
|
7
|
+
// text-align left only from ID
|
|
8
|
+
text-align: left !important;
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
${rwd.Large`
|
|
12
|
+
padding: 32px 64px;
|
|
13
|
+
`}
|
|
14
|
+
|
|
15
|
+
${props => props.borderLeft && css`
|
|
16
|
+
border-left: 1px solid ${theme.cLightGrey};
|
|
17
|
+
`}
|
|
18
|
+
|
|
19
|
+
${props => props.borderRight && css`
|
|
20
|
+
border-right: 1px solid ${theme.cLightGrey};
|
|
21
|
+
`}
|
|
22
|
+
|
|
23
|
+
${props => props.borderTop && css`
|
|
24
|
+
border-top: 1px solid ${theme.cLightGrey};
|
|
25
|
+
`}
|
|
26
|
+
|
|
27
|
+
${props => props.borderBottom && css`
|
|
28
|
+
border-bottom: 1px solid ${theme.cLightGrey};
|
|
29
|
+
`}
|
|
30
|
+
|
|
31
|
+
${props => props.noPaddingLeft && css`
|
|
32
|
+
padding-left: 0 !important;
|
|
33
|
+
`}
|
|
34
|
+
|
|
35
|
+
${props => props.noPaddingRight && css`
|
|
36
|
+
padding-right: 0 !important;
|
|
37
|
+
`}
|
|
38
|
+
|
|
39
|
+
${props => props.noPaddingTop && css`
|
|
40
|
+
padding-top: 0 !important;
|
|
41
|
+
`}
|
|
42
|
+
|
|
43
|
+
${props => props.noPaddingBottom && css`
|
|
44
|
+
padding-bottom: 0 !important;
|
|
45
|
+
`}
|
|
46
|
+
|
|
47
|
+
${props => props.noPaddingVertical && css`
|
|
48
|
+
padding-top: 0 !important;
|
|
49
|
+
padding-bottom: 0 !important;
|
|
50
|
+
`}
|
|
51
|
+
|
|
52
|
+
${props => props.horizontalPaddingHalf && css`
|
|
53
|
+
padding-left: 18px !important;
|
|
54
|
+
padding-right: 18px !important;
|
|
55
|
+
`}
|
|
56
|
+
|
|
57
|
+
${props => props.noPaddingHorizontal && css`
|
|
58
|
+
padding-left: 0 !important;
|
|
59
|
+
padding-right: 0 !important;
|
|
60
|
+
`}
|
|
61
|
+
|
|
62
|
+
${props => props.paddingVeticalHalf && css`
|
|
63
|
+
padding-top: 16px !important;
|
|
64
|
+
padding-bottom: 16px !important;
|
|
65
|
+
`}
|
|
66
|
+
|
|
67
|
+
${props => props.noPadding && css`
|
|
68
|
+
padding: 0 !important;
|
|
69
|
+
`}
|
|
70
|
+
|
|
71
|
+
${props => props.center && css`
|
|
72
|
+
text-align: center !important;
|
|
73
|
+
`}
|
|
74
|
+
|
|
75
|
+
${props => props.grow && css`
|
|
76
|
+
flex-grow: 1;
|
|
77
|
+
`}
|
|
78
|
+
|
|
79
|
+
${props => props.wrap && css`
|
|
80
|
+
flex-wrap: wrap;
|
|
81
|
+
`}
|
|
82
|
+
|
|
83
|
+
${props => props.background && css`
|
|
84
|
+
background-color: ${theme.cGrey};
|
|
85
|
+
`}
|
|
86
|
+
|
|
87
|
+
${props => props.fluid && css`
|
|
88
|
+
width: 100%;
|
|
89
|
+
`}
|
|
90
|
+
|
|
91
|
+
${props => props.fluidcenter && css`
|
|
92
|
+
width: 100% !important;
|
|
93
|
+
text-align: center !important;
|
|
94
|
+
`}
|
|
95
|
+
|
|
96
|
+
h4 {
|
|
97
|
+
width: 50%;
|
|
98
|
+
|
|
99
|
+
@media screen and (max-width: 767px) {
|
|
100
|
+
width: 100%;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@media screen and (max-width: 767px) {
|
|
105
|
+
padding: 32px;
|
|
106
|
+
|
|
107
|
+
${props => props.investmentNotifications && css`
|
|
108
|
+
padding: 0;
|
|
109
|
+
`}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
${props => props.alignVertically && css`
|
|
113
|
+
display: flex;
|
|
114
|
+
align-items: center;
|
|
115
|
+
`}
|
|
116
|
+
|
|
117
|
+
${props => props.marginTop && css`
|
|
118
|
+
margin-top: ${props.marginTop};
|
|
119
|
+
`}
|
|
120
|
+
|
|
121
|
+
${props => props.isAddMember && css`
|
|
122
|
+
@media screen and (min-width: 768px) {
|
|
123
|
+
padding-left: 10px !important;
|
|
124
|
+
padding-right: 10px !important;
|
|
125
|
+
}
|
|
126
|
+
`}
|
|
127
|
+
`;
|
|
128
|
+
export default ComponentWrapper;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React, { Fragment } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import ComponentWrapper from 'components/ComponentWrapper/ComponentWrapper.styles';
|
|
4
|
+
export const ComponentWrap = ({
|
|
5
|
+
children,
|
|
6
|
+
wrapped,
|
|
7
|
+
borderTop,
|
|
8
|
+
borderBottom
|
|
9
|
+
}) => wrapped ? /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
10
|
+
borderTop: borderTop,
|
|
11
|
+
borderBottom: borderBottom
|
|
12
|
+
}, children) : /*#__PURE__*/React.createElement(Fragment, null, children);
|
|
13
|
+
ComponentWrap.propTypes = {
|
|
14
|
+
children: PropTypes.node.isRequired,
|
|
15
|
+
wrapped: PropTypes.bool,
|
|
16
|
+
borderTop: PropTypes.bool,
|
|
17
|
+
borderBottom: PropTypes.bool
|
|
18
|
+
};
|
|
19
|
+
ComponentWrap.defaultProps = {
|
|
20
|
+
wrapped: false,
|
|
21
|
+
borderTop: false,
|
|
22
|
+
borderBottom: false
|
|
23
|
+
};
|
|
24
|
+
export default ComponentWrap;
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import React, { useState } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { Tooltip } from 'react-tippy';
|
|
4
|
+
import { CopyToClipboard } from 'react-copy-to-clipboard';
|
|
5
|
+
import { Container, Head, Body, Title, Status, TitleSide, AddressWrap, Address, CopyToClipboardButton, DataBox, Value, Equal, InfoBox, DataWrapper, CheckMark, OptionsWrapper } from './CryptoAddress.styles';
|
|
6
|
+
|
|
7
|
+
// import './tooltip.css' is added in SUF which file? where?
|
|
8
|
+
import RadioWrap from './RadioWrap';
|
|
9
|
+
import ComponentWrap from './ComponentWrap';
|
|
10
|
+
import getShortAddress from '../../utils/get-short-address';
|
|
11
|
+
export const CryptoAddress = ({
|
|
12
|
+
title,
|
|
13
|
+
status,
|
|
14
|
+
address,
|
|
15
|
+
data,
|
|
16
|
+
info,
|
|
17
|
+
wrapped,
|
|
18
|
+
borderTop,
|
|
19
|
+
borderBottom,
|
|
20
|
+
radio,
|
|
21
|
+
sideOptions,
|
|
22
|
+
src,
|
|
23
|
+
//merge from SUF
|
|
24
|
+
noBody,
|
|
25
|
+
noBorderBottom,
|
|
26
|
+
flexHead,
|
|
27
|
+
//merge from IIS
|
|
28
|
+
fontSize,
|
|
29
|
+
titleColor
|
|
30
|
+
}) => {
|
|
31
|
+
const [copiedAddressToClipboard, setCopiedAddressToClipboard] = useState(false);
|
|
32
|
+
return /*#__PURE__*/React.createElement(Container, null, /*#__PURE__*/React.createElement(RadioWrap, {
|
|
33
|
+
radio: radio
|
|
34
|
+
}, /*#__PURE__*/React.createElement(ComponentWrap, {
|
|
35
|
+
wrapped: wrapped,
|
|
36
|
+
borderTop: borderTop,
|
|
37
|
+
borderBottom: !noBorderBottom && borderBottom
|
|
38
|
+
}, /*#__PURE__*/React.createElement(DataWrapper, {
|
|
39
|
+
withOptions: !!sideOptions
|
|
40
|
+
}, radio && !radio.hide && /*#__PURE__*/React.createElement(CheckMark, null), /*#__PURE__*/React.createElement(Head, {
|
|
41
|
+
noBody: noBody,
|
|
42
|
+
flexHead: flexHead
|
|
43
|
+
}, /*#__PURE__*/React.createElement(Title, {
|
|
44
|
+
color: titleColor
|
|
45
|
+
}, title, status && /*#__PURE__*/React.createElement(Status, null, status)), /*#__PURE__*/React.createElement(TitleSide, null, address && /*#__PURE__*/React.createElement(AddressWrap, null, /*#__PURE__*/React.createElement(Tooltip, {
|
|
46
|
+
position: "top",
|
|
47
|
+
title: address,
|
|
48
|
+
theme: "light",
|
|
49
|
+
arrow: true,
|
|
50
|
+
duration: 200
|
|
51
|
+
}, /*#__PURE__*/React.createElement(Address, null, getShortAddress(address))), /*#__PURE__*/React.createElement("div", {
|
|
52
|
+
onClick: e => e.preventDefault()
|
|
53
|
+
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
54
|
+
position: "top",
|
|
55
|
+
title: copiedAddressToClipboard ? 'Copied to clipboard!' : 'Click to copy address to clipboard',
|
|
56
|
+
theme: "light",
|
|
57
|
+
arrow: true,
|
|
58
|
+
hideOnClick: false,
|
|
59
|
+
onHidden: () => setCopiedAddressToClipboard(false),
|
|
60
|
+
duration: 200
|
|
61
|
+
}, /*#__PURE__*/React.createElement(CopyToClipboard, {
|
|
62
|
+
text: address,
|
|
63
|
+
onCopy: () => setCopiedAddressToClipboard(true)
|
|
64
|
+
}, /*#__PURE__*/React.createElement(CopyToClipboardButton, null))))), src && /*#__PURE__*/React.createElement("img", {
|
|
65
|
+
src: src,
|
|
66
|
+
alt: "project logo",
|
|
67
|
+
height: "50",
|
|
68
|
+
width: 100,
|
|
69
|
+
style: {
|
|
70
|
+
objectFit: 'contain'
|
|
71
|
+
}
|
|
72
|
+
}))), /*#__PURE__*/React.createElement(Body, {
|
|
73
|
+
noBody: noBody
|
|
74
|
+
}, /*#__PURE__*/React.createElement(DataBox, null, data.value && /*#__PURE__*/React.createElement(Value, null, data.unit && `${data.unit} `, data.value), data.eqValue && /*#__PURE__*/React.createElement(Equal, null, '= ', data.eqUnit && `${data.eqUnit} `, data.eqValue)), /*#__PURE__*/React.createElement(InfoBox, null, /*#__PURE__*/React.createElement(Value, null, info.unit && /*#__PURE__*/React.createElement("strong", null, info.unit), info.value), info.eqValue && /*#__PURE__*/React.createElement(Equal, null, info.noEqualsToSign ? ' ' : '= ', info.eqUnit && /*#__PURE__*/React.createElement("strong", null, info.eqUnit), info.eqValue))), sideOptions && /*#__PURE__*/React.createElement(OptionsWrapper, null, sideOptions)))));
|
|
75
|
+
};
|
|
76
|
+
const dataShape = PropTypes.shape({
|
|
77
|
+
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
|
|
78
|
+
unit: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
79
|
+
eqValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
80
|
+
eqUnit: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
81
|
+
});
|
|
82
|
+
CryptoAddress.propTypes = {
|
|
83
|
+
title: PropTypes.string.isRequired,
|
|
84
|
+
status: PropTypes.string,
|
|
85
|
+
address: PropTypes.string.isRequired,
|
|
86
|
+
wrapped: PropTypes.bool,
|
|
87
|
+
borderTop: PropTypes.bool,
|
|
88
|
+
borderBottom: PropTypes.bool,
|
|
89
|
+
radio: RadioWrap.propTypes.radio,
|
|
90
|
+
data: dataShape,
|
|
91
|
+
info: dataShape,
|
|
92
|
+
sideOptions: PropTypes.node,
|
|
93
|
+
// fontSize from IIS
|
|
94
|
+
fontSize: PropTypes.number
|
|
95
|
+
};
|
|
96
|
+
//address not required in IIS, instead wrapping {address &&( .. now doing both which is redundant
|
|
97
|
+
|
|
98
|
+
CryptoAddress.defaultProps = {
|
|
99
|
+
status: '',
|
|
100
|
+
wrapped: false,
|
|
101
|
+
borderTop: false,
|
|
102
|
+
borderBottom: false,
|
|
103
|
+
radio: null,
|
|
104
|
+
address: '',
|
|
105
|
+
data: {
|
|
106
|
+
value: '',
|
|
107
|
+
unit: '',
|
|
108
|
+
eqValue: '',
|
|
109
|
+
eqUnit: ''
|
|
110
|
+
},
|
|
111
|
+
info: {
|
|
112
|
+
value: '',
|
|
113
|
+
unit: '',
|
|
114
|
+
eqValue: '',
|
|
115
|
+
eqUnit: ''
|
|
116
|
+
},
|
|
117
|
+
// fontSize from IIS
|
|
118
|
+
fontSize: 22,
|
|
119
|
+
sideOptions: null
|
|
120
|
+
};
|
|
121
|
+
export const MemoCryptoAddress = /*#__PURE__*/React.memo(CryptoAddress);
|
|
122
|
+
export default CryptoAddress;
|
|
123
|
+
|
|
124
|
+
//defaultValue of info: { value:'-'} in ISS and VD
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import CryptoAddress from './CryptoAddress';
|
|
3
|
+
import { ComponentWrapper } from '../ComponentWrapper/ComponentWrapper.styles';
|
|
4
|
+
export default {
|
|
5
|
+
title: 'Components Library/Crypto Address',
|
|
6
|
+
component: CryptoAddress,
|
|
7
|
+
argTypes: {
|
|
8
|
+
title: {
|
|
9
|
+
type: 'string',
|
|
10
|
+
defaultValue: '',
|
|
11
|
+
required: true
|
|
12
|
+
},
|
|
13
|
+
status: {
|
|
14
|
+
type: 'string',
|
|
15
|
+
defaultValue: ''
|
|
16
|
+
},
|
|
17
|
+
address: {
|
|
18
|
+
type: 'string',
|
|
19
|
+
defaultValue: '',
|
|
20
|
+
required: true
|
|
21
|
+
},
|
|
22
|
+
capital: {
|
|
23
|
+
type: 'number',
|
|
24
|
+
defaultValue: 0,
|
|
25
|
+
required: true
|
|
26
|
+
},
|
|
27
|
+
wrapped: {
|
|
28
|
+
type: 'boolean',
|
|
29
|
+
defaultValue: false
|
|
30
|
+
},
|
|
31
|
+
borderTop: {
|
|
32
|
+
type: 'boolean',
|
|
33
|
+
defaultValue: false
|
|
34
|
+
},
|
|
35
|
+
borderBottom: {
|
|
36
|
+
type: 'boolean',
|
|
37
|
+
defaultValue: false
|
|
38
|
+
},
|
|
39
|
+
radio: {
|
|
40
|
+
type: 'shape',
|
|
41
|
+
defaultValue: null
|
|
42
|
+
},
|
|
43
|
+
data: {
|
|
44
|
+
type: 'shape',
|
|
45
|
+
defaultValue: {}
|
|
46
|
+
},
|
|
47
|
+
info: {
|
|
48
|
+
type: 'shape',
|
|
49
|
+
defaultValue: {}
|
|
50
|
+
},
|
|
51
|
+
sideOptions: {
|
|
52
|
+
type: 'node',
|
|
53
|
+
defaultValue: null
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
// info & data Shape defaults {
|
|
58
|
+
// value: '',
|
|
59
|
+
// unit: '',
|
|
60
|
+
// eqValue: '',
|
|
61
|
+
// eqUnit: '',
|
|
62
|
+
// },
|
|
63
|
+
|
|
64
|
+
// From Radiowrap.js - Radio shape
|
|
65
|
+
// radio: PropTypes.shape({
|
|
66
|
+
// id: PropTypes.string.isRequired,
|
|
67
|
+
// name: PropTypes.string,
|
|
68
|
+
// value: PropTypes.string,
|
|
69
|
+
// checked: PropTypes.bool,
|
|
70
|
+
// onChange: PropTypes.func,
|
|
71
|
+
// onBlur: PropTypes.func,
|
|
72
|
+
// hide: PropTypes.bool,
|
|
73
|
+
// }),
|
|
74
|
+
// }
|
|
75
|
+
|
|
76
|
+
const Template = args => /*#__PURE__*/React.createElement(ComponentWrapper, null, /*#__PURE__*/React.createElement(CryptoAddress, args));
|
|
77
|
+
export const CryptoAddressOverview = Template.bind({});
|
|
78
|
+
CryptoAddressOverview.args = {
|
|
79
|
+
title: 'A Title',
|
|
80
|
+
status: 'Status',
|
|
81
|
+
address: 'Address',
|
|
82
|
+
capital: 100,
|
|
83
|
+
data: {
|
|
84
|
+
value: '1',
|
|
85
|
+
unit: '€',
|
|
86
|
+
eqValue: '2',
|
|
87
|
+
eqUnit: '$'
|
|
88
|
+
},
|
|
89
|
+
info: {
|
|
90
|
+
value: '3',
|
|
91
|
+
unit: '$',
|
|
92
|
+
eqValue: '4',
|
|
93
|
+
eqUnit: '€'
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
export const CryptoAddressBorders = Template.bind({});
|
|
97
|
+
CryptoAddressBorders.args = {
|
|
98
|
+
title: 'A Title',
|
|
99
|
+
status: 'Status',
|
|
100
|
+
address: 'Address',
|
|
101
|
+
capital: 100,
|
|
102
|
+
data: {
|
|
103
|
+
value: '1',
|
|
104
|
+
unit: '€',
|
|
105
|
+
eqValue: '2',
|
|
106
|
+
eqUnit: '$'
|
|
107
|
+
},
|
|
108
|
+
info: {
|
|
109
|
+
value: '3',
|
|
110
|
+
unit: '$',
|
|
111
|
+
eqValue: '4',
|
|
112
|
+
eqUnit: '€'
|
|
113
|
+
},
|
|
114
|
+
wrapped: true,
|
|
115
|
+
borderTop: true,
|
|
116
|
+
borderBottom: true
|
|
117
|
+
};
|
|
118
|
+
export const CryptoAddressRadioWrap = Template.bind({});
|
|
119
|
+
CryptoAddressRadioWrap.args = {
|
|
120
|
+
title: 'A Title',
|
|
121
|
+
status: 'Status',
|
|
122
|
+
address: 'Address',
|
|
123
|
+
capital: 100,
|
|
124
|
+
data: {
|
|
125
|
+
value: '1',
|
|
126
|
+
unit: '€',
|
|
127
|
+
eqValue: '2',
|
|
128
|
+
eqUnit: '$'
|
|
129
|
+
},
|
|
130
|
+
info: {
|
|
131
|
+
value: '3',
|
|
132
|
+
unit: '$',
|
|
133
|
+
eqValue: '4',
|
|
134
|
+
eqUnit: '€'
|
|
135
|
+
},
|
|
136
|
+
wrapped: true,
|
|
137
|
+
borderTop: true,
|
|
138
|
+
borderBottom: true,
|
|
139
|
+
radio: {
|
|
140
|
+
id: '',
|
|
141
|
+
name: 'hover to see',
|
|
142
|
+
value: 'radiochoice',
|
|
143
|
+
checked: true,
|
|
144
|
+
hide: false,
|
|
145
|
+
onChange: () => {}
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
// From Radiowrap.js - Radio shape
|
|
150
|
+
// radio: PropTypes.shape({
|
|
151
|
+
// id: PropTypes.string.isRequired,
|
|
152
|
+
// name: PropTypes.string,
|
|
153
|
+
// value: PropTypes.string,
|
|
154
|
+
// checked: PropTypes.bool,
|
|
155
|
+
// onChange: PropTypes.func,
|
|
156
|
+
// onBlur: PropTypes.func,
|
|
157
|
+
// hide: PropTypes.bool,
|
|
158
|
+
// }),
|
|
159
|
+
// }
|
|
160
|
+
|
|
161
|
+
// doublecheck:
|
|
162
|
+
// weird 'Address' showing up
|
|
163
|
+
// radio checked not working
|