@redneckz/wildless-cms-uni-blocks 0.3.32 → 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/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +133 -93
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/Accordion/AccordionContent.d.ts +2 -2
- package/dist/components/Accordion/AccordionItem.js +2 -2
- package/dist/components/Accordion/AccordionItem.js.map +1 -1
- package/dist/components/Accordion/AccordionItem.mobile.js +2 -2
- package/dist/components/Accordion/AccordionItem.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/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/PictureText/PictureText.js +1 -2
- package/dist/components/PictureText/PictureText.js.map +1 -1
- 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 +13 -10
- package/dist/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
- 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 +2 -2
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +3 -2
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlockContent.d.ts +2 -2
- 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/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/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/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/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/AccordionContent.d.ts +2 -2
- package/lib/components/Accordion/AccordionItem.js +2 -2
- package/lib/components/Accordion/AccordionItem.js.map +1 -1
- package/lib/components/Accordion/AccordionItem.mobile.js +2 -2
- package/lib/components/Accordion/AccordionItem.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/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/PictureText/PictureText.js +1 -2
- package/lib/components/PictureText/PictureText.js.map +1 -1
- 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.js +13 -10
- package/lib/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
- 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.js +2 -2
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +3 -2
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlockContent.d.ts +2 -2
- 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/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/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/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/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 +57 -31
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/Accordion/AccordionContent.d.ts +2 -2
- package/mobile/dist/components/Accordion/AccordionItem.js +2 -2
- package/mobile/dist/components/Accordion/AccordionItem.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/PictureText/PictureText.js +1 -2
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
- 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 +13 -10
- package/mobile/dist/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
- 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 +3 -2
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +2 -2
- 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/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/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/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 +2 -2
- package/mobile/lib/components/Accordion/AccordionItem.js +2 -2
- package/mobile/lib/components/Accordion/AccordionItem.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/PictureText/PictureText.js +1 -2
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
- 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 +13 -10
- package/mobile/lib/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
- 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 +3 -2
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +2 -2
- 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/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/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/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 -3
- package/mobile/src/components/Accordion/AccordionContent.ts +2 -2
- package/mobile/src/components/Accordion/AccordionItem.tsx +3 -3
- 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 +21 -9
- package/mobile/src/components/Gallery/Gallery.tsx +2 -3
- package/mobile/src/components/Gallery/GalleryCardInner.tsx +2 -3
- 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/PictureText/PictureText.example.json +6 -2
- package/mobile/src/components/PictureText/PictureText.tsx +4 -5
- 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.tsx +23 -23
- 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 +5 -4
- package/mobile/src/components/StepsBlock/StepsBlockContent.ts +2 -2
- 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/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/Button/ButtonInner.tsx +2 -2
- 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/Tabs/Tabs.tsx +2 -2
- package/mobile/src/ui-kit/Tabs/TabsProps.ts +2 -2
- package/package.json +1 -1
- package/src/components/Accordion/Accordion.example.json +9 -3
- package/src/components/Accordion/Accordion.fixture.mobile.tsx +3 -1
- package/src/components/Accordion/AccordionContent.ts +2 -2
- package/src/components/Accordion/AccordionItem.mobile.tsx +3 -3
- package/src/components/Accordion/AccordionItem.tsx +2 -2
- 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 +21 -9
- 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/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/PictureText/PictureText.example.json +6 -2
- package/src/components/PictureText/PictureText.fixture.tsx +2 -2
- package/src/components/PictureText/PictureText.tsx +4 -5
- 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.fixture.tsx +2 -3
- package/src/components/ProductGalleryGreen/ProductGalleryGreen.tsx +23 -23
- 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.mobile.tsx +5 -4
- package/src/components/StepsBlock/StepsBlock.tsx +2 -2
- package/src/components/StepsBlock/StepsBlockContent.ts +2 -2
- 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/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/Button/Button.fixture.tsx +5 -5
- package/src/ui-kit/Button/ButtonInner.tsx +2 -2
- package/src/ui-kit/Button/ButtonProps.ts +2 -2
- package/src/ui-kit/Button/ButtonSection.tsx +2 -2
- 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/Tabs/Tabs.tsx +2 -2
- package/src/ui-kit/Tabs/TabsProps.ts +2 -2
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import type { UniBlockProps } from '../../types';
|
|
3
3
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
4
|
-
import { Icon } from '../../ui-kit/Icon/Icon';
|
|
5
4
|
import type { ProductBlockInnerContent } from '../ProductBlock/ProductBlockContent';
|
|
6
5
|
import { ProductBlockInner } from '../ProductBlock/ProductBlockInner';
|
|
7
6
|
import type { ProductGalleryGreenContent } from './ProductGalleryGreenContent';
|
|
8
7
|
|
|
9
8
|
export interface ProductGalleryProps extends ProductGalleryGreenContent, UniBlockProps {}
|
|
10
9
|
|
|
10
|
+
type StyleType = {
|
|
11
|
+
title: string;
|
|
12
|
+
text: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
11
15
|
const productGalleryGreenStyleMap: Record<BlockVersion, string> = {
|
|
12
16
|
primary: 'bg-white text-primary-text',
|
|
13
17
|
secondary: 'bg-primary-main text-white',
|
|
14
18
|
};
|
|
15
19
|
|
|
16
|
-
const productBlockStyleMap: Record<BlockVersion,
|
|
17
|
-
primary: 'text-secondary-text',
|
|
18
|
-
secondary: 'text-white/80',
|
|
20
|
+
const productBlockStyleMap: Record<BlockVersion, StyleType> = {
|
|
21
|
+
primary: { title: 'text-secondary-text', text: 'text-secondary-text' },
|
|
22
|
+
secondary: { title: 'text-white', text: 'text-white/80' },
|
|
19
23
|
};
|
|
20
24
|
|
|
21
25
|
const productSlideStyleMap: Record<BlockVersion, string> = {
|
|
@@ -32,7 +36,7 @@ export const ProductGalleryGreen = JSX<ProductGalleryProps>(
|
|
|
32
36
|
return (
|
|
33
37
|
<section
|
|
34
38
|
id={anchor}
|
|
35
|
-
className={`box-border pt-[
|
|
39
|
+
className={`box-border pt-[50px] overflow-hidden relative font-sans w-100 ${className}
|
|
36
40
|
${productGalleryGreenStyleMap[version]}`}
|
|
37
41
|
>
|
|
38
42
|
<div
|
|
@@ -43,7 +47,7 @@ export const ProductGalleryGreen = JSX<ProductGalleryProps>(
|
|
|
43
47
|
{galleryBlocks.map((_, i) => renderProductBlock({ ..._, version }, i, context))}
|
|
44
48
|
</div>
|
|
45
49
|
|
|
46
|
-
<div className="flex items-center absolute bottom-6 left-0 right-0 px-
|
|
50
|
+
<div className="flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border">
|
|
47
51
|
{galleryNav.map((slide, i) =>
|
|
48
52
|
renderNavButton({
|
|
49
53
|
slide,
|
|
@@ -62,32 +66,21 @@ export const ProductGalleryGreen = JSX<ProductGalleryProps>(
|
|
|
62
66
|
|
|
63
67
|
function renderProductBlock(block: ProductBlockInnerContent, i: number, context) {
|
|
64
68
|
const { version } = block;
|
|
65
|
-
const additionalClass = version ? productBlockStyleMap[version] : '';
|
|
69
|
+
const additionalClass = version ? productBlockStyleMap[version].title : '';
|
|
66
70
|
|
|
67
71
|
return (
|
|
68
72
|
<section
|
|
69
73
|
key={String(i)}
|
|
70
|
-
className="box-border relative flex grow-0 shrink-0 basis-full
|
|
74
|
+
className="box-border relative flex grow-0 shrink-0 basis-full"
|
|
71
75
|
role="listitem"
|
|
72
76
|
>
|
|
73
77
|
<div className="flex grow">
|
|
74
|
-
{block.backgroundText ? (
|
|
75
|
-
<div className="absolute text-[454px] font-bold text-white tracking-[-10px] leading-[299px] opacity-[.1] right-12 top-20 z-0">
|
|
76
|
-
{block.backgroundText}
|
|
77
|
-
</div>
|
|
78
|
-
) : null}
|
|
79
78
|
<ProductBlockInner
|
|
80
|
-
className={`pl-
|
|
79
|
+
className={`pl-[50px] pr-2 z-[1] ${additionalClass}`}
|
|
81
80
|
context={context}
|
|
82
81
|
textBlockClassName="mb-[154px]"
|
|
83
82
|
{...block}
|
|
84
83
|
/>
|
|
85
|
-
<Icon
|
|
86
|
-
className="absolute right-[460px] top-[200px] z-0 mb-4"
|
|
87
|
-
name="ArrowsRewindRight"
|
|
88
|
-
width="230"
|
|
89
|
-
height="187"
|
|
90
|
-
/>
|
|
91
84
|
</div>
|
|
92
85
|
</section>
|
|
93
86
|
);
|
|
@@ -95,14 +88,21 @@ function renderProductBlock(block: ProductBlockInnerContent, i: number, context)
|
|
|
95
88
|
|
|
96
89
|
function renderNavButton({ slide, i, activeSlideIndex, onClick, version, duration }) {
|
|
97
90
|
const isActiveBtn = i === activeSlideIndex;
|
|
91
|
+
|
|
98
92
|
const btnClassName = isActiveBtn
|
|
99
93
|
? 'bg-white shadow-dark-blue/42 h-[102px] w-[354px] min-w-[354px] max-w-[354px] p-0 border-none'
|
|
100
|
-
: `min-w-[277px] px-0 pt-4 pb-[23px] hover:py-[26px] hover:py-[26px] ease-in duration-300
|
|
94
|
+
: `min-w-[277px] px-0 pt-4 pb-[23px] hover:py-[26px] hover:py-[26px] ease-in duration-300
|
|
101
95
|
${productSlideStyleMap[version]}`;
|
|
102
|
-
const btnTitleClassName = isActiveBtn
|
|
103
|
-
|
|
96
|
+
const btnTitleClassName = isActiveBtn
|
|
97
|
+
? 'text-primary-text text-title-2xs'
|
|
98
|
+
: `text-base ${productBlockStyleMap[version].title}`;
|
|
99
|
+
const btnDescClassName = isActiveBtn
|
|
100
|
+
? 'text-secondary-text text-m-title-xs mt-2.5'
|
|
101
|
+
: `text-m-md mt-1.5 ${productBlockStyleMap[version].text}`;
|
|
102
|
+
|
|
104
103
|
const additionalBorder = version === 'secondary' ? 'border-white/50' : '';
|
|
105
104
|
const progressBarClassName = isActiveBtn ? 'animate-slide' : '';
|
|
105
|
+
|
|
106
106
|
return (
|
|
107
107
|
<button
|
|
108
108
|
type="button"
|
|
@@ -10,7 +10,12 @@
|
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
12
|
"title": "Заголовок 1",
|
|
13
|
-
"description": "Описание 1"
|
|
13
|
+
"description": "Описание 1",
|
|
14
|
+
"socialMedia": [
|
|
15
|
+
{ "href": "https://t.me" },
|
|
16
|
+
{ "href": "https://vk.com" },
|
|
17
|
+
{ "href": "https://ok.ru" }
|
|
18
|
+
]
|
|
14
19
|
},
|
|
15
20
|
{
|
|
16
21
|
"image": {
|
|
@@ -21,7 +26,12 @@
|
|
|
21
26
|
}
|
|
22
27
|
},
|
|
23
28
|
"title": "Заголовок 2",
|
|
24
|
-
"description": "Описание 2"
|
|
29
|
+
"description": "Описание 2",
|
|
30
|
+
"socialMedia": [
|
|
31
|
+
{ "href": "https://t.me" },
|
|
32
|
+
{ "href": "https://vk.com" },
|
|
33
|
+
{ "href": "https://ok.ru" }
|
|
34
|
+
]
|
|
25
35
|
},
|
|
26
36
|
{
|
|
27
37
|
"image": {
|
|
@@ -32,7 +42,12 @@
|
|
|
32
42
|
}
|
|
33
43
|
},
|
|
34
44
|
"title": "Заголовок 3",
|
|
35
|
-
"description": "Описание 3"
|
|
45
|
+
"description": "Описание 3",
|
|
46
|
+
"socialMedia": [
|
|
47
|
+
{ "href": "https://t.me" },
|
|
48
|
+
{ "href": "https://vk.com" },
|
|
49
|
+
{ "href": "https://ok.ru" }
|
|
50
|
+
]
|
|
36
51
|
}
|
|
37
52
|
]
|
|
38
53
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Picture } from '../../model/Picture';
|
|
2
|
+
import type { LinkProps } from '../../model/LinkProps';
|
|
2
3
|
import { context } from '../../setup-fixture';
|
|
3
4
|
import { Recommendation, RecommendationProps } from './Recommendation';
|
|
4
5
|
|
|
@@ -22,24 +23,33 @@ const chair: Picture = {
|
|
|
22
23
|
title: 'chair',
|
|
23
24
|
};
|
|
24
25
|
|
|
26
|
+
const socialMedia: LinkProps[] = [
|
|
27
|
+
{ href: 'https://t.me' },
|
|
28
|
+
{ href: 'https://vk.com' },
|
|
29
|
+
{ href: 'https://ok.ru' },
|
|
30
|
+
];
|
|
31
|
+
|
|
25
32
|
export const defaultProps: RecommendationProps = {
|
|
26
33
|
context,
|
|
27
|
-
title: '
|
|
34
|
+
title: 'Мы в социальных сетях',
|
|
28
35
|
recommendations: [
|
|
29
36
|
{
|
|
30
|
-
title: '
|
|
31
|
-
items: ['
|
|
37
|
+
title: 'РоссельхозБанк',
|
|
38
|
+
items: ['Свежие новости', 'Акции и предложения', 'Ставки и катировки'],
|
|
32
39
|
image: chair,
|
|
40
|
+
socialMedia,
|
|
33
41
|
},
|
|
34
42
|
{
|
|
35
|
-
title: '
|
|
43
|
+
title: 'Своё Родное',
|
|
36
44
|
description: 'Льготный период 120 дней',
|
|
37
45
|
image: creditCard,
|
|
46
|
+
socialMedia,
|
|
38
47
|
},
|
|
39
48
|
{
|
|
40
|
-
title: '
|
|
49
|
+
title: 'Своё Фермерство',
|
|
41
50
|
description: 'Льготный период 120 дней',
|
|
42
51
|
image: creditCard,
|
|
52
|
+
socialMedia,
|
|
43
53
|
},
|
|
44
54
|
{
|
|
45
55
|
title: 'Кредитные карты',
|
|
@@ -3,7 +3,7 @@ import type { UniBlockProps } from '../../types';
|
|
|
3
3
|
import { ArrowButton } from '../../ui-kit/Button/ArrowButton';
|
|
4
4
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
5
5
|
import { RecommendationCard } from './RecommendationCard';
|
|
6
|
-
import type {
|
|
6
|
+
import type { RecommendationCardTypes, RecommendationContent } from './RecommendationContent';
|
|
7
7
|
|
|
8
8
|
const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
|
|
9
9
|
const CARD_FULL_VIEW_COUNT = 2;
|
|
@@ -17,16 +17,16 @@ export const Recommendation = JSX<RecommendationProps>(
|
|
|
17
17
|
|
|
18
18
|
const blockClassName =
|
|
19
19
|
version === 'secondary' ? 'bg-primary-main text-white' : 'bg-white text-primary-text';
|
|
20
|
-
const cardClassName = version === 'secondary' ? 'border-
|
|
20
|
+
const cardClassName = version === 'secondary' ? 'border-white/50' : 'border-main-stroke';
|
|
21
21
|
|
|
22
22
|
return (
|
|
23
23
|
<section
|
|
24
|
-
className={`relative font-sans p-
|
|
24
|
+
className={`relative font-sans p-9 overflow-hidden text-center ${blockClassName} ${className}`}
|
|
25
25
|
id={anchor}
|
|
26
26
|
>
|
|
27
|
-
{title ? <Heading headingType="h2" className="mb-
|
|
27
|
+
{title ? <Heading headingType="h2" className="mb-6" title={title} /> : null}
|
|
28
28
|
<div
|
|
29
|
-
className="flex duration-1000 gap-
|
|
29
|
+
className="flex duration-1000 gap-3.5"
|
|
30
30
|
style={{ transform: `translateX(-${activeCardIndex * CARD_SHIFT}px)` }}
|
|
31
31
|
role="list"
|
|
32
32
|
>
|
|
@@ -58,7 +58,7 @@ export const Recommendation = JSX<RecommendationProps>(
|
|
|
58
58
|
|
|
59
59
|
const renderRecommendationCard =
|
|
60
60
|
({ context, version, className }) =>
|
|
61
|
-
(card:
|
|
61
|
+
(card: RecommendationCardTypes, i: number) => {
|
|
62
62
|
return (
|
|
63
63
|
<RecommendationCard
|
|
64
64
|
key={String(i)}
|
|
@@ -1,31 +1,40 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
|
-
import type { UniBlockProps } from '../../types';
|
|
4
2
|
import { Description } from '../../ui-kit/Description/Description';
|
|
5
|
-
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
6
3
|
import { Img } from '../../ui-kit/Img/Img';
|
|
7
4
|
import { List } from '../../ui-kit/List/List';
|
|
8
5
|
import { BaseTile } from '../BaseTile/BaseTile';
|
|
9
|
-
import
|
|
6
|
+
import { SocialMedia } from '../Footer/SocialMedia';
|
|
7
|
+
import type { UniBlockProps } from '../../types';
|
|
8
|
+
import type { RecommendationCardTypes } from './RecommendationContent';
|
|
10
9
|
|
|
11
|
-
export interface RecommendationCardProps extends
|
|
12
|
-
version?: BlockVersion;
|
|
13
|
-
}
|
|
10
|
+
export interface RecommendationCardProps extends RecommendationCardTypes, UniBlockProps {}
|
|
14
11
|
|
|
15
12
|
export const RecommendationCard = JSX<RecommendationCardProps>(
|
|
16
|
-
({ context, className = '', title, description, items, image, version }) => {
|
|
13
|
+
({ context, className = '', title, description, items, image, version, socialMedia }) => {
|
|
17
14
|
return (
|
|
18
15
|
<section
|
|
19
|
-
className={`border border-solid box-border
|
|
16
|
+
className={`border border-solid box-border py-[30px] px-9 min-w-[515px] max-w-[515px] ${className}`}
|
|
20
17
|
role="listitem"
|
|
21
18
|
>
|
|
22
19
|
<BaseTile
|
|
23
20
|
context={context}
|
|
24
|
-
|
|
21
|
+
className="flex justify-between"
|
|
22
|
+
title={
|
|
23
|
+
title ? (
|
|
24
|
+
<h4 className={`font-sans text-title-xs font-normal m-0 mb-3.5`}>{title}</h4>
|
|
25
|
+
) : null
|
|
26
|
+
}
|
|
25
27
|
image={image?.src && <Img className="mt-auto ml-7" image={image} />}
|
|
26
28
|
>
|
|
27
|
-
{description ? <Description description={description} /> : null}
|
|
28
|
-
{items?.length ?
|
|
29
|
+
{description ? <Description className="text-left" description={description} /> : null}
|
|
30
|
+
{items?.length ? (
|
|
31
|
+
<List
|
|
32
|
+
className="text-md font-light flex flex-col gap-2"
|
|
33
|
+
items={items}
|
|
34
|
+
version={version}
|
|
35
|
+
/>
|
|
36
|
+
) : null}
|
|
37
|
+
<SocialMedia className="pt-[42px] pb-0" media={socialMedia} context={context} />
|
|
29
38
|
</BaseTile>
|
|
30
39
|
</section>
|
|
31
40
|
);
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
+
import type { LinkProps } from '../../model/LinkProps';
|
|
2
3
|
import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
|
|
3
4
|
import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
|
|
4
5
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
5
6
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
6
7
|
|
|
7
|
-
export type
|
|
8
|
+
export type RecommendationCardTypes = HeadingContent &
|
|
8
9
|
DescriptionContent &
|
|
9
10
|
ListContent &
|
|
10
|
-
ImageContent
|
|
11
|
-
|
|
11
|
+
ImageContent &
|
|
12
|
+
RecommendationContent;
|
|
12
13
|
/**
|
|
13
14
|
* @title Рекомендации
|
|
14
15
|
*/
|
|
15
16
|
export interface RecommendationContent extends HeadingContent {
|
|
16
17
|
/** @title Карточки */
|
|
17
|
-
recommendations?:
|
|
18
|
+
recommendations?: RecommendationCardTypes[];
|
|
18
19
|
version?: BlockVersion;
|
|
20
|
+
socialMedia?: LinkProps[];
|
|
19
21
|
}
|
|
@@ -7,15 +7,21 @@
|
|
|
7
7
|
{
|
|
8
8
|
"label": "Шаг №1",
|
|
9
9
|
"description": "Описание шага №1",
|
|
10
|
-
"icon":
|
|
10
|
+
"icon": {
|
|
11
|
+
"icon": "NewDocIcon"
|
|
12
|
+
}
|
|
11
13
|
},
|
|
12
14
|
{
|
|
13
15
|
"label": "Шаг №2",
|
|
14
|
-
"icon":
|
|
16
|
+
"icon": {
|
|
17
|
+
"icon": "PassSendIcon"
|
|
18
|
+
}
|
|
15
19
|
},
|
|
16
20
|
{
|
|
17
21
|
"description": "Шаг №3 без заголовка",
|
|
18
|
-
"icon":
|
|
22
|
+
"icon": {
|
|
23
|
+
"icon": "ActualBalanceIcon"
|
|
24
|
+
}
|
|
19
25
|
}
|
|
20
26
|
]
|
|
21
27
|
}
|
|
@@ -41,20 +41,20 @@ export default {
|
|
|
41
41
|
steps={[
|
|
42
42
|
{
|
|
43
43
|
description: 'Оставьте онлайн-заявку на потребительский кредит',
|
|
44
|
-
icon: 'ClockIcon',
|
|
44
|
+
icon: { icon: 'ClockIcon' },
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
label: 'В случае одобрения',
|
|
48
|
-
icon: 'SignDocsIcon',
|
|
48
|
+
icon: { icon: 'SignDocsIcon' },
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
label: 'Заявка на кредит',
|
|
52
52
|
description: 'Оставьте онлайн-заявку на потребительский кредит',
|
|
53
|
-
icon: 'ComfortableCompIcon',
|
|
53
|
+
icon: { icon: 'ComfortableCompIcon' },
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
label: 'Получение наличных',
|
|
57
|
-
icon: 'ClockIcon',
|
|
57
|
+
icon: { icon: 'ClockIcon' },
|
|
58
58
|
},
|
|
59
59
|
]}
|
|
60
60
|
/>
|
|
@@ -65,15 +65,15 @@ export default {
|
|
|
65
65
|
steps={[
|
|
66
66
|
{
|
|
67
67
|
label: 'Заявка на кредит',
|
|
68
|
-
icon: 'EmptyWalletIcon',
|
|
68
|
+
icon: { icon: 'EmptyWalletIcon' },
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
71
|
label: 'В случае одобрения',
|
|
72
|
-
icon: 'PercentageSquareIcon',
|
|
72
|
+
icon: { icon: 'PercentageSquareIcon' },
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
75
|
label: 'Получение наличных',
|
|
76
|
-
icon: 'CalendarIcon',
|
|
76
|
+
icon: { icon: 'CalendarIcon' },
|
|
77
77
|
},
|
|
78
78
|
]}
|
|
79
79
|
/>
|
|
@@ -107,20 +107,20 @@ export default {
|
|
|
107
107
|
steps={[
|
|
108
108
|
{
|
|
109
109
|
description: 'Оставьте онлайн-заявку на потребительский кредит',
|
|
110
|
-
icon: 'ClockIcon',
|
|
110
|
+
icon: { icon: 'ClockIcon' },
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
113
|
label: 'В случае одобрения',
|
|
114
|
-
icon: 'SignDocsIcon',
|
|
114
|
+
icon: { icon: 'SignDocsIcon' },
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
117
|
label: 'Заявка на кредит',
|
|
118
118
|
description: 'Оставьте онлайн-заявку на потребительский кредит',
|
|
119
|
-
icon: 'ComfortableCompIcon',
|
|
119
|
+
icon: { icon: 'ComfortableCompIcon' },
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
122
|
label: 'Получение наличных',
|
|
123
|
-
icon: 'ClockIcon',
|
|
123
|
+
icon: { icon: 'ClockIcon' },
|
|
124
124
|
},
|
|
125
125
|
]}
|
|
126
126
|
version="secondary"
|
|
@@ -132,15 +132,15 @@ export default {
|
|
|
132
132
|
steps={[
|
|
133
133
|
{
|
|
134
134
|
label: 'Заявка на кредит',
|
|
135
|
-
icon: 'EmptyWalletIcon',
|
|
135
|
+
icon: { icon: 'EmptyWalletIcon' },
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
label: 'В случае одобрения',
|
|
139
|
-
icon: 'PercentageSquareIcon',
|
|
139
|
+
icon: { icon: 'PercentageSquareIcon' },
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
label: 'Получение наличных',
|
|
143
|
-
icon: 'CalendarIcon',
|
|
143
|
+
icon: { icon: 'CalendarIcon' },
|
|
144
144
|
},
|
|
145
145
|
]}
|
|
146
146
|
version="secondary"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import {
|
|
3
|
-
import { Icon } from '../../ui-kit/Icon/Icon';
|
|
2
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
4
3
|
import type { SizeVersion } from '../../model/SizeVersion';
|
|
5
4
|
import type { UniBlockProps } from '../../types';
|
|
5
|
+
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
6
|
+
import { Img } from '../../ui-kit/Img/Img';
|
|
6
7
|
import type { Step, StepsBlockContent } from './StepsBlockContent';
|
|
7
|
-
import type { BlockVersion } from '../../model/BlockVersion';
|
|
8
8
|
|
|
9
9
|
export interface StepsBlockProps extends StepsBlockContent, UniBlockProps {}
|
|
10
10
|
|
|
@@ -132,7 +132,8 @@ const renderIconArea = (params: RenderStepTitleParams) => {
|
|
|
132
132
|
className={`${iconAreaSize} ${style.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`}
|
|
133
133
|
>
|
|
134
134
|
<span className={`font-medium flex self-center ${style.title} ${iconTextSize}`}>
|
|
135
|
-
{(step.icon && <
|
|
135
|
+
{(step.icon?.icon && <Img image={step.icon} width={iconSize} height={iconSize} asSVG />) ||
|
|
136
|
+
i + 1}
|
|
136
137
|
</span>
|
|
137
138
|
</div>
|
|
138
139
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import type { UniBlockProps } from '../../types';
|
|
3
3
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
4
|
-
import {
|
|
4
|
+
import { Img } from '../../ui-kit/Img/Img';
|
|
5
5
|
import { joinList } from '../../utils/joinList';
|
|
6
6
|
import type { Step, StepsBlockContent } from './StepsBlockContent';
|
|
7
7
|
|
|
@@ -45,7 +45,7 @@ const renderStepIcon = (step: Step, i: number) => {
|
|
|
45
45
|
return (
|
|
46
46
|
<div key={String(i)} className="flex flex-col items-center text-center relative">
|
|
47
47
|
<div className="h-[100px] w-[100px] min-w-[100px] min-h-[100px] bg-secondary-light rounded-full p-[26px] box-border z-10">
|
|
48
|
-
{(step.icon && <
|
|
48
|
+
{(step.icon?.icon && <Img image={step.icon} width="48" height="48" />) || (
|
|
49
49
|
<span className="font-medium text-title-sm text-secondary-text">{i + 1}</span>
|
|
50
50
|
)}
|
|
51
51
|
</div>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { IconName } from '../../icons/IconName';
|
|
2
1
|
import type { SizeVersion } from '../../model/SizeVersion';
|
|
3
2
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
|
+
import type { Picture } from '../../model/Picture';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @title Шаг
|
|
@@ -10,7 +10,7 @@ export interface Step {
|
|
|
10
10
|
label?: string;
|
|
11
11
|
/** @title Описание */
|
|
12
12
|
description?: string;
|
|
13
|
-
icon?:
|
|
13
|
+
icon?: Picture;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
3
|
-
import {
|
|
3
|
+
import { Img } from '../../ui-kit/Img/Img';
|
|
4
4
|
import type { TariffsTableRowHeader } from './TariffsTableContent';
|
|
5
5
|
|
|
6
6
|
export const TableTileHeader = JSX<TariffsTableRowHeader>(({ title, icon }) => {
|
|
@@ -8,7 +8,7 @@ export const TableTileHeader = JSX<TariffsTableRowHeader>(({ title, icon }) => {
|
|
|
8
8
|
<div className="flex gap-2.5 mb-2">
|
|
9
9
|
{title ? <Heading headingType="h3" className="font-medium" title={title} /> : null}
|
|
10
10
|
{icon ? (
|
|
11
|
-
<
|
|
11
|
+
<Img className="ml-auto max-w-6 max-h-6" image={icon} width="24px" height="24px" />
|
|
12
12
|
) : null}
|
|
13
13
|
</div>
|
|
14
14
|
);
|
|
@@ -5,11 +5,15 @@
|
|
|
5
5
|
"rowHeaders": [
|
|
6
6
|
{
|
|
7
7
|
"title": "Параметр 1",
|
|
8
|
-
"icon":
|
|
8
|
+
"icon": {
|
|
9
|
+
"icon": "MoneyIcon"
|
|
10
|
+
}
|
|
9
11
|
},
|
|
10
12
|
{
|
|
11
13
|
"title": "Параметр 2",
|
|
12
|
-
"icon":
|
|
14
|
+
"icon": {
|
|
15
|
+
"icon": "DollarIcon"
|
|
16
|
+
}
|
|
13
17
|
},
|
|
14
18
|
{
|
|
15
19
|
"title": "Параметр 3"
|
|
@@ -45,7 +49,9 @@
|
|
|
45
49
|
"label": "Ячейка 3-2",
|
|
46
50
|
"buttons": [
|
|
47
51
|
{
|
|
48
|
-
"icon":
|
|
52
|
+
"icon": {
|
|
53
|
+
"icon": "AppleIcon"
|
|
54
|
+
},
|
|
49
55
|
"rounded": true,
|
|
50
56
|
"version": "secondary",
|
|
51
57
|
"href": "/",
|
|
@@ -53,7 +59,9 @@
|
|
|
53
59
|
"text": ""
|
|
54
60
|
},
|
|
55
61
|
{
|
|
56
|
-
"icon":
|
|
62
|
+
"icon": {
|
|
63
|
+
"icon": "PlayMarketIcon"
|
|
64
|
+
},
|
|
57
65
|
"rounded": true,
|
|
58
66
|
"version": "secondary",
|
|
59
67
|
"href": "/",
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { mobileContext } from '../../setup-fixture';
|
|
2
2
|
import { TariffsTable } from './TariffsTable';
|
|
3
|
-
import type {
|
|
4
|
-
TariffsTableColumn,
|
|
5
|
-
TariffsTableRowHeader,
|
|
6
|
-
} from '../TariffsTable/TariffsTableContent';
|
|
3
|
+
import type { TariffsTableColumn, TariffsTableRowHeader } from './TariffsTableContent';
|
|
7
4
|
import type { Picture } from '../../model/Picture';
|
|
8
5
|
|
|
9
6
|
const image: Picture = {
|
|
@@ -18,9 +15,9 @@ const image: Picture = {
|
|
|
18
15
|
};
|
|
19
16
|
|
|
20
17
|
const rowHeaders: TariffsTableRowHeader[] = [
|
|
21
|
-
{ title: 'Начисление процентов на остаток по счету', icon: 'OkIcon' },
|
|
22
|
-
{ title: 'Снятие наличных', icon: 'GlassIcon' },
|
|
23
|
-
{ title: 'Оформление онлайн', icon: 'ShieldTickIcon' },
|
|
18
|
+
{ title: 'Начисление процентов на остаток по счету', icon: { icon: 'OkIcon' } },
|
|
19
|
+
{ title: 'Снятие наличных', icon: { icon: 'GlassIcon' } },
|
|
20
|
+
{ title: 'Оформление онлайн', icon: { icon: 'ShieldTickIcon' } },
|
|
24
21
|
{ title: 'Кэшбэк баллами' },
|
|
25
22
|
{ title: 'Кнопки-иконки' },
|
|
26
23
|
{ title: 'Стоимость SMS-сервиса' },
|
|
@@ -51,14 +48,14 @@ const columns: TariffsTableColumn[] = [
|
|
|
51
48
|
{
|
|
52
49
|
buttons: [
|
|
53
50
|
{
|
|
54
|
-
icon: 'AppleIcon',
|
|
51
|
+
icon: { icon: 'AppleIcon' },
|
|
55
52
|
rounded: true,
|
|
56
53
|
version: 'secondary',
|
|
57
54
|
href: '/',
|
|
58
55
|
target: '_blank',
|
|
59
56
|
},
|
|
60
57
|
{
|
|
61
|
-
icon: 'PlayMarketIcon',
|
|
58
|
+
icon: { icon: 'PlayMarketIcon' },
|
|
62
59
|
rounded: true,
|
|
63
60
|
version: 'secondary',
|
|
64
61
|
href: '/',
|
|
@@ -15,9 +15,9 @@ const image: Picture = {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
const rowHeaders: TariffsTableRowHeader[] = [
|
|
18
|
-
{ title: 'Начисление процентов на остаток по счету', icon: 'OkIcon' },
|
|
19
|
-
{ title: 'Снятие наличных', icon: 'GlassIcon' },
|
|
20
|
-
{ title: 'Оформление онлайн', icon: 'ShieldTickIcon' },
|
|
18
|
+
{ title: 'Начисление процентов на остаток по счету', icon: { icon: 'OkIcon' } },
|
|
19
|
+
{ title: 'Снятие наличных', icon: { icon: 'GlassIcon' } },
|
|
20
|
+
{ title: 'Оформление онлайн', icon: { icon: 'ShieldTickIcon' } },
|
|
21
21
|
{ title: 'Кэшбэк баллами' },
|
|
22
22
|
{ title: 'Стоимость обслуживания' },
|
|
23
23
|
{ title: 'Стоимость SMS-сервиса' },
|
|
@@ -45,14 +45,14 @@ const columns: TariffsTableColumn[] = [
|
|
|
45
45
|
{
|
|
46
46
|
buttons: [
|
|
47
47
|
{
|
|
48
|
-
icon: 'AppleIcon',
|
|
48
|
+
icon: { icon: 'AppleIcon' },
|
|
49
49
|
rounded: true,
|
|
50
50
|
version: 'secondary',
|
|
51
51
|
href: '/',
|
|
52
52
|
target: '_blank',
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
|
-
icon: 'PlayMarketIcon',
|
|
55
|
+
icon: { icon: 'PlayMarketIcon' },
|
|
56
56
|
rounded: true,
|
|
57
57
|
version: 'secondary',
|
|
58
58
|
href: '/',
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { Button } from '../../ui-kit/Button/Button';
|
|
3
|
-
import {
|
|
3
|
+
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
4
4
|
import { Img } from '../../ui-kit/Img/Img';
|
|
5
5
|
import { List } from '../../ui-kit/List/List';
|
|
6
6
|
import type { TariffsTableCellData, TariffsTableList } from './TariffsTableContent';
|
|
7
|
-
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
8
7
|
|
|
9
8
|
export interface TariffsTableCellProps {
|
|
10
9
|
cell: TariffsTableCellData[];
|
|
@@ -55,7 +54,7 @@ const renderButtons = (buttons: ButtonWithIconProps[]) => (
|
|
|
55
54
|
className={`${idx > 0 && rounded ? 'ml-3' : ''} w-12 h-12`}
|
|
56
55
|
key={String(idx)}
|
|
57
56
|
rounded={rounded}
|
|
58
|
-
appendLeft={icon
|
|
57
|
+
appendLeft={icon ? <Img image={icon} width="24px" height="24px" asSVG /> : null}
|
|
59
58
|
{...buttonProps}
|
|
60
59
|
/>
|
|
61
60
|
))}
|