@redneckz/wildless-cms-uni-blocks 0.3.33 → 0.3.36

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 (636) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +298 -158
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/cosmos-static/icons/ArrowLeftIcon.svg +1 -0
  5. package/cosmos-static/icons/BurgerIcon.svg +1 -1
  6. package/cosmos-static/icons/Calendar2Icon.svg +1 -1
  7. package/cosmos-static/icons/CalendarCircleIcon.svg +1 -1
  8. package/cosmos-static/icons/CalendarIcon.svg +1 -1
  9. package/cosmos-static/icons/CalendarTickIcon.svg +1 -1
  10. package/cosmos-static/icons/CalendarWhiteIcon.svg +1 -1
  11. package/cosmos-static/icons/CardIcon.svg +1 -1
  12. package/cosmos-static/icons/CardPosIcon.svg +1 -1
  13. package/cosmos-static/icons/CardTickIcon.svg +1 -1
  14. package/cosmos-static/icons/ChartSquareIcon.svg +1 -1
  15. package/cosmos-static/icons/CloseIcon.svg +1 -1
  16. package/cosmos-static/icons/DiscountShapeIcon.svg +1 -1
  17. package/cosmos-static/icons/DocIcon.svg +1 -1
  18. package/cosmos-static/icons/DocumentTextIcon.svg +1 -1
  19. package/cosmos-static/icons/EmptyWalletChangeIcon.svg +1 -1
  20. package/cosmos-static/icons/EmptyWalletIcon.svg +1 -1
  21. package/cosmos-static/icons/GlobalIcon.svg +1 -1
  22. package/cosmos-static/icons/GpsIcon.svg +1 -1
  23. package/cosmos-static/icons/InterestIcon.svg +1 -1
  24. package/cosmos-static/icons/MoneyIcon.svg +1 -1
  25. package/cosmos-static/icons/MonitorMobileIcon.svg +1 -1
  26. package/cosmos-static/icons/PercentageRoundIcon.svg +1 -1
  27. package/cosmos-static/icons/PercentageSquareIcon.svg +1 -1
  28. package/cosmos-static/icons/PersonalCardIcon.svg +1 -1
  29. package/cosmos-static/icons/Profile2UserIcon.svg +1 -1
  30. package/cosmos-static/icons/RoundRubleIcon.svg +1 -1
  31. package/cosmos-static/icons/SafeIcon.svg +1 -1
  32. package/cosmos-static/icons/ShieldTickIcon.svg +1 -1
  33. package/cosmos-static/icons/SmallClockIcon.svg +1 -1
  34. package/cosmos-static/icons/UserTickIcon.svg +1 -1
  35. package/cosmos-static/icons/WalletAdd2Icon.svg +1 -1
  36. package/cosmos-static/icons/WalletAddIcon.svg +1 -1
  37. package/cosmos-static/icons/WalletIcon.svg +1 -1
  38. package/cosmos-static/icons/WalletWithMoneyIcon.svg +1 -1
  39. package/dist/components/Blocks.js +1 -1
  40. package/dist/components/Blocks.js.map +1 -1
  41. package/dist/components/ComparisonTable/HeaderCell.js +1 -1
  42. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  43. package/dist/components/ComparisonTable/TableCell.js +1 -1
  44. package/dist/components/ContentPage/ContentPage.js +10 -3
  45. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  46. package/dist/components/ContentPage/ContentPageContext.d.ts +2 -2
  47. package/dist/components/CreditCalculator/renderButton.js +8 -1
  48. package/dist/components/CreditCalculator/renderButton.js.map +1 -1
  49. package/dist/components/Footer/Contacts.js +5 -5
  50. package/dist/components/Footer/Contacts.js.map +1 -1
  51. package/dist/components/Footer/Footer.js +3 -4
  52. package/dist/components/Footer/Footer.js.map +1 -1
  53. package/dist/components/Footer/FooterContent.d.ts +2 -0
  54. package/dist/components/Footer/HorizontalNavigation.js +1 -1
  55. package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  56. package/dist/components/Footer/MediaButton.js +15 -1
  57. package/dist/components/Footer/MediaButton.js.map +1 -1
  58. package/dist/components/Footer/Sitemap.js +4 -4
  59. package/dist/components/Footer/Sitemap.js.map +1 -1
  60. package/dist/components/Footer/SocialMedia.js +2 -2
  61. package/dist/components/Footer/SocialMedia.js.map +1 -1
  62. package/dist/components/Footer/TextInformation.js +2 -2
  63. package/dist/components/Footer/TextInformation.js.map +1 -1
  64. package/dist/components/Gallery/GalleryCardInner.js +5 -6
  65. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  66. package/dist/components/Gallery/GalleryContainer.js +2 -2
  67. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  68. package/dist/components/Gallery/GalleryInner.js +1 -1
  69. package/dist/components/Header/Header.js +4 -8
  70. package/dist/components/Header/Header.js.map +1 -1
  71. package/dist/components/Header/HeaderSecondaryMenu.js +3 -3
  72. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  73. package/dist/components/Header/HeaderSubMenu.d.ts +9 -0
  74. package/dist/components/Header/HeaderSubMenu.js +37 -0
  75. package/dist/components/Header/HeaderSubMenu.js.map +1 -0
  76. package/dist/components/Header/HeaderSubMenuObserver.d.ts +1 -0
  77. package/dist/components/Header/HeaderSubMenuObserver.js +32 -0
  78. package/dist/components/Header/HeaderSubMenuObserver.js.map +1 -0
  79. package/dist/components/LinkDocs/LinkDocsList.d.ts +1 -1
  80. package/dist/components/LinkDocs/LinkDocsList.js +1 -1
  81. package/dist/components/LinkDocs/LinkDocsList.js.map +1 -1
  82. package/dist/components/LinkDocs/LinkDocsListItem.js +1 -1
  83. package/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  84. package/dist/components/NavigatorTabs/NavigatorTabItem.js +4 -4
  85. package/dist/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  86. package/dist/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
  87. package/dist/components/NavigatorTabs/NavigatorTabs.js +11 -6
  88. package/dist/components/NavigatorTabs/NavigatorTabs.js.map +1 -1
  89. package/dist/components/NavigatorTabs/NavigatorTabsContent.d.ts +3 -1
  90. package/dist/components/ProductBlock/ProductBlock.js +2 -1
  91. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  92. package/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -1
  93. package/dist/components/ProductBlock/ProductBlockInner.js +5 -5
  94. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  95. package/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -0
  96. package/dist/components/ProductBlock/renderBackwardButton.js +18 -0
  97. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -0
  98. package/dist/components/ProductBlock/renderBenefit.js +2 -2
  99. package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  100. package/dist/components/Recommendation/RecommendationCard.js +2 -1
  101. package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  102. package/dist/components/Recommendation/RecommendationContent.d.ts +4 -0
  103. package/dist/components/StepsBlock/StepsBlock.js +6 -5
  104. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  105. package/dist/components/StepsBlock/StepsBlockContent.d.ts +3 -0
  106. package/dist/components/TariffsTable/TariffsTableCell.js +2 -1
  107. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  108. package/dist/components/TariffsTable/TariffsTableTileCell.js +2 -1
  109. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  110. package/dist/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
  111. package/dist/components/TariffsTable/utils/getButtonAriaLabel.js +6 -0
  112. package/dist/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -0
  113. package/dist/components/Tile/Tile.js +3 -3
  114. package/dist/components/Tile/Tile.js.map +1 -1
  115. package/dist/hooks/useLink.d.ts +1 -1
  116. package/dist/hooks/useLink.js +1 -1
  117. package/dist/hooks/useLink.js.map +1 -1
  118. package/dist/icons/IconName.d.ts +5 -3
  119. package/dist/icons/IconName.js +3 -1
  120. package/dist/icons/IconName.js.map +1 -1
  121. package/dist/setup-fixture.js +0 -4
  122. package/dist/setup-fixture.js.map +1 -1
  123. package/dist/ui-kit/Button/Button.js +6 -1
  124. package/dist/ui-kit/Button/Button.js.map +1 -1
  125. package/dist/ui-kit/Button/ButtonInner.js +2 -2
  126. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  127. package/dist/ui-kit/HeaderItem/HeaderItem.js +2 -2
  128. package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  129. package/dist/ui-kit/Heading/Heading.d.ts +2 -1
  130. package/dist/ui-kit/Heading/Heading.js +3 -3
  131. package/dist/ui-kit/Heading/Heading.js.map +1 -1
  132. package/dist/ui-kit/Heading/Heading.mobile.d.ts +2 -1
  133. package/dist/ui-kit/Heading/Heading.mobile.js +2 -2
  134. package/dist/ui-kit/Heading/Heading.mobile.js.map +1 -1
  135. package/dist/ui-kit/Icon/Icon.js +2 -2
  136. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  137. package/dist/ui-kit/List/List.js +2 -0
  138. package/dist/ui-kit/List/List.js.map +1 -1
  139. package/dist/ui-kit/List/ListItem.js +19 -5
  140. package/dist/ui-kit/List/ListItem.js.map +1 -1
  141. package/dist/ui-kit/List/ListProps.d.ts +1 -1
  142. package/dist/ui-kit/Logo/Logo.js +1 -1
  143. package/dist/ui-kit/Logo/Logo.js.map +1 -1
  144. package/dist/ui-kit/SearchBar/SearchBar.js +1 -1
  145. package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  146. package/dist/ui-kit/TopItem/TopItem.d.ts +1 -0
  147. package/dist/ui-kit/TopItem/TopItem.js +1 -1
  148. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  149. package/dist/utils/changeHashOnScroll.d.ts +2 -0
  150. package/dist/utils/changeHashOnScroll.js +16 -0
  151. package/dist/utils/changeHashOnScroll.js.map +1 -0
  152. package/dist/utils/isSSR.d.ts +1 -0
  153. package/dist/utils/isSSR.js +5 -0
  154. package/dist/utils/isSSR.js.map +1 -0
  155. package/dist/utils/tableFunc.d.ts +2 -0
  156. package/dist/utils/tableFunc.js +8 -0
  157. package/dist/utils/tableFunc.js.map +1 -0
  158. package/lib/common.css +1 -1
  159. package/lib/components/Blocks.js +1 -1
  160. package/lib/components/Blocks.js.map +1 -1
  161. package/lib/components/ComparisonTable/HeaderCell.js +1 -1
  162. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  163. package/lib/components/ComparisonTable/TableCell.js +1 -1
  164. package/lib/components/ContentPage/ContentPage.js +10 -3
  165. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  166. package/lib/components/ContentPage/ContentPageContext.d.ts +2 -2
  167. package/lib/components/CreditCalculator/renderButton.js +8 -1
  168. package/lib/components/CreditCalculator/renderButton.js.map +1 -1
  169. package/lib/components/Footer/Contacts.js +5 -5
  170. package/lib/components/Footer/Contacts.js.map +1 -1
  171. package/lib/components/Footer/Footer.js +3 -4
  172. package/lib/components/Footer/Footer.js.map +1 -1
  173. package/lib/components/Footer/FooterContent.d.ts +2 -0
  174. package/lib/components/Footer/HorizontalNavigation.js +1 -1
  175. package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  176. package/lib/components/Footer/MediaButton.js +15 -1
  177. package/lib/components/Footer/MediaButton.js.map +1 -1
  178. package/lib/components/Footer/Sitemap.js +4 -4
  179. package/lib/components/Footer/Sitemap.js.map +1 -1
  180. package/lib/components/Footer/SocialMedia.js +3 -3
  181. package/lib/components/Footer/SocialMedia.js.map +1 -1
  182. package/lib/components/Footer/TextInformation.js +2 -2
  183. package/lib/components/Footer/TextInformation.js.map +1 -1
  184. package/lib/components/Gallery/GalleryCardInner.js +5 -6
  185. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  186. package/lib/components/Gallery/GalleryContainer.js +2 -2
  187. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  188. package/lib/components/Gallery/GalleryInner.js +1 -1
  189. package/lib/components/Header/Header.js +4 -8
  190. package/lib/components/Header/Header.js.map +1 -1
  191. package/lib/components/Header/HeaderSecondaryMenu.js +3 -3
  192. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  193. package/lib/components/Header/HeaderSubMenu.d.ts +9 -0
  194. package/lib/components/Header/HeaderSubMenu.js +35 -0
  195. package/lib/components/Header/HeaderSubMenu.js.map +1 -0
  196. package/lib/components/Header/HeaderSubMenuObserver.d.ts +1 -0
  197. package/lib/components/Header/HeaderSubMenuObserver.js +30 -0
  198. package/lib/components/Header/HeaderSubMenuObserver.js.map +1 -0
  199. package/lib/components/LinkDocs/LinkDocsList.d.ts +1 -1
  200. package/lib/components/LinkDocs/LinkDocsList.js +1 -1
  201. package/lib/components/LinkDocs/LinkDocsList.js.map +1 -1
  202. package/lib/components/LinkDocs/LinkDocsListItem.js +1 -1
  203. package/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  204. package/lib/components/NavigatorTabs/NavigatorTabItem.js +4 -4
  205. package/lib/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  206. package/lib/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
  207. package/lib/components/NavigatorTabs/NavigatorTabs.js +12 -7
  208. package/lib/components/NavigatorTabs/NavigatorTabs.js.map +1 -1
  209. package/lib/components/NavigatorTabs/NavigatorTabsContent.d.ts +3 -1
  210. package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +1 -0
  211. package/lib/components/ProductBlock/ProductBlock.js +2 -1
  212. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  213. package/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -1
  214. package/lib/components/ProductBlock/ProductBlockInner.js +5 -5
  215. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  216. package/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -0
  217. package/lib/components/ProductBlock/renderBackwardButton.js +15 -0
  218. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -0
  219. package/lib/components/ProductBlock/renderBenefit.js +2 -2
  220. package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  221. package/lib/components/Recommendation/RecommendationCard.js +2 -1
  222. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  223. package/lib/components/Recommendation/RecommendationContent.d.ts +4 -0
  224. package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +2 -0
  225. package/lib/components/StepsBlock/StepsBlock.js +6 -5
  226. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  227. package/lib/components/StepsBlock/StepsBlockContent.d.ts +3 -0
  228. package/lib/components/TariffsTable/TariffsTableCell.js +2 -1
  229. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  230. package/lib/components/TariffsTable/TariffsTableTileCell.js +2 -1
  231. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  232. package/lib/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
  233. package/lib/components/TariffsTable/utils/getButtonAriaLabel.js +3 -0
  234. package/lib/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -0
  235. package/lib/components/Tile/Tile.js +3 -3
  236. package/lib/components/Tile/Tile.js.map +1 -1
  237. package/lib/hooks/useLink.d.ts +1 -1
  238. package/lib/hooks/useLink.js +1 -1
  239. package/lib/hooks/useLink.js.map +1 -1
  240. package/lib/icons/IconName.d.ts +5 -3
  241. package/lib/icons/IconName.js +3 -1
  242. package/lib/icons/IconName.js.map +1 -1
  243. package/lib/setup-fixture.js +0 -4
  244. package/lib/setup-fixture.js.map +1 -1
  245. package/lib/ui-kit/Button/Button.js +6 -1
  246. package/lib/ui-kit/Button/Button.js.map +1 -1
  247. package/lib/ui-kit/Button/ButtonInner.js +2 -2
  248. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  249. package/lib/ui-kit/HeaderItem/HeaderItem.js +2 -2
  250. package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  251. package/lib/ui-kit/Heading/Heading.d.ts +2 -1
  252. package/lib/ui-kit/Heading/Heading.js +3 -3
  253. package/lib/ui-kit/Heading/Heading.js.map +1 -1
  254. package/lib/ui-kit/Heading/Heading.mobile.d.ts +2 -1
  255. package/lib/ui-kit/Heading/Heading.mobile.js +2 -2
  256. package/lib/ui-kit/Heading/Heading.mobile.js.map +1 -1
  257. package/lib/ui-kit/Icon/Icon.js +2 -2
  258. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  259. package/lib/ui-kit/List/List.js +2 -0
  260. package/lib/ui-kit/List/List.js.map +1 -1
  261. package/lib/ui-kit/List/ListItem.js +19 -5
  262. package/lib/ui-kit/List/ListItem.js.map +1 -1
  263. package/lib/ui-kit/List/ListProps.d.ts +1 -1
  264. package/lib/ui-kit/Logo/Logo.js +1 -1
  265. package/lib/ui-kit/Logo/Logo.js.map +1 -1
  266. package/lib/ui-kit/SearchBar/SearchBar.js +1 -1
  267. package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  268. package/lib/ui-kit/TopItem/TopItem.d.ts +1 -0
  269. package/lib/ui-kit/TopItem/TopItem.js +1 -1
  270. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  271. package/lib/utils/changeHashOnScroll.d.ts +2 -0
  272. package/lib/utils/changeHashOnScroll.js +13 -0
  273. package/lib/utils/changeHashOnScroll.js.map +1 -0
  274. package/lib/utils/isSSR.d.ts +1 -0
  275. package/lib/utils/isSSR.js +2 -0
  276. package/lib/utils/isSSR.js.map +1 -0
  277. package/lib/utils/tableFunc.d.ts +2 -0
  278. package/lib/utils/tableFunc.js +5 -0
  279. package/lib/utils/tableFunc.js.map +1 -0
  280. package/mobile/bundle/bundle.umd.js +76 -23
  281. package/mobile/bundle/bundle.umd.min.js +1 -1
  282. package/mobile/dist/components/ContentPage/ContentPage.js +10 -3
  283. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  284. package/mobile/dist/components/ContentPage/ContentPageContext.d.ts +2 -2
  285. package/mobile/dist/components/CreditCalculator/renderButton.js +8 -1
  286. package/mobile/dist/components/CreditCalculator/renderButton.js.map +1 -1
  287. package/mobile/dist/components/Footer/Contacts.js +5 -5
  288. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  289. package/mobile/dist/components/Footer/FooterContent.d.ts +2 -0
  290. package/mobile/dist/components/Footer/MediaButton.js +15 -1
  291. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  292. package/mobile/dist/components/Footer/Sitemap.js +4 -4
  293. package/mobile/dist/components/Footer/Sitemap.js.map +1 -1
  294. package/mobile/dist/components/Gallery/GalleryCardInner.js +5 -6
  295. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  296. package/mobile/dist/components/Gallery/GalleryContainer.js +2 -2
  297. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  298. package/mobile/dist/components/Gallery/GalleryInner.js +1 -1
  299. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +3 -3
  300. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  301. package/mobile/dist/components/Header/HeaderSubMenu.d.ts +9 -0
  302. package/mobile/dist/components/Header/HeaderSubMenu.js +37 -0
  303. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -0
  304. package/mobile/dist/components/Header/HeaderSubMenuObserver.d.ts +1 -0
  305. package/mobile/dist/components/Header/HeaderSubMenuObserver.js +32 -0
  306. package/mobile/dist/components/Header/HeaderSubMenuObserver.js.map +1 -0
  307. package/mobile/dist/components/LinkDocs/LinkDocsList.d.ts +1 -1
  308. package/mobile/dist/components/LinkDocs/LinkDocsList.js +1 -1
  309. package/mobile/dist/components/LinkDocs/LinkDocsList.js.map +1 -1
  310. package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.js +4 -4
  311. package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  312. package/mobile/dist/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
  313. package/mobile/dist/components/NavigatorTabs/NavigatorTabs.js +11 -6
  314. package/mobile/dist/components/NavigatorTabs/NavigatorTabs.js.map +1 -1
  315. package/mobile/dist/components/NavigatorTabs/NavigatorTabsContent.d.ts +3 -1
  316. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -1
  317. package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -0
  318. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +18 -0
  319. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -0
  320. package/mobile/dist/components/Recommendation/RecommendationCard.js +2 -1
  321. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  322. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +4 -0
  323. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +3 -0
  324. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +2 -1
  325. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  326. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +2 -1
  327. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  328. package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
  329. package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.js +6 -0
  330. package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -0
  331. package/mobile/dist/components/Tile/Tile.js +3 -3
  332. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  333. package/mobile/dist/hooks/useLink.d.ts +1 -1
  334. package/mobile/dist/hooks/useLink.js +1 -1
  335. package/mobile/dist/hooks/useLink.js.map +1 -1
  336. package/mobile/dist/icons/IconName.d.ts +5 -3
  337. package/mobile/dist/icons/IconName.js +3 -1
  338. package/mobile/dist/icons/IconName.js.map +1 -1
  339. package/mobile/dist/setup-fixture.js +0 -4
  340. package/mobile/dist/setup-fixture.js.map +1 -1
  341. package/mobile/dist/ui-kit/Button/ButtonInner.js +2 -2
  342. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  343. package/mobile/dist/ui-kit/Heading/Heading.d.ts +2 -1
  344. package/mobile/dist/ui-kit/Heading/Heading.js +2 -2
  345. package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -1
  346. package/mobile/dist/ui-kit/Icon/Icon.js +2 -2
  347. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  348. package/mobile/dist/ui-kit/List/List.js +2 -0
  349. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  350. package/mobile/dist/ui-kit/List/ListItem.js +19 -5
  351. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  352. package/mobile/dist/ui-kit/List/ListProps.d.ts +1 -1
  353. package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +1 -0
  354. package/mobile/dist/ui-kit/TopItem/TopItem.js +1 -1
  355. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  356. package/mobile/dist/utils/changeHashOnScroll.d.ts +2 -0
  357. package/mobile/dist/utils/changeHashOnScroll.js +16 -0
  358. package/mobile/dist/utils/changeHashOnScroll.js.map +1 -0
  359. package/mobile/dist/utils/isSSR.d.ts +1 -0
  360. package/mobile/dist/utils/isSSR.js +5 -0
  361. package/mobile/dist/utils/isSSR.js.map +1 -0
  362. package/mobile/dist/utils/tableFunc.d.ts +2 -0
  363. package/mobile/dist/utils/tableFunc.js +8 -0
  364. package/mobile/dist/utils/tableFunc.js.map +1 -0
  365. package/mobile/lib/components/ContentPage/ContentPage.js +10 -3
  366. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  367. package/mobile/lib/components/ContentPage/ContentPageContext.d.ts +2 -2
  368. package/mobile/lib/components/CreditCalculator/renderButton.js +8 -1
  369. package/mobile/lib/components/CreditCalculator/renderButton.js.map +1 -1
  370. package/mobile/lib/components/Footer/Contacts.js +5 -5
  371. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  372. package/mobile/lib/components/Footer/FooterContent.d.ts +2 -0
  373. package/mobile/lib/components/Footer/MediaButton.js +15 -1
  374. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  375. package/mobile/lib/components/Footer/Sitemap.js +4 -4
  376. package/mobile/lib/components/Footer/Sitemap.js.map +1 -1
  377. package/mobile/lib/components/Gallery/GalleryCardInner.js +5 -6
  378. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  379. package/mobile/lib/components/Gallery/GalleryContainer.js +2 -2
  380. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  381. package/mobile/lib/components/Gallery/GalleryInner.js +1 -1
  382. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +3 -3
  383. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  384. package/mobile/lib/components/Header/HeaderSubMenu.d.ts +9 -0
  385. package/mobile/lib/components/Header/HeaderSubMenu.js +35 -0
  386. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -0
  387. package/mobile/lib/components/Header/HeaderSubMenuObserver.d.ts +1 -0
  388. package/mobile/lib/components/Header/HeaderSubMenuObserver.js +30 -0
  389. package/mobile/lib/components/Header/HeaderSubMenuObserver.js.map +1 -0
  390. package/mobile/lib/components/LinkDocs/LinkDocsList.d.ts +1 -1
  391. package/mobile/lib/components/LinkDocs/LinkDocsList.js +1 -1
  392. package/mobile/lib/components/LinkDocs/LinkDocsList.js.map +1 -1
  393. package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.js +4 -4
  394. package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  395. package/mobile/lib/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
  396. package/mobile/lib/components/NavigatorTabs/NavigatorTabs.js +12 -7
  397. package/mobile/lib/components/NavigatorTabs/NavigatorTabs.js.map +1 -1
  398. package/mobile/lib/components/NavigatorTabs/NavigatorTabsContent.d.ts +3 -1
  399. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -1
  400. package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -0
  401. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +15 -0
  402. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -0
  403. package/mobile/lib/components/Recommendation/RecommendationCard.js +2 -1
  404. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  405. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +4 -0
  406. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +3 -0
  407. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +2 -1
  408. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  409. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +2 -1
  410. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  411. package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
  412. package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.js +3 -0
  413. package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -0
  414. package/mobile/lib/components/Tile/Tile.js +3 -3
  415. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  416. package/mobile/lib/hooks/useLink.d.ts +1 -1
  417. package/mobile/lib/hooks/useLink.js +1 -1
  418. package/mobile/lib/hooks/useLink.js.map +1 -1
  419. package/mobile/lib/icons/IconName.d.ts +5 -3
  420. package/mobile/lib/icons/IconName.js +3 -1
  421. package/mobile/lib/icons/IconName.js.map +1 -1
  422. package/mobile/lib/setup-fixture.js +0 -4
  423. package/mobile/lib/setup-fixture.js.map +1 -1
  424. package/mobile/lib/ui-kit/Button/ButtonInner.js +2 -2
  425. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  426. package/mobile/lib/ui-kit/Heading/Heading.d.ts +2 -1
  427. package/mobile/lib/ui-kit/Heading/Heading.js +2 -2
  428. package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -1
  429. package/mobile/lib/ui-kit/Icon/Icon.js +2 -2
  430. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  431. package/mobile/lib/ui-kit/List/List.js +2 -0
  432. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  433. package/mobile/lib/ui-kit/List/ListItem.js +19 -5
  434. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  435. package/mobile/lib/ui-kit/List/ListProps.d.ts +1 -1
  436. package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +1 -0
  437. package/mobile/lib/ui-kit/TopItem/TopItem.js +1 -1
  438. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  439. package/mobile/lib/utils/changeHashOnScroll.d.ts +2 -0
  440. package/mobile/lib/utils/changeHashOnScroll.js +13 -0
  441. package/mobile/lib/utils/changeHashOnScroll.js.map +1 -0
  442. package/mobile/lib/utils/isSSR.d.ts +1 -0
  443. package/mobile/lib/utils/isSSR.js +2 -0
  444. package/mobile/lib/utils/isSSR.js.map +1 -0
  445. package/mobile/lib/utils/tableFunc.d.ts +2 -0
  446. package/mobile/lib/utils/tableFunc.js +5 -0
  447. package/mobile/lib/utils/tableFunc.js.map +1 -0
  448. package/mobile/src/components/ContentPage/ContentPage.page.json +98 -238
  449. package/mobile/src/components/ContentPage/ContentPage.tsx +14 -2
  450. package/mobile/src/components/ContentPage/ContentPageContext.tsx +2 -2
  451. package/mobile/src/components/CreditCalculator/renderButton.tsx +11 -1
  452. package/mobile/src/components/Footer/Contacts.tsx +7 -10
  453. package/mobile/src/components/Footer/FooterContent.ts +2 -0
  454. package/mobile/src/components/Footer/MediaButton.tsx +15 -1
  455. package/mobile/src/components/Footer/Sitemap.tsx +5 -5
  456. package/mobile/src/components/Gallery/GalleryCardInner.tsx +6 -7
  457. package/mobile/src/components/Gallery/GalleryContainer.tsx +2 -2
  458. package/mobile/src/components/Gallery/GalleryInner.tsx +1 -1
  459. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +4 -7
  460. package/mobile/src/components/Header/HeaderSubMenu.tsx +103 -0
  461. package/mobile/src/components/Header/HeaderSubMenuObserver.ts +44 -0
  462. package/mobile/src/components/LinkDocs/LinkDocsList.tsx +3 -3
  463. package/mobile/src/components/NavigatorTabs/NavigatorTabItem.tsx +7 -5
  464. package/mobile/src/components/NavigatorTabs/NavigatorTabs.example.json +3 -3
  465. package/mobile/src/components/NavigatorTabs/NavigatorTabs.tsx +17 -9
  466. package/mobile/src/components/NavigatorTabs/NavigatorTabsContent.ts +3 -1
  467. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +3 -1
  468. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +35 -0
  469. package/mobile/src/components/Recommendation/RecommendationCard.tsx +2 -1
  470. package/mobile/src/components/Recommendation/RecommendationContent.ts +4 -0
  471. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +3 -0
  472. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +2 -0
  473. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +2 -0
  474. package/mobile/src/components/TariffsTable/utils/getButtonAriaLabel.ts +5 -0
  475. package/mobile/src/components/Tile/Tile.example.json +1 -1
  476. package/mobile/src/components/Tile/Tile.tsx +13 -3
  477. package/mobile/src/hooks/useLink.ts +1 -1
  478. package/mobile/src/icons/ArrowDownIcon.svg +1 -1
  479. package/mobile/src/icons/ArrowLeftIcon.svg +4 -0
  480. package/mobile/src/icons/BurgerIcon.svg +4 -4
  481. package/mobile/src/icons/Calendar2Icon.svg +1 -1
  482. package/mobile/src/icons/CalendarCircleIcon.svg +4 -1
  483. package/mobile/src/icons/CalendarIcon.svg +1 -1
  484. package/mobile/src/icons/CalendarTickIcon.svg +6 -1
  485. package/mobile/src/icons/CalendarWhiteIcon.svg +2 -2
  486. package/mobile/src/icons/CardIcon.svg +5 -1
  487. package/mobile/src/icons/CardPosIcon.svg +5 -1
  488. package/mobile/src/icons/CardTickIcon.svg +5 -1
  489. package/mobile/src/icons/ChartSquareIcon.svg +6 -1
  490. package/mobile/src/icons/CloseIcon.svg +4 -4
  491. package/mobile/src/icons/DiscountShapeIcon.svg +4 -1
  492. package/mobile/src/icons/DocIcon.svg +1 -1
  493. package/mobile/src/icons/DocumentTextIcon.svg +2 -2
  494. package/mobile/src/icons/EmptyWalletChangeIcon.svg +8 -1
  495. package/mobile/src/icons/EmptyWalletIcon.svg +2 -2
  496. package/mobile/src/icons/GlobalIcon.svg +5 -1
  497. package/mobile/src/icons/GpsIcon.svg +6 -6
  498. package/mobile/src/icons/IconName.ts +4 -4
  499. package/mobile/src/icons/InterestIcon.svg +6 -1
  500. package/mobile/src/icons/MasterCardIcon.svg +5 -1
  501. package/mobile/src/icons/MinusIcon.svg +3 -1
  502. package/mobile/src/icons/MoneyIcon.svg +5 -1
  503. package/mobile/src/icons/MonitorMobileIcon.svg +4 -1
  504. package/mobile/src/icons/PercentageRoundIcon.svg +4 -1
  505. package/mobile/src/icons/PercentageSquareIcon.svg +1 -1
  506. package/mobile/src/icons/PersonalCardIcon.svg +4 -1
  507. package/mobile/src/icons/PlayMarketIcon.svg +3 -1
  508. package/mobile/src/icons/PlusIcon.svg +3 -1
  509. package/mobile/src/icons/Profile2UserIcon.svg +6 -1
  510. package/mobile/src/icons/RoundRubleIcon.svg +5 -1
  511. package/mobile/src/icons/SafeIcon.svg +7 -1
  512. package/mobile/src/icons/ShieldTickIcon.svg +4 -1
  513. package/mobile/src/icons/SmallClockIcon.svg +4 -1
  514. package/mobile/src/icons/UserTickIcon.svg +5 -1
  515. package/mobile/src/icons/WalletAdd2Icon.svg +6 -1
  516. package/mobile/src/icons/WalletAddIcon.svg +7 -1
  517. package/mobile/src/icons/WalletIcon.svg +7 -1
  518. package/mobile/src/icons/WalletWithMoneyIcon.svg +5 -1
  519. package/mobile/src/setup-fixture.ts +4 -6
  520. package/mobile/src/ui-kit/Button/ButtonInner.tsx +2 -2
  521. package/mobile/src/ui-kit/Heading/Heading.tsx +5 -2
  522. package/mobile/src/ui-kit/Icon/Icon.tsx +2 -2
  523. package/mobile/src/ui-kit/List/List.tsx +2 -0
  524. package/mobile/src/ui-kit/List/ListItem.tsx +19 -5
  525. package/mobile/src/ui-kit/List/ListProps.ts +1 -1
  526. package/mobile/src/ui-kit/TopItem/TopItem.tsx +2 -1
  527. package/mobile/src/utils/changeHashOnScroll.ts +15 -0
  528. package/mobile/src/utils/isSSR.ts +2 -0
  529. package/mobile/src/utils/tableFunc.ts +8 -0
  530. package/package.json +1 -1
  531. package/src/components/Blocks.ts +1 -1
  532. package/src/components/ComparisonTable/HeaderCell.tsx +1 -1
  533. package/src/components/ComparisonTable/TableCell.tsx +1 -1
  534. package/src/components/ContentPage/ContentPage.page.json +98 -238
  535. package/src/components/ContentPage/ContentPage.tsx +14 -2
  536. package/src/components/ContentPage/ContentPageContext.tsx +2 -2
  537. package/src/components/CreditCalculator/renderButton.tsx +11 -1
  538. package/src/components/Footer/Contacts.tsx +7 -10
  539. package/src/components/Footer/Footer.fixture.mobile.tsx +3 -3
  540. package/src/components/Footer/Footer.fixture.tsx +4 -3
  541. package/src/components/Footer/Footer.tsx +15 -13
  542. package/src/components/Footer/FooterContent.ts +2 -0
  543. package/src/components/Footer/HorizontalNavigation.tsx +1 -1
  544. package/src/components/Footer/MediaButton.tsx +15 -1
  545. package/src/components/Footer/Sitemap.tsx +5 -5
  546. package/src/components/Footer/SocialMedia.tsx +8 -5
  547. package/src/components/Footer/TextInformation.tsx +2 -2
  548. package/src/components/Gallery/GalleryCardInner.tsx +6 -7
  549. package/src/components/Gallery/GalleryContainer.tsx +2 -2
  550. package/src/components/Gallery/GalleryInner.tsx +1 -1
  551. package/src/components/Header/Header.tsx +6 -19
  552. package/src/components/Header/HeaderSecondaryMenu.tsx +4 -7
  553. package/src/components/Header/HeaderSubMenu.tsx +103 -0
  554. package/src/components/Header/HeaderSubMenuObserver.ts +44 -0
  555. package/src/components/LinkDocs/LinkDocsList.tsx +3 -3
  556. package/src/components/LinkDocs/LinkDocsListItem.tsx +3 -3
  557. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +2 -2
  558. package/src/components/NavigatorTabs/NavigatorTabItem.tsx +7 -5
  559. package/src/components/NavigatorTabs/NavigatorTabs.example.json +3 -3
  560. package/src/components/NavigatorTabs/NavigatorTabs.tsx +17 -9
  561. package/src/components/NavigatorTabs/NavigatorTabsContent.ts +3 -1
  562. package/src/components/ProductBlock/ProductBlock.fixture.tsx +35 -34
  563. package/src/components/ProductBlock/ProductBlock.tsx +2 -0
  564. package/src/components/ProductBlock/ProductBlockContent.ts +3 -1
  565. package/src/components/ProductBlock/ProductBlockInner.tsx +14 -8
  566. package/src/components/ProductBlock/renderBackwardButton.tsx +35 -0
  567. package/src/components/ProductBlock/renderBenefit.tsx +4 -4
  568. package/src/components/Recommendation/RecommendationCard.tsx +2 -1
  569. package/src/components/Recommendation/RecommendationContent.ts +4 -0
  570. package/src/components/StepsBlock/StepsBlock.fixture.tsx +59 -0
  571. package/src/components/StepsBlock/StepsBlock.tsx +34 -11
  572. package/src/components/StepsBlock/StepsBlockContent.ts +3 -0
  573. package/src/components/TariffsTable/TariffsTableCell.tsx +2 -0
  574. package/src/components/TariffsTable/TariffsTableTileCell.tsx +2 -0
  575. package/src/components/TariffsTable/utils/getButtonAriaLabel.ts +5 -0
  576. package/src/components/Tile/Tile.example.json +1 -1
  577. package/src/components/Tile/Tile.fixture.tsx +6 -6
  578. package/src/components/Tile/Tile.tsx +13 -3
  579. package/src/hooks/useLink.ts +1 -1
  580. package/src/icons/ArrowDownIcon.svg +1 -1
  581. package/src/icons/ArrowLeftIcon.svg +4 -0
  582. package/src/icons/BurgerIcon.svg +4 -4
  583. package/src/icons/Calendar2Icon.svg +1 -1
  584. package/src/icons/CalendarCircleIcon.svg +4 -1
  585. package/src/icons/CalendarIcon.svg +1 -1
  586. package/src/icons/CalendarTickIcon.svg +6 -1
  587. package/src/icons/CalendarWhiteIcon.svg +2 -2
  588. package/src/icons/CardIcon.svg +5 -1
  589. package/src/icons/CardPosIcon.svg +5 -1
  590. package/src/icons/CardTickIcon.svg +5 -1
  591. package/src/icons/ChartSquareIcon.svg +6 -1
  592. package/src/icons/CloseIcon.svg +4 -4
  593. package/src/icons/DiscountShapeIcon.svg +4 -1
  594. package/src/icons/DocIcon.svg +1 -1
  595. package/src/icons/DocumentTextIcon.svg +2 -2
  596. package/src/icons/EmptyWalletChangeIcon.svg +8 -1
  597. package/src/icons/EmptyWalletIcon.svg +2 -2
  598. package/src/icons/GlobalIcon.svg +5 -1
  599. package/src/icons/GpsIcon.svg +6 -6
  600. package/src/icons/IconName.ts +5 -2
  601. package/src/icons/InterestIcon.svg +6 -1
  602. package/src/icons/MasterCardIcon.svg +5 -1
  603. package/src/icons/MinusIcon.svg +3 -1
  604. package/src/icons/MoneyIcon.svg +5 -1
  605. package/src/icons/MonitorMobileIcon.svg +4 -1
  606. package/src/icons/PercentageRoundIcon.svg +4 -1
  607. package/src/icons/PercentageSquareIcon.svg +1 -1
  608. package/src/icons/PersonalCardIcon.svg +4 -1
  609. package/src/icons/PlayMarketIcon.svg +3 -1
  610. package/src/icons/PlusIcon.svg +3 -1
  611. package/src/icons/Profile2UserIcon.svg +6 -1
  612. package/src/icons/RoundRubleIcon.svg +5 -1
  613. package/src/icons/SafeIcon.svg +7 -1
  614. package/src/icons/ShieldTickIcon.svg +4 -1
  615. package/src/icons/SmallClockIcon.svg +4 -1
  616. package/src/icons/UserTickIcon.svg +5 -1
  617. package/src/icons/WalletAdd2Icon.svg +6 -1
  618. package/src/icons/WalletAddIcon.svg +7 -1
  619. package/src/icons/WalletIcon.svg +7 -1
  620. package/src/icons/WalletWithMoneyIcon.svg +5 -1
  621. package/src/setup-fixture.ts +4 -6
  622. package/src/ui-kit/Button/Button.tsx +20 -15
  623. package/src/ui-kit/Button/ButtonInner.tsx +2 -2
  624. package/src/ui-kit/HeaderItem/HeaderItem.tsx +14 -3
  625. package/src/ui-kit/Heading/Heading.mobile.tsx +5 -2
  626. package/src/ui-kit/Heading/Heading.tsx +6 -3
  627. package/src/ui-kit/Icon/Icon.tsx +2 -2
  628. package/src/ui-kit/List/List.tsx +2 -0
  629. package/src/ui-kit/List/ListItem.tsx +19 -5
  630. package/src/ui-kit/List/ListProps.ts +1 -1
  631. package/src/ui-kit/Logo/Logo.tsx +1 -1
  632. package/src/ui-kit/SearchBar/SearchBar.tsx +2 -2
  633. package/src/ui-kit/TopItem/TopItem.tsx +2 -1
  634. package/src/utils/changeHashOnScroll.ts +15 -0
  635. package/src/utils/isSSR.ts +2 -0
  636. package/src/utils/tableFunc.ts +8 -0
