@redneckz/wildless-cms-uni-blocks 0.6.46 → 0.6.48

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 (764) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +115 -109
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
  5. package/bundle/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  6. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  7. package/bundle/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  8. package/bundle/components/ComparisonTable/constants.d.ts +1 -1
  9. package/bundle/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  10. package/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  11. package/bundle/components/OfficeMap/OfficeMap.d.ts +3 -0
  12. package/bundle/components/OfficeMap/OfficeMapContent.d.ts +4 -1
  13. package/bundle/components/ProductTile/ProductTileContent.d.ts +5 -5
  14. package/bundle/components/RichTextBlock/RichTextBlock.d.ts +6 -0
  15. package/bundle/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
  16. package/bundle/content-page-repository/replaceHeadingTags.d.ts +1 -0
  17. package/bundle/content-page-repository/transformHTML.d.ts +1 -0
  18. package/bundle/model/BlockVersion.d.ts +6 -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 +4 -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/dist/components/AccordionItem/AccordionItem.js +1 -1
  26. package/dist/components/AccordionItem/AccordionItem.js.map +1 -1
  27. package/dist/components/Blocks.js +10 -8
  28. package/dist/components/Blocks.js.map +1 -1
  29. package/dist/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
  30. package/dist/components/BusinessBlock/BusinessCard.js +2 -2
  31. package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  32. package/dist/components/Calculator/Calculator.js +1 -1
  33. package/dist/components/Carousel/Carousel.js +3 -1
  34. package/dist/components/Carousel/Carousel.js.map +1 -1
  35. package/dist/components/CarouselCard/CarouselCard.js +1 -1
  36. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  37. package/dist/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  38. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  39. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  40. package/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
  41. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  42. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  43. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.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/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  48. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  49. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  50. package/dist/components/Catalog/CatalogCard.js +1 -1
  51. package/dist/components/Catalog/CatalogCard.js.map +1 -1
  52. package/dist/components/ComparisonTable/ComparisonTable.js +1 -1
  53. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  54. package/dist/components/ComparisonTable/TableColumn.js +1 -1
  55. package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  56. package/dist/components/ComparisonTable/constants.d.ts +1 -1
  57. package/dist/components/ComparisonTable/constants.js +1 -1
  58. package/dist/components/ComparisonTable/constants.js.map +1 -1
  59. package/dist/components/ExchangeRateTile/CurrencyTable.js +2 -1
  60. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  61. package/dist/components/Gallery/Gallery.mobile.js +1 -1
  62. package/dist/components/Gallery/GalleryContainer.js +1 -1
  63. package/dist/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  64. package/dist/components/Header/DropdownMenu.js +2 -2
  65. package/dist/components/Header/DropdownMenu.js.map +1 -1
  66. package/dist/components/Header/HeaderBurger.js +1 -1
  67. package/dist/components/Header/HeaderBurger.js.map +1 -1
  68. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +3 -3
  69. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  70. package/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  71. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  72. package/dist/components/LinkDocs/LinkDocsHorizontalList.js +1 -1
  73. package/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
  74. package/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  75. package/dist/components/LinkDocs/LinkDocsVerticalList.js +1 -1
  76. package/dist/components/LinkDocs/LinkDocsVerticalList.js.map +1 -1
  77. package/dist/components/OfficeMap/OfficeMap.d.ts +3 -0
  78. package/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  79. package/dist/components/OfficeMap/OfficeMapContent.d.ts +4 -1
  80. package/dist/components/OfficeMap/renderFunctions.js +1 -1
  81. package/dist/components/OfficeMap/renderFunctions.js.map +1 -1
  82. package/dist/components/ProductGallery/ProductGallery.js +1 -1
  83. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  84. package/dist/components/ProductTile/ProductTileContent.d.ts +5 -5
  85. package/dist/components/ProductTile/renderBenefit.js +4 -4
  86. package/dist/components/ProductTile/renderBenefit.js.map +1 -1
  87. package/dist/components/RichTextBlock/RichTextBlock.d.ts +6 -0
  88. package/dist/components/RichTextBlock/RichTextBlock.js +11 -0
  89. package/dist/components/RichTextBlock/RichTextBlock.js.map +1 -0
  90. package/dist/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
  91. package/dist/components/RichTextBlock/RichTextBlockContent.js +2 -0
  92. package/dist/components/RichTextBlock/RichTextBlockContent.js.map +1 -0
  93. package/dist/components/TariffsTable/TariffsTableTileCell.js +1 -1
  94. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  95. package/dist/content-page-repository/replaceHeadingTags.d.ts +1 -0
  96. package/dist/content-page-repository/replaceHeadingTags.js +5 -0
  97. package/dist/content-page-repository/replaceHeadingTags.js.map +1 -0
  98. package/dist/content-page-repository/transformContentPage.js +5 -0
  99. package/dist/content-page-repository/transformContentPage.js.map +1 -1
  100. package/dist/content-page-repository/transformHTML.d.ts +1 -0
  101. package/dist/content-page-repository/transformHTML.js +23 -0
  102. package/dist/content-page-repository/transformHTML.js.map +1 -0
  103. package/dist/content-page-repository/transformMarkdown.js +2 -1
  104. package/dist/content-page-repository/transformMarkdown.js.map +1 -1
  105. package/dist/model/BlockVersion.d.ts +6 -0
  106. package/dist/model/BlockVersion.js +6 -1
  107. package/dist/model/BlockVersion.js.map +1 -1
  108. package/dist/model/BorderVersion.js +1 -1
  109. package/dist/model/BorderVersion.js.map +1 -1
  110. package/dist/ui-kit/Button/ButtonSection.js +1 -1
  111. package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  112. package/dist/ui-kit/Button/getRegularButtonClasses.js +1 -1
  113. package/dist/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
  114. package/dist/ui-kit/Checkbox/Checkbox.js +2 -2
  115. package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  116. package/dist/ui-kit/Img/Img.mobile.d.ts +2 -2
  117. package/dist/ui-kit/Img/Img.mobile.js.map +1 -1
  118. package/dist/ui-kit/Img/ImgAsPicture.d.ts +2 -2
  119. package/dist/ui-kit/Img/ImgAsPicture.js +7 -7
  120. package/dist/ui-kit/Img/ImgAsPicture.js.map +1 -1
  121. package/dist/ui-kit/Img/ImgInner.d.ts +2 -2
  122. package/dist/ui-kit/Img/ImgInner.js +2 -8
  123. package/dist/ui-kit/Img/ImgInner.js.map +1 -1
  124. package/dist/ui-kit/Img/ImgProps.d.ts +4 -5
  125. package/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
  126. package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  127. package/dist/ui-kit/Input/Input.js +1 -1
  128. package/dist/ui-kit/Input/Input.js.map +1 -1
  129. package/dist/ui-kit/InputRange/InputRange.js +3 -3
  130. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  131. package/dist/ui-kit/Location/Location.js +1 -1
  132. package/dist/ui-kit/Location/Location.js.map +1 -1
  133. package/dist/ui-kit/Location/SearchBar.js +1 -1
  134. package/dist/ui-kit/Location/SearchBar.js.map +1 -1
  135. package/dist/ui-kit/Logo/renderImage.js +1 -1
  136. package/dist/ui-kit/Logo/renderImage.js.map +1 -1
  137. package/dist/ui-kit/Radio/Radio.js +1 -1
  138. package/dist/ui-kit/Radio/Radio.js.map +1 -1
  139. package/dist/ui-kit/RichText/RichText.d.ts +2 -0
  140. package/dist/ui-kit/{MarkdownText/MarkdownText.js → RichText/RichText.js} +5 -5
  141. package/dist/ui-kit/RichText/RichText.js.map +1 -0
  142. package/dist/ui-kit/RichText/RichTextProps.d.ts +6 -0
  143. package/dist/ui-kit/{MarkdownText/MarkdownTextProps.js → RichText/RichTextProps.js} +1 -1
  144. package/dist/ui-kit/RichText/RichTextProps.js.map +1 -0
  145. package/dist/ui-kit/SearchBar/SearchBarInner.js +3 -3
  146. package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  147. package/dist/ui-kit/Select/Select.js +1 -1
  148. package/dist/ui-kit/Select/Select.js.map +1 -1
  149. package/dist/ui-kit/Tags/Tags.js +1 -1
  150. package/dist/ui-kit/Tags/Tags.js.map +1 -1
  151. package/dist/ui-kit/YandexMap/YandexMap.js +3 -3
  152. package/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  153. package/dist/ui-kit/YandexMap/ZoomButton.js +1 -1
  154. package/dist/ui-kit/YandexMap/ZoomButton.js.map +1 -1
  155. package/dist/ui-kit/YandexMap/renderOpenMap.js +2 -2
  156. package/dist/ui-kit/YandexMap/renderOpenMap.js.map +1 -1
  157. package/dist/ui-kit/YandexMap/renderUserGeolocation.js +1 -2
  158. package/dist/ui-kit/YandexMap/renderUserGeolocation.js.map +1 -1
  159. package/lib/common.css +1 -1
  160. package/lib/components/AccordionItem/AccordionItem.js +1 -1
  161. package/lib/components/AccordionItem/AccordionItem.js.map +1 -1
  162. package/lib/components/Blocks.js +10 -8
  163. package/lib/components/Blocks.js.map +1 -1
  164. package/lib/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
  165. package/lib/components/BusinessBlock/BusinessCard.js +2 -2
  166. package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  167. package/lib/components/Calculator/Calculator.js +1 -1
  168. package/lib/components/Carousel/Carousel.js +3 -1
  169. package/lib/components/Carousel/Carousel.js.map +1 -1
  170. package/lib/components/CarouselCard/CarouselCard.js +1 -1
  171. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  172. package/lib/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  173. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  174. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  175. package/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  176. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  177. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  178. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  179. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.d.ts +1 -0
  180. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +5 -4
  181. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  182. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  183. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  184. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  185. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  186. package/lib/components/Catalog/CatalogCard.js +1 -1
  187. package/lib/components/Catalog/CatalogCard.js.map +1 -1
  188. package/lib/components/ComparisonTable/ComparisonTable.js +1 -1
  189. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  190. package/lib/components/ComparisonTable/TableColumn.js +1 -1
  191. package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  192. package/lib/components/ComparisonTable/constants.d.ts +1 -1
  193. package/lib/components/ComparisonTable/constants.js +1 -1
  194. package/lib/components/ComparisonTable/constants.js.map +1 -1
  195. package/lib/components/ExchangeRateTile/CurrencyTable.js +2 -1
  196. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  197. package/lib/components/Gallery/Gallery.mobile.js +1 -1
  198. package/lib/components/Gallery/GalleryContainer.js +1 -1
  199. package/lib/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  200. package/lib/components/Header/DropdownMenu.js +2 -2
  201. package/lib/components/Header/DropdownMenu.js.map +1 -1
  202. package/lib/components/Header/HeaderBurger.js +1 -1
  203. package/lib/components/Header/HeaderBurger.js.map +1 -1
  204. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +3 -3
  205. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  206. package/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  207. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  208. package/lib/components/LinkDocs/LinkDocsHorizontalList.js +1 -1
  209. package/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
  210. package/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  211. package/lib/components/LinkDocs/LinkDocsVerticalList.js +1 -1
  212. package/lib/components/LinkDocs/LinkDocsVerticalList.js.map +1 -1
  213. package/lib/components/OfficeMap/OfficeMap.d.ts +3 -0
  214. package/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  215. package/lib/components/OfficeMap/OfficeMapContent.d.ts +4 -1
  216. package/lib/components/OfficeMap/renderFunctions.js +1 -1
  217. package/lib/components/OfficeMap/renderFunctions.js.map +1 -1
  218. package/lib/components/ProductGallery/ProductGallery.js +1 -1
  219. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  220. package/lib/components/ProductTile/ProductTileContent.d.ts +5 -5
  221. package/lib/components/ProductTile/renderBenefit.js +4 -4
  222. package/lib/components/ProductTile/renderBenefit.js.map +1 -1
  223. package/lib/components/RichTextBlock/RichTextBlock.d.ts +6 -0
  224. package/lib/components/RichTextBlock/RichTextBlock.fixture.d.ts +6 -0
  225. package/lib/components/RichTextBlock/RichTextBlock.js +9 -0
  226. package/lib/components/RichTextBlock/RichTextBlock.js.map +1 -0
  227. package/lib/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
  228. package/lib/components/RichTextBlock/RichTextBlockContent.js +2 -0
  229. package/lib/components/RichTextBlock/RichTextBlockContent.js.map +1 -0
  230. package/lib/components/TariffsTable/TariffsTableTileCell.js +1 -1
  231. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  232. package/lib/content-page-repository/replaceHeadingTags.d.ts +1 -0
  233. package/lib/content-page-repository/replaceHeadingTags.js +2 -0
  234. package/lib/content-page-repository/replaceHeadingTags.js.map +1 -0
  235. package/lib/content-page-repository/transformContentPage.js +5 -0
  236. package/lib/content-page-repository/transformContentPage.js.map +1 -1
  237. package/lib/content-page-repository/transformHTML.d.ts +1 -0
  238. package/lib/content-page-repository/transformHTML.js +17 -0
  239. package/lib/content-page-repository/transformHTML.js.map +1 -0
  240. package/lib/content-page-repository/transformMarkdown.js +2 -1
  241. package/lib/content-page-repository/transformMarkdown.js.map +1 -1
  242. package/lib/model/BlockVersion.d.ts +6 -0
  243. package/lib/model/BlockVersion.js +5 -0
  244. package/lib/model/BlockVersion.js.map +1 -1
  245. package/lib/model/BorderVersion.js +1 -1
  246. package/lib/model/BorderVersion.js.map +1 -1
  247. package/lib/ui-kit/Button/ButtonSection.js +1 -1
  248. package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  249. package/lib/ui-kit/Button/getRegularButtonClasses.js +1 -1
  250. package/lib/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
  251. package/lib/ui-kit/Checkbox/Checkbox.js +2 -2
  252. package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  253. package/lib/ui-kit/Img/Img.mobile.d.ts +2 -2
  254. package/lib/ui-kit/Img/Img.mobile.js.map +1 -1
  255. package/lib/ui-kit/Img/ImgAsPicture.d.ts +2 -2
  256. package/lib/ui-kit/Img/ImgAsPicture.js +7 -7
  257. package/lib/ui-kit/Img/ImgAsPicture.js.map +1 -1
  258. package/lib/ui-kit/Img/ImgInner.d.ts +2 -2
  259. package/lib/ui-kit/Img/ImgInner.js +2 -8
  260. package/lib/ui-kit/Img/ImgInner.js.map +1 -1
  261. package/lib/ui-kit/Img/ImgProps.d.ts +4 -5
  262. package/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
  263. package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  264. package/lib/ui-kit/Input/Input.js +1 -1
  265. package/lib/ui-kit/Input/Input.js.map +1 -1
  266. package/lib/ui-kit/InputRange/InputRange.js +3 -3
  267. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  268. package/lib/ui-kit/Location/Location.js +1 -1
  269. package/lib/ui-kit/Location/Location.js.map +1 -1
  270. package/lib/ui-kit/Location/SearchBar.js +1 -1
  271. package/lib/ui-kit/Location/SearchBar.js.map +1 -1
  272. package/lib/ui-kit/Logo/renderImage.js +1 -1
  273. package/lib/ui-kit/Logo/renderImage.js.map +1 -1
  274. package/lib/ui-kit/Radio/Radio.js +1 -1
  275. package/lib/ui-kit/Radio/Radio.js.map +1 -1
  276. package/lib/ui-kit/RichText/RichText.d.ts +2 -0
  277. package/lib/ui-kit/RichText/RichText.fixture.d.ts +5 -0
  278. package/lib/ui-kit/{MarkdownText/MarkdownText.js → RichText/RichText.js} +4 -4
  279. package/lib/ui-kit/RichText/RichText.js.map +1 -0
  280. package/lib/ui-kit/RichText/RichTextProps.d.ts +6 -0
  281. package/lib/ui-kit/RichText/RichTextProps.js +2 -0
  282. package/lib/ui-kit/RichText/RichTextProps.js.map +1 -0
  283. package/lib/ui-kit/SearchBar/SearchBarInner.js +3 -3
  284. package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  285. package/lib/ui-kit/Select/Select.js +1 -1
  286. package/lib/ui-kit/Select/Select.js.map +1 -1
  287. package/lib/ui-kit/Tags/Tags.js +1 -1
  288. package/lib/ui-kit/Tags/Tags.js.map +1 -1
  289. package/lib/ui-kit/YandexMap/YandexMap.js +3 -3
  290. package/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  291. package/lib/ui-kit/YandexMap/ZoomButton.js +1 -1
  292. package/lib/ui-kit/YandexMap/ZoomButton.js.map +1 -1
  293. package/lib/ui-kit/YandexMap/renderOpenMap.js +2 -2
  294. package/lib/ui-kit/YandexMap/renderOpenMap.js.map +1 -1
  295. package/lib/ui-kit/YandexMap/renderUserGeolocation.js +1 -2
  296. package/lib/ui-kit/YandexMap/renderUserGeolocation.js.map +1 -1
  297. package/mobile/bundle/bundle.umd.js +22 -31
  298. package/mobile/bundle/bundle.umd.min.js +1 -1
  299. package/mobile/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
  300. package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  301. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  302. package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  303. package/mobile/bundle/components/ComparisonTable/constants.d.ts +1 -1
  304. package/mobile/bundle/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  305. package/mobile/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  306. package/mobile/bundle/components/OfficeMap/OfficeMap.d.ts +3 -0
  307. package/mobile/bundle/components/OfficeMap/OfficeMapContent.d.ts +4 -1
  308. package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +5 -5
  309. package/mobile/bundle/components/RichTextBlock/RichTextBlock.d.ts +6 -0
  310. package/mobile/bundle/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
  311. package/mobile/bundle/content-page-repository/replaceHeadingTags.d.ts +1 -0
  312. package/mobile/bundle/content-page-repository/transformHTML.d.ts +1 -0
  313. package/mobile/bundle/model/BlockVersion.d.ts +6 -0
  314. package/mobile/bundle/ui-kit/Img/Img.d.ts +2 -2
  315. package/mobile/bundle/ui-kit/Img/ImgAsPicture.d.ts +2 -2
  316. package/mobile/bundle/ui-kit/Img/ImgInner.d.ts +2 -2
  317. package/mobile/bundle/ui-kit/Img/ImgProps.d.ts +4 -5
  318. package/mobile/bundle/ui-kit/RichText/RichText.d.ts +2 -0
  319. package/mobile/bundle/ui-kit/RichText/RichTextProps.d.ts +6 -0
  320. package/mobile/dist/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
  321. package/mobile/dist/components/BusinessBlock/BusinessCard.js +2 -2
  322. package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  323. package/mobile/dist/components/Calculator/Calculator.js +1 -1
  324. package/mobile/dist/components/Carousel/Carousel.js +3 -1
  325. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  326. package/mobile/dist/components/CarouselCard/CarouselCard.js +1 -1
  327. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  328. package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  329. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  330. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  331. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
  332. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  333. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  334. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  335. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -3
  336. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  337. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  338. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  339. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  340. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  341. package/mobile/dist/components/Catalog/CatalogCard.js +1 -1
  342. package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
  343. package/mobile/dist/components/ComparisonTable/TableColumn.js +1 -1
  344. package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  345. package/mobile/dist/components/ComparisonTable/constants.d.ts +1 -1
  346. package/mobile/dist/components/ComparisonTable/constants.js +1 -1
  347. package/mobile/dist/components/ComparisonTable/constants.js.map +1 -1
  348. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +2 -1
  349. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  350. package/mobile/dist/components/Gallery/Gallery.js +1 -1
  351. package/mobile/dist/components/Gallery/GalleryContainer.js +1 -1
  352. package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  353. package/mobile/dist/components/Header/DropdownMenu.js +2 -2
  354. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
  355. package/mobile/dist/components/Header/HeaderBurger.js +1 -1
  356. package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
  357. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +3 -3
  358. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  359. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  360. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  361. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js +1 -1
  362. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
  363. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  364. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js +1 -1
  365. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js.map +1 -1
  366. package/mobile/dist/components/OfficeMap/OfficeMap.d.ts +3 -0
  367. package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  368. package/mobile/dist/components/OfficeMap/OfficeMapContent.d.ts +4 -1
  369. package/mobile/dist/components/OfficeMap/renderFunctions.js +1 -1
  370. package/mobile/dist/components/OfficeMap/renderFunctions.js.map +1 -1
  371. package/mobile/dist/components/ProductGallery/ProductGallery.js +1 -1
  372. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  373. package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +5 -5
  374. package/mobile/dist/components/ProductTile/renderBenefit.js +4 -4
  375. package/mobile/dist/components/ProductTile/renderBenefit.js.map +1 -1
  376. package/mobile/dist/components/RichTextBlock/RichTextBlock.d.ts +6 -0
  377. package/mobile/dist/components/RichTextBlock/RichTextBlock.js +11 -0
  378. package/mobile/dist/components/RichTextBlock/RichTextBlock.js.map +1 -0
  379. package/mobile/dist/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
  380. package/mobile/dist/components/RichTextBlock/RichTextBlockContent.js +2 -0
  381. package/mobile/dist/components/RichTextBlock/RichTextBlockContent.js.map +1 -0
  382. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +1 -1
  383. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  384. package/mobile/dist/content-page-repository/replaceHeadingTags.d.ts +1 -0
  385. package/mobile/dist/content-page-repository/replaceHeadingTags.js +5 -0
  386. package/mobile/dist/content-page-repository/replaceHeadingTags.js.map +1 -0
  387. package/mobile/dist/content-page-repository/transformContentPage.js +5 -0
  388. package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
  389. package/mobile/dist/content-page-repository/transformHTML.d.ts +1 -0
  390. package/mobile/dist/content-page-repository/transformHTML.js +23 -0
  391. package/mobile/dist/content-page-repository/transformHTML.js.map +1 -0
  392. package/mobile/dist/content-page-repository/transformMarkdown.js +2 -1
  393. package/mobile/dist/content-page-repository/transformMarkdown.js.map +1 -1
  394. package/mobile/dist/model/BlockVersion.d.ts +6 -0
  395. package/mobile/dist/model/BlockVersion.js +6 -1
  396. package/mobile/dist/model/BlockVersion.js.map +1 -1
  397. package/mobile/dist/model/BorderVersion.js +1 -1
  398. package/mobile/dist/model/BorderVersion.js.map +1 -1
  399. package/mobile/dist/ui-kit/Button/ButtonSection.js +1 -1
  400. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  401. package/mobile/dist/ui-kit/Button/getRegularButtonClasses.js +1 -1
  402. package/mobile/dist/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
  403. package/mobile/dist/ui-kit/Checkbox/Checkbox.js +2 -2
  404. package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  405. package/mobile/dist/ui-kit/Img/Img.d.ts +2 -2
  406. package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
  407. package/mobile/dist/ui-kit/Img/ImgAsPicture.d.ts +2 -2
  408. package/mobile/dist/ui-kit/Img/ImgAsPicture.js +7 -7
  409. package/mobile/dist/ui-kit/Img/ImgAsPicture.js.map +1 -1
  410. package/mobile/dist/ui-kit/Img/ImgInner.d.ts +2 -2
  411. package/mobile/dist/ui-kit/Img/ImgInner.js +2 -8
  412. package/mobile/dist/ui-kit/Img/ImgInner.js.map +1 -1
  413. package/mobile/dist/ui-kit/Img/ImgProps.d.ts +4 -5
  414. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
  415. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  416. package/mobile/dist/ui-kit/Input/Input.js +1 -1
  417. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  418. package/mobile/dist/ui-kit/InputRange/InputRange.js +3 -3
  419. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  420. package/mobile/dist/ui-kit/Location/Location.js +1 -1
  421. package/mobile/dist/ui-kit/Location/Location.js.map +1 -1
  422. package/mobile/dist/ui-kit/Location/SearchBar.js +1 -1
  423. package/mobile/dist/ui-kit/Location/SearchBar.js.map +1 -1
  424. package/mobile/dist/ui-kit/Logo/renderImage.js +1 -1
  425. package/mobile/dist/ui-kit/Logo/renderImage.js.map +1 -1
  426. package/mobile/dist/ui-kit/Radio/Radio.js +1 -1
  427. package/mobile/dist/ui-kit/Radio/Radio.js.map +1 -1
  428. package/mobile/dist/ui-kit/RichText/RichText.d.ts +2 -0
  429. package/mobile/dist/ui-kit/{MarkdownText/MarkdownText.js → RichText/RichText.js} +5 -5
  430. package/mobile/dist/ui-kit/RichText/RichText.js.map +1 -0
  431. package/mobile/dist/ui-kit/RichText/RichTextProps.d.ts +6 -0
  432. package/mobile/dist/ui-kit/{MarkdownText/MarkdownTextProps.js → RichText/RichTextProps.js} +1 -1
  433. package/mobile/dist/ui-kit/RichText/RichTextProps.js.map +1 -0
  434. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +3 -3
  435. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  436. package/mobile/dist/ui-kit/Select/Select.js +1 -1
  437. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  438. package/mobile/dist/ui-kit/Tags/Tags.js +1 -1
  439. package/mobile/dist/ui-kit/Tags/Tags.js.map +1 -1
  440. package/mobile/dist/ui-kit/YandexMap/YandexMap.js +3 -3
  441. package/mobile/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  442. package/mobile/dist/ui-kit/YandexMap/ZoomButton.js +1 -1
  443. package/mobile/dist/ui-kit/YandexMap/ZoomButton.js.map +1 -1
  444. package/mobile/dist/ui-kit/YandexMap/renderOpenMap.js +2 -2
  445. package/mobile/dist/ui-kit/YandexMap/renderOpenMap.js.map +1 -1
  446. package/mobile/dist/ui-kit/YandexMap/renderUserGeolocation.js +1 -2
  447. package/mobile/dist/ui-kit/YandexMap/renderUserGeolocation.js.map +1 -1
  448. package/mobile/lib/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
  449. package/mobile/lib/components/BusinessBlock/BusinessCard.js +2 -2
  450. package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  451. package/mobile/lib/components/Calculator/Calculator.js +1 -1
  452. package/mobile/lib/components/Carousel/Carousel.js +3 -1
  453. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  454. package/mobile/lib/components/CarouselCard/CarouselCard.js +1 -1
  455. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  456. package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  457. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  458. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  459. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  460. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  461. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  462. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  463. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +5 -4
  464. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  465. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  466. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  467. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  468. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  469. package/mobile/lib/components/Catalog/CatalogCard.js +1 -1
  470. package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
  471. package/mobile/lib/components/ComparisonTable/TableColumn.js +1 -1
  472. package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  473. package/mobile/lib/components/ComparisonTable/constants.d.ts +1 -1
  474. package/mobile/lib/components/ComparisonTable/constants.js +1 -1
  475. package/mobile/lib/components/ComparisonTable/constants.js.map +1 -1
  476. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +2 -1
  477. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  478. package/mobile/lib/components/Gallery/Gallery.js +1 -1
  479. package/mobile/lib/components/Gallery/GalleryContainer.js +1 -1
  480. package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  481. package/mobile/lib/components/Header/DropdownMenu.js +2 -2
  482. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
  483. package/mobile/lib/components/Header/HeaderBurger.js +1 -1
  484. package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
  485. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +3 -3
  486. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  487. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  488. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  489. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js +1 -1
  490. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
  491. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  492. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js +1 -1
  493. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js.map +1 -1
  494. package/mobile/lib/components/OfficeMap/OfficeMap.d.ts +3 -0
  495. package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  496. package/mobile/lib/components/OfficeMap/OfficeMapContent.d.ts +4 -1
  497. package/mobile/lib/components/OfficeMap/renderFunctions.js +1 -1
  498. package/mobile/lib/components/OfficeMap/renderFunctions.js.map +1 -1
  499. package/mobile/lib/components/ProductGallery/ProductGallery.js +1 -1
  500. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  501. package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +5 -5
  502. package/mobile/lib/components/ProductTile/renderBenefit.js +4 -4
  503. package/mobile/lib/components/ProductTile/renderBenefit.js.map +1 -1
  504. package/mobile/lib/components/RichTextBlock/RichTextBlock.d.ts +6 -0
  505. package/mobile/lib/components/RichTextBlock/RichTextBlock.js +9 -0
  506. package/mobile/lib/components/RichTextBlock/RichTextBlock.js.map +1 -0
  507. package/mobile/lib/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
  508. package/mobile/lib/components/RichTextBlock/RichTextBlockContent.js +2 -0
  509. package/mobile/lib/components/RichTextBlock/RichTextBlockContent.js.map +1 -0
  510. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +1 -1
  511. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  512. package/mobile/lib/content-page-repository/replaceHeadingTags.d.ts +1 -0
  513. package/mobile/lib/content-page-repository/replaceHeadingTags.js +2 -0
  514. package/mobile/lib/content-page-repository/replaceHeadingTags.js.map +1 -0
  515. package/mobile/lib/content-page-repository/transformContentPage.js +5 -0
  516. package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
  517. package/mobile/lib/content-page-repository/transformHTML.d.ts +1 -0
  518. package/mobile/lib/content-page-repository/transformHTML.js +17 -0
  519. package/mobile/lib/content-page-repository/transformHTML.js.map +1 -0
  520. package/mobile/lib/content-page-repository/transformMarkdown.js +2 -1
  521. package/mobile/lib/content-page-repository/transformMarkdown.js.map +1 -1
  522. package/mobile/lib/model/BlockVersion.d.ts +6 -0
  523. package/mobile/lib/model/BlockVersion.js +5 -0
  524. package/mobile/lib/model/BlockVersion.js.map +1 -1
  525. package/mobile/lib/model/BorderVersion.js +1 -1
  526. package/mobile/lib/model/BorderVersion.js.map +1 -1
  527. package/mobile/lib/ui-kit/Button/ButtonSection.js +1 -1
  528. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  529. package/mobile/lib/ui-kit/Button/getRegularButtonClasses.js +1 -1
  530. package/mobile/lib/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
  531. package/mobile/lib/ui-kit/Checkbox/Checkbox.js +2 -2
  532. package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  533. package/mobile/lib/ui-kit/Img/Img.d.ts +2 -2
  534. package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
  535. package/mobile/lib/ui-kit/Img/ImgAsPicture.d.ts +2 -2
  536. package/mobile/lib/ui-kit/Img/ImgAsPicture.js +7 -7
  537. package/mobile/lib/ui-kit/Img/ImgAsPicture.js.map +1 -1
  538. package/mobile/lib/ui-kit/Img/ImgInner.d.ts +2 -2
  539. package/mobile/lib/ui-kit/Img/ImgInner.js +2 -8
  540. package/mobile/lib/ui-kit/Img/ImgInner.js.map +1 -1
  541. package/mobile/lib/ui-kit/Img/ImgProps.d.ts +4 -5
  542. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
  543. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  544. package/mobile/lib/ui-kit/Input/Input.js +1 -1
  545. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  546. package/mobile/lib/ui-kit/InputRange/InputRange.js +3 -3
  547. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  548. package/mobile/lib/ui-kit/Location/Location.js +1 -1
  549. package/mobile/lib/ui-kit/Location/Location.js.map +1 -1
  550. package/mobile/lib/ui-kit/Location/SearchBar.js +1 -1
  551. package/mobile/lib/ui-kit/Location/SearchBar.js.map +1 -1
  552. package/mobile/lib/ui-kit/Logo/renderImage.js +1 -1
  553. package/mobile/lib/ui-kit/Logo/renderImage.js.map +1 -1
  554. package/mobile/lib/ui-kit/Radio/Radio.js +1 -1
  555. package/mobile/lib/ui-kit/Radio/Radio.js.map +1 -1
  556. package/mobile/lib/ui-kit/RichText/RichText.d.ts +2 -0
  557. package/mobile/lib/ui-kit/{MarkdownText/MarkdownText.js → RichText/RichText.js} +4 -4
  558. package/mobile/lib/ui-kit/RichText/RichText.js.map +1 -0
  559. package/mobile/lib/ui-kit/RichText/RichTextProps.d.ts +6 -0
  560. package/mobile/lib/ui-kit/RichText/RichTextProps.js +2 -0
  561. package/mobile/lib/ui-kit/RichText/RichTextProps.js.map +1 -0
  562. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +3 -3
  563. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  564. package/mobile/lib/ui-kit/Select/Select.js +1 -1
  565. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  566. package/mobile/lib/ui-kit/Tags/Tags.js +1 -1
  567. package/mobile/lib/ui-kit/Tags/Tags.js.map +1 -1
  568. package/mobile/lib/ui-kit/YandexMap/YandexMap.js +3 -3
  569. package/mobile/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  570. package/mobile/lib/ui-kit/YandexMap/ZoomButton.js +1 -1
  571. package/mobile/lib/ui-kit/YandexMap/ZoomButton.js.map +1 -1
  572. package/mobile/lib/ui-kit/YandexMap/renderOpenMap.js +2 -2
  573. package/mobile/lib/ui-kit/YandexMap/renderOpenMap.js.map +1 -1
  574. package/mobile/lib/ui-kit/YandexMap/renderUserGeolocation.js +1 -2
  575. package/mobile/lib/ui-kit/YandexMap/renderUserGeolocation.js.map +1 -1
  576. package/mobile/src/common.css +32 -14
  577. package/mobile/src/components/BusinessBlock/BusinessBlock.example.json +4 -6
  578. package/mobile/src/components/BusinessBlock/BusinessBlockContent.ts +6 -1
  579. package/mobile/src/components/BusinessBlock/BusinessCard.tsx +3 -7
  580. package/mobile/src/components/Calculator/Calculator.tsx +1 -1
  581. package/mobile/src/components/Carousel/Carousel.tsx +3 -1
  582. package/mobile/src/components/CarouselCard/CarouselCard.tsx +1 -1
  583. package/mobile/src/components/CarouselCard/CarouselCardContent.ts +1 -1
  584. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
  585. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -1
  586. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -1
  587. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +13 -4
  588. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
  589. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +5 -5
  590. package/mobile/src/components/Catalog/CatalogCard.tsx +1 -1
  591. package/mobile/src/components/ComparisonTable/TableColumn.tsx +1 -4
  592. package/mobile/src/components/ComparisonTable/constants.ts +1 -1
  593. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +3 -2
  594. package/mobile/src/components/Gallery/Gallery.tsx +1 -1
  595. package/mobile/src/components/Gallery/GalleryContainer.tsx +1 -1
  596. package/mobile/src/components/GracePeriod/GracePeriodContent.ts +1 -1
  597. package/mobile/src/components/Header/DropdownMenu.tsx +36 -34
  598. package/mobile/src/components/Header/HeaderBurger.tsx +2 -2
  599. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +3 -3
  600. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +3 -5
  601. package/mobile/src/components/LinkDocs/LinkDocsHorizontalList.tsx +1 -1
  602. package/mobile/src/components/LinkDocs/LinkDocsVerticalList.tsx +2 -4
  603. package/mobile/src/components/OfficeMap/OfficeMap.tsx +3 -2
  604. package/mobile/src/components/OfficeMap/OfficeMapContent.ts +4 -1
  605. package/mobile/src/components/OfficeMap/renderFunctions.tsx +2 -2
  606. package/mobile/src/components/ProductGallery/ProductGallery.tsx +1 -1
  607. package/mobile/src/components/ProductTile/ProductTile.ui.json +1 -1
  608. package/mobile/src/components/ProductTile/ProductTileContent.ts +5 -5
  609. package/mobile/src/components/ProductTile/renderBenefit.tsx +4 -4
  610. package/mobile/src/components/RichTextBlock/RichTextBlock.example.json +5 -0
  611. package/mobile/src/components/RichTextBlock/RichTextBlock.tsx +17 -0
  612. package/mobile/src/components/RichTextBlock/RichTextBlock.ui.json +7 -0
  613. package/mobile/src/components/RichTextBlock/RichTextBlockContent.ts +6 -0
  614. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +1 -1
  615. package/mobile/src/components/VerticalLayout/VerticalLayout.example.json +151 -6
  616. package/mobile/src/content-page-repository/replaceHeadingTags.ts +2 -0
  617. package/mobile/src/content-page-repository/transformContentPage.ts +4 -0
  618. package/mobile/src/content-page-repository/transformHTML.ts +19 -0
  619. package/mobile/src/content-page-repository/transformMarkdown.ts +2 -1
  620. package/mobile/src/model/BlockVersion.ts +12 -0
  621. package/mobile/src/model/BorderVersion.ts +1 -1
  622. package/mobile/src/ui-kit/Button/ButtonSection.tsx +1 -1
  623. package/mobile/src/ui-kit/Button/getRegularButtonClasses.ts +2 -2
  624. package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
  625. package/mobile/src/ui-kit/Img/Img.tsx +2 -3
  626. package/mobile/src/ui-kit/Img/ImgAsPicture.tsx +10 -8
  627. package/mobile/src/ui-kit/Img/ImgInner.tsx +13 -21
  628. package/mobile/src/ui-kit/Img/ImgProps.ts +4 -6
  629. package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +2 -2
  630. package/mobile/src/ui-kit/Input/Input.tsx +1 -1
  631. package/mobile/src/ui-kit/InputRange/InputRange.tsx +3 -3
  632. package/mobile/src/ui-kit/Location/Location.tsx +1 -1
  633. package/mobile/src/ui-kit/Location/SearchBar.tsx +1 -1
  634. package/mobile/src/ui-kit/Logo/renderImage.tsx +2 -1
  635. package/mobile/src/ui-kit/Radio/Radio.tsx +1 -1
  636. package/mobile/src/ui-kit/RichText/RichText.tsx +8 -0
  637. package/mobile/src/ui-kit/RichText/RichTextProps.ts +6 -0
  638. package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +3 -3
  639. package/mobile/src/ui-kit/Select/Select.tsx +1 -1
  640. package/mobile/src/ui-kit/Tags/Tags.tsx +1 -1
  641. package/mobile/src/ui-kit/YandexMap/YandexMap.tsx +3 -3
  642. package/mobile/src/ui-kit/YandexMap/ZoomButton.tsx +1 -1
  643. package/mobile/src/ui-kit/YandexMap/renderOpenMap.tsx +2 -2
  644. package/mobile/src/ui-kit/YandexMap/renderUserGeolocation.tsx +2 -2
  645. package/package.json +4 -1
  646. package/src/common.css +32 -14
  647. package/src/components/AccordionItem/AccordionItem.tsx +7 -1
  648. package/src/components/Blocks.ts +10 -8
  649. package/src/components/BusinessBlock/BusinessBlock.example.json +4 -6
  650. package/src/components/BusinessBlock/BusinessBlockContent.ts +6 -1
  651. package/src/components/BusinessBlock/BusinessCard.tsx +3 -7
  652. package/src/components/Calculator/Calculator.tsx +1 -1
  653. package/src/components/Carousel/Carousel.tsx +3 -1
  654. package/src/components/CarouselCard/CarouselCard.tsx +1 -1
  655. package/src/components/CarouselCard/CarouselCardContent.ts +1 -1
  656. package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
  657. package/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -1
  658. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -1
  659. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +9 -0
  660. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +13 -4
  661. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
  662. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +5 -5
  663. package/src/components/Catalog/CatalogCard.tsx +1 -1
  664. package/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
  665. package/src/components/ComparisonTable/TableColumn.tsx +1 -4
  666. package/src/components/ComparisonTable/constants.ts +1 -1
  667. package/src/components/ExchangeRateTile/CurrencyTable.tsx +3 -2
  668. package/src/components/Gallery/Gallery.mobile.tsx +1 -1
  669. package/src/components/Gallery/GalleryContainer.tsx +1 -1
  670. package/src/components/GracePeriod/GracePeriodContent.ts +1 -1
  671. package/src/components/Header/DropdownMenu.tsx +36 -34
  672. package/src/components/Header/HeaderBurger.tsx +2 -2
  673. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +3 -3
  674. package/src/components/InvestmentInfo/InvestmentInfo.tsx +3 -5
  675. package/src/components/LinkDocs/LinkDocsHorizontalList.tsx +1 -1
  676. package/src/components/LinkDocs/LinkDocsVerticalList.tsx +2 -4
  677. package/src/components/OfficeMap/OfficeMap.tsx +3 -2
  678. package/src/components/OfficeMap/OfficeMapContent.ts +4 -1
  679. package/src/components/OfficeMap/renderFunctions.tsx +2 -2
  680. package/src/components/ProductGallery/ProductGallery.tsx +1 -1
  681. package/src/components/ProductTile/ProductTile.ui.json +1 -1
  682. package/src/components/ProductTile/ProductTileContent.ts +5 -5
  683. package/src/components/ProductTile/renderBenefit.tsx +4 -4
  684. package/src/components/RichTextBlock/RichTextBlock.example.json +5 -0
  685. package/src/components/RichTextBlock/RichTextBlock.fixture.tsx +29 -0
  686. package/src/components/RichTextBlock/RichTextBlock.tsx +17 -0
  687. package/src/components/RichTextBlock/RichTextBlock.ui.json +7 -0
  688. package/src/components/RichTextBlock/RichTextBlockContent.ts +6 -0
  689. package/src/components/TariffsTable/TariffsTableTileCell.tsx +1 -1
  690. package/src/components/VerticalLayout/VerticalLayout.example.json +151 -6
  691. package/src/content-page-repository/replaceHeadingTags.ts +2 -0
  692. package/src/content-page-repository/transformContentPage.ts +4 -0
  693. package/src/content-page-repository/transformHTML.ts +19 -0
  694. package/src/content-page-repository/transformMarkdown.ts +2 -1
  695. package/src/model/BlockVersion.ts +12 -0
  696. package/src/model/BorderVersion.ts +1 -1
  697. package/src/ui-kit/Button/ButtonSection.tsx +1 -1
  698. package/src/ui-kit/Button/getRegularButtonClasses.ts +2 -2
  699. package/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
  700. package/src/ui-kit/Img/Img.mobile.tsx +2 -3
  701. package/src/ui-kit/Img/ImgAsPicture.tsx +10 -8
  702. package/src/ui-kit/Img/ImgInner.tsx +13 -21
  703. package/src/ui-kit/Img/ImgProps.ts +4 -6
  704. package/src/ui-kit/InnerTable/InnerTableBody.tsx +2 -2
  705. package/src/ui-kit/Input/Input.tsx +1 -1
  706. package/src/ui-kit/InputRange/InputRange.tsx +3 -3
  707. package/src/ui-kit/Location/Location.tsx +1 -1
  708. package/src/ui-kit/Location/SearchBar.tsx +1 -1
  709. package/src/ui-kit/Logo/renderImage.tsx +2 -1
  710. package/src/ui-kit/Radio/Radio.tsx +1 -1
  711. package/src/ui-kit/RichText/RichText.fixture.tsx +28 -0
  712. package/src/ui-kit/RichText/RichText.tsx +8 -0
  713. package/src/ui-kit/RichText/RichTextProps.ts +6 -0
  714. package/src/ui-kit/SearchBar/SearchBarInner.tsx +3 -3
  715. package/src/ui-kit/Select/Select.tsx +1 -1
  716. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +3 -3
  717. package/src/ui-kit/Tags/Tags.tsx +1 -1
  718. package/src/ui-kit/YandexMap/YandexMap.tsx +3 -3
  719. package/src/ui-kit/YandexMap/ZoomButton.tsx +1 -1
  720. package/src/ui-kit/YandexMap/renderOpenMap.tsx +2 -2
  721. package/src/ui-kit/YandexMap/renderUserGeolocation.tsx +2 -2
  722. package/tailwind.config.cjs +6 -16
  723. package/bundle/ui-kit/Img/getIconVersion.d.ts +0 -2
  724. package/bundle/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
  725. package/bundle/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
  726. package/dist/ui-kit/Img/getIconVersion.d.ts +0 -2
  727. package/dist/ui-kit/Img/getIconVersion.js +0 -7
  728. package/dist/ui-kit/Img/getIconVersion.js.map +0 -1
  729. package/dist/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
  730. package/dist/ui-kit/MarkdownText/MarkdownText.js.map +0 -1
  731. package/dist/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
  732. package/dist/ui-kit/MarkdownText/MarkdownTextProps.js.map +0 -1
  733. package/lib/ui-kit/Img/getIconVersion.d.ts +0 -2
  734. package/lib/ui-kit/Img/getIconVersion.js +0 -4
  735. package/lib/ui-kit/Img/getIconVersion.js.map +0 -1
  736. package/lib/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
  737. package/lib/ui-kit/MarkdownText/MarkdownText.js.map +0 -1
  738. package/lib/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
  739. package/lib/ui-kit/MarkdownText/MarkdownTextProps.js +0 -2
  740. package/lib/ui-kit/MarkdownText/MarkdownTextProps.js.map +0 -1
  741. package/mobile/bundle/ui-kit/Img/getIconVersion.d.ts +0 -2
  742. package/mobile/bundle/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
  743. package/mobile/bundle/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
  744. package/mobile/dist/ui-kit/Img/getIconVersion.d.ts +0 -2
  745. package/mobile/dist/ui-kit/Img/getIconVersion.js +0 -7
  746. package/mobile/dist/ui-kit/Img/getIconVersion.js.map +0 -1
  747. package/mobile/dist/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
  748. package/mobile/dist/ui-kit/MarkdownText/MarkdownText.js.map +0 -1
  749. package/mobile/dist/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
  750. package/mobile/dist/ui-kit/MarkdownText/MarkdownTextProps.js.map +0 -1
  751. package/mobile/lib/ui-kit/Img/getIconVersion.d.ts +0 -2
  752. package/mobile/lib/ui-kit/Img/getIconVersion.js +0 -4
  753. package/mobile/lib/ui-kit/Img/getIconVersion.js.map +0 -1
  754. package/mobile/lib/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
  755. package/mobile/lib/ui-kit/MarkdownText/MarkdownText.js.map +0 -1
  756. package/mobile/lib/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
  757. package/mobile/lib/ui-kit/MarkdownText/MarkdownTextProps.js +0 -2
  758. package/mobile/lib/ui-kit/MarkdownText/MarkdownTextProps.js.map +0 -1
  759. package/mobile/src/ui-kit/Img/getIconVersion.tsx +0 -5
  760. package/mobile/src/ui-kit/MarkdownText/MarkdownText.tsx +0 -8
  761. package/mobile/src/ui-kit/MarkdownText/MarkdownTextProps.ts +0 -6
  762. package/src/ui-kit/Img/getIconVersion.tsx +0 -5
  763. package/src/ui-kit/MarkdownText/MarkdownText.tsx +0 -8
  764. package/src/ui-kit/MarkdownText/MarkdownTextProps.ts +0 -6
