@redneckz/wildless-cms-uni-blocks 0.3.74 → 0.3.76

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 (636) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +272 -204
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/dist/api/DaDataAPI.js.map +1 -1
  5. package/dist/api/LikeAPI.js.map +1 -1
  6. package/dist/components/Accordion/Accordion.mobile.js +1 -1
  7. package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
  8. package/dist/components/Accordion/AccordionItem.mobile.js +1 -1
  9. package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
  10. package/dist/components/Accordion/AccordionItemInner.js +1 -2
  11. package/dist/components/Accordion/AccordionItemInner.js.map +1 -1
  12. package/dist/components/Accordion/AccordionItemInner.mobile.js +1 -2
  13. package/dist/components/Accordion/AccordionItemInner.mobile.js.map +1 -1
  14. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  15. package/dist/components/Blocks.d.ts +1 -0
  16. package/dist/components/Blocks.js +5 -3
  17. package/dist/components/Blocks.js.map +1 -1
  18. package/dist/components/Calculator/getMonthlyPayment.js.map +1 -1
  19. package/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  20. package/dist/components/Calculator/renderMonthsInput.js.map +1 -1
  21. package/dist/components/Calculator/renderRate.js +1 -1
  22. package/dist/components/Calculator/renderRate.js.map +1 -1
  23. package/dist/components/Catalog/Catalog.d.ts +5 -0
  24. package/dist/components/Catalog/Catalog.js +36 -0
  25. package/dist/components/Catalog/Catalog.js.map +1 -0
  26. package/dist/components/Catalog/CatalogCard.d.ts +7 -0
  27. package/dist/components/Catalog/CatalogCard.js +16 -0
  28. package/dist/components/Catalog/CatalogCard.js.map +1 -0
  29. package/dist/components/Catalog/CatalogContent.d.ts +23 -0
  30. package/{mobile/dist/model/Insurance.js → dist/components/Catalog/CatalogContent.js} +1 -1
  31. package/dist/components/Catalog/CatalogContent.js.map +1 -0
  32. package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  33. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  34. package/dist/components/ContentPage/ContentPageHead.js.map +1 -1
  35. package/dist/components/ContentPage/normalizeBlock.js.map +1 -1
  36. package/dist/components/ContentPage/normalizeBlock.mobile.js.map +1 -1
  37. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  38. package/dist/components/ExchangeRateTile/calculateResult.js.map +1 -1
  39. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  40. package/dist/components/Footer/SocialMedia.js.map +1 -1
  41. package/dist/components/Footer/SocialMedia.mobile.js.map +1 -1
  42. package/dist/components/Footer/TextInformation.js.map +1 -1
  43. package/dist/components/Footer/TextInformation.mobile.js.map +1 -1
  44. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  45. package/dist/components/GroupBlock/GroupBlocksItem.js.map +1 -1
  46. package/dist/components/GroupBlock/renderBlocksTypes.js.map +1 -1
  47. package/dist/components/Header/HeaderBurger.js.map +1 -1
  48. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  49. package/dist/components/Headline/Headline.mobile.js.map +1 -1
  50. package/dist/components/Insurance/Insurance.js.map +1 -1
  51. package/dist/components/Insurance/InsuranceContent.d.ts +5 -2
  52. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +3 -3
  53. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  54. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +5 -3
  55. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  56. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  57. package/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  58. package/dist/components/LinkList/LinkList.js.map +1 -1
  59. package/dist/components/MobileAppTile/MobileAppTile.js +16 -2
  60. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  61. package/dist/components/MobileAppTile/MobileAppTile.mobile.js +2 -2
  62. package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
  63. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +5 -1
  64. package/dist/components/OtherProducts/OtherProducts.js +1 -1
  65. package/dist/components/OtherProducts/OtherProducts.js.map +1 -1
  66. package/dist/components/OtherProducts/OtherProductsContent.d.ts +3 -8
  67. package/dist/components/OtherProducts/OtherProductsItem.js +4 -6
  68. package/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
  69. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  70. package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  71. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  72. package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  73. package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  74. package/dist/components/ProductTile/ProductTile.js +7 -8
  75. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  76. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  77. package/dist/components/StepsBlock/StepsBlock.js +10 -6
  78. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  79. package/dist/components/StepsBlock/StepsBlock.mobile.js +12 -31
  80. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  81. package/dist/components/StepsBlock/StepsBlockContent.d.ts +5 -2
  82. package/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +9 -0
  83. package/dist/components/StepsBlock/StepsBlockStyleMaps.js +21 -0
  84. package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -0
  85. package/dist/components/TextBlock/TextBlock.js.map +1 -1
  86. package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
  87. package/dist/content-page-repository/ContentPageRepository.js.map +1 -1
  88. package/dist/content-page-repository/mapJSON.js.map +1 -1
  89. package/dist/content-page-repository/transformContentPage.js.map +1 -1
  90. package/dist/content-page-repository/transformMarkdown.js.map +1 -1
  91. package/dist/content-page-repository/transformPicture.js.map +1 -1
  92. package/dist/hooks/useCreditCalculatorData.js.map +1 -1
  93. package/dist/hooks/useExchangeRates.js.map +1 -1
  94. package/dist/hooks/useLink.js.map +1 -1
  95. package/dist/react/setup-fixture.js.map +1 -1
  96. package/dist/services/sitemap/findActiveSubItem.js.map +1 -1
  97. package/dist/services/sitemap/useSitemap.js.map +1 -1
  98. package/dist/ui-kit/BlocksList/BlocksListProps.d.ts +17 -15
  99. package/dist/ui-kit/BlocksList/renderBlocksList.d.ts +2 -3
  100. package/dist/ui-kit/BlocksList/renderBlocksList.js +5 -4
  101. package/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  102. package/dist/ui-kit/Button/ButtonInner.js +2 -2
  103. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  104. package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  105. package/dist/ui-kit/Foldable/Foldable.d.ts +2 -0
  106. package/dist/ui-kit/Foldable/Foldable.js +5 -5
  107. package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  108. package/dist/ui-kit/Input/Input.js.map +1 -1
  109. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  110. package/dist/ui-kit/List/ListItem.js.map +1 -1
  111. package/dist/ui-kit/Logo/Logo.js.map +1 -1
  112. package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  113. package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  114. package/dist/ui-kit/SearchBar.mobile.js.map +1 -1
  115. package/dist/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -1
  116. package/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  117. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  118. package/dist/utils/adjustHref.js.map +1 -1
  119. package/dist/utils/getColSpan.js.map +1 -1
  120. package/dist/utils/roundTo.js.map +1 -1
  121. package/dist/utils/tableFunc.js.map +1 -1
  122. package/dist/utils/url.js.map +1 -1
  123. package/lib/api/DaDataAPI.js.map +1 -1
  124. package/lib/api/LikeAPI.js.map +1 -1
  125. package/lib/common.css +1 -1
  126. package/lib/components/Accordion/Accordion.mobile.js +1 -1
  127. package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
  128. package/lib/components/Accordion/AccordionItem.mobile.js +1 -1
  129. package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
  130. package/lib/components/Accordion/AccordionItemInner.js +1 -2
  131. package/lib/components/Accordion/AccordionItemInner.js.map +1 -1
  132. package/lib/components/Accordion/AccordionItemInner.mobile.js +1 -2
  133. package/lib/components/Accordion/AccordionItemInner.mobile.js.map +1 -1
  134. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  135. package/lib/components/Blocks.d.ts +1 -0
  136. package/lib/components/Blocks.js +5 -3
  137. package/lib/components/Blocks.js.map +1 -1
  138. package/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
  139. package/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  140. package/lib/components/Calculator/renderMonthsInput.js.map +1 -1
  141. package/lib/components/Calculator/renderRate.js +1 -1
  142. package/lib/components/Calculator/renderRate.js.map +1 -1
  143. package/lib/components/Catalog/Catalog.d.ts +5 -0
  144. package/lib/components/Catalog/Catalog.fixture.d.ts +6 -0
  145. package/lib/components/Catalog/Catalog.js +34 -0
  146. package/lib/components/Catalog/Catalog.js.map +1 -0
  147. package/lib/components/Catalog/CatalogCard.d.ts +7 -0
  148. package/lib/components/Catalog/CatalogCard.js +14 -0
  149. package/lib/components/Catalog/CatalogCard.js.map +1 -0
  150. package/lib/components/Catalog/CatalogContent.d.ts +23 -0
  151. package/lib/components/Catalog/CatalogContent.js +2 -0
  152. package/lib/components/Catalog/CatalogContent.js.map +1 -0
  153. package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  154. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  155. package/lib/components/ContentPage/ContentPageHead.js.map +1 -1
  156. package/lib/components/ContentPage/normalizeBlock.js.map +1 -1
  157. package/lib/components/ContentPage/normalizeBlock.mobile.js.map +1 -1
  158. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  159. package/lib/components/ExchangeRateTile/calculateResult.js.map +1 -1
  160. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  161. package/lib/components/Footer/SocialMedia.js.map +1 -1
  162. package/lib/components/Footer/SocialMedia.mobile.js.map +1 -1
  163. package/lib/components/Footer/TextInformation.js.map +1 -1
  164. package/lib/components/Footer/TextInformation.mobile.js.map +1 -1
  165. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  166. package/lib/components/GroupBlock/GroupBlocksItem.js.map +1 -1
  167. package/lib/components/GroupBlock/renderBlocksTypes.js.map +1 -1
  168. package/lib/components/Header/HeaderBurger.js.map +1 -1
  169. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  170. package/lib/components/Headline/Headline.mobile.js.map +1 -1
  171. package/lib/components/Insurance/Insurance.js.map +1 -1
  172. package/lib/components/Insurance/InsuranceContent.d.ts +5 -2
  173. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +3 -3
  174. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  175. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +5 -3
  176. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  177. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  178. package/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  179. package/lib/components/LinkList/LinkList.js.map +1 -1
  180. package/lib/components/MobileAppTile/MobileAppTile.fixture.d.ts +2 -0
  181. package/lib/components/MobileAppTile/MobileAppTile.js +16 -2
  182. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  183. package/lib/components/MobileAppTile/MobileAppTile.mobile.js +2 -2
  184. package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
  185. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +5 -1
  186. package/lib/components/OtherProducts/OtherProducts.fixture.d.ts +0 -1
  187. package/lib/components/OtherProducts/OtherProducts.js +1 -1
  188. package/lib/components/OtherProducts/OtherProducts.js.map +1 -1
  189. package/lib/components/OtherProducts/OtherProductsContent.d.ts +3 -8
  190. package/lib/components/OtherProducts/OtherProductsItem.js +4 -6
  191. package/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
  192. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  193. package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  194. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  195. package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  196. package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  197. package/lib/components/ProductTile/ProductTile.js +7 -8
  198. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  199. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  200. package/lib/components/StepsBlock/StepsBlock.js +10 -6
  201. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  202. package/lib/components/StepsBlock/StepsBlock.mobile.js +12 -31
  203. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  204. package/lib/components/StepsBlock/StepsBlockContent.d.ts +5 -2
  205. package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +9 -0
  206. package/lib/components/StepsBlock/StepsBlockStyleMaps.js +18 -0
  207. package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -0
  208. package/lib/components/TextBlock/TextBlock.js.map +1 -1
  209. package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
  210. package/lib/content-page-repository/ContentPageRepository.js.map +1 -1
  211. package/lib/content-page-repository/mapJSON.js.map +1 -1
  212. package/lib/content-page-repository/transformContentPage.js.map +1 -1
  213. package/lib/content-page-repository/transformMarkdown.js.map +1 -1
  214. package/lib/content-page-repository/transformPicture.js.map +1 -1
  215. package/lib/hooks/useCreditCalculatorData.js.map +1 -1
  216. package/lib/hooks/useExchangeRates.js.map +1 -1
  217. package/lib/hooks/useLink.js.map +1 -1
  218. package/lib/react/setup-fixture.js.map +1 -1
  219. package/lib/services/sitemap/findActiveSubItem.js.map +1 -1
  220. package/lib/services/sitemap/useSitemap.js.map +1 -1
  221. package/lib/ui-kit/BlocksList/BlocksListProps.d.ts +17 -15
  222. package/lib/ui-kit/BlocksList/renderBlocksList.d.ts +2 -3
  223. package/lib/ui-kit/BlocksList/renderBlocksList.js +5 -4
  224. package/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  225. package/lib/ui-kit/Button/ButtonInner.js +2 -2
  226. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  227. package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  228. package/lib/ui-kit/Foldable/Foldable.d.ts +2 -0
  229. package/lib/ui-kit/Foldable/Foldable.js +5 -5
  230. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  231. package/lib/ui-kit/Input/Input.js.map +1 -1
  232. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  233. package/lib/ui-kit/List/ListItem.js.map +1 -1
  234. package/lib/ui-kit/Logo/Logo.js.map +1 -1
  235. package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  236. package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  237. package/lib/ui-kit/SearchBar.mobile.js.map +1 -1
  238. package/lib/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -1
  239. package/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  240. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  241. package/lib/utils/adjustHref.js.map +1 -1
  242. package/lib/utils/getColSpan.js.map +1 -1
  243. package/lib/utils/roundTo.js.map +1 -1
  244. package/lib/utils/tableFunc.js.map +1 -1
  245. package/lib/utils/url.js.map +1 -1
  246. package/mobile/bundle/bundle.umd.js +36 -39
  247. package/mobile/bundle/bundle.umd.min.js +1 -1
  248. package/mobile/dist/api/DaDataAPI.js.map +1 -1
  249. package/mobile/dist/api/LikeAPI.js.map +1 -1
  250. package/mobile/dist/components/Accordion/Accordion.js +1 -1
  251. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  252. package/mobile/dist/components/Accordion/AccordionItem.js +1 -1
  253. package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
  254. package/mobile/dist/components/Accordion/AccordionItemInner.js +1 -2
  255. package/mobile/dist/components/Accordion/AccordionItemInner.js.map +1 -1
  256. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  257. package/mobile/dist/components/Calculator/getMonthlyPayment.js.map +1 -1
  258. package/mobile/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  259. package/mobile/dist/components/Calculator/renderMonthsInput.js.map +1 -1
  260. package/mobile/dist/components/Calculator/renderRate.js +1 -1
  261. package/mobile/dist/components/Calculator/renderRate.js.map +1 -1
  262. package/mobile/dist/components/Catalog/Catalog.d.ts +5 -0
  263. package/mobile/dist/components/Catalog/Catalog.js +36 -0
  264. package/mobile/dist/components/Catalog/Catalog.js.map +1 -0
  265. package/mobile/dist/components/Catalog/CatalogCard.d.ts +7 -0
  266. package/mobile/dist/components/Catalog/CatalogCard.js +16 -0
  267. package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -0
  268. package/mobile/dist/components/Catalog/CatalogContent.d.ts +23 -0
  269. package/{dist/model/Insurance.js → mobile/dist/components/Catalog/CatalogContent.js} +1 -1
  270. package/mobile/dist/components/Catalog/CatalogContent.js.map +1 -0
  271. package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  272. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  273. package/mobile/dist/components/ContentPage/ContentPageHead.js.map +1 -1
  274. package/mobile/dist/components/ContentPage/normalizeBlock.js.map +1 -1
  275. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  276. package/mobile/dist/components/ExchangeRateTile/calculateResult.js.map +1 -1
  277. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  278. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  279. package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
  280. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  281. package/mobile/dist/components/GroupBlock/GroupBlocksItem.js.map +1 -1
  282. package/mobile/dist/components/GroupBlock/renderBlocksTypes.js.map +1 -1
  283. package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
  284. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  285. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  286. package/mobile/dist/components/Insurance/Insurance.js.map +1 -1
  287. package/mobile/dist/components/Insurance/InsuranceContent.d.ts +5 -2
  288. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +3 -3
  289. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  290. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +5 -3
  291. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  292. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  293. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  294. package/mobile/dist/components/LinkList/LinkList.js.map +1 -1
  295. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +2 -2
  296. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  297. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +5 -1
  298. package/mobile/dist/components/OtherProducts/OtherProducts.js +1 -1
  299. package/mobile/dist/components/OtherProducts/OtherProducts.js.map +1 -1
  300. package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +3 -8
  301. package/mobile/dist/components/OtherProducts/OtherProductsItem.js +4 -6
  302. package/mobile/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
  303. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  304. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  305. package/mobile/dist/components/ProductTile/ProductTile.js +7 -8
  306. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  307. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  308. package/mobile/dist/components/StepsBlock/StepsBlock.js +12 -31
  309. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  310. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +5 -2
  311. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +9 -0
  312. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js +21 -0
  313. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -0
  314. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  315. package/mobile/dist/content-page-repository/ContentPageRepository.js.map +1 -1
  316. package/mobile/dist/content-page-repository/mapJSON.js.map +1 -1
  317. package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
  318. package/mobile/dist/content-page-repository/transformMarkdown.js.map +1 -1
  319. package/mobile/dist/content-page-repository/transformPicture.js.map +1 -1
  320. package/mobile/dist/hooks/useCreditCalculatorData.js.map +1 -1
  321. package/mobile/dist/hooks/useExchangeRates.js.map +1 -1
  322. package/mobile/dist/hooks/useLink.js.map +1 -1
  323. package/mobile/dist/react/setup-fixture.js.map +1 -1
  324. package/mobile/dist/services/sitemap/findActiveSubItem.js.map +1 -1
  325. package/mobile/dist/services/sitemap/useSitemap.js.map +1 -1
  326. package/mobile/dist/ui-kit/BlocksList/BlocksListProps.d.ts +17 -15
  327. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.d.ts +2 -3
  328. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js +5 -4
  329. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  330. package/mobile/dist/ui-kit/Button/ButtonInner.js +2 -2
  331. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  332. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  333. package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +2 -0
  334. package/mobile/dist/ui-kit/Foldable/Foldable.js +5 -5
  335. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  336. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  337. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  338. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  339. package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  340. package/mobile/dist/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -1
  341. package/mobile/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  342. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  343. package/mobile/dist/utils/adjustHref.js.map +1 -1
  344. package/mobile/dist/utils/getColSpan.js.map +1 -1
  345. package/mobile/dist/utils/roundTo.js.map +1 -1
  346. package/mobile/dist/utils/tableFunc.js.map +1 -1
  347. package/mobile/dist/utils/url.js.map +1 -1
  348. package/mobile/lib/api/DaDataAPI.js.map +1 -1
  349. package/mobile/lib/api/LikeAPI.js.map +1 -1
  350. package/mobile/lib/components/Accordion/Accordion.js +1 -1
  351. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  352. package/mobile/lib/components/Accordion/AccordionItem.js +1 -1
  353. package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
  354. package/mobile/lib/components/Accordion/AccordionItemInner.js +1 -2
  355. package/mobile/lib/components/Accordion/AccordionItemInner.js.map +1 -1
  356. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  357. package/mobile/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
  358. package/mobile/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  359. package/mobile/lib/components/Calculator/renderMonthsInput.js.map +1 -1
  360. package/mobile/lib/components/Calculator/renderRate.js +1 -1
  361. package/mobile/lib/components/Calculator/renderRate.js.map +1 -1
  362. package/mobile/lib/components/Catalog/Catalog.d.ts +5 -0
  363. package/mobile/lib/components/Catalog/Catalog.js +34 -0
  364. package/mobile/lib/components/Catalog/Catalog.js.map +1 -0
  365. package/mobile/lib/components/Catalog/CatalogCard.d.ts +7 -0
  366. package/mobile/lib/components/Catalog/CatalogCard.js +14 -0
  367. package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -0
  368. package/mobile/lib/components/Catalog/CatalogContent.d.ts +23 -0
  369. package/mobile/lib/components/Catalog/CatalogContent.js +2 -0
  370. package/mobile/lib/components/Catalog/CatalogContent.js.map +1 -0
  371. package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  372. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  373. package/mobile/lib/components/ContentPage/ContentPageHead.js.map +1 -1
  374. package/mobile/lib/components/ContentPage/normalizeBlock.js.map +1 -1
  375. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  376. package/mobile/lib/components/ExchangeRateTile/calculateResult.js.map +1 -1
  377. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  378. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  379. package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
  380. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  381. package/mobile/lib/components/GroupBlock/GroupBlocksItem.js.map +1 -1
  382. package/mobile/lib/components/GroupBlock/renderBlocksTypes.js.map +1 -1
  383. package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
  384. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  385. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  386. package/mobile/lib/components/Insurance/Insurance.js.map +1 -1
  387. package/mobile/lib/components/Insurance/InsuranceContent.d.ts +5 -2
  388. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +3 -3
  389. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  390. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +5 -3
  391. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  392. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  393. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  394. package/mobile/lib/components/LinkList/LinkList.js.map +1 -1
  395. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +2 -2
  396. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  397. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +5 -1
  398. package/mobile/lib/components/OtherProducts/OtherProducts.js +1 -1
  399. package/mobile/lib/components/OtherProducts/OtherProducts.js.map +1 -1
  400. package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +3 -8
  401. package/mobile/lib/components/OtherProducts/OtherProductsItem.js +4 -6
  402. package/mobile/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
  403. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  404. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  405. package/mobile/lib/components/ProductTile/ProductTile.js +7 -8
  406. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  407. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  408. package/mobile/lib/components/StepsBlock/StepsBlock.js +12 -31
  409. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  410. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +5 -2
  411. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +9 -0
  412. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js +18 -0
  413. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -0
  414. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  415. package/mobile/lib/content-page-repository/ContentPageRepository.js.map +1 -1
  416. package/mobile/lib/content-page-repository/mapJSON.js.map +1 -1
  417. package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
  418. package/mobile/lib/content-page-repository/transformMarkdown.js.map +1 -1
  419. package/mobile/lib/content-page-repository/transformPicture.js.map +1 -1
  420. package/mobile/lib/hooks/useCreditCalculatorData.js.map +1 -1
  421. package/mobile/lib/hooks/useExchangeRates.js.map +1 -1
  422. package/mobile/lib/hooks/useLink.js.map +1 -1
  423. package/mobile/lib/react/setup-fixture.js.map +1 -1
  424. package/mobile/lib/services/sitemap/findActiveSubItem.js.map +1 -1
  425. package/mobile/lib/services/sitemap/useSitemap.js.map +1 -1
  426. package/mobile/lib/ui-kit/BlocksList/BlocksListProps.d.ts +17 -15
  427. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.d.ts +2 -3
  428. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js +5 -4
  429. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  430. package/mobile/lib/ui-kit/Button/ButtonInner.js +2 -2
  431. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  432. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  433. package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +2 -0
  434. package/mobile/lib/ui-kit/Foldable/Foldable.js +5 -5
  435. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  436. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  437. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  438. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  439. package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  440. package/mobile/lib/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -1
  441. package/mobile/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  442. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  443. package/mobile/lib/utils/adjustHref.js.map +1 -1
  444. package/mobile/lib/utils/getColSpan.js.map +1 -1
  445. package/mobile/lib/utils/roundTo.js.map +1 -1
  446. package/mobile/lib/utils/tableFunc.js.map +1 -1
  447. package/mobile/lib/utils/url.js.map +1 -1
  448. package/mobile/src/api/DaDataAPI.ts +2 -0
  449. package/mobile/src/api/LikeAPI.ts +4 -0
  450. package/mobile/src/components/Accordion/Accordion.tsx +1 -1
  451. package/mobile/src/components/Accordion/AccordionItem.tsx +2 -2
  452. package/mobile/src/components/Accordion/AccordionItemInner.tsx +3 -4
  453. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +3 -0
  454. package/mobile/src/components/Calculator/getMonthlyPayment.ts +1 -0
  455. package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +1 -0
  456. package/mobile/src/components/Calculator/renderMonthsInput.tsx +1 -0
  457. package/mobile/src/components/Calculator/renderRate.tsx +2 -3
  458. package/mobile/src/components/Catalog/Catalog.example.json +57 -0
  459. package/mobile/src/components/Catalog/Catalog.tsx +74 -0
  460. package/mobile/src/components/Catalog/CatalogCard.tsx +47 -0
  461. package/mobile/src/components/Catalog/CatalogContent.ts +27 -0
  462. package/mobile/src/components/ComparisonTable/TableColumn.tsx +1 -0
  463. package/mobile/src/components/ContentPage/ContentPage.tsx +2 -0
  464. package/mobile/src/components/ContentPage/ContentPageHead.tsx +1 -0
  465. package/mobile/src/components/ContentPage/normalizeBlock.ts +1 -0
  466. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +1 -0
  467. package/mobile/src/components/ExchangeRateTile/calculateResult.ts +1 -0
  468. package/mobile/src/components/Footer/Footer.tsx +2 -0
  469. package/mobile/src/components/Footer/SocialMedia.tsx +1 -0
  470. package/mobile/src/components/Footer/TextInformation.tsx +1 -0
  471. package/mobile/src/components/Gallery/GalleryCardInner.tsx +1 -0
  472. package/mobile/src/components/GroupBlock/GroupBlocksItem.tsx +1 -0
  473. package/mobile/src/components/GroupBlock/renderBlocksTypes.tsx +1 -0
  474. package/mobile/src/components/Header/HeaderBurger.tsx +2 -0
  475. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +1 -0
  476. package/mobile/src/components/Headline/Headline.tsx +1 -0
  477. package/mobile/src/components/Insurance/Insurance.tsx +1 -0
  478. package/mobile/src/components/Insurance/InsuranceContent.ts +5 -2
  479. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +4 -4
  480. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +8 -3
  481. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +5 -3
  482. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +6 -5
  483. package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +3 -0
  484. package/mobile/src/components/LinkList/LinkList.tsx +1 -0
  485. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +2 -4
  486. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +7 -1
  487. package/mobile/src/components/OtherProducts/OtherProducts.tsx +2 -2
  488. package/mobile/src/components/OtherProducts/OtherProductsContent.ts +3 -8
  489. package/mobile/src/components/OtherProducts/OtherProductsItem.tsx +6 -18
  490. package/mobile/src/components/ProductBlock/ProductBlock.tsx +1 -0
  491. package/mobile/src/components/ProductBlock/renderBenefit.tsx +1 -0
  492. package/mobile/src/components/ProductTile/ProductTile.tsx +30 -30
  493. package/mobile/src/components/PromoTile/PromoTile.tsx +1 -0
  494. package/mobile/src/components/StepsBlock/StepsBlock.tsx +58 -82
  495. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +6 -3
  496. package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +28 -0
  497. package/mobile/src/components/TextBlock/TextBlock.tsx +1 -0
  498. package/mobile/src/content-page-repository/ContentPageRepository.ts +5 -0
  499. package/mobile/src/content-page-repository/mapJSON.ts +3 -0
  500. package/mobile/src/content-page-repository/transformContentPage.ts +2 -0
  501. package/mobile/src/content-page-repository/transformMarkdown.ts +1 -0
  502. package/mobile/src/content-page-repository/transformPicture.ts +2 -0
  503. package/mobile/src/hooks/useCreditCalculatorData.ts +2 -0
  504. package/mobile/src/hooks/useExchangeRates.ts +3 -0
  505. package/mobile/src/hooks/useLink.ts +1 -0
  506. package/mobile/src/react/setup-fixture.ts +1 -0
  507. package/mobile/src/services/sitemap/findActiveSubItem.ts +1 -0
  508. package/mobile/src/services/sitemap/useSitemap.ts +2 -0
  509. package/mobile/src/ui-kit/BlocksList/BlocksListProps.ts +25 -15
  510. package/mobile/src/ui-kit/BlocksList/renderBlocksList.tsx +14 -9
  511. package/mobile/src/ui-kit/Button/ButtonInner.tsx +3 -2
  512. package/mobile/src/ui-kit/Button/ButtonSection.tsx +1 -0
  513. package/mobile/src/ui-kit/Foldable/Foldable.tsx +8 -4
  514. package/mobile/src/ui-kit/Input/Input.tsx +1 -0
  515. package/mobile/src/ui-kit/InputRange/InputRange.tsx +1 -0
  516. package/mobile/src/ui-kit/List/ListItem.tsx +1 -0
  517. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +1 -0
  518. package/mobile/src/ui-kit/SwipeListControl/utils/getIndexParts.ts +1 -0
  519. package/mobile/src/ui-kit/Tabs/Tabs.tsx +1 -0
  520. package/mobile/src/ui-kit/TopItem/TopItem.tsx +1 -0
  521. package/mobile/src/utils/adjustHref.ts +2 -0
  522. package/mobile/src/utils/getColSpan.ts +1 -0
  523. package/mobile/src/utils/roundTo.ts +1 -0
  524. package/mobile/src/utils/tableFunc.ts +1 -0
  525. package/mobile/src/utils/url.ts +2 -0
  526. package/package.json +2 -2
  527. package/src/api/DaDataAPI.ts +2 -0
  528. package/src/api/LikeAPI.ts +4 -0
  529. package/src/components/Accordion/Accordion.fixture.mobile.tsx +8 -19
  530. package/src/components/Accordion/Accordion.fixture.tsx +10 -2
  531. package/src/components/Accordion/Accordion.mobile.tsx +1 -1
  532. package/src/components/Accordion/AccordionItem.mobile.tsx +2 -2
  533. package/src/components/Accordion/AccordionItemInner.mobile.tsx +3 -4
  534. package/src/components/Accordion/AccordionItemInner.tsx +3 -4
  535. package/src/components/BenefitsBlock/BenefitsBlock.tsx +3 -0
  536. package/src/components/Blocks.ts +5 -3
  537. package/src/components/Calculator/getMonthlyPayment.ts +1 -0
  538. package/src/components/Calculator/renderCalculatorBlock.tsx +1 -0
  539. package/src/components/Calculator/renderMonthsInput.tsx +1 -0
  540. package/src/components/Calculator/renderRate.tsx +2 -3
  541. package/src/components/Catalog/Catalog.example.json +57 -0
  542. package/src/components/Catalog/Catalog.fixture.tsx +48 -0
  543. package/src/components/Catalog/Catalog.tsx +74 -0
  544. package/src/components/Catalog/CatalogCard.tsx +47 -0
  545. package/src/components/Catalog/CatalogContent.ts +27 -0
  546. package/src/components/ComparisonTable/TableColumn.tsx +1 -0
  547. package/src/components/ContentPage/ContentPage.tsx +2 -0
  548. package/src/components/ContentPage/ContentPageHead.tsx +1 -0
  549. package/src/components/ContentPage/normalizeBlock.mobile.ts +1 -0
  550. package/src/components/ContentPage/normalizeBlock.ts +1 -0
  551. package/src/components/ExchangeRateTile/CurrencyTable.tsx +1 -0
  552. package/src/components/ExchangeRateTile/calculateResult.ts +1 -0
  553. package/src/components/Footer/Footer.mobile.tsx +2 -0
  554. package/src/components/Footer/SocialMedia.mobile.tsx +1 -0
  555. package/src/components/Footer/SocialMedia.tsx +1 -0
  556. package/src/components/Footer/TextInformation.mobile.tsx +1 -0
  557. package/src/components/Footer/TextInformation.tsx +1 -0
  558. package/src/components/Gallery/GalleryCardInner.tsx +1 -0
  559. package/src/components/GroupBlock/GroupBlocksItem.tsx +1 -0
  560. package/src/components/GroupBlock/renderBlocksTypes.tsx +1 -0
  561. package/src/components/Header/HeaderBurger.tsx +2 -0
  562. package/src/components/Header/HeaderSecondaryMenu.tsx +1 -0
  563. package/src/components/Headline/Headline.mobile.tsx +1 -0
  564. package/src/components/Insurance/Insurance.tsx +1 -0
  565. package/src/components/Insurance/InsuranceContent.ts +5 -2
  566. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +4 -4
  567. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +0 -5
  568. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +8 -3
  569. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +5 -3
  570. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +6 -5
  571. package/src/components/LinkDocs/LinkDocsListItemBase.tsx +3 -0
  572. package/src/components/LinkList/LinkList.tsx +1 -0
  573. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +69 -13
  574. package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +2 -4
  575. package/src/components/MobileAppTile/MobileAppTile.tsx +44 -12
  576. package/src/components/MobileAppTile/MobileAppTileContent.ts +7 -1
  577. package/src/components/OtherProducts/OtherProducts.fixture.tsx +16 -53
  578. package/src/components/OtherProducts/OtherProducts.tsx +2 -2
  579. package/src/components/OtherProducts/OtherProductsContent.ts +3 -8
  580. package/src/components/OtherProducts/OtherProductsItem.tsx +6 -18
  581. package/src/components/ProductBlock/ProductBlock.mobile.tsx +1 -0
  582. package/src/components/ProductBlock/ProductBlock.tsx +1 -0
  583. package/src/components/ProductBlock/ProductBlockInner.tsx +1 -0
  584. package/src/components/ProductBlock/renderBenefit.mobile.tsx +1 -0
  585. package/src/components/ProductBlock/renderBenefit.tsx +1 -0
  586. package/src/components/ProductTile/ProductTile.tsx +30 -30
  587. package/src/components/PromoTile/PromoTile.tsx +1 -0
  588. package/src/components/StepsBlock/StepsBlock.mobile.tsx +58 -82
  589. package/src/components/StepsBlock/StepsBlock.tsx +27 -11
  590. package/src/components/StepsBlock/StepsBlockContent.ts +6 -3
  591. package/src/components/StepsBlock/StepsBlockStyleMaps.ts +28 -0
  592. package/src/components/TextBlock/TextBlock.mobile.tsx +1 -0
  593. package/src/components/TextBlock/TextBlock.tsx +1 -0
  594. package/src/content-page-repository/ContentPageRepository.ts +5 -0
  595. package/src/content-page-repository/mapJSON.ts +3 -0
  596. package/src/content-page-repository/transformContentPage.ts +2 -0
  597. package/src/content-page-repository/transformMarkdown.ts +1 -0
  598. package/src/content-page-repository/transformPicture.ts +2 -0
  599. package/src/hooks/useCreditCalculatorData.ts +2 -0
  600. package/src/hooks/useExchangeRates.ts +3 -0
  601. package/src/hooks/useLink.ts +1 -0
  602. package/src/react/setup-fixture.ts +1 -0
  603. package/src/services/sitemap/findActiveSubItem.ts +1 -0
  604. package/src/services/sitemap/useSitemap.ts +2 -0
  605. package/src/ui-kit/BlocksList/BlocksListProps.ts +25 -15
  606. package/src/ui-kit/BlocksList/renderBlocksList.tsx +14 -9
  607. package/src/ui-kit/Button/ButtonInner.tsx +3 -2
  608. package/src/ui-kit/Button/ButtonSection.tsx +1 -0
  609. package/src/ui-kit/Foldable/Foldable.tsx +8 -4
  610. package/src/ui-kit/Input/Input.tsx +1 -0
  611. package/src/ui-kit/InputRange/InputRange.tsx +1 -0
  612. package/src/ui-kit/List/ListItem.tsx +1 -0
  613. package/src/ui-kit/Logo/Logo.tsx +1 -0
  614. package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +1 -0
  615. package/src/ui-kit/SearchBar/SearchBar.tsx +1 -0
  616. package/src/ui-kit/SearchBar.mobile.tsx +1 -0
  617. package/src/ui-kit/SwipeListControl/utils/getIndexParts.ts +1 -0
  618. package/src/ui-kit/Tabs/Tabs.tsx +1 -0
  619. package/src/ui-kit/TopItem/TopItem.tsx +1 -0
  620. package/src/utils/adjustHref.ts +2 -0
  621. package/src/utils/getColSpan.ts +1 -0
  622. package/src/utils/roundTo.ts +1 -0
  623. package/src/utils/tableFunc.ts +1 -0
  624. package/src/utils/url.ts +2 -0
  625. package/dist/model/Insurance.d.ts +0 -6
  626. package/dist/model/Insurance.js.map +0 -1
  627. package/lib/model/Insurance.d.ts +0 -6
  628. package/lib/model/Insurance.js +0 -2
  629. package/lib/model/Insurance.js.map +0 -1
  630. package/mobile/dist/model/Insurance.d.ts +0 -6
  631. package/mobile/dist/model/Insurance.js.map +0 -1
  632. package/mobile/lib/model/Insurance.d.ts +0 -6
  633. package/mobile/lib/model/Insurance.js +0 -2
  634. package/mobile/lib/model/Insurance.js.map +0 -1
  635. package/mobile/src/model/Insurance.ts +0 -6
  636. package/src/model/Insurance.ts +0 -6