@@ -0,0 +1,44 @@
1
+ import { isSSR } from '../../utils/isSSR';
2
+
3
+ export const headerSubMenuObserver = isSSR()
4
+ ? undefined
5
+ : new IntersectionObserver(
6
+ (entries) => {
7
+ const headerSubMenuButtonElement = window.document.querySelector(
8
+ '[data-header-submenu-visible=toggled]',
9
+ );
10
+ const headerSubMenuItems = Array.from(
11
+ window.document.querySelectorAll('[data-item-name=header-submenu]'),
12
+ );
13
+ const dotsHeaderSubMenuItems = Array.from(
14
+ window.document.querySelectorAll('[data-item-name=dots-header-submenu]'),
15
+ );
16
+ const visibilityList = {};
17
+ entries.forEach((j) => {
18
+ visibilityList[String(j.target.toString())] = j.isIntersecting;
19
+ });
20
+ const isHeaderSubMenuButtonShow = toggleVisibilityInItems(
21
+ visibilityList,
22
+ dotsHeaderSubMenuItems,
23
+ 'hidden',
24
+ );
25
+ toggleVisibilityInItems(visibilityList, headerSubMenuItems, 'invisible');
26
+ if (headerSubMenuButtonElement) {
27
+ isHeaderSubMenuButtonShow
28
+ ? headerSubMenuButtonElement.classList.remove('hidden')
29
+ : headerSubMenuButtonElement.classList.add('hidden');
30
+ }
31
+ },
32
+ { root: window.document, threshold: 1.0 },
33
+ );
34
+
35
+ // TODO: add types
36
+ const toggleVisibilityInItems = (visibilityList, items, className) => {
37
+ const isReversed = className !== 'hidden';
38
+ return items.some((item) => {
39
+ const key = item.toString();
40
+ const option = isReversed ? !visibilityList[key] : visibilityList[key];
41
+ key in visibilityList ? item.classList.toggle(className, option) : null;
42
+ return isReversed ? item.classList.contains('hidden') : !item.classList.contains('hidden');
43
+ });
44
+ };
@@ -1,7 +1,7 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import { LinkDocsListItem } from './LinkDocsListItem';
3
- import type { LinkColumnsMode, LinkDocsItem } from './LinkDocsContent';
4
2
  import type { Picture } from '../../model/Picture';
