@redneckz/wildless-cms-uni-blocks 0.13.23 → 0.13.24

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 (338) hide show
  1. package/bin/migration-scripts/0.13.15.js +25 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +47 -32
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/Carousel/visibleItemCount.d.ts +1 -0
  6. package/bundle/components/Carousel/visibleItemCount.mobile.d.ts +1 -0
  7. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.d.ts +1 -1
  8. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -3
  9. package/bundle/components/Footer/FooterContent.d.ts +4 -1
  10. package/bundle/components/Footer/FooterDataProps.d.ts +4 -10
  11. package/bundle/components/Footer/MediaButton.d.ts +2 -3
  12. package/bundle/components/Footer/{buttonSizeStyles.d.ts → buttonSizeStyle.d.ts} +1 -1
  13. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +1 -1
  14. package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -0
  15. package/bundle/ui-kit/BaseTile/BaseTile.d.ts +1 -0
  16. package/bundle/ui-kit/RichText/getHtmlText.d.ts +1 -0
  17. package/cosmos-static/icons/MailIcon.svg +1 -1
  18. package/cosmos-static/icons/PhoneIcon.svg +1 -1
  19. package/cosmos-static/icons/RutubeIcon.svg +1 -1
  20. package/dist/components/Calculator/Calculator.mobile.js +1 -1
  21. package/dist/components/Calculator/Calculator.mobile.js.map +1 -1
  22. package/dist/components/Calculator/useRefinancingCalculatorParams.js +0 -3
  23. package/dist/components/Calculator/useRefinancingCalculatorParams.js.map +1 -1
  24. package/dist/components/Carousel/Carousel.js +2 -1
  25. package/dist/components/Carousel/Carousel.js.map +1 -1
  26. package/dist/components/Carousel/visibleItemCount.d.ts +1 -0
  27. package/dist/components/Carousel/visibleItemCount.js +4 -0
  28. package/dist/components/Carousel/visibleItemCount.js.map +1 -0
  29. package/dist/components/Carousel/visibleItemCount.mobile.d.ts +1 -0
  30. package/dist/components/Carousel/visibleItemCount.mobile.js +4 -0
  31. package/dist/components/Carousel/visibleItemCount.mobile.js.map +1 -0
  32. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -0
  33. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  34. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.d.ts +1 -1
  35. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
  36. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -3
  37. package/dist/components/Footer/Footer.js +4 -3
  38. package/dist/components/Footer/Footer.js.map +1 -1
  39. package/dist/components/Footer/FooterContent.d.ts +4 -1
  40. package/dist/components/Footer/FooterDataProps.d.ts +4 -10
  41. package/dist/components/Footer/MediaButton.d.ts +2 -3
  42. package/dist/components/Footer/MediaButton.js +5 -4
  43. package/dist/components/Footer/MediaButton.js.map +1 -1
  44. package/dist/components/Footer/SocialMedia.js +1 -1
  45. package/dist/components/Footer/SocialMedia.js.map +1 -1
  46. package/{lib/components/Footer/buttonSizeStyles.d.ts → dist/components/Footer/buttonSizeStyle.d.ts} +1 -1
  47. package/{mobile/dist/components/Footer/buttonSizeStyles.js → dist/components/Footer/buttonSizeStyle.js} +3 -3
  48. package/dist/components/Footer/buttonSizeStyle.js.map +1 -0
  49. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  50. package/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -1
  51. package/dist/components/ProductBlock/renderBackwardButton.js +1 -1
  52. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  53. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +12 -3
  54. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  55. package/dist/components/StepsBlock/StepsBlock.mobile.js +1 -1
  56. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  57. package/dist/icons/IconName.js +1 -1
  58. package/dist/icons/IconName.js.map +1 -1
  59. package/dist/ui-kit/BaseProductTile/BaseProductTile.js +2 -2
  60. package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  61. package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -0
  62. package/dist/ui-kit/BaseTile/BaseTile.d.ts +1 -0
  63. package/dist/ui-kit/BaseTile/BaseTile.js +2 -2
  64. package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  65. package/dist/ui-kit/Button/buttonClassNameConstants.js +2 -2
  66. package/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  67. package/dist/ui-kit/Button/renderButtonsSection.js +11 -4
  68. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  69. package/dist/ui-kit/Logo/Logo.js +1 -1
  70. package/dist/ui-kit/Logo/Logo.js.map +1 -1
  71. package/dist/ui-kit/RichText/RichText.js +2 -1
  72. package/dist/ui-kit/RichText/RichText.js.map +1 -1
  73. package/dist/ui-kit/RichText/getHtmlText.d.ts +1 -0
  74. package/dist/ui-kit/RichText/getHtmlText.js +5 -0
  75. package/dist/ui-kit/RichText/getHtmlText.js.map +1 -0
  76. package/lib/common.css +1 -1
  77. package/lib/components/Calculator/Calculator.mobile.js +1 -1
  78. package/lib/components/Calculator/Calculator.mobile.js.map +1 -1
  79. package/lib/components/Calculator/useRefinancingCalculatorParams.js +0 -3
  80. package/lib/components/Calculator/useRefinancingCalculatorParams.js.map +1 -1
  81. package/lib/components/Carousel/Carousel.js +2 -1
  82. package/lib/components/Carousel/Carousel.js.map +1 -1
  83. package/lib/components/Carousel/visibleItemCount.d.ts +1 -0
  84. package/lib/components/Carousel/visibleItemCount.js +2 -0
  85. package/lib/components/Carousel/visibleItemCount.js.map +1 -0
  86. package/lib/components/Carousel/visibleItemCount.mobile.d.ts +1 -0
  87. package/lib/components/Carousel/visibleItemCount.mobile.js +2 -0
  88. package/lib/components/Carousel/visibleItemCount.mobile.js.map +1 -0
  89. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -0
  90. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  91. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.d.ts +1 -1
  92. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
  93. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -3
  94. package/lib/components/Footer/Footer.js +4 -3
  95. package/lib/components/Footer/Footer.js.map +1 -1
  96. package/lib/components/Footer/FooterContent.d.ts +4 -1
  97. package/lib/components/Footer/FooterDataProps.d.ts +4 -10
  98. package/lib/components/Footer/MediaButton.d.ts +2 -3
  99. package/lib/components/Footer/MediaButton.js +5 -4
  100. package/lib/components/Footer/MediaButton.js.map +1 -1
  101. package/lib/components/Footer/SocialMedia.js +1 -1
  102. package/lib/components/Footer/SocialMedia.js.map +1 -1
  103. package/{dist/components/Footer/buttonSizeStyles.d.ts → lib/components/Footer/buttonSizeStyle.d.ts} +1 -1
  104. package/lib/components/Footer/buttonSizeStyle.js +5 -0
  105. package/lib/components/Footer/buttonSizeStyle.js.map +1 -0
  106. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  107. package/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -1
  108. package/lib/components/ProductBlock/renderBackwardButton.js +1 -1
  109. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  110. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +12 -3
  111. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  112. package/lib/components/StepsBlock/StepsBlock.mobile.js +1 -1
  113. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  114. package/lib/components/Tile/Tile.fixture.mobile.d.ts +9 -0
  115. package/lib/icons/IconName.js +1 -1
  116. package/lib/icons/IconName.js.map +1 -1
  117. package/lib/ui-kit/BaseProductTile/BaseProductTile.js +2 -2
  118. package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  119. package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -0
  120. package/lib/ui-kit/BaseTile/BaseTile.d.ts +1 -0
  121. package/lib/ui-kit/BaseTile/BaseTile.js +2 -2
  122. package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  123. package/lib/ui-kit/Button/buttonClassNameConstants.js +2 -2
  124. package/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  125. package/lib/ui-kit/Button/renderButtonsSection.js +11 -4
  126. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  127. package/lib/ui-kit/Logo/Logo.js +1 -1
  128. package/lib/ui-kit/Logo/Logo.js.map +1 -1
  129. package/lib/ui-kit/RichText/RichText.js +2 -1
  130. package/lib/ui-kit/RichText/RichText.js.map +1 -1
  131. package/lib/ui-kit/RichText/getHtmlText.d.ts +1 -0
  132. package/lib/ui-kit/RichText/getHtmlText.js +2 -0
  133. package/lib/ui-kit/RichText/getHtmlText.js.map +1 -0
  134. package/mobile/bundle/bundle.umd.js +45 -31
  135. package/mobile/bundle/bundle.umd.min.js +1 -1
  136. package/mobile/bundle/components/Carousel/visibleItemCount.d.ts +1 -0
  137. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  138. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -3
  139. package/mobile/bundle/components/Footer/FooterContent.d.ts +4 -1
  140. package/mobile/bundle/components/Footer/FooterDataProps.d.ts +4 -10
  141. package/mobile/bundle/components/Footer/MediaButton.d.ts +2 -3
  142. package/mobile/bundle/components/Footer/{buttonSizeStyles.d.ts → buttonSizeStyle.d.ts} +1 -1
  143. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +1 -1
  144. package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -0
  145. package/mobile/bundle/ui-kit/BaseTile/BaseTile.d.ts +1 -0
  146. package/mobile/bundle/ui-kit/RichText/getHtmlText.d.ts +1 -0
  147. package/mobile/dist/components/Calculator/Calculator.js +1 -1
  148. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  149. package/mobile/dist/components/Calculator/useRefinancingCalculatorParams.js +0 -3
  150. package/mobile/dist/components/Calculator/useRefinancingCalculatorParams.js.map +1 -1
  151. package/mobile/dist/components/Carousel/Carousel.js +2 -1
  152. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  153. package/mobile/dist/components/Carousel/visibleItemCount.d.ts +1 -0
  154. package/mobile/dist/components/Carousel/visibleItemCount.js +4 -0
  155. package/mobile/dist/components/Carousel/visibleItemCount.js.map +1 -0
  156. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  157. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  158. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -3
  159. package/mobile/dist/components/Footer/FooterContent.d.ts +4 -1
  160. package/mobile/dist/components/Footer/FooterDataProps.d.ts +4 -10
  161. package/mobile/dist/components/Footer/MediaButton.d.ts +2 -3
  162. package/mobile/dist/components/Footer/MediaButton.js +5 -4
  163. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  164. package/mobile/dist/components/Footer/SocialMedia.js +1 -1
  165. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  166. package/mobile/dist/components/Footer/buttonSizeStyle.d.ts +4 -0
  167. package/{dist/components/Footer/buttonSizeStyles.js → mobile/dist/components/Footer/buttonSizeStyle.js} +3 -3
  168. package/mobile/dist/components/Footer/buttonSizeStyle.js.map +1 -0
  169. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  170. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -1
  171. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +1 -1
  172. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  173. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +12 -3
  174. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  175. package/mobile/dist/components/StepsBlock/StepsBlock.js +1 -1
  176. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  177. package/mobile/dist/icons/IconName.js +1 -1
  178. package/mobile/dist/icons/IconName.js.map +1 -1
  179. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +2 -2
  180. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  181. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -0
  182. package/mobile/dist/ui-kit/BaseTile/BaseTile.d.ts +1 -0
  183. package/mobile/dist/ui-kit/BaseTile/BaseTile.js +2 -2
  184. package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  185. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js +2 -2
  186. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  187. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +11 -4
  188. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  189. package/mobile/dist/ui-kit/Logo/Logo.js +1 -1
  190. package/mobile/dist/ui-kit/Logo/Logo.js.map +1 -1
  191. package/mobile/dist/ui-kit/RichText/RichText.js +2 -1
  192. package/mobile/dist/ui-kit/RichText/RichText.js.map +1 -1
  193. package/mobile/dist/ui-kit/RichText/getHtmlText.d.ts +1 -0
  194. package/mobile/dist/ui-kit/RichText/getHtmlText.js +5 -0
  195. package/mobile/dist/ui-kit/RichText/getHtmlText.js.map +1 -0
  196. package/mobile/lib/common.css +1 -1
  197. package/mobile/lib/components/Calculator/Calculator.js +1 -1
  198. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  199. package/mobile/lib/components/Calculator/useRefinancingCalculatorParams.js +0 -3
  200. package/mobile/lib/components/Calculator/useRefinancingCalculatorParams.js.map +1 -1
  201. package/mobile/lib/components/Carousel/Carousel.js +2 -1
  202. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  203. package/mobile/lib/components/Carousel/visibleItemCount.d.ts +1 -0
  204. package/mobile/lib/components/Carousel/visibleItemCount.js +2 -0
  205. package/mobile/lib/components/Carousel/visibleItemCount.js.map +1 -0
  206. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  207. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  208. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -3
  209. package/mobile/lib/components/Footer/FooterContent.d.ts +4 -1
  210. package/mobile/lib/components/Footer/FooterDataProps.d.ts +4 -10
  211. package/mobile/lib/components/Footer/MediaButton.d.ts +2 -3
  212. package/mobile/lib/components/Footer/MediaButton.js +5 -4
  213. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  214. package/mobile/lib/components/Footer/SocialMedia.js +1 -1
  215. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  216. package/mobile/lib/components/Footer/buttonSizeStyle.d.ts +4 -0
  217. package/mobile/lib/components/Footer/buttonSizeStyle.js +5 -0
  218. package/mobile/lib/components/Footer/buttonSizeStyle.js.map +1 -0
  219. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  220. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -1
  221. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +1 -1
  222. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  223. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +12 -3
  224. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  225. package/mobile/lib/components/StepsBlock/StepsBlock.js +1 -1
  226. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  227. package/mobile/lib/icons/IconName.js +1 -1
  228. package/mobile/lib/icons/IconName.js.map +1 -1
  229. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +2 -2
  230. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  231. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -0
  232. package/mobile/lib/ui-kit/BaseTile/BaseTile.d.ts +1 -0
  233. package/mobile/lib/ui-kit/BaseTile/BaseTile.js +2 -2
  234. package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  235. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js +2 -2
  236. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  237. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +11 -4
  238. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  239. package/mobile/lib/ui-kit/Logo/Logo.js +1 -1
  240. package/mobile/lib/ui-kit/Logo/Logo.js.map +1 -1
  241. package/mobile/lib/ui-kit/RichText/RichText.js +2 -1
  242. package/mobile/lib/ui-kit/RichText/RichText.js.map +1 -1
  243. package/mobile/lib/ui-kit/RichText/getHtmlText.d.ts +1 -0
  244. package/mobile/lib/ui-kit/RichText/getHtmlText.js +2 -0
  245. package/mobile/lib/ui-kit/RichText/getHtmlText.js.map +1 -0
  246. package/mobile/src/components/Calculator/Calculator.tsx +1 -1
  247. package/mobile/src/components/Calculator/useRefinancingCalculatorParams.ts +1 -8
  248. package/mobile/src/components/Carousel/Carousel.example.json +0 -1
  249. package/mobile/src/components/Carousel/Carousel.tsx +2 -1
  250. package/mobile/src/components/Carousel/visibleItemCount.ts +1 -0
  251. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +2 -2
  252. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -4
  253. package/mobile/src/components/Footer/FooterContent.ts +5 -1
  254. package/mobile/src/components/Footer/FooterDataProps.ts +4 -10
  255. package/mobile/src/components/Footer/MediaButton.tsx +34 -39
  256. package/mobile/src/components/Footer/SocialMedia.tsx +2 -2
  257. package/mobile/src/components/Footer/{buttonSizeStyles.ts → buttonSizeStyle.ts} +1 -1
  258. package/mobile/src/components/ProductBlock/ProductBlock.tsx +0 -1
  259. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +1 -1
  260. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +1 -1
  261. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +2 -0
  262. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +33 -17
  263. package/mobile/src/components/StepsBlock/StepsBlock.tsx +2 -1
  264. package/mobile/src/icons/IconName.ts +1 -1
  265. package/mobile/src/icons/MailIcon.svg +4 -1
  266. package/mobile/src/icons/PhoneIcon.svg +3 -1
  267. package/mobile/src/icons/RutubeIcon.svg +1 -1
  268. package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +7 -1
  269. package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +2 -0
  270. package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +9 -2
  271. package/mobile/src/ui-kit/Button/buttonClassNameConstants.ts +2 -2
  272. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +14 -5
  273. package/mobile/src/ui-kit/Logo/Logo.tsx +1 -1
  274. package/mobile/src/ui-kit/RichText/RichText.tsx +3 -2
  275. package/mobile/src/ui-kit/RichText/getHtmlText.tsx +1 -0
  276. package/package.json +1 -1
  277. package/src/components/Calculator/Calculator.mobile.tsx +1 -1
  278. package/src/components/Calculator/useRefinancingCalculatorParams.ts +1 -8
  279. package/src/components/Carousel/Carousel.example.json +0 -1
  280. package/src/components/Carousel/Carousel.fixture.tsx +3 -0
  281. package/src/components/Carousel/Carousel.tsx +2 -1
  282. package/src/components/Carousel/visibleItemCount.mobile.ts +1 -0
  283. package/src/components/Carousel/visibleItemCount.ts +1 -0
  284. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.tsx +4 -18
  285. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +4 -18
  286. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.tsx +2 -2
  287. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -0
  288. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -4
  289. package/src/components/Footer/Footer.tsx +4 -3
  290. package/src/components/Footer/FooterContent.ts +5 -1
  291. package/src/components/Footer/FooterDataProps.ts +4 -10
  292. package/src/components/Footer/MediaButton.tsx +34 -39
  293. package/src/components/Footer/SocialMedia.tsx +2 -2
  294. package/src/components/Footer/{buttonSizeStyles.ts → buttonSizeStyle.ts} +1 -1
  295. package/src/components/ProductBlock/ProductBlock.tsx +0 -1
  296. package/src/components/ProductBlock/ProductBlockContent.ts +1 -1
  297. package/src/components/ProductBlock/renderBackwardButton.tsx +1 -1
  298. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +2 -0
  299. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +3 -3
  300. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +33 -17
  301. package/src/components/StepsBlock/StepsBlock.mobile.tsx +2 -1
  302. package/src/components/Tile/Tile.fixture.mobile.tsx +48 -0
  303. package/src/icons/IconName.ts +0 -2
  304. package/src/icons/MailIcon.svg +4 -1
  305. package/src/icons/PhoneIcon.svg +3 -1
  306. package/src/icons/RutubeIcon.svg +1 -1
  307. package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +7 -1
  308. package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +2 -0
  309. package/src/ui-kit/BaseTile/BaseTile.tsx +9 -2
  310. package/src/ui-kit/Button/buttonClassNameConstants.ts +2 -2
  311. package/src/ui-kit/Button/renderButtonsSection.tsx +14 -5
  312. package/src/ui-kit/Logo/Logo.tsx +1 -1
  313. package/src/ui-kit/RichText/RichText.tsx +3 -2
  314. package/src/ui-kit/RichText/getHtmlText.tsx +1 -0
  315. package/bundle/components/Footer/buttonStylesWithText.d.ts +0 -2
  316. package/dist/components/Footer/buttonSizeStyles.js.map +0 -1
  317. package/dist/components/Footer/buttonStylesWithText.d.ts +0 -2
  318. package/dist/components/Footer/buttonStylesWithText.js +0 -9
  319. package/dist/components/Footer/buttonStylesWithText.js.map +0 -1
  320. package/lib/components/Footer/buttonSizeStyles.js +0 -5
  321. package/lib/components/Footer/buttonSizeStyles.js.map +0 -1
  322. package/lib/components/Footer/buttonStylesWithText.d.ts +0 -2
  323. package/lib/components/Footer/buttonStylesWithText.js +0 -6
  324. package/lib/components/Footer/buttonStylesWithText.js.map +0 -1
  325. package/mobile/bundle/components/Footer/buttonStylesWithText.d.ts +0 -2
  326. package/mobile/dist/components/Footer/buttonSizeStyles.d.ts +0 -4
  327. package/mobile/dist/components/Footer/buttonSizeStyles.js.map +0 -1
  328. package/mobile/dist/components/Footer/buttonStylesWithText.d.ts +0 -2
  329. package/mobile/dist/components/Footer/buttonStylesWithText.js +0 -9
  330. package/mobile/dist/components/Footer/buttonStylesWithText.js.map +0 -1
  331. package/mobile/lib/components/Footer/buttonSizeStyles.d.ts +0 -4
  332. package/mobile/lib/components/Footer/buttonSizeStyles.js +0 -5
  333. package/mobile/lib/components/Footer/buttonSizeStyles.js.map +0 -1
  334. package/mobile/lib/components/Footer/buttonStylesWithText.d.ts +0 -2
  335. package/mobile/lib/components/Footer/buttonStylesWithText.js +0 -6
  336. package/mobile/lib/components/Footer/buttonStylesWithText.js.map +0 -1
  337. package/mobile/src/components/Footer/buttonStylesWithText.ts +0 -11
  338. package/src/components/Footer/buttonStylesWithText.ts +0 -11
