@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
@@ -16,9 +16,9 @@ export const Checkbox = JSX<CheckboxProps>(({ className, text, checked, isRadio,
16
16
  <div className={className}>
17
17
  <label className="flex items-center relative cursor-pointer group">
18
18
  <input
19
- className={`peer appearance-none w-5 h-5 border-solid cursor-pointer group-hover:border-checkbox-hover
19
+ className={`peer appearance-none w-5 h-5 border-solid cursor-pointer group-hover:border-primary-hover
20
20
  ${isRadio ? 'rounded-full border-2' : 'rounded checked:bg-primary-main border'}
21
- ${checked ? 'border-black' : 'border-main-stroke'}
21
+ ${checked ? 'border-black' : 'border-gray'}
22
22
  checked:border-primary-main m-0`}
23
23
  type="checkbox"
24
24
  onChange={(e) => onChange && onChange(e.target.checked as boolean)}
@@ -1,6 +1,5 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { ImgInner } from './ImgInner';
3
+ import type { ImageProps } from './ImgProps';
3
4
 
4
- import type { Image, ImageProps } from './ImgProps';
5
-
6
- export const Img = JSX<ImageProps<Image>>((props) => <ImgInner {...props} isMobile={true} />);
5
+ export const Img = JSX<ImageProps>((props) => <ImgInner {...props} isMobile={true} />);
@@ -10,14 +10,13 @@ const sourcesComparator = (a: Picture, b: Picture) => {
10
10
  return 0;
11
11
  };
12
12
 
13
- export const ImgAsPicture = JSX<ImageProps<Picture>>(
14
- ({ className = '', image, imageClassName = '', isMobile = false, pathPrefix = '' }) => {
13
+ export const ImgAsPicture = JSX<ImageProps>(
14
+ ({ className = '', image, imageClassName = '', isMobile = false, pathPrefix }) => {
15
15
  if (!image || (!image?.sources && !image?.src)) {
16
16
  return null;
17
17
  }
18
18
 
19
19
  const pictureStyles = isMobile ? 'flex' : 'flex-none';
20
- const normalizedPathPrefix = normalizePathPrefix(pathPrefix);
21
20
 
22
21
  return (
23
22
  <picture className={`${pictureStyles} ${className}`}>
@@ -27,7 +26,7 @@ export const ImgAsPicture = JSX<ImageProps<Picture>>(
27
26
  .map(({ src, format, media }, index) => (
28
27
  <source
29
28
  key={`${index}_${src}`}
30
- srcSet={addPathPrefixToSrcSet(src, normalizedPathPrefix)}
29
+ srcSet={addPathPrefixToSrcSet(src, pathPrefix)}
31
30
  type={formatToMimeType(format)}
32
31
  media={media ? `(max-width: ${media}px)` : ''}
33
32
  {...image.size}
@@ -35,7 +34,7 @@ export const ImgAsPicture = JSX<ImageProps<Picture>>(
35
34
  ))
36
35
  : null}
37
36
  {renderImg(
38
- { ...image, src: `${normalizedPathPrefix}${image.src}` },
37
+ { ...image, src: addPathPrefixToSrc(image.src, pathPrefix) },
39
38
  imageClassName,
40
39
  isMobile,
41
40
  )}
@@ -69,10 +68,13 @@ const renderImg = (image: Picture, imageClassName = '', isMobile = false) => {
69
68
  const normalizePathPrefix = (pathPrefix = '') =>
70
69
  pathPrefix && !pathPrefix.endsWith('/') ? `${pathPrefix}/` : pathPrefix;
71
70
 
72
- const addPathPrefixToSrcSet = (srcset = '', pathPrefix = '') =>
71
+ const addPathPrefixToSrc = (src?: string, pathPrefix?: string) =>
72
+ !src || src?.startsWith('data:image') ? src : `${normalizePathPrefix(pathPrefix)}${src}`;
73
+
74
+ const addPathPrefixToSrcSet = (srcset?: string, pathPrefix?: string) =>
73
75
  srcset
74
- .split(',')
75
- .map((src) => `${pathPrefix}${src.trim()}`)
76
+ ?.split(',')
77
+ .map((src) => addPathPrefixToSrc(src.trim(), pathPrefix))
76
78
  .join(', ');
77
79
 
78
80
  export function formatToMimeType(format: ImgSource['format']): string | undefined {
@@ -1,35 +1,27 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import type { Picture } from '../../model/Picture';
3
2
  import { Icon } from '../Icon/Icon';
4
- import { getIconVersion } from './getIconVersion';
5
3
  import { ImgAsPicture } from './ImgAsPicture';
6
- import type { Image, ImageProps } from './ImgProps';
4
+ import type { ImageProps } from './ImgProps';
7
5
 
8
- export const ImgInner = JSX<ImageProps<Image>>(
6
+ export const ImgInner = JSX<ImageProps>(
9
7
  ({ className = '', image, imageClassName = '', isMobile, pathPrefix, ...iconProps }) => {
10
- if (!image) {
8
+ if (!image?.src && !image?.icon) {
11
9
  return null;
12
10
  }
13
11
 
14
- // backwards compatibility with existing icons in usage
15
- const icon = typeof image === 'string' ? image : image.icon;
16
- if (icon || icon === '') {
17
- return icon.length ? (
18
- <Icon
19
- className={className}
20
- imageClassName={imageClassName}
21
- iconVersion={getIconVersion(image)}
22
- name={icon}
23
- {...iconProps}
24
- />
25
- ) : null;
26
- }
27
-
28
- return (
12
+ return image.icon ? (
13
+ <Icon
14
+ className={className}
15
+ imageClassName={imageClassName}
16
+ iconVersion={image?.iconVersion || 'normal'}
17
+ name={image.icon}
18
+ {...iconProps}
19
+ />
20
+ ) : (
29
21
  <ImgAsPicture
30
22
  className={className}
31
23
  imageClassName={imageClassName}
32
- image={image as Picture}
24
+ image={image}
33
25
  isMobile={isMobile}
34
26
  pathPrefix={pathPrefix}
35
27
  />
@@ -1,12 +1,10 @@
1
1
  import type { Picture } from '../../model/Picture';
2
- import type { IconCompatibilityFields, IconName } from '../Icon/IconProps';
2
+ import type { IconCompatibilityFields } from '../Icon/IconProps';
3
3
 
4
- export type Image = Picture | IconName;
5
-
6
- export interface ImageContent<T = Picture> {
7
- image?: T;
4
+ export interface ImageContent {
5
+ image?: Picture;
8
6
  }
9
- export interface ImageProps<T> extends ImageContent<T>, IconCompatibilityFields {
7
+ export interface ImageProps extends ImageContent, IconCompatibilityFields {
10
8
  className?: string;
11
9
  imageClassName?: string;
12
10
  isMobile?: boolean;
@@ -25,12 +25,12 @@ export const InnerTableBody = JSX<InnerTableBodyProps>(({ activeTabIndex, items
25
25
  return (
26
26
  <div key={key} className="w-full">
27
27
  <div
28
- className="flex p-4 bg-main-stroke text-xl-light text-center justify-center cursor-pointer relative"
28
+ className="flex p-4 bg-gray text-xl-light text-center justify-center cursor-pointer relative"
29
29
  onClick={() => toggleTables(key)}
30
30
  >
31
31
  {_.title}
32
32
  <Img
33
- image={hiddenTables[key] ? 'PlusIcon' : 'MinusIcon'}
33
+ image={{ icon: hiddenTables[key] ? 'PlusIcon' : 'MinusIcon' }}
34
34
  className="absolute right-[22px]"
35
35
  width="24"
36
36
  height="24"
@@ -38,7 +38,7 @@ export const Input = JSX<InputProps>(
38
38
 
39
39
  const paddingStyle = children ? 'pr-8' : '';
40
40
  const validStyle = valid
41
- ? 'border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text'
41
+ ? 'border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text'
42
42
  : 'border-error';
43
43
 
44
44
  return (
@@ -4,7 +4,7 @@ import { clamp } from '../../utils/clamp';
4
4
  import { getSanitizedValue } from '../../utils/getSanitizedValue';
5
5
  import type { InputRangeProps } from './InputRangeProps';
6
6
 
7
- const DISABLED_INPUT_CLASSES = 'disabled:border-main-stroke disabled:bg-main-divider';
7
+ const DISABLED_INPUT_CLASSES = 'disabled:border-gray disabled:bg-main-divider';
8
8
 
9
9
  export const InputRange = JSX<InputRangeProps>(
10
10
  ({
@@ -35,8 +35,8 @@ export const InputRange = JSX<InputRangeProps>(
35
35
  <label className="block relative">
36
36
  {title ? <span className="text-m-light text-primary-text">{title}</span> : null}
37
37
  <input
38
- className={`m-0 mt-2 font-sans text-h3 w-full h-14 border border-solid border-main-stroke rounded-md
39
- outline-none p-0 pl-4 box-border text-primary-text hover:border-primary-hover focus:border-primary-focus ${DISABLED_INPUT_CLASSES}`}
38
+ className={`m-0 mt-2 font-sans text-h3 w-full h-14 border border-solid border-gray rounded-md
39
+ outline-none p-0 pl-4 box-border text-primary-text hover:border-primary-hover focus:border-primary-text ${DISABLED_INPUT_CLASSES}`}
40
40
  value={addSpacesBetweenNumbers(value)}
41
41
  disabled={disabled}
42
42
  onChange={handleChange}
@@ -103,7 +103,7 @@ const CloseButton = JSX<CloseButtonProps>(({ close }) => (
103
103
  close && close();
104
104
  }}
105
105
  >
106
- <Img image="CloseIcon" width="24" height="24" />
106
+ <Img image={{ icon: 'CloseIcon' }} width="24" height="24" />
107
107
  </button>
108
108
  ));
109
109
 
@@ -19,7 +19,7 @@ export const SearchBar = JSX<SearchBarInnerProps>(({ className, searchTerm, onSe
19
19
  <input
20
20
  id="search-bar-input"
21
21
  className={`h-12 pl-4 w-full peer text-l text-black border border-solid rounded-md box-border
22
- outline-none border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text`}
22
+ outline-none border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text`}
23
23
  value={searchTerm}
24
24
  onChange={(e) => onSearch(e.target.value as string)}
25
25
  type="text"
@@ -1,4 +1,4 @@
1
- import { BgColorVersion } from '../../model/BgColorVersion';
1
+ import type { BgColorVersion } from '../../model/BgColorVersion';
2
2
  import type { Picture } from '../../model/Picture';
3
3
  import { Img } from '../Img/Img';
4
4
 
@@ -23,6 +23,7 @@ export const renderImage = (
23
23
  className={SVG_COLOR[bgColor]}
24
24
  width={size?.width}
25
25
  height={size?.height}
26
+ pathPrefix="/wcms-resources/"
26
27
  asSVG
27
28
  />
28
29
  ) : (
@@ -5,7 +5,7 @@ export const Radio = JSX<RadioProps>(({ name, text, value, checked, onChange, cl
5
5
  <div className={className}>
6
6
  <label className="font-sans flex items-center relative cursor-pointer">
7
7
  <input
8
- className="appearance-none flex justify-center items-center shrink-0 w-5 h-5 border border-gray hover:border-checkbox-hover
8
+ className="appearance-none flex justify-center items-center shrink-0 w-5 h-5 border border-gray hover:border-primary-hover
9
9
  checked:border-2 checked:!border-primary-main focus:checked:border-primary-main focus:border-primary-text active:border-primary-text
10
10
  after:block after:w-2.5 after:h-2.5 after:rounded-full checked:after:bg-primary-main outline-none rounded-full cursor-pointer"
11
11
  type="radio"
@@ -0,0 +1,8 @@
1
+ import { JSX } from '@redneckz/uni-jsx';
2
+ import type { RichTextProps } from './RichTextProps';
3
+
4
+ export const RichText = JSX<RichTextProps>((props) => {
5
+ const { __html = '' } = props;
6
+
7
+ return <div className="md-container" dangerouslySetInnerHTML={{ __html }} />;
8
+ });
@@ -0,0 +1,6 @@
1
+ type HTML = string;
2
+
3
+ export interface RichTextProps {
4
+ /** @title Текст */
5
+ __html?: HTML;
6
+ }
@@ -20,7 +20,7 @@ export const SearchBarInner = JSX<SearchBarInnerProps>(({ className, isMobile =
20
20
  <form className={`font-sans relative ${className}`}>
21
21
  <div className="absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none">
22
22
  <div className={LoupeIconClassName}>
23
- <Img image="LoupeIcon" width="24" height="24" />
23
+ <Img image={{ icon: 'LoupeIcon' }} width="24" height="24" />
24
24
  </div>
25
25
  {term ? null : (
26
26
  <label
@@ -34,7 +34,7 @@ export const SearchBarInner = JSX<SearchBarInnerProps>(({ className, isMobile =
34
34
  <input
35
35
  id="search-bar-input"
36
36
  className={`h-12 pl-12 w-full peer text-l text-black border border-solid rounded-md box-border
37
- outline-none pr-[6%] border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text ${SearchBarInputClassName}`}
37
+ outline-none pr-[6%] border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text ${SearchBarInputClassName}`}
38
38
  value={term}
39
39
  onChange={(e) => setTerm(e.target.value as string)}
40
40
  type="text"
@@ -49,7 +49,7 @@ export const SearchBarInner = JSX<SearchBarInnerProps>(({ className, isMobile =
49
49
  setTerm('');
50
50
  }}
51
51
  >
52
- <Img image="CloseIcon" width="24" height="24" />
52
+ <Img image={{ icon: 'CloseIcon' }} width="24" height="24" />
53
53
  </button>
54
54
  ) : (
55
55
  <Button
@@ -102,4 +102,4 @@ const renderOption =
102
102
  };
103
103
 
104
104
  const getBorderStyle = (isBorder: boolean) =>
105
- isBorder ? 'border border-main-stroke rounded-md hover:border-primary-hover' : '';
105
+ isBorder ? 'border border-gray rounded-md hover:border-primary-hover' : '';
@@ -17,7 +17,7 @@ export const Tags = JSX<TagsProps>((props) => {
17
17
  const renderTag = (tag: string, key: number) => (
18
18
  <span
19
19
  key={String(key)}
20
- className="text-m-light py-2 px-2.5 border-solid border rounded-md border-color-stroke"
20
+ className="text-m-light py-2 px-2.5 border-solid border rounded-md border-gray"
21
21
  >
22
22
  {tag}
23
23
  </span>
@@ -3,14 +3,14 @@
3
3
  import { JSX } from '@redneckz/uni-jsx';
4
4
  import { useEffect, useRef, useState } from '@redneckz/uni-jsx/lib/hooks';
5
5
  import ymaps from 'yandex-maps';
6
+ import { Icon } from '../Icon/Icon';
7
+ import { MockPoints, mockPoints } from './mockPoints';
6
8
  import { renderClusterer } from './renderClusterer';
7
9
  import { renderOpenMap } from './renderOpenMap';
8
10
  import { renderSearchField } from './renderSearchField';
9
11
  import { renderUserGeolocation } from './renderUserGeolocation';
10
12
  import { useYandexMaps } from './useYandexMaps';
11
- import { Icon } from '../Icon/Icon';
12
13
  import { ZoomButton } from './ZoomButton';
13
- import { MockPoints, mockPoints } from './mockPoints';
14
14
 
15
15
  interface YandexMapProps {
16
16
  points: number[][];
@@ -23,7 +23,7 @@ const FULLSCREEN_STYLES = {
23
23
  border: 'border border-transparent rounded-md ',
24
24
  position: 'absolute flex items-center justify-center',
25
25
  size: 'w-12 h-12',
26
- focus: 'focus:border-primary-focus focus:border',
26
+ focus: 'focus:border-primary-text focus:border',
27
27
  font: 'text-center font-sans',
28
28
  active: 'active:bg-primary-active',
29
29
  hover: 'hover:bg-primary-hover',
@@ -10,7 +10,7 @@ interface ZoomButtonProps {
10
10
  }
11
11
 
12
12
  const styles = {
13
- focus: 'focus:border-primary-focus focus:border',
13
+ focus: 'focus:border-primary-text focus:border',
14
14
  hover: 'hover:bg-primary-hover',
15
15
  active: 'active:bg-primary-active',
16
16
  border: 'border-b border-b-2 border-gray last:border-0',
@@ -1,5 +1,5 @@
1
1
  const styles = {
2
- focus: 'focus:border-primary-focus focus:border',
2
+ focus: 'focus:border-primary-text focus:border',
3
3
  hover: 'hover:bg-primary-hover',
4
4
  active: 'active:bg-primary-active',
5
5
  border: 'border border-transparent rounded-md',
@@ -14,7 +14,7 @@ export const renderOpenMap = (pointsCenter: number[]) => {
14
14
 
15
15
  return (
16
16
  <a
17
- className={`select-none cursor-pointer px-9 h-12 bg-white bg-primary-main text-white ${Object.values(
17
+ className={`select-none cursor-pointer px-9 h-12 bg-primary-main text-white ${Object.values(
18
18
  styles,
19
19
  ).join(' ')}`}
20
20
  href={getYandexMapUrl()}
@@ -1,9 +1,9 @@
1
1
  /* eslint-disable @typescript-eslint/no-unsafe-argument */
2
- import { Icon } from '../Icon/Icon';
3
2
  import ymaps from 'yandex-maps';
3
+ import { Icon } from '../Icon/Icon';
4
4
 
5
5
  const styles = {
6
- focus: 'focus:border-primary-focus focus:border',
6
+ focus: 'focus:border-primary-text focus:border',
7
7
  hover: 'hover:bg-primary-hover',
8
8
  active: 'active:bg-primary-active',
9
9
  border: 'border border-transparent rounded-md',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redneckz/wildless-cms-uni-blocks",
3
- "version": "0.6.46",
3
+ "version": "0.6.48",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "author": "ЦК",
@@ -121,6 +121,9 @@
121
121
  "dependencies": {
122
122
  "@redneckz/uni-jsx": "^2.1.7",
123
123
  "glob": "^8.0.3",
124
+ "rehype-parse": "^8.0.4",
125
+ "rehype-sanitize": "^5.0.1",
126
+ "rehype-stringify": "^9.0.3",
124
127
  "remark-html": "^15.0.1",
125
128
  "remark-parse": "^10.0.1",
126
129
  "sharp": "^0.30.6",
package/src/common.css CHANGED
@@ -11,6 +11,7 @@ html {
11
11
  --color-green-dark: 66, 171, 68;
12
12
  --color-green-more-dark: 39, 148, 41;
13
13
  --color-yellow: 221, 182, 61;
14
+ --color-gray: 201, 202, 204;
14
15
  }
15
16
 
16
17
  /* Private clients | Green */
@@ -121,21 +122,21 @@ html {
121
122
  }
122
123
 
123
124
  input[type='range'].slider:disabled {
124
- background-image: linear-gradient(rgb(201, 202, 204), rgb(201, 202, 204));
125
+ background-image: linear-gradient(rgb(var(--color-gray)), rgb(var(--color-gray)));
125
126
  pointer-events: none;
126
127
  cursor: default;
127
128
  }
128
129
 
129
130
  input[type='range'].slider:disabled::-webkit-slider-thumb {
130
- background: rgb(201, 202, 204);
131
+ background: rgb(var(--color-gray));
131
132
  }
132
133
 
133
134
  input[type='range'].slider:disabled::-moz-range-thumb {
134
- background: rgb(201, 202, 204);
135
+ background: rgb(var(--color-gray));
135
136
  }
136
137
 
137
138
  input[type='range'].slider:disabled::-ms-thumb {
138
- background: rgb(201, 202, 204);
139
+ background: rgb(var(--color-gray));
139
140
  }
140
141
 
141
142
  /* Hide arrows */
@@ -152,30 +153,47 @@ html {
152
153
  }
153
154
 
154
155
  @layer components {
155
- .md-container .h1 {
156
+ [data-theme='eo'] .md-container ul {
157
+ @apply list-none;
158
+ }
159
+
160
+ [data-theme='eo'] .md-container ul > li::before {
161
+ @apply text-primary-main mr-3 font-bold;
162
+ content: '🗸';
163
+ }
164
+
165
+ .md-container {
166
+ @apply text-l font-sans;
167
+ }
168
+
169
+ .md-container p.h1 {
156
170
  @apply text-h1;
157
171
  }
158
172
 
159
- .md-container .h2 {
173
+ .md-container p.h2 {
160
174
  @apply text-h2;
161
175
  }
162
176
 
163
- .md-container .h3 {
177
+ .md-container p.h3 {
164
178
  @apply text-h3;
165
179
  }
166
180
 
167
- .md-container .h4 {
181
+ .md-container p.h4 {
168
182
  @apply text-h4;
169
183
  }
170
184
 
171
- .md-container .h5 {
185
+ .md-container p.h5 {
172
186
  @apply text-h5;
173
187
  }
174
188
 
175
- .md-container .h6 {
189
+ .md-container p.h6 {
176
190
  @apply text-h6;
177
191
  }
178
192
 
193
+ .md-container p {
194
+ @apply text-l font-light;
195
+ }
196
+
179
197
  .md-container ul {
180
198
  @apply list-inside list-disc;
181
199
  }
@@ -184,10 +202,6 @@ html {
184
202
  @apply list-inside list-decimal;
185
203
  }
186
204
 
187
- .md-container p {
188
- @apply text-l font-light;
189
- }
190
-
191
205
  .md-container li {
192
206
  @apply text-l font-light;
193
207
  }
@@ -199,6 +213,10 @@ html {
199
213
  .md-container a {
200
214
  @apply text-primary-main;
201
215
  }
216
+
217
+ .md-container strong {
218
+ @apply font-bold;
219
+ }
202
220
  }
203
221
 
204
222
  /*
@@ -47,6 +47,12 @@ const FoldButton = JSX<FoldButtonProps>(({ label, icon, onClick }) => (
47
47
  <Text size="text-xl" font="font-medium">
48
48
  {label}
49
49
  </Text>
50
- <Img image={icon} className="text-primary-main flex-shrink-0" width="24" height="24" asSVG />
50
+ <Img
51
+ image={{ icon }}
52
+ className="text-primary-main flex-shrink-0"
53
+ width="24"
54
+ height="24"
55
+ asSVG
56
+ />
51
57
  </button>
52
58
  ));
@@ -46,6 +46,7 @@ import { ProductGallery } from './ProductGallery/ProductGallery';
46
46
  import { ProductTile } from './ProductTile/ProductTile';
47
47
  import { PromoTile } from './PromoTile/PromoTile';
48
48
  import { Recommendation } from './Recommendation/Recommendation';
49
+ import { RichTextBlock } from './RichTextBlock/RichTextBlock';
49
50
  import { RollupItem } from './RollupItem/RollupItem';
50
51
  import { SafeDepositRental } from './SafeDepositRental/SafeDepositRental';
51
52
  import { StepsBlock } from './StepsBlock/StepsBlock';
@@ -60,12 +61,12 @@ export const Blocks: BlocksRegistry = {
60
61
  Accordion,
61
62
  AccordionItem,
62
63
  BenefitsBlock,
63
- BusinessBlock,
64
- ButtonBlock,
65
64
  Bonus,
66
65
  BonusBenefitsBlock,
67
- CardTransfer,
66
+ BusinessBlock,
67
+ ButtonBlock,
68
68
  Calculator,
69
+ CardTransfer,
69
70
  Carousel,
70
71
  CarouselCard,
71
72
  CarouselCatalogCard,
@@ -76,8 +77,8 @@ export const Blocks: BlocksRegistry = {
76
77
  CarouselRecommendationCard,
77
78
  CarouselTariffsCard,
78
79
  Catalog,
79
- ContactsBlock,
80
80
  ComparisonTable,
81
+ ContactsBlock,
81
82
  ErrorBlock,
82
83
  ExchangeRateTile,
83
84
  Footer,
@@ -93,6 +94,9 @@ export const Blocks: BlocksRegistry = {
93
94
  MiniGallery,
94
95
  MobileAppTile,
95
96
  OfficeMap,
97
+ OfficeServicesBlock,
98
+ OtherProducts,
99
+ OtherProductsItem,
96
100
  ParagraphBlock,
97
101
  PictureText,
98
102
  Placeholder,
@@ -100,9 +104,8 @@ export const Blocks: BlocksRegistry = {
100
104
  ProductGallery,
101
105
  ProductTile,
102
106
  PromoTile,
103
- OfficeServicesBlock,
104
- OtherProducts,
105
- OtherProductsItem,
107
+ Recommendation,
108
+ RichTextBlock,
106
109
  RollupItem,
107
110
  SafeDepositRental,
108
111
  StepsBlock,
@@ -112,5 +115,4 @@ export const Blocks: BlocksRegistry = {
112
115
  Tile,
113
116
  VerticalLayout,
114
117
  Video,
115
- Recommendation,
116
118
  };
@@ -26,9 +26,8 @@
26
26
  ],
27
27
  "button": {
28
28
  "href": "#",
29
- "text": "Подробнее",
30
- "target": "_blank",
31
- "version": "secondary"
29
+ "text": "Кнопка",
30
+ "version": "primary"
32
31
  }
33
32
  },
34
33
  {
@@ -56,9 +55,8 @@
56
55
  ],
57
56
  "button": {
58
57
  "href": "#",
59
- "text": "Подробнее",
60
- "target": "_blank",
61
- "version": "secondary"
58
+ "text": "Кнопка",
59
+ "version": "primary"
62
60
  }
63
61
  }
64
62
  ]
@@ -1,6 +1,7 @@
1
1
  import type { IconProps, Picture } from '../../model/Picture';
2
2
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
3
3
 
4
+ /** @default {"icon": {"format": "webp", "size": { "width": 24, "height": 24 }}} */
4
5
  export type BusinessCardItemProps = IconProps & {
5
6
  /** @title Текст */
6
7
  text?: string;
@@ -12,7 +13,11 @@ export interface BusinessCardProps {
12
13
  image?: Picture;
13
14
  /** @title Список */
14
15
  cardItems?: BusinessCardItemProps[];
15
- /** @title Кнопка */
16
+ /**
17
+ * @title Кнопка
18
+ * @default {"icon": {"format": "webp", "size": { "width": 24, "height": 24 }},
19
+ * "iconRight": {"format": "webp", "size": { "width": 24, "height": 24 }}, "text": "Кнопка"}
20
+ */
16
21
  button?: ButtonWithIconProps;
17
22
  }
18
23
 
@@ -8,7 +8,7 @@ export const BusinessCard = JSX<BusinessCardProps>((props) => {
8
8
  const { title, image, cardItems, button } = props;
9
9
 
10
10
  return (
11
- <div className="border-color-stroke border p-9 w-1/2">
11
+ <div className="border-gray border p-9 w-1/2">
12
12
  {image ? (
13
13
  <div className="flex justify-center">
14
14
  {image?.src ? <Img className="mb-5" image={image} /> : null}
@@ -28,13 +28,9 @@ const renderItem = (item: BusinessCardItemProps, key: string) => {
28
28
  return (
29
29
  <li key={key} className="flex items-center gap-3.5 mb-3 last:mb-0">
30
30
  {icon?.icon ? (
31
- <Img
32
- className={`w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider`}
33
- image={icon.icon}
34
- asSVG
35
- />
31
+ <Img image={icon} className="w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider" asSVG />
36
32
  ) : null}
37
- {icon?.src ? <Img image={icon.icon} /> : null}
33
+ {icon?.src ? <Img image={icon} /> : null}
38
34
  <span className="text-xl-light">{text}</span>
39
35
  </li>
40
36
  );
@@ -84,7 +84,7 @@ function renderNavButton({ tab, i, isActive, onClick }: NavButtonProps) {
84
84
  key={String(i)}
85
85
  onClick={onClick}
86
86
  aria-label={tab?.title}
87
- className={`box-border relative border border-main-stroke cursor-pointer text-left border-b-0 flex hover:h-[88px]
87
+ className={`box-border relative border border-gray cursor-pointer text-left border-b-0 flex hover:h-[88px]
88
88
  ${btnClassName}`}
89
89
  >
90
90
  <Img