@redneckz/wildless-cms-uni-blocks 0.14.840 → 0.14.842
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/bin/migration-scripts/0.14.832.js +1 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +63 -346
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/ui-kit/Loader/Loader.d.ts +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/Blocks.js +0 -6
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.js +0 -4
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
- package/dist/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
- package/dist/components/CardTransfer/CardTransfer.js +1 -8
- package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/dist/components/CardTransfer/SubmitFailedDialog.js +1 -1
- package/dist/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
- package/dist/components/Carousel/renderCarouselCards.js +2 -2
- package/dist/components/Carousel/renderCarouselCards.js.map +1 -1
- package/dist/components/Footer/HorizontalNavigation.js +1 -1
- package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
- package/dist/components/Footer/TextInformationLink.js +1 -1
- package/dist/components/Footer/TextInformationLink.js.map +1 -1
- package/dist/components/Header/HeaderTopMenu.js +1 -1
- package/dist/components/Header/HeaderTopMenu.js.map +1 -1
- package/dist/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
- package/dist/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
- package/dist/retail/components/DraftDialog/DraftDialog.js +1 -1
- package/dist/retail/components/DraftDialog/DraftDialog.js.map +1 -1
- package/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +1 -1
- package/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
- package/dist/ui-kit/Calculator/CalculatorStyle.js +1 -1
- package/dist/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
- package/dist/ui-kit/InputRange/InputRange.js +1 -1
- package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/dist/ui-kit/LinkButton/ButtonInner.js +1 -1
- package/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -1
- package/dist/ui-kit/Loader/Loader.d.ts +1 -1
- package/dist/ui-kit/Loader/Loader.js.map +1 -1
- package/dist/ui-kit/ProgressBar/ProgressBar.js +1 -1
- package/lib/common.css +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/Blocks.js +0 -6
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.js +0 -4
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
- package/lib/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
- package/lib/components/CardTransfer/CardTransfer.js +1 -8
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/lib/components/CardTransfer/SubmitFailedDialog.js +1 -1
- package/lib/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
- package/lib/components/Carousel/renderCarouselCards.js +2 -2
- package/lib/components/Carousel/renderCarouselCards.js.map +1 -1
- package/lib/components/Footer/HorizontalNavigation.js +1 -1
- package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
- package/lib/components/Footer/TextInformationLink.js +1 -1
- package/lib/components/Footer/TextInformationLink.js.map +1 -1
- package/lib/components/Header/HeaderTopMenu.js +1 -1
- package/lib/components/Header/HeaderTopMenu.js.map +1 -1
- package/lib/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
- package/lib/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
- package/lib/retail/components/DraftDialog/DraftDialog.js +1 -1
- package/lib/retail/components/DraftDialog/DraftDialog.js.map +1 -1
- package/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +1 -1
- package/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
- package/lib/ui-kit/Calculator/CalculatorStyle.js +1 -1
- package/lib/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
- package/lib/ui-kit/InputRange/InputRange.js +1 -1
- package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/lib/ui-kit/LinkButton/ButtonInner.js +1 -1
- package/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -1
- package/lib/ui-kit/Loader/Loader.d.ts +1 -1
- package/lib/ui-kit/Loader/Loader.js.map +1 -1
- package/lib/ui-kit/ProgressBar/ProgressBar.fixture.d.ts +4 -1
- package/lib/ui-kit/ProgressBar/ProgressBar.js +1 -1
- package/mobile/bundle/bundle.umd.js +35 -246
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/ui-kit/Loader/Loader.d.ts +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/dist/components/Blocks.js +0 -4
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
- package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -8
- package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/dist/components/CardTransfer/SubmitFailedDialog.js +1 -1
- package/mobile/dist/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
- package/mobile/dist/components/Carousel/renderCarouselCards.js +2 -2
- package/mobile/dist/components/Carousel/renderCarouselCards.js.map +1 -1
- package/mobile/dist/components/Footer/HorizontalNavigation.js +1 -1
- package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/dist/components/Footer/TextInformationLink.js +1 -1
- package/mobile/dist/components/Footer/TextInformationLink.js.map +1 -1
- package/mobile/dist/components/Header/HeaderTopMenu.js +1 -1
- package/mobile/dist/components/Header/HeaderTopMenu.js.map +1 -1
- package/mobile/dist/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
- package/mobile/dist/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
- package/mobile/dist/retail/components/DraftDialog/DraftDialog.js +1 -1
- package/mobile/dist/retail/components/DraftDialog/DraftDialog.js.map +1 -1
- package/mobile/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +1 -1
- package/mobile/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
- package/mobile/dist/ui-kit/Calculator/CalculatorStyle.js +1 -1
- package/mobile/dist/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRange.js +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/dist/ui-kit/LinkButton/ButtonInner.js +1 -1
- package/mobile/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -1
- package/mobile/dist/ui-kit/Loader/Loader.d.ts +1 -1
- package/mobile/dist/ui-kit/Loader/Loader.js.map +1 -1
- package/mobile/dist/ui-kit/ProgressBar/ProgressBar.js +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/lib/components/Blocks.js +0 -4
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
- package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -8
- package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/lib/components/CardTransfer/SubmitFailedDialog.js +1 -1
- package/mobile/lib/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
- package/mobile/lib/components/Carousel/renderCarouselCards.js +2 -2
- package/mobile/lib/components/Carousel/renderCarouselCards.js.map +1 -1
- package/mobile/lib/components/Footer/HorizontalNavigation.js +1 -1
- package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/lib/components/Footer/TextInformationLink.js +1 -1
- package/mobile/lib/components/Footer/TextInformationLink.js.map +1 -1
- package/mobile/lib/components/Header/HeaderTopMenu.js +1 -1
- package/mobile/lib/components/Header/HeaderTopMenu.js.map +1 -1
- package/mobile/lib/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
- package/mobile/lib/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
- package/mobile/lib/retail/components/DraftDialog/DraftDialog.js +1 -1
- package/mobile/lib/retail/components/DraftDialog/DraftDialog.js.map +1 -1
- package/mobile/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +1 -1
- package/mobile/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
- package/mobile/lib/ui-kit/Calculator/CalculatorStyle.js +1 -1
- package/mobile/lib/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRange.js +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/lib/ui-kit/LinkButton/ButtonInner.js +1 -1
- package/mobile/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -1
- package/mobile/lib/ui-kit/Loader/Loader.d.ts +1 -1
- package/mobile/lib/ui-kit/Loader/Loader.js.map +1 -1
- package/mobile/lib/ui-kit/ProgressBar/ProgressBar.js +1 -1
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/mobile/src/components/Blocks.ts +0 -4
- package/mobile/src/components/CalculatorRefinancing/CalculatorRefinancing.tsx +1 -3
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +5 -18
- package/mobile/src/components/CardTransfer/SubmitFailedDialog.tsx +2 -2
- package/mobile/src/components/Carousel/renderCarouselCards.tsx +2 -6
- package/mobile/src/components/Footer/HorizontalNavigation.tsx +1 -1
- package/mobile/src/components/Footer/TextInformationLink.tsx +1 -1
- package/mobile/src/components/Header/HeaderTopMenu.tsx +1 -5
- package/mobile/src/retail/components/CaptchaDialog/CaptchaDialog.tsx +4 -4
- package/mobile/src/retail/components/DraftDialog/DraftDialog.tsx +1 -1
- package/mobile/src/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.tsx +1 -1
- package/mobile/src/ui-kit/Calculator/CalculatorStyle.tsx +1 -1
- package/mobile/src/ui-kit/InputRange/InputRange.tsx +1 -1
- package/mobile/src/ui-kit/LinkButton/ButtonInner.tsx +1 -1
- package/mobile/src/ui-kit/Loader/Loader.tsx +1 -1
- package/mobile/src/ui-kit/ProgressBar/ProgressBar.tsx +1 -1
- package/package.json +2 -2
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/src/components/Blocks.mobile.ts +0 -4
- package/src/components/Blocks.ts +0 -6
- package/src/components/CalculatorRefinancing/CalculatorRefinancing.tsx +1 -3
- package/src/components/CardTransfer/CardTransfer.tsx +5 -18
- package/src/components/CardTransfer/SubmitFailedDialog.tsx +2 -2
- package/src/components/Carousel/renderCarouselCards.tsx +2 -6
- package/src/components/Footer/HorizontalNavigation.tsx +1 -1
- package/src/components/Footer/TextInformationLink.tsx +1 -1
- package/src/components/Header/HeaderTopMenu.tsx +1 -5
- package/src/icons/IconName.ts +4 -4
- package/src/retail/components/CaptchaDialog/CaptchaDialog.tsx +4 -4
- package/src/retail/components/DraftDialog/DraftDialog.tsx +1 -1
- package/src/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.tsx +1 -1
- package/src/ui-kit/Calculator/CalculatorStyle.tsx +1 -1
- package/src/ui-kit/InputRange/InputRange.tsx +1 -1
- package/src/ui-kit/LinkButton/ButtonInner.tsx +1 -1
- package/src/ui-kit/Loader/Loader.tsx +1 -1
- package/src/ui-kit/ProgressBar/ProgressBar.fixture.tsx +4 -1
- package/src/ui-kit/ProgressBar/ProgressBar.tsx +1 -1
- package/bundle/components/CarouselLinks/CarouselLinkButton.d.ts +0 -4
- package/bundle/components/CarouselLinks/CarouselLinks.d.ts +0 -6
- package/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
- package/bundle/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
- package/bundle/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
- package/bundle/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
- package/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
- package/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
- package/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
- package/bundle/components/ExchangeRateTile/calculateResult.d.ts +0 -2
- package/bundle/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
- package/bundle/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
- package/bundle/components/ExchangeRateTile/renderInput.d.ts +0 -11
- package/bundle/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
- package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
- package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
- package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
- package/bundle/ui-kit/Rating/Rating.d.ts +0 -1
- package/dist/components/CarouselLinks/CarouselLinkButton.d.ts +0 -4
- package/dist/components/CarouselLinks/CarouselLinkButton.js +0 -17
- package/dist/components/CarouselLinks/CarouselLinkButton.js.map +0 -1
- package/dist/components/CarouselLinks/CarouselLinks.d.ts +0 -6
- package/dist/components/CarouselLinks/CarouselLinks.js +0 -11
- package/dist/components/CarouselLinks/CarouselLinks.js.map +0 -1
- package/dist/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
- package/dist/components/CarouselLinks/CarouselLinksContent.js +0 -2
- package/dist/components/CarouselLinks/CarouselLinksContent.js.map +0 -1
- package/dist/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
- package/dist/components/ExchangeRateTile/CurrencyProps.js +0 -10
- package/dist/components/ExchangeRateTile/CurrencyProps.js.map +0 -1
- package/dist/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
- package/dist/components/ExchangeRateTile/CurrencyTable.js +0 -23
- package/dist/components/ExchangeRateTile/CurrencyTable.js.map +0 -1
- package/dist/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
- package/dist/components/ExchangeRateTile/CurrentLocation.js +0 -10
- package/dist/components/ExchangeRateTile/CurrentLocation.js.map +0 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +0 -73
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +0 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js +0 -26
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +0 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
- package/dist/components/ExchangeRateTile/ExchangeRateTileContent.js +0 -2
- package/dist/components/ExchangeRateTile/ExchangeRateTileContent.js.map +0 -1
- package/dist/components/ExchangeRateTile/calculateResult.d.ts +0 -2
- package/dist/components/ExchangeRateTile/calculateResult.js +0 -11
- package/dist/components/ExchangeRateTile/calculateResult.js.map +0 -1
- package/dist/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
- package/dist/components/ExchangeRateTile/callbackCurrencySelect.js +0 -21
- package/dist/components/ExchangeRateTile/callbackCurrencySelect.js.map +0 -1
- package/dist/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
- package/dist/components/ExchangeRateTile/formatCurrency.js +0 -10
- package/dist/components/ExchangeRateTile/formatCurrency.js.map +0 -1
- package/dist/components/ExchangeRateTile/renderInput.d.ts +0 -11
- package/dist/components/ExchangeRateTile/renderInput.js +0 -16
- package/dist/components/ExchangeRateTile/renderInput.js.map +0 -1
- package/dist/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
- package/dist/components/ExchangeRateTile/useFetchExchangeRateData.js +0 -13
- package/dist/components/ExchangeRateTile/useFetchExchangeRateData.js.map +0 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +0 -33
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +0 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +0 -2
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +0 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +0 -58
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +0 -1
- package/dist/ui-kit/Rating/Rating.d.ts +0 -1
- package/dist/ui-kit/Rating/Rating.js +0 -21
- package/dist/ui-kit/Rating/Rating.js.map +0 -1
- package/lib/components/CarouselLinks/CarouselLinkButton.d.ts +0 -4
- package/lib/components/CarouselLinks/CarouselLinkButton.js +0 -15
- package/lib/components/CarouselLinks/CarouselLinkButton.js.map +0 -1
- package/lib/components/CarouselLinks/CarouselLinks.d.ts +0 -6
- package/lib/components/CarouselLinks/CarouselLinks.fixture.d.ts +0 -5
- package/lib/components/CarouselLinks/CarouselLinks.fixture.mobile.d.ts +0 -5
- package/lib/components/CarouselLinks/CarouselLinks.js +0 -9
- package/lib/components/CarouselLinks/CarouselLinks.js.map +0 -1
- package/lib/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
- package/lib/components/CarouselLinks/CarouselLinksContent.js +0 -2
- package/lib/components/CarouselLinks/CarouselLinksContent.js.map +0 -1
- package/lib/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
- package/lib/components/ExchangeRateTile/CurrencyProps.js +0 -8
- package/lib/components/ExchangeRateTile/CurrencyProps.js.map +0 -1
- package/lib/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
- package/lib/components/ExchangeRateTile/CurrencyTable.js +0 -21
- package/lib/components/ExchangeRateTile/CurrencyTable.js.map +0 -1
- package/lib/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
- package/lib/components/ExchangeRateTile/CurrentLocation.js +0 -8
- package/lib/components/ExchangeRateTile/CurrentLocation.js.map +0 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +0 -71
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +0 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
- package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.d.ts +0 -5
- package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.mobile.d.ts +0 -5
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js +0 -24
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +0 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
- package/lib/components/ExchangeRateTile/ExchangeRateTileContent.js +0 -2
- package/lib/components/ExchangeRateTile/ExchangeRateTileContent.js.map +0 -1
- package/lib/components/ExchangeRateTile/calculateResult.d.ts +0 -2
- package/lib/components/ExchangeRateTile/calculateResult.js +0 -7
- package/lib/components/ExchangeRateTile/calculateResult.js.map +0 -1
- package/lib/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
- package/lib/components/ExchangeRateTile/callbackCurrencySelect.js +0 -18
- package/lib/components/ExchangeRateTile/callbackCurrencySelect.js.map +0 -1
- package/lib/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
- package/lib/components/ExchangeRateTile/formatCurrency.js +0 -7
- package/lib/components/ExchangeRateTile/formatCurrency.js.map +0 -1
- package/lib/components/ExchangeRateTile/renderInput.d.ts +0 -11
- package/lib/components/ExchangeRateTile/renderInput.js +0 -13
- package/lib/components/ExchangeRateTile/renderInput.js.map +0 -1
- package/lib/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
- package/lib/components/ExchangeRateTile/useFetchExchangeRateData.js +0 -10
- package/lib/components/ExchangeRateTile/useFetchExchangeRateData.js.map +0 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.d.ts +0 -5
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +0 -31
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +0 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +0 -2
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +0 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +0 -56
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +0 -1
- package/lib/ui-kit/Rating/Rating.d.ts +0 -1
- package/lib/ui-kit/Rating/Rating.fixture.d.ts +0 -5
- package/lib/ui-kit/Rating/Rating.js +0 -18
- package/lib/ui-kit/Rating/Rating.js.map +0 -1
- package/mobile/bundle/components/CarouselLinks/CarouselLinkButton.d.ts +0 -4
- package/mobile/bundle/components/CarouselLinks/CarouselLinks.d.ts +0 -6
- package/mobile/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
- package/mobile/bundle/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
- package/mobile/bundle/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
- package/mobile/bundle/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
- package/mobile/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
- package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
- package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
- package/mobile/bundle/components/ExchangeRateTile/calculateResult.d.ts +0 -2
- package/mobile/bundle/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
- package/mobile/bundle/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
- package/mobile/bundle/components/ExchangeRateTile/renderInput.d.ts +0 -11
- package/mobile/bundle/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
- package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
- package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
- package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
- package/mobile/bundle/ui-kit/Rating/Rating.d.ts +0 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinkButton.d.ts +0 -4
- package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js +0 -17
- package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js.map +0 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinks.d.ts +0 -6
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js +0 -11
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +0 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
- package/mobile/dist/components/CarouselLinks/CarouselLinksContent.js +0 -2
- package/mobile/dist/components/CarouselLinks/CarouselLinksContent.js.map +0 -1
- package/mobile/dist/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
- package/mobile/dist/components/ExchangeRateTile/CurrencyProps.js +0 -10
- package/mobile/dist/components/ExchangeRateTile/CurrencyProps.js.map +0 -1
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +0 -23
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +0 -1
- package/mobile/dist/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
- package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +0 -10
- package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +0 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +0 -73
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +0 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +0 -26
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +0 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.js +0 -2
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.js.map +0 -1
- package/mobile/dist/components/ExchangeRateTile/calculateResult.d.ts +0 -2
- package/mobile/dist/components/ExchangeRateTile/calculateResult.js +0 -11
- package/mobile/dist/components/ExchangeRateTile/calculateResult.js.map +0 -1
- package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
- package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.js +0 -21
- package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.js.map +0 -1
- package/mobile/dist/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
- package/mobile/dist/components/ExchangeRateTile/formatCurrency.js +0 -10
- package/mobile/dist/components/ExchangeRateTile/formatCurrency.js.map +0 -1
- package/mobile/dist/components/ExchangeRateTile/renderInput.d.ts +0 -11
- package/mobile/dist/components/ExchangeRateTile/renderInput.js +0 -16
- package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +0 -1
- package/mobile/dist/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
- package/mobile/dist/components/ExchangeRateTile/useFetchExchangeRateData.js +0 -13
- package/mobile/dist/components/ExchangeRateTile/useFetchExchangeRateData.js.map +0 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +0 -33
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +0 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +0 -2
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +0 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +0 -58
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +0 -1
- package/mobile/dist/ui-kit/Rating/Rating.d.ts +0 -1
- package/mobile/dist/ui-kit/Rating/Rating.js +0 -21
- package/mobile/dist/ui-kit/Rating/Rating.js.map +0 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinkButton.d.ts +0 -4
- package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js +0 -15
- package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js.map +0 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinks.d.ts +0 -6
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js +0 -9
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +0 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
- package/mobile/lib/components/CarouselLinks/CarouselLinksContent.js +0 -2
- package/mobile/lib/components/CarouselLinks/CarouselLinksContent.js.map +0 -1
- package/mobile/lib/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
- package/mobile/lib/components/ExchangeRateTile/CurrencyProps.js +0 -8
- package/mobile/lib/components/ExchangeRateTile/CurrencyProps.js.map +0 -1
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +0 -21
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +0 -1
- package/mobile/lib/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
- package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +0 -8
- package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +0 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +0 -71
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +0 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +0 -24
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +0 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.js +0 -2
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.js.map +0 -1
- package/mobile/lib/components/ExchangeRateTile/calculateResult.d.ts +0 -2
- package/mobile/lib/components/ExchangeRateTile/calculateResult.js +0 -7
- package/mobile/lib/components/ExchangeRateTile/calculateResult.js.map +0 -1
- package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
- package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.js +0 -18
- package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.js.map +0 -1
- package/mobile/lib/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
- package/mobile/lib/components/ExchangeRateTile/formatCurrency.js +0 -7
- package/mobile/lib/components/ExchangeRateTile/formatCurrency.js.map +0 -1
- package/mobile/lib/components/ExchangeRateTile/renderInput.d.ts +0 -11
- package/mobile/lib/components/ExchangeRateTile/renderInput.js +0 -13
- package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +0 -1
- package/mobile/lib/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
- package/mobile/lib/components/ExchangeRateTile/useFetchExchangeRateData.js +0 -10
- package/mobile/lib/components/ExchangeRateTile/useFetchExchangeRateData.js.map +0 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +0 -31
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +0 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +0 -2
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +0 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +0 -56
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +0 -1
- package/mobile/lib/ui-kit/Rating/Rating.d.ts +0 -1
- package/mobile/lib/ui-kit/Rating/Rating.js +0 -18
- package/mobile/lib/ui-kit/Rating/Rating.js.map +0 -1
- package/mobile/src/components/CarouselLinks/CarouselLinkButton.tsx +0 -36
- package/mobile/src/components/CarouselLinks/CarouselLinks.example.json +0 -31
- package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +0 -50
- package/mobile/src/components/CarouselLinks/CarouselLinks.ui.json +0 -16
- package/mobile/src/components/CarouselLinks/CarouselLinksContent.ts +0 -22
- package/mobile/src/components/ExchangeRateTile/CurrencyProps.ts +0 -6
- package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +0 -64
- package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +0 -28
- package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +0 -155
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.example.json +0 -12
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +0 -60
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.ui.json +0 -8
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +0 -11
- package/mobile/src/components/ExchangeRateTile/calculateResult.ts +0 -9
- package/mobile/src/components/ExchangeRateTile/callbackCurrencySelect.ts +0 -25
- package/mobile/src/components/ExchangeRateTile/formatCurrency.ts +0 -8
- package/mobile/src/components/ExchangeRateTile/renderInput.tsx +0 -43
- package/mobile/src/components/ExchangeRateTile/useFetchExchangeRateData.ts +0 -25
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +0 -89
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +0 -82
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.ui.json +0 -21
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +0 -35
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +0 -145
- package/mobile/src/ui-kit/Rating/Rating.tsx +0 -39
- package/src/components/CarouselLinks/CarouselLinkButton.tsx +0 -36
- package/src/components/CarouselLinks/CarouselLinks.example.json +0 -31
- package/src/components/CarouselLinks/CarouselLinks.fixture.mobile.tsx +0 -83
- package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +0 -40
- package/src/components/CarouselLinks/CarouselLinks.tsx +0 -50
- package/src/components/CarouselLinks/CarouselLinks.ui.json +0 -16
- package/src/components/CarouselLinks/CarouselLinksContent.ts +0 -22
- package/src/components/ExchangeRateTile/CurrencyProps.ts +0 -6
- package/src/components/ExchangeRateTile/CurrencyTable.tsx +0 -64
- package/src/components/ExchangeRateTile/CurrentLocation.tsx +0 -28
- package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +0 -155
- package/src/components/ExchangeRateTile/ExchangeRateTile.example.json +0 -12
- package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.mobile.tsx +0 -19
- package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +0 -21
- package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +0 -60
- package/src/components/ExchangeRateTile/ExchangeRateTile.ui.json +0 -8
- package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +0 -11
- package/src/components/ExchangeRateTile/calculateResult.ts +0 -9
- package/src/components/ExchangeRateTile/callbackCurrencySelect.ts +0 -25
- package/src/components/ExchangeRateTile/formatCurrency.ts +0 -8
- package/src/components/ExchangeRateTile/renderInput.tsx +0 -43
- package/src/components/ExchangeRateTile/useFetchExchangeRateData.ts +0 -25
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +0 -89
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +0 -62
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +0 -82
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.ui.json +0 -21
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +0 -35
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +0 -145
- package/src/ui-kit/Rating/Rating.fixture.tsx +0 -7
- package/src/ui-kit/Rating/Rating.tsx +0 -39
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const CalculatorStyle = {
|
|
2
|
-
wrapper: 'flex flex-col justify-between lg:flex-row gap-
|
|
2
|
+
wrapper: 'flex flex-col justify-between lg:flex-row gap-4xl',
|
|
3
3
|
input: 'flex flex-col lg:w-1/2 gap-2xl',
|
|
4
4
|
result: 'flex flex-col gap-y-xl min-w-52',
|
|
5
5
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CalculatorStyle.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/CalculatorStyle.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"CalculatorStyle.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/CalculatorStyle.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,OAAO,EAAE,mDAAmD;IAC5D,KAAK,EAAE,gCAAgC;IACvC,MAAM,EAAE,iCAAiC;CAC1C,CAAC"}
|
|
@@ -21,7 +21,7 @@ export const InputRange = JSX((props) => {
|
|
|
21
21
|
const handleChange = useCallback((ev) => {
|
|
22
22
|
onChange && onChange(parseDecimal(ev.target?.value));
|
|
23
23
|
}, [onChange]);
|
|
24
|
-
return (_jsxs("div", { className: className, children: [_jsxs("label", { className: "block relative", children: [title ? (_jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: title })) : null, _jsx("input", { className: style('text-h3 w-full h-14', 'pl-m
|
|
24
|
+
return (_jsxs("div", { className: className, children: [_jsxs("label", { className: "block relative", children: [title ? (_jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: title })) : null, _jsx("input", { className: style('text-h3 w-full h-14', 'pl-m box-border', 'text-primary-text', inputValidStyle, inputDisabledStyle), disabled: disabled, onChange: handleChange, ...normalizedProps }), renderRangeWithTicks({ list, min, max, step, disabled, value, onChange })] }), renderRangeCaption(items)] }));
|
|
25
25
|
});
|
|
26
26
|
const closestValue = (list) => (_) => list.reduce((prev, curr) => (Math.abs(curr - _) < Math.abs(prev - _) ? curr : prev));
|
|
27
27
|
const renderRangeCaption = (items) => (_jsx("div", { className: "flex justify-between my-xs", children: items.map((item, i) => (_jsx(Text, { size: "text-s", font: "font-light", color: "text-secondary-text", children: item }, String(i)))) }));
|
|
@@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AAqB,YAC9E,IAAI,IADI,MAAM,CAAC,CAAC,CAAC,CAEb,CACR,CAAC,GACE,CACP,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { iconStyleMap } from './buttonClassNameConstants.js';
|
|
|
6
6
|
export const ButtonInner = JSX((props) => {
|
|
7
7
|
const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
|
|
8
8
|
const iconHideStyle = isWithText(props) && 'hidden lg:block';
|
|
9
|
-
return (_jsxs("div", { className: style(buttonStyle(props), 'flex gap-xs'), children: [appendLeft ? (_jsx("div", { className: style(iconHideStyle, iconStyleMap[version]), children: appendLeft })) : null, isWithText(props) ? (_jsxs("div", { className: "whitespace-pre", children: [aboveText ? _jsx("div", { className: "text-xs font-light text-left", children: aboveText }) : null, _jsx("div", { className: `text-left ${aboveText ? 'text-s
|
|
9
|
+
return (_jsxs("div", { className: style(buttonStyle(props), 'flex gap-xs'), children: [appendLeft ? (_jsx("div", { className: style(iconHideStyle, iconStyleMap[version]), children: appendLeft })) : null, isWithText(props) ? (_jsxs("div", { className: "whitespace-pre", children: [aboveText ? _jsx("div", { className: "text-xs font-light text-left", children: aboveText }) : null, _jsx("div", { className: `text-left ${aboveText ? 'text-s' : 'text-l'}`, children: text })] })) : null, appendRight ? (_jsx("div", { className: style(iconHideStyle, iconStyleMap[version]), children: appendRight })) : null] }));
|
|
10
10
|
});
|
|
11
11
|
const buttonStyle = (props) => {
|
|
12
12
|
const { version, aboveText, rounded } = props;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonInner.js","sourceRoot":"","sources":["../../../src/ui-kit/LinkButton/ButtonInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAI1D,kBAAkB;AAClB,MAAM,CAAC,MAAM,WAAW,G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AAG,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAmB,EAAE,EAAE,CACtE,OAAO,CAAC,IAAI,IAAI,SAAS,IAAI,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Loader.js","sourceRoot":"","sources":["../../../src/ui-kit/Loader/Loader.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Loader.js","sourceRoot":"","sources":["../../../src/ui-kit/Loader/Loader.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAU1C,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CACvB,CAAC,EAAE,KAAK,GAAG,mBAAmB,EAAE,QAAQ,GAAG,UAAU,EAAE,IAAI,GAAG,IAAI,EAAE,IAAI,GAAG,KAAK,EAAE,EAAE,EAAE,CAAC,CACrF,cACE,SAAS,EAAE,KAAK,CAAC,qDAAqD,EAAE,QAAQ,EAAE;QAChF,eAAe,EAAE,IAAI;KACtB,CAAC,YAEF,cACE,SAAS,EAAE,KAAK,CACd,cAAc,EACd,2BAA2B,EAC3B,6BAA6B,EAC7B,sBAAsB,EACtB,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,oBAAoB,EAC5D,KAAK,CACN,EACD,IAAI,EAAC,QAAQ,GACb,GACE,CACP,CACF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
3
3
|
import { JSX } from '@redneckz/uni-jsx';
|
|
4
|
-
export const ProgressBar = JSX(({ step = 10, description, showPercentage = true }) => (_jsxs("div", { children: [_jsx("div", { className: "h-4 w-full bg-gray relative", children: _jsx("div", { className: "h-4 bg-green", style: { width: `${step}%` } }) }), _jsxs("div", { className: "relative", children: [showPercentage ? _jsxs("div", { className: "absolute left-2/4 text-green", children: [step, "%"] }) : null, description ? _jsx("div", { className: "text-right
|
|
4
|
+
export const ProgressBar = JSX(({ step = 10, description, showPercentage = true }) => (_jsxs("div", { children: [_jsx("div", { className: "h-4 w-full bg-gray relative", children: _jsx("div", { className: "h-4 bg-green", style: { width: `${step}%` } }) }), _jsxs("div", { className: "relative", children: [showPercentage ? _jsxs("div", { className: "absolute left-2/4 text-green", children: [step, "%"] }) : null, description ? _jsx("div", { className: "text-right pr-m text-gray", children: description }) : null] })] })));
|
|
5
5
|
//# sourceMappingURL=ProgressBar.js.map
|
|
@@ -16,7 +16,6 @@ import { CardTransfer } from './CardTransfer/CardTransfer';
|
|
|
16
16
|
import { Carousel } from './Carousel/Carousel';
|
|
17
17
|
import { CarouselCard } from './CarouselCard/CarouselCard';
|
|
18
18
|
import { CarouselCatalogCard } from './CarouselCatalogCard/CarouselCatalogCard';
|
|
19
|
-
import { CarouselLinks } from './CarouselLinks/CarouselLinks';
|
|
20
19
|
import { CarouselRecommendationCard } from './CarouselRecommendationCard/CarouselRecommendationCard';
|
|
21
20
|
import { CarouselTariffsCard } from './CarouselTariffsCard/CarouselTariffsCard';
|
|
22
21
|
import { CreditCardForm } from './CreditCardForm/CreditCardForm';
|
|
@@ -24,7 +23,6 @@ import { CreditForm } from './CreditForm/CreditForm';
|
|
|
24
23
|
import { DepositFiltration } from './DepositFiltration/DepositFiltration';
|
|
25
24
|
import { Depository } from './Depository/Depository';
|
|
26
25
|
import { ErrorBlock } from './ErrorBlock/ErrorBlock';
|
|
27
|
-
import { ExchangeRateTile } from './ExchangeRateTile/ExchangeRateTile';
|
|
28
26
|
import { Footer } from './Footer/Footer';
|
|
29
27
|
import { GalleryLayout } from './GalleryLayout/GalleryLayout';
|
|
30
28
|
import { GrantSupport } from './GrantSupport/GrantSupport';
|
|
@@ -61,13 +59,11 @@ export const Blocks: BlocksRegistry = {
|
|
|
61
59
|
Carousel,
|
|
62
60
|
CarouselCard,
|
|
63
61
|
CarouselCatalogCard,
|
|
64
|
-
CarouselLinks,
|
|
65
62
|
CarouselRecommendationCard,
|
|
66
63
|
CarouselTariffsCard,
|
|
67
64
|
DepositFiltration,
|
|
68
65
|
Depository,
|
|
69
66
|
ErrorBlock,
|
|
70
|
-
ExchangeRateTile,
|
|
71
67
|
Footer,
|
|
72
68
|
GalleryLayout,
|
|
73
69
|
GrantSupport,
|
|
@@ -97,9 +97,7 @@ export const CalculatorRefinancing = UniBlock<RefinancingCalculatorProp>(
|
|
|
97
97
|
value: calcParams.moneyExtra,
|
|
98
98
|
})
|
|
99
99
|
: null}
|
|
100
|
-
<div className="sm:hidden
|
|
101
|
-
{paymentTypeElement}
|
|
102
|
-
</div>
|
|
100
|
+
<div className="sm:hidden pb-m border-b border-main-divider">{paymentTypeElement}</div>
|
|
103
101
|
</div>
|
|
104
102
|
<div className={style(CalculatorStyle.result, '@4xl:w-1/2')}>
|
|
105
103
|
<CalculatorValue title="Полная стоимость кредита" value={calcSource?.totalLoanCost} />
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import { useEffect } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
-
import { useBool } from '@redneckz/uni-jsx/lib/hooks/useBool';
|
|
4
2
|
import { useForm } from '../../hooks/useForm/useForm';
|
|
5
3
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
6
4
|
import { SubmitButton } from '../../ui-kit/Button/SubmitButton';
|
|
@@ -31,35 +29,24 @@ export const CardTransfer = JSX<CardTransferProps>(
|
|
|
31
29
|
formType = 'private',
|
|
32
30
|
...rest
|
|
33
31
|
}) => {
|
|
34
|
-
const [isDisabled, { setValue: setDisabled }] = useBool(false);
|
|
35
|
-
|
|
36
32
|
const handleSubmit = useSubmitCardTransfer(formType);
|
|
37
33
|
|
|
38
34
|
const [{ amount }, { field, onSubmit }] = useForm(INITIAL_FORM_STATE, {
|
|
39
35
|
onSubmit: handleSubmit,
|
|
40
36
|
});
|
|
41
37
|
|
|
42
|
-
// TODO: dont set state in useEffect
|
|
43
|
-
useEffect(() => {
|
|
44
|
-
setDisabled(amount <= 0);
|
|
45
|
-
}, [amount]);
|
|
46
|
-
|
|
47
38
|
return (
|
|
48
39
|
<BlockWrapper
|
|
49
|
-
className={style('flex flex-col items-center', className)}
|
|
40
|
+
className={style('flex flex-col gap-4xl items-center', className)}
|
|
50
41
|
defaultPadding="p-6xl"
|
|
51
42
|
{...rest}
|
|
52
43
|
>
|
|
53
44
|
{title ? (
|
|
54
|
-
<Heading
|
|
55
|
-
className="pb-lg xl:pb-4xl self-start xl:self-center"
|
|
56
|
-
headingType="h3"
|
|
57
|
-
title={title}
|
|
58
|
-
/>
|
|
45
|
+
<Heading className="self-start xl:self-center" headingType="h3" title={title} />
|
|
59
46
|
) : null}
|
|
60
|
-
<form className="w-full xl:max-w-
|
|
47
|
+
<form className="w-full xl:max-w-md space-y-lg" method="POST" onSubmit={onSubmit}>
|
|
61
48
|
<CurrencyInput
|
|
62
|
-
valid={
|
|
49
|
+
valid={amount > 0}
|
|
63
50
|
label={label}
|
|
64
51
|
max={MAX_AMOUNT}
|
|
65
52
|
min={MIN_AMOUNT}
|
|
@@ -67,7 +54,7 @@ export const CardTransfer = JSX<CardTransferProps>(
|
|
|
67
54
|
/>
|
|
68
55
|
<input type="hidden" name="amount" value={amount} />
|
|
69
56
|
{button?.text ? (
|
|
70
|
-
<SubmitButton className="w-full
|
|
57
|
+
<SubmitButton className="w-full" disabled={amount <= 0}>
|
|
71
58
|
{button.text}
|
|
72
59
|
</SubmitButton>
|
|
73
60
|
) : null}
|
|
@@ -29,8 +29,8 @@ export const SubmitFailedDialog = ({
|
|
|
29
29
|
isEmbedded={true}
|
|
30
30
|
/>
|
|
31
31
|
{errorMessage ? (
|
|
32
|
-
<div className="bg-secondary-dark rounded-xl
|
|
33
|
-
<div className="col-span-8">
|
|
32
|
+
<div className="bg-secondary-dark rounded-xl p-m grid gap-m grid-cols-12">
|
|
33
|
+
<div className="col-span-8">{errorMessage}</div>
|
|
34
34
|
<div className="col-span-4">
|
|
35
35
|
<Img image={{ icon: 'ResponseFailIcon', iconVersion: 'normal' }} />
|
|
36
36
|
</div>
|
|
@@ -54,11 +54,7 @@ export const renderCarouselCards = ({
|
|
|
54
54
|
const cardWrapperStyle = (
|
|
55
55
|
_: BlockDef | undefined,
|
|
56
56
|
{ someCardsHighlighted }: { someCardsHighlighted?: boolean },
|
|
57
|
-
) =>
|
|
58
|
-
style(
|
|
59
|
-
cardBaseStyle,
|
|
60
|
-
someCardsHighlighted && (isCardHighlighted(_) ? 'pt-3xl' : 'pt-3xl sm:pt-16'),
|
|
61
|
-
);
|
|
57
|
+
) => style(cardBaseStyle, someCardsHighlighted && (isCardHighlighted(_) ? 'pt-3xl' : 'pt-16'));
|
|
62
58
|
|
|
63
59
|
const cardStyle = (
|
|
64
60
|
_: BlockDef | undefined,
|
|
@@ -72,7 +68,7 @@ const cardStyle = (
|
|
|
72
68
|
cardBaseStyle,
|
|
73
69
|
'min-w-80',
|
|
74
70
|
CARD_SIZE_MAP[cardSize], // TODO fix для RecommendationCard
|
|
75
|
-
someCardsHighlighted && (isCardHighlighted(_) ? 'pt-
|
|
71
|
+
someCardsHighlighted && (isCardHighlighted(_) ? 'pt-16' : 'pt-3xl'),
|
|
76
72
|
getBorderStyle(showBorder),
|
|
77
73
|
showBorder && 'h-full',
|
|
78
74
|
);
|
|
@@ -17,7 +17,7 @@ export const TextInformationLink = JSX<Partial<TextInformationLinkProps>>(
|
|
|
17
17
|
return (
|
|
18
18
|
<a
|
|
19
19
|
className={style(
|
|
20
|
-
'text-xs font-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-
|
|
20
|
+
'text-xs font-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-72',
|
|
21
21
|
className,
|
|
22
22
|
)}
|
|
23
23
|
href={href}
|
|
@@ -66,11 +66,7 @@ export const HeaderTopMenu = JSX<HeaderMenuProps>(
|
|
|
66
66
|
data={dataHeader}
|
|
67
67
|
showTitle={false}
|
|
68
68
|
/>
|
|
69
|
-
<div
|
|
70
|
-
ref={topItemsListRef}
|
|
71
|
-
className="overflow-hidden min-w-[160px] pb-xs mt-xs"
|
|
72
|
-
role="menu"
|
|
73
|
-
>
|
|
69
|
+
<div ref={topItemsListRef} className="overflow-hidden min-w-40 pb-xs mt-xs" role="menu">
|
|
74
70
|
{navigationItems.map((_, i) => (
|
|
75
71
|
<HeaderTopMenuItem
|
|
76
72
|
key={String(i)}
|
|
@@ -49,21 +49,21 @@ export const CaptchaDialog = JSX<CaptchaDialogProps>(({ phoneNumber, sendCode, o
|
|
|
49
49
|
head={<Logo />}
|
|
50
50
|
onClose={onClose}
|
|
51
51
|
>
|
|
52
|
-
<div className="flex flex-col gap-lg items-center
|
|
53
|
-
<div className="flex
|
|
52
|
+
<div className="flex flex-col gap-lg items-center">
|
|
53
|
+
<div className="flex">
|
|
54
54
|
<img className="grow" src={captcha}></img>
|
|
55
55
|
<Button className="w-8" embedded onClick={handleCreateCaptcha}>
|
|
56
56
|
<Icon iconVersion="normal" name="RefreshIcon" />
|
|
57
57
|
</Button>
|
|
58
58
|
</div>
|
|
59
59
|
<Input
|
|
60
|
-
className="w-
|
|
60
|
+
className="w-80"
|
|
61
61
|
onChange={setCode}
|
|
62
62
|
value={code}
|
|
63
63
|
placeholder="Введите код с картинки"
|
|
64
64
|
/>
|
|
65
65
|
{hasError ? <div className="text-error">Неверный код</div> : null}
|
|
66
|
-
<div className="flex w-
|
|
66
|
+
<div className="flex w-80 justify-between">
|
|
67
67
|
<Button version="secondary" onClick={close}>
|
|
68
68
|
Вернуться
|
|
69
69
|
</Button>
|
|
@@ -54,7 +54,7 @@ export const DraftDialog = JSX<DraftDialogProps>(function ({
|
|
|
54
54
|
|
|
55
55
|
return (
|
|
56
56
|
<Dialog className="my-6xl max-w-4xl w-full min-h-fit mx-auto rounded-xl py-0" onClose={onClose}>
|
|
57
|
-
<div className="flex flex-col gap-lg items-center mt-xs
|
|
57
|
+
<div className="flex flex-col gap-lg items-center mt-xs mx-6xl">
|
|
58
58
|
<Heading
|
|
59
59
|
className="whitespace-pre-wrap text-center"
|
|
60
60
|
title="Нашли черновик вашей заявки"
|
|
@@ -130,7 +130,7 @@ const renderText = (timeNextReq: number, handleSendCode: () => void) =>
|
|
|
130
130
|
timeNextReq ? (
|
|
131
131
|
<div className="flex flex-row text-l font-light text-base">
|
|
132
132
|
Получить новый код можно через
|
|
133
|
-
<Timer className="
|
|
133
|
+
<Timer className="pl-2xs" seconds={timeNextReq} />
|
|
134
134
|
</div>
|
|
135
135
|
) : (
|
|
136
136
|
<Button embedded onClick={handleSendCode}>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const CalculatorStyle = {
|
|
2
|
-
wrapper: 'flex flex-col justify-between lg:flex-row gap-
|
|
2
|
+
wrapper: 'flex flex-col justify-between lg:flex-row gap-4xl',
|
|
3
3
|
input: 'flex flex-col lg:w-1/2 gap-2xl',
|
|
4
4
|
result: 'flex flex-col gap-y-xl min-w-52',
|
|
5
5
|
};
|
|
@@ -17,7 +17,7 @@ export const ButtonInner = JSX<LinkButtonProps>((props) => {
|
|
|
17
17
|
{isWithText(props) ? (
|
|
18
18
|
<div className="whitespace-pre">
|
|
19
19
|
{aboveText ? <div className="text-xs font-light text-left">{aboveText}</div> : null}
|
|
20
|
-
<div className={`text-left ${aboveText ? 'text-s
|
|
20
|
+
<div className={`text-left ${aboveText ? 'text-s' : 'text-l'}`}>{text}</div>
|
|
21
21
|
</div>
|
|
22
22
|
) : null}
|
|
23
23
|
{appendRight ? (
|
|
@@ -15,7 +15,7 @@ export const ProgressBar = JSX<ProgressBarProps>(
|
|
|
15
15
|
</div>
|
|
16
16
|
<div className="relative">
|
|
17
17
|
{showPercentage ? <div className="absolute left-2/4 text-green">{step}%</div> : null}
|
|
18
|
-
{description ? <div className="text-right
|
|
18
|
+
{description ? <div className="text-right pr-m text-gray">{description}</div> : null}
|
|
19
19
|
</div>
|
|
20
20
|
</div>
|
|
21
21
|
),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redneckz/wildless-cms-uni-blocks",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.842",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ЦК",
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
"path": "lib/common.css"
|
|
195
195
|
},
|
|
196
196
|
{
|
|
197
|
-
"limit": "
|
|
197
|
+
"limit": "95 kB",
|
|
198
198
|
"path": "bundle/bundle.umd.min.js"
|
|
199
199
|
}
|
|
200
200
|
],
|
|
@@ -16,7 +16,6 @@ import { CardTransfer } from './CardTransfer/CardTransfer';
|
|
|
16
16
|
import { Carousel } from './Carousel/Carousel';
|
|
17
17
|
import { CarouselCard } from './CarouselCard/CarouselCard';
|
|
18
18
|
import { CarouselCatalogCard } from './CarouselCatalogCard/CarouselCatalogCard';
|
|
19
|
-
import { CarouselLinks } from './CarouselLinks/CarouselLinks';
|
|
20
19
|
import { CarouselRecommendationCard } from './CarouselRecommendationCard/CarouselRecommendationCard';
|
|
21
20
|
import { CarouselTariffsCard } from './CarouselTariffsCard/CarouselTariffsCard';
|
|
22
21
|
import { CreditCardForm } from './CreditCardForm/CreditCardForm';
|
|
@@ -24,7 +23,6 @@ import { CreditForm } from './CreditForm/CreditForm';
|
|
|
24
23
|
import { DepositFiltration } from './DepositFiltration/DepositFiltration';
|
|
25
24
|
import { Depository } from './Depository/Depository';
|
|
26
25
|
import { ErrorBlock } from './ErrorBlock/ErrorBlock';
|
|
27
|
-
import { ExchangeRateTile } from './ExchangeRateTile/ExchangeRateTile';
|
|
28
26
|
import { Footer } from './Footer/Footer';
|
|
29
27
|
import { GalleryLayout } from './GalleryLayout/GalleryLayout';
|
|
30
28
|
import { GrantSupport } from './GrantSupport/GrantSupport';
|
|
@@ -61,13 +59,11 @@ export const Blocks: BlocksRegistry = {
|
|
|
61
59
|
Carousel,
|
|
62
60
|
CarouselCard,
|
|
63
61
|
CarouselCatalogCard,
|
|
64
|
-
CarouselLinks,
|
|
65
62
|
CarouselRecommendationCard,
|
|
66
63
|
CarouselTariffsCard,
|
|
67
64
|
DepositFiltration,
|
|
68
65
|
Depository,
|
|
69
66
|
ErrorBlock,
|
|
70
|
-
ExchangeRateTile,
|
|
71
67
|
Footer,
|
|
72
68
|
GalleryLayout,
|
|
73
69
|
GrantSupport,
|
package/src/components/Blocks.ts
CHANGED
|
@@ -16,7 +16,6 @@ import { CardTransfer } from './CardTransfer/CardTransfer';
|
|
|
16
16
|
import { Carousel } from './Carousel/Carousel';
|
|
17
17
|
import { CarouselCard } from './CarouselCard/CarouselCard';
|
|
18
18
|
import { CarouselCatalogCard } from './CarouselCatalogCard/CarouselCatalogCard';
|
|
19
|
-
import { CarouselLinks } from './CarouselLinks/CarouselLinks';
|
|
20
19
|
import { CarouselRecommendationCard } from './CarouselRecommendationCard/CarouselRecommendationCard';
|
|
21
20
|
import { CarouselTariffsCard } from './CarouselTariffsCard/CarouselTariffsCard';
|
|
22
21
|
import { ContactsBlock } from './ContactsBlock/ContactsBlock';
|
|
@@ -26,7 +25,6 @@ import { DebitForm } from './DebitForm/DebitForm';
|
|
|
26
25
|
import { DepositFiltration } from './DepositFiltration/DepositFiltration';
|
|
27
26
|
import { Depository } from './Depository/Depository';
|
|
28
27
|
import { ErrorBlock } from './ErrorBlock/ErrorBlock';
|
|
29
|
-
import { ExchangeRateTile } from './ExchangeRateTile/ExchangeRateTile';
|
|
30
28
|
import { Footer } from './Footer/Footer';
|
|
31
29
|
import { GalleryLayout } from './GalleryLayout/GalleryLayout';
|
|
32
30
|
import { GrantSupport } from './GrantSupport/GrantSupport';
|
|
@@ -34,7 +32,6 @@ import { Header } from './Header/Header';
|
|
|
34
32
|
import { Headline } from './Headline/Headline';
|
|
35
33
|
import { HorizontalLayout } from './HorizontalLayout/HorizontalLayout';
|
|
36
34
|
import { ImgBlock } from './ImgBlock/ImgBlock';
|
|
37
|
-
import { InsuranceAmountBlock } from './InsuranceAmountBlock/InsuranceAmountBlock';
|
|
38
35
|
import { LinkDocs } from './LinkDocs/LinkDocs';
|
|
39
36
|
import { MobileAppTile } from './MobileAppTile/MobileAppTile';
|
|
40
37
|
import { OfficesAtmsMap } from './OfficesAtmsMap/OfficesAtmsMap';
|
|
@@ -65,14 +62,12 @@ export const Blocks: BlocksRegistry = {
|
|
|
65
62
|
Carousel,
|
|
66
63
|
CarouselCard,
|
|
67
64
|
CarouselCatalogCard,
|
|
68
|
-
CarouselLinks,
|
|
69
65
|
CarouselRecommendationCard,
|
|
70
66
|
CarouselTariffsCard,
|
|
71
67
|
ContactsBlock,
|
|
72
68
|
DepositFiltration,
|
|
73
69
|
Depository,
|
|
74
70
|
ErrorBlock,
|
|
75
|
-
ExchangeRateTile,
|
|
76
71
|
Footer,
|
|
77
72
|
GalleryLayout,
|
|
78
73
|
GrantSupport,
|
|
@@ -80,7 +75,6 @@ export const Blocks: BlocksRegistry = {
|
|
|
80
75
|
Headline,
|
|
81
76
|
HorizontalLayout,
|
|
82
77
|
ImgBlock,
|
|
83
|
-
InsuranceAmountBlock,
|
|
84
78
|
LinkDocs,
|
|
85
79
|
MobileAppTile,
|
|
86
80
|
OfficesAtmsMap,
|
|
@@ -97,9 +97,7 @@ export const CalculatorRefinancing = UniBlock<RefinancingCalculatorProp>(
|
|
|
97
97
|
value: calcParams.moneyExtra,
|
|
98
98
|
})
|
|
99
99
|
: null}
|
|
100
|
-
<div className="sm:hidden
|
|
101
|
-
{paymentTypeElement}
|
|
102
|
-
</div>
|
|
100
|
+
<div className="sm:hidden pb-m border-b border-main-divider">{paymentTypeElement}</div>
|
|
103
101
|
</div>
|
|
104
102
|
<div className={style(CalculatorStyle.result, '@4xl:w-1/2')}>
|
|
105
103
|
<CalculatorValue title="Полная стоимость кредита" value={calcSource?.totalLoanCost} />
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import { useEffect } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
-
import { useBool } from '@redneckz/uni-jsx/lib/hooks/useBool';
|
|
4
2
|
import { useForm } from '../../hooks/useForm/useForm';
|
|
5
3
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
6
4
|
import { SubmitButton } from '../../ui-kit/Button/SubmitButton';
|
|
@@ -31,35 +29,24 @@ export const CardTransfer = JSX<CardTransferProps>(
|
|
|
31
29
|
formType = 'private',
|
|
32
30
|
...rest
|
|
33
31
|
}) => {
|
|
34
|
-
const [isDisabled, { setValue: setDisabled }] = useBool(false);
|
|
35
|
-
|
|
36
32
|
const handleSubmit = useSubmitCardTransfer(formType);
|
|
37
33
|
|
|
38
34
|
const [{ amount }, { field, onSubmit }] = useForm(INITIAL_FORM_STATE, {
|
|
39
35
|
onSubmit: handleSubmit,
|
|
40
36
|
});
|
|
41
37
|
|
|
42
|
-
// TODO: dont set state in useEffect
|
|
43
|
-
useEffect(() => {
|
|
44
|
-
setDisabled(amount <= 0);
|
|
45
|
-
}, [amount]);
|
|
46
|
-
|
|
47
38
|
return (
|
|
48
39
|
<BlockWrapper
|
|
49
|
-
className={style('flex flex-col items-center', className)}
|
|
40
|
+
className={style('flex flex-col gap-4xl items-center', className)}
|
|
50
41
|
defaultPadding="p-6xl"
|
|
51
42
|
{...rest}
|
|
52
43
|
>
|
|
53
44
|
{title ? (
|
|
54
|
-
<Heading
|
|
55
|
-
className="pb-lg xl:pb-4xl self-start xl:self-center"
|
|
56
|
-
headingType="h3"
|
|
57
|
-
title={title}
|
|
58
|
-
/>
|
|
45
|
+
<Heading className="self-start xl:self-center" headingType="h3" title={title} />
|
|
59
46
|
) : null}
|
|
60
|
-
<form className="w-full xl:max-w-
|
|
47
|
+
<form className="w-full xl:max-w-md space-y-lg" method="POST" onSubmit={onSubmit}>
|
|
61
48
|
<CurrencyInput
|
|
62
|
-
valid={
|
|
49
|
+
valid={amount > 0}
|
|
63
50
|
label={label}
|
|
64
51
|
max={MAX_AMOUNT}
|
|
65
52
|
min={MIN_AMOUNT}
|
|
@@ -67,7 +54,7 @@ export const CardTransfer = JSX<CardTransferProps>(
|
|
|
67
54
|
/>
|
|
68
55
|
<input type="hidden" name="amount" value={amount} />
|
|
69
56
|
{button?.text ? (
|
|
70
|
-
<SubmitButton className="w-full
|
|
57
|
+
<SubmitButton className="w-full" disabled={amount <= 0}>
|
|
71
58
|
{button.text}
|
|
72
59
|
</SubmitButton>
|
|
73
60
|
) : null}
|
|
@@ -29,8 +29,8 @@ export const SubmitFailedDialog = ({
|
|
|
29
29
|
isEmbedded={true}
|
|
30
30
|
/>
|
|
31
31
|
{errorMessage ? (
|
|
32
|
-
<div className="bg-secondary-dark rounded-xl
|
|
33
|
-
<div className="col-span-8">
|
|
32
|
+
<div className="bg-secondary-dark rounded-xl p-m grid gap-m grid-cols-12">
|
|
33
|
+
<div className="col-span-8">{errorMessage}</div>
|
|
34
34
|
<div className="col-span-4">
|
|
35
35
|
<Img image={{ icon: 'ResponseFailIcon', iconVersion: 'normal' }} />
|
|
36
36
|
</div>
|
|
@@ -54,11 +54,7 @@ export const renderCarouselCards = ({
|
|
|
54
54
|
const cardWrapperStyle = (
|
|
55
55
|
_: BlockDef | undefined,
|
|
56
56
|
{ someCardsHighlighted }: { someCardsHighlighted?: boolean },
|
|
57
|
-
) =>
|
|
58
|
-
style(
|
|
59
|
-
cardBaseStyle,
|
|
60
|
-
someCardsHighlighted && (isCardHighlighted(_) ? 'pt-3xl' : 'pt-3xl sm:pt-16'),
|
|
61
|
-
);
|
|
57
|
+
) => style(cardBaseStyle, someCardsHighlighted && (isCardHighlighted(_) ? 'pt-3xl' : 'pt-16'));
|
|
62
58
|
|
|
63
59
|
const cardStyle = (
|
|
64
60
|
_: BlockDef | undefined,
|
|
@@ -72,7 +68,7 @@ const cardStyle = (
|
|
|
72
68
|
cardBaseStyle,
|
|
73
69
|
'min-w-80',
|
|
74
70
|
CARD_SIZE_MAP[cardSize], // TODO fix для RecommendationCard
|
|
75
|
-
someCardsHighlighted && (isCardHighlighted(_) ? 'pt-
|
|
71
|
+
someCardsHighlighted && (isCardHighlighted(_) ? 'pt-16' : 'pt-3xl'),
|
|
76
72
|
getBorderStyle(showBorder),
|
|
77
73
|
showBorder && 'h-full',
|
|
78
74
|
);
|
|
@@ -17,7 +17,7 @@ export const TextInformationLink = JSX<Partial<TextInformationLinkProps>>(
|
|
|
17
17
|
return (
|
|
18
18
|
<a
|
|
19
19
|
className={style(
|
|
20
|
-
'text-xs font-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-
|
|
20
|
+
'text-xs font-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-72',
|
|
21
21
|
className,
|
|
22
22
|
)}
|
|
23
23
|
href={href}
|
|
@@ -66,11 +66,7 @@ export const HeaderTopMenu = JSX<HeaderMenuProps>(
|
|
|
66
66
|
data={dataHeader}
|
|
67
67
|
showTitle={false}
|
|
68
68
|
/>
|
|
69
|
-
<div
|
|
70
|
-
ref={topItemsListRef}
|
|
71
|
-
className="overflow-hidden min-w-[160px] pb-xs mt-xs"
|
|
72
|
-
role="menu"
|
|
73
|
-
>
|
|
69
|
+
<div ref={topItemsListRef} className="overflow-hidden min-w-40 pb-xs mt-xs" role="menu">
|
|
74
70
|
{navigationItems.map((_, i) => (
|
|
75
71
|
<HeaderTopMenuItem
|
|
76
72
|
key={String(i)}
|