@redneckz/wildless-cms-uni-blocks 0.6.45 → 0.6.47

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 (716) hide show
  1. package/bin/migration-scripts/0.6.43.js +1 -1
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +193 -173
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  6. package/bundle/components/Headline/HeadlineContent.d.ts +2 -2
  7. package/bundle/components/Headline/headlineStyles.d.ts +7 -0
  8. package/bundle/components/Headline/headlineVersionStyles.d.ts +9 -0
  9. package/bundle/components/HorizontalLayout/HorizontalLayout.d.ts +5 -0
  10. package/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +15 -0
  11. package/bundle/components/LinkDocs/LinkDocsContent.d.ts +3 -3
  12. package/bundle/components/ProductTile/ProductTileContent.d.ts +5 -5
  13. package/bundle/components/RichTextBlock/RichTextBlock.d.ts +6 -0
  14. package/bundle/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
  15. package/bundle/content-page-repository/replaceHeadingTags.d.ts +1 -0
  16. package/bundle/content-page-repository/transformHTML.d.ts +1 -0
  17. package/bundle/model/AlignText.d.ts +2 -1
  18. package/bundle/model/BlockVersion.d.ts +9 -0
  19. package/bundle/ui-kit/Img/Img.mobile.d.ts +2 -2
  20. package/bundle/ui-kit/Img/ImgAsPicture.d.ts +2 -2
  21. package/bundle/ui-kit/Img/ImgInner.d.ts +2 -2
  22. package/bundle/ui-kit/Img/ImgProps.d.ts +5 -5
  23. package/bundle/ui-kit/RichText/RichText.d.ts +2 -0
  24. package/bundle/ui-kit/RichText/RichTextProps.d.ts +6 -0
  25. package/bundle/ui-kit/Text/TextProps.d.ts +1 -1
  26. package/dist/components/AccordionItem/AccordionItem.js +1 -1
  27. package/dist/components/AccordionItem/AccordionItem.js.map +1 -1
  28. package/dist/components/Blocks.js +15 -11
  29. package/dist/components/Blocks.js.map +1 -1
  30. package/dist/components/Bonus/Bonus.js +1 -1
  31. package/dist/components/Bonus/Bonus.js.map +1 -1
  32. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  33. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  34. package/dist/components/BusinessBlock/BusinessCard.js +1 -1
  35. package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  36. package/dist/components/Carousel/Carousel.js +3 -1
  37. package/dist/components/Carousel/Carousel.js.map +1 -1
  38. package/dist/components/CarouselCard/CarouselCard.js +1 -1
  39. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  40. package/dist/components/CarouselLinks/CarouselLinks.js +1 -1
  41. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  42. package/dist/components/CarouselProductCard/CarouselProductCard.js +2 -2
  43. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  44. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -3
  45. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  46. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  47. package/dist/components/Catalog/Catalog.js +1 -1
  48. package/dist/components/Catalog/Catalog.js.map +1 -1
  49. package/dist/components/ContactsBlock/ContactsBlock.js +1 -1
  50. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  51. package/dist/components/ExchangeRateTile/CurrencyTable.js +2 -1
  52. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  53. package/dist/components/Gallery/GalleryCardInner.js +2 -2
  54. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  55. package/dist/components/Gallery/GalleryContainer.js +1 -1
  56. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  57. package/dist/components/GracePeriod/GracePeriod.js +1 -1
  58. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  59. package/dist/components/Header/HeaderBurger.js +1 -1
  60. package/dist/components/Header/HeaderBurger.js.map +1 -1
  61. package/dist/components/Headline/Headline.js +7 -6
  62. package/dist/components/Headline/Headline.js.map +1 -1
  63. package/dist/components/Headline/Headline.mobile.js +5 -5
  64. package/dist/components/Headline/Headline.mobile.js.map +1 -1
  65. package/dist/components/Headline/HeadlineContent.d.ts +2 -2
  66. package/dist/components/Headline/headlineStyles.d.ts +7 -0
  67. package/dist/components/Headline/headlineStyles.js +18 -0
  68. package/dist/components/Headline/headlineStyles.js.map +1 -0
  69. package/dist/components/Headline/headlineVersionStyles.d.ts +9 -0
  70. package/dist/components/Headline/headlineVersionStyles.js +46 -0
  71. package/dist/components/Headline/headlineVersionStyles.js.map +1 -0
  72. package/dist/components/HorizontalLayout/HorizontalLayout.d.ts +5 -0
  73. package/dist/components/HorizontalLayout/HorizontalLayout.js +23 -0
  74. package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -0
  75. package/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +15 -0
  76. package/dist/components/HorizontalLayout/HorizontalLayoutContent.js +2 -0
  77. package/dist/components/HorizontalLayout/HorizontalLayoutContent.js.map +1 -0
  78. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +1 -1
  79. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  80. package/dist/components/LinkDocs/LinkDocs.js +1 -1
  81. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  82. package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -1
  83. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  84. package/dist/components/LinkDocs/LinkDocsContent.d.ts +3 -3
  85. package/dist/components/PictureText/PictureText.js +1 -1
  86. package/dist/components/PictureText/PictureText.js.map +1 -1
  87. package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  88. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  89. package/dist/components/ProductTile/ProductTile.js +1 -1
  90. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  91. package/dist/components/ProductTile/ProductTileContent.d.ts +5 -5
  92. package/dist/components/ProductTile/renderBenefit.js +4 -4
  93. package/dist/components/ProductTile/renderBenefit.js.map +1 -1
  94. package/dist/components/PromoTile/PromoTile.js +1 -1
  95. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  96. package/dist/components/RichTextBlock/RichTextBlock.d.ts +6 -0
  97. package/dist/components/RichTextBlock/RichTextBlock.js +11 -0
  98. package/dist/components/RichTextBlock/RichTextBlock.js.map +1 -0
  99. package/dist/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
  100. package/dist/components/RichTextBlock/RichTextBlockContent.js +2 -0
  101. package/dist/components/RichTextBlock/RichTextBlockContent.js.map +1 -0
  102. package/dist/components/VerticalLayout/VerticalLayout.js +3 -16
  103. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  104. package/dist/content-page-repository/replaceHeadingTags.d.ts +1 -0
  105. package/dist/content-page-repository/replaceHeadingTags.js +5 -0
  106. package/dist/content-page-repository/replaceHeadingTags.js.map +1 -0
  107. package/dist/content-page-repository/transformContentPage.js +5 -0
  108. package/dist/content-page-repository/transformContentPage.js.map +1 -1
  109. package/dist/content-page-repository/transformHTML.d.ts +1 -0
  110. package/dist/content-page-repository/transformHTML.js +23 -0
  111. package/dist/content-page-repository/transformHTML.js.map +1 -0
  112. package/dist/content-page-repository/transformMarkdown.js +2 -1
  113. package/dist/content-page-repository/transformMarkdown.js.map +1 -1
  114. package/dist/model/AlignText.d.ts +2 -1
  115. package/dist/model/AlignText.js.map +1 -1
  116. package/dist/model/BlockVersion.d.ts +9 -0
  117. package/dist/model/BlockVersion.js +20 -1
  118. package/dist/model/BlockVersion.js.map +1 -1
  119. package/dist/services/BlockRouter/BlockRouter.js +4 -3
  120. package/dist/services/BlockRouter/BlockRouter.js.map +1 -1
  121. package/dist/ui-kit/Button/ButtonSection.js +1 -1
  122. package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  123. package/dist/ui-kit/Img/Img.mobile.d.ts +2 -2
  124. package/dist/ui-kit/Img/Img.mobile.js.map +1 -1
  125. package/dist/ui-kit/Img/ImgAsPicture.d.ts +2 -2
  126. package/dist/ui-kit/Img/ImgAsPicture.js +9 -3
  127. package/dist/ui-kit/Img/ImgAsPicture.js.map +1 -1
  128. package/dist/ui-kit/Img/ImgInner.d.ts +2 -2
  129. package/dist/ui-kit/Img/ImgInner.js +3 -9
  130. package/dist/ui-kit/Img/ImgInner.js.map +1 -1
  131. package/dist/ui-kit/Img/ImgProps.d.ts +5 -5
  132. package/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
  133. package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  134. package/dist/ui-kit/Location/Location.js +3 -3
  135. package/dist/ui-kit/Location/Location.js.map +1 -1
  136. package/dist/ui-kit/Logo/renderImage.js +1 -1
  137. package/dist/ui-kit/Logo/renderImage.js.map +1 -1
  138. package/dist/ui-kit/Paragraph/Paragraph.js +1 -5
  139. package/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
  140. package/dist/ui-kit/RichText/RichText.d.ts +2 -0
  141. package/dist/ui-kit/{MarkdownText/MarkdownText.js → RichText/RichText.js} +5 -5
  142. package/dist/ui-kit/RichText/RichText.js.map +1 -0
  143. package/dist/ui-kit/RichText/RichTextProps.d.ts +6 -0
  144. package/dist/ui-kit/{MarkdownText/MarkdownTextProps.js → RichText/RichTextProps.js} +1 -1
  145. package/dist/ui-kit/RichText/RichTextProps.js.map +1 -0
  146. package/dist/ui-kit/SearchBar/SearchBarInner.js +2 -2
  147. package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  148. package/dist/ui-kit/Text/TextProps.d.ts +1 -1
  149. package/lib/common.css +1 -1
  150. package/lib/components/AccordionItem/AccordionItem.js +1 -1
  151. package/lib/components/AccordionItem/AccordionItem.js.map +1 -1
  152. package/lib/components/Blocks.js +15 -11
  153. package/lib/components/Blocks.js.map +1 -1
  154. package/lib/components/Bonus/Bonus.js +1 -1
  155. package/lib/components/Bonus/Bonus.js.map +1 -1
  156. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  157. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  158. package/lib/components/BusinessBlock/BusinessCard.js +1 -1
  159. package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  160. package/lib/components/Carousel/Carousel.js +3 -1
  161. package/lib/components/Carousel/Carousel.js.map +1 -1
  162. package/lib/components/CarouselCard/CarouselCard.js +1 -1
  163. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  164. package/lib/components/CarouselLinks/CarouselLinks.js +1 -1
  165. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  166. package/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  167. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  168. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.d.ts +1 -0
  169. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +5 -4
  170. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  171. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  172. package/lib/components/Catalog/Catalog.js +1 -1
  173. package/lib/components/Catalog/Catalog.js.map +1 -1
  174. package/lib/components/ContactsBlock/ContactsBlock.js +1 -1
  175. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  176. package/lib/components/ExchangeRateTile/CurrencyTable.js +2 -1
  177. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  178. package/lib/components/Gallery/GalleryCardInner.js +1 -1
  179. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  180. package/lib/components/Gallery/GalleryContainer.js +1 -1
  181. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  182. package/lib/components/GracePeriod/GracePeriod.js +1 -1
  183. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  184. package/lib/components/Header/HeaderBurger.js +1 -1
  185. package/lib/components/Header/HeaderBurger.js.map +1 -1
  186. package/lib/components/Headline/Headline.js +7 -6
  187. package/lib/components/Headline/Headline.js.map +1 -1
  188. package/lib/components/Headline/Headline.mobile.js +5 -5
  189. package/lib/components/Headline/Headline.mobile.js.map +1 -1
  190. package/lib/components/Headline/HeadlineContent.d.ts +2 -2
  191. package/lib/components/Headline/headlineStyles.d.ts +7 -0
  192. package/lib/components/Headline/headlineStyles.js +16 -0
  193. package/lib/components/Headline/headlineStyles.js.map +1 -0
  194. package/lib/components/Headline/headlineVersionStyles.d.ts +9 -0
  195. package/lib/components/Headline/headlineVersionStyles.js +44 -0
  196. package/lib/components/Headline/headlineVersionStyles.js.map +1 -0
  197. package/lib/components/HorizontalLayout/HorizontalLayout.d.ts +5 -0
  198. package/lib/components/HorizontalLayout/HorizontalLayout.fixture.d.ts +11 -0
  199. package/lib/components/HorizontalLayout/HorizontalLayout.js +21 -0
  200. package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -0
  201. package/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +15 -0
  202. package/lib/components/HorizontalLayout/HorizontalLayoutContent.js +2 -0
  203. package/lib/components/HorizontalLayout/HorizontalLayoutContent.js.map +1 -0
  204. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +1 -1
  205. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  206. package/lib/components/LinkDocs/LinkDocs.js +1 -1
  207. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  208. package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -1
  209. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  210. package/lib/components/LinkDocs/LinkDocsContent.d.ts +3 -3
  211. package/lib/components/PictureText/PictureText.js +1 -1
  212. package/lib/components/PictureText/PictureText.js.map +1 -1
  213. package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  214. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  215. package/lib/components/ProductTile/ProductTile.js +1 -1
  216. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  217. package/lib/components/ProductTile/ProductTileContent.d.ts +5 -5
  218. package/lib/components/ProductTile/renderBenefit.js +4 -4
  219. package/lib/components/ProductTile/renderBenefit.js.map +1 -1
  220. package/lib/components/PromoTile/PromoTile.js +1 -1
  221. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  222. package/lib/components/RichTextBlock/RichTextBlock.d.ts +6 -0
  223. package/lib/components/RichTextBlock/RichTextBlock.fixture.d.ts +6 -0
  224. package/lib/components/RichTextBlock/RichTextBlock.js +9 -0
  225. package/lib/components/RichTextBlock/RichTextBlock.js.map +1 -0
  226. package/lib/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
  227. package/lib/components/RichTextBlock/RichTextBlockContent.js +2 -0
  228. package/lib/components/RichTextBlock/RichTextBlockContent.js.map +1 -0
  229. package/lib/components/VerticalLayout/VerticalLayout.js +3 -16
  230. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  231. package/lib/content-page-repository/replaceHeadingTags.d.ts +1 -0
  232. package/lib/content-page-repository/replaceHeadingTags.js +2 -0
  233. package/lib/content-page-repository/replaceHeadingTags.js.map +1 -0
  234. package/lib/content-page-repository/transformContentPage.js +5 -0
  235. package/lib/content-page-repository/transformContentPage.js.map +1 -1
  236. package/lib/content-page-repository/transformHTML.d.ts +1 -0
  237. package/lib/content-page-repository/transformHTML.js +17 -0
  238. package/lib/content-page-repository/transformHTML.js.map +1 -0
  239. package/lib/content-page-repository/transformMarkdown.js +2 -1
  240. package/lib/content-page-repository/transformMarkdown.js.map +1 -1
  241. package/lib/model/AlignText.d.ts +2 -1
  242. package/lib/model/AlignText.js.map +1 -1
  243. package/lib/model/BlockVersion.d.ts +9 -0
  244. package/lib/model/BlockVersion.js +19 -0
  245. package/lib/model/BlockVersion.js.map +1 -1
  246. package/lib/services/BlockRouter/BlockRouter.js +4 -3
  247. package/lib/services/BlockRouter/BlockRouter.js.map +1 -1
  248. package/lib/ui-kit/Button/ButtonSection.js +1 -1
  249. package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  250. package/lib/ui-kit/Img/Img.mobile.d.ts +2 -2
  251. package/lib/ui-kit/Img/Img.mobile.js.map +1 -1
  252. package/lib/ui-kit/Img/ImgAsPicture.d.ts +2 -2
  253. package/lib/ui-kit/Img/ImgAsPicture.js +9 -3
  254. package/lib/ui-kit/Img/ImgAsPicture.js.map +1 -1
  255. package/lib/ui-kit/Img/ImgInner.d.ts +2 -2
  256. package/lib/ui-kit/Img/ImgInner.js +3 -9
  257. package/lib/ui-kit/Img/ImgInner.js.map +1 -1
  258. package/lib/ui-kit/Img/ImgProps.d.ts +5 -5
  259. package/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
  260. package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  261. package/lib/ui-kit/Location/Location.js +3 -3
  262. package/lib/ui-kit/Location/Location.js.map +1 -1
  263. package/lib/ui-kit/Logo/renderImage.js +1 -1
  264. package/lib/ui-kit/Logo/renderImage.js.map +1 -1
  265. package/lib/ui-kit/Paragraph/Paragraph.js +1 -5
  266. package/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
  267. package/lib/ui-kit/RichText/RichText.d.ts +2 -0
  268. package/lib/ui-kit/RichText/RichText.fixture.d.ts +5 -0
  269. package/lib/ui-kit/{MarkdownText/MarkdownText.js → RichText/RichText.js} +4 -4
  270. package/lib/ui-kit/RichText/RichText.js.map +1 -0
  271. package/lib/ui-kit/RichText/RichTextProps.d.ts +6 -0
  272. package/lib/ui-kit/RichText/RichTextProps.js +2 -0
  273. package/lib/ui-kit/RichText/RichTextProps.js.map +1 -0
  274. package/lib/ui-kit/SearchBar/SearchBarInner.js +2 -2
  275. package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  276. package/lib/ui-kit/Text/TextProps.d.ts +1 -1
  277. package/mobile/bundle/bundle.umd.js +35 -49
  278. package/mobile/bundle/bundle.umd.min.js +1 -1
  279. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  280. package/mobile/bundle/components/Headline/HeadlineContent.d.ts +2 -2
  281. package/mobile/bundle/components/Headline/headlineStyles.d.ts +7 -0
  282. package/mobile/bundle/components/Headline/headlineVersionStyles.d.ts +9 -0
  283. package/mobile/bundle/components/HorizontalLayout/HorizontalLayout.d.ts +5 -0
  284. package/mobile/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +15 -0
  285. package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +3 -3
  286. package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +5 -5
  287. package/mobile/bundle/components/RichTextBlock/RichTextBlock.d.ts +6 -0
  288. package/mobile/bundle/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
  289. package/mobile/bundle/content-page-repository/replaceHeadingTags.d.ts +1 -0
  290. package/mobile/bundle/content-page-repository/transformHTML.d.ts +1 -0
  291. package/mobile/bundle/model/AlignText.d.ts +2 -1
  292. package/mobile/bundle/model/BlockVersion.d.ts +9 -0
  293. package/mobile/bundle/ui-kit/Img/Img.d.ts +2 -2
  294. package/mobile/bundle/ui-kit/Img/ImgAsPicture.d.ts +2 -2
  295. package/mobile/bundle/ui-kit/Img/ImgInner.d.ts +2 -2
  296. package/mobile/bundle/ui-kit/Img/ImgProps.d.ts +5 -5
  297. package/mobile/bundle/ui-kit/RichText/RichText.d.ts +2 -0
  298. package/mobile/bundle/ui-kit/RichText/RichTextProps.d.ts +6 -0
  299. package/mobile/bundle/ui-kit/Text/TextProps.d.ts +1 -1
  300. package/mobile/dist/components/Bonus/Bonus.js +1 -1
  301. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  302. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  303. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  304. package/mobile/dist/components/BusinessBlock/BusinessCard.js +1 -1
  305. package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  306. package/mobile/dist/components/Carousel/Carousel.js +3 -1
  307. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  308. package/mobile/dist/components/CarouselCard/CarouselCard.js +1 -1
  309. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  310. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +1 -1
  311. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  312. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +2 -2
  313. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  314. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -3
  315. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  316. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  317. package/mobile/dist/components/Catalog/Catalog.js +1 -1
  318. package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
  319. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +1 -1
  320. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  321. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +2 -1
  322. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  323. package/mobile/dist/components/Gallery/GalleryCardInner.js +2 -2
  324. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  325. package/mobile/dist/components/Gallery/GalleryContainer.js +1 -1
  326. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  327. package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -1
  328. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  329. package/mobile/dist/components/Header/HeaderBurger.js +1 -1
  330. package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
  331. package/mobile/dist/components/Headline/Headline.js +5 -5
  332. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  333. package/mobile/dist/components/Headline/HeadlineContent.d.ts +2 -2
  334. package/mobile/dist/components/Headline/headlineStyles.d.ts +7 -0
  335. package/mobile/dist/components/Headline/headlineStyles.js +18 -0
  336. package/mobile/dist/components/Headline/headlineStyles.js.map +1 -0
  337. package/mobile/dist/components/Headline/headlineVersionStyles.d.ts +9 -0
  338. package/mobile/dist/components/Headline/headlineVersionStyles.js +46 -0
  339. package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -0
  340. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.d.ts +5 -0
  341. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +23 -0
  342. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -0
  343. package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +15 -0
  344. package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.js +2 -0
  345. package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.js.map +1 -0
  346. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +1 -1
  347. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  348. package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -1
  349. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  350. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +3 -3
  351. package/mobile/dist/components/PictureText/PictureText.js +1 -1
  352. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  353. package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
  354. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  355. package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +5 -5
  356. package/mobile/dist/components/ProductTile/renderBenefit.js +4 -4
  357. package/mobile/dist/components/ProductTile/renderBenefit.js.map +1 -1
  358. package/mobile/dist/components/PromoTile/PromoTile.js +1 -1
  359. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  360. package/mobile/dist/components/RichTextBlock/RichTextBlock.d.ts +6 -0
  361. package/mobile/dist/components/RichTextBlock/RichTextBlock.js +11 -0
  362. package/mobile/dist/components/RichTextBlock/RichTextBlock.js.map +1 -0
  363. package/mobile/dist/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
  364. package/mobile/dist/components/RichTextBlock/RichTextBlockContent.js +2 -0
  365. package/mobile/dist/components/RichTextBlock/RichTextBlockContent.js.map +1 -0
  366. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +3 -16
  367. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  368. package/mobile/dist/content-page-repository/replaceHeadingTags.d.ts +1 -0
  369. package/mobile/dist/content-page-repository/replaceHeadingTags.js +5 -0
  370. package/mobile/dist/content-page-repository/replaceHeadingTags.js.map +1 -0
  371. package/mobile/dist/content-page-repository/transformContentPage.js +5 -0
  372. package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
  373. package/mobile/dist/content-page-repository/transformHTML.d.ts +1 -0
  374. package/mobile/dist/content-page-repository/transformHTML.js +23 -0
  375. package/mobile/dist/content-page-repository/transformHTML.js.map +1 -0
  376. package/mobile/dist/content-page-repository/transformMarkdown.js +2 -1
  377. package/mobile/dist/content-page-repository/transformMarkdown.js.map +1 -1
  378. package/mobile/dist/model/AlignText.d.ts +2 -1
  379. package/mobile/dist/model/AlignText.js.map +1 -1
  380. package/mobile/dist/model/BlockVersion.d.ts +9 -0
  381. package/mobile/dist/model/BlockVersion.js +20 -1
  382. package/mobile/dist/model/BlockVersion.js.map +1 -1
  383. package/mobile/dist/services/BlockRouter/BlockRouter.js +4 -3
  384. package/mobile/dist/services/BlockRouter/BlockRouter.js.map +1 -1
  385. package/mobile/dist/ui-kit/Button/ButtonSection.js +1 -1
  386. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  387. package/mobile/dist/ui-kit/Img/Img.d.ts +2 -2
  388. package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
  389. package/mobile/dist/ui-kit/Img/ImgAsPicture.d.ts +2 -2
  390. package/mobile/dist/ui-kit/Img/ImgAsPicture.js +9 -3
  391. package/mobile/dist/ui-kit/Img/ImgAsPicture.js.map +1 -1
  392. package/mobile/dist/ui-kit/Img/ImgInner.d.ts +2 -2
  393. package/mobile/dist/ui-kit/Img/ImgInner.js +3 -9
  394. package/mobile/dist/ui-kit/Img/ImgInner.js.map +1 -1
  395. package/mobile/dist/ui-kit/Img/ImgProps.d.ts +5 -5
  396. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
  397. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  398. package/mobile/dist/ui-kit/Location/Location.js +3 -3
  399. package/mobile/dist/ui-kit/Location/Location.js.map +1 -1
  400. package/mobile/dist/ui-kit/Logo/renderImage.js +1 -1
  401. package/mobile/dist/ui-kit/Logo/renderImage.js.map +1 -1
  402. package/mobile/dist/ui-kit/Paragraph/Paragraph.js +1 -5
  403. package/mobile/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
  404. package/mobile/dist/ui-kit/RichText/RichText.d.ts +2 -0
  405. package/mobile/dist/ui-kit/{MarkdownText/MarkdownText.js → RichText/RichText.js} +5 -5
  406. package/mobile/dist/ui-kit/RichText/RichText.js.map +1 -0
  407. package/mobile/dist/ui-kit/RichText/RichTextProps.d.ts +6 -0
  408. package/mobile/dist/ui-kit/{MarkdownText/MarkdownTextProps.js → RichText/RichTextProps.js} +1 -1
  409. package/mobile/dist/ui-kit/RichText/RichTextProps.js.map +1 -0
  410. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +2 -2
  411. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  412. package/mobile/dist/ui-kit/Text/TextProps.d.ts +1 -1
  413. package/mobile/lib/components/Bonus/Bonus.js +1 -1
  414. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  415. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  416. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  417. package/mobile/lib/components/BusinessBlock/BusinessCard.js +1 -1
  418. package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  419. package/mobile/lib/components/Carousel/Carousel.js +3 -1
  420. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  421. package/mobile/lib/components/CarouselCard/CarouselCard.js +1 -1
  422. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  423. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +1 -1
  424. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  425. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  426. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  427. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +5 -4
  428. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  429. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  430. package/mobile/lib/components/Catalog/Catalog.js +1 -1
  431. package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
  432. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +1 -1
  433. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  434. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +2 -1
  435. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  436. package/mobile/lib/components/Gallery/GalleryCardInner.js +1 -1
  437. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  438. package/mobile/lib/components/Gallery/GalleryContainer.js +1 -1
  439. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  440. package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -1
  441. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  442. package/mobile/lib/components/Header/HeaderBurger.js +1 -1
  443. package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
  444. package/mobile/lib/components/Headline/Headline.js +5 -5
  445. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  446. package/mobile/lib/components/Headline/HeadlineContent.d.ts +2 -2
  447. package/mobile/lib/components/Headline/headlineStyles.d.ts +7 -0
  448. package/mobile/lib/components/Headline/headlineStyles.js +16 -0
  449. package/mobile/lib/components/Headline/headlineStyles.js.map +1 -0
  450. package/mobile/lib/components/Headline/headlineVersionStyles.d.ts +9 -0
  451. package/mobile/lib/components/Headline/headlineVersionStyles.js +44 -0
  452. package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -0
  453. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.d.ts +5 -0
  454. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +21 -0
  455. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -0
  456. package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +15 -0
  457. package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.js +2 -0
  458. package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.js.map +1 -0
  459. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +1 -1
  460. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  461. package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -1
  462. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  463. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +3 -3
  464. package/mobile/lib/components/PictureText/PictureText.js +1 -1
  465. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  466. package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
  467. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  468. package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +5 -5
  469. package/mobile/lib/components/ProductTile/renderBenefit.js +4 -4
  470. package/mobile/lib/components/ProductTile/renderBenefit.js.map +1 -1
  471. package/mobile/lib/components/PromoTile/PromoTile.js +1 -1
  472. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  473. package/mobile/lib/components/RichTextBlock/RichTextBlock.d.ts +6 -0
  474. package/mobile/lib/components/RichTextBlock/RichTextBlock.js +9 -0
  475. package/mobile/lib/components/RichTextBlock/RichTextBlock.js.map +1 -0
  476. package/mobile/lib/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
  477. package/mobile/lib/components/RichTextBlock/RichTextBlockContent.js +2 -0
  478. package/mobile/lib/components/RichTextBlock/RichTextBlockContent.js.map +1 -0
  479. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +3 -16
  480. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  481. package/mobile/lib/content-page-repository/replaceHeadingTags.d.ts +1 -0
  482. package/mobile/lib/content-page-repository/replaceHeadingTags.js +2 -0
  483. package/mobile/lib/content-page-repository/replaceHeadingTags.js.map +1 -0
  484. package/mobile/lib/content-page-repository/transformContentPage.js +5 -0
  485. package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
  486. package/mobile/lib/content-page-repository/transformHTML.d.ts +1 -0
  487. package/mobile/lib/content-page-repository/transformHTML.js +17 -0
  488. package/mobile/lib/content-page-repository/transformHTML.js.map +1 -0
  489. package/mobile/lib/content-page-repository/transformMarkdown.js +2 -1
  490. package/mobile/lib/content-page-repository/transformMarkdown.js.map +1 -1
  491. package/mobile/lib/model/AlignText.d.ts +2 -1
  492. package/mobile/lib/model/AlignText.js.map +1 -1
  493. package/mobile/lib/model/BlockVersion.d.ts +9 -0
  494. package/mobile/lib/model/BlockVersion.js +19 -0
  495. package/mobile/lib/model/BlockVersion.js.map +1 -1
  496. package/mobile/lib/services/BlockRouter/BlockRouter.js +4 -3
  497. package/mobile/lib/services/BlockRouter/BlockRouter.js.map +1 -1
  498. package/mobile/lib/ui-kit/Button/ButtonSection.js +1 -1
  499. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  500. package/mobile/lib/ui-kit/Img/Img.d.ts +2 -2
  501. package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
  502. package/mobile/lib/ui-kit/Img/ImgAsPicture.d.ts +2 -2
  503. package/mobile/lib/ui-kit/Img/ImgAsPicture.js +9 -3
  504. package/mobile/lib/ui-kit/Img/ImgAsPicture.js.map +1 -1
  505. package/mobile/lib/ui-kit/Img/ImgInner.d.ts +2 -2
  506. package/mobile/lib/ui-kit/Img/ImgInner.js +3 -9
  507. package/mobile/lib/ui-kit/Img/ImgInner.js.map +1 -1
  508. package/mobile/lib/ui-kit/Img/ImgProps.d.ts +5 -5
  509. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
  510. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  511. package/mobile/lib/ui-kit/Location/Location.js +3 -3
  512. package/mobile/lib/ui-kit/Location/Location.js.map +1 -1
  513. package/mobile/lib/ui-kit/Logo/renderImage.js +1 -1
  514. package/mobile/lib/ui-kit/Logo/renderImage.js.map +1 -1
  515. package/mobile/lib/ui-kit/Paragraph/Paragraph.js +1 -5
  516. package/mobile/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
  517. package/mobile/lib/ui-kit/RichText/RichText.d.ts +2 -0
  518. package/mobile/lib/ui-kit/{MarkdownText/MarkdownText.js → RichText/RichText.js} +4 -4
  519. package/mobile/lib/ui-kit/RichText/RichText.js.map +1 -0
  520. package/mobile/lib/ui-kit/RichText/RichTextProps.d.ts +6 -0
  521. package/mobile/lib/ui-kit/RichText/RichTextProps.js +2 -0
  522. package/mobile/lib/ui-kit/RichText/RichTextProps.js.map +1 -0
  523. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +2 -2
  524. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  525. package/mobile/lib/ui-kit/Text/TextProps.d.ts +1 -1
  526. package/mobile/src/common.css +27 -10
  527. package/mobile/src/components/Bonus/Bonus.tsx +0 -1
  528. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +0 -1
  529. package/mobile/src/components/BusinessBlock/BusinessCard.tsx +2 -6
  530. package/mobile/src/components/Carousel/Carousel.tsx +3 -1
  531. package/mobile/src/components/CarouselCard/CarouselCard.tsx +1 -7
  532. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +1 -1
  533. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -1
  534. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +13 -4
  535. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
  536. package/mobile/src/components/Catalog/Catalog.tsx +0 -1
  537. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
  538. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +3 -2
  539. package/mobile/src/components/Gallery/GalleryCardInner.tsx +1 -1
  540. package/mobile/src/components/Gallery/GalleryContainer.tsx +1 -1
  541. package/mobile/src/components/GracePeriod/GracePeriod.tsx +0 -1
  542. package/mobile/src/components/Header/HeaderBurger.tsx +2 -2
  543. package/mobile/src/components/Headline/Headline.tsx +10 -13
  544. package/mobile/src/components/Headline/HeadlineContent.ts +2 -2
  545. package/mobile/src/components/Headline/headlineStyles.ts +25 -0
  546. package/mobile/src/components/Headline/headlineVersionStyles.ts +55 -0
  547. package/mobile/src/components/HorizontalLayout/HorizontalLayout.example.json +19 -0
  548. package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +42 -0
  549. package/mobile/src/components/HorizontalLayout/HorizontalLayout.ui.json +1 -0
  550. package/mobile/src/components/HorizontalLayout/HorizontalLayoutContent.ts +17 -0
  551. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +1 -1
  552. package/mobile/src/components/LinkDocs/LinkDocs.tsx +0 -1
  553. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +3 -3
  554. package/mobile/src/components/PictureText/PictureText.tsx +0 -1
  555. package/mobile/src/components/ProductTile/ProductTile.tsx +1 -1
  556. package/mobile/src/components/ProductTile/ProductTile.ui.json +1 -1
  557. package/mobile/src/components/ProductTile/ProductTileContent.ts +5 -5
  558. package/mobile/src/components/ProductTile/renderBenefit.tsx +4 -4
  559. package/mobile/src/components/PromoTile/PromoTile.tsx +1 -1
  560. package/mobile/src/components/RichTextBlock/RichTextBlock.example.json +5 -0
  561. package/mobile/src/components/RichTextBlock/RichTextBlock.tsx +17 -0
  562. package/mobile/src/components/RichTextBlock/RichTextBlock.ui.json +7 -0
  563. package/mobile/src/components/RichTextBlock/RichTextBlockContent.ts +6 -0
  564. package/mobile/src/components/VerticalLayout/VerticalLayout.example.json +151 -6
  565. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +4 -20
  566. package/mobile/src/content-page-repository/replaceHeadingTags.ts +2 -0
  567. package/mobile/src/content-page-repository/transformContentPage.ts +4 -0
  568. package/mobile/src/content-page-repository/transformHTML.ts +19 -0
  569. package/mobile/src/content-page-repository/transformMarkdown.ts +2 -1
  570. package/mobile/src/model/AlignText.ts +2 -1
  571. package/mobile/src/model/BlockVersion.ts +30 -0
  572. package/mobile/src/services/BlockRouter/BlockRouter.ts +5 -3
  573. package/mobile/src/ui-kit/Button/ButtonSection.tsx +1 -1
  574. package/mobile/src/ui-kit/Img/Img.tsx +2 -3
  575. package/mobile/src/ui-kit/Img/ImgAsPicture.tsx +20 -4
  576. package/mobile/src/ui-kit/Img/ImgInner.tsx +15 -22
  577. package/mobile/src/ui-kit/Img/ImgProps.ts +5 -6
  578. package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  579. package/mobile/src/ui-kit/Location/Location.tsx +8 -6
  580. package/mobile/src/ui-kit/Logo/renderImage.tsx +2 -1
  581. package/mobile/src/ui-kit/Paragraph/Paragraph.tsx +3 -7
  582. package/mobile/src/ui-kit/RichText/RichText.tsx +8 -0
  583. package/mobile/src/ui-kit/RichText/RichTextProps.ts +6 -0
  584. package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +2 -2
  585. package/mobile/src/ui-kit/Text/TextProps.ts +1 -0
  586. package/package.json +4 -1
  587. package/src/common.css +27 -10
  588. package/src/components/AccordionItem/AccordionItem.tsx +7 -1
  589. package/src/components/Blocks.ts +15 -11
  590. package/src/components/Bonus/Bonus.tsx +0 -1
  591. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +0 -1
  592. package/src/components/BusinessBlock/BusinessCard.tsx +2 -6
  593. package/src/components/Carousel/Carousel.tsx +3 -1
  594. package/src/components/CarouselCard/CarouselCard.tsx +1 -7
  595. package/src/components/CarouselLinks/CarouselLinks.tsx +1 -1
  596. package/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -1
  597. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +9 -0
  598. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +13 -4
  599. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
  600. package/src/components/Catalog/Catalog.tsx +0 -1
  601. package/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
  602. package/src/components/ExchangeRateTile/CurrencyTable.tsx +3 -2
  603. package/src/components/Gallery/GalleryCardInner.tsx +1 -1
  604. package/src/components/Gallery/GalleryContainer.tsx +1 -1
  605. package/src/components/GracePeriod/GracePeriod.tsx +0 -1
  606. package/src/components/Header/HeaderBurger.tsx +2 -2
  607. package/src/components/Headline/Headline.fixture.mobile.tsx +10 -10
  608. package/src/components/Headline/Headline.fixture.tsx +7 -7
  609. package/src/components/Headline/Headline.mobile.tsx +10 -13
  610. package/src/components/Headline/Headline.tsx +18 -12
  611. package/src/components/Headline/HeadlineContent.ts +2 -2
  612. package/src/components/Headline/headlineStyles.ts +25 -0
  613. package/src/components/Headline/headlineVersionStyles.ts +55 -0
  614. package/src/components/HorizontalLayout/HorizontalLayout.example.json +19 -0
  615. package/src/components/HorizontalLayout/HorizontalLayout.fixture.tsx +85 -0
  616. package/src/components/HorizontalLayout/HorizontalLayout.tsx +42 -0
  617. package/src/components/HorizontalLayout/HorizontalLayout.ui.json +1 -0
  618. package/src/components/HorizontalLayout/HorizontalLayoutContent.ts +17 -0
  619. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +1 -1
  620. package/src/components/LinkDocs/LinkDocs.mobile.tsx +0 -1
  621. package/src/components/LinkDocs/LinkDocs.tsx +1 -1
  622. package/src/components/LinkDocs/LinkDocsContent.ts +3 -3
  623. package/src/components/PictureText/PictureText.tsx +0 -1
  624. package/src/components/ProductBlock/ProductBlockInner.tsx +1 -1
  625. package/src/components/ProductTile/ProductTile.tsx +1 -1
  626. package/src/components/ProductTile/ProductTile.ui.json +1 -1
  627. package/src/components/ProductTile/ProductTileContent.ts +5 -5
  628. package/src/components/ProductTile/renderBenefit.tsx +4 -4
  629. package/src/components/PromoTile/PromoTile.tsx +1 -1
  630. package/src/components/RichTextBlock/RichTextBlock.example.json +5 -0
  631. package/src/components/RichTextBlock/RichTextBlock.fixture.tsx +29 -0
  632. package/src/components/RichTextBlock/RichTextBlock.tsx +17 -0
  633. package/src/components/RichTextBlock/RichTextBlock.ui.json +7 -0
  634. package/src/components/RichTextBlock/RichTextBlockContent.ts +6 -0
  635. package/src/components/VerticalLayout/VerticalLayout.example.json +151 -6
  636. package/src/components/VerticalLayout/VerticalLayout.tsx +4 -20
  637. package/src/content-page-repository/replaceHeadingTags.ts +2 -0
  638. package/src/content-page-repository/transformContentPage.ts +4 -0
  639. package/src/content-page-repository/transformHTML.ts +19 -0
  640. package/src/content-page-repository/transformMarkdown.ts +2 -1
  641. package/src/model/AlignText.ts +2 -1
  642. package/src/model/BlockVersion.ts +30 -0
  643. package/src/services/BlockRouter/BlockRouter.ts +5 -3
  644. package/src/ui-kit/Button/ButtonSection.tsx +1 -1
  645. package/src/ui-kit/Img/Img.mobile.tsx +2 -3
  646. package/src/ui-kit/Img/ImgAsPicture.tsx +20 -4
  647. package/src/ui-kit/Img/ImgInner.tsx +15 -22
  648. package/src/ui-kit/Img/ImgProps.ts +5 -6
  649. package/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  650. package/src/ui-kit/Location/Location.tsx +8 -6
  651. package/src/ui-kit/Logo/renderImage.tsx +2 -1
  652. package/src/ui-kit/Paragraph/Paragraph.tsx +3 -7
  653. package/src/ui-kit/RichText/RichText.fixture.tsx +28 -0
  654. package/src/ui-kit/RichText/RichText.tsx +8 -0
  655. package/src/ui-kit/RichText/RichTextProps.ts +6 -0
  656. package/src/ui-kit/SearchBar/SearchBarInner.tsx +2 -2
  657. package/src/ui-kit/Text/TextProps.ts +1 -0
  658. package/tailwind.config.cjs +7 -7
  659. package/bundle/components/Headline/constants.d.ts +0 -18
  660. package/bundle/ui-kit/Img/getIconVersion.d.ts +0 -2
  661. package/bundle/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
  662. package/bundle/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
  663. package/dist/components/Headline/constants.d.ts +0 -18
  664. package/dist/components/Headline/constants.js +0 -68
  665. package/dist/components/Headline/constants.js.map +0 -1
  666. package/dist/ui-kit/Img/getIconVersion.d.ts +0 -2
  667. package/dist/ui-kit/Img/getIconVersion.js +0 -7
  668. package/dist/ui-kit/Img/getIconVersion.js.map +0 -1
  669. package/dist/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
  670. package/dist/ui-kit/MarkdownText/MarkdownText.js.map +0 -1
  671. package/dist/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
  672. package/dist/ui-kit/MarkdownText/MarkdownTextProps.js.map +0 -1
  673. package/lib/components/Headline/constants.d.ts +0 -18
  674. package/lib/components/Headline/constants.js +0 -66
  675. package/lib/components/Headline/constants.js.map +0 -1
  676. package/lib/ui-kit/Img/getIconVersion.d.ts +0 -2
  677. package/lib/ui-kit/Img/getIconVersion.js +0 -4
  678. package/lib/ui-kit/Img/getIconVersion.js.map +0 -1
  679. package/lib/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
  680. package/lib/ui-kit/MarkdownText/MarkdownText.js.map +0 -1
  681. package/lib/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
  682. package/lib/ui-kit/MarkdownText/MarkdownTextProps.js +0 -2
  683. package/lib/ui-kit/MarkdownText/MarkdownTextProps.js.map +0 -1
  684. package/mobile/bundle/components/Headline/constants.d.ts +0 -18
  685. package/mobile/bundle/ui-kit/Img/getIconVersion.d.ts +0 -2
  686. package/mobile/bundle/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
  687. package/mobile/bundle/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
  688. package/mobile/dist/components/Headline/constants.d.ts +0 -18
  689. package/mobile/dist/components/Headline/constants.js +0 -68
  690. package/mobile/dist/components/Headline/constants.js.map +0 -1
  691. package/mobile/dist/ui-kit/Img/getIconVersion.d.ts +0 -2
  692. package/mobile/dist/ui-kit/Img/getIconVersion.js +0 -7
  693. package/mobile/dist/ui-kit/Img/getIconVersion.js.map +0 -1
  694. package/mobile/dist/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
  695. package/mobile/dist/ui-kit/MarkdownText/MarkdownText.js.map +0 -1
  696. package/mobile/dist/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
  697. package/mobile/dist/ui-kit/MarkdownText/MarkdownTextProps.js.map +0 -1
  698. package/mobile/lib/components/Headline/constants.d.ts +0 -18
  699. package/mobile/lib/components/Headline/constants.js +0 -66
  700. package/mobile/lib/components/Headline/constants.js.map +0 -1
  701. package/mobile/lib/ui-kit/Img/getIconVersion.d.ts +0 -2
  702. package/mobile/lib/ui-kit/Img/getIconVersion.js +0 -4
  703. package/mobile/lib/ui-kit/Img/getIconVersion.js.map +0 -1
  704. package/mobile/lib/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
  705. package/mobile/lib/ui-kit/MarkdownText/MarkdownText.js.map +0 -1
  706. package/mobile/lib/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
  707. package/mobile/lib/ui-kit/MarkdownText/MarkdownTextProps.js +0 -2
  708. package/mobile/lib/ui-kit/MarkdownText/MarkdownTextProps.js.map +0 -1
  709. package/mobile/src/components/Headline/constants.ts +0 -84
  710. package/mobile/src/ui-kit/Img/getIconVersion.tsx +0 -5
  711. package/mobile/src/ui-kit/MarkdownText/MarkdownText.tsx +0 -8
  712. package/mobile/src/ui-kit/MarkdownText/MarkdownTextProps.ts +0 -6
  713. package/src/components/Headline/constants.ts +0 -84
  714. package/src/ui-kit/Img/getIconVersion.tsx +0 -5
  715. package/src/ui-kit/MarkdownText/MarkdownText.tsx +0 -8
  716. package/src/ui-kit/MarkdownText/MarkdownTextProps.ts +0 -6
