@redneckz/wildless-cms-uni-blocks 0.5.8 → 0.5.10

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 (1103) hide show
  1. package/bin/migration-scripts/0.4.5.js +1 -1
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +77 -43
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/cosmos-static/icons/CardTickIcon.svg +1 -1
  6. package/cosmos-static/icons/DocDownloadIcon.svg +1 -1
  7. package/cosmos-static/icons/DoneSimpleIcon.svg +1 -1
  8. package/dist/api/DaDataAPI.d.ts +12 -0
  9. package/dist/api/DaDataAPI.js.map +1 -1
  10. package/dist/components/Accordion/Accordion.d.ts +1 -1
  11. package/dist/components/Accordion/Accordion.mobile.d.ts +1 -1
  12. package/dist/components/Accordion/AccordionItem.d.ts +1 -1
  13. package/dist/components/Accordion/AccordionItem.mobile.d.ts +1 -1
  14. package/dist/components/BaseTile/BaseTile.d.ts +1 -1
  15. package/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  16. package/dist/components/Bonus/Bonus.d.ts +1 -1
  17. package/dist/components/Bonus/Bonus.js.map +1 -1
  18. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  19. package/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  20. package/dist/components/Calculator/BonusCalculatorForm.js +1 -1
  21. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  22. package/dist/components/Calculator/Calculator.d.ts +1 -1
  23. package/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  24. package/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  25. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  26. package/dist/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  27. package/dist/components/Calculator/DepositCalculatorForm.js +2 -2
  28. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  29. package/dist/components/Calculator/renderCalculatorBlock.js +1 -1
  30. package/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  31. package/dist/components/CardTransfer/CardTransfer.d.ts +1 -1
  32. package/dist/components/CardTransfer/CardTransfer.js +2 -2
  33. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  34. package/dist/components/Catalog/Catalog.d.ts +1 -1
  35. package/dist/components/Catalog/CatalogCard.d.ts +1 -1
  36. package/dist/components/Catalog/CatalogCard.js +1 -1
  37. package/dist/components/Catalog/CatalogCard.js.map +1 -1
  38. package/dist/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  39. package/dist/components/ComparisonTable/ComparisonTable.mobile.d.ts +1 -1
  40. package/dist/components/ComparisonTable/TableColumn.d.ts +2 -2
  41. package/dist/components/ContentPage/ContentPage.d.ts +5 -24
  42. package/dist/components/ContentPage/ContentPage.js +17 -19
  43. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  44. package/dist/components/ContentPage/ContentPageHead.d.ts +1 -1
  45. package/dist/components/ContentPage/computeAPIFallback.d.ts +2 -2
  46. package/dist/components/ContentPage/filterBlocks.d.ts +5 -4
  47. package/dist/components/ContentPage/filterBlocks.mobile.d.ts +5 -4
  48. package/dist/components/ContentPage/isBlockInRegistry.d.ts +1 -1
  49. package/dist/components/ContentPage/normalizeBlock.d.ts +4 -3
  50. package/dist/components/ContentPage/normalizeBlock.mobile.d.ts +1 -1
  51. package/dist/components/ContentPage/normalizePage.d.ts +2 -2
  52. package/dist/components/ContentPage/renderBlock.d.ts +13 -0
  53. package/dist/components/ContentPage/renderBlock.js +28 -0
  54. package/dist/components/ContentPage/renderBlock.js.map +1 -0
  55. package/dist/components/ErrorBlock/ErrorBlock.d.ts +1 -1
  56. package/dist/components/ErrorBlock/ErrorBlock.js +1 -1
  57. package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  58. package/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
  59. package/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  60. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  61. package/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  62. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +2 -1
  63. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  64. package/dist/components/Footer/Contacts.d.ts +1 -1
  65. package/dist/components/Footer/Footer.d.ts +1 -1
  66. package/dist/components/Footer/Footer.mobile.d.ts +1 -1
  67. package/dist/components/Footer/FooterLink.d.ts +1 -1
  68. package/dist/components/Footer/HorizontalNavigation.d.ts +2 -2
  69. package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  70. package/dist/components/Footer/HorizontalNavigation.mobile.d.ts +2 -2
  71. package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  72. package/dist/components/Footer/MediaButton.js +1 -1
  73. package/dist/components/Footer/MediaButton.js.map +1 -1
  74. package/dist/components/Footer/Sitemap.d.ts +2 -2
  75. package/dist/components/Footer/Sitemap.js.map +1 -1
  76. package/dist/components/Footer/SocialMedia.d.ts +1 -1
  77. package/dist/components/Footer/SocialMedia.mobile.d.ts +1 -1
  78. package/dist/components/Gallery/GalleryInner.d.ts +1 -1
  79. package/dist/components/Gallery/GalleryProps.d.ts +1 -1
  80. package/dist/components/GracePeriod/GracePeriod.d.ts +1 -1
  81. package/dist/components/Header/DropdownMenu.d.ts +1 -1
  82. package/dist/components/Header/Header.d.ts +1 -1
  83. package/dist/components/Header/Header.fallback.d.ts +1 -1
  84. package/dist/components/Header/Header.js.map +1 -1
  85. package/dist/components/Header/Header.mobile.d.ts +1 -1
  86. package/dist/components/Header/Header.mobile.js.map +1 -1
  87. package/dist/components/Headline/Headline.d.ts +1 -1
  88. package/dist/components/Headline/Headline.js +1 -1
  89. package/dist/components/Headline/Headline.js.map +1 -1
  90. package/dist/components/Headline/Headline.mobile.d.ts +1 -1
  91. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  92. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  93. package/dist/components/LikeControl/LikeControl.d.ts +1 -1
  94. package/dist/components/LinkDocs/LinkDocs.d.ts +1 -1
  95. package/dist/components/LinkDocs/LinkDocs.mobile.d.ts +1 -1
  96. package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -1
  97. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  98. package/dist/components/LinkList/LinkList.d.ts +1 -1
  99. package/dist/components/LinkList/LinkList.js.map +1 -1
  100. package/dist/components/MiniGallery/MiniGallery.d.ts +1 -1
  101. package/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  102. package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  103. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  104. package/dist/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
  105. package/dist/components/MobileAppTile/MobileAppTile.mobile.js +1 -1
  106. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
  107. package/dist/components/OtherProducts/OtherProducts.d.ts +1 -1
  108. package/dist/components/OtherProducts/OtherProductsContent.d.ts +2 -2
  109. package/dist/components/OtherProducts/OtherProductsItem.d.ts +1 -1
  110. package/dist/components/PictureText/PictureText.d.ts +1 -1
  111. package/dist/components/Placeholder/Placeholder.d.ts +1 -1
  112. package/dist/components/Placeholder/Placeholder.js +1 -1
  113. package/dist/components/Placeholder/Placeholder.js.map +1 -1
  114. package/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
  115. package/dist/components/ProductBlock/ProductBlock.js +1 -1
  116. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  117. package/dist/components/ProductBlock/ProductBlock.mobile.d.ts +1 -1
  118. package/dist/components/ProductBlock/ProductBlock.mobile.js +1 -1
  119. package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  120. package/dist/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  121. package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  122. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  123. package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +1 -1
  124. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
  125. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  126. package/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
  127. package/dist/components/ProductGallery/ProductGallery.js +10 -10
  128. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  129. package/dist/components/ProductGallery/ProductGallery.mobile.d.ts +1 -1
  130. package/dist/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
  131. package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  132. package/dist/components/ProductGallery/ProductGalleryBlock.js +1 -1
  133. package/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  134. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +0 -1
  135. package/dist/components/ProductTile/ProductTile.d.ts +1 -1
  136. package/dist/components/ProductTile/ProductTile.js +1 -1
  137. package/dist/components/PromoTile/PromoTile.d.ts +1 -1
  138. package/dist/components/PromoTile/PromoTile.js +1 -1
  139. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  140. package/dist/components/Recommendation/Recommendation.d.ts +1 -1
  141. package/dist/components/Recommendation/RecommendationCard.d.ts +1 -1
  142. package/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  143. package/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
  144. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  145. package/dist/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
  146. package/dist/components/StepsBlock/StepsBlock.mobile.js +5 -1
  147. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  148. package/dist/components/Tabs/Tabs.d.ts +1 -1
  149. package/dist/components/Tabs/renderTab.d.ts +1 -1
  150. package/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
  151. package/dist/components/TariffsTable/TariffsTable.mobile.d.ts +1 -1
  152. package/dist/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  153. package/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +1 -1
  154. package/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  155. package/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
  156. package/dist/components/TariffsTable/TariffsTableVertical.d.ts +1 -1
  157. package/dist/components/TextBlock/TextBlock.d.ts +1 -1
  158. package/dist/components/TextBlock/TextBlock.mobile.d.ts +1 -1
  159. package/dist/components/Tile/Tile.d.ts +1 -1
  160. package/dist/content-page-repository/ContentPageRepository.d.ts +1 -1
  161. package/dist/content-page-repository/transformContentPage.d.ts +1 -1
  162. package/dist/icons/IconName.d.ts +94 -2
  163. package/dist/icons/IconName.js +6 -3
  164. package/dist/icons/IconName.js.map +1 -1
  165. package/dist/model/BlockDecorator.d.ts +14 -0
  166. package/dist/model/BlockDecorator.js +4 -0
  167. package/dist/model/BlockDecorator.js.map +1 -0
  168. package/dist/model/BlocksRegistry.d.ts +5 -0
  169. package/dist/{types.js → model/BlocksRegistry.js} +1 -1
  170. package/dist/model/BlocksRegistry.js.map +1 -0
  171. package/{mobile/dist/types.d.ts → dist/model/ContentPageDef.d.ts} +5 -20
  172. package/dist/{components/BlockContent.js → model/ContentPageDef.js} +1 -1
  173. package/dist/model/ContentPageDef.js.map +1 -0
  174. package/dist/{types → model}/Fallback.d.ts +0 -0
  175. package/dist/{types → model}/Fallback.js +0 -0
  176. package/dist/{types → model}/Fallback.js.map +1 -1
  177. package/dist/services/sitemap/useSitemap.d.ts +1 -1
  178. package/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -0
  179. package/dist/ui-kit/BlockWrapper.d.ts +1 -1
  180. package/dist/ui-kit/Button/Button.mobile.js +4 -1
  181. package/dist/ui-kit/Button/Button.mobile.js.map +1 -1
  182. package/dist/ui-kit/Button/ButtonSection.d.ts +1 -1
  183. package/dist/ui-kit/Button/buttonClassNameConstants.js +1 -1
  184. package/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  185. package/dist/ui-kit/Foldable/Foldable.d.ts +1 -1
  186. package/dist/ui-kit/Icon/Icon.js +11 -3
  187. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  188. package/dist/ui-kit/InnerTable/InnerTable.d.ts +1 -1
  189. package/dist/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
  190. package/dist/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
  191. package/dist/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
  192. package/dist/ui-kit/Logo/Logo.d.ts +1 -1
  193. package/dist/ui-kit/Logo/Logo.js +2 -2
  194. package/dist/ui-kit/Logo/Logo.js.map +1 -1
  195. package/dist/ui-kit/Logo/Logo.mobile.d.ts +1 -1
  196. package/dist/ui-kit/Logo/Logo.mobile.js +2 -2
  197. package/dist/ui-kit/Logo/Logo.mobile.js.map +1 -1
  198. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
  199. package/dist/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  200. package/dist/ui-kit/SearchBar/SearchBar.mobile.d.ts +1 -1
  201. package/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
  202. package/lib/api/DaDataAPI.d.ts +12 -0
  203. package/lib/api/DaDataAPI.js.map +1 -1
  204. package/lib/common.css +1 -1
  205. package/lib/components/Accordion/Accordion.d.ts +1 -1
  206. package/lib/components/Accordion/Accordion.mobile.d.ts +1 -1
  207. package/lib/components/Accordion/AccordionItem.d.ts +1 -1
  208. package/lib/components/Accordion/AccordionItem.mobile.d.ts +1 -1
  209. package/lib/components/BaseTile/BaseTile.d.ts +1 -1
  210. package/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  211. package/lib/components/Bonus/Bonus.d.ts +1 -1
  212. package/lib/components/Bonus/Bonus.js.map +1 -1
  213. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  214. package/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  215. package/lib/components/Calculator/BonusCalculatorForm.js +1 -1
  216. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  217. package/lib/components/Calculator/Calculator.d.ts +1 -1
  218. package/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  219. package/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  220. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  221. package/lib/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  222. package/lib/components/Calculator/DepositCalculatorForm.js +2 -2
  223. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  224. package/lib/components/Calculator/renderCalculatorBlock.js +1 -1
  225. package/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  226. package/lib/components/CardTransfer/CardTransfer.d.ts +1 -1
  227. package/lib/components/CardTransfer/CardTransfer.js +2 -2
  228. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  229. package/lib/components/Catalog/Catalog.d.ts +1 -1
  230. package/lib/components/Catalog/CatalogCard.d.ts +1 -1
  231. package/lib/components/Catalog/CatalogCard.js +1 -1
  232. package/lib/components/Catalog/CatalogCard.js.map +1 -1
  233. package/lib/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  234. package/lib/components/ComparisonTable/ComparisonTable.mobile.d.ts +1 -1
  235. package/lib/components/ComparisonTable/TableColumn.d.ts +2 -2
  236. package/lib/components/ContentPage/ContentPage.d.ts +5 -24
  237. package/lib/components/ContentPage/ContentPage.js +17 -19
  238. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  239. package/lib/components/ContentPage/ContentPageHead.d.ts +1 -1
  240. package/lib/components/ContentPage/computeAPIFallback.d.ts +2 -2
  241. package/lib/components/ContentPage/filterBlocks.d.ts +5 -4
  242. package/lib/components/ContentPage/filterBlocks.mobile.d.ts +5 -4
  243. package/lib/components/ContentPage/isBlockInRegistry.d.ts +1 -1
  244. package/lib/components/ContentPage/normalizeBlock.d.ts +4 -3
  245. package/lib/components/ContentPage/normalizeBlock.mobile.d.ts +1 -1
  246. package/lib/components/ContentPage/normalizePage.d.ts +2 -2
  247. package/lib/components/ContentPage/renderBlock.d.ts +13 -0
  248. package/lib/components/ContentPage/renderBlock.js +25 -0
  249. package/lib/components/ContentPage/renderBlock.js.map +1 -0
  250. package/lib/components/ErrorBlock/ErrorBlock.d.ts +1 -1
  251. package/lib/components/ErrorBlock/ErrorBlock.js +1 -1
  252. package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  253. package/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
  254. package/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  255. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  256. package/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  257. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +2 -1
  258. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  259. package/lib/components/Footer/Contacts.d.ts +1 -1
  260. package/lib/components/Footer/Footer.d.ts +1 -1
  261. package/lib/components/Footer/Footer.mobile.d.ts +1 -1
  262. package/lib/components/Footer/FooterLink.d.ts +1 -1
  263. package/lib/components/Footer/HorizontalNavigation.d.ts +2 -2
  264. package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  265. package/lib/components/Footer/HorizontalNavigation.mobile.d.ts +2 -2
  266. package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  267. package/lib/components/Footer/MediaButton.js +1 -1
  268. package/lib/components/Footer/MediaButton.js.map +1 -1
  269. package/lib/components/Footer/Sitemap.d.ts +2 -2
  270. package/lib/components/Footer/Sitemap.js.map +1 -1
  271. package/lib/components/Footer/SocialMedia.d.ts +1 -1
  272. package/lib/components/Footer/SocialMedia.mobile.d.ts +1 -1
  273. package/lib/components/Gallery/GalleryInner.d.ts +1 -1
  274. package/lib/components/Gallery/GalleryProps.d.ts +1 -1
  275. package/lib/components/GracePeriod/GracePeriod.d.ts +1 -1
  276. package/lib/components/Header/DropdownMenu.d.ts +1 -1
  277. package/lib/components/Header/Header.d.ts +1 -1
  278. package/lib/components/Header/Header.fallback.d.ts +1 -1
  279. package/lib/components/Header/Header.js.map +1 -1
  280. package/lib/components/Header/Header.mobile.d.ts +1 -1
  281. package/lib/components/Header/Header.mobile.js.map +1 -1
  282. package/lib/components/Headline/Headline.d.ts +1 -1
  283. package/lib/components/Headline/Headline.js +1 -1
  284. package/lib/components/Headline/Headline.js.map +1 -1
  285. package/lib/components/Headline/Headline.mobile.d.ts +1 -1
  286. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  287. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  288. package/lib/components/LikeControl/LikeControl.d.ts +1 -1
  289. package/lib/components/LinkDocs/LinkDocs.d.ts +1 -1
  290. package/lib/components/LinkDocs/LinkDocs.mobile.d.ts +1 -1
  291. package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -1
  292. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  293. package/lib/components/LinkList/LinkList.d.ts +1 -1
  294. package/lib/components/LinkList/LinkList.js.map +1 -1
  295. package/lib/components/MiniGallery/MiniGallery.d.ts +1 -1
  296. package/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  297. package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  298. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  299. package/lib/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
  300. package/lib/components/MobileAppTile/MobileAppTile.mobile.js +1 -1
  301. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
  302. package/lib/components/OtherProducts/OtherProducts.d.ts +1 -1
  303. package/lib/components/OtherProducts/OtherProductsContent.d.ts +2 -2
  304. package/lib/components/OtherProducts/OtherProductsItem.d.ts +1 -1
  305. package/lib/components/PictureText/PictureText.d.ts +1 -1
  306. package/lib/components/Placeholder/Placeholder.d.ts +1 -1
  307. package/lib/components/Placeholder/Placeholder.js +1 -1
  308. package/lib/components/Placeholder/Placeholder.js.map +1 -1
  309. package/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
  310. package/lib/components/ProductBlock/ProductBlock.js +1 -1
  311. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  312. package/lib/components/ProductBlock/ProductBlock.mobile.d.ts +1 -1
  313. package/lib/components/ProductBlock/ProductBlock.mobile.js +1 -1
  314. package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  315. package/lib/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  316. package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  317. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  318. package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +1 -1
  319. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
  320. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  321. package/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
  322. package/lib/components/ProductGallery/ProductGallery.js +10 -10
  323. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  324. package/lib/components/ProductGallery/ProductGallery.mobile.d.ts +1 -1
  325. package/lib/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
  326. package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  327. package/lib/components/ProductGallery/ProductGalleryBlock.js +1 -1
  328. package/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  329. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +0 -1
  330. package/lib/components/ProductTile/ProductTile.d.ts +1 -1
  331. package/lib/components/ProductTile/ProductTile.js +1 -1
  332. package/lib/components/PromoTile/PromoTile.d.ts +1 -1
  333. package/lib/components/PromoTile/PromoTile.js +1 -1
  334. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  335. package/lib/components/Recommendation/Recommendation.d.ts +1 -1
  336. package/lib/components/Recommendation/RecommendationCard.d.ts +1 -1
  337. package/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  338. package/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
  339. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  340. package/lib/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
  341. package/lib/components/StepsBlock/StepsBlock.mobile.js +5 -1
  342. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  343. package/lib/components/Tabs/Tabs.d.ts +1 -1
  344. package/lib/components/Tabs/renderTab.d.ts +1 -1
  345. package/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
  346. package/lib/components/TariffsTable/TariffsTable.mobile.d.ts +1 -1
  347. package/lib/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  348. package/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +1 -1
  349. package/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  350. package/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
  351. package/lib/components/TariffsTable/TariffsTableVertical.d.ts +1 -1
  352. package/lib/components/TextBlock/TextBlock.d.ts +1 -1
  353. package/lib/components/TextBlock/TextBlock.mobile.d.ts +1 -1
  354. package/lib/components/Tile/Tile.d.ts +1 -1
  355. package/lib/content-page-repository/ContentPageRepository.d.ts +1 -1
  356. package/lib/content-page-repository/transformContentPage.d.ts +1 -1
  357. package/lib/icons/IconName.d.ts +94 -2
  358. package/lib/icons/IconName.js +4 -1
  359. package/lib/icons/IconName.js.map +1 -1
  360. package/lib/model/BlockDecorator.d.ts +14 -0
  361. package/lib/model/BlockDecorator.js +2 -0
  362. package/lib/model/BlockDecorator.js.map +1 -0
  363. package/lib/model/BlocksRegistry.d.ts +5 -0
  364. package/lib/model/BlocksRegistry.js +2 -0
  365. package/lib/model/BlocksRegistry.js.map +1 -0
  366. package/{mobile/lib/types.d.ts → lib/model/ContentPageDef.d.ts} +5 -20
  367. package/lib/model/ContentPageDef.js +2 -0
  368. package/lib/model/ContentPageDef.js.map +1 -0
  369. package/lib/{types → model}/Fallback.d.ts +0 -0
  370. package/lib/{types → model}/Fallback.js +0 -0
  371. package/lib/{types → model}/Fallback.js.map +1 -1
  372. package/lib/services/sitemap/useSitemap.d.ts +1 -1
  373. package/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -0
  374. package/lib/ui-kit/BlockWrapper.d.ts +1 -1
  375. package/lib/ui-kit/Button/Button.mobile.js +4 -1
  376. package/lib/ui-kit/Button/Button.mobile.js.map +1 -1
  377. package/lib/ui-kit/Button/ButtonSection.d.ts +1 -1
  378. package/lib/ui-kit/Button/buttonClassNameConstants.js +1 -1
  379. package/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  380. package/lib/ui-kit/Foldable/Foldable.d.ts +1 -1
  381. package/lib/ui-kit/Icon/Icon.js +12 -4
  382. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  383. package/lib/ui-kit/InnerTable/InnerTable.d.ts +1 -1
  384. package/lib/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
  385. package/lib/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
  386. package/lib/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
  387. package/lib/ui-kit/Logo/Logo.d.ts +1 -1
  388. package/lib/ui-kit/Logo/Logo.js +2 -2
  389. package/lib/ui-kit/Logo/Logo.js.map +1 -1
  390. package/lib/ui-kit/Logo/Logo.mobile.d.ts +1 -1
  391. package/lib/ui-kit/Logo/Logo.mobile.js +2 -2
  392. package/lib/ui-kit/Logo/Logo.mobile.js.map +1 -1
  393. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
  394. package/lib/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  395. package/lib/ui-kit/SearchBar/SearchBar.mobile.d.ts +1 -1
  396. package/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
  397. package/mobile/bundle/bundle.umd.js +72 -31
  398. package/mobile/bundle/bundle.umd.min.js +1 -1
  399. package/mobile/dist/api/DaDataAPI.d.ts +12 -0
  400. package/mobile/dist/api/DaDataAPI.js.map +1 -1
  401. package/mobile/dist/components/Accordion/Accordion.d.ts +1 -1
  402. package/mobile/dist/components/Accordion/AccordionItem.d.ts +1 -1
  403. package/mobile/dist/components/BaseTile/BaseTile.d.ts +1 -1
  404. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  405. package/mobile/dist/components/Bonus/Bonus.d.ts +1 -1
  406. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  407. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  408. package/mobile/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  409. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +1 -1
  410. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  411. package/mobile/dist/components/Calculator/Calculator.d.ts +1 -1
  412. package/mobile/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  413. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  414. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  415. package/mobile/dist/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  416. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +2 -2
  417. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  418. package/mobile/dist/components/Calculator/renderCalculatorBlock.js +1 -1
  419. package/mobile/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  420. package/mobile/dist/components/CardTransfer/CardTransfer.d.ts +1 -1
  421. package/mobile/dist/components/CardTransfer/CardTransfer.js +2 -2
  422. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  423. package/mobile/dist/components/Catalog/Catalog.d.ts +1 -1
  424. package/mobile/dist/components/Catalog/CatalogCard.d.ts +1 -1
  425. package/mobile/dist/components/Catalog/CatalogCard.js +1 -1
  426. package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
  427. package/mobile/dist/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  428. package/mobile/dist/components/ComparisonTable/TableColumn.d.ts +2 -2
  429. package/mobile/dist/components/ContentPage/ContentPage.d.ts +5 -24
  430. package/mobile/dist/components/ContentPage/ContentPage.js +17 -19
  431. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  432. package/mobile/dist/components/ContentPage/ContentPageHead.d.ts +1 -1
  433. package/mobile/dist/components/ContentPage/computeAPIFallback.d.ts +2 -2
  434. package/mobile/dist/components/ContentPage/filterBlocks.d.ts +2 -2
  435. package/mobile/dist/components/ContentPage/isBlockInRegistry.d.ts +1 -1
  436. package/mobile/dist/components/ContentPage/normalizeBlock.d.ts +1 -1
  437. package/mobile/dist/components/ContentPage/normalizePage.d.ts +2 -2
  438. package/mobile/dist/components/ContentPage/renderBlock.d.ts +13 -0
  439. package/mobile/dist/components/ContentPage/renderBlock.js +28 -0
  440. package/mobile/dist/components/ContentPage/renderBlock.js.map +1 -0
  441. package/mobile/dist/components/ErrorBlock/ErrorBlock.d.ts +1 -1
  442. package/mobile/dist/components/ErrorBlock/ErrorBlock.js +1 -1
  443. package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  444. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
  445. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  446. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  447. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  448. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +2 -1
  449. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  450. package/mobile/dist/components/Footer/Contacts.d.ts +1 -1
  451. package/mobile/dist/components/Footer/Footer.d.ts +1 -1
  452. package/mobile/dist/components/Footer/FooterLink.d.ts +1 -1
  453. package/mobile/dist/components/Footer/HorizontalNavigation.d.ts +2 -2
  454. package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  455. package/mobile/dist/components/Footer/MediaButton.js +1 -1
  456. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  457. package/mobile/dist/components/Footer/Sitemap.d.ts +2 -2
  458. package/mobile/dist/components/Footer/Sitemap.js.map +1 -1
  459. package/mobile/dist/components/Footer/SocialMedia.d.ts +1 -1
  460. package/mobile/dist/components/Gallery/GalleryInner.d.ts +1 -1
  461. package/mobile/dist/components/Gallery/GalleryProps.d.ts +1 -1
  462. package/mobile/dist/components/GracePeriod/GracePeriod.d.ts +1 -1
  463. package/mobile/dist/components/Header/DropdownMenu.d.ts +1 -1
  464. package/mobile/dist/components/Header/Header.d.ts +1 -1
  465. package/mobile/dist/components/Header/Header.fallback.d.ts +1 -1
  466. package/mobile/dist/components/Header/Header.js.map +1 -1
  467. package/mobile/dist/components/Headline/Headline.d.ts +1 -1
  468. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  469. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  470. package/mobile/dist/components/LikeControl/LikeControl.d.ts +1 -1
  471. package/mobile/dist/components/LinkDocs/LinkDocs.d.ts +1 -1
  472. package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -1
  473. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  474. package/mobile/dist/components/LinkList/LinkList.d.ts +1 -1
  475. package/mobile/dist/components/LinkList/LinkList.js.map +1 -1
  476. package/mobile/dist/components/MiniGallery/MiniGallery.d.ts +1 -1
  477. package/mobile/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  478. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  479. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
  480. package/mobile/dist/components/OtherProducts/OtherProducts.d.ts +1 -1
  481. package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +2 -2
  482. package/mobile/dist/components/OtherProducts/OtherProductsItem.d.ts +1 -1
  483. package/mobile/dist/components/PictureText/PictureText.d.ts +1 -1
  484. package/mobile/dist/components/Placeholder/Placeholder.d.ts +1 -1
  485. package/mobile/dist/components/Placeholder/Placeholder.js +1 -1
  486. package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
  487. package/mobile/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
  488. package/mobile/dist/components/ProductBlock/ProductBlock.js +1 -1
  489. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  490. package/mobile/dist/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  491. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  492. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  493. package/mobile/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
  494. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  495. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  496. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +1 -1
  497. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  498. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +0 -1
  499. package/mobile/dist/components/ProductTile/ProductTile.d.ts +1 -1
  500. package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
  501. package/mobile/dist/components/PromoTile/PromoTile.d.ts +1 -1
  502. package/mobile/dist/components/PromoTile/PromoTile.js +1 -1
  503. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  504. package/mobile/dist/components/Recommendation/Recommendation.d.ts +1 -1
  505. package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +1 -1
  506. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  507. package/mobile/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
  508. package/mobile/dist/components/StepsBlock/StepsBlock.js +5 -1
  509. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  510. package/mobile/dist/components/Tabs/Tabs.d.ts +1 -1
  511. package/mobile/dist/components/Tabs/renderTab.d.ts +1 -1
  512. package/mobile/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
  513. package/mobile/dist/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  514. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +1 -1
  515. package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  516. package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
  517. package/mobile/dist/components/TariffsTable/TariffsTableVertical.d.ts +1 -1
  518. package/mobile/dist/components/TextBlock/TextBlock.d.ts +1 -1
  519. package/mobile/dist/components/Tile/Tile.d.ts +1 -1
  520. package/mobile/dist/content-page-repository/ContentPageRepository.d.ts +1 -1
  521. package/mobile/dist/content-page-repository/transformContentPage.d.ts +1 -1
  522. package/mobile/dist/icons/IconName.d.ts +94 -2
  523. package/mobile/dist/icons/IconName.js +6 -3
  524. package/mobile/dist/icons/IconName.js.map +1 -1
  525. package/mobile/dist/model/BlockDecorator.d.ts +14 -0
  526. package/mobile/dist/model/BlockDecorator.js +4 -0
  527. package/mobile/dist/model/BlockDecorator.js.map +1 -0
  528. package/mobile/dist/model/BlocksRegistry.d.ts +5 -0
  529. package/mobile/dist/{components/BlockContent.js → model/BlocksRegistry.js} +1 -1
  530. package/mobile/dist/model/BlocksRegistry.js.map +1 -0
  531. package/{lib/types.d.ts → mobile/dist/model/ContentPageDef.d.ts} +5 -20
  532. package/mobile/dist/model/ContentPageDef.js +2 -0
  533. package/mobile/dist/model/ContentPageDef.js.map +1 -0
  534. package/mobile/dist/{types → model}/Fallback.d.ts +0 -0
  535. package/mobile/dist/{types → model}/Fallback.js +0 -0
  536. package/mobile/dist/{types → model}/Fallback.js.map +1 -1
  537. package/mobile/dist/services/sitemap/useSitemap.d.ts +1 -1
  538. package/mobile/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -0
  539. package/mobile/dist/ui-kit/BlockWrapper.d.ts +1 -1
  540. package/mobile/dist/ui-kit/Button/Button.js +4 -1
  541. package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
  542. package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +1 -1
  543. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js +1 -1
  544. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  545. package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +1 -1
  546. package/mobile/dist/ui-kit/Icon/Icon.js +11 -3
  547. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  548. package/mobile/dist/ui-kit/InnerTable/InnerTable.d.ts +1 -1
  549. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
  550. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
  551. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
  552. package/mobile/dist/ui-kit/Logo/Logo.d.ts +1 -1
  553. package/mobile/dist/ui-kit/Logo/Logo.js +2 -2
  554. package/mobile/dist/ui-kit/Logo/Logo.js.map +1 -1
  555. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
  556. package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  557. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
  558. package/mobile/lib/api/DaDataAPI.d.ts +12 -0
  559. package/mobile/lib/api/DaDataAPI.js.map +1 -1
  560. package/mobile/lib/components/Accordion/Accordion.d.ts +1 -1
  561. package/mobile/lib/components/Accordion/AccordionItem.d.ts +1 -1
  562. package/mobile/lib/components/BaseTile/BaseTile.d.ts +1 -1
  563. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  564. package/mobile/lib/components/Bonus/Bonus.d.ts +1 -1
  565. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  566. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  567. package/mobile/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  568. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +1 -1
  569. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  570. package/mobile/lib/components/Calculator/Calculator.d.ts +1 -1
  571. package/mobile/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  572. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  573. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  574. package/mobile/lib/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  575. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +2 -2
  576. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  577. package/mobile/lib/components/Calculator/renderCalculatorBlock.js +1 -1
  578. package/mobile/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  579. package/mobile/lib/components/CardTransfer/CardTransfer.d.ts +1 -1
  580. package/mobile/lib/components/CardTransfer/CardTransfer.js +2 -2
  581. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  582. package/mobile/lib/components/Catalog/Catalog.d.ts +1 -1
  583. package/mobile/lib/components/Catalog/CatalogCard.d.ts +1 -1
  584. package/mobile/lib/components/Catalog/CatalogCard.js +1 -1
  585. package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
  586. package/mobile/lib/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  587. package/mobile/lib/components/ComparisonTable/TableColumn.d.ts +2 -2
  588. package/mobile/lib/components/ContentPage/ContentPage.d.ts +5 -24
  589. package/mobile/lib/components/ContentPage/ContentPage.js +17 -19
  590. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  591. package/mobile/lib/components/ContentPage/ContentPageHead.d.ts +1 -1
  592. package/mobile/lib/components/ContentPage/computeAPIFallback.d.ts +2 -2
  593. package/mobile/lib/components/ContentPage/filterBlocks.d.ts +2 -2
  594. package/mobile/lib/components/ContentPage/isBlockInRegistry.d.ts +1 -1
  595. package/mobile/lib/components/ContentPage/normalizeBlock.d.ts +1 -1
  596. package/mobile/lib/components/ContentPage/normalizePage.d.ts +2 -2
  597. package/mobile/lib/components/ContentPage/renderBlock.d.ts +13 -0
  598. package/mobile/lib/components/ContentPage/renderBlock.js +25 -0
  599. package/mobile/lib/components/ContentPage/renderBlock.js.map +1 -0
  600. package/mobile/lib/components/ErrorBlock/ErrorBlock.d.ts +1 -1
  601. package/mobile/lib/components/ErrorBlock/ErrorBlock.js +1 -1
  602. package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  603. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
  604. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  605. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  606. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  607. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +2 -1
  608. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  609. package/mobile/lib/components/Footer/Contacts.d.ts +1 -1
  610. package/mobile/lib/components/Footer/Footer.d.ts +1 -1
  611. package/mobile/lib/components/Footer/FooterLink.d.ts +1 -1
  612. package/mobile/lib/components/Footer/HorizontalNavigation.d.ts +2 -2
  613. package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  614. package/mobile/lib/components/Footer/MediaButton.js +1 -1
  615. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  616. package/mobile/lib/components/Footer/Sitemap.d.ts +2 -2
  617. package/mobile/lib/components/Footer/Sitemap.js.map +1 -1
  618. package/mobile/lib/components/Footer/SocialMedia.d.ts +1 -1
  619. package/mobile/lib/components/Gallery/GalleryInner.d.ts +1 -1
  620. package/mobile/lib/components/Gallery/GalleryProps.d.ts +1 -1
  621. package/mobile/lib/components/GracePeriod/GracePeriod.d.ts +1 -1
  622. package/mobile/lib/components/Header/DropdownMenu.d.ts +1 -1
  623. package/mobile/lib/components/Header/Header.d.ts +1 -1
  624. package/mobile/lib/components/Header/Header.fallback.d.ts +1 -1
  625. package/mobile/lib/components/Header/Header.js.map +1 -1
  626. package/mobile/lib/components/Headline/Headline.d.ts +1 -1
  627. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  628. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  629. package/mobile/lib/components/LikeControl/LikeControl.d.ts +1 -1
  630. package/mobile/lib/components/LinkDocs/LinkDocs.d.ts +1 -1
  631. package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -1
  632. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  633. package/mobile/lib/components/LinkList/LinkList.d.ts +1 -1
  634. package/mobile/lib/components/LinkList/LinkList.js.map +1 -1
  635. package/mobile/lib/components/MiniGallery/MiniGallery.d.ts +1 -1
  636. package/mobile/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  637. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  638. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
  639. package/mobile/lib/components/OtherProducts/OtherProducts.d.ts +1 -1
  640. package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +2 -2
  641. package/mobile/lib/components/OtherProducts/OtherProductsItem.d.ts +1 -1
  642. package/mobile/lib/components/PictureText/PictureText.d.ts +1 -1
  643. package/mobile/lib/components/Placeholder/Placeholder.d.ts +1 -1
  644. package/mobile/lib/components/Placeholder/Placeholder.js +1 -1
  645. package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
  646. package/mobile/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
  647. package/mobile/lib/components/ProductBlock/ProductBlock.js +1 -1
  648. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  649. package/mobile/lib/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  650. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  651. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  652. package/mobile/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
  653. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  654. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  655. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +1 -1
  656. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  657. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +0 -1
  658. package/mobile/lib/components/ProductTile/ProductTile.d.ts +1 -1
  659. package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
  660. package/mobile/lib/components/PromoTile/PromoTile.d.ts +1 -1
  661. package/mobile/lib/components/PromoTile/PromoTile.js +1 -1
  662. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  663. package/mobile/lib/components/Recommendation/Recommendation.d.ts +1 -1
  664. package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +1 -1
  665. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  666. package/mobile/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
  667. package/mobile/lib/components/StepsBlock/StepsBlock.js +5 -1
  668. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  669. package/mobile/lib/components/Tabs/Tabs.d.ts +1 -1
  670. package/mobile/lib/components/Tabs/renderTab.d.ts +1 -1
  671. package/mobile/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
  672. package/mobile/lib/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  673. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +1 -1
  674. package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  675. package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
  676. package/mobile/lib/components/TariffsTable/TariffsTableVertical.d.ts +1 -1
  677. package/mobile/lib/components/TextBlock/TextBlock.d.ts +1 -1
  678. package/mobile/lib/components/Tile/Tile.d.ts +1 -1
  679. package/mobile/lib/content-page-repository/ContentPageRepository.d.ts +1 -1
  680. package/mobile/lib/content-page-repository/transformContentPage.d.ts +1 -1
  681. package/mobile/lib/icons/IconName.d.ts +94 -2
  682. package/mobile/lib/icons/IconName.js +4 -1
  683. package/mobile/lib/icons/IconName.js.map +1 -1
  684. package/mobile/lib/model/BlockDecorator.d.ts +14 -0
  685. package/mobile/lib/model/BlockDecorator.js +2 -0
  686. package/mobile/lib/model/BlockDecorator.js.map +1 -0
  687. package/mobile/lib/model/BlocksRegistry.d.ts +5 -0
  688. package/mobile/lib/model/BlocksRegistry.js +2 -0
  689. package/mobile/lib/model/BlocksRegistry.js.map +1 -0
  690. package/{dist/types.d.ts → mobile/lib/model/ContentPageDef.d.ts} +5 -20
  691. package/mobile/lib/model/ContentPageDef.js +2 -0
  692. package/mobile/lib/model/ContentPageDef.js.map +1 -0
  693. package/mobile/lib/{types → model}/Fallback.d.ts +0 -0
  694. package/mobile/lib/{types → model}/Fallback.js +0 -0
  695. package/mobile/lib/{types → model}/Fallback.js.map +1 -1
  696. package/mobile/lib/services/sitemap/useSitemap.d.ts +1 -1
  697. package/mobile/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -0
  698. package/mobile/lib/ui-kit/BlockWrapper.d.ts +1 -1
  699. package/mobile/lib/ui-kit/Button/Button.js +4 -1
  700. package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
  701. package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +1 -1
  702. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js +1 -1
  703. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  704. package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +1 -1
  705. package/mobile/lib/ui-kit/Icon/Icon.js +12 -4
  706. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  707. package/mobile/lib/ui-kit/InnerTable/InnerTable.d.ts +1 -1
  708. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
  709. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
  710. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
  711. package/mobile/lib/ui-kit/Logo/Logo.d.ts +1 -1
  712. package/mobile/lib/ui-kit/Logo/Logo.js +2 -2
  713. package/mobile/lib/ui-kit/Logo/Logo.js.map +1 -1
  714. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
  715. package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  716. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
  717. package/mobile/src/api/DaDataAPI.ts +13 -1
  718. package/mobile/src/components/Accordion/Accordion.tsx +1 -1
  719. package/mobile/src/components/Accordion/AccordionItem.tsx +1 -1
  720. package/mobile/src/components/BaseTile/BaseTile.tsx +1 -1
  721. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  722. package/mobile/src/components/Bonus/Bonus.tsx +2 -2
  723. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -1
  724. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +2 -2
  725. package/mobile/src/components/Calculator/Calculator.tsx +1 -1
  726. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +2 -2
  727. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +3 -3
  728. package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +2 -2
  729. package/mobile/src/components/CardTransfer/CardTransfer.tsx +4 -4
  730. package/mobile/src/components/Catalog/Catalog.tsx +1 -1
  731. package/mobile/src/components/Catalog/CatalogCard.tsx +2 -2
  732. package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
  733. package/mobile/src/components/ComparisonTable/TableColumn.tsx +2 -2
  734. package/mobile/src/components/ContentPage/ContentPage.tsx +53 -101
  735. package/mobile/src/components/ContentPage/ContentPageHead.tsx +1 -1
  736. package/mobile/src/components/ContentPage/computeAPIFallback.spec.ts +1 -1
  737. package/mobile/src/components/ContentPage/computeAPIFallback.ts +2 -2
  738. package/mobile/src/components/ContentPage/filterBlocks.ts +2 -2
  739. package/mobile/src/components/ContentPage/isBlockInRegistry.ts +1 -1
  740. package/mobile/src/components/ContentPage/normalizeBlock.spec.ts +1 -1
  741. package/mobile/src/components/ContentPage/normalizeBlock.ts +1 -1
  742. package/mobile/src/components/ContentPage/normalizePage.ts +2 -2
  743. package/mobile/src/components/ContentPage/renderBlock.tsx +62 -0
  744. package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +3 -3
  745. package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +1 -1
  746. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +1 -1
  747. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +6 -3
  748. package/mobile/src/components/Footer/Contacts.tsx +1 -1
  749. package/mobile/src/components/Footer/Footer.tsx +2 -2
  750. package/mobile/src/components/Footer/FooterLink.ts +1 -1
  751. package/mobile/src/components/Footer/HorizontalNavigation.tsx +3 -3
  752. package/mobile/src/components/Footer/MediaButton.tsx +1 -1
  753. package/mobile/src/components/Footer/Sitemap.tsx +2 -2
  754. package/mobile/src/components/Footer/SocialMedia.tsx +1 -1
  755. package/mobile/src/components/Gallery/GalleryInner.tsx +1 -1
  756. package/mobile/src/components/Gallery/GalleryProps.ts +1 -1
  757. package/mobile/src/components/GracePeriod/GracePeriod.tsx +1 -1
  758. package/mobile/src/components/Header/DropdownMenu.tsx +1 -1
  759. package/mobile/src/components/Header/Header.fallback.ts +1 -1
  760. package/mobile/src/components/Header/Header.tsx +2 -2
  761. package/mobile/src/components/Headline/Headline.tsx +1 -1
  762. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
  763. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +1 -1
  764. package/mobile/src/components/LikeControl/LikeControl.tsx +1 -1
  765. package/mobile/src/components/LinkDocs/LinkDocs.tsx +2 -2
  766. package/mobile/src/components/LinkList/LinkList.tsx +1 -1
  767. package/mobile/src/components/MiniGallery/MiniGallery.tsx +1 -1
  768. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +2 -2
  769. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -1
  770. package/mobile/src/components/OtherProducts/OtherProducts.tsx +1 -1
  771. package/mobile/src/components/OtherProducts/OtherProductsContent.ts +2 -2
  772. package/mobile/src/components/OtherProducts/OtherProductsItem.tsx +1 -1
  773. package/mobile/src/components/PictureText/PictureText.example.json +2 -0
  774. package/mobile/src/components/PictureText/PictureText.tsx +1 -1
  775. package/mobile/src/components/Placeholder/Placeholder.tsx +3 -3
  776. package/mobile/src/components/ProductBlock/ProductBlock.tsx +3 -3
  777. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +3 -3
  778. package/mobile/src/components/ProductGallery/ProductGallery.tsx +2 -2
  779. package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +3 -3
  780. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +0 -1
  781. package/mobile/src/components/ProductTile/ProductTile.tsx +2 -2
  782. package/mobile/src/components/PromoTile/PromoTile.tsx +3 -3
  783. package/mobile/src/components/Recommendation/Recommendation.tsx +1 -1
  784. package/mobile/src/components/Recommendation/RecommendationCard.tsx +1 -1
  785. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  786. package/mobile/src/components/StepsBlock/StepsBlock.tsx +14 -3
  787. package/mobile/src/components/Tabs/Tabs.tsx +1 -1
  788. package/mobile/src/components/Tabs/renderTab.tsx +1 -1
  789. package/mobile/src/components/TariffsTable/TariffsTable.tsx +1 -1
  790. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
  791. package/mobile/src/components/TariffsTable/TariffsTableHorizontal.tsx +1 -1
  792. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -1
  793. package/mobile/src/components/TariffsTable/TariffsTableRowContainer.tsx +1 -1
  794. package/mobile/src/components/TariffsTable/TariffsTableVertical.tsx +1 -1
  795. package/mobile/src/components/TextBlock/TextBlock.tsx +1 -1
  796. package/mobile/src/components/Tile/Tile.tsx +1 -1
  797. package/mobile/src/components/__snapshots__/Blocks.spec.tsx.snap +84 -81
  798. package/mobile/src/content-page-repository/ContentPageRepository.ts +1 -1
  799. package/mobile/src/content-page-repository/transformContentPage.ts +1 -1
  800. package/mobile/src/icons/AirPlaneIcon.svg +16 -1
  801. package/mobile/src/icons/AppleIcon.svg +1 -1
  802. package/mobile/src/icons/ArrowDownIcon.svg +1 -1
  803. package/mobile/src/icons/ArrowLeftIcon.svg +1 -1
  804. package/mobile/src/icons/ArrowUpIcon.svg +1 -1
  805. package/mobile/src/icons/AtmIcon.svg +1 -1
  806. package/mobile/src/icons/BankIcon.svg +1 -1
  807. package/mobile/src/icons/BuildingIcon.svg +1 -1
  808. package/mobile/src/icons/BurgerIcon.svg +1 -1
  809. package/mobile/src/icons/Calendar2Icon.svg +1 -1
  810. package/mobile/src/icons/CalendarCircleIcon.svg +1 -1
  811. package/mobile/src/icons/CalendarIcon.svg +1 -1
  812. package/mobile/src/icons/CalendarTickIcon.svg +1 -1
  813. package/mobile/src/icons/Car2Icon.svg +1 -1
  814. package/mobile/src/icons/CardIcon.svg +1 -1
  815. package/mobile/src/icons/CardPosIcon.svg +1 -1
  816. package/mobile/src/icons/CardTickIcon.svg +6 -6
  817. package/mobile/src/icons/ChartSquareIcon.svg +1 -1
  818. package/mobile/src/icons/CloseIcon.svg +1 -1
  819. package/mobile/src/icons/DiscountShapeIcon.svg +1 -1
  820. package/mobile/src/icons/DocDownloadIcon.svg +7 -7
  821. package/mobile/src/icons/DocIcon.svg +1 -1
  822. package/mobile/src/icons/DocIconMonoColor.svg +1 -1
  823. package/mobile/src/icons/DocumentTextIcon.svg +1 -1
  824. package/mobile/src/icons/DoneSimpleIcon.svg +2 -2
  825. package/mobile/src/icons/EmptyWalletChangeIcon.svg +1 -1
  826. package/mobile/src/icons/EmptyWalletIcon.svg +1 -1
  827. package/mobile/src/icons/GeolocationIcon.svg +1 -1
  828. package/mobile/src/icons/GlobalIcon.svg +1 -1
  829. package/mobile/src/icons/GpsIcon.svg +1 -1
  830. package/mobile/src/icons/GridIcon.svg +1 -1
  831. package/mobile/src/icons/IconName.ts +7 -2
  832. package/mobile/src/icons/InterestIcon.svg +1 -1
  833. package/mobile/src/icons/LogoIcon.svg +1 -1
  834. package/mobile/src/icons/LoupeIcon.svg +1 -1
  835. package/mobile/src/icons/MinusIcon.svg +1 -1
  836. package/mobile/src/icons/MoneyIcon.svg +1 -1
  837. package/mobile/src/icons/MoneysIcon.svg +1 -1
  838. package/mobile/src/icons/MonitorMobileIcon.svg +1 -1
  839. package/mobile/src/icons/OkIcon.svg +1 -1
  840. package/mobile/src/icons/PercentageRoundIcon.svg +1 -1
  841. package/mobile/src/icons/PercentageSquareIcon.svg +1 -1
  842. package/mobile/src/icons/PersonalCardIcon.svg +1 -1
  843. package/mobile/src/icons/PlayMarketIcon.svg +1 -1
  844. package/mobile/src/icons/PlusIcon.svg +1 -1
  845. package/mobile/src/icons/Profile2UserIcon.svg +1 -1
  846. package/mobile/src/icons/ProfileIcon.svg +1 -1
  847. package/mobile/src/icons/RoundRubleIcon.svg +1 -1
  848. package/mobile/src/icons/SafeIcon.svg +1 -1
  849. package/mobile/src/icons/ShieldTickIcon.svg +1 -1
  850. package/mobile/src/icons/SmallClockIcon.svg +1 -1
  851. package/mobile/src/icons/StrongBoxIcon.svg +1 -1
  852. package/mobile/src/icons/TelegramIcon.svg +1 -1
  853. package/mobile/src/icons/UserSquareIcon.svg +1 -1
  854. package/mobile/src/icons/UserTickIcon.svg +1 -1
  855. package/mobile/src/icons/VKIcon.svg +1 -1
  856. package/mobile/src/icons/WalletAdd2Icon.svg +1 -1
  857. package/mobile/src/icons/WalletAddIcon.svg +1 -1
  858. package/mobile/src/icons/WalletIcon.svg +1 -1
  859. package/mobile/src/icons/WalletWithMoneyIcon.svg +1 -1
  860. package/mobile/src/model/BlockDecorator.ts +17 -0
  861. package/mobile/src/model/BlocksRegistry.ts +11 -0
  862. package/mobile/src/{types.ts → model/ContentPageDef.ts} +5 -23
  863. package/mobile/src/{types → model}/Fallback.ts +1 -0
  864. package/mobile/src/services/sitemap/useSitemap.ts +1 -1
  865. package/mobile/src/ui-kit/BenefitItem/BenefitItemProps.ts +1 -0
  866. package/mobile/src/ui-kit/BlockWrapper.tsx +1 -1
  867. package/mobile/src/ui-kit/BlocksList/renderBlocksList.tsx +2 -2
  868. package/mobile/src/ui-kit/Button/Button.tsx +4 -1
  869. package/mobile/src/ui-kit/Button/ButtonSection.tsx +1 -1
  870. package/mobile/src/ui-kit/Button/buttonClassNameConstants.ts +2 -1
  871. package/mobile/src/ui-kit/Foldable/Foldable.tsx +1 -1
  872. package/mobile/src/ui-kit/Icon/Icon.tsx +29 -12
  873. package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +1 -1
  874. package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  875. package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +1 -1
  876. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  877. package/mobile/src/ui-kit/Logo/Logo.tsx +9 -5
  878. package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
  879. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +1 -1
  880. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +1 -1
  881. package/package.json +1 -1
  882. package/src/api/DaDataAPI.ts +13 -1
  883. package/src/components/Accordion/Accordion.mobile.tsx +1 -1
  884. package/src/components/Accordion/Accordion.tsx +1 -1
  885. package/src/components/Accordion/AccordionItem.mobile.tsx +1 -1
  886. package/src/components/Accordion/AccordionItem.tsx +1 -1
  887. package/src/components/BaseTile/BaseTile.tsx +1 -1
  888. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  889. package/src/components/Bonus/Bonus.tsx +2 -2
  890. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -1
  891. package/src/components/Calculator/BonusCalculatorForm.tsx +2 -2
  892. package/src/components/Calculator/Calculator.tsx +1 -1
  893. package/src/components/Calculator/CreditCalculatorForm.tsx +2 -2
  894. package/src/components/Calculator/DepositCalculatorForm.tsx +3 -3
  895. package/src/components/Calculator/renderCalculatorBlock.tsx +2 -2
  896. package/src/components/CardTransfer/CardTransfer.tsx +4 -4
  897. package/src/components/Catalog/Catalog.tsx +1 -1
  898. package/src/components/Catalog/CatalogCard.tsx +2 -2
  899. package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +1 -1
  900. package/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
  901. package/src/components/ComparisonTable/TableColumn.tsx +2 -2
  902. package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +1 -1
  903. package/src/components/ContentPage/ContentPage.fixture.tsx +3 -2
  904. package/src/components/ContentPage/ContentPage.tsx +53 -101
  905. package/src/components/ContentPage/ContentPageHead.tsx +1 -1
  906. package/src/components/ContentPage/computeAPIFallback.spec.ts +1 -1
  907. package/src/components/ContentPage/computeAPIFallback.ts +2 -2
  908. package/src/components/ContentPage/filterBlocks.mobile.ts +2 -2
  909. package/src/components/ContentPage/filterBlocks.ts +2 -2
  910. package/src/components/ContentPage/isBlockInRegistry.ts +1 -1
  911. package/src/components/ContentPage/normalizeBlock.mobile.spec.ts +1 -1
  912. package/src/components/ContentPage/normalizeBlock.mobile.ts +1 -1
  913. package/src/components/ContentPage/normalizeBlock.spec.ts +1 -1
  914. package/src/components/ContentPage/normalizeBlock.ts +1 -1
  915. package/src/components/ContentPage/normalizePage.ts +2 -2
  916. package/src/components/ContentPage/renderBlock.tsx +62 -0
  917. package/src/components/ErrorBlock/ErrorBlock.tsx +3 -3
  918. package/src/components/ExchangeRateTile/CurrentLocation.tsx +1 -1
  919. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +1 -1
  920. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +6 -3
  921. package/src/components/Footer/Contacts.tsx +1 -1
  922. package/src/components/Footer/Footer.mobile.tsx +2 -2
  923. package/src/components/Footer/Footer.tsx +2 -2
  924. package/src/components/Footer/FooterLink.ts +1 -1
  925. package/src/components/Footer/HorizontalNavigation.mobile.tsx +3 -3
  926. package/src/components/Footer/HorizontalNavigation.tsx +3 -3
  927. package/src/components/Footer/MediaButton.tsx +1 -1
  928. package/src/components/Footer/Sitemap.tsx +2 -2
  929. package/src/components/Footer/SocialMedia.mobile.tsx +1 -1
  930. package/src/components/Footer/SocialMedia.tsx +1 -1
  931. package/src/components/Gallery/GalleryInner.tsx +1 -1
  932. package/src/components/Gallery/GalleryProps.ts +1 -1
  933. package/src/components/GracePeriod/GracePeriod.tsx +1 -1
  934. package/src/components/Header/DropdownMenu.tsx +1 -1
  935. package/src/components/Header/Header.fallback.ts +1 -1
  936. package/src/components/Header/Header.mobile.tsx +2 -2
  937. package/src/components/Header/Header.tsx +2 -2
  938. package/src/components/Headline/Headline.mobile.tsx +1 -1
  939. package/src/components/Headline/Headline.tsx +2 -2
  940. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
  941. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +1 -1
  942. package/src/components/LikeControl/LikeControl.tsx +1 -1
  943. package/src/components/LinkDocs/LinkDocs.mobile.tsx +2 -2
  944. package/src/components/LinkDocs/LinkDocs.tsx +1 -1
  945. package/src/components/LinkList/LinkList.tsx +1 -1
  946. package/src/components/MiniGallery/MiniGallery.tsx +1 -1
  947. package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +2 -2
  948. package/src/components/MobileAppTile/MobileAppTile.tsx +3 -3
  949. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -1
  950. package/src/components/OtherProducts/OtherProducts.tsx +1 -1
  951. package/src/components/OtherProducts/OtherProductsContent.ts +2 -2
  952. package/src/components/OtherProducts/OtherProductsItem.tsx +1 -1
  953. package/src/components/PictureText/PictureText.example.json +2 -0
  954. package/src/components/PictureText/PictureText.tsx +1 -1
  955. package/src/components/Placeholder/Placeholder.tsx +3 -3
  956. package/src/components/ProductBlock/ProductBlock.mobile.tsx +3 -3
  957. package/src/components/ProductBlock/ProductBlock.tsx +3 -3
  958. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +3 -3
  959. package/src/components/ProductBlock/ProductBlockInner.tsx +2 -2
  960. package/src/components/ProductGallery/ProductGallery.mobile.tsx +2 -2
  961. package/src/components/ProductGallery/ProductGallery.tsx +14 -14
  962. package/src/components/ProductGallery/ProductGalleryBlock.tsx +3 -3
  963. package/src/components/ProductGallery/ProductGalleryContent.ts +0 -1
  964. package/src/components/ProductTile/ProductTile.tsx +2 -2
  965. package/src/components/PromoTile/PromoTile.tsx +3 -3
  966. package/src/components/Recommendation/Recommendation.tsx +1 -1
  967. package/src/components/Recommendation/RecommendationCard.tsx +1 -1
  968. package/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  969. package/src/components/StepsBlock/StepsBlock.mobile.tsx +14 -3
  970. package/src/components/StepsBlock/StepsBlock.tsx +2 -2
  971. package/src/components/Tabs/Tabs.tsx +1 -1
  972. package/src/components/Tabs/renderTab.tsx +1 -1
  973. package/src/components/TariffsTable/TariffsTable.mobile.tsx +1 -1
  974. package/src/components/TariffsTable/TariffsTable.tsx +1 -1
  975. package/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
  976. package/src/components/TariffsTable/TariffsTableHorizontal.tsx +1 -1
  977. package/src/components/TariffsTable/TariffsTableRow.tsx +1 -1
  978. package/src/components/TariffsTable/TariffsTableRowContainer.tsx +1 -1
  979. package/src/components/TariffsTable/TariffsTableVertical.tsx +1 -1
  980. package/src/components/TextBlock/TextBlock.mobile.tsx +1 -1
  981. package/src/components/TextBlock/TextBlock.tsx +1 -1
  982. package/src/components/Tile/Tile.tsx +1 -1
  983. package/src/components/__snapshots__/Blocks.spec.tsx.snap +84 -81
  984. package/src/content-page-repository/ContentPageRepository.ts +1 -1
  985. package/src/content-page-repository/transformContentPage.ts +1 -1
  986. package/src/icons/AirPlaneIcon.svg +16 -1
  987. package/src/icons/AppleIcon.svg +1 -1
  988. package/src/icons/ArrowDownIcon.svg +1 -1
  989. package/src/icons/ArrowLeftIcon.svg +1 -1
  990. package/src/icons/ArrowUpIcon.svg +1 -1
  991. package/src/icons/AtmIcon.svg +1 -1
  992. package/src/icons/BankIcon.svg +1 -1
  993. package/src/icons/BuildingIcon.svg +1 -1
  994. package/src/icons/BurgerIcon.svg +1 -1
  995. package/src/icons/Calendar2Icon.svg +1 -1
  996. package/src/icons/CalendarCircleIcon.svg +1 -1
  997. package/src/icons/CalendarIcon.svg +1 -1
  998. package/src/icons/CalendarTickIcon.svg +1 -1
  999. package/src/icons/Car2Icon.svg +1 -1
  1000. package/src/icons/CardIcon.svg +1 -1
  1001. package/src/icons/CardPosIcon.svg +1 -1
  1002. package/src/icons/CardTickIcon.svg +6 -6
  1003. package/src/icons/ChartSquareIcon.svg +1 -1
  1004. package/src/icons/CloseIcon.svg +1 -1
  1005. package/src/icons/DiscountShapeIcon.svg +1 -1
  1006. package/src/icons/DocDownloadIcon.svg +7 -7
  1007. package/src/icons/DocIcon.svg +1 -1
  1008. package/src/icons/DocIconMonoColor.svg +1 -1
  1009. package/src/icons/DocumentTextIcon.svg +1 -1
  1010. package/src/icons/DoneSimpleIcon.svg +2 -2
  1011. package/src/icons/EmptyWalletChangeIcon.svg +1 -1
  1012. package/src/icons/EmptyWalletIcon.svg +1 -1
  1013. package/src/icons/GeolocationIcon.svg +1 -1
  1014. package/src/icons/GlobalIcon.svg +1 -1
  1015. package/src/icons/GpsIcon.svg +1 -1
  1016. package/src/icons/GridIcon.svg +1 -1
  1017. package/src/icons/IconName.ts +96 -2
  1018. package/src/icons/InterestIcon.svg +1 -1
  1019. package/src/icons/LogoIcon.svg +1 -1
  1020. package/src/icons/LoupeIcon.svg +1 -1
  1021. package/src/icons/MinusIcon.svg +1 -1
  1022. package/src/icons/MoneyIcon.svg +1 -1
  1023. package/src/icons/MoneysIcon.svg +1 -1
  1024. package/src/icons/MonitorMobileIcon.svg +1 -1
  1025. package/src/icons/OkIcon.svg +1 -1
  1026. package/src/icons/PercentageRoundIcon.svg +1 -1
  1027. package/src/icons/PercentageSquareIcon.svg +1 -1
  1028. package/src/icons/PersonalCardIcon.svg +1 -1
  1029. package/src/icons/PlayMarketIcon.svg +1 -1
  1030. package/src/icons/PlusIcon.svg +1 -1
  1031. package/src/icons/Profile2UserIcon.svg +1 -1
  1032. package/src/icons/ProfileIcon.svg +1 -1
  1033. package/src/icons/RoundRubleIcon.svg +1 -1
  1034. package/src/icons/SafeIcon.svg +1 -1
  1035. package/src/icons/ShieldTickIcon.svg +1 -1
  1036. package/src/icons/SmallClockIcon.svg +1 -1
  1037. package/src/icons/StrongBoxIcon.svg +1 -1
  1038. package/src/icons/TelegramIcon.svg +1 -1
  1039. package/src/icons/UserSquareIcon.svg +1 -1
  1040. package/src/icons/UserTickIcon.svg +1 -1
  1041. package/src/icons/VKIcon.svg +1 -1
  1042. package/src/icons/WalletAdd2Icon.svg +1 -1
  1043. package/src/icons/WalletAddIcon.svg +1 -1
  1044. package/src/icons/WalletIcon.svg +1 -1
  1045. package/src/icons/WalletWithMoneyIcon.svg +1 -1
  1046. package/src/model/BlockDecorator.ts +17 -0
  1047. package/src/model/BlocksRegistry.ts +11 -0
  1048. package/src/{types.ts → model/ContentPageDef.ts} +5 -23
  1049. package/src/{types → model}/Fallback.ts +1 -0
  1050. package/src/services/sitemap/useSitemap.ts +1 -1
  1051. package/src/ui-kit/BenefitItem/BenefitItemProps.ts +1 -0
  1052. package/src/ui-kit/BlockWrapper.tsx +1 -1
  1053. package/src/ui-kit/BlocksList/renderBlocksList.tsx +2 -2
  1054. package/src/ui-kit/Button/Button.mobile.tsx +4 -1
  1055. package/src/ui-kit/Button/ButtonSection.tsx +1 -1
  1056. package/src/ui-kit/Button/buttonClassNameConstants.ts +2 -1
  1057. package/src/ui-kit/Foldable/Foldable.tsx +1 -1
  1058. package/src/ui-kit/Icon/Icon.fixture.tsx +5 -5
  1059. package/src/ui-kit/Icon/Icon.tsx +29 -12
  1060. package/src/ui-kit/InnerTable/InnerTable.tsx +1 -1
  1061. package/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  1062. package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +1 -1
  1063. package/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1064. package/src/ui-kit/Logo/Logo.mobile.tsx +9 -5
  1065. package/src/ui-kit/Logo/Logo.tsx +3 -3
  1066. package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
  1067. package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +1 -1
  1068. package/src/ui-kit/SearchBar/SearchBar.tsx +1 -1
  1069. package/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +1 -1
  1070. package/tailwind.config.cjs +0 -1
  1071. package/dist/components/BlockContent.d.ts +0 -32
  1072. package/dist/components/BlockContent.js.map +0 -1
  1073. package/dist/types.js.map +0 -1
  1074. package/dist/utils/isSSR.d.ts +0 -1
  1075. package/dist/utils/isSSR.js +0 -5
  1076. package/dist/utils/isSSR.js.map +0 -1
  1077. package/lib/components/BlockContent.d.ts +0 -32
  1078. package/lib/components/BlockContent.js +0 -2
  1079. package/lib/components/BlockContent.js.map +0 -1
  1080. package/lib/types.js +0 -2
  1081. package/lib/types.js.map +0 -1
  1082. package/lib/utils/isSSR.d.ts +0 -1
  1083. package/lib/utils/isSSR.js +0 -2
  1084. package/lib/utils/isSSR.js.map +0 -1
  1085. package/mobile/dist/components/BlockContent.d.ts +0 -32
  1086. package/mobile/dist/components/BlockContent.js.map +0 -1
  1087. package/mobile/dist/types.js +0 -2
  1088. package/mobile/dist/types.js.map +0 -1
  1089. package/mobile/dist/utils/isSSR.d.ts +0 -1
  1090. package/mobile/dist/utils/isSSR.js +0 -5
  1091. package/mobile/dist/utils/isSSR.js.map +0 -1
  1092. package/mobile/lib/components/BlockContent.d.ts +0 -32
  1093. package/mobile/lib/components/BlockContent.js +0 -2
  1094. package/mobile/lib/components/BlockContent.js.map +0 -1
  1095. package/mobile/lib/types.js +0 -2
  1096. package/mobile/lib/types.js.map +0 -1
  1097. package/mobile/lib/utils/isSSR.d.ts +0 -1
  1098. package/mobile/lib/utils/isSSR.js +0 -2
  1099. package/mobile/lib/utils/isSSR.js.map +0 -1
  1100. package/mobile/src/components/BlockContent.ts +0 -61
  1101. package/mobile/src/utils/isSSR.ts +0 -2
  1102. package/src/components/BlockContent.ts +0 -61
  1103. package/src/utils/isSSR.ts +0 -2
