@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
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
1
|
import type { LabelProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @title Сворачивающаяся секция
|
|
6
6
|
*/
|
|
7
|
-
export type RollupItemContent =
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
};
|
|
7
|
+
export type RollupItemContent = UniBlockContent &
|
|
8
|
+
LabelProps & {
|
|
9
|
+
/** @title Отображать в раскрытом виде */
|
|
10
|
+
isExpanded?: boolean;
|
|
11
|
+
/** @title Кнопка сверху */
|
|
12
|
+
isFoldButtonOnTop?: boolean;
|
|
13
|
+
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Footnote } from '../../model/Footnote';
|
|
2
2
|
import type { TitleProps } from '../../model/HeadlineType';
|
|
3
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* @title Аренда сейфовых ячеек
|
|
6
7
|
*/
|
|
7
|
-
export type SafeDepositRentalContent = Footnote & TitleProps;
|
|
8
|
+
export type SafeDepositRentalContent = UniBlockContent & Footnote & TitleProps;
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
"title": "Шаги",
|
|
5
5
|
"description": "Описание",
|
|
6
6
|
"showLines": true,
|
|
7
|
+
"size": "normal",
|
|
8
|
+
"stepVersion": "gray",
|
|
7
9
|
"steps": [
|
|
8
10
|
{
|
|
9
11
|
"label": "Шаг №1",
|
|
@@ -20,7 +22,7 @@
|
|
|
20
22
|
"text": "Кнопка",
|
|
21
23
|
"target": "_blank",
|
|
22
24
|
"version": "primary"
|
|
23
|
-
}
|
|
25
|
+
}
|
|
24
26
|
},
|
|
25
27
|
{
|
|
26
28
|
"label": "Шаг №2",
|
|
@@ -65,6 +65,7 @@ const BUTTONS: DefaultStep['button'][] = [
|
|
|
65
65
|
const STEPS_WITH_BUTTONS_AND_ICONS: Step[] = STEPS_WITH_ICONS.map((step, i) => ({
|
|
66
66
|
...step,
|
|
67
67
|
button: BUTTONS[i],
|
|
68
|
+
stepVersion: 'primary',
|
|
68
69
|
}));
|
|
69
70
|
|
|
70
71
|
const STEPS_WITH_LIST_PROPS: StepsBlockProps = {
|
|
@@ -75,6 +76,7 @@ const STEPS_WITH_LIST_PROPS: StepsBlockProps = {
|
|
|
75
76
|
const STEPS_WITH_LIST_AND_DESC_PROPS: StepsBlockProps = {
|
|
76
77
|
...COMMON_PROPS,
|
|
77
78
|
steps: STEPS_WITH_ICONS.map((step) => ({ ...step, items: ITEMS })),
|
|
79
|
+
stepVersion: 'secondary',
|
|
78
80
|
};
|
|
79
81
|
|
|
80
82
|
const STEPS_WITH_BUTTON_PROPS: StepsBlockProps = {
|
|
@@ -84,6 +86,8 @@ const STEPS_WITH_BUTTON_PROPS: StepsBlockProps = {
|
|
|
84
86
|
button: { text: 'Оформить' },
|
|
85
87
|
})),
|
|
86
88
|
title: TITLE,
|
|
89
|
+
stepVersion: 'primary',
|
|
90
|
+
size: 'small',
|
|
87
91
|
};
|
|
88
92
|
|
|
89
93
|
export default {
|
|
@@ -10,7 +10,7 @@ import { assertUnreachable } from '../../utils/assertUnreachable';
|
|
|
10
10
|
import { getIconWithVersion } from '../../utils/getIconWithVersion';
|
|
11
11
|
import { checkCanRenderIcon } from './checkCanRenderIcon';
|
|
12
12
|
import type { DefaultStep, Step, StepsBlockContent } from './StepsBlockContent';
|
|
13
|
-
import {
|
|
13
|
+
import { STEPS_BLOCK_STYLE } from './StepsBlockStyleMaps';
|
|
14
14
|
|
|
15
15
|
export interface StepsBlockProps extends StepsBlockContent, UniBlockProps {}
|
|
16
16
|
|
|
@@ -24,6 +24,8 @@ const STEPS_TILE_DESCRIPTION_HEIGHT_MAP: Record<SizeVersion, string> = {
|
|
|
24
24
|
small: 'min-h-12',
|
|
25
25
|
};
|
|
26
26
|
|
|
27
|
+
const styleMap = STEPS_BLOCK_STYLE;
|
|
28
|
+
|
|
27
29
|
export const StepsBlock = JSX<StepsBlockProps>(
|
|
28
30
|
({
|
|
29
31
|
className = '',
|
|
@@ -34,31 +36,27 @@ export const StepsBlock = JSX<StepsBlockProps>(
|
|
|
34
36
|
size = 'normal',
|
|
35
37
|
version = 'primary',
|
|
36
38
|
...rest
|
|
37
|
-
}) =>
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
<div className={`box-border py-0.5 mb-0.5 mt-5`}>
|
|
54
|
-
<div className="flex flex-col justify-between gap-x-[101px]">
|
|
55
|
-
{steps.map(renderStep(size, version, showLines))}
|
|
56
|
-
</div>
|
|
39
|
+
}) => (
|
|
40
|
+
<BlockWrapper
|
|
41
|
+
className={`box-border px-4 py-6 flex flex-col ${className}`}
|
|
42
|
+
version={version}
|
|
43
|
+
{...rest}
|
|
44
|
+
>
|
|
45
|
+
{title ? <Heading headingType="h3" className="text-center" title={title} /> : null}
|
|
46
|
+
{description ? (
|
|
47
|
+
<p className={`text-m-light text-center ${styleMap.description} ${title ? 'mt-2' : ''}`}>
|
|
48
|
+
{description}
|
|
49
|
+
</p>
|
|
50
|
+
) : null}
|
|
51
|
+
{steps?.length ? (
|
|
52
|
+
<div className={`box-border py-0.5 mb-0.5 mt-5`}>
|
|
53
|
+
<div className="flex flex-col justify-between gap-x-[101px]">
|
|
54
|
+
{steps.map(renderStep(size, version, showLines))}
|
|
57
55
|
</div>
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
56
|
+
</div>
|
|
57
|
+
) : null}
|
|
58
|
+
</BlockWrapper>
|
|
59
|
+
),
|
|
62
60
|
);
|
|
63
61
|
|
|
64
62
|
// TODO: Create universal function for this case
|
|
@@ -88,7 +86,6 @@ const renderDefaultStep =
|
|
|
88
86
|
(step: DefaultStep, i: number, steps: Step[]) => {
|
|
89
87
|
const isLastStep = steps.length - 1 === i;
|
|
90
88
|
const margin = size === 'normal' ? 'ml-[34px]' : 'ml-6';
|
|
91
|
-
const styleMap = STEPS_BLOCK_STYLE_MAPS[version];
|
|
92
89
|
|
|
93
90
|
return (
|
|
94
91
|
<div key={String(i)}>
|
|
@@ -119,7 +116,6 @@ const renderDefaultStep =
|
|
|
119
116
|
};
|
|
120
117
|
|
|
121
118
|
const renderIconArea = (size: SizeVersion, version: BlockVersion) => (step: Step, i: number) => {
|
|
122
|
-
const styleMap = STEPS_BLOCK_STYLE_MAPS[version];
|
|
123
119
|
const iconAreaSize = STEPS_SIZE_MAP[size];
|
|
124
120
|
|
|
125
121
|
const iconSize = size === 'normal' ? '38' : '27';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
4
2
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
5
|
-
import {
|
|
3
|
+
import { checkCanRenderIcon } from './checkCanRenderIcon';
|
|
4
|
+
import { getIconWithVersion } from '../../utils/getIconWithVersion';
|
|
6
5
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
7
6
|
import { Img } from '../../ui-kit/Img/Img';
|
|
8
|
-
import { getIconWithVersion } from '../../utils/getIconWithVersion';
|
|
9
7
|
import { joinList } from '../../utils/joinList';
|
|
10
|
-
import {
|
|
11
|
-
import { checkCanRenderIcon } from './checkCanRenderIcon';
|
|
8
|
+
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection';
|
|
12
9
|
import { renderStep } from './renderStep';
|
|
10
|
+
import { STEPS_BLOCK_STYLE } from './StepsBlockStyleMaps';
|
|
11
|
+
import { style } from '../../utils/style';
|
|
12
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
13
13
|
import type { Step, StepsBlockContent } from './StepsBlockContent';
|
|
14
14
|
import type { StyleType } from './StepsBlockStyleMaps';
|
|
15
|
-
import {
|
|
15
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
16
16
|
|
|
17
17
|
export interface StepsBlockProps extends StepsBlockContent, UniBlockProps {}
|
|
18
18
|
|
|
@@ -26,13 +26,15 @@ export const StepsBlock = JSX<StepsBlockProps>(
|
|
|
26
26
|
showLines = true,
|
|
27
27
|
steps = [],
|
|
28
28
|
button,
|
|
29
|
+
size = 'normal',
|
|
29
30
|
version = 'primary',
|
|
31
|
+
stepVersion = 'gray',
|
|
30
32
|
title,
|
|
31
33
|
...rest
|
|
32
34
|
}) => {
|
|
33
35
|
const shortGaps = steps.length > 3;
|
|
34
36
|
|
|
35
|
-
const styleMap =
|
|
37
|
+
const styleMap = STEPS_BLOCK_STYLE;
|
|
36
38
|
|
|
37
39
|
const lineOpacity = getLineOpacity(showLines);
|
|
38
40
|
const paddingX = getPaddingX(steps.length);
|
|
@@ -49,14 +51,14 @@ export const StepsBlock = JSX<StepsBlockProps>(
|
|
|
49
51
|
{...rest}
|
|
50
52
|
>
|
|
51
53
|
{title ? (
|
|
52
|
-
<Heading headingType="
|
|
54
|
+
<Heading headingType="h4" className="max-w-[752px] text-center mb-9" title={title} />
|
|
53
55
|
) : null}
|
|
54
56
|
{steps?.length ? (
|
|
55
57
|
<div className="box-border">
|
|
56
58
|
<div className={style('flex items-center', paddingX)}>
|
|
57
|
-
{joinList(
|
|
58
|
-
|
|
59
|
-
)}
|
|
59
|
+
{joinList(
|
|
60
|
+
<div className={style('h-0.5 w-full bg-secondary-light flex-1', lineOpacity)} />,
|
|
61
|
+
)(steps.map(renderStepIcon(styleMap, size, stepVersion)))}
|
|
60
62
|
</div>
|
|
61
63
|
<div
|
|
62
64
|
className={style(
|
|
@@ -68,25 +70,30 @@ export const StepsBlock = JSX<StepsBlockProps>(
|
|
|
68
70
|
</div>
|
|
69
71
|
</div>
|
|
70
72
|
) : null}
|
|
71
|
-
{button?.text ?
|
|
73
|
+
{button?.text ? renderButtonsSection([button], { className: 'mt-8 min-w-60' }) : null}
|
|
72
74
|
</BlockWrapper>
|
|
73
75
|
);
|
|
74
76
|
},
|
|
75
77
|
);
|
|
76
78
|
|
|
77
79
|
const renderStepIcon =
|
|
78
|
-
(styleMap: StyleType,
|
|
79
|
-
({ icon }: Step, i: number) =>
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
)}
|
|
90
|
-
|
|
91
|
-
|
|
80
|
+
(styleMap: StyleType, size: string, stepVersion: BlockVersion) =>
|
|
81
|
+
({ icon }: Step, i: number) => {
|
|
82
|
+
const styleStepIconSize = size === 'normal' ? 'h-[100px] w-[100px]' : 'h-[63px] w-[63px]';
|
|
83
|
+
|
|
84
|
+
return (
|
|
85
|
+
<BlockWrapper
|
|
86
|
+
key={String(i)}
|
|
87
|
+
className={`${styleStepIconSize} flex justify-center items-center text-center rounded-full p-[26px] box-border z-10`}
|
|
88
|
+
version={stepVersion}
|
|
89
|
+
>
|
|
90
|
+
{checkCanRenderIcon(icon) ? (
|
|
91
|
+
<Img image={getIconWithVersion(icon || {}, stepVersion)} width="48" height="48" asSVG />
|
|
92
|
+
) : (
|
|
93
|
+
<span className={`text-h4 group-data-transparent:${styleMap.iconText} text-primary-text`}>
|
|
94
|
+
{i + 1}
|
|
95
|
+
</span>
|
|
96
|
+
)}
|
|
97
|
+
</BlockWrapper>
|
|
92
98
|
);
|
|
99
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
2
|
import type { DefaultListItemType } from '../../model/DefaultListItemType';
|
|
3
3
|
import type { DescriptionProps, HeadlineCommonProps, LabelProps } from '../../model/HeadlineType';
|
|
4
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
4
5
|
import type { IconProps } from '../../model/Picture';
|
|
5
6
|
import type { RichTextItem } from '../../model/RichTextItem';
|
|
6
7
|
import type { SizeVersion } from '../../model/SizeVersion';
|
|
@@ -36,7 +37,7 @@ export type Step = DefaultStep | RichTextStep;
|
|
|
36
37
|
/**
|
|
37
38
|
* @title Блок шаги
|
|
38
39
|
*/
|
|
39
|
-
export type StepsBlockContent = HeadlineCommonProps & {
|
|
40
|
+
export type StepsBlockContent = UniBlockContent & HeadlineCommonProps & {
|
|
40
41
|
/**
|
|
41
42
|
* @title Линии
|
|
42
43
|
* @default true
|
|
@@ -48,12 +49,12 @@ export type StepsBlockContent = HeadlineCommonProps & {
|
|
|
48
49
|
* @maxItems 5
|
|
49
50
|
*/
|
|
50
51
|
steps?: Step[];
|
|
52
|
+
stepVersion?: BlockVersion;
|
|
51
53
|
/** @title Кнопка */
|
|
52
54
|
button?: ButtonWithIconProps;
|
|
53
55
|
/**
|
|
54
|
-
* @title Размер шагов
|
|
56
|
+
* @title Размер шагов
|
|
55
57
|
* @default normal
|
|
56
58
|
*/
|
|
57
59
|
size?: SizeVersion; // TODO: mobile content
|
|
58
|
-
version?: BlockVersion;
|
|
59
60
|
};
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
-
|
|
3
1
|
export type StyleType = {
|
|
4
2
|
description: string;
|
|
5
3
|
iconText: string;
|
|
@@ -8,42 +6,10 @@ export type StyleType = {
|
|
|
8
6
|
dot: string;
|
|
9
7
|
};
|
|
10
8
|
|
|
11
|
-
export const
|
|
12
|
-
primary:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
dot: 'bg-secondary-text',
|
|
18
|
-
},
|
|
19
|
-
secondary: {
|
|
20
|
-
description: '!text-white/80 text-l-light',
|
|
21
|
-
iconText: 'text-white',
|
|
22
|
-
iconBackground: 'bg-white/30',
|
|
23
|
-
iconConnector: 'bg-white',
|
|
24
|
-
dot: 'bg-white/80',
|
|
25
|
-
},
|
|
26
|
-
gray: {
|
|
27
|
-
// TODO Replace this Map with group-data-*
|
|
28
|
-
description: '!text-white/80 text-l-light',
|
|
29
|
-
iconText: 'text-white',
|
|
30
|
-
iconBackground: 'bg-white/30',
|
|
31
|
-
iconConnector: 'bg-white',
|
|
32
|
-
dot: 'bg-white/80',
|
|
33
|
-
},
|
|
34
|
-
transparent: {
|
|
35
|
-
description: '!text-white/80 text-l-light',
|
|
36
|
-
iconText: 'text-white',
|
|
37
|
-
iconBackground: 'bg-white/30',
|
|
38
|
-
iconConnector: 'bg-white',
|
|
39
|
-
dot: 'bg-white/80',
|
|
40
|
-
},
|
|
41
|
-
'': {
|
|
42
|
-
// TODO Replace this Map with group-data-*
|
|
43
|
-
description: '!text-white/80 text-l-light',
|
|
44
|
-
iconText: 'text-white',
|
|
45
|
-
iconBackground: 'bg-white/30',
|
|
46
|
-
iconConnector: 'bg-white',
|
|
47
|
-
dot: 'bg-white/80',
|
|
48
|
-
},
|
|
9
|
+
export const STEPS_BLOCK_STYLE: StyleType = {
|
|
10
|
+
description: 'text-white/80 text-l-light group-data-primary:text-secondary-text',
|
|
11
|
+
iconText: 'text-white group-data-primary:text-secondary-text',
|
|
12
|
+
iconBackground: 'bg-white/30 group-data-primary:bg-main-divider',
|
|
13
|
+
iconConnector: 'bg-white group-data-primary:bg-secondary-light',
|
|
14
|
+
dot: 'bg-white/80 group-data-primary:bg-secondary-text',
|
|
49
15
|
};
|
|
@@ -8,10 +8,10 @@ import type { SwipeListControlBlockContent } from './SwipeListControlBlockConten
|
|
|
8
8
|
interface SwipeListControlBlockProps extends SwipeListControlBlockContent, UniBlockProps {}
|
|
9
9
|
|
|
10
10
|
export const SwipeListControlBlock: JSXBlock<SwipeListControlBlockProps> =
|
|
11
|
-
JSX<SwipeListControlBlockProps>(({ listType, showDots, options, ...rest }) => {
|
|
11
|
+
JSX<SwipeListControlBlockProps>(({ listType, showDots, options, version, ...rest }) => {
|
|
12
12
|
return (
|
|
13
|
-
<BlockWrapper {...rest}>
|
|
14
|
-
<SwipeListControl listType={listType} showDots={showDots}>
|
|
13
|
+
<BlockWrapper version={version} {...rest}>
|
|
14
|
+
<SwipeListControl listType={listType} showDots={showDots} version={version}>
|
|
15
15
|
{renderChildren({ ...rest, options })}
|
|
16
16
|
</SwipeListControl>
|
|
17
17
|
</BlockWrapper>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { TitleProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
2
3
|
import type { LinkProps } from '../../model/LinkProps';
|
|
3
4
|
|
|
4
5
|
/**
|
|
@@ -38,7 +39,7 @@ export type TabsMode = 'wideScreen' | 'scrollable';
|
|
|
38
39
|
/**
|
|
39
40
|
* @title Вкладки
|
|
40
41
|
*/
|
|
41
|
-
export
|
|
42
|
+
export type TabsContent = UniBlockContent & {
|
|
42
43
|
/** @title Табы */
|
|
43
44
|
tabs?: TabData[];
|
|
44
45
|
/** @title Закрепить сверху */
|
|
@@ -50,4 +51,4 @@ export interface TabsContent {
|
|
|
50
51
|
* @default "wideScreen"
|
|
51
52
|
*/
|
|
52
53
|
tabsMode?: TabsMode;
|
|
53
|
-
}
|
|
54
|
+
};
|
|
@@ -24,12 +24,11 @@ export default {
|
|
|
24
24
|
<div className="container grid grid-cols-12">
|
|
25
25
|
<div className="font-sans overflow-hidden col-span-12">
|
|
26
26
|
<div className="flex flex-col gap-6" data-theme="pc">
|
|
27
|
-
<TextBlock {...TEXT_BLOCK}
|
|
28
|
-
<TextBlock {...TEXT_BLOCK}
|
|
29
|
-
<TextBlock {...TEXT_BLOCK}
|
|
30
|
-
<TextBlock {...TEXT_BLOCK}
|
|
31
|
-
<TextBlock {...TEXT_BLOCK}
|
|
32
|
-
<TextBlock {...TEXT_BLOCK} blockVersion="secondary-light" iconVersion="small" />
|
|
27
|
+
<TextBlock {...TEXT_BLOCK} version="primary" iconVersion="small" />
|
|
28
|
+
<TextBlock {...TEXT_BLOCK} version="primary" iconVersion="big" image={image} />
|
|
29
|
+
<TextBlock {...TEXT_BLOCK} version="primary" iconVersion="none" />
|
|
30
|
+
<TextBlock {...TEXT_BLOCK} version="primary" iconVersion="small" />
|
|
31
|
+
<TextBlock {...TEXT_BLOCK} version="secondary" iconVersion="small" />
|
|
33
32
|
</div>
|
|
34
33
|
</div>
|
|
35
34
|
</div>
|
|
@@ -38,9 +37,8 @@ export default {
|
|
|
38
37
|
<div className="container grid grid-cols-12">
|
|
39
38
|
<div className="font-sans overflow-hidden col-span-12">
|
|
40
39
|
<div className="flex flex-col gap-6" data-theme="bc">
|
|
41
|
-
<TextBlock {...TEXT_BLOCK}
|
|
42
|
-
<TextBlock {...TEXT_BLOCK}
|
|
43
|
-
<TextBlock {...TEXT_BLOCK} blockVersion="secondary-light" iconVersion="small" />
|
|
40
|
+
<TextBlock {...TEXT_BLOCK} version="primary" iconVersion="small" />
|
|
41
|
+
<TextBlock {...TEXT_BLOCK} version="secondary" iconVersion="small" />
|
|
44
42
|
</div>
|
|
45
43
|
</div>
|
|
46
44
|
</div>
|
|
@@ -49,9 +47,8 @@ export default {
|
|
|
49
47
|
<div className="container grid grid-cols-12">
|
|
50
48
|
<div className="font-sans overflow-hidden col-span-12">
|
|
51
49
|
<div className="flex flex-col gap-6" data-theme="eo">
|
|
52
|
-
<TextBlock {...TEXT_BLOCK}
|
|
53
|
-
<TextBlock {...TEXT_BLOCK}
|
|
54
|
-
<TextBlock {...TEXT_BLOCK} blockVersion="secondary-light" iconVersion="small" />
|
|
50
|
+
<TextBlock {...TEXT_BLOCK} version="primary" iconVersion="small" />
|
|
51
|
+
<TextBlock {...TEXT_BLOCK} version="secondary" iconVersion="small" />
|
|
55
52
|
</div>
|
|
56
53
|
</div>
|
|
57
54
|
</div>
|
|
@@ -3,57 +3,21 @@ import type { UniBlockProps } from '../../model/JSXBlock';
|
|
|
3
3
|
import type { Picture } from '../../model/Picture';
|
|
4
4
|
import { Img } from '../../ui-kit/Img/Img';
|
|
5
5
|
import { List } from '../../ui-kit/List/List';
|
|
6
|
-
import type { TextBlockContent
|
|
6
|
+
import type { TextBlockContent } from './TextBlockContent';
|
|
7
7
|
|
|
8
8
|
export interface TextBlockProps extends TextBlockContent, UniBlockProps {}
|
|
9
9
|
|
|
10
|
-
const textBlockStyleMaps: Record<TextBlockVersion, Record<string, string>> = {
|
|
11
|
-
primary: {
|
|
12
|
-
background: 'bg-white',
|
|
13
|
-
icon: 'bg-primary-main text-white',
|
|
14
|
-
title: 'text-primary-text',
|
|
15
|
-
description: 'text-secondary-text',
|
|
16
|
-
},
|
|
17
|
-
secondary: {
|
|
18
|
-
background: 'bg-primary-main',
|
|
19
|
-
icon: 'bg-white text-primary-main',
|
|
20
|
-
title: 'text-white',
|
|
21
|
-
description: 'text-white',
|
|
22
|
-
},
|
|
23
|
-
'secondary-light': {
|
|
24
|
-
background: 'bg-primary-main/10',
|
|
25
|
-
icon: 'bg-primary-main text-white',
|
|
26
|
-
title: 'text-primary-text',
|
|
27
|
-
description: 'text-secondary-text',
|
|
28
|
-
},
|
|
29
|
-
};
|
|
30
|
-
|
|
31
10
|
export const TextBlock = JSX<TextBlockProps>(
|
|
32
|
-
({
|
|
33
|
-
title,
|
|
34
|
-
description,
|
|
35
|
-
blockVersion = 'primary',
|
|
36
|
-
iconVersion,
|
|
37
|
-
image,
|
|
38
|
-
className = '',
|
|
39
|
-
items,
|
|
40
|
-
isDotted = true,
|
|
41
|
-
}) => {
|
|
42
|
-
const textBlockStyleMap = textBlockStyleMaps[blockVersion];
|
|
43
|
-
|
|
11
|
+
({ title, description, iconVersion, image, className = '', items, isDotted = true }) => {
|
|
44
12
|
return (
|
|
45
13
|
<section
|
|
46
|
-
className={`font-sans px-4 py-[18px] flex flex-col
|
|
14
|
+
className={`font-sans px-4 py-[18px] flex flex-col bg-white group-data-secondary:bg-primary-main ${className}`}
|
|
47
15
|
>
|
|
48
|
-
{iconVersion === 'small' ? renderIcon(
|
|
16
|
+
{iconVersion === 'small' ? renderIcon() : null}
|
|
49
17
|
{iconVersion === 'big' ? renderImage(image) : null}
|
|
50
|
-
<div className="py-0.5">
|
|
51
|
-
{title ?
|
|
52
|
-
|
|
53
|
-
) : null}
|
|
54
|
-
{description ? (
|
|
55
|
-
<div className={`text-s ${textBlockStyleMap.description}`}>{description}</div>
|
|
56
|
-
) : null}
|
|
18
|
+
<div className="py-0.5 text-secondary-text group-data-secondary:text-white">
|
|
19
|
+
{title ? <div className={`text-l font-medium mb-1`}>{title}</div> : null}
|
|
20
|
+
{description ? <div className={`text-s `}>{description}</div> : null}
|
|
57
21
|
{items?.length ? (
|
|
58
22
|
<List className="mt-1 text-m" items={items} isDotted={isDotted} />
|
|
59
23
|
) : null}
|
|
@@ -63,10 +27,12 @@ export const TextBlock = JSX<TextBlockProps>(
|
|
|
63
27
|
},
|
|
64
28
|
);
|
|
65
29
|
|
|
66
|
-
function renderIcon(
|
|
30
|
+
function renderIcon() {
|
|
67
31
|
return (
|
|
68
32
|
<div className="mb-3">
|
|
69
|
-
<div className=
|
|
33
|
+
<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">
|
|
34
|
+
i
|
|
35
|
+
</div>
|
|
70
36
|
</div>
|
|
71
37
|
);
|
|
72
38
|
}
|
|
@@ -6,43 +6,22 @@ import { Img } from '../../ui-kit/Img/Img';
|
|
|
6
6
|
import { Paragraph } from '../../ui-kit/Paragraph/Paragraph';
|
|
7
7
|
import { RichText } from '../../ui-kit/RichText/RichText';
|
|
8
8
|
import { Text } from '../../ui-kit/Text/Text';
|
|
9
|
-
import type { TextBlockContent
|
|
9
|
+
import type { TextBlockContent } from './TextBlockContent';
|
|
10
10
|
|
|
11
11
|
export interface TextBlockProps extends TextBlockContent, UniBlockProps {}
|
|
12
12
|
|
|
13
|
-
const textBlockBack: Record<TextBlockVersion, string> = {
|
|
14
|
-
primary: 'bg-white',
|
|
15
|
-
secondary: 'bg-primary-main',
|
|
16
|
-
'secondary-light': 'bg-primary-main/10',
|
|
17
|
-
};
|
|
18
|
-
|
|
19
13
|
export const TextBlock = JSX<TextBlockProps>(
|
|
20
|
-
({
|
|
21
|
-
className = '',
|
|
22
|
-
title,
|
|
23
|
-
description,
|
|
24
|
-
blockVersion = 'primary',
|
|
25
|
-
iconVersion,
|
|
26
|
-
image,
|
|
27
|
-
__html,
|
|
28
|
-
...rest
|
|
29
|
-
}) => {
|
|
30
|
-
const isSecondaryBlock = blockVersion === 'secondary';
|
|
31
|
-
|
|
14
|
+
({ className = '', title, description, iconVersion, image, __html, ...rest }) => {
|
|
32
15
|
return (
|
|
33
16
|
<BlockWrapper
|
|
34
|
-
className={`px-9 py-4 flex gap-3
|
|
17
|
+
className={`px-9 py-4 flex gap-3 bg-white group-data-secondary:bg-primary-main/10' ${className}`}
|
|
35
18
|
{...rest}
|
|
36
19
|
>
|
|
37
|
-
{iconVersion === 'small' ? (
|
|
38
|
-
<div className="mt-1">{renderIcon(isSecondaryBlock)}</div>
|
|
39
|
-
) : null}
|
|
20
|
+
{iconVersion === 'small' ? <div className="mt-1">{renderIcon()}</div> : null}
|
|
40
21
|
{iconVersion === 'big' ? renderImage(image) : null}
|
|
41
22
|
<div>
|
|
42
|
-
{title ? renderTitle(title
|
|
43
|
-
{description ? (
|
|
44
|
-
<div className="mt-1">{renderDescription(description, isSecondaryBlock)}</div>
|
|
45
|
-
) : null}
|
|
23
|
+
{title ? renderTitle(title) : null}
|
|
24
|
+
{description ? <div className="mt-1">{renderDescription(description)}</div> : null}
|
|
46
25
|
{__html ? <RichText __html={__html} /> : null}
|
|
47
26
|
</div>
|
|
48
27
|
</BlockWrapper>
|
|
@@ -50,11 +29,9 @@ export const TextBlock = JSX<TextBlockProps>(
|
|
|
50
29
|
},
|
|
51
30
|
);
|
|
52
31
|
|
|
53
|
-
const renderIcon = (
|
|
32
|
+
const renderIcon = () => (
|
|
54
33
|
<div
|
|
55
|
-
className={`rounded-full h-4 w-4 text-center text-xs-light
|
|
56
|
-
isSecondaryBlock ? 'bg-white text-primary-main' : 'bg-primary-main text-white'
|
|
57
|
-
}`}
|
|
34
|
+
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`}
|
|
58
35
|
>
|
|
59
36
|
i
|
|
60
37
|
</div>
|
|
@@ -62,18 +39,14 @@ const renderIcon = (isSecondaryBlock: boolean) => (
|
|
|
62
39
|
|
|
63
40
|
const renderImage = (image?: Picture) => (image?.src ? <Img image={image} /> : null);
|
|
64
41
|
|
|
65
|
-
const renderTitle = (title: string
|
|
66
|
-
<Text
|
|
67
|
-
size="text-l"
|
|
68
|
-
font="font-medium"
|
|
69
|
-
color={isSecondaryBlock ? 'text-white' : 'text-primary-text'}
|
|
70
|
-
>
|
|
42
|
+
const renderTitle = (title: string) => (
|
|
43
|
+
<Text size="text-l" font="font-medium" color="text-primary-text group-data-secondary:text-white">
|
|
71
44
|
{title}
|
|
72
45
|
</Text>
|
|
73
46
|
);
|
|
74
47
|
|
|
75
|
-
const renderDescription = (description: string
|
|
76
|
-
<Paragraph size="text-s" color=
|
|
48
|
+
const renderDescription = (description: string) => (
|
|
49
|
+
<Paragraph size="text-s" color="text-secondary-text group-data-secondary:text-white">
|
|
77
50
|
{description}
|
|
78
51
|
</Paragraph>
|
|
79
52
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
3
3
|
import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -12,15 +12,15 @@ export type TextBlockVersion = 'primary' | 'secondary' | 'secondary-light';
|
|
|
12
12
|
* @title Размер иконки
|
|
13
13
|
* @enumNames ["Нет", "Маленькая", "Большая"]
|
|
14
14
|
*/
|
|
15
|
-
|
|
15
|
+
type TextBlockIconVersion = 'none' | 'small' | 'big';
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* @title Текстовый блок
|
|
19
19
|
*/
|
|
20
20
|
export type TextBlockContent = HeadlineCommonProps &
|
|
21
|
-
RichTextProps &
|
|
21
|
+
RichTextProps &
|
|
22
|
+
ImageContent & {
|
|
22
23
|
iconVersion?: TextBlockIconVersion;
|
|
23
|
-
image?: Picture;
|
|
24
24
|
blockVersion?: TextBlockVersion;
|
|
25
25
|
/** @title Буллиты */ // TODO: mobile prop
|
|
26
26
|
isDotted?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
2
2
|
import type { Picture } from '../../model/Picture';
|
|
3
3
|
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
4
4
|
import type { HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
|
|
@@ -10,7 +10,8 @@ import type { TagsContent } from '../../ui-kit/Tags/TagsContent';
|
|
|
10
10
|
/**
|
|
11
11
|
* @title Плитка
|
|
12
12
|
*/
|
|
13
|
-
export type TileContent =
|
|
13
|
+
export type TileContent = UniBlockContent &
|
|
14
|
+
HeadingCommonProps &
|
|
14
15
|
RichTextProps &
|
|
15
16
|
ListContent &
|
|
16
17
|
ButtonContent &
|
|
@@ -36,5 +37,4 @@ export type TileContent = HeadingCommonProps &
|
|
|
36
37
|
*/
|
|
37
38
|
isDotted?: boolean;
|
|
38
39
|
listItemSize?: ListItemSize;
|
|
39
|
-
version?: BlockVersion;
|
|
40
40
|
};
|