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

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 (624) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +262 -194
  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.map +1 -1
  22. package/dist/components/Catalog/Catalog.d.ts +5 -0
  23. package/dist/components/Catalog/Catalog.js +36 -0
  24. package/dist/components/Catalog/Catalog.js.map +1 -0
  25. package/dist/components/Catalog/CatalogCard.d.ts +7 -0
  26. package/dist/components/Catalog/CatalogCard.js +16 -0
  27. package/dist/components/Catalog/CatalogCard.js.map +1 -0
  28. package/dist/components/Catalog/CatalogContent.d.ts +22 -0
  29. package/{mobile/dist/model/Insurance.js → dist/components/Catalog/CatalogContent.js} +1 -1
  30. package/dist/components/Catalog/CatalogContent.js.map +1 -0
  31. package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  32. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  33. package/dist/components/ContentPage/ContentPageHead.js.map +1 -1
  34. package/dist/components/ContentPage/normalizeBlock.js.map +1 -1
  35. package/dist/components/ContentPage/normalizeBlock.mobile.js.map +1 -1
  36. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  37. package/dist/components/ExchangeRateTile/calculateResult.js.map +1 -1
  38. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  39. package/dist/components/Footer/SocialMedia.js.map +1 -1
  40. package/dist/components/Footer/SocialMedia.mobile.js.map +1 -1
  41. package/dist/components/Footer/TextInformation.js.map +1 -1
  42. package/dist/components/Footer/TextInformation.mobile.js.map +1 -1
  43. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  44. package/dist/components/GroupBlock/GroupBlocksItem.js.map +1 -1
  45. package/dist/components/GroupBlock/renderBlocksTypes.js.map +1 -1
  46. package/dist/components/Header/HeaderBurger.js.map +1 -1
  47. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  48. package/dist/components/Headline/Headline.mobile.js.map +1 -1
  49. package/dist/components/Insurance/Insurance.js.map +1 -1
  50. package/dist/components/Insurance/InsuranceContent.d.ts +5 -2
  51. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +3 -3
  52. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  53. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +5 -3
  54. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  55. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  56. package/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  57. package/dist/components/LinkList/LinkList.js.map +1 -1
  58. package/dist/components/MobileAppTile/MobileAppTile.js +16 -2
  59. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  60. package/dist/components/MobileAppTile/MobileAppTile.mobile.js +2 -2
  61. package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
  62. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +5 -1
  63. package/dist/components/OtherProducts/OtherProducts.js +1 -1
  64. package/dist/components/OtherProducts/OtherProducts.js.map +1 -1
  65. package/dist/components/OtherProducts/OtherProductsContent.d.ts +3 -8
  66. package/dist/components/OtherProducts/OtherProductsItem.js +4 -6
  67. package/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
  68. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  69. package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  70. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  71. package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  72. package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  73. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  74. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  75. package/dist/components/StepsBlock/StepsBlock.js +10 -6
  76. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  77. package/dist/components/StepsBlock/StepsBlock.mobile.js +12 -31
  78. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  79. package/dist/components/StepsBlock/StepsBlockContent.d.ts +5 -2
  80. package/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +9 -0
  81. package/dist/components/StepsBlock/StepsBlockStyleMaps.js +21 -0
  82. package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -0
  83. package/dist/components/TextBlock/TextBlock.js.map +1 -1
  84. package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
  85. package/dist/content-page-repository/ContentPageRepository.js.map +1 -1
  86. package/dist/content-page-repository/mapJSON.js.map +1 -1
  87. package/dist/content-page-repository/transformContentPage.js.map +1 -1
  88. package/dist/content-page-repository/transformMarkdown.js.map +1 -1
  89. package/dist/content-page-repository/transformPicture.js.map +1 -1
  90. package/dist/hooks/useCreditCalculatorData.js.map +1 -1
  91. package/dist/hooks/useExchangeRates.js.map +1 -1
  92. package/dist/hooks/useLink.js.map +1 -1
  93. package/dist/react/setup-fixture.js.map +1 -1
  94. package/dist/services/sitemap/findActiveSubItem.js.map +1 -1
  95. package/dist/services/sitemap/useSitemap.js.map +1 -1
  96. package/dist/ui-kit/BlocksList/BlocksListProps.d.ts +17 -15
  97. package/dist/ui-kit/BlocksList/renderBlocksList.d.ts +2 -3
  98. package/dist/ui-kit/BlocksList/renderBlocksList.js +5 -4
  99. package/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  100. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  101. package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  102. package/dist/ui-kit/Foldable/Foldable.d.ts +2 -0
  103. package/dist/ui-kit/Foldable/Foldable.js +5 -5
  104. package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  105. package/dist/ui-kit/Input/Input.js.map +1 -1
  106. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  107. package/dist/ui-kit/List/ListItem.js.map +1 -1
  108. package/dist/ui-kit/Logo/Logo.js.map +1 -1
  109. package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  110. package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  111. package/dist/ui-kit/SearchBar.mobile.js.map +1 -1
  112. package/dist/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -1
  113. package/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  114. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  115. package/dist/utils/adjustHref.js.map +1 -1
  116. package/dist/utils/getColSpan.js.map +1 -1
  117. package/dist/utils/roundTo.js.map +1 -1
  118. package/dist/utils/tableFunc.js.map +1 -1
  119. package/dist/utils/url.js.map +1 -1
  120. package/lib/api/DaDataAPI.js.map +1 -1
  121. package/lib/api/LikeAPI.js.map +1 -1
  122. package/lib/common.css +1 -1
  123. package/lib/components/Accordion/Accordion.mobile.js +1 -1
  124. package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
  125. package/lib/components/Accordion/AccordionItem.mobile.js +1 -1
  126. package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
  127. package/lib/components/Accordion/AccordionItemInner.js +1 -2
  128. package/lib/components/Accordion/AccordionItemInner.js.map +1 -1
  129. package/lib/components/Accordion/AccordionItemInner.mobile.js +1 -2
  130. package/lib/components/Accordion/AccordionItemInner.mobile.js.map +1 -1
  131. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  132. package/lib/components/Blocks.d.ts +1 -0
  133. package/lib/components/Blocks.js +5 -3
  134. package/lib/components/Blocks.js.map +1 -1
  135. package/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
  136. package/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  137. package/lib/components/Calculator/renderMonthsInput.js.map +1 -1
  138. package/lib/components/Calculator/renderRate.js.map +1 -1
  139. package/lib/components/Catalog/Catalog.d.ts +5 -0
  140. package/lib/components/Catalog/Catalog.fixture.d.ts +6 -0
  141. package/lib/components/Catalog/Catalog.js +34 -0
  142. package/lib/components/Catalog/Catalog.js.map +1 -0
  143. package/lib/components/Catalog/CatalogCard.d.ts +7 -0
  144. package/lib/components/Catalog/CatalogCard.js +14 -0
  145. package/lib/components/Catalog/CatalogCard.js.map +1 -0
  146. package/lib/components/Catalog/CatalogContent.d.ts +22 -0
  147. package/lib/components/Catalog/CatalogContent.js +2 -0
  148. package/lib/components/Catalog/CatalogContent.js.map +1 -0
  149. package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  150. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  151. package/lib/components/ContentPage/ContentPageHead.js.map +1 -1
  152. package/lib/components/ContentPage/normalizeBlock.js.map +1 -1
  153. package/lib/components/ContentPage/normalizeBlock.mobile.js.map +1 -1
  154. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  155. package/lib/components/ExchangeRateTile/calculateResult.js.map +1 -1
  156. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  157. package/lib/components/Footer/SocialMedia.js.map +1 -1
  158. package/lib/components/Footer/SocialMedia.mobile.js.map +1 -1
  159. package/lib/components/Footer/TextInformation.js.map +1 -1
  160. package/lib/components/Footer/TextInformation.mobile.js.map +1 -1
  161. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  162. package/lib/components/GroupBlock/GroupBlocksItem.js.map +1 -1
  163. package/lib/components/GroupBlock/renderBlocksTypes.js.map +1 -1
  164. package/lib/components/Header/HeaderBurger.js.map +1 -1
  165. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  166. package/lib/components/Headline/Headline.mobile.js.map +1 -1
  167. package/lib/components/Insurance/Insurance.js.map +1 -1
  168. package/lib/components/Insurance/InsuranceContent.d.ts +5 -2
  169. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +3 -3
  170. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  171. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +5 -3
  172. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  173. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  174. package/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  175. package/lib/components/LinkList/LinkList.js.map +1 -1
  176. package/lib/components/MobileAppTile/MobileAppTile.fixture.d.ts +2 -0
  177. package/lib/components/MobileAppTile/MobileAppTile.js +16 -2
  178. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  179. package/lib/components/MobileAppTile/MobileAppTile.mobile.js +2 -2
  180. package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
  181. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +5 -1
  182. package/lib/components/OtherProducts/OtherProducts.fixture.d.ts +0 -1
  183. package/lib/components/OtherProducts/OtherProducts.js +1 -1
  184. package/lib/components/OtherProducts/OtherProducts.js.map +1 -1
  185. package/lib/components/OtherProducts/OtherProductsContent.d.ts +3 -8
  186. package/lib/components/OtherProducts/OtherProductsItem.js +4 -6
  187. package/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
  188. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  189. package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  190. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  191. package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  192. package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  193. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  194. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  195. package/lib/components/StepsBlock/StepsBlock.js +10 -6
  196. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  197. package/lib/components/StepsBlock/StepsBlock.mobile.js +12 -31
  198. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  199. package/lib/components/StepsBlock/StepsBlockContent.d.ts +5 -2
  200. package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +9 -0
  201. package/lib/components/StepsBlock/StepsBlockStyleMaps.js +18 -0
  202. package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -0
  203. package/lib/components/TextBlock/TextBlock.js.map +1 -1
  204. package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
  205. package/lib/content-page-repository/ContentPageRepository.js.map +1 -1
  206. package/lib/content-page-repository/mapJSON.js.map +1 -1
  207. package/lib/content-page-repository/transformContentPage.js.map +1 -1
  208. package/lib/content-page-repository/transformMarkdown.js.map +1 -1
  209. package/lib/content-page-repository/transformPicture.js.map +1 -1
  210. package/lib/hooks/useCreditCalculatorData.js.map +1 -1
  211. package/lib/hooks/useExchangeRates.js.map +1 -1
  212. package/lib/hooks/useLink.js.map +1 -1
  213. package/lib/react/setup-fixture.js.map +1 -1
  214. package/lib/services/sitemap/findActiveSubItem.js.map +1 -1
  215. package/lib/services/sitemap/useSitemap.js.map +1 -1
  216. package/lib/ui-kit/BlocksList/BlocksListProps.d.ts +17 -15
  217. package/lib/ui-kit/BlocksList/renderBlocksList.d.ts +2 -3
  218. package/lib/ui-kit/BlocksList/renderBlocksList.js +5 -4
  219. package/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  220. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  221. package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  222. package/lib/ui-kit/Foldable/Foldable.d.ts +2 -0
  223. package/lib/ui-kit/Foldable/Foldable.js +5 -5
  224. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  225. package/lib/ui-kit/Input/Input.js.map +1 -1
  226. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  227. package/lib/ui-kit/List/ListItem.js.map +1 -1
  228. package/lib/ui-kit/Logo/Logo.js.map +1 -1
  229. package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  230. package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  231. package/lib/ui-kit/SearchBar.mobile.js.map +1 -1
  232. package/lib/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -1
  233. package/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  234. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  235. package/lib/utils/adjustHref.js.map +1 -1
  236. package/lib/utils/getColSpan.js.map +1 -1
  237. package/lib/utils/roundTo.js.map +1 -1
  238. package/lib/utils/tableFunc.js.map +1 -1
  239. package/lib/utils/url.js.map +1 -1
  240. package/mobile/bundle/bundle.umd.js +34 -37
  241. package/mobile/bundle/bundle.umd.min.js +1 -1
  242. package/mobile/dist/api/DaDataAPI.js.map +1 -1
  243. package/mobile/dist/api/LikeAPI.js.map +1 -1
  244. package/mobile/dist/components/Accordion/Accordion.js +1 -1
  245. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  246. package/mobile/dist/components/Accordion/AccordionItem.js +1 -1
  247. package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
  248. package/mobile/dist/components/Accordion/AccordionItemInner.js +1 -2
  249. package/mobile/dist/components/Accordion/AccordionItemInner.js.map +1 -1
  250. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  251. package/mobile/dist/components/Calculator/getMonthlyPayment.js.map +1 -1
  252. package/mobile/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  253. package/mobile/dist/components/Calculator/renderMonthsInput.js.map +1 -1
  254. package/mobile/dist/components/Calculator/renderRate.js.map +1 -1
  255. package/mobile/dist/components/Catalog/Catalog.d.ts +5 -0
  256. package/mobile/dist/components/Catalog/Catalog.js +36 -0
  257. package/mobile/dist/components/Catalog/Catalog.js.map +1 -0
  258. package/mobile/dist/components/Catalog/CatalogCard.d.ts +7 -0
  259. package/mobile/dist/components/Catalog/CatalogCard.js +16 -0
  260. package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -0
  261. package/mobile/dist/components/Catalog/CatalogContent.d.ts +22 -0
  262. package/{dist/model/Insurance.js → mobile/dist/components/Catalog/CatalogContent.js} +1 -1
  263. package/mobile/dist/components/Catalog/CatalogContent.js.map +1 -0
  264. package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  265. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  266. package/mobile/dist/components/ContentPage/ContentPageHead.js.map +1 -1
  267. package/mobile/dist/components/ContentPage/normalizeBlock.js.map +1 -1
  268. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  269. package/mobile/dist/components/ExchangeRateTile/calculateResult.js.map +1 -1
  270. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  271. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  272. package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
  273. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  274. package/mobile/dist/components/GroupBlock/GroupBlocksItem.js.map +1 -1
  275. package/mobile/dist/components/GroupBlock/renderBlocksTypes.js.map +1 -1
  276. package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
  277. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  278. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  279. package/mobile/dist/components/Insurance/Insurance.js.map +1 -1
  280. package/mobile/dist/components/Insurance/InsuranceContent.d.ts +5 -2
  281. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +3 -3
  282. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  283. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +5 -3
  284. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  285. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  286. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  287. package/mobile/dist/components/LinkList/LinkList.js.map +1 -1
  288. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +2 -2
  289. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  290. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +5 -1
  291. package/mobile/dist/components/OtherProducts/OtherProducts.js +1 -1
  292. package/mobile/dist/components/OtherProducts/OtherProducts.js.map +1 -1
  293. package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +3 -8
  294. package/mobile/dist/components/OtherProducts/OtherProductsItem.js +4 -6
  295. package/mobile/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
  296. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  297. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  298. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  299. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  300. package/mobile/dist/components/StepsBlock/StepsBlock.js +12 -31
  301. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  302. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +5 -2
  303. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +9 -0
  304. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js +21 -0
  305. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -0
  306. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  307. package/mobile/dist/content-page-repository/ContentPageRepository.js.map +1 -1
  308. package/mobile/dist/content-page-repository/mapJSON.js.map +1 -1
  309. package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
  310. package/mobile/dist/content-page-repository/transformMarkdown.js.map +1 -1
  311. package/mobile/dist/content-page-repository/transformPicture.js.map +1 -1
  312. package/mobile/dist/hooks/useCreditCalculatorData.js.map +1 -1
  313. package/mobile/dist/hooks/useExchangeRates.js.map +1 -1
  314. package/mobile/dist/hooks/useLink.js.map +1 -1
  315. package/mobile/dist/react/setup-fixture.js.map +1 -1
  316. package/mobile/dist/services/sitemap/findActiveSubItem.js.map +1 -1
  317. package/mobile/dist/services/sitemap/useSitemap.js.map +1 -1
  318. package/mobile/dist/ui-kit/BlocksList/BlocksListProps.d.ts +17 -15
  319. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.d.ts +2 -3
  320. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js +5 -4
  321. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  322. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  323. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  324. package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +2 -0
  325. package/mobile/dist/ui-kit/Foldable/Foldable.js +5 -5
  326. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  327. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  328. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  329. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  330. package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  331. package/mobile/dist/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -1
  332. package/mobile/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  333. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  334. package/mobile/dist/utils/adjustHref.js.map +1 -1
  335. package/mobile/dist/utils/getColSpan.js.map +1 -1
  336. package/mobile/dist/utils/roundTo.js.map +1 -1
  337. package/mobile/dist/utils/tableFunc.js.map +1 -1
  338. package/mobile/dist/utils/url.js.map +1 -1
  339. package/mobile/lib/api/DaDataAPI.js.map +1 -1
  340. package/mobile/lib/api/LikeAPI.js.map +1 -1
  341. package/mobile/lib/components/Accordion/Accordion.js +1 -1
  342. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  343. package/mobile/lib/components/Accordion/AccordionItem.js +1 -1
  344. package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
  345. package/mobile/lib/components/Accordion/AccordionItemInner.js +1 -2
  346. package/mobile/lib/components/Accordion/AccordionItemInner.js.map +1 -1
  347. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  348. package/mobile/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
  349. package/mobile/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  350. package/mobile/lib/components/Calculator/renderMonthsInput.js.map +1 -1
  351. package/mobile/lib/components/Calculator/renderRate.js.map +1 -1
  352. package/mobile/lib/components/Catalog/Catalog.d.ts +5 -0
  353. package/mobile/lib/components/Catalog/Catalog.js +34 -0
  354. package/mobile/lib/components/Catalog/Catalog.js.map +1 -0
  355. package/mobile/lib/components/Catalog/CatalogCard.d.ts +7 -0
  356. package/mobile/lib/components/Catalog/CatalogCard.js +14 -0
  357. package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -0
  358. package/mobile/lib/components/Catalog/CatalogContent.d.ts +22 -0
  359. package/mobile/lib/components/Catalog/CatalogContent.js +2 -0
  360. package/mobile/lib/components/Catalog/CatalogContent.js.map +1 -0
  361. package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  362. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  363. package/mobile/lib/components/ContentPage/ContentPageHead.js.map +1 -1
  364. package/mobile/lib/components/ContentPage/normalizeBlock.js.map +1 -1
  365. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  366. package/mobile/lib/components/ExchangeRateTile/calculateResult.js.map +1 -1
  367. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  368. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  369. package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
  370. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  371. package/mobile/lib/components/GroupBlock/GroupBlocksItem.js.map +1 -1
  372. package/mobile/lib/components/GroupBlock/renderBlocksTypes.js.map +1 -1
  373. package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
  374. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  375. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  376. package/mobile/lib/components/Insurance/Insurance.js.map +1 -1
  377. package/mobile/lib/components/Insurance/InsuranceContent.d.ts +5 -2
  378. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +3 -3
  379. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  380. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +5 -3
  381. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  382. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  383. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  384. package/mobile/lib/components/LinkList/LinkList.js.map +1 -1
  385. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +2 -2
  386. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  387. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +5 -1
  388. package/mobile/lib/components/OtherProducts/OtherProducts.js +1 -1
  389. package/mobile/lib/components/OtherProducts/OtherProducts.js.map +1 -1
  390. package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +3 -8
  391. package/mobile/lib/components/OtherProducts/OtherProductsItem.js +4 -6
  392. package/mobile/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
  393. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  394. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  395. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  396. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  397. package/mobile/lib/components/StepsBlock/StepsBlock.js +12 -31
  398. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  399. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +5 -2
  400. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +9 -0
  401. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js +18 -0
  402. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -0
  403. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  404. package/mobile/lib/content-page-repository/ContentPageRepository.js.map +1 -1
  405. package/mobile/lib/content-page-repository/mapJSON.js.map +1 -1
  406. package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
  407. package/mobile/lib/content-page-repository/transformMarkdown.js.map +1 -1
  408. package/mobile/lib/content-page-repository/transformPicture.js.map +1 -1
  409. package/mobile/lib/hooks/useCreditCalculatorData.js.map +1 -1
  410. package/mobile/lib/hooks/useExchangeRates.js.map +1 -1
  411. package/mobile/lib/hooks/useLink.js.map +1 -1
  412. package/mobile/lib/react/setup-fixture.js.map +1 -1
  413. package/mobile/lib/services/sitemap/findActiveSubItem.js.map +1 -1
  414. package/mobile/lib/services/sitemap/useSitemap.js.map +1 -1
  415. package/mobile/lib/ui-kit/BlocksList/BlocksListProps.d.ts +17 -15
  416. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.d.ts +2 -3
  417. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js +5 -4
  418. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  419. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  420. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  421. package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +2 -0
  422. package/mobile/lib/ui-kit/Foldable/Foldable.js +5 -5
  423. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  424. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  425. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  426. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  427. package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  428. package/mobile/lib/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -1
  429. package/mobile/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  430. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  431. package/mobile/lib/utils/adjustHref.js.map +1 -1
  432. package/mobile/lib/utils/getColSpan.js.map +1 -1
  433. package/mobile/lib/utils/roundTo.js.map +1 -1
  434. package/mobile/lib/utils/tableFunc.js.map +1 -1
  435. package/mobile/lib/utils/url.js.map +1 -1
  436. package/mobile/src/api/DaDataAPI.ts +2 -0
  437. package/mobile/src/api/LikeAPI.ts +4 -0
  438. package/mobile/src/components/Accordion/Accordion.tsx +1 -1
  439. package/mobile/src/components/Accordion/AccordionItem.tsx +2 -2
  440. package/mobile/src/components/Accordion/AccordionItemInner.tsx +3 -4
  441. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +3 -0
  442. package/mobile/src/components/Calculator/getMonthlyPayment.ts +1 -0
  443. package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +1 -0
  444. package/mobile/src/components/Calculator/renderMonthsInput.tsx +1 -0
  445. package/mobile/src/components/Calculator/renderRate.tsx +1 -0
  446. package/mobile/src/components/Catalog/Catalog.example.json +57 -0
  447. package/mobile/src/components/Catalog/Catalog.tsx +73 -0
  448. package/mobile/src/components/Catalog/CatalogCard.tsx +47 -0
  449. package/mobile/src/components/Catalog/CatalogContent.ts +26 -0
  450. package/mobile/src/components/ComparisonTable/TableColumn.tsx +1 -0
  451. package/mobile/src/components/ContentPage/ContentPage.tsx +2 -0
  452. package/mobile/src/components/ContentPage/ContentPageHead.tsx +1 -0
  453. package/mobile/src/components/ContentPage/normalizeBlock.ts +1 -0
  454. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +1 -0
  455. package/mobile/src/components/ExchangeRateTile/calculateResult.ts +1 -0
  456. package/mobile/src/components/Footer/Footer.tsx +2 -0
  457. package/mobile/src/components/Footer/SocialMedia.tsx +1 -0
  458. package/mobile/src/components/Footer/TextInformation.tsx +1 -0
  459. package/mobile/src/components/Gallery/GalleryCardInner.tsx +1 -0
  460. package/mobile/src/components/GroupBlock/GroupBlocksItem.tsx +1 -0
  461. package/mobile/src/components/GroupBlock/renderBlocksTypes.tsx +1 -0
  462. package/mobile/src/components/Header/HeaderBurger.tsx +2 -0
  463. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +1 -0
  464. package/mobile/src/components/Headline/Headline.tsx +1 -0
  465. package/mobile/src/components/Insurance/Insurance.tsx +1 -0
  466. package/mobile/src/components/Insurance/InsuranceContent.ts +5 -2
  467. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +4 -4
  468. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +8 -3
  469. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +5 -3
  470. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +6 -5
  471. package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +3 -0
  472. package/mobile/src/components/LinkList/LinkList.tsx +1 -0
  473. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +2 -4
  474. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +7 -1
  475. package/mobile/src/components/OtherProducts/OtherProducts.tsx +2 -2
  476. package/mobile/src/components/OtherProducts/OtherProductsContent.ts +3 -8
  477. package/mobile/src/components/OtherProducts/OtherProductsItem.tsx +6 -18
  478. package/mobile/src/components/ProductBlock/ProductBlock.tsx +1 -0
  479. package/mobile/src/components/ProductBlock/renderBenefit.tsx +1 -0
  480. package/mobile/src/components/ProductTile/ProductTile.tsx +2 -0
  481. package/mobile/src/components/PromoTile/PromoTile.tsx +1 -0
  482. package/mobile/src/components/StepsBlock/StepsBlock.tsx +58 -82
  483. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +6 -3
  484. package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +28 -0
  485. package/mobile/src/components/TextBlock/TextBlock.tsx +1 -0
  486. package/mobile/src/content-page-repository/ContentPageRepository.ts +5 -0
  487. package/mobile/src/content-page-repository/mapJSON.ts +3 -0
  488. package/mobile/src/content-page-repository/transformContentPage.ts +2 -0
  489. package/mobile/src/content-page-repository/transformMarkdown.ts +1 -0
  490. package/mobile/src/content-page-repository/transformPicture.ts +2 -0
  491. package/mobile/src/hooks/useCreditCalculatorData.ts +2 -0
  492. package/mobile/src/hooks/useExchangeRates.ts +3 -0
  493. package/mobile/src/hooks/useLink.ts +1 -0
  494. package/mobile/src/react/setup-fixture.ts +1 -0
  495. package/mobile/src/services/sitemap/findActiveSubItem.ts +1 -0
  496. package/mobile/src/services/sitemap/useSitemap.ts +2 -0
  497. package/mobile/src/ui-kit/BlocksList/BlocksListProps.ts +25 -15
  498. package/mobile/src/ui-kit/BlocksList/renderBlocksList.tsx +14 -9
  499. package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -0
  500. package/mobile/src/ui-kit/Button/ButtonSection.tsx +1 -0
  501. package/mobile/src/ui-kit/Foldable/Foldable.tsx +8 -4
  502. package/mobile/src/ui-kit/Input/Input.tsx +1 -0
  503. package/mobile/src/ui-kit/InputRange/InputRange.tsx +1 -0
  504. package/mobile/src/ui-kit/List/ListItem.tsx +1 -0
  505. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +1 -0
  506. package/mobile/src/ui-kit/SwipeListControl/utils/getIndexParts.ts +1 -0
  507. package/mobile/src/ui-kit/Tabs/Tabs.tsx +1 -0
  508. package/mobile/src/ui-kit/TopItem/TopItem.tsx +1 -0
  509. package/mobile/src/utils/adjustHref.ts +2 -0
  510. package/mobile/src/utils/getColSpan.ts +1 -0
  511. package/mobile/src/utils/roundTo.ts +1 -0
  512. package/mobile/src/utils/tableFunc.ts +1 -0
  513. package/mobile/src/utils/url.ts +2 -0
  514. package/package.json +1 -1
  515. package/src/api/DaDataAPI.ts +2 -0
  516. package/src/api/LikeAPI.ts +4 -0
  517. package/src/components/Accordion/Accordion.fixture.mobile.tsx +8 -19
  518. package/src/components/Accordion/Accordion.fixture.tsx +10 -2
  519. package/src/components/Accordion/Accordion.mobile.tsx +1 -1
  520. package/src/components/Accordion/AccordionItem.mobile.tsx +2 -2
  521. package/src/components/Accordion/AccordionItemInner.mobile.tsx +3 -4
  522. package/src/components/Accordion/AccordionItemInner.tsx +3 -4
  523. package/src/components/BenefitsBlock/BenefitsBlock.tsx +3 -0
  524. package/src/components/Blocks.ts +5 -3
  525. package/src/components/Calculator/getMonthlyPayment.ts +1 -0
  526. package/src/components/Calculator/renderCalculatorBlock.tsx +1 -0
  527. package/src/components/Calculator/renderMonthsInput.tsx +1 -0
  528. package/src/components/Calculator/renderRate.tsx +1 -0
  529. package/src/components/Catalog/Catalog.example.json +57 -0
  530. package/src/components/Catalog/Catalog.fixture.tsx +48 -0
  531. package/src/components/Catalog/Catalog.tsx +73 -0
  532. package/src/components/Catalog/CatalogCard.tsx +47 -0
  533. package/src/components/Catalog/CatalogContent.ts +26 -0
  534. package/src/components/ComparisonTable/TableColumn.tsx +1 -0
  535. package/src/components/ContentPage/ContentPage.tsx +2 -0
  536. package/src/components/ContentPage/ContentPageHead.tsx +1 -0
  537. package/src/components/ContentPage/normalizeBlock.mobile.ts +1 -0
  538. package/src/components/ContentPage/normalizeBlock.ts +1 -0
  539. package/src/components/ExchangeRateTile/CurrencyTable.tsx +1 -0
  540. package/src/components/ExchangeRateTile/calculateResult.ts +1 -0
  541. package/src/components/Footer/Footer.mobile.tsx +2 -0
  542. package/src/components/Footer/SocialMedia.mobile.tsx +1 -0
  543. package/src/components/Footer/SocialMedia.tsx +1 -0
  544. package/src/components/Footer/TextInformation.mobile.tsx +1 -0
  545. package/src/components/Footer/TextInformation.tsx +1 -0
  546. package/src/components/Gallery/GalleryCardInner.tsx +1 -0
  547. package/src/components/GroupBlock/GroupBlocksItem.tsx +1 -0
  548. package/src/components/GroupBlock/renderBlocksTypes.tsx +1 -0
  549. package/src/components/Header/HeaderBurger.tsx +2 -0
  550. package/src/components/Header/HeaderSecondaryMenu.tsx +1 -0
  551. package/src/components/Headline/Headline.mobile.tsx +1 -0
  552. package/src/components/Insurance/Insurance.tsx +1 -0
  553. package/src/components/Insurance/InsuranceContent.ts +5 -2
  554. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +4 -4
  555. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +0 -5
  556. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +8 -3
  557. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +5 -3
  558. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +6 -5
  559. package/src/components/LinkDocs/LinkDocsListItemBase.tsx +3 -0
  560. package/src/components/LinkList/LinkList.tsx +1 -0
  561. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +69 -13
  562. package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +2 -4
  563. package/src/components/MobileAppTile/MobileAppTile.tsx +44 -12
  564. package/src/components/MobileAppTile/MobileAppTileContent.ts +7 -1
  565. package/src/components/OtherProducts/OtherProducts.fixture.tsx +16 -53
  566. package/src/components/OtherProducts/OtherProducts.tsx +2 -2
  567. package/src/components/OtherProducts/OtherProductsContent.ts +3 -8
  568. package/src/components/OtherProducts/OtherProductsItem.tsx +6 -18
  569. package/src/components/ProductBlock/ProductBlock.mobile.tsx +1 -0
  570. package/src/components/ProductBlock/ProductBlock.tsx +1 -0
  571. package/src/components/ProductBlock/ProductBlockInner.tsx +1 -0
  572. package/src/components/ProductBlock/renderBenefit.mobile.tsx +1 -0
  573. package/src/components/ProductBlock/renderBenefit.tsx +1 -0
  574. package/src/components/ProductTile/ProductTile.tsx +2 -0
  575. package/src/components/PromoTile/PromoTile.tsx +1 -0
  576. package/src/components/StepsBlock/StepsBlock.mobile.tsx +58 -82
  577. package/src/components/StepsBlock/StepsBlock.tsx +27 -11
  578. package/src/components/StepsBlock/StepsBlockContent.ts +6 -3
  579. package/src/components/StepsBlock/StepsBlockStyleMaps.ts +28 -0
  580. package/src/components/TextBlock/TextBlock.mobile.tsx +1 -0
  581. package/src/components/TextBlock/TextBlock.tsx +1 -0
  582. package/src/content-page-repository/ContentPageRepository.ts +5 -0
  583. package/src/content-page-repository/mapJSON.ts +3 -0
  584. package/src/content-page-repository/transformContentPage.ts +2 -0
  585. package/src/content-page-repository/transformMarkdown.ts +1 -0
  586. package/src/content-page-repository/transformPicture.ts +2 -0
  587. package/src/hooks/useCreditCalculatorData.ts +2 -0
  588. package/src/hooks/useExchangeRates.ts +3 -0
  589. package/src/hooks/useLink.ts +1 -0
  590. package/src/react/setup-fixture.ts +1 -0
  591. package/src/services/sitemap/findActiveSubItem.ts +1 -0
  592. package/src/services/sitemap/useSitemap.ts +2 -0
  593. package/src/ui-kit/BlocksList/BlocksListProps.ts +25 -15
  594. package/src/ui-kit/BlocksList/renderBlocksList.tsx +14 -9
  595. package/src/ui-kit/Button/ButtonInner.tsx +1 -0
  596. package/src/ui-kit/Button/ButtonSection.tsx +1 -0
  597. package/src/ui-kit/Foldable/Foldable.tsx +8 -4
  598. package/src/ui-kit/Input/Input.tsx +1 -0
  599. package/src/ui-kit/InputRange/InputRange.tsx +1 -0
  600. package/src/ui-kit/List/ListItem.tsx +1 -0
  601. package/src/ui-kit/Logo/Logo.tsx +1 -0
  602. package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +1 -0
  603. package/src/ui-kit/SearchBar/SearchBar.tsx +1 -0
  604. package/src/ui-kit/SearchBar.mobile.tsx +1 -0
  605. package/src/ui-kit/SwipeListControl/utils/getIndexParts.ts +1 -0
  606. package/src/ui-kit/Tabs/Tabs.tsx +1 -0
  607. package/src/ui-kit/TopItem/TopItem.tsx +1 -0
  608. package/src/utils/adjustHref.ts +2 -0
  609. package/src/utils/getColSpan.ts +1 -0
  610. package/src/utils/roundTo.ts +1 -0
  611. package/src/utils/tableFunc.ts +1 -0
  612. package/src/utils/url.ts +2 -0
  613. package/dist/model/Insurance.d.ts +0 -6
  614. package/dist/model/Insurance.js.map +0 -1
  615. package/lib/model/Insurance.d.ts +0 -6
  616. package/lib/model/Insurance.js +0 -2
  617. package/lib/model/Insurance.js.map +0 -1
  618. package/mobile/dist/model/Insurance.d.ts +0 -6
  619. package/mobile/dist/model/Insurance.js.map +0 -1
  620. package/mobile/lib/model/Insurance.d.ts +0 -6
  621. package/mobile/lib/model/Insurance.js +0 -2
  622. package/mobile/lib/model/Insurance.js.map +0 -1
  623. package/mobile/src/model/Insurance.ts +0 -6
  624. package/src/model/Insurance.ts +0 -6
