@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
@@ -1,4 +1,4 @@
1
- interface SVGPathOptions {
1
+ export interface SVGPathOptions {
2
2
  fill?: string;
3
3
  stroke?: string;
4
4
  strokeLinecap?: 'inherit' | 'butt' | 'round' | 'square';
@@ -6,7 +6,7 @@ interface SVGPathOptions {
6
6
  strokeWidth?: string;
7
7
  strokeMiterlimit?: string;
8
8
  }
9
- interface SVGPath extends SVGPathOptions {
9
+ export interface SVGPath extends SVGPathOptions {
10
10
  d: string;
11
11
  }
12
12
  export interface SVGProps extends SVGPathOptions {
@@ -17,4 +17,3 @@ export interface SVGProps extends SVGPathOptions {
17
17
  height?: string;
18
18
  }
19
19
  export declare const SVG: (props: import("@redneckz/uni-jsx").PropsWithChildren<SVGProps, any>, context?: any) => any;
20
- export {};
@@ -5,12 +5,12 @@ import { Img } from '../Img/Img.js';
5
5
  export const SearchBarInner = JSX(({ className, context, isMobile = false }) => {
6
6
  const { term, setTerm } = context.useSearch();
7
7
  const LoupeIconClassName = isMobile ? 'w-[20px] h-[20px]' : 'w-[24px] h-[24px]';
8
- const SearchBarLabelClassName = isMobile ? 'font-normal text-sm' : 'font-light text-base';
8
+ const SearchBarLabelClassName = isMobile ? 'font-normal text-sm' : 'text-l-light';
9
9
  const SearchBarInputClassName = isMobile
10
10
  ? ' placeholder-transparent font-normal'
11
11
  : 'font-light h-full';
12
12
  const inputPlaceholder = isMobile ? 'some search' : undefined;
13
- return (_jsxs("form", { className: `font-sans relative ${className}`, children: [_jsxs("div", { className: "absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none", children: [_jsx("div", { className: LoupeIconClassName, children: _jsx(Img, { image: "LoupeIcon", width: "24", height: "24" }) }), term ? null : (_jsx("label", { htmlFor: "search-bar-input", className: `text-secondary-text ${SearchBarLabelClassName}`, children: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443" }))] }), _jsx("input", { id: "search-bar-input", className: `h-12 pl-12 w-full peer text-base text-black border border-solid rounded box-border
13
+ return (_jsxs("form", { className: `font-sans relative ${className}`, children: [_jsxs("div", { className: "absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none", children: [_jsx("div", { className: LoupeIconClassName, children: _jsx(Img, { image: "LoupeIcon", width: "24", height: "24" }) }), term ? null : (_jsx("label", { htmlFor: "search-bar-input", className: `text-secondary-text ${SearchBarLabelClassName}`, children: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443" }))] }), _jsx("input", { id: "search-bar-input", className: `h-12 pl-12 w-full peer text-l text-black border border-solid rounded box-border
14
14
  outline-none pr-[6%] border-main-divider focus:border-primary-text ${SearchBarInputClassName}`, value: term, onChange: (e) => setTerm(e.target.value), type: "text", name: "search-bar-input", placeholder: inputPlaceholder }), isMobile ? (_jsx("button", { className: "visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none", onClick: (e) => {
15
15
  e.preventDefault();
16
16
  setTerm('');
@@ -1 +1 @@
1
- {"version":3,"file":"SearchBarInner.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBarInner.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;AAMjC,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAC/B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,GAAG,KAAK,EAAE,EAAE,EAAE;IAC3C,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAE9C,MAAM,kBAAkB,GAAG,QAAQ,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,mBAAmB,CAAC;IAChF,MAAM,uBAAuB,GAAG,QAAQ,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,sBAAsB,CAAC;IAC1F,MAAM,uBAAuB,GAAG,QAAQ;QACtC,CAAC,CAAC,sC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AAC,EAAE,SAAS,GAAG,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC1D,OAAO,CACL,iBACE,SAAS,EAAE,SAAS,EACpB,EAAE,EAAE,EAAE,EACN,IAAI,EAAE,IAAI,IAAI,EAAE,EAChB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,YAExC,QAAQ,GACF,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"Select.js","sourceRoot":"","sources":["../../../src/ui-kit/Select/Select.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAUxC,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CACvB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC1D,OAAO,CACL,iBACE,SAAS,EAAE,SAAS,EACpB,EAAE,EAAE,EAAE,EACN,IAAI,EAAE,IAAI,IAAI,EAAE,EAChB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAe,CAAC,YAElD,QAAQ,GACF,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -15,7 +15,7 @@ export const SwipeListControl = JSX(({ className, context, children, gap = DEFAU
15
15
  children,
16
16
  };
17
17
  const handleScroll = (e) => {
18
- const { scrollLeft, clientWidth, childElementCount, scrollWidth, children: childrenCollection, } = e.currentTarget;
18
+ const { scrollLeft, clientWidth, childElementCount, scrollWidth, children: childrenCollection, } = e?.currentTarget;
19
19
  // horizontal PADDING / 2 to compensate padding-margin combo of child container
20
20
  // without CSS calc function, as wrapper element gets bigger in the DOM, remaining same visually
21
21
  const itemWidth = childrenCollection[0].offsetWidth - padding / 2;
@@ -1 +1 @@
1
- {"version":3,"file":"SwipeListControl.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControl.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EACC,SAAS,EACT,OAAO,EACP,QAAQ,EACR,GAAG,GAAG,WAAW,EACjB,OAAO,GAAG,eAAe,EACzB,QAAQ,GAAG,IAAI,EACf,aAAa,GACd,EAAE,EAAE;IACH,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAS,CAAC,CAAC,CAAC;IAClE,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAS,CAAC,CAAC,CAAC;IAEtE,MAAM,SAAS,GAAG;QAChB,WAAW;QACX,aAAa;QACb,QAAQ;QACR,QAAQ;KACT,CAAC;IAEF,MAAM,YAAY,GAAG,CAAC,CAAU,EAAE,EAAE;QAClC,MAAM,EACJ,UAAU,EACV,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,QAAQ,EAAE,kBAAkB,GAC7B,GAAG,CAAC,CAAC,aAA4B,CAAC;QAEnC,+EAA+E;QAC/E,gGAAgG;QAChG,MAAM,SAAS,GAAI,kBAAkB,CAAC,CAAC,CAAiB,CAAC,WAAW,GAAG,OAAO,GAAG,CAAC,CAAC;QACnF,MAAM,YAAY,GAAG,eAAe,CAAC;YACnC,GAAG;YACH,OAAO;YACP,WAAW;YACX,WAAW;YACX,iBAAiB;YACjB,SAAS;SACV,CAAC,CAAC;QAEH,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,aAAa,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;QACpE,IAAI,KAAK,KAAK,WAAW,IAAI,aAAa,EAAE;YAC1C,aAAa,EAAE,CAAC;SACjB;QACD,cAAc,CAAC,KAAK,CAAC,CAAC;QACtB,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAC7B,CAAC,CAAC;IAEF,OAAO,CACL,eAAK,SAAS,EAAE,SAAS,aACvB,KAAC,oBAAoB,IACnB,GAAG,EAAE,GAAG,EACR,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,YAAY,YAErB,QAAQ,GACY,EACvB,KAAC,oBAAoB,OAAK,SAAS,GAAI,IACnC,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"SwipeListControl.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControl.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EACC,SAAS,EACT,OAAO,EACP,QAAQ,EACR,GAAG,GAAG,WAAW,EACjB,OAAO,GAAG,eAAe,EACzB,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ACJ,CAAC,CACF,CAAC"}
@@ -18,7 +18,7 @@ export const SwipeListControlDots = JSX(({ children, activeIndex, indexFraction,
18
18
  });
19
19
  const getDotStyles = (currentIdx, activeIndex, indexFraction) => {
20
20
  if (currentIdx < activeIndex || currentIdx > activeIndex + 1) {
21
- return null;
21
+ return;
22
22
  }
23
23
  const leftIndexMod = 1 - indexFraction;
24
24
  const rightIndexMod = indexFraction;
@@ -1 +1 @@
1
- {"version":3,"file":"SwipeListControlDots.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControlDots.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,MAAM,UAAU,GAAG,yEAAyE,CAAC;AAC7F,MAAM,cAAc,GAAG,CAAC,CAAC;AACzB,MAAM,uBAAuB,GAAG,EAAE,CAAC;AACnC,MAAM,gBAAgB,GAAG,GAAG,CAAC;AAC7B,MAAM,yBAAyB,GAAG,GAAG,CAAC;AAQtC,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,aAAa,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrD,MAAM,WAAW,GAAG,CAAC,GAAW,EAAE,EAAE,CAAC,CAAC,CAAQ,EAAE,EAAE;QAChD,IAAI,GAAG,KAAK,WAAW,EAAE;YACvB,OAAO;SACR;QAED,MAAM,gBAAgB,GAAI,CAAC,CAAC,aAA6B,CAAC,aAAa;YACrE,EAAE,sBAAsB,CAAC;QAE3B,gBAAgB,EAAE,QAAQ,CAAC,GAAG,CAAC,EAAE,cAAc,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;IAC5F,CAAC,CAAC;IAEF,OAAO,QAAQ,IAAI,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CACpC,cAAK,SAAS,EAAC,+BAA+B,YAC3C,QAAQ,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,CACzB,cAEE,OAAO,EAAE,WAAW,CAAC,GAAG,CAAC,EACzB,SAAS,EAAE,GAAG,UAAU,EAAE,EAC1B,KAAK,EAAE,YAAY,CAAC,GAAG,EAAE,WAAW,EAAE,aAAa,CAAC,yBAH/C,MAAM,CAAC,GAAG,CAAC,CAKhB,CACH,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CACF,CAAC;AAEF,MAAM,YAAY,GAAG,CACnB,UAAkB,EAClB,WAAmB,EACnB,aAAqB,EACU,EAAE;IACjC,IAAI,UAAU,GAAG,WAAW,IAAI,UAAU,GAAG,WAAW,GAAG,CAAC,EAAE;QAC5D,OAAO,IAAI,CAAC;KACb;IAED,MAAM,YAAY,GAAG,CAAC,GAAG,aAAa,CAAC;IACvC,MAAM,aAAa,GAAG,aAAa,CAAC;IAEpC,OAAO,UAAU,KAAK,WAAW;QAC/B,CAAC,CAAC;YACE,OAAO,EAAE,GAAG,gBAAgB,GAAG,yBAAyB,GAAG,YAAY,EAAE;YACzE,KAAK,EAAE,GAAG,cAAc,GAAG,uBAAuB,GAAG,YAAY,IAAI;SACtE;QACH,CAAC,CAAC;YACE,OAAO,EAAE,GAAG,gBAAgB,GAAG,yBAAyB,GAAG,aAAa,EAAE;YAC1E,KAAK,EAAE,GAAG,cAAc,GAAG,uBAAuB,GAAG,aAAa,IAAI;SACvE,CAAC;AACR,CAAC,CAAC"}
1
+ {"version":3,"file":"SwipeListControlDots.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControlDots.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,MAAM,UAAU,GAAG,yEAAyE,CAAC;AAC7F,MAAM,cAAc,GAAG,CAAC,CAAC;AACzB,MAAM,uBAAuB,GAAG,EAAE,CAAC;AACnC,MAAM,gBAAgB,GAAG,GAAG,CAAC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U,KAAK,WAAW;QAC/B,CAAC,CAAC;YACE,OAAO,EAAE,GAAG,gBAAgB,GAAG,yBAAyB,GAAG,YAAY,EAAE;YACzE,KAAK,EAAE,GAAG,cAAc,GAAG,uBAAuB,GAAG,YAAY,IAAI;SACtE;QACH,CAAC,CAAC;YACE,OAAO,EAAE,GAAG,gBAAgB,GAAG,yBAAyB,GAAG,aAAa,EAAE;YAC1E,KAAK,EAAE,GAAG,cAAc,GAAG,uBAAuB,GAAG,aAAa,IAAI;SACvE,CAAC;AACR,CAAC,CAAC"}
@@ -5,6 +5,6 @@ import { SwipeContainer } from './SwipeListControlProps';
5
5
  export interface SwipeListControlListProps extends SwipeContainer {
6
6
  className?: string;
7
7
  activeIndex: number;
8
- onScroll?: (e: UIEvent) => void;
8
+ onScroll?: (e: any) => void;
9
9
  }
10
10
  export declare const SwipeListControlList: (props: import("@redneckz/uni-jsx").PropsWithChildren<SwipeListControlListProps, any>, context?: any) => any;
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
+ import { DEFAULT_GAP, DEFAULT_PADDING } from './constants.js';
3
4
  import { SwipeListControlItem } from './SwipeListControlItem.js';
4
5
  import { getContainerStyle } from './utils/getContainerStyle.js';
5
- import { DEFAULT_GAP, DEFAULT_PADDING } from './constants.js';
6
6
  export const SwipeListControlList = JSX(({ className = '', children, activeIndex, onScroll, gap = DEFAULT_GAP, padding = DEFAULT_PADDING, }) => {
7
7
  return (_jsx("div", { className: `overflow-auto flex horizontal-list no-scrollbar ${className}`, style: { ...getContainerStyle(padding), gap: `${gap}px` }, role: "list", onScroll: onScroll, children: children?.length ? (children?.map((child, idx) => (_jsx(SwipeListControlItem, { style: getContainerStyle(padding / 4), "aria-current": Boolean(activeIndex === idx), children: child }, String(idx))))) : (_jsx(SwipeListControlItem, { children: children })) }));
8
8
  });
@@ -1 +1 @@
1
- {"version":3,"file":"SwipeListControlList.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControlList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAY3D,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,GAAG,GAAG,WAAW,EACjB,OAAO,GAAG,eAAe,GAC1B,EAAE,EAAE;IACH,OAAO,CACL,cACE,SAAS,EAAE,mDAAmD,SAAS,EAAE,EACzE,KAAK,EAAE,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,GAAG,GAAG,IAAI,EAAE,EACzD,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,QAAQ,YAEjB,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAClB,QAAQ,EAAE,GAAG,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC,CAC5B,KAAC,oBAAoB,IAEnB,KAAK,EAAE,iBAAiB,CAAC,OAAO,GAAG,CAAC,CAAC,kBACvB,OAAO,CAAC,WAAW,KAAK,GAAG,CAAC,YAEzC,KAAK,IAJD,MAAM,CAAC,GAAG,CAAC,CAKK,CACxB,CAAC,CACH,CAAC,CAAC,CAAC,CACF,KAAC,oBAAoB,cAAE,QAAQ,GAAwB,CACxD,GACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"SwipeListControlList.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControlList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAW9D,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,GAAG,GAAG,WAAW,EACjB,OAAO,GAAG,eAAe,GAC1B,EAAE,EAAE;IACH,OAAO,CACL,cACE,SAAS,EAAE,mDAAmD,SAAS,EAAE,EACzE,KAAK,EAAE,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,GAAG,GAAG,IAAI,EAAE,EACzD,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,QAAQ,YAEjB,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAClB,QAAQ,EAAE,GAAG,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC,CAC5B,KAAC,oBAAoB,IAEnB,KAAK,EAAE,iBAAiB,CAAC,OAAO,GAAG,CAAC,CAAC,kBACvB,OAAO,CAAC,WAAW,KAAK,GAAG,CAAC,YAEzC,KAAK,IAJD,MAAM,CAAC,GAAG,CAAC,CAKK,CACxB,CAAC,CACH,CAAC,CAAC,CAAC,CACF,KAAC,oBAAoB,cAAE,QAAQ,GAAwB,CACxD,GACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -9,7 +9,7 @@ export const Tabs = JSX(({ tabs, currentTabIndex, onTabClick }) => {
9
9
  const tabDescriptionStyle = (isActive = false) => `font-light text-xs ${isActive ? '' : 'text-secondary-text'}`;
10
10
  const renderTab = (currentTabIndex, onTabClick) => (tab, index) => {
11
11
  const isActive = currentTabIndex === index;
12
- return (_jsxs("div", { className: `flex h-full flex-1 cursor-pointer mr-2 last:mr-0 box-content ${isActive ? ACTIVE_TAB_STYLE : TAB_STYLE}`, role: "tab", onClick: () => onTabClick(index), "aria-selected": String(isActive), children: [tab?.icon ? renderIcon(tab, isActive) : null, _jsxs("div", { children: [tab?.title ? _jsx("h3", { className: "font-medium m-0 text-base", children: tab?.title }) : null, tab?.description ? (_jsx("span", { className: tabDescriptionStyle(isActive), children: tab?.description })) : null] })] }, String(index)));
12
+ return (_jsxs("div", { className: `flex h-full flex-1 cursor-pointer mr-2 last:mr-0 box-content ${isActive ? ACTIVE_TAB_STYLE : TAB_STYLE}`, role: "tab", onClick: () => onTabClick(index), "aria-selected": isActive, children: [tab?.icon ? renderIcon(tab, isActive) : null, _jsxs("div", { children: [tab?.title ? _jsx("h3", { className: "font-medium m-0 text-base", children: tab?.title }) : null, tab?.description ? (_jsx("span", { className: tabDescriptionStyle(isActive), children: tab?.description })) : null] })] }, String(index)));
13
13
  };
14
14
  const renderIcon = (tab, isActive) => (_jsx("div", { className: "h-full mt-1", children: _jsx(Img, { className: `w-5 h-5 mr-3 ${isActive ? 'invert' : ''}`, image: tab?.icon || 'CardIcon', asSVG: !isActive }) }));
15
15
  //# sourceMappingURL=Tabs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.js","sourceRoot":"","sources":["../../../src/ui-kit/Tabs/Tabs.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAGjC,MAAM,SAAS,GAAG,0DAA0D,CAAC;AAC7E,MAAM,gBAAgB,GAAG,gDAAgD,CAAC;AAE1E,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CAAY,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,UAAU,EAAE,EAAE,EAAE;IAC3E,OAAO,CACL,cAAK,SAAS,EAAC,4CAA4C,EAAC,IAAI,EAAC,SAAS,YACvE,IAAI,EAAE,GAAG,CAAC,SAAS,CAAC,eAAe,EAAE,UA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UAAU,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,EAC7C,0BACG,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,aAAI,SAAS,EAAC,2BAA2B,YAAE,GAAG,EAAE,KAAK,GAAM,CAAC,CAAC,CAAC,IAAI,EAC/E,GAAG,EAAE,WAAW,CAAC,CAAC,CAAC,CAClB,eAAM,SAAS,EAAE,mBAAmB,CAAC,QAAQ,CAAC,YAAG,GAAG,EAAE,WAAW,GAAQ,CAC1E,CAAC,CAAC,CAAC,IAAI,IACJ,KAdD,MAAM,CAAC,KAAK,CAAC,CAed,CACP,CAAC;AACJ,CAAC,CAAC;AAEJ,MAAM,UAAU,GAAG,CAAC,GAAQ,EAAE,QAAiB,EAAE,EAAE,CAAC,CAClD,cAAK,SAAS,EAAC,aAAa,YAC1B,KAAC,GAAG,IACF,SAAS,EAAE,gBAAgB,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EAAE,EACrD,KAAK,EAAE,GAAG,EAAE,IAAI,IAAI,UAAU,EAC9B,KAAK,EAAE,CAAC,QAAQ,GAChB,GACE,CACP,CAAC"}
@@ -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
  }
@@ -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 */
@@ -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"
@@ -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
 
@@ -1,4 +1,4 @@
1
- import type { BlockDef, ContentPageDef } from '../../types';
1
+ import type { BlockDef, ContentPageDef, Slot } from '../../types';
2
2
  import { Blocks } from '../Blocks';
3
3
  import { isBlockInRegistry } from './isBlockInRegistry';
4
4
  import { normalizeBlock } from './normalizeBlock';
@@ -7,7 +7,7 @@ export function normalizePage(
7
7
  contentPage: ContentPageDef | undefined | null,
8
8
  ): ContentPageDef | undefined {
9
9
  if (!contentPage) {
10
- return undefined;
10
+ return;
11
11
  }
12
12
 
13
13
  const { blocks, slots } = contentPage;
@@ -22,7 +22,7 @@ export function normalizePage(
22
22
  ...res,
23
23
  [key]: {
24
24
  ...slots[key],
25
- blocks: getMobileBlocks(slots[key].blocks),
25
+ blocks: getMobileBlocks((slots[key] as Slot).blocks),
26
26
  },
27
27
  }),
28
28
  {},
@@ -40,7 +40,7 @@ const renderContact = (item: ContactInfo, index: number) => {
40
40
  return (
41
41
  <div className="mb-4" key={String(index)}>
42
42
  <div>{renderText(type, text)}</div>
43
- <div className="mt-1 font-sans font-light text-sm text-secondary-text">{description}</div>
43
+ <div className="mt-1 font-sans text-s-light text-secondary-text">{description}</div>
44
44
  </div>
45
45
  );
46
46
  };
@@ -54,7 +54,6 @@ export const MediaButton = JSX<MediaButtonProps>(({ href, version = 'primary' })
54
54
  : 'border-main-divider border-solid border-[1px] hover:bg-primary-main';
55
55
 
56
56
  const isPrimary = version === 'primary';
57
- const imageClassName = isPrimary ? 'group-hover:text-white' : '';
58
57
 
59
58
  return (
60
59
  <a
@@ -67,7 +66,7 @@ export const MediaButton = JSX<MediaButtonProps>(({ href, version = 'primary' })
67
66
  rel="noopener noreferrer"
68
67
  >
69
68
  {icon ? (
70
- <Img image={icon} imageClassName={imageClassName} width="24" height="24" asSVG />
69
+ <Img image={icon} imageClassName="group-hover:text-white" width="24" height="24" asSVG />
71
70
  ) : null}
72
71
  </a>
73
72
  );
@@ -31,7 +31,7 @@ const renderColumn = (c: TopMenuItem, index: number, { router, handlerDecorator
31
31
  return (
32
32
  <div key={String(index)} className="flex flex-col w-1/5 last:w-1/4 gap-[14px]">
33
33
  <a
34
- className="block font-sans leading-5 text-base text-primary-text no-underline"
34
+ className="block font-sans leading-5 text-l text-primary-text no-underline"
35
35
  href={href}
36
36
  target={target || '_self'}
37
37
  >
@@ -50,7 +50,7 @@ interface ColumnItemProps extends LinkProps {
50
50
 
51
51
  const ColumnItem = JSX<ColumnItemProps>(({ text, href, target, index }) => (
52
52
  <a
53
- className="block font-sans font-light text-base text-secondary-text hover:text-primary-main no-underline"
53
+ className="block font-sans text-l-light text-secondary-text hover:text-primary-main no-underline"
54
54
  href={href}
55
55
  target={target || '_self'}
56
56
  >
@@ -18,9 +18,7 @@ export const GalleryCardInner = JSX<GalleryCard>(
18
18
  </div>
19
19
  ) : null}
20
20
  {title ? renderCardTitle(title, titleStyleClasses) : null}
21
- {description ? (
22
- <div className={`font-light text-m-md-new ${title ? 'mt-2' : ''}`}>{description}</div>
23
- ) : null}
21
+ {description ? <div className={`text-m${title ? 'mt-2' : ''}`}>{description}</div> : null}
24
22
  {items?.length ? renderItems(items, isDotted, version) : null}
25
23
  </div>
26
24
  {button?.text ? renderButton(button) : null}
@@ -25,7 +25,7 @@ export const GalleryContainer = JSX<GalleryContainerProps>(
25
25
  <div className="flex flex-col items-center mb-8">
26
26
  {title ? <Heading headingType="h2" className="text-center" title={title} /> : null}
27
27
  {description ? (
28
- <div className="font-light text-md max-w-[600px] mt-2.5">{description}</div>
28
+ <div className="text-xl-light max-w-[600px] mt-2.5">{description}</div>
29
29
  ) : null}
30
30
  </div>
31
31
  <div
@@ -13,7 +13,7 @@ export const GracePeriod = JSX<GracePeriodProps>(
13
13
  return (
14
14
  <BlockWrapper className={`font-sans bg-white p-[50px] ${className}`} {...rest}>
15
15
  <Heading headingType="h3" className="text-center" title={title} />
16
- <div className="font-light text-base-md text-center mt-3">{description}</div>
16
+ <div className="text-l-light-md text-center mt-3">{description}</div>
17
17
  {calendar ? renderCalendar(calendar) : null}
18
18
  </BlockWrapper>
19
19
  );
@@ -38,7 +38,7 @@ const renderCalendar = (calendar) => {
38
38
 
39
39
  return (
40
40
  <div className="w-full flex flex-col justify-center mt-[54px]">
41
- <div className="flex w-full mb-3 font-light text-m-title-md text-center">
41
+ <div className="flex w-full mb-3 font-light text-h6 text-center">
42
42
  {mappedCalendar.map((_) => renderMonthNames(_, colSize))}
43
43
  </div>
44
44
  <div className="flex w-full">