@rabbitio/ui-kit 1.0.0-beta.9 → 1.0.0-beta.91
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/.gitlab-ci.yml +29 -0
- package/.husky/commit-msg +19 -0
- package/.husky/pre-push +1 -0
- package/CHANGELOG.md +0 -0
- package/README.md +27 -18
- package/coverage/base.css +224 -0
- package/coverage/block-navigation.js +87 -0
- package/coverage/clover.xml +16765 -0
- package/coverage/coverage-final.json +116 -0
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +1001 -0
- package/coverage/prettify.css +1 -0
- package/coverage/prettify.js +2 -0
- package/coverage/rabbit-ui-kit/index.html +116 -0
- package/coverage/rabbit-ui-kit/index.js.html +88 -0
- package/coverage/rabbit-ui-kit/src/common-apis/adapters/analyticsAdapters/googleAnalyticsAdapter.js.html +148 -0
- package/coverage/rabbit-ui-kit/src/common-apis/adapters/analyticsAdapters/index.html +146 -0
- package/coverage/rabbit-ui-kit/src/common-apis/adapters/analyticsAdapters/metrikaAdapter.js.html +169 -0
- package/coverage/rabbit-ui-kit/src/common-apis/adapters/analyticsAdapters/mixpanelAdapter.js.html +199 -0
- package/coverage/rabbit-ui-kit/src/common-apis/adapters/axiosAdapter.js.html +190 -0
- package/coverage/rabbit-ui-kit/src/common-apis/adapters/index.html +131 -0
- package/coverage/rabbit-ui-kit/src/common-apis/adapters/qrUtils.js.html +139 -0
- package/coverage/rabbit-ui-kit/src/common-apis/external-apis/apiGroups.js.html +250 -0
- package/coverage/rabbit-ui-kit/src/common-apis/external-apis/emailAPI.js.html +133 -0
- package/coverage/rabbit-ui-kit/src/common-apis/external-apis/index.html +146 -0
- package/coverage/rabbit-ui-kit/src/common-apis/external-apis/ipAddressProviders.js.html +352 -0
- package/coverage/rabbit-ui-kit/src/common-apis/globalConstants.jsx.html +94 -0
- package/coverage/rabbit-ui-kit/src/common-apis/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/common-apis/models/blockchain.js.html +115 -0
- package/coverage/rabbit-ui-kit/src/common-apis/models/coin.js.html +829 -0
- package/coverage/rabbit-ui-kit/src/common-apis/models/index.html +146 -0
- package/coverage/rabbit-ui-kit/src/common-apis/models/protocol.js.html +100 -0
- package/coverage/rabbit-ui-kit/src/common-apis/services/fiatCurrenciesService.js.html +544 -0
- package/coverage/rabbit-ui-kit/src/common-apis/services/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/common-apis/utils/amountUtils.js.html +1162 -0
- package/coverage/rabbit-ui-kit/src/common-apis/utils/cache.js.html +811 -0
- package/coverage/rabbit-ui-kit/src/common-apis/utils/errorUtils.js.html +211 -0
- package/coverage/rabbit-ui-kit/src/common-apis/utils/index.html +191 -0
- package/coverage/rabbit-ui-kit/src/common-apis/utils/logging/index.html +131 -0
- package/coverage/rabbit-ui-kit/src/common-apis/utils/logging/logger.js.html +208 -0
- package/coverage/rabbit-ui-kit/src/common-apis/utils/logging/logsStorage.js.html +268 -0
- package/coverage/rabbit-ui-kit/src/common-apis/utils/postponeExecution.js.html +118 -0
- package/coverage/rabbit-ui-kit/src/common-apis/utils/rabbitTicker.js.html +157 -0
- package/coverage/rabbit-ui-kit/src/common-apis/utils/safeStringify.js.html +235 -0
- package/coverage/rabbit-ui-kit/src/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/index.js.html +376 -0
- package/coverage/rabbit-ui-kit/src/robust-api-caller/cacheAndConcurrentRequestsResolver.js.html +1570 -0
- package/coverage/rabbit-ui-kit/src/robust-api-caller/cachedRobustExternalApiCallerService.js.html +526 -0
- package/coverage/rabbit-ui-kit/src/robust-api-caller/cancelProcessing.js.html +172 -0
- package/coverage/rabbit-ui-kit/src/robust-api-caller/concurrentCalculationsMetadataHolder.js.html +310 -0
- package/coverage/rabbit-ui-kit/src/robust-api-caller/externalApiProvider.js.html +553 -0
- package/coverage/rabbit-ui-kit/src/robust-api-caller/externalServicesStatsCollector.js.html +319 -0
- package/coverage/rabbit-ui-kit/src/robust-api-caller/index.html +206 -0
- package/coverage/rabbit-ui-kit/src/robust-api-caller/robustExternalAPICallerService.js.html +997 -0
- package/coverage/rabbit-ui-kit/src/swaps-lib/external-apis/exolixSwapProvider.js.html +1825 -0
- package/coverage/rabbit-ui-kit/src/swaps-lib/external-apis/index.html +161 -0
- package/coverage/rabbit-ui-kit/src/swaps-lib/external-apis/letsExchangeSwapProvider.js.html +1618 -0
- package/coverage/rabbit-ui-kit/src/swaps-lib/external-apis/swapProvider.js.html +1819 -0
- package/coverage/rabbit-ui-kit/src/swaps-lib/external-apis/swapspaceSwapProvider.js.html +1861 -0
- package/coverage/rabbit-ui-kit/src/swaps-lib/models/baseSwapCreationInfo.js.html +319 -0
- package/coverage/rabbit-ui-kit/src/swaps-lib/models/existingSwap.js.html +514 -0
- package/coverage/rabbit-ui-kit/src/swaps-lib/models/existingSwapWithFiatData.js.html +529 -0
- package/coverage/rabbit-ui-kit/src/swaps-lib/models/index.html +176 -0
- package/coverage/rabbit-ui-kit/src/swaps-lib/models/partner.js.html +166 -0
- package/coverage/rabbit-ui-kit/src/swaps-lib/models/swapProviderCoinInfo.js.html +331 -0
- package/coverage/rabbit-ui-kit/src/swaps-lib/services/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/swaps-lib/services/publicSwapService.js.html +1555 -0
- package/coverage/rabbit-ui-kit/src/swaps-lib/utils/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/swaps-lib/utils/swapUtils.js.html +670 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/assets/wrappedImages/arrowIcon.jsx.html +124 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/assets/wrappedImages/arrowTosca.jsx.html +127 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/assets/wrappedImages/arrowWhite.jsx.html +127 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/assets/wrappedImages/darkRectangle.jsx.html +106 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/assets/wrappedImages/determinedError.jsx.html +439 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/assets/wrappedImages/failedValidationIcon.jsx.html +202 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/assets/wrappedImages/index.html +281 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/assets/wrappedImages/infoIcon.jsx.html +133 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/assets/wrappedImages/messageIcon.jsx.html +346 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/assets/wrappedImages/noticeQuestionIcon.jsx.html +247 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/assets/wrappedImages/successfulValidationIcon.jsx.html +163 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/assets/wrappedImages/supportDialogImage.jsx.html +268 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/assets/wrappedImages/walletIcon.jsx.html +151 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/AssetIcon/AssetIcon.jsx.html +256 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/AssetIcon/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/AssetSelection/AssetSelection.jsx.html +289 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/AssetSelection/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/BackgroundTitle/BackgroundTitle.jsx.html +187 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/BackgroundTitle/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/InformationMessage/InformationMessage.jsx.html +238 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/InformationMessage/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/Input/Input.jsx.html +634 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/Input/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/LoadingDots/LoadingDots.jsx.html +196 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/LoadingDots/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/NoticeIcon/NoticeIcon.jsx.html +277 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/NoticeIcon/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/QrCode/QrCode.jsx.html +217 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/QrCode/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/RateSelector/RateSelector.jsx.html +175 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/RateSelector/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/SupportChat/SupportChat.jsx.html +217 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/SupportChat/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/Textarea/Textarea.jsx.html +529 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/Textarea/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/TitleBox/TitleBox.jsx.html +508 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/TitleBox/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/Tooltip/Tooltip.jsx.html +316 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/Tooltip/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/TwoLinesOfText/LinesOfText.jsx.html +313 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/TwoLinesOfText/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/Validation/Validation.jsx.html +202 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/Validation/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/buttons/Button/Button.jsx.html +712 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/buttons/Button/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/buttons/Close/Close.jsx.html +259 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/buttons/Close/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/buttons/LinkButton/LinkButton.jsx.html +421 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/buttons/LinkButton/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/buttons/RadioButtonWithText/RadioButtonWithText.jsx.html +415 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/buttons/RadioButtonWithText/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/molecules/AmountInput/AmountInput.jsx.html +1429 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/molecules/AmountInput/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/molecules/CoinPicker/CoinPicker.jsx.html +1474 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/molecules/CoinPicker/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/molecules/ColoredNotice/ColoredNotice.jsx.html +211 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/molecules/ColoredNotice/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/molecules/LineWithIconLink/LineWithIconLink.jsx.html +190 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/molecules/LineWithIconLink/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/molecules/LogoCarousel/LogoCarousel.jsx.html +307 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/molecules/LogoCarousel/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/molecules/SearchableCoinsList/SearchableCoinsList.jsx.html +496 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/molecules/SearchableCoinsList/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/molecules/TitledLineWithIconLink/TitledLineWithIconLink.jsx.html +181 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/molecules/TitledLineWithIconLink/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/organisms/CoinPickerDialogStep/CoinPickerDialogStep.jsx.html +283 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/organisms/CoinPickerDialogStep/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/organisms/Dialog/Dialog.jsx.html +1567 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/organisms/Dialog/DialogButtons/DialogButtons.jsx.html +481 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/organisms/Dialog/DialogButtons/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/organisms/Dialog/DialogStep/DialogStep.jsx.html +1747 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/organisms/Dialog/DialogStep/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/organisms/Dialog/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/organisms/SwapForm/SwapForm.jsx.html +4207 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/organisms/SwapForm/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/organisms/WaitlistSubscription/WaitlistSubscription.jsx.html +559 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/organisms/WaitlistSubscription/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/templates/DeterminedErrorDialogStep/DeterminedErrorDialogStep.jsx.html +316 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/templates/DeterminedErrorDialogStep/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/hooks/index.html +146 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/hooks/useCallHandlingErrors.js.html +151 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/hooks/useIsHydrated.js.html +121 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/hooks/useReferredState.js.html +157 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/utils/index.html +161 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/utils/inputValueProviders.js.html +235 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/utils/textUtils.js.html +139 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/utils/uiUtils.js.html +121 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/utils/urlQueryUtils.js.html +271 -0
- package/coverage/rabbit-ui-kit/stories/atoms/BackgroundTitle.stories.jsx.html +202 -0
- package/coverage/rabbit-ui-kit/stories/atoms/LinesOfText.stories.jsx.html +283 -0
- package/coverage/rabbit-ui-kit/stories/atoms/LoadingDots.stories.jsx.html +226 -0
- package/coverage/rabbit-ui-kit/stories/atoms/QrCode.stories.jsx.html +175 -0
- package/coverage/rabbit-ui-kit/stories/atoms/RateSelector.stories.jsx.html +136 -0
- package/coverage/rabbit-ui-kit/stories/atoms/Validation.stories.jsx.html +178 -0
- package/coverage/rabbit-ui-kit/stories/atoms/buttons/Button.stories.jsx.html +883 -0
- package/coverage/rabbit-ui-kit/stories/atoms/buttons/Close.stories.jsx.html +211 -0
- package/coverage/rabbit-ui-kit/stories/atoms/buttons/LinkButton.stories.jsx.html +301 -0
- package/coverage/rabbit-ui-kit/stories/atoms/buttons/index.html +146 -0
- package/coverage/rabbit-ui-kit/stories/atoms/index.html +191 -0
- package/coverage/rabbit-ui-kit/stories/molecules/AmountInput.stories.jsx.html +289 -0
- package/coverage/rabbit-ui-kit/stories/molecules/CoinPicker.stories.jsx.html +322 -0
- package/coverage/rabbit-ui-kit/stories/molecules/ColoredNotice.stories.jsx.html +178 -0
- package/coverage/rabbit-ui-kit/stories/molecules/LineWithIconLink.stories.jsx.html +154 -0
- package/coverage/rabbit-ui-kit/stories/molecules/LogoCarousel.stories.jsx.html +235 -0
- package/coverage/rabbit-ui-kit/stories/molecules/TitledLineWithIconLink.stories.jsx.html +160 -0
- package/coverage/rabbit-ui-kit/stories/molecules/index.html +191 -0
- package/coverage/rabbit-ui-kit/stories/organisms/Dialog/Dialog.stories.jsx.html +523 -0
- package/coverage/rabbit-ui-kit/stories/organisms/Dialog/DialogButtons/DialogButtons.stories.jsx.html +328 -0
- package/coverage/rabbit-ui-kit/stories/organisms/Dialog/DialogButtons/index.html +116 -0
- package/coverage/rabbit-ui-kit/stories/organisms/Dialog/DialogStep/DialogStep.stories.jsx.html +337 -0
- package/coverage/rabbit-ui-kit/stories/organisms/Dialog/DialogStep/index.html +116 -0
- package/coverage/rabbit-ui-kit/stories/organisms/Dialog/index.html +116 -0
- package/coverage/rabbit-ui-kit/stories/organisms/WaitlistSubscription.stories.jsx.html +151 -0
- package/coverage/rabbit-ui-kit/stories/organisms/index.html +116 -0
- package/coverage/rabbit-ui-kit/stories/stubs/coins.jsx.html +6880 -0
- package/coverage/rabbit-ui-kit/stories/stubs/exampleContent.jsx.html +145 -0
- package/coverage/rabbit-ui-kit/stories/stubs/index.html +131 -0
- package/coverage/rabbit-ui-kit/stories/templates/DeterminedErrorDialogStep.stories.jsx.html +190 -0
- package/coverage/rabbit-ui-kit/stories/templates/index.html +116 -0
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +196 -0
- package/dist/global.css +197 -0
- package/dist/global.css.map +1 -0
- package/dist/index.cjs +12451 -25
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +2339 -8491
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +9597 -26
- package/dist/index.modern.js.map +1 -1
- package/dist/index.module.js +12357 -27
- package/dist/index.module.js.map +1 -1
- package/dist/index.umd.js +12442 -29
- package/dist/index.umd.js.map +1 -1
- package/package.json +35 -9
- package/raw +1000 -0
- package/src/common-apis/adapters/analyticsAdapters/googleAnalyticsAdapter.js +21 -0
- package/src/common-apis/adapters/analyticsAdapters/metrikaAdapter.js +28 -0
- package/src/common-apis/adapters/analyticsAdapters/mixpanelAdapter.js +38 -0
- package/src/common-apis/adapters/axiosAdapter.js +35 -0
- package/src/common-apis/adapters/qrUtils.js +18 -0
- package/src/common-apis/external-apis/apiGroups.js +55 -0
- package/src/common-apis/external-apis/emailAPI.js +16 -0
- package/src/common-apis/external-apis/ipAddressProviders.js +89 -0
- package/src/common-apis/globalConstants.jsx +3 -0
- package/src/common-apis/models/blockchain.js +10 -0
- package/src/common-apis/models/coin.js +248 -0
- package/src/common-apis/models/protocol.js +5 -0
- package/src/{common → common-apis/services}/fiatCurrenciesService.js +4 -12
- package/src/common-apis/tests/integration/external-apis/ipAddressProviders/getClientIpAddress.test.js +12 -0
- package/src/common-apis/tests/units/utils/amountUtils/composeRateText.test.js +152 -0
- package/src/{common → common-apis/utils}/amountUtils.js +72 -136
- package/src/common-apis/utils/cache.js +242 -0
- package/src/{common → common-apis/utils}/errorUtils.js +15 -0
- package/src/common-apis/utils/logging/logger.js +41 -0
- package/src/common-apis/utils/logging/logsStorage.js +61 -0
- package/src/common-apis/utils/postponeExecution.js +11 -0
- package/src/common-apis/utils/rabbitTicker.js +24 -0
- package/src/common-apis/utils/safeStringify.js +50 -0
- package/src/index.js +96 -9
- package/src/robust-api-caller/cacheAndConcurrentRequestsResolver.js +495 -0
- package/src/robust-api-caller/cachedRobustExternalApiCallerService.js +147 -0
- package/src/robust-api-caller/cancelProcessing.js +29 -0
- package/src/robust-api-caller/concurrentCalculationsMetadataHolder.js +75 -0
- package/src/robust-api-caller/externalApiProvider.js +156 -0
- package/src/robust-api-caller/externalServicesStatsCollector.js +78 -0
- package/src/robust-api-caller/robustExternalAPICallerService.js +304 -0
- package/src/robust-api-caller/tests/robustExternalAPICallerService/robustExternalAPICallerService/callExternalAPI/_performCallAttempt.test.js +533 -0
- package/src/robust-api-caller/tests/robustExternalAPICallerService/robustExternalAPICallerService/callExternalAPI/callExternalAPI.test.js +532 -0
- package/src/robust-api-caller/tests/robustExternalAPICallerService/robustExternalAPICallerService/constructor.test.js +19 -0
- package/src/swaps-lib/external-apis/exolixSwapProvider.js +580 -0
- package/src/swaps-lib/external-apis/letsExchangeSwapProvider.js +511 -0
- package/src/swaps-lib/external-apis/swapProvider.js +578 -0
- package/src/swaps-lib/external-apis/swapspaceSwapProvider.js +592 -0
- package/src/swaps-lib/models/baseSwapCreationInfo.js +78 -0
- package/src/swaps-lib/models/existingSwap.js +143 -0
- package/src/swaps-lib/models/existingSwapWithFiatData.js +148 -0
- package/src/swaps-lib/models/partner.js +27 -0
- package/src/swaps-lib/models/swapProviderCoinInfo.js +82 -0
- package/src/swaps-lib/services/publicSwapService.js +490 -0
- package/src/swaps-lib/test/external-apis/exolixSwapProvider/_fetchSupportedCurrenciesIfNeeded.test.js +34 -0
- package/src/swaps-lib/test/external-apis/exolixSwapProvider/createSwap.test.js +1043 -0
- package/src/swaps-lib/test/external-apis/exolixSwapProvider/getSwapInfo.test.js +611 -0
- package/src/swaps-lib/test/external-apis/swapProvider/getAllSupportedCurrencies.test.js +63 -0
- package/src/swaps-lib/test/external-apis/swapProvider/getDepositCurrencies.test.js +73 -0
- package/src/swaps-lib/test/external-apis/swapProvider/getWithdrawalCurrencies.test.js +102 -0
- package/src/swaps-lib/test/external-apis/swapProvider/removeProtocolNameFromCoinName.test.js +152 -0
- package/src/swaps-lib/test/external-apis/swapspaceSwapProvider/_fetchSupportedCurrenciesIfNeeded.test.js +536 -0
- package/src/swaps-lib/test/external-apis/swapspaceSwapProvider/createSwap.test.js +1214 -0
- package/src/swaps-lib/test/external-apis/swapspaceSwapProvider/getSwapInfo.test.js +1707 -0
- package/src/swaps-lib/test/utils/swapUtils/safeHandleRequestsLimitExceeding.test.js +80 -0
- package/src/swaps-lib/utils/swapUtils.js +195 -0
- package/{styles → src/ui-kit/assets/styles}/_functions.scss +5 -0
- package/{styles → src/ui-kit/assets/styles}/_mixins.scss +2 -2
- package/{styles → src/ui-kit/assets/styles}/_placeholder.scss +3 -3
- package/{styles → src/ui-kit/assets/styles}/_variables.scss +17 -15
- package/src/ui-kit/assets/styles/fonts/NunitoSans-Bold.ttf +0 -0
- package/src/ui-kit/assets/styles/fonts/NunitoSans-ExtraBold.ttf +0 -0
- package/src/ui-kit/assets/styles/fonts/NunitoSans-Light.ttf +0 -0
- package/src/ui-kit/assets/styles/fonts/NunitoSans-Regular.ttf +0 -0
- package/src/ui-kit/assets/styles/fonts/NunitoSans-SemiBold.ttf +0 -0
- package/src/ui-kit/assets/styles/global.scss +171 -0
- package/src/ui-kit/assets/styles/index.scss +10 -0
- package/src/ui-kit/assets/wrappedImages/arrowIcon.jsx +13 -0
- package/src/ui-kit/assets/wrappedImages/arrowTosca.jsx +14 -0
- package/src/ui-kit/assets/wrappedImages/arrowWhite.jsx +14 -0
- package/src/ui-kit/assets/wrappedImages/darkRectangle.jsx +7 -0
- package/src/ui-kit/assets/wrappedImages/determinedError.jsx +118 -0
- package/src/ui-kit/assets/wrappedImages/failedValidationIcon.jsx +39 -0
- package/src/ui-kit/assets/wrappedImages/infoIcon.jsx +16 -0
- package/src/ui-kit/assets/wrappedImages/messageIcon.jsx +87 -0
- package/src/ui-kit/assets/wrappedImages/noticeQuestionIcon.jsx +54 -0
- package/src/ui-kit/assets/wrappedImages/successfulValidationIcon.jsx +26 -0
- package/src/ui-kit/assets/wrappedImages/supportDialogImage.jsx +61 -0
- package/src/ui-kit/assets/wrappedImages/walletIcon.jsx +22 -0
- package/src/ui-kit/components/atoms/AssetIcon/AssetIcon.jsx +57 -0
- package/src/{components → ui-kit/components}/atoms/AssetIcon/asset-icon.module.scss +1 -1
- package/src/ui-kit/components/atoms/AssetSelection/AssetSelection.jsx +68 -0
- package/src/ui-kit/components/atoms/AssetSelection/asset-selection.module.scss +56 -0
- package/src/ui-kit/components/atoms/BackgroundTitle/BackgroundTitle.jsx +34 -0
- package/src/ui-kit/components/atoms/BackgroundTitle/background-title.module.scss +52 -0
- package/src/ui-kit/components/atoms/InformationMessage/InformationMessage.jsx +51 -0
- package/src/ui-kit/components/atoms/InformationMessage/information-message.module.scss +38 -0
- package/src/ui-kit/components/atoms/Input/Input.jsx +183 -0
- package/src/ui-kit/components/atoms/Input/input.module.scss +107 -0
- package/src/{components → ui-kit/components}/atoms/LoadingDots/LoadingDots.jsx +8 -28
- package/src/{components → ui-kit/components}/atoms/LoadingDots/LoadingDots.module.scss +3 -2
- package/src/ui-kit/components/atoms/NoticeIcon/NoticeIcon.jsx +64 -0
- package/src/ui-kit/components/atoms/NoticeIcon/notice-icon.module.scss +14 -0
- package/src/ui-kit/components/atoms/QrCode/QrCode.jsx +44 -0
- package/src/ui-kit/components/atoms/QrCode/qr-code.module.scss +15 -0
- package/src/ui-kit/components/atoms/RateSelector/RateSelector.jsx +30 -0
- package/src/ui-kit/components/atoms/RateSelector/rate-selector.module.scss +47 -0
- package/src/{components → ui-kit/components}/atoms/SupportChat/SupportChat.jsx +5 -1
- package/src/ui-kit/components/atoms/Textarea/Textarea.jsx +148 -0
- package/src/ui-kit/components/atoms/Textarea/textarea.module.scss +71 -0
- package/src/ui-kit/components/atoms/TitleBox/TitleBox.jsx +141 -0
- package/src/ui-kit/components/atoms/TitleBox/title-box.module.scss +32 -0
- package/src/ui-kit/components/atoms/Tooltip/Tooltip.jsx +77 -0
- package/src/ui-kit/components/atoms/Tooltip/tooltip.module.scss +237 -0
- package/src/ui-kit/components/atoms/TwoLinesOfText/LinesOfText.jsx +76 -0
- package/src/ui-kit/components/atoms/TwoLinesOfText/lines-of-text.module.scss +65 -0
- package/src/ui-kit/components/atoms/Validation/Validation.jsx +39 -0
- package/src/ui-kit/components/atoms/Validation/validation.module.scss +19 -0
- package/src/{components → ui-kit/components}/atoms/buttons/Button/Button.jsx +24 -50
- package/src/{components → ui-kit/components}/atoms/buttons/Button/Button.module.scss +1 -1
- package/src/ui-kit/components/atoms/buttons/Close/Close.jsx +58 -0
- package/src/ui-kit/components/atoms/buttons/Close/close.module.scss +75 -0
- package/src/ui-kit/components/atoms/buttons/LinkButton/LinkButton.jsx +112 -0
- package/src/ui-kit/components/atoms/buttons/LinkButton/link-button.module.scss +49 -0
- package/src/ui-kit/components/atoms/buttons/RadioButtonWithText/RadioButtonWithText.jsx +110 -0
- package/src/ui-kit/components/atoms/buttons/RadioButtonWithText/radio-button-with-text.module.scss +86 -0
- package/src/ui-kit/components/molecules/AmountInput/AmountInput.jsx +448 -0
- package/src/ui-kit/components/molecules/AmountInput/amount-input.module.scss +233 -0
- package/src/ui-kit/components/molecules/CoinPicker/CoinPicker.jsx +463 -0
- package/src/ui-kit/components/molecules/CoinPicker/coin-picker.module.scss +207 -0
- package/src/ui-kit/components/molecules/ColoredNotice/ColoredNotice.jsx +42 -0
- package/src/ui-kit/components/molecules/ColoredNotice/colored-notice.module.scss +20 -0
- package/src/ui-kit/components/molecules/LineWithIconLink/LineWithIconLink.jsx +35 -0
- package/src/ui-kit/components/molecules/LineWithIconLink/line-with-icon-link.module.scss +25 -0
- package/src/ui-kit/components/molecules/LogoCarousel/LogoCarousel.jsx +74 -0
- package/src/ui-kit/components/molecules/LogoCarousel/logo-carousel.module.scss +106 -0
- package/src/ui-kit/components/molecules/SearchableCoinsList/SearchableCoinsList.jsx +137 -0
- package/src/ui-kit/components/molecules/TitledLineWithIconLink/TitledLineWithIconLink.jsx +32 -0
- package/src/ui-kit/components/organisms/CoinPickerDialogStep/CoinPickerDialogStep.jsx +66 -0
- package/src/ui-kit/components/organisms/Dialog/Dialog.jsx +494 -0
- package/src/ui-kit/components/organisms/Dialog/DialogButtons/DialogButtons.jsx +132 -0
- package/src/ui-kit/components/organisms/Dialog/DialogButtons/dialog-buttons.module.scss +25 -0
- package/src/ui-kit/components/organisms/Dialog/DialogStep/DialogStep.jsx +554 -0
- package/src/ui-kit/components/organisms/Dialog/DialogStep/dialog-step.module.scss +381 -0
- package/src/ui-kit/components/organisms/Dialog/dialog.module.scss +226 -0
- package/src/ui-kit/components/organisms/SwapForm/SwapForm.jsx +1374 -0
- package/src/ui-kit/components/organisms/SwapForm/swap-form.module.scss +134 -0
- package/src/ui-kit/components/organisms/WaitlistSubscription/WaitlistSubscription.jsx +158 -0
- package/src/ui-kit/components/templates/DeterminedErrorDialogStep/DeterminedErrorDialogStep.jsx +77 -0
- package/src/ui-kit/hooks/useCallHandlingErrors.js +22 -0
- package/src/ui-kit/hooks/useIsHydrated.js +12 -0
- package/src/ui-kit/hooks/useReferredState.js +24 -0
- package/src/ui-kit/tests/utils/inputValueProviders/provideFormatOfFloatValueByInputString.test.js +146 -0
- package/src/ui-kit/tests/utils/urlQueryUtils/getQueryParameterValues.test.js +65 -0
- package/src/ui-kit/tests/utils/urlQueryUtils/saveQueryParameterAndValues.test.js +104 -0
- package/src/ui-kit/utils/inputValueProviders.js +50 -0
- package/src/ui-kit/utils/textUtils.js +18 -0
- package/src/ui-kit/utils/uiUtils.js +12 -0
- package/src/ui-kit/utils/urlQueryUtils.js +62 -0
- package/stories/font.scss +40 -0
- package/stories/stubs/coins.jsx +2266 -0
- package/stories/stubs/exampleContent.jsx +20 -0
- package/src/components/atoms/AssetIcon/AssetIcon.jsx +0 -55
- package/styles/_global-classes.scss +0 -433
- package/styles/fonts/NunitoSans-Bold.ttf +0 -0
- package/styles/fonts/NunitoSans-ExtraBold.ttf +0 -0
- package/styles/fonts/NunitoSans-Light.ttf +0 -0
- package/styles/fonts/NunitoSans-Regular.ttf +0 -0
- package/styles/fonts/NunitoSans-SemiBold.ttf +0 -0
- package/styles/global-styles-index.scss +0 -74
- package/styles/index.scss +0 -33
- /package/{styles → src/ui-kit/assets/styles}/colors/_light-colors.scss +0 -0
- /package/{styles → src/ui-kit/assets/styles}/colors/_solid-colors.scss +0 -0
- /package/{styles → src/ui-kit/assets/styles}/size/_margin-size.scss +0 -0
- /package/{styles → src/ui-kit/assets/styles}/size/_padding-size.scss +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
export const exampleContent = (
|
|
4
|
+
<div
|
|
5
|
+
style={{
|
|
6
|
+
width: "100%",
|
|
7
|
+
height: "300px",
|
|
8
|
+
borderRadius: "16px",
|
|
9
|
+
background: "#eee",
|
|
10
|
+
color: "#bbb",
|
|
11
|
+
display: "flex",
|
|
12
|
+
justifyContent: "center",
|
|
13
|
+
alignItems: "center",
|
|
14
|
+
fontSize: "12px",
|
|
15
|
+
fontFamily: "monospace",
|
|
16
|
+
}}
|
|
17
|
+
>
|
|
18
|
+
Example content
|
|
19
|
+
</div>
|
|
20
|
+
);
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import PropTypes from "prop-types";
|
|
3
|
-
|
|
4
|
-
import s from "./asset-icon.module.scss";
|
|
5
|
-
|
|
6
|
-
export const AssetIcon = ({
|
|
7
|
-
assetIconSrc,
|
|
8
|
-
assetIconProtocolScr = null,
|
|
9
|
-
fallbackSrc = null,
|
|
10
|
-
small = false,
|
|
11
|
-
}) => {
|
|
12
|
-
const handleFailedLoad = (e) => {
|
|
13
|
-
e.target.onerror = null;
|
|
14
|
-
e.target.src = fallbackSrc;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
return (
|
|
18
|
-
<div className={s["asset-icon"] + (small ? " " + s["small"] : "")}>
|
|
19
|
-
<img
|
|
20
|
-
src={assetIconSrc}
|
|
21
|
-
className={
|
|
22
|
-
s["asset-icon-primary"] + (small ? " " + s["small"] : "")
|
|
23
|
-
}
|
|
24
|
-
alt={" "}
|
|
25
|
-
onError={handleFailedLoad}
|
|
26
|
-
/>
|
|
27
|
-
{assetIconProtocolScr ? (
|
|
28
|
-
<img
|
|
29
|
-
src={assetIconProtocolScr}
|
|
30
|
-
className={
|
|
31
|
-
s["asset-icon-secondary"] +
|
|
32
|
-
(small ? " " + s["small"] : "")
|
|
33
|
-
}
|
|
34
|
-
alt={" "}
|
|
35
|
-
onError={handleFailedLoad}
|
|
36
|
-
/>
|
|
37
|
-
) : (
|
|
38
|
-
""
|
|
39
|
-
)}
|
|
40
|
-
</div>
|
|
41
|
-
);
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
AssetIcon.propTypes = {
|
|
45
|
-
assetIconSrc: PropTypes.string.isRequired,
|
|
46
|
-
assetIconProtocolScr: PropTypes.string,
|
|
47
|
-
fallbackSrc: PropTypes.string,
|
|
48
|
-
small: PropTypes.bool,
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
AssetIcon.defaultProps = {
|
|
52
|
-
assetIconProtocolScr: null,
|
|
53
|
-
fallbackSrc: null,
|
|
54
|
-
small: false,
|
|
55
|
-
};
|
|
@@ -1,433 +0,0 @@
|
|
|
1
|
-
@import "functions";
|
|
2
|
-
@import "placeholder";
|
|
3
|
-
@import "variables";
|
|
4
|
-
|
|
5
|
-
@for $i from 0 through 10 {
|
|
6
|
-
.m-#{$i} {
|
|
7
|
-
margin: #{$i * 4}px;
|
|
8
|
-
}
|
|
9
|
-
.p-#{$i} {
|
|
10
|
-
padding: #{$i * 4}px;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@for $i from 0 through 10 {
|
|
15
|
-
.ml-#{$i} {
|
|
16
|
-
margin-left: #{$i * 4}px;
|
|
17
|
-
}
|
|
18
|
-
.pl-#{$i} {
|
|
19
|
-
padding-left: #{$i * 4}px;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
@for $i from 0 through 10 {
|
|
24
|
-
.mr-#{$i} {
|
|
25
|
-
margin-right: #{$i * 4}px;
|
|
26
|
-
}
|
|
27
|
-
.pr-#{$i} {
|
|
28
|
-
padding-right: #{$i * 4}px;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
@for $i from 0 through 10 {
|
|
33
|
-
.mt-#{$i} {
|
|
34
|
-
margin-top: #{$i * 4}px;
|
|
35
|
-
}
|
|
36
|
-
.pt-#{$i} {
|
|
37
|
-
padding-top: #{$i * 4}px;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
@for $i from 0 through 10 {
|
|
42
|
-
.mb-#{$i} {
|
|
43
|
-
margin-bottom: #{$i * 4}px;
|
|
44
|
-
}
|
|
45
|
-
.pb-#{$i} {
|
|
46
|
-
padding-bottom: #{$i * 4}px;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
@for $i from 0 through 10 {
|
|
51
|
-
.mx-#{$i} {
|
|
52
|
-
margin-right: #{$i * 4}px;
|
|
53
|
-
margin-left: #{$i * 4}px;
|
|
54
|
-
}
|
|
55
|
-
.px-#{$i} {
|
|
56
|
-
padding-right: #{$i * 4}px;
|
|
57
|
-
padding-left: #{$i * 4}px;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
@for $i from 0 through 10 {
|
|
62
|
-
.my-#{$i} {
|
|
63
|
-
margin-top: #{$i * 4}px;
|
|
64
|
-
margin-bottom: #{$i * 4}px;
|
|
65
|
-
}
|
|
66
|
-
.py-#{$i} {
|
|
67
|
-
padding-top: #{$i * 4}px;
|
|
68
|
-
padding-bottom: #{$i * 4}px;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
@media (min-width: $phone-width) {
|
|
73
|
-
@for $i from 0 through 10 {
|
|
74
|
-
.m-sm-#{$i} {
|
|
75
|
-
margin: #{$i * 4}px;
|
|
76
|
-
}
|
|
77
|
-
.p-sm-#{$i} {
|
|
78
|
-
padding: #{$i * 4}px;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
@for $i from 0 through 10 {
|
|
83
|
-
.ml-sm-#{$i} {
|
|
84
|
-
margin-left: #{$i * 4}px !important;
|
|
85
|
-
}
|
|
86
|
-
.pl-sm-#{$i} {
|
|
87
|
-
padding-left: #{$i * 4}px !important;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
@for $i from 0 through 10 {
|
|
92
|
-
.mr-sm-#{$i} {
|
|
93
|
-
margin-right: #{$i * 4}px !important;
|
|
94
|
-
}
|
|
95
|
-
.pr-sm-#{$i} {
|
|
96
|
-
padding-right: #{$i * 4}px !important;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
@for $i from 0 through 10 {
|
|
101
|
-
.mt-sm-#{$i} {
|
|
102
|
-
margin-top: #{$i * 4}px !important;
|
|
103
|
-
}
|
|
104
|
-
.pt-sm-#{$i} {
|
|
105
|
-
padding-top: #{$i * 4}px !important;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
@for $i from 0 through 10 {
|
|
110
|
-
.mb-sm-#{$i} {
|
|
111
|
-
margin-bottom: #{$i * 4}px !important;
|
|
112
|
-
}
|
|
113
|
-
.pb-sm-#{$i} {
|
|
114
|
-
padding-bottom: #{$i * 4}px !important;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
@for $i from 0 through 10 {
|
|
119
|
-
.mx-sm-#{$i} {
|
|
120
|
-
margin-right: #{$i * 4}px !important;
|
|
121
|
-
margin-left: #{$i * 4}px !important;
|
|
122
|
-
}
|
|
123
|
-
.px-sm-#{$i} {
|
|
124
|
-
padding-right: #{$i * 4}px !important;
|
|
125
|
-
padding-left: #{$i * 4}px !important;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
@for $i from 0 through 10 {
|
|
130
|
-
.my-sm-#{$i} {
|
|
131
|
-
margin-top: #{$i * 4}px !important;
|
|
132
|
-
margin-bottom: #{$i * 4}px !important;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.py-sm-#{$i} {
|
|
136
|
-
padding-top: #{$i * 4}px !important;
|
|
137
|
-
padding-bottom: #{$i * 4}px !important;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
@media (min-width: $laptop-width) {
|
|
143
|
-
@for $i from 0 through 10 {
|
|
144
|
-
.m-lg-#{$i} {
|
|
145
|
-
margin: #{$i * 4}px;
|
|
146
|
-
}
|
|
147
|
-
.p-lg-#{$i} {
|
|
148
|
-
padding: #{$i * 4}px;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
@for $i from 0 through 10 {
|
|
153
|
-
.ml-lg-#{$i} {
|
|
154
|
-
margin-left: #{$i * 4}px !important;
|
|
155
|
-
}
|
|
156
|
-
.pl-lg-#{$i} {
|
|
157
|
-
padding-left: #{$i * 4}px !important;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
@for $i from 0 through 10 {
|
|
162
|
-
.mr-lg-#{$i} {
|
|
163
|
-
margin-right: #{$i * 4}px !important;
|
|
164
|
-
}
|
|
165
|
-
.pr-lg-#{$i} {
|
|
166
|
-
padding-right: #{$i * 4}px !important;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
@for $i from 0 through 10 {
|
|
171
|
-
.mt-lg-#{$i} {
|
|
172
|
-
margin-top: #{$i * 4}px !important;
|
|
173
|
-
}
|
|
174
|
-
.pt-lg-#{$i} {
|
|
175
|
-
padding-top: #{$i * 4}px !important;
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
@for $i from 0 through 10 {
|
|
180
|
-
.mb-lg-#{$i} {
|
|
181
|
-
margin-bottom: #{$i * 4}px !important;
|
|
182
|
-
}
|
|
183
|
-
.pb-lg-#{$i} {
|
|
184
|
-
padding-bottom: #{$i * 4}px !important;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
@for $i from 0 through 10 {
|
|
189
|
-
.mx-lg-#{$i} {
|
|
190
|
-
margin-right: #{$i * 4}px !important;
|
|
191
|
-
margin-left: #{$i * 4}px !important;
|
|
192
|
-
}
|
|
193
|
-
.px-lg-#{$i} {
|
|
194
|
-
padding-right: #{$i * 4}px !important;
|
|
195
|
-
padding-left: #{$i * 4}px !important;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
@for $i from 0 through 10 {
|
|
200
|
-
.my-lg-#{$i} {
|
|
201
|
-
margin-top: #{$i * 4}px !important;
|
|
202
|
-
margin-bottom: #{$i * 4}px !important;
|
|
203
|
-
}
|
|
204
|
-
.py-lg-#{$i} {
|
|
205
|
-
padding-top: #{$i * 4}px !important;
|
|
206
|
-
padding-bottom: #{$i * 4}px !important;
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
@media (min-width: $tablet-width) {
|
|
212
|
-
@for $i from 0 through 10 {
|
|
213
|
-
.m-md-#{$i} {
|
|
214
|
-
margin: #{$i * 4}px;
|
|
215
|
-
}
|
|
216
|
-
.p-md-#{$i} {
|
|
217
|
-
padding: #{$i * 4}px;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
@for $i from 0 through 10 {
|
|
222
|
-
.ml-md-#{$i} {
|
|
223
|
-
margin-left: #{$i * 4}px !important;
|
|
224
|
-
}
|
|
225
|
-
.pl-md-#{$i} {
|
|
226
|
-
padding-left: #{$i * 4}px !important;
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
@for $i from 0 through 10 {
|
|
231
|
-
.mr-md-#{$i} {
|
|
232
|
-
margin-right: #{$i * 4}px !important;
|
|
233
|
-
}
|
|
234
|
-
.pr-md-#{$i} {
|
|
235
|
-
padding-right: #{$i * 4}px !important;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
@for $i from 0 through 10 {
|
|
240
|
-
.mt-md-#{$i} {
|
|
241
|
-
margin-top: #{$i * 4}px !important;
|
|
242
|
-
}
|
|
243
|
-
.pt-md-#{$i} {
|
|
244
|
-
padding-top: #{$i * 4}px !important;
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
@for $i from 0 through 10 {
|
|
249
|
-
.mb-md-#{$i} {
|
|
250
|
-
margin-bottom: #{$i * 4}px !important;
|
|
251
|
-
}
|
|
252
|
-
.pb-md-#{$i} {
|
|
253
|
-
padding-bottom: #{$i * 4}px !important;
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
@for $i from 0 through 10 {
|
|
258
|
-
.mx-md-#{$i} {
|
|
259
|
-
margin-right: #{$i * 4}px !important;
|
|
260
|
-
margin-left: #{$i * 4}px !important;
|
|
261
|
-
}
|
|
262
|
-
.px-md-#{$i} {
|
|
263
|
-
padding-right: #{$i * 4}px !important;
|
|
264
|
-
padding-left: #{$i * 4}px !important;
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
@for $i from 0 through 10 {
|
|
269
|
-
.my-md-#{$i} {
|
|
270
|
-
margin-top: #{$i * 4}px !important;
|
|
271
|
-
margin-bottom: #{$i * 4}px !important;
|
|
272
|
-
}
|
|
273
|
-
.py-md-#{$i} {
|
|
274
|
-
padding-top: #{$i * 4}px !important;
|
|
275
|
-
padding-bottom: #{$i * 4}px !important;
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
@media (min-width: $desktop-width) {
|
|
281
|
-
@for $i from 0 through 10 {
|
|
282
|
-
.m-xl-#{$i} {
|
|
283
|
-
margin: #{$i * 4}px;
|
|
284
|
-
}
|
|
285
|
-
.p-xl-#{$i} {
|
|
286
|
-
padding: #{$i * 4}px;
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
@for $i from 0 through 10 {
|
|
291
|
-
.ml-xl-#{$i} {
|
|
292
|
-
margin-left: #{$i * 4}px !important;
|
|
293
|
-
}
|
|
294
|
-
.pl-xl-#{$i} {
|
|
295
|
-
padding-left: #{$i * 4}px !important;
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
@for $i from 0 through 10 {
|
|
300
|
-
.mr-xl-#{$i} {
|
|
301
|
-
margin-right: #{$i * 4}px !important;
|
|
302
|
-
}
|
|
303
|
-
.pr-xl-#{$i} {
|
|
304
|
-
padding-right: #{$i * 4}px !important;
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
@for $i from 0 through 10 {
|
|
309
|
-
.mt-xl-#{$i} {
|
|
310
|
-
margin-top: #{$i * 4}px !important;
|
|
311
|
-
}
|
|
312
|
-
.pt-xl-#{$i} {
|
|
313
|
-
padding-top: #{$i * 4}px !important;
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
@for $i from 0 through 10 {
|
|
318
|
-
.mb-xl-#{$i} {
|
|
319
|
-
margin-bottom: #{$i * 4}px !important;
|
|
320
|
-
}
|
|
321
|
-
.pb-xl-#{$i} {
|
|
322
|
-
padding-bottom: #{$i * 4}px !important;
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
@for $i from 0 through 10 {
|
|
327
|
-
.mx-xl-#{$i} {
|
|
328
|
-
margin-right: #{$i * 4}px !important;
|
|
329
|
-
margin-left: #{$i * 4}px !important;
|
|
330
|
-
}
|
|
331
|
-
.px-xl-#{$i} {
|
|
332
|
-
padding-right: #{$i * 4}px !important;
|
|
333
|
-
padding-left: #{$i * 4}px !important;
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
@for $i from 0 through 10 {
|
|
338
|
-
.my-xl-#{$i} {
|
|
339
|
-
margin-top: #{$i * 4}px !important;
|
|
340
|
-
margin-bottom: #{$i * 4}px !important;
|
|
341
|
-
}
|
|
342
|
-
.py-xl-#{$i} {
|
|
343
|
-
padding-top: #{$i * 4}px !important;
|
|
344
|
-
padding-bottom: #{$i * 4}px !important;
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
.container {
|
|
350
|
-
max-width: 1260px;
|
|
351
|
-
margin: 0 auto;
|
|
352
|
-
@extend %container-padding;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
.background-shine {
|
|
356
|
-
position: absolute;
|
|
357
|
-
left: -165px;
|
|
358
|
-
top: -300px;
|
|
359
|
-
z-index: -1;
|
|
360
|
-
|
|
361
|
-
@media (max-width: $phone-width) {
|
|
362
|
-
left: -165px;
|
|
363
|
-
top: -103px;
|
|
364
|
-
width: 648px;
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
.path {
|
|
369
|
-
width: 100%;
|
|
370
|
-
height: 1px;
|
|
371
|
-
background: LightColor("white-20");
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
.line {
|
|
375
|
-
width: 100%;
|
|
376
|
-
height: 1px;
|
|
377
|
-
border-bottom: 0.5px solid SolidColor("smoke");
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
.skeleton {
|
|
381
|
-
background: SolidColor("lightsmoke");
|
|
382
|
-
animation: skeleton-animate 1s 1s infinite ease-in-out;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
.skeleton-dark {
|
|
386
|
-
background: LightColor("dark-20");
|
|
387
|
-
animation: skeleton-dark-animate 1s 1s infinite ease-in-out;
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
.skeleton-transparent {
|
|
391
|
-
background: rgba($white, 0.2);
|
|
392
|
-
animation: skeleton-transparent-animate 1s 1s infinite ease-in-out;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
.semi-transparent {
|
|
396
|
-
opacity: 0.5;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
@keyframes skeleton-animate {
|
|
400
|
-
0% {
|
|
401
|
-
background: #eaeaea;
|
|
402
|
-
}
|
|
403
|
-
50% {
|
|
404
|
-
background: SolidColor("lightsmoke");
|
|
405
|
-
}
|
|
406
|
-
100% {
|
|
407
|
-
background: #eaeaea;
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
@keyframes skeleton-dark-animate {
|
|
412
|
-
0% {
|
|
413
|
-
background: LightColor("dark-20");
|
|
414
|
-
}
|
|
415
|
-
50% {
|
|
416
|
-
background: LightColor("grey-20");
|
|
417
|
-
}
|
|
418
|
-
100% {
|
|
419
|
-
background: LightColor("dark-20");
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
@keyframes skeleton-transparent-animate {
|
|
424
|
-
0% {
|
|
425
|
-
background: rgba($white, 0.2);
|
|
426
|
-
}
|
|
427
|
-
50% {
|
|
428
|
-
background: rgba($white, 0.1);
|
|
429
|
-
}
|
|
430
|
-
100% {
|
|
431
|
-
background: rgba($white, 0.2);
|
|
432
|
-
}
|
|
433
|
-
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
@import "mixins";
|
|
2
|
-
@import "functions";
|
|
3
|
-
|
|
4
|
-
a {
|
|
5
|
-
text-decoration: none;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
td {
|
|
9
|
-
padding: 0;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
/* Chrome, Safari, Edge, Opera */
|
|
13
|
-
input::-webkit-outer-spin-button,
|
|
14
|
-
input::-webkit-inner-spin-button {
|
|
15
|
-
-webkit-appearance: none;
|
|
16
|
-
margin: 0;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/* Firefox */
|
|
20
|
-
input[type="number"] {
|
|
21
|
-
-moz-appearance: textfield;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
textarea {
|
|
25
|
-
-webkit-appearance: none;
|
|
26
|
-
-moz-appearance: none;
|
|
27
|
-
appearance: none;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
* {
|
|
31
|
-
outline: none !important;
|
|
32
|
-
box-sizing: border-box;
|
|
33
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
html {
|
|
37
|
-
background-color: SolidColor("dark");
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
body {
|
|
41
|
-
margin: 0;
|
|
42
|
-
font-family: NunitoSans;
|
|
43
|
-
width: 100%;
|
|
44
|
-
overflow-x: hidden;
|
|
45
|
-
overflow-y: auto;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
h1 {
|
|
49
|
-
@include typograpy("h1");
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
h2 {
|
|
53
|
-
@include typograpy("h2");
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
h3 {
|
|
57
|
-
@include typograpy("h3");
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
h4 {
|
|
61
|
-
@include typograpy("h4");
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
h5 {
|
|
65
|
-
@include typograpy("h5");
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
h6 {
|
|
69
|
-
@include typograpy("h6");
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
p {
|
|
73
|
-
@include typograpy("p");
|
|
74
|
-
}
|
package/styles/index.scss
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
@import "variables";
|
|
2
|
-
@import "global-classes";
|
|
3
|
-
@import "placeholder";
|
|
4
|
-
|
|
5
|
-
@font-face {
|
|
6
|
-
//src: url("fonts/NunitoSans-ExtraBold.ttf");
|
|
7
|
-
//font-family: "NunitoSans";
|
|
8
|
-
font-weight: $extra-bold;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
@font-face {
|
|
12
|
-
//src: url("fonts/NunitoSans-Bold.ttf");
|
|
13
|
-
//font-family: "NunitoSans";
|
|
14
|
-
font-weight: $bold;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@font-face {
|
|
18
|
-
//src: url("fonts/NunitoSans-SemiBold.ttf");
|
|
19
|
-
//font-family: "NunitoSans";
|
|
20
|
-
font-weight: 600;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
@font-face {
|
|
24
|
-
//src: url("fonts/NunitoSans-Regular.ttf");
|
|
25
|
-
//font-family: "NunitoSans";
|
|
26
|
-
font-weight: 400;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
@font-face {
|
|
30
|
-
//src: url("fonts/NunitoSans-Light.ttf");
|
|
31
|
-
//font-family: "NunitoSans";
|
|
32
|
-
font-weight: 300;
|
|
33
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|