@@ -474,27 +474,22 @@
474
474
  const getSvgSize = (className, width) => width ? `width: ${width}px ` : 'w-full h-full';
475
475
  const Background = JSX(({ className, children }) => className ? jsx("div", { className: className, children: children }) : children);
476
476
 
477
- function getIconVersion(image) {
478
- return typeof image === 'string' ? 'normal' : image?.iconVersion || 'normal';
479
- }
480
-
481
477
  const sourcesComparator = (a, b) => {
482
478
  if (a.media && b.media) {
483
479
  return a.media - b.media;
484
480
  }
485
481
  return 0;
486
482
  };
487
- const ImgAsPicture = JSX(({ className = '', image, imageClassName = '', isMobile = false, pathPrefix = '' }) => {
483
+ const ImgAsPicture = JSX(({ className = '', image, imageClassName = '', isMobile = false, pathPrefix }) => {
488
484
  if (!image || (!image?.sources && !image?.src)) {
489
485
  return null;
490
486
  }
491
487
  const pictureStyles = isMobile ? 'flex' : 'flex-none';
492
- const normalizedPathPrefix = normalizePathPrefix(pathPrefix);
493
488
  return (jsxs("picture", { className: `${pictureStyles} ${className}`, children: [image?.sources?.length
494
489
  ? image.sources
495
490
  .sort(sourcesComparator)
496
- .map(({ src, format, media }, index) => (jsx("source", { srcSet: addPathPrefixToSrcSet(src, normalizedPathPrefix), type: formatToMimeType(format), media: media ? `(max-width: ${media}px)` : '', ...image.size }, `${index}_${src}`)))
497
- : null, renderImg({ ...image, src: `${normalizedPathPrefix}${image.src}` }, 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)] }));
498
493
  });
499
494
  const renderImg = (image, imageClassName = '', isMobile = false) => {
500
495
  const style = {
@@ -507,24 +502,20 @@
507
502
  return (jsx("img", { src: image.src, className: `${imgStyle} ${imageClassName}`, alt: alt, title: title, style: style, ...image.size }));
508
503
  };
509
504
  const normalizePathPrefix = (pathPrefix = '') => pathPrefix && !pathPrefix.endsWith('/') ? `${pathPrefix}/` : pathPrefix;
510
- const addPathPrefixToSrcSet = (srcset = '', pathPrefix = '') => srcset
511
- .split(',')
512
- .map((src) => `${pathPrefix}${src.trim()}`)
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))
513
509
  .join(', ');
514
510
  function formatToMimeType(format) {
515
511
  return format ? `image/${String(format)}` : undefined;
516
512
  }
517
513
 
518
514
  const ImgInner = JSX(({ className = '', image, imageClassName = '', isMobile, pathPrefix, ...iconProps }) => {
519
- if (!image) {
515
+ if (!image?.src && !image?.icon) {
520
516
  return null;
521
517
  }
522
- // backwards compatibility with existing icons in usage
523
- const icon = typeof image === 'string' ? image : image.icon;
524
- if (icon || icon === '') {
525
- return icon.length ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: getIconVersion(image), name: icon, ...iconProps })) : null;
526
- }
527
- return (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image, isMobile: isMobile, pathPrefix: pathPrefix }));
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 }));
528
519
  });
