@redneckz/wildless-cms-uni-blocks 0.2.73 → 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/bundle/blocks.schema.json +240 -151
- package/bundle/bundle.umd.js +95 -31
- package/bundle/bundle.umd.min.js +1 -1
- 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/components/ComparisonTable/ComparisonTableContent.js +2 -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/components/ComparisonTable/TableCarouselContainer.d.ts +4 -0
- package/dist/components/ComparisonTable/TableCarouselContainer.js +7 -0
- package/dist/components/ComparisonTable/TableCarouselContainer.js.map +1 -0
- package/dist/components/ComparisonTable/TableCell.d.ts +8 -0
- package/dist/components/ComparisonTable/TableCell.js +12 -0
- package/dist/components/ComparisonTable/TableCell.js.map +1 -0
- package/dist/components/ComparisonTable/TableRow.d.ts +10 -0
- package/dist/components/ComparisonTable/TableRow.js +10 -0
- package/dist/components/ComparisonTable/TableRow.js.map +1 -0
- package/dist/components/ComparisonTable/TableRowContainer.d.ts +4 -0
- package/dist/components/ComparisonTable/TableRowContainer.js +6 -0
- package/dist/components/ComparisonTable/TableRowContainer.js.map +1 -0
- package/dist/components/ComparisonTable/constants.d.ts +6 -0
- package/dist/components/ComparisonTable/constants.js +9 -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/Button/ArrowButton.d.ts +2 -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/Button.d.ts +3 -0
- package/dist/ui-kit/Button/Button.js +26 -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/Icon/IconProps.d.ts +32 -0
- package/dist/ui-kit/Icon/IconProps.js +26 -0
- package/dist/ui-kit/Icon/IconProps.js.map +1 -0
- package/dist/ui-kit/Img.d.ts +7 -0
- package/dist/{Img.js → ui-kit/Img.js} +0 -0
- package/dist/ui-kit/Img.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/SVG.d.ts +2 -0
- package/dist/ui-kit/SVG.js +2 -2
- package/dist/ui-kit/SVG.js.map +1 -1
- 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/components/ComparisonTable/ComparisonTableContent.js +2 -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/components/ComparisonTable/TableCarouselContainer.d.ts +4 -0
- package/lib/components/ComparisonTable/TableCarouselContainer.js +5 -0
- package/lib/components/ComparisonTable/TableCarouselContainer.js.map +1 -0
- package/lib/components/ComparisonTable/TableCell.d.ts +8 -0
- package/lib/components/ComparisonTable/TableCell.js +10 -0
- package/lib/components/ComparisonTable/TableCell.js.map +1 -0
- package/lib/components/ComparisonTable/TableRow.d.ts +10 -0
- package/lib/components/ComparisonTable/TableRow.js +8 -0
- package/lib/components/ComparisonTable/TableRow.js.map +1 -0
- package/lib/components/ComparisonTable/TableRowContainer.d.ts +4 -0
- package/lib/components/ComparisonTable/TableRowContainer.js +4 -0
- package/lib/components/ComparisonTable/TableRowContainer.js.map +1 -0
- package/lib/components/ComparisonTable/constants.d.ts +6 -0
- package/lib/components/ComparisonTable/constants.js +7 -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/Button/ArrowButton.d.ts +2 -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/Button.d.ts +3 -0
- package/lib/ui-kit/Button/Button.js +24 -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/Icon/IconProps.d.ts +32 -0
- package/lib/ui-kit/Icon/IconProps.js +24 -0
- package/lib/ui-kit/Icon/IconProps.js.map +1 -0
- package/lib/ui-kit/Img.d.ts +7 -0
- package/lib/{Img.js → ui-kit/Img.js} +0 -0
- package/lib/ui-kit/Img.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/SVG.d.ts +2 -0
- package/lib/ui-kit/SVG.js +2 -2
- package/lib/ui-kit/SVG.js.map +1 -1
- 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/common.css +36 -0
- package/src/components/BaseTile/BaseTile.tsx +98 -0
- package/src/components/BaseTile/BaseTileContent.ts +14 -0
- package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +34 -0
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +42 -0
- package/src/components/BenefitsBlock/BenefitsBlockContent.ts +12 -0
- package/src/components/BlockContent.ts +32 -0
- package/src/components/Blocks.ts +35 -0
- package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +265 -0
- package/src/components/ComparisonTable/ComparisonTable.tsx +126 -0
- package/src/components/ComparisonTable/ComparisonTableContent.ts +43 -0
- package/src/components/ComparisonTable/HeaderCell.tsx +50 -0
- package/src/components/ComparisonTable/TableCarouselContainer.tsx +19 -0
- package/src/components/ComparisonTable/TableCell.tsx +43 -0
- package/src/components/ComparisonTable/TableRow.tsx +44 -0
- package/src/components/ComparisonTable/TableRowContainer.tsx +7 -0
- package/src/components/ComparisonTable/constants.ts +6 -0
- package/src/components/ContentPage/ContentPage.fixture.tsx +58 -0
- package/src/components/ContentPage/ContentPage.page.json +1469 -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/icons/AppleIcon.svg +1 -13
- package/src/icons/GlassIcon.svg +1 -0
- package/src/icons/PlayMarketIcon.svg +1 -6
- 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/Icon/IconProps.ts +34 -0
- package/src/ui-kit/Img.tsx +22 -0
- package/src/ui-kit/Logo/Logo.fixture.tsx +5 -0
- package/src/ui-kit/Logo/Logo.tsx +35 -0
- package/src/ui-kit/SVG.tsx +11 -2
- 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 -35
- 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 -15
- package/dist/BlockContent.js.map +0 -1
- package/dist/Blocks.d.ts +0 -17
- package/dist/Blocks.js +0 -35
- package/dist/Blocks.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 -34
- 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 -21
- 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 -48
- 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/Img.d.ts +0 -7
- package/dist/Img.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.d.ts +0 -6
- package/dist/ui-kit/ArrowButton.js +0 -8
- package/dist/ui-kit/ArrowButton.js.map +0 -1
- package/dist/ui-kit/BlockItem.js.map +0 -1
- package/dist/ui-kit/Button.d.ts +0 -2
- package/dist/ui-kit/Button.js +0 -20
- package/dist/ui-kit/Button.js.map +0 -1
- package/dist/ui-kit/ButtonProps.d.ts +0 -9
- 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/IconButton.d.ts +0 -2
- package/dist/ui-kit/IconButton.js +0 -10
- package/dist/ui-kit/IconButton.js.map +0 -1
- package/dist/ui-kit/IconButtonProps.d.ts +0 -6
- package/dist/ui-kit/IconButtonProps.js +0 -2
- package/dist/ui-kit/IconButtonProps.js.map +0 -1
- package/dist/ui-kit/IconProps.d.ts +0 -10
- package/dist/ui-kit/IconProps.js +0 -2
- 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 -33
- 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 -15
- package/lib/BlockContent.js.map +0 -1
- package/lib/Blocks.d.ts +0 -17
- package/lib/Blocks.js +0 -33
- package/lib/Blocks.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 -32
- 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 -19
- 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 -46
- 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/Img.d.ts +0 -7
- package/lib/Img.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.d.ts +0 -6
- package/lib/ui-kit/ArrowButton.js +0 -6
- package/lib/ui-kit/ArrowButton.js.map +0 -1
- package/lib/ui-kit/BlockItem.js.map +0 -1
- package/lib/ui-kit/Button.d.ts +0 -2
- package/lib/ui-kit/Button.js +0 -18
- package/lib/ui-kit/Button.js.map +0 -1
- package/lib/ui-kit/ButtonProps.d.ts +0 -9
- 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/IconButton.d.ts +0 -2
- package/lib/ui-kit/IconButton.js +0 -8
- package/lib/ui-kit/IconButton.js.map +0 -1
- package/lib/ui-kit/IconButtonProps.d.ts +0 -6
- package/lib/ui-kit/IconButtonProps.js +0 -2
- package/lib/ui-kit/IconButtonProps.js.map +0 -1
- package/lib/ui-kit/IconProps.d.ts +0 -10
- package/lib/ui-kit/IconProps.js +0 -2
- 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 -86
- 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 -30
- package/src/Blocks.ts +0 -33
- package/src/ContentPage.fixture.tsx +0 -58
- package/src/ContentPage.page.json +0 -1082
- package/src/ContentPage.tsx +0 -88
- package/src/ContentPageHead.tsx +0 -26
- package/src/ExchangeRateTile.fixture.tsx +0 -11
- package/src/ExchangeRateTile.tsx +0 -79
- package/src/Footer/Contacts.tsx +0 -72
- 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 -48
- 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 -140
- 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/Img.tsx +0 -22
- 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 -63
- 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 -33
- package/src/ui-kit/BlockItem.fixture.tsx +0 -5
- package/src/ui-kit/Button.fixture.tsx +0 -135
- package/src/ui-kit/Button.tsx +0 -66
- package/src/ui-kit/ButtonProps.ts +0 -10
- package/src/ui-kit/HeaderItem.fixture.tsx +0 -8
- package/src/ui-kit/HeaderItem.tsx +0 -25
- package/src/ui-kit/Icon.tsx +0 -15
- package/src/ui-kit/IconButton.tsx +0 -22
- package/src/ui-kit/IconButtonProps.ts +0 -7
- package/src/ui-kit/IconProps.ts +0 -31
- 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,116 @@
|
|
|
1
|
+
import { context } from '../../setup-fixture';
|
|
2
|
+
import { TextBlock } from './TextBlock';
|
|
3
|
+
import type { Picture } from '../../model/Picture';
|
|
4
|
+
|
|
5
|
+
const image: Picture = {
|
|
6
|
+
src: 'bank-card.png',
|
|
7
|
+
format: 'webp',
|
|
8
|
+
size: {
|
|
9
|
+
width: 48,
|
|
10
|
+
height: 48,
|
|
11
|
+
},
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export default (
|
|
15
|
+
<div className="font-sans overflow-hidden">
|
|
16
|
+
<div>
|
|
17
|
+
<p>Private clients</p>
|
|
18
|
+
<div className="flex flex-col gap-6" data-theme="pc">
|
|
19
|
+
<TextBlock
|
|
20
|
+
context={context}
|
|
21
|
+
title="Все карты Россельхозбанка работают"
|
|
22
|
+
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
23
|
+
blockVersion="primary"
|
|
24
|
+
iconVersion="small"
|
|
25
|
+
/>
|
|
26
|
+
<TextBlock
|
|
27
|
+
context={context}
|
|
28
|
+
title="Все карты Россельхозбанка работают"
|
|
29
|
+
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
30
|
+
blockVersion="primary"
|
|
31
|
+
iconVersion="big"
|
|
32
|
+
image={image}
|
|
33
|
+
/>
|
|
34
|
+
<TextBlock
|
|
35
|
+
context={context}
|
|
36
|
+
title="Все карты Россельхозбанка работают"
|
|
37
|
+
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
38
|
+
blockVersion="primary"
|
|
39
|
+
iconVersion="none"
|
|
40
|
+
/>
|
|
41
|
+
<TextBlock
|
|
42
|
+
context={context}
|
|
43
|
+
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
44
|
+
blockVersion="primary"
|
|
45
|
+
iconVersion="small"
|
|
46
|
+
/>
|
|
47
|
+
<TextBlock
|
|
48
|
+
context={context}
|
|
49
|
+
title="Все карты Россельхозбанка работают"
|
|
50
|
+
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
51
|
+
blockVersion="secondary"
|
|
52
|
+
iconVersion="small"
|
|
53
|
+
/>
|
|
54
|
+
<TextBlock
|
|
55
|
+
context={context}
|
|
56
|
+
title="Все карты Россельхозбанка работают"
|
|
57
|
+
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
58
|
+
blockVersion="secondary-light"
|
|
59
|
+
iconVersion="small"
|
|
60
|
+
/>
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
<div>
|
|
64
|
+
<p>Business clients</p>
|
|
65
|
+
<div className="flex flex-col gap-6" data-theme="bc">
|
|
66
|
+
<TextBlock
|
|
67
|
+
context={context}
|
|
68
|
+
title="Все карты Россельхозбанка работают"
|
|
69
|
+
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
70
|
+
blockVersion="primary"
|
|
71
|
+
iconVersion="small"
|
|
72
|
+
/>
|
|
73
|
+
<TextBlock
|
|
74
|
+
context={context}
|
|
75
|
+
title="Все карты Россельхозбанка работают"
|
|
76
|
+
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
77
|
+
blockVersion="secondary"
|
|
78
|
+
iconVersion="small"
|
|
79
|
+
/>
|
|
80
|
+
<TextBlock
|
|
81
|
+
context={context}
|
|
82
|
+
title="Все карты Россельхозбанка работают"
|
|
83
|
+
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
84
|
+
blockVersion="secondary-light"
|
|
85
|
+
iconVersion="small"
|
|
86
|
+
/>
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
<div>
|
|
90
|
+
<p>Ecosystem own</p>
|
|
91
|
+
<div className="flex flex-col gap-6" data-theme="eo">
|
|
92
|
+
<TextBlock
|
|
93
|
+
context={context}
|
|
94
|
+
title="Все карты Россельхозбанка работают"
|
|
95
|
+
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
96
|
+
blockVersion="primary"
|
|
97
|
+
iconVersion="small"
|
|
98
|
+
/>
|
|
99
|
+
<TextBlock
|
|
100
|
+
context={context}
|
|
101
|
+
title="Все карты Россельхозбанка работают"
|
|
102
|
+
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
103
|
+
blockVersion="secondary"
|
|
104
|
+
iconVersion="small"
|
|
105
|
+
/>
|
|
106
|
+
<TextBlock
|
|
107
|
+
context={context}
|
|
108
|
+
title="Все карты Россельхозбанка работают"
|
|
109
|
+
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
110
|
+
blockVersion="secondary-light"
|
|
111
|
+
iconVersion="small"
|
|
112
|
+
/>
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
</div>
|
|
116
|
+
);
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import type { Picture } from '../../model/Picture';
|
|
3
|
+
import type { TextBlockContent, TextBlockVersion } from './TextBlockContent';
|
|
4
|
+
import type { UniBlockProps } from '../../types';
|
|
5
|
+
import { Img } from '../../ui-kit/Img';
|
|
6
|
+
|
|
7
|
+
export interface TextBlockProps extends TextBlockContent, UniBlockProps {}
|
|
8
|
+
|
|
9
|
+
const textBlockStyleMaps: Record<
|
|
10
|
+
TextBlockVersion,
|
|
11
|
+
{ background: string; icon: string; title: string; description: string }
|
|
12
|
+
> = {
|
|
13
|
+
primary: {
|
|
14
|
+
background: 'bg-white',
|
|
15
|
+
icon: 'bg-primary-main text-white',
|
|
16
|
+
title: 'text-primary-text',
|
|
17
|
+
description: 'text-secondary-text',
|
|
18
|
+
},
|
|
19
|
+
secondary: {
|
|
20
|
+
background: 'bg-primary-main',
|
|
21
|
+
icon: 'bg-white text-primary-main',
|
|
22
|
+
title: 'text-white',
|
|
23
|
+
description: 'text-white',
|
|
24
|
+
},
|
|
25
|
+
'secondary-light': {
|
|
26
|
+
background: 'bg-primary-main/10',
|
|
27
|
+
icon: 'bg-primary-main text-white',
|
|
28
|
+
title: 'text-primary-text',
|
|
29
|
+
description: 'text-secondary-text',
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export const TextBlock = JSX<TextBlockProps>(
|
|
34
|
+
({ title, description, blockVersion = 'primary', iconVersion, image, className }) => {
|
|
35
|
+
const textBlockStyleMap = textBlockStyleMaps[blockVersion];
|
|
36
|
+
return (
|
|
37
|
+
<section
|
|
38
|
+
className={`font-sans px-9 py-4 flex ${textBlockStyleMap.background} ${className || ''}`}
|
|
39
|
+
>
|
|
40
|
+
{iconVersion && iconVersion === 'small' ? renderIcon(textBlockStyleMap.icon) : null}
|
|
41
|
+
{iconVersion && iconVersion === 'big' ? renderImage(image) : null}
|
|
42
|
+
<div className="py-0.5">
|
|
43
|
+
{title && (
|
|
44
|
+
<div className={`font-medium text-base mb-1 ${textBlockStyleMap.title}`}>{title}</div>
|
|
45
|
+
)}
|
|
46
|
+
{description && (
|
|
47
|
+
<div className={`text-sm ${textBlockStyleMap.description}`}>{description}</div>
|
|
48
|
+
)}
|
|
49
|
+
</div>
|
|
50
|
+
</section>
|
|
51
|
+
);
|
|
52
|
+
},
|
|
53
|
+
);
|
|
54
|
+
|
|
55
|
+
function renderIcon(className: string) {
|
|
56
|
+
return (
|
|
57
|
+
<div className={`pt-1.5 pr-4`}>
|
|
58
|
+
<div className={`rounded-full h-4 w-4 text-center text-xs ${className}`}>i</div>
|
|
59
|
+
</div>
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
function renderImage(image?: Picture) {
|
|
64
|
+
return image?.src ? <Img className="pt-0.5 pr-3" image={image} /> : null;
|
|
65
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Picture } from '../../model/Picture';
|
|
2
|
+
|
|
3
|
+
export type TextBlockVersion = 'primary' | 'secondary' | 'secondary-light';
|
|
4
|
+
export type TextBlockIconVersion = 'none' | 'small' | 'big';
|
|
5
|
+
|
|
6
|
+
export interface TextBlockContent {
|
|
7
|
+
title?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
blockVersion?: TextBlockVersion;
|
|
10
|
+
iconVersion?: TextBlockIconVersion;
|
|
11
|
+
image?: Picture;
|
|
12
|
+
}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { context } from '../../setup-fixture';
|
|
2
|
+
|
|
3
|
+
import { Tile } from './Tile';
|
|
4
|
+
import type { Picture } from '../../model/Picture';
|
|
5
|
+
|
|
6
|
+
const image: Picture = {
|
|
7
|
+
src: 'money-1.png',
|
|
8
|
+
format: 'webp',
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
const image2: Picture = {
|
|
12
|
+
src: 'credit-card-1.png',
|
|
13
|
+
format: 'webp',
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
const image3: Picture = {
|
|
17
|
+
src: 'column-1.png',
|
|
18
|
+
format: 'webp',
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
const image4: Picture = {
|
|
22
|
+
src: 'globe-1.png',
|
|
23
|
+
format: 'webp',
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export default {
|
|
27
|
+
credit: (
|
|
28
|
+
<div className="grid grid-cols-12">
|
|
29
|
+
<Tile
|
|
30
|
+
context={context}
|
|
31
|
+
className="col-span-8"
|
|
32
|
+
title="Кредиты"
|
|
33
|
+
items={[
|
|
34
|
+
'Кредитный лимит до 10 млн ₽',
|
|
35
|
+
'Кредиты наличными на любые цели',
|
|
36
|
+
'Получите деньги без залога и поручителей',
|
|
37
|
+
]}
|
|
38
|
+
buttons={[
|
|
39
|
+
{
|
|
40
|
+
text: 'Подробнее',
|
|
41
|
+
href: '/credit-cards',
|
|
42
|
+
version: 'secondary',
|
|
43
|
+
},
|
|
44
|
+
]}
|
|
45
|
+
image={image}
|
|
46
|
+
/>
|
|
47
|
+
</div>
|
|
48
|
+
),
|
|
49
|
+
mortgage: (
|
|
50
|
+
<div className="grid grid-cols-12">
|
|
51
|
+
<Tile
|
|
52
|
+
context={context}
|
|
53
|
+
version="secondary"
|
|
54
|
+
className="col-span-4"
|
|
55
|
+
title="Ипотека"
|
|
56
|
+
description={
|
|
57
|
+
'Широкий выбор ипотечных программ с государственной поддержкой. Специальные предложения от 12,2 %'
|
|
58
|
+
}
|
|
59
|
+
buttons={[
|
|
60
|
+
{
|
|
61
|
+
href: 'https://rshb.ru',
|
|
62
|
+
text: 'Подробнее',
|
|
63
|
+
target: '_blank',
|
|
64
|
+
version: 'secondary',
|
|
65
|
+
},
|
|
66
|
+
]}
|
|
67
|
+
/>
|
|
68
|
+
</div>
|
|
69
|
+
),
|
|
70
|
+
'credit-card': (
|
|
71
|
+
<div className="grid grid-cols-12">
|
|
72
|
+
<Tile
|
|
73
|
+
context={context}
|
|
74
|
+
className="col-span-6"
|
|
75
|
+
title="Банковские пластиковые карты"
|
|
76
|
+
items={['Счета в разных валютах', 'Бесплатное обслуживание', 'Кэшбэк до 15% от покупок']}
|
|
77
|
+
buttons={[
|
|
78
|
+
{
|
|
79
|
+
href: 'https://rshb.ru',
|
|
80
|
+
text: 'Подробнее',
|
|
81
|
+
target: '_blank',
|
|
82
|
+
version: 'secondary',
|
|
83
|
+
},
|
|
84
|
+
]}
|
|
85
|
+
image={image2}
|
|
86
|
+
/>
|
|
87
|
+
</div>
|
|
88
|
+
),
|
|
89
|
+
premium: (
|
|
90
|
+
<div className="grid grid-cols-12">
|
|
91
|
+
<Tile
|
|
92
|
+
context={context}
|
|
93
|
+
className="col-span-6"
|
|
94
|
+
title="Премиальные продукты"
|
|
95
|
+
description={
|
|
96
|
+
'Выделенные зоны обслуживания и персональный финансовый консультант. Полный спектр премиальных продуктов, подчеркивающих ваш статус'
|
|
97
|
+
}
|
|
98
|
+
buttons={[
|
|
99
|
+
{
|
|
100
|
+
href: 'https://rshb.ru',
|
|
101
|
+
text: 'Подробнее',
|
|
102
|
+
target: '_blank',
|
|
103
|
+
version: 'secondary',
|
|
104
|
+
},
|
|
105
|
+
]}
|
|
106
|
+
image={image3}
|
|
107
|
+
/>
|
|
108
|
+
</div>
|
|
109
|
+
),
|
|
110
|
+
ecosystem: (
|
|
111
|
+
<div className="grid grid-cols-12">
|
|
112
|
+
<Tile
|
|
113
|
+
context={context}
|
|
114
|
+
className="col-span-12 pr-28"
|
|
115
|
+
title="Экосистема «СВОЕ», созданная для людей"
|
|
116
|
+
items={[
|
|
117
|
+
'Качественные фермерские продукты напрямую от производителей',
|
|
118
|
+
'Самая большая база сельских туров по России',
|
|
119
|
+
'Площадки для создания комфортной жизни за городом',
|
|
120
|
+
'Подробная база вакансий для жителей сельской местности',
|
|
121
|
+
]}
|
|
122
|
+
buttons={[
|
|
123
|
+
{
|
|
124
|
+
href: 'https://rshb.ru',
|
|
125
|
+
text: 'Подробнее',
|
|
126
|
+
target: '_blank',
|
|
127
|
+
version: 'secondary',
|
|
128
|
+
},
|
|
129
|
+
]}
|
|
130
|
+
image={image4}
|
|
131
|
+
/>
|
|
132
|
+
</div>
|
|
133
|
+
),
|
|
134
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { BaseTile } from '../BaseTile/BaseTile';
|
|
3
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
4
|
+
import type { TileContent } from '../Tile/TileContent';
|
|
5
|
+
import type { UniBlockProps } from '../../types';
|
|
6
|
+
import { getColSpan } from '../../utils/getColSpan';
|
|
7
|
+
|
|
8
|
+
export interface TileProps extends TileContent, UniBlockProps {}
|
|
9
|
+
|
|
10
|
+
const tileStyleMap: Record<BlockVersion, string> = {
|
|
11
|
+
primary: 'bg-white text-primary-text',
|
|
12
|
+
secondary: 'bg-primary-main text-white',
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export const Tile = JSX<TileProps>((props) => {
|
|
16
|
+
const { children, className, version = 'primary' } = props;
|
|
17
|
+
|
|
18
|
+
return (
|
|
19
|
+
<section
|
|
20
|
+
className={`font-sans p-9 min-h-[320px] box-border ${className || ''} ${
|
|
21
|
+
tileStyleMap[version]
|
|
22
|
+
} ${getContainerPaddingRight(className)} `}
|
|
23
|
+
>
|
|
24
|
+
<BaseTile {...props}>{children}</BaseTile>
|
|
25
|
+
</section>
|
|
26
|
+
);
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
function getContainerPaddingRight(className: string = '') {
|
|
30
|
+
const colSpan = getColSpan(className);
|
|
31
|
+
if (colSpan <= 6) {
|
|
32
|
+
return 'pr-9';
|
|
33
|
+
} else if (colSpan <= 8) {
|
|
34
|
+
return 'pr-[4.75rem]';
|
|
35
|
+
} else {
|
|
36
|
+
return 'pr-[9.4rem]';
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import glob from 'glob';
|
|
2
2
|
import util from 'util';
|
|
3
|
-
import { toMobilePage } from '../toMobilePage';
|
|
3
|
+
import { toMobilePage } from '../components/ContentPage/toMobilePage';
|
|
4
4
|
import type { ContentPageDef } from '../types';
|
|
5
5
|
import type { TransformationOptions } from './TransformationOptions';
|
|
6
6
|
import { transformContentPage } from './transformContentPage';
|
package/src/cosmos.decorator.tsx
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
export default ({ children }) => {
|
|
2
2
|
document.querySelector(':root')?.setAttribute('lang', 'ru'); // for lighthouse accessibility metrics
|
|
3
|
+
if (!document.querySelector('meta[name=description]')) {
|
|
4
|
+
const meta = document.createElement('meta');
|
|
5
|
+
meta.name = 'description';
|
|
6
|
+
meta.content = 'description';
|
|
7
|
+
document.getElementsByTagName('head')[0].appendChild(meta);
|
|
8
|
+
}
|
|
3
9
|
|
|
4
10
|
return (
|
|
5
11
|
<div
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { HandlerDecorator, Router } from '../components/ContentPage/ContentPageContext';
|
|
2
|
+
import type { LinkContent } from '../model/LinkContent';
|
|
3
|
+
import { adjustHref, isURL } from '../utils/url';
|
|
4
|
+
|
|
5
|
+
const defaultHandlerDecorator: HandlerDecorator = (handler, targetContent) => handler;
|
|
6
|
+
|
|
7
|
+
export function useLink(
|
|
8
|
+
{
|
|
9
|
+
router,
|
|
10
|
+
handlerDecorator = defaultHandlerDecorator,
|
|
11
|
+
}: { router: Router; handlerDecorator?: HandlerDecorator },
|
|
12
|
+
link: Partial<LinkContent & { className: string }>,
|
|
13
|
+
) {
|
|
14
|
+
const href = adjustHref(link.href, router);
|
|
15
|
+
return {
|
|
16
|
+
...link,
|
|
17
|
+
href,
|
|
18
|
+
ariaLabel: link.text,
|
|
19
|
+
onClick: handlerDecorator((ev: MouseEvent) => {
|
|
20
|
+
const isLocalHref = href && !isURL(href);
|
|
21
|
+
const isLocalTarget = !link.target || link.target === '_self';
|
|
22
|
+
if (isLocalHref && isLocalTarget) {
|
|
23
|
+
ev.preventDefault();
|
|
24
|
+
router.push(href);
|
|
25
|
+
}
|
|
26
|
+
}, link),
|
|
27
|
+
};
|
|
28
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { AsyncDataHook } from '../components/ContentPage/ContentPageContext';
|
|
2
|
+
import type { HeaderContent } from '../components/Header/HeaderContent';
|
|
3
|
+
import { projectSettings } from '../ProjectSettings';
|
|
4
|
+
|
|
5
|
+
export function useSitemap(useAsyncData: AsyncDataHook): HeaderContent {
|
|
6
|
+
const { data } = useAsyncData(sitemapURL(), fetchSitemap);
|
|
7
|
+
return data || {};
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
async function fetchSitemap(): Promise<HeaderContent> {
|
|
11
|
+
const response = await fetch(sitemapURL());
|
|
12
|
+
return await response.json();
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function sitemapURL() {
|
|
16
|
+
return `/wcms-resources/${projectSettings.SITEMAP || 'sitemap'}.json`;
|
|
17
|
+
}
|
package/src/icons/AppleIcon.svg
CHANGED
|
@@ -1,13 +1 @@
|
|
|
1
|
-
<svg
|
|
2
|
-
<g clip-path="url(#a)">
|
|
3
|
-
<path
|
|
4
|
-
d="M19.406 12.761c-.023-3.028 2.793-4.511 2.93-4.572-1.603-2.073-4.075-2.357-4.968-2.377-2.083-.204-4.098 1.117-5.174 1.117-1.076 0-2.725-1.097-4.488-1.056-2.266.04-4.395 1.198-5.563 3.007-2.404 3.698-.618 9.124 1.694 12.09 1.145 1.464 2.496 3.09 4.259 3.028 1.717-.06 2.358-.975 4.441-.975 2.06 0 2.656.975 4.465.935 1.854-.02 3.022-1.463 4.12-2.947 1.329-1.666 1.855-3.332 1.878-3.413 0 0-3.549-1.2-3.594-4.837Zm-3.389-8.92c.916-1.037 1.557-2.419 1.374-3.841-1.35.061-3.022.833-3.984 1.829-.847.894-1.625 2.337-1.42 3.698 1.512.102 3.069-.67 4.03-1.686Z"
|
|
5
|
-
fill="#42AB44"
|
|
6
|
-
/>
|
|
7
|
-
</g>
|
|
8
|
-
<defs>
|
|
9
|
-
<clipPath id="a">
|
|
10
|
-
<rect width="24" height="24" rx="6" fill="#fff" />
|
|
11
|
-
</clipPath>
|
|
12
|
-
</defs>
|
|
13
|
-
</svg>
|
|
1
|
+
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 24"><path d="M18.406 12.761c-.023-3.028 2.793-4.511 2.93-4.572-1.603-2.073-4.075-2.357-4.968-2.377-2.083-.204-4.098 1.117-5.174 1.117-1.076 0-2.725-1.097-4.488-1.056-2.266.04-4.395 1.198-5.563 3.007-2.404 3.698-.618 9.124 1.694 12.09 1.145 1.464 2.496 3.09 4.259 3.028 1.717-.06 2.358-.975 4.441-.975 2.06 0 2.656.975 4.465.935 1.854-.02 3.022-1.463 4.12-2.947 1.329-1.666 1.855-3.332 1.878-3.413 0 0-3.549-1.2-3.594-4.837Zm-3.389-8.92c.916-1.037 1.557-2.419 1.374-3.841-1.35.061-3.022.833-3.984 1.829-.847.894-1.625 2.337-1.42 3.698 1.512.102 3.069-.67 4.03-1.686Z" fill="#42AB44"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 63 63"><g clip-path="url(#a)"><path d="M63 60.987c0-.13-.172-.259-.505-.382-3.072-.812-12.836-1.398-24.405-1.398-14.04 0-25.427.873-25.427 1.944 0 .13.172.26.505.382 3.083.812 12.837 1.399 24.406 1.399 14.04 0 25.426-.873 25.426-1.945Z" fill="#050304"/><path d="M63 60.987c0-.13-.172-.259-.505-.382-3.072-.812-12.836-1.398-24.405-1.398-14.04 0-25.427.873-25.427 1.944 0 .13.172.26.505.382 3.083.812 12.837 1.399 24.406 1.399 14.04 0 25.426-.873 25.426-1.945Z" fill="url(#b)"/><path d="M63 60.987c0-.13-.172-.259-.505-.382-3.072-.812-12.836-1.398-24.405-1.398-14.04 0-25.427.873-25.427 1.944 0 .13.172.26.505.382 3.083.812 12.837 1.399 24.406 1.399 14.04 0 25.426-.873 25.426-1.945Z" fill="#050304"/><path d="M63 60.987c0-.13-.172-.259-.505-.382-3.072-.812-12.836-1.398-24.405-1.398-14.04 0-25.427.873-25.427 1.944 0 .13.172.26.505.382 3.083.812 12.837 1.399 24.406 1.399 14.04 0 25.426-.873 25.426-1.945Z" fill="url(#c)"/><path d="M53.554 40.447a.31.31 0 0 0-.609 0l-.269 1.279a1.153 1.153 0 0 1-.89.89l-1.28.27a.31.31 0 0 0 0 .608l1.28.27c.447.093.796.443.89.89l.27 1.28a.31.31 0 0 0 .608 0l.269-1.28c.094-.447.443-.797.89-.89l1.28-.27a.31.31 0 0 0 0-.608l-1.28-.27a1.153 1.153 0 0 1-.89-.89l-.27-1.279Z" fill="#FFCA42"/><path d="M48.658 53.298H15.076a.827.827 0 0 1-.824-.824v-2.213c0-.454.37-.825.824-.825h33.582c.453 0 .824.371.824.825v2.213c0 .453-.371.824-.824.824Z" fill="#FA552D"/><path d="M48.658 53.298H15.076a.827.827 0 0 1-.824-.824v-2.213c0-.454.37-.825.824-.825h33.582c.453 0 .824.371.824.825v2.213c0 .453-.371.824-.824.824Z" fill="#42AB44"/><path d="M26.19 52.168h-.597v.552h.597v-.552Zm1.196-.42h-.598v.972h.598v-.972Zm1.195-.643h-.598v1.615h.598v-1.615Zm1.195.26h-.598v1.355h.598v-1.356Zm1.191-1.357h-.598v2.436h.598v-2.436Zm1.195 0h-.597v2.712h.597v-2.712Zm1.196 0h-.598v2.712h.598v-2.712Zm1.195 0h-.598v2.712h.598v-2.712Zm1.19 0h-.597v2.712h.598v-2.712Zm1.196 0h-.597v2.712h.597v-2.712Zm1.195 0h-.597v2.712h.597v-2.712Zm1.196 0h-.598v1.904h.598v-1.904Zm1.19 0h-.597v2.712h.598v-2.712Zm1.196 0h-.598v2.712h.598v-2.712Zm1.195 0h-.598v2.712h.598v-2.712Zm1.195 0h-.597v2.712h.597v-2.712Zm1.191 0H44.7v2.712h.597v-2.712Zm1.196 0h-.598v2.712h.597v-2.712Zm1.195 0h-.598v2.712h.598v-2.712Zm1.195 0h-.598v2.712h.598v-2.712Z" fill="#5F1A58"/><path d="M26.19 52.168h-.597v.552h.597v-.552Zm1.196-.42h-.598v.972h.598v-.972Zm1.195-.643h-.598v1.615h.598v-1.615Zm1.195.26h-.598v1.355h.598v-1.356Zm1.191-1.357h-.598v2.436h.598v-2.436Zm1.195 0h-.597v2.712h.597v-2.712Zm1.196 0h-.598v2.712h.598v-2.712Zm1.195 0h-.598v2.712h.598v-2.712Zm1.19 0h-.597v2.712h.598v-2.712Zm1.196 0h-.597v2.712h.597v-2.712Zm1.195 0h-.597v2.712h.597v-2.712Zm1.196 0h-.598v1.904h.598v-1.904Zm1.19 0h-.597v2.712h.598v-2.712Zm1.196 0h-.598v2.712h.598v-2.712Zm1.195 0h-.598v2.712h.598v-2.712Zm1.195 0h-.597v2.712h.597v-2.712Zm1.191 0H44.7v2.712h.597v-2.712Zm1.196 0h-.598v2.712h.597v-2.712Zm1.195 0h-.598v2.712h.598v-2.712Zm1.195 0h-.598v2.712h.598v-2.712Z" fill="#050304"/><path d="M26.19 52.168h-.597v.552h.597v-.552Zm1.196-.42h-.598v.972h.598v-.972Zm1.195-.643h-.598v1.615h.598v-1.615Zm1.195.26h-.598v1.355h.598v-1.356Zm1.191-1.357h-.598v2.436h.598v-2.436Zm1.195 0h-.597v2.712h.597v-2.712Zm1.196 0h-.598v2.712h.598v-2.712Zm1.195 0h-.598v2.712h.598v-2.712Zm1.19 0h-.597v2.712h.598v-2.712Zm1.196 0h-.597v2.712h.597v-2.712Zm1.195 0h-.597v2.712h.597v-2.712Zm1.196 0h-.598v1.904h.598v-1.904Zm1.19 0h-.597v2.712h.598v-2.712Zm1.196 0h-.598v2.712h.598v-2.712Zm1.195 0h-.598v2.712h.598v-2.712Zm1.195 0h-.597v2.712h.597v-2.712Zm1.191 0H44.7v2.712h.597v-2.712Zm1.196 0h-.598v2.712h.597v-2.712Zm1.195 0h-.598v2.712h.598v-2.712Zm1.195 0h-.598v2.712h.598v-2.712Z" fill="url(#d)"/><path d="M48.657 53.298H40.11v-3.862h8.544c.453 0 .824.371.824.824v2.214a.82.82 0 0 1-.82.824Z" fill="#050304"/><path d="M48.657 53.298H40.11v-3.862h8.544c.453 0 .824.371.824.824v2.214a.82.82 0 0 1-.82.824Z" fill="url(#e)"/><path d="M48.657 53.298H40.11v-3.862h8.544c.453 0 .824.371.824.824v2.214a.82.82 0 0 1-.82.824Z" fill="#050304"/><path d="M48.657 53.298H40.11v-3.862h8.544c.453 0 .824.371.824.824v2.214a.82.82 0 0 1-.82.824Z" fill="url(#f)"/><path d="M54.117 57.162H20.54a.827.827 0 0 1-.824-.824v-2.213c0-.454.37-.825.824-.825h33.582c.453 0 .824.371.824.825v2.213a.83.83 0 0 1-.829.824Z" fill="#42AB44"/><path d="M54.117 57.162H40.43l-20.714-2.176v-.861c0-.454.37-.825.824-.825h33.582c.453 0 .824.371.824.825v2.213a.83.83 0 0 1-.829.824Z" fill="#050304"/><path d="M54.117 57.162H40.43l-20.714-2.176v-.861c0-.454.37-.825.824-.825h33.582c.453 0 .824.371.824.825v2.213a.83.83 0 0 1-.829.824Z" fill="url(#g)"/><path d="M51.198 61.021H17.616a.827.827 0 0 1-.824-.824v-2.214c0-.453.37-.824.824-.824h33.582c.453 0 .824.371.824.825v2.213a.824.824 0 0 1-.824.824Z" fill="#050304"/><path d="M51.198 61.021H17.616a.827.827 0 0 1-.824-.824v-2.214c0-.453.37-.824.824-.824h33.582c.453 0 .824.371.824.825v2.213a.824.824 0 0 1-.824.824Z" fill="url(#h)"/><path d="M51.198 61.021H17.616a.827.827 0 0 1-.824-.824v-2.214c0-.453.37-.824.824-.824h33.582c.453 0 .824.371.824.825v2.213a.824.824 0 0 1-.824.824Z" fill="#050304"/><path d="M51.198 61.021H17.616a.827.827 0 0 1-.824-.824v-2.214c0-.453.37-.824.824-.824h33.582c.453 0 .824.371.824.825v2.213a.824.824 0 0 1-.824.824Z" fill="url(#i)"/><path d="M51.198 61.021h-8.544v-3.862h8.544c.453 0 .824.371.824.825v2.213c0 .457-.37.824-.824.824Z" fill="#050304"/><path d="M51.198 61.021h-8.544v-3.862h8.544c.453 0 .824.371.824.825v2.213c0 .457-.37.824-.824.824Z" fill="url(#j)"/><path d="M51.198 61.021h-8.544v-3.862h8.544c.453 0 .824.371.824.825v2.213c0 .457-.37.824-.824.824Z" fill="#050304"/><path d="M51.198 61.021h-8.544v-3.862h8.544c.453 0 .824.371.824.825v2.213c0 .457-.37.824-.824.824Z" fill="url(#k)"/><path d="M24.704 57.763h-.598v2.658h.598v-2.658Zm1.195.334h-.597v1.99h.597v-1.99Zm1.191.614h-.597v.762h.597v-.762Zm1.196.56h-.598v1.15h.598v-1.15Zm1.195-1.137h-.598v.956h.598v-.956Zm2.386.383h-.598v1.15h.598v-1.15Z" fill="#5F1A58"/><path d="M24.704 57.763h-.598v2.658h.598v-2.658Zm1.195.334h-.597v1.99h.597v-1.99Zm1.191.614h-.597v.762h.597v-.762Zm1.196.56h-.598v1.15h.598v-1.15Zm1.195-1.137h-.598v.956h.598v-.956Zm2.386.383h-.598v1.15h.598v-1.15Z" fill="#050304"/><path d="M24.704 57.763h-.598v2.658h.598v-2.658Zm1.195.334h-.597v1.99h.597v-1.99Zm1.191.614h-.597v.762h.597v-.762Zm1.196.56h-.598v1.15h.598v-1.15Zm1.195-1.137h-.598v.956h.598v-.956Zm2.386.383h-.598v1.15h.598v-1.15Z" fill="url(#l)"/><path d="M32.922 49.437c9.144 0 16.556-7.412 16.556-16.556 0-9.143-7.413-16.556-16.556-16.556s-16.556 7.413-16.556 16.556c0 9.144 7.413 16.556 16.556 16.556Z" fill="#050304"/><path d="M32.922 49.437c9.144 0 16.556-7.412 16.556-16.556 0-9.143-7.413-16.556-16.556-16.556s-16.556 7.413-16.556 16.556c0 9.144 7.413 16.556 16.556 16.556Z" fill="url(#m)"/><mask id="n" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="14" y="16" width="34" height="34"><path d="M30.804 49.436c9.143 0 16.556-7.412 16.556-16.556 0-9.143-7.413-16.555-16.556-16.555-9.144 0-16.556 7.412-16.556 16.555 0 9.144 7.412 16.556 16.556 16.556Z" fill="#91BD65"/></mask><g mask="url(#n)"><path d="M30.804 49.436c9.143 0 16.556-7.412 16.556-16.556 0-9.143-7.413-16.555-16.556-16.555-9.144 0-16.556 7.412-16.556 16.555 0 9.144 7.412 16.556 16.556 16.556Z" fill="url(#o)"/><path d="m24.416 27.667-7.386-8.172-2.827 1.636 6.256 6.714 3.957-.178Z" fill="#FFCA42"/><path d="m24.416 27.667-7.386-8.172-2.827 1.636 6.256 6.714 3.957-.178Z" fill="url(#p)"/><mask id="q" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="17" y="19" width="28" height="28"><path d="M30.803 46.495c7.519 0 13.614-6.095 13.614-13.613S38.322 19.27 30.803 19.27c-7.518 0-13.613 6.095-13.613 13.613s6.095 13.613 13.613 13.613Z" fill="#91BD65"/></mask><g mask="url(#q)"><path d="M30.803 46.495c7.519 0 13.614-6.095 13.614-13.613S38.322 19.27 30.803 19.27c-7.518 0-13.613 6.095-13.613 13.613s6.095 13.613 13.613 13.613Z" fill="#FA552D"/><path d="M30.803 46.495c7.519 0 13.614-6.095 13.614-13.613S38.322 19.27 30.803 19.27c-7.518 0-13.613 6.095-13.613 13.613s6.095 13.613 13.613 13.613Z" fill="url(#r)"/><path d="M30.803 46.495c7.519 0 13.614-6.095 13.614-13.613S38.322 19.27 30.803 19.27c-7.518 0-13.613 6.095-13.613 13.613s6.095 13.613 13.613 13.613Z" fill="url(#s)"/><path d="M15.888 49.14h29.369l-2.3-11.803a3.147 3.147 0 0 0-3.087-2.543H21.274a3.147 3.147 0 0 0-3.087 2.543l-2.3 11.804Z" fill="#FFCA42"/><path d="M15.888 49.14h29.369l-2.3-11.803a3.147 3.147 0 0 0-3.087-2.543H21.274a3.147 3.147 0 0 0-3.087 2.543l-2.3 11.804Z" fill="url(#t)"/></g><path d="M27.029 27.451c2.39-1.986.944-5.06-2.477-2.72-3.825 2.622-.532 5.222 2.477 2.72Z" fill="#FFCA42"/><path d="M27.029 27.451c2.39-1.986.944-5.06-2.477-2.72-3.825 2.622-.532 5.222 2.477 2.72Z" fill="url(#u)"/><path d="M31.34 20.876c-7.517 0-13.613 6.096-13.613 13.613 0 1.204.157 2.37.45 3.483a13.57 13.57 0 0 1-.986-5.09c0-7.517 6.096-13.613 13.614-13.613 6.313 0 11.622 4.303 13.163 10.135-2.02-5-6.911-8.528-12.628-8.528Z" fill="#FA552D"/><path d="M31.34 20.876c-7.517 0-13.613 6.096-13.613 13.613 0 1.204.157 2.37.45 3.483a13.57 13.57 0 0 1-.986-5.09c0-7.517 6.096-13.613 13.614-13.613 6.313 0 11.622 4.303 13.163 10.135-2.02-5-6.911-8.528-12.628-8.528Z" fill="url(#v)"/><path d="M31.34 20.876c-7.517 0-13.613 6.096-13.613 13.613 0 1.204.157 2.37.45 3.483a13.57 13.57 0 0 1-.986-5.09c0-7.517 6.096-13.613 13.614-13.613 6.313 0 11.622 4.303 13.163 10.135-2.02-5-6.911-8.528-12.628-8.528Z" fill="#050304"/><path d="M31.34 20.876c-7.517 0-13.613 6.096-13.613 13.613 0 1.204.157 2.37.45 3.483a13.57 13.57 0 0 1-.986-5.09c0-7.517 6.096-13.613 13.614-13.613 6.313 0 11.622 4.303 13.163 10.135-2.02-5-6.911-8.528-12.628-8.528Z" fill="url(#w)"/></g><path d="M21.614 6.16a.425.425 0 0 0-.833 0l-.368 1.75a1.578 1.578 0 0 1-1.22 1.22l-1.75.368a.425.425 0 0 0 0 .832l1.75.368c.613.13 1.091.607 1.22 1.22l.368 1.75a.425.425 0 0 0 .833 0l.368-1.75a1.578 1.578 0 0 1 1.219-1.22l1.75-.368a.425.425 0 0 0 0-.832l-1.75-.368a1.578 1.578 0 0 1-1.22-1.22l-.367-1.75ZM8.279 39.569a.64.64 0 0 0-1.252 0l-.553 2.632a2.372 2.372 0 0 1-1.833 1.833l-2.632.553a.64.64 0 0 0 0 1.252l2.632.553c.92.194 1.64.913 1.833 1.833l.553 2.633a.64.64 0 0 0 1.252 0l.553-2.633c.194-.92.913-1.64 1.833-1.833l2.632-.553a.64.64 0 0 0 0-1.252l-2.632-.553A2.372 2.372 0 0 1 8.832 42.2l-.553-2.632Z" fill="#FFCA42"/></g><defs><linearGradient id="b" x1="12.663" y1="61.069" x2="63" y2="61.069" gradientUnits="userSpaceOnUse"><stop stop-color="#FA552D"/><stop offset=".104" stop-color="#FA552D" stop-opacity="0"/><stop offset=".81" stop-color="#5F1A58" stop-opacity="0"/><stop offset="1" stop-color="#5F1A58"/></linearGradient><linearGradient id="c" x1="63" y1="62.932" x2="12.717" y2="62.932" gradientUnits="userSpaceOnUse"><stop stop-color="#04D600"/><stop offset=".297" stop-color="#00D63C" stop-opacity="0"/><stop offset=".833" stop-color="#FA552D" stop-opacity="0"/><stop offset="1" stop-color="#FA552D"/></linearGradient><linearGradient id="d" x1="62.165" y1="54.392" x2="15.354" y2="51.029" gradientUnits="userSpaceOnUse"><stop stop-color="#04D600"/><stop offset=".7" stop-color="#00D63C" stop-opacity="0"/></linearGradient><linearGradient id="e" x1="46.244" y1="51.847" x2="40.039" y2="51.847" gradientUnits="userSpaceOnUse"><stop stop-color="#5F1A58"/><stop offset="1" stop-color="#5F1A58" stop-opacity="0"/></linearGradient><linearGradient id="f" x1="54.82" y1="55.679" x2="35.901" y2="55.295" gradientUnits="userSpaceOnUse"><stop stop-color="#04D600"/><stop offset=".7" stop-color="#00D63C" stop-opacity="0"/></linearGradient><linearGradient id="g" x1="75.037" y1="59.543" x2="4.274" y2="54.143" gradientUnits="userSpaceOnUse"><stop stop-color="#04D600"/><stop offset=".7" stop-color="#00D63C" stop-opacity="0"/></linearGradient><linearGradient id="h" x1="16.792" y1="59.265" x2="21.944" y2="59.265" gradientUnits="userSpaceOnUse"><stop stop-color="#FA552D"/><stop offset="1" stop-color="#FA552D" stop-opacity="0"/></linearGradient><linearGradient id="i" x1="72.113" y1="63.402" x2="1.35" y2="58.002" gradientUnits="userSpaceOnUse"><stop stop-color="#04D600"/><stop offset=".7" stop-color="#00D63C" stop-opacity="0"/></linearGradient><linearGradient id="j" x1="42.757" y1="59.059" x2="48.94" y2="59.059" gradientUnits="userSpaceOnUse"><stop stop-color="#5F1A58"/><stop offset="1" stop-color="#5F1A58" stop-opacity="0"/></linearGradient><linearGradient id="k" x1="57.365" y1="63.402" x2="38.447" y2="63.018" gradientUnits="userSpaceOnUse"><stop stop-color="#04D600"/><stop offset=".7" stop-color="#00D63C" stop-opacity="0"/></linearGradient><linearGradient id="l" x1="36.293" y1="62.06" x2="20.623" y2="61.677" gradientUnits="userSpaceOnUse"><stop stop-color="#04D600"/><stop offset=".7" stop-color="#00D63C" stop-opacity="0"/></linearGradient><linearGradient id="m" x1="55.687" y1="41.093" x2="29.024" y2="16.325" gradientUnits="userSpaceOnUse"><stop stop-color="#04D600"/><stop offset=".297" stop-color="#00D63C" stop-opacity="0"/><stop offset=".833" stop-color="#FA552D" stop-opacity="0"/><stop offset="1" stop-color="#FA552D"/></linearGradient><linearGradient id="o" x1="23.849" y1="45.931" x2="26.662" y2="14.768" gradientUnits="userSpaceOnUse"><stop stop-color="#7DC15D"/><stop offset="1" stop-color="#FEE54F"/></linearGradient><linearGradient id="p" x1="18.119" y1="22.174" x2="19.561" y2="25.265" gradientUnits="userSpaceOnUse"><stop stop-color="#FEFFCF"/><stop offset="1" stop-color="#FEFFCF" stop-opacity="0"/></linearGradient><linearGradient id="r" x1="28.215" y1="46.697" x2="28.215" y2="21.144" gradientUnits="userSpaceOnUse"><stop stop-color="#FFCA42"/><stop offset="1" stop-color="#FFCA42" stop-opacity="0"/></linearGradient><linearGradient id="s" x1="24.794" y1="25.705" x2="30.803" y2="46.495" gradientUnits="userSpaceOnUse"><stop stop-color="#7DC15D"/><stop offset="1" stop-color="#FEE54F"/></linearGradient><linearGradient id="t" x1="30.572" y1="34.794" x2="30.572" y2="40.927" gradientUnits="userSpaceOnUse"><stop stop-color="#FEFFCF"/><stop offset="1" stop-color="#FEFFCF" stop-opacity="0"/></linearGradient><linearGradient id="u" x1="24.301" y1="28.354" x2="24.919" y2="25.469" gradientUnits="userSpaceOnUse"><stop stop-color="#FEFFCF"/><stop offset="1" stop-color="#FEFFCF" stop-opacity="0"/></linearGradient><linearGradient id="v" x1="24.301" y1="20.32" x2="26.98" y2="30.005" gradientUnits="userSpaceOnUse"><stop stop-color="#5F1A58"/><stop offset="1" stop-color="#5F1A58" stop-opacity="0"/></linearGradient><linearGradient id="w" x1="59.239" y1="49.504" x2="5.149" y2="48.856" gradientUnits="userSpaceOnUse"><stop stop-color="#04D600"/><stop offset=".7" stop-color="#00D63C" stop-opacity="0"/></linearGradient><clipPath id="a"><path fill="#fff" d="M0 0h63v63H0z"/></clipPath></defs></svg>
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
<svg
|
|
2
|
-
<path
|
|
3
|
-
d="M1 22.427V2.576C1 1.883 1.447 1.284 2.094 1L14.85 12.498 2.089 24a1.89 1.89 0 0 1-.795-.646A1.625 1.625 0 0 1 1 22.427Zm17.899-6.282-13.95 7.259 11.002-9.915 2.948 2.656Zm4.335-5.035c.237.162.428.37.561.61.133.239.203.502.205.77.002.267-.064.53-.193.771s-.317.452-.551.617l-2.964 1.542-3.241-2.922 3.24-2.92 2.944 1.532ZM4.959 1.598l13.938 7.253-2.945 2.654L4.958 1.598Z"
|
|
4
|
-
fill="#42AB44"
|
|
5
|
-
/>
|
|
6
|
-
</svg>
|
|
1
|
+
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 23 23"><path d="M0 21.427V1.576C0 .883.447.284 1.094 0L13.85 11.498 1.089 23a1.89 1.89 0 0 1-.795-.646A1.625 1.625 0 0 1 0 21.427Zm17.899-6.282-13.95 7.259 11.002-9.915 2.948 2.656Zm4.335-5.035c.237.162.428.37.561.61.133.239.203.502.205.77.002.267-.064.53-.193.771s-.317.452-.551.617l-2.964 1.542-3.241-2.922 3.24-2.92 2.944 1.532ZM3.959.598l13.938 7.253-2.945 2.654L3.958.598Z" fill="#42AB44"/></svg>
|
package/src/index.ts
CHANGED
|
@@ -18,16 +18,16 @@ export type {
|
|
|
18
18
|
LikeService,
|
|
19
19
|
HandlerDecorator,
|
|
20
20
|
Search,
|
|
21
|
-
} from './ContentPageContext';
|
|
21
|
+
} from './components/ContentPage/ContentPageContext';
|
|
22
22
|
|
|
23
|
-
export { ContentPageHead } from './ContentPageHead';
|
|
24
|
-
export type { BlockDecorator } from './ContentPage';
|
|
25
|
-
export { ContentPage } from './ContentPage';
|
|
26
|
-
export { toMobilePage } from './toMobilePage';
|
|
23
|
+
export { ContentPageHead } from './components/ContentPage/ContentPageHead';
|
|
24
|
+
export type { BlockDecorator } from './components/ContentPage/ContentPage';
|
|
25
|
+
export { ContentPage } from './components/ContentPage/ContentPage';
|
|
26
|
+
export { toMobilePage } from './components/ContentPage/toMobilePage';
|
|
27
27
|
|
|
28
|
-
export { Blocks } from './Blocks';
|
|
29
|
-
export type { BlockContent } from './BlockContent';
|
|
30
|
-
export { MobileBlocks } from './MobileBlocks';
|
|
28
|
+
export { Blocks } from './components/Blocks';
|
|
29
|
+
export type { BlockContent } from './components/BlockContent';
|
|
30
|
+
export { MobileBlocks } from './components/MobileBlocks';
|
|
31
31
|
|
|
32
32
|
export * as url from './utils/url';
|
|
33
33
|
export { joinList } from './utils/joinList';
|
package/src/setup-fixture.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { setup } from '@redneckz/uni-jsx';
|
|
|
3
3
|
import runtime from 'react/jsx-runtime';
|
|
4
4
|
import { useEffect, useState } from 'react';
|
|
5
5
|
import { DaDataAPI } from './api/DaDataAPI';
|
|
6
|
-
import type { ContentPageContext } from './ContentPageContext';
|
|
6
|
+
import type { ContentPageContext } from './components/ContentPage/ContentPageContext';
|
|
7
7
|
|
|
8
8
|
const { jsx, jsxs } = runtime as any;
|
|
9
9
|
setup(jsx, jsxs);
|
package/src/types.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BlockContent } from './BlockContent';
|
|
2
|
-
import type { ContentPageContext } from './ContentPageContext';
|
|
1
|
+
import type { BlockContent } from './components/BlockContent';
|
|
2
|
+
import type { ContentPageContext } from './components/ContentPage/ContentPageContext';
|
|
3
3
|
import type { BlockVersion } from './model/BlockVersion';
|
|
4
4
|
|
|
5
5
|
export type ColorPalette = 'pc' | 'bc' | 'eo';
|
|
File without changes
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { Button } from './Button';
|
|
3
|
+
import { ButtonProps } from './ButtonProps';
|
|
4
|
+
import { SVG } from '../SVG';
|
|
5
|
+
|
|
6
|
+
const ARROW_PATHS = [
|
|
7
|
+
{
|
|
8
|
+
d: 'm9 12 4-4-4-4',
|
|
9
|
+
stroke: 'currentColor',
|
|
10
|
+
strokeWidth: '2',
|
|
11
|
+
strokeLinecap: 'round',
|
|
12
|
+
fill: 'none',
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
d: 'M2 9a1 1 0 0 1 0-2v2Zm6-2a1 1 0 0 1 0 2V7ZM2 7h6v2H2V7Z',
|
|
16
|
+
},
|
|
17
|
+
];
|
|
18
|
+
|
|
19
|
+
export const ArrowButton = JSX<ButtonProps>(({ className, disabled, ...rest }) => (
|
|
20
|
+
<Button
|
|
21
|
+
rounded
|
|
22
|
+
className={`shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${
|
|
23
|
+
disabled
|
|
24
|
+
? 'bg-secondary-light text-secondary-text'
|
|
25
|
+
: 'bg-white text-primary-text hover:text-primary-main'
|
|
26
|
+
} ${className || ''}`}
|
|
27
|
+
disabled={disabled}
|
|
28
|
+
{...rest}
|
|
29
|
+
>
|
|
30
|
+
<SVG paths={ARROW_PATHS} viewBox="0 0 16 16" fill="none" width="16" height="16" />
|
|
31
|
+
</Button>
|
|
32
|
+
));
|