@redneckz/wildless-cms-uni-blocks 0.3.34 → 0.3.37

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 (620) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +301 -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 +13 -3
  45. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  46. package/dist/components/CreditCalculator/renderButton.js +8 -1
  47. package/dist/components/CreditCalculator/renderButton.js.map +1 -1
  48. package/dist/components/Footer/Contacts.js +5 -5
  49. package/dist/components/Footer/Contacts.js.map +1 -1
  50. package/dist/components/Footer/Footer.js +3 -4
  51. package/dist/components/Footer/Footer.js.map +1 -1
  52. package/dist/components/Footer/FooterContent.d.ts +2 -0
  53. package/dist/components/Footer/HorizontalNavigation.js +1 -1
  54. package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  55. package/dist/components/Footer/MediaButton.js +15 -1
  56. package/dist/components/Footer/MediaButton.js.map +1 -1
  57. package/dist/components/Footer/Sitemap.js +4 -4
  58. package/dist/components/Footer/Sitemap.js.map +1 -1
  59. package/dist/components/Footer/SocialMedia.js +2 -2
  60. package/dist/components/Footer/SocialMedia.js.map +1 -1
  61. package/dist/components/Footer/TextInformation.js +2 -2
  62. package/dist/components/Footer/TextInformation.js.map +1 -1
  63. package/dist/components/Gallery/GalleryCardInner.js +5 -6
  64. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  65. package/dist/components/Gallery/GalleryContainer.js +2 -2
  66. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  67. package/dist/components/Gallery/GalleryInner.js +1 -1
  68. package/dist/components/Header/Header.js +4 -8
  69. package/dist/components/Header/Header.js.map +1 -1
  70. package/dist/components/Header/HeaderSecondaryMenu.js +3 -3
  71. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  72. package/dist/components/Header/HeaderSubMenu.d.ts +9 -0
  73. package/dist/components/Header/HeaderSubMenu.js +37 -0
  74. package/dist/components/Header/HeaderSubMenu.js.map +1 -0
  75. package/dist/components/Header/HeaderSubMenuObserver.d.ts +1 -0
  76. package/dist/components/Header/HeaderSubMenuObserver.js +33 -0
  77. package/dist/components/Header/HeaderSubMenuObserver.js.map +1 -0
  78. package/dist/components/LinkDocs/LinkDocsList.d.ts +1 -1
  79. package/dist/components/LinkDocs/LinkDocsList.js +1 -1
  80. package/dist/components/LinkDocs/LinkDocsList.js.map +1 -1
  81. package/dist/components/LinkDocs/LinkDocsListItem.js +1 -1
  82. package/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  83. package/dist/components/NavigatorTabs/NavigatorTabItem.js +4 -4
  84. package/dist/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  85. package/dist/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
  86. package/dist/components/NavigatorTabs/NavigatorTabs.js +11 -6
  87. package/dist/components/NavigatorTabs/NavigatorTabs.js.map +1 -1
  88. package/dist/components/NavigatorTabs/NavigatorTabsContent.d.ts +3 -1
  89. package/dist/components/ProductBlock/ProductBlock.js +2 -1
  90. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  91. package/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -1
  92. package/dist/components/ProductBlock/ProductBlockInner.js +5 -5
  93. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  94. package/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -0
  95. package/dist/components/ProductBlock/renderBackwardButton.js +18 -0
  96. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -0
  97. package/dist/components/ProductBlock/renderBenefit.js +2 -2
  98. package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  99. package/dist/components/Recommendation/RecommendationCard.js +2 -1
  100. package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  101. package/dist/components/Recommendation/RecommendationContent.d.ts +4 -0
  102. package/dist/components/StepsBlock/StepsBlock.js +6 -5
  103. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  104. package/dist/components/StepsBlock/StepsBlockContent.d.ts +3 -0
  105. package/dist/components/TariffsTable/TariffsTableCell.js +2 -1
  106. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  107. package/dist/components/TariffsTable/TariffsTableTileCell.js +2 -1
  108. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  109. package/dist/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
  110. package/dist/components/TariffsTable/utils/getButtonAriaLabel.js +6 -0
  111. package/dist/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -0
  112. package/dist/components/Tile/Tile.js +3 -3
  113. package/dist/components/Tile/Tile.js.map +1 -1
  114. package/dist/hooks/useLink.d.ts +1 -1
  115. package/dist/hooks/useLink.js +1 -1
  116. package/dist/hooks/useLink.js.map +1 -1
  117. package/dist/icons/IconName.d.ts +5 -3
  118. package/dist/icons/IconName.js +3 -1
  119. package/dist/icons/IconName.js.map +1 -1
  120. package/dist/ui-kit/Button/Button.js +6 -1
  121. package/dist/ui-kit/Button/Button.js.map +1 -1
  122. package/dist/ui-kit/Button/ButtonInner.js +2 -2
  123. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  124. package/dist/ui-kit/HeaderItem/HeaderItem.js +2 -2
  125. package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  126. package/dist/ui-kit/Heading/Heading.d.ts +2 -1
  127. package/dist/ui-kit/Heading/Heading.js +3 -3
  128. package/dist/ui-kit/Heading/Heading.js.map +1 -1
  129. package/dist/ui-kit/Heading/Heading.mobile.d.ts +2 -1
  130. package/dist/ui-kit/Heading/Heading.mobile.js +2 -2
  131. package/dist/ui-kit/Heading/Heading.mobile.js.map +1 -1
  132. package/dist/ui-kit/Icon/Icon.js +2 -2
  133. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  134. package/dist/ui-kit/List/List.js +2 -0
  135. package/dist/ui-kit/List/List.js.map +1 -1
  136. package/dist/ui-kit/List/ListItem.js +19 -5
  137. package/dist/ui-kit/List/ListItem.js.map +1 -1
  138. package/dist/ui-kit/List/ListProps.d.ts +1 -1
  139. package/dist/ui-kit/Logo/Logo.js +1 -1
  140. package/dist/ui-kit/Logo/Logo.js.map +1 -1
  141. package/dist/ui-kit/SearchBar/SearchBar.js +1 -1
  142. package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  143. package/dist/ui-kit/TopItem/TopItem.d.ts +1 -0
  144. package/dist/ui-kit/TopItem/TopItem.js +1 -1
  145. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  146. package/dist/utils/changeHashOnScroll.d.ts +2 -0
  147. package/dist/utils/changeHashOnScroll.js +16 -0
  148. package/dist/utils/changeHashOnScroll.js.map +1 -0
  149. package/dist/utils/isSSR.d.ts +1 -0
  150. package/dist/utils/isSSR.js +5 -0
  151. package/dist/utils/isSSR.js.map +1 -0
  152. package/dist/utils/tableFunc.d.ts +2 -0
  153. package/dist/utils/tableFunc.js +8 -0
  154. package/dist/utils/tableFunc.js.map +1 -0
  155. package/lib/common.css +1 -1
  156. package/lib/components/Blocks.js +1 -1
  157. package/lib/components/Blocks.js.map +1 -1
  158. package/lib/components/ComparisonTable/HeaderCell.js +1 -1
  159. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  160. package/lib/components/ComparisonTable/TableCell.js +1 -1
  161. package/lib/components/ContentPage/ContentPage.js +13 -3
  162. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  163. package/lib/components/CreditCalculator/renderButton.js +8 -1
  164. package/lib/components/CreditCalculator/renderButton.js.map +1 -1
  165. package/lib/components/Footer/Contacts.js +5 -5
  166. package/lib/components/Footer/Contacts.js.map +1 -1
  167. package/lib/components/Footer/Footer.js +3 -4
  168. package/lib/components/Footer/Footer.js.map +1 -1
  169. package/lib/components/Footer/FooterContent.d.ts +2 -0
  170. package/lib/components/Footer/HorizontalNavigation.js +1 -1
  171. package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  172. package/lib/components/Footer/MediaButton.js +15 -1
  173. package/lib/components/Footer/MediaButton.js.map +1 -1
  174. package/lib/components/Footer/Sitemap.js +4 -4
  175. package/lib/components/Footer/Sitemap.js.map +1 -1
  176. package/lib/components/Footer/SocialMedia.js +3 -3
  177. package/lib/components/Footer/SocialMedia.js.map +1 -1
  178. package/lib/components/Footer/TextInformation.js +2 -2
  179. package/lib/components/Footer/TextInformation.js.map +1 -1
  180. package/lib/components/Gallery/GalleryCardInner.js +5 -6
  181. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  182. package/lib/components/Gallery/GalleryContainer.js +2 -2
  183. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  184. package/lib/components/Gallery/GalleryInner.js +1 -1
  185. package/lib/components/Header/Header.js +4 -8
  186. package/lib/components/Header/Header.js.map +1 -1
  187. package/lib/components/Header/HeaderSecondaryMenu.js +3 -3
  188. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  189. package/lib/components/Header/HeaderSubMenu.d.ts +9 -0
  190. package/lib/components/Header/HeaderSubMenu.js +35 -0
  191. package/lib/components/Header/HeaderSubMenu.js.map +1 -0
  192. package/lib/components/Header/HeaderSubMenuObserver.d.ts +1 -0
  193. package/lib/components/Header/HeaderSubMenuObserver.js +31 -0
  194. package/lib/components/Header/HeaderSubMenuObserver.js.map +1 -0
  195. package/lib/components/LinkDocs/LinkDocsList.d.ts +1 -1
  196. package/lib/components/LinkDocs/LinkDocsList.js +1 -1
  197. package/lib/components/LinkDocs/LinkDocsList.js.map +1 -1
  198. package/lib/components/LinkDocs/LinkDocsListItem.js +1 -1
  199. package/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  200. package/lib/components/NavigatorTabs/NavigatorTabItem.js +4 -4
  201. package/lib/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  202. package/lib/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
  203. package/lib/components/NavigatorTabs/NavigatorTabs.js +12 -7
  204. package/lib/components/NavigatorTabs/NavigatorTabs.js.map +1 -1
  205. package/lib/components/NavigatorTabs/NavigatorTabsContent.d.ts +3 -1
  206. package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +1 -0
  207. package/lib/components/ProductBlock/ProductBlock.js +2 -1
  208. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  209. package/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -1
  210. package/lib/components/ProductBlock/ProductBlockInner.js +5 -5
  211. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  212. package/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -0
  213. package/lib/components/ProductBlock/renderBackwardButton.js +15 -0
  214. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -0
  215. package/lib/components/ProductBlock/renderBenefit.js +2 -2
  216. package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  217. package/lib/components/Recommendation/RecommendationCard.js +2 -1
  218. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  219. package/lib/components/Recommendation/RecommendationContent.d.ts +4 -0
  220. package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +2 -0
  221. package/lib/components/StepsBlock/StepsBlock.js +6 -5
  222. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  223. package/lib/components/StepsBlock/StepsBlockContent.d.ts +3 -0
  224. package/lib/components/TariffsTable/TariffsTableCell.js +2 -1
  225. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  226. package/lib/components/TariffsTable/TariffsTableTileCell.js +2 -1
  227. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  228. package/lib/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
  229. package/lib/components/TariffsTable/utils/getButtonAriaLabel.js +3 -0
  230. package/lib/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -0
  231. package/lib/components/Tile/Tile.js +3 -3
  232. package/lib/components/Tile/Tile.js.map +1 -1
  233. package/lib/hooks/useLink.d.ts +1 -1
  234. package/lib/hooks/useLink.js +1 -1
  235. package/lib/hooks/useLink.js.map +1 -1
  236. package/lib/icons/IconName.d.ts +5 -3
  237. package/lib/icons/IconName.js +3 -1
  238. package/lib/icons/IconName.js.map +1 -1
  239. package/lib/ui-kit/Button/Button.js +6 -1
  240. package/lib/ui-kit/Button/Button.js.map +1 -1
  241. package/lib/ui-kit/Button/ButtonInner.js +2 -2
  242. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  243. package/lib/ui-kit/HeaderItem/HeaderItem.js +2 -2
  244. package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  245. package/lib/ui-kit/Heading/Heading.d.ts +2 -1
  246. package/lib/ui-kit/Heading/Heading.js +3 -3
  247. package/lib/ui-kit/Heading/Heading.js.map +1 -1
  248. package/lib/ui-kit/Heading/Heading.mobile.d.ts +2 -1
  249. package/lib/ui-kit/Heading/Heading.mobile.js +2 -2
  250. package/lib/ui-kit/Heading/Heading.mobile.js.map +1 -1
  251. package/lib/ui-kit/Icon/Icon.js +2 -2
  252. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  253. package/lib/ui-kit/List/List.js +2 -0
  254. package/lib/ui-kit/List/List.js.map +1 -1
  255. package/lib/ui-kit/List/ListItem.js +19 -5
  256. package/lib/ui-kit/List/ListItem.js.map +1 -1
  257. package/lib/ui-kit/List/ListProps.d.ts +1 -1
  258. package/lib/ui-kit/Logo/Logo.js +1 -1
  259. package/lib/ui-kit/Logo/Logo.js.map +1 -1
  260. package/lib/ui-kit/SearchBar/SearchBar.js +1 -1
  261. package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  262. package/lib/ui-kit/TopItem/TopItem.d.ts +1 -0
  263. package/lib/ui-kit/TopItem/TopItem.js +1 -1
  264. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  265. package/lib/utils/changeHashOnScroll.d.ts +2 -0
  266. package/lib/utils/changeHashOnScroll.js +13 -0
  267. package/lib/utils/changeHashOnScroll.js.map +1 -0
  268. package/lib/utils/isSSR.d.ts +1 -0
  269. package/lib/utils/isSSR.js +2 -0
  270. package/lib/utils/isSSR.js.map +1 -0
  271. package/lib/utils/tableFunc.d.ts +2 -0
  272. package/lib/utils/tableFunc.js +5 -0
  273. package/lib/utils/tableFunc.js.map +1 -0
  274. package/mobile/bundle/bundle.umd.js +80 -23
  275. package/mobile/bundle/bundle.umd.min.js +1 -1
  276. package/mobile/dist/components/ContentPage/ContentPage.js +13 -3
  277. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  278. package/mobile/dist/components/CreditCalculator/renderButton.js +8 -1
  279. package/mobile/dist/components/CreditCalculator/renderButton.js.map +1 -1
  280. package/mobile/dist/components/Footer/Contacts.js +5 -5
  281. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  282. package/mobile/dist/components/Footer/FooterContent.d.ts +2 -0
  283. package/mobile/dist/components/Footer/MediaButton.js +15 -1
  284. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  285. package/mobile/dist/components/Footer/Sitemap.js +4 -4
  286. package/mobile/dist/components/Footer/Sitemap.js.map +1 -1
  287. package/mobile/dist/components/Gallery/GalleryCardInner.js +5 -6
  288. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  289. package/mobile/dist/components/Gallery/GalleryContainer.js +2 -2
  290. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  291. package/mobile/dist/components/Gallery/GalleryInner.js +1 -1
  292. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +3 -3
  293. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  294. package/mobile/dist/components/Header/HeaderSubMenu.d.ts +9 -0
  295. package/mobile/dist/components/Header/HeaderSubMenu.js +37 -0
  296. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -0
  297. package/mobile/dist/components/Header/HeaderSubMenuObserver.d.ts +1 -0
  298. package/mobile/dist/components/Header/HeaderSubMenuObserver.js +33 -0
  299. package/mobile/dist/components/Header/HeaderSubMenuObserver.js.map +1 -0
  300. package/mobile/dist/components/LinkDocs/LinkDocsList.d.ts +1 -1
  301. package/mobile/dist/components/LinkDocs/LinkDocsList.js +1 -1
  302. package/mobile/dist/components/LinkDocs/LinkDocsList.js.map +1 -1
  303. package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.js +4 -4
  304. package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  305. package/mobile/dist/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
  306. package/mobile/dist/components/NavigatorTabs/NavigatorTabs.js +11 -6
  307. package/mobile/dist/components/NavigatorTabs/NavigatorTabs.js.map +1 -1
  308. package/mobile/dist/components/NavigatorTabs/NavigatorTabsContent.d.ts +3 -1
  309. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -1
  310. package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -0
  311. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +18 -0
  312. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -0
  313. package/mobile/dist/components/Recommendation/RecommendationCard.js +2 -1
  314. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  315. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +4 -0
  316. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +3 -0
  317. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +2 -1
  318. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  319. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +2 -1
  320. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  321. package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
  322. package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.js +6 -0
  323. package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -0
  324. package/mobile/dist/components/Tile/Tile.js +3 -3
  325. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  326. package/mobile/dist/hooks/useLink.d.ts +1 -1
  327. package/mobile/dist/hooks/useLink.js +1 -1
  328. package/mobile/dist/hooks/useLink.js.map +1 -1
  329. package/mobile/dist/icons/IconName.d.ts +5 -3
  330. package/mobile/dist/icons/IconName.js +3 -1
  331. package/mobile/dist/icons/IconName.js.map +1 -1
  332. package/mobile/dist/ui-kit/Button/ButtonInner.js +2 -2
  333. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  334. package/mobile/dist/ui-kit/Heading/Heading.d.ts +2 -1
  335. package/mobile/dist/ui-kit/Heading/Heading.js +2 -2
  336. package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -1
  337. package/mobile/dist/ui-kit/Icon/Icon.js +2 -2
  338. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  339. package/mobile/dist/ui-kit/List/List.js +2 -0
  340. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  341. package/mobile/dist/ui-kit/List/ListItem.js +19 -5
  342. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  343. package/mobile/dist/ui-kit/List/ListProps.d.ts +1 -1
  344. package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +1 -0
  345. package/mobile/dist/ui-kit/TopItem/TopItem.js +1 -1
  346. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  347. package/mobile/dist/utils/changeHashOnScroll.d.ts +2 -0
  348. package/mobile/dist/utils/changeHashOnScroll.js +16 -0
  349. package/mobile/dist/utils/changeHashOnScroll.js.map +1 -0
  350. package/mobile/dist/utils/isSSR.d.ts +1 -0
  351. package/mobile/dist/utils/isSSR.js +5 -0
  352. package/mobile/dist/utils/isSSR.js.map +1 -0
  353. package/mobile/dist/utils/tableFunc.d.ts +2 -0
  354. package/mobile/dist/utils/tableFunc.js +8 -0
  355. package/mobile/dist/utils/tableFunc.js.map +1 -0
  356. package/mobile/lib/components/ContentPage/ContentPage.js +13 -3
  357. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  358. package/mobile/lib/components/CreditCalculator/renderButton.js +8 -1
  359. package/mobile/lib/components/CreditCalculator/renderButton.js.map +1 -1
  360. package/mobile/lib/components/Footer/Contacts.js +5 -5
  361. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  362. package/mobile/lib/components/Footer/FooterContent.d.ts +2 -0
  363. package/mobile/lib/components/Footer/MediaButton.js +15 -1
  364. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  365. package/mobile/lib/components/Footer/Sitemap.js +4 -4
  366. package/mobile/lib/components/Footer/Sitemap.js.map +1 -1
  367. package/mobile/lib/components/Gallery/GalleryCardInner.js +5 -6
  368. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  369. package/mobile/lib/components/Gallery/GalleryContainer.js +2 -2
  370. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  371. package/mobile/lib/components/Gallery/GalleryInner.js +1 -1
  372. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +3 -3
  373. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  374. package/mobile/lib/components/Header/HeaderSubMenu.d.ts +9 -0
  375. package/mobile/lib/components/Header/HeaderSubMenu.js +35 -0
  376. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -0
  377. package/mobile/lib/components/Header/HeaderSubMenuObserver.d.ts +1 -0
  378. package/mobile/lib/components/Header/HeaderSubMenuObserver.js +31 -0
  379. package/mobile/lib/components/Header/HeaderSubMenuObserver.js.map +1 -0
  380. package/mobile/lib/components/LinkDocs/LinkDocsList.d.ts +1 -1
  381. package/mobile/lib/components/LinkDocs/LinkDocsList.js +1 -1
  382. package/mobile/lib/components/LinkDocs/LinkDocsList.js.map +1 -1
  383. package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.js +4 -4
  384. package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  385. package/mobile/lib/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
  386. package/mobile/lib/components/NavigatorTabs/NavigatorTabs.js +12 -7
  387. package/mobile/lib/components/NavigatorTabs/NavigatorTabs.js.map +1 -1
  388. package/mobile/lib/components/NavigatorTabs/NavigatorTabsContent.d.ts +3 -1
  389. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -1
  390. package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -0
  391. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +15 -0
  392. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -0
  393. package/mobile/lib/components/Recommendation/RecommendationCard.js +2 -1
  394. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  395. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +4 -0
  396. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +3 -0
  397. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +2 -1
  398. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  399. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +2 -1
  400. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  401. package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
  402. package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.js +3 -0
  403. package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -0
  404. package/mobile/lib/components/Tile/Tile.js +3 -3
  405. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  406. package/mobile/lib/hooks/useLink.d.ts +1 -1
  407. package/mobile/lib/hooks/useLink.js +1 -1
  408. package/mobile/lib/hooks/useLink.js.map +1 -1
  409. package/mobile/lib/icons/IconName.d.ts +5 -3
  410. package/mobile/lib/icons/IconName.js +3 -1
  411. package/mobile/lib/icons/IconName.js.map +1 -1
  412. package/mobile/lib/ui-kit/Button/ButtonInner.js +2 -2
  413. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  414. package/mobile/lib/ui-kit/Heading/Heading.d.ts +2 -1
  415. package/mobile/lib/ui-kit/Heading/Heading.js +2 -2
  416. package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -1
  417. package/mobile/lib/ui-kit/Icon/Icon.js +2 -2
  418. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  419. package/mobile/lib/ui-kit/List/List.js +2 -0
  420. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  421. package/mobile/lib/ui-kit/List/ListItem.js +19 -5
  422. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  423. package/mobile/lib/ui-kit/List/ListProps.d.ts +1 -1
  424. package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +1 -0
  425. package/mobile/lib/ui-kit/TopItem/TopItem.js +1 -1
  426. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  427. package/mobile/lib/utils/changeHashOnScroll.d.ts +2 -0
  428. package/mobile/lib/utils/changeHashOnScroll.js +13 -0
  429. package/mobile/lib/utils/changeHashOnScroll.js.map +1 -0
  430. package/mobile/lib/utils/isSSR.d.ts +1 -0
  431. package/mobile/lib/utils/isSSR.js +2 -0
  432. package/mobile/lib/utils/isSSR.js.map +1 -0
  433. package/mobile/lib/utils/tableFunc.d.ts +2 -0
  434. package/mobile/lib/utils/tableFunc.js +5 -0
  435. package/mobile/lib/utils/tableFunc.js.map +1 -0
  436. package/mobile/src/components/ContentPage/ContentPage.page.json +98 -238
  437. package/mobile/src/components/ContentPage/ContentPage.tsx +18 -2
  438. package/mobile/src/components/CreditCalculator/renderButton.tsx +11 -1
  439. package/mobile/src/components/Footer/Contacts.tsx +7 -10
  440. package/mobile/src/components/Footer/FooterContent.ts +2 -0
  441. package/mobile/src/components/Footer/MediaButton.tsx +15 -1
  442. package/mobile/src/components/Footer/Sitemap.tsx +5 -5
  443. package/mobile/src/components/Gallery/GalleryCardInner.tsx +6 -7
  444. package/mobile/src/components/Gallery/GalleryContainer.tsx +2 -2
  445. package/mobile/src/components/Gallery/GalleryInner.tsx +1 -1
  446. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +4 -7
  447. package/mobile/src/components/Header/HeaderSubMenu.tsx +103 -0
  448. package/mobile/src/components/Header/HeaderSubMenuObserver.ts +46 -0
  449. package/mobile/src/components/LinkDocs/LinkDocsList.tsx +3 -3
  450. package/mobile/src/components/NavigatorTabs/NavigatorTabItem.tsx +7 -5
  451. package/mobile/src/components/NavigatorTabs/NavigatorTabs.example.json +3 -3
  452. package/mobile/src/components/NavigatorTabs/NavigatorTabs.tsx +17 -9
  453. package/mobile/src/components/NavigatorTabs/NavigatorTabsContent.ts +3 -1
  454. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +3 -1
  455. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +35 -0
  456. package/mobile/src/components/Recommendation/RecommendationCard.tsx +2 -1
  457. package/mobile/src/components/Recommendation/RecommendationContent.ts +4 -0
  458. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +3 -0
  459. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +2 -0
  460. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +2 -0
  461. package/mobile/src/components/TariffsTable/utils/getButtonAriaLabel.ts +5 -0
  462. package/mobile/src/components/Tile/Tile.example.json +1 -1
  463. package/mobile/src/components/Tile/Tile.tsx +13 -3
  464. package/mobile/src/hooks/useLink.ts +1 -1
  465. package/mobile/src/icons/ArrowDownIcon.svg +1 -1
  466. package/mobile/src/icons/ArrowLeftIcon.svg +4 -0
  467. package/mobile/src/icons/BurgerIcon.svg +4 -4
  468. package/mobile/src/icons/Calendar2Icon.svg +1 -1
  469. package/mobile/src/icons/CalendarCircleIcon.svg +4 -1
  470. package/mobile/src/icons/CalendarIcon.svg +1 -1
  471. package/mobile/src/icons/CalendarTickIcon.svg +6 -1
  472. package/mobile/src/icons/CalendarWhiteIcon.svg +2 -2
  473. package/mobile/src/icons/CardIcon.svg +5 -1
  474. package/mobile/src/icons/CardPosIcon.svg +5 -1
  475. package/mobile/src/icons/CardTickIcon.svg +5 -1
  476. package/mobile/src/icons/ChartSquareIcon.svg +6 -1
  477. package/mobile/src/icons/CloseIcon.svg +4 -4
  478. package/mobile/src/icons/DiscountShapeIcon.svg +4 -1
  479. package/mobile/src/icons/DocIcon.svg +1 -1
  480. package/mobile/src/icons/DocumentTextIcon.svg +2 -2
  481. package/mobile/src/icons/EmptyWalletChangeIcon.svg +8 -1
  482. package/mobile/src/icons/EmptyWalletIcon.svg +2 -2
  483. package/mobile/src/icons/GlobalIcon.svg +5 -1
  484. package/mobile/src/icons/GpsIcon.svg +6 -6
  485. package/mobile/src/icons/IconName.ts +4 -4
  486. package/mobile/src/icons/InterestIcon.svg +6 -1
  487. package/mobile/src/icons/MasterCardIcon.svg +5 -1
  488. package/mobile/src/icons/MinusIcon.svg +3 -1
  489. package/mobile/src/icons/MoneyIcon.svg +5 -1
  490. package/mobile/src/icons/MonitorMobileIcon.svg +4 -1
  491. package/mobile/src/icons/PercentageRoundIcon.svg +4 -1
  492. package/mobile/src/icons/PercentageSquareIcon.svg +1 -1
  493. package/mobile/src/icons/PersonalCardIcon.svg +4 -1
  494. package/mobile/src/icons/PlayMarketIcon.svg +3 -1
  495. package/mobile/src/icons/PlusIcon.svg +3 -1
  496. package/mobile/src/icons/Profile2UserIcon.svg +6 -1
  497. package/mobile/src/icons/RoundRubleIcon.svg +5 -1
  498. package/mobile/src/icons/SafeIcon.svg +7 -1
  499. package/mobile/src/icons/ShieldTickIcon.svg +4 -1
  500. package/mobile/src/icons/SmallClockIcon.svg +4 -1
  501. package/mobile/src/icons/UserTickIcon.svg +5 -1
  502. package/mobile/src/icons/WalletAdd2Icon.svg +6 -1
  503. package/mobile/src/icons/WalletAddIcon.svg +7 -1
  504. package/mobile/src/icons/WalletIcon.svg +7 -1
  505. package/mobile/src/icons/WalletWithMoneyIcon.svg +5 -1
  506. package/mobile/src/ui-kit/Button/ButtonInner.tsx +2 -2
  507. package/mobile/src/ui-kit/Heading/Heading.tsx +5 -2
  508. package/mobile/src/ui-kit/Icon/Icon.tsx +2 -2
  509. package/mobile/src/ui-kit/List/List.tsx +2 -0
  510. package/mobile/src/ui-kit/List/ListItem.tsx +19 -5
  511. package/mobile/src/ui-kit/List/ListProps.ts +1 -1
  512. package/mobile/src/ui-kit/TopItem/TopItem.tsx +2 -1
  513. package/mobile/src/utils/changeHashOnScroll.ts +15 -0
  514. package/mobile/src/utils/isSSR.ts +2 -0
  515. package/mobile/src/utils/tableFunc.ts +8 -0
  516. package/package.json +1 -1
  517. package/src/components/Blocks.ts +1 -1
  518. package/src/components/ComparisonTable/HeaderCell.tsx +1 -1
  519. package/src/components/ComparisonTable/TableCell.tsx +1 -1
  520. package/src/components/ContentPage/ContentPage.page.json +98 -238
  521. package/src/components/ContentPage/ContentPage.tsx +18 -2
  522. package/src/components/CreditCalculator/renderButton.tsx +11 -1
  523. package/src/components/Footer/Contacts.tsx +7 -10
  524. package/src/components/Footer/Footer.fixture.mobile.tsx +3 -3
  525. package/src/components/Footer/Footer.fixture.tsx +4 -3
  526. package/src/components/Footer/Footer.tsx +15 -13
  527. package/src/components/Footer/FooterContent.ts +2 -0
  528. package/src/components/Footer/HorizontalNavigation.tsx +1 -1
  529. package/src/components/Footer/MediaButton.tsx +15 -1
  530. package/src/components/Footer/Sitemap.tsx +5 -5
  531. package/src/components/Footer/SocialMedia.tsx +8 -5
  532. package/src/components/Footer/TextInformation.tsx +2 -2
  533. package/src/components/Gallery/GalleryCardInner.tsx +6 -7
  534. package/src/components/Gallery/GalleryContainer.tsx +2 -2
  535. package/src/components/Gallery/GalleryInner.tsx +1 -1
  536. package/src/components/Header/Header.tsx +6 -19
  537. package/src/components/Header/HeaderSecondaryMenu.tsx +4 -7
  538. package/src/components/Header/HeaderSubMenu.tsx +103 -0
  539. package/src/components/Header/HeaderSubMenuObserver.ts +46 -0
  540. package/src/components/LinkDocs/LinkDocsList.tsx +3 -3
  541. package/src/components/LinkDocs/LinkDocsListItem.tsx +3 -3
  542. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +2 -2
  543. package/src/components/NavigatorTabs/NavigatorTabItem.tsx +7 -5
  544. package/src/components/NavigatorTabs/NavigatorTabs.example.json +3 -3
  545. package/src/components/NavigatorTabs/NavigatorTabs.tsx +17 -9
  546. package/src/components/NavigatorTabs/NavigatorTabsContent.ts +3 -1
  547. package/src/components/ProductBlock/ProductBlock.fixture.tsx +35 -34
  548. package/src/components/ProductBlock/ProductBlock.tsx +2 -0
  549. package/src/components/ProductBlock/ProductBlockContent.ts +3 -1
  550. package/src/components/ProductBlock/ProductBlockInner.tsx +14 -8
  551. package/src/components/ProductBlock/renderBackwardButton.tsx +35 -0
  552. package/src/components/ProductBlock/renderBenefit.tsx +4 -4
  553. package/src/components/Recommendation/RecommendationCard.tsx +2 -1
  554. package/src/components/Recommendation/RecommendationContent.ts +4 -0
  555. package/src/components/StepsBlock/StepsBlock.fixture.tsx +59 -0
  556. package/src/components/StepsBlock/StepsBlock.tsx +34 -11
  557. package/src/components/StepsBlock/StepsBlockContent.ts +3 -0
  558. package/src/components/TariffsTable/TariffsTableCell.tsx +2 -0
  559. package/src/components/TariffsTable/TariffsTableTileCell.tsx +2 -0
  560. package/src/components/TariffsTable/utils/getButtonAriaLabel.ts +5 -0
  561. package/src/components/Tile/Tile.example.json +1 -1
  562. package/src/components/Tile/Tile.fixture.tsx +6 -6
  563. package/src/components/Tile/Tile.tsx +13 -3
  564. package/src/hooks/useLink.ts +1 -1
  565. package/src/icons/ArrowDownIcon.svg +1 -1
  566. package/src/icons/ArrowLeftIcon.svg +4 -0
  567. package/src/icons/BurgerIcon.svg +4 -4
  568. package/src/icons/Calendar2Icon.svg +1 -1
  569. package/src/icons/CalendarCircleIcon.svg +4 -1
  570. package/src/icons/CalendarIcon.svg +1 -1
  571. package/src/icons/CalendarTickIcon.svg +6 -1
  572. package/src/icons/CalendarWhiteIcon.svg +2 -2
  573. package/src/icons/CardIcon.svg +5 -1
  574. package/src/icons/CardPosIcon.svg +5 -1
  575. package/src/icons/CardTickIcon.svg +5 -1
  576. package/src/icons/ChartSquareIcon.svg +6 -1
  577. package/src/icons/CloseIcon.svg +4 -4
  578. package/src/icons/DiscountShapeIcon.svg +4 -1
  579. package/src/icons/DocIcon.svg +1 -1
  580. package/src/icons/DocumentTextIcon.svg +2 -2
  581. package/src/icons/EmptyWalletChangeIcon.svg +8 -1
  582. package/src/icons/EmptyWalletIcon.svg +2 -2
  583. package/src/icons/GlobalIcon.svg +5 -1
  584. package/src/icons/GpsIcon.svg +6 -6
  585. package/src/icons/IconName.ts +5 -2
  586. package/src/icons/InterestIcon.svg +6 -1
  587. package/src/icons/MasterCardIcon.svg +5 -1
  588. package/src/icons/MinusIcon.svg +3 -1
  589. package/src/icons/MoneyIcon.svg +5 -1
  590. package/src/icons/MonitorMobileIcon.svg +4 -1
  591. package/src/icons/PercentageRoundIcon.svg +4 -1
  592. package/src/icons/PercentageSquareIcon.svg +1 -1
  593. package/src/icons/PersonalCardIcon.svg +4 -1
  594. package/src/icons/PlayMarketIcon.svg +3 -1
  595. package/src/icons/PlusIcon.svg +3 -1
  596. package/src/icons/Profile2UserIcon.svg +6 -1
  597. package/src/icons/RoundRubleIcon.svg +5 -1
  598. package/src/icons/SafeIcon.svg +7 -1
  599. package/src/icons/ShieldTickIcon.svg +4 -1
  600. package/src/icons/SmallClockIcon.svg +4 -1
  601. package/src/icons/UserTickIcon.svg +5 -1
  602. package/src/icons/WalletAdd2Icon.svg +6 -1
  603. package/src/icons/WalletAddIcon.svg +7 -1
  604. package/src/icons/WalletIcon.svg +7 -1
  605. package/src/icons/WalletWithMoneyIcon.svg +5 -1
  606. package/src/ui-kit/Button/Button.tsx +20 -15
  607. package/src/ui-kit/Button/ButtonInner.tsx +2 -2
  608. package/src/ui-kit/HeaderItem/HeaderItem.tsx +14 -3
  609. package/src/ui-kit/Heading/Heading.mobile.tsx +5 -2
  610. package/src/ui-kit/Heading/Heading.tsx +6 -3
  611. package/src/ui-kit/Icon/Icon.tsx +2 -2
  612. package/src/ui-kit/List/List.tsx +2 -0
  613. package/src/ui-kit/List/ListItem.tsx +19 -5
  614. package/src/ui-kit/List/ListProps.ts +1 -1
  615. package/src/ui-kit/Logo/Logo.tsx +1 -1
  616. package/src/ui-kit/SearchBar/SearchBar.tsx +2 -2
  617. package/src/ui-kit/TopItem/TopItem.tsx +2 -1
  618. package/src/utils/changeHashOnScroll.ts +15 -0
  619. package/src/utils/isSSR.ts +2 -0
  620. package/src/utils/tableFunc.ts +8 -0