@@ -343,6 +343,7 @@
343
343
  }
344
344
 
345
345
  const normalizeAnchor = (rawAnchor) => rawAnchor?.replace('#', '');
346
+ const getURLWithAnchor = (rawAnchor) => `${globalThis.location?.pathname}#${normalizeAnchor(rawAnchor)}`;
346
347
  class BlockRouter {
347
348
  static inst = new BlockRouter();
348
349
  eventBus = new EventBus();
@@ -360,13 +361,13 @@
360
361
  }
361
362
  }
362
363
  push(rawAnchor) {
363
- globalThis.history?.pushState(null, '', `#${normalizeAnchor(rawAnchor)}`);
364
+ globalThis.history?.pushState(null, '', getURLWithAnchor(rawAnchor));
364
365
  }
365
366
  replace(rawAnchor) {
366
- globalThis.history?.replaceState(null, '', `#${normalizeAnchor(rawAnchor)}`);
367
+ globalThis.history?.replaceState(null, '', getURLWithAnchor(rawAnchor));
367
368
  }
368
369
  reset() {
369
- globalThis.history?.replaceState(null, '', '#');
370
+ globalThis.history?.replaceState(null, '', getURLWithAnchor());
370
371
  }
371
372
  }
372
373
 
@@ -422,11 +423,7 @@
422
423
  return (jsx(Tag, { className: `font-sans m-0 ${HEADING_STYLE_MAP[headingType]} ${className}`, children: title }));