3
+ import type { LinkColumnsMode, LinkDocsItem } from './LinkDocsContent';
4
+ import { LinkDocsListItem } from './LinkDocsListItem';
5
5
 
6
6
  export interface LinkDocsListProps {
7
7
  className?: string;
@@ -21,7 +21,7 @@ export const LinkDocsList = JSX<LinkDocsListProps>(
21
21
  role="listitem"
22
22
  >
23
23
  <LinkDocsListItem
24
- className="group flex text-sm align-middle h-fit w-fit text-primary-text no-underline hover:text-primary-main"
24
+ className="group flex align-middle h-fit w-fit text-primary-text no-underline hover:text-primary-main"
25
25
  doc={doc}
26
26
  icon={icon}
27
27
  />
@@ -1,12 +1,12 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import { LinkDocsListItemBase } from './LinkDocsListItemBase';
3
2
  import type { LinkDocsListItemProps } from './LinkDocsListItemBase';
3
+ import { LinkDocsListItemBase } from './LinkDocsListItemBase';
4
4
 
5
5
  export const LinkDocsListItem = JSX<LinkDocsListItemProps>(({ className = '', doc, icon }) => (
6
6
  <LinkDocsListItemBase
7
7
  className={`flex h-full box-border ${className}`}
8
- iconClassName="mr-2.5 min-w-6 min-h-6 text-primary-text"
9
- textClassName="self-center"
8
+ iconClassName="mr-3.5 min-w-6 min-h-6 text-primary-text"
9
+ textClassName="self-center font-light"
10
10
  suffixClassName="text-secondary-text group-hover:text-primary-main"
11
11
  doc={doc}
12
12
  icon={icon}
@@ -17,7 +17,7 @@ export default {
17
17
  aboveText: 'Загрузите в',
18
18
  text: 'App Store',
19
19
  icon: { icon: 'AppleIcon' },
20
- href: '#',
20
+ href: 'apps.apple.com',
21
21
  asSVG: true,
22
22
  version: 'secondary',
23
23
  },
@@ -25,7 +25,7 @@ export default {
25
25
  aboveText: 'Доступно в',
26
26
  text: 'Google Play',
27
27
  icon: { icon: 'PlayMarketIcon' },
28
- href: '#',
28
+ href: 'play.google.com',
29
29
  asSVG: true,
30
30
  version: 'secondary',
31
31
  },
@@ -8,22 +8,24 @@ export interface NavigatorTabItemProps extends NavigatorTab {
8
8
  }
9
9
 
10
10
  const TEXT_CLASSES = 'font-sans font-normal text-sm';
11
- const LINK_CLASSES = 'flex-1 flex items-center justify-center';
11
+ const LINK_CLASSES = 'flex-1 flex items-center justify-center cursor-pointer';
12
12
 
13
13
  export const NavigatorTabItem = JSX<NavigatorTabItemProps>(
14
- ({ className = '', label, active, children, onClick, anchor }) => (
15
- <a className={getLinkClasses(className, active)} href={`#${anchor}`} onClick={onClick}>
14
+ ({ className = '', label, active, children, onClick, href, target = '_self' }) => (
15
+ <a className={getLinkClasses(className, active)} target={target} href={href} onClick={onClick}>
16
16
  <span className={getTextClasses(active)}>{label || children}</span>
17
17
  </a>
18
18
  ),
19
19
  );
20
20
 
21
21
  const getLinkClasses = (className: string, active?: boolean) => {
22
- const classes = active ? 'bg-primary-main' : 'bg-white';
22
+ const classes = active ? 'bg-primary-main' : 'group bg-white';
23
+
23
24
  return `${classes} ${LINK_CLASSES} ${className}`;
24
25
  };
25
26
 
26
27
  const getTextClasses = (active?: boolean) => {
27
- const classes = active ? 'text-white' : 'text-secondary-text hover:text-primary-main';
28
+ const classes = active ? 'text-white' : 'text-secondary-text group-hover:text-primary-main ';
29
+
28
30
  return `${classes} ${TEXT_CLASSES}`;
29
31
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "navigatorTabs": [
3
- { "label": "Tab1", "anchor": "tab1" },
4
- { "label": "Tab2", "anchor": "tab2" },
5
- { "label": "Tab3", "anchor": "tab3" }
3
+ { "label": "Tab1", "href": "#tab1" },
4
+ { "label": "Tab2", "href": "#tab2" },
5
+ { "label": "Link", "href": "https://rshb.ru", "target": "_blank" }
6
6
  ]
7
7
  }
@@ -1,36 +1,44 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import type { UniBlockProps } from '../../types';
3
- import { getHash } from '../../utils/url';
3
+ import { getHash, isURL } from '../../utils/url';
4
4
  import type { Router } from '../ContentPage/ContentPageContext';
5
5
  import { NavigatorTabItem } from './NavigatorTabItem';
6
6
  import type { NavigatorTab, NavigatorTabsContent } from './NavigatorTabsContent';
7
7
 
8
- export interface TabsBlockProps extends NavigatorTabsContent, UniBlockProps {}
8
+ export interface TabsBlockProps extends UniBlockProps, NavigatorTabsContent {}
9
9
 
10
10
  export const NavigatorTabs = JSX<TabsBlockProps>(
11
11
  ({ className = '', navigatorTabs, context, anchor = null }) => {
12
12
  const router = context.useRouter();
13
- const hash = getHash(router.href);
13
+ const href = globalThis.location.href;
14
+
14
15
  return (
15
16
  <section
16
17
  className={`sticky top-0 z-20 box-border flex gap-x-1 h-12 ${className}`}
17
18
  id={anchor}
18
19
  >
19
- {navigatorTabs ? navigatorTabs.map(renderTab(hash, router)) : null}
20
+ {navigatorTabs ? navigatorTabs.map(renderTab(href, router)) : null}
20
21
  </section>
21
22
  );
22
23
  },
23
24
  );
24
25
 
25
- const renderTab = (hash?: string, router?: Router) => (tab: NavigatorTab, i: number) => {
26
- const anchorHash = `#${tab.anchor}`;
27
- const active = hash ? anchorHash === hash : i === 0;
26
+ const renderTab = (href?: string, router?: Router) => (tab: NavigatorTab, i: number) => {
27
+ const hash = getHash(href);
28
+ const active = hash ? tab.href === hash : i === 0;
29
+
28
30
  return (
29
31
  <NavigatorTabItem
30
- key={tab.anchor}
32
+ key={tab.href}
31
33
  active={active}
32
- onClick={() => router?.replace(anchorHash)}
34
+ onClick={() => handleRoute(router, tab.href)}
33
35
  {...tab}
34
36
  />
35
37
  );
36
38
  };
39
+
40
+ const handleRoute = (router?: Router, href?: string) => {
41
+ if (isURL(href)) return; // if href if full URL - move to HTML href action, do not touch router
42
+
43
+ router?.replace(href || '');
44
+ };
@@ -5,7 +5,9 @@ export interface NavigatorTab {
5
5
  /** @title Название */
6
6
  label?: string;
7
7
  /** @title Якорь */
8
- anchor?: string;
8
+ href?: string;
9
+ /** @title Таргет (target) */
10
+ target?: string;
9
11
  }
10
12
 
11
13
  /**
@@ -2,7 +2,7 @@ import type { Picture } from '../../model/Picture';
2
2
  import { context } from '../../setup-fixture';
3
3
  import { ProductBlock } from './ProductBlock';
4
4
  import type { Benefit } from '../BenefitsBlock/BenefitsBlockContent';
5
- import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
5
+ import type { ButtonWithIconProps, ButtonProps } from '../../ui-kit/Button/ButtonProps';
6
6
  import type { ProductBlockContent } from './ProductBlockContent';
7
7
 
8
8
  const image: Picture = {
@@ -15,20 +15,6 @@ const image: Picture = {
15
15
  },
16
16
  };
17
17
 
18
- const breadcrumbs = [
19
- {
20
- text: 'Главная',
21
- href: '/',
22
- },
23
- {
24
- text: 'Кредитные карты',
25
- href: '/credit',
26
- },
27
- {
28
- text: 'Кредитная карта Своя Union Pay',
29
- },
30
- ];
31
-
32
18
  const benefits: Benefit[] = [
33
19
  {
34
20
  label: 'До 5 млн ₽',
@@ -62,16 +48,21 @@ const buttons: ButtonWithIconProps[] = [
62
48
  },
63
49
  ];
64
50
 
51
+ const items = [
52
+ 'Совершайте любые личные покупки',
53
+ 'Используйте корпоративную карту как обычную дебетовую, если вы ИП',
54
+ 'Расходы для бизнеса на УСН 15% позволят снизить налоговую базу',
55
+ ];
56
+
57
+ const backwardButton: ButtonProps = {
58
+ href: 'https://rshb.ru',
59
+ text: 'Все кредитные карты',
60
+ };
61
+
65
62
  export const PRODUCT_BLOCK: ProductBlockContent = {
66
63
  title: 'Оплата проходит в 180 странах мира',
67
64
  headingType: 'h2',
68
- description:
69
- 'Кредит наличными без залога и поручительства. Потребительский кредит на любые цели. Нужен только паспорт.',
70
- items: [
71
- 'Совершайте любые личные покупки',
72
- 'Используйте корпоративную карту как обычную дебетовую, если вы ИП',
73
- 'Расходы для бизнеса на УСН 15% позволят снизить налоговую базу',
74
- ],
65
+ items,
75
66
  buttons: buttons,
76
67
  };
77
68
 
@@ -84,7 +75,6 @@ export default {
84
75
  title={'Потребительский кредит наличными'}
85
76
  headingType="h2"
86
77
  description="Кредит наличными без залога и поручительства. Потребительский кредит на любые цели. Нужен только паспорт."
87
- breadcrumbs={breadcrumbs}
88
78
  benefits={benefits}
89
79
  buttons={buttons}
90
80
  image={image}
@@ -100,31 +90,42 @@ export default {
100
90
  headingType="h2"
101
91
  version={'secondary'}
102
92
  description="Кредит наличными без залога и поручительства. Потребительский кредит на любые цели. Нужен только паспорт."
103
- breadcrumbs={breadcrumbs}
104
93
  benefits={benefits}
105
- buttons={buttons}
94
+ buttons={[
95
+ {
96
+ href: 'https://rshb.ru',
97
+ text: 'Подробнее',
98
+ target: '_blank',
99
+ version: 'secondary',
100
+ },
101
+ ]}
102
+ items={items}
106
103
  image={image}
107
104
  />
108
105
  </div>
109
106
  ),
110
107
  'with items': (
111
108
  <div className="container grid grid-cols-12">
112
- <ProductBlock
113
- className="col-span-12"
114
- context={context}
115
- breadcrumbs={breadcrumbs}
116
- {...PRODUCT_BLOCK}
117
- image={image}
118
- />
109
+ <ProductBlock className="col-span-12" context={context} {...PRODUCT_BLOCK} image={image} />
119
110
  </div>
120
111
  ),
121
112
  'without image': (
113
+ <div className="container grid grid-cols-12">
114
+ <ProductBlock className="col-span-12" context={context} {...PRODUCT_BLOCK} />
115
+ </div>
116
+ ),
117
+ 'default-h1': (
122
118
  <div className="container grid grid-cols-12">
123
119
  <ProductBlock
124
120
  className="col-span-12"
125
121
  context={context}
126
- breadcrumbs={breadcrumbs}
127
- {...PRODUCT_BLOCK}
122
+ title={'Потребительский кредит наличными'}
123
+ headingType="h1"
124
+ description="Кредит наличными без залога и поручительства. Потребительский кредит на любые цели. Нужен только паспорт."
125
+ benefits={benefits}
126
+ buttons={buttons}
127
+ image={image}
128
+ backwardButton={backwardButton}
128
129
  />
129
130
  </div>
130
131
  ),
@@ -6,6 +6,7 @@ import { Breadcrumb } from '../../ui-kit/Breadcrumb';
6
6
  import { joinList } from '../../utils/joinList';
7
7
  import type { ProductBlockContent } from './ProductBlockContent';
8
8
  import { ProductBlockInner } from './ProductBlockInner';
9
+ import { renderBackwardButton } from './renderBackwardButton';
9
10
 
10
11
  export interface ProductBlockProps extends ProductBlockContent, UniBlockProps {}
11
12
 
@@ -36,6 +37,7 @@ export const ProductBlock = JSX<ProductBlockProps>((props) => {
36
37
  className={`font-sans pt-10 pl-[50px] pb-[50px] pr-[7.5rem] box-border min-h-[420px] ${productBlockStyleMap[version]} ${className}`}
37
38
  id={anchor}
38
39
  >
40
+ {renderBackwardButton('Все дебетовые карты', version, 'mb-10')}
39
41
  {breadcrumbs?.length ? (
40
42
  <div className="text-xs mb-6">
41
43
  {joinList(<span className={`mx-2 ${breadcrumbsStyleMap[version]}`}>/</span>)(
@@ -1,6 +1,6 @@
1
1
  import type { BlockVersion } from '../../model/BlockVersion';
2
2
  import type { LinkProps } from '../../model/LinkProps';
3
- import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
3
+ import type { ButtonContent, ButtonProps } from '../../ui-kit/Button/ButtonProps';
4
4
  import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
5
5
  import type { HeadingContent, HeadingTypeContent } from '../../ui-kit/Heading/HeadingContent';
6
6
  import type { ImageContent } from '../../ui-kit/Img/ImgProps';
@@ -32,6 +32,8 @@ export type ProductBlockInnerContent = HeadingContent &
32
32
  * @hidden
33
33
  */
34
34
  textBlockClassName?: string;
35
+ /** @title Текст кнопки возврата */
36
+ backwardButton?: ButtonProps;
35
37
  };
36
38
 
37
39
  /**
@@ -4,6 +4,7 @@ import { ButtonSection } from '../../ui-kit/Button/ButtonSection';
4
4
  import { Description } from '../../ui-kit/Description/Description';
5
5
  import { Img } from '../../ui-kit/Img/Img';
6
6
  import { List } from '../../ui-kit/List/List';
7
+ import { Heading } from '../../ui-kit/Heading/Heading';
7
8
  import { BaseTile } from '../BaseTile/BaseTile';
8
9
  import type { ProductBlockInnerContent } from './ProductBlockContent';
9
10
  import { renderBenefit } from './renderBenefit';
@@ -31,12 +32,12 @@ export const ProductBlockInner = JSX<ProductBlockInnerProps>(
31
32
  <div className={`flex flex-col ${textBlockClassName}`}>
32
33
  <BaseTile
33
34
  context={context}
34
- title={getTitle(title, headingType, textColor)}
35
+ title={getTitle(title, headingType)}
35
36
  buttons={getButtons(context, buttons)}
36
37
  >
37
38
  {description && (
38
39
  <Description
39
- className={`mt-[18px] max-w-[600px] text-title-new-sm font-light ${textColor}`}
40
+ className={`mt-4 max-w-[600px] text-md font-light ${textColor}`}
40
41
  description={description}
41
42
  />
42
43
  )}
@@ -47,9 +48,9 @@ export const ProductBlockInner = JSX<ProductBlockInnerProps>(
47
48
  ) : null}
48
49
  {items?.length ? (
49
50
  <List
50
- className="mt-5 text-title-new-sm font-light"
51
+ className="mt-5 text-title-2xs font-light"
51
52
  items={items}
52
- itemClassName="mb-[10px]"
53
+ itemClassName="mb-[7px]"
53
54
  version={version}
54
55
  isDotted={isDotted}
55
56
  />
@@ -62,15 +63,20 @@ export const ProductBlockInner = JSX<ProductBlockInnerProps>(
62
63
  },
63
64
  );
64
65
 
65
- const getTitle = (title, headingType, textColor) => {
66
- const Tag = headingType;
66
+ const getTitle = (title, headingType) => {
67
67
  return (
68
- title && <Tag className={`font-sans font-medium m-0 text-title-xl ${textColor}`}>{title}</Tag>
68
+ title && (
69
+ <Heading
70
+ headingType={headingType}
71
+ title={title}
72
+ className="whitespace-pre-wrap max-w-[600px]"
73
+ />
74
+ )
69
75
  );
70
76
  };
71
77
 
72
78
  const getButtons = (context, buttons) => {
73
79
  return buttons?.length ? (
74
- <ButtonSection context={context} buttons={buttons} className="flex mt-9 gap-3" />
80
+ <ButtonSection context={context} buttons={buttons} className="flex mt-9 gap-4" />
75
81
  ) : null;
76
82
  };
@@ -0,0 +1,35 @@
1
+ import { Img } from '../../ui-kit/Img/Img';
2
+ import { Button } from '../../ui-kit/Button/Button';
3
+ import type { BlockVersion } from '../../model/BlockVersion';
4
+
5
+ const backwardBgStyleMap: Record<BlockVersion, string> = {
6
+ primary: 'bg-primary-main',
7
+ secondary: 'bg-white',
8
+ };
9
+
10
+ const backwardIconStyleMap: Record<BlockVersion, string> = {
11
+ primary: 'text-white',
12
+ secondary: 'text-primary-text',
13
+ };
14
+
15
+ export function renderBackwardButton(text: string, version: BlockVersion, className: string) {
16
+ return (
17
+ <div className={`flex items-center ${className}`}>
18
+ <Button
19
+ rounded
20
+ className={`w-12 h-12 min-h-12 max-h-12 flex items-center justify-center mr-3 ${backwardBgStyleMap[version]}`}
21
+ ariaLabel={text}
22
+ >
23
+ <Img
24
+ className={`w-4 h-4 min-w-4 min-h-4 rounded-full box-border ${backwardIconStyleMap[version]}`}
25
+ image={{ icon: 'ArrowLeftIcon' }}
26
+ color="none"
27
+ width="24"
28
+ height="24"
29
+ asSVG
30
+ />
31
+ </Button>
32
+ {text ? <span className="text-m-md">{text}</span> : null}
33
+ </div>
34
+ );
35
+ }
@@ -3,7 +3,7 @@ import { Img } from '../../ui-kit/Img/Img';
3
3
  import type { Benefit } from '../BenefitsBlock/BenefitsBlockContent';
4
4
 
5
5
  const benefitIconBgStyleMap: Record<BlockVersion, string> = {
6
- primary: 'bg-main',
6
+ primary: 'bg-primary-main',
7
7
  secondary: 'bg-white/30',
8
8
  };
9
9
  const benefitTitleStyleMap: Record<BlockVersion, string> = {
@@ -20,19 +20,19 @@ export function renderBenefit(benefit: Benefit, i: number, version: string) {
20
20
  <div key={String(i)} className="flex gap-4 items-center">
21
21
  {benefit.icon ? (
22
22
  <Img
23
- className={`w-[50px] h-[50px] min-w-[50px] min-h-[50px] rounded-full p-[10px] box-border ${benefitIconBgStyleMap[version]}`}
23
+ className={`w-[50px] h-[50px] min-w-[50px] min-h-[50px] rounded-full p-[10px] box-border text-white ${benefitIconBgStyleMap[version]}`}
24
24
  image={benefit.icon}
25
25
  width="24"
26
26
  height="24"
27
27
  asSVG
28
28
  />
29
29
  ) : null}
30
- <div className="flex gap-1 flex-col h-full max-w-[149px]">
30
+ <div className="flex gap-0.5 flex-col h-full max-w-[149px]">
31
31
  <div className={`font-medium text-xl m-0 ${benefitTitleStyleMap[version]}`}>
32
32
  {benefit.label}
33
33
  </div>
34
34
  {benefit.description && (
35
- <div className={`font-normal text-sm ${benefitDescStyleMap[version]}`}>
35
+ <div className={`font-normal text-m-md ${benefitDescStyleMap[version]}`}>
36
36
  {benefit.description}
37
37
  </div>
38
38
  )}
@@ -6,6 +6,7 @@ import { BaseTile } from '../BaseTile/BaseTile';
6
6
  import { SocialMedia } from '../Footer/SocialMedia';
7
7
  import type { UniBlockProps } from '../../types';
8
8
  import type { RecommendationCardTypes } from './RecommendationContent';
9
+ import { Heading } from '../../ui-kit/Heading/Heading';
9
10
 
10
11
  export interface RecommendationCardProps extends RecommendationCardTypes, UniBlockProps {}
11
12
 
@@ -21,7 +22,7 @@ export const RecommendationCard = JSX<RecommendationCardProps>(
21
22
  className="flex justify-between"
22
23
  title={
23
24
  title ? (
24
- <h4 className={`font-sans text-title-xs font-normal m-0 mb-3.5`}>{title}</h4>
25
+ <Heading headingType="h4" as="h3" className="font-normal mb-3.5" title={title} />
25
26
  ) : null
26
27
  }
27
28
  image={image?.src && <Img className="mt-auto ml-7" image={image} />}
@@ -17,5 +17,9 @@ export interface RecommendationContent extends HeadingContent {
17
17
  /** @title Карточки */
18
18
  recommendations?: RecommendationCardTypes[];
19
19
  version?: BlockVersion;
20
+ /**
21
+ * @title Ссылка
22
+ * @minItems 3
23
+ */
20
24
  socialMedia?: LinkProps[];
21
25
  }
@@ -31,6 +31,65 @@ export default {
31
31
  />
32
32
  </div>
33
33
  ),
34
+ 'steps-img': (
35
+ <div className="container grid grid-cols-12">
36
+ <StepsBlock
37
+ className="col-span-12"
38
+ context={context}
39
+ title="Рассчитайте условия на онлайн-калькуляторе и оставьте заявку на потребительский кредит"
40
+ showLines={false}
41
+ steps={[
42
+ {
43
+ label: 'В мобильном приложении или интернет-банке',
44
+ description: 'Для всех клиентов Россельхозбанка',
45
+ icon: { icon: 'SignDocsIcon' },
46
+ button: { text: 'Войти в интернет-банк' },
47
+ },
48
+ {
49
+ label: 'Через Госуслуги',
50
+ description: 'При наличии данных в Единой биометрической системе',
51
+ icon: { icon: 'ClockIcon' },
52
+ button: { text: 'Оформить' },
53
+ },
54
+ {
55
+ label: 'В офисах Россельхозбанка',
56
+ description: 'Откройте вклад',
57
+ icon: { icon: 'ComfortableCompIcon' },
58
+ button: { text: 'Офисы на карте' },
59
+ },
60
+ ]}
61
+ />
62
+ </div>
63
+ ),
64
+ 'steps-with-btn': (
65
+ <div className="container grid grid-cols-12">
66
+ <StepsBlock
67
+ className="col-span-12"
68
+ context={context}
69
+ title="Рассчитайте условия на онлайн-калькуляторе и оставьте заявку на потребительский кредит"
70
+ showLines={false}
71
+ steps={[
72
+ {
73
+ label: 'В мобильном приложении или интернет-банке',
74
+ description: 'Для всех клиентов Россельхозбанка',
75
+ icon: { icon: 'SignDocsIcon' },
76
+ },
77
+ {
78
+ label: 'Через Госуслуги',
79
+ description: 'При наличии данных в Единой биометрической системе',
80
+ icon: { icon: 'ClockIcon' },
81
+ },
82
+ {
83
+ label: 'В офисах Россельхозбанка',
84
+ description: 'Откройте вклад',
85
+ icon: { icon: 'ComfortableCompIcon' },
86
+ },
87
+ ]}
88
+ button={{ text: 'Отправить заявку' }}
89
+ />
90
+ </div>
91
+ ),
92
+
34
93
  '4 steps': (
35
94
  <div className="container grid grid-cols-12">
36
95
  <StepsBlock