@redneckz/wildless-cms-uni-blocks 0.3.86 → 0.3.87

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 (808) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +78 -72
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/dist/components/Accordion/Accordion.js +1 -1
  5. package/dist/components/Accordion/Accordion.js.map +1 -1
  6. package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  7. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  8. package/dist/components/Bonus/Bonus.js +2 -2
  9. package/dist/components/Bonus/Bonus.js.map +1 -1
  10. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  11. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  12. package/dist/components/Calculator/BonusCalculatorForm.js +2 -2
  13. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  14. package/dist/components/Calculator/Calculator.js +2 -2
  15. package/dist/components/Calculator/Calculator.js.map +1 -1
  16. package/dist/components/Calculator/CalculatorValueBlock.js +1 -1
  17. package/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
  18. package/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  19. package/dist/components/Calculator/Rate.js +1 -1
  20. package/dist/components/Calculator/Rate.js.map +1 -1
  21. package/dist/components/Calculator/renderButtonSection.d.ts +2 -1
  22. package/dist/components/Calculator/renderCalculatorBlock.d.ts +2 -1
  23. package/dist/components/Calculator/renderInitialFeeInput.d.ts +2 -1
  24. package/dist/components/Calculator/renderMonthsInput.d.ts +2 -1
  25. package/dist/components/Calculator/renderPaymentTypeSelector.d.ts +2 -1
  26. package/dist/components/Calculator/renderProposal.d.ts +2 -1
  27. package/dist/components/Calculator/renderProposal.js +1 -1
  28. package/dist/components/Calculator/renderProposal.js.map +1 -1
  29. package/dist/components/Calculator/renderProposalMortgage.d.ts +2 -1
  30. package/dist/components/Calculator/renderRealEstateValue.d.ts +2 -1
  31. package/dist/components/Calculator/renderWantedSumInput.d.ts +2 -1
  32. package/dist/components/Calculator/useBonusCalculatorParams.d.ts +1 -1
  33. package/dist/components/Calculator/useBonusCalculatorParams.js +3 -3
  34. package/dist/components/Calculator/useBonusCalculatorParams.js.map +1 -1
  35. package/dist/components/Calculator/useCreditCalculatorParams.d.ts +1 -1
  36. package/dist/components/Calculator/useCreditCalculatorParams.js +3 -3
  37. package/dist/components/Catalog/Catalog.js +1 -1
  38. package/dist/components/Catalog/Catalog.js.map +1 -1
  39. package/dist/components/Catalog/CatalogCard.js +1 -1
  40. package/dist/components/Catalog/CatalogCard.js.map +1 -1
  41. package/dist/components/ComparisonTable/HeaderCell.mobile.js +1 -1
  42. package/dist/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  43. package/dist/components/ContentPage/ContentPage.d.ts +1 -1
  44. package/dist/components/ContentPage/ContentPage.js +2 -1
  45. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  46. package/dist/components/ContentPage/ContentPageContext.d.ts +2 -2
  47. package/dist/components/ContentPage/ContentPageHead.d.ts +2 -1
  48. package/dist/components/ContentPage/normalizePage.d.ts +1 -1
  49. package/dist/components/ContentPage/normalizePage.js +1 -1
  50. package/dist/components/ContentPage/normalizePage.js.map +1 -1
  51. package/dist/components/ContentPage/normalizePage.mobile.js +1 -1
  52. package/dist/components/ContentPage/normalizePage.mobile.js.map +1 -1
  53. package/dist/components/ExchangeRateTile/renderButton.d.ts +2 -1
  54. package/dist/components/ExchangeRateTile/renderInput.d.ts +2 -1
  55. package/dist/components/Footer/Contacts.js +1 -1
  56. package/dist/components/Footer/Contacts.js.map +1 -1
  57. package/dist/components/Footer/Footer.js +1 -1
  58. package/dist/components/Footer/Footer.js.map +1 -1
  59. package/dist/components/Footer/MediaButton.js +1 -2
  60. package/dist/components/Footer/MediaButton.js.map +1 -1
  61. package/dist/components/Footer/Sitemap.js +2 -2
  62. package/dist/components/Footer/Sitemap.js.map +1 -1
  63. package/dist/components/Footer/SocialMedia.js +1 -1
  64. package/dist/components/Footer/SocialMedia.js.map +1 -1
  65. package/dist/components/Gallery/GalleryCardInner.js +1 -1
  66. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  67. package/dist/components/Gallery/GalleryContainer.js +1 -1
  68. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  69. package/dist/components/GracePeriod/GracePeriod.js +2 -2
  70. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  71. package/dist/components/GroupBlock/GroupBlocksItem.d.ts +2 -1
  72. package/dist/components/GroupBlock/renderBlocksTypes.d.ts +2 -1
  73. package/dist/components/Header/DropdownMenu.js +1 -1
  74. package/dist/components/Header/DropdownMenu.js.map +1 -1
  75. package/dist/components/Header/Header.js +1 -1
  76. package/dist/components/Header/HeaderBurger.d.ts +2 -1
  77. package/dist/components/Header/HeaderBurger.js.map +1 -1
  78. package/dist/components/Header/HeaderSubMenu.js +1 -1
  79. package/dist/components/Headline/Headline.js +2 -2
  80. package/dist/components/Headline/Headline.js.map +1 -1
  81. package/dist/components/Headline/HeadlineContent.d.ts +3 -0
  82. package/dist/components/Insurance/Insurance.js +2 -2
  83. package/dist/components/Insurance/Insurance.js.map +1 -1
  84. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  85. package/dist/components/LikeControl/LikeControl.js +1 -1
  86. package/dist/components/LikeControl/LikeControl.js.map +1 -1
  87. package/dist/components/LinkDocs/LinkDocs.js +2 -2
  88. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  89. package/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  90. package/dist/components/MobileAppTile/MobileAppTile.mobile.js +1 -1
  91. package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
  92. package/dist/components/ProductBlock/ProductBlock.js +3 -2
  93. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  94. package/dist/components/ProductBlock/ProductBlockInner.js +2 -2
  95. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  96. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +2 -2
  97. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  98. package/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -1
  99. package/dist/components/ProductBlock/renderBenefit.d.ts +2 -1
  100. package/dist/components/ProductBlock/renderBenefit.mobile.d.ts +2 -1
  101. package/dist/components/ProductGallery/ProductGallery.js +2 -2
  102. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  103. package/dist/components/ProductTile/ProductTile.js +1 -1
  104. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  105. package/dist/components/PromoTile/PromoTile.js +1 -1
  106. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  107. package/dist/components/Recommendation/Recommendation.js +8 -8
  108. package/dist/components/Recommendation/Recommendation.js.map +1 -1
  109. package/dist/components/Recommendation/RecommendationCard.js +3 -1
  110. package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  111. package/dist/components/Recommendation/RecommendationContent.d.ts +2 -3
  112. package/dist/components/TariffsTable/TariffsTable.js +1 -1
  113. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  114. package/dist/content-page-repository/mapJSON.js.map +1 -1
  115. package/dist/content-page-repository/transformContentPage.js +1 -0
  116. package/dist/content-page-repository/transformContentPage.js.map +1 -1
  117. package/dist/hooks/useExchangeRates.js.map +1 -1
  118. package/dist/icons/IconName.js +2 -2
  119. package/dist/icons/IconName.js.map +1 -1
  120. package/dist/react/IntersectionObserverTag.js +26 -4
  121. package/dist/react/IntersectionObserverTag.js.map +1 -1
  122. package/dist/react/setup-fixture.js +7 -2
  123. package/dist/react/setup-fixture.js.map +1 -1
  124. package/dist/ui-kit/BlockWrapper.d.ts +1 -1
  125. package/dist/ui-kit/BlockWrapper.js +3 -2
  126. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  127. package/dist/ui-kit/BlocksList/renderBlocksList.d.ts +2 -1
  128. package/dist/ui-kit/Button/ArrowButton.js +3 -3
  129. package/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  130. package/dist/ui-kit/Button/Button.js +2 -2
  131. package/dist/ui-kit/Button/Button.js.map +1 -1
  132. package/dist/ui-kit/Button/ButtonInner.js +1 -1
  133. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  134. package/dist/ui-kit/Button/ButtonProps.d.ts +4 -3
  135. package/dist/ui-kit/Button/LikeButton.js +3 -1
  136. package/dist/ui-kit/Button/LikeButton.js.map +1 -1
  137. package/dist/ui-kit/Button/renderArrows.d.ts +2 -1
  138. package/dist/ui-kit/Checkbox/Checkbox.js +1 -1
  139. package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  140. package/dist/ui-kit/Foldable/Foldable.js +1 -1
  141. package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  142. package/dist/ui-kit/HeaderItem/HeaderItem.js +1 -1
  143. package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  144. package/dist/ui-kit/Heading/Heading.mobile.js +1 -1
  145. package/dist/ui-kit/Heading/Heading.mobile.js.map +1 -1
  146. package/dist/ui-kit/Input/Input.js +1 -1
  147. package/dist/ui-kit/Input/Input.js.map +1 -1
  148. package/dist/ui-kit/InputRange/InputRange.js +1 -1
  149. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  150. package/dist/ui-kit/SVG.d.ts +2 -3
  151. package/dist/ui-kit/SearchBar/SearchBarInner.js +2 -2
  152. package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  153. package/dist/ui-kit/Select/Select.js.map +1 -1
  154. package/dist/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
  155. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  156. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  157. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  158. package/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
  159. package/dist/ui-kit/SwipeListControl/SwipeListControlList.js +1 -1
  160. package/dist/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
  161. package/dist/ui-kit/Tabs/Tabs.js +1 -1
  162. package/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  163. package/lib/common.css +1 -1
  164. package/lib/components/Accordion/Accordion.fixture.d.ts +3 -2
  165. package/lib/components/Accordion/Accordion.fixture.mobile.d.ts +2 -1
  166. package/lib/components/Accordion/Accordion.js +1 -1
  167. package/lib/components/Accordion/Accordion.js.map +1 -1
  168. package/lib/components/BenefitsBlock/BenefitsBlock.fixture.d.ts +3 -2
  169. package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  170. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  171. package/lib/components/Bonus/Bonus.fixture.d.ts +2 -1
  172. package/lib/components/Bonus/Bonus.js +2 -2
  173. package/lib/components/Bonus/Bonus.js.map +1 -1
  174. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.d.ts +2 -1
  175. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  176. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  177. package/lib/components/Calculator/BonusCalculatorForm.js +3 -3
  178. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  179. package/lib/components/Calculator/Calculator.fixture.d.ts +3 -2
  180. package/lib/components/Calculator/Calculator.js +2 -2
  181. package/lib/components/Calculator/Calculator.js.map +1 -1
  182. package/lib/components/Calculator/CalculatorValueBlock.js +1 -1
  183. package/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
  184. package/lib/components/Calculator/CreditCalculatorForm.js +2 -2
  185. package/lib/components/Calculator/Rate.js +1 -1
  186. package/lib/components/Calculator/Rate.js.map +1 -1
  187. package/lib/components/Calculator/renderButtonSection.d.ts +2 -1
  188. package/lib/components/Calculator/renderCalculatorBlock.d.ts +2 -1
  189. package/lib/components/Calculator/renderInitialFeeInput.d.ts +2 -1
  190. package/lib/components/Calculator/renderMonthsInput.d.ts +2 -1
  191. package/lib/components/Calculator/renderPaymentTypeSelector.d.ts +2 -1
  192. package/lib/components/Calculator/renderProposal.d.ts +2 -1
  193. package/lib/components/Calculator/renderProposal.js +1 -1
  194. package/lib/components/Calculator/renderProposal.js.map +1 -1
  195. package/lib/components/Calculator/renderProposalMortgage.d.ts +2 -1
  196. package/lib/components/Calculator/renderRealEstateValue.d.ts +2 -1
  197. package/lib/components/Calculator/renderWantedSumInput.d.ts +2 -1
  198. package/lib/components/Calculator/useBonusCalculatorParams.d.ts +1 -1
  199. package/lib/components/Calculator/useBonusCalculatorParams.js +1 -1
  200. package/lib/components/Calculator/useBonusCalculatorParams.js.map +1 -1
  201. package/lib/components/Calculator/useCreditCalculatorParams.d.ts +1 -1
  202. package/lib/components/Calculator/useCreditCalculatorParams.js +1 -1
  203. package/lib/components/Catalog/Catalog.fixture.d.ts +2 -1
  204. package/lib/components/Catalog/Catalog.js +1 -1
  205. package/lib/components/Catalog/Catalog.js.map +1 -1
  206. package/lib/components/Catalog/CatalogCard.js +1 -1
  207. package/lib/components/Catalog/CatalogCard.js.map +1 -1
  208. package/lib/components/ComparisonTable/ComparisonTable.fixture.d.ts +6 -5
  209. package/lib/components/ComparisonTable/ComparisonTable.fixture.mobile.d.ts +3 -2
  210. package/lib/components/ComparisonTable/HeaderCell.mobile.js +1 -1
  211. package/lib/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  212. package/lib/components/ContentPage/ContentPage.d.ts +1 -1
  213. package/lib/components/ContentPage/ContentPage.fixture.d.ts +3 -2
  214. package/lib/components/ContentPage/ContentPage.fixture.mobile.d.ts +2 -1
  215. package/lib/components/ContentPage/ContentPage.js +2 -1
  216. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  217. package/lib/components/ContentPage/ContentPageContext.d.ts +2 -2
  218. package/lib/components/ContentPage/ContentPageHead.d.ts +2 -1
  219. package/lib/components/ContentPage/normalizePage.d.ts +1 -1
  220. package/lib/components/ContentPage/normalizePage.js +1 -1
  221. package/lib/components/ContentPage/normalizePage.js.map +1 -1
  222. package/lib/components/ContentPage/normalizePage.mobile.js +1 -1
  223. package/lib/components/ContentPage/normalizePage.mobile.js.map +1 -1
  224. package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.d.ts +2 -1
  225. package/lib/components/ExchangeRateTile/renderButton.d.ts +2 -1
  226. package/lib/components/ExchangeRateTile/renderInput.d.ts +2 -1
  227. package/lib/components/Footer/Contacts.js +1 -1
  228. package/lib/components/Footer/Contacts.js.map +1 -1
  229. package/lib/components/Footer/Footer.fixture.d.ts +2 -1
  230. package/lib/components/Footer/Footer.fixture.mobile.d.ts +2 -1
  231. package/lib/components/Footer/Footer.js +1 -1
  232. package/lib/components/Footer/Footer.js.map +1 -1
  233. package/lib/components/Footer/MediaButton.js +1 -2
  234. package/lib/components/Footer/MediaButton.js.map +1 -1
  235. package/lib/components/Footer/Sitemap.js +2 -2
  236. package/lib/components/Footer/Sitemap.js.map +1 -1
  237. package/lib/components/Footer/SocialMedia.js +1 -1
  238. package/lib/components/Footer/SocialMedia.js.map +1 -1
  239. package/lib/components/Gallery/Gallery.fixture.d.ts +6 -5
  240. package/lib/components/Gallery/Gallery.fixture.mobile.d.ts +3 -2
  241. package/lib/components/Gallery/GalleryCardInner.js +1 -1
  242. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  243. package/lib/components/Gallery/GalleryContainer.js +1 -1
  244. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  245. package/lib/components/GracePeriod/GracePeriod.fixture.d.ts +2 -1
  246. package/lib/components/GracePeriod/GracePeriod.js +2 -2
  247. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  248. package/lib/components/GroupBlock/GroupBlock.fixture.d.ts +3 -2
  249. package/lib/components/GroupBlock/GroupBlocksItem.d.ts +2 -1
  250. package/lib/components/GroupBlock/renderBlocksTypes.d.ts +2 -1
  251. package/lib/components/Header/DropdownMenu.js +1 -1
  252. package/lib/components/Header/DropdownMenu.js.map +1 -1
  253. package/lib/components/Header/Header.fixture.d.ts +4 -3
  254. package/lib/components/Header/Header.fixture.mobile.d.ts +3 -2
  255. package/lib/components/Header/Header.js +1 -1
  256. package/lib/components/Header/HeaderBurger.d.ts +2 -1
  257. package/lib/components/Header/HeaderBurger.js.map +1 -1
  258. package/lib/components/Header/HeaderSubMenu.js +1 -1
  259. package/lib/components/Headline/Headline.fixture.d.ts +15 -14
  260. package/lib/components/Headline/Headline.fixture.mobile.d.ts +14 -13
  261. package/lib/components/Headline/Headline.js +2 -2
  262. package/lib/components/Headline/Headline.js.map +1 -1
  263. package/lib/components/Headline/HeadlineContent.d.ts +3 -0
  264. package/lib/components/Insurance/Insurance.fixture.d.ts +3 -2
  265. package/lib/components/Insurance/Insurance.js +2 -2
  266. package/lib/components/Insurance/Insurance.js.map +1 -1
  267. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.d.ts +2 -1
  268. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  269. package/lib/components/LikeControl/LikeControl.fixture.d.ts +2 -1
  270. package/lib/components/LikeControl/LikeControl.js +1 -1
  271. package/lib/components/LikeControl/LikeControl.js.map +1 -1
  272. package/lib/components/LinkDocs/LinkDocs.fixture.d.ts +5 -4
  273. package/lib/components/LinkDocs/LinkDocs.fixture.mobile.d.ts +4 -3
  274. package/lib/components/LinkDocs/LinkDocs.js +2 -2
  275. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  276. package/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  277. package/lib/components/LinkList/LinkList.fixture.d.ts +2 -1
  278. package/lib/components/MiniGallery/MiniGallery.fixture.d.ts +3 -2
  279. package/lib/components/MobileAppTile/MobileAppTile.fixture.d.ts +4 -3
  280. package/lib/components/MobileAppTile/MobileAppTile.fixture.mobile.d.ts +2 -1
  281. package/lib/components/MobileAppTile/MobileAppTile.mobile.js +1 -1
  282. package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
  283. package/lib/components/Navigation/Navigation.fixture.d.ts +2 -1
  284. package/lib/components/NavigatorTabs/NavigatorTabs.fixture.d.ts +2 -1
  285. package/lib/components/OtherProducts/OtherProducts.fixture.d.ts +2 -1
  286. package/lib/components/PictureText/PictureText.fixture.d.ts +2 -1
  287. package/lib/components/Placeholder/Placeholder.fixture.d.ts +2 -1
  288. package/lib/components/Placeholder/Placeholder.fixture.mobile.d.ts +2 -1
  289. package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +11 -10
  290. package/lib/components/ProductBlock/ProductBlock.fixture.mobile.d.ts +7 -6
  291. package/lib/components/ProductBlock/ProductBlock.js +3 -2
  292. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  293. package/lib/components/ProductBlock/ProductBlockInner.js +2 -2
  294. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  295. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +2 -2
  296. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  297. package/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -1
  298. package/lib/components/ProductBlock/renderBenefit.d.ts +2 -1
  299. package/lib/components/ProductBlock/renderBenefit.mobile.d.ts +2 -1
  300. package/lib/components/ProductGallery/ProductGallery.fixture.d.ts +3 -2
  301. package/lib/components/ProductGallery/ProductGallery.fixture.mobile.d.ts +3 -2
  302. package/lib/components/ProductGallery/ProductGallery.js +2 -2
  303. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  304. package/lib/components/ProductTile/ProductTile.fixture.d.ts +6 -5
  305. package/lib/components/ProductTile/ProductTile.js +1 -1
  306. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  307. package/lib/components/PromoTile/PromoTile.fixture.d.ts +2 -1
  308. package/lib/components/PromoTile/PromoTile.js +1 -1
  309. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  310. package/lib/components/Recommendation/Recommendation.fixture.d.ts +7 -4
  311. package/lib/components/Recommendation/Recommendation.js +8 -8
  312. package/lib/components/Recommendation/Recommendation.js.map +1 -1
  313. package/lib/components/Recommendation/RecommendationCard.js +3 -1
  314. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  315. package/lib/components/Recommendation/RecommendationContent.d.ts +2 -3
  316. package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +5 -4
  317. package/lib/components/StepsBlock/StepsBlock.fixture.mobile.d.ts +9 -8
  318. package/lib/components/TariffsTable/TariffsTable.fixture.d.ts +5 -4
  319. package/lib/components/TariffsTable/TariffsTable.fixture.mobile.d.ts +3 -2
  320. package/lib/components/TariffsTable/TariffsTable.js +1 -1
  321. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  322. package/lib/components/TextBlock/TextBlock.fixture.d.ts +4 -3
  323. package/lib/components/TextBlock/TextBlock.fixture.mobile.d.ts +4 -3
  324. package/lib/components/Tile/Tile.fixture.d.ts +6 -5
  325. package/lib/content-page-repository/mapJSON.js.map +1 -1
  326. package/lib/content-page-repository/transformContentPage.js +1 -0
  327. package/lib/content-page-repository/transformContentPage.js.map +1 -1
  328. package/lib/cosmos.decorator.d.ts +2 -1
  329. package/lib/hooks/useExchangeRates.js.map +1 -1
  330. package/lib/icons/IconName.js +1 -1
  331. package/lib/icons/IconName.js.map +1 -1
  332. package/lib/react/IntersectionObserverTag.js +3 -4
  333. package/lib/react/IntersectionObserverTag.js.map +1 -1
  334. package/lib/react/setup-fixture.js +3 -1
  335. package/lib/react/setup-fixture.js.map +1 -1
  336. package/lib/ui-kit/BlockWrapper.d.ts +1 -1
  337. package/lib/ui-kit/BlockWrapper.js +3 -2
  338. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  339. package/lib/ui-kit/BlocksList/renderBlocksList.d.ts +1 -1
  340. package/lib/ui-kit/Button/ArrowButton.js +3 -3
  341. package/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  342. package/lib/ui-kit/Button/Button.fixture.d.ts +10 -9
  343. package/lib/ui-kit/Button/Button.fixture.mobile.d.ts +2 -1
  344. package/lib/ui-kit/Button/Button.js +2 -2
  345. package/lib/ui-kit/Button/Button.js.map +1 -1
  346. package/lib/ui-kit/Button/ButtonInner.js +1 -1
  347. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  348. package/lib/ui-kit/Button/ButtonProps.d.ts +4 -3
  349. package/lib/ui-kit/Button/LikeButton.fixture.d.ts +3 -2
  350. package/lib/ui-kit/Button/LikeButton.js +3 -1
  351. package/lib/ui-kit/Button/LikeButton.js.map +1 -1
  352. package/lib/ui-kit/Button/renderArrows.d.ts +2 -1
  353. package/lib/ui-kit/Checkbox/Checkbox.js +1 -1
  354. package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  355. package/lib/ui-kit/Foldable/Foldable.js +1 -1
  356. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  357. package/lib/ui-kit/HeaderItem/HeaderItem.fixture.d.ts +3 -2
  358. package/lib/ui-kit/HeaderItem/HeaderItem.js +1 -1
  359. package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  360. package/lib/ui-kit/Heading/Heading.fixture.d.ts +2 -1
  361. package/lib/ui-kit/Heading/Heading.fixture.mobile.d.ts +2 -1
  362. package/lib/ui-kit/Heading/Heading.mobile.js +1 -1
  363. package/lib/ui-kit/Heading/Heading.mobile.js.map +1 -1
  364. package/lib/ui-kit/Icon/Icon.fixture.d.ts +5 -4
  365. package/lib/ui-kit/Input/Input.js +1 -1
  366. package/lib/ui-kit/Input/Input.js.map +1 -1
  367. package/lib/ui-kit/InputRange/InputRange.js +1 -1
  368. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  369. package/lib/ui-kit/List/List.fixture.d.ts +11 -10
  370. package/lib/ui-kit/Logo/Logo.fixture.d.ts +2 -1
  371. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.d.ts +2 -1
  372. package/lib/ui-kit/SVG.d.ts +2 -3
  373. package/lib/ui-kit/SearchBar/SearchBarInner.js +2 -2
  374. package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  375. package/lib/ui-kit/Select/Select.js.map +1 -1
  376. package/lib/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.d.ts +5 -4
  377. package/lib/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
  378. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  379. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  380. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  381. package/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
  382. package/lib/ui-kit/SwipeListControl/SwipeListControlList.js +1 -1
  383. package/lib/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
  384. package/lib/ui-kit/Tabs/Tabs.js +1 -1
  385. package/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  386. package/lib/ui-kit/TopItem/TopItem.fixture.d.ts +3 -2
  387. package/mobile/bundle/bundle.umd.js +23 -20
  388. package/mobile/bundle/bundle.umd.min.js +1 -1
  389. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  390. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  391. package/mobile/dist/components/Bonus/Bonus.js +2 -2
  392. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  393. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  394. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  395. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +2 -2
  396. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  397. package/mobile/dist/components/Calculator/Calculator.js +2 -2
  398. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  399. package/mobile/dist/components/Calculator/CalculatorValueBlock.js +1 -1
  400. package/mobile/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
  401. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  402. package/mobile/dist/components/Calculator/Rate.js +1 -1
  403. package/mobile/dist/components/Calculator/Rate.js.map +1 -1
  404. package/mobile/dist/components/Calculator/renderButtonSection.d.ts +2 -1
  405. package/mobile/dist/components/Calculator/renderCalculatorBlock.d.ts +2 -1
  406. package/mobile/dist/components/Calculator/renderInitialFeeInput.d.ts +2 -1
  407. package/mobile/dist/components/Calculator/renderMonthsInput.d.ts +2 -1
  408. package/mobile/dist/components/Calculator/renderPaymentTypeSelector.d.ts +2 -1
  409. package/mobile/dist/components/Calculator/renderProposal.d.ts +2 -1
  410. package/mobile/dist/components/Calculator/renderProposal.js +1 -1
  411. package/mobile/dist/components/Calculator/renderProposal.js.map +1 -1
  412. package/mobile/dist/components/Calculator/renderProposalMortgage.d.ts +2 -1
  413. package/mobile/dist/components/Calculator/renderRealEstateValue.d.ts +2 -1
  414. package/mobile/dist/components/Calculator/renderWantedSumInput.d.ts +2 -1
  415. package/mobile/dist/components/Calculator/useBonusCalculatorParams.d.ts +1 -1
  416. package/mobile/dist/components/Calculator/useBonusCalculatorParams.js +3 -3
  417. package/mobile/dist/components/Calculator/useBonusCalculatorParams.js.map +1 -1
  418. package/mobile/dist/components/Calculator/useCreditCalculatorParams.d.ts +1 -1
  419. package/mobile/dist/components/Calculator/useCreditCalculatorParams.js +3 -3
  420. package/mobile/dist/components/Catalog/Catalog.js +1 -1
  421. package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
  422. package/mobile/dist/components/Catalog/CatalogCard.js +1 -1
  423. package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
  424. package/mobile/dist/components/ComparisonTable/HeaderCell.js +1 -1
  425. package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  426. package/mobile/dist/components/ContentPage/ContentPage.d.ts +1 -1
  427. package/mobile/dist/components/ContentPage/ContentPage.js +2 -1
  428. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  429. package/mobile/dist/components/ContentPage/ContentPageContext.d.ts +2 -2
  430. package/mobile/dist/components/ContentPage/ContentPageHead.d.ts +2 -1
  431. package/mobile/dist/components/ContentPage/normalizePage.js +1 -1
  432. package/mobile/dist/components/ContentPage/normalizePage.js.map +1 -1
  433. package/mobile/dist/components/ExchangeRateTile/renderButton.d.ts +2 -1
  434. package/mobile/dist/components/ExchangeRateTile/renderInput.d.ts +2 -1
  435. package/mobile/dist/components/Footer/Contacts.js +1 -1
  436. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  437. package/mobile/dist/components/Footer/MediaButton.js +1 -2
  438. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  439. package/mobile/dist/components/Footer/Sitemap.js +2 -2
  440. package/mobile/dist/components/Footer/Sitemap.js.map +1 -1
  441. package/mobile/dist/components/Gallery/GalleryCardInner.js +1 -1
  442. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  443. package/mobile/dist/components/Gallery/GalleryContainer.js +1 -1
  444. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  445. package/mobile/dist/components/GracePeriod/GracePeriod.js +2 -2
  446. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  447. package/mobile/dist/components/GroupBlock/GroupBlocksItem.d.ts +2 -1
  448. package/mobile/dist/components/GroupBlock/renderBlocksTypes.d.ts +2 -1
  449. package/mobile/dist/components/Header/DropdownMenu.js +1 -1
  450. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
  451. package/mobile/dist/components/Header/HeaderBurger.d.ts +2 -1
  452. package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
  453. package/mobile/dist/components/Header/HeaderSubMenu.js +1 -1
  454. package/mobile/dist/components/Headline/HeadlineContent.d.ts +3 -0
  455. package/mobile/dist/components/Insurance/Insurance.js +2 -2
  456. package/mobile/dist/components/Insurance/Insurance.js.map +1 -1
  457. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  458. package/mobile/dist/components/LikeControl/LikeControl.js +1 -1
  459. package/mobile/dist/components/LikeControl/LikeControl.js.map +1 -1
  460. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  461. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  462. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  463. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +2 -2
  464. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  465. package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -1
  466. package/mobile/dist/components/ProductBlock/renderBenefit.d.ts +2 -1
  467. package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
  468. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  469. package/mobile/dist/components/PromoTile/PromoTile.js +1 -1
  470. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  471. package/mobile/dist/components/Recommendation/Recommendation.js +8 -8
  472. package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
  473. package/mobile/dist/components/Recommendation/RecommendationCard.js +3 -1
  474. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  475. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +2 -3
  476. package/mobile/dist/content-page-repository/mapJSON.js.map +1 -1
  477. package/mobile/dist/content-page-repository/transformContentPage.js +1 -0
  478. package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
  479. package/mobile/dist/hooks/useExchangeRates.js.map +1 -1
  480. package/mobile/dist/icons/IconName.js +2 -2
  481. package/mobile/dist/icons/IconName.js.map +1 -1
  482. package/mobile/dist/react/IntersectionObserverTag.js +26 -4
  483. package/mobile/dist/react/IntersectionObserverTag.js.map +1 -1
  484. package/mobile/dist/react/setup-fixture.js +7 -2
  485. package/mobile/dist/react/setup-fixture.js.map +1 -1
  486. package/mobile/dist/ui-kit/BlockWrapper.d.ts +1 -1
  487. package/mobile/dist/ui-kit/BlockWrapper.js +3 -2
  488. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  489. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.d.ts +2 -1
  490. package/mobile/dist/ui-kit/Button/ArrowButton.js +3 -3
  491. package/mobile/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  492. package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
  493. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  494. package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +4 -3
  495. package/mobile/dist/ui-kit/Button/LikeButton.js +3 -1
  496. package/mobile/dist/ui-kit/Button/LikeButton.js.map +1 -1
  497. package/mobile/dist/ui-kit/Button/renderArrows.d.ts +2 -1
  498. package/mobile/dist/ui-kit/Checkbox/Checkbox.js +1 -1
  499. package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  500. package/mobile/dist/ui-kit/Foldable/Foldable.js +1 -1
  501. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  502. package/mobile/dist/ui-kit/Heading/Heading.js +1 -1
  503. package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -1
  504. package/mobile/dist/ui-kit/Input/Input.js +1 -1
  505. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  506. package/mobile/dist/ui-kit/InputRange/InputRange.js +1 -1
  507. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  508. package/mobile/dist/ui-kit/SVG.d.ts +2 -3
  509. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +2 -2
  510. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  511. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  512. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
  513. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  514. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  515. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  516. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
  517. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.js +1 -1
  518. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
  519. package/mobile/dist/ui-kit/Tabs/Tabs.js +1 -1
  520. package/mobile/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  521. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  522. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  523. package/mobile/lib/components/Bonus/Bonus.js +2 -2
  524. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  525. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  526. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  527. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +3 -3
  528. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  529. package/mobile/lib/components/Calculator/Calculator.js +2 -2
  530. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  531. package/mobile/lib/components/Calculator/CalculatorValueBlock.js +1 -1
  532. package/mobile/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
  533. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +2 -2
  534. package/mobile/lib/components/Calculator/Rate.js +1 -1
  535. package/mobile/lib/components/Calculator/Rate.js.map +1 -1
  536. package/mobile/lib/components/Calculator/renderButtonSection.d.ts +2 -1
  537. package/mobile/lib/components/Calculator/renderCalculatorBlock.d.ts +2 -1
  538. package/mobile/lib/components/Calculator/renderInitialFeeInput.d.ts +2 -1
  539. package/mobile/lib/components/Calculator/renderMonthsInput.d.ts +2 -1
  540. package/mobile/lib/components/Calculator/renderPaymentTypeSelector.d.ts +2 -1
  541. package/mobile/lib/components/Calculator/renderProposal.d.ts +2 -1
  542. package/mobile/lib/components/Calculator/renderProposal.js +1 -1
  543. package/mobile/lib/components/Calculator/renderProposal.js.map +1 -1
  544. package/mobile/lib/components/Calculator/renderProposalMortgage.d.ts +2 -1
  545. package/mobile/lib/components/Calculator/renderRealEstateValue.d.ts +2 -1
  546. package/mobile/lib/components/Calculator/renderWantedSumInput.d.ts +2 -1
  547. package/mobile/lib/components/Calculator/useBonusCalculatorParams.d.ts +1 -1
  548. package/mobile/lib/components/Calculator/useBonusCalculatorParams.js +1 -1
  549. package/mobile/lib/components/Calculator/useBonusCalculatorParams.js.map +1 -1
  550. package/mobile/lib/components/Calculator/useCreditCalculatorParams.d.ts +1 -1
  551. package/mobile/lib/components/Calculator/useCreditCalculatorParams.js +1 -1
  552. package/mobile/lib/components/Catalog/Catalog.js +1 -1
  553. package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
  554. package/mobile/lib/components/Catalog/CatalogCard.js +1 -1
  555. package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
  556. package/mobile/lib/components/ComparisonTable/HeaderCell.js +1 -1
  557. package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  558. package/mobile/lib/components/ContentPage/ContentPage.d.ts +1 -1
  559. package/mobile/lib/components/ContentPage/ContentPage.js +2 -1
  560. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  561. package/mobile/lib/components/ContentPage/ContentPageContext.d.ts +2 -2
  562. package/mobile/lib/components/ContentPage/ContentPageHead.d.ts +2 -1
  563. package/mobile/lib/components/ContentPage/normalizePage.js +1 -1
  564. package/mobile/lib/components/ContentPage/normalizePage.js.map +1 -1
  565. package/mobile/lib/components/ExchangeRateTile/renderButton.d.ts +2 -1
  566. package/mobile/lib/components/ExchangeRateTile/renderInput.d.ts +2 -1
  567. package/mobile/lib/components/Footer/Contacts.js +1 -1
  568. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  569. package/mobile/lib/components/Footer/MediaButton.js +1 -2
  570. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  571. package/mobile/lib/components/Footer/Sitemap.js +2 -2
  572. package/mobile/lib/components/Footer/Sitemap.js.map +1 -1
  573. package/mobile/lib/components/Gallery/GalleryCardInner.js +1 -1
  574. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  575. package/mobile/lib/components/Gallery/GalleryContainer.js +1 -1
  576. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  577. package/mobile/lib/components/GracePeriod/GracePeriod.js +2 -2
  578. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  579. package/mobile/lib/components/GroupBlock/GroupBlocksItem.d.ts +2 -1
  580. package/mobile/lib/components/GroupBlock/renderBlocksTypes.d.ts +2 -1
  581. package/mobile/lib/components/Header/DropdownMenu.js +1 -1
  582. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
  583. package/mobile/lib/components/Header/HeaderBurger.d.ts +2 -1
  584. package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
  585. package/mobile/lib/components/Header/HeaderSubMenu.js +1 -1
  586. package/mobile/lib/components/Headline/HeadlineContent.d.ts +3 -0
  587. package/mobile/lib/components/Insurance/Insurance.js +2 -2
  588. package/mobile/lib/components/Insurance/Insurance.js.map +1 -1
  589. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  590. package/mobile/lib/components/LikeControl/LikeControl.js +1 -1
  591. package/mobile/lib/components/LikeControl/LikeControl.js.map +1 -1
  592. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  593. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  594. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  595. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +2 -2
  596. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  597. package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -1
  598. package/mobile/lib/components/ProductBlock/renderBenefit.d.ts +2 -1
  599. package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
  600. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  601. package/mobile/lib/components/PromoTile/PromoTile.js +1 -1
  602. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  603. package/mobile/lib/components/Recommendation/Recommendation.js +8 -8
  604. package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
  605. package/mobile/lib/components/Recommendation/RecommendationCard.js +3 -1
  606. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  607. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +2 -3
  608. package/mobile/lib/content-page-repository/mapJSON.js.map +1 -1
  609. package/mobile/lib/content-page-repository/transformContentPage.js +1 -0
  610. package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
  611. package/mobile/lib/hooks/useExchangeRates.js.map +1 -1
  612. package/mobile/lib/icons/IconName.js +1 -1
  613. package/mobile/lib/icons/IconName.js.map +1 -1
  614. package/mobile/lib/react/IntersectionObserverTag.js +3 -4
  615. package/mobile/lib/react/IntersectionObserverTag.js.map +1 -1
  616. package/mobile/lib/react/setup-fixture.js +3 -1
  617. package/mobile/lib/react/setup-fixture.js.map +1 -1
  618. package/mobile/lib/ui-kit/BlockWrapper.d.ts +1 -1
  619. package/mobile/lib/ui-kit/BlockWrapper.js +3 -2
  620. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  621. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.d.ts +2 -1
  622. package/mobile/lib/ui-kit/Button/ArrowButton.js +3 -3
  623. package/mobile/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  624. package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
  625. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  626. package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +4 -3
  627. package/mobile/lib/ui-kit/Button/LikeButton.js +3 -1
  628. package/mobile/lib/ui-kit/Button/LikeButton.js.map +1 -1
  629. package/mobile/lib/ui-kit/Button/renderArrows.d.ts +2 -1
  630. package/mobile/lib/ui-kit/Checkbox/Checkbox.js +1 -1
  631. package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  632. package/mobile/lib/ui-kit/Foldable/Foldable.js +1 -1
  633. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  634. package/mobile/lib/ui-kit/Heading/Heading.js +1 -1
  635. package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -1
  636. package/mobile/lib/ui-kit/Input/Input.js +1 -1
  637. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  638. package/mobile/lib/ui-kit/InputRange/InputRange.js +1 -1
  639. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  640. package/mobile/lib/ui-kit/SVG.d.ts +2 -3
  641. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +2 -2
  642. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  643. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  644. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
  645. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  646. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  647. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  648. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
  649. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.js +1 -1
  650. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
  651. package/mobile/lib/ui-kit/Tabs/Tabs.js +1 -1
  652. package/mobile/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  653. package/mobile/src/common.css +7 -7
  654. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  655. package/mobile/src/components/Blocks.spec.tsx +3 -6
  656. package/mobile/src/components/Bonus/Bonus.tsx +3 -5
  657. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -1
  658. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +3 -3
  659. package/mobile/src/components/Calculator/Calculator.tsx +2 -2
  660. package/mobile/src/components/Calculator/CalculatorValueBlock.tsx +2 -2
  661. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +2 -2
  662. package/mobile/src/components/Calculator/Rate.tsx +1 -1
  663. package/mobile/src/components/Calculator/renderProposal.tsx +2 -4
  664. package/mobile/src/components/Calculator/useBonusCalculatorParams.ts +2 -2
  665. package/mobile/src/components/Calculator/useCreditCalculatorParams.ts +1 -1
  666. package/mobile/src/components/Catalog/Catalog.tsx +2 -2
  667. package/mobile/src/components/Catalog/CatalogCard.tsx +10 -7
  668. package/mobile/src/components/ComparisonTable/HeaderCell.tsx +1 -1
  669. package/mobile/src/components/ContentPage/ContentPage.page.json +2 -2
  670. package/mobile/src/components/ContentPage/ContentPage.tsx +3 -2
  671. package/mobile/src/components/ContentPage/ContentPageContext.tsx +2 -4
  672. package/mobile/src/components/ContentPage/ContentPageHead.tsx +2 -2
  673. package/mobile/src/components/ContentPage/normalizePage.ts +3 -3
  674. package/mobile/src/components/Footer/Contacts.tsx +1 -1
  675. package/mobile/src/components/Footer/MediaButton.tsx +1 -2
  676. package/mobile/src/components/Footer/Sitemap.tsx +2 -2
  677. package/mobile/src/components/Gallery/GalleryCardInner.tsx +1 -3
  678. package/mobile/src/components/Gallery/GalleryContainer.tsx +1 -1
  679. package/mobile/src/components/GracePeriod/GracePeriod.tsx +2 -2
  680. package/mobile/src/components/Header/DropdownMenu.tsx +1 -1
  681. package/mobile/src/components/Header/HeaderBurger.tsx +2 -1
  682. package/mobile/src/components/Header/HeaderSubMenu.tsx +1 -1
  683. package/mobile/src/components/Headline/HeadlineContent.ts +3 -0
  684. package/mobile/src/components/Insurance/Insurance.tsx +5 -5
  685. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
  686. package/mobile/src/components/LikeControl/LikeControl.tsx +2 -2
  687. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +2 -2
  688. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +2 -2
  689. package/mobile/src/components/ProductBlock/ProductBlock.example.json +1 -1
  690. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +2 -1
  691. package/mobile/src/components/ProductTile/ProductTile.tsx +2 -0
  692. package/mobile/src/components/PromoTile/PromoTile.example.json +1 -0
  693. package/mobile/src/components/PromoTile/PromoTile.tsx +2 -1
  694. package/mobile/src/components/Recommendation/Recommendation.tsx +20 -18
  695. package/mobile/src/components/Recommendation/RecommendationCard.tsx +20 -15
  696. package/mobile/src/components/Recommendation/RecommendationContent.ts +2 -3
  697. package/mobile/src/components/__snapshots__/Blocks.spec.tsx.snap +162 -59
  698. package/mobile/src/content-page-repository/mapJSON.ts +1 -1
  699. package/mobile/src/content-page-repository/transformContentPage.ts +1 -0
  700. package/mobile/src/hooks/useExchangeRates.ts +1 -1
  701. package/mobile/src/icons/IconName.ts +1 -2
  702. package/mobile/src/react/IntersectionObserverTag.tsx +3 -8
  703. package/mobile/src/react/setup-fixture.ts +5 -2
  704. package/mobile/src/ui-kit/BlockWrapper.tsx +5 -3
  705. package/mobile/src/ui-kit/Button/ArrowButton.tsx +4 -3
  706. package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
  707. package/mobile/src/ui-kit/Button/ButtonProps.ts +4 -3
  708. package/mobile/src/ui-kit/Button/LikeButton.tsx +3 -1
  709. package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
  710. package/mobile/src/ui-kit/Foldable/Foldable.tsx +1 -1
  711. package/mobile/src/ui-kit/Heading/Heading.tsx +1 -1
  712. package/mobile/src/ui-kit/Input/Input.tsx +3 -4
  713. package/mobile/src/ui-kit/InputRange/InputRange.tsx +4 -4
  714. package/mobile/src/ui-kit/SVG.tsx +2 -2
  715. package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +3 -3
  716. package/mobile/src/ui-kit/Select/Select.tsx +1 -1
  717. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -2
  718. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +4 -4
  719. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +3 -3
  720. package/mobile/src/ui-kit/Tabs/Tabs.tsx +1 -1
  721. package/package.json +4 -2
  722. package/src/common.css +7 -7
  723. package/src/components/Accordion/Accordion.tsx +1 -1
  724. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  725. package/src/components/Blocks.spec.tsx +3 -6
  726. package/src/components/Bonus/Bonus.fixture.tsx +1 -0
  727. package/src/components/Bonus/Bonus.tsx +3 -5
  728. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -1
  729. package/src/components/Calculator/BonusCalculatorForm.tsx +3 -3
  730. package/src/components/Calculator/Calculator.tsx +2 -2
  731. package/src/components/Calculator/CalculatorValueBlock.tsx +2 -2
  732. package/src/components/Calculator/CreditCalculatorForm.tsx +2 -2
  733. package/src/components/Calculator/Rate.tsx +1 -1
  734. package/src/components/Calculator/renderProposal.tsx +2 -4
  735. package/src/components/Calculator/useBonusCalculatorParams.ts +2 -2
  736. package/src/components/Calculator/useCreditCalculatorParams.ts +1 -1
  737. package/src/components/Catalog/Catalog.tsx +2 -2
  738. package/src/components/Catalog/CatalogCard.tsx +10 -7
  739. package/src/components/ComparisonTable/HeaderCell.mobile.tsx +1 -1
  740. package/src/components/ContentPage/ContentPage.fixture.tsx +1 -1
  741. package/src/components/ContentPage/ContentPage.page.json +2 -2
  742. package/src/components/ContentPage/ContentPage.tsx +3 -2
  743. package/src/components/ContentPage/ContentPageContext.tsx +2 -4
  744. package/src/components/ContentPage/ContentPageHead.tsx +2 -2
  745. package/src/components/ContentPage/normalizePage.mobile.ts +3 -3
  746. package/src/components/ContentPage/normalizePage.ts +4 -4
  747. package/src/components/Footer/Contacts.tsx +1 -1
  748. package/src/components/Footer/Footer.tsx +2 -2
  749. package/src/components/Footer/MediaButton.tsx +1 -2
  750. package/src/components/Footer/Sitemap.tsx +2 -2
  751. package/src/components/Footer/SocialMedia.tsx +1 -1
  752. package/src/components/Gallery/GalleryCardInner.tsx +1 -3
  753. package/src/components/Gallery/GalleryContainer.tsx +1 -1
  754. package/src/components/GracePeriod/GracePeriod.tsx +2 -2
  755. package/src/components/Header/DropdownMenu.tsx +1 -1
  756. package/src/components/Header/Header.tsx +1 -1
  757. package/src/components/Header/HeaderBurger.tsx +2 -1
  758. package/src/components/Header/HeaderSubMenu.tsx +1 -1
  759. package/src/components/Headline/Headline.fixture.tsx +4 -4
  760. package/src/components/Headline/Headline.tsx +3 -2
  761. package/src/components/Headline/HeadlineContent.ts +3 -0
  762. package/src/components/Insurance/Insurance.tsx +5 -5
  763. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
  764. package/src/components/LikeControl/LikeControl.tsx +2 -2
  765. package/src/components/LinkDocs/LinkDocs.tsx +1 -2
  766. package/src/components/LinkDocs/LinkDocsContent.ts +2 -2
  767. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +3 -0
  768. package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +2 -2
  769. package/src/components/ProductBlock/ProductBlock.example.json +1 -1
  770. package/src/components/ProductBlock/ProductBlock.tsx +10 -2
  771. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +2 -1
  772. package/src/components/ProductBlock/ProductBlockInner.tsx +3 -2
  773. package/src/components/ProductGallery/ProductGallery.tsx +2 -2
  774. package/src/components/ProductTile/ProductTile.tsx +2 -0
  775. package/src/components/PromoTile/PromoTile.example.json +1 -0
  776. package/src/components/PromoTile/PromoTile.tsx +2 -1
  777. package/src/components/Recommendation/Recommendation.fixture.tsx +68 -16
  778. package/src/components/Recommendation/Recommendation.tsx +20 -18
  779. package/src/components/Recommendation/RecommendationCard.tsx +20 -15
  780. package/src/components/Recommendation/RecommendationContent.ts +2 -3
  781. package/src/components/TariffsTable/TariffsTable.tsx +1 -1
  782. package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +1 -0
  783. package/src/components/TextBlock/TextBlock.fixture.tsx +1 -0
  784. package/src/components/__snapshots__/Blocks.spec.tsx.snap +162 -59
  785. package/src/content-page-repository/mapJSON.ts +1 -1
  786. package/src/content-page-repository/transformContentPage.ts +1 -0
  787. package/src/hooks/useExchangeRates.ts +1 -1
  788. package/src/react/IntersectionObserverTag.tsx +3 -8
  789. package/src/react/setup-fixture.ts +5 -2
  790. package/src/ui-kit/BlockWrapper.tsx +5 -3
  791. package/src/ui-kit/Button/ArrowButton.tsx +4 -3
  792. package/src/ui-kit/Button/Button.tsx +2 -2
  793. package/src/ui-kit/Button/ButtonInner.tsx +1 -1
  794. package/src/ui-kit/Button/ButtonProps.ts +4 -3
  795. package/src/ui-kit/Button/LikeButton.tsx +3 -1
  796. package/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
  797. package/src/ui-kit/Foldable/Foldable.tsx +1 -1
  798. package/src/ui-kit/HeaderItem/HeaderItem.tsx +1 -1
  799. package/src/ui-kit/Heading/Heading.mobile.tsx +1 -1
  800. package/src/ui-kit/Input/Input.tsx +3 -4
  801. package/src/ui-kit/InputRange/InputRange.tsx +4 -4
  802. package/src/ui-kit/SVG.tsx +2 -2
  803. package/src/ui-kit/SearchBar/SearchBarInner.tsx +3 -3
  804. package/src/ui-kit/Select/Select.tsx +1 -1
  805. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -2
  806. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +4 -4
  807. package/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +3 -3
  808. package/src/ui-kit/Tabs/Tabs.tsx +1 -1
