@redneckz/wildless-cms-uni-blocks 0.11.2 → 0.12.3
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.11.1.js +34 -0
- package/bin/migration-scripts/0.12.3.js +22 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +231 -282
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/bundle/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/bundle/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/bundle/components/CarouselCard/titleSize.d.ts +1 -0
- package/bundle/components/CarouselCard/titleSize.mobile.d.ts +1 -0
- package/bundle/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
- package/bundle/components/Footer/Contacts.d.ts +2 -2
- package/bundle/components/Footer/FooterContent.d.ts +9 -1
- package/bundle/components/Footer/FooterDataProps.d.ts +2 -2
- package/bundle/components/Headline/HeadlineContent.d.ts +0 -2
- package/bundle/components/MobileAppTile/renderDescription.d.ts +2 -0
- package/bundle/components/MobileAppTile/renderList.d.ts +2 -0
- package/bundle/components/PictureText/PictureTextContent.d.ts +2 -6
- package/bundle/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
- package/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -22
- package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/bundle/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/bundle/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/bundle/components/RollupItem/renderRoundedIcon.d.ts +3 -0
- package/bundle/components/RollupItem/renderRoundedIcon.mobile.d.ts +4 -0
- package/bundle/components/Tile/TileContent.d.ts +2 -13
- package/bundle/model/Align.d.ts +5 -0
- package/bundle/model/AlignText.d.ts +3 -0
- package/bundle/model/AlignType.d.ts +2 -0
- package/bundle/model/HeadlineType.d.ts +8 -1
- package/bundle/model/JSXBlock.d.ts +12 -5
- package/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
- package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
- package/bundle/{components → ui-kit}/BaseTile/BaseTile.d.ts +2 -0
- package/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
- package/bundle/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
- package/bundle/ui-kit/BenefitItem/borderRadius.mobile.d.ts +1 -0
- package/bundle/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/bundle/ui-kit/BenefitItem/labelSize.mobile.d.ts +1 -0
- package/bundle/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
- package/bundle/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
- package/bundle/ui-kit/BenefitsList/renderBenefit.d.ts +4 -0
- package/bundle/ui-kit/Icon/IconProps.d.ts +8 -3
- package/bundle/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/bundle/ui-kit/Img/Img.d.ts +2 -1
- package/bundle/ui-kit/Img/ImgProps.d.ts +0 -1
- package/bundle/ui-kit/List/ListContent.d.ts +6 -0
- package/bundle/ui-kit/List/ListItem.d.ts +1 -1
- package/bundle/ui-kit/List/ListProps.d.ts +0 -6
- package/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
- package/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
- package/bundle/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
- package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/bundle/ui-kit/Tags/Tags.d.ts +2 -2
- package/bundle/utils/avg.d.ts +1 -0
- package/bundle/utils/deviation.d.ts +1 -0
- package/dist/components/ApplicationForm/ApplicationForm.js +1 -2
- package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/dist/components/ApplicationForm/ResponseNotification.js +1 -1
- package/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js +3 -2
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/Blocks.js +2 -2
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.js +6 -0
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/Bonus/Bonus.js +2 -2
- package/dist/components/Bonus/Bonus.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/dist/components/BusinessBlock/BusinessBlock.js +1 -1
- package/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
- package/dist/components/BusinessBlock/BusinessCard.js +1 -1
- package/dist/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/dist/components/ButtonsBlock/ButtonsBlock.js +9 -0
- package/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
- package/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/dist/components/ButtonsBlock/ButtonsBlockContent.js +2 -0
- package/dist/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
- package/dist/components/Calculator/Calculator.js +1 -1
- package/dist/components/Calculator/Calculator.js.map +1 -1
- package/dist/components/CardTransfer/CardTransfer.js +1 -1
- package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/dist/components/Carousel/Carousel.js +1 -1
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/dist/components/CarouselCard/CarouselCard.js +9 -7
- package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/dist/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/dist/components/CarouselCard/getCardWidth.js +18 -0
- package/dist/components/CarouselCard/getCardWidth.js.map +1 -0
- package/dist/components/CarouselCard/titleSize.d.ts +1 -0
- package/dist/components/CarouselCard/titleSize.js +4 -0
- package/dist/components/CarouselCard/titleSize.js.map +1 -0
- package/dist/components/CarouselCard/titleSize.mobile.d.ts +1 -0
- package/dist/components/CarouselCard/titleSize.mobile.js +4 -0
- package/dist/components/CarouselCard/titleSize.mobile.js.map +1 -0
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -1
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/dist/components/CarouselEventCard/CarouselEventCard.js +1 -1
- package/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -2
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/dist/components/CarouselLinks/CarouselLinks.js +3 -4
- package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.js +6 -6
- package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
- package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
- package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js +2 -1
- package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/dist/components/ContactsBlock/ContactsBlock.js +3 -2
- package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/dist/components/DepositFiltration/DepositFiltration.js +1 -1
- package/dist/components/DepositFiltration/DepositFiltration.js.map +1 -1
- package/dist/components/ErrorBlock/ErrorBlock.js +1 -1
- package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +2 -2
- package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js +3 -2
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/dist/components/Footer/Contacts.d.ts +2 -2
- package/dist/components/Footer/Contacts.js +4 -5
- package/dist/components/Footer/Contacts.js.map +1 -1
- package/dist/components/Footer/Footer.js +1 -1
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +2 -3
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/FooterContent.d.ts +9 -1
- package/dist/components/Footer/FooterDataProps.d.ts +2 -2
- package/dist/components/GracePeriod/GracePeriod.js +1 -1
- package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/dist/components/Header/Header.js +1 -1
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/Header.mobile.js +1 -1
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Headline/Headline.js +2 -3
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/Headline/HeadlineContent.d.ts +0 -2
- package/dist/components/Headline/headlineVersionStyles.js +9 -9
- package/dist/components/Headline/headlineVersionStyles.js.map +1 -1
- package/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
- package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/dist/components/ImgBlock/ImgBlock.js +1 -1
- package/dist/components/ImgBlock/ImgBlock.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.js +3 -3
- package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.js +1 -1
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -2
- package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +6 -12
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/MobileAppTile/renderButtonSection.d.ts +0 -0
- package/dist/components/MobileAppTile/renderButtonSection.js +1 -0
- package/dist/components/MobileAppTile/renderButtonSection.js.map +1 -0
- package/dist/components/MobileAppTile/renderDescription.d.ts +2 -0
- package/dist/components/MobileAppTile/renderDescription.js +7 -0
- package/dist/components/MobileAppTile/renderDescription.js.map +1 -0
- package/dist/components/MobileAppTile/renderList.d.ts +2 -0
- package/dist/components/MobileAppTile/renderList.js +9 -0
- package/dist/components/MobileAppTile/renderList.js.map +1 -0
- package/dist/components/MortgageFiltration/MortgageFiltration.js +1 -1
- package/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/dist/components/ParagraphBlock/ParagraphBlock.js +1 -1
- package/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
- package/dist/components/PictureText/PictureText.js +3 -14
- package/dist/components/PictureText/PictureText.js.map +1 -1
- package/dist/components/PictureText/PictureTextContent.d.ts +2 -6
- package/dist/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
- package/dist/components/PictureText/renderInsuranceSumMonth.js +9 -0
- package/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
- package/dist/components/Placeholder/Placeholder.js +1 -6
- package/dist/components/Placeholder/Placeholder.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +3 -3
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -22
- package/dist/components/ProductGallery/ProductGallery.js +2 -2
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.mobile.js +5 -6
- package/dist/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
- package/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/dist/components/ProductTile/ProductTile.js +1 -2
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/components/PromoTile/PromoTile.js +2 -5
- package/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/dist/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/dist/components/RichTextBlock/RichTextBlock.js +1 -1
- package/dist/components/RichTextBlock/RichTextBlock.js.map +1 -1
- package/dist/components/RollupItem/RollupItem.js +14 -9
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/dist/components/RollupItem/renderRoundedIcon.d.ts +3 -0
- package/dist/components/RollupItem/renderRoundedIcon.js +6 -0
- package/dist/components/RollupItem/renderRoundedIcon.js.map +1 -0
- package/dist/components/RollupItem/renderRoundedIcon.mobile.d.ts +4 -0
- package/dist/components/RollupItem/renderRoundedIcon.mobile.js +7 -0
- package/dist/components/RollupItem/renderRoundedIcon.mobile.js.map +1 -0
- package/dist/components/SafeDepositRental/SafeDepositRental.js +2 -2
- package/dist/components/SafeDepositRental/SafeDepositRental.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/SwipeListControlBlock/SwipeListControlBlock.js +1 -3
- package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
- package/dist/components/Tabs/Tabs.js +1 -1
- package/dist/components/Tabs/Tabs.js.map +1 -1
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +3 -6
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
- package/dist/components/TariffsTable/TableTileHeader.js +2 -2
- package/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +2 -1
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.mobile.js +3 -3
- package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableHorizontal.js +1 -1
- package/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableTileCell.js +2 -2
- package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/dist/components/TextBlock/TextBlock.js +1 -3
- package/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/dist/components/Tile/Tile.js +2 -14
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/components/Tile/TileContent.d.ts +2 -13
- package/dist/components/VerticalLayout/VerticalLayout.js +1 -1
- package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/dist/components/Video/Video.js +1 -2
- package/dist/components/Video/Video.js.map +1 -1
- package/dist/content-page-repository/transformDocumentLink.js +1 -1
- package/dist/content-page-repository/transformDocumentLink.js.map +1 -1
- package/dist/content-page-repository/transformImg.js +1 -1
- package/dist/content-page-repository/transformImg.js.map +1 -1
- package/dist/model/Align.d.ts +5 -0
- package/dist/{ui-kit/BenefitItem/BenefitItemProps.js → model/Align.js} +1 -1
- package/dist/model/Align.js.map +1 -0
- package/dist/model/AlignText.d.ts +3 -0
- package/dist/model/AlignText.js +3 -0
- package/dist/model/AlignText.js.map +1 -1
- package/dist/model/AlignType.d.ts +2 -0
- package/dist/model/HeadlineType.d.ts +8 -1
- package/dist/model/JSXBlock.d.ts +12 -5
- package/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js +18 -0
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -0
- package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
- package/dist/ui-kit/{SwipeListControl/SwipeListControlProps.js → BaseProductTile/BaseProductTileContent.js} +1 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTileContent.js.map +1 -0
- package/{lib/components → dist/ui-kit}/BaseTile/BaseTile.d.ts +2 -0
- package/dist/ui-kit/BaseTile/BaseTile.js +13 -0
- package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -0
- package/dist/ui-kit/BaseTile/getTileRightPadding.js.map +1 -0
- package/dist/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
- package/dist/ui-kit/BenefitItem/BenefitItem.js +7 -10
- package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/dist/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
- package/dist/{components/ButtonBlock/ButtonBlockContent.js → ui-kit/BenefitItem/BenefitItemContent.js} +1 -1
- package/dist/ui-kit/BenefitItem/BenefitItemContent.js.map +1 -0
- package/dist/ui-kit/BenefitItem/borderRadius.mobile.d.ts +1 -0
- package/dist/ui-kit/BenefitItem/borderRadius.mobile.js +4 -0
- package/dist/ui-kit/BenefitItem/borderRadius.mobile.js.map +1 -0
- package/dist/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/dist/ui-kit/BenefitItem/labelSize.js +4 -0
- package/dist/ui-kit/BenefitItem/labelSize.js.map +1 -0
- package/dist/ui-kit/BenefitItem/labelSize.mobile.d.ts +1 -0
- package/dist/ui-kit/BenefitItem/labelSize.mobile.js +4 -0
- package/dist/ui-kit/BenefitItem/labelSize.mobile.js.map +1 -0
- package/dist/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
- package/dist/ui-kit/BenefitsList/BenefitsList.js +14 -0
- package/dist/ui-kit/BenefitsList/BenefitsList.js.map +1 -0
- package/dist/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
- package/dist/ui-kit/BenefitsList/BenefitsListContent.js +2 -0
- package/dist/ui-kit/BenefitsList/BenefitsListContent.js.map +1 -0
- package/dist/ui-kit/BenefitsList/renderBenefit.d.ts +4 -0
- package/dist/ui-kit/BenefitsList/renderBenefit.js +13 -0
- package/dist/ui-kit/BenefitsList/renderBenefit.js.map +1 -0
- package/dist/ui-kit/BlockWrapper.js +3 -3
- package/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/dist/ui-kit/Button/ButtonInner.js +1 -1
- package/dist/ui-kit/Button/renderButtonsSection.js +2 -2
- package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/dist/ui-kit/Heading/Heading.js +2 -1
- package/dist/ui-kit/Heading/Heading.js.map +1 -1
- package/dist/ui-kit/Icon/IconProps.d.ts +8 -3
- package/dist/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/dist/ui-kit/Icon/RoundedIcon.js +6 -2
- package/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/dist/ui-kit/Img/Img.d.ts +2 -1
- package/dist/ui-kit/Img/Img.js +10 -2
- package/dist/ui-kit/Img/Img.js.map +1 -1
- package/dist/ui-kit/Img/ImgAsPicture.js +6 -12
- package/dist/ui-kit/Img/ImgAsPicture.js.map +1 -1
- package/dist/ui-kit/Img/ImgProps.d.ts +0 -1
- package/dist/ui-kit/List/List.js.map +1 -1
- package/dist/ui-kit/List/ListContent.d.ts +6 -0
- package/dist/ui-kit/List/ListItem.d.ts +1 -1
- package/dist/ui-kit/List/ListProps.d.ts +0 -6
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/dist/ui-kit/Tags/Tags.d.ts +2 -2
- package/dist/ui-kit/Tags/Tags.js +4 -5
- package/dist/ui-kit/Tags/Tags.js.map +1 -1
- package/dist/utils/avg.d.ts +1 -0
- package/dist/utils/avg.js +6 -0
- package/dist/utils/avg.js.map +1 -0
- package/dist/utils/deviation.d.ts +1 -0
- package/dist/utils/deviation.js +6 -0
- package/dist/utils/deviation.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationForm.js +1 -2
- package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/lib/components/ApplicationForm/ResponseNotification.js +1 -1
- package/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js +3 -2
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/Blocks.js +2 -2
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.js +6 -0
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/Bonus/Bonus.js +2 -2
- package/lib/components/Bonus/Bonus.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/lib/components/BusinessBlock/BusinessBlock.js +1 -1
- package/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
- package/lib/components/BusinessBlock/BusinessCard.js +1 -1
- package/lib/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/lib/components/ButtonsBlock/ButtonsBlock.fixture.mobile.d.ts +6 -0
- package/lib/components/{ButtonBlock/ButtonBlock.js → ButtonsBlock/ButtonsBlock.js} +2 -2
- package/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
- package/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/lib/components/ButtonsBlock/ButtonsBlockContent.js +2 -0
- package/lib/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
- package/lib/components/Calculator/Calculator.js +1 -1
- package/lib/components/Calculator/Calculator.js.map +1 -1
- package/lib/components/CardTransfer/CardTransfer.fixture.mobile.d.ts +6 -0
- package/lib/components/CardTransfer/CardTransfer.js +1 -1
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/lib/components/Carousel/Carousel.js +1 -1
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/lib/components/CarouselCard/CarouselCard.fixture.mobile.d.ts +8 -0
- package/lib/components/CarouselCard/CarouselCard.js +9 -7
- package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/lib/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/lib/components/CarouselCard/getCardWidth.js +15 -0
- package/lib/components/CarouselCard/getCardWidth.js.map +1 -0
- package/lib/components/CarouselCard/titleSize.d.ts +1 -0
- package/lib/components/CarouselCard/titleSize.js +2 -0
- package/lib/components/CarouselCard/titleSize.js.map +1 -0
- package/lib/components/CarouselCard/titleSize.mobile.d.ts +1 -0
- package/lib/components/CarouselCard/titleSize.mobile.js +2 -0
- package/lib/components/CarouselCard/titleSize.mobile.js.map +1 -0
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -1
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/lib/components/CarouselEventCard/CarouselEventCard.js +1 -1
- package/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -2
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/lib/components/CarouselLinks/CarouselLinks.js +3 -4
- package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.js +6 -6
- package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js +2 -1
- package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/lib/components/ContactsBlock/ContactsBlock.js +3 -2
- package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/lib/components/DepositFiltration/DepositFiltration.js +1 -1
- package/lib/components/DepositFiltration/DepositFiltration.js.map +1 -1
- package/lib/components/ErrorBlock/ErrorBlock.js +1 -1
- package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +2 -2
- package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js +3 -2
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/lib/components/Footer/Contacts.d.ts +2 -2
- package/lib/components/Footer/Contacts.js +4 -5
- package/lib/components/Footer/Contacts.js.map +1 -1
- package/lib/components/Footer/Footer.js +1 -1
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +2 -3
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/FooterContent.d.ts +9 -1
- package/lib/components/Footer/FooterDataProps.d.ts +2 -2
- package/lib/components/GracePeriod/GracePeriod.js +1 -1
- package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/lib/components/Header/Header.js +1 -1
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mobile.js +1 -1
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Headline/Headline.js +2 -3
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/Headline/HeadlineContent.d.ts +0 -2
- package/lib/components/Headline/headlineVersionStyles.js +9 -9
- package/lib/components/Headline/headlineVersionStyles.js.map +1 -1
- package/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
- package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/lib/components/ImgBlock/ImgBlock.js +1 -1
- package/lib/components/ImgBlock/ImgBlock.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.js +3 -3
- package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.js +1 -1
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -2
- package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.fixture.mobile.d.ts +1 -0
- package/lib/components/MobileAppTile/MobileAppTile.js +6 -12
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/MobileAppTile/renderButtonSection.d.ts +0 -0
- package/lib/components/MobileAppTile/renderButtonSection.js +1 -0
- package/lib/components/MobileAppTile/renderButtonSection.js.map +1 -0
- package/lib/components/MobileAppTile/renderDescription.d.ts +1 -0
- package/lib/components/MobileAppTile/renderDescription.js +4 -0
- package/lib/components/MobileAppTile/renderDescription.js.map +1 -0
- package/lib/components/MobileAppTile/renderList.d.ts +1 -0
- package/lib/components/MobileAppTile/renderList.js +6 -0
- package/lib/components/MobileAppTile/renderList.js.map +1 -0
- package/lib/components/MortgageFiltration/MortgageFiltration.js +1 -1
- package/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/lib/components/ParagraphBlock/ParagraphBlock.js +1 -1
- package/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
- package/lib/components/PictureText/PictureText.fixture.mobile.d.ts +14 -0
- package/lib/components/PictureText/PictureText.js +4 -15
- package/lib/components/PictureText/PictureText.js.map +1 -1
- package/lib/components/PictureText/PictureTextContent.d.ts +2 -6
- package/lib/components/PictureText/renderInsuranceSumMonth.d.ts +1 -0
- package/lib/components/PictureText/renderInsuranceSumMonth.js +6 -0
- package/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
- package/lib/components/Placeholder/Placeholder.js +1 -6
- package/lib/components/Placeholder/Placeholder.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.js +3 -3
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -22
- package/lib/components/ProductGallery/ProductGallery.js +2 -2
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.mobile.js +5 -6
- package/lib/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
- package/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/lib/components/ProductTile/ProductTile.js +1 -2
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/PromoTile/PromoTile.js +2 -5
- package/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/lib/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/lib/components/RichTextBlock/RichTextBlock.js +1 -1
- package/lib/components/RichTextBlock/RichTextBlock.js.map +1 -1
- package/lib/components/RollupItem/RollupItem.fixture.mobile.d.ts +1 -0
- package/lib/components/RollupItem/RollupItem.js +14 -9
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/lib/components/RollupItem/renderRoundedIcon.d.ts +3 -0
- package/lib/components/RollupItem/renderRoundedIcon.js +3 -0
- package/lib/components/RollupItem/renderRoundedIcon.js.map +1 -0
- package/lib/components/RollupItem/renderRoundedIcon.mobile.d.ts +3 -0
- package/lib/components/RollupItem/renderRoundedIcon.mobile.js +4 -0
- package/lib/components/RollupItem/renderRoundedIcon.mobile.js.map +1 -0
- package/lib/components/SafeDepositRental/SafeDepositRental.js +2 -2
- package/lib/components/SafeDepositRental/SafeDepositRental.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/SwipeListControlBlock/SwipeListControlBlock.js +1 -3
- package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
- package/lib/components/Tabs/Tabs.js +1 -1
- package/lib/components/Tabs/Tabs.js.map +1 -1
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +3 -6
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
- package/lib/components/TariffsTable/TableTileHeader.js +2 -2
- package/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.js +2 -1
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.mobile.js +3 -3
- package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableHorizontal.js +1 -1
- package/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableTileCell.js +2 -2
- package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/lib/components/TextBlock/TextBlock.js +1 -3
- package/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/lib/components/Tile/Tile.js +3 -15
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/components/Tile/TileContent.d.ts +2 -13
- package/lib/components/VerticalLayout/VerticalLayout.js +1 -1
- package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/lib/components/Video/Video.js +1 -2
- package/lib/components/Video/Video.js.map +1 -1
- package/lib/content-page-repository/transformDocumentLink.js +1 -1
- package/lib/content-page-repository/transformDocumentLink.js.map +1 -1
- package/lib/content-page-repository/transformImg.js +1 -1
- package/lib/content-page-repository/transformImg.js.map +1 -1
- package/lib/model/Align.d.ts +5 -0
- package/lib/model/Align.js +2 -0
- package/lib/model/Align.js.map +1 -0
- package/lib/model/AlignText.d.ts +3 -0
- package/lib/model/AlignText.js +3 -0
- package/lib/model/AlignText.js.map +1 -1
- package/lib/model/AlignType.d.ts +2 -0
- package/lib/model/HeadlineType.d.ts +8 -1
- package/lib/model/JSXBlock.d.ts +12 -5
- package/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js +16 -0
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -0
- package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
- package/lib/ui-kit/BaseProductTile/BaseProductTileContent.js +2 -0
- package/lib/ui-kit/BaseProductTile/BaseProductTileContent.js.map +1 -0
- package/{mobile/bundle/components → lib/ui-kit}/BaseTile/BaseTile.d.ts +2 -0
- package/lib/ui-kit/BaseTile/BaseTile.js +11 -0
- package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -0
- package/lib/ui-kit/BaseTile/getTileRightPadding.js.map +1 -0
- package/lib/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
- package/lib/ui-kit/BenefitItem/BenefitItem.js +7 -10
- package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/lib/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
- package/lib/ui-kit/BenefitItem/BenefitItemContent.js +2 -0
- package/lib/ui-kit/BenefitItem/BenefitItemContent.js.map +1 -0
- package/lib/ui-kit/BenefitItem/borderRadius.mobile.d.ts +1 -0
- package/lib/ui-kit/BenefitItem/borderRadius.mobile.js +2 -0
- package/lib/ui-kit/BenefitItem/borderRadius.mobile.js.map +1 -0
- package/lib/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/lib/ui-kit/BenefitItem/labelSize.js +2 -0
- package/lib/ui-kit/BenefitItem/labelSize.js.map +1 -0
- package/lib/ui-kit/BenefitItem/labelSize.mobile.d.ts +1 -0
- package/lib/ui-kit/BenefitItem/labelSize.mobile.js +2 -0
- package/lib/ui-kit/BenefitItem/labelSize.mobile.js.map +1 -0
- package/lib/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
- package/lib/ui-kit/BenefitsList/BenefitsList.js +12 -0
- package/lib/ui-kit/BenefitsList/BenefitsList.js.map +1 -0
- package/lib/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
- package/lib/ui-kit/BenefitsList/BenefitsListContent.js +2 -0
- package/lib/ui-kit/BenefitsList/BenefitsListContent.js.map +1 -0
- package/lib/ui-kit/BenefitsList/renderBenefit.d.ts +3 -0
- package/lib/ui-kit/BenefitsList/renderBenefit.js +10 -0
- package/lib/ui-kit/BenefitsList/renderBenefit.js.map +1 -0
- package/lib/ui-kit/BlockWrapper.js +3 -3
- package/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/lib/ui-kit/Button/ButtonInner.js +1 -1
- package/lib/ui-kit/Button/renderButtonsSection.js +2 -2
- package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/lib/ui-kit/Heading/Heading.js +2 -1
- package/lib/ui-kit/Heading/Heading.js.map +1 -1
- package/lib/ui-kit/Icon/IconProps.d.ts +8 -3
- package/lib/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/lib/ui-kit/Icon/RoundedIcon.js +6 -2
- package/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/lib/ui-kit/Img/Img.d.ts +2 -1
- package/lib/ui-kit/Img/Img.js +10 -1
- package/lib/ui-kit/Img/Img.js.map +1 -1
- package/lib/ui-kit/Img/ImgAsPicture.js +6 -12
- package/lib/ui-kit/Img/ImgAsPicture.js.map +1 -1
- package/lib/ui-kit/Img/ImgProps.d.ts +0 -1
- package/lib/ui-kit/List/List.js.map +1 -1
- package/lib/ui-kit/List/ListContent.d.ts +6 -0
- package/lib/ui-kit/List/ListItem.d.ts +1 -1
- package/lib/ui-kit/List/ListProps.d.ts +0 -6
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/lib/ui-kit/Tags/Tags.d.ts +2 -2
- package/lib/ui-kit/Tags/Tags.js +4 -5
- package/lib/ui-kit/Tags/Tags.js.map +1 -1
- package/lib/utils/avg.d.ts +1 -0
- package/lib/utils/avg.js +3 -0
- package/lib/utils/avg.js.map +1 -0
- package/lib/utils/deviation.d.ts +1 -0
- package/lib/utils/deviation.js +3 -0
- package/lib/utils/deviation.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +603 -496
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/mobile/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/mobile/bundle/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/mobile/bundle/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/mobile/bundle/components/CarouselCard/titleSize.d.ts +1 -0
- package/mobile/bundle/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
- package/mobile/bundle/components/Footer/Contacts.d.ts +2 -2
- package/mobile/bundle/components/Footer/FooterContent.d.ts +9 -1
- package/mobile/bundle/components/Footer/FooterDataProps.d.ts +2 -2
- package/mobile/bundle/components/Headline/HeadlineContent.d.ts +0 -2
- package/mobile/bundle/components/MobileAppTile/renderDescription.d.ts +2 -0
- package/mobile/bundle/components/MobileAppTile/renderList.d.ts +2 -0
- package/mobile/bundle/components/PictureText/PictureTextContent.d.ts +2 -6
- package/mobile/bundle/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
- package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -22
- package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/mobile/bundle/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/mobile/bundle/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/mobile/bundle/components/RollupItem/renderRoundedIcon.d.ts +4 -0
- package/mobile/bundle/components/Tile/TileContent.d.ts +2 -13
- package/mobile/bundle/model/Align.d.ts +5 -0
- package/mobile/bundle/model/AlignText.d.ts +3 -0
- package/mobile/bundle/model/AlignType.d.ts +2 -0
- package/mobile/bundle/model/HeadlineType.d.ts +8 -1
- package/mobile/bundle/model/JSXBlock.d.ts +12 -5
- package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
- package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
- package/{dist/components → mobile/bundle/ui-kit}/BaseTile/BaseTile.d.ts +2 -0
- package/mobile/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
- package/mobile/bundle/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
- package/mobile/bundle/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/mobile/bundle/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
- package/mobile/bundle/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
- package/mobile/bundle/ui-kit/BenefitsList/renderBenefit.d.ts +4 -0
- package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +8 -3
- package/mobile/bundle/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/mobile/bundle/ui-kit/Img/ImgProps.d.ts +0 -1
- package/mobile/bundle/ui-kit/List/ListContent.d.ts +6 -0
- package/mobile/bundle/ui-kit/List/ListItem.d.ts +1 -1
- package/mobile/bundle/ui-kit/List/ListProps.d.ts +0 -6
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/mobile/bundle/ui-kit/Tags/Tags.d.ts +2 -2
- package/mobile/bundle/utils/avg.d.ts +1 -0
- package/mobile/bundle/utils/deviation.d.ts +1 -0
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js +1 -2
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ResponseNotification.js +1 -1
- package/mobile/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +3 -2
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/dist/components/Blocks.js +6 -0
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/Bonus/Bonus.js +2 -2
- package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessBlock.js +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessCard.js +1 -1
- package/mobile/dist/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/mobile/dist/components/ButtonsBlock/ButtonsBlock.js +9 -0
- package/mobile/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
- package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.js +2 -0
- package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
- package/mobile/dist/components/Calculator/Calculator.js +1 -1
- package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/dist/components/Carousel/Carousel.js +1 -1
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js +9 -7
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/dist/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/mobile/dist/components/CarouselCard/getCardWidth.js +18 -0
- package/mobile/dist/components/CarouselCard/getCardWidth.js.map +1 -0
- package/mobile/dist/components/CarouselCard/titleSize.d.ts +1 -0
- package/mobile/dist/components/CarouselCard/titleSize.js +4 -0
- package/mobile/dist/components/CarouselCard/titleSize.js.map +1 -0
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -1
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js +1 -1
- package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -2
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js +3 -4
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +6 -6
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js +3 -2
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/dist/components/DepositFiltration/DepositFiltration.js +1 -1
- package/mobile/dist/components/DepositFiltration/DepositFiltration.js.map +1 -1
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js +1 -1
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +2 -2
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +3 -2
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/dist/components/Footer/Contacts.d.ts +2 -2
- package/mobile/dist/components/Footer/Contacts.js +4 -5
- package/mobile/dist/components/Footer/Contacts.js.map +1 -1
- package/mobile/dist/components/Footer/Footer.js +2 -3
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/FooterContent.d.ts +9 -1
- package/mobile/dist/components/Footer/FooterDataProps.d.ts +2 -2
- package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/dist/components/Header/Header.js +1 -1
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Headline/Headline.js +2 -3
- package/mobile/dist/components/Headline/Headline.js.map +1 -1
- package/mobile/dist/components/Headline/HeadlineContent.d.ts +0 -2
- package/mobile/dist/components/Headline/headlineVersionStyles.js +9 -9
- package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -1
- package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
- package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/mobile/dist/components/ImgBlock/ImgBlock.js +1 -1
- package/mobile/dist/components/ImgBlock/ImgBlock.js.map +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +3 -3
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -2
- package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js +11 -3
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/renderButtonSection.d.ts +0 -0
- package/mobile/dist/components/MobileAppTile/renderButtonSection.js +1 -0
- package/mobile/dist/components/MobileAppTile/renderButtonSection.js.map +1 -0
- package/mobile/dist/components/MobileAppTile/renderDescription.d.ts +2 -0
- package/mobile/dist/components/MobileAppTile/renderDescription.js +7 -0
- package/mobile/dist/components/MobileAppTile/renderDescription.js.map +1 -0
- package/mobile/dist/components/MobileAppTile/renderList.d.ts +2 -0
- package/mobile/dist/components/MobileAppTile/renderList.js +9 -0
- package/mobile/dist/components/MobileAppTile/renderList.js.map +1 -0
- package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js +1 -1
- package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js +1 -1
- package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
- package/mobile/dist/components/PictureText/PictureText.js +3 -14
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
- package/mobile/dist/components/PictureText/PictureTextContent.d.ts +2 -6
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js +9 -0
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
- package/mobile/dist/components/Placeholder/Placeholder.js +1 -6
- package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.js +3 -3
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -22
- package/mobile/dist/components/ProductGallery/ProductGallery.js +5 -6
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/mobile/dist/components/ProductTile/ProductTile.js +1 -2
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.js +2 -5
- package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/mobile/dist/components/RichTextBlock/RichTextBlock.js +1 -1
- package/mobile/dist/components/RichTextBlock/RichTextBlock.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItem.js +14 -9
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/mobile/dist/components/RollupItem/renderRoundedIcon.d.ts +4 -0
- package/mobile/dist/components/RollupItem/renderRoundedIcon.js +7 -0
- package/mobile/dist/components/RollupItem/renderRoundedIcon.js.map +1 -0
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +2 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.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/SwipeListControlBlock/SwipeListControlBlock.js +1 -3
- package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
- package/mobile/dist/components/Tabs/Tabs.js +1 -1
- package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +3 -6
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TableTileHeader.js +2 -2
- package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.js +3 -3
- package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +2 -2
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/mobile/dist/components/TextBlock/TextBlock.js +1 -3
- package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/dist/components/Tile/Tile.js +2 -14
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/components/Tile/TileContent.d.ts +2 -13
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js +1 -1
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/dist/components/Video/Video.js +1 -2
- package/mobile/dist/components/Video/Video.js.map +1 -1
- package/mobile/dist/content-page-repository/transformDocumentLink.js +1 -1
- package/mobile/dist/content-page-repository/transformDocumentLink.js.map +1 -1
- package/mobile/dist/content-page-repository/transformImg.js +1 -1
- package/mobile/dist/content-page-repository/transformImg.js.map +1 -1
- package/mobile/dist/model/Align.d.ts +5 -0
- package/mobile/dist/{ui-kit/BenefitItem/BenefitItemProps.js → model/Align.js} +1 -1
- package/mobile/dist/model/Align.js.map +1 -0
- package/mobile/dist/model/AlignText.d.ts +3 -0
- package/mobile/dist/model/AlignText.js +3 -0
- package/mobile/dist/model/AlignText.js.map +1 -1
- package/mobile/dist/model/AlignType.d.ts +2 -0
- package/mobile/dist/model/HeadlineType.d.ts +8 -1
- package/mobile/dist/model/JSXBlock.d.ts +12 -5
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +18 -0
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -0
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.js +2 -0
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.js.map +1 -0
- package/mobile/dist/ui-kit/BaseTile/BaseTile.d.ts +14 -0
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js +13 -0
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -0
- package/mobile/dist/ui-kit/BaseTile/getTileRightPadding.js.map +1 -0
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +7 -10
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
- package/mobile/dist/{components/ButtonBlock/ButtonBlockContent.js → ui-kit/BenefitItem/BenefitItemContent.js} +1 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItemContent.js.map +1 -0
- package/mobile/dist/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/mobile/dist/ui-kit/BenefitItem/labelSize.js +4 -0
- package/mobile/dist/ui-kit/BenefitItem/labelSize.js.map +1 -0
- package/mobile/dist/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
- package/mobile/dist/ui-kit/BenefitsList/BenefitsList.js +14 -0
- package/mobile/dist/ui-kit/BenefitsList/BenefitsList.js.map +1 -0
- package/mobile/dist/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
- package/mobile/dist/ui-kit/BenefitsList/BenefitsListContent.js +2 -0
- package/mobile/dist/ui-kit/BenefitsList/BenefitsListContent.js.map +1 -0
- package/mobile/dist/ui-kit/BenefitsList/renderBenefit.d.ts +4 -0
- package/mobile/dist/ui-kit/BenefitsList/renderBenefit.js +13 -0
- package/mobile/dist/ui-kit/BenefitsList/renderBenefit.js.map +1 -0
- package/mobile/dist/ui-kit/BlockWrapper.js +3 -3
- package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js +2 -2
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/dist/ui-kit/Heading/Heading.js +2 -1
- package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -1
- package/mobile/dist/ui-kit/Icon/IconProps.d.ts +8 -3
- package/mobile/dist/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/mobile/dist/ui-kit/Icon/RoundedIcon.js +6 -2
- package/mobile/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/mobile/dist/ui-kit/Img/Img.js +8 -2
- package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
- package/mobile/dist/ui-kit/Img/ImgAsPicture.js +6 -12
- package/mobile/dist/ui-kit/Img/ImgAsPicture.js.map +1 -1
- package/mobile/dist/ui-kit/Img/ImgProps.d.ts +0 -1
- package/mobile/dist/ui-kit/List/List.js.map +1 -1
- package/mobile/dist/ui-kit/List/ListContent.d.ts +6 -0
- package/mobile/dist/ui-kit/List/ListItem.d.ts +1 -1
- package/mobile/dist/ui-kit/List/ListProps.d.ts +0 -6
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/mobile/dist/ui-kit/Tags/Tags.d.ts +2 -2
- package/mobile/dist/ui-kit/Tags/Tags.js +4 -5
- package/mobile/dist/ui-kit/Tags/Tags.js.map +1 -1
- package/mobile/dist/utils/avg.d.ts +1 -0
- package/mobile/dist/utils/avg.js +6 -0
- package/mobile/dist/utils/avg.js.map +1 -0
- package/mobile/dist/utils/deviation.d.ts +1 -0
- package/mobile/dist/utils/deviation.js +6 -0
- package/mobile/dist/utils/deviation.js.map +1 -0
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js +1 -2
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ResponseNotification.js +1 -1
- package/mobile/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +3 -2
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/lib/components/Blocks.js +6 -0
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/Bonus/Bonus.js +2 -2
- package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessBlock.js +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessCard.js +1 -1
- package/mobile/lib/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/mobile/lib/components/{ButtonBlock/ButtonBlock.js → ButtonsBlock/ButtonsBlock.js} +2 -2
- package/mobile/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
- package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.js +2 -0
- package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
- package/mobile/lib/components/Calculator/Calculator.js +1 -1
- package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/lib/components/Carousel/Carousel.js +1 -1
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js +9 -7
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/lib/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/mobile/lib/components/CarouselCard/getCardWidth.js +15 -0
- package/mobile/lib/components/CarouselCard/getCardWidth.js.map +1 -0
- package/mobile/lib/components/CarouselCard/titleSize.d.ts +1 -0
- package/mobile/lib/components/CarouselCard/titleSize.js +2 -0
- package/mobile/lib/components/CarouselCard/titleSize.js.map +1 -0
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -1
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js +1 -1
- package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -2
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js +3 -4
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +6 -6
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js +3 -2
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/lib/components/DepositFiltration/DepositFiltration.js +1 -1
- package/mobile/lib/components/DepositFiltration/DepositFiltration.js.map +1 -1
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js +1 -1
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +2 -2
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +3 -2
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/lib/components/Footer/Contacts.d.ts +2 -2
- package/mobile/lib/components/Footer/Contacts.js +4 -5
- package/mobile/lib/components/Footer/Contacts.js.map +1 -1
- package/mobile/lib/components/Footer/Footer.js +2 -3
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/FooterContent.d.ts +9 -1
- package/mobile/lib/components/Footer/FooterDataProps.d.ts +2 -2
- package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/lib/components/Header/Header.js +1 -1
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Headline/Headline.js +2 -3
- package/mobile/lib/components/Headline/Headline.js.map +1 -1
- package/mobile/lib/components/Headline/HeadlineContent.d.ts +0 -2
- package/mobile/lib/components/Headline/headlineVersionStyles.js +9 -9
- package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -1
- package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
- package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/mobile/lib/components/ImgBlock/ImgBlock.js +1 -1
- package/mobile/lib/components/ImgBlock/ImgBlock.js.map +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +3 -3
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -2
- package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js +11 -3
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/renderButtonSection.d.ts +0 -0
- package/mobile/lib/components/MobileAppTile/renderButtonSection.js +1 -0
- package/mobile/lib/components/MobileAppTile/renderButtonSection.js.map +1 -0
- package/mobile/lib/components/MobileAppTile/renderDescription.d.ts +2 -0
- package/mobile/lib/components/MobileAppTile/renderDescription.js +4 -0
- package/mobile/lib/components/MobileAppTile/renderDescription.js.map +1 -0
- package/mobile/lib/components/MobileAppTile/renderList.d.ts +2 -0
- package/mobile/lib/components/MobileAppTile/renderList.js +6 -0
- package/mobile/lib/components/MobileAppTile/renderList.js.map +1 -0
- package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js +1 -1
- package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js +1 -1
- package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
- package/mobile/lib/components/PictureText/PictureText.js +4 -15
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
- package/mobile/lib/components/PictureText/PictureTextContent.d.ts +2 -6
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js +6 -0
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
- package/mobile/lib/components/Placeholder/Placeholder.js +1 -6
- package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.js +3 -3
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -22
- package/mobile/lib/components/ProductGallery/ProductGallery.js +5 -6
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/mobile/lib/components/ProductTile/ProductTile.js +1 -2
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.js +2 -5
- package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/mobile/lib/components/RichTextBlock/RichTextBlock.js +1 -1
- package/mobile/lib/components/RichTextBlock/RichTextBlock.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItem.js +14 -9
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/mobile/lib/components/RollupItem/renderRoundedIcon.d.ts +4 -0
- package/mobile/lib/components/RollupItem/renderRoundedIcon.js +4 -0
- package/mobile/lib/components/RollupItem/renderRoundedIcon.js.map +1 -0
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +2 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.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/SwipeListControlBlock/SwipeListControlBlock.js +1 -3
- package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
- package/mobile/lib/components/Tabs/Tabs.js +1 -1
- package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +3 -6
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TableTileHeader.js +2 -2
- package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.js +3 -3
- package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +2 -2
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/mobile/lib/components/TextBlock/TextBlock.js +1 -3
- package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/lib/components/Tile/Tile.js +3 -15
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/components/Tile/TileContent.d.ts +2 -13
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js +1 -1
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/lib/components/Video/Video.js +1 -2
- package/mobile/lib/components/Video/Video.js.map +1 -1
- package/mobile/lib/content-page-repository/transformDocumentLink.js +1 -1
- package/mobile/lib/content-page-repository/transformDocumentLink.js.map +1 -1
- package/mobile/lib/content-page-repository/transformImg.js +1 -1
- package/mobile/lib/content-page-repository/transformImg.js.map +1 -1
- package/mobile/lib/model/Align.d.ts +5 -0
- package/mobile/lib/model/Align.js +2 -0
- package/mobile/lib/model/Align.js.map +1 -0
- package/mobile/lib/model/AlignText.d.ts +3 -0
- package/mobile/lib/model/AlignText.js +3 -0
- package/mobile/lib/model/AlignText.js.map +1 -1
- package/mobile/lib/model/AlignType.d.ts +2 -0
- package/mobile/lib/model/HeadlineType.d.ts +8 -1
- package/mobile/lib/model/JSXBlock.d.ts +12 -5
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +16 -0
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -0
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.js +2 -0
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.js.map +1 -0
- package/mobile/lib/ui-kit/BaseTile/BaseTile.d.ts +14 -0
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js +11 -0
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -0
- package/mobile/lib/ui-kit/BaseTile/getTileRightPadding.js.map +1 -0
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +7 -10
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
- package/mobile/lib/ui-kit/BenefitItem/BenefitItemContent.js +2 -0
- package/mobile/lib/ui-kit/BenefitItem/BenefitItemContent.js.map +1 -0
- package/mobile/lib/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/mobile/lib/ui-kit/BenefitItem/labelSize.js +2 -0
- package/mobile/lib/ui-kit/BenefitItem/labelSize.js.map +1 -0
- package/mobile/lib/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
- package/mobile/lib/ui-kit/BenefitsList/BenefitsList.js +12 -0
- package/mobile/lib/ui-kit/BenefitsList/BenefitsList.js.map +1 -0
- package/mobile/lib/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
- package/mobile/lib/ui-kit/BenefitsList/BenefitsListContent.js +2 -0
- package/mobile/lib/ui-kit/BenefitsList/BenefitsListContent.js.map +1 -0
- package/mobile/lib/ui-kit/BenefitsList/renderBenefit.d.ts +4 -0
- package/mobile/lib/ui-kit/BenefitsList/renderBenefit.js +10 -0
- package/mobile/lib/ui-kit/BenefitsList/renderBenefit.js.map +1 -0
- package/mobile/lib/ui-kit/BlockWrapper.js +3 -3
- package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js +2 -2
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/lib/ui-kit/Heading/Heading.js +2 -1
- package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -1
- package/mobile/lib/ui-kit/Icon/IconProps.d.ts +8 -3
- package/mobile/lib/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/mobile/lib/ui-kit/Icon/RoundedIcon.js +6 -2
- package/mobile/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/mobile/lib/ui-kit/Img/Img.js +8 -2
- package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
- package/mobile/lib/ui-kit/Img/ImgAsPicture.js +6 -12
- package/mobile/lib/ui-kit/Img/ImgAsPicture.js.map +1 -1
- package/mobile/lib/ui-kit/Img/ImgProps.d.ts +0 -1
- package/mobile/lib/ui-kit/List/List.js.map +1 -1
- package/mobile/lib/ui-kit/List/ListContent.d.ts +6 -0
- package/mobile/lib/ui-kit/List/ListItem.d.ts +1 -1
- package/mobile/lib/ui-kit/List/ListProps.d.ts +0 -6
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/mobile/lib/ui-kit/Tags/Tags.d.ts +2 -2
- package/mobile/lib/ui-kit/Tags/Tags.js +4 -5
- package/mobile/lib/ui-kit/Tags/Tags.js.map +1 -1
- package/mobile/lib/utils/avg.d.ts +1 -0
- package/mobile/lib/utils/avg.js +3 -0
- package/mobile/lib/utils/avg.js.map +1 -0
- package/mobile/lib/utils/deviation.d.ts +1 -0
- package/mobile/lib/utils/deviation.js +3 -0
- package/mobile/lib/utils/deviation.js.map +1 -0
- package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +1 -2
- package/mobile/src/components/ApplicationForm/ResponseNotification.tsx +1 -1
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +7 -2
- package/mobile/src/components/Blocks.ts +6 -0
- package/mobile/src/components/Bonus/Bonus.tsx +2 -2
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -1
- package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +8 -10
- package/mobile/src/components/BusinessBlock/BusinessCard.tsx +1 -1
- package/mobile/src/components/ButtonsBlock/ButtonsBlock.example.json +14 -0
- package/mobile/src/components/{ButtonBlock/ButtonBlock.tsx → ButtonsBlock/ButtonsBlock.tsx} +5 -5
- package/mobile/src/components/ButtonsBlock/ButtonsBlock.ui.json +14 -0
- package/mobile/src/components/ButtonsBlock/ButtonsBlockContent.ts +9 -0
- package/mobile/src/components/Calculator/Calculator.tsx +2 -1
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +14 -4
- package/mobile/src/components/Carousel/Carousel.tsx +1 -8
- package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +16 -12
- package/mobile/src/components/CarouselCard/getCardWidth.tsx +16 -0
- package/mobile/src/components/CarouselCard/titleSize.tsx +1 -0
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +5 -1
- package/mobile/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -1
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +9 -4
- package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +24 -24
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +11 -11
- package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +5 -1
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +2 -1
- package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +1 -1
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -5
- package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +9 -3
- package/mobile/src/components/DepositFiltration/DepositFiltration.example.json +1 -1
- package/mobile/src/components/DepositFiltration/DepositFiltration.tsx +6 -1
- package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +2 -5
- package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +4 -7
- package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +1 -1
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +8 -8
- package/mobile/src/components/Footer/Contacts.tsx +20 -12
- package/mobile/src/components/Footer/Footer.tsx +2 -3
- package/mobile/src/components/Footer/FooterContent.ts +10 -1
- package/mobile/src/components/Footer/FooterDataProps.ts +2 -2
- package/mobile/src/components/GracePeriod/GracePeriod.tsx +1 -1
- package/mobile/src/components/Header/Header.tsx +2 -2
- package/mobile/src/components/Headline/Headline.tsx +7 -7
- package/mobile/src/components/Headline/HeadlineContent.ts +2 -4
- package/mobile/src/components/Headline/headlineVersionStyles.ts +9 -9
- package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +2 -7
- package/mobile/src/components/ImgBlock/ImgBlock.tsx +1 -1
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +3 -1
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +6 -6
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +1 -3
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +56 -20
- package/mobile/src/components/MobileAppTile/renderButtonSection.tsx +0 -0
- package/mobile/src/components/MobileAppTile/renderDescription.tsx +10 -0
- package/mobile/src/components/MobileAppTile/renderList.tsx +11 -0
- package/mobile/src/components/MortgageFiltration/MortgageFiltration.example.json +1 -1
- package/mobile/src/components/MortgageFiltration/MortgageFiltration.tsx +6 -1
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +2 -1
- package/mobile/src/components/ParagraphBlock/ParagraphBlock.tsx +1 -1
- package/mobile/src/components/PictureText/PictureText.tsx +14 -49
- package/mobile/src/components/PictureText/PictureTextContent.ts +2 -8
- package/mobile/src/components/PictureText/renderInsuranceSumMonth.tsx +21 -0
- package/mobile/src/components/Placeholder/Placeholder.tsx +13 -24
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +4 -3
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +3 -28
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +19 -26
- package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
- package/mobile/src/components/ProductTile/ProductTile.tsx +1 -3
- package/mobile/src/components/PromoTile/PromoTile.tsx +10 -23
- package/mobile/src/components/PromoTile/PromoTileContent.ts +2 -3
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +1 -5
- package/mobile/src/components/RichTextBlock/RichTextBlock.tsx +1 -1
- package/mobile/src/components/RollupItem/RollupItem.tsx +27 -19
- package/mobile/src/components/RollupItem/RollupItem.ui.json +7 -1
- package/mobile/src/components/RollupItem/RollupItemContent.ts +4 -2
- package/mobile/src/components/RollupItem/renderRoundedIcon.tsx +7 -0
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +2 -1
- package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +7 -9
- package/mobile/src/components/Tabs/Tabs.tsx +1 -0
- package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +8 -12
- package/mobile/src/components/TariffsTable/TableTileHeader.tsx +3 -3
- package/mobile/src/components/TariffsTable/TariffsTable.tsx +11 -7
- package/mobile/src/components/TariffsTable/TariffsTableHorizontal.tsx +1 -1
- package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +3 -4
- package/mobile/src/components/TextBlock/TextBlock.tsx +23 -28
- package/mobile/src/components/Tile/Tile.tsx +10 -64
- package/mobile/src/components/Tile/TileContent.ts +2 -20
- package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +1 -1
- package/mobile/src/components/Video/Video.tsx +2 -3
- package/mobile/src/content-page-repository/transformDocumentLink.ts +1 -1
- package/mobile/src/content-page-repository/transformImg.ts +1 -1
- package/mobile/src/model/Align.ts +5 -0
- package/mobile/src/model/AlignText.ts +3 -0
- package/mobile/src/model/AlignType.ts +2 -0
- package/mobile/src/model/HeadlineType.ts +11 -1
- package/mobile/src/model/JSXBlock.ts +13 -5
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +68 -0
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +30 -0
- package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +72 -0
- package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +22 -18
- package/mobile/src/ui-kit/BenefitItem/BenefitItemContent.ts +19 -0
- package/mobile/src/ui-kit/BenefitItem/labelSize.tsx +1 -0
- package/mobile/src/ui-kit/BenefitsList/BenefitsList.tsx +35 -0
- package/mobile/src/ui-kit/BenefitsList/BenefitsListContent.ts +15 -0
- package/mobile/src/ui-kit/BenefitsList/renderBenefit.tsx +14 -0
- package/mobile/src/ui-kit/BlockWrapper.tsx +17 -5
- package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
- package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +9 -3
- package/mobile/src/ui-kit/Heading/Heading.tsx +4 -1
- package/mobile/src/ui-kit/Icon/IconProps.ts +9 -4
- package/mobile/src/ui-kit/Icon/RoundedIcon.tsx +19 -7
- package/mobile/src/ui-kit/Img/Img.tsx +26 -2
- package/mobile/src/ui-kit/Img/ImgAsPicture.tsx +17 -30
- package/mobile/src/ui-kit/Img/ImgProps.ts +0 -1
- package/mobile/src/ui-kit/List/List.tsx +2 -1
- package/mobile/src/ui-kit/List/ListContent.ts +7 -0
- package/mobile/src/ui-kit/List/ListItem.tsx +1 -1
- package/mobile/src/ui-kit/List/ListProps.ts +0 -7
- package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +4 -2
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +12 -3
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlContent.ts +20 -7
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
- package/mobile/src/ui-kit/Tags/Tags.tsx +15 -13
- package/mobile/src/utils/avg.ts +3 -0
- package/mobile/src/utils/deviation.ts +4 -0
- package/package.json +1 -1
- package/src/components/ApplicationForm/ApplicationForm.tsx +1 -2
- package/src/components/ApplicationForm/ResponseNotification.tsx +1 -1
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +7 -2
- package/src/components/Blocks.mobile.ts +6 -0
- package/src/components/Blocks.ts +2 -2
- package/src/components/Bonus/Bonus.tsx +2 -2
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -1
- package/src/components/BusinessBlock/BusinessBlock.tsx +8 -10
- package/src/components/BusinessBlock/BusinessCard.tsx +1 -1
- package/src/components/ButtonsBlock/ButtonsBlock.example.json +14 -0
- package/src/components/ButtonsBlock/ButtonsBlock.fixture.mobile.tsx +26 -0
- package/src/components/ButtonsBlock/ButtonsBlock.fixture.tsx +26 -0
- package/src/components/{ButtonBlock/ButtonBlock.tsx → ButtonsBlock/ButtonsBlock.tsx} +5 -5
- package/src/components/ButtonsBlock/ButtonsBlock.ui.json +14 -0
- package/src/components/ButtonsBlock/ButtonsBlockContent.ts +9 -0
- package/src/components/Calculator/Calculator.tsx +2 -1
- package/src/components/CardTransfer/CardTransfer.fixture.mobile.tsx +18 -0
- package/src/components/CardTransfer/CardTransfer.tsx +14 -4
- package/src/components/Carousel/Carousel.tsx +1 -8
- package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
- package/src/components/CarouselCard/CarouselCard.fixture.mobile.tsx +28 -0
- package/src/components/CarouselCard/CarouselCard.tsx +16 -12
- package/src/components/CarouselCard/getCardWidth.tsx +16 -0
- package/src/components/CarouselCard/titleSize.mobile.tsx +1 -0
- package/src/components/CarouselCard/titleSize.tsx +1 -0
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +5 -1
- package/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -1
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +9 -4
- package/src/components/CarouselLinks/CarouselLinks.tsx +24 -24
- package/src/components/CarouselProductCard/CarouselProductCard.tsx +11 -11
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +5 -1
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.tsx +2 -1
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +2 -1
- package/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +1 -1
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -5
- package/src/components/ComparisonTable/ComparisonTable.tsx +6 -1
- package/src/components/ContactsBlock/ContactsBlock.tsx +9 -3
- package/src/components/DepositFiltration/DepositFiltration.example.json +1 -1
- package/src/components/DepositFiltration/DepositFiltration.fixture.tsx +1 -1
- package/src/components/DepositFiltration/DepositFiltration.tsx +6 -1
- package/src/components/ErrorBlock/ErrorBlock.tsx +2 -5
- package/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +4 -7
- package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +1 -1
- package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +8 -8
- package/src/components/Footer/Contacts.tsx +20 -12
- package/src/components/Footer/Footer.mobile.tsx +2 -3
- package/src/components/Footer/Footer.tsx +2 -2
- package/src/components/Footer/FooterContent.ts +10 -1
- package/src/components/Footer/FooterDataProps.ts +2 -2
- package/src/components/GracePeriod/GracePeriod.tsx +1 -1
- package/src/components/Header/Header.mobile.tsx +2 -2
- package/src/components/Header/Header.tsx +1 -0
- package/src/components/Headline/Headline.tsx +7 -7
- package/src/components/Headline/HeadlineContent.ts +2 -4
- package/src/components/Headline/headlineVersionStyles.ts +9 -9
- package/src/components/HorizontalLayout/HorizontalLayout.tsx +2 -7
- package/src/components/ImgBlock/ImgBlock.tsx +1 -1
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +3 -1
- package/src/components/InvestmentInfo/InvestmentInfo.tsx +6 -6
- package/src/components/LinkDocs/LinkDocs.mobile.tsx +1 -3
- package/src/components/LinkDocs/LinkDocs.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +73 -2
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +2 -2
- package/src/components/MobileAppTile/MobileAppTile.tsx +23 -41
- package/src/components/MobileAppTile/renderButtonSection.tsx +0 -0
- package/src/components/MobileAppTile/renderDescription.tsx +10 -0
- package/src/components/MobileAppTile/renderList.tsx +11 -0
- package/src/components/MortgageFiltration/MortgageFiltration.example.json +1 -1
- package/src/components/MortgageFiltration/MortgageFiltration.fixture.tsx +1 -1
- package/src/components/MortgageFiltration/MortgageFiltration.tsx +6 -1
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +2 -1
- package/src/components/ParagraphBlock/ParagraphBlock.tsx +1 -1
- package/src/components/PictureText/PictureText.fixture.mobile.tsx +122 -0
- package/src/components/PictureText/PictureText.tsx +14 -49
- package/src/components/PictureText/PictureTextContent.ts +2 -8
- package/src/components/PictureText/renderInsuranceSumMonth.tsx +21 -0
- package/src/components/Placeholder/Placeholder.tsx +13 -24
- package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +5 -2
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +6 -3
- package/src/components/ProductBlock/ProductBlock.tsx +4 -3
- package/src/components/ProductBlock/ProductBlockContent.ts +3 -28
- package/src/components/ProductGallery/ProductGallery.mobile.tsx +19 -26
- package/src/components/ProductGallery/ProductGallery.tsx +8 -4
- package/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
- package/src/components/ProductTile/ProductTile.tsx +1 -3
- package/src/components/PromoTile/PromoTile.tsx +10 -23
- package/src/components/PromoTile/PromoTileContent.ts +2 -3
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +1 -5
- package/src/components/RichTextBlock/RichTextBlock.tsx +1 -1
- package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +15 -0
- package/src/components/RollupItem/RollupItem.tsx +27 -19
- package/src/components/RollupItem/RollupItem.ui.json +7 -1
- package/src/components/RollupItem/RollupItemContent.ts +4 -2
- package/src/components/RollupItem/renderRoundedIcon.mobile.tsx +7 -0
- package/src/components/RollupItem/renderRoundedIcon.tsx +5 -0
- package/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +2 -1
- package/src/components/StepsBlock/StepsBlock.tsx +2 -6
- package/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +7 -9
- package/src/components/Tabs/Tabs.tsx +1 -0
- package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +8 -12
- package/src/components/TariffsTable/TableTileHeader.tsx +3 -3
- package/src/components/TariffsTable/TariffsTable.mobile.tsx +11 -7
- package/src/components/TariffsTable/TariffsTable.tsx +3 -1
- package/src/components/TariffsTable/TariffsTableHorizontal.tsx +1 -1
- package/src/components/TariffsTable/TariffsTableTileCell.tsx +3 -4
- package/src/components/TextBlock/TextBlock.tsx +23 -28
- package/src/components/Tile/Tile.fixture.tsx +1 -6
- package/src/components/Tile/Tile.tsx +10 -64
- package/src/components/Tile/TileContent.ts +2 -20
- package/src/components/VerticalLayout/VerticalLayout.tsx +1 -1
- package/src/components/Video/Video.tsx +2 -3
- package/src/content-page-repository/transformDocumentLink.ts +1 -1
- package/src/content-page-repository/transformImg.ts +1 -1
- package/src/icons/IconName.ts +5 -381
- package/src/model/Align.ts +5 -0
- package/src/model/AlignText.ts +3 -0
- package/src/model/AlignType.ts +2 -0
- package/src/model/HeadlineType.ts +11 -1
- package/src/model/JSXBlock.ts +13 -5
- package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +68 -0
- package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +30 -0
- package/src/ui-kit/BaseTile/BaseTile.tsx +72 -0
- package/src/ui-kit/BenefitItem/BenefitItem.tsx +22 -18
- package/src/ui-kit/BenefitItem/BenefitItemContent.ts +19 -0
- package/src/ui-kit/BenefitItem/borderRadius.mobile.tsx +1 -0
- package/src/ui-kit/BenefitItem/labelSize.mobile.tsx +1 -0
- package/src/ui-kit/BenefitItem/labelSize.tsx +1 -0
- package/src/ui-kit/BenefitsList/BenefitsList.tsx +35 -0
- package/src/ui-kit/BenefitsList/BenefitsListContent.ts +15 -0
- package/src/ui-kit/BenefitsList/renderBenefit.tsx +14 -0
- package/src/ui-kit/BlockWrapper.tsx +17 -5
- package/src/ui-kit/Button/Button.fixture.tsx +1 -1
- package/src/ui-kit/Button/ButtonInner.tsx +1 -1
- package/src/ui-kit/Button/renderButtonsSection.tsx +9 -3
- package/src/ui-kit/Heading/Heading.tsx +4 -1
- package/src/ui-kit/Icon/IconProps.ts +9 -4
- package/src/ui-kit/Icon/RoundedIcon.tsx +19 -7
- package/src/ui-kit/Img/Img.tsx +29 -1
- package/src/ui-kit/Img/ImgAsPicture.tsx +17 -30
- package/src/ui-kit/Img/ImgProps.ts +0 -1
- package/src/ui-kit/List/List.tsx +2 -1
- package/src/ui-kit/List/ListContent.ts +7 -0
- package/src/ui-kit/List/ListItem.tsx +1 -1
- package/src/ui-kit/List/ListProps.ts +0 -7
- package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +4 -2
- package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +12 -3
- package/src/ui-kit/SwipeListControl/SwipeListControlContent.ts +20 -7
- package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
- package/src/ui-kit/Tags/Tags.tsx +15 -13
- package/src/utils/avg.ts +3 -0
- package/src/utils/deviation.ts +4 -0
- package/tailwind.config.cjs +19 -12
- package/bundle/components/BaseTile/getTileHeadingType.d.ts +0 -1
- package/bundle/components/BaseTile/getTileMinHeight.d.ts +0 -1
- package/bundle/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/bundle/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/bundle/components/MobileAppTile/MobileAppTile.mobile.d.ts +0 -5
- package/bundle/components/PictureText/renderBenefit.d.ts +0 -4
- package/bundle/components/ProductBlock/ProductBlockInner.d.ts +0 -4
- package/bundle/components/ProductBlock/renderBenefit.d.ts +0 -5
- package/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
- package/bundle/ui-kit/Img/Img.mobile.d.ts +0 -2
- package/bundle/ui-kit/Img/ImgInner.d.ts +0 -2
- package/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
- package/dist/components/BaseTile/BaseTile.js +0 -8
- package/dist/components/BaseTile/BaseTile.js.map +0 -1
- package/dist/components/BaseTile/getTileHeadingType.d.ts +0 -1
- package/dist/components/BaseTile/getTileHeadingType.js +0 -17
- package/dist/components/BaseTile/getTileHeadingType.js.map +0 -1
- package/dist/components/BaseTile/getTileMinHeight.d.ts +0 -1
- package/dist/components/BaseTile/getTileMinHeight.js +0 -17
- package/dist/components/BaseTile/getTileMinHeight.js.map +0 -1
- package/dist/components/BaseTile/getTileRightPadding.js.map +0 -1
- package/dist/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/dist/components/ButtonBlock/ButtonBlock.js +0 -9
- package/dist/components/ButtonBlock/ButtonBlock.js.map +0 -1
- package/dist/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/dist/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
- package/dist/components/MobileAppTile/MobileAppTile.mobile.d.ts +0 -5
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js +0 -10
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +0 -1
- package/dist/components/PictureText/renderBenefit.d.ts +0 -4
- package/dist/components/PictureText/renderBenefit.js +0 -26
- package/dist/components/PictureText/renderBenefit.js.map +0 -1
- package/dist/components/ProductBlock/ProductBlockInner.d.ts +0 -4
- package/dist/components/ProductBlock/ProductBlockInner.js +0 -17
- package/dist/components/ProductBlock/ProductBlockInner.js.map +0 -1
- package/dist/components/ProductBlock/renderBenefit.d.ts +0 -5
- package/dist/components/ProductBlock/renderBenefit.js +0 -7
- package/dist/components/ProductBlock/renderBenefit.js.map +0 -1
- package/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
- package/dist/ui-kit/BenefitItem/BenefitItemProps.js.map +0 -1
- package/dist/ui-kit/Img/Img.mobile.d.ts +0 -2
- package/dist/ui-kit/Img/Img.mobile.js +0 -7
- package/dist/ui-kit/Img/Img.mobile.js.map +0 -1
- package/dist/ui-kit/Img/ImgInner.d.ts +0 -2
- package/dist/ui-kit/Img/ImgInner.js +0 -13
- package/dist/ui-kit/Img/ImgInner.js.map +0 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
- package/dist/ui-kit/SwipeListControl/SwipeListControlProps.js.map +0 -1
- package/lib/components/BaseTile/BaseTile.js +0 -6
- package/lib/components/BaseTile/BaseTile.js.map +0 -1
- package/lib/components/BaseTile/getTileHeadingType.d.ts +0 -1
- package/lib/components/BaseTile/getTileHeadingType.js +0 -14
- package/lib/components/BaseTile/getTileHeadingType.js.map +0 -1
- package/lib/components/BaseTile/getTileMinHeight.d.ts +0 -1
- package/lib/components/BaseTile/getTileMinHeight.js +0 -14
- package/lib/components/BaseTile/getTileMinHeight.js.map +0 -1
- package/lib/components/BaseTile/getTileRightPadding.js.map +0 -1
- package/lib/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/lib/components/ButtonBlock/ButtonBlock.js.map +0 -1
- package/lib/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/lib/components/ButtonBlock/ButtonBlockContent.js +0 -2
- package/lib/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
- package/lib/components/MobileAppTile/MobileAppTile.mobile.d.ts +0 -5
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js +0 -8
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +0 -1
- package/lib/components/PictureText/renderBenefit.d.ts +0 -4
- package/lib/components/PictureText/renderBenefit.js +0 -23
- package/lib/components/PictureText/renderBenefit.js.map +0 -1
- package/lib/components/ProductBlock/ProductBlockInner.d.ts +0 -4
- package/lib/components/ProductBlock/ProductBlockInner.js +0 -15
- package/lib/components/ProductBlock/ProductBlockInner.js.map +0 -1
- package/lib/components/ProductBlock/renderBenefit.d.ts +0 -4
- package/lib/components/ProductBlock/renderBenefit.js +0 -4
- package/lib/components/ProductBlock/renderBenefit.js.map +0 -1
- package/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
- package/lib/ui-kit/BenefitItem/BenefitItemProps.js +0 -2
- package/lib/ui-kit/BenefitItem/BenefitItemProps.js.map +0 -1
- package/lib/ui-kit/Img/Img.mobile.d.ts +0 -2
- package/lib/ui-kit/Img/Img.mobile.js +0 -5
- package/lib/ui-kit/Img/Img.mobile.js.map +0 -1
- package/lib/ui-kit/Img/ImgInner.d.ts +0 -2
- package/lib/ui-kit/Img/ImgInner.js +0 -11
- package/lib/ui-kit/Img/ImgInner.js.map +0 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
- package/lib/ui-kit/SwipeListControl/SwipeListControlProps.js +0 -2
- package/lib/ui-kit/SwipeListControl/SwipeListControlProps.js.map +0 -1
- package/mobile/bundle/components/BaseTile/getTileHeadingType.d.ts +0 -1
- package/mobile/bundle/components/BaseTile/getTileMinHeight.d.ts +0 -1
- package/mobile/bundle/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/mobile/bundle/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/mobile/bundle/components/PictureText/renderBenefit.d.ts +0 -4
- package/mobile/bundle/components/ProductBlock/ProductBlockInner.d.ts +0 -4
- package/mobile/bundle/components/ProductBlock/renderBenefit.d.ts +0 -5
- package/mobile/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
- package/mobile/bundle/ui-kit/Img/ImgInner.d.ts +0 -2
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
- package/mobile/dist/components/BaseTile/BaseTile.d.ts +0 -12
- package/mobile/dist/components/BaseTile/BaseTile.js +0 -8
- package/mobile/dist/components/BaseTile/BaseTile.js.map +0 -1
- package/mobile/dist/components/BaseTile/getTileHeadingType.d.ts +0 -1
- package/mobile/dist/components/BaseTile/getTileHeadingType.js +0 -17
- package/mobile/dist/components/BaseTile/getTileHeadingType.js.map +0 -1
- package/mobile/dist/components/BaseTile/getTileMinHeight.d.ts +0 -1
- package/mobile/dist/components/BaseTile/getTileMinHeight.js +0 -17
- package/mobile/dist/components/BaseTile/getTileMinHeight.js.map +0 -1
- package/mobile/dist/components/BaseTile/getTileRightPadding.js.map +0 -1
- package/mobile/dist/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/mobile/dist/components/ButtonBlock/ButtonBlock.js +0 -9
- package/mobile/dist/components/ButtonBlock/ButtonBlock.js.map +0 -1
- package/mobile/dist/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/mobile/dist/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
- package/mobile/dist/components/PictureText/renderBenefit.d.ts +0 -4
- package/mobile/dist/components/PictureText/renderBenefit.js +0 -26
- package/mobile/dist/components/PictureText/renderBenefit.js.map +0 -1
- package/mobile/dist/components/ProductBlock/ProductBlockInner.d.ts +0 -4
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js +0 -17
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +0 -1
- package/mobile/dist/components/ProductBlock/renderBenefit.d.ts +0 -5
- package/mobile/dist/components/ProductBlock/renderBenefit.js +0 -7
- package/mobile/dist/components/ProductBlock/renderBenefit.js.map +0 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
- package/mobile/dist/ui-kit/BenefitItem/BenefitItemProps.js.map +0 -1
- package/mobile/dist/ui-kit/Img/ImgInner.d.ts +0 -2
- package/mobile/dist/ui-kit/Img/ImgInner.js +0 -13
- package/mobile/dist/ui-kit/Img/ImgInner.js.map +0 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.js +0 -2
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.js.map +0 -1
- package/mobile/lib/components/BaseTile/BaseTile.d.ts +0 -12
- package/mobile/lib/components/BaseTile/BaseTile.js +0 -6
- package/mobile/lib/components/BaseTile/BaseTile.js.map +0 -1
- package/mobile/lib/components/BaseTile/getTileHeadingType.d.ts +0 -1
- package/mobile/lib/components/BaseTile/getTileHeadingType.js +0 -14
- package/mobile/lib/components/BaseTile/getTileHeadingType.js.map +0 -1
- package/mobile/lib/components/BaseTile/getTileMinHeight.d.ts +0 -1
- package/mobile/lib/components/BaseTile/getTileMinHeight.js +0 -14
- package/mobile/lib/components/BaseTile/getTileMinHeight.js.map +0 -1
- package/mobile/lib/components/BaseTile/getTileRightPadding.js.map +0 -1
- package/mobile/lib/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/mobile/lib/components/ButtonBlock/ButtonBlock.js.map +0 -1
- package/mobile/lib/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/mobile/lib/components/ButtonBlock/ButtonBlockContent.js +0 -2
- package/mobile/lib/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
- package/mobile/lib/components/PictureText/renderBenefit.d.ts +0 -4
- package/mobile/lib/components/PictureText/renderBenefit.js +0 -23
- package/mobile/lib/components/PictureText/renderBenefit.js.map +0 -1
- package/mobile/lib/components/ProductBlock/ProductBlockInner.d.ts +0 -4
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js +0 -15
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +0 -1
- package/mobile/lib/components/ProductBlock/renderBenefit.d.ts +0 -5
- package/mobile/lib/components/ProductBlock/renderBenefit.js +0 -4
- package/mobile/lib/components/ProductBlock/renderBenefit.js.map +0 -1
- package/mobile/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
- package/mobile/lib/ui-kit/BenefitItem/BenefitItemProps.js +0 -2
- package/mobile/lib/ui-kit/BenefitItem/BenefitItemProps.js.map +0 -1
- package/mobile/lib/ui-kit/Img/ImgInner.d.ts +0 -2
- package/mobile/lib/ui-kit/Img/ImgInner.js +0 -11
- package/mobile/lib/ui-kit/Img/ImgInner.js.map +0 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.js +0 -2
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.js.map +0 -1
- package/mobile/src/components/BaseTile/BaseTile.tsx +0 -43
- package/mobile/src/components/BaseTile/getTileHeadingType.ts +0 -12
- package/mobile/src/components/BaseTile/getTileMinHeight.ts +0 -12
- package/mobile/src/components/ButtonBlock/ButtonBlock.example.json +0 -12
- package/mobile/src/components/ButtonBlock/ButtonBlock.ui.json +0 -12
- package/mobile/src/components/ButtonBlock/ButtonBlockContent.ts +0 -9
- package/mobile/src/components/PictureText/renderBenefit.tsx +0 -34
- package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +0 -63
- package/mobile/src/components/ProductBlock/renderBenefit.tsx +0 -9
- package/mobile/src/ui-kit/BenefitItem/BenefitItemProps.ts +0 -38
- package/mobile/src/ui-kit/Img/ImgInner.tsx +0 -30
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +0 -31
- package/src/components/BaseTile/BaseTile.tsx +0 -43
- package/src/components/BaseTile/getTileHeadingType.ts +0 -12
- package/src/components/BaseTile/getTileMinHeight.ts +0 -12
- package/src/components/ButtonBlock/ButtonBlock.example.json +0 -12
- package/src/components/ButtonBlock/ButtonBlock.fixture.tsx +0 -19
- package/src/components/ButtonBlock/ButtonBlock.ui.json +0 -12
- package/src/components/ButtonBlock/ButtonBlockContent.ts +0 -9
- package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +0 -33
- package/src/components/PictureText/renderBenefit.tsx +0 -34
- package/src/components/ProductBlock/ProductBlockInner.tsx +0 -63
- package/src/components/ProductBlock/renderBenefit.tsx +0 -9
- package/src/ui-kit/BenefitItem/BenefitItemProps.ts +0 -38
- package/src/ui-kit/Img/Img.mobile.tsx +0 -5
- package/src/ui-kit/Img/ImgInner.tsx +0 -30
- package/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +0 -31
- /package/bundle/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
- /package/dist/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
- /package/dist/{components → ui-kit}/BaseTile/getTileRightPadding.js +0 -0
- /package/lib/components/{ButtonBlock/ButtonBlock.fixture.d.ts → ButtonsBlock/ButtonsBlock.fixture.d.ts} +0 -0
- /package/lib/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
- /package/lib/{components → ui-kit}/BaseTile/getTileRightPadding.js +0 -0
- /package/mobile/bundle/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
- /package/mobile/dist/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
- /package/mobile/dist/{components → ui-kit}/BaseTile/getTileRightPadding.js +0 -0
- /package/mobile/lib/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
- /package/mobile/lib/{components → ui-kit}/BaseTile/getTileRightPadding.js +0 -0
- /package/mobile/src/{components → ui-kit}/BaseTile/getTileRightPadding.ts +0 -0
- /package/src/{components → ui-kit}/BaseTile/getTileRightPadding.ts +0 -0
|
@@ -4,6 +4,6 @@ import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
|
4
4
|
import { RichText } from '../../ui-kit/RichText/RichText.js';
|
|
5
5
|
export const RichTextBlock = JSX((props) => {
|
|
6
6
|
const { __html, richVersion, ...rest } = props;
|
|
7
|
-
return (_jsx(BlockWrapper, { ...rest, children: _jsx(RichText, { __html: __html, richVersion: richVersion }) }));
|
|
7
|
+
return (_jsx(BlockWrapper, { defaultPadding: "p-0", ...rest, children: _jsx(RichText, { __html: __html, richVersion: richVersion }) }));
|
|
8
8
|
});
|
|
9
9
|
//# sourceMappingURL=RichTextBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RichTextBlock.js","sourceRoot":"","sources":["../../../src/components/RichTextBlock/RichTextBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAK1D,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAqB,CAAC,KAAK,EAAE,EAAE;IAC7D,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAE/C,OAAO,CACL,KAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"RichTextBlock.js","sourceRoot":"","sources":["../../../src/components/RichTextBlock/RichTextBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAK1D,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAqB,CAAC,KAAK,EAAE,EAAE;IAC7D,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAE/C,OAAO,CACL,KAAC,YAAY,IAAC,cAAc,EAAC,KAAK,KAAK,IAAI,YACzC,KAAC,QAAQ,IAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,GAAI,GACzC,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -6,33 +6,38 @@ import { DefaultFoldButton } from '../../ui-kit/Foldable/DefaultFoldButton.js';
|
|
|
6
6
|
import { Foldable } from '../../ui-kit/Foldable/Foldable.js';
|
|
7
7
|
import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection.js';
|
|
8
8
|
import { Icon } from '../../ui-kit/Icon/Icon.js';
|
|
9
|
-
import { RoundedIcon } from '../../ui-kit/Icon/RoundedIcon.js';
|
|
10
9
|
import { Text } from '../../ui-kit/Text/Text.js';
|
|
11
10
|
import { style } from '../../utils/style.js';
|
|
12
11
|
import { foldableSectionStyles } from './foldableSectionStyles.js';
|
|
13
12
|
import { getIconName } from './getIconName.js';
|
|
14
13
|
import { labelSize } from './labelSize.js';
|
|
14
|
+
import { renderRoundedIcon } from './renderRoundedIcon.js';
|
|
15
15
|
import { rollupIconVersion } from './rollupIconVersion.js';
|
|
16
16
|
import { rollupItemStyles } from './rollupItemStyles.js';
|
|
17
|
-
export const RollupItem = JSX(({ className = '', label = 'Развернуть', labelIcon, isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => {
|
|
18
|
-
return (_jsx(BlockWrapper, { className: style('w-full', rollupItemStyles, className), tag: "div", version: "transparent", ...rest, children: _jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (_jsx(FoldableSection, { className: style('gap-5 [&>*]:p-0', foldableSectionStyles), isUnfolded: isUnfolded, children: renderChildren(rest) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({
|
|
17
|
+
export const RollupItem = JSX(({ className = '', label = 'Развернуть', labelIcon, labelIconBgVersion, isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => {
|
|
18
|
+
return (_jsx(BlockWrapper, { className: style('w-full', rollupItemStyles, className), defaultPadding: "p-0", tag: "div", version: "transparent", ...rest, children: _jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (_jsx(FoldableSection, { className: style('gap-5 [&>*]:p-0', foldableSectionStyles), isUnfolded: isUnfolded, children: renderChildren(rest) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({
|
|
19
|
+
version,
|
|
20
|
+
label,
|
|
21
|
+
labelIcon,
|
|
22
|
+
labelIconBgVersion,
|
|
23
|
+
isUnfolded,
|
|
24
|
+
onToggle,
|
|
25
|
+
}) }) }));
|
|
19
26
|
});
|
|
20
27
|
RollupItem.childrenTypes = {
|
|
21
28
|
exclude: ['RollupItem'],
|
|
22
29
|
};
|
|
23
|
-
const renderFoldButton = ({ version, label: defaultLabel, labelIcon, isUnfolded, onToggle, }) => {
|
|
30
|
+
const renderFoldButton = ({ version, label: defaultLabel, labelIcon, labelIconBgVersion, isUnfolded, onToggle, }) => {
|
|
24
31
|
const label = defaultLabel || (isUnfolded ? 'Скрыть' : 'Развернуть');
|
|
25
32
|
return version === 'primary' ? (renderPrimaryFoldButton({
|
|
26
33
|
label,
|
|
27
34
|
labelIcon,
|
|
35
|
+
labelIconBgVersion,
|
|
28
36
|
icon: getIconName(isUnfolded),
|
|
29
37
|
onToggle,
|
|
30
38
|
})) : (_jsx(DefaultFoldButton, { label: label, icon: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', onClick: onToggle }));
|
|
31
39
|
};
|
|
32
|
-
const renderPrimaryFoldButton = ({ label, icon, onToggle, labelIcon }) => {
|
|
33
|
-
|
|
34
|
-
const iconHeight = String(labelIcon?.size?.height || 24);
|
|
35
|
-
const iconName = labelIcon?.icon;
|
|
36
|
-
return (_jsxs("button", { className: style('border-none bg-transparent px-0 flex justify-between items-center w-full cursor-pointer group/button', iconName ? 'py-2' : 'py-5'), onClick: onToggle, children: [_jsxs("div", { className: "flex items-center group-hover/button:text-primary-main", children: [iconName ? (_jsx(RoundedIcon, { name: iconName, width: iconWidth, height: iconHeight, iconVersion: labelIcon?.iconVersion })) : null, label ? (_jsx(Text, { size: labelSize, font: "font-normal", children: label })) : null] }), icon ? _jsx(Icon, { name: icon, iconVersion: rollupIconVersion, width: "24", height: "24" }) : null] }));
|
|
40
|
+
const renderPrimaryFoldButton = ({ label, labelIconBgVersion, icon, onToggle, labelIcon, }) => {
|
|
41
|
+
return (_jsxs("button", { className: style('border-none bg-transparent px-0 flex justify-between items-center w-full group/button', labelIcon?.icon ? 'py-2' : 'py-5'), onClick: onToggle, children: [_jsxs("div", { className: "flex items-center group-hover/button:text-primary-main", children: [renderRoundedIcon(labelIcon, labelIconBgVersion), label ? (_jsx(Text, { size: labelSize, font: "font-normal", children: label })) : null] }), icon ? _jsx(Icon, { name: icon, iconVersion: rollupIconVersion, width: "24", height: "24" }) : null] }));
|
|
37
42
|
};
|
|
38
43
|
//# sourceMappingURL=RollupItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RollupItem.js","sourceRoot":"","sources":["../../../src/components/RollupItem/RollupItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAIpE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAy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AC,CAAC,CACF,KAAC,iBAAiB,IAChB,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,EAClD,OAAO,EAAE,QAAQ,GACjB,CACH,CAAC;AACJ,CAAC,CAAC;AAUF,MAAM,uBAAuB,GAAG,CAAC,EAC/B,KAAK,EACL,kBAAkB,EAClB,IAAI,EACJ,QAAQ,EACR,SAAS,GACc,EAAE,EAAE;IAC3B,OAAO,CACL,kBACE,SAAS,EAAE,KAAK,CACd,uFAAuF,EACvF,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAClC,EACD,OAAO,EAAE,QAAQ,aAEjB,eAAK,SAAS,EAAC,wDAAwD,aACpE,iBAAiB,CAAC,SAAS,EAAE,kBAAkB,CAAC,EAChD,KAAK,CAAC,CAAC,CAAC,CACP,KAAC,IAAI,IAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAC,aAAa,YACtC,KAAK,GACD,CACR,CAAC,CAAC,CAAC,IAAI,IACJ,EACL,IAAI,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,iBAAiB,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,IACnF,CACV,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { LabelProps } from '../../model/HeadlineType';
|
|
2
2
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
-
import type {
|
|
3
|
+
import type { Picture } from '../../model/Picture';
|
|
4
|
+
import type { IconBgVersion } from '../../ui-kit/Icon/IconProps';
|
|
4
5
|
/**
|
|
5
6
|
* @title Сворачивающаяся секция
|
|
6
7
|
*/
|
|
@@ -9,5 +10,6 @@ export declare type RollupItemContent = UniBlockContent & LabelProps & {
|
|
|
9
10
|
isExpanded?: boolean;
|
|
10
11
|
/** @title Кнопка сверху */
|
|
11
12
|
isFoldButtonOnTop?: boolean;
|
|
12
|
-
labelIcon?:
|
|
13
|
+
labelIcon?: Picture;
|
|
14
|
+
labelIconBgVersion?: IconBgVersion;
|
|
13
15
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderRoundedIcon.js","sourceRoot":"","sources":["../../../src/components/RollupItem/renderRoundedIcon.tsx"],"names":[],"mappings":"AAGA,6DAA6D;AAC7D,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,KAAe,EAAE,cAA8B,EAAE,EAAE,CAAC,IAAI,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { RoundedIcon } from '../../ui-kit/Icon/RoundedIcon.js';
|
|
3
|
+
export const renderRoundedIcon = (icon, iconBgVersion) => (_jsx(RoundedIcon, { ...icon, iconBgVersion: iconBgVersion }));
|
|
4
|
+
//# sourceMappingURL=renderRoundedIcon.mobile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderRoundedIcon.mobile.js","sourceRoot":"","sources":["../../../src/components/RollupItem/renderRoundedIcon.mobile.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAG5D,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,IAAc,EAAE,aAA6B,EAAE,EAAE,CAAC,CAClF,KAAC,WAAW,OAAK,IAAI,EAAE,aAAa,EAAE,aAAa,GAAI,CACxD,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
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 { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
|
-
import { useSafeBoxes } from './useSafeBoxes.js';
|
|
5
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
6
5
|
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
7
6
|
import { YandexMap } from '../../ui-kit/YandexMap/YandexMap.js';
|
|
8
7
|
import { SafeDepositRentalForm } from './SafeDepositRentalForm.js';
|
|
9
8
|
import { useGetRegions } from './useGetRegions.js';
|
|
9
|
+
import { useSafeBoxes } from './useSafeBoxes.js';
|
|
10
10
|
import { getBranch, getCoordinates } from './utils.js';
|
|
11
11
|
const DEFAULT_DAYS = 26;
|
|
12
12
|
export const SafeDepositRental = JSX(({ title, footnote, className = '', ...rest }) => {
|
|
@@ -24,7 +24,7 @@ export const SafeDepositRental = JSX(({ title, footnote, className = '', ...rest
|
|
|
24
24
|
const branches = useSafeBoxes(selectedRegion);
|
|
25
25
|
const handleChangeSafeDepositState = useCallback((state) => setStateDepositState((oldState) => ({ ...oldState, ...state })), [setStateDepositState]);
|
|
26
26
|
const points = getCoordinates(getBranch(branches, safeDepositState.selectedBranch) || branches);
|
|
27
|
-
return (_jsxs(BlockWrapper, { className: className, ...rest, children: [_jsxs("div", { className: "px-8 py-12", children: [title ? (_jsx(Heading, { title: title, headingType: "h3", as: "h2", className: "text-primary-text mb-2.5 text-center" })) : null, _jsx(SafeDepositRentalForm, { regions: regions, branches: branches, data: { ...safeDepositState, selectedRegion }, onClick: handleShowMap, onChange: handleChangeSafeDepositState }), footnote ? _jsx("p", { className: "text-s-light text-secondary-text", children: footnote }) : null] }), points.length && showMap ? _jsx(YandexMap, { points: points, className: "h-[640px]" }) : null] }));
|
|
27
|
+
return (_jsxs(BlockWrapper, { className: className, defaultPadding: "", ...rest, children: [_jsxs("div", { className: "px-8 py-12", children: [title ? (_jsx(Heading, { title: title, headingType: "h3", as: "h2", className: "text-primary-text mb-2.5 text-center" })) : null, _jsx(SafeDepositRentalForm, { regions: regions, branches: branches, data: { ...safeDepositState, selectedRegion }, onClick: handleShowMap, onChange: handleChangeSafeDepositState }), footnote ? _jsx("p", { className: "text-s-light text-secondary-text", children: footnote }) : null] }), points.length && showMap ? _jsx(YandexMap, { points: points, className: "h-[640px]" }) : null] }));
|
|
28
28
|
});
|
|
29
29
|
const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
|
|
30
30
|
//# sourceMappingURL=SafeDepositRental.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SafeDepositRental.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeDepositRental.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"SafeDepositRental.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeDepositRental.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEpE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAE7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,OAAO,EAAU,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAIpD,MAAM,YAAY,GAAG,EAAE,CAAC;AAExB,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,GAAG,EAAE,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,sCAAsC,GAChD,CACH,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,qBAAqB,IACpB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,EAAE,GAAG,gBAAgB,EAAE,cAAc,EAAE,EAC7C,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAE,4BAA4B,GACtC,EACD,QAAQ,CAAC,CAAC,CAAC,YAAG,SAAS,EAAC,kCAAkC,YAAE,QAAQ,GAAK,CAAC,CAAC,CAAC,IAAI,IAC7E,EACL,MAAM,CAAC,MAAM,IAAI,OAAO,CAAC,CAAC,CAAC,KAAC,SAAS,IAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAC,WAAW,GAAG,CAAC,CAAC,CAAC,IAAI,IACzE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,uBAAuB,GAAG,CAAC,cAAsB,EAAE,OAAkB,EAAE,EAAE,CAC7E,CAAC,cAAc,IAAI,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC"}
|
|
@@ -17,7 +17,7 @@ export const StepsBlock = JSX(({ className = '', showLines = true, steps = [], b
|
|
|
17
17
|
const lineOpacity = getLineOpacity(showLines);
|
|
18
18
|
const paddingX = getPaddingX(steps.length);
|
|
19
19
|
const isMainButton = Boolean(buttons?.every((b) => b?.text));
|
|
20
|
-
return (_jsxs(BlockWrapper, { className: style('box-border
|
|
20
|
+
return (_jsxs(BlockWrapper, { className: style('box-border flex flex-col items-center overflow-hidden', className), defaultPadding: "p-default", version: version, ...rest, children: [title ? (_jsx(Heading, { headingType: "h4", className: "max-w-[752px] text-center mb-9", title: title })) : null, steps?.length ? (_jsxs("div", { className: "box-border", children: [_jsx("div", { className: style('flex items-center', paddingX), children: joinList(_jsx("div", { className: style('h-0.5 w-full bg-secondary-light flex-1', lineOpacity) }))(steps.map(renderStepIcon(styleMap, size, stepVersion))) }), _jsx("div", { className: style('flex justify-between mt-4', shortGaps ? 'gap-x-3' : 'gap-x-[101px]'), children: steps.map(renderStep({ styleMap, isMainButton, version })) })] })) : null, renderButtonsSection(buttons, { className: 'mt-8' })] }));
|
|
21
21
|
});
|
|
22
22
|
const renderStepIcon = (styleMap, size, stepVersion) => ({ icon }, i) => {
|
|
23
23
|
const styleStepIconSize = size === 'normal' ? 'h-[100px] w-[100px]' : 'h-[63px] w-[63px]';
|
|
@@ -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;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAI1D,MAAM,cAAc,GAAG,CAAC,SAAkB,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC;AAE9E,MAAM,WAAW,GAAG,CAAC,KAAa,EAAE,EAAE,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,WAAW,CA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,CAAC,CAAC,CAAC,CAC1B,KAAC,GAAG,IACF,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,IAAI,WAAW,EAAE,EAChE,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,CACH,CAAC,CAAC,CAAC,CACF,eACE,SAAS,EAAE,KAAK,CACd,SAAS,EACT,WAAW,KAAK,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,yBAAyB,CAC9E,YAEA,CAAC,GAAG,CAAC,GACD,CACR,IAnBI,MAAM,CAAC,CAAC,CAAC,CAoBD,CAChB,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ const STEPS_TILE_DESCRIPTION_HEIGHT_MAP = {
|
|
|
16
16
|
small: 'min-h-12',
|
|
17
17
|
};
|
|
18
18
|
const styleMap = STEPS_BLOCK_STYLE;
|
|
19
|
-
export const StepsBlock = JSX(({ className = '', title, description, showLines = true, steps, size = 'normal', version = 'primary', ...rest }) => (_jsxs(BlockWrapper, { className: `box-border
|
|
19
|
+
export const StepsBlock = JSX(({ className = '', title, description, showLines = true, steps, size = 'normal', version = 'primary', ...rest }) => (_jsxs(BlockWrapper, { className: `box-border flex flex-col ${className}`, defaultPadding: "px-4 py-6", version: version, ...rest, children: [title ? _jsx(Heading, { headingType: "h3", className: "text-center", title: title }) : null, description ? (_jsx("p", { className: `text-m-light text-center ${styleMap.description} ${title ? 'mt-2' : ''}`, children: description })) : null, steps?.length ? (_jsx("div", { className: `box-border py-0.5 mb-0.5 mt-5`, children: _jsx("div", { className: "flex flex-col justify-between gap-x-[101px]", children: steps.map(renderStep(size, version, showLines)) }) })) : null] })));
|
|
20
20
|
// TODO: Create universal function for this case
|
|
21
21
|
const renderStep = (size, version, showLines) =>
|
|
22
22
|
// Linter doesn't understand that switch processes all cases
|
|
@@ -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,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAI1D,MAAM,cAAc,GAAgC;IAClD,MAAM,EAAE,6CAA6C;IACrD,KAAK,EAAE,6BAA6B;CACrC,CAAC;AAEF,MAAM,iCAAiC,GAAgC;IACrE,MAAM,EAAE,cAAc;IACtB,KAAK,EAAE,UAAU;CAClB,CAAC;AAEF,MAAM,QAAQ,GAAG,iBAAiB,CAAC;AAEnC,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAC3B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,WAAW,EACX,SAAS,GAAG,IAAI,EAChB,KAAK,EACL,IAAI,GAAG,QAAQ,EACf,OAAO,GAAG,SAAS,EACnB,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,MAAC,YAAY,IACX,SAAS,EAAE,
|
|
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,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OA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AgC,YAAY,EAAE,YAC5D,kBAAkB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAChC,KAAC,GAAG,IACF,KAAK,EAAE,EAAE,GAAG,IAAI,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,CAAC,IAAI,EAAE,WAAW,IAAI,WAAW,EAAE,EAC3E,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"}
|
|
@@ -3,9 +3,7 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
3
3
|
import { renderChildren } from '../../BlockRenderer/renderChildren.js';
|
|
4
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
5
5
|
import { SwipeListControl } from '../../ui-kit/SwipeListControl/SwipeListControl.js';
|
|
6
|
-
export const SwipeListControlBlock = JSX(({ listType, showDots, options, version, ...rest }) => {
|
|
7
|
-
return (_jsx(BlockWrapper, { version: version, ...rest, children: _jsx(SwipeListControl, { listType: listType, showDots: showDots, version: version, children: renderChildren({ ...rest, options }) }) }));
|
|
8
|
-
});
|
|
6
|
+
export const SwipeListControlBlock = JSX(({ listType, showDots, options, version, ...rest }) => (_jsx(BlockWrapper, { version: version, defaultPadding: "p-0", ...rest, children: _jsx(SwipeListControl, { listType: listType, showDots: showDots, version: version, children: renderChildren({ ...rest, options }) }) })));
|
|
9
7
|
SwipeListControlBlock.childrenTypes = {
|
|
10
8
|
exclude: ['SwipeListControlBlock'],
|
|
11
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwipeListControlBlock.js","sourceRoot":"","sources":["../../../src/components/SwipeListControlBlock/SwipeListControlBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEpE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAKlF,MAAM,CAAC,MAAM,qBAAqB,GAChC,GAAG,CAA6B,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE
|
|
1
|
+
{"version":3,"file":"SwipeListControlBlock.js","sourceRoot":"","sources":["../../../src/components/SwipeListControlBlock/SwipeListControlBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEpE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAKlF,MAAM,CAAC,MAAM,qBAAqB,GAChC,GAAG,CAA6B,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACrF,KAAC,YAAY,IAAC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAC,KAAK,KAAK,IAAI,YAC3D,KAAC,gBAAgB,IAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,YACvE,cAAc,CAAC,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,CAAC,GACpB,GACN,CAChB,CAAC,CAAC;AAEL,qBAAqB,CAAC,aAAa,GAAG;IACpC,OAAO,EAAE,CAAC,uBAAuB,CAAC;CACnC,CAAC"}
|
|
@@ -24,7 +24,7 @@ export const Tabs = JSX((props) => {
|
|
|
24
24
|
fireTabEvent(selectedTab);
|
|
25
25
|
setCurrentTab(selectedTab);
|
|
26
26
|
}, []);
|
|
27
|
-
return (_jsx(BlockWrapper, { className: `relative box-border flex gap-x-1 w-full ${isSticky ? 'sticky top-1 z-20' : ''} ${className}`, role: "tablist", ...rest, children: renderTabs({ tabs, onClick: handleClick, currentTab, ...rest }) }));
|
|
27
|
+
return (_jsx(BlockWrapper, { className: `relative box-border flex gap-x-1 w-full ${isSticky ? 'sticky top-1 z-20' : ''} ${className}`, defaultPadding: "p-0", role: "tablist", ...rest, children: renderTabs({ tabs, onClick: handleClick, currentTab, ...rest }) }));
|
|
28
28
|
});
|
|
29
29
|
const renderTabs = ({ tabsMode, tabs, ...rest }) => {
|
|
30
30
|
switch (tabsMode) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.js","sourceRoot":"","sources":["../../../src/components/Tabs/Tabs.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEjE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAUlD,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CAAiB,CAAC,KAAK,EAAE,EAAE;IAChD,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAE1D,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAEzE,SAAS,CAAC,GAAG,EAAE;QACb,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,EAAE;IAClE,QAAQ,QAAQ,EAAE;QAChB,KAAK,YAAY;YACf,OAAO,IAAI,EAAE,GAAG,CAAC,SAAS,CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC;QACrD,KAAK,UAAU;YACb,OAAO,KAAC,YAAY,IAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,KAAM,IAAI,GAAI,CAAC;QACpE,KAAK,YAAY;YACf,OAAO,KAAC,cAAc,IAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,KAAM,IAAI,GAAI,CAAC;KACvE;IAED,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,GAAY,EAAE,EAAE;IACpC,IAAI,GAAG,CAAC,IAAI,KAAK,OAAO,EAAE;QACxB,eAAe,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC;KACjE;IACD,IAAI,GAAG,CAAC,IAAI,KAAK,MAAM,EAAE;QACvB,eAAe,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;KAClE;AACH,CAAC,CAAC"}
|
|
@@ -6,12 +6,9 @@ const renderButtonsCellData = ({ buttons }) => renderButtonsSection(buttons, {
|
|
|
6
6
|
className: 'mt-3',
|
|
7
7
|
buttonClassName: 'w-12 h-12',
|
|
8
8
|
});
|
|
9
|
-
const renderLabelDescriptionCellData = ({ label, description }) => {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
13
|
-
const renderImgCellData = ({ image }) => image?.src ? _jsx(Img, { image: { ...image, className: 'm-0' } }) : null;
|
|
14
|
-
const renderListCellData = ({ isDotted, ...rest }) => (_jsx(List, { className: "flex flex-col justify-between items-start text-m", isDotted: isDotted ?? true, ...rest }));
|
|
9
|
+
const renderLabelDescriptionCellData = ({ label, description }) => (_jsxs("div", { children: [label ? _jsx("div", { className: "mb-2", children: label }) : null, description ? _jsx("div", { className: "text-s text-secondary-text", children: description }) : null] }));
|
|
10
|
+
const renderImgCellData = ({ image }) => image?.src ? _jsx(Img, { image: image, className: "m-0", imageClassName: "m-0" }) : null;
|
|
11
|
+
const renderListCellData = ({ isDotted, ...rest }) => (_jsx(List, { className: "flex flex-col justify-between items-start text-m pl-2 text-base", isDotted: isDotted ?? true, ...rest }));
|
|
15
12
|
export const EmbeddableCellData = {
|
|
16
13
|
Buttons: renderButtonsCellData,
|
|
17
14
|
Img: renderImgCellData,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmbeddableCellData.mobile.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/EmbeddableCellData.mobile.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAU9C,MAAM,qBAAqB,GAAG,CAAC,EAAE,OAAO,EAAiB,EAAE,EAAE,CAC3D,oBAAoB,CAAC,OAAO,EAAE;IAC5B,SAAS,EAAE,MAAM;IACjB,eAAe,EAAE,WAAW;CAC7B,CAAC,CAAC;AAEL,MAAM,8BAA8B,GAAG,CAAC,EAAE,KAAK,EAAE,WAAW,EAAwB,EAAE,EAAE
|
|
1
|
+
{"version":3,"file":"EmbeddableCellData.mobile.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/EmbeddableCellData.mobile.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,OAAO,EAAE,IAAI,EAAE,MAAM,wB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Heading/Heading.js';
|
|
4
3
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
5
|
-
|
|
4
|
+
import { Text } from '../../ui-kit/Text/Text.js';
|
|
5
|
+
export const TableTileHeader = JSX(({ title, icon }) => (_jsxs("div", { className: "mb-2", children: [title ? _jsx(Text, { size: "text-l-light", children: title }) : null, icon ? _jsx(Img, { className: "ml-auto min-w-6", image: icon, width: "24", height: "24" }) : null] })));
|
|
6
6
|
//# sourceMappingURL=TableTileHeader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableTileHeader.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TableTileHeader.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"TableTileHeader.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TableTileHeader.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAG9C,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAwB,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAC7E,eAAK,SAAS,EAAC,MAAM,aAClB,KAAK,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,IAAI,EAAC,cAAc,YAAE,KAAK,GAAQ,CAAC,CAAC,CAAC,IAAI,EACvD,IAAI,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,SAAS,EAAC,iBAAiB,EAAC,KAAK,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,IAClF,CACP,CAAC,CAAC"}
|
|
@@ -7,6 +7,7 @@ import { renderDefaultFoldButton } from '../../ui-kit/Foldable/DefaultFoldButton
|
|
|
7
7
|
import { Foldable } from '../../ui-kit/Foldable/Foldable.js';
|
|
8
8
|
import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection.js';
|
|
9
9
|
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
10
|
+
import { style } from '../../utils/style.js';
|
|
10
11
|
import { COLS_LENGTH_FOR_SCROLL } from './constants.js';
|
|
11
12
|
import { TariffsTableRow } from './TariffsTableRow.js';
|
|
12
13
|
export const TariffsTable = JSX(({ className = '', title, description, rowHeaders, tariffsColumns: columns, hiddenRowsNum = 0, ...rest }) => {
|
|
@@ -22,7 +23,7 @@ export const TariffsTable = JSX(({ className = '', title, description, rowHeader
|
|
|
22
23
|
});
|
|
23
24
|
const rows = (rowData || []).map((row, i) => (_jsx(TariffsTableRow, { row: row, activeIndex: activeIndex, rowIdx: i, ...rest }, String(i))));
|
|
24
25
|
const [visibleRows, hiddenRows] = hiddenRowsNum > 0 ? [rows.slice(0, -hiddenRowsNum), rows.slice(-hiddenRowsNum)] : [rows, []];
|
|
25
|
-
return (_jsxs(BlockWrapper, { className:
|
|
26
|
+
return (_jsxs(BlockWrapper, { className: style('overflow-hidden relative', className), defaultPadding: style('p-default', itemCount > 1 ? 'pr-0' : ''), ...rest, children: [renderTitle({ title, description }), renderDescription(description), hiddenRowsNum > 0 ? (_jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (_jsxs(Wrapper, { controls: controls, children: [visibleRows, _jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] })), renderFoldButton: renderDefaultFoldButton })) : (_jsx(Wrapper, { controls: controls, children: rows }))] }));
|
|
26
27
|
});
|
|
27
28
|
function renderTitle({ title, description }) {
|
|
28
29
|
return title ? (_jsx(Heading, { headingType: "h3", className: `text-center ${description ? 'mb-2.5' : 'mb-8'}`, title: title })) : null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TariffsTable.js","sourceRoot":"","sources":["../../../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AAE,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,CAAC;AAC3F,CAAC;AAED,MAAM,OAAO,GAAG,GAAG,CAAe,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC3D,MAAM,EAAE,iBAAiB,EAAE,GAAG,QAAQ,CAAC;IAEvC,OAAO,CACL,eAAK,IAAI,EAAC,OAAO,aACf,eAAK,SAAS,EAAC,UAAU,aACtB,QAAQ,EACR,YAAY,CAAC;wBACZ,GAAG,QAAQ;wBACX,QAAQ,EAAE,CAAC,aAAa,EAAE,YAAY,CAAC;wBACvC,SAAS,EAAE,SAAS;qBACrB,CAAC,IACE,EACL,iBAAiB,CAAC,CAAC,CAAC,CACnB,cAAK,SAAS,EAAC,8DAA8D,GAAG,CACjF,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
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 {
|
|
3
|
+
import { Headline } from '../Headline/Headline.js';
|
|
4
4
|
import { TariffsTableHorizontal } from './TariffsTableHorizontal.js';
|
|
5
5
|
import { TariffsTableVertical } from './TariffsTableVertical.js';
|
|
6
6
|
export const TariffsTable = JSX(({ className, title, description, tariffsColumns: columns, rowHeaders, orientation = 'vertical', ...rest }) => {
|
|
7
7
|
const colData = getColData(columns);
|
|
8
8
|
const tiles = getTiles(rowHeaders, colData);
|
|
9
|
-
const headingMargin = description ? 'mb-2' : 'mb-
|
|
10
|
-
return (_jsxs("section", { className: `
|
|
9
|
+
const headingMargin = description ? 'mb-2' : 'mb-8';
|
|
10
|
+
return (_jsxs("section", { className: `p-default bg-white font-sans text-primary-text overflow-x-hidden ${className}`, children: [_jsx(Headline, { title: title, description: description, headlineVersion: "M", align: "text-left", isPadding: false, className: "mb-8" }), orientation === 'vertical' ? (_jsx(TariffsTableVertical, { tiles: tiles, ...rest })) : (_jsx(TariffsTableHorizontal, { tiles: tiles, ...rest }))] }));
|
|
11
11
|
});
|
|
12
12
|
const getColData = (columns) => columns?.[0]?.data ? columns[0].data : [];
|
|
13
13
|
const getTiles = (rowHeaders, colData) => rowHeaders?.map((header, i) => ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TariffsTable.mobile.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTable.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"TariffsTable.mobile.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTable.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAOhD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAI9D,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EACC,SAAS,EACT,KAAK,EACL,WAAW,EACX,cAAc,EAAE,OAAO,EACvB,UAAU,EACV,WAAW,GAAG,UAAU,EACxB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;IACpC,MAAM,KAAK,GAAG,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAC5C,MAAM,aAAa,GAAG,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;IAEpD,OAAO,CACL,mBACE,SAAS,EAAE,oEAAoE,SAAS,EAAE,aAE1F,KAAC,QAAQ,IACP,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,KAAK,EAAC,WAAW,EACjB,SAAS,EAAE,KAAK,EAChB,SAAS,EAAC,MAAM,GAChB,EACD,WAAW,KAAK,UAAU,CAAC,CAAC,CAAC,CAC5B,KAAC,oBAAoB,IAAC,KAAK,EAAE,KAAK,KAAM,IAAI,GAAI,CACjD,CAAC,CAAC,CAAC,CACF,KAAC,sBAAsB,IAAC,KAAK,EAAE,KAAK,KAAM,IAAI,GAAI,CACnD,IACO,CACX,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,OAAyC,EAAE,EAAE,CAC/D,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;AAE5C,MAAM,QAAQ,GAAG,CAAC,UAA+C,EAAE,OAAoB,EAAE,EAAE,CACzF,UAAU,EAAE,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAC9B,MAAM;IACN,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC;CAC3B,CAAC,CAAC,CAAC"}
|
|
@@ -2,5 +2,5 @@ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { SwipeListControl } from '../../ui-kit/SwipeListControl/SwipeListControl.js';
|
|
4
4
|
import { TariffsTableTileCell } from './TariffsTableTileCell.js';
|
|
5
|
-
export const TariffsTableHorizontal = JSX(({ tiles, ...rest }) => tiles?.length ? (_jsx(SwipeListControl, { ...rest, children: tiles.map((tile, i) => (_jsx(TariffsTableTileCell, { tile: tile, ...rest }, String(i)))) })) : null);
|
|
5
|
+
export const TariffsTableHorizontal = JSX(({ tiles, ...rest }) => tiles?.length ? (_jsx(SwipeListControl, { ...rest, padding: undefined, children: tiles.map((tile, i) => (_jsx(TariffsTableTileCell, { tile: tile, ...rest }, String(i)))) })) : null);
|
|
6
6
|
//# sourceMappingURL=TariffsTableHorizontal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TariffsTableHorizontal.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableHorizontal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAElF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAoB,CAAC,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAClF,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACd,KAAC,gBAAgB,OAAK,IAAI,
|
|
1
|
+
{"version":3,"file":"TariffsTableHorizontal.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableHorizontal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAElF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAoB,CAAC,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAClF,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACd,KAAC,gBAAgB,OAAK,IAAI,EAAE,OAAO,EAAE,SAAS,YAC3C,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,KAAC,oBAAoB,IAAiB,IAAI,EAAE,IAAI,KAAM,IAAI,IAA/B,MAAM,CAAC,CAAC,CAAC,CAA0B,CAC/D,CAAC,GACe,CACpB,CAAC,CAAC,CAAC,IAAI,CACT,CAAC"}
|
|
@@ -2,8 +2,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { EmbeddableCellData } from './EmbeddableCellData.js';
|
|
4
4
|
import { TableTileHeader } from './TableTileHeader.js';
|
|
5
|
-
export const TariffsTableTileCell = JSX(({ tile, ...rest }) => (_jsxs("div", { className: "
|
|
6
|
-
? tile.data.map((cell, i) => (
|
|
5
|
+
export const TariffsTableTileCell = JSX(({ tile, ...rest }) => (_jsxs("div", { className: "h-full", children: [_jsx(TableTileHeader, { title: tile?.header?.title }), tile?.data?.length
|
|
6
|
+
? tile.data.map((cell, i) => (_jsx("div", { className: "mb-2", children: renderCell(cell, rest) }, String(i))))
|
|
7
7
|
: null] })));
|
|
8
8
|
function renderCell(cell, props) {
|
|
9
9
|
if (!cell || !cell.tableCellType || !(cell.tableCellType in EmbeddableCellData)) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TariffsTableTileCell.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableTileCell.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOpD,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CAA4B,CAAC,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACxF,eAAK,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"TariffsTableTileCell.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableTileCell.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOpD,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CAA4B,CAAC,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACxF,eAAK,SAAS,EAAC,QAAQ,aACrB,KAAC,eAAe,IAAC,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,GAAI,EAC9C,IAAI,EAAE,IAAI,EAAE,MAAM;YACjB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACzB,cAAqB,SAAS,EAAC,MAAM,YAClC,UAAU,CAAC,IAAI,EAAE,IAAI,CAAC,IADf,MAAM,CAAC,CAAC,CAAC,CAEb,CACP,CAAC;YACJ,CAAC,CAAC,IAAI,IACJ,CACP,CAAC,CAAC;AAEH,SAAS,UAAU,CAAC,IAAa,EAAE,KAAoB;IACrD,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,aAAa,IAAI,CAAC,CAAC,IAAI,CAAC,aAAa,IAAI,kBAAkB,CAAC,EAAE;QAC/E,OAAO,IAAI,CAAC;KACb;IAED,MAAM,mBAAmB,GAAG,kBAAkB,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IAEnE,OAAO,KAAC,mBAAmB,IAAC,YAAY,EAAE,GAAG,EAAE,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,KAAM,IAAI,KAAM,KAAK,GAAI,CAAC;AACjG,CAAC"}
|
|
@@ -6,9 +6,7 @@ import { Paragraph } from '../../ui-kit/Paragraph/Paragraph.js';
|
|
|
6
6
|
import { RichText } from '../../ui-kit/RichText/RichText.js';
|
|
7
7
|
import { Text } from '../../ui-kit/Text/Text.js';
|
|
8
8
|
import { style } from '../../utils/style.js';
|
|
9
|
-
export const TextBlock = JSX(({ className = '', title, description, iconVersion, image, __html, items = [], ...rest }) => {
|
|
10
|
-
return (_jsxs(BlockWrapper, { className: style('px-9 py-4 flex gap-3 bg-white group-data-secondary:bg-primary-main/10', className), ...rest, children: [iconVersion === 'small' ? _jsx("div", { className: "mt-1", children: renderIcon() }) : null, iconVersion === 'big' ? renderImage(image) : null, _jsxs("div", { className: "flex flex-col w-fit gap-3", children: [title ? (_jsx(Text, { size: "text-l", font: "font-medium", color: "text-primary-text group-data-secondary:text-white", children: title })) : null, description ? renderDescription(description) : null, items?.length ? renderList(items, true) : null, __html ? _jsx(RichText, { __html: __html }) : null] })] }));
|
|
11
|
-
});
|
|
9
|
+
export const TextBlock = JSX(({ className = '', title, description, iconVersion, image, __html, items = [], ...rest }) => (_jsxs(BlockWrapper, { className: style('flex gap-3 bg-white group-data-secondary:bg-primary-main/10', className), ...rest, children: [iconVersion === 'small' ? _jsx("div", { className: "mt-1", children: renderIcon() }) : null, iconVersion === 'big' ? renderImage(image) : null, _jsxs("div", { className: "flex flex-col w-fit gap-3", children: [title ? (_jsx(Text, { size: "text-l", font: "font-medium", color: "text-primary-text group-data-secondary:text-white", children: title })) : null, description ? renderDescription(description) : null, items?.length ? renderList(items, true) : null, __html ? _jsx(RichText, { __html: __html }) : null] })] })));
|
|
12
10
|
const renderIcon = () => (_jsx("div", { className: `rounded-full h-4 w-4 text-center text-xs-light bg-primary-main text-white group-data-secondary:bg-white group-data-secondary:text-primary-main`, children: "i" }));
|
|
13
11
|
const renderImage = (image) => image?.src ? _jsx(Img, { className: "h-fit", image: image }) : null;
|
|
14
12
|
const renderDescription = (description) => (_jsx(Paragraph, { size: "text-s", color: "text-secondary-text group-data-secondary:text-white", children: description }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextBlock.js","sourceRoot":"","sources":["../../../src/components/TextBlock/TextBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,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AG,OAAO,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC;IAElD,OAAO,CACL,aAAI,SAAS,EAAE,KAAK,CAAC,wDAAwD,EAAE,SAAS,CAAC,YACtF,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACnB,uBACE,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,YAClC,CAAC,GACG,IAHA,YAAY,CAAC,EAAE,CAInB,CACN,CAAC,GACC,CACN,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,18 +1,6 @@
|
|
|
1
|
-
import { jsx as _jsx
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { BaseProductTile } from '../../ui-kit/BaseProductTile/BaseProductTile.js';
|
|
3
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
|
-
|
|
5
|
-
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
6
|
-
import { Img } from '../../ui-kit/Img/Img.js';
|
|
7
|
-
import { List } from '../../ui-kit/List/List.js';
|
|
8
|
-
import { RichText } from '../../ui-kit/RichText/RichText.js';
|
|
9
|
-
import { Tags } from '../../ui-kit/Tags/Tags.js';
|
|
10
|
-
import { style } from '../../utils/style.js';
|
|
11
|
-
import { BaseTile } from '../BaseTile/BaseTile.js';
|
|
12
|
-
import { getTileMinHeight } from '../BaseTile/getTileMinHeight.js';
|
|
13
|
-
import { getTileRightPadding } from '../BaseTile/getTileRightPadding.js';
|
|
14
|
-
export const Tile = JSX(({ title, headingType = 'h3', __html, items, buttons, image, isDotted = true, listItemSize = 'M', className = '', tags, children, directionRight = true, ...rest }) => (_jsxs(BlockWrapper, { className: style('flex grow justify-between items-stretch h-full p-9 pr-3 box-border', getTileRightPadding(className), getTileMinHeight(className), className), ...rest, children: [image?.src ? (_jsx(Img, { className: style('mt-auto ml-7', directionRight ? 'order-2' : ''), image: image })) : null, _jsx(BaseTile, { title: title ? (_jsx(Heading, { headingType: headingType, as: "h2", title: title, className: `whitespace-pre-wrap max-w-[600px]` })) : null, buttons: renderButtonsSection(buttons, {
|
|
15
|
-
className: 'mt-8',
|
|
16
|
-
buttonClassName: 'min-w-[158px]',
|
|
17
|
-
}), children: _jsxs("div", { children: [__html ? (_jsx("div", { className: "max-w-[600px] mt-2.5", children: _jsx(RichText, { __html: __html }) })) : null, children, _jsx(List, { className: "mt-2.5", items: items, isDotted: isDotted, listItemSize: listItemSize }), tags?.length ? _jsx(Tags, { tags: tags, className: "mt-5" }) : null] }) })] })));
|
|
5
|
+
export const Tile = JSX(({ className, headlineVersion = 'S', listItemSize = 'M', ...rest }) => (_jsx(BlockWrapper, { className: className, ...rest, children: _jsx(BaseProductTile, { className: "h-full", headlineVersion: headlineVersion, listItemSize: listItemSize, ...rest, imageOptions: { imageAlign: 'end', ...rest.imageOptions } }) })));
|
|
18
6
|
//# sourceMappingURL=Tile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tile.js","sourceRoot":"","sources":["../../../src/components/Tile/Tile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Tile.js","sourceRoot":"","sources":["../../../src/components/Tile/Tile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAKzD,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CACrB,CAAC,EAAE,SAAS,EAAE,eAAe,GAAG,GAAG,EAAE,YAAY,GAAG,GAAG,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACrE,KAAC,YAAY,IAAC,SAAS,EAAE,SAAS,KAAM,IAAI,YAC1C,KAAC,eAAe,IACd,SAAS,EAAC,QAAQ,EAClB,eAAe,EAAE,eAAe,EAChC,YAAY,EAAE,YAAY,KACtB,IAAI,EACR,YAAY,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,YAAY,EAAE,GACzD,GACW,CAChB,CACF,CAAC"}
|
|
@@ -1,17 +1,6 @@
|
|
|
1
|
-
import type { BulletsProps } from '../../model/Bullets';
|
|
2
1
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
-
import type {
|
|
4
|
-
import type { HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
|
|
5
|
-
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
6
|
-
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
7
|
-
import type { ListItemSize } from '../../ui-kit/List/ListProps';
|
|
8
|
-
import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
9
|
-
import type { TagsContent } from '../../ui-kit/Tags/TagsContent';
|
|
2
|
+
import type { BaseProductTileContent } from '../../ui-kit/BaseProductTile/BaseProductTileContent';
|
|
10
3
|
/**
|
|
11
4
|
* @title Плитка
|
|
12
5
|
*/
|
|
13
|
-
export declare type TileContent = UniBlockContent &
|
|
14
|
-
listItemSize?: ListItemSize;
|
|
15
|
-
/** @title Картинка справа/текст слева */
|
|
16
|
-
directionRight?: boolean;
|
|
17
|
-
};
|
|
6
|
+
export declare type TileContent = UniBlockContent & BaseProductTileContent;
|
|
@@ -13,7 +13,7 @@ const alignStyle = {
|
|
|
13
13
|
};
|
|
14
14
|
export const VerticalLayout = JSX(({ className = '', gap = '', align = 'stretch', isPadding = false, isInnerPadding = true, version = 'transparent', isTheme = false, ...rest }) => {
|
|
15
15
|
const innerPaddingStyle = isInnerPadding ? '' : '!p-0';
|
|
16
|
-
return (_jsx(BlockWrapper, { className: style('relative', 'flex flex-col [&>*]:max-w-full',
|
|
16
|
+
return (_jsx(BlockWrapper, { className: style('relative', 'flex flex-col [&>*]:max-w-full', gapStyles[gap], align && alignStyle[align], className), defaultPadding: isPadding ? 'p-default' : '', version: version, isTheme: isTheme, ...rest, children: renderChildren({
|
|
17
17
|
...rest,
|
|
18
18
|
renderProps: (block, options) => renderBlock(block, options, { className: innerPaddingStyle }),
|
|
19
19
|
}) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerticalLayout.js","sourceRoot":"","sources":["../../../src/components/VerticalLayout/VerticalLayout.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAGpE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAK1D,MAAM,UAAU,GAAyC;IACvD,OAAO,EAAE,eAAe;IACxB,IAAI,EAAE,aAAa;IACnB,MAAM,EAAE,cAAc;IACtB,KAAK,EAAE,WAAW;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAkC,GAAG,CAC9D,CAAC,EACC,SAAS,GAAG,EAAE,EACd,GAAG,GAAG,EAAE,EACR,KAAK,GAAG,SAAS,EACjB,SAAS,GAAG,KAAK,EACjB,cAAc,GAAG,IAAI,EACrB,OAAO,GAAG,aAAa,EACvB,OAAO,GAAG,KAAK,EACf,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,iBAAiB,GAAG,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC;IAEvD,OAAO,CACL,KAAC,YAAY,IACX,SAAS,EAAE,KAAK,CACd,UAAU,EACV,gCAAgC,EAChC,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"VerticalLayout.js","sourceRoot":"","sources":["../../../src/components/VerticalLayout/VerticalLayout.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAGpE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAK1D,MAAM,UAAU,GAAyC;IACvD,OAAO,EAAE,eAAe;IACxB,IAAI,EAAE,aAAa;IACnB,MAAM,EAAE,cAAc;IACtB,KAAK,EAAE,WAAW;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAkC,GAAG,CAC9D,CAAC,EACC,SAAS,GAAG,EAAE,EACd,GAAG,GAAG,EAAE,EACR,KAAK,GAAG,SAAS,EACjB,SAAS,GAAG,KAAK,EACjB,cAAc,GAAG,IAAI,EACrB,OAAO,GAAG,aAAa,EACvB,OAAO,GAAG,KAAK,EACf,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,iBAAiB,GAAG,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC;IAEvD,OAAO,CACL,KAAC,YAAY,IACX,SAAS,EAAE,KAAK,CACd,UAAU,EACV,gCAAgC,EAChC,SAAS,CAAC,GAAG,CAAC,EACd,KAAK,IAAI,UAAU,CAAC,KAAK,CAAC,EAC1B,SAAS,CACV,EACD,cAAc,EAAE,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,EAC5C,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,KACZ,IAAI,YAEP,cAAc,CAAC;YACd,GAAG,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