529
520
 
530
521
  const Text = JSX(({ size, color, align, font, children }) => (jsx("span", { className: ['font-sans', size, color, align, font].filter(Boolean).join(' '), children: children })));
@@ -532,7 +523,7 @@
532
523
  const icons$1 = ['PlusIcon', 'MinusIcon'];
533
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 })) }) })));
534
525
  AccordionItem.childrenTypes = [];
535
- 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 })] })));
536
527
 
537
528
  const VersionStyleMap = {
538
529
  primary: 'bg-white text-primary-text',
@@ -542,6 +533,11 @@
542
533
  primary: 'text-secondary-text',
543
534
  secondary: 'text-white',
544
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
+ };
545
541
  const GapStyleMap = {
546
542
  XXL: 'gap-12',
547
543
  XL: 'gap-10',
@@ -745,7 +741,7 @@
745
741
 
746
742
  const getRegularButtonClasses = ({ className, rounded, version, }) => [
747
743
  buttonStyle,
748
- 'border border-transparent inline-block cursor-pointer no-underline focus:border-primary-focus focus:border',
744
+ 'border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border',
749
745
  version ? buttonStyleMap[version] : '',
750
746
  rounded ? 'rounded-full' : 'rounded-md',
751
747
  className,
@@ -773,7 +769,7 @@
773
769
  return null;
774
770
  }
775
771
  const iconWidth = icon?.size?.width ? `${icon.size.width}` : '24';
776
- return jsx(ImgInner, { image: { ...icon }, width: iconWidth, height: "24", asSVG: true });
772
+ return jsx(ImgInner, { image: icon, width: iconWidth, height: "24", asSVG: true });
777
773
  };
