@redneckz/wildless-cms-uni-blocks 0.2.75 → 0.2.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/blocks.schema.json +1 -81
- package/dist/components/BaseTile/BaseTile.d.ts +5 -0
- package/dist/components/BaseTile/BaseTile.js +40 -0
- package/dist/components/BaseTile/BaseTile.js.map +1 -0
- package/dist/components/BaseTile/BaseTileContent.d.ts +13 -0
- package/dist/{BaseTileContent.js → components/BaseTile/BaseTileContent.js} +0 -0
- package/dist/components/BaseTile/BaseTileContent.js.map +1 -0
- package/dist/components/BenefitsBlock/BenefitsBlock.d.ts +5 -0
- package/dist/components/BenefitsBlock/BenefitsBlock.js +12 -0
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -0
- package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +10 -0
- package/dist/{BenefitsBlockContent.js → components/BenefitsBlock/BenefitsBlockContent.js} +0 -0
- package/dist/components/BenefitsBlock/BenefitsBlockContent.js.map +1 -0
- package/dist/components/BlockContent.d.ts +16 -0
- package/dist/{BlockContent.js → components/BlockContent.js} +0 -0
- package/dist/components/BlockContent.js.map +1 -0
- package/dist/components/Blocks.d.ts +18 -0
- package/dist/components/Blocks.js +37 -0
- package/dist/components/Blocks.js.map +1 -0
- package/dist/components/ComparisonTable/ComparisonTable.d.ts +5 -0
- package/dist/components/ComparisonTable/ComparisonTable.js +34 -0
- package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -0
- package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +37 -0
- package/dist/{ComparisonTable → components/ComparisonTable}/ComparisonTableContent.js +0 -0
- package/dist/components/ComparisonTable/ComparisonTableContent.js.map +1 -0
- package/dist/components/ComparisonTable/HeaderCell.d.ts +10 -0
- package/dist/components/ComparisonTable/HeaderCell.js +11 -0
- package/dist/components/ComparisonTable/HeaderCell.js.map +1 -0
- package/dist/{ComparisonTable → components/ComparisonTable}/TableCarouselContainer.d.ts +0 -0
- package/dist/{ComparisonTable → components/ComparisonTable}/TableCarouselContainer.js +0 -0
- package/dist/components/ComparisonTable/TableCarouselContainer.js.map +1 -0
- package/dist/{ComparisonTable → components/ComparisonTable}/TableCell.d.ts +0 -0
- package/dist/{ComparisonTable → components/ComparisonTable}/TableCell.js +0 -0
- package/dist/components/ComparisonTable/TableCell.js.map +1 -0
- package/dist/{ComparisonTable → components/ComparisonTable}/TableRow.d.ts +0 -0
- package/dist/{ComparisonTable → components/ComparisonTable}/TableRow.js +0 -0
- package/dist/components/ComparisonTable/TableRow.js.map +1 -0
- package/dist/{ComparisonTable → components/ComparisonTable}/TableRowContainer.d.ts +0 -0
- package/dist/{ComparisonTable → components/ComparisonTable}/TableRowContainer.js +0 -0
- package/dist/components/ComparisonTable/TableRowContainer.js.map +1 -0
- package/dist/{ComparisonTable → components/ComparisonTable}/constants.d.ts +0 -0
- package/dist/{ComparisonTable → components/ComparisonTable}/constants.js +0 -0
- package/dist/components/ComparisonTable/constants.js.map +1 -0
- package/dist/components/ContentPage/ContentPage.d.ts +19 -0
- package/dist/components/ContentPage/ContentPage.js +29 -0
- package/dist/components/ContentPage/ContentPage.js.map +1 -0
- package/dist/{ContentPageContext.d.ts → components/ContentPage/ContentPageContext.d.ts} +0 -0
- package/dist/{ContentPageContext.js → components/ContentPage/ContentPageContext.js} +0 -0
- package/dist/components/ContentPage/ContentPageContext.js.map +1 -0
- package/dist/components/ContentPage/ContentPageHead.d.ts +6 -0
- package/dist/{ContentPageHead.js → components/ContentPage/ContentPageHead.js} +0 -0
- package/dist/components/ContentPage/ContentPageHead.js.map +1 -0
- package/dist/components/ContentPage/toMobilePage.d.ts +2 -0
- package/dist/{toMobilePage.js → components/ContentPage/toMobilePage.js} +0 -0
- package/dist/components/ContentPage/toMobilePage.js.map +1 -0
- package/dist/components/CreditCalculator/CreditCalculator.d.ts +4 -0
- package/dist/components/CreditCalculator/CreditCalculator.js +29 -0
- package/dist/components/CreditCalculator/CreditCalculator.js.map +1 -0
- package/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js +35 -0
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -0
- package/dist/{ExchangeRateTileContent.d.ts → components/ExchangeRateTile/ExchangeRateTileContent.d.ts} +0 -0
- package/dist/{ExchangeRateTileContent.js → components/ExchangeRateTile/ExchangeRateTileContent.js} +0 -0
- package/dist/components/ExchangeRateTile/ExchangeRateTileContent.js.map +1 -0
- package/dist/components/Footer/Contacts.d.ts +7 -0
- package/dist/components/Footer/Contacts.js +31 -0
- package/dist/components/Footer/Contacts.js.map +1 -0
- package/dist/components/Footer/Footer.d.ts +5 -0
- package/dist/components/Footer/Footer.js +17 -0
- package/dist/components/Footer/Footer.js.map +1 -0
- package/dist/components/Footer/Footer.mobile.d.ts +5 -0
- package/dist/{Footer → components/Footer}/Footer.mobile.js +0 -0
- package/dist/components/Footer/Footer.mobile.js.map +1 -0
- package/dist/components/Footer/FooterContent.d.ts +13 -0
- package/dist/{Footer → components/Footer}/FooterContent.js +0 -0
- package/dist/components/Footer/FooterContent.js.map +1 -0
- package/dist/components/Footer/FooterLink.d.ts +5 -0
- package/dist/{Footer → components/Footer}/FooterLink.js +0 -0
- package/dist/components/Footer/FooterLink.js.map +1 -0
- package/dist/{Footer → components/Footer}/HorizontalNavigation.d.ts +0 -0
- package/dist/components/Footer/HorizontalNavigation.js +12 -0
- package/dist/components/Footer/HorizontalNavigation.js.map +1 -0
- package/dist/components/Footer/Sitemap.d.ts +6 -0
- package/dist/components/Footer/Sitemap.js +22 -0
- package/dist/components/Footer/Sitemap.js.map +1 -0
- package/dist/components/Footer/SocialMedia.d.ts +6 -0
- package/dist/components/Footer/SocialMedia.js +24 -0
- package/dist/components/Footer/SocialMedia.js.map +1 -0
- package/dist/{Footer → components/Footer}/TextInformation.d.ts +0 -0
- package/dist/components/Footer/TextInformation.js +12 -0
- package/dist/components/Footer/TextInformation.js.map +1 -0
- package/dist/components/Gallery/Gallery.d.ts +5 -0
- package/dist/{Gallery.js → components/Gallery/Gallery.js} +0 -0
- package/dist/components/Gallery/Gallery.js.map +1 -0
- package/dist/{Gallery.mobile.d.ts → components/Gallery/Gallery.mobile.d.ts} +0 -0
- package/dist/components/Gallery/Gallery.mobile.js +18 -0
- package/dist/components/Gallery/Gallery.mobile.js.map +1 -0
- package/dist/components/Gallery/GalleryContent.d.ts +13 -0
- package/dist/{GalleryContent.js → components/Gallery/GalleryContent.js} +0 -0
- package/dist/components/Gallery/GalleryContent.js.map +1 -0
- package/dist/components/Gallery/GalleryInner.d.ts +7 -0
- package/dist/components/Gallery/GalleryInner.js +46 -0
- package/dist/components/Gallery/GalleryInner.js.map +1 -0
- package/dist/components/Header/Header.d.ts +5 -0
- package/dist/components/Header/Header.js +26 -0
- package/dist/components/Header/Header.js.map +1 -0
- package/dist/components/Header/HeaderContent.d.ts +4 -0
- package/dist/{Header → components/Header}/HeaderContent.js +0 -0
- package/dist/components/Header/HeaderContent.js.map +1 -0
- package/dist/components/Header/HeaderSecondaryMenu.d.ts +9 -0
- package/dist/components/Header/HeaderSecondaryMenu.js +12 -0
- package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -0
- package/dist/{Header → components/Header}/HeaderSecondaryMenuButton.d.ts +0 -0
- package/dist/{Header → components/Header}/HeaderSecondaryMenuButton.js +0 -0
- package/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -0
- package/dist/components/Header/isSubItemActive.d.ts +3 -0
- package/dist/components/Header/isSubItemActive.js +8 -0
- package/dist/components/Header/isSubItemActive.js.map +1 -0
- package/dist/components/Header/isTopItemActive.d.ts +3 -0
- package/dist/components/Header/isTopItemActive.js +8 -0
- package/dist/components/Header/isTopItemActive.js.map +1 -0
- package/dist/components/LikeControl/LikeControl.d.ts +2 -0
- package/dist/components/LikeControl/LikeControl.js +10 -0
- package/dist/components/LikeControl/LikeControl.js.map +1 -0
- package/dist/components/MiniGallery/MiniGallery.d.ts +5 -0
- package/dist/components/MiniGallery/MiniGallery.js +7 -0
- package/dist/components/MiniGallery/MiniGallery.js.map +1 -0
- package/dist/components/MobileAppTile/MobileAppTile.d.ts +5 -0
- package/dist/components/MobileAppTile/MobileAppTile.js +9 -0
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -0
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +9 -0
- package/dist/{MobileAppTileContent.js → components/MobileAppTile/MobileAppTileContent.js} +0 -0
- package/dist/components/MobileAppTile/MobileAppTileContent.js.map +1 -0
- package/dist/components/MobileBlocks.d.ts +12 -0
- package/dist/components/MobileBlocks.js +28 -0
- package/dist/components/MobileBlocks.js.map +1 -0
- package/dist/components/Placeholder/Placeholder.d.ts +6 -0
- package/dist/components/Placeholder/Placeholder.js +15 -0
- package/dist/components/Placeholder/Placeholder.js.map +1 -0
- package/dist/{PlaceholderContent.d.ts → components/Placeholder/PlaceholderContent.d.ts} +0 -0
- package/dist/{PlaceholderContent.js → components/Placeholder/PlaceholderContent.js} +0 -0
- package/dist/components/Placeholder/PlaceholderContent.js.map +1 -0
- package/dist/components/ProductBlock/ProductBlock.d.ts +5 -0
- package/dist/components/ProductBlock/ProductBlock.js +15 -0
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -0
- package/dist/components/ProductBlock/ProductBlock.mobile.d.ts +5 -0
- package/dist/{ProductBlock.mobile.js → components/ProductBlock/ProductBlock.mobile.js} +0 -0
- package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -0
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +9 -0
- package/dist/{ProductBlockContent.js → components/ProductBlock/ProductBlockContent.js} +0 -0
- package/dist/components/ProductBlock/ProductBlockContent.js.map +1 -0
- package/dist/components/ProductBlock/ProductBlockInner.d.ts +5 -0
- package/dist/components/ProductBlock/ProductBlockInner.js +17 -0
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -0
- package/dist/components/ProductGallery/ProductGallery.d.ts +5 -0
- package/dist/components/ProductGallery/ProductGallery.js +27 -0
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -0
- package/dist/components/ProductGallery/ProductGalleryContent.d.ts +14 -0
- package/dist/{ProductGalleryContent.js → components/ProductGallery/ProductGalleryContent.js} +0 -0
- package/dist/components/ProductGallery/ProductGalleryContent.js.map +1 -0
- package/dist/components/ProductTile/ProductTile.d.ts +5 -0
- package/dist/components/ProductTile/ProductTile.js +20 -0
- package/dist/components/ProductTile/ProductTile.js.map +1 -0
- package/dist/components/ProductTile/ProductTileContent.d.ts +5 -0
- package/dist/{ProductTileContent.js → components/ProductTile/ProductTileContent.js} +0 -0
- package/dist/components/ProductTile/ProductTileContent.js.map +1 -0
- package/dist/components/PromoTile/PromoTile.d.ts +5 -0
- package/dist/components/PromoTile/PromoTile.js +18 -0
- package/dist/components/PromoTile/PromoTile.js.map +1 -0
- package/dist/components/PromoTile/PromoTileContent.d.ts +4 -0
- package/dist/{PromoTileContent.js → components/PromoTile/PromoTileContent.js} +0 -0
- package/dist/components/PromoTile/PromoTileContent.js.map +1 -0
- package/dist/components/StepsBlock/StepsBlock.d.ts +5 -0
- package/dist/components/StepsBlock/StepsBlock.js +17 -0
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -0
- package/dist/components/StepsBlock/StepsBlockContent.d.ts +10 -0
- package/dist/{StepsBlockContent.js → components/StepsBlock/StepsBlockContent.js} +0 -0
- package/dist/components/StepsBlock/StepsBlockContent.js.map +1 -0
- package/dist/components/TextBlock/TextBlock.d.ts +5 -0
- package/dist/components/TextBlock/TextBlock.js +36 -0
- package/dist/components/TextBlock/TextBlock.js.map +1 -0
- package/dist/components/TextBlock/TextBlockContent.d.ts +10 -0
- package/dist/{TextBlockContent.js → components/TextBlock/TextBlockContent.js} +0 -0
- package/dist/components/TextBlock/TextBlockContent.js.map +1 -0
- package/dist/components/Tile/Tile.d.ts +5 -0
- package/dist/components/Tile/Tile.js +27 -0
- package/dist/components/Tile/Tile.js.map +1 -0
- package/dist/components/Tile/TileContent.d.ts +2 -0
- package/dist/{TileContent.js → components/Tile/TileContent.js} +0 -0
- package/dist/components/Tile/TileContent.js.map +1 -0
- package/dist/content-page-repository/ContentPageRepository.d.ts +3 -0
- package/dist/content-page-repository/ContentPageRepository.js +15 -1
- package/dist/content-page-repository/ContentPageRepository.js.map +1 -1
- package/dist/hooks/useLink.d.ts +15 -0
- package/dist/hooks/useLink.js +22 -0
- package/dist/hooks/useLink.js.map +1 -0
- package/dist/hooks/useSitemap.d.ts +3 -0
- package/dist/hooks/useSitemap.js +16 -0
- package/dist/hooks/useSitemap.js.map +1 -0
- package/dist/index.d.ts +8 -8
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +2 -2
- package/dist/ui-kit/{BlockItem.d.ts → BlockItem/BlockItem.d.ts} +0 -0
- package/dist/ui-kit/{BlockItem.js → BlockItem/BlockItem.js} +0 -0
- package/dist/ui-kit/BlockItem/BlockItem.js.map +1 -0
- package/dist/ui-kit/{ArrowButton.d.ts → Button/ArrowButton.d.ts} +0 -0
- package/dist/ui-kit/Button/ArrowButton.js +22 -0
- package/dist/ui-kit/Button/ArrowButton.js.map +1 -0
- package/dist/ui-kit/{Button.d.ts → Button/Button.d.ts} +0 -0
- package/dist/ui-kit/{Button.js → Button/Button.js} +0 -0
- package/dist/ui-kit/Button/Button.js.map +1 -0
- package/dist/ui-kit/Button/ButtonProps.d.ts +21 -0
- package/dist/ui-kit/{ButtonProps.js → Button/ButtonProps.js} +0 -0
- package/dist/ui-kit/Button/ButtonProps.js.map +1 -0
- package/dist/ui-kit/{LikeButton.d.ts → Button/LikeButton.d.ts} +0 -0
- package/dist/ui-kit/{LikeButton.js → Button/LikeButton.js} +0 -0
- package/dist/ui-kit/Button/LikeButton.js.map +1 -0
- package/dist/ui-kit/Checkbox/Checkbox.d.ts +2 -0
- package/dist/ui-kit/Checkbox/Checkbox.js +17 -0
- package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -0
- package/dist/ui-kit/Checkbox/CheckboxProps.d.ts +6 -0
- package/dist/ui-kit/Checkbox/CheckboxProps.js +2 -0
- package/dist/ui-kit/Checkbox/CheckboxProps.js.map +1 -0
- package/dist/ui-kit/HeaderItem/HeaderItem.d.ts +3 -0
- package/dist/ui-kit/{HeaderItem.js → HeaderItem/HeaderItem.js} +0 -0
- package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -0
- package/dist/ui-kit/{Icon.d.ts → Icon/Icon.d.ts} +0 -0
- package/dist/ui-kit/Icon/Icon.js +7 -0
- package/dist/ui-kit/Icon/Icon.js.map +1 -0
- package/dist/ui-kit/{IconProps.d.ts → Icon/IconProps.d.ts} +0 -0
- package/dist/ui-kit/{IconProps.js → Icon/IconProps.js} +0 -0
- package/dist/ui-kit/Icon/IconProps.js.map +1 -0
- package/dist/ui-kit/InputRange/InputRange.d.ts +2 -0
- package/dist/ui-kit/InputRange/InputRange.js +25 -0
- package/dist/ui-kit/InputRange/InputRange.js.map +1 -0
- package/dist/ui-kit/InputRange/InputRangeProps.d.ts +10 -0
- package/dist/ui-kit/InputRange/InputRangeProps.js +2 -0
- package/dist/ui-kit/InputRange/InputRangeProps.js.map +1 -0
- package/dist/ui-kit/{Logo.d.ts → Logo/Logo.d.ts} +0 -0
- package/dist/ui-kit/Logo/Logo.js +16 -0
- package/dist/ui-kit/Logo/Logo.js.map +1 -0
- package/dist/ui-kit/SearchBar.js +1 -1
- package/dist/ui-kit/SearchBar.js.map +1 -1
- package/dist/ui-kit/{Title.d.ts → Title/Title.d.ts} +0 -0
- package/dist/ui-kit/{Title.js → Title/Title.js} +0 -0
- package/dist/ui-kit/Title/Title.js.map +1 -0
- package/dist/ui-kit/{TitleProps.d.ts → Title/TitleProps.d.ts} +0 -0
- package/dist/ui-kit/{TitleProps.js → Title/TitleProps.js} +0 -0
- package/dist/ui-kit/Title/TitleProps.js.map +1 -0
- package/dist/ui-kit/TopItem/TopItem.d.ts +11 -0
- package/dist/ui-kit/{TopItem.js → TopItem/TopItem.js} +0 -0
- package/dist/ui-kit/TopItem/TopItem.js.map +1 -0
- package/dist/utils/clamp.d.ts +1 -0
- package/dist/utils/clamp.js +5 -0
- package/dist/utils/clamp.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/BaseTile/BaseTile.d.ts +5 -0
- package/lib/components/BaseTile/BaseTile.js +38 -0
- package/lib/components/BaseTile/BaseTile.js.map +1 -0
- package/lib/components/BaseTile/BaseTileContent.d.ts +13 -0
- package/lib/{BaseTileContent.js → components/BaseTile/BaseTileContent.js} +0 -0
- package/lib/components/BaseTile/BaseTileContent.js.map +1 -0
- package/lib/components/BenefitsBlock/BenefitsBlock.d.ts +5 -0
- package/lib/components/BenefitsBlock/BenefitsBlock.js +10 -0
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -0
- package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +10 -0
- package/lib/{BenefitsBlockContent.js → components/BenefitsBlock/BenefitsBlockContent.js} +0 -0
- package/lib/components/BenefitsBlock/BenefitsBlockContent.js.map +1 -0
- package/lib/components/BlockContent.d.ts +16 -0
- package/lib/{BlockContent.js → components/BlockContent.js} +0 -0
- package/lib/components/BlockContent.js.map +1 -0
- package/lib/components/Blocks.d.ts +18 -0
- package/lib/components/Blocks.js +35 -0
- package/lib/components/Blocks.js.map +1 -0
- package/lib/components/ComparisonTable/ComparisonTable.d.ts +5 -0
- package/lib/components/ComparisonTable/ComparisonTable.js +32 -0
- package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -0
- package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +37 -0
- package/lib/{ComparisonTable → components/ComparisonTable}/ComparisonTableContent.js +0 -0
- package/lib/components/ComparisonTable/ComparisonTableContent.js.map +1 -0
- package/lib/components/ComparisonTable/HeaderCell.d.ts +10 -0
- package/lib/components/ComparisonTable/HeaderCell.js +9 -0
- package/lib/components/ComparisonTable/HeaderCell.js.map +1 -0
- package/lib/{ComparisonTable → components/ComparisonTable}/TableCarouselContainer.d.ts +0 -0
- package/lib/{ComparisonTable → components/ComparisonTable}/TableCarouselContainer.js +0 -0
- package/lib/components/ComparisonTable/TableCarouselContainer.js.map +1 -0
- package/lib/{ComparisonTable → components/ComparisonTable}/TableCell.d.ts +0 -0
- package/lib/{ComparisonTable → components/ComparisonTable}/TableCell.js +0 -0
- package/lib/components/ComparisonTable/TableCell.js.map +1 -0
- package/lib/{ComparisonTable → components/ComparisonTable}/TableRow.d.ts +0 -0
- package/lib/{ComparisonTable → components/ComparisonTable}/TableRow.js +0 -0
- package/lib/components/ComparisonTable/TableRow.js.map +1 -0
- package/lib/{ComparisonTable → components/ComparisonTable}/TableRowContainer.d.ts +0 -0
- package/lib/{ComparisonTable → components/ComparisonTable}/TableRowContainer.js +0 -0
- package/lib/components/ComparisonTable/TableRowContainer.js.map +1 -0
- package/lib/{ComparisonTable → components/ComparisonTable}/constants.d.ts +0 -0
- package/lib/{ComparisonTable → components/ComparisonTable}/constants.js +0 -0
- package/lib/components/ComparisonTable/constants.js.map +1 -0
- package/lib/components/ContentPage/ContentPage.d.ts +19 -0
- package/lib/components/ContentPage/ContentPage.js +27 -0
- package/lib/components/ContentPage/ContentPage.js.map +1 -0
- package/lib/{ContentPageContext.d.ts → components/ContentPage/ContentPageContext.d.ts} +0 -0
- package/lib/{ContentPageContext.js → components/ContentPage/ContentPageContext.js} +0 -0
- package/lib/components/ContentPage/ContentPageContext.js.map +1 -0
- package/lib/components/ContentPage/ContentPageHead.d.ts +6 -0
- package/lib/{ContentPageHead.js → components/ContentPage/ContentPageHead.js} +0 -0
- package/lib/components/ContentPage/ContentPageHead.js.map +1 -0
- package/lib/components/ContentPage/toMobilePage.d.ts +2 -0
- package/lib/{toMobilePage.js → components/ContentPage/toMobilePage.js} +0 -0
- package/lib/components/ContentPage/toMobilePage.js.map +1 -0
- package/lib/components/CreditCalculator/CreditCalculator.d.ts +4 -0
- package/lib/components/CreditCalculator/CreditCalculator.js +27 -0
- package/lib/components/CreditCalculator/CreditCalculator.js.map +1 -0
- package/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js +33 -0
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -0
- package/lib/{ExchangeRateTileContent.d.ts → components/ExchangeRateTile/ExchangeRateTileContent.d.ts} +0 -0
- package/lib/{ExchangeRateTileContent.js → components/ExchangeRateTile/ExchangeRateTileContent.js} +0 -0
- package/lib/components/ExchangeRateTile/ExchangeRateTileContent.js.map +1 -0
- package/lib/components/Footer/Contacts.d.ts +7 -0
- package/lib/components/Footer/Contacts.js +29 -0
- package/lib/components/Footer/Contacts.js.map +1 -0
- package/lib/components/Footer/Footer.d.ts +5 -0
- package/lib/components/Footer/Footer.js +15 -0
- package/lib/components/Footer/Footer.js.map +1 -0
- package/lib/components/Footer/Footer.mobile.d.ts +5 -0
- package/lib/{Footer → components/Footer}/Footer.mobile.js +0 -0
- package/lib/components/Footer/Footer.mobile.js.map +1 -0
- package/lib/components/Footer/FooterContent.d.ts +13 -0
- package/lib/{Footer → components/Footer}/FooterContent.js +0 -0
- package/lib/components/Footer/FooterContent.js.map +1 -0
- package/lib/components/Footer/FooterLink.d.ts +5 -0
- package/lib/{Footer → components/Footer}/FooterLink.js +0 -0
- package/lib/components/Footer/FooterLink.js.map +1 -0
- package/lib/{Footer → components/Footer}/HorizontalNavigation.d.ts +0 -0
- package/lib/components/Footer/HorizontalNavigation.js +10 -0
- package/lib/components/Footer/HorizontalNavigation.js.map +1 -0
- package/lib/components/Footer/Sitemap.d.ts +6 -0
- package/lib/components/Footer/Sitemap.js +20 -0
- package/lib/components/Footer/Sitemap.js.map +1 -0
- package/lib/components/Footer/SocialMedia.d.ts +6 -0
- package/lib/components/Footer/SocialMedia.js +22 -0
- package/lib/components/Footer/SocialMedia.js.map +1 -0
- package/lib/{Footer → components/Footer}/TextInformation.d.ts +0 -0
- package/lib/components/Footer/TextInformation.js +10 -0
- package/lib/components/Footer/TextInformation.js.map +1 -0
- package/lib/components/Gallery/Gallery.d.ts +5 -0
- package/lib/{Gallery.js → components/Gallery/Gallery.js} +0 -0
- package/lib/components/Gallery/Gallery.js.map +1 -0
- package/lib/{Gallery.mobile.d.ts → components/Gallery/Gallery.mobile.d.ts} +0 -0
- package/lib/components/Gallery/Gallery.mobile.js +16 -0
- package/lib/components/Gallery/Gallery.mobile.js.map +1 -0
- package/lib/components/Gallery/GalleryContent.d.ts +13 -0
- package/lib/{GalleryContent.js → components/Gallery/GalleryContent.js} +0 -0
- package/lib/components/Gallery/GalleryContent.js.map +1 -0
- package/lib/components/Gallery/GalleryInner.d.ts +7 -0
- package/lib/components/Gallery/GalleryInner.js +44 -0
- package/lib/components/Gallery/GalleryInner.js.map +1 -0
- package/lib/components/Header/Header.d.ts +5 -0
- package/lib/components/Header/Header.js +24 -0
- package/lib/components/Header/Header.js.map +1 -0
- package/lib/components/Header/HeaderContent.d.ts +4 -0
- package/lib/{Header → components/Header}/HeaderContent.js +0 -0
- package/lib/components/Header/HeaderContent.js.map +1 -0
- package/lib/components/Header/HeaderSecondaryMenu.d.ts +9 -0
- package/lib/components/Header/HeaderSecondaryMenu.js +10 -0
- package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -0
- package/lib/{Header → components/Header}/HeaderSecondaryMenuButton.d.ts +0 -0
- package/lib/{Header → components/Header}/HeaderSecondaryMenuButton.js +0 -0
- package/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -0
- package/lib/components/Header/isSubItemActive.d.ts +3 -0
- package/lib/components/Header/isSubItemActive.js +5 -0
- package/lib/components/Header/isSubItemActive.js.map +1 -0
- package/lib/components/Header/isTopItemActive.d.ts +3 -0
- package/lib/components/Header/isTopItemActive.js +5 -0
- package/lib/components/Header/isTopItemActive.js.map +1 -0
- package/lib/components/LikeControl/LikeControl.d.ts +2 -0
- package/lib/components/LikeControl/LikeControl.js +8 -0
- package/lib/components/LikeControl/LikeControl.js.map +1 -0
- package/lib/components/MiniGallery/MiniGallery.d.ts +5 -0
- package/lib/components/MiniGallery/MiniGallery.js +5 -0
- package/lib/components/MiniGallery/MiniGallery.js.map +1 -0
- package/lib/components/MobileAppTile/MobileAppTile.d.ts +5 -0
- package/lib/components/MobileAppTile/MobileAppTile.js +7 -0
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -0
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +9 -0
- package/lib/{MobileAppTileContent.js → components/MobileAppTile/MobileAppTileContent.js} +0 -0
- package/lib/components/MobileAppTile/MobileAppTileContent.js.map +1 -0
- package/lib/components/MobileBlocks.d.ts +12 -0
- package/lib/components/MobileBlocks.js +26 -0
- package/lib/components/MobileBlocks.js.map +1 -0
- package/lib/components/Placeholder/Placeholder.d.ts +6 -0
- package/lib/components/Placeholder/Placeholder.js +13 -0
- package/lib/components/Placeholder/Placeholder.js.map +1 -0
- package/lib/{PlaceholderContent.d.ts → components/Placeholder/PlaceholderContent.d.ts} +0 -0
- package/lib/{PlaceholderContent.js → components/Placeholder/PlaceholderContent.js} +0 -0
- package/lib/components/Placeholder/PlaceholderContent.js.map +1 -0
- package/lib/components/ProductBlock/ProductBlock.d.ts +5 -0
- package/lib/components/ProductBlock/ProductBlock.js +13 -0
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -0
- package/lib/components/ProductBlock/ProductBlock.mobile.d.ts +5 -0
- package/lib/{ProductBlock.mobile.js → components/ProductBlock/ProductBlock.mobile.js} +0 -0
- package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -0
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +9 -0
- package/lib/{ProductBlockContent.js → components/ProductBlock/ProductBlockContent.js} +0 -0
- package/lib/components/ProductBlock/ProductBlockContent.js.map +1 -0
- package/lib/components/ProductBlock/ProductBlockInner.d.ts +5 -0
- package/lib/components/ProductBlock/ProductBlockInner.js +15 -0
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -0
- package/lib/components/ProductGallery/ProductGallery.d.ts +5 -0
- package/lib/components/ProductGallery/ProductGallery.js +25 -0
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -0
- package/lib/components/ProductGallery/ProductGalleryContent.d.ts +14 -0
- package/lib/{ProductGalleryContent.js → components/ProductGallery/ProductGalleryContent.js} +0 -0
- package/lib/components/ProductGallery/ProductGalleryContent.js.map +1 -0
- package/lib/components/ProductTile/ProductTile.d.ts +5 -0
- package/lib/components/ProductTile/ProductTile.js +18 -0
- package/lib/components/ProductTile/ProductTile.js.map +1 -0
- package/lib/components/ProductTile/ProductTileContent.d.ts +5 -0
- package/lib/{ProductTileContent.js → components/ProductTile/ProductTileContent.js} +0 -0
- package/lib/components/ProductTile/ProductTileContent.js.map +1 -0
- package/lib/components/PromoTile/PromoTile.d.ts +5 -0
- package/lib/components/PromoTile/PromoTile.js +16 -0
- package/lib/components/PromoTile/PromoTile.js.map +1 -0
- package/lib/components/PromoTile/PromoTileContent.d.ts +4 -0
- package/lib/{PromoTileContent.js → components/PromoTile/PromoTileContent.js} +0 -0
- package/lib/components/PromoTile/PromoTileContent.js.map +1 -0
- package/lib/components/StepsBlock/StepsBlock.d.ts +5 -0
- package/lib/components/StepsBlock/StepsBlock.js +15 -0
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -0
- package/lib/components/StepsBlock/StepsBlockContent.d.ts +10 -0
- package/lib/{StepsBlockContent.js → components/StepsBlock/StepsBlockContent.js} +0 -0
- package/lib/components/StepsBlock/StepsBlockContent.js.map +1 -0
- package/lib/components/TextBlock/TextBlock.d.ts +5 -0
- package/lib/components/TextBlock/TextBlock.js +34 -0
- package/lib/components/TextBlock/TextBlock.js.map +1 -0
- package/lib/components/TextBlock/TextBlockContent.d.ts +10 -0
- package/lib/{TextBlockContent.js → components/TextBlock/TextBlockContent.js} +0 -0
- package/lib/components/TextBlock/TextBlockContent.js.map +1 -0
- package/lib/components/Tile/Tile.d.ts +5 -0
- package/lib/components/Tile/Tile.js +25 -0
- package/lib/components/Tile/Tile.js.map +1 -0
- package/lib/components/Tile/TileContent.d.ts +2 -0
- package/lib/{TileContent.js → components/Tile/TileContent.js} +0 -0
- package/lib/components/Tile/TileContent.js.map +1 -0
- package/lib/content-page-repository/ContentPageRepository.d.ts +3 -0
- package/lib/content-page-repository/ContentPageRepository.js +15 -1
- package/lib/content-page-repository/ContentPageRepository.js.map +1 -1
- package/lib/hooks/useLink.d.ts +15 -0
- package/lib/hooks/useLink.js +19 -0
- package/lib/hooks/useLink.js.map +1 -0
- package/lib/hooks/useSitemap.d.ts +3 -0
- package/lib/hooks/useSitemap.js +13 -0
- package/lib/hooks/useSitemap.js.map +1 -0
- package/lib/index.d.ts +8 -8
- package/lib/index.js +5 -5
- package/lib/index.js.map +1 -1
- package/lib/types.d.ts +2 -2
- package/lib/ui-kit/{BlockItem.d.ts → BlockItem/BlockItem.d.ts} +0 -0
- package/lib/ui-kit/{BlockItem.js → BlockItem/BlockItem.js} +0 -0
- package/lib/ui-kit/BlockItem/BlockItem.js.map +1 -0
- package/lib/ui-kit/{ArrowButton.d.ts → Button/ArrowButton.d.ts} +0 -0
- package/lib/ui-kit/Button/ArrowButton.js +20 -0
- package/lib/ui-kit/Button/ArrowButton.js.map +1 -0
- package/lib/ui-kit/{Button.d.ts → Button/Button.d.ts} +0 -0
- package/lib/ui-kit/{Button.js → Button/Button.js} +0 -0
- package/lib/ui-kit/Button/Button.js.map +1 -0
- package/lib/ui-kit/Button/ButtonProps.d.ts +21 -0
- package/lib/ui-kit/{ButtonProps.js → Button/ButtonProps.js} +0 -0
- package/lib/ui-kit/Button/ButtonProps.js.map +1 -0
- package/lib/ui-kit/{LikeButton.d.ts → Button/LikeButton.d.ts} +0 -0
- package/lib/ui-kit/{LikeButton.js → Button/LikeButton.js} +0 -0
- package/lib/ui-kit/Button/LikeButton.js.map +1 -0
- package/lib/ui-kit/Checkbox/Checkbox.d.ts +2 -0
- package/lib/ui-kit/Checkbox/Checkbox.js +15 -0
- package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -0
- package/lib/ui-kit/Checkbox/CheckboxProps.d.ts +6 -0
- package/lib/ui-kit/Checkbox/CheckboxProps.js +2 -0
- package/lib/ui-kit/Checkbox/CheckboxProps.js.map +1 -0
- package/lib/ui-kit/HeaderItem/HeaderItem.d.ts +3 -0
- package/lib/ui-kit/{HeaderItem.js → HeaderItem/HeaderItem.js} +0 -0
- package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -0
- package/lib/ui-kit/{Icon.d.ts → Icon/Icon.d.ts} +0 -0
- package/lib/ui-kit/Icon/Icon.js +5 -0
- package/lib/ui-kit/Icon/Icon.js.map +1 -0
- package/lib/ui-kit/{IconProps.d.ts → Icon/IconProps.d.ts} +0 -0
- package/lib/ui-kit/{IconProps.js → Icon/IconProps.js} +0 -0
- package/lib/ui-kit/Icon/IconProps.js.map +1 -0
- package/lib/ui-kit/InputRange/InputRange.d.ts +2 -0
- package/lib/ui-kit/InputRange/InputRange.js +23 -0
- package/lib/ui-kit/InputRange/InputRange.js.map +1 -0
- package/lib/ui-kit/InputRange/InputRangeProps.d.ts +10 -0
- package/lib/ui-kit/InputRange/InputRangeProps.js +2 -0
- package/lib/ui-kit/InputRange/InputRangeProps.js.map +1 -0
- package/lib/ui-kit/{Logo.d.ts → Logo/Logo.d.ts} +0 -0
- package/lib/ui-kit/Logo/Logo.js +14 -0
- package/lib/ui-kit/Logo/Logo.js.map +1 -0
- package/lib/ui-kit/SearchBar.js +1 -1
- package/lib/ui-kit/SearchBar.js.map +1 -1
- package/lib/ui-kit/{Title.d.ts → Title/Title.d.ts} +0 -0
- package/lib/ui-kit/{Title.js → Title/Title.js} +0 -0
- package/lib/ui-kit/Title/Title.js.map +1 -0
- package/lib/ui-kit/{TitleProps.d.ts → Title/TitleProps.d.ts} +0 -0
- package/lib/ui-kit/{TitleProps.js → Title/TitleProps.js} +0 -0
- package/lib/ui-kit/Title/TitleProps.js.map +1 -0
- package/lib/ui-kit/TopItem/TopItem.d.ts +11 -0
- package/lib/ui-kit/{TopItem.js → TopItem/TopItem.js} +0 -0
- package/lib/ui-kit/TopItem/TopItem.js.map +1 -0
- package/lib/utils/clamp.d.ts +1 -0
- package/lib/utils/clamp.js +2 -0
- package/lib/utils/clamp.js.map +1 -0
- package/package.json +3 -3
- package/src/common.css +40 -0
- package/src/components/BaseTile/BaseTile.tsx +98 -0
- package/src/components/BaseTile/BaseTileContent.ts +14 -0
- package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +34 -0
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +42 -0
- package/src/components/BenefitsBlock/BenefitsBlockContent.ts +12 -0
- package/src/components/BlockContent.ts +32 -0
- package/src/components/Blocks.ts +35 -0
- package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +265 -0
- package/src/components/ComparisonTable/ComparisonTable.tsx +126 -0
- package/src/components/ComparisonTable/ComparisonTableContent.ts +43 -0
- package/src/components/ComparisonTable/HeaderCell.tsx +50 -0
- package/src/{ComparisonTable → components/ComparisonTable}/TableCarouselContainer.tsx +0 -0
- package/src/{ComparisonTable → components/ComparisonTable}/TableCell.tsx +0 -0
- package/src/{ComparisonTable → components/ComparisonTable}/TableRow.tsx +0 -0
- package/src/{ComparisonTable → components/ComparisonTable}/TableRowContainer.tsx +0 -0
- package/src/{ComparisonTable → components/ComparisonTable}/constants.ts +0 -0
- package/src/components/ContentPage/ContentPage.fixture.tsx +58 -0
- package/src/{ContentPage.page.json → components/ContentPage/ContentPage.page.json} +0 -0
- package/src/components/ContentPage/ContentPage.tsx +88 -0
- package/src/{ContentPageContext.tsx → components/ContentPage/ContentPageContext.tsx} +0 -0
- package/src/components/ContentPage/ContentPageHead.tsx +26 -0
- package/src/components/ContentPage/toMobilePage.ts +21 -0
- package/src/components/CreditCalculator/CreditCalculator.fixture.tsx +4 -0
- package/src/components/CreditCalculator/CreditCalculator.tsx +106 -0
- package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +11 -0
- package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +80 -0
- package/src/{ExchangeRateTileContent.ts → components/ExchangeRateTile/ExchangeRateTileContent.ts} +0 -0
- package/src/components/Footer/Contacts.tsx +73 -0
- package/src/components/Footer/Footer.fixture.tsx +265 -0
- package/src/components/Footer/Footer.mobile.tsx +12 -0
- package/src/components/Footer/Footer.tsx +40 -0
- package/src/components/Footer/FooterContent.ts +15 -0
- package/src/components/Footer/FooterLink.ts +6 -0
- package/src/components/Footer/HorizontalNavigation.tsx +46 -0
- package/src/components/Footer/Sitemap.tsx +58 -0
- package/src/components/Footer/SocialMedia.tsx +52 -0
- package/src/components/Footer/TextInformation.tsx +50 -0
- package/src/components/Gallery/Gallery.fixture.tsx +215 -0
- package/src/components/Gallery/Gallery.mobile.tsx +71 -0
- package/src/components/Gallery/Gallery.tsx +8 -0
- package/src/components/Gallery/GalleryContent.ts +15 -0
- package/src/components/Gallery/GalleryInner.tsx +135 -0
- package/src/components/Header/Header.fixture.tsx +21 -0
- package/src/components/Header/Header.tsx +59 -0
- package/src/components/Header/HeaderContent.ts +5 -0
- package/src/components/Header/HeaderSecondaryMenu.tsx +56 -0
- package/src/{Header → components/Header}/HeaderSecondaryMenuButton.tsx +0 -0
- package/src/components/Header/isSubItemActive.ts +7 -0
- package/src/components/Header/isTopItemActive.ts +8 -0
- package/src/components/LikeControl/LikeControl.fixture.tsx +5 -0
- package/src/components/LikeControl/LikeControl.tsx +23 -0
- package/src/components/MiniGallery/MiniGallery.fixture.tsx +90 -0
- package/src/components/MiniGallery/MiniGallery.tsx +10 -0
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +34 -0
- package/src/components/MobileAppTile/MobileAppTile.tsx +32 -0
- package/src/components/MobileAppTile/MobileAppTileContent.ts +11 -0
- package/src/components/MobileBlocks.ts +26 -0
- package/src/components/Placeholder/Placeholder.fixture.tsx +5 -0
- package/src/components/Placeholder/Placeholder.tsx +30 -0
- package/src/{PlaceholderContent.ts → components/Placeholder/PlaceholderContent.ts} +0 -0
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +96 -0
- package/src/components/ProductBlock/ProductBlock.mobile.tsx +19 -0
- package/src/components/ProductBlock/ProductBlock.tsx +37 -0
- package/src/components/ProductBlock/ProductBlockContent.ts +11 -0
- package/src/components/ProductBlock/ProductBlockInner.tsx +57 -0
- package/src/components/ProductGallery/ProductGallery.fixture.tsx +138 -0
- package/src/components/ProductGallery/ProductGallery.tsx +78 -0
- package/src/components/ProductGallery/ProductGalleryContent.ts +16 -0
- package/src/components/ProductTile/ProductTile.fixture.tsx +155 -0
- package/src/components/ProductTile/ProductTile.tsx +43 -0
- package/src/components/ProductTile/ProductTileContent.ts +6 -0
- package/src/components/PromoTile/PromoTile.fixture.tsx +25 -0
- package/src/components/PromoTile/PromoTile.tsx +43 -0
- package/src/components/PromoTile/PromoTileContent.ts +5 -0
- package/src/components/StepsBlock/StepsBlock.fixture.tsx +23 -0
- package/src/components/StepsBlock/StepsBlock.tsx +55 -0
- package/src/components/StepsBlock/StepsBlockContent.ts +12 -0
- package/src/components/TextBlock/TextBlock.fixture.tsx +116 -0
- package/src/components/TextBlock/TextBlock.tsx +65 -0
- package/src/components/TextBlock/TextBlockContent.ts +12 -0
- package/src/components/Tile/Tile.fixture.tsx +134 -0
- package/src/components/Tile/Tile.tsx +38 -0
- package/src/components/Tile/TileContent.ts +3 -0
- package/src/content-page-repository/ContentPageRepository.ts +18 -1
- package/src/cosmos.decorator.tsx +6 -0
- package/src/hooks/useLink.ts +28 -0
- package/src/hooks/useSitemap.ts +17 -0
- package/src/index.ts +8 -8
- package/src/setup-fixture.ts +1 -1
- package/src/types.ts +2 -2
- package/src/ui-kit/BlockItem/BlockItem.fixture.tsx +5 -0
- package/src/ui-kit/{BlockItem.tsx → BlockItem/BlockItem.tsx} +0 -0
- package/src/ui-kit/Button/ArrowButton.tsx +32 -0
- package/src/ui-kit/Button/Button.fixture.tsx +163 -0
- package/src/ui-kit/Button/Button.tsx +90 -0
- package/src/ui-kit/Button/ButtonProps.ts +24 -0
- package/src/ui-kit/{LikeButton.fixture.tsx → Button/LikeButton.fixture.tsx} +0 -0
- package/src/ui-kit/{LikeButton.tsx → Button/LikeButton.tsx} +0 -0
- package/src/ui-kit/Checkbox/Checkbox.tsx +36 -0
- package/src/ui-kit/Checkbox/CheckboxProps.ts +6 -0
- package/src/ui-kit/HeaderItem/HeaderItem.fixture.tsx +8 -0
- package/src/ui-kit/HeaderItem/HeaderItem.tsx +25 -0
- package/src/ui-kit/Icon/Icon.fixture.tsx +22 -0
- package/src/ui-kit/Icon/Icon.tsx +15 -0
- package/src/ui-kit/{IconProps.ts → Icon/IconProps.ts} +0 -0
- package/src/ui-kit/InputRange/InputRange.tsx +63 -0
- package/src/ui-kit/InputRange/InputRangeProps.ts +10 -0
- package/src/ui-kit/Logo/Logo.fixture.tsx +5 -0
- package/src/ui-kit/Logo/Logo.tsx +35 -0
- package/src/ui-kit/SearchBar.tsx +1 -1
- package/src/ui-kit/{Title.tsx → Title/Title.tsx} +0 -0
- package/src/ui-kit/{TitleProps.ts → Title/TitleProps.ts} +0 -0
- package/src/ui-kit/TopItem/TopItem.fixture.tsx +8 -0
- package/src/ui-kit/TopItem/TopItem.tsx +37 -0
- package/src/utils/clamp.ts +2 -0
- package/dist/BaseTile.d.ts +0 -5
- package/dist/BaseTile.js +0 -40
- package/dist/BaseTile.js.map +0 -1
- package/dist/BaseTileContent.d.ts +0 -13
- package/dist/BaseTileContent.js.map +0 -1
- package/dist/BenefitsBlock.d.ts +0 -5
- package/dist/BenefitsBlock.js +0 -12
- package/dist/BenefitsBlock.js.map +0 -1
- package/dist/BenefitsBlockContent.d.ts +0 -10
- package/dist/BenefitsBlockContent.js.map +0 -1
- package/dist/BlockContent.d.ts +0 -16
- package/dist/BlockContent.js.map +0 -1
- package/dist/Blocks.d.ts +0 -18
- package/dist/Blocks.js +0 -37
- package/dist/Blocks.js.map +0 -1
- package/dist/ComparisonTable/ComparisonTable.d.ts +0 -5
- package/dist/ComparisonTable/ComparisonTable.js +0 -34
- package/dist/ComparisonTable/ComparisonTable.js.map +0 -1
- package/dist/ComparisonTable/ComparisonTableContent.d.ts +0 -37
- package/dist/ComparisonTable/ComparisonTableContent.js.map +0 -1
- package/dist/ComparisonTable/HeaderCell.d.ts +0 -10
- package/dist/ComparisonTable/HeaderCell.js +0 -11
- package/dist/ComparisonTable/HeaderCell.js.map +0 -1
- package/dist/ComparisonTable/TableCarouselContainer.js.map +0 -1
- package/dist/ComparisonTable/TableCell.js.map +0 -1
- package/dist/ComparisonTable/TableRow.js.map +0 -1
- package/dist/ComparisonTable/TableRowContainer.js.map +0 -1
- package/dist/ComparisonTable/constants.js.map +0 -1
- package/dist/ComparisonTable/index.d.ts +0 -3
- package/dist/ComparisonTable/index.js +0 -5
- package/dist/ComparisonTable/index.js.map +0 -1
- package/dist/ContentPage.d.ts +0 -19
- package/dist/ContentPage.js +0 -29
- package/dist/ContentPage.js.map +0 -1
- package/dist/ContentPageContext.js.map +0 -1
- package/dist/ContentPageHead.d.ts +0 -6
- package/dist/ContentPageHead.js.map +0 -1
- package/dist/ExchangeRateTile.d.ts +0 -5
- package/dist/ExchangeRateTile.js +0 -35
- package/dist/ExchangeRateTile.js.map +0 -1
- package/dist/ExchangeRateTileContent.js.map +0 -1
- package/dist/Footer/Contacts.d.ts +0 -7
- package/dist/Footer/Contacts.js +0 -31
- package/dist/Footer/Contacts.js.map +0 -1
- package/dist/Footer/Footer.d.ts +0 -5
- package/dist/Footer/Footer.js +0 -17
- package/dist/Footer/Footer.js.map +0 -1
- package/dist/Footer/Footer.mobile.d.ts +0 -5
- package/dist/Footer/Footer.mobile.js.map +0 -1
- package/dist/Footer/FooterContent.d.ts +0 -13
- package/dist/Footer/FooterContent.js.map +0 -1
- package/dist/Footer/FooterLink.d.ts +0 -5
- package/dist/Footer/FooterLink.js.map +0 -1
- package/dist/Footer/HorizontalNavigation.js +0 -12
- package/dist/Footer/HorizontalNavigation.js.map +0 -1
- package/dist/Footer/Sitemap.d.ts +0 -6
- package/dist/Footer/Sitemap.js +0 -22
- package/dist/Footer/Sitemap.js.map +0 -1
- package/dist/Footer/SocialMedia.d.ts +0 -6
- package/dist/Footer/SocialMedia.js +0 -24
- package/dist/Footer/SocialMedia.js.map +0 -1
- package/dist/Footer/TextInformation.js +0 -12
- package/dist/Footer/TextInformation.js.map +0 -1
- package/dist/Gallery.d.ts +0 -5
- package/dist/Gallery.js.map +0 -1
- package/dist/Gallery.mobile.js +0 -18
- package/dist/Gallery.mobile.js.map +0 -1
- package/dist/GalleryContent.d.ts +0 -13
- package/dist/GalleryContent.js.map +0 -1
- package/dist/GalleryInner.d.ts +0 -7
- package/dist/GalleryInner.js +0 -46
- package/dist/GalleryInner.js.map +0 -1
- package/dist/Header/Header.d.ts +0 -5
- package/dist/Header/Header.js +0 -26
- package/dist/Header/Header.js.map +0 -1
- package/dist/Header/HeaderContent.d.ts +0 -4
- package/dist/Header/HeaderContent.js.map +0 -1
- package/dist/Header/HeaderSecondaryMenu.d.ts +0 -9
- package/dist/Header/HeaderSecondaryMenu.js +0 -12
- package/dist/Header/HeaderSecondaryMenu.js.map +0 -1
- package/dist/Header/HeaderSecondaryMenuButton.js.map +0 -1
- package/dist/Header/isSubItemActive.d.ts +0 -3
- package/dist/Header/isSubItemActive.js +0 -8
- package/dist/Header/isSubItemActive.js.map +0 -1
- package/dist/Header/isTopItemActive.d.ts +0 -3
- package/dist/Header/isTopItemActive.js +0 -8
- package/dist/Header/isTopItemActive.js.map +0 -1
- package/dist/LikeControl.d.ts +0 -2
- package/dist/LikeControl.js +0 -10
- package/dist/LikeControl.js.map +0 -1
- package/dist/MiniGallery.d.ts +0 -5
- package/dist/MiniGallery.js +0 -7
- package/dist/MiniGallery.js.map +0 -1
- package/dist/MobileAppTile.d.ts +0 -5
- package/dist/MobileAppTile.js +0 -9
- package/dist/MobileAppTile.js.map +0 -1
- package/dist/MobileAppTileContent.d.ts +0 -9
- package/dist/MobileAppTileContent.js.map +0 -1
- package/dist/MobileBlocks.d.ts +0 -12
- package/dist/MobileBlocks.js +0 -28
- package/dist/MobileBlocks.js.map +0 -1
- package/dist/Placeholder.d.ts +0 -6
- package/dist/Placeholder.js +0 -15
- package/dist/Placeholder.js.map +0 -1
- package/dist/PlaceholderContent.js.map +0 -1
- package/dist/ProductBlock.d.ts +0 -5
- package/dist/ProductBlock.js +0 -15
- package/dist/ProductBlock.js.map +0 -1
- package/dist/ProductBlock.mobile.d.ts +0 -5
- package/dist/ProductBlock.mobile.js.map +0 -1
- package/dist/ProductBlockContent.d.ts +0 -5
- package/dist/ProductBlockContent.js.map +0 -1
- package/dist/ProductBlockInner.d.ts +0 -5
- package/dist/ProductBlockInner.js +0 -17
- package/dist/ProductBlockInner.js.map +0 -1
- package/dist/ProductBlockInnerContent.d.ts +0 -5
- package/dist/ProductBlockInnerContent.js +0 -2
- package/dist/ProductBlockInnerContent.js.map +0 -1
- package/dist/ProductGallery.d.ts +0 -5
- package/dist/ProductGallery.js +0 -27
- package/dist/ProductGallery.js.map +0 -1
- package/dist/ProductGalleryContent.d.ts +0 -14
- package/dist/ProductGalleryContent.js.map +0 -1
- package/dist/ProductTile.d.ts +0 -5
- package/dist/ProductTile.js +0 -20
- package/dist/ProductTile.js.map +0 -1
- package/dist/ProductTileContent.d.ts +0 -5
- package/dist/ProductTileContent.js.map +0 -1
- package/dist/PromoTile.d.ts +0 -5
- package/dist/PromoTile.js +0 -18
- package/dist/PromoTile.js.map +0 -1
- package/dist/PromoTileContent.d.ts +0 -4
- package/dist/PromoTileContent.js.map +0 -1
- package/dist/StepsBlock.d.ts +0 -5
- package/dist/StepsBlock.js +0 -17
- package/dist/StepsBlock.js.map +0 -1
- package/dist/StepsBlockContent.d.ts +0 -10
- package/dist/StepsBlockContent.js.map +0 -1
- package/dist/TextBlock.d.ts +0 -5
- package/dist/TextBlock.js +0 -36
- package/dist/TextBlock.js.map +0 -1
- package/dist/TextBlockContent.d.ts +0 -10
- package/dist/TextBlockContent.js.map +0 -1
- package/dist/Tile.d.ts +0 -5
- package/dist/Tile.js +0 -27
- package/dist/Tile.js.map +0 -1
- package/dist/TileContent.d.ts +0 -2
- package/dist/TileContent.js.map +0 -1
- package/dist/toMobilePage.d.ts +0 -2
- package/dist/toMobilePage.js.map +0 -1
- package/dist/ui-kit/ArrowButton.js +0 -22
- package/dist/ui-kit/ArrowButton.js.map +0 -1
- package/dist/ui-kit/BlockItem.js.map +0 -1
- package/dist/ui-kit/Button.js.map +0 -1
- package/dist/ui-kit/ButtonProps.d.ts +0 -21
- package/dist/ui-kit/ButtonProps.js.map +0 -1
- package/dist/ui-kit/HeaderItem.d.ts +0 -3
- package/dist/ui-kit/HeaderItem.js.map +0 -1
- package/dist/ui-kit/Icon.js +0 -7
- package/dist/ui-kit/Icon.js.map +0 -1
- package/dist/ui-kit/IconProps.js.map +0 -1
- package/dist/ui-kit/LikeButton.js.map +0 -1
- package/dist/ui-kit/Logo.js +0 -16
- package/dist/ui-kit/Logo.js.map +0 -1
- package/dist/ui-kit/Title.js.map +0 -1
- package/dist/ui-kit/TitleProps.js.map +0 -1
- package/dist/ui-kit/TopItem.d.ts +0 -11
- package/dist/ui-kit/TopItem.js.map +0 -1
- package/dist/useLink.d.ts +0 -15
- package/dist/useLink.js +0 -22
- package/dist/useLink.js.map +0 -1
- package/dist/useSitemap.d.ts +0 -3
- package/dist/useSitemap.js +0 -16
- package/dist/useSitemap.js.map +0 -1
- package/lib/BaseTile.d.ts +0 -5
- package/lib/BaseTile.js +0 -38
- package/lib/BaseTile.js.map +0 -1
- package/lib/BaseTileContent.d.ts +0 -13
- package/lib/BaseTileContent.js.map +0 -1
- package/lib/BenefitsBlock.d.ts +0 -5
- package/lib/BenefitsBlock.js +0 -10
- package/lib/BenefitsBlock.js.map +0 -1
- package/lib/BenefitsBlockContent.d.ts +0 -10
- package/lib/BenefitsBlockContent.js.map +0 -1
- package/lib/BlockContent.d.ts +0 -16
- package/lib/BlockContent.js.map +0 -1
- package/lib/Blocks.d.ts +0 -18
- package/lib/Blocks.js +0 -35
- package/lib/Blocks.js.map +0 -1
- package/lib/ComparisonTable/ComparisonTable.d.ts +0 -5
- package/lib/ComparisonTable/ComparisonTable.js +0 -32
- package/lib/ComparisonTable/ComparisonTable.js.map +0 -1
- package/lib/ComparisonTable/ComparisonTableContent.d.ts +0 -37
- package/lib/ComparisonTable/ComparisonTableContent.js.map +0 -1
- package/lib/ComparisonTable/HeaderCell.d.ts +0 -10
- package/lib/ComparisonTable/HeaderCell.js +0 -9
- package/lib/ComparisonTable/HeaderCell.js.map +0 -1
- package/lib/ComparisonTable/TableCarouselContainer.js.map +0 -1
- package/lib/ComparisonTable/TableCell.js.map +0 -1
- package/lib/ComparisonTable/TableRow.js.map +0 -1
- package/lib/ComparisonTable/TableRowContainer.js.map +0 -1
- package/lib/ComparisonTable/constants.js.map +0 -1
- package/lib/ComparisonTable/index.d.ts +0 -3
- package/lib/ComparisonTable/index.js +0 -2
- package/lib/ComparisonTable/index.js.map +0 -1
- package/lib/ContentPage.d.ts +0 -19
- package/lib/ContentPage.js +0 -27
- package/lib/ContentPage.js.map +0 -1
- package/lib/ContentPageContext.js.map +0 -1
- package/lib/ContentPageHead.d.ts +0 -6
- package/lib/ContentPageHead.js.map +0 -1
- package/lib/ExchangeRateTile.d.ts +0 -5
- package/lib/ExchangeRateTile.js +0 -33
- package/lib/ExchangeRateTile.js.map +0 -1
- package/lib/ExchangeRateTileContent.js.map +0 -1
- package/lib/Footer/Contacts.d.ts +0 -7
- package/lib/Footer/Contacts.js +0 -29
- package/lib/Footer/Contacts.js.map +0 -1
- package/lib/Footer/Footer.d.ts +0 -5
- package/lib/Footer/Footer.js +0 -15
- package/lib/Footer/Footer.js.map +0 -1
- package/lib/Footer/Footer.mobile.d.ts +0 -5
- package/lib/Footer/Footer.mobile.js.map +0 -1
- package/lib/Footer/FooterContent.d.ts +0 -13
- package/lib/Footer/FooterContent.js.map +0 -1
- package/lib/Footer/FooterLink.d.ts +0 -5
- package/lib/Footer/FooterLink.js.map +0 -1
- package/lib/Footer/HorizontalNavigation.js +0 -10
- package/lib/Footer/HorizontalNavigation.js.map +0 -1
- package/lib/Footer/Sitemap.d.ts +0 -6
- package/lib/Footer/Sitemap.js +0 -20
- package/lib/Footer/Sitemap.js.map +0 -1
- package/lib/Footer/SocialMedia.d.ts +0 -6
- package/lib/Footer/SocialMedia.js +0 -22
- package/lib/Footer/SocialMedia.js.map +0 -1
- package/lib/Footer/TextInformation.js +0 -10
- package/lib/Footer/TextInformation.js.map +0 -1
- package/lib/Gallery.d.ts +0 -5
- package/lib/Gallery.js.map +0 -1
- package/lib/Gallery.mobile.js +0 -16
- package/lib/Gallery.mobile.js.map +0 -1
- package/lib/GalleryContent.d.ts +0 -13
- package/lib/GalleryContent.js.map +0 -1
- package/lib/GalleryInner.d.ts +0 -7
- package/lib/GalleryInner.js +0 -44
- package/lib/GalleryInner.js.map +0 -1
- package/lib/Header/Header.d.ts +0 -5
- package/lib/Header/Header.js +0 -24
- package/lib/Header/Header.js.map +0 -1
- package/lib/Header/HeaderContent.d.ts +0 -4
- package/lib/Header/HeaderContent.js.map +0 -1
- package/lib/Header/HeaderSecondaryMenu.d.ts +0 -9
- package/lib/Header/HeaderSecondaryMenu.js +0 -10
- package/lib/Header/HeaderSecondaryMenu.js.map +0 -1
- package/lib/Header/HeaderSecondaryMenuButton.js.map +0 -1
- package/lib/Header/isSubItemActive.d.ts +0 -3
- package/lib/Header/isSubItemActive.js +0 -5
- package/lib/Header/isSubItemActive.js.map +0 -1
- package/lib/Header/isTopItemActive.d.ts +0 -3
- package/lib/Header/isTopItemActive.js +0 -5
- package/lib/Header/isTopItemActive.js.map +0 -1
- package/lib/LikeControl.d.ts +0 -2
- package/lib/LikeControl.js +0 -8
- package/lib/LikeControl.js.map +0 -1
- package/lib/MiniGallery.d.ts +0 -5
- package/lib/MiniGallery.js +0 -5
- package/lib/MiniGallery.js.map +0 -1
- package/lib/MobileAppTile.d.ts +0 -5
- package/lib/MobileAppTile.js +0 -7
- package/lib/MobileAppTile.js.map +0 -1
- package/lib/MobileAppTileContent.d.ts +0 -9
- package/lib/MobileAppTileContent.js.map +0 -1
- package/lib/MobileBlocks.d.ts +0 -12
- package/lib/MobileBlocks.js +0 -26
- package/lib/MobileBlocks.js.map +0 -1
- package/lib/Placeholder.d.ts +0 -6
- package/lib/Placeholder.js +0 -13
- package/lib/Placeholder.js.map +0 -1
- package/lib/PlaceholderContent.js.map +0 -1
- package/lib/ProductBlock.d.ts +0 -5
- package/lib/ProductBlock.js +0 -13
- package/lib/ProductBlock.js.map +0 -1
- package/lib/ProductBlock.mobile.d.ts +0 -5
- package/lib/ProductBlock.mobile.js.map +0 -1
- package/lib/ProductBlockContent.d.ts +0 -5
- package/lib/ProductBlockContent.js.map +0 -1
- package/lib/ProductBlockInner.d.ts +0 -5
- package/lib/ProductBlockInner.js +0 -15
- package/lib/ProductBlockInner.js.map +0 -1
- package/lib/ProductBlockInnerContent.d.ts +0 -5
- package/lib/ProductBlockInnerContent.js +0 -2
- package/lib/ProductBlockInnerContent.js.map +0 -1
- package/lib/ProductGallery.d.ts +0 -5
- package/lib/ProductGallery.js +0 -25
- package/lib/ProductGallery.js.map +0 -1
- package/lib/ProductGalleryContent.d.ts +0 -14
- package/lib/ProductGalleryContent.js.map +0 -1
- package/lib/ProductTile.d.ts +0 -5
- package/lib/ProductTile.js +0 -18
- package/lib/ProductTile.js.map +0 -1
- package/lib/ProductTileContent.d.ts +0 -5
- package/lib/ProductTileContent.js.map +0 -1
- package/lib/PromoTile.d.ts +0 -5
- package/lib/PromoTile.js +0 -16
- package/lib/PromoTile.js.map +0 -1
- package/lib/PromoTileContent.d.ts +0 -4
- package/lib/PromoTileContent.js.map +0 -1
- package/lib/StepsBlock.d.ts +0 -5
- package/lib/StepsBlock.js +0 -15
- package/lib/StepsBlock.js.map +0 -1
- package/lib/StepsBlockContent.d.ts +0 -10
- package/lib/StepsBlockContent.js.map +0 -1
- package/lib/TextBlock.d.ts +0 -5
- package/lib/TextBlock.js +0 -34
- package/lib/TextBlock.js.map +0 -1
- package/lib/TextBlockContent.d.ts +0 -10
- package/lib/TextBlockContent.js.map +0 -1
- package/lib/Tile.d.ts +0 -5
- package/lib/Tile.js +0 -25
- package/lib/Tile.js.map +0 -1
- package/lib/TileContent.d.ts +0 -2
- package/lib/TileContent.js.map +0 -1
- package/lib/toMobilePage.d.ts +0 -2
- package/lib/toMobilePage.js.map +0 -1
- package/lib/ui-kit/ArrowButton.js +0 -20
- package/lib/ui-kit/ArrowButton.js.map +0 -1
- package/lib/ui-kit/BlockItem.js.map +0 -1
- package/lib/ui-kit/Button.js.map +0 -1
- package/lib/ui-kit/ButtonProps.d.ts +0 -21
- package/lib/ui-kit/ButtonProps.js.map +0 -1
- package/lib/ui-kit/HeaderItem.d.ts +0 -3
- package/lib/ui-kit/HeaderItem.js.map +0 -1
- package/lib/ui-kit/Icon.js +0 -5
- package/lib/ui-kit/Icon.js.map +0 -1
- package/lib/ui-kit/IconProps.js.map +0 -1
- package/lib/ui-kit/LikeButton.js.map +0 -1
- package/lib/ui-kit/Logo.js +0 -14
- package/lib/ui-kit/Logo.js.map +0 -1
- package/lib/ui-kit/Title.js.map +0 -1
- package/lib/ui-kit/TitleProps.js.map +0 -1
- package/lib/ui-kit/TopItem.d.ts +0 -11
- package/lib/ui-kit/TopItem.js.map +0 -1
- package/lib/useLink.d.ts +0 -15
- package/lib/useLink.js +0 -19
- package/lib/useLink.js.map +0 -1
- package/lib/useSitemap.d.ts +0 -3
- package/lib/useSitemap.js +0 -13
- package/lib/useSitemap.js.map +0 -1
- package/src/BaseTile.tsx +0 -98
- package/src/BaseTileContent.ts +0 -14
- package/src/BenefitsBlock.fixture.tsx +0 -34
- package/src/BenefitsBlock.tsx +0 -42
- package/src/BenefitsBlockContent.ts +0 -12
- package/src/BlockContent.ts +0 -32
- package/src/Blocks.ts +0 -35
- package/src/ComparisonTable/ComparisonTable.fixture.tsx +0 -265
- package/src/ComparisonTable/ComparisonTable.tsx +0 -126
- package/src/ComparisonTable/ComparisonTableContent.ts +0 -43
- package/src/ComparisonTable/HeaderCell.tsx +0 -50
- package/src/ComparisonTable/index.ts +0 -3
- package/src/ContentPage.fixture.tsx +0 -58
- package/src/ContentPage.tsx +0 -88
- package/src/ContentPageHead.tsx +0 -26
- package/src/ExchangeRateTile.fixture.tsx +0 -11
- package/src/ExchangeRateTile.tsx +0 -80
- package/src/Footer/Contacts.tsx +0 -73
- package/src/Footer/Footer.fixture.tsx +0 -265
- package/src/Footer/Footer.mobile.tsx +0 -12
- package/src/Footer/Footer.tsx +0 -40
- package/src/Footer/FooterContent.ts +0 -15
- package/src/Footer/FooterLink.ts +0 -6
- package/src/Footer/HorizontalNavigation.tsx +0 -46
- package/src/Footer/Sitemap.tsx +0 -58
- package/src/Footer/SocialMedia.tsx +0 -52
- package/src/Footer/TextInformation.tsx +0 -50
- package/src/Gallery.fixture.tsx +0 -215
- package/src/Gallery.mobile.tsx +0 -71
- package/src/Gallery.tsx +0 -8
- package/src/GalleryContent.ts +0 -15
- package/src/GalleryInner.tsx +0 -135
- package/src/Header/Header.fixture.tsx +0 -21
- package/src/Header/Header.tsx +0 -59
- package/src/Header/HeaderContent.ts +0 -5
- package/src/Header/HeaderSecondaryMenu.tsx +0 -56
- package/src/Header/isSubItemActive.ts +0 -7
- package/src/Header/isTopItemActive.ts +0 -8
- package/src/LikeControl.fixture.tsx +0 -5
- package/src/LikeControl.tsx +0 -23
- package/src/MiniGallery.fixture.tsx +0 -90
- package/src/MiniGallery.tsx +0 -10
- package/src/MobileAppTile.fixture.tsx +0 -34
- package/src/MobileAppTile.tsx +0 -32
- package/src/MobileAppTileContent.ts +0 -11
- package/src/MobileBlocks.ts +0 -26
- package/src/Placeholder.fixture.tsx +0 -5
- package/src/Placeholder.tsx +0 -30
- package/src/ProductBlock.fixture.tsx +0 -96
- package/src/ProductBlock.mobile.tsx +0 -19
- package/src/ProductBlock.tsx +0 -37
- package/src/ProductBlockContent.ts +0 -6
- package/src/ProductBlockInner.tsx +0 -57
- package/src/ProductBlockInnerContent.ts +0 -6
- package/src/ProductGallery.fixture.tsx +0 -138
- package/src/ProductGallery.tsx +0 -78
- package/src/ProductGalleryContent.ts +0 -16
- package/src/ProductTile.fixture.tsx +0 -155
- package/src/ProductTile.tsx +0 -43
- package/src/ProductTileContent.ts +0 -6
- package/src/PromoTile.fixture.tsx +0 -25
- package/src/PromoTile.tsx +0 -43
- package/src/PromoTileContent.ts +0 -5
- package/src/StepsBlock.fixture.tsx +0 -23
- package/src/StepsBlock.tsx +0 -55
- package/src/StepsBlockContent.ts +0 -12
- package/src/TextBlock.fixture.tsx +0 -116
- package/src/TextBlock.tsx +0 -65
- package/src/TextBlockContent.ts +0 -12
- package/src/Tile.fixture.tsx +0 -134
- package/src/Tile.tsx +0 -38
- package/src/TileContent.ts +0 -3
- package/src/toMobilePage.ts +0 -21
- package/src/ui-kit/ArrowButton.tsx +0 -32
- package/src/ui-kit/BlockItem.fixture.tsx +0 -5
- package/src/ui-kit/Button.fixture.tsx +0 -163
- package/src/ui-kit/Button.tsx +0 -90
- package/src/ui-kit/ButtonProps.ts +0 -24
- package/src/ui-kit/HeaderItem.fixture.tsx +0 -8
- package/src/ui-kit/HeaderItem.tsx +0 -25
- package/src/ui-kit/Icon.fixture.tsx +0 -22
- package/src/ui-kit/Icon.tsx +0 -15
- package/src/ui-kit/Logo.fixture.tsx +0 -5
- package/src/ui-kit/Logo.tsx +0 -35
- package/src/ui-kit/TopItem.fixture.tsx +0 -8
- package/src/ui-kit/TopItem.tsx +0 -37
- package/src/useLink.ts +0 -28
- package/src/useSitemap.ts +0 -17
package/lib/TextBlock.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { Img } from './ui-kit/Img.js';
|
|
4
|
-
const textBlockStyleMaps = {
|
|
5
|
-
primary: {
|
|
6
|
-
background: 'bg-white',
|
|
7
|
-
icon: 'bg-primary-main text-white',
|
|
8
|
-
title: 'text-primary-text',
|
|
9
|
-
description: 'text-secondary-text',
|
|
10
|
-
},
|
|
11
|
-
secondary: {
|
|
12
|
-
background: 'bg-primary-main',
|
|
13
|
-
icon: 'bg-white text-primary-main',
|
|
14
|
-
title: 'text-white',
|
|
15
|
-
description: 'text-white',
|
|
16
|
-
},
|
|
17
|
-
'secondary-light': {
|
|
18
|
-
background: 'bg-primary-main/10',
|
|
19
|
-
icon: 'bg-primary-main text-white',
|
|
20
|
-
title: 'text-primary-text',
|
|
21
|
-
description: 'text-secondary-text',
|
|
22
|
-
},
|
|
23
|
-
};
|
|
24
|
-
export const TextBlock = JSX(({ title, description, blockVersion = 'primary', iconVersion, image, className }) => {
|
|
25
|
-
const textBlockStyleMap = textBlockStyleMaps[blockVersion];
|
|
26
|
-
return (_jsxs("section", { className: `font-sans px-9 py-4 flex ${textBlockStyleMap.background} ${className || ''}`, children: [iconVersion && iconVersion === 'small' ? renderIcon(textBlockStyleMap.icon) : null, iconVersion && iconVersion === 'big' ? renderImage(image) : null, _jsxs("div", { className: "py-0.5", children: [title && (_jsx("div", { className: `font-medium text-base mb-1 ${textBlockStyleMap.title}`, children: title })), description && (_jsx("div", { className: `text-sm ${textBlockStyleMap.description}`, children: description }))] })] }));
|
|
27
|
-
});
|
|
28
|
-
function renderIcon(className) {
|
|
29
|
-
return (_jsx("div", { className: `pt-1.5 pr-4`, children: _jsx("div", { className: `rounded-full h-4 w-4 text-center text-xs ${className}`, children: "i" }) }));
|
|
30
|
-
}
|
|
31
|
-
function renderImage(image) {
|
|
32
|
-
return image?.src ? _jsx(Img, { className: "pt-0.5 pr-3", image: image }) : null;
|
|
33
|
-
}
|
|
34
|
-
//# sourceMappingURL=TextBlock.js.map
|
package/lib/TextBlock.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextBlock.js","sourceRoot":"","sources":["../src/TextBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAInC,MAAM,kBAAkB,GAGpB;IACF,OAAO,EAAE;QACP,UAAU,EAAE,UAAU;QACtB,IAAI,EAAE,4BAA4B;QAClC,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAAE,qBAAqB;KACnC;IACD,SAAS,EAAE;QACT,UAAU,EAAE,iBAAiB;QAC7B,IAAI,EAAE,4BAA4B;QAClC,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,YAAY;KAC1B;IACD,iBAAiB,EAAE;QACjB,UAAU,EAAE,oBAAoB;QAChC,IAAI,EAAE,4BAA4B;QAClC,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAAE,qBAAqB;KACnC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAC1B,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,GAAG,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE;IAClF,MAAM,iBAAiB,GAAG,kBAAkB,CAAC,YAAY,CAAC,CAAC;IAC3D,OAAO,CACL,mBACE,SAAS,EAAE,4BAA4B,iBAAiB,CAAC,UAAU,IAAI,SAAS,IAAI,EAAE,EAAE,aAEvF,WAAW,IAAI,WAAW,KAAK,OAAO,CAAC,CAAC,CAAC,UAAU,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,EAClF,WAAW,IAAI,WAAW,KAAK,KAAK,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,EACjE,eAAK,SAAS,EAAC,QAAQ,aACpB,KAAK,IAAI,CACR,cAAK,SAAS,EAAE,8BAA8B,iBAAiB,CAAC,KAAK,EAAE,YAAG,KAAK,GAAO,CACvF,EACA,WAAW,IAAI,CACd,cAAK,SAAS,EAAE,WAAW,iBAAiB,CAAC,WAAW,EAAE,YAAG,WAAW,GAAO,CAChF,IACG,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,UAAU,CAAC,SAAiB;IACnC,OAAO,CACL,cAAK,SAAS,EAAE,aAAa,YAC3B,cAAK,SAAS,EAAE,4CAA4C,SAAS,EAAE,kBAAS,GAC5E,CACP,CAAC;AACJ,CAAC;AAED,SAAS,WAAW,CAAC,KAAe;IAClC,OAAO,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC;AAC3E,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Picture } from './model/Picture';
|
|
2
|
-
export declare type TextBlockVersion = 'primary' | 'secondary' | 'secondary-light';
|
|
3
|
-
export declare type TextBlockIconVersion = 'none' | 'small' | 'big';
|
|
4
|
-
export interface TextBlockContent {
|
|
5
|
-
title?: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
blockVersion?: TextBlockVersion;
|
|
8
|
-
iconVersion?: TextBlockIconVersion;
|
|
9
|
-
image?: Picture;
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextBlockContent.js","sourceRoot":"","sources":["../src/TextBlockContent.ts"],"names":[],"mappings":""}
|
package/lib/Tile.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { TileContent } from './TileContent';
|
|
2
|
-
import type { UniBlockProps } from './types';
|
|
3
|
-
export interface TileProps extends TileContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const Tile: (props: import("@redneckz/uni-jsx").PropsWithChildren<TileProps, any>, context?: any) => any;
|
package/lib/Tile.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { BaseTile } from './BaseTile.js';
|
|
4
|
-
import { getColSpan } from './utils/getColSpan.js';
|
|
5
|
-
const tileStyleMap = {
|
|
6
|
-
primary: 'bg-white text-primary-text',
|
|
7
|
-
secondary: 'bg-primary-main text-white',
|
|
8
|
-
};
|
|
9
|
-
export const Tile = JSX((props) => {
|
|
10
|
-
const { children, className, version = 'primary' } = props;
|
|
11
|
-
return (_jsx("section", { className: `font-sans p-9 min-h-[320px] box-border ${className || ''} ${tileStyleMap[version]} ${getContainerPaddingRight(className)} `, children: _jsx(BaseTile, { ...props, children: children }) }));
|
|
12
|
-
});
|
|
13
|
-
function getContainerPaddingRight(className = '') {
|
|
14
|
-
const colSpan = getColSpan(className);
|
|
15
|
-
if (colSpan <= 6) {
|
|
16
|
-
return 'pr-9';
|
|
17
|
-
}
|
|
18
|
-
else if (colSpan <= 8) {
|
|
19
|
-
return 'pr-[4.75rem]';
|
|
20
|
-
}
|
|
21
|
-
else {
|
|
22
|
-
return 'pr-[9.4rem]';
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=Tile.js.map
|
package/lib/Tile.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Tile.js","sourceRoot":"","sources":["../src/Tile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAItC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIhD,MAAM,YAAY,GAAiC;IACjD,OAAO,EAAE,4BAA4B;IACrC,SAAS,EAAE,4BAA4B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CAAY,CAAC,KAAK,EAAE,EAAE;IAC3C,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;IAE3D,OAAO,CACL,kBACE,SAAS,EAAE,0CAA0C,SAAS,IAAI,EAAE,IAClE,YAAY,CAAC,OAAO,CACtB,IAAI,wBAAwB,CAAC,SAAS,CAAC,GAAG,YAE1C,KAAC,QAAQ,OAAK,KAAK,YAAG,QAAQ,GAAY,GAClC,CACX,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,SAAS,wBAAwB,CAAC,YAAoB,EAAE;IACtD,MAAM,OAAO,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC;IACtC,IAAI,OAAO,IAAI,CAAC,EAAE;QAChB,OAAO,MAAM,CAAC;KACf;SAAM,IAAI,OAAO,IAAI,CAAC,EAAE;QACvB,OAAO,cAAc,CAAC;KACvB;SAAM;QACL,OAAO,aAAa,CAAC;KACtB;AACH,CAAC"}
|
package/lib/TileContent.d.ts
DELETED
package/lib/TileContent.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TileContent.js","sourceRoot":"","sources":["../src/TileContent.ts"],"names":[],"mappings":""}
|
package/lib/toMobilePage.d.ts
DELETED
package/lib/toMobilePage.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"toMobilePage.js","sourceRoot":"","sources":["../src/toMobilePage.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,YAAY,CAAC,WAA2B;IACtD,MAAM,MAAM,GAAG,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;IAC9F,OAAO;QACL,GAAG,WAAW;QACd,MAAM;KACP,CAAC;AACJ,CAAC;AAED,SAAS,aAAa,CAAC,KAAe;IACpC,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IACzB,IAAI,MAAM,EAAE;QACV,OAAO;YACL,GAAG,KAAK;YACR,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK;SACzD,CAAC;KACH;SAAM;QACL,OAAO,KAAK,CAAC;KACd;AACH,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { Button } from './Button.js';
|
|
4
|
-
import { SVG } from './SVG.js';
|
|
5
|
-
const ARROW_PATHS = [
|
|
6
|
-
{
|
|
7
|
-
d: 'm9 12 4-4-4-4',
|
|
8
|
-
stroke: 'currentColor',
|
|
9
|
-
strokeWidth: '2',
|
|
10
|
-
strokeLinecap: 'round',
|
|
11
|
-
fill: 'none',
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
d: 'M2 9a1 1 0 0 1 0-2v2Zm6-2a1 1 0 0 1 0 2V7ZM2 7h6v2H2V7Z',
|
|
15
|
-
},
|
|
16
|
-
];
|
|
17
|
-
export const ArrowButton = JSX(({ className, disabled, ...rest }) => (_jsx(Button, { rounded: true, 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 ${disabled
|
|
18
|
-
? 'bg-secondary-light text-secondary-text'
|
|
19
|
-
: 'bg-white text-primary-text hover:text-primary-main'} ${className || ''}`, disabled: disabled, ...rest, children: _jsx(SVG, { paths: ARROW_PATHS, viewBox: "0 0 16 16", fill: "none", width: "16", height: "16" }) })));
|
|
20
|
-
//# sourceMappingURL=ArrowButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ArrowButton.js","sourceRoot":"","sources":["../../src/ui-kit/ArrowButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B,MAAM,WAAW,GAAG;IAClB;QACE,CAAC,EAAE,eAAe;QAClB,MAAM,EAAE,cAAc;QACtB,WAAW,EAAE,GAAG;QAChB,aAAa,EAAE,OAAO;QACtB,IAAI,EAAE,MAAM;KACb;IACD;QACE,CAAC,EAAE,yDAAyD;KAC7D;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAc,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAChF,KAAC,MAAM,IACL,OAAO,QACP,SAAS,EAAE,qGACT,QAAQ;QACN,CAAC,CAAC,wCAAwC;QAC1C,CAAC,CAAC,oDACN,IAAI,SAAS,IAAI,EAAE,EAAE,EACrB,QAAQ,EAAE,QAAQ,KACd,IAAI,YAER,KAAC,GAAG,IAAC,KAAK,EAAE,WAAW,EAAE,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GAC3E,CACV,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BlockItem.js","sourceRoot":"","sources":["../../src/ui-kit/BlockItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAYxC,MAAM,YAAY,GAAqC;IACrD,OAAO,EAAE,iBAAiB;IAC1B,SAAS,EAAE,UAAU;CACtB,CAAC;AAEF,MAAM,YAAY,GAAqC;IACrD,OAAO,EAAE,mBAAmB;IAC5B,SAAS,EAAE,YAAY;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAC1B,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,GAAG,SAAS,EAAE,EAAE,EAAE;IACrD,OAAO,CACL,eAAK,SAAS,EAAE,qBAAqB,SAAS,IAAI,EAAE,EAAE,EAAE,IAAI,EAAC,UAAU,aACrE,cACE,SAAS,EAAE,0EAA0E,YAAY,CAAC,OAAO,CAAC,EAAE,GACvG,EACP,eAAM,SAAS,EAAE,wCAAwC,YAAY,CAAC,OAAO,CAAC,EAAE,YAC7E,IAAI,IAAI,QAAQ,GACZ,IACH,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
package/lib/ui-kit/Button.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../src/ui-kit/Button.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,MAAM,cAAc,GAAkC;IACpD,OAAO,EAAE,4EAA4E;IACrF,SAAS,EACP,0FAA0F;CAC7F,CAAC;AAEF,MAAM,sBAAsB,GAAkC;IAC5D,OAAO,EAAE,uCAAuC;IAChD,SAAS,EAAE,wCAAwC;CACpD,CAAC;AAEF,MAAM,WAAW,GAAG,gDAAgD,CAAC;AAErE,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CACvB,CAAC,EACC,SAAS,EACT,IAAI,EACJ,SAAS,EACT,UAAU,EACV,IAAI,EACJ,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,OAAO,GAAG,MAAM,EAChB,SAAS,EACT,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,WAAW,GAAG,QAAQ,IAAI,CAC9B,KAAC,WAAW,IAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAI,CAC5F,CAAC;IAEF,IAAI,QAAQ,EAAE;QACZ,OAAO,CACL,cACE,IAAI,EAAC,QAAQ,mBACC,MAAM,gBACR,SAAS,EACrB,QAAQ,EAAC,IAAI,EACb,SAAS,EAAE,GAAG,WAAW,IAAI,sBAAsB,CAAC,OAAO,CAAC,IAAI,EAAE,IAChE,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAC7B,IAAI,SAAS,IAAI,EAAE,EAAE,YAEpB,WAAW,GACR,CACP,CAAC;KACH;IAED,OAAO,CACL,YACE,SAAS,EAAE,GAAG,WAAW,gCAAgC,cAAc,CAAC,OAAO,CAAC,IAAI,EAAE,IACpF,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAC7B,IAAI,SAAS,IAAI,EAAE,EAAE,EACrB,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,gBACJ,SAAS,EACrB,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,KAC3B,IAAI,YAEP,WAAW,GACV,CACL,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,EAAE;IAC5F,MAAM,WAAW,GAAG,CAAC,IAAI,IAAI,CAAC,SAAS,IAAI,OAAO,CAAC,UAAU,CAAC,CAAC;IAE/D,MAAM,kBAAkB,GAAG,oCACzB,WAAW,CAAC,CAAC,CAAC,6BAA6B,CAAC,CAAC,CAAC,cAAc,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,WAAW,EAC9F,IAAI,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAEpC,OAAO,CACL,eAAK,SAAS,EAAE,kBAAkB,aAC/B,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,EAC9B,CAAC,WAAW,CAAC,CAAC,CAAC,CACd,0BACE,cAAK,SAAS,EAAC,oBAAoB,YAAE,SAAS,GAAO,EACrD,cAAK,SAAS,EAAC,+BAA+B,YAAE,IAAI,GAAO,IACvD,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { ButtonVersion } from '../model/ButtonVersion';
|
|
2
|
-
import type { LinkContent } from '../model/LinkContent';
|
|
3
|
-
import { IconName } from './IconProps';
|
|
4
|
-
export interface ButtonInnerProps {
|
|
5
|
-
text?: string;
|
|
6
|
-
aboveText?: string;
|
|
7
|
-
appendLeft?: any;
|
|
8
|
-
rounded?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export interface ButtonProps extends LinkContent, ButtonInnerProps {
|
|
11
|
-
className?: string;
|
|
12
|
-
version?: ButtonVersion;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
rel?: string;
|
|
15
|
-
ariaLabel?: string;
|
|
16
|
-
/** @hidden */
|
|
17
|
-
onClick?: (ev: MouseEvent) => any;
|
|
18
|
-
}
|
|
19
|
-
export interface ButtonWithIconProps extends ButtonProps {
|
|
20
|
-
icon?: IconName;
|
|
21
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonProps.js","sourceRoot":"","sources":["../../src/ui-kit/ButtonProps.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderItem.js","sourceRoot":"","sources":["../../src/ui-kit/HeaderItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAKxC,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAC3B,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC/D,MAAM,SAAS,GAAG,MAAM,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,2CAA2C,CAAC;IAC7F,OAAO,CACL,aACE,SAAS,EAAE,iEACT,SAAS,IAAI,EACf,EAAE,EACF,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,aAEhB,eAAM,SAAS,EAAE,mCAAmC,SAAS,EAAE,YAAG,IAAI,IAAI,QAAQ,GAAQ,EACzF,MAAM,CAAC,CAAC,CAAC,CACR,cAAK,SAAS,EAAC,0DAA0D,GAAG,CAC7E,CAAC,CAAC,CAAC,IAAI,IACN,CACL,CAAC;AACJ,CAAC,CACF,CAAC"}
|
package/lib/ui-kit/Icon.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { projectSettings } from '../ProjectSettings.js';
|
|
4
|
-
export const Icon = JSX(({ className, name, alt = `Icon ${name}`, title = alt, ...imgProps }) => (_jsx("img", { className: className, src: `${projectSettings.CDN || ''}icons/${name}.svg`, alt: alt, title: title, ...imgProps })));
|
|
5
|
-
//# sourceMappingURL=Icon.js.map
|
package/lib/ui-kit/Icon.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.js","sourceRoot":"","sources":["../../src/ui-kit/Icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAGrD,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CACrB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,GAAG,QAAQ,IAAI,EAAE,EAAE,KAAK,GAAG,GAAG,EAAE,GAAG,QAAQ,EAAE,EAAE,EAAE,CAAC,CACvE,cACE,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,GAAG,eAAe,CAAC,GAAG,IAAI,EAAE,SAAS,IAAI,MAAM,EACpD,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,KACR,QAAQ,GACZ,CACH,CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IconProps.js","sourceRoot":"","sources":["../../src/ui-kit/IconProps.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,OAqBX;AArBD,WAAY,OAAO;IACjB,+DAAmB,CAAA;IACnB,+CAAW,CAAA;IACX,qDAAc,CAAA;IACd,+CAAW,CAAA;IACX,mEAAqB,CAAA;IACrB,iDAAY,CAAA;IACZ,2DAAiB,CAAA;IACjB,6CAAU,CAAA;IACV,6CAAU,CAAA;IACV,+CAAW,CAAA;IACX,kDAAY,CAAA;IACZ,0CAAQ,CAAA;IACR,sDAAc,CAAA;IACd,sEAAsB,CAAA;IACtB,0DAAgB,CAAA;IAChB,oDAAa,CAAA;IACb,sDAAc,CAAA;IACd,sDAAc,CAAA;IACd,0CAAQ,CAAA;IACR,gDAAW,CAAA;AACb,CAAC,EArBW,OAAO,KAAP,OAAO,QAqBlB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LikeButton.js","sourceRoot":"","sources":["../../src/ui-kit/LikeButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAQxC,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAkB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CACpF,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,+CAA+C,SAAS,IAAI,EAAE,EAAE,EAC3E,OAAO,EAAE,OAAO,gBACJ,SAAS,YAEpB,cAAc,EAAE,GACV,CACV,CAAC,CAAC;AAEH,MAAM,cAAc,GAAG,GAAG,EAAE;IAC1B,MAAM,MAAM,GAAG;QACb,MAAM,EAAE,SAAS;QACjB,aAAa,EAAE,OAAO;QACtB,cAAc,EAAE,OAAO;QACvB,WAAW,EAAE,KAAK;KACnB,CAAC;IAEF,OAAO,CACL,eAAK,KAAK,EAAC,4BAA4B,EAAC,IAAI,EAAC,MAAM,EAAC,OAAO,EAAC,WAAW,aACrE,kBACM,MAAM,EACV,gBAAgB,EAAC,IAAI,EACrB,CAAC,EAAC,wLAAwL,GAC1L,EACF,kBACM,MAAM,EACV,CAAC,EAAC,oGAAoG,GACtG,IACE,CACP,CAAC;AACJ,CAAC,CAAC"}
|
package/lib/ui-kit/Logo.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { SVG } from './SVG.js';
|
|
4
|
-
const LOGO_PATHS = [
|
|
5
|
-
'm13.72 25.51 4.42-4.33v-2.95l-4.42 4.32v2.96Zm0-10.98 4.42-4.35V7.41l-4.42 4.31v2.8Zm0 3.63 4.42-4.33v-2.78l-4.42 4.32v2.8ZM12.46 7.44l-.6-.56V0h-.66v6.22l-.58-.57V0h-.67v5l-.59-.58V0H8.7v6.56l4.44 4.33V0h-.67v7.44Zm1.26 14.35 4.42-4.33v-2.78L13.72 19v2.8Zm-5.03-.61 4.44 4.33v-2.96l-4.44-4.32v2.95Zm8.79-16.76-.59.58V0h-.66v5.66l-.6.56V0h-.66v6.87l-.58.57V0h-.67v10.9l4.42-4.34V0h-.66v4.42Zm-8.79 5.76 4.44 4.35v-2.8L8.69 7.4v2.77Zm0 3.65 4.44 4.33v-2.8l-4.44-4.3v2.77Zm0 3.63 4.44 4.33V19l-4.44-4.31v2.78Zm26.37 2.29H24.3a2.25 2.25 0 0 0 .36-1.22 2.32 2.32 0 0 0-2.33-2.31 2.32 2.32 0 0 0-2.31 2.31c0 .5.16.96.43 1.34a.74.74 0 0 0-.33.61c0 .26.14.49.33.62a2.32 2.32 0 0 0-.43 1.34 2.31 2.31 0 0 0 2.31 2.31 2.32 2.32 0 0 0 2.33-2.31c0-.45-.13-.87-.36-1.22h8.01v.49h-.8v.68h.8v.7h-.8v1.3h.8v-.58h1.17v.58h.79v-1.3h-.79v-.7h.79v-.68h-.79v-.5h1.58a.56.56 0 0 0 .56-.56v-.34a.57.57 0 0 0-.56-.56Zm-11.53 2.7a1.2 1.2 0 0 1-2.4 0c0-.24.08-.47.2-.66l.34-.56a.97.97 0 0 1-.34-.75c0-.3.13-.56.33-.74l-.32-.56a1.13 1.13 0 0 1-.2-.66 1.2 1.2 0 0 1 2.4 0c0 .49-.56 1.65-.56 1.65v.62c-.01.01.55 1.17.55 1.66ZM4.67 18.34v2.89c0 2.75 1.2 4.53 1.9 5.21l4.58 4.5c1.28 1.25 1.5 1.66 1.79 2.37v-3.2c0-2.84-1.44-3.94-2.19-4.67-1.73-1.68-2.89-2.8-3.82-3.73a8.98 8.98 0 0 1-2.26-3.37Zm6.08 14.24c-1.73-1.7-2.89-2.8-3.82-3.73a10 10 0 0 1-2.25-2.98v2.49a7.87 7.87 0 0 0 1.89 5.24l4.58 4.47c1.28 1.25 1.5 1.85 1.79 2.55v-3.37c0-2.85-1.45-3.95-2.19-4.67Z',
|
|
6
|
-
'M19.88 5.34c-.32 0-.64 0-.96.02V6.7a18.5 18.5 0 1 1 .95 36.94A18.5 18.5 0 0 1 1.35 25.17c0-5.67 2.55-10.73 6.58-14.13V9.32A19.78 19.78 0 0 0 0 25.17C0 36.12 8.9 45 19.88 45a19.85 19.85 0 0 0 19.86-19.83c0-10.95-8.9-19.83-19.87-19.83Z',
|
|
7
|
-
'M33.93 35.53c.3-.41.6-.85.87-1.3v-2.66h-.87v3.96Zm2.54-4.92c.12-.4.24-.78.34-1.16h-2.88v.7h.43c.77-.02 1.63-.03 2.11.46Zm-19.19-1.27h-.78v7.91h.78v-7.9Z',
|
|
8
|
-
'M14.7 27.83h2.58c.67 0 1.14.14 1.4.4.27.25.4.72.4 1.38v7.4c0 .66-.12 1.12-.4 1.38-.4.41-1.16.41-1.78.41l-.4-.01v3.5l.78.14v-2.88c1.2 0 1.97-.4 2.34-1.22v4.29h.26l.5-.01V29.74c0-.68.13-1.16.4-1.43.25-.27.72-.4 1.37-.4.67 0 1.65-.1 2.16.4.26.27.38.76.38 1.43v3.8h-1.77v-4.06h-.77v12.99c.26-.03.5-.07.77-.12V34.3h1.77v7.64c.36-.1.72-.21 1.08-.34v-7c0-.8.19-1.4 1-1.67l-.9-4.87h1.8l.3 5.31h.22l.3-5.31h1.88l-1.01 4.87c.84.3 1.01.81 1.01 1.66v4.53a16.63 16.63 0 0 0 1.5-1.27v-9.83h5.25l.1-.72H24.93l.17.89c-.38-.72-1.12-1.08-2.2-1.08h-.77c-1.3 0-2.1.52-2.4 1.55-.27-1.08-1.1-1.62-2.46-1.62h-3.36v14.52c.26.09.52.18.78.25V27.84Zm16.29 5.58-.85-.8.85-4.37v5.17Z',
|
|
9
|
-
'M27.66 40.79c.27-.14.55-.28.8-.43v-5.98h-.8v6.4Z',
|
|
10
|
-
];
|
|
11
|
-
export const Logo = JSX(({ className, href, children, targetBlank }) => {
|
|
12
|
-
return (_jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className || ''}`, href: href || 'https://rshb.ru/', target: targetBlank ? '_blank' : '_self', children: [_jsx(SVG, { className: "text-primary-main w-10", viewBox: "0 0 40 45", paths: LOGO_PATHS.map((d) => ({ d })) }), _jsx("span", { className: "text-black text-base font-medium ml-2.5", children: children || 'Россельхозбанк' })] }));
|
|
13
|
-
});
|
|
14
|
-
//# sourceMappingURL=Logo.js.map
|
package/lib/ui-kit/Logo.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Logo.js","sourceRoot":"","sources":["../../src/ui-kit/Logo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAQ5B,MAAM,UAAU,GAAG;IACjB,w5CAAw5C;IACx5C,2OAA2O;IAC3O,0JAA0J;IAC1J,gpBAAgpB;IAChpB,kDAAkD;CACnD,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CAAqB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,EAAE,EAAE;IACzF,OAAO,CACL,aACE,SAAS,EAAE,mDAAmD,SAAS,IAAI,EAAE,EAAE,EAC/E,IAAI,EAAE,IAAI,IAAI,kBAAkB,EAChC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,aAExC,KAAC,GAAG,IACF,SAAS,EAAC,wBAAwB,EAClC,OAAO,EAAC,WAAW,EACnB,KAAK,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,GACrC,EACF,eAAM,SAAS,EAAC,yCAAyC,YACtD,QAAQ,IAAI,gBAAgB,GACxB,IACL,CACL,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
package/lib/ui-kit/Title.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Title.js","sourceRoot":"","sources":["../../src/ui-kit/Title.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAc,MAAM,cAAc,CAAC;AAE1D,MAAM,CAAC,MAAM,KAAK,GAAG,GAAG,CAAa,CAAC,EAAE,IAAI,GAAG,GAAG,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACpF,MAAM,GAAG,GAAG,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IACxC,OAAO,CACL,KAAC,GAAG,IAAC,SAAS,EAAE,UAAU,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,SAAS,CAAC,KAAM,IAAI,YAClE,QAAQ,GACL,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,CAAC,GAAG,OAA+B,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TitleProps.js","sourceRoot":"","sources":["../../src/ui-kit/TitleProps.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,cAKX;AALD,WAAY,cAAc;IACxB,sCAAsB,CAAA;IACtB,kCAAkB,CAAA;IAClB,qCAAqB,CAAA;IACrB,qCAAqB,CAAA;AACvB,CAAC,EALW,cAAc,KAAd,cAAc,QAKzB"}
|
package/lib/ui-kit/TopItem.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { LinkContent } from '../model/LinkContent';
|
|
2
|
-
export interface TopItemContent extends LinkContent {
|
|
3
|
-
active?: boolean;
|
|
4
|
-
}
|
|
5
|
-
export interface TopItemProps extends TopItemContent {
|
|
6
|
-
className?: string;
|
|
7
|
-
flat?: boolean;
|
|
8
|
-
ariaLabel?: string;
|
|
9
|
-
onClick?: (ev: MouseEvent) => any;
|
|
10
|
-
}
|
|
11
|
-
export declare const TopItem: (props: import("@redneckz/uni-jsx").PropsWithChildren<TopItemProps, any>, context?: any) => any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TopItem.js","sourceRoot":"","sources":["../../src/ui-kit/TopItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAcxC,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CACxB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE;IAChF,MAAM,SAAS,GAAG,MAAM,CAAC,CAAC,CAAC,gCAAgC,CAAC,CAAC,CAAC,oBAAoB,CAAC;IACnF,MAAM,SAAS,GAAG,MAAM;QACtB,CAAC,CAAC,mBAAmB;QACrB,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,qBAAqB,0BAA0B,CAAC;IAEpF,OAAO,CACL,YACE,SAAS,EAAE,4EACT,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WACd,IAAI,SAAS,IAAI,SAAS,IAAI,EAAE,EAAE,EAClC,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,EAChB,GAAG,EAAC,qBAAqB,gBACb,SAAS,YAErB,eAAM,SAAS,EAAE,iCAAiC,SAAS,EAAE,YAAG,IAAI,IAAI,QAAQ,GAAQ,GACtF,CACL,CAAC;AACJ,CAAC,CACF,CAAC"}
|
package/lib/useLink.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { HandlerDecorator, Router } from './ContentPageContext';
|
|
2
|
-
import type { LinkContent } from './model/LinkContent';
|
|
3
|
-
export declare function useLink({ router, handlerDecorator, }: {
|
|
4
|
-
router: Router;
|
|
5
|
-
handlerDecorator?: HandlerDecorator;
|
|
6
|
-
}, link: Partial<LinkContent & {
|
|
7
|
-
className: string;
|
|
8
|
-
}>): {
|
|
9
|
-
href: string | undefined;
|
|
10
|
-
ariaLabel: string | undefined;
|
|
11
|
-
onClick: (ev: MouseEvent) => void;
|
|
12
|
-
text?: string | undefined;
|
|
13
|
-
target?: string | undefined;
|
|
14
|
-
className?: string | undefined;
|
|
15
|
-
};
|
package/lib/useLink.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { adjustHref, isURL } from './utils/url.js';
|
|
2
|
-
const defaultHandlerDecorator = (handler, targetContent) => handler;
|
|
3
|
-
export function useLink({ router, handlerDecorator = defaultHandlerDecorator, }, link) {
|
|
4
|
-
const href = adjustHref(link.href, router);
|
|
5
|
-
return {
|
|
6
|
-
...link,
|
|
7
|
-
href,
|
|
8
|
-
ariaLabel: link.text,
|
|
9
|
-
onClick: handlerDecorator((ev) => {
|
|
10
|
-
const isLocalHref = href && !isURL(href);
|
|
11
|
-
const isLocalTarget = !link.target || link.target === '_self';
|
|
12
|
-
if (isLocalHref && isLocalTarget) {
|
|
13
|
-
ev.preventDefault();
|
|
14
|
-
router.push(href);
|
|
15
|
-
}
|
|
16
|
-
}, link),
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=useLink.js.map
|
package/lib/useLink.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useLink.js","sourceRoot":"","sources":["../src/useLink.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEhD,MAAM,uBAAuB,GAAqB,CAAC,OAAO,EAAE,aAAa,EAAE,EAAE,CAAC,OAAO,CAAC;AAEtF,MAAM,UAAU,OAAO,CACrB,EACE,MAAM,EACN,gBAAgB,GAAG,uBAAuB,GACc,EAC1D,IAAkD;IAElD,MAAM,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IAC3C,OAAO;QACL,GAAG,IAAI;QACP,IAAI;QACJ,SAAS,EAAE,IAAI,CAAC,IAAI;QACpB,OAAO,EAAE,gBAAgB,CAAC,CAAC,EAAc,EAAE,EAAE;YAC3C,MAAM,WAAW,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YACzC,MAAM,aAAa,GAAG,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,KAAK,OAAO,CAAC;YAC9D,IAAI,WAAW,IAAI,aAAa,EAAE;gBAChC,EAAE,CAAC,cAAc,EAAE,CAAC;gBACpB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACnB;QACH,CAAC,EAAE,IAAI,CAAC;KACT,CAAC;AACJ,CAAC"}
|
package/lib/useSitemap.d.ts
DELETED
package/lib/useSitemap.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { projectSettings } from './ProjectSettings.js';
|
|
2
|
-
export function useSitemap(useAsyncData) {
|
|
3
|
-
const { data } = useAsyncData(sitemapURL(), fetchSitemap);
|
|
4
|
-
return data || {};
|
|
5
|
-
}
|
|
6
|
-
async function fetchSitemap() {
|
|
7
|
-
const response = await fetch(sitemapURL());
|
|
8
|
-
return await response.json();
|
|
9
|
-
}
|
|
10
|
-
function sitemapURL() {
|
|
11
|
-
return `/wcms-resources/${projectSettings.SITEMAP || 'sitemap'}.json`;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=useSitemap.js.map
|
package/lib/useSitemap.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSitemap.js","sourceRoot":"","sources":["../src/useSitemap.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,UAAU,UAAU,CAAC,YAA2B;IACpD,MAAM,EAAE,IAAI,EAAE,GAAG,YAAY,CAAC,UAAU,EAAE,EAAE,YAAY,CAAC,CAAC;IAC1D,OAAO,IAAI,IAAI,EAAE,CAAC;AACpB,CAAC;AAED,KAAK,UAAU,YAAY;IACzB,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,UAAU,EAAE,CAAC,CAAC;IAC3C,OAAO,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;AAC/B,CAAC;AAED,SAAS,UAAU;IACjB,OAAO,mBAAmB,eAAe,CAAC,OAAO,IAAI,SAAS,OAAO,CAAC;AACxE,CAAC"}
|
package/src/BaseTile.tsx
DELETED
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { BaseTileContent } from './BaseTileContent';
|
|
3
|
-
import type { BlockVersion } from './model/BlockVersion';
|
|
4
|
-
import type { UniBlockProps } from './types';
|
|
5
|
-
import { BlockItem } from './ui-kit/BlockItem';
|
|
6
|
-
import { Button } from './ui-kit/Button';
|
|
7
|
-
import type { ButtonWithIconProps } from './ui-kit/ButtonProps';
|
|
8
|
-
import { Icon } from './ui-kit/Icon';
|
|
9
|
-
import { Img } from './ui-kit/Img';
|
|
10
|
-
import { Title } from './ui-kit/Title';
|
|
11
|
-
import { useLink } from './useLink';
|
|
12
|
-
import { getColSpan } from './utils/getColSpan';
|
|
13
|
-
|
|
14
|
-
export interface BaseTileProps extends BaseTileContent, UniBlockProps {}
|
|
15
|
-
|
|
16
|
-
const TITLE_CLASSES = 'font-medium m-0 mb-4 whitespace-pre-wrap max-w-[600px]';
|
|
17
|
-
|
|
18
|
-
export const BaseTile = JSX<BaseTileProps>(
|
|
19
|
-
({
|
|
20
|
-
className,
|
|
21
|
-
context,
|
|
22
|
-
title,
|
|
23
|
-
titleSize,
|
|
24
|
-
description,
|
|
25
|
-
children,
|
|
26
|
-
buttons,
|
|
27
|
-
image,
|
|
28
|
-
items,
|
|
29
|
-
version = 'primary',
|
|
30
|
-
}) => {
|
|
31
|
-
const router = context.useRouter();
|
|
32
|
-
const { handlerDecorator } = context;
|
|
33
|
-
return (
|
|
34
|
-
<div className={`font-sans flex flex-col grow h-full`}>
|
|
35
|
-
{title && (
|
|
36
|
-
<Title size={titleSize || getTitleSizeByClassName(className)} className={TITLE_CLASSES}>
|
|
37
|
-
{title}
|
|
38
|
-
</Title>
|
|
39
|
-
)}
|
|
40
|
-
<div className="flex grow justify-between">
|
|
41
|
-
<div className="flex flex-col justify-between items-start">
|
|
42
|
-
<div>
|
|
43
|
-
{description ? (
|
|
44
|
-
<div className="font-normal text-base max-w-[600px] mb-5">{description}</div>
|
|
45
|
-
) : null}
|
|
46
|
-
{children}
|
|
47
|
-
{items?.length ? renderItems(items, version) : null}
|
|
48
|
-
</div>
|
|
49
|
-
{buttons?.length ? (
|
|
50
|
-
<div className="flex mt-9 gap-3">
|
|
51
|
-
{buttons.map((button, index) =>
|
|
52
|
-
renderButton(useLink({ router, handlerDecorator }, button), index),
|
|
53
|
-
)}
|
|
54
|
-
</div>
|
|
55
|
-
) : null}
|
|
56
|
-
</div>
|
|
57
|
-
{image?.src && <Img className="mt-auto ml-7" image={image} />}
|
|
58
|
-
</div>
|
|
59
|
-
</div>
|
|
60
|
-
);
|
|
61
|
-
},
|
|
62
|
-
);
|
|
63
|
-
|
|
64
|
-
function getTitleSizeByClassName(className: string = '') {
|
|
65
|
-
const colSpan = getColSpan(className);
|
|
66
|
-
if (colSpan <= 4) {
|
|
67
|
-
return 'S';
|
|
68
|
-
} else if (colSpan <= 8) {
|
|
69
|
-
return 'M';
|
|
70
|
-
} else {
|
|
71
|
-
return 'L';
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
function renderItems(items: string[] = [], version?: BlockVersion) {
|
|
76
|
-
return (
|
|
77
|
-
<section className="max-w-[600px]" role="list">
|
|
78
|
-
{items.map((_, i) => (
|
|
79
|
-
<BlockItem key={String(i)} className={i ? 'mt-2.5' : ''} text={_} version={version} />
|
|
80
|
-
))}
|
|
81
|
-
</section>
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
function renderButton({ icon, ...button }: ButtonWithIconProps, i: number) {
|
|
86
|
-
if (!button?.text) return;
|
|
87
|
-
|
|
88
|
-
if (icon)
|
|
89
|
-
return (
|
|
90
|
-
<Button
|
|
91
|
-
key={String(i)}
|
|
92
|
-
appendLeft={<Icon name={icon} width="24" height="24" />}
|
|
93
|
-
{...button}
|
|
94
|
-
/>
|
|
95
|
-
);
|
|
96
|
-
|
|
97
|
-
return <Button key={String(i)} {...button} />;
|
|
98
|
-
}
|
package/src/BaseTileContent.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { BlockVersion } from './model/BlockVersion';
|
|
2
|
-
import type { Picture } from './model/Picture';
|
|
3
|
-
import type { ButtonWithIconProps } from './ui-kit/ButtonProps';
|
|
4
|
-
import type { TitleSize } from './ui-kit/TitleProps';
|
|
5
|
-
|
|
6
|
-
export interface BaseTileContent {
|
|
7
|
-
title?: string;
|
|
8
|
-
titleSize?: TitleSize;
|
|
9
|
-
description?: string;
|
|
10
|
-
image?: Picture;
|
|
11
|
-
items?: string[];
|
|
12
|
-
buttons?: ButtonWithIconProps[];
|
|
13
|
-
version?: BlockVersion;
|
|
14
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { context } from './setup-fixture';
|
|
2
|
-
|
|
3
|
-
import { BenefitsBlock } from './BenefitsBlock';
|
|
4
|
-
|
|
5
|
-
export default (
|
|
6
|
-
<BenefitsBlock
|
|
7
|
-
context={context}
|
|
8
|
-
title="Преимущества кредита"
|
|
9
|
-
benefits={[
|
|
10
|
-
{
|
|
11
|
-
label: 'Без комиссии',
|
|
12
|
-
description:
|
|
13
|
-
'Комиссия за выдачу кредита не взимается. Допускается полное или частичное погашение кредита',
|
|
14
|
-
icon: 'ClockIcon',
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
label: 'Оформление по паспорту',
|
|
18
|
-
description: 'Обеспечение не требуется. Кредит можно получить на любые цели',
|
|
19
|
-
icon: 'SignDocsIcon',
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
label: 'Без залога и поручительства',
|
|
23
|
-
description:
|
|
24
|
-
'Единовременное перечисление суммы кредита в полном объёме на текущий счет в Банке',
|
|
25
|
-
icon: 'ComfortableCompIcon',
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
label: 'Деньги за 3 дня',
|
|
29
|
-
description: 'Рассмотрение заявки с момента предоставления полного комплекта документов',
|
|
30
|
-
icon: 'ActualBalanceIcon',
|
|
31
|
-
},
|
|
32
|
-
]}
|
|
33
|
-
/>
|
|
34
|
-
);
|
package/src/BenefitsBlock.tsx
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { Benefit, BenefitsBlockContent } from './BenefitsBlockContent';
|
|
3
|
-
import type { UniBlockProps } from './types';
|
|
4
|
-
import { Icon } from './ui-kit/Icon';
|
|
5
|
-
|
|
6
|
-
export interface BenefitsBlockProps extends BenefitsBlockContent, UniBlockProps {}
|
|
7
|
-
|
|
8
|
-
export const BenefitsBlock = JSX<BenefitsBlockProps>(({ className, title, benefits }) => {
|
|
9
|
-
return (
|
|
10
|
-
<section
|
|
11
|
-
className={`font-sans text-primary-text bg-white p-12 pb-2 flex flex-col items-center ${
|
|
12
|
-
className || ''
|
|
13
|
-
}`}
|
|
14
|
-
>
|
|
15
|
-
<h2 className="font-medium text-title m-0 max-w-[47rem] text-center">{title}</h2>
|
|
16
|
-
{benefits?.length ? (
|
|
17
|
-
<div className="grid grid-cols-2 gap-5 mt-9">{benefits.map(renderStep)}</div>
|
|
18
|
-
) : null}
|
|
19
|
-
</section>
|
|
20
|
-
);
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
const renderStep = (benefit: Benefit, i: number) => {
|
|
24
|
-
return (
|
|
25
|
-
<div key={String(i)} className="flex items-center p-10 gap-5 max-w-[580px]">
|
|
26
|
-
{benefit.icon && (
|
|
27
|
-
<Icon
|
|
28
|
-
className="h-[70px] w-[70px] min-w-[70px] min-h-[70px]"
|
|
29
|
-
name={benefit.icon}
|
|
30
|
-
width="70"
|
|
31
|
-
height="70"
|
|
32
|
-
/>
|
|
33
|
-
)}
|
|
34
|
-
<div>
|
|
35
|
-
<h3 className="font-medium text-xl m-0">{benefit.label}</h3>
|
|
36
|
-
{benefit.description && (
|
|
37
|
-
<div className="font-normal text-sm mt-2">{benefit.description}</div>
|
|
38
|
-
)}
|
|
39
|
-
</div>
|
|
40
|
-
</div>
|
|
41
|
-
);
|
|
42
|
-
};
|
package/src/BlockContent.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { BenefitsBlockContent } from './BenefitsBlockContent';
|
|
2
|
-
import type { ExchangeRateTileContent } from './ExchangeRateTileContent';
|
|
3
|
-
import type { FooterContent } from './Footer/FooterContent';
|
|
4
|
-
import type { GalleryContent } from './GalleryContent';
|
|
5
|
-
import type { HeaderContent } from './Header/HeaderContent';
|
|
6
|
-
import type { MobileAppTileContent } from './MobileAppTileContent';
|
|
7
|
-
import type { PlaceholderContent } from './PlaceholderContent';
|
|
8
|
-
import type { ProductBlockContent } from './ProductBlockContent';
|
|
9
|
-
import type { ProductGalleryContent } from './ProductGalleryContent';
|
|
10
|
-
import type { ProductTileContent } from './ProductTileContent';
|
|
11
|
-
import type { PromoTileContent } from './PromoTileContent';
|
|
12
|
-
import type { StepsBlockContent } from './StepsBlockContent';
|
|
13
|
-
import type { TextBlockContent } from './TextBlockContent';
|
|
14
|
-
import type { TileContent } from './TileContent';
|
|
15
|
-
import type { ComparisonTableContent } from './ComparisonTable';
|
|
16
|
-
|
|
17
|
-
export type BlockContent =
|
|
18
|
-
| HeaderContent
|
|
19
|
-
| FooterContent
|
|
20
|
-
| PlaceholderContent
|
|
21
|
-
| TileContent
|
|
22
|
-
| PromoTileContent
|
|
23
|
-
| TextBlockContent
|
|
24
|
-
| ProductTileContent
|
|
25
|
-
| ProductBlockContent
|
|
26
|
-
| StepsBlockContent
|
|
27
|
-
| BenefitsBlockContent
|
|
28
|
-
| ProductGalleryContent
|
|
29
|
-
| ExchangeRateTileContent
|
|
30
|
-
| MobileAppTileContent
|
|
31
|
-
| GalleryContent
|
|
32
|
-
| ComparisonTableContent;
|
package/src/Blocks.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { BenefitsBlock } from './BenefitsBlock';
|
|
2
|
-
import { ExchangeRateTile } from './ExchangeRateTile';
|
|
3
|
-
import { Footer } from './Footer/Footer';
|
|
4
|
-
import { Gallery } from './Gallery';
|
|
5
|
-
import { Header } from './Header/Header';
|
|
6
|
-
import { MiniGallery } from './MiniGallery';
|
|
7
|
-
import { MobileAppTile } from './MobileAppTile';
|
|
8
|
-
import { Placeholder } from './Placeholder';
|
|
9
|
-
import { ProductBlock } from './ProductBlock';
|
|
10
|
-
import { ProductGallery } from './ProductGallery';
|
|
11
|
-
import { ProductTile } from './ProductTile';
|
|
12
|
-
import { PromoTile } from './PromoTile';
|
|
13
|
-
import { StepsBlock } from './StepsBlock';
|
|
14
|
-
import { TextBlock } from './TextBlock';
|
|
15
|
-
import { Tile } from './Tile';
|
|
16
|
-
import { ComparisonTable } from './ComparisonTable';
|
|
17
|
-
|
|
18
|
-
export const Blocks = {
|
|
19
|
-
Header,
|
|
20
|
-
Footer,
|
|
21
|
-
Placeholder,
|
|
22
|
-
Tile,
|
|
23
|
-
PromoTile,
|
|
24
|
-
TextBlock,
|
|
25
|
-
ProductTile,
|
|
26
|
-
ProductBlock,
|
|
27
|
-
StepsBlock,
|
|
28
|
-
BenefitsBlock,
|
|
29
|
-
ProductGallery,
|
|
30
|
-
ExchangeRateTile,
|
|
31
|
-
MobileAppTile,
|
|
32
|
-
Gallery,
|
|
33
|
-
MiniGallery,
|
|
34
|
-
ComparisonTable,
|
|
35
|
-
};
|