@rabbitio/ui-kit 1.0.0-beta.65 → 1.0.0-beta.68
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 +6311 -4236
- package/coverage/coverage-final.json +160 -99
- package/coverage/index.html +442 -187
- 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/assets/wrappedImages/arrowTosca.jsx.html → ui-kit/src/assets/wrappedImages/arrowIcon.jsx.html} +8 -29
- package/coverage/{rabbit-ui-kit/src/assets/wrappedImages/arrowIcon.jsx.html → ui-kit/src/assets/wrappedImages/arrowTosca.jsx.html} +9 -24
- package/coverage/{rabbit-ui-kit → ui-kit}/src/assets/wrappedImages/arrowWhite.jsx.html +7 -25
- package/coverage/ui-kit/src/assets/wrappedImages/darkRectangle.jsx.html +106 -0
- package/coverage/{rabbit-ui-kit → ui-kit}/src/assets/wrappedImages/determinedError.jsx.html +9 -42
- package/coverage/{rabbit-ui-kit/src/assets/wrappedImages/successfulValidationIcon.jsx.html → ui-kit/src/assets/wrappedImages/failedValidationIcon.jsx.html} +28 -31
- package/coverage/{rabbit-ui-kit → ui-kit}/src/assets/wrappedImages/index.html +25 -25
- package/coverage/{rabbit-ui-kit/src/assets/wrappedImages/darkRectangle.jsx.html → ui-kit/src/assets/wrappedImages/infoIcon.jsx.html} +13 -19
- package/coverage/{rabbit-ui-kit → ui-kit}/src/assets/wrappedImages/noticeQuestionIcon.jsx.html +7 -25
- package/coverage/{rabbit-ui-kit/src/assets/wrappedImages/walletIcon.jsx.html → ui-kit/src/assets/wrappedImages/successfulValidationIcon.jsx.html} +23 -59
- package/coverage/{rabbit-ui-kit/src/assets/wrappedImages/infoIcon.jsx.html → ui-kit/src/assets/wrappedImages/walletIcon.jsx.html} +16 -16
- package/coverage/{rabbit-ui-kit → ui-kit}/src/common/adapters/axiosAdapter.js.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/common/adapters/index.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/common/adapters/qrUtils.js.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/common/amountUtils.js.html +44 -308
- package/coverage/{rabbit-ui-kit → ui-kit}/src/common/errorUtils.js.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/common/external-apis/apiGroups.js.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/common/external-apis/index.html +14 -14
- package/coverage/{rabbit-ui-kit → ui-kit}/src/common/external-apis/ipAddressProviders.js.html +31 -178
- package/coverage/{rabbit-ui-kit → ui-kit}/src/common/fiatCurrenciesService.js.html +12 -36
- package/coverage/{rabbit-ui-kit → ui-kit}/src/common/index.html +20 -20
- package/coverage/{rabbit-ui-kit → ui-kit}/src/common/models/blockchain.js.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/common/models/coin.js.html +10 -22
- package/coverage/{rabbit-ui-kit → ui-kit}/src/common/models/index.html +13 -13
- package/coverage/{rabbit-ui-kit → ui-kit}/src/common/models/protocol.js.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/common/utils/cache.js.html +23 -101
- package/coverage/{rabbit-ui-kit → ui-kit}/src/common/utils/emailAPI.js.html +9 -15
- package/coverage/{rabbit-ui-kit → ui-kit}/src/common/utils/index.html +19 -19
- package/coverage/{rabbit-ui-kit → ui-kit}/src/common/utils/logging/index.html +9 -9
- package/coverage/{rabbit-ui-kit → ui-kit}/src/common/utils/logging/logger.js.html +14 -35
- package/coverage/{rabbit-ui-kit → ui-kit}/src/common/utils/logging/logsStorage.js.html +5 -5
- package/coverage/{rabbit-ui-kit → ui-kit}/src/common/utils/postponeExecution.js.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/common/utils/safeStringify.js.html +29 -29
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/AssetIcon/AssetIcon.jsx.html +11 -41
- package/coverage/ui-kit/src/components/atoms/AssetIcon/index.html +116 -0
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/AssetSelection/AssetSelection.jsx.html +9 -33
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/AssetSelection/index.html +7 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/BackgroundTitle/BackgroundTitle.jsx.html +8 -38
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/BackgroundTitle/index.html +7 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/InformationMessage/InformationMessage.jsx.html +8 -38
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/InformationMessage/index.html +7 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/Input/Input.jsx.html +15 -63
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/Input/index.html +7 -7
- package/coverage/ui-kit/src/components/atoms/LoadingDots/LoadingDots.jsx.html +196 -0
- package/coverage/{rabbit-ui-kit/src/components/atoms/RateSelector → ui-kit/src/components/atoms/LoadingDots}/index.html +4 -4
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/NoticeIcon/NoticeIcon.jsx.html +10 -40
- package/coverage/{rabbit-ui-kit/src/components/atoms/AssetIcon → ui-kit/src/components/atoms/NoticeIcon}/index.html +4 -4
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/QrCode/QrCode.jsx.html +8 -26
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/QrCode/index.html +7 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/RateSelector/RateSelector.jsx.html +10 -34
- package/coverage/ui-kit/src/components/atoms/RateSelector/index.html +116 -0
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/SupportChat/SupportChat.jsx.html +7 -22
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/SupportChat/index.html +7 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/Textarea/Textarea.jsx.html +17 -53
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/Textarea/index.html +7 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/TitleBox/TitleBox.jsx.html +13 -82
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/TitleBox/index.html +7 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/Tooltip/Tooltip.jsx.html +12 -18
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/Tooltip/index.html +7 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/TwoLinesOfText/LinesOfText.jsx.html +12 -30
- package/coverage/{rabbit-ui-kit/src/components/atoms/NoticeIcon → ui-kit/src/components/atoms/TwoLinesOfText}/index.html +4 -4
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/Validation/Validation.jsx.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/Validation/index.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/buttons/Button/Button.jsx.html +23 -113
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/buttons/Button/index.html +7 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/buttons/Close/Close.jsx.html +9 -27
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/buttons/Close/index.html +7 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/buttons/LinkButton/LinkButton.jsx.html +11 -38
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/buttons/LinkButton/index.html +7 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/buttons/RadioButtonWithText/RadioButtonWithText.jsx.html +13 -67
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/atoms/buttons/RadioButtonWithText/index.html +7 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/hooks/index.html +7 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/hooks/useCallHandlingErrors.js.html +7 -19
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/hooks/useReferredState.js.html +4 -4
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/molecules/AmountInput/AmountInput.jsx.html +56 -407
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/molecules/AmountInput/index.html +7 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/molecules/CoinPicker/CoinPicker.jsx.html +67 -466
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/molecules/CoinPicker/index.html +7 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/molecules/LineWithIconLink/LineWithIconLink.jsx.html +7 -22
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/molecules/LineWithIconLink/index.html +7 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/molecules/TitledLineWithIconLink/TitledLineWithIconLink.jsx.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/molecules/TitledLineWithIconLink/index.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/organisms/CoinPickerDialogStep/CoinPickerDialogStep.jsx.html +9 -15
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/organisms/CoinPickerDialogStep/index.html +7 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/organisms/Dialog/Dialog.jsx.html +44 -194
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/organisms/Dialog/DialogButtons/DialogButtons.jsx.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/organisms/Dialog/DialogButtons/index.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/organisms/Dialog/DialogStep/DialogStep.jsx.html +61 -523
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/organisms/Dialog/DialogStep/index.html +7 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/organisms/Dialog/index.html +7 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/organisms/SwapForm/SwapForm.jsx.html +96 -762
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/organisms/SwapForm/index.html +7 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/templates/DeterminedErrorDialogStep/DeterminedErrorDialogStep.jsx.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/templates/DeterminedErrorDialogStep/index.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/utils/index.html +20 -20
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/utils/inputValueProviders.js.html +11 -35
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/utils/textUtils.js.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/utils/uiUtils.js.html +7 -13
- package/coverage/{rabbit-ui-kit → ui-kit}/src/components/utils/urlQueryUtils.js.html +18 -93
- package/coverage/{rabbit-ui-kit → ui-kit}/src/constants/atoms/Close/close.jsx.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/constants/atoms/Close/index.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/constants/atoms/LinkButton/index.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/constants/atoms/LinkButton/linkButton.jsx.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/constants/atoms/Tooltip/index.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/constants/atoms/Tooltip/tooltip.jsx.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/constants/globalConstants.jsx.html +7 -10
- package/coverage/{rabbit-ui-kit → ui-kit}/src/constants/index.html +7 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/src/constants/organisms/dialog/DialogStep/dialogStep.js.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/constants/organisms/dialog/DialogStep/index.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/constants/organisms/dialog/dialog.js.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/constants/organisms/dialog/index.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/index.html +7 -7
- package/coverage/{rabbit-ui-kit → ui-kit}/src/index.js.html +8 -26
- package/coverage/{rabbit-ui-kit → ui-kit}/src/robustExteranlApiCallerService/cacheAndConcurrentRequestsResolver.js.html +30 -222
- package/coverage/{rabbit-ui-kit → ui-kit}/src/robustExteranlApiCallerService/cachedRobustExternalApiCallerService.js.html +24 -147
- package/coverage/{rabbit-ui-kit → ui-kit}/src/robustExteranlApiCallerService/cancelProcessing.js.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/robustExteranlApiCallerService/concurrentCalculationsMetadataHolder.js.html +19 -103
- package/coverage/{rabbit-ui-kit → ui-kit}/src/robustExteranlApiCallerService/externalApiProvider.js.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/src/robustExteranlApiCallerService/externalServicesStatsCollector.js.html +11 -23
- package/coverage/{rabbit-ui-kit → ui-kit}/src/robustExteranlApiCallerService/index.html +38 -38
- package/coverage/{rabbit-ui-kit → ui-kit}/src/robustExteranlApiCallerService/robustExternalAPICallerService.js.html +53 -305
- package/coverage/{rabbit-ui-kit → ui-kit}/src/swaps-lib/external-apis/index.html +24 -24
- package/coverage/{rabbit-ui-kit → ui-kit}/src/swaps-lib/external-apis/swapProvider.js.html +10 -28
- package/coverage/{rabbit-ui-kit → ui-kit}/src/swaps-lib/external-apis/swapspaceSwapProvider.js.html +277 -1009
- package/coverage/{rabbit-ui-kit → ui-kit}/src/swaps-lib/models/baseSwapCreationInfo.js.html +3 -3
- 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 +9 -27
- package/coverage/{rabbit-ui-kit → ui-kit}/src/swaps-lib/models/index.html +13 -13
- 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 +53 -374
- 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 +32 -179
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/atoms/BackgroundTitle.stories.jsx.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/atoms/LinesOfText.stories.jsx.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/atoms/LoadingDots.stories.jsx.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/atoms/QrCode.stories.jsx.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/atoms/RateSelector.stories.jsx.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/atoms/Validation.stories.jsx.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/atoms/buttons/Button.stories.jsx.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/atoms/buttons/Close.stories.jsx.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/atoms/buttons/LinkButton.stories.jsx.html +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/atoms/buttons/index.html +3 -3
- 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 +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/molecules/TitledLineWithIconLink.stories.jsx.html +3 -3
- 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 +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/organisms/Dialog/DialogButtons/DialogButtons.stories.jsx.html +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/coverage/{rabbit-ui-kit → ui-kit}/stories/templates/index.html +3 -3
- package/dist/index.cjs +12 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +5 -2
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +12 -13
- package/dist/index.modern.js.map +1 -1
- package/dist/index.module.js +12 -14
- package/dist/index.module.js.map +1 -1
- package/dist/index.umd.js +12 -14
- package/dist/index.umd.js.map +1 -1
- package/package.json +5 -3
- package/src/assets/wrappedImages/arrowIcon.jsx +1 -7
- package/src/assets/wrappedImages/arrowTosca.jsx +1 -7
- package/src/assets/wrappedImages/arrowWhite.jsx +1 -7
- package/src/assets/wrappedImages/darkRectangle.jsx +2 -13
- package/src/assets/wrappedImages/determinedError.jsx +2 -13
- package/src/assets/wrappedImages/failedValidationIcon.jsx +2 -16
- package/src/assets/wrappedImages/infoIcon.jsx +1 -7
- package/src/assets/wrappedImages/noticeQuestionIcon.jsx +1 -7
- package/src/assets/wrappedImages/successfulValidationIcon.jsx +2 -16
- package/src/assets/wrappedImages/walletIcon.jsx +3 -19
- package/src/common/amountUtils.js +36 -124
- package/src/common/external-apis/ipAddressProviders.js +22 -71
- package/src/common/fiatCurrenciesService.js +4 -12
- package/src/common/models/coin.js +2 -6
- package/src/common/tests/amountUtils/composeRateText.test.js +12 -69
- package/src/common/tests/integration/external-apis/ipAddressProviders/getClientIpAddress.test.js +1 -3
- package/src/common/utils/cache.js +10 -36
- package/src/common/utils/emailAPI.js +1 -3
- package/src/common/utils/logging/logger.js +5 -12
- package/src/components/atoms/AssetIcon/AssetIcon.jsx +4 -14
- package/src/components/atoms/AssetSelection/AssetSelection.jsx +3 -11
- package/src/components/atoms/BackgroundTitle/BackgroundTitle.jsx +2 -12
- package/src/components/atoms/InformationMessage/InformationMessage.jsx +2 -12
- package/src/components/atoms/InformationMessage/information-message.module.scss +4 -2
- package/src/components/atoms/Input/Input.jsx +9 -25
- package/src/components/atoms/LoadingDots/LoadingDots.jsx +8 -28
- package/src/components/atoms/NoticeIcon/NoticeIcon.jsx +4 -14
- package/src/components/atoms/QrCode/QrCode.jsx +2 -8
- package/src/components/atoms/RateSelector/RateSelector.jsx +4 -12
- package/src/components/atoms/SupportChat/SupportChat.jsx +1 -6
- package/src/components/atoms/Textarea/Textarea.jsx +11 -23
- package/src/components/atoms/TitleBox/TitleBox.jsx +7 -30
- package/src/components/atoms/TitleBox/title-box.module.scss +2 -0
- package/src/components/atoms/Tooltip/Tooltip.jsx +6 -8
- package/src/components/atoms/TwoLinesOfText/LinesOfText.jsx +5 -11
- package/src/components/atoms/buttons/Button/Button.jsx +17 -47
- package/src/components/atoms/buttons/Close/Close.jsx +3 -9
- package/src/components/atoms/buttons/LinkButton/LinkButton.jsx +5 -14
- package/src/components/atoms/buttons/RadioButtonWithText/RadioButtonWithText.jsx +7 -25
- package/src/components/hooks/useCallHandlingErrors.js +1 -5
- package/src/components/hooks/useReferredState.js +1 -1
- package/src/components/molecules/AmountInput/AmountInput.jsx +50 -167
- package/src/components/molecules/CoinPicker/CoinPicker.jsx +61 -194
- package/src/components/molecules/CoinPicker/coin-picker.module.scss +1 -4
- package/src/components/molecules/LineWithIconLink/LineWithIconLink.jsx +1 -6
- package/src/components/organisms/CoinPickerDialogStep/CoinPickerDialogStep.jsx +3 -5
- package/src/components/organisms/Dialog/Dialog.jsx +38 -88
- package/src/components/organisms/Dialog/DialogStep/DialogStep.jsx +55 -209
- package/src/components/organisms/Dialog/DialogStep/dialog-step.module.scss +2 -4
- package/src/components/organisms/SwapForm/SwapForm.jsx +90 -312
- package/src/components/tests/utils/inputValueProviders/provideFormatOfFloatValueByInputString.test.js +5 -12
- package/src/components/tests/utils/urlQueryUtils/getQueryParameterValues.test.js +3 -9
- package/src/components/tests/utils/urlQueryUtils/saveQueryParameterAndValues.test.js +11 -51
- package/src/components/utils/inputValueProviders.js +3 -11
- package/src/components/utils/uiUtils.js +1 -3
- package/src/components/utils/urlQueryUtils.js +10 -35
- package/src/constants/globalConstants.jsx +1 -2
- package/src/index.js +2 -8
- package/src/robustExteranlApiCallerService/cacheAndConcurrentRequestsResolver.js +22 -86
- package/src/robustExteranlApiCallerService/cachedRobustExternalApiCallerService.js +15 -56
- package/src/robustExteranlApiCallerService/concurrentCalculationsMetadataHolder.js +11 -39
- package/src/robustExteranlApiCallerService/externalServicesStatsCollector.js +3 -7
- package/src/robustExteranlApiCallerService/robustExternalAPICallerService.js +45 -129
- package/src/robustExteranlApiCallerService/tests/robustExternalAPICallerService/robustExternalAPICallerService/callExternalAPI/_performCallAttempt.test.js +76 -330
- package/src/robustExteranlApiCallerService/tests/robustExternalAPICallerService/robustExternalAPICallerService/callExternalAPI/callExternalAPI.test.js +57 -270
- package/src/robustExteranlApiCallerService/tests/robustExternalAPICallerService/robustExternalAPICallerService/constructor.test.js +3 -15
- package/src/swaps-lib/external-apis/swapProvider.js +1 -7
- package/src/swaps-lib/external-apis/swapspaceSwapProvider.js +117 -361
- package/src/swaps-lib/models/existingSwapWithFiatData.js +1 -7
- package/src/swaps-lib/services/publicSwapService.js +47 -154
- package/src/swaps-lib/test/external-apis/swapspaceSwapProvider/_fetchSupportedCurrenciesIfNeeded.test.js +33 -118
- package/src/swaps-lib/test/external-apis/swapspaceSwapProvider/createSwap.test.js +23 -85
- package/src/swaps-lib/test/external-apis/swapspaceSwapProvider/getAllSupportedCurrencies.test.js +4 -14
- package/src/swaps-lib/test/external-apis/swapspaceSwapProvider/getDepositCurrencies.test.js +3 -9
- package/src/swaps-lib/test/external-apis/swapspaceSwapProvider/getSwapInfo.test.js +148 -460
- package/src/swaps-lib/test/external-apis/swapspaceSwapProvider/getWithdrawalCurrencies.test.js +5 -11
- package/src/swaps-lib/test/utils/swapUtils/safeHandleRequestsLimitExceeding.test.js +2 -10
- package/src/swaps-lib/utils/swapUtils.js +24 -73
- package/coverage/rabbit-ui-kit/src/assets/wrappedImages/failedValidationIcon.jsx.html +0 -244
- package/coverage/rabbit-ui-kit/src/components/atoms/LoadingDots/LoadingDots.jsx.html +0 -256
- package/coverage/rabbit-ui-kit/src/components/atoms/LoadingDots/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/atoms/TwoLinesOfText/index.html +0 -116
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<html lang="en">
|
|
4
4
|
|
|
5
5
|
<head>
|
|
6
|
-
<title>Code coverage report for
|
|
6
|
+
<title>Code coverage report for ui-kit/src/components/organisms/Dialog/Dialog.jsx</title>
|
|
7
7
|
<meta charset="utf-8" />
|
|
8
8
|
<link rel="stylesheet" href="../../../../../prettify.css" />
|
|
9
9
|
<link rel="stylesheet" href="../../../../../base.css" />
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
<body>
|
|
20
20
|
<div class='wrapper'>
|
|
21
21
|
<div class='pad1'>
|
|
22
|
-
<h1><a href="../../../../../index.html">All files</a> / <a href="index.html">
|
|
22
|
+
<h1><a href="../../../../../index.html">All files</a> / <a href="index.html">ui-kit/src/components/organisms/Dialog</a> Dialog.jsx</h1>
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
26
|
<span class="strong">0% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>0/
|
|
28
|
+
<span class='fraction'>0/465</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
47
|
<span class="strong">0% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>0/
|
|
49
|
+
<span class='fraction'>0/465</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -528,107 +528,7 @@
|
|
|
528
528
|
<a name='L463'></a><a href='#L463'>463</a>
|
|
529
529
|
<a name='L464'></a><a href='#L464'>464</a>
|
|
530
530
|
<a name='L465'></a><a href='#L465'>465</a>
|
|
531
|
-
<a name='L466'></a><a href='#L466'>466</a>
|
|
532
|
-
<a name='L467'></a><a href='#L467'>467</a>
|
|
533
|
-
<a name='L468'></a><a href='#L468'>468</a>
|
|
534
|
-
<a name='L469'></a><a href='#L469'>469</a>
|
|
535
|
-
<a name='L470'></a><a href='#L470'>470</a>
|
|
536
|
-
<a name='L471'></a><a href='#L471'>471</a>
|
|
537
|
-
<a name='L472'></a><a href='#L472'>472</a>
|
|
538
|
-
<a name='L473'></a><a href='#L473'>473</a>
|
|
539
|
-
<a name='L474'></a><a href='#L474'>474</a>
|
|
540
|
-
<a name='L475'></a><a href='#L475'>475</a>
|
|
541
|
-
<a name='L476'></a><a href='#L476'>476</a>
|
|
542
|
-
<a name='L477'></a><a href='#L477'>477</a>
|
|
543
|
-
<a name='L478'></a><a href='#L478'>478</a>
|
|
544
|
-
<a name='L479'></a><a href='#L479'>479</a>
|
|
545
|
-
<a name='L480'></a><a href='#L480'>480</a>
|
|
546
|
-
<a name='L481'></a><a href='#L481'>481</a>
|
|
547
|
-
<a name='L482'></a><a href='#L482'>482</a>
|
|
548
|
-
<a name='L483'></a><a href='#L483'>483</a>
|
|
549
|
-
<a name='L484'></a><a href='#L484'>484</a>
|
|
550
|
-
<a name='L485'></a><a href='#L485'>485</a>
|
|
551
|
-
<a name='L486'></a><a href='#L486'>486</a>
|
|
552
|
-
<a name='L487'></a><a href='#L487'>487</a>
|
|
553
|
-
<a name='L488'></a><a href='#L488'>488</a>
|
|
554
|
-
<a name='L489'></a><a href='#L489'>489</a>
|
|
555
|
-
<a name='L490'></a><a href='#L490'>490</a>
|
|
556
|
-
<a name='L491'></a><a href='#L491'>491</a>
|
|
557
|
-
<a name='L492'></a><a href='#L492'>492</a>
|
|
558
|
-
<a name='L493'></a><a href='#L493'>493</a>
|
|
559
|
-
<a name='L494'></a><a href='#L494'>494</a>
|
|
560
|
-
<a name='L495'></a><a href='#L495'>495</a>
|
|
561
|
-
<a name='L496'></a><a href='#L496'>496</a>
|
|
562
|
-
<a name='L497'></a><a href='#L497'>497</a>
|
|
563
|
-
<a name='L498'></a><a href='#L498'>498</a>
|
|
564
|
-
<a name='L499'></a><a href='#L499'>499</a>
|
|
565
|
-
<a name='L500'></a><a href='#L500'>500</a>
|
|
566
|
-
<a name='L501'></a><a href='#L501'>501</a>
|
|
567
|
-
<a name='L502'></a><a href='#L502'>502</a>
|
|
568
|
-
<a name='L503'></a><a href='#L503'>503</a>
|
|
569
|
-
<a name='L504'></a><a href='#L504'>504</a>
|
|
570
|
-
<a name='L505'></a><a href='#L505'>505</a>
|
|
571
|
-
<a name='L506'></a><a href='#L506'>506</a>
|
|
572
|
-
<a name='L507'></a><a href='#L507'>507</a>
|
|
573
|
-
<a name='L508'></a><a href='#L508'>508</a>
|
|
574
|
-
<a name='L509'></a><a href='#L509'>509</a>
|
|
575
|
-
<a name='L510'></a><a href='#L510'>510</a>
|
|
576
|
-
<a name='L511'></a><a href='#L511'>511</a>
|
|
577
|
-
<a name='L512'></a><a href='#L512'>512</a>
|
|
578
|
-
<a name='L513'></a><a href='#L513'>513</a>
|
|
579
|
-
<a name='L514'></a><a href='#L514'>514</a>
|
|
580
|
-
<a name='L515'></a><a href='#L515'>515</a>
|
|
581
|
-
<a name='L516'></a><a href='#L516'>516</a></td><td class="line-coverage quiet"><span class="cline-any cline-no"> </span>
|
|
582
|
-
<span class="cline-any cline-no"> </span>
|
|
583
|
-
<span class="cline-any cline-no"> </span>
|
|
584
|
-
<span class="cline-any cline-no"> </span>
|
|
585
|
-
<span class="cline-any cline-no"> </span>
|
|
586
|
-
<span class="cline-any cline-no"> </span>
|
|
587
|
-
<span class="cline-any cline-no"> </span>
|
|
588
|
-
<span class="cline-any cline-no"> </span>
|
|
589
|
-
<span class="cline-any cline-no"> </span>
|
|
590
|
-
<span class="cline-any cline-no"> </span>
|
|
591
|
-
<span class="cline-any cline-no"> </span>
|
|
592
|
-
<span class="cline-any cline-no"> </span>
|
|
593
|
-
<span class="cline-any cline-no"> </span>
|
|
594
|
-
<span class="cline-any cline-no"> </span>
|
|
595
|
-
<span class="cline-any cline-no"> </span>
|
|
596
|
-
<span class="cline-any cline-no"> </span>
|
|
597
|
-
<span class="cline-any cline-no"> </span>
|
|
598
|
-
<span class="cline-any cline-no"> </span>
|
|
599
|
-
<span class="cline-any cline-no"> </span>
|
|
600
|
-
<span class="cline-any cline-no"> </span>
|
|
601
|
-
<span class="cline-any cline-no"> </span>
|
|
602
|
-
<span class="cline-any cline-no"> </span>
|
|
603
|
-
<span class="cline-any cline-no"> </span>
|
|
604
|
-
<span class="cline-any cline-no"> </span>
|
|
605
|
-
<span class="cline-any cline-no"> </span>
|
|
606
|
-
<span class="cline-any cline-no"> </span>
|
|
607
|
-
<span class="cline-any cline-no"> </span>
|
|
608
|
-
<span class="cline-any cline-no"> </span>
|
|
609
|
-
<span class="cline-any cline-no"> </span>
|
|
610
|
-
<span class="cline-any cline-no"> </span>
|
|
611
|
-
<span class="cline-any cline-no"> </span>
|
|
612
|
-
<span class="cline-any cline-no"> </span>
|
|
613
|
-
<span class="cline-any cline-no"> </span>
|
|
614
|
-
<span class="cline-any cline-no"> </span>
|
|
615
|
-
<span class="cline-any cline-no"> </span>
|
|
616
|
-
<span class="cline-any cline-no"> </span>
|
|
617
|
-
<span class="cline-any cline-no"> </span>
|
|
618
|
-
<span class="cline-any cline-no"> </span>
|
|
619
|
-
<span class="cline-any cline-no"> </span>
|
|
620
|
-
<span class="cline-any cline-no"> </span>
|
|
621
|
-
<span class="cline-any cline-no"> </span>
|
|
622
|
-
<span class="cline-any cline-no"> </span>
|
|
623
|
-
<span class="cline-any cline-no"> </span>
|
|
624
|
-
<span class="cline-any cline-no"> </span>
|
|
625
|
-
<span class="cline-any cline-no"> </span>
|
|
626
|
-
<span class="cline-any cline-no"> </span>
|
|
627
|
-
<span class="cline-any cline-no"> </span>
|
|
628
|
-
<span class="cline-any cline-no"> </span>
|
|
629
|
-
<span class="cline-any cline-no"> </span>
|
|
630
|
-
<span class="cline-any cline-no"> </span>
|
|
631
|
-
<span class="cline-any cline-no"> </span>
|
|
531
|
+
<a name='L466'></a><a href='#L466'>466</a></td><td class="line-coverage quiet"><span class="cline-any cline-no"> </span>
|
|
632
532
|
<span class="cline-any cline-no"> </span>
|
|
633
533
|
<span class="cline-any cline-no"> </span>
|
|
634
534
|
<span class="cline-any cline-no"> </span>
|
|
@@ -1098,19 +998,12 @@
|
|
|
1098
998
|
<span class="cstat-no" title="statement not covered" >import { CSSTransition } from "react-transition-group";</span>
|
|
1099
999
|
<span class="cstat-no" title="statement not covered" >import AnimateHeight from "react-animate-height";</span>
|
|
1100
1000
|
<span class="cstat-no" title="statement not covered" >import ResizeObserver from "resize-observer-polyfill";</span>
|
|
1101
|
-
<span class="cstat-no" title="statement not covered" >import {
|
|
1102
|
-
<span class="cstat-no" title="statement not covered" > disableBodyScroll,</span>
|
|
1103
|
-
<span class="cstat-no" title="statement not covered" > enableBodyScroll,</span>
|
|
1104
|
-
<span class="cstat-no" title="statement not covered" > clearAllBodyScrollLocks,</span>
|
|
1105
|
-
<span class="cstat-no" title="statement not covered" >} from "body-scroll-lock";</span>
|
|
1001
|
+
<span class="cstat-no" title="statement not covered" >import { disableBodyScroll, enableBodyScroll, clearAllBodyScrollLocks } from "body-scroll-lock";</span>
|
|
1106
1002
|
<span class="cstat-no" title="statement not covered" >import animateScrollTo from "animated-scroll-to";</span>
|
|
1107
1003
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
1108
1004
|
<span class="cstat-no" title="statement not covered" >import { useReferredState } from "../../hooks/useReferredState";</span>
|
|
1109
1005
|
<span class="cstat-no" title="statement not covered" >import { logErrorOrOutputToConsole } from "../../../common/errorUtils";</span>
|
|
1110
|
-
<span class="cstat-no" title="statement not covered" >import {
|
|
1111
|
-
<span class="cstat-no" title="statement not covered" > DIALOG_TRANSITION_STEP_DURATION,</span>
|
|
1112
|
-
<span class="cstat-no" title="statement not covered" > DIALOG_SIZES,</span>
|
|
1113
|
-
<span class="cstat-no" title="statement not covered" >} from "../../../constants/organisms/dialog/dialog";</span>
|
|
1006
|
+
<span class="cstat-no" title="statement not covered" >import { DIALOG_TRANSITION_STEP_DURATION, DIALOG_SIZES } from "../../../constants/organisms/dialog/dialog";</span>
|
|
1114
1007
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
1115
1008
|
<span class="cstat-no" title="statement not covered" >import s from "./dialog.module.scss";</span>
|
|
1116
1009
|
<span class="cstat-no" title="statement not covered" >import { Close } from "../../atoms/buttons/Close/Close";</span>
|
|
@@ -1171,16 +1064,12 @@
|
|
|
1171
1064
|
<span class="cstat-no" title="statement not covered" > dialogContainerOverflowDisabled: false,</span>
|
|
1172
1065
|
<span class="cstat-no" title="statement not covered" > hideMobileBottomButtonSection: false,</span>
|
|
1173
1066
|
<span class="cstat-no" title="statement not covered" > });</span>
|
|
1174
|
-
<span class="cstat-no" title="statement not covered" > const [stepAnimationFinishedTrigger, setStepAnimationFinishedTrigger]
|
|
1175
|
-
<span class="cstat-no" title="statement not covered" > useState(0);</span>
|
|
1067
|
+
<span class="cstat-no" title="statement not covered" > const [stepAnimationFinishedTrigger, setStepAnimationFinishedTrigger] = useState(0);</span>
|
|
1176
1068
|
<span class="cstat-no" title="statement not covered" > const [dialogVerticalHeight, setDialogVerticalHeight] = useState(300);</span>
|
|
1177
1069
|
<span class="cstat-no" title="statement not covered" > const [currentStepRef, setCurrentStepRef] = useState({});</span>
|
|
1178
1070
|
<span class="cstat-no" title="statement not covered" > const [dimensions, setDimensions] = useState({ width: 0, height: 0 });</span>
|
|
1179
|
-
<span class="cstat-no" title="statement not covered" > const [buttonsConfiguration, updateButtonsConfigurationState] = useState(
|
|
1180
|
-
<span class="cstat-no" title="statement not covered" >
|
|
1181
|
-
<span class="cstat-no" title="statement not covered" > );</span>
|
|
1182
|
-
<span class="cstat-no" title="statement not covered" > const [buttonControllingStep, updateButtonControllingStep] =</span>
|
|
1183
|
-
<span class="cstat-no" title="statement not covered" > useReferredState("");</span>
|
|
1071
|
+
<span class="cstat-no" title="statement not covered" > const [buttonsConfiguration, updateButtonsConfigurationState] = useState(buttonsConfigurationDefault);</span>
|
|
1072
|
+
<span class="cstat-no" title="statement not covered" > const [buttonControllingStep, updateButtonControllingStep] = useReferredState("");</span>
|
|
1184
1073
|
<span class="cstat-no" title="statement not covered" > const [isMultiStep, setIsMultiStep] = useState(false);</span>
|
|
1185
1074
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
1186
1075
|
<span class="cstat-no" title="statement not covered" > const dialogWrapperRef = useRef();</span>
|
|
@@ -1189,10 +1078,7 @@
|
|
|
1189
1078
|
<span class="cstat-no" title="statement not covered" > const resizeObserverRef = useRef(null);</span>
|
|
1190
1079
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
1191
1080
|
<span class="cstat-no" title="statement not covered" > const updateButtonsConfiguration = (newConfiguration, stepName) => {</span>
|
|
1192
|
-
<span class="cstat-no" title="statement not covered" > if (</span>
|
|
1193
|
-
<span class="cstat-no" title="statement not covered" > buttonControllingStep.current === stepName ||</span>
|
|
1194
|
-
<span class="cstat-no" title="statement not covered" > buttonControllingStep.current === ""</span>
|
|
1195
|
-
<span class="cstat-no" title="statement not covered" > )</span>
|
|
1081
|
+
<span class="cstat-no" title="statement not covered" > if (buttonControllingStep.current === stepName || buttonControllingStep.current === "")</span>
|
|
1196
1082
|
<span class="cstat-no" title="statement not covered" > updateButtonsConfigurationState(newConfiguration);</span>
|
|
1197
1083
|
<span class="cstat-no" title="statement not covered" > };</span>
|
|
1198
1084
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
@@ -1205,20 +1091,17 @@
|
|
|
1205
1091
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
1206
1092
|
<span class="cstat-no" title="statement not covered" > const showCornerButtonForStep = (stepName, stepButtonShowParam) => {</span>
|
|
1207
1093
|
<span class="cstat-no" title="statement not covered" > if (stepName !== "") {</span>
|
|
1208
|
-
<span class="cstat-no" title="statement not covered" > let stepNameId = steps.findIndex(
|
|
1209
|
-
<span class="cstat-no" title="statement not covered" > return stepButtonShowParam !== null &&
|
|
1210
|
-
<span class="cstat-no" title="statement not covered" > typeof stepButtonShowParam === "boolean"</span>
|
|
1094
|
+
<span class="cstat-no" title="statement not covered" > let stepNameId = steps.findIndex(step => step.name === stepName);</span>
|
|
1095
|
+
<span class="cstat-no" title="statement not covered" > return stepButtonShowParam !== null && typeof stepButtonShowParam === "boolean"</span>
|
|
1211
1096
|
<span class="cstat-no" title="statement not covered" > ? stepButtonShowParam</span>
|
|
1212
|
-
<span class="cstat-no" title="statement not covered" > : stepNameId > steps.findIndex(
|
|
1097
|
+
<span class="cstat-no" title="statement not covered" > : stepNameId > steps.findIndex(step => step.hidden === false);</span>
|
|
1213
1098
|
<span class="cstat-no" title="statement not covered" > } else {</span>
|
|
1214
1099
|
<span class="cstat-no" title="statement not covered" > return false;</span>
|
|
1215
1100
|
<span class="cstat-no" title="statement not covered" > }</span>
|
|
1216
1101
|
<span class="cstat-no" title="statement not covered" > };</span>
|
|
1217
1102
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
1218
1103
|
<span class="cstat-no" title="statement not covered" > const nextStep = (animationControlEnabled = true) => {</span>
|
|
1219
|
-
<span class="cstat-no" title="statement not covered" > const nextStep = steps.find(
|
|
1220
|
-
<span class="cstat-no" title="statement not covered" > (step, index) => index > currentStep && step.hidden === false</span>
|
|
1221
|
-
<span class="cstat-no" title="statement not covered" > );</span>
|
|
1104
|
+
<span class="cstat-no" title="statement not covered" > const nextStep = steps.find((step, index) => index > currentStep && step.hidden === false);</span>
|
|
1222
1105
|
<span class="cstat-no" title="statement not covered" > if (nextStep) {</span>
|
|
1223
1106
|
<span class="cstat-no" title="statement not covered" > goToStep(nextStep.name, animationControlEnabled);</span>
|
|
1224
1107
|
<span class="cstat-no" title="statement not covered" > return true;</span>
|
|
@@ -1230,11 +1113,9 @@
|
|
|
1230
1113
|
<span class="cstat-no" title="statement not covered" > const previousStep = (animationControlEnabled = true) => {</span>
|
|
1231
1114
|
<span class="cstat-no" title="statement not covered" > const prevSteps = steps</span>
|
|
1232
1115
|
<span class="cstat-no" title="statement not covered" > .map((step, index) => {</span>
|
|
1233
|
-
<span class="cstat-no" title="statement not covered" > return index < currentStep && step.hidden === false
|
|
1234
|
-
<span class="cstat-no" title="statement not covered" > ? step.name</span>
|
|
1235
|
-
<span class="cstat-no" title="statement not covered" > : undefined;</span>
|
|
1116
|
+
<span class="cstat-no" title="statement not covered" > return index < currentStep && step.hidden === false ? step.name : undefined;</span>
|
|
1236
1117
|
<span class="cstat-no" title="statement not covered" > })</span>
|
|
1237
|
-
<span class="cstat-no" title="statement not covered" > .filter(
|
|
1118
|
+
<span class="cstat-no" title="statement not covered" > .filter(item => typeof item !== "undefined");</span>
|
|
1238
1119
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
1239
1120
|
<span class="cstat-no" title="statement not covered" > if (prevSteps.length > 0) {</span>
|
|
1240
1121
|
<span class="cstat-no" title="statement not covered" > goToStep(prevSteps[prevSteps.length - 1], animationControlEnabled);</span>
|
|
@@ -1244,46 +1125,41 @@
|
|
|
1244
1125
|
<span class="cstat-no" title="statement not covered" > }</span>
|
|
1245
1126
|
<span class="cstat-no" title="statement not covered" > };</span>
|
|
1246
1127
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
1247
|
-
<span class="cstat-no" title="statement not covered" > const getStepClass =
|
|
1128
|
+
<span class="cstat-no" title="statement not covered" > const getStepClass = stepName => {</span>
|
|
1248
1129
|
<span class="cstat-no" title="statement not covered" > if (steps.length > 1) {</span>
|
|
1249
|
-
<span class="cstat-no" title="statement not covered" > let stepNameId = steps.findIndex(
|
|
1250
|
-
<span class="cstat-no" title="statement not covered" > let stepClass
|
|
1251
|
-
<span class="cstat-no" title="statement not covered" > currentStep > stepNameId</span>
|
|
1252
|
-
<span class="cstat-no" title="statement not covered" > ? "prev"</span>
|
|
1253
|
-
<span class="cstat-no" title="statement not covered" > : currentStep === stepNameId</span>
|
|
1254
|
-
<span class="cstat-no" title="statement not covered" > ? "current"</span>
|
|
1255
|
-
<span class="cstat-no" title="statement not covered" > : "next";</span>
|
|
1130
|
+
<span class="cstat-no" title="statement not covered" > let stepNameId = steps.findIndex(step => step.name === stepName);</span>
|
|
1131
|
+
<span class="cstat-no" title="statement not covered" > let stepClass = currentStep > stepNameId ? "prev" : currentStep === stepNameId ? "current" : "next";</span>
|
|
1256
1132
|
<span class="cstat-no" title="statement not covered" > return stepClass;</span>
|
|
1257
1133
|
<span class="cstat-no" title="statement not covered" > } else {</span>
|
|
1258
1134
|
<span class="cstat-no" title="statement not covered" > return "current";</span>
|
|
1259
1135
|
<span class="cstat-no" title="statement not covered" > }</span>
|
|
1260
1136
|
<span class="cstat-no" title="statement not covered" > };</span>
|
|
1261
1137
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
1262
|
-
<span class="cstat-no" title="statement not covered" > const isCurrentStep =
|
|
1138
|
+
<span class="cstat-no" title="statement not covered" > const isCurrentStep = stepName => {</span>
|
|
1263
1139
|
<span class="cstat-no" title="statement not covered" > return steps[currentStep].name === stepName;</span>
|
|
1264
1140
|
<span class="cstat-no" title="statement not covered" > };</span>
|
|
1265
1141
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
1266
1142
|
<span class="cstat-no" title="statement not covered" > const toFirstStep = (animationControlEnabled = true) => {</span>
|
|
1267
1143
|
<span class="cstat-no" title="statement not covered" > if (animationControlEnabled) enableAnimation();</span>
|
|
1268
|
-
<span class="cstat-no" title="statement not covered" > setCurrentStep(steps.findIndex(
|
|
1144
|
+
<span class="cstat-no" title="statement not covered" > setCurrentStep(steps.findIndex(step => step.hidden === false));</span>
|
|
1269
1145
|
<span class="cstat-no" title="statement not covered" > };</span>
|
|
1270
1146
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
1271
1147
|
<span class="cstat-no" title="statement not covered" > const goToStep = (stepName, animationControlEnabled = true) => {</span>
|
|
1272
1148
|
<span class="cstat-no" title="statement not covered" > if (animationControlEnabled) enableAnimation();</span>
|
|
1273
1149
|
<span class="cstat-no" title="statement not covered" > try {</span>
|
|
1274
|
-
<span class="cstat-no" title="statement not covered" > let stepNameId = steps.findIndex(
|
|
1150
|
+
<span class="cstat-no" title="statement not covered" > let stepNameId = steps.findIndex(step => step.name === stepName);</span>
|
|
1275
1151
|
<span class="cstat-no" title="statement not covered" > setCurrentStep(stepNameId);</span>
|
|
1276
1152
|
<span class="cstat-no" title="statement not covered" > } catch (e) {</span>
|
|
1277
1153
|
<span class="cstat-no" title="statement not covered" > logErrorOrOutputToConsole(e);</span>
|
|
1278
1154
|
<span class="cstat-no" title="statement not covered" > }</span>
|
|
1279
1155
|
<span class="cstat-no" title="statement not covered" > };</span>
|
|
1280
1156
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
1281
|
-
<span class="cstat-no" title="statement not covered" > const provideCurrentStepRef =
|
|
1157
|
+
<span class="cstat-no" title="statement not covered" > const provideCurrentStepRef = ref => {</span>
|
|
1282
1158
|
<span class="cstat-no" title="statement not covered" > setCurrentStepRef(ref);</span>
|
|
1283
1159
|
<span class="cstat-no" title="statement not covered" > };</span>
|
|
1284
1160
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
1285
1161
|
<span class="cstat-no" title="statement not covered" > const disableAnimation = (dispatch = false) => {</span>
|
|
1286
|
-
<span class="cstat-no" title="statement not covered" > updateAnimationConfiguration(
|
|
1162
|
+
<span class="cstat-no" title="statement not covered" > updateAnimationConfiguration(prev => {</span>
|
|
1287
1163
|
<span class="cstat-no" title="statement not covered" > return {</span>
|
|
1288
1164
|
<span class="cstat-no" title="statement not covered" > ...prev,</span>
|
|
1289
1165
|
<span class="cstat-no" title="statement not covered" > animateHeightTransitionEnabled: false,</span>
|
|
@@ -1295,7 +1171,7 @@
|
|
|
1295
1171
|
<span class="cstat-no" title="statement not covered" > };</span>
|
|
1296
1172
|
<span class="cstat-no" title="statement not covered" > });</span>
|
|
1297
1173
|
<span class="cstat-no" title="statement not covered" > if (dispatch) {</span>
|
|
1298
|
-
<span class="cstat-no" title="statement not covered" > updateAnimationConfiguration(
|
|
1174
|
+
<span class="cstat-no" title="statement not covered" > updateAnimationConfiguration(prev => {</span>
|
|
1299
1175
|
<span class="cstat-no" title="statement not covered" > return {</span>
|
|
1300
1176
|
<span class="cstat-no" title="statement not covered" > ...prev,</span>
|
|
1301
1177
|
<span class="cstat-no" title="statement not covered" > triggerAnimationFinishedDispatcher: true,</span>
|
|
@@ -1306,8 +1182,8 @@
|
|
|
1306
1182
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
1307
1183
|
<span class="cstat-no" title="statement not covered" > useEffect(() => {</span>
|
|
1308
1184
|
<span class="cstat-no" title="statement not covered" > if (animationConfiguration.triggerAnimationFinishedDispatcher) {</span>
|
|
1309
|
-
<span class="cstat-no" title="statement not covered" > setStepAnimationFinishedTrigger(
|
|
1310
|
-
<span class="cstat-no" title="statement not covered" > updateAnimationConfiguration(
|
|
1185
|
+
<span class="cstat-no" title="statement not covered" > setStepAnimationFinishedTrigger(prev => prev + 1);</span>
|
|
1186
|
+
<span class="cstat-no" title="statement not covered" > updateAnimationConfiguration(prev => {</span>
|
|
1311
1187
|
<span class="cstat-no" title="statement not covered" > return {</span>
|
|
1312
1188
|
<span class="cstat-no" title="statement not covered" > ...prev,</span>
|
|
1313
1189
|
<span class="cstat-no" title="statement not covered" > triggerAnimationFinishedDispatcher: false,</span>
|
|
@@ -1318,7 +1194,7 @@
|
|
|
1318
1194
|
<span class="cstat-no" title="statement not covered" > }, [animationConfiguration]);</span>
|
|
1319
1195
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
1320
1196
|
<span class="cstat-no" title="statement not covered" > const enableAnimation = () => {</span>
|
|
1321
|
-
<span class="cstat-no" title="statement not covered" > updateAnimationConfiguration(
|
|
1197
|
+
<span class="cstat-no" title="statement not covered" > updateAnimationConfiguration(prev => {</span>
|
|
1322
1198
|
<span class="cstat-no" title="statement not covered" > return {</span>
|
|
1323
1199
|
<span class="cstat-no" title="statement not covered" > ...prev,</span>
|
|
1324
1200
|
<span class="cstat-no" title="statement not covered" > animateHeightTransitionEnabled: true,</span>
|
|
@@ -1350,7 +1226,7 @@
|
|
|
1350
1226
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
1351
1227
|
<span class="cstat-no" title="statement not covered" > useEffect(() => {</span>
|
|
1352
1228
|
<span class="cstat-no" title="statement not covered" > initControls &&</span>
|
|
1353
|
-
<span class="cstat-no" title="statement not covered" > initControls(
|
|
1229
|
+
<span class="cstat-no" title="statement not covered" > initControls(prev => {</span>
|
|
1354
1230
|
<span class="cstat-no" title="statement not covered" > return {</span>
|
|
1355
1231
|
<span class="cstat-no" title="statement not covered" > ...prev,</span>
|
|
1356
1232
|
<span class="cstat-no" title="statement not covered" > stepAnimationFinishedTrigger: stepAnimationFinishedTrigger,</span>
|
|
@@ -1361,7 +1237,7 @@
|
|
|
1361
1237
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
1362
1238
|
<span class="cstat-no" title="statement not covered" > useEffect(() => {</span>
|
|
1363
1239
|
<span class="cstat-no" title="statement not covered" > initControls &&</span>
|
|
1364
|
-
<span class="cstat-no" title="statement not covered" > initControls(
|
|
1240
|
+
<span class="cstat-no" title="statement not covered" > initControls(prev => {</span>
|
|
1365
1241
|
<span class="cstat-no" title="statement not covered" > return {</span>
|
|
1366
1242
|
<span class="cstat-no" title="statement not covered" > ...prev,</span>
|
|
1367
1243
|
<span class="cstat-no" title="statement not covered" > animationConfiguration: animationConfiguration,</span>
|
|
@@ -1373,32 +1249,28 @@
|
|
|
1373
1249
|
<span class="cstat-no" title="statement not covered" > useEffect(() => {</span>
|
|
1374
1250
|
<span class="cstat-no" title="statement not covered" > if (currentStepRef.current) {</span>
|
|
1375
1251
|
<span class="cstat-no" title="statement not covered" > resizeObserverRef.current = new ResizeObserver((entries = []) => {</span>
|
|
1376
|
-
<span class="cstat-no" title="statement not covered" > entries.forEach(
|
|
1252
|
+
<span class="cstat-no" title="statement not covered" > entries.forEach(entry => {</span>
|
|
1377
1253
|
<span class="cstat-no" title="statement not covered" > const { width, height } = entry.contentRect;</span>
|
|
1378
1254
|
<span class="cstat-no" title="statement not covered" > setDimensions({ width, height });</span>
|
|
1379
1255
|
<span class="cstat-no" title="statement not covered" > });</span>
|
|
1380
1256
|
<span class="cstat-no" title="statement not covered" > });</span>
|
|
1381
|
-
<span class="cstat-no" title="statement not covered" > if (currentStepRef.current)
|
|
1382
|
-
<span class="cstat-no" title="statement not covered" > resizeObserverRef.current.observe(currentStepRef.current);</span>
|
|
1257
|
+
<span class="cstat-no" title="statement not covered" > if (currentStepRef.current) resizeObserverRef.current.observe(currentStepRef.current);</span>
|
|
1383
1258
|
<span class="cstat-no" title="statement not covered" > return () => {</span>
|
|
1384
|
-
<span class="cstat-no" title="statement not covered" > if (resizeObserverRef.current)
|
|
1385
|
-
<span class="cstat-no" title="statement not covered" > resizeObserverRef.current.disconnect();</span>
|
|
1259
|
+
<span class="cstat-no" title="statement not covered" > if (resizeObserverRef.current) resizeObserverRef.current.disconnect();</span>
|
|
1386
1260
|
<span class="cstat-no" title="statement not covered" > };</span>
|
|
1387
1261
|
<span class="cstat-no" title="statement not covered" > }</span>
|
|
1388
1262
|
<span class="cstat-no" title="statement not covered" > // eslint-disable-next-line react-hooks/exhaustive-deps</span>
|
|
1389
1263
|
<span class="cstat-no" title="statement not covered" > }, [currentStepRef]);</span>
|
|
1390
1264
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
1391
1265
|
<span class="cstat-no" title="statement not covered" > useEffect(() => {</span>
|
|
1392
|
-
<span class="cstat-no" title="statement not covered" > setDialogVerticalHeight(
|
|
1393
|
-
<span class="cstat-no" title="statement not covered" > prev !== 0 && dimensions.height === 0 ? prev : dimensions.height</span>
|
|
1394
|
-
<span class="cstat-no" title="statement not covered" > );</span>
|
|
1266
|
+
<span class="cstat-no" title="statement not covered" > setDialogVerticalHeight(prev => (prev !== 0 && dimensions.height === 0 ? prev : dimensions.height));</span>
|
|
1395
1267
|
<span class="cstat-no" title="statement not covered" > // eslint-disable-next-line react-hooks/exhaustive-deps</span>
|
|
1396
1268
|
<span class="cstat-no" title="statement not covered" > }, [dimensions]);</span>
|
|
1397
1269
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
1398
1270
|
<span class="cstat-no" title="statement not covered" > useEffect(() => {</span>
|
|
1399
1271
|
<span class="cstat-no" title="statement not covered" > const childrenFormatted = children.length > 1 ? children : [children];</span>
|
|
1400
1272
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
1401
|
-
<span class="cstat-no" title="statement not covered" > let stepsArr = childrenFormatted.map(
|
|
1273
|
+
<span class="cstat-no" title="statement not covered" > let stepsArr = childrenFormatted.map(child => {</span>
|
|
1402
1274
|
<span class="cstat-no" title="statement not covered" > return {</span>
|
|
1403
1275
|
<span class="cstat-no" title="statement not covered" > name: child.props.stepName,</span>
|
|
1404
1276
|
<span class="cstat-no" title="statement not covered" > hidden: !!child.props.hidden,</span>
|
|
@@ -1487,9 +1359,7 @@
|
|
|
1487
1359
|
<span class="cstat-no" title="statement not covered" > className={</span>
|
|
1488
1360
|
<span class="cstat-no" title="statement not covered" > s["dialog"] +</span>
|
|
1489
1361
|
<span class="cstat-no" title="statement not covered" > " " +</span>
|
|
1490
|
-
<span class="cstat-no" title="statement not covered" > (dialogVerticalHeight > 1 || !isMultiStep
|
|
1491
|
-
<span class="cstat-no" title="statement not covered" > ? ""</span>
|
|
1492
|
-
<span class="cstat-no" title="statement not covered" > : " " + s["hidden"]) +</span>
|
|
1362
|
+
<span class="cstat-no" title="statement not covered" > (dialogVerticalHeight > 1 || !isMultiStep ? "" : " " + s["hidden"]) +</span>
|
|
1493
1363
|
<span class="cstat-no" title="statement not covered" > (animationConfiguration.dialogContainerOverflowDisabled</span>
|
|
1494
1364
|
<span class="cstat-no" title="statement not covered" > ? " " + s["vertical-overflow-disabled"]</span>
|
|
1495
1365
|
<span class="cstat-no" title="statement not covered" > : "") +</span>
|
|
@@ -1497,18 +1367,11 @@
|
|
|
1497
1367
|
<span class="cstat-no" title="statement not covered" > }</span>
|
|
1498
1368
|
<span class="cstat-no" title="statement not covered" > ref={dialogRef}</span>
|
|
1499
1369
|
<span class="cstat-no" title="statement not covered" > ></span>
|
|
1500
|
-
<span class="cstat-no" title="statement not covered" > <div
|
|
1501
|
-
<span class="cstat-no" title="statement not covered" > className={</span>
|
|
1502
|
-
<span class="cstat-no" title="statement not covered" > s["scrollable"] + (inline ? " " + s["inline"] : "")</span>
|
|
1503
|
-
<span class="cstat-no" title="statement not covered" > }</span>
|
|
1504
|
-
<span class="cstat-no" title="statement not covered" > ref={scrollableRef}</span>
|
|
1505
|
-
<span class="cstat-no" title="statement not covered" > ></span>
|
|
1370
|
+
<span class="cstat-no" title="statement not covered" > <div className={s["scrollable"] + (inline ? " " + s["inline"] : "")} ref={scrollableRef}></span>
|
|
1506
1371
|
<span class="cstat-no" title="statement not covered" > <div</span>
|
|
1507
1372
|
<span class="cstat-no" title="statement not covered" > className={</span>
|
|
1508
1373
|
<span class="cstat-no" title="statement not covered" > s["dialog-wrapper"] +</span>
|
|
1509
|
-
<span class="cstat-no" title="statement not covered" > (animationConfiguration.wrapperWidthAnimationEnabled
|
|
1510
|
-
<span class="cstat-no" title="statement not covered" > ? ""</span>
|
|
1511
|
-
<span class="cstat-no" title="statement not covered" > : " " + s["animation-disabled"]) +</span>
|
|
1374
|
+
<span class="cstat-no" title="statement not covered" > (animationConfiguration.wrapperWidthAnimationEnabled ? "" : " " + s["animation-disabled"]) +</span>
|
|
1512
1375
|
<span class="cstat-no" title="statement not covered" > (inline ? " " + s["inline"] : "")</span>
|
|
1513
1376
|
<span class="cstat-no" title="statement not covered" > }</span>
|
|
1514
1377
|
<span class="cstat-no" title="statement not covered" > ref={dialogWrapperRef}</span>
|
|
@@ -1538,11 +1401,7 @@
|
|
|
1538
1401
|
<span class="cstat-no" title="statement not covered" > ""</span>
|
|
1539
1402
|
<span class="cstat-no" title="statement not covered" > ) : (</span>
|
|
1540
1403
|
<span class="cstat-no" title="statement not covered" > <div className={s["dialog-wrapper-close"]}></span>
|
|
1541
|
-
<span class="cstat-no" title="statement not covered" > <Close
|
|
1542
|
-
<span class="cstat-no" title="statement not covered" > color="dark"</span>
|
|
1543
|
-
<span class="cstat-no" title="statement not covered" > onClick={(e) => onClose()}</span>
|
|
1544
|
-
<span class="cstat-no" title="statement not covered" > large</span>
|
|
1545
|
-
<span class="cstat-no" title="statement not covered" > /></span>
|
|
1404
|
+
<span class="cstat-no" title="statement not covered" > <Close color="dark" onClick={e => onClose()} large /></span>
|
|
1546
1405
|
<span class="cstat-no" title="statement not covered" > </div></span>
|
|
1547
1406
|
<span class="cstat-no" title="statement not covered" > )}</span>
|
|
1548
1407
|
<span class="cstat-no" title="statement not covered" > {children}</span>
|
|
@@ -1561,12 +1420,10 @@
|
|
|
1561
1420
|
<span class="cstat-no" title="statement not covered" > // classNames={s["fixed-buttons-container"]}</span>
|
|
1562
1421
|
<span class="cstat-no" title="statement not covered" > classNames={{</span>
|
|
1563
1422
|
<span class="cstat-no" title="statement not covered" > enter: s["fixed-buttons-container-enter"],</span>
|
|
1564
|
-
<span class="cstat-no" title="statement not covered" > enterActive
|
|
1565
|
-
<span class="cstat-no" title="statement not covered" > s["fixed-buttons-container-enter-active"],</span>
|
|
1423
|
+
<span class="cstat-no" title="statement not covered" > enterActive: s["fixed-buttons-container-enter-active"],</span>
|
|
1566
1424
|
<span class="cstat-no" title="statement not covered" > enterDone: s["fixed-buttons-container-enter-done"],</span>
|
|
1567
1425
|
<span class="cstat-no" title="statement not covered" > exit: s["fixed-buttons-container-exit"],</span>
|
|
1568
|
-
<span class="cstat-no" title="statement not covered" > exitActive
|
|
1569
|
-
<span class="cstat-no" title="statement not covered" > s["fixed-buttons-container-exit-active"],</span>
|
|
1426
|
+
<span class="cstat-no" title="statement not covered" > exitActive: s["fixed-buttons-container-exit-active"],</span>
|
|
1570
1427
|
<span class="cstat-no" title="statement not covered" > exitDone: s["fixed-buttons-container-exit-done"],</span>
|
|
1571
1428
|
<span class="cstat-no" title="statement not covered" > }}</span>
|
|
1572
1429
|
<span class="cstat-no" title="statement not covered" > unmountOnExit</span>
|
|
@@ -1586,14 +1443,7 @@
|
|
|
1586
1443
|
<span class="cstat-no" title="statement not covered" > onClose: PropTypes.func.isRequired,</span>
|
|
1587
1444
|
<span class="cstat-no" title="statement not covered" > initControls: PropTypes.func,</span>
|
|
1588
1445
|
<span class="cstat-no" title="statement not covered" > children: PropTypes.node,</span>
|
|
1589
|
-
<span class="cstat-no" title="statement not covered" > width: PropTypes.oneOf([
|
|
1590
|
-
<span class="cstat-no" title="statement not covered" > "550px",</span>
|
|
1591
|
-
<span class="cstat-no" title="statement not covered" > "600px",</span>
|
|
1592
|
-
<span class="cstat-no" title="statement not covered" > "700px",</span>
|
|
1593
|
-
<span class="cstat-no" title="statement not covered" > "750px",</span>
|
|
1594
|
-
<span class="cstat-no" title="statement not covered" > "800px",</span>
|
|
1595
|
-
<span class="cstat-no" title="statement not covered" > "1000px",</span>
|
|
1596
|
-
<span class="cstat-no" title="statement not covered" > ]),</span>
|
|
1446
|
+
<span class="cstat-no" title="statement not covered" > width: PropTypes.oneOf(["550px", "600px", "700px", "750px", "800px", "1000px"]),</span>
|
|
1597
1447
|
<span class="cstat-no" title="statement not covered" > dispatchDialogOpened: PropTypes.func,</span>
|
|
1598
1448
|
<span class="cstat-no" title="statement not covered" > dispatchDialogClosed: PropTypes.func,</span>
|
|
1599
1449
|
<span class="cstat-no" title="statement not covered" > inline: PropTypes.bool,</span>
|
|
@@ -1615,7 +1465,7 @@
|
|
|
1615
1465
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1616
1466
|
Code coverage generated by
|
|
1617
1467
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1618
|
-
at 2024-05-
|
|
1468
|
+
at 2024-05-26T06:51:59.642Z
|
|
1619
1469
|
</div>
|
|
1620
1470
|
<script src="../../../../../prettify.js"></script>
|
|
1621
1471
|
<script>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<html lang="en">
|
|
4
4
|
|
|
5
5
|
<head>
|
|
6
|
-
<title>Code coverage report for
|
|
6
|
+
<title>Code coverage report for ui-kit/src/components/organisms/Dialog/DialogButtons/DialogButtons.jsx</title>
|
|
7
7
|
<meta charset="utf-8" />
|
|
8
8
|
<link rel="stylesheet" href="../../../../../../prettify.css" />
|
|
9
9
|
<link rel="stylesheet" href="../../../../../../base.css" />
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<body>
|
|
20
20
|
<div class='wrapper'>
|
|
21
21
|
<div class='pad1'>
|
|
22
|
-
<h1><a href="../../../../../../index.html">All files</a> / <a href="index.html">
|
|
22
|
+
<h1><a href="../../../../../../index.html">All files</a> / <a href="index.html">ui-kit/src/components/organisms/Dialog/DialogButtons</a> DialogButtons.jsx</h1>
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
@@ -436,7 +436,7 @@
|
|
|
436
436
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
437
437
|
Code coverage generated by
|
|
438
438
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
439
|
-
at 2024-05-
|
|
439
|
+
at 2024-05-26T06:51:59.642Z
|
|
440
440
|
</div>
|
|
441
441
|
<script src="../../../../../../prettify.js"></script>
|
|
442
442
|
<script>
|
package/coverage/{rabbit-ui-kit → ui-kit}/src/components/organisms/Dialog/DialogButtons/index.html
RENAMED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<html lang="en">
|
|
4
4
|
|
|
5
5
|
<head>
|
|
6
|
-
<title>Code coverage report for
|
|
6
|
+
<title>Code coverage report for ui-kit/src/components/organisms/Dialog/DialogButtons</title>
|
|
7
7
|
<meta charset="utf-8" />
|
|
8
8
|
<link rel="stylesheet" href="../../../../../../prettify.css" />
|
|
9
9
|
<link rel="stylesheet" href="../../../../../../base.css" />
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<body>
|
|
20
20
|
<div class='wrapper'>
|
|
21
21
|
<div class='pad1'>
|
|
22
|
-
<h1><a href="../../../../../../index.html">All files</a>
|
|
22
|
+
<h1><a href="../../../../../../index.html">All files</a> ui-kit/src/components/organisms/Dialog/DialogButtons</h1>
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at 2024-05-
|
|
104
|
+
at 2024-05-26T06:51:59.642Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../../../../prettify.js"></script>
|
|
107
107
|
<script>
|