@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
@@ -1,4 +1,4 @@
1
- <svg title="Ящик с замочной скважиной" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1
+ <svg title="Ящик с замочной скважиной" isInverse="true" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
2
  <path d="M2 15C2 20 4 22 9 22H15C20 22 22 20 22 15V9C22 4 20 2 15 2H9C4 2 2 4 2 9V10.91H9.64999" stroke="#000000" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
3
  <path d="M14.3511 10.9091C14.2511 11.6191 13.8311 12.2191 13.2511 12.5791V14.5591C13.2511 15.2491 12.6911 15.8091 12.0011 15.8091C11.3111 15.8091 10.7511 15.2491 10.7511 14.5591V12.5791C10.1711 12.2191 9.75109 11.6191 9.65109 10.9091C9.63109 10.7991 9.62109 10.6791 9.62109 10.5591C9.62109 9.03914 11.0611 7.85914 12.6411 8.27914C13.4411 8.48914 14.0911 9.13915 14.3011 9.93915C14.3911 10.2691 14.4011 10.5991 14.3511 10.9091Z" stroke="currentColor" stroke-width="2" stroke-miterlimit="10"/>
4
4
  <path d="M18.0016 10.9102H14.3516" stroke="#000000" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
@@ -1,4 +1,4 @@
1
- <svg title="Лого «Telegram»" viewBox="0 0 20 16" xmlns="http://www.w3.org/2000/svg">
1
+ <svg title="Лого «Telegram»" isInverse="true" viewBox="0 0 20 16" xmlns="http://www.w3.org/2000/svg">
2
2
  <path
3
3
  fill="currentColor"
4
4
  d="M1.226 6.968s8.846-3.512 11.913-4.749c1.177-.495 5.165-2.078 5.165-2.078s1.84-.692 1.687.99c-.051.692-.46 3.116-.87 5.738-.613 3.71-1.278 7.767-1.278 7.767s-.102 1.138-.971 1.336c-.87.197-2.3-.693-2.556-.891-.205-.148-3.835-2.374-5.165-3.463-.358-.297-.767-.89.051-1.583 1.841-1.632 4.04-3.66 5.37-4.947.613-.593 1.226-1.979-1.33-.297-3.63 2.424-7.21 4.7-7.21 4.7s-.818.495-2.352.05C2.146 9.094.357 8.5.357 8.5s-1.227-.741.87-1.533Z"
@@ -1,4 +1,4 @@
1
- <svg title="Пользователь в рамке" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1
+ <svg title="Пользователь в рамке" isInverse="true" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
2
  <path d="M18.1394 21.6207C17.2594 21.8807 16.2194 22.0007 14.9994 22.0007H8.99937C7.77937 22.0007 6.73937 21.8807 5.85938 21.6207C6.07937 19.0207 8.74937 16.9707 11.9994 16.9707C15.2494 16.9707 17.9194 19.0207 18.1394 21.6207Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
3
  <path d="M2 12.94V15C2 18.78 3.14 20.85 5.86 21.62C6.08 19.02 8.75 16.97 12 16.97C15.25 16.97 17.92 19.02 18.14 21.62C20.86 20.85 22 18.78 22 15V9C22 4 20 2 15 2H9C4 2 2 4 2 9V12.94ZM12 14.17C10.02 14.17 8.42 12.56 8.42 10.58C8.42 8.60002 10.02 7 12 7C13.98 7 15.58 8.60002 15.58 10.58C15.58 12.56 13.98 14.17 12 14.17Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
4
  <path d="M15.5799 10.58C15.5799 12.56 13.9799 14.17 11.9999 14.17C10.0199 14.17 8.41992 12.56 8.41992 10.58C8.41992 8.60002 10.0199 7 11.9999 7C13.9799 7 15.5799 8.60002 15.5799 10.58Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
@@ -1,4 +1,4 @@
1
- <svg title="Пользователь" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1
+ <svg title="Пользователь" isInverse="true" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
2
  <path d="M15.02 3.01A4.944 4.944 0 0 0 12 2C9.24 2 7 4.24 7 7s2.24 5 5 5 5-2.24 5-5M3.41 22c0-3.87 3.85-7 8.59-7 .96 0 1.89.13 2.76.37" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
3
  <path d="M22 18c0 .75-.21 1.46-.58 2.06-.21.36-.48.68-.79.94-.7.63-1.62 1-2.63 1a3.97 3.97 0 0 1-3.42-1.94A3.92 3.92 0 0 1 14 18c0-1.26.58-2.39 1.5-3.12A3.999 3.999 0 0 1 22 18Z" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
4
  <path d="m16.44 18 .99.99 2.13-1.97" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
