@redneckz/wildless-cms-uni-blocks 0.8.21 → 0.8.23
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.8.23.js +31 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +38 -73
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
- package/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
- package/bundle/components/Bonus/BonusContent.d.ts +4 -4
- package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -1
- package/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
- package/bundle/components/CardTransfer/CardTransferContent.d.ts +2 -1
- package/bundle/components/Carousel/CarouselContent.d.ts +3 -2
- package/bundle/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
- package/bundle/components/CarouselCard/CarouselCardContent.d.ts +4 -3
- package/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
- package/bundle/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
- package/bundle/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
- package/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
- package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
- package/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
- package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
- package/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
- package/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
- package/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
- package/bundle/components/ComparisonTable/HeaderCell.mobile.d.ts +5 -6
- package/bundle/components/ComparisonTable/TableRow.d.ts +3 -2
- package/bundle/components/ContactsBlock/ContactsBlock.d.ts +1 -1
- package/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
- package/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
- package/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
- package/bundle/components/GracePeriod/GracePeriodContent.d.ts +2 -1
- package/bundle/components/Header/HeaderContent.d.ts +3 -4
- package/bundle/components/Headline/HeadlineContent.d.ts +3 -4
- package/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
- package/bundle/components/ImgBlock/ImgBlockContent.d.ts +3 -2
- package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
- package/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
- package/bundle/components/LikeControl/LikeControl.d.ts +2 -1
- package/bundle/components/LinkDocs/LinkDocsContent.d.ts +2 -1
- package/bundle/components/LinkList/LinkListContent.d.ts +3 -2
- package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
- package/bundle/components/OfficeMap/OfficeMapContent.d.ts +11 -10
- package/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
- package/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
- package/bundle/components/PictureText/PictureTextContent.d.ts +3 -4
- package/bundle/components/PictureText/renderBenefit.d.ts +1 -1
- package/bundle/components/Placeholder/PlaceholderContent.d.ts +2 -1
- package/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -4
- package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
- package/bundle/components/ProductTile/ProductTileContent.d.ts +3 -6
- package/bundle/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/bundle/components/Recommendation/RecommendationContent.d.ts +3 -4
- package/bundle/components/RollupItem/RollupItem.d.ts +4 -2
- package/bundle/components/RollupItem/RollupItemContent.d.ts +2 -3
- package/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
- package/bundle/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/bundle/components/StepsBlock/StepsBlockContent.d.ts +4 -3
- package/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -2
- package/bundle/components/Tabs/TabsContent.d.ts +3 -2
- package/bundle/components/TextBlock/TextBlockContent.d.ts +4 -4
- package/bundle/components/Tile/TileContent.d.ts +2 -3
- package/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
- package/bundle/components/Video/VideoContent.d.ts +3 -2
- package/bundle/model/HeadlineType.d.ts +4 -0
- package/bundle/model/JSXBlock.d.ts +9 -2
- package/bundle/model/LogoType.d.ts +3 -5
- package/bundle/services/sitemap/SitemapProps.d.ts +2 -4
- package/bundle/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
- package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
- package/bundle/ui-kit/Text/TextProps.d.ts +1 -1
- package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
- package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
- package/dist/components/Bonus/BonusContent.d.ts +4 -4
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -1
- package/dist/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
- package/dist/components/CardTransfer/CardTransferContent.d.ts +2 -1
- package/dist/components/Carousel/Carousel.js +1 -1
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/Carousel/CarouselContent.d.ts +3 -2
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
- package/dist/components/CarouselCard/CarouselCardContent.d.ts +4 -3
- package/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
- package/dist/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
- package/dist/components/CarouselLinks/CarouselLinks.js +3 -3
- package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/dist/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
- package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
- package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
- package/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
- package/dist/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
- package/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
- package/dist/components/ComparisonTable/HeaderCell.mobile.d.ts +5 -6
- package/dist/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
- package/dist/components/ComparisonTable/TableRow.d.ts +3 -2
- package/dist/components/ComparisonTable/TableRow.js.map +1 -1
- package/dist/components/ContactsBlock/ContactsBlock.d.ts +1 -1
- package/dist/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
- package/dist/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
- package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
- package/dist/components/GracePeriod/GracePeriodContent.d.ts +2 -1
- package/dist/components/Header/HeaderContent.d.ts +3 -4
- package/dist/components/Headline/Headline.js +2 -2
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/Headline/HeadlineContent.d.ts +3 -4
- package/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
- package/dist/components/ImgBlock/ImgBlockContent.d.ts +3 -2
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
- package/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
- package/dist/components/LikeControl/LikeControl.d.ts +2 -1
- package/dist/components/LikeControl/LikeControl.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -1
- package/dist/components/LinkList/LinkListContent.d.ts +3 -2
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
- package/dist/components/OfficeMap/OfficeMapContent.d.ts +11 -10
- package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
- package/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
- package/dist/components/PictureText/PictureTextContent.d.ts +3 -4
- package/dist/components/PictureText/renderBenefit.d.ts +1 -1
- package/dist/components/Placeholder/PlaceholderContent.d.ts +2 -1
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -4
- package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +2 -2
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
- package/dist/components/ProductTile/ProductTileContent.d.ts +3 -6
- package/dist/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/dist/components/Recommendation/RecommendationContent.d.ts +3 -4
- package/dist/components/RollupItem/RollupItem.d.ts +4 -2
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/components/RollupItem/RollupItemContent.d.ts +2 -3
- package/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
- package/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/dist/components/StepsBlock/StepsBlock.js +11 -8
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +2 -6
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlockContent.d.ts +4 -3
- package/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -2
- package/dist/components/StepsBlock/StepsBlockStyleMaps.js +7 -39
- package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
- package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
- package/dist/components/Tabs/TabsContent.d.ts +3 -2
- package/dist/components/TextBlock/TextBlock.js +5 -11
- package/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/dist/components/TextBlock/TextBlock.mobile.js +4 -25
- package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
- package/dist/components/TextBlock/TextBlockContent.d.ts +4 -4
- package/dist/components/Tile/TileContent.d.ts +2 -3
- package/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
- package/dist/components/Video/VideoContent.d.ts +3 -2
- package/dist/model/HeadlineType.d.ts +4 -0
- package/dist/model/JSXBlock.d.ts +9 -2
- package/dist/model/LogoType.d.ts +3 -5
- package/dist/services/sitemap/SitemapProps.d.ts +2 -4
- package/dist/ui-kit/BlockWrapper.js +2 -2
- package/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +4 -3
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/dist/ui-kit/Text/TextProps.d.ts +1 -1
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
- package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
- package/lib/components/Bonus/BonusContent.d.ts +4 -4
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -1
- package/lib/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
- package/lib/components/CardTransfer/CardTransferContent.d.ts +2 -1
- package/lib/components/Carousel/Carousel.js +1 -1
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/Carousel/CarouselContent.d.ts +3 -2
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
- package/lib/components/CarouselCard/CarouselCardContent.d.ts +4 -3
- package/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
- package/lib/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
- package/lib/components/CarouselLinks/CarouselLinks.js +3 -3
- package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/lib/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
- package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
- package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
- package/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
- package/lib/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
- package/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
- package/lib/components/ComparisonTable/HeaderCell.mobile.d.ts +5 -6
- package/lib/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
- package/lib/components/ComparisonTable/TableRow.d.ts +3 -2
- package/lib/components/ComparisonTable/TableRow.js.map +1 -1
- package/lib/components/ContactsBlock/ContactsBlock.d.ts +1 -1
- package/lib/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
- package/lib/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
- package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
- package/lib/components/GracePeriod/GracePeriodContent.d.ts +2 -1
- package/lib/components/Header/HeaderContent.d.ts +3 -4
- package/lib/components/Headline/Headline.js +2 -2
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/Headline/HeadlineContent.d.ts +3 -4
- package/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
- package/lib/components/ImgBlock/ImgBlockContent.d.ts +3 -2
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
- package/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
- package/lib/components/LikeControl/LikeControl.d.ts +2 -1
- package/lib/components/LikeControl/LikeControl.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -1
- package/lib/components/LinkList/LinkListContent.d.ts +3 -2
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
- package/lib/components/OfficeMap/OfficeMapContent.d.ts +11 -10
- package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
- package/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
- package/lib/components/PictureText/PictureTextContent.d.ts +3 -4
- package/lib/components/PictureText/renderBenefit.d.ts +1 -1
- package/lib/components/Placeholder/PlaceholderContent.d.ts +2 -1
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -4
- package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +2 -2
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
- package/lib/components/ProductTile/ProductTileContent.d.ts +3 -6
- package/lib/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/lib/components/Recommendation/RecommendationContent.d.ts +3 -4
- package/lib/components/RollupItem/RollupItem.d.ts +4 -2
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/components/RollupItem/RollupItemContent.d.ts +2 -3
- package/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
- package/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/lib/components/StepsBlock/StepsBlock.js +12 -9
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +3 -7
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlockContent.d.ts +4 -3
- package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -2
- package/lib/components/StepsBlock/StepsBlockStyleMaps.js +6 -38
- package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
- package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
- package/lib/components/Tabs/TabsContent.d.ts +3 -2
- package/lib/components/TextBlock/TextBlock.js +5 -11
- package/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/lib/components/TextBlock/TextBlock.mobile.js +4 -25
- package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
- package/lib/components/TextBlock/TextBlockContent.d.ts +4 -4
- package/lib/components/Tile/TileContent.d.ts +2 -3
- package/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
- package/lib/components/Video/VideoContent.d.ts +3 -2
- package/lib/model/HeadlineType.d.ts +4 -0
- package/lib/model/JSXBlock.d.ts +9 -2
- package/lib/model/LogoType.d.ts +3 -5
- package/lib/services/sitemap/SitemapProps.d.ts +2 -4
- package/lib/ui-kit/BlockWrapper.js +2 -2
- package/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +4 -3
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/lib/ui-kit/Text/TextProps.d.ts +1 -1
- package/mobile/bundle/bundle.umd.js +23 -80
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
- package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
- package/mobile/bundle/components/Bonus/BonusContent.d.ts +4 -4
- package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -1
- package/mobile/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
- package/mobile/bundle/components/CardTransfer/CardTransferContent.d.ts +2 -1
- package/mobile/bundle/components/Carousel/CarouselContent.d.ts +3 -2
- package/mobile/bundle/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
- package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +4 -3
- package/mobile/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
- package/mobile/bundle/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
- package/mobile/bundle/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
- package/mobile/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
- package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
- package/mobile/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
- package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
- package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
- package/mobile/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
- package/mobile/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
- package/mobile/bundle/components/ComparisonTable/HeaderCell.d.ts +5 -6
- package/mobile/bundle/components/ComparisonTable/TableRow.d.ts +3 -2
- package/mobile/bundle/components/ContactsBlock/ContactsBlock.d.ts +1 -1
- package/mobile/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
- package/mobile/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
- package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
- package/mobile/bundle/components/GracePeriod/GracePeriodContent.d.ts +2 -1
- package/mobile/bundle/components/Header/HeaderContent.d.ts +3 -4
- package/mobile/bundle/components/Headline/HeadlineContent.d.ts +3 -4
- package/mobile/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
- package/mobile/bundle/components/ImgBlock/ImgBlockContent.d.ts +3 -2
- package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
- package/mobile/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
- package/mobile/bundle/components/LikeControl/LikeControl.d.ts +2 -1
- package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +2 -1
- package/mobile/bundle/components/LinkList/LinkListContent.d.ts +3 -2
- package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
- package/mobile/bundle/components/OfficeMap/OfficeMapContent.d.ts +11 -10
- package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
- package/mobile/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
- package/mobile/bundle/components/PictureText/PictureTextContent.d.ts +3 -4
- package/mobile/bundle/components/PictureText/renderBenefit.d.ts +1 -1
- package/mobile/bundle/components/Placeholder/PlaceholderContent.d.ts +2 -1
- package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -4
- package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
- package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +3 -6
- package/mobile/bundle/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/mobile/bundle/components/Recommendation/RecommendationContent.d.ts +3 -4
- package/mobile/bundle/components/RollupItem/RollupItem.d.ts +4 -2
- package/mobile/bundle/components/RollupItem/RollupItemContent.d.ts +2 -3
- package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
- package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +4 -3
- package/mobile/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -2
- package/mobile/bundle/components/Tabs/TabsContent.d.ts +3 -2
- package/mobile/bundle/components/TextBlock/TextBlockContent.d.ts +4 -4
- package/mobile/bundle/components/Tile/TileContent.d.ts +2 -3
- package/mobile/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
- package/mobile/bundle/components/Video/VideoContent.d.ts +3 -2
- package/mobile/bundle/model/HeadlineType.d.ts +4 -0
- package/mobile/bundle/model/JSXBlock.d.ts +9 -2
- package/mobile/bundle/model/LogoType.d.ts +3 -5
- package/mobile/bundle/services/sitemap/SitemapProps.d.ts +2 -4
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
- package/mobile/bundle/ui-kit/Text/TextProps.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
- package/mobile/dist/components/Bonus/BonusContent.d.ts +4 -4
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -1
- package/mobile/dist/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
- package/mobile/dist/components/CardTransfer/CardTransferContent.d.ts +2 -1
- package/mobile/dist/components/Carousel/Carousel.js +1 -1
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/Carousel/CarouselContent.d.ts +3 -2
- package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
- package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +4 -3
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
- package/mobile/dist/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js +3 -3
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
- package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
- package/mobile/dist/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
- package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
- package/mobile/dist/components/ComparisonTable/HeaderCell.d.ts +5 -6
- package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/TableRow.d.ts +3 -2
- package/mobile/dist/components/ComparisonTable/TableRow.js.map +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlock.d.ts +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
- package/mobile/dist/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
- package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +2 -1
- package/mobile/dist/components/Header/HeaderContent.d.ts +3 -4
- package/mobile/dist/components/Headline/Headline.js +2 -2
- package/mobile/dist/components/Headline/Headline.js.map +1 -1
- package/mobile/dist/components/Headline/HeadlineContent.d.ts +3 -4
- package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
- package/mobile/dist/components/ImgBlock/ImgBlockContent.d.ts +3 -2
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
- package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
- package/mobile/dist/components/LikeControl/LikeControl.d.ts +2 -1
- package/mobile/dist/components/LikeControl/LikeControl.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -1
- package/mobile/dist/components/LinkList/LinkListContent.d.ts +3 -2
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
- package/mobile/dist/components/OfficeMap/OfficeMapContent.d.ts +11 -10
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
- package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
- package/mobile/dist/components/PictureText/PictureTextContent.d.ts +3 -4
- package/mobile/dist/components/PictureText/renderBenefit.d.ts +1 -1
- package/mobile/dist/components/Placeholder/PlaceholderContent.d.ts +2 -1
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -4
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGallery.js +2 -2
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
- package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +3 -6
- package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +3 -4
- package/mobile/dist/components/RollupItem/RollupItem.d.ts +4 -2
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItemContent.d.ts +2 -3
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js +2 -6
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +4 -3
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -2
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js +7 -39
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
- package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
- package/mobile/dist/components/Tabs/TabsContent.d.ts +3 -2
- package/mobile/dist/components/TextBlock/TextBlock.js +4 -25
- package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +4 -4
- package/mobile/dist/components/Tile/TileContent.d.ts +2 -3
- package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
- package/mobile/dist/components/Video/VideoContent.d.ts +3 -2
- package/mobile/dist/model/HeadlineType.d.ts +4 -0
- package/mobile/dist/model/JSXBlock.d.ts +9 -2
- package/mobile/dist/model/LogoType.d.ts +3 -5
- package/mobile/dist/services/sitemap/SitemapProps.d.ts +2 -4
- package/mobile/dist/ui-kit/BlockWrapper.js +2 -2
- package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +4 -3
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/mobile/dist/ui-kit/Text/TextProps.d.ts +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
- package/mobile/lib/components/Bonus/BonusContent.d.ts +4 -4
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -1
- package/mobile/lib/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
- package/mobile/lib/components/CardTransfer/CardTransferContent.d.ts +2 -1
- package/mobile/lib/components/Carousel/Carousel.js +1 -1
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/Carousel/CarouselContent.d.ts +3 -2
- package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
- package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +4 -3
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
- package/mobile/lib/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js +3 -3
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
- package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
- package/mobile/lib/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
- package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
- package/mobile/lib/components/ComparisonTable/HeaderCell.d.ts +5 -6
- package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/TableRow.d.ts +3 -2
- package/mobile/lib/components/ComparisonTable/TableRow.js.map +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlock.d.ts +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
- package/mobile/lib/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
- package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +2 -1
- package/mobile/lib/components/Header/HeaderContent.d.ts +3 -4
- package/mobile/lib/components/Headline/Headline.js +2 -2
- package/mobile/lib/components/Headline/Headline.js.map +1 -1
- package/mobile/lib/components/Headline/HeadlineContent.d.ts +3 -4
- package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
- package/mobile/lib/components/ImgBlock/ImgBlockContent.d.ts +3 -2
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
- package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
- package/mobile/lib/components/LikeControl/LikeControl.d.ts +2 -1
- package/mobile/lib/components/LikeControl/LikeControl.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -1
- package/mobile/lib/components/LinkList/LinkListContent.d.ts +3 -2
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
- package/mobile/lib/components/OfficeMap/OfficeMapContent.d.ts +11 -10
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
- package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
- package/mobile/lib/components/PictureText/PictureTextContent.d.ts +3 -4
- package/mobile/lib/components/PictureText/renderBenefit.d.ts +1 -1
- package/mobile/lib/components/Placeholder/PlaceholderContent.d.ts +2 -1
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -4
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGallery.js +2 -2
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
- package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +3 -6
- package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +3 -4
- package/mobile/lib/components/RollupItem/RollupItem.d.ts +4 -2
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItemContent.d.ts +2 -3
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js +3 -7
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +4 -3
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -2
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js +6 -38
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
- package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
- package/mobile/lib/components/Tabs/TabsContent.d.ts +3 -2
- package/mobile/lib/components/TextBlock/TextBlock.js +4 -25
- package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +4 -4
- package/mobile/lib/components/Tile/TileContent.d.ts +2 -3
- package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
- package/mobile/lib/components/Video/VideoContent.d.ts +3 -2
- package/mobile/lib/model/HeadlineType.d.ts +4 -0
- package/mobile/lib/model/JSXBlock.d.ts +9 -2
- package/mobile/lib/model/LogoType.d.ts +3 -5
- package/mobile/lib/services/sitemap/SitemapProps.d.ts +2 -4
- package/mobile/lib/ui-kit/BlockWrapper.js +2 -2
- package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +4 -3
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/mobile/lib/ui-kit/Text/TextProps.d.ts +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +13 -11
- package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +9 -10
- package/mobile/src/components/Bonus/BonusContent.ts +8 -7
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +11 -8
- package/mobile/src/components/BusinessBlock/BusinessBlockContent.ts +24 -24
- package/mobile/src/components/CardTransfer/CardTransferContent.ts +3 -1
- package/mobile/src/components/Carousel/Carousel.tsx +8 -1
- package/mobile/src/components/Carousel/CarouselContent.ts +4 -2
- package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
- package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.ts +4 -6
- package/mobile/src/components/CarouselCard/CarouselCardContent.ts +14 -12
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +3 -3
- package/mobile/src/components/CarouselEventCard/CarouselEventCardContent.ts +6 -5
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCardContent.ts +27 -28
- package/mobile/src/components/CarouselLinks/CarouselLinks.example.json +2 -1
- package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +1 -11
- package/mobile/src/components/CarouselLinks/CarouselLinksContent.ts +8 -7
- package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +35 -36
- package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +8 -8
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +30 -29
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +12 -10
- package/mobile/src/components/Catalog/Catalog.ui.json +1 -0
- package/mobile/src/components/ComparisonTable/ComparisonTableBody.tsx +3 -2
- package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +15 -21
- package/mobile/src/components/ComparisonTable/HeaderCell.tsx +10 -9
- package/mobile/src/components/ComparisonTable/TableRow.tsx +3 -2
- package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
- package/mobile/src/components/ContactsBlock/ContactsBlockContent.ts +9 -11
- package/mobile/src/components/ErrorBlock/ErrorBlockContent.ts +10 -8
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +6 -4
- package/mobile/src/components/Gallery/Gallery.ui.json +1 -0
- package/mobile/src/components/GracePeriod/GracePeriodContent.ts +6 -4
- package/mobile/src/components/Header/HeaderContent.ts +3 -4
- package/mobile/src/components/Headline/Headline.tsx +5 -3
- package/mobile/src/components/Headline/HeadlineContent.ts +9 -8
- package/mobile/src/components/HorizontalLayout/HorizontalLayoutContent.ts +4 -2
- package/mobile/src/components/ImgBlock/ImgBlockContent.ts +3 -2
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +9 -7
- package/mobile/src/components/InvestmentInfo/InvestmentInfoContent.ts +12 -11
- package/mobile/src/components/LikeControl/LikeControl.tsx +2 -1
- package/mobile/src/components/LinkDocs/LinkDocsContent.ts +27 -25
- package/mobile/src/components/LinkList/LinkListContent.ts +3 -2
- package/mobile/src/components/MiniGallery/MiniGallery.ui.json +1 -0
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +3 -3
- package/mobile/src/components/OfficeMap/OfficeMapContent.ts +12 -11
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +7 -5
- package/mobile/src/components/ParagraphBlock/ParagraphBlockContent.ts +3 -2
- package/mobile/src/components/PictureText/PictureTextContent.ts +29 -28
- package/mobile/src/components/PictureText/renderBenefit.tsx +1 -1
- package/mobile/src/components/Placeholder/PlaceholderContent.ts +2 -1
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +8 -8
- package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +2 -3
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +3 -4
- package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +3 -4
- package/mobile/src/components/ProductTile/ProductTileContent.ts +10 -6
- package/mobile/src/components/PromoTile/PromoTileContent.ts +3 -3
- package/mobile/src/components/Recommendation/RecommendationContent.ts +6 -6
- package/mobile/src/components/RollupItem/RollupItem.tsx +5 -3
- package/mobile/src/components/RollupItem/RollupItemContent.ts +8 -8
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalContent.ts +2 -1
- package/mobile/src/components/StepsBlock/StepsBlock.example.json +3 -1
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +23 -27
- package/mobile/src/components/StepsBlock/StepsBlockContent.ts +4 -3
- package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +6 -40
- package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +3 -3
- package/mobile/src/components/Tabs/TabsContent.ts +3 -2
- package/mobile/src/components/TextBlock/TextBlock.tsx +11 -45
- package/mobile/src/components/TextBlock/TextBlockContent.ts +4 -4
- package/mobile/src/components/Tile/TileContent.ts +3 -3
- package/mobile/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -4
- package/mobile/src/components/Video/VideoContent.ts +18 -16
- package/mobile/src/model/HeadlineType.ts +5 -0
- package/mobile/src/model/JSXBlock.ts +10 -2
- package/mobile/src/model/LogoType.ts +3 -5
- package/mobile/src/services/sitemap/SitemapProps.ts +2 -4
- package/mobile/src/ui-kit/BlockWrapper.tsx +16 -3
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -0
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlContent.ts +6 -6
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +9 -3
- package/mobile/src/ui-kit/Text/TextProps.ts +1 -1
- package/package.json +1 -1
- package/src/components/ApplicationForm/ApplicationFormContent.ts +13 -11
- package/src/components/BenefitsBlock/BenefitsBlockContent.ts +9 -10
- package/src/components/Bonus/BonusContent.ts +8 -7
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +11 -8
- package/src/components/BusinessBlock/BusinessBlockContent.ts +24 -24
- package/src/components/CardTransfer/CardTransferContent.ts +3 -1
- package/src/components/Carousel/Carousel.tsx +8 -1
- package/src/components/Carousel/CarouselContent.ts +4 -2
- package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
- package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.ts +4 -6
- package/src/components/CarouselCard/CarouselCardContent.ts +14 -12
- package/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +3 -3
- package/src/components/CarouselEventCard/CarouselEventCardContent.ts +6 -5
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCardContent.ts +27 -28
- package/src/components/CarouselLinks/CarouselLinks.example.json +2 -1
- package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +1 -0
- package/src/components/CarouselLinks/CarouselLinks.tsx +1 -11
- package/src/components/CarouselLinks/CarouselLinksContent.ts +8 -7
- package/src/components/CarouselProductCard/CarouselProductCardContent.ts +35 -36
- package/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +8 -8
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +30 -29
- package/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +12 -10
- package/src/components/Catalog/Catalog.ui.json +1 -0
- package/src/components/ComparisonTable/ComparisonTableBody.tsx +3 -2
- package/src/components/ComparisonTable/ComparisonTableContent.ts +15 -21
- package/src/components/ComparisonTable/HeaderCell.mobile.tsx +10 -9
- package/src/components/ComparisonTable/TableRow.tsx +3 -2
- package/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
- package/src/components/ContactsBlock/ContactsBlockContent.ts +9 -11
- package/src/components/ErrorBlock/ErrorBlockContent.ts +10 -8
- package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +6 -4
- package/src/components/Gallery/Gallery.ui.json +1 -0
- package/src/components/GracePeriod/GracePeriodContent.ts +6 -4
- package/src/components/Header/HeaderContent.ts +3 -4
- package/src/components/Headline/Headline.tsx +5 -3
- package/src/components/Headline/HeadlineContent.ts +9 -8
- package/src/components/HorizontalLayout/HorizontalLayoutContent.ts +4 -2
- package/src/components/ImgBlock/ImgBlockContent.ts +3 -2
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +9 -7
- package/src/components/InvestmentInfo/InvestmentInfoContent.ts +12 -11
- package/src/components/LikeControl/LikeControl.tsx +2 -1
- package/src/components/LinkDocs/LinkDocsContent.ts +27 -25
- package/src/components/LinkList/LinkListContent.ts +3 -2
- package/src/components/MiniGallery/MiniGallery.ui.json +1 -0
- package/src/components/MobileAppTile/MobileAppTileContent.ts +3 -3
- package/src/components/OfficeMap/OfficeMapContent.ts +12 -11
- package/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +7 -5
- package/src/components/ParagraphBlock/ParagraphBlockContent.ts +3 -2
- package/src/components/PictureText/PictureTextContent.ts +29 -28
- package/src/components/PictureText/renderBenefit.tsx +1 -1
- package/src/components/Placeholder/PlaceholderContent.ts +2 -1
- package/src/components/ProductBlock/ProductBlockContent.ts +8 -8
- package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +2 -3
- package/src/components/ProductBlock/ProductBlockInner.tsx +1 -0
- package/src/components/ProductGallery/ProductGallery.tsx +3 -4
- package/src/components/ProductGallery/ProductGalleryContent.ts +3 -4
- package/src/components/ProductTile/ProductTileContent.ts +10 -6
- package/src/components/PromoTile/PromoTileContent.ts +3 -3
- package/src/components/Recommendation/RecommendationContent.ts +6 -6
- package/src/components/RollupItem/RollupItem.tsx +5 -3
- package/src/components/RollupItem/RollupItemContent.ts +8 -8
- package/src/components/SafeDepositRental/SafeDepositRentalContent.ts +2 -1
- package/src/components/StepsBlock/StepsBlock.example.json +3 -1
- package/src/components/StepsBlock/StepsBlock.fixture.tsx +4 -0
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +23 -27
- package/src/components/StepsBlock/StepsBlock.tsx +34 -27
- package/src/components/StepsBlock/StepsBlockContent.ts +4 -3
- package/src/components/StepsBlock/StepsBlockStyleMaps.ts +6 -40
- package/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +3 -3
- package/src/components/Tabs/TabsContent.ts +3 -2
- package/src/components/TextBlock/TextBlock.fixture.tsx +9 -12
- package/src/components/TextBlock/TextBlock.mobile.tsx +11 -45
- package/src/components/TextBlock/TextBlock.tsx +12 -39
- package/src/components/TextBlock/TextBlockContent.ts +4 -4
- package/src/components/Tile/TileContent.ts +3 -3
- package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +2 -0
- package/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -4
- package/src/components/Video/VideoContent.ts +18 -16
- package/src/model/HeadlineType.ts +5 -0
- package/src/model/JSXBlock.ts +10 -2
- package/src/model/LogoType.ts +3 -5
- package/src/services/sitemap/SitemapProps.ts +2 -4
- package/src/ui-kit/BlockWrapper.tsx +16 -3
- package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -0
- package/src/ui-kit/SwipeListControl/SwipeListControlContent.ts +6 -6
- package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +9 -3
- package/src/ui-kit/Text/TextProps.ts +1 -1
- package/bundle/components/RollupItem/RollupItemProps.d.ts +0 -4
- package/dist/components/RollupItem/RollupItemProps.d.ts +0 -4
- package/dist/components/RollupItem/RollupItemProps.js +0 -2
- package/dist/components/RollupItem/RollupItemProps.js.map +0 -1
- package/lib/components/RollupItem/RollupItemProps.d.ts +0 -4
- package/lib/components/RollupItem/RollupItemProps.js +0 -2
- package/lib/components/RollupItem/RollupItemProps.js.map +0 -1
- package/mobile/bundle/components/RollupItem/RollupItemProps.d.ts +0 -4
- package/mobile/dist/components/RollupItem/RollupItemProps.d.ts +0 -4
- package/mobile/dist/components/RollupItem/RollupItemProps.js +0 -2
- package/mobile/dist/components/RollupItem/RollupItemProps.js.map +0 -1
- package/mobile/lib/components/RollupItem/RollupItemProps.d.ts +0 -4
- package/mobile/lib/components/RollupItem/RollupItemProps.js +0 -2
- package/mobile/lib/components/RollupItem/RollupItemProps.js.map +0 -1
- package/mobile/src/components/RollupItem/RollupItemProps.ts +0 -4
- package/src/components/RollupItem/RollupItemProps.ts +0 -4
package/bundle/bundle.umd.js
CHANGED
|
@@ -365,7 +365,7 @@
|
|
|
365
365
|
transparent: 'bg-transparent text-primary-text',
|
|
366
366
|
'': '',
|
|
367
367
|
};
|
|
368
|
-
const BlockWrapper = JSX(({ className = '', version = 'primary', block, tag = 'section', role, children }) => {
|
|
368
|
+
const BlockWrapper = JSX(({ className = '', version = 'primary', block, tag = 'section', role, isTheme = true, children, }) => {
|
|
369
369
|
const Tag = tag;
|
|
370
370
|
const ref = useBlockIntersectionObserver(block);
|
|
371
371
|
const [isHidden, setHidden] = useState(false);
|
|
@@ -375,7 +375,7 @@
|
|
|
375
375
|
block?.labels?.length &&
|
|
376
376
|
!block.labels.includes(event.label)));
|
|
377
377
|
}), [block]);
|
|
378
|
-
return (jsx(Tag, { className: style('group', blockStyles[version], isHidden ? 'hidden' : '', className), ...(version ? { 'data-ver': version } : {}), ...(block?.anchor ? { id: block.anchor, ref } : {}), role: role, children: children }));
|
|
378
|
+
return (jsx(Tag, { className: style(isTheme ? 'group' : '', blockStyles[version], isHidden ? 'hidden' : '', className), ...(version && isTheme ? { 'data-ver': version } : {}), ...(block?.anchor ? { id: block.anchor, ref } : {}), role: role, children: children }));
|
|
379
379
|
});
|
|
380
380
|
|
|
381
381
|
const styles$4 = {
|
|
@@ -1224,9 +1224,9 @@
|
|
|
1224
1224
|
XS: 'text-xs-light',
|
|
1225
1225
|
};
|
|
1226
1226
|
|
|
1227
|
-
const Headline = JSX(({ className, title, description, headlineVersion = 'XL', align = 'text-center', as,
|
|
1227
|
+
const Headline = JSX(({ className, title, description, headlineVersion = 'XL', align = 'text-center', as, ...rest }) => {
|
|
1228
1228
|
const versionStyle = headlineVersionStyles[headlineVersion];
|
|
1229
|
-
return (jsxs(BlockWrapper, { className: style('flex flex-col p-12', versionStyle.wrapper, className),
|
|
1229
|
+
return (jsxs(BlockWrapper, { className: style('flex flex-col p-12 group-data-secondary:bg-primary-main group-data-secondary:text-white', versionStyle.wrapper, className), ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-pre-wrap', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { color: "group-data-secondary:text-white/80", size: versionStyle.descriptionSize, align: align, children: description })) : null] }));
|
|
1230
1230
|
});
|
|
1231
1231
|
|
|
1232
1232
|
const Bonus = JSX((props) => {
|
|
@@ -2032,7 +2032,7 @@
|
|
|
2032
2032
|
isCyclic,
|
|
2033
2033
|
});
|
|
2034
2034
|
const isBankHistoryCarousel = childBlocks && childBlocks[0]?.type === 'CarouselBankHistoryCard';
|
|
2035
|
-
return (jsx(BlockWrapper, { className: style(getPaddingStyle(isPadding), className), ...rest, children: jsxs("div", { className: "relative max-w-full", children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: ITEMS_GAP, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: isBankHistoryCarousel
|
|
2035
|
+
return (jsx(BlockWrapper, { className: style(getPaddingStyle(isPadding), 'group-data-secondary:bg-primary-main group-data-secondary:text-white', className), ...rest, children: jsxs("div", { className: "relative max-w-full", children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: ITEMS_GAP, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: isBankHistoryCarousel
|
|
2036
2036
|
? renderChildren({
|
|
2037
2037
|
...rest,
|
|
2038
2038
|
options: {
|
|
@@ -2059,7 +2059,7 @@
|
|
|
2059
2059
|
];
|
|
2060
2060
|
const getPaddingStyle = (isPadding) => (isPadding ? 'p-12' : '');
|
|
2061
2061
|
|
|
2062
|
-
const CarouselBankHistoryCard = JSX(({ title, description, blocksLength = 0, activeIndex, options
|
|
2062
|
+
const CarouselBankHistoryCard = JSX(({ title, description, blocksLength = 0, activeIndex, options }) => {
|
|
2063
2063
|
const orderNumber = Number(options?.key?.split('-').slice(-1)[0]) || 0;
|
|
2064
2064
|
const isActive = orderNumber === activeIndex;
|
|
2065
2065
|
return (jsx(BlockWrapper, { className: "flex h-[485px]", children: isActive ? (jsx("div", { className: "relative flex items-center w-full", children: jsx(Headline, { headlineVersion: "S", title: title, description: description, align: "text-left", className: style('absolute z-10 h-[385px] w-[440px] text-white shadow-dark-blue', getActiveBlockPosition(orderNumber, blocksLength), getBackgroundColor(orderNumber)) }) })) : (jsx("div", { className: "flex w-full items-center justify-center", children: jsx("div", { className: style('flex justify-center items-center h-[300px] w-[340px] font-mohave text-title-large tracking-[-0.03em]', getBackgroundColor(orderNumber)), children: jsx("span", { className: getTextColor(orderNumber), children: title }) }) })) }));
|
|
@@ -2154,12 +2154,12 @@
|
|
|
2154
2154
|
});
|
|
2155
2155
|
|
|
2156
2156
|
const MAX_LINKS_COUNT = 10;
|
|
2157
|
-
const CarouselLinks = JSX(({ className = '', additionalDescription, description, links, title,
|
|
2158
|
-
return (jsxs(BlockWrapper, { className: `flex w-full p-10 overflow-hidden justify-between ${className}`,
|
|
2157
|
+
const CarouselLinks = JSX(({ className = '', additionalDescription, description, links, title, ...rest }) => {
|
|
2158
|
+
return (jsxs(BlockWrapper, { className: `flex w-full p-10 overflow-hidden justify-between ${className}`, ...rest, children: [jsxs("div", { className: "flex flex-col max-w-96 pr-9 text-white text-xl-light", children: [jsx(Headline, { className: "p-0", title: title, description: description, as: "h1", align: "text-left" }), additionalDescription ? (jsx("div", { className: "pt-6", children: jsx(Paragraph, { children: additionalDescription }) })) : null] }), links?.length ? renderLinks(links) : null] }));
|
|
2159
2159
|
});
|
|
2160
2160
|
const renderLinks = (links) => {
|
|
2161
2161
|
const itemCount = Math.ceil(links.length / MAX_LINKS_COUNT);
|
|
2162
|
-
return (jsx(Carousel, {
|
|
2162
|
+
return (jsx(Carousel, { className: "min-w-[832px] w-[832px]", isBlur: false, isCyclic: true, itemCount: itemCount, children: new Array(itemCount).fill(null).map((_, groupIndex) => (jsx("div", { className: "w-[672px] min-w-[672px] ml-20 mr-20 flex flex-wrap self-start", children: links
|
|
2163
2163
|
.slice(groupIndex * MAX_LINKS_COUNT, (groupIndex + 1) * MAX_LINKS_COUNT)
|
|
2164
2164
|
.map((link, index) => (jsx(LinkButton, { className: "m-1", ...link }, String(index)))) }, String(groupIndex)))) }));
|
|
2165
2165
|
};
|
|
@@ -3628,7 +3628,7 @@
|
|
|
3628
3628
|
const ProductBlockInner = JSX(({ className = '', title, headlineVersion = 'L', description, benefitsCountOfRow = 3, benefits, benefitsVersion, buttons, footnote, image, __html, items, version = 'primary', isDotted = true, textBlockClassName = '', }) => {
|
|
3629
3629
|
const benefitsCount = benefits?.filter((_) => _.label)?.length;
|
|
3630
3630
|
const benefitsContainerStyles = getBenefitsContainerStyles(benefitsCountOfRow);
|
|
3631
|
-
return (jsxs("div", { className: style('flex grow justify-between items-stretch h-full', className), children: [jsxs("div", { className: style('flex flex-col', textBlockClassName), children: [jsx(Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: headlineVersion, align: "text-left" }), jsxs("div", { className: "flex flex-col justify-between h-full", children: [jsxs(BaseTile, { buttons: renderButtonsSection(buttons), children: [benefitsCount ? (jsx("div", { className: benefitsContainerStyles, children: benefits?.map(renderBenefit$1(version, benefitsVersion)) })) : null, __html ? (jsx("div", { className: "mt-5", children: jsx(RichText, { __html: __html }) })) : null, items?.length ? (jsx(List, { className: "mt-5 text-h6", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] }), footnote ? jsx("p", { className: "text-m-light pt-12", children: footnote }) : null] })] }), image?.src && jsx(ImgInner, { className: "mt-[-50px]", image: image })] }));
|
|
3631
|
+
return (jsxs("div", { className: style('flex grow justify-between items-stretch h-full', className), children: [jsxs("div", { className: style('flex flex-col', textBlockClassName), children: [jsx(Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: headlineVersion, align: "text-left", version: version }), jsxs("div", { className: "flex flex-col justify-between h-full", children: [jsxs(BaseTile, { buttons: renderButtonsSection(buttons), children: [benefitsCount ? (jsx("div", { className: benefitsContainerStyles, children: benefits?.map(renderBenefit$1(version, benefitsVersion)) })) : null, __html ? (jsx("div", { className: "mt-5", children: jsx(RichText, { __html: __html }) })) : null, items?.length ? (jsx(List, { className: "mt-5 text-h6", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] }), footnote ? jsx("p", { className: "text-m-light pt-12", children: footnote }) : null] })] }), image?.src && jsx(ImgInner, { className: "mt-[-50px]", image: image })] }));
|
|
3632
3632
|
});
|
|
3633
3633
|
const getBenefitsContainerStyles = (benefitsCountOfRow = 2) => `gap-6 mt-6 ${benefitsCountOfRow > 2
|
|
3634
3634
|
? 'inline-grid grid-cols-[auto_auto_auto]'
|
|
@@ -3650,12 +3650,12 @@
|
|
|
3650
3650
|
: null, breadcrumbs?.length ? (jsx("div", { className: "text-xs-light mb-6", children: joinList(jsx("span", { className: `mx-2 ${breadcrumbStyle}`, children: "/" }))(breadcrumbs.map((breadcrumb, i) => (jsx(Breadcrumb, { className: breadcrumbStyle, ...breadcrumb }, String(i))))) })) : null, jsx(ProductBlockInner, { version: version, ...rest })] }));
|
|
3651
3651
|
});
|
|
3652
3652
|
|
|
3653
|
-
const ProductGallery = JSX(({ className = '', slides = [],
|
|
3653
|
+
const ProductGallery = JSX(({ className = '', slides = [], ...rest }) => {
|
|
3654
3654
|
const galleryNav = slides.map((s) => s.nav);
|
|
3655
3655
|
const galleryBlocks = slides.map((s) => s.productBlock);
|
|
3656
3656
|
const [activeSlideIndex, setActiveSlideIndex] = useState(0);
|
|
3657
3657
|
const handleActiveSlideIndex = useCallback((_) => setActiveSlideIndex(_), []);
|
|
3658
|
-
return (jsxs(BlockWrapper, { className: `box-border pt-12 overflow-hidden relative w-100 mb-6 ${className}`,
|
|
3658
|
+
return (jsxs(BlockWrapper, { className: `box-border pt-12 overflow-hidden relative w-100 mb-6 ${className}`, ...rest, children: [jsx("div", { className: "flex duration-1000 pb-14", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((_, i) => renderProductBlock({ ..._, ...rest }, i)) }), jsx("div", { className: "flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border h-28", children: galleryNav.map((slide, i) => renderNavButton({
|
|
3659
3659
|
slide,
|
|
3660
3660
|
i,
|
|
3661
3661
|
isActive: Boolean(i === activeSlideIndex),
|
|
@@ -3916,56 +3916,27 @@
|
|
|
3916
3916
|
};
|
|
3917
3917
|
const getContainerWidth = (length) => (length < 5 ? 'w-[276px]' : 'w-[210px]');
|
|
3918
3918
|
|
|
3919
|
-
const
|
|
3920
|
-
primary:
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
dot: 'bg-secondary-text',
|
|
3926
|
-
},
|
|
3927
|
-
secondary: {
|
|
3928
|
-
description: '!text-white/80 text-l-light',
|
|
3929
|
-
iconText: 'text-white',
|
|
3930
|
-
iconBackground: 'bg-white/30',
|
|
3931
|
-
iconConnector: 'bg-white',
|
|
3932
|
-
dot: 'bg-white/80',
|
|
3933
|
-
},
|
|
3934
|
-
gray: {
|
|
3935
|
-
// TODO Replace this Map with group-data-*
|
|
3936
|
-
description: '!text-white/80 text-l-light',
|
|
3937
|
-
iconText: 'text-white',
|
|
3938
|
-
iconBackground: 'bg-white/30',
|
|
3939
|
-
iconConnector: 'bg-white',
|
|
3940
|
-
dot: 'bg-white/80',
|
|
3941
|
-
},
|
|
3942
|
-
transparent: {
|
|
3943
|
-
description: '!text-white/80 text-l-light',
|
|
3944
|
-
iconText: 'text-white',
|
|
3945
|
-
iconBackground: 'bg-white/30',
|
|
3946
|
-
iconConnector: 'bg-white',
|
|
3947
|
-
dot: 'bg-white/80',
|
|
3948
|
-
},
|
|
3949
|
-
'': {
|
|
3950
|
-
// TODO Replace this Map with group-data-*
|
|
3951
|
-
description: '!text-white/80 text-l-light',
|
|
3952
|
-
iconText: 'text-white',
|
|
3953
|
-
iconBackground: 'bg-white/30',
|
|
3954
|
-
iconConnector: 'bg-white',
|
|
3955
|
-
dot: 'bg-white/80',
|
|
3956
|
-
},
|
|
3919
|
+
const STEPS_BLOCK_STYLE = {
|
|
3920
|
+
description: 'text-white/80 text-l-light group-data-primary:text-secondary-text',
|
|
3921
|
+
iconText: 'text-white group-data-primary:text-secondary-text',
|
|
3922
|
+
iconBackground: 'bg-white/30 group-data-primary:bg-main-divider',
|
|
3923
|
+
iconConnector: 'bg-white group-data-primary:bg-secondary-light',
|
|
3924
|
+
dot: 'bg-white/80 group-data-primary:bg-secondary-text',
|
|
3957
3925
|
};
|
|
3958
3926
|
|
|
3959
3927
|
const getLineOpacity = (showLines) => (showLines ? '' : 'opacity-0');
|
|
3960
3928
|
const getPaddingX = (steps) => (steps < 5 ? 'px-[88px]' : 'px-[55px]');
|
|
3961
|
-
const StepsBlock = JSX(({ className = '', showLines = true, steps = [], button, version = 'primary', title, ...rest }) => {
|
|
3929
|
+
const StepsBlock = JSX(({ className = '', showLines = true, steps = [], button, size = 'normal', version = 'primary', stepVersion = 'gray', title, ...rest }) => {
|
|
3962
3930
|
const shortGaps = steps.length > 3;
|
|
3963
|
-
const styleMap =
|
|
3931
|
+
const styleMap = STEPS_BLOCK_STYLE;
|
|
3964
3932
|
const lineOpacity = getLineOpacity(showLines);
|
|
3965
3933
|
const paddingX = getPaddingX(steps.length);
|
|
3966
|
-
return (jsxs(BlockWrapper, { className: style('box-border py-12', shortGaps ? 'px-20' : 'px-[70px]', 'flex flex-col items-center overflow-hidden', className), version: version, ...rest, children: [title ? (jsx(Heading, { headingType: "
|
|
3934
|
+
return (jsxs(BlockWrapper, { className: style('box-border py-12', shortGaps ? 'px-20' : 'px-[70px]', 'flex flex-col items-center overflow-hidden', className), version: version, ...rest, children: [title ? (jsx(Heading, { headingType: "h4", className: "max-w-[752px] text-center mb-9", title: title })) : null, steps?.length ? (jsxs("div", { className: "box-border", children: [jsx("div", { className: style('flex items-center', paddingX), children: joinList(jsx("div", { className: style('h-0.5 w-full bg-secondary-light flex-1', lineOpacity) }))(steps.map(renderStepIcon(styleMap, size, stepVersion))) }), jsx("div", { className: style('flex justify-between mt-4', shortGaps ? 'gap-x-3' : 'gap-x-[101px]'), children: steps.map(renderStep({ styleMap, isMainButton: Boolean(button?.text), version })) })] })) : null, button?.text ? renderButtonsSection([button], { className: 'mt-8 min-w-60' }) : null] }));
|
|
3967
3935
|
});
|
|
3968
|
-
const renderStepIcon = (styleMap,
|
|
3936
|
+
const renderStepIcon = (styleMap, size, stepVersion) => ({ icon }, i) => {
|
|
3937
|
+
const styleStepIconSize = size === 'normal' ? 'h-[100px] w-[100px]' : 'h-[63px] w-[63px]';
|
|
3938
|
+
return (jsx(BlockWrapper, { className: `${styleStepIconSize} flex justify-center items-center text-center rounded-full p-[26px] box-border z-10`, version: stepVersion, children: checkCanRenderIcon(icon) ? (jsx(ImgInner, { image: getIconWithVersion(icon || {}, stepVersion), width: "48", height: "48", asSVG: true })) : (jsx("span", { className: `text-h4 group-data-transparent:${styleMap.iconText} text-primary-text`, children: i + 1 })) }, String(i)));
|
|
3939
|
+
};
|
|
3969
3940
|
|
|
3970
3941
|
const containerStyles = {
|
|
3971
3942
|
'horizontal-list': 'mx-auto mt-5 w-fit',
|
|
@@ -3975,9 +3946,9 @@
|
|
|
3975
3946
|
'horizontal-list': 'w-6',
|
|
3976
3947
|
'vertical-list': 'h-6',
|
|
3977
3948
|
};
|
|
3978
|
-
const dotStyle = 'cursor-pointer
|
|
3949
|
+
const dotStyle = 'cursor-pointer rounded-full transition-width duration-300 bg-primary-main group-data-secondary:bg-white group-data-transparent:bg-white';
|
|
3979
3950
|
const inactiveDotStyle = 'w-2 h-2 opacity-30';
|
|
3980
|
-
const SwipeListControlDots = JSX(({ containerRef, activeIndex, dotCount = 0, listType = 'horizontal-list' }) => {
|
|
3951
|
+
const SwipeListControlDots = JSX(({ containerRef, activeIndex, dotCount = 0, listType = 'horizontal-list', version }) => {
|
|
3981
3952
|
const handleClick = (idx) => {
|
|
3982
3953
|
if (idx !== activeIndex && containerRef?.current) {
|
|
3983
3954
|
containerRef.current.children[idx]?.scrollIntoView({
|
|
@@ -3986,7 +3957,7 @@
|
|
|
3986
3957
|
});
|
|
3987
3958
|
}
|
|
3988
3959
|
};
|
|
3989
|
-
return dotCount ? (jsx("div", { className:
|
|
3960
|
+
return dotCount ? (jsx("div", { className: style('flex gap-2', containerStyles[listType], version ? 'group' : ''), ...(version ? { 'data-ver': version } : {}), children: new Array(dotCount).fill(null).map((_, idx) => (jsx("div", { className: `${dotStyle} ${idx === activeIndex ? activeDotStyles[listType] : inactiveDotStyle}`, role: "button", "aria-hidden": true, onClick: () => handleClick(idx) }, String(idx)))) })) : null;
|
|
3990
3961
|
});
|
|
3991
3962
|
|
|
3992
3963
|
const DEFAULT_GAP = 14;
|
|
@@ -3996,18 +3967,18 @@
|
|
|
3996
3967
|
and get rid of a clipping effect caused by overflow: hidden.
|
|
3997
3968
|
*/
|
|
3998
3969
|
const DEFAULT_PADDING = 16;
|
|
3999
|
-
const SwipeListControl = JSX(({ className = '', gap = DEFAULT_GAP, padding = DEFAULT_PADDING, showDots = true, minHeight, children, onVisibleIndicesChange, listType = 'horizontal-list', }) => {
|
|
3970
|
+
const SwipeListControl = JSX(({ className = '', gap = DEFAULT_GAP, padding = DEFAULT_PADDING, showDots = true, minHeight, children, onVisibleIndicesChange, listType = 'horizontal-list', version, }) => {
|
|
4000
3971
|
const itemCount = Array.isArray(children) ? children.length : 0;
|
|
4001
3972
|
const [containerRef, scroll] = useSwipeListScroll({
|
|
4002
3973
|
itemCount,
|
|
4003
3974
|
onVisibleIndicesChange,
|
|
4004
3975
|
});
|
|
4005
3976
|
const [activeIndex] = scroll.visibleIndicesRange;
|
|
4006
|
-
return (jsxs("div", { className: style(className, listType === 'vertical-list' ? 'relative h-full' : ''), children: [jsx(SwipeListContainer, { containerRef: containerRef, activeIndex: activeIndex, visibleItemCount: 1, gap: gap, padding: padding, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, listType: listType, minHeight: minHeight, children: children }), showDots ? (jsx(SwipeListControlDots, { containerRef: containerRef, activeIndex: activeIndex, dotCount: itemCount, listType: listType })) : null] }));
|
|
3977
|
+
return (jsxs("div", { className: style(className, listType === 'vertical-list' ? 'relative h-full' : ''), children: [jsx(SwipeListContainer, { containerRef: containerRef, activeIndex: activeIndex, visibleItemCount: 1, gap: gap, padding: padding, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, listType: listType, minHeight: minHeight, children: children }), showDots ? (jsx(SwipeListControlDots, { containerRef: containerRef, activeIndex: activeIndex, dotCount: itemCount, listType: listType, version: version })) : null] }));
|
|
4007
3978
|
});
|
|
4008
3979
|
|
|
4009
|
-
const SwipeListControlBlock = JSX(({ listType, showDots, options, ...rest }) => {
|
|
4010
|
-
return (jsx(BlockWrapper, { ...rest, children: jsx(SwipeListControl, { listType: listType, showDots: showDots, children: renderChildren({ ...rest, options }) }) }));
|
|
3980
|
+
const SwipeListControlBlock = JSX(({ listType, showDots, options, version, ...rest }) => {
|
|
3981
|
+
return (jsx(BlockWrapper, { version: version, ...rest, children: jsx(SwipeListControl, { listType: listType, showDots: showDots, version: version, children: renderChildren({ ...rest, options }) }) }));
|
|
4011
3982
|
});
|
|
4012
3983
|
SwipeListControlBlock.childrenTypes = {
|
|
4013
3984
|
exclude: ['SwipeListControlBlock'],
|
|
@@ -4341,19 +4312,13 @@
|
|
|
4341
4312
|
})] }), isScrollAvailable ? (jsx("div", { className: "absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white" })) : null] }));
|
|
4342
4313
|
});
|
|
4343
4314
|
|
|
4344
|
-
const
|
|
4345
|
-
|
|
4346
|
-
secondary: 'bg-primary-main',
|
|
4347
|
-
'secondary-light': 'bg-primary-main/10',
|
|
4348
|
-
};
|
|
4349
|
-
const TextBlock = JSX(({ className = '', title, description, blockVersion = 'primary', iconVersion, image, __html, ...rest }) => {
|
|
4350
|
-
const isSecondaryBlock = blockVersion === 'secondary';
|
|
4351
|
-
return (jsxs(BlockWrapper, { className: `px-9 py-4 flex gap-3 ${textBlockBack[blockVersion]} ${className}`, ...rest, children: [iconVersion === 'small' ? (jsx("div", { className: "mt-1", children: renderIcon(isSecondaryBlock) })) : null, iconVersion === 'big' ? renderImage(image) : null, jsxs("div", { children: [title ? renderTitle(title, isSecondaryBlock) : null, description ? (jsx("div", { className: "mt-1", children: renderDescription(description, isSecondaryBlock) })) : null, __html ? jsx(RichText, { __html: __html }) : null] })] }));
|
|
4315
|
+
const TextBlock = JSX(({ className = '', title, description, iconVersion, image, __html, ...rest }) => {
|
|
4316
|
+
return (jsxs(BlockWrapper, { className: `px-9 py-4 flex gap-3 bg-white group-data-secondary:bg-primary-main/10' ${className}`, ...rest, children: [iconVersion === 'small' ? jsx("div", { className: "mt-1", children: renderIcon() }) : null, iconVersion === 'big' ? renderImage(image) : null, jsxs("div", { children: [title ? renderTitle(title) : null, description ? jsx("div", { className: "mt-1", children: renderDescription(description) }) : null, __html ? jsx(RichText, { __html: __html }) : null] })] }));
|
|
4352
4317
|
});
|
|
4353
|
-
const renderIcon = (
|
|
4318
|
+
const renderIcon = () => (jsx("div", { className: `rounded-full h-4 w-4 text-center text-xs-light bg-primary-main text-white group-data-secondary:bg-white group-data-secondary:text-primary-main`, children: "i" }));
|
|
4354
4319
|
const renderImage = (image) => (image?.src ? jsx(ImgInner, { image: image }) : null);
|
|
4355
|
-
const renderTitle = (title
|
|
4356
|
-
const renderDescription = (description
|
|
4320
|
+
const renderTitle = (title) => (jsx(Text, { size: "text-l", font: "font-medium", color: "text-primary-text group-data-secondary:text-white", children: title }));
|
|
4321
|
+
const renderDescription = (description) => (jsx(Paragraph, { size: "text-s", color: "text-secondary-text group-data-secondary:text-white", children: description }));
|
|
4357
4322
|
|
|
4358
4323
|
const Tags = JSX((props) => {
|
|
4359
4324
|
const { tags, className = '' } = props;
|
|
@@ -4570,7 +4535,7 @@
|
|
|
4570
4535
|
return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto" }) }));
|
|
4571
4536
|
}
|
|
4572
4537
|
|
|
4573
|
-
const packageVersion = "0.8.
|
|
4538
|
+
const packageVersion = "0.8.23";
|
|
4574
4539
|
|
|
4575
4540
|
exports.Blocks = Blocks;
|
|
4576
4541
|
exports.ContentPage = ContentPage;
|