@redneckz/wildless-cms-uni-blocks 0.14.65 → 0.14.66
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/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +166 -147
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
- package/bundle/components/Bonus/BonusContent.d.ts +1 -1
- package/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
- package/bundle/components/Calculator/CalculatorContent.d.ts +1 -1
- package/bundle/components/CardTransfer/CardTransferContent.d.ts +2 -2
- package/bundle/components/CarouselCard/CarouselCardContent.d.ts +2 -2
- package/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -2
- package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
- package/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
- package/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
- package/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
- package/bundle/components/Footer/FooterDataProps.d.ts +3 -3
- package/bundle/components/Footer/SocialMedia.d.ts +4 -4
- package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
- package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/bundle/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
- package/bundle/components/StepsBlock/StepsBlockContent.d.ts +3 -3
- package/bundle/components/TariffsTable/EmbeddableCellData.d.ts +3 -3
- package/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/bundle/model/ButtonVersion.d.ts +2 -3
- package/bundle/model/LinkButtonVersion.d.ts +6 -0
- package/bundle/ui-kit/ARIAProps.d.ts +4 -0
- package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +1 -1
- package/bundle/ui-kit/Button/Button.d.ts +12 -1
- package/bundle/ui-kit/Button/useButton.d.ts +2 -0
- package/bundle/ui-kit/ControlStateProps.d.ts +4 -0
- package/bundle/ui-kit/{Button → LinkButton}/ArrowButton.d.ts +4 -4
- package/bundle/ui-kit/LinkButton/ButtonInner.d.ts +2 -0
- package/bundle/ui-kit/LinkButton/ButtonsSectionContent.d.ts +7 -0
- package/bundle/ui-kit/LinkButton/GetButtonClassParams.d.ts +6 -0
- package/bundle/ui-kit/LinkButton/LinkButton.d.ts +2 -0
- package/{dist/ui-kit/Button/ButtonContent.d.ts → bundle/ui-kit/LinkButton/LinkButtonContent.d.ts} +3 -3
- package/{dist/ui-kit/Button/ButtonProps.d.ts → bundle/ui-kit/LinkButton/LinkButtonProps.d.ts} +2 -2
- package/bundle/ui-kit/LinkButton/buttonClassNameConstants.d.ts +5 -0
- package/bundle/ui-kit/LinkButton/renderButtonsSection.d.ts +9 -0
- package/bundle/ui-kit/{Button → LinkButton}/useFormSubmit.d.ts +1 -1
- package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
- package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +3 -3
- package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
- package/dist/components/ApplicationForm/Footnote.js +2 -2
- package/dist/components/ApplicationForm/Footnote.js.map +1 -1
- package/dist/components/ApplicationForm/renderSubmitButton.js +2 -8
- package/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
- package/dist/components/Bonus/Bonus.js +1 -1
- package/dist/components/Bonus/Bonus.js.map +1 -1
- package/dist/components/Bonus/BonusContent.d.ts +1 -1
- package/dist/components/ButtonsBlock/ButtonsBlock.js +1 -1
- package/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -1
- package/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
- package/dist/components/Calculator/BonusCalculatorForm.js +1 -1
- package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/Calculator.js +1 -1
- package/dist/components/Calculator/Calculator.js.map +1 -1
- package/dist/components/Calculator/CalculatorContent.d.ts +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.js +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/RefinancingCalculatorForm.js +1 -1
- package/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/dist/components/CardTransfer/CardTransfer.js +2 -9
- package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/dist/components/CardTransfer/CardTransferContent.d.ts +2 -2
- package/dist/components/Carousel/CarouselScrollButtons.js +1 -1
- package/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCard.js +1 -1
- package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCardContent.d.ts +2 -2
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -2
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
- package/dist/components/CarouselTariffsCard/renderCardInfo.js +1 -1
- package/dist/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTableRows.js +1 -1
- package/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/dist/components/ComparisonTable/HeaderCell.js +2 -2
- package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/dist/components/ComparisonTable/TableColumn.js +2 -2
- package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
- package/dist/components/ContactsBlock/ContactsBlock.js +2 -2
- package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/dist/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
- package/dist/components/Depository/DepositoryFilter.js +2 -1
- package/dist/components/Depository/DepositoryFilter.js.map +1 -1
- package/dist/components/ErrorBlock/ErrorBlock.js +2 -2
- package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/dist/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
- package/dist/components/Footer/Contacts.js +2 -2
- package/dist/components/Footer/Contacts.js.map +1 -1
- package/dist/components/Footer/Footer.js +2 -2
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +2 -2
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/FooterDataProps.d.ts +3 -3
- package/dist/components/Footer/SocialMedia.d.ts +4 -4
- package/dist/components/Footer/SocialMedia.js +1 -1
- package/dist/components/Footer/SocialMedia.js.map +1 -1
- package/dist/components/Header/HeaderTop.js +2 -2
- package/dist/components/Header/HeaderTop.js.map +1 -1
- package/dist/components/Header/InternetBankButton.js +2 -2
- package/dist/components/Header/InternetBankButton.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +3 -3
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/dist/components/LikeControl/LikeControl.js +1 -1
- package/dist/components/LikeControl/LikeControl.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/dist/components/OfficesAtmsMap/renderFiltrationForm.js +2 -2
- package/dist/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/dist/components/ProductBlock/renderBackwardButton.js +3 -3
- package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
- package/dist/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
- package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.js +1 -1
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlockContent.d.ts +3 -3
- package/dist/components/StepsBlock/renderStep.js +2 -2
- package/dist/components/StepsBlock/renderStep.js.map +1 -1
- package/dist/components/TariffsTable/EmbeddableCellData.d.ts +3 -3
- package/dist/components/TariffsTable/EmbeddableCellData.js +1 -1
- package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTableWrapper.js +1 -1
- package/dist/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
- package/dist/model/ButtonVersion.d.ts +2 -3
- package/dist/model/LinkButtonVersion.d.ts +6 -0
- package/dist/model/LinkButtonVersion.js +2 -0
- package/dist/model/LinkButtonVersion.js.map +1 -0
- package/dist/setup-fixture.js +4 -1
- package/dist/setup-fixture.js.map +1 -1
- package/dist/ui-kit/ARIAProps.d.ts +4 -0
- package/dist/ui-kit/{Button/ButtonProps.js → ARIAProps.js} +1 -1
- package/dist/ui-kit/ARIAProps.js.map +1 -0
- package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
- package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +1 -1
- package/dist/ui-kit/Button/Button.d.ts +12 -1
- package/dist/ui-kit/Button/Button.js +18 -13
- package/dist/ui-kit/Button/Button.js.map +1 -1
- package/dist/ui-kit/Button/useButton.d.ts +2 -0
- package/dist/ui-kit/Button/useButton.js +16 -0
- package/dist/ui-kit/Button/useButton.js.map +1 -0
- package/dist/ui-kit/ControlStateProps.d.ts +4 -0
- package/dist/ui-kit/ControlStateProps.js +2 -0
- package/dist/ui-kit/ControlStateProps.js.map +1 -0
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.js +1 -1
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableButton.js +2 -2
- package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableHeader.js +2 -2
- package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/dist/ui-kit/{Button → LinkButton}/ArrowButton.d.ts +4 -4
- package/dist/ui-kit/{Button → LinkButton}/ArrowButton.js +2 -2
- package/dist/ui-kit/LinkButton/ArrowButton.js.map +1 -0
- package/dist/ui-kit/LinkButton/ButtonInner.d.ts +2 -0
- package/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -0
- package/dist/ui-kit/LinkButton/ButtonsSectionContent.d.ts +7 -0
- package/dist/ui-kit/LinkButton/ButtonsSectionContent.js.map +1 -0
- package/dist/ui-kit/LinkButton/GetButtonClassParams.d.ts +6 -0
- package/dist/ui-kit/LinkButton/GetButtonClassParams.js.map +1 -0
- package/dist/ui-kit/LinkButton/LikeButton.js.map +1 -0
- package/dist/ui-kit/LinkButton/LinkButton.d.ts +2 -0
- package/dist/ui-kit/LinkButton/LinkButton.js +19 -0
- package/dist/ui-kit/LinkButton/LinkButton.js.map +1 -0
- package/{bundle/ui-kit/Button/ButtonContent.d.ts → dist/ui-kit/LinkButton/LinkButtonContent.d.ts} +3 -3
- package/dist/ui-kit/LinkButton/LinkButtonContent.js +2 -0
- package/dist/ui-kit/LinkButton/LinkButtonContent.js.map +1 -0
- package/{lib/ui-kit/Button/ButtonProps.d.ts → dist/ui-kit/LinkButton/LinkButtonProps.d.ts} +2 -2
- package/dist/ui-kit/{Button/ButtonContent.js → LinkButton/LinkButtonProps.js} +1 -1
- package/dist/ui-kit/LinkButton/LinkButtonProps.js.map +1 -0
- package/dist/ui-kit/LinkButton/buttonClassNameConstants.d.ts +5 -0
- package/dist/ui-kit/LinkButton/buttonClassNameConstants.js.map +1 -0
- package/dist/ui-kit/LinkButton/getDisabledButtonClasses.js.map +1 -0
- package/dist/ui-kit/LinkButton/getRegularButtonClasses.js.map +1 -0
- package/dist/ui-kit/LinkButton/renderArrows.js.map +1 -0
- package/dist/ui-kit/LinkButton/renderButtonsSection.d.ts +9 -0
- package/{mobile/dist/ui-kit/Button → dist/ui-kit/LinkButton}/renderButtonsSection.js +2 -2
- package/dist/ui-kit/LinkButton/renderButtonsSection.js.map +1 -0
- package/{lib/ui-kit/Button → dist/ui-kit/LinkButton}/useFormSubmit.d.ts +1 -1
- package/dist/ui-kit/LinkButton/useFormSubmit.js.map +1 -0
- package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +1 -1
- package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
- package/dist/ui-kit/TabsControl/ScrollableTabsControl.js +1 -1
- package/dist/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
- package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +3 -3
- package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
- package/lib/components/ApplicationForm/Footnote.js +2 -2
- package/lib/components/ApplicationForm/Footnote.js.map +1 -1
- package/lib/components/ApplicationForm/renderSubmitButton.js +2 -8
- package/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
- package/lib/components/Bonus/Bonus.js +1 -1
- package/lib/components/Bonus/Bonus.js.map +1 -1
- package/lib/components/Bonus/BonusContent.d.ts +1 -1
- package/lib/components/ButtonsBlock/ButtonsBlock.js +1 -1
- package/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -1
- package/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
- package/lib/components/Calculator/BonusCalculatorForm.js +1 -1
- package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/Calculator.js +1 -1
- package/lib/components/Calculator/Calculator.js.map +1 -1
- package/lib/components/Calculator/CalculatorContent.d.ts +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.js +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/RefinancingCalculatorForm.js +1 -1
- package/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/lib/components/CardTransfer/CardTransfer.js +2 -9
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/lib/components/CardTransfer/CardTransferContent.d.ts +2 -2
- package/lib/components/Carousel/CarouselScrollButtons.js +1 -1
- package/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCard.js +1 -1
- package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCardContent.d.ts +2 -2
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.fixture.d.ts +3 -3
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.fixture.mobile.d.ts +3 -3
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -2
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
- package/lib/components/CarouselTariffsCard/renderCardInfo.js +1 -1
- package/lib/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTableRows.js +1 -1
- package/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/lib/components/ComparisonTable/HeaderCell.js +2 -2
- package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/lib/components/ComparisonTable/TableColumn.js +2 -2
- package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
- package/lib/components/ContactsBlock/ContactsBlock.js +2 -2
- package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/lib/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
- package/lib/components/Depository/DepositoryFilter.js +2 -1
- package/lib/components/Depository/DepositoryFilter.js.map +1 -1
- package/lib/components/ErrorBlock/ErrorBlock.js +2 -2
- package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/lib/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
- package/lib/components/Footer/Contacts.js +2 -2
- package/lib/components/Footer/Contacts.js.map +1 -1
- package/lib/components/Footer/Footer.js +2 -2
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +2 -2
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/FooterDataProps.d.ts +3 -3
- package/lib/components/Footer/SocialMedia.d.ts +4 -4
- package/lib/components/Footer/SocialMedia.js +1 -1
- package/lib/components/Footer/SocialMedia.js.map +1 -1
- package/lib/components/Header/HeaderTop.js +2 -2
- package/lib/components/Header/HeaderTop.js.map +1 -1
- package/lib/components/Header/InternetBankButton.js +2 -2
- package/lib/components/Header/InternetBankButton.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +3 -3
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/lib/components/LikeControl/LikeControl.js +1 -1
- package/lib/components/LikeControl/LikeControl.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/lib/components/OfficesAtmsMap/renderFiltrationForm.js +2 -2
- package/lib/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/lib/components/ProductBlock/renderBackwardButton.js +3 -3
- package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.js +1 -1
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlockContent.d.ts +3 -3
- package/lib/components/StepsBlock/renderStep.js +2 -2
- package/lib/components/StepsBlock/renderStep.js.map +1 -1
- package/lib/components/TariffsTable/EmbeddableCellData.d.ts +3 -3
- package/lib/components/TariffsTable/EmbeddableCellData.js +1 -1
- package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTableWrapper.js +1 -1
- package/lib/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
- package/lib/model/ButtonVersion.d.ts +2 -3
- package/lib/model/LinkButtonVersion.d.ts +6 -0
- package/lib/model/LinkButtonVersion.js +2 -0
- package/lib/model/LinkButtonVersion.js.map +1 -0
- package/lib/setup-fixture.js +4 -1
- package/lib/setup-fixture.js.map +1 -1
- package/lib/ui-kit/ARIAProps.d.ts +4 -0
- package/lib/ui-kit/ARIAProps.js +2 -0
- package/lib/ui-kit/ARIAProps.js.map +1 -0
- package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
- package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +1 -1
- package/lib/ui-kit/Button/Button.d.ts +12 -1
- package/lib/ui-kit/Button/Button.fixture.d.ts +2 -10
- package/lib/ui-kit/Button/Button.js +18 -13
- package/lib/ui-kit/Button/Button.js.map +1 -1
- package/lib/ui-kit/Button/useButton.d.ts +2 -0
- package/lib/ui-kit/Button/useButton.js +13 -0
- package/lib/ui-kit/Button/useButton.js.map +1 -0
- package/lib/ui-kit/ControlStateProps.d.ts +4 -0
- package/lib/ui-kit/ControlStateProps.js +2 -0
- package/lib/ui-kit/ControlStateProps.js.map +1 -0
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.js +1 -1
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableButton.js +2 -2
- package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableHeader.js +2 -2
- package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/lib/ui-kit/{Button → LinkButton}/ArrowButton.d.ts +4 -4
- package/{mobile/lib/ui-kit/Button → lib/ui-kit/LinkButton}/ArrowButton.js +2 -2
- package/lib/ui-kit/LinkButton/ArrowButton.js.map +1 -0
- package/lib/ui-kit/LinkButton/ButtonInner.d.ts +2 -0
- package/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -0
- package/lib/ui-kit/LinkButton/ButtonsSectionContent.d.ts +7 -0
- package/lib/ui-kit/LinkButton/ButtonsSectionContent.js.map +1 -0
- package/lib/ui-kit/LinkButton/GetButtonClassParams.d.ts +6 -0
- package/lib/ui-kit/LinkButton/GetButtonClassParams.js.map +1 -0
- package/lib/ui-kit/LinkButton/LikeButton.js.map +1 -0
- package/lib/ui-kit/LinkButton/LinkButton.d.ts +2 -0
- package/lib/ui-kit/LinkButton/LinkButton.fixture.d.ts +14 -0
- package/lib/ui-kit/LinkButton/LinkButton.js +17 -0
- package/lib/ui-kit/LinkButton/LinkButton.js.map +1 -0
- package/lib/ui-kit/{Button/ButtonContent.d.ts → LinkButton/LinkButtonContent.d.ts} +3 -3
- package/lib/ui-kit/LinkButton/LinkButtonContent.js +2 -0
- package/lib/ui-kit/LinkButton/LinkButtonContent.js.map +1 -0
- package/{mobile/bundle/ui-kit/Button/ButtonProps.d.ts → lib/ui-kit/LinkButton/LinkButtonProps.d.ts} +2 -2
- package/lib/ui-kit/LinkButton/LinkButtonProps.js +2 -0
- package/lib/ui-kit/LinkButton/LinkButtonProps.js.map +1 -0
- package/lib/ui-kit/LinkButton/buttonClassNameConstants.d.ts +5 -0
- package/lib/ui-kit/LinkButton/buttonClassNameConstants.js.map +1 -0
- package/lib/ui-kit/LinkButton/getDisabledButtonClasses.js.map +1 -0
- package/lib/ui-kit/LinkButton/getRegularButtonClasses.js.map +1 -0
- package/lib/ui-kit/LinkButton/renderArrows.js.map +1 -0
- package/lib/ui-kit/LinkButton/renderButtonsSection.d.ts +8 -0
- package/{mobile/lib/ui-kit/Button → lib/ui-kit/LinkButton}/renderButtonsSection.js +2 -2
- package/lib/ui-kit/LinkButton/renderButtonsSection.js.map +1 -0
- package/{dist/ui-kit/Button → lib/ui-kit/LinkButton}/useFormSubmit.d.ts +1 -1
- package/lib/ui-kit/LinkButton/useFormSubmit.js.map +1 -0
- package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +1 -1
- package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
- package/lib/ui-kit/TabsControl/ScrollableTabsControl.js +1 -1
- package/lib/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +162 -143
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
- package/mobile/bundle/components/Bonus/BonusContent.d.ts +1 -1
- package/mobile/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
- package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +1 -1
- package/mobile/bundle/components/CardTransfer/CardTransferContent.d.ts +2 -2
- package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +2 -2
- package/mobile/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -2
- package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
- package/mobile/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
- package/mobile/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
- package/mobile/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
- package/mobile/bundle/components/Footer/FooterDataProps.d.ts +3 -3
- package/mobile/bundle/components/Footer/SocialMedia.d.ts +4 -4
- package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
- package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
- package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +3 -3
- package/mobile/bundle/components/TariffsTable/EmbeddableCellData.d.ts +3 -3
- package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/mobile/bundle/model/ButtonVersion.d.ts +2 -3
- package/mobile/bundle/model/LinkButtonVersion.d.ts +6 -0
- package/mobile/bundle/ui-kit/ARIAProps.d.ts +4 -0
- package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +1 -1
- package/mobile/bundle/ui-kit/Button/Button.d.ts +12 -1
- package/mobile/bundle/ui-kit/Button/useButton.d.ts +2 -0
- package/mobile/bundle/ui-kit/ControlStateProps.d.ts +4 -0
- package/mobile/bundle/ui-kit/{Button → LinkButton}/ArrowButton.d.ts +4 -4
- package/mobile/bundle/ui-kit/LinkButton/ButtonInner.d.ts +2 -0
- package/mobile/bundle/ui-kit/LinkButton/ButtonsSectionContent.d.ts +7 -0
- package/mobile/bundle/ui-kit/LinkButton/GetButtonClassParams.d.ts +6 -0
- package/mobile/bundle/ui-kit/LinkButton/LinkButton.d.ts +2 -0
- package/mobile/bundle/ui-kit/{Button/ButtonContent.d.ts → LinkButton/LinkButtonContent.d.ts} +3 -3
- package/{bundle/ui-kit/Button/ButtonProps.d.ts → mobile/bundle/ui-kit/LinkButton/LinkButtonProps.d.ts} +2 -2
- package/mobile/bundle/ui-kit/LinkButton/buttonClassNameConstants.d.ts +5 -0
- package/mobile/bundle/ui-kit/LinkButton/renderButtonsSection.d.ts +9 -0
- package/mobile/bundle/ui-kit/{Button → LinkButton}/useFormSubmit.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
- package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +3 -3
- package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/Footnote.js +2 -2
- package/mobile/dist/components/ApplicationForm/Footnote.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderSubmitButton.js +2 -8
- package/mobile/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
- package/mobile/dist/components/Bonus/Bonus.js +1 -1
- package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
- package/mobile/dist/components/Bonus/BonusContent.d.ts +1 -1
- package/mobile/dist/components/ButtonsBlock/ButtonsBlock.js +1 -1
- package/mobile/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -1
- package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/CalculatorContent.d.ts +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js +2 -9
- package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/dist/components/CardTransfer/CardTransferContent.d.ts +2 -2
- package/mobile/dist/components/Carousel/CarouselScrollButtons.js +1 -1
- package/mobile/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +2 -2
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -2
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
- package/mobile/dist/components/CarouselTariffsCard/renderCardInfo.js +1 -1
- package/mobile/dist/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/TableColumn.js +2 -2
- package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js +2 -2
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
- package/mobile/dist/components/Depository/DepositoryFilter.js +2 -1
- package/mobile/dist/components/Depository/DepositoryFilter.js.map +1 -1
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js +2 -2
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/dist/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
- package/mobile/dist/components/Footer/Contacts.js +2 -2
- package/mobile/dist/components/Footer/Contacts.js.map +1 -1
- package/mobile/dist/components/Footer/Footer.js +2 -2
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/FooterDataProps.d.ts +3 -3
- package/mobile/dist/components/Footer/SocialMedia.d.ts +4 -4
- package/mobile/dist/components/Footer/SocialMedia.js +1 -1
- package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/dist/components/Header/HeaderTop.js +2 -2
- package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
- package/mobile/dist/components/Header/InternetBankButton.js +2 -2
- package/mobile/dist/components/Header/InternetBankButton.js.map +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +3 -3
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/dist/components/LikeControl/LikeControl.js +1 -1
- package/mobile/dist/components/LikeControl/LikeControl.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/mobile/dist/components/OfficesAtmsMap/renderFiltrationForm.js +2 -2
- package/mobile/dist/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js +3 -3
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +3 -3
- package/mobile/dist/components/StepsBlock/renderStep.js +2 -2
- package/mobile/dist/components/StepsBlock/renderStep.js.map +1 -1
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.d.ts +3 -3
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +1 -1
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableWrapper.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
- package/mobile/dist/model/ButtonVersion.d.ts +2 -3
- package/mobile/dist/model/LinkButtonVersion.d.ts +6 -0
- package/mobile/dist/model/LinkButtonVersion.js +2 -0
- package/mobile/dist/model/LinkButtonVersion.js.map +1 -0
- package/mobile/dist/setup-fixture.js +4 -1
- package/mobile/dist/setup-fixture.js.map +1 -1
- package/mobile/dist/ui-kit/ARIAProps.d.ts +4 -0
- package/mobile/dist/ui-kit/{Button/ButtonProps.js → ARIAProps.js} +1 -1
- package/mobile/dist/ui-kit/ARIAProps.js.map +1 -0
- package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +1 -1
- package/mobile/dist/ui-kit/Button/Button.d.ts +12 -1
- package/mobile/dist/ui-kit/Button/Button.js +18 -13
- package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
- package/mobile/dist/ui-kit/Button/useButton.d.ts +2 -0
- package/mobile/dist/ui-kit/Button/useButton.js +16 -0
- package/mobile/dist/ui-kit/Button/useButton.js.map +1 -0
- package/mobile/dist/ui-kit/ControlStateProps.d.ts +4 -0
- package/mobile/dist/ui-kit/ControlStateProps.js +2 -0
- package/mobile/dist/ui-kit/ControlStateProps.js.map +1 -0
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js +2 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +2 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/mobile/dist/ui-kit/LinkButton/ArrowButton.d.ts +4 -0
- package/mobile/dist/ui-kit/{Button → LinkButton}/ArrowButton.js +2 -2
- package/mobile/dist/ui-kit/LinkButton/ArrowButton.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/ButtonInner.d.ts +2 -0
- package/mobile/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/ButtonsSectionContent.d.ts +7 -0
- package/mobile/dist/ui-kit/LinkButton/ButtonsSectionContent.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/GetButtonClassParams.d.ts +6 -0
- package/mobile/dist/ui-kit/LinkButton/GetButtonClassParams.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/LikeButton.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/LinkButton.d.ts +2 -0
- package/mobile/dist/ui-kit/LinkButton/LinkButton.js +19 -0
- package/mobile/dist/ui-kit/LinkButton/LinkButton.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/LinkButtonContent.d.ts +20 -0
- package/mobile/dist/ui-kit/LinkButton/LinkButtonContent.js +2 -0
- package/mobile/dist/ui-kit/LinkButton/LinkButtonContent.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/LinkButtonProps.d.ts +15 -0
- package/mobile/dist/ui-kit/{Button/ButtonContent.js → LinkButton/LinkButtonProps.js} +1 -1
- package/mobile/dist/ui-kit/LinkButton/LinkButtonProps.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/buttonClassNameConstants.d.ts +5 -0
- package/mobile/dist/ui-kit/LinkButton/buttonClassNameConstants.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/getDisabledButtonClasses.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/getRegularButtonClasses.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/renderArrows.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/renderButtonsSection.d.ts +9 -0
- package/{dist/ui-kit/Button → mobile/dist/ui-kit/LinkButton}/renderButtonsSection.js +2 -2
- package/mobile/dist/ui-kit/LinkButton/renderButtonsSection.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/useFormSubmit.d.ts +3 -0
- package/mobile/dist/ui-kit/LinkButton/useFormSubmit.js.map +1 -0
- package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +1 -1
- package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
- package/mobile/dist/ui-kit/TabsControl/ScrollableTabsControl.js +1 -1
- package/mobile/dist/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
- package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +3 -3
- package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/Footnote.js +2 -2
- package/mobile/lib/components/ApplicationForm/Footnote.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderSubmitButton.js +2 -8
- package/mobile/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
- package/mobile/lib/components/Bonus/Bonus.js +1 -1
- package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
- package/mobile/lib/components/Bonus/BonusContent.d.ts +1 -1
- package/mobile/lib/components/ButtonsBlock/ButtonsBlock.js +1 -1
- package/mobile/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -1
- package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/CalculatorContent.d.ts +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js +2 -9
- package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/lib/components/CardTransfer/CardTransferContent.d.ts +2 -2
- package/mobile/lib/components/Carousel/CarouselScrollButtons.js +1 -1
- package/mobile/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +2 -2
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -2
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
- package/mobile/lib/components/CarouselTariffsCard/renderCardInfo.js +1 -1
- package/mobile/lib/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/TableColumn.js +2 -2
- package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js +2 -2
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
- package/mobile/lib/components/Depository/DepositoryFilter.js +2 -1
- package/mobile/lib/components/Depository/DepositoryFilter.js.map +1 -1
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js +2 -2
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/lib/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
- package/mobile/lib/components/Footer/Contacts.js +2 -2
- package/mobile/lib/components/Footer/Contacts.js.map +1 -1
- package/mobile/lib/components/Footer/Footer.js +2 -2
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/FooterDataProps.d.ts +3 -3
- package/mobile/lib/components/Footer/SocialMedia.d.ts +4 -4
- package/mobile/lib/components/Footer/SocialMedia.js +1 -1
- package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/lib/components/Header/HeaderTop.js +2 -2
- package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
- package/mobile/lib/components/Header/InternetBankButton.js +2 -2
- package/mobile/lib/components/Header/InternetBankButton.js.map +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +3 -3
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/lib/components/LikeControl/LikeControl.js +1 -1
- package/mobile/lib/components/LikeControl/LikeControl.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/mobile/lib/components/OfficesAtmsMap/renderFiltrationForm.js +2 -2
- package/mobile/lib/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js +3 -3
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +3 -3
- package/mobile/lib/components/StepsBlock/renderStep.js +2 -2
- package/mobile/lib/components/StepsBlock/renderStep.js.map +1 -1
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.d.ts +3 -3
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +1 -1
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableWrapper.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
- package/mobile/lib/model/ButtonVersion.d.ts +2 -3
- package/mobile/lib/model/LinkButtonVersion.d.ts +6 -0
- package/mobile/lib/model/LinkButtonVersion.js +2 -0
- package/mobile/lib/model/LinkButtonVersion.js.map +1 -0
- package/mobile/lib/setup-fixture.js +4 -1
- package/mobile/lib/setup-fixture.js.map +1 -1
- package/mobile/lib/ui-kit/ARIAProps.d.ts +4 -0
- package/mobile/lib/ui-kit/ARIAProps.js +2 -0
- package/mobile/lib/ui-kit/ARIAProps.js.map +1 -0
- package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
- package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +1 -1
- package/mobile/lib/ui-kit/Button/Button.d.ts +12 -1
- package/mobile/lib/ui-kit/Button/Button.js +18 -13
- package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
- package/mobile/lib/ui-kit/Button/useButton.d.ts +2 -0
- package/mobile/lib/ui-kit/Button/useButton.js +13 -0
- package/mobile/lib/ui-kit/Button/useButton.js.map +1 -0
- package/mobile/lib/ui-kit/ControlStateProps.d.ts +4 -0
- package/mobile/lib/ui-kit/ControlStateProps.js +2 -0
- package/mobile/lib/ui-kit/ControlStateProps.js.map +1 -0
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js +2 -2
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +2 -2
- package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/mobile/lib/ui-kit/LinkButton/ArrowButton.d.ts +4 -0
- package/{lib/ui-kit/Button → mobile/lib/ui-kit/LinkButton}/ArrowButton.js +2 -2
- package/mobile/lib/ui-kit/LinkButton/ArrowButton.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/ButtonInner.d.ts +2 -0
- package/mobile/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/ButtonsSectionContent.d.ts +7 -0
- package/mobile/lib/ui-kit/LinkButton/ButtonsSectionContent.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/GetButtonClassParams.d.ts +6 -0
- package/mobile/lib/ui-kit/LinkButton/GetButtonClassParams.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/LikeButton.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/LinkButton.d.ts +2 -0
- package/mobile/lib/ui-kit/LinkButton/LinkButton.js +17 -0
- package/mobile/lib/ui-kit/LinkButton/LinkButton.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/LinkButtonContent.d.ts +20 -0
- package/mobile/lib/ui-kit/LinkButton/LinkButtonContent.js +2 -0
- package/mobile/lib/ui-kit/LinkButton/LinkButtonContent.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/LinkButtonProps.d.ts +15 -0
- package/mobile/lib/ui-kit/LinkButton/LinkButtonProps.js +2 -0
- package/mobile/lib/ui-kit/LinkButton/LinkButtonProps.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/buttonClassNameConstants.d.ts +5 -0
- package/mobile/lib/ui-kit/LinkButton/buttonClassNameConstants.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/getDisabledButtonClasses.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/getRegularButtonClasses.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/renderArrows.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/renderButtonsSection.d.ts +9 -0
- package/{lib/ui-kit/Button → mobile/lib/ui-kit/LinkButton}/renderButtonsSection.js +2 -2
- package/mobile/lib/ui-kit/LinkButton/renderButtonsSection.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/useFormSubmit.d.ts +3 -0
- package/mobile/lib/ui-kit/LinkButton/useFormSubmit.js.map +1 -0
- package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +1 -1
- package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
- package/mobile/lib/ui-kit/TabsControl/ScrollableTabsControl.js +1 -1
- package/mobile/lib/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +2 -2
- package/mobile/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +4 -4
- package/mobile/src/components/ApplicationForm/Footnote.tsx +3 -3
- package/mobile/src/components/ApplicationForm/renderSubmitButton.tsx +6 -13
- package/mobile/src/components/Bonus/Bonus.tsx +1 -1
- package/mobile/src/components/Bonus/BonusContent.ts +1 -1
- package/mobile/src/components/ButtonsBlock/ButtonsBlock.tsx +1 -1
- package/mobile/src/components/ButtonsBlock/ButtonsBlockContent.ts +2 -2
- package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
- package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +1 -1
- package/mobile/src/components/Calculator/CalculatorContent.ts +1 -1
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
- package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +1 -1
- package/mobile/src/components/Calculator/RefinancingCalculatorForm.tsx +1 -1
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +3 -17
- package/mobile/src/components/CardTransfer/CardTransferContent.ts +2 -2
- package/mobile/src/components/Carousel/CarouselScrollButtons.tsx +1 -1
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +1 -1
- package/mobile/src/components/CarouselCard/CarouselCardContent.ts +2 -2
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +2 -2
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -2
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +3 -3
- package/mobile/src/components/CarouselTariffsCard/renderCardInfo.tsx +1 -1
- package/mobile/src/components/ComparisonTable/ComparisonTableRows.tsx +1 -1
- package/mobile/src/components/ComparisonTable/TableColumn.tsx +5 -5
- package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +2 -2
- package/mobile/src/components/ContactsBlock/ContactsBlockContent.ts +2 -2
- package/mobile/src/components/Depository/DepositoryFilter.tsx +4 -6
- package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +4 -2
- package/mobile/src/components/ErrorBlock/ErrorBlockContent.ts +2 -2
- package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +5 -3
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +2 -2
- package/mobile/src/components/Footer/Contacts.tsx +2 -2
- package/mobile/src/components/Footer/Footer.tsx +2 -2
- package/mobile/src/components/Footer/FooterDataProps.ts +3 -3
- package/mobile/src/components/Footer/SocialMedia.tsx +6 -6
- package/mobile/src/components/Header/HeaderTop.tsx +3 -3
- package/mobile/src/components/Header/InternetBankButton.tsx +3 -3
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +2 -2
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +4 -4
- package/mobile/src/components/LikeControl/LikeControl.tsx +1 -1
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +1 -1
- package/mobile/src/components/OfficesAtmsMap/renderFiltrationForm.tsx +2 -2
- package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +5 -5
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +1 -1
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +2 -2
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +7 -2
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +1 -1
- package/mobile/src/components/StepsBlock/StepsBlockContent.ts +3 -3
- package/mobile/src/components/StepsBlock/renderStep.tsx +5 -5
- package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +4 -4
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +1 -1
- package/mobile/src/components/TariffsTable/TariffsTableWrapper.tsx +1 -1
- package/mobile/src/model/ButtonVersion.ts +2 -10
- package/mobile/src/model/LinkButtonVersion.ts +13 -0
- package/mobile/src/setup-fixture.ts +6 -1
- package/mobile/src/ui-kit/ARIAProps.ts +4 -0
- package/mobile/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +3 -1
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +1 -1
- package/mobile/src/ui-kit/Button/Button.tsx +70 -44
- package/mobile/src/ui-kit/Button/useButton.ts +16 -0
- package/mobile/src/ui-kit/ControlStateProps.ts +4 -0
- package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +2 -2
- package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +2 -2
- package/mobile/src/ui-kit/{Button → LinkButton}/ArrowButton.tsx +7 -7
- package/{src/ui-kit/Button → mobile/src/ui-kit/LinkButton}/ButtonInner.tsx +5 -5
- package/mobile/src/ui-kit/LinkButton/ButtonsSectionContent.ts +8 -0
- package/mobile/src/ui-kit/LinkButton/GetButtonClassParams.ts +7 -0
- package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +53 -0
- package/mobile/src/ui-kit/{Button/ButtonContent.ts → LinkButton/LinkButtonContent.ts} +3 -3
- package/mobile/src/ui-kit/{Button/ButtonProps.ts → LinkButton/LinkButtonProps.ts} +2 -2
- package/mobile/src/ui-kit/{Button → LinkButton}/buttonClassNameConstants.ts +4 -4
- package/mobile/src/ui-kit/{Button → LinkButton}/renderButtonsSection.tsx +5 -5
- package/mobile/src/ui-kit/{Button → LinkButton}/useFormSubmit.ts +1 -1
- package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +1 -1
- package/mobile/src/ui-kit/TabsControl/ScrollableTabsControl.tsx +1 -1
- package/package.json +1 -1
- package/src/components/ApplicationForm/ApplicationFormContent.ts +2 -2
- package/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +4 -4
- package/src/components/ApplicationForm/Footnote.tsx +3 -3
- package/src/components/ApplicationForm/renderSubmitButton.tsx +6 -13
- package/src/components/Bonus/Bonus.fixture.mobile.tsx +2 -2
- package/src/components/Bonus/Bonus.fixture.tsx +2 -2
- package/src/components/Bonus/Bonus.tsx +1 -1
- package/src/components/Bonus/BonusContent.ts +1 -1
- package/src/components/ButtonsBlock/ButtonsBlock.fixture.mobile.tsx +2 -2
- package/src/components/ButtonsBlock/ButtonsBlock.fixture.tsx +2 -2
- package/src/components/ButtonsBlock/ButtonsBlock.tsx +1 -1
- package/src/components/ButtonsBlock/ButtonsBlockContent.ts +2 -2
- package/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
- package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +1 -1
- package/src/components/Calculator/Calculator.fixture.mobile.tsx +3 -3
- package/src/components/Calculator/Calculator.fixture.tsx +2 -2
- package/src/components/Calculator/Calculator.tsx +1 -1
- package/src/components/Calculator/CalculatorContent.ts +1 -1
- package/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
- package/src/components/Calculator/DepositCalculatorForm.tsx +1 -1
- package/src/components/Calculator/RefinancingCalculatorForm.tsx +1 -1
- package/src/components/CardTransfer/CardTransfer.fixture.mobile.tsx +2 -2
- package/src/components/CardTransfer/CardTransfer.fixture.tsx +2 -2
- package/src/components/CardTransfer/CardTransfer.tsx +3 -17
- package/src/components/CardTransfer/CardTransferContent.ts +2 -2
- package/src/components/Carousel/CarouselScrollButtons.tsx +1 -1
- package/src/components/CarouselCard/CarouselCard.fixture.mobile.tsx +2 -2
- package/src/components/CarouselCard/CarouselCard.fixture.tsx +2 -2
- package/src/components/CarouselCard/CarouselCard.tsx +1 -1
- package/src/components/CarouselCard/CarouselCardContent.ts +2 -2
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.fixture.mobile.tsx +2 -2
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.fixture.tsx +2 -2
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
- package/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +2 -2
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.tsx +3 -3
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +3 -3
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.mobile.tsx +5 -5
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.tsx +6 -5
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -2
- package/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +3 -3
- package/src/components/CarouselTariffsCard/renderCardInfo.tsx +1 -1
- package/src/components/ComparisonTable/ComparisonTableRows.tsx +1 -1
- package/src/components/ComparisonTable/HeaderCell.tsx +3 -3
- package/src/components/ComparisonTable/TableColumn.tsx +5 -5
- package/src/components/ContactsBlock/ContactsBlock.fixture.tsx +2 -2
- package/src/components/ContactsBlock/ContactsBlock.tsx +2 -2
- package/src/components/ContactsBlock/ContactsBlockContent.ts +2 -2
- package/src/components/Depository/DepositoryFilter.tsx +4 -6
- package/src/components/ErrorBlock/ErrorBlock.fixture.mobile.tsx +2 -2
- package/src/components/ErrorBlock/ErrorBlock.fixture.tsx +2 -2
- package/src/components/ErrorBlock/ErrorBlock.tsx +4 -2
- package/src/components/ErrorBlock/ErrorBlockContent.ts +2 -2
- package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +5 -3
- package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.mobile.tsx +2 -2
- package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +2 -2
- package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +2 -2
- package/src/components/Footer/Contacts.tsx +2 -2
- package/src/components/Footer/Footer.mobile.tsx +2 -2
- package/src/components/Footer/Footer.tsx +3 -3
- package/src/components/Footer/FooterDataProps.ts +3 -3
- package/src/components/Footer/SocialMedia.tsx +6 -6
- package/src/components/Header/HeaderTop.tsx +3 -3
- package/src/components/Header/InternetBankButton.tsx +3 -3
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +2 -2
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +2 -2
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +4 -4
- package/src/components/LikeControl/LikeControl.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +3 -3
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +3 -3
- package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTileContent.ts +1 -1
- package/src/components/OfficesAtmsMap/renderFiltrationForm.tsx +2 -2
- package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +2 -2
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +4 -3
- package/src/components/ProductBlock/renderBackwardButton.tsx +5 -5
- package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +3 -3
- package/src/components/ProductGallery/ProductGallery.fixture.tsx +3 -3
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.mobile.tsx +2 -2
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +2 -2
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +1 -1
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +2 -2
- package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +7 -2
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +1 -1
- package/src/components/StepsBlock/StepsBlock.tsx +1 -1
- package/src/components/StepsBlock/StepsBlockContent.ts +3 -3
- package/src/components/StepsBlock/renderStep.tsx +5 -5
- package/src/components/TariffsTable/EmbeddableCellData.tsx +4 -4
- package/src/components/TariffsTable/TariffsTableContent.ts +1 -1
- package/src/components/TariffsTable/TariffsTableWrapper.tsx +1 -1
- package/src/model/ButtonVersion.ts +2 -10
- package/src/model/LinkButtonVersion.ts +13 -0
- package/src/setup-fixture.ts +6 -1
- package/src/ui-kit/ARIAProps.ts +4 -0
- package/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +3 -1
- package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
- package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +1 -1
- package/src/ui-kit/Button/Button.fixture.tsx +53 -190
- package/src/ui-kit/Button/Button.tsx +70 -44
- package/src/ui-kit/Button/useButton.ts +16 -0
- package/src/ui-kit/ControlStateProps.ts +4 -0
- package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +1 -1
- package/src/ui-kit/InnerTable/InnerTableButton.tsx +2 -2
- package/src/ui-kit/InnerTable/InnerTableHeader.tsx +2 -2
- package/src/ui-kit/{Button → LinkButton}/ArrowButton.tsx +7 -7
- package/{mobile/src/ui-kit/Button → src/ui-kit/LinkButton}/ButtonInner.tsx +5 -5
- package/src/ui-kit/LinkButton/ButtonsSectionContent.ts +8 -0
- package/src/ui-kit/LinkButton/GetButtonClassParams.ts +7 -0
- package/src/ui-kit/LinkButton/LinkButton.fixture.tsx +216 -0
- package/src/ui-kit/LinkButton/LinkButton.tsx +53 -0
- package/src/ui-kit/{Button/ButtonContent.ts → LinkButton/LinkButtonContent.ts} +3 -3
- package/src/ui-kit/{Button/ButtonProps.ts → LinkButton/LinkButtonProps.ts} +2 -2
- package/src/ui-kit/{Button → LinkButton}/buttonClassNameConstants.ts +4 -4
- package/src/ui-kit/{Button → LinkButton}/renderButtonsSection.tsx +5 -5
- package/src/ui-kit/{Button → LinkButton}/useFormSubmit.ts +1 -1
- package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +1 -1
- package/src/ui-kit/TabsControl/ScrollableTabsControl.tsx +1 -1
- package/tailwind.config.cjs +2 -1
- package/bundle/ui-kit/Button/ButtonInner.d.ts +0 -2
- package/bundle/ui-kit/Button/ButtonsSectionContent.d.ts +0 -7
- package/bundle/ui-kit/Button/GetButtonClassParams.d.ts +0 -6
- package/bundle/ui-kit/Button/buttonClassNameConstants.d.ts +0 -5
- package/bundle/ui-kit/Button/renderButtonsSection.d.ts +0 -9
- package/dist/ui-kit/Button/ArrowButton.js.map +0 -1
- package/dist/ui-kit/Button/ButtonContent.js.map +0 -1
- package/dist/ui-kit/Button/ButtonInner.d.ts +0 -2
- package/dist/ui-kit/Button/ButtonInner.js.map +0 -1
- package/dist/ui-kit/Button/ButtonProps.js.map +0 -1
- package/dist/ui-kit/Button/ButtonsSectionContent.d.ts +0 -7
- package/dist/ui-kit/Button/ButtonsSectionContent.js.map +0 -1
- package/dist/ui-kit/Button/GetButtonClassParams.d.ts +0 -6
- package/dist/ui-kit/Button/GetButtonClassParams.js.map +0 -1
- package/dist/ui-kit/Button/LikeButton.js.map +0 -1
- package/dist/ui-kit/Button/buttonClassNameConstants.d.ts +0 -5
- package/dist/ui-kit/Button/buttonClassNameConstants.js.map +0 -1
- package/dist/ui-kit/Button/getDisabledButtonClasses.js.map +0 -1
- package/dist/ui-kit/Button/getRegularButtonClasses.js.map +0 -1
- package/dist/ui-kit/Button/renderArrows.js.map +0 -1
- package/dist/ui-kit/Button/renderButtonsSection.d.ts +0 -9
- package/dist/ui-kit/Button/renderButtonsSection.js.map +0 -1
- package/dist/ui-kit/Button/useFormSubmit.js.map +0 -1
- package/lib/ui-kit/Button/ArrowButton.js.map +0 -1
- package/lib/ui-kit/Button/ButtonContent.js +0 -2
- package/lib/ui-kit/Button/ButtonContent.js.map +0 -1
- package/lib/ui-kit/Button/ButtonInner.d.ts +0 -2
- package/lib/ui-kit/Button/ButtonInner.js.map +0 -1
- package/lib/ui-kit/Button/ButtonProps.js +0 -2
- package/lib/ui-kit/Button/ButtonProps.js.map +0 -1
- package/lib/ui-kit/Button/ButtonsSectionContent.d.ts +0 -7
- package/lib/ui-kit/Button/ButtonsSectionContent.js.map +0 -1
- package/lib/ui-kit/Button/GetButtonClassParams.d.ts +0 -6
- package/lib/ui-kit/Button/GetButtonClassParams.js.map +0 -1
- package/lib/ui-kit/Button/LikeButton.js.map +0 -1
- package/lib/ui-kit/Button/buttonClassNameConstants.d.ts +0 -5
- package/lib/ui-kit/Button/buttonClassNameConstants.js.map +0 -1
- package/lib/ui-kit/Button/getDisabledButtonClasses.js.map +0 -1
- package/lib/ui-kit/Button/getRegularButtonClasses.js.map +0 -1
- package/lib/ui-kit/Button/renderArrows.js.map +0 -1
- package/lib/ui-kit/Button/renderButtonsSection.d.ts +0 -8
- package/lib/ui-kit/Button/renderButtonsSection.js.map +0 -1
- package/lib/ui-kit/Button/useFormSubmit.js.map +0 -1
- package/mobile/bundle/ui-kit/Button/ButtonInner.d.ts +0 -2
- package/mobile/bundle/ui-kit/Button/ButtonsSectionContent.d.ts +0 -7
- package/mobile/bundle/ui-kit/Button/GetButtonClassParams.d.ts +0 -6
- package/mobile/bundle/ui-kit/Button/buttonClassNameConstants.d.ts +0 -5
- package/mobile/bundle/ui-kit/Button/renderButtonsSection.d.ts +0 -9
- package/mobile/dist/ui-kit/Button/ArrowButton.d.ts +0 -4
- package/mobile/dist/ui-kit/Button/ArrowButton.js.map +0 -1
- package/mobile/dist/ui-kit/Button/ButtonContent.d.ts +0 -20
- package/mobile/dist/ui-kit/Button/ButtonContent.js.map +0 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.d.ts +0 -2
- package/mobile/dist/ui-kit/Button/ButtonInner.js.map +0 -1
- package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +0 -15
- package/mobile/dist/ui-kit/Button/ButtonProps.js.map +0 -1
- package/mobile/dist/ui-kit/Button/ButtonsSectionContent.d.ts +0 -7
- package/mobile/dist/ui-kit/Button/ButtonsSectionContent.js.map +0 -1
- package/mobile/dist/ui-kit/Button/GetButtonClassParams.d.ts +0 -6
- package/mobile/dist/ui-kit/Button/GetButtonClassParams.js.map +0 -1
- package/mobile/dist/ui-kit/Button/LikeButton.js.map +0 -1
- package/mobile/dist/ui-kit/Button/buttonClassNameConstants.d.ts +0 -5
- package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +0 -1
- package/mobile/dist/ui-kit/Button/getDisabledButtonClasses.js.map +0 -1
- package/mobile/dist/ui-kit/Button/getRegularButtonClasses.js.map +0 -1
- package/mobile/dist/ui-kit/Button/renderArrows.js.map +0 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.d.ts +0 -9
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +0 -1
- package/mobile/dist/ui-kit/Button/useFormSubmit.d.ts +0 -3
- package/mobile/dist/ui-kit/Button/useFormSubmit.js.map +0 -1
- package/mobile/lib/ui-kit/Button/ArrowButton.d.ts +0 -4
- package/mobile/lib/ui-kit/Button/ArrowButton.js.map +0 -1
- package/mobile/lib/ui-kit/Button/ButtonContent.d.ts +0 -20
- package/mobile/lib/ui-kit/Button/ButtonContent.js +0 -2
- package/mobile/lib/ui-kit/Button/ButtonContent.js.map +0 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.d.ts +0 -2
- package/mobile/lib/ui-kit/Button/ButtonInner.js.map +0 -1
- package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +0 -15
- package/mobile/lib/ui-kit/Button/ButtonProps.js +0 -2
- package/mobile/lib/ui-kit/Button/ButtonProps.js.map +0 -1
- package/mobile/lib/ui-kit/Button/ButtonsSectionContent.d.ts +0 -7
- package/mobile/lib/ui-kit/Button/ButtonsSectionContent.js.map +0 -1
- package/mobile/lib/ui-kit/Button/GetButtonClassParams.d.ts +0 -6
- package/mobile/lib/ui-kit/Button/GetButtonClassParams.js.map +0 -1
- package/mobile/lib/ui-kit/Button/LikeButton.js.map +0 -1
- package/mobile/lib/ui-kit/Button/buttonClassNameConstants.d.ts +0 -5
- package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +0 -1
- package/mobile/lib/ui-kit/Button/getDisabledButtonClasses.js.map +0 -1
- package/mobile/lib/ui-kit/Button/getRegularButtonClasses.js.map +0 -1
- package/mobile/lib/ui-kit/Button/renderArrows.js.map +0 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.d.ts +0 -9
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +0 -1
- package/mobile/lib/ui-kit/Button/useFormSubmit.d.ts +0 -3
- package/mobile/lib/ui-kit/Button/useFormSubmit.js.map +0 -1
- package/mobile/src/ui-kit/Button/ButtonsSectionContent.ts +0 -8
- package/mobile/src/ui-kit/Button/GetButtonClassParams.ts +0 -7
- package/src/ui-kit/Button/ButtonsSectionContent.ts +0 -8
- package/src/ui-kit/Button/GetButtonClassParams.ts +0 -7
- /package/bundle/ui-kit/{Button → LinkButton}/LikeButton.d.ts +0 -0
- /package/bundle/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.d.ts +0 -0
- /package/bundle/ui-kit/{Button → LinkButton}/getRegularButtonClasses.d.ts +0 -0
- /package/bundle/ui-kit/{Button → LinkButton}/renderArrows.d.ts +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/ButtonInner.js +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/ButtonsSectionContent.js +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/GetButtonClassParams.js +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/LikeButton.d.ts +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/LikeButton.js +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/buttonClassNameConstants.js +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.d.ts +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.js +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/getRegularButtonClasses.d.ts +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/getRegularButtonClasses.js +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/renderArrows.d.ts +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/renderArrows.js +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/useFormSubmit.js +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/ButtonInner.js +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/ButtonsSectionContent.js +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/GetButtonClassParams.js +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/LikeButton.d.ts +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/LikeButton.fixture.d.ts +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/LikeButton.js +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/buttonClassNameConstants.js +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.d.ts +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.js +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/getRegularButtonClasses.d.ts +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/getRegularButtonClasses.js +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/renderArrows.d.ts +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/renderArrows.js +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/useFormSubmit.js +0 -0
- /package/mobile/bundle/ui-kit/{Button → LinkButton}/LikeButton.d.ts +0 -0
- /package/mobile/bundle/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.d.ts +0 -0
- /package/mobile/bundle/ui-kit/{Button → LinkButton}/getRegularButtonClasses.d.ts +0 -0
- /package/mobile/bundle/ui-kit/{Button → LinkButton}/renderArrows.d.ts +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/ButtonInner.js +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/ButtonsSectionContent.js +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/GetButtonClassParams.js +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/LikeButton.d.ts +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/LikeButton.js +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/buttonClassNameConstants.js +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.d.ts +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.js +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/getRegularButtonClasses.d.ts +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/getRegularButtonClasses.js +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/renderArrows.d.ts +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/renderArrows.js +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/useFormSubmit.js +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/ButtonInner.js +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/ButtonsSectionContent.js +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/GetButtonClassParams.js +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/LikeButton.d.ts +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/LikeButton.js +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/buttonClassNameConstants.js +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.d.ts +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.js +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/getRegularButtonClasses.d.ts +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/getRegularButtonClasses.js +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/renderArrows.d.ts +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/renderArrows.js +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/useFormSubmit.js +0 -0
- /package/mobile/src/ui-kit/{Button → LinkButton}/LikeButton.tsx +0 -0
- /package/mobile/src/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.ts +0 -0
- /package/mobile/src/ui-kit/{Button → LinkButton}/getRegularButtonClasses.ts +0 -0
- /package/mobile/src/ui-kit/{Button → LinkButton}/renderArrows.tsx +0 -0
- /package/src/ui-kit/{Button → LinkButton}/LikeButton.fixture.tsx +0 -0
- /package/src/ui-kit/{Button → LinkButton}/LikeButton.tsx +0 -0
- /package/src/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.ts +0 -0
- /package/src/ui-kit/{Button → LinkButton}/getRegularButtonClasses.ts +0 -0
- /package/src/ui-kit/{Button → LinkButton}/renderArrows.tsx +0 -0
package/bundle/bundle.umd.js
CHANGED
|
@@ -401,11 +401,27 @@
|
|
|
401
401
|
return (jsxs(BlockWrapper, { className: style(isEmbedded ? '@container-normal' : '', className), defaultPadding: isEmbedded ? '' : 'p-6xl', version: version, isTheme: isTheme, ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-pre-wrap', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { size: versionStyle.descriptionSize, font: versionStyle.descriptionWeight, align: align, ...descriptionStyle, children: description })) : null] }));
|
|
402
402
|
});
|
|
403
403
|
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
404
|
+
function useRouter() {
|
|
405
|
+
return useRouter._impl();
|
|
406
|
+
}
|
|
407
|
+
useRouter._impl = () => ({
|
|
408
|
+
isReady: false,
|
|
409
|
+
href: globalThis.location?.href || '/',
|
|
410
|
+
pathname: globalThis.location?.pathname || '/',
|
|
411
|
+
query: {},
|
|
412
|
+
push: () => {
|
|
413
|
+
// Do nothing
|
|
414
|
+
},
|
|
415
|
+
replace: () => {
|
|
416
|
+
// Do nothing
|
|
417
|
+
},
|
|
418
|
+
back: () => {
|
|
419
|
+
// Do nothing
|
|
420
|
+
},
|
|
408
421
|
});
|
|
422
|
+
useRouter.setup = (impl) => {
|
|
423
|
+
useRouter._impl = impl;
|
|
424
|
+
};
|
|
409
425
|
|
|
410
426
|
const dirname = (path) => path?.split('/').slice(0, -1).join('/');
|
|
411
427
|
|
|
@@ -433,63 +449,58 @@
|
|
|
433
449
|
};
|
|
434
450
|
const hasPrefix = (href, prefix) => prefix && href && href.startsWith(prefix);
|
|
435
451
|
|
|
436
|
-
|
|
437
|
-
const handlerDecorator = (handler, targetContent) => {
|
|
438
|
-
return handlerDecorator._impl(handler, targetContent);
|
|
439
|
-
};
|
|
440
|
-
handlerDecorator._impl = (handler) => handler;
|
|
441
|
-
handlerDecorator.setup = (impl) => {
|
|
442
|
-
handlerDecorator._impl = impl;
|
|
443
|
-
};
|
|
452
|
+
const isOnlyDigits = (str) => str && !/\D/.test(str);
|
|
444
453
|
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
},
|
|
459
|
-
back: () => {
|
|
460
|
-
// Do nothing
|
|
461
|
-
},
|
|
454
|
+
const svgUseStyleMap = {
|
|
455
|
+
normal: '',
|
|
456
|
+
color: 'text-primary-main',
|
|
457
|
+
black: 'text-black',
|
|
458
|
+
white: 'text-black',
|
|
459
|
+
};
|
|
460
|
+
const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${name}`, title = alt, iconVersion = 'color', width, height, }) => {
|
|
461
|
+
const router = useRouter();
|
|
462
|
+
const href = adjustHref(router)(joinPath(projectSettings.CDN, '/icons', `${name}.svg`));
|
|
463
|
+
if (iconVersion !== 'normal') {
|
|
464
|
+
return (jsx(Background, { className: className, children: jsxs("svg", { className: style(getSvgSize(width), svgUseStyleMap[iconVersion], iconVersion === 'white' ? 'invert' : '', imageClassName), width: width, height: height, "aria-hidden": "true", children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }) }));
|
|
465
|
+
}
|
|
466
|
+
return (jsx("img", { className: className, src: href, alt: alt, title: title, "aria-hidden": "true", width: width, height: height, style: getInlineStyle(className, height) }));
|
|
462
467
|
});
|
|
463
|
-
|
|
464
|
-
|
|
468
|
+
const getInlineStyle = (className, height) => {
|
|
469
|
+
if (className?.includes('h-')) {
|
|
470
|
+
return {};
|
|
471
|
+
}
|
|
472
|
+
return { height: isOnlyDigits(height) ? `${height}px` : height, width: 'auto' };
|
|
465
473
|
};
|
|
474
|
+
const getSvgSize = (width) => (width ? '' : 'w-full h-full');
|
|
475
|
+
const Background = JSX(({ className, children }) => className ? jsx("div", { className: className, children: children }) : children);
|
|
466
476
|
|
|
467
|
-
|
|
468
|
-
|
|
477
|
+
const sourcesComparator = (a, b) => a?.media && b?.media ? a.media - b.media : 0;
|
|
478
|
+
const ImgAsPicture = JSX(({ className = '', image, imageClassName = '', pathPrefix }) => {
|
|
469
479
|
const router = useRouter();
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
480
|
+
return (jsxs("picture", { className: className, children: [image?.sources?.length
|
|
481
|
+
? image.sources
|
|
482
|
+
.filter((_) => _?.src)
|
|
483
|
+
.sort(sourcesComparator)
|
|
484
|
+
.map(({ src, format, media }, index) => (jsx("source", { srcSet: adjustSrc(router, pathPrefix)(src), type: formatToMimeType(format), media: media ? `(max-width: ${media}px)` : '', width: image.size?.width, height: image.size?.height }, `${index}_${src}`)))
|
|
485
|
+
: null, image?.src
|
|
486
|
+
? renderImg({ ...image, src: adjustSrc(router, pathPrefix)(image.src) }, imageClassName)
|
|
487
|
+
: null] }));
|
|
488
|
+
});
|
|
489
|
+
const renderImg = (image, imageClassName = '') => (jsx("img", { src: image.src, className: style('object-contain', imageClassName), alt: image.alt || image.title, title: image.title || '', style: {
|
|
490
|
+
width: image.size?.width ? `${image.size?.width}px` : '100%',
|
|
491
|
+
height: image.size?.height ? `${image.size?.height}px` : 'auto',
|
|
492
|
+
}, width: image.size?.width, height: image.size?.height }));
|
|
493
|
+
const adjustSrc = (router, pathPrefix) => (src) => src && !isURL(src) ? adjustHref(router)(joinPath(pathPrefix, src)) : src;
|
|
494
|
+
const formatToMimeType = (format) => format ? `image/${String(format)}` : undefined;
|
|
495
|
+
|
|
496
|
+
const Img = JSX(({ className = '', image, imageClassName = '', pathPrefix, ...iconProps }) => {
|
|
497
|
+
if (!image?.src && !image?.icon) {
|
|
498
|
+
return null;
|
|
489
499
|
}
|
|
490
|
-
|
|
500
|
+
return image.icon ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: image?.iconVersion, name: image.icon, ...iconProps })) : (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image, pathPrefix: pathPrefix }));
|
|
501
|
+
});
|
|
491
502
|
|
|
492
|
-
const buttonStyleMap = {
|
|
503
|
+
const buttonStyleMap$1 = {
|
|
493
504
|
primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
|
|
494
505
|
secondary: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
|
|
495
506
|
white: 'text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main',
|
|
@@ -519,6 +530,54 @@
|
|
|
519
530
|
'': '',
|
|
520
531
|
};
|
|
521
532
|
|
|
533
|
+
const getRegularButtonClasses = ({ className, rounded, version, }) => [
|
|
534
|
+
buttonStyle,
|
|
535
|
+
'border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border h-fit',
|
|
536
|
+
version ? buttonStyleMap$1[version] : '',
|
|
537
|
+
rounded ? 'rounded-full' : 'rounded-md',
|
|
538
|
+
className,
|
|
539
|
+
].join(' ');
|
|
540
|
+
|
|
541
|
+
const useDialogManager = () => ({
|
|
542
|
+
open: (dialog, options = {}) => defaultEventBus.fire('dialog', { type: 'open', dialog, ...options }),
|
|
543
|
+
close: () => defaultEventBus.fire('dialog', { type: 'close' }),
|
|
544
|
+
closeAll: () => defaultEventBus.fire('dialog', { type: 'close', all: true }),
|
|
545
|
+
});
|
|
546
|
+
|
|
547
|
+
/* eslint-disable @typescript-eslint/ban-types */
|
|
548
|
+
const handlerDecorator = (handler, targetContent) => {
|
|
549
|
+
return handlerDecorator._impl(handler, targetContent);
|
|
550
|
+
};
|
|
551
|
+
handlerDecorator._impl = (handler) => handler;
|
|
552
|
+
handlerDecorator.setup = (impl) => {
|
|
553
|
+
handlerDecorator._impl = impl;
|
|
554
|
+
};
|
|
555
|
+
|
|
556
|
+
function useLink(params = {}) {
|
|
557
|
+
const { isRemote, basePath } = params;
|
|
558
|
+
const router = useRouter();
|
|
559
|
+
const { closeAll } = useDialogManager();
|
|
560
|
+
return (props) => ({
|
|
561
|
+
...props,
|
|
562
|
+
href: isRemote && !basePath ? props.href : adjustHref(router)(props.href, basePath),
|
|
563
|
+
'aria-label': props.text,
|
|
564
|
+
onClick: handlerDecorator(handleHref(props), props),
|
|
565
|
+
});
|
|
566
|
+
function handleHref({ href, target, onClick }) {
|
|
567
|
+
return (ev) => {
|
|
568
|
+
onClick && onClick(ev);
|
|
569
|
+
if (!href || isRemote || !isLocalURL(href, target)) {
|
|
570
|
+
// Default routing
|
|
571
|
+
return;
|
|
572
|
+
}
|
|
573
|
+
closeAll();
|
|
574
|
+
// Client routing
|
|
575
|
+
ev?.preventDefault();
|
|
576
|
+
router.push(href);
|
|
577
|
+
};
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
|
|
522
581
|
const ButtonInner = JSX((props) => {
|
|
523
582
|
const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
|
|
524
583
|
const iconHideStyle = isWithText(props) ? 'hidden lg:block' : '';
|
|
@@ -542,14 +601,6 @@
|
|
|
542
601
|
className,
|
|
543
602
|
].join(' ');
|
|
544
603
|
|
|
545
|
-
const getRegularButtonClasses = ({ className, rounded, version, }) => [
|
|
546
|
-
buttonStyle,
|
|
547
|
-
'border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border h-fit',
|
|
548
|
-
version ? buttonStyleMap[version] : '',
|
|
549
|
-
rounded ? 'rounded-full' : 'rounded-md',
|
|
550
|
-
className,
|
|
551
|
-
].join(' ');
|
|
552
|
-
|
|
553
604
|
const useFormSubmit = ({ method, href }) => useCallback((ev) => {
|
|
554
605
|
if (method !== 'POST' || !href) {
|
|
555
606
|
return;
|
|
@@ -570,7 +621,7 @@
|
|
|
570
621
|
form.submit();
|
|
571
622
|
}, []);
|
|
572
623
|
|
|
573
|
-
const
|
|
624
|
+
const LinkButton = JSX(({ disabled, children, method = 'LINK', href, ...rest }) => {
|
|
574
625
|
const handleFormSubmit = useFormSubmit({ method, href });
|
|
575
626
|
const link = useLink();
|
|
576
627
|
const adjustedProps = link({ onClick: handleFormSubmit, href, ...rest });
|
|
@@ -580,57 +631,6 @@
|
|
|
580
631
|
const RegularButton = JSX(({ className = '', href, rel, target, ariaLabel, version, rounded, onClick, children }) => (jsx("a", { className: getRegularButtonClasses({ className, version, rounded }), href: href, rel: rel, target: target, "aria-label": ariaLabel, role: href ? 'link' : 'button', onClick: onClick, children: children })));
|
|
581
632
|
const DisabledButton = JSX(({ className, ariaLabel, version, rounded, children }) => (jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: -1, className: getDisabledButtonClasses({ className, rounded, version }), children: children })));
|
|
582
633
|
|
|
583
|
-
const isOnlyDigits = (str) => str && !/\D/.test(str);
|
|
584
|
-
|
|
585
|
-
const svgUseStyleMap = {
|
|
586
|
-
normal: '',
|
|
587
|
-
color: 'text-primary-main',
|
|
588
|
-
black: 'text-black',
|
|
589
|
-
white: 'text-black',
|
|
590
|
-
};
|
|
591
|
-
const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${name}`, title = alt, iconVersion = 'color', width, height, }) => {
|
|
592
|
-
const router = useRouter();
|
|
593
|
-
const href = adjustHref(router)(joinPath(projectSettings.CDN, '/icons', `${name}.svg`));
|
|
594
|
-
if (iconVersion !== 'normal') {
|
|
595
|
-
return (jsx(Background, { className: className, children: jsxs("svg", { className: style(getSvgSize(width), svgUseStyleMap[iconVersion], iconVersion === 'white' ? 'invert' : '', imageClassName), width: width, height: height, "aria-hidden": "true", children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }) }));
|
|
596
|
-
}
|
|
597
|
-
return (jsx("img", { className: className, src: href, alt: alt, title: title, "aria-hidden": "true", width: width, height: height, style: getInlineStyle(className, height) }));
|
|
598
|
-
});
|
|
599
|
-
const getInlineStyle = (className, height) => {
|
|
600
|
-
if (className?.includes('h-')) {
|
|
601
|
-
return {};
|
|
602
|
-
}
|
|
603
|
-
return { height: isOnlyDigits(height) ? `${height}px` : height, width: 'auto' };
|
|
604
|
-
};
|
|
605
|
-
const getSvgSize = (width) => (width ? '' : 'w-full h-full');
|
|
606
|
-
const Background = JSX(({ className, children }) => className ? jsx("div", { className: className, children: children }) : children);
|
|
607
|
-
|
|
608
|
-
const sourcesComparator = (a, b) => a?.media && b?.media ? a.media - b.media : 0;
|
|
609
|
-
const ImgAsPicture = JSX(({ className = '', image, imageClassName = '', pathPrefix }) => {
|
|
610
|
-
const router = useRouter();
|
|
611
|
-
return (jsxs("picture", { className: className, children: [image?.sources?.length
|
|
612
|
-
? image.sources
|
|
613
|
-
.filter((_) => _?.src)
|
|
614
|
-
.sort(sourcesComparator)
|
|
615
|
-
.map(({ src, format, media }, index) => (jsx("source", { srcSet: adjustSrc(router, pathPrefix)(src), type: formatToMimeType(format), media: media ? `(max-width: ${media}px)` : '', width: image.size?.width, height: image.size?.height }, `${index}_${src}`)))
|
|
616
|
-
: null, image?.src
|
|
617
|
-
? renderImg({ ...image, src: adjustSrc(router, pathPrefix)(image.src) }, imageClassName)
|
|
618
|
-
: null] }));
|
|
619
|
-
});
|
|
620
|
-
const renderImg = (image, imageClassName = '') => (jsx("img", { src: image.src, className: style('object-contain', imageClassName), alt: image.alt || image.title, title: image.title || '', style: {
|
|
621
|
-
width: image.size?.width ? `${image.size?.width}px` : '100%',
|
|
622
|
-
height: image.size?.height ? `${image.size?.height}px` : 'auto',
|
|
623
|
-
}, width: image.size?.width, height: image.size?.height }));
|
|
624
|
-
const adjustSrc = (router, pathPrefix) => (src) => src && !isURL(src) ? adjustHref(router)(joinPath(pathPrefix, src)) : src;
|
|
625
|
-
const formatToMimeType = (format) => format ? `image/${String(format)}` : undefined;
|
|
626
|
-
|
|
627
|
-
const Img = JSX(({ className = '', image, imageClassName = '', pathPrefix, ...iconProps }) => {
|
|
628
|
-
if (!image?.src && !image?.icon) {
|
|
629
|
-
return null;
|
|
630
|
-
}
|
|
631
|
-
return image.icon ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: image?.iconVersion, name: image.icon, ...iconProps })) : (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image, pathPrefix: pathPrefix }));
|
|
632
|
-
});
|
|
633
|
-
|
|
634
634
|
function renderBackwardButton(version, handleClick) {
|
|
635
635
|
const iconVersion = version === 'primary' ? 'white' : 'black';
|
|
636
636
|
const className = 'w-12 h-12 min-h-12 min-w-12 flex items-center justify-center';
|
|
@@ -638,7 +638,7 @@
|
|
|
638
638
|
return (jsxs("div", { className: "hidden sm:flex items-center gap-s", children: [jsx("div", { className: getRegularButtonClasses({ className, version, rounded: true }), onClick: handleClick, children: jsx(Img, { className: "w-4 h-4", image: {
|
|
639
639
|
icon: 'ArrowLeftIcon',
|
|
640
640
|
iconVersion: iconVersion,
|
|
641
|
-
} }) }), jsx(
|
|
641
|
+
} }) }), jsx(LinkButton, { version: "link", className: "group-data-secondary:text-white/80", text: text, ariaLabel: text, onClick: handleClick })] }));
|
|
642
642
|
}
|
|
643
643
|
|
|
644
644
|
const imageAlignmentMap = {
|
|
@@ -717,7 +717,7 @@
|
|
|
717
717
|
const { text, icon, iconRight, version, ...rest } = button || {};
|
|
718
718
|
const iconVersion = getIconVersion(icon, version);
|
|
719
719
|
const iconRightVersion = getIconVersion(iconRight, version);
|
|
720
|
-
return text || icon?.icon ? (jsx(
|
|
720
|
+
return text || icon?.icon ? (jsx(LinkButton, { className: style('basis-full @lg:basis-auto', buttonClassName), appendLeft: renderButtonIcon({ ...icon, iconVersion }), appendRight: renderButtonIcon({ ...iconRight, iconVersion: iconRightVersion }), version: version, text: text, ...rest }, index ? String(index) : '')) : null;
|
|
721
721
|
};
|
|
722
722
|
const DEFAULT_ICON_W = 24;
|
|
723
723
|
const getIconVersion = (icon, version = 'secondary') => {
|
|
@@ -979,7 +979,7 @@
|
|
|
979
979
|
return data || EMPTY_VALUE$4;
|
|
980
980
|
}
|
|
981
981
|
|
|
982
|
-
const Footnote = JSX(({ text, link }) => (jsxs(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text", children: [jsx(Text, { children: text || 'Нажимая кнопку, вы подтверждаете согласие с ' }), link ? (jsx(
|
|
982
|
+
const Footnote = JSX(({ text, link }) => (jsxs(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text", children: [jsx(Text, { children: text || 'Нажимая кнопку, вы подтверждаете согласие с ' }), link ? (jsx(LinkButton, { href: link.href, ariaLabel: "\u0443\u0441\u043B\u043E\u0432\u0438\u044F \u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043D\u043D\u044B\u0445", target: link.target, className: "text-primary-main", children: jsx(Text, { children: link.text }) })) : null] })));
|
|
983
983
|
|
|
984
984
|
const withValidator = (props, validator) => {
|
|
985
985
|
const { value, isDirty } = props;
|
|
@@ -1171,13 +1171,37 @@
|
|
|
1171
1171
|
|
|
1172
1172
|
const renderSlideCheckboxes = (field) => (jsxs("div", { children: [jsx(SlideCheckbox, { text: "\u0425\u043E\u0447\u0443 \u043A\u0443\u043F\u0438\u0442\u044C \u043E\u043D\u043B\u0430\u0439\u043D-\u043A\u0430\u0441\u0441\u0443", ...field('onlineCheckout') }), jsx(SlideCheckbox, { text: "\u0425\u043E\u0447\u0443 \u043A\u0443\u043F\u0438\u0442\u044C POS-\u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B", ...field('posTerminal') })] }));
|
|
1173
1173
|
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1174
|
+
function useButton() {
|
|
1175
|
+
return (props) => ({
|
|
1176
|
+
...props,
|
|
1177
|
+
onClick: handlerDecorator(handleClick(props), props),
|
|
1178
1178
|
});
|
|
1179
|
-
|
|
1179
|
+
}
|
|
1180
|
+
function handleClick({ disabled, onClick }) {
|
|
1181
|
+
return (ev) => {
|
|
1182
|
+
!disabled && onClick && onClick(ev);
|
|
1183
|
+
};
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
const activeButtonStyleMap = 'text-white bg-primary-active';
|
|
1187
|
+
const disabledButtonStyle = 'bg-main-gray text-main-disabled cursor-not-allowed';
|
|
1188
|
+
const buttonStyleMap = {
|
|
1189
|
+
primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
|
|
1190
|
+
secondary: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
|
|
1191
|
+
};
|
|
1192
|
+
const secondaryButtonStyleMap = {
|
|
1193
|
+
primary: style('group-data-secondary:text-primary-main group-data-secondary:bg-white', 'group-data-secondary:hover:text-white group-data-secondary:hover:bg-primary-hover', 'group-data-secondary:active:bg-primary-active'),
|
|
1194
|
+
secondary: style('group-data-secondary:text-white group-data-secondary:bg-white/20', 'group-data-secondary:hover:bg-primary-hover', 'group-data-secondary:active:bg-primary-active'),
|
|
1180
1195
|
};
|
|
1196
|
+
const Button = JSX(({ children, ...props }) => {
|
|
1197
|
+
const button = useButton();
|
|
1198
|
+
const { className, version = 'primary', active, disabled, type = 'button', rounded = true, role, onClick, } = button(props);
|
|
1199
|
+
return (jsx("button", { className: style('font-sans px-9 py-4', 'flex justify-center items-center gap-xs', active ? activeButtonStyleMap : '', disabled ? disabledButtonStyle : '', !active && !disabled
|
|
1200
|
+
? style(buttonStyleMap[version], secondaryButtonStyleMap[version])
|
|
1201
|
+
: '', rounded ? 'rounded-md' : '', className), type: type, role: role, onClick: onClick, children: children }));
|
|
1202
|
+
});
|
|
1203
|
+
|
|
1204
|
+
const renderSubmitButton = (button, className) => (jsx(Button, { className: style('w-full @xl:w-auto', className), type: "submit", children: button?.text ? button.text : 'Отправить заявку' }));
|
|
1181
1205
|
|
|
1182
1206
|
const initialFormState$5 = {
|
|
1183
1207
|
acquiringType: { key: 'Торговый эквайринг' },
|
|
@@ -1409,7 +1433,7 @@
|
|
|
1409
1433
|
version: button?.version,
|
|
1410
1434
|
});
|
|
1411
1435
|
const regionHref = regions?.find((_) => _.name === region.key)?.href;
|
|
1412
|
-
return (jsxs("div", { className: "container space-y-s @xl:space-y-lg", children: [regions ? (jsx(SelectControl, { label: "\u0412\u0430\u0448 \u0440\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D", isSearch: true, options: regions.map(({ name = '' }) => ({ key: name, text: name })), value: region, onChange: setRegion })) : null, regionHref ? (jsx("div", { className: "text-center", children: jsx(
|
|
1436
|
+
return (jsxs("div", { className: "container space-y-s @xl:space-y-lg", children: [regions ? (jsx(SelectControl, { label: "\u0412\u0430\u0448 \u0440\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D", isSearch: true, options: regions.map(({ name = '' }) => ({ key: name, text: name })), value: region, onChange: setRegion })) : null, regionHref ? (jsx("div", { className: "text-center", children: jsx(LinkButton, { href: regionHref, target: "_blank", className: style('p-m w-full @xl:w-auto', buttonStyle), children: button?.text ? button.text : 'Перейти' }) })) : null] }));
|
|
1413
1437
|
});
|
|
1414
1438
|
|
|
1415
1439
|
const SVG = JSX(({ className, viewBox, fill = 'none', width, height, paths, ...commonOptions }) => {
|
|
@@ -1831,7 +1855,7 @@
|
|
|
1831
1855
|
];
|
|
1832
1856
|
};
|
|
1833
1857
|
|
|
1834
|
-
const ArrowButton = JSX(({ className, disabled, ...rest }) => (jsx(
|
|
1858
|
+
const ArrowButton = JSX(({ className, disabled, ...rest }) => (jsx(LinkButton, { rounded: true, className: style('group/btn w-12 h-12 min-h-12 max-h-12 flex items-center justify-center shadow-main-black', disabled
|
|
1835
1859
|
? 'bg-secondary-light text-secondary-text'
|
|
1836
1860
|
: 'bg-white text-primary-text hover:text-primary-main', className || ''), disabled: disabled, ...rest, children: jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, imageClassName: "group-hover/btn:text-primary-main", width: "16", height: "16" }) })));
|
|
1837
1861
|
const ScrollLeftButton = JSX((props) => (jsx(ArrowButton, { ...props, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E", "data-block-control": "scroll-left" })));
|
|
@@ -2650,12 +2674,7 @@
|
|
|
2650
2674
|
useEffect(() => {
|
|
2651
2675
|
setDisabled(amount <= 0);
|
|
2652
2676
|
}, [amount]);
|
|
2653
|
-
|
|
2654
|
-
? getDisabledButtonClasses({ version: button?.version })
|
|
2655
|
-
: getRegularButtonClasses({ className: 'text-white', version: button?.version });
|
|
2656
|
-
const link = useLink();
|
|
2657
|
-
const { onClick } = link(button || {});
|
|
2658
|
-
return (jsxs(BlockWrapper, { className: style('flex flex-col items-center', className), defaultPadding: "p-6xl", ...rest, children: [title ? (jsx(Heading, { className: "pb-lg xl:pb-4xl self-start xl:self-center", headingType: "h3", title: title })) : null, jsxs("form", { className: "w-full xl:max-w-[468px]", method: "POST", action: FORM_URL_MAP[formType], children: [jsx(CurrencyInput, { valid: !isDisabled, placeholder: placeholder, label: label, ...field('amount', { parse: Number, format: String }) }), jsx("input", { type: "hidden", name: "amount", value: amount }), button?.text ? (jsx("button", { type: "submit", className: style('w-full p-m mt-lg', buttonStyle), disabled: isDisabled, onClick: onClick, children: button.text })) : null] })] }));
|
|
2677
|
+
return (jsxs(BlockWrapper, { className: style('flex flex-col items-center', className), defaultPadding: "p-6xl", ...rest, children: [title ? (jsx(Heading, { className: "pb-lg xl:pb-4xl self-start xl:self-center", headingType: "h3", title: title })) : null, jsxs("form", { className: "w-full xl:max-w-[468px]", method: "POST", action: FORM_URL_MAP[formType], children: [jsx(CurrencyInput, { valid: !isDisabled, placeholder: placeholder, label: label, ...field('amount', { parse: Number, format: String }) }), jsx("input", { type: "hidden", name: "amount", value: amount }), button?.text ? (jsx(Button, { className: "w-full mt-lg", type: "submit", disabled: isDisabled, children: button.text })) : null] })] }));
|
|
2659
2678
|
});
|
|
2660
2679
|
|
|
2661
2680
|
const mapChildren = (mapper) => (children) => {
|
|
@@ -3139,7 +3158,7 @@
|
|
|
3139
3158
|
const cellsNode = cardCells.map(renderCardInfo);
|
|
3140
3159
|
const visibleCells = cellsNode.slice(0, VISIBLE_CELLS_COUNT);
|
|
3141
3160
|
const hiddenCells = cellsNode.slice(VISIBLE_CELLS_COUNT);
|
|
3142
|
-
return (jsxs(BlockWrapper, { className: style('flex flex-col', className), defaultPadding: "p-2xl", ...rest, children: [isIcon(icon) ? (jsx("div", { className: "self-center", children: jsx(Img, { image: icon }) })) : null, title ? (jsx(Heading, { className: style('pt-xs', align), headingType: "h5", title: title })) : null, button ? jsx(
|
|
3161
|
+
return (jsxs(BlockWrapper, { className: style('flex flex-col', className), defaultPadding: "p-2xl", ...rest, children: [isIcon(icon) ? (jsx("div", { className: "self-center", children: jsx(Img, { image: icon }) })) : null, title ? (jsx(Heading, { className: style('pt-xs', align), headingType: "h5", title: title })) : null, button ? jsx(LinkButton, { className: "w-full mt-m mb-lg", ...button }) : null, cardCells.length ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs("div", { children: [visibleCells, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenCells })] })), renderFoldButton: cardCells.length > 1 ? renderFoldButton$1 : null })) : null] }));
|
|
3143
3162
|
});
|
|
3144
3163
|
const renderFoldButton$1 = ({ isUnfolded, onToggle }) => (jsxs("button", { className: "w-full cursor-pointer text-primary-main pt-lg flex justify-between items-center", onClick: onToggle, children: [jsx("div", { children: isUnfolded ? 'Скрыть' : 'Подробнее о тарифе' }), jsx(Icon, { className: "text-primary-text", name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16" })] }));
|
|
3145
3164
|
|
|
@@ -3150,7 +3169,7 @@
|
|
|
3150
3169
|
const COLS_LENGTH_FOR_SCROLL$1 = 3;
|
|
3151
3170
|
const COLUMN_WIDTH$2 = 4 * 80 + 4 * 4; // w-80 + gap-4 = 336px
|
|
3152
3171
|
|
|
3153
|
-
const HeaderCell = JSX(({ icon, image, title, link }) => (jsxs("div", { className: style('w-80 box-border flex flex-col gap-m items-center rounded-t-md border-b-0 p-2xl', borderStyle, gradientStyle), role: "columnheader", children: [icon && !image?.src && (jsx(Img, { className: "h-16 w-16 min-w-16 min-h-16", image: icon, width: "64", height: "64" })), image?.src && jsx(Img, { image: image }), title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "text-center text-white", title: title })) : null, link?.text && (jsx("div", { className: "mt-auto w-full", children: jsx(
|
|
3172
|
+
const HeaderCell = JSX(({ icon, image, title, link }) => (jsxs("div", { className: style('w-80 box-border flex flex-col gap-m items-center rounded-t-md border-b-0 p-2xl', borderStyle, gradientStyle), role: "columnheader", children: [icon && !image?.src && (jsx(Img, { className: "h-16 w-16 min-w-16 min-h-16", image: icon, width: "64", height: "64" })), image?.src && jsx(Img, { image: image }), title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "text-center text-white", title: title })) : null, link?.text && (jsx("div", { className: "mt-auto w-full", children: jsx(LinkButton, { href: link.href, target: link.target, className: "w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active", children: jsx("div", { className: "text-xs font-light font-medium py-s", children: link.text }) }) }))] })));
|
|
3154
3173
|
|
|
3155
3174
|
const carouselContainerClassesMap = {
|
|
3156
3175
|
comparison: 'flex gap-m duration-1000',
|
|
@@ -3214,7 +3233,7 @@
|
|
|
3214
3233
|
|
|
3215
3234
|
const ContactsBlock = JSX(({ className, contacts, info, version = 'secondary', ...rest }) => (jsxs(BlockWrapper, { className: style('flex', className), defaultPadding: "p-6xl", version: version, ...rest, children: [info?.length ? renderBlocks(info) : null, contacts?.length ? renderBlocks(contacts) : null] })));
|
|
3216
3235
|
const renderBlocks = (info) => (jsx("div", { className: "flex gap-5xl grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index })) }));
|
|
3217
|
-
const renderBlocksColumn = ({ column, index }) => column ? (jsx("div", { className: "flex flex-col gap-xl grow basis-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => (jsxs("div", { children: [jsx(Headline, { title: title, description: description, headlineVersion: "XS", align: "text-left", isEmbedded: true }), additionalDescription ? (jsx("div", { className: "mt-xs opacity-80", children: jsx(Paragraph, { size: "text-m", font: "font-light", children: additionalDescription }) })) : null, button?.href ? jsx(
|
|
3236
|
+
const renderBlocksColumn = ({ column, index }) => column ? (jsx("div", { className: "flex flex-col gap-xl grow basis-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => (jsxs("div", { children: [jsx(Headline, { title: title, description: description, headlineVersion: "XS", align: "text-left", isEmbedded: true }), additionalDescription ? (jsx("div", { className: "mt-xs opacity-80", children: jsx(Paragraph, { size: "text-m", font: "font-light", children: additionalDescription }) })) : null, button?.href ? jsx(LinkButton, { className: "mt-xl", ...button }) : null] }, String(key)))) }, `col-${String(index)}`)) : null;
|
|
3218
3237
|
|
|
3219
3238
|
const isOdd = (n) => n % 2 !== 0;
|
|
3220
3239
|
|
|
@@ -3301,7 +3320,7 @@
|
|
|
3301
3320
|
return items.map((item) => (jsx(SlideCheckbox, { text: item.title, value: [value].flatMap((_) => _).includes(item.value), onChange: () => handleChange(item.value), type: multiple ? 'checkbox' : 'radio' }, item.value)));
|
|
3302
3321
|
});
|
|
3303
3322
|
|
|
3304
|
-
const renderFiltrationForm$1 = ({ field, reset, filtrationSchema, resetButton, children, }) => (jsxs("form", { className: "flex flex-col @4xl:flex-row justify-between bg-white p-4xl gap-s @4xl:gap-0", children: [jsxs("div", { className: "flex flex-col @4xl:flex-row gap-5xl", children: [children, Object.entries(filtrationSchema).map(renderFormItem(field))] }), resetButton ? (jsx("div", { children: jsx(Button, { className: "w-full @4xl:w-72 @4xl:ml-s", onClick: reset,
|
|
3323
|
+
const renderFiltrationForm$1 = ({ field, reset, filtrationSchema, resetButton, children, }) => (jsxs("form", { className: "flex flex-col @4xl:flex-row justify-between bg-white p-4xl gap-s @4xl:gap-0", children: [jsxs("div", { className: "flex flex-col @4xl:flex-row gap-5xl", children: [children, Object.entries(filtrationSchema).map(renderFormItem(field))] }), resetButton ? (jsx("div", { children: jsx(Button, { className: "w-full @4xl:w-72 @4xl:ml-s", onClick: reset, children: resetButton?.text }) })) : null] }));
|
|
3305
3324
|
const renderFormItem = (field) => ([key, item]) => {
|
|
3306
3325
|
const type = item?.type;
|
|
3307
3326
|
switch (type) {
|
|
@@ -3437,7 +3456,7 @@
|
|
|
3437
3456
|
return (jsxs("div", { className: style('font-sans relative', className), role: "form", children: [jsx("div", { className: "absolute h-full flex items-center pl-m pointer-events-none", children: jsx(Img, { image: { icon: 'LoupeIcon', iconVersion: 'black' }, width: "24", height: "24" }) }), jsx("input", { className: style('h-14 w-full px-10 text-l text-black outline-none box-border border border-solid rounded-md', 'border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text'), value: value, type: "text", name: "search-bar-input", placeholder: placeholder, autoFocus: autoFocus, onChange: handleChange, onFocus: onFocus })] }));
|
|
3438
3457
|
});
|
|
3439
3458
|
|
|
3440
|
-
const DepositoryFilter = JSX(({ field, onClearFilter, filtrationState }) => (jsxs("div", { className: "grid grid-cols-12 mb-3xl space-x-xl", children: [jsx(SearchInput, { className: "col-span-4 mt-auto", placeholder: "\u041F\u043E\u0438\u0441\u043A", ...field('query') }), jsx(DatePicker, { className: "col-span-3", label: "\u041F\u0435\u0440\u0438\u043E\u0434 \u043E\u0442", maxDate: filtrationState.endDate, ...field('startDate') }), jsx(DatePicker, { className: "col-span-3", label: "\u041F\u0435\u0440\u0438\u043E\u0434 \u0434\u043E", minDate: filtrationState.startDate, ...field('endDate') }), jsx("div", { className: "col-span-2 mt-auto", children: jsx(
|
|
3459
|
+
const DepositoryFilter = JSX(({ field, onClearFilter, filtrationState }) => (jsxs("div", { className: "grid grid-cols-12 mb-3xl space-x-xl", children: [jsx(SearchInput, { className: "col-span-4 mt-auto", placeholder: "\u041F\u043E\u0438\u0441\u043A", ...field('query') }), jsx(DatePicker, { className: "col-span-3", label: "\u041F\u0435\u0440\u0438\u043E\u0434 \u043E\u0442", maxDate: filtrationState.endDate, ...field('startDate') }), jsx(DatePicker, { className: "col-span-3", label: "\u041F\u0435\u0440\u0438\u043E\u0434 \u0434\u043E", minDate: filtrationState.startDate, ...field('endDate') }), jsx("div", { className: "col-span-2 mt-auto", children: jsx(Button, { className: "w-full", version: "secondary", onClick: onClearFilter, children: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C" }) })] })));
|
|
3441
3460
|
|
|
3442
3461
|
const DepositoryItem = ({ title, timestamp, publicId }) => {
|
|
3443
3462
|
const link = useLink({ basePath: '/' });
|
|
@@ -3497,7 +3516,7 @@
|
|
|
3497
3516
|
}
|
|
3498
3517
|
return null;
|
|
3499
3518
|
};
|
|
3500
|
-
const ErrorBlock = JSX(({ className = '', title, description, error, button, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col justify-center items-center', className), defaultPadding: style('p-6xl'), version: "transparent", ...rest, children: [jsx("div", { className: "flex justify-center", children: renderErrorContent(error) }), jsx(Headline, { title: title, description: description, headlineVersion: "XL", isEmbedded: true, className: "mb-2xl last:mb-0" }), button?.text ? jsx(
|
|
3519
|
+
const ErrorBlock = JSX(({ className = '', title, description, error, button, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col justify-center items-center', className), defaultPadding: style('p-6xl'), version: "transparent", ...rest, children: [jsx("div", { className: "flex justify-center", children: renderErrorContent(error) }), jsx(Headline, { title: title, description: description, headlineVersion: "XL", isEmbedded: true, className: "mb-2xl last:mb-0" }), button?.text ? (jsx(LinkButton, { version: button?.version, text: button?.text, ...button })) : null] })));
|
|
3501
3520
|
|
|
3502
3521
|
const useLatestEvent = (eventBus, type, initialEvent) => {
|
|
3503
3522
|
const [latestEvent, setLatestEvent] = useState(initialEvent || null);
|
|
@@ -3629,7 +3648,7 @@
|
|
|
3629
3648
|
setSelected: handleSelectBuy(calcState, handleSetCalcState, currencyRatesBuy),
|
|
3630
3649
|
value: calcState.inputBuy,
|
|
3631
3650
|
setValue: (value) => handleInputBuy(handleSetCalcState, currencyRatesBuy)(value, calcState.selectBuy, calcState.selectSell),
|
|
3632
|
-
}), button?.text ? jsx(
|
|
3651
|
+
}), button?.text ? (jsx(LinkButton, { text: button.text, version: button?.version, ...button })) : null] }));
|
|
3633
3652
|
});
|
|
3634
3653
|
const handleSelectSell = (calcState, setCalcState, currencyRatesSell) => (value) => {
|
|
3635
3654
|
setCalcState({ selectSell: value });
|
|
@@ -3950,7 +3969,7 @@
|
|
|
3950
3969
|
}
|
|
3951
3970
|
};
|
|
3952
3971
|
|
|
3953
|
-
const Contacts = JSX(({ className = '', items }) => (jsxs("div", { className: className, children: [items?.length ? items.map(renderContactsGroup) : null, jsx(
|
|
3972
|
+
const Contacts = JSX(({ className = '', items }) => (jsxs("div", { className: className, children: [items?.length ? items.map(renderContactsGroup) : null, jsx(LinkButton, { version: "primary", className: "w-full", href: "https://old.rshb.ru/feedback/question/", target: "_blank", ariaLabel: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C", text: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C" })] })));
|
|
3954
3973
|
const renderContactsGroup = (item, i) => (jsxs("div", { className: "mb-m", children: [jsx("div", { className: "mb-m", children: jsx(Text, { size: "text-l", font: "font-medium", children: item?.title }) }), jsx("div", { children: item.items?.map(renderContact) })] }, String(i)));
|
|
3955
3974
|
const renderContact = (item, index) => (jsxs("div", { className: "mb-m", children: [jsx("div", { children: renderText(item.type, item.text) }), jsx("div", { className: "mt-2xs text-s font-light text-secondary-text", children: item.description })] }, String(index)));
|
|
3956
3975
|
const renderText = (type, text = '') => {
|
|
@@ -3991,7 +4010,7 @@
|
|
|
3991
4010
|
const { documents, relatedEnterprises, contacts, socialMedia, mobileApps } = useSWRResource(projectSettings.FOOTER || 'footer', {
|
|
3992
4011
|
fallback: rest.options?.page?.fallback,
|
|
3993
4012
|
});
|
|
3994
|
-
return (jsxs(BlockWrapper, { tag: "footer", className: className, ...rest, children: [jsxs("div", { className: "flex items-stretch gap-3xl pb-3xl ", children: [jsx(Logo, { className: LEFT_COL_WIDTH, logo: logo }), jsx(SearchBar$1, { className: "grow" })] }), jsxs("div", { className: "flex items-stretch gap-6xl", children: [jsxs("div", { className: style(LEFT_COL_WIDTH, 'flex flex-col shrink-0 overflow-hidden space-y-xl'), children: [jsx(Contacts, { items: contacts }), jsx(SocialMedia, { media: socialMedia, children: "\u0421\u043E\u0446\u0441\u0435\u0442\u0438" }), jsx(SocialMedia, { media: mobileApps, showButtonText: false, children: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }), jsx(
|
|
4013
|
+
return (jsxs(BlockWrapper, { tag: "footer", className: className, ...rest, children: [jsxs("div", { className: "flex items-stretch gap-3xl pb-3xl ", children: [jsx(Logo, { className: LEFT_COL_WIDTH, logo: logo }), jsx(SearchBar$1, { className: "grow" })] }), jsxs("div", { className: "flex items-stretch gap-6xl", children: [jsxs("div", { className: style(LEFT_COL_WIDTH, 'flex flex-col shrink-0 overflow-hidden space-y-xl'), children: [jsx(Contacts, { items: contacts }), jsx(SocialMedia, { media: socialMedia, children: "\u0421\u043E\u0446\u0441\u0435\u0442\u0438" }), jsx(SocialMedia, { media: mobileApps, showButtonText: false, children: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }), jsx(LinkButton, { version: "link", href: "https://old.rshb.ru", className: "!text-left text-s font-light", onClick: deleteAllCookies, children: "\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043D\u0430 \u043F\u0440\u0435\u0436\u043D\u044E\u044E \u0432\u0435\u0440\u0441\u0438\u044E \u0441\u0430\u0439\u0442\u0430" })] }), jsx(Sitemap, { className: "flex-grow", topItems: topItems })] }), jsx(HorizontalNavigation, { className: "mt-xl", links: relatedEnterprises }), jsx(TextInformation, { links: documents })] }));
|
|
3995
4014
|
});
|
|
3996
4015
|
|
|
3997
4016
|
const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (jsxs(BlockWrapper, { className: style('space-y-m', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, headlineVersion: "M", isEmbedded: true }), calendar ? renderCalendar(calendar) : null] })));
|
|
@@ -4217,7 +4236,7 @@
|
|
|
4217
4236
|
default: 'px-lg bg-main-divider rounded hover:text-primary-main',
|
|
4218
4237
|
transparent: 'text-white hover:text-primary-hover',
|
|
4219
4238
|
};
|
|
4220
|
-
const InternetBankButton = JSX(({ version, internetBankUrl }) => internetBankUrl ? (jsx(
|
|
4239
|
+
const InternetBankButton = JSX(({ version, internetBankUrl }) => internetBankUrl ? (jsx(LinkButton, { href: internetBankUrl, ariaLabel: "\u0418\u043D\u0442\u0435\u0440\u043D\u0435\u0442-\u0431\u0430\u043D\u043A", target: "_blank", className: style('py-s ml-s text-l font-light whitespace-nowrap hover:text-primary-main', BUTTON_STYLE[version === 'transparent' ? 'transparent' : 'default']), children: "\u0418\u043D\u0442\u0435\u0440\u043D\u0435\u0442-\u0431\u0430\u043D\u043A" })) : null);
|
|
4221
4240
|
|
|
4222
4241
|
const HEADER_AREA_KEYS = ['all', 'header'];
|
|
4223
4242
|
const HeaderSubMenu = JSX(({ subItems = [], version, internetBankUrl }) => {
|
|
@@ -4297,7 +4316,7 @@
|
|
|
4297
4316
|
...controls,
|
|
4298
4317
|
btnClass: ['left-12', 'right-12'],
|
|
4299
4318
|
className: 'top-16',
|
|
4300
|
-
}), canDec ? (jsx("div", { className: "absolute top-0 left-0 h-full w-32 bg-opacity-from-white" })) : null, canInc ? (jsx("div", { className: "absolute top-0 right-0 h-full w-32 bg-opacity-to-white" })) : null] }), jsx(
|
|
4319
|
+
}), canDec ? (jsx("div", { className: "absolute top-0 left-0 h-full w-32 bg-opacity-from-white" })) : null, canInc ? (jsx("div", { className: "absolute top-0 right-0 h-full w-32 bg-opacity-to-white" })) : null] }), jsx(LinkButton, { className: "w-60 text-center", version: "primary", ...button, href: activeHref })] }));
|
|
4301
4320
|
});
|
|
4302
4321
|
function renderGallery({ activeIndex, cards, selectedCardIndex, onClick }) {
|
|
4303
4322
|
const tabsShiftWidth = activeIndex * 460;
|
|
@@ -4720,7 +4739,7 @@
|
|
|
4720
4739
|
workAllTime: 'Круглосуточно',
|
|
4721
4740
|
billAcceptorEnable: 'Прием наличных',
|
|
4722
4741
|
};
|
|
4723
|
-
const renderFiltrationForm = (filters, { field, reset }) => (jsxs("div", { className: "pb-2xl", children: [filters?.length ? (jsx("div", { className: "flex flex-wrap gap-3xl pb-2xl", children: filters.map((key) => (jsx(Checkbox, { text: FILTRATION_LABELS[key], ...field(key) }, key))) })) : null, jsx(
|
|
4742
|
+
const renderFiltrationForm = (filters, { field, reset }) => (jsxs("div", { className: "pb-2xl", children: [filters?.length ? (jsx("div", { className: "flex flex-wrap gap-3xl pb-2xl", children: filters.map((key) => (jsx(Checkbox, { text: FILTRATION_LABELS[key], ...field(key) }, key))) })) : null, jsx(LinkButton, { version: "transparent", className: "text-secondary-text [&>*]:p-0", onClick: reset, text: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440", appendRight: jsx(Icon, { name: "CloseIcon", width: "16", height: "16" }) })] }));
|
|
4724
4743
|
|
|
4725
4744
|
const defaultRenderCard = () => null;
|
|
4726
4745
|
const defaultFilterItems = () => [];
|
|
@@ -5066,7 +5085,7 @@
|
|
|
5066
5085
|
});
|
|
5067
5086
|
|
|
5068
5087
|
const SafeDepositRentalFields = JSX(({ regions, selectedRegion, branches, selectedBranch, days, selectedCaseVolume, selectedBoxSize, safeBoxCases, caseVolumes, onChange, onClick, }) => {
|
|
5069
|
-
return (jsxs("div", { className: "contents @xl:block flex-1 space-y-xl", children: [jsx(RegionsAndBranches, { regions: regions, selectedRegion: selectedRegion, onSelectedRegion: (value) => onChange({ selectedRegion: value }), branches: branches, selectedBranch: selectedBranch, onSelectedBranch: onSelectedBranch(onChange) }), jsx(RentalPeriod, { days: days, setDays: (value) => onChange({ days: value }) }), jsx(SafeBoxCases, { caseVolumes: caseVolumes, selectedCaseVolume: selectedCaseVolume, onSelectedCaseVolume: onSelectedCaseVolume(onChange), safeBoxCases: safeBoxCases, selectedBoxSize: selectedBoxSize, onSelectedBoxSize: (value) => onChange({ selectedBoxSize: value }) }), jsx("div", { className: "order-4", children: jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: "\u0422\u0438\u043F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u0430" }) }), jsxs("div", { className: "contents @md:flex justify-between items-center gap-m", children: [jsx(RadioButtons, {}), jsx(
|
|
5088
|
+
return (jsxs("div", { className: "contents @xl:block flex-1 space-y-xl", children: [jsx(RegionsAndBranches, { regions: regions, selectedRegion: selectedRegion, onSelectedRegion: (value) => onChange({ selectedRegion: value }), branches: branches, selectedBranch: selectedBranch, onSelectedBranch: onSelectedBranch(onChange) }), jsx(RentalPeriod, { days: days, setDays: (value) => onChange({ days: value }) }), jsx(SafeBoxCases, { caseVolumes: caseVolumes, selectedCaseVolume: selectedCaseVolume, onSelectedCaseVolume: onSelectedCaseVolume(onChange), safeBoxCases: safeBoxCases, selectedBoxSize: selectedBoxSize, onSelectedBoxSize: (value) => onChange({ selectedBoxSize: value }) }), jsx("div", { className: "order-4", children: jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: "\u0422\u0438\u043F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u0430" }) }), jsxs("div", { className: "contents @md:flex justify-between items-center gap-m", children: [jsx(RadioButtons, {}), jsx(LinkButton, { text: "\u041E\u0444\u0438\u0441\u044B \u043D\u0430 \u043A\u0430\u0440\u0442\u0435", version: "primary", onClick: onClick, className: "order-6" })] })] }));
|
|
5070
5089
|
});
|
|
5071
5090
|
const onSelectedBranch = (onChange) => (value) => {
|
|
5072
5091
|
onChange({ selectedBranch: value, selectedCaseVolume: '', selectedBoxSize: '' });
|
|
@@ -5182,7 +5201,7 @@
|
|
|
5182
5201
|
};
|
|
5183
5202
|
const renderDefaultStep = ({ styleMap, isMainButton, version }) => (step, i, arr) => {
|
|
5184
5203
|
const { label, description, button, items, isDotted } = step;
|
|
5185
|
-
return (jsxs("div", { className: style('relative flex flex-col items-center text-center justify-between whitespace-pre-line overflow-hidden space-y-3xl', getContainerWidth(arr.length)), children: [jsxs("div", { className: "text-center space-y-xs", children: [label ? (jsx("div", { children: jsx(Text, { size: "text-h6", children: label }) })) : null, jsxs("div", { className: "flex flex-col items-center gap-3xs", children: [description ? jsx("div", { className: styleMap.description, children: description }) : null, jsx(List, { className: styleMap.description, items: items, listItemSize: "M", isDotted: isDotted })] })] }), button?.text && !isMainButton ? (jsx(
|
|
5204
|
+
return (jsxs("div", { className: style('relative flex flex-col items-center text-center justify-between whitespace-pre-line overflow-hidden space-y-3xl', getContainerWidth(arr.length)), children: [jsxs("div", { className: "text-center space-y-xs", children: [label ? (jsx("div", { children: jsx(Text, { size: "text-h6", children: label }) })) : null, jsxs("div", { className: "flex flex-col items-center gap-3xs", children: [description ? jsx("div", { className: styleMap.description, children: description }) : null, jsx(List, { className: styleMap.description, items: items, listItemSize: "M", isDotted: isDotted })] })] }), button?.text && !isMainButton ? (jsx(LinkButton, { className: "box-border py-s w-full max-w-60 mt-auto", version: version, ...button, children: button?.text })) : null] }, String(i)));
|
|
5186
5205
|
};
|
|
5187
5206
|
const getContainerWidth = (length) => (length < 5 ? 'w-72' : 'w-52');
|
|
5188
5207
|
|
|
@@ -5322,7 +5341,7 @@
|
|
|
5322
5341
|
const COLS_LENGTH_FOR_SCROLL = 2;
|
|
5323
5342
|
const COLUMN_WIDTH$1 = 4 * 80 + 40; // w-80 + pl-10 = 360px
|
|
5324
5343
|
|
|
5325
|
-
const TableInnerButton = JSX(({ className = '', isOpen, onClick }) => (jsx(
|
|
5344
|
+
const TableInnerButton = JSX(({ className = '', isOpen, onClick }) => (jsx(LinkButton, { className: className, appendRight: jsx(Img, { image: { icon: isOpen ? 'ArrowUpIcon' : 'ArrowDownIcon' }, width: "20", height: "20" }), text: isOpen ? 'Скрыть' : 'Показать', version: "gray", onClick: onClick })));
|
|
5326
5345
|
|
|
5327
5346
|
const renderButtonsCellData = ({ buttons }) => renderButtonsSection(buttons, {
|
|
5328
5347
|
buttonClassName: 'basis-0',
|
|
@@ -5420,7 +5439,7 @@
|
|
|
5420
5439
|
|
|
5421
5440
|
const linkButtonVersion = 'secondary';
|
|
5422
5441
|
|
|
5423
|
-
const InnerTableHeader = JSX(({ currencies, linkToPDF, activeTabIndex, setActiveTabIndex }) => (jsxs("div", { className: "flex justify-between items-center w-full py-lg", children: [currencies && currencies.length > 1 ? (jsx("div", { className: "flex bg-secondary-light p-2xs rounded-md", children: currencies.map((currency, idx) => (jsx("div", { className: `rounded-md text-xl font-light px-4 py-3 cursor-pointer ${idx === activeTabIndex ? 'bg-primary-main text-white' : 'text-secondary-text'}`, onClick: () => setActiveTabIndex(idx), children: currency || idx + 1 }, currency))) })) : null, linkToPDF ? (jsx(
|
|
5442
|
+
const InnerTableHeader = JSX(({ currencies, linkToPDF, activeTabIndex, setActiveTabIndex }) => (jsxs("div", { className: "flex justify-between items-center w-full py-lg", children: [currencies && currencies.length > 1 ? (jsx("div", { className: "flex bg-secondary-light p-2xs rounded-md", children: currencies.map((currency, idx) => (jsx("div", { className: `rounded-md text-xl font-light px-4 py-3 cursor-pointer ${idx === activeTabIndex ? 'bg-primary-main text-white' : 'text-secondary-text'}`, onClick: () => setActiveTabIndex(idx), children: currency || idx + 1 }, currency))) })) : null, linkToPDF ? (jsx(LinkButton, { className: "text-primary-main", href: linkToPDF, version: linkButtonVersion, target: "_blank", appendLeft: jsx(Icon, { name: "DocDownloadIcon", iconVersion: "color", className: "mr-3xs", width: "20", height: "20" }), text: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432 PDF" })) : null] })));
|
|
5424
5443
|
|
|
5425
5444
|
function useTariffsInnerTableData(directoryName) {
|
|
5426
5445
|
const { data } = useAsyncData(tariffsInnerTableDataUrl(directoryName), fetchTariffsInnerTableData);
|
|
@@ -5796,7 +5815,7 @@
|
|
|
5796
5815
|
return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-3xl sticky bottom-0 pointer-events-auto" }) }));
|
|
5797
5816
|
}
|
|
5798
5817
|
|
|
5799
|
-
const packageVersion = "0.14.
|
|
5818
|
+
const packageVersion = "0.14.65";
|
|
5800
5819
|
|
|
5801
5820
|
exports.Blocks = Blocks;
|
|
5802
5821
|
exports.ContentPage = ContentPage;
|