@@ -17,71 +17,81 @@ export interface ActiveHandler {
17
17
  initialState?: boolean;
18
18
  }
19
19
 
20
- /**
21
- * @title Количество колонок
22
- * @enumNames ["1 колонка", "2 колонки"]
23
- */
24
- export type ColumnsCount = 1 | 2;
20
+ export interface BlocksCommonProps {
21
+ /**
22
+ * @title Стиль
23
+ * @default ["col-span-12"]
24
+ **/
25
+ style?: string[];
26
+ }
25
27
 
26
28
  /**
27
29
  * @title Заголовок
28
30
  * @default {"blockListType": "Headline"}
29
31
  */
30
- export type HeadlineBlockListDef = HeadlineContent & { blockListType: 'Headline' };
32
+ export type HeadlineBlockListDef = HeadlineContent &
33
+ BlocksCommonProps & { blockListType: 'Headline' };
31
34
 
32
35
  /**
33
36
  * @title Список документов
34
37
  * @default {"blockListType": "LinkDocs"}
35
38
  */
36
- export type LinkDocsBlockListDef = LinkDocsContent & { blockListType: 'LinkDocs' };
39
+ export type LinkDocsBlockListDef = LinkDocsContent &
40
+ BlocksCommonProps & { blockListType: 'LinkDocs' };
37
41
 