@@ -1 +1 @@
1
- {"version":3,"file":"SearchBar.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBar.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAgB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE;IACrE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAC9C,OAAO,CACL,gBAAM,SAAS,EAAE,YAAY,SAAS,IAAI,EAAE,EAAE,aAC5C,eAAK,SAAS,EAAC,yGAAyG,aACtH,cAAK,SAAS,EAAC,mBAAmB,YAChC,KAAC,GAAG,IAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GAC5C,EACL,CAAC,IAAI,IAAI,CACR,gBACE,OAAO,EAAC,kBAAkB,EAC1B,SAAS,EAAC,qDAAqD,2FAGzD,CACT,IACG,EACN,gBACE,EAAE,EAAC,kBAAkB,EACrB,SAAS,EACP,oLAAoL,EAEtL,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EACxC,IAAI,EAAC,MAAM,EACX,IAAI,EAAC,kBAAkB,GACvB,EACF,KAAC,MAAM,IACL,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,gCAAO,EACZ,SAAS,EAAC,qDAAqD,EAC/D,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oBACb,CAAC,CAAC,cAAc,EAAE,CAAC;oBACnB,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;gBACvB,CAAC,YAED,cAAK,SAAS,EAAC,mCAAmC,+CAAY,GACvD,IACJ,CACR,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"SearchBar.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBar.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAgB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE;IACrE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAC9C,OAAO,CACL,gBAAM,SAAS,EAAE,YAAY,SAAS,IAAI,EAAE,EAAE,aAC5C,eAAK,SAAS,EAAC,yGAAyG,aACtH,cAAK,SAAS,EAAC,mBAAmB,YAChC,KAAC,GAAG,IAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GAC5C,EACL,CAAC,IAAI,IAAI,CACR,gBACE,OAAO,EAAC,kBAAkB,EAC1B,SAAS,EAAC,oDAAoD,2FAGxD,CACT,IACG,EACN,gBACE,EAAE,EAAC,kBAAkB,EACrB,SAAS,EACP,mLAAmL,EAErL,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EACxC,IAAI,EAAC,MAAM,EACX,IAAI,EAAC,kBAAkB,GACvB,EACF,KAAC,MAAM,IACL,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,gCAAO,EACZ,SAAS,EAAC,qDAAqD,EAC/D,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oBACb,CAAC,CAAC,cAAc,EAAE,CAAC;oBACnB,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;gBACvB,CAAC,YAED,cAAK,SAAS,EAAC,mCAAmC,+CAAY,GACvD,IACJ,CACR,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -9,5 +9,6 @@ export interface TopItemProps extends TopItemContent {
9
9
  ariaLabel?: string;
10
10
  onClick?: (ev: MouseEvent) => any;
11
11
  bgColor?: BgColorVersion;
12
+ dataItemName?: string;
12
13
  }
13
14
  export declare const TopItem: (props: import("@redneckz/uni-jsx").PropsWithChildren<TopItemProps, any>, context?: any) => any;
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- const TEXT_CLASSES = 'font-sans font-normal text-sm';
3
+ const TEXT_CLASSES = 'font-sans font-light text-sm';
4
4
  const LINK_CLASSES = 'inline-block border border-solid bg-transparent text-center no-underline';
5
5
  export const TopItem = JSX(({ className = '', text, href, target, active, flat, onClick, children, ariaLabel, bgColor = 'bg-white', }) => (_jsx("a", { className: `${getLinkClasses(bgColor, active, flat)} ${className}`, href: href, target: target, onClick: onClick, rel: "noopener noreferrer", "aria-label": ariaLabel, children: _jsx("span", { className: getTextClasses(bgColor, active, flat), children: text || children }) })));
6
6
  const getLinkClasses = (bgColor, active, flat) => {
@@ -1 +1 @@
1
- {"version":3,"file":"TopItem.js","sourceRoot":"","sources":["../../../src/ui-kit/TopItem/TopItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAgBxC,MAAM,YAAY,GAAG,+BAA+B,CAAC;AACrD,MAAM,YAAY,GAAG,0EAA0E,CAAC;AAEhG,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CACxB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,MAAM,EACN,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,SAAS,EACT,OAAO,GAAG,UAAU,GACrB,EAAE,EAAE,CAAC,CACJ,YACE,SAAS,EAAE,GAAG,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,IAAI,SAAS,EAAE,EAClE,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,EAChB,GAAG,EAAC,qBAAqB,gBACb,SAAS,YAErB,eAAM,SAAS,EAAE,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,YAAG,IAAI,IAAI,QAAQ,GAAQ,GAC/E,CACL,CACF,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,OAAuB,EAAE,MAAgB,EAAE,IAAc,EAAE,EAAE;IACnF,IAAI,OAAO,GAAG,oBAAoB,CAAC;IACnC,IAAI,MAAM,EAAE;QACV,OAAO,GAAG,cAAc,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,cAAc,EAAE,CAAC;KAC3F;IAED,OAAO,GAAG,OAAO,IAAI,YAAY,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;AACjE,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,OAAuB,EAAE,MAAgB,EAAE,IAAc,EAAE,EAAE;IACnF,IAAI,OAAO,GAAG,YAAY,CAAC;IAC3B,IAAI,OAAO,KAAK,UAAU,EAAE;QAC1B,OAAO,GAAG,MAAM;YACd,CAAC,CAAC,mBAAmB;YACrB,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,qBAAqB,0BAA0B,CAAC;KACrF;IAED,OAAO,GAAG,OAAO,IAAI,YAAY,EAAE,CAAC;AACtC,CAAC,CAAC"}
1
+ {"version":3,"file":"TopItem.js","sourceRoot":"","sources":["../../../src/ui-kit/TopItem/TopItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAiBxC,MAAM,YAAY,GAAG,8BAA8B,CAAC;AACpD,MAAM,YAAY,GAAG,0EAA0E,CAAC;AAEhG,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CACxB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,MAAM,EACN,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,SAAS,EACT,OAAO,GAAG,UAAU,GACrB,EAAE,EAAE,CAAC,CACJ,YACE,SAAS,EAAE,GAAG,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,IAAI,SAAS,EAAE,EAClE,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,EAChB,GAAG,EAAC,qBAAqB,gBACb,SAAS,YAErB,eAAM,SAAS,EAAE,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,YAAG,IAAI,IAAI,QAAQ,GAAQ,GAC/E,CACL,CACF,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,OAAuB,EAAE,MAAgB,EAAE,IAAc,EAAE,EAAE;IACnF,IAAI,OAAO,GAAG,oBAAoB,CAAC;IACnC,IAAI,MAAM,EAAE;QACV,OAAO,GAAG,cAAc,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,cAAc,EAAE,CAAC;KAC3F;IAED,OAAO,GAAG,OAAO,IAAI,YAAY,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;AACjE,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,OAAuB,EAAE,MAAgB,EAAE,IAAc,EAAE,EAAE;IACnF,IAAI,OAAO,GAAG,YAAY,CAAC;IAC3B,IAAI,OAAO,KAAK,UAAU,EAAE;QAC1B,OAAO,GAAG,MAAM;YACd,CAAC,CAAC,mBAAmB;YACrB,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,qBAAqB,0BAA0B,CAAC;KACrF;IAED,OAAO,GAAG,OAAO,IAAI,YAAY,EAAE,CAAC;AACtC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { Router } from '../components/ContentPage/ContentPageContext';
2
+ export declare const changeHashOnScroll: (router: Router, blocks: NodeListOf<Element> | null) => void;
@@ -0,0 +1,13 @@
1
+ export const changeHashOnScroll = (router, blocks) => {
2
+ blocks?.forEach((block) => {
3
+ const currentHash = globalThis.location.hash;
4
+ const anchorHash = `#${block?.id}`;
5
+ if (currentHash === anchorHash)
6
+ return;
7
+ const position = block?.getBoundingClientRect();
8
+ if (position && position.top > 0 && position.top < 150) {
9
+ router.replace(`#${block?.id}`);
10
+ }
11
+ });
12
+ };
13
+ //# sourceMappingURL=changeHashOnScroll.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"changeHashOnScroll.js","sourceRoot":"","sources":["../../src/utils/changeHashOnScroll.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,MAAc,EAAE,MAAkC,EAAE,EAAE;IACvF,MAAM,EAAE,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE;QACxB,MAAM,WAAW,GAAG,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC;QAC7C,MAAM,UAAU,GAAG,IAAI,KAAK,EAAE,EAAE,EAAE,CAAC;QAEnC,IAAI,WAAW,KAAK,UAAU;YAAE,OAAO;QAEvC,MAAM,QAAQ,GAAG,KAAK,EAAE,qBAAqB,EAAE,CAAC;QAChD,IAAI,QAAQ,IAAI,QAAQ,CAAC,GAAG,GAAG,CAAC,IAAI,QAAQ,CAAC,GAAG,GAAG,GAAG,EAAE;YACtD,MAAM,CAAC,OAAO,CAAC,IAAI,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;SACjC;IACH,CAAC,CAAC,CAAC;AACL,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const isSSR: () => boolean;
@@ -0,0 +1,2 @@
1
+ export const isSSR = () => !(typeof window !== 'undefined' && window.document && window.document.createElement);
2
+ //# sourceMappingURL=isSSR.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isSSR.js","sourceRoot":"","sources":["../../src/utils/isSSR.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG,GAAG,EAAE,CACxB,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,IAAI,MAAM,CAAC,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare type Predicate<Input> = (input: Input) => boolean;
2
+ export declare const tableFunc: <Input, Output>(table: [Predicate<Input>, Output][]) => (input: Input) => Output | undefined;
@@ -0,0 +1,5 @@
1
+ export const tableFunc = (table) => (input) => {
2
+ const [, output] = table.find(([predicate]) => predicate(input)) || [];
3
+ return output;
4
+ };
5
+ //# sourceMappingURL=tableFunc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tableFunc.js","sourceRoot":"","sources":["../../src/utils/tableFunc.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GACpB,CAAgB,KAAwC,EAAE,EAAE,CAC5D,CAAC,KAAY,EAAsB,EAAE;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,CAAC;IACvE,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
@@ -195,11 +195,11 @@
195
195
  h6: 'text-m-title-xs',
196
196
  };
197
197
  const Heading = JSX((props) => {
198
- const { className, headingType, title } = props;
198
+ const { className, headingType, title, as } = props;
199
199
  if (!headingType) {
200
200
  return;
201
201
  }
202
- const Tag = headingType;
202
+ const Tag = as || headingType;
203
203
  return (jsx(Tag, { className: `font-sans font-medium m-0 ${HeadingClass[headingType]} ${className || ''}`, children: title }));
204
204
  });
205
205
 
@@ -241,6 +241,7 @@
241
241
  IconMap["ActualBalanceIcon"] = "ActualBalanceIcon";
242
242
  IconMap["AppleIcon"] = "AppleIcon";
243
243
  IconMap["ArrowDownIcon"] = "ArrowDownIcon";
244
+ IconMap["ArrowLeftIcon"] = "ArrowLeftIcon";
244
245
  IconMap["ArrowsRewindRight"] = "ArrowsRewindRight";
245
246
  IconMap["ArrowUpIcon"] = "ArrowUpIcon";
246
247
  IconMap["AtmIcon"] = "AtmIcon";
@@ -318,7 +319,8 @@
318
319
  (function (IconTitleMap) {
319
320
  IconTitleMap["ActualBalanceIcon"] = "\u0414\u0435\u043D\u044C\u0433\u0438";
320
321
  IconTitleMap["AppleIcon"] = "\u041B\u043E\u0433\u043E \u00ABApple\u00BB";
321
- IconTitleMap["ArrowDownIcon"] = "ArrowDownIcon";
322
+ IconTitleMap["ArrowDownIcon"] = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430 '\u0412\u043D\u0438\u0437'";
323
+ IconTitleMap["ArrowLeftIcon"] = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430 '\u0412\u043B\u0435\u0432\u043E'";
322
324
  IconTitleMap["ArrowsRewindRight"] = "ArrowsRewindRight";
323
325
  IconTitleMap["ArrowUpIcon"] = "ArrowUpIcon";
324
326
  IconTitleMap["AtmIcon"] = "\u0411\u0430\u043D\u043A\u043E\u043C\u0430\u0442";
@@ -395,8 +397,8 @@
395
397
 
396
398
  const svgColorsMap = {
397
399
  none: '',
398
- primary: 'text-primary-main',
399
- secondary: 'text-primary-text',
400
+ primary: 'text-white',
401
+ secondary: 'text-white',
400
402
  };
401
403
  const Icon = JSX(({ className = '', name = '', alt = `Иконка ${IconTitleMap[name] || name}`, title = alt, asSVG, color = 'primary', ...imgProps }) => {
402
404
  const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
@@ -688,7 +690,7 @@
688
690
  return {
689
691
  ...link,
690
692
  href,
691
- ariaLabel: link.text,
693
+ 'aria-label': link.text,
692
694
  onClick: handlerDecorator((ev) => {
693
695
  const isLocalHref = href && !isURL(href);
694
696
  const isLocalTarget = !link.target || link.target === '_self';
@@ -702,14 +704,14 @@
702
704
 
703
705
  const ButtonInner = JSX((props) => {
704
706
  const { text, aboveText, appendLeft } = props;
705
- return (jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? appendLeft : null, isWithText(props) ? (jsxs("div", { children: [jsx("div", { className: "text-m-2xs font-light text-left", children: aboveText }), jsx("div", { className: "text-base text-left", children: text })] })) : null] }));
707
+ return (jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? appendLeft : null, isWithText(props) ? (jsxs("div", { children: [jsx("div", { className: "text-m-2xs font-light text-left", children: aboveText }), jsx("div", { className: "text-button-sm text-left", children: text })] })) : null] }));
706
708
  });
707
709
  const getButtonStyle = (props) => {
708
710
  const { version, aboveText, rounded } = props;
709
711
  if (version === 'link') {
710
712
  return '';
711
713
  }
712
- const withTextStyle = `px-8 gap-2 ${aboveText ? 'py-2' : 'py-4'}`;
714
+ const withTextStyle = `px-8 gap-2 ${aboveText ? 'py-2' : 'py-[18px]'}`;
713
715
  return [
714
716
  'flex items-center justify-center',
715
717
  isWithText(props) ? withTextStyle : 'h-12 w-12',
@@ -753,24 +755,40 @@
753
755
  return jsx("div", { className: `font-normal text-base ${className}`, children: description });
754
756
  });
755
757
 
756
- const LIST_STYLE_CLASSES = 'rounded-full inline-block mr-3';
758
+ const LIST_STYLE_CLASSES = {
759
+ primary: 'rounded-full inline-block mr-3 mt-2',
760
+ secondary: 'rounded-full inline-block mr-3 mt-2',
761
+ gray: 'rounded-full inline-block mr-3 mt-2',
762
+ tile: 'rounded-full inline-block mr-4',
763
+ 'tile-white': 'rounded-full inline-block mr-4',
764
+ };
757
765
  const LIST_DOT_STYLE_MAP = {
758
- primary: 'bg-primary-main',
766
+ primary: 'bg-primary-text',
759
767
  secondary: 'bg-white',
760
768
  gray: 'bg-secondary-text',
769
+ tile: 'bg-black',
770
+ 'tile-white': 'bg-white',
761
771
  };
762
772
  const ListItem = JSX(({ className = '', isDotted = true, children, version = 'primary' }) => {
763
- return (jsxs("div", { className: `font-sans flex items-center ${className}`, role: "listitem", children: [isDotted && jsx("div", { className: getListStyle(version) }), jsx("span", { children: children })] }));
773
+ return (jsxs("div", { className: `font-sans flex items-start ${className}`, role: "listitem", children: [isDotted && jsx("div", { className: getListStyle(version) }), jsx("span", { children: children })] }));
764
774
  });
765
775
  const getListStyle = (version) => {
766
- const size = version === 'gray' ? 'w-1.5 h-1.5 min-w-1.5 min-h-1.5' : 'w-2 h-2 min-w-2 min-h-2';
767
- return `${LIST_STYLE_CLASSES} ${LIST_DOT_STYLE_MAP[version]} ${size}`;
776
+ const size = {
777
+ primary: 'w-2 h-2 min-w-2 min-h-2',
778
+ secondary: 'w-2 h-2 min-w-2 min-h-2',
779
+ gray: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5',
780
+ tile: 'w-[7px] h-[7px] min-w-[7px] min-h-[7px]',
781
+ 'tile-white': 'w-[7px] h-[7px] min-w-[7px] min-h-[7px]',
782
+ };
783
+ return `${LIST_STYLE_CLASSES[version]} ${LIST_DOT_STYLE_MAP[version]} ${size[version]}`;
768
784
  };
769
785
 
770
786
  const TEXT_STYLE_MAP = {
771
787
  primary: 'text-primary-text',
772
788
  secondary: 'text-white',
773
789
  gray: 'text-secondary-text',
790
+ tile: 'text-primary-text',
791
+ 'tile-white': 'text-white',
774
792
  };
775
793
  const List = JSX((props) => {
776
794
  const { className = '', itemClassName, isDotted, items, version = 'primary' } = props;
@@ -1139,10 +1157,10 @@
1139
1157
  return (jsx("div", { className: `col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light ${className || ''}`, children: href ? (jsxs("div", { className: "flex", children: [jsx("div", { className: "flex justify-center align-middle rounded-md bg-primary-main w-[50px] h-[50px]", children: jsx(Logo, { className: "w-[33px]", bgColor: "transparent", hideTitle: true }) }), jsxs("a", { href: href, target: "_blank", className: "flex flex-col justify-center pl-3 font-sans", children: [jsx("div", { className: "text-m-button font-medium mb-[3px]", children: title }), jsx("div", { className: "text-m-button text-secondary-text", children: description })] })] })) : null }));
1140
1158
  });
1141
1159
 
1142
- const Contacts = JSX(({ className, items, hasButton, context }) => {
1160
+ const Contacts = JSX(({ className = '', items, hasButton, context }) => {
1143
1161
  const router = context.useRouter();
1144
1162
  const { handlerDecorator } = context;
1145
- return (jsxs("div", { className: `flex flex-col ${className || ''}`, children: [items?.length ? items.map(renderContact) : null, hasButton ? (jsx(Button, { version: "primary", className: "mt-0.5 mb-5", ...useLink({ router, handlerDecorator }, {
1163
+ return (jsxs("div", { className: className, children: [items?.length ? items.map(renderContact) : null, hasButton ? (jsx(Button, { version: "primary", className: "mb-6 w-full", ...useLink({ router, handlerDecorator }, {
1146
1164
  text: 'Обратная связь',
1147
1165
  href: '/',
1148
1166
  target: '_blank',
@@ -1150,14 +1168,14 @@
1150
1168
  });
1151
1169
  const renderContact = (item, index) => {
1152
1170
  const { type, text, description } = item;
1153
- return (jsxs("div", { className: "mb-3.5", children: [jsx("div", { children: renderText(type, text) }), jsx("div", { className: "font-sans text-sm text-secondary-text", children: description })] }, String(index)));
1171
+ return (jsxs("div", { className: "mb-4", children: [jsx("div", { children: renderText(type, text) }), jsx("div", { className: "mt-1 font-sans font-light text-sm text-secondary-text", children: description })] }, String(index)));
1154
1172
  };
1155
1173
  const renderText = (type, text = '') => {
1156
1174
  switch (type) {
1157
1175
  case 'tel':
1158
- return (jsx("a", { className: "font-sans font-medium text-xl text-primary-text no-underline", href: `tel:${formatTel(text)}`, children: text }));
1176
+ return (jsx("a", { className: "font-sans text-xl text-primary-text no-underline", href: `tel:${formatTel(text)}`, children: text }));
1159
1177
  case 'email':
1160
- return (jsx("a", { className: "font-sans font-medium text-xl text-primary-text no-underline", href: `mailto:${text}`, children: text }));
1178
+ return (jsx("a", { className: "font-sans text-xl text-primary-text no-underline", href: `mailto:${text}`, children: text }));
1161
1179
  default:
1162
1180
  return jsx("span", { children: text });
1163
1181
  }
@@ -1193,12 +1211,26 @@
1193
1211
  width: '12px',
1194
1212
  height: '20px',
1195
1213
  },
1214
+ {
1215
+ origins: ['apps.apple.com'],
1216
+ icon: { icon: 'AppleIcon' },
1217
+ label: 'App Store',
1218
+ width: '20px',
1219
+ height: '22px',
1220
+ },
1221
+ {
1222
+ origins: ['play.google.com'],
1223
+ icon: { icon: 'PlayMarketIcon' },
1224
+ label: 'Google Play',
1225
+ width: '21px',
1226
+ height: '21px',
1227
+ },
1196
1228
  ];
1197
1229
  const MediaButton = JSX(({ href }) => {
1198
1230
  const { icon, width, height, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
1199
1231
  if (!icon)
1200
1232
  return null;
1201
- return (jsx("a", { className: "flex items-center justify-center border border-solid border-main-divider rounded-full no-underline outline-none w-[40px] h-[40px] box-border hover:text-primary-main", href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", children: icon ? (jsx(Img, { image: icon, width: width, height: height, asSVG: true, className: "block", color: "none" })) : null }));
1233
+ return (jsx("a", { className: "flex items-center justify-center border border-solid rounded-md border-main-divider no-underline outline-none w-14 h-14 box-border text-primary-main hover:text-white hover:bg-primary-main hover:border-primary-main", href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", children: icon ? (jsx(Img, { image: icon, width: width, height: height, asSVG: true, className: "block", color: "none" })) : null }));
1202
1234
  });
1203
1235
 
1204
1236
  const SocialMedia = JSX(({ className, media, context }) => {
@@ -1431,12 +1463,14 @@
1431
1463
  return (jsxs("div", { className: "flex gap-2.5 mb-2", children: [title ? jsx(Heading, { headingType: "h3", className: "font-medium", title: title }) : null, icon ? (jsx(Img, { className: "ml-auto max-w-6 max-h-6", image: icon, width: "24px", height: "24px" })) : null] }));
1432
1464
  });
1433
1465
 
1466
+ const getButtonAriaLabel = (icon) => icon?.alt || icon?.title || IconTitleMap[icon?.icon ? icon.icon : ''];
1467
+
1434
1468
  const TariffsTableTileCell = JSX(({ header, data }) => {
1435
1469
  return (jsxs("div", { className: "rounded-md border-main-stroke h-full box-border border p-4", children: [jsx(TableTileHeader, { ...header }), data?.length ? data.map(renderCellInner) : null] }));
1436
1470
  });
1437
1471
  const renderCellInner = ({ label, description, list, image, buttons }, i) => (jsxs("div", { children: [i > 0 && (jsx("div", { className: "border-main-divider border border-solid border-t-0 border-x-0 my-2" })), label ? jsx("div", { className: "text-m-sm m-0", children: label }) : null, description ? (jsx("div", { className: "text-m-sm text-secondary-text mt-[3px]", children: description })) : null, list?.items?.length ? renderList(list) : null, image && jsx(Img, { image: { ...image, className: 'm-0' } }), buttons?.length ? renderButtons(buttons) : null] }, String(i)));
1438
1472
  const renderList = (list) => (jsx(List, { className: "flex flex-col justify-between items-start text-m-sm", version: "gray", items: list.items, isDotted: list.isDotted ?? true }));
1439
- const renderButtons = (buttons) => (jsx("div", { children: buttons.map(({ icon, rounded, ...buttonProps }, idx) => (jsx(Button, { className: `mt-3 ${idx > 0 && rounded ? 'ml-2.5' : ''} ${icon ? 'w-12 h-12' : ''}`, rounded: rounded, appendLeft: icon ? jsx(Img, { image: icon, width: "24px", height: "24px", asSVG: true }) : null, ...buttonProps, "aria-label": icon }, String(idx)))) }));
1473
+ const renderButtons = (buttons) => (jsx("div", { children: buttons.map(({ icon, rounded, ...buttonProps }, idx) => (jsx(Button, { className: `mt-3 ${idx > 0 && rounded ? 'ml-2.5' : ''} ${icon ? 'w-12 h-12' : ''}`, ariaLabel: getButtonAriaLabel(icon), rounded: rounded, appendLeft: icon ? jsx(Img, { image: icon, width: "24px", height: "24px", asSVG: true }) : null, ...buttonProps, "aria-label": icon }, String(idx)))) }));
1440
1474
 
1441
1475
  const TariffsTableVertical = JSX(({ tiles }) => (jsx("div", { className: "flex flex-col gap-3.5", children: tiles.map((tile, i) => (jsx(TariffsTableTileCell, { ...tile }, String(i)))) })));
1442
1476
 
@@ -1475,6 +1509,21 @@
1475
1509
  Placeholder,
1476
1510
  };
1477
1511
 
1512
+ const changeHashOnScroll = (router, blocks) => {
1513
+ blocks?.forEach((block) => {
1514
+ const currentHash = globalThis.location.hash;
1515
+ const anchorHash = `#${block?.id}`;
1516
+ if (currentHash === anchorHash)
1517
+ return;
1518
+ const position = block?.getBoundingClientRect();
1519
+ if (position && position.top > 0 && position.top < 150) {
1520
+ router.replace(`#${block?.id}`);
1521
+ }
1522
+ });
1523
+ };
1524
+
1525
+ const isSSR = () => !(typeof window !== 'undefined' && window.document && window.document.createElement);
1526
+
1478
1527
  const LikeButton = JSX(({ className, onClick, ariaLabel }) => (jsx("button", { type: "button", className: `border-0 w-[36px] bg-inherit cursor-pointer ${className || ''}`, onClick: onClick, "aria-label": ariaLabel, children: renderLikeIcon() })));
1479
1528
  const renderLikeIcon = () => {
1480
1529
  const params = {
@@ -1491,10 +1540,18 @@
1491
1540
  return (jsxs("div", { className: `border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${className || ''}`, id: anchor, children: [jsx(LikeButton, { onClick: likeService.like, ariaLabel: "\u041F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u00AB\u043B\u0430\u0439\u043A\u00BB" }), jsx(LikeButton, { onClick: likeService.dislike, className: "rotate-180", ariaLabel: "\u041F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u00AB\u0434\u0438\u0437\u043B\u0430\u0439\u043A\u00BB" }), jsx("span", { className: "select-none", children: likeService.likeCount })] }));
1492
1541
  });
1493
1542
 
1543
+ const isClient = !isSSR();
1494
1544
  const defaultBlockDecorator = ({ blockClassName, block, render }) => render({ blockClassName, block });
1495
- const ContentPage = JSX(({ className, context, blocksRegistry, data: { style: pageStyle, blocks, slots = {}, likeControl, colorPalette = 'pc' }, blockDecorator = defaultBlockDecorator, }) => {
1545
+ const ContentPage = JSX(({ className = '', context, blocksRegistry, data: { style: pageStyle, blocks, slots = {}, likeControl, colorPalette = 'pc' }, blockDecorator = defaultBlockDecorator, }) => {
1496
1546
  const { header } = slots;
1497
- return (jsxs("section", { className: `relative ${style2className(pageStyle)} ${className || ''}`, "data-theme": colorPalette, children: [header?.blocks?.length ? (jsx("div", { className: `${style2className(header?.style)}`, children: header.blocks.map((block, i) => renderBlock({ block, blockDecorator, blocksRegistry, context }, i)) })) : null, blocks?.length ? (jsx("div", { className: "container grid grid-cols-12 gap-1", children: blocks.map((block, i) => renderBlock({ block, blockDecorator, blocksRegistry, context }, i)) })) : null, likeControl && (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto", context: context }) }))] }));
1547
+ const router = context.useRouter();
1548
+ // listener is for NavigatorTabs
1549
+ isClient &&
1550
+ globalThis.addEventListener('load', () => {
1551
+ const sectionsWithAnchors = globalThis.document.querySelectorAll('section[id]');
1552
+ globalThis.document.addEventListener('scroll', () => changeHashOnScroll(router, sectionsWithAnchors));
1553
+ });
1554
+ return (jsxs("section", { className: `relative ${style2className(pageStyle)} ${className}`, "data-theme": colorPalette, children: [header?.blocks?.length ? (jsx("div", { className: `${style2className(header?.style)}`, children: header.blocks.map((block, i) => renderBlock({ block, blockDecorator, blocksRegistry, context }, i)) })) : null, blocks?.length ? (jsx("div", { className: "container grid grid-cols-12 gap-1", children: blocks.map((block, i) => renderBlock({ block, blockDecorator, blocksRegistry, context }, i)) })) : null, likeControl && (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto", context: context }, "LikeControl") }))] }));
1498
1555
  });
1499
1556
  function renderBlock({ block, blockDecorator, blocksRegistry, context }, i) {
1500
1557
  const { type } = block;
@@ -1507,7 +1564,7 @@
1507
1564
  block,
1508
1565
  render: (props) => {
1509
1566
  const { version, content, anchor } = props.block;
1510
- return (jsx(BlockComponent, { className: props.blockClassName, version: version, context: context, anchor: anchor, ...content }));
1567
+ return (jsx(BlockComponent, { className: props.blockClassName, version: version, context: context, anchor: anchor, ...content }, `${type}-${i}`));
1511
1568
  },
1512
1569
  }, `block-${i}`);
1513
1570
  }