778
774
 
779
775
  const headlineStyles = {
@@ -877,11 +873,11 @@
877
873
 
878
874
  const BusinessCard = JSX((props) => {
879
875
  const { title, image, cardItems, button } = props;
880
- return (jsxs("div", { className: "border-color-stroke border p-9 w-1/2", children: [image ? (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? jsx(ImgInner, { image: image, asSVG: true }) : null] })) : null, title ? jsx(Heading, { headingType: "h4", title: title, className: "mb-6" }) : null, cardItems?.length ? jsx("ul", { children: cardItems.map((_, i) => renderItem(_, String(i))) }) : null, button?.text ? renderButton({ button, buttonClassName: 'mt-6' }) : null] }));
876
+ return (jsxs("div", { className: "border-gray border p-9 w-1/2", children: [image ? (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? jsx(ImgInner, { image: image, asSVG: true }) : null] })) : null, title ? jsx(Heading, { headingType: "h4", title: title, className: "mb-6" }) : null, cardItems?.length ? jsx("ul", { children: cardItems.map((_, i) => renderItem(_, String(i))) }) : null, button?.text ? renderButton({ button, buttonClassName: 'mt-6' }) : null] }));
881
877
  });
882
878
  const renderItem = (item, key) => {
883
879
  const { icon, text } = item;
884
- 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));
885
881
  };