@@ -614,7 +614,7 @@
614
614
  primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
615
615
  secondary: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
616
616
  white: 'text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main',
617
- link: '',
617
+ link: 'text-primary-main',
618
618
  transparent: '',
619
619
  gray: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
620
620
  '': '',
@@ -634,7 +634,7 @@
634
634
  primary: 'group-hover/btn:brightness-0 group-hover/btn:invert',
635
635
  secondary: 'group-hover/btn:brightness-0 group-hover/btn:invert',
636
636
  white: 'group-hover/btn:brightness-0 group-hover/btn:invert',
637
- link: '',
637
+ link: 'text-primary-main',
638
638
  transparent: '',
639
639
  gray: 'group-hover/btn:brightness-0 group-hover/btn:invert',
640
640
  '': '',
@@ -1335,12 +1335,19 @@
1335
1335
  const renderButtonsSection = (buttons, { className, buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? (jsx("div", { className: style('flex', isVertical ? 'flex-col gap-xs justify-items-stretch' : 'flex-wrap gap-m', className), children: buttons.map(renderButton$1(buttonClassName)) })) : null;
1336
1336
  const renderButton$1 = (buttonClassName = '') => (button, index) => {
1337
1337
  const { text, icon, iconRight, version, ...rest } = button || {};
1338
- const iconVersionDefault = version === 'secondary' ? 'color' : 'white';
1339
- const iconVersion = icon?.iconVersion ? icon?.iconVersion : iconVersionDefault;
1340
- return text || icon?.icon ? (jsx(Button, { className: style('basis-full sm:basis-auto', buttonClassName), appendLeft: renderButtonIcon({ ...icon, iconVersion }), appendRight: renderButtonIcon({ ...iconRight, iconVersion }), version: version, text: text, ...rest }, index ? String(index) : '')) : null;
1338
+ const iconVersion = getIconVersion(icon, version);
1339
+ const iconRightVersion = getIconVersion(iconRight, version);
1340
+ return text || icon?.icon ? (jsx(Button, { className: style('basis-full sm:basis-auto', buttonClassName), appendLeft: renderButtonIcon({ ...icon, iconVersion }), appendRight: renderButtonIcon({ ...iconRight, iconVersion: iconRightVersion }), version: version, text: text, ...rest }, index ? String(index) : '')) : null;
1341
1341
  };
1342
1342
  const DEFAULT_ICON_W = 24;
1343
- const renderButtonIcon = (icon) => icon?.icon || icon?.src ? (jsx(Img, { image: icon, width: String(icon?.size?.width || DEFAULT_ICON_W), height: String(DEFAULT_ICON_W) })) : null;
1343
+ const getIconVersion = (icon, version = 'secondary') => {
1344
+ const iconVersionDefault = version === 'secondary' ? 'color' : 'white';
1345
+ return icon?.iconVersion ? icon?.iconVersion : iconVersionDefault;
1346
+ };
1347
+ const renderButtonIcon = (icon) => {
1348
+ console.log(icon);
1349
+ return icon?.icon || icon?.src ? (jsx(Img, { image: icon, width: String(icon?.size?.width || DEFAULT_ICON_W), height: String(DEFAULT_ICON_W) })) : null;
1350
+ };
1344
1351
 
1345
1352
  const headlineVersionStyles = {
1346
1353
  XXL: {
@@ -2240,7 +2247,6 @@
2240
2247
  paramsViewSettings,
2241
2248
  });
2242
2249
  const { minSum, maxSum } = getLimitRangeByKeys(['minSum', 'maxSum'], sourceBookLimitParams, rateRows);
2243
- const { minSumOld, maxSumOld } = getLimitRangeByKeys(['minSumOld', 'maxSumOld'], sourceBookLimitParams, rateRows);
2244
2250
  const { minMonths, maxMonths } = getLimitRangeByKeys(['minMonths', 'maxMonths'], sourceBookLimitParams, rateRows);
2245
2251
  const refinancingCalculatorSourceBookRateParams = getRefinancingCalculatorRateParams({
2246
2252
  rateRows,
@@ -2259,8 +2265,6 @@
2259
2265
  ...userInputParams,
2260
2266
  minSum,
2261
2267
  maxSum,
2262
- minSumOld,
2263
- maxSumOld,
2264
2268
  minMonths,
2265
2269
  maxMonths,
2266
2270
  moneyValue,
@@ -2348,7 +2352,7 @@
2348
2352
  return tabs.map((tab, index) => (jsx(Foldable, { isFoldButtonOnTop: true, unfoldedByDefault: index === 0, renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { isUnfolded: isUnfolded, children: jsx(BlockWrapper, { children: renderCalculator(tab) }) })), renderFoldButton: renderFoldButton$2(tab) }, index.toString())));
2349
2353
  };
2350
2354
  const renderFoldButton$2 = (tab) => ({ isUnfolded, onToggle }) => {
2351
- return (jsxs("button", { onClick: onToggle, className: "w-full p-xl bg-green flex items-center border-b border-white", children: [jsx("div", { className: "w-11 h-11 bg-white rounded-md flex justify-center items-center", children: jsx(Icon, { name: tab.nav?.icon?.icon, iconVersion: "color", width: "24", height: "24" }) }), jsxs("div", { className: "flex-1 flex flex-col pl-s", children: [jsx(Text, { align: "text-left", color: "text-white", children: tab.nav?.title }), jsx(Text, { align: "text-left", size: "text-s", color: "text-white", font: "font-light", children: tab.nav?.description })] }), jsx(Icon, { name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', iconVersion: "white", width: "24", height: "24" })] }));
2355
+ return (jsxs("button", { onClick: onToggle, className: "w-full p-xl bg-primary-main flex items-center border-b border-white", children: [jsx("div", { className: "w-11 h-11 bg-white rounded-md flex justify-center items-center", children: jsx(Icon, { name: tab.nav?.icon?.icon, iconVersion: "color", width: "24", height: "24" }) }), jsxs("div", { className: "flex-1 flex flex-col pl-s", children: [jsx(Text, { align: "text-left", color: "text-white", children: tab.nav?.title }), jsx(Text, { align: "text-left", size: "text-s", color: "text-white", font: "font-light", children: tab.nav?.description })] }), jsx(Icon, { name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', iconVersion: "white", width: "24", height: "24" })] }));
2352
2356
  };
2353
2357
 
2354
2358
  const NumberInput = JSX((props) => {
@@ -2525,7 +2529,9 @@
2525
2529
  'border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider');
2526
2530
  const isCardHighlighted = (_) => _?.content && 'isHighlighting' in _.content && _.content.isHighlighting;
2527
2531
 
2528
- const Carousel = JSX(({ className, itemCount, visibleItemCount = 0, noCardBorder, isAlignCenter, arrowsPadded = true, isGap = true, cardSize = 'normal', ...rest }) => {
2532
+ const VISIBLE_ITEM_COUNT = 0;
2533
+
2534
+ const Carousel = JSX(({ className, itemCount, visibleItemCount = VISIBLE_ITEM_COUNT, noCardBorder, isAlignCenter, arrowsPadded = true, isGap = true, cardSize = 'normal', ...rest }) => {
2529
2535
  const { blocks: childBlocks = [] } = rest.block || {};
2530
2536
  const count = itemCount || childBlocks?.length;
2531
2537
  const [activeIndex, { inc: increaseActiveIndex, dec: decreaseActiveIndex }] = useCarouselControls({
@@ -2644,8 +2650,8 @@
2644
2650
  center: '@lg:self-center',
2645
2651
  end: '@lg:self-end',
2646
2652
  };
2647
- const BaseTile = JSX(({ className, defaultPadding, padding, title = '', insetTitle = '', buttons, leftImage, rightImage, imageAlign, backImage, children, }) => (jsxs("div", { className: style('relative flex flex-col gap-3xl font-sans overflow-hidden', padding || defaultPadding, className), children: [title ? jsx("div", { className: "relative", children: title }) : null, jsxs("div", { className: "grow relative flex flex-col @lg:flex-row justify-around @lg:justify-between items-stretch gap-3xl", children: [renderImageContainer(leftImage, { imageAlign }), jsxs("div", { className: style('flex flex-col gap-3xl max-w-[600px] @xl:max-w-[728px]', leftImage ? '' : 'grow'), children: [insetTitle, jsx("div", { className: "grow", children: children }), backImage ? (jsx("div", { className: "justify-center mx-auto sm:absolute sm:-z-10 sm:-bottom-4 sm:-right-4", children: backImage })) : null, buttons] }), renderImageContainer(rightImage, {
2648
- className: '-order-1 @xl:order-1',
2653
+ const BaseTile = JSX(({ className, defaultPadding, padding, title = '', insetTitle = '', buttons, leftImage, rightImage, imageAlign, backImage, isImageAlwaysOnRight = false, children, }) => (jsxs("div", { className: style('relative flex flex-col gap-3xl font-sans overflow-hidden', padding || defaultPadding, className), children: [title ? jsx("div", { className: "relative", children: title }) : null, jsxs("div", { className: style('grow relative flex justify-around @lg:justify-between items-stretch gap-3xl', isImageAlwaysOnRight ? 'flex-row' : 'flex-col @lg:flex-row'), children: [renderImageContainer(leftImage, { imageAlign }), jsxs("div", { className: style('flex flex-col gap-3xl max-w-[600px] @xl:max-w-[728px]', leftImage ? '' : 'grow'), children: [insetTitle, jsx("div", { className: "grow", children: children }), backImage ? (jsx("div", { className: "justify-center mx-auto sm:absolute sm:-z-10 sm:-bottom-4 sm:-right-4", children: backImage })) : null, buttons] }), renderImageContainer(rightImage, {
2654
+ className: isImageAlwaysOnRight ? '' : '-order-1 @xl:order-1',
2649
2655
  imageAlign,
2650
2656
  })] })] })));
2651
2657
  const renderImageContainer = (image, { className, imageAlign }) => image ? (jsx("div", { className: style('md:flex-shrink-0 self-center', imageAlign && imageAlignmentMap[imageAlign], className), children: image })) : null;
@@ -2660,9 +2666,11 @@
2660
2666
  ? 'bg-secondary-light text-primary-main'
2661
2667
  : 'bg-primary-main text-black group-data-secondary:bg-white/30 group-data-secondary:text-black'), children: jsx(Img, { className: "w-6 h-6", image: { ...icon, iconVersion: icon.iconVersion || benefitsVersion } }) })) : null;
2662
2668
 
2669
+ const getHtmlText = (html) => html.replace(/<\/?[^>]+\/?>/g, '').trim();
2670
+
2663
2671
  const RichText = JSX((props) => {
2664
2672
  const { __html = '', richVersion = '' } = props;
2665
- return (jsx("div", { className: style(richVersion, 'md-container'), dangerouslySetInnerHTML: { __html } }));
2673
+ return getHtmlText(__html) ? (jsx("div", { className: style(richVersion, 'md-container'), dangerouslySetInnerHTML: { __html } })) : null;
2666
2674
  });
2667
2675
 
2668
2676
  const renderBenefitDescription = (description, i) => description ? (jsx(Paragraph, { font: "font-light", size: "text-m", color: "text-secondary-text group-data-secondary:text-white", children: description }, `description-${i}`)) : null;
@@ -2692,11 +2700,11 @@
2692
2700
  const Tags = JSX(({ className, tags }) => tags?.length ? (jsx("div", { className: style('flex flex-wrap gap-xs', className), role: "list", children: tags.map(renderTag) })) : null);
2693
2701
  const renderTag = (tag, key) => (jsx("div", { className: "p-xs border-solid border rounded-md border-gray", role: "listitem", children: jsx(Text, { size: "text-m", font: "font-light", children: tag }) }, String(key)));
2694
2702
 
2695
- const BaseProductTile = JSX(({ className, padding, defaultPadding, title, description, headlineVersion = 'L', align = 'text-left', benefitsVersion, isTabularBenefits, benefits, __html, isFullWidthTitle = true, items, isDotted = true, listItemSize, tags = [], buttons, image, imageOptions: { imageAlign = 'end', directionRight = true, isBackground } = {}, children, }) => {
2703
+ const BaseProductTile = JSX(({ className, padding, defaultPadding, title, description, headlineVersion = 'L', align = 'text-left', benefitsVersion, isTabularBenefits, benefits, __html, isFullWidthTitle = true, items, isDotted = true, listItemSize, tags = [], buttons, image, imageOptions: { imageAlign = 'end', directionRight = true, isBackground, isImageAlwaysOnRight, } = {}, children, }) => {
2696
2704
  const img = image?.src ? jsx(Img, { image: image }) : null;
2697
2705
  const headline = (jsx(Headline, { title: title, description: description, headlineVersion: headlineVersion, align: align, isEmbedded: true }));
2698
2706
  const filteredBenefits = benefits?.filter((_) => _?.type === 'rte' || 'label' in _ || 'description' in _);
2699
- return (jsx(BaseTile, { className: className, padding: padding, defaultPadding: defaultPadding, ...(isFullWidthTitle ? { insetTitle: headline } : { title: headline }), ...(isBackground ? { backImage: img } : leftOrRightImage(img, directionRight)), imageAlign: imageAlign, buttons: renderButtonsSection(buttons), children: jsxs("div", { className: "flex flex-col gap-xl", children: [filteredBenefits?.length ? (jsx(BenefitsList, { benefitsVersion: benefitsVersion, isTabularBenefits: isTabularBenefits, benefits: filteredBenefits })) : null, __html ? jsx(RichText, { __html: __html }) : null, items?.length ? (jsx(List, { items: items, isDotted: isDotted, listItemSize: listItemSize })) : null, children, renderTags(tags)] }) }));
2707
+ return (jsx(BaseTile, { className: className, padding: padding, defaultPadding: defaultPadding, ...(isFullWidthTitle ? { insetTitle: headline } : { title: headline }), ...(isBackground ? { backImage: img } : leftOrRightImage(img, directionRight)), imageAlign: imageAlign, isImageAlwaysOnRight: isImageAlwaysOnRight, buttons: renderButtonsSection(buttons), children: jsxs("div", { className: "flex flex-col gap-xl", children: [filteredBenefits?.length ? (jsx(BenefitsList, { benefitsVersion: benefitsVersion, isTabularBenefits: isTabularBenefits, benefits: filteredBenefits })) : null, __html ? jsx(RichText, { __html: __html }) : null, items?.length ? (jsx(List, { items: items, isDotted: isDotted, listItemSize: listItemSize })) : null, children, renderTags(tags)] }) }));
2700
2708
  });
2701
2709
  const leftOrRightImage = (img, directionRight) => directionRight ? { rightImage: img } : { leftImage: img };
2702
2710
  const renderTags = (tags) => (tags?.length ? jsx(Tags, { tags: tags }) : null);
@@ -2707,15 +2715,11 @@
2707
2715
  description: _.description,
2708
2716
  })) }) }) })));
2709
2717
 
2710
- const buttonSizeStyles = {
2718
+ const buttonSizeStyle = {
2711
2719
  default: 'w-14 h-14',
2712
2720
  stretched: 'flex-1 h-14',
2713
2721
  };
2714
2722
 
2715
- const buttonStylesWithText = (text, buttonSize) => text
2716
- ? ''
2717
- : style('py-m group/media flex items-center justify-center box-border', buttonSizeStyles[buttonSize]);
2718
-
2719
2723
  const ICONS_MAP = [
2720
2724
  {
2721
2725
  origins: ['t.me', 'telegram.org'],
@@ -2756,11 +2760,12 @@
2756
2760
 
2757
2761
  const findIconByHref = (href) => ICONS_MAP.find(({ origins }) => origins?.some((_) => href?.includes(_))) || {};
2758
2762
 
2759
- const MediaButton = JSX(({ buttonSize = 'default', rounded = false, icon, ...rest }) => {
2760
- const { href, version, text = '' } = rest;
2763
+ //TODO: Refactor this.
2764
+ const MediaButton = JSX(({ buttonSize = 'default', icon, ...rest }) => {
2765
+ const { href } = rest;
2761
2766
  const { iconMapped, label } = findIconByHref(href);
2762
2767
  const iconCustom = getFilteredIcon(icon) ?? iconMapped;
2763
- return (jsx(Button, { className: style(rounded ? 'rounded-full' : 'rounded-md', 'border border-solid hover:border-transparent', 'group-data-primary:border-main-divider', 'hover:bg-primary-main hover:text-black', 'group-data-secondary:bg-white border-main-divider group-data-secondary:hover:bg-secondary-hover', 'group-data-gray:border-green', buttonStylesWithText(text, buttonSize)), "aria-label": label, rel: "noopener noreferrer", target: "_blank", text: text, version: version, ...rest, children: iconCustom && !text ? (jsx(Img, { image: iconCustom, imageClassName: "group-hover/media:text-white", width: "24", height: "24" })) : null }));
2768
+ return (jsx(Button, { className: style('border border-solid hover:border-transparent', 'group-data-primary:border-main-divider', 'hover:bg-primary-main hover:text-black', 'group-data-secondary:bg-white border-main-divider group-data-secondary:hover:bg-secondary-hover', 'group-data-gray:border-green', 'py-m group/media flex items-center justify-center box-border', buttonSizeStyle[buttonSize]), "aria-label": label, rel: "noopener noreferrer", target: "_blank", ...rest, children: jsx(Img, { image: iconCustom, imageClassName: "group-hover/media:text-white", width: "24", height: "24" }) }));
2764
2769
  });
2765
2770
  const getFilteredIcon = (icon) => (icon?.src || icon?.icon ? icon : undefined);
2766
2771
 
@@ -3137,7 +3142,7 @@
3137
3142
  transparent: 'text-white',
3138
3143
  };
3139
3144
  const Logo = JSX(({ className, href = '/', logo, children, targetBlank, bgColor = 'bg-white', showTitle = true, }) => (jsxs("a", { className: style('inline-flex items-center font-sans no-underline', className), href: href, target: targetBlank ? '_blank' : '_self', "aria-label": logo?.title || 'Россельхозбанк', children: [renderImage$1(bgColor, logo?.image, ICON_SIZE), showTitle
3140
- ? children ?? (jsx("div", { className: "ml-s", children: jsx(Text, { font: "font-medium", color: TEXT_COLOR[bgColor], size: logoTitleSizeStyle, children: logo?.title }) }))
3145
+ ? children ?? (jsx("div", { className: "ml-s", children: jsx(Text, { font: "font-medium", color: TEXT_COLOR[bgColor], size: logoTitleSizeStyle, children: logo?.title || 'Россельхозбанк' }) }))
3141
3146
  : null] })));
3142
3147
 
3143
3148
  const BUTTON_STYLE = {
@@ -3282,7 +3287,7 @@
3282
3287
  const iconVersion = version === 'primary' ? 'white' : 'black';
3283
3288
  const className = 'w-12 h-12 min-h-12 min-w-12 flex items-center justify-center';
3284
3289
  const text = 'Вернуться назад';
3285
- return (jsxs("div", { className: "flex items-center gap-s", children: [jsx("div", { className: getRegularButtonClasses({ className, version, rounded: true }), onClick: handleClick, children: jsx(Img, { className: "w-4 h-4", image: {
3290
+ return (jsxs("div", { className: "hidden sm:flex items-center gap-s", children: [jsx("div", { className: getRegularButtonClasses({ className, version, rounded: true }), onClick: handleClick, children: jsx(Img, { className: "w-4 h-4", image: {
3286
3291
  icon: 'ArrowLeftIcon',
3287
3292
  iconVersion: iconVersion,
3288
3293
  } }) }), jsx(Button, { version: "link", text: text, ariaLabel: text, onClick: handleClick })] }));
@@ -3305,10 +3310,19 @@
3305
3310
 
3306
3311
  const ProductTile = JSX(({ className, padding, headlineVersion = 'S', isTabularBenefits = true, additionalDescription, imageOptions, ...rest }) => (jsx(BlockWrapper, { className: className, padding: "p-0", ...rest, children: jsx(BaseProductTile, { className: "h-full", defaultPadding: "p-xl", padding: padding, headlineVersion: headlineVersion, isTabularBenefits: isTabularBenefits, imageOptions: { isBackground: true, ...imageOptions }, ...rest, children: additionalDescription ? (jsx(Paragraph, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription })) : null }) })));
3307
3312
 
3308
- const RepresentativeOfficeInfo = JSX(({ address, email, telephone, button, className = '', __html, icon, title, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border text-left space-y-s', className), version: version, ...rest, children: [jsxs("div", { className: "w-full flex justify-between flex-row-reverse", children: [renderIconBlock(icon), title ? jsx(Heading, { headingType: "h4", as: "h3", title: title }) : null] }), jsxs("div", { className: "w-full space-y-m", children: [__html ? renderDescriptionBlock(__html) : null, renderBlock('Адрес', address, 'GeolocationIcon'), renderBlock('Телефон', telephone, 'PhoneIcon'), renderBlock('E-mail', email, 'MailIcon'), button?.text ? renderButtonsSection([button]) : null] })] })));
3313
+ const RepresentativeOfficeInfo = JSX(({ address, email, telephone, button, className = '', __html, icon, title, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border text-left space-y-s', className), version: version, ...rest, children: [jsxs("div", { className: "w-full flex justify-between flex-row-reverse", children: [renderIconBlock(icon), title ? jsx(Heading, { headingType: "h3", as: "h3", title: title }) : null] }), jsxs("div", { className: "w-full space-y-m", children: [__html ? renderDescriptionBlock(__html) : null, renderBlock({
3314
+ label: 'Адрес',
3315
+ data: address,
3316
+ iconName: 'GeolocationIcon',
3317
+ }), renderBlock({ label: 'Телефон(факс)', data: telephone, iconName: 'PhoneIcon' }), renderBlock({
3318
+ label: 'E-mail',
3319
+ data: email,
3320
+ iconName: 'MailIcon',
3321
+ dataColor: 'text-primary-main',
3322
+ }), button?.text ? renderButtonsSection([button]) : null] })] })));
3309
3323
  const renderIconBlock = (icon) => (jsx("div", { className: 'w-10 h-7 sm:w-24 sm:h-16', children: icon?.src || icon?.icon ? jsx(Img, { image: icon }) : null }));
3310
- const renderDescriptionBlock = (__html) => (jsx("div", { className: "border-b border-main-divider", children: jsx(RichText, { __html: __html }) }));
3311
- const renderBlock = (blockName, data, iconName) => (jsxs("div", { className: "flex gap-m", children: [jsx(Icon, { iconVersion: "black", name: iconName, width: "24", height: "24" }), jsxs("div", { className: "flex flex-col", children: [jsx(Text, { size: "text-m", font: "font-light", children: blockName }), data ? (jsx(Text, { size: "text-h6", color: "text-green", children: data })) : null] })] }));
3324
+ const renderDescriptionBlock = (__html) => (jsx("div", { className: "border-b border-main-divider pb-lg", children: jsx(RichText, { __html: __html }) }));
3325
+ const renderBlock = ({ label, data, iconName, dataColor = '' }) => data ? (jsxs("div", { className: "flex gap-s", children: [jsx(Icon, { iconVersion: "black", name: iconName, width: "24", height: "24" }), jsxs("div", { className: "flex flex-col gap-2xs", children: [jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: label }), jsx(Text, { size: "text-xl", color: dataColor, children: data })] })] })) : null;
3312
3326
 
3313
3327
  const RichTextBlock = JSX((props) => {
3314
3328
  const { __html, richVersion, ...rest } = props;
@@ -3745,7 +3759,7 @@
3745
3759
  const isImg = Boolean(step?.icon?.src);
3746
3760
  const iconAreaSize = STEPS_SIZE_MAP[size][isImg ? 'image' : 'icon'];
3747
3761
  const containerStyle = isImg ? '' : `rounded-md ${styleMap.iconBackground}`;
3748
- return (jsx("div", { className: style(iconAreaSize, containerStyle, 'z-10 mr-s flex justify-center content-center'), children: jsx("span", { className: "flex self-center text-h4 text-secondary-text group-data-secondary:text-white", children: checkCanRenderIcon(step?.icon) ? (jsx(Img, { image: { ...step.icon, iconVersion: step.icon?.iconVersion || iconVersion }, width: iconSize, height: iconSize })) : (jsx("span", { children: i + 1 })) }) }));
3762
+ return (jsx("div", { className: style(iconAreaSize, containerStyle, 'z-10 mr-s flex justify-center content-center'), children: jsx("span", { className: "flex max-w-full max-h-full self-center text-h4 text-secondary-text group-data-secondary:text-white", children: checkCanRenderIcon(step?.icon) ? (jsx(Img, { image: { ...step.icon, iconVersion: step.icon?.iconVersion || iconVersion }, imageClassName: "max-w-full max-h-full", width: iconSize, height: iconSize })) : (jsx("span", { children: i + 1 })) }) }));
3749
3763
  };
3750
3764
 
3751
3765
  const isHrefActive = (router) => ({ href }) => !href
@@ -4718,7 +4732,7 @@
4718
4732
 
4719
4733
  const joinList = (sep) => (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: `sep-${i}` }, el) : [el]), []);
4720
4734
 
4721
- const packageVersion = "0.13.23";
4735
+ const packageVersion = "0.13.24";
4722
4736
 
4723
4737
  exports.Blocks = Blocks;
4724
4738
  exports.ContentPage = ContentPage;