423
424
  });
424
425
 
425
- const Paragraph = JSX((props) => {
426
- const { size = '', color = '', align = '', font = '', children } = props;
427
- const textClasses = `font-sans ${size} ${color} ${align} ${font}`;
428
- return jsx("p", { className: textClasses, children: children });
429
- });
426
+ const Paragraph = JSX(({ size, color, align, font, children }) => (jsx("p", { className: ['font-sans', size, color, align, font].filter(Boolean).join(' '), children: children })));
430
427
 
431
428
  const AccordionItemsList = JSX(({ children }) => (jsx("ul", { className: "list-none m-0 p-0", children: children })));
432
429
 
@@ -477,17 +474,13 @@
477
474
  const getSvgSize = (className, width) => width ? `width: ${width}px ` : 'w-full h-full';
478
475
  const Background = JSX(({ className, children }) => className ? jsx("div", { className: className, children: children }) : children);
479
476
 
480
- function getIconVersion(image) {
481
- return typeof image === 'string' ? 'normal' : image?.iconVersion || 'normal';
482
- }
483
-
484
477
  const sourcesComparator = (a, b) => {
485
478
  if (a.media && b.media) {
486
479
  return a.media - b.media;
487
480
  }
488
481
  return 0;
489
482
  };
490
- const ImgAsPicture = JSX(({ className = '', image, imageClassName = '', isMobile = false }) => {
483
+ const ImgAsPicture = JSX(({ className = '', image, imageClassName = '', isMobile = false, pathPrefix }) => {
491
484
  if (!image || (!image?.sources && !image?.src)) {
492
485
  return null;
493
486
  }
@@ -495,8 +488,8 @@
495
488
  return (jsxs("picture", { className: `${pictureStyles} ${className}`, children: [image?.sources?.length
496
489
  ? image.sources
497
490
  .sort(sourcesComparator)
498
- .map(({ src, format, media }, index) => (jsx("source", { srcSet: src, type: formatToMimeType(format), media: media ? `(max-width: ${media}px)` : '', ...image.size }, `${index}_${src}`)))
499
- : null, renderImg(image, imageClassName, isMobile)] }));
491
+ .map(({ src, format, media }, index) => (jsx("source", { srcSet: addPathPrefixToSrcSet(src, pathPrefix), type: formatToMimeType(format), media: media ? `(max-width: ${media}px)` : '', ...image.size }, `${index}_${src}`)))
492
+ : null, renderImg({ ...image, src: addPathPrefixToSrc(image.src, pathPrefix) }, imageClassName, isMobile)] }));
500
493
  });