886
882
 
887
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 })] })));
@@ -995,7 +991,7 @@
995
991
 
996
992
  const getSanitizedValue = (_) => _.split(/\s+/).join('');
997
993
 
998
- const DISABLED_INPUT_CLASSES = 'disabled:border-main-stroke disabled:bg-main-divider';
994
+ const DISABLED_INPUT_CLASSES = 'disabled:border-gray disabled:bg-main-divider';
999
995
  const InputRange = JSX(({ className, title, items = [], min = 1, max = 100, step = 1, value = min, disabled = false, onChange, }) => {
1000
996
  const handleChange = (e) => {
1001
997
  if (!onChange) {
@@ -1006,8 +1002,8 @@
1006
1002
  const inputStyle = {
1007
1003
  backgroundSize: `${(((value - min) * 100) / (max - min)).toFixed(2)}% 100%`,
1008
1004
  };
1009
- return (jsxs("div", { className: className, children: [jsxs("label", { className: "block relative", children: [title ? jsx("span", { className: "text-m-light text-primary-text", children: title }) : null, jsx("input", { className: `m-0 mt-2 font-sans text-h3 w-full h-14 border border-solid border-main-stroke rounded-md
1010
- outline-none p-0 pl-4 box-border text-primary-text hover:border-primary-hover focus:border-primary-focus ${DISABLED_INPUT_CLASSES}`, value: addSpacesBetweenNumbers(value), disabled: disabled, onChange: handleChange, onBlur: handleChange }), jsx("div", { className: "absolute inset-x-0 -bottom-1 px-4 leading-[18px]", children: jsx("input", { className: "box-border w-full m-0 cursor-pointer slider", type: "range", min: min, max: max, step: step, value: value, disabled: disabled, onChange: handleChange, style: inputStyle }) })] }), renderRangeCaption(items)] }));
1005
+ return (jsxs("div", { className: className, children: [jsxs("label", { className: "block relative", children: [title ? jsx("span", { className: "text-m-light text-primary-text", children: title }) : null, jsx("input", { className: `m-0 mt-2 font-sans text-h3 w-full h-14 border border-solid border-gray rounded-md
1006
+ outline-none p-0 pl-4 box-border text-primary-text hover:border-primary-hover focus:border-primary-text ${DISABLED_INPUT_CLASSES}`, value: addSpacesBetweenNumbers(value), disabled: disabled, onChange: handleChange, onBlur: handleChange }), jsx("div", { className: "absolute inset-x-0 -bottom-1 px-4 leading-[18px]", children: jsx("input", { className: "box-border w-full m-0 cursor-pointer slider", type: "range", min: min, max: max, step: step, value: value, disabled: disabled, onChange: handleChange, style: inputStyle }) })] }), renderRangeCaption(items)] }));
1011
1007
  });
1012
1008
  function renderRangeCaption(items) {
1013
1009
  return (jsx("div", { className: "flex justify-between my-2", children: items.map((item, i) => (jsx("span", { className: "text-s-light text-secondary-text", children: item }, String(i)))) }));
@@ -1172,9 +1168,9 @@
1172
1168
  },
1173
1169
  ];
1174
1170
  const Checkbox = JSX(({ className, text, checked, isRadio, onChange }) => {
1175
- return (jsx("div", { className: className, children: jsxs("label", { className: "flex items-center relative cursor-pointer group", children: [jsx("input", { className: `peer appearance-none w-5 h-5 border-solid cursor-pointer group-hover:border-checkbox-hover
1171
+ return (jsx("div", { className: className, children: jsxs("label", { className: "flex items-center relative cursor-pointer group", children: [jsx("input", { className: `peer appearance-none w-5 h-5 border-solid cursor-pointer group-hover:border-primary-hover
1176
1172
  ${isRadio ? 'rounded-full border-2' : 'rounded checked:bg-primary-main border'}
1177
- ${checked ? 'border-black' : 'border-main-stroke'}
1173
+ ${checked ? 'border-black' : 'border-gray'}
1178
1174
  checked:border-primary-main m-0`, type: "checkbox", onChange: (e) => onChange && onChange(e.target.checked), checked: checked }), isRadio ? (jsx("div", { className: "left-1 w-3 h-3 rounded-full bg-primary-main hidden absolute peer-checked:block" })) : (jsx(SVG, { paths: CHECK_PATHS, className: "hidden absolute left-1 ml-px peer-checked:block", width: "11", height: "9", fill: "white", viewBox: "0 0 11 9" })), text ? jsx("span", { className: "font-sans ml-3 text-l-light", children: text }) : null] }) }));
1179
1175
  });
1180
1176
 
@@ -1356,7 +1352,7 @@
1356
1352
  const iconClassName = isActive ? '' : `text-primary-main`;
1357
1353
  const iconVersion = tab?.icon?.iconVersion;
1358
1354
  const activeIconStyle = isActive ? 'white' : 'normal';
1359
- return (jsxs("button", { type: "button", onClick: onClick, "aria-label": tab?.title, className: `box-border relative border border-main-stroke cursor-pointer text-left border-b-0 flex hover:h-[88px]
1355
+ return (jsxs("button", { type: "button", onClick: onClick, "aria-label": tab?.title, className: `box-border relative border border-gray cursor-pointer text-left border-b-0 flex hover:h-[88px]
1360
1356
  ${btnClassName}`, children: [jsx(ImgInner, { className: `h-6 w-6 min-w-6 min-h-6 mr-4 ${iconClassName}`, image: {
1361
1357
  ...tab?.icon,
1362
1358
  iconVersion: iconVersion ?? activeIconStyle,
@@ -1404,7 +1400,7 @@
1404
1400
  }, [onBlur]);
1405
1401
  const paddingStyle = children ? 'pr-8' : '';
1406
1402
  const validStyle = valid
1407
- ? 'border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text'
1403
+ ? 'border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text'
1408
1404
  : 'border-error';
1409
1405
  return (jsxs("div", { className: `relative ${className}`, children: [label ? jsx("label", { className: "block text-m-light mb-2", children: label }) : null, jsx("input", { className: `w-full border rounded-md text-primary-text outline-none p-4 ${paddingStyle} ${validStyle} ${inputClassName}`, id: id, name: name || id, type: type, value: value, onChange: handleChange, onBlur: handleBlur, ...inputProps }), children] }));
1410
1406
  });
@@ -1575,14 +1571,16 @@
1575
1571
  Carousel.childrenTypes = [
1576
1572
  'CarouselCard',
1577
1573
  'CarouselCatalogCard',
1578
- 'CarouselTariffsCard',
1574
+ 'CarouselInvestmentCard',
1579
1575
  'CarouselProductCard',
1580
1576
  'CarouselProgramsCard',
1577
+ 'CarouselRecommendationCard',
1578
+ 'CarouselTariffsCard',
1581
1579
  'CarouselInvestmentCard',
1582
1580
  ];
1583
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] }));
1584
1582
 
1585
- const BLOCK_CLASSES = 'absolute border border-solid border-main-stroke w-full h-full';
1583
+ const BLOCK_CLASSES = 'absolute border border-solid border-gray w-full h-full';
1586
1584
  const CARD_WIDTH_MAP = {
1587
1585
  normal: 'min-w-[1007px]',
1588
1586
  mini: 'min-w-[355px]',
@@ -1593,11 +1591,11 @@
1593
1591
  black: 'bg-black',
1594
1592
  white: 'bg-white',
1595
1593
  };
1596
- const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors, version = 'primary' }) => (jsxs("section", { className: `border box-border border-main-stroke p-7 min-w-[392px] flex flex-col justify-left ${VersionStyleMap[version]} ${className}`, role: "listitem", children: [image?.src ? jsx(ImgInner, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? (jsx("div", { className: "mb-4", children: jsx(Paragraph, { size: "text-m", align: "text-left", font: "font-light", children: description }) })) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: jsx(Text, { children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }) }), colors.map(renderColorOption$1)] })) : null, price ? (jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null, button ? renderButton({ button, buttonClassName: 'mt-5 w-full' }) : null] })));
1594
+ const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors, version = 'primary' }) => (jsxs("section", { className: `border box-border border-gray p-7 min-w-[392px] flex flex-col justify-left ${VersionStyleMap[version]} ${className}`, role: "listitem", children: [image?.src ? jsx(ImgInner, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? (jsx("div", { className: "mb-4", children: jsx(Paragraph, { size: "text-m", align: "text-left", font: "font-light", children: description }) })) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: jsx(Text, { children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }) }), colors.map(renderColorOption$1)] })) : null, price ? (jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null, button ? renderButton({ button, buttonClassName: 'mt-5 w-full' }) : null] })));
1597
1595
  const renderColorOption$1 = (color, i) => (jsx("span", { className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap$2[color]}` }, String(i)));
1598
1596
 
1599
1597
  const BorderVersionStyleMap = {
1600
- primary: 'border-main-stroke',
1598
+ primary: 'border-gray',
1601
1599
  secondary: 'border-white/50',
1602
1600
  };
1603
1601
 
@@ -1687,7 +1685,7 @@
1687
1685
  primary: 'text-secondary-text',
1688
1686
  secondary: 'text-white/80',
1689
1687
  };
1690
- const BORDER_STYLE = 'box-border border-solid border border-main-stroke ';
1688
+ const BORDER_STYLE = 'box-border border-solid border border-gray ';
1691
1689
  const CarouselProductCard = JSX(({ title, headlineSmallVersion = 'H6', description, additionalDescription, icon, items = [], button = {}, version = 'primary', isDotted = true, align = 'center', }) => {
1692
1690
  return (jsxs("section", { className: [
1693
1691
  'flex flex-col justify-between items-stretch min-w-[260px] h-full w-full p-6',
@@ -1702,7 +1700,7 @@
1702
1700
  const renderAdditionalDescription$2 = (additionalDescription, version = 'primary') => additionalDescription ? (jsx("div", { className: "mt-auto", children: jsx(Text, { size: "text-m", font: "font-light", color: descriptionStyleMap[version], children: additionalDescription }) })) : null;
1703
1701
  const renderItems$2 = (items, isDotted, version = 'primary') => items?.length ? (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 })) : null;
1704
1702
 
1705
- 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] })] })));
1703
+ const CarouselProgramsCard = JSX(({ className = '', title, icon, list = [], version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: `font-sans border border-gray 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] })] })));
1706
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)));
1707
1705
 