38
42
  /**
39
43
  * @title Текстовый блок
40
44
  * @default {"blockListType": "TextBlock"}
41
45
  */
42
- export type TextBlockBlockListDef = TextBlockContent & { blockListType: 'TextBlock' };
46
+ export type TextBlockBlockListDef = TextBlockContent &
47
+ BlocksCommonProps & { blockListType: 'TextBlock' };
43
48
 
44
49
  /**
45
50
  * @title Картинка с текстом
46
51
  * @default {"blockListType": "PictureText"}
47
52
  */
48
- export type PictureTextBlockListDef = PictureTextContent & { blockListType: 'PictureText' };
53
+ export type PictureTextBlockListDef = PictureTextContent &
54
+ BlocksCommonProps & { blockListType: 'PictureText' };
49
55
 
50
56
  /**
51
57
  * @title Продуктовый блок
52
58
  * @default {"blockListType": "ProductBlock"}
53
59
  */
54
- export type ProductBlockBlockListDef = ProductBlockContent & { blockListType: 'ProductBlock' };
60
+ export type ProductBlockBlockListDef = ProductBlockContent &
61
+ BlocksCommonProps & { blockListType: 'ProductBlock' };
55
62
 
56
63
  /**
57
64
  * @title Плитка
58
65
  * @default {"blockListType": "Tile"}
59
66
  */
