@redneckz/wildless-cms-uni-blocks 0.14.65 → 0.14.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +166 -147
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
- package/bundle/components/Bonus/BonusContent.d.ts +1 -1
- package/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
- package/bundle/components/Calculator/CalculatorContent.d.ts +1 -1
- package/bundle/components/CardTransfer/CardTransferContent.d.ts +2 -2
- package/bundle/components/CarouselCard/CarouselCardContent.d.ts +2 -2
- package/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -2
- package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
- package/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
- package/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
- package/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
- package/bundle/components/Footer/FooterDataProps.d.ts +3 -3
- package/bundle/components/Footer/SocialMedia.d.ts +4 -4
- package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
- package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/bundle/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
- package/bundle/components/StepsBlock/StepsBlockContent.d.ts +3 -3
- package/bundle/components/TariffsTable/EmbeddableCellData.d.ts +3 -3
- package/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/bundle/model/ButtonVersion.d.ts +2 -3
- package/bundle/model/LinkButtonVersion.d.ts +6 -0
- package/bundle/ui-kit/ARIAProps.d.ts +4 -0
- package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +1 -1
- package/bundle/ui-kit/Button/Button.d.ts +12 -1
- package/bundle/ui-kit/Button/useButton.d.ts +2 -0
- package/bundle/ui-kit/ControlStateProps.d.ts +4 -0
- package/bundle/ui-kit/{Button → LinkButton}/ArrowButton.d.ts +4 -4
- package/bundle/ui-kit/LinkButton/ButtonInner.d.ts +2 -0
- package/bundle/ui-kit/LinkButton/ButtonsSectionContent.d.ts +7 -0
- package/bundle/ui-kit/LinkButton/GetButtonClassParams.d.ts +6 -0
- package/bundle/ui-kit/LinkButton/LinkButton.d.ts +2 -0
- package/{dist/ui-kit/Button/ButtonContent.d.ts → bundle/ui-kit/LinkButton/LinkButtonContent.d.ts} +3 -3
- package/{dist/ui-kit/Button/ButtonProps.d.ts → bundle/ui-kit/LinkButton/LinkButtonProps.d.ts} +2 -2
- package/bundle/ui-kit/LinkButton/buttonClassNameConstants.d.ts +5 -0
- package/bundle/ui-kit/LinkButton/renderButtonsSection.d.ts +9 -0
- package/bundle/ui-kit/{Button → LinkButton}/useFormSubmit.d.ts +1 -1
- package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
- package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +3 -3
- package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
- package/dist/components/ApplicationForm/Footnote.js +2 -2
- package/dist/components/ApplicationForm/Footnote.js.map +1 -1
- package/dist/components/ApplicationForm/renderSubmitButton.js +2 -8
- package/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
- package/dist/components/Bonus/Bonus.js +1 -1
- package/dist/components/Bonus/Bonus.js.map +1 -1
- package/dist/components/Bonus/BonusContent.d.ts +1 -1
- package/dist/components/ButtonsBlock/ButtonsBlock.js +1 -1
- package/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -1
- package/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
- package/dist/components/Calculator/BonusCalculatorForm.js +1 -1
- package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/Calculator.js +1 -1
- package/dist/components/Calculator/Calculator.js.map +1 -1
- package/dist/components/Calculator/CalculatorContent.d.ts +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.js +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/RefinancingCalculatorForm.js +1 -1
- package/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/dist/components/CardTransfer/CardTransfer.js +2 -9
- package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/dist/components/CardTransfer/CardTransferContent.d.ts +2 -2
- package/dist/components/Carousel/CarouselScrollButtons.js +1 -1
- package/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCard.js +1 -1
- package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCardContent.d.ts +2 -2
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -2
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
- package/dist/components/CarouselTariffsCard/renderCardInfo.js +1 -1
- package/dist/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTableRows.js +1 -1
- package/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/dist/components/ComparisonTable/HeaderCell.js +2 -2
- package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/dist/components/ComparisonTable/TableColumn.js +2 -2
- package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
- package/dist/components/ContactsBlock/ContactsBlock.js +2 -2
- package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/dist/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
- package/dist/components/Depository/DepositoryFilter.js +2 -1
- package/dist/components/Depository/DepositoryFilter.js.map +1 -1
- package/dist/components/ErrorBlock/ErrorBlock.js +2 -2
- package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/dist/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
- package/dist/components/Footer/Contacts.js +2 -2
- package/dist/components/Footer/Contacts.js.map +1 -1
- package/dist/components/Footer/Footer.js +2 -2
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +2 -2
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/FooterDataProps.d.ts +3 -3
- package/dist/components/Footer/SocialMedia.d.ts +4 -4
- package/dist/components/Footer/SocialMedia.js +1 -1
- package/dist/components/Footer/SocialMedia.js.map +1 -1
- package/dist/components/Header/HeaderTop.js +2 -2
- package/dist/components/Header/HeaderTop.js.map +1 -1
- package/dist/components/Header/InternetBankButton.js +2 -2
- package/dist/components/Header/InternetBankButton.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +3 -3
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/dist/components/LikeControl/LikeControl.js +1 -1
- package/dist/components/LikeControl/LikeControl.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/dist/components/OfficesAtmsMap/renderFiltrationForm.js +2 -2
- package/dist/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/dist/components/ProductBlock/renderBackwardButton.js +3 -3
- package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
- package/dist/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
- package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.js +1 -1
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlockContent.d.ts +3 -3
- package/dist/components/StepsBlock/renderStep.js +2 -2
- package/dist/components/StepsBlock/renderStep.js.map +1 -1
- package/dist/components/TariffsTable/EmbeddableCellData.d.ts +3 -3
- package/dist/components/TariffsTable/EmbeddableCellData.js +1 -1
- package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTableWrapper.js +1 -1
- package/dist/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
- package/dist/model/ButtonVersion.d.ts +2 -3
- package/dist/model/LinkButtonVersion.d.ts +6 -0
- package/dist/model/LinkButtonVersion.js +2 -0
- package/dist/model/LinkButtonVersion.js.map +1 -0
- package/dist/setup-fixture.js +4 -1
- package/dist/setup-fixture.js.map +1 -1
- package/dist/ui-kit/ARIAProps.d.ts +4 -0
- package/dist/ui-kit/{Button/ButtonProps.js → ARIAProps.js} +1 -1
- package/dist/ui-kit/ARIAProps.js.map +1 -0
- package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
- package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +1 -1
- package/dist/ui-kit/Button/Button.d.ts +12 -1
- package/dist/ui-kit/Button/Button.js +18 -13
- package/dist/ui-kit/Button/Button.js.map +1 -1
- package/dist/ui-kit/Button/useButton.d.ts +2 -0
- package/dist/ui-kit/Button/useButton.js +16 -0
- package/dist/ui-kit/Button/useButton.js.map +1 -0
- package/dist/ui-kit/ControlStateProps.d.ts +4 -0
- package/dist/ui-kit/ControlStateProps.js +2 -0
- package/dist/ui-kit/ControlStateProps.js.map +1 -0
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.js +1 -1
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableButton.js +2 -2
- package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableHeader.js +2 -2
- package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/dist/ui-kit/{Button → LinkButton}/ArrowButton.d.ts +4 -4
- package/dist/ui-kit/{Button → LinkButton}/ArrowButton.js +2 -2
- package/dist/ui-kit/LinkButton/ArrowButton.js.map +1 -0
- package/dist/ui-kit/LinkButton/ButtonInner.d.ts +2 -0
- package/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -0
- package/dist/ui-kit/LinkButton/ButtonsSectionContent.d.ts +7 -0
- package/dist/ui-kit/LinkButton/ButtonsSectionContent.js.map +1 -0
- package/dist/ui-kit/LinkButton/GetButtonClassParams.d.ts +6 -0
- package/dist/ui-kit/LinkButton/GetButtonClassParams.js.map +1 -0
- package/dist/ui-kit/LinkButton/LikeButton.js.map +1 -0
- package/dist/ui-kit/LinkButton/LinkButton.d.ts +2 -0
- package/dist/ui-kit/LinkButton/LinkButton.js +19 -0
- package/dist/ui-kit/LinkButton/LinkButton.js.map +1 -0
- package/{bundle/ui-kit/Button/ButtonContent.d.ts → dist/ui-kit/LinkButton/LinkButtonContent.d.ts} +3 -3
- package/dist/ui-kit/LinkButton/LinkButtonContent.js +2 -0
- package/dist/ui-kit/LinkButton/LinkButtonContent.js.map +1 -0
- package/{lib/ui-kit/Button/ButtonProps.d.ts → dist/ui-kit/LinkButton/LinkButtonProps.d.ts} +2 -2
- package/dist/ui-kit/{Button/ButtonContent.js → LinkButton/LinkButtonProps.js} +1 -1
- package/dist/ui-kit/LinkButton/LinkButtonProps.js.map +1 -0
- package/dist/ui-kit/LinkButton/buttonClassNameConstants.d.ts +5 -0
- package/dist/ui-kit/LinkButton/buttonClassNameConstants.js.map +1 -0
- package/dist/ui-kit/LinkButton/getDisabledButtonClasses.js.map +1 -0
- package/dist/ui-kit/LinkButton/getRegularButtonClasses.js.map +1 -0
- package/dist/ui-kit/LinkButton/renderArrows.js.map +1 -0
- package/dist/ui-kit/LinkButton/renderButtonsSection.d.ts +9 -0
- package/{mobile/dist/ui-kit/Button → dist/ui-kit/LinkButton}/renderButtonsSection.js +2 -2
- package/dist/ui-kit/LinkButton/renderButtonsSection.js.map +1 -0
- package/{lib/ui-kit/Button → dist/ui-kit/LinkButton}/useFormSubmit.d.ts +1 -1
- package/dist/ui-kit/LinkButton/useFormSubmit.js.map +1 -0
- package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +1 -1
- package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
- package/dist/ui-kit/TabsControl/ScrollableTabsControl.js +1 -1
- package/dist/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
- package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +3 -3
- package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
- package/lib/components/ApplicationForm/Footnote.js +2 -2
- package/lib/components/ApplicationForm/Footnote.js.map +1 -1
- package/lib/components/ApplicationForm/renderSubmitButton.js +2 -8
- package/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
- package/lib/components/Bonus/Bonus.js +1 -1
- package/lib/components/Bonus/Bonus.js.map +1 -1
- package/lib/components/Bonus/BonusContent.d.ts +1 -1
- package/lib/components/ButtonsBlock/ButtonsBlock.js +1 -1
- package/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -1
- package/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
- package/lib/components/Calculator/BonusCalculatorForm.js +1 -1
- package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/Calculator.js +1 -1
- package/lib/components/Calculator/Calculator.js.map +1 -1
- package/lib/components/Calculator/CalculatorContent.d.ts +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.js +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/RefinancingCalculatorForm.js +1 -1
- package/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/lib/components/CardTransfer/CardTransfer.js +2 -9
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/lib/components/CardTransfer/CardTransferContent.d.ts +2 -2
- package/lib/components/Carousel/CarouselScrollButtons.js +1 -1
- package/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCard.js +1 -1
- package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCardContent.d.ts +2 -2
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.fixture.d.ts +3 -3
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.fixture.mobile.d.ts +3 -3
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -2
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
- package/lib/components/CarouselTariffsCard/renderCardInfo.js +1 -1
- package/lib/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTableRows.js +1 -1
- package/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/lib/components/ComparisonTable/HeaderCell.js +2 -2
- package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/lib/components/ComparisonTable/TableColumn.js +2 -2
- package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
- package/lib/components/ContactsBlock/ContactsBlock.js +2 -2
- package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/lib/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
- package/lib/components/Depository/DepositoryFilter.js +2 -1
- package/lib/components/Depository/DepositoryFilter.js.map +1 -1
- package/lib/components/ErrorBlock/ErrorBlock.js +2 -2
- package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/lib/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
- package/lib/components/Footer/Contacts.js +2 -2
- package/lib/components/Footer/Contacts.js.map +1 -1
- package/lib/components/Footer/Footer.js +2 -2
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +2 -2
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/FooterDataProps.d.ts +3 -3
- package/lib/components/Footer/SocialMedia.d.ts +4 -4
- package/lib/components/Footer/SocialMedia.js +1 -1
- package/lib/components/Footer/SocialMedia.js.map +1 -1
- package/lib/components/Header/HeaderTop.js +2 -2
- package/lib/components/Header/HeaderTop.js.map +1 -1
- package/lib/components/Header/InternetBankButton.js +2 -2
- package/lib/components/Header/InternetBankButton.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +3 -3
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/lib/components/LikeControl/LikeControl.js +1 -1
- package/lib/components/LikeControl/LikeControl.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/lib/components/OfficesAtmsMap/renderFiltrationForm.js +2 -2
- package/lib/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/lib/components/ProductBlock/renderBackwardButton.js +3 -3
- package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.js +1 -1
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlockContent.d.ts +3 -3
- package/lib/components/StepsBlock/renderStep.js +2 -2
- package/lib/components/StepsBlock/renderStep.js.map +1 -1
- package/lib/components/TariffsTable/EmbeddableCellData.d.ts +3 -3
- package/lib/components/TariffsTable/EmbeddableCellData.js +1 -1
- package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTableWrapper.js +1 -1
- package/lib/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
- package/lib/model/ButtonVersion.d.ts +2 -3
- package/lib/model/LinkButtonVersion.d.ts +6 -0
- package/lib/model/LinkButtonVersion.js +2 -0
- package/lib/model/LinkButtonVersion.js.map +1 -0
- package/lib/setup-fixture.js +4 -1
- package/lib/setup-fixture.js.map +1 -1
- package/lib/ui-kit/ARIAProps.d.ts +4 -0
- package/lib/ui-kit/ARIAProps.js +2 -0
- package/lib/ui-kit/ARIAProps.js.map +1 -0
- package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
- package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +1 -1
- package/lib/ui-kit/Button/Button.d.ts +12 -1
- package/lib/ui-kit/Button/Button.fixture.d.ts +2 -10
- package/lib/ui-kit/Button/Button.js +18 -13
- package/lib/ui-kit/Button/Button.js.map +1 -1
- package/lib/ui-kit/Button/useButton.d.ts +2 -0
- package/lib/ui-kit/Button/useButton.js +13 -0
- package/lib/ui-kit/Button/useButton.js.map +1 -0
- package/lib/ui-kit/ControlStateProps.d.ts +4 -0
- package/lib/ui-kit/ControlStateProps.js +2 -0
- package/lib/ui-kit/ControlStateProps.js.map +1 -0
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.js +1 -1
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableButton.js +2 -2
- package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableHeader.js +2 -2
- package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/lib/ui-kit/{Button → LinkButton}/ArrowButton.d.ts +4 -4
- package/{mobile/lib/ui-kit/Button → lib/ui-kit/LinkButton}/ArrowButton.js +2 -2
- package/lib/ui-kit/LinkButton/ArrowButton.js.map +1 -0
- package/lib/ui-kit/LinkButton/ButtonInner.d.ts +2 -0
- package/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -0
- package/lib/ui-kit/LinkButton/ButtonsSectionContent.d.ts +7 -0
- package/lib/ui-kit/LinkButton/ButtonsSectionContent.js.map +1 -0
- package/lib/ui-kit/LinkButton/GetButtonClassParams.d.ts +6 -0
- package/lib/ui-kit/LinkButton/GetButtonClassParams.js.map +1 -0
- package/lib/ui-kit/LinkButton/LikeButton.js.map +1 -0
- package/lib/ui-kit/LinkButton/LinkButton.d.ts +2 -0
- package/lib/ui-kit/LinkButton/LinkButton.fixture.d.ts +14 -0
- package/lib/ui-kit/LinkButton/LinkButton.js +17 -0
- package/lib/ui-kit/LinkButton/LinkButton.js.map +1 -0
- package/lib/ui-kit/{Button/ButtonContent.d.ts → LinkButton/LinkButtonContent.d.ts} +3 -3
- package/lib/ui-kit/LinkButton/LinkButtonContent.js +2 -0
- package/lib/ui-kit/LinkButton/LinkButtonContent.js.map +1 -0
- package/{mobile/bundle/ui-kit/Button/ButtonProps.d.ts → lib/ui-kit/LinkButton/LinkButtonProps.d.ts} +2 -2
- package/lib/ui-kit/LinkButton/LinkButtonProps.js +2 -0
- package/lib/ui-kit/LinkButton/LinkButtonProps.js.map +1 -0
- package/lib/ui-kit/LinkButton/buttonClassNameConstants.d.ts +5 -0
- package/lib/ui-kit/LinkButton/buttonClassNameConstants.js.map +1 -0
- package/lib/ui-kit/LinkButton/getDisabledButtonClasses.js.map +1 -0
- package/lib/ui-kit/LinkButton/getRegularButtonClasses.js.map +1 -0
- package/lib/ui-kit/LinkButton/renderArrows.js.map +1 -0
- package/lib/ui-kit/LinkButton/renderButtonsSection.d.ts +8 -0
- package/{mobile/lib/ui-kit/Button → lib/ui-kit/LinkButton}/renderButtonsSection.js +2 -2
- package/lib/ui-kit/LinkButton/renderButtonsSection.js.map +1 -0
- package/{dist/ui-kit/Button → lib/ui-kit/LinkButton}/useFormSubmit.d.ts +1 -1
- package/lib/ui-kit/LinkButton/useFormSubmit.js.map +1 -0
- package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +1 -1
- package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
- package/lib/ui-kit/TabsControl/ScrollableTabsControl.js +1 -1
- package/lib/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +162 -143
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
- package/mobile/bundle/components/Bonus/BonusContent.d.ts +1 -1
- package/mobile/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
- package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +1 -1
- package/mobile/bundle/components/CardTransfer/CardTransferContent.d.ts +2 -2
- package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +2 -2
- package/mobile/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -2
- package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
- package/mobile/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
- package/mobile/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
- package/mobile/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
- package/mobile/bundle/components/Footer/FooterDataProps.d.ts +3 -3
- package/mobile/bundle/components/Footer/SocialMedia.d.ts +4 -4
- package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
- package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
- package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +3 -3
- package/mobile/bundle/components/TariffsTable/EmbeddableCellData.d.ts +3 -3
- package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/mobile/bundle/model/ButtonVersion.d.ts +2 -3
- package/mobile/bundle/model/LinkButtonVersion.d.ts +6 -0
- package/mobile/bundle/ui-kit/ARIAProps.d.ts +4 -0
- package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +1 -1
- package/mobile/bundle/ui-kit/Button/Button.d.ts +12 -1
- package/mobile/bundle/ui-kit/Button/useButton.d.ts +2 -0
- package/mobile/bundle/ui-kit/ControlStateProps.d.ts +4 -0
- package/mobile/bundle/ui-kit/{Button → LinkButton}/ArrowButton.d.ts +4 -4
- package/mobile/bundle/ui-kit/LinkButton/ButtonInner.d.ts +2 -0
- package/mobile/bundle/ui-kit/LinkButton/ButtonsSectionContent.d.ts +7 -0
- package/mobile/bundle/ui-kit/LinkButton/GetButtonClassParams.d.ts +6 -0
- package/mobile/bundle/ui-kit/LinkButton/LinkButton.d.ts +2 -0
- package/mobile/bundle/ui-kit/{Button/ButtonContent.d.ts → LinkButton/LinkButtonContent.d.ts} +3 -3
- package/{bundle/ui-kit/Button/ButtonProps.d.ts → mobile/bundle/ui-kit/LinkButton/LinkButtonProps.d.ts} +2 -2
- package/mobile/bundle/ui-kit/LinkButton/buttonClassNameConstants.d.ts +5 -0
- package/mobile/bundle/ui-kit/LinkButton/renderButtonsSection.d.ts +9 -0
- package/mobile/bundle/ui-kit/{Button → LinkButton}/useFormSubmit.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
- package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +3 -3
- package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/Footnote.js +2 -2
- package/mobile/dist/components/ApplicationForm/Footnote.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderSubmitButton.js +2 -8
- package/mobile/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
- package/mobile/dist/components/Bonus/Bonus.js +1 -1
- package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
- package/mobile/dist/components/Bonus/BonusContent.d.ts +1 -1
- package/mobile/dist/components/ButtonsBlock/ButtonsBlock.js +1 -1
- package/mobile/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -1
- package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/CalculatorContent.d.ts +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js +2 -9
- package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/dist/components/CardTransfer/CardTransferContent.d.ts +2 -2
- package/mobile/dist/components/Carousel/CarouselScrollButtons.js +1 -1
- package/mobile/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +2 -2
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -2
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
- package/mobile/dist/components/CarouselTariffsCard/renderCardInfo.js +1 -1
- package/mobile/dist/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/TableColumn.js +2 -2
- package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js +2 -2
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
- package/mobile/dist/components/Depository/DepositoryFilter.js +2 -1
- package/mobile/dist/components/Depository/DepositoryFilter.js.map +1 -1
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js +2 -2
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/dist/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
- package/mobile/dist/components/Footer/Contacts.js +2 -2
- package/mobile/dist/components/Footer/Contacts.js.map +1 -1
- package/mobile/dist/components/Footer/Footer.js +2 -2
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/FooterDataProps.d.ts +3 -3
- package/mobile/dist/components/Footer/SocialMedia.d.ts +4 -4
- package/mobile/dist/components/Footer/SocialMedia.js +1 -1
- package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/dist/components/Header/HeaderTop.js +2 -2
- package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
- package/mobile/dist/components/Header/InternetBankButton.js +2 -2
- package/mobile/dist/components/Header/InternetBankButton.js.map +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +3 -3
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/dist/components/LikeControl/LikeControl.js +1 -1
- package/mobile/dist/components/LikeControl/LikeControl.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/mobile/dist/components/OfficesAtmsMap/renderFiltrationForm.js +2 -2
- package/mobile/dist/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js +3 -3
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +3 -3
- package/mobile/dist/components/StepsBlock/renderStep.js +2 -2
- package/mobile/dist/components/StepsBlock/renderStep.js.map +1 -1
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.d.ts +3 -3
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +1 -1
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableWrapper.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
- package/mobile/dist/model/ButtonVersion.d.ts +2 -3
- package/mobile/dist/model/LinkButtonVersion.d.ts +6 -0
- package/mobile/dist/model/LinkButtonVersion.js +2 -0
- package/mobile/dist/model/LinkButtonVersion.js.map +1 -0
- package/mobile/dist/setup-fixture.js +4 -1
- package/mobile/dist/setup-fixture.js.map +1 -1
- package/mobile/dist/ui-kit/ARIAProps.d.ts +4 -0
- package/mobile/dist/ui-kit/{Button/ButtonProps.js → ARIAProps.js} +1 -1
- package/mobile/dist/ui-kit/ARIAProps.js.map +1 -0
- package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +1 -1
- package/mobile/dist/ui-kit/Button/Button.d.ts +12 -1
- package/mobile/dist/ui-kit/Button/Button.js +18 -13
- package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
- package/mobile/dist/ui-kit/Button/useButton.d.ts +2 -0
- package/mobile/dist/ui-kit/Button/useButton.js +16 -0
- package/mobile/dist/ui-kit/Button/useButton.js.map +1 -0
- package/mobile/dist/ui-kit/ControlStateProps.d.ts +4 -0
- package/mobile/dist/ui-kit/ControlStateProps.js +2 -0
- package/mobile/dist/ui-kit/ControlStateProps.js.map +1 -0
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js +2 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +2 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/mobile/dist/ui-kit/LinkButton/ArrowButton.d.ts +4 -0
- package/mobile/dist/ui-kit/{Button → LinkButton}/ArrowButton.js +2 -2
- package/mobile/dist/ui-kit/LinkButton/ArrowButton.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/ButtonInner.d.ts +2 -0
- package/mobile/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/ButtonsSectionContent.d.ts +7 -0
- package/mobile/dist/ui-kit/LinkButton/ButtonsSectionContent.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/GetButtonClassParams.d.ts +6 -0
- package/mobile/dist/ui-kit/LinkButton/GetButtonClassParams.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/LikeButton.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/LinkButton.d.ts +2 -0
- package/mobile/dist/ui-kit/LinkButton/LinkButton.js +19 -0
- package/mobile/dist/ui-kit/LinkButton/LinkButton.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/LinkButtonContent.d.ts +20 -0
- package/mobile/dist/ui-kit/LinkButton/LinkButtonContent.js +2 -0
- package/mobile/dist/ui-kit/LinkButton/LinkButtonContent.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/LinkButtonProps.d.ts +15 -0
- package/mobile/dist/ui-kit/{Button/ButtonContent.js → LinkButton/LinkButtonProps.js} +1 -1
- package/mobile/dist/ui-kit/LinkButton/LinkButtonProps.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/buttonClassNameConstants.d.ts +5 -0
- package/mobile/dist/ui-kit/LinkButton/buttonClassNameConstants.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/getDisabledButtonClasses.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/getRegularButtonClasses.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/renderArrows.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/renderButtonsSection.d.ts +9 -0
- package/{dist/ui-kit/Button → mobile/dist/ui-kit/LinkButton}/renderButtonsSection.js +2 -2
- package/mobile/dist/ui-kit/LinkButton/renderButtonsSection.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/useFormSubmit.d.ts +3 -0
- package/mobile/dist/ui-kit/LinkButton/useFormSubmit.js.map +1 -0
- package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +1 -1
- package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
- package/mobile/dist/ui-kit/TabsControl/ScrollableTabsControl.js +1 -1
- package/mobile/dist/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
- package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +3 -3
- package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/Footnote.js +2 -2
- package/mobile/lib/components/ApplicationForm/Footnote.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderSubmitButton.js +2 -8
- package/mobile/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
- package/mobile/lib/components/Bonus/Bonus.js +1 -1
- package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
- package/mobile/lib/components/Bonus/BonusContent.d.ts +1 -1
- package/mobile/lib/components/ButtonsBlock/ButtonsBlock.js +1 -1
- package/mobile/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -1
- package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/CalculatorContent.d.ts +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js +2 -9
- package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/lib/components/CardTransfer/CardTransferContent.d.ts +2 -2
- package/mobile/lib/components/Carousel/CarouselScrollButtons.js +1 -1
- package/mobile/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +2 -2
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -2
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
- package/mobile/lib/components/CarouselTariffsCard/renderCardInfo.js +1 -1
- package/mobile/lib/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/TableColumn.js +2 -2
- package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js +2 -2
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
- package/mobile/lib/components/Depository/DepositoryFilter.js +2 -1
- package/mobile/lib/components/Depository/DepositoryFilter.js.map +1 -1
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js +2 -2
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/lib/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
- package/mobile/lib/components/Footer/Contacts.js +2 -2
- package/mobile/lib/components/Footer/Contacts.js.map +1 -1
- package/mobile/lib/components/Footer/Footer.js +2 -2
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/FooterDataProps.d.ts +3 -3
- package/mobile/lib/components/Footer/SocialMedia.d.ts +4 -4
- package/mobile/lib/components/Footer/SocialMedia.js +1 -1
- package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/lib/components/Header/HeaderTop.js +2 -2
- package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
- package/mobile/lib/components/Header/InternetBankButton.js +2 -2
- package/mobile/lib/components/Header/InternetBankButton.js.map +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +3 -3
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/lib/components/LikeControl/LikeControl.js +1 -1
- package/mobile/lib/components/LikeControl/LikeControl.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/mobile/lib/components/OfficesAtmsMap/renderFiltrationForm.js +2 -2
- package/mobile/lib/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js +3 -3
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +3 -3
- package/mobile/lib/components/StepsBlock/renderStep.js +2 -2
- package/mobile/lib/components/StepsBlock/renderStep.js.map +1 -1
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.d.ts +3 -3
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +1 -1
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableWrapper.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
- package/mobile/lib/model/ButtonVersion.d.ts +2 -3
- package/mobile/lib/model/LinkButtonVersion.d.ts +6 -0
- package/mobile/lib/model/LinkButtonVersion.js +2 -0
- package/mobile/lib/model/LinkButtonVersion.js.map +1 -0
- package/mobile/lib/setup-fixture.js +4 -1
- package/mobile/lib/setup-fixture.js.map +1 -1
- package/mobile/lib/ui-kit/ARIAProps.d.ts +4 -0
- package/mobile/lib/ui-kit/ARIAProps.js +2 -0
- package/mobile/lib/ui-kit/ARIAProps.js.map +1 -0
- package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
- package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +1 -1
- package/mobile/lib/ui-kit/Button/Button.d.ts +12 -1
- package/mobile/lib/ui-kit/Button/Button.js +18 -13
- package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
- package/mobile/lib/ui-kit/Button/useButton.d.ts +2 -0
- package/mobile/lib/ui-kit/Button/useButton.js +13 -0
- package/mobile/lib/ui-kit/Button/useButton.js.map +1 -0
- package/mobile/lib/ui-kit/ControlStateProps.d.ts +4 -0
- package/mobile/lib/ui-kit/ControlStateProps.js +2 -0
- package/mobile/lib/ui-kit/ControlStateProps.js.map +1 -0
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js +2 -2
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +2 -2
- package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/mobile/lib/ui-kit/LinkButton/ArrowButton.d.ts +4 -0
- package/{lib/ui-kit/Button → mobile/lib/ui-kit/LinkButton}/ArrowButton.js +2 -2
- package/mobile/lib/ui-kit/LinkButton/ArrowButton.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/ButtonInner.d.ts +2 -0
- package/mobile/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/ButtonsSectionContent.d.ts +7 -0
- package/mobile/lib/ui-kit/LinkButton/ButtonsSectionContent.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/GetButtonClassParams.d.ts +6 -0
- package/mobile/lib/ui-kit/LinkButton/GetButtonClassParams.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/LikeButton.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/LinkButton.d.ts +2 -0
- package/mobile/lib/ui-kit/LinkButton/LinkButton.js +17 -0
- package/mobile/lib/ui-kit/LinkButton/LinkButton.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/LinkButtonContent.d.ts +20 -0
- package/mobile/lib/ui-kit/LinkButton/LinkButtonContent.js +2 -0
- package/mobile/lib/ui-kit/LinkButton/LinkButtonContent.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/LinkButtonProps.d.ts +15 -0
- package/mobile/lib/ui-kit/LinkButton/LinkButtonProps.js +2 -0
- package/mobile/lib/ui-kit/LinkButton/LinkButtonProps.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/buttonClassNameConstants.d.ts +5 -0
- package/mobile/lib/ui-kit/LinkButton/buttonClassNameConstants.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/getDisabledButtonClasses.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/getRegularButtonClasses.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/renderArrows.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/renderButtonsSection.d.ts +9 -0
- package/{lib/ui-kit/Button → mobile/lib/ui-kit/LinkButton}/renderButtonsSection.js +2 -2
- package/mobile/lib/ui-kit/LinkButton/renderButtonsSection.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/useFormSubmit.d.ts +3 -0
- package/mobile/lib/ui-kit/LinkButton/useFormSubmit.js.map +1 -0
- package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +1 -1
- package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
- package/mobile/lib/ui-kit/TabsControl/ScrollableTabsControl.js +1 -1
- package/mobile/lib/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +2 -2
- package/mobile/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +4 -4
- package/mobile/src/components/ApplicationForm/Footnote.tsx +3 -3
- package/mobile/src/components/ApplicationForm/renderSubmitButton.tsx +6 -13
- package/mobile/src/components/Bonus/Bonus.tsx +1 -1
- package/mobile/src/components/Bonus/BonusContent.ts +1 -1
- package/mobile/src/components/ButtonsBlock/ButtonsBlock.tsx +1 -1
- package/mobile/src/components/ButtonsBlock/ButtonsBlockContent.ts +2 -2
- package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
- package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +1 -1
- package/mobile/src/components/Calculator/CalculatorContent.ts +1 -1
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
- package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +1 -1
- package/mobile/src/components/Calculator/RefinancingCalculatorForm.tsx +1 -1
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +3 -17
- package/mobile/src/components/CardTransfer/CardTransferContent.ts +2 -2
- package/mobile/src/components/Carousel/CarouselScrollButtons.tsx +1 -1
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +1 -1
- package/mobile/src/components/CarouselCard/CarouselCardContent.ts +2 -2
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +2 -2
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -2
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +3 -3
- package/mobile/src/components/CarouselTariffsCard/renderCardInfo.tsx +1 -1
- package/mobile/src/components/ComparisonTable/ComparisonTableRows.tsx +1 -1
- package/mobile/src/components/ComparisonTable/TableColumn.tsx +5 -5
- package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +2 -2
- package/mobile/src/components/ContactsBlock/ContactsBlockContent.ts +2 -2
- package/mobile/src/components/Depository/DepositoryFilter.tsx +4 -6
- package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +4 -2
- package/mobile/src/components/ErrorBlock/ErrorBlockContent.ts +2 -2
- package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +5 -3
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +2 -2
- package/mobile/src/components/Footer/Contacts.tsx +2 -2
- package/mobile/src/components/Footer/Footer.tsx +2 -2
- package/mobile/src/components/Footer/FooterDataProps.ts +3 -3
- package/mobile/src/components/Footer/SocialMedia.tsx +6 -6
- package/mobile/src/components/Header/HeaderTop.tsx +3 -3
- package/mobile/src/components/Header/InternetBankButton.tsx +3 -3
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +2 -2
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +4 -4
- package/mobile/src/components/LikeControl/LikeControl.tsx +1 -1
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +1 -1
- package/mobile/src/components/OfficesAtmsMap/renderFiltrationForm.tsx +2 -2
- package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +5 -5
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +1 -1
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +2 -2
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +7 -2
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +1 -1
- package/mobile/src/components/StepsBlock/StepsBlockContent.ts +3 -3
- package/mobile/src/components/StepsBlock/renderStep.tsx +5 -5
- package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +4 -4
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +1 -1
- package/mobile/src/components/TariffsTable/TariffsTableWrapper.tsx +1 -1
- package/mobile/src/model/ButtonVersion.ts +2 -10
- package/mobile/src/model/LinkButtonVersion.ts +13 -0
- package/mobile/src/setup-fixture.ts +6 -1
- package/mobile/src/ui-kit/ARIAProps.ts +4 -0
- package/mobile/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +3 -1
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +1 -1
- package/mobile/src/ui-kit/Button/Button.tsx +70 -44
- package/mobile/src/ui-kit/Button/useButton.ts +16 -0
- package/mobile/src/ui-kit/ControlStateProps.ts +4 -0
- package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +2 -2
- package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +2 -2
- package/mobile/src/ui-kit/{Button → LinkButton}/ArrowButton.tsx +7 -7
- package/{src/ui-kit/Button → mobile/src/ui-kit/LinkButton}/ButtonInner.tsx +5 -5
- package/mobile/src/ui-kit/LinkButton/ButtonsSectionContent.ts +8 -0
- package/mobile/src/ui-kit/LinkButton/GetButtonClassParams.ts +7 -0
- package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +53 -0
- package/mobile/src/ui-kit/{Button/ButtonContent.ts → LinkButton/LinkButtonContent.ts} +3 -3
- package/mobile/src/ui-kit/{Button/ButtonProps.ts → LinkButton/LinkButtonProps.ts} +2 -2
- package/mobile/src/ui-kit/{Button → LinkButton}/buttonClassNameConstants.ts +4 -4
- package/mobile/src/ui-kit/{Button → LinkButton}/renderButtonsSection.tsx +5 -5
- package/mobile/src/ui-kit/{Button → LinkButton}/useFormSubmit.ts +1 -1
- package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +1 -1
- package/mobile/src/ui-kit/TabsControl/ScrollableTabsControl.tsx +1 -1
- package/package.json +1 -1
- package/src/components/ApplicationForm/ApplicationFormContent.ts +2 -2
- package/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +4 -4
- package/src/components/ApplicationForm/Footnote.tsx +3 -3
- package/src/components/ApplicationForm/renderSubmitButton.tsx +6 -13
- package/src/components/Bonus/Bonus.fixture.mobile.tsx +2 -2
- package/src/components/Bonus/Bonus.fixture.tsx +2 -2
- package/src/components/Bonus/Bonus.tsx +1 -1
- package/src/components/Bonus/BonusContent.ts +1 -1
- package/src/components/ButtonsBlock/ButtonsBlock.fixture.mobile.tsx +2 -2
- package/src/components/ButtonsBlock/ButtonsBlock.fixture.tsx +2 -2
- package/src/components/ButtonsBlock/ButtonsBlock.tsx +1 -1
- package/src/components/ButtonsBlock/ButtonsBlockContent.ts +2 -2
- package/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
- package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +1 -1
- package/src/components/Calculator/Calculator.fixture.mobile.tsx +3 -3
- package/src/components/Calculator/Calculator.fixture.tsx +2 -2
- package/src/components/Calculator/Calculator.tsx +1 -1
- package/src/components/Calculator/CalculatorContent.ts +1 -1
- package/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
- package/src/components/Calculator/DepositCalculatorForm.tsx +1 -1
- package/src/components/Calculator/RefinancingCalculatorForm.tsx +1 -1
- package/src/components/CardTransfer/CardTransfer.fixture.mobile.tsx +2 -2
- package/src/components/CardTransfer/CardTransfer.fixture.tsx +2 -2
- package/src/components/CardTransfer/CardTransfer.tsx +3 -17
- package/src/components/CardTransfer/CardTransferContent.ts +2 -2
- package/src/components/Carousel/CarouselScrollButtons.tsx +1 -1
- package/src/components/CarouselCard/CarouselCard.fixture.mobile.tsx +2 -2
- package/src/components/CarouselCard/CarouselCard.fixture.tsx +2 -2
- package/src/components/CarouselCard/CarouselCard.tsx +1 -1
- package/src/components/CarouselCard/CarouselCardContent.ts +2 -2
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.fixture.mobile.tsx +2 -2
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.fixture.tsx +2 -2
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
- package/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +2 -2
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.tsx +3 -3
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +3 -3
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.mobile.tsx +5 -5
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.tsx +6 -5
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -2
- package/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +3 -3
- package/src/components/CarouselTariffsCard/renderCardInfo.tsx +1 -1
- package/src/components/ComparisonTable/ComparisonTableRows.tsx +1 -1
- package/src/components/ComparisonTable/HeaderCell.tsx +3 -3
- package/src/components/ComparisonTable/TableColumn.tsx +5 -5
- package/src/components/ContactsBlock/ContactsBlock.fixture.tsx +2 -2
- package/src/components/ContactsBlock/ContactsBlock.tsx +2 -2
- package/src/components/ContactsBlock/ContactsBlockContent.ts +2 -2
- package/src/components/Depository/DepositoryFilter.tsx +4 -6
- package/src/components/ErrorBlock/ErrorBlock.fixture.mobile.tsx +2 -2
- package/src/components/ErrorBlock/ErrorBlock.fixture.tsx +2 -2
- package/src/components/ErrorBlock/ErrorBlock.tsx +4 -2
- package/src/components/ErrorBlock/ErrorBlockContent.ts +2 -2
- package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +5 -3
- package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.mobile.tsx +2 -2
- package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +2 -2
- package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +2 -2
- package/src/components/Footer/Contacts.tsx +2 -2
- package/src/components/Footer/Footer.mobile.tsx +2 -2
- package/src/components/Footer/Footer.tsx +3 -3
- package/src/components/Footer/FooterDataProps.ts +3 -3
- package/src/components/Footer/SocialMedia.tsx +6 -6
- package/src/components/Header/HeaderTop.tsx +3 -3
- package/src/components/Header/InternetBankButton.tsx +3 -3
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +2 -2
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +2 -2
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +4 -4
- package/src/components/LikeControl/LikeControl.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +3 -3
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +3 -3
- package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTileContent.ts +1 -1
- package/src/components/OfficesAtmsMap/renderFiltrationForm.tsx +2 -2
- package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +2 -2
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +4 -3
- package/src/components/ProductBlock/renderBackwardButton.tsx +5 -5
- package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +3 -3
- package/src/components/ProductGallery/ProductGallery.fixture.tsx +3 -3
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.mobile.tsx +2 -2
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +2 -2
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +1 -1
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +2 -2
- package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +7 -2
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +1 -1
- package/src/components/StepsBlock/StepsBlock.tsx +1 -1
- package/src/components/StepsBlock/StepsBlockContent.ts +3 -3
- package/src/components/StepsBlock/renderStep.tsx +5 -5
- package/src/components/TariffsTable/EmbeddableCellData.tsx +4 -4
- package/src/components/TariffsTable/TariffsTableContent.ts +1 -1
- package/src/components/TariffsTable/TariffsTableWrapper.tsx +1 -1
- package/src/model/ButtonVersion.ts +2 -10
- package/src/model/LinkButtonVersion.ts +13 -0
- package/src/setup-fixture.ts +6 -1
- package/src/ui-kit/ARIAProps.ts +4 -0
- package/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +3 -1
- package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
- package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +1 -1
- package/src/ui-kit/Button/Button.fixture.tsx +53 -190
- package/src/ui-kit/Button/Button.tsx +70 -44
- package/src/ui-kit/Button/useButton.ts +16 -0
- package/src/ui-kit/ControlStateProps.ts +4 -0
- package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +1 -1
- package/src/ui-kit/InnerTable/InnerTableButton.tsx +2 -2
- package/src/ui-kit/InnerTable/InnerTableHeader.tsx +2 -2
- package/src/ui-kit/{Button → LinkButton}/ArrowButton.tsx +7 -7
- package/{mobile/src/ui-kit/Button → src/ui-kit/LinkButton}/ButtonInner.tsx +5 -5
- package/src/ui-kit/LinkButton/ButtonsSectionContent.ts +8 -0
- package/src/ui-kit/LinkButton/GetButtonClassParams.ts +7 -0
- package/src/ui-kit/LinkButton/LinkButton.fixture.tsx +216 -0
- package/src/ui-kit/LinkButton/LinkButton.tsx +53 -0
- package/src/ui-kit/{Button/ButtonContent.ts → LinkButton/LinkButtonContent.ts} +3 -3
- package/src/ui-kit/{Button/ButtonProps.ts → LinkButton/LinkButtonProps.ts} +2 -2
- package/src/ui-kit/{Button → LinkButton}/buttonClassNameConstants.ts +4 -4
- package/src/ui-kit/{Button → LinkButton}/renderButtonsSection.tsx +5 -5
- package/src/ui-kit/{Button → LinkButton}/useFormSubmit.ts +1 -1
- package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +1 -1
- package/src/ui-kit/TabsControl/ScrollableTabsControl.tsx +1 -1
- package/tailwind.config.cjs +2 -1
- package/bundle/ui-kit/Button/ButtonInner.d.ts +0 -2
- package/bundle/ui-kit/Button/ButtonsSectionContent.d.ts +0 -7
- package/bundle/ui-kit/Button/GetButtonClassParams.d.ts +0 -6
- package/bundle/ui-kit/Button/buttonClassNameConstants.d.ts +0 -5
- package/bundle/ui-kit/Button/renderButtonsSection.d.ts +0 -9
- package/dist/ui-kit/Button/ArrowButton.js.map +0 -1
- package/dist/ui-kit/Button/ButtonContent.js.map +0 -1
- package/dist/ui-kit/Button/ButtonInner.d.ts +0 -2
- package/dist/ui-kit/Button/ButtonInner.js.map +0 -1
- package/dist/ui-kit/Button/ButtonProps.js.map +0 -1
- package/dist/ui-kit/Button/ButtonsSectionContent.d.ts +0 -7
- package/dist/ui-kit/Button/ButtonsSectionContent.js.map +0 -1
- package/dist/ui-kit/Button/GetButtonClassParams.d.ts +0 -6
- package/dist/ui-kit/Button/GetButtonClassParams.js.map +0 -1
- package/dist/ui-kit/Button/LikeButton.js.map +0 -1
- package/dist/ui-kit/Button/buttonClassNameConstants.d.ts +0 -5
- package/dist/ui-kit/Button/buttonClassNameConstants.js.map +0 -1
- package/dist/ui-kit/Button/getDisabledButtonClasses.js.map +0 -1
- package/dist/ui-kit/Button/getRegularButtonClasses.js.map +0 -1
- package/dist/ui-kit/Button/renderArrows.js.map +0 -1
- package/dist/ui-kit/Button/renderButtonsSection.d.ts +0 -9
- package/dist/ui-kit/Button/renderButtonsSection.js.map +0 -1
- package/dist/ui-kit/Button/useFormSubmit.js.map +0 -1
- package/lib/ui-kit/Button/ArrowButton.js.map +0 -1
- package/lib/ui-kit/Button/ButtonContent.js +0 -2
- package/lib/ui-kit/Button/ButtonContent.js.map +0 -1
- package/lib/ui-kit/Button/ButtonInner.d.ts +0 -2
- package/lib/ui-kit/Button/ButtonInner.js.map +0 -1
- package/lib/ui-kit/Button/ButtonProps.js +0 -2
- package/lib/ui-kit/Button/ButtonProps.js.map +0 -1
- package/lib/ui-kit/Button/ButtonsSectionContent.d.ts +0 -7
- package/lib/ui-kit/Button/ButtonsSectionContent.js.map +0 -1
- package/lib/ui-kit/Button/GetButtonClassParams.d.ts +0 -6
- package/lib/ui-kit/Button/GetButtonClassParams.js.map +0 -1
- package/lib/ui-kit/Button/LikeButton.js.map +0 -1
- package/lib/ui-kit/Button/buttonClassNameConstants.d.ts +0 -5
- package/lib/ui-kit/Button/buttonClassNameConstants.js.map +0 -1
- package/lib/ui-kit/Button/getDisabledButtonClasses.js.map +0 -1
- package/lib/ui-kit/Button/getRegularButtonClasses.js.map +0 -1
- package/lib/ui-kit/Button/renderArrows.js.map +0 -1
- package/lib/ui-kit/Button/renderButtonsSection.d.ts +0 -8
- package/lib/ui-kit/Button/renderButtonsSection.js.map +0 -1
- package/lib/ui-kit/Button/useFormSubmit.js.map +0 -1
- package/mobile/bundle/ui-kit/Button/ButtonInner.d.ts +0 -2
- package/mobile/bundle/ui-kit/Button/ButtonsSectionContent.d.ts +0 -7
- package/mobile/bundle/ui-kit/Button/GetButtonClassParams.d.ts +0 -6
- package/mobile/bundle/ui-kit/Button/buttonClassNameConstants.d.ts +0 -5
- package/mobile/bundle/ui-kit/Button/renderButtonsSection.d.ts +0 -9
- package/mobile/dist/ui-kit/Button/ArrowButton.d.ts +0 -4
- package/mobile/dist/ui-kit/Button/ArrowButton.js.map +0 -1
- package/mobile/dist/ui-kit/Button/ButtonContent.d.ts +0 -20
- package/mobile/dist/ui-kit/Button/ButtonContent.js.map +0 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.d.ts +0 -2
- package/mobile/dist/ui-kit/Button/ButtonInner.js.map +0 -1
- package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +0 -15
- package/mobile/dist/ui-kit/Button/ButtonProps.js.map +0 -1
- package/mobile/dist/ui-kit/Button/ButtonsSectionContent.d.ts +0 -7
- package/mobile/dist/ui-kit/Button/ButtonsSectionContent.js.map +0 -1
- package/mobile/dist/ui-kit/Button/GetButtonClassParams.d.ts +0 -6
- package/mobile/dist/ui-kit/Button/GetButtonClassParams.js.map +0 -1
- package/mobile/dist/ui-kit/Button/LikeButton.js.map +0 -1
- package/mobile/dist/ui-kit/Button/buttonClassNameConstants.d.ts +0 -5
- package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +0 -1
- package/mobile/dist/ui-kit/Button/getDisabledButtonClasses.js.map +0 -1
- package/mobile/dist/ui-kit/Button/getRegularButtonClasses.js.map +0 -1
- package/mobile/dist/ui-kit/Button/renderArrows.js.map +0 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.d.ts +0 -9
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +0 -1
- package/mobile/dist/ui-kit/Button/useFormSubmit.d.ts +0 -3
- package/mobile/dist/ui-kit/Button/useFormSubmit.js.map +0 -1
- package/mobile/lib/ui-kit/Button/ArrowButton.d.ts +0 -4
- package/mobile/lib/ui-kit/Button/ArrowButton.js.map +0 -1
- package/mobile/lib/ui-kit/Button/ButtonContent.d.ts +0 -20
- package/mobile/lib/ui-kit/Button/ButtonContent.js +0 -2
- package/mobile/lib/ui-kit/Button/ButtonContent.js.map +0 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.d.ts +0 -2
- package/mobile/lib/ui-kit/Button/ButtonInner.js.map +0 -1
- package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +0 -15
- package/mobile/lib/ui-kit/Button/ButtonProps.js +0 -2
- package/mobile/lib/ui-kit/Button/ButtonProps.js.map +0 -1
- package/mobile/lib/ui-kit/Button/ButtonsSectionContent.d.ts +0 -7
- package/mobile/lib/ui-kit/Button/ButtonsSectionContent.js.map +0 -1
- package/mobile/lib/ui-kit/Button/GetButtonClassParams.d.ts +0 -6
- package/mobile/lib/ui-kit/Button/GetButtonClassParams.js.map +0 -1
- package/mobile/lib/ui-kit/Button/LikeButton.js.map +0 -1
- package/mobile/lib/ui-kit/Button/buttonClassNameConstants.d.ts +0 -5
- package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +0 -1
- package/mobile/lib/ui-kit/Button/getDisabledButtonClasses.js.map +0 -1
- package/mobile/lib/ui-kit/Button/getRegularButtonClasses.js.map +0 -1
- package/mobile/lib/ui-kit/Button/renderArrows.js.map +0 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.d.ts +0 -9
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +0 -1
- package/mobile/lib/ui-kit/Button/useFormSubmit.d.ts +0 -3
- package/mobile/lib/ui-kit/Button/useFormSubmit.js.map +0 -1
- package/mobile/src/ui-kit/Button/ButtonsSectionContent.ts +0 -8
- package/mobile/src/ui-kit/Button/GetButtonClassParams.ts +0 -7
- package/src/ui-kit/Button/ButtonsSectionContent.ts +0 -8
- package/src/ui-kit/Button/GetButtonClassParams.ts +0 -7
- /package/bundle/ui-kit/{Button → LinkButton}/LikeButton.d.ts +0 -0
- /package/bundle/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.d.ts +0 -0
- /package/bundle/ui-kit/{Button → LinkButton}/getRegularButtonClasses.d.ts +0 -0
- /package/bundle/ui-kit/{Button → LinkButton}/renderArrows.d.ts +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/ButtonInner.js +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/ButtonsSectionContent.js +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/GetButtonClassParams.js +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/LikeButton.d.ts +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/LikeButton.js +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/buttonClassNameConstants.js +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.d.ts +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.js +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/getRegularButtonClasses.d.ts +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/getRegularButtonClasses.js +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/renderArrows.d.ts +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/renderArrows.js +0 -0
- /package/dist/ui-kit/{Button → LinkButton}/useFormSubmit.js +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/ButtonInner.js +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/ButtonsSectionContent.js +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/GetButtonClassParams.js +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/LikeButton.d.ts +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/LikeButton.fixture.d.ts +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/LikeButton.js +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/buttonClassNameConstants.js +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.d.ts +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.js +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/getRegularButtonClasses.d.ts +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/getRegularButtonClasses.js +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/renderArrows.d.ts +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/renderArrows.js +0 -0
- /package/lib/ui-kit/{Button → LinkButton}/useFormSubmit.js +0 -0
- /package/mobile/bundle/ui-kit/{Button → LinkButton}/LikeButton.d.ts +0 -0
- /package/mobile/bundle/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.d.ts +0 -0
- /package/mobile/bundle/ui-kit/{Button → LinkButton}/getRegularButtonClasses.d.ts +0 -0
- /package/mobile/bundle/ui-kit/{Button → LinkButton}/renderArrows.d.ts +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/ButtonInner.js +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/ButtonsSectionContent.js +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/GetButtonClassParams.js +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/LikeButton.d.ts +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/LikeButton.js +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/buttonClassNameConstants.js +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.d.ts +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.js +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/getRegularButtonClasses.d.ts +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/getRegularButtonClasses.js +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/renderArrows.d.ts +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/renderArrows.js +0 -0
- /package/mobile/dist/ui-kit/{Button → LinkButton}/useFormSubmit.js +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/ButtonInner.js +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/ButtonsSectionContent.js +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/GetButtonClassParams.js +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/LikeButton.d.ts +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/LikeButton.js +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/buttonClassNameConstants.js +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.d.ts +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.js +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/getRegularButtonClasses.d.ts +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/getRegularButtonClasses.js +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/renderArrows.d.ts +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/renderArrows.js +0 -0
- /package/mobile/lib/ui-kit/{Button → LinkButton}/useFormSubmit.js +0 -0
- /package/mobile/src/ui-kit/{Button → LinkButton}/LikeButton.tsx +0 -0
- /package/mobile/src/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.ts +0 -0
- /package/mobile/src/ui-kit/{Button → LinkButton}/getRegularButtonClasses.ts +0 -0
- /package/mobile/src/ui-kit/{Button → LinkButton}/renderArrows.tsx +0 -0
- /package/src/ui-kit/{Button → LinkButton}/LikeButton.fixture.tsx +0 -0
- /package/src/ui-kit/{Button → LinkButton}/LikeButton.tsx +0 -0
- /package/src/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.ts +0 -0
- /package/src/ui-kit/{Button → LinkButton}/getRegularButtonClasses.ts +0 -0
- /package/src/ui-kit/{Button → LinkButton}/renderArrows.tsx +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
import { renderButtonsSection } from '../../ui-kit/
|
|
3
|
+
import type { LinkButtonVersion } from '../../model/LinkButtonVersion';
|
|
4
|
+
import type { LinkButtonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
|
|
5
|
+
import { renderButtonsSection } from '../../ui-kit/LinkButton/renderButtonsSection';
|
|
6
6
|
import { Text } from '../../ui-kit/Text/Text';
|
|
7
7
|
import { isIcon } from '../../utils/isIcon';
|
|
8
8
|
import { style } from '../../utils/style';
|
|
@@ -10,16 +10,16 @@ import { findIconByHref } from './findIconByHref';
|
|
|
10
10
|
|
|
11
11
|
export interface SocialMediaProps {
|
|
12
12
|
className?: string;
|
|
13
|
-
media?:
|
|
13
|
+
media?: LinkButtonContent[];
|
|
14
14
|
showButtonText?: boolean;
|
|
15
15
|
stretched?: boolean;
|
|
16
|
-
version?:
|
|
16
|
+
version?: LinkButtonVersion;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
export const SocialMedia = JSX<SocialMediaProps>(
|
|
20
20
|
({ className = '', media, showButtonText, stretched, version = 'white', children }) => {
|
|
21
21
|
const [hasText, setHasText] = useState<boolean | undefined>();
|
|
22
|
-
const buttons:
|
|
22
|
+
const buttons: LinkButtonContent[] | undefined = media?.map((_) => {
|
|
23
23
|
const { href, icon, text } = _;
|
|
24
24
|
const { iconMapped } = findIconByHref(href);
|
|
25
25
|
const iconCustom = isIcon(icon) ? icon : iconMapped;
|
|
@@ -5,8 +5,8 @@ import { type BgColorVersion } from '../../model/BgColorVersion';
|
|
|
5
5
|
import { type BlockVersion } from '../../model/BlockVersion';
|
|
6
6
|
import { type LogoType } from '../../model/LogoType';
|
|
7
7
|
import { projectSettings } from '../../ProjectSettings';
|
|
8
|
-
import { Button } from '../../ui-kit/Button/Button';
|
|
9
8
|
import { Img } from '../../ui-kit/Img/Img';
|
|
9
|
+
import { LinkButton } from '../../ui-kit/LinkButton/LinkButton';
|
|
10
10
|
import { Logo } from '../../ui-kit/Logo/Logo';
|
|
11
11
|
import { type PreventableEvent } from '../../ui-kit/PreventableEvent';
|
|
12
12
|
import { style } from '../../utils/style';
|
|
@@ -42,7 +42,7 @@ export const HeaderTop = JSX<HeaderTopProps>(({ bgColor, logo, internetBankUrl,
|
|
|
42
42
|
)}
|
|
43
43
|
{internetBankUrl ? (
|
|
44
44
|
<div>
|
|
45
|
-
<
|
|
45
|
+
<LinkButton
|
|
46
46
|
href={internetBankUrl}
|
|
47
47
|
ariaLabel="Войти"
|
|
48
48
|
target="_blank"
|
|
@@ -52,7 +52,7 @@ export const HeaderTop = JSX<HeaderTopProps>(({ bgColor, logo, internetBankUrl,
|
|
|
52
52
|
)}
|
|
53
53
|
>
|
|
54
54
|
Войти
|
|
55
|
-
</
|
|
55
|
+
</LinkButton>
|
|
56
56
|
</div>
|
|
57
57
|
) : null}
|
|
58
58
|
</div>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { type BlockVersion } from '../../model/BlockVersion';
|
|
3
|
-
import {
|
|
3
|
+
import { LinkButton } from '../../ui-kit/LinkButton/LinkButton';
|
|
4
4
|
import { style } from '../../utils/style';
|
|
5
5
|
|
|
6
6
|
interface InternetBankButtonProps {
|
|
@@ -15,7 +15,7 @@ const BUTTON_STYLE = {
|
|
|
15
15
|
|
|
16
16
|
export const InternetBankButton = JSX<InternetBankButtonProps>(({ version, internetBankUrl }) =>
|
|
17
17
|
internetBankUrl ? (
|
|
18
|
-
<
|
|
18
|
+
<LinkButton
|
|
19
19
|
href={internetBankUrl}
|
|
20
20
|
ariaLabel="Интернет-банк"
|
|
21
21
|
target="_blank"
|
|
@@ -25,6 +25,6 @@ export const InternetBankButton = JSX<InternetBankButtonProps>(({ version, inter
|
|
|
25
25
|
)}
|
|
26
26
|
>
|
|
27
27
|
Интернет-банк
|
|
28
|
-
</
|
|
28
|
+
</LinkButton>
|
|
29
29
|
) : null,
|
|
30
30
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type TitleProps } from '../../model/HeadlineType';
|
|
2
2
|
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
3
3
|
import { type IconProps } from '../../model/Picture';
|
|
4
|
-
import { type
|
|
4
|
+
import { type LinkButtonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @title Кнопка выбора программы
|
|
@@ -31,5 +31,5 @@ export type InsuranceAmountBlockContent = UniBlockContent &
|
|
|
31
31
|
/** @title Список вкладок */
|
|
32
32
|
insuranceTabs?: InsuranceAmountBlockTab[];
|
|
33
33
|
/** @title Кнопка */
|
|
34
|
-
button?:
|
|
34
|
+
button?: LinkButtonContent;
|
|
35
35
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
3
|
import { useCarouselControls } from '../../hooks/useCarouselControls';
|
|
4
|
-
import { Button } from '../../ui-kit/Button/Button';
|
|
5
|
-
import { type ButtonCommonContent } from '../../ui-kit/Button/ButtonContent';
|
|
6
|
-
import { renderArrows } from '../../ui-kit/Button/renderArrows';
|
|
7
4
|
import { Img } from '../../ui-kit/Img/Img';
|
|
5
|
+
import { LinkButton } from '../../ui-kit/LinkButton/LinkButton';
|
|
6
|
+
import { type ButtonCommonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
|
|
7
|
+
import { renderArrows } from '../../ui-kit/LinkButton/renderArrows';
|
|
8
8
|
import { Text } from '../../ui-kit/Text/Text';
|
|
9
9
|
import { toLocalNumberFormat } from '../../utils/toLocalNumberFormat';
|
|
10
10
|
import { type CardItem, type InsuranceAmountBlockTab } from './InsuranceAmountBlockContent';
|
|
@@ -64,7 +64,7 @@ export const InsuranceAmountBlockInner = JSX<InsuranceAmountBlockInnerProps>(
|
|
|
64
64
|
<div className="absolute top-0 right-0 h-full w-32 bg-opacity-to-white" />
|
|
65
65
|
) : null}
|
|
66
66
|
</div>
|
|
67
|
-
<
|
|
67
|
+
<LinkButton className="w-60 text-center" version="primary" {...button} href={activeHref} />
|
|
68
68
|
</section>
|
|
69
69
|
);
|
|
70
70
|
},
|
|
@@ -3,7 +3,7 @@ import { handlerDecorator } from '../../hooks/handlerDecorator';
|
|
|
3
3
|
import { useLikeService } from '../../hooks/useLikeService';
|
|
4
4
|
import { useRouter } from '../../hooks/useRouter';
|
|
5
5
|
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
6
|
-
import { LikeButton } from '../../ui-kit/
|
|
6
|
+
import { LikeButton } from '../../ui-kit/LinkButton/LikeButton';
|
|
7
7
|
|
|
8
8
|
interface LikeControlProps extends UniBlockContent {
|
|
9
9
|
className?: string;
|
|
@@ -2,9 +2,9 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
2
2
|
import { type UniBlockProps } from '../../model/JSXBlock';
|
|
3
3
|
import { BaseTile } from '../../ui-kit/BaseTile/BaseTile';
|
|
4
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
5
|
-
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection';
|
|
6
5
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
7
6
|
import { Img } from '../../ui-kit/Img/Img';
|
|
7
|
+
import { renderButtonsSection } from '../../ui-kit/LinkButton/renderButtonsSection';
|
|
8
8
|
import { List } from '../../ui-kit/List/List';
|
|
9
9
|
import { Text } from '../../ui-kit/Text/Text';
|
|
10
10
|
import { style } from '../../utils/style';
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
} from '../../model/HeadlineType';
|
|
7
7
|
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
8
8
|
import { type Picture } from '../../model/Picture';
|
|
9
|
-
import { type ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
|
|
10
9
|
import { type ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
10
|
+
import { type ButtonsSectionContent } from '../../ui-kit/LinkButton/ButtonsSectionContent';
|
|
11
11
|
import { type ListContent } from '../../ui-kit/List/ListContent';
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
2
|
-
import { Button } from '../../ui-kit/Button/Button';
|
|
3
2
|
import { Checkbox } from '../../ui-kit/Checkbox/Checkbox';
|
|
4
3
|
import { Icon } from '../../ui-kit/Icon/Icon';
|
|
4
|
+
import { LinkButton } from '../../ui-kit/LinkButton/LinkButton';
|
|
5
5
|
|
|
6
6
|
const FILTRATION_LABELS = {
|
|
7
7
|
safeBoxCaseVolumes: 'Аренда индивидуальных сейфовых ячеек',
|
|
@@ -24,7 +24,7 @@ export const renderFiltrationForm = (
|
|
|
24
24
|
))}
|
|
25
25
|
</div>
|
|
26
26
|
) : null}
|
|
27
|
-
<
|
|
27
|
+
<LinkButton
|
|
28
28
|
version="transparent"
|
|
29
29
|
className="text-secondary-text [&>*]:p-0"
|
|
30
30
|
onClick={reset}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { Button } from '../../ui-kit/Button/Button';
|
|
3
|
-
import { getRegularButtonClasses } from '../../ui-kit/Button/getRegularButtonClasses';
|
|
1
|
+
import { type LinkButtonVersion } from '../../model/LinkButtonVersion';
|
|
4
2
|
import { Img } from '../../ui-kit/Img/Img';
|
|
3
|
+
import { getRegularButtonClasses } from '../../ui-kit/LinkButton/getRegularButtonClasses';
|
|
4
|
+
import { LinkButton } from '../../ui-kit/LinkButton/LinkButton';
|
|
5
5
|
|
|
6
|
-
export function renderBackwardButton(version:
|
|
6
|
+
export function renderBackwardButton(version: LinkButtonVersion, handleClick: () => void) {
|
|
7
7
|
const iconVersion = version === 'primary' ? 'white' : 'black';
|
|
8
8
|
const className = 'w-12 h-12 min-h-12 min-w-12 flex items-center justify-center';
|
|
9
9
|
const text = 'Вернуться назад';
|
|
@@ -22,7 +22,7 @@ export function renderBackwardButton(version: ButtonVersion, handleClick: () =>
|
|
|
22
22
|
}}
|
|
23
23
|
/>
|
|
24
24
|
</div>
|
|
25
|
-
<
|
|
25
|
+
<LinkButton
|
|
26
26
|
version="link"
|
|
27
27
|
className="group-data-secondary:text-white/80"
|
|
28
28
|
text={text}
|
|
@@ -2,10 +2,10 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
2
2
|
import { type IconName } from '../../icons/IconName';
|
|
3
3
|
import { type UniBlockProps } from '../../model/JSXBlock';
|
|
4
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
5
|
-
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection';
|
|
6
5
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
7
6
|
import { Icon } from '../../ui-kit/Icon/Icon';
|
|
8
7
|
import { Img } from '../../ui-kit/Img/Img';
|
|
8
|
+
import { renderButtonsSection } from '../../ui-kit/LinkButton/renderButtonsSection';
|
|
9
9
|
import { RichText } from '../../ui-kit/RichText/RichText';
|
|
10
10
|
import { Text } from '../../ui-kit/Text/Text';
|
|
11
11
|
import { type TextColor } from '../../ui-kit/Text/TextProps';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type TitleProps } from '../../model/HeadlineType';
|
|
2
2
|
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
3
3
|
import { type IconProps } from '../../model/Picture';
|
|
4
|
-
import { type
|
|
4
|
+
import { type LinkButtonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
|
|
5
5
|
import { type RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -18,5 +18,5 @@ export type RepresentativeOfficeInfoContent = UniBlockContent &
|
|
|
18
18
|
/** @title E-mail */
|
|
19
19
|
email?: string;
|
|
20
20
|
/** @title Кнопка */
|
|
21
|
-
button?:
|
|
21
|
+
button?: LinkButtonContent;
|
|
22
22
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import {
|
|
2
|
+
import { LinkButton } from '../../ui-kit/LinkButton/LinkButton';
|
|
3
3
|
import { Text } from '../../ui-kit/Text/Text';
|
|
4
4
|
import { RadioButtons } from './RadioButtons';
|
|
5
5
|
import { RegionsAndBranches } from './RegionsAndBranches';
|
|
@@ -58,7 +58,12 @@ export const SafeDepositRentalFields = JSX<SafeDepositRentalFieldsProps>(
|
|
|
58
58
|
</div>
|
|
59
59
|
<div className="contents @md:flex justify-between items-center gap-m">
|
|
60
60
|
<RadioButtons />
|
|
61
|
-
<
|
|
61
|
+
<LinkButton
|
|
62
|
+
text="Офисы на карте"
|
|
63
|
+
version="primary"
|
|
64
|
+
onClick={onClick}
|
|
65
|
+
className="order-6"
|
|
66
|
+
/>
|
|
62
67
|
</div>
|
|
63
68
|
</div>
|
|
64
69
|
);
|
|
@@ -3,8 +3,8 @@ import { type BlockVersion } from '../../model/BlockVersion';
|
|
|
3
3
|
import { type UniBlockProps } from '../../model/JSXBlock';
|
|
4
4
|
import { type SizeVersion } from '../../model/SizeVersion';
|
|
5
5
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
6
|
-
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection';
|
|
7
6
|
import { Img } from '../../ui-kit/Img/Img';
|
|
7
|
+
import { renderButtonsSection } from '../../ui-kit/LinkButton/renderButtonsSection';
|
|
8
8
|
import { RichText } from '../../ui-kit/RichText/RichText';
|
|
9
9
|
import { assertUnreachable } from '../../utils/assertUnreachable';
|
|
10
10
|
import { isIcon } from '../../utils/isIcon';
|
|
@@ -10,14 +10,14 @@ import { type UniBlockContent } from '../../model/JSXBlock';
|
|
|
10
10
|
import { type IconProps } from '../../model/Picture';
|
|
11
11
|
import { type RichTextItem } from '../../model/RichTextItem';
|
|
12
12
|
import { type SizeVersion } from '../../model/SizeVersion';
|
|
13
|
-
import { type
|
|
14
|
-
import { type
|
|
13
|
+
import { type ButtonsSectionContent } from '../../ui-kit/LinkButton/ButtonsSectionContent';
|
|
14
|
+
import { type LinkButtonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
|
|
15
15
|
import { type ListContent } from '../../ui-kit/List/ListContent';
|
|
16
16
|
|
|
17
17
|
type StepCommonProps = IconProps &
|
|
18
18
|
BulletsProps &
|
|
19
19
|
ListContent & {
|
|
20
|
-
button?:
|
|
20
|
+
button?: LinkButtonContent;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
23
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type BlockVersion } from '../../model/BlockVersion';
|
|
2
|
-
import { type
|
|
2
|
+
import { type LinkButtonVersion } from '../../model/LinkButtonVersion';
|
|
3
3
|
import { type VNode } from '../../model/VNode';
|
|
4
|
-
import {
|
|
4
|
+
import { LinkButton } from '../../ui-kit/LinkButton/LinkButton';
|
|
5
5
|
import { List } from '../../ui-kit/List/List';
|
|
6
6
|
import { RichText } from '../../ui-kit/RichText/RichText';
|
|
7
7
|
import { Text } from '../../ui-kit/Text/Text';
|
|
@@ -69,13 +69,13 @@ const renderDefaultStep =
|
|
|
69
69
|
</div>
|
|
70
70
|
</div>
|
|
71
71
|
{button?.text && !isMainButton ? (
|
|
72
|
-
<
|
|
72
|
+
<LinkButton
|
|
73
73
|
className="box-border py-s w-full max-w-60 mt-auto"
|
|
74
|
-
version={version as
|
|
74
|
+
version={version as LinkButtonVersion}
|
|
75
75
|
{...button}
|
|
76
76
|
>
|
|
77
77
|
{button?.text}
|
|
78
|
-
</
|
|
78
|
+
</LinkButton>
|
|
79
79
|
) : null}
|
|
80
80
|
</div>
|
|
81
81
|
);
|
|
@@ -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}
|