@@ -21,7 +21,7 @@ export const Checkbox = JSX<CheckboxProps>(({ className, text, checked, isRadio,
21
21
  checked:border-primary-main m-0`}
22
22
  type="checkbox"
23
23
  onChange={(e) => {
24
- onChange(e.target.checked);
24
+ onChange(e.target.checked as boolean);
25
25
  }}
26
26
  checked={checked}
27
27
  />
@@ -37,7 +37,7 @@ export const Checkbox = JSX<CheckboxProps>(({ className, text, checked, isRadio,
37
37
  viewBox="0 0 11 9"
38
38
  />
39
39
  )}
40
- {text ? <span className="font-sans ml-3 text-m-base cursor-pointer">{text}</span> : null}
40
+ {text ? <span className="font-sans ml-3 text-l cursor-pointer">{text}</span> : null}
41
41
  </label>
42
42
  </div>
43
43
  ));
@@ -48,7 +48,7 @@ export const Foldable = JSX<FoldableProps>(
48
48
 
49
49
  const buttonClassName =
50
50
  foldButtonClasses ||
51
- 'border-none bg-primary-main px-0 py-[26px] mb-[1px] w-full font-sans text-white text-base flex justify-center cursor-pointer';
51
+ 'border-none bg-primary-main px-0 py-[26px] mb-[1px] w-full font-sans text-white text-l flex justify-center cursor-pointer';
52
52
  const getFoldButtonLabel = isActive ? 'Скрыть' : foldButtonLabel;
53
53
 
54
54
  return blocks ? (
@@ -5,7 +5,7 @@ const HeadingClass: Record<HeadingType, string> = {
5
5
  h0: 'text-m-title',
6
6
  h1: 'text-m-title',
7
7
  h2: 'text-m-title',
8
- h3: 'text-m-title-md',
8
+ h3: 'text-h6',
9
9
  h4: 'text-m-title-xs',
10
10
  h5: 'text-m-title-xs',
11
11
  h6: 'text-m-title-xs',
@@ -1,11 +1,10 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { InputProps } from './InputProps';
3
- import { ChangeEvent } from 'react';
4
3
 
5
4
  export const Input = JSX<InputProps>(
6
5
  ({ className = '', id, name, type = 'text', placeholder, pattern, value, onChange }) => {
7
- const handleChange = (e: ChangeEvent<HTMLInputElement>) => {
8
- const validInputValue = e.target.validity.valid ? e.target.value : value;
6
+ const handleChange = (e) => {
7
+ const validInputValue = e.target.validity.valid ? (e.target.value as string) : value;
9
8
  onChange(validInputValue);
10
9
  };
11
10
 
@@ -18,7 +17,7 @@ export const Input = JSX<InputProps>(
18
17
  pattern={pattern}
19
18
  placeholder={placeholder}
20
19
  value={value}
21
- onChange={(e) => handleChange(e)}
20
+ onChange={handleChange}
22
21
  />
23
22
  );
24
23
  },
@@ -29,12 +29,12 @@ export const InputRange = JSX<InputRangeProps>(
29
29
  return (
30
30
  <div className={className}>
31
31
  <label className="block relative">
32
- {title ? <span className="text-base text-secondary-text pl-4">{title}</span> : null}
32
+ {title ? <span className="text-l text-secondary-text pl-4">{title}</span> : null}
33
33
  <input
34
- className={`m-0 mt-[5px] font-sans text-title w-full h-14 border border-solid border-main-stroke rounded-md
34
+ className={`m-0 mt-[5px] font-sans text-h3 w-full h-14 border border-solid border-main-stroke rounded-md
35
35
  outline-none p-0 pl-4 box-border text-primary-text`}
36
36
  value={addSpacesBetweenNumbers(value)}
37
- onChange={(e) => handleChange(e.target.value)}
37
+ onChange={(e) => handleChange(e.target.value as string)}
38
38
  onBlur={handleBlur}
39
39
  />
40
40
  <div className="absolute inset-x-0 bottom-[-4px] px-4 leading-[18px]">
@@ -45,7 +45,7 @@ export const InputRange = JSX<InputRangeProps>(
45
45
  max={max}
46
46
  step={step}
47
47
  value={value}
48
- onChange={(e) => handleChange(e.target.value)}
48
+ onChange={(e) => handleChange(e.target.value as string)}
49
49
  style={inputStyle}
50
50
  />
51
51
  </div>
@@ -1,6 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
 
3
- interface SVGPathOptions {
3
+ export interface SVGPathOptions {
4
4
  fill?: string;
5
5
  stroke?: string;
6
6
  strokeLinecap?: 'inherit' | 'butt' | 'round' | 'square';
@@ -9,7 +9,7 @@ interface SVGPathOptions {
9
9
  strokeMiterlimit?: string;
10
10
  }
11
11
 
12
- interface SVGPath extends SVGPathOptions {
12
+ export interface SVGPath extends SVGPathOptions {
13
13
  d: string;
14
14
  }
15
15
 
@@ -12,7 +12,7 @@ export const SearchBarInner = JSX<SearchBarInnerProps>(
12
12
  const { term, setTerm } = context.useSearch();
13
13
 
14
14
  const LoupeIconClassName = isMobile ? 'w-[20px] h-[20px]' : 'w-[24px] h-[24px]';
15
- const SearchBarLabelClassName = isMobile ? 'font-normal text-sm' : 'font-light text-base';
15
+ const SearchBarLabelClassName = isMobile ? 'font-normal text-sm' : 'text-l-light';
16
16
  const SearchBarInputClassName = isMobile
17
17
  ? ' placeholder-transparent font-normal'
18
18
  : 'font-light h-full';
@@ -35,10 +35,10 @@ export const SearchBarInner = JSX<SearchBarInnerProps>(
35
35
  </div>
36
36
  <input
37
37
  id="search-bar-input"
38
- className={`h-12 pl-12 w-full peer text-base text-black border border-solid rounded box-border
38
+ className={`h-12 pl-12 w-full peer text-l text-black border border-solid rounded box-border
39
39
  outline-none pr-[6%] border-main-divider focus:border-primary-text ${SearchBarInputClassName}`}
40
40
  value={term}
41
- onChange={(e) => setTerm(e.target.value)}
41
+ onChange={(e) => setTerm(e.target.value as string)}
42
42
  type="text"
43
43
  name="search-bar-input"
44
44
  placeholder={inputPlaceholder}
@@ -16,7 +16,7 @@ export const Select = JSX<SelectProps>(
16
16
  id={id}
17
17
  name={name || id}
18
18
  value={value}
19
- onChange={(e) => onChange(e.target.value)}
19
+ onChange={(e) => onChange(e.target.value as string)}
20
20
  >
21
21
  {children}
22
22
  </select>
@@ -26,14 +26,14 @@ export const SwipeListControl = JSX<SwipeListControlProps>(
26
26
  children,
27
27
  };
28
28
 
29
- const handleScroll = (e: UIEvent) => {
29
+ const handleScroll = (e) => {
30
30
  const {
31
31
  scrollLeft,
32
32
  clientWidth,
33
33
  childElementCount,
34
34
  scrollWidth,
35
35
  children: childrenCollection,
36
- } = e.currentTarget as HTMLElement;
36
+ } = e?.currentTarget as HTMLElement;
37
37
 
38
38
  // horizontal PADDING / 2 to compensate padding-margin combo of child container
39
39
  // without CSS calc function, as wrapper element gets bigger in the DOM, remaining same visually
@@ -14,7 +14,7 @@ export interface SwipeListControlDotsProps {
14
14
 
15
15
  export const SwipeListControlDots = JSX<SwipeListControlDotsProps>(
16
16
  ({ children, activeIndex, indexFraction, showDots }) => {
17
- const handleClick = (idx: number) => (e: Event) => {
17
+ const handleClick = (idx: number) => (e) => {
18
18
  if (idx === activeIndex) {
19
19
  return;
20
20
  }
@@ -27,7 +27,7 @@ export const SwipeListControlDots = JSX<SwipeListControlDotsProps>(
27
27
 
28
28
  return showDots && children?.length ? (
29
29
  <div className="flex gap-2 mx-auto mt-5 w-fit">
30
- {children?.map((_, idx) => (
30
+ {children?.map((_, idx: number) => (
31
31
  <div
32
32
  key={String(idx)}
33
33
  onClick={handleClick(idx)}
@@ -45,9 +45,9 @@ const getDotStyles = (
45
45
  currentIdx: number,
46
46
  activeIndex: number,
47
47
  indexFraction: number,
48
- ): Record<string, string> | null => {
48
+ ): Record<string, string> | undefined => {
49
49
  if (currentIdx < activeIndex || currentIdx > activeIndex + 1) {
50
- return null;
50
+ return;
51
51
  }
52
52
 
53
53
  const leftIndexMod = 1 - indexFraction;
@@ -1,8 +1,8 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import { SwipeListControlItem } from './SwipeListControlItem';
3
- import { getContainerStyle } from './utils/getContainerStyle';
4
2
  import { DEFAULT_GAP, DEFAULT_PADDING } from './constants';
3
+ import { SwipeListControlItem } from './SwipeListControlItem';
5
4
  import { SwipeContainer } from './SwipeListControlProps';
5
+ import { getContainerStyle } from './utils/getContainerStyle';
6
6
 
7
7
  /**
8
8
  * @title Список
@@ -10,7 +10,7 @@ import { SwipeContainer } from './SwipeListControlProps';
10
10
  export interface SwipeListControlListProps extends SwipeContainer {
11
11
  className?: string;
12
12
  activeIndex: number;
13
- onScroll?: (e: UIEvent) => void;
13
+ onScroll?: (e) => void;
14
14
  }
15
15
 
16
16
  export const SwipeListControlList = JSX<SwipeListControlListProps>(
@@ -28,7 +28,7 @@ const renderTab =
28
28
  }`}
29
29
  role="tab"
30
30
  onClick={() => onTabClick(index)}
31
- aria-selected={String(isActive)}
31
+ aria-selected={isActive}
32
32
  >
33
33
  {tab?.icon ? renderIcon(tab, isActive) : null}
34
34
  <div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redneckz/wildless-cms-uni-blocks",
3
- "version": "0.3.86",
3
+ "version": "0.3.87",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "author": "ЦК",
@@ -104,7 +104,6 @@
104
104
  "clean:actual": "rimraf ./cypress/snapshots/actual || exit 0"
105
105
  },
106
106
  "peerDependencies": {
107
- "@testing-library/react": "^12.1.5",
108
107
  "cypress": "^10.6.0",
109
108
  "cypress-visual-regression": "^1.7.0",
110
109
  "react": ">=16.8.0",
@@ -122,6 +121,8 @@
122
121
  "@rollup/plugin-node-resolve": "^13.3.0",
123
122
  "@rollup/plugin-typescript": "^8.3.3",
124
123
  "@size-limit/file": "^7.0.8",
124
+ "@testing-library/react": "^12.1.5",
125
+ "@types/glob": "^8.0.0",
125
126
  "@types/jest": "^28.1.5",
126
127
  "@typescript-eslint/eslint-plugin": "^5.30.6",
127
128
  "@typescript-eslint/experimental-utils": "^5.30.6",
@@ -134,6 +135,7 @@
134
135
  "eslint-plugin-import": "^2.26.0",
135
136
  "eslint-plugin-local-eslint-rules": "./eslint-rules",
136
137
  "eslint-plugin-react": "^7.30.1",
138
+ "eslint-plugin-react-hooks": "^4.6.0",
137
139
  "eslint-plugin-sonarjs": "^0.15.0",
138
140
  "html-webpack-plugin": "^5.5.0",
139
141
  "husky": "^8.0.1",
package/src/common.css CHANGED
@@ -10,8 +10,8 @@ html {
10
10
  --color-primary-main: 66, 171, 68;
11
11
  --color-primary-hover: 36, 131, 65;
12
12
  --color-primary-active: 36, 95, 52;
13
- --color-secondary-hover: 216, 242, 217;
14
- --color-secondary-active: 197, 226, 198;
13
+ --color-secondary-hover: 36, 131, 65;
14
+ --color-secondary-active: 36, 95, 52;
15
15
  --color-gradient-from: 141, 189, 76;
16
16
  --color-gradient-to: 69, 172, 69;
17
17
  }
@@ -20,18 +20,18 @@ html {
20
20
  --color-primary-main: 131, 184, 62;
21
21
  --color-primary-hover: 92, 146, 29;
22
22
  --color-primary-active: 60, 94, 16;
23
- --color-secondary-hover: 232, 244, 217;
24
- --color-secondary-active: 216, 227, 202;
23
+ --color-secondary-hover: 92, 146, 29;
24
+ --color-secondary-active: 60, 94, 16;
25
25
  --color-gradient-from: 141, 189, 76; /* TODO: change color to theme bc */
26
26
  --color-gradient-to: 69, 172, 69; /* TODO: change color to theme bc */
27
27
  }
28
28
  /* Ecosystem own | Yellow */
29
29
  [data-theme='eo'] {
30
- --color-primary-main: 225, 186, 30;
30
+ --color-primary-main: 221, 182, 61;
31
31
  --color-primary-hover: 187, 151, 39;
32
32
  --color-primary-active: 126, 99, 12;
33
- --color-secondary-hover: 241, 236, 221;
34
- --color-secondary-active: 229, 222, 199;
33
+ --color-secondary-hover: 187, 151, 39;
34
+ --color-secondary-active: 126, 99, 12;
35
35
  --color-gradient-from: 141, 189, 76; /* TODO: change color to theme eo */
36
36
  --color-gradient-to: 69, 172, 69; /* TODO: change color to theme eo */
37
37
  }
@@ -37,7 +37,7 @@ export const Accordion = JSX<AccordionProps>(
37
37
  title={title}
38
38
  />
39
39
  ) : null}
40
- {description ? <div className="mb-2.5 text-base">{description}</div> : null}
40
+ {description ? <div className="mb-2.5 text-l">{description}</div> : null}
41
41
  {accordionItems?.length ? (
42
42
  <ul className="list-none m-0 p-0">
43
43
  {accordionItems.map((item, i) => (
@@ -65,7 +65,7 @@ const renderDescription = (description?: DescriptionType) => {
65
65
  }
66
66
 
67
67
  return description ? (
68
- <div className="font-light text-base text-secondary-text mt-2">
68
+ <div className="text-l-light text-secondary-text mt-2">
69
69
  {benefitType === 'list'
70
70
  ? renderListBenefit(description as ListBenefitDef)
71
71
  : renderTextBenefit(description as TextBenefitDef)}
@@ -1,16 +1,13 @@
1
1
  import { setup } from '@redneckz/uni-jsx';
2
2
  import { render } from '@testing-library/react';
3
3
  import { useState } from 'react';
4
- import { jsx, jsxs } from 'react/jsx-runtime';
4
+ import runtime from 'react/jsx-runtime';
5
5
  import { Blocks } from './Blocks';
6
6
  import type { ContentPageContext } from './ContentPage/ContentPageContext';
7
7
 
8
- setup(jsx, jsxs);
8
+ const { jsx, jsxs } = runtime as any;
9
9
 
10
- jest.mock('../ui-kit/BlockWrapper', () => ({
11
- __esModule: true,
12
- BlockWrapper: ({ children }) => <section>{children}</section>,
13
- }));
10
+ setup(jsx, jsxs);
14
11
 
15
12
  const emptyFn = () => {
16
13
  /* For sure */
@@ -5,6 +5,7 @@ import type { BonusContent } from './BonusContent';
5
5
  export const BONUS: BonusContent = {
6
6
  title: 'Начисление баллов',
7
7
  description:
8
+ /* eslint-disable max-len */
8
9
  'Получайте 1% бонусными баллами с любых покупок и 1,5% баллами с покупок в категории «Путешествия». Обменивайте бонусные баллы на авиа и ж/д билеты, бронирование отелей и прокат автомобилей.',
9
10
  bonusItems: [
10
11
  {
@@ -14,7 +14,7 @@ export const Bonus = JSX<BonusProps>((props) => {
14
14
  <div className="container">
15
15
  {title ? <Heading headingType="h3" className="text-center" title={title} /> : null}
16
16
  {description ? (
17
- <div className="text-md font-light text-center mt-[10px]">{description}</div>
17
+ <div className="text-xl-light text-center mt-[10px]">{description}</div>
18
18
  ) : null}
19
19
  <div className="flex flex-wrap w-full mt-9">
20
20
  {bonusItems
@@ -26,10 +26,8 @@ export const Bonus = JSX<BonusProps>((props) => {
26
26
  >
27
27
  <div className="flex justify-between w-full">
28
28
  <div className="mr-4">
29
- <div className="text-title-sm">{_.title}</div>
30
- <div className="text-md font-light mt-[14px] max-w-[488px]">
31
- {_.description}
32
- </div>
29
+ <div className="text-h4">{_.title}</div>
30
+ <div className="text-xl-light mt-[14px] max-w-[488px]">{_.description}</div>
33
31
  </div>
34
32
  {_.bonusCount ? (
35
33
  <div className="relative -bottom-3 h-auto flex items-end mt-14 shrink-0">
@@ -39,7 +39,7 @@ const renderBonusBenefit = (bonusBenefit: BonusBenefit, i: number) => {
39
39
  />
40
40
  ) : null}
41
41
  <div>
42
- {bonusBenefit?.label ? <span className="title-2xs m-0">{bonusBenefit.label}</span> : null}
42
+ {bonusBenefit?.label ? <span className="text-h6 m-0">{bonusBenefit.label}</span> : null}
43
43
  </div>
44
44
  </div>
45
45
  );
@@ -6,12 +6,12 @@ import { DEFAULT_REST_MIN_SUM, DEFAULT_TRAVEL_MIN_SUM } from './constants';
6
6
  import { Rate } from './Rate';
7
7
  import { renderButtonSection } from './renderButtonSection';
8
8
  import { renderWantedSumInput } from './renderWantedSumInput';
9
- import { getBonusCalculatorParams } from './useBonusCalculatorParams';
9
+ import { useBonusCalculatorParams } from './useBonusCalculatorParams';
10
10
 
11
11
  export interface BonusCalculatorProps extends CommonCalculatorProps, UniBlockProps {}
12
12
 
13
13
  export const BonusCalculatorForm = JSX<BonusCalculatorProps>(
14
- ({ context, className = '', sourceBookDir, buttons }) => {
14
+ ({ context, className = '', sourceBookDir = '', buttons }) => {
15
15
  const [travelExpenseValue, setTravelExpenseValue] = context.useState(DEFAULT_TRAVEL_MIN_SUM);
16
16
  const [restExpenseValue, setRestExpenseValue] = context.useState(DEFAULT_REST_MIN_SUM);
17
17
  const userInputParams = {
@@ -19,7 +19,7 @@ export const BonusCalculatorForm = JSX<BonusCalculatorProps>(
19
19
  restExpenseValue,
20
20
  };
21
21
  const { minSumTravel, maxSumTravel, minSumOther, maxSumOther, monthBonus, yearBonus } =
22
- getBonusCalculatorParams(context, userInputParams, sourceBookDir);
22
+ useBonusCalculatorParams(context, userInputParams, sourceBookDir);
23
23
 
24
24
  return (
25
25
  <section className={className}>
@@ -75,8 +75,8 @@ function renderNavButton({ tab, i, activeSlideIndex, onClick }: NavButtonProps)
75
75
  const btnClassName = isActiveBtn
76
76
  ? 'h-[88px] w-[387px] min-w-[387px] p-5 border-none bg-primary-main text-white'
77
77
  : `h-[77px] w-[322px] min-w-[322px] px-5 py-4 ease-in duration-300 bg-white text-primary-text`;
78
- const btnTitleClassName = isActiveBtn ? 'text-md-new mb-1.5' : `text-base mb-[3px]`;
79
- const btnDescClassName = isActiveBtn ? 'text-base text-white' : `text-m-md`;
78
+ const btnTitleClassName = isActiveBtn ? 'text-xl mb-1.5' : `text-l mb-[3px]`;
79
+ const btnDescClassName = isActiveBtn ? 'text-l text-white' : `text-m-md`;
80
80
  const iconClassName = isActiveBtn ? '' : `text-primary-main`;
81
81
 
82
82
  return (
@@ -13,9 +13,9 @@ export const CalculatorValueBlock = JSX<CalculatorValueBlockProps>(
13
13
  ({ title, value, postfix = '', prefix, className = '' }) => {
14
14
  return (
15
15
  <div className={`mb-5 ${className}`}>
16
- {title ? <div className="text-base font-light">{title}</div> : null}
16
+ {title ? <div className="text-l-light">{title}</div> : null}
17
17
  {value ? (
18
- <div className="text-title font-normal">
18
+ <div className="text-h3">
19
19
  {prefix} {addSpacesBetweenNumbers(Math.round(value))} {postfix}
20
20
  </div>
21
21
  ) : null}
@@ -9,7 +9,7 @@ import { renderButtonSection } from './renderButtonSection';
9
9
  import { renderMonthsInput } from './renderMonthsInput';
10
10
  import { renderPaymentTypeSelector } from './renderPaymentTypeSelector';
11
11
  import { renderWantedSumInput } from './renderWantedSumInput';
12
- import { getCreditCalculatorParams } from './useCreditCalculatorParams';
12
+ import { useCreditCalculatorParams } from './useCreditCalculatorParams';
13
13
 
14
14
  export const ANNUITY = 'annuity';
15
15
  export const DIFFERENTIAL = 'differential';
@@ -43,7 +43,7 @@ export const CreditCalculatorForm = JSX<CreditCalculatorProp>(
43
43
  moneyValue,
44
44
  monthsValue,
45
45
  };
46
- const calculatorParams = getCreditCalculatorParams(context, userInputParams, sourceBookDir);
46
+ const calculatorParams = useCreditCalculatorParams(context, userInputParams, sourceBookDir);
47
47
 
48
48
  return (
49
49
  <section className={className}>
@@ -9,7 +9,7 @@ export interface RateProps {
9
9
 
10
10
  export const Rate = JSX<RateProps>(({ rate, title = 'Ставка', unit, rateBlockClassName }) => (
11
11
  <div>
12
- <div className="text-sm font-light ml-3">{title}</div>
12
+ <div className="text-l-light ml-3">{title}</div>
13
13
  <div className="flex justify-start">
14
14
  <span
15
15
  className={`block calc-rate-text font-mohave text-title-huge pr-6 -mt-4 ${rateBlockClassName}`}
@@ -4,10 +4,8 @@ import { Button } from '../../ui-kit/Button/Button';
4
4
  export function renderProposal(monthlyPayment: number) {
5
5
  return (
6
6
  <div className="box-border ">
7
- <div className="text-base font-light">Ежемесячный платёж</div>
8
- <div className="text-title mb-3 font-normal">
9
- {addSpacesBetweenNumbers(Math.round(monthlyPayment))} ₽
10
- </div>
7
+ <div className="text-l-light">Ежемесячный платёж</div>
8
+ <div className="text-h3 mb-3">{addSpacesBetweenNumbers(Math.round(monthlyPayment))} ₽</div>
11
9
  <Button className="mt-[50px] w-full" text="Отправить заявку" version="primary" href="#" />
12
10
  </div>
13
11
  );
@@ -28,10 +28,10 @@ export interface BonusCalculatorParams
28
28
  yearBonus: number;
29
29
  }
30
30
 
31
- export const getBonusCalculatorParams = (
31
+ export const useBonusCalculatorParams = (
32
32
  context: ContentPageContext,
33
33
  userInputParams: BonusCalculatorUserInputParams,
34
- sourceBookDir,
34
+ sourceBookDir: string,
35
35
  ) => {
36
36
  const { travelExpenseValue, restExpenseValue } = userInputParams;
37
37
  const bonusCalculatorSourceBookParams =
@@ -35,7 +35,7 @@ export type CreditCalculatorData = {
35
35
  rows: CreditCalculatorSourceBookParams[];
36
36
  };
37
37
 
38
- export const getCreditCalculatorParams = (
38
+ export const useCreditCalculatorParams = (
39
39
  context: ContentPageContext,
40
40
  userInputParams: CreditCalculatorUserInputParams,
41
41
  sourceBookDir?: string,
@@ -21,10 +21,10 @@ export const Catalog = JSX<CatalogProps>(
21
21
  return (
22
22
  <BlockWrapper
23
23
  context={context}
24
- className={`bg-white relative font-sans p-9 overflow-hidden text-center ${className}`}
24
+ className={`bg-white relative font-sans p-12 overflow-hidden text-center ${className}`}
25
25
  {...rest}
26
26
  >
27
- {title ? <Heading headingType="h2" className="mb-6" title={title} /> : null}
27
+ {title ? <Heading headingType="h3" className="mb-6" title={title} /> : null}
28
28
  {description ? <Description className="mb-6" description={description} /> : null}
29
29
  <div
30
30
  className="flex duration-1000 gap-3.5"
@@ -22,18 +22,21 @@ export const CatalogCard = JSX<CatalogCardProps>(
22
22
  className={`border border-solid box-border p-[30px] min-w-[402px] flex flex-col justify-left ${className}`}
23
23
  role="listitem"
24
24
  >
25
- {image?.src ? <Img className="mb-5" image={image} /> : null}
25
+ {image?.src ? <Img className="mb-5 flex justify-center" image={image} /> : null}
26
26
  {title ? (
27
- <Heading headingType="h6" as="h5" className="text-left mb-1.5" title={title} />
27
+ <Heading headingType="h6" as="h4" className="text-left mb-1.5" title={title} />
28
+ ) : null}
29
+ {description ? (
30
+ <div className="text-m-md text-left mb-4 font-light">{description}</div>
28
31
  ) : null}
29
- {description ? <div className="text-m-md text-left mb-4">{description}</div> : null}
30
32
  {colors?.length ? (
31
- <div className="flex mb-4 text-m-md text-secondary-text">
32
- Доступные цвета: {colors.map(renderColorOption)}
33
+ <div className="flex mb-4 text-m-md text-secondary-text font-light">
34
+ <div className="mr-1.5">Доступные цвета: </div>
35
+ {colors.map(renderColorOption)}
33
36
  </div>
34
37
  ) : null}
35
- {price ? <div className="text-title-sm text-left">{price}&nbsp;₽</div> : null}
36
- {button?.text ? <Button className="mt-6 w-full" {...button} /> : null}
38
+ {price ? <div className="text-h3 text-left">{price}&nbsp;₽</div> : null}
39
+ {button?.text ? <Button className="mt-5 w-full" {...button} /> : null}
37
40
  </section>
38
41
  );
39
42
  },
@@ -19,7 +19,7 @@ const subtitleStyle = (isFillGradient = false): string =>
19
19
 
20
20
  export const HeaderCell = JSX<HeaderCellProps>(
21
21
  ({ icon, image, title, subtitle, isFillGradient }) => (
22
- <div role="columnheader" scope="col">
22
+ <div role="columnheader">
23
23
  {icon ? (
24
24
  <Img
25
25
  className="h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4"
@@ -32,7 +32,7 @@ export default {
32
32
  className="bg-main"
33
33
  context={context}
34
34
  blocksRegistry={Blocks}
35
- data={normalizePage(data as ContentPageDef)}
35
+ data={normalizePage(data as ContentPageDef) as ContentPageDef}
36
36
  />
37
37
  ),
38
38
  editor: (
@@ -487,7 +487,7 @@
487
487
  "content": {
488
488
  "title": "Потребительский кредит наличными",
489
489
  "description": "Кредит наличными без залога и поручительства. Потребительский кредит на любые цели. Нужен только паспорт.",
490
- "headingType": "h2",
490
+ "headlineVersion": "XL",
491
491
  "backwardButton": {
492
492
  "href": "https://rshb.ru",
493
493
  "text": "Кнопка возврата",
@@ -2355,4 +2355,4 @@
2355
2355
  }
2356
2356
  }
2357
2357
  ]
2358
- }
2358
+ }
@@ -26,7 +26,7 @@ export type BlocksRegistry = Record<string, JSXBlock>;
26
26
 
27
27
  export interface ContentPageProps extends UniBlockProps {
28
28
  blocksRegistry: BlocksRegistry;
29
- data: ContentPageDef;
29
+ data?: ContentPageDef;
30
30
  blockDecorator?: BlockDecorator;
31
31
  }
32
32
 
@@ -45,9 +45,10 @@ export const ContentPage = JSX<ContentPageProps>(
45
45
  className = '',
46
46
  context,
47
47
  blocksRegistry,
48
- data: { style: pageStyle, blocks, slots = {}, likeControl, colorPalette = 'pc' },
48
+ data = {},
49
49
  blockDecorator = defaultBlockDecorator,
50
50
  }) => {
51
+ const { style: pageStyle, blocks, slots = {}, likeControl, colorPalette = 'pc' } = data;
51
52
  const { header } = slots;
52
53
 
53
54
  return (
@@ -36,7 +36,7 @@ export type SetStateHook = <State>(
36
36
  ) => [State, (action: SetStateAction<State>) => void];
37
37
 
38
38
  export interface IntersectionObserverTagProps {
39
- Tag: string;
39
+ tag: keyof HTMLElementTagNameMap;
40
40
  className?: string;
41
41
  anchor?: string;
42
42
  children?: VNode;
@@ -44,9 +44,7 @@ export interface IntersectionObserverTagProps {
44
44
  observerOptions?: IntersectionObserverInit;
45
45
  }
46
46
 
47
- export type IntersectionObserverComponent = (
48
- props: IntersectionObserverTagProps & Record<string, any>,
49
- ) => VNode;
47
+ export type IntersectionObserverComponent = (props: IntersectionObserverTagProps) => VNode;
50
48
 
51
49
  export interface ContentPageContext {
52
50
  useRouter: () => Router;
@@ -1,8 +1,8 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
+ import { VNode as _VNode } from '../../model/VNode';
2
3
  import type { ContentPageMeta } from '../../types';
3
-
4
4
  export interface ContentPageHeadProps {
5
- HeadComponent: <Props, Context, VNode>(props: Props, context?: Context) => VNode;
5
+ HeadComponent: <Props, Context, VNode = _VNode>(props: Props, context?: Context) => VNode;
6
6
  data: ContentPageMeta;
7
7
  }
8
8