@redneckz/wildless-cms-uni-blocks 0.14.64 → 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/bin/migration-scripts/0.14.65.js +17 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +179 -160
- 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/ProductBlockContent.d.ts +0 -2
- 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 +3 -3
- 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/InvestmentInfo/InvestmentInfo.js +2 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.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/ProductBlock.js +1 -2
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +0 -2
- 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/SafeDepositRental/SafeDepositRentalTotal.js +4 -2
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.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 +3 -3
- 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/InvestmentInfo/InvestmentInfo.js +2 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.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/ProductBlock.fixture.mobile.d.ts +0 -2
- package/lib/components/ProductBlock/ProductBlock.js +1 -2
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +0 -2
- 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/SafeDepositRental/SafeDepositRentalTotal.js +4 -2
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.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 +3 -3
- 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 +173 -154
- 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/ProductBlockContent.d.ts +0 -2
- 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 +3 -3
- 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/InvestmentInfo/InvestmentInfo.js +2 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.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/ProductBlock.js +1 -2
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +0 -2
- 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/SafeDepositRental/SafeDepositRentalTotal.js +4 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.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 +3 -3
- 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/InvestmentInfo/InvestmentInfo.js +2 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.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/ProductBlock.js +1 -2
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +0 -2
- 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/SafeDepositRental/SafeDepositRentalTotal.js +4 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.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 +3 -3
- 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/InvestmentInfo/InvestmentInfo.tsx +2 -1
- 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/ProductBlock.tsx +9 -16
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +0 -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/SafeDepositRental/SafeDepositRentalTotal.tsx +15 -7
- 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 +2 -3
- 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/InvestmentInfo/InvestmentInfo.tsx +2 -1
- 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 -19
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +4 -3
- package/src/components/ProductBlock/ProductBlock.tsx +9 -16
- package/src/components/ProductBlock/ProductBlockContent.ts +0 -2
- 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/SafeDepositRental/SafeDepositRentalTotal.tsx +15 -7
- 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 +2 -3
- 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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepsBlock.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAGtD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"StepsBlock.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAGtD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACpF,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,iBAAiB,EAAkB,MAAM,uBAAuB,CAAC;AAI1E,MAAM,cAAc,GAAG,CAAC,SAAkB,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,C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AAW,CAAC,CAClF,YAEA,CAAC,GAAG,CAAC,GACD,CACR,IAtBI,MAAM,CAAC,CAAC,CAAC,CAuBD,CAChB,CAAC;AACJ,CAAC,CAAC;AAEJ,MAAM,gBAAgB,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC;AAE3F,MAAM,gBAAgB,GAAG,CAAC,OAAqB,EAAE,EAAE,CACjD,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,+BAA+B,CAAC,CAAC,CAAC,qBAAqB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
|
-
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
|
|
5
4
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
5
|
+
import { renderButtonsSection } from '../../ui-kit/LinkButton/renderButtonsSection.js';
|
|
6
6
|
import { RichText } from '../../ui-kit/RichText/RichText.js';
|
|
7
7
|
import { assertUnreachable } from '../../utils/assertUnreachable.js';
|
|
8
8
|
import { isIcon } from '../../utils/isIcon.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepsBlock.mobile.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlock.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"StepsBlock.mobile.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlock.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,E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CAAC,CAAC,CAAC,CAAC,CACpB,KAAC,GAAG,IACF,KAAK,EAAE,EAAE,GAAG,IAAI,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,CAAC,IAAI,EAAE,WAAW,IAAI,WAAW,EAAE,EAC3E,cAAc,EAAC,uBAAuB,EACtC,KAAK,EAAE,QAAQ,EACf,MAAM,EAAE,QAAQ,GAChB,CACH,CAAC,CAAC,CAAC,CACF,yBAAO,CAAC,GAAG,CAAC,GAAQ,CACrB,GACI,GACH,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -6,11 +6,11 @@ import { type UniBlockContent } from '../../model/JSXBlock';
|
|
|
6
6
|
import { type IconProps } from '../../model/Picture';
|
|
7
7
|
import { type RichTextItem } from '../../model/RichTextItem';
|
|
8
8
|
import { type SizeVersion } from '../../model/SizeVersion';
|
|
9
|
-
import { type
|
|
10
|
-
import { type
|
|
9
|
+
import { type ButtonsSectionContent } from '../../ui-kit/LinkButton/ButtonsSectionContent';
|
|
10
|
+
import { type LinkButtonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
|
|
11
11
|
import { type ListContent } from '../../ui-kit/List/ListContent';
|
|
12
12
|
declare type StepCommonProps = IconProps & BulletsProps & ListContent & {
|
|
13
|
-
button?:
|
|
13
|
+
button?: LinkButtonContent;
|
|
14
14
|
};
|
|
15
15
|
/**
|
|
16
16
|
* @title Стандартный
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { LinkButton } from '../../ui-kit/LinkButton/LinkButton.js';
|
|
3
3
|
import { List } from '../../ui-kit/List/List.js';
|
|
4
4
|
import { RichText } from '../../ui-kit/RichText/RichText.js';
|
|
5
5
|
import { Text } from '../../ui-kit/Text/Text.js';
|
|
@@ -21,7 +21,7 @@ export const renderStep = (props) => (step, i, arr) => {
|
|
|
21
21
|
};
|
|
22
22
|
const renderDefaultStep = ({ styleMap, isMainButton, version }) => (step, i, arr) => {
|
|
23
23
|
const { label, description, button, items, isDotted } = step;
|
|
24
|
-
return (_jsxs("div", { className: style('relative flex flex-col items-center text-center justify-between whitespace-pre-line overflow-hidden space-y-3xl', getContainerWidth(arr.length)), children: [_jsxs("div", { className: "text-center space-y-xs", children: [label ? (_jsx("div", { children: _jsx(Text, { size: "text-h6", children: label }) })) : null, _jsxs("div", { className: "flex flex-col items-center gap-3xs", children: [description ? _jsx("div", { className: styleMap.description, children: description }) : null, _jsx(List, { className: styleMap.description, items: items, listItemSize: "M", isDotted: isDotted })] })] }), button?.text && !isMainButton ? (_jsx(
|
|
24
|
+
return (_jsxs("div", { className: style('relative flex flex-col items-center text-center justify-between whitespace-pre-line overflow-hidden space-y-3xl', getContainerWidth(arr.length)), children: [_jsxs("div", { className: "text-center space-y-xs", children: [label ? (_jsx("div", { children: _jsx(Text, { size: "text-h6", children: label }) })) : null, _jsxs("div", { className: "flex flex-col items-center gap-3xs", children: [description ? _jsx("div", { className: styleMap.description, children: description }) : null, _jsx(List, { className: styleMap.description, items: items, listItemSize: "M", isDotted: isDotted })] })] }), button?.text && !isMainButton ? (_jsx(LinkButton, { className: "box-border py-s w-full max-w-60 mt-auto", version: version, ...button, children: button?.text })) : null] }, String(i)));
|
|
25
25
|
};
|
|
26
26
|
const getContainerWidth = (length) => (length < 5 ? 'w-72' : 'w-52');
|
|
27
27
|
//# sourceMappingURL=renderStep.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderStep.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/renderStep.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"renderStep.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/renderStep.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AA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AwB,aACpC,KAAK,CAAC,CAAC,CAAC,CACP,wBACE,KAAC,IAAI,IAAC,IAAI,EAAC,SAAS,YAAE,KAAK,GAAQ,GAC/B,CACP,CAAC,CAAC,CAAC,IAAI,EACR,eAAK,SAAS,EAAC,oCAAoC,aAChD,WAAW,CAAC,CAAC,CAAC,cAAK,SAAS,EAAE,QAAQ,CAAC,WAAW,YAAG,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,EAC/E,KAAC,IAAI,IACH,SAAS,EAAE,QAAQ,CAAC,WAAW,EAC/B,KAAK,EAAE,KAAK,EACZ,YAAY,EAAC,GAAG,EAChB,QAAQ,EAAE,QAAQ,GAClB,IACE,IACF,EACL,MAAM,EAAE,IAAI,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAC/B,KAAC,UAAU,IACT,SAAS,EAAC,yCAAyC,EACnD,OAAO,EAAE,OAA4B,KACjC,MAAM,YAET,MAAM,EAAE,IAAI,GACF,CACd,CAAC,CAAC,CAAC,IAAI,KA9BH,MAAM,CAAC,CAAC,CAAC,CA+BV,CACP,CAAC;AACJ,CAAC,CAAC;AAEJ,MAAM,iBAAiB,GAAG,CAAC,MAAc,EAAU,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { type ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
2
|
-
import { type ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
|
|
3
1
|
import { type ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
4
2
|
import { type InnerTableButtonProps } from '../../ui-kit/InnerTable/InnerTableButton';
|
|
5
3
|
import { type TariffsTableInnerContent } from '../../ui-kit/InnerTable/InnerTableProps';
|
|
4
|
+
import { type ButtonsSectionContent } from '../../ui-kit/LinkButton/ButtonsSectionContent';
|
|
5
|
+
import { type LinkButtonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
|
|
6
6
|
import { type ListProps } from '../../ui-kit/List/ListContent';
|
|
7
7
|
import { type LabelDescriptionCell } from './TariffsTableContent';
|
|
8
|
-
export declare type EmbeddableCellDataType = LabelDescriptionCell |
|
|
8
|
+
export declare type EmbeddableCellDataType = LabelDescriptionCell | LinkButtonContent | ImageContent | ListProps | InnerTableButtonProps;
|
|
9
9
|
interface TableCellDataProps extends InnerTableButtonProps {
|
|
10
10
|
isVisible?: boolean;
|
|
11
11
|
displayTable: (props: TariffsTableInnerContent) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
|
|
3
2
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
4
3
|
import { TableInnerButton, } from '../../ui-kit/InnerTable/InnerTableButton.js';
|
|
4
|
+
import { renderButtonsSection } from '../../ui-kit/LinkButton/renderButtonsSection.js';
|
|
5
5
|
import { List } from '../../ui-kit/List/List.js';
|
|
6
6
|
import { Text } from '../../ui-kit/Text/Text.js';
|
|
7
7
|
const renderButtonsCellData = ({ buttons }) => renderButtonsSection(buttons, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmbeddableCellData.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/EmbeddableCellData.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"EmbeddableCellData.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/EmbeddableCellData.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,OAAO,EACL,gBAAgB,GAEjB,MAAM,0CAA0C,CAAC;AAIlD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACpF,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,OAA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,CAAC,IAAI,CAAC;AAEX,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,OAAO,EAAE,qBAAqB;IAC9B,GAAG,EAAE,iBAAiB;IACtB,IAAI,EAAE,kBAAkB;IACxB,gBAAgB,EAAE,8BAA8B;IAChD,KAAK,EAAE,wBAAwB;CAChC,CAAC"}
|
|
@@ -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
|
* @hidden
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as _jsxs, jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { renderArrows } from '../../ui-kit/
|
|
3
|
+
import { renderArrows } from '../../ui-kit/LinkButton/renderArrows.js';
|
|
4
4
|
export const TariffsTableWrapper = JSX(({ children, controls }) => {
|
|
5
5
|
const { isScrollAvailable } = controls;
|
|
6
6
|
return (_jsxs("div", { role: "table", children: [_jsxs("div", { className: "relative space-y-xs", children: [children, renderArrows({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TariffsTableWrapper.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TariffsTableWrapper.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAMpE,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CAAe,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC9E,MAAM,EAAE,iBAAiB,EAAE,GAAG,QAAQ,CAAC;IAEvC,OAAO,CACL,eAAK,IAAI,EAAC,OAAO,aACf,eAAK,SAAS,EAAC,qBAAqB,aACjC,QAAQ,EACR,YAAY,CAAC;wBACZ,GAAG,QAAQ;wBACX,QAAQ,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC;wBAC9B,SAAS,EAAE,SAAS;qBACrB,CAAC,IACE,EACL,iBAAiB,CAAC,CAAC,CAAC,CACnB,cAAK,SAAS,EAAC,0DAA0D,GAAG,CAC7E,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @title Тема кнопки
|
|
3
|
-
* @enumNames ["Основная", "Второстепенная"
|
|
4
|
-
* @default primary
|
|
3
|
+
* @enumNames ["Основная", "Второстепенная"]
|
|
5
4
|
*/
|
|
6
|
-
export declare type ButtonVersion = 'primary' | 'secondary'
|
|
5
|
+
export declare type ButtonVersion = 'primary' | 'secondary';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @title Тема кнопки
|
|
3
|
+
* @enumNames ["Основная", "Второстепенная", "Белая", "Ссылка", "Прозрачная", "Серая", "Наследуемая"]
|
|
4
|
+
* @default primary
|
|
5
|
+
*/
|
|
6
|
+
export declare type LinkButtonVersion = 'primary' | 'secondary' | 'white' | 'link' | 'transparent' | 'gray' | '';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkButtonVersion.js","sourceRoot":"","sources":["../../src/model/LinkButtonVersion.ts"],"names":[],"mappings":""}
|
package/lib/setup-fixture.js
CHANGED
|
@@ -34,7 +34,10 @@ useRouter.setup(() => {
|
|
|
34
34
|
};
|
|
35
35
|
});
|
|
36
36
|
handlerDecorator.setup((handler) => (ev) => {
|
|
37
|
-
ev
|
|
37
|
+
const shouldNotPrevent = ev?.target?.type === 'submit';
|
|
38
|
+
if (!shouldNotPrevent) {
|
|
39
|
+
ev.preventDefault();
|
|
40
|
+
}
|
|
38
41
|
handler(ev);
|
|
39
42
|
});
|
|
40
43
|
//# sourceMappingURL=setup-fixture.js.map
|
package/lib/setup-fixture.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup-fixture.js","sourceRoot":"","sources":["../src/setup-fixture.ts"],"names":[],"mappings":"AAAA,OAAO,mCAAmC,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,GAAG,MAAM,YAAY,CAAC;AAE7B,eAAe,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AAE3B,SAAS,CAAC,KAAK,CAAC,GAAG,EAAE;IACnB,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAC9B,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,MAAM,EAAE,eAAe,CAAC,SAAS,EAAE,EAAE,CAAC,CACpE,CAAC;IAEF,SAAS,C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QACD,KAAK,EAAE,MAAM,CAAC,WAAW,CAAC,IAAI,eAAe,CAAC,UAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QAC1E,IAAI,EAAE,CAAC,GAAW,EAAE,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC;QAC9C,CAAC;QACD,OAAO,EAAE,CAAC,GAAW,EAAE,EAAE;YACvB,UAAU,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC;QACjD,CAAC;QACD,IAAI,EAAE,GAAG,EAAE;YACT,UAAU,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;QAC5B,CAAC;KACF,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,gBAAgB,CAAC,KAAK,CAAC,CAAC,OAAO,EAAO,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE;IAC9C,MAAM,gBAAgB,GAAG,EAAE,EAAE,MAAM,EAAE,IAAI,KAAK,QAAQ,CAAC;IAEvD,IAAI,CAAC,gBAAgB,EAAE;QACrB,EAAE,CAAC,cAAc,EAAE,CAAC;KACrB;IAED,OAAO,CAAC,EAAE,CAAC,CAAC;AACd,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ARIAProps.js","sourceRoot":"","sources":["../../src/ui-kit/ARIAProps.ts"],"names":[],"mappings":""}
|
|
@@ -2,7 +2,7 @@ import { jsxs as _jsxs, jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { Button } from '../Button/Button.js';
|
|
3
3
|
import { SlideCheckboxGroup } from '../SlideCheckboxGroup/SlideCheckboxGroup.js';
|
|
4
4
|
import { Text } from '../Text/Text.js';
|
|
5
|
-
export const renderFiltrationForm = ({ field, reset, filtrationSchema, resetButton, children, }) => (_jsxs("form", { className: "flex flex-col @4xl:flex-row justify-between bg-white p-4xl gap-s @4xl:gap-0", children: [_jsxs("div", { className: "flex flex-col @4xl:flex-row gap-5xl", children: [children, Object.entries(filtrationSchema).map(renderFormItem(field))] }), resetButton ? (_jsx("div", { children: _jsx(Button, { className: "w-full @4xl:w-72 @4xl:ml-s", onClick: reset,
|
|
5
|
+
export const renderFiltrationForm = ({ field, reset, filtrationSchema, resetButton, children, }) => (_jsxs("form", { className: "flex flex-col @4xl:flex-row justify-between bg-white p-4xl gap-s @4xl:gap-0", children: [_jsxs("div", { className: "flex flex-col @4xl:flex-row gap-5xl", children: [children, Object.entries(filtrationSchema).map(renderFormItem(field))] }), resetButton ? (_jsx("div", { children: _jsx(Button, { className: "w-full @4xl:w-72 @4xl:ml-s", onClick: reset, children: resetButton?.text }) })) : null] }));
|
|
6
6
|
const renderFormItem = (field) => ([key, item]) => {
|
|
7
7
|
const type = item?.type;
|
|
8
8
|
switch (type) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderFiltrationForm.js","sourceRoot":"","sources":["../../../src/ui-kit/BaseFiltration/renderFiltrationForm.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAoBpC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EACnC,KAAK,EACL,KAAK,EACL,gBAAgB,EAChB,WAAW,EACX,QAAQ,GACkB,EAAE,EAAE,CAAC,CAC/B,gBAAM,SAAS,EAAC,6EAA6E,aAC3F,eAAK,SAAS,EAAC,qCAAqC,aACjD,QAAQ,EACR,MAAM,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,GAAG,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,IACxD,EACL,WAAW,CAAC,CAAC,CAAC,CACb,wBACE,KAAC,MAAM,IAAC,SAAS,EAAC,4BAA4B,EAAC,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"renderFiltrationForm.js","sourceRoot":"","sources":["../../../src/ui-kit/BaseFiltration/renderFiltrationForm.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAoBpC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EACnC,KAAK,EACL,KAAK,EACL,gBAAgB,EAChB,WAAW,EACX,QAAQ,GACkB,EAAE,EAAE,CAAC,CAC/B,gBAAM,SAAS,EAAC,6EAA6E,aAC3F,eAAK,SAAS,EAAC,qCAAqC,aACjD,QAAQ,EACR,MAAM,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,GAAG,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,IACxD,EACL,WAAW,CAAC,CAAC,CAAC,CACb,wBACE,KAAC,MAAM,IAAC,SAAS,EAAC,4BAA4B,EAAC,OAAO,EAAE,KAAK,YAC1D,WAAW,EAAE,IAAI,GACX,GACL,CACP,CAAC,CAAC,CAAC,IAAI,IACH,CACR,CAAC;AAEF,MAAM,cAAc,GAClB,CAAC,KAA+B,EAAE,EAAE,CACpC,CAAC,CAAC,GAAG,EAAE,IAAI,CAAuB,EAAE,EAAE;IACpC,MAAM,IAAI,GAAG,IAAI,EAAE,IAAI,CAAC;IAExB,QAAQ,IAAI,EAAE;QACZ,KAAK,OAAO;YACV,OAAO,gBAAgB,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC;QAC5C;YACE,OAAO,IAAI,CAAC;KACf;AACH,CAAC,CAAC;AAEJ,MAAM,gBAAgB,GAAG,CAAC,GAAW,EAAE,KAA+B,EAAE,EAAE,CAAC,CAAC,IAAkB,EAAE,EAAE;IAChG,MAAM,OAAO,GACX,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QAC1F,EAAE,CAAC;IAEL,OAAO,CACL,0BACG,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,CACb,cAAK,SAAS,EAAC,MAAM,YACnB,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,qBAAqB,YAC9D,IAAI,CAAC,KAAK,GACN,GACH,CACP,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,kBAAkB,IAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,WAAK,KAAK,CAA+B,GAAG,CAAC,GAAI,KARrF,GAAG,CASP,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -3,8 +3,8 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
3
3
|
import { Headline } from '../../components/Headline/Headline.js';
|
|
4
4
|
import { BaseTile } from '../BaseTile/BaseTile.js';
|
|
5
5
|
import { BenefitsList } from '../BenefitsList/BenefitsList.js';
|
|
6
|
-
import { renderButtonsSection } from '../Button/renderButtonsSection.js';
|
|
7
6
|
import { Img } from '../Img/Img.js';
|
|
7
|
+
import { renderButtonsSection } from '../LinkButton/renderButtonsSection.js';
|
|
8
8
|
import { List } from '../List/List.js';
|
|
9
9
|
import { PriceList } from '../PriceList/PriceList.js';
|
|
10
10
|
import { RichText } from '../RichText/RichText.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseProductTile.js","sourceRoot":"","sources":["../../../src/ui-kit/BaseProductTile/BaseProductTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QA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KAAC,YAAY,IACX,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,EACpC,QAAQ,EAAE,gBAAgB,GAC1B,CACH,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,CAAC,CAAC,KAAC,QAAQ,IAAC,MAAM,EAAE,MAAM,GAAI,CAAC,CAAC,CAAC,IAAI,EAC5C,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,KAAC,IAAI,IAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,SAAS,CAAC,eAAe,CAAC,GAAI,CACrF,CAAC,CAAC,CAAC,IAAI,EACP,QAAQ,EACR,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,KAAC,SAAS,IAAC,SAAS,EAAE,SAAS,GAAI,CAAC,CAAC,CAAC,IAAI,EAC9D,UAAU,CAAC,IAAI,CAAC,IACb,GACG,CACZ,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,GAAU,EAAE,cAAuB,EAAE,EAAE,CACtE,cAAc,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC;AAE5D,MAAM,UAAU,GAAG,CAAC,IAAc,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { type Align } from '../../model/Align';
|
|
2
2
|
import { type BulletsProps } from '../../model/Bullets';
|
|
3
|
-
import { type HeadlineProps
|
|
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';
|
|
@@ -26,7 +26,7 @@ export interface PriceItem {
|
|
|
26
26
|
export interface PriceListProps {
|
|
27
27
|
priceList?: PriceItem[];
|
|
28
28
|
}
|
|
29
|
-
export declare type BaseProductTileContent = HeadlineProps & BenefitsListContent & RichTextProps & ListContent & BulletsProps & TagsContent & ButtonsSectionContent & ImageContent &
|
|
29
|
+
export declare type BaseProductTileContent = HeadlineProps & BenefitsListContent & RichTextProps & ListContent & BulletsProps & TagsContent & ButtonsSectionContent & ImageContent & PriceListProps & {
|
|
30
30
|
imageOptions?: TileImageOptions;
|
|
31
31
|
/** @title Заголовок во всю ширину */
|
|
32
32
|
isFullWidthTitle?: boolean;
|
|
@@ -1,2 +1,13 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type ButtonVersion } from '../../model/ButtonVersion';
|
|
2
|
+
import { type ARIAProps } from '../ARIAProps';
|
|
3
|
+
import { type ControlStateProps } from '../ControlStateProps';
|
|
4
|
+
import type { PreventableEvent } from '../PreventableEvent';
|
|
5
|
+
export interface ButtonProps extends ControlStateProps, ARIAProps {
|
|
6
|
+
className?: string;
|
|
7
|
+
version?: ButtonVersion;
|
|
8
|
+
type?: 'button' | 'submit' | 'reset' | undefined;
|
|
9
|
+
rounded?: boolean;
|
|
10
|
+
role?: string;
|
|
11
|
+
onClick?: (ev?: PreventableEvent) => void;
|
|
12
|
+
}
|
|
2
13
|
export declare const Button: import("@redneckz/uni-jsx").UNIComponent<ButtonProps, any, any>;
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import '../../setup-fixture';
|
|
3
2
|
declare const _default: {
|
|
4
|
-
|
|
5
|
-
'
|
|
6
|
-
'secondary (Private clients)': JSX.Element;
|
|
7
|
-
'primary (Business clients)': JSX.Element;
|
|
8
|
-
'secondary (Business clients)': JSX.Element;
|
|
9
|
-
'primary (Ecosystem own)': JSX.Element;
|
|
10
|
-
'secondary (Ecosystem own)': JSX.Element;
|
|
11
|
-
'primary (disabled)': JSX.Element;
|
|
12
|
-
'secondary (disabled)': JSX.Element;
|
|
3
|
+
'primary palette': JSX.Element;
|
|
4
|
+
'secondary palette': JSX.Element;
|
|
13
5
|
};
|
|
14
6
|
export default _default;
|
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
import { style } from '../../utils/style.js';
|
|
4
|
+
import { useButton } from './useButton.js';
|
|
5
|
+
const activeButtonStyleMap = 'text-white bg-primary-active';
|
|
6
|
+
const disabledButtonStyle = 'bg-main-gray text-main-disabled cursor-not-allowed';
|
|
7
|
+
const buttonStyleMap = {
|
|
8
|
+
primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
|
|
9
|
+
secondary: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
|
|
10
|
+
};
|
|
11
|
+
const secondaryButtonStyleMap = {
|
|
12
|
+
primary: style('group-data-secondary:text-primary-main group-data-secondary:bg-white', 'group-data-secondary:hover:text-white group-data-secondary:hover:bg-primary-hover', 'group-data-secondary:active:bg-primary-active'),
|
|
13
|
+
secondary: style('group-data-secondary:text-white group-data-secondary:bg-white/20', 'group-data-secondary:hover:bg-primary-hover', 'group-data-secondary:active:bg-primary-active'),
|
|
14
|
+
};
|
|
15
|
+
export const Button = JSX(({ children, ...props }) => {
|
|
16
|
+
const button = useButton();
|
|
17
|
+
const { className, version = 'primary', active, disabled, type = 'button', rounded = true, role, onClick, } = button(props);
|
|
18
|
+
return (_jsx("button", { className: style('font-sans px-9 py-4', 'flex justify-center items-center gap-xs', active ? activeButtonStyleMap : '', disabled ? disabledButtonStyle : '', !active && !disabled
|
|
19
|
+
? style(buttonStyleMap[version], secondaryButtonStyleMap[version])
|
|
20
|
+
: '', rounded ? 'rounded-md' : '', className), type: type, role: role, onClick: onClick, children: children }));
|
|
14
21
|
});
|
|
15
|
-
const RegularButton = JSX(({ className = '', href, rel, target, ariaLabel, version, rounded, onClick, children }) => (_jsx("a", { className: getRegularButtonClasses({ className, version, rounded }), href: href, rel: rel, target: target, "aria-label": ariaLabel, role: href ? 'link' : 'button', onClick: onClick, children: children })));
|
|
16
|
-
const DisabledButton = JSX(({ className, ariaLabel, version, rounded, children }) => (_jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: -1, className: getDisabledButtonClasses({ className, rounded, version }), children: children })));
|
|
17
22
|
//# sourceMappingURL=Button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/Button.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/Button.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAI1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,oBAAoB,GAAG,8BAA8B,CAAC;AAE5D,MAAM,mBAAmB,GAAG,oDAAoD,CAAC;AAEjF,MAAM,cAAc,GAAkC;IACpD,OAAO,EAAE,4EAA4E;IACrF,SAAS,EACP,oGAAoG;CACvG,CAAC;AAEF,MAAM,uBAAuB,GAAkC;IAC7D,OAAO,EAAE,KAAK,CACZ,sEAAsE,EACtE,mFAAmF,EACnF,+CAA+C,CAChD;IACD,SAAS,EAAE,KAAK,CACd,kEAAkE,EAClE,6CAA6C,EAC7C,+CAA+C,CAChD;CACF,CAAC;AAWF,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAc,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,EAAE;IAChE,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAE3B,MAAM,EACJ,SAAS,EACT,OAAO,GAAG,SAAS,EACnB,MAAM,EACN,QAAQ,EACR,IAAI,GAAG,QAAQ,EACf,OAAO,GAAG,IAAI,EACd,IAAI,EACJ,OAAO,GACR,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IAElB,OAAO,CACL,iBACE,SAAS,EAAE,KAAK,CACd,qBAAqB,EACrB,yCAAyC,EACzC,MAAM,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,EAAE,EAClC,QAAQ,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,EACnC,CAAC,MAAM,IAAI,CAAC,QAAQ;YAClB,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,uBAAuB,CAAC,OAAO,CAAC,CAAC;YAClE,CAAC,CAAC,EAAE,EACN,OAAO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,EAC3B,SAAS,CACV,EACD,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,YAEf,QAAQ,GACF,CACV,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { handlerDecorator } from '../../hooks/handlerDecorator.js';
|
|
2
|
+
export function useButton() {
|
|
3
|
+
return (props) => ({
|
|
4
|
+
...props,
|
|
5
|
+
onClick: handlerDecorator(handleClick(props), props),
|
|
6
|
+
});
|
|
7
|
+
}
|
|
8
|
+
function handleClick({ disabled, onClick }) {
|
|
9
|
+
return (ev) => {
|
|
10
|
+
!disabled && onClick && onClick(ev);
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=useButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useButton.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/useButton.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAIhE,MAAM,UAAU,SAAS;IACvB,OAAO,CAAC,KAAkB,EAAe,EAAE,CAAC,CAAC;QAC3C,GAAG,KAAK;QACR,OAAO,EAAE,gBAAgB,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC;KACrD,CAAC,CAAC;AACL,CAAC;AAED,SAAS,WAAW,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAwB;IAC9D,OAAO,CAAC,EAAqB,EAAE,EAAE;QAC/B,CAAC,QAAQ,IAAI,OAAO,IAAI,OAAO,CAAC,EAAE,CAAC,CAAC;IACtC,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ControlStateProps.js","sourceRoot":"","sources":["../../src/ui-kit/ControlStateProps.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { useCarouselControls } from '../../hooks/useCarouselControls.js';
|
|
4
|
-
import { renderArrows } from '../
|
|
4
|
+
import { renderArrows } from '../LinkButton/renderArrows.js';
|
|
5
5
|
import { renderInnerTableRow } from './renderInnerTableRow.js';
|
|
6
6
|
export const InnerTableBodyItem = JSX(({ rows }) => {
|
|
7
7
|
const rowsLength = rows?.[0]?.length ?? 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerTableBodyItem.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableBodyItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"InnerTableBodyItem.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableBodyItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAM5D,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAA0B,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;IAC1E,MAAM,UAAU,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,MAAM,IAAI,CAAC,CAAC;IAC1C,MAAM,eAAe,GAAG,CAAC,CAAC;IAC1B,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,mBAAmB,CAAC;QAClD,SAAS,EAAE,UAAU;QACrB,gBAAgB,EAAE,eAAe;KAClC,CAAC,CAAC;IAEH,OAAO,CACL,0BACG,IAAI,EAAE,GAAG,CAAC,mBAAmB,CAAC,WAAW,CAAC,CAAC,EAC3C,YAAY,CAAC;gBACZ,GAAG,QAAQ;gBACX,QAAQ,EAAE,CAAC,eAAe,EAAE,gBAAgB,CAAC;gBAC7C,SAAS,EAAE,EAAE;aACd,CAAC,IACE,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { Button } from '../Button/Button.js';
|
|
4
3
|
import { Img } from '../Img/Img.js';
|
|
5
|
-
|
|
4
|
+
import { LinkButton } from '../LinkButton/LinkButton.js';
|
|
5
|
+
export const TableInnerButton = JSX(({ className = '', isOpen, onClick }) => (_jsx(LinkButton, { className: className, appendRight: _jsx(Img, { image: { icon: isOpen ? 'ArrowUpIcon' : 'ArrowDownIcon' }, width: "20", height: "20" }), text: isOpen ? 'Скрыть' : 'Показать', version: "gray", onClick: onClick })));
|
|
6
6
|
//# sourceMappingURL=InnerTableButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerTableButton.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"InnerTableButton.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAWtD,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACvC,KAAC,UAAU,IACT,SAAS,EAAE,SAAS,EACpB,WAAW,EACT,KAAC,GAAG,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,EAAE,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,EAE3F,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,EACpC,OAAO,EAAC,MAAM,EACd,OAAO,EAAE,OAAO,GAChB,CACH,CACF,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { Button } from '../Button/Button.js';
|
|
4
3
|
import { Icon } from '../Icon/Icon.js';
|
|
4
|
+
import { LinkButton } from '../LinkButton/LinkButton.js';
|
|
5
5
|
import { linkButtonVersion } from './linkButtonVersion.js';
|
|
6
|
-
export const InnerTableHeader = JSX(({ currencies, linkToPDF, activeTabIndex, setActiveTabIndex }) => (_jsxs("div", { className: "flex justify-between items-center w-full py-lg", children: [currencies && currencies.length > 1 ? (_jsx("div", { className: "flex bg-secondary-light p-2xs rounded-md", children: currencies.map((currency, idx) => (_jsx("div", { className: `rounded-md text-xl font-light px-4 py-3 cursor-pointer ${idx === activeTabIndex ? 'bg-primary-main text-white' : 'text-secondary-text'}`, onClick: () => setActiveTabIndex(idx), children: currency || idx + 1 }, currency))) })) : null, linkToPDF ? (_jsx(
|
|
6
|
+
export const InnerTableHeader = JSX(({ currencies, linkToPDF, activeTabIndex, setActiveTabIndex }) => (_jsxs("div", { className: "flex justify-between items-center w-full py-lg", children: [currencies && currencies.length > 1 ? (_jsx("div", { className: "flex bg-secondary-light p-2xs rounded-md", children: currencies.map((currency, idx) => (_jsx("div", { className: `rounded-md text-xl font-light px-4 py-3 cursor-pointer ${idx === activeTabIndex ? 'bg-primary-main text-white' : 'text-secondary-text'}`, onClick: () => setActiveTabIndex(idx), children: currency || idx + 1 }, currency))) })) : null, linkToPDF ? (_jsx(LinkButton, { className: "text-primary-main", href: linkToPDF, version: linkButtonVersion, target: "_blank", appendLeft: _jsx(Icon, { name: "DocDownloadIcon", iconVersion: "color", className: "mr-3xs", width: "20", height: "20" }), text: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432 PDF" })) : null] })));
|
|
7
7
|
//# sourceMappingURL=InnerTableHeader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerTableHeader.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableHeader.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"InnerTableHeader.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableHeader.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AASxD,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE,iBAAiB,EAAE,EAAE,EAAE,CAAC,CAChE,eAAK,SAAS,EAAC,gDAAgD,aAC5D,UAAU,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CACrC,cAAK,SAAS,EAAC,0CAA0C,YACtD,UAAU,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,CAAC,CACjC,cAEE,SAAS,EAAE,0DACT,GAAG,KAAK,cAAc,CAAC,CAAC,CAAC,4BAA4B,CAAC,CAAC,CAAC,qBAC1D,EAAE,EACF,OAAO,EAAE,GAAG,EAAE,CAAC,iBAAiB,CAAC,GAAG,CAAC,YAEpC,QAAQ,IAAI,GAAG,GAAG,CAAC,IANf,QAAQ,CAOT,CACP,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,EACP,SAAS,CAAC,CAAC,CAAC,CACX,KAAC,UAAU,IACT,SAAS,EAAC,mBAAmB,EAC7B,IAAI,EAAE,SAAS,EACf,OAAO,EAAE,iBAAiB,EAC1B,MAAM,EAAC,QAAQ,EACf,UAAU,EACR,KAAC,IAAI,IACH,IAAI,EAAC,iBAAiB,EACtB,WAAW,EAAC,OAAO,EACnB,SAAS,EAAC,QAAQ,EAClB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,EAEJ,IAAI,EAAC,uDAAe,GACpB,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CACF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
export declare const ArrowButton: import("@redneckz/uni-jsx").UNIComponent<
|
|
3
|
-
export declare const ScrollLeftButton: import("@redneckz/uni-jsx").UNIComponent<
|
|
4
|
-
export declare const ScrollRightButton: import("@redneckz/uni-jsx").UNIComponent<
|
|
1
|
+
import { type LinkButtonProps } from './LinkButtonProps';
|
|
2
|
+
export declare const ArrowButton: import("@redneckz/uni-jsx").UNIComponent<LinkButtonProps, any, any>;
|
|
3
|
+
export declare const ScrollLeftButton: import("@redneckz/uni-jsx").UNIComponent<LinkButtonProps, any, any>;
|
|
4
|
+
export declare const ScrollRightButton: import("@redneckz/uni-jsx").UNIComponent<LinkButtonProps, any, any>;
|
|
@@ -2,8 +2,8 @@ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { style } from '../../utils/style.js';
|
|
4
4
|
import { Img } from '../Img/Img.js';
|
|
5
|
-
import {
|
|
6
|
-
export const ArrowButton = JSX(({ className, disabled, ...rest }) => (_jsx(
|
|
5
|
+
import { LinkButton } from './LinkButton.js';
|
|
6
|
+
export const ArrowButton = JSX(({ className, disabled, ...rest }) => (_jsx(LinkButton, { rounded: true, className: style('group/btn w-12 h-12 min-h-12 max-h-12 flex items-center justify-center shadow-main-black', disabled
|
|
7
7
|
? 'bg-secondary-light text-secondary-text'
|
|
8
8
|
: 'bg-white text-primary-text hover:text-primary-main', className || ''), disabled: disabled, ...rest, children: _jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, imageClassName: "group-hover/btn:text-primary-main", width: "16", height: "16" }) })));
|
|
9
9
|
export const ScrollLeftButton = JSX((props) => (_jsx(ArrowButton, { ...props, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E", "data-block-control": "scroll-left" })));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArrowButton.js","sourceRoot":"","sources":["../../../src/ui-kit/LinkButton/ArrowButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAkB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACpF,KAAC,UAAU,IACT,OAAO,QACP,SAAS,EAAE,KAAK,CACd,0FAA0F,EAC1F,QAAQ;QACN,CAAC,CAAC,wCAAwC;QAC1C,CAAC,CAAC,oDAAoD,EACxD,SAAS,IAAI,EAAE,CAChB,EACD,QAAQ,EAAE,QAAQ,KACd,IAAI,YAER,KAAC,GAAG,IACF,SAAS,EAAC,iDAAiD,EAC3D,KAAK,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,WAAW,EAAE,OAAO,EAAE,EACtD,cAAc,EAAC,mCAAmC,EAClD,KAAK,EAAC,IAAI,EACV,MAA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version":3,"file":"ButtonsSectionContent.js","sourceRoot":"","sources":["../../../src/ui-kit/LinkButton/ButtonsSectionContent.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetButtonClassParams.js","sourceRoot":"","sources":["../../../src/ui-kit/LinkButton/GetButtonClassParams.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LikeButton.js","sourceRoot":"","sources":["../../../src/ui-kit/LinkButton/LikeButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAQxC,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAkB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CACpF,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,0CAA0C,SAAS,IAAI,EAAE,EAAE,EACtE,OAAO,EAAE,OAAO,gBACJ,SAAS,YAEpB,cAAc,EAAE,GACV,CACV,CAAC,CAAC;AAEH,MAAM,cAAc,GAAG,GAAG,EAAE;IAC1B,MAAM,QAAQ,GACZ,6GAA6G;QAC7G,6EAA6E,CAAC;IAChF,MAAM,QAAQ,GACZ,oGAAoG,CAAC;IAEvG,OAAO,CACL,eAAK,KAAK,EAAC,4BAA4B,EAAC,IAAI,EAAC,MAAM,EAAC,OAAO,EAAC,WAAW,aACpE,kBAAkB,CAAC,QAAQ,CAAC,EAC5B,kBAAkB,CAAC,QAAQ,CAAC,IACzB,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,CACxC,eACE,MAAM,EAAC,SAAS,EAChB,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,EACtB,WAAW,EAAC,KAAK,EACjB,gBAAgB,EAAC,IAAI,EACrB,CAAC,EAAE,CAAC,GACJ,CACH,CAAC"}
|