501
494
  const renderImg = (image, imageClassName = '', isMobile = false) => {
502
495
  const style = {
@@ -508,20 +501,21 @@
508
501
  const imgStyle = isMobile ? 'm-auto' : 'm-0';
509
502
  return (jsx("img", { src: image.src, className: `${imgStyle} ${imageClassName}`, alt: alt, title: title, style: style, ...image.size }));
510
503
  };
504
+ const normalizePathPrefix = (pathPrefix = '') => pathPrefix && !pathPrefix.endsWith('/') ? `${pathPrefix}/` : pathPrefix;
505
+ const addPathPrefixToSrc = (src, pathPrefix) => !src || src?.startsWith('data:image') ? src : `${normalizePathPrefix(pathPrefix)}${src}`;
506
+ const addPathPrefixToSrcSet = (srcset, pathPrefix) => srcset
507
+ ?.split(',')
508
+ .map((src) => addPathPrefixToSrc(src.trim(), pathPrefix))
509
+ .join(', ');
511
510
  function formatToMimeType(format) {
512
511
  return format ? `image/${String(format)}` : undefined;
513
512
  }
514
513
 
515
- const ImgInner = JSX(({ className = '', image, imageClassName = '', isMobile, ...iconProps }) => {
516
- if (!image) {
514
+ const ImgInner = JSX(({ className = '', image, imageClassName = '', isMobile, pathPrefix, ...iconProps }) => {
515
+ if (!image?.src && !image?.icon) {
517
516
  return null;
518
517
  }
519
- // backwards compatibility with existing icons in usage
520
- const icon = typeof image === 'string' ? image : image.icon;
521
- if (icon || icon === '') {
522
- return icon.length ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: getIconVersion(image), name: icon, ...iconProps })) : null;
523
- }
524
- return (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image, isMobile: isMobile }));
518
+ return image.icon ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: image?.iconVersion || 'normal', name: image.icon, ...iconProps })) : (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image, isMobile: isMobile, pathPrefix: pathPrefix }));
525
519
  });
526
520
 
527
521
  const Text = JSX(({ size, color, align, font, children }) => (jsx("span", { className: ['font-sans', size, color, align, font].filter(Boolean).join(' '), children: children })));
@@ -529,7 +523,7 @@
529
523
  const icons$1 = ['PlusIcon', 'MinusIcon'];
530
524
  const AccordionItem = JSX(({ className = '', label = '', isExpanded, ...rest }) => (jsx("li", { className: `border-0 border-b border-solid border-main-divider last:border-b-0 ${className}`, children: jsx(Foldable, { isFoldButtonOnTop: true, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { className: "grid grid-cols-12 gap-5 [&>*]:p-0", isUnfolded: isUnfolded, children: renderChildren(rest) })), renderFoldButton: ({ isUnfolded, onToggle }) => (jsx(FoldButton$1, { label: label, icon: icons$1[Number(isUnfolded)], onClick: onToggle })) }) })));
531
525
  AccordionItem.childrenTypes = [];
532
- const FoldButton$1 = JSX(({ label, icon, onClick }) => (jsxs("button", { className: "border-none bg-transparent px-0 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 group cursor-pointer", onClick: onClick, children: [jsx(Text, { size: "text-xl", font: "font-medium", children: label }), jsx(ImgInner, { image: icon, className: "text-primary-main flex-shrink-0", width: "24", height: "24", asSVG: true })] })));
526
+ const FoldButton$1 = JSX(({ label, icon, onClick }) => (jsxs("button", { className: "border-none bg-transparent px-0 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 group cursor-pointer", onClick: onClick, children: [jsx(Text, { size: "text-xl", font: "font-medium", children: label }), jsx(ImgInner, { image: { icon }, className: "text-primary-main flex-shrink-0", width: "24", height: "24", asSVG: true })] })));
533
527
 
534
528
  const VersionStyleMap = {
535
529
  primary: 'bg-white text-primary-text',
@@ -539,6 +533,25 @@
539
533
  primary: 'text-secondary-text',
540
534
  secondary: 'text-white',
541
535
  };
536
+ const VersionWithGrayStyleMap = {
537
+ primary: 'bg-white text-primary-text',
538
+ secondary: 'bg-primary-main text-white',
539
+ gray: 'bg-main-divider text-primary-text',
540
+ };
541
+ const GapStyleMap = {
542
+ XXL: 'gap-12',
543
+ XL: 'gap-10',
544
+ L: 'gap-8',
545
+ M: 'gap-4',
546
+ S: 'gap-2',
547
+ XS: 'gap-1',
548
+ '': '',
549
+ };
550
+ const LayoutBackgroundStyleMap = {
551
+ transparent: '',
552
+ primary: 'bg-white',
553
+ secondary: 'bg-primary-main',
554
+ };
542
555
 
543
556
  const getIconWithVersion = (icon, version = 'primary') => ({
544
557
  ...icon,
@@ -756,64 +769,58 @@
756
769
  return null;
757
770
  }
758
771
  const iconWidth = icon?.size?.width ? `${icon.size.width}` : '24';
759
- return jsx(ImgInner, { image: { ...icon }, width: iconWidth, height: "24", asSVG: true });
772
+ return jsx(ImgInner, { image: icon, width: iconWidth, height: "24", asSVG: true });
760
773
  };
761
774
 
