@redneckz/wildless-cms-uni-blocks 0.14.65 → 0.14.67
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 +181 -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/LinkButton/ArrowButton.d.ts +7 -0
- package/bundle/ui-kit/LinkButton/ButtonInner.d.ts +3 -0
- package/bundle/ui-kit/LinkButton/ButtonsSectionContent.d.ts +8 -0
- package/bundle/ui-kit/LinkButton/GetButtonClassParams.d.ts +7 -0
- package/{lib/ui-kit/Button → bundle/ui-kit/LinkButton}/LikeButton.d.ts +2 -0
- package/bundle/ui-kit/LinkButton/LinkButton.d.ts +3 -0
- package/{dist/ui-kit/Button/ButtonContent.d.ts → bundle/ui-kit/LinkButton/LinkButtonContent.d.ts} +5 -3
- package/{lib/ui-kit/Button/ButtonProps.d.ts → bundle/ui-kit/LinkButton/LinkButtonProps.d.ts} +3 -2
- package/bundle/ui-kit/LinkButton/buttonClassNameConstants.d.ts +9 -0
- package/bundle/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.d.ts +1 -0
- package/{lib/ui-kit/Button → bundle/ui-kit/LinkButton}/getRegularButtonClasses.d.ts +1 -0
- package/{dist/ui-kit/Button → bundle/ui-kit/LinkButton}/renderArrows.d.ts +2 -0
- package/bundle/ui-kit/LinkButton/renderButtonsSection.d.ts +10 -0
- package/bundle/ui-kit/{Button → LinkButton}/useFormSubmit.d.ts +2 -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/LinkButton/ArrowButton.d.ts +7 -0
- package/dist/ui-kit/{Button → LinkButton}/ArrowButton.js +5 -2
- package/dist/ui-kit/LinkButton/ArrowButton.js.map +1 -0
- package/dist/ui-kit/LinkButton/ButtonInner.d.ts +3 -0
- package/{mobile/dist/ui-kit/Button → dist/ui-kit/LinkButton}/ButtonInner.js +1 -0
- package/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -0
- package/dist/ui-kit/LinkButton/ButtonsSectionContent.d.ts +8 -0
- package/dist/ui-kit/LinkButton/ButtonsSectionContent.js.map +1 -0
- package/dist/ui-kit/LinkButton/GetButtonClassParams.d.ts +7 -0
- package/dist/ui-kit/LinkButton/GetButtonClassParams.js.map +1 -0
- package/dist/ui-kit/{Button → LinkButton}/LikeButton.d.ts +2 -0
- package/{mobile/dist/ui-kit/Button → dist/ui-kit/LinkButton}/LikeButton.js +1 -0
- package/dist/ui-kit/LinkButton/LikeButton.js.map +1 -0
- package/dist/ui-kit/LinkButton/LinkButton.d.ts +3 -0
- package/dist/ui-kit/LinkButton/LinkButton.js +20 -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} +5 -3
- package/dist/ui-kit/LinkButton/LinkButtonContent.js +2 -0
- package/dist/ui-kit/LinkButton/LinkButtonContent.js.map +1 -0
- package/dist/ui-kit/{Button/ButtonProps.d.ts → LinkButton/LinkButtonProps.d.ts} +3 -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 +9 -0
- package/{mobile/dist/ui-kit/Button → dist/ui-kit/LinkButton}/buttonClassNameConstants.js +4 -0
- package/dist/ui-kit/LinkButton/buttonClassNameConstants.js.map +1 -0
- package/{lib/ui-kit/Button → dist/ui-kit/LinkButton}/getDisabledButtonClasses.d.ts +1 -0
- package/dist/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.js +1 -0
- package/dist/ui-kit/LinkButton/getDisabledButtonClasses.js.map +1 -0
- package/{bundle/ui-kit/Button → dist/ui-kit/LinkButton}/getRegularButtonClasses.d.ts +1 -0
- package/{mobile/dist/ui-kit/Button → dist/ui-kit/LinkButton}/getRegularButtonClasses.js +1 -0
- package/dist/ui-kit/LinkButton/getRegularButtonClasses.js.map +1 -0
- package/{bundle/ui-kit/Button → dist/ui-kit/LinkButton}/renderArrows.d.ts +2 -0
- package/dist/ui-kit/{Button → LinkButton}/renderArrows.js +1 -0
- package/dist/ui-kit/LinkButton/renderArrows.js.map +1 -0
- package/dist/ui-kit/LinkButton/renderButtonsSection.d.ts +10 -0
- package/{mobile/dist/ui-kit/Button → dist/ui-kit/LinkButton}/renderButtonsSection.js +3 -2
- package/dist/ui-kit/LinkButton/renderButtonsSection.js.map +1 -0
- package/{lib/ui-kit/Button → dist/ui-kit/LinkButton}/useFormSubmit.d.ts +2 -1
- package/{mobile/dist/ui-kit/Button → dist/ui-kit/LinkButton}/useFormSubmit.js +1 -0
- 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/LinkButton/ArrowButton.d.ts +7 -0
- package/{mobile/lib/ui-kit/Button → lib/ui-kit/LinkButton}/ArrowButton.js +5 -2
- package/lib/ui-kit/LinkButton/ArrowButton.js.map +1 -0
- package/lib/ui-kit/LinkButton/ButtonInner.d.ts +3 -0
- package/lib/ui-kit/{Button → LinkButton}/ButtonInner.js +1 -0
- package/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -0
- package/lib/ui-kit/LinkButton/ButtonsSectionContent.d.ts +8 -0
- package/lib/ui-kit/LinkButton/ButtonsSectionContent.js.map +1 -0
- package/lib/ui-kit/LinkButton/GetButtonClassParams.d.ts +7 -0
- package/lib/ui-kit/LinkButton/GetButtonClassParams.js.map +1 -0
- package/{bundle/ui-kit/Button → lib/ui-kit/LinkButton}/LikeButton.d.ts +2 -0
- package/{mobile/lib/ui-kit/Button → lib/ui-kit/LinkButton}/LikeButton.js +1 -0
- package/lib/ui-kit/LinkButton/LikeButton.js.map +1 -0
- package/lib/ui-kit/LinkButton/LinkButton.d.ts +3 -0
- package/lib/ui-kit/LinkButton/LinkButton.fixture.d.ts +14 -0
- package/lib/ui-kit/LinkButton/LinkButton.js +18 -0
- package/lib/ui-kit/LinkButton/LinkButton.js.map +1 -0
- package/lib/ui-kit/{Button/ButtonContent.d.ts → LinkButton/LinkButtonContent.d.ts} +5 -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} +3 -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 +9 -0
- package/lib/ui-kit/{Button → LinkButton}/buttonClassNameConstants.js +4 -0
- package/lib/ui-kit/LinkButton/buttonClassNameConstants.js.map +1 -0
- package/{dist/ui-kit/Button → lib/ui-kit/LinkButton}/getDisabledButtonClasses.d.ts +1 -0
- package/{mobile/lib/ui-kit/Button → lib/ui-kit/LinkButton}/getDisabledButtonClasses.js +1 -0
- package/lib/ui-kit/LinkButton/getDisabledButtonClasses.js.map +1 -0
- package/{mobile/bundle/ui-kit/Button → lib/ui-kit/LinkButton}/getRegularButtonClasses.d.ts +1 -0
- package/{mobile/lib/ui-kit/Button → lib/ui-kit/LinkButton}/getRegularButtonClasses.js +1 -0
- package/lib/ui-kit/LinkButton/getRegularButtonClasses.js.map +1 -0
- package/lib/ui-kit/{Button → LinkButton}/renderArrows.d.ts +2 -0
- package/{mobile/lib/ui-kit/Button → lib/ui-kit/LinkButton}/renderArrows.js +1 -0
- package/lib/ui-kit/LinkButton/renderArrows.js.map +1 -0
- package/lib/ui-kit/LinkButton/renderButtonsSection.d.ts +9 -0
- package/{mobile/lib/ui-kit/Button → lib/ui-kit/LinkButton}/renderButtonsSection.js +3 -2
- package/lib/ui-kit/LinkButton/renderButtonsSection.js.map +1 -0
- package/{dist/ui-kit/Button → lib/ui-kit/LinkButton}/useFormSubmit.d.ts +2 -1
- package/{mobile/lib/ui-kit/Button → lib/ui-kit/LinkButton}/useFormSubmit.js +1 -0
- 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 +177 -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/LinkButton/ArrowButton.d.ts +7 -0
- package/mobile/bundle/ui-kit/LinkButton/ButtonInner.d.ts +3 -0
- package/mobile/bundle/ui-kit/LinkButton/ButtonsSectionContent.d.ts +8 -0
- package/mobile/bundle/ui-kit/LinkButton/GetButtonClassParams.d.ts +7 -0
- package/mobile/bundle/ui-kit/{Button → LinkButton}/LikeButton.d.ts +2 -0
- package/mobile/bundle/ui-kit/LinkButton/LinkButton.d.ts +3 -0
- package/mobile/bundle/ui-kit/{Button/ButtonContent.d.ts → LinkButton/LinkButtonContent.d.ts} +5 -3
- package/{bundle/ui-kit/Button/ButtonProps.d.ts → mobile/bundle/ui-kit/LinkButton/LinkButtonProps.d.ts} +3 -2
- package/mobile/bundle/ui-kit/LinkButton/buttonClassNameConstants.d.ts +9 -0
- package/mobile/bundle/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.d.ts +1 -0
- package/{dist/ui-kit/Button → mobile/bundle/ui-kit/LinkButton}/getRegularButtonClasses.d.ts +1 -0
- package/mobile/bundle/ui-kit/{Button → LinkButton}/renderArrows.d.ts +2 -0
- package/mobile/bundle/ui-kit/LinkButton/renderButtonsSection.d.ts +10 -0
- package/mobile/bundle/ui-kit/{Button → LinkButton}/useFormSubmit.d.ts +2 -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 +7 -0
- package/mobile/dist/ui-kit/{Button → LinkButton}/ArrowButton.js +5 -2
- package/mobile/dist/ui-kit/LinkButton/ArrowButton.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/ButtonInner.d.ts +3 -0
- package/{dist/ui-kit/Button → mobile/dist/ui-kit/LinkButton}/ButtonInner.js +1 -0
- package/mobile/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/ButtonsSectionContent.d.ts +8 -0
- package/mobile/dist/ui-kit/LinkButton/ButtonsSectionContent.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/GetButtonClassParams.d.ts +7 -0
- package/mobile/dist/ui-kit/LinkButton/GetButtonClassParams.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/LikeButton.d.ts +8 -0
- package/{dist/ui-kit/Button → mobile/dist/ui-kit/LinkButton}/LikeButton.js +1 -0
- package/mobile/dist/ui-kit/LinkButton/LikeButton.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/LinkButton.d.ts +3 -0
- package/mobile/dist/ui-kit/LinkButton/LinkButton.js +20 -0
- package/mobile/dist/ui-kit/LinkButton/LinkButton.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/LinkButtonContent.d.ts +22 -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 +16 -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 +9 -0
- package/{dist/ui-kit/Button → mobile/dist/ui-kit/LinkButton}/buttonClassNameConstants.js +4 -0
- package/mobile/dist/ui-kit/LinkButton/buttonClassNameConstants.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/getDisabledButtonClasses.d.ts +3 -0
- package/mobile/dist/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.js +1 -0
- package/mobile/dist/ui-kit/LinkButton/getDisabledButtonClasses.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/getRegularButtonClasses.d.ts +3 -0
- package/{dist/ui-kit/Button → mobile/dist/ui-kit/LinkButton}/getRegularButtonClasses.js +1 -0
- package/mobile/dist/ui-kit/LinkButton/getRegularButtonClasses.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/renderArrows.d.ts +13 -0
- package/mobile/dist/ui-kit/{Button → LinkButton}/renderArrows.js +1 -0
- package/mobile/dist/ui-kit/LinkButton/renderArrows.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/renderButtonsSection.d.ts +10 -0
- package/{dist/ui-kit/Button → mobile/dist/ui-kit/LinkButton}/renderButtonsSection.js +3 -2
- package/mobile/dist/ui-kit/LinkButton/renderButtonsSection.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/useFormSubmit.d.ts +4 -0
- package/{dist/ui-kit/Button → mobile/dist/ui-kit/LinkButton}/useFormSubmit.js +1 -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 +7 -0
- package/{lib/ui-kit/Button → mobile/lib/ui-kit/LinkButton}/ArrowButton.js +5 -2
- package/mobile/lib/ui-kit/LinkButton/ArrowButton.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/ButtonInner.d.ts +3 -0
- package/mobile/lib/ui-kit/{Button → LinkButton}/ButtonInner.js +1 -0
- package/mobile/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/ButtonsSectionContent.d.ts +8 -0
- package/mobile/lib/ui-kit/LinkButton/ButtonsSectionContent.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/GetButtonClassParams.d.ts +7 -0
- package/mobile/lib/ui-kit/LinkButton/GetButtonClassParams.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/LikeButton.d.ts +8 -0
- package/{lib/ui-kit/Button → mobile/lib/ui-kit/LinkButton}/LikeButton.js +1 -0
- package/mobile/lib/ui-kit/LinkButton/LikeButton.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/LinkButton.d.ts +3 -0
- package/mobile/lib/ui-kit/LinkButton/LinkButton.js +18 -0
- package/mobile/lib/ui-kit/LinkButton/LinkButton.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/LinkButtonContent.d.ts +22 -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 +16 -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 +9 -0
- package/mobile/lib/ui-kit/{Button → LinkButton}/buttonClassNameConstants.js +4 -0
- package/mobile/lib/ui-kit/LinkButton/buttonClassNameConstants.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/getDisabledButtonClasses.d.ts +3 -0
- package/{lib/ui-kit/Button → mobile/lib/ui-kit/LinkButton}/getDisabledButtonClasses.js +1 -0
- package/mobile/lib/ui-kit/LinkButton/getDisabledButtonClasses.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/getRegularButtonClasses.d.ts +3 -0
- package/{lib/ui-kit/Button → mobile/lib/ui-kit/LinkButton}/getRegularButtonClasses.js +1 -0
- package/mobile/lib/ui-kit/LinkButton/getRegularButtonClasses.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/renderArrows.d.ts +13 -0
- package/{lib/ui-kit/Button → mobile/lib/ui-kit/LinkButton}/renderArrows.js +1 -0
- package/mobile/lib/ui-kit/LinkButton/renderArrows.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/renderButtonsSection.d.ts +10 -0
- package/{lib/ui-kit/Button → mobile/lib/ui-kit/LinkButton}/renderButtonsSection.js +3 -2
- package/mobile/lib/ui-kit/LinkButton/renderButtonsSection.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/useFormSubmit.d.ts +4 -0
- package/{lib/ui-kit/Button → mobile/lib/ui-kit/LinkButton}/useFormSubmit.js +1 -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 +10 -7
- package/{src/ui-kit/Button → mobile/src/ui-kit/LinkButton}/ButtonInner.tsx +6 -5
- package/mobile/src/ui-kit/LinkButton/ButtonsSectionContent.ts +9 -0
- package/mobile/src/ui-kit/LinkButton/GetButtonClassParams.ts +8 -0
- package/{src/ui-kit/Button → mobile/src/ui-kit/LinkButton}/LikeButton.tsx +2 -0
- package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +54 -0
- package/mobile/src/ui-kit/{Button/ButtonContent.ts → LinkButton/LinkButtonContent.ts} +5 -3
- package/mobile/src/ui-kit/{Button/ButtonProps.ts → LinkButton/LinkButtonProps.ts} +3 -2
- package/mobile/src/ui-kit/{Button → LinkButton}/buttonClassNameConstants.ts +8 -4
- package/mobile/src/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.ts +1 -0
- package/{src/ui-kit/Button → mobile/src/ui-kit/LinkButton}/getRegularButtonClasses.ts +1 -0
- package/{src/ui-kit/Button → mobile/src/ui-kit/LinkButton}/renderArrows.tsx +2 -0
- package/mobile/src/ui-kit/{Button → LinkButton}/renderButtonsSection.tsx +6 -5
- package/mobile/src/ui-kit/{Button → LinkButton}/useFormSubmit.ts +2 -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 +10 -7
- package/{mobile/src/ui-kit/Button → src/ui-kit/LinkButton}/ButtonInner.tsx +6 -5
- package/src/ui-kit/LinkButton/ButtonsSectionContent.ts +9 -0
- package/src/ui-kit/LinkButton/GetButtonClassParams.ts +8 -0
- package/{mobile/src/ui-kit/Button → src/ui-kit/LinkButton}/LikeButton.tsx +2 -0
- package/src/ui-kit/LinkButton/LinkButton.fixture.tsx +216 -0
- package/src/ui-kit/LinkButton/LinkButton.tsx +54 -0
- package/src/ui-kit/{Button/ButtonContent.ts → LinkButton/LinkButtonContent.ts} +5 -3
- package/src/ui-kit/{Button/ButtonProps.ts → LinkButton/LinkButtonProps.ts} +3 -2
- package/src/ui-kit/{Button → LinkButton}/buttonClassNameConstants.ts +8 -4
- package/src/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.ts +1 -0
- package/{mobile/src/ui-kit/Button → src/ui-kit/LinkButton}/getRegularButtonClasses.ts +1 -0
- package/{mobile/src/ui-kit/Button → src/ui-kit/LinkButton}/renderArrows.tsx +2 -0
- package/src/ui-kit/{Button → LinkButton}/renderButtonsSection.tsx +6 -5
- package/src/ui-kit/{Button → LinkButton}/useFormSubmit.ts +2 -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/ArrowButton.d.ts +0 -4
- 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.d.ts +0 -4
- 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.d.ts +0 -4
- 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/ArrowButton.d.ts +0 -4
- 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.d.ts +0 -6
- 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.d.ts +0 -2
- package/mobile/dist/ui-kit/Button/getDisabledButtonClasses.js.map +0 -1
- package/mobile/dist/ui-kit/Button/getRegularButtonClasses.d.ts +0 -2
- package/mobile/dist/ui-kit/Button/getRegularButtonClasses.js.map +0 -1
- package/mobile/dist/ui-kit/Button/renderArrows.d.ts +0 -11
- 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.d.ts +0 -6
- 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.d.ts +0 -2
- package/mobile/lib/ui-kit/Button/getDisabledButtonClasses.js.map +0 -1
- package/mobile/lib/ui-kit/Button/getRegularButtonClasses.d.ts +0 -2
- package/mobile/lib/ui-kit/Button/getRegularButtonClasses.js.map +0 -1
- package/mobile/lib/ui-kit/Button/renderArrows.d.ts +0 -11
- 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/dist/ui-kit/{Button → LinkButton}/ButtonsSectionContent.js +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/GetButtonClassParams.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.fixture.d.ts +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/lib/ui-kit/{Button → LinkButton}/ButtonsSectionContent.js +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/GetButtonClassParams.js +0 -0
- /package/src/ui-kit/{Button → LinkButton}/LikeButton.fixture.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,59 @@
|
|
|
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
|
-
|
|
503
|
+
/** @deprecated */
|
|
504
|
+
const buttonStyleMap$1 = {
|
|
493
505
|
primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
|
|
494
506
|
secondary: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
|
|
495
507
|
white: 'text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main',
|
|
@@ -499,6 +511,7 @@
|
|
|
499
511
|
'': '',
|
|
500
512
|
};
|
|
501
513
|
const DisabledStyle = 'bg-main-divider text-main-disabled';
|
|
514
|
+
/** @deprecated */
|
|
502
515
|
const buttonDisabledStyleMap = {
|
|
503
516
|
primary: DisabledStyle,
|
|
504
517
|
secondary: DisabledStyle,
|
|
@@ -508,7 +521,9 @@
|
|
|
508
521
|
gray: DisabledStyle,
|
|
509
522
|
'': '',
|
|
510
523
|
};
|
|
524
|
+
/** @deprecated */
|
|
511
525
|
const buttonStyle = 'text-center font-sans select-none';
|
|
526
|
+
/** @deprecated */
|
|
512
527
|
const iconStyleMap = {
|
|
513
528
|
primary: 'group-hover/btn:brightness-0 group-hover/btn:invert',
|
|
514
529
|
secondary: 'group-hover/btn:brightness-0 group-hover/btn:invert',
|
|
@@ -519,6 +534,56 @@
|
|
|
519
534
|
'': '',
|
|
520
535
|
};
|
|
521
536
|
|
|
537
|
+
/** @deprecated */
|
|
538
|
+
const getRegularButtonClasses = ({ className, rounded, version, }) => [
|
|
539
|
+
buttonStyle,
|
|
540
|
+
'border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border h-fit',
|
|
541
|
+
version ? buttonStyleMap$1[version] : '',
|
|
542
|
+
rounded ? 'rounded-full' : 'rounded-md',
|
|
543
|
+
className,
|
|
544
|
+
].join(' ');
|
|
545
|
+
|
|
546
|
+
const useDialogManager = () => ({
|
|
547
|
+
open: (dialog, options = {}) => defaultEventBus.fire('dialog', { type: 'open', dialog, ...options }),
|
|
548
|
+
close: () => defaultEventBus.fire('dialog', { type: 'close' }),
|
|
549
|
+
closeAll: () => defaultEventBus.fire('dialog', { type: 'close', all: true }),
|
|
550
|
+
});
|
|
551
|
+
|
|
552
|
+
/* eslint-disable @typescript-eslint/ban-types */
|
|
553
|
+
const handlerDecorator = (handler, targetContent) => {
|
|
554
|
+
return handlerDecorator._impl(handler, targetContent);
|
|
555
|
+
};
|
|
556
|
+
handlerDecorator._impl = (handler) => handler;
|
|
557
|
+
handlerDecorator.setup = (impl) => {
|
|
558
|
+
handlerDecorator._impl = impl;
|
|
559
|
+
};
|
|
560
|
+
|
|
561
|
+
function useLink(params = {}) {
|
|
562
|
+
const { isRemote, basePath } = params;
|
|
563
|
+
const router = useRouter();
|
|
564
|
+
const { closeAll } = useDialogManager();
|
|
565
|
+
return (props) => ({
|
|
566
|
+
...props,
|
|
567
|
+
href: isRemote && !basePath ? props.href : adjustHref(router)(props.href, basePath),
|
|
568
|
+
'aria-label': props.text,
|
|
569
|
+
onClick: handlerDecorator(handleHref(props), props),
|
|
570
|
+
});
|
|
571
|
+
function handleHref({ href, target, onClick }) {
|
|
572
|
+
return (ev) => {
|
|
573
|
+
onClick && onClick(ev);
|
|
574
|
+
if (!href || isRemote || !isLocalURL(href, target)) {
|
|
575
|
+
// Default routing
|
|
576
|
+
return;
|
|
577
|
+
}
|
|
578
|
+
closeAll();
|
|
579
|
+
// Client routing
|
|
580
|
+
ev?.preventDefault();
|
|
581
|
+
router.push(href);
|
|
582
|
+
};
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
/** @deprecated */
|
|
522
587
|
const ButtonInner = JSX((props) => {
|
|
523
588
|
const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
|
|
524
589
|
const iconHideStyle = isWithText(props) ? 'hidden lg:block' : '';
|
|
@@ -534,6 +599,7 @@
|
|
|
534
599
|
};
|
|
535
600
|
const isWithText = ({ text, aboveText, appendLeft }) => Boolean(text || aboveText || !appendLeft);
|
|
536
601
|
|
|
602
|
+
/** @deprecated */
|
|
537
603
|
const getDisabledButtonClasses = ({ className, rounded, version, }) => [
|
|
538
604
|
'inline-block',
|
|
539
605
|
buttonStyle,
|
|
@@ -542,14 +608,7 @@
|
|
|
542
608
|
className,
|
|
543
609
|
].join(' ');
|
|
544
610
|
|
|
545
|
-
|
|
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
|
-
|
|
611
|
+
/** @deprecated */
|
|
553
612
|
const useFormSubmit = ({ method, href }) => useCallback((ev) => {
|
|
554
613
|
if (method !== 'POST' || !href) {
|
|
555
614
|
return;
|
|
@@ -570,7 +629,8 @@
|
|
|
570
629
|
form.submit();
|
|
571
630
|
}, []);
|
|
572
631
|
|
|
573
|
-
|
|
632
|
+
/** @deprecated */
|
|
633
|
+
const LinkButton = JSX(({ disabled, children, method = 'LINK', href, ...rest }) => {
|
|
574
634
|
const handleFormSubmit = useFormSubmit({ method, href });
|
|
575
635
|
const link = useLink();
|
|
576
636
|
const adjustedProps = link({ onClick: handleFormSubmit, href, ...rest });
|
|
@@ -580,57 +640,6 @@
|
|
|
580
640
|
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
641
|
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
642
|
|
|
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
643
|
function renderBackwardButton(version, handleClick) {
|
|
635
644
|
const iconVersion = version === 'primary' ? 'white' : 'black';
|
|
636
645
|
const className = 'w-12 h-12 min-h-12 min-w-12 flex items-center justify-center';
|
|
@@ -638,7 +647,7 @@
|
|
|
638
647
|
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
648
|
icon: 'ArrowLeftIcon',
|
|
640
649
|
iconVersion: iconVersion,
|
|
641
|
-
} }) }), jsx(
|
|
650
|
+
} }) }), jsx(LinkButton, { version: "link", className: "group-data-secondary:text-white/80", text: text, ariaLabel: text, onClick: handleClick })] }));
|
|
642
651
|
}
|
|
643
652
|
|
|
644
653
|
const imageAlignmentMap = {
|
|
@@ -710,6 +719,7 @@
|
|
|
710
719
|
|
|
711
720
|
const isIcon = (icon) => Boolean(icon?.src || icon?.icon);
|
|
712
721
|
|
|
722
|
+
/** @deprecated */
|
|
713
723
|
const renderButtonsSection = (buttons, { className, buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? (jsx("div", { className: style('flex', isVertical
|
|
714
724
|
? 'flex-col gap-xs justify-items-stretch'
|
|
715
725
|
: 'flex-wrap @xl:flex-nowrap gap-lg sm:gap-m', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
|
|
@@ -717,7 +727,7 @@
|
|
|
717
727
|
const { text, icon, iconRight, version, ...rest } = button || {};
|
|
718
728
|
const iconVersion = getIconVersion(icon, version);
|
|
719
729
|
const iconRightVersion = getIconVersion(iconRight, version);
|
|
720
|
-
return text || icon?.icon ? (jsx(
|
|
730
|
+
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
731
|
};
|
|
722
732
|
const DEFAULT_ICON_W = 24;
|
|
723
733
|
const getIconVersion = (icon, version = 'secondary') => {
|
|
@@ -979,7 +989,7 @@
|
|
|
979
989
|
return data || EMPTY_VALUE$4;
|
|
980
990
|
}
|
|
981
991
|
|
|
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(
|
|
992
|
+
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
993
|
|
|
984
994
|
const withValidator = (props, validator) => {
|
|
985
995
|
const { value, isDirty } = props;
|
|
@@ -1171,13 +1181,37 @@
|
|
|
1171
1181
|
|
|
1172
1182
|
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
1183
|
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1184
|
+
function useButton() {
|
|
1185
|
+
return (props) => ({
|
|
1186
|
+
...props,
|
|
1187
|
+
onClick: handlerDecorator(handleClick(props), props),
|
|
1178
1188
|
});
|
|
1179
|
-
|
|
1189
|
+
}
|
|
1190
|
+
function handleClick({ disabled, onClick }) {
|
|
1191
|
+
return (ev) => {
|
|
1192
|
+
!disabled && onClick && onClick(ev);
|
|
1193
|
+
};
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
const activeButtonStyleMap = 'text-white bg-primary-active';
|
|
1197
|
+
const disabledButtonStyle = 'bg-main-gray text-main-disabled cursor-not-allowed';
|
|
1198
|
+
const buttonStyleMap = {
|
|
1199
|
+
primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
|
|
1200
|
+
secondary: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
|
|
1201
|
+
};
|
|
1202
|
+
const secondaryButtonStyleMap = {
|
|
1203
|
+
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'),
|
|
1204
|
+
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
1205
|
};
|
|
1206
|
+
const Button = JSX(({ children, ...props }) => {
|
|
1207
|
+
const button = useButton();
|
|
1208
|
+
const { className, version = 'primary', active, disabled, type = 'button', rounded = true, role, onClick, } = button(props);
|
|
1209
|
+
return (jsx("button", { className: style('font-sans px-9 py-4', 'flex justify-center items-center gap-xs', active ? activeButtonStyleMap : '', disabled ? disabledButtonStyle : '', !active && !disabled
|
|
1210
|
+
? style(buttonStyleMap[version], secondaryButtonStyleMap[version])
|
|
1211
|
+
: '', rounded ? 'rounded-md' : '', className), type: type, role: role, onClick: onClick, children: children }));
|
|
1212
|
+
});
|
|
1213
|
+
|
|
1214
|
+
const renderSubmitButton = (button, className) => (jsx(Button, { className: style('w-full @xl:w-auto', className), type: "submit", children: button?.text ? button.text : 'Отправить заявку' }));
|
|
1181
1215
|
|
|
1182
1216
|
const initialFormState$5 = {
|
|
1183
1217
|
acquiringType: { key: 'Торговый эквайринг' },
|
|
@@ -1409,7 +1443,7 @@
|
|
|
1409
1443
|
version: button?.version,
|
|
1410
1444
|
});
|
|
1411
1445
|
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(
|
|
1446
|
+
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
1447
|
});
|
|
1414
1448
|
|
|
1415
1449
|
const SVG = JSX(({ className, viewBox, fill = 'none', width, height, paths, ...commonOptions }) => {
|
|
@@ -1831,12 +1865,16 @@
|
|
|
1831
1865
|
];
|
|
1832
1866
|
};
|
|
1833
1867
|
|
|
1834
|
-
|
|
1868
|
+
/** @deprecated */
|
|
1869
|
+
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
1870
|
? 'bg-secondary-light text-secondary-text'
|
|
1836
1871
|
: '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" }) })));
|
|
1872
|
+
/** @deprecated */
|
|
1837
1873
|
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" })));
|
|
1874
|
+
/** @deprecated */
|
|
1838
1875
|
const ScrollRightButton = JSX((props) => (jsx(ArrowButton, { ...props, className: `${props.className || ''} rotate-180`, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E", "data-block-control": "scroll-right" })));
|
|
1839
1876
|
|
|
1877
|
+
/** @deprecated */
|
|
1840
1878
|
function renderArrows({ dec, inc, canDec, canInc, btnClass, className = '', }) {
|
|
1841
1879
|
const isVisible = canDec || canInc;
|
|
1842
1880
|
return isVisible ? (jsxs("div", { children: [canDec ? (jsx(ArrowButton, { className: `absolute z-40 ${btnClass[0]} ${className}`, onClick: dec, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E", "data-block-control": "scroll-left", disabled: !canDec })) : null, canInc ? (jsx(ArrowButton, { className: `absolute z-40 rotate-180 ${btnClass[1]} ${className}`, onClick: inc, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E", "data-block-control": "scroll-right", disabled: !canInc })) : null] })) : null;
|
|
@@ -2650,12 +2688,7 @@
|
|
|
2650
2688
|
useEffect(() => {
|
|
2651
2689
|
setDisabled(amount <= 0);
|
|
2652
2690
|
}, [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] })] }));
|
|
2691
|
+
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
2692
|
});
|
|
2660
2693
|
|
|
2661
2694
|
const mapChildren = (mapper) => (children) => {
|
|
@@ -3139,7 +3172,7 @@
|
|
|
3139
3172
|
const cellsNode = cardCells.map(renderCardInfo);
|
|
3140
3173
|
const visibleCells = cellsNode.slice(0, VISIBLE_CELLS_COUNT);
|
|
3141
3174
|
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(
|
|
3175
|
+
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
3176
|
});
|
|
3144
3177
|
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
3178
|
|
|
@@ -3150,7 +3183,7 @@
|
|
|
3150
3183
|
const COLS_LENGTH_FOR_SCROLL$1 = 3;
|
|
3151
3184
|
const COLUMN_WIDTH$2 = 4 * 80 + 4 * 4; // w-80 + gap-4 = 336px
|
|
3152
3185
|
|
|
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(
|
|
3186
|
+
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
3187
|
|
|
3155
3188
|
const carouselContainerClassesMap = {
|
|
3156
3189
|
comparison: 'flex gap-m duration-1000',
|
|
@@ -3214,7 +3247,7 @@
|
|
|
3214
3247
|
|
|
3215
3248
|
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
3249
|
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(
|
|
3250
|
+
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
3251
|
|
|
3219
3252
|
const isOdd = (n) => n % 2 !== 0;
|
|
3220
3253
|
|
|
@@ -3301,7 +3334,7 @@
|
|
|
3301
3334
|
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
3335
|
});
|
|
3303
3336
|
|
|
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,
|
|
3337
|
+
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
3338
|
const renderFormItem = (field) => ([key, item]) => {
|
|
3306
3339
|
const type = item?.type;
|
|
3307
3340
|
switch (type) {
|
|
@@ -3437,7 +3470,7 @@
|
|
|
3437
3470
|
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
3471
|
});
|
|
3439
3472
|
|
|
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(
|
|
3473
|
+
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
3474
|
|
|
3442
3475
|
const DepositoryItem = ({ title, timestamp, publicId }) => {
|
|
3443
3476
|
const link = useLink({ basePath: '/' });
|
|
@@ -3497,7 +3530,7 @@
|
|
|
3497
3530
|
}
|
|
3498
3531
|
return null;
|
|
3499
3532
|
};
|
|
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(
|
|
3533
|
+
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
3534
|
|
|
3502
3535
|
const useLatestEvent = (eventBus, type, initialEvent) => {
|
|
3503
3536
|
const [latestEvent, setLatestEvent] = useState(initialEvent || null);
|
|
@@ -3629,7 +3662,7 @@
|
|
|
3629
3662
|
setSelected: handleSelectBuy(calcState, handleSetCalcState, currencyRatesBuy),
|
|
3630
3663
|
value: calcState.inputBuy,
|
|
3631
3664
|
setValue: (value) => handleInputBuy(handleSetCalcState, currencyRatesBuy)(value, calcState.selectBuy, calcState.selectSell),
|
|
3632
|
-
}), button?.text ? jsx(
|
|
3665
|
+
}), button?.text ? (jsx(LinkButton, { text: button.text, version: button?.version, ...button })) : null] }));
|
|
3633
3666
|
});
|
|
3634
3667
|
const handleSelectSell = (calcState, setCalcState, currencyRatesSell) => (value) => {
|
|
3635
3668
|
setCalcState({ selectSell: value });
|
|
@@ -3950,7 +3983,7 @@
|
|
|
3950
3983
|
}
|
|
3951
3984
|
};
|
|
3952
3985
|
|
|
3953
|
-
const Contacts = JSX(({ className = '', items }) => (jsxs("div", { className: className, children: [items?.length ? items.map(renderContactsGroup) : null, jsx(
|
|
3986
|
+
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
3987
|
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
3988
|
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
3989
|
const renderText = (type, text = '') => {
|
|
@@ -3991,7 +4024,7 @@
|
|
|
3991
4024
|
const { documents, relatedEnterprises, contacts, socialMedia, mobileApps } = useSWRResource(projectSettings.FOOTER || 'footer', {
|
|
3992
4025
|
fallback: rest.options?.page?.fallback,
|
|
3993
4026
|
});
|
|
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(
|
|
4027
|
+
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
4028
|
});
|
|
3996
4029
|
|
|
3997
4030
|
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 +4250,7 @@
|
|
|
4217
4250
|
default: 'px-lg bg-main-divider rounded hover:text-primary-main',
|
|
4218
4251
|
transparent: 'text-white hover:text-primary-hover',
|
|
4219
4252
|
};
|
|
4220
|
-
const InternetBankButton = JSX(({ version, internetBankUrl }) => internetBankUrl ? (jsx(
|
|
4253
|
+
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
4254
|
|
|
4222
4255
|
const HEADER_AREA_KEYS = ['all', 'header'];
|
|
4223
4256
|
const HeaderSubMenu = JSX(({ subItems = [], version, internetBankUrl }) => {
|
|
@@ -4297,7 +4330,7 @@
|
|
|
4297
4330
|
...controls,
|
|
4298
4331
|
btnClass: ['left-12', 'right-12'],
|
|
4299
4332
|
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(
|
|
4333
|
+
}), 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
4334
|
});
|
|
4302
4335
|
function renderGallery({ activeIndex, cards, selectedCardIndex, onClick }) {
|
|
4303
4336
|
const tabsShiftWidth = activeIndex * 460;
|
|
@@ -4720,7 +4753,7 @@
|
|
|
4720
4753
|
workAllTime: 'Круглосуточно',
|
|
4721
4754
|
billAcceptorEnable: 'Прием наличных',
|
|
4722
4755
|
};
|
|
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(
|
|
4756
|
+
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
4757
|
|
|
4725
4758
|
const defaultRenderCard = () => null;
|
|
4726
4759
|
const defaultFilterItems = () => [];
|
|
@@ -5066,7 +5099,7 @@
|
|
|
5066
5099
|
});
|
|
5067
5100
|
|
|
5068
5101
|
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(
|
|
5102
|
+
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
5103
|
});
|
|
5071
5104
|
const onSelectedBranch = (onChange) => (value) => {
|
|
5072
5105
|
onChange({ selectedBranch: value, selectedCaseVolume: '', selectedBoxSize: '' });
|
|
@@ -5182,7 +5215,7 @@
|
|
|
5182
5215
|
};
|
|
5183
5216
|
const renderDefaultStep = ({ styleMap, isMainButton, version }) => (step, i, arr) => {
|
|
5184
5217
|
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(
|
|
5218
|
+
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
5219
|
};
|
|
5187
5220
|
const getContainerWidth = (length) => (length < 5 ? 'w-72' : 'w-52');
|
|
5188
5221
|
|
|
@@ -5322,7 +5355,7 @@
|
|
|
5322
5355
|
const COLS_LENGTH_FOR_SCROLL = 2;
|
|
5323
5356
|
const COLUMN_WIDTH$1 = 4 * 80 + 40; // w-80 + pl-10 = 360px
|
|
5324
5357
|
|
|
5325
|
-
const TableInnerButton = JSX(({ className = '', isOpen, onClick }) => (jsx(
|
|
5358
|
+
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
5359
|
|
|
5327
5360
|
const renderButtonsCellData = ({ buttons }) => renderButtonsSection(buttons, {
|
|
5328
5361
|
buttonClassName: 'basis-0',
|
|
@@ -5420,7 +5453,7 @@
|
|
|
5420
5453
|
|
|
5421
5454
|
const linkButtonVersion = 'secondary';
|
|
5422
5455
|
|
|
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(
|
|
5456
|
+
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
5457
|
|
|
5425
5458
|
function useTariffsInnerTableData(directoryName) {
|
|
5426
5459
|
const { data } = useAsyncData(tariffsInnerTableDataUrl(directoryName), fetchTariffsInnerTableData);
|
|
@@ -5763,6 +5796,7 @@
|
|
|
5763
5796
|
};
|
|
5764
5797
|
}
|
|
5765
5798
|
|
|
5799
|
+
/** @deprecated */
|
|
5766
5800
|
const LikeButton = JSX(({ className, onClick, ariaLabel }) => (jsx("button", { type: "button", className: `border-0 w-9 bg-inherit cursor-pointer ${className || ''}`, onClick: onClick, "aria-label": ariaLabel, children: renderLikeIcon() })));
|
|
5767
5801
|
const renderLikeIcon = () => {
|
|
5768
5802
|
const handPath = 'M21.48 11.95c.5-1.4-.4-2.6-1.9-2.6h-4c-.6 0-1.1-.5-1-1.2l.5-3.2c.2-.9-.4-1.9-1.3-2.2-.8-.3-1.8.1-2.2.7l-4.1' +
|
|
@@ -5796,7 +5830,7 @@
|
|
|
5796
5830
|
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
5831
|
}
|
|
5798
5832
|
|
|
5799
|
-
const packageVersion = "0.14.
|
|
5833
|
+
const packageVersion = "0.14.66";
|
|
5800
5834
|
|
|
5801
5835
|
exports.Blocks = Blocks;
|
|
5802
5836
|
exports.ContentPage = ContentPage;
|