@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
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
1
|
+
import type { IconVersion } from '../../model/IconVersion';
|
|
2
|
+
import type { BenefitItemContent } from './BenefitItemContent';
|
|
3
|
+
export interface BenefitGeneralProps extends BenefitItemContent {
|
|
4
|
+
className?: string;
|
|
5
|
+
benefitsVersion?: IconVersion;
|
|
3
6
|
}
|
|
4
7
|
export declare const BenefitItem: import("@redneckz/uni-jsx").UNIComponent<BenefitGeneralProps, any, any>;
|
|
@@ -6,15 +6,12 @@ const style_1 = require("../../utils/style");
|
|
|
6
6
|
const Img_1 = require("../Img/Img");
|
|
7
7
|
const Paragraph_1 = require("../Paragraph/Paragraph");
|
|
8
8
|
const Text_1 = require("../Text/Text");
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
bgColorStyle = 'bg-secondary-light text-primary-main';
|
|
17
|
-
}
|
|
18
|
-
return `w-12 h-12 min-w-12 rounded-full p-2.5 box-border flex items-center justify-center ${bgColorStyle}`;
|
|
9
|
+
const labelSize_1 = require("./labelSize");
|
|
10
|
+
exports.BenefitItem = (0, uni_jsx_1.JSX)(({ className, icon, label, description, benefitsVersion = 'normal' }) => ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('flex gap-s', description ? 'items-start' : 'items-center', className), children: [icon ? ((0, jsx_runtime_1.jsx)("div", { className: getBenefitIconBgStyle(benefitsVersion), children: (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "w-6 h-6", image: { ...icon, iconVersion: icon.iconVersion || benefitsVersion } }) })) : null, (0, jsx_runtime_1.jsxs)("div", { className: "gap-0.5", children: [label ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { color: "text-primary-text group-data-secondary:text-white", size: labelSize_1.labelSize, children: label })) : null, description ? ((0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { font: "font-light", size: "text-m", color: "text-secondary-text group-data-secondary:text-white", children: description })) : null] })] })));
|
|
11
|
+
function getBenefitIconBgStyle(benefitsVersion) {
|
|
12
|
+
const bgColorStyle = benefitsVersion === 'normal'
|
|
13
|
+
? 'bg-secondary-light text-primary-main'
|
|
14
|
+
: 'bg-primary-main text-black group-data-secondary:bg-white/30 group-data-secondary:text-black';
|
|
15
|
+
return (0, style_1.style)('w-12 h-12 min-w-12 p-2.5 box-border flex items-center justify-center rounded-icon', bgColorStyle);
|
|
19
16
|
}
|
|
20
17
|
//# sourceMappingURL=BenefitItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BenefitItem.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitItem/BenefitItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"BenefitItem.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitItem/BenefitItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6CAA0C;AAC1C,oCAAiC;AACjC,sDAAmD;AACnD,uCAAoC;AAEpC,2CAAwC;AAO3B,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,eAAe,GAAG,QAAQ,EAAE,EAAE,EAAE,CAAC,CACvE,iCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,YAAY,EAAE,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE,SAAS,CAAC,aACzF,IAAI,CAAC,CAAC,CAAC,CACN,gCAAK,SAAS,EAAE,qBAAqB,CAAC,eAAe,CAAC,YACpD,uBAAC,SAAG,IACF,SAAS,EAAC,SAAS,EACnB,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,IAAI,eAAe,EAAE,GACpE,GACE,CACP,CAAC,CAAC,CAAC,IAAI,EACR,iCAAK,SAAS,EAAC,SAAS,aACrB,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,WAAI,IAAC,KAAK,EAAC,mDAAmD,EAAC,IAAI,EAAE,qBAAS,YAC5E,KAAK,GACD,CACR,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,CACb,uBAAC,qBAAS,IACR,IAAI,EAAC,YAAY,EACjB,IAAI,EAAC,QAAQ,EACb,KAAK,EAAC,qDAAqD,YAE1D,WAAW,GACF,CACb,CAAC,CAAC,CAAC,IAAI,IACJ,IACF,CACP,CACF,CAAC;AAEF,SAAS,qBAAqB,CAAC,eAA4B;IACzD,MAAM,YAAY,GAChB,eAAe,KAAK,QAAQ;QAC1B,CAAC,CAAC,sCAAsC;QACxC,CAAC,CAAC,6FAA6F,CAAC;IAEpG,OAAO,IAAA,aAAK,EACV,mFAAmF,EACnF,YAAY,CACb,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { DefaultListItemType } from '../../model/DefaultListItemType';
|
|
2
|
+
import type { DescriptionProps, LabelProps } from '../../model/HeadlineType';
|
|
3
|
+
import type { IconProps } from '../../model/Picture';
|
|
4
|
+
import type { RichTextItem } from '../../model/RichTextItem';
|
|
5
|
+
export declare type BenefitItemContent = LabelProps & DescriptionProps & IconProps;
|
|
6
|
+
/**
|
|
7
|
+
* @title Стандартный бенефит
|
|
8
|
+
*/
|
|
9
|
+
export declare type DefaultBenefitContent = BenefitItemContent & DefaultListItemType;
|
|
10
|
+
/**
|
|
11
|
+
* @title Преимущество
|
|
12
|
+
* @default {
|
|
13
|
+
* "type": "default"
|
|
14
|
+
* }
|
|
15
|
+
*/
|
|
16
|
+
export declare type ComplexBenefitContent = DefaultBenefitContent | RichTextItem;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
//# sourceMappingURL=
|
|
2
|
+
//# sourceMappingURL=BenefitItemContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BenefitItemContent.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitItem/BenefitItemContent.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const borderRadius = "rounded-md";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"borderRadius.mobile.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitItem/borderRadius.mobile.tsx"],"names":[],"mappings":";;AAAa,QAAA,YAAY,GAAG,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const labelSize = "text-h6";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"labelSize.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitItem/labelSize.tsx"],"names":[],"mappings":";;AAAa,QAAA,SAAS,GAAG,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const labelSize = "text-l";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"labelSize.mobile.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitItem/labelSize.mobile.tsx"],"names":[],"mappings":";;AAAa,QAAA,SAAS,GAAG,QAAQ,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { BenefitsListContent } from './BenefitsListContent';
|
|
2
|
+
interface BenefitsListProps extends BenefitsListContent {
|
|
3
|
+
className?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const BenefitsList: import("@redneckz/uni-jsx").UNIComponent<BenefitsListProps, any, any>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.BenefitsList = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const deviation_1 = require("../../utils/deviation");
|
|
6
|
+
const style_1 = require("../../utils/style");
|
|
7
|
+
const renderBenefit_1 = require("./renderBenefit");
|
|
8
|
+
const MAX_BENEFITS_LEN_DEVIATION = 16;
|
|
9
|
+
const benefitLength = (_) => _.type === 'rte'
|
|
10
|
+
? _.__html?.length || 0
|
|
11
|
+
: Math.max(_.label?.length || 0, _.description?.length || 0);
|
|
12
|
+
const isDistortedBenefits = (benefits) => (0, deviation_1.deviation)(benefits.map(benefitLength)) > MAX_BENEFITS_LEN_DEVIATION;
|
|
13
|
+
exports.BenefitsList = (0, uni_jsx_1.JSX)(({ className, benefitsVersion = 'normal', benefits }) => benefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('flex gap-x-m gap-y-s', isDistortedBenefits(benefits) ? 'flex-col' : 'flex-wrap', className), children: benefits.map((0, renderBenefit_1.renderBenefit)(benefitsVersion)) })) : null);
|
|
14
|
+
//# sourceMappingURL=BenefitsList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BenefitsList.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitsList/BenefitsList.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAAkD;AAClD,6CAA0C;AAG1C,mDAAgD;AAMhD,MAAM,0BAA0B,GAAG,EAAE,CAAC;AAEtC,MAAM,aAAa,GAAG,CAAC,CAAwB,EAAE,EAAE,CACjD,CAAC,CAAC,IAAI,KAAK,KAAK;IACd,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,MAAM,IAAI,CAAC;IACvB,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,EAAE,MAAM,IAAI,CAAC,EAAE,CAAC,CAAC,WAAW,EAAE,MAAM,IAAI,CAAC,CAAC,CAAC;AAEjE,MAAM,mBAAmB,GAAG,CAAC,QAAiC,EAAE,EAAE,CAChE,IAAA,qBAAS,EAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,GAAG,0BAA0B,CAAC;AAEzD,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,SAAS,EAAE,eAAe,GAAG,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,CACtD,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CACjB,gCACE,SAAS,EAAE,IAAA,aAAK,EACd,sBAAsB,EACtB,mBAAmB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,WAAW,EACxD,SAAS,CACV,YAEA,QAAQ,CAAC,GAAG,CAAC,IAAA,6BAAa,EAAC,eAAe,CAAC,CAAC,GACzC,CACP,CAAC,CAAC,CAAC,IAAI,CACX,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { IconVersion } from '../../model/IconVersion';
|
|
2
|
+
import type { ComplexBenefitContent } from '../BenefitItem/BenefitItemContent';
|
|
3
|
+
/**
|
|
4
|
+
* @title Список преимуществ
|
|
5
|
+
*/
|
|
6
|
+
export interface BenefitsListContent {
|
|
7
|
+
benefitsVersion?: IconVersion;
|
|
8
|
+
/**
|
|
9
|
+
* @title Список преимуществ
|
|
10
|
+
* @minItems 2
|
|
11
|
+
* @maxItems 4
|
|
12
|
+
*/
|
|
13
|
+
benefits?: ComplexBenefitContent[];
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BenefitsListContent.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitsList/BenefitsListContent.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { IconVersion } from '../../model/IconVersion';
|
|
3
|
+
import type { ComplexBenefitContent } from '../BenefitItem/BenefitItemContent';
|
|
4
|
+
export declare const renderBenefit: (benefitsVersion?: IconVersion) => ({ type, ...benefit }: ComplexBenefitContent, i: number) => JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.renderBenefit = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const BenefitItem_1 = require("../../ui-kit/BenefitItem/BenefitItem");
|
|
5
|
+
const RichText_1 = require("../../ui-kit/RichText/RichText");
|
|
6
|
+
const renderBenefit = (benefitsVersion) => ({ type, ...benefit }, i) => {
|
|
7
|
+
if (type === 'rte' && '__html' in benefit) {
|
|
8
|
+
return (0, jsx_runtime_1.jsx)(RichText_1.RichText, { __html: benefit.__html });
|
|
9
|
+
}
|
|
10
|
+
return (0, jsx_runtime_1.jsx)(BenefitItem_1.BenefitItem, { benefitsVersion: benefitsVersion, ...benefit }, String(i));
|
|
11
|
+
};
|
|
12
|
+
exports.renderBenefit = renderBenefit;
|
|
13
|
+
//# sourceMappingURL=renderBenefit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderBenefit.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitsList/renderBenefit.tsx"],"names":[],"mappings":";;;AACA,sEAAmE;AACnE,6DAA0D;AAGnD,MAAM,aAAa,GACxB,CAAC,eAA6B,EAAE,EAAE,CAClC,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAyB,EAAE,CAAS,EAAE,EAAE;IACzD,IAAI,IAAI,KAAK,KAAK,IAAI,QAAQ,IAAI,OAAO,EAAE;QACzC,OAAO,uBAAC,mBAAQ,IAAC,MAAM,EAAE,OAAO,CAAC,MAAM,GAAI,CAAC;KAC7C;IAED,OAAO,uBAAC,yBAAW,IAAiB,eAAe,EAAE,eAAe,KAAM,OAAO,IAAxD,MAAM,CAAC,CAAC,CAAC,CAAmD,CAAC;AACxF,CAAC,CAAC;AARS,QAAA,aAAa,iBAQtB"}
|
|
@@ -13,14 +13,14 @@ exports.blockStyles = {
|
|
|
13
13
|
transparent: 'bg-transparent text-primary-text',
|
|
14
14
|
'': '',
|
|
15
15
|
};
|
|
16
|
-
exports.BlockWrapper = (0, uni_jsx_1.JSX)(({ className, version = 'primary', isTheme = true, block, tag = 'section', role, children }) => {
|
|
16
|
+
exports.BlockWrapper = (0, uni_jsx_1.JSX)(({ className, version = 'primary', isTheme = true, defaultPadding = 'p-m', padding, block, tag = 'section', role, children, }) => {
|
|
17
17
|
const Tag = tag;
|
|
18
18
|
const ref = (0, useBlockIntersectionObserver_1.useBlockIntersectionObserver)(block);
|
|
19
19
|
const [isHidden, setHidden] = (0, hooks_1.useState)(false);
|
|
20
20
|
(0, hooks_1.useEffect)(() => defaultEventBus_1.defaultEventBus.subscribe('tab', (event) => {
|
|
21
21
|
setHidden(Boolean(event.label && block?.labels?.length && !block.labels.includes(event.label)));
|
|
22
22
|
}), [block]);
|
|
23
|
-
|
|
23
|
+
const isGroup = version && isTheme;
|
|
24
|
+
return ((0, jsx_runtime_1.jsx)(Tag, { className: (0, style_1.style)('font-sans', isGroup ? 'group' : '', exports.blockStyles[version], isHidden ? 'hidden' : '', padding || defaultPadding, className), ...(isGroup ? { 'data-ver': version } : {}), ...(block?.anchor ? { id: block.anchor, ref } : {}), role: role, children: children }));
|
|
24
25
|
});
|
|
25
|
-
const groupStyle = (isGroup) => (isGroup ? 'group' : '');
|
|
26
26
|
//# sourceMappingURL=BlockWrapper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockWrapper.js","sourceRoot":"","sources":["../../src/ui-kit/BlockWrapper.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAkE;AAClE,iEAA8D;AAG9D,uGAAoG;AACpG,0CAAuC;AAO1B,QAAA,WAAW,GAAiC;IACvD,OAAO,EAAE,4BAA4B;IACrC,SAAS,EAAE,4BAA4B;IACvC,IAAI,EAAE,mCAAmC;IACzC,WAAW,EAAE,kCAAkC;IAC/C,EAAE,EAAE,EAAE;CACP,CAAC;AAEW,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,
|
|
1
|
+
{"version":3,"file":"BlockWrapper.js","sourceRoot":"","sources":["../../src/ui-kit/BlockWrapper.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAkE;AAClE,iEAA8D;AAG9D,uGAAoG;AACpG,0CAAuC;AAO1B,QAAA,WAAW,GAAiC;IACvD,OAAO,EAAE,4BAA4B;IACrC,SAAS,EAAE,4BAA4B;IACvC,IAAI,EAAE,mCAAmC;IACzC,WAAW,EAAE,kCAAkC;IAC/C,EAAE,EAAE,EAAE;CACP,CAAC;AAEW,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EACC,SAAS,EACT,OAAO,GAAG,SAAS,EACnB,OAAO,GAAG,IAAI,EACd,cAAc,GAAG,KAAK,EACtB,OAAO,EACP,KAAK,EACL,GAAG,GAAG,SAAS,EACf,IAAI,EACJ,QAAQ,GACT,EAAE,EAAE;IACH,MAAM,GAAG,GAAQ,GAAG,CAAC;IAErB,MAAM,GAAG,GAAG,IAAA,2DAA4B,EAAC,KAAK,CAAC,CAAC;IAEhD,MAAM,CAAC,QAAQ,EAAE,SAAS,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAC9C,IAAA,iBAAS,EACP,GAAG,EAAE,CACH,iCAAe,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE;QACzC,SAAS,CACP,OAAO,CAAC,KAAK,CAAC,KAAK,IAAI,KAAK,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CACrF,CAAC;IACJ,CAAC,CAAC,EACJ,CAAC,KAAK,CAAC,CACR,CAAC;IAEF,MAAM,OAAO,GAAG,OAAO,IAAI,OAAO,CAAC;IAEnC,OAAO,CACL,uBAAC,GAAG,IACF,SAAS,EAAE,IAAA,aAAK,EACd,WAAW,EACX,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EACtB,mBAAW,CAAC,OAAO,CAAC,EACpB,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EACxB,OAAO,IAAI,cAAc,EACzB,SAAS,CACV,KACG,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,KACxC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EACpD,IAAI,EAAE,IAAI,YAET,QAAQ,GACL,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -13,7 +13,7 @@ const getButtonStyle = (props) => {
|
|
|
13
13
|
if (version === 'link') {
|
|
14
14
|
return '';
|
|
15
15
|
}
|
|
16
|
-
const withTextStyle = `${aboveText ? 'py-2.5 px-
|
|
16
|
+
const withTextStyle = `${aboveText ? 'py-2.5 px-9' : 'py-4 px-9'}`;
|
|
17
17
|
return [
|
|
18
18
|
'group/btn items-center justify-center',
|
|
19
19
|
isWithText(props) ? withTextStyle : 'h-12 w-12',
|
|
@@ -4,13 +4,13 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const style_1 = require("../../utils/style");
|
|
5
5
|
const Img_1 = require("../Img/Img");
|
|
6
6
|
const Button_1 = require("./Button");
|
|
7
|
-
const renderButtonsSection = (buttons, { className
|
|
7
|
+
const renderButtonsSection = (buttons, { className, buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? ((0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('flex', isVertical ? 'flex-col gap-xs justify-items-stretch' : 'flex-wrap gap-s', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
|
|
8
8
|
exports.renderButtonsSection = renderButtonsSection;
|
|
9
9
|
const renderButton = (buttonClassName = '') => (button, index) => {
|
|
10
10
|
const { text, icon, iconRight, version, ...rest } = button || {};
|
|
11
11
|
const iconVersionDefault = version === 'secondary' ? 'color' : 'white';
|
|
12
12
|
const iconVersion = icon?.iconVersion ? icon?.iconVersion : iconVersionDefault;
|
|
13
|
-
return text || icon?.icon ? ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: buttonClassName, appendLeft: renderButtonIcon({ ...icon, iconVersion }), appendRight: renderButtonIcon({ ...iconRight, iconVersion }), version: version, text: text, ...rest }, index ? String(index) : '')) : null;
|
|
13
|
+
return text || icon?.icon ? ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: (0, style_1.style)('basis-full sm:basis-auto', buttonClassName), appendLeft: renderButtonIcon({ ...icon, iconVersion }), appendRight: renderButtonIcon({ ...iconRight, iconVersion }), version: version, text: text, ...rest }, index ? String(index) : '')) : null;
|
|
14
14
|
};
|
|
15
15
|
const DEFAULT_ICON_W = 24;
|
|
16
16
|
const renderButtonIcon = (icon) => icon?.icon || icon?.src ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, width: String(icon?.size?.width || DEFAULT_ICON_W), height: String(DEFAULT_ICON_W) })) : null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderButtonsSection.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/renderButtonsSection.tsx"],"names":[],"mappings":";;;AACA,6CAA0C;AAC1C,oCAAiC;AACjC,qCAAkC;AAS3B,MAAM,oBAAoB,GAAG,CAClC,OAA6C,EAC7C,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"renderButtonsSection.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/renderButtonsSection.tsx"],"names":[],"mappings":";;;AACA,6CAA0C;AAC1C,oCAAiC;AACjC,qCAAkC;AAS3B,MAAM,oBAAoB,GAAG,CAClC,OAA6C,EAC7C,EAAE,SAAS,EAAE,eAAe,EAAE,UAAU,KAA4B,EAAE,EACtE,EAAE,CACF,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CACjE,gCACE,SAAS,EAAE,IAAA,aAAK,EACd,MAAM,EACN,UAAU,CAAC,CAAC,CAAC,uCAAuC,CAAC,CAAC,CAAC,iBAAiB,EACxE,SAAS,CACV,YAEA,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC,GACvC,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AAdE,QAAA,oBAAoB,wBActB;AAEX,MAAM,YAAY,GAChB,CAAC,eAAe,GAAG,EAAE,EAAE,EAAE,CACzB,CAAC,MAA4B,EAAE,KAAc,EAAE,EAAE;IAC/C,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;IACjE,MAAM,kBAAkB,GAAG,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;IACvE,MAAM,WAAW,GAAG,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,kBAAkB,CAAC;IAE/E,OAAO,IAAI,IAAI,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAC1B,uBAAC,eAAM,IAEL,SAAS,EAAE,IAAA,aAAK,EAAC,0BAA0B,EAAE,eAAe,CAAC,EAC7D,UAAU,EAAE,gBAAgB,CAAC,EAAE,GAAG,IAAI,EAAE,WAAW,EAAE,CAAC,EACtD,WAAW,EAAE,gBAAgB,CAAC,EAAE,GAAG,SAAS,EAAE,WAAW,EAAE,CAAC,EAC5D,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,IAAI,KACN,IAAI,IANH,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAO/B,CACH,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAEJ,MAAM,cAAc,GAAG,EAAE,CAAC;AAE1B,MAAM,gBAAgB,GAAG,CAAC,IAAa,EAAE,EAAE,CACzC,IAAI,EAAE,IAAI,IAAI,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CACxB,uBAAC,SAAG,IACF,KAAK,EAAE,IAAI,EACX,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,IAAI,cAAc,CAAC,EAClD,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC,GAC9B,CACH,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -2,6 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.Heading = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const style_1 = require("../../utils/style");
|
|
5
6
|
const headingTag_1 = require("./headingTag");
|
|
6
7
|
const styles = {
|
|
7
8
|
h0: 'text-h0',
|
|
@@ -14,6 +15,6 @@ const styles = {
|
|
|
14
15
|
};
|
|
15
16
|
exports.Heading = (0, uni_jsx_1.JSX)(({ className = '', headingType = 'h3', as = 'h3', title, children }) => {
|
|
16
17
|
const Tag = (0, headingTag_1.headingTag)(as);
|
|
17
|
-
return ((0, jsx_runtime_1.jsx)(Tag, { className:
|
|
18
|
+
return ((0, jsx_runtime_1.jsx)(Tag, { className: (0, style_1.style)('font-sans m-0', styles[headingType], className), children: title || children }));
|
|
18
19
|
});
|
|
19
20
|
//# sourceMappingURL=Heading.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Heading.js","sourceRoot":"","sources":["../../../src/ui-kit/Heading/Heading.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"Heading.js","sourceRoot":"","sources":["../../../src/ui-kit/Heading/Heading.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,6CAA0C;AAE1C,6CAA0C;AAE1C,MAAM,MAAM,GAAgC;IAC1C,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS,EAAE,KAAK;CACrB,CAAC;AAEW,QAAA,OAAO,GAAG,IAAA,aAAG,EACxB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,WAAW,GAAG,IAAI,EAAE,EAAE,GAAG,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrE,MAAM,GAAG,GAAG,IAAA,uBAAU,EAAC,EAAE,CAAC,CAAC;IAE3B,OAAO,CACL,uBAAC,GAAG,IAAC,SAAS,EAAE,IAAA,aAAK,EAAC,eAAe,EAAE,MAAM,CAAC,WAAW,CAAC,EAAE,SAAS,CAAC,YACnE,KAAK,IAAI,QAAQ,GACd,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import type { IconName } from '../../icons/IconName';
|
|
2
2
|
import type { IconVersion } from '../../model/IconVersion';
|
|
3
3
|
export type { IconName };
|
|
4
|
+
/**
|
|
5
|
+
* @title Цвет фона иконки
|
|
6
|
+
* @enumNames [
|
|
7
|
+
* "Основной",
|
|
8
|
+
* "Второстепенный",
|
|
9
|
+
* "Второстепенный светлый"
|
|
10
|
+
* ]
|
|
11
|
+
*/
|
|
4
12
|
export declare type IconBgVersion = 'primary' | 'secondary' | 'secondary-light';
|
|
5
13
|
export interface IconCompatibilityFields {
|
|
6
14
|
/** @title Альтернативный текст (alt) */
|
|
@@ -18,6 +26,3 @@ export declare type IconProps = IconCompatibilityFields & {
|
|
|
18
26
|
name?: IconName;
|
|
19
27
|
iconVersion?: IconVersion;
|
|
20
28
|
};
|
|
21
|
-
export interface RoundedIconProps extends IconProps {
|
|
22
|
-
iconBgVersion?: IconBgVersion;
|
|
23
|
-
}
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Picture } from '../../model/Picture';
|
|
2
|
+
import type { IconBgVersion } from './IconProps';
|
|
3
|
+
export interface RoundedIconProps extends Picture {
|
|
4
|
+
iconBgVersion?: IconBgVersion;
|
|
5
|
+
}
|
|
2
6
|
export declare const RoundedIcon: import("@redneckz/uni-jsx").UNIComponent<RoundedIconProps, any, any>;
|
|
@@ -2,12 +2,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.RoundedIcon = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const Icon_1 = require("./Icon");
|
|
6
5
|
const style_1 = require("../../utils/style");
|
|
6
|
+
const Icon_1 = require("./Icon");
|
|
7
7
|
const iconBgStyles = {
|
|
8
8
|
primary: 'bg-main-divider',
|
|
9
9
|
secondary: 'bg-white/30',
|
|
10
10
|
'secondary-light': 'bg-secondary-light',
|
|
11
11
|
};
|
|
12
|
-
exports.RoundedIcon = (0, uni_jsx_1.JSX)(({ iconBgVersion = 'primary',
|
|
12
|
+
exports.RoundedIcon = (0, uni_jsx_1.JSX)(({ iconBgVersion = 'primary', size, icon, ...rest }) => {
|
|
13
|
+
const width = String(size?.width || 24);
|
|
14
|
+
const height = String(size?.height || 24);
|
|
15
|
+
return icon ? ((0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('rounded-icon p-2.5', iconBgStyles[iconBgVersion]), children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { ...rest, width: width, height: height, name: icon }) })) : null;
|
|
16
|
+
});
|
|
13
17
|
//# sourceMappingURL=RoundedIcon.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoundedIcon.js","sourceRoot":"","sources":["../../../src/ui-kit/Icon/RoundedIcon.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"RoundedIcon.js","sourceRoot":"","sources":["../../../src/ui-kit/Icon/RoundedIcon.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6CAA0C;AAC1C,iCAA8B;AAO9B,MAAM,YAAY,GAAkC;IAClD,OAAO,EAAE,iBAAiB;IAC1B,SAAS,EAAE,aAAa;IACxB,iBAAiB,EAAE,oBAAoB;CACxC,CAAC;AAEW,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EAAE,aAAa,GAAG,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACrD,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC;IACxC,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,EAAE,MAAM,IAAI,EAAE,CAAC,CAAC;IAE1C,OAAO,IAAI,CAAC,CAAC,CAAC,CACZ,gCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,oBAAoB,EAAE,YAAY,CAAC,aAAa,CAAC,CAAC,YACtE,uBAAC,WAAI,OAAK,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,GAAI,GACxD,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CACF,CAAC"}
|
package/dist/ui-kit/Img/Img.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { ImageProps } from './ImgProps';
|
|
2
|
+
export declare const Img: import("@redneckz/uni-jsx").UNIComponent<ImageProps, any, any>;
|
package/dist/ui-kit/Img/Img.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.Img = void 0;
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const Icon_1 = require("../Icon/Icon");
|
|
6
|
+
const ImgAsPicture_1 = require("./ImgAsPicture");
|
|
7
|
+
exports.Img = (0, uni_jsx_1.JSX)(({ className = '', image, imageClassName = '', pathPrefix, ...iconProps }) => {
|
|
8
|
+
if (!image?.src && !image?.icon) {
|
|
9
|
+
return null;
|
|
10
|
+
}
|
|
11
|
+
return image.icon ? ((0, jsx_runtime_1.jsx)(Icon_1.Icon, { className: className, imageClassName: imageClassName, iconVersion: image?.iconVersion, name: image.icon, ...iconProps })) : ((0, jsx_runtime_1.jsx)(ImgAsPicture_1.ImgAsPicture, { className: className, imageClassName: imageClassName, image: image, pathPrefix: pathPrefix }));
|
|
12
|
+
});
|
|
5
13
|
//# sourceMappingURL=Img.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Img.js","sourceRoot":"","sources":["../../../src/ui-kit/Img/Img.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Img.js","sourceRoot":"","sources":["../../../src/ui-kit/Img/Img.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uCAAoC;AACpC,iDAA8C;AAGjC,QAAA,GAAG,GAAG,IAAA,aAAG,EACpB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,cAAc,GAAG,EAAE,EAAE,UAAU,EAAE,GAAG,SAAS,EAAE,EAAE,EAAE;IAC3E,IAAI,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,KAAK,EAAE,IAAI,EAAE;QAC/B,OAAO,IAAI,CAAC;KACb;IAED,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAClB,uBAAC,WAAI,IACH,SAAS,EAAE,SAAS,EACpB,cAAc,EAAE,cAAc,EAC9B,WAAW,EAAE,KAAK,EAAE,WAAW,EAC/B,IAAI,EAAE,KAAK,CAAC,IAAI,KACZ,SAAS,GACb,CACH,CAAC,CAAC,CAAC,CACF,uBAAC,2BAAY,IACX,SAAS,EAAE,SAAS,EACpB,cAAc,EAAE,cAAc,EAC9B,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,UAAU,GACtB,CACH,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -4,30 +4,24 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const useRouter_1 = require("../../hooks/useRouter");
|
|
6
6
|
const adjustHref_1 = require("../../utils/adjustHref");
|
|
7
|
+
const style_1 = require("../../utils/style");
|
|
7
8
|
const url_1 = require("../../utils/url");
|
|
8
9
|
const sourcesComparator = (a, b) => a?.media && b?.media ? a.media - b.media : 0;
|
|
9
|
-
exports.ImgAsPicture = (0, uni_jsx_1.JSX)(({ className = '', image, imageClassName = '',
|
|
10
|
+
exports.ImgAsPicture = (0, uni_jsx_1.JSX)(({ className = '', image, imageClassName = '', pathPrefix }) => {
|
|
10
11
|
const router = (0, useRouter_1.useRouter)();
|
|
11
|
-
|
|
12
|
-
return ((0, jsx_runtime_1.jsxs)("picture", { className: `${pictureStyles} ${className}`, children: [image?.sources?.length
|
|
12
|
+
return ((0, jsx_runtime_1.jsxs)("picture", { className: className, children: [image?.sources?.length
|
|
13
13
|
? image.sources
|
|
14
14
|
.filter((_) => _?.src)
|
|
15
15
|
.sort(sourcesComparator)
|
|
16
16
|
.map(({ src, format, media }, index) => ((0, jsx_runtime_1.jsx)("source", { srcSet: adjustSrc(router, pathPrefix)(src), type: formatToMimeType(format), media: media ? `(max-width: ${media}px)` : '', ...image.size }, `${index}_${src}`)))
|
|
17
17
|
: null, image?.src
|
|
18
|
-
? renderImg({ ...image, src: adjustSrc(router, pathPrefix)(image.src) }, imageClassName
|
|
18
|
+
? renderImg({ ...image, src: adjustSrc(router, pathPrefix)(image.src) }, imageClassName)
|
|
19
19
|
: null] }));
|
|
20
20
|
});
|
|
21
|
-
const renderImg = (image, imageClassName = '',
|
|
22
|
-
const style = {
|
|
21
|
+
const renderImg = (image, imageClassName = '') => ((0, jsx_runtime_1.jsx)("img", { src: image.src, className: (0, style_1.style)('object-contain', imageClassName), alt: image.alt || image.title, title: image.title || '', style: {
|
|
23
22
|
width: image.size?.width ? `${image.size?.width}px` : '100%',
|
|
24
23
|
height: image.size?.height ? `${image.size?.height}px` : 'auto',
|
|
25
|
-
};
|
|
26
|
-
const title = image.title || '';
|
|
27
|
-
const alt = image.alt || image.title;
|
|
28
|
-
const imgStyle = isMobile ? 'm-auto' : 'm-0';
|
|
29
|
-
return ((0, jsx_runtime_1.jsx)("img", { src: image.src, className: `${imgStyle} ${imageClassName}`, alt: alt, title: title, style: style, ...image.size }));
|
|
30
|
-
};
|
|
24
|
+
}, ...image.size }));
|
|
31
25
|
const adjustSrc = (router, pathPrefix) => (src) => src && !(0, url_1.isURL)(src) ? (0, adjustHref_1.adjustHref)(router)((0, url_1.joinPath)(pathPrefix, src)) : src;
|
|
32
26
|
const formatToMimeType = (format) => format ? `image/${String(format)}` : undefined;
|
|
33
27
|
//# sourceMappingURL=ImgAsPicture.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImgAsPicture.js","sourceRoot":"","sources":["../../../src/ui-kit/Img/ImgAsPicture.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAA0D;AAE1D,uDAAoD;AACpD,yCAAkD;AAGlD,MAAM,iBAAiB,GAAG,CAAC,CAAU,EAAE,CAAU,EAAE,EAAE,CACnD,CAAC,EAAE,KAAK,IAAI,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AAElC,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,cAAc,GAAG,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"ImgAsPicture.js","sourceRoot":"","sources":["../../../src/ui-kit/Img/ImgAsPicture.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAA0D;AAE1D,uDAAoD;AACpD,6CAA0C;AAC1C,yCAAkD;AAGlD,MAAM,iBAAiB,GAAG,CAAC,CAAU,EAAE,CAAU,EAAE,EAAE,CACnD,CAAC,EAAE,KAAK,IAAI,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AAElC,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,cAAc,GAAG,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE;IAC7D,MAAM,MAAM,GAAG,IAAA,qBAAS,GAAE,CAAC;IAE3B,OAAO,CACL,qCAAS,SAAS,EAAE,SAAS,aAC1B,KAAK,EAAE,OAAO,EAAE,MAAM;gBACrB,CAAC,CAAC,KAAK,CAAC,OAAO;qBACV,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,CAAC;qBACrB,IAAI,CAAC,iBAAiB,CAAC;qBACvB,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,CAAC,CACtC,mCAEE,MAAM,EAAE,SAAS,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,GAAG,CAAC,EAC1C,IAAI,EAAE,gBAAgB,CAAC,MAAM,CAAC,EAC9B,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,eAAe,KAAK,KAAK,CAAC,CAAC,CAAC,EAAE,KACzC,KAAK,CAAC,IAAI,IAJT,GAAG,KAAK,IAAI,GAAG,EAAE,CAKtB,CACH,CAAC;gBACN,CAAC,CAAC,IAAI,EACP,KAAK,EAAE,GAAG;gBACT,CAAC,CAAC,SAAS,CAAC,EAAE,GAAG,KAAK,EAAE,GAAG,EAAE,SAAS,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,EAAE,cAAc,CAAC;gBACxF,CAAC,CAAC,IAAI,IACA,CACX,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,SAAS,GAAG,CAAC,KAAc,EAAE,cAAc,GAAG,EAAE,EAAE,EAAE,CAAC,CACzD,gCACE,GAAG,EAAE,KAAK,CAAC,GAAG,EACd,SAAS,EAAE,IAAA,aAAK,EAAC,gBAAgB,EAAE,cAAc,CAAC,EAClD,GAAG,EAAE,KAAK,CAAC,GAAG,IAAI,KAAK,CAAC,KAAK,EAC7B,KAAK,EAAE,KAAK,CAAC,KAAK,IAAI,EAAE,EACxB,KAAK,EAAE;QACL,KAAK,EAAE,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,IAAI,EAAE,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM;QAC5D,MAAM,EAAE,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,IAAI,EAAE,MAAM,IAAI,CAAC,CAAC,CAAC,MAAM;KAChE,KACG,KAAK,CAAC,IAAI,GACd,CACH,CAAC;AAEF,MAAM,SAAS,GAAG,CAAC,MAAc,EAAE,UAAmB,EAAE,EAAE,CAAC,CAAC,GAAuB,EAAE,EAAE,CACrF,GAAG,IAAI,CAAC,IAAA,WAAK,EAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAA,uBAAU,EAAC,MAAM,CAAC,CAAC,IAAA,cAAQ,EAAC,UAAU,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;AAE3E,MAAM,gBAAgB,GAAG,CAAC,MAA2B,EAAE,EAAE,CACvD,MAAM,CAAC,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"List.js","sourceRoot":"","sources":["../../../src/ui-kit/List/List.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,6CAA0C;
|
|
1
|
+
{"version":3,"file":"List.js","sourceRoot":"","sources":["../../../src/ui-kit/List/List.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,6CAA0C;AAE1C,yCAAsC;AAGtC,MAAM,aAAa,GAAiC;IAClD,CAAC,EAAE,cAAc;IACjB,CAAC,EAAE,SAAS;IACZ,CAAC,EAAE,SAAS;CACb,CAAC;AAEF,MAAM,eAAe,GAAiC;IACpD,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;CACV,CAAC;AAEW,QAAA,IAAI,GAAG,IAAA,aAAG,EACrB,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,GAAG,GAAG,EAAE,EAAE,EAAE,CAChE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACd,oCACE,SAAS,EAAE,IAAA,aAAK,EACd,qHAAqH,EACrH,aAAa,CAAC,YAAY,CAAC,EAC3B,SAAS,CAAC,CAAC,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,EAC9C,SAAS,CACV,EACD,IAAI,EAAC,MAAM,YAEV,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,uBAAC,mBAAQ,IAAiB,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,YAC7D,IAAI,IADQ,MAAM,CAAC,CAAC,CAAC,CAEb,CACZ,CAAC,GACM,CACX,CAAC,CAAC,CAAC,IAAI,CACX,CAAC"}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import type { BulletsProps } from '../../model/Bullets';
|
|
2
2
|
import type { ListContent } from './ListContent';
|
|
3
|
-
/**
|
|
4
|
-
* @title Размер пунктов списка
|
|
5
|
-
* @enumNames ["Маленький", "Средний", "Большой"]
|
|
6
|
-
*/
|
|
7
|
-
export declare type ListItemSize = 'S' | 'M' | 'L';
|
|
8
3
|
/**
|
|
9
4
|
* @title Содержимое списка
|
|
10
5
|
*/
|
|
@@ -13,5 +8,4 @@ export declare type ListProps = ListContent & BulletsProps & {
|
|
|
13
8
|
className?: string;
|
|
14
9
|
/** @title Отступ */
|
|
15
10
|
hasIndent?: boolean;
|
|
16
|
-
listItemSize?: ListItemSize;
|
|
17
11
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SwipeListContainerContent } from './SwipeListControlContent';
|
|
2
2
|
declare type ItemsVisibilityList = Array<IntersectionObserverEntry | undefined>;
|
|
3
3
|
declare type SwipeListItemWidthAuto = 0;
|
|
4
4
|
/**
|
|
5
5
|
* @title Список
|
|
6
6
|
*/
|
|
7
|
-
interface SwipeListContainerProps extends
|
|
7
|
+
interface SwipeListContainerProps extends SwipeListContainerContent {
|
|
8
8
|
className?: string;
|
|
9
9
|
containerRef?: {
|
|
10
10
|
current: HTMLDivElement | null;
|
|
@@ -12,6 +12,8 @@ interface SwipeListContainerProps extends SwipeContainerProps {
|
|
|
12
12
|
activeIndex?: number;
|
|
13
13
|
visibleItemCount?: SwipeListItemWidthAuto | 1 | 2 | 3 | 4;
|
|
14
14
|
snapAlign?: 'snap-start' | 'snap-center' | 'snap-end';
|
|
15
|
+
gap?: number;
|
|
16
|
+
padding?: number;
|
|
15
17
|
onVisibleItemsChange?: (itemsVisibilityList: ItemsVisibilityList) => void;
|
|
16
18
|
onVisibleIndicesChange?: (indices: number[]) => void;
|
|
17
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwipeListContainer.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListContainer.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAkE;AAElE,yDAAsD;AACtD,6CAA0C;AAC1C,6DAA0D;AAE1D,mDAAgD;
|
|
1
|
+
{"version":3,"file":"SwipeListContainer.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListContainer.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAkE;AAElE,yDAAsD;AACtD,6CAA0C;AAC1C,6DAA0D;AAE1D,mDAAgD;AAqBhD,MAAM,aAAa,GAAG,CAAC,cAAc,EAAE,aAAa,EAAE,gBAAgB,EAAE,aAAa,CAAC,CAAC;AAE1E,QAAA,kBAAkB,GAAG,IAAA,aAAG,EACnC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,YAAY,EACZ,WAAW,EACX,gBAAgB,GAAG,CAAC,EACpB,GAAG,GAAG,CAAC,EACP,OAAO,GAAG,CAAC,EACX,QAAQ,GAAG,iBAAiB,EAC5B,SAAS,GAAG,aAAa,EACzB,SAAS,EACT,QAAQ,EACR,oBAAoB,EACpB,sBAAsB,GACvB,EAAE,EAAE;IACH,MAAM,eAAe,GAAgC;QACnD,WAAW,EAAE,CAAC;QACd,OAAO,EAAE,YAAY;KACtB,CAAC;IAEF,MAAM,sBAAsB,GAAG,IAAA,cAAM,EAAsB,EAAE,CAAC,CAAC;IAC/D,MAAM,kBAAkB,GAAG,IAAA,mBAAW,EACpC,CAAC,GAAW,EAAE,KAAgC,EAAE,EAAE;QAChD,MAAM,mBAAmB,GAAG,CAAC,GAAG,CAAC,sBAAsB,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAC;QACxE,mBAAmB,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;QACjC,sBAAsB,CAAC,OAAO,GAAG,mBAAmB,CAAC;QAErD,oBAAoB,IAAI,oBAAoB,CAAC,mBAAmB,CAAC,CAAC;QAClE,sBAAsB,IAAI,sBAAsB,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,CAAC,CAAC;IAC3F,CAAC,EACD,CAAC,oBAAoB,EAAE,sBAAsB,CAAC,CAC/C,CAAC;IAEF,MAAM,eAAe,GAAG,gBAAgB,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,MAAM,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAEtF,MAAM,cAAc,GAAG,QAAQ,KAAK,eAAe,CAAC;IACpD,MAAM,gBAAgB,GAAG,QAAQ,KAAK,iBAAiB,CAAC;IACxD,MAAM,cAAc,GAAG;QACrB,GAAG,CAAC,gBAAgB,CAAC,CAAC,CAAC,kBAAkB,CAAC,OAAO,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACzE,GAAG,CAAC,cAAc,CAAC,CAAC,CAAC,IAAA,uCAAkB,EAAC,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACxD,GAAG,EAAE,GAAG,GAAG,IAAI;KAChB,CAAC;IAEF,OAAO,CACL,gCACE,SAAS,EAAE,IAAA,aAAK,EAAC,uCAAuC,EAAE,QAAQ,EAAE,SAAS,CAAC,EAC9E,KAAK,EAAE,cAAc,EACrB,GAAG,EAAE,YAAY,YAEhB,IAAA,yBAAW,EAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC,CAC3B,uBAAC,6BAAa,IAEZ,SAAS,EAAE,IAAA,aAAK,EACd,SAAS,EACT,gBAAgB,CAAC,CAAC,CAAC,aAAa,CAAC,gBAAgB,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAC3D,cAAc,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAC/B,EACD,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,kBAAkB,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAC9D,WAAW,EAAE,WAAW,EACxB,GAAG,EAAE,GAAG,EACR,eAAe,EAAE,eAAe,EAChC,cAAc,EAAE,kBAAkB,YAEjC,KAAK,IAZD,MAAM,CAAC,GAAG,CAAC,CAaF,CACjB,CAAC,CAAC,QAAQ,CAAC,GACR,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,kFAAkF;AAClF,MAAM,kBAAkB,GAAG,CAAC,OAAe,EAAE,iBAAiB,GAAG,CAAC,EAA0B,EAAE,CAAC,CAAC;IAC9F,UAAU,EAAE,GAAG,CAAC,OAAO,IAAI;IAC3B,WAAW,EAAE,GAAG,CAAC,OAAO,IAAI;IAC5B,WAAW,EAAE,GAAG,OAAO,IAAI;IAC3B,YAAY,EAAE,GAAG,OAAO,GAAG,iBAAiB,IAAI;CACjD,CAAC,CAAC;AAEH,MAAM,iBAAiB,GAAG,CAAC,mBAAwC,EAAE,EAAE,CACrE,mBAAmB;KAChB,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAmD,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;KACtE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,iBAAiB,IAAI,GAAG,CAAC;KAChD,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
+
import type { SwipeListControlContent } from './SwipeListControlContent';
|
|
3
|
+
interface SwipeListControlProps extends SwipeListControlContent {
|
|
4
|
+
className?: string;
|
|
5
|
+
version?: BlockVersion;
|
|
6
|
+
gap?: number;
|
|
7
|
+
padding?: number;
|
|
8
|
+
onVisibleIndicesChange?: (indices: number[]) => void;
|
|
9
|
+
}
|
|
2
10
|
export declare const SwipeListControl: import("@redneckz/uni-jsx").UNIComponent<SwipeListControlProps, any, any>;
|
|
11
|
+
export {};
|
|
@@ -13,7 +13,7 @@ const DEFAULT_GAP = 14;
|
|
|
13
13
|
and get rid of a clipping effect caused by overflow: hidden.
|
|
14
14
|
*/
|
|
15
15
|
const DEFAULT_PADDING = 16;
|
|
16
|
-
exports.SwipeListControl = (0, uni_jsx_1.JSX)(({ className
|
|
16
|
+
exports.SwipeListControl = (0, uni_jsx_1.JSX)(({ className, version, gap = DEFAULT_GAP, padding = DEFAULT_PADDING, showDots = true, minHeight, children, onVisibleIndicesChange, listType = 'horizontal-list', }) => {
|
|
17
17
|
const itemCount = Array.isArray(children) ? children.length : 0;
|
|
18
18
|
const [containerRef, scroll] = (0, useSwipeListScroll_1.useSwipeListScroll)({
|
|
19
19
|
itemCount,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwipeListControl.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControl.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"SwipeListControl.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControl.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6CAA0C;AAC1C,6DAA0D;AAE1D,iEAA8D;AAC9D,6DAA0D;AAE1D,MAAM,WAAW,GAAG,EAAE,CAAC;AAEvB;;;;GAIG;AACH,MAAM,eAAe,GAAG,EAAE,CAAC;AAUd,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,EACC,SAAS,EACT,OAAO,EACP,GAAG,GAAG,WAAW,EACjB,OAAO,GAAG,eAAe,EACzB,QAAQ,GAAG,IAAI,EACf,SAAS,EACT,QAAQ,EACR,sBAAsB,EACtB,QAAQ,GAAG,iBAAiB,GAC7B,EAAE,EAAE;IACH,MAAM,SAAS,GAAG,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IAEhE,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,GAAG,IAAA,uCAAkB,EAAiB;QAChE,SAAS;QACT,sBAAsB;KACvB,CAAC,CAAC;IACH,MAAM,CAAC,WAAW,CAAC,GAAG,MAAM,CAAC,mBAAmB,CAAC;IAEjD,OAAO,CACL,iCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,SAAS,EAAE,QAAQ,KAAK,eAAe,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,CAAC,aACrF,uBAAC,uCAAkB,IACjB,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,WAAW,EACxB,gBAAgB,EAAE,CAAC,EACnB,GAAG,EAAE,GAAG,EACR,OAAO,EAAE,OAAO,EAChB,sBAAsB,EAAE,MAAM,CAAC,0BAA0B,EACzD,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,YAEnB,QAAQ,GACU,EACpB,QAAQ,CAAC,CAAC,CAAC,CACV,uBAAC,2CAAoB,IACnB,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,GAChB,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @title Вид
|
|
3
|
+
* @enumNames ["Горизонтальный", "Вертикальный"]
|
|
4
|
+
*/
|
|
5
|
+
export declare type SwipeListControlType = 'horizontal-list' | 'vertical-list';
|
|
6
|
+
/**
|
|
7
|
+
* @title Минимальная высота
|
|
8
|
+
* @enumNames ['Стандартная', 'Маленькая']
|
|
9
|
+
*/
|
|
10
|
+
export declare type ContainerMinHeight = 866 | 720;
|
|
11
|
+
export interface SwipeListContainerContent {
|
|
12
|
+
listType?: SwipeListControlType;
|
|
13
|
+
minHeight?: ContainerMinHeight;
|
|
14
|
+
}
|
|
3
15
|
/**
|
|
4
16
|
* @title Swipe-контроллер
|
|
5
17
|
*/
|
|
6
|
-
export
|
|
18
|
+
export interface SwipeListControlContent extends SwipeListContainerContent {
|
|
7
19
|
/** @title Точки-индикаторы */
|
|
8
20
|
showDots?: boolean;
|
|
9
|
-
}
|
|
21
|
+
}
|