@@ -301,6 +301,9 @@
301
301
 
302
302
  // Generated. Do not touch
303
303
  /* eslint-disable max-len, max-lines */
304
+ const IconInverseMap = {
305
+ ActualBalanceIcon: false, AirPlaneIcon: false, AppleIcon: true, ArrowDownIcon: true, ArrowLeftIcon: true, ArrowUpIcon: true, AtmIcon: true, BankIcon: true, BuildingIcon: true, BurgerIcon: true, Calendar2Icon: true, CalendarCircleIcon: true, CalendarIcon: true, CalendarTickIcon: true, Car2Icon: true, CardIcon: true, CardPosIcon: true, CardTickIcon: true, CardWithGemIcon: false, CarIcon: false, ChartSquareIcon: true, CinemaIcon: false, ClockIcon: false, CloseIcon: true, ComfortableCompIcon: false, CreditCardsIcon: false, DiscountShapeIcon: true, DocDownloadIcon: true, DocIcon: true, DocIconMonoColor: true, DocsIcon: false, DocumentTextIcon: true, DollarIcon: false, DoneIcon: false, DoneSimpleIcon: true, EarthIcon: false, EmptyWalletChangeIcon: true, EmptyWalletIcon: true, EuroIcon: false, GeolocationIcon: true, GlassIcon: false, GlobalIcon: true, GpsIcon: true, GridIcon: true, InterestGrowthIcon: false, InterestIcon: true, JCBIcon: false, LogoIcon: true, LoupeIcon: true, MapMarkerClusterIcon: false, MapMarkerSingleIcon: false, MasterCardIcon: false, MinusIcon: true, MirIcon: false, MoneyIcon: true, MoneyInsuranceIcon: false, MoneysIcon: true, MonitorMobileIcon: true, NewDocIcon: false, OfficeIcon: false, OkIcon: true, PackA4Icon: false, PassSendIcon: false, PercentageRoundIcon: true, PercentageSquareIcon: true, PersonalCardIcon: true, PlayMarketIcon: true, PlusIcon: true, PowerIcon: false, Profile2UserIcon: true, ProfileIcon: true, PumpkinIcon: false, RoundRubleIcon: true, SafeIcon: true, ShieldTickIcon: true, SignDocsIcon: false, SmallClockIcon: true, SoundIcon: false, StrongBoxIcon: true, TelegramIcon: true, UnionPayIcon: false, UserSquareIcon: true, UserTickIcon: true, VisaIcon: false, VKIcon: true, WalletAdd2Icon: true, WalletAddIcon: true, WalletIcon: true, WalletWithMoneyIcon: true, WateringCanIcon: false
306
+ };
304
307
  var IconMap;
