@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
@@ -57,9 +57,11 @@ export const Carousel: JSXBlock<CarouselProps> = JSX<CarouselProps>(
57
57
  Carousel.childrenTypes = [
58
58
  'CarouselCard',
59
59
  'CarouselCatalogCard',
60
- 'CarouselTariffsCard',
60
+ 'CarouselInvestmentCard',
61
61
  'CarouselProductCard',
62
62
  'CarouselProgramsCard',
63
+ 'CarouselRecommendationCard',
64
+ 'CarouselTariffsCard',
63
65
  'CarouselInvestmentCard',
64
66
  ];
65
67
 
@@ -7,7 +7,7 @@ import type { CarouselCardContent } from './CarouselCardContent';
7
7
 
8
8
  export interface CarouselCardProps extends CarouselCardContent, UniBlockProps {}
9
9
 
10
- const BLOCK_CLASSES = 'absolute border border-solid border-main-stroke w-full h-full';
10
+ const BLOCK_CLASSES = 'absolute border border-solid border-gray w-full h-full';
11
11
 
12
12
  const CARD_WIDTH_MAP: Record<CarouselCardVersion, string> = {
13
13
  normal: 'min-w-[1007px]',
@@ -3,7 +3,7 @@ import type { HeadlineCommonProps } from '../../model/HeadlineType';
3
3
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
4
4
 
5
5
  /**
6
- * @title Карточка какусели
6
+ * @title Карточка карусели
7
7
  */
8
8
  export interface CarouselCardContent extends HeadlineCommonProps {
9
9
  /**
@@ -22,7 +22,7 @@ const cardStyleMap: Record<ProductColorVersion, string> = {
22
22
  export const CarouselCatalogCard = JSX<CarouselCatalogCardProps>(
23
23
  ({ className = '', title, description, image, price, button, colors, version = 'primary' }) => (
24
24
  <section
25
- className={`border box-border border-main-stroke p-7 min-w-[392px] flex flex-col justify-left ${VersionStyleMap[version]} ${className}`}
25
+ className={`border box-border border-gray p-7 min-w-[392px] flex flex-col justify-left ${VersionStyleMap[version]} ${className}`}
26
26
  role="listitem"
27
27
  >
28
28
  {image?.src ? <Img className="mb-5 flex justify-center" image={image} /> : null}
@@ -20,7 +20,7 @@ const descriptionStyleMap: Record<BlockVersion, string> = {
20
20
  secondary: 'text-white/80',
21
21
  };
22
22
 
23
- const BORDER_STYLE = 'box-border border-solid border border-main-stroke ';
23
+ const BORDER_STYLE = 'box-border border-solid border border-gray ';
24
24
 
25
25
  export const CarouselProductCard = JSX<CarouselProductCardProps>(
26
26
  ({
@@ -13,7 +13,7 @@ export interface CarouselTariffsCardProps extends CarouselProgramsCardContent, U
13
13
  export const CarouselProgramsCard = JSX<CarouselTariffsCardProps>(
14
14
  ({ className = '', title, icon, list = [], version = 'primary', ...rest }) => (
15
15
  <BlockWrapper
16
- className={`font-sans border border-main-stroke flex min-w-[536px] ${VersionStyleMap[version]} ${className}`}
16
+ className={`font-sans border border-gray flex min-w-[536px] ${VersionStyleMap[version]} ${className}`}
17
17
  {...rest}
18
18
  >
19
19
  <div className="w-[200px] min-w-[200px] self-end">
@@ -44,4 +44,13 @@ export default {
44
44
  />
45
45
  </div>
46
46
  ),
47
+ gray: (
48
+ <div className="container grid grid-cols-12 mb-1">
49
+ <CarouselRecommendationCard
50
+ className="col-span-4"
51
+ version="gray"
52
+ {...CAROUSEL_RECOMMENDATION_CARD}
53
+ />
54
+ </div>
55
+ ),
47
56
  };
@@ -7,7 +7,9 @@ import { JSX } from '@redneckz/uni-jsx';
7
7
  import { List } from '../../ui-kit/List/List';
8
8
  import { renderButton } from '../../ui-kit/Button/ButtonSection';
9
9
  import { SocialMedia } from '../Footer/SocialMedia';
10
- import { VersionStyleMap } from '../../model/BlockVersion';
10
+ import type { BlockVersion, BlockVersionWithGray } from '../../model/BlockVersion';
11
+ import { VersionWithGrayStyleMap } from '../../model/BlockVersion';
12
+
11
13
  import type { CarouselRecommendationCardContent } from './CarouselRecommendationCardContent';
12
14
  import type { UniBlockProps } from '../../model/JSXBlock';
13
15
 
@@ -35,8 +37,8 @@ export const CarouselRecommendationCard = JSX<RecommendationCardProps>(
35
37
  return (
36
38
  <BlockWrapper
37
39
  className={`relative text-left border border-solid box-border p-7 min-w-[524px]
38
- ${BorderVersionStyleMap[version]}
39
- ${VersionStyleMap[version]}
40
+ ${BorderVersionStyleMap[getOmitVersion(version)]}
41
+ ${VersionWithGrayStyleMap[version]}
40
42
  ${className}`}
41
43
  {...rest}
42
44
  >
@@ -51,7 +53,11 @@ export const CarouselRecommendationCard = JSX<RecommendationCardProps>(
51
53
  />
52
54
  ) : null}
53
55
  {socialMedia.length ? (
54
- <SocialMedia className="pt-10 pb-0" media={socialMedia} version={version} />
56
+ <SocialMedia
57
+ className="pt-10 pb-0"
58
+ media={socialMedia}
59
+ version={getOmitVersion(version)}
60
+ />
55
61
  ) : null}
56
62
  {button?.text ? <div className="pt-2 mt-16">{renderButton({ button })}</div> : null}
57
63
  </div>
@@ -60,3 +66,6 @@ export const CarouselRecommendationCard = JSX<RecommendationCardProps>(
60
66
  );
61
67
  },
62
68
  );
69
+
70
+ const getOmitVersion = (version: BlockVersionWithGray): BlockVersion =>
71
+ version === 'gray' ? 'primary' : version;
@@ -1,4 +1,4 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
1
+ import type { BlockVersionWithGray } from '../../model/BlockVersion';
2
2
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
3
3
  import type { LinkCommonProps } from '../../model/LinkProps';
4
4
  import type { Picture } from '../../model/Picture';
@@ -41,5 +41,5 @@ export interface CarouselRecommendationCardContent extends HeadlineCommonProps,
41
41
  * }
42
42
  */
43
43
  button?: ButtonProps;
44
- version?: BlockVersion;
44
+ version?: BlockVersionWithGray;
45
45
  }
@@ -1,3 +1,7 @@
1
+ import { JSX } from '@redneckz/uni-jsx';
2
+ import type { HeadlineCommonProps } from '../../model/HeadlineType';
3
+ import type { UniBlockProps } from '../../model/JSXBlock';
4
+ import { VNode } from '../../model/VNode';
1
5
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
2
6
  import { Button } from '../../ui-kit/Button/Button';
3
7
  import { Foldable } from '../../ui-kit/Foldable/Foldable';
@@ -6,11 +10,7 @@ import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection';
6
10
  import { Heading } from '../../ui-kit/Heading/Heading';
7
11
  import { Icon } from '../../ui-kit/Icon/Icon';
8
12
  import { Img } from '../../ui-kit/Img/Img';
9
- import { JSX } from '@redneckz/uni-jsx';
10
- import { VNode } from '../../model/VNode';
11
13
  import type { CarouselTariffsCardContent } from './CarouselTariffsCardContent';
12
- import type { HeadlineCommonProps } from '../../model/HeadlineType';
13
- import type { UniBlockProps } from '../../model/JSXBlock';
14
14
 
15
15
  export interface CarouselTariffsCardProps extends CarouselTariffsCardContent, UniBlockProps {}
16
16
 
@@ -24,7 +24,7 @@ export const CarouselTariffsCard = JSX<CarouselTariffsCardProps>(
24
24
 
25
25
  return (
26
26
  <BlockWrapper
27
- className={`font-sans relative bg-white border border-main-stroke min-w-[322px] p-8
27
+ className={`font-sans relative bg-white border border-gray min-w-[322px] p-8
28
28
  ${getHitStyle(isHighlighting)}
29
29
  ${className}`}
30
30
  {...rest}
@@ -19,7 +19,7 @@ const cardStyleMap: Record<ProductColorVersion, string> = {
19
19
  export const CatalogCard = JSX<CatalogCardProps>(
20
20
  ({ className = '', title, description, image, price, button, colors }) => (
21
21
  <section
22
- className={`border border-solid box-border border-main-stroke p-[30px] min-w-[402px] flex flex-col justify-left ${className}`}
22
+ className={`border border-solid box-border border-gray p-[30px] min-w-[402px] flex flex-col justify-left ${className}`}
23
23
  role="listitem"
24
24
  >
25
25
  {image?.src ? <Img className="mb-5 flex justify-center" image={image} /> : null}
@@ -59,7 +59,7 @@ const renderShowMoreToggleButton = ({
59
59
  <div className={FIRST_CELL_CLASSES} />
60
60
  <button
61
61
  onClick={onClick}
62
- className="mt-5 flex-1 border-main-stroke border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main"
62
+ className="mt-5 flex-1 border-gray border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main"
63
63
  >
64
64
  <div className="font-sans text-xs-light font-medium py-3">
65
65
  {!isShowAllRow ? 'Показать все параметры' : 'Скрыть'}
@@ -28,10 +28,7 @@ export const TableColumn = JSX<TableColumnProps>(
28
28
  const buttonVersion: ButtonVersion = isFillGradient ? 'secondary' : 'primary';
29
29
 
30
30
  return (
31
- <div
32
- className={`border border-main-stroke rounded-md p-4 mb-3.5 ${gradientClassName}`}
33
- role="row"
34
- >
31
+ <div className={`border border-gray rounded-md p-4 mb-3.5 ${gradientClassName}`} role="row">
35
32
  <HeaderCell {...header} isFillGradient={isFillGradient} />
36
33
  {columnDataView?.length
37
34
  ? columnDataView.map(({ rowHeader, cell }, i) => (
@@ -1,5 +1,5 @@
1
1
  export const GRADIENT = 'bg-gradient-to-r from-main-gradient-start to-main-gradient-end';
2
- export const BORDER_CLASSES = 'border-main-stroke border-solid border';
2
+ export const BORDER_CLASSES = 'border-gray border-solid border';
3
3
  export const DIVIDER_CLASSES = 'border-main-divider border border-t-0 border-x-0';
4
4
  export const FIRST_CELL_CLASSES = 'w-[200px] mr-6';
5
5
  export const COLS_LENGTH_FOR_SCROLL = 3;
@@ -4,6 +4,7 @@ import type { ExchangeCurrencyItem } from './ExchangeCurrencyCalculator';
4
4
  import { formatCurrency } from './formatCurrency';
5
5
 
6
6
  const TABLE_HEAD_STYLE = 'text-left text-m-light text-secondary-text';
7
+ const TABLE_HEAD_STYLE_WITH_PL = `${TABLE_HEAD_STYLE} pl-11`;
7
8
 
8
9
  const CURRENCY_ICONS_MAP = {
9
10
  USD: 'DollarIcon',
@@ -20,8 +21,8 @@ export const CurrencyTable = JSX<CurrencyTableProps>(({ className, exchangeCurre
20
21
  <thead>
21
22
  <tr>
22
23
  <th className={TABLE_HEAD_STYLE}>Валюта</th>
23
- <th className={`${TABLE_HEAD_STYLE} pl-11`}>Купить</th>
24
- <th className={`${TABLE_HEAD_STYLE} pl-11`}>Продать</th>
24
+ <th className={TABLE_HEAD_STYLE_WITH_PL}>Купить</th>
25
+ <th className={TABLE_HEAD_STYLE_WITH_PL}>Продать</th>
25
26
  </tr>
26
27
  </thead>
27
28
  <tbody>{exchangeCurrencyItems.map(renderCurrencyRow)}</tbody>
@@ -45,7 +45,7 @@ function renderCardsLayout(orientation: ListOrientation, cards: GalleryCardProps
45
45
  function renderCard(card: GalleryCardProps, key: number) {
46
46
  return (
47
47
  <div
48
- className={`w-full h-full flex flex-col justify-between shrink-0 box-border snap-start snap-always border-solid border rounded-md border-main-stroke p-4
48
+ className={`w-full h-full flex flex-col justify-between shrink-0 box-border snap-start snap-always border-solid border rounded-md border-gray p-4
49
49
  ${VersionStyleMap[card.version ?? 'primary']}`}
50
50
  key={key}
51
51
  >
@@ -36,7 +36,7 @@ export const GalleryContainer = JSX<GalleryContainerProps>(
36
36
  function renderCard({ card, version }: GalleryCardData, i: number) {
37
37
  return (
38
38
  <section
39
- className={`box-border border-solid border border-main-stroke p-6 mx-2 flex flex-col justify-between
39
+ className={`box-border border-solid border border-gray p-6 mx-2 flex flex-col justify-between
40
40
  items-stretch ${cardStyleMap[version]} ${
41
41
  VersionStyleMap[card.version ?? 'primary']
42
42
  } w-full col-span-4`}
@@ -9,7 +9,7 @@ export interface Month {
9
9
  * @default {
10
10
  * "format": "webp",
11
11
  * "size": {
12
- * "width": 210
12
+ * "width": 210,
13
13
  * "height": 190
14
14
  * }
15
15
  * }
@@ -17,46 +17,48 @@ interface DropdownMenuProps {
17
17
  bgColor?: BgColorVersion;
18
18
  }
19
19
 
20
- export const DropdownMenu = JSX<DropdownMenuProps>(({ className, items, activeItem, bgColor }) => {
21
- const link = useLink();
20
+ export const DropdownMenu = JSX<DropdownMenuProps>(
21
+ ({ className = '', items, activeItem, bgColor }) => {
22
+ const link = useLink();
22
23
 
23
- const [visible, setVisible] = useState(false);
24
- const handleToggle = useCallback(() => setVisible((_) => !_), []);
24
+ const [visible, setVisible] = useState(false);
25
+ const handleToggle = useCallback(() => setVisible((_) => !_), []);
25
26
 
26
- const handleClickOutside = useCallback(() => setVisible(false), []);
27
- const ref = useOutsideClick<HTMLDivElement>(handleClickOutside);
27
+ const handleClickOutside = useCallback(() => setVisible(false), []);
28
+ const ref = useOutsideClick<HTMLDivElement>(handleClickOutside);
28
29
 
29
- return (
30
- <div
31
- className={`${visible ? 'bg-white rounded-md shadow-blue-gray/24' : ''} ${className || ''}`}
32
- ref={ref}
33
- >
34
- <button
35
- className="flex justify-between items-center cursor-pointer h-6 ml-6"
36
- aria-label={`${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`}
37
- onClick={handleToggle}
38
- >
39
- {Array(3).fill(bgColor).map(renderDot)}
40
- </button>
30
+ return (
41
31
  <div
42
- className={`flex flex-col rounded-md bg-white p-6 pb-2 ${visible ? '' : 'hidden'}`}
43
- aria-hidden={!visible}
32
+ className={`${visible ? 'bg-white rounded-md shadow-blue-gray' : ''} ${className}`}
33
+ ref={ref}
44
34
  >
45
- {items?.map((item, i) => (
46
- <a
47
- key={item.href || String(i)}
48
- className={`text-l-light pb-4 hover:text-primary-main ${
49
- item === activeItem ? 'text-primary-main' : ''
50
- }`}
51
- {...link(item)}
52
- >
53
- {item.text}
54
- </a>
55
- ))}
35
+ <button
36
+ className="flex justify-between items-center cursor-pointer h-6 ml-6"
37
+ aria-label={`${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`}
38
+ onClick={handleToggle}
39
+ >
40
+ {Array(3).fill(bgColor).map(renderDot)}
41
+ </button>
42
+ <div
43
+ className={`flex flex-col rounded-md bg-white p-6 pb-2 ${visible ? '' : 'hidden'}`}
44
+ aria-hidden={!visible}
45
+ >
46
+ {items?.map((item, i) => (
47
+ <a
48
+ key={item.href || String(i)}
49
+ className={`text-l-light pb-4 hover:text-primary-main ${
50
+ item === activeItem ? 'text-primary-main' : ''
51
+ }`}
52
+ {...link(item)}
53
+ >
54
+ {item.text}
55
+ </a>
56
+ ))}
57
+ </div>
56
58
  </div>
57
- </div>
58
- );
59
- });
59
+ );
60
+ },
61
+ );
60
62
 
61
63
  const renderDot = (bgColor: BgColorVersion, i: number) => (
62
64
  <div key={String(i)} className={`w-[3px] h-[3px] rounded mr-1 ${DOT_BG_COLORS_MAP[bgColor]}`} />
@@ -23,11 +23,11 @@ export const HeaderBurger = JSX<HeaderBurgerProps>(
23
23
  className="absolute top-4 right-4 border-none bg-transparent cursor-pointer"
24
24
  onClick={onClick}
25
25
  >
26
- <Img image="CloseIcon" width="24" height="24" asSVG />
26
+ <Img image={{ icon: 'CloseIcon' }} width="24" height="24" asSVG />
27
27
  </button>
28
28
  <button className="flex items-center text-s p-0 mb-4 bg-transparent cursor-pointer">
29
29
  <Img
30
- image="GeolocationIcon"
30
+ image={{ icon: 'GeolocationIcon' }}
31
31
  width="20"
32
32
  height="20"
33
33
  className="text-primary-main box-border mr-2"
@@ -91,8 +91,8 @@ function renderGallery({ activeIndex, cards, selectedCardIndex, onClick }: Insur
91
91
 
92
92
  function renderNavButton({ slide, i, isActive, onClick }: NavButtonProps) {
93
93
  const btnClassName = isActive
94
- ? 'shadow-dark-blue/42 border-primary-main'
95
- : `ease-in duration-300 border-main-stroke`;
94
+ ? 'shadow-dark-blue border-primary-main'
95
+ : `ease-in duration-300 border-gray`;
96
96
 
97
97
  return (
98
98
  <button
@@ -132,7 +132,7 @@ function renderDoneIcon(isActive: boolean) {
132
132
  return isActive ? (
133
133
  <Img
134
134
  className={`h-6 w-6 min-w-6 min-h-6 absolute right-4 top-4`}
135
- image="DoneIcon"
135
+ image={{ icon: 'DoneIcon' }}
136
136
  width="24"
137
137
  height="24"
138
138
  />
@@ -49,12 +49,10 @@ export const InvestmentInfo = JSX<InvestmentInfoProps>((props) => {
49
49
  {colums?.length ? (
50
50
  <div>
51
51
  <div className="flex items-end relative pl-9 pr-5 text-white">
52
- {joinList(<div className="w-px h-4 bg-main-stroke" />)(
53
- colums.map(renderInvestmentColumn),
54
- )}
55
- <div className="absolute right-[30px] w-px h-4 bg-main-stroke" />
52
+ {joinList(<div className="w-px h-4 bg-gray" />)(colums.map(renderInvestmentColumn))}
53
+ <div className="absolute right-[30px] w-px h-4 bg-gray" />
56
54
  </div>
57
- <div className="border-t border-main-stroke -mt-2 ml-9 mr-8" />
55
+ <div className="border-t border-gray -mt-2 ml-9 mr-8" />
58
56
  <div className="flex justify-between text-primary-text mt-3 -mx-10">
59
57
  {colums.map(renderInvestmentColumnTitle)}
60
58
  </div>
@@ -10,7 +10,7 @@ export const LinkDocsHorizontalList = JSX<LinkDocsVerticalListProps>(
10
10
  ? documents.map((doc, i) => (
11
11
  <LinkDocsListItem
12
12
  key={String(i)}
13
- className={hasBorder ? 'rounded-md border-main-stroke border border-solid p-4' : ''}
13
+ className={hasBorder ? 'rounded-md border-gray border border-solid p-4' : ''}
14
14
  doc={doc}
15
15
  icon={icon}
16
16
  />
@@ -1,6 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import type { LinkDocsItem } from './LinkDocsContent';
3
2
  import type { Picture } from '../../model/Picture';
3
+ import type { LinkDocsItem } from './LinkDocsContent';
4
4
  import { LinkDocsListItem } from './LinkDocsListItem';
5
5
 
6
6
  export interface LinkDocsVerticalListProps {
@@ -20,9 +20,7 @@ export const LinkDocsVerticalList = JSX<LinkDocsVerticalListProps>(
20
20
  ? documents.map((doc, i) => (
21
21
  <div key={String(i)} role="listitem">
22
22
  <LinkDocsListItem
23
- className={
24
- hasBorder ? 'rounded-md border-main-stroke border border-solid p-4' : ''
25
- }
23
+ className={hasBorder ? 'rounded-md border-gray border border-solid p-4' : ''}
26
24
  doc={doc}
27
25
  icon={icon}
28
26
  />
@@ -3,17 +3,18 @@ import type { UniBlockProps } from '../../model/JSXBlock';
3
3
  import { Icon } from '../../ui-kit/Icon/Icon';
4
4
  import { YandexMap } from '../../ui-kit/YandexMap/YandexMap';
5
5
  import { nearbyOffices } from './nearbyOffices';
6
- import type { OfficeMapProps, WorkScheduleWeek } from './OfficeMapContent';
6
+ import type { OfficeMapContent, WorkScheduleWeek } from './OfficeMapContent';
7
7
  import { renderCurrentDaySchedule, renderDay, renderNearbyOffice } from './renderFunctions';
8
8
  import { useOfficeMap } from './useOfficeMap';
9
9
 
10
+ export interface OfficeMapProps extends OfficeMapContent, UniBlockProps {}
10
11
  export const OfficeMap = JSX<UniBlockProps>(({ className = '' }) => {
11
12
  // TODO: useOfficeMap endpoint had use /api/v1/branches. This endpoint now is`t correct/
12
13
  // TODO: useOfficeMap has return MOCK OBJECT!
13
14
  // TODO: Fix this when endpoint /api/v1/branches (or new endpoint) had returning right data
14
15
  const resultOfficeMap = useOfficeMap('000');
15
16
  const { name, address, gpsLatitude, gpsLongitude, workSchedule } =
16
- resultOfficeMap as OfficeMapProps;
17
+ resultOfficeMap as OfficeMapContent;
17
18
  const {
18
19
  workingMonday,
19
20
  workingTuesday,
@@ -14,7 +14,10 @@ export type WorkSchedule = {
14
14
  workingSunday: boolean;
15
15
  };
16
16
 
17
- export interface OfficeMapProps {
17
+ /**
18
+ * @title Карта офиса
19
+ */
20
+ export interface OfficeMapContent {
18
21
  name?: string;
19
22
  address: string;
20
23
  workSchedule: WorkSchedule;
@@ -1,5 +1,5 @@
1
- import { NearbyOffices, WorkScheduleWeek } from './OfficeMapContent';
2
1
  import { Icon } from '../../ui-kit/Icon/Icon';
2
+ import { NearbyOffices, WorkScheduleWeek } from './OfficeMapContent';
3
3
 
4
4
  export const renderCurrentDaySchedule = ({ lunchHour, status, workTime }: WorkScheduleWeek) => {
5
5
  const hasTime = /\d+/gi.test(lunchHour as string);
@@ -10,7 +10,7 @@ export const renderCurrentDaySchedule = ({ lunchHour, status, workTime }: WorkSc
10
10
  <div className="p-3 border rounded-md text-m flex items-center cursor-pointer text-primary-main border-green-light mr-4">
11
11
  {workTime ? workTime : null}
12
12
  </div>
13
- <div className="p-3 border rounded-md text-m flex items-center cursor-pointer text-golden border-golden">
13
+ <div className="p-3 border rounded-md text-m flex items-center cursor-pointer text-yellow border-golden">
14
14
  {lunchHour ? lunchHourText : null}
15
15
  </div>
16
16
  </div>
@@ -91,7 +91,7 @@ function renderProductBlock(block: ProductBlockInnerContent & UniBlockProps, i:
91
91
 
92
92
  function renderNavButton({ slide, i, isActive, onClick, version }: NavButtonProps) {
93
93
  const btnClassName = isActive
94
- ? 'bg-white shadow-dark-blue/42 min-w-[350px] border-none p-6'
94
+ ? 'bg-white shadow-dark-blue min-w-[350px] border-none p-6'
95
95
  : `min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur
96
96
  ${VersionStyleMap[version]}`;
97
97
  const btnTitleClassName = isActive
@@ -2,7 +2,7 @@
2
2
  "content": {
3
3
  "benefits": {
4
4
  "items": {
5
- "md": {
5
+ "__html": {
6
6
  "ui:widget": "html"
7
7
  },
8
8
  "type": {
@@ -2,7 +2,7 @@ import type { BlockVersion } from '../../model/BlockVersion';
2
2
  import type { DescriptionProps, HeadlineProps, LabelProps } from '../../model/HeadlineType';
3
3
  import type { Picture } from '../../model/Picture';
4
4
  import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
5
- import type { MarkdownTextProps } from '../../ui-kit/MarkdownText/MarkdownTextProps';
5
+ import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
6
6
 
7
7
  /**
8
8
  * @title Стандартный
@@ -16,9 +16,9 @@ type TextBenefit = DescriptionProps &
16
16
  /**
17
17
  * @title Форматированный текст
18
18
  */
19
- type MarkdownTextContent = MarkdownTextProps & {
20
- /** @default md */
21
- type: 'md';
19
+ type RichText = RichTextProps & {
20
+ /** @default rte */
21
+ type: 'rte';
22
22
  };
23
23
 
24
24
  /**
@@ -27,7 +27,7 @@ type MarkdownTextContent = MarkdownTextProps & {
27
27
  * "type": "default"
28
28
  * }
29
29
  */
30
- export type Benefit = TextBenefit | MarkdownTextContent;
30
+ export type Benefit = TextBenefit | RichText;
31
31
 
32
32
  /**
33
33
  * @title Продуктовая плитка
@@ -1,5 +1,5 @@
1
1
  import type { BlockVersion } from '../../model/BlockVersion';
2
- import { MarkdownText } from '../../ui-kit/MarkdownText/MarkdownText';
2
+ import { RichText } from '../../ui-kit/RichText/RichText';
3
3
  import { Text } from '../../ui-kit/Text/Text';
4
4
  import type { TextColor } from '../../ui-kit/Text/TextProps';
5
5
  import { assertUnreachable } from '../../utils/assertUnreachable';
@@ -17,7 +17,7 @@ export const renderBenefit =
17
17
  (benefit: Benefit, i: number) => {
18
18
  const { type } = benefit;
19
19
 
20
- if (!(type === 'default' || type === 'md')) {
20
+ if (!(type === 'default' || type === 'rte')) {
21
21
  return null;
22
22
  }
23
23
 
@@ -31,8 +31,8 @@ export const renderBenefit =
31
31
  {benefit.description}
32
32
  </Text>,
33
33
  ];
34
- case 'md':
35
- return <MarkdownText md={benefit.md} />;
34
+ case 'rte':
35
+ return <RichText __html={benefit.__html} />;
36
36
  default:
37
37
  assertUnreachable(benefit);
38
38
  }
@@ -0,0 +1,5 @@
1
+ {
2
+ "content": {
3
+ "__html": "<p class=\"h1\">Заголовок 1</p>\n<p class=\"h2\">Заголовок 2</p>\n<p class=\"h3\">Заголовок 3</p>\n<p class=\"h4\">Заголовок 4</p>\n<p class=\"h5\">Заголовок 5</p>\n<p class=\"h6\">Заголовок 6</p>\n<p>Параграф, в котором много текста и даже <a href=\"#\">ссылка</a></p>\n<p><strong>Жирный текст</strong>, <em>Наклонный текст</em></p>\n<ul>\n <li>Список с точками</li>\n <li>Список с точками</li>\n</ul>\n<ol>\n <li>Нумерованный список</li>\n <li>Нумерованный список</li>\n</ol>\n"
4
+ }
5
+ }
@@ -0,0 +1,29 @@
1
+ import '../../setup-fixture';
2
+ import { RichTextBlock } from './RichTextBlock';
3
+
4
+ const HTML = `
5
+ <p class="h1">Заголовок 1</p>
6
+ <p class="h2">Заголовок 2</p>
7
+ <p class="h3">Заголовок 3</p>
8
+ <p class="h4">Заголовок 4</p>
9
+ <p class="h5">Заголовок 5</p>
10
+ <p class="h6">Заголовок 6</p>
11
+ <p>Параграф, в котором много текста и даже <a href="#">ссылка</a></p>
12
+ <p><strong>Жирный текст</strong>, <em>Наклонный текст</em></p>
13
+ <ul>
14
+ <li>Список с точками</li>
15
+ <li>Список с точками</li>
16
+ </ul>
17
+ <ol>
18
+ <li>Нумерованный список</li>
19
+ <li>Нумерованный список</li>
20
+ </ol>
21
+ `;
22
+
23
+ export default {
24
+ default: (
25
+ <div className="container grid grid-cols-12">
26
+ <RichTextBlock className="col-span-12" __html={HTML} />
27
+ </div>
28
+ ),
29
+ };
@@ -0,0 +1,17 @@
1
+ import { JSX } from '@redneckz/uni-jsx';
2
+ import type { UniBlockProps } from '../../model/JSXBlock';
3
+ import { BlockWrapper } from '../../ui-kit/BlockWrapper';
4
+ import { RichText } from '../../ui-kit/RichText/RichText';
5
+ import type { RichTextBlockContent } from './RichTextBlockContent';
6
+
7
+ interface RichTextBlockProps extends RichTextBlockContent, UniBlockProps {}
8
+
9
+ export const RichTextBlock = JSX<RichTextBlockProps>((props) => {
10
+ const { __html, ...rest } = props;
11
+
12
+ return (
13
+ <BlockWrapper {...rest}>
14
+ <RichText __html={__html} />
15
+ </BlockWrapper>
16
+ );
17
+ });
@@ -0,0 +1,7 @@
1
+ {
2
+ "content": {
3
+ "__html": {
4
+ "ui:widget": "html"
5
+ }
6
+ }
7
+ }
@@ -0,0 +1,6 @@
1
+ import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
2
+
3
+ /**
4
+ * @title Форматированный текст
5
+ */
6
+ export type RichTextBlockContent = RichTextProps;