1708
1706
  const ICONS_MAP = [
@@ -1752,17 +1750,18 @@
1752
1750
  const tileTitle = title ? (jsx(Heading, { headingType: "h5", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
1753
1751
  const tileImage = image?.src ? (jsx(ImgInner, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
1754
1752
  return (jsx(BlockWrapper, { className: `relative text-left border border-solid box-border p-7 min-w-[524px]
1755
- ${BorderVersionStyleMap[version]}
1756
- ${VersionStyleMap[version]}
1757
- ${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] }) }) }));
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] }) }) }));
1758
1756
  });
1757
+ const getOmitVersion = (version) => version === 'gray' ? 'primary' : version;
1759
1758
 
1760
1759
  const VISIBLE_ROWS_COUNT = 1;
1761
1760
  const CarouselTariffsCard = JSX(({ className = '', title, icon, isHighlighting, button, rows = [], ...rest }) => {
1762
1761
  const rowsNode = rows.map(renderCardInfo);
1763
1762
  const visibleRows = rowsNode.slice(0, VISIBLE_ROWS_COUNT);
1764
1763
  const hiddenRows = rowsNode.slice(VISIBLE_ROWS_COUNT);
1765
- return (jsxs(BlockWrapper, { className: `font-sans relative bg-white border border-main-stroke min-w-[322px] p-8
1764
+ return (jsxs(BlockWrapper, { className: `font-sans relative bg-white border border-gray min-w-[322px] p-8
1766
1765
  ${getHitStyle(isHighlighting)}
1767
1766
  ${className}`, ...rest, children: [isHighlighting ? renderHitIcon() : null, icon?.src ? jsx(ImgInner, { image: icon }) : null, title ? (jsx(Heading, { className: "text-primary-text text-center pt-2", headingType: "h5", title: title })) : null, button ? jsx(Button, { className: "w-full mt-4", ...button }) : null, rows.length ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs("div", { children: [visibleRows, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] })), renderFoldButton: rows.length > 1 ? renderFoldButton$1 : null })) : null] }));
1768
1767
  });
@@ -1775,7 +1774,7 @@
1775
1774
  black: 'bg-black',
1776
1775
  white: 'bg-white',
1777
1776
  };
1778
- const CatalogCard = JSX(({ className = '', title, description, image, price, button, colors }) => (jsxs("section", { className: `border border-solid box-border border-main-stroke p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? jsx(ImgInner, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? jsx("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? jsxs("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, button ? renderButton({ button, buttonClassName: 'mt-5 w-full' }) : null] })));
1777
+ const CatalogCard = JSX(({ className = '', title, description, image, price, button, colors }) => (jsxs("section", { className: `border border-solid box-border border-gray p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? jsx(ImgInner, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? jsx("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? jsxs("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, button ? renderButton({ button, buttonClassName: 'mt-5 w-full' }) : null] })));
1779
1778
  const renderColorOption = (color, i) => (jsx("span", { className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap$1[color]}` }, String(i)));
1780
1779
 
1781
1780
  const BLUR_BLOCK_CLASSES$1 = 'absolute top-0 bottom-0 w-[84px]';
@@ -1794,7 +1793,7 @@
1794
1793
  });
1795
1794
 
1796
1795
  const GRADIENT = 'bg-gradient-to-r from-main-gradient-start to-main-gradient-end';
1797
- const BORDER_CLASSES$1 = 'border-main-stroke border-solid border';
1796
+ const BORDER_CLASSES$1 = 'border-gray border-solid border';
1798
1797
  const DIVIDER_CLASSES$1 = 'border-main-divider border border-t-0 border-x-0';
1799
1798
  const FIRST_CELL_CLASSES$1 = 'w-[200px] mr-6';
1800
1799
  const COLS_LENGTH_FOR_SCROLL$1 = 3;
@@ -1860,7 +1859,7 @@
1860
1859
  ? renderShowMoreToggleButton({ isShowAllRow, onClick: handleToggle })
1861
1860
  : null] }));
1862
1861
  });
1863
- const renderShowMoreToggleButton = ({ isShowAllRow, onClick, }) => (jsx("div", { className: "pr-12", children: jsxs("div", { className: "flex w-full", children: [jsx("div", { className: FIRST_CELL_CLASSES$1 }), jsx("button", { onClick: onClick, className: "mt-5 flex-1 border-main-stroke border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main", children: jsx("div", { className: "font-sans text-xs-light font-medium py-3", children: !isShowAllRow ? 'Показать все параметры' : 'Скрыть' }) })] }) }));
1862
+ const renderShowMoreToggleButton = ({ isShowAllRow, onClick, }) => (jsx("div", { className: "pr-12", children: jsxs("div", { className: "flex w-full", children: [jsx("div", { className: FIRST_CELL_CLASSES$1 }), jsx("button", { onClick: onClick, className: "mt-5 flex-1 border-gray border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main", children: jsx("div", { className: "font-sans text-xs-light font-medium py-3", children: !isShowAllRow ? 'Показать все параметры' : 'Скрыть' }) })] }) }));
1864
1863
 
1865
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] })));
1866
1865
  const renderBlocks = (info, version) => (jsx("div", { className: "flex grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index, version })) }));
@@ -1891,11 +1890,12 @@
1891
1890
  const formatCurrency = (value) => (value ? currencyNumberFormat.format(value) : '');
1892
1891
 
1893
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`;
1894
1894
  const CURRENCY_ICONS_MAP = {
1895
1895
  USD: 'DollarIcon',
1896
1896
  EUR: 'EuroIcon',
1897
1897
  };
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} 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) })] })));
1899
1899
  const renderCurrencyRow = (exchangeCurrencyItem) => {
1900
1900
  const currency = exchangeCurrencyItem?.currency?.currency;
1901
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));
@@ -1973,7 +1973,7 @@
1973
1973
  choiceOption(option);
1974
1974
  }, className: "flex px-4 py-3 cursor-pointer hover:bg-main-divider pr-11 relative", children: [jsx("span", { className: "min-h-6", children: option.text }), jsx(Icon, { name: "DoneSimpleIcon", width: "16", height: "16", className: ['absolute right-4 pt-0.5', isSelected(option) && isOpen ? '' : 'hidden'].join(' ') })] }, String(i)));
1975
1975
  };
1976
- const getBorderStyle = (isBorder) => isBorder ? 'border border-main-stroke rounded-md hover:border-primary-hover' : '';
1976
+ const getBorderStyle = (isBorder) => isBorder ? 'border border-gray rounded-md hover:border-primary-hover' : '';
1977
1977
 
1978
1978
  function renderInput(props) {
1979
1979
  const { placeholder, rates, selected, value, setValue, setSelected } = props;
@@ -2110,7 +2110,7 @@
2110
2110
  transparent: 'text-white',
2111
2111
  };
2112
2112
  const renderImage$3 = (bgColor, image, size) => {
2113
- 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: {
2114
2114
  icon: image?.icon || 'LogoIcon',
2115
2115
  iconVersion: ICON_VERSION_MAP[bgColor],
2116
2116
  }, className: SVG_COLOR[bgColor], width: size?.width, height: size?.height, asSVG: true }));
@@ -2142,11 +2142,11 @@
2142
2142
  const SearchBarLabelClassName = isMobile ? 'text-s' : 'text-l-light';
2143
2143
  const SearchBarInputClassName = isMobile ? ' placeholder-transparent' : 'h-full';
2144
2144
  const inputPlaceholder = isMobile ? 'some search' : undefined;
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: "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
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) => {
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
2146
+ outline-none pr-[6%] border-gray 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) => {
2147
2147
  e.preventDefault();
2148
2148
  setTerm('');
2149
- }, 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) => {
2150
2150
  ev?.preventDefault();
2151
2151
  console.log('click');
2152
2152
  }, children: jsx("div", { className: "text-s px-9 py-2.5", children: "\u041D\u0430\u0439\u0442\u0438" }) }))] }));
@@ -2244,7 +2244,7 @@
2244
2244
 
2245
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)) })] })));
2246
2246
  function renderCard({ card, version }, i) {
2247
- return (jsx("section", { className: `box-border border-solid border border-main-stroke p-6 mx-2 flex flex-col justify-between
2247
+ return (jsx("section", { className: `box-border border-solid border border-gray p-6 mx-2 flex flex-col justify-between
2248
2248
  items-stretch ${cardStyleMap[version]} ${VersionStyleMap[card.version ?? 'primary']} w-full col-span-4`, role: "listitem", children: jsx(GalleryCardInner, { ...card }) }, String(i)));
2249
2249
  }
2250
2250
 
@@ -2383,7 +2383,7 @@
2383
2383
 
2384
2384
  const SearchBar = JSX(({ className, searchTerm, onSearch }) => {
2385
2385
  return (jsxs("form", { className: `font-sans relative ${className}`, children: [jsx("div", { className: "absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none", children: searchTerm ? null : (jsx("label", { htmlFor: "search-bar-input", className: `text-secondary-text `, children: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0444\u0438\u043B\u0438\u0430\u043B\u0430\u043C" })) }), jsx("input", { id: "search-bar-input", className: `h-12 pl-4 w-full peer text-l text-black border border-solid rounded-md box-border
2386
- outline-none border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text`, value: searchTerm, onChange: (e) => onSearch(e.target.value), type: "text", name: "location-search-bar-input" })] }));
2386
+ outline-none border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text`, value: searchTerm, onChange: (e) => onSearch(e.target.value), type: "text", name: "location-search-bar-input" })] }));
2387
2387
  });
2388
2388
 
2389
2389
  const SEARCH_TERM_MIN_LENGTH = 3;