60
- export type TileBlockListDef = TileContent & { blockListType: 'Tile' };
67
+ export type TileBlockListDef = TileContent & BlocksCommonProps & { blockListType: 'Tile' };
61
68
 
62
69
  /**
63
70
  * @title Продуктовая плитка
64
71
  * @default {"blockListType": "ProductTile"}
65
72
  */
66
- export type ProductTileBlockListDef = ProductTileContent & { blockListType: 'ProductTile' };
73
+ export type ProductTileBlockListDef = ProductTileContent &
74
+ BlocksCommonProps & { blockListType: 'ProductTile' };
67
75
 
68
76
  /**
69
77
  * @title Галерея
70
78
  * @default {"blockListType": "Gallery"}
71
79
  */
72
- export type GalleryBlockListDef = GalleryContent & { blockListType: 'Gallery' };
80
+ export type GalleryBlockListDef = GalleryContent & BlocksCommonProps & { blockListType: 'Gallery' };
73
81
 
74
82
  /**
75
83
  * @title Мини-галлерея
76
84
  * @default {"blockListType": "MiniGallery"}
77
85
  */
78
- export type MiniGalleryBlockListDef = MiniGalleryContent & { blockListType: 'MiniGallery' };
86
+ export type MiniGalleryBlockListDef = MiniGalleryContent &
87
+ BlocksCommonProps & { blockListType: 'MiniGallery' };
79
88
 