@@ -1,4 +1,4 @@
1
- <svg title="Лого «VK»" viewBox="0 0 24 12" xmlns="http://www.w3.org/2000/svg">
1
+ <svg title="Лого «VK»" isInverse="true" viewBox="0 0 24 12" xmlns="http://www.w3.org/2000/svg">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1 +1 @@
1
- <svg title="Пополнение карты" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.19 7.06C6.45 7.02 6.72 7 7 7h10c.26 0 .51.01.75.05C20.33 7.35 22 9.26 22 12v5c0 3-2 5-5 5H7.63c.31-.26.58-.58.79-.94.37-.6.58-1.31.58-2.06 0-2.21-1.79-4-4-4-1.2 0-2.27.53-3 1.36V12c0-.87.17-1.66.48-2.33" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M17.75 7.05C17.51 7.01 17.26 7 17 7H7c-.28 0-.55.02-.81.06.14-.28.34-.54.58-.78l3.25-3.26a3.525 3.525 0 0 1 4.96 0l1.75 1.77c.64.63.98 1.43 1.02 2.26Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 19c0 .75-.21 1.46-.58 2.06A3.97 3.97 0 0 1 5 23a3.97 3.97 0 0 1-3.42-1.94A3.92 3.92 0 0 1 1 19c0-2.21 1.79-4 4-4s4 1.79 4 4ZM6.49 18.98H3.51M5 17.52v2.99" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M22 12.5h-3c-1.1 0-2 .9-2 2s.9 2 2 2h3" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
1
+ <svg title="Пополнение карты" isInverse="true" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.19 7.06C6.45 7.02 6.72 7 7 7h10c.26 0 .51.01.75.05C20.33 7.35 22 9.26 22 12v5c0 3-2 5-5 5H7.63c.31-.26.58-.58.79-.94.37-.6.58-1.31.58-2.06 0-2.21-1.79-4-4-4-1.2 0-2.27.53-3 1.36V12c0-.87.17-1.66.48-2.33" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M17.75 7.05C17.51 7.01 17.26 7 17 7H7c-.28 0-.55.02-.81.06.14-.28.34-.54.58-.78l3.25-3.26a3.525 3.525 0 0 1 4.96 0l1.75 1.77c.64.63.98 1.43 1.02 2.26Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 19c0 .75-.21 1.46-.58 2.06A3.97 3.97 0 0 1 5 23a3.97 3.97 0 0 1-3.42-1.94A3.92 3.92 0 0 1 1 19c0-2.21 1.79-4 4-4s4 1.79 4 4ZM6.49 18.98H3.51M5 17.52v2.99" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M22 12.5h-3c-1.1 0-2 .9-2 2s.9 2 2 2h3" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -1 +1 @@
1
- <svg title="Кошелёк с плюсом" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 15.44h-5M12 13v5" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 22H8.1c-.24 0-.48-.02-.71-.05-3.18-.21-4.88-1.91-5.09-5.09-.03-.23-.05-.47-.05-.71V14.2c0-2.01 1.22-3.74 2.96-4.49.6-.25 1.24-.39 1.92-.39h9.76c.49 0 .97.07 1.41.2 2 .6 3.46 2.47 3.46 4.67v1.95c0 .2-.01.4-.02.6-.19 3.5-2.14 5.26-5.84 5.26" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="m12.9 2.52-.03.07-2.9 6.73H7.12c-.68 0-1.33.14-1.92.39l1.75-4.18.04-.1.07-.16c.02-.06.04-.12.07-.17 1.31-3.03 2.79-3.72 5.77-2.58Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M18.29 9.52c-.45-.14-.93-.2-1.41-.2H9.97l2.9-6.73.03-.07c.15.05.29.12.44.18l2.21.93c1.23.51 2.09 1.04 2.61 1.68.1.12.18.23.25.36.09.14.16.28.2.43.04.09.07.18.09.26.27.84.11 1.87-.41 3.16ZM6.95 5.53 5.2 9.71a4.894 4.894 0 0 0-2.96 4.49v-2.93c0-2.84 2.02-5.21 4.71-5.74Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M21.76 11.27v2.93c0-2.2-1.46-4.07-3.46-4.67.52-1.3.67-2.32.42-3.17-.02-.09-.05-.18-.09-.26 1.86.96 3.13 2.93 3.13 5.17Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
1
+ <svg title="Кошелёк с плюсом" isInverse="true" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 15.44h-5M12 13v5" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 22H8.1c-.24 0-.48-.02-.71-.05-3.18-.21-4.88-1.91-5.09-5.09-.03-.23-.05-.47-.05-.71V14.2c0-2.01 1.22-3.74 2.96-4.49.6-.25 1.24-.39 1.92-.39h9.76c.49 0 .97.07 1.41.2 2 .6 3.46 2.47 3.46 4.67v1.95c0 .2-.01.4-.02.6-.19 3.5-2.14 5.26-5.84 5.26" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="m12.9 2.52-.03.07-2.9 6.73H7.12c-.68 0-1.33.14-1.92.39l1.75-4.18.04-.1.07-.16c.02-.06.04-.12.07-.17 1.31-3.03 2.79-3.72 5.77-2.58Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M18.29 9.52c-.45-.14-.93-.2-1.41-.2H9.97l2.9-6.73.03-.07c.15.05.29.12.44.18l2.21.93c1.23.51 2.09 1.04 2.61 1.68.1.12.18.23.25.36.09.14.16.28.2.43.04.09.07.18.09.26.27.84.11 1.87-.41 3.16ZM6.95 5.53 5.2 9.71a4.894 4.894 0 0 0-2.96 4.49v-2.93c0-2.84 2.02-5.21 4.71-5.74Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M21.76 11.27v2.93c0-2.2-1.46-4.07-3.46-4.67.52-1.3.67-2.32.42-3.17-.02-.09-.05-.18-.09-.26 1.86.96 3.13 2.93 3.13 5.17Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -1 +1 @@
1
- <svg title="Кошелёк" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.75 16.86v2.03c0 1.72-1.6 3.11-3.57 3.11-1.97 0-3.58-1.39-3.58-3.11v-2.03c0 1.72 1.6 2.94 3.58 2.94 1.97 0 3.57-1.23 3.57-2.94Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M10.75 14.11c0 .5-.14.96-.38 1.36-.59.97-1.8 1.58-3.2 1.58-1.4 0-2.61-.62-3.2-1.58-.24-.4-.38-.86-.38-1.36 0-.86.4-1.63 1.04-2.19.65-.57 1.54-.91 2.53-.91.99 0 1.88.35 2.53.91.66.55 1.06 1.33 1.06 2.19Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M10.75 14.11v2.75c0 1.72-1.6 2.94-3.57 2.94-1.97 0-3.58-1.23-3.58-2.94v-2.75C3.6 12.39 5.2 11 7.18 11c.99 0 1.88.35 2.53.91.64.56 1.04 1.34 1.04 2.2Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M22 10.97v2.06c0 .55-.44 1-1 1.02h-1.96c-1.08 0-2.07-.79-2.16-1.87-.06-.63.18-1.22.6-1.63.37-.38.88-.6 1.44-.6H21c.56.02 1 .47 1 1.02Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 3.5c.26 0 .51.01.75.05C19.33 3.85 21 5.76 21 8.5v1.45h-2.08c-.56 0-1.07.22-1.44.6-.42.41-.66 1-.6 1.63.09 1.08 1.08 1.87 2.16 1.87H21v1.45c0 3-2 5-5 5h-2.5M2 10.5v-2c0-2.72 1.64-4.62 4.19-4.94.26-.04.53-.06.81-.06h5" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
1
+ <svg title="Кошелёк" isInverse="true" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.75 16.86v2.03c0 1.72-1.6 3.11-3.57 3.11-1.97 0-3.58-1.39-3.58-3.11v-2.03c0 1.72 1.6 2.94 3.58 2.94 1.97 0 3.57-1.23 3.57-2.94Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M10.75 14.11c0 .5-.14.96-.38 1.36-.59.97-1.8 1.58-3.2 1.58-1.4 0-2.61-.62-3.2-1.58-.24-.4-.38-.86-.38-1.36 0-.86.4-1.63 1.04-2.19.65-.57 1.54-.91 2.53-.91.99 0 1.88.35 2.53.91.66.55 1.06 1.33 1.06 2.19Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M10.75 14.11v2.75c0 1.72-1.6 2.94-3.57 2.94-1.97 0-3.58-1.23-3.58-2.94v-2.75C3.6 12.39 5.2 11 7.18 11c.99 0 1.88.35 2.53.91.64.56 1.04 1.34 1.04 2.2Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M22 10.97v2.06c0 .55-.44 1-1 1.02h-1.96c-1.08 0-2.07-.79-2.16-1.87-.06-.63.18-1.22.6-1.63.37-.38.88-.6 1.44-.6H21c.56.02 1 .47 1 1.02Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 3.5c.26 0 .51.01.75.05C19.33 3.85 21 5.76 21 8.5v1.45h-2.08c-.56 0-1.07.22-1.44.6-.42.41-.66 1-.6 1.63.09 1.08 1.08 1.87 2.16 1.87H21v1.45c0 3-2 5-5 5h-2.5M2 10.5v-2c0-2.72 1.64-4.62 4.19-4.94.26-.04.53-.06.81-.06h5" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -1 +1 @@
1
- <svg title="Кошелёк с деньгами" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20 12.063V11a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-1.063" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="m5 7 8.571-5L15 4.308M10 7l8-4 2 2.91" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.56 18H21a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-7a1 1 0 0 0-1 1v3" stroke="#000000" stroke-width="2" stroke-linecap="round"/></svg>
1
+ <svg title="Кошелёк с деньгами" isInverse="true" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20 12.063V11a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-1.063" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="m5 7 8.571-5L15 4.308M10 7l8-4 2 2.91" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.56 18H21a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-7a1 1 0 0 0-1 1v3" stroke="#000000" stroke-width="2" stroke-linecap="round"/></svg>
@@ -0,0 +1,17 @@
1
+ import type { BlockDef, Slot, SlotsMap } from './ContentPageDef';
2
+
3
+ export const DEFAULT_SLOT_NAME = null;
4
+
5
+ export type BlockAncestors = [keyof SlotsMap | typeof DEFAULT_SLOT_NAME, ...Slot[]];
6
+
7
+ interface BlockDecoratorProps<VNode> {
8
+ blockClassName: string;
9
+ block: BlockDef;
10
+ ancestors: BlockAncestors; // Is needed to simplify page editor logic
11
+ render: (props: { blockClassName: string; block: BlockDef }) => VNode;
12
+ }
13
+
14
+ export type BlockDecorator<VNode = any> = (
15
+ props: BlockDecoratorProps<VNode>,
16
+ index?: number | string,
17
+ ) => any;
@@ -0,0 +1,11 @@
1
+ import type { UNIComponent } from '@redneckz/uni-jsx';
2
+ import type { UniBlockProps } from './ContentPageDef';
3
+ import type { VNode } from './VNode';
4
+
5
+ export type JSXBlock<BlockProps = Record<string, any>> = UNIComponent<
6
+ BlockProps & UniBlockProps,
7
+ any,
8
+ VNode | VNode[]
9
+ >;
10
+
11
+ export type BlocksRegistry<BlockProps = Record<string, any>> = Record<string, JSXBlock<BlockProps>>;
@@ -1,6 +1,5 @@
1
- import type { BlockContent } from './components/BlockContent';
2
- import type { ContentPageContext } from './components/ContentPage/ContentPageContext';
3
- import type { BlockVersion } from './model/BlockVersion';
1
+ import type { ContentPageContext } from '../components/ContentPage/ContentPageContext';
2
+ import type { BlockVersion } from './BlockVersion';
4
3
 