@@ -2405,7 +2405,7 @@
2405
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) => {
2406
2406
  e.preventDefault();
2407
2407
  close && close();
2408
- }, children: jsx(ImgInner, { image: "CloseIcon", width: "24", height: "24" }) })));
2408
+ }, children: jsx(ImgInner, { image: { icon: 'CloseIcon' }, width: "24", height: "24" }) })));
2409
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));
2410
2410
  const renderRegion = ({ onChangeLocation, close }) => (region) => (jsx("div", { className: "mb-1", children: jsx("button", { className: "cursor-pointer hover:text-primary-hover", onClick: () => {
2411
2411
  onChangeLocation && onChangeLocation(region);
@@ -2455,13 +2455,13 @@
2455
2455
  'bg-white': 'bg-primary-text',
2456
2456
  transparent: 'bg-white',
2457
2457
  };
2458
- const DropdownMenu = JSX(({ className, items, activeItem, bgColor }) => {
2458
+ const DropdownMenu = JSX(({ className = '', items, activeItem, bgColor }) => {
2459
2459
  const link = useLink();
2460
2460
  const [visible, setVisible] = useState(false);
2461
2461
  const handleToggle = useCallback(() => setVisible((_) => !_), []);
2462
2462
  const handleClickOutside = useCallback(() => setVisible(false), []);
2463
2463
  const ref = useOutsideClick(handleClickOutside);
2464
- return (jsxs("div", { className: `${visible ? 'bg-white rounded-md shadow-blue-gray/24' : ''} ${className || ''}`, ref: ref, children: [jsx("button", { className: "flex justify-between items-center cursor-pointer h-6 ml-6", "aria-label": `${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`, onClick: handleToggle, children: Array(3).fill(bgColor).map(renderDot) }), jsx("div", { className: `flex flex-col rounded-md bg-white p-6 pb-2 ${visible ? '' : 'hidden'}`, "aria-hidden": !visible, children: items?.map((item, i) => (jsx("a", { className: `text-l-light pb-4 hover:text-primary-main ${item === activeItem ? 'text-primary-main' : ''}`, ...link(item), children: item.text }, item.href || String(i)))) })] }));
2464
+ return (jsxs("div", { className: `${visible ? 'bg-white rounded-md shadow-blue-gray' : ''} ${className}`, ref: ref, children: [jsx("button", { className: "flex justify-between items-center cursor-pointer h-6 ml-6", "aria-label": `${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`, onClick: handleToggle, children: Array(3).fill(bgColor).map(renderDot) }), jsx("div", { className: `flex flex-col rounded-md bg-white p-6 pb-2 ${visible ? '' : 'hidden'}`, "aria-hidden": !visible, children: items?.map((item, i) => (jsx("a", { className: `text-l-light pb-4 hover:text-primary-main ${item === activeItem ? 'text-primary-main' : ''}`, ...link(item), children: item.text }, item.href || String(i)))) })] }));
2465
2465
  });
2466
2466
  const renderDot = (bgColor, i) => (jsx("div", { className: `w-[3px] h-[3px] rounded mr-1 ${DOT_BG_COLORS_MAP[bgColor]}` }, String(i)));
2467
2467
 
@@ -2585,15 +2585,15 @@
2585
2585
  }
2586
2586
  function renderNavButton$2({ slide, i, isActive, onClick }) {
2587
2587
  const btnClassName = isActive
2588
- ? 'shadow-dark-blue/42 border-primary-main'
2589
- : `ease-in duration-300 border-main-stroke`;
2588
+ ? 'shadow-dark-blue border-primary-main'
2589
+ : `ease-in duration-300 border-gray`;
2590
2590
  return (jsxs("button", { type: "button", onClick: onClick, className: `p-[30px] min-w-[460px] flex items-center bg-white border-solid border relative ${btnClassName}`, children: [slide?.icon ? (jsx(ImgInner, { className: "p-5 rounded-full bg-secondary-light mr-[30px]", image: slide.icon, width: "108", height: "108" })) : null, jsxs("div", { className: "flex gap-3.5", children: [slide?.sum ? renderValueBlock$1('страховая сумма', slide.sum) : null, slide?.fee ? renderValueBlock$1('страховой взнос', slide.fee) : null] }), renderDoneIcon(isActive)] }, String(i)));
2591
2591
  }
2592
2592
  function renderValueBlock$1(title, sum) {
2593
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 })] }));
2594
2594
  }
2595
2595
  function renderDoneIcon(isActive) {
2596
- 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;
2597
2597
  }
2598
2598
 
2599
2599
  const InsuranceAmountBlock = JSX(({ className = '', title, insuranceTabs = [], button, ...rest }) => {
@@ -2643,7 +2643,7 @@
2643
2643
  if (investmentZeroColumn) {
2644
2644
  colums.unshift(investmentZeroColumn);
2645
2645
  }
2646
- return (jsx(BlockWrapper, { className: `font-sans bg-white px-9 py-12 ${className}`, ...rest, children: jsxs("div", { className: "container text-m-light", children: [colums?.length ? (jsxs("div", { children: [jsxs("div", { className: "flex items-end relative pl-9 pr-5 text-white", children: [joinList(jsx("div", { className: "w-px h-4 bg-main-stroke" }))(colums.map(renderInvestmentColumn)), jsx("div", { className: "absolute right-[30px] w-px h-4 bg-main-stroke" })] }), jsx("div", { className: "border-t border-main-stroke -mt-2 ml-9 mr-8" }), jsx("div", { className: "flex justify-between text-primary-text mt-3 -mx-10", children: colums.map(renderInvestmentColumnTitle) })] })) : null, items?.length ? (jsx(List, { className: "mt-9 text-l-light max-w-[657px]", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] }) }));
2646
+ return (jsx(BlockWrapper, { className: `font-sans bg-white px-9 py-12 ${className}`, ...rest, children: jsxs("div", { className: "container text-m-light", children: [colums?.length ? (jsxs("div", { children: [jsxs("div", { className: "flex items-end relative pl-9 pr-5 text-white", children: [joinList(jsx("div", { className: "w-px h-4 bg-gray" }))(colums.map(renderInvestmentColumn)), jsx("div", { className: "absolute right-[30px] w-px h-4 bg-gray" })] }), jsx("div", { className: "border-t border-gray -mt-2 ml-9 mr-8" }), jsx("div", { className: "flex justify-between text-primary-text mt-3 -mx-10", children: colums.map(renderInvestmentColumnTitle) })] })) : null, items?.length ? (jsx(List, { className: "mt-9 text-l-light max-w-[657px]", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] }) }));
2647
2647
  });
2648
2648
  const renderInvestmentColumn = (column, i, arr) => {
2649
2649
  const isSecondColumn = i === 1;
@@ -2732,6 +2732,32 @@
2732
2732
  };
2733
2733
  const renderDescription$2 = (description) => description ? jsx("p", { className: "text-xl-light mb-5 pt-0.5", children: description }) : null;
2734
2734
 
2735
+ const mockPoints = [
2736
+ { coords: [55.77, 37.46], text: 'Трактир' },
2737
+ { coords: [55.66, 37.48], text: 'Трактор' },
2738
+ { coords: [55.65, 37.42], text: 'Ресторан' },
2739
+ { coords: [55.64, 37.54], text: 'Музей' },
2740
+ { coords: [55.54, 37.52], text: 'Библиотека' },
2741
+ { coords: [55.53, 37.56], text: 'Школа' },
2742
+ { coords: [55.61, 37.61], text: 'Аптека' },
2743
+ { coords: [55.8, 37.58], text: 'Бар' },
2744
+ { coords: [55.71, 37.35], text: 'Институт' },
2745
+ { coords: [55.74, 37.57], text: 'Университет' },
2746
+ { coords: [55.58, 37.69], text: 'Больница' },
2747
+ { coords: [55.57, 37.7], text: 'Цирк' },
2748
+ { coords: [55.55, 37.64], text: 'Магазин' },
2749
+ { coords: [55.5, 37.75], text: 'Булочная' },
2750
+ { coords: [55.81, 37.73], text: 'Полиция' },
2751
+ { coords: [55.73, 37.68], text: 'Салон красоты' },
2752
+ { coords: [55.86, 37.76], text: 'Баня' },
2753
+ { coords: [55.38, 37.69], text: 'Гараж' },
2754
+ { coords: [55.91, 37.5], text: 'Дом' },
2755
+ { coords: [55.62, 37.32], text: 'Прачечная' },
2756
+ { coords: [55.85, 37.41], text: 'Стадион' },
2757
+ { coords: [55.67, 37.24], text: 'Вокзал' },
2758
+ { coords: [55.79, 37.41], text: 'Кафе' },
2759
+ ];
2760
+
2735
2761
  function renderClusterer(yandexMaps, map, points) {
2736
2762
  map.geoObjects.removeAll();
2737
2763
  const clusterIconContentLayout = yandexMaps.templateLayoutFactory.createClass('<div style="margin-top: -3px;">{{properties.geoObjects.length}}</div>');
@@ -2765,7 +2791,7 @@
2765
2791
  }
2766
2792
 
2767
2793
  const styles$3 = {
2768
- focus: 'focus:border-primary-focus focus:border',
2794
+ focus: 'focus:border-primary-text focus:border',
2769
2795
  hover: 'hover:bg-primary-hover',
2770
2796
  active: 'active:bg-primary-active',
2771
2797
  border: 'border border-transparent rounded-md',
@@ -2776,7 +2802,7 @@
2776
2802
  const getYandexMapUrl = () => {
2777
2803
  return `https://yandex.ru/maps/?ll=${[pointsCenter[1], pointsCenter[0]]}&z=10&l=map`;
2778
2804
  };
2779
- return (jsx("a", { className: `select-none cursor-pointer px-9 h-12 bg-white bg-primary-main text-white ${Object.values(styles$3).join(' ')}`, href: getYandexMapUrl(), target: "_blank", children: "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430 \u043A\u0430\u0440\u0442\u0435" }));
2805
+ return (jsx("a", { className: `select-none cursor-pointer px-9 h-12 bg-primary-main text-white ${Object.values(styles$3).join(' ')}`, href: getYandexMapUrl(), target: "_blank", children: "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430 \u043A\u0430\u0440\u0442\u0435" }));
2780
2806
  };
2781
2807
 
2782
2808
  const styles$2 = {
@@ -2806,7 +2832,7 @@
2806
2832
  };
2807
2833
 
2808
2834
  const styles$1 = {
2809
- focus: 'focus:border-primary-focus focus:border',
2835
+ focus: 'focus:border-primary-text focus:border',
2810
2836
  hover: 'hover:bg-primary-hover',
2811
2837
  active: 'active:bg-primary-active',
2812
2838
  border: 'border border-transparent rounded-md',
@@ -2871,7 +2897,7 @@
2871
2897
  };
2872
2898
 
2873
2899
  const styles = {
2874
- focus: 'focus:border-primary-focus focus:border',
2900
+ focus: 'focus:border-primary-text focus:border',
2875
2901
  hover: 'hover:bg-primary-hover',
2876
2902
  active: 'active:bg-primary-active',
2877
2903
  border: 'border-b border-b-2 border-gray last:border-0',
@@ -2889,37 +2915,11 @@
2889
2915
  return (jsx("div", { onClick: changeZoom, className: `${Object.values(styles).join(' ')} bg-white select-none cursor-pointer w-12 h-12`, children: jsx(Icon, { name: iconName, width: "20", height: "16" }) }));
2890
2916
  });
2891
2917
 
2892
- const mockPoints = [
2893
- { coords: [55.77, 37.46], text: 'Трактир' },
2894
- { coords: [55.66, 37.48], text: 'Трактор' },
2895
- { coords: [55.65, 37.42], text: 'Ресторан' },
2896
- { coords: [55.64, 37.54], text: 'Музей' },
2897
- { coords: [55.54, 37.52], text: 'Библиотека' },
2898
- { coords: [55.53, 37.56], text: 'Школа' },
2899
- { coords: [55.61, 37.61], text: 'Аптека' },
2900
- { coords: [55.8, 37.58], text: 'Бар' },
2901
- { coords: [55.71, 37.35], text: 'Институт' },
2902
- { coords: [55.74, 37.57], text: 'Университет' },
2903
- { coords: [55.58, 37.69], text: 'Больница' },
2904
- { coords: [55.57, 37.7], text: 'Цирк' },
2905
- { coords: [55.55, 37.64], text: 'Магазин' },
2906
- { coords: [55.5, 37.75], text: 'Булочная' },
2907
- { coords: [55.81, 37.73], text: 'Полиция' },
2908
- { coords: [55.73, 37.68], text: 'Салон красоты' },
2909
- { coords: [55.86, 37.76], text: 'Баня' },
2910
- { coords: [55.38, 37.69], text: 'Гараж' },
2911
- { coords: [55.91, 37.5], text: 'Дом' },
2912
- { coords: [55.62, 37.32], text: 'Прачечная' },
2913
- { coords: [55.85, 37.41], text: 'Стадион' },
2914
- { coords: [55.67, 37.24], text: 'Вокзал' },
2915
- { coords: [55.79, 37.41], text: 'Кафе' },
2916
- ];
2917
-
2918
2918
  const FULLSCREEN_STYLES = {
2919
2919
  border: 'border border-transparent rounded-md ',
2920
2920
  position: 'absolute flex items-center justify-center',
2921
2921
  size: 'w-12 h-12',
2922
- focus: 'focus:border-primary-focus focus:border',
2922
+ focus: 'focus:border-primary-text focus:border',
2923
2923
  font: 'text-center font-sans',
2924
2924
  active: 'active:bg-primary-active',
2925
2925
  hover: 'hover:bg-primary-hover',
@@ -2996,7 +2996,7 @@
2996
2996
  const renderCurrentDaySchedule = ({ lunchHour, status, workTime }) => {
2997
2997
  const hasTime = /\d+/gi.test(lunchHour);
2998
2998
  const lunchHourText = hasTime ? `Перерыв ${lunchHour}` : lunchHour;
2999
- return status ? (jsxs("div", { className: "flex", children: [jsx("div", { className: "p-3 border rounded-md text-m flex items-center cursor-pointer text-primary-main border-green-light mr-4", children: workTime ? workTime : null }), jsx("div", { className: "p-3 border rounded-md text-m flex items-center cursor-pointer text-golden border-golden", children: lunchHour ? lunchHourText : null })] })) : (jsx("div", { className: "flex", children: jsx("div", { className: "p-3 border rounded-md text-m flex items-center cursor-pointer text-error border-error", children: "\u0412\u044B\u0445\u043E\u0434\u043D\u043E\u0439" }) }));
2999
+ return status ? (jsxs("div", { className: "flex", children: [jsx("div", { className: "p-3 border rounded-md text-m flex items-center cursor-pointer text-primary-main border-green-light mr-4", children: workTime ? workTime : null }), jsx("div", { className: "p-3 border rounded-md text-m flex items-center cursor-pointer text-yellow border-golden", children: lunchHour ? lunchHourText : null })] })) : (jsx("div", { className: "flex", children: jsx("div", { className: "p-3 border rounded-md text-m flex items-center cursor-pointer text-error border-error", children: "\u0412\u044B\u0445\u043E\u0434\u043D\u043E\u0439" }) }));
3000
3000
  };
3001
3001
  const renderNearbyOffice = ({ icon, title, distance, time }, index) => (jsxs("div", { className: "flex mr-4", children: [jsx(Icon, { name: icon, width: "16", height: "16", asSVG: true, className: "mr-1" }), title ? jsxs("span", { className: "text-m", children: [title, "\u00A0"] }) : null, jsxs("span", { className: "text-m-light", children: [distance ? ` (${distance})` : null, time ? `, ${time}` : null] })] }, `nearbyOffice${index}`));
3002
3002
  const renderDay = ({ title, status, workTime, lunchHour, description }, inx) => (jsxs("div", { className: "flex flex-col pb-3 border-b border-solid border-main-divider mb-3 last:border-0", children: [jsxs("div", { className: "flex justify-between items-center w-full pb-1 text-l text-primary-text", children: [jsx("div", { children: title }), status ? null : jsx("div", { className: "text-m-light text-error", children: "\u0412\u044B\u0445\u043E\u0434\u043D\u043E\u0439" }), status && workTime ? jsx("div", { children: workTime }) : null] }), status && lunchHour ? renderLunchHour(lunchHour) : null, description ? (jsx("div", { className: "pb-1 text-s-light text-secondary-text", children: description })) : null] }, `day${inx}`));
@@ -3315,7 +3315,7 @@
3315
3315
  }
3316
3316
  function renderNavButton({ slide, i, isActive, onClick, version }) {
3317
3317
  const btnClassName = isActive
3318
- ? 'bg-white shadow-dark-blue/42 min-w-[350px] border-none p-6'
3318
+ ? 'bg-white shadow-dark-blue min-w-[350px] border-none p-6'
3319
3319
  : `min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur
3320
3320
  ${VersionStyleMap[version]}`;
3321
3321
  const btnTitleClassName = isActive
@@ -3342,9 +3342,9 @@
3342
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 }) }));
3343
3343
  }
