@rabbitio/ui-kit 1.0.0-beta.71 → 1.0.0-beta.73
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/coverage/clover.xml +12889 -8253
- package/coverage/coverage-final.json +157 -99
- package/coverage/index.html +385 -220
- package/coverage/{rabbit-ui-kit → ui-kit}/index.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/index.js.html +3 -3
- package/coverage/{rabbit-ui-kit/src/common → ui-kit/src/common-apis}/adapters/axiosAdapter.js.html +3 -3
- package/coverage/{rabbit-ui-kit/src/common → ui-kit/src/common-apis}/adapters/index.html +3 -3
- package/coverage/{rabbit-ui-kit/src/common → ui-kit/src/common-apis}/adapters/qrUtils.js.html +3 -3
- package/coverage/{rabbit-ui-kit/src/common → ui-kit/src/common-apis}/amountUtils.js.html +3 -3
- package/coverage/{rabbit-ui-kit/src/common → ui-kit/src/common-apis}/errorUtils.js.html +3 -3
- package/coverage/{rabbit-ui-kit/src/common → ui-kit/src/common-apis}/external-apis/apiGroups.js.html +3 -3
- package/coverage/{rabbit-ui-kit/src/common → ui-kit/src/common-apis}/external-apis/index.html +3 -3
- package/coverage/{rabbit-ui-kit/src/common → ui-kit/src/common-apis}/external-apis/ipAddressProviders.js.html +5 -5
- package/coverage/{rabbit-ui-kit/src/common → ui-kit/src/common-apis}/fiatCurrenciesService.js.html +3 -3
- package/coverage/{rabbit-ui-kit/src/constants → ui-kit/src/common-apis}/globalConstants.jsx.html +3 -3
- package/coverage/{rabbit-ui-kit/src/common → ui-kit/src/common-apis}/index.html +22 -7
- package/coverage/{rabbit-ui-kit/src/common → ui-kit/src/common-apis}/models/blockchain.js.html +3 -3
- package/coverage/{rabbit-ui-kit/src/common → ui-kit/src/common-apis}/models/coin.js.html +3 -3
- package/coverage/{rabbit-ui-kit/src/common → ui-kit/src/common-apis}/models/index.html +3 -3
- package/coverage/{rabbit-ui-kit/src/common → ui-kit/src/common-apis}/models/protocol.js.html +3 -3
- package/coverage/{rabbit-ui-kit/src/common → ui-kit/src/common-apis}/utils/cache.js.html +8 -8
- package/coverage/{rabbit-ui-kit/src/common → ui-kit/src/common-apis}/utils/emailAPI.js.html +3 -3
- package/coverage/{rabbit-ui-kit/src/common → ui-kit/src/common-apis}/utils/index.html +3 -3
- package/coverage/{rabbit-ui-kit/src/common → ui-kit/src/common-apis}/utils/logging/index.html +3 -3
- package/coverage/{rabbit-ui-kit/src/common → ui-kit/src/common-apis}/utils/logging/logger.js.html +6 -6
- package/coverage/{rabbit-ui-kit/src/common → ui-kit/src/common-apis}/utils/logging/logsStorage.js.html +5 -5
- package/coverage/{rabbit-ui-kit/src/common → ui-kit/src/common-apis}/utils/postponeExecution.js.html +3 -3
- package/coverage/{rabbit-ui-kit/src/common → ui-kit/src/common-apis}/utils/safeStringify.js.html +29 -29
- package/coverage/{rabbit-ui-kit → ui-kit}/src/index.html +7 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/src/index.js.html +68 -80
- package/coverage/{rabbit-ui-kit/src/robustExteranlApiCallerService → ui-kit/src/robust-api-caller}/cacheAndConcurrentRequestsResolver.js.html +5 -5
- package/coverage/{rabbit-ui-kit/src/robustExteranlApiCallerService → ui-kit/src/robust-api-caller}/cachedRobustExternalApiCallerService.js.html +6 -6
- package/coverage/{rabbit-ui-kit/src/robustExteranlApiCallerService → ui-kit/src/robust-api-caller}/cancelProcessing.js.html +3 -3
- package/coverage/{rabbit-ui-kit/src/robustExteranlApiCallerService → ui-kit/src/robust-api-caller}/concurrentCalculationsMetadataHolder.js.html +4 -4
- package/coverage/{rabbit-ui-kit/src/robustExteranlApiCallerService → ui-kit/src/robust-api-caller}/externalApiProvider.js.html +3 -3
- package/coverage/{rabbit-ui-kit/src/robustExteranlApiCallerService → ui-kit/src/robust-api-caller}/externalServicesStatsCollector.js.html +5 -5
- package/coverage/{rabbit-ui-kit/src/robustExteranlApiCallerService → ui-kit/src/robust-api-caller}/index.html +3 -3
- package/coverage/{rabbit-ui-kit/src/robustExteranlApiCallerService → ui-kit/src/robust-api-caller}/robustExternalAPICallerService.js.html +8 -8
- package/coverage/ui-kit/src/swaps-lib/external-apis/index.html +146 -0
- package/coverage/ui-kit/src/swaps-lib/external-apis/letsExchangeSwapProvider.js.html +1456 -0
- package/coverage/ui-kit/src/swaps-lib/external-apis/swapProvider.js.html +1390 -0
- package/coverage/{rabbit-ui-kit → ui-kit}/src/swaps-lib/external-apis/swapspaceSwapProvider.js.html +182 -662
- package/coverage/{rabbit-ui-kit → ui-kit}/src/swaps-lib/models/baseSwapCreationInfo.js.html +16 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/src/swaps-lib/models/existingSwap.js.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/swaps-lib/models/existingSwapWithFiatData.js.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/swaps-lib/models/index.html +9 -9
- package/coverage/{rabbit-ui-kit → ui-kit}/src/swaps-lib/services/index.html +7 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/src/swaps-lib/services/publicSwapService.js.html +243 -57
- package/coverage/{rabbit-ui-kit → ui-kit}/src/swaps-lib/utils/index.html +13 -13
- package/coverage/{rabbit-ui-kit → ui-kit}/src/swaps-lib/utils/swapUtils.js.html +127 -52
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/assets/wrappedImages/arrowIcon.jsx.html +10 -10
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/assets/wrappedImages/arrowTosca.jsx.html +10 -10
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/assets/wrappedImages/arrowWhite.jsx.html +11 -11
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/assets/wrappedImages/darkRectangle.jsx.html +10 -10
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/assets/wrappedImages/determinedError.jsx.html +10 -10
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/assets/wrappedImages/failedValidationIcon.jsx.html +10 -10
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/assets/wrappedImages/index.html +10 -10
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/assets/wrappedImages/infoIcon.jsx.html +10 -10
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/assets/wrappedImages/noticeQuestionIcon.jsx.html +10 -10
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/assets/wrappedImages/successfulValidationIcon.jsx.html +10 -10
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/assets/wrappedImages/walletIcon.jsx.html +10 -10
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/atoms/AssetIcon/AssetIcon.jsx.html +20 -17
- package/coverage/{rabbit-ui-kit/src/components/atoms/buttons/Button → ui-kit/src/ui-kit/components/atoms/AssetIcon}/index.html +8 -8
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/atoms/AssetSelection/AssetSelection.jsx.html +23 -20
- package/coverage/{rabbit-ui-kit/src/components/atoms/buttons/LinkButton → ui-kit/src/ui-kit/components/atoms/AssetSelection}/index.html +8 -8
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/atoms/BackgroundTitle/BackgroundTitle.jsx.html +10 -10
- package/coverage/ui-kit/src/ui-kit/components/atoms/BackgroundTitle/index.html +116 -0
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/atoms/InformationMessage/InformationMessage.jsx.html +21 -18
- package/coverage/ui-kit/src/ui-kit/components/atoms/InformationMessage/index.html +116 -0
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/atoms/Input/Input.jsx.html +38 -35
- package/coverage/{rabbit-ui-kit/src/components/atoms/buttons/Close → ui-kit/src/ui-kit/components/atoms/Input}/index.html +8 -8
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/atoms/LoadingDots/LoadingDots.jsx.html +10 -10
- package/coverage/{rabbit-ui-kit/src/constants/organisms/dialog/DialogStep → ui-kit/src/ui-kit/components/atoms/LoadingDots}/index.html +8 -8
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/atoms/NoticeIcon/NoticeIcon.jsx.html +19 -22
- package/coverage/ui-kit/src/ui-kit/components/atoms/NoticeIcon/index.html +116 -0
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/atoms/QrCode/QrCode.jsx.html +63 -15
- package/coverage/ui-kit/src/ui-kit/components/atoms/QrCode/index.html +116 -0
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/atoms/RateSelector/RateSelector.jsx.html +16 -13
- package/coverage/ui-kit/src/ui-kit/components/atoms/RateSelector/index.html +116 -0
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/atoms/SupportChat/SupportChat.jsx.html +16 -13
- package/coverage/ui-kit/src/ui-kit/components/atoms/SupportChat/index.html +116 -0
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/atoms/Textarea/Textarea.jsx.html +36 -30
- package/coverage/ui-kit/src/ui-kit/components/atoms/Textarea/index.html +116 -0
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/atoms/TitleBox/TitleBox.jsx.html +29 -29
- package/coverage/ui-kit/src/ui-kit/components/atoms/TitleBox/index.html +116 -0
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/atoms/Tooltip/Tooltip.jsx.html +48 -21
- package/coverage/ui-kit/src/ui-kit/components/atoms/Tooltip/index.html +116 -0
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/atoms/TwoLinesOfText/LinesOfText.jsx.html +29 -23
- package/coverage/ui-kit/src/ui-kit/components/atoms/TwoLinesOfText/index.html +116 -0
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/atoms/Validation/Validation.jsx.html +13 -13
- package/coverage/ui-kit/src/ui-kit/components/atoms/Validation/index.html +116 -0
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/atoms/buttons/Button/Button.jsx.html +10 -10
- package/coverage/{rabbit-ui-kit/src/components/atoms/AssetSelection → ui-kit/src/ui-kit/components/atoms/buttons/Button}/index.html +15 -15
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/atoms/buttons/Close/Close.jsx.html +30 -15
- package/coverage/{rabbit-ui-kit/src/components/atoms/BackgroundTitle → ui-kit/src/ui-kit/components/atoms/buttons/Close}/index.html +15 -15
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/atoms/buttons/LinkButton/LinkButton.jsx.html +34 -16
- package/coverage/ui-kit/src/ui-kit/components/atoms/buttons/LinkButton/index.html +116 -0
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/atoms/buttons/RadioButtonWithText/RadioButtonWithText.jsx.html +11 -11
- package/coverage/ui-kit/src/ui-kit/components/atoms/buttons/RadioButtonWithText/index.html +116 -0
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/molecules/AmountInput/AmountInput.jsx.html +20 -17
- package/coverage/ui-kit/src/ui-kit/components/molecules/AmountInput/index.html +116 -0
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/molecules/CoinPicker/CoinPicker.jsx.html +44 -38
- package/coverage/ui-kit/src/ui-kit/components/molecules/CoinPicker/index.html +116 -0
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/molecules/LineWithIconLink/LineWithIconLink.jsx.html +10 -10
- package/coverage/{rabbit-ui-kit/src/components/organisms/Dialog/DialogStep → ui-kit/src/ui-kit/components/molecules/LineWithIconLink}/index.html +8 -8
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/molecules/TitledLineWithIconLink/TitledLineWithIconLink.jsx.html +25 -19
- package/coverage/{rabbit-ui-kit/src/components/atoms/buttons/RadioButtonWithText → ui-kit/src/ui-kit/components/molecules/TitledLineWithIconLink}/index.html +8 -8
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/organisms/CoinPickerDialogStep/CoinPickerDialogStep.jsx.html +20 -14
- package/coverage/{rabbit-ui-kit/src/components/organisms/Dialog/DialogButtons → ui-kit/src/ui-kit/components/organisms/CoinPickerDialogStep}/index.html +8 -8
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/organisms/Dialog/Dialog.jsx.html +106 -19
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/organisms/Dialog/DialogButtons/DialogButtons.jsx.html +13 -13
- package/coverage/ui-kit/src/ui-kit/components/organisms/Dialog/DialogButtons/index.html +116 -0
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/organisms/Dialog/DialogStep/DialogStep.jsx.html +66 -60
- package/coverage/ui-kit/src/ui-kit/components/organisms/Dialog/DialogStep/index.html +116 -0
- package/coverage/ui-kit/src/ui-kit/components/organisms/Dialog/index.html +116 -0
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/organisms/SwapForm/SwapForm.jsx.html +470 -98
- package/coverage/ui-kit/src/ui-kit/components/organisms/SwapForm/index.html +116 -0
- package/coverage/{rabbit-ui-kit/src → ui-kit/src/ui-kit}/components/templates/DeterminedErrorDialogStep/DeterminedErrorDialogStep.jsx.html +12 -12
- package/coverage/ui-kit/src/ui-kit/components/templates/DeterminedErrorDialogStep/index.html +116 -0
- package/coverage/{rabbit-ui-kit/src/components → ui-kit/src/ui-kit}/hooks/index.html +22 -7
- package/coverage/{rabbit-ui-kit/src/components → ui-kit/src/ui-kit}/hooks/useCallHandlingErrors.js.html +4 -4
- package/coverage/ui-kit/src/ui-kit/hooks/useIsHydrated.js.html +121 -0
- package/coverage/{rabbit-ui-kit/src/components → ui-kit/src/ui-kit}/hooks/useReferredState.js.html +3 -3
- package/coverage/{rabbit-ui-kit/src/components → ui-kit/src/ui-kit}/utils/index.html +3 -3
- package/coverage/{rabbit-ui-kit/src/components → ui-kit/src/ui-kit}/utils/inputValueProviders.js.html +3 -3
- package/coverage/{rabbit-ui-kit/src/components → ui-kit/src/ui-kit}/utils/textUtils.js.html +4 -4
- package/coverage/{rabbit-ui-kit/src/components → ui-kit/src/ui-kit}/utils/uiUtils.js.html +3 -3
- package/coverage/{rabbit-ui-kit/src/components → ui-kit/src/ui-kit}/utils/urlQueryUtils.js.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/atoms/BackgroundTitle.stories.jsx.html +4 -4
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/atoms/LinesOfText.stories.jsx.html +6 -6
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/atoms/LoadingDots.stories.jsx.html +5 -5
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/atoms/QrCode.stories.jsx.html +5 -5
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/atoms/RateSelector.stories.jsx.html +4 -4
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/atoms/Validation.stories.jsx.html +4 -4
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/atoms/buttons/Button.stories.jsx.html +29 -92
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/atoms/buttons/Close.stories.jsx.html +9 -12
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/atoms/buttons/LinkButton.stories.jsx.html +15 -9
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/atoms/buttons/index.html +11 -11
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/atoms/index.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/molecules/LineWithIconLink.stories.jsx.html +5 -5
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/molecules/TitledLineWithIconLink.stories.jsx.html +4 -4
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/molecules/index.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/organisms/Dialog/Dialog.stories.jsx.html +15 -81
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/organisms/Dialog/DialogButtons/DialogButtons.stories.jsx.html +5 -5
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/organisms/Dialog/DialogButtons/index.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/organisms/Dialog/DialogStep/DialogStep.stories.jsx.html +6 -6
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/organisms/Dialog/DialogStep/index.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/organisms/Dialog/index.html +7 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/stubs/exampleContent.jsx.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/stubs/index.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/templates/DeterminedErrorDialogStep.stories.jsx.html +9 -12
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/templates/index.html +7 -7
- package/coverage/ui-kit/storybook-static/124.c2d01e5e.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/138.56b7edc4.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/312.6f62bbd9.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/341.57a15f57.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/370.73bb343e.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/595.2e40d981.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/607.3ea32459.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/609.8c79ec77.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/666.09fdc1d7.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/797.c87cdf19.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/822.4bc0ebce.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/833.08e3ebb6.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/862.bf6bfe62.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/87.0a1bfeb1.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/893.4b09f929.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/996.846a677b.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/atoms-BackgroundTitle-stories.1a5386a1.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/atoms-LinesOfText-stories.7043a48b.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/atoms-LoadingDots-stories.091245c7.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/atoms-QrCode-stories.e10363b6.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/atoms-RateSelector-stories.af208e9a.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/atoms-Validation-stories.d561b311.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/atoms-buttons-Button-stories.e8e6b930.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/atoms-buttons-Close-stories.0a902a7c.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/atoms-buttons-LinkButton-stories.ca93ab6b.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/index.html +596 -0
- package/coverage/ui-kit/storybook-static/main.41f410f2.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/molecules-LineWithIconLink-stories.9721a18c.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/molecules-TitledLineWithIconLink-stories.1383fe3f.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/organisms-Dialog-Dialog-stories.4e6da717.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/organisms-Dialog-DialogButtons-DialogButtons-stories.6f45ae6e.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/organisms-Dialog-DialogStep-DialogStep-stories.74896048.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/rabbitio/ui-kit/node_modules/@storybook/addon-backgrounds/dist/index.html +116 -0
- package/coverage/ui-kit/storybook-static/rabbitio/ui-kit/node_modules/@storybook/addon-backgrounds/dist/preview.js.html +118 -0
- package/coverage/ui-kit/storybook-static/rabbitio/ui-kit/node_modules/@storybook/components/dist/formatter-SWP5E3XI.mjs.html +118 -0
- package/coverage/ui-kit/storybook-static/rabbitio/ui-kit/node_modules/@storybook/components/dist/index.html +116 -0
- package/coverage/ui-kit/storybook-static/rabbitio/ui-kit/node_modules/buffer/index.html +116 -0
- package/coverage/ui-kit/storybook-static/rabbitio/ui-kit/node_modules/buffer/index.js.html +118 -0
- package/coverage/{rabbit-ui-kit/src/components/atoms/InformationMessage → ui-kit/storybook-static/rabbitio/ui-kit/node_modules/markdown-to-jsx/dist}/index.html +15 -15
- package/coverage/ui-kit/storybook-static/rabbitio/ui-kit/node_modules/markdown-to-jsx/dist/index.modern.js.html +118 -0
- package/coverage/ui-kit/storybook-static/runtime~main.ad918f38.iframe.bundle.js.html +85 -0
- package/coverage/ui-kit/storybook-static/sb-addons/actions-9/index.html +116 -0
- package/coverage/ui-kit/storybook-static/sb-addons/actions-9/manager-bundle.js.html +94 -0
- package/coverage/ui-kit/storybook-static/sb-addons/essentials-backgrounds-2/index.html +116 -0
- package/coverage/ui-kit/storybook-static/sb-addons/essentials-backgrounds-2/manager-bundle.js.html +121 -0
- package/coverage/{rabbit-ui-kit/src/components/atoms/LoadingDots → ui-kit/storybook-static/sb-addons/essentials-controls-1}/index.html +15 -15
- package/coverage/ui-kit/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.html +274 -0
- package/coverage/{rabbit-ui-kit/src/components/atoms/AssetIcon → ui-kit/storybook-static/sb-addons/essentials-measure-4}/index.html +15 -15
- package/coverage/ui-kit/storybook-static/sb-addons/essentials-measure-4/manager-bundle.js.html +94 -0
- package/coverage/ui-kit/storybook-static/sb-addons/essentials-outline-5/index.html +116 -0
- package/coverage/ui-kit/storybook-static/sb-addons/essentials-outline-5/manager-bundle.js.html +94 -0
- package/coverage/ui-kit/storybook-static/sb-addons/essentials-toolbars-3/index.html +116 -0
- package/coverage/ui-kit/storybook-static/sb-addons/essentials-toolbars-3/manager-bundle.js.html +94 -0
- package/coverage/{rabbit-ui-kit/src/components/atoms/QrCode → ui-kit/storybook-static/sb-addons/interactions-7}/index.html +15 -15
- package/coverage/ui-kit/storybook-static/sb-addons/interactions-7/manager-bundle.js.html +121 -0
- package/coverage/{rabbit-ui-kit/src/constants/atoms/Close → ui-kit/storybook-static/sb-addons/links-0}/index.html +15 -15
- package/coverage/{rabbit-ui-kit/src/constants/atoms/LinkButton/linkButton.jsx.html → ui-kit/storybook-static/sb-addons/links-0/manager-bundle.js.html} +16 -25
- package/coverage/ui-kit/storybook-static/sb-addons/onboarding-6/index.html +116 -0
- package/coverage/ui-kit/storybook-static/sb-addons/onboarding-6/manager-bundle.js.html +1588 -0
- package/coverage/{rabbit-ui-kit/src/constants/atoms/Tooltip → ui-kit/storybook-static/sb-addons/viewport-8}/index.html +15 -15
- package/coverage/ui-kit/storybook-static/sb-addons/viewport-8/manager-bundle.js.html +94 -0
- package/coverage/{rabbit-ui-kit/src/constants/atoms/Close/close.jsx.html → ui-kit/storybook-static/sb-manager/WithTooltip-V3YHNWJZ-LVYLGZW2.js.html} +14 -26
- package/coverage/ui-kit/storybook-static/sb-manager/chunk-2IXBUOFS.js.html +106 -0
- package/coverage/ui-kit/storybook-static/sb-manager/chunk-INSKDKQB.js.html +1129 -0
- package/coverage/ui-kit/storybook-static/sb-manager/chunk-NGTUFCUO.js.html +112 -0
- package/coverage/ui-kit/storybook-static/sb-manager/chunk-UUEAOBSN.js.html +1303 -0
- package/coverage/ui-kit/storybook-static/sb-manager/chunk-ZEU7PDD3.js.html +88 -0
- package/coverage/ui-kit/storybook-static/sb-manager/formatter-SWP5E3XI-7BGIK6BL.js.html +553 -0
- package/coverage/ui-kit/storybook-static/sb-manager/globals-module-info.js.html +88 -0
- package/coverage/ui-kit/storybook-static/sb-manager/globals.js.html +88 -0
- package/coverage/ui-kit/storybook-static/sb-manager/index.html +281 -0
- package/coverage/{rabbit-ui-kit/src/constants/organisms/dialog/DialogStep/dialogStep.js.html → ui-kit/storybook-static/sb-manager/index.js.html} +11 -11
- package/coverage/ui-kit/storybook-static/sb-manager/runtime.js.html +88 -0
- package/coverage/ui-kit/storybook-static/sb-manager/syntaxhighlighter-V7JZZA35-DXZCI2WR.js.html +88 -0
- package/coverage/ui-kit/storybook-static/sb-preview/globals.js.html +88 -0
- package/coverage/ui-kit/storybook-static/sb-preview/index.html +131 -0
- package/coverage/ui-kit/storybook-static/sb-preview/runtime.js.html +421 -0
- package/coverage/ui-kit/storybook-static/templates-DeterminedErrorDialogStep-stories.3cc14214.iframe.bundle.js.html +85 -0
- package/dist/index.cjs +1568 -796
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +21030 -21030
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +1108 -534
- package/dist/index.modern.js.map +1 -1
- package/dist/index.module.js +1567 -797
- package/dist/index.module.js.map +1 -1
- package/dist/index.umd.js +1568 -796
- package/dist/index.umd.js.map +1 -1
- package/package.json +3 -3
- package/src/{common → common-apis}/external-apis/ipAddressProviders.js +2 -2
- package/src/index.js +62 -66
- package/src/{robustExteranlApiCallerService → robust-api-caller}/cacheAndConcurrentRequestsResolver.js +2 -2
- package/src/{robustExteranlApiCallerService → robust-api-caller}/cachedRobustExternalApiCallerService.js +3 -3
- package/src/{robustExteranlApiCallerService → robust-api-caller}/concurrentCalculationsMetadataHolder.js +1 -1
- package/src/{robustExteranlApiCallerService → robust-api-caller}/externalServicesStatsCollector.js +2 -2
- package/src/{robustExteranlApiCallerService → robust-api-caller}/robustExternalAPICallerService.js +5 -5
- package/src/{robustExteranlApiCallerService → robust-api-caller}/tests/robustExternalAPICallerService/robustExternalAPICallerService/callExternalAPI/_performCallAttempt.test.js +2 -2
- package/src/{robustExteranlApiCallerService → robust-api-caller}/tests/robustExternalAPICallerService/robustExternalAPICallerService/callExternalAPI/callExternalAPI.test.js +1 -1
- package/src/{robustExteranlApiCallerService → robust-api-caller}/tests/robustExternalAPICallerService/robustExternalAPICallerService/constructor.test.js +1 -1
- package/src/swaps-lib/external-apis/letsExchangeSwapProvider.js +457 -0
- package/src/swaps-lib/external-apis/swapProvider.js +247 -20
- package/src/swaps-lib/external-apis/swapspaceSwapProvider.js +41 -201
- package/src/swaps-lib/models/baseSwapCreationInfo.js +4 -1
- package/src/swaps-lib/services/publicSwapService.js +113 -51
- package/src/swaps-lib/test/external-apis/swapProvider/removeProtocolNameFromCoinName.test.js +142 -0
- package/src/swaps-lib/test/external-apis/swapspaceSwapProvider/_fetchSupportedCurrenciesIfNeeded.test.js +5 -5
- package/src/swaps-lib/test/external-apis/swapspaceSwapProvider/createSwap.test.js +3 -3
- package/src/swaps-lib/test/external-apis/swapspaceSwapProvider/getAllSupportedCurrencies.test.js +1 -1
- package/src/swaps-lib/test/external-apis/swapspaceSwapProvider/getDepositCurrencies.test.js +1 -1
- package/src/swaps-lib/test/external-apis/swapspaceSwapProvider/getSwapInfo.test.js +124 -4
- package/src/swaps-lib/test/external-apis/swapspaceSwapProvider/getWithdrawalCurrencies.test.js +1 -1
- package/src/swaps-lib/test/utils/swapUtils/safeHandleRequestsLimitExceeding.test.js +2 -2
- package/src/swaps-lib/utils/swapUtils.js +69 -44
- package/{styles → src/ui-kit/assets/styles}/index.scss +1 -1
- package/src/{assets → ui-kit/assets}/wrappedImages/arrowWhite.jsx +1 -1
- package/src/{components → ui-kit/components}/atoms/AssetIcon/AssetIcon.jsx +5 -4
- package/src/{components → ui-kit/components}/atoms/AssetIcon/asset-icon.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/AssetSelection/AssetSelection.jsx +8 -7
- package/src/{components → ui-kit/components}/atoms/AssetSelection/asset-selection.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/BackgroundTitle/background-title.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/InformationMessage/InformationMessage.jsx +6 -5
- package/src/{components → ui-kit/components}/atoms/InformationMessage/information-message.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/Input/Input.jsx +23 -22
- package/src/{components → ui-kit/components}/atoms/Input/input.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/LoadingDots/LoadingDots.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/NoticeIcon/NoticeIcon.jsx +6 -7
- package/src/{components → ui-kit/components}/atoms/NoticeIcon/notice-icon.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/QrCode/QrCode.jsx +18 -2
- package/src/{components → ui-kit/components}/atoms/QrCode/qr-code.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/RateSelector/RateSelector.jsx +1 -0
- package/src/{components → ui-kit/components}/atoms/RateSelector/rate-selector.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/SupportChat/SupportChat.jsx +1 -0
- package/src/{components → ui-kit/components}/atoms/Textarea/Textarea.jsx +19 -17
- package/src/{components → ui-kit/components}/atoms/Textarea/textarea.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/TitleBox/TitleBox.jsx +19 -19
- package/src/{components → ui-kit/components}/atoms/TitleBox/title-box.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/Tooltip/Tooltip.jsx +17 -8
- package/src/{components → ui-kit/components}/atoms/Tooltip/tooltip.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/TwoLinesOfText/LinesOfText.jsx +11 -9
- package/src/{components → ui-kit/components}/atoms/TwoLinesOfText/lines-of-text.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/Validation/Validation.jsx +2 -2
- package/src/{components → ui-kit/components}/atoms/Validation/validation.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/buttons/Button/Button.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/buttons/Close/Close.jsx +7 -2
- package/src/{components → ui-kit/components}/atoms/buttons/Close/close.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/buttons/LinkButton/LinkButton.jsx +9 -3
- package/src/{components → ui-kit/components}/atoms/buttons/LinkButton/link-button.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/buttons/RadioButtonWithText/RadioButtonWithText.jsx +1 -1
- package/src/{components → ui-kit/components}/atoms/buttons/RadioButtonWithText/radio-button-with-text.module.scss +1 -1
- package/src/{components → ui-kit/components}/molecules/AmountInput/AmountInput.jsx +5 -4
- package/src/{components → ui-kit/components}/molecules/AmountInput/amount-input.module.scss +1 -1
- package/src/{components → ui-kit/components}/molecules/CoinPicker/CoinPicker.jsx +27 -25
- package/src/{components → ui-kit/components}/molecules/CoinPicker/coin-picker.module.scss +1 -1
- package/src/{components → ui-kit/components}/molecules/LineWithIconLink/line-with-icon-link.module.scss +1 -1
- package/src/{components → ui-kit/components}/molecules/TitledLineWithIconLink/TitledLineWithIconLink.jsx +8 -6
- package/src/{components → ui-kit/components}/organisms/CoinPickerDialogStep/CoinPickerDialogStep.jsx +3 -1
- package/src/{components → ui-kit/components}/organisms/Dialog/Dialog.jsx +35 -6
- package/src/{components → ui-kit/components}/organisms/Dialog/DialogButtons/DialogButtons.jsx +3 -3
- package/src/{components → ui-kit/components}/organisms/Dialog/DialogButtons/dialog-buttons.module.scss +1 -1
- package/src/{components → ui-kit/components}/organisms/Dialog/DialogStep/DialogStep.jsx +49 -47
- package/src/{components → ui-kit/components}/organisms/Dialog/DialogStep/dialog-step.module.scss +1 -1
- package/src/{components → ui-kit/components}/organisms/Dialog/dialog.module.scss +1 -1
- package/src/{components → ui-kit/components}/organisms/SwapForm/SwapForm.jsx +209 -85
- package/src/{components → ui-kit/components}/organisms/SwapForm/swap-form.module.scss +2 -2
- package/src/{components → ui-kit/components}/templates/DeterminedErrorDialogStep/DeterminedErrorDialogStep.jsx +2 -2
- package/src/{components → ui-kit}/hooks/useCallHandlingErrors.js +1 -1
- package/src/ui-kit/hooks/useIsHydrated.js +12 -0
- package/src/{components → ui-kit}/utils/textUtils.js +1 -1
- package/coverage/rabbit-ui-kit/src/components/atoms/Input/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/atoms/NoticeIcon/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/atoms/RateSelector/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/atoms/SupportChat/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/atoms/Textarea/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/atoms/TitleBox/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/atoms/Tooltip/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/atoms/TwoLinesOfText/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/atoms/Validation/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/molecules/AmountInput/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/molecules/CoinPicker/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/molecules/LineWithIconLink/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/molecules/TitledLineWithIconLink/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/organisms/CoinPickerDialogStep/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/organisms/Dialog/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/organisms/SwapForm/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/templates/DeterminedErrorDialogStep/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/constants/atoms/LinkButton/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/constants/atoms/Tooltip/tooltip.jsx.html +0 -109
- package/coverage/rabbit-ui-kit/src/constants/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/constants/organisms/dialog/dialog.js.html +0 -172
- package/coverage/rabbit-ui-kit/src/constants/organisms/dialog/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/swaps-lib/external-apis/index.html +0 -131
- package/coverage/rabbit-ui-kit/src/swaps-lib/external-apis/swapProvider.js.html +0 -709
- package/src/assets/image/icons/arrow-tosca.svg +0 -3
- package/src/constants/atoms/Close/close.jsx +0 -5
- package/src/constants/atoms/LinkButton/linkButton.jsx +0 -6
- package/src/constants/atoms/Tooltip/tooltip.jsx +0 -8
- package/src/constants/organisms/dialog/DialogStep/dialogStep.js +0 -1
- package/src/constants/organisms/dialog/dialog.js +0 -29
- /package/src/{common → common-apis}/adapters/axiosAdapter.js +0 -0
- /package/src/{common → common-apis}/adapters/qrUtils.js +0 -0
- /package/src/{common → common-apis}/amountUtils.js +0 -0
- /package/src/{common → common-apis}/errorUtils.js +0 -0
- /package/src/{common → common-apis}/external-apis/apiGroups.js +0 -0
- /package/src/{common → common-apis}/fiatCurrenciesService.js +0 -0
- /package/src/{constants → common-apis}/globalConstants.jsx +0 -0
- /package/src/{common → common-apis}/models/blockchain.js +0 -0
- /package/src/{common → common-apis}/models/coin.js +0 -0
- /package/src/{common → common-apis}/models/protocol.js +0 -0
- /package/src/{common → common-apis}/tests/amountUtils/composeRateText.test.js +0 -0
- /package/src/{common → common-apis}/tests/integration/external-apis/ipAddressProviders/getClientIpAddress.test.js +0 -0
- /package/src/{common → common-apis}/utils/cache.js +0 -0
- /package/src/{common → common-apis}/utils/emailAPI.js +0 -0
- /package/src/{common → common-apis}/utils/logging/logger.js +0 -0
- /package/src/{common → common-apis}/utils/logging/logsStorage.js +0 -0
- /package/src/{common → common-apis}/utils/postponeExecution.js +0 -0
- /package/src/{common → common-apis}/utils/safeStringify.js +0 -0
- /package/src/{robustExteranlApiCallerService → robust-api-caller}/cancelProcessing.js +0 -0
- /package/src/{robustExteranlApiCallerService → robust-api-caller}/externalApiProvider.js +0 -0
- /package/{styles → src/ui-kit/assets/styles}/_functions.scss +0 -0
- /package/{styles → src/ui-kit/assets/styles}/_global-classes.scss +0 -0
- /package/{styles → src/ui-kit/assets/styles}/_mixins.scss +0 -0
- /package/{styles → src/ui-kit/assets/styles}/_placeholder.scss +0 -0
- /package/{styles → src/ui-kit/assets/styles}/_variables.scss +0 -0
- /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}/fonts/NunitoSans-Bold.ttf +0 -0
- /package/{styles → src/ui-kit/assets/styles}/fonts/NunitoSans-ExtraBold.ttf +0 -0
- /package/{styles → src/ui-kit/assets/styles}/fonts/NunitoSans-Light.ttf +0 -0
- /package/{styles → src/ui-kit/assets/styles}/fonts/NunitoSans-Regular.ttf +0 -0
- /package/{styles → src/ui-kit/assets/styles}/fonts/NunitoSans-SemiBold.ttf +0 -0
- /package/{styles → src/ui-kit/assets/styles}/global-styles-index.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
- /package/src/{assets → ui-kit/assets}/wrappedImages/arrowIcon.jsx +0 -0
- /package/src/{assets → ui-kit/assets}/wrappedImages/arrowTosca.jsx +0 -0
- /package/src/{assets → ui-kit/assets}/wrappedImages/darkRectangle.jsx +0 -0
- /package/src/{assets → ui-kit/assets}/wrappedImages/determinedError.jsx +0 -0
- /package/src/{assets → ui-kit/assets}/wrappedImages/failedValidationIcon.jsx +0 -0
- /package/src/{assets → ui-kit/assets}/wrappedImages/infoIcon.jsx +0 -0
- /package/src/{assets → ui-kit/assets}/wrappedImages/noticeQuestionIcon.jsx +0 -0
- /package/src/{assets → ui-kit/assets}/wrappedImages/successfulValidationIcon.jsx +0 -0
- /package/src/{assets → ui-kit/assets}/wrappedImages/walletIcon.jsx +0 -0
- /package/src/{components → ui-kit/components}/atoms/BackgroundTitle/BackgroundTitle.jsx +0 -0
- /package/src/{components → ui-kit/components}/atoms/LoadingDots/LoadingDots.jsx +0 -0
- /package/src/{components → ui-kit/components}/atoms/buttons/Button/Button.jsx +0 -0
- /package/src/{components → ui-kit/components}/molecules/LineWithIconLink/LineWithIconLink.jsx +0 -0
- /package/src/{components → ui-kit}/hooks/useReferredState.js +0 -0
- /package/src/{components → ui-kit}/tests/utils/inputValueProviders/provideFormatOfFloatValueByInputString.test.js +0 -0
- /package/src/{components → ui-kit}/tests/utils/urlQueryUtils/getQueryParameterValues.test.js +0 -0
- /package/src/{components → ui-kit}/tests/utils/urlQueryUtils/saveQueryParameterAndValues.test.js +0 -0
- /package/src/{components → ui-kit}/utils/inputValueProviders.js +0 -0
- /package/src/{components → ui-kit}/utils/uiUtils.js +0 -0
- /package/src/{components → ui-kit}/utils/urlQueryUtils.js +0 -0
|
@@ -4,27 +4,29 @@ import PropTypes from "prop-types";
|
|
|
4
4
|
|
|
5
5
|
import s from "./textarea.module.scss";
|
|
6
6
|
|
|
7
|
-
import { useCallHandlingErrors } from "
|
|
8
|
-
import { Validation } from "../Validation/Validation";
|
|
7
|
+
import { useCallHandlingErrors } from "../../../hooks/useCallHandlingErrors.js";
|
|
8
|
+
import { Validation } from "../Validation/Validation.jsx";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* A textarea component with optional adaptive height and validation messaging.
|
|
12
12
|
*
|
|
13
|
-
* @
|
|
14
|
-
* @param {
|
|
15
|
-
* @param {string}
|
|
16
|
-
* @param {
|
|
17
|
-
* @param {string}
|
|
18
|
-
* @param {string}
|
|
19
|
-
* @param {string}
|
|
20
|
-
* @param {string
|
|
21
|
-
* @param {
|
|
22
|
-
* @param {
|
|
23
|
-
* @param {boolean}
|
|
24
|
-
* @param {boolean}
|
|
25
|
-
* @param {boolean}
|
|
26
|
-
* @param {boolean}
|
|
27
|
-
* @param {boolean}
|
|
13
|
+
* @component
|
|
14
|
+
* @param {Object} props - The props object.
|
|
15
|
+
* @param {string} props.name - The name of the textarea.
|
|
16
|
+
* @param {function} props.onChange - Handler for change events.
|
|
17
|
+
* @param {string} props.placeholder - Placeholder text for the textarea.
|
|
18
|
+
* @param {string} props.alertText - Text for the alert message.
|
|
19
|
+
* @param {string} props.successAlertText - Text for the success alert message.
|
|
20
|
+
* @param {string} props.value - Value of the textarea.
|
|
21
|
+
* @param {string} props.label - Label text for the textarea.
|
|
22
|
+
* @param {string|null} props.id - ID for the textarea element.
|
|
23
|
+
* @param {boolean} props.autoFocus - If the textarea should be auto-focused.
|
|
24
|
+
* @param {boolean} props.fullHeight - If the textarea should be full height.
|
|
25
|
+
* @param {boolean} props.smallText - If the textarea should use small text styling.
|
|
26
|
+
* @param {boolean} props.adaptiveHeight - If the textarea should adjust its height based on content.
|
|
27
|
+
* @param {boolean} props.disabled - If the textarea is disabled.
|
|
28
|
+
* @param {boolean} props.errorEncountered - If there is an error related to the textarea.
|
|
29
|
+
* @param {boolean} props.ignoreEnter - If Enter key presses should be ignored.
|
|
28
30
|
*/
|
|
29
31
|
export const Textarea = forwardRef(
|
|
30
32
|
(
|
|
@@ -3,33 +3,33 @@ import PropTypes from "prop-types";
|
|
|
3
3
|
|
|
4
4
|
import s from "./title-box.module.scss";
|
|
5
5
|
|
|
6
|
-
import { useCallHandlingErrors } from "
|
|
7
|
-
import { copyBrowserTextToClipboard } from "
|
|
8
|
-
import { TOOLTIP_POSITIONS } from "../../../constants/atoms/Tooltip/tooltip.jsx";
|
|
6
|
+
import { useCallHandlingErrors } from "../../../hooks/useCallHandlingErrors.js";
|
|
7
|
+
import { copyBrowserTextToClipboard } from "../../../utils/textUtils.js";
|
|
9
8
|
|
|
10
9
|
import { NoticeIcon } from "../NoticeIcon/NoticeIcon.jsx";
|
|
11
10
|
import { LinkButton } from "../buttons/LinkButton/LinkButton.jsx";
|
|
12
|
-
import { Tooltip } from "../Tooltip/Tooltip.jsx";
|
|
11
|
+
import { Tooltip, TOOLTIP_POSITIONS } from "../Tooltip/Tooltip.jsx";
|
|
13
12
|
|
|
14
13
|
/**
|
|
15
14
|
* A box component for displaying a title with optional controls like buttons or icons and any children inside.
|
|
16
15
|
*
|
|
17
16
|
* @component
|
|
18
|
-
* @param {
|
|
19
|
-
* @param {string}
|
|
20
|
-
* @param {
|
|
21
|
-
* @param {
|
|
22
|
-
* @param {
|
|
23
|
-
* @param {
|
|
24
|
-
* @param {boolean}
|
|
25
|
-
* @param {
|
|
26
|
-
* @param {string}
|
|
27
|
-
* @param {string}
|
|
28
|
-
* @param {
|
|
29
|
-
* @param {boolean}
|
|
30
|
-
* @param {
|
|
31
|
-
* @param {string}
|
|
32
|
-
* @param {string}
|
|
17
|
+
* @param {Object} props - The props object.
|
|
18
|
+
* @param {string} props.title - The main title text.
|
|
19
|
+
* @param {string} [props.linkText] - The text for the link button, if any.
|
|
20
|
+
* @param {Function} [props.linkButtonClick] - The function to execute when the link button is clicked.
|
|
21
|
+
* @param {boolean} [props.isLinkButtonDisabled] - Determines if the link button is disabled.
|
|
22
|
+
* @param {React.ReactNode} props.children - Child components to be rendered.
|
|
23
|
+
* @param {boolean} [props.linkButtonLoader] - Displays a loader animation on the link button if true.
|
|
24
|
+
* @param {boolean} [props.fullWidth] - If true, the title box will take full width of its container.
|
|
25
|
+
* @param {string} [props.titleNoticeText] - The text for a notice icon tooltip.
|
|
26
|
+
* @param {string} [props.titleNoticeIcon] - The icon for the notice tooltip.
|
|
27
|
+
* @param {string} [props.titleNoticePosition] - Tooltip position for the notice icon.
|
|
28
|
+
* @param {boolean} [props.bigTitle] - If true, uses a larger font size for the title.
|
|
29
|
+
* @param {boolean} [props.transparentTitle] - If true, the title has a transparent background.
|
|
30
|
+
* @param {string} [props.copyButtonText] - The text for the copy button.
|
|
31
|
+
* @param {string} [props.copyButtonContent] - The content to be copied to the clipboard.
|
|
32
|
+
* @param {string} [props.copyButtonTooltipContent] - Tooltip content displayed after copying.
|
|
33
33
|
*/
|
|
34
34
|
export const TitleBox = ({
|
|
35
35
|
title = "",
|
|
@@ -5,19 +5,28 @@ import PropTypes from "prop-types";
|
|
|
5
5
|
import s from "./tooltip.module.scss";
|
|
6
6
|
import DarkRectangle from "../../../assets/wrappedImages/darkRectangle.jsx";
|
|
7
7
|
|
|
8
|
-
import { useCallHandlingErrors } from "
|
|
9
|
-
|
|
8
|
+
import { useCallHandlingErrors } from "../../../hooks/useCallHandlingErrors.js";
|
|
9
|
+
|
|
10
|
+
export const TOOLTIP_POSITIONS = {
|
|
11
|
+
TOP: "top",
|
|
12
|
+
LEFT: "left",
|
|
13
|
+
RIGHT: "right",
|
|
14
|
+
BOTTOM: "bottom",
|
|
15
|
+
TOP_LEFT: "top-left",
|
|
16
|
+
TOP_RIGHT: "top-right",
|
|
17
|
+
};
|
|
10
18
|
|
|
11
19
|
/**
|
|
12
20
|
* Tooltip component for displaying contextual information.
|
|
13
21
|
*
|
|
14
22
|
* @component
|
|
15
|
-
* @param {
|
|
16
|
-
* @param {
|
|
17
|
-
* @param {
|
|
18
|
-
* @param {
|
|
19
|
-
* @param {
|
|
20
|
-
* @param {
|
|
23
|
+
* @param {Object} props - The props object.
|
|
24
|
+
* @param {React.ReactNode} props.children - The content to display inside the tooltip.
|
|
25
|
+
* @param {boolean} props.showTooltip - Controls whether the tooltip is visible.
|
|
26
|
+
* @param {Function} props.handleClick - Handler for click events.
|
|
27
|
+
* @param {boolean} [props.wide] - If true, applies a wider style to the tooltip.
|
|
28
|
+
* @param {string} props.position - One of the predefined positions for the tooltip.
|
|
29
|
+
* @param {boolean} [props.ignorePointerEvents] - If true, the tooltip will not react to pointer events.
|
|
21
30
|
*/
|
|
22
31
|
export const Tooltip = ({
|
|
23
32
|
children,
|
|
@@ -7,15 +7,17 @@ import s from "./lines-of-text.module.scss";
|
|
|
7
7
|
* Renders up to three lines of text with configurable options for horizontal layout, text wrapping, and breaking.
|
|
8
8
|
* Optionally, displays a default text content centered vertically if provided.
|
|
9
9
|
*
|
|
10
|
-
* @
|
|
11
|
-
* @param {
|
|
12
|
-
* @param {string}
|
|
13
|
-
* @param {
|
|
14
|
-
* @param {string}
|
|
15
|
-
* @param {boolean}
|
|
16
|
-
* @param {string}
|
|
17
|
-
* @param {boolean}
|
|
18
|
-
* @param {
|
|
10
|
+
* @component
|
|
11
|
+
* @param {Object} props - The props object.
|
|
12
|
+
* @param {string} props.firstLineText - Text for the first line.
|
|
13
|
+
* @param {string} props.secondLineText - Text for the second line.
|
|
14
|
+
* @param {string} props.thirdLineText - Text for the third line.
|
|
15
|
+
* @param {boolean} props.isHorizontal - If true, displays the text horizontally.
|
|
16
|
+
* @param {string} [props.defaultTextContent] - Default text content to display, centered vertically.
|
|
17
|
+
* @param {boolean} [props.isFirstLineTextReducible] - If true, the first line text can be reduced.
|
|
18
|
+
* @param {string} [props.firstLineNotReducibleSuffix] - Suffix to append to the first line text if not reducible.
|
|
19
|
+
* @param {boolean} [props.wrapFirstLine] - If true, allows the first line text to wrap.
|
|
20
|
+
* @param {boolean} [props.breakFirstLine] - If true, allows the first line text to break onto the next line.
|
|
19
21
|
*/
|
|
20
22
|
export const LinesOfText = ({
|
|
21
23
|
firstLineText = "",
|
|
@@ -2,8 +2,8 @@ import React from "react";
|
|
|
2
2
|
import PropTypes from "prop-types";
|
|
3
3
|
|
|
4
4
|
import s from "./validation.module.scss";
|
|
5
|
-
import SuccessfulValidationIcon from "../../../assets/wrappedImages/successfulValidationIcon";
|
|
6
|
-
import FailedValidationIcon from "../../../assets/wrappedImages/failedValidationIcon";
|
|
5
|
+
import SuccessfulValidationIcon from "../../../assets/wrappedImages/successfulValidationIcon.jsx";
|
|
6
|
+
import FailedValidationIcon from "../../../assets/wrappedImages/failedValidationIcon.jsx";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Simple validation message with an icon.
|
|
@@ -3,8 +3,13 @@ import PropTypes from "prop-types";
|
|
|
3
3
|
|
|
4
4
|
import s from "./close.module.scss";
|
|
5
5
|
|
|
6
|
-
import { useCallHandlingErrors } from "
|
|
7
|
-
|
|
6
|
+
import { useCallHandlingErrors } from "../../../../hooks/useCallHandlingErrors.js";
|
|
7
|
+
|
|
8
|
+
export const CLOSE_COLORS = {
|
|
9
|
+
WHITE: "white",
|
|
10
|
+
DARK: "dark",
|
|
11
|
+
DARK_INVERT: "dark-invert",
|
|
12
|
+
};
|
|
8
13
|
|
|
9
14
|
/**
|
|
10
15
|
* A component for rendering a close icon that handles errors on click.
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import React, { useEffect, useState } from "react";
|
|
2
2
|
import PropTypes from "prop-types";
|
|
3
3
|
|
|
4
|
-
import { useCallHandlingErrors } from "
|
|
5
|
-
import { ICON_ROTATE_OPTIONS } from "../../../../constants/atoms/LinkButton/linkButton";
|
|
4
|
+
import { useCallHandlingErrors } from "../../../../hooks/useCallHandlingErrors.js";
|
|
6
5
|
|
|
7
6
|
import s from "./link-button.module.scss";
|
|
8
|
-
import { LoadingDots } from "../../LoadingDots/LoadingDots";
|
|
7
|
+
import { LoadingDots } from "../../LoadingDots/LoadingDots.jsx";
|
|
8
|
+
|
|
9
|
+
export const ICON_ROTATE_OPTIONS = {
|
|
10
|
+
rotate0: "0deg",
|
|
11
|
+
rotate90: "90deg",
|
|
12
|
+
rotate180: "180deg",
|
|
13
|
+
rotate270: "270deg",
|
|
14
|
+
};
|
|
9
15
|
|
|
10
16
|
/**
|
|
11
17
|
* LinkButton renders a clickable button which can optionally display an icon and loading animation.
|
|
@@ -3,7 +3,7 @@ import PropTypes from "prop-types";
|
|
|
3
3
|
|
|
4
4
|
import s from "./radio-button-with-text.module.scss";
|
|
5
5
|
|
|
6
|
-
import { useCallHandlingErrors } from "
|
|
6
|
+
import { useCallHandlingErrors } from "../../../../hooks/useCallHandlingErrors.js";
|
|
7
7
|
|
|
8
8
|
import { Tooltip } from "../../Tooltip/Tooltip.jsx";
|
|
9
9
|
import { LoadingDots } from "../../LoadingDots/LoadingDots.jsx";
|
|
@@ -4,15 +4,16 @@ import { BigNumber } from "bignumber.js";
|
|
|
4
4
|
import s from "./amount-input.module.scss";
|
|
5
5
|
import WalletIcon from "../../../assets/wrappedImages/walletIcon.jsx";
|
|
6
6
|
|
|
7
|
-
import { useCallHandlingErrors } from "
|
|
8
|
-
import { InputValuesProviders } from "
|
|
9
|
-
import { logErrorOrOutputToConsole } from "
|
|
7
|
+
import { useCallHandlingErrors } from "../../../hooks/useCallHandlingErrors.js";
|
|
8
|
+
import { InputValuesProviders } from "../../../utils/inputValueProviders.js";
|
|
9
|
+
import { logErrorOrOutputToConsole } from "../../../../common-apis/errorUtils.js";
|
|
10
10
|
|
|
11
11
|
import { TitleBox } from "../../atoms/TitleBox/TitleBox.jsx";
|
|
12
|
-
import { AmountUtils } from "
|
|
12
|
+
import { AmountUtils } from "../../../../common-apis/amountUtils.js";
|
|
13
13
|
import { AssetSelection } from "../../atoms/AssetSelection/AssetSelection.jsx";
|
|
14
14
|
import { Validation } from "../../atoms/Validation/Validation.jsx";
|
|
15
15
|
|
|
16
|
+
// TODO: [dev] add JSDoc
|
|
16
17
|
export const AmountInput = React.forwardRef(
|
|
17
18
|
(
|
|
18
19
|
{
|
|
@@ -4,14 +4,14 @@ import PropTypes from "prop-types";
|
|
|
4
4
|
import s from "./coin-picker.module.scss";
|
|
5
5
|
import ArrowIcon from "../../../assets/wrappedImages/arrowIcon.jsx";
|
|
6
6
|
|
|
7
|
-
import { useReferredState } from "
|
|
8
|
-
import { useCallHandlingErrors } from "
|
|
9
|
-
import { logErrorOrOutputToConsole } from "
|
|
7
|
+
import { useReferredState } from "../../../hooks/useReferredState.js";
|
|
8
|
+
import { useCallHandlingErrors } from "../../../hooks/useCallHandlingErrors.js";
|
|
9
|
+
import { logErrorOrOutputToConsole } from "../../../../common-apis/errorUtils.js";
|
|
10
10
|
|
|
11
11
|
import { RadioButtonWithText } from "../../atoms/buttons/RadioButtonWithText/RadioButtonWithText.jsx";
|
|
12
12
|
import { Input } from "../../atoms/Input/Input.jsx";
|
|
13
13
|
import { InformationMessage } from "../../atoms/InformationMessage/InformationMessage.jsx";
|
|
14
|
-
import { FALLBACK_ASSET_ICON_URL } from "
|
|
14
|
+
import { FALLBACK_ASSET_ICON_URL } from "../../../../common-apis/globalConstants.jsx";
|
|
15
15
|
import { AssetIcon } from "../../atoms/AssetIcon/AssetIcon.jsx";
|
|
16
16
|
import { Button } from "../../atoms/buttons/Button/Button.jsx";
|
|
17
17
|
import { LoadingDots } from "../../atoms/LoadingDots/LoadingDots.jsx";
|
|
@@ -44,27 +44,29 @@ const defaultTexts = {
|
|
|
44
44
|
* - you MUST NOT pass setCoinPickerValue (it will be ignored)
|
|
45
45
|
* - if you don't pass loadCoinsAndContent function, you MUST pass allCoins
|
|
46
46
|
*
|
|
47
|
-
* @
|
|
48
|
-
* @param
|
|
49
|
-
* @param
|
|
50
|
-
* @param [
|
|
51
|
-
* @param [
|
|
52
|
-
* @param
|
|
53
|
-
* @param [
|
|
54
|
-
* @param [
|
|
55
|
-
* @param [
|
|
56
|
-
* @param
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
* @param
|
|
65
|
-
* @param
|
|
66
|
-
* @param
|
|
67
|
-
* @param [
|
|
47
|
+
* @component
|
|
48
|
+
* @param {Object} props - The props object.
|
|
49
|
+
* @param {string} [props.mode] - One-time button selection or multi-selection via toggles, available options are located in COIN_PICKER_MODES.
|
|
50
|
+
* @param {Coin[]} [props.allCoins] - All coins despite their enabled/disabled status. Pass this list if you use CHECKBOX mode or you don't pass the loadCoinsAndContent function.
|
|
51
|
+
* @param {Coin[]} [props.initiallyEnabledCoinsList] - Pass this when using CHECKBOX mode.
|
|
52
|
+
* @param {function} [props.handleClick] - Handler function for the event when an asset is clicked.
|
|
53
|
+
* @param {number|undefined} [props.triggerToReloadData] - Trigger to reload the component when some related data changes.
|
|
54
|
+
* @param {boolean} [props.search=false] - Whether to show the search bar above the assets list, when enabled overrides searchAdaptive and locks the list height.
|
|
55
|
+
* @param {boolean} [props.searchAdaptive=true] - Show search bar only after six assets in the list.
|
|
56
|
+
* @param {function} [props.setCoinPickerValue] - Called with the only parameter (final enabled tickers list) when closing/confirming dialog in CHECKBOX mode.
|
|
57
|
+
* @param {function} [props.setCoinPickerListChanged] - Called with the only parameter (flag signaling that the list of enabled coins was changed - true, or was not changed - false) when closing/confirming dialog in CHECKBOX mode.
|
|
58
|
+
* @param {function} [props.loadCoinsAndContent] - Optional, you can provide it if you need custom logic for coins list composing or custom subtitles. Expected return format:
|
|
59
|
+
* {
|
|
60
|
+
* coins: Coin[],
|
|
61
|
+
* content: { coin: Coin, subtitle: string }[],
|
|
62
|
+
* isCoinsDataReloadable: boolean
|
|
63
|
+
* }
|
|
64
|
+
* @param {boolean} [props.showRequestMissingCoinsInfoMessage=true] - Whether to show message about advising missing coins.
|
|
65
|
+
* @param {string} [props.supportUrl] - Needed when showRequestMissingCoinsInfoMessage=true.
|
|
66
|
+
* @param {function} props.coinToIconPaths - Function to map coins to their icon paths.
|
|
67
|
+
* @param {boolean} [props.partialLoadingEnabled=true] - Enables only partialLoadingIncrement items to be shown by default, with the user able to show more by clicking the load-more button.
|
|
68
|
+
* @param {number} [props.partialLoadingIncrement=100] - The number of items to incrementally load when partial loading is enabled.
|
|
69
|
+
* @param {object} [props.texts] - Texts translated to the desired locale; default texts use English locale.
|
|
68
70
|
*/
|
|
69
71
|
export const CoinPicker = ({
|
|
70
72
|
mode = COIN_PICKER_MODES.BUTTON,
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import PropTypes from "prop-types";
|
|
3
3
|
|
|
4
|
-
import { TitleBox } from "../../atoms/TitleBox/TitleBox";
|
|
5
|
-
import { LineWithIconLink } from "../LineWithIconLink/LineWithIconLink";
|
|
4
|
+
import { TitleBox } from "../../atoms/TitleBox/TitleBox.jsx";
|
|
5
|
+
import { LineWithIconLink } from "../LineWithIconLink/LineWithIconLink.jsx";
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* TitledLineWithIconLink component renders a title box with a text line that includes an icon with a clickable link.
|
|
9
9
|
*
|
|
10
|
-
* @
|
|
11
|
-
* @param {
|
|
12
|
-
* @param {string}
|
|
13
|
-
* @param {string}
|
|
10
|
+
* @component
|
|
11
|
+
* @param {Object} props - The props object.
|
|
12
|
+
* @param {string} props.title - The title to display in the TitleBox.
|
|
13
|
+
* @param {string} props.text - The text to display in the LineWithIconLink.
|
|
14
|
+
* @param {string} props.icon - The icon to display next to the text in the LineWithIconLink.
|
|
15
|
+
* @param {string} props.url - The URL for the LineWithIconLink.
|
|
14
16
|
*/
|
|
15
17
|
export const TitledLineWithIconLink = ({ title, text, icon, url }) => {
|
|
16
18
|
return (
|
package/src/{components → ui-kit/components}/organisms/CoinPickerDialogStep/CoinPickerDialogStep.jsx
RENAMED
|
@@ -2,8 +2,10 @@ import React from "react";
|
|
|
2
2
|
|
|
3
3
|
import { CoinPicker } from "../../molecules/CoinPicker/CoinPicker.jsx";
|
|
4
4
|
import { DialogStep } from "../Dialog/DialogStep/DialogStep.jsx";
|
|
5
|
-
import { DIALOG_SIZES } from "../../../constants/organisms/dialog/dialog.js";
|
|
6
5
|
|
|
6
|
+
import { DIALOG_SIZES } from "../Dialog/Dialog.jsx";
|
|
7
|
+
|
|
8
|
+
// TODO: [dev] add JSDoc
|
|
7
9
|
export const CoinPickerDialogStep = ({
|
|
8
10
|
stepName,
|
|
9
11
|
controls,
|
|
@@ -3,17 +3,46 @@ import PropTypes from "prop-types";
|
|
|
3
3
|
import { CSSTransition } from "react-transition-group";
|
|
4
4
|
import AnimateHeight from "react-animate-height";
|
|
5
5
|
import ResizeObserver from "resize-observer-polyfill";
|
|
6
|
-
import { disableBodyScroll, enableBodyScroll
|
|
6
|
+
import { clearAllBodyScrollLocks, disableBodyScroll, enableBodyScroll } from "body-scroll-lock";
|
|
7
7
|
import animateScrollTo from "animated-scroll-to";
|
|
8
8
|
|
|
9
|
-
import { useReferredState } from "
|
|
10
|
-
import { logErrorOrOutputToConsole } from "
|
|
11
|
-
import { DIALOG_TRANSITION_STEP_DURATION, DIALOG_SIZES } from "../../../constants/organisms/dialog/dialog";
|
|
9
|
+
import { useReferredState } from "../../../hooks/useReferredState.js";
|
|
10
|
+
import { logErrorOrOutputToConsole } from "../../../../common-apis/errorUtils.js";
|
|
12
11
|
|
|
13
12
|
import s from "./dialog.module.scss";
|
|
14
|
-
import { Close } from "../../atoms/buttons/Close/Close";
|
|
15
|
-
import { DialogButtons } from "./DialogButtons/DialogButtons";
|
|
13
|
+
import { Close } from "../../atoms/buttons/Close/Close.jsx";
|
|
14
|
+
import { DialogButtons } from "./DialogButtons/DialogButtons.jsx";
|
|
15
|
+
|
|
16
|
+
export const DIALOG_SIZES = {
|
|
17
|
+
small: {
|
|
18
|
+
width: "550px",
|
|
19
|
+
height: "650px",
|
|
20
|
+
},
|
|
21
|
+
regular: {
|
|
22
|
+
width: "600px",
|
|
23
|
+
height: "650px",
|
|
24
|
+
},
|
|
25
|
+
large: {
|
|
26
|
+
width: "700px",
|
|
27
|
+
height: "650px",
|
|
28
|
+
},
|
|
29
|
+
largePlus: {
|
|
30
|
+
width: "750px",
|
|
31
|
+
height: "650px",
|
|
32
|
+
},
|
|
33
|
+
largePlusPlus: {
|
|
34
|
+
width: "800px",
|
|
35
|
+
height: "650px",
|
|
36
|
+
},
|
|
37
|
+
extraLarge: {
|
|
38
|
+
width: "1000px",
|
|
39
|
+
height: "650px",
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export const DIALOG_TRANSITION_STEP_DURATION = 200;
|
|
16
44
|
|
|
45
|
+
// If changed - update the prop configuration in the stories and related components.
|
|
17
46
|
/**
|
|
18
47
|
* Flexible modal window component with support for multiple steps. Can be used as an inline component and inserted in regular layouts. Only <DialogStep> components can be passed as children.
|
|
19
48
|
*
|
package/src/{components → ui-kit/components}/organisms/Dialog/DialogButtons/DialogButtons.jsx
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import PropTypes from "prop-types";
|
|
3
3
|
|
|
4
|
-
import { useCallHandlingErrors } from "
|
|
4
|
+
import { useCallHandlingErrors } from "../../../../hooks/useCallHandlingErrors.js";
|
|
5
5
|
|
|
6
6
|
import s from "./dialog-buttons.module.scss";
|
|
7
|
-
import { LinkButton } from "../../../atoms/buttons/LinkButton/LinkButton";
|
|
8
|
-
import { Button } from "../../../atoms/buttons/Button/Button";
|
|
7
|
+
import { LinkButton } from "../../../atoms/buttons/LinkButton/LinkButton.jsx";
|
|
8
|
+
import { Button } from "../../../atoms/buttons/Button/Button.jsx";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Renders a dialog component with configurable primary and secondary buttons.
|