5
4
  /**
6
5
  * @title Цветовая палитра
@@ -8,10 +7,9 @@ import type { BlockVersion } from './model/BlockVersion';
8
7
  */
9
8
  export type ColorPalette = '' | 'pc' | 'bc' | 'eo';
10
9
 
11
- export interface BaseBlockDef {
10
+ export interface BaseBlockDef extends Slot {
12
11
  type?: string;
13
- style?: string[];
14
- content?: BlockContent;
12
+ content?: Record<string, any>;
15
13
  version?: BlockVersion;
16
14
  hidden?: boolean;
17
15
  anchor?: string;
@@ -45,10 +43,8 @@ export interface ContentPageMeta {
45
43
  jsonLd?: string;
46
44
  }
47
45
 
48
- export interface ContentPageDef extends ContentPageMeta {
46
+ export interface ContentPageDef extends ContentPageMeta, Slot {
49
47
  _customPageType?: string;
50
- style?: string[];
51
- blocks?: BlockDef[];
52
48
  slots?: SlotsMap;
53
49
  fallback?: Record<string, unknown>;
54
50
  likeControl?: boolean;
@@ -62,17 +58,3 @@ export interface UniBlockProps {
62
58
  labels?: string[];
63
59
  anchor?: string;
64
60
  }
65
-
66
- export interface DaDataResult {
67
- suggestions?: DaDataSuggestion<DaDataAddress>[];
68
- }
69
-
70
- export interface DaDataSuggestion<T> {
71
- value?: string;
72
- unrestricted_value?: string;
73
- data?: T;
74
- }
75
-
76
- export interface DaDataAddress {
77
- city?: string | null;
78
- }
@@ -1,4 +1,5 @@
1
1
  type Key = string;
2
2
  type Data = any;
3
+
3
4
  export type FallbackMap = Record<Key, () => Promise<Data>>;
4
5
  export type Fallback = Record<Key, Data>;
@@ -1,7 +1,7 @@
1
1
  import { useAsyncData } from '@redneckz/uni-jsx/lib/hooks/useAsyncData';
2
2
  import type { HeaderContent } from '../../components/Header/HeaderContent';
3
3
  import { projectSettings } from '../../ProjectSettings';
4
- import type { Fallback } from '../../types/Fallback';
4
+ import type { Fallback } from '../../model/Fallback';
5
5
  import { fetchJSONUnsafe } from '../../utils/fetchJSON';
6
6
 
7
7
  export function useSitemap(fallback: Fallback = {}): HeaderContent {
@@ -4,6 +4,7 @@ import type { IconVersion } from '../../model/IconVersion';
4
4
  import type { DescriptionProps, LabelProps } from '../../model/HeadlineType';
5
5
 
6
6
  export interface BenefitItemCommonProps {
7
+ /** @hidden */
7
8
  benefitsVersion?: IconVersion;
8
9
  /** @hidden */
9
10
  version?: BlockVersion;
@@ -2,7 +2,7 @@ import { JSX } from '@redneckz/uni-jsx';
2
2
  import { useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
3
3
  import type { ContentPageContext } from '../components/ContentPage/ContentPageContext';
4
4
  import { EventBus } from '../EventBus/EventBus';
5
- import type { UniBlockProps } from '../types';
5
+ import type { UniBlockProps } from '../model/ContentPageDef';
6
6
  import { changeHashOnObserve } from '../utils/changeHashOnObserve';
7
7
 
8
8
  interface BlockWrapperProps extends UniBlockProps, Record<string, any> {
@@ -1,6 +1,6 @@
1
- import type { JSXBlock } from '../../components/ContentPage/ContentPage';
2
1
  import type { ContentPageContext } from '../../components/ContentPage/ContentPageContext';
3
- import type { UniBlockProps } from '../../types';
2
+ import type { JSXBlock } from '../../model/BlocksRegistry';
3
+ import type { UniBlockProps } from '../../model/ContentPageDef';
4
4
  import { style2className } from '../../utils/style2className';
5
5
  import type { BlockDef } from './BlocksListProps';
6
6
  import { EmbeddableBlocks } from './EmbeddableBlocks';
@@ -39,6 +39,9 @@ export const Button = JSX<ButtonWithIconProps>(
39
39
  ariaLabel,
40
40
  ...rest
41
41
  }) => {
42
+ // It isn't a valid HTML attribute. Must be excluded from "rest"
43
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
44
+ const { asSVG, iconRight, appendRight, icon, ...buttonInnerRest } = rest;
42
45
  const buttonInner = children ?? (
43
46
  <ButtonInner
44
47
  text={text}
@@ -75,7 +78,7 @@ export const Button = JSX<ButtonWithIconProps>(
75
78
  onClick={onClick}
76
79
  aria-label={ariaLabel}
77
80
  role={!href ? 'button' : 'link'}
78
- {...rest}
81
+ {...buttonInnerRest}
79
82
  >
80
83
  {buttonInner}
81
84
  </a>
@@ -1,6 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { useLink } from '../../hooks/useLink';
3
- import { UniBlockProps } from '../../types';
3
+ import { UniBlockProps } from '../../model/ContentPageDef';
4
4
  import { Img } from '../Img/Img';
5
5
  import { Button } from './Button';
6
6
  import type { ButtonContent, ButtonWithIconProps } from './ButtonProps';
@@ -4,7 +4,8 @@ export const buttonStyleMap: Record<ButtonVersion, string> = {
4
4
  primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
5
5
  secondary:
6
6
  'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
7
- white: 'text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white',
7
+ white:
8
+ 'text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main',
8
9
  link: '',
9
10
  };
10
11
 
@@ -1,7 +1,7 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { ContentPageContext } from '../../components/ContentPage/ContentPageContext';
3
+ import { ColorPalette } from '../../model/ContentPageDef';
3
4
  import type { VNode } from '../../model/VNode';
4
- import { ColorPalette } from '../../types';
5
5
  import { clamp } from '../../utils/clamp';
6
6
  import { Icon } from '../Icon/Icon';
7
7
  import { foldableBlockClassNames, useActiveHandler } from './useActiveHandler';
@@ -1,5 +1,5 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import { IconTitleMap } from '../../icons/IconName';
2
+ import { IconInverseMap, IconTitleMap } from '../../icons/IconName';
3
3
  import type { IconVersion } from '../../model/IconVersion';
4
4
  import { projectSettings } from '../../ProjectSettings';
5
5
  import type { IconProps } from './IconProps';
@@ -7,7 +7,7 @@ import type { IconProps } from './IconProps';
7
7
  const svgUseStyleMap: Record<IconVersion, string> = {
8
8
  normal: 'text-primary-main',
9
9
  black: 'text-black',
10
- white: 'text-black invert',
10
+ white: 'text-black',
11
11
  };
12
12
 
13
13
  export const Icon = JSX<IconProps>(
@@ -23,17 +23,24 @@ export const Icon = JSX<IconProps>(
23
23
  }) => {
24
24
  const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
25
25
 
26
- if (asSVG) {
26
+ if (asSVG && IconInverseMap[name]) {
27
27
  return (
28
- <svg className={className} {...imgProps} aria-hidden="true">
29
- {title ? <title>{title}</title> : null}
30
- {alt ? <desc>{alt}</desc> : null}
31
- <use
32
- className={`${svgUseStyleMap[iconVersion]} ${imageClassName}`}
33
- href={`${href}#icon`}
34
- xlinkHref={`${href}#icon`}
35
- />
36
- </svg>
28
+ <Background className={className}>
29
+ <svg
30
+ className={[
31
+ getSvgSize(className, imgProps.width),
32
+ svgUseStyleMap[iconVersion],
33
+ imageClassName,
34
+ getInvertStyle(name, iconVersion),
35
+ ].join(' ')}
36
+ {...imgProps}
37
+ aria-hidden="true"
38
+ >
39
+ {title ? <title>{title}</title> : null}
40
+ {alt ? <desc>{alt}</desc> : null}
41
+ <use href={`${href}#icon`} xlinkHref={`${href}#icon`} />
42
+ </svg>
43
+ </Background>
37
44
  );
38
45
  }
39
46
 
@@ -49,3 +56,13 @@ export const Icon = JSX<IconProps>(
49
56
  );
50
57
  },
51
58
  );
59
+
60
+ const getInvertStyle = (name: string, iconVersion: IconVersion) =>
61
+ iconVersion === 'white' && IconInverseMap[name] ? 'invert' : '';
62
+
63
+ const getSvgSize = (className?: string, width?: string) =>
64
+ width ? `width: ${width}px ` : 'w-full h-full';
65
+
66
+ const Background = JSX<{ className?: string }>(({ className, children }) =>
67
+ className ? <div className={className}>{children}</div> : children,
68
+ );
@@ -1,7 +1,7 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { useState } from '@redneckz/uni-jsx/lib/hooks';
3
3
  import { useTariffsInnerTableData } from '../../hooks/useTariffsInnerTableData';
4
- import type { UniBlockProps } from '../../types';
4
+ import type { UniBlockProps } from '../../model/ContentPageDef';
5
5
  import { InnerTableBody } from './InnerTableBody';
6
6
  import { TableInnerButton } from './InnerTableButton';
7
7
  import { InnerTableHeader } from './InnerTableHeader';
@@ -1,6 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { useState } from '@redneckz/uni-jsx/lib/hooks';
3
- import { type UniBlockProps } from '../../types';
3
+ import { type UniBlockProps } from '../../model/ContentPageDef';
4
4
  import { Img } from '../Img/Img';
5
5
  import { InnerTableBodyItem } from './InnerTableBodyItem';
6
6
  import type { DataItem } from './InnerTableProps';
@@ -1,6 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { useState } from '@redneckz/uni-jsx/lib/hooks';
3
- import type { UniBlockProps } from '../../types';
3
+ import type { UniBlockProps } from '../../model/ContentPageDef';
4
4
  import { renderArrows } from '../Button/renderArrows';
5
5
  import type { RowsData } from './InnerTableProps';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { EventBus } from '../../EventBus/EventBus';
3
- import { UniBlockProps } from '../../types';
3
+ import { UniBlockProps } from '../../model/ContentPageDef';
4
4
  import { Button } from '../Button/Button';
5
5
  import { Icon } from '../Icon/Icon';
6
6
  import type { TariffsTableInnerEvent } from './InnerTableProps';
@@ -7,7 +7,7 @@ export interface LogoProps {
7
7
  href: string;
8
8
  targetBlank: boolean;
9
9
  bgColor?: string;
10
- hideTitle?: boolean;
10
+ showTitle?: boolean;
11
11
  }
12
12
 
13
13
  const SVG_COLOR: Record<BgColorVersion, string> = {
@@ -20,7 +20,7 @@ const TEXT_COLOR: Record<BgColorVersion, string> = {
20
20
  };
21
21
 
22
22
  export const Logo = JSX<Partial<LogoProps>>(
23
- ({ className = '', href, children, targetBlank, bgColor = 'bg-white', hideTitle }) => {
23
+ ({ className = '', href, children, targetBlank, bgColor = 'bg-white', showTitle = true }) => {
24
24
  return (
25
25
  <a
26
26
  className={`inline-flex items-center font-sans no-underline ${className}`}
@@ -28,12 +28,16 @@ export const Logo = JSX<Partial<LogoProps>>(
28
28
  target={targetBlank ? '_blank' : '_self'}
29
29
  aria-label="Россельхозбанк"
30
30
  >
31
- <Img image={{ icon: 'LogoIcon' }} className={`${SVG_COLOR[bgColor]} w-10 h-[38px]`} asSVG />
32
- {hideTitle ? null : (
31
+ <Img
32
+ image={{ icon: 'LogoIcon', iconVersion: SVG_COLOR[bgColor] }}
33
+ className={`${SVG_COLOR[bgColor]} w-10 h-[38px]`}
34
+ asSVG
35
+ />
36
+ {showTitle ? (
33
37
  <span className={`${TEXT_COLOR[bgColor]} text-s font-medium ml-2.5`}>
34
38
  {children || 'Россельхозбанк'}
35
39
  </span>
36
- )}
40
+ ) : null}
37
41
  </a>
38
42
  );
39
43
  },
@@ -1,5 +1,5 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import { UniBlockProps } from '../../types';
2
+ import { UniBlockProps } from '../../model/ContentPageDef';
3
3
  import { Checkbox } from '../Checkbox/Checkbox';
4
4
 
5
5
  interface RadioButtonItem {
@@ -1,5 +1,5 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import type { UniBlockProps } from '../../types';
2
+ import type { UniBlockProps } from '../../model/ContentPageDef';
3
3
  import { SearchBarInner } from './SearchBarInner';
4
4
 
5
5
  export const SearchBar = JSX<UniBlockProps>(({ className = '' }) => {
@@ -1,4 +1,4 @@
1
- import type { UniBlockProps } from '../../types';
1
+ import type { UniBlockProps } from '../../model/ContentPageDef';
2
2
 
3
3
  /**
4
4
  * @title Контейнер
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redneckz/wildless-cms-uni-blocks",
3
- "version": "0.5.8",
3
+ "version": "0.5.10",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "author": "ЦК",
@@ -1,6 +1,18 @@
1
1
  import { getGeolocation } from '../utils/getGeolocation';
2
2
 
3
- import type { DaDataResult } from '../types';
3
+ interface DaDataSuggestion<T> {
4
+ value?: string;
5
+ unrestricted_value?: string;
6
+ data?: T;
7
+ }
8
+
9
+ interface DaDataAddress {
10
+ city?: string | null;
11
+ }
12
+
13
+ export interface DaDataResult {
14
+ suggestions?: DaDataSuggestion<DaDataAddress>[];
15
+ }
4
16
 
5
17
  export function DaDataAPI(baseURL = '') {
6
18
  async function getFetcherAddress() {
@@ -1,5 +1,5 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import type { UniBlockProps } from '../../types';
2
+ import type { UniBlockProps } from '../../model/ContentPageDef';
3
3
  import { Heading } from '../../ui-kit/Heading/Heading';
4
4
  import type { AccordionContent } from './AccordionContent';
5
5
  import { AccordionItem } from './AccordionItem';
@@ -1,6 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { AlignType } from '../../model/AlignType';
3
- import type { UniBlockProps } from '../../types';
3
+ import type { UniBlockProps } from '../../model/ContentPageDef';
4
4
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
5
5
  import { Heading } from '../../ui-kit/Heading/Heading';
6
6
  import type { AccordionContent } from './AccordionContent';
@@ -1,5 +1,5 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import type { UniBlockProps } from '../../types';
2
+ import type { UniBlockProps } from '../../model/ContentPageDef';
3
3
  import { Img } from '../../ui-kit/Img/Img';
4
4
  import type { AccordionItemCommonProps } from './AccordionContent';
5
5
  import { AccordionItemInner } from './AccordionItemInner';
@@ -1,5 +1,5 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import type { UniBlockProps } from '../../types';
2
+ import type { UniBlockProps } from '../../model/ContentPageDef';
3
3
  import { Img } from '../../ui-kit/Img/Img';
4
4
  import type { AccordionItemCommonProps } from './AccordionContent';
5
5
  import { AccordionItemInner } from './AccordionItemInner';
@@ -1,5 +1,5 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import type { UniBlockProps } from '../../types';
2
+ import type { UniBlockProps } from '../../model/ContentPageDef';
3
3
  import type { BaseTileCommonProps } from './BaseTileProps';
4
4
 
5
5
  export interface BaseTileProps extends BaseTileCommonProps, UniBlockProps {}
@@ -1,7 +1,7 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import type { BlockVersion } from '../../model/BlockVersion';
3
+ import type { UniBlockProps } from '../../model/ContentPageDef';
3
4
  import type { Picture } from '../../model/Picture';
4
- import type { UniBlockProps } from '../../types';
5
5
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
6
6
  import { Heading } from '../../ui-kit/Heading/Heading';
7
7
  import { Img } from '../../ui-kit/Img/Img';
@@ -1,8 +1,8 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
+ import type { UniBlockProps } from '../../model/ContentPageDef';
2
3
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
3
- import type { UniBlockProps } from '../../types';
4
- import type { BonusContent } from './BonusContent';
5
4
  import { Headline } from '../Headline/Headline';
5
+ import type { BonusContent } from './BonusContent';
6
6
 
7
7
  export interface BonusProps extends BonusContent, UniBlockProps {}
8
8
 
@@ -1,5 +1,5 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import type { UniBlockProps } from '../../types';
2
+ import type { UniBlockProps } from '../../model/ContentPageDef';
3
3
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
4
4
  import { Img } from '../../ui-kit/Img/Img';
5
5
  import { Headline } from '../Headline/Headline';
@@ -1,14 +1,14 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { useState } from '@redneckz/uni-jsx/lib/hooks';
3
- import type { UniBlockProps } from '../../types';
3
+ import type { UniBlockProps } from '../../model/ContentPageDef';
4
4
  import { CommonCalculatorProps } from './CalculatorContent';
5
5
  import { CalculatorValueBlock } from './CalculatorValueBlock';
6
6
  import { DEFAULT_REST_MIN_SUM, DEFAULT_TRAVEL_MIN_SUM } from './constants';
7
7
  import { Rate } from './Rate';
8
8
  import { renderButtonSection } from './renderButtonSection';
9
+ import { renderFootnote } from './renderFootnote';
9
10
  import { renderWantedSumInput } from './renderWantedSumInput';
10
11
  import { useBonusCalculatorParams } from './useBonusCalculatorParams';
11
- import { renderFootnote } from './renderFootnote';
12
12
 
13
13
  export interface BonusCalculatorProps extends CommonCalculatorProps, UniBlockProps {}
14
14
 
@@ -1,6 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { useState } from '@redneckz/uni-jsx/lib/hooks';
3
- import type { UniBlockProps } from '../../types';
3
+ import type { UniBlockProps } from '../../model/ContentPageDef';
4
4
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
5
5
  import { renderArrows } from '../../ui-kit/Button/renderArrows';
6
6
  import { Img } from '../../ui-kit/Img/Img';
@@ -1,17 +1,17 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { useState } from '@redneckz/uni-jsx/lib/hooks';
3
- import type { UniBlockProps } from '../../types';
3
+ import type { UniBlockProps } from '../../model/ContentPageDef';
4
4
  import { Checkbox } from '../../ui-kit/Checkbox/Checkbox';
5
5
  import { CommonCalculatorProps } from './CalculatorContent';
6
6
  import { CalculatorValueBlock } from './CalculatorValueBlock';
7
7
  import { DEFAULT_MONTHS, DEFAULT_SUM } from './constants';
8
8
  import { Rate } from './Rate';
9
9
  import { renderButtonSection } from './renderButtonSection';
10
+ import { renderFootnote } from './renderFootnote';
10
11
  import { renderMonthsInput } from './renderMonthsInput';
11
12
  import { renderPaymentTypeSelector } from './renderPaymentTypeSelector';
12
13
  import { renderWantedSumInput } from './renderWantedSumInput';
13
14
  import { useCreditCalculatorParams } from './useCreditCalculatorParams';
14
- import { renderFootnote } from './renderFootnote';
15
15
 
16
16
  export const ANNUITY = 'annuity';
17
17
  export const DIFFERENTIAL = 'differential';
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { JSX } from '@redneckz/uni-jsx';
4
4
  import { useState } from '@redneckz/uni-jsx/lib/hooks';
5
- import type { UniBlockProps } from '../../types';
5
+ import type { UniBlockProps } from '../../model/ContentPageDef';
6
6
  import { CommonCalculatorProps, DepositCalculatorParams } from './CalculatorContent';
7
7
  import { CalculatorValueBlock } from './CalculatorValueBlock';
8
8
  import {
@@ -15,10 +15,10 @@ import {
15
15
  } from './constants';
16
16
  import { Rate } from './Rate';
17
17
  import { renderButtonSection } from './renderButtonSection';
18
+ import { renderFootnote } from './renderFootnote';
18
19
  import { renderMonthsInput } from './renderMonthsInput';
19
- import { renderWantedSumInput } from './renderWantedSumInput';
20
20
  import { renderPaymentTypeSelector } from './renderPaymentTypeSelector';
21
- import { renderFootnote } from './renderFootnote';
21
+ import { renderWantedSumInput } from './renderWantedSumInput';
22
22
 
23
23
  export interface DepositCalculatorProp
24
24
  extends DepositCalculatorParams,
@@ -1,7 +1,7 @@
1
- import type { JSXBlock } from '../ContentPage/ContentPage';
1
+ import type { JSXBlock } from '../../model/BlocksRegistry';
2
+ import { Heading } from '../../ui-kit/Heading/Heading';
2
3
  import type { CalculatorBlockDef } from './CalculatorContent';
3
4
  import { EmbeddableCalcBlocks, EmbeddableCalcProps } from './EmbeddableCalcBlocks';
4
- import { Heading } from '../../ui-kit/Heading/Heading';
5
5
 
6
6
  export const renderCalculatorBlock =
7
7
  ({ context, className }: any) =>