@@ -28,6 +28,7 @@ export const Footer = JSX<FooterProps>(
28
28
  }) => {
29
29
  const sitemap = useSitemap(context.useAsyncData);
30
30
  const dispositions = sitemap?.dispositions;
31
+
31
32
  return (
32
33
  <footer className={`px-4 py-[26px] bg-white ${className}`}>
33
34
  <Contacts className="overflow-hidden" items={contacts} context={context} hasButton />
@@ -57,6 +58,7 @@ export const Footer = JSX<FooterProps>(
57
58
 
58
59
  const renderSubMenuItem = (menu: SubMenuItem, i: number) => {
59
60
  const { icon, href, text } = menu;
61
+
60
62
  return (
61
63
  <Button version="link" key={`footer-${i}`} href={href} className="flex text-sm mb-4">
62
64
  {icon ? <Img className="pr-1" image={icon} width="24" height="24" asSVG /> : null}
@@ -13,6 +13,7 @@ export interface SocialMediaProps extends UniBlockProps {
13
13
  export const SocialMedia = JSX<SocialMediaProps>(({ className, media, version, context }) => {
14
14
  const router = context.useRouter();
15
15
  const { handlerDecorator } = context;
16
+
16
17
  return (
17
18
  <div className={`flex gap-2 items-start justify-start pt-6 pb-6 ${className || ''}`}>
18
19
  {media?.map((_, index) => (
@@ -6,6 +6,7 @@ import type { FooterLink } from './FooterLink';
6
6
  export const TextInformation = JSX<FooterLink>(({ className, links, context }) => {
7
7
  const router = context.useRouter();
8
8
  const { handlerDecorator } = context;
9
+
9
10
  return (
10
11
  <div className={`${className || ''}`}>
11
12
  <div className="py-6">
@@ -8,6 +8,7 @@ import type { GalleryCard, GalleryItem } from './GalleryContent';
8
8
  export const GalleryCardInner = JSX<GalleryCard>(
9
9
  ({ title, description, image, items, button, version, isDotted = true }) => {
10
10
  const titleStyleClasses = getTitleStyle(version);
11
+
11
12
  return (
12
13
  <div className="h-full flex flex-col justify-between text-center">
13
14
  <div>
@@ -24,6 +24,7 @@ export const renderBlock = (context: ContentPageContext) => (block: GroupBlockDe
24
24
  }
25
25
  const classNameBlock = style2className(block?.style);
26
26
  const EmbeddedBlock: JSXBlock = EmbeddableGroupBlocks[type];
27
+
27
28
  return (
28
29
  <EmbeddedBlock key={`block_${i}`} context={context} {...block} className={classNameBlock} />
29
30
  );
@@ -19,6 +19,7 @@ export const renderBlock =
19
19
  }
20
20
  const classNameBlock = style2className(block?.style);
21
21
  const EmbeddedBlock: JSXBlock = EmbeddableGroupBlocks[type];
22
+
22
23
  return (
23
24
  <div className={className} key={`block_${i}`}>
24
25
  <EmbeddedBlock context={context} {...block} className={classNameBlock} />
@@ -15,6 +15,7 @@ export interface HeaderBurgerProps {
15
15
  export const HeaderBurger = JSX<HeaderBurgerProps>(
16
16
  ({ context, burgerSubMenu, onClick, defaultLocation = '', children }) => {
17
17
  const [city, getCity] = context.useGeolocation(defaultLocation);
18
+
18
19
  return (
19
20
  <div className="absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20">
20
21
  <button
@@ -46,6 +47,7 @@ export const HeaderBurger = JSX<HeaderBurgerProps>(
46
47
 
47
48
  const renderBurgerSubMenuItem = (menu: DispositionItem, i: number) => {
48
49
  const { icon, href, text } = menu;
50
+
49
51
  return (
50
52
  <a key={`headerSubMenu-${i}`} href={href} className="flex text-sm mb-4 hover:text-primary-main">
51
53
  {icon ? (
@@ -29,6 +29,7 @@ const LINKS_ICON_VERSION_MAP: Record<BgColorVersion, IconVersion> = {
29
29
  export const HeaderSecondaryMenu = JSX<HeaderSecondaryMenuProps>(
30
30
  ({ context, className, defaultLocation = '', bgColor = 'bg-white' }) => {
31
31
  const [city, getCity] = context.useGeolocation(defaultLocation);
32
+
32
33
  return (
33
34
  <div className={`flex items-center ${className || ''}`}>
34
35
  <TopItem
@@ -18,6 +18,7 @@ export const Headline = JSX<HeadlineProps>(
18
18
  align = 'left',
19
19
  }) => {
20
20
  const STYLE_MAPS = HEADLINE_BLOCK_STYLE_MAPS[bgColorHeadline];
21
+
21
22
  return (
22
23
  <section className={`px-4 py-6 flex flex-col gap-2.5 ${STYLE_MAPS.background} ${className}`}>
23
24
  {title ? (
@@ -64,6 +64,7 @@ function renderInsuranceSumMonth(sum, monthLimit) {
64
64
 
65
65
  function renderValueBlock(title, sum, isAnotherBlock) {
66
66
  const widthStyle = isAnotherBlock ? 'w-fit' : 'w-full';
67
+
67
68
  return (
68
69
  <div className={`flex justify-between items-center gap-2 w-full ${widthStyle}`}>
69
70
  <span className="text-secondary-text text-base">{title}</span>
@@ -1,5 +1,4 @@
1
1
  import type { Picture } from '../../model/Picture';
2
- import type { InsuranceProps } from '../../model/Insurance';
3
2
 
4
3
  /**
5
4
  * @title Преимущество
@@ -15,12 +14,16 @@ export interface InsuranceBenefit {
15
14
  /**
16
15
  * @title Страховка
17
16
  */
18
- export type InsuranceContent = InsuranceProps & {
17
+ export type InsuranceContent = {
19
18
  /** @title Заголовок */
20
19
  title?: string;
21
20
  /** @title Описание */
22
21
  description?: string;
23
22
  image?: Picture;
23
+ /** @title Ежемесячный лимит */
24
+ monthLimit?: number;
25
+ /** @title Страховая сумма */
26
+ sum?: number;
24
27
  /**
25
28
  * @title Список преимуществ
26
29
  * @maxItems 6
@@ -6,8 +6,8 @@
6
6
  },
7
7
  "insuranceTabs": [
8
8
  {
9
- "title": "Описание",
10
- "card": [
9
+ "title": "Описание 1",
10
+ "cards": [
11
11
  {
12
12
  "sum": 200000,
13
13
  "fee": 2100,
@@ -21,8 +21,8 @@
21
21
  ]
22
22
  },
23
23
  {
24
- "title": "Описание",
25
- "card": [
24
+ "title": "Описание 2",
25
+ "cards": [
26
26
  {
27
27
  "sum": 200000,
28
28
  "fee": 2100,
@@ -9,7 +9,6 @@ export interface InsuranceAmountBlockProps extends InsuranceAmountBlockContent,
9
9
 
10
10
  export const InsuranceAmountBlock = JSX<InsuranceAmountBlockProps>(
11
11
  ({ className = '', context, title, insuranceTabs = [], button, anchor = null }) => {
12
- const insuranceGalleries = insuranceTabs.map((_) => _.cards);
13
12
  const [activeSlideIndex, setActiveSlideIndex] = context.useState(0);
14
13
 
15
14
  return (
@@ -36,7 +35,7 @@ export const InsuranceAmountBlock = JSX<InsuranceAmountBlockProps>(
36
35
  {renderInsuranceGalleries({
37
36
  context,
38
37
  className,
39
- insuranceGalleries,
38
+ insuranceTabs,
40
39
  })}
41
40
  </div>
42
41
  {button?.text ? (
@@ -55,7 +54,13 @@ export const InsuranceAmountBlock = JSX<InsuranceAmountBlockProps>(
55
54
  },
56
55
  );
57
56
 
58
- const renderInsuranceGalleries = ({ insuranceGalleries, context, className }: any) => {
57
+ const renderInsuranceGalleries = ({
58
+ insuranceTabs,
59
+ context,
60
+ className = '',
61
+ }: InsuranceAmountBlockProps) => {
62
+ const insuranceGalleries = insuranceTabs?.map((_) => _.cards);
63
+
59
64
  return insuranceGalleries?.length
60
65
  ? insuranceGalleries.map((cards) => (
61
66
  <InsuranceAmountBlockInner context={context} className={className} cards={cards} />
@@ -1,14 +1,16 @@
1
1
  import type { Picture } from '../../model/Picture';
2
2
  import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
3
- import type { InsuranceProps } from '../../model/Insurance';
4
3
 
5
4
  /**
6
5
  * @title Кнопка выбора программы
7
6
  */
8
- export type cardItem = InsuranceProps & {
7
+ export type CardItem = {
8
+ /** @title Иконка */
9
9
  icon?: Picture;
10
10
  /** @title Страховой взнос */
11
11
  fee?: number;
12
+ /** @title Страховая сумма */
13
+ sum?: number;
12
14
  };
13
15
 
14
16
  /**
@@ -18,7 +20,7 @@ export interface InsuranceAmountBlockTabs {
18
20
  /** @title Заголовок вкладки */
19
21
  title?: string;
20
22
  /** @title Содержимое вкладки */
21
- cards?: cardItem[];
23
+ cards?: CardItem[];
22
24
  }
23
25
 
24
26
  /**
@@ -1,6 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import type { UniBlockProps, FuncReturnVoid } from '../../types';
3
- import type { InsuranceAmountBlockTabs, cardItem } from './InsuranceAmountBlockContent';
3
+ import type { InsuranceAmountBlockTabs, CardItem } from './InsuranceAmountBlockContent';
4
4
  import { Img } from '../../ui-kit/Img/Img';
5
5
  import { addSpacesBetweenNumbers } from '../../utils/addSpacesBetweenNumbers';
6
6
  import { renderArrows } from '../../ui-kit/Button/renderArrows';
@@ -9,14 +9,14 @@ export interface InsuranceAmountBlockInnerProps extends InsuranceAmountBlockTabs
9
9
 
10
10
  type InsuranceGalleryProps = {
11
11
  tabsShift: number;
12
- cards: cardItem[];
12
+ cards: CardItem[];
13
13
  activeSlideIndex: number;
14
14
  isLastShift: boolean;
15
15
  setActiveSlideIndex: FuncReturnVoid<number>;
16
16
  };
17
17
 
18
18
  type InsuranceSlideProps = {
19
- slide: cardItem;
19
+ slide: CardItem;
20
20
  i: number;
21
21
  activeSlideIndex: number;
22
22
  onClick: FuncReturnVoid<MouseEvent>;
@@ -30,7 +30,7 @@ export const InsuranceAmountBlockInner = JSX<InsuranceAmountBlockInnerProps>(
30
30
  const handleNextClick = () => setTabsShift(tabsShift + 1);
31
31
  const handlePrevClick = () => setTabsShift(tabsShift - 1);
32
32
 
33
- const galleryLength = cards?.length;
33
+ const galleryLength = cards?.length ?? 0;
34
34
 
35
35
  const isGalleryScrollAvailable = cards?.length > 2;
36
36
  const showNextButton = isGalleryScrollAvailable && galleryLength > tabsShift + 2;
@@ -40,7 +40,7 @@ export const InsuranceAmountBlockInner = JSX<InsuranceAmountBlockInnerProps>(
40
40
  return (
41
41
  <section id={anchor} className={`min-w-full ${className}`}>
42
42
  <div className="relative mt-7 overflow-hidden">
43
- {galleryLength > 1
43
+ {galleryLength
44
44
  ? renderGallery({
45
45
  tabsShift,
46
46
  cards,
@@ -75,6 +75,7 @@ function renderGallery({
75
75
  setActiveSlideIndex,
76
76
  }: InsuranceGalleryProps) {
77
77
  const tabsShiftWidth = isLastShift ? tabsShift * 460 - 240 : tabsShift * 460;
78
+
78
79
  return (
79
80
  <div
80
81
  style={{ transform: `translateX(-${tabsShiftWidth}px)` }}
@@ -18,6 +18,7 @@ export interface LinkDocsListItemBaseProps extends LinkDocsListItemProps {
18
18
  export const LinkDocsListItemBase = JSX<LinkDocsListItemBaseProps>(
19
19
  ({ className, iconClassName, textClassName, suffixClassName, doc, icon }) => {
20
20
  const { text, fileSize, ...linkProps } = doc;
21
+
21
22
  return (
22
23
  <a className={className} role="link" {...linkProps}>
23
24
  {icon ? (
@@ -40,6 +41,7 @@ const formatSuffix = (ext?: string, fileSize?: string) => {
40
41
  const prefix = ext || fileSize ? ',' : '';
41
42
  const extension = ext ? ` ${ext}` : '';
42
43
  const size = fileSize ? ` (${fileSize})` : '';
44
+
43
45
  return prefix + extension + size;
44
46
  };
45
47
 
@@ -49,5 +51,6 @@ const getExtFromHref = (href: string) => {
49
51
  }
50
52
 
51
53
  const index = href.lastIndexOf('.');
54
+
52
55
  return index !== -1 ? href.substring(index + 1) : '';
53
56
  };
@@ -17,6 +17,7 @@ export const LinkList = JSX<LinkListProps>(({ className = '', documents, anchor
17
17
  const renderLinkListItem = (documents) => {
18
18
  return documents.map((doc, i) => {
19
19
  const { text, ...linkProps } = doc;
20
+
20
21
  return (
21
22
  <li key={`list_item_${String(i)}`} className="mb-4 list-none">
22
23
  <a className="hover:text-primary-main" role="link" {...linkProps}>
@@ -7,12 +7,10 @@ import { Logo } from '../../ui-kit/Logo/Logo';
7
7
  export interface MobileAppTileProps extends MobileAppTileContent, UniBlockProps {}
8
8
 
9
9
  export const MobileAppTile = JSX<MobileAppTileProps>(
10
- ({ className, title = 'Мобильное приложение', description, href = '#' }) => {
10
+ ({ className = '', title = 'Мобильное приложение', description, href = '#' }) => {
11
11
  return (
12
12
  <div
13
- className={`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light ${
14
- className || ''
15
- }`}
13
+ className={`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light ${className}`}
16
14
  >
17
15
  {href ? (
18
16
  <div className="flex">
@@ -1,6 +1,9 @@
1
+ import type { BlockVersion } from '../../model/BlockVersion';
1
2
  import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
2
3
  import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
3
4
  import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
5
+ import type { ImageContent } from '../../ui-kit/Img/ImgProps';
6
+ import type { ListContent } from '../../ui-kit/List/ListContent';
4
7
 
5
8
  /**
6
9
  * @title QR код
@@ -17,9 +20,12 @@ export interface QRCode {
17
20
  */
18
21
  export type MobileAppTileContent = HeadingContent &
19
22
  DescriptionContent &
20
- ButtonContent & {
23
+ ButtonContent &
24
+ ListContent &
25
+ ImageContent & {
21
26
  // TODO: description для мобильной версии
22
27
  qr?: QRCode;
23
28
  /** @title Ссылка */
24
29
  href?: string; // TODO: для мобильной версии
30
+ version?: BlockVersion;
25
31
  };
@@ -8,9 +8,9 @@ export interface OtherProductsProps extends OtherProductsContent, UniBlockProps
8
8
  export const OtherProducts = JSX<OtherProductsProps>(
9
9
  ({ blockItems, colorPalette, context, className = '' }) => {
10
10
  return (
11
- <section className={`font-sans bg-white text-primary-text ${className}`}>
11
+ <section className={`font-sans text-primary-text ${className}`}>
12
12
  {blockItems?.length ? (
13
- <div className="list-none m-0 p-0">
13
+ <div className="box-border1">
14
14
  {blockItems.map((item, i) => (
15
15
  <OtherProductsItem
16
16
  key={`BlockItem${i}`}
@@ -1,5 +1,5 @@
1
1
  import type { ColorPalette } from '../../types';
2
- import type { BlockDef, ColumnsCount } from '../../ui-kit/BlocksList/BlocksListProps';
2
+ import type { BlockDef } from '../../ui-kit/BlocksList/BlocksListProps';
3
3
 
4
4
  /**
5
5
  * @title Элемент списка
@@ -10,16 +10,13 @@ export interface BlockItemCommonProps {
10
10
  * @default Список
11
11
  */
12
12
  label?: string;
13
- /**
14
- * @title Отображать в раскрытом виде
15
- */
13
+ /** @title Отображать в раскрытом виде */
16
14
  isUnfolded?: boolean;
17
15
  /**
18
16
  * @title Блоки
19
17
  * @maxItems 10
20
18
  */
21
19
  blocks?: BlockDef[];
22
- columns?: ColumnsCount;
23
20
  }
24
21
 
25
22
  /**
@@ -28,9 +25,7 @@ export interface BlockItemCommonProps {
28
25
  export interface OtherProductsContent {
29
26
  /** @title Заголовок */
30
27
  title?: string;
31
- /**
32
- * @title Список
33
- */
28
+ /** @title Список */
34
29
  blockItems?: BlockItemCommonProps[];
35
30
  colorPalette?: ColorPalette;
36
31
  }
@@ -10,13 +10,12 @@ export interface BlockItemProps extends BlockItemCommonProps, UniBlockProps {
10
10
  }
11
11
 
12
12
  export const OtherProductsItem = JSX<BlockItemProps>(
13
- ({ label, blocks, columns = 1, context, dataTheme, isUnfolded }) => {
13
+ ({ label, blocks, context, dataTheme, isUnfolded }) => {
14
14
  const foldableBlocks = renderBlocksList({
15
15
  context,
16
- className: 'box-border p-5',
17
- columns,
18
16
  blocks,
19
17
  }) as VNode[];
18
+
20
19
  return (
21
20
  <div className="border-0 border-b border-solid border-main-divider">
22
21
  {blocks?.length ? (
@@ -27,11 +26,8 @@ export const OtherProductsItem = JSX<BlockItemProps>(
27
26
  isUnfolded={isUnfolded}
28
27
  context={context}
29
28
  foldButtonLabel={label}
30
- render={(children, isActive) => (
31
- <Wrapper columns={columns} isActive={isActive}>
32
- {children}
33
- </Wrapper>
34
- )}
29
+ containerClasses="grid grid-cols-12 gap-1 border-box"
30
+ render={(children, isActive) => <Wrapper isActive={isActive}>{children}</Wrapper>}
35
31
  />
36
32
  ) : null}
37
33
  </div>
@@ -39,14 +35,6 @@ export const OtherProductsItem = JSX<BlockItemProps>(
39
35
  },
40
36
  );
41
37
 
42
- const Wrapper = JSX<{ columns: number; isActive: boolean }>(({ columns, children, isActive }) => {
43
- return (
44
- <div
45
- className={`box-border w-full ${isActive ? 'p-9' : ''} ${
46
- columns > 1 ? 'flex flex-wrap' : ''
47
- }`}
48
- >
49
- {children}
50
- </div>
51
- );
38
+ const Wrapper = JSX<{ isActive: boolean }>(({ children }) => {
39
+ return <div className="box-border">{children}</div>;
52
40
  });
@@ -13,6 +13,7 @@ export interface ProductBlockProps extends ProductBlockContent, UniBlockProps {}
13
13
 
14
14
  export const ProductBlock = JSX<ProductBlockProps>((props /* Get rid of image and benefits */) => {
15
15
  const { className = '', version = 'primary' } = props;
16
+
16
17
  return (
17
18
  <section
18
19
  className={`font-sans bg-white px-4 py-6 ${productBlockStyleMap[version]} ${className}`}
@@ -13,6 +13,7 @@ const benefitDescStyleMap: Record<BlockVersion, string> = {
13
13
 
14
14
  export function renderBenefit({ benefit, version = 'primary' }: BenefitItemProps, i: number) {
15
15
  const isIconWhite = version === 'secondary';
16
+
16
17
  return (
17
18
  <div key={String(i)} className="flex gap-3 items-center mb-2.5 last:mb-0">
18
19
  {benefit.icon ? (
@@ -97,6 +97,7 @@ function renderBenefitDescription(benefit: TextBenefit, i: number, version = 'pr
97
97
  primary: 'text-secondary-text',
98
98
  secondary: 'text-white',
99
99
  };
100
+
100
101
  return (
101
102
  <div key={String(i)} className={`text-sm ${i ? 'mt-4' : ''} ${labelStyleMap[version]}`}>
102
103
  {benefit.description}
@@ -109,5 +110,6 @@ function renderAdditionalDescription(additionalDescription: string, version = 'p
109
110
  primary: 'text-secondary-text',
110
111
  secondary: 'text-white',
111
112
  };
113
+
112
114
  return <div className={`text-sm mt-2.5 ${descStyleMap[version]}`}>{additionalDescription}</div>;
113
115
  }
@@ -68,5 +68,6 @@ function formatDate(date: string) {
68
68
  month: 'long',
69
69
  year: 'numeric',
70
70
  };
71
+
71
72
  return dateObj.toLocaleString('ru-RU', dateFormat).replace('г.', '');
72
73
  }