@redneckz/wildless-cms-uni-blocks 0.3.30 → 0.3.33
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/README.md +1 -1
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +184 -129
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/Accordion/Accordion.js +2 -6
- package/dist/components/Accordion/Accordion.js.map +1 -1
- package/dist/components/Accordion/AccordionContent.d.ts +3 -3
- package/dist/components/Accordion/AccordionItem.js +5 -12
- package/dist/components/Accordion/AccordionItem.js.map +1 -1
- package/dist/components/Accordion/AccordionItem.mobile.js +7 -4
- package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
- package/dist/components/Accordion/AccordionItemInner.js +2 -2
- package/dist/components/Accordion/AccordionItemInner.js.map +1 -1
- package/dist/components/Accordion/AccordionItemInner.mobile.js +2 -3
- package/dist/components/Accordion/AccordionItemInner.mobile.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js +2 -2
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
- package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +2 -3
- package/dist/components/ComparisonTable/HeaderCell.d.ts +1 -2
- package/dist/components/ComparisonTable/HeaderCell.js +1 -2
- package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/dist/components/ComparisonTable/HeaderCell.mobile.d.ts +1 -2
- package/dist/components/ComparisonTable/HeaderCell.mobile.js +2 -3
- package/dist/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
- package/dist/components/CreditCalculator/defaultTabs.js +3 -3
- package/dist/components/CreditCalculator/defaultTabs.js.map +1 -1
- package/dist/components/ExchangeRateTile/CurrencyTable.js +2 -2
- package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/dist/components/ExchangeRateTile/CurrentLocation.js +2 -2
- package/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +2 -2
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/FooterContent.d.ts +2 -2
- package/dist/components/Footer/MediaButton.js +17 -5
- package/dist/components/Footer/MediaButton.js.map +1 -1
- package/dist/components/Footer/SocialMedia.js +1 -1
- package/dist/components/Footer/SocialMedia.js.map +1 -1
- package/dist/components/Gallery/Gallery.mobile.js +1 -2
- package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
- package/dist/components/Gallery/GalleryCardInner.js +1 -2
- package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/dist/components/Header/Header.js +1 -1
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/HeaderBurger.js +3 -3
- package/dist/components/Header/HeaderBurger.js.map +1 -1
- package/dist/components/Header/HeaderContent.d.ts +3 -3
- package/dist/components/Header/HeaderSecondaryMenu.js +2 -2
- package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/dist/components/Header/HeaderTop.js +2 -2
- package/dist/components/Header/HeaderTop.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.js +1 -1
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -2
- package/dist/components/LinkDocs/LinkDocsList.d.ts +2 -2
- package/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +2 -2
- package/dist/components/LinkDocs/LinkDocsListItemBase.js +2 -2
- package/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +2 -2
- package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/OtherProducts/OtherProductsContent.d.ts +3 -12
- package/dist/components/PictureText/PictureText.js +8 -5
- package/dist/components/PictureText/PictureText.js.map +1 -1
- package/dist/components/PictureText/PictureTextContent.d.ts +7 -0
- package/dist/components/ProductBlock/ProductBlock.js +2 -2
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +4 -3
- package/dist/components/ProductBlock/ProductBlockInner.js +4 -4
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductBlock/renderBenefit.js +2 -2
- package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
- package/dist/components/ProductBlock/renderBenefit.mobile.js +2 -2
- package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +2 -5
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
- package/dist/components/ProductGallery/ProductGalleryBlock.js +7 -2
- package/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/dist/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +1 -1
- package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js +7 -2
- package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
- package/dist/components/ProductGalleryGreen/ProductGalleryGreen.js +33 -14
- package/dist/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
- package/dist/components/ProductGalleryGreen/ProductGalleryGreenContent.d.ts +2 -0
- package/dist/components/Recommendation/Recommendation.js +2 -2
- package/dist/components/Recommendation/Recommendation.js.map +1 -1
- package/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
- package/dist/components/Recommendation/RecommendationCard.js +3 -3
- package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
- package/dist/components/Recommendation/RecommendationContent.d.ts +4 -2
- package/dist/components/StepsBlock/StepsBlock.js +10 -4
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +13 -6
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlockContent.d.ts +4 -3
- package/dist/components/TariffsTable/TableTileHeader.js +2 -2
- package/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableCell.js +1 -2
- package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +2 -2
- package/dist/components/TariffsTable/TariffsTableRow.js +4 -4
- package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableTileCell.js +3 -4
- package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/dist/components/TextBlock/TextBlockContent.d.ts +1 -1
- package/dist/content-page-repository/transformContentPage.js +1 -1
- package/dist/content-page-repository/transformContentPage.js.map +1 -1
- package/dist/model/Picture.d.ts +3 -0
- package/dist/model/SitemapProps.d.ts +2 -2
- package/dist/services/sitemap/SitemapProps.d.ts +2 -2
- package/dist/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +8 -0
- package/dist/ui-kit/BlocksList/EmbeddableBlocks.mobile.js +17 -0
- package/dist/ui-kit/BlocksList/EmbeddableBlocks.mobile.js.map +1 -0
- package/dist/ui-kit/BlocksList/renderBlocksList.d.ts +2 -4
- package/dist/ui-kit/BlocksList/renderBlocksList.js +3 -3
- package/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
- package/dist/ui-kit/Button/ButtonInner.js +2 -2
- package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/dist/ui-kit/Button/ButtonProps.d.ts +2 -2
- package/dist/ui-kit/Button/ButtonSection.js +2 -2
- package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
- package/dist/ui-kit/Heading/Heading.js +1 -1
- package/dist/ui-kit/Heading/Heading.js.map +1 -1
- package/dist/ui-kit/Icon/Icon.js +1 -1
- package/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/dist/ui-kit/Icon/IconProps.d.ts +11 -3
- package/dist/ui-kit/Img/Img.d.ts +4 -7
- package/dist/ui-kit/Img/Img.js +27 -9
- package/dist/ui-kit/Img/Img.js.map +1 -1
- package/dist/ui-kit/Img/Img.mobile.d.ts +4 -7
- package/dist/ui-kit/Img/Img.mobile.js +12 -3
- package/dist/ui-kit/Img/Img.mobile.js.map +1 -1
- package/dist/ui-kit/Img/ImgProps.d.ts +6 -3
- package/dist/ui-kit/List/ListItem.js +2 -2
- package/dist/ui-kit/List/ListItem.js.map +1 -1
- package/dist/ui-kit/SearchBar/SearchBar.js +2 -2
- package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/dist/ui-kit/SearchBar/SearchBar.mobile.js +3 -3
- package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
- package/dist/ui-kit/SearchBar.mobile.js +2 -2
- package/dist/ui-kit/SearchBar.mobile.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js +7 -1
- package/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -1
- package/dist/ui-kit/Tabs/Tabs.js +2 -2
- package/dist/ui-kit/Tabs/Tabs.js.map +1 -1
- package/dist/ui-kit/Tabs/TabsProps.d.ts +2 -2
- package/lib/common.css +1 -1
- package/lib/components/Accordion/Accordion.js +2 -6
- package/lib/components/Accordion/Accordion.js.map +1 -1
- package/lib/components/Accordion/AccordionContent.d.ts +3 -3
- package/lib/components/Accordion/AccordionItem.js +5 -12
- package/lib/components/Accordion/AccordionItem.js.map +1 -1
- package/lib/components/Accordion/AccordionItem.mobile.js +7 -4
- package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
- package/lib/components/Accordion/AccordionItemInner.js +2 -2
- package/lib/components/Accordion/AccordionItemInner.js.map +1 -1
- package/lib/components/Accordion/AccordionItemInner.mobile.js +2 -3
- package/lib/components/Accordion/AccordionItemInner.mobile.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js +2 -2
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
- package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +2 -3
- package/lib/components/ComparisonTable/HeaderCell.d.ts +1 -2
- package/lib/components/ComparisonTable/HeaderCell.js +1 -2
- package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/lib/components/ComparisonTable/HeaderCell.mobile.d.ts +1 -2
- package/lib/components/ComparisonTable/HeaderCell.mobile.js +2 -3
- package/lib/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
- package/lib/components/CreditCalculator/defaultTabs.js +3 -3
- package/lib/components/CreditCalculator/defaultTabs.js.map +1 -1
- package/lib/components/ExchangeRateTile/CurrencyTable.js +2 -2
- package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/lib/components/ExchangeRateTile/CurrentLocation.js +2 -2
- package/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +2 -2
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/FooterContent.d.ts +2 -2
- package/lib/components/Footer/MediaButton.js +17 -5
- package/lib/components/Footer/MediaButton.js.map +1 -1
- package/lib/components/Footer/SocialMedia.js +1 -1
- package/lib/components/Footer/SocialMedia.js.map +1 -1
- package/lib/components/Gallery/Gallery.mobile.js +1 -2
- package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
- package/lib/components/Gallery/GalleryCardInner.js +1 -2
- package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/lib/components/Header/Header.js +1 -1
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/HeaderBurger.js +3 -3
- package/lib/components/Header/HeaderBurger.js.map +1 -1
- package/lib/components/Header/HeaderContent.d.ts +3 -3
- package/lib/components/Header/HeaderSecondaryMenu.js +2 -2
- package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/lib/components/Header/HeaderTop.js +2 -2
- package/lib/components/Header/HeaderTop.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.js +1 -1
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -2
- package/lib/components/LinkDocs/LinkDocsList.d.ts +2 -2
- package/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +2 -2
- package/lib/components/LinkDocs/LinkDocsListItemBase.js +2 -2
- package/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +2 -2
- package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/OtherProducts/OtherProductsContent.d.ts +3 -12
- package/lib/components/PictureText/PictureText.js +8 -5
- package/lib/components/PictureText/PictureText.js.map +1 -1
- package/lib/components/PictureText/PictureTextContent.d.ts +7 -0
- package/lib/components/ProductBlock/ProductBlock.js +2 -2
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +4 -3
- package/lib/components/ProductBlock/ProductBlockInner.js +4 -4
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductBlock/renderBenefit.js +2 -2
- package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
- package/lib/components/ProductBlock/renderBenefit.mobile.js +2 -2
- package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +2 -5
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
- package/lib/components/ProductGallery/ProductGalleryBlock.js +7 -2
- package/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/lib/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +1 -1
- package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js +7 -2
- package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
- package/lib/components/ProductGalleryGreen/ProductGalleryGreen.fixture.d.ts +1 -0
- package/lib/components/ProductGalleryGreen/ProductGalleryGreen.js +33 -14
- package/lib/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
- package/lib/components/ProductGalleryGreen/ProductGalleryGreenContent.d.ts +2 -0
- package/lib/components/Recommendation/Recommendation.js +2 -2
- package/lib/components/Recommendation/Recommendation.js.map +1 -1
- package/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
- package/lib/components/Recommendation/RecommendationCard.js +3 -3
- package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
- package/lib/components/Recommendation/RecommendationContent.d.ts +4 -2
- package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +1 -0
- package/lib/components/StepsBlock/StepsBlock.js +10 -4
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +13 -6
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlockContent.d.ts +4 -3
- package/lib/components/TariffsTable/TableTileHeader.js +2 -2
- package/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableCell.js +1 -2
- package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +2 -2
- package/lib/components/TariffsTable/TariffsTableRow.js +4 -4
- package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableTileCell.js +3 -4
- package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/lib/components/TextBlock/TextBlockContent.d.ts +1 -1
- package/lib/content-page-repository/transformContentPage.js +1 -1
- package/lib/content-page-repository/transformContentPage.js.map +1 -1
- package/lib/model/Picture.d.ts +3 -0
- package/lib/model/SitemapProps.d.ts +2 -2
- package/lib/services/sitemap/SitemapProps.d.ts +2 -2
- package/lib/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +8 -0
- package/lib/ui-kit/BlocksList/EmbeddableBlocks.mobile.js +15 -0
- package/lib/ui-kit/BlocksList/EmbeddableBlocks.mobile.js.map +1 -0
- package/lib/ui-kit/BlocksList/renderBlocksList.d.ts +2 -4
- package/lib/ui-kit/BlocksList/renderBlocksList.js +3 -3
- package/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
- package/lib/ui-kit/Button/ButtonInner.js +2 -2
- package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/lib/ui-kit/Button/ButtonProps.d.ts +2 -2
- package/lib/ui-kit/Button/ButtonSection.js +2 -2
- package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
- package/lib/ui-kit/Heading/Heading.js +1 -1
- package/lib/ui-kit/Heading/Heading.js.map +1 -1
- package/lib/ui-kit/Icon/Icon.js +1 -1
- package/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/lib/ui-kit/Icon/IconProps.d.ts +11 -3
- package/lib/ui-kit/Img/Img.d.ts +4 -7
- package/lib/ui-kit/Img/Img.js +26 -8
- package/lib/ui-kit/Img/Img.js.map +1 -1
- package/lib/ui-kit/Img/Img.mobile.d.ts +4 -7
- package/lib/ui-kit/Img/Img.mobile.js +11 -2
- package/lib/ui-kit/Img/Img.mobile.js.map +1 -1
- package/lib/ui-kit/Img/ImgProps.d.ts +6 -3
- package/lib/ui-kit/List/ListItem.js +2 -2
- package/lib/ui-kit/List/ListItem.js.map +1 -1
- package/lib/ui-kit/SearchBar/SearchBar.js +2 -2
- package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/lib/ui-kit/SearchBar/SearchBar.mobile.js +3 -3
- package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
- package/lib/ui-kit/SearchBar.mobile.js +2 -2
- package/lib/ui-kit/SearchBar.mobile.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.d.ts +3 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +4 -1
- package/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js +7 -1
- package/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -1
- package/lib/ui-kit/Tabs/Tabs.js +2 -2
- package/lib/ui-kit/Tabs/Tabs.js.map +1 -1
- package/lib/ui-kit/Tabs/TabsProps.d.ts +2 -2
- package/mobile/bundle/bundle.umd.js +141 -217
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/Accordion/AccordionContent.d.ts +3 -3
- package/mobile/dist/components/Accordion/AccordionItem.js +7 -4
- package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
- package/mobile/dist/components/Accordion/AccordionItemInner.js +2 -3
- package/mobile/dist/components/Accordion/AccordionItemInner.js.map +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +2 -2
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
- package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +2 -3
- package/mobile/dist/components/ComparisonTable/HeaderCell.d.ts +1 -2
- package/mobile/dist/components/ComparisonTable/HeaderCell.js +2 -3
- package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/mobile/dist/components/CreditCalculator/defaultTabs.js +3 -3
- package/mobile/dist/components/CreditCalculator/defaultTabs.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +2 -2
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +2 -2
- package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
- package/mobile/dist/components/Footer/Footer.js +2 -2
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/FooterContent.d.ts +2 -2
- package/mobile/dist/components/Footer/MediaButton.js +17 -5
- package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
- package/mobile/dist/components/Gallery/Gallery.js +1 -2
- package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.js +1 -2
- package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/dist/components/Header/HeaderBurger.js +3 -3
- package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
- package/mobile/dist/components/Header/HeaderContent.d.ts +3 -3
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js +2 -2
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderTop.js +2 -2
- package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -2
- package/mobile/dist/components/LinkDocs/LinkDocsList.d.ts +2 -2
- package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +2 -2
- package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js +2 -2
- package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +2 -2
- package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +3 -12
- package/mobile/dist/components/PictureText/PictureText.js +8 -5
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
- package/mobile/dist/components/PictureText/PictureTextContent.d.ts +7 -0
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +4 -3
- package/mobile/dist/components/ProductBlock/renderBenefit.js +2 -2
- package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +7 -2
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/mobile/dist/components/ProductGalleryGreen/ProductGalleryGreen.js +33 -14
- package/mobile/dist/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
- package/mobile/dist/components/ProductGalleryGreen/ProductGalleryGreenContent.d.ts +2 -0
- package/mobile/dist/components/Recommendation/Recommendation.js +2 -2
- package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
- package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
- package/mobile/dist/components/Recommendation/RecommendationCard.js +3 -3
- package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
- package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +4 -2
- package/mobile/dist/components/StepsBlock/StepsBlock.js +13 -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/TariffsTable/TableTileHeader.js +2 -2
- package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js +1 -2
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +2 -2
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js +4 -4
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +3 -4
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +1 -1
- package/mobile/dist/content-page-repository/transformContentPage.js +1 -1
- package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
- package/mobile/dist/model/Picture.d.ts +3 -0
- package/mobile/dist/model/SitemapProps.d.ts +2 -2
- package/mobile/dist/services/sitemap/SitemapProps.d.ts +2 -2
- package/mobile/dist/ui-kit/BlocksList/EmbeddableBlocks.d.ts +0 -4
- package/mobile/dist/ui-kit/BlocksList/EmbeddableBlocks.js +0 -8
- package/mobile/dist/ui-kit/BlocksList/EmbeddableBlocks.js.map +1 -1
- package/mobile/dist/ui-kit/BlocksList/renderBlocksList.d.ts +2 -4
- package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js +3 -3
- package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js +2 -2
- package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +2 -2
- package/mobile/dist/ui-kit/Button/ButtonSection.js +2 -2
- package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
- package/mobile/dist/ui-kit/Icon/Icon.js +1 -1
- package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/dist/ui-kit/Icon/IconProps.d.ts +11 -3
- package/mobile/dist/ui-kit/Img/Img.d.ts +4 -7
- package/mobile/dist/ui-kit/Img/Img.js +12 -3
- package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
- package/mobile/dist/ui-kit/Img/ImgProps.d.ts +6 -3
- package/mobile/dist/ui-kit/List/ListItem.js +2 -2
- package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js +3 -3
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js +7 -1
- package/mobile/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -1
- package/mobile/dist/ui-kit/Tabs/Tabs.js +2 -2
- package/mobile/dist/ui-kit/Tabs/Tabs.js.map +1 -1
- package/mobile/dist/ui-kit/Tabs/TabsProps.d.ts +2 -2
- package/mobile/lib/components/Accordion/AccordionContent.d.ts +3 -3
- package/mobile/lib/components/Accordion/AccordionItem.js +7 -4
- package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
- package/mobile/lib/components/Accordion/AccordionItemInner.js +2 -3
- package/mobile/lib/components/Accordion/AccordionItemInner.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +2 -2
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
- package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +2 -3
- package/mobile/lib/components/ComparisonTable/HeaderCell.d.ts +1 -2
- package/mobile/lib/components/ComparisonTable/HeaderCell.js +2 -3
- package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/mobile/lib/components/CreditCalculator/defaultTabs.js +3 -3
- package/mobile/lib/components/CreditCalculator/defaultTabs.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +2 -2
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +2 -2
- package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
- package/mobile/lib/components/Footer/Footer.js +2 -2
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/FooterContent.d.ts +2 -2
- package/mobile/lib/components/Footer/MediaButton.js +17 -5
- package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
- package/mobile/lib/components/Gallery/Gallery.js +1 -2
- package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.js +1 -2
- package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/lib/components/Header/HeaderBurger.js +3 -3
- package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
- package/mobile/lib/components/Header/HeaderContent.d.ts +3 -3
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js +2 -2
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderTop.js +2 -2
- package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -2
- package/mobile/lib/components/LinkDocs/LinkDocsList.d.ts +2 -2
- package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +2 -2
- package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js +2 -2
- package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +2 -2
- package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +3 -12
- package/mobile/lib/components/PictureText/PictureText.js +8 -5
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
- package/mobile/lib/components/PictureText/PictureTextContent.d.ts +7 -0
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +4 -3
- package/mobile/lib/components/ProductBlock/renderBenefit.js +2 -2
- package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +7 -2
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/mobile/lib/components/ProductGalleryGreen/ProductGalleryGreen.js +33 -14
- package/mobile/lib/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
- package/mobile/lib/components/ProductGalleryGreen/ProductGalleryGreenContent.d.ts +2 -0
- package/mobile/lib/components/Recommendation/Recommendation.js +2 -2
- package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
- package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
- package/mobile/lib/components/Recommendation/RecommendationCard.js +3 -3
- package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
- package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +4 -2
- package/mobile/lib/components/StepsBlock/StepsBlock.js +13 -6
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +4 -3
- package/mobile/lib/components/TariffsTable/TableTileHeader.js +2 -2
- package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js +1 -2
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +2 -2
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js +4 -4
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +3 -4
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +1 -1
- package/mobile/lib/content-page-repository/transformContentPage.js +1 -1
- package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
- package/mobile/lib/model/Picture.d.ts +3 -0
- package/mobile/lib/model/SitemapProps.d.ts +2 -2
- package/mobile/lib/services/sitemap/SitemapProps.d.ts +2 -2
- package/mobile/lib/ui-kit/BlocksList/EmbeddableBlocks.d.ts +0 -4
- package/mobile/lib/ui-kit/BlocksList/EmbeddableBlocks.js +0 -8
- package/mobile/lib/ui-kit/BlocksList/EmbeddableBlocks.js.map +1 -1
- package/mobile/lib/ui-kit/BlocksList/renderBlocksList.d.ts +2 -4
- package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js +3 -3
- package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js +2 -2
- package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +2 -2
- package/mobile/lib/ui-kit/Button/ButtonSection.js +2 -2
- package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
- package/mobile/lib/ui-kit/Icon/Icon.js +1 -1
- package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/lib/ui-kit/Icon/IconProps.d.ts +11 -3
- package/mobile/lib/ui-kit/Img/Img.d.ts +4 -7
- package/mobile/lib/ui-kit/Img/Img.js +11 -2
- package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
- package/mobile/lib/ui-kit/Img/ImgProps.d.ts +6 -3
- package/mobile/lib/ui-kit/List/ListItem.js +2 -2
- package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js +3 -3
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js +7 -1
- package/mobile/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -1
- package/mobile/lib/ui-kit/Tabs/Tabs.js +2 -2
- package/mobile/lib/ui-kit/Tabs/Tabs.js.map +1 -1
- package/mobile/lib/ui-kit/Tabs/TabsProps.d.ts +2 -2
- package/mobile/src/components/Accordion/Accordion.example.json +9 -0
- package/mobile/src/components/Accordion/AccordionContent.ts +4 -5
- package/mobile/src/components/Accordion/AccordionItem.tsx +33 -28
- package/mobile/src/components/Accordion/AccordionItemInner.tsx +8 -11
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.example.json +6 -2
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +5 -5
- package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -2
- package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +2 -3
- package/mobile/src/components/ComparisonTable/HeaderCell.tsx +6 -8
- package/mobile/src/components/ContentPage/ContentPage.page.json +267 -82
- package/mobile/src/components/CreditCalculator/CreditCalculator.example.json +9 -3
- package/mobile/src/components/CreditCalculator/defaultTabs.ts +3 -3
- package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +2 -2
- package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +2 -2
- package/mobile/src/components/Footer/Footer.tsx +2 -2
- package/mobile/src/components/Footer/FooterContent.ts +2 -2
- package/mobile/src/components/Footer/MediaButton.tsx +22 -10
- package/mobile/src/components/Gallery/Gallery.tsx +2 -3
- package/mobile/src/components/Gallery/GalleryCardInner.tsx +2 -3
- package/mobile/src/components/Header/Header.example.json +3 -0
- package/mobile/src/components/Header/HeaderBurger.tsx +5 -5
- package/mobile/src/components/Header/HeaderContent.ts +3 -3
- package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +5 -5
- package/mobile/src/components/Header/HeaderTop.tsx +3 -3
- package/mobile/src/components/LinkDocs/LinkDocs.example.json +3 -1
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +1 -1
- package/mobile/src/components/LinkDocs/LinkDocsContent.ts +2 -2
- package/mobile/src/components/LinkDocs/LinkDocsList.tsx +2 -2
- package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +4 -4
- package/mobile/src/components/LinkDocs/LinkDocsVerticalList.tsx +2 -2
- package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +6 -2
- package/mobile/src/components/OtherProducts/OtherProductsContent.ts +3 -12
- package/mobile/src/components/PictureText/PictureText.example.json +8 -2
- package/mobile/src/components/PictureText/PictureText.tsx +37 -12
- package/mobile/src/components/PictureText/PictureTextContent.ts +7 -0
- package/mobile/src/components/ProductBlock/ProductBlock.example.json +11 -3
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +4 -3
- package/mobile/src/components/ProductBlock/renderBenefit.tsx +5 -5
- package/mobile/src/components/ProductGallery/ProductGallery.example.json +22 -1
- package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +14 -4
- package/mobile/src/components/ProductGalleryGreen/ProductGalleryGreen.example.json +2 -1
- package/mobile/src/components/ProductGalleryGreen/ProductGalleryGreen.tsx +51 -28
- package/mobile/src/components/ProductGalleryGreen/ProductGalleryGreenContent.ts +2 -0
- package/mobile/src/components/Recommendation/Recommendation.example.json +18 -3
- package/mobile/src/components/Recommendation/Recommendation.tsx +6 -6
- package/mobile/src/components/Recommendation/RecommendationCard.tsx +21 -12
- package/mobile/src/components/Recommendation/RecommendationContent.ts +6 -4
- package/mobile/src/components/StepsBlock/StepsBlock.example.json +9 -3
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +19 -9
- package/mobile/src/components/StepsBlock/StepsBlockContent.ts +4 -3
- package/mobile/src/components/TariffsTable/TableTileHeader.tsx +2 -2
- package/mobile/src/components/TariffsTable/TariffsTable.example.json +12 -4
- package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +2 -3
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +2 -2
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +7 -7
- package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +4 -5
- package/mobile/src/components/TextBlock/TextBlockContent.ts +1 -1
- package/mobile/src/content-page-repository/transformContentPage.ts +1 -1
- package/mobile/src/model/Picture.ts +4 -0
- package/mobile/src/model/SitemapProps.ts +2 -2
- package/mobile/src/services/sitemap/SitemapProps.ts +2 -2
- package/mobile/src/ui-kit/BlocksList/EmbeddableBlocks.tsx +0 -8
- package/mobile/src/ui-kit/BlocksList/renderBlocksList.tsx +4 -12
- package/mobile/src/ui-kit/Button/ButtonInner.tsx +3 -3
- package/mobile/src/ui-kit/Button/ButtonProps.ts +2 -2
- package/mobile/src/ui-kit/Button/ButtonSection.tsx +2 -2
- package/mobile/src/ui-kit/Icon/Icon.tsx +1 -1
- package/mobile/src/ui-kit/Icon/IconProps.ts +12 -3
- package/mobile/src/ui-kit/Img/Img.tsx +38 -22
- package/mobile/src/ui-kit/Img/ImgProps.ts +7 -4
- package/mobile/src/ui-kit/List/ListItem.tsx +2 -2
- package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +3 -3
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
- package/mobile/src/ui-kit/SwipeListControl/utils/getScrollPoints.spec.ts +18 -0
- package/mobile/src/ui-kit/SwipeListControl/utils/getScrollPoints.ts +10 -2
- package/mobile/src/ui-kit/Tabs/Tabs.tsx +2 -2
- package/mobile/src/ui-kit/Tabs/TabsProps.ts +2 -2
- package/package.json +2 -3
- package/src/components/Accordion/Accordion.example.json +9 -0
- package/src/components/Accordion/Accordion.fixture.mobile.tsx +3 -0
- package/src/components/Accordion/Accordion.fixture.tsx +2 -0
- package/src/components/Accordion/Accordion.tsx +4 -17
- package/src/components/Accordion/AccordionContent.ts +4 -5
- package/src/components/Accordion/AccordionItem.mobile.tsx +33 -28
- package/src/components/Accordion/AccordionItem.tsx +24 -50
- package/src/components/Accordion/AccordionItemInner.mobile.tsx +8 -11
- package/src/components/Accordion/AccordionItemInner.tsx +8 -10
- package/src/components/BenefitsBlock/BenefitsBlock.example.json +6 -2
- package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +4 -4
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +5 -5
- package/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -2
- package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +3 -3
- package/src/components/ComparisonTable/ComparisonTableContent.ts +2 -3
- package/src/components/ComparisonTable/HeaderCell.mobile.tsx +6 -8
- package/src/components/ComparisonTable/HeaderCell.tsx +3 -5
- package/src/components/ContentPage/ContentPage.page.json +267 -82
- package/src/components/CreditCalculator/CreditCalculator.example.json +9 -3
- package/src/components/CreditCalculator/CreditCalculator.fixture.tsx +3 -3
- package/src/components/CreditCalculator/defaultTabs.ts +3 -3
- package/src/components/ExchangeRateTile/CurrencyTable.tsx +2 -2
- package/src/components/ExchangeRateTile/CurrentLocation.tsx +2 -2
- package/src/components/Footer/Footer.mobile.tsx +2 -2
- package/src/components/Footer/FooterContent.ts +2 -2
- package/src/components/Footer/MediaButton.tsx +22 -10
- package/src/components/Footer/SocialMedia.tsx +1 -1
- package/src/components/Gallery/Gallery.fixture.mobile.tsx +1 -1
- package/src/components/Gallery/Gallery.fixture.tsx +1 -1
- package/src/components/Gallery/Gallery.mobile.tsx +2 -3
- package/src/components/Gallery/GalleryCardInner.tsx +2 -3
- package/src/components/Header/Header.example.json +3 -0
- package/src/components/Header/Header.tsx +8 -1
- package/src/components/Header/HeaderBurger.tsx +5 -5
- package/src/components/Header/HeaderContent.ts +3 -3
- package/src/components/Header/HeaderSecondaryMenu.tsx +5 -5
- package/src/components/Header/HeaderTop.tsx +3 -3
- package/src/components/LinkDocs/LinkDocs.example.json +3 -1
- package/src/components/LinkDocs/LinkDocs.fixture.tsx +7 -2
- package/src/components/LinkDocs/LinkDocs.mobile.tsx +1 -1
- package/src/components/LinkDocs/LinkDocs.tsx +1 -1
- package/src/components/LinkDocs/LinkDocsContent.ts +2 -2
- package/src/components/LinkDocs/LinkDocsList.tsx +2 -2
- package/src/components/LinkDocs/LinkDocsListItemBase.tsx +4 -4
- package/src/components/LinkDocs/LinkDocsVerticalList.tsx +2 -2
- package/src/components/MobileAppTile/MobileAppTile.example.json +6 -2
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +2 -2
- package/src/components/MobileAppTile/MobileAppTile.tsx +3 -3
- package/src/components/OtherProducts/OtherProducts.fixture.tsx +61 -6
- package/src/components/OtherProducts/OtherProductsContent.ts +3 -12
- package/src/components/PictureText/PictureText.example.json +8 -2
- package/src/components/PictureText/PictureText.fixture.tsx +2 -2
- package/src/components/PictureText/PictureText.tsx +37 -12
- package/src/components/PictureText/PictureTextContent.ts +7 -0
- package/src/components/ProductBlock/ProductBlock.example.json +11 -3
- package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +3 -3
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +7 -7
- package/src/components/ProductBlock/ProductBlock.tsx +2 -4
- package/src/components/ProductBlock/ProductBlockContent.ts +4 -3
- package/src/components/ProductBlock/ProductBlockInner.tsx +8 -11
- package/src/components/ProductBlock/renderBenefit.mobile.tsx +5 -5
- package/src/components/ProductBlock/renderBenefit.tsx +5 -5
- package/src/components/ProductGallery/ProductGallery.example.json +22 -1
- package/src/components/ProductGallery/ProductGallery.fixture.tsx +106 -104
- package/src/components/ProductGallery/ProductGallery.tsx +4 -17
- package/src/components/ProductGallery/ProductGalleryBlock.mobile.tsx +14 -4
- package/src/components/ProductGallery/ProductGalleryBlock.tsx +15 -4
- package/src/components/ProductGalleryGreen/ProductGalleryGreen.example.json +2 -1
- package/src/components/ProductGalleryGreen/ProductGalleryGreen.fixture.tsx +74 -2
- package/src/components/ProductGalleryGreen/ProductGalleryGreen.tsx +51 -28
- package/src/components/ProductGalleryGreen/ProductGalleryGreenContent.ts +2 -0
- package/src/components/Recommendation/Recommendation.example.json +18 -3
- package/src/components/Recommendation/Recommendation.fixture.tsx +15 -5
- package/src/components/Recommendation/Recommendation.tsx +6 -6
- package/src/components/Recommendation/RecommendationCard.tsx +21 -12
- package/src/components/Recommendation/RecommendationContent.ts +6 -4
- package/src/components/StepsBlock/StepsBlock.example.json +9 -3
- package/src/components/StepsBlock/StepsBlock.fixture.mobile.tsx +14 -14
- package/src/components/StepsBlock/StepsBlock.fixture.tsx +14 -0
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +19 -9
- package/src/components/StepsBlock/StepsBlock.tsx +15 -8
- package/src/components/StepsBlock/StepsBlockContent.ts +4 -3
- package/src/components/TariffsTable/TableTileHeader.tsx +2 -2
- package/src/components/TariffsTable/TariffsTable.example.json +12 -4
- package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +6 -9
- package/src/components/TariffsTable/TariffsTable.fixture.tsx +5 -5
- package/src/components/TariffsTable/TariffsTableCell.tsx +2 -3
- package/src/components/TariffsTable/TariffsTableContent.ts +2 -2
- package/src/components/TariffsTable/TariffsTableRow.tsx +7 -7
- package/src/components/TariffsTable/TariffsTableTileCell.tsx +4 -5
- package/src/components/TextBlock/TextBlockContent.ts +1 -1
- package/src/content-page-repository/transformContentPage.ts +1 -1
- package/src/model/Picture.ts +4 -0
- package/src/model/SitemapProps.ts +2 -2
- package/src/services/sitemap/SitemapProps.ts +2 -2
- package/src/ui-kit/BlocksList/EmbeddableBlocks.mobile.tsx +15 -0
- package/src/ui-kit/BlocksList/renderBlocksList.tsx +4 -12
- package/src/ui-kit/Button/Button.fixture.tsx +5 -5
- package/src/ui-kit/Button/ButtonInner.tsx +3 -3
- package/src/ui-kit/Button/ButtonProps.ts +2 -2
- package/src/ui-kit/Button/ButtonSection.tsx +2 -2
- package/src/ui-kit/Heading/Heading.tsx +1 -3
- package/src/ui-kit/Icon/Icon.tsx +1 -1
- package/src/ui-kit/Icon/IconProps.ts +12 -3
- package/src/ui-kit/Img/Img.mobile.tsx +38 -22
- package/src/ui-kit/Img/Img.tsx +50 -23
- package/src/ui-kit/Img/ImgProps.ts +7 -4
- package/src/ui-kit/List/ListItem.tsx +2 -2
- package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +3 -3
- package/src/ui-kit/SearchBar/SearchBar.tsx +2 -2
- package/src/ui-kit/SearchBar.mobile.tsx +2 -2
- package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +24 -6
- package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
- package/src/ui-kit/SwipeListControl/utils/getScrollPoints.spec.ts +18 -0
- package/src/ui-kit/SwipeListControl/utils/getScrollPoints.ts +10 -2
- package/src/ui-kit/Tabs/Tabs.tsx +2 -2
- package/src/ui-kit/Tabs/TabsProps.ts +2 -2
|
@@ -3,13 +3,24 @@ import { PRODUCT_BLOCK } from '../ProductBlock/ProductBlock.fixture';
|
|
|
3
3
|
import { PRODUCT_TILE, PRODUCT_PENSION_TILE } from '../ProductTile/ProductTile.fixture';
|
|
4
4
|
import { TEXT_BLOCK } from '../TextBlock/TextBlock.fixture';
|
|
5
5
|
import { TILE, TILE_PREMIUM } from '../Tile/Tile.fixture';
|
|
6
|
-
import
|
|
6
|
+
import { HEADLINE } from '../Headline/Headline.fixture';
|
|
7
|
+
import { PICTURE_TEXT } from '../PictureText/PictureText.fixture';
|
|
8
|
+
import { linkDocsContentExample } from '../LinkDocs/linkDocsContentExample';
|
|
9
|
+
import { defaultProps as GALLERY } from '../Gallery/Gallery.fixture';
|
|
10
|
+
import { defaultProps as MINI_GALLERY } from '../MiniGallery/MiniGallery.fixture';
|
|
7
11
|
import { OtherProducts } from './OtherProducts';
|
|
12
|
+
import type { OtherProductsProps } from './OtherProducts';
|
|
13
|
+
|
|
8
14
|
import type {
|
|
9
15
|
ProductBlockBlockListDef,
|
|
10
16
|
ProductTileBlockListDef,
|
|
11
17
|
TextBlockBlockListDef,
|
|
12
18
|
TileBlockListDef,
|
|
19
|
+
GalleryBlockListDef,
|
|
20
|
+
HeadlineBlockListDef,
|
|
21
|
+
LinkDocsBlockListDef,
|
|
22
|
+
MiniGalleryBlockListDef,
|
|
23
|
+
PictureTextBlockListDef,
|
|
13
24
|
} from '../../ui-kit/BlocksList/BlocksListProps';
|
|
14
25
|
|
|
15
26
|
const TEXT_BLOCK_OTHER_BLOCK: TextBlockBlockListDef = {
|
|
@@ -42,11 +53,36 @@ const PRODUCT_PENSION_TILES__OTHER_BLOCK: ProductTileBlockListDef = {
|
|
|
42
53
|
...PRODUCT_PENSION_TILE,
|
|
43
54
|
};
|
|
44
55
|
|
|
56
|
+
const HEADLINE_OTHER_BLOCK: HeadlineBlockListDef = {
|
|
57
|
+
blockListType: 'Headline',
|
|
58
|
+
...HEADLINE,
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
const PICTURE_TEXT_OTHER_BLOCK: PictureTextBlockListDef = {
|
|
62
|
+
blockListType: 'PictureText',
|
|
63
|
+
...PICTURE_TEXT,
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
const LINK_DOCS_OTHER_BLOCK: LinkDocsBlockListDef = {
|
|
67
|
+
blockListType: 'LinkDocs',
|
|
68
|
+
...linkDocsContentExample,
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
const GALLERY_OTHER_BLOCK: GalleryBlockListDef = {
|
|
72
|
+
blockListType: 'Gallery',
|
|
73
|
+
...GALLERY,
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
const MINI_GALLERY_OTHER_BLOCK: MiniGalleryBlockListDef = {
|
|
77
|
+
blockListType: 'MiniGallery',
|
|
78
|
+
...MINI_GALLERY,
|
|
79
|
+
};
|
|
80
|
+
|
|
45
81
|
const propsBlock: OtherProductsProps = {
|
|
46
82
|
context,
|
|
47
83
|
blockItems: [
|
|
48
84
|
{
|
|
49
|
-
label: '
|
|
85
|
+
label: 'OtherProducts №1 Tiles',
|
|
50
86
|
blocks: [
|
|
51
87
|
TILES_PREMIUM_OTHER_BLOCK,
|
|
52
88
|
TILES_PREMIUM_OTHER_BLOCK,
|
|
@@ -55,7 +91,7 @@ const propsBlock: OtherProductsProps = {
|
|
|
55
91
|
],
|
|
56
92
|
},
|
|
57
93
|
{
|
|
58
|
-
label: '
|
|
94
|
+
label: 'OtherProducts №2 Product_Tiles',
|
|
59
95
|
blocks: [
|
|
60
96
|
PRODUCT_TILES_OTHER_BLOCK,
|
|
61
97
|
PRODUCT_TILES_OTHER_BLOCK,
|
|
@@ -64,12 +100,11 @@ const propsBlock: OtherProductsProps = {
|
|
|
64
100
|
],
|
|
65
101
|
},
|
|
66
102
|
{
|
|
67
|
-
label: '
|
|
103
|
+
label: 'OtherProducts №3 Product_Block',
|
|
68
104
|
blocks: [PRODUCT_BLOCK_OTHER_BLOCK, PRODUCT_BLOCK_OTHER_BLOCK],
|
|
69
105
|
},
|
|
70
|
-
|
|
71
106
|
{
|
|
72
|
-
label: '
|
|
107
|
+
label: 'OtherProducts №4 Text_Block',
|
|
73
108
|
blocks: [
|
|
74
109
|
TEXT_BLOCK_OTHER_BLOCK,
|
|
75
110
|
TEXT_BLOCK_OTHER_BLOCK,
|
|
@@ -77,6 +112,26 @@ const propsBlock: OtherProductsProps = {
|
|
|
77
112
|
TEXT_BLOCK_OTHER_BLOCK,
|
|
78
113
|
],
|
|
79
114
|
},
|
|
115
|
+
{
|
|
116
|
+
label: 'OtherProducts №5 Picture_Text',
|
|
117
|
+
blocks: [PICTURE_TEXT_OTHER_BLOCK],
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
label: 'OtherProducts №6 Headline',
|
|
121
|
+
blocks: [HEADLINE_OTHER_BLOCK],
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
label: 'OtherProducts №7 Link_Docs',
|
|
125
|
+
blocks: [LINK_DOCS_OTHER_BLOCK],
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
label: 'OtherProducts №8 Gallery',
|
|
129
|
+
blocks: [GALLERY_OTHER_BLOCK],
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
label: 'OtherProducts №9 Mini_Gallery',
|
|
133
|
+
blocks: [MINI_GALLERY_OTHER_BLOCK],
|
|
134
|
+
},
|
|
80
135
|
],
|
|
81
136
|
};
|
|
82
137
|
|
|
@@ -15,11 +15,6 @@ export interface blockItemCommonProps {
|
|
|
15
15
|
isExpanded?: boolean;
|
|
16
16
|
/** @title Блоки */
|
|
17
17
|
blocks?: BlockDef[];
|
|
18
|
-
/**
|
|
19
|
-
* @title Отображать/скрывать обводку элемента
|
|
20
|
-
* @default false
|
|
21
|
-
*/
|
|
22
|
-
bordered?: boolean; // TODO: только для мобильной версии
|
|
23
18
|
columns?: ColumnsCount;
|
|
24
19
|
}
|
|
25
20
|
|
|
@@ -29,13 +24,9 @@ export interface blockItemCommonProps {
|
|
|
29
24
|
export interface OtherProductsContent {
|
|
30
25
|
/** @title Заголовок */
|
|
31
26
|
title?: string;
|
|
32
|
-
/** @title Список */
|
|
33
|
-
blockItems?: blockItemCommonProps[];
|
|
34
|
-
/** @title Подзаголовок */
|
|
35
|
-
description?: string; // TODO: только для мобильной версии
|
|
36
27
|
/**
|
|
37
|
-
* @title
|
|
38
|
-
* @
|
|
28
|
+
* @title Список
|
|
29
|
+
* @maxItems 10
|
|
39
30
|
*/
|
|
40
|
-
|
|
31
|
+
blockItems?: blockItemCommonProps[];
|
|
41
32
|
}
|
|
@@ -7,14 +7,20 @@
|
|
|
7
7
|
"width": 300
|
|
8
8
|
}
|
|
9
9
|
},
|
|
10
|
+
"version": "primary",
|
|
11
|
+
"directionRight": false,
|
|
10
12
|
"benefits": [
|
|
11
13
|
{
|
|
12
14
|
"label": "Преимущество №1",
|
|
13
|
-
"icon":
|
|
15
|
+
"icon": {
|
|
16
|
+
"icon": "DocumentTextIcon"
|
|
17
|
+
}
|
|
14
18
|
},
|
|
15
19
|
{
|
|
16
20
|
"label": "Преимущество №2",
|
|
17
|
-
"icon":
|
|
21
|
+
"icon": {
|
|
22
|
+
"icon": "DocumentTextIcon"
|
|
23
|
+
}
|
|
18
24
|
}
|
|
19
25
|
]
|
|
20
26
|
}
|
|
@@ -20,12 +20,12 @@ export const PICTURE_TEXT: PictureTextContent = {
|
|
|
20
20
|
{
|
|
21
21
|
label: 'Кредит по одному документу',
|
|
22
22
|
description: 'До 300 тыс ₽ по упрощённой процедуре получения кредита',
|
|
23
|
-
icon: 'DocumentTextIcon',
|
|
23
|
+
icon: { icon: 'DocumentTextIcon' },
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
label: 'Кредит на общих условиях',
|
|
27
27
|
description: 'До 5 млн ₽ на общих условиях получения кредита',
|
|
28
|
-
icon: 'DocumentTextIcon',
|
|
28
|
+
icon: { icon: 'DocumentTextIcon' },
|
|
29
29
|
},
|
|
30
30
|
],
|
|
31
31
|
image,
|
|
@@ -2,25 +2,40 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
2
2
|
import type { UniBlockProps } from '../../types';
|
|
3
3
|
import type { PictureTextContent } from './PictureTextContent';
|
|
4
4
|
|
|
5
|
+
import { BlockVersion } from '../../model/BlockVersion';
|
|
5
6
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
6
|
-
import { Icon } from '../../ui-kit/Icon/Icon';
|
|
7
7
|
import { Img } from '../../ui-kit/Img/Img';
|
|
8
8
|
import { Benefit } from '../BenefitsBlock/BenefitsBlockContent';
|
|
9
9
|
|
|
10
10
|
export interface PictureTextProps extends PictureTextContent, UniBlockProps {}
|
|
11
11
|
|
|
12
|
+
const pictureTextStyleMap: Record<BlockVersion, string> = {
|
|
13
|
+
primary: 'bg-white text-primary-text',
|
|
14
|
+
secondary: 'bg-primary-main text-white',
|
|
15
|
+
};
|
|
16
|
+
|
|
12
17
|
export const PictureText = JSX<PictureTextProps>(
|
|
13
|
-
({
|
|
18
|
+
({
|
|
19
|
+
className = '',
|
|
20
|
+
title,
|
|
21
|
+
image,
|
|
22
|
+
benefits,
|
|
23
|
+
version = 'primary',
|
|
24
|
+
directionRight = false,
|
|
25
|
+
anchor = null,
|
|
26
|
+
}) => {
|
|
14
27
|
return (
|
|
15
28
|
<section
|
|
16
|
-
className={`relative font-sans
|
|
29
|
+
className={`relative font-sans p-14 ${pictureTextStyleMap[version]} ${className}`}
|
|
17
30
|
id={anchor}
|
|
18
31
|
>
|
|
19
32
|
<Heading headingType="h2" className="text-center" title={title} />
|
|
20
33
|
<div className={'flex justify-center mt-9'}>
|
|
21
|
-
{image?.src && <Img className=
|
|
34
|
+
{image?.src && <Img className={directionRight ? 'order-2 ml-6' : 'mr-6'} image={image} />}
|
|
22
35
|
{benefits?.length ? (
|
|
23
|
-
<div className="flex flex-col">
|
|
36
|
+
<div className="flex flex-col">
|
|
37
|
+
{benefits.map((_, i) => renderBenefit(_, i, version))}
|
|
38
|
+
</div>
|
|
24
39
|
) : null}
|
|
25
40
|
</div>
|
|
26
41
|
</section>
|
|
@@ -28,24 +43,34 @@ export const PictureText = JSX<PictureTextProps>(
|
|
|
28
43
|
},
|
|
29
44
|
);
|
|
30
45
|
|
|
31
|
-
function renderBenefit(benefit: Benefit, i: number) {
|
|
46
|
+
function renderBenefit(benefit: Benefit, i: number, version: string) {
|
|
32
47
|
return (
|
|
33
48
|
<div key={String(i)} className="flex flex-row mb-8">
|
|
34
|
-
{benefit.icon
|
|
35
|
-
<
|
|
49
|
+
{benefit.icon ? (
|
|
50
|
+
<Img
|
|
36
51
|
className="w-[48px] h-[48px] bg-main rounded-full box-border p-[12px]"
|
|
37
|
-
|
|
52
|
+
image={benefit.icon}
|
|
38
53
|
width="48"
|
|
39
54
|
height="48"
|
|
40
55
|
asSVG
|
|
41
56
|
/>
|
|
42
|
-
)}
|
|
57
|
+
) : null}
|
|
43
58
|
<div className="flex gap-1 flex-col h-full ml-5 max-w-[490px]">
|
|
44
59
|
{benefit.label && (
|
|
45
|
-
<div
|
|
60
|
+
<div
|
|
61
|
+
className={`font-medium text-xl m-0 ${
|
|
62
|
+
version === 'primary' ? 'text-primary-text' : ''
|
|
63
|
+
}`}
|
|
64
|
+
>
|
|
65
|
+
{benefit.label}
|
|
66
|
+
</div>
|
|
46
67
|
)}
|
|
47
68
|
{benefit.description && (
|
|
48
|
-
<div
|
|
69
|
+
<div
|
|
70
|
+
className={`font-normal text-sm ${version === 'primary' ? 'text-secondary-text' : ''}`}
|
|
71
|
+
>
|
|
72
|
+
{benefit.description}
|
|
73
|
+
</div>
|
|
49
74
|
)}
|
|
50
75
|
</div>
|
|
51
76
|
</div>
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BlockVersion } from '../../model/BlockVersion';
|
|
1
2
|
import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
|
|
2
3
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
3
4
|
import type { Benefit } from '../BenefitsBlock/BenefitsBlockContent';
|
|
@@ -8,6 +9,12 @@ export type TitleWithImageContent = HeadingContent & ImageContent;
|
|
|
8
9
|
* @title Картинка с текстом
|
|
9
10
|
*/
|
|
10
11
|
export interface PictureTextContent extends TitleWithImageContent {
|
|
12
|
+
version?: BlockVersion;
|
|
11
13
|
/** @title Список преимуществ */
|
|
12
14
|
benefits?: Benefit[];
|
|
15
|
+
/**
|
|
16
|
+
* @title Картинка справа/текст слева
|
|
17
|
+
* @default false
|
|
18
|
+
*/
|
|
19
|
+
directionRight?: boolean;
|
|
13
20
|
}
|
|
@@ -8,7 +8,11 @@
|
|
|
8
8
|
"height": 234
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
|
-
"items": [
|
|
11
|
+
"items": [
|
|
12
|
+
"Элемент списка 1",
|
|
13
|
+
"Элемент списка 2",
|
|
14
|
+
"Элемент списка 3"
|
|
15
|
+
],
|
|
12
16
|
"isDotted": true,
|
|
13
17
|
"buttons": [
|
|
14
18
|
{
|
|
@@ -20,11 +24,15 @@
|
|
|
20
24
|
"benefits": [
|
|
21
25
|
{
|
|
22
26
|
"label": "Преимущество №1",
|
|
23
|
-
"icon":
|
|
27
|
+
"icon": {
|
|
28
|
+
"icon": "ClockIcon"
|
|
29
|
+
}
|
|
24
30
|
},
|
|
25
31
|
{
|
|
26
32
|
"label": "Преимущество №2",
|
|
27
|
-
"icon":
|
|
33
|
+
"icon": {
|
|
34
|
+
"icon": "SignDocsIcon"
|
|
35
|
+
}
|
|
28
36
|
}
|
|
29
37
|
]
|
|
30
38
|
}
|
|
@@ -29,17 +29,17 @@ const benefits: Benefit[] = [
|
|
|
29
29
|
{
|
|
30
30
|
label: 'До 5 млн ₽',
|
|
31
31
|
description: 'Кредитный лимит',
|
|
32
|
-
icon: 'EmptyWalletIcon',
|
|
32
|
+
icon: { icon: 'EmptyWalletIcon' },
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
label: 'От 16,9%',
|
|
36
36
|
description: 'Ставка по кредиту',
|
|
37
|
-
icon: 'PercentageSquareIcon',
|
|
37
|
+
icon: { icon: 'PercentageSquareIcon' },
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
label: 'До 5 лет',
|
|
41
41
|
description: 'Срок кредитования',
|
|
42
|
-
icon: 'CalendarIcon',
|
|
42
|
+
icon: { icon: 'CalendarIcon' },
|
|
43
43
|
},
|
|
44
44
|
];
|
|
45
45
|
|
|
@@ -29,21 +29,21 @@ const breadcrumbs = [
|
|
|
29
29
|
},
|
|
30
30
|
];
|
|
31
31
|
|
|
32
|
-
const benefits = [
|
|
32
|
+
const benefits: Benefit[] = [
|
|
33
33
|
{
|
|
34
34
|
label: 'До 5 млн ₽',
|
|
35
35
|
description: 'Кредитный лимит',
|
|
36
|
-
icon: 'EmptyWalletIcon',
|
|
36
|
+
icon: { icon: 'EmptyWalletIcon' },
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
label: 'От 16,9%',
|
|
40
40
|
description: 'Ставка по кредиту',
|
|
41
|
-
icon: 'PercentageSquareIcon',
|
|
41
|
+
icon: { icon: 'PercentageSquareIcon' },
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
label: 'До 5 лет',
|
|
45
45
|
description: 'Срок кредитования',
|
|
46
|
-
icon: 'CalendarIcon',
|
|
46
|
+
icon: { icon: 'CalendarIcon' },
|
|
47
47
|
},
|
|
48
48
|
];
|
|
49
49
|
|
|
@@ -85,7 +85,7 @@ export default {
|
|
|
85
85
|
headingType="h2"
|
|
86
86
|
description="Кредит наличными без залога и поручительства. Потребительский кредит на любые цели. Нужен только паспорт."
|
|
87
87
|
breadcrumbs={breadcrumbs}
|
|
88
|
-
benefits={benefits
|
|
88
|
+
benefits={benefits}
|
|
89
89
|
buttons={buttons}
|
|
90
90
|
image={image}
|
|
91
91
|
/>
|
|
@@ -101,8 +101,8 @@ export default {
|
|
|
101
101
|
version={'secondary'}
|
|
102
102
|
description="Кредит наличными без залога и поручительства. Потребительский кредит на любые цели. Нужен только паспорт."
|
|
103
103
|
breadcrumbs={breadcrumbs}
|
|
104
|
-
benefits={benefits
|
|
105
|
-
buttons={buttons
|
|
104
|
+
benefits={benefits}
|
|
105
|
+
buttons={buttons}
|
|
106
106
|
image={image}
|
|
107
107
|
/>
|
|
108
108
|
</div>
|
|
@@ -22,7 +22,7 @@ const breadcrumbsStyleMap: Record<BlockVersion, string> = {
|
|
|
22
22
|
export const ProductBlock = JSX<ProductBlockProps>((props) => {
|
|
23
23
|
const {
|
|
24
24
|
context,
|
|
25
|
-
className,
|
|
25
|
+
className = '',
|
|
26
26
|
breadcrumbs,
|
|
27
27
|
version = 'primary',
|
|
28
28
|
anchor = null,
|
|
@@ -33,9 +33,7 @@ export const ProductBlock = JSX<ProductBlockProps>((props) => {
|
|
|
33
33
|
|
|
34
34
|
return (
|
|
35
35
|
<section
|
|
36
|
-
className={`font-sans pt-10 pl-[50px] pb-[50px] pr-[7.5rem] box-border min-h-[420px] ${
|
|
37
|
-
className || ''
|
|
38
|
-
} ${productBlockStyleMap[version]}`}
|
|
36
|
+
className={`font-sans pt-10 pl-[50px] pb-[50px] pr-[7.5rem] box-border min-h-[420px] ${productBlockStyleMap[version]} ${className}`}
|
|
39
37
|
id={anchor}
|
|
40
38
|
>
|
|
41
39
|
{breadcrumbs?.length ? (
|
|
@@ -20,7 +20,10 @@ export type ProductBlockInnerContent = HeadingContent &
|
|
|
20
20
|
*/
|
|
21
21
|
benefits?: Benefit[];
|
|
22
22
|
version?: BlockVersion;
|
|
23
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* @title Буллиты
|
|
25
|
+
* @default true
|
|
26
|
+
*/
|
|
24
27
|
isDotted?: boolean;
|
|
25
28
|
/** @title Лейбл (моб.) */
|
|
26
29
|
label?: string;
|
|
@@ -29,8 +32,6 @@ export type ProductBlockInnerContent = HeadingContent &
|
|
|
29
32
|
* @hidden
|
|
30
33
|
*/
|
|
31
34
|
textBlockClassName?: string;
|
|
32
|
-
/** @title Фоновый текст под иллюстрацией */
|
|
33
|
-
backgroundText?: string;
|
|
34
35
|
};
|
|
35
36
|
|
|
36
37
|
/**
|
|
@@ -2,7 +2,6 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
2
2
|
import type { UniBlockProps } from '../../types';
|
|
3
3
|
import { ButtonSection } from '../../ui-kit/Button/ButtonSection';
|
|
4
4
|
import { Description } from '../../ui-kit/Description/Description';
|
|
5
|
-
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
6
5
|
import { Img } from '../../ui-kit/Img/Img';
|
|
7
6
|
import { List } from '../../ui-kit/List/List';
|
|
8
7
|
import { BaseTile } from '../BaseTile/BaseTile';
|
|
@@ -26,7 +25,7 @@ export const ProductBlockInner = JSX<ProductBlockInnerProps>(
|
|
|
26
25
|
isDotted = true,
|
|
27
26
|
textBlockClassName = '',
|
|
28
27
|
}) => {
|
|
29
|
-
const textColor = version === 'secondary' ? 'text-white' : '';
|
|
28
|
+
const textColor = version === 'secondary' ? 'text-white' : 'text-primary-text';
|
|
30
29
|
return (
|
|
31
30
|
<div className={`flex grow justify-between items-stretch ${className}`}>
|
|
32
31
|
<div className={`flex flex-col ${textBlockClassName}`}>
|
|
@@ -36,7 +35,10 @@ export const ProductBlockInner = JSX<ProductBlockInnerProps>(
|
|
|
36
35
|
buttons={getButtons(context, buttons)}
|
|
37
36
|
>
|
|
38
37
|
{description && (
|
|
39
|
-
<Description
|
|
38
|
+
<Description
|
|
39
|
+
className={`mt-[18px] max-w-[600px] text-title-new-sm font-light ${textColor}`}
|
|
40
|
+
description={description}
|
|
41
|
+
/>
|
|
40
42
|
)}
|
|
41
43
|
{benefits?.filter((items) => items.label)?.length ? (
|
|
42
44
|
<div className="flex gap-6 mt-6">
|
|
@@ -45,7 +47,7 @@ export const ProductBlockInner = JSX<ProductBlockInnerProps>(
|
|
|
45
47
|
) : null}
|
|
46
48
|
{items?.length ? (
|
|
47
49
|
<List
|
|
48
|
-
className="mt-5 text-
|
|
50
|
+
className="mt-5 text-title-new-sm font-light"
|
|
49
51
|
items={items}
|
|
50
52
|
itemClassName="mb-[10px]"
|
|
51
53
|
version={version}
|
|
@@ -61,14 +63,9 @@ export const ProductBlockInner = JSX<ProductBlockInnerProps>(
|
|
|
61
63
|
);
|
|
62
64
|
|
|
63
65
|
const getTitle = (title, headingType, textColor) => {
|
|
66
|
+
const Tag = headingType;
|
|
64
67
|
return (
|
|
65
|
-
title &&
|
|
66
|
-
<Heading
|
|
67
|
-
headingType={headingType}
|
|
68
|
-
title={title}
|
|
69
|
-
className={`whitespace-pre-wrap max-w-[600px] ${textColor}`}
|
|
70
|
-
/>
|
|
71
|
-
)
|
|
68
|
+
title && <Tag className={`font-sans font-medium m-0 text-title-xl ${textColor}`}>{title}</Tag>
|
|
72
69
|
);
|
|
73
70
|
};
|
|
74
71
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
-
import {
|
|
2
|
+
import { Img } from '../../ui-kit/Img/Img';
|
|
3
3
|
import type { Benefit } from '../BenefitsBlock/BenefitsBlockContent';
|
|
4
4
|
|
|
5
5
|
const benefitTitleStyleMap: Record<BlockVersion, string> = {
|
|
@@ -14,16 +14,16 @@ const benefitDescStyleMap: Record<BlockVersion, string> = {
|
|
|
14
14
|
export function renderBenefit(benefit: Benefit, i: number, version: BlockVersion) {
|
|
15
15
|
return (
|
|
16
16
|
<div key={String(i)} className="flex gap-3 items-center mb-2.5 last:mb-0">
|
|
17
|
-
{benefit.icon
|
|
18
|
-
<
|
|
17
|
+
{benefit.icon ? (
|
|
18
|
+
<Img
|
|
19
19
|
className="w-6 h-6 rounded-full box-border"
|
|
20
|
-
|
|
20
|
+
image={benefit.icon}
|
|
21
21
|
width="24"
|
|
22
22
|
height="24"
|
|
23
23
|
asSVG
|
|
24
24
|
color={version}
|
|
25
25
|
/>
|
|
26
|
-
)}
|
|
26
|
+
) : null}
|
|
27
27
|
<div className={`font-medium text-m-title-xs m-0 ${benefitTitleStyleMap[version]}`}>
|
|
28
28
|
{benefit.label}
|
|
29
29
|
</div>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
-
import {
|
|
2
|
+
import { Img } from '../../ui-kit/Img/Img';
|
|
3
3
|
import type { Benefit } from '../BenefitsBlock/BenefitsBlockContent';
|
|
4
4
|
|
|
5
5
|
const benefitIconBgStyleMap: Record<BlockVersion, string> = {
|
|
@@ -18,15 +18,15 @@ const benefitDescStyleMap: Record<BlockVersion, string> = {
|
|
|
18
18
|
export function renderBenefit(benefit: Benefit, i: number, version: string) {
|
|
19
19
|
return (
|
|
20
20
|
<div key={String(i)} className="flex gap-4 items-center">
|
|
21
|
-
{benefit.icon
|
|
22
|
-
<
|
|
21
|
+
{benefit.icon ? (
|
|
22
|
+
<Img
|
|
23
23
|
className={`w-[50px] h-[50px] min-w-[50px] min-h-[50px] rounded-full p-[10px] box-border ${benefitIconBgStyleMap[version]}`}
|
|
24
|
-
|
|
24
|
+
image={benefit.icon}
|
|
25
25
|
width="24"
|
|
26
26
|
height="24"
|
|
27
27
|
asSVG
|
|
28
28
|
/>
|
|
29
|
-
)}
|
|
29
|
+
) : null}
|
|
30
30
|
<div className="flex gap-1 flex-col h-full max-w-[149px]">
|
|
31
31
|
<div className={`font-medium text-xl m-0 ${benefitTitleStyleMap[version]}`}>
|
|
32
32
|
{benefit.label}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
{
|
|
4
4
|
"nav": {
|
|
5
5
|
"title": "Заголовок",
|
|
6
|
-
"
|
|
6
|
+
"description": "Описание"
|
|
7
7
|
},
|
|
8
8
|
"productBlock": {
|
|
9
9
|
"title": "Продуктовая галерея",
|
|
@@ -15,6 +15,27 @@
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"description": "Описание",
|
|
18
|
+
"isDotted": "true",
|
|
19
|
+
"items": ["Элемент списка 1", "Элемент списка 2", "Элемент списка 3"],
|
|
20
|
+
"version": "primary"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"nav": {
|
|
25
|
+
"title": "Заголовок",
|
|
26
|
+
"description": "Описание"
|
|
27
|
+
},
|
|
28
|
+
"productBlock": {
|
|
29
|
+
"title": "Продуктовая галерея",
|
|
30
|
+
"image": {
|
|
31
|
+
"format": "webp",
|
|
32
|
+
"size": {
|
|
33
|
+
"width": 234,
|
|
34
|
+
"height": 234
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"description": "Описание",
|
|
38
|
+
"isDotted": "true",
|
|
18
39
|
"items": ["Элемент списка 1", "Элемент списка 2", "Элемент списка 3"],
|
|
19
40
|
"version": "primary"
|
|
20
41
|
}
|