3344
3344
 
3345
- const MarkdownText = JSX((props) => {
3346
- const { md = '' } = props;
3347
- 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 } });
3348
3348
  });
3349
3349
 
3350
3350
  function assertUnreachable(x) {
@@ -3360,7 +3360,7 @@
3360
3360
  // eslint-disable-next-line consistent-return
3361
3361
  (benefit, i) => {
3362
3362
  const { type } = benefit;
3363
- if (!(type === 'default' || type === 'md')) {
3363
+ if (!(type === 'default' || type === 'rte')) {
3364
3364
  return null;
3365
3365
  }
3366
3366
  switch (type) {
@@ -3369,8 +3369,8 @@
3369
3369
  jsx(Text, { size: "text-h6", children: benefit.label }, `label-${i}`),
3370
3370
  jsx(Text, { size: "text-m-light", color: LABEL_STYLE_MAP[version], children: benefit.description }, `desc-${i}`),
3371
3371
  ];
3372
- case 'md':
3373
- return jsx(MarkdownText, { md: benefit.md });
3372
+ case 'rte':
3373
+ return jsx(RichText, { __html: benefit.__html });
3374
3374
  default:
3375
3375
  assertUnreachable(benefit);
3376
3376
  }
@@ -3429,6 +3429,11 @@
3429
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'}` })] }));
3430
3430
  });
3431
3431
 
3432
+ const RichTextBlock = JSX((props) => {
3433
+ const { __html, ...rest } = props;
3434
+ return (jsx(BlockWrapper, { ...rest, children: jsx(RichText, { __html: __html }) }));
3435
+ });
3436
+
3432
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 }) }) })));
3433
3438
  RollupItem.childrenTypes = {
3434
3439
  exclude: [
@@ -3469,7 +3474,7 @@
3469
3474
 
3470
3475
  const RegionsAndBranches = JSX(({ regions = [], selectedRegion, onSelectedRegion: onSelectedRegion, branches = [], selectedBranch, onSelectedBranch, }) => (jsxs("div", { className: "flex justify-between gap-4 mb-6", children: [jsx("div", { className: "max-w-[396px] w-1/2", children: jsx(WrapperSelect, { data: regions, fieldValue: "code", fieldLabel: "name", selected: selectedRegion, setSelected: onSelectedRegion, label: "\u0420\u0435\u0433\u0438\u043E\u043D" }) }), jsx("div", { className: "max-w-[396px] w-1/2", children: jsx(WrapperSelect, { data: branches, fieldValue: "branchCode", fieldLabel: "address", selected: selectedBranch, setSelected: onSelectedBranch, label: "\u041E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435" }) })] })));
3471
3476
 
3472
- const Radio = JSX(({ name, text, value, checked, onChange, className }) => (jsx("div", { className: className, children: jsxs("label", { className: "font-sans flex items-center relative cursor-pointer", children: [jsx("input", { className: "appearance-none flex justify-center items-center shrink-0 w-5 h-5 border border-gray hover:border-checkbox-hover\n checked:border-2 checked:!border-primary-main focus:checked:border-primary-main focus:border-primary-text active:border-primary-text\n after:block after:w-2.5 after:h-2.5 after:rounded-full checked:after:bg-primary-main outline-none rounded-full cursor-pointer", type: "radio", value: value, name: name, checked: checked, onChange: (_) => onChange(_.target.value) }), text ? jsx("span", { className: "text-primary-text ml-3 cursor-pointer", children: text }) : null] }) })));
3477
+ const Radio = JSX(({ name, text, value, checked, onChange, className }) => (jsx("div", { className: className, children: jsxs("label", { className: "font-sans flex items-center relative cursor-pointer", children: [jsx("input", { className: "appearance-none flex justify-center items-center shrink-0 w-5 h-5 border border-gray hover:border-primary-hover\n checked:border-2 checked:!border-primary-main focus:checked:border-primary-main focus:border-primary-text active:border-primary-text\n after:block after:w-2.5 after:h-2.5 after:rounded-full checked:after:bg-primary-main outline-none rounded-full cursor-pointer", type: "radio", value: value, name: name, checked: checked, onChange: (_) => onChange(_.target.value) }), text ? jsx("span", { className: "text-primary-text ml-3 cursor-pointer", children: text }) : null] }) })));
3473
3478
 
3474
3479
  const RenderRadioButtons = JSX(() => {
3475
3480
  const [selectedOption, setSelectedOption] = useState('option2');
@@ -3826,7 +3831,7 @@
3826
3831
  const toggleTables = useCallback((key) => setHiddenTables((oldState) => ({ ...oldState, [key]: !oldState[key] })), []);
3827
3832
  return (jsx("div", { children: items.map((_, tableIdx) => {
3828
3833
  const key = `activeTabIdx:${activeTabIndex}-tableIdx:${tableIdx}`;
3829
- 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-gray 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));
3830
3835
  }) }));
3831
3836
  });
3832
3837
 
@@ -3913,7 +3918,7 @@
3913
3918
  const { tags, className = '' } = props;
3914
3919
  return tags?.length ? (jsx("div", { className: `flex flex-wrap gap-2 ${className}`, children: tags.map(renderTag) })) : null;
3915
3920
  });
3916
- const renderTag = (tag, key) => (jsx("span", { className: "text-m-light py-2 px-2.5 border-solid border rounded-md border-color-stroke", children: tag }, String(key)));
3921
+ const renderTag = (tag, key) => (jsx("span", { className: "text-m-light py-2 px-2.5 border-solid border rounded-md border-gray", children: tag }, String(key)));
3917
3922
 
3918
3923
  const Tile = JSX((props) => {
3919
3924
  const { title, headingType = 'h3', description, items, buttons, image, isDotted = true, listItemSize = 'M', className = '', version = 'primary', tags, children, ...rest } = props;
@@ -3959,12 +3964,12 @@
3959
3964
  Accordion,
3960
3965
  AccordionItem,
3961
3966
  BenefitsBlock,
3962
- BusinessBlock,
3963
- ButtonBlock,
3964
3967
  Bonus,
3965
3968
  BonusBenefitsBlock,
3966
- CardTransfer,
3969
+ BusinessBlock,
3970
+ ButtonBlock,
3967
3971
  Calculator,
3972
+ CardTransfer,
3968
3973
  Carousel,
3969
3974
  CarouselCard,
3970
3975
  CarouselCatalogCard,
@@ -3975,8 +3980,8 @@
3975
3980
  CarouselRecommendationCard,
3976
3981
  CarouselTariffsCard,
3977
3982
  Catalog,
3978
- ContactsBlock,
3979
3983
  ComparisonTable,
3984
+ ContactsBlock,
3980
3985
  ErrorBlock,
3981
3986
  ExchangeRateTile,
3982
3987
  Footer,
@@ -3992,6 +3997,9 @@
3992
3997
  MiniGallery,
3993
3998
  MobileAppTile,
3994
3999
  OfficeMap,
4000
+ OfficeServicesBlock,
4001
+ OtherProducts,
4002
+ OtherProductsItem,
3995
4003
  ParagraphBlock,
3996
4004
  PictureText,
3997
4005
  Placeholder,
@@ -3999,9 +4007,8 @@
3999
4007
  ProductGallery,
4000
4008
  ProductTile,
4001
4009
  PromoTile,
4002
- OfficeServicesBlock,
4003
- OtherProducts,
4004
- OtherProductsItem,
4010
+ Recommendation,
4011
+ RichTextBlock,
4005
4012
  RollupItem,
4006
4013
  SafeDepositRental,
4007
4014
  StepsBlock,
@@ -4011,7 +4018,6 @@
4011
4018
  Tile,
4012
4019
  VerticalLayout,
4013
4020
  Video,
4014
- Recommendation,
4015
4021
  };
4016
4022
 
4017
4023
  const debounce = (fn, delay = 600) => {
@@ -4139,7 +4145,7 @@
4139
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" }) }));
4140
4146
  }
4141
4147
 
4142
- const packageVersion = "0.6.46";
4148
+ const packageVersion = "0.6.48";
4143
4149
 
4144
4150
  exports.Blocks = Blocks;
4145
4151
  exports.ContentPage = ContentPage;