@redneckz/wildless-cms-uni-blocks 0.2.75 → 0.2.76
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/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/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.js +1 -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/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/{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/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/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.js +1 -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/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/{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/package.json +1 -1
- 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/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 +1 -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/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/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/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,15 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { projectSettings } from '../../ProjectSettings';
|
|
3
|
+
import type { IconProps } from './IconProps';
|
|
4
|
+
|
|
5
|
+
export const Icon = JSX<IconProps>(
|
|
6
|
+
({ className, name, alt = `Icon ${name}`, title = alt, ...imgProps }) => (
|
|
7
|
+
<img
|
|
8
|
+
className={className}
|
|
9
|
+
src={`${projectSettings.CDN || ''}icons/${name}.svg`}
|
|
10
|
+
alt={alt}
|
|
11
|
+
title={title}
|
|
12
|
+
{...imgProps}
|
|
13
|
+
/>
|
|
14
|
+
),
|
|
15
|
+
);
|
|
File without changes
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { SVG } from '../SVG';
|
|
3
|
+
|
|
4
|
+
export interface LogoProps {
|
|
5
|
+
className: string;
|
|
6
|
+
href: string;
|
|
7
|
+
targetBlank: boolean;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
const LOGO_PATHS = [
|
|
11
|
+
'm13.72 25.51 4.42-4.33v-2.95l-4.42 4.32v2.96Zm0-10.98 4.42-4.35V7.41l-4.42 4.31v2.8Zm0 3.63 4.42-4.33v-2.78l-4.42 4.32v2.8ZM12.46 7.44l-.6-.56V0h-.66v6.22l-.58-.57V0h-.67v5l-.59-.58V0H8.7v6.56l4.44 4.33V0h-.67v7.44Zm1.26 14.35 4.42-4.33v-2.78L13.72 19v2.8Zm-5.03-.61 4.44 4.33v-2.96l-4.44-4.32v2.95Zm8.79-16.76-.59.58V0h-.66v5.66l-.6.56V0h-.66v6.87l-.58.57V0h-.67v10.9l4.42-4.34V0h-.66v4.42Zm-8.79 5.76 4.44 4.35v-2.8L8.69 7.4v2.77Zm0 3.65 4.44 4.33v-2.8l-4.44-4.3v2.77Zm0 3.63 4.44 4.33V19l-4.44-4.31v2.78Zm26.37 2.29H24.3a2.25 2.25 0 0 0 .36-1.22 2.32 2.32 0 0 0-2.33-2.31 2.32 2.32 0 0 0-2.31 2.31c0 .5.16.96.43 1.34a.74.74 0 0 0-.33.61c0 .26.14.49.33.62a2.32 2.32 0 0 0-.43 1.34 2.31 2.31 0 0 0 2.31 2.31 2.32 2.32 0 0 0 2.33-2.31c0-.45-.13-.87-.36-1.22h8.01v.49h-.8v.68h.8v.7h-.8v1.3h.8v-.58h1.17v.58h.79v-1.3h-.79v-.7h.79v-.68h-.79v-.5h1.58a.56.56 0 0 0 .56-.56v-.34a.57.57 0 0 0-.56-.56Zm-11.53 2.7a1.2 1.2 0 0 1-2.4 0c0-.24.08-.47.2-.66l.34-.56a.97.97 0 0 1-.34-.75c0-.3.13-.56.33-.74l-.32-.56a1.13 1.13 0 0 1-.2-.66 1.2 1.2 0 0 1 2.4 0c0 .49-.56 1.65-.56 1.65v.62c-.01.01.55 1.17.55 1.66ZM4.67 18.34v2.89c0 2.75 1.2 4.53 1.9 5.21l4.58 4.5c1.28 1.25 1.5 1.66 1.79 2.37v-3.2c0-2.84-1.44-3.94-2.19-4.67-1.73-1.68-2.89-2.8-3.82-3.73a8.98 8.98 0 0 1-2.26-3.37Zm6.08 14.24c-1.73-1.7-2.89-2.8-3.82-3.73a10 10 0 0 1-2.25-2.98v2.49a7.87 7.87 0 0 0 1.89 5.24l4.58 4.47c1.28 1.25 1.5 1.85 1.79 2.55v-3.37c0-2.85-1.45-3.95-2.19-4.67Z',
|
|
12
|
+
'M19.88 5.34c-.32 0-.64 0-.96.02V6.7a18.5 18.5 0 1 1 .95 36.94A18.5 18.5 0 0 1 1.35 25.17c0-5.67 2.55-10.73 6.58-14.13V9.32A19.78 19.78 0 0 0 0 25.17C0 36.12 8.9 45 19.88 45a19.85 19.85 0 0 0 19.86-19.83c0-10.95-8.9-19.83-19.87-19.83Z',
|
|
13
|
+
'M33.93 35.53c.3-.41.6-.85.87-1.3v-2.66h-.87v3.96Zm2.54-4.92c.12-.4.24-.78.34-1.16h-2.88v.7h.43c.77-.02 1.63-.03 2.11.46Zm-19.19-1.27h-.78v7.91h.78v-7.9Z',
|
|
14
|
+
'M14.7 27.83h2.58c.67 0 1.14.14 1.4.4.27.25.4.72.4 1.38v7.4c0 .66-.12 1.12-.4 1.38-.4.41-1.16.41-1.78.41l-.4-.01v3.5l.78.14v-2.88c1.2 0 1.97-.4 2.34-1.22v4.29h.26l.5-.01V29.74c0-.68.13-1.16.4-1.43.25-.27.72-.4 1.37-.4.67 0 1.65-.1 2.16.4.26.27.38.76.38 1.43v3.8h-1.77v-4.06h-.77v12.99c.26-.03.5-.07.77-.12V34.3h1.77v7.64c.36-.1.72-.21 1.08-.34v-7c0-.8.19-1.4 1-1.67l-.9-4.87h1.8l.3 5.31h.22l.3-5.31h1.88l-1.01 4.87c.84.3 1.01.81 1.01 1.66v4.53a16.63 16.63 0 0 0 1.5-1.27v-9.83h5.25l.1-.72H24.93l.17.89c-.38-.72-1.12-1.08-2.2-1.08h-.77c-1.3 0-2.1.52-2.4 1.55-.27-1.08-1.1-1.62-2.46-1.62h-3.36v14.52c.26.09.52.18.78.25V27.84Zm16.29 5.58-.85-.8.85-4.37v5.17Z',
|
|
15
|
+
'M27.66 40.79c.27-.14.55-.28.8-.43v-5.98h-.8v6.4Z',
|
|
16
|
+
];
|
|
17
|
+
|
|
18
|
+
export const Logo = JSX<Partial<LogoProps>>(({ className, href, children, targetBlank }) => {
|
|
19
|
+
return (
|
|
20
|
+
<a
|
|
21
|
+
className={`inline-flex items-center font-sans no-underline ${className || ''}`}
|
|
22
|
+
href={href || 'https://rshb.ru/'}
|
|
23
|
+
target={targetBlank ? '_blank' : '_self'}
|
|
24
|
+
>
|
|
25
|
+
<SVG
|
|
26
|
+
className="text-primary-main w-10"
|
|
27
|
+
viewBox="0 0 40 45"
|
|
28
|
+
paths={LOGO_PATHS.map((d) => ({ d }))}
|
|
29
|
+
/>
|
|
30
|
+
<span className="text-black text-base font-medium ml-2.5">
|
|
31
|
+
{children || 'Россельхозбанк'}
|
|
32
|
+
</span>
|
|
33
|
+
</a>
|
|
34
|
+
);
|
|
35
|
+
});
|
package/src/ui-kit/SearchBar.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import type { UniBlockProps } from '../types';
|
|
3
|
-
import { Icon } from './Icon';
|
|
3
|
+
import { Icon } from './Icon/Icon';
|
|
4
4
|
|
|
5
5
|
export const SearchBar = JSX<UniBlockProps>(({ className, context }) => {
|
|
6
6
|
const { term, setTerm } = context.useSearch();
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import '../../setup-fixture';
|
|
2
|
+
|
|
3
|
+
import { TopItem } from './TopItem';
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
default: <TopItem href="https://www.rshb.ru/" target="_blank" text="Экосистема Своё" />,
|
|
7
|
+
active: <TopItem href="https://www.rshb.ru/" target="_blank" text="Экосистема Своё" active />,
|
|
8
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import type { LinkContent } from '../../model/LinkContent';
|
|
3
|
+
|
|
4
|
+
export interface TopItemContent extends LinkContent {
|
|
5
|
+
active?: boolean;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export interface TopItemProps extends TopItemContent {
|
|
9
|
+
className?: string;
|
|
10
|
+
flat?: boolean;
|
|
11
|
+
ariaLabel?: string;
|
|
12
|
+
onClick?: (ev: MouseEvent) => any;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const TopItem = JSX<TopItemProps>(
|
|
16
|
+
({ className, text, href, target, active, flat, onClick, children, ariaLabel }) => {
|
|
17
|
+
const linkStyle = active ? 'border-primary-main rounded-md' : 'border-transparent';
|
|
18
|
+
const textStyle = active
|
|
19
|
+
? 'text-primary-main'
|
|
20
|
+
: `${flat ? 'text-primary-text' : 'text-secondary-text'} hover:text-primary-main`;
|
|
21
|
+
|
|
22
|
+
return (
|
|
23
|
+
<a
|
|
24
|
+
className={`inline-block border border-solid bg-transparent text-center no-underline ${
|
|
25
|
+
flat ? '' : 'px-4 py-2'
|
|
26
|
+
} ${linkStyle} ${className || ''}`}
|
|
27
|
+
href={href}
|
|
28
|
+
target={target}
|
|
29
|
+
onClick={onClick}
|
|
30
|
+
rel="noopener noreferrer"
|
|
31
|
+
aria-label={ariaLabel}
|
|
32
|
+
>
|
|
33
|
+
<span className={`font-sans font-normal text-sm ${textStyle}`}>{text || children}</span>
|
|
34
|
+
</a>
|
|
35
|
+
);
|
|
36
|
+
},
|
|
37
|
+
);
|
package/dist/BaseTile.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { BaseTileContent } from './BaseTileContent';
|
|
2
|
-
import type { UniBlockProps } from './types';
|
|
3
|
-
export interface BaseTileProps extends BaseTileContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const BaseTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<BaseTileProps, any>, context?: any) => any;
|
package/dist/BaseTile.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.BaseTile = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const BlockItem_1 = require("./ui-kit/BlockItem");
|
|
6
|
-
const Button_1 = require("./ui-kit/Button");
|
|
7
|
-
const Icon_1 = require("./ui-kit/Icon");
|
|
8
|
-
const Img_1 = require("./ui-kit/Img");
|
|
9
|
-
const Title_1 = require("./ui-kit/Title");
|
|
10
|
-
const useLink_1 = require("./useLink");
|
|
11
|
-
const getColSpan_1 = require("./utils/getColSpan");
|
|
12
|
-
const TITLE_CLASSES = 'font-medium m-0 mb-4 whitespace-pre-wrap max-w-[600px]';
|
|
13
|
-
exports.BaseTile = (0, uni_jsx_1.JSX)(({ className, context, title, titleSize, description, children, buttons, image, items, version = 'primary', }) => {
|
|
14
|
-
const router = context.useRouter();
|
|
15
|
-
const { handlerDecorator } = context;
|
|
16
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: `font-sans flex flex-col grow h-full`, children: [title && ((0, jsx_runtime_1.jsx)(Title_1.Title, { size: titleSize || getTitleSizeByClassName(className), className: TITLE_CLASSES, children: title })), (0, jsx_runtime_1.jsxs)("div", { className: "flex grow justify-between", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col justify-between items-start", children: [(0, jsx_runtime_1.jsxs)("div", { children: [description ? ((0, jsx_runtime_1.jsx)("div", { className: "font-normal text-base max-w-[600px] mb-5", children: description })) : null, children, items?.length ? renderItems(items, version) : null] }), buttons?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "flex mt-9 gap-3", children: buttons.map((button, index) => renderButton((0, useLink_1.useLink)({ router, handlerDecorator }, button), index)) })) : null] }), image?.src && (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mt-auto ml-7", image: image })] })] }));
|
|
17
|
-
});
|
|
18
|
-
function getTitleSizeByClassName(className = '') {
|
|
19
|
-
const colSpan = (0, getColSpan_1.getColSpan)(className);
|
|
20
|
-
if (colSpan <= 4) {
|
|
21
|
-
return 'S';
|
|
22
|
-
}
|
|
23
|
-
else if (colSpan <= 8) {
|
|
24
|
-
return 'M';
|
|
25
|
-
}
|
|
26
|
-
else {
|
|
27
|
-
return 'L';
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
function renderItems(items = [], version) {
|
|
31
|
-
return ((0, jsx_runtime_1.jsx)("section", { className: "max-w-[600px]", role: "list", children: items.map((_, i) => ((0, jsx_runtime_1.jsx)(BlockItem_1.BlockItem, { className: i ? 'mt-2.5' : '', text: _, version: version }, String(i)))) }));
|
|
32
|
-
}
|
|
33
|
-
function renderButton({ icon, ...button }, i) {
|
|
34
|
-
if (!button?.text)
|
|
35
|
-
return;
|
|
36
|
-
if (icon)
|
|
37
|
-
return ((0, jsx_runtime_1.jsx)(Button_1.Button, { appendLeft: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: icon, width: "24", height: "24" }), ...button }, String(i)));
|
|
38
|
-
return (0, jsx_runtime_1.jsx)(Button_1.Button, { ...button }, String(i));
|
|
39
|
-
}
|
|
40
|
-
//# sourceMappingURL=BaseTile.js.map
|
package/dist/BaseTile.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BaseTile.js","sourceRoot":"","sources":["../src/BaseTile.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { BlockVersion } from './model/BlockVersion';
|
|
2
|
-
import type { Picture } from './model/Picture';
|
|
3
|
-
import type { ButtonWithIconProps } from './ui-kit/ButtonProps';
|
|
4
|
-
import type { TitleSize } from './ui-kit/TitleProps';
|
|
5
|
-
export interface BaseTileContent {
|
|
6
|
-
title?: string;
|
|
7
|
-
titleSize?: TitleSize;
|
|
8
|
-
description?: string;
|
|
9
|
-
image?: Picture;
|
|
10
|
-
items?: string[];
|
|
11
|
-
buttons?: ButtonWithIconProps[];
|
|
12
|
-
version?: BlockVersion;
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BaseTileContent.js","sourceRoot":"","sources":["../src/BaseTileContent.ts"],"names":[],"mappings":""}
|
package/dist/BenefitsBlock.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { BenefitsBlockContent } from './BenefitsBlockContent';
|
|
2
|
-
import type { UniBlockProps } from './types';
|
|
3
|
-
export interface BenefitsBlockProps extends BenefitsBlockContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const BenefitsBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<BenefitsBlockProps, any>, context?: any) => any;
|
package/dist/BenefitsBlock.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.BenefitsBlock = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const Icon_1 = require("./ui-kit/Icon");
|
|
6
|
-
exports.BenefitsBlock = (0, uni_jsx_1.JSX)(({ className, title, benefits }) => {
|
|
7
|
-
return ((0, jsx_runtime_1.jsxs)("section", { className: `font-sans text-primary-text bg-white p-12 pb-2 flex flex-col items-center ${className || ''}`, children: [(0, jsx_runtime_1.jsx)("h2", { className: "font-medium text-title m-0 max-w-[47rem] text-center", children: title }), benefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "grid grid-cols-2 gap-5 mt-9", children: benefits.map(renderStep) })) : null] }));
|
|
8
|
-
});
|
|
9
|
-
const renderStep = (benefit, i) => {
|
|
10
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex items-center p-10 gap-5 max-w-[580px]", children: [benefit.icon && ((0, jsx_runtime_1.jsx)(Icon_1.Icon, { className: "h-[70px] w-[70px] min-w-[70px] min-h-[70px]", name: benefit.icon, width: "70", height: "70" })), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("h3", { className: "font-medium text-xl m-0", children: benefit.label }), benefit.description && ((0, jsx_runtime_1.jsx)("div", { className: "font-normal text-sm mt-2", children: benefit.description }))] })] }, String(i)));
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=BenefitsBlock.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BenefitsBlock.js","sourceRoot":"","sources":["../src/BenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,wCAAqC;AAIxB,QAAA,aAAa,GAAG,IAAA,aAAG,EAAqB,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACtF,OAAO,CACL,qCACE,SAAS,EAAE,6EACT,SAAS,IAAI,EACf,EAAE,aAEF,+BAAI,SAAS,EAAC,sDAAsD,YAAE,KAAK,GAAM,EAChF,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAClB,gCAAK,SAAS,EAAC,6BAA6B,YAAE,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,GAAO,CAC9E,CAAC,CAAC,CAAC,IAAI,IACA,CACX,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,CAAC,OAAgB,EAAE,CAAS,EAAE,EAAE;IACjD,OAAO,CACL,iCAAqB,SAAS,EAAC,4CAA4C,aACxE,OAAO,CAAC,IAAI,IAAI,CACf,uBAAC,WAAI,IACH,SAAS,EAAC,6CAA6C,EACvD,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,CACH,EACD,4CACE,+BAAI,SAAS,EAAC,yBAAyB,YAAE,OAAO,CAAC,KAAK,GAAM,EAC3D,OAAO,CAAC,WAAW,IAAI,CACtB,gCAAK,SAAS,EAAC,0BAA0B,YAAE,OAAO,CAAC,WAAW,GAAO,CACtE,IACG,KAdE,MAAM,CAAC,CAAC,CAAC,CAeb,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BenefitsBlockContent.js","sourceRoot":"","sources":["../src/BenefitsBlockContent.ts"],"names":[],"mappings":""}
|
package/dist/BlockContent.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { BenefitsBlockContent } from './BenefitsBlockContent';
|
|
2
|
-
import type { ExchangeRateTileContent } from './ExchangeRateTileContent';
|
|
3
|
-
import type { FooterContent } from './Footer/FooterContent';
|
|
4
|
-
import type { GalleryContent } from './GalleryContent';
|
|
5
|
-
import type { HeaderContent } from './Header/HeaderContent';
|
|
6
|
-
import type { MobileAppTileContent } from './MobileAppTileContent';
|
|
7
|
-
import type { PlaceholderContent } from './PlaceholderContent';
|
|
8
|
-
import type { ProductBlockContent } from './ProductBlockContent';
|
|
9
|
-
import type { ProductGalleryContent } from './ProductGalleryContent';
|
|
10
|
-
import type { ProductTileContent } from './ProductTileContent';
|
|
11
|
-
import type { PromoTileContent } from './PromoTileContent';
|
|
12
|
-
import type { StepsBlockContent } from './StepsBlockContent';
|
|
13
|
-
import type { TextBlockContent } from './TextBlockContent';
|
|
14
|
-
import type { TileContent } from './TileContent';
|
|
15
|
-
import type { ComparisonTableContent } from './ComparisonTable';
|
|
16
|
-
export declare type BlockContent = HeaderContent | FooterContent | PlaceholderContent | TileContent | PromoTileContent | TextBlockContent | ProductTileContent | ProductBlockContent | StepsBlockContent | BenefitsBlockContent | ProductGalleryContent | ExchangeRateTileContent | MobileAppTileContent | GalleryContent | ComparisonTableContent;
|
package/dist/BlockContent.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BlockContent.js","sourceRoot":"","sources":["../src/BlockContent.ts"],"names":[],"mappings":""}
|
package/dist/Blocks.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export declare const Blocks: {
|
|
2
|
-
Header: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Header/Header").HeaderProps, any>, context?: any) => any;
|
|
3
|
-
Footer: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Footer/Footer").FooterProps, any>, context?: any) => any;
|
|
4
|
-
Placeholder: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Placeholder").PlaceholderProps, any>, context?: any) => any;
|
|
5
|
-
Tile: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Tile").TileProps, any>, context?: any) => any;
|
|
6
|
-
PromoTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./PromoTile").PromoTileProps, any>, context?: any) => any;
|
|
7
|
-
TextBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./TextBlock").TextBlockProps, any>, context?: any) => any;
|
|
8
|
-
ProductTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./ProductTile").ProductTileProps, any>, context?: any) => any;
|
|
9
|
-
ProductBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./ProductBlock").ProductBlockProps, any>, context?: any) => any;
|
|
10
|
-
StepsBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./StepsBlock").StepsBlockProps, any>, context?: any) => any;
|
|
11
|
-
BenefitsBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./BenefitsBlock").BenefitsBlockProps, any>, context?: any) => any;
|
|
12
|
-
ProductGallery: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./ProductGallery").ProductGalleryProps, any>, context?: any) => any;
|
|
13
|
-
ExchangeRateTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./ExchangeRateTile").ExchangeRateTileProps, any>, context?: any) => any;
|
|
14
|
-
MobileAppTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./MobileAppTile").MobileAppTileProps, any>, context?: any) => any;
|
|
15
|
-
Gallery: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Gallery").GalleryProps, any>, context?: any) => any;
|
|
16
|
-
MiniGallery: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./MiniGallery").MiniGalleryProps, any>, context?: any) => any;
|
|
17
|
-
ComparisonTable: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./ComparisonTable").ComparisonTableProps, any>, context?: any) => any;
|
|
18
|
-
};
|
package/dist/Blocks.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.Blocks = void 0;
|
|
3
|
-
const BenefitsBlock_1 = require("./BenefitsBlock");
|
|
4
|
-
const ExchangeRateTile_1 = require("./ExchangeRateTile");
|
|
5
|
-
const Footer_1 = require("./Footer/Footer");
|
|
6
|
-
const Gallery_1 = require("./Gallery");
|
|
7
|
-
const Header_1 = require("./Header/Header");
|
|
8
|
-
const MiniGallery_1 = require("./MiniGallery");
|
|
9
|
-
const MobileAppTile_1 = require("./MobileAppTile");
|
|
10
|
-
const Placeholder_1 = require("./Placeholder");
|
|
11
|
-
const ProductBlock_1 = require("./ProductBlock");
|
|
12
|
-
const ProductGallery_1 = require("./ProductGallery");
|
|
13
|
-
const ProductTile_1 = require("./ProductTile");
|
|
14
|
-
const PromoTile_1 = require("./PromoTile");
|
|
15
|
-
const StepsBlock_1 = require("./StepsBlock");
|
|
16
|
-
const TextBlock_1 = require("./TextBlock");
|
|
17
|
-
const Tile_1 = require("./Tile");
|
|
18
|
-
const ComparisonTable_1 = require("./ComparisonTable");
|
|
19
|
-
exports.Blocks = {
|
|
20
|
-
Header: Header_1.Header,
|
|
21
|
-
Footer: Footer_1.Footer,
|
|
22
|
-
Placeholder: Placeholder_1.Placeholder,
|
|
23
|
-
Tile: Tile_1.Tile,
|
|
24
|
-
PromoTile: PromoTile_1.PromoTile,
|
|
25
|
-
TextBlock: TextBlock_1.TextBlock,
|
|
26
|
-
ProductTile: ProductTile_1.ProductTile,
|
|
27
|
-
ProductBlock: ProductBlock_1.ProductBlock,
|
|
28
|
-
StepsBlock: StepsBlock_1.StepsBlock,
|
|
29
|
-
BenefitsBlock: BenefitsBlock_1.BenefitsBlock,
|
|
30
|
-
ProductGallery: ProductGallery_1.ProductGallery,
|
|
31
|
-
ExchangeRateTile: ExchangeRateTile_1.ExchangeRateTile,
|
|
32
|
-
MobileAppTile: MobileAppTile_1.MobileAppTile,
|
|
33
|
-
Gallery: Gallery_1.Gallery,
|
|
34
|
-
MiniGallery: MiniGallery_1.MiniGallery,
|
|
35
|
-
ComparisonTable: ComparisonTable_1.ComparisonTable,
|
|
36
|
-
};
|
|
37
|
-
//# sourceMappingURL=Blocks.js.map
|
package/dist/Blocks.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../src/Blocks.ts"],"names":[],"mappings":";;AAAA,mDAAgD;AAChD,yDAAsD;AACtD,4CAAyC;AACzC,uCAAoC;AACpC,4CAAyC;AACzC,+CAA4C;AAC5C,mDAAgD;AAChD,+CAA4C;AAC5C,iDAA8C;AAC9C,qDAAkD;AAClD,+CAA4C;AAC5C,2CAAwC;AACxC,6CAA0C;AAC1C,2CAAwC;AACxC,iCAA8B;AAC9B,uDAAoD;AAEvC,QAAA,MAAM,GAAG;IACpB,MAAM,EAAN,eAAM;IACN,MAAM,EAAN,eAAM;IACN,WAAW,EAAX,yBAAW;IACX,IAAI,EAAJ,WAAI;IACJ,SAAS,EAAT,qBAAS;IACT,SAAS,EAAT,qBAAS;IACT,WAAW,EAAX,yBAAW;IACX,YAAY,EAAZ,2BAAY;IACZ,UAAU,EAAV,uBAAU;IACV,aAAa,EAAb,6BAAa;IACb,cAAc,EAAd,+BAAc;IACd,gBAAgB,EAAhB,mCAAgB;IAChB,aAAa,EAAb,6BAAa;IACb,OAAO,EAAP,iBAAO;IACP,WAAW,EAAX,yBAAW;IACX,eAAe,EAAf,iCAAe;CAChB,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../types';
|
|
2
|
-
import type { ComparisonTableContent } from './ComparisonTableContent';
|
|
3
|
-
export interface ComparisonTableProps extends ComparisonTableContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const ComparisonTable: (props: import("@redneckz/uni-jsx").PropsWithChildren<ComparisonTableProps, any>, context?: any) => any;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.ComparisonTable = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const ArrowButton_1 = require("../ui-kit/ArrowButton");
|
|
6
|
-
const Title_1 = require("../ui-kit/Title");
|
|
7
|
-
const TableRowContainer_1 = require("./TableRowContainer");
|
|
8
|
-
const TableCarouselContainer_1 = require("./TableCarouselContainer");
|
|
9
|
-
const useLink_1 = require("../useLink");
|
|
10
|
-
const HeaderCell_1 = require("./HeaderCell");
|
|
11
|
-
const TableRow_1 = require("./TableRow");
|
|
12
|
-
const constants_1 = require("./constants");
|
|
13
|
-
exports.ComparisonTable = (0, uni_jsx_1.JSX)(({ className, context, title, rowHeaders, columns, visibleRowLength = 0, isColoredFirstColumn = false, }) => {
|
|
14
|
-
const router = context.useRouter();
|
|
15
|
-
const { handlerDecorator } = context;
|
|
16
|
-
const [activeCardIndex, setActiveCardIndex] = context.useState(0);
|
|
17
|
-
const [isShowAllRow, setIsShowAllRow] = context.useState(!visibleRowLength);
|
|
18
|
-
const colHeaders = columns?.map(({ header }) => header || {});
|
|
19
|
-
const colData = columns?.map(({ data }) => data) || [];
|
|
20
|
-
const rowData = rowHeaders
|
|
21
|
-
?.map((header, i) => ({
|
|
22
|
-
header,
|
|
23
|
-
data: colData.map((col) => col?.[i] || [{}]),
|
|
24
|
-
}))
|
|
25
|
-
.slice(0, isShowAllRow ? rowHeaders.length : visibleRowLength);
|
|
26
|
-
const nextClick = () => setActiveCardIndex(activeCardIndex + 1);
|
|
27
|
-
const prevClick = () => setActiveCardIndex(activeCardIndex - 1);
|
|
28
|
-
const showToggle = () => setIsShowAllRow(!isShowAllRow);
|
|
29
|
-
const isScrollAvailable = colData?.length && colData.length > constants_1.COLS_LENGTH_FOR_SCROLL;
|
|
30
|
-
const showNextButton = isScrollAvailable && colData?.length - activeCardIndex > constants_1.COLS_LENGTH_FOR_SCROLL;
|
|
31
|
-
const showPrevButton = isScrollAvailable && activeCardIndex > 0;
|
|
32
|
-
return ((0, jsx_runtime_1.jsxs)("section", { className: `bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${className || ''}`, children: [(0, jsx_runtime_1.jsx)(Title_1.Title, { className: "font-medium m-0 max-w-[47rem] text-center mb-9 mx-auto", children: title }), (0, jsx_runtime_1.jsxs)("div", { role: "table", children: [colHeaders?.length ? ((0, jsx_runtime_1.jsxs)(TableRowContainer_1.TableRowContainer, { children: [(0, jsx_runtime_1.jsx)("div", { className: constants_1.FIRST_CELL_CLASSES, role: "columnheader", scope: "col" }), (0, jsx_runtime_1.jsx)(TableCarouselContainer_1.TableCarouselContainer, { activeCardIndex: activeCardIndex, children: colHeaders.map((header, i) => ((0, jsx_runtime_1.jsx)(HeaderCell_1.HeaderCell, { ...header, link: header.link && (0, useLink_1.useLink)({ router, handlerDecorator }, header.link) }, String(i)))) })] })) : null, rowData?.length ? ((0, jsx_runtime_1.jsxs)("div", { className: "relative", children: [rowData.map((row, i, { length }) => ((0, jsx_runtime_1.jsx)(TableRow_1.TableRow, { row: row, isFirstRow: i === 0, isLastRow: i + 1 === length, activeCardIndex: activeCardIndex, isColoredFirstColumn: isColoredFirstColumn }, String(i)))), isScrollAvailable ? ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsxs)("div", { className: "absolute top-7 right-7 z-10", children: [(0, jsx_runtime_1.jsx)(ArrowButton_1.ArrowButton, { onClick: nextClick, disabled: !showNextButton, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E" }), (0, jsx_runtime_1.jsx)(ArrowButton_1.ArrowButton, { className: "mt-4 rotate-180", onClick: prevClick, disabled: !showPrevButton, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E" })] }) })) : null] })) : null] }), isScrollAvailable ? ((0, jsx_runtime_1.jsx)("div", { className: "absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white" })) : null, visibleRowLength ? ((0, jsx_runtime_1.jsx)("div", { className: "pr-[50px]", children: (0, jsx_runtime_1.jsxs)("div", { className: "flex w-full", children: [(0, jsx_runtime_1.jsx)("div", { className: constants_1.FIRST_CELL_CLASSES }), (0, jsx_runtime_1.jsx)("button", { onClick: showToggle, className: "mt-5 flex-1 border-main-stroke border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main", children: (0, jsx_runtime_1.jsx)("div", { className: "font-sans font-medium text-xs py-[11px]", children: !isShowAllRow ? 'Показать все параметры' : 'Скрыть' }) })] }) })) : null] }));
|
|
33
|
-
});
|
|
34
|
-
//# sourceMappingURL=ComparisonTable.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ComparisonTable.js","sourceRoot":"","sources":["../../src/ComparisonTable/ComparisonTable.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import type { LinkContent } from '../model/LinkContent';
|
|
2
|
-
import type { Picture } from '../model/Picture';
|
|
3
|
-
import type { ButtonProps } from '../ui-kit/ButtonProps';
|
|
4
|
-
import type { IconName } from '../ui-kit/IconProps';
|
|
5
|
-
export declare type Row = {
|
|
6
|
-
header: RowHeader;
|
|
7
|
-
data: CellData[][];
|
|
8
|
-
};
|
|
9
|
-
export declare type RowData = Row[] | undefined;
|
|
10
|
-
export interface CellData {
|
|
11
|
-
label?: string;
|
|
12
|
-
description?: string;
|
|
13
|
-
icons?: IconName[];
|
|
14
|
-
image?: Picture;
|
|
15
|
-
buttons?: ButtonProps[];
|
|
16
|
-
}
|
|
17
|
-
export interface ColumnHeader {
|
|
18
|
-
title?: string;
|
|
19
|
-
icon?: IconName;
|
|
20
|
-
image?: Picture;
|
|
21
|
-
link?: LinkContent;
|
|
22
|
-
}
|
|
23
|
-
export interface Column {
|
|
24
|
-
header?: ColumnHeader;
|
|
25
|
-
data?: CellData[][];
|
|
26
|
-
}
|
|
27
|
-
export interface RowHeader {
|
|
28
|
-
title?: string;
|
|
29
|
-
icon?: IconName;
|
|
30
|
-
}
|
|
31
|
-
export interface ComparisonTableContent {
|
|
32
|
-
title?: string;
|
|
33
|
-
rowHeaders?: RowHeader[];
|
|
34
|
-
columns?: Column[];
|
|
35
|
-
visibleRowLength?: number;
|
|
36
|
-
isColoredFirstColumn?: boolean;
|
|
37
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ComparisonTableContent.js","sourceRoot":"","sources":["../../src/ComparisonTable/ComparisonTableContent.ts"],"names":[],"mappings":""}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { LinkContent } from '../model/LinkContent';
|
|
2
|
-
import type { Picture } from '../model/Picture';
|
|
3
|
-
import type { IconName } from '../ui-kit/IconProps';
|
|
4
|
-
export interface HeaderCellProps {
|
|
5
|
-
icon?: IconName;
|
|
6
|
-
image?: Picture;
|
|
7
|
-
title?: string;
|
|
8
|
-
link?: LinkContent;
|
|
9
|
-
}
|
|
10
|
-
export declare const HeaderCell: (props: import("@redneckz/uni-jsx").PropsWithChildren<HeaderCellProps, any>, context?: any) => any;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.HeaderCell = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const Button_1 = require("../ui-kit/Button");
|
|
6
|
-
const Icon_1 = require("../ui-kit/Icon");
|
|
7
|
-
const Img_1 = require("../ui-kit/Img");
|
|
8
|
-
const Title_1 = require("../ui-kit/Title");
|
|
9
|
-
const constants_1 = require("./constants");
|
|
10
|
-
exports.HeaderCell = (0, uni_jsx_1.JSX)(({ icon, image, title, link }) => ((0, jsx_runtime_1.jsxs)("div", { className: `w-80 box-border flex flex-col items-center rounded-t-md border-b-0 px-7 pt-7 pb-12 ${constants_1.BORDER_CLASSES} ${constants_1.GRADIENT}`, role: "columnheader", scope: "col", children: [icon && !image?.src && ((0, jsx_runtime_1.jsx)(Icon_1.Icon, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", name: icon, width: "63", height: "63" })), image?.src && (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mb-4", image: image }), title && ((0, jsx_runtime_1.jsx)(Title_1.Title, { size: "S", className: "font-medium m-0 text-center text-white", children: title })), link?.text && ((0, jsx_runtime_1.jsx)("div", { className: "mt-auto w-full", children: (0, jsx_runtime_1.jsx)(Button_1.Button, { href: link.href, target: link.target, className: "mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active", children: (0, jsx_runtime_1.jsx)("div", { className: "text-xs py-[11px]", children: link.text }) }) }))] })));
|
|
11
|
-
//# sourceMappingURL=HeaderCell.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderCell.js","sourceRoot":"","sources":["../../src/ComparisonTable/HeaderCell.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,6CAA0C;AAC1C,yCAAsC;AAEtC,uCAAoC;AACpC,2CAAwC;AACxC,2CAAuD;AAS1C,QAAA,UAAU,GAAG,IAAA,aAAG,EAAkB,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAC/E,iCACE,SAAS,EAAE,sFAAsF,0BAAc,IAAI,oBAAQ,EAAE,EAC7H,IAAI,EAAC,cAAc,EACnB,KAAK,EAAC,KAAK,aAEV,IAAI,IAAI,CAAC,KAAK,EAAE,GAAG,IAAI,CACtB,uBAAC,WAAI,IACH,SAAS,EAAC,kDAAkD,EAC5D,IAAI,EAAE,IAAI,EACV,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,CACH,EACA,KAAK,EAAE,GAAG,IAAI,uBAAC,SAAG,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,GAAI,EACpD,KAAK,IAAI,CACR,uBAAC,aAAK,IAAC,IAAI,EAAC,GAAG,EAAC,SAAS,EAAC,wCAAwC,YAC/D,KAAK,GACA,CACT,EACA,IAAI,EAAE,IAAI,IAAI,CACb,gCAAK,SAAS,EAAC,gBAAgB,YAC7B,uBAAC,eAAM,IACL,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,SAAS,EAAC,4FAA4F,YAEtG,gCAAK,SAAS,EAAC,mBAAmB,YAAE,IAAI,CAAC,IAAI,GAAO,GAC7C,GACL,CACP,IACG,CACP,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TableCarouselContainer.js","sourceRoot":"","sources":["../../src/ComparisonTable/TableCarouselContainer.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,2CAA2C;AAM9B,QAAA,sBAAsB,GAAG,IAAA,aAAG,EACvC,CAAC,EAAE,QAAQ,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC,CACjC,gCAAK,SAAS,EAAC,6BAA6B,YAC1C,gCACE,SAAS,EAAC,0BAA0B,EACpC,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,eAAe,GAAG,wBAAY,KAAK,EAAE,YAEvE,QAAQ,GACL,GACF,CACP,CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TableCell.js","sourceRoot":"","sources":["../../src/ComparisonTable/TableCell.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,2CAAwE;AAS3D,QAAA,SAAS,GAAG,IAAA,aAAG,EAAiB,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE,EAAE,EAAE;IAC/F,MAAM,kBAAkB,GAAG,iCAAiC,0BAAc,IACxE,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,yBAC9B,IAAI,cAAc,CAAC,CAAC,CAAC,oBAAQ,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAErC,MAAM,WAAW,GAAG,eAAe,2BAAe,IAChD,cAAc,IAAI,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAC9C,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAEvC,OAAO,CACL,gCAAK,SAAS,EAAE,kBAAkB,EAAE,IAAI,EAAC,MAAM,YAC7C,gCAAK,SAAS,EAAE,WAAW,YACxB,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,CAAC,EAAE,cAAc,CAAC,CAAC,GAC5D,GACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,eAAe,GAAG,CAAC,EAAE,KAAK,EAAE,WAAW,EAAY,EAAE,CAAS,EAAE,cAAuB,EAAE,EAAE,CAAC,CAChG,iCAAqB,SAAS,EAAC,2BAA2B,aACvD,KAAK,IAAI,CACR,+BAAI,SAAS,EAAE,2BAA2B,cAAc,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,EAAE,YAAG,KAAK,GAAM,CAC7F,EACA,WAAW,IAAI,CACd,gCACE,SAAS,EAAE,sBAAsB,cAAc,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,qBAAqB,EAAE,YAEvF,WAAW,GACR,CACP,KAVO,MAAM,CAAC,CAAC,CAAC,CAWb,CACP,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TableRow.js","sourceRoot":"","sources":["../../src/ComparisonTable/TableRow.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,2CAAkE;AAClE,qEAAkE;AAClE,2CAAwC;AACxC,2DAAwD;AAW3C,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EAAE,GAAG,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,eAAe,EAAE,oBAAoB,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAC3F,wBAAC,qCAAiB,eACf,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CACf,gCACE,SAAS,EAAE,gBAAgB,2BAAe,IAAI,8BAAkB,IAC9D,CAAC,SAAS,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAChC,EAAE,YAED,MAAM,CAAC,KAAK,GACT,CACP,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CACd,uBAAC,+CAAsB,IAAC,eAAe,EAAE,eAAe,YACrD,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACrB,uBAAC,qBAAS,IAER,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,SAAS,EACpB,cAAc,EAAE,oBAAoB,IAAI,CAAC,KAAK,CAAC,IAJ1C,MAAM,CAAC,CAAC,CAAC,CAKd,CACH,CAAC,GACqB,CAC1B,CAAC,CAAC,CAAC,IAAI,IACU,CACrB,CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TableRowContainer.js","sourceRoot":"","sources":["../../src/ComparisonTable/TableRowContainer.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAE3B,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAAC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CACrD,gCAAK,SAAS,EAAC,0BAA0B,EAAC,IAAI,EAAC,KAAK,YAClD,gCAAK,SAAS,EAAC,MAAM,YAAE,QAAQ,GAAO,GAClC,CACP,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/ComparisonTable/constants.ts"],"names":[],"mappings":";;AAAa,QAAA,QAAQ,GAAG,gEAAgE,CAAC;AAC5E,QAAA,cAAc,GAAG,wCAAwC,CAAC;AAC1D,QAAA,eAAe,GAAG,kDAAkD,CAAC;AACrE,QAAA,kBAAkB,GAAG,gBAAgB,CAAC;AACtC,QAAA,sBAAsB,GAAG,CAAC,CAAC;AAC3B,QAAA,YAAY,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,uBAAuB"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.ComparisonTable = void 0;
|
|
3
|
-
var ComparisonTable_1 = require("./ComparisonTable");
|
|
4
|
-
Object.defineProperty(exports, "ComparisonTable", { enumerable: true, get: function () { return ComparisonTable_1.ComparisonTable; } });
|
|
5
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ComparisonTable/index.ts"],"names":[],"mappings":";;AAAA,qDAAoD;AAA3C,kHAAA,eAAe,OAAA"}
|
package/dist/ContentPage.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { BlockContent } from './BlockContent';
|
|
3
|
-
import type { BlockDef, ContentPageDef, UniBlockProps } from './types';
|
|
4
|
-
interface BlockDecoratorProps<VNode> {
|
|
5
|
-
blockClassName: string;
|
|
6
|
-
block: BlockDef;
|
|
7
|
-
render: (props: {
|
|
8
|
-
blockClassName: string;
|
|
9
|
-
block: BlockDef;
|
|
10
|
-
}) => VNode;
|
|
11
|
-
}
|
|
12
|
-
export declare type BlockDecorator<VNode = any> = (props: BlockDecoratorProps<VNode>, index?: number | string) => any;
|
|
13
|
-
export interface ContentPageProps extends UniBlockProps {
|
|
14
|
-
blocksRegistry: Record<string, (props: PropsWithChildren<UniBlockProps & BlockContent, any>, context?: any) => any>;
|
|
15
|
-
data: ContentPageDef;
|
|
16
|
-
blockDecorator?: BlockDecorator;
|
|
17
|
-
}
|
|
18
|
-
export declare const ContentPage: (props: PropsWithChildren<ContentPageProps, any>, context?: any) => any;
|
|
19
|
-
export {};
|
package/dist/ContentPage.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.ContentPage = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const LikeControl_1 = require("./LikeControl");
|
|
6
|
-
const Placeholder_1 = require("./Placeholder");
|
|
7
|
-
const defaultBlockDecorator = ({ blockClassName, block, render }) => render({ blockClassName, block });
|
|
8
|
-
exports.ContentPage = (0, uni_jsx_1.JSX)(({ className, context, blocksRegistry, data: { style: pageStyle, blocks, likeControl, colorPalette = 'pc' }, blockDecorator = defaultBlockDecorator, }) => {
|
|
9
|
-
return ((0, jsx_runtime_1.jsxs)("section", { className: "relative", "data-theme": colorPalette, children: [(0, jsx_runtime_1.jsx)("div", { className: `grid grid-cols-12 gap-1 ${style2className(pageStyle)} ${className || ''}`, children: blocks?.length ? blocks.map(renderBlock) : null }), likeControl && ((0, jsx_runtime_1.jsx)("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: (0, jsx_runtime_1.jsx)(LikeControl_1.LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto", context: context }) }))] }));
|
|
10
|
-
function renderBlock(block, i) {
|
|
11
|
-
const { type } = block;
|
|
12
|
-
if (!(type in blocksRegistry)) {
|
|
13
|
-
console.warn(`No block with "${type}" is registered`);
|
|
14
|
-
}
|
|
15
|
-
const BlockComponent = blocksRegistry[type] || Placeholder_1.Placeholder;
|
|
16
|
-
return blockDecorator({
|
|
17
|
-
blockClassName: style2className(block.style),
|
|
18
|
-
block,
|
|
19
|
-
render: (props) => {
|
|
20
|
-
const { version, content, blocks } = props.block;
|
|
21
|
-
return ((0, jsx_runtime_1.jsx)(BlockComponent, { className: props.blockClassName, version: version, context: context, ...content, children: blocks?.length ? blocks.map(renderBlock) : null }, `${type}-${i}`));
|
|
22
|
-
},
|
|
23
|
-
}, `block-${i}`);
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
function style2className(style) {
|
|
27
|
-
return style ? style.join(' ') : '';
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=ContentPage.js.map
|
package/dist/ContentPage.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContentPage.js","sourceRoot":"","sources":["../src/ContentPage.tsx"],"names":[],"mappings":";;;AAAA,+CAA2D;AAE3D,+CAA4C;AAC5C,+CAA4C;AAuB5C,MAAM,qBAAqB,GAAmB,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,CAClF,MAAM,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,CAAC;AAEvB,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EACC,SAAS,EACT,OAAO,EACP,cAAc,EACd,IAAI,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,YAAY,GAAG,IAAI,EAAE,EACpE,cAAc,GAAG,qBAAqB,GACvC,EAAE,EAAE;IACH,OAAO,CACL,qCAAS,SAAS,EAAC,UAAU,gBAAa,YAAY,aACpD,gCAAK,SAAS,EAAE,2BAA2B,eAAe,CAAC,SAAS,CAAC,IAAI,SAAS,IAAI,EAAE,EAAE,YACvF,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,GAC5C,EACL,WAAW,IAAI,CACd,gCAAK,SAAS,EAAC,qEAAqE,YAClF,uBAAC,yBAAW,IACV,SAAS,EAAC,mDAAmD,EAC7D,OAAO,EAAE,OAAO,GAChB,GACE,CACP,IACO,CACX,CAAC;IAEF,SAAS,WAAW,CAAC,KAAe,EAAE,CAAS;QAC7C,MAAM,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;QACvB,IAAI,CAAC,CAAC,IAAI,IAAI,cAAc,CAAC,EAAE;YAC7B,OAAO,CAAC,IAAI,CAAC,kBAAkB,IAAI,iBAAiB,CAAC,CAAC;SACvD;QAED,MAAM,cAAc,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,yBAAW,CAAC;QAC3D,OAAO,cAAc,CACnB;YACE,cAAc,EAAE,eAAe,CAAC,KAAK,CAAC,KAAK,CAAC;YAC5C,KAAK;YACL,MAAM,EAAE,CAAC,KAAK,EAAE,EAAE;gBAChB,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC,KAAK,CAAC;gBACjD,OAAO,CACL,uBAAC,cAAc,IAEb,SAAS,EAAE,KAAK,CAAC,cAAc,EAC/B,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,KACZ,OAAO,YAEV,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,IAN3C,GAAG,IAAI,IAAI,CAAC,EAAE,CAOJ,CAClB,CAAC;YACJ,CAAC;SACF,EACD,SAAS,CAAC,EAAE,CACb,CAAC;IACJ,CAAC;AACH,CAAC,CACF,CAAC;AAEF,SAAS,eAAe,CAAC,KAAkC;IACzD,OAAO,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AACtC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContentPageContext.js","sourceRoot":"","sources":["../src/ContentPageContext.tsx"],"names":[],"mappings":""}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ContentPageMeta } from './types';
|
|
2
|
-
export interface ContentPageHeadProps {
|
|
3
|
-
HeadComponent: Function;
|
|
4
|
-
data: ContentPageMeta;
|
|
5
|
-
}
|
|
6
|
-
export declare const ContentPageHead: (props: import("@redneckz/uni-jsx").PropsWithChildren<ContentPageHeadProps, any>, context?: any) => any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContentPageHead.js","sourceRoot":"","sources":["../src/ContentPageHead.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAQ3B,QAAA,eAAe,GAAG,IAAA,aAAG,EAAuB,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC7F,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC;IAC1D,OAAO,CACL,wBAAC,aAAa,eACZ,4CAAQ,KAAK,GAAS,EACtB,iCAAM,IAAI,EAAC,UAAU,EAAC,OAAO,EAAC,qCAAqC,GAAG,EACrE,WAAW,IAAI,iCAAM,IAAI,EAAC,aAAa,EAAC,OAAO,EAAE,WAAW,GAAI,EAChE,QAAQ,IAAI,iCAAM,IAAI,EAAC,UAAU,EAAC,OAAO,EAAE,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,GAAI,EACjE,MAAM,IAAI,iCAAM,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,GAAI,EAC3D,EAAE;gBACD,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CACvC,iCAAgB,IAAI,EAAE,MAAM,GAAG,EAAE,EAAE,OAAO,EAAE,KAAK,IAAtC,GAAG,CAAuC,CACtD,CAAC;gBACJ,CAAC,CAAC,IAAI,EACP,QAAQ,IACK,CACjB,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ExchangeRateTileContent } from './ExchangeRateTileContent';
|
|
2
|
-
import type { UniBlockProps } from './types';
|
|
3
|
-
export interface ExchangeRateTileProps extends ExchangeRateTileContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const ExchangeRateTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<ExchangeRateTileProps, any>, context?: any) => any;
|