@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
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { type ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
2
|
-
import { type ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
|
|
3
|
-
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection';
|
|
4
1
|
import { Img } from '../../ui-kit/Img/Img';
|
|
5
2
|
import { type ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
6
3
|
import {
|
|
@@ -8,6 +5,9 @@ import {
|
|
|
8
5
|
type InnerTableButtonProps,
|
|
9
6
|
} from '../../ui-kit/InnerTable/InnerTableButton';
|
|
10
7
|
import { type TariffsTableInnerContent } from '../../ui-kit/InnerTable/InnerTableProps';
|
|
8
|
+
import { type ButtonsSectionContent } from '../../ui-kit/LinkButton/ButtonsSectionContent';
|
|
9
|
+
import { type LinkButtonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
|
|
10
|
+
import { renderButtonsSection } from '../../ui-kit/LinkButton/renderButtonsSection';
|
|
11
11
|
import { List } from '../../ui-kit/List/List';
|
|
12
12
|
import { type ListProps } from '../../ui-kit/List/ListContent';
|
|
13
13
|
import { Text } from '../../ui-kit/Text/Text';
|
|
@@ -15,7 +15,7 @@ import { type LabelDescriptionCell } from './TariffsTableContent';
|
|
|
15
15
|
|
|
16
16
|
export type EmbeddableCellDataType =
|
|
17
17
|
| LabelDescriptionCell
|
|
18
|
-
|
|
|
18
|
+
| LinkButtonContent
|
|
19
19
|
| ImageContent
|
|
20
20
|
| ListProps
|
|
21
21
|
| InnerTableButtonProps;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { type DescriptionProps, type LabelProps, type TitleProps } from '../../model/HeadlineType';
|
|
2
2
|
import { type UniBlockContent, type UniBlockProps } from '../../model/JSXBlock';
|
|
3
3
|
import { type IconProps } from '../../model/Picture';
|
|
4
|
-
import { type ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
|
|
5
4
|
import { type ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
6
5
|
import { type TariffsTableInnerContent } from '../../ui-kit/InnerTable/InnerTableProps';
|
|
6
|
+
import { type ButtonsSectionContent } from '../../ui-kit/LinkButton/ButtonsSectionContent';
|
|
7
7
|
import { type ListProps } from '../../ui-kit/List/ListContent';
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { type CarouselControls } from '../../hooks/useCarouselControls';
|
|
3
|
-
import { renderArrows } from '../../ui-kit/
|
|
3
|
+
import { renderArrows } from '../../ui-kit/LinkButton/renderArrows';
|
|
4
4
|
|
|
5
5
|
interface WrapperProps {
|
|
6
6
|
controls: CarouselControls;
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @title Тема кнопки
|
|
3
|
-
* @enumNames ["Основная", "Второстепенная"
|
|
4
|
-
* @default primary
|
|
3
|
+
* @enumNames ["Основная", "Второстепенная"]
|
|
5
4
|
*/
|
|
6
|
-
export type ButtonVersion =
|
|
7
|
-
| 'primary'
|
|
8
|
-
| 'secondary'
|
|
9
|
-
| 'white'
|
|
10
|
-
| 'link'
|
|
11
|
-
| 'transparent'
|
|
12
|
-
| 'gray'
|
|
13
|
-
| '';
|
|
5
|
+
export type ButtonVersion = 'primary' | 'secondary';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @title Тема кнопки
|
|
3
|
+
* @enumNames ["Основная", "Второстепенная", "Белая", "Ссылка", "Прозрачная", "Серая", "Наследуемая"]
|
|
4
|
+
* @default primary
|
|
5
|
+
*/
|
|
6
|
+
export type LinkButtonVersion =
|
|
7
|
+
| 'primary'
|
|
8
|
+
| 'secondary'
|
|
9
|
+
| 'white'
|
|
10
|
+
| 'link'
|
|
11
|
+
| 'transparent'
|
|
12
|
+
| 'gray'
|
|
13
|
+
| '';
|
|
@@ -45,6 +45,11 @@ useRouter.setup(() => {
|
|
|
45
45
|
});
|
|
46
46
|
|
|
47
47
|
handlerDecorator.setup((handler): any => (ev) => {
|
|
48
|
-
ev
|
|
48
|
+
const shouldNotPrevent = ev?.target?.type === 'submit';
|
|
49
|
+
|
|
50
|
+
if (!shouldNotPrevent) {
|
|
51
|
+
ev.preventDefault();
|
|
52
|
+
}
|
|
53
|
+
|
|
49
54
|
handler(ev);
|
|
50
55
|
});
|
|
@@ -36,7 +36,9 @@ export const renderFiltrationForm = ({
|
|
|
36
36
|
</div>
|
|
37
37
|
{resetButton ? (
|
|
38
38
|
<div>
|
|
39
|
-
<Button className="w-full @4xl:w-72 @4xl:ml-s" onClick={reset}
|
|
39
|
+
<Button className="w-full @4xl:w-72 @4xl:ml-s" onClick={reset}>
|
|
40
|
+
{resetButton?.text}
|
|
41
|
+
</Button>
|
|
40
42
|
</div>
|
|
41
43
|
) : null}
|
|
42
44
|
</form>
|
|
@@ -5,8 +5,8 @@ import { type UniBlockProps } from '../../model/JSXBlock';
|
|
|
5
5
|
import { type VNode } from '../../model/VNode';
|
|
6
6
|
import { BaseTile } from '../BaseTile/BaseTile';
|
|
7
7
|
import { BenefitsList } from '../BenefitsList/BenefitsList';
|
|
8
|
-
import { renderButtonsSection } from '../Button/renderButtonsSection';
|
|
9
8
|
import { Img } from '../Img/Img';
|
|
9
|
+
import { renderButtonsSection } from '../LinkButton/renderButtonsSection';
|
|
10
10
|
import { List } from '../List/List';
|
|
11
11
|
import { type ListItemSize } from '../List/ListContent';
|
|
12
12
|
import { PriceList } from '../PriceList/PriceList';
|
|
@@ -2,8 +2,8 @@ import { type Align } from '../../model/Align';
|
|
|
2
2
|
import { type BulletsProps } from '../../model/Bullets';
|
|
3
3
|
import { type HeadlineProps } from '../../model/HeadlineType';
|
|
4
4
|
import { type BenefitsListContent } from '../BenefitsList/BenefitsListContent';
|
|
5
|
-
import { type ButtonsSectionContent } from '../Button/ButtonsSectionContent';
|
|
6
5
|
import { type ImageContent } from '../Img/ImgProps';
|
|
6
|
+
import { type ButtonsSectionContent } from '../LinkButton/ButtonsSectionContent';
|
|
7
7
|
import { type ListContent } from '../List/ListContent';
|
|
8
8
|
import { type RichTextProps } from '../RichText/RichTextProps';
|
|
9
9
|
import { type TagsContent } from '../Tags/TagsContent';
|
|
@@ -1,49 +1,75 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { type
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
2
|
+
import { type ButtonVersion } from '../../model/ButtonVersion';
|
|
3
|
+
import { style } from '../../utils/style';
|
|
4
|
+
import { type ARIAProps } from '../ARIAProps';
|
|
5
|
+
import { type ControlStateProps } from '../ControlStateProps';
|
|
6
|
+
import type { PreventableEvent } from '../PreventableEvent';
|
|
7
|
+
import { useButton } from './useButton';
|
|
8
|
+
|
|
9
|
+
const activeButtonStyleMap = 'text-white bg-primary-active';
|
|
10
|
+
|
|
11
|
+
const disabledButtonStyle = 'bg-main-gray text-main-disabled cursor-not-allowed';
|
|
12
|
+
|
|
13
|
+
const buttonStyleMap: Record<ButtonVersion, string> = {
|
|
14
|
+
primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
|
|
15
|
+
secondary:
|
|
16
|
+
'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const secondaryButtonStyleMap: Record<ButtonVersion, string> = {
|
|
20
|
+
primary: style(
|
|
21
|
+
'group-data-secondary:text-primary-main group-data-secondary:bg-white',
|
|
22
|
+
'group-data-secondary:hover:text-white group-data-secondary:hover:bg-primary-hover',
|
|
23
|
+
'group-data-secondary:active:bg-primary-active',
|
|
24
|
+
),
|
|
25
|
+
secondary: style(
|
|
26
|
+
'group-data-secondary:text-white group-data-secondary:bg-white/20',
|
|
27
|
+
'group-data-secondary:hover:bg-primary-hover',
|
|
28
|
+
'group-data-secondary:active:bg-primary-active',
|
|
29
|
+
),
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export interface ButtonProps extends ControlStateProps, ARIAProps {
|
|
33
|
+
className?: string;
|
|
34
|
+
version?: ButtonVersion;
|
|
35
|
+
type?: 'button' | 'submit' | 'reset' | undefined;
|
|
36
|
+
rounded?: boolean;
|
|
37
|
+
role?: string;
|
|
38
|
+
onClick?: (ev?: PreventableEvent) => void;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export const Button = JSX<ButtonProps>(({ children, ...props }) => {
|
|
42
|
+
const button = useButton();
|
|
43
|
+
|
|
44
|
+
const {
|
|
45
|
+
className,
|
|
46
|
+
version = 'primary',
|
|
47
|
+
active,
|
|
48
|
+
disabled,
|
|
49
|
+
type = 'button',
|
|
50
|
+
rounded = true,
|
|
51
|
+
role,
|
|
52
|
+
onClick,
|
|
53
|
+
} = button(props);
|
|
22
54
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
55
|
+
return (
|
|
56
|
+
<button
|
|
57
|
+
className={style(
|
|
58
|
+
'font-sans px-9 py-4',
|
|
59
|
+
'flex justify-center items-center gap-xs',
|
|
60
|
+
active ? activeButtonStyleMap : '',
|
|
61
|
+
disabled ? disabledButtonStyle : '',
|
|
62
|
+
!active && !disabled
|
|
63
|
+
? style(buttonStyleMap[version], secondaryButtonStyleMap[version])
|
|
64
|
+
: '',
|
|
65
|
+
rounded ? 'rounded-md' : '',
|
|
66
|
+
className,
|
|
67
|
+
)}
|
|
68
|
+
type={type}
|
|
69
|
+
role={role}
|
|
32
70
|
onClick={onClick}
|
|
33
71
|
>
|
|
34
72
|
{children}
|
|
35
|
-
</
|
|
36
|
-
)
|
|
37
|
-
);
|
|
38
|
-
|
|
39
|
-
const DisabledButton = JSX<ButtonProps>(({ className, ariaLabel, version, rounded, children }) => (
|
|
40
|
-
<div
|
|
41
|
-
role="button"
|
|
42
|
-
aria-disabled="true"
|
|
43
|
-
aria-label={ariaLabel}
|
|
44
|
-
tabIndex={-1}
|
|
45
|
-
className={getDisabledButtonClasses({ className, rounded, version })}
|
|
46
|
-
>
|
|
47
|
-
{children}
|
|
48
|
-
</div>
|
|
49
|
-
));
|
|
73
|
+
</button>
|
|
74
|
+
);
|
|
75
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { handlerDecorator } from '../../hooks/handlerDecorator';
|
|
2
|
+
import { type PreventableEvent } from '../PreventableEvent';
|
|
3
|
+
import { type ButtonProps } from './Button';
|
|
4
|
+
|
|
5
|
+
export function useButton() {
|
|
6
|
+
return (props: ButtonProps): ButtonProps => ({
|
|
7
|
+
...props,
|
|
8
|
+
onClick: handlerDecorator(handleClick(props), props),
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
function handleClick({ disabled, onClick }: Partial<ButtonProps>) {
|
|
13
|
+
return (ev?: PreventableEvent) => {
|
|
14
|
+
!disabled && onClick && onClick(ev);
|
|
15
|
+
};
|
|
16
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { type TariffsTableCellIndexProps } from '../../components/TariffsTable/TariffsTableContent';
|
|
3
|
-
import { Button } from '../Button/Button';
|
|
4
3
|
import { Img } from '../Img/Img';
|
|
4
|
+
import { LinkButton } from '../LinkButton/LinkButton';
|
|
5
5
|
import { type TariffsTableInnerContent } from './InnerTableProps';
|
|
6
6
|
|
|
7
7
|
export interface InnerTableButtonProps
|
|
@@ -14,7 +14,7 @@ export interface InnerTableButtonProps
|
|
|
14
14
|
|
|
15
15
|
export const TableInnerButton = JSX<InnerTableButtonProps>(
|
|
16
16
|
({ className = '', isOpen, onClick }) => (
|
|
17
|
-
<
|
|
17
|
+
<LinkButton
|
|
18
18
|
className={className}
|
|
19
19
|
appendRight={
|
|
20
20
|
<Img image={{ icon: isOpen ? 'ArrowUpIcon' : 'ArrowDownIcon' }} width="20" height="20" />
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import { Button } from '../Button/Button';
|
|
3
2
|
import { Icon } from '../Icon/Icon';
|
|
3
|
+
import { LinkButton } from '../LinkButton/LinkButton';
|
|
4
4
|
import { linkButtonVersion } from './linkButtonVersion';
|
|
5
5
|
|
|
6
6
|
export interface InnerTableHeaderProps {
|
|
@@ -29,7 +29,7 @@ export const InnerTableHeader = JSX<InnerTableHeaderProps>(
|
|
|
29
29
|
</div>
|
|
30
30
|
) : null}
|
|
31
31
|
{linkToPDF ? (
|
|
32
|
-
<
|
|
32
|
+
<LinkButton
|
|
33
33
|
className="text-primary-main"
|
|
34
34
|
href={linkToPDF}
|
|
35
35
|
version={linkButtonVersion}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { style } from '../../utils/style';
|
|
3
3
|
import { Img } from '../Img/Img';
|
|
4
|
-
import {
|
|
5
|
-
import { type
|
|
4
|
+
import { LinkButton } from './LinkButton';
|
|
5
|
+
import { type LinkButtonProps } from './LinkButtonProps';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
/** @deprecated */
|
|
8
|
+
export const ArrowButton = JSX<LinkButtonProps>(({ className, disabled, ...rest }) => (
|
|
9
|
+
<LinkButton
|
|
9
10
|
rounded
|
|
10
11
|
className={style(
|
|
11
12
|
'group/btn w-12 h-12 min-h-12 max-h-12 flex items-center justify-center shadow-main-black',
|
|
@@ -24,14 +25,16 @@ export const ArrowButton = JSX<ButtonProps>(({ className, disabled, ...rest }) =
|
|
|
24
25
|
width="16"
|
|
25
26
|
height="16"
|
|
26
27
|
/>
|
|
27
|
-
</
|
|
28
|
+
</LinkButton>
|
|
28
29
|
));
|
|
29
30
|
|
|
30
|
-
|
|
31
|
+
/** @deprecated */
|
|
32
|
+
export const ScrollLeftButton = JSX<LinkButtonProps>((props) => (
|
|
31
33
|
<ArrowButton {...props} ariaLabel="Пролистать влево" data-block-control="scroll-left" />
|
|
32
34
|
));
|
|
33
35
|
|
|
34
|
-
|
|
36
|
+
/** @deprecated */
|
|
37
|
+
export const ScrollRightButton = JSX<LinkButtonProps>((props) => (
|
|
35
38
|
<ArrowButton
|
|
36
39
|
{...props}
|
|
37
40
|
className={`${props.className || ''} rotate-180`}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { style } from '../../utils/style';
|
|
3
3
|
import { iconStyleMap } from './buttonClassNameConstants';
|
|
4
|
-
import { type
|
|
5
|
-
import { type
|
|
4
|
+
import { type LinkButtonContent } from './LinkButtonContent';
|
|
5
|
+
import { type LinkButtonProps } from './LinkButtonProps';
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
/** @deprecated */
|
|
8
|
+
export const ButtonInner = JSX<LinkButtonProps>((props) => {
|
|
8
9
|
const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
|
|
9
10
|
const iconHideStyle = isWithText(props) ? 'hidden lg:block' : '';
|
|
10
11
|
|
|
@@ -26,7 +27,7 @@ export const ButtonInner = JSX<ButtonProps>((props) => {
|
|
|
26
27
|
);
|
|
27
28
|
});
|
|
28
29
|
|
|
29
|
-
const getButtonStyle = (props:
|
|
30
|
+
const getButtonStyle = (props: LinkButtonContent) => {
|
|
30
31
|
const { version, aboveText, rounded } = props;
|
|
31
32
|
|
|
32
33
|
if (version === 'link') {
|
|
@@ -42,5 +43,5 @@ const getButtonStyle = (props: ButtonContent) => {
|
|
|
42
43
|
);
|
|
43
44
|
};
|
|
44
45
|
|
|
45
|
-
const isWithText = ({ text, aboveText, appendLeft }:
|
|
46
|
+
const isWithText = ({ text, aboveText, appendLeft }: LinkButtonProps) =>
|
|
46
47
|
Boolean(text || aboveText || !appendLeft);
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
|
|
3
|
+
/** @deprecated */
|
|
3
4
|
export interface LikeButtonProps {
|
|
4
5
|
className?: string;
|
|
5
6
|
onClick?: () => void;
|
|
6
7
|
ariaLabel?: string;
|
|
7
8
|
}
|
|
8
9
|
|
|
10
|
+
/** @deprecated */
|
|
9
11
|
export const LikeButton = JSX<LikeButtonProps>(({ className, onClick, ariaLabel }) => (
|
|
10
12
|
<button
|
|
11
13
|
type="button"
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { useLink } from '../../hooks/useLink';
|
|
3
|
+
import { ButtonInner } from './ButtonInner';
|
|
4
|
+
import { getDisabledButtonClasses } from './getDisabledButtonClasses';
|
|
5
|
+
import { getRegularButtonClasses } from './getRegularButtonClasses';
|
|
6
|
+
import { type LinkButtonProps } from './LinkButtonProps';
|
|
7
|
+
import { useFormSubmit } from './useFormSubmit';
|
|
8
|
+
|
|
9
|
+
/** @deprecated */
|
|
10
|
+
export const LinkButton = JSX<LinkButtonProps>(
|
|
11
|
+
({ disabled, children, method = 'LINK', href, ...rest }) => {
|
|
12
|
+
const handleFormSubmit = useFormSubmit({ method, href });
|
|
13
|
+
|
|
14
|
+
const link = useLink();
|
|
15
|
+
const adjustedProps = link({ onClick: handleFormSubmit, href, ...rest });
|
|
16
|
+
const buttonInner = children ?? <ButtonInner {...adjustedProps} />;
|
|
17
|
+
|
|
18
|
+
return disabled ? (
|
|
19
|
+
<DisabledButton {...adjustedProps}>{buttonInner}</DisabledButton>
|
|
20
|
+
) : (
|
|
21
|
+
<RegularButton {...adjustedProps}>{buttonInner}</RegularButton>
|
|
22
|
+
);
|
|
23
|
+
},
|
|
24
|
+
);
|
|
25
|
+
|
|
26
|
+
const RegularButton = JSX<LinkButtonProps>(
|
|
27
|
+
({ className = '', href, rel, target, ariaLabel, version, rounded, onClick, children }) => (
|
|
28
|
+
<a
|
|
29
|
+
className={getRegularButtonClasses({ className, version, rounded })}
|
|
30
|
+
href={href}
|
|
31
|
+
rel={rel}
|
|
32
|
+
target={target}
|
|
33
|
+
aria-label={ariaLabel}
|
|
34
|
+
role={href ? 'link' : 'button'}
|
|
35
|
+
onClick={onClick}
|
|
36
|
+
>
|
|
37
|
+
{children}
|
|
38
|
+
</a>
|
|
39
|
+
),
|
|
40
|
+
);
|
|
41
|
+
|
|
42
|
+
const DisabledButton = JSX<LinkButtonProps>(
|
|
43
|
+
({ className, ariaLabel, version, rounded, children }) => (
|
|
44
|
+
<div
|
|
45
|
+
role="button"
|
|
46
|
+
aria-disabled="true"
|
|
47
|
+
aria-label={ariaLabel}
|
|
48
|
+
tabIndex={-1}
|
|
49
|
+
className={getDisabledButtonClasses({ className, rounded, version })}
|
|
50
|
+
>
|
|
51
|
+
{children}
|
|
52
|
+
</div>
|
|
53
|
+
),
|
|
54
|
+
);
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type LinkButtonVersion } from '../../model/LinkButtonVersion';
|
|
2
2
|
import { type LinkProps } from '../../model/LinkProps';
|
|
3
3
|
import { type Picture } from '../../model/Picture';
|
|
4
4
|
|
|
5
|
+
/** @deprecated */
|
|
5
6
|
export interface ButtonCommonContent extends LinkProps {
|
|
6
|
-
version?:
|
|
7
|
+
version?: LinkButtonVersion;
|
|
7
8
|
method?: 'LINK' | 'POST';
|
|
8
9
|
}
|
|
9
10
|
|
|
11
|
+
/** @deprecated */
|
|
10
12
|
/**
|
|
11
13
|
* @title Кнопка
|
|
12
14
|
*/
|
|
13
|
-
export interface
|
|
15
|
+
export interface LinkButtonContent extends ButtonCommonContent {
|
|
14
16
|
/** @title Закругленные углы */
|
|
15
17
|
rounded?: boolean;
|
|
16
18
|
/** @title Иконка слева */
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { type VNode } from '../../model/VNode';
|
|
2
2
|
import { type PreventableEvent } from '../PreventableEvent';
|
|
3
|
-
import { type
|
|
3
|
+
import { type LinkButtonContent } from './LinkButtonContent';
|
|
4
4
|
|
|
5
|
+
/** @deprecated */
|
|
5
6
|
/**
|
|
6
7
|
* @title Кнопка
|
|
7
8
|
*/
|
|
8
|
-
export interface
|
|
9
|
+
export interface LinkButtonProps extends LinkButtonContent {
|
|
9
10
|
className?: string;
|
|
10
11
|
disabled?: boolean;
|
|
11
12
|
rel?: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type LinkButtonVersion } from '../../model/LinkButtonVersion';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
/** @deprecated */
|
|
4
|
+
export const buttonStyleMap: Record<LinkButtonVersion, string> = {
|
|
4
5
|
primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
|
|
5
6
|
secondary:
|
|
6
7
|
'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
|
|
@@ -14,7 +15,8 @@ export const buttonStyleMap: Record<ButtonVersion, string> = {
|
|
|
14
15
|
|
|
15
16
|
const DisabledStyle = 'bg-main-divider text-main-disabled';
|
|
16
17
|
|
|
17
|
-
|
|
18
|
+
/** @deprecated */
|
|
19
|
+
export const buttonDisabledStyleMap: Record<LinkButtonVersion, string> = {
|
|
18
20
|
primary: DisabledStyle,
|
|
19
21
|
secondary: DisabledStyle,
|
|
20
22
|
white: DisabledStyle,
|
|
@@ -24,9 +26,11 @@ export const buttonDisabledStyleMap: Record<ButtonVersion, string> = {
|
|
|
24
26
|
'': '',
|
|
25
27
|
};
|
|
26
28
|
|
|
29
|
+
/** @deprecated */
|
|
27
30
|
export const buttonStyle = 'text-center font-sans select-none';
|
|
28
31
|
|
|
29
|
-
|
|
32
|
+
/** @deprecated */
|
|
33
|
+
export const iconStyleMap: Record<LinkButtonVersion, string> = {
|
|
30
34
|
primary: 'group-hover/btn:brightness-0 group-hover/btn:invert',
|
|
31
35
|
secondary: 'group-hover/btn:brightness-0 group-hover/btn:invert',
|
|
32
36
|
white: 'group-hover/btn:brightness-0 group-hover/btn:invert',
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ArrowButton } from './ArrowButton';
|
|
2
2
|
|
|
3
|
+
/** @deprecated */
|
|
3
4
|
export type RenderArrowsProps = {
|
|
4
5
|
dec: () => void;
|
|
5
6
|
inc: () => void;
|
|
@@ -10,6 +11,7 @@ export type RenderArrowsProps = {
|
|
|
10
11
|
isDisabled?: boolean;
|
|
11
12
|
};
|
|
12
13
|
|
|
14
|
+
/** @deprecated */
|
|
13
15
|
export function renderArrows({
|
|
14
16
|
dec,
|
|
15
17
|
inc,
|
|
@@ -2,8 +2,8 @@ import { type Picture } from '../../model/Picture';
|
|
|
2
2
|
import { isIcon } from '../../utils/isIcon';
|
|
3
3
|
import { style } from '../../utils/style';
|
|
4
4
|
import { Img } from '../Img/Img';
|
|
5
|
-
import {
|
|
6
|
-
import { type
|
|
5
|
+
import { LinkButton } from './LinkButton';
|
|
6
|
+
import { type LinkButtonContent } from './LinkButtonContent';
|
|
7
7
|
|
|
8
8
|
interface ButtonsSectionOptions {
|
|
9
9
|
className?: string;
|
|
@@ -11,8 +11,9 @@ interface ButtonsSectionOptions {
|
|
|
11
11
|
isVertical?: boolean;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
/** @deprecated */
|
|
14
15
|
export const renderButtonsSection = (
|
|
15
|
-
buttons?: (
|
|
16
|
+
buttons?: (LinkButtonContent | undefined)[],
|
|
16
17
|
{ className, buttonClassName, isVertical }: ButtonsSectionOptions = {},
|
|
17
18
|
) =>
|
|
18
19
|
buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? (
|
|
@@ -31,13 +32,13 @@ export const renderButtonsSection = (
|
|
|
31
32
|
|
|
32
33
|
const renderButton =
|
|
33
34
|
(buttonClassName = '') =>
|
|
34
|
-
(button?:
|
|
35
|
+
(button?: LinkButtonContent, index?: number) => {
|
|
35
36
|
const { text, icon, iconRight, version, ...rest } = button || {};
|
|
36
37
|
const iconVersion = getIconVersion(icon, version);
|
|
37
38
|
const iconRightVersion = getIconVersion(iconRight, version);
|
|
38
39
|
|
|
39
40
|
return text || icon?.icon ? (
|
|
40
|
-
<
|
|
41
|
+
<LinkButton
|
|
41
42
|
key={index ? String(index) : ''}
|
|
42
43
|
className={style('basis-full @lg:basis-auto', buttonClassName)}
|
|
43
44
|
appendLeft={renderButtonIcon({ ...icon, iconVersion })}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
|
|
2
2
|
import { type PreventableEvent } from '../PreventableEvent';
|
|
3
|
-
import { type ButtonCommonContent } from './
|
|
3
|
+
import { type ButtonCommonContent } from './LinkButtonContent';
|
|
4
4
|
|
|
5
|
+
/** @deprecated */
|
|
5
6
|
export const useFormSubmit = ({ method, href }: ButtonCommonContent) =>
|
|
6
7
|
useCallback((ev: PreventableEvent) => {
|
|
7
8
|
if (method !== 'POST' || !href) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import { renderArrows } from '../
|
|
2
|
+
import { renderArrows } from '../LinkButton/renderArrows';
|
|
3
3
|
import { type TableArrowScrollControlProps } from './TableArrowScrollControlProps';
|
|
4
4
|
|
|
5
5
|
export const TableArrowScrollControl = JSX<TableArrowScrollControlProps>(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { style } from '../../utils/style';
|
|
3
|
-
import { ScrollLeftButton, ScrollRightButton } from '../
|
|
3
|
+
import { ScrollLeftButton, ScrollRightButton } from '../LinkButton/ArrowButton';
|
|
4
4
|
import { SwipeListContainer } from '../SwipeListControl/SwipeListContainer';
|
|
5
5
|
import { useSwipeListScroll } from '../SwipeListControl/useSwipeListScroll';
|
|
6
6
|
import { renderTab } from './renderTab';
|