80
89
  /**
81
90
  * @title Список ссылок
82
91
  * @default {"blockListType": "LinkList"}
83
92
  */
84
- export type LinkListBlockListDef = LinkListContent & { blockListType: 'LinkList' };
93
+ export type LinkListBlockListDef = LinkListContent &
94
+ BlocksCommonProps & { blockListType: 'LinkList' };
85
95
 
86
96
  /**
87
97
  * @title Содержимое блока
@@ -1,30 +1,35 @@
1
1
  import type { JSXBlock } from '../../components/ContentPage/ContentPage';
2
2
  import type { ContentPageContext } from '../../components/ContentPage/ContentPageContext';
3
- import type { BlockDef, ColumnsCount } from './BlocksListProps';
3
+ import type { UniBlockProps } from '../../types';
4
+ import { style2className } from '../../utils/style2className';
5
+ import type { BlockDef } from './BlocksListProps';
4
6
  import { EmbeddableBlocks } from './EmbeddableBlocks';
5
7
 
6
8
  type EmbeddableBlocksProps = {
7
9
  blocks?: BlockDef[];
8
10
  context: ContentPageContext;
9
- columns?: ColumnsCount;
10
11
  className?: string;
11
12
  };
12
13
 
13
- export const renderBlocksList = ({ blocks, context, className, columns }: EmbeddableBlocksProps) =>
14
- blocks?.length ? blocks.map(renderBlock({ context, className, columns })) : null;
14
+ export const renderBlocksList = ({ blocks, context, className = '' }: EmbeddableBlocksProps) =>
15
+ blocks?.length ? blocks.map(renderBlock({ context, className })) : null;
15
16
 
16
17
  const renderBlock =
17
- ({ context, columns, className }: EmbeddableBlocksProps) =>
18
+ ({ context, className }: UniBlockProps) =>
18
19
  (block: BlockDef, i: number) => {
19
20
  const type = block?.blockListType;
20
21
  if (!type || !(type in EmbeddableBlocks)) {
21
22
  return null;
22
23
  }
23
- const columnsCountClass = columns === 2 ? 'w-1/2' : '';
24
+ const classNameBlock = style2className(block?.style);
24
25
  const EmbeddedBlock: JSXBlock = EmbeddableBlocks[type];
26
+
25
27
  return (
26
- <div className={`${className} ${columnsCountClass}`} key={`block_${i}`}>
27
- <EmbeddedBlock context={context} {...block} className="!p-0" />
28
- </div>
28
+ <EmbeddedBlock
29
+ key={`block_${i}`}
30
+ context={context}
31
+ {...block}
32
+ className={`${className} ${classNameBlock}`}
33
+ />
29
34
  );
30
35
  };
@@ -8,13 +8,14 @@ interface ButtonInnerProps extends ButtonWithIconProps {
8
8
 
9
9
  export const ButtonInner = JSX<ButtonInnerProps>((props) => {
10
10
  const { text, aboveText, appendLeft, appendRight } = props;
11
+
11
12
  return (
12
13
  <div className={getButtonStyle(props)}>
13
14
  {appendLeft ? appendLeft : null}
14
15
  {isWithText(props) ? (
15
16
  <div>
16
17
  <div className="text-m-2xs font-light text-left">{aboveText}</div>
17
- <div className="text-button text-left">{text}</div>
18
+ <div className="text-base text-left">{text}</div>
18
19
  </div>
19
20
  ) : null}
20
21
  {appendRight ? appendRight : null}
@@ -29,7 +30,7 @@ const getButtonStyle = (props: ButtonInnerProps) => {
29
30
  return '';
30
31
  }
31
32
 
32
- const withTextStyle = `px-8 gap-2 ${aboveText ? 'py-2' : 'py-[18px]'}`;
33
+ const withTextStyle = `px-9 gap-2 ${aboveText ? 'py-2' : 'py-4'}`;
33
34
 
34
35
  return [
35
36
  'flex items-center justify-center',
@@ -10,6 +10,7 @@ export interface ButtonSectionProps extends ButtonContent, UniBlockProps {}
10
10
  export const ButtonSection = JSX<ButtonSectionProps>(({ context, className = '', buttons }) => {
11
11
  const { handlerDecorator } = context;
12
12
  const router = context.useRouter();
13
+
13
14
  return buttons?.length ? (
14
15
  <div className={className}>
15
16
  {buttons.map((button, index) =>
@@ -8,6 +8,7 @@ import { foldableBlockClassNames, useActiveHandler } from './useActiveHandler';
8
8
 
9
9
  export type FoldableBlocks = VNode[];
10
10
  export type Render = (_: VNode, isActive: boolean) => VNode;
11
+
11
12
  export interface FoldableProps {
12
13
  context: ContentPageContext;
13
14
  foldButtonLabel?: string;
@@ -17,11 +18,13 @@ export interface FoldableProps {
17
18
  foldButtonDataTheme?: ColorPalette;
18
19
  isUnfolded?: boolean;
19
20
  render?: Render;
21
+ containerClasses?: string;
20
22
  }
21
23
 
22
24
  export interface RenderBlocksParams {
23
25
  blocksToHide: number;
24
26
  isActive: boolean;
27
+ containerClasses?: string;
25
28
  }
26
29
 
27
30
  export const Foldable = JSX<FoldableProps>(
@@ -33,6 +36,7 @@ export const Foldable = JSX<FoldableProps>(
33
36
  foldButtonLabel,
34
37
  foldButtonDataTheme,
35
38
  isUnfolded,
39
+ containerClasses,
36
40
  render = (_) => _,
37
41
  }) => {
38
42
  const blocksToHide = clamp(hiddenBlocksNum, 0, blocks.length);
@@ -44,7 +48,7 @@ export const Foldable = JSX<FoldableProps>(
44
48
 
45
49
  return blocks ? (
46
50
  <div>
47
- {renderBlocks(blocks, render, { blocksToHide, isActive })}
51
+ {renderBlocks(blocks, render, { blocksToHide, isActive, containerClasses })}
48
52
  {hiddenBlocksNum ? (
49
53
  <button
50
54
  className={
@@ -55,7 +59,7 @@ export const Foldable = JSX<FoldableProps>(
55
59
  onClick={handleToggle}
56
60
  >
57
61
  <span className="pr-3">{isActive ? 'Скрыть' : foldButtonLabel}</span>
58
- <Icon name={icon} iconVersion="white" width="20" height="20" asSVG />
62
+ {icon ? <Icon name={icon} iconVersion="white" width="20" height="20" asSVG /> : null}
59
63
  </button>
60
64
  ) : null}
61
65
  </div>
@@ -66,7 +70,7 @@ export const Foldable = JSX<FoldableProps>(
66
70
  const renderBlocks = (
67
71
  blocks: FoldableBlocks,
68
72
  render: Render,
69
- { blocksToHide, isActive }: RenderBlocksParams,
73
+ { blocksToHide, isActive, containerClasses }: RenderBlocksParams,
70
74
  ) => {
71
75
  const visibleBlocks = blocks.slice(0, blocks.length - blocksToHide);
72
76
  const hiddenBlocks = blocks.slice(-blocksToHide);
@@ -74,7 +78,7 @@ const renderBlocks = (
74
78
  return render(
75
79
  <div>
76
80
  {visibleBlocks}
77
- <div className={foldableBlockClassNames}>{hiddenBlocks}</div>
81
+ <div className={`${foldableBlockClassNames} ${containerClasses}`}>{hiddenBlocks}</div>
78
82
  </div>,
79
83
  isActive,
80
84
  );
@@ -8,6 +8,7 @@ export const Input = JSX<InputProps>(
8
8
  const validInputValue = e.target.validity.valid ? e.target.value : value;
9
9
  onChange(validInputValue);
10
10
  };
11
+
11
12
  return (
12
13
  <input
13
14
  className={className}
@@ -25,6 +25,7 @@ export const InputRange = JSX<InputRangeProps>(
25
25
  onChange(max);
26
26
  }
27
27
  };
28
+
28
29
  return (
29
30
  <div className={className}>
30
31
  <label className="block relative">
@@ -46,5 +46,6 @@ export const getListStyle = (version: ListItemVersion) => {
46
46
  tile: 'w-[7px] h-[7px] min-w-[7px] min-h-[7px]',
47
47
  'tile-white': 'w-[7px] h-[7px] min-w-[7px] min-h-[7px]',
48
48
  };
49
+
49
50
  return `${LIST_STYLE_CLASSES[version]} ${LIST_DOT_STYLE_MAP[version]} ${size[version]}`;
50
51
  };
@@ -66,5 +66,6 @@ export const Logo = JSX<Partial<LogoProps>>(
66
66
 
67
67
  const renderTitle = (children, bgColor, title) => {
68
68
  const text = children || title || 'Россельхозбанк';
69
+
69
70
  return <span className={`${TEXT_COLOR[bgColor]} font-medium ml-2.5`}>{text}</span>;
70
71
  };
@@ -4,6 +4,7 @@ import { Img } from '../Img/Img';
4
4
 
5
5
  export const SearchBar = JSX<UniBlockProps>(({ className, context }) => {
6
6
  const { term, setTerm } = context.useSearch();
7
+
7
8
  return (
8
9
  <form className={`relative ${className || ''}`}>
9
10
  <div className="absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none">
@@ -5,6 +5,7 @@ import { Img } from '../Img/Img';
5
5
 
6
6
  export const SearchBar = JSX<UniBlockProps>(({ className, context }) => {
7
7
  const { term, setTerm } = context.useSearch();
8
+
8
9
  return (
9
10
  <form className={`relative ${className || ''}`}>
10
11
  <div className="absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none">
@@ -5,6 +5,7 @@ import { Img } from './Img/Img';
5
5
 
6
6
  export const SearchBar = JSX<UniBlockProps>(({ className, context }) => {
7
7
  const { term, setTerm } = context.useSearch();
8
+
8
9
  return (
9
10
  <form className={`relative ${className || ''}`}>
10
11
  <div className="absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none">
@@ -20,5 +20,6 @@ export const getIndexParts = (
20
20
 
21
21
  const [start, end] = scrollPoints[index];
22
22
  const fraction = (scrollLeft - start) / (end - start);
23
+
23
24
  return { index, fraction };
24
25
  };
@@ -19,6 +19,7 @@ const tabDescriptionStyle = (isActive = false) =>
19
19
  const renderTab =
20
20
  (currentTabIndex: number, onTabClick: TabClickHandler) => (tab: Tab, index: number) => {
21
21
  const isActive = currentTabIndex === index;
22
+
22
23
  return (
23
24
  <div
24
25
  key={String(index)}
@@ -60,5 +60,6 @@ const getTextClasses = (bgColor: BgColorVersion, active = false, flat = false) =
60
60
  const nonActiveAtoms = `${
61
61
  flat ? 'text-primary-text' : 'text-secondary-text'
62
62
  } hover:text-primary-main`;
63
+
63
64
  return `${active ? 'text-primary-main' : nonActiveAtoms} ${TEXT_CLASSES}`;
64
65
  };
@@ -11,6 +11,7 @@ export const adjustHref = (
11
11
 
12
12
  const relativeHref = toRelativeHref(href, router) || '';
13
13
  const isMobilePage = router?.pathname.startsWith(MOBILE_URL_PATH);
14
+
14
15
  return isMobilePage && !isURL(relativeHref) ? `${MOBILE_URL_PATH}${relativeHref}` : relativeHref;
15
16
  };
16
17
 
@@ -20,5 +21,6 @@ const toRelativeHref = (href: string | undefined, router: { href?: string }) =>
20
21
  }
21
22
 
22
23
  const origin = getOrigin(router?.href);
24
+
23
25
  return origin ? href.replace(origin, '') || '/' : href;
24
26
  };
@@ -1,5 +1,6 @@
1
1
  export const getColSpan = (className: string) => {
2
2
  const colSpanPrefix = 'col-span-';
3
3
  const colSpanStr = className.split(/\s+/).find((_) => _.startsWith(colSpanPrefix));
4
+
4
5
  return colSpanStr ? parseInt(colSpanStr.substring(colSpanPrefix.length), 10) : 12;
5
6
  };
@@ -1,4 +1,5 @@
1
1
  export const roundTo = (value: number, precision = 2) => {
2
2
  const factor = Math.pow(10, precision);
3
+
3
4
  return Math.round(parseFloat(String(value)) * factor) / factor;
4
5
  };
@@ -4,5 +4,6 @@ export const tableFunc =
4
4
  <Input, Output>(table: Array<[Predicate<Input>, Output]>) =>
5
5
  (input: Input): Output | undefined => {
6
6
  const [, output] = table.find(([predicate]) => predicate(input)) || [];
7
+
7
8
  return output;
8
9
  };
package/src/utils/url.ts CHANGED
@@ -11,6 +11,7 @@ export const getOrigin = (href?: string) => {
11
11
  const protoSeparator = '//';
12
12
  const endOfProto = url.indexOf(protoSeparator);
13
13
  const endOfOrigin = url.indexOf('/', endOfProto + protoSeparator.length);
14
+
14
15
  return endOfOrigin !== -1 ? url.substring(0, endOfOrigin) : url;
15
16
  };
16
17
 
@@ -20,5 +21,6 @@ export const getHash = (href?: string) => {
20
21
  }
21
22
 
22
23
  const hashIndex = href.indexOf('#');
24
+
23
25
  return hashIndex !== -1 ? href.substring(hashIndex, href.length) : undefined;
24
26
  };
@@ -1,6 +0,0 @@
1
- export interface InsuranceProps {
2
- /** @title Ежемесячный лимит */
3
- monthLimit?: number;
4
- /** @title Страховая сумма */
5
- sum?: number;
6
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"Insurance.js","sourceRoot":"","sources":["../../src/model/Insurance.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- export interface InsuranceProps {
2
- /** @title Ежемесячный лимит */
3
- monthLimit?: number;
4
- /** @title Страховая сумма */
5
- sum?: number;
6
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Insurance.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Insurance.js","sourceRoot":"","sources":["../../src/model/Insurance.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- export interface InsuranceProps {
2
- /** @title Ежемесячный лимит */
3
- monthLimit?: number;
4
- /** @title Страховая сумма */
5
- sum?: number;
6
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"Insurance.js","sourceRoot":"","sources":["../../src/model/Insurance.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- export interface InsuranceProps {
2
- /** @title Ежемесячный лимит */
3
- monthLimit?: number;
4
- /** @title Страховая сумма */
5
- sum?: number;
6
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Insurance.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Insurance.js","sourceRoot":"","sources":["../../src/model/Insurance.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- export interface InsuranceProps {
2
- /** @title Ежемесячный лимит */
3
- monthLimit?: number;
4
- /** @title Страховая сумма */
5
- sum?: number;
6
- }
@@ -1,6 +0,0 @@
1
- export interface InsuranceProps {
2
- /** @title Ежемесячный лимит */
3
- monthLimit?: number;
4
- /** @title Страховая сумма */
5
- sum?: number;
6
- }