@redneckz/wildless-cms-uni-blocks 0.2.75 → 0.2.78
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 -81
- package/dist/components/BaseTile/BaseTile.d.ts +5 -0
- package/dist/components/BaseTile/BaseTile.js +40 -0
- package/dist/components/BaseTile/BaseTile.js.map +1 -0
- package/dist/components/BaseTile/BaseTileContent.d.ts +13 -0
- package/dist/{BaseTileContent.js → components/BaseTile/BaseTileContent.js} +0 -0
- package/dist/components/BaseTile/BaseTileContent.js.map +1 -0
- package/dist/components/BenefitsBlock/BenefitsBlock.d.ts +5 -0
- package/dist/components/BenefitsBlock/BenefitsBlock.js +12 -0
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -0
- package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +10 -0
- package/dist/{BenefitsBlockContent.js → components/BenefitsBlock/BenefitsBlockContent.js} +0 -0
- package/dist/components/BenefitsBlock/BenefitsBlockContent.js.map +1 -0
- package/dist/components/BlockContent.d.ts +16 -0
- package/dist/{BlockContent.js → components/BlockContent.js} +0 -0
- package/dist/components/BlockContent.js.map +1 -0
- package/dist/components/Blocks.d.ts +18 -0
- package/dist/components/Blocks.js +37 -0
- package/dist/components/Blocks.js.map +1 -0
- package/dist/components/ComparisonTable/ComparisonTable.d.ts +5 -0
- package/dist/components/ComparisonTable/ComparisonTable.js +34 -0
- package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -0
- package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +37 -0
- package/dist/{ComparisonTable → components/ComparisonTable}/ComparisonTableContent.js +0 -0
- package/dist/components/ComparisonTable/ComparisonTableContent.js.map +1 -0
- package/dist/components/ComparisonTable/HeaderCell.d.ts +10 -0
- package/dist/components/ComparisonTable/HeaderCell.js +11 -0
- package/dist/components/ComparisonTable/HeaderCell.js.map +1 -0
- package/dist/{ComparisonTable → components/ComparisonTable}/TableCarouselContainer.d.ts +0 -0
- package/dist/{ComparisonTable → components/ComparisonTable}/TableCarouselContainer.js +0 -0
- package/dist/components/ComparisonTable/TableCarouselContainer.js.map +1 -0
- package/dist/{ComparisonTable → components/ComparisonTable}/TableCell.d.ts +0 -0
- package/dist/{ComparisonTable → components/ComparisonTable}/TableCell.js +0 -0
- package/dist/components/ComparisonTable/TableCell.js.map +1 -0
- package/dist/{ComparisonTable → components/ComparisonTable}/TableRow.d.ts +0 -0
- package/dist/{ComparisonTable → components/ComparisonTable}/TableRow.js +0 -0
- package/dist/components/ComparisonTable/TableRow.js.map +1 -0
- package/dist/{ComparisonTable → components/ComparisonTable}/TableRowContainer.d.ts +0 -0
- package/dist/{ComparisonTable → components/ComparisonTable}/TableRowContainer.js +0 -0
- package/dist/components/ComparisonTable/TableRowContainer.js.map +1 -0
- package/dist/{ComparisonTable → components/ComparisonTable}/constants.d.ts +0 -0
- package/dist/{ComparisonTable → components/ComparisonTable}/constants.js +0 -0
- package/dist/components/ComparisonTable/constants.js.map +1 -0
- package/dist/components/ContentPage/ContentPage.d.ts +19 -0
- package/dist/components/ContentPage/ContentPage.js +29 -0
- package/dist/components/ContentPage/ContentPage.js.map +1 -0
- package/dist/{ContentPageContext.d.ts → components/ContentPage/ContentPageContext.d.ts} +0 -0
- package/dist/{ContentPageContext.js → components/ContentPage/ContentPageContext.js} +0 -0
- package/dist/components/ContentPage/ContentPageContext.js.map +1 -0
- package/dist/components/ContentPage/ContentPageHead.d.ts +6 -0
- package/dist/{ContentPageHead.js → components/ContentPage/ContentPageHead.js} +0 -0
- package/dist/components/ContentPage/ContentPageHead.js.map +1 -0
- package/dist/components/ContentPage/toMobilePage.d.ts +2 -0
- package/dist/{toMobilePage.js → components/ContentPage/toMobilePage.js} +0 -0
- package/dist/components/ContentPage/toMobilePage.js.map +1 -0
- package/dist/components/CreditCalculator/CreditCalculator.d.ts +4 -0
- package/dist/components/CreditCalculator/CreditCalculator.js +29 -0
- package/dist/components/CreditCalculator/CreditCalculator.js.map +1 -0
- package/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js +35 -0
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -0
- package/dist/{ExchangeRateTileContent.d.ts → components/ExchangeRateTile/ExchangeRateTileContent.d.ts} +0 -0
- package/dist/{ExchangeRateTileContent.js → components/ExchangeRateTile/ExchangeRateTileContent.js} +0 -0
- package/dist/components/ExchangeRateTile/ExchangeRateTileContent.js.map +1 -0
- package/dist/components/Footer/Contacts.d.ts +7 -0
- package/dist/components/Footer/Contacts.js +31 -0
- package/dist/components/Footer/Contacts.js.map +1 -0
- package/dist/components/Footer/Footer.d.ts +5 -0
- package/dist/components/Footer/Footer.js +17 -0
- package/dist/components/Footer/Footer.js.map +1 -0
- package/dist/components/Footer/Footer.mobile.d.ts +5 -0
- package/dist/{Footer → components/Footer}/Footer.mobile.js +0 -0
- package/dist/components/Footer/Footer.mobile.js.map +1 -0
- package/dist/components/Footer/FooterContent.d.ts +13 -0
- package/dist/{Footer → components/Footer}/FooterContent.js +0 -0
- package/dist/components/Footer/FooterContent.js.map +1 -0
- package/dist/components/Footer/FooterLink.d.ts +5 -0
- package/dist/{Footer → components/Footer}/FooterLink.js +0 -0
- package/dist/components/Footer/FooterLink.js.map +1 -0
- package/dist/{Footer → components/Footer}/HorizontalNavigation.d.ts +0 -0
- package/dist/components/Footer/HorizontalNavigation.js +12 -0
- package/dist/components/Footer/HorizontalNavigation.js.map +1 -0
- package/dist/components/Footer/Sitemap.d.ts +6 -0
- package/dist/components/Footer/Sitemap.js +22 -0
- package/dist/components/Footer/Sitemap.js.map +1 -0
- package/dist/components/Footer/SocialMedia.d.ts +6 -0
- package/dist/components/Footer/SocialMedia.js +24 -0
- package/dist/components/Footer/SocialMedia.js.map +1 -0
- package/dist/{Footer → components/Footer}/TextInformation.d.ts +0 -0
- package/dist/components/Footer/TextInformation.js +12 -0
- package/dist/components/Footer/TextInformation.js.map +1 -0
- package/dist/components/Gallery/Gallery.d.ts +5 -0
- package/dist/{Gallery.js → components/Gallery/Gallery.js} +0 -0
- package/dist/components/Gallery/Gallery.js.map +1 -0
- package/dist/{Gallery.mobile.d.ts → components/Gallery/Gallery.mobile.d.ts} +0 -0
- package/dist/components/Gallery/Gallery.mobile.js +18 -0
- package/dist/components/Gallery/Gallery.mobile.js.map +1 -0
- package/dist/components/Gallery/GalleryContent.d.ts +13 -0
- package/dist/{GalleryContent.js → components/Gallery/GalleryContent.js} +0 -0
- package/dist/components/Gallery/GalleryContent.js.map +1 -0
- package/dist/components/Gallery/GalleryInner.d.ts +7 -0
- package/dist/components/Gallery/GalleryInner.js +46 -0
- package/dist/components/Gallery/GalleryInner.js.map +1 -0
- package/dist/components/Header/Header.d.ts +5 -0
- package/dist/components/Header/Header.js +26 -0
- package/dist/components/Header/Header.js.map +1 -0
- package/dist/components/Header/HeaderContent.d.ts +4 -0
- package/dist/{Header → components/Header}/HeaderContent.js +0 -0
- package/dist/components/Header/HeaderContent.js.map +1 -0
- package/dist/components/Header/HeaderSecondaryMenu.d.ts +9 -0
- package/dist/components/Header/HeaderSecondaryMenu.js +12 -0
- package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -0
- package/dist/{Header → components/Header}/HeaderSecondaryMenuButton.d.ts +0 -0
- package/dist/{Header → components/Header}/HeaderSecondaryMenuButton.js +0 -0
- package/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -0
- package/dist/components/Header/isSubItemActive.d.ts +3 -0
- package/dist/components/Header/isSubItemActive.js +8 -0
- package/dist/components/Header/isSubItemActive.js.map +1 -0
- package/dist/components/Header/isTopItemActive.d.ts +3 -0
- package/dist/components/Header/isTopItemActive.js +8 -0
- package/dist/components/Header/isTopItemActive.js.map +1 -0
- package/dist/components/LikeControl/LikeControl.d.ts +2 -0
- package/dist/components/LikeControl/LikeControl.js +10 -0
- package/dist/components/LikeControl/LikeControl.js.map +1 -0
- package/dist/components/MiniGallery/MiniGallery.d.ts +5 -0
- package/dist/components/MiniGallery/MiniGallery.js +7 -0
- package/dist/components/MiniGallery/MiniGallery.js.map +1 -0
- package/dist/components/MobileAppTile/MobileAppTile.d.ts +5 -0
- package/dist/components/MobileAppTile/MobileAppTile.js +9 -0
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -0
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +9 -0
- package/dist/{MobileAppTileContent.js → components/MobileAppTile/MobileAppTileContent.js} +0 -0
- package/dist/components/MobileAppTile/MobileAppTileContent.js.map +1 -0
- package/dist/components/MobileBlocks.d.ts +12 -0
- package/dist/components/MobileBlocks.js +28 -0
- package/dist/components/MobileBlocks.js.map +1 -0
- package/dist/components/Placeholder/Placeholder.d.ts +6 -0
- package/dist/components/Placeholder/Placeholder.js +15 -0
- package/dist/components/Placeholder/Placeholder.js.map +1 -0
- package/dist/{PlaceholderContent.d.ts → components/Placeholder/PlaceholderContent.d.ts} +0 -0
- package/dist/{PlaceholderContent.js → components/Placeholder/PlaceholderContent.js} +0 -0
- package/dist/components/Placeholder/PlaceholderContent.js.map +1 -0
- package/dist/components/ProductBlock/ProductBlock.d.ts +5 -0
- package/dist/components/ProductBlock/ProductBlock.js +15 -0
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -0
- package/dist/components/ProductBlock/ProductBlock.mobile.d.ts +5 -0
- package/dist/{ProductBlock.mobile.js → components/ProductBlock/ProductBlock.mobile.js} +0 -0
- package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -0
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +9 -0
- package/dist/{ProductBlockContent.js → components/ProductBlock/ProductBlockContent.js} +0 -0
- package/dist/components/ProductBlock/ProductBlockContent.js.map +1 -0
- package/dist/components/ProductBlock/ProductBlockInner.d.ts +5 -0
- package/dist/components/ProductBlock/ProductBlockInner.js +17 -0
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -0
- package/dist/components/ProductGallery/ProductGallery.d.ts +5 -0
- package/dist/components/ProductGallery/ProductGallery.js +27 -0
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -0
- package/dist/components/ProductGallery/ProductGalleryContent.d.ts +14 -0
- package/dist/{ProductGalleryContent.js → components/ProductGallery/ProductGalleryContent.js} +0 -0
- package/dist/components/ProductGallery/ProductGalleryContent.js.map +1 -0
- package/dist/components/ProductTile/ProductTile.d.ts +5 -0
- package/dist/components/ProductTile/ProductTile.js +20 -0
- package/dist/components/ProductTile/ProductTile.js.map +1 -0
- package/dist/components/ProductTile/ProductTileContent.d.ts +5 -0
- package/dist/{ProductTileContent.js → components/ProductTile/ProductTileContent.js} +0 -0
- package/dist/components/ProductTile/ProductTileContent.js.map +1 -0
- package/dist/components/PromoTile/PromoTile.d.ts +5 -0
- package/dist/components/PromoTile/PromoTile.js +18 -0
- package/dist/components/PromoTile/PromoTile.js.map +1 -0
- package/dist/components/PromoTile/PromoTileContent.d.ts +4 -0
- package/dist/{PromoTileContent.js → components/PromoTile/PromoTileContent.js} +0 -0
- package/dist/components/PromoTile/PromoTileContent.js.map +1 -0
- package/dist/components/StepsBlock/StepsBlock.d.ts +5 -0
- package/dist/components/StepsBlock/StepsBlock.js +17 -0
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -0
- package/dist/components/StepsBlock/StepsBlockContent.d.ts +10 -0
- package/dist/{StepsBlockContent.js → components/StepsBlock/StepsBlockContent.js} +0 -0
- package/dist/components/StepsBlock/StepsBlockContent.js.map +1 -0
- package/dist/components/TextBlock/TextBlock.d.ts +5 -0
- package/dist/components/TextBlock/TextBlock.js +36 -0
- package/dist/components/TextBlock/TextBlock.js.map +1 -0
- package/dist/components/TextBlock/TextBlockContent.d.ts +10 -0
- package/dist/{TextBlockContent.js → components/TextBlock/TextBlockContent.js} +0 -0
- package/dist/components/TextBlock/TextBlockContent.js.map +1 -0
- package/dist/components/Tile/Tile.d.ts +5 -0
- package/dist/components/Tile/Tile.js +27 -0
- package/dist/components/Tile/Tile.js.map +1 -0
- package/dist/components/Tile/TileContent.d.ts +2 -0
- package/dist/{TileContent.js → components/Tile/TileContent.js} +0 -0
- package/dist/components/Tile/TileContent.js.map +1 -0
- package/dist/content-page-repository/ContentPageRepository.d.ts +3 -0
- package/dist/content-page-repository/ContentPageRepository.js +15 -1
- package/dist/content-page-repository/ContentPageRepository.js.map +1 -1
- package/dist/hooks/useLink.d.ts +15 -0
- package/dist/hooks/useLink.js +22 -0
- package/dist/hooks/useLink.js.map +1 -0
- package/dist/hooks/useSitemap.d.ts +3 -0
- package/dist/hooks/useSitemap.js +16 -0
- package/dist/hooks/useSitemap.js.map +1 -0
- package/dist/index.d.ts +8 -8
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +2 -2
- package/dist/ui-kit/{BlockItem.d.ts → BlockItem/BlockItem.d.ts} +0 -0
- package/dist/ui-kit/{BlockItem.js → BlockItem/BlockItem.js} +0 -0
- package/dist/ui-kit/BlockItem/BlockItem.js.map +1 -0
- package/dist/ui-kit/{ArrowButton.d.ts → Button/ArrowButton.d.ts} +0 -0
- package/dist/ui-kit/Button/ArrowButton.js +22 -0
- package/dist/ui-kit/Button/ArrowButton.js.map +1 -0
- package/dist/ui-kit/{Button.d.ts → Button/Button.d.ts} +0 -0
- package/dist/ui-kit/{Button.js → Button/Button.js} +0 -0
- package/dist/ui-kit/Button/Button.js.map +1 -0
- package/dist/ui-kit/Button/ButtonProps.d.ts +21 -0
- package/dist/ui-kit/{ButtonProps.js → Button/ButtonProps.js} +0 -0
- package/dist/ui-kit/Button/ButtonProps.js.map +1 -0
- package/dist/ui-kit/{LikeButton.d.ts → Button/LikeButton.d.ts} +0 -0
- package/dist/ui-kit/{LikeButton.js → Button/LikeButton.js} +0 -0
- package/dist/ui-kit/Button/LikeButton.js.map +1 -0
- package/dist/ui-kit/Checkbox/Checkbox.d.ts +2 -0
- package/dist/ui-kit/Checkbox/Checkbox.js +17 -0
- package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -0
- package/dist/ui-kit/Checkbox/CheckboxProps.d.ts +6 -0
- package/dist/ui-kit/Checkbox/CheckboxProps.js +2 -0
- package/dist/ui-kit/Checkbox/CheckboxProps.js.map +1 -0
- package/dist/ui-kit/HeaderItem/HeaderItem.d.ts +3 -0
- package/dist/ui-kit/{HeaderItem.js → HeaderItem/HeaderItem.js} +0 -0
- package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -0
- package/dist/ui-kit/{Icon.d.ts → Icon/Icon.d.ts} +0 -0
- package/dist/ui-kit/Icon/Icon.js +7 -0
- package/dist/ui-kit/Icon/Icon.js.map +1 -0
- package/dist/ui-kit/{IconProps.d.ts → Icon/IconProps.d.ts} +0 -0
- package/dist/ui-kit/{IconProps.js → Icon/IconProps.js} +0 -0
- package/dist/ui-kit/Icon/IconProps.js.map +1 -0
- package/dist/ui-kit/InputRange/InputRange.d.ts +2 -0
- package/dist/ui-kit/InputRange/InputRange.js +25 -0
- package/dist/ui-kit/InputRange/InputRange.js.map +1 -0
- package/dist/ui-kit/InputRange/InputRangeProps.d.ts +10 -0
- package/dist/ui-kit/InputRange/InputRangeProps.js +2 -0
- package/dist/ui-kit/InputRange/InputRangeProps.js.map +1 -0
- package/dist/ui-kit/{Logo.d.ts → Logo/Logo.d.ts} +0 -0
- package/dist/ui-kit/Logo/Logo.js +16 -0
- package/dist/ui-kit/Logo/Logo.js.map +1 -0
- package/dist/ui-kit/SearchBar.js +1 -1
- package/dist/ui-kit/SearchBar.js.map +1 -1
- package/dist/ui-kit/{Title.d.ts → Title/Title.d.ts} +0 -0
- package/dist/ui-kit/{Title.js → Title/Title.js} +0 -0
- package/dist/ui-kit/Title/Title.js.map +1 -0
- package/dist/ui-kit/{TitleProps.d.ts → Title/TitleProps.d.ts} +0 -0
- package/dist/ui-kit/{TitleProps.js → Title/TitleProps.js} +0 -0
- package/dist/ui-kit/Title/TitleProps.js.map +1 -0
- package/dist/ui-kit/TopItem/TopItem.d.ts +11 -0
- package/dist/ui-kit/{TopItem.js → TopItem/TopItem.js} +0 -0
- package/dist/ui-kit/TopItem/TopItem.js.map +1 -0
- package/dist/utils/clamp.d.ts +1 -0
- package/dist/utils/clamp.js +5 -0
- package/dist/utils/clamp.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/BaseTile/BaseTile.d.ts +5 -0
- package/lib/components/BaseTile/BaseTile.js +38 -0
- package/lib/components/BaseTile/BaseTile.js.map +1 -0
- package/lib/components/BaseTile/BaseTileContent.d.ts +13 -0
- package/lib/{BaseTileContent.js → components/BaseTile/BaseTileContent.js} +0 -0
- package/lib/components/BaseTile/BaseTileContent.js.map +1 -0
- package/lib/components/BenefitsBlock/BenefitsBlock.d.ts +5 -0
- package/lib/components/BenefitsBlock/BenefitsBlock.js +10 -0
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -0
- package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +10 -0
- package/lib/{BenefitsBlockContent.js → components/BenefitsBlock/BenefitsBlockContent.js} +0 -0
- package/lib/components/BenefitsBlock/BenefitsBlockContent.js.map +1 -0
- package/lib/components/BlockContent.d.ts +16 -0
- package/lib/{BlockContent.js → components/BlockContent.js} +0 -0
- package/lib/components/BlockContent.js.map +1 -0
- package/lib/components/Blocks.d.ts +18 -0
- package/lib/components/Blocks.js +35 -0
- package/lib/components/Blocks.js.map +1 -0
- package/lib/components/ComparisonTable/ComparisonTable.d.ts +5 -0
- package/lib/components/ComparisonTable/ComparisonTable.js +32 -0
- package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -0
- package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +37 -0
- package/lib/{ComparisonTable → components/ComparisonTable}/ComparisonTableContent.js +0 -0
- package/lib/components/ComparisonTable/ComparisonTableContent.js.map +1 -0
- package/lib/components/ComparisonTable/HeaderCell.d.ts +10 -0
- package/lib/components/ComparisonTable/HeaderCell.js +9 -0
- package/lib/components/ComparisonTable/HeaderCell.js.map +1 -0
- package/lib/{ComparisonTable → components/ComparisonTable}/TableCarouselContainer.d.ts +0 -0
- package/lib/{ComparisonTable → components/ComparisonTable}/TableCarouselContainer.js +0 -0
- package/lib/components/ComparisonTable/TableCarouselContainer.js.map +1 -0
- package/lib/{ComparisonTable → components/ComparisonTable}/TableCell.d.ts +0 -0
- package/lib/{ComparisonTable → components/ComparisonTable}/TableCell.js +0 -0
- package/lib/components/ComparisonTable/TableCell.js.map +1 -0
- package/lib/{ComparisonTable → components/ComparisonTable}/TableRow.d.ts +0 -0
- package/lib/{ComparisonTable → components/ComparisonTable}/TableRow.js +0 -0
- package/lib/components/ComparisonTable/TableRow.js.map +1 -0
- package/lib/{ComparisonTable → components/ComparisonTable}/TableRowContainer.d.ts +0 -0
- package/lib/{ComparisonTable → components/ComparisonTable}/TableRowContainer.js +0 -0
- package/lib/components/ComparisonTable/TableRowContainer.js.map +1 -0
- package/lib/{ComparisonTable → components/ComparisonTable}/constants.d.ts +0 -0
- package/lib/{ComparisonTable → components/ComparisonTable}/constants.js +0 -0
- package/lib/components/ComparisonTable/constants.js.map +1 -0
- package/lib/components/ContentPage/ContentPage.d.ts +19 -0
- package/lib/components/ContentPage/ContentPage.js +27 -0
- package/lib/components/ContentPage/ContentPage.js.map +1 -0
- package/lib/{ContentPageContext.d.ts → components/ContentPage/ContentPageContext.d.ts} +0 -0
- package/lib/{ContentPageContext.js → components/ContentPage/ContentPageContext.js} +0 -0
- package/lib/components/ContentPage/ContentPageContext.js.map +1 -0
- package/lib/components/ContentPage/ContentPageHead.d.ts +6 -0
- package/lib/{ContentPageHead.js → components/ContentPage/ContentPageHead.js} +0 -0
- package/lib/components/ContentPage/ContentPageHead.js.map +1 -0
- package/lib/components/ContentPage/toMobilePage.d.ts +2 -0
- package/lib/{toMobilePage.js → components/ContentPage/toMobilePage.js} +0 -0
- package/lib/components/ContentPage/toMobilePage.js.map +1 -0
- package/lib/components/CreditCalculator/CreditCalculator.d.ts +4 -0
- package/lib/components/CreditCalculator/CreditCalculator.js +27 -0
- package/lib/components/CreditCalculator/CreditCalculator.js.map +1 -0
- package/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js +33 -0
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -0
- package/lib/{ExchangeRateTileContent.d.ts → components/ExchangeRateTile/ExchangeRateTileContent.d.ts} +0 -0
- package/lib/{ExchangeRateTileContent.js → components/ExchangeRateTile/ExchangeRateTileContent.js} +0 -0
- package/lib/components/ExchangeRateTile/ExchangeRateTileContent.js.map +1 -0
- package/lib/components/Footer/Contacts.d.ts +7 -0
- package/lib/components/Footer/Contacts.js +29 -0
- package/lib/components/Footer/Contacts.js.map +1 -0
- package/lib/components/Footer/Footer.d.ts +5 -0
- package/lib/components/Footer/Footer.js +15 -0
- package/lib/components/Footer/Footer.js.map +1 -0
- package/lib/components/Footer/Footer.mobile.d.ts +5 -0
- package/lib/{Footer → components/Footer}/Footer.mobile.js +0 -0
- package/lib/components/Footer/Footer.mobile.js.map +1 -0
- package/lib/components/Footer/FooterContent.d.ts +13 -0
- package/lib/{Footer → components/Footer}/FooterContent.js +0 -0
- package/lib/components/Footer/FooterContent.js.map +1 -0
- package/lib/components/Footer/FooterLink.d.ts +5 -0
- package/lib/{Footer → components/Footer}/FooterLink.js +0 -0
- package/lib/components/Footer/FooterLink.js.map +1 -0
- package/lib/{Footer → components/Footer}/HorizontalNavigation.d.ts +0 -0
- package/lib/components/Footer/HorizontalNavigation.js +10 -0
- package/lib/components/Footer/HorizontalNavigation.js.map +1 -0
- package/lib/components/Footer/Sitemap.d.ts +6 -0
- package/lib/components/Footer/Sitemap.js +20 -0
- package/lib/components/Footer/Sitemap.js.map +1 -0
- package/lib/components/Footer/SocialMedia.d.ts +6 -0
- package/lib/components/Footer/SocialMedia.js +22 -0
- package/lib/components/Footer/SocialMedia.js.map +1 -0
- package/lib/{Footer → components/Footer}/TextInformation.d.ts +0 -0
- package/lib/components/Footer/TextInformation.js +10 -0
- package/lib/components/Footer/TextInformation.js.map +1 -0
- package/lib/components/Gallery/Gallery.d.ts +5 -0
- package/lib/{Gallery.js → components/Gallery/Gallery.js} +0 -0
- package/lib/components/Gallery/Gallery.js.map +1 -0
- package/lib/{Gallery.mobile.d.ts → components/Gallery/Gallery.mobile.d.ts} +0 -0
- package/lib/components/Gallery/Gallery.mobile.js +16 -0
- package/lib/components/Gallery/Gallery.mobile.js.map +1 -0
- package/lib/components/Gallery/GalleryContent.d.ts +13 -0
- package/lib/{GalleryContent.js → components/Gallery/GalleryContent.js} +0 -0
- package/lib/components/Gallery/GalleryContent.js.map +1 -0
- package/lib/components/Gallery/GalleryInner.d.ts +7 -0
- package/lib/components/Gallery/GalleryInner.js +44 -0
- package/lib/components/Gallery/GalleryInner.js.map +1 -0
- package/lib/components/Header/Header.d.ts +5 -0
- package/lib/components/Header/Header.js +24 -0
- package/lib/components/Header/Header.js.map +1 -0
- package/lib/components/Header/HeaderContent.d.ts +4 -0
- package/lib/{Header → components/Header}/HeaderContent.js +0 -0
- package/lib/components/Header/HeaderContent.js.map +1 -0
- package/lib/components/Header/HeaderSecondaryMenu.d.ts +9 -0
- package/lib/components/Header/HeaderSecondaryMenu.js +10 -0
- package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -0
- package/lib/{Header → components/Header}/HeaderSecondaryMenuButton.d.ts +0 -0
- package/lib/{Header → components/Header}/HeaderSecondaryMenuButton.js +0 -0
- package/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -0
- package/lib/components/Header/isSubItemActive.d.ts +3 -0
- package/lib/components/Header/isSubItemActive.js +5 -0
- package/lib/components/Header/isSubItemActive.js.map +1 -0
- package/lib/components/Header/isTopItemActive.d.ts +3 -0
- package/lib/components/Header/isTopItemActive.js +5 -0
- package/lib/components/Header/isTopItemActive.js.map +1 -0
- package/lib/components/LikeControl/LikeControl.d.ts +2 -0
- package/lib/components/LikeControl/LikeControl.js +8 -0
- package/lib/components/LikeControl/LikeControl.js.map +1 -0
- package/lib/components/MiniGallery/MiniGallery.d.ts +5 -0
- package/lib/components/MiniGallery/MiniGallery.js +5 -0
- package/lib/components/MiniGallery/MiniGallery.js.map +1 -0
- package/lib/components/MobileAppTile/MobileAppTile.d.ts +5 -0
- package/lib/components/MobileAppTile/MobileAppTile.js +7 -0
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -0
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +9 -0
- package/lib/{MobileAppTileContent.js → components/MobileAppTile/MobileAppTileContent.js} +0 -0
- package/lib/components/MobileAppTile/MobileAppTileContent.js.map +1 -0
- package/lib/components/MobileBlocks.d.ts +12 -0
- package/lib/components/MobileBlocks.js +26 -0
- package/lib/components/MobileBlocks.js.map +1 -0
- package/lib/components/Placeholder/Placeholder.d.ts +6 -0
- package/lib/components/Placeholder/Placeholder.js +13 -0
- package/lib/components/Placeholder/Placeholder.js.map +1 -0
- package/lib/{PlaceholderContent.d.ts → components/Placeholder/PlaceholderContent.d.ts} +0 -0
- package/lib/{PlaceholderContent.js → components/Placeholder/PlaceholderContent.js} +0 -0
- package/lib/components/Placeholder/PlaceholderContent.js.map +1 -0
- package/lib/components/ProductBlock/ProductBlock.d.ts +5 -0
- package/lib/components/ProductBlock/ProductBlock.js +13 -0
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -0
- package/lib/components/ProductBlock/ProductBlock.mobile.d.ts +5 -0
- package/lib/{ProductBlock.mobile.js → components/ProductBlock/ProductBlock.mobile.js} +0 -0
- package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -0
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +9 -0
- package/lib/{ProductBlockContent.js → components/ProductBlock/ProductBlockContent.js} +0 -0
- package/lib/components/ProductBlock/ProductBlockContent.js.map +1 -0
- package/lib/components/ProductBlock/ProductBlockInner.d.ts +5 -0
- package/lib/components/ProductBlock/ProductBlockInner.js +15 -0
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -0
- package/lib/components/ProductGallery/ProductGallery.d.ts +5 -0
- package/lib/components/ProductGallery/ProductGallery.js +25 -0
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -0
- package/lib/components/ProductGallery/ProductGalleryContent.d.ts +14 -0
- package/lib/{ProductGalleryContent.js → components/ProductGallery/ProductGalleryContent.js} +0 -0
- package/lib/components/ProductGallery/ProductGalleryContent.js.map +1 -0
- package/lib/components/ProductTile/ProductTile.d.ts +5 -0
- package/lib/components/ProductTile/ProductTile.js +18 -0
- package/lib/components/ProductTile/ProductTile.js.map +1 -0
- package/lib/components/ProductTile/ProductTileContent.d.ts +5 -0
- package/lib/{ProductTileContent.js → components/ProductTile/ProductTileContent.js} +0 -0
- package/lib/components/ProductTile/ProductTileContent.js.map +1 -0
- package/lib/components/PromoTile/PromoTile.d.ts +5 -0
- package/lib/components/PromoTile/PromoTile.js +16 -0
- package/lib/components/PromoTile/PromoTile.js.map +1 -0
- package/lib/components/PromoTile/PromoTileContent.d.ts +4 -0
- package/lib/{PromoTileContent.js → components/PromoTile/PromoTileContent.js} +0 -0
- package/lib/components/PromoTile/PromoTileContent.js.map +1 -0
- package/lib/components/StepsBlock/StepsBlock.d.ts +5 -0
- package/lib/components/StepsBlock/StepsBlock.js +15 -0
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -0
- package/lib/components/StepsBlock/StepsBlockContent.d.ts +10 -0
- package/lib/{StepsBlockContent.js → components/StepsBlock/StepsBlockContent.js} +0 -0
- package/lib/components/StepsBlock/StepsBlockContent.js.map +1 -0
- package/lib/components/TextBlock/TextBlock.d.ts +5 -0
- package/lib/components/TextBlock/TextBlock.js +34 -0
- package/lib/components/TextBlock/TextBlock.js.map +1 -0
- package/lib/components/TextBlock/TextBlockContent.d.ts +10 -0
- package/lib/{TextBlockContent.js → components/TextBlock/TextBlockContent.js} +0 -0
- package/lib/components/TextBlock/TextBlockContent.js.map +1 -0
- package/lib/components/Tile/Tile.d.ts +5 -0
- package/lib/components/Tile/Tile.js +25 -0
- package/lib/components/Tile/Tile.js.map +1 -0
- package/lib/components/Tile/TileContent.d.ts +2 -0
- package/lib/{TileContent.js → components/Tile/TileContent.js} +0 -0
- package/lib/components/Tile/TileContent.js.map +1 -0
- package/lib/content-page-repository/ContentPageRepository.d.ts +3 -0
- package/lib/content-page-repository/ContentPageRepository.js +15 -1
- package/lib/content-page-repository/ContentPageRepository.js.map +1 -1
- package/lib/hooks/useLink.d.ts +15 -0
- package/lib/hooks/useLink.js +19 -0
- package/lib/hooks/useLink.js.map +1 -0
- package/lib/hooks/useSitemap.d.ts +3 -0
- package/lib/hooks/useSitemap.js +13 -0
- package/lib/hooks/useSitemap.js.map +1 -0
- package/lib/index.d.ts +8 -8
- package/lib/index.js +5 -5
- package/lib/index.js.map +1 -1
- package/lib/types.d.ts +2 -2
- package/lib/ui-kit/{BlockItem.d.ts → BlockItem/BlockItem.d.ts} +0 -0
- package/lib/ui-kit/{BlockItem.js → BlockItem/BlockItem.js} +0 -0
- package/lib/ui-kit/BlockItem/BlockItem.js.map +1 -0
- package/lib/ui-kit/{ArrowButton.d.ts → Button/ArrowButton.d.ts} +0 -0
- package/lib/ui-kit/Button/ArrowButton.js +20 -0
- package/lib/ui-kit/Button/ArrowButton.js.map +1 -0
- package/lib/ui-kit/{Button.d.ts → Button/Button.d.ts} +0 -0
- package/lib/ui-kit/{Button.js → Button/Button.js} +0 -0
- package/lib/ui-kit/Button/Button.js.map +1 -0
- package/lib/ui-kit/Button/ButtonProps.d.ts +21 -0
- package/lib/ui-kit/{ButtonProps.js → Button/ButtonProps.js} +0 -0
- package/lib/ui-kit/Button/ButtonProps.js.map +1 -0
- package/lib/ui-kit/{LikeButton.d.ts → Button/LikeButton.d.ts} +0 -0
- package/lib/ui-kit/{LikeButton.js → Button/LikeButton.js} +0 -0
- package/lib/ui-kit/Button/LikeButton.js.map +1 -0
- package/lib/ui-kit/Checkbox/Checkbox.d.ts +2 -0
- package/lib/ui-kit/Checkbox/Checkbox.js +15 -0
- package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -0
- package/lib/ui-kit/Checkbox/CheckboxProps.d.ts +6 -0
- package/lib/ui-kit/Checkbox/CheckboxProps.js +2 -0
- package/lib/ui-kit/Checkbox/CheckboxProps.js.map +1 -0
- package/lib/ui-kit/HeaderItem/HeaderItem.d.ts +3 -0
- package/lib/ui-kit/{HeaderItem.js → HeaderItem/HeaderItem.js} +0 -0
- package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -0
- package/lib/ui-kit/{Icon.d.ts → Icon/Icon.d.ts} +0 -0
- package/lib/ui-kit/Icon/Icon.js +5 -0
- package/lib/ui-kit/Icon/Icon.js.map +1 -0
- package/lib/ui-kit/{IconProps.d.ts → Icon/IconProps.d.ts} +0 -0
- package/lib/ui-kit/{IconProps.js → Icon/IconProps.js} +0 -0
- package/lib/ui-kit/Icon/IconProps.js.map +1 -0
- package/lib/ui-kit/InputRange/InputRange.d.ts +2 -0
- package/lib/ui-kit/InputRange/InputRange.js +23 -0
- package/lib/ui-kit/InputRange/InputRange.js.map +1 -0
- package/lib/ui-kit/InputRange/InputRangeProps.d.ts +10 -0
- package/lib/ui-kit/InputRange/InputRangeProps.js +2 -0
- package/lib/ui-kit/InputRange/InputRangeProps.js.map +1 -0
- package/lib/ui-kit/{Logo.d.ts → Logo/Logo.d.ts} +0 -0
- package/lib/ui-kit/Logo/Logo.js +14 -0
- package/lib/ui-kit/Logo/Logo.js.map +1 -0
- package/lib/ui-kit/SearchBar.js +1 -1
- package/lib/ui-kit/SearchBar.js.map +1 -1
- package/lib/ui-kit/{Title.d.ts → Title/Title.d.ts} +0 -0
- package/lib/ui-kit/{Title.js → Title/Title.js} +0 -0
- package/lib/ui-kit/Title/Title.js.map +1 -0
- package/lib/ui-kit/{TitleProps.d.ts → Title/TitleProps.d.ts} +0 -0
- package/lib/ui-kit/{TitleProps.js → Title/TitleProps.js} +0 -0
- package/lib/ui-kit/Title/TitleProps.js.map +1 -0
- package/lib/ui-kit/TopItem/TopItem.d.ts +11 -0
- package/lib/ui-kit/{TopItem.js → TopItem/TopItem.js} +0 -0
- package/lib/ui-kit/TopItem/TopItem.js.map +1 -0
- package/lib/utils/clamp.d.ts +1 -0
- package/lib/utils/clamp.js +2 -0
- package/lib/utils/clamp.js.map +1 -0
- package/package.json +3 -3
- package/src/common.css +40 -0
- package/src/components/BaseTile/BaseTile.tsx +98 -0
- package/src/components/BaseTile/BaseTileContent.ts +14 -0
- package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +34 -0
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +42 -0
- package/src/components/BenefitsBlock/BenefitsBlockContent.ts +12 -0
- package/src/components/BlockContent.ts +32 -0
- package/src/components/Blocks.ts +35 -0
- package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +265 -0
- package/src/components/ComparisonTable/ComparisonTable.tsx +126 -0
- package/src/components/ComparisonTable/ComparisonTableContent.ts +43 -0
- package/src/components/ComparisonTable/HeaderCell.tsx +50 -0
- package/src/{ComparisonTable → components/ComparisonTable}/TableCarouselContainer.tsx +0 -0
- package/src/{ComparisonTable → components/ComparisonTable}/TableCell.tsx +0 -0
- package/src/{ComparisonTable → components/ComparisonTable}/TableRow.tsx +0 -0
- package/src/{ComparisonTable → components/ComparisonTable}/TableRowContainer.tsx +0 -0
- package/src/{ComparisonTable → components/ComparisonTable}/constants.ts +0 -0
- package/src/components/ContentPage/ContentPage.fixture.tsx +58 -0
- package/src/{ContentPage.page.json → components/ContentPage/ContentPage.page.json} +0 -0
- package/src/components/ContentPage/ContentPage.tsx +88 -0
- package/src/{ContentPageContext.tsx → components/ContentPage/ContentPageContext.tsx} +0 -0
- package/src/components/ContentPage/ContentPageHead.tsx +26 -0
- package/src/components/ContentPage/toMobilePage.ts +21 -0
- package/src/components/CreditCalculator/CreditCalculator.fixture.tsx +4 -0
- package/src/components/CreditCalculator/CreditCalculator.tsx +106 -0
- package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +11 -0
- package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +80 -0
- package/src/{ExchangeRateTileContent.ts → components/ExchangeRateTile/ExchangeRateTileContent.ts} +0 -0
- package/src/components/Footer/Contacts.tsx +73 -0
- package/src/components/Footer/Footer.fixture.tsx +265 -0
- package/src/components/Footer/Footer.mobile.tsx +12 -0
- package/src/components/Footer/Footer.tsx +40 -0
- package/src/components/Footer/FooterContent.ts +15 -0
- package/src/components/Footer/FooterLink.ts +6 -0
- package/src/components/Footer/HorizontalNavigation.tsx +46 -0
- package/src/components/Footer/Sitemap.tsx +58 -0
- package/src/components/Footer/SocialMedia.tsx +52 -0
- package/src/components/Footer/TextInformation.tsx +50 -0
- package/src/components/Gallery/Gallery.fixture.tsx +215 -0
- package/src/components/Gallery/Gallery.mobile.tsx +71 -0
- package/src/components/Gallery/Gallery.tsx +8 -0
- package/src/components/Gallery/GalleryContent.ts +15 -0
- package/src/components/Gallery/GalleryInner.tsx +135 -0
- package/src/components/Header/Header.fixture.tsx +21 -0
- package/src/components/Header/Header.tsx +59 -0
- package/src/components/Header/HeaderContent.ts +5 -0
- package/src/components/Header/HeaderSecondaryMenu.tsx +56 -0
- package/src/{Header → components/Header}/HeaderSecondaryMenuButton.tsx +0 -0
- package/src/components/Header/isSubItemActive.ts +7 -0
- package/src/components/Header/isTopItemActive.ts +8 -0
- package/src/components/LikeControl/LikeControl.fixture.tsx +5 -0
- package/src/components/LikeControl/LikeControl.tsx +23 -0
- package/src/components/MiniGallery/MiniGallery.fixture.tsx +90 -0
- package/src/components/MiniGallery/MiniGallery.tsx +10 -0
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +34 -0
- package/src/components/MobileAppTile/MobileAppTile.tsx +32 -0
- package/src/components/MobileAppTile/MobileAppTileContent.ts +11 -0
- package/src/components/MobileBlocks.ts +26 -0
- package/src/components/Placeholder/Placeholder.fixture.tsx +5 -0
- package/src/components/Placeholder/Placeholder.tsx +30 -0
- package/src/{PlaceholderContent.ts → components/Placeholder/PlaceholderContent.ts} +0 -0
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +96 -0
- package/src/components/ProductBlock/ProductBlock.mobile.tsx +19 -0
- package/src/components/ProductBlock/ProductBlock.tsx +37 -0
- package/src/components/ProductBlock/ProductBlockContent.ts +11 -0
- package/src/components/ProductBlock/ProductBlockInner.tsx +57 -0
- package/src/components/ProductGallery/ProductGallery.fixture.tsx +138 -0
- package/src/components/ProductGallery/ProductGallery.tsx +78 -0
- package/src/components/ProductGallery/ProductGalleryContent.ts +16 -0
- package/src/components/ProductTile/ProductTile.fixture.tsx +155 -0
- package/src/components/ProductTile/ProductTile.tsx +43 -0
- package/src/components/ProductTile/ProductTileContent.ts +6 -0
- package/src/components/PromoTile/PromoTile.fixture.tsx +25 -0
- package/src/components/PromoTile/PromoTile.tsx +43 -0
- package/src/components/PromoTile/PromoTileContent.ts +5 -0
- package/src/components/StepsBlock/StepsBlock.fixture.tsx +23 -0
- package/src/components/StepsBlock/StepsBlock.tsx +55 -0
- package/src/components/StepsBlock/StepsBlockContent.ts +12 -0
- package/src/components/TextBlock/TextBlock.fixture.tsx +116 -0
- package/src/components/TextBlock/TextBlock.tsx +65 -0
- package/src/components/TextBlock/TextBlockContent.ts +12 -0
- package/src/components/Tile/Tile.fixture.tsx +134 -0
- package/src/components/Tile/Tile.tsx +38 -0
- package/src/components/Tile/TileContent.ts +3 -0
- package/src/content-page-repository/ContentPageRepository.ts +18 -1
- package/src/cosmos.decorator.tsx +6 -0
- package/src/hooks/useLink.ts +28 -0
- package/src/hooks/useSitemap.ts +17 -0
- package/src/index.ts +8 -8
- package/src/setup-fixture.ts +1 -1
- package/src/types.ts +2 -2
- package/src/ui-kit/BlockItem/BlockItem.fixture.tsx +5 -0
- package/src/ui-kit/{BlockItem.tsx → BlockItem/BlockItem.tsx} +0 -0
- package/src/ui-kit/Button/ArrowButton.tsx +32 -0
- package/src/ui-kit/Button/Button.fixture.tsx +163 -0
- package/src/ui-kit/Button/Button.tsx +90 -0
- package/src/ui-kit/Button/ButtonProps.ts +24 -0
- package/src/ui-kit/{LikeButton.fixture.tsx → Button/LikeButton.fixture.tsx} +0 -0
- package/src/ui-kit/{LikeButton.tsx → Button/LikeButton.tsx} +0 -0
- package/src/ui-kit/Checkbox/Checkbox.tsx +36 -0
- package/src/ui-kit/Checkbox/CheckboxProps.ts +6 -0
- package/src/ui-kit/HeaderItem/HeaderItem.fixture.tsx +8 -0
- package/src/ui-kit/HeaderItem/HeaderItem.tsx +25 -0
- package/src/ui-kit/Icon/Icon.fixture.tsx +22 -0
- package/src/ui-kit/Icon/Icon.tsx +15 -0
- package/src/ui-kit/{IconProps.ts → Icon/IconProps.ts} +0 -0
- package/src/ui-kit/InputRange/InputRange.tsx +63 -0
- package/src/ui-kit/InputRange/InputRangeProps.ts +10 -0
- package/src/ui-kit/Logo/Logo.fixture.tsx +5 -0
- package/src/ui-kit/Logo/Logo.tsx +35 -0
- package/src/ui-kit/SearchBar.tsx +1 -1
- package/src/ui-kit/{Title.tsx → Title/Title.tsx} +0 -0
- package/src/ui-kit/{TitleProps.ts → Title/TitleProps.ts} +0 -0
- package/src/ui-kit/TopItem/TopItem.fixture.tsx +8 -0
- package/src/ui-kit/TopItem/TopItem.tsx +37 -0
- package/src/utils/clamp.ts +2 -0
- package/dist/BaseTile.d.ts +0 -5
- package/dist/BaseTile.js +0 -40
- package/dist/BaseTile.js.map +0 -1
- package/dist/BaseTileContent.d.ts +0 -13
- package/dist/BaseTileContent.js.map +0 -1
- package/dist/BenefitsBlock.d.ts +0 -5
- package/dist/BenefitsBlock.js +0 -12
- package/dist/BenefitsBlock.js.map +0 -1
- package/dist/BenefitsBlockContent.d.ts +0 -10
- package/dist/BenefitsBlockContent.js.map +0 -1
- package/dist/BlockContent.d.ts +0 -16
- package/dist/BlockContent.js.map +0 -1
- package/dist/Blocks.d.ts +0 -18
- package/dist/Blocks.js +0 -37
- package/dist/Blocks.js.map +0 -1
- package/dist/ComparisonTable/ComparisonTable.d.ts +0 -5
- package/dist/ComparisonTable/ComparisonTable.js +0 -34
- package/dist/ComparisonTable/ComparisonTable.js.map +0 -1
- package/dist/ComparisonTable/ComparisonTableContent.d.ts +0 -37
- package/dist/ComparisonTable/ComparisonTableContent.js.map +0 -1
- package/dist/ComparisonTable/HeaderCell.d.ts +0 -10
- package/dist/ComparisonTable/HeaderCell.js +0 -11
- package/dist/ComparisonTable/HeaderCell.js.map +0 -1
- package/dist/ComparisonTable/TableCarouselContainer.js.map +0 -1
- package/dist/ComparisonTable/TableCell.js.map +0 -1
- package/dist/ComparisonTable/TableRow.js.map +0 -1
- package/dist/ComparisonTable/TableRowContainer.js.map +0 -1
- package/dist/ComparisonTable/constants.js.map +0 -1
- package/dist/ComparisonTable/index.d.ts +0 -3
- package/dist/ComparisonTable/index.js +0 -5
- package/dist/ComparisonTable/index.js.map +0 -1
- package/dist/ContentPage.d.ts +0 -19
- package/dist/ContentPage.js +0 -29
- package/dist/ContentPage.js.map +0 -1
- package/dist/ContentPageContext.js.map +0 -1
- package/dist/ContentPageHead.d.ts +0 -6
- package/dist/ContentPageHead.js.map +0 -1
- package/dist/ExchangeRateTile.d.ts +0 -5
- package/dist/ExchangeRateTile.js +0 -35
- package/dist/ExchangeRateTile.js.map +0 -1
- package/dist/ExchangeRateTileContent.js.map +0 -1
- package/dist/Footer/Contacts.d.ts +0 -7
- package/dist/Footer/Contacts.js +0 -31
- package/dist/Footer/Contacts.js.map +0 -1
- package/dist/Footer/Footer.d.ts +0 -5
- package/dist/Footer/Footer.js +0 -17
- package/dist/Footer/Footer.js.map +0 -1
- package/dist/Footer/Footer.mobile.d.ts +0 -5
- package/dist/Footer/Footer.mobile.js.map +0 -1
- package/dist/Footer/FooterContent.d.ts +0 -13
- package/dist/Footer/FooterContent.js.map +0 -1
- package/dist/Footer/FooterLink.d.ts +0 -5
- package/dist/Footer/FooterLink.js.map +0 -1
- package/dist/Footer/HorizontalNavigation.js +0 -12
- package/dist/Footer/HorizontalNavigation.js.map +0 -1
- package/dist/Footer/Sitemap.d.ts +0 -6
- package/dist/Footer/Sitemap.js +0 -22
- package/dist/Footer/Sitemap.js.map +0 -1
- package/dist/Footer/SocialMedia.d.ts +0 -6
- package/dist/Footer/SocialMedia.js +0 -24
- package/dist/Footer/SocialMedia.js.map +0 -1
- package/dist/Footer/TextInformation.js +0 -12
- package/dist/Footer/TextInformation.js.map +0 -1
- package/dist/Gallery.d.ts +0 -5
- package/dist/Gallery.js.map +0 -1
- package/dist/Gallery.mobile.js +0 -18
- package/dist/Gallery.mobile.js.map +0 -1
- package/dist/GalleryContent.d.ts +0 -13
- package/dist/GalleryContent.js.map +0 -1
- package/dist/GalleryInner.d.ts +0 -7
- package/dist/GalleryInner.js +0 -46
- package/dist/GalleryInner.js.map +0 -1
- package/dist/Header/Header.d.ts +0 -5
- package/dist/Header/Header.js +0 -26
- package/dist/Header/Header.js.map +0 -1
- package/dist/Header/HeaderContent.d.ts +0 -4
- package/dist/Header/HeaderContent.js.map +0 -1
- package/dist/Header/HeaderSecondaryMenu.d.ts +0 -9
- package/dist/Header/HeaderSecondaryMenu.js +0 -12
- package/dist/Header/HeaderSecondaryMenu.js.map +0 -1
- package/dist/Header/HeaderSecondaryMenuButton.js.map +0 -1
- package/dist/Header/isSubItemActive.d.ts +0 -3
- package/dist/Header/isSubItemActive.js +0 -8
- package/dist/Header/isSubItemActive.js.map +0 -1
- package/dist/Header/isTopItemActive.d.ts +0 -3
- package/dist/Header/isTopItemActive.js +0 -8
- package/dist/Header/isTopItemActive.js.map +0 -1
- package/dist/LikeControl.d.ts +0 -2
- package/dist/LikeControl.js +0 -10
- package/dist/LikeControl.js.map +0 -1
- package/dist/MiniGallery.d.ts +0 -5
- package/dist/MiniGallery.js +0 -7
- package/dist/MiniGallery.js.map +0 -1
- package/dist/MobileAppTile.d.ts +0 -5
- package/dist/MobileAppTile.js +0 -9
- package/dist/MobileAppTile.js.map +0 -1
- package/dist/MobileAppTileContent.d.ts +0 -9
- package/dist/MobileAppTileContent.js.map +0 -1
- package/dist/MobileBlocks.d.ts +0 -12
- package/dist/MobileBlocks.js +0 -28
- package/dist/MobileBlocks.js.map +0 -1
- package/dist/Placeholder.d.ts +0 -6
- package/dist/Placeholder.js +0 -15
- package/dist/Placeholder.js.map +0 -1
- package/dist/PlaceholderContent.js.map +0 -1
- package/dist/ProductBlock.d.ts +0 -5
- package/dist/ProductBlock.js +0 -15
- package/dist/ProductBlock.js.map +0 -1
- package/dist/ProductBlock.mobile.d.ts +0 -5
- package/dist/ProductBlock.mobile.js.map +0 -1
- package/dist/ProductBlockContent.d.ts +0 -5
- package/dist/ProductBlockContent.js.map +0 -1
- package/dist/ProductBlockInner.d.ts +0 -5
- package/dist/ProductBlockInner.js +0 -17
- package/dist/ProductBlockInner.js.map +0 -1
- package/dist/ProductBlockInnerContent.d.ts +0 -5
- package/dist/ProductBlockInnerContent.js +0 -2
- package/dist/ProductBlockInnerContent.js.map +0 -1
- package/dist/ProductGallery.d.ts +0 -5
- package/dist/ProductGallery.js +0 -27
- package/dist/ProductGallery.js.map +0 -1
- package/dist/ProductGalleryContent.d.ts +0 -14
- package/dist/ProductGalleryContent.js.map +0 -1
- package/dist/ProductTile.d.ts +0 -5
- package/dist/ProductTile.js +0 -20
- package/dist/ProductTile.js.map +0 -1
- package/dist/ProductTileContent.d.ts +0 -5
- package/dist/ProductTileContent.js.map +0 -1
- package/dist/PromoTile.d.ts +0 -5
- package/dist/PromoTile.js +0 -18
- package/dist/PromoTile.js.map +0 -1
- package/dist/PromoTileContent.d.ts +0 -4
- package/dist/PromoTileContent.js.map +0 -1
- package/dist/StepsBlock.d.ts +0 -5
- package/dist/StepsBlock.js +0 -17
- package/dist/StepsBlock.js.map +0 -1
- package/dist/StepsBlockContent.d.ts +0 -10
- package/dist/StepsBlockContent.js.map +0 -1
- package/dist/TextBlock.d.ts +0 -5
- package/dist/TextBlock.js +0 -36
- package/dist/TextBlock.js.map +0 -1
- package/dist/TextBlockContent.d.ts +0 -10
- package/dist/TextBlockContent.js.map +0 -1
- package/dist/Tile.d.ts +0 -5
- package/dist/Tile.js +0 -27
- package/dist/Tile.js.map +0 -1
- package/dist/TileContent.d.ts +0 -2
- package/dist/TileContent.js.map +0 -1
- package/dist/toMobilePage.d.ts +0 -2
- package/dist/toMobilePage.js.map +0 -1
- package/dist/ui-kit/ArrowButton.js +0 -22
- package/dist/ui-kit/ArrowButton.js.map +0 -1
- package/dist/ui-kit/BlockItem.js.map +0 -1
- package/dist/ui-kit/Button.js.map +0 -1
- package/dist/ui-kit/ButtonProps.d.ts +0 -21
- package/dist/ui-kit/ButtonProps.js.map +0 -1
- package/dist/ui-kit/HeaderItem.d.ts +0 -3
- package/dist/ui-kit/HeaderItem.js.map +0 -1
- package/dist/ui-kit/Icon.js +0 -7
- package/dist/ui-kit/Icon.js.map +0 -1
- package/dist/ui-kit/IconProps.js.map +0 -1
- package/dist/ui-kit/LikeButton.js.map +0 -1
- package/dist/ui-kit/Logo.js +0 -16
- package/dist/ui-kit/Logo.js.map +0 -1
- package/dist/ui-kit/Title.js.map +0 -1
- package/dist/ui-kit/TitleProps.js.map +0 -1
- package/dist/ui-kit/TopItem.d.ts +0 -11
- package/dist/ui-kit/TopItem.js.map +0 -1
- package/dist/useLink.d.ts +0 -15
- package/dist/useLink.js +0 -22
- package/dist/useLink.js.map +0 -1
- package/dist/useSitemap.d.ts +0 -3
- package/dist/useSitemap.js +0 -16
- package/dist/useSitemap.js.map +0 -1
- package/lib/BaseTile.d.ts +0 -5
- package/lib/BaseTile.js +0 -38
- package/lib/BaseTile.js.map +0 -1
- package/lib/BaseTileContent.d.ts +0 -13
- package/lib/BaseTileContent.js.map +0 -1
- package/lib/BenefitsBlock.d.ts +0 -5
- package/lib/BenefitsBlock.js +0 -10
- package/lib/BenefitsBlock.js.map +0 -1
- package/lib/BenefitsBlockContent.d.ts +0 -10
- package/lib/BenefitsBlockContent.js.map +0 -1
- package/lib/BlockContent.d.ts +0 -16
- package/lib/BlockContent.js.map +0 -1
- package/lib/Blocks.d.ts +0 -18
- package/lib/Blocks.js +0 -35
- package/lib/Blocks.js.map +0 -1
- package/lib/ComparisonTable/ComparisonTable.d.ts +0 -5
- package/lib/ComparisonTable/ComparisonTable.js +0 -32
- package/lib/ComparisonTable/ComparisonTable.js.map +0 -1
- package/lib/ComparisonTable/ComparisonTableContent.d.ts +0 -37
- package/lib/ComparisonTable/ComparisonTableContent.js.map +0 -1
- package/lib/ComparisonTable/HeaderCell.d.ts +0 -10
- package/lib/ComparisonTable/HeaderCell.js +0 -9
- package/lib/ComparisonTable/HeaderCell.js.map +0 -1
- package/lib/ComparisonTable/TableCarouselContainer.js.map +0 -1
- package/lib/ComparisonTable/TableCell.js.map +0 -1
- package/lib/ComparisonTable/TableRow.js.map +0 -1
- package/lib/ComparisonTable/TableRowContainer.js.map +0 -1
- package/lib/ComparisonTable/constants.js.map +0 -1
- package/lib/ComparisonTable/index.d.ts +0 -3
- package/lib/ComparisonTable/index.js +0 -2
- package/lib/ComparisonTable/index.js.map +0 -1
- package/lib/ContentPage.d.ts +0 -19
- package/lib/ContentPage.js +0 -27
- package/lib/ContentPage.js.map +0 -1
- package/lib/ContentPageContext.js.map +0 -1
- package/lib/ContentPageHead.d.ts +0 -6
- package/lib/ContentPageHead.js.map +0 -1
- package/lib/ExchangeRateTile.d.ts +0 -5
- package/lib/ExchangeRateTile.js +0 -33
- package/lib/ExchangeRateTile.js.map +0 -1
- package/lib/ExchangeRateTileContent.js.map +0 -1
- package/lib/Footer/Contacts.d.ts +0 -7
- package/lib/Footer/Contacts.js +0 -29
- package/lib/Footer/Contacts.js.map +0 -1
- package/lib/Footer/Footer.d.ts +0 -5
- package/lib/Footer/Footer.js +0 -15
- package/lib/Footer/Footer.js.map +0 -1
- package/lib/Footer/Footer.mobile.d.ts +0 -5
- package/lib/Footer/Footer.mobile.js.map +0 -1
- package/lib/Footer/FooterContent.d.ts +0 -13
- package/lib/Footer/FooterContent.js.map +0 -1
- package/lib/Footer/FooterLink.d.ts +0 -5
- package/lib/Footer/FooterLink.js.map +0 -1
- package/lib/Footer/HorizontalNavigation.js +0 -10
- package/lib/Footer/HorizontalNavigation.js.map +0 -1
- package/lib/Footer/Sitemap.d.ts +0 -6
- package/lib/Footer/Sitemap.js +0 -20
- package/lib/Footer/Sitemap.js.map +0 -1
- package/lib/Footer/SocialMedia.d.ts +0 -6
- package/lib/Footer/SocialMedia.js +0 -22
- package/lib/Footer/SocialMedia.js.map +0 -1
- package/lib/Footer/TextInformation.js +0 -10
- package/lib/Footer/TextInformation.js.map +0 -1
- package/lib/Gallery.d.ts +0 -5
- package/lib/Gallery.js.map +0 -1
- package/lib/Gallery.mobile.js +0 -16
- package/lib/Gallery.mobile.js.map +0 -1
- package/lib/GalleryContent.d.ts +0 -13
- package/lib/GalleryContent.js.map +0 -1
- package/lib/GalleryInner.d.ts +0 -7
- package/lib/GalleryInner.js +0 -44
- package/lib/GalleryInner.js.map +0 -1
- package/lib/Header/Header.d.ts +0 -5
- package/lib/Header/Header.js +0 -24
- package/lib/Header/Header.js.map +0 -1
- package/lib/Header/HeaderContent.d.ts +0 -4
- package/lib/Header/HeaderContent.js.map +0 -1
- package/lib/Header/HeaderSecondaryMenu.d.ts +0 -9
- package/lib/Header/HeaderSecondaryMenu.js +0 -10
- package/lib/Header/HeaderSecondaryMenu.js.map +0 -1
- package/lib/Header/HeaderSecondaryMenuButton.js.map +0 -1
- package/lib/Header/isSubItemActive.d.ts +0 -3
- package/lib/Header/isSubItemActive.js +0 -5
- package/lib/Header/isSubItemActive.js.map +0 -1
- package/lib/Header/isTopItemActive.d.ts +0 -3
- package/lib/Header/isTopItemActive.js +0 -5
- package/lib/Header/isTopItemActive.js.map +0 -1
- package/lib/LikeControl.d.ts +0 -2
- package/lib/LikeControl.js +0 -8
- package/lib/LikeControl.js.map +0 -1
- package/lib/MiniGallery.d.ts +0 -5
- package/lib/MiniGallery.js +0 -5
- package/lib/MiniGallery.js.map +0 -1
- package/lib/MobileAppTile.d.ts +0 -5
- package/lib/MobileAppTile.js +0 -7
- package/lib/MobileAppTile.js.map +0 -1
- package/lib/MobileAppTileContent.d.ts +0 -9
- package/lib/MobileAppTileContent.js.map +0 -1
- package/lib/MobileBlocks.d.ts +0 -12
- package/lib/MobileBlocks.js +0 -26
- package/lib/MobileBlocks.js.map +0 -1
- package/lib/Placeholder.d.ts +0 -6
- package/lib/Placeholder.js +0 -13
- package/lib/Placeholder.js.map +0 -1
- package/lib/PlaceholderContent.js.map +0 -1
- package/lib/ProductBlock.d.ts +0 -5
- package/lib/ProductBlock.js +0 -13
- package/lib/ProductBlock.js.map +0 -1
- package/lib/ProductBlock.mobile.d.ts +0 -5
- package/lib/ProductBlock.mobile.js.map +0 -1
- package/lib/ProductBlockContent.d.ts +0 -5
- package/lib/ProductBlockContent.js.map +0 -1
- package/lib/ProductBlockInner.d.ts +0 -5
- package/lib/ProductBlockInner.js +0 -15
- package/lib/ProductBlockInner.js.map +0 -1
- package/lib/ProductBlockInnerContent.d.ts +0 -5
- package/lib/ProductBlockInnerContent.js +0 -2
- package/lib/ProductBlockInnerContent.js.map +0 -1
- package/lib/ProductGallery.d.ts +0 -5
- package/lib/ProductGallery.js +0 -25
- package/lib/ProductGallery.js.map +0 -1
- package/lib/ProductGalleryContent.d.ts +0 -14
- package/lib/ProductGalleryContent.js.map +0 -1
- package/lib/ProductTile.d.ts +0 -5
- package/lib/ProductTile.js +0 -18
- package/lib/ProductTile.js.map +0 -1
- package/lib/ProductTileContent.d.ts +0 -5
- package/lib/ProductTileContent.js.map +0 -1
- package/lib/PromoTile.d.ts +0 -5
- package/lib/PromoTile.js +0 -16
- package/lib/PromoTile.js.map +0 -1
- package/lib/PromoTileContent.d.ts +0 -4
- package/lib/PromoTileContent.js.map +0 -1
- package/lib/StepsBlock.d.ts +0 -5
- package/lib/StepsBlock.js +0 -15
- package/lib/StepsBlock.js.map +0 -1
- package/lib/StepsBlockContent.d.ts +0 -10
- package/lib/StepsBlockContent.js.map +0 -1
- package/lib/TextBlock.d.ts +0 -5
- package/lib/TextBlock.js +0 -34
- package/lib/TextBlock.js.map +0 -1
- package/lib/TextBlockContent.d.ts +0 -10
- package/lib/TextBlockContent.js.map +0 -1
- package/lib/Tile.d.ts +0 -5
- package/lib/Tile.js +0 -25
- package/lib/Tile.js.map +0 -1
- package/lib/TileContent.d.ts +0 -2
- package/lib/TileContent.js.map +0 -1
- package/lib/toMobilePage.d.ts +0 -2
- package/lib/toMobilePage.js.map +0 -1
- package/lib/ui-kit/ArrowButton.js +0 -20
- package/lib/ui-kit/ArrowButton.js.map +0 -1
- package/lib/ui-kit/BlockItem.js.map +0 -1
- package/lib/ui-kit/Button.js.map +0 -1
- package/lib/ui-kit/ButtonProps.d.ts +0 -21
- package/lib/ui-kit/ButtonProps.js.map +0 -1
- package/lib/ui-kit/HeaderItem.d.ts +0 -3
- package/lib/ui-kit/HeaderItem.js.map +0 -1
- package/lib/ui-kit/Icon.js +0 -5
- package/lib/ui-kit/Icon.js.map +0 -1
- package/lib/ui-kit/IconProps.js.map +0 -1
- package/lib/ui-kit/LikeButton.js.map +0 -1
- package/lib/ui-kit/Logo.js +0 -14
- package/lib/ui-kit/Logo.js.map +0 -1
- package/lib/ui-kit/Title.js.map +0 -1
- package/lib/ui-kit/TitleProps.js.map +0 -1
- package/lib/ui-kit/TopItem.d.ts +0 -11
- package/lib/ui-kit/TopItem.js.map +0 -1
- package/lib/useLink.d.ts +0 -15
- package/lib/useLink.js +0 -19
- package/lib/useLink.js.map +0 -1
- package/lib/useSitemap.d.ts +0 -3
- package/lib/useSitemap.js +0 -13
- package/lib/useSitemap.js.map +0 -1
- package/src/BaseTile.tsx +0 -98
- package/src/BaseTileContent.ts +0 -14
- package/src/BenefitsBlock.fixture.tsx +0 -34
- package/src/BenefitsBlock.tsx +0 -42
- package/src/BenefitsBlockContent.ts +0 -12
- package/src/BlockContent.ts +0 -32
- package/src/Blocks.ts +0 -35
- package/src/ComparisonTable/ComparisonTable.fixture.tsx +0 -265
- package/src/ComparisonTable/ComparisonTable.tsx +0 -126
- package/src/ComparisonTable/ComparisonTableContent.ts +0 -43
- package/src/ComparisonTable/HeaderCell.tsx +0 -50
- package/src/ComparisonTable/index.ts +0 -3
- package/src/ContentPage.fixture.tsx +0 -58
- package/src/ContentPage.tsx +0 -88
- package/src/ContentPageHead.tsx +0 -26
- package/src/ExchangeRateTile.fixture.tsx +0 -11
- package/src/ExchangeRateTile.tsx +0 -80
- package/src/Footer/Contacts.tsx +0 -73
- package/src/Footer/Footer.fixture.tsx +0 -265
- package/src/Footer/Footer.mobile.tsx +0 -12
- package/src/Footer/Footer.tsx +0 -40
- package/src/Footer/FooterContent.ts +0 -15
- package/src/Footer/FooterLink.ts +0 -6
- package/src/Footer/HorizontalNavigation.tsx +0 -46
- package/src/Footer/Sitemap.tsx +0 -58
- package/src/Footer/SocialMedia.tsx +0 -52
- package/src/Footer/TextInformation.tsx +0 -50
- package/src/Gallery.fixture.tsx +0 -215
- package/src/Gallery.mobile.tsx +0 -71
- package/src/Gallery.tsx +0 -8
- package/src/GalleryContent.ts +0 -15
- package/src/GalleryInner.tsx +0 -135
- package/src/Header/Header.fixture.tsx +0 -21
- package/src/Header/Header.tsx +0 -59
- package/src/Header/HeaderContent.ts +0 -5
- package/src/Header/HeaderSecondaryMenu.tsx +0 -56
- package/src/Header/isSubItemActive.ts +0 -7
- package/src/Header/isTopItemActive.ts +0 -8
- package/src/LikeControl.fixture.tsx +0 -5
- package/src/LikeControl.tsx +0 -23
- package/src/MiniGallery.fixture.tsx +0 -90
- package/src/MiniGallery.tsx +0 -10
- package/src/MobileAppTile.fixture.tsx +0 -34
- package/src/MobileAppTile.tsx +0 -32
- package/src/MobileAppTileContent.ts +0 -11
- package/src/MobileBlocks.ts +0 -26
- package/src/Placeholder.fixture.tsx +0 -5
- package/src/Placeholder.tsx +0 -30
- package/src/ProductBlock.fixture.tsx +0 -96
- package/src/ProductBlock.mobile.tsx +0 -19
- package/src/ProductBlock.tsx +0 -37
- package/src/ProductBlockContent.ts +0 -6
- package/src/ProductBlockInner.tsx +0 -57
- package/src/ProductBlockInnerContent.ts +0 -6
- package/src/ProductGallery.fixture.tsx +0 -138
- package/src/ProductGallery.tsx +0 -78
- package/src/ProductGalleryContent.ts +0 -16
- package/src/ProductTile.fixture.tsx +0 -155
- package/src/ProductTile.tsx +0 -43
- package/src/ProductTileContent.ts +0 -6
- package/src/PromoTile.fixture.tsx +0 -25
- package/src/PromoTile.tsx +0 -43
- package/src/PromoTileContent.ts +0 -5
- package/src/StepsBlock.fixture.tsx +0 -23
- package/src/StepsBlock.tsx +0 -55
- package/src/StepsBlockContent.ts +0 -12
- package/src/TextBlock.fixture.tsx +0 -116
- package/src/TextBlock.tsx +0 -65
- package/src/TextBlockContent.ts +0 -12
- package/src/Tile.fixture.tsx +0 -134
- package/src/Tile.tsx +0 -38
- package/src/TileContent.ts +0 -3
- package/src/toMobilePage.ts +0 -21
- package/src/ui-kit/ArrowButton.tsx +0 -32
- package/src/ui-kit/BlockItem.fixture.tsx +0 -5
- package/src/ui-kit/Button.fixture.tsx +0 -163
- package/src/ui-kit/Button.tsx +0 -90
- package/src/ui-kit/ButtonProps.ts +0 -24
- package/src/ui-kit/HeaderItem.fixture.tsx +0 -8
- package/src/ui-kit/HeaderItem.tsx +0 -25
- package/src/ui-kit/Icon.fixture.tsx +0 -22
- package/src/ui-kit/Icon.tsx +0 -15
- package/src/ui-kit/Logo.fixture.tsx +0 -5
- package/src/ui-kit/Logo.tsx +0 -35
- package/src/ui-kit/TopItem.fixture.tsx +0 -8
- package/src/ui-kit/TopItem.tsx +0 -37
- package/src/useLink.ts +0 -28
- package/src/useSitemap.ts +0 -17
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { ProductBlockInner } from '../ProductBlock/ProductBlockInner';
|
|
3
|
+
import type { ProductBlockInnerContent } from '../ProductBlock/ProductBlockContent';
|
|
4
|
+
import type { ProductGalleryContent } from './ProductGalleryContent';
|
|
5
|
+
import type { UniBlockProps } from '../../types';
|
|
6
|
+
|
|
7
|
+
export interface ProductGalleryProps extends ProductGalleryContent, UniBlockProps {}
|
|
8
|
+
|
|
9
|
+
export const ProductGallery = JSX<ProductGalleryProps>(
|
|
10
|
+
({ className, context, duration = 0, slides = [] }) => {
|
|
11
|
+
const galleryNav = slides.map((s) => s.nav);
|
|
12
|
+
const galleryBlocks = slides.map((s) => s.productBlock);
|
|
13
|
+
const [activeSlideIndex, setActiveSlideIndex] = context.useState(0);
|
|
14
|
+
|
|
15
|
+
return (
|
|
16
|
+
<section className={`font-sans bg-white overflow-hidden w-100 ${className || ''}`}>
|
|
17
|
+
<div
|
|
18
|
+
className={`flex duration-1000`}
|
|
19
|
+
style={{ transform: `translateX(-${activeSlideIndex}00%)` }}
|
|
20
|
+
role="list"
|
|
21
|
+
>
|
|
22
|
+
{galleryBlocks.map((_, i) => renderProductBlock(_, i, context))}
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
<div className={`border-t border-solid border-main-divider flex`}>
|
|
26
|
+
{galleryNav.map((slide, i) =>
|
|
27
|
+
renderNavButton({
|
|
28
|
+
slide,
|
|
29
|
+
i,
|
|
30
|
+
activeSlideIndex,
|
|
31
|
+
onClick: () => setActiveSlideIndex(i),
|
|
32
|
+
duration,
|
|
33
|
+
}),
|
|
34
|
+
)}
|
|
35
|
+
</div>
|
|
36
|
+
</section>
|
|
37
|
+
);
|
|
38
|
+
},
|
|
39
|
+
);
|
|
40
|
+
|
|
41
|
+
function renderProductBlock(block: ProductBlockInnerContent, i: number, context) {
|
|
42
|
+
return (
|
|
43
|
+
<section key={String(i)} className="flex grow-0 shrink-0 basis-full" role="listitem">
|
|
44
|
+
<div className="p-10 flex grow">
|
|
45
|
+
<ProductBlockInner
|
|
46
|
+
className="pl-2.5 pt-2.5 pb-1.5 pr-[6.25rem]"
|
|
47
|
+
context={context}
|
|
48
|
+
{...block}
|
|
49
|
+
/>
|
|
50
|
+
</div>
|
|
51
|
+
</section>
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
function renderNavButton({ slide, i, activeSlideIndex, onClick, duration }) {
|
|
56
|
+
const isActiveBtn = i === activeSlideIndex;
|
|
57
|
+
const progressBarClassName = isActiveBtn ? 'animate-slide' : '';
|
|
58
|
+
const btnTitleClassName = isActiveBtn ? 'text-primary-text' : 'text-secondary-text';
|
|
59
|
+
return (
|
|
60
|
+
<button
|
|
61
|
+
type="button"
|
|
62
|
+
key={String(i)}
|
|
63
|
+
onClick={onClick}
|
|
64
|
+
className={`group relative overflow-hidden border-0 bg-inherit cursor-pointer text-left px-0 py-4 grow basis-0`}
|
|
65
|
+
>
|
|
66
|
+
<div className="border-0 border-r border-solid border-main-divider px-6">
|
|
67
|
+
<div className={`text-sm font-medium group-hover:text-primary-text ${btnTitleClassName}`}>
|
|
68
|
+
{slide?.title}
|
|
69
|
+
</div>
|
|
70
|
+
<div className="text-xs text-secondary-text">{slide.desc}</div>
|
|
71
|
+
</div>
|
|
72
|
+
<div
|
|
73
|
+
className={`absolute bottom-0 left-0 w-full h-[3px] bg-primary-main -translate-x-full ${progressBarClassName}`}
|
|
74
|
+
style={{ animationDuration: `${duration}s` }}
|
|
75
|
+
></div>
|
|
76
|
+
</button>
|
|
77
|
+
);
|
|
78
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ProductBlockInnerContent } from '../ProductBlock/ProductBlockContent';
|
|
2
|
+
|
|
3
|
+
interface ProductGalleryNav {
|
|
4
|
+
title: string;
|
|
5
|
+
desc: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export interface ProductSlideContent {
|
|
9
|
+
nav: ProductGalleryNav;
|
|
10
|
+
productBlock: ProductBlockInnerContent;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface ProductGalleryContent {
|
|
14
|
+
duration?: number;
|
|
15
|
+
slides?: ProductSlideContent[];
|
|
16
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { context } from '../../setup-fixture';
|
|
2
|
+
|
|
3
|
+
import { ProductTile } from './ProductTile';
|
|
4
|
+
import type { Picture } from '../../model/Picture';
|
|
5
|
+
|
|
6
|
+
const cardWithMoney: Picture = {
|
|
7
|
+
src: 'card-with-diamond.png',
|
|
8
|
+
alt: 'Кредиты в РСХБ',
|
|
9
|
+
format: 'webp',
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const letterWithMoney: Picture = {
|
|
13
|
+
src: 'letter-with-money.png',
|
|
14
|
+
alt: 'Пенсионный кредит в РСХБ',
|
|
15
|
+
format: 'webp',
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
const building: Picture = {
|
|
19
|
+
src: 'building.png',
|
|
20
|
+
alt: 'Кредит под залог недвижимости в РСХБ',
|
|
21
|
+
format: 'webp',
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export default {
|
|
25
|
+
credit: (
|
|
26
|
+
<div className="grid grid-cols-12">
|
|
27
|
+
<ProductTile
|
|
28
|
+
context={context}
|
|
29
|
+
className="col-span-6"
|
|
30
|
+
title="Акция! “Кредит На все, что хочется!”"
|
|
31
|
+
description="Потребительский кредит на любые цели, без залога и поручительства"
|
|
32
|
+
benefits={[
|
|
33
|
+
{
|
|
34
|
+
label: 'Кредитный лимит',
|
|
35
|
+
description: 'до 5 млн Р',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
label: 'Процентная ставка',
|
|
39
|
+
description: 'от 12,5%',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
label: 'Срок кредитования',
|
|
43
|
+
description: 'до 5 лет',
|
|
44
|
+
},
|
|
45
|
+
]}
|
|
46
|
+
buttons={[
|
|
47
|
+
{
|
|
48
|
+
text: 'Подробнее',
|
|
49
|
+
href: '/credit-cards',
|
|
50
|
+
version: 'secondary',
|
|
51
|
+
},
|
|
52
|
+
]}
|
|
53
|
+
image={cardWithMoney}
|
|
54
|
+
/>
|
|
55
|
+
</div>
|
|
56
|
+
),
|
|
57
|
+
pension: (
|
|
58
|
+
<div className="grid grid-cols-12">
|
|
59
|
+
<ProductTile
|
|
60
|
+
context={context}
|
|
61
|
+
className="col-span-6"
|
|
62
|
+
title="Акция! “Пенсионный кредит”"
|
|
63
|
+
description={'Потребительский кредит на любые цели, без залога и поручительства'}
|
|
64
|
+
benefits={[
|
|
65
|
+
{
|
|
66
|
+
label: 'Кредитный лимит',
|
|
67
|
+
description: 'до 3 млн Р',
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
label: 'Процентная ставка',
|
|
71
|
+
description: 'от 12,5%',
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
label: 'Срок кредитования',
|
|
75
|
+
description: 'до 3 лет',
|
|
76
|
+
},
|
|
77
|
+
]}
|
|
78
|
+
buttons={[
|
|
79
|
+
{
|
|
80
|
+
href: 'https://rshb.ru',
|
|
81
|
+
text: 'Подробнее',
|
|
82
|
+
target: '_blank',
|
|
83
|
+
version: 'secondary',
|
|
84
|
+
},
|
|
85
|
+
]}
|
|
86
|
+
image={letterWithMoney}
|
|
87
|
+
/>
|
|
88
|
+
</div>
|
|
89
|
+
),
|
|
90
|
+
'credit-card': (
|
|
91
|
+
<div className="grid grid-cols-12">
|
|
92
|
+
<ProductTile
|
|
93
|
+
context={context}
|
|
94
|
+
className="col-span-8"
|
|
95
|
+
title="Кредит под залог недвижимости"
|
|
96
|
+
description={'Без переоформления залогой недвижимости на банк'}
|
|
97
|
+
benefits={[
|
|
98
|
+
{
|
|
99
|
+
label: 'Кредитный лимит',
|
|
100
|
+
description: 'до 10 млн Р',
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
label: 'Процентная ставка',
|
|
104
|
+
description: 'от 21,5%',
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
label: 'Срок кредитования',
|
|
108
|
+
description: 'до 10 лет',
|
|
109
|
+
},
|
|
110
|
+
]}
|
|
111
|
+
buttons={[
|
|
112
|
+
{
|
|
113
|
+
href: 'https://rshb.ru',
|
|
114
|
+
text: 'Подробнее',
|
|
115
|
+
target: '_blank',
|
|
116
|
+
version: 'secondary',
|
|
117
|
+
},
|
|
118
|
+
]}
|
|
119
|
+
image={building}
|
|
120
|
+
/>
|
|
121
|
+
</div>
|
|
122
|
+
),
|
|
123
|
+
'pension-credit': (
|
|
124
|
+
<div className="grid grid-cols-12">
|
|
125
|
+
<ProductTile
|
|
126
|
+
context={context}
|
|
127
|
+
className="col-span-4"
|
|
128
|
+
title="Кредит пенсионный"
|
|
129
|
+
description={'Для людей в возрасте до 75 лет'}
|
|
130
|
+
benefits={[
|
|
131
|
+
{
|
|
132
|
+
label: 'Кредитный лимит',
|
|
133
|
+
description: 'до 3 млн Р',
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
label: 'Процентная ставка',
|
|
137
|
+
description: 'от 16,8%',
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
label: 'Срок кредитования',
|
|
141
|
+
description: 'до 5 лет',
|
|
142
|
+
},
|
|
143
|
+
]}
|
|
144
|
+
buttons={[
|
|
145
|
+
{
|
|
146
|
+
href: 'https://rshb.ru',
|
|
147
|
+
text: 'Подробнее',
|
|
148
|
+
target: '_blank',
|
|
149
|
+
version: 'secondary',
|
|
150
|
+
},
|
|
151
|
+
]}
|
|
152
|
+
/>
|
|
153
|
+
</div>
|
|
154
|
+
),
|
|
155
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import type { Benefit } from '../BenefitsBlock/BenefitsBlockContent';
|
|
3
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
4
|
+
import type { ProductTileContent } from './ProductTileContent';
|
|
5
|
+
import { Tile } from '../Tile/Tile';
|
|
6
|
+
import type { UniBlockProps } from '../../types';
|
|
7
|
+
|
|
8
|
+
export interface ProductTileProps extends ProductTileContent, UniBlockProps {}
|
|
9
|
+
|
|
10
|
+
export const ProductTile = JSX<ProductTileProps>((props) => {
|
|
11
|
+
const { benefits, version } = props;
|
|
12
|
+
return (
|
|
13
|
+
<Tile {...props}>
|
|
14
|
+
<div className="flex mt-5 mb-1">
|
|
15
|
+
{benefits?.length ? (
|
|
16
|
+
<div className="mr-8">{benefits.map(renderBenefitDescription)}</div>
|
|
17
|
+
) : null}
|
|
18
|
+
{benefits?.length ? (
|
|
19
|
+
<div className="pt-1">{benefits.map((_, i) => renderBenefitLabel(_, i, version))}</div>
|
|
20
|
+
) : null}
|
|
21
|
+
</div>
|
|
22
|
+
</Tile>
|
|
23
|
+
);
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
function renderBenefitLabel(benefit: Benefit, i: number, version = 'primary') {
|
|
27
|
+
const labelStyleMap: Record<BlockVersion, string> = {
|
|
28
|
+
primary: 'text-secondary-text',
|
|
29
|
+
secondary: 'text-white',
|
|
30
|
+
};
|
|
31
|
+
return (
|
|
32
|
+
<div key={String(i)} className={`text-sm ${i ? 'mt-4' : ''} ${labelStyleMap[version]}`}>
|
|
33
|
+
{benefit.label}
|
|
34
|
+
</div>
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
function renderBenefitDescription(benefit: Benefit, i: number) {
|
|
38
|
+
return (
|
|
39
|
+
<div key={String(i)} className={`text-xl font-medium ${i ? 'mt-2.5' : ''}`}>
|
|
40
|
+
{benefit.description}
|
|
41
|
+
</div>
|
|
42
|
+
);
|
|
43
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { context } from '../../setup-fixture';
|
|
2
|
+
|
|
3
|
+
import { PromoTile } from './PromoTile';
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
default: (
|
|
7
|
+
<div className="grid grid-cols-12">
|
|
8
|
+
<PromoTile
|
|
9
|
+
context={context}
|
|
10
|
+
className="col-span-4"
|
|
11
|
+
title="Акции и спецпредложения"
|
|
12
|
+
description="Пенсионный кредит по специальной процентной ставке"
|
|
13
|
+
version="secondary"
|
|
14
|
+
date="2022-04-16"
|
|
15
|
+
buttons={[
|
|
16
|
+
{
|
|
17
|
+
text: 'Все акции',
|
|
18
|
+
href: '/credits',
|
|
19
|
+
version: 'secondary',
|
|
20
|
+
},
|
|
21
|
+
]}
|
|
22
|
+
/>
|
|
23
|
+
</div>
|
|
24
|
+
),
|
|
25
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import type { PromoTileContent } from './PromoTileContent';
|
|
3
|
+
import { Tile } from '../Tile/Tile';
|
|
4
|
+
import type { UniBlockProps } from '../../types';
|
|
5
|
+
|
|
6
|
+
export interface PromoTileProps extends PromoTileContent, UniBlockProps {}
|
|
7
|
+
|
|
8
|
+
export const PromoTile = JSX<PromoTileProps>(
|
|
9
|
+
({
|
|
10
|
+
className,
|
|
11
|
+
context,
|
|
12
|
+
title = 'Акции и спецпредложения',
|
|
13
|
+
date,
|
|
14
|
+
description,
|
|
15
|
+
buttons = [],
|
|
16
|
+
version,
|
|
17
|
+
}) => {
|
|
18
|
+
return (
|
|
19
|
+
<Tile
|
|
20
|
+
className={className}
|
|
21
|
+
context={context}
|
|
22
|
+
title={title}
|
|
23
|
+
buttons={buttons}
|
|
24
|
+
version={version}
|
|
25
|
+
>
|
|
26
|
+
<div>
|
|
27
|
+
{date && <div className="text-sm mb-2">{formatDate(date)}</div>}
|
|
28
|
+
<div className="text-base">{description}</div>
|
|
29
|
+
</div>
|
|
30
|
+
</Tile>
|
|
31
|
+
);
|
|
32
|
+
},
|
|
33
|
+
);
|
|
34
|
+
|
|
35
|
+
function formatDate(date: string) {
|
|
36
|
+
const dateObj = new Date(date);
|
|
37
|
+
const dateFormat: Intl.DateTimeFormatOptions = {
|
|
38
|
+
day: 'numeric',
|
|
39
|
+
month: 'long',
|
|
40
|
+
year: 'numeric',
|
|
41
|
+
};
|
|
42
|
+
return dateObj.toLocaleString('ru-RU', dateFormat).replace('г.', '');
|
|
43
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { context } from '../../setup-fixture';
|
|
2
|
+
import { StepsBlock } from './StepsBlock';
|
|
3
|
+
|
|
4
|
+
export default (
|
|
5
|
+
<StepsBlock
|
|
6
|
+
context={context}
|
|
7
|
+
title="Рассчитайте условия на онлайн-калькуляторе и оставьте заявку на потребительский кредит"
|
|
8
|
+
steps={[
|
|
9
|
+
{
|
|
10
|
+
label: 'Заявка на кредит',
|
|
11
|
+
description: 'Оставьте онлайн-заявку на потребительский кредит',
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
label: 'В случае одобрения',
|
|
15
|
+
description: 'Менеджер свяжется с вами и согласует встречу',
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
label: 'Получение наличных',
|
|
19
|
+
description: 'Получите наличные в отделении банка',
|
|
20
|
+
},
|
|
21
|
+
]}
|
|
22
|
+
/>
|
|
23
|
+
);
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import type { Step, StepsBlockContent } from './StepsBlockContent';
|
|
3
|
+
import type { UniBlockProps } from '../../types';
|
|
4
|
+
import { Icon } from '../../ui-kit/Icon/Icon';
|
|
5
|
+
import { Title } from '../../ui-kit/Title/Title';
|
|
6
|
+
import { joinList } from '../../utils/joinList';
|
|
7
|
+
|
|
8
|
+
export interface StepsBlockProps extends StepsBlockContent, UniBlockProps {}
|
|
9
|
+
|
|
10
|
+
export const StepsBlock = JSX<StepsBlockProps>(({ className, title, steps }) => {
|
|
11
|
+
return (
|
|
12
|
+
<section
|
|
13
|
+
className={`font-sans text-primary-text bg-white px-12 py-12 flex flex-col items-center ${
|
|
14
|
+
className || ''
|
|
15
|
+
}`}
|
|
16
|
+
>
|
|
17
|
+
<Title className="font-medium m-0 max-w-[47rem] text-center">{title}</Title>
|
|
18
|
+
{steps?.length ? (
|
|
19
|
+
<div>
|
|
20
|
+
<div className="flex mt-9 items-center px-[88px]">
|
|
21
|
+
{joinList(<div className="h-0.5 w-full bg-secondary-light"></div>)(
|
|
22
|
+
steps.map((step, i) => renderStepIcon(step, i)),
|
|
23
|
+
)}
|
|
24
|
+
</div>
|
|
25
|
+
<div className="flex mt-9 justify-between gap-x-24">{steps.map(renderStepTitle)}</div>
|
|
26
|
+
</div>
|
|
27
|
+
) : null}
|
|
28
|
+
</section>
|
|
29
|
+
);
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
const renderStepIcon = (step: Step, i: number) => {
|
|
33
|
+
return (
|
|
34
|
+
<div key={String(i)} className="flex flex-col items-center text-center relative">
|
|
35
|
+
<div className="h-[100px] w-[100px] min-w-[100px] min-h-[100px] bg-secondary-light rounded-full p-[26px] box-border z-10">
|
|
36
|
+
{(step.icon && <Icon name={step.icon} width="48" height="48" />) || (
|
|
37
|
+
<span className="font-medium text-title-sm text-secondary-text">{i + 1}</span>
|
|
38
|
+
)}
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
);
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
const renderStepTitle = (step: Step, i: number) => {
|
|
45
|
+
return (
|
|
46
|
+
<div key={String(i)} className="flex flex-col items-center text-center relative w-[276px]">
|
|
47
|
+
<div className="max-w-min">
|
|
48
|
+
<h5 className="font-medium text-xl m-0 mt-4 whitespace-nowrap px-3">{step.label}</h5>
|
|
49
|
+
{step.description && (
|
|
50
|
+
<div className="font-normal text-sm text-secondary-text mt-2">{step.description}</div>
|
|
51
|
+
)}
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
);
|
|
55
|
+
};
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { context } from '../../setup-fixture';
|
|
2
|
+
import { TextBlock } from './TextBlock';
|
|
3
|
+
import type { Picture } from '../../model/Picture';
|
|
4
|
+
|
|
5
|
+
const image: Picture = {
|
|
6
|
+
src: 'bank-card.png',
|
|
7
|
+
format: 'webp',
|
|
8
|
+
size: {
|
|
9
|
+
width: 48,
|
|
10
|
+
height: 48,
|
|
11
|
+
},
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export default (
|
|
15
|
+
<div className="font-sans overflow-hidden">
|
|
16
|
+
<div>
|
|
17
|
+
<p>Private clients</p>
|
|
18
|
+
<div className="flex flex-col gap-6" data-theme="pc">
|
|
19
|
+
<TextBlock
|
|
20
|
+
context={context}
|
|
21
|
+
title="Все карты Россельхозбанка работают"
|
|
22
|
+
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
23
|
+
blockVersion="primary"
|
|
24
|
+
iconVersion="small"
|
|
25
|
+
/>
|
|
26
|
+
<TextBlock
|
|
27
|
+
context={context}
|
|
28
|
+
title="Все карты Россельхозбанка работают"
|
|
29
|
+
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
30
|
+
blockVersion="primary"
|
|
31
|
+
iconVersion="big"
|
|
32
|
+
image={image}
|
|
33
|
+
/>
|
|
34
|
+
<TextBlock
|
|
35
|
+
context={context}
|
|
36
|
+
title="Все карты Россельхозбанка работают"
|
|
37
|
+
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
38
|
+
blockVersion="primary"
|
|
39
|
+
iconVersion="none"
|
|
40
|
+
/>
|
|
41
|
+
<TextBlock
|
|
42
|
+
context={context}
|
|
43
|
+
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
44
|
+
blockVersion="primary"
|
|
45
|
+
iconVersion="small"
|
|
46
|
+
/>
|
|
47
|
+
<TextBlock
|
|
48
|
+
context={context}
|
|
49
|
+
title="Все карты Россельхозбанка работают"
|
|
50
|
+
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
51
|
+
blockVersion="secondary"
|
|
52
|
+
iconVersion="small"
|
|
53
|
+
/>
|
|
54
|
+
<TextBlock
|
|
55
|
+
context={context}
|
|
56
|
+
title="Все карты Россельхозбанка работают"
|
|
57
|
+
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
58
|
+
blockVersion="secondary-light"
|
|
59
|
+
iconVersion="small"
|
|
60
|
+
/>
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
<div>
|
|
64
|
+
<p>Business clients</p>
|
|
65
|
+
<div className="flex flex-col gap-6" data-theme="bc">
|
|
66
|
+
<TextBlock
|
|
67
|
+
context={context}
|
|
68
|
+
title="Все карты Россельхозбанка работают"
|
|
69
|
+
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
70
|
+
blockVersion="primary"
|
|
71
|
+
iconVersion="small"
|
|
72
|
+
/>
|
|
73
|
+
<TextBlock
|
|
74
|
+
context={context}
|
|
75
|
+
title="Все карты Россельхозбанка работают"
|
|
76
|
+
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
77
|
+
blockVersion="secondary"
|
|
78
|
+
iconVersion="small"
|
|
79
|
+
/>
|
|
80
|
+
<TextBlock
|
|
81
|
+
context={context}
|
|
82
|
+
title="Все карты Россельхозбанка работают"
|
|
83
|
+
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
84
|
+
blockVersion="secondary-light"
|
|
85
|
+
iconVersion="small"
|
|
86
|
+
/>
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
<div>
|
|
90
|
+
<p>Ecosystem own</p>
|
|
91
|
+
<div className="flex flex-col gap-6" data-theme="eo">
|
|
92
|
+
<TextBlock
|
|
93
|
+
context={context}
|
|
94
|
+
title="Все карты Россельхозбанка работают"
|
|
95
|
+
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
96
|
+
blockVersion="primary"
|
|
97
|
+
iconVersion="small"
|
|
98
|
+
/>
|
|
99
|
+
<TextBlock
|
|
100
|
+
context={context}
|
|
101
|
+
title="Все карты Россельхозбанка работают"
|
|
102
|
+
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
103
|
+
blockVersion="secondary"
|
|
104
|
+
iconVersion="small"
|
|
105
|
+
/>
|
|
106
|
+
<TextBlock
|
|
107
|
+
context={context}
|
|
108
|
+
title="Все карты Россельхозбанка работают"
|
|
109
|
+
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
110
|
+
blockVersion="secondary-light"
|
|
111
|
+
iconVersion="small"
|
|
112
|
+
/>
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
</div>
|
|
116
|
+
);
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import type { Picture } from '../../model/Picture';
|
|
3
|
+
import type { TextBlockContent, TextBlockVersion } from './TextBlockContent';
|
|
4
|
+
import type { UniBlockProps } from '../../types';
|
|
5
|
+
import { Img } from '../../ui-kit/Img';
|
|
6
|
+
|
|
7
|
+
export interface TextBlockProps extends TextBlockContent, UniBlockProps {}
|
|
8
|
+
|
|
9
|
+
const textBlockStyleMaps: Record<
|
|
10
|
+
TextBlockVersion,
|
|
11
|
+
{ background: string; icon: string; title: string; description: string }
|
|
12
|
+
> = {
|
|
13
|
+
primary: {
|
|
14
|
+
background: 'bg-white',
|
|
15
|
+
icon: 'bg-primary-main text-white',
|
|
16
|
+
title: 'text-primary-text',
|
|
17
|
+
description: 'text-secondary-text',
|
|
18
|
+
},
|
|
19
|
+
secondary: {
|
|
20
|
+
background: 'bg-primary-main',
|
|
21
|
+
icon: 'bg-white text-primary-main',
|
|
22
|
+
title: 'text-white',
|
|
23
|
+
description: 'text-white',
|
|
24
|
+
},
|
|
25
|
+
'secondary-light': {
|
|
26
|
+
background: 'bg-primary-main/10',
|
|
27
|
+
icon: 'bg-primary-main text-white',
|
|
28
|
+
title: 'text-primary-text',
|
|
29
|
+
description: 'text-secondary-text',
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export const TextBlock = JSX<TextBlockProps>(
|
|
34
|
+
({ title, description, blockVersion = 'primary', iconVersion, image, className }) => {
|
|
35
|
+
const textBlockStyleMap = textBlockStyleMaps[blockVersion];
|
|
36
|
+
return (
|
|
37
|
+
<section
|
|
38
|
+
className={`font-sans px-9 py-4 flex ${textBlockStyleMap.background} ${className || ''}`}
|
|
39
|
+
>
|
|
40
|
+
{iconVersion && iconVersion === 'small' ? renderIcon(textBlockStyleMap.icon) : null}
|
|
41
|
+
{iconVersion && iconVersion === 'big' ? renderImage(image) : null}
|
|
42
|
+
<div className="py-0.5">
|
|
43
|
+
{title && (
|
|
44
|
+
<div className={`font-medium text-base mb-1 ${textBlockStyleMap.title}`}>{title}</div>
|
|
45
|
+
)}
|
|
46
|
+
{description && (
|
|
47
|
+
<div className={`text-sm ${textBlockStyleMap.description}`}>{description}</div>
|
|
48
|
+
)}
|
|
49
|
+
</div>
|
|
50
|
+
</section>
|
|
51
|
+
);
|
|
52
|
+
},
|
|
53
|
+
);
|
|
54
|
+
|
|
55
|
+
function renderIcon(className: string) {
|
|
56
|
+
return (
|
|
57
|
+
<div className={`pt-1.5 pr-4`}>
|
|
58
|
+
<div className={`rounded-full h-4 w-4 text-center text-xs ${className}`}>i</div>
|
|
59
|
+
</div>
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
function renderImage(image?: Picture) {
|
|
64
|
+
return image?.src ? <Img className="pt-0.5 pr-3" image={image} /> : null;
|
|
65
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Picture } from '../../model/Picture';
|
|
2
|
+
|
|
3
|
+
export type TextBlockVersion = 'primary' | 'secondary' | 'secondary-light';
|
|
4
|
+
export type TextBlockIconVersion = 'none' | 'small' | 'big';
|
|
5
|
+
|
|
6
|
+
export interface TextBlockContent {
|
|
7
|
+
title?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
blockVersion?: TextBlockVersion;
|
|
10
|
+
iconVersion?: TextBlockIconVersion;
|
|
11
|
+
image?: Picture;
|
|
12
|
+
}
|