305
308
  (function (IconMap) {
306
309
  IconMap["ActualBalanceIcon"] = "ActualBalanceIcon";
@@ -452,7 +455,7 @@
452
455
  IconTitleMap["MirIcon"] = "\u041C\u0418\u0420";
453
456
  IconTitleMap["MoneyIcon"] = "\u0414\u0435\u043D\u044C\u0433\u0438";
454
457
  IconTitleMap["MoneyInsuranceIcon"] = "\u0414\u0435\u043D\u0435\u0436\u043D\u043E\u0435 \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u043D\u0438\u0435";
455
- IconTitleMap["MoneysIcon"] = "MoneysIcon";
458
+ IconTitleMap["MoneysIcon"] = "\u041A\u0443\u043F\u044E\u0440\u044B";
456
459
  IconTitleMap["MonitorMobileIcon"] = "\u041C\u043E\u043D\u0438\u0442\u043E\u0440 \u0438 \u043C\u043E\u0431\u0438\u043B\u044C\u043D\u044B\u0439";
457
460
  IconTitleMap["NewDocIcon"] = "\u041D\u043E\u0432\u044B\u0439 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442";
458
461
  IconTitleMap["OfficeIcon"] = "\u041E\u0444\u0438\u0441";
@@ -491,15 +494,23 @@
491
494
  const svgUseStyleMap = {
492
495
  normal: 'text-primary-main',
493
496
  black: 'text-black',
494
- white: 'text-black invert',
497
+ white: 'text-black',
495
498
  };
496
499
  const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${IconTitleMap[name] || name}`, title = alt, iconVersion = 'normal', asSVG, ...imgProps }) => {
497
500
  const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
498
- if (asSVG) {
499
- return (jsxs("svg", { className: className, ...imgProps, "aria-hidden": "true", children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { className: `${svgUseStyleMap[iconVersion]} ${imageClassName}`, href: `${href}#icon`, xlinkHref: `${href}#icon` })] }));
501
+ if (asSVG && IconInverseMap[name]) {
502
+ return (jsx(Background, { className: className, children: jsxs("svg", { className: [
503
+ getSvgSize(className, imgProps.width),
504
+ svgUseStyleMap[iconVersion],
505
+ imageClassName,
506
+ getInvertStyle(name, iconVersion),
507
+ ].join(' '), ...imgProps, "aria-hidden": "true", children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }) }));
500
508
  }
501
509
  return (jsx("img", { className: className, src: href, alt: alt, title: title, ...imgProps, "aria-hidden": "true" }));
502
510
  });
