@redneckz/wildless-cms-uni-blocks 0.2.74 → 0.2.77

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.
Files changed (1062) hide show
  1. package/dist/components/BaseTile/BaseTile.d.ts +5 -0
  2. package/dist/components/BaseTile/BaseTile.js +40 -0
  3. package/dist/components/BaseTile/BaseTile.js.map +1 -0
  4. package/dist/components/BaseTile/BaseTileContent.d.ts +13 -0
  5. package/dist/{BaseTileContent.js → components/BaseTile/BaseTileContent.js} +0 -0
  6. package/dist/components/BaseTile/BaseTileContent.js.map +1 -0
  7. package/dist/components/BenefitsBlock/BenefitsBlock.d.ts +5 -0
  8. package/dist/components/BenefitsBlock/BenefitsBlock.js +12 -0
  9. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -0
  10. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +10 -0
  11. package/dist/{BenefitsBlockContent.js → components/BenefitsBlock/BenefitsBlockContent.js} +0 -0
  12. package/dist/components/BenefitsBlock/BenefitsBlockContent.js.map +1 -0
  13. package/dist/components/BlockContent.d.ts +16 -0
  14. package/dist/{BlockContent.js → components/BlockContent.js} +0 -0
  15. package/dist/components/BlockContent.js.map +1 -0
  16. package/dist/components/Blocks.d.ts +18 -0
  17. package/dist/components/Blocks.js +37 -0
  18. package/dist/components/Blocks.js.map +1 -0
  19. package/dist/components/ComparisonTable/ComparisonTable.d.ts +5 -0
  20. package/dist/components/ComparisonTable/ComparisonTable.js +34 -0
  21. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -0
  22. package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +37 -0
  23. package/dist/{ComparisonTable → components/ComparisonTable}/ComparisonTableContent.js +0 -0
  24. package/dist/components/ComparisonTable/ComparisonTableContent.js.map +1 -0
  25. package/dist/components/ComparisonTable/HeaderCell.d.ts +10 -0
  26. package/dist/components/ComparisonTable/HeaderCell.js +11 -0
  27. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -0
  28. package/dist/{ComparisonTable → components/ComparisonTable}/TableCarouselContainer.d.ts +0 -0
  29. package/dist/{ComparisonTable → components/ComparisonTable}/TableCarouselContainer.js +0 -0
  30. package/dist/components/ComparisonTable/TableCarouselContainer.js.map +1 -0
  31. package/dist/{ComparisonTable → components/ComparisonTable}/TableCell.d.ts +0 -0
  32. package/dist/{ComparisonTable → components/ComparisonTable}/TableCell.js +0 -0
  33. package/dist/components/ComparisonTable/TableCell.js.map +1 -0
  34. package/dist/{ComparisonTable → components/ComparisonTable}/TableRow.d.ts +0 -0
  35. package/dist/{ComparisonTable → components/ComparisonTable}/TableRow.js +0 -0
  36. package/dist/components/ComparisonTable/TableRow.js.map +1 -0
  37. package/dist/{ComparisonTable → components/ComparisonTable}/TableRowContainer.d.ts +0 -0
  38. package/dist/{ComparisonTable → components/ComparisonTable}/TableRowContainer.js +0 -0
  39. package/dist/components/ComparisonTable/TableRowContainer.js.map +1 -0
  40. package/dist/{ComparisonTable → components/ComparisonTable}/constants.d.ts +0 -0
  41. package/dist/{ComparisonTable → components/ComparisonTable}/constants.js +0 -0
  42. package/dist/components/ComparisonTable/constants.js.map +1 -0
  43. package/dist/components/ContentPage/ContentPage.d.ts +19 -0
  44. package/dist/components/ContentPage/ContentPage.js +29 -0
  45. package/dist/components/ContentPage/ContentPage.js.map +1 -0
  46. package/dist/{ContentPageContext.d.ts → components/ContentPage/ContentPageContext.d.ts} +0 -0
  47. package/dist/{ContentPageContext.js → components/ContentPage/ContentPageContext.js} +0 -0
  48. package/dist/components/ContentPage/ContentPageContext.js.map +1 -0
  49. package/dist/components/ContentPage/ContentPageHead.d.ts +6 -0
  50. package/dist/{ContentPageHead.js → components/ContentPage/ContentPageHead.js} +0 -0
  51. package/dist/components/ContentPage/ContentPageHead.js.map +1 -0
  52. package/dist/components/ContentPage/toMobilePage.d.ts +2 -0
  53. package/dist/{toMobilePage.js → components/ContentPage/toMobilePage.js} +0 -0
  54. package/dist/components/ContentPage/toMobilePage.js.map +1 -0
  55. package/dist/components/CreditCalculator/CreditCalculator.d.ts +4 -0
  56. package/dist/components/CreditCalculator/CreditCalculator.js +29 -0
  57. package/dist/components/CreditCalculator/CreditCalculator.js.map +1 -0
  58. package/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
  59. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +35 -0
  60. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -0
  61. package/dist/{ExchangeRateTileContent.d.ts → components/ExchangeRateTile/ExchangeRateTileContent.d.ts} +0 -0
  62. package/dist/{ExchangeRateTileContent.js → components/ExchangeRateTile/ExchangeRateTileContent.js} +0 -0
  63. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.js.map +1 -0
  64. package/dist/components/Footer/Contacts.d.ts +7 -0
  65. package/dist/components/Footer/Contacts.js +31 -0
  66. package/dist/components/Footer/Contacts.js.map +1 -0
  67. package/dist/components/Footer/Footer.d.ts +5 -0
  68. package/dist/components/Footer/Footer.js +17 -0
  69. package/dist/components/Footer/Footer.js.map +1 -0
  70. package/dist/components/Footer/Footer.mobile.d.ts +5 -0
  71. package/dist/{Footer → components/Footer}/Footer.mobile.js +0 -0
  72. package/dist/components/Footer/Footer.mobile.js.map +1 -0
  73. package/dist/components/Footer/FooterContent.d.ts +13 -0
  74. package/dist/{Footer → components/Footer}/FooterContent.js +0 -0
  75. package/dist/components/Footer/FooterContent.js.map +1 -0
  76. package/dist/components/Footer/FooterLink.d.ts +5 -0
  77. package/dist/{Footer → components/Footer}/FooterLink.js +0 -0
  78. package/dist/components/Footer/FooterLink.js.map +1 -0
  79. package/dist/{Footer → components/Footer}/HorizontalNavigation.d.ts +0 -0
  80. package/dist/components/Footer/HorizontalNavigation.js +12 -0
  81. package/dist/components/Footer/HorizontalNavigation.js.map +1 -0
  82. package/dist/components/Footer/Sitemap.d.ts +6 -0
  83. package/dist/components/Footer/Sitemap.js +22 -0
  84. package/dist/components/Footer/Sitemap.js.map +1 -0
  85. package/dist/components/Footer/SocialMedia.d.ts +6 -0
  86. package/dist/components/Footer/SocialMedia.js +24 -0
  87. package/dist/components/Footer/SocialMedia.js.map +1 -0
  88. package/dist/{Footer → components/Footer}/TextInformation.d.ts +0 -0
  89. package/dist/components/Footer/TextInformation.js +12 -0
  90. package/dist/components/Footer/TextInformation.js.map +1 -0
  91. package/dist/components/Gallery/Gallery.d.ts +5 -0
  92. package/dist/{Gallery.js → components/Gallery/Gallery.js} +0 -0
  93. package/dist/components/Gallery/Gallery.js.map +1 -0
  94. package/dist/{Gallery.mobile.d.ts → components/Gallery/Gallery.mobile.d.ts} +0 -0
  95. package/dist/components/Gallery/Gallery.mobile.js +18 -0
  96. package/dist/components/Gallery/Gallery.mobile.js.map +1 -0
  97. package/dist/components/Gallery/GalleryContent.d.ts +13 -0
  98. package/dist/{GalleryContent.js → components/Gallery/GalleryContent.js} +0 -0
  99. package/dist/components/Gallery/GalleryContent.js.map +1 -0
  100. package/dist/components/Gallery/GalleryInner.d.ts +7 -0
  101. package/dist/components/Gallery/GalleryInner.js +46 -0
  102. package/dist/components/Gallery/GalleryInner.js.map +1 -0
  103. package/dist/components/Header/Header.d.ts +5 -0
  104. package/dist/components/Header/Header.js +26 -0
  105. package/dist/components/Header/Header.js.map +1 -0
  106. package/dist/components/Header/HeaderContent.d.ts +4 -0
  107. package/dist/{Header → components/Header}/HeaderContent.js +0 -0
  108. package/dist/components/Header/HeaderContent.js.map +1 -0
  109. package/dist/components/Header/HeaderSecondaryMenu.d.ts +9 -0
  110. package/dist/components/Header/HeaderSecondaryMenu.js +12 -0
  111. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -0
  112. package/dist/{Header → components/Header}/HeaderSecondaryMenuButton.d.ts +0 -0
  113. package/dist/{Header → components/Header}/HeaderSecondaryMenuButton.js +0 -0
  114. package/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -0
  115. package/dist/components/Header/isSubItemActive.d.ts +3 -0
  116. package/dist/components/Header/isSubItemActive.js +8 -0
  117. package/dist/components/Header/isSubItemActive.js.map +1 -0
  118. package/dist/components/Header/isTopItemActive.d.ts +3 -0
  119. package/dist/components/Header/isTopItemActive.js +8 -0
  120. package/dist/components/Header/isTopItemActive.js.map +1 -0
  121. package/dist/components/LikeControl/LikeControl.d.ts +2 -0
  122. package/dist/components/LikeControl/LikeControl.js +10 -0
  123. package/dist/components/LikeControl/LikeControl.js.map +1 -0
  124. package/dist/components/MiniGallery/MiniGallery.d.ts +5 -0
  125. package/dist/components/MiniGallery/MiniGallery.js +7 -0
  126. package/dist/components/MiniGallery/MiniGallery.js.map +1 -0
  127. package/dist/components/MobileAppTile/MobileAppTile.d.ts +5 -0
  128. package/dist/components/MobileAppTile/MobileAppTile.js +9 -0
  129. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -0
  130. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +9 -0
  131. package/dist/{MobileAppTileContent.js → components/MobileAppTile/MobileAppTileContent.js} +0 -0
  132. package/dist/components/MobileAppTile/MobileAppTileContent.js.map +1 -0
  133. package/dist/components/MobileBlocks.d.ts +12 -0
  134. package/dist/components/MobileBlocks.js +28 -0
  135. package/dist/components/MobileBlocks.js.map +1 -0
  136. package/dist/components/Placeholder/Placeholder.d.ts +6 -0
  137. package/dist/components/Placeholder/Placeholder.js +15 -0
  138. package/dist/components/Placeholder/Placeholder.js.map +1 -0
  139. package/dist/{PlaceholderContent.d.ts → components/Placeholder/PlaceholderContent.d.ts} +0 -0
  140. package/dist/{PlaceholderContent.js → components/Placeholder/PlaceholderContent.js} +0 -0
  141. package/dist/components/Placeholder/PlaceholderContent.js.map +1 -0
  142. package/dist/components/ProductBlock/ProductBlock.d.ts +5 -0
  143. package/dist/components/ProductBlock/ProductBlock.js +15 -0
  144. package/dist/components/ProductBlock/ProductBlock.js.map +1 -0
  145. package/dist/components/ProductBlock/ProductBlock.mobile.d.ts +5 -0
  146. package/dist/{ProductBlock.mobile.js → components/ProductBlock/ProductBlock.mobile.js} +0 -0
  147. package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -0
  148. package/dist/components/ProductBlock/ProductBlockContent.d.ts +9 -0
  149. package/dist/{ProductBlockContent.js → components/ProductBlock/ProductBlockContent.js} +0 -0
  150. package/dist/components/ProductBlock/ProductBlockContent.js.map +1 -0
  151. package/dist/components/ProductBlock/ProductBlockInner.d.ts +5 -0
  152. package/dist/components/ProductBlock/ProductBlockInner.js +17 -0
  153. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -0
  154. package/dist/components/ProductGallery/ProductGallery.d.ts +5 -0
  155. package/dist/components/ProductGallery/ProductGallery.js +27 -0
  156. package/dist/components/ProductGallery/ProductGallery.js.map +1 -0
  157. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +14 -0
  158. package/dist/{ProductGalleryContent.js → components/ProductGallery/ProductGalleryContent.js} +0 -0
  159. package/dist/components/ProductGallery/ProductGalleryContent.js.map +1 -0
  160. package/dist/components/ProductTile/ProductTile.d.ts +5 -0
  161. package/dist/components/ProductTile/ProductTile.js +20 -0
  162. package/dist/components/ProductTile/ProductTile.js.map +1 -0
  163. package/dist/components/ProductTile/ProductTileContent.d.ts +5 -0
  164. package/dist/{ProductTileContent.js → components/ProductTile/ProductTileContent.js} +0 -0
  165. package/dist/components/ProductTile/ProductTileContent.js.map +1 -0
  166. package/dist/components/PromoTile/PromoTile.d.ts +5 -0
  167. package/dist/components/PromoTile/PromoTile.js +18 -0
  168. package/dist/components/PromoTile/PromoTile.js.map +1 -0
  169. package/dist/components/PromoTile/PromoTileContent.d.ts +4 -0
  170. package/dist/{PromoTileContent.js → components/PromoTile/PromoTileContent.js} +0 -0
  171. package/dist/components/PromoTile/PromoTileContent.js.map +1 -0
  172. package/dist/components/StepsBlock/StepsBlock.d.ts +5 -0
  173. package/dist/components/StepsBlock/StepsBlock.js +17 -0
  174. package/dist/components/StepsBlock/StepsBlock.js.map +1 -0
  175. package/dist/components/StepsBlock/StepsBlockContent.d.ts +10 -0
  176. package/dist/{StepsBlockContent.js → components/StepsBlock/StepsBlockContent.js} +0 -0
  177. package/dist/components/StepsBlock/StepsBlockContent.js.map +1 -0
  178. package/dist/components/TextBlock/TextBlock.d.ts +5 -0
  179. package/dist/components/TextBlock/TextBlock.js +36 -0
  180. package/dist/components/TextBlock/TextBlock.js.map +1 -0
  181. package/dist/components/TextBlock/TextBlockContent.d.ts +10 -0
  182. package/dist/{TextBlockContent.js → components/TextBlock/TextBlockContent.js} +0 -0
  183. package/dist/components/TextBlock/TextBlockContent.js.map +1 -0
  184. package/dist/components/Tile/Tile.d.ts +5 -0
  185. package/dist/components/Tile/Tile.js +27 -0
  186. package/dist/components/Tile/Tile.js.map +1 -0
  187. package/dist/components/Tile/TileContent.d.ts +2 -0
  188. package/dist/{TileContent.js → components/Tile/TileContent.js} +0 -0
  189. package/dist/components/Tile/TileContent.js.map +1 -0
  190. package/dist/content-page-repository/ContentPageRepository.js +1 -1
  191. package/dist/content-page-repository/ContentPageRepository.js.map +1 -1
  192. package/dist/hooks/useLink.d.ts +15 -0
  193. package/dist/hooks/useLink.js +22 -0
  194. package/dist/hooks/useLink.js.map +1 -0
  195. package/dist/hooks/useSitemap.d.ts +3 -0
  196. package/dist/hooks/useSitemap.js +16 -0
  197. package/dist/hooks/useSitemap.js.map +1 -0
  198. package/dist/index.d.ts +8 -8
  199. package/dist/index.js +5 -5
  200. package/dist/index.js.map +1 -1
  201. package/dist/types.d.ts +2 -2
  202. package/dist/ui-kit/{BlockItem.d.ts → BlockItem/BlockItem.d.ts} +0 -0
  203. package/dist/ui-kit/{BlockItem.js → BlockItem/BlockItem.js} +0 -0
  204. package/dist/ui-kit/BlockItem/BlockItem.js.map +1 -0
  205. package/dist/ui-kit/{ArrowButton.d.ts → Button/ArrowButton.d.ts} +0 -0
  206. package/dist/ui-kit/Button/ArrowButton.js +22 -0
  207. package/dist/ui-kit/Button/ArrowButton.js.map +1 -0
  208. package/dist/ui-kit/{Button.d.ts → Button/Button.d.ts} +0 -0
  209. package/dist/ui-kit/{Button.js → Button/Button.js} +0 -0
  210. package/dist/ui-kit/Button/Button.js.map +1 -0
  211. package/dist/ui-kit/Button/ButtonProps.d.ts +21 -0
  212. package/dist/ui-kit/{ButtonProps.js → Button/ButtonProps.js} +0 -0
  213. package/dist/ui-kit/Button/ButtonProps.js.map +1 -0
  214. package/dist/ui-kit/{LikeButton.d.ts → Button/LikeButton.d.ts} +0 -0
  215. package/dist/ui-kit/{LikeButton.js → Button/LikeButton.js} +0 -0
  216. package/dist/ui-kit/Button/LikeButton.js.map +1 -0
  217. package/dist/ui-kit/Checkbox/Checkbox.d.ts +2 -0
  218. package/dist/ui-kit/Checkbox/Checkbox.js +17 -0
  219. package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -0
  220. package/dist/ui-kit/Checkbox/CheckboxProps.d.ts +6 -0
  221. package/dist/ui-kit/Checkbox/CheckboxProps.js +2 -0
  222. package/dist/ui-kit/Checkbox/CheckboxProps.js.map +1 -0
  223. package/dist/ui-kit/HeaderItem/HeaderItem.d.ts +3 -0
  224. package/dist/ui-kit/{HeaderItem.js → HeaderItem/HeaderItem.js} +0 -0
  225. package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -0
  226. package/dist/ui-kit/{Icon.d.ts → Icon/Icon.d.ts} +0 -0
  227. package/dist/ui-kit/Icon/Icon.js +7 -0
  228. package/dist/ui-kit/Icon/Icon.js.map +1 -0
  229. package/dist/ui-kit/{IconProps.d.ts → Icon/IconProps.d.ts} +0 -0
  230. package/dist/ui-kit/{IconProps.js → Icon/IconProps.js} +0 -0
  231. package/dist/ui-kit/Icon/IconProps.js.map +1 -0
  232. package/dist/ui-kit/InputRange/InputRange.d.ts +2 -0
  233. package/dist/ui-kit/InputRange/InputRange.js +25 -0
  234. package/dist/ui-kit/InputRange/InputRange.js.map +1 -0
  235. package/dist/ui-kit/InputRange/InputRangeProps.d.ts +10 -0
  236. package/dist/ui-kit/InputRange/InputRangeProps.js +2 -0
  237. package/dist/ui-kit/InputRange/InputRangeProps.js.map +1 -0
  238. package/dist/ui-kit/{Logo.d.ts → Logo/Logo.d.ts} +0 -0
  239. package/dist/ui-kit/Logo/Logo.js +16 -0
  240. package/dist/ui-kit/Logo/Logo.js.map +1 -0
  241. package/dist/ui-kit/SearchBar.js +1 -1
  242. package/dist/ui-kit/SearchBar.js.map +1 -1
  243. package/dist/ui-kit/{Title.d.ts → Title/Title.d.ts} +0 -0
  244. package/dist/ui-kit/{Title.js → Title/Title.js} +0 -0
  245. package/dist/ui-kit/Title/Title.js.map +1 -0
  246. package/dist/ui-kit/{TitleProps.d.ts → Title/TitleProps.d.ts} +0 -0
  247. package/dist/ui-kit/{TitleProps.js → Title/TitleProps.js} +0 -0
  248. package/dist/ui-kit/Title/TitleProps.js.map +1 -0
  249. package/dist/ui-kit/TopItem/TopItem.d.ts +11 -0
  250. package/dist/ui-kit/{TopItem.js → TopItem/TopItem.js} +0 -0
  251. package/dist/ui-kit/TopItem/TopItem.js.map +1 -0
  252. package/dist/utils/clamp.d.ts +1 -0
  253. package/dist/utils/clamp.js +5 -0
  254. package/dist/utils/clamp.js.map +1 -0
  255. package/lib/common.css +1 -1
  256. package/lib/components/BaseTile/BaseTile.d.ts +5 -0
  257. package/lib/components/BaseTile/BaseTile.js +38 -0
  258. package/lib/components/BaseTile/BaseTile.js.map +1 -0
  259. package/lib/components/BaseTile/BaseTileContent.d.ts +13 -0
  260. package/lib/{BaseTileContent.js → components/BaseTile/BaseTileContent.js} +0 -0
  261. package/lib/components/BaseTile/BaseTileContent.js.map +1 -0
  262. package/lib/components/BenefitsBlock/BenefitsBlock.d.ts +5 -0
  263. package/lib/components/BenefitsBlock/BenefitsBlock.js +10 -0
  264. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -0
  265. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +10 -0
  266. package/lib/{BenefitsBlockContent.js → components/BenefitsBlock/BenefitsBlockContent.js} +0 -0
  267. package/lib/components/BenefitsBlock/BenefitsBlockContent.js.map +1 -0
  268. package/lib/components/BlockContent.d.ts +16 -0
  269. package/lib/{BlockContent.js → components/BlockContent.js} +0 -0
  270. package/lib/components/BlockContent.js.map +1 -0
  271. package/lib/components/Blocks.d.ts +18 -0
  272. package/lib/components/Blocks.js +35 -0
  273. package/lib/components/Blocks.js.map +1 -0
  274. package/lib/components/ComparisonTable/ComparisonTable.d.ts +5 -0
  275. package/lib/components/ComparisonTable/ComparisonTable.js +32 -0
  276. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -0
  277. package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +37 -0
  278. package/lib/{ComparisonTable → components/ComparisonTable}/ComparisonTableContent.js +0 -0
  279. package/lib/components/ComparisonTable/ComparisonTableContent.js.map +1 -0
  280. package/lib/components/ComparisonTable/HeaderCell.d.ts +10 -0
  281. package/lib/components/ComparisonTable/HeaderCell.js +9 -0
  282. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -0
  283. package/lib/{ComparisonTable → components/ComparisonTable}/TableCarouselContainer.d.ts +0 -0
  284. package/lib/{ComparisonTable → components/ComparisonTable}/TableCarouselContainer.js +0 -0
  285. package/lib/components/ComparisonTable/TableCarouselContainer.js.map +1 -0
  286. package/lib/{ComparisonTable → components/ComparisonTable}/TableCell.d.ts +0 -0
  287. package/lib/{ComparisonTable → components/ComparisonTable}/TableCell.js +0 -0
  288. package/lib/components/ComparisonTable/TableCell.js.map +1 -0
  289. package/lib/{ComparisonTable → components/ComparisonTable}/TableRow.d.ts +0 -0
  290. package/lib/{ComparisonTable → components/ComparisonTable}/TableRow.js +0 -0
  291. package/lib/components/ComparisonTable/TableRow.js.map +1 -0
  292. package/lib/{ComparisonTable → components/ComparisonTable}/TableRowContainer.d.ts +0 -0
  293. package/lib/{ComparisonTable → components/ComparisonTable}/TableRowContainer.js +0 -0
  294. package/lib/components/ComparisonTable/TableRowContainer.js.map +1 -0
  295. package/lib/{ComparisonTable → components/ComparisonTable}/constants.d.ts +0 -0
  296. package/lib/{ComparisonTable → components/ComparisonTable}/constants.js +0 -0
  297. package/lib/components/ComparisonTable/constants.js.map +1 -0
  298. package/lib/components/ContentPage/ContentPage.d.ts +19 -0
  299. package/lib/components/ContentPage/ContentPage.js +27 -0
  300. package/lib/components/ContentPage/ContentPage.js.map +1 -0
  301. package/lib/{ContentPageContext.d.ts → components/ContentPage/ContentPageContext.d.ts} +0 -0
  302. package/lib/{ContentPageContext.js → components/ContentPage/ContentPageContext.js} +0 -0
  303. package/lib/components/ContentPage/ContentPageContext.js.map +1 -0
  304. package/lib/components/ContentPage/ContentPageHead.d.ts +6 -0
  305. package/lib/{ContentPageHead.js → components/ContentPage/ContentPageHead.js} +0 -0
  306. package/lib/components/ContentPage/ContentPageHead.js.map +1 -0
  307. package/lib/components/ContentPage/toMobilePage.d.ts +2 -0
  308. package/lib/{toMobilePage.js → components/ContentPage/toMobilePage.js} +0 -0
  309. package/lib/components/ContentPage/toMobilePage.js.map +1 -0
  310. package/lib/components/CreditCalculator/CreditCalculator.d.ts +4 -0
  311. package/lib/components/CreditCalculator/CreditCalculator.js +27 -0
  312. package/lib/components/CreditCalculator/CreditCalculator.js.map +1 -0
  313. package/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
  314. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +33 -0
  315. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -0
  316. package/lib/{ExchangeRateTileContent.d.ts → components/ExchangeRateTile/ExchangeRateTileContent.d.ts} +0 -0
  317. package/lib/{ExchangeRateTileContent.js → components/ExchangeRateTile/ExchangeRateTileContent.js} +0 -0
  318. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.js.map +1 -0
  319. package/lib/components/Footer/Contacts.d.ts +7 -0
  320. package/lib/components/Footer/Contacts.js +29 -0
  321. package/lib/components/Footer/Contacts.js.map +1 -0
  322. package/lib/components/Footer/Footer.d.ts +5 -0
  323. package/lib/components/Footer/Footer.js +15 -0
  324. package/lib/components/Footer/Footer.js.map +1 -0
  325. package/lib/components/Footer/Footer.mobile.d.ts +5 -0
  326. package/lib/{Footer → components/Footer}/Footer.mobile.js +0 -0
  327. package/lib/components/Footer/Footer.mobile.js.map +1 -0
  328. package/lib/components/Footer/FooterContent.d.ts +13 -0
  329. package/lib/{Footer → components/Footer}/FooterContent.js +0 -0
  330. package/lib/components/Footer/FooterContent.js.map +1 -0
  331. package/lib/components/Footer/FooterLink.d.ts +5 -0
  332. package/lib/{Footer → components/Footer}/FooterLink.js +0 -0
  333. package/lib/components/Footer/FooterLink.js.map +1 -0
  334. package/lib/{Footer → components/Footer}/HorizontalNavigation.d.ts +0 -0
  335. package/lib/components/Footer/HorizontalNavigation.js +10 -0
  336. package/lib/components/Footer/HorizontalNavigation.js.map +1 -0
  337. package/lib/components/Footer/Sitemap.d.ts +6 -0
  338. package/lib/components/Footer/Sitemap.js +20 -0
  339. package/lib/components/Footer/Sitemap.js.map +1 -0
  340. package/lib/components/Footer/SocialMedia.d.ts +6 -0
  341. package/lib/components/Footer/SocialMedia.js +22 -0
  342. package/lib/components/Footer/SocialMedia.js.map +1 -0
  343. package/lib/{Footer → components/Footer}/TextInformation.d.ts +0 -0
  344. package/lib/components/Footer/TextInformation.js +10 -0
  345. package/lib/components/Footer/TextInformation.js.map +1 -0
  346. package/lib/components/Gallery/Gallery.d.ts +5 -0
  347. package/lib/{Gallery.js → components/Gallery/Gallery.js} +0 -0
  348. package/lib/components/Gallery/Gallery.js.map +1 -0
  349. package/lib/{Gallery.mobile.d.ts → components/Gallery/Gallery.mobile.d.ts} +0 -0
  350. package/lib/components/Gallery/Gallery.mobile.js +16 -0
  351. package/lib/components/Gallery/Gallery.mobile.js.map +1 -0
  352. package/lib/components/Gallery/GalleryContent.d.ts +13 -0
  353. package/lib/{GalleryContent.js → components/Gallery/GalleryContent.js} +0 -0
  354. package/lib/components/Gallery/GalleryContent.js.map +1 -0
  355. package/lib/components/Gallery/GalleryInner.d.ts +7 -0
  356. package/lib/components/Gallery/GalleryInner.js +44 -0
  357. package/lib/components/Gallery/GalleryInner.js.map +1 -0
  358. package/lib/components/Header/Header.d.ts +5 -0
  359. package/lib/components/Header/Header.js +24 -0
  360. package/lib/components/Header/Header.js.map +1 -0
  361. package/lib/components/Header/HeaderContent.d.ts +4 -0
  362. package/lib/{Header → components/Header}/HeaderContent.js +0 -0
  363. package/lib/components/Header/HeaderContent.js.map +1 -0
  364. package/lib/components/Header/HeaderSecondaryMenu.d.ts +9 -0
  365. package/lib/components/Header/HeaderSecondaryMenu.js +10 -0
  366. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -0
  367. package/lib/{Header → components/Header}/HeaderSecondaryMenuButton.d.ts +0 -0
  368. package/lib/{Header → components/Header}/HeaderSecondaryMenuButton.js +0 -0
  369. package/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -0
  370. package/lib/components/Header/isSubItemActive.d.ts +3 -0
  371. package/lib/components/Header/isSubItemActive.js +5 -0
  372. package/lib/components/Header/isSubItemActive.js.map +1 -0
  373. package/lib/components/Header/isTopItemActive.d.ts +3 -0
  374. package/lib/components/Header/isTopItemActive.js +5 -0
  375. package/lib/components/Header/isTopItemActive.js.map +1 -0
  376. package/lib/components/LikeControl/LikeControl.d.ts +2 -0
  377. package/lib/components/LikeControl/LikeControl.js +8 -0
  378. package/lib/components/LikeControl/LikeControl.js.map +1 -0
  379. package/lib/components/MiniGallery/MiniGallery.d.ts +5 -0
  380. package/lib/components/MiniGallery/MiniGallery.js +5 -0
  381. package/lib/components/MiniGallery/MiniGallery.js.map +1 -0
  382. package/lib/components/MobileAppTile/MobileAppTile.d.ts +5 -0
  383. package/lib/components/MobileAppTile/MobileAppTile.js +7 -0
  384. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -0
  385. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +9 -0
  386. package/lib/{MobileAppTileContent.js → components/MobileAppTile/MobileAppTileContent.js} +0 -0
  387. package/lib/components/MobileAppTile/MobileAppTileContent.js.map +1 -0
  388. package/lib/components/MobileBlocks.d.ts +12 -0
  389. package/lib/components/MobileBlocks.js +26 -0
  390. package/lib/components/MobileBlocks.js.map +1 -0
  391. package/lib/components/Placeholder/Placeholder.d.ts +6 -0
  392. package/lib/components/Placeholder/Placeholder.js +13 -0
  393. package/lib/components/Placeholder/Placeholder.js.map +1 -0
  394. package/lib/{PlaceholderContent.d.ts → components/Placeholder/PlaceholderContent.d.ts} +0 -0
  395. package/lib/{PlaceholderContent.js → components/Placeholder/PlaceholderContent.js} +0 -0
  396. package/lib/components/Placeholder/PlaceholderContent.js.map +1 -0
  397. package/lib/components/ProductBlock/ProductBlock.d.ts +5 -0
  398. package/lib/components/ProductBlock/ProductBlock.js +13 -0
  399. package/lib/components/ProductBlock/ProductBlock.js.map +1 -0
  400. package/lib/components/ProductBlock/ProductBlock.mobile.d.ts +5 -0
  401. package/lib/{ProductBlock.mobile.js → components/ProductBlock/ProductBlock.mobile.js} +0 -0
  402. package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -0
  403. package/lib/components/ProductBlock/ProductBlockContent.d.ts +9 -0
  404. package/lib/{ProductBlockContent.js → components/ProductBlock/ProductBlockContent.js} +0 -0
  405. package/lib/components/ProductBlock/ProductBlockContent.js.map +1 -0
  406. package/lib/components/ProductBlock/ProductBlockInner.d.ts +5 -0
  407. package/lib/components/ProductBlock/ProductBlockInner.js +15 -0
  408. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -0
  409. package/lib/components/ProductGallery/ProductGallery.d.ts +5 -0
  410. package/lib/components/ProductGallery/ProductGallery.js +25 -0
  411. package/lib/components/ProductGallery/ProductGallery.js.map +1 -0
  412. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +14 -0
  413. package/lib/{ProductGalleryContent.js → components/ProductGallery/ProductGalleryContent.js} +0 -0
  414. package/lib/components/ProductGallery/ProductGalleryContent.js.map +1 -0
  415. package/lib/components/ProductTile/ProductTile.d.ts +5 -0
  416. package/lib/components/ProductTile/ProductTile.js +18 -0
  417. package/lib/components/ProductTile/ProductTile.js.map +1 -0
  418. package/lib/components/ProductTile/ProductTileContent.d.ts +5 -0
  419. package/lib/{ProductTileContent.js → components/ProductTile/ProductTileContent.js} +0 -0
  420. package/lib/components/ProductTile/ProductTileContent.js.map +1 -0
  421. package/lib/components/PromoTile/PromoTile.d.ts +5 -0
  422. package/lib/components/PromoTile/PromoTile.js +16 -0
  423. package/lib/components/PromoTile/PromoTile.js.map +1 -0
  424. package/lib/components/PromoTile/PromoTileContent.d.ts +4 -0
  425. package/lib/{PromoTileContent.js → components/PromoTile/PromoTileContent.js} +0 -0
  426. package/lib/components/PromoTile/PromoTileContent.js.map +1 -0
  427. package/lib/components/StepsBlock/StepsBlock.d.ts +5 -0
  428. package/lib/components/StepsBlock/StepsBlock.js +15 -0
  429. package/lib/components/StepsBlock/StepsBlock.js.map +1 -0
  430. package/lib/components/StepsBlock/StepsBlockContent.d.ts +10 -0
  431. package/lib/{StepsBlockContent.js → components/StepsBlock/StepsBlockContent.js} +0 -0
  432. package/lib/components/StepsBlock/StepsBlockContent.js.map +1 -0
  433. package/lib/components/TextBlock/TextBlock.d.ts +5 -0
  434. package/lib/components/TextBlock/TextBlock.js +34 -0
  435. package/lib/components/TextBlock/TextBlock.js.map +1 -0
  436. package/lib/components/TextBlock/TextBlockContent.d.ts +10 -0
  437. package/lib/{TextBlockContent.js → components/TextBlock/TextBlockContent.js} +0 -0
  438. package/lib/components/TextBlock/TextBlockContent.js.map +1 -0
  439. package/lib/components/Tile/Tile.d.ts +5 -0
  440. package/lib/components/Tile/Tile.js +25 -0
  441. package/lib/components/Tile/Tile.js.map +1 -0
  442. package/lib/components/Tile/TileContent.d.ts +2 -0
  443. package/lib/{TileContent.js → components/Tile/TileContent.js} +0 -0
  444. package/lib/components/Tile/TileContent.js.map +1 -0
  445. package/lib/content-page-repository/ContentPageRepository.js +1 -1
  446. package/lib/content-page-repository/ContentPageRepository.js.map +1 -1
  447. package/lib/hooks/useLink.d.ts +15 -0
  448. package/lib/hooks/useLink.js +19 -0
  449. package/lib/hooks/useLink.js.map +1 -0
  450. package/lib/hooks/useSitemap.d.ts +3 -0
  451. package/lib/hooks/useSitemap.js +13 -0
  452. package/lib/hooks/useSitemap.js.map +1 -0
  453. package/lib/index.d.ts +8 -8
  454. package/lib/index.js +5 -5
  455. package/lib/index.js.map +1 -1
  456. package/lib/types.d.ts +2 -2
  457. package/lib/ui-kit/{BlockItem.d.ts → BlockItem/BlockItem.d.ts} +0 -0
  458. package/lib/ui-kit/{BlockItem.js → BlockItem/BlockItem.js} +0 -0
  459. package/lib/ui-kit/BlockItem/BlockItem.js.map +1 -0
  460. package/lib/ui-kit/{ArrowButton.d.ts → Button/ArrowButton.d.ts} +0 -0
  461. package/lib/ui-kit/Button/ArrowButton.js +20 -0
  462. package/lib/ui-kit/Button/ArrowButton.js.map +1 -0
  463. package/lib/ui-kit/{Button.d.ts → Button/Button.d.ts} +0 -0
  464. package/lib/ui-kit/{Button.js → Button/Button.js} +0 -0
  465. package/lib/ui-kit/Button/Button.js.map +1 -0
  466. package/lib/ui-kit/Button/ButtonProps.d.ts +21 -0
  467. package/lib/ui-kit/{ButtonProps.js → Button/ButtonProps.js} +0 -0
  468. package/lib/ui-kit/Button/ButtonProps.js.map +1 -0
  469. package/lib/ui-kit/{LikeButton.d.ts → Button/LikeButton.d.ts} +0 -0
  470. package/lib/ui-kit/{LikeButton.js → Button/LikeButton.js} +0 -0
  471. package/lib/ui-kit/Button/LikeButton.js.map +1 -0
  472. package/lib/ui-kit/Checkbox/Checkbox.d.ts +2 -0
  473. package/lib/ui-kit/Checkbox/Checkbox.js +15 -0
  474. package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -0
  475. package/lib/ui-kit/Checkbox/CheckboxProps.d.ts +6 -0
  476. package/lib/ui-kit/Checkbox/CheckboxProps.js +2 -0
  477. package/lib/ui-kit/Checkbox/CheckboxProps.js.map +1 -0
  478. package/lib/ui-kit/HeaderItem/HeaderItem.d.ts +3 -0
  479. package/lib/ui-kit/{HeaderItem.js → HeaderItem/HeaderItem.js} +0 -0
  480. package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -0
  481. package/lib/ui-kit/{Icon.d.ts → Icon/Icon.d.ts} +0 -0
  482. package/lib/ui-kit/Icon/Icon.js +5 -0
  483. package/lib/ui-kit/Icon/Icon.js.map +1 -0
  484. package/lib/ui-kit/{IconProps.d.ts → Icon/IconProps.d.ts} +0 -0
  485. package/lib/ui-kit/{IconProps.js → Icon/IconProps.js} +0 -0
  486. package/lib/ui-kit/Icon/IconProps.js.map +1 -0
  487. package/lib/ui-kit/InputRange/InputRange.d.ts +2 -0
  488. package/lib/ui-kit/InputRange/InputRange.js +23 -0
  489. package/lib/ui-kit/InputRange/InputRange.js.map +1 -0
  490. package/lib/ui-kit/InputRange/InputRangeProps.d.ts +10 -0
  491. package/lib/ui-kit/InputRange/InputRangeProps.js +2 -0
  492. package/lib/ui-kit/InputRange/InputRangeProps.js.map +1 -0
  493. package/lib/ui-kit/{Logo.d.ts → Logo/Logo.d.ts} +0 -0
  494. package/lib/ui-kit/Logo/Logo.js +14 -0
  495. package/lib/ui-kit/Logo/Logo.js.map +1 -0
  496. package/lib/ui-kit/SearchBar.js +1 -1
  497. package/lib/ui-kit/SearchBar.js.map +1 -1
  498. package/lib/ui-kit/{Title.d.ts → Title/Title.d.ts} +0 -0
  499. package/lib/ui-kit/{Title.js → Title/Title.js} +0 -0
  500. package/lib/ui-kit/Title/Title.js.map +1 -0
  501. package/lib/ui-kit/{TitleProps.d.ts → Title/TitleProps.d.ts} +0 -0
  502. package/lib/ui-kit/{TitleProps.js → Title/TitleProps.js} +0 -0
  503. package/lib/ui-kit/Title/TitleProps.js.map +1 -0
  504. package/lib/ui-kit/TopItem/TopItem.d.ts +11 -0
  505. package/lib/ui-kit/{TopItem.js → TopItem/TopItem.js} +0 -0
  506. package/lib/ui-kit/TopItem/TopItem.js.map +1 -0
  507. package/lib/utils/clamp.d.ts +1 -0
  508. package/lib/utils/clamp.js +2 -0
  509. package/lib/utils/clamp.js.map +1 -0
  510. package/package.json +1 -1
  511. package/src/common.css +70 -0
  512. package/src/components/BaseTile/BaseTile.tsx +98 -0
  513. package/src/components/BaseTile/BaseTileContent.ts +14 -0
  514. package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +34 -0
  515. package/src/components/BenefitsBlock/BenefitsBlock.tsx +42 -0
  516. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +12 -0
  517. package/src/components/BlockContent.ts +32 -0
  518. package/src/components/Blocks.ts +35 -0
  519. package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +265 -0
  520. package/src/components/ComparisonTable/ComparisonTable.tsx +126 -0
  521. package/src/components/ComparisonTable/ComparisonTableContent.ts +43 -0
  522. package/src/components/ComparisonTable/HeaderCell.tsx +50 -0
  523. package/src/{ComparisonTable → components/ComparisonTable}/TableCarouselContainer.tsx +0 -0
  524. package/src/{ComparisonTable → components/ComparisonTable}/TableCell.tsx +0 -0
  525. package/src/{ComparisonTable → components/ComparisonTable}/TableRow.tsx +0 -0
  526. package/src/{ComparisonTable → components/ComparisonTable}/TableRowContainer.tsx +0 -0
  527. package/src/{ComparisonTable → components/ComparisonTable}/constants.ts +0 -0
  528. package/src/components/ContentPage/ContentPage.fixture.tsx +58 -0
  529. package/src/{ContentPage.page.json → components/ContentPage/ContentPage.page.json} +0 -0
  530. package/src/components/ContentPage/ContentPage.tsx +88 -0
  531. package/src/{ContentPageContext.tsx → components/ContentPage/ContentPageContext.tsx} +0 -0
  532. package/src/components/ContentPage/ContentPageHead.tsx +26 -0
  533. package/src/components/ContentPage/toMobilePage.ts +21 -0
  534. package/src/components/CreditCalculator/CreditCalculator.fixture.tsx +4 -0
  535. package/src/components/CreditCalculator/CreditCalculator.tsx +106 -0
  536. package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +11 -0
  537. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +80 -0
  538. package/src/{ExchangeRateTileContent.ts → components/ExchangeRateTile/ExchangeRateTileContent.ts} +0 -0
  539. package/src/components/Footer/Contacts.tsx +73 -0
  540. package/src/components/Footer/Footer.fixture.tsx +265 -0
  541. package/src/components/Footer/Footer.mobile.tsx +12 -0
  542. package/src/components/Footer/Footer.tsx +40 -0
  543. package/src/components/Footer/FooterContent.ts +15 -0
  544. package/src/components/Footer/FooterLink.ts +6 -0
  545. package/src/components/Footer/HorizontalNavigation.tsx +46 -0
  546. package/src/components/Footer/Sitemap.tsx +58 -0
  547. package/src/components/Footer/SocialMedia.tsx +52 -0
  548. package/src/components/Footer/TextInformation.tsx +50 -0
  549. package/src/components/Gallery/Gallery.fixture.tsx +215 -0
  550. package/src/components/Gallery/Gallery.mobile.tsx +71 -0
  551. package/src/components/Gallery/Gallery.tsx +8 -0
  552. package/src/components/Gallery/GalleryContent.ts +15 -0
  553. package/src/components/Gallery/GalleryInner.tsx +135 -0
  554. package/src/components/Header/Header.fixture.tsx +21 -0
  555. package/src/components/Header/Header.tsx +59 -0
  556. package/src/components/Header/HeaderContent.ts +5 -0
  557. package/src/components/Header/HeaderSecondaryMenu.tsx +56 -0
  558. package/src/{Header → components/Header}/HeaderSecondaryMenuButton.tsx +0 -0
  559. package/src/components/Header/isSubItemActive.ts +7 -0
  560. package/src/components/Header/isTopItemActive.ts +8 -0
  561. package/src/components/LikeControl/LikeControl.fixture.tsx +5 -0
  562. package/src/components/LikeControl/LikeControl.tsx +23 -0
  563. package/src/components/MiniGallery/MiniGallery.fixture.tsx +90 -0
  564. package/src/components/MiniGallery/MiniGallery.tsx +10 -0
  565. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +34 -0
  566. package/src/components/MobileAppTile/MobileAppTile.tsx +32 -0
  567. package/src/components/MobileAppTile/MobileAppTileContent.ts +11 -0
  568. package/src/components/MobileBlocks.ts +26 -0
  569. package/src/components/Placeholder/Placeholder.fixture.tsx +5 -0
  570. package/src/components/Placeholder/Placeholder.tsx +30 -0
  571. package/src/{PlaceholderContent.ts → components/Placeholder/PlaceholderContent.ts} +0 -0
  572. package/src/components/ProductBlock/ProductBlock.fixture.tsx +96 -0
  573. package/src/components/ProductBlock/ProductBlock.mobile.tsx +19 -0
  574. package/src/components/ProductBlock/ProductBlock.tsx +37 -0
  575. package/src/components/ProductBlock/ProductBlockContent.ts +11 -0
  576. package/src/components/ProductBlock/ProductBlockInner.tsx +57 -0
  577. package/src/components/ProductGallery/ProductGallery.fixture.tsx +138 -0
  578. package/src/components/ProductGallery/ProductGallery.tsx +78 -0
  579. package/src/components/ProductGallery/ProductGalleryContent.ts +16 -0
  580. package/src/components/ProductTile/ProductTile.fixture.tsx +155 -0
  581. package/src/components/ProductTile/ProductTile.tsx +43 -0
  582. package/src/components/ProductTile/ProductTileContent.ts +6 -0
  583. package/src/components/PromoTile/PromoTile.fixture.tsx +25 -0
  584. package/src/components/PromoTile/PromoTile.tsx +43 -0
  585. package/src/components/PromoTile/PromoTileContent.ts +5 -0
  586. package/src/components/StepsBlock/StepsBlock.fixture.tsx +23 -0
  587. package/src/components/StepsBlock/StepsBlock.tsx +55 -0
  588. package/src/components/StepsBlock/StepsBlockContent.ts +12 -0
  589. package/src/components/TextBlock/TextBlock.fixture.tsx +116 -0
  590. package/src/components/TextBlock/TextBlock.tsx +65 -0
  591. package/src/components/TextBlock/TextBlockContent.ts +12 -0
  592. package/src/components/Tile/Tile.fixture.tsx +134 -0
  593. package/src/components/Tile/Tile.tsx +38 -0
  594. package/src/components/Tile/TileContent.ts +3 -0
  595. package/src/content-page-repository/ContentPageRepository.ts +1 -1
  596. package/src/cosmos.decorator.tsx +6 -0
  597. package/src/hooks/useLink.ts +28 -0
  598. package/src/hooks/useSitemap.ts +17 -0
  599. package/src/index.ts +8 -8
  600. package/src/setup-fixture.ts +1 -1
  601. package/src/types.ts +2 -2
  602. package/src/ui-kit/BlockItem/BlockItem.fixture.tsx +5 -0
  603. package/src/ui-kit/{BlockItem.tsx → BlockItem/BlockItem.tsx} +0 -0
  604. package/src/ui-kit/Button/ArrowButton.tsx +32 -0
  605. package/src/ui-kit/Button/Button.fixture.tsx +163 -0
  606. package/src/ui-kit/Button/Button.tsx +90 -0
  607. package/src/ui-kit/Button/ButtonProps.ts +24 -0
  608. package/src/ui-kit/{LikeButton.fixture.tsx → Button/LikeButton.fixture.tsx} +0 -0
  609. package/src/ui-kit/{LikeButton.tsx → Button/LikeButton.tsx} +0 -0
  610. package/src/ui-kit/Checkbox/Checkbox.tsx +36 -0
  611. package/src/ui-kit/Checkbox/CheckboxProps.ts +6 -0
  612. package/src/ui-kit/HeaderItem/HeaderItem.fixture.tsx +8 -0
  613. package/src/ui-kit/HeaderItem/HeaderItem.tsx +25 -0
  614. package/src/ui-kit/Icon/Icon.fixture.tsx +22 -0
  615. package/src/ui-kit/Icon/Icon.tsx +15 -0
  616. package/src/ui-kit/{IconProps.ts → Icon/IconProps.ts} +0 -0
  617. package/src/ui-kit/InputRange/InputRange.tsx +63 -0
  618. package/src/ui-kit/InputRange/InputRangeProps.ts +10 -0
  619. package/src/ui-kit/Logo/Logo.fixture.tsx +5 -0
  620. package/src/ui-kit/Logo/Logo.tsx +35 -0
  621. package/src/ui-kit/SearchBar.tsx +1 -1
  622. package/src/ui-kit/{Title.tsx → Title/Title.tsx} +0 -0
  623. package/src/ui-kit/{TitleProps.ts → Title/TitleProps.ts} +0 -0
  624. package/src/ui-kit/TopItem/TopItem.fixture.tsx +8 -0
  625. package/src/ui-kit/TopItem/TopItem.tsx +37 -0
  626. package/src/utils/clamp.ts +2 -0
  627. package/dist/BaseTile.d.ts +0 -5
  628. package/dist/BaseTile.js +0 -40
  629. package/dist/BaseTile.js.map +0 -1
  630. package/dist/BaseTileContent.d.ts +0 -13
  631. package/dist/BaseTileContent.js.map +0 -1
  632. package/dist/BenefitsBlock.d.ts +0 -5
  633. package/dist/BenefitsBlock.js +0 -12
  634. package/dist/BenefitsBlock.js.map +0 -1
  635. package/dist/BenefitsBlockContent.d.ts +0 -10
  636. package/dist/BenefitsBlockContent.js.map +0 -1
  637. package/dist/BlockContent.d.ts +0 -16
  638. package/dist/BlockContent.js.map +0 -1
  639. package/dist/Blocks.d.ts +0 -18
  640. package/dist/Blocks.js +0 -37
  641. package/dist/Blocks.js.map +0 -1
  642. package/dist/ComparisonTable/ComparisonTable.d.ts +0 -5
  643. package/dist/ComparisonTable/ComparisonTable.js +0 -34
  644. package/dist/ComparisonTable/ComparisonTable.js.map +0 -1
  645. package/dist/ComparisonTable/ComparisonTableContent.d.ts +0 -37
  646. package/dist/ComparisonTable/ComparisonTableContent.js.map +0 -1
  647. package/dist/ComparisonTable/HeaderCell.d.ts +0 -10
  648. package/dist/ComparisonTable/HeaderCell.js +0 -11
  649. package/dist/ComparisonTable/HeaderCell.js.map +0 -1
  650. package/dist/ComparisonTable/TableCarouselContainer.js.map +0 -1
  651. package/dist/ComparisonTable/TableCell.js.map +0 -1
  652. package/dist/ComparisonTable/TableRow.js.map +0 -1
  653. package/dist/ComparisonTable/TableRowContainer.js.map +0 -1
  654. package/dist/ComparisonTable/constants.js.map +0 -1
  655. package/dist/ComparisonTable/index.d.ts +0 -3
  656. package/dist/ComparisonTable/index.js +0 -5
  657. package/dist/ComparisonTable/index.js.map +0 -1
  658. package/dist/ContentPage.d.ts +0 -19
  659. package/dist/ContentPage.js +0 -29
  660. package/dist/ContentPage.js.map +0 -1
  661. package/dist/ContentPageContext.js.map +0 -1
  662. package/dist/ContentPageHead.d.ts +0 -6
  663. package/dist/ContentPageHead.js.map +0 -1
  664. package/dist/ExchangeRateTile.d.ts +0 -5
  665. package/dist/ExchangeRateTile.js +0 -35
  666. package/dist/ExchangeRateTile.js.map +0 -1
  667. package/dist/ExchangeRateTileContent.js.map +0 -1
  668. package/dist/Footer/Contacts.d.ts +0 -7
  669. package/dist/Footer/Contacts.js +0 -31
  670. package/dist/Footer/Contacts.js.map +0 -1
  671. package/dist/Footer/Footer.d.ts +0 -5
  672. package/dist/Footer/Footer.js +0 -17
  673. package/dist/Footer/Footer.js.map +0 -1
  674. package/dist/Footer/Footer.mobile.d.ts +0 -5
  675. package/dist/Footer/Footer.mobile.js.map +0 -1
  676. package/dist/Footer/FooterContent.d.ts +0 -13
  677. package/dist/Footer/FooterContent.js.map +0 -1
  678. package/dist/Footer/FooterLink.d.ts +0 -5
  679. package/dist/Footer/FooterLink.js.map +0 -1
  680. package/dist/Footer/HorizontalNavigation.js +0 -12
  681. package/dist/Footer/HorizontalNavigation.js.map +0 -1
  682. package/dist/Footer/Sitemap.d.ts +0 -6
  683. package/dist/Footer/Sitemap.js +0 -22
  684. package/dist/Footer/Sitemap.js.map +0 -1
  685. package/dist/Footer/SocialMedia.d.ts +0 -6
  686. package/dist/Footer/SocialMedia.js +0 -24
  687. package/dist/Footer/SocialMedia.js.map +0 -1
  688. package/dist/Footer/TextInformation.js +0 -12
  689. package/dist/Footer/TextInformation.js.map +0 -1
  690. package/dist/Gallery.d.ts +0 -5
  691. package/dist/Gallery.js.map +0 -1
  692. package/dist/Gallery.mobile.js +0 -18
  693. package/dist/Gallery.mobile.js.map +0 -1
  694. package/dist/GalleryContent.d.ts +0 -13
  695. package/dist/GalleryContent.js.map +0 -1
  696. package/dist/GalleryInner.d.ts +0 -7
  697. package/dist/GalleryInner.js +0 -46
  698. package/dist/GalleryInner.js.map +0 -1
  699. package/dist/Header/Header.d.ts +0 -5
  700. package/dist/Header/Header.js +0 -26
  701. package/dist/Header/Header.js.map +0 -1
  702. package/dist/Header/HeaderContent.d.ts +0 -4
  703. package/dist/Header/HeaderContent.js.map +0 -1
  704. package/dist/Header/HeaderSecondaryMenu.d.ts +0 -9
  705. package/dist/Header/HeaderSecondaryMenu.js +0 -12
  706. package/dist/Header/HeaderSecondaryMenu.js.map +0 -1
  707. package/dist/Header/HeaderSecondaryMenuButton.js.map +0 -1
  708. package/dist/Header/isSubItemActive.d.ts +0 -3
  709. package/dist/Header/isSubItemActive.js +0 -8
  710. package/dist/Header/isSubItemActive.js.map +0 -1
  711. package/dist/Header/isTopItemActive.d.ts +0 -3
  712. package/dist/Header/isTopItemActive.js +0 -8
  713. package/dist/Header/isTopItemActive.js.map +0 -1
  714. package/dist/LikeControl.d.ts +0 -2
  715. package/dist/LikeControl.js +0 -10
  716. package/dist/LikeControl.js.map +0 -1
  717. package/dist/MiniGallery.d.ts +0 -5
  718. package/dist/MiniGallery.js +0 -7
  719. package/dist/MiniGallery.js.map +0 -1
  720. package/dist/MobileAppTile.d.ts +0 -5
  721. package/dist/MobileAppTile.js +0 -9
  722. package/dist/MobileAppTile.js.map +0 -1
  723. package/dist/MobileAppTileContent.d.ts +0 -9
  724. package/dist/MobileAppTileContent.js.map +0 -1
  725. package/dist/MobileBlocks.d.ts +0 -12
  726. package/dist/MobileBlocks.js +0 -28
  727. package/dist/MobileBlocks.js.map +0 -1
  728. package/dist/Placeholder.d.ts +0 -6
  729. package/dist/Placeholder.js +0 -15
  730. package/dist/Placeholder.js.map +0 -1
  731. package/dist/PlaceholderContent.js.map +0 -1
  732. package/dist/ProductBlock.d.ts +0 -5
  733. package/dist/ProductBlock.js +0 -15
  734. package/dist/ProductBlock.js.map +0 -1
  735. package/dist/ProductBlock.mobile.d.ts +0 -5
  736. package/dist/ProductBlock.mobile.js.map +0 -1
  737. package/dist/ProductBlockContent.d.ts +0 -5
  738. package/dist/ProductBlockContent.js.map +0 -1
  739. package/dist/ProductBlockInner.d.ts +0 -5
  740. package/dist/ProductBlockInner.js +0 -17
  741. package/dist/ProductBlockInner.js.map +0 -1
  742. package/dist/ProductBlockInnerContent.d.ts +0 -5
  743. package/dist/ProductBlockInnerContent.js +0 -2
  744. package/dist/ProductBlockInnerContent.js.map +0 -1
  745. package/dist/ProductGallery.d.ts +0 -5
  746. package/dist/ProductGallery.js +0 -27
  747. package/dist/ProductGallery.js.map +0 -1
  748. package/dist/ProductGalleryContent.d.ts +0 -14
  749. package/dist/ProductGalleryContent.js.map +0 -1
  750. package/dist/ProductTile.d.ts +0 -5
  751. package/dist/ProductTile.js +0 -20
  752. package/dist/ProductTile.js.map +0 -1
  753. package/dist/ProductTileContent.d.ts +0 -5
  754. package/dist/ProductTileContent.js.map +0 -1
  755. package/dist/PromoTile.d.ts +0 -5
  756. package/dist/PromoTile.js +0 -18
  757. package/dist/PromoTile.js.map +0 -1
  758. package/dist/PromoTileContent.d.ts +0 -4
  759. package/dist/PromoTileContent.js.map +0 -1
  760. package/dist/StepsBlock.d.ts +0 -5
  761. package/dist/StepsBlock.js +0 -17
  762. package/dist/StepsBlock.js.map +0 -1
  763. package/dist/StepsBlockContent.d.ts +0 -10
  764. package/dist/StepsBlockContent.js.map +0 -1
  765. package/dist/TextBlock.d.ts +0 -5
  766. package/dist/TextBlock.js +0 -36
  767. package/dist/TextBlock.js.map +0 -1
  768. package/dist/TextBlockContent.d.ts +0 -10
  769. package/dist/TextBlockContent.js.map +0 -1
  770. package/dist/Tile.d.ts +0 -5
  771. package/dist/Tile.js +0 -27
  772. package/dist/Tile.js.map +0 -1
  773. package/dist/TileContent.d.ts +0 -2
  774. package/dist/TileContent.js.map +0 -1
  775. package/dist/toMobilePage.d.ts +0 -2
  776. package/dist/toMobilePage.js.map +0 -1
  777. package/dist/ui-kit/ArrowButton.js +0 -22
  778. package/dist/ui-kit/ArrowButton.js.map +0 -1
  779. package/dist/ui-kit/BlockItem.js.map +0 -1
  780. package/dist/ui-kit/Button.js.map +0 -1
  781. package/dist/ui-kit/ButtonProps.d.ts +0 -21
  782. package/dist/ui-kit/ButtonProps.js.map +0 -1
  783. package/dist/ui-kit/HeaderItem.d.ts +0 -3
  784. package/dist/ui-kit/HeaderItem.js.map +0 -1
  785. package/dist/ui-kit/Icon.js +0 -7
  786. package/dist/ui-kit/Icon.js.map +0 -1
  787. package/dist/ui-kit/IconProps.js.map +0 -1
  788. package/dist/ui-kit/LikeButton.js.map +0 -1
  789. package/dist/ui-kit/Logo.js +0 -16
  790. package/dist/ui-kit/Logo.js.map +0 -1
  791. package/dist/ui-kit/Title.js.map +0 -1
  792. package/dist/ui-kit/TitleProps.js.map +0 -1
  793. package/dist/ui-kit/TopItem.d.ts +0 -11
  794. package/dist/ui-kit/TopItem.js.map +0 -1
  795. package/dist/useLink.d.ts +0 -15
  796. package/dist/useLink.js +0 -22
  797. package/dist/useLink.js.map +0 -1
  798. package/dist/useSitemap.d.ts +0 -3
  799. package/dist/useSitemap.js +0 -16
  800. package/dist/useSitemap.js.map +0 -1
  801. package/lib/BaseTile.d.ts +0 -5
  802. package/lib/BaseTile.js +0 -38
  803. package/lib/BaseTile.js.map +0 -1
  804. package/lib/BaseTileContent.d.ts +0 -13
  805. package/lib/BaseTileContent.js.map +0 -1
  806. package/lib/BenefitsBlock.d.ts +0 -5
  807. package/lib/BenefitsBlock.js +0 -10
  808. package/lib/BenefitsBlock.js.map +0 -1
  809. package/lib/BenefitsBlockContent.d.ts +0 -10
  810. package/lib/BenefitsBlockContent.js.map +0 -1
  811. package/lib/BlockContent.d.ts +0 -16
  812. package/lib/BlockContent.js.map +0 -1
  813. package/lib/Blocks.d.ts +0 -18
  814. package/lib/Blocks.js +0 -35
  815. package/lib/Blocks.js.map +0 -1
  816. package/lib/ComparisonTable/ComparisonTable.d.ts +0 -5
  817. package/lib/ComparisonTable/ComparisonTable.js +0 -32
  818. package/lib/ComparisonTable/ComparisonTable.js.map +0 -1
  819. package/lib/ComparisonTable/ComparisonTableContent.d.ts +0 -37
  820. package/lib/ComparisonTable/ComparisonTableContent.js.map +0 -1
  821. package/lib/ComparisonTable/HeaderCell.d.ts +0 -10
  822. package/lib/ComparisonTable/HeaderCell.js +0 -9
  823. package/lib/ComparisonTable/HeaderCell.js.map +0 -1
  824. package/lib/ComparisonTable/TableCarouselContainer.js.map +0 -1
  825. package/lib/ComparisonTable/TableCell.js.map +0 -1
  826. package/lib/ComparisonTable/TableRow.js.map +0 -1
  827. package/lib/ComparisonTable/TableRowContainer.js.map +0 -1
  828. package/lib/ComparisonTable/constants.js.map +0 -1
  829. package/lib/ComparisonTable/index.d.ts +0 -3
  830. package/lib/ComparisonTable/index.js +0 -2
  831. package/lib/ComparisonTable/index.js.map +0 -1
  832. package/lib/ContentPage.d.ts +0 -19
  833. package/lib/ContentPage.js +0 -27
  834. package/lib/ContentPage.js.map +0 -1
  835. package/lib/ContentPageContext.js.map +0 -1
  836. package/lib/ContentPageHead.d.ts +0 -6
  837. package/lib/ContentPageHead.js.map +0 -1
  838. package/lib/ExchangeRateTile.d.ts +0 -5
  839. package/lib/ExchangeRateTile.js +0 -33
  840. package/lib/ExchangeRateTile.js.map +0 -1
  841. package/lib/ExchangeRateTileContent.js.map +0 -1
  842. package/lib/Footer/Contacts.d.ts +0 -7
  843. package/lib/Footer/Contacts.js +0 -29
  844. package/lib/Footer/Contacts.js.map +0 -1
  845. package/lib/Footer/Footer.d.ts +0 -5
  846. package/lib/Footer/Footer.js +0 -15
  847. package/lib/Footer/Footer.js.map +0 -1
  848. package/lib/Footer/Footer.mobile.d.ts +0 -5
  849. package/lib/Footer/Footer.mobile.js.map +0 -1
  850. package/lib/Footer/FooterContent.d.ts +0 -13
  851. package/lib/Footer/FooterContent.js.map +0 -1
  852. package/lib/Footer/FooterLink.d.ts +0 -5
  853. package/lib/Footer/FooterLink.js.map +0 -1
  854. package/lib/Footer/HorizontalNavigation.js +0 -10
  855. package/lib/Footer/HorizontalNavigation.js.map +0 -1
  856. package/lib/Footer/Sitemap.d.ts +0 -6
  857. package/lib/Footer/Sitemap.js +0 -20
  858. package/lib/Footer/Sitemap.js.map +0 -1
  859. package/lib/Footer/SocialMedia.d.ts +0 -6
  860. package/lib/Footer/SocialMedia.js +0 -22
  861. package/lib/Footer/SocialMedia.js.map +0 -1
  862. package/lib/Footer/TextInformation.js +0 -10
  863. package/lib/Footer/TextInformation.js.map +0 -1
  864. package/lib/Gallery.d.ts +0 -5
  865. package/lib/Gallery.js.map +0 -1
  866. package/lib/Gallery.mobile.js +0 -16
  867. package/lib/Gallery.mobile.js.map +0 -1
  868. package/lib/GalleryContent.d.ts +0 -13
  869. package/lib/GalleryContent.js.map +0 -1
  870. package/lib/GalleryInner.d.ts +0 -7
  871. package/lib/GalleryInner.js +0 -44
  872. package/lib/GalleryInner.js.map +0 -1
  873. package/lib/Header/Header.d.ts +0 -5
  874. package/lib/Header/Header.js +0 -24
  875. package/lib/Header/Header.js.map +0 -1
  876. package/lib/Header/HeaderContent.d.ts +0 -4
  877. package/lib/Header/HeaderContent.js.map +0 -1
  878. package/lib/Header/HeaderSecondaryMenu.d.ts +0 -9
  879. package/lib/Header/HeaderSecondaryMenu.js +0 -10
  880. package/lib/Header/HeaderSecondaryMenu.js.map +0 -1
  881. package/lib/Header/HeaderSecondaryMenuButton.js.map +0 -1
  882. package/lib/Header/isSubItemActive.d.ts +0 -3
  883. package/lib/Header/isSubItemActive.js +0 -5
  884. package/lib/Header/isSubItemActive.js.map +0 -1
  885. package/lib/Header/isTopItemActive.d.ts +0 -3
  886. package/lib/Header/isTopItemActive.js +0 -5
  887. package/lib/Header/isTopItemActive.js.map +0 -1
  888. package/lib/LikeControl.d.ts +0 -2
  889. package/lib/LikeControl.js +0 -8
  890. package/lib/LikeControl.js.map +0 -1
  891. package/lib/MiniGallery.d.ts +0 -5
  892. package/lib/MiniGallery.js +0 -5
  893. package/lib/MiniGallery.js.map +0 -1
  894. package/lib/MobileAppTile.d.ts +0 -5
  895. package/lib/MobileAppTile.js +0 -7
  896. package/lib/MobileAppTile.js.map +0 -1
  897. package/lib/MobileAppTileContent.d.ts +0 -9
  898. package/lib/MobileAppTileContent.js.map +0 -1
  899. package/lib/MobileBlocks.d.ts +0 -12
  900. package/lib/MobileBlocks.js +0 -26
  901. package/lib/MobileBlocks.js.map +0 -1
  902. package/lib/Placeholder.d.ts +0 -6
  903. package/lib/Placeholder.js +0 -13
  904. package/lib/Placeholder.js.map +0 -1
  905. package/lib/PlaceholderContent.js.map +0 -1
  906. package/lib/ProductBlock.d.ts +0 -5
  907. package/lib/ProductBlock.js +0 -13
  908. package/lib/ProductBlock.js.map +0 -1
  909. package/lib/ProductBlock.mobile.d.ts +0 -5
  910. package/lib/ProductBlock.mobile.js.map +0 -1
  911. package/lib/ProductBlockContent.d.ts +0 -5
  912. package/lib/ProductBlockContent.js.map +0 -1
  913. package/lib/ProductBlockInner.d.ts +0 -5
  914. package/lib/ProductBlockInner.js +0 -15
  915. package/lib/ProductBlockInner.js.map +0 -1
  916. package/lib/ProductBlockInnerContent.d.ts +0 -5
  917. package/lib/ProductBlockInnerContent.js +0 -2
  918. package/lib/ProductBlockInnerContent.js.map +0 -1
  919. package/lib/ProductGallery.d.ts +0 -5
  920. package/lib/ProductGallery.js +0 -25
  921. package/lib/ProductGallery.js.map +0 -1
  922. package/lib/ProductGalleryContent.d.ts +0 -14
  923. package/lib/ProductGalleryContent.js.map +0 -1
  924. package/lib/ProductTile.d.ts +0 -5
  925. package/lib/ProductTile.js +0 -18
  926. package/lib/ProductTile.js.map +0 -1
  927. package/lib/ProductTileContent.d.ts +0 -5
  928. package/lib/ProductTileContent.js.map +0 -1
  929. package/lib/PromoTile.d.ts +0 -5
  930. package/lib/PromoTile.js +0 -16
  931. package/lib/PromoTile.js.map +0 -1
  932. package/lib/PromoTileContent.d.ts +0 -4
  933. package/lib/PromoTileContent.js.map +0 -1
  934. package/lib/StepsBlock.d.ts +0 -5
  935. package/lib/StepsBlock.js +0 -15
  936. package/lib/StepsBlock.js.map +0 -1
  937. package/lib/StepsBlockContent.d.ts +0 -10
  938. package/lib/StepsBlockContent.js.map +0 -1
  939. package/lib/TextBlock.d.ts +0 -5
  940. package/lib/TextBlock.js +0 -34
  941. package/lib/TextBlock.js.map +0 -1
  942. package/lib/TextBlockContent.d.ts +0 -10
  943. package/lib/TextBlockContent.js.map +0 -1
  944. package/lib/Tile.d.ts +0 -5
  945. package/lib/Tile.js +0 -25
  946. package/lib/Tile.js.map +0 -1
  947. package/lib/TileContent.d.ts +0 -2
  948. package/lib/TileContent.js.map +0 -1
  949. package/lib/toMobilePage.d.ts +0 -2
  950. package/lib/toMobilePage.js.map +0 -1
  951. package/lib/ui-kit/ArrowButton.js +0 -20
  952. package/lib/ui-kit/ArrowButton.js.map +0 -1
  953. package/lib/ui-kit/BlockItem.js.map +0 -1
  954. package/lib/ui-kit/Button.js.map +0 -1
  955. package/lib/ui-kit/ButtonProps.d.ts +0 -21
  956. package/lib/ui-kit/ButtonProps.js.map +0 -1
  957. package/lib/ui-kit/HeaderItem.d.ts +0 -3
  958. package/lib/ui-kit/HeaderItem.js.map +0 -1
  959. package/lib/ui-kit/Icon.js +0 -5
  960. package/lib/ui-kit/Icon.js.map +0 -1
  961. package/lib/ui-kit/IconProps.js.map +0 -1
  962. package/lib/ui-kit/LikeButton.js.map +0 -1
  963. package/lib/ui-kit/Logo.js +0 -14
  964. package/lib/ui-kit/Logo.js.map +0 -1
  965. package/lib/ui-kit/Title.js.map +0 -1
  966. package/lib/ui-kit/TitleProps.js.map +0 -1
  967. package/lib/ui-kit/TopItem.d.ts +0 -11
  968. package/lib/ui-kit/TopItem.js.map +0 -1
  969. package/lib/useLink.d.ts +0 -15
  970. package/lib/useLink.js +0 -19
  971. package/lib/useLink.js.map +0 -1
  972. package/lib/useSitemap.d.ts +0 -3
  973. package/lib/useSitemap.js +0 -13
  974. package/lib/useSitemap.js.map +0 -1
  975. package/src/BaseTile.tsx +0 -98
  976. package/src/BaseTileContent.ts +0 -14
  977. package/src/BenefitsBlock.fixture.tsx +0 -34
  978. package/src/BenefitsBlock.tsx +0 -42
  979. package/src/BenefitsBlockContent.ts +0 -12
  980. package/src/BlockContent.ts +0 -32
  981. package/src/Blocks.ts +0 -35
  982. package/src/ComparisonTable/ComparisonTable.fixture.tsx +0 -265
  983. package/src/ComparisonTable/ComparisonTable.tsx +0 -126
  984. package/src/ComparisonTable/ComparisonTableContent.ts +0 -43
  985. package/src/ComparisonTable/HeaderCell.tsx +0 -50
  986. package/src/ComparisonTable/index.ts +0 -3
  987. package/src/ContentPage.fixture.tsx +0 -58
  988. package/src/ContentPage.tsx +0 -88
  989. package/src/ContentPageHead.tsx +0 -26
  990. package/src/ExchangeRateTile.fixture.tsx +0 -11
  991. package/src/ExchangeRateTile.tsx +0 -80
  992. package/src/Footer/Contacts.tsx +0 -73
  993. package/src/Footer/Footer.fixture.tsx +0 -265
  994. package/src/Footer/Footer.mobile.tsx +0 -12
  995. package/src/Footer/Footer.tsx +0 -40
  996. package/src/Footer/FooterContent.ts +0 -15
  997. package/src/Footer/FooterLink.ts +0 -6
  998. package/src/Footer/HorizontalNavigation.tsx +0 -46
  999. package/src/Footer/Sitemap.tsx +0 -58
  1000. package/src/Footer/SocialMedia.tsx +0 -52
  1001. package/src/Footer/TextInformation.tsx +0 -50
  1002. package/src/Gallery.fixture.tsx +0 -215
  1003. package/src/Gallery.mobile.tsx +0 -71
  1004. package/src/Gallery.tsx +0 -8
  1005. package/src/GalleryContent.ts +0 -15
  1006. package/src/GalleryInner.tsx +0 -135
  1007. package/src/Header/Header.fixture.tsx +0 -21
  1008. package/src/Header/Header.tsx +0 -59
  1009. package/src/Header/HeaderContent.ts +0 -5
  1010. package/src/Header/HeaderSecondaryMenu.tsx +0 -56
  1011. package/src/Header/isSubItemActive.ts +0 -7
  1012. package/src/Header/isTopItemActive.ts +0 -8
  1013. package/src/LikeControl.fixture.tsx +0 -5
  1014. package/src/LikeControl.tsx +0 -23
  1015. package/src/MiniGallery.fixture.tsx +0 -90
  1016. package/src/MiniGallery.tsx +0 -10
  1017. package/src/MobileAppTile.fixture.tsx +0 -34
  1018. package/src/MobileAppTile.tsx +0 -32
  1019. package/src/MobileAppTileContent.ts +0 -11
  1020. package/src/MobileBlocks.ts +0 -26
  1021. package/src/Placeholder.fixture.tsx +0 -5
  1022. package/src/Placeholder.tsx +0 -30
  1023. package/src/ProductBlock.fixture.tsx +0 -96
  1024. package/src/ProductBlock.mobile.tsx +0 -19
  1025. package/src/ProductBlock.tsx +0 -37
  1026. package/src/ProductBlockContent.ts +0 -6
  1027. package/src/ProductBlockInner.tsx +0 -57
  1028. package/src/ProductBlockInnerContent.ts +0 -6
  1029. package/src/ProductGallery.fixture.tsx +0 -138
  1030. package/src/ProductGallery.tsx +0 -78
  1031. package/src/ProductGalleryContent.ts +0 -16
  1032. package/src/ProductTile.fixture.tsx +0 -155
  1033. package/src/ProductTile.tsx +0 -43
  1034. package/src/ProductTileContent.ts +0 -6
  1035. package/src/PromoTile.fixture.tsx +0 -25
  1036. package/src/PromoTile.tsx +0 -43
  1037. package/src/PromoTileContent.ts +0 -5
  1038. package/src/StepsBlock.fixture.tsx +0 -23
  1039. package/src/StepsBlock.tsx +0 -55
  1040. package/src/StepsBlockContent.ts +0 -12
  1041. package/src/TextBlock.fixture.tsx +0 -116
  1042. package/src/TextBlock.tsx +0 -65
  1043. package/src/TextBlockContent.ts +0 -12
  1044. package/src/Tile.fixture.tsx +0 -134
  1045. package/src/Tile.tsx +0 -38
  1046. package/src/TileContent.ts +0 -3
  1047. package/src/toMobilePage.ts +0 -21
  1048. package/src/ui-kit/ArrowButton.tsx +0 -32
  1049. package/src/ui-kit/BlockItem.fixture.tsx +0 -5
  1050. package/src/ui-kit/Button.fixture.tsx +0 -163
  1051. package/src/ui-kit/Button.tsx +0 -90
  1052. package/src/ui-kit/ButtonProps.ts +0 -24
  1053. package/src/ui-kit/HeaderItem.fixture.tsx +0 -8
  1054. package/src/ui-kit/HeaderItem.tsx +0 -25
  1055. package/src/ui-kit/Icon.fixture.tsx +0 -22
  1056. package/src/ui-kit/Icon.tsx +0 -15
  1057. package/src/ui-kit/Logo.fixture.tsx +0 -5
  1058. package/src/ui-kit/Logo.tsx +0 -35
  1059. package/src/ui-kit/TopItem.fixture.tsx +0 -8
  1060. package/src/ui-kit/TopItem.tsx +0 -37
  1061. package/src/useLink.ts +0 -28
  1062. package/src/useSitemap.ts +0 -17
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
- }
@@ -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
- );
@@ -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
- };
@@ -1,12 +0,0 @@
1
- import type { IconName } from './ui-kit/IconProps';
2
-
3
- export interface Benefit {
4
- label: string;
5
- description?: string;
6
- icon?: IconName;
7
- }
8
-
9
- export interface BenefitsBlockContent {
10
- title?: string;
11
- benefits?: Benefit[];
12
- }
@@ -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
- };
@@ -1,265 +0,0 @@
1
- import type { Picture } from '../model/Picture';
2
- import { context } from '../setup-fixture';
3
- import { ComparisonTable } from './ComparisonTable';
4
- import type { Column } from './ComparisonTableContent';
5
-
6
- const image1: Picture = {
7
- src: 'card-1.png',
8
- format: 'webp',
9
- size: {
10
- width: 100,
11
- height: 63,
12
- },
13
- };
14
-
15
- const image2: Picture = {
16
- src: 'card-2.png',
17
- format: 'webp',
18
- size: {
19
- width: 100,
20
- height: 63,
21
- },
22
- };
23
-
24
- const image3: Picture = {
25
- src: 'card-3.png',
26
- format: 'webp',
27
- size: {
28
- width: 100,
29
- height: 63,
30
- },
31
- };
32
-
33
- const rowHeaders = [
34
- { title: 'Начисление процентов на остаток по счету' },
35
- { title: 'Снятие наличных' },
36
- { title: 'Оформление онлайн' },
37
- { title: 'Кэшбэк баллами' },
38
- { title: 'Стоимость обслуживания' },
39
- { title: 'Стоимость SMS-сервиса' },
40
- { title: 'Дополнительная информация' },
41
- ];
42
- const rowHeaders2 = [
43
- { title: 'Срок вклада (дней)' },
44
- { title: 'Ставка по вкладу' },
45
- { title: 'Минимальная сумма' },
46
- { title: 'Максимальная сумма' },
47
- ];
48
- const columns: Column[] = [
49
- {
50
- header: {
51
- title: 'Россельхоз-Росснефть',
52
- image: image1,
53
- link: {
54
- text: 'Подробнее',
55
- href: '/credits',
56
- },
57
- },
58
- data: [
59
- [{ label: 'Нет' }],
60
- [
61
- {
62
- label: 'Бесплатно',
63
- description: 'В банкоматах и кассах Россельхозбанка и банков-партнеров',
64
- },
65
- {
66
- label: 'Бесплатно',
67
- description: 'В сторонних банкоматах - 1 раз в месяц, далее 1% минимум 150 руб',
68
- },
69
- ],
70
- [{ label: 'Нет' }],
71
- [{ label: 'До 7%' }],
72
- [
73
- {
74
- label: 'Бесплатно',
75
- description: 'При обороте по карте от 10000 ₽ в месяц',
76
- },
77
- ],
78
- [{ label: '69 рублей в месяц' }],
79
- [{ description: 'Оплачивайте покупки картой и заправляйтесь за баллы в сети АЗС Роснефть' }],
80
- ],
81
- },
82
- {
83
- header: {
84
- title: 'Panasonic',
85
- image: image2,
86
- link: {
87
- text: 'Подробнее',
88
- href: '/credits',
89
- },
90
- },
91
- data: [
92
- [{ label: 'Нет' }],
93
- [
94
- {
95
- label: 'Бесплатно',
96
- description: 'В банкоматах и кассах Россельхозбанка и банков-партнеров',
97
- },
98
- {
99
- label: '1%',
100
- description: 'В сторонних банкоматах, минимум 150 руб',
101
- },
102
- ],
103
- [{ label: 'Нет' }],
104
- [{ label: 'До 20%' }],
105
- [
106
- {
107
- label: 'Бесплатно',
108
- description: 'При обороте по карте от 10000 ₽ в месяц',
109
- },
110
- ],
111
- [{ label: '69 рублей в месяц' }],
112
- [
113
- {
114
- description:
115
- 'Копите баллы каждый день и обменивайте их на скидки на электронику и бытовую технику Panasonic',
116
- },
117
- ],
118
- ],
119
- },
120
- {
121
- header: {
122
- title: 'Профсоюзная',
123
- image: image3,
124
- link: {
125
- text: 'Подробнее',
126
- href: '/credits',
127
- },
128
- },
129
- data: [
130
- [{ label: 'Нет' }],
131
- [{ label: 'Бесплатно' }],
132
- [{ label: 'Есть' }],
133
- [{ label: 'До 20%' }],
134
- [
135
- {
136
- label: 'Бесплатно',
137
- description: 'При обороте по карте от 10000 ₽ в месяц',
138
- },
139
- ],
140
- [{ label: '69 рублей в месяц' }],
141
- [{ description: 'Для членов профсоюзных организаций' }],
142
- ],
143
- },
144
- ];
145
- const columns2: Column[] = [
146
- {
147
- header: {
148
- title: '«Пополняемый»',
149
- icon: 'GlassIcon',
150
- link: {
151
- text: 'Подробнее',
152
- href: '/credits',
153
- },
154
- },
155
- data: [
156
- [{ label: 'от 91 до 1095' }],
157
- [{ label: 'до 8,2% ₽' }, { label: 'до 0,01% USD' }],
158
- [{ label: 'От 3000 ₽' }, { label: 'От 50 USD' }],
159
- [{ label: 'до 10 млн ₽' }, { label: 'до 300 тыс. USD' }],
160
- ],
161
- },
162
- {
163
- header: {
164
- title: '«Комфортный»',
165
- icon: 'ComfortableCompIcon',
166
- link: {
167
- text: 'Подробнее',
168
- href: '/credits',
169
- },
170
- },
171
- data: [
172
- [{ label: 'от 91 до 1095' }],
173
- [{ label: 'до 7,2% ₽' }, { label: 'до 0,01% USD' }],
174
- [{ label: 'От 10 000 ₽' }, { label: 'От 150 USD' }],
175
- [{ label: 'до 10 млн ₽' }, { label: 'до 300 тыс. USD' }],
176
- ],
177
- },
178
- {
179
- header: {
180
- title: '«Доходный пенсионный»',
181
- icon: 'ClockIcon',
182
- link: {
183
- text: 'Подробнее',
184
- href: '/credits',
185
- },
186
- },
187
- data: [
188
- [{ label: 'от 91 до 1460' }],
189
- [{ label: 'до 9,5% ₽' }],
190
- [{ label: 'От 500 ₽' }],
191
- [{ label: 'Без ограничений' }],
192
- ],
193
- },
194
- ];
195
-
196
- export default {
197
- 'with images': (
198
- <div className="w-[1280px]">
199
- <div className="grid grid-cols-12">
200
- <ComparisonTable
201
- className="col-span-12"
202
- title="Другие дебетовые карты Россельхозбанка"
203
- context={context}
204
- rowHeaders={rowHeaders}
205
- columns={Array(2).fill(columns).flat()}
206
- />
207
- </div>
208
- </div>
209
- ),
210
- 'with images and hidden rows': (
211
- <div className="w-[1280px]">
212
- <div className="grid grid-cols-12">
213
- <ComparisonTable
214
- className="col-span-12"
215
- title="Другие дебетовые карты Россельхозбанка"
216
- visibleRowLength={3}
217
- context={context}
218
- rowHeaders={rowHeaders}
219
- columns={Array(2).fill(columns).flat()}
220
- />
221
- </div>
222
- </div>
223
- ),
224
- 'with images and colored first column': (
225
- <div className="w-[1280px]">
226
- <div className="grid grid-cols-12">
227
- <ComparisonTable
228
- className="col-span-12"
229
- title="Другие дебетовые карты Россельхозбанка"
230
- visibleRowLength={3}
231
- isColoredFirstColumn={true}
232
- context={context}
233
- rowHeaders={rowHeaders}
234
- columns={Array(2).fill(columns).flat()}
235
- />
236
- </div>
237
- </div>
238
- ),
239
- 'with icons': (
240
- <div className="w-[1280px]">
241
- <div className="grid grid-cols-12">
242
- <ComparisonTable
243
- className="col-span-12"
244
- title="Другие вклады и сбережения"
245
- context={context}
246
- rowHeaders={rowHeaders2}
247
- columns={Array(2).fill(columns2).flat()}
248
- />
249
- </div>
250
- </div>
251
- ),
252
- 'with icons and two cols': (
253
- <div className="w-[1280px]">
254
- <div className="grid grid-cols-12">
255
- <ComparisonTable
256
- className="col-span-12"
257
- title="Другие вклады и сбережения"
258
- context={context}
259
- rowHeaders={rowHeaders2}
260
- columns={columns2.slice(0, 2)}
261
- />
262
- </div>
263
- </div>
264
- ),
265
- };
@@ -1,126 +0,0 @@
1
- import { JSX } from '@redneckz/uni-jsx';
2
- import type { UniBlockProps } from '../types';
3
- import { ArrowButton } from '../ui-kit/ArrowButton';
4
- import { Title } from '../ui-kit/Title';
5
- import { TableRowContainer } from './TableRowContainer';
6
- import { TableCarouselContainer } from './TableCarouselContainer';
7
- import { useLink } from '../useLink';
8
- import type { ComparisonTableContent, RowData } from './ComparisonTableContent';
9
- import { HeaderCell } from './HeaderCell';
10
- import { TableRow } from './TableRow';
11
- import { COLS_LENGTH_FOR_SCROLL, FIRST_CELL_CLASSES } from './constants';
12
-
13
- export interface ComparisonTableProps extends ComparisonTableContent, UniBlockProps {}
14
-
15
- export const ComparisonTable = JSX<ComparisonTableProps>(
16
- ({
17
- className,
18
- context,
19
- title,
20
- rowHeaders,
21
- columns,
22
- visibleRowLength = 0,
23
- isColoredFirstColumn = false,
24
- }) => {
25
- const router = context.useRouter();
26
- const { handlerDecorator } = context;
27
- const [activeCardIndex, setActiveCardIndex] = context.useState(0);
28
- const [isShowAllRow, setIsShowAllRow] = context.useState(!visibleRowLength);
29
-
30
- const colHeaders = columns?.map(({ header }) => header || {});
31
- const colData = columns?.map(({ data }) => data) || [];
32
- const rowData: RowData = rowHeaders
33
- ?.map((header, i) => ({
34
- header,
35
- data: colData.map((col) => col?.[i] || [{}]),
36
- }))
37
- .slice(0, isShowAllRow ? rowHeaders.length : visibleRowLength);
38
-
39
- const nextClick = () => setActiveCardIndex(activeCardIndex + 1);
40
- const prevClick = () => setActiveCardIndex(activeCardIndex - 1);
41
- const showToggle = () => setIsShowAllRow(!isShowAllRow);
42
-
43
- const isScrollAvailable = colData?.length && colData.length > COLS_LENGTH_FOR_SCROLL;
44
- const showNextButton =
45
- isScrollAvailable && colData?.length - activeCardIndex > COLS_LENGTH_FOR_SCROLL;
46
- const showPrevButton = isScrollAvailable && activeCardIndex > 0;
47
-
48
- return (
49
- <section
50
- className={`bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${
51
- className || ''
52
- }`}
53
- >
54
- <Title className="font-medium m-0 max-w-[47rem] text-center mb-9 mx-auto">{title}</Title>
55
- <div role="table">
56
- {colHeaders?.length ? (
57
- <TableRowContainer>
58
- <div className={FIRST_CELL_CLASSES} role="columnheader" scope="col" />
59
- <TableCarouselContainer activeCardIndex={activeCardIndex}>
60
- {colHeaders.map((header, i) => (
61
- <HeaderCell
62
- key={String(i)}
63
- {...header}
64
- link={header.link && useLink({ router, handlerDecorator }, header.link)}
65
- />
66
- ))}
67
- </TableCarouselContainer>
68
- </TableRowContainer>
69
- ) : null}
70
-
71
- {rowData?.length ? (
72
- <div className="relative">
73
- {rowData.map((row, i, { length }) => (
74
- <TableRow
75
- key={String(i)}
76
- row={row}
77
- isFirstRow={i === 0}
78
- isLastRow={i + 1 === length}
79
- activeCardIndex={activeCardIndex}
80
- isColoredFirstColumn={isColoredFirstColumn}
81
- />
82
- ))}
83
- {isScrollAvailable ? (
84
- <div>
85
- <div className="absolute top-7 right-7 z-10">
86
- <ArrowButton
87
- onClick={nextClick}
88
- disabled={!showNextButton}
89
- ariaLabel="Пролистать вправо"
90
- />
91
- <ArrowButton
92
- className="mt-4 rotate-180"
93
- onClick={prevClick}
94
- disabled={!showPrevButton}
95
- ariaLabel="Пролистать влево"
96
- />
97
- </div>
98
- </div>
99
- ) : null}
100
- </div>
101
- ) : null}
102
- </div>
103
-
104
- {isScrollAvailable ? (
105
- <div className="absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white" />
106
- ) : null}
107
-
108
- {visibleRowLength ? (
109
- <div className="pr-[50px]">
110
- <div className="flex w-full">
111
- <div className={FIRST_CELL_CLASSES} />
112
- <button
113
- onClick={showToggle}
114
- className="mt-5 flex-1 border-main-stroke border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main"
115
- >
116
- <div className="font-sans font-medium text-xs py-[11px]">
117
- {!isShowAllRow ? 'Показать все параметры' : 'Скрыть'}
118
- </div>
119
- </button>
120
- </div>
121
- </div>
122
- ) : null}
123
- </section>
124
- );
125
- },
126
- );