762
- const HEADLINE_BLOCK_STYLE_MAPS = {
775
+ const headlineStyles = {
763
776
  transparent: {
764
- background: 'bg-transparent',
765
- text: 'text-primary-text',
766
- description: 'text-primary-text',
777
+ wrapper: 'bg-transparent',
778
+ titleColor: 'text-primary-text',
767
779
  },
768
780
  primary: {
769
- background: 'bg-white',
770
- text: 'text-primary-text',
771
- description: 'text-primary-text',
781
+ wrapper: 'bg-white',
782
+ titleColor: 'text-primary-text',
772
783
  },
773
784
  secondary: {
774
- background: 'bg-primary-main',
775
- text: 'text-white',
776
- description: 'text-white/80',
785
+ wrapper: 'bg-primary-main',
786
+ titleColor: 'text-white',
787
+ descriptionColor: 'text-white/80',
777
788
  },
778
789
  };
779
- const HEADLINE_VERSION = {
790
+
791
+ const headlineVersionStyles = {
780
792
  XXL: {
781
- descriptionFont: 'text-h5',
782
- gap: 'gap-[18px]',
783
- headingType: 'h0',
784
- as: 'h1',
793
+ wrapper: 'gap-[18px]',
794
+ title: { headingType: 'h0', as: 'h1' },
795
+ descriptionSize: 'text-h5',
785
796
  },
786
797
  XL: {
787
- descriptionFont: 'text-xl-light',
788
- gap: 'gap-4',
789
- headingType: 'h1',
790
- as: 'h1',
798
+ wrapper: 'gap-4',
799
+ title: { headingType: 'h1', as: 'h1' },
800
+ descriptionSize: 'text-xl-light',
791
801
  },
792
802
  L: {
793
- descriptionFont: 'text-xl-light',
794
- gap: 'gap-4',
795
- headingType: 'h2',
796
- as: 'h2',
803
+ wrapper: 'gap-4',
804
+ title: { headingType: 'h2', as: 'h2' },
805
+ descriptionSize: 'text-xl-light',
797
806
  },
798
807
  M: {
799
- descriptionFont: 'text-xl-light',
800
- gap: 'gap-3',
801
- headingType: 'h3',
802
- as: 'h3',
808
+ wrapper: 'gap-3',
809
+ title: { headingType: 'h3', as: 'h3' },
810
+ descriptionSize: 'text-xl-light',
803
811
  },
804
812
  S: {
805
- descriptionFont: 'text-xl-light',
806
- gap: 'gap-2',
807
- headingType: 'h4',
808
- as: 'h4',
813
+ wrapper: 'gap-2',
814
+ title: { headingType: 'h4', as: 'h4' },
815
+ descriptionSize: 'text-xl-light',
809
816
  },
810
817
  XS: {
811
- descriptionFont: 'text-l-light',
812
- gap: 'gap-2',
813
- headingType: 'h5',
814
- as: 'h5',
818
+ wrapper: 'gap-2',
819
+ title: { headingType: 'h5', as: 'h5' },
820
+ descriptionSize: 'text-l-light',
815
821
  },
816
822
  };
823
+ // TODO Move to Gallery and rename
817
824
  const HEADLINE_SMALL_VERSION = {
818
825
  H6: 'text-h6',
819
826
  XL_L: 'text-xl-light',
@@ -825,15 +832,15 @@
825
832
  XS: 'text-xs-light',
826
833
  };
827
834
 
828
- const Headline = JSX(({ className = '', bgColorHeadline = 'transparent', align = 'center', title, description, headlineVersion = 'XL', as, ...rest }) => {
829
- const STYLE_MAPS = HEADLINE_BLOCK_STYLE_MAPS[bgColorHeadline];
830
- const SIZE_MAPS = HEADLINE_VERSION[headlineVersion];
831
- return (jsxs(BlockWrapper, { className: `font-sans flex flex-col p-12 ${SIZE_MAPS.gap} ${STYLE_MAPS.background} ${className}`, ...rest, children: [title ? (jsx(Heading, { headingType: SIZE_MAPS?.headingType, as: as || SIZE_MAPS?.as, className: `whitespace-pre-wrap ${STYLE_MAPS.text} ${AlignText[align]}`, title: title })) : null, description ? (jsx("p", { className: `${SIZE_MAPS.descriptionFont} ${STYLE_MAPS.text} ${AlignText[align]}`, children: description })) : null] }));
835
+ const Headline = JSX(({ className = '', title, description, headlineVersion = 'XL', bgColorHeadline = 'transparent', align = 'text-center', as, ...rest }) => {
836
+ const style = headlineStyles[bgColorHeadline];
837
+ const specificStyle = headlineVersionStyles[headlineVersion];
838
+ return (jsxs(BlockWrapper, { className: `flex flex-col p-12 ${specificStyle.wrapper} ${style.wrapper} ${className}`, ...rest, children: [title ? (jsx(Heading, { className: `whitespace-pre-wrap ${style.titleColor} ${align}`, ...specificStyle?.title, as: as || specificStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { color: style.descriptionColor || style.titleColor, size: specificStyle.descriptionSize, align: align, children: description })) : null] }));
832
839
  });
833
840
 
834
841
  const Bonus = JSX((props) => {
835
842
  const { className = '', title, description, bonusItems, ...rest } = props;
836
- return (jsx(BlockWrapper, { className: `font-sans bg-white p-12 pb-9 ${className}`, ...rest, children: jsxs("div", { className: "container", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", align: "center", ...rest }), jsx("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems?.length
843
+ return (jsx(BlockWrapper, { className: `font-sans bg-white p-12 pb-9 ${className}`, ...rest, children: jsxs("div", { className: "container", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", ...rest }), jsx("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems?.length
837
844
  ? bonusItems.map((_, i) => {
838
845
  return (jsx("div", { className: "flex-grow w-[49%] border border-gray p-9 mb-3 mx-2 even:mr-0 odd:ml-0 last:odd:mx-0", children: jsxs("div", { className: "flex justify-between w-full", children: [jsxs("div", { className: "flex flex-col justify-between mr-4", children: [jsxs("div", { children: [jsx("div", { className: "text-h4", children: _.title }), jsx("div", { className: "text-xl-light mt-2 max-w-[488px]", children: _.description })] }), _?.buttons?.length ? jsx(ButtonSection, { buttons: _?.buttons }) : null] }), _.bonusItemContent?.bonusType
839
846
  ? renderBonusItemContent(_.bonusItemContent)
@@ -847,7 +854,7 @@
847
854
  const renderBonusCount = (_) => (jsxs("div", { className: "relative -bottom-3 h-auto flex items-end mt-14 shrink-0", children: [_.bonusCount ? (jsx("span", { className: "font-mohave -tracking-[5px] text-title-extra bg-clip-text text-transparent bg-green-to-yellow -mb-7", children: _.bonusCount })) : null, _.bonusName ? (jsx("span", { className: "text-h2 bg-clip-text text-transparent bg-green-to-yellow", children: _.bonusName })) : null] }));
848
855
  const renderBonusImage = (_) => _.image ? jsx(ImgInner, { className: `w-12 h-12 min-w-12 p-3 rounded-full`, image: _.image }) : null;
849
856
 
850
- const BonusBenefitsBlock = JSX(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => (jsxs(BlockWrapper, { className: `font-sans text-primary-text bg-white p-12 flex flex-col text-center ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0 mb-8", title: title, description: subtitle, headlineVersion: "M", align: "center", ...rest }), bonusBenefits?.length ? (jsx("div", { className: `grid gap-1 ${AlignText[cardTextAlign]} ${getElementsColsValue(columnsCount)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] })));
857
+ const BonusBenefitsBlock = JSX(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => (jsxs(BlockWrapper, { className: `font-sans text-primary-text bg-white p-12 flex flex-col text-center ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0 mb-8", title: title, description: subtitle, headlineVersion: "M", ...rest }), bonusBenefits?.length ? (jsx("div", { className: `grid gap-1 ${AlignText[cardTextAlign]} ${getElementsColsValue(columnsCount)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] })));
851
858
  const renderBonusBenefit = ({ icon, label, description }, i) => {
852
859
  return (jsxs("div", { className: "flex flex-col items-center text-h6", children: [description ? jsx("span", { children: description }) : null, icon ? jsx(ImgInner, { image: icon, height: "180", width: "auto", className: "h-[180px] w-auto" }) : null, jsx("div", { children: label ? jsx("span", { children: label }) : null })] }, String(i)));
853
860
  };
@@ -870,7 +877,7 @@
870
877
  });
871
878
  const renderItem = (item, key) => {
872
879
  const { icon, text } = item;
873
- return (jsxs("li", { className: "flex items-center gap-3.5 mb-3 last:mb-0", children: [icon?.icon ? (jsx(ImgInner, { className: `w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider`, image: icon.icon, asSVG: true })) : null, icon?.src ? jsx(ImgInner, { image: icon.icon }) : null, jsx("span", { className: "text-xl-light", children: text })] }, key));
880
+ return (jsxs("li", { className: "flex items-center gap-3.5 mb-3 last:mb-0", children: [icon?.icon ? (jsx(ImgInner, { image: icon, className: "w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider", asSVG: true })) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null, jsx("span", { className: "text-xl-light", children: text })] }, key));
874
881
  };
875
882
 
876
883
  const BusinessBlock = JSX(({ className = '', title, cards, ...rest }) => (jsxs(BlockWrapper, { className: `font-sans bg-white p-12 pb-9 ${className}`, ...rest, children: [jsx(Heading, { headingType: "h3", title: title, className: "text-center mb-8" }), jsx("div", { className: "flex gap-5", children: cards?.length ? cards.map((_, i) => jsx(BusinessCard, { ..._ }, String(i))) : null })] })));
@@ -1564,9 +1571,11 @@
1564
1571
  Carousel.childrenTypes = [
1565
1572
  'CarouselCard',
1566
1573
  'CarouselCatalogCard',
1567
- 'CarouselTariffsCard',
1574
+ 'CarouselInvestmentCard',
1568
1575
  'CarouselProductCard',
1569
1576
  'CarouselProgramsCard',
1577
+ 'CarouselRecommendationCard',
1578
+ 'CarouselTariffsCard',
1570
1579
  'CarouselInvestmentCard',
1571
1580
  ];
1572
1581
  const renderScrollButtons = ({ scrollLeft, scrollRight, canScrollLeft, canScrollRight, }) => (jsxs("div", { children: [canScrollLeft ? (jsx(ScrollLeftButton, { className: `${scrollButtonStyle} left-8`, onClick: scrollLeft })) : null, canScrollRight ? (jsx(ScrollRightButton, { className: `${scrollButtonStyle} right-8`, onClick: scrollRight })) : null] }));
@@ -1576,7 +1585,7 @@
1576
1585
  normal: 'min-w-[1007px]',
1577
1586
  mini: 'min-w-[355px]',
1578
1587
  };
1579
- const CarouselCard = JSX(({ className = '', button, description, title, version = 'normal' }) => (jsx("section", { className: `flex pb-9 pl-12 ${CARD_WIDTH_MAP[version]} ${className}`, children: jsxs("div", { className: "relative w-full", children: [jsx("div", { className: `${BLOCK_CLASSES} z-10 top-9 right-12 bg-green-dark` }), jsx("div", { className: `${BLOCK_CLASSES} z-10 top-6 right-8 bg-green` }), jsx("div", { className: `${BLOCK_CLASSES} z-10 top-3 right-4 bg-green-light` }), jsxs("div", { className: "relative bg-white z-10 py-6 px-10 border border-solid border-green-light", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", align: "center" }), button ? jsx("div", { className: "mt-6", children: renderButton({ button }) }) : null] })] }) })));
1588
+ const CarouselCard = JSX(({ className = '', button, description, title, version = 'normal' }) => (jsx("section", { className: `flex pb-9 pl-12 ${CARD_WIDTH_MAP[version]} ${className}`, children: jsxs("div", { className: "relative w-full", children: [jsx("div", { className: `${BLOCK_CLASSES} z-10 top-9 right-12 bg-green-dark` }), jsx("div", { className: `${BLOCK_CLASSES} z-10 top-6 right-8 bg-green` }), jsx("div", { className: `${BLOCK_CLASSES} z-10 top-3 right-4 bg-green-light` }), jsxs("div", { className: "relative bg-white z-10 py-6 px-10 border border-solid border-green-light", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M" }), button ? jsx("div", { className: "mt-6", children: renderButton({ button }) }) : null] })] }) })));
1580
1589
 
1581
1590
  const cardStyleMap$2 = {
1582
1591
  black: 'bg-black',
@@ -1626,7 +1635,7 @@
1626
1635
 
1627
1636
  const MAX_LINKS_COUNT = 12;
1628
1637
  const CarouselLinks = JSX(({ className = '', additionalDescription, description, links, title, ...rest }) => {
1629
- return (jsxs(BlockWrapper, { className: `bg-primary-main flex w-full p-10 overflow-hidden justify-between font-sans ${className}`, ...rest, children: [jsxs("div", { className: "flex flex-col max-w-96 pr-9 text-white text-xl-light", children: [jsx(Headline, { title: title, as: "h1", description: description, align: "left", className: "p-0", bgColorHeadline: "secondary" }), additionalDescription ? (jsx("div", { className: "pt-6", children: jsx(Paragraph, { children: additionalDescription }) })) : null] }), links?.length ? renderLinks(links) : null] }));
1638
+ return (jsxs(BlockWrapper, { className: `bg-primary-main flex w-full p-10 overflow-hidden justify-between font-sans ${className}`, ...rest, children: [jsxs("div", { className: "flex flex-col max-w-96 pr-9 text-white text-xl-light", children: [jsx(Headline, { title: title, as: "h1", description: description, align: "text-left", className: "p-0", bgColorHeadline: "secondary" }), additionalDescription ? (jsx("div", { className: "pt-6", children: jsx(Paragraph, { children: additionalDescription }) })) : null] }), links?.length ? renderLinks(links) : null] }));
1630
1639
  });
1631
1640
  const renderLinks = (links) => {
1632
1641
  const itemCount = Math.ceil(links.length / MAX_LINKS_COUNT);
@@ -1694,6 +1703,59 @@
1694
1703
  const CarouselProgramsCard = JSX(({ className = '', title, icon, list = [], version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: `font-sans border border-main-stroke flex min-w-[536px] ${VersionStyleMap[version]} ${className}`, ...rest, children: [jsxs("div", { className: "w-[200px] min-w-[200px] self-end", children: [icon?.icon ? jsx(ImgInner, { image: getIconWithVersion(icon), asSVG: true }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null] }), jsxs("div", { className: "p-8 pl-3 w-full", children: [title ? jsx(Heading, { className: " mb-3.5", headingType: "h5", title: title }) : null, list.length ? jsx("div", { className: "flex flex-col gap-3", children: list?.map(renderList$2) }) : null] })] })));
1695
1704
  const renderList$2 = (_, i) => (jsxs("div", { className: "break-words", children: [_.title ? jsx("div", { className: `text-h6`, children: _.title }) : null, _.description ? jsx("span", { className: "text-l-light mt-1", children: _.description }) : null] }, String(i)));
1696
1705
 
1706
+ const ICONS_MAP = [
1707
+ {
1708
+ origins: ['t.me', 'telegram.org'],
1709
+ icon: { icon: 'TelegramIcon' },
1710
+ label: 'Телеграм',
1711
+ },
1712
+ {
1713
+ origins: ['vk.com'],
1714
+ icon: { icon: 'VKIcon' },
1715
+ label: 'ВКонтакте',
1716
+ },
1717
+ {
1718
+ origins: ['ok.ru'],
1719
+ icon: { icon: 'OkIcon' },
1720
+ label: 'Одноклассники',
1721
+ },
1722
+ {
1723
+ origins: ['apps.apple.com'],
1724
+ icon: { icon: 'AppleIcon' },
1725
+ label: 'App Store',
1726
+ },
1727
+ {
1728
+ origins: ['play.google.com'],
1729
+ icon: { icon: 'PlayMarketIcon' },
1730
+ label: 'Google Play',
1731
+ },
1732
+ ];
1733
+ const MediaButton = JSX(({ version = 'primary', ...rest }) => {
1734
+ const link = useLink();
1735
+ const { href, onClick } = link(rest);
1736
+ const { icon, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
1737
+ if (!icon) {
1738
+ return null;
1739
+ }
1740
+ const classes = version === 'secondary'
1741
+ ? 'bg-white hover:bg-secondary-hover'
1742
+ : 'border-solid border border-main-divider hover:border-transparent hover:bg-primary-main';
1743
+ const isPrimary = version === 'primary';
1744
+ return (jsx("a", { className: `flex items-center justify-center rounded-md w-14 h-14 group box-border ${classes} ${isPrimary ? 'hover:text-black' : ''}`, href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", onClick: onClick, children: icon ? (jsx(ImgInner, { image: getIconWithVersion(icon), imageClassName: "group-hover:text-white", width: "24", height: "24", asSVG: true })) : null }));
1745
+ });
1746
+
1747
+ const SocialMedia = JSX(({ className = '', media, version, children }) => (jsxs("div", { className: "font-sans", children: [jsx("div", { className: `flex gap-2.5 ${className}`, children: media?.map((_, index) => (jsx(MediaButton, { version: version, ..._ }, String(index)))) }), jsx("span", { className: "text-s-light text-secondary-text", children: children })] })));
1748
+
1749
+ const CarouselRecommendationCard = JSX(({ button, className = '', description, image, items = [], socialMedia = [], title, version = 'primary', ...rest }) => {
1750
+ const tileTitle = title ? (jsx(Heading, { headingType: "h5", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
1751
+ const tileImage = image?.src ? (jsx(ImgInner, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
1752
+ return (jsx(BlockWrapper, { className: `relative text-left border border-solid box-border p-7 min-w-[524px]
1753
+ ${BorderVersionStyleMap[getOmitVersion(version)]}
1754
+ ${VersionWithGrayStyleMap[version]}
1755
+ ${className}`, ...rest, children: jsx(BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: jsxs("div", { className: "h-full flex flex-col justify-between", children: [description ? jsx("span", { className: "mb-2", children: description }) : null, items.length ? (jsx(List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items, version: version })) : null, socialMedia.length ? (jsx(SocialMedia, { className: "pt-10 pb-0", media: socialMedia, version: getOmitVersion(version) })) : null, button?.text ? jsx("div", { className: "pt-2 mt-16", children: renderButton({ button }) }) : null] }) }) }));
1756
+ });
1757
+ const getOmitVersion = (version) => version === 'gray' ? 'primary' : version;
1758
+
1697
1759
  const VISIBLE_ROWS_COUNT = 1;
1698
1760
  const CarouselTariffsCard = JSX(({ className = '', title, icon, isHighlighting, button, rows = [], ...rest }) => {
1699
1761
  const rowsNode = rows.map(renderCardInfo);
@@ -1723,7 +1785,7 @@
1723
1785
  itemCount: cards?.length,
1724
1786
  visibleItemCount: CARD_VIEW_COUNT$1,
1725
1787
  });
1726
- return (jsxs(BlockWrapper, { className: `bg-white relative font-sans p-12 overflow-hidden text-center ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", align: "center", ...rest }), jsx("div", { className: "flex duration-1000 gap-3.5 mt-8", style: { transform: `translateX(-${activeIndex * CARD_SHIFT$1}px)` }, role: "list", children: cards?.length ? cards.map((card, i) => jsx(CatalogCard, { ...card }, String(i))) : null }), renderArrows({
1788
+ return (jsxs(BlockWrapper, { className: `bg-white relative font-sans p-12 overflow-hidden text-center ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", ...rest }), jsx("div", { className: "flex duration-1000 gap-3.5 mt-8", style: { transform: `translateX(-${activeIndex * CARD_SHIFT$1}px)` }, role: "list", children: cards?.length ? cards.map((card, i) => jsx(CatalogCard, { ...card }, String(i))) : null }), renderArrows({
1727
1789
  ...controls,
1728
1790
  btnClass: ['left-8', 'right-8'],
1729
1791
  className: 'top-1/2 z-10 mt-6',
@@ -1801,7 +1863,7 @@
1801
1863
 
1802
1864
  const ContactsBlock = JSX(({ className = '', contacts, info, version = 'secondary', ...rest }) => (jsxs(BlockWrapper, { className: `${VersionStyleMap[version]} flex p-12 ${className}`, ...rest, children: [info?.length ? renderBlocks(info, version) : null, contacts?.length ? renderBlocks(contacts, version) : null] })));
1803
1865
  const renderBlocks = (info, version) => (jsx("div", { className: "flex grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index, version })) }));
1804
- const renderBlocksColumn = ({ column, index, version }) => column ? (jsx("div", { className: "flex flex-col grow basis-0 pr-11 last:pr-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => (jsxs("div", { className: "mt-6 first:mt-0", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "XS", align: "left", bgColorHeadline: version }), additionalDescription ? (jsx("div", { className: "mt-1.5 opacity-80", children: jsx(Paragraph, { size: "text-m-light", children: additionalDescription }) })) : null, button ? jsx(Button, { className: "mt-6", ...button }) : null] }, String(key)))) }, `col-${String(index)}`)) : null;
1866
+ const renderBlocksColumn = ({ column, index, version }) => column ? (jsx("div", { className: "flex flex-col grow basis-0 pr-11 last:pr-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => (jsxs("div", { className: "mt-6 first:mt-0", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "XS", align: "text-left", bgColorHeadline: version }), additionalDescription ? (jsx("div", { className: "mt-1.5 opacity-80", children: jsx(Paragraph, { size: "text-m-light", children: additionalDescription }) })) : null, button ? jsx(Button, { className: "mt-6", ...button }) : null] }, String(key)))) }, `col-${String(index)}`)) : null;
1805
1867
 
1806
1868
  const renderErrorContent = (error) => {
1807
1869
  if (error?.errorContentType === 'Image' && error?.image) {
@@ -1828,11 +1890,12 @@
1828
1890
  const formatCurrency = (value) => (value ? currencyNumberFormat.format(value) : '');
1829
1891
 
1830
1892
  const TABLE_HEAD_STYLE = 'text-left text-m-light text-secondary-text';
1893
+ const TABLE_HEAD_STYLE_WITH_PL = `${TABLE_HEAD_STYLE} pl-11`;
1831
1894
  const CURRENCY_ICONS_MAP = {
1832
1895
  USD: 'DollarIcon',
1833
1896
  EUR: 'EuroIcon',
1834
1897
  };
1835
- const CurrencyTable = JSX(({ className, exchangeCurrencyItems }) => (jsxs("table", { className: `h-fit w-fit ${className}`, children: [jsx("thead", { children: jsxs("tr", { children: [jsx("th", { className: TABLE_HEAD_STYLE, children: "\u0412\u0430\u043B\u044E\u0442\u0430" }), jsx("th", { className: `${TABLE_HEAD_STYLE} pl-11`, children: "\u041A\u0443\u043F\u0438\u0442\u044C" }), jsx("th", { className: `${TABLE_HEAD_STYLE} pl-11`, children: "\u041F\u0440\u043E\u0434\u0430\u0442\u044C" })] }) }), jsx("tbody", { children: exchangeCurrencyItems.map(renderCurrencyRow) })] })));
1898
+ const CurrencyTable = JSX(({ className, exchangeCurrencyItems }) => (jsxs("table", { className: `h-fit w-fit ${className}`, children: [jsx("thead", { children: jsxs("tr", { children: [jsx("th", { className: TABLE_HEAD_STYLE, children: "\u0412\u0430\u043B\u044E\u0442\u0430" }), jsx("th", { className: TABLE_HEAD_STYLE_WITH_PL, children: "\u041A\u0443\u043F\u0438\u0442\u044C" }), jsx("th", { className: TABLE_HEAD_STYLE_WITH_PL, children: "\u041F\u0440\u043E\u0434\u0430\u0442\u044C" })] }) }), jsx("tbody", { children: exchangeCurrencyItems.map(renderCurrencyRow) })] })));
1836
1899
  const renderCurrencyRow = (exchangeCurrencyItem) => {
1837
1900
  const currency = exchangeCurrencyItem?.currency?.currency;
1838
1901
  return (jsxs("tr", { className: "pb-1 text-h6", children: [jsx("td", { className: "pt-4", children: jsxs("div", { className: "flex items-center", children: [currency ? (jsx(ImgInner, { image: { icon: CURRENCY_ICONS_MAP[currency] }, width: "24", height: "24" })) : null, jsx("span", { className: "ml-2", children: currency })] }) }), jsx("td", { className: "pt-4 pl-11", children: formatCurrency(exchangeCurrencyItem?.saleExchangeRate) }), jsx("td", { className: "pt-4 pl-11", children: formatCurrency(exchangeCurrencyItem?.buyExchangeRate) })] }, currency));
@@ -2047,7 +2110,7 @@
2047
2110
  transparent: 'text-white',
2048
2111
  };
2049
2112
  const renderImage$3 = (bgColor, image, size) => {
2050
- return image?.src ? (jsx(ImgInner, { image: image, className: SVG_COLOR[bgColor], width: size?.width, height: size?.height, asSVG: true })) : (jsx(ImgInner, { image: {
2113
+ return image?.src ? (jsx(ImgInner, { image: image, className: SVG_COLOR[bgColor], width: size?.width, height: size?.height, pathPrefix: "/wcms-resources/", asSVG: true })) : (jsx(ImgInner, { image: {
2051
2114
  icon: image?.icon || 'LogoIcon',
2052
2115
  iconVersion: ICON_VERSION_MAP[bgColor],
2053
2116
  }, className: SVG_COLOR[bgColor], width: size?.width, height: size?.height, asSVG: true }));
@@ -2079,11 +2142,11 @@
2079
2142
  const SearchBarLabelClassName = isMobile ? 'text-s' : 'text-l-light';
2080
2143
  const SearchBarInputClassName = isMobile ? ' placeholder-transparent' : 'h-full';
2081
2144
  const inputPlaceholder = isMobile ? 'some search' : undefined;
2082
- 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(ImgInner, { 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-md box-border
2145
+ 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(ImgInner, { image: { icon: '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-md box-border
2083
2146
  outline-none pr-[6%] border-main-stroke hover:border-primary-hover active:border-primary-text 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) => {
2084
2147
  e.preventDefault();
2085
2148
  setTerm('');
2086
- }, children: jsx(ImgInner, { image: "CloseIcon", width: "24", height: "24" }) })) : (jsx(Button, { version: "primary", text: "\u041D\u0430\u0439\u0442\u0438", className: "invisible peer-focus:visible absolute top-[3px] right-1", onClick: (ev) => {
2149
+ }, children: jsx(ImgInner, { image: { icon: 'CloseIcon' }, width: "24", height: "24" }) })) : (jsx(Button, { version: "primary", text: "\u041D\u0430\u0439\u0442\u0438", className: "invisible peer-focus:visible absolute top-[3px] right-1", onClick: (ev) => {
2087
2150
  ev?.preventDefault();
2088
2151
  console.log('click');
2089
2152
  }, children: jsx("div", { className: "text-s px-9 py-2.5", children: "\u041D\u0430\u0439\u0442\u0438" }) }))] }));
@@ -2139,49 +2202,6 @@
2139
2202
  return (jsx("a", { className: "block text-l-light text-secondary-text hover:text-primary-main no-underline", href: href, target: target || '_self', onClick: onClick, children: text || `Раздел ${index}` }));
2140
2203
  });
2141
2204
 
2142
- const ICONS_MAP = [
2143
- {
2144
- origins: ['t.me', 'telegram.org'],
2145
- icon: { icon: 'TelegramIcon' },
2146
- label: 'Телеграм',
2147
- },
2148
- {
2149
- origins: ['vk.com'],
2150
- icon: { icon: 'VKIcon' },
2151
- label: 'ВКонтакте',
2152
- },
2153
- {
2154
- origins: ['ok.ru'],
2155
- icon: { icon: 'OkIcon' },
2156
- label: 'Одноклассники',
2157
- },
2158
- {
2159
- origins: ['apps.apple.com'],
2160
- icon: { icon: 'AppleIcon' },
2161
- label: 'App Store',
2162
- },
2163
- {
2164
- origins: ['play.google.com'],
2165
- icon: { icon: 'PlayMarketIcon' },
2166
- label: 'Google Play',
2167
- },
2168
- ];
2169
- const MediaButton = JSX(({ version = 'primary', ...rest }) => {
2170
- const link = useLink();
2171
- const { href, onClick } = link(rest);
2172
- const { icon, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
2173
- if (!icon) {
2174
- return null;
2175
- }
2176
- const classes = version === 'secondary'
2177
- ? 'bg-white hover:bg-secondary-hover'
2178
- : 'border-solid border border-main-divider hover:border-transparent hover:bg-primary-main';
2179
- const isPrimary = version === 'primary';
2180
- return (jsx("a", { className: `flex items-center justify-center rounded-md w-14 h-14 group box-border ${classes} ${isPrimary ? 'hover:text-black' : ''}`, href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", onClick: onClick, children: icon ? (jsx(ImgInner, { image: getIconWithVersion(icon), imageClassName: "group-hover:text-white", width: "24", height: "24", asSVG: true })) : null }));
2181
- });
2182
-
2183
- const SocialMedia = JSX(({ className = '', media, version, children }) => (jsxs("div", { className: "font-sans", children: [jsx("div", { className: `flex gap-2.5 ${className}`, children: media?.map((_, index) => (jsx(MediaButton, { version: version, ..._ }, String(index)))) }), jsx("span", { className: "text-s-light text-secondary-text", children: children })] })));
2184
-
2185
2205
  const TextInformationLink = JSX(({ className = '', index, ...rest }) => {
2186
2206
  const link = useLink();
2187
2207
  const { href, target, text, onClick } = link(rest);
@@ -2222,7 +2242,7 @@
2222
2242
  const renderAdditionalDescription$1 = (additionalDescription, version) => additionalDescription ? (jsx("div", { className: `text-m-light mt-auto ${VersionAdditionalStyleMap[version ?? 'primary']}`, children: additionalDescription })) : null;
2223
2243
  const renderItems$1 = (items, isDotted, version = 'primary') => (jsx(List, { className: `max-w-[308px] mt-2 text-s ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted, version: version }));
2224
2244
 
2225
- const GalleryContainer = JSX(({ headlineVersion = 'M', cards = [], version = 'normal', activeIndex, ...rest }) => (jsxs("div", { children: [jsx(Headline, { ...rest, className: "!p-0", headlineVersion: headlineVersion, align: "center" }), jsx("div", { className: `flex mt-8 ${cards?.length <= galleryLengthForScrollMap[version] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeIndex * cardWidthMap[version]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, version }, i)) })] })));
2245
+ const GalleryContainer = JSX(({ headlineVersion = 'M', cards = [], version = 'normal', activeIndex, ...rest }) => (jsxs("div", { children: [jsx(Headline, { ...rest, className: "!p-0", headlineVersion: headlineVersion }), jsx("div", { className: `flex mt-8 ${cards?.length <= galleryLengthForScrollMap[version] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeIndex * cardWidthMap[version]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, version }, i)) })] })));
2226
2246
  function renderCard({ card, version }, i) {
2227
2247
  return (jsx("section", { className: `box-border border-solid border border-main-stroke p-6 mx-2 flex flex-col justify-between
2228
2248
  items-stretch ${cardStyleMap[version]} ${VersionStyleMap[card.version ?? 'primary']} w-full col-span-4`, role: "listitem", children: jsx(GalleryCardInner, { ...card }) }, String(i)));
@@ -2243,7 +2263,7 @@
2243
2263
 
2244
2264
  const Gallery = JSX((props) => jsx(GalleryInner, { ...props, version: "normal" }));
2245
2265
 
2246
- const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (jsxs(BlockWrapper, { className: `font-sans bg-white p-12 ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0 mb-4", title: title, description: description, headlineVersion: "M", align: "center", ...rest }), calendar ? renderCalendar(calendar) : null] })));
2266
+ const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (jsxs(BlockWrapper, { className: `font-sans bg-white p-12 ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0 mb-4", title: title, description: description, headlineVersion: "M", ...rest }), calendar ? renderCalendar(calendar) : null] })));
2247
2267
  const renderCalendar = (calendar) => {
2248
2268
  const colCount = calendar.reduce((accumulator, currentValue) => currentValue?.month?.length ? accumulator + currentValue.month.length : accumulator, 0) || 1;
2249
2269
  const colSize = 100 / colCount;
@@ -2385,17 +2405,17 @@
2385
2405
  const CloseButton = JSX(({ close }) => (jsx("button", { className: "visible peer-placeholder-shown:invisible absolute top-6 right-6 w-6 h-6 p-1 bg-transparent cursor-pointer border-none", onClick: (e) => {
2386
2406
  e.preventDefault();
2387
2407
  close && close();
2388
- }, children: jsx(ImgInner, { image: "CloseIcon", width: "24", height: "24" }) })));
2408
+ }, children: jsx(ImgInner, { image: { icon: 'CloseIcon' }, width: "24", height: "24" }) })));
2389
2409
  const renderRegionGroup = ({ onChangeLocation, close }) => ([letter, regions]) => (jsxs("div", { className: "break-inside-avoid mb-7 w-[224px]", children: [jsx("div", { className: "mb-2.5", children: jsx(Text, { size: "text-h6", children: letter }) }), regions.map(renderRegion({ onChangeLocation, close }))] }, letter));
2390
2410
  const renderRegion = ({ onChangeLocation, close }) => (region) => (jsx("div", { className: "mb-1", children: jsx("button", { className: "cursor-pointer hover:text-primary-hover", onClick: () => {
2391
2411
  onChangeLocation && onChangeLocation(region);
2392
2412
  close && close();
2393
- }, children: region.name }) }, region.id));
2413
+ }, children: region.name || '' }) }, region.id));
2394
2414
  const ForeignOffices = JSX(({ foreignOffices }) => foreignOffices?.length ? (jsxs("div", { className: "border-t border-main-divider mt-7 pt-7", children: [jsx("div", { className: "mb-4", children: jsx(Text, { size: "text-m-light", color: "text-secondary-text", children: "\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430 \u0437\u0430 \u0440\u0443\u0431\u0435\u0436\u043E\u043C:" }) }), jsx("div", { className: "flex gap-10", children: foreignOffices.map((office, i) => (jsx(ForeignOffice, { ...office }, String(i)))) })] })) : null);
2395
2415
  const ForeignOffice = JSX(({ icon, ...rest }) => {
2396
2416
  const link = useLink();
2397
2417
  const { text, target, href, onClick } = link(rest);
2398
- return (jsxs("div", { className: "flex gap-x-3", children: [jsx(ImgInner, { image: icon }), jsx("a", { className: "hover:text-primary-hover", href: href, target: target, onClick: onClick, children: text })] }));
2418
+ return (jsxs("div", { className: "flex gap-x-3", children: [icon ? jsx(ImgInner, { pathPrefix: "/wcms-resources/", image: icon }) : null, text ? (jsx("a", { className: "hover:text-primary-hover", href: href, target: target, onClick: onClick, children: text })) : null] }));
2399
2419
  });
2400
2420
 
2401
2421
  const HeaderSecondaryMenuButton = JSX(({ className = '', children, ariaLabel }) => (jsx("button", { type: "button", className: `border-0 p-0 w-6 h-6 flex items-center bg-inherit cursor-pointer ${className}`, disabled: true, "aria-label": ariaLabel, children: children })));
@@ -2508,6 +2528,22 @@
2508
2528
  return (jsx(BlockWrapper, { tag: "header", className: `pt-6 px-20 ${bgColor} ${className} ${showSubMenu && activeTopItem?.items?.length ? 'pb-4' : 'pb-5'}`, ...rest, children: jsxs("div", { className: "container", children: [jsxs("div", { className: "flex items-center", children: [jsx(Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topMenu, jsx(HeaderSecondaryMenu, { className: "ml-auto", foreignOffices: foreignOffices, defaultLocation: defaultLocation, officesLink: officesLink, bgColor: bgColor })] }), jsx("div", { className: `mt-6 h-px ${BORDER_COLORS[bgColor]}` }), showSubMenu && activeTopItem?.items?.length ? (jsx(HeaderSubMenu, { subItems: activeTopItem.items, bgColor: bgColor })) : null] }) }));
2509
2529
  });
2510
2530
 
2531
+ const HorizontalLayout = JSX(({ className = '', gap = 'XS', isPadding = false, version = 'transparent', options, ...rest }) => {
2532
+ const paddingStyle = isPadding ? 'p-12' : '';
2533
+ return (jsx(BlockWrapper, { className: [
2534
+ 'grid grid-cols-12',
2535
+ paddingStyle,
2536
+ GapStyleMap[gap],
2537
+ LayoutBackgroundStyleMap[version],
2538
+ className,
2539
+ ]
2540
+ .filter(Boolean)
2541
+ .join(' '), ...rest, children: renderChildren({ ...rest, options: options }) }));
2542
+ });
2543
+ HorizontalLayout.childrenTypes = {
2544
+ exclude: ['HorizontalLayout'],
2545
+ };
2546
+
2511
2547
  const ImgBlock = JSX((props) => {
2512
2548
  const { className, image, ...rest } = props;
2513
2549
  return (jsx(BlockWrapper, { className: className, ...rest, children: jsx(ImgInner, { image: image }) }));
@@ -2557,7 +2593,7 @@
2557
2593
  return (jsxs("div", { className: "flex flex-col text-left whitespace-pre", children: [jsxs("span", { className: "text-h6", children: [addSpacesBetweenNumbers(sum), " \u20BD"] }), jsx("span", { className: "text-secondary-text text-l mt-1", children: title })] }));
2558
2594
  }
2559
2595
  function renderDoneIcon(isActive) {
2560
- return isActive ? (jsx(ImgInner, { className: `h-6 w-6 min-w-6 min-h-6 absolute right-4 top-4`, image: "DoneIcon", width: "24", height: "24" })) : null;
2596
+ return isActive ? (jsx(ImgInner, { className: `h-6 w-6 min-w-6 min-h-6 absolute right-4 top-4`, image: { icon: 'DoneIcon' }, width: "24", height: "24" })) : null;
2561
2597
  }
2562
2598
 
2563
2599
  const InsuranceAmountBlock = JSX(({ className = '', title, insuranceTabs = [], button, ...rest }) => {
@@ -2658,7 +2694,7 @@
2658
2694
  double: 'flex gap-x-5 gap-y-[26px] flex-wrap',
2659
2695
  single: 'flex gap-3.5 flex-col',
2660
2696
  };
2661
- const LinkDocs = JSX(({ className = '', title, description, align = 'center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => (jsxs(BlockWrapper, { className: `font-sans text-primary-text p-12 bg-white ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, align: align, headlineVersion: "M", as: "h2", ...rest }), jsx(LinkDocsList, { className: `mt-8 ${linkColumnsModeStyleMap[columnsMode]}`, columnsMode: columnsMode, documents: documents, icon: icon })] })));
2697
+ const LinkDocs = JSX(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => (jsxs(BlockWrapper, { className: `font-sans text-primary-text p-12 bg-white ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, align: align, headlineVersion: "M", as: "h2", ...rest }), jsx(LinkDocsList, { className: `mt-8 ${linkColumnsModeStyleMap[columnsMode]}`, columnsMode: columnsMode, documents: documents, icon: icon })] })));
2662
2698
 
2663
2699
  const MiniGallery = JSX((props) => (jsx(GalleryInner, { ...props, version: "mini" })));
2664
2700
 
@@ -3169,7 +3205,7 @@
3169
3205
  return `w-12 h-12 min-w-12 rounded-full p-2.5 box-border flex items-center justify-center ${bgColorStyle}`;
3170
3206
  }
3171
3207
 
3172
- const PictureText = JSX(({ className = '', title, description, image, benefits, version = 'primary', sum, monthLimit, directionRight = false, ...rest }) => (jsxs(BlockWrapper, { className: `relative font-sans py-12 px-24 ${VersionStyleMap[version]} ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", bgColorHeadline: version, align: "center", ...rest }), jsxs("div", { className: 'flex justify-center gap-[122px] mt-[30px]', children: [image?.src ? jsx(ImgInner, { className: directionRight ? 'order-2' : '', image: image }) : null, jsxs("div", { className: "w-[558px] m-auto", children: [benefits?.length ? (jsx("div", { className: "flex flex-col gap-4", children: benefits.map(renderBenefit$2(version)) })) : null, renderInsuranceSumMonth(Number(sum), Number(monthLimit))] })] })] })));
3208
+ const PictureText = JSX(({ className = '', title, description, image, benefits, version = 'primary', sum, monthLimit, directionRight = false, ...rest }) => (jsxs(BlockWrapper, { className: `relative font-sans py-12 px-24 ${VersionStyleMap[version]} ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", bgColorHeadline: version, ...rest }), jsxs("div", { className: 'flex justify-center gap-[122px] mt-[30px]', children: [image?.src ? jsx(ImgInner, { className: directionRight ? 'order-2' : '', image: image }) : null, jsxs("div", { className: "w-[558px] m-auto", children: [benefits?.length ? (jsx("div", { className: "flex flex-col gap-4", children: benefits.map(renderBenefit$2(version)) })) : null, renderInsuranceSumMonth(Number(sum), Number(monthLimit))] })] })] })));
3173
3209
  const renderBenefit$2 = (version) => (benefit, i) => (jsx(BenefitItem, { icon: benefit.icon, label: benefit.label, description: benefit.description, version: version }, String(i)));
3174
3210
  function renderInsuranceSumMonth(sum, monthLimit) {
3175
3211
  return sum || monthLimit ? (jsxs("div", { className: "bg-main-divider rounded-md flex mt-7 gap-6 px-5 py-4", children: [Number(sum) > 0 ? renderValueBlock('Страховая сумма:', sum, Boolean(monthLimit)) : null, Number(monthLimit) > 0
@@ -3228,7 +3264,7 @@
3228
3264
  const ProductBlockInner = JSX(({ className = '', title, headlineVersion = 'L', description, benefitsCountOfRow = 3, benefits, benefitsVersion, buttons, footnote, image, items, version = 'primary', isDotted = true, textBlockClassName = '', ...rest }) => {
3229
3265
  const benefitsCount = benefits?.filter((_) => _.label)?.length;
3230
3266
  const benefitsContainerStyles = getBenefitsContainerStyles(benefitsCountOfRow);
3231
- return (jsxs("div", { className: `flex grow justify-between items-stretch h-full ${className}`, children: [jsxs("div", { className: `flex flex-col ${textBlockClassName}`, children: [jsx(Headline, { title: title, description: description, className: `!p-0 max-w-[600px]`, bgColorHeadline: version, headlineVersion: headlineVersion, align: "left", ...rest }), jsxs("div", { className: "flex flex-col justify-between h-full", children: [jsxs(BaseTile, { buttons: buttons?.length ? (jsx(ButtonSection, { buttons: buttons, className: "flex gap-4", ...rest })) : null, children: [benefitsCount ? (jsx("div", { className: benefitsContainerStyles, children: benefits.map(renderBenefit$1(version, benefitsVersion)) })) : null, items?.length ? (jsx(List, { className: "mt-5 text-h6", items: items, itemClassName: "mb-[7px]", version: version, isDotted: isDotted })) : null] }), footnote ? jsx("p", { className: "text-m-light pt-12", children: footnote }) : null] })] }), image?.src && jsx(ImgInner, { className: "mt-[-50px]", image: image })] }));
3267
+ return (jsxs("div", { className: `flex grow justify-between items-stretch h-full ${className}`, children: [jsxs("div", { className: `flex flex-col ${textBlockClassName}`, children: [jsx(Headline, { title: title, description: description, className: `!p-0 max-w-[600px]`, bgColorHeadline: version, headlineVersion: headlineVersion, align: "text-left", ...rest }), jsxs("div", { className: "flex flex-col justify-between h-full", children: [jsxs(BaseTile, { buttons: buttons?.length ? (jsx(ButtonSection, { buttons: buttons, className: "flex gap-4", ...rest })) : null, children: [benefitsCount ? (jsx("div", { className: benefitsContainerStyles, children: benefits.map(renderBenefit$1(version, benefitsVersion)) })) : null, items?.length ? (jsx(List, { className: "mt-5 text-h6", items: items, itemClassName: "mb-[7px]", version: version, isDotted: isDotted })) : null] }), footnote ? jsx("p", { className: "text-m-light pt-12", children: footnote }) : null] })] }), image?.src && jsx(ImgInner, { className: "mt-[-50px]", image: image })] }));
3232
3268
  });
3233
3269
  const getBenefitsContainerStyles = (benefitsCountOfRow = 2) => `gap-6 mt-6 ${benefitsCountOfRow > 2
3234
3270
  ? 'inline-grid grid-cols-[auto_auto_auto]'
@@ -3306,9 +3342,9 @@
3306
3342
  return (jsx("div", { className: `mt-2.5 z-10 ${descriptionWidth}`, children: jsx(Paragraph, { size: "text-m", font: "font-light", color: DESCRIPTION_STYLE_MAP[version], children: additionalDescription }) }));
3307
3343
  }
3308
3344
 
3309
- const MarkdownText = JSX((props) => {
3310
- const { md = '' } = props;
3311
- return jsx("div", { className: "md-container", dangerouslySetInnerHTML: { __html: md } });
3345
+ const RichText = JSX((props) => {
3346
+ const { __html = '' } = props;
3347
+ return jsx("div", { className: "md-container", dangerouslySetInnerHTML: { __html } });
3312
3348
  });
3313
3349
 
3314
3350
  function assertUnreachable(x) {
@@ -3324,7 +3360,7 @@
3324
3360
  // eslint-disable-next-line consistent-return
3325
3361
  (benefit, i) => {
3326
3362
  const { type } = benefit;
3327
- if (!(type === 'default' || type === 'md')) {
3363
+ if (!(type === 'default' || type === 'rte')) {
3328
3364
  return null;
3329
3365
  }
3330
3366
  switch (type) {
@@ -3333,8 +3369,8 @@
3333
3369
  jsx(Text, { size: "text-h6", children: benefit.label }, `label-${i}`),
3334
3370
  jsx(Text, { size: "text-m-light", color: LABEL_STYLE_MAP[version], children: benefit.description }, `desc-${i}`),
3335
3371
  ];
3336
- case 'md':
3337
- return jsx(MarkdownText, { md: benefit.md });
3372
+ case 'rte':
3373
+ return jsx(RichText, { __html: benefit.__html });
3338
3374
  default:
3339
3375
  assertUnreachable(benefit);
3340
3376
  }
@@ -3348,7 +3384,7 @@
3348
3384
  }
3349
3385
 
3350
3386
  const ProductTile = JSX(({ className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, isImageOnRightSide = true, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: `overflow-hidden font-sans p-9 box-border relative min-h-[364px]
3351
- ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${className}`, ...rest, children: [jsxs("div", { className: `flex flex-col ${isImageOnRightSide ? '' : 'items-end'}`, children: [jsx(Headline, { className: `!p-0 !bg-transparent z-10 ${title || description ? 'mb-3.5' : ''}`, as: "h2", title: title, description: description, headlineVersion: headlineVersion, bgColorHeadline: version, align: "left", ...rest }), renderBenefits(benefits, version, image), renderAdditionalDescription(additionalDescription, image), buttons?.length ? (jsx(ButtonSection, { buttons: buttons, className: "mt-5 gap-4 z-10 text-l" })) : null] }), renderImage$1(image, isImageOnRightSide)] })));
3387
+ ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${className}`, ...rest, children: [jsxs("div", { className: `flex flex-col ${isImageOnRightSide ? '' : 'items-end'}`, children: [jsx(Headline, { className: `!p-0 !bg-transparent z-10 ${title || description ? 'mb-3.5' : ''}`, as: "h2", title: title, description: description, headlineVersion: headlineVersion, bgColorHeadline: version, align: "text-left", ...rest }), renderBenefits(benefits, version, image), renderAdditionalDescription(additionalDescription, image), buttons?.length ? (jsx(ButtonSection, { buttons: buttons, className: "mt-5 gap-4 z-10 text-l" })) : null] }), renderImage$1(image, isImageOnRightSide)] })));
3352
3388
  function renderBenefits(benefits, version, image) {
3353
3389
  if (!benefits.length) {
3354
3390
  return null;
@@ -3359,7 +3395,7 @@
3359
3395
  ${benefitsWidth}`, children: benefits.length ? benefits.map(renderBenefit(version)) : null }));
3360
3396
  }
3361
3397
 
3362
- const PromoTile = JSX(({ className = '', title = 'Акции и спецпредложения', date, description, buttons = [], version = 'primary', ...rest }) => (jsx(BlockWrapper, { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: jsx(BaseTile, { title: title ? (jsx(Headline, { title: title, className: `!p-0 max-w-[600px]`, headlineVersion: getTileHeadingType(className), bgColorHeadline: version, align: "left", as: "h2", ...rest })) : null, buttons: buttons?.length ? jsx(ButtonSection, { buttons: buttons, className: "flex gap-3" }) : null, children: jsxs("div", { className: "mt-1.5", children: [date ? jsx("div", { className: "text-s mb-2", children: formatDate(date) }) : null, jsx("div", { className: "text-l", children: description })] }) }) })));
3398
+ const PromoTile = JSX(({ className = '', title = 'Акции и спецпредложения', date, description, buttons = [], version = 'primary', ...rest }) => (jsx(BlockWrapper, { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: jsx(BaseTile, { title: title ? (jsx(Headline, { title: title, className: `!p-0 max-w-[600px]`, headlineVersion: getTileHeadingType(className), bgColorHeadline: version, align: "text-left", as: "h2", ...rest })) : null, buttons: buttons?.length ? jsx(ButtonSection, { buttons: buttons, className: "flex gap-3" }) : null, children: jsxs("div", { className: "mt-1.5", children: [date ? jsx("div", { className: "text-s mb-2", children: formatDate(date) }) : null, jsx("div", { className: "text-l", children: description })] }) }) })));
3363
3399
  function formatDate(date) {
3364
3400
  const dateObj = new Date(date);
3365
3401
  const dateFormat = {
@@ -3370,15 +3406,6 @@
3370
3406
  return dateObj.toLocaleString('ru-RU', dateFormat).replace('г.', '');
3371
3407
  }
3372
3408
 
3373
- const CarouselRecommendationCard = JSX(({ button, className = '', description, image, items = [], socialMedia = [], title, version = 'primary', ...rest }) => {
3374
- const tileTitle = title ? (jsx(Heading, { headingType: "h5", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
3375
- const tileImage = image?.src ? (jsx(ImgInner, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
3376
- return (jsx(BlockWrapper, { className: `relative text-left border border-solid box-border p-7 min-w-[524px]
3377
- ${BorderVersionStyleMap[version]}
3378
- ${VersionStyleMap[version]}
3379
- ${className}`, ...rest, children: jsx(BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: jsxs("div", { className: "h-full flex flex-col justify-between", children: [description ? jsx("span", { className: "mb-2", children: description }) : null, items.length ? (jsx(List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items, version: version })) : null, socialMedia.length ? (jsx(SocialMedia, { className: "pt-10 pb-0", media: socialMedia, version: version })) : null, button?.text ? jsx("div", { className: "pt-2 mt-16", children: renderButton({ button }) }) : null] }) }) }));
3380
- });
3381
-
3382
3409
  const RecommendationCard = JSX(({ className = '', title, description, items, image, version, socialMedia, button }) => {
3383
3410
  const tileTitle = title ? (jsx(Heading, { headingType: "h5", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
3384
3411
  const tileImage = image?.src ? (jsx(ImgInner, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
@@ -3402,6 +3429,11 @@
3402
3429
  })] }), jsx("div", { className: `${BLUR_BLOCK_CLASSES} left-0 ${version === 'secondary' ? 'bg-opacity-from-main' : 'bg-opacity-from-white'}` }), jsx("div", { className: `${BLUR_BLOCK_CLASSES} right-0 ${version === 'secondary' ? 'bg-opacity-to-main' : 'bg-opacity-to-white'}` })] }));
3403
3430
  });
3404
3431
 
3432
+ const RichTextBlock = JSX((props) => {
3433
+ const { __html, ...rest } = props;
3434
+ return (jsx(BlockWrapper, { ...rest, children: jsx(RichText, { __html: __html }) }));
3435
+ });
3436
+
3405
3437
  const RollupItem = JSX(({ className = '', label = 'Развернуть', isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => (jsx("div", { className: `border-b border-solid border-main-divider w-full ${className}`, children: jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (jsx("div", { className: "box-border", children: jsx(FoldableSection, { className: `grid grid-cols-12 gap-1 border-box`, isUnfolded: isUnfolded, children: renderChildren(rest) }) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({ isUnfolded, onToggle, label, version }) }) })));
3406
3438
  RollupItem.childrenTypes = {
3407
3439
  exclude: [
@@ -3799,7 +3831,7 @@
3799
3831
  const toggleTables = useCallback((key) => setHiddenTables((oldState) => ({ ...oldState, [key]: !oldState[key] })), []);
3800
3832
  return (jsx("div", { children: items.map((_, tableIdx) => {
3801
3833
  const key = `activeTabIdx:${activeTabIndex}-tableIdx:${tableIdx}`;
3802
- return (jsxs("div", { className: "w-full", children: [jsxs("div", { className: "flex p-4 bg-main-stroke text-xl-light text-center justify-center cursor-pointer relative", onClick: () => toggleTables(key), children: [_.title, jsx(ImgInner, { image: hiddenTables[key] ? 'PlusIcon' : 'MinusIcon', className: "absolute right-[22px]", width: "24", height: "24" })] }), jsx("div", { className: `w-full pl-2 overflow-hidden transition-height duration-500 ease-in-out ${hiddenTables[key] ? 'h-0' : ''}`, children: jsx("div", { className: "relative", children: jsx(InnerTableBodyItem, { rows: _.rowsData }) }) })] }, key));
3834
+ return (jsxs("div", { className: "w-full", children: [jsxs("div", { className: "flex p-4 bg-main-stroke text-xl-light text-center justify-center cursor-pointer relative", onClick: () => toggleTables(key), children: [_.title, jsx(ImgInner, { image: { icon: hiddenTables[key] ? 'PlusIcon' : 'MinusIcon' }, className: "absolute right-[22px]", width: "24", height: "24" })] }), jsx("div", { className: `w-full pl-2 overflow-hidden transition-height duration-500 ease-in-out ${hiddenTables[key] ? 'h-0' : ''}`, children: jsx("div", { className: "relative", children: jsx(InnerTableBodyItem, { rows: _.rowsData }) }) })] }, key));
3803
3835
  }) }));
3804
3836
  });
3805
3837
 
@@ -3902,29 +3934,15 @@
3902
3934
  center: 'items-center',
3903
3935
  right: 'items-end',
3904
3936
  };
3905
- const gapStyleMap = {
3906
- XXL: 'gap-12',
3907
- XL: 'gap-10',
3908
- L: 'gap-8',
3909
- M: 'gap-4',
3910
- S: 'gap-2',
3911
- XS: 'gap-1',
3912
- '': '',
3913
- };
3914
- const backgroundStyleMap = {
3915
- transparent: '',
3916
- primary: 'bg-white',
3917
- secondary: 'bg-primary-main',
3918
- };
3919
3937
  const VerticalLayout = JSX(({ className = '', gap = '', align, isPadding = false, isInnerPadding = true, version = 'transparent', options, ...rest }) => {
3920
3938
  const paddingStyle = isPadding ? 'p-12' : '';
3921
3939
  const innerPaddingStyle = isInnerPadding ? '' : '!p-0';
3922
3940
  return (jsx(BlockWrapper, { className: [
3923
3941
  'flex flex-col [&>*]:max-w-full',
3924
3942
  paddingStyle,
3925
- gapStyleMap[gap],
3943
+ GapStyleMap[gap],
3926
3944
  align && alignStyle[align],
3927
- backgroundStyleMap[version],
3945
+ LayoutBackgroundStyleMap[version],
3928
3946
  className,
3929
3947
  ]
3930
3948
  .filter(Boolean)
@@ -3946,12 +3964,12 @@
3946
3964
  Accordion,
3947
3965
  AccordionItem,
3948
3966
  BenefitsBlock,
3949
- BusinessBlock,
3950
- ButtonBlock,
3951
3967
  Bonus,
3952
3968
  BonusBenefitsBlock,
3953
- CardTransfer,
3969
+ BusinessBlock,
3970
+ ButtonBlock,
3954
3971
  Calculator,
3972
+ CardTransfer,
3955
3973
  Carousel,
3956
3974
  CarouselCard,
3957
3975
  CarouselCatalogCard,
@@ -3959,10 +3977,11 @@
3959
3977
  CarouselLinks,
3960
3978
  CarouselProductCard,
3961
3979
  CarouselProgramsCard,
3980
+ CarouselRecommendationCard,
3962
3981
  CarouselTariffsCard,
3963
3982
  Catalog,
3964
- ContactsBlock,
3965
3983
  ComparisonTable,
3984
+ ContactsBlock,
3966
3985
  ErrorBlock,
3967
3986
  ExchangeRateTile,
3968
3987
  Footer,
@@ -3970,12 +3989,17 @@
3970
3989
  GracePeriod,
3971
3990
  Header,
3972
3991
  Headline,
3992
+ HorizontalLayout,
3973
3993
  ImgBlock,
3974
3994
  InsuranceAmountBlock,
3975
3995
  InvestmentInfo,
3976
3996
  LinkDocs,
3977
3997
  MiniGallery,
3978
3998
  MobileAppTile,
3999
+ OfficeMap,
4000
+ OfficeServicesBlock,
4001
+ OtherProducts,
4002
+ OtherProductsItem,
3979
4003
  ParagraphBlock,
3980
4004
  PictureText,
3981
4005
  Placeholder,
@@ -3983,10 +4007,8 @@
3983
4007
  ProductGallery,
3984
4008
  ProductTile,
3985
4009
  PromoTile,
3986
- OfficeServicesBlock,
3987
- OtherProducts,
3988
- OtherProductsItem,
3989
- CarouselRecommendationCard,
4010
+ Recommendation,
4011
+ RichTextBlock,
3990
4012
  RollupItem,
3991
4013
  SafeDepositRental,
3992
4014
  StepsBlock,
@@ -3996,8 +4018,6 @@
3996
4018
  Tile,
3997
4019
  VerticalLayout,
3998
4020
  Video,
3999
- Recommendation,
4000
- OfficeMap,
4001
4021
  };
4002
4022
 
4003
4023
  const debounce = (fn, delay = 600) => {
@@ -4125,7 +4145,7 @@
4125
4145
  return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto" }) }));
4126
4146
  }
4127
4147
 
4128
- const packageVersion = "0.6.45";
4148
+ const packageVersion = "0.6.47";
4129
4149
 
4130
4150
  exports.Blocks = Blocks;
4131
4151
  exports.ContentPage = ContentPage;