511
+ const getInvertStyle = (name, iconVersion) => iconVersion === 'white' && IconInverseMap[name] ? 'invert' : '';
512
+ const getSvgSize = (className, width) => width ? `width: ${width}px ` : 'w-full h-full';
513
+ const Background = JSX(({ className, children }) => className ? jsx("div", { className: className, children: children }) : children);
503
514
 
504
515
  function getIconVersion(image) {
505
516
  return typeof image === 'string' ? 'normal' : image.iconVersion || 'normal';
@@ -556,6 +567,11 @@
556
567
  return style ? style.filter(Boolean).join(' ') : '';
557
568
  }
558
569
 
570
+ const Description = JSX((props) => {
571
+ const { className = '', description } = props;
572
+ return jsx("div", { className: `${className}`, children: description });
573
+ });
574
+
559
575
  const ALIGN_TEXT = {
560
576
  left: 'text-left',
561
577
  center: 'text-center',
@@ -611,11 +627,6 @@
611
627
  },
612
628
  };
613
629
 
614
- const Description = JSX((props) => {
615
- const { className = '', description } = props;
616
- return jsx("div", { className: `${className}`, children: description });
617
- });
618
-
619
630
  const Headline = JSX(({ bgColorHeadline = 'transparent', align = 'center', className = '', title, description, headlineVersion = 'XL', as, ...rest }) => {
620
631
  const STYLE_MAPS = HEADLINE_BLOCK_STYLE_MAPS[bgColorHeadline];
621
632
  const SIZE_MAPS = HEADLINE_VERSION[headlineVersion];
@@ -802,7 +813,7 @@
802
813
  const buttonStyleMap = {
803
814
  primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
804
815
  secondary: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
805
- white: 'text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white',
816
+ white: 'text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main',
806
817
  link: '',
807
818
  };
808
819
  const DisabledStyle = 'bg-main-divider text-main-disabled';
@@ -1022,7 +1033,7 @@
1022
1033
  function renderBenefits$1(benefits, version, image) {
1023
1034
  // picture width = 242px. Text can overlay picture 20px deep. Outer paddings_x = 36px. 242-36-20 = 186px
1024
1035
  const BENEFITS_WIDTH = image?.src ? 'max-w-[calc(100%-186px)]' : '100%';
1025
- return (jsx("div", { className: `z-10 grid grid-cols-[max-content_1fr] auto-rows-auto gap-x-6 gap-y-2.5 items-baseline
1036
+ return (jsx("div", { className: `z-10 grid grid-cols-[max-content_1fr] auto-rows-auto gap-x-6 gap-y-2.5 items-baseline
1026
1037
  ${BENEFITS_WIDTH}`, children: benefits.length ? benefits.map(renderBenefit(version)) : null }));
1027
1038
  }
1028
1039
  function renderBenefit(version = 'primary') {
@@ -1139,7 +1150,7 @@
1139
1150
  LinkList,
1140
1151
  };
1141
1152
 
1142
- const renderBlocksList = ({ blocks, context, className = '' }) => blocks?.length ? blocks.map(renderBlock$1({ context, className })) : null;
1153
+ const renderBlocksList$1 = ({ blocks, context, className = '' }) => blocks?.length ? blocks.map(renderBlock$1({ context, className })) : null;
1143
1154
  const renderBlock$1 = ({ context, className }) => (block, i) => {
1144
1155
  if (!block) {
1145
1156
  return null;
@@ -1154,7 +1165,7 @@
1154
1165
  };
1155
1166
 
1156
1167
  const AccordionItemInner = JSX(({ blocks, context }) => {
1157
- return (jsx("div", { className: "grid grid-cols-12 transition-all duration-300 max-h-0 overflow-hidden", children: renderBlocksList({ context, blocks, className: '!p-0 mb-3.5' }) }));
1168
+ return (jsx("div", { className: "grid grid-cols-12 transition-all duration-300 max-h-0 overflow-hidden", children: renderBlocksList$1({ context, blocks, className: '!p-0 mb-3.5' }) }));
1158
1169
  });
1159
1170
 
1160
1171
  const useActiveHandler$1 = ({ blocks, initialState = false }) => {
@@ -1316,6 +1327,8 @@
1316
1327
  return buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex flex-col mt-7 gap-2" })) : null;
1317
1328
  }
1318
1329
 
1330
+ const renderFootnote = (text) => text ? jsx("p", { className: "text-s-light text-secondary-text mt-7", children: text }) : null;
1331
+
1319
1332
  const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
1320
1333
 
1321
1334
  const DISABLED_INPUT_CLASSES = 'disabled:border-main-stroke disabled:bg-main-divider';
@@ -1460,8 +1473,6 @@
1460
1473
  };
1461
1474
  };
1462
1475
 
1463
- const renderFootnote = (text) => text ? jsx("p", { className: "text-s-light text-secondary-text mt-7", children: text }) : null;
1464
-
1465
1476
  const BonusCalculatorForm = JSX(({ context, className = '', sourceBookDir = '', buttons, footnote }) => {
1466
1477
  const [travelExpenseValue, setTravelExpenseValue] = useState(DEFAULT_TRAVEL_MIN_SUM);
1467
1478
  const [restExpenseValue, setRestExpenseValue] = useState(DEFAULT_REST_MIN_SUM);
@@ -1724,7 +1735,7 @@
1724
1735
  white: 'bg-white',
1725
1736
  };
1726
1737
  const CatalogCard = JSX(({ className = '', title, description, image, price, button, colors }) => {
1727
- return (jsxs("section", { className: `border border-solid box-border p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? jsx(Img, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? jsx("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-m-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? jsxs("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, button ? renderButton(button) : null] }));
1738
+ return (jsxs("section", { className: `border border-solid box-border border-main-stroke p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? jsx(Img, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? jsx("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-m-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? jsxs("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, button ? renderButton(button) : null] }));
1728
1739
  });
1729
1740
  const renderColorOption = (color, i) => (jsx("span", { className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap[color]}` }, String(i)));
1730
1741
  const renderButton = (button) => {
@@ -1959,7 +1970,7 @@
1959
1970
  return (jsxs("tr", { className: "pb-1 text-h6", children: [jsx("td", { className: "pt-4", children: jsxs("div", { className: "flex items-center", children: [code ? jsx(Img, { image: { icon: CURRENCY_ICONS_MAP[code] }, width: "24", height: "24" }) : null, jsx("span", { className: "ml-2", children: code })] }) }), jsx("td", { className: "pt-4 pl-11", children: formatCurrency(exchangeCurrencyItem?.sell) }), jsx("td", { className: "pt-4 pl-11", children: formatCurrency(exchangeCurrencyItem?.buy) })] }, code));
1960
1971
  };
1961
1972
 
1962
- const CurrentLocation = JSX(({ className = '', address, distance }) => (jsxs("div", { className: `flex ${className}`, children: [jsx(Img, { image: { icon: 'GpsIcon' }, width: "24", height: "24", asSVG: true }), jsxs("div", { className: "ml-3", children: [address ? jsx("p", { className: "text-primary-main m-0 mb-1 text-l", children: address }) : null, distance ? (jsxs("p", { className: "text-secondary-text m-0 text-m", children: ["\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0431\u043B\u0438\u0436\u0430\u0439\u0448\u0435\u0433\u043E \u043E\u0444\u0438\u0441\u0430 - ", distance] })) : null] })] })));
1973
+ const CurrentLocation = JSX(({ className = '', address, distance }) => (jsxs("div", { className: `flex ${className}`, children: [jsx(Img, { image: { icon: 'GpsIcon' }, width: "24", height: "24", asSVG: true }), jsxs("div", { className: "ml-3", children: [address ? jsx("p", { className: "text-primary-main m-0 mb-1 text-l", children: address }) : null, distance ? (jsxs("p", { className: "text-secondary-text m-0 text-m-light", children: ["\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0431\u043B\u0438\u0436\u0430\u0439\u0448\u0435\u0433\u043E \u043E\u0444\u0438\u0441\u0430 - ", distance] })) : null] })] })));
1963
1974
 
1964
1975
  const calculateResult = (value, rate, precision) => {
1965
1976
  const result = Number(formatValue(value)) * Math.pow(rate, precision ? -1 : 1);
@@ -2100,7 +2111,8 @@
2100
2111
  currencyRatesBuy.unshift({ code: Currency.RUB });
2101
2112
  const currencyRatesSell = currencyRates.filter((_) => _.sell);
2102
2113
  currencyRatesSell.push({ code: Currency.RUB });
2103
- return (jsx(BlockWrapper, { context: context, className: `bg-white text-primary-text font-sans p-9 box-border ${className}`, ...rest, children: jsx(BaseTile, { context: context, title: jsx(Heading, { headingType: "h4", title: title, className: "whitespace-pre-wrap text-h4" }), children: jsxs("div", { className: "flex", children: [jsxs("div", { className: "mr-14 pt-4", children: [currencyRates ? (jsx(CurrencyTable, { className: "mb-[30px]", exchangeCurrencyItems: currencyRates })) : null, jsx(CurrentLocation, { ...DEFAULT_LOCATION })] }), currencyRates.length && currencyRatesBuy.length && currencyRatesSell.length ? (jsx(ExchangeCurrencyCalculator, { className: "grow", context: context, currencyRatesBuy: currencyRatesBuy, currencyRatesSell: currencyRatesSell, button: button })) : null] }) }) }));
2114
+ return (jsx(BlockWrapper, { context: context, className: `bg-white text-primary-text font-sans p-9 box-border min-h-[320px]
2115
+ ${className}`, ...rest, children: jsx(BaseTile, { context: context, title: jsx(Heading, { headingType: "h4", title: title, className: "whitespace-pre-wrap text-h4 mb-5" }), children: jsxs("div", { className: "flex", children: [jsxs("div", { className: "mr-14 pt-4", children: [currencyRates ? (jsx(CurrencyTable, { className: "mb-[30px]", exchangeCurrencyItems: currencyRates })) : null, jsx(CurrentLocation, { ...DEFAULT_LOCATION })] }), currencyRates.length && currencyRatesBuy.length && currencyRatesSell.length ? (jsx(ExchangeCurrencyCalculator, { className: "grow", context: context, currencyRatesBuy: currencyRatesBuy, currencyRatesSell: currencyRatesSell, button: button })) : null] }) }) }));
2104
2116
  });
2105
2117
 
2106
2118
  const ICON_VERSION_MAP = {
@@ -2115,8 +2127,8 @@
2115
2127
  'bg-white': 'text-primary-text',
2116
2128
  transparent: 'text-white',
2117
2129
  };
2118
- const Logo = JSX(({ className = '', href, logo, children = logo?.title, targetBlank, bgColor = 'bg-white', hideTitle, }) => {
2119
- return (jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || '/', target: targetBlank ? '_blank' : '_self', "aria-label": logo?.title || 'Россельхозбанк', children: [logo?.image?.src ? (jsx(Img, { image: logo.image, className: SVG_COLOR[bgColor], width: "40", height: "45", asSVG: true })) : (jsx(Img, { image: { icon: 'LogoIcon', iconVersion: ICON_VERSION_MAP[bgColor] }, className: `${SVG_COLOR[bgColor]} w-10`, width: "40", height: "45", asSVG: true })), hideTitle ? null : renderTitle$1(children, bgColor, logo?.title)] }));
2130
+ const Logo = JSX(({ className = '', href, logo, children = logo?.title, targetBlank, bgColor = 'bg-white', showTitle = true, }) => {
2131
+ return (jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || '/', target: targetBlank ? '_blank' : '_self', "aria-label": logo?.title || 'Россельхозбанк', children: [logo?.image?.src ? (jsx(Img, { image: logo.image, className: SVG_COLOR[bgColor], width: "40", height: "45", asSVG: true })) : (jsx(Img, { image: { icon: 'LogoIcon', iconVersion: ICON_VERSION_MAP[bgColor] }, className: `${SVG_COLOR[bgColor]} w-10`, width: "40", height: "45", asSVG: true })), showTitle ? renderTitle$1(children, bgColor, logo?.title) : null] }));
2120
2132
  });
2121
2133
  const renderTitle$1 = (children, bgColor, title) => {
2122
2134
  const text = children || title || 'Россельхозбанк';
@@ -2242,7 +2254,7 @@
2242
2254
  return null;
2243
2255
  }
2244
2256
  const classes = version === 'secondary'
2245
- ? 'bg-secondary-light hover:bg-secondary-hover'
2257
+ ? 'bg-white hover:bg-secondary-hover'
2246
2258
  : 'border-solid border-[1px] border-main-divider hover:border-transparent hover:bg-primary-main';
2247
2259
  const isPrimary = version === 'primary';
2248
2260
  return (jsx("a", { className: `flex items-center justify-center rounded-md w-14 h-14 group box-border ${classes} ${isPrimary ? 'hover:text-black' : ''}`, href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", children: icon ? (jsx(Img, { image: icon, imageClassName: "group-hover:text-white", width: "24", height: "24", asSVG: true })) : null }));
@@ -2566,7 +2578,7 @@
2566
2578
  };
2567
2579
 
2568
2580
  const OtherProductsItem = JSX(({ label, blocks, context, dataTheme, isUnfolded }) => {
2569
- const foldableBlocks = renderBlocksList({
2581
+ const foldableBlocks = renderBlocksList$1({
2570
2582
  context,
2571
2583
  blocks,
2572
2584
  });
@@ -2611,7 +2623,7 @@
2611
2623
  const galleryNav = slides.map((s) => s.nav);
2612
2624
  const galleryBlocks = slides.map((s) => s.productBlock);
2613
2625
  const [activeSlideIndex, setActiveSlideIndex] = useState(0);
2614
- return (jsxs(BlockWrapper, { context: context, className: `box-border pt-[50px] overflow-hidden relative font-sans w-100 ${className}
2626
+ return (jsxs(BlockWrapper, { context: context, className: `box-border pt-[50px] overflow-hidden relative font-sans w-100 mb-6 ${className}
2615
2627
  ${VersionStyleMap[version]}`, ...rest, children: [jsx("div", { className: "flex duration-1000 pb-14", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((_, i) => renderProductBlock({ ..._, version }, i, context)) }), jsx("div", { className: "flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border h-28", children: galleryNav.map((slide, i) => renderNavButton({
2616
2628
  slide,
2617
2629
  i,
@@ -2628,19 +2640,19 @@
2628
2640
  function renderNavButton({ slide, i, activeSlideIndex, onClick, version }) {
2629
2641
  const isActiveBtn = i === activeSlideIndex;
2630
2642
  const btnClassName = isActiveBtn
2631
- ? 'bg-white shadow-dark-blue/42 w-[354px] min-w-[354px] border-none'
2632
- : `min-w-[277px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10
2643
+ ? 'bg-white shadow-dark-blue/42 min-w-[354px] border-none p-6'
2644
+ : `min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur
2633
2645
  ${VersionStyleMap[version]}`;
2634
2646
  const btnTitleClassName = isActiveBtn
2635
- ? 'text-primary-text text-h6'
2636
- : `text-l ${productBlockStyleMap[version].title}`;
2647
+ ? 'text-primary-text !text-h6 p-2'
2648
+ : `text-l pb-1 ${productBlockStyleMap[version].title}`;
2637
2649
  const btnDescClassName = isActiveBtn
2638
- ? 'text-secondary-text text-m-title-xs mt-2.5'
2639
- : `text-m mt-1.5 ${productBlockStyleMap[version].text}`;
2650
+ ? 'text-secondary-text text-l-light mt-2.5'
2651
+ : `text-m-light ${productBlockStyleMap[version].text}`;
2640
2652
  const additionalBorder = version === 'secondary' ? 'border-white/50' : 'border-black/50';
2641
- return (jsx("button", { type: "button", onClick: onClick, "aria-label": slide?.title, className: `box-border font-sans relative overflow-hidden border border-white/50 cursor-pointer text-left mx-1 grow basis-0 pt-5 pb-[23px]
2653
+ return (jsx("button", { type: "button", onClick: onClick, "aria-label": slide?.title, className: `box-border relative overflow-hidden border border-white/50 cursor-pointer text-left mx-1 grow basis-0
2642
2654
  ${btnClassName} ${additionalBorder}
2643
- `, children: jsxs("div", { className: "border-0 px-6", children: [jsx("div", { className: `font-medium ${btnTitleClassName}`, children: slide?.title }), jsx("div", { className: `text-secondary-text ${btnDescClassName}`, children: slide.description })] }) }, String(i)));
2655
+ `, children: jsxs("div", { className: "border-0 px-6", children: [jsx("div", { className: `last:pb-0 ${btnTitleClassName}`, children: slide?.title }), jsx("div", { className: `text-secondary-text ${btnDescClassName}`, children: slide.description })] }) }, String(i)));
2644
2656
  }
2645
2657
 
2646
2658
  const PromoTile = JSX(({ className = '', context, title = 'Акции и спецпредложения', date, description, buttons = [], version = 'primary', ...rest }) => {
@@ -3295,26 +3307,48 @@
3295
3307
  return (jsxs(BlockWrapper, { tag: "div", context: context, className: `border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${className || ''}`, ...rest, children: [jsx(LikeButton, { onClick: handlerDecorator(likeService.like), ariaLabel: "\u041F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u00AB\u043B\u0430\u0439\u043A\u00BB" }), jsx(LikeButton, { onClick: handlerDecorator(likeService.dislike), className: "rotate-180", ariaLabel: "\u041F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u00AB\u0434\u0438\u0437\u043B\u0430\u0439\u043A\u00BB" }), jsx("span", { className: "select-none", children: likeService.likeCount })] }));
3296
3308
  });
3297
3309
 
3298
- const defaultBlockDecorator = ({ blockClassName, block, render }) => render({ blockClassName, block });
3299
- const ContentPage = JSX(({ className = '', context, blocksRegistry, data = {}, blockDecorator = defaultBlockDecorator, }) => {
3300
- const { style: pageStyle, blocks, slots = {}, likeControl, colorPalette = 'pc' } = data;
3301
- const { header } = slots;
3302
- return (jsxs("section", { className: `relative ${style2className(pageStyle)} ${className}`, "data-theme": colorPalette, children: [header?.blocks?.length ? (jsx("div", { className: `${style2className(header?.style)}`, children: header.blocks.map((block, i) => renderBlock({ block, page: data, blockDecorator, blocksRegistry, context }, i)) })) : null, blocks?.length ? (jsx("div", { className: "container grid grid-cols-12 gap-1", children: blocks.map((block, i) => renderBlock({ block, blockDecorator, blocksRegistry, context, page: data }, i)) })) : null, likeControl ? (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto", context: context }, "LikeControl") })) : null] }));
3303
- });
3304
- function renderBlock({ block, blockDecorator, blocksRegistry, context, page }, i) {
3310
+ const DEFAULT_SLOT_NAME = null;
3311
+
3312
+ function renderBlock(block, options, ancestors = [DEFAULT_SLOT_NAME]) {
3313
+ const { key, page, blockDecorator, blocksRegistry, context } = options;
3305
3314
  const { type } = block;
3306
3315
  if (!(type && type in blocksRegistry)) {
3307
3316
  console.warn(`No block with "${type}" is registered`);
3308
3317
  }
3309
- const BlockComponent = blocksRegistry[type || 'Placeholder'] || Placeholder;
3318
+ const BlockComponent = type && blocksRegistry[type];
3310
3319
  return blockDecorator({
3311
3320
  blockClassName: `scroll-mt-12 ${style2className(block.style)}`,
3312
3321
  block,
3313
- render: (props) => {
3314
- const { version, content, anchor, labels } = props.block;
3315
- return (jsx(BlockComponent, { className: props.blockClassName, version: version, context: context, page: page, anchor: anchor, labels: labels, ...content }, `${type}-${i}`));
3322
+ ancestors,
3323
+ // Adjusted by decorator block and blockClassName
3324
+ render: ({ block: adjustedBlock, blockClassName: adjustedBlockClassName }) => {
3325
+ const { version, content, anchor, labels, blocks: childBlocks } = adjustedBlock;
3326
+ const children = childBlocks
3327
+ ? childBlocks.map((_, j) => renderBlock(_, { ...options, key: `${options.key}-${j}` }, [...ancestors, block]))
3328
+ : null;
3329
+ return BlockComponent ? (jsx(BlockComponent, { className: adjustedBlockClassName, version: version, context: context, page: page, anchor: anchor, labels: labels, ...content, children: children }, key)) : null;
3316
3330
  },
3317
- }, `block-${i}`);
3331
+ }, key);
3332
+ }
3333
+
3334
+ const defaultBlockDecorator = ({ blockClassName, block, render }) => render({ blockClassName, block });
3335
+ const ContentPage = JSX((props) => {
3336
+ const { className = '', context, data = {} } = props;
3337
+ const { style: pageStyle, blocks, slots, likeControl, colorPalette = 'pc' } = data;
3338
+ const blocksListRenderer = renderBlocksList(props);
3339
+ return (jsxs("section", { className: `relative ${style2className(pageStyle)} ${className}`, "data-theme": colorPalette, children: [slots?.header?.blocks?.length ? (jsx("div", { className: `${style2className(slots.header.style)}`, children: blocksListRenderer(slots.header.blocks, ['header']) })) : null, blocks?.length ? (jsx("div", { className: "container grid grid-cols-12 gap-1", children: blocksListRenderer(blocks) })) : null, likeControl ? renderLikeControl(context) : null] }));
3340
+ });
3341
+ function renderBlocksList({ blocksRegistry, data, blockDecorator, context }) {
3342
+ return (blocks, ancestors) => blocks.map((block, i) => renderBlock(block, {
3343
+ key: `${block.type || '#'}-${i}`,
3344
+ blocksRegistry,
3345
+ page: data || {},
3346
+ blockDecorator: blockDecorator || defaultBlockDecorator,
3347
+ context,
3348
+ }, ancestors));
3349
+ }
3350
+ function renderLikeControl(context) {
3351
+ return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto", context: context }, "LikeControl") }));
3318
3352
  }
3319
3353
 
3320
3